/* =====================================================================
   SainikHardware — Design System
   Industrial · Professional · Strong · Clean · Trustworthy
   ===================================================================== */

:root {
    --ink:        #0d1017;   /* deep rich black */
    --ink-2:      #12161f;   /* dark pill navbar / dark satin cards */
    --panel:      #161b24;   /* dark card background */
    --line:       #e2e8f0;   /* border color */
    --paper:      #f8fafc;   /* clean slate paper */
    --card:       #ffffff;   /* clean card */
    --text:       #0f172a;   /* main text */
    --text-inv:   #ffffff;   /* text inverted */
    --muted:      #64748b;   /* muted text */
    --muted-inv:  #94a3b8;   /* muted inverted */
    --steel:      #94a3b8;
    --accent:     #a3e635;   /* Electric Neon Lime — exactly from navbar! */
    --accent-2:   #84cc16;   /* Active Lime Green */
    --accent-dk:  #3f6212;   /* Deep lime-dark text on white surfaces */
    --accent-soft: rgba(163, 230, 53, 0.16);
    --ok:         #10b981;
    --warn:       #f59e0b;
    --bad:        #ef4444;
    --radius:     12px;
    --radius-lg:  20px;
    --radius-pill: 9999px;
    --shadow-1:   0 4px 16px rgba(15, 23, 42, 0.05);
    --shadow-2:   0 16px 40px rgba(15, 23, 42, 0.12);
    --container:  1240px;
    --font: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.55;
    color: var(--text);
    background: var(--paper);
    overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; }

h1, h2, h3, h4 { line-height: 1.18; margin: 0 0 .5em; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
s { color: var(--muted); }

:focus-visible {
    outline: 2px solid var(--accent-2);
    outline-offset: 2px;
}

.sh-container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: clamp(16px, 4vw, 32px);
}

.sh-visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0);
    white-space: nowrap; border: 0;
}

.sh-skip {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 10001;
    background: var(--accent);
    color: var(--ink);
    padding: 10px 16px;
    font-weight: 700;
}
.sh-skip:focus { left: 8px; top: 8px; }

/* ---------- Buttons ---------- */
.sh-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 22px;
    border: 1px solid transparent;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 14.5px;
    line-height: 1.2;
    transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, border-color .15s ease;
    white-space: nowrap;
    text-decoration: none;
    cursor: pointer;
}
.sh-btn:hover { transform: translateY(-1px); }
.sh-btn:active { transform: translateY(0); }
.sh-btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }

.sh-btn--primary {
    background: var(--accent);
    color: #0f172a;
    box-shadow: 0 4px 14px rgba(163, 230, 53, 0.3);
}
.sh-btn--primary:hover {
    background: var(--accent-2);
    color: #0f172a;
    box-shadow: 0 6px 18px rgba(163, 230, 53, 0.45);
}

.sh-btn--dark { background: var(--ink-2); color: #fff; border-radius: var(--radius-pill); }
.sh-btn--dark:hover { background: #000; }

.sh-btn--outline { background: transparent; color: var(--text); border-color: #cbd5e1; border-radius: var(--radius-pill); }
.sh-btn--outline:hover { border-color: var(--accent-2); color: var(--accent-dk); background: #f8fafc; }

.sh-btn--ghost { background: transparent; color: var(--text-inv); border-color: rgba(255,255,255,.25); border-radius: var(--radius-pill); }
.sh-btn--ghost:hover { border-color: var(--accent); color: var(--accent); }

.sh-btn--sm { padding: 6px 14px; font-size: 13px; }
.sh-btn--lg { padding: 13px 28px; font-size: 15.5px; }
.sh-btn--block { width: 100%; }

.sh-link { color: var(--accent-dk); font-weight: 700; font-size: 14.5px; }
.sh-link:hover { text-decoration: underline; }

.sh-eyebrow {
    display: inline-block;
    font-size: 12.5px;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 14px;
}

/* ---------- Top bar ---------- */
.sh-topbar { background: var(--ink); color: var(--muted-inv); font-size: 13px; }
.sh-topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.sh-topbar__msg { margin: 0; }
.sh-topbar__links { display: flex; gap: 18px; }
.sh-topbar__links a:hover { color: var(--accent); }

/* ---------- Header ---------- */
.sh-header { position: sticky; top: 0; z-index: 900; }
.sh-header__main { background: var(--ink-2); border-bottom: 3px solid var(--accent); }
.sh-header__inner {
    display: grid;
    grid-template-columns: auto minmax(220px, 1fr) auto auto;
    align-items: center;
    gap: clamp(12px, 2.5vw, 28px);
    min-height: 74px;
}

.sh-brand { display: inline-flex; align-items: center; gap: 10px; }
.sh-brand__mark { width: 40px; height: 40px; flex: 0 0 auto; }
.sh-brand__text { display: flex; flex-direction: column; line-height: 1; color: #fff; }
.sh-brand__text strong { font-size: 18px; letter-spacing: .08em; font-weight: 800; }
.sh-brand__text em { font-style: normal; font-size: 11.5px; letter-spacing: .3em; color: var(--accent); font-weight: 700; }

.sh-search {
    display: flex;
    align-items: stretch;
    background: #fff;
    border: 2px solid transparent;
    border-radius: var(--radius);
    overflow: hidden;
    max-width: 560px;
    width: 100%;
}
.sh-search:focus-within { border-color: #0f172a; box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08); }
.sh-search input {
    flex: 1;
    border: 0;
    padding: 11px 14px;
    font-size: 15px;
    min-width: 0;
}
.sh-search input:focus { outline: none; }
.sh-search__btn {
    border: 0;
    background: var(--accent-2);
    color: #fff;
    padding: 0 16px;
    display: grid;
    place-items: center;
}
.sh-search__btn:hover { background: var(--accent); color: var(--ink); }

.sh-nav__list { display: flex; gap: clamp(10px, 1.6vw, 22px); }
.sh-nav__list a {
    color: var(--text-inv);
    font-weight: 600;
    font-size: 14.5px;
    padding: 6px 2px;
    border-bottom: 2px solid transparent;
}
.sh-nav__list a:hover, .sh-nav__list a[aria-current="page"] { color: var(--accent); border-bottom-color: var(--accent); }

.sh-header__actions { display: flex; align-items: center; gap: 10px; }

.sh-icon-btn {
    position: relative;
    display: grid;
    place-items: center;
    width: 40px; height: 40px;
    color: var(--text-inv);
    border-radius: var(--radius);
}
.sh-icon-btn:hover { background: rgba(255,255,255,.08); color: var(--accent); }
.sh-icon-btn__badge {
    position: absolute;
    top: 2px; right: 0;
    min-width: 18px; height: 18px;
    padding: 0 4px;
    background: var(--accent-2);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    border-radius: 9px;
    display: grid;
    place-items: center;
}

.sh-burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px; height: 42px;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 10px;
}
.sh-burger span { display: block; height: 2px; background: var(--text-inv); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.sh-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.sh-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.sh-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.sh-mobile-menu {
    background: var(--ink-2);
    border-bottom: 3px solid var(--accent);
    padding: 8px 0 16px;
}
.sh-mobile-menu ul { display: flex; flex-direction: column; }
.sh-mobile-menu a {
    display: block;
    padding: 13px clamp(16px, 4vw, 32px);
    color: var(--text-inv);
    font-weight: 600;
    border-bottom: 1px solid rgba(255,255,255,.06);
}
.sh-mobile-menu a:hover { background: rgba(255,255,255,.05); color: var(--accent); }

/* ---------- Hero ---------- */
.sh-hero {
    position: relative;
    background: radial-gradient(1200px 600px at 80% -10%, #1d2836 0%, var(--ink) 60%);
    color: var(--text-inv);
    overflow: hidden;
}
.sh-hero__bg { position: absolute; inset: 0; pointer-events: none; }
.sh-hero__nut { position: absolute; width: 460px; right: -80px; top: -110px; opacity: .9; }
.sh-hero__bolt { position: absolute; width: 220px; left: -60px; bottom: -50px; }

.sh-hero__inner {
    position: relative;
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    align-items: center;
    gap: clamp(24px, 5vw, 64px);
    padding-block: clamp(48px, 8vw, 96px);
}
.sh-hero h1 {
    font-size: clamp(34px, 5.4vw, 62px);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 18px;
}
.sh-hero h1 span { color: var(--accent); }
.sh-hero__sub { color: var(--muted-inv); font-size: clamp(15px, 1.6vw, 18px); max-width: 56ch; }

.sh-hero__search {
    display: flex;
    gap: 10px;
    margin: 26px 0 22px;
    max-width: 540px;
}
.sh-hero__search input {
    flex: 1;
    min-width: 0;
    padding: 13px 16px;
    border: 2px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255,255,255,.06);
    color: #fff;
}
.sh-hero__search input::placeholder { color: var(--muted-inv); }
.sh-hero__search input:focus { outline: none; border-color: rgba(255, 255, 255, 0.45); }

.sh-hero__stats {
    display: flex;
    gap: clamp(18px, 3vw, 40px);
    margin-bottom: 26px;
}
.sh-hero__stats li { display: flex; flex-direction: column; }
.sh-hero__stats strong { font-size: clamp(22px, 2.6vw, 30px); color: #fff; font-weight: 800; }
.sh-hero__stats span { font-size: 12.5px; color: var(--muted-inv); letter-spacing: .08em; text-transform: uppercase; }

.sh-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }

.sh-hero__visual { display: grid; place-items: center; }
.sh-hero__art {
    width: min(100%, 440px);
    filter: drop-shadow(0 24px 60px rgba(0,0,0,.45));
}

/* ---------- Sections ---------- */
.sh-section { padding-block: clamp(44px, 6vw, 76px); }
.sh-section--alt { background: #fff; border-block: 1px solid #e3e8f0; }

.sh-section__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: clamp(20px, 3vw, 34px);
}
.sh-section__head h2 {
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 800;
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 0;
}
.sh-section__head h2::after {
    content: "";
    position: absolute;
    left: 0; bottom: 0;
    width: 56px; height: 4px;
    background: var(--accent-2);
    border-radius: 2px;
}

/* ---------- Category cards ---------- */
.sh-cat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 14px;
}
.sh-cat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
    padding: 20px 12px;
    background: var(--card);
    border: 1px solid #e3e8f0;
    border-radius: var(--radius-lg);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.sh-cat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-2);
    border-color: var(--accent);
}
.sh-cat-card__icon {
    display: grid;
    place-items: center;
    width: 52px; height: 52px;
    border-radius: 50%;
    background: rgba(163, 230, 53, 0.16);
    color: var(--accent-dk);
}
.sh-cat-card__name { font-weight: 700; font-size: 14.5px; }
.sh-cat-card__count { font-size: 12.5px; color: var(--muted); }

/* ---------- Product cards ---------- */
.sh-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: clamp(14px, 2vw, 22px);
}

.sh-pcard {
    display: flex;
    flex-direction: column;
    background: var(--card);
    border: 1px solid #e3e8f0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform .18s ease, box-shadow .18s ease;
}
.sh-pcard:hover { transform: translateY(-5px); box-shadow: var(--shadow-2); }

.sh-pcard__media {
    position: relative;
    aspect-ratio: 1 / 1;
    background: #eef1f6;
    overflow: hidden;
    display: grid;
    place-items: center;
}
.sh-pcard__media img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}
.sh-pcard:hover .sh-pcard__media img { transform: scale(1.06); }
.sh-pcard__ph { opacity: .8; }

.sh-pcard__tag {
    position: absolute;
    top: 10px; left: 10px;
    background: var(--accent);
    color: #0f172a;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 9px;
    border-radius: var(--radius-pill);
    z-index: 2;
}

.sh-pcard__wish {
    position: absolute;
    top: 8px; right: 8px;
    width: 36px; height: 36px;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,.92);
    border: 1px solid #e3e8f0;
    border-radius: 50%;
    color: var(--muted);
    transition: color .15s ease, transform .15s ease, border-color .15s ease;
    z-index: 2;
}
.sh-pcard__wish:hover { transform: scale(1.1); color: var(--bad); border-color: var(--bad); }
.sh-pcard__wish.is-active { color: var(--bad); border-color: var(--bad); }
.sh-pcard__wish.is-active svg path { fill: var(--bad); }

.sh-pcard__body { display: flex; flex-direction: column; gap: 8px; padding: 14px 16px 16px; flex: 1; }
.sh-pcard__meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; font-size: 12px; }
.sh-pcard__brand { color: var(--accent-dk); font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.sh-pcard__cat { color: var(--muted); }
.sh-pcard__title { font-size: 15.5px; font-weight: 700; margin: 0; line-height: 1.35; }
.sh-pcard__title a:hover { color: var(--accent-2); }
.sh-pcard__price { display: flex; align-items: baseline; gap: 8px; }
.sh-price { font-size: 18px; font-weight: 800; }
.sh-price--mrp { font-size: 14px; }
.sh-pcard__stock { margin: 0; font-size: 12.5px; font-weight: 700; }
.sh-stock--in   { color: var(--ok); }
.sh-stock--low  { color: var(--warn); }
.sh-stock--out  { color: var(--bad); }
.sh-pcard__body .sh-btn { margin-top: auto; }

/* ---------- Offers ---------- */
.sh-offers { padding-block: clamp(30px, 4vw, 50px); background: #fff; border-block: 1px solid #e3e8f0; }
.sh-offers__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.sh-offer {
    padding: 26px 24px;
    border-radius: var(--radius-lg);
    background: rgba(163, 230, 53, 0.12);
    border: 1px solid rgba(163, 230, 53, 0.35);
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
}
.sh-offer h3 { margin: 0; font-size: 20px; font-weight: 800; }
.sh-offer p { margin: 0 0 6px; color: var(--muted); font-size: 14.5px; }
.sh-offer--dark { background: var(--ink-2); border-color: var(--ink-2); color: #fff; }
.sh-offer--dark p { color: var(--muted-inv); }
.sh-offer--accent { background: var(--accent-2); border-color: var(--accent-2); color: #fff; }
.sh-offer--accent p { color: rgba(255,255,255,.85); }
.sh-offer--accent .sh-btn--dark:hover { background: var(--panel); }

/* ---------- Features ---------- */
.sh-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.sh-feature {
    background: var(--card);
    border: 1px solid #e3e8f0;
    border-left: 4px solid var(--accent-2);
    border-radius: var(--radius);
    padding: 20px 20px 18px;
}
.sh-feature__icon {
    display: grid;
    place-items: center;
    width: 46px; height: 46px;
    border-radius: var(--radius);
    background: var(--ink-2);
    color: var(--accent);
    margin-bottom: 12px;
}
.sh-feature h3 { font-size: 16.5px; margin-bottom: 6px; }
.sh-feature p { font-size: 14.5px; color: var(--muted); margin: 0; }

/* ---------- Brands ---------- */
.sh-brands { padding-block: clamp(30px, 4vw, 52px); background: #fff; border-block: 1px solid #e3e8f0; }
.sh-brands__list { display: flex; flex-wrap: wrap; gap: 12px; }
.sh-brands__list li {
    padding: 10px 20px;
    background: var(--paper);
    border: 1px solid #e3e8f0;
    border-radius: var(--radius);
    font-weight: 800;
    font-size: 14.5px;
    letter-spacing: .04em;
    color: var(--muted);
    text-transform: uppercase;
}

/* ---------- Reviews ---------- */
.sh-reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.sh-review {
    background: var(--card);
    border: 1px solid #e3e8f0;
    border-radius: var(--radius-lg);
    padding: 20px;
}
.sh-review__stars { color: var(--accent-2); font-size: 17px; letter-spacing: 3px; margin-bottom: 8px; }
.sh-review p { font-size: 15px; }
.sh-review footer { color: var(--muted); font-size: 13.5px; font-weight: 700; }

/* ---------- CTA band ---------- */
.sh-cta {
    background: linear-gradient(120deg, var(--ink-2), var(--panel));
    color: #fff;
    border-top: 4px solid var(--accent);
}
.sh-cta__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-block: clamp(36px, 5vw, 60px);
}
.sh-cta h2 { font-size: clamp(24px, 3vw, 34px); margin-bottom: 6px; }
.sh-cta p { color: var(--muted-inv); margin: 0; }

/* ---------- Empty state ---------- */
.sh-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    padding: clamp(30px, 5vw, 54px) 20px;
    background: var(--card);
    border: 1px dashed #c6cedb;
    border-radius: var(--radius-lg);
}
.sh-empty h3 { font-size: 18px; margin: 8px 0 0; }
.sh-empty p { color: var(--muted); font-size: 14.5px; max-width: 46ch; margin: 0; }

/* ---------- Skeleton ---------- */
.sh-skeleton {
    background: linear-gradient(90deg, #e9edf3 25%, #f4f6fa 50%, #e9edf3 75%);
    background-size: 200% 100%;
    animation: shSkeleton 1.2s ease-in-out infinite;
    border-radius: var(--radius);
}
@keyframes shSkeleton { to { background-position: -200% 0; } }

/* ---------- Toasts ---------- */
.sh-toasts {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: min(92vw, 360px);
}
.sh-toast {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: var(--ink-2);
    color: #fff;
    border-left: 4px solid var(--accent);
    border-radius: var(--radius);
    padding: 12px 14px;
    box-shadow: var(--shadow-2);
    font-size: 14.5px;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .25s ease, transform .25s ease;
}
.sh-toast.is-visible { opacity: 1; transform: translateY(0); }
.sh-toast--success { border-left-color: var(--ok); }
.sh-toast--error { border-left-color: var(--bad); }
.sh-toast__close {
    margin-left: auto;
    background: transparent;
    border: 0;
    color: var(--muted-inv);
    font-size: 16px;
    line-height: 1;
    padding: 0 2px;
}
.sh-toast__close:hover { color: #fff; }

/* ---------- Footer ---------- */
.sh-footer { background: var(--ink); color: var(--muted-inv); margin-top: auto; }
.sh-footer__grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr) 1fr;
    gap: clamp(20px, 3vw, 40px);
    padding-block: clamp(36px, 5vw, 60px);
}
.sh-footer__brand p { font-size: 14.5px; margin-top: 14px; max-width: 40ch; }
.sh-footer .sh-brand__text strong { color: #fff; }
.sh-footer__wa {
    display: inline-block;
    margin-top: 6px;
    color: var(--ok);
    font-weight: 700;
    font-size: 14.5px;
}
.sh-footer__wa:hover { text-decoration: underline; }
.sh-footer__col h3 { color: #fff; font-size: 15px; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 14px; }
.sh-footer__col li { margin-bottom: 9px; font-size: 14.5px; }
.sh-footer__col a:hover { color: var(--accent); }
.sh-footer__pay li { color: var(--steel); font-weight: 600; }
.sh-footer__bottom { border-top: 1px solid rgba(255,255,255,.08); padding-block: 18px; font-size: 13.5px; }
.sh-footer__bottom p { margin: 0; }

/* ---------- Error page ---------- */
.sh-error__inner { text-align: center; padding-block: clamp(50px, 9vw, 110px); display: flex; flex-direction: column; align-items: center; gap: 6px; }
.sh-error__inner h1 { font-size: clamp(26px, 4vw, 40px); }
.sh-error__inner p { color: var(--muted); max-width: 52ch; }
.sh-error__actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 12px; }

/* ---------- Page transition ---------- */
.sh-main { min-height: 55vh; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .sh-header__inner { grid-template-columns: auto 1fr auto; }
    .sh-nav { display: none; }
}

@media (max-width: 960px) {
    .sh-hero__inner { grid-template-columns: 1fr; }
    .sh-hero__visual { order: -1; }
    .sh-hero__art { width: min(78%, 340px); }
    .sh-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
    .sh-header__inner { grid-template-columns: auto auto 1fr; min-height: 64px; gap: 10px; }
    .sh-search { grid-column: 1 / -1; order: 5; max-width: none; margin-bottom: 12px; }
    .sh-header__main { padding-top: 0; }
    .sh-burger { display: flex; }
    .sh-header__actions .sh-btn--outline { display: none; }
    .sh-topbar__links { display: none; }
}

@media (max-width: 560px) {
    .sh-topbar__msg { font-size: 12px; }
    .sh-product-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
    .sh-hero__stats { gap: 16px; }
    .sh-brand__text strong { font-size: 16px; }
    .sh-brand__text em { font-size: 10px; letter-spacing: .22em; }
    .sh-footer__grid { grid-template-columns: 1fr; }
    .sh-section__head { flex-direction: column; align-items: flex-start; gap: 6px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
    .sh-pcard:hover, .sh-cat-card:hover, .sh-btn:hover { transform: none; }
}

/* ---------- Alerts & forms ---------- */
.sh-alert {
    padding: 11px 14px;
    border-radius: var(--radius);
    font-size: 14.5px;
    margin-bottom: 16px;
}
.sh-alert--error { background: #fdecec; border: 1px solid #f5c2c5; color: #a01822; }

/* ---------- Auth pages ---------- */
.sh-auth {
    min-height: 64vh;
    display: grid;
    place-items: center;
    padding: clamp(30px, 6vw, 70px) clamp(16px, 4vw, 32px);
    background: linear-gradient(180deg, #eef1f6, var(--paper));
}
.sh-auth__card {
    width: min(100%, 430px);
    background: #fff;
    border: 1px solid #e3e8f0;
    border-top: 4px solid var(--accent-2);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-1);
    padding: clamp(22px, 4vw, 34px);
}
.sh-auth__card--wide { width: min(100%, 640px); }
.sh-auth__head { display: flex; gap: 14px; align-items: center; margin-bottom: 20px; }
.sh-auth__head h1 { font-size: 22px; margin-bottom: 2px; }
.sh-auth__head p { color: var(--muted); font-size: 14.5px; margin: 0; }
.sh-form { display: flex; flex-direction: column; gap: 14px; }
.sh-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.sh-field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.sh-field input {
    padding: 11px 13px;
    border: 1.5px solid #c6cedb;
    border-radius: var(--radius);
    font-size: 15px;
    font-weight: 400;
    width: 100%;
}
.sh-field input:focus { outline: none; border-color: var(--accent-2); }
.sh-field select,
.sh-field textarea {
    width: 100%;
    padding: 11px 13px;
    border: 1.5px solid #c6cedb;
    border-radius: var(--radius);
    background: #fff;
    font-size: 15px;
    font-weight: 400;
    resize: vertical;
}
.sh-field select:focus,
.sh-field textarea:focus { outline: none; border-color: var(--accent-2); }
.sh-field textarea {
    font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
    font-size: 13.5px;
    line-height: 1.55;
}
.sh-field small { font-weight: 500; font-size: 12.5px; line-height: 1.45; }
.sh-field__error { color: var(--bad); font-weight: 600; font-size: 12.5px; }

.sh-form__group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0;
    padding: 16px 18px;
    border: 1px solid #e3e8f0;
    border-radius: var(--radius-lg);
}
.sh-form__group legend {
    padding: 0 6px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted);
}
.sh-form__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.sh-form__status {
    min-height: 20px;
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--muted);
}
.sh-form__status.is-ok { color: var(--ok); }
.sh-form__status.is-error { color: var(--bad); }
.sh-auth__alt { text-align: center; margin: 18px 0 0; font-size: 14.5px; color: var(--muted); }
.sh-auth__hint { text-align: center; margin: 8px 0 0; font-size: 12.5px; color: var(--muted); }

/* ---------- Admin dashboard ---------- */
.sh-admin {
    display: grid;
    grid-template-columns: 250px 1fr;
    min-height: 78vh;
    background: #eef1f6;
}
.sh-admin__side {
    background: var(--ink-2);
    color: var(--text-inv);
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 18px 0 22px;
    border-right: 3px solid var(--accent);
}
.sh-admin__brand { display: flex; align-items: center; gap: 10px; padding: 0 18px; }
.sh-admin__brand strong { font-size: 14px; letter-spacing: .08em; color: #fff; line-height: 1.2; }
.sh-admin__brand em { font-style: normal; color: var(--accent); display: block; font-size: 11px; letter-spacing: .2em; }
.sh-admin__nav { display: flex; flex-direction: column; gap: 3px; padding: 0 10px; flex: 1; overflow-y: auto; }
.sh-admin__nav a,
.sh-admin__nav .is-disabled { display: block; padding: 9px 12px; border-radius: var(--radius); font-size: 14.5px; font-weight: 600; }
.sh-admin__nav a { color: #fff; }
.sh-admin__nav a:hover { background: rgba(255,255,255,.07); color: var(--accent); }
.sh-admin__nav a.is-active { background: var(--accent-2); color: #fff; }
.sh-admin__group-title { margin: 13px 12px 3px; font-size: 11.5px; text-transform: uppercase; letter-spacing: .14em; color: var(--muted-inv); }
.sh-admin__nav .is-disabled { color: #5b6779; cursor: not-allowed; }
.sh-admin__side-foot { padding: 0 18px; display: flex; flex-direction: column; gap: 12px; font-size: 14px; }
.sh-admin__side-foot a { color: var(--muted-inv); }
.sh-admin__side-foot a:hover { color: var(--accent); }
.sh-admin__main { padding: clamp(18px, 3vw, 32px); min-width: 0; }
.sh-admin__top h1 { font-size: clamp(22px, 3vw, 30px); margin-bottom: 4px; }
.sh-admin__top p { color: var(--muted); font-size: 14.5px; margin: 0; }
.sh-admin__role { text-transform: uppercase; font-weight: 700; letter-spacing: .06em; font-size: 12.5px; color: var(--accent-dk); }
.sh-admin__stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; margin: 20px 0; }
.sh-stat {
    background: #fff;
    border: 1px solid #e3e8f0;
    border-left: 4px solid var(--accent-2);
    border-radius: var(--radius);
    padding: 16px 18px;
}
.sh-stat__label { display: block; font-size: 12.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.sh-stat__value { display: block; font-size: 26px; font-weight: 800; margin-top: 6px; color: var(--text); }
.sh-admin__panel { background: #fff; border: 1px solid #e3e8f0; border-radius: var(--radius-lg); padding: clamp(16px, 3vw, 26px); }
.sh-admin__panel h2 { font-size: 18px; margin-bottom: 14px; }
.sh-muted { color: var(--muted); font-size: 14.5px; }
.sh-admin__orders li { padding: 9px 0; border-bottom: 1px dashed #e3e8f0; font-size: 14.5px; }
.sh-header__logout { display: inline-flex; }
.sh-mobile-logout { display: block; }
.sh-mobile-logout button {
    width: 100%;
    background: transparent;
    border: 0;
    color: var(--text-inv);
    font-weight: 600;
    font-size: 14.5px;
    text-align: left;
    padding: 13px clamp(16px, 4vw, 32px);
    cursor: pointer;
}
.sh-mobile-logout button:hover { color: var(--accent); }

@media (max-width: 960px) {
    .sh-admin { grid-template-columns: 1fr; }
    .sh-admin__side { border-right: 0; border-bottom: 3px solid var(--accent); }
    .sh-admin__nav { flex-direction: row; flex-wrap: wrap; gap: 8px; }
    .sh-admin__group { display: flex; flex-wrap: wrap; gap: 8px; }
    .sh-admin__group-title { width: 100%; margin-bottom: 0; }
}

@media (max-width: 560px) {
    .sh-form__row { grid-template-columns: 1fr; }
}

/* =====================================================================
   Components — navigation, shop, product, cart, orders, account, admin
   ===================================================================== */

/* ---------- Header extras ---------- */
.sh-admin-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: var(--radius);
    background: rgba(255, 179, 71, .12);
    border: 1px solid var(--accent);
    color: var(--accent);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    transition: background-color .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.sh-admin-link:hover {
    background: var(--accent);
    color: var(--ink);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(255, 179, 71, .35);
}

.sh-btn--white {
    background: #fff;
    color: var(--ink-2);
    border-color: #fff;
    font-weight: 800;
}
.sh-btn--white:hover { background: var(--accent); border-color: var(--accent); color: var(--ink); }

.sh-icon-btn--cart:hover { color: var(--accent); }

.sh-icon-btn__badge.is-pop { animation: shBadgePop .35s cubic-bezier(.2, 1.6, .4, 1); }
@keyframes shBadgePop {
    0% { transform: scale(1); }
    45% { transform: scale(1.55); }
    100% { transform: scale(1); }
}

/* ---------- Breadcrumb ---------- */
.sh-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    color: var(--muted);
    margin-bottom: 20px;
}
.sh-breadcrumb a { color: var(--muted); font-weight: 600; transition: color .15s ease; }
.sh-breadcrumb a:hover { color: var(--accent-2); }
.sh-breadcrumb span[aria-current="page"] { color: var(--text); font-weight: 700; }

/* ---------- Small utilities ---------- */
.sh-container--narrow { max-width: 880px; }
.sh-hero__copy { min-width: 0; }
.sh-cart__empty { max-width: 720px; margin-inline: auto; }
.sh-address-card { font-style: normal; font-size: 15px; line-height: 1.7; color: var(--text); }
.sh-address-card strong { font-size: 16px; }
.sh-shop__sort { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.sh-pcard__wish--lg { width: 44px; height: 44px; top: 12px; right: 12px; }
.sh-section__head--sub { margin-top: clamp(28px, 4vw, 44px); }
.sh-section__head--sub h2 { font-size: clamp(18px, 2.4vw, 24px); }
.sh-price--lg { font-size: clamp(24px, 3vw, 32px); font-weight: 800; }
.sh-price-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sh-field--inline { flex-direction: row; align-items: center; gap: 8px; }
.sh-field--check { flex-direction: row; align-items: center; gap: 9px; }
.sh-field--check input { width: 17px; height: 17px; accent-color: var(--accent-2); }
.sh-field select,
.sh-field textarea {
    padding: 11px 13px;
    border: 1.5px solid #c6cedb;
    border-radius: var(--radius);
    font-size: 15px;
    background: #fff;
    width: 100%;
}
.sh-field select:focus, .sh-field textarea:focus { outline: none; border-color: var(--accent-2); }
.sh-inline-form { display: inline; }

.sh-chip {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 999px;
    background: #eef1f6;
    border: 1px solid #dde3ec;
    color: var(--muted);
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.sh-chip--accent { background: rgba(163, 230, 53, 0.16); border-color: var(--accent); color: var(--accent-dk); }
.sh-chip--role { background: var(--ink-2); border-color: var(--ink-2); color: var(--accent); }

.sh-avatar {
    display: grid;
    place-items: center;
    width: 58px; height: 58px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-2), var(--accent));
    color: var(--ink);
    font-size: 21px;
    font-weight: 800;
    letter-spacing: .04em;
}

/* ---------- Shop layout ---------- */
.sh-shop__layout {
    display: grid;
    grid-template-columns: 268px minmax(0, 1fr);
    gap: clamp(18px, 2.5vw, 30px);
    align-items: start;
}

.sh-filters {
    background: var(--card);
    border: 1px solid #e3e8f0;
    border-top: 4px solid var(--accent);
    border-radius: var(--radius-lg);
    padding: 18px;
    position: sticky;
    top: 96px;
}
.sh-filters__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.sh-filters__head h2 { font-size: 17px; margin: 0; }
.sh-filters__form { display: flex; flex-direction: column; gap: 13px; }

.sh-shop__results { min-width: 0; }
.sh-shop__toolbar {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}
.sh-shop__toolbar h1 { font-size: clamp(21px, 2.8vw, 28px); margin-bottom: 2px; }
.sh-shop__count { color: var(--muted); font-size: 14px; margin: 0; }
.sh-shop__perpage { display: flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--muted); }
.sh-shop__perpage a {
    padding: 4px 10px;
    border: 1px solid #dde3ec;
    border-radius: var(--radius);
    font-weight: 700;
    transition: all .15s ease;
}
.sh-shop__perpage a:hover { border-color: var(--accent); color: var(--accent-dk); }
.sh-shop__perpage a.is-active { background: var(--accent); border-color: var(--accent); color: var(--ink); }

.sh-pagination { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: clamp(22px, 3vw, 34px); }
.sh-pagination .sh-page {
    min-width: 38px;
    padding: 8px 12px;
    text-align: center;
    border: 1px solid #dde3ec;
    border-radius: var(--radius);
    background: #fff;
    font-weight: 700;
    font-size: 14.5px;
    transition: all .15s ease;
}
.sh-pagination .sh-page:hover { border-color: var(--accent); color: var(--accent-dk); transform: translateY(-1px); }
.sh-pagination .sh-page.is-active { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.sh-pagination .sh-page.is-disabled { opacity: .5; cursor: not-allowed; transform: none; }
.sh-pagination .sh-page.is-gap { border: 0; background: transparent; pointer-events: none; }

@media (max-width: 900px) {
    .sh-shop__layout { grid-template-columns: 1fr; }
    .sh-filters { position: static; }
}

/* ---------- Product detail ---------- */
.sh-product__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(24px, 4vw, 52px);
    align-items: start;
}
.sh-product__info { position: sticky; top: 100px; }
.sh-product__sku { font-size: 12.5px; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.sh-product__short { color: var(--muted); font-size: 15.5px; }
.sh-product__rating { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.sh-product__price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin: 14px 0 6px; }
.sh-product__stock { font-weight: 800; font-size: 14.5px; }
.sh-product__tax { font-size: 13px; color: var(--muted); }
.sh-product__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0; }
.sh-product__perks { display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--muted); }
.sh-product__details { margin-top: clamp(28px, 4vw, 46px); }
.sh-product__desc { color: var(--text); font-size: 15.5px; line-height: 1.7; }
.sh-product__reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }

.sh-gallery { display: flex; flex-direction: column; gap: 12px; }
.sh-gallery__main {
    aspect-ratio: 1 / 1;
    background: #eef1f6;
    border: 1px solid #e3e8f0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: grid;
    place-items: center;
}
.sh-gallery__main img { width: 100%; height: 100%; object-fit: contain; }
.sh-gallery__thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 10px; }
.sh-gallery__thumb {
    aspect-ratio: 1 / 1;
    background: #eef1f6;
    border: 2px solid transparent;
    border-radius: var(--radius);
    overflow: hidden;
    padding: 0;
    transition: border-color .15s ease, transform .15s ease;
}
.sh-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.sh-gallery__thumb:hover { transform: translateY(-2px); }
.sh-gallery__thumb.is-active { border-color: var(--accent-2); }

.sh-qty {
    display: inline-flex;
    align-items: stretch;
    border: 1.5px solid #c6cedb;
    border-radius: var(--radius);
    overflow: hidden;
    background: #fff;
}
.sh-qty button {
    width: 40px;
    background: #f5f7fa;
    border: 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    transition: background-color .15s ease;
}
.sh-qty button:hover { background: var(--accent); color: var(--ink); }
.sh-qty input {
    width: 52px;
    border: 0;
    border-inline: 1px solid #e3e8f0;
    text-align: center;
    font-weight: 700;
    -moz-appearance: textfield;
}
.sh-qty input::-webkit-outer-spin-button, .sh-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.sh-qty input:focus { outline: none; }

.sh-spec-table, .sh-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid #e3e8f0; border-radius: var(--radius-lg); overflow: hidden; }
.sh-spec-table th, .sh-spec-table td, .sh-table th, .sh-table td { padding: 11px 14px; text-align: left; border-bottom: 1px solid #eef1f6; font-size: 14.5px; }
.sh-spec-table th, .sh-table th { background: var(--paper); font-size: 12.5px; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); }
.sh-verified { color: var(--ok); font-weight: 700; font-size: 13px; }

.sh-tabs { display: flex; gap: 6px; border-bottom: 2px solid #e3e8f0; margin-bottom: 18px; flex-wrap: wrap; }
.sh-tabs a, .sh-tabs button {
    padding: 9px 16px;
    background: transparent;
    border: 0;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    font-weight: 700;
    font-size: 14.5px;
    color: var(--muted);
    transition: color .15s ease, border-color .15s ease;
}
.sh-tabs a:hover, .sh-tabs button:hover { color: var(--text); }
.sh-tabs .is-active, .sh-tabs a[aria-current="page"] { color: var(--accent-2); border-bottom-color: var(--accent-2); }

@media (max-width: 900px) {
    .sh-product__grid { grid-template-columns: 1fr; }
    .sh-product__info { position: static; }
}

/* ---------- Category hero ---------- */
.sh-cat-hero {
    background: linear-gradient(120deg, var(--ink-2), var(--panel));
    color: #fff;
    border-bottom: 4px solid var(--accent);
    border-radius: var(--radius-lg);
    padding: clamp(26px, 4vw, 46px);
    margin-bottom: clamp(20px, 3vw, 32px);
}
.sh-cat-hero h1 { font-size: clamp(24px, 3.6vw, 38px); margin-bottom: 6px; }
.sh-cat-hero p { color: var(--muted-inv); margin: 0; max-width: 62ch; }

/* ---------- Cart ---------- */
.sh-cart__layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: clamp(18px, 3vw, 32px); align-items: start; }
.sh-cart__items { display: flex; flex-direction: column; gap: 12px; }

.sh-cart-row {
    display: grid;
    grid-template-columns: 80px minmax(0, 1fr) auto auto auto;
    align-items: center;
    gap: 16px;
    background: var(--card);
    border: 1px solid #e3e8f0;
    border-radius: var(--radius-lg);
    padding: 14px 16px;
    transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease;
}
.sh-cart-row:hover { border-color: var(--accent); box-shadow: var(--shadow-1); transform: translateY(-2px); }
.sh-cart-row__media { width: 80px; height: 80px; border-radius: var(--radius); overflow: hidden; background: #eef1f6; display: grid; place-items: center; }
.sh-cart-row__media img { width: 100%; height: 100%; object-fit: cover; }
.sh-cart-row__info h3 { font-size: 15.5px; margin: 0 0 4px; }
.sh-cart-row__info h3 a:hover { color: var(--accent-2); }
.sh-cart-row__price { margin: 0; font-weight: 800; font-size: 15px; }
.sh-cart-row__price s { font-weight: 400; font-size: 13px; margin-left: 6px; }
.sh-cart-row__line { font-size: 16.5px; font-weight: 800; white-space: nowrap; }
.sh-cart-row__qty { display: inline-flex; align-items: stretch; border: 1.5px solid #c6cedb; border-radius: var(--radius); overflow: hidden; }
.sh-cart-row__qty button { width: 32px; background: #f5f7fa; border: 0; font-size: 16px; font-weight: 700; }
.sh-cart-row__qty button:hover { background: var(--accent); }
.sh-cart-row__qty input { width: 46px; border: 0; border-inline: 1px solid #e3e8f0; text-align: center; font-weight: 700; -moz-appearance: textfield; }
.sh-cart-row__qty input::-webkit-outer-spin-button, .sh-cart-row__qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.sh-cart-row__remove { background: transparent; border: 0; color: var(--muted); font-size: 17px; transition: color .15s ease, transform .15s ease; }
.sh-cart-row__remove:hover { color: var(--bad); transform: scale(1.15); }

.sh-cart__summary {
    background: var(--card);
    border: 1px solid #e3e8f0;
    border-top: 4px solid var(--accent-2);
    border-radius: var(--radius-lg);
    padding: 20px;
    position: sticky;
    top: 100px;
}
.sh-cart__summary h2 { font-size: 18px; margin-bottom: 14px; }
.sh-cart__summary dl { margin: 0 0 14px; display: flex; flex-direction: column; gap: 9px; }
.sh-cart__summary dl > div { display: flex; justify-content: space-between; gap: 12px; font-size: 14.5px; }
.sh-cart__summary dt { color: var(--muted); }
.sh-cart__summary dd { margin: 0; font-weight: 700; }
.sh-cart__total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-top: 13px; border-top: 2px dashed #dde3ec; margin-bottom: 14px; }
.sh-cart__total strong { font-size: 22px; font-weight: 800; }
.sh-cart__summary .sh-btn + .sh-btn { margin-top: 10px; }
.sh-cart__freeship { font-size: 13.5px; color: var(--muted); min-height: 20px; }
.sh-cart__freeship.is-done { color: var(--ok); font-weight: 700; }

@media (max-width: 900px) {
    .sh-cart__layout { grid-template-columns: 1fr; }
    .sh-cart__summary { position: static; }
    .sh-cart-row { grid-template-columns: 64px minmax(0, 1fr) auto; grid-template-areas: "media info remove" "media qty line"; row-gap: 10px; }
    .sh-cart-row__media { grid-area: media; width: 64px; height: 64px; }
    .sh-cart-row__info { grid-area: info; }
    .sh-cart-row__qty { grid-area: qty; justify-self: start; }
    .sh-cart-row__line { grid-area: line; justify-self: end; align-self: center; }
    .sh-cart-row__remove { grid-area: remove; justify-self: end; }
}

/* ---------- Checkout ---------- */
.sh-checkout__grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(20px, 3vw, 36px); align-items: start; }
.sh-checkout__address {
    background: var(--card);
    border: 1px solid #e3e8f0;
    border-radius: var(--radius-lg);
    padding: clamp(18px, 3vw, 26px);
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.sh-checkout__address h2 { font-size: 19px; margin: 6px 0 0; }
.sh-checkout__address h2:not(:first-child) { margin-top: 14px; }
.sh-checkout__summary { position: sticky; top: 100px; }
.sh-checkout__items { display: flex; flex-direction: column; gap: 9px; margin: 0 0 14px; }
.sh-checkout__items li { display: flex; justify-content: space-between; gap: 12px; font-size: 14.5px; }
.sh-checkout__item-name { color: var(--muted); }
.sh-checkout__item-name small { color: var(--text); font-weight: 700; }
.sh-checkout__note { font-size: 12.5px; color: var(--muted); margin: 12px 0 0; text-align: center; }

.sh-pay-options { display: flex; flex-direction: column; gap: 12px; }
.sh-pay-option {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 15px 16px;
    border: 1.5px solid #dde3ec;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: border-color .15s ease, background-color .15s ease, transform .15s ease;
}
.sh-pay-option:hover { border-color: var(--accent); transform: translateY(-1px); }
.sh-pay-option:has(input:checked) { border-color: var(--accent-2); background: rgba(163, 230, 53, 0.12); }
.sh-pay-option input { margin-top: 4px; accent-color: var(--accent-2); width: 17px; height: 17px; }
.sh-pay-option strong { display: block; font-size: 15px; }
.sh-pay-option small { color: var(--muted); font-size: 13px; }

@media (max-width: 900px) {
    .sh-checkout__grid { grid-template-columns: 1fr; }
    .sh-checkout__summary { position: static; }
}

/* ---------- Orders & tracking ---------- */
.sh-orders { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.sh-order-card {
    background: var(--card);
    border: 1px solid #e3e8f0;
    border-left: 4px solid var(--accent-2);
    border-radius: var(--radius-lg);
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.sh-order-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-left-color: var(--accent); }
.sh-order-card__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.sh-order-card__head strong { font-size: 15.5px; }
.sh-order-card__head .sh-muted { display: block; font-size: 13px; }
.sh-order-card__body { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 14.5px; }
.sh-order-card__foot { display: flex; gap: 10px; margin-top: auto; }

.sh-status {
    display: inline-flex;
    align-items: center;
    padding: 4px 11px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
    background: #eef1f6;
    color: var(--muted);
    white-space: nowrap;
}
.sh-status--pending    { background: #fff4e0; color: #9a6a05; }
.sh-status--confirmed  { background: #e6f1ff; color: #1f5fbf; }
.sh-status--processing { background: #eaf3ff; color: #2b6cd4; }
.sh-status--packed     { background: #eceafe; color: #5b45c9; }
.sh-status--shipped    { background: #e4f6ee; color: #177a4b; }
.sh-status--delivered  { background: #e2f7ea; color: var(--ok); }
.sh-status--cancelled  { background: #fdecec; color: var(--bad); }

.sh-order { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: clamp(18px, 3vw, 32px); align-items: start; }
.sh-order__grid { display: flex; flex-direction: column; gap: 18px; }
.sh-order__main, .sh-order__pay {
    background: var(--card);
    border: 1px solid #e3e8f0;
    border-radius: var(--radius-lg);
    padding: clamp(16px, 3vw, 24px);
}
.sh-order__main h2, .sh-order__pay h2 { font-size: 18px; margin-bottom: 14px; }

.sh-track { display: flex; flex-direction: column; gap: 0; margin: 6px 0; }
.sh-track__step { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 14px; position: relative; padding-bottom: 22px; }
.sh-track__step:last-child { padding-bottom: 0; }
.sh-track__step::before {
    content: "";
    position: absolute;
    left: 12px; top: 22px; bottom: 0;
    width: 2px;
    background: #dde3ec;
}
.sh-track__step:last-child::before { display: none; }
.sh-track__step.is-done::before { background: var(--ok); }
.sh-track__dot {
    width: 26px; height: 26px;
    border-radius: 50%;
    background: #eef1f6;
    border: 2px solid #dde3ec;
    display: grid;
    place-items: center;
    font-size: 12px;
    font-weight: 800;
    color: var(--muted);
    z-index: 1;
    transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}
.sh-track__step.is-done .sh-track__dot { background: var(--ok); border-color: var(--ok); color: #fff; transform: scale(1.05); }
.sh-track__step.is-current .sh-track__dot { background: var(--accent-2); border-color: var(--accent-2); color: #fff; animation: shPulse 1.8s ease-in-out infinite; }
@keyframes shPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255,122,26,.45); } 50% { box-shadow: 0 0 0 8px rgba(255,122,26,0); } }
.sh-track__step strong { display: block; font-size: 14.5px; }
.sh-track__step span { font-size: 13px; color: var(--muted); }

@media (max-width: 900px) {
    .sh-order { grid-template-columns: 1fr; }
}

/* ---------- Account ---------- */
.sh-account__logout { margin: 0; }
.sh-account__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.sh-account__card {
    background: var(--card);
    border: 1px solid #e3e8f0;
    border-radius: var(--radius-lg);
    padding: 20px;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.sh-account__card--profile { grid-column: span 2; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; border-left: 4px solid var(--accent-2); }
.sh-account__card--profile h2 { font-size: 19px; margin-bottom: 2px; }
.sh-account__card--profile p { margin: 0; font-size: 14px; }
.sh-account__card--profile > div { flex: 1; min-width: 180px; }
.sh-account__link { display: flex; flex-direction: column; gap: 4px; }
.sh-account__link strong { font-size: 16.5px; }
.sh-account__link .sh-muted { font-size: 13.5px; }
.sh-account__link:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: var(--accent); }
.sh-account__link--admin { background: var(--ink-2); border-color: var(--ink-2); color: #fff; }
.sh-account__link--admin .sh-muted { color: var(--muted-inv); }
.sh-account__link--admin:hover { border-color: var(--accent); }

.sh-account__panels { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 18px; align-items: start; }
.sh-account__panel {
    background: var(--card);
    border: 1px solid #e3e8f0;
    border-top: 4px solid var(--accent-2);
    border-radius: var(--radius-lg);
    padding: clamp(18px, 3vw, 26px);
}
.sh-account__panel h2 { font-size: 18px; margin-bottom: 16px; }

/* ---------- Addresses ---------- */
.sh-addr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.sh-addr-card {
    background: var(--card);
    border: 1px solid #e3e8f0;
    border-radius: var(--radius-lg);
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.sh-addr-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: var(--accent); }
.sh-addr-card header { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.sh-addr-card header strong { font-size: 15.5px; }
.sh-addr-card p { margin: 0; font-size: 14px; line-height: 1.6; }
.sh-addr-card footer { display: flex; gap: 8px; margin-top: auto; padding-top: 8px; }

/* ---------- Modal ---------- */
.sh-modal { position: fixed; inset: 0; z-index: 9500; display: grid; place-items: center; padding: 18px; }
.sh-modal[hidden] { display: none; }
.sh-modal__backdrop { position: absolute; inset: 0; background: rgba(14, 18, 24, .6); backdrop-filter: blur(3px); animation: shFadeIn .2s ease; }
.sh-modal__card {
    position: relative;
    width: min(100%, 560px);
    max-height: min(88vh, 780px);
    overflow-y: auto;
    background: #fff;
    border-radius: var(--radius-lg);
    border-top: 4px solid var(--accent-2);
    box-shadow: var(--shadow-2);
    padding: clamp(18px, 3vw, 26px);
    animation: shModalIn .28s cubic-bezier(.2, 1.1, .35, 1);
}
.sh-modal__card header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.sh-modal__card header h2 { font-size: 19px; margin: 0; }
.sh-modal__close { background: transparent; border: 0; font-size: 18px; color: var(--muted); transition: color .15s ease, transform .15s ease; }
.sh-modal__close:hover { color: var(--bad); transform: rotate(90deg); }
@keyframes shFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes shModalIn { from { opacity: 0; transform: translateY(24px) scale(.97); } to { opacity: 1; transform: none; } }
body.is-locked { overflow: hidden; }

/* ---------- Admin extras ---------- */
.sh-admin__panel--split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(18px, 3vw, 34px); margin-top: 18px; }
.sh-admin__tips { display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--muted); }
.sh-admin__tips li { padding-left: 18px; position: relative; }
.sh-admin__tips li::before { content: ""; position: absolute; left: 0; top: 8px; width: 8px; height: 8px; border-radius: 2px; background: var(--accent-2); }
.sh-admin__tips strong { color: var(--text); }
.sh-stat, .sh-admin__panel { animation: shRise .45s ease both; }
.sh-stat:nth-child(2) { animation-delay: .05s; }
.sh-stat:nth-child(3) { animation-delay: .1s; }
.sh-stat:nth-child(4) { animation-delay: .15s; }
.sh-stat:nth-child(5) { animation-delay: .2s; }
.sh-stat:nth-child(6) { animation-delay: .25s; }
.sh-stat:nth-child(7) { animation-delay: .3s; }
.sh-stat:nth-child(8) { animation-delay: .35s; }
@keyframes shRise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

@media (max-width: 960px) {
    .sh-admin__panel--split { grid-template-columns: 1fr; }
    .sh-account__card--profile { grid-column: span 1; }
}

/* ---------- Reveal helpers (GSAP hooks) ---------- */
[data-reveal] { opacity: 0; transform: translateY(22px); }
[data-reveal].is-revealed { opacity: 1; transform: none; transition: opacity .55s ease, transform .55s ease; }

/* ---------- Mobile header: brand left, everything else right ---------- */
@media (max-width: 860px) {
    .sh-header__inner { grid-template-columns: auto minmax(0, 1fr) auto; }
    .sh-brand { justify-self: start; }
    .sh-header__actions { justify-self: end; margin-left: auto; }
    .sh-header__actions .sh-admin-link { padding: 6px 10px; font-size: 11.5px; }
}
@media (max-width: 560px) {
    .sh-header__actions { gap: 6px; }
    .sh-header__actions .sh-icon-btn { width: 36px; height: 36px; }
    .sh-cart-row__qty input { width: 40px; }
}
