/* Gaia gift shop: product tiles, category rows, cart bar, checkout drawer and product pages.
   Shared by /gifts and /gifts/<product>. */

/* ===== Product page layout (from the DIY kit page, diy-kit.html) ===== */
/* ── DIY Kit — Studio Terra × Gaia ──────────────────────────────────
   Figma 4796:73525 (desktop) + 4796:73754 (mobile). Two-column
   product page: gallery left, info + colourway + form right. Uses
   the same primitives as the order-flowers/will-builder flows —
   .m3-field, .mega-subheader for eyebrows, .wz-stepper for the
   quantity control, .ofl-segmented gel-thumb animation for Pick up
   / Delivery. Every asset path is absolute so the page works served
   at /diy-kit or /florals/diy-kit alike. */
.dk-page { background: #fff; padding: 48px 0 64px; }
@media (max-width: 767.98px) { .dk-page { padding: 24px 0 40px; } }
.dk-layout {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: 56px;
    align-items: start;
    max-width: 1120px;
    margin: 0 auto;
}
@media (max-width: 991.98px) { .dk-layout { grid-template-columns: 1fr; gap: 32px; } }

/* --- Gallery (left column) --- */
.dk-gallery { min-width: 0; }
.dk-hero {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    overflow: hidden;
    background: #F3F7FA;
    margin-bottom: 16px;
}
.dk-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Horizontal scroll carousel — thumbs are sized so a whole number
   fit exactly, so the row spans the same width as the hero above
   and no mask is needed. Scroll-bar stays hidden — swipe/scroll
   to reveal the next set. */
.dk-thumbs-wrap { position: relative; }
.dk-thumbs {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    /* Hide the scrollbar in every browser — the right-edge fade
       already signals scrollability, so a visible track is noise. */
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.dk-thumbs::-webkit-scrollbar { width: 0; height: 0; display: none; }
/* Size each thumb so a whole number of them fit exactly in the row
   — no partial "peek" thumbs at the edge. 4 across on desktop, 3
   on tablet, 3 on mobile with tighter gaps. The carousel still
   scrolls to reveal the rest. */
.dk-thumb {
    flex: 0 0 calc((100% - 36px) / 4);
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid transparent;
    padding: 0;
    background: #F3F7FA;
    cursor: pointer;
    scroll-snap-align: start;
    transition: border-color 0.15s ease, transform 0.15s ease;
}
@media (max-width: 991.98px) { .dk-thumb { flex-basis: calc((100% - 24px) / 3); } }
@media (max-width: 575.98px) { .dk-thumb { flex-basis: calc((100% - 16px) / 3); } }
.dk-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dk-thumb:hover { transform: translateY(-2px); }
.dk-thumb.is-active { border-color: #1D4641; }
.dk-thumb:focus-visible { outline: 2px solid #1D4641; outline-offset: 2px; }

/* --- Info (right column) --- */
.dk-info { min-width: 0; }
.dk-title {
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-size: 24px;
    line-height: 32px;
    letter-spacing: -0.018em;
    color: #180026;
    margin: 0 0 12px;
}
.dk-lede {
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    line-height: 24px;
    color: #180026;
    margin: 0 0 16px;
}
.dk-plain-list, .dk-box-list {
    list-style: disc;
    padding-left: 20px;
    margin: 0 0 24px;
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    line-height: 26px;
    color: #180026;
}
.dk-plain-list li, .dk-box-list li { margin-bottom: 2px; }
.dk-section-lead {
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    color: #180026;
    margin: 0 0 8px;
}
.dk-box-list strong { color: #180026; font-weight: 600; }

/* --- Feature icons row --- */
.dk-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    background: #F7F6F3;
    border-radius: 12px;
    padding: 24px 16px;
    margin: 0 0 32px;
}
.dk-feature { text-align: center; min-width: 0; }
/* Tint the icon via CSS mask so the label + icon can share one
   colour token (#76697E, Neutral / Muted). The underlying SVG
   becomes a shape mask — its own fill is ignored. */
.dk-feature-icon {
    width: 32px; height: 32px;
    margin: 0 auto 10px;
    background-color: #76697E;
    mask-image: var(--dk-icon);
    -webkit-mask-image: var(--dk-icon);
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    mask-position: center;
    -webkit-mask-position: center;
    mask-size: contain;
    -webkit-mask-size: contain;
    display: inline-block;
}
.dk-feature-label {
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    line-height: 20px;
    color: #76697E;
    margin: 0;
}
@media (max-width: 575.98px) {
    .dk-features { gap: 8px; padding: 16px 8px; }
    .dk-feature-icon { width: 26px; height: 26px; margin-bottom: 6px; }
    .dk-feature-label { font-size: 12px; line-height: 16px; }
}

/* --- Eyebrow labels — reuse the .mega-subheader treatment used
      across the main-nav (Poppins 600, 12/16, 3.84px tracking,
      uppercase, #76697E) plus the same 16px top padding it uses
      so the section heading breathes above the field group. --- */
.dk-eyebrow {
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 3.84px;
    text-transform: uppercase;
    color: #76697E;
    margin: 0 0 20px; /* 12px base + 8px extra breathing room */
    padding-top: 16px;
}
.dk-block { margin-bottom: 28px; }

/* --- Colourway grid --- */
.dk-colour-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
@media (max-width: 575.98px) { .dk-colour-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; } }
.dk-colour-tile {
    display: flex;
    align-items: center;
    gap: 10px;
    /* +8px vertical padding vs the previous 10/12, per the founder's
       spacing note — tiles now breathe like the Figma tile. */
    padding: 18px 14px;
    border-radius: 14px;
    border: 1px solid #E6E1EA;
    background: #FBFAFA;
    cursor: pointer;
    transition: border-color 0.15s ease, background-color 0.15s ease, transform 0.15s ease;
    min-width: 0;
    font-family: "Poppins", sans-serif;
    color: #180026;
}
.dk-colour-tile:hover { transform: translateY(-1px); border-color: #1D4641; }
.dk-colour-tile:focus-visible { outline: 2px solid #1D4641; outline-offset: 2px; }
.dk-colour-tile.is-active {
    background: #180026;
    border-color: #180026;
    color: #fff;
}
.dk-swatches { display: flex; flex-shrink: 0; }
.dk-swatch {
    width: 22px; height: 22px;
    border-radius: 50%;
    border: 1.5px solid #FBFAFA;
    margin-left: -6px;
    box-shadow: 0 0 0 1px rgba(24, 0, 38, 0.06);
}
.dk-swatch:first-child { margin-left: 0; }
.dk-colour-tile.is-active .dk-swatch {
    border-color: #180026;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15);
}
.dk-colour-label {
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    color: inherit;
}
.dk-colour-desc {
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    line-height: 20px;
    color: #463351;
    margin: 12px 0 0;
    min-height: 20px;
}

/* --- Quantity stepper — reuses the Will-builder .wz-stepper pattern
      (48x48 dark-green rounded, centred value, 24px gap). --- */
.dk-qty-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.dk-stepper { display: flex; align-items: center; gap: 16px; }
.dk-stepper-btn {
    width: 48px; height: 48px;
    border: 0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: #1D4641;
    transition: background-color 0.15s, opacity 0.15s;
}
.dk-stepper-btn svg { width: 24px; height: 24px; }
.dk-stepper-btn svg path { fill: #D4E9CA; }
.dk-stepper-btn:hover:not(:disabled) { background: #163530; }
.dk-stepper-btn:disabled { cursor: default; background: #EFEDF0; }
.dk-stepper-btn:disabled svg path { fill: #76697E; }
.dk-stepper-btn:focus-visible { outline: 2px solid #1D4641; outline-offset: 2px; }
.dk-stepper-value {
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-size: 24px;
    color: #180026;
    min-width: 24px;
    text-align: center;
}
.dk-price {
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-size: 22px;
    line-height: 30px;
    color: #180026;
}

/* --- Order-instructions segment — same gel-thumb animation as the
      order-flowers segmented control (.ofl-segmented). --- */
.dk-segmented {
    position: relative;
    display: flex;
    width: 100%;
    background: #E7E0EF;
    border-radius: 100px;
    padding: 4px;
}
.dk-seg-thumb {
    position: absolute;
    top: 4px;
    bottom: 4px;
    left: 4px;
    width: 0;
    background: #ffffff;
    border-radius: 100px;
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.25);
    pointer-events: none;
    transform-origin: center;
    transition:
        left 0.45s cubic-bezier(0.34, 1.56, 0.64, 1),
        width 0.38s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.dk-seg-thumb.is-squishing {
    animation: dkThumbGel 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes dkThumbGel {
    0%   { transform: scaleX(1) scaleY(1); }
    35%  { transform: scaleX(1.14) scaleY(0.9); }
    65%  { transform: scaleX(0.94) scaleY(1.04); }
    100% { transform: scaleX(1) scaleY(1); }
}
.dk-segment {
    position: relative;
    z-index: 1;
    flex: 1 1 0;
    border: none;
    background: transparent;
    border-radius: 100px;
    padding: 10px 12px;
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: #463351;
    cursor: pointer;
    transition: color 0.2s;
    text-align: center;
    white-space: nowrap;
}
.dk-segment.is-active { font-weight: 600; color: #180026; }
.dk-segment:focus-visible { outline: 2px solid #1D4641; outline-offset: 2px; }

/* --- Mode notes + forms --- */
.dk-mode-note {
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    line-height: 20px;
    color: #463351;
    margin: 8px 0 20px;
}
.dk-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}
/* Zero out the row cell's default 24px so the toggle underneath (and
   the row that follows) sit at a tight 8/24px rhythm — matches the
   order-flowers .ofl-row-fields pattern. */
.dk-form-row > .m3-field { margin-bottom: 0; }
@media (max-width: 575.98px) { .dk-form-row { grid-template-columns: 1fr; gap: 0; } }

/* --- Fee note + total (Figma component 10254:56276 — light-green
      rounded row, "Total" left, price right in bold). --- */
.dk-fee-note {
    font-family: "Poppins", sans-serif;
    font-size: 13px;
    line-height: 18px;
    color: #463351;
    margin: 0 0 12px;
}
/* Single light-green pill that wraps both the Delivery fee and
   Total rows — matches the Figma component. */
.dk-fee-block {
    background: #D4E9CA;
    border-radius: 14px;
    padding: 14px 20px;
    margin: 12px 0 20px;
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    line-height: 24px;
    color: #1D4641;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.dk-total-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.dk-total-row .dk-total-label { font-weight: 500; }
.dk-total-row .dk-total-value { font-weight: 700; }

/* --- Address search (single-line + Add manually), lifted verbatim
      from the order-flowers flow so the delivery experience is the
      same one families already know. --- */
.dk-address-tandem {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    margin-bottom: 16px;
}
.dk-address-tandem .m3-field { width: 100%; margin-bottom: 0; }
.m3-field--icon-right .m3-input { padding-right: 44px; }
.m3-field-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    pointer-events: none;
}
.wz-autocomplete-list {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: #fff;
    border: 0.5px solid #C0BAC4;
    border-radius: 12px;
    box-shadow: 0 12px 24px rgba(29, 70, 65, 0.16);
    list-style: none;
    margin: 0;
    padding: 8px;
    max-height: 280px;
    overflow-y: auto;
    z-index: 20;
}
.wz-autocomplete-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 12px;
    cursor: pointer;
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: -0.252px;
    color: #463351;
    transition: background-color 0.15s ease, color 0.15s ease;
}
.wz-autocomplete-item-icon { width: 18px; height: 18px; flex-shrink: 0; color: inherit; }
.wz-autocomplete-item:hover, .wz-autocomplete-item.is-active { background-color: #DBE7EF; color: #180026; }
.dk-link-btn {
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: #48705B;
    text-decoration: underline;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}
.dk-link-btn:hover { color: #1D4641; }
.dk-link-btn:focus-visible { outline: 2px solid #1D4641; outline-offset: 2px; }

/* --- Buy button + secure line --- */
.dk-buy-btn {
    width: 100%;
    padding: 14px 24px;
    border: none;
    border-radius: 8px;
    background: #1D4641;
    color: #D4E9CA;
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    cursor: pointer;
    transition: background-color 0.15s ease, transform 0.15s ease, opacity 0.15s ease;
    margin-top: 4px;
}
.dk-buy-btn:hover:not(:disabled) { background: #163530; transform: translateY(-1px); }
.dk-buy-btn:focus-visible { outline: 2px solid #1D4641; outline-offset: 2px; }
.dk-buy-btn:disabled { opacity: 0.55; cursor: not-allowed; }
.dk-buy-btn[aria-busy="true"] .dk-spinner {
    display: inline-block;
    width: 14px; height: 14px;
    margin-right: 8px;
    border: 2px solid rgba(255,255,255,0.45);
    border-top-color: #fff;
    border-radius: 50%;
    animation: dk-spin 0.7s linear infinite;
    vertical-align: -2px;
}
@keyframes dk-spin { to { transform: rotate(360deg); } }
.dk-secure {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: "Poppins", sans-serif;
    font-size: 13px;
    line-height: 18px;
    color: #463351;
    margin: 12px 0 0;
    justify-content: center;
}
.dk-secure-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px; height: 20px;
    border-radius: 4px;
    background: #635BFF;
    color: #fff;
    font-weight: 700;
    font-size: 12px;
}
.dk-error {
    color: #B3261E;
    font-family: "Poppins", sans-serif;
    font-size: 13px;
    line-height: 18px;
    margin: 12px 0 0;
    display: none;
}
.dk-error.is-visible { display: block; }

/* ===== Our farewell gift collection (Figma 5751:99744) ===== */
.gs-shop { padding: 48px 0; background: #F3F4F1; scroll-margin-top: 80px; }
.gs-title { margin: 0 0 32px; color: #1D4641; font-size: 36px; line-height: 44px; letter-spacing: -0.018em; text-align: center; text-wrap: balance; }
.gs-filter { display: flex; flex-direction: column; align-items: center; gap: 24px; margin-bottom: 32px; }
.gs-search { position: relative; width: 100%; max-width: 640px; }
.gs-search-input { width: 100%; height: 56px; padding: 0 56px 0 24px; border: 1px solid #180026; border-radius: 56px; background: #fff; color: #180026; font-size: 16px; line-height: 22px; letter-spacing: -0.018em; }
.gs-search-input::placeholder { color: #807388; }
.gs-search-input:focus { outline: none; }
.gs-search-input:focus-visible { outline: 2px solid #1D4641; outline-offset: 2px; }
.gs-search-input::-webkit-search-cancel-button { cursor: pointer; }
.gs-search-icon { position: absolute; top: 16px; right: 16px; pointer-events: none; }
.gs-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.gs-chip { padding: 8px 16px; border: 1px solid #807388; border-radius: 100px; background: #fff; color: #463351; font-size: 14px; font-weight: 500; line-height: 20px; letter-spacing: -0.018em; transition: transform 0.15s ease; }
.gs-chip:hover { border-color: #1D4641; color: #1D4641; }
.gs-chip:focus-visible { outline: 2px solid #1D4641; outline-offset: 2px; }
.gs-chip:active { transform: scale(0.97); }
.gs-chip.is-active { border-color: #1D4641; background: #D9EFDE; color: #1D4641; }
.gs-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; margin: 0; padding: 0; list-style: none; }
.gs-item[hidden] { display: none; }
.gs-tile { display: flex; flex-direction: column; height: 100%; scroll-margin-top: 96px; }
.gs-thumb { aspect-ratio: 1 / 1; overflow: hidden; margin-bottom: 12px; border-radius: 12px; background: #fff; }
.gs-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gs-thumb--icon { display: flex; align-items: center; justify-content: center; background: #D4E9CA; color: #1D4641; font-size: 56px; }
.gs-name { margin: 0 0 8px; color: #180026; font-family: "Poppins", sans-serif; font-size: 18px; font-weight: 500; line-height: 24px; letter-spacing: -0.018em; }
.gs-desc { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; margin: 0; color: #463351; font-size: 14px; line-height: 20px; letter-spacing: -0.018em; }
.gs-desc.is-open { display: block; -webkit-line-clamp: unset; }
.gs-desc strong { font-weight: 500; }
.gs-desc a { color: #1D4641; text-decoration: underline; text-underline-offset: 2px; }
.gs-more { align-self: flex-start; margin: 0; padding: 0; border: 0; background: none; color: #48705B; font-size: 14px; font-weight: 500; line-height: 20px; letter-spacing: -0.018em; }
.gs-more:hover { color: #1D4641; text-decoration: underline; text-underline-offset: 2px; }
.gs-more:focus-visible { outline: 2px solid #1D4641; outline-offset: 2px; border-radius: 4px; }
.gs-more[hidden] { display: none; }
.gs-price { margin: auto 0 0; padding-top: 12px; color: #48705B; font-size: 14px; font-weight: 600; line-height: 20px; letter-spacing: -0.018em; }
.gs-btn { display: block; width: 100%; margin-top: 24px; padding: 4px 8px; border: 1px solid #1D4641; border-radius: 8px; background: #D4E9CA; color: #1D4641; font-size: 14px; font-weight: 500; line-height: 20px; letter-spacing: -0.018em; text-align: center; text-decoration: none; transition: transform 0.15s ease; }
.gs-btn:hover { background: #1D4641; color: #D4E9CA; }
.gs-btn:focus-visible { outline: 2px solid #1D4641; outline-offset: 2px; }
.gs-btn:active { transform: scale(0.98); }
.gs-empty { margin: 32px 0 0; color: #463351; font-size: 16px; line-height: 24px; text-align: center; }
.gs-reset { padding: 0; border: 0; background: none; color: #1D4641; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.gs-reset:focus-visible { outline: 2px solid #1D4641; outline-offset: 2px; }
.gs-terms { max-width: 760px; margin: 40px auto 0; text-align: center; }
@media (min-width: 768px) { .gs-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 24px; } }
@media (min-width: 992px) {
    .gs-shop { padding: 56px 0; }
    .gs-title { margin-bottom: 48px; font-size: 55px; line-height: 64px; }
    .gs-filter { margin-bottom: 48px; }
    .gs-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 1200px) { .gs-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

/* ===== Product tiles: name/image open the product page ===== */
.gs-tile-link { display: block; color: inherit; text-decoration: none; }
.gs-tile-link:hover .gs-name { text-decoration: underline; text-underline-offset: 3px; }
.gs-tile-link:focus-visible { outline: 2px solid #1D4641; outline-offset: 4px; border-radius: 12px; }
.gs-tile-link .gs-thumb img { transition: transform 0.3s ease; }
.gs-tile-link:hover .gs-thumb img { transform: scale(1.03); }
.gs-btn.is-added { background: #1D4641; color: #fff; }

/* ===== Category rows: one pastel per category (light green stays the hero's) ===== */
.gcat { --gcat-band: #F3F4F1; }
.gcat--flowers { --gcat-band: #F8E1E4; }   /* blush: tenderness, love */
.gcat--urns { --gcat-band: #F2E8DA; }      /* warm sand: calm, grounded, earth */
.gcat--jewellery { --gcat-band: #E9E3F3; } /* lavender: remembrance, dignity */
.gcat--keepsakes { --gcat-band: #E1ECF5; } /* powder blue: peace, sky, memory */
.gcat--printed { --gcat-band: #F6EEDC; }   /* soft parchment: words, keeping */
.gcat--hampers { --gcat-band: #FBF1D6; }   /* butter: warmth, comfort (reserved) */
.gcat--meals { --gcat-band: #FBE5D6; }     /* apricot: nourishment, care (reserved) */
.gcat .gs-thumb--icon { background: #fff; box-shadow: inset 0 0 0 1px rgba(29, 70, 65, 0.1); }

/* ===== Cart bar (Figma 5863:133286 "Add to Cart Header") ===== */
.gcb { position: fixed; left: 0; right: 0; top: var(--gcb-top, 0px); z-index: 1040; background: #F8F7F8; transform: translateY(0); transition: transform 0.2s ease, opacity 0.2s ease; }
.gcb[hidden] { display: none; }
.gcb.is-entering { transform: translateY(-8px); opacity: 0; }
.gcb-inner { display: flex; align-items: center; gap: 16px; min-height: 54px; padding-top: 8px; padding-bottom: 8px; }
.gcb-toggle { display: inline-flex; align-items: center; gap: 8px; padding: 8px 0; border: 0; border-radius: 999px; background: transparent; color: #1D4641; font-size: 16px; font-weight: 500; line-height: 22px; letter-spacing: -0.018em; }
.gcb-toggle:hover { text-decoration: underline; text-underline-offset: 3px; }
.gcb-toggle:focus-visible { outline: 2px solid #1D4641; outline-offset: 2px; }
.gcb-toggle img { width: 16px; height: 16px; transition: transform 0.2s ease; }
.gcb-toggle[aria-expanded="true"] img { transform: rotate(180deg); }
.gcb-total { display: flex; gap: 12px; margin: 0 0 0 auto; font-size: 14px; line-height: 20px; letter-spacing: -0.018em; white-space: nowrap; }
.gcb-total span { color: #463351; }
.gcb-total strong { color: #1D4641; font-weight: 600; }
.gcb-go { padding: 4px 8px; border: 0; border-radius: 8px; background: #1D4641; color: #D4E9CA; font-size: 14px; font-weight: 500; line-height: 20px; letter-spacing: -0.018em; white-space: nowrap; }
.gcb-go:hover { background: #180026; }
.gcb-go:focus-visible { outline: 2px solid #1D4641; outline-offset: 2px; }
.gcb-go:active, .gcb-toggle:active { transform: scale(0.98); }
@media (max-width: 575px) { .gcb-total span, .gcb-long { display: none; } .gcb-toggle { font-size: 14px; } }
.gcb-spacer { transition: height 0.2s ease; }

/* Expanded cart (Figma 5874:136480 "Cart Expanded"): same grey as the bar, rows
   without dividers, and it pushes the page down rather than covering it. */
.gcb-panel { background: transparent; }
.gcb-panel[hidden] { display: none; }
.gcb-list { display: grid; gap: 12px; max-height: min(60vh, 432px); overflow-y: auto; margin: 0; padding: 4px 0 0; list-style: none; scrollbar-width: thin; scrollbar-color: #C0BAC4 transparent; }
.gcb-item { display: flex; align-items: center; gap: 16px; }
.gcb-thumb { flex: none; width: 48px; height: 48px; overflow: hidden; border-radius: 12px; background: var(--gcat-band, #E1ECF5); display: flex; align-items: center; justify-content: center; color: #1D4641; font-size: 22px; }
.gcb-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gcb-mid { flex: 1 1 auto; min-width: 0; }
.gcb-name { margin: 0; color: #180026; font-size: 16px; font-weight: 500; line-height: 22px; letter-spacing: -0.018em; }
.gcb-name a { color: inherit; text-decoration: none; }
.gcb-name a:hover, .gcb-name a:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
.gcb-opt { margin: 0; color: #463351; font-size: 14px; line-height: 20px; letter-spacing: -0.018em; }
.gcb-side { display: flex; align-items: center; gap: 16px; flex: none; }
.gcb-qty { display: inline-flex; align-items: center; gap: 8px; padding: 8px; border: 1px solid #C0BAC4; border-radius: 999px; }
.gcb-qty-btn { width: 18px; height: 18px; padding: 0; border: 0; border-radius: 999px; background-color: #1D4641; -webkit-mask: var(--gcb-ico) center / 18px 18px no-repeat; mask: var(--gcb-ico) center / 18px 18px no-repeat; }
.gcb-qty-btn:hover { background-color: #180026; }
.gcb-qty-btn:focus-visible { outline: 2px solid #1D4641; outline-offset: 3px; }
.gcb-qty-btn:active { transform: scale(0.9); }
.gcb-qty-btn:disabled { opacity: 0.35; }
.gcb-ico-minus { --gcb-ico: url('/assets/icons/ic_minus.svg'); }
.gcb-ico-add { --gcb-ico: url('/assets/icons/ic_add.svg'); }
.gcb-qty-val { width: 24px; color: #180026; font-size: 14px; font-weight: 600; line-height: 20px; text-align: center; }
.gcb-price { width: 120px; margin: 0; white-space: nowrap; color: #1D4641; font-size: 14px; font-weight: 600; line-height: 20px; letter-spacing: -0.018em; text-align: right; }
.gcb-remove { display: inline-flex; align-items: center; justify-content: flex-end; gap: 8px; width: 120px; padding: 4px 0; border: 0; background: none; color: #FF4E68; font-size: 14px; font-weight: 500; line-height: 20px; letter-spacing: -0.018em; }
.gcb-remove:hover { color: #D93650; }
.gcb-remove:focus-visible { outline: 2px solid #1D4641; outline-offset: 2px; border-radius: 4px; }
.gcb-remove:active { transform: scale(0.97); }
.gcb-remove-ico { width: 16px; height: 16px; background-color: currentColor; -webkit-mask: url('/assets/icons/ic_delete.svg') center / 16px 16px no-repeat; mask: url('/assets/icons/ic_delete.svg') center / 16px 16px no-repeat; }
.gcb-note { margin: 0; padding: 12px 0 8px; color: #807388; font-size: 12px; font-weight: 500; line-height: 16px; letter-spacing: -0.018em; }
@media (max-width: 767px) {
    .gcb-item { display: grid; grid-template-columns: 48px 1fr; column-gap: 12px; row-gap: 8px; }
    .gcb-side { grid-column: 2; gap: 12px; justify-content: space-between; }
    .gcb-price { width: auto; }
    .gcb-remove { width: auto; }
}
.gcb-toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); z-index: 1065; padding: 12px 20px; border-radius: 999px; background: #1D4641; color: #fff; font-size: 14px; font-weight: 500; box-shadow: 0 12px 24px rgba(29, 70, 65, 0.25); transform: translate(-50%, 16px); opacity: 0; pointer-events: none; transition: transform 0.2s ease, opacity 0.2s ease; }
.gcb-toast.is-shown { transform: translate(-50%, 0); opacity: 1; }

/* ===== Checkout drawer (order request) ===== */
.gs-drawer.offcanvas { --bs-offcanvas-width: 480px; background: #fff; z-index: 1060; }
@media (max-width: 575px) { .gs-drawer.offcanvas { --bs-offcanvas-width: 100%; } }
.gs-drawer ~ .offcanvas-backdrop, .offcanvas-backdrop { z-index: 1055; }
.gs-drawer .offcanvas-header { padding: 24px 24px 16px; }
.gs-drawer .btn-close:focus { box-shadow: none; }
.gs-drawer .btn-close:focus-visible { outline: 2px solid #1D4641; outline-offset: 2px; }
.gs-drawer .offcanvas-title { display: block; width: auto; height: auto; margin: 0; padding: 0; font-family: "Poppins", sans-serif; font-weight: 600; font-size: 20px; line-height: 28px; letter-spacing: -0.018em; color: #180026; }
.gs-drawer .offcanvas-body { padding: 8px 24px calc(24px + env(safe-area-inset-bottom, 0px)); }
.gs-co-intro { margin: 0 0 16px; color: #463351; font-size: 15px; line-height: 22px; }
.gs-co-summary { margin: 0 0 24px; padding: 16px; border-radius: 12px; background: #F3F4F1; list-style: none; }
.gs-co-summary li { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; color: #180026; font-size: 14px; line-height: 20px; }
.gs-co-summary li strong { font-weight: 600; color: #1D4641; white-space: nowrap; }
.gs-co-summary .gs-co-total { margin-top: 8px; padding-top: 12px; border-top: 1px solid #DAD9D4; font-weight: 600; }
.gs-co-sub { margin: 24px 0 12px; color: #1D4641; font-size: 20px; line-height: 28px; }
.gs-co-note { margin: 16px 0; color: #463351; font-size: 13px; line-height: 19px; }
.gs-co-note a { color: #1D4641; }
.gs-co-send { width: 100%; padding: 12px 16px; font-weight: 500; }
.gs-co-send:focus-visible { outline: 2px solid #1D4641; outline-offset: 2px; }
.gs-co-send:active { transform: scale(0.98); }
.gs-co-status { margin: 12px 0 0; color: #B3261E; font-size: 14px; }
.gs-co-status:empty { display: none; }
.gs-co-done h3 { margin: 8px 0 12px; color: #1D4641; font-size: 28px; line-height: 36px; }
.gs-co-done p { margin: 0 0 24px; color: #463351; font-size: 16px; line-height: 24px; }

/* ===== Product page extras (layout from the DIY kit page) ===== */
.gp-crumbs { margin: 0 auto 24px; max-width: 1120px; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; color: #463351; font-size: 14px; line-height: 20px; }
.gp-crumbs a { color: #48705B; text-decoration: underline; text-underline-offset: 3px; }
.gp-crumbs a:hover, .gp-crumbs a:focus-visible { color: #1D4641; }
.gp-crumbs li + li::before { content: "/"; margin-right: 8px; color: #C0BAC4; }
.dk-hero.gp-hero-icon { display: flex; align-items: center; justify-content: center; aspect-ratio: 1 / 1; background: var(--gcat-band, #E1ECF5); color: #1D4641; font-size: 120px; }
.gp-price-big { margin: 0 0 16px; color: #1D4641; font-family: "Taviraj", serif; font-weight: 600; font-size: 32px; line-height: 40px; }
.gp-price-big small { font-family: "Poppins", sans-serif; font-size: 14px; font-weight: 400; color: #463351; }
.gp-opts { display: grid; gap: 12px; margin: 0; padding: 0; border: 0; }
.gp-opt { display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px 16px; border: 1px solid #C0BAC4; border-radius: 12px; background: #fff; text-align: left; cursor: pointer; }
.gp-opt:hover { border-color: #1D4641; }
.gp-opt:focus-within { outline: 2px solid #1D4641; outline-offset: 2px; }
.gp-opt.is-active { border: 2px solid #1D4641; padding: 13px 15px; background: #F7FAF5; }
.gp-opt input { accent-color: #1D4641; width: 18px; height: 18px; flex: none; }
.gp-opt-text { flex: 1; }
.gp-opt-label { display: block; color: #180026; font-size: 16px; font-weight: 500; line-height: 22px; }
.gp-opt-desc { display: block; color: #463351; font-size: 13px; line-height: 18px; }
.gp-opt-price { color: #1D4641; font-size: 14px; font-weight: 600; white-space: nowrap; }
.gp-add { width: 100%; margin-top: 24px; padding: 14px 16px; font-size: 16px; font-weight: 500; }
.gp-add:focus-visible { outline: 2px solid #1D4641; outline-offset: 2px; }
.gp-add:active { transform: scale(0.98); }
.gp-terms { margin: 16px 0 0; color: #463351; font-size: 13px; line-height: 19px; }
.gp-more { padding: 56px 0 64px; background: #F3F4F1; }
.gp-more-title { margin: 0 0 32px; color: #180026; font-family: "Poppins", sans-serif; font-size: 24px; font-weight: 600; line-height: 32px; }
.gp-icon-water { --dk-icon: url('/assets/icons/ic_water.svg'); }
.gp-icon-sun { --dk-icon: url('/assets/icons/ic_sun.svg'); }
.gp-icon-longevity { --dk-icon: url('/assets/icons/ic_longevity.svg'); }
.gdiy-link { color: #1D4641; font-size: 14px; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.gdiy-link:hover, .gdiy-link:focus-visible { color: #180026; }
.gp-page { padding: 0; } /* undo the site-wide main { padding: 1rem } */
.gp-terms a { color: #1D4641; text-decoration: underline; text-underline-offset: 3px; }
.gp-terms a:hover, .gp-terms a:focus-visible { color: #180026; }
.gs-thumb--icon { background: var(--gcat-band, #E1ECF5); }
