/*
 * Shuddho storefront design system.
 *
 * ONE file for the whole shop. Order: tokens, base, controls, layout chrome,
 * home page components, product card, listing, product page, cart and
 * checkout, orders and account, search, sign-in, utilities.
 *
 * Brand colours are never written here. --color-* come from Admin → Appearance
 * (partials/theme.blade.php). The dark shades and pale tints of the brand
 * colour are calculated on the server by ThemeService and arrive as
 * --color-primary-dark, -deep, -press, -200, -100, -50 and -25, so an admin
 * colour change restyles the shop without a deployment and nothing here
 * depends on newer CSS colour functions.
 */

/* ---------------------------------------------------------------- tokens */
:root {
    /* Brand green and its shades */
    --green: var(--color-primary);
    --green-dark: var(--color-primary-dark, var(--color-primary));
    --green-deep: var(--color-primary-deep, var(--color-primary));
    --green-press: var(--color-primary-press, var(--color-primary));
    --green-200: var(--color-primary-200, #D6E2DB);
    --green-100: var(--color-primary-100, #E4ECE7);
    --green-50: var(--color-primary-50, #EEF3F0);
    --green-25: var(--color-primary-25, #F6F8F7);
    --on-deep: var(--color-primary-deep-contrast, #fff);
    --ring: 0 0 0 3px var(--color-primary-ring, rgba(0, 0, 0, .18));

    /* Surfaces and text */
    --page: var(--color-background);
    --surface: var(--color-surface);
    --ink: var(--color-text);
    --ink-2: var(--color-muted);
    --ink-3: #55605A;                 /* small text on tinted panels */
    --line: var(--color-border);

    /* Supporting colours (not brand) */
    --warm: #F7F0E4;
    --peach: #FBEBDA;
    --earth: #63340F;
    --sale: #D03D2B;
    --sale-50: #FDEDEA;
    --sale-ink: #A92C1D;         /* red text on the pale red */
    --star: #F5B400;
    --danger: var(--color-error);

    /* Radius: cards follow the admin setting */
    --r-sm: 10px;
    --r-md: var(--radius, 16px);
    --r-lg: calc(var(--radius, 16px) + 4px);
    --r-pill: 999px;
    --r-btn: var(--radius-button, 999px);

    /* Spacing scale */
    --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px; --sp-5: 20px;
    --sp-6: 24px; --sp-7: 32px; --sp-8: 40px; --sp-9: 48px;

    --shadow-card: 0 1px 2px rgba(23, 32, 27, .04), 0 4px 14px rgba(23, 32, 27, .05);
    --shadow-hover: 0 2px 4px rgba(23, 32, 27, .05), 0 10px 24px rgba(23, 32, 27, .08);
    --shadow-raised: 0 -2px 18px rgba(23, 32, 27, .09);
    --shadow-pop: 0 12px 32px rgba(23, 32, 27, .14);

    --header-h: 116px;
    --nav-h: 62px;
    --safe-b: env(safe-area-inset-bottom, 0px);
    --gutter: 16px;

    /* Bootstrap picks these up for its own components. */
    --bs-body-font-family: var(--font-body);
    --bs-body-color: var(--color-text);
    --bs-border-color: var(--color-border);
    --bs-border-radius: var(--r-sm);
}
@media (min-width: 992px) { :root { --header-h: 126px; --gutter: 24px; } }

/* ------------------------------------------------------------------ base */
/* The shop has one, light, look. "only light" also tells phone browsers not to
   darken the page on their own; the plain value is for browsers without it. */
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); color-scheme: light; color-scheme: only light; }
body {
    margin: 0; min-width: 320px; overflow-x: hidden;
    background: var(--page); color: var(--ink);
    font-family: var(--font-body); font-size: 15px; line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}
body.has-bottom-nav { padding-bottom: calc(var(--nav-h) + var(--safe-b)); }
body.has-buybar { padding-bottom: calc(76px + var(--safe-b)); }
body.is-locked { overflow: hidden; }
@media (min-width: 992px) { body.has-bottom-nav, body.has-buybar { padding-bottom: 0; } }

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: var(--font-heading); font-weight: 600; color: var(--ink);
    letter-spacing: -.01em; line-height: 1.25;
}
a { color: var(--green-dark); text-decoration: none; }
a:hover { color: var(--green-deep); }
img { max-width: 100%; }
img.is-placeholder { object-fit: contain !important; padding: 18%; background: var(--green-25); }
label { font-size: 13px; font-weight: 500; color: var(--ink); margin-bottom: 4px; }
hr { border-color: var(--line); opacity: 1; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
/* Bootstrap removes the outline from .btn and relies on a shadow our own
   button classes do not define, so keyboard focus is restored here. */
.btn:focus-visible, .btn-check:focus-visible + .btn { outline: 2px solid var(--green); outline-offset: 2px; box-shadow: none; }
.visually-hidden-focusable:focus { position: fixed; top: 8px; left: 8px; z-index: 2000; background: var(--surface); padding: 8px 12px; border-radius: var(--r-sm); }

.container { --bs-gutter-x: calc(var(--gutter) * 2); max-width: 1320px; }
.s-main { padding-top: var(--sp-4); padding-bottom: var(--sp-7); min-height: 55vh; }
@media (min-width: 992px) { .s-main { padding-top: var(--sp-6); padding-bottom: var(--sp-9); } }

.text-muted-brand { color: var(--ink-2) !important; }

/* -------------------------------------------------------------- controls */
.btn { font-weight: 600; font-size: 15px; border-radius: var(--r-btn); }
.btn-brand, .btn-outline-brand, .btn-soft, .btn-danger-soft {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 44px; padding: 9px 20px; border: 1.5px solid transparent;
    transition: background-color .15s, border-color .15s, color .15s;
}
.btn-sm.btn-brand, .btn-sm.btn-outline-brand, .btn-sm.btn-soft, .btn-sm.btn-danger-soft { min-height: 38px; padding: 6px 14px; font-size: 14px; }
.btn-lg.btn-brand, .btn-lg.btn-outline-brand { min-height: 52px; padding: 12px 24px; font-size: 16px; }
.btn-brand { background: var(--green-deep); border-color: var(--green-deep); color: var(--on-deep); }
.btn-brand:hover, .btn-brand:focus-visible, .btn-brand:active { background: var(--green-press) !important; border-color: var(--green-press) !important; color: var(--on-deep) !important; }
.btn-brand:disabled, .btn-brand.disabled { background: var(--line); border-color: var(--line); color: var(--ink-2); opacity: 1; }
.btn-outline-brand { background: var(--surface); border-color: var(--green-deep); color: var(--green-deep); }
.btn-outline-brand:hover, .btn-outline-brand:focus-visible, .btn-outline-brand:active { background: var(--green-50) !important; border-color: var(--green-deep) !important; color: var(--green-deep) !important; }
.btn-outline-brand:disabled { border-color: var(--line); color: var(--ink-2); }
.btn-soft { background: var(--green-50); color: var(--green-deep); }
.btn-soft:hover { background: var(--green-100); color: var(--green-deep); }
.btn-danger-soft { background: var(--sale-50); border-color: var(--sale-50); color: var(--sale-ink); }
.btn-danger-soft:hover { background: #FBDDD8; border-color: #FBDDD8; color: var(--sale-ink); }
.s-link-btn { background: none; border: 0; padding: 0; color: var(--green-dark); font-weight: 500; font-size: 14px; }
.s-link-btn.is-danger { color: var(--sale); }

.s-iconbtn {
    position: relative; display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; flex: 0 0 44px; border: 0; border-radius: 50%;
    background: transparent; color: var(--ink); font-size: 23px; line-height: 1;
}
.s-iconbtn:hover { background: var(--green-50); color: var(--green-deep); }
.s-count {
    position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px;
    border-radius: var(--r-pill); background: var(--sale); color: #fff;
    font-size: 11px; font-weight: 600; line-height: 18px; text-align: center; font-style: normal;
}
.s-count[hidden] { display: none; }

.form-control, .form-select {
    min-height: 46px; border: 1px solid var(--line); border-radius: var(--r-sm);
    background-color: var(--surface); color: var(--ink); font-size: 15px;
}
textarea.form-control { min-height: 96px; }
.form-control-sm, .form-select-sm { min-height: 38px; font-size: 14px; }
.form-control::placeholder { color: #8A938E; }
.form-control:focus, .form-select:focus { border-color: var(--green); box-shadow: var(--ring); }
.form-control.is-invalid, .form-select.is-invalid { border-color: var(--sale); }
.form-control.is-invalid:focus, .form-select.is-invalid:focus { border-color: var(--sale); box-shadow: 0 0 0 3px rgba(208, 61, 43, .2); }
/* The reason a field was not accepted, directly under it. */
.s-fielderror, .invalid-feedback { color: #8E2217; font-size: 13px; margin-top: 4px; }
.form-check-input { width: 18px; height: 18px; margin-top: 2px; border-color: #A9B2AD; }
.form-check-input:checked { background-color: var(--green-deep); border-color: var(--green-deep); }
.form-check-input:focus { border-color: var(--green); box-shadow: var(--ring); }
.form-check-label { font-size: 14px; font-weight: 400; margin: 0 0 0 4px; }
/* Phones zoom the page when a field's text is under 16px. Keeping fields at
   16px avoids that without switching off pinch zoom. */
@media (max-width: 991.98px) { .form-control, .form-select, .s-search input { font-size: 16px; } }

.alert { border: 1px solid transparent; border-radius: var(--r-md); font-size: 14px; padding: 12px 16px; }
.alert-success { background: var(--green-50); border-color: var(--green-200); color: var(--green-deep); }
.alert-danger { background: var(--sale-50); border-color: #F6CFC9; color: #8E2217; }
.alert-warning { background: #FFF6E0; border-color: #F4DFA6; color: #6B4E00; }
.alert-light { background: var(--green-25); border-color: var(--line) !important; color: var(--ink); }

.breadcrumb { --bs-breadcrumb-divider-color: var(--ink-2); font-size: 13px; flex-wrap: nowrap; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
.breadcrumb::-webkit-scrollbar { display: none; }
.breadcrumb-item.active { color: var(--ink-2); }

.pagination { --bs-pagination-color: var(--ink); --bs-pagination-border-color: var(--line); --bs-pagination-hover-color: var(--green-deep); --bs-pagination-hover-bg: var(--green-50); --bs-pagination-active-bg: var(--green-deep); --bs-pagination-active-border-color: var(--green-deep); --bs-pagination-focus-box-shadow: var(--ring); --bs-pagination-border-radius: var(--r-sm); gap: 6px; flex-wrap: wrap; margin: 0; }
.pagination .page-link { border-radius: var(--r-sm) !important; min-width: 40px; min-height: 40px; display: flex; align-items: center; justify-content: center; font-size: 14px; }
.table { --bs-table-bg: transparent; font-size: 14px; }

/* cards */
.surface, .s-card {
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--r-md); box-shadow: var(--shadow-card);
}
.s-card { padding: var(--sp-4); }
@media (min-width: 768px) { .s-card { padding: var(--sp-5); } }
.s-card + .s-card { margin-top: var(--sp-3); }
.s-card__title { font-size: 16px; font-weight: 600; margin: 0 0 var(--sp-3); }
a.s-card, a.surface { color: inherit; display: block; }
a.s-card:hover, a.surface:hover { border-color: var(--green-200); color: inherit; }

/* pills and status */
.s-pill, .badge-brand {
    display: inline-flex; align-items: center; gap: 4px; max-width: 100%;
    padding: 3px 9px; border-radius: var(--r-pill);
    font-size: 11px; font-weight: 600; line-height: 1.4; white-space: nowrap;
    overflow: hidden; text-overflow: ellipsis;
}
.s-status { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: var(--r-pill); font-size: 12px; font-weight: 600; background: var(--green-50); color: var(--green-deep); white-space: nowrap; }
.s-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.s-status.is-wait { background: #FFF6E0; color: #8A5A00; }
.s-status.is-bad { background: var(--sale-50); color: var(--sale-ink); }
.s-status.is-muted { background: #EEF0EF; color: var(--ink-3); }

/* price and rating */
.s-price { display: flex; flex-wrap: wrap; align-items: center; column-gap: 8px; row-gap: 2px; }
.price, .s-price__now { font-weight: 700; color: var(--ink); font-size: 20px; line-height: 1.2; letter-spacing: -.01em; }
.mrp, .s-price__was { color: var(--ink-2); text-decoration: line-through; font-size: 13px; font-weight: 400; }
.off, .s-price__off { display: inline-flex; align-items: center; padding: 2px 8px; border-radius: var(--r-pill); background: var(--green-100); color: var(--green-deep); font-size: 12px; font-weight: 600; white-space: nowrap; }
.s-price.is-lg .s-price__now { font-size: 26px; letter-spacing: -.02em; }
.s-price.is-lg .s-price__was { font-size: 15px; }
.s-price.is-sm .s-price__now { font-size: 17px; }
.s-rating { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ink-2); line-height: 1; }
.s-rating strong { color: var(--ink); font-weight: 600; }
.s-stars { display: inline-flex; gap: 1px; color: var(--star); font-size: 12px; line-height: 1; }
.s-stars .is-off { color: #DDE2DE; }
.s-stars.is-lg { font-size: 16px; gap: 2px; }

/* ---------------------------------------------------------------- header */
.s-header { position: sticky; top: 0; z-index: 1020; background: var(--surface); border-bottom: 1px solid var(--line); padding-top: env(safe-area-inset-top, 0px); }
.s-header__bar { display: flex; align-items: center; gap: 4px; height: 56px; }
.s-logo { display: inline-flex; align-items: center; margin-right: auto; height: 46px; }
.s-logo img { height: 46px; width: auto; max-width: 160px; object-fit: contain; }
/* A square logo file (wordmark with empty space above and below) is cropped
   to its middle band so the name stays readable. Set by storefront.js. */
.s-logo img.is-square { width: 128px; object-fit: cover; }
.s-header__actions { display: flex; align-items: center; gap: 2px; }
.s-header__search { padding-bottom: 12px; }

/* Search: bordered field with the green button closing its right end. */
.s-searchform { position: relative; display: block; width: 100%; margin: 0; }
.s-search { display: flex; align-items: stretch; width: 100%; height: 48px; background: var(--surface); border: 1px solid #DCE1DD; border-radius: var(--r-md); overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.s-searchform:focus-within .s-search { border-color: var(--green); box-shadow: var(--ring); }
.s-search > i { align-self: center; margin-left: 14px; color: var(--ink); font-size: 18px; }
.s-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; padding: 0 10px; font-size: 15px; color: var(--ink); }
.s-search input::placeholder { color: #8A938E; }
.s-search input::-webkit-search-cancel-button { display: none; }
.s-search button { flex: 0 0 54px; border: 0; background: var(--green-deep); color: var(--on-deep); font-size: 18px; }
.s-search button:hover { background: var(--green-press); }
.s-search button:focus-visible { outline-offset: -3px; outline-color: #fff; }

.s-suggestbox { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 1035; padding: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-pop); max-height: 60vh; overflow-y: auto; }
.s-suggestbox[hidden] { display: none; }
.s-suggestbox a { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 6px 10px; border-radius: var(--r-sm); color: var(--ink); font-size: 14px; line-height: 1.3; }
.s-suggestbox a:hover, .s-suggestbox a.is-active { background: var(--green-50); color: var(--green-deep); }
.s-suggestbox i { flex: 0 0 18px; text-align: center; color: var(--ink-2); font-size: 15px; }
.s-suggestbox small { margin-left: auto; padding-left: 10px; color: var(--ink-2); font-size: 12px; white-space: nowrap; }

.s-catnav { display: none; }
@media (min-width: 992px) {
    .s-header__bar { height: 78px; gap: var(--sp-6); }
    .s-logo { margin-right: 0; height: 58px; }
    .s-logo img { height: 58px; max-width: 200px; }
    .s-logo img.is-square { width: 164px; }
    .s-header__bar .s-searchform { flex: 1; max-width: 640px; margin: 0 auto; }
    .s-header__actions { gap: var(--sp-2); }
    .s-action { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 12px; border-radius: var(--r-pill); color: var(--ink); font-size: 14px; font-weight: 500; }
    .s-action i { font-size: 21px; }
    .s-action:hover { background: var(--green-50); color: var(--green-deep); }
    .s-action .s-count { position: static; margin-left: -2px; }
    .s-header__actions .s-iconbtn { width: auto; flex: 0 0 auto; font-size: 14px; }
    .s-catnav { display: block; border-top: 1px solid var(--line); }
    .s-catnav__row { display: flex; align-items: center; gap: var(--sp-5); height: 46px; font-size: 14px; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
    .s-catnav__row::-webkit-scrollbar { display: none; }
    .s-catnav__row a { color: var(--ink); font-weight: 500; padding: 4px 0; border-bottom: 2px solid transparent; }
    .s-catnav__row a:hover, .s-catnav__row a.is-active { color: var(--green-deep); border-bottom-color: var(--green-deep); }
    .s-catnav__all { display: inline-flex; align-items: center; gap: 6px; }
    .s-catnav__end { margin-left: auto; padding-left: var(--sp-5); flex: 0 0 auto; display: flex; align-items: center; gap: var(--sp-5); }
    .s-catnav__sell { display: none; }
}
@media (min-width: 1200px) { .s-catnav__sell { display: inline; } }

/* marketplace section switch (Normal / Premium …) */
.s-segments { display: inline-flex; padding: 3px; gap: 2px; background: var(--green-50); border-radius: var(--r-pill); max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.s-segments::-webkit-scrollbar { display: none; }
.s-segments a { padding: 5px 14px; border-radius: var(--r-pill); font-size: 13px; font-weight: 500; color: var(--green-deep) !important; border: 0 !important; white-space: nowrap; }
.s-segments a.is-active { background: var(--surface); box-shadow: 0 1px 3px rgba(23, 32, 27, .12); font-weight: 600; }

.s-strip { display: flex; align-items: center; gap: 10px; padding: 9px var(--gutter); background: var(--green-deep); color: #fff; font-size: 13px; line-height: 1.3; }
.s-strip:hover { color: #fff; background: var(--green-press); }
.s-strip__text { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.s-strip__more { flex: 0 0 auto; font-weight: 600; text-decoration: underline; }

/* ---------------------------------------------------- sheets and drawers */
.s-backdrop { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 1040; background: rgba(15, 25, 19, .45); opacity: 0; transition: opacity .2s; }
.s-backdrop.is-open { opacity: 1; }
.s-sheet { position: fixed; z-index: 1050; background: var(--surface); display: flex; flex-direction: column; transition: transform .24s ease; visibility: hidden; }
.s-sheet.is-open { visibility: visible; transform: none !important; }
.s-sheet--left { top: 0; bottom: 0; left: 0; width: 86vw; max-width: 340px; transform: translateX(-102%); padding-top: env(safe-area-inset-top, 0px); }
.s-sheet--bottom { left: 0; right: 0; bottom: 0; max-height: 86vh; transform: translateY(102%); border-radius: var(--r-lg) var(--r-lg) 0 0; padding-bottom: var(--safe-b); }
.s-sheet__head { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); padding: var(--sp-3) var(--sp-3) var(--sp-3) var(--sp-4); border-bottom: 1px solid var(--line); }
.s-sheet__head h2 { font-size: 17px; margin: 0; }
.s-sheet__body { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: var(--sp-4); }
@media (prefers-reduced-motion: reduce) { .s-sheet, .s-backdrop { transition: none; } }

.s-menu__user { display: flex; align-items: center; gap: var(--sp-3); padding: var(--sp-4); background: var(--green-50); border-radius: var(--r-md); color: var(--ink); margin-bottom: var(--sp-4); }
.s-menu__user:hover { color: var(--ink); }
.s-menu__user small { display: block; color: var(--ink-3); font-size: 13px; }
.s-menu__label { font-size: 12px; font-weight: 600; color: var(--ink-2); margin: var(--sp-5) 0 var(--sp-1); padding: 0 var(--sp-2); }
.s-menu__list { list-style: none; margin: 0; padding: 0; }
.s-menu__list a, .s-menu__list button { display: flex; align-items: center; gap: var(--sp-3); width: 100%; min-height: 46px; padding: 0 var(--sp-2); border: 0; background: none; border-radius: var(--r-sm); color: var(--ink); font-size: 15px; text-align: left; }
.s-menu__list a:hover, .s-menu__list button:hover { background: var(--green-50); }
.s-menu__list i { width: 22px; font-size: 19px; color: var(--green-deep); text-align: center; }
.s-menu__list .bi-chevron-right { margin-left: auto; font-size: 13px; color: var(--ink-2); }

.s-avatar { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 48px; height: 48px; border-radius: 50%; background: var(--green-deep); color: var(--on-deep); font-weight: 600; font-size: 18px; }
.s-avatar.is-lg { width: 64px; height: 64px; font-size: 24px; }

/* ----------------------------------------------------------- bottom nav */
.s-bottomnav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1030; display: flex; background: var(--surface); border-top: 1px solid var(--line); box-shadow: var(--shadow-raised); padding-bottom: var(--safe-b); }
.s-bottomnav a { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; height: var(--nav-h); color: var(--ink-2); font-size: 11px; font-weight: 500; }
.s-bottomnav i { font-size: 23px; line-height: 1; }
.s-bottomnav a.is-active { color: var(--green-deep); font-weight: 600; }
.s-bottomnav .s-count { top: 5px; right: 50%; margin-right: -24px; }
@media (min-width: 992px) { .s-bottomnav { display: none; } }
body.has-buybar .s-bottomnav { display: none; }

/* ---------------------------------------------------------------- footer */
.s-footer { background: var(--green-deep); color: rgba(255, 255, 255, .8); margin-top: var(--sp-7); font-size: 14px; }
.s-footer a { color: inherit; }
.s-footer a:hover { color: #fff; text-decoration: underline; }
.s-footer__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-6) var(--sp-4); padding-top: var(--sp-7); padding-bottom: var(--sp-6); }
.s-footer__brand { grid-column: 1 / -1; }
.s-footer__name { color: #fff; font-family: var(--font-display); font-size: 24px; font-weight: 700; margin: 0 0 4px; }
.s-footer h3 { color: #fff; font-size: 14px; font-weight: 600; margin: 0 0 var(--sp-3); }
.s-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.s-footer__social { display: flex; gap: 8px; margin-top: var(--sp-4); }
.s-footer__social a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .12); font-size: 17px; }
.s-footer__social a:hover { background: rgba(255, 255, 255, .22); text-decoration: none; }
.s-footer__base { border-top: 1px solid rgba(255, 255, 255, .16); padding: var(--sp-4) 0; font-size: 13px; display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-5); justify-content: space-between; }
@media (min-width: 768px) { .s-footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } .s-footer__brand { grid-column: auto; max-width: 320px; } }

/* ------------------------------------------------------ install banner */
.s-install { display: flex; align-items: center; gap: var(--sp-3); margin: var(--sp-3) var(--gutter) 0; padding: var(--sp-3); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-card); }
.s-install[hidden] { display: none; }
.s-install img { width: 42px; height: 42px; border-radius: var(--r-sm); }
.s-install__copy { flex: 1; min-width: 0; line-height: 1.3; }
.s-install__copy strong { display: block; font-size: 14px; }
.s-install__copy span { font-size: 12px; color: var(--ink-2); }
@media (min-width: 768px) { .s-install { display: none !important; } }
html.pwa-standalone .s-install { display: none !important; }

/* ----------------------------------------------------------------- toast */
.s-toasts { position: fixed; left: 50%; bottom: calc(var(--nav-h) + var(--safe-b) + 14px); transform: translateX(-50%); z-index: 1080; display: grid; gap: 8px; width: 92vw; max-width: 380px; pointer-events: none; }
body.has-buybar .s-toasts { bottom: calc(86px + var(--safe-b)); }
@media (min-width: 992px) { .s-toasts, body.has-buybar .s-toasts { bottom: 28px; } }
.s-toast { pointer-events: auto; display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: var(--ink); color: #fff; border-radius: var(--r-md); font-size: 14px; box-shadow: 0 8px 28px rgba(0, 0, 0, .22); animation: s-rise .2s ease; }
.s-toast i { font-size: 18px; color: var(--green-100); }
.s-toast.is-error i { color: #FFB4A8; }
.s-toast a { margin-left: auto; color: #fff; font-weight: 600; text-decoration: underline; white-space: nowrap; }
@keyframes s-rise { from { opacity: 0; transform: translateY(8px); } }
@media (prefers-reduced-motion: reduce) { .s-toast { animation: none; } }

/* ------------------------------------------------------- section heading */
.s-section { margin-top: var(--sp-6); }
.s-section:first-child { margin-top: 0; }
@media (min-width: 992px) { .s-section { margin-top: var(--sp-9); } }
.s-head { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); margin-bottom: var(--sp-3); }
.s-head h1, .s-head h2 { font-size: 22px; font-weight: 700; margin: 0; }
.s-head p { margin: 2px 0 0; font-size: 13px; color: var(--ink-2); }
.s-head__more { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 12px; border-radius: var(--r-pill); background: var(--green-50); color: var(--green-deep); font-size: 13px; font-weight: 600; white-space: nowrap; }
.s-head__more:hover { background: var(--green-100); color: var(--green-deep); }
@media (min-width: 992px) { .s-head h1, .s-head h2 { font-size: 28px; } .s-head p { font-size: 15px; } .s-head { margin-bottom: var(--sp-5); } .s-head__more { min-height: 38px; padding: 0 16px; font-size: 14px; } }

.s-pagehead { margin-bottom: var(--sp-4); }
.s-pagehead h1 { font-size: 22px; font-weight: 700; margin: 0; }
.s-pagehead p { margin: 4px 0 0; color: var(--ink-2); font-size: 14px; max-width: 70ch; }
.s-pagehead__row { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); flex-wrap: wrap; }
.s-back { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; margin-bottom: var(--sp-2); }
@media (min-width: 992px) { .s-pagehead { margin-bottom: var(--sp-6); } .s-pagehead h1 { font-size: 28px; } }

.s-empty { text-align: center; padding: var(--sp-9) var(--sp-4); background: var(--surface); border: 1px dashed var(--green-200); border-radius: var(--r-md); }
.s-empty__icon { display: inline-flex; align-items: center; justify-content: center; width: 72px; height: 72px; border-radius: 50%; background: var(--green-50); color: var(--green-deep); font-size: 30px; margin-bottom: var(--sp-4); }
.s-empty h2 { font-size: 18px; margin: 0 0 6px; }
.s-empty p { color: var(--ink-2); font-size: 14px; margin: 0 auto var(--sp-4); max-width: 42ch; }

/* ------------------------------------------------------------------ hero
   A wide photo fills the banner; the words sit on its light left side.
   A soft fade in the page colour keeps them readable on any photo. */
.s-hero { position: relative; }
.s-hero__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: var(--r-lg); scrollbar-width: none; }
.s-hero__track::-webkit-scrollbar { display: none; }
.s-hero__slide { position: relative; flex: 0 0 100%; scroll-snap-align: start; display: flex; align-items: center; min-height: 208px; overflow: hidden; color: var(--ink); background: linear-gradient(120deg, var(--warm) 0%, var(--green-50) 100%); }
.s-hero__slide:hover { color: var(--ink); }
.s-hero__img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.s-hero__slide.has-copy::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 82%; z-index: 1; background: linear-gradient(90deg, var(--page) 0%, var(--page) 34%, transparent 100%); opacity: .94; }
.s-hero__copy { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; width: 62%; padding: var(--sp-4) 0 28px var(--sp-4); }
.s-hero__kicker { font-size: 9.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); line-height: 1.5; margin-bottom: 4px; }
.s-hero__title { font-family: var(--font-display); font-size: 27px; font-weight: 700; line-height: 1.02; letter-spacing: -.01em; color: var(--green-deep); margin: 0; }
.s-hero__title span { color: var(--earth); }
.s-hero__text { font-size: 12.5px; line-height: 1.4; color: var(--ink); margin: 8px 0 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.s-hero__cta { margin-top: 10px; min-height: 36px; padding: 5px 16px; font-size: 13.5px; border-radius: var(--r-pill); }
.s-hero__slide.is-image { display: block; min-height: 0; }
.s-hero__slide.is-image .s-hero__img { position: static; display: block; height: auto; aspect-ratio: 16 / 9; object-position: center; }
/* Shapes for the plain hero shown while no banner has been uploaded. */
.s-hero__leaf { position: absolute; right: -8%; top: 50%; width: 58%; padding-bottom: 58%; transform: translateY(-50%) rotate(-18deg); border-radius: 4% 96% 6% 94% / 6% 94% 6% 94%; background: linear-gradient(135deg, var(--green-100), var(--green-200)); }
.s-hero__leaf + .s-hero__leaf { right: 26%; top: 80%; width: 26%; padding-bottom: 26%; transform: translateY(-50%) rotate(40deg); opacity: .7; }
.s-hero__dots { position: absolute; left: 0; right: 0; bottom: 10px; z-index: 3; display: flex; justify-content: center; gap: 7px; pointer-events: none; }
.s-hero__dots button { pointer-events: auto; width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px rgba(23, 32, 27, .12); }
.s-hero__dots button[aria-current="true"] { background: var(--green-deep); box-shadow: none; }
.s-hero__arrow { display: none; }
@media (min-width: 400px) { .s-hero__title { font-size: 30px; } .s-hero__slide { min-height: 220px; } .s-hero__kicker { font-size: 10px; } .s-hero__text { font-size: 13px; } }
@media (min-width: 768px) {
    .s-hero__slide { min-height: 340px; }
    .s-hero__copy { width: 52%; padding: var(--sp-8) 0 var(--sp-9) var(--sp-8); }
    .s-hero__slide.has-copy::before { width: 68%; }
    .s-hero__kicker { font-size: 12px; margin-bottom: 10px; }
    .s-hero__copy { width: 52%; }
    .s-hero__title { font-size: 52px; }
    .s-hero__text { font-size: 16px; -webkit-line-clamp: 4; margin-top: 14px; max-width: 34ch; }
    .s-hero__cta { margin-top: var(--sp-5); min-height: 48px; padding: 10px 26px; font-size: 16px; }
    .s-hero__slide.is-image .s-hero__img { aspect-ratio: 3 / 1; }
    .s-hero__leaf { width: 40%; padding-bottom: 40%; right: 2%; }
    .s-hero__dots { bottom: 14px; }
    .s-hero__arrow { display: inline-flex; position: absolute; top: 50%; margin-top: -20px; width: 40px; height: 40px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); color: var(--ink); box-shadow: var(--shadow-card); z-index: 3; }
    .s-hero__arrow.is-prev { left: -14px; } .s-hero__arrow.is-next { right: -14px; }
    .s-hero__arrow:hover { background: var(--green-50); color: var(--green-deep); }
}
@media (min-width: 1200px) { .s-hero__slide { min-height: 420px; } .s-hero__title { font-size: 64px; } .s-hero__copy { padding-left: var(--sp-9); } }

/* Offer strip: a second, shallower banner placed by the administrator. */
.s-promo { position: relative; display: flex; align-items: center; min-height: 112px; overflow: hidden; border-radius: var(--r-md); background: var(--warm); color: var(--ink); }
.s-promo:hover { color: var(--ink); }
.s-promo__img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.s-promo.has-copy::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 78%; z-index: 1; background: linear-gradient(90deg, var(--warm) 0%, var(--warm) 30%, transparent 100%); opacity: .94; }
.s-promo__copy { position: relative; z-index: 2; width: 62%; padding: var(--sp-4) 0 var(--sp-4) var(--sp-4); }
.s-promo__title { font-family: var(--font-display); font-size: 20px; font-weight: 700; line-height: 1.1; color: var(--earth); margin: 0; }
.s-promo__text { font-size: 12px; line-height: 1.4; color: var(--ink); margin: 4px 0 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.s-promo__cta { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; min-height: 32px; padding: 0 14px; border-radius: var(--r-pill); background: var(--green-deep); color: var(--on-deep); font-size: 13px; font-weight: 600; }
.s-promo.is-image { display: block; min-height: 0; }
.s-promo.is-image .s-promo__img { position: static; display: block; height: auto; }
@media (min-width: 768px) { .s-promo { min-height: 190px; } .s-promo__copy { width: 48%; padding-left: var(--sp-8); } .s-promo__title { font-size: 34px; } .s-promo__text { font-size: 15px; margin-top: 8px; } .s-promo__cta { min-height: 40px; padding: 0 20px; font-size: 15px; margin-top: 14px; } }

/* ------------------------------------------------------------ categories */
.s-cats { display: flex; gap: var(--sp-2); overflow-x: auto; margin: 0 calc(var(--gutter) * -1); padding: 2px var(--gutter) 6px; scroll-snap-type: x proximity; scroll-padding-left: var(--gutter); scrollbar-width: none; }
.s-cats::-webkit-scrollbar { display: none; }
.s-cat { flex: 0 0 72px; scroll-snap-align: start; display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--ink); text-align: center; }
.s-cat__img { display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 50%; overflow: hidden; background: var(--green-50); color: var(--green-deep); font-size: 26px; font-weight: 600; transition: box-shadow .15s; }
.s-cat:nth-child(even) .s-cat__img { background: var(--peach); }
.s-cat__img img { width: 100%; height: 100%; object-fit: cover; }
.s-cat__name { font-size: 12px; font-weight: 500; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.s-cat:hover { color: var(--green-deep); }
.s-cat:hover .s-cat__img { box-shadow: 0 0 0 2px var(--green-200); }
.s-cat.is-active .s-cat__img { background: var(--green-100); }
.s-cat.is-active .s-cat__name { color: var(--green-deep); font-weight: 600; }
.s-cat.is-active::after { content: ""; width: 100%; max-width: 56px; height: 3px; margin-top: -3px; border-radius: 3px; background: var(--green-deep); }
@media (min-width: 768px) { .s-cats { gap: var(--sp-4); } .s-cat { flex-basis: 108px; gap: 10px; } .s-cat__img { width: 92px; height: 92px; font-size: 34px; } .s-cat__name { font-size: 14px; } .s-cat.is-active::after { max-width: 72px; } }
@media (min-width: 1200px) { .s-cats { flex-wrap: wrap; justify-content: center; overflow: visible; margin: 0; padding: 0; gap: var(--sp-6) var(--sp-7); } }

/* Category list: rows on phones, tiles on wider screens. */
.s-catlist { display: grid; gap: var(--sp-2); }
.s-catrow { display: flex; align-items: center; gap: var(--sp-3); min-height: 72px; padding: 10px var(--sp-3); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); color: var(--ink); min-width: 0; box-shadow: var(--shadow-card); }
.s-catrow:hover { border-color: var(--green-200); color: var(--green-deep); }
.s-catrow .s-cat__img { flex: 0 0 50px; width: 50px; height: 50px; border-radius: 14px; font-size: 22px; }
.s-catrow:nth-child(even) .s-cat__img { background: var(--peach); }
.s-catrow__text { flex: 1; min-width: 0; }
.s-catrow strong { display: block; font-size: 15px; font-weight: 600; line-height: 1.25; }
.s-catrow small { display: block; color: var(--ink-2); font-size: 12px; line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s-catrow > .bi-chevron-right { color: var(--ink-2); font-size: 13px; }
@media (min-width: 768px) { .s-catlist { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-4); } }
@media (min-width: 1200px) { .s-catlist { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.s-chips { display: flex; gap: 8px; overflow-x: auto; margin: 0 calc(var(--gutter) * -1) var(--sp-4); padding: 0 var(--gutter); scrollbar-width: none; }
.s-chips::-webkit-scrollbar { display: none; }
.s-chip { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--surface); color: var(--ink); font-size: 13px; font-weight: 500; white-space: nowrap; }
.s-chip:hover, .s-chip.is-active { border-color: var(--green-deep); background: var(--green-50); color: var(--green-deep); }
button.s-chip { cursor: pointer; }
/* Links between a seller's pages. */
.s-sellernav { margin-bottom: var(--sp-5); }
.s-sellernav .s-chip { min-height: 40px; font-size: 14px; }

/* -------------------------------------------------------------- benefits
   One tinted strip, four across, icon above the words. */
.s-benefits { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: var(--sp-3) 0; background: var(--green-50); border-radius: var(--r-md); }
.s-benefits.is-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.s-benefits.is-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.s-benefits.is-1 { grid-template-columns: minmax(0, 1fr); }
.s-benefit { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 2px 6px; min-width: 0; }
.s-benefit + .s-benefit { border-left: 1px solid var(--green-200); }
.s-benefit i { font-size: 24px; line-height: 1; color: var(--green-deep); margin-bottom: 6px; }
.s-benefit strong { font-size: 12px; font-weight: 600; line-height: 1.25; color: var(--ink); overflow-wrap: anywhere; }
.s-benefit small { font-size: 11px; line-height: 1.3; color: var(--ink-3); margin-top: 2px; overflow-wrap: anywhere; }
@media (min-width: 768px) { .s-benefits { padding: var(--sp-5) 0; } .s-benefit { padding: 2px var(--sp-4); } .s-benefit i { font-size: 30px; margin-bottom: 8px; } .s-benefit strong { font-size: 15px; } .s-benefit small { font-size: 13px; } }

/* ---------------------------------------------------------- product card */
.p-card { position: relative; display: flex; flex-direction: column; height: 100%; min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-card); transition: border-color .15s, box-shadow .15s; container-type: inline-size; }
.p-card:hover { border-color: var(--green-200); box-shadow: var(--shadow-hover); }
.p-card__media { position: relative; display: block; margin: 6px 6px 0; border-radius: calc(var(--r-md) - 5px); aspect-ratio: 1 / 1; background: var(--green-25); overflow: hidden; }
.p-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.p-card__tag { position: absolute; top: 8px; left: 8px; z-index: 2; padding: 3px 9px; border-radius: var(--r-pill); background: var(--green-deep); color: var(--on-deep); font-size: 10.5px; font-weight: 700; line-height: 1.5; letter-spacing: .02em; text-transform: uppercase; }
.p-card__tag.is-out { background: var(--ink); color: #fff; }
.p-card__tag.is-flag { background: var(--surface); color: var(--green-deep); box-shadow: 0 1px 3px rgba(23, 32, 27, .16); }
.p-card__wish { position: absolute; top: 6px; right: 6px; z-index: 2; margin: 0; }
.s-wish { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border: 0; border-radius: 50%; background: #fff; color: var(--ink); font-size: 16px; box-shadow: 0 1px 4px rgba(23, 32, 27, .16); }
.s-wish:hover { color: var(--sale); }
.s-wish.is-active { color: var(--sale); }
.p-card__body { display: flex; flex-direction: column; gap: 6px; flex: 1; padding: 10px 10px 12px; }
.p-card__chips { position: absolute; left: 6px; right: 6px; bottom: 6px; z-index: 2; display: flex; gap: 4px; min-width: 0; pointer-events: none; }
.p-card__chips .s-pill { flex: 0 1 auto; min-width: 0; max-width: 100%; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 10.5px; padding: 2px 8px; box-shadow: 0 1px 3px rgba(23, 32, 27, .18); }
.p-card__name { color: var(--ink); font-size: 14px; font-weight: 600; line-height: 1.35; min-height: 2.7em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.p-card__name:hover { color: var(--green-deep); }
.p-card__rating { min-height: 14px; display: flex; align-items: center; }
.p-card .s-price { margin-top: auto; column-gap: 6px; }
.p-card .s-price__off { font-size: 11px; padding: 2px 6px; }
.p-card__buy { margin: 4px 0 0; }
.p-card__btn { width: 100%; min-height: 40px; padding: 6px 8px; font-size: 14px; border-radius: 10px; border-radius: min(var(--r-btn), 10px); white-space: nowrap; }
.p-card__btn.is-busy { opacity: .7; pointer-events: none; }
/* On a narrow card the "% off" already shows on the photo; drop the second copy. */
@container (max-width: 169px) { .p-card .s-price__off { display: none; } }
@media (min-width: 400px) { .p-card__name { font-size: 15px; } }
@media (min-width: 768px) { .p-card__media { margin: 8px 8px 0; } .p-card__body { padding: 12px 14px 14px; gap: 8px; } .p-card__name { font-size: 15px; } .p-card .s-price__now { font-size: 22px; } .p-card .s-price__off { font-size: 12px; padding: 2px 8px; } .p-card__chips { left: 8px; right: 8px; bottom: 8px; } .p-card__btn { min-height: 44px; font-size: 15px; } .p-card__tag { top: 10px; left: 10px; font-size: 11px; padding: 4px 10px; } .p-card__wish { top: 8px; right: 8px; } .s-wish { width: 36px; height: 36px; font-size: 17px; } }

/* grid for listings, rail for home rows */
.p-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 768px) { .p-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-4); } }
@media (min-width: 992px) { .p-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-5); } .p-grid.has-side { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .p-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } .p-grid.has-side { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.p-rail { display: grid; grid-auto-flow: column; grid-auto-columns: 46%; gap: 12px; overflow-x: auto; margin: 0 calc(var(--gutter) * -1); padding: 2px var(--gutter) 10px; scroll-snap-type: x proximity; scroll-padding-left: var(--gutter); scrollbar-width: none; }
.p-rail::-webkit-scrollbar { display: none; }
.p-rail > * { scroll-snap-align: start; }
@media (min-width: 576px) { .p-rail { grid-auto-columns: 31%; } }
@media (min-width: 768px) { .p-rail { grid-auto-columns: 23.5%; gap: var(--sp-4); } }
/* Desktop shows one tidy row; "View all" leads to the rest. */
@media (min-width: 1200px) { .p-rail > :nth-child(n+6) { display: none; } .p-rail { grid-auto-flow: row; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--sp-5); overflow: visible; margin: 0; padding: 0; } }

/* -------------------------------------------------------- listing pages */
.s-toolbar { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); margin-bottom: var(--sp-4); }
.s-toolbar__count { font-size: 13px; color: var(--ink-2); }
.s-toolbar__actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.s-sort { display: flex; align-items: center; gap: 8px; margin: 0; }
.s-sort label { margin: 0; font-size: 13px; color: var(--ink-2); font-weight: 400; }
.s-sort select { min-height: 40px; width: auto; border-radius: var(--r-pill); font-size: 14px; padding-left: 14px; }
.s-toolbar .btn { min-height: 40px; }
.s-filter-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--sale); }
.s-listing { display: grid; gap: var(--sp-6); }
.s-listing__side { display: none; }
@media (min-width: 992px) { .s-listing.has-side { grid-template-columns: 264px minmax(0, 1fr); align-items: start; } .s-listing__side { display: block; position: sticky; top: calc(var(--header-h) + 16px); } .s-filter-open { display: none !important; } }
@media (max-width: 575.98px) { .s-sort label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } }

.s-filters { font-size: 14px; }
.s-filters details { border-bottom: 1px solid var(--line); }
.s-filters summary { display: flex; align-items: center; justify-content: space-between; min-height: 48px; font-weight: 600; font-size: 14px; cursor: pointer; list-style: none; }
.s-filters summary::-webkit-details-marker { display: none; }
.s-filters summary::after { content: "\F282"; font-family: "bootstrap-icons"; font-size: 13px; color: var(--ink-2); transition: transform .15s; }
.s-filters details[open] summary::after { transform: rotate(180deg); }
.s-filters__body { padding: 0 0 var(--sp-4); display: grid; gap: 10px; max-height: 260px; overflow-y: auto; }
.s-filters .form-check { display: flex; align-items: flex-start; gap: 6px; padding: 0; margin: 0; min-height: 26px; }
.s-filters .form-check-input { margin-left: 0; flex: 0 0 18px; }
.s-filters__price { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; color: var(--ink-2); }
.s-filters__actions { display: grid; gap: 8px; padding-top: var(--sp-4); }
.s-listing__side .s-filters { padding: 4px var(--sp-4) var(--sp-4); }

/* ---------------------------------------------------------- product page */
.pd { display: grid; gap: var(--sp-5); }
/* Tablets: picture beside the details, so the page is not one huge photo. */
@media (min-width: 768px) { .pd { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--sp-6); align-items: start; } }
@media (min-width: 992px) { .pd { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--sp-8); } .pd__gallery { position: sticky; top: calc(var(--header-h) + 16px); } }
.pd__stage { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.product-main-image { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: contain; background: var(--surface); }
.gallery-prev, .gallery-next { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 50%; background: rgba(255, 255, 255, .94); color: var(--ink); box-shadow: var(--shadow-card); }
.gallery-prev { left: 10px; } .gallery-next { right: 10px; }
.pd__tools { position: absolute; top: 10px; right: 10px; display: grid; gap: 8px; z-index: 2; }
.pd__tools form { margin: 0; }
.pd__back { position: absolute; top: 10px; left: 10px; z-index: 2; }
@media (min-width: 992px) { .pd__back { display: none; } }
.pd__thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.pd__thumbs::-webkit-scrollbar { display: none; }
.gallery-thumb { flex: 0 0 auto; padding: 0; border: 2px solid transparent; border-radius: 12px; background: none; overflow: hidden; line-height: 0; }
.gallery-thumb:hover, .gallery-thumb:focus-visible, .gallery-thumb.active { border-color: var(--green-deep); }
.thumb-image { width: 64px; height: 64px; object-fit: cover; border-radius: 9px; }
.pd__brand { font-size: 13px; font-weight: 600; }
.product-page-title { font-size: 22px; line-height: 1.25; margin: 4px 0 8px; font-weight: 700; }
@media (min-width: 992px) { .product-page-title { font-size: 30px; } }
.pd__ratingrow { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: var(--sp-3); font-size: 13px; }
.pd__badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: var(--sp-3); }
.pd__price { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.pd__price .price { font-size: 30px; letter-spacing: -.02em; line-height: 1.1; }
.pd__price .mrp { font-size: 16px; }
.pd__price .off { font-size: 13px; padding: 3px 10px; }
.pd__price .off:empty, .pd__price .mrp:empty { display: none; }
.pd__tax { font-size: 12px; color: var(--ink-2); margin: 4px 0 var(--sp-4); }
.pd__lead { font-size: 15px; color: var(--ink); margin-bottom: var(--sp-4); max-width: 60ch; }
.pd__label { font-size: 14px; font-weight: 600; margin-bottom: 8px; display: block; }
.pd__variants { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: var(--sp-5); }
.variant-choice { min-height: 42px; padding: 8px 16px; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: var(--surface); color: var(--ink); font-size: 14px; font-weight: 500; }
.variant-choice:hover { border-color: var(--green-deep); }
.variant-choice.active { border-color: var(--green-deep); background: var(--green-50); color: var(--green-deep); font-weight: 600; }
.pd__qtyrow { display: flex; align-items: center; gap: var(--sp-3); flex-wrap: wrap; margin-bottom: var(--sp-4); }
.qty-control { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--surface); overflow: hidden; }
.qty-control button { width: 42px; height: 42px; border: 0; background: transparent; color: var(--ink); font-size: 18px; line-height: 1; }
.qty-control button:hover { background: var(--green-50); color: var(--green-deep); }
.qty-control input, .qty-control span { width: 38px; height: 42px; border: 0; background: transparent; text-align: center; font-weight: 600; font-size: 15px; color: var(--ink); padding: 0; display: inline-flex; align-items: center; justify-content: center; }
#stock-note { font-size: 13px; }
.pd__actions { display: none; gap: var(--sp-3); }
.pd__actions .btn { flex: 1; }
@media (min-width: 992px) { .pd__actions { display: flex; } }
.pd__facts { margin: var(--sp-5) 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.pd__fact { display: flex; gap: var(--sp-3); align-items: flex-start; padding: 12px var(--sp-4); font-size: 14px; }
.pd__fact + .pd__fact { border-top: 1px solid var(--line); }
.pd__fact i { color: var(--green-deep); font-size: 19px; line-height: 1.3; }
.pd__fact strong { display: block; font-weight: 600; }
.pd__fact span { color: var(--ink-2); font-size: 13px; }
.s-buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1030; display: flex; gap: 10px; padding: 10px var(--gutter) calc(10px + var(--safe-b)); background: var(--surface); border-top: 1px solid var(--line); box-shadow: var(--shadow-raised); }
.s-buybar form { flex: 1; margin: 0; min-width: 0; }
.s-buybar .btn { width: 100%; min-height: 50px; padding: 6px 10px; font-size: 15px; white-space: nowrap; }
.s-buybar #mobile-buy-price { font-weight: 500; opacity: .9; }
@media (min-width: 992px) { .s-buybar { display: none; } }
.pd-section { margin-top: var(--sp-7); }
.pd-section > h2 { font-size: 20px; font-weight: 700; margin: 0 0 var(--sp-4); }
@media (min-width: 992px) { .pd-section { margin-top: var(--sp-9); } .pd-section > h2 { font-size: 24px; } }
.pd-specs { margin: 0; display: grid; grid-template-columns: minmax(110px, 34%) 1fr; font-size: 14px; }
.pd-specs dt, .pd-specs dd { margin: 0; padding: 10px 0; border-bottom: 1px solid var(--line); }
.pd-specs dt { color: var(--ink-2); font-weight: 400; padding-right: var(--sp-3); }
.pd-specs dt:nth-last-of-type(1), .pd-specs dd:last-of-type { border-bottom: 0; }
.product-page-description { font-size: 15px; line-height: 1.65; max-width: 78ch; overflow-wrap: anywhere; }
.product-page-description img, .s-prose img { max-width: 100%; height: auto; border-radius: var(--r-sm); }
.s-prose { font-size: 15px; line-height: 1.7; max-width: 78ch; overflow-wrap: anywhere; }
.s-prose h2 { font-size: 20px; margin-top: 1.6em; } .s-prose h3 { font-size: 17px; margin-top: 1.4em; }
.pd-review { padding: var(--sp-4) 0; border-bottom: 1px solid var(--line); }
.pd-review:last-child { border-bottom: 0; padding-bottom: 0; } .pd-review:first-child { padding-top: 0; }
.pd-review__who { font-size: 13px; color: var(--ink-2); margin: 4px 0 8px; }
.pd-score { display: flex; align-items: center; gap: var(--sp-4); margin-bottom: var(--sp-4); padding-bottom: var(--sp-4); border-bottom: 1px solid var(--line); }
.pd-score__num { font-size: 40px; font-weight: 700; line-height: 1; letter-spacing: -.02em; }
.pd-video video, .pd-video iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--r-md); background: #000; }

/* ------------------------------------------------------ cart and checkout */
.s-two { display: grid; gap: var(--sp-4); }
@media (min-width: 992px) { .s-two { grid-template-columns: minmax(0, 1fr) 380px; gap: var(--sp-6); align-items: start; } .s-two__side { position: sticky; top: calc(var(--header-h) + 16px); } }
.s-line { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: var(--sp-3); }
.s-line + .s-line { margin-top: var(--sp-4); padding-top: var(--sp-4); border-top: 1px solid var(--line); }
.s-line__img { width: 84px; height: 84px; border-radius: var(--r-sm); object-fit: cover; background: var(--green-25); border: 1px solid var(--line); }
.s-line__name { display: block; color: var(--ink); font-weight: 600; font-size: 15px; line-height: 1.35; }
a.s-line__name:hover { color: var(--green-deep); }
.s-line__meta { font-size: 13px; color: var(--ink-2); margin-top: 2px; }
.s-line__foot { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); margin-top: 10px; flex-wrap: wrap; }
.s-line__foot form { margin: 0; }
.s-line .qty-control button { width: 36px; height: 36px; } .s-line .qty-control span { height: 36px; width: 34px; }
@media (min-width: 768px) { .s-line { grid-template-columns: 104px minmax(0, 1fr); gap: var(--sp-4); } .s-line__img { width: 104px; height: 104px; } }
.s-line.is-sm { grid-template-columns: 60px minmax(0, 1fr); } .s-line.is-sm .s-line__img { width: 60px; height: 60px; }

.s-sum { display: grid; gap: 10px; font-size: 14px; margin: 0; }
.s-sum > div { display: flex; justify-content: space-between; gap: var(--sp-4); }
.s-sum dt { font-weight: 400; color: var(--ink-2); } .s-sum dd { margin: 0; font-weight: 500; text-align: right; }
.s-sum .is-save dd { color: var(--green-dark); }
.s-sum .is-total { border-top: 1px solid var(--line); padding-top: var(--sp-3); margin-top: 2px; }
.s-sum .is-total dt, .s-sum .is-total dd { font-size: 18px; font-weight: 700; color: var(--ink); }
.s-note { font-size: 13px; color: var(--ink-2); }
.s-secure { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 12px; color: var(--ink-2); margin: var(--sp-3) 0 0; }

.s-steps { display: flex; align-items: center; gap: 8px; margin: 0 0 var(--sp-5); padding: 0; list-style: none; font-size: 13px; color: var(--ink-2); }
.s-steps li { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.s-steps li:not(:last-child)::after { content: ""; width: 32px; height: 2px; background: var(--line); border-radius: 2px; }
.s-steps span { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: var(--surface); border: 1.5px solid var(--line); font-size: 12px; font-weight: 600; }
.s-steps em { font-style: normal; }
.s-steps .is-active { color: var(--ink); font-weight: 600; } .s-steps .is-active span { background: var(--green-deep); border-color: var(--green-deep); color: var(--on-deep); }
.s-steps .is-done { color: var(--green-deep); } .s-steps .is-done span { background: var(--green-50); border-color: var(--green-deep); color: var(--green-deep); } .s-steps .is-done::after { background: var(--green-deep) !important; }
@media (max-width: 419.98px) { .s-steps li:not(.is-active) em { display: none; } .s-steps li:not(:last-child)::after { width: 18px; } }
@media (min-width: 768px) { .s-steps li:not(:last-child)::after { width: 56px; } }

.s-choice, .address-card, .payment-choice { position: relative; display: flex; gap: var(--sp-3); align-items: flex-start; width: 100%; padding: var(--sp-4); margin: 0; background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--r-md); cursor: pointer; font-size: 14px; font-weight: 400; transition: border-color .15s, background-color .15s; }
.s-choice:hover, .address-card:hover, .payment-choice:hover { border-color: var(--green-200); }
.s-choice.is-checked, .address-card.is-checked, .payment-choice.is-checked { border-color: var(--green-deep); background: var(--green-25); }
/* Same outline without JavaScript, in browsers that support :has(). Kept as a
   separate rule so older browsers simply skip it. */
.s-choice:has(input:checked), .address-card:has(input:checked), .payment-choice:has(input:checked) { border-color: var(--green-deep); background: var(--green-25); }
.s-choice input[type="radio"], .address-card input[type="radio"], .payment-choice input[type="radio"] { flex: 0 0 18px; margin: 2px 0 0; }
.s-choice__body { flex: 1; min-width: 0; }
.s-choice__body strong { display: block; font-size: 15px; font-weight: 600; }
.s-choice__body > span { display: block; color: var(--ink-2); font-size: 13px; margin-top: 2px; }
.s-choice__icon { font-size: 22px; color: var(--green-deep); }
.s-choices { display: grid; gap: var(--sp-3); }
@media (min-width: 768px) { .s-choices.is-2 { grid-template-columns: 1fr 1fr; } }
.s-disclosure > summary { display: inline-flex; align-items: center; gap: 6px; color: var(--green-dark); font-weight: 600; font-size: 14px; cursor: pointer; list-style: none; padding: 6px 0; }
.s-disclosure > summary::-webkit-details-marker { display: none; }
.s-inline { display: flex; gap: 8px; } .s-inline .form-control { flex: 1; min-width: 0; }
.s-coupon .form-control { text-transform: uppercase; } .s-coupon .form-control::placeholder { text-transform: none; }

/* ------------------------------------------------------- orders, account */
.s-account { display: grid; gap: var(--sp-5); }
.s-account__nav { display: none; }
@media (min-width: 992px) { .s-account { grid-template-columns: 264px minmax(0, 1fr); gap: var(--sp-7); align-items: start; } .s-account__nav { display: block; position: sticky; top: calc(var(--header-h) + 16px); } }
.s-profile { display: flex; align-items: center; gap: var(--sp-4); margin-bottom: var(--sp-4); }
.s-profile h1 { font-size: 20px; font-weight: 700; margin: 0; overflow-wrap: anywhere; }
.s-profile p { margin: 2px 0 0; font-size: 13px; color: var(--ink-2); overflow-wrap: anywhere; }
/* Highlight card: the customer's order in progress. */
.s-highlight { display: flex; align-items: center; gap: var(--sp-3); padding: var(--sp-4); margin-bottom: var(--sp-4); border-radius: var(--r-md); background: var(--green-deep); color: var(--on-deep); }
.s-highlight:hover { background: var(--green-press); color: var(--on-deep); }
.s-highlight > i:first-child { flex: 0 0 44px; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255, 255, 255, .16); font-size: 20px; }
.s-highlight__text { flex: 1; min-width: 0; }
.s-highlight small { display: block; font-size: 12px; opacity: .85; overflow-wrap: anywhere; }
.s-highlight strong { display: block; font-size: 16px; font-weight: 600; overflow-wrap: anywhere; }
.s-navlist { list-style: none; margin: 0; padding: 6px; }
.s-navlist li + li { border-top: 1px solid var(--line); }
.s-navlist a, .s-navlist button { display: flex; align-items: center; gap: var(--sp-3); width: 100%; min-height: 60px; padding: 8px 10px; border: 0; background: none; color: var(--ink); font-size: 15px; font-weight: 500; text-align: left; border-radius: var(--r-sm); }
.s-navlist a:hover, .s-navlist button:hover { background: var(--green-25); color: var(--green-deep); }
.s-navlist a.is-active { color: var(--green-deep); background: var(--green-50); }
.s-navlist__icon { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 40px; width: 40px; height: 40px; border-radius: 12px; background: var(--green-50); color: var(--green-deep); font-size: 18px; }
.s-navlist__text { flex: 1; min-width: 0; }
.s-navlist small { display: block; font-size: 12px; font-weight: 400; color: var(--ink-2); line-height: 1.35; }
.s-navlist .bi-chevron-right { margin-left: auto; color: var(--ink-2); font-size: 13px; }
.s-navlist .s-count { position: static; margin-left: auto; }
.s-navlist .s-count + .bi-chevron-right { margin-left: 8px; }
.s-navlist .is-danger, .s-navlist .is-danger .s-navlist__icon { color: var(--sale); }
.s-navlist .is-danger .s-navlist__icon { background: var(--sale-50); }
@media (min-width: 992px) { .s-account__nav .s-navlist a, .s-account__nav .s-navlist button { min-height: 46px; padding: 4px 10px; font-size: 14px; } .s-account__nav .s-navlist li + li { border-top: 0; } .s-account__nav .s-navlist__icon { flex-basis: 32px; width: 32px; height: 32px; font-size: 16px; background: none; } }

.s-order { display: block; color: inherit; }
.s-order__top { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--sp-3); margin-bottom: var(--sp-3); }
.s-order__no { font-weight: 600; font-size: 15px; overflow-wrap: anywhere; }
.s-order__date { font-size: 12px; color: var(--ink-2); }
.s-order__items { display: flex; align-items: center; gap: var(--sp-3); }
.s-thumbs { display: flex; flex: 0 0 auto; }
.s-thumbs img, .s-thumbs span { width: 52px; height: 52px; border-radius: var(--r-sm); border: 2px solid var(--surface); object-fit: cover; background: var(--green-25); box-shadow: 0 0 0 1px var(--line); }
.s-thumbs > * + * { margin-left: -16px; }
.s-thumbs span { display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; color: var(--green-deep); background: var(--green-50); }
.s-order__names { flex: 1; min-width: 0; font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.s-order__foot { display: flex; justify-content: space-between; align-items: center; gap: var(--sp-3); flex-wrap: wrap; margin-top: var(--sp-3); padding-top: var(--sp-3); border-top: 1px solid var(--line); font-size: 14px; }
.s-order__foot strong { font-size: 16px; }
.s-actions { display: flex; flex-wrap: wrap; gap: 8px; }

.s-track { list-style: none; margin: 0; padding: 0; }
.s-track li { position: relative; display: flex; gap: var(--sp-3); padding-bottom: var(--sp-5); font-size: 14px; color: var(--ink-2); }
.s-track li:last-child { padding-bottom: 0; }
.s-track li::before { content: ""; flex: 0 0 22px; width: 22px; height: 22px; border-radius: 50%; border: 2px solid #CBD2CE; background: var(--surface); z-index: 1; }
.s-track li:not(:last-child)::after { content: ""; position: absolute; left: 10px; top: 22px; bottom: 0; width: 2px; background: #DDE2DE; }
.s-track .is-done { color: var(--ink); }
.s-track .is-done::before { border-color: var(--green-deep); background: var(--green-deep) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3E%3Cpath d='M13.485 1.93a1 1 0 0 1 1.415 1.414l-8.5 8.5a1 1 0 0 1-1.414 0l-3.5-3.5A1 1 0 1 1 2.9 6.93l2.793 2.793z'/%3E%3C/svg%3E") center / 11px no-repeat; }
.s-track .is-done:not(:last-child)::after { background: var(--green-deep); }
.s-track .is-now { color: var(--ink); font-weight: 600; }
.s-track .is-now::before { border-color: var(--green-deep); box-shadow: inset 0 0 0 4px var(--surface), inset 0 0 0 12px var(--green-deep); }
.s-track .is-stop { color: var(--ink); font-weight: 600; }
.s-track .is-stop::before { border-color: var(--sale); background: var(--sale); }
.s-track small { display: block; font-weight: 400; color: var(--ink-2); font-size: 12px; }

.s-addr { font-size: 14px; line-height: 1.55; }
.s-addr strong { display: block; font-size: 15px; }
.s-formgrid { display: grid; gap: var(--sp-3); }
@media (min-width: 768px) { .s-formgrid { grid-template-columns: 1fr 1fr; } .s-formgrid .is-wide { grid-column: 1 / -1; } }
.s-bubble { max-width: 86%; padding: var(--sp-3) var(--sp-4); border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); font-size: 14px; }
.s-bubble.is-me { margin-left: auto; background: var(--green-50); border-color: var(--green-200); }
.s-bubble small { display: block; color: var(--ink-3); font-size: 12px; margin-top: 4px; }
.s-thread { display: grid; gap: var(--sp-3); margin-bottom: var(--sp-4); }
/* a.s-notice: a link that is also a card would otherwise fall back to block. */
.s-notice, a.s-notice { display: flex; gap: var(--sp-3); align-items: flex-start; color: inherit; }
.s-notice > span:last-child { flex: 1; min-width: 0; }
.s-notice__dot { flex: 0 0 40px; width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; background: var(--green-50); color: var(--green-deep); font-size: 17px; }
.s-notice.is-unread { border-color: var(--green-200); background: var(--green-25); }
.s-notice strong { display: block; font-size: 15px; } .s-notice p { margin: 2px 0 4px; font-size: 14px; color: var(--ink-3); } .s-notice small { font-size: 12px; color: var(--ink-3); }

/* ---------------------------------------------------------------- search */
.s-suggest h2 { font-size: 15px; margin: 0 0 var(--sp-3); }
.s-suggest + .s-suggest { margin-top: var(--sp-6); }
.s-suggest .s-chips { flex-wrap: wrap; margin: 0; padding: 0; overflow: visible; }

/* ------------------------------------------------------------------ auth */
.s-auth { min-height: 100vh; min-height: 100dvh; display: grid; background: var(--page); }
.s-auth__panel { display: flex; flex-direction: column; justify-content: center; width: 100%; max-width: 460px; margin: 0 auto; padding: var(--sp-6) var(--gutter) calc(var(--sp-7) + var(--safe-b)); }
.s-auth__logo img { height: 64px; width: auto; max-width: 200px; object-fit: contain; mix-blend-mode: multiply; }
.s-auth__logo img.is-square { width: 180px; object-fit: cover; }
.s-auth h1 { font-size: 24px; font-weight: 700; margin: var(--sp-5) 0 4px; }
.s-auth__lead { color: var(--ink-2); font-size: 14px; margin-bottom: var(--sp-5); }
.s-auth form { display: grid; gap: var(--sp-4); }
.s-auth form .btn { margin-top: 4px; }
.s-auth__alt { text-align: center; font-size: 14px; margin-top: var(--sp-5); color: var(--ink-2); display: grid; gap: 10px; }
.s-auth__art { display: none; }
@media (min-width: 992px) {
    .s-auth { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .s-auth__art { display: block; position: relative; overflow: hidden; background: linear-gradient(150deg, var(--warm), var(--green-100)); }
    .s-auth__art img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
}
.s-pwfield { position: relative; }
.s-pwfield .form-control { padding-right: 48px; }
.s-pwfield button { position: absolute; right: 2px; top: 1px; width: 44px; height: 44px; border: 0; background: none; color: var(--ink-2); font-size: 18px; }

/* -------------------------------------------------------------- utilities */
.s-w-sm { max-width: 640px; margin-left: auto; margin-right: auto; }
.s-w-md { max-width: 860px; margin-left: auto; margin-right: auto; }
.s-stack { display: grid; gap: var(--sp-3); }
.s-stack-lg { display: grid; gap: var(--sp-4); }
.s-qtyfield { width: 96px; flex: 0 0 96px; text-align: center; }

@media print { .s-header, .s-footer, .s-bottomnav, .s-buybar, .s-install, .s-toasts { display: none !important; } body { padding: 0 !important; background: #fff; } }

/* Parcel tracking (Phase 25) */
.s-track.is-compact li { padding-bottom: var(--sp-3); font-size: 13px; }
.s-track.is-compact li::before { flex-basis: 18px; width: 18px; height: 18px; }
.s-track.is-compact li:not(:last-child)::after { left: 8px; top: 18px; }
.s-track.is-compact .is-done::before { background-size: 9px; }
.s-track .is-warn { color: var(--ink); font-weight: 600; }
.s-track .is-warn::before { border-color: #B26B00; background: #FFF4DE; }
