/* 3.2.2: native WooCommerce shipping remains visible and interactive. */
.shima-cart-page .wc-block-components-totals-shipping {
  display: block !important;
  padding-block: 14px;
}
.shima-cart-page .wc-block-components-totals-shipping__fieldset {
  display: block !important;
  min-width: 0;
  margin: 10px 0 0;
}
.shima-cart-page .woocommerce-shipping-totals.shipping { display: table-row !important; }
.shima-cart-page .shima-shipping-label { display: flex; flex-direction: column; gap: 5px; }
.shima-cart-page .shima-shipping-label small { font-size: 11px; line-height: 1.8; }
.shima-cart-page .shima-shipping-amount { color: #008653; }
.shima-cart-page #shipping_method { padding: 0; margin: 0; list-style: none; }
.shima-cart-page #shipping_method li { margin-block: 10px; }
.shima-cart-page #shipping_method label { display: inline-block; vertical-align: top; }
.shima-cart-page input.shipping_method, .shima-qo-shipping input { accent-color: #008653; }
.shima-qo-shipping { border: 0; border-top: 1px solid #dce9e2; padding: 16px 0 0; margin: 16px 0; min-width: 0; }
.shima-qo-shipping legend { font-size: 13px; font-weight: 800; padding-inline: 6px; }
.shima-qo-shipping label { display: flex; align-items: flex-start; gap: 8px; cursor: pointer; margin-block: 12px; }
.shima-qo-shipping input { flex: 0 0 auto; width: 17px; height: 17px; margin: 3px 0 0; }
.shima-qo-shipping label span { display: flex; flex-direction: column; gap: 5px; }
.shima-qo-shipping small, .shima-qo-estimate-note { font-size: 11px; line-height: 1.9; color: #566e63; }
.shima-qo-summary-list > div { gap: 12px; }
.shima-qo-summary-list strong { text-align: left; white-space: nowrap; }
/* Identical track sizes, border widths and padding align every heading and cell. */
@media (min-width: 768px) {
  .shima-quick-order-page .shima-qo-table-wrap { overflow-x: auto; padding: 12px; }
  .shima-quick-order-page .shima-qo-table {
    display: grid !important;
    direction: rtl;
    grid-template-columns: minmax(172px, 1fr) 70px 70px 76px 70px 104px 112px 116px 40px !important;
    gap: 6px !important;
    width: 100%;
    min-width: 918px !important;
    box-sizing: border-box;
    padding-inline: 12px !important;
    border-inline: 1px solid transparent;
    align-items: center;
  }
  .shima-quick-order-page .shima-qo-row { border-color: #deebe3; }
  .shima-quick-order-page .shima-qo-table-head > div,
  .shima-quick-order-page .shima-qo-row > .shima-qo-col {
    min-width: 0; text-align: center; justify-content: center; margin: 0;
  }
  .shima-quick-order-page .shima-qo-row > .shima-qo-col { display: block; }
  .shima-quick-order-page .shima-qo-row > .shima-qo-product { display: flex; text-align: right; justify-content: flex-start; }
  .shima-quick-order-page .shima-qo-table-head > div:first-child { text-align: right; }
  .shima-quick-order-page .shima-qo-col::before { display: none; }
  .shima-quick-order-page .shima-qo-col select { width: 100%; max-width: 100%; }
  .shima-quick-order-page .shima-qo-qty-stepper { width: 100%; max-width: 104px; margin-inline: auto; }
  .shima-quick-order-page .shima-qo-actions { min-width: 0; }
  .shima-quick-order-page .shima-qo-image { width: 48px; height: 48px; flex: 0 0 48px; }
  .shima-quick-order-page .shima-qo-product { gap: 7px; }
  .shima-quick-order-page .shima-qo-product-copy strong { font-size: 11px; }
}
@media (max-width: 767px) {
  .shima-quick-order-page .shima-qo-table-wrap { overflow: visible; padding: 0; }
  .shima-quick-order-page .shima-qo-table-head { display: none !important; }
  .shima-quick-order-page .shima-qo-row {
    display: grid; grid-template-columns: minmax(0, 1fr) !important;
    min-width: 0 !important; width: 100%; box-sizing: border-box;
  }
  .shima-quick-order-page .shima-qo-row > .shima-qo-col { display: flex; justify-content: space-between; min-width: 0; min-height: 38px; align-items: center; }
  .shima-quick-order-page .shima-qo-col[data-title]::before {
    display: block; content: attr(data-title); flex: 0 0 42%; text-align: right;
  }
  .shima-quick-order-page .shima-qo-product::before { display: none; }
  .shima-quick-order-page .shima-qo-price strong { white-space: normal; text-align: left; }
}
