/* Cart — Apple Store “Bag” layout */

body.bth-apple-cart {
  background: #fff;
  color: #1d1d1f;
  font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.bth-apple-cart .bth-cart-main {
  width: 100%;
  max-width: 100%;
  padding-bottom: 72px;
}

body.bth-apple-cart .bth-apple-footer {
  margin-top: 0;
}

.bth-cart-shell {
  width: min(980px, 92vw);
  margin: 0 auto;
  padding: clamp(32px, 5vw, 56px) clamp(20px, 4vw, 32px) 0;
  box-sizing: border-box;
}

.bth-cart-intro {
  margin: 0 0 clamp(28px, 4vw, 40px);
  text-align: left;
}

.bth-cart-title {
  margin: 0;
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 600;
  color: #1d1d1f;
}

.bth-cart-lead {
  margin: 10px 0 0;
  max-width: 42em;
  color: #6e6e73;
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -0.022em;
}

.bth-cart-notices {
  margin-bottom: 16px;
}

.bth-cart-notices .woocommerce-message,
.bth-cart-notices .woocommerce-info,
.bth-cart-notices .woocommerce-error {
  border-radius: 12px;
  margin: 0 0 10px;
  font-size: 14px;
  border: none;
  background: #f5f5f7;
}

.bth-cart-notices .woocommerce-error {
  background: rgba(185, 28, 28, 0.08);
  color: #991b1b;
}

/* Empty bag */
.bth-bag-empty {
  padding: clamp(48px, 8vw, 80px) 0 clamp(32px, 5vw, 48px);
  text-align: center;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.bth-bag-empty__title {
  margin: 0;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #1d1d1f;
}

.bth-bag-empty__text {
  margin: 14px auto 0;
  max-width: 28em;
  font-size: 17px;
  line-height: 1.47;
  color: #6e6e73;
}

.bth-bag-empty__actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.bth-bag-empty__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 980px;
  font-size: 17px;
  font-weight: 400;
  letter-spacing: -0.022em;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.bth-bag-empty__btn--primary {
  background: #b91c1c;
  color: #fff;
}

.bth-bag-empty__btn--primary:hover {
  background: #991b1b;
  color: #fff;
}

.bth-bag-empty__btn--ghost {
  color: #b91c1c;
  background: transparent;
}

.bth-bag-empty__btn--ghost:hover {
  text-decoration: underline;
}

.bth-cart-wrap .cart-empty,
.bth-cart-wrap .wc-empty-cart-message,
.bth-cart-wrap .return-to-shop {
  display: none !important;
}

/* Hide only the old Elementor page hero — never hide widgets that contain the cart */
body.bth-apple-cart .bth-cart-wrap > .elementor-section,
body.bth-apple-cart .bth-cart-wrap > .elementor-location-single {
  display: none !important;
}

.bth-cart-woocommerce,
.bth-cart-woocommerce .woocommerce,
.bth-cart-woocommerce .elementor-widget,
.bth-cart-woocommerce .elementor-widget-woocommerce-cart,
.bth-cart-woocommerce .elementor-widget-woocommerce-cart-page,
.bth-cart-woocommerce .elementor-element,
.bth-cart-woocommerce form.woocommerce-cart-form,
.bth-cart-woocommerce .cart-collaterals,
.bth-cart-woocommerce .cart_totals,
.bth-cart-woocommerce .wp-block-woocommerce-cart,
.bth-cart-woocommerce .wc-block-cart {
  display: block !important;
  visibility: visible !important;
  height: auto !important;
  min-height: 0 !important;
  overflow: visible !important;
  opacity: 1 !important;
}

.bth-cart-woocommerce {
  width: 100%;
  min-width: 0;
}

/* Single-column bag — full width; only footer aligns right */
.bth-cart-wrap .bth-bag-layout,
.bth-cart-woocommerce .bth-bag-layout {
  display: block;
  max-width: 100%;
  width: 100%;
}

.bth-cart-wrap .bth-bag-form,
.bth-cart-wrap form.woocommerce-cart-form {
  display: block;
  width: 100%;
  max-width: 100%;
}

.bth-bag-order {
  margin: 0;
  padding: 0;
  width: 100%;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.bth-bag-item {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

/* Row: thumb | title+specs | qty | remove+price */
.bth-bag-order .bth-bag-item {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) auto auto;
  grid-template-areas: 'thumb info qty aside';
  gap: 8px 24px;
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.bth-bag-item__media {
  grid-area: thumb;
  align-self: start;
}

.bth-bag-item__media img {
  display: block;
  width: 112px;
  height: 112px;
  object-fit: contain;
  background: #f5f5f7;
  padding: 8px;
  box-sizing: border-box;
}

.bth-bag-item__info {
  grid-area: info;
  align-self: center;
  min-width: 0;
}

.bth-bag-item__title {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.022em;
  color: #b91c1c;
}

.bth-bag-item__title a {
  color: #b91c1c !important;
  text-decoration: none;
}

.bth-bag-item__title a:hover {
  color: #991b1b !important;
  text-decoration: underline;
}

/* Specs — Size: 2.8 L / UOM: … (below title; label muted, value body color) */
.bth-bag-item__specs {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.bth-bag-spec {
  display: block;
}

.bth-bag-spec__k {
  color: #6e6e73 !important;
}

.bth-bag-spec__v {
  color: #1d1d1f !important;
}

.bth-bag-item__info .variation,
.bth-bag-item__info dl {
  display: none !important;
}

.bth-bag-item__qty {
  grid-area: qty;
  justify-self: center;
  align-self: center;
}

.bth-bag-item__aside {
  grid-area: aside;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 10px;
  min-width: 88px;
}

.bth-bag-item__subtotal {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.022em;
  color: #1d1d1f;
  white-space: nowrap;
  text-align: right;
}

.bth-bag-item__remove {
  flex: 0 0 auto;
  line-height: 1;
}

.bth-bag-item__remove a.remove,
.bth-bag-remove {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 36px !important;
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  min-height: 36px !important;
  max-width: 36px !important;
  max-height: 36px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 50% !important;
  aspect-ratio: 1 / 1;
  box-sizing: border-box !important;
  background: transparent !important;
  color: #6e6e73 !important;
  font-size: 22px;
  font-weight: 300;
  line-height: 1 !important;
  text-decoration: none !important;
  transition: background 0.15s ease, color 0.15s ease;
}

.bth-bag-item__remove a.remove::before,
.bth-bag-item__remove a.remove::after,
.bth-bag-remove::before,
.bth-bag-remove::after {
  display: none !important;
  content: none !important;
}

.bth-bag-item__remove a.remove:hover,
.bth-bag-remove:hover {
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  background: #f5f5f7 !important;
  color: #1d1d1f !important;
}

.bth-bag-remove span {
  display: block;
  line-height: 1;
  margin: 0;
  padding: 0;
}

/* Hide theme / Woo duplicate quantity controls */
.bth-bag-item .quantity:not(.bth-qty-stepper),
.bth-bag-item .quantity .plus,
.bth-bag-item .quantity .minus,
.bth-bag-item .quantity button {
  display: none !important;
}

.bth-bag-form--updating .bth-bag-order {
  opacity: 0.55;
}

.bth-bag-form--updating .bth-qty-stepper__btn {
  pointer-events: none;
}

.bth-cart-wrap .woocommerce-cart-form,
.bth-cart-wrap .bth-bag-form {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  margin: 0;
}

.bth-cart-wrap .cart-collaterals,
.bth-cart-wrap .cart_totals {
  display: none !important;
}

/* Checkout CTA — right-aligned */
.bth-bag-footer {
  display: flex !important;
  justify-content: flex-end;
  margin-top: 40px;
  padding-top: 8px;
  width: 100%;
  box-sizing: border-box;
}

.bth-bag-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  width: min(360px, 100%);
  margin-left: auto;
  text-align: right;
}

.bth-bag-footer__note {
  margin: 0;
  padding: 0;
  width: 100%;
  font-size: 14px;
  line-height: 1.47;
  color: #6e6e73 !important;
  letter-spacing: -0.01em;
  text-align: right;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
}

.bth-bag-footer__checkout,
body.bth-apple-cart a.bth-bag-footer__checkout {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: min(320px, 100%);
  min-height: 48px;
  padding: 0 32px;
  border-radius: 980px;
  background: #b91c1c;
  color: #fff !important;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.022em;
  text-decoration: none !important;
  text-decoration-line: none !important;
  text-underline-offset: unset;
  border: none;
  border-bottom: none !important;
  box-shadow: none;
  transition: background 0.2s ease;
}

.bth-bag-footer__checkout:hover,
.bth-bag-footer__checkout:focus,
.bth-bag-footer__checkout:active,
.bth-bag-footer__checkout:visited,
body.bth-apple-cart a.bth-bag-footer__checkout:hover,
body.bth-apple-cart a.bth-bag-footer__checkout:focus,
body.bth-apple-cart a.bth-bag-footer__checkout:active,
body.bth-apple-cart a.bth-bag-footer__checkout:visited {
  background: #991b1b;
  color: #fff !important;
  text-decoration: none !important;
  text-decoration-line: none !important;
  border-bottom: none !important;
  box-shadow: none;
}

/* Line items — override theme table / responsive shop_table */
.bth-cart-wrap table.shop_table.cart,
.bth-cart-woocommerce table.shop_table.cart {
  width: 100% !important;
  max-width: 100% !important;
  border: none !important;
  border-collapse: collapse !important;
  margin: 0 !important;
  table-layout: auto !important;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.bth-cart-wrap table.shop_table.cart thead,
.bth-cart-woocommerce table.shop_table.cart thead {
  display: none !important;
}

.bth-cart-wrap table.shop_table.cart tbody tr,
.bth-cart-wrap table.shop_table.cart tbody tr.cart_item,
.bth-cart-woocommerce table.shop_table.cart tbody tr,
.bth-cart-woocommerce table.shop_table.cart tbody tr.cart_item {
  display: grid !important;
  grid-template-columns: 112px minmax(0, 1fr) minmax(72px, auto) !important;
  grid-template-rows: auto auto !important;
  grid-template-areas:
    'thumb name price'
    'thumb qty remove' !important;
  gap: 8px 24px !important;
  align-items: start !important;
  padding: 28px 0 !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
  width: 100% !important;
  float: none !important;
}

.bth-cart-wrap table.shop_table.cart td,
.bth-cart-wrap table.shop_table.cart th,
.bth-cart-woocommerce table.shop_table.cart td,
.bth-cart-woocommerce table.shop_table.cart th {
  display: block !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  padding: 0 !important;
  border: none !important;
  vertical-align: top !important;
  float: none !important;
  clear: none !important;
}

.bth-cart-wrap table.shop_table.cart td::before,
.bth-cart-woocommerce table.shop_table.cart td::before {
  display: none !important;
  content: none !important;
}

.bth-cart-wrap table.shop_table.cart .product-thumbnail {
  grid-area: thumb;
}

.bth-cart-wrap table.shop_table.cart .product-thumbnail a {
  display: block;
}

.bth-cart-wrap table.shop_table.cart .product-thumbnail img {
  width: 112px;
  height: 112px;
  object-fit: contain;
  border-radius: 0;
  border: none;
  background: #f5f5f7;
  padding: 8px;
  box-sizing: border-box;
}

.bth-cart-wrap table.shop_table.cart .product-name,
.bth-cart-woocommerce table.shop_table.cart .product-name {
  grid-area: name;
  font-size: 17px;
  line-height: 1.35;
  letter-spacing: -0.022em;
  min-width: 0 !important;
  max-width: 100% !important;
  word-break: normal !important;
  overflow-wrap: break-word !important;
  white-space: normal !important;
}

.bth-cart-wrap table.shop_table.cart .product-name a {
  color: #1d1d1f;
  font-weight: 600;
  text-decoration: none;
}

.bth-cart-wrap table.shop_table.cart .product-name a:hover {
  text-decoration: underline;
}

.bth-cart-wrap table.shop_table.cart .product-name .variation,
.bth-cart-wrap table.shop_table.cart .product-name dl {
  margin: 6px 0 0;
  font-size: 14px;
  color: #6e6e73;
  font-weight: 400;
}

.bth-cart-wrap table.shop_table.cart .product-price {
  display: none !important;
}

.bth-cart-wrap table.shop_table.cart .product-subtotal {
  grid-area: price;
  justify-self: end;
  text-align: right;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.022em;
  color: #1d1d1f;
  white-space: nowrap;
}

.bth-cart-wrap table.shop_table.cart .product-quantity {
  grid-area: qty;
  align-self: center;
}

.bth-cart-wrap table.shop_table.cart .product-remove {
  grid-area: remove;
  justify-self: end;
  align-self: center;
}

.bth-cart-wrap table.shop_table.cart .product-remove a.remove {
  width: auto;
  height: auto;
  border-radius: 0;
  background: none;
  font-size: 0;
  line-height: 0;
  color: transparent !important;
  text-decoration: none;
}

.bth-cart-wrap table.shop_table.cart .product-remove a.remove::after {
  content: 'Remove';
  font-size: 14px;
  line-height: 1.4;
  color: #b91c1c;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.bth-cart-wrap table.shop_table.cart .product-remove a.remove:hover::after {
  text-decoration: underline;
}

/* Quantity stepper (Apple-style) */
.bth-qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(0, 0, 0, 0.16);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.bth-qty-stepper__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: none;
  background: transparent !important;
  color: #1d1d1f !important;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  box-shadow: none !important;
  transition: background 0.15s ease, color 0.15s ease;
}

.bth-qty-stepper__btn:hover:not(:disabled),
.bth-qty-stepper__btn:focus:not(:disabled),
.bth-qty-stepper__btn:active:not(:disabled) {
  background: #f5f5f7 !important;
  color: #1d1d1f !important;
}

.bth-qty-stepper__btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  color: #1d1d1f !important;
}

.bth-qty-stepper__input {
  width: 40px !important;
  min-height: 36px !important;
  padding: 0 !important;
  border: none !important;
  border-left: 1px solid rgba(0, 0, 0, 0.12) !important;
  border-right: 1px solid rgba(0, 0, 0, 0.12) !important;
  border-radius: 0 !important;
  background: #fff !important;
  font-size: 15px !important;
  font-weight: 500;
  text-align: center;
  -moz-appearance: textfield;
  appearance: textfield;
  box-shadow: none !important;
}

.bth-qty-stepper--fixed .bth-qty-stepper__input {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1d1d1f;
}

.bth-qty-stepper--fixed .bth-qty-stepper__btn {
  cursor: default;
  opacity: 0.35;
}

.bth-qty-stepper__input::-webkit-outer-spin-button,
.bth-qty-stepper__input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Form actions — coupon + update */
.bth-cart-wrap .woocommerce-cart-form .actions {
  padding: 24px 0 0;
  border-top: none;
}

.bth-cart-wrap .actions .coupon {
  display: none;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: 0 0 16px;
  padding: 16px 0 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.bth-cart-wrap .actions .coupon.is-open {
  display: flex;
}

.bth-cart-wrap .bth-promo-toggle {
  display: inline-block;
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  color: #b91c1c;
  font-size: 14px;
  font-family: inherit;
  letter-spacing: -0.01em;
  cursor: pointer;
  text-decoration: none;
}

.bth-cart-wrap .bth-promo-toggle:hover {
  text-decoration: underline;
}

.bth-cart-wrap .actions .coupon label {
  display: none;
}

.bth-cart-wrap .actions .coupon .input-text {
  flex: 1;
  min-width: 0;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid rgba(0, 0, 0, 0.16);
  border-radius: 8px;
  background: #fff;
  font-size: 15px;
}

.bth-cart-wrap .actions .button[name='apply_coupon'] {
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.16);
  background: #fff;
  font-size: 14px;
  font-weight: 500;
}

.bth-cart-wrap button[name='update_cart'] {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
  opacity: 0 !important;
}

/* Order summary — hide duplicate product list (items already on the left) */
.bth-cart-wrap .cart_totals table.bth-bag-totals-table ~ table,
.bth-cart-wrap .cart_totals table:has(th.product-name),
.bth-cart-wrap .cart_totals table:has(td.product-name),
.bth-cart-wrap .cart_totals .shop_table.cart:not(.bth-bag-totals-table) {
  display: none !important;
}

/* Order summary sidebar */
.bth-cart-wrap .cart_totals {
  background: #f5f5f7;
  border: none;
  border-radius: 18px;
  box-shadow: none;
  padding: 24px 22px 22px;
  position: sticky;
  top: calc(var(--header-height, 64px) + 20px);
}

.bth-cart-wrap .cart_totals > h2 {
  margin: 0 0 18px;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.bth-cart-wrap .cart_totals table {
  width: 100%;
  border: none;
  margin: 0 0 20px;
}

.bth-cart-wrap .cart_totals table th,
.bth-cart-wrap .cart_totals table td {
  padding: 8px 0;
  border: none;
  font-size: 14px;
  line-height: 1.4;
  color: #1d1d1f;
  font-weight: 400;
  background: transparent;
}

.bth-cart-wrap .cart_totals table th {
  text-align: left;
  color: #6e6e73;
  font-weight: 400;
}

.bth-cart-wrap .cart_totals table td {
  text-align: right;
}

.bth-cart-wrap .cart_totals table tr.cart-subtotal th,
.bth-cart-wrap .cart_totals table tr.cart-subtotal td {
  padding-top: 4px;
}

.bth-cart-wrap .cart_totals table tr.tax-rate th,
.bth-cart-wrap .cart_totals table tr.tax-rate td,
.bth-cart-wrap .cart_totals table tr.tax-total th,
.bth-cart-wrap .cart_totals table tr.tax-total td,
.bth-cart-wrap .cart_totals table tr.fee th,
.bth-cart-wrap .cart_totals table tr.fee td,
.bth-cart-wrap .cart_totals table tr.shipping th,
.bth-cart-wrap .cart_totals table tr.shipping td {
  display: table-row !important;
}

.bth-cart-wrap .cart_totals table tr.order-total th,
.bth-cart-wrap .cart_totals table tr.order-total td {
  padding-top: 16px;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
  font-size: 17px;
  font-weight: 600;
  color: #1d1d1f;
}

.bth-cart-wrap .cart_totals table tr.order-total th {
  color: #1d1d1f;
}

.bth-cart-wrap .wc-proceed-to-checkout {
  margin: 0;
  padding: 0;
}

.bth-cart-wrap .wc-proceed-to-checkout a.checkout-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 12px;
  border: none;
  background: #b91c1c;
  color: #fff !important;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.022em;
  text-decoration: none;
  transition: background 0.2s ease;
}

.bth-cart-wrap .wc-proceed-to-checkout a.checkout-button:hover {
  background: #991b1b;
  color: #fff !important;
}

.bth-cart-wrap .cart_totals .woocommerce-shipping-destination,
.bth-cart-wrap .cart_totals small {
  font-size: 12px;
  color: #6e6e73;
}

/* Cross-sells — below bag, full width */
.bth-cart-wrap .cross-sells {
  grid-column: 1 / -1;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  padding-left: 0;
  padding-right: 0;
}

body.bth-cart-has-items .bth-cart-wrap .cross-sells {
  grid-column: 1 / -1;
  grid-row: 2;
}

.bth-cart-wrap .cross-sells > h2 {
  margin: 0 0 20px;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.bth-cart-wrap .cross-sells ul.products {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 20px;
}

.bth-cart-wrap .cross-sells ul.products li.product {
  width: auto !important;
  margin: 0 !important;
  float: none !important;
}

/* Help line under summary */
.bth-bag-help {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 12px;
  line-height: 1.5;
  color: #6e6e73;
}

.bth-bag-help a {
  color: #b91c1c;
  text-decoration: none;
}

.bth-bag-help a:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .bth-cart-shell {
    width: 100%;
    max-width: 100%;
    padding-left: max(16px, env(safe-area-inset-left));
    padding-right: max(16px, env(safe-area-inset-right));
  }

  .bth-cart-title {
    font-size: clamp(28px, 8vw, 36px);
  }

  .bth-cart-lead {
    font-size: 15px;
    line-height: 1.45;
  }

  .bth-bag-order .bth-bag-item {
    grid-template-columns: 76px minmax(0, 1fr) auto;
    grid-template-areas:
      'thumb info remove'
      'thumb qty price';
    gap: 10px 12px;
    padding: 20px 0;
    align-items: start;
  }

  .bth-bag-item__media {
    grid-area: thumb;
  }

  .bth-bag-item__info {
    grid-area: info;
    padding-right: 4px;
  }

  .bth-bag-item__media img {
    width: 76px;
    height: 76px;
  }

  .bth-bag-item__title {
    font-size: 15px;
    line-height: 1.4;
    word-break: break-word;
    padding-right: 4px;
  }

  .bth-bag-item__specs {
    font-size: 12px;
    margin-top: 4px;
  }

  /* Flatten aside so × and price join the row grid */
  .bth-bag-item__aside {
    display: contents;
  }

  .bth-bag-item__remove {
    grid-area: remove;
    justify-self: end;
    align-self: start;
  }

  .bth-bag-item__qty {
    grid-area: qty;
    justify-self: start;
    align-self: center;
  }

  .bth-bag-item__subtotal {
    grid-area: price;
    justify-self: end;
    align-self: center;
    font-size: 16px;
    white-space: nowrap;
    text-align: right;
    min-width: 0;
  }

  .bth-bag-footer {
    justify-content: stretch;
    margin-top: 28px;
  }

  .bth-bag-footer__inner {
    width: 100%;
    margin-left: 0;
    align-items: stretch;
    text-align: left;
  }

  .bth-bag-footer__note {
    text-align: left;
    font-size: 13px;
  }

  .bth-bag-footer__checkout {
    width: 100%;
    min-width: 0;
  }

  .bth-cart-wrap table.shop_table.cart tbody tr,
  .bth-cart-woocommerce table.shop_table.cart tbody tr {
    grid-template-columns: 76px minmax(0, 1fr) auto !important;
    grid-template-areas:
      'thumb name remove'
      'thumb qty price' !important;
    gap: 10px 12px !important;
    padding: 20px 0 !important;
  }

  .bth-cart-wrap table.shop_table.cart .product-thumbnail img {
    width: 76px;
    height: 76px;
  }

  .bth-cart-wrap table.shop_table.cart .product-name {
    font-size: 15px;
  }

  .bth-cart-wrap table.shop_table.cart .product-subtotal {
    grid-area: price;
    justify-self: end;
    align-self: center;
    text-align: right;
    white-space: nowrap;
  }

  .bth-cart-wrap table.shop_table.cart .product-quantity {
    grid-area: qty;
    justify-self: start;
    align-self: center;
  }

  .bth-cart-wrap table.shop_table.cart .product-remove {
    grid-area: remove;
    justify-self: end;
    align-self: start;
  }
}

@media (max-width: 400px) {
  .bth-bag-order .bth-bag-item {
    grid-template-columns: 64px minmax(0, 1fr) auto;
    gap: 10px 12px;
    padding: 18px 0;
  }

  .bth-bag-item__media img {
    width: 64px;
    height: 64px;
  }

  .bth-qty-stepper__btn {
    width: 32px;
    height: 32px;
    font-size: 16px;
  }

  .bth-qty-stepper__input {
    width: 36px !important;
    min-height: 32px !important;
    font-size: 14px !important;
  }
}
