/* Krost Store — extracted from Krost Store Prototype.dc.html */
/* Values preserved exactly for pixel-identical rendering. */

/* ---- Base ---- */
/* Ticket 9 — ONE page gutter. Every left edge that should line up with the
   header wordmark reads this token and nothing else. 18px on a phone, 41px at
   1172, 50px at 1440, 67px at 1920, capped at 80px so an ultra-wide screen does
   not push content toward the middle. */
:root { --gutter: clamp(18px, 3.5vw, 80px); }

body { margin:0; background:#f6f6f0; font-family:'Inter Tight','Helvetica Neue',Arial,sans-serif; color:#1a1a1a; }


/* Product page is full-bleed. Landing, category, cart and checkout share one
   beige and a centred shell that grows to 1921px. */
html:has(.store-product-page) { background:#f6f6f0; }
.store-shell:has(.store-product-page) .site-header { padding: 0 var(--gutter); }
a { color:#1a1a1a; text-decoration:none; }
a:hover { text-decoration:underline; }
@keyframes kfade { from { opacity:0 } to { opacity:1 } }
@keyframes ktoast { from { opacity:0; transform:translateX(-50%) translateY(10px) } to { opacity:1; transform:translateX(-50%) translateY(0) } }
@keyframes ksheet { from { transform:translateY(100%) } to { transform:translateY(0) } }
[data-rail]::-webkit-scrollbar { display:none; }
[data-scroll]::-webkit-scrollbar { display:none; }

/* ---- Layout & components ---- */

.store-shell {
  width: 100%;
  max-width: 1921px;
  margin: 0 auto;
  background: #f6f6f0;
  min-height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
}
/* Sticky only pulls the footer up, never down, so short pages need the
   remaining shell height absorbed above it. */
   .store-shell > .sticky-footer {
    margin-top: auto;
  }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 56px;
  height: 84px;
  border-bottom: 1px solid #e4e2da;
  background: #f6f6f0;
}

.brand-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: inherit;
}

.brand-logo {
  height: 31px;
  width: auto;
  display: block;
}

.brand-store-label {
  font-weight: 500;
  color: #8f8f87;
  letter-spacing: 0.14em;
  font-size: 17px;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 15px;
  color: #6f6f68;
}

.link-strong {
  font-weight: 700;
}

.cart-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.store-list {
  padding: 26px 56px 60px;
}

.breadcrumb {
  font-size: 14px;
  color: #9a9a92;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.crumb-link {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font: inherit;
  color: #9a9a92;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.text-ink {
  color: #1a1a1a;
}

.page-title {
  margin: 26px 0 0;
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.page-blurb {
  margin: 16px 0 0;
  font-size: 18px;
  line-height: 1.55;
  color: #7a7a73;
  max-width: 640px;
  text-wrap: pretty;
}

.filter-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 34px 0 36px;
  flex-wrap: wrap;
}

.filter-label {
  font-size: 13px;
  letter-spacing: 0.14em;
  color: #9a9a92;
  font-weight: 600;
}

.subfilter-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: -14px 0 36px;
  flex-wrap: wrap;
}

.subfilter-label {
  font-size: 12px;
  letter-spacing: 0.14em;
  color: #a9a595;
  font-weight: 600;
}

.empty-state {
  padding: 44px 0 10px;
  color: #8f8f87;
  font-size: 16px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

@media (min-width: 1920px) {
  .store-list {
    padding-left: 64px;
    padding-right: 64px;
  }

  .product-grid {
    gap: 24px;
  }
}

.product-card {
  cursor: pointer;
  border: 1px solid #e4e2da;
  border-radius: 5px;
  overflow: hidden;
  background: #fff;
  transition: border-color .18s, box-shadow .18s, background .18s;
}

.product-card:hover {
  border-color: #b8b3a4;
  box-shadow: 0 8px 24px rgba(30,28,22,0.10);
  background: #fcfbf6;
}

.product-card-media {
  height: 290px;
  background: #fff;
  border-bottom: 1px solid #e4e2da;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.clearance-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: #eaeaec;
  color: #3a3a3a;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 5px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.product-card-body {
  padding: 22px 22px 24px;
}

.product-card-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.product-card-name {
  font-weight: 700;
  flex: 1 1 auto;
  min-width: 0;
  white-space: normal;
  line-height: 1.2;
  height: calc(1.2em * 2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-card-price {
  font-size: 19px;
  font-weight: 700;
  white-space: nowrap;
  flex: 0 0 auto;
  line-height: 1.2;
}

.product-card-price:empty {
  display: none;
}

.price-was {
  color: #9a9a92;
  text-decoration: line-through;
  font-weight: 500;
  margin-right: 8px;
}

.product-card-meta {
  margin-top: 8px;
  font-size: 14px;
  color: #8f8f87;
}

.ship-row {
  margin-top: 16px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #2f7d4a;
}

.ship-row .ship-dot {
  /* Centre the dot on the first line, including when the dispatch text wraps. */
  margin-top: 0.32em;
}

.ship-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2f8f4e;
  display: inline-block;
  flex: 0 0 auto;
}

/* ---- Dynamic store index helpers ---- */
.is-hidden {
  display: none !important;
}

/* Honour the server-rendered `hidden` attribute before store-index.js runs.
   `.subfilter-row { display:flex }` and `.empty-state` otherwise override the
   UA `[hidden] { display:none }`, flashing every TYPE row / empty message on load. */
.subfilter-row[hidden],
.empty-state[hidden] {
  display: none !important;
}

a.brand-btn,
a.cart-btn,
a.product-card {
  text-decoration: none;
  color: inherit;
}

a.brand-btn:hover,
a.cart-btn:hover,
a.product-card:hover {
  text-decoration: none;
}

a.product-card {
  display: block;
}

.filter-row button {
  padding: 11px 20px;
  font-size: 15px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 500;
  font-family: inherit;
  background: #fff;
  color: #1a1a1a;
  border: 1px solid #ddd9cf;
  white-space: nowrap;
  flex: 0 0 auto;
}

.filter-row button.is-active {
  background: #1a1a1a;
  color: #fff;
  border-color: #1a1a1a;
}

.subfilter-row button {
  padding: 8px 16px;
  font-size: 14px;
  border-radius: 7px;
  cursor: pointer;
  font-weight: 600;
  font-family: inherit;
  background: #f0ede4;
  color: #5c5a52;
  border: 1px solid #e0dccf;
  white-space: nowrap;
  flex: 0 0 auto;
}

.subfilter-row button.is-active {
  background: #2f5d63;
  color: #fff;
  border-color: #2f5d63;
}

/* Category page: TYPE row is the primary filter (not nested under FILTER) */
.store-category .page-title {
  margin-top: 0;
}

.store-category-types {
  margin: 34px 0 36px;
}

.product-card-media img {
  max-width: 88%;
  max-height: 88%;
  object-fit: contain;
  display: block;
}

.cart-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #1a1a1a;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 0 6px;
}

.cart-badge.has-items {
  background: #cf1a2b;
}

.product-card-price .price-was {
  color: #9a9a92;
  text-decoration: line-through;
  font-weight: 500;
  margin-right: 8px;
}

.product-breadcrumb {
  padding: 26px 56px 8px;
  font-size: 14px;
  color: #9a9a92;
  display: flex;
  align-items: center;
  gap: 6px;
}

.product-layout {
  display: flex;
  gap: 36px;
  padding: 16px 56px 60px;
  align-items: stretch;
  height: 920px;
  box-sizing: border-box;
}

.product-gallery-col {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-stage {
  position: relative;
  background: #fff;
  border: 1px solid #e4e2da;
  border-radius: 6px;
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.in-stock-badge {
  position: absolute;
  top: 22px;
  left: 22px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
  z-index: 2;
  white-space: nowrap;
}

.in-stock-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2f8f4e;
}

.view-pending {
  text-align: center;
  color: #9a9a92;
  padding: 40px;
}

.view-pending-title {
  font-size: 17px;
  font-weight: 700;
  color: #6f6f68;
}

.view-pending-note {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.55;
  max-width: 300px;
}

.view-nav {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  z-index: 2;
}

.view-nav-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid #e0ddd3;
  background: #fff;
  box-shadow: 0 1px 6px rgba(0,0,0,0.08);
  cursor: pointer;
  font-size: 19px;
  line-height: 1;
  color: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0 3px;
}

.view-dots {
  display: flex;
  align-items: center;
  gap: 10px;
}

.product-rail {
  width: 460px;
  flex: 0 0 auto;
  overflow-y: auto;
  height: 100%;
  padding: 2px 6px 10px;
  scrollbar-width: none;
}

.product-title {
  margin: 0;
  font-size: 52px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}

.product-tagline {
  margin: 14px 0 0;
  font-size: 19px;
  color: #7a7a73;
}

.product-price-row {
  margin-top: 28px;
  display: flex;
  align-items: baseline;
  gap: 14px;
}

.product-price {
  font-size: 38px;
  font-weight: 700;
}

.product-price-unit {
  font-size: 15px;
  color: #8f8f87;
  white-space: nowrap;
}

.product-meta-row {
  margin-top: 16px;
  display: flex;
  gap: 26px;
  font-size: 15px;
  color: #6f6f68;
}

.warranty-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.item-code-row {
  margin-top: 24px;
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.item-code-label {
  font-size: 13px;
  letter-spacing: 0.14em;
  color: #9a9a92;
  text-transform: uppercase;
}

.item-code-sep {
  color: #c8c8c0;
}

.item-code-value {
  font-size: 15px;
  color: #2f2f2a;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.option-groups {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 28px 40px;
}

.option-group-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.option-label {
  font-size: 13px;
  letter-spacing: 0.14em;
  color: #9a9a92;
  font-weight: 600;
  white-space: nowrap;
}

.option-sep {
  color: #d3cec0;
  font-weight: 400;
}

.option-value {
  font-size: 15px;
  font-weight: 700;
  color: #1a1a1a;
  white-space: nowrap;
}

.swatch-row {
  margin-top: 14px;
  display: flex;
  gap: 14px;
}

.chip-row {
  margin-top: 14px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.size-tile-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.accordion-list {
  margin-top: 32px;
  border-bottom: 1px solid #e4e2da;
}

.accordion-item {
  border-top: 1px solid #e4e2da;
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: none;
  border: none;
  padding: 22px 0;
  cursor: pointer;
  font-size: 17px;
  font-weight: 700;
  color: #1a1a1a;
  text-align: left;
  font-family: inherit;
  box-sizing: border-box;
}

.accordion-title {
  flex: 1;
  min-width: 0;
  text-align: left;
}

.accordion-sign {
  flex: 0 0 auto;
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
  color: #8f8f87;
}

.accordion-body {
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
}

.spec-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 11px 0;
  border-bottom: 1px dotted #d7d2c4;
}

.spec-key {
  font-size: 14px;
  color: #9a9a92;
  white-space: nowrap;
}

.spec-val {
  font-size: 14px;
  font-weight: 700;
  color: #1a1a1a;
  text-align: right;
}

.accordion-note {
  margin-top: 14px;
  font-size: 13px;
  font-style: italic;
  color: #9a9a92;
}

.still-card {
  margin-top: 24px;
  background: #eceae2;
  border-radius: 6px;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.still-title {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a1a;
}

.still-body {
  font-size: 14px;
  line-height: 1.55;
  color: #6f6f68;
  text-wrap: pretty;
}

.still-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 6px;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 22px;
  border: 1px solid #1a1a1a;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  color: #1a1a1a;
  background: #fff;
  white-space: nowrap;
}

.text-link {
  font-size: 14px;
  color: #6f6f68;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cart-page {
  padding: 26px 56px 80px;
  min-height: 700px;
}

.cart-breadcrumb {
  font-size: 14px;
  color: #9a9a92;
  display: flex;
  align-items: center;
  gap: 6px;
}

.cart-empty {
  margin-top: 26px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.cart-empty-text {
  margin: 0;
  font-size: 17px;
  line-height: 1.55;
  color: #7a7a73;
  max-width: 520px;
}

.btn-primary {
  height: 48px;
  padding: 0 28px;
  font-size: 16px;
  font-weight: 700;
  border: none;
  border-radius: 4px;
  background: #1a1a1a;
  color: #fff;
  cursor: pointer;
  font-family: inherit;
}

.cart-layout {
  margin-top: 30px;
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.cart-lines {
  flex: 1;
  min-width: 0;
  border-top: 1px solid #e4e2da;
}

.cart-line {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 26px 0;
  border-bottom: 1px solid #e4e2da;
}

.cart-thumb {
  width: 130px;
  height: 130px;
  flex: 0 0 auto;
  background: #fff;
  border: 1px solid #e4e2da;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-line-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cart-line-name {
  font-size: 21px;
  font-weight: 700;
}

.cart-line-sub {
  font-size: 14px;
  font-style: italic;
  color: #8f8f87;
}

.cart-line-config {
  font-size: 14px;
  color: #6f6f68;
}

.cart-ship-row {
  font-size: 13px;
  font-weight: 700;
  color: #2f7d4a;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.cart-line-actions {
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.qty-box {
  display: flex;
  align-items: center;
  border: 1px solid #d9d7cf;
  border-radius: 4px;
  width: 118px;
  height: 44px;
  background: #fff;
}

.qty-btn {
  flex: 1;
  height: 100%;
  border: none;
  background: none;
  font-size: 20px;
  cursor: pointer;
  font-family: inherit;
}

.qty-val {
  flex: 1;
  text-align: center;
  font-size: 15px;
}

.link-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  color: #6f6f68;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cart-line-total-wrap {
  text-align: right;
  flex: 0 0 auto;
}

.cart-line-unit {
  margin-top: 4px;
  font-size: 13px;
  color: #8f8f87;
  white-space: nowrap;
}

.cart-keep-row {
  margin-top: 22px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.keep-shopping {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  color: #1a1a1a;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.order-summary {
  width: 400px;
  flex: 0 0 auto;
  background: #fff;
  border: 1px solid #ddd9cf;
  border-radius: 6px;
  padding: 28px;
  position: sticky;
  top: 24px;
}

.order-summary-rows {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
}

.summary-key {
  font-size: 14px;
  color: #9a9a92;
}

.summary-val {
  font-size: 14px;
  font-weight: 700;
}

.order-total-row {
  margin-top: 20px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
}

.order-total-label {
  font-size: 17px;
  font-weight: 700;
}

.order-total-value {
  font-size: 28px;
  font-weight: 700;
}

.meta-note {
  margin-top: 4px;
  font-size: 13px;
  color: #8f8f87;
}

.btn-checkout {
  margin-top: 24px;
  width: 100%;
  height: 52px;
  font-size: 16px;
  font-weight: 700;
  border: none;
  border-radius: 4px;
  background: #1a1a1a;
  color: #fff;
  cursor: pointer;
  font-family: inherit;
}

.sticky-footer {
  position: sticky;
  bottom: 0;
  z-index: 5;
  box-shadow: 0 -6px 24px rgba(30,28,22,0.10);
}

.site-footer {
  background: #f6f6f0;
  border-top: 1px solid #e4e2da;
  padding: 0 56px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: #9a9a92;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-link-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font: inherit;
  color: #6f6f68;
}

.footer-dot {
  color: #d3cec0;
}

.footer-link {
  color: #6f6f68;
}

.order-bar {
  background: #fff;
  border-top: 1px solid #ddd9cf;
  padding: 16px var(--gutter);
  display: flex;
  align-items: center;
  gap: 32px;
}

.order-bar-info {
  flex: 1;
  min-width: 0;
}

.order-bar-name {
  font-size: 19px;
  font-weight: 700;
}

.order-bar-price-col {
  text-align: right;
}

.order-bar-unit {
  margin-top: 3px;
  font-size: 12px;
  color: #8f8f87;
  white-space: nowrap;
}

.order-bar-qty {
  display: flex;
  align-items: center;
  border: 1px solid #d9d7cf;
  border-radius: 4px;
  width: 126px;
  height: 48px;
  flex: 0 0 auto;
  background: #fff;
}

.btn-order-now {
  height: 48px;
  padding: 0 34px;
  font-size: 16px;
  font-weight: 700;
  border: none;
  border-radius: 4px;
  background: #1a1a1a;
  color: #fff;
  cursor: pointer;
  white-space: nowrap;
  font-family: inherit;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 120px;
  transform: translateX(-50%);
  background: #1a1a1a;
  color: #fff;
  padding: 14px 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  z-index: 40;
  box-shadow: 0 10px 30px rgba(0,0,0,0.22);
  pointer-events: none;
  will-change: opacity, transform;
}

.store-toast-enter-active {
  transition: opacity 0.32s cubic-bezier(0.22, 1, 0.36, 1), transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.store-toast-leave-active {
  transition: opacity 0.24s ease, transform 0.24s ease;
}

.store-toast-enter,
.store-toast-leave-to {
  opacity: 0;
  transform: translateX(-50%) translateY(14px);
}

.store-toast-enter-to,
.store-toast-leave {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.policy-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26,26,22,0.42);
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px;
}

.policy-overlay[hidden] {
  display: none !important;
}

.policy-backdrop {
  position: absolute;
  inset: 0;
}

.policy-dialog {
  position: relative;
  z-index: 1;
  background: #f6f6f0;
  border-radius: 8px;
  max-height: 84vh;
  overflow-y: auto;
  padding: 36px 40px 40px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.28);
  max-width: 92vw;
}

.policy-dialog--delivery {
  width: 760px;
}

.policy-body {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.policy-section-lead {
  margin-top: 12px;
  font-size: 14px;
  font-weight: 700;
  color: #1a1a1a;
}

.policy-list {
  margin: 12px 0 0;
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  line-height: 1.65;
  color: #3d3f43;
}

.checkout-policy-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26,26,22,0.42);
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px;
}

.checkout-policy-overlay[hidden] {
  display: none !important;
}

.checkout-policy-dialog {
  position: relative;
  z-index: 1;
  background: #f6f6f0;
  border-radius: 8px;
  max-height: 84vh;
  overflow-y: auto;
  padding: 36px 40px 40px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.28);
  max-width: 92vw;
  width: 760px;
}

.checkout-policy-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.checkout-policy-title {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.checkout-policy-close {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-size: 26px;
  line-height: 1;
  color: #8f8f87;
  font-family: inherit;
}

.checkout-policy-sections {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.checkout-policy-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.checkout-policy-section-heading {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #1a1a1a;
}

.checkout-policy-section-lead {
  font-size: 14px;
  font-weight: 700;
  color: #1a1a1a;
}

.checkout-policy-para {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: #3d3f43;
}

.checkout-policy-list {
  margin: 0;
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  line-height: 1.65;
  color: #3d3f43;
}

.checkout-policy-note {
  font-size: 13px;
  font-style: italic;
  color: #9a9a92;
}

.policy-modal {
  background: #f6f6f0;
  border-radius: 8px;
  max-height: 84vh;
  overflow-y: auto;
  padding: 36px 40px 40px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.28);
}

.policy-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.policy-title {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.policy-close {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-size: 26px;
  line-height: 1;
  color: #8f8f87;
  font-family: inherit;
}

.policy-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 0;
  border-bottom: 1px dotted #d7d2c4;
}

.policy-row-val {
  font-size: 14px;
  font-weight: 700;
  text-align: right;
}

.policy-note {
  margin: 20px 0 0;
  font-size: 13px;
  font-style: italic;
  line-height: 1.6;
  color: #9a9a92;
}

.policy-clauses {
  margin: 24px 0 0;
  padding-left: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 14px;
  line-height: 1.65;
  color: #3d3f43;
}

.policy-clause {
  text-wrap: pretty;
  padding-left: 4px;
}

.policy-sections {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.policy-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.policy-section-heading {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #1a1a1a;
  text-wrap: pretty;
}

.policy-lead {
  font-size: 14px;
  font-weight: 700;
  color: #1a1a1a;
}

.policy-para {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: #3d3f43;
  text-wrap: pretty;
}

.policy-bullets {
  margin: 0;
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  line-height: 1.65;
  color: #3d3f43;
}

.policy-bullet {
  text-wrap: pretty;
}

.policy-section-note {
  font-size: 13px;
  font-style: italic;
  color: #9a9a92;
}

.policy-body-para {
  margin: 0;
  text-wrap: pretty;
}

.policy-inline-link {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---- Responsive scaffolding (desktop defaults; mobile overrides below) ---- */

/* Hamburger — desktop hidden */
.menu-btn {
  display: none;
  background: none;
  border: none;
  padding: 6px 6px 6px 0;
  cursor: pointer;
  flex-direction: column;
  gap: 4px;
}
.menu-btn-bar {
  display: block;
  width: 19px;
  height: 1.8px;
  background: #1a1a1a;
}

/* Cart line heading — desktop mirrors previous option-group-head row */
.cart-line-heading {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.cart-line-total--mobile,
.cart-line-sub--mobile,
.cart-line-unit--mobile {
  display: none;
}
.cart-line-sub--desktop {
  display: inline;
}

/* Order bar wrappers — children participate in desktop row flex */
.order-bar-top,
.order-bar-actions {
  display: contents;
}

/* Checkout bar + menu — desktop hidden */
.checkout-bar,
.menu-overlay {
  display: none;
}

/* Policy sheet handle — desktop hidden */
.policy-sheet-handle {
  display: none;
}

.menu-drawer-logo {
  height: 20px;
  width: auto;
  display: block;
}

.menu-drawer-nav {
  display: contents;
}

.menu-drawer-link {
  display: block;
  width: 100%;
  box-sizing: border-box;
  text-align: left;
  background: none;
  border: none;
  padding: 14px 12px;
  border-radius: 5px;
  cursor: pointer;
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  color: #1a1a1a;
  text-decoration: none;
  align-self: stretch;
}

.menu-drawer-link:hover {
  text-decoration: none;
}

.menu-drawer-link.is-active {
  background: #eceae2;
  font-weight: 700;
}


/* ==========================================================================
   iPAD
   Source: Krost Store Prototype - iPad.dc.html
   Breakpoint: 768px – 1366px (all iPad portrait + landscape, incl. iPad Pro 12.9")
   Desktop rules above are untouched — overrides only apply inside this query.
   ========================================================================== */

@media (min-width: 768px) and (max-width: 1366px) {

  /* ---- Shell / frame ---- */
  .store-shell {
    width: 100%;
    max-width: 100%;
    margin: 0;
    min-height: 100vh;
  }

  /* ---- Header ---- */
  .site-header {
    position: static;
    height: 68px;
    padding: 0 30px;
    border-bottom: 1px solid #e4e2da;
    background: #f6f6f0;
  }

  .menu-btn {
    display: none;
  }

  .brand-btn {
    gap: 14px;
    position: static;
    transform: none;
  }

  .brand-logo {
    height: 26px;
  }

  .brand-store-label {
    font-size: 15px;
    letter-spacing: 0.14em;
  }

  .header-nav {
    gap: 20px;
    font-size: 14px;
    color: #6f6f68;
    white-space: nowrap;
    margin-left: 0;
  }

  /* iPad nav: "krost.com.au" + "Fitting out an office?" only (no prefix text) */
  .site-header .header-nav-range {
    display: none;
  }

  .header-nav > .header-nav-links:first-child {
    display: inline;
  }

  .header-nav .link-strong {
    font-weight: 700;
    color: #1a1a1a;
  }

  .cart-icon {
    width: 22px;
    height: 22px;
  }

  .cart-badge {
    min-width: 22px;
    height: 22px;
    font-size: 12px;
    padding: 0 6px;
  }

  /* ---- Store list ---- */
  .store-list {
    padding: 26px 30px 60px;
  }

  .breadcrumb {
    font-size: 14px;
    margin-bottom: 22px;
  }

  .page-title {
    margin: 26px 0 0;
    font-size: 34px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
  }

  .store-category .page-title {
    margin-top: 0;
  }

  .page-blurb {
    margin: 16px 0 0;
    font-size: 18px;
    line-height: 1.55;
    color: #7a7a73;
    max-width: 640px;
  }

  .filter-row {
    margin: 34px 0 36px;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
    overflow: visible;
    padding: 0;
  }

  .filter-label {
    font-size: 13px;
    letter-spacing: 0.14em;
    color: #9a9a92;
    font-weight: 600;
    flex: 0 0 auto;
  }

  .subfilter-row {
    margin: 34px 0 36px;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
    overflow: visible;
    padding: 0;
  }

  .subfilter-label {
    font-size: 12px;
    letter-spacing: 0.14em;
    color: #a9a595;
    font-weight: 600;
    flex: 0 0 auto;
  }

  .filter-row button {
    padding: 11px 20px;
    font-size: 15px;
    font-weight: 500;
    border-radius: 999px;
    border: 1px solid #ddd9cf;
    flex: 0 0 auto;
  }

  .filter-row button.is-active {
    background: #1a1a1a;
    color: #fff;
    border-color: #1a1a1a;
  }

  .subfilter-row button {
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 7px;
    flex: 0 0 auto;
  }

  .empty-state {
    padding: 44px 0 10px;
    font-size: 16px;
  }

  /* 3-column product grid — iPad.dc.html store list */
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 0;
  }

  .product-card {
    border: 1px solid #e4e2da;
    border-radius: 5px;
    background: #fff;
  }

  .product-card-media {
    height: 290px;
    border-bottom: 1px solid #e4e2da;
  }

  .product-card-media img {
    max-width: 88%;
    max-height: 88%;
  }

  .product-card-body {
    padding: 22px 22px 24px;
  }

  .product-card-row {
    gap: 10px;
  }

  .product-card-name {
    font-size: 19px;
    font-weight: 700;
  }

  .product-card-price {
    font-size: 19px;
    font-weight: 700;
  }

  .product-card-price:empty {
    display: none;
  }

  .product-card-meta {
    margin-top: 8px;
    font-size: 14px;
    color: #8f8f87;
  }

  .ship-row {
    margin-top: 16px;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #2f7d4a;
  }

  .ship-dot {
    width: 7px;
    height: 7px;
    background: #2f8f4e;
  }

  /* ---- Footer ---- */
  .sticky-footer {
    position: sticky;
    bottom: 0;
    z-index: 5;
    box-shadow: 0 -6px 24px rgba(30, 28, 22, 0.10);
  }

  .site-footer {
    padding: 0 30px;
    height: 44px;
    font-size: 13px;
    color: #9a9a92;
    background: #f6f6f0;
    border-top: 1px solid #e4e2da;
    flex-direction: row;
    align-items: center;
  }

  .footer-links {
    gap: 12px;
    order: 0;
    flex-wrap: nowrap;
  }

  .footer-link-btn,
  .footer-link {
    color: #6f6f68;
  }

  .footer-dot {
    color: #d3cec0;
  }

  /* Hide mobile drawer on iPad */
  .menu-overlay {
    display: none;
  }

  /* Product page — iPad.dc.html styles live in the
     "PRODUCT PAGE — TABLET (768–1099)" block after the desktop section. */
}

/* ==========================================================================
   MOBILE
   Source: Krost Store Prototype - Mobile.dc.html
   Breakpoint: max-width 767px
   Desktop rules above are untouched — overrides only apply inside this query.
   ========================================================================== */

@media (max-width: 767px) {

  /* ---- Shell / frame ---- */
  .store-shell {
    width: 100%;
    max-width: 100%;
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
  }

  /* ---- Header (sticky blur bar) ---- */
  .site-header {
    position: sticky;
    top: 0;
    z-index: 11;
    height: 56px;
    padding: 0 18px;
    background: rgba(246, 246, 240, 0.94);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid #e4e2da;
  }

  .menu-btn {
    display: flex;
    flex: 0 0 auto;
  }

  .brand-btn {
    gap: 9px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  .brand-logo {
    height: 21px;
  }

  .brand-store-label {
    font-size: 12px;
  }

  .header-nav {
    gap: 6px;
    margin-left: auto;
  }

  .header-nav-links {
    display: none;
  }

  .cart-icon {
    width: 21px;
    height: 21px;
  }

  /* ---- Store list ---- */
  .store-list {
    padding: 20px 18px 40px;
  }

  .breadcrumb {
    font-size: 12px;
    margin-bottom: 14px;
  }

  .page-title {
    margin: 6px 0 0;
    font-size: 20px;
    line-height: 1.15;
    text-wrap: pretty;
  }

  .page-blurb {
    margin: 12px 0 0;
    font-size: 12px;
    line-height: 1.5;
    max-width: none;
  }

  .filter-row {
    margin: 22px -18px 0;
    padding: 0 18px;
    gap: 9px;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .filter-label {
    font-size: 11px;
    flex: 0 0 auto;
  }

  .subfilter-row {
    margin: 12px -18px 0;
    padding: 0 18px;
    gap: 8px;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .subfilter-label {
    font-size: 11px;
    flex: 0 0 auto;
  }

  .filter-row button {
    padding: 9px 15px;
    font-size: 12px;
  }

  .subfilter-row button {
    padding: 7px 12px;
    font-size: 11px;
  }

  .cart-badge {
    min-width: 20px;
    height: 20px;
    font-size: 11px;
    padding: 0 5px;
  }

  .empty-state {
    padding: 34px 0 10px;
    font-size: 12px;
    line-height: 1.55;
  }

  .product-grid {
    margin-top: 22px;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .product-grid.is-one-up {
    grid-template-columns: 1fr;
  }

  .product-card {
    transition: border-color .18s, box-shadow .18s;
  }

  .product-card:hover {
    background: #fff;
    box-shadow: none;
  }

  .product-card:active {
    border-color: #b8b3a4;
    box-shadow: 0 6px 18px rgba(30, 28, 22, 0.12);
  }

  .product-card-media {
    height: 150px;
  }

  .clearance-tag {
    top: 9px;
    left: 9px;
    font-size: 9.5px;
    letter-spacing: 0.05em;
    padding: 4px 8px;
  }

  .product-card-body {
    padding: 13px 14px 15px;
  }

  .product-card-row {
    gap: 8px;
  }

  .product-card-name {
    font-size: 16px;
  }

  .product-card-price {
    font-size: 16px;
  }

  .product-card-price:empty {
    display: none;
  }

  .product-card-row > .product-card-price:last-child {
    font-size: 15px;
  }

  .price-was {
    margin-right: 5px;
    font-size: 13px;
  }

  .product-card-meta {
    margin-top: 5px;
    font-size: 12px;
    line-height: 1.35;
  }

  .ship-row {
    margin-top: 10px;
    gap: 6px;
    font-size: 11.5px;
  }

  .ship-dot {
    width: 6px;
    height: 6px;
    flex: 0 0 auto;
  }

  /* ---- Product page ---- */
  /* v2 redesign: all mobile product-page rules are consolidated in the
     "PRODUCT PAGE — MOBILE (v2 redesign)" block near the end of this file
     (it must cascade after the desktop product-page rules). */

  /* ---- Cart ---- */
  .cart-page {
    padding: 18px 18px 40px;
    min-height: 520px;
  }

  .cart-breadcrumb {
    font-size: 12px;
  }

  .cart-page .page-title {
    margin: 16px 0 0;
    font-size: 20px;
  }

  .cart-empty {
    margin-top: 20px;
    gap: 18px;
  }

  .cart-empty-text {
    font-size: 12px;
    line-height: 1.5;
    max-width: none;
  }

  .btn-primary {
    height: 48px;
    padding: 0 26px;
    font-size: 15.5px;
  }

  .cart-layout {
    margin-top: 20px;
    flex-direction: column;
    gap: 0;
  }

  .cart-lines {
    border-top: 1px solid #e4e2da;
  }

  .cart-line {
    gap: 14px;
    padding: 18px 0;
  }

  .cart-thumb {
    width: 88px;
    height: 88px;
  }

  .cart-line-info {
    gap: 5px;
  }

  .cart-line-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
  }

  .cart-line-name {
    font-size: 16px;
  }

  .cart-line-sub--desktop,
  .cart-line-total-wrap {
    display: none;
  }

  .cart-line-total--mobile {
    display: inline;
    font-size: 17px;
    font-weight: 700;
    white-space: nowrap;
  }

  .cart-line-sub--mobile {
    display: block;
    font-size: 12px;
    font-style: italic;
    color: #8f8f87;
  }

  .cart-line-config {
    font-size: 12px;
    line-height: 1.4;
  }

  .cart-ship-row {
    font-size: 11.5px;
    gap: 6px;
  }

  .cart-line-actions {
    margin-top: 8px;
    gap: 16px;
  }

  .qty-box {
    width: 108px;
    height: 44px;
  }

  .qty-btn {
    font-size: 19px;
  }

  .cart-line .qty-val {
    font-size: 12px;
  }

  .link-btn {
    font-size: 12px;
  }

  .cart-line-unit--mobile {
    display: block;
    margin-top: 2px;
    font-size: 12px;
    color: #8f8f87;
  }

  .cart-keep-row {
    margin-top: 18px;
  }

  .keep-shopping {
    font-size: 14.5px;
  }

  .order-summary {
    width: 100%;
    /* margin-top: 24px; */
    padding: 20px;
    position: static;
  }

  .order-summary > .filter-label {
    font-size: 11.5px;
  }

  .order-summary-rows {
    margin-top: 16px;
  }

  .order-summary .spec-row {
    gap: 16px;
    padding: 10px 0;
  }

  .summary-key,
  .summary-val {
    font-size: 12px;
  }

  .order-total-row {
    margin-top: 16px;
    gap: 16px;
  }

  .order-total-label {
    font-size: 16px;
  }

  .order-total-value {
    font-size: 24px;
  }

  .order-summary .meta-note {
    margin-top: 4px;
    font-size: 12px;
  }

  /* Checkout moves to sticky bar on mobile */
  .order-summary .btn-checkout {
    display: none;
  }

  /* ---- Footer + sticky bars ---- */
  .sticky-footer {
    position: static;
    box-shadow: none;
  }

  .site-footer {
    height: auto;
    padding: 18px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    font-size: 12.5px;
  }

  .footer-links {
    order: -1;
    gap: 10px;
    flex-wrap: wrap;
  }

  .order-bar {
    position: sticky;
    bottom: 0;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 11px;
    padding: 12px 18px 16px;
    box-shadow: 0 -6px 22px rgba(30, 28, 22, 0.10);
  }

  .order-bar-top {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
  }

  .order-bar-actions {
    display: flex;
    align-items: center;
    gap: 9px;
  }

  .order-bar-info {
    flex: 1;
    min-width: 0;
  }

  .order-bar-title-row {
    flex-wrap: wrap;
    gap: 6px;
  }

  .order-bar-name {
    font-size: 16px;
  }

  .order-bar-sub {
    font-size: 12px;
    font-weight: 400;
  }

  .order-bar-spec {
    margin-top: 2px;
    font-size: 11.5px;
    line-height: 1.35;
  }

  .order-bar-price-col {
    flex: 0 0 auto;
  }

  .order-bar-price {
    font-size: 17px;
  }

  .order-bar-unit {
    margin-top: 0;
    font-size: 10.5px;
  }

  .order-bar-qty {
    width: 100px;
    height: 48px;
    flex: 0 0 auto;
  }

  .order-bar-actions .qty-val {
    font-size: 14.5px;
  }

  .order-bar-cta {
    flex: 1;
  }

  .btn-order-now {
    flex: 1;
    height: 48px;
    padding: 0;
    font-size: 15px;
  }

  /* Product page — v2 redesign: mobile product-page rules are consolidated
     in the "PRODUCT PAGE — MOBILE (v2 redesign)" block near the end of this
     file. Generic .order-bar rules above still serve the cart page. */

  /* ---- Checkout bar (cart, mobile only) ---- */
  .checkout-bar {
    display: flex;
    position: sticky;
    bottom: 0;
    z-index: 10;
    background: #fff;
    border-top: 1px solid #ddd9cf;
    box-shadow: 0 -6px 22px rgba(30, 28, 22, 0.10);
    padding: 12px 18px 16px;
    align-items: center;
    gap: 14px;
  }

  .checkout-bar-total {
    flex: 0 0 auto;
  }

  .checkout-bar-label {
    font-size: 11px;
    letter-spacing: 0.12em;
    color: #9a9a92;
    font-weight: 600;
  }

  .checkout-bar-value {
    font-size: 20px;
    font-weight: 700;
  }

  .checkout-bar-btn {
    flex: 1;
    height: 50px;
    font-size: 15.5px;
    font-weight: 700;
    border: none;
    border-radius: 4px;
    background: #1a1a1a;
    color: #fff;
    cursor: pointer;
    font-family: inherit;
  }

  /* ---- Toast ---- */
  .toast {
    bottom: 150px;
    padding: 12px 20px;
    font-size: 12px;
    white-space: nowrap;
    max-width: min(330px, calc(100vw - 36px));
    text-align: center;
  }

  .store-toast-enter,
  .store-toast-leave-to {
    transform: translateX(-50%) translateY(12px);
  }

  /* ---- Menu drawer ---- */
  body.store-menu-open {
    overflow: hidden;
  }

  .menu-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 45;
  }

  .menu-overlay.is-open {
    display: block;
  }

  .menu-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(26, 26, 22, 0.42);
  }

  .menu-drawer {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(340px, 92vw);
    background: #f6f6f0;
    padding: 26px 22px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    box-shadow: 14px 0 40px rgba(0, 0, 0, 0.24);
    transform: translateX(-100%);
    transition: transform 0.22s ease-out;
    box-sizing: border-box;
  }

  .menu-overlay.is-open .menu-drawer {
    transform: translateX(0);
  }

  .menu-drawer-link {
    font-size: 16px;
  }

  .menu-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
  }

  .menu-drawer-brand {
    display: flex;
    align-items: center;
    gap: 9px;
  }

  .menu-drawer-store {
    font-weight: 500;
    color: #8f8f87;
    letter-spacing: 0.14em;
    font-size: 11.5px;
  }

  .menu-drawer-close {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-size: 24px;
    line-height: 1;
    color: #8f8f87;
    font-family: inherit;
  }

  .menu-drawer-foot {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 22px;
    border-top: 1px solid #e4e2da;
  }

  .menu-drawer-range {
    font-size: 12px;
    line-height: 1.5;
    color: #6f6f68;
  }

  .menu-drawer-fitout {
    font-size: 12px;
    font-weight: 700;
  }

  /* ---- Policy bottom sheet ---- */
  .policy-overlay {
    align-items: flex-end;
    padding: 0;
    position: fixed;
  }

  .policy-modal {
    width: 100% !important;
    max-width: 100%;
    max-height: 88%;
    border-radius: 18px 18px 0 0;
    padding: 12px 20px 30px;
    box-shadow: 0 -14px 40px rgba(0, 0, 0, 0.26);
    animation: ksheet .22s ease-out;
  }

  .policy-sheet-handle {
    display: flex;
    justify-content: center;
    padding-bottom: 12px;
  }

  .policy-sheet-grip {
    width: 44px;
    height: 4px;
    border-radius: 999px;
    background: #d3cec0;
    display: block;
  }

  .policy-header {
    gap: 14px;
  }

  .policy-title {
    font-size: 20px;
    text-wrap: pretty;
  }

  .policy-close {
    font-size: 24px;
  }

  .policy-modal .order-summary-rows {
    margin-top: 18px;
  }

  .policy-row {
    gap: 18px;
    padding: 11px 0;
  }

  .policy-row .spec-key,
  .policy-row-val {
    font-size: 12px;
  }

  .policy-note {
    margin: 16px 0 0;
    font-size: 12px;
  }

  .policy-clauses {
    margin: 18px 0 0;
    padding-left: 20px;
    gap: 13px;
    font-size: 12px;
    line-height: 1.6;
  }

  .policy-clause {
    padding-left: 2px;
  }

  .policy-sections {
    margin-top: 18px;
    gap: 26px;
  }

  .policy-section {
    gap: 11px;
  }

  .policy-section-heading {
    font-size: 16px;
  }

  .policy-lead,
  .policy-para {
    font-size: 12px;
    line-height: 1.6;
  }

  .policy-bullets {
    padding-left: 20px;
    gap: 7px;
    font-size: 12px;
    line-height: 1.6;
  }

  .policy-section-note {
    font-size: 12px;
    line-height: 1.55;
  }

  /* ---- Checkout page (mobile) ---- */
  #th-store-checkout .checkout-page {
    padding: 16px 18px 30px;
    min-height: 520px;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    overflow-x: hidden;
  }

  #th-store-checkout .checkout-steps {
    gap: 7px;
    font-size: 10.5px;
    letter-spacing: 0.1em;
    flex-wrap: nowrap;
  }

  #th-store-checkout .checkout-step-link {
    text-underline-offset: 3px;
  }

  #th-store-checkout .checkout-step-current--full,
  #th-store-checkout .checkout-step-future--full,
  #th-store-checkout .checkout-subtitle--full,
  #th-store-checkout .payment-secure-text--full,
  #th-store-checkout .summary-title--top {
    display: none;
  }

  #th-store-checkout .checkout-step-current--short,
  #th-store-checkout .checkout-step-future--short,
  #th-store-checkout .checkout-subtitle--short,
  #th-store-checkout .payment-secure-text--short,
  #th-store-checkout .summary-title--totals {
    display: inline;
  }

  #th-store-checkout .checkout-subtitle--short {
    display: block;
    margin: 8px 0 0;
    font-size: 12px;
    line-height: 1.5;
    max-width: none;
    margin-bottom: 16px;
  }

  #th-store-checkout .checkout-title {
    margin: 14px 0 0;
    font-size: 20px;
  }

  #th-store-checkout .checkout-error {
    padding: 12px 14px;
    font-size: 12px;
    line-height: 1.5;
  }

  #th-store-checkout .checkout-layout {
    margin-top: 0;
    gap: 16px;
    align-items: stretch;
    width: 100%;
    min-width: 0;
  }

  #th-store-checkout .checkout-items-card,
  #th-store-checkout .checkout-forms,
  #th-store-checkout .checkout-page .order-summary {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  #th-store-checkout .checkout-forms {
    gap: 16px;
  }

  #th-store-checkout .checkout-items-card {
    display: block;
    padding: 18px 18px 14px;
  }

  #th-store-checkout .checkout-items-lines {
    width: 100%;
    min-width: 0;
  }

  #th-store-checkout .checkout-items-lines .summary-line {
    width: 100%;
    min-width: 0;
  }

  #th-store-checkout .checkout-items-lines .summary-line-details {
    min-width: 0;
    overflow: hidden;
  }

  #th-store-checkout .checkout-items-lines .summary-line-name {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  #th-store-checkout .checkout-items-empty {
    padding: 16px 0 4px;
    font-size: 12px;
    color: #8f8f87;
  }

  #th-store-checkout .checkout-page .form-card {
    padding: 18px;
  }

  #th-store-checkout .form-section-title {
    font-size: 11.5px;
  }

  #th-store-checkout .form-grid {
    margin-top: 14px;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  #th-store-checkout .form-card--contact .form-grid,
  #th-store-checkout .form-card--payment .form-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  #th-store-checkout .form-label {
    gap: 6px;
    font-size: 11.5px;
  }

  #th-store-checkout .form-label--full {
    grid-column: span 1;
  }

  #th-store-checkout .form-input,
  #th-store-checkout .form-select {
    padding: 0 13px;
    font-size: 14px;
  }

  #th-store-checkout .form-select {
    padding: 0 9px;
  }

  #th-store-checkout .form-hint--contact {
    display: none;
  }

  #th-store-checkout .form-hint--delivery {
    margin-top: 11px;
    font-size: 11.5px;
    line-height: 1.5;
  }

  #th-store-checkout .form-grid--address-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  #th-store-checkout .state-postcode-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  #th-store-checkout .payment-expiry-grid {
    grid-column: span 1;
    gap: 12px;
  }

  #th-store-checkout .delivery-box {
    margin-top: 14px;
    padding: 14px;
    gap: 11px;
  }

  #th-store-checkout .delivery-box-label {
    font-size: 14px;
  }

  #th-store-checkout .delivery-box-note {
    margin-top: 3px;
    font-size: 11.5px;
    line-height: 1.5;
  }

  #th-store-checkout .delivery-box-cost {
    font-size: 14px;
  }

  #th-store-checkout .payment-secure {
    margin-top: 14px;
    gap: 8px;
    font-size: 11.5px;
  }

  #th-store-checkout .payment-secure-icon {
    width: 13px;
    height: 13px;
  }

  #th-store-checkout .checkout-page .order-summary {
    padding: 18px;
    width: 100%;
    max-width: 100%;
    flex: 1 1 auto;
  }

  #th-store-checkout .summary-totals-block {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  #th-store-checkout .summary-lines,
  #th-store-checkout .summary-empty {
    display: none !important;
  }

  #th-store-checkout .summary-totals-block .summary-title--totals {
    display: block;
    margin-bottom: 0;
  }

  #th-store-checkout .summary-totals {
    margin-top: 14px;
  }

  #th-store-checkout .summary-row {
    gap: 16px;
    padding: 9px 0;
  }

  #th-store-checkout .summary-row-label,
  #th-store-checkout .summary-row-value {
    font-size: 12px;
  }

  #th-store-checkout .summary-grand {
    margin-top: 16px;
    gap: 16px;
  }

  #th-store-checkout .summary-grand-label {
    font-size: 16px;
  }

  #th-store-checkout .summary-grand-total {
    font-size: 24px;
  }

  #th-store-checkout .btn-pay {
    display: none;
  }

  /* Footer scrolls above fixed checkout bar (prototype mobile) */
  .store-shell:has(#th-store-checkout) {
    padding-bottom: 78px;
  }

  .store-shell:has(#th-store-checkout) .sticky-footer {
    position: static;
    box-shadow: none;
  }

  .store-shell:has(#th-store-checkout) .checkout-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10;
  }

  #th-store-checkout .checkout-items-lines .summary-line {
    gap: 12px;
    padding: 16px 0;
  }

  #th-store-checkout .checkout-items-lines .summary-line-image-wrap {
    width: 72px;
    height: 72px;
  }

  #th-store-checkout .checkout-items-lines .summary-line-image {
    height: 72px;
  }

  #th-store-checkout .checkout-items-lines .summary-line-config {
    font-size: 11.5px;
    color: #6f6f68;
    line-height: 1.4;
  }

  #th-store-checkout .checkout-items-lines .summary-line-actions .summary-qty {
    width: 100px;
    height: 40px;
  }

  #th-store-checkout .checkout-items-lines .summary-line-actions .summary-qty-btn {
    font-size: 18px;
  }

  #th-store-checkout .checkout-items-lines .summary-line-actions .summary-qty-value {
    font-size: 12px;
  }

  #th-store-checkout .checkout-items-lines .summary-remove {
    font-size: 11.5px;
  }

  #th-store-checkout .checkout-items-lines .summary-line-addons {
    gap: 8px;
    margin-top: 8px;
    min-width: 0;
  }

  #th-store-checkout .checkout-items-lines .summary-line-addons-row {
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-areas:
      "name name name"
      "qty price remove";
    align-items: center;
    gap: 8px 10px;
    min-height: 0;
    padding: 10px 12px;
  }

  #th-store-checkout .checkout-items-lines .summary-line-addons-name {
    grid-area: name;
    min-width: 0;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    color: #1a1a1a;
  }

  #th-store-checkout .checkout-items-lines .summary-qty.summary-line-addons-qty {
    grid-area: qty;
    width: 86px;
    height: 32px;
  }

  #th-store-checkout .checkout-items-lines .summary-line-addons-qty .summary-qty-btn {
    font-size: 16px;
  }

  #th-store-checkout .checkout-items-lines .summary-line-addons-qty .summary-qty-value {
    font-size: 12px;
  }

  #th-store-checkout .checkout-items-lines .summary-line-addons-price {
    grid-area: price;
    justify-self: end;
    font-size: 13px;
  }

  #th-store-checkout .checkout-items-lines .summary-line-addons-row .summary-remove {
    grid-area: remove;
  }

  /* ---- Checkout confirmation page (mobile) ---- */
  #th-store-checkout-confirmation .confirm-page {
    padding: 16px 18px 40px;
    min-height: 520px;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: hidden;
  }

  #th-store-checkout-confirmation .confirm-steps {
    display: none;
  }

  #th-store-checkout-confirmation .confirm-layout {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-top: 0;
    width: 100%;
    min-width: 0;
  }

  #th-store-checkout-confirmation .confirm-main {
    display: contents;
  }

  #th-store-checkout-confirmation .confirm-intro {
    order: 1;
  }

  #th-store-checkout-confirmation .info-cards {
    order: 2;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  #th-store-checkout-confirmation .confirm-summary {
    order: 3;
    margin-top: 20px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 18px;
    box-sizing: border-box;
  }

  #th-store-checkout-confirmation .next-steps-card {
    order: 4;
    margin-top: 20px;
    padding: 18px;
  }

  #th-store-checkout-confirmation .confirm-actions {
    order: 5;
    margin-top: 22px;
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    align-self: stretch;
  }

  #th-store-checkout-confirmation .payment-badge {
    gap: 8px;
    padding: 7px 13px;
    font-size: 11.5px;
  }

  #th-store-checkout-confirmation .payment-badge-dot {
    width: 7px;
    height: 7px;
  }

  #th-store-checkout-confirmation .confirm-title {
    margin: 16px 0 0;
    font-size: 20px;
    line-height: 1.25;
  }

  #th-store-checkout-confirmation .confirm-subtitle--full {
    display: none;
  }

  #th-store-checkout-confirmation .confirm-subtitle--short {
    display: block;
    margin: 10px 0 0;
    font-size: 12px;
    line-height: 1.55;
    max-width: none;
  }

  #th-store-checkout-confirmation .info-card {
    padding: 16px 18px;
  }

  #th-store-checkout-confirmation .info-card-label {
    font-size: 11px;
  }

  #th-store-checkout-confirmation .info-card--order {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 14px;
  }

  #th-store-checkout-confirmation .info-card--order .info-card-value {
    margin-top: 7px;
    font-size: 17px;
  }

  #th-store-checkout-confirmation .info-card-meta--date {
    margin-top: 0;
    flex: 0 0 auto;
    white-space: nowrap;
    font-size: 11.5px;
    color: #8f8f87;
  }

  #th-store-checkout-confirmation .info-card--delivery .info-card-value {
    margin-top: 7px;
    font-size: 14px;
    line-height: 1.4;
  }

  #th-store-checkout-confirmation .info-card--delivery .info-card-meta--address {
    margin-top: 3px;
    font-size: 11.5px;
    line-height: 1.5;
  }

  #th-store-checkout-confirmation .info-card-method-inline {
    display: block;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #eeece4;
  }

  #th-store-checkout-confirmation .info-card-method-inline .info-card-value {
    margin-top: 0;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
  }

  #th-store-checkout-confirmation .info-card-method-inline .info-card-meta--address {
    margin-top: 3px;
    font-size: 11.5px;
    line-height: 1.5;
  }

  #th-store-checkout-confirmation .info-card--method {
    display: none;
  }

  #th-store-checkout-confirmation .next-steps-title {
    font-size: 11.5px;
  }

  #th-store-checkout-confirmation .next-steps-list {
    margin-top: 14px;
    gap: 14px;
  }

  #th-store-checkout-confirmation .step-item {
    gap: 12px;
  }

  #th-store-checkout-confirmation .step-number {
    width: 22px;
    height: 22px;
    font-size: 11.5px;
  }

  #th-store-checkout-confirmation .step-title {
    font-size: 14px;
  }

  #th-store-checkout-confirmation .step-body {
    margin-top: 3px;
    font-size: 11.5px;
    line-height: 1.5;
  }

  #th-store-checkout-confirmation .step-body--full {
    display: none;
  }

  #th-store-checkout-confirmation .step-body--short {
    display: block;
  }

  #th-store-checkout-confirmation .confirm-change-link {
    display: none;
  }

  #th-store-checkout-confirmation .btn-keep-shopping {
    display: flex;
    width: 100%;
    max-width: 100%;
    height: 50px;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    font-size: 15.5px;
  }

  #th-store-checkout-confirmation .confirm-summary-title {
    font-size: 11.5px;
  }

  #th-store-checkout-confirmation .confirm-summary-lines {
    margin-top: 14px;
    gap: 14px;
  }

  #th-store-checkout-confirmation .confirm-line {
    gap: 12px;
  }

  #th-store-checkout-confirmation .confirm-line-image-wrap {
    width: 56px;
    height: 56px;
  }

  #th-store-checkout-confirmation .confirm-line-image {
    height: 56px;
  }

  #th-store-checkout-confirmation .confirm-line-name {
    font-size: 14px;
  }

  #th-store-checkout-confirmation .confirm-line-config,
  #th-store-checkout-confirmation .confirm-line-sku {
    margin-top: 2px;
    font-size: 11px;
    line-height: 1.4;
  }

  #th-store-checkout-confirmation .confirm-line-qty {
    margin-top: 3px;
    font-size: 11px;
  }

  #th-store-checkout-confirmation .confirm-line-total {
    font-size: 14px;
  }

  #th-store-checkout-confirmation .confirm-summary-totals {
    margin-top: 16px;
    padding-top: 4px;
  }

  #th-store-checkout-confirmation .confirm-summary-row {
    gap: 16px;
    padding: 9px 0;
  }

  #th-store-checkout-confirmation .confirm-summary-row-label,
  #th-store-checkout-confirmation .confirm-summary-row-value {
    font-size: 12px;
  }

  #th-store-checkout-confirmation .confirm-summary-ship-label--full {
    display: none;
  }

  #th-store-checkout-confirmation .confirm-summary-ship-label--short {
    display: inline;
  }

  #th-store-checkout-confirmation .confirm-total-paid {
    margin-top: 16px;
    gap: 16px;
  }

  #th-store-checkout-confirmation .confirm-total-paid-label {
    font-size: 16px;
  }

  #th-store-checkout-confirmation .confirm-total-paid-amount {
    font-size: 24px;
  }

  #th-store-checkout-confirmation .confirm-gst-note {
    margin-top: 6px;
    font-size: 11.5px;
  }
}

/* Cart drawer */
@keyframes kslide {
  from { transform: translateX(24px); opacity: 0.4; }
  to { transform: translateX(0); opacity: 1; }
}

.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 40;
  justify-content: flex-end;
  display: none;
}

.cart-drawer.is-open {
  display: flex;
}

.cart-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 26, 26, 0.34);
  animation: kfade 0.2s;
}

.cart-drawer-panel {
  position: relative;
  width: 440px;
  max-width: 92vw;
  height: 100%;
  background: #f6f6f0;
  border-left: 1px solid #ddd9cf;
  box-shadow: -14px 0 40px rgba(30, 28, 22, 0.18);
  display: flex;
  flex-direction: column;
  animation: kslide 0.24s ease-out;
}

.cart-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 26px;
  border-bottom: 1px solid #e4e2da;
}

.cart-drawer-title {
  font-size: 13px;
  letter-spacing: 0.14em;
  color: #9a9a92;
  font-weight: 600;
}

.cart-drawer-close {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: 22px;
  line-height: 1;
  color: #6f6f68;
}

.cart-drawer-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding: 32px 26px;
}

.cart-drawer-empty-text {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: #7a7a73;
}

.cart-drawer-browse {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 0 26px;
  font-size: 15px;
  font-weight: 700;
  border: none;
  border-radius: 4px;
  background: #1a1a1a;
  color: #fff;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
}

.cart-drawer-browse:hover {
  color: #fff;
  text-decoration: none;
  opacity: 0.9;
}

.cart-drawer-filled {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.cart-drawer-lines {
  flex: 1;
  overflow-y: auto;
  padding: 8px 26px 20px;
}

.cart-drawer-line {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr) auto;
  column-gap: 16px;
  row-gap: 10px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid #e4e2da;
}

.cart-drawer-line-image-wrap {
  width: 84px;
  height: 84px;
  flex: 0 0 auto;
  background: #fff;
  border: 1px solid #e4e2da;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-drawer-line-image {
  width: 78%;
  height: 68px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.cart-drawer-line-details {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.cart-drawer-line-name-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.cart-drawer-line-name {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a1a;
}

.cart-drawer-line-sub {
  font-size: 13px;
  font-style: italic;
  color: #8f8f87;
}

.cart-drawer-line-config,
.cart-drawer-line-sku {
  font-size: 13px;
  color: #6f6f68;
  line-height: 1.45;
}

.cart-drawer-line-sku {
  margin-top: 2px;
}

.cart-drawer-line-addons,
.summary-line-addons {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 2px;
}

.cart-drawer-line-addons {
  grid-column: 2 / -1;
}

.cart-drawer-line-addons-label,
.summary-line-addons-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8f8f87;
}

.cart-drawer-addon-row,
.summary-line-addons-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 5px 8px;
  border: 1px solid #e4e2da;
  border-radius: 4px;
  background: #f7f6f1;
}

.cart-drawer-addon-name,
.summary-line-addons-name {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 13px;
  color: #4a4a44;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-drawer-addon-price,
.summary-line-addons-price {
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 700;
  color: #1a1a1a;
  white-space: nowrap;
}

.cart-drawer-qty.cart-drawer-addon-qty,
.summary-qty.summary-line-addons-qty {
  flex: 0 0 auto;
  width: 68px;
  height: 24px;
}

/* follows_qty add-ons: qty is locked to the parent line, no stepper */
.cart-drawer-addon-follows,
.summary-line-addons-follows {
  flex: 0 0 auto;
  min-width: 68px;
  font-size: 12px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: #6f6f68;
  text-align: center;
  white-space: nowrap;
}

.cart-drawer-addon-qty .cart-drawer-qty-btn,
.summary-line-addons-qty .summary-qty-btn {
  font-size: 13px;
  line-height: 1;
}

.cart-drawer-addon-qty .cart-drawer-qty-value,
.cart-drawer-addon-qty .cart-drawer-qty-input,
.summary-line-addons-qty .summary-qty-value {
  width: 20px;
  min-width: 20px;
  font-size: 12px;
}

.cart-drawer-addon-row .cart-drawer-remove,
.summary-line-addons-row .summary-remove {
  flex: 0 0 auto;
  font-size: 12px;
  height: auto;
}

.cart-drawer-line-actions {
  grid-column: 2 / -1;
  margin-top: 2px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.cart-drawer-qty {
  display: flex;
  align-items: center;
  border: 1px solid #d9d7cf;
  border-radius: 4px;
  width: 104px;
  height: 38px;
  background: #fff;
}

.cart-drawer-qty-btn {
  flex: 1;
  height: 100%;
  border: none;
  background: none;
  font-size: 18px;
  cursor: pointer;
  font-family: inherit;
  color: #1a1a1a;
}

.cart-drawer-qty-value {
  flex: 1;
  text-align: center;
  font-size: 14px;
}

.cart-drawer-remove {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  line-height: 1;
  color: #6f6f68;
  text-decoration: underline;
  text-underline-offset: 3px;
  display: inline-flex;
  align-items: center;
  height: 38px;
}

.cart-drawer-line-total {
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
  color: #1a1a1a;
}

.cart-drawer-footer {
  border-top: 1px solid #e4e2da;
  background: #fff;
  padding: 22px 26px 26px;
}

.cart-drawer-subtotal-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
}

.cart-drawer-subtotal-label {
  font-size: 15px;
  color: #9a9a92;
}

.cart-drawer-subtotal-amount {
  font-size: 24px;
  font-weight: 700;
  color: #1a1a1a;
}

.cart-drawer-gst {
  margin-top: 4px;
  font-size: 13px;
  color: #8f8f87;
}

.cart-drawer-checkout {
  margin-top: 18px;
  width: 100%;
  height: 52px;
  font-size: 16px;
  font-weight: 700;
  border: none;
  border-radius: 4px;
  background: #1a1a1a;
  color: #fff;
  cursor: pointer;
  font-family: inherit;
}

.cart-drawer-checkout:hover {
  opacity: 0.9;
}

/* ==========================================================================
   Store Checkout page
   (ported from checkout.css — checkout sections only)
   ========================================================================== */

.checkout-page {
  padding: 26px 56px 80px;
  min-height: 700px;
}

.checkout-steps {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: #b3aea0;
}

.checkout-step-link {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font: inherit;
  letter-spacing: 0.1em;
  color: #6f6f68;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.checkout-step-current {
  color: #1a1a1a;
}

.checkout-title {
  margin: 22px 0 0;
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.checkout-subtitle {
  margin: 14px 0 0;
  font-size: 17px;
  line-height: 1.55;
  color: #7a7a73;
  max-width: 560px;
  text-wrap: pretty;
}

.checkout-layout {
  margin-top: 32px;
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.checkout-forms {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.checkout-error {
  background: #fdeceb;
  border: 1px solid #f0bdb8;
  border-radius: 5px;
  padding: 14px 18px;
  font-size: 14px;
  color: #a3231b;
  font-weight: 500;
}

.checkout-error[hidden] {
  display: none !important;
}

.checkout-page .form-card {
  background: #fff;
  border: 1px solid #ddd9cf;
  border-radius: 6px;
  padding: 26px 28px 28px;
}

.form-section-title {
  font-size: 13px;
  letter-spacing: 0.14em;
  color: #9a9a92;
  font-weight: 600;
}

.form-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  color: #5c5a52;
}

.form-label--full {
  grid-column: span 2;
}

#th-store-checkout .checkout-addr-card {
  position: relative;
}

#th-store-checkout .address-suggestions {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 20;
  background: #fff;
  border: 1px solid #ddd9cf;
  border-radius: 6px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
  max-height: 220px;
  overflow-y: auto;
}

#th-store-checkout .address-suggestions.d-none,
#th-store-checkout .address-suggestions[hidden] {
  display: none;
}

#th-store-checkout .address-suggestions button {
  width: 100%;
  border: 0;
  background: #fff;
  text-align: left;
  padding: 10px 12px;
  line-height: 1.4;
  cursor: pointer;
  font: inherit;
  color: #1a1a1a;
}

#th-store-checkout .address-suggestions button:hover,
#th-store-checkout .address-suggestions button:focus {
  background: #f5f5f5;
  outline: none;
}

.form-optional {
  font-weight: 500;
  color: #a9a595;
}

.form-input,
.form-select {
  width: 100%;
  height: 46px;
  border: 1px solid #ddd9cf;
  border-radius: 4px;
  background: #fcfbf6;
  padding: 0 14px;
  font-size: 15px;
  font-family: inherit;
  color: #1a1a1a;
  box-sizing: border-box;
}

.form-select {
  padding: 0 10px;
  cursor: pointer;
}

.form-input--card {
  letter-spacing: 0.04em;
}

.form-hint {
  margin-top: 12px;
  font-size: 13px;
  color: #8f8f87;
}

.form-hint--delivery {
  margin-top: 14px;
}

.form-hint-link {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font: inherit;
  color: #6f6f68;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.state-postcode-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.delivery-box {
  margin-top: 18px;
  background: #fcfbf6;
  border: 1px solid #e4e2da;
  border-radius: 5px;
  padding: 18px 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.delivery-box .ship-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-top: 6px;
  flex: 0 0 auto;
}

.ship-dot--pending {
  background: #c9c4b5;
}

.ship-dot--metro {
  background: #2f8f4e;
}

.ship-dot--freight {
  background: #c98b2b;
}

.delivery-box-content {
  flex: 1;
  min-width: 0;
}

.delivery-box-label {
  font-size: 16px;
  font-weight: 700;
}

.delivery-box-note {
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.55;
  color: #7a7a73;
}

.delivery-box-cost {
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
}

.payment-secure {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  color: #8f8f87;
}

/* Checkout order summary (lines populated by checkout.html inline script) */
.checkout-page .order-summary {
  width: 400px;
  flex: 0 0 auto;
  background: #fff;
  border: 1px solid #ddd9cf;
  border-radius: 6px;
  padding: 28px;
  position: sticky;
  top: 24px;
  box-sizing: border-box;
}

.summary-title {
  font-size: 13px;
  letter-spacing: 0.14em;
  color: #9a9a92;
  font-weight: 600;
}

.summary-lines {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
}

.summary-empty {
  padding: 16px 0;
  font-size: 14px;
  color: #8f8f87;
}

.summary-empty[hidden] {
  display: none !important;
}

.summary-line {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid #eeece4;
}

.summary-line-image-wrap {
  width: 68px;
  height: 68px;
  flex: 0 0 auto;
  background: #fcfbf6;
  border: 1px solid #e4e2da;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.summary-line-image {
  width: 78%;
  height: 68px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.summary-line-details {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.summary-line-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.summary-line-name {
  font-size: 15px;
  font-weight: 700;
}

.summary-line-total {
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}

.summary-line-config,
.summary-line-sku {
  font-size: 12px;
  color: #8f8f87;
  line-height: 1.45;
}

.summary-line-sku {
  margin-top: 2px;
}

.summary-line-actions {
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.summary-qty {
  display: flex;
  align-items: center;
  border: 1px solid #d9d7cf;
  border-radius: 4px;
  width: 92px;
  height: 34px;
  background: #fff;
}

.summary-qty-btn {
  flex: 1;
  height: 100%;
  border: none;
  background: none;
  font-size: 17px;
  cursor: pointer;
  font-family: inherit;
}

.summary-qty-value {
  flex: 1;
  text-align: center;
  font-size: 13px;
}

.summary-remove {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: 12px;
  color: #6f6f68;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.summary-totals {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
}

.summary-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 11px 0;
  border-bottom: 1px dotted #d7d2c4;
}

.summary-row-label {
  font-size: 14px;
  color: #9a9a92;
}

.summary-row-value {
  font-size: 14px;
  font-weight: 700;
}

.summary-grand {
  margin-top: 20px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
}

.summary-grand-label {
  font-size: 17px;
  font-weight: 700;
}

.summary-grand-total {
  font-size: 28px;
  font-weight: 700;
}

.btn-pay {
  margin-top: 22px;
  width: 100%;
  height: 52px;
  font-size: 16px;
  font-weight: 700;
  border: none;
  border-radius: 4px;
  background: #1a1a1a;
  color: #fff;
  cursor: pointer;
  font-family: inherit;
}

.btn-pay:disabled,
.btn-pay.is-processing,
.checkout-bar-btn:disabled,
.checkout-bar-btn.is-processing {
  opacity: 0.72;
  cursor: not-allowed;
  pointer-events: none;
}

.summary-pay-note {
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.45;
  color: #8f8f87;
  text-align: center;
}

.summary-pay-note-metro,
.summary-pay-note-quote {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.summary-pay-note-metro[hidden],
.summary-pay-note-quote[hidden] {
  display: none;
}

.summary-pay-note-lock {
  flex: 0 0 auto;
  color: #8f8f87;
}

/* Full-page loader while checkout place-order is processing */
.store-checkout-pay-loader {
  position: fixed;
  inset: 0;
  z-index: 1060;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(17, 17, 17, 0.4);
  backdrop-filter: blur(2px);
}

.store-checkout-pay-loader[hidden] {
  display: none !important;
}

.store-checkout-pay-loader-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-width: 240px;
  max-width: 320px;
  padding: 28px 32px;
  background: #fff;
  border: 1px solid #ddd9cf;
  border-radius: 12px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.16);
  text-align: center;
}

.store-checkout-pay-spinner {
  width: 36px;
  height: 36px;
  margin-bottom: 4px;
  border-radius: 50%;
  border: 3px solid #e6e6e2;
  border-top-color: #1a1a1a;
  animation: storeCheckoutPaySpin 0.7s linear infinite;
}

@keyframes storeCheckoutPaySpin {
  to {
    transform: rotate(360deg);
  }
}

.store-checkout-pay-loader-title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #1a1a1a;
}

.store-checkout-pay-loader-text {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: #6f6f68;
}

html.store-checkout-paying,
html.store-checkout-paying body {
  overflow: hidden;
}

.checkout-items-card {
  display: none;
}

.checkout-step-current--short,
.checkout-step-future--short,
.checkout-subtitle--short,
.payment-secure-text--short,
.summary-title--totals {
  display: none;
}

.payment-expiry-grid {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.checkout-items-lines {
  display: flex;
  flex-direction: column;
}

.checkout-items-empty[hidden] {
  display: none !important;
}

.form-grid--address-row {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 991px) {
  .checkout-page {
    padding: 22px 24px 60px;
  }

  .checkout-layout {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    min-width: 0;
  }

  .checkout-page .order-summary {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    flex: 1 1 auto;
    position: static;
    box-sizing: border-box;
  }

  .checkout-forms,
  .checkout-items-card {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }
}

/* ==========================================================================
   iPAD — Checkout page
   Source: Krost Store Prototype - iPad.dc.html
   ========================================================================== */

@media (min-width: 768px) and (max-width: 991.98px) {
  .checkout-page {
    padding: 26px 30px 80px;
    box-sizing: border-box;
    overflow-x: hidden;
  }

  .checkout-title {
    margin: 22px 0 0;
    font-size: 34px;
  }

  .checkout-subtitle {
    margin: 14px 0 0;
    font-size: 17px;
    max-width: 560px;
  }

  .checkout-layout {
    margin-top: 32px;
    flex-direction: column;
    gap: 24px;
    align-items: stretch;
    width: 100%;
    min-width: 0;
  }

  .checkout-forms {
    gap: 22px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .checkout-page .form-card {
    padding: 26px 28px 28px;
    box-sizing: border-box;
  }

  .checkout-page .order-summary {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    flex: 1 1 auto;
    position: static;
    padding: 26px 28px;
    box-sizing: border-box;
  }

  .checkout-page .summary-lines,
  .checkout-page .summary-totals-block {
    width: 100%;
    min-width: 0;
  }

  .checkout-page .summary-line {
    width: 100%;
    min-width: 0;
  }

  .checkout-page .summary-line-details {
    min-width: 0;
    overflow: hidden;
  }

  .checkout-items-card {
    display: none;
  }

  .summary-title--top {
    display: block;
  }

  .summary-title--totals {
    display: none;
  }
}

@media (max-width: 575px) {
  .checkout-page .form-grid:not(.form-grid--address-row),
  .checkout-page .state-postcode-grid {
    grid-template-columns: 1fr;
  }

  .checkout-page .form-grid--address-row {
    grid-column: span 1;
  }

  .checkout-page .form-label--full {
    grid-column: span 1;
  }

  .checkout-steps {
    flex-wrap: wrap;
  }
}

/* ---- Store product page — v2 redesign (from "Alex Product Page" mockup) ---- */
/* Locked app frame: header + split hero/rail + order bar fill the viewport;  */
/* the page itself never scrolls — only the options rail does.                */
/* Values preserved exactly from the approved mockup for pixel-identical      */
/* rendering. Desktop defaults here; tablet + mobile overrides in their       */
/* respective blocks.                                                         */

[data-rail]::-webkit-scrollbar {
  display: none;
}

/* Frame — shell becomes a 100vh column on the product page */
.store-shell:has(.store-product-page) {
  width: auto;
  /* Ticket 9 — no boxed shell here: the white hero bleeds to the viewport edge
     and the gutter (not a 1440 box) keeps content off the sides. */
  max-width: none;
  height: 100vh;
  min-height: 0;
  overflow: hidden;
  padding-bottom: 0;
}

.th-store-product-configurator {
  flex: 1;
  min-height: 0;
}

#th-store-product-configurator-app {
  height: 100%;
}

/* Hide shell footer on product page — footer links live inside the rail */
.store-shell:has(.store-product-page) > .sticky-footer {
  display: none;
}

.store-product-page {
  height: 100%;
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: #f6f6f0;
}

.store-product-page .product-main {
  flex: 1;
  min-height: 0;
  display: flex;
}

/* ---- Hero — white stage, product centred, view nav at the base ---- */

.store-product-page .product-hero {
  position: relative;
  flex: 1;
  min-width: 0;
  background: #fff;
  border-right: 1px solid #e4e2da;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.store-product-page .in-stock-badge {
  top: 26px;
  left: var(--gutter);
  border: 1px solid #e4e2da;
  letter-spacing: 0.1em;
  box-shadow: none;
  z-index: 2;
}

.store-product-page .in-stock-dot {
  background: #2e9e44;
  border-radius: 999px;
}

/* Fixed-size stage so unequal product photos don't shift layout.
   Ticket 1 — two stacked layers: the outgoing image holds at full opacity until
   the incoming one has loaded AND decoded, then the incoming fades in over it.
   There is no frame where neither layer is painted, so the hero is never blank
   and krost-logo.png is never an interstitial (it is the empty state only,
   ticket 5). pointer-events stay off here: the swipe is bound on .product-hero. */
.store-product-page .product-hero-media-stack {
  position: relative;
  width: 76%;
  /* Ticket 9 — cap the RENDER, not the page. Without this the chair keeps
     growing on a wide screen and ends up miles from the rail. */
  max-width: 900px;
  height: 80%;
  pointer-events: none;
  overflow: hidden;
  --hero-fade: 180ms;       /* view paging, unchanged */
  --hero-dissolve: 320ms;
  --hero-blur: 8px;         /* drop to 4px only if a phone drops frames */
}

/* Hero media is an img so the picture has alt text. The layer opacity still
   crossfades; the image fills the layer the way the old background did. */
.store-product-page .product-hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--hero-fade) ease-out;
  will-change: opacity, filter;
}

.store-product-page .product-hero-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  pointer-events: none;
}

.store-product-page .product-hero-media.is-visible {
  opacity: 1;
}

/* incoming layer on a variant change: eases into focus, no hard snap */
.store-product-page .product-hero-media.is-visible.is-dissolve {
  transition:
    opacity var(--hero-dissolve) cubic-bezier(.2, .7, .2, 1),
    filter  var(--hero-dissolve) cubic-bezier(.2, .7, .2, 1);
  filter: blur(0);
}

/* resting state of the hidden layer, so the incoming animates FROM soft.
   No transform: the chair stays exactly where it is. */
.store-product-page .product-hero-media.is-dissolve:not(.is-visible) {
  filter: blur(var(--hero-blur));
}

/* outgoing layer: holds, then softens and drops */
.store-product-page .product-hero-media.is-outgoing {
  opacity: 0;
  filter: blur(var(--hero-blur));
  transition:
    opacity var(--hero-dissolve) cubic-bezier(.55, 0, 1, .45),
    filter  var(--hero-dissolve) ease-in;
}

.store-product-page .product-hero.is-insitu .product-hero-media-stack {
  position: absolute;
  inset: 0;
  width: auto;
  height: auto;
}

.store-product-page .product-hero.is-insitu .product-hero-img,
.store-product-page .product-hero-media.is-insitu-layer .product-hero-img {
  object-fit: cover;
}

@media (prefers-reduced-motion: reduce) {
  .store-product-page .product-hero-media,
  .store-product-page .product-hero-media.is-visible,
  .store-product-page .product-hero-media.is-dissolve,
  .store-product-page .product-hero-media.is-outgoing {
    transition: none;
    filter: none;
  }
}

.store-product-page .product-image {
  max-width: 76%;
  max-height: 80%;
}

.store-product-page .product-hero.is-insitu .product-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
}

.store-product-page .view-nav {
  position: absolute;
  bottom: 22px;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  z-index: 2;
}

.store-product-page .view-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #d0cec4;
  transition: background 0.2s;
  box-shadow: none;
}

.store-product-page .view-dot.is-active {
  background: #1a1a1a;
}

.store-product-page .product-hero.is-insitu .view-dot {
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25);
}

.store-product-page .product-hero.is-insitu .view-dot.is-active {
  background: #fff;
}

/* Ticket 4 — the 768–1099 treatment now applies at every width: a plain
   #8f8f87 chevron disappeared against a white render. */
.store-product-page .hero-arrow {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: #fff;
  border: 1px solid #e0ddd3;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08);
  padding: 0;
  color: #1a1a1a;
  opacity: 1;
  transition: opacity 0.2s;
}

.store-product-page .hero-arrow:disabled {
  opacity: 0.35;
  cursor: default;
}

.store-product-page .hero-arrow:focus-visible,
.store-product-page .view-dot:focus-visible {
  outline: 2px solid #1a1a1a;
  outline-offset: 3px;
}

/* The hero owns the horizontal swipe; vertical panning still scrolls the page
   (it stays sticky on mobile). tabindex=0 is for keyboard paging/zoom, so the
   default focus ring would draw a black box around the photo on click. */
.store-product-page .product-hero {
  touch-action: pan-y;
  outline: none;
}

.store-product-page .product-hero:focus,
.store-product-page .product-hero:focus-visible {
  outline: none;
  box-shadow: none;
}

.store-product-page .product-hero.is-insitu .hero-arrow {
  color: #1a1a1a;
  filter: none;
}

/* ---- Ticket 9 — the shared left edge ----
   The header wordmark, the IN STOCK badge and the order bar name all resolve
   their left edge from --gutter, so they sit on one vertical line at every
   width. These are the remaining pieces: the desktop rail's inner gap, and the
   tablet card, whose badge deliberately sits inside the frame rather than on
   the page gutter. Category grid pages are untouched. */

@media (min-width: 1100px) {
  .store-product-page .product-rail {
    padding-left: 40px;
    padding-right: max(48px, calc(var(--gutter) - 8px));
  }
}

/* Tablet (768–1099) keeps its framed 540px card; its margin now reads --gutter
   so the card edge lines up with the wordmark, and the badge stays pinned 22px
   inside the frame rather than on the page gutter (14px on a phone). Both are
   set in the existing tablet and mobile blocks further down, which load after
   this one, so nothing here needs to repeat them. */

/* ---- Ticket 5 — empty state when the selected item has no render at all ----
   The old fallback stretched krost-logo.png to 76% of the hero at
   background-size: contain, which read as a broken page. A small mark plus a
   caption reads as "not shot yet". There is nothing to page through, so the
   pager is hidden. */

.store-product-page .product-hero-empty {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  pointer-events: none;
}

.store-product-page .product-hero-empty img {
  width: 56px;
  height: auto;
  opacity: 0.35;
}

.store-product-page .product-hero-empty span {
  font-size: 13px;
  letter-spacing: 0.02em;
  color: #9a9a92;
}

/* hide the pager when there is nothing to page through */
.store-product-page .product-hero.is-empty .view-nav {
  display: none;
}

/* ---- Ticket 8 — zoom view ----
   Not a hover lens: the renders are 1800px, and on a retina laptop the hero
   already uses ~1220 device pixels, so a 2x lens would upscale. This opens a
   full-viewport view instead, capped at one render pixel per device pixel, and
   the same component serves touch (pinch) and desktop (click + mouse pan). */

.store-product-page .product-hero {
  cursor: zoom-in;
}

.store-product-page .product-hero.is-empty {
  cursor: default;
}

.zoom-view {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: #fff;
  overflow: hidden;
  touch-action: none;
  cursor: zoom-in;
}

.zoom-view img {
  position: absolute;
  left: 0;
  top: 0;
  transform-origin: 0 0;
  will-change: transform;
  user-select: none;
  -webkit-user-drag: none;
}

.zoom-view .zoom-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #e0ddd3;
  background: #fff;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  z-index: 2;
}

.zoom-view .zoom-caption {
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 6px 10px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #e4e2da;
  font-size: 12px;
  color: #4a4a44;
  z-index: 2;
}

/* reuse the hero pager inside the view */
.zoom-view .view-nav {
  position: absolute;
  bottom: 16px;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  z-index: 2;
}

.zoom-view .view-dots {
  display: flex;
  align-items: center;
  gap: 10px;
}

.zoom-view .view-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: none;
  padding: 0;
  background: #d0cec4;
  cursor: pointer;
}

.zoom-view .view-dot.is-active {
  background: #1a1a1a;
}

.zoom-view .hero-arrow {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid #e0ddd3;
  background: #fff;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08);
  color: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}

.zoom-view .hero-arrow:disabled {
  opacity: 0.35;
  cursor: default;
}

@media (max-width: 767px) {
  .zoom-view .zoom-caption {
    display: none;
  }
}

/* ---- Rail — fixed-width scroll column (product-final.js gutters) ---- */

.store-product-page .product-rail {
  width: 520px;
  flex: 0 0 auto;
  height: auto;
  overflow-y: auto;
  padding: 22px 56px 40px 48px;
  box-sizing: content-box;
  scrollbar-width: none;
  display: flex;
  flex-direction: column;
}

.store-product-page .product-rail::-webkit-scrollbar {
  display: none;
}

.store-product-page .product-breadcrumb {
  padding: 0;
  margin-bottom: 20px;
  font-size: 13px;
  color: #6f6f68;
  gap: 9px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.store-product-page .product-breadcrumb--mobile {
  display: none;
}

.store-product-page .breadcrumb-link {
  color: #6f6f68;
  text-decoration: none;
}

.store-product-page .breadcrumb-link:hover {
  text-decoration: underline;
}

.store-product-page .product-breadcrumb .crumb-sep,
.store-product-page .product-breadcrumb > span:not(.breadcrumb-current) {
  color: #b3b1a7;
}

.store-product-page .breadcrumb-current {
  color: #1a1a1a;
}

.store-product-page .product-title {
  margin: 0;
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

/* Ticket 6 — the title (40/700) and price (30/700) stay the two bold anchors,
   so the tagline is semibold and darker, never bolder or larger than this. */
.store-product-page .product-tagline {
  margin: 8px 0 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  color: #3d3d38;
  text-wrap: pretty;
}

.store-product-page .product-price-row {
  margin-top: 20px;
  display: flex;
  align-items: baseline;
  gap: 14px;
}

.store-product-page .product-price {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.store-product-page .product-price-unit {
  font-size: 14px;
  color: #8f8f87;
}

.store-product-page .product-dispatch {
  margin-top: 8px;
  font-size: 13px;
  color: #6f6f68;
}

.store-product-page .product-warranty {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
}

.store-product-page .product-warranty .warranty-icon {
  flex: 0 0 auto;
}

.store-product-page .product-warranty-label {
  font-weight: 600;
  color: #4a4a44;
}

.store-product-page .product-sku {
  margin-top: 18px;
  font-size: 12px;
  color: #9a9a92;
}

/* ---- Option groups — product-final .pf-groups (vertical stack) ---- */

.store-product-page .option-groups {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.store-product-page .option-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  grid-column: auto;
}

/* product-final .pf-group-head — LABEL | value on one row */
.store-product-page .option-group-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
}

.store-product-page .option-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #9a9a92;
}

.store-product-page .option-group-pipe {
  font-size: 13px;
  color: #c9c7bd;
}

.store-product-page .option-group-name {
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
}

.store-product-page .option-group--dimension .option-group-head,
.store-product-page .option-group--thumbnail .option-group-head,
.store-product-page .option-group--swatch .option-group-head,
.store-product-page .option-group--button .option-group-head {
  flex-direction: row;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
}

/* product-final .pf-swatches */
.store-product-page .swatch-row {
  margin-top: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

/* swatch-rows group type (ticket 18, finish-rows-design.html) — one labelled row
   per option_family: 150px label column, 34px dots, 10px gaps. The dots reuse
   .swatch so is-active / is-unavailable / focus states are the store's own. */
.store-product-page .swatch-rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.store-product-page .finish-row {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.store-product-page .finish-row-label {
  font-size: 12px;
  line-height: 1.25;
  letter-spacing: 0.02em;
  color: #6f6f68;
}

.store-product-page .finish-row .dots {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

/* Three classes outrank the responsive two-class .swatch size overrides.
   border-color is pinned to the desktop value on every breakpoint: the phone
   rule's rgba(0,0,0,.12) is too faint for a white shell half on #f6f6f0, so a
   white/grey split dot read as a grey crescent. */
.store-product-page .swatch-rows .swatch {
  width: 34px;
  height: 34px;
  border-color: #c9c7bd;
}

/* Selected ring is the store's own `.swatch.is-active` (2px gap + 4px ink),
   identical to the flat swatch groups — deliberately no override here. */

/* 768–1099px pairs adjacent swatch groups into two columns; a labelled row
   needs the whole rail. Four classes outrank the :has() pairing rule. */
@media (min-width: 768px) and (max-width: 1099px) {
  .store-product-page .option-groups .option-group.option-group--swatch-rows {
    grid-column: 1 / -1;
  }
}

/* Phone: drop the label column, label sits above its dots in small caps. */
@media (max-width: 767px) {
  .store-product-page .finish-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .store-product-page .finish-row-label {
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #9a9a92;
  }
}

/* product-final.js swatch(): 44px circle + selected double ring */
.store-product-page .swatch {
  width: 44px;
  height: 44px;
  padding: 0;
  cursor: pointer;
  border: 1px solid #c9c7bd;
  border-radius: 999px;
  background-size: cover;
  background-position: center;
  box-sizing: border-box;
  flex: 0 0 auto;
  outline: none;
}

.store-product-page .swatch.is-active {
  box-shadow: 0 0 0 2px #f6f6f0, 0 0 0 4px #1a1a1a;
}

/* Ticket 3 — behaviour is unchanged (still disabled, still the same title).
   Only the look changes: 35% opacity left a pale tint of the real colour, so a
   pale unavailable option and a dark one read differently. A flat grey fill
   hides the colour entirely, and the red diagonal says "not this one". */
.store-product-page .swatch.is-unavailable:not(.is-active) {
  position: relative;
  overflow: hidden;
  opacity: 1;
  border-color: #dedcd4;
  cursor: pointer;
  box-shadow: none;
}

.store-product-page .swatch.is-unavailable:not(.is-active)::before,
.store-product-page .swatch.is-unavailable:not(.is-active)::after {
  content: "";
  position: absolute;
  inset: -2px;
}

/* flat grey, hides the swatch colour */
.store-product-page .swatch.is-unavailable:not(.is-active)::before {
  background: #e6e4dc;
}

/* the line, bottom left to top right */
.store-product-page .swatch.is-unavailable:not(.is-active)::after {
  background: linear-gradient(135deg,
    transparent calc(50% - 1.5px), #b3402f calc(50% - 1.5px),
    #b3402f calc(50% + 1.5px), transparent calc(50% + 1.5px));
}

.store-product-page .swatch.is-unavailable:disabled {
  opacity: 1;
}

.store-product-page .swatch:focus-visible {
  outline: 2px solid #1a1a1a;
  outline-offset: 3px;
}

.store-product-page .chip-row {
  margin-top: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

/* Button-group options (Chair Type, Arms) — a squared 4px tile, not a pill.
   The selected one is outlined, never filled: a solid black fill competed with
   the price and the Add to cart button for attention, and it also left no room
   for the unavailable treatment to read as a third state. */
.store-product-page .chip {
  height: 40px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  border-radius: 4px;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  background: #fff;
  color: #1a1a1a;
  border: 1px solid #c9c7bd;
  outline: none;
  white-space: nowrap;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.store-product-page .chip:hover:not(.is-active) {
  border-color: #a9a695;
}

.store-product-page .chip:focus-visible {
  outline: 2px solid #1a1a1a;
  outline-offset: 2px;
}

/* Doubled with an inset shadow rather than a 2px border, so the label does not
   shift by a pixel when the selection moves. */
.store-product-page .chip.is-active {
  background: #fff;
  color: #1a1a1a;
  border-color: #1a1a1a;
  box-shadow: inset 0 0 0 1px #1a1a1a;
}

.store-product-page .chip.is-unavailable:not(.is-active) {
  position: relative;
  opacity: 1;
  background: #e6e4dc;
  color: #9a9a92;
  border: 1px solid #dedcd4;
  cursor: pointer;
  text-decoration: none;
}

.store-product-page .chip.is-unavailable:not(.is-active)::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  top: 50%;
  height: 1.5px;
  background: #b3402f;
  transform: rotate(-8deg);
}

.store-product-page .chip.is-unavailable:disabled {
  opacity: 1;
}

.store-product-page .size-tile-grid {
  margin-top: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.store-product-page .delivery-note {
  margin-top: 24px;
  font-size: 14px;
  color: #6f6f68;
  text-wrap: pretty;
}

/* ---- Still deciding card ---- */

.store-product-page .still-card {
  margin-top: 28px;
  background: #eceae2;
  border-radius: 6px;
  padding: 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.store-product-page .still-title {
  font-size: 17px;
  font-weight: 700;
}

.store-product-page .still-body {
  font-size: 14px;
  line-height: 1.55;
  color: #6f6f68;
  text-wrap: pretty;
}

.store-product-page .still-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 8px;
}

.store-product-page .range-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  font-size: 13.5px;
  font-weight: 600;
  color: #1a1a1a;
  text-decoration: none;
  border-bottom: 1px solid #c9c7bd;
  padding-bottom: 2px;
}

.store-product-page .range-link:hover {
  text-decoration: none;
  border-color: #1a1a1a;
}

.store-product-page .still-link {
  font-size: 15px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  color: #1a1a1a;
}

/* ---- Accordions ---- */

.store-product-page .accordion-list {
  margin-top: 28px;
  border-bottom: none;
}

.store-product-page .accordion-item,
.store-product-page .accordion-end {
  border-top: 1px solid #e4e2da;
}

.store-product-page .accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  padding: 20px 0;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  font-family: inherit;
  color: #1a1a1a;
  text-align: left;
}

.store-product-page .accordion-body {
  margin: 0;
  padding: 0 0 22px;
}

.store-product-page .accordion-copy {
  font-size: 14px;
  line-height: 1.7;
  color: #5c5a52;
  white-space: pre-line;
  text-wrap: pretty;
}

.store-product-page .spec-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 9px 0;
  border-bottom: 1px solid #efede5;
  font-size: 14px;
}

.store-product-page .spec-key {
  color: #8f8f87;
  flex: 0 0 auto;
}

.store-product-page .spec-val {
  color: #1a1a1a;
  font-weight: 600;
  text-align: right;
}

/* ---- Rail footer links ---- */

.store-product-page .rail-footer-links {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #8f8f87;
}

.store-product-page .rail-footer-links .footer-link-btn,
.store-product-page .rail-footer-links .footer-link {
  font-size: 13px;
  color: #6f6f68;
  text-decoration: none;
}

.store-product-page .rail-footer-links .footer-link:hover {
  text-decoration: underline;
}

.store-product-page .rail-footer-links .footer-link-btn:hover {
  text-decoration: underline;
}

.store-product-page .rail-footer-links .footer-dot {
  color: #c4c2b8;
}

/* ---- Order bar — config summary left, actions right ---- */

.store-product-page .order-bar {
  flex: 0 0 auto;
  position: static;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  gap: 28px;
  padding: 18px var(--gutter);
  background: #fff;
  border-top: 1px solid #e4e2da;
  box-shadow: none;
  box-sizing: border-box;
}

.store-product-page .order-bar-info {
  flex: 0 1 auto;
  margin-right: auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.store-product-page .order-bar-name,
.store-product-page .order-bar-price {
  font-size: 18px;
  font-weight: 700;
}

.store-product-page .order-bar-sub {
  font-size: 14px;
  font-style: italic;
  color: #8f8f87;
}

.store-product-page .order-bar-spec {
  margin-top: 0;
  font-size: 13px;
  color: #8f8f87;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.store-product-page .order-bar-price-col {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  text-align: right;
}

.store-product-page .order-bar-unit {
  margin-top: 0;
  font-size: 12px;
  color: #8f8f87;
  white-space: nowrap;
}

.store-product-page .order-bar-qty {
  display: flex;
  align-items: center;
  border: 1px solid #d9d7cf;
  border-radius: 4px;
  width: 118px;
  height: 48px;
  background: #fff;
  flex: 0 0 auto;
}

.store-product-page .order-bar-qty .qty-btn {
  font-size: 18px;
}

.store-product-page .order-bar-qty .qty-val {
  font-size: 15px;
  font-weight: 600;
}

.store-product-page .btn-add-cart {
  height: 48px;
  padding: 0 26px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 4px;
  background: #fff;
  color: #1a1a1a;
  border: 1px solid #1a1a1a;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  line-height: 1.15;
  text-align: center;
}

.store-product-page .btn-add-cart.is-added {
  background: #fff;
  color: #2e9e44;
  border-color: #2e9e44;
}

.store-product-page .btn-order-now {
  height: 48px;
  padding: 0 30px;
  font-size: 15px;
  font-weight: 700;
  border: none;
  border-radius: 4px;
  background: #1a1a1a;
  color: #fff;
  transition: background 0.2s;
  line-height: 1.15;
  text-align: center;
}

/* Desktop/tablet: single-line labels; stacked labels only on phone */
.store-product-page .btn-label-stack {
  display: none;
}

.store-product-page .btn-label-full {
  display: inline;
}

.store-product-page .btn-add-cart.is-added .btn-label-stack {
  display: none;
}

.store-product-page .btn-add-cart.is-added .btn-label-full {
  display: inline;
}

/* ---- XL screens (≥1750px office displays) ---- */

@media (min-width: 1750px) {
  .store-product-page .product-rail {
    width: 560px;
    padding: 22px 64px 40px 48px;
  }

  .store-product-page .product-title {
    font-size: 44px;
  }

  .store-product-page .in-stock-badge {
    /* left comes from --gutter (ticket 9) */
  }

  .store-product-page .order-bar {
    padding-top: 18px;
    padding-bottom: 18px;
  }
}

/* ==========================================================================
   PRODUCT PAGE — TABLET / iPad / LAPTOP
   ≥1100 desktop side-by-side (untouched). 768–1099 is iPad.dc.html stacked
   product page. ≤767 mobile block below is untouched.
   ========================================================================== */

@media (min-width: 1100px) and (max-width: 1349px) {
  .store-product-page .in-stock-badge {
    /* left comes from --gutter (ticket 9) */
  }

  .store-product-page .product-rail {
    width: 450px;
    padding: 22px 40px 40px 36px;
  }

  .store-product-page .order-bar {
    padding-top: 18px;
    padding-bottom: 18px;
    gap: 24px;
  }
}

@media (min-width: 768px) and (max-width: 1099px) {
  /* ---- Frame: document scroll (iPad.dc.html), not the locked desktop 100vh ---- */
  .store-shell:has(.store-product-page) {
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 100vh;
    overflow: visible;
    overflow-x: clip;
    padding-bottom: 88px;
  }

  .store-shell:has(.store-product-page) .th-store-product-configurator,
  .store-shell:has(.store-product-page) #th-store-product-configurator-app {
    height: auto;
    min-height: 0;
    flex: none;
  }

  .store-product-page {
    height: auto;
    display: block;
  }

  .store-product-page .product-main {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }

  /* Breadcrumb above the hero — reuse the existing --mobile nav, iPad spacing */
  .store-product-page .product-breadcrumb--mobile {
    display: flex;
    padding: 26px 30px 8px;
    margin: 0;
    font-size: 14px;
    color: #9a9a92;
    gap: 6px;
    flex-wrap: nowrap;
  }

  .store-product-page .product-breadcrumb--rail {
    display: none;
  }

  .store-product-page .product-breadcrumb--mobile .breadcrumb-link,
  .store-product-page .product-breadcrumb--mobile .crumb-sep,
  .store-product-page .product-breadcrumb--mobile > span:not(.breadcrumb-current) {
    color: #9a9a92;
  }

  .store-product-page .product-breadcrumb--mobile .breadcrumb-link {
    text-decoration: underline;
    text-underline-offset: 3px;
  }

  .store-product-page .product-breadcrumb--mobile .breadcrumb-current {
    color: #1a1a1a;
  }

  /* 540px rounded stage */
  .store-product-page .product-hero {
    position: relative;
    top: auto;
    z-index: auto;
    flex: 0 0 auto;
    height: 540px;
    min-height: 540px;
    margin: 16px var(--gutter) 0;
    border: 1px solid #e4e2da;
    border-radius: 6px;
    background: #fff;
  }

  .store-product-page .in-stock-badge {
    top: 22px !important;
    left: 22px !important;
    gap: 8px;
    padding: 9px 16px;
    font-size: 13px;
    letter-spacing: 0.04em;
    border: none;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  }

  .store-product-page .in-stock-dot {
    width: 8px;
    height: 8px;
    background: #2f8f4e;
    border-radius: 50%;
  }

  .store-product-page .view-nav {
    bottom: 20px;
    gap: 18px;
  }

  .store-product-page .view-dots {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .store-product-page .view-dot {
    background: rgba(26, 26, 26, 0.22);
    box-shadow: none;
  }

  .store-product-page .view-dot.is-active {
    background: #1a1a1a;
  }

  .store-product-page .hero-arrow {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid #e0ddd3;
    background: #fff;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08);
    color: #1a1a1a;
    opacity: 1;
  }

  .store-product-page .hero-arrow:disabled {
    opacity: 0.35;
  }

  .store-product-page .product-hero.is-insitu .hero-arrow {
    color: #1a1a1a;
    filter: none;
  }

  .store-product-page .product-rail {
    position: relative;
    z-index: 5;
    width: auto;
    flex: none;
    height: auto;
    min-height: 0;
    overflow: visible;
    padding: 26px var(--gutter) 60px !important;
    box-sizing: border-box;
    background: #f6f6f0;
  }

  .store-product-page .product-title {
    font-size: 42px !important;
    line-height: 1;
    letter-spacing: -0.02em;
  }

  .store-product-page .product-tagline {
    margin: 14px 0 0;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    color: #3d3d38;
  }

  .store-product-page .product-price-row {
    margin-top: 28px;
    gap: 14px;
    flex-wrap: nowrap;
  }

  .store-product-page .product-price {
    font-size: 38px;
  }

  .store-product-page .product-price-unit {
    font-size: 15px;
    white-space: nowrap;
  }

  .store-product-page .product-dispatch {
    margin-top: 10px;
    font-size: 14px;
  }

  .store-product-page .product-warranty {
    margin-top: 16px;
    font-size: 15px;
    color: #6f6f68;
    gap: 8px;
  }

  .store-product-page .product-warranty .warranty-icon {
    width: 17px;
    height: 17px;
    stroke: #8f8f87;
  }

  .store-product-page .product-warranty-label {
    font-weight: 400;
    color: #6f6f68;
  }

  .store-product-page .option-groups {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 32px;
  }

  .store-product-page .option-group {
    grid-column: 1 / -1;
  }

  .store-product-page .option-group--swatch:has(+ .option-group--swatch),
  .store-product-page .option-group--swatch + .option-group--swatch {
    grid-column: span 1;
  }

  .store-product-page .option-group-head {
    gap: 10px;
  }

  .store-product-page .option-label {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.14em;
    white-space: nowrap;
  }

  .store-product-page .option-group-pipe {
    color: #d3cec0;
    font-weight: 400;
  }

  .store-product-page .option-group-name {
    font-size: 15px;
    font-weight: 700;
    white-space: normal;
  }

  .store-product-page .swatch-row {
    margin-top: 14px;
    gap: 14px;
    flex-wrap: wrap;
  }

  .store-product-page .swatch {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(0, 0, 0, 0.12);
  }

  .store-product-page .chip-row {
    margin-top: 14px;
    gap: 12px;
  }

  .store-product-page .chip {
    height: auto;
    padding: 11px 20px;
    font-size: 15px;
    font-weight: 500;
  }

  .store-product-page .size-tile-grid {
    margin-top: 16px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
  }

  .store-product-page .size-tile {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 92px;
    padding: 12px 6px 10px;
    text-align: center;
  }

  .store-product-page .size-tile-plate-wrap {
    width: 100%;
    height: 22px;
  }

  .store-product-page .size-tile-text {
    align-items: center;
    gap: 6px;
  }

  .store-product-page .size-tile-label {
    font-size: 12px;
  }

  .store-product-page .size-tile-delta {
    font-size: 11px;
  }

  .store-product-page .product-sku {
    margin-top: 22px;
    font-size: 13px;
  }

  .store-product-page .delivery-note {
    margin-top: 14px;
    font-size: 14px;
  }

  .store-product-page .accordion-list {
    order: 1;
    margin-top: 32px;
    border-bottom: 1px solid #e4e2da;
  }

  .store-product-page .accordion-trigger {
    padding: 22px 0;
    font-size: 17px;
  }

  .store-product-page .accordion-sign {
    font-size: 24px;
    font-weight: 400;
    color: #8f8f87;
  }

  .store-product-page .accordion-body {
    padding: 0 0 24px;
  }

  .store-product-page .accordion-copy {
    font-size: 14px;
    line-height: 1.55;
  }

  .store-product-page .spec-row {
    gap: 20px;
    padding: 11px 0;
    border-bottom: 1px dotted #d7d2c4;
    font-size: 14px;
  }

  .store-product-page .spec-key {
    font-size: 14px;
    color: #9a9a92;
    white-space: nowrap;
  }

  .store-product-page .spec-val {
    font-size: 14px;
    font-weight: 700;
  }

  .store-product-page .still-card {
    order: 2;
    margin-top: 24px;
    padding: 22px 24px;
    gap: 10px;
  }

  .store-product-page .still-title {
    font-size: 16px;
  }

  .store-product-page .still-body {
    font-size: 14px;
    line-height: 1.55;
  }

  .store-product-page .still-actions {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    margin-top: 6px;
  }

  .store-product-page .still-link {
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
  }

  .store-product-page .still-link:first-child {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 0 22px;
    border: 1px solid #1a1a1a;
    border-radius: 4px;
    background: #fff;
    color: #1a1a1a;
    text-decoration: none;
  }

  .store-product-page .still-link:first-child:hover {
    text-decoration: none;
  }

  .store-product-page .still-link:last-child {
    font-weight: 400;
    color: #6f6f68;
    text-decoration: underline;
    text-underline-offset: 3px;
  }

  .store-product-page .rail-footer-links {
    order: 3;
    margin-top: 24px;
    font-size: 13px;
  }

  /* Single-row bar — wrappers stay display:contents (desktop), pinned to the base */
  .store-product-page .order-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-end;
    padding: 14px var(--gutter) !important;
    gap: 16px !important;
    background: #fff;
    border-top: 1px solid #ddd9cf;
    box-shadow: 0 -6px 24px rgba(30, 28, 22, 0.10);
  }

  .store-product-page .order-bar-top,
  .store-product-page .order-bar-actions {
    display: contents;
  }

  .store-product-page .order-bar-info {
    flex: 1;
    margin-right: auto;
    min-width: 0;
  }

  .store-product-page .order-bar-sub,
  .store-product-page .order-bar-spec {
    display: block;
  }

  .store-product-page .order-bar-title-row {
    gap: 10px;
    flex-wrap: nowrap;
  }

  .store-product-page .order-bar-name,
  .store-product-page .order-bar-price {
    font-size: 19px;
    font-weight: 700;
    line-height: 1.15;
  }

  .store-product-page .order-bar-sub {
    font-size: 14px;
    font-style: italic;
    font-weight: 400;
  }

  .store-product-page .order-bar-spec {
    margin-top: 4px;
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .store-product-page .order-bar-price-col {
    flex: 0 0 auto;
    align-items: flex-end;
    text-align: right;
  }

  .store-product-page .order-bar-unit {
    margin-top: 3px;
    font-size: 12px;
  }

  .store-product-page .order-bar-qty {
    display: flex;
    width: 126px;
    height: 48px;
    flex: 0 0 auto;
  }

  .store-product-page .order-bar-qty .qty-btn {
    font-size: 20px;
  }

  .store-product-page .order-bar-qty .qty-val {
    font-size: 15px;
  }

  .store-product-page .btn-add-cart,
  .store-product-page .btn-add-cart.order-bar-cta,
  .store-product-page .btn-order-now {
    flex: 0 0 auto;
    width: auto;
    min-width: 0;
    height: 48px;
    font-weight: 700;
    white-space: nowrap;
  }

  .store-product-page .btn-add-cart,
  .store-product-page .btn-add-cart.order-bar-cta {
    padding: 0 26px;
    font-size: 16px;
  }

  .store-product-page .btn-order-now {
    padding: 0 34px;
    font-size: 16px;
  }

  .store-product-page .btn-label-full {
    display: inline;
  }

  .store-product-page .btn-label-stack {
    display: none;
  }

  .store-product-page .btn-add-cart.is-added {
    background: #2f8f4e;
    color: #fff;
    border-color: #2f8f4e;
  }
}

/* ==========================================================================
   PRODUCT PAGE — MOBILE (≤767)
   Source: Krost Store Prototype - Mobile.dc.html
   Document scroll, sticky 300px hero, two-row order bar fixed at the base.
   Desktop / tablet rules above are unchanged.
   ========================================================================== */

@media (max-width: 767px) {
  .store-shell:has(.store-product-page) {
    height: auto;
    min-height: 100vh;
    overflow: visible;
    overflow-x: clip;
    padding-bottom: 130px;
  }

  .store-shell:has(.store-product-page) .site-header {
    position: sticky;
    top: 0;
    z-index: 11;
  }

  .store-shell:has(.store-product-page) .th-store-product-configurator,
  .store-shell:has(.store-product-page) #th-store-product-configurator-app {
    height: auto;
    min-height: 0;
    flex: none;
  }

  .store-product-page {
    height: auto;
    display: block;
  }

  .store-product-page .product-main {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }

  .store-product-page .product-breadcrumb--mobile {
    display: flex;
    padding: 14px 18px 12px;
    margin: 0;
    font-size: 12px;
    color: #9a9a92;
    gap: 5px;
    flex-wrap: wrap;
  }

  .store-product-page .product-breadcrumb--rail {
    display: none;
  }

  .store-product-page .product-breadcrumb--mobile .breadcrumb-link,
  .store-product-page .product-breadcrumb--mobile .crumb-sep,
  .store-product-page .product-breadcrumb--mobile > span:not(.breadcrumb-current) {
    color: #9a9a92;
  }

  .store-product-page .product-breadcrumb--mobile .breadcrumb-link {
    text-decoration: underline;
    text-underline-offset: 3px;
  }

  .store-product-page .product-breadcrumb--mobile .breadcrumb-current {
    color: #1a1a1a;
  }

  .store-product-page .product-hero {
    position: sticky;
    top: 56px;
    z-index: 6;
    flex: 0 0 auto;
    height: 300px;
    min-height: 300px;
    border-right: none;
    border-top: 1px solid #e4e2da;
    border-bottom: 1px solid #e4e2da;
    background: #fff;
  }

  .store-product-page .in-stock-badge {
    top: 14px !important;
    left: 14px !important;
    gap: 7px;
    padding: 7px 13px;
    font-size: 11px;
    letter-spacing: 0.04em;
    border: none;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  }

  .store-product-page .in-stock-dot {
    width: 7px;
    height: 7px;
    background: #2f8f4e;
    border-radius: 50%;
  }

  .store-product-page .view-nav {
    bottom: 14px;
    gap: 16px;
  }

  .store-product-page .view-dots {
    display: flex;
    align-items: center;
    gap: 9px;
  }

  .store-product-page .view-dot {
    background: rgba(26, 26, 26, 0.22);
    box-shadow: none;
  }

  .store-product-page .view-dot.is-active {
    background: #1a1a1a;
  }

  .store-product-page .hero-arrow {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid #e0ddd3;
    background: #fff;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08);
    color: #1a1a1a;
    opacity: 1;
  }

  .store-product-page .hero-arrow:disabled {
    opacity: 0.35;
  }

  .store-product-page .product-hero.is-insitu .hero-arrow {
    color: #1a1a1a;
    filter: none;
  }

  .store-product-page .product-rail {
    position: relative;
    z-index: 5;
    width: auto;
    flex: none;
    height: auto;
    min-height: 0;
    overflow: visible;
    padding: 22px var(--gutter) 0 !important;
    box-sizing: border-box;
    background: #f6f6f0;
  }

  .store-product-page .product-title {
    font-size: 20px !important;
    line-height: 1.15;
    letter-spacing: -0.02em;
  }

  .store-product-page .product-tagline {
    margin: 10px 0 0;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    color: #3d3d38;
  }

  .store-product-page .product-price-row {
    margin-top: 18px;
    gap: 11px;
    flex-wrap: wrap;
  }

  .store-product-page .product-price {
    font-size: 30px;
  }

  .store-product-page .product-price-unit {
    font-size: 13.5px;
  }

  .store-product-page .product-dispatch {
    margin-top: 8px;
    font-size: 12px;
  }

  .store-product-page .product-warranty {
    margin-top: 12px;
    font-size: 12px;
    color: #6f6f68;
  }

  .store-product-page .product-warranty .warranty-icon {
    width: 16px;
    height: 16px;
    stroke: #8f8f87;
  }

  .store-product-page .product-warranty-label {
    font-weight: 400;
    color: #6f6f68;
  }

  .store-product-page .option-groups {
    margin-top: 26px;
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .store-product-page .option-group-head {
    gap: 9px;
  }

  .store-product-page .option-label {
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.14em;
    white-space: nowrap;
  }

  .store-product-page .option-group-pipe {
    color: #d3cec0;
    font-weight: 400;
  }

  .store-product-page .option-group-name {
    font-size: 12px;
    font-weight: 700;
  }

  .store-product-page .swatch-row {
    margin-top: 13px;
    gap: 14px;
  }

  .store-product-page .swatch {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(0, 0, 0, 0.12);
  }

  .store-product-page .chip-row {
    margin-top: 13px;
    gap: 10px;
  }

  .store-product-page .chip {
    height: auto;
    padding: 9px 15px;
    font-size: 12px;
    font-weight: 500;
  }

  .store-product-page .size-tile-grid {
    margin-top: 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .store-product-page .size-tile {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    min-height: 0;
    padding: 11px 12px;
    text-align: left;
  }

  .store-product-page .size-tile-plate-wrap {
    width: 34px;
    height: auto;
    flex: 0 0 auto;
  }

  .store-product-page .size-tile-text {
    align-items: flex-start;
    gap: 2px;
  }

  .store-product-page .size-tile-label {
    font-size: 12.5px;
  }

  .store-product-page .size-tile-delta {
    font-size: 10.5px;
  }

  .store-product-page .product-sku {
    margin-top: 22px;
    font-size: 11.5px;
  }

  .store-product-page .delivery-note {
    margin-top: 12px;
    font-size: 12px;
  }

  .store-product-page .accordion-list {
    order: 1;
    margin-top: 28px;
    border-bottom: 1px solid #e4e2da;
  }

  .store-product-page .accordion-trigger {
    padding: 19px 0;
    font-size: 16px;
  }

  .store-product-page .accordion-sign {
    font-size: 22px;
    font-weight: 400;
    color: #8f8f87;
  }

  .store-product-page .accordion-body {
    padding: 0 0 20px;
  }

  .store-product-page .accordion-copy {
    font-size: 12px;
    line-height: 1.55;
  }

  .store-product-page .spec-row {
    gap: 16px;
    padding: 10px 0;
    border-bottom: 1px dotted #d7d2c4;
    font-size: 12px;
  }

  .store-product-page .spec-key {
    font-size: 12px;
    color: #9a9a92;
  }

  .store-product-page .spec-val {
    font-size: 12px;
    font-weight: 700;
  }

  .store-product-page .still-card {
    order: 2;
    margin-top: 22px;
    padding: 18px 18px 20px;
    gap: 9px;
  }

  .store-product-page .still-title {
    font-size: 16px;
  }

  .store-product-page .still-body {
    font-size: 12px;
    line-height: 1.55;
  }

  .store-product-page .still-actions {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    gap: 12px;
    margin-top: 6px;
  }

  .store-product-page .still-link {
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
  }

  .store-product-page .still-link:first-child {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 46px;
    padding: 0 22px;
    border: 1px solid #1a1a1a;
    border-radius: 4px;
    background: #fff;
    color: #1a1a1a;
    text-decoration: none;
  }

  .store-product-page .still-link:first-child:hover {
    text-decoration: none;
  }

  .store-product-page .still-link:last-child {
    font-weight: 400;
    color: #6f6f68;
    text-decoration: underline;
    text-underline-offset: 3px;
  }

  .store-product-page .rail-footer-links {
    order: 3;
    margin-top: 20px;
    margin-bottom: 28px;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    font-size: 12.5px;
    padding-top: 20px;
    border-top: 1px solid #e4e2da;
  }

  .store-product-page .rail-footer-links > span:last-child {
    flex-basis: 100%;
  }

  /* Two-row bar from Mobile.dc.html — wrappers already display:flex via generic mobile rules */
  .store-product-page .order-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: flex-start;
    padding: 12px var(--gutter) 16px !important;
    gap: 11px !important;
    background: #fff;
    border-top: 1px solid #ddd9cf;
    box-shadow: 0 -6px 22px rgba(30, 28, 22, 0.10);
  }

  .store-product-page .order-bar-top {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
  }

  .store-product-page .order-bar-actions {
    display: flex;
    align-items: center;
    gap: 9px;
  }

  .store-product-page .order-bar-info {
    flex: 1;
    margin-right: 0;
    min-width: 0;
  }

  .store-product-page .order-bar-sub,
  .store-product-page .order-bar-spec {
    display: block;
  }

  .store-product-page .order-bar-title-row {
    flex-wrap: wrap;
    gap: 6px;
  }

  .store-product-page .order-bar-name {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.15;
  }

  .store-product-page .order-bar-sub {
    font-size: 12px;
    font-style: italic;
    font-weight: 400;
    color: #8f8f87;
  }

  .store-product-page .order-bar-spec {
    margin-top: 2px;
    font-size: 11.5px;
    line-height: 1.35;
    color: #8f8f87;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
  }

  .store-product-page .order-bar-price-col {
    flex: 0 0 auto;
    align-items: flex-end;
    text-align: right;
    gap: 0;
  }

  .store-product-page .order-bar-price {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.15;
  }

  .store-product-page .order-bar-unit {
    font-size: 10.5px;
    color: #8f8f87;
    white-space: nowrap;
  }

  .store-product-page .order-bar-qty {
    display: flex;
    width: 100px;
    height: 48px;
    flex: 0 0 auto;
  }

  .store-product-page .order-bar-qty .qty-btn {
    font-size: 19px;
  }

  .store-product-page .order-bar-qty .qty-val {
    font-size: 14.5px;
    font-weight: 400;
  }

  .store-product-page .btn-add-cart,
  .store-product-page .btn-add-cart.order-bar-cta,
  .store-product-page .btn-order-now {
    flex: 1;
    width: auto;
    min-width: 0;
    height: 48px;
    padding: 0 12px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
  }

  .store-product-page .btn-order-now {
    padding: 0;
  }

  .store-product-page .btn-label-full {
    display: inline;
  }

  .store-product-page .btn-label-stack {
    display: none;
  }

  .store-product-page .btn-add-cart.is-added {
    background: #2f8f4e;
    color: #fff;
    border-color: #2f8f4e;
  }

  .store-product-page .btn-add-cart.is-added .btn-label-full {
    display: inline;
  }

  .store-product-page .btn-add-cart.is-added .btn-label-stack {
    display: none;
  }
}

/* Narrow phones — keep the Mobile.dc.html two-row bar */
@media (max-width: 480px) {
  .store-product-page .order-bar {
    gap: 11px !important;
    padding: 12px var(--gutter) 16px !important;
  }

  .store-product-page .order-bar-name {
    font-size: 16px;
  }

  .store-product-page .order-bar-price {
    font-size: 17px;
  }

  .store-product-page .order-bar-unit {
    font-size: 10.5px;
  }

  .store-product-page .btn-add-cart.order-bar-cta,
  .store-product-page .btn-order-now {
    width: auto;
    min-width: 0;
    padding: 0 12px;
    font-size: 15px;
  }
}


.breadcrumb-link {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font: inherit;
  color: #9a9a92;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.breadcrumb-link:hover {
  color: #1a1a1a;
}

.breadcrumb-current {
  color: #1a1a1a;
}

.product-image {
  max-width: 84%;
  max-height: 78%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  animation: kfade 0.3s;
}

.view-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  padding: 0;
  cursor: pointer;
  background: rgba(26, 26, 26, 0.22);
}

.view-dot.is-active {
  background: #1a1a1a;
}

.option-group {
  grid-column: span 2;
  min-width: 0;
}

/* Legacy class kept for older markup */
.store-product-page .option-group--size .option-group-head {
  flex-direction: row;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 12px;
}

.swatch {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  padding: 0;
  border: 1px solid rgba(0, 0, 0, 0.12);
  outline: none;
  box-sizing: border-box;
  display: inline-block;
  flex: 0 0 auto;
}

.swatch:focus-visible {
  outline: 2px solid #1a1a1a;
  outline-offset: 3px;
}

/* Screenshot 2 — selected ring */
.swatch.is-active {
  box-shadow: 0 0 0 2px #f6f6f0, 0 0 0 4px #1a1a1a;
}

/* Unscoped copy of the button-group chip. Nothing outside .store-product-page
   uses .chip today (the store index uses .si-chip), but this rule used to hold
   the old pill + solid-black-fill look, so any markup moved out of the product
   page would have silently reverted. Kept in step with the scoped rule above. */
.chip {
  height: 40px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  white-space: nowrap;
  background: #fff;
  color: #1a1a1a;
  border: 1px solid #c9c7bd;
}

.chip.is-active {
  background: #fff;
  color: #1a1a1a;
  border-color: #1a1a1a;
  box-shadow: inset 0 0 0 1px #1a1a1a;
}

/* TOP SIZE tiles — filled active state from store.html mockup */
.size-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 0;
  min-height: 92px;
  padding: 12px 6px 10px;
  border-radius: 5px;
  cursor: pointer;
  background: #fff;
  border: 1px solid #e4e2da;
  outline: none;
  font-family: inherit;
  box-sizing: border-box;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.size-tile:hover:not(.is-active) {
  border-color: #cfcabe;
}

.size-tile:focus-visible {
  outline: 2px solid #1a1a1a;
  outline-offset: 2px;
}

.size-tile.is-active {
  background: #1a1a1a;
  border: 2px solid #1a1a1a;
  box-shadow: none;
}

.size-tile.is-unavailable:not(.is-active) {
  background: #f4f2ea;
  border: 1px dashed #d5d3ca;
  cursor: pointer;
}

.size-tile.is-unavailable:not(.is-active) .size-tile-plate {
  opacity: 0.3;
}

.size-tile.is-unavailable:not(.is-active) .size-tile-label,
.size-tile.is-unavailable:not(.is-active) .size-tile-delta {
  color: #b3b1a8;
}

.size-tile.is-unavailable:disabled {
  opacity: 1;
}

.size-tile.is-unavailable:hover:not(.is-active) {
  border-color: #d5d3ca;
}

.size-tile-plate-wrap {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 22px;
  width: 100%;
}

.size-tile-plate {
  display: block;
  border-radius: 2px;
  background: #e6e5df;
  border: 1px solid #d9d7cf;
  box-sizing: border-box;
}

.size-tile.is-active .size-tile-plate {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.28);
}

.size-tile-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.size-tile-label {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  color: #3d3f43;
  white-space: nowrap;
}

.size-tile-delta {
  font-size: 11px;
  font-weight: 500;
  line-height: 1.2;
  color: #9a9a92;
  white-space: nowrap;
}

.size-tile.is-active .size-tile-label {
  color: #fff;
}

.size-tile.is-active .size-tile-delta {
  color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 767px) {
  .size-tile-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  /* Product page — Mobile.dc.html 2-col horizontal size tiles */
  .store-product-page .size-tile-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .size-tile {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    min-height: 0;
    padding: 11px 12px;
    text-align: left;
  }

  .store-product-page .size-tile {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    min-height: 0;
    padding: 11px 12px;
    text-align: left;
  }

  .size-tile-plate-wrap {
    width: 34px;
    height: auto;
    flex: 0 0 auto;
  }

  .store-product-page .size-tile-plate-wrap {
    width: 34px;
    height: auto;
  }

  .size-tile-text,
  .store-product-page .size-tile-text {
    align-items: flex-start;
    gap: 2px;
  }

  .size-tile-label {
    font-size: 12.5px;
  }

  .size-tile-delta {
    font-size: 10.5px;
  }
}

.order-bar-title-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.order-bar-sub {
  font-size: 14px;
  font-style: italic;
  color: #8f8f87;
}

.order-bar-spec {
  margin-top: 4px;
  font-size: 13px;
  color: #8f8f87;
}

.order-bar-price {
  font-size: 19px;
  font-weight: 700;
}

.btn-add-cart {
  height: 48px;
  padding: 0 26px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  border-radius: 4px;
  font-family: inherit;
  background: #fff;
  color: #1a1a1a;
  border: 1px solid #1a1a1a;
  transition: background 0.28s ease, color 0.28s ease, border-color 0.28s ease;
  white-space: nowrap;
  box-sizing: border-box;
}

.store-product-page .btn-add-cart.order-bar-cta {
  min-width: 132px;
  text-align: center;
}

@media (max-width: 767px) {
  .store-product-page .btn-add-cart.order-bar-cta {
    min-width: 0;
  }
}

.btn-add-cart.is-added,
.btn-add-cart.btn-add-cart--added {
  background: #2f8f4e;
  color: #fff;
  border-color: #2f8f4e;
}

.product-rail a.btn-outline:hover {
  text-decoration: none;
}

@media (max-width: 991.98px) {
  .btn-add-cart {
    flex: 1;
    min-width: 0;
    height: 46px;
    padding: 0 14px;
    font-size: 14px;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  /* Product page keeps product-final bar button treatment (tablet). */
  .store-product-page .btn-add-cart,
  .store-product-page .order-bar-cta {
    flex: 0 0 auto;
    min-width: 0;
    height: 48px;
    padding: 0 26px;
    font-size: 15px;
  }
}

@media (max-width: 767px) {
  .store-product-page .btn-add-cart,
  .store-product-page .order-bar-cta,
  .store-product-page .btn-order-now {
    flex: 1;
    width: auto;
    min-width: 0;
    height: 48px;
    padding: 0 12px;
    font-size: 15px;
  }
}

/* ==========================================================================
   iPAD — Product page cascade fixes (v2 redesign)
   The locked-frame layout lives in the product-page v2 sections above;
   this only re-asserts bar-button sizing after the max-width: 991.98px
   shared overrides.
   ========================================================================== */

@media (min-width: 1100px) and (max-width: 1366px) {
  .store-product-page .btn-add-cart {
    flex: 0 0 auto;
    height: 48px;
    padding: 0 26px;
    font-size: 15px;
  }
}

/* Re-assert iPad.dc.html bar buttons after later shared overrides */
@media (min-width: 768px) and (max-width: 1099px) {
  .store-product-page .btn-add-cart,
  .store-product-page .btn-add-cart.order-bar-cta {
    flex: 0 0 auto;
    width: auto;
    min-width: 0;
    height: 48px;
    padding: 0 26px;
    font-size: 16px;
  }

  .store-product-page .btn-order-now {
    flex: 0 0 auto;
    width: auto;
    min-width: 0;
    height: 48px;
    padding: 0 34px;
    font-size: 16px;
  }

  .store-product-page .btn-label-full {
    display: inline;
  }

  .store-product-page .btn-label-stack {
    display: none;
  }

  .store-product-page .order-bar-qty {
    display: flex;
    width: 126px;
  }
}

/* ==========================================================================
   Store Checkout Confirmation page
   (ported from checkout-confirmation.css — confirmation sections only)
   ========================================================================== */

.confirm-page {
  padding: 26px 56px 90px;
  min-height: 700px;
}

.confirm-steps {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: #b3aea0;
}

.confirm-step-link {
  color: #6f6f68;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.confirm-step-current {
  color: #1a1a1a;
}

.confirm-layout {
  margin-top: 26px;
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.confirm-main {
  flex: 1;
  min-width: 0;
}

.confirm-subtitle--short {
  display: none;
}

.confirm-summary-ship-label--short {
  display: none;
}

.info-card-method-inline {
  display: none;
}

.step-body--short {
  display: none;
}

.info-card-order-start {
  min-width: 0;
}

.info-card--order {
  display: block;
}

.payment-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #e7f2e9;
  border: 1px solid #bcdcc4;
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 700;
  color: #2f7d4a;
}

.payment-badge--quote {
  background: #f8efe3;
  border-color: #ead4b8;
  color: #b56a1a;
}

.payment-badge--quote .payment-badge-dot {
  background: #d9822b;
}

.confirm-page--quote .confirm-summary {
  display: none;
}

.confirm-page--quote .confirm-layout {
  display: block;
}

.confirm-page--quote .confirm-main {
  max-width: 920px;
}

.confirm-page--quote .confirm-change-link {
  font-weight: 500;
  text-decoration: none;
  color: #7a7a73;
}

.confirm-page--quote .confirm-change-link:hover {
  text-decoration: underline;
}

.payment-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2f8f4e;
  display: inline-block;
}

.confirm-title {
  margin: 20px 0 0;
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.confirm-subtitle {
  margin: 16px 0 0;
  font-size: 18px;
  line-height: 1.55;
  color: #7a7a73;
  max-width: 620px;
  text-wrap: pretty;
}

.info-cards {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.info-card {
  background: #fff;
  border: 1px solid #ddd9cf;
  border-radius: 6px;
  padding: 22px;
}

.info-card-label {
  font-size: 12px;
  letter-spacing: 0.14em;
  color: #9a9a92;
  font-weight: 600;
}

.info-card-value {
  margin-top: 10px;
  font-size: 20px;
  font-weight: 700;
}

.info-card-value--sm {
  font-size: 15px;
  line-height: 1.45;
}

.info-card-meta {
  margin-top: 6px;
  font-size: 13px;
  color: #8f8f87;
}

.info-card-meta--address {
  margin-top: 4px;
  color: #6f6f68;
  line-height: 1.5;
}

.next-steps-card {
  margin-top: 34px;
  background: #fff;
  border: 1px solid #ddd9cf;
  border-radius: 6px;
  padding: 26px 28px;
}

.next-steps-title {
  font-size: 13px;
  letter-spacing: 0.14em;
  color: #9a9a92;
  font-weight: 600;
}

.next-steps-list {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.step-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.step-number {
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #f0ede4;
  color: #5c5a52;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-content {
  flex: 1;
  min-width: 0;
}

.step-title {
  font-size: 16px;
  font-weight: 700;
}

.step-body {
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.55;
  color: #7a7a73;
}

.confirm-actions {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.btn-keep-shopping {
  height: 48px;
  padding: 0 28px;
  font-size: 16px;
  font-weight: 700;
  border: none;
  border-radius: 4px;
  background: #1a1a1a;
  color: #fff;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.btn-keep-shopping:hover {
  text-decoration: none;
  opacity: 0.92;
  color: #fff;
}

.confirm-change-link {
  font-size: 15px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Confirmation order summary sidebar */
.confirm-summary {
  width: 400px;
  flex: 0 0 auto;
  background: #fff;
  border: 1px solid #ddd9cf;
  border-radius: 6px;
  padding: 28px;
}

.confirm-summary-title {
  font-size: 13px;
  letter-spacing: 0.14em;
  color: #9a9a92;
  font-weight: 600;
}

.confirm-summary-lines {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.confirm-summary-empty {
  margin-top: 16px;
  font-size: 14px;
  color: #8f8f87;
}

.confirm-summary-empty[hidden] {
  display: none !important;
}

.confirm-line {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.confirm-line-image-wrap {
  width: 62px;
  height: 62px;
  flex: 0 0 auto;
  background: #fcfbf6;
  border: 1px solid #e4e2da;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.confirm-line-image {
  width: 80%;
  height: 50px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.confirm-line-details {
  flex: 1;
  min-width: 0;
}

.confirm-line-name {
  font-size: 15px;
  font-weight: 700;
}

.confirm-line-config,
.confirm-line-sku {
  margin-top: 3px;
  font-size: 12px;
  color: #8f8f87;
  line-height: 1.45;
}

.confirm-line-qty {
  margin-top: 4px;
  font-size: 12px;
  color: #8f8f87;
}

.confirm-line-total {
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}

.confirm-summary-totals {
  margin-top: 22px;
  padding-top: 6px;
  border-top: 1px solid #e4e2da;
  display: flex;
  flex-direction: column;
}

.confirm-summary-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 11px 0;
  border-bottom: 1px dotted #d7d2c4;
}

.confirm-summary-row-label {
  font-size: 14px;
  color: #9a9a92;
}

.confirm-summary-row-value {
  font-size: 14px;
  font-weight: 700;
}

.confirm-total-paid {
  margin-top: 20px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
}

.confirm-total-paid-label {
  font-size: 17px;
  font-weight: 700;
}

.confirm-total-paid-amount {
  font-size: 28px;
  font-weight: 700;
}

.confirm-gst-note {
  margin-top: 8px;
  font-size: 13px;
  color: #8f8f87;
}

/* ==========================================================================
   Desktop — Checkout confirmation page (992px+)
   Restore side-by-side layout; mobile/iPad use display:contents on .confirm-main
   ========================================================================== */

@media (min-width: 992px) {
  #th-store-checkout-confirmation .confirm-layout {
    display: flex;
    flex-direction: row;
    gap: 40px;
    align-items: flex-start;
  }

  #th-store-checkout-confirmation .confirm-main {
    display: block;
    flex: 1;
    min-width: 0;
  }

  #th-store-checkout-confirmation .confirm-summary {
    width: 400px;
    flex: 0 0 auto;
  }

  #th-store-checkout-confirmation .info-card--order {
    display: block;
  }

  #th-store-checkout-confirmation .info-card-meta--date {
    margin-top: 6px;
    white-space: normal;
  }
}

/* ==========================================================================
   iPAD — Checkout confirmation page
   Source: Krost Store Prototype - iPad.dc.html
   ========================================================================== */

@media (min-width: 768px) and (max-width: 991.98px) {
  #th-store-checkout-confirmation .confirm-page {
    padding: 26px 30px 90px;
    min-height: 700px;
    box-sizing: border-box;
  }

  #th-store-checkout-confirmation .confirm-layout {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-top: 26px;
    width: 100%;
    min-width: 0;
  }

  #th-store-checkout-confirmation .confirm-main {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    order: 1;
    box-sizing: border-box;
  }

  #th-store-checkout-confirmation .confirm-intro {
    width: 100%;
  }

  #th-store-checkout-confirmation .info-cards {
    margin-top: 34px;
    width: 100%;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  #th-store-checkout-confirmation .next-steps-card {
    margin-top: 34px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  #th-store-checkout-confirmation .confirm-actions {
    margin-top: 28px;
    width: 100%;
  }

  #th-store-checkout-confirmation .confirm-summary {
    order: 2;
    margin-top: 24px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 26px 28px;
    box-sizing: border-box;
  }

  #th-store-checkout-confirmation .confirm-title {
    margin: 20px 0 0;
    font-size: 34px;
  }

  #th-store-checkout-confirmation .confirm-subtitle {
    margin: 16px 0 0;
    font-size: 18px;
    max-width: 620px;
  }

  #th-store-checkout-confirmation .info-card {
    padding: 22px;
  }

  #th-store-checkout-confirmation .info-card--order {
    display: block;
  }

  #th-store-checkout-confirmation .info-card-meta--date {
    margin-top: 6px;
    white-space: normal;
  }

  #th-store-checkout-confirmation .info-card-method-inline {
    display: none;
  }

  #th-store-checkout-confirmation .info-card--method {
    display: block;
  }
}

@media (max-width: 991px) {
  .confirm-summary {
    width: 100%;
  }
}

/* iPad header — hide "Looking for the full range?" (wins cascade) */
@media (min-width: 768px) and (max-width: 1366px) {
  .site-header .header-nav-range {
    display: none;
  }
}

/* Checkout existing-customer verify */
.form-existing {
  margin-top: 14px;
}
.form-existing-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.45;
  color: #6f6f68;
  cursor: pointer;
}
.form-existing-label input {
  margin-top: 3px;
  flex: 0 0 auto;
}

/* Store checkout OTP send loader */
.store-checkout-verify-loader {
  position: fixed;
  inset: 0;
  z-index: 1055;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(17, 17, 17, 0.35);
  backdrop-filter: blur(2px);
}
.store-checkout-verify-loader[hidden] {
  display: none !important;
}
.store-checkout-verify-loader-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  min-width: 220px;
  padding: 28px 32px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.16);
}
.store-checkout-verify-spinner {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 3px solid #e6e6e2;
  border-top-color: #111;
  animation: storeCheckoutVerifySpin 0.7s linear infinite;
}
@keyframes storeCheckoutVerifySpin {
  to {
    transform: rotate(360deg);
  }
}
.store-checkout-verify-loader-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  color: #6f6f68;
  text-align: center;
}

/* Store checkout email OTP modal */
.store-checkout-verify-modal {
  position: fixed;
  inset: 0;
  z-index: 1060;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.store-checkout-verify-modal[hidden] {
  display: none !important;
}
.store-checkout-verify-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 17, 0.45);
  backdrop-filter: blur(2px);
}
.store-checkout-verify-dialog {
  position: relative;
  z-index: 1;
  width: min(480px, 100%);
  background: #fff;
  border-radius: 16px;
  padding: 28px 28px 26px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.18);
  animation: storeCheckoutVerifyIn 180ms ease-out;
}
@keyframes storeCheckoutVerifyIn {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.store-checkout-verify-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}
.store-checkout-verify-title {
  margin: 0;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #111;
}
.store-checkout-verify-close {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  margin: -6px -8px 0 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #8a8a84;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.store-checkout-verify-close:hover {
  background: #f3f3f0;
  color: #111;
}
.store-checkout-verify-form {
  margin: 0;
}
.store-checkout-verify-copy {
  margin: 0 0 22px;
  font-size: 15px;
  line-height: 1.55;
  color: #6f6f68;
}
.store-checkout-verify-copy strong {
  color: #111;
  font-weight: 700;
}
.store-checkout-verify-dialog .otp-wrapper {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin: 0 0 22px;
}
.store-checkout-verify-dialog .otp-input {
  flex: 1 1 0;
  min-width: 0;
  max-width: 56px;
  height: 56px;
  text-align: center;
  font-size: 22px;
  font-weight: 600;
  color: #111;
  border-radius: 12px;
  border: 1.5px solid #ddd;
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}
.store-checkout-verify-dialog .otp-input:hover {
  border-color: #bbb;
}
.store-checkout-verify-dialog .otp-input:focus {
  border-color: #111;
  box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.08);
  outline: none;
  background: #fff;
}
.store-checkout-verify-error {
  margin: -10px 0 16px;
  font-size: 13px;
  line-height: 1.4;
  color: #c45c4a;
  text-align: left;
}
.store-checkout-verify-error[hidden] {
  display: none !important;
}
.store-checkout-verify-submit,
#store-checkout-verify-email-button {
  display: block;
  width: 100%;
  border: 0;
  background: #111;
  color: #fff;
  font-size: 15px;
  font-weight: 650;
  letter-spacing: 0.01em;
  padding: 15px 18px;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.15s ease, transform 0.15s ease;
}
.store-checkout-verify-submit:hover,
#store-checkout-verify-email-button:hover {
  background: #000;
}
.store-checkout-verify-submit:active,
#store-checkout-verify-email-button:active {
  transform: translateY(1px);
}
#store-checkout-verify-email-button:disabled,
#store-checkout-verify-email-button.disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}
.store-checkout-verify-resend {
  margin: 16px 0 0;
  font-size: 14px;
  line-height: 1.45;
  color: #6f6f68;
}
.store-checkout-verify-resend .resend-link {
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
  color: #111;
}
.store-checkout-verify-resend .resend-link:hover {
  color: #000;
}
.store-checkout-verify-resend .resend-link.disabled {
  opacity: 0.6;
  pointer-events: none;
}
@media (max-width: 480px) {
  .store-checkout-verify-dialog {
    padding: 22px 18px 20px;
    border-radius: 14px;
  }
  .store-checkout-verify-title {
    font-size: 21px;
  }
  .store-checkout-verify-dialog .otp-wrapper {
    gap: 6px;
  }
  .store-checkout-verify-dialog .otp-input {
    height: 48px;
    font-size: 20px;
    border-radius: 10px;
  }
}

/* Checkout field validation (catalogue-style) */
#th-store-checkout .form-input.is-invalid,
#th-store-checkout .form-select.is-invalid {
  border-color: #c45c4a;
}
#th-store-checkout .invalid-feedback {
  display: none;
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.35;
  color: #c45c4a;
}
#th-store-checkout .form-input.is-invalid ~ .invalid-feedback,
#th-store-checkout .was-validated .invalid-feedback:not(:empty),
#th-store-checkout #checkout-items-feedback:not(:empty) {
  display: block;
}

/* =====================================================================
   TICKET 17 — add-ons block ("Add to your order")
   Rendered after the option groups when addons / accessories are present.
   ===================================================================== */
.store-product-page .addons {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.store-product-page .addons-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.store-product-page .addons-pager {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  margin-top: 4px;
}
.store-product-page .addons-pager-nav,
.store-product-page .addons-pager-page {
  box-sizing: border-box;
  min-width: 32px;
  height: 32px;
  padding: 0 10px;
  border: 1px solid #c9c7bd;
  border-radius: 4px;
  background: #fff;
  color: #1a1a1a;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}
.store-product-page .addons-pager-page.is-current {
  background: #1a1a1a;
  border-color: #1a1a1a;
  color: #fff;
  cursor: default;
}
.store-product-page .addons-pager-nav:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.store-product-page .addon {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 10px 12px 10px 10px;
  border: 1px solid #c9c7bd;
  border-radius: 4px;
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.store-product-page .addon.is-added {
  border-color: #1a1a1a;
  box-shadow: inset 0 0 0 1px #1a1a1a;
}
.store-product-page .addon.is-taken {
  opacity: 0.62;
}
.store-product-page .addon-taken-note {
  font-size: 12px;
  color: #8f8f87;
  line-height: 1.3;
}
.store-product-page .addon.is-taken .addon-add {
  cursor: not-allowed;
  background: #eeede7;
  border-color: #c9c7bd;
  color: #6f6f68;
}
.store-product-page .addon-thumb {
  width: 64px;
  height: 64px;
  padding: 0;
  border-radius: 3px;
  background: #fff center / contain no-repeat;
  border: 1px solid #eeede7;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font: inherit;
  color: inherit;
}
.store-product-page .addon-thumb svg {
  width: 28px;
  height: 28px;
  color: #8f8f87;
}
.store-product-page .addon-text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.store-product-page .addon-name {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
}
.store-product-page .addon-meta {
  font-size: 12.5px;
  color: #6f6f68;
  line-height: 1.35;
}
.store-product-page .addon-price {
  font-size: 14px;
  font-weight: 700;
  margin-top: 2px;
}
.store-product-page .addon-price small {
  font-weight: 500;
  color: #8f8f87;
  font-size: 12px;
  margin-left: 4px;
}
.store-product-page .addon-ctl {
  display: flex;
  align-items: center;
  gap: 8px;
}
.store-product-page .addon-add {
  box-sizing: border-box;
  height: 36px;
  min-width: 72px;
  padding: 0 16px;
  border-radius: 4px;
  border: 1px solid #1a1a1a;
  background: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  cursor: pointer;
  color: #1a1a1a;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  appearance: none;
  -webkit-appearance: none;
}
.store-product-page .addon-add span {
  display: block;
  line-height: 1;
  transform: translateY(1px);
}
.store-product-page .addon.is-added .addon-add {
  background: #1a1a1a;
  color: #fff;
}
.store-product-page .addon-qty {
  display: none;
  align-items: center;
  border: 1px solid #c9c7bd;
  border-radius: 4px;
  height: 36px;
  background: #fff;
}
.store-product-page .addon.is-added .addon-qty {
  display: inline-flex;
}
.store-product-page .addon-qty button {
  width: 32px;
  height: 34px;
  border: 0;
  background: none;
  font: inherit;
  font-size: 16px;
  cursor: pointer;
  color: #1a1a1a;
}
.store-product-page .addon-qty output,
.store-product-page .addon-qty-input {
  box-sizing: border-box;
  width: 32px;
  min-width: 32px;
  height: 34px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: center;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: #1a1a1a;
  line-height: 34px;
  -moz-appearance: textfield;
}
.store-product-page .addon-qty-input:focus {
  outline: none;
}
.store-product-page .addon-qty-input::-webkit-outer-spin-button,
.store-product-page .addon-qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.store-product-page .addon.follows-qty .addon-qty {
  display: none !important;
}
.store-product-page .addon-follows {
  display: none;
  font-size: 12px;
  color: #6f6f68;
  white-space: nowrap;
}
.store-product-page .addon.follows-qty.is-added .addon-follows {
  display: inline;
}
.store-product-page .order-bar-addons {
  font-size: 13px;
  color: #4a4a44;
  line-height: 1.35;
}
.store-product-page .order-bar-addons:empty {
  display: none;
}

.store-product-page .qty-input {
  box-sizing: border-box;
  width: 36px;
  min-width: 36px;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: center;
  font: inherit;
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
  line-height: 1;
  -moz-appearance: textfield;
}
.store-product-page .qty-input:focus {
  outline: none;
}
.store-product-page .qty-input::-webkit-outer-spin-button,
.store-product-page .qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.store-product-page .addon-preview {
  position: fixed;
  inset: 0;
  z-index: 55;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(26, 26, 22, 0.42);
}
.store-product-page .addon-preview-card {
  position: relative;
  width: min(440px, 100%);
  background: #f6f6f0;
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  padding: 28px 28px 26px;
}
.store-product-page .addon-preview-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.store-product-page .addon-preview-image {
  width: 100%;
  height: 220px;
  border-radius: 4px;
  background: #fff center / contain no-repeat;
  border: 1px solid #eeede7;
}
.store-product-page .addon-preview-body {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.store-product-page .addon-preview-name {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
}
.store-product-page .addon-preview-meta {
  font-size: 13px;
  color: #6f6f68;
  line-height: 1.4;
}
.store-product-page .addon-preview-copy {
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.5;
  color: #3d3f43;
}
.store-product-page .addon-preview-price {
  margin-top: 8px;
  font-size: 16px;
  font-weight: 700;
}
.store-product-page .addon-preview-price small {
  font-weight: 500;
  color: #8f8f87;
  font-size: 12px;
  margin-left: 4px;
}

.cart-drawer-qty-input,
#th-store-cart .th-store-qty-input {
  box-sizing: border-box;
  width: 36px;
  min-width: 36px;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: center;
  font: inherit;
  font-size: inherit;
  font-weight: 600;
  color: inherit;
  -moz-appearance: textfield;
}
.cart-drawer-qty-input:focus,
#th-store-cart .th-store-qty-input:focus {
  outline: none;
}
.cart-drawer-qty-input::-webkit-outer-spin-button,
.cart-drawer-qty-input::-webkit-inner-spin-button,
#th-store-cart .th-store-qty-input::-webkit-outer-spin-button,
#th-store-cart .th-store-qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

#th-store-cart .th-store-line__addons {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 2px;
}
#th-store-cart .th-store-line__addons-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8f8f87;
}
#th-store-cart .th-store-line__addon-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  min-height: 34px;
  padding: 6px 10px;
  border: 1px solid #e4e2da;
  border-radius: 4px;
  background: #f7f6f1;
}
#th-store-cart .th-store-line__addon-name {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 14px;
  color: #4a4a44;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#th-store-cart .th-store-line__addon-price {
  flex: 0 0 auto;
  font-size: 14px;
  font-weight: 700;
  color: #1a1a1a;
  white-space: nowrap;
}
#th-store-cart .th-store-line__addon-qty {
  flex: 0 0 auto;
  width: 72px;
  height: 26px;
}
#th-store-cart .th-store-line__addon-qty button {
  font-size: 13px;
  line-height: 1;
}
#th-store-cart .th-store-line__addon-qty .th-store-qty-input {
  width: 22px;
  min-width: 22px;
  font-size: 12px;
}
#th-store-cart .th-store-line__addon-follows {
  flex: 0 0 auto;
  min-width: 72px;
  font-size: 13px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: #6f6f68;
  text-align: center;
  white-space: nowrap;
}
#th-store-cart .th-store-line__addon-row .th-store-line__remove {
  flex: 0 0 auto;
  font-size: 13px;
}

@media (max-width: 767px) {
  .store-product-page .addons {
    margin-top: 26px;
    gap: 10px;
  }
  .store-product-page .addon {
    grid-template-columns: 56px 1fr;
    grid-template-areas: "thumb text" "ctl ctl";
    gap: 10px 12px;
  }
  .store-product-page .addon-thumb {
    grid-area: thumb;
    width: 56px;
    height: 56px;
  }
  .store-product-page .addon-text {
    grid-area: text;
  }
  .store-product-page .addon-ctl {
    grid-area: ctl;
    justify-content: flex-end;
  }
  .store-product-page .addon-name {
    font-size: 13px;
  }
  .store-product-page .addon-meta {
    font-size: 12px;
  }
  .store-product-page .order-bar-addons {
    font-size: 12px;
    white-space: normal;
  }
  /* lockPage sets body overflow:hidden, which unsticks the hero. Pin it
     under the overlay so the product image stays visible. Do not raise the
     rail — that paints the beige list over the image. */
  .store-product-page:has(.addon-preview) .product-hero {
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    width: 100%;
    height: 300px;
    z-index: 6;
  }
  .store-product-page .product-rail:has(.addon-preview) {
    z-index: auto;
    margin-top: 300px;
  }
  .store-product-page .addon-preview {
    inset: 0;
    top: 0;
    height: auto;
    padding: 20px 16px;
    align-items: center;
    justify-content: center;
    z-index: 55;
  }
  .store-product-page .addon-preview-card {
    width: min(400px, 100%);
    max-height: min(72dvh, calc(100vh - 40px));
    overflow-x: hidden;
    overflow-y: auto;
    padding: 24px 20px 22px;
    border-radius: 8px;
    box-sizing: border-box;
  }
  .store-product-page .addon-preview-image {
    height: 200px;
  }
  .store-product-page .addon-preview-body {
    margin-top: 16px;
  }
  .store-product-page .addon-preview-name {
    font-size: 16px;
  }
  .store-product-page .addon-preview-meta {
    font-size: 12.5px;
  }
  .store-product-page .addon-preview-price {
    font-size: 15px;
  }
}
