/* ProVend customer shop (M32). One stylesheet for every /shop page.
   Type: Raleway for everything, Playfair Display for the big hero names.
   Colour: black ink, red prices, tan buttons, store accents (clothing rose, grocery green, swimming blue). */

:root {
    --ink: #111111;
    --ink-2: #1F2937;
    --muted: #6B7280;
    /* Small grey text: kept at 4.5:1 or better on white and the light panels. */
    --muted-2: #6B7280;
    /* Decorative grey only (placeholder icons, closed-store badge) - never for words. */
    --faint: #9CA3AF;
    --line: #E5E7EB;
    --line-2: #EEF0F3;
    --panel: #F6F7F9;
    --panel-2: #F9FAFB;
    --white: #FFFFFF;
    --red: #D0021B;
    --tan: #B8977E;
    --tan-dark: #A3836A;
    --tan-soft: #F6EFE7;
    --green: #10B981;
    --green-dark: #047857;
    --green-soft: #ECFDF5;
    --orange: #F59E0B;
    --orange-dark: #B45309;
    --orange-soft: #FFF7ED;
    --blue-soft: #EAF2FD;
    --blue: #2563EB;
    --danger: #DC2626;
    --danger-soft: #FEF2F2;
    --strip: #262626;
    --footer: #000000;
    --footer-2: #222222;
    --brand-accent: #E8890C;
    --shadow: 0 2px 14px rgba(17, 17, 17, .07);
    --radius: 10px;
    --ease: cubic-bezier(.22, .8, .26, 1);
    --f-body: "Raleway", "Segoe UI", system-ui, sans-serif;
    --f-serif: "Playfair Display", Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.sh {
    margin: 0;
    background: var(--white);
    color: var(--ink);
    font-family: var(--f-body);
    font-size: 15px;
    line-height: 1.5;
    font-variant-numeric: lining-nums;
    -webkit-font-smoothing: antialiased;
}
.sh a { color: inherit; text-decoration: none; }
.sh img { max-width: 100%; display: block; }
.sh button { font-family: inherit; cursor: pointer; }
.sh input, .sh select, .sh textarea { font-family: inherit; font-size: 15px; color: var(--ink); }
.sh :focus-visible { outline: 2px solid var(--tan); outline-offset: 2px; }
.sh-container { max-width: 1280px; margin-inline: auto; padding-inline: 32px; }
.sh-narrow { max-width: 1100px; margin-inline: auto; padding-inline: 24px; }
.sh-main { min-height: 50vh; }

/* Scrollbars: slim and sand-coloured instead of the grey system bar (this file only loads on /shop). */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #F4F1ED; }
::-webkit-scrollbar-thumb { background: #CDB8A5; border-radius: 10px; border: 2px solid #F4F1ED; }
::-webkit-scrollbar-thumb:hover { background: var(--tan-dark); }
::-webkit-scrollbar-corner { background: #F4F1ED; }
.sh-thumbs::-webkit-scrollbar, .sh-modal-box::-webkit-scrollbar { width: 4px; height: 4px; }
.sh-thumbs::-webkit-scrollbar-track, .sh-modal-box::-webkit-scrollbar-track { background: transparent; }
.sh-thumbs::-webkit-scrollbar-thumb, .sh-modal-box::-webkit-scrollbar-thumb { border: 0; background: #D9C8B8; }
@supports (-moz-appearance: none) {
    html { scrollbar-color: #CDB8A5 #F4F1ED; }
    .sh-thumbs, .sh-modal-box { scrollbar-width: thin; scrollbar-color: #D9C8B8 transparent; }
}
.sh-muted { color: var(--muted); }
.sh-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sh-nowrap { white-space: nowrap; }
.sh-num { font-variant-numeric: tabular-nums; }

/* ---------- Logo ---------- */
.sh-logo { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.sh-logo img { height: 40px; width: auto; }
.sh-logo .sh-logo-mark { width: 34px; height: 34px; }
.sh-logo .sh-logo-word { height: 22px; width: auto; }
.sh-logo.is-dark .sh-logo-mark { width: 44px; height: 44px; }
.sh-logo.is-dark .sh-logo-word { height: 30px; }
.sh-mono {
    width: 30px; height: 30px; background: var(--ink); color: var(--white);
    display: grid; place-items: center; font-size: 15px; font-weight: 500; letter-spacing: .06em;
    font-family: "Montserrat", var(--f-body);
}
.sh-word { font-family: "Montserrat", var(--f-body); font-weight: 500; font-size: 21px; letter-spacing: .14em; color: var(--ink); line-height: 1; }
.sh-word b { font-weight: 500; color: var(--brand-accent); }
.sh-e3 { display: inline-block; width: .58em; height: .72em; margin-inline: .02em;
    background:
        linear-gradient(currentColor 0 0) top / 100% 13% no-repeat,
        linear-gradient(currentColor 0 0) center / 100% 13% no-repeat,
        linear-gradient(currentColor 0 0) bottom / 100% 13% no-repeat; }
.sh-logo.is-dark .sh-mono { background: var(--white); color: var(--ink); width: 44px; height: 44px; font-size: 21px; }
.sh-logo.is-dark .sh-word { color: var(--white); font-size: 30px; }

/* ---------- Header ---------- */
.sh-header { position: sticky; top: 0; z-index: 50; background: var(--white); box-shadow: 0 2px 12px rgba(0, 0, 0, .07); transition: box-shadow .4s var(--ease); }
.sh-header.is-scrolled { box-shadow: 0 6px 24px rgba(0, 0, 0, .12); }
.sh-header-in { height: 62px; display: flex; align-items: center; gap: 24px; padding-inline: 30px; }
.sh-nav { flex: 1; display: flex; justify-content: center; gap: 40px; }
.sh-nav a { position: relative; font-size: 13px; letter-spacing: .02em; text-transform: uppercase; color: var(--ink); padding-block: 6px; white-space: nowrap; transition: color .3s; }
.sh-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.sh-nav a:hover { color: var(--tan-dark); }
.sh-nav a:hover::after, .sh-nav a.is-active::after { transform: scaleX(1); }
.sh-tools { display: flex; align-items: center; gap: 14px; flex: none; }
.sh-tool { position: relative; border: 0; background: none; padding: 2px; color: var(--ink); font-size: 22px; line-height: 1; display: inline-flex; transition: color .3s, transform .35s var(--ease); }
.sh-tool:hover { color: var(--tan-dark); transform: translateY(-2px); }
.sh-badge {
    position: absolute; top: -6px; right: -8px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px;
    background: var(--tan); color: var(--white); font-size: 10.5px; font-weight: 700; display: grid; place-items: center;
    font-family: var(--f-body);
}
.sh-badge[data-count="0"] { display: none; }
.sh-burger { display: none; }
.sh-account { position: relative; }
.sh-account-menu {
    position: absolute; right: 0; top: calc(100% + 12px); min-width: 200px; background: var(--white); border: 1px solid var(--line);
    border-radius: 8px; box-shadow: var(--shadow); padding: 6px; display: none; z-index: 60;
}
.sh-account.is-open .sh-account-menu { display: grid; }
.sh-account-menu a, .sh-account-menu button { text-align: left; border: 0; background: none; padding: 9px 12px; border-radius: 6px; font-size: 14px; color: var(--ink); width: 100%; }
.sh-account-menu a:hover, .sh-account-menu button:hover { background: var(--panel); }
.sh-account-menu .sh-hello { font-size: 12px; color: var(--muted); padding: 6px 12px 8px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }

/* Search overlay */
.sh-search { position: fixed; inset: 0 0 auto 0; z-index: 70; background: var(--white); box-shadow: var(--shadow); padding: 18px 30px; display: none; }
.sh-search.is-open { display: block; }
.sh-search form { max-width: 760px; margin-inline: auto; display: flex; gap: 10px; align-items: center; }
.sh-search input { flex: 1; border: 0; border-bottom: 1px solid var(--ink); padding: 12px 4px; font-size: 18px; outline: 0; }
.sh-search button { border: 0; background: none; font-size: 24px; }

/* ---------- Buttons, chips, inputs ---------- */
.sh-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--ink);
    background: var(--ink); color: var(--white); padding: 10px 26px; font-size: 14px; font-weight: 500; border-radius: 0;
    letter-spacing: .02em; text-transform: none; transition: background .15s, color .15s, border-color .4s;
}
.sh-btn:hover { background: #333; }
/* Plain black buttons fill with sand from the left on hover. */
.sh-btn:not(.is-outline):not(.is-tan) { position: relative; overflow: hidden; isolation: isolate; }
.sh-btn:not(.is-outline):not(.is-tan)::before {
    content: ""; position: absolute; inset: 0; z-index: -1; background: var(--tan); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease);
}
.sh-btn:not(.is-outline):not(.is-tan):hover { background: var(--ink); border-color: var(--tan); }
.sh-btn:not(.is-outline):not(.is-tan):hover::before { transform: scaleX(1); }
.sh-summary .sh-btn::before { display: none; }
/* Buttons that are links: ".sh a" would otherwise hand them the surrounding text colour (black on black). */
.sh a.sh-btn { color: var(--white); }
.sh-btn.is-outline, .sh a.sh-btn.is-outline { background: var(--white); color: var(--ink); }
.sh-btn.is-outline:hover { background: var(--panel); }
.sh-btn.is-tan { background: var(--tan); border-color: var(--tan); color: var(--white); }
.sh-btn.is-tan:hover { background: var(--tan-dark); border-color: var(--tan-dark); }
.sh-btn.is-pill { border-radius: 999px; }
.sh-btn.is-block { width: 100%; }
.sh-btn.is-sm { padding: 6px 14px; font-size: 13px; }
.sh-btn.is-lg { padding: 14px 28px; font-size: 16px; }
.sh-btn:disabled, .sh-btn.is-disabled { opacity: .45; cursor: not-allowed; pointer-events: none; }
.sh-link { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; background: none; border: 0; padding: 0; font-size: inherit; }
.sh-chip { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; padding: 4px 8px; background: var(--tan-soft); color: var(--ink-2); border-radius: 2px; white-space: nowrap; }
.sh-chip.is-white { background: var(--white); color: var(--ink); }
.sh-chip.is-off { background: var(--danger-soft); color: var(--danger); font-weight: 600; }
.sh-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.sh-pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; padding: 3px 10px; border-radius: 999px; font-weight: 500; white-space: nowrap; }
.sh-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.sh-pill.is-plain::before { display: none; }
.sh-pill.is-going { background: var(--green-soft); color: var(--green-dark); }
.sh-pill.is-wait { background: var(--orange-soft); color: var(--orange-dark); }
.sh-pill.is-done { background: var(--green-soft); color: var(--green-dark); }
.sh-pill.is-dead { background: var(--danger-soft); color: var(--danger); }
.sh-pill.is-box { border: 1px solid var(--line); background: var(--panel-2); color: var(--muted); border-radius: 4px; }
.sh-pill.is-box::before { display: none; }
.sh-field { display: grid; gap: 6px; }
.sh-field label { font-size: 13px; font-weight: 500; }
.sh-input, .sh-select {
    width: 100%; border: 1px solid #D1D5DB; border-radius: 6px; padding: 11px 12px; background: var(--white); outline: 0;
}
.sh-input:focus, .sh-select:focus { border-color: var(--ink); }
.sh-alert { border-radius: 8px; padding: 12px 14px; font-size: 14px; display: flex; gap: 10px; align-items: flex-start; }
.sh-alert i { font-size: 18px; margin-top: 1px; }
.sh-alert.is-error { background: var(--danger-soft); color: #991B1B; }
.sh-alert.is-ok { background: var(--green-soft); color: var(--green-dark); }
.sh-alert.is-info { background: var(--blue-soft); color: #1E3A8A; }
.sh-alert.is-warn { background: var(--orange-soft); color: var(--orange-dark); }

/* ---------- Page titles ---------- */
.sh-title { text-align: center; padding: 52px 20px 34px; }
.sh-title h1 { margin: 0; font-weight: 400; font-size: 30px; letter-spacing: .02em; text-transform: uppercase; }
.sh-title p { margin: 10px auto 0; max-width: 560px; color: var(--muted); font-size: 13.5px; font-weight: 500; }
.sh-section-title { text-align: center; padding: 46px 20px 26px; }
.sh-section-title h2 { margin: 0; font-weight: 400; font-size: 26px; text-transform: uppercase; letter-spacing: .02em; }
.sh-section-title p { margin: 8px auto 0; max-width: 420px; color: var(--muted); font-size: 13px; font-weight: 500; line-height: 1.45; }

/* ---------- Hero (home banners and store pages) ---------- */
/* Store pages: a fixed band. Home banners (is-center) keep the photo's own wide shape, about 1600 × 560.
   The base colour is dark so the white words read while the photo is still loading. */
.sh-hero { position: relative; height: min(62vh, 540px); min-height: 400px; overflow: hidden; background: #5E544C center / cover no-repeat; color: var(--white); }
.sh-hero.is-center { height: auto; aspect-ratio: 1600 / 560; min-height: 360px; }
/* The photo sits on its own layer so it can settle in without moving the words. */
.sh-hero::before { content: ""; position: absolute; inset: 0; background: inherit; transform-origin: center; animation: sh-settle 2.4s var(--ease) both; }
.sh-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, .28), rgba(0, 0, 0, .05) 55%, transparent); pointer-events: none; }
.sh-hero.is-plain::after { display: none; }
.sh-hero-in { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; justify-content: center; padding-inline: max(6.5vw, 32px); gap: 14px; max-width: 900px; }
.sh-hero.is-center .sh-hero-in { align-items: center; text-align: center; max-width: 52vw; }
.sh-hero-kicker { font-family: var(--f-serif); font-size: clamp(18px, 1.8vw, 26px); color: #1F1F1F; }
.sh-hero-title { margin: 0; font-family: var(--f-serif); font-weight: 500; font-size: clamp(44px, 5.4vw, 78px); line-height: 1.02; }
.sh-hero-sub { font-size: clamp(17px, 1.9vw, 25px); font-weight: 400; letter-spacing: .01em; }
/* White words stay readable on any photo, light or dark. */
.sh-hero-title, .sh-hero-sub { text-shadow: 0 2px 18px rgba(0, 0, 0, .35); }
/* Designed default: the welcome before any banner is set up, and any banner still without a photo.
   Dark so the white words always read; tan glow and a faint bag mark so it never looks empty. */
.sh-hero.is-default {
    background-color: #1D1A17;
    background-image:
        radial-gradient(circle at 18% 24%, rgba(184, 151, 126, .42), transparent 42%),
        radial-gradient(circle at 86% 78%, rgba(232, 137, 12, .26), transparent 46%),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, .035) 0 2px, transparent 2px 22px),
        linear-gradient(120deg, #2C2521, #1D1A17 55%, #30271F);
}
.sh-hero.is-default::after { display: none; }
.sh-hero.is-default .sh-hero-in { margin-inline: auto; }
.sh-hero.is-default .sh-hero-kicker { color: var(--tan); letter-spacing: .04em; }
.sh-hero-mark { position: absolute; right: -40px; bottom: -70px; font-size: 340px; line-height: 1; color: var(--tan); opacity: .12; transform: rotate(-12deg); pointer-events: none; }
.sh-hero .sh-btn { margin-top: 14px; padding: 9px 30px; font-size: 14px; text-transform: uppercase; }
.sh-hero-tag { align-self: flex-start; border: 1px solid rgba(255, 255, 255, .7); border-radius: 999px; padding: 4px 9px; font-size: 11.5px; background: rgba(255, 255, 255, .12); }
.sh-hero .sh-chips { margin-top: 10px; }
.sh-hero .sh-chip { background: var(--white); color: var(--ink); font-size: 11.5px; padding: 5px 9px; }
.sh-hero-in > * { animation: sh-rise .6s var(--ease) both; }
.sh-hero-in > :nth-child(1) { animation-delay: .05s; }
.sh-hero-in > :nth-child(2) { animation-delay: .1s; }
.sh-hero-in > :nth-child(3) { animation-delay: .15s; }
.sh-hero-in > :nth-child(4) { animation-delay: .2s; }
.sh-hero-in > :nth-child(5) { animation-delay: .25s; }
/* Slides stack in one cell and cross-fade; each one's photo and words replay when it comes on. */
.sh-slides { position: relative; display: grid; }
.sh-slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity 1.4s var(--ease), visibility 0s 1.4s; }
.sh-slide.is-on { opacity: 1; visibility: visible; transition: opacity 1.4s var(--ease); z-index: 1; }
.sh-slide:not(.is-on) .sh-hero::before, .sh-slide:not(.is-on) .sh-hero-in > * { animation: none; }
.sh-dots { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 2; }
.sh-dots button { width: 9px; height: 9px; border-radius: 50%; border: 1px solid var(--white); background: transparent; padding: 0; }
.sh-dots button.is-on { background: var(--white); }

/* Dark strip under a hero */
.sh-strip { background: var(--strip); color: var(--white); }
.sh-strip-in { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 8px max(6.5vw, 22px); flex-wrap: wrap; font-size: 13px; }
.sh-strip-in.is-start { justify-content: flex-start; }
.sh-strip button.sh-pinbtn { border: 0; background: none; color: var(--white); font-size: 13px; padding: 0; display: inline-flex; align-items: center; gap: 6px; }
.sh-strip button.sh-pinbtn u { text-underline-offset: 3px; }
.sh-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.sh-tabs a { font-size: 12px; text-transform: uppercase; padding: 5px 9px; color: var(--white); }
.sh-tabs a.is-on { background: var(--white); color: var(--ink); }
.sh-strip .sh-btn.is-tan { padding: 4px 16px; font-size: 12.5px; }

/* ---------- Store cards ---------- */
.sh-stores { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; max-width: 1640px; margin: 56px auto 0; padding-inline: 40px; }
.sh-stores.is-wide { max-width: 1640px; }
.sh-store {
    /* Every card in the shop's own tan, whatever the store type. */
    --accent: var(--tan); --soft: var(--tan-soft);
    position: relative; background: var(--white); box-shadow: 0 4px 28px rgba(0, 0, 0, .08); overflow: hidden;
    display: flex; flex-direction: column; min-width: 0; transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.sh-store::before { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--accent); opacity: 0; transition: opacity .4s; pointer-events: none; z-index: 3; }
.sh-store:hover { transform: translateY(-8px); box-shadow: 0 22px 44px color-mix(in srgb, var(--accent) 28%, transparent); }
.sh-store:hover::before { opacity: 1; }

/* Cover: the store's photo, or its colour with the type's icon. */
.sh-store-cover {
    position: relative; height: 150px; overflow: hidden;
    background: radial-gradient(circle at 85% 20%, color-mix(in srgb, var(--accent) 35%, transparent), transparent 60%),
                linear-gradient(135deg, var(--soft), color-mix(in srgb, var(--accent) 22%, var(--soft)));
}
.sh-store-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.sh-store-mark { position: absolute; right: -10px; bottom: -26px; font-size: 150px; color: var(--accent); opacity: .18; transform: rotate(-12deg); transition: transform .8s var(--ease), opacity .4s; }
.sh-store:hover .sh-store-cover img { transform: scale(1.08); }
.sh-store:hover .sh-store-mark { transform: rotate(0deg) scale(1.08); opacity: .28; }
.sh-store-rating, .sh-store-status {
    position: absolute; top: 14px; display: inline-flex; align-items: center; gap: 5px; padding: 6px 10px; border-radius: 999px;
    font-size: 12px; font-weight: 600; background: rgba(255, 255, 255, .94); color: var(--ink); box-shadow: 0 2px 10px rgba(0, 0, 0, .08); backdrop-filter: blur(4px);
}
.sh-store-rating { left: 14px; }
.sh-store-rating i { color: var(--orange); font-size: 14px; }
.sh-store-status { right: 14px; max-width: calc(100% - 100px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sh-store-status i { font-size: 15px; }
.sh-store-status.is-on { color: var(--green-dark); }
.sh-store-status.is-on i { animation: sh-pulse 2s ease-in-out infinite; border-radius: 50%; }
.sh-store-status.is-book { color: var(--blue); }
.sh-store-status.is-off { color: var(--danger); }

/* Type badge sitting on the cover's edge. */
.sh-store-badge {
    position: absolute; left: 24px; top: 124px; z-index: 2; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center;
    background: var(--accent); color: var(--white); font-size: 26px; border: 4px solid var(--white); box-shadow: 0 6px 16px color-mix(in srgb, var(--accent) 35%, transparent);
    transition: transform .5s var(--ease);
}
.sh-store:hover .sh-store-badge { transform: rotate(-8deg) scale(1.08); }

.sh-store-body { display: flex; flex-direction: column; flex: 1; padding: 40px 24px 26px; }
.sh-store h3 { margin: 0; font-size: 19px; font-weight: 600; transition: color .3s; }
.sh-store:hover h3 { color: var(--accent); }
.sh-store .sh-kick { display: flex; align-items: center; gap: 4px; font-size: 13px; color: var(--muted); margin: 6px 0 12px; }
.sh-store p { margin: 0 0 14px; font-size: 13px; color: var(--muted); line-height: 1.5; }
.sh-store-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.sh-store-facts li { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); }
.sh-store-facts i { flex: none; width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; font-size: 15px; background: var(--soft); color: var(--accent); }
.sh-store-spacer { flex: 1; min-height: 22px; }

/* The whole card opens the store; the button fills with the store's colour on hover. */
.sh a.sh-store-cta { /* beats ".sh a { color: inherit }" */
    align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 999px;
    font-size: 14px; font-weight: 600; background: var(--ink); color: var(--white); transition: background .35s, box-shadow .35s, gap .35s var(--ease);
}
.sh-store-cta::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.sh-store-cta i { font-size: 18px; transition: transform .35s var(--ease); }
.sh-store:hover .sh-store-cta { background: var(--accent); gap: 12px; box-shadow: 0 8px 18px color-mix(in srgb, var(--accent) 35%, transparent); }
.sh-store:hover .sh-store-cta i { transform: translateX(3px); }
.sh-store-cta:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* Can't deliver here: greyed out, still visitable. */
.sh-store.is-closed { background: #FAFAFA; }
.sh-store.is-closed .sh-store-cover { filter: grayscale(1); opacity: .7; }
.sh-store.is-closed .sh-store-badge { background: var(--faint); box-shadow: none; }
.sh-store.is-closed::before { border-color: var(--faint); }
.sh-store.is-closed h3 { color: var(--muted); }
.sh-store.is-closed .sh-store-cta { background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.sh-store.is-closed:hover .sh-store-cta { background: var(--ink); color: var(--white); }
@keyframes sh-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, .45); } 50% { box-shadow: 0 0 0 5px rgba(16, 185, 129, 0); } }

/* ---------- Product tiles ---------- */
.sh-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 32px; max-width: 1440px; margin-inline: auto; padding: 0 32px 40px; }
/* A store's items (and "more from this store"): four to a row with room at the sides. */
.sh-grid.is-bleed { max-width: 1640px; gap: 32px 20px; padding-inline: 40px; }
@media (max-width: 1180px) { .sh-grid.is-bleed { padding-inline: 24px; } }
.sh-grid.is-wide { max-width: 1240px; }
/* All products and the wishlist: six to a row across the wide screen, fewer as it narrows. */
.sh-grid.is-full { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 36px 24px; max-width: 1640px; padding-inline: 40px; }
.sh-toolbar.is-full { max-width: 1640px; padding-inline: 40px; }
@media (max-width: 1400px) { .sh-grid.is-full { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (max-width: 1180px) { .sh-grid.is-full { grid-template-columns: repeat(4, minmax(0, 1fr)); } .sh-grid.is-full, .sh-toolbar.is-full { padding-inline: 24px; } }
@media (max-width: 980px) { .sh-grid.is-full { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .sh-grid.is-full { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; padding-inline: 12px; } .sh-toolbar.is-full { padding-inline: 16px; } }
.sh-tile { display: flex; flex-direction: column; gap: 4px; text-align: center; min-width: 0; position: relative; }
.sh-tile-img { position: relative; display: block; aspect-ratio: 1 / 1.27; background: var(--panel) center / cover no-repeat; overflow: hidden; border: 0; padding: 0; width: 100%; }
.sh-grid.is-bleed .sh-tile-img { aspect-ratio: 1 / 1.32; }
.sh-tile-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.sh-tile:hover .sh-tile-img img { transform: scale(1.1); }
/* No photo (or one that failed to load): a skeleton block the size of the photo, with a slow sheen. */
.sh-noimg, .sh-stage.is-broken { background: linear-gradient(100deg, var(--panel) 30%, #E9ECF0 50%, var(--panel) 70%) 0 0 / 200% 100%; animation: sh-skel 1.8s linear infinite; }
@keyframes sh-skel { from { background-position: 100% 0; } to { background-position: -100% 0; } }
@media (prefers-reduced-motion: reduce) { .sh-noimg, .sh-stage.is-broken { animation: none; } }
/* The outline of what the item is (a garment, a loaf, goggles…), picked by ShopUi.NoPhotoIcon. */
.sh-noimg { display: grid; place-items: center; width: 100%; height: 100%; font-size: clamp(64px, 42cqw, 180px); color: #D5D9E0; }
.sh-tile-img, .sh-stage { container-type: inline-size; }
.sh-stage.is-broken .sh-noimg { position: absolute; inset: 0; }
.sh-stage.is-broken img, .sh-stage.is-broken .sh-zoom { visibility: hidden; }
.sh-tile-name { margin: 16px 8px 6px; font-size: 15px; font-weight: 500; text-transform: uppercase; line-height: 1.3; }
.sh-grid.is-bleed .sh-tile-name { font-size: 12.5px; font-weight: 600; margin-top: 12px; }
.sh-tile-from { font-size: 12px; font-weight: 500; color: var(--muted); }
.sh-price { display: flex; gap: 6px; justify-content: center; align-items: baseline; flex-wrap: wrap; font-size: 16px; }
.sh-price b { color: var(--red); font-weight: 500; }
.sh-price s { color: var(--muted); font-size: .93em; }
.sh-soldout { position: absolute; left: 10px; top: 10px; background: var(--white); color: var(--ink); font-size: 11px; font-weight: 600; padding: 3px 8px; text-transform: uppercase; letter-spacing: .04em; }
.sh-tile-off { position: absolute; left: 10px; top: 10px; background: var(--red); color: var(--white); font-size: 11.5px; font-weight: 700; padding: 3px 8px; letter-spacing: .02em; }
.sh-tile.is-out .sh-tile-img img { filter: grayscale(.6); opacity: .75; }
/* Stock line and the action at the foot of every tile (the button lines up across a row). */
.sh-tile-stock { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--green-dark); }
.sh-tile-stock::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.sh-tile-stock.is-low { color: var(--orange-dark); }
.sh-tile-stock.is-out { color: var(--muted); }
.sh-tile-act { margin-top: auto; padding-top: 10px; }
.sh-tile-btn {
    width: 100%; min-height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 8px 10px;
    border: 1px solid var(--ink); background: var(--white); color: var(--ink); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
    transition: background .25s, color .25s, border-color .25s;
}
.sh-tile-btn i { font-size: 17px; }
.sh-tile-btn:hover { background: var(--ink); color: var(--white); }
form.sh-tile-act .sh-tile-btn { background: var(--ink); color: var(--white); }
form.sh-tile-act .sh-tile-btn:hover { background: var(--tan); border-color: var(--tan); }
form.sh-tile-act .sh-tile-btn.is-added { background: var(--green-dark); border-color: var(--green-dark); }
.sh-tile-btn:disabled { border-color: var(--line); background: var(--panel); color: var(--muted); cursor: not-allowed; }
.sh-wish { position: absolute; right: 10px; top: 10px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .9); display: grid; place-items: center; font-size: 18px; color: var(--ink); z-index: 2; }
.sh-wish.is-on { color: var(--red); }
/* Empty / error / loading states (Views/Shop/Shared/_State.cshtml; shop.js builds the loading one).
   The back office's _EmptyState has the same shape: icon in a soft circle, title, one line, one action. */
.sh-state { display: grid; justify-items: center; gap: 10px; text-align: center; padding: 56px 20px 72px; color: var(--muted); }
.sh-state-icon { width: 76px; height: 76px; margin-bottom: 6px; border-radius: 50%; display: grid; place-items: center; background: var(--tan-soft); color: var(--tan-dark); font-size: 34px; }
.sh-state h3 { margin: 0; color: var(--ink); font-size: 20px; font-weight: 600; }
.sh-state p { margin: 0; max-width: 420px; font-weight: 500; line-height: 1.5; }
.sh-state .sh-btn { margin-top: 12px; }
.sh-state.is-error .sh-state-icon { background: var(--danger-soft); color: var(--danger); }
.sh-state.is-loading .sh-state-icon { background: none; color: var(--tan); font-size: 38px; }
.sh-state.is-compact { padding: 28px 16px; gap: 8px; }
.sh-state.is-compact .sh-state-icon { width: 56px; height: 56px; font-size: 26px; margin-bottom: 2px; }
.sh-state.is-compact h3 { font-size: 17px; }

/* Toolbar above product lists */
.sh-toolbar { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; align-items: center; max-width: 1240px; margin: 0 auto 26px; padding-inline: 20px; }
.sh-toolbar form { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.sh-toolbar .sh-input, .sh-toolbar .sh-select { width: auto; padding: 8px 10px; font-size: 14px; }
.sh-toolbar .sh-input { height: 40px; min-width: 220px; }
.sh-toolbar .sh-btn.is-sm { height: 40px; padding-inline: 22px; }

/* Shop dropdown (replaces the system list of every .sh-select; the real select stays hidden inside) */
.sh-dd { position: relative; display: inline-block; }
.sh-dd > select { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.sh-dd-btn {
    display: inline-flex; align-items: center; justify-content: space-between; gap: 14px; min-width: 210px; height: 40px; padding: 0 12px 0 14px;
    border: 1px solid #D1D5DB; border-radius: 6px; background: var(--white); color: var(--ink); font-size: 14px; text-align: left;
    transition: border-color .25s, box-shadow .25s;
}
.sh-dd-btn:hover { border-color: var(--ink); }
.sh-dd-btn i { font-size: 18px; color: var(--muted); transition: transform .35s var(--ease); }
.sh-dd.is-open .sh-dd-btn { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(184, 151, 126, .22); }
.sh-dd.is-open .sh-dd-btn i { transform: rotate(180deg); }
.sh-dd-list {
    position: absolute; top: calc(100% + 6px); right: 0; z-index: 30; min-width: 100%; margin: 0; padding: 6px; list-style: none;
    background: var(--white); border: 1px solid var(--line-2); border-radius: 10px; box-shadow: 0 16px 36px rgba(0, 0, 0, .12); outline: 0;
    opacity: 0; visibility: hidden; transform: translateY(-6px) scale(.98); transform-origin: top right;
    transition: opacity .25s var(--ease), transform .3s var(--ease), visibility 0s .3s;
}
.sh-dd.is-open .sh-dd-list { opacity: 1; visibility: visible; transform: none; transition: opacity .25s var(--ease), transform .3s var(--ease); }
.sh-dd-list li { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 12px; border-radius: 6px; font-size: 14px; cursor: pointer; white-space: nowrap; transition: background .2s, color .2s; }
.sh-dd-list li i { font-size: 17px; color: var(--tan-dark); opacity: 0; }
.sh-dd-list li.is-active { background: var(--tan-soft); }
.sh-dd-list li.is-on { font-weight: 600; }
.sh-dd-list li.is-on i { opacity: 1; }
.sh-filter { display: flex; gap: 6px; flex-wrap: wrap; }
.sh-filter a { font-size: 12px; text-transform: uppercase; padding: 6px 12px; border: 1px solid var(--line); color: var(--ink); }
.sh-filter a.is-on { background: var(--ink); color: var(--white); border-color: var(--ink); }

/* ---------- Product page ---------- */
.sh-crumbs { background: #F5F5F5; }
.sh-crumbs-in { padding: 30px max(24px, 9%); font-size: 14px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.sh-crumbs-in a { color: var(--ink); }
.sh-crumbs-in span:last-child { color: var(--muted); text-transform: uppercase; }
.sh-crumbs-in i { font-size: 16px; }
/* Photos column (up to 8 thumbnails, scrolls past the photo's height), the big photo, then the details. */
.sh-pd { display: grid; grid-template-columns: minmax(0, 817px) minmax(0, 1fr); gap: 12px; max-width: 1240px; margin-inline: auto; padding: 26px 24px 20px; align-items: start; }
.sh-gallery { display: grid; grid-template-columns: 105px minmax(0, 700px); gap: 12px; align-items: start; }
.sh-thumbs { display: flex; flex-direction: column; gap: 8px; max-height: min(70vw, 700px); overflow: hidden auto; padding: 2px 6px 2px 2px; }
.sh-thumbs button { flex: none; width: 100%; border: 0; outline: 2px solid transparent; outline-offset: -2px; padding: 0; background: var(--panel); aspect-ratio: 1 / 1.12; overflow: hidden; }
.sh-thumbs button.is-on { outline-color: var(--ink); }
.sh-thumbs img { width: 100%; height: 100%; object-fit: cover; }
/* One photo (or none): no thumbnail column, the photo takes the space. */
.sh-gallery:has(.sh-thumbs > button:only-child), .sh-gallery:has(.sh-thumbs:empty) { grid-template-columns: minmax(0, 700px); }
.sh-thumbs:empty, .sh-thumbs:has(> button:only-child) { display: none; }
.sh-stage { position: relative; aspect-ratio: 1; background: var(--panel); overflow: hidden; }
.sh-stage img { width: 100%; height: 100%; object-fit: cover; }
.sh-zoom { position: absolute; right: 24px; bottom: 24px; width: 64px; height: 64px; border: 0; background: var(--white); display: grid; place-items: center; font-size: 24px; }
.sh-info { display: grid; gap: 14px; align-content: start; padding-left: 24px; }
.sh-info h1 { margin: 0; font-size: 20px; font-weight: 600; text-transform: uppercase; letter-spacing: .01em; line-height: 1.25; }
.sh-info .sh-price { justify-content: flex-start; font-size: 20px; gap: 8px; }
.sh-info .sh-off { font-size: 14px; color: #2A9D4A; font-weight: 400; }
.sh-off { color: var(--green); font-size: 13px; font-weight: 500; }
.sh-hr { border: 0; border-top: 1px solid var(--line); margin: 2px 0; }
.sh-tax { font-size: 13px; margin-top: 12px; }
.sh-opt-label { font-size: 20px; margin-top: 8px; }
.sh-sizes { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.sh-size { min-width: 48px; height: 48px; padding: 0 8px; border-radius: 999px; border: 1px solid var(--ink); background: var(--white); font-size: 15px; font-weight: 500; color: var(--ink); }
.sh-size.is-on { background: #222; color: var(--white); border-color: #222; }
.sh-size.is-out { color: var(--muted-2); border-color: var(--line); text-decoration: line-through; }
.sh-colours { display: flex; gap: 8px; flex-wrap: wrap; }
.sh-colour { border: 1px solid var(--line); background: var(--white); padding: 7px 14px; border-radius: 999px; font-size: 13px; }
.sh-colour.is-on { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.sh-buy { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.sh-stepper { display: inline-flex; align-items: center; justify-content: space-between; border: 1px solid var(--ink); border-radius: 999px; height: 42px; min-width: 104px; padding-inline: 6px; background: var(--white); }
.sh-stepper button { border: 0; background: none; width: 26px; height: 30px; font-size: 18px; line-height: 1; color: var(--ink); }
.sh-stepper input { width: 36px; border: 0; text-align: center; font-size: 17px; outline: 0; background: none; -moz-appearance: textfield; }
.sh-stepper input::-webkit-outer-spin-button, .sh-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.sh-heart { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--ink); background: var(--white); display: grid; place-items: center; font-size: 19px; color: var(--ink); }
.sh-heart.is-on { color: var(--red); }
.sh-info .sh-stepper { height: 48px; min-width: 120px; padding-inline: 12px; }
.sh-buy .sh-btn.is-tan { height: 48px; padding-inline: 24px; font-size: 14px; text-transform: uppercase; }
.sh-buynow { width: auto !important; max-width: none; height: 48px; padding-inline: 40px; background: #222; border-color: #222; font-size: 14px; font-weight: 600; text-transform: uppercase; }
.sh-deliver { margin-top: 48px; font-size: 14px; }
.sh-deliver b { display: block; font-weight: 600; margin-bottom: 10px; }
.sh-deliver p { margin: 0 0 12px; color: #777; }
.sh-deliver p.is-bad { color: var(--danger); }
.sh-stockline { font-size: 13px; color: var(--orange-dark); }
.sh-stockline.is-out { color: var(--danger); }

/* Lightbox and modals */
.sh-modal { position: fixed; inset: 0; z-index: 90; background: rgba(40, 40, 40, .55); display: none; align-items: center; justify-content: center; padding: 20px; }
.sh-modal.is-open { display: flex; }
.sh-modal-box { background: var(--white); width: min(475px, 100%); max-height: calc(100vh - 40px); overflow-y: auto; padding: 34px 30px; position: relative; }
.sh-modal-box.is-wide { width: min(620px, 100%); }
.sh-modal-x { position: absolute; top: 10px; right: 12px; border: 0; background: none; font-size: 24px; color: var(--muted); }
.sh-modal h3 { margin: 0 0 16px; font-weight: 500; font-size: 20px; }
.sh-lightbox img { max-width: min(92vw, 1100px); max-height: 88vh; object-fit: contain; background: var(--white); }
.sh-lightbox .sh-modal-x { position: fixed; top: 16px; right: 20px; color: var(--white); font-size: 32px; }

/* ---------- Cart ---------- */
.sh-cart { display: grid; grid-template-columns: minmax(0, 1fr) 496px; gap: 36px; max-width: 1468px; margin-inline: auto; padding: 22px 32px 60px; align-items: start; }
.sh-groups { display: grid; gap: 28px; min-width: 0; }
.sh-group { background: var(--white); border-radius: 10px; border: 1px solid var(--line-2); border-left: 3px solid var(--acc, var(--tan)); box-shadow: 0 1px 6px rgba(17, 17, 17, .04); padding: 22px 22px 0; display: grid; min-width: 0; }
.sh-ghead { display: flex; gap: 12px; align-items: flex-start; padding-bottom: 18px; border-bottom: 1px solid var(--line-2); }
.sh-gicon { width: 42px; height: 42px; border-radius: 10px; background: var(--soft, var(--panel)); color: var(--acc, var(--ink)); display: grid; place-items: center; font-size: 21px; flex: none; }
.sh-ghead > div { flex: 1; min-width: 0; }
.sh-gname { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; font-size: 20px; font-weight: 500; }
.sh-gname .sh-pill { font-size: 12px; background: var(--soft); color: var(--acc); }
.sh-gname .sh-pill::before { display: none; }
.sh-gsub { font-size: 14px; color: var(--muted); }
.sh-addmore { font-size: 12.5px; font-weight: 600; color: var(--acc) !important; white-space: nowrap; padding-top: 6px; }
.sh-line { display: grid; grid-template-columns: 50px minmax(0, 1fr) auto 104px 28px; gap: 4px 14px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line-2); }
.sh-line:last-of-type { border-bottom: 0; }
.sh-limg { width: 50px; height: 50px; border-radius: 10px; background: var(--panel) center / cover; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--acc); font-size: 22px; overflow: hidden; }
.sh-limg img { width: 100%; height: 100%; object-fit: cover; }
.sh-lname { font-size: 16px; font-weight: 500; }
.sh-lname a:hover { text-decoration: underline; }
.sh-lmeta { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.sh-lmeta .sh-tag { background: var(--panel); color: var(--ink-2); padding: 1px 6px; border-radius: 3px; }
.sh-lmeta .sh-tag.is-acc { background: var(--soft); color: var(--acc); }
.sh-lunit { font-size: 13.5px; color: var(--muted-2); }
.sh-lproblem { font-size: 13px; color: var(--danger); font-weight: 600; }
.sh-line .sh-stepper { height: 32px; min-width: 94px; border-color: var(--line); border-radius: 6px; padding-inline: 2px; }
.sh-line .sh-stepper button { font-size: 16px; color: var(--muted); }
.sh-line .sh-stepper input, .sh-line .sh-stepper span { font-size: 13.5px; font-weight: 600; width: 30px; text-align: center; }
.sh-ltotal { text-align: right; font-size: 16px; font-weight: 600; font-variant-numeric: tabular-nums; }
.sh-lx { border: 0; background: none; color: var(--muted-2); font-size: 20px; padding: 0; }
.sh-lx:hover { color: var(--danger); }
.sh-nudge { margin: 4px 0 16px; border-radius: 8px; padding: 10px 14px; font-size: 14px; display: grid; gap: 8px; }
.sh-nudge.is-free { background: var(--orange-soft); border: 1px solid #FED7AA; color: var(--ink-2); }
.sh-nudge.is-free .sh-nudge-row { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.sh-nudge.is-free .sh-nudge-row i { color: var(--orange); }
.sh-nudge.is-free small { color: var(--orange-dark); font-weight: 600; font-size: 12px; }
.sh-bar { height: 7px; background: #FDE7CF; border-radius: 9px; overflow: hidden; }
.sh-bar span { display: block; height: 100%; background: #F97316; border-radius: 9px; }
.sh-nudge.is-ok { background: #F0FDF4; border: 1px solid #BBF7D0; color: var(--green-dark); display: flex; align-items: center; gap: 8px; }
.sh-nudge.is-info { background: #F0F7FF; border: 1px solid #BFDBFE; color: #1E40AF; display: flex; gap: 8px; align-items: flex-start; }
.sh-nudge.is-bad { background: var(--danger-soft); border: 1px solid #FECACA; color: #991B1B; display: flex; gap: 8px; align-items: flex-start; }
.sh-gfoot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-inline: -22px; padding: 14px 22px; background: var(--panel-2); border-top: 1px solid var(--line-2); border-radius: 0 0 10px 0; font-size: 14.5px; color: var(--muted); }
.sh-gfoot b { color: var(--ink); font-weight: 700; }
.sh-free { background: var(--green-soft); color: var(--green-dark); font-weight: 700; padding: 1px 8px; border-radius: 4px; font-size: 13px; letter-spacing: .03em; }

/* Summary panels (cart and checkout) */
.sh-summary { background: var(--white); border: 1px solid var(--line-2); border-radius: 12px; box-shadow: 0 1px 8px rgba(17, 17, 17, .04); padding: 24px; display: grid; gap: 16px; position: sticky; top: 84px; }
.sh-summary-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid var(--line-2); }
.sh-summary-head h2 { margin: 0; font-size: 18px; font-weight: 600; }
.sh-ssl { font-size: 13px; color: var(--green-dark); border: 1px solid var(--line-2); padding: 3px 9px; border-radius: 4px; background: var(--panel-2); }
.sh-srows { display: grid; gap: 10px; }
.sh-srow { display: flex; justify-content: space-between; gap: 10px; font-size: 15px; align-items: flex-start; }
.sh-srow .sh-sq { width: 9px; height: 9px; border-radius: 2px; background: var(--acc); display: inline-block; margin-right: 10px; vertical-align: 1px; }
.sh-srow .sh-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--acc); display: inline-block; margin-right: 8px; vertical-align: 2px; }
.sh-srow b { font-weight: 700; font-variant-numeric: tabular-nums; }
.sh-srow small { display: block; color: var(--muted-2); font-size: 13px; }
.sh-sdiv { border-top: 1px solid var(--line-2); }
.sh-topay { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.sh-topay small { display: block; font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.sh-topay span.sh-sub { font-size: 11px; color: var(--muted); }
.sh-topay .sh-big { font-size: 32px; font-weight: 700; font-variant-numeric: tabular-nums; }
.sh-topay.is-box { background: var(--panel); border: 1px solid var(--line-2); border-radius: 8px; padding: 14px 16px; }
.sh-topay.is-box b.sh-to { display: block; font-size: 14px; }
.sh-summary .sh-btn { background: #0F172A; border-color: #0F172A; border-radius: 6px; height: 50px; font-size: 15.5px; font-weight: 600; }
.sh-summary .sh-btn:hover, .sh-summary .sh-btn:not(.is-outline):not(.is-tan):hover { background: var(--tan); border-color: var(--tan); transform: translateY(-2px); }
.sh-snote { text-align: center; font-size: 13px; color: var(--muted-2); }
.sh-sidecard { margin-top: 18px; border-radius: 10px; padding: 16px 18px; font-size: 14px; display: grid; gap: 4px; }
.sh-sidecard.is-blue { background: #EEF4FD; color: #475569; }
.sh-sidecard.is-blue b { color: var(--ink); display: flex; gap: 8px; align-items: center; }
.sh-sidecard.is-blue b i { color: var(--green); font-size: 18px; }
.sh-sidecard.is-line { border: 1px solid var(--line-2); background: var(--white); color: var(--muted); font-size: 12.5px; }
.sh-sidecard.is-line b { color: var(--ink); display: flex; gap: 8px; align-items: center; font-size: 13px; font-weight: 600; }

/* ---------- Checkout ---------- */
.sh-checkout { display: grid; grid-template-columns: minmax(0, 1fr) 396px; gap: 28px; max-width: 1220px; margin-inline: auto; padding: 18px 28px 60px; align-items: start; }
.sh-steps { display: grid; gap: 24px; min-width: 0; }
.sh-step { background: var(--white); border: 1px solid var(--line-2); border-radius: 12px; box-shadow: 0 1px 6px rgba(17, 17, 17, .04); padding: 20px 22px 22px; display: grid; gap: 14px; min-width: 0; }
.sh-step-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line-2); }
.sh-step-head h2 { margin: 0; display: flex; align-items: center; gap: 12px; font-size: 18px; font-weight: 500; }
.sh-step-no { width: 26px; height: 26px; border-radius: 50%; background: var(--panel); display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.sh-step-tag { font-size: 11px; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; display: inline-flex; gap: 5px; align-items: center; background: var(--panel-2); }
.sh-step-tag.is-safe { border: 0; background: none; color: var(--green-dark); font-size: 12px; }
.sh-addr { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 12px; align-items: start; border: 1px solid var(--line); border-radius: 8px; padding: 16px; cursor: pointer; }
.sh-addr.is-on { border: 2px solid #0F172A; padding: 15px; }
.sh-radio { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid #94A3B8; display: grid; place-items: center; margin-top: 2px; background: var(--white); }
.is-on > .sh-radio, .sh-radio.is-on { border-color: #0F172A; }
.is-on > .sh-radio::after, .sh-radio.is-on::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #0F172A; }
.sh-addr-name { font-size: 15px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.sh-addr-name b { font-weight: 600; }
.sh-default { background: #0F172A; color: var(--white); font-size: 9.5px; font-weight: 700; padding: 2px 6px; border-radius: 3px; letter-spacing: .05em; }
.sh-addr-line { font-size: 13px; color: var(--muted); margin-top: 4px; }
.sh-addr-tag { font-size: 11px; border: 1px solid var(--line); border-radius: 4px; padding: 3px 8px; color: var(--muted); background: var(--white); }
.sh-hint { font-size: 11.5px; color: var(--muted-2); border: 1px solid var(--line-2); background: var(--panel-2); border-radius: 6px; padding: 8px 12px; display: flex; gap: 8px; align-items: center; }
.sh-addr-add { border: 1px dashed #CBD5E1; background: var(--white); border-radius: 8px; padding: 14px; font-size: 14px; color: var(--ink); display: flex; align-items: center; gap: 8px; justify-content: center; }
.sh-addr-add:hover { background: var(--panel-2); }
.sh-sstore { border: 1px solid var(--line-2); border-radius: 10px; background: var(--panel-2); padding: 0 16px 16px; display: grid; gap: 14px; }
.sh-sstore-head { display: flex; gap: 12px; align-items: center; padding: 16px 0 14px; border-bottom: 1px solid var(--line-2); }
.sh-sstore-head .sh-gicon { width: 32px; height: 32px; font-size: 16px; border-radius: 8px; }
.sh-sstore-head > div { flex: 1; min-width: 0; }
.sh-sstore-head .sh-sname { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; flex-wrap: wrap; }
.sh-sstore-head .sh-ssub { font-size: 11px; color: var(--muted-2); }
.sh-booking-tag { background: #FEF3C7; color: #92400E; font-size: 9.5px; font-weight: 700; padding: 2px 6px; border-radius: 3px; letter-spacing: .04em; }
.sh-stotal { font-size: 11.5px; border: 1px solid var(--line); border-radius: 4px; padding: 3px 8px; background: var(--white); white-space: nowrap; }
.sh-stotal b { font-weight: 700; }
.sh-sbody { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; flex-wrap: wrap; }
.sh-cap { font-size: 10.5px; letter-spacing: .07em; color: var(--muted-2); text-transform: uppercase; font-weight: 600; }
.sh-sbody .sh-what { font-size: 13.5px; margin-top: 2px; }
.sh-sbody .sh-pick { font-size: 11.5px; color: var(--muted); align-self: center; }
.sh-chosen { border: 1px solid var(--line); border-radius: 6px; background: var(--white); padding: 10px 14px; display: grid; gap: 2px; min-width: 180px; }
.sh-chosen .sh-ok { font-size: 13.5px; display: flex; gap: 6px; align-items: center; }
.sh-chosen .sh-ok i { color: var(--green); }
.sh-chosen .sh-cap::before { content: "●"; color: var(--green); margin-right: 8px; font-size: 9px; vertical-align: 1px; }
.sh-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.sh-slots.is-two { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 540px; }
.sh-slot { display: flex; justify-content: space-between; align-items: center; gap: 8px; text-align: left; border: 1px solid var(--line); border-radius: 6px; background: var(--white); padding: 11px 12px; cursor: pointer; }
.sh-slot input { position: absolute; opacity: 0; pointer-events: none; }
.sh-slot .sh-cap { color: var(--muted-2); font-size: 9.5px; }
.sh-slot .sh-slab { font-size: 13.5px; display: block; margin-top: 2px; }
.sh-slot.is-on { border: 2px solid #0F172A; padding: 10px 11px; }
.sh-slot.is-on .sh-cap { color: var(--green-dark); }
.sh-slot.is-booking.is-on .sh-cap { color: var(--blue); }
.sh-tick { width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid #CBD5E1; flex: none; display: grid; place-items: center; font-size: 11px; color: var(--white); }
.sh-slot.is-on .sh-tick { background: #0F172A; border-color: #0F172A; }
.sh-pay { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 12px; align-items: center; border: 1px solid var(--line); border-radius: 8px; padding: 14px 16px; cursor: pointer; }
.sh-pay.is-on { border: 2px solid #0F172A; padding: 13px 15px; }
.sh-pay.is-off { background: var(--panel-2); cursor: not-allowed; opacity: .75; }
.sh-pay-name { font-size: 15px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.sh-pay-sub { font-size: 11.5px; color: var(--muted-2); }
.sh-pay-warn { font-size: 11.5px; color: var(--orange-dark); display: flex; gap: 4px; align-items: center; }
.sh-instant { background: var(--green-soft); color: var(--green-dark); font-size: 10.5px; font-weight: 700; padding: 1px 6px; border-radius: 3px; }
.sh-disabled-tag { background: var(--panel); color: var(--muted); font-size: 10.5px; padding: 1px 6px; border-radius: 3px; border: 1px solid var(--line); }
.sh-apps { display: flex; gap: 6px; }
.sh-apps span { font-size: 11px; border: 1px solid var(--line); padding: 3px 7px; border-radius: 4px; background: var(--white); }
.sh-paybtn { display: flex; gap: 8px; align-items: center; justify-content: center; }
.sh-paybtn i { color: var(--green); }

/* ---------- My orders ---------- */
.sh-orders { max-width: 1584px; margin: 0 auto 70px; padding-inline: 28px; }
.sh-orders-box { border: 1px solid var(--line); border-radius: 14px; padding: 28px; display: grid; gap: 14px; }
.sh-orow { display: flex; justify-content: space-between; align-items: center; gap: 16px; border: 1px solid var(--line); border-radius: 10px; padding: 20px 20px; transition: background .15s; }
.sh-orow:hover { background: var(--panel-2); }
.sh-orow-top { display: flex; gap: 18px; align-items: baseline; flex-wrap: wrap; }
.sh-orow-top b { font-size: 17px; font-weight: 500; }
.sh-orow-top span { color: var(--muted-2); font-size: 14px; }
.sh-orow-stores { color: var(--muted); font-size: 14.5px; margin-top: 6px; }

/* ---------- Order tracking ---------- */
.sh-track { max-width: 1290px; margin-inline: auto; padding: 0 32px 70px; }
.sh-track-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 13px; padding-bottom: 50px; }
.sh-track-bar nav { display: flex; align-items: center; gap: 8px; }
.sh-track-bar nav a { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); }
.sh-track-acts { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.sh-track-acts a, .sh-track-acts button { display: inline-flex; gap: 6px; align-items: center; border: 0; background: none; font-size: 13px; color: var(--ink); padding: 6px 10px; border-radius: 6px; }
.sh-track-acts button.is-box { background: var(--panel); border: 1px solid var(--line-2); }
.sh-ohead { display: flex; justify-content: space-between; align-items: flex-end; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.sh-ohead h2 { margin: 0; font-size: 28px; font-weight: 500; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.sh-ohead h2 .sh-pill { font-size: 13px; background: #FFFBEB; color: var(--orange-dark); }
.sh-ohead h2 .sh-pill.is-going, .sh-ohead h2 .sh-pill.is-done { background: var(--green-soft); color: var(--green-dark); }
.sh-ohead h2 .sh-pill.is-dead { background: var(--danger-soft); color: var(--danger); }
.sh-ohead p { margin: 4px 0 0; font-size: 13px; }
.sh-ohead .sh-cap { font-size: 12px; letter-spacing: .08em; }
.sh-facts { background: var(--panel); border: 1px solid var(--line-2); border-radius: 10px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; padding: 18px 20px; }
.sh-facts div { min-width: 0; }
.sh-facts .sh-cap { font-size: 12.5px; color: var(--muted); font-weight: 400; letter-spacing: .02em; }
.sh-facts b { display: block; font-size: 13px; font-weight: 600; margin-top: 4px; overflow-wrap: anywhere; }
.sh-facts b.is-red { color: var(--danger); font-weight: 500; }
.sh-facts b i { color: var(--green); vertical-align: -2px; }
.sh-explain { margin-top: 20px; background: var(--blue-soft); border: 1px solid #D6E4F7; border-radius: 10px; padding: 14px 16px; display: flex; gap: 12px; font-size: 13px; color: #475569; }
.sh-explain i { font-size: 20px; color: var(--ink-2); }
.sh-explain b { display: block; color: var(--ink); font-weight: 500; }
.sh-parcels-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 60px 0 38px; flex-wrap: wrap; }
.sh-parcels-head h3 { margin: 0; font-size: 17px; font-weight: 600; display: flex; gap: 10px; align-items: center; }
.sh-parcels-head h3 span { font-size: 12.5px; background: var(--panel); border: 1px solid var(--line); border-radius: 999px; padding: 2px 9px; font-weight: 600; }
.sh-parcels-head p { margin: 0; font-size: 13px; color: var(--muted); }
.sh-parcel { margin-bottom: 76px; }
.sh-phead { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.sh-phead-left { display: flex; gap: 12px; align-items: center; }
.sh-pmark { width: 40px; height: 40px; border-radius: 8px; background: var(--ink); color: var(--white); display: grid; place-items: center; font-weight: 600; font-size: 15px; flex: none; }
.sh-pname { font-size: 15px; display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.sh-pname span { color: var(--muted-2); font-size: 12.5px; }
.sh-peta { font-size: 13px; color: var(--muted); display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.sh-peta b { color: var(--ink); font-weight: 400; }
.sh-timeline { background: var(--panel); border-radius: 12px; padding: 20px 20px 18px; display: grid; justify-items: center; gap: 14px; }
.sh-tl { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n), minmax(70px, 150px)); position: relative; width: min(100%, 640px); }
.sh-tl li { display: grid; justify-items: center; gap: 6px; font-size: 13px; color: var(--muted); position: relative; text-align: center; }
.sh-tl li::before { content: ""; position: absolute; top: 12px; left: -50%; right: 50%; height: 3px; background: #D1D5DB; z-index: 0; }
.sh-tl li:first-child::before { display: none; }
.sh-tl li.is-done::before, .sh-tl li.is-current::before { background: var(--tl, var(--green)); }
.sh-tl-dot { width: 25px; height: 25px; border-radius: 50%; background: #E5E7EB; color: var(--muted); display: grid; place-items: center; font-size: 13px; position: relative; z-index: 1; }
.sh-tl li.is-done .sh-tl-dot { background: var(--green); color: var(--white); }
.sh-tl li.is-current { color: var(--tl, var(--green)); }
.sh-tl li.is-current .sh-tl-dot { background: var(--white); color: var(--tl, var(--green)); box-shadow: 0 0 0 4px rgba(16, 185, 129, .12); }
.sh-tl li.is-done { color: var(--ink-2); }
.sh-tl-note { font-size: 13px; color: var(--muted); background: var(--white); border-radius: 999px; padding: 2px 10px; display: inline-flex; gap: 6px; align-items: center; }
.sh-tl-note i { color: var(--tl, var(--green)); }
.sh-plines { display: grid; gap: 4px; margin-top: 26px; }
.sh-pline { display: grid; grid-template-columns: 54px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 6px 0; }
.sh-pline-img { width: 54px; height: 54px; border-radius: 8px; overflow: hidden; background: var(--panel); display: grid; place-items: center; font-size: 22px; color: var(--faint); }
.sh-pline-img img { width: 100%; height: 100%; object-fit: cover; }
.sh-pline b { display: block; font-size: 13px; font-weight: 500; }
.sh-pline span.sh-pline-meta { font-size: 12.5px; color: var(--muted); display: block; }
.sh-pline em { font-style: normal; font-size: 12.5px; padding: 0 6px; border-radius: 3px; background: var(--green-soft); color: var(--green-dark); display: inline-block; margin-top: 2px; }
.sh-pline em.is-wait { background: #FFFBEB; color: var(--orange-dark); }
.sh-pline em.is-dead { background: var(--danger-soft); color: var(--danger); }
.sh-pline .sh-amt { font-size: 13px; font-weight: 500; font-variant-numeric: tabular-nums; }
.sh-pfoot { margin-top: 26px; background: var(--panel-2); border-radius: 10px; padding: 22px 26px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 12px; color: var(--muted); }
.sh-pfoot b { font-size: 15px; color: var(--ink); font-weight: 600; margin-left: 6px; }
.sh-pfoot small { font-size: 10px; color: var(--ink-2); font-weight: 600; margin-left: 6px; }
.sh-pfoot a, .sh-pfoot span.sh-inv-wait { display: inline-flex; align-items: center; gap: 6px; background: var(--white); border: 1px solid var(--line-2); border-radius: 6px; padding: 7px 12px; color: var(--ink); font-size: 13px; }
.sh-pfoot span.sh-inv-wait { color: var(--muted); }
.sh-refused { background: var(--danger-soft); border-radius: 10px; padding: 14px 16px; color: #991B1B; font-size: 13.5px; display: grid; gap: 4px; }
.sh-refused.is-mine { background: var(--panel-2); color: var(--ink-2); }
.sh-pfoot-acts { display: inline-flex; gap: 8px; flex-wrap: wrap; }
.sh-pfoot button.sh-cancel-link { display: inline-flex; align-items: center; gap: 6px; background: var(--white); border: 1px solid var(--line-2); border-radius: 6px; padding: 7px 12px; color: var(--danger); font-size: 13px; }
.sh-track-acts button.is-danger { color: var(--danger); }

/* Cancel dialog */
.sh-btn.is-danger { background: var(--danger); border-color: var(--danger); }
.sh-btn.is-danger::before { display: none; }
.sh-btn.is-danger:hover { background: #B91C1C; border-color: #B91C1C; }
.sh-cancel-parts { display: grid; gap: 8px; border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; font-size: 14px; }
.sh-cancel-parts > div { display: flex; justify-content: space-between; gap: 12px; }
.sh-cancel-parts small { color: var(--muted); font-size: 12px; margin-left: 4px; }
.sh-cancel-parts b { font-weight: 600; font-variant-numeric: tabular-nums; }
.sh-cancel-reasons { border: 0; margin: 0; padding: 0; display: grid; gap: 10px; }
.sh-cancel-reasons legend { font-size: 13px; font-weight: 500; margin-bottom: 10px; }
.sh-cancel-other { display: none; }
.sh-cancel-reasons:has(input[value="Other"]:checked) .sh-cancel-other { display: block; }
.sh-cancel-acts { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
/* "Return items" (Views/Shop/Orders/_ReturnForm, the part footer and its status strip on the order page). */
.sh-pfoot button.sh-return-link { display: inline-flex; align-items: center; gap: 6px; background: var(--white); border: 1px solid var(--line-2); border-radius: 6px; padding: 7px 12px; color: var(--ink); font-size: 13px; }
.sh-pfoot button.sh-return-link:hover { border-color: var(--ink); }
.sh-return-state { margin: 0 0 12px; font-size: 13.5px; }
.sh-return-lines { display: grid; border: 1px solid var(--line); border-radius: 8px; }
.sh-return-line { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; margin: 0; }
.sh-return-line + .sh-return-line { border-top: 1px solid var(--line); }
.sh-return-line.is-off { opacity: .6; }
.sh-return-name { display: grid; gap: 2px; min-width: 0; font-size: 14px; }
.sh-return-name b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; }
.sh-return-name small { color: var(--muted); font-size: 12px; }
.sh-return-qty { width: auto; min-width: 104px; flex: none; }
.sh-return textarea.sh-input { resize: vertical; }
@media (max-width: 520px) { .sh-cancel-acts .sh-btn { flex: 1 1 100%; } }
.sh-placed { max-width: 1290px; margin: 0 auto 10px; padding-inline: 32px; }

/* ---------- Account / sign in ---------- */
.sh-auth { max-width: 440px; margin: 0 auto 80px; padding-inline: 20px; }
.sh-auth form { display: grid; gap: 16px; }
.sh-auth .sh-phone { display: flex; border: 1px solid #D1D5DB; border-radius: 6px; overflow: hidden; }
.sh-auth .sh-phone span { background: var(--panel); padding: 11px 12px; color: var(--muted); border-right: 1px solid #D1D5DB; }
.sh-auth .sh-phone input { border: 0; flex: 1; padding: 11px 12px; outline: 0; letter-spacing: .04em; }
.sh-auth .sh-code { letter-spacing: .5em; text-align: center; font-size: 22px; }
.sh-devcode { font-size: 13px; background: #FFFBEB; color: #92400E; border: 1px dashed #FCD34D; padding: 8px 12px; border-radius: 6px; }
.sh-captcha { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.sh-captcha img { width: 200px; height: 64px; border: 1px solid #D1D5DB; border-radius: 6px; background: var(--tan-soft); user-select: none; }
.sh-captcha-new { width: 42px; height: 42px; border: 1px solid #D1D5DB; border-radius: 50%; background: var(--white); display: grid; place-items: center; font-size: 22px; color: var(--ink); transition: transform .5s var(--ease), border-color .3s, color .3s; }
.sh-captcha-new:hover { border-color: var(--tan); color: var(--tan-dark); transform: rotate(180deg); }
.sh-auth .sh-captcha-input { letter-spacing: .4em; text-transform: uppercase; font-size: 18px; text-align: center; }
.sh-account-grid { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 28px; max-width: 1180px; margin: 0 auto 80px; padding-inline: 24px; align-items: start; }
.sh-card { border: 1px solid var(--line); border-radius: 12px; padding: 22px; display: grid; gap: 14px; align-content: start; }
.sh-card h3 { margin: 0; font-size: 16px; font-weight: 600; }
.sh-addrs { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.sh-addrcard { border: 1px solid var(--line); border-radius: 10px; padding: 16px; display: grid; gap: 6px; font-size: 13.5px; }
.sh-addrcard .sh-acts { display: flex; gap: 12px; margin-top: 6px; }
.sh-addrcard .sh-acts button, .sh-addrcard .sh-acts form button { border: 0; background: none; padding: 0; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; color: var(--ink); }
.sh-addrcard .sh-acts .is-danger { color: var(--danger); }
.sh-formgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sh-formgrid .is-full { grid-column: 1 / -1; }
.sh-labels { display: flex; gap: 8px; }
.sh-labels label { border: 1px solid var(--line); padding: 6px 14px; border-radius: 999px; font-size: 13px; cursor: pointer; }
.sh-labels input { position: absolute; opacity: 0; }
.sh-labels input:checked + span { font-weight: 600; }
.sh-labels label:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.sh-check { display: flex; gap: 8px; align-items: center; font-size: 14px; }

/* ---------- Info pages ---------- */
.sh-prose { max-width: 820px; margin: 0 auto 80px; padding-inline: 24px; display: grid; gap: 22px; font-size: 15px; color: #374151; }
.sh-prose h3 { margin: 0 0 6px; color: var(--ink); font-size: 16px; font-weight: 600; }
.sh-prose p { margin: 0; }

/* ---------- Footer ---------- */
.sh-footer { background: var(--footer); color: var(--white); margin-top: 60px; }
.sh-footer-in { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, .85fr)) minmax(0, 1.25fr); gap: 32px; padding: 64px max(7.4vw, 24px) 80px; }
/* Same type scale as the header menu: 13px text, headings a step up. */
.sh-footer h4 { margin: 18px 0 22px; font-size: 15px; font-weight: 500; text-transform: uppercase; letter-spacing: .02em; }
.sh-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; font-size: 13px; letter-spacing: .02em; }
.sh-footer ul a:hover { color: var(--tan); }
.sh-footer .sh-tagline { margin-top: 38px; font-size: 13px; font-weight: 600; text-transform: uppercase; }
.sh-footer .sh-about { font-size: 13px; max-width: 380px; margin-top: 6px; line-height: 1.35; }
.sh-social { display: flex; gap: 22px; margin-top: 40px; font-size: 30px; }
.sh-social a:hover { color: var(--tan); }
.sh-news p { font-size: 13px; font-weight: 600; margin: 0 0 30px; max-width: 290px; line-height: 1.3; }
.sh-news form { display: flex; align-items: center; border: 1.5px solid var(--white); border-radius: 999px; padding: 4px; max-width: 344px; }
.sh-news input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: var(--white); font-size: 13px; padding: 10px 12px; }
.sh-news input::placeholder { color: #E5E7EB; }
.sh-news button { background: var(--tan); color: var(--white); border: 0; border-radius: 999px; padding: 10px 24px; font-size: 13px; font-weight: 500; letter-spacing: .02em; text-transform: uppercase; }
.sh-news button:hover { background: var(--tan-dark); }
/* Typing in the email box: the whole pill turns sand instead of a square focus ring inside it. */
.sh-news form { transition: border-color .3s, box-shadow .3s; }
.sh-news form:focus-within { border-color: var(--tan); box-shadow: 0 0 0 3px rgba(184, 151, 126, .25); }
.sh-news input:focus, .sh-news input:focus-visible { outline: none; }
.sh-news input:-webkit-autofill { -webkit-text-fill-color: var(--white); -webkit-box-shadow: 0 0 0 40px var(--footer) inset; caret-color: var(--white); }
.sh-copy { background: var(--footer-2); color: var(--white); padding: 16px max(7vw, 24px); font-size: 13px; font-style: italic; }
.sh-copy b { font-weight: 700; }
.sh-top { position: fixed; right: 26px; bottom: 54px; z-index: 40; width: 54px; height: 54px; background: var(--white); border: 1px solid var(--line); display: grid; place-items: center; font-size: 22px; color: var(--ink); opacity: 0; pointer-events: none; transition: opacity .2s; box-shadow: var(--shadow); }
.sh-top.is-on { opacity: 1; pointer-events: auto; }

/* Toasts */
.sh-toasts { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 100; display: grid; gap: 8px; width: max-content; max-width: calc(100vw - 32px); }
.sh-toast { background: var(--ink); color: var(--white); padding: 12px 16px; border-radius: 8px; font-size: 14px; display: flex; gap: 14px; align-items: center; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .5); animation: sh-up .5s var(--ease); }
.sh-toast.is-error { background: #991B1B; }
.sh-toast a { color: var(--tan); text-decoration: underline; white-space: nowrap; }
@keyframes sh-up { from { transform: translateY(18px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- Motion ----------
   Kept to what helps: things arrive softly, hover answers the pointer, progress is shown moving.
   Everything here switches off for visitors who ask their device for less motion. */
@keyframes sh-settle { from { transform: scale(1.12); } to { transform: none; } }
@keyframes sh-rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes sh-pagein { from { opacity: 0; } to { opacity: 1; } }
@keyframes sh-pop { 0% { transform: scale(1); } 40% { transform: scale(1.45); } 100% { transform: scale(1); } }
@keyframes sh-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes sh-pulse { 0% { box-shadow: 0 0 0 0 rgba(0, 0, 0, .22); } 100% { box-shadow: 0 0 0 14px rgba(0, 0, 0, 0); } }
@keyframes sh-dot { from { transform: scale(0); } to { transform: scale(1); } }
@keyframes sh-modal { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }

/* Page and sections */
.sh-main { animation: sh-pagein .3s var(--ease) both; }
/* Scoped to .sh-main so it outranks the cards' own hover transitions while revealing. */
.sh-main .sh-rv { opacity: 0; transform: translateY(18px); transition: opacity .55s var(--ease) var(--d, 0s), transform .55s var(--ease) var(--d, 0s); }
.sh-main .sh-rv.is-vis { opacity: 1; transform: none; }

/* Top bar while the next page loads */
.sh-rb { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 120; background: var(--tan); transform: scaleX(0); transform-origin: left; opacity: 0; pointer-events: none; }
.sh-rb.is-on { opacity: 1; transform: scaleX(.85); transition: transform 2.4s var(--ease); }

/* Header badges bump when the count changes */
.sh-badge.is-bump { animation: sh-pop .5s var(--ease); }

/* Modals */
.sh-modal.is-open .sh-modal-box, .sh-modal.is-open > img { animation: sh-modal .45s var(--ease); }

/* Page titles and the panels of cart / checkout / orders / tracking */
.sh-title > * { animation: sh-rise .5s var(--ease) both; }
.sh-title > :nth-child(2) { animation-delay: .06s; }
.sh-checkout > aside, .sh-cart > aside { animation: sh-rise .9s var(--ease) .15s both; }
.sh-group, .sh-step, .sh-summary, .sh-orders-box, .sh-card { transition: box-shadow .45s var(--ease), transform .45s var(--ease); }
.sh-group:hover, .sh-step:hover, .sh-summary:hover { box-shadow: 0 14px 34px rgba(0, 0, 0, .09); }

/* Cart: lines rise in, the free-delivery bar fills, small controls answer the pointer */
.sh-line { animation: sh-rise .6s var(--ease) both; }
.sh-line:nth-of-type(2) { animation-delay: .06s; }
.sh-line:nth-of-type(3) { animation-delay: .12s; }
.sh-line:nth-of-type(n+4) { animation-delay: .18s; }
.sh-bar span { transform-origin: left; animation: sh-fill 1.2s var(--ease) .3s both; }
.sh-lx { transition: color .3s, transform .3s var(--ease); }
.sh-lx:hover { transform: rotate(90deg); }
.sh-line .sh-stepper button { border-radius: 4px; transition: background .25s, color .25s; }
.sh-line .sh-stepper button:hover { background: #F3F3F3; color: var(--ink); }
.sh-addmore { display: inline-block; transition: transform .3s var(--ease); }
.sh-addmore:hover { transform: translateX(4px); }
.sh-limg img { transition: transform .6s var(--ease); }
.sh-line:hover .sh-limg img { transform: scale(1.08); }
.sh-summary .sh-btn { transition: transform .3s var(--ease), background .3s, border-color .3s; }

/* Checkout: options slide a little on hover, the chosen one lifts and its dot pops */
.sh-addr, .sh-slot, .sh-pay { transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.sh-addr:hover, .sh-pay:not(.is-off):hover { transform: translateX(4px); }
.sh-slot:hover { transform: translateY(-2px); }
.sh-addr.is-on, .sh-slot.is-on, .sh-pay.is-on { box-shadow: 0 6px 18px rgba(0, 0, 0, .08); }
.is-on > .sh-radio::after, .sh-radio.is-on::after, .sh-slot.is-on .sh-tick { animation: sh-dot .4s var(--ease); }
.sh-addr-add { transition: background .3s, border-color .3s, transform .3s var(--ease); }
.sh-addr-add:hover { border-color: var(--tan); transform: translateY(-2px); }
.sh-sstore { animation: sh-rise .7s var(--ease) both; }
.sh-sstore + .sh-sstore { animation-delay: .1s; }

/* My orders */
.sh-orow { background: var(--white); transition: background .15s, transform .45s var(--ease), box-shadow .45s var(--ease); }
.sh-orow:hover { transform: translateY(-4px) scale(1.005); box-shadow: 0 14px 32px rgba(0, 0, 0, .1); }

/* Tracking: facts arrive, each part's line fills step by step, dots pop as it reaches them, the current one pulses */
.sh-ohead, .sh-facts, .sh-explain, .sh-placed { animation: sh-rise .8s var(--ease) both; }
.sh-facts { animation-delay: .1s; }
.sh-explain { animation-delay: .2s; }
.sh-tl li { --cd: 0s; --dd: 0s; }
.sh-tl li:nth-child(2) { --cd: .2s; --dd: .6s; }
.sh-tl li:nth-child(3) { --cd: .5s; --dd: .9s; }
.sh-tl li:nth-child(4) { --cd: .8s; --dd: 1.2s; }
.sh-tl li:nth-child(5) { --cd: 1.1s; --dd: 1.5s; }
.sh-tl li:nth-child(n+6) { --cd: 1.4s; --dd: 1.8s; }
.sh-tl li::before { transform-origin: left; }
.sh-tl li.is-done::before, .sh-tl li.is-current::before { animation: sh-fill .7s var(--ease) var(--cd) both; }
.sh-tl li.is-done .sh-tl-dot { animation: sh-dot .45s var(--ease) var(--dd) both; }
.sh-tl li.is-current .sh-tl-dot { animation: sh-dot .45s var(--ease) var(--dd) both, sh-pulse 1.8s ease-out calc(var(--dd) + .5s) infinite; }
.sh-tl-note { animation: sh-rise .7s var(--ease) 1s both; }
.sh-pline { animation: sh-rise .6s var(--ease) both; }
.sh-pline:nth-child(2) { animation-delay: .06s; }
.sh-pline:nth-child(n+3) { animation-delay: .12s; }
.sh-pfoot a { transition: transform .3s var(--ease), background .3s, color .3s, border-color .3s; }
.sh-pfoot a:hover { transform: translateY(-2px); background: var(--tan); border-color: var(--tan); color: var(--white); }
.sh-track-bar nav a { transition: color .3s; }
.sh-track-bar nav a:hover { color: var(--tan-dark); }
.sh-track-acts a, .sh-track-acts button { transition: background .3s, transform .3s var(--ease); }
.sh-track-acts a:hover, .sh-track-acts button:hover { background: var(--panel); transform: translateY(-2px); }

/* Product page: photo and details arrive one after another; photos slide across when switched. */
.sh-gallery { animation: sh-rise .9s var(--ease) both; }
.sh-info > * { animation: sh-rise .8s var(--ease) both; }
.sh-info > :nth-child(2) { animation-delay: .08s; }
.sh-info > :nth-child(3), .sh-info > :nth-child(4) { animation-delay: .16s; }
.sh-info > :nth-child(5), .sh-info > :nth-child(6) { animation-delay: .24s; }
.sh-info > :nth-child(7), .sh-info > :nth-child(8) { animation-delay: .32s; }
.sh-info > :nth-child(n+9) { animation-delay: .4s; }
.sh-crumbs-in a { transition: color .3s; }
.sh-crumbs-in a:hover { color: var(--tan-dark); }
.sh-thumbs button { opacity: .6; transition: opacity .3s, transform .3s var(--ease), border-color .3s; }
.sh-thumbs button:hover { opacity: 1; transform: translateX(4px); }
.sh-thumbs button.is-on { opacity: 1; }
.sh-stage img { transition: opacity .45s ease, transform .7s var(--ease); }
.sh-stage img.is-swap { opacity: 0; transform: translateX(50px) scale(1.05); }
.sh-zoom { transition: transform .3s var(--ease); }
.sh-zoom:hover { transform: scale(1.1); }
.sh-size, .sh-colour { transition: background .3s, color .3s, border-color .3s, box-shadow .3s, transform .3s var(--ease); }
.sh-size:not(.is-out):hover, .sh-colour:hover { transform: scale(1.1); }
.sh-price.is-tick b, .sh-price.is-tick s, .sh-price.is-tick .sh-off { animation: sh-pagein .45s var(--ease); }
.sh-buy .sh-btn.is-tan { transition: transform .3s var(--ease), filter .3s, background .15s; }
.sh-buy .sh-btn.is-tan:hover { transform: translateY(-2px); filter: brightness(1.08); }
.sh-buynow { transition: transform .3s var(--ease), border-color .4s; }
.sh-buynow:hover { transform: translateY(-2px); }
.sh-heart { transition: transform .3s var(--ease), background .3s, border-color .3s, color .3s; }
.sh-heart:hover { transform: scale(1.1); }
.sh-heart.is-on { background: var(--red); border-color: var(--red); color: var(--white); animation: sh-pop .5s var(--ease); }
.sh-wish { transition: transform .3s var(--ease), color .3s, background .3s; }
.sh-wish:hover { transform: scale(1.12); background: var(--white); }
.sh-wish.is-popped i { animation: sh-pop .5s var(--ease); }
.sh-stepper button { transition: color .2s, transform .2s var(--ease); }
.sh-stepper button:hover { color: var(--tan-dark); }
.sh-stepper button:active { transform: scale(.85); }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .sh *, .sh *::before, .sh *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
    .sh-main .sh-rv { opacity: 1; transform: none; }
}


/* ---------- Print (receipt) ---------- */
@media print {
    .sh-header, .sh-footer, .sh-copy, .sh-top, .sh-track-acts, .sh-toasts, .sh-noprint { display: none !important; }
    body.sh { font-size: 12px; }
    .sh-rv { opacity: 1 !important; transform: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
    .sh-nav { gap: 22px; }
    .sh-cart { grid-template-columns: minmax(0, 1fr) 360px; }
    .sh-footer-in { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .sh-stores { grid-template-columns: repeat(3, minmax(0, 1fr)); padding-inline: 24px; }
    .sh-footer-in > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 980px) {
    .sh-header-in { padding-inline: 16px; gap: 12px; }
    .sh-burger { display: inline-flex; }
    .sh-nav { position: fixed; inset: 62px 0 auto 0; background: var(--white); flex-direction: column; gap: 0; padding: 8px 16px 16px; box-shadow: var(--shadow); display: none; }
    .sh-nav.is-open { display: flex; }
    .sh-nav a { padding: 12px 4px; border-bottom: 1px solid var(--line-2); }
    .sh-logo { margin-right: auto; }
    .sh-cart, .sh-checkout { grid-template-columns: minmax(0, 1fr); padding-inline: 16px; }
    .sh-summary { position: static; }
    .sh-pd { grid-template-columns: minmax(0, 1fr); padding-inline: 16px; }
    .sh-info { padding: 20px 0 0; }
    .sh-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .sh-stores { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sh-nav a::after { display: none; }
    .sh-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sh-account-grid { grid-template-columns: minmax(0, 1fr); }
    .sh-hero.is-center .sh-hero-in { max-width: none; }
}
@media (max-width: 640px) {
    .sh-container, .sh-narrow { padding-inline: 16px; }
    /* Phones: the home banner grows to fit its words instead of a fixed wide shape. */
    .sh-hero.is-center { aspect-ratio: auto; min-height: 0; }
    .sh-hero.is-center .sh-hero-in { padding: 56px 20px 64px; gap: 10px; }
    .sh-hero-title { font-size: clamp(30px, 9.5vw, 44px); }
    .sh-hero-mark { font-size: 200px; right: -30px; bottom: -40px; }
    .sh-word { font-size: 16px; letter-spacing: .1em; }
    .sh-logo .sh-logo-mark { width: 28px; height: 28px; }
    .sh-logo .sh-logo-word { height: 16px; }
    .sh-mono { width: 26px; height: 26px; font-size: 13px; }
    .sh-tools { gap: 10px; }
    .sh-tool { font-size: 20px; }
    .sh-title { padding: 34px 16px 24px; }
    .sh-title h1 { font-size: 24px; }
    .sh-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; padding-inline: 12px; }
    .sh-grid.is-bleed { gap: 22px 12px; padding-inline: 12px; }
    .sh-stores { grid-template-columns: minmax(0, 1fr); gap: 18px; margin-top: 36px; padding-inline: 16px; }
    .sh-store-body { padding: 36px 20px 22px; }
    .sh-store-cover { height: 130px; }
    .sh-store-badge { top: 104px; }
    .sh-tile-name { font-size: 13px; margin-top: 12px; }
    .sh-gallery { grid-template-columns: minmax(0, 1fr); }
    .sh-thumbs { flex-direction: row; order: 2; max-height: none; overflow: auto hidden; padding: 2px; }
    .sh-thumbs button { width: 72px; }
    .sh-thumbs button:hover { transform: none; }
    .sh-line { grid-template-columns: 44px minmax(0, 1fr) 24px; grid-template-areas: "img name x" "img qty total"; }
    .sh-line .sh-limg { grid-area: img; }
    .sh-line .sh-lbody { grid-area: name; }
    .sh-line .sh-lqty { grid-area: qty; }
    .sh-line .sh-ltotal { grid-area: total; }
    .sh-line .sh-lxform { grid-area: x; }
    .sh-slots, .sh-slots.is-two { grid-template-columns: minmax(0, 1fr); }
    .sh-orders-box { padding: 14px; }
    .sh-orow { flex-direction: column; align-items: flex-start; }
    .sh-track { padding-inline: 16px; }
    .sh-tl { grid-template-columns: repeat(var(--n), minmax(0, 1fr)); }
    .sh-tl li { font-size: 11px; }
    .sh-facts { grid-template-columns: minmax(0, 1fr); }
    .sh-formgrid { grid-template-columns: minmax(0, 1fr); }
    .sh-footer-in { grid-template-columns: minmax(0, 1fr); padding-block: 44px 60px; }
    .sh-top { right: 16px; bottom: 20px; width: 46px; height: 46px; }
    .sh-pay { grid-template-columns: 22px minmax(0, 1fr); }
    .sh-pay .sh-apps { grid-column: 2; }
    /* Products / stores toolbar: the type buttons scroll sideways in one row instead of widening the page;
       search gets its own row, sort sits beside the Search button. */
    .sh-toolbar { flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 12px; }
    .sh-filter { position: relative; flex-wrap: nowrap; overflow-x: auto; margin-inline: -16px; padding: 2px 16px; scrollbar-width: none; scroll-snap-type: x proximity; scroll-padding-inline: 16px; }
    .sh-filter::-webkit-scrollbar { display: none; }
    .sh-filter a { flex: none; scroll-snap-align: start; padding: 8px 14px; }
    .sh-toolbar form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
    .sh-toolbar form .sh-input { grid-column: 1 / -1; width: 100%; min-width: 0; height: 44px; }
    .sh-toolbar .sh-dd, .sh-toolbar .sh-dd-btn { width: 100%; min-width: 0; }
    .sh-toolbar .sh-dd-btn, .sh-toolbar .sh-btn.is-sm { height: 44px; }
}
/* Smallest phones (320–380px): tighter header so the icons stay on screen. */
@media (max-width: 380px) {
    .sh-header-in { gap: 8px; padding-inline: 12px; }
    .sh-logo { gap: 6px; }
    .sh-logo .sh-logo-word { height: 13px; }
    .sh-tools { gap: 6px; }
    .sh-tool { font-size: 19px; }
}

/* ---------- Payment page (Razorpay) ---------- */
.sh-paypage { max-width: 460px; margin: 0 auto 64px; padding: 0 16px; }
.sh-paypage-card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); padding: 22px; display: grid; gap: 14px; }
.sh-paypage-card .sh-srow { display: flex; justify-content: space-between; font-size: 14px; }
.sh-paypage-card .sh-btn.is-outline { text-align: center; }
.sh-paypage [hidden] { display: none !important; }

/* Coupons (Views/Shop/Cart/_Coupon): the code box in the cart, the applied code, its row in the totals. */
.sh-coupon { margin: 12px 0 4px; }
.sh-coupon-form { display: flex; align-items: center; gap: 8px; border: 1px dashed var(--line-2); border-radius: 8px; padding: 6px 6px 6px 12px; }
.sh-coupon-form > i { color: var(--muted); font-size: 18px; }
.sh-coupon-form .sh-input { flex: 1; min-width: 0; border: 0; padding: 6px 0; text-transform: uppercase; background: transparent; }
.sh-coupon-form .sh-input:focus { outline: none; box-shadow: none; }
.sh-coupon-form .sh-btn.sh-coupon-apply { padding: 7px 16px; font-size: 13px; color: #fff; }
/* Typed codes show in capitals; the hint stays in normal case. */
.sh-coupon-form .sh-input::placeholder { text-transform: none; }
.sh-coupon-on { display: flex; align-items: center; gap: 8px; background: var(--green-soft); color: var(--green-dark); border-radius: 8px; padding: 9px 12px; font-size: 13px; }
.sh-coupon-on.is-off { background: var(--orange-soft); color: var(--orange-dark); }
.sh-coupon-on > i { font-size: 18px; }
.sh-coupon-on > span { flex: 1; min-width: 0; }
.sh-coupon-x { background: none; border: 0; padding: 0; color: inherit; font-size: 12.5px; font-weight: 600; text-decoration: underline; cursor: pointer; }
.sh-coupon-row, .sh-coupon-off { color: var(--green-dark); }
.sh-coupon-row small { display: block; color: var(--muted); }

/* Delivery to the shopper's pincode on each item tile (Views/Shop/Shared/_ProductTile). */
.sh-tile-deliv { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; line-height: 1.3; margin-top: 2px; color: var(--muted); }
.sh-tile-deliv i { font-size: 13px; }
.sh-tile-deliv.is-ok { color: var(--green-dark); }
.sh-tile-deliv.is-no { color: var(--danger); }
button.sh-tile-deliv.is-ask { background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
button.sh-tile-deliv.is-ask:hover { color: var(--ink); }
/* "Not now" under the pincode dialog's main button. */
.sh-pin-later { background: none; border: 0; padding: 2px; color: var(--muted); font-size: 13px; text-decoration: underline; cursor: pointer; }

/* "Order Again" on an order's page: the one filled button among its actions. */
.sh-track-acts .sh-again { display: contents; }
.sh-track-acts button.is-primary { background: var(--ink); color: var(--white); border-color: var(--ink); }
.sh-track-acts button.is-primary:hover { background: var(--ink); opacity: .9; }

/* A toast with Undo (just removed from the cart). */
.sh-toast.has-undo { display: flex; align-items: center; gap: 14px; }
.sh-toast.has-undo form { margin: 0; }
.sh-toast-undo { background: none; border: 0; padding: 2px 4px; color: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
