/* Apple Design shopping overlay: product cards, cart sheet, purchase controls.
   Brand colours and Barlow stay. Motion and materials follow apple-design. */
.luvox-reference-home {
  --lx-apple-navy: #1b3a6b;
  --lx-apple-field: #eef1f4;
  --lx-apple-signal: #d0121a;
  --lx-apple-ink: #1d1d1f;
  --lx-apple-mute: #6e6e73;
  --lx-apple-line: rgba(60, 60, 67, .12);
  --lx-apple-radius: 18px;
  --lx-apple-press: 100ms;
}

/* Press lives on pointer-down. Never wait for click. */
.products li.lx-card .tin-buy .button,
.products li.lx-card .lx-card-details,
.lx-product-v5 .lx-purchase .button,
.lx-product-v5 .lx-pack-choice,
.lx-product-v5 .lx-enquiry-action,
.lx-cart-dialog .button,
.lx-cart-dialog .lx-cart-action,
.lx-cart-dialog .lx-cart-close,
.lx-cart-trigger,
.woocommerce-cart .button,
.woocommerce-checkout .button,
.woocommerce-cart .wc-block-cart__submit-button,
.woocommerce-cart .lx-qty-btn,
.woocommerce-checkout .wc-block-components-checkout-place-order-button,
.woocommerce-checkout .lx-magic-btn {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transform: translateZ(0);
  transition: transform var(--lx-apple-press) ease-out, background-color 180ms ease, box-shadow 180ms ease, color 180ms ease, border-color 180ms ease;
}
.products li.lx-card .tin-buy .button:active,
.products li.lx-card .lx-card-details:active,
.lx-product-v5 .lx-purchase .button:active,
.lx-product-v5 .lx-pack-choice:active,
.lx-product-v5 .lx-enquiry-action:active,
.lx-cart-dialog .button:active,
.lx-cart-dialog .lx-cart-action:active,
.lx-cart-dialog .lx-cart-close:active,
.lx-cart-trigger:active,
.woocommerce-cart .button:active,
.woocommerce-checkout .button:active,
.woocommerce-cart .wc-block-cart__submit-button:active,
.woocommerce-cart .lx-qty-btn:active,
.woocommerce-checkout .wc-block-components-checkout-place-order-button:active,
.woocommerce-checkout .lx-magic-btn:active,
.products li.lx-card .tin-buy .button.is-pressed,
.lx-product-v5 .lx-purchase .button.is-pressed,
.lx-cart-dialog .button.is-pressed,
.woocommerce-cart .lx-qty-btn.is-pressed {
  transform: scale(.97);
}

/* Product cards — Apple Store tile: material photo, tight display type, pill buy. */
.products li.lx-card {
  gap: 0;
}
.products li.lx-card .tin-photo {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  border: 0;
  border-radius: var(--lx-apple-radius);
  background: var(--lx-apple-field);
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(60, 60, 67, .06), 0 12px 32px rgba(27, 58, 107, .06);
}
.products li.lx-card .pack-window {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  aspect-ratio: 4 / 5;
  background: linear-gradient(180deg, #f7f8fa 0%, #eef1f4 100%);
  border-radius: inherit;
}
.products li.lx-card .pack-window .pack-image {
  padding: 8px;
  transition: transform .4s cubic-bezier(.32, .72, 0, 1);
}
.products li.lx-card:hover .pack-window .pack-image {
  transform: scale(1.035);
}
.products li.lx-card .grade-plate {
  padding: 16px 4px 14px;
}
.products li.lx-card .lx-card-range {
  font-size: 12px;
  line-height: 1.35;
  letter-spacing: .02em;
  color: var(--lx-apple-mute);
  margin-bottom: 6px;
}
.products li.lx-card .plate-grade {
  font-size: 34px;
  line-height: 1;
  letter-spacing: -.03em;
  margin-bottom: 8px;
}
.products li.lx-card .grade-plate h2,
.products li.lx-card .grade-plate h2 a {
  font-weight: 600;
  font-size: 17px;
  line-height: 1.25;
  letter-spacing: -.015em;
  color: var(--lx-apple-ink);
}
.products li.lx-card .grade-plate h2 a:hover {
  text-decoration: none;
  color: var(--lx-apple-navy);
}
.products li.lx-card .plate-packs {
  font-size: 13px;
  letter-spacing: 0;
  color: var(--lx-apple-mute);
  margin-bottom: 14px;
}
.products li.lx-card .lx-card-price > span {
  font-size: 11px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--lx-apple-mute);
}
.products li.lx-card .plate-price {
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: -.02em;
  font-weight: 600;
  color: var(--lx-apple-ink);
}
.products li.lx-card .tin-buy {
  gap: 6px;
  align-items: stretch;
}
.products li.lx-card .tin-buy .button {
  flex: 1;
  min-height: 44px;
  padding: 11px 16px;
  border: 0;
  border-radius: 980px;
  background: var(--lx-apple-navy);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -.01em;
}
.products li.lx-card .tin-buy .button:hover {
  background: #152c52;
}
.products li.lx-card .tin-buy .lx-magic-btn,
.products li.lx-card .tin-buy .lx-magic-btn:hover {
  flex: 1 1 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(27, 58, 107, .08);
  color: var(--lx-apple-navy);
}
.products li.lx-card .tin-buy .button.is-pending,
.products li.lx-card .tin-buy .button:disabled {
  opacity: .72;
}
.products li.lx-card .lx-card-details {
  min-height: 32px;
  padding: 4px 2px;
  border-radius: 0;
  background: transparent;
  color: var(--lx-apple-navy);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -.01em;
  justify-content: flex-start;
}
.products li.lx-card .lx-card-details:hover {
  background: transparent;
  text-decoration: underline;
}
.products li.lx-card .cart-status {
  font-size: 13px;
  font-weight: 500;
  color: var(--lx-apple-navy);
  min-height: 0;
}
.products li.lx-card .cart-status a {
  color: var(--lx-apple-navy);
  font-weight: 600;
}

/* Header cart chip — light material, not a hard bar. */
.luvox-reference-home .lx-header-cart,
.luvox-reference-home .lx-shopbar-cart {
  position: relative;
  z-index: 50;
  gap: 10px;
  min-height: 44px;
  padding: 8px 14px 8px 12px;
  border: 0;
  border-radius: 980px;
  background: rgba(255, 255, 255, .62);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .55) inset, 0 8px 24px rgba(16, 27, 45, .08);
  color: var(--lx-apple-navy);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -.01em;
}
.luvox-reference-home .lx-header-cart:hover,
.luvox-reference-home .lx-shopbar-cart:hover {
  background: rgba(255, 255, 255, .82);
}
.lx-cart-trigger .cart-count {
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 10px;
  background: var(--lx-apple-signal);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  border: 2px solid #fff;
}
.lx-cart-trigger.is-bump .cart-count {
  animation: lx-badge .38s cubic-bezier(.32, .72, 0, 1);
}
@keyframes lx-badge {
  45% { transform: scale(1.2); }
}

/* Cart as an Apple sheet: right on desktop, bottom on phone.
   Height follows content. Never set top and bottom together — that stretches
   the dialog to the viewport even with two line items. */
.luvox-reference-home .lx-cart-dialog,
.luvox-reference-home .lx-header-away .lx-cart-dialog,
.lx-header-away .lx-cart-dialog,
.lx-cart-dialog {
  position: fixed;
  inset: auto;
  top: 12px;
  right: 12px;
  bottom: auto;
  left: auto;
  width: min(420px, calc(100vw - 24px));
  max-width: 420px;
  height: fit-content;
  max-height: calc(100dvh - 24px);
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 24px;
  overflow: hidden;
  display: none;
  flex-direction: column;
  background: rgba(246, 247, 249, .78);
  color: var(--lx-apple-ink);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .45) inset, 0 24px 80px rgba(16, 27, 45, .28);
  backdrop-filter: blur(40px) saturate(190%);
  -webkit-backdrop-filter: blur(40px) saturate(190%);
  font-size: 16px;
  line-height: 1.45;
  overscroll-behavior: contain;
  will-change: transform;
}
.lx-cart-dialog {
  z-index: 80;
}
.lx-cart-dialog[open] {
  display: flex;
}
.lx-cart-scrim {
  position: fixed;
  inset: 0;
  z-index: 75;
  border: 0;
  padding: 0;
  margin: 0;
  background: rgba(10, 16, 28, .38);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 220ms ease, visibility 220ms ease;
}
.lx-cart-scrim.is-on {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
body:not(.lx-cart-open) .lx-cart-scrim,
body.lx-cart-open:not(:has(.lx-cart-dialog[open])) .lx-cart-scrim {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
body > .lx-cart-scrim {
  z-index: 75;
}
body > .lx-cart-dialog {
  z-index: 80;
}
html.lx-cart-open .lx-backdrop,
.lx-cart-open .lx-backdrop {
  display: none !important;
}
.lx-cart-dialog::backdrop {
  display: none;
}
.lx-cart-handle {
  display: none;
  justify-content: center;
  padding: 10px 0 2px;
  cursor: grab;
  touch-action: none;
}
.lx-cart-handle span {
  width: 36px;
  height: 5px;
  border-radius: 100px;
  background: rgba(60, 60, 67, .3);
}
.lx-cart-dialog-heading {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 6px 20px 12px;
  border: 0;
  background: transparent;
}
.lx-cart-dialog-heading h2 {
  margin: 0;
  font: 600 22px/1.15 Barlow, Arial, sans-serif;
  letter-spacing: -.03em;
  color: var(--lx-apple-ink);
}
.lx-cart-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 36px;
  min-height: 36px;
  padding: 0;
  border: 0;
  border-radius: 18px;
  background: rgba(120, 120, 128, .16);
  color: var(--lx-apple-ink);
  cursor: pointer;
}
.lx-cart-close span { display: none; }
.lx-cart-close img { width: 16px; height: 16px; opacity: .8; }
.lx-cart-dialog-body {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-height: 0;
  flex: 1 1 auto;
  padding: 0 8px 20px;
  overflow: auto;
}
.lx-cart-items { min-width: 0; padding: 0 16px 4px; }
.lx-cart-dialog .widget_shopping_cart_content ul.woocommerce-mini-cart {
  max-height: min(42dvh, 360px);
  overflow: auto;
  overscroll-behavior: contain;
  background: #fff;
  border-radius: 16px;
  padding: 2px 0;
}
.lx-cart-dialog .widget_shopping_cart_content ul.woocommerce-mini-cart li {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 0;
  margin: 0;
  padding: 10px 12px;
  border: 0;
  border-bottom: 1px solid var(--lx-apple-line);
  border-radius: 0;
  background: transparent;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -.01em;
}
.lx-cart-dialog .widget_shopping_cart_content ul.woocommerce-mini-cart li:last-child {
  border-bottom: 0;
}
.lx-cart-dialog .widget_shopping_cart_content ul.woocommerce-mini-cart li a.lx-line {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1;
  color: var(--lx-apple-ink);
  text-decoration: none;
  font-weight: 600;
}
.lx-cart-dialog .lx-line-price {
  flex: 0 0 auto;
  margin-left: auto;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -.015em;
  white-space: nowrap;
  color: var(--lx-apple-ink);
}
.lx-cart-dialog .lx-line-photo {
  display: block;
  flex: 0 0 56px;
  width: 56px;
  min-width: 56px;
  height: 70px;
  border-radius: 12px;
  background: var(--lx-apple-field);
  overflow: hidden;
}
.lx-cart-dialog .widget_shopping_cart_content ul.woocommerce-mini-cart li .lx-line-photo img {
  position: static;
  float: none;
  display: block;
  top: auto;
  left: auto;
  width: 56px;
  height: 70px;
  margin: 0;
  padding: 5px;
  object-fit: contain;
  background: transparent;
}
.lx-cart-dialog .lx-line-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.lx-cart-dialog .lx-line-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.3;
}
.lx-cart-dialog .widget_shopping_cart_content ul.woocommerce-mini-cart li .quantity {
  margin: 0;
  padding: 0;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--lx-apple-mute);
}
.lx-cart-dialog .widget_shopping_cart_content ul.woocommerce-mini-cart li a.remove {
  position: static;
  top: auto;
  right: auto;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  margin: 0;
  border: 0;
  border-radius: 14px;
  background: rgba(120, 120, 128, .14) !important;
  color: var(--lx-apple-ink) !important;
  font-size: 18px;
}
.lx-cart-dialog .woocommerce-mini-cart__total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 16px 16px 10px;
  padding: 0;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -.02em;
}
.lx-cart-dialog .woocommerce-mini-cart__total strong {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--lx-apple-mute);
}
.lx-cart-dialog .woocommerce-mini-cart__buttons {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0 16px 4px;
}
.lx-cart-dialog .woocommerce-mini-cart__buttons a.button,
.lx-cart-dialog .lx-cart-action {
  flex: none;
  justify-content: center;
  width: 100%;
  min-height: 50px;
  padding: 12px 18px;
  border: 0;
  border-radius: 980px;
  background: var(--lx-apple-navy);
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -.015em;
}
.lx-cart-dialog .woocommerce-mini-cart__buttons a.checkout {
  background: var(--lx-apple-navy);
  color: #fff;
  border: 0;
}
.lx-cart-dialog .woocommerce-mini-cart__buttons a.button:hover,
.lx-cart-dialog .lx-cart-action:hover,
.lx-cart-dialog .woocommerce-mini-cart__buttons a.checkout:hover {
  background: #152c52;
  color: #fff;
}
.lx-cart-dialog .woocommerce-mini-cart__buttons .lx-magic-btn,
.lx-cart-dialog .lx-magic-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 50px;
  padding: 12px 18px;
  border: 0;
  border-radius: 980px;
  background: #fff;
  color: var(--lx-apple-navy);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -.015em;
  box-shadow: 0 0 0 1px rgba(27, 58, 107, .2);
}
.lx-cart-dialog .lx-magic-btn .lx-rzp-mark {
  width: 16px;
  height: 16px;
  color: currentColor;
}
.lx-cart-dialog .lx-magic-btn:hover {
  background: #fff;
  color: var(--lx-apple-navy);
}
.lx-cart-dialog .lx-bag-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  color: var(--lx-apple-navy);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}
.lx-cart-dialog .lx-bag-link:hover {
  text-decoration: underline;
}
.lx-cart-dialog .lx-cart-more {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  margin: 0;
  padding: 8px 12px;
  border: 0;
  border-radius: 980px;
  background: transparent;
  color: var(--lx-apple-navy);
  font: 600 15px/1.3 Barlow, Arial, sans-serif;
  letter-spacing: -.01em;
  cursor: pointer;
}
.lx-cart-dialog .lx-cart-more:hover {
  background: rgba(27, 58, 107, .08);
}
.lx-cart-dialog .lx-cart-more:active,
.lx-cart-dialog .lx-cart-more.is-pressed {
  transform: scale(.97);
}
.lx-cart-dialog .woocommerce-mini-cart__empty-message {
  margin: 28px 8px 8px;
  font: 600 26px/1.15 Barlow, Arial, sans-serif;
  letter-spacing: -.03em;
  color: var(--lx-apple-ink);
}
.lx-cart-empty-help p {
  max-width: none;
  margin: 0 8px 18px;
  color: var(--lx-apple-mute);
}
.lx-cart-help {
  margin: 2px 16px 0;
  padding: 0 4px 2px;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.lx-cart-help h3 { display: none; }
.lx-cart-help p {
  margin: 0 0 4px;
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: .01em;
  color: var(--lx-apple-mute);
}
.lx-cart-help-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 12px;
}
.lx-cart-help-links a {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--lx-apple-navy);
  text-decoration: none;
}
.lx-cart-help-links a:hover { text-decoration: underline; }
.lx-cart-help > div {
  border-top: 0;
  margin: 0;
  padding: 0;
}

/* Product purchase — pack chips and a full-width pill. */
.lx-product-v5 .lx-buy-identity {
  border-color: var(--lx-apple-line);
  padding: 20px 0;
}
.lx-product-v5 .buy-col .plate-grade {
  letter-spacing: -.03em;
}
.lx-product-v5 .buy-col .price {
  letter-spacing: -.025em;
  color: var(--lx-apple-ink);
}
.lx-product-v5 .lx-pack-choice {
  margin: 0 8px 8px 0;
  padding: 10px 14px;
  border: 1px solid transparent;
  border-radius: 980px;
  background: rgba(27, 58, 107, .06);
  font-weight: 500;
}
.lx-product-v5 .lx-pack-choice:has(input:checked) {
  background: var(--lx-apple-navy);
  color: #fff;
  border-color: var(--lx-apple-navy);
}
.lx-product-v5 .lx-pack-choice:has(input:checked) small {
  color: rgba(255, 255, 255, .72);
}
.lx-product-v5 .lx-purchase {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: stretch;
}
.lx-product-v5 .lx-quantity-label {
  flex: 1 1 100%;
  margin: 0;
}
.lx-product-v5 .lx-purchase [name="qty"] {
  flex: 0 0 72px;
  width: 72px;
  min-height: 48px;
  border: 0;
  border-radius: 14px;
  background: rgba(27, 58, 107, .06);
  text-align: center;
  font: 600 17px/1 Barlow, Arial, sans-serif;
}
.luvox-inner .lx-product-v5 .lx-product .buy-col button.single_add_to_cart_button,
.lx-product-v5 .lx-purchase .button {
  flex: 1 1 140px;
  min-height: 48px;
  min-width: 140px;
  margin: 0;
  padding: 12px 18px;
  border: 0;
  border-radius: 14px !important;
  background: var(--lx-apple-navy);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -.015em;
  white-space: nowrap;
  box-shadow: none;
}
.luvox-inner .lx-inner-main .lx-product-v5 .lx-purchase button.lx-magic-btn,
.luvox-inner .lx-inner-main .lx-product-v5 .lx-purchase button.lx-magic-btn:hover,
.lx-product-v5 .lx-purchase button.lx-magic-btn,
.lx-product-v5 .lx-purchase .lx-magic-btn,
.lx-product-v5 .lx-purchase .lx-magic-btn:hover {
  flex: 1 1 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(27, 58, 107, .08) !important;
  color: var(--lx-apple-navy) !important;
  border: 0 !important;
}
.lx-product-v5 .lx-purchase .lx-magic-btn .lx-rzp-mark {
  color: currentColor;
}
.lx-product-v5 .lx-wish-btn,
.luvox-inner .lx-inner-main .lx-wish-btn {
  width: auto;
  min-height: 36px;
  margin: 4px 0 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--lx-apple-navy);
  font-size: 15px;
  font-weight: 600;
}
.lx-product-v5 .lx-enquiry-action {
  border: 0;
  border-radius: 16px;
  background: rgba(27, 58, 107, .05);
  padding: 14px 18px;
}
.lx-product-v5 .lx-purchase .cart-status {
  flex: 0 0 100%;
  font-weight: 500;
}

/* Cart and checkout pages — grouped cards, pill checkout. */
.woocommerce-cart .wc-block-cart-items__row td,
.woocommerce-cart .wc-block-cart-items th {
  border-color: var(--lx-apple-line);
}
.woocommerce-cart .wc-block-cart-item__image img {
  border-radius: 12px;
}
.woocommerce-cart .wc-block-components-quantity-selector {
  overflow: hidden;
  border: 0;
  border-radius: 980px;
  background: rgba(27, 58, 107, .06);
}
.woocommerce-cart .wc-block-components-quantity-selector .lx-qty,
.woocommerce-cart .wc-block-components-quantity-selector__input {
  border: 0;
  background: transparent;
}
.wp-block-woocommerce-cart-totals-block,
.wc-block-checkout__sidebar {
  border-radius: 20px;
  background: rgba(238, 241, 244, .84);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .6) inset;
}
.woocommerce-cart .wc-block-cart__submit-button,
.woocommerce-checkout .wc-block-components-checkout-place-order-button,
.woocommerce-checkout .lx-magic-btn,
.woocommerce-cart .lx-magic-btn,
.wp-block-woocommerce-empty-cart-block .button {
  border: 0;
  border-radius: 980px;
  box-shadow: 0 10px 24px rgba(27, 58, 107, .18);
}
.woocommerce-checkout .wc-block-components-radio-control__option {
  border-radius: 16px;
}
.woocommerce-checkout .wc-block-checkout input,
.woocommerce-checkout .wc-block-checkout textarea,
.woocommerce-checkout .wc-block-checkout select {
  border-radius: 12px;
  border-color: #d2d2d7;
}

@media (min-width: 768px) {
  .lx-cart-dialog-heading {
    padding: 18px 22px 12px;
  }
  .lx-cart-dialog-heading h2 {
    font-size: 24px;
  }
}

@media (max-width: 1279px) {
  .lv4-product-grid.products,
  .lx-catalog-v5 ul.products,
  .lx-product-v5 .lx-related-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 28px 22px;
  }
}

@media (max-width: 1023px) {
  .luvox-reference-home .lx-utility {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .luvox-reference-home .lx-utility::-webkit-scrollbar { display: none; }
  .luvox-reference-home .lx-utility-links {
    flex-wrap: nowrap;
    white-space: nowrap;
    gap: 14px;
  }
  .luvox-reference-home .lx-utility-links a,
  .luvox-reference-home .lx-utility-links span {
    white-space: nowrap;
    flex-shrink: 0;
  }
  .luvox-reference-home .lx-location { display: none; }

  /* 44pt icon chip between the mark and Search/Menu. */
  .luvox-reference-home .lx-header-cart {
    top: 50px;
    right: 116px;
    width: 44px;
    min-width: 44px;
    height: 44px;
    min-height: 44px;
    padding: 0;
    flex-direction: row;
    justify-content: center;
    gap: 0;
  }
  .luvox-reference-home .lx-header-cart > img {
    width: 22px;
    height: 22px;
  }
  .luvox-reference-home .lx-header-cart .lx-cart-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }
  .luvox-reference-home .lx-header-cart .lx-cart-total {
    position: absolute;
    top: -3px;
    right: -3px;
  }
  .luvox-reference-home .lx-shopbar-cart .lx-cart-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }
  .luvox-reference-home .lx-shopbar-cart {
    width: 44px;
    min-width: 44px;
    padding: 8px 0;
    gap: 0;
  }
  .luvox-reference-home .lx-cart-dialog,
  .luvox-reference-home .lx-header-away .lx-cart-dialog {
    top: 10px;
    right: 10px;
    bottom: auto;
    left: auto;
    max-height: calc(100dvh - 20px);
  }
  .lv4-product-grid.products,
  .lx-catalog-v5 ul.products,
  .lx-product-v5 .lx-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 32px 20px;
  }
}

@media (max-width: 767px) {
  .luvox-reference-home .lx-cart-dialog,
  .luvox-reference-home .lx-header-away .lx-cart-dialog,
  .lx-cart-dialog {
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    max-width: none;
    height: fit-content;
    max-height: 92dvh;
    border-radius: 22px 22px 0 0;
    padding-bottom: env(safe-area-inset-bottom);
  }
  .lx-cart-handle { display: flex; }
  .lx-cart-dialog-heading { padding: 4px 20px 10px; }
  .lx-cart-dialog-heading h2 { font-size: 22px; letter-spacing: -.025em; }
  .luvox-reference-home .lx-cart-dialog-body,
  .lx-cart-dialog-body {
    display: flex;
    flex-direction: column;
    grid-template-columns: none;
    padding: 0 8px 22px;
    gap: 0;
  }
  .luvox-reference-home .lx-cart-dialog .widget_shopping_cart_content ul.woocommerce-mini-cart li,
  .lx-cart-dialog .widget_shopping_cart_content ul.woocommerce-mini-cart li {
    min-height: 0;
    padding: 10px 12px;
    padding-left: 12px;
    padding-right: 12px;
    background: transparent;
  }
  .lx-cart-dialog .widget_shopping_cart_content ul.woocommerce-mini-cart li a.remove {
    position: static;
    width: 28px;
    height: 28px;
  }
  .lx-cart-help {
    padding: 0 4px 2px;
  }
  .lx-cart-help-links { display: none; }
  .products li.lx-card .tin-buy .button { width: 100%; }
  .products li.lx-card .lx-card-details { justify-content: flex-start; }
}

@media (max-width: 599px) {
  .lv4-product-grid.products,
  .lx-catalog-v5 ul.products,
  .lx-product-v5 .lx-related-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 36px;
  }
  .luvox-reference-home .products li.lx-card .tin-buy {
    display: flex;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .products li.lx-card .pack-window .pack-image,
  .products li.lx-card .tin-buy .button,
  .lx-product-v5 .lx-purchase .button,
  .lx-cart-dialog .button,
  .lx-cart-trigger {
    transition: none;
  }
  .products li.lx-card:hover .pack-window .pack-image,
  .products li.lx-card .tin-buy .button:active,
  .lx-product-v5 .lx-purchase .button:active,
  .lx-cart-dialog .button:active {
    transform: none;
  }
  .lx-cart-dialog { will-change: auto; }
}

@media (prefers-reduced-transparency: reduce) {
  .lx-cart-dialog,
  .luvox-reference-home .lx-header-cart,
  .luvox-reference-home .lx-shopbar-cart,
  .wp-block-woocommerce-cart-totals-block,
  .wc-block-checkout__sidebar {
    background: #fff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

@media (prefers-contrast: more) {
  .lx-cart-dialog,
  .products li.lx-card .tin-photo,
  .wp-block-woocommerce-cart-totals-block {
    border: 1px solid #1b3a6b;
    background: #fff;
    backdrop-filter: none;
  }
}

/* Beat product-cards.css, shop.css and cart.css on the live class list. */
.luvox-reference-home .products li.lx-card .tin-photo,
.lx-catalog .products li.lx-card .tin-photo,
.products li.lx-card .tin-photo {
  aspect-ratio: 4 / 5 !important;
  border: 0;
  border-radius: 18px;
  background: #eef1f4;
}
.luvox-reference-home .products li.lx-card .pack-window,
.lx-catalog .products li.lx-card .pack-window,
.products li.lx-card .pack-window {
  aspect-ratio: 4 / 5 !important;
  width: 100% !important;
  max-width: none !important;
  height: 100%;
}
.luvox-reference-home .products li.lx-card .pack-window .pack-image,
.lx-catalog .products li.lx-card .pack-window .pack-image,
.products li.lx-card .pack-window .pack-image {
  padding: 8px !important;
}
.luvox-reference-home .products li.lx-card .plate-price {
  color: #1d1d1f;
  letter-spacing: -.02em;
}
.luvox-reference-home .products li.lx-card .tin-buy {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
}
.luvox-reference-home .products li.lx-card .tin-buy .button {
  width: 100%;
  min-height: 44px;
  padding: 11px 16px;
  border: 0;
  border-radius: 980px;
  background: #1b3a6b;
  color: #fff;
  box-shadow: none;
  white-space: nowrap;
}
.luvox-reference-home .products li.lx-card .tin-buy .lx-magic-btn,
.luvox-reference-home .products li.lx-card .tin-buy .lx-magic-btn:hover {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(27, 58, 107, .08) !important;
  color: #1b3a6b !important;
  border: 0;
}
.luvox-reference-home .products li.lx-card .tin-buy .lx-magic-btn .lx-rzp-mark {
  width: 16px;
  height: 16px;
  color: currentColor;
}
.luvox-reference-home .products li.lx-card .tin-buy .lx-wish-btn,
.luvox-reference-home .tin-buy .lx-wish-btn {
  width: auto;
  min-height: 32px;
  padding: 4px 2px;
  border: 0;
  background: transparent;
  color: #1b3a6b;
  font-size: 14px;
  font-weight: 600;
  justify-content: flex-start;
}
.luvox-reference-home .products li.lx-card .lx-card-details {
  display: flex;
  justify-content: flex-start;
  width: 100%;
  min-height: 32px;
  padding: 4px 2px;
  border-radius: 0;
  background: transparent !important;
  text-decoration: none;
}

.luvox-reference-home .lx-cart-dialog-body {
  display: flex !important;
  flex-direction: column !important;
  grid-template-columns: none !important;
  gap: 0 !important;
}
.luvox-reference-home .lx-cart-dialog .woocommerce-mini-cart__buttons {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}
.luvox-reference-home .lx-cart-dialog .woocommerce-mini-cart__buttons a.button,
.luvox-reference-home .lx-cart-dialog .woocommerce-mini-cart__buttons a.checkout {
  width: 100% !important;
  flex: none !important;
  background: #1b3a6b !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 980px !important;
  justify-content: center !important;
}
.luvox-reference-home .lx-cart-dialog .woocommerce-mini-cart__buttons .lx-magic-btn {
  background: #fff !important;
  color: #1b3a6b !important;
  box-shadow: 0 0 0 1px rgba(27, 58, 107, .2);
}
.luvox-reference-home .lx-cart-dialog .lx-bag-link {
  background: transparent !important;
  color: #1b3a6b !important;
  border: 0 !important;
  box-shadow: none !important;
}
.luvox-reference-home .lx-cart-dialog .widget_shopping_cart_content ul.woocommerce-mini-cart li {
  min-height: 0 !important;
  padding: 10px 12px !important;
  background: transparent !important;
}
.luvox-reference-home .lx-cart-help {
  padding: 0 16px 8px !important;
  background: transparent !important;
}
.luvox-reference-home .lx-cart-help h3,
.luvox-reference-home .lx-cart-items:has(.woocommerce-mini-cart__empty-message) ~ .lx-cart-help {
  display: none !important;
}
.luvox-reference-home .lx-cart-empty-help {
  display: none !important;
}
.luvox-reference-home .lx-cart-items:has(.woocommerce-mini-cart__empty-message) .lx-cart-empty-help {
  display: block !important;
}
.luvox-reference-home .lx-cart-empty-help .lx-cart-action {
  justify-content: center;
  border-radius: 980px;
}
.lx-product-v5 .lx-product-lead .pack-window img,
.lx-product-v5 .lx-product-lead .pack-window .pack-image {
  padding: 8px !important;
}
.tax-luvox_range .lx-enquire:not(.is-open) .lx-enquire-actions,
.post-type-archive-luvox_grade .lx-enquire:not(.is-open) .lx-enquire-actions,
.search-results .lx-enquire:not(.is-open) .lx-enquire-actions,
.lx-enquire.is-covering:not(.is-open) .lx-enquire-actions {
  display: none !important;
}
@media (max-width: 1023px) {
  .single-luvox_grade .lx-enquire:not(.is-open) .lx-enquire-actions {
    display: none !important;
  }
}
@media (max-width: 767px) {
  .lx-enquire {
    z-index: 40;
  }
  .lx-enquire-actions {
    flex-direction: column-reverse;
    align-items: flex-end;
    gap: 10px;
  }
  .lx-enquire-launch {
    width: 52px !important;
    min-width: 52px !important;
    min-height: 52px !important;
    padding: 0 !important;
    border-radius: 26px !important;
    border-top: 0 !important;
    justify-content: center;
  }
  .lx-enquire-launch-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }
  .lx-enquire-wa {
    width: 48px !important;
    min-height: 48px !important;
    border-radius: 24px !important;
    border-top: 0 !important;
  }
}

/* Keep “Added to cart” inside the card. tin-buy was a wrapping row, so the
   status sat beside Add to cart and spilled into the next column. */
.luvox-reference-home .products li.lx-card,
.lx-catalog .products li.lx-card,
.products li.lx-card {
  min-width: 0;
  max-width: 100%;
}
.luvox-reference-home .products li.lx-card .tin-buy,
.lx-catalog .products li.lx-card .tin-buy,
.products li.lx-card .tin-buy {
  display: flex !important;
  flex-direction: column !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  width: 100%;
  min-width: 0;
  max-width: 100%;
}
.luvox-reference-home .products li.lx-card .cart-status,
.lx-catalog .products li.lx-card .cart-status,
.products li.lx-card .cart-status {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  flex: 0 0 auto !important;
  order: 99;
  margin: 4px 0 0;
  white-space: normal !important;
  overflow-wrap: anywhere;
}
.products li.lx-card .cart-status:empty {
  display: none !important;
  margin: 0;
}
