:root {
    color-scheme: dark;
    --bg: #0d0a08;
    --bg-2: #14100c;
    --surface: #1a1410;
    --surface-2: #231b15;
    --line: #33281f;
    --ink: #f7f1eb;
    --muted: #a8998c;
    --orange: #ff7a1a;
    --red: #e23a22;
    --on-accent: #140b05;
    --glow: rgba(255, 122, 26, 0.3);
    --shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.7);
    --stripe-dark: #0d0a08;
    --led-off: #3a2e25;
    --panel: #1f1813;
    --panel-edge: #3a2d23;
    --display: "Big Shoulders Display", "Oswald", "Arial Narrow", Impact, sans-serif;
    --body: "Barlow", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
    --radius: 10px;
}
:root[data-mode="light"] {
    color-scheme: light;
    --bg: #fbf8f4;
    --bg-2: #f3ede6;
    --surface: #ffffff;
    --surface-2: #f7f2ec;
    --line: #e3d8cc;
    --ink: #1a120c;
    --muted: #65574b;
    --orange: #e0600a;
    --red: #c4281a;
    --on-accent: #ffffff;
    --glow: rgba(224, 96, 10, 0.16);
    --shadow: 0 20px 40px -24px rgba(60, 30, 10, 0.35);
    --stripe-dark: #1a120c;
    --led-off: #d9ccbf;
    --panel: #ffffff;
    --panel-edge: #e3d8cc;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--body);
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    transition:
        background-color 0.35s ease,
        color 0.35s ease;
}
a {
    color: inherit;
}
img,
svg {
    max-width: 100%;
}
:focus-visible {
    outline: 2px solid var(--orange);
    outline-offset: 3px;
    border-radius: 4px;
}
h1,
h2,
h3 {
    font-family: var(--display);
    line-height: 0.95;
    text-wrap: balance;
    margin: 0;
    letter-spacing: 0.005em;
}
p {
    margin: 0;
}
.wrap {
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: clamp(16px, 4vw, 40px);
}
.mono {
    font-family: var(--mono);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--orange);
}
.eyebrow::before {
    content: "";
    width: 22px;
    height: 2px;
    background: linear-gradient(90deg, var(--orange), var(--red));
}
.muted {
    color: var(--muted);
}

/* ---------- Header ---------- */
.header {
    position: sticky;
    top: env(safe-area-inset-top, 0px);
    z-index: 50;
    background: color-mix(in srgb, var(--bg) 86%, transparent);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}
.header .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    height: 72px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    text-decoration: none;
}
.brand svg {
    width: 40px;
    height: 40px;
    flex: none;
}
.brand-name {
    font-family: var(--display);
    font-weight: 900;
    font-size: 1.55rem;
    letter-spacing: 0.04em;
    line-height: 1;
    text-transform: uppercase;
}
.brand-sub {
    display: block;
    font-family: var(--mono);
    font-size: 0.62rem;
    letter-spacing: 0.18em;
    color: var(--muted);
    text-transform: uppercase;
    margin-top: 3px;
}
.Logo-img {
  width: 60px;
}
.nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}
.nav a {
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.5rem 0.85rem;
    border-radius: 999px;
    color: var(--muted);
    transition:
        color 0.2s,
        background 0.2s;
}
.nav a:hover {
    color: var(--ink);
    background: var(--surface-2);
}
.nav a[aria-current="page"] {
    color: var(--ink);
    background: var(--surface-2);
    box-shadow: inset 0 -2px 0 var(--orange);
}
.header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.theme-toggle,
.menu-btn {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--ink);
    display: grid;
    place-items: center;
    cursor: pointer;
    transition:
        border-color 0.2s,
        transform 0.2s;
}
.theme-toggle:hover,
.menu-btn:hover {
    border-color: var(--orange);
}
.theme-toggle svg {
    width: 20px;
    height: 20px;
}
.theme-toggle .sun {
    display: none;
}
:root[data-mode="light"] .theme-toggle .sun {
    display: block;
}
:root[data-mode="light"] .theme-toggle .moon {
    display: none;
}
.menu-btn {
    display: none;
}
.header-cta {
    display: inline-flex;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    font-family: var(--body);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.01em;
    padding: 0.85rem 1.35rem;
    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;
    border: 2px solid transparent;
    transition:
        transform 0.15s ease,
        background 0.2s,
        border-color 0.2s,
        color 0.2s;
}
.btn:active {
    transform: translateY(1px);
}
.btn svg {
    width: 18px;
    height: 18px;
}
.btn-primary {
    background: var(--orange);
    color: var(--on-accent);
}
.btn-primary:hover {
    background: var(--red);
    color: #fff;
}
.btn-ghost {
    border-color: var(--line);
    color: var(--ink);
    background: transparent;
}
.btn-ghost:hover {
    border-color: var(--orange);
    color: var(--orange);
}
.btn-sm {
    padding: 0.55rem 0.95rem;
    font-size: 0.9rem;
}

/* ---------- Pages ---------- */
.page {
    display: none;
}
.page.active {
    display: block;
    animation: pageIn 0.45s ease both;
}
@keyframes pageIn {
    from {
        opacity: 0.001;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}
section {
    padding-block: clamp(56px, 8vw, 104px);
}
.section-head {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: clamp(28px, 4vw, 48px);
}
.section-head h2 {
    font-size: clamp(2.4rem, 5.5vw, 4rem);
    font-weight: 900;
    text-transform: uppercase;
    max-width: 14ch;
    margin-top: 0.6rem;
}
.section-head p {
    max-width: 44ch;
    color: var(--muted);
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    overflow: hidden;
    padding-block: clamp(48px, 7vw, 96px) clamp(56px, 7vw, 96px);
}
.hero::before {
    content: "";
    position: absolute;
    inset: auto -10% -30% 35%;
    height: 120%;
    background: radial-gradient(closest-side, var(--glow), transparent 70%);
    pointer-events: none;
    transition: opacity 0.6s ease;
}
body.power-off .hero::before {
    opacity: 0;
}
.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: clamp(32px, 5vw, 72px);
    align-items: center;
}
.hero h1 {
    font-size: clamp(3.4rem, 9.5vw, 7.6rem);
    font-weight: 900;
    text-transform: uppercase;
    line-height: 0.86;
    margin-block: 1.1rem 1.4rem;
}
.hero h1 .hot {
    background: linear-gradient(95deg, var(--orange) 10%, var(--red) 90%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    transition:
        filter 0.5s ease,
        opacity 0.5s ease;
}
body.power-off .hero h1 .hot {
    filter: grayscale(1);
    opacity: 0.45;
}
.hero-lede {
    font-size: clamp(1.05rem, 1.6vw, 1.2rem);
    color: var(--muted);
    max-width: 46ch;
}
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2rem;
}
.hero-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.4rem;
    margin-top: 2.2rem;
    color: var(--muted);
}
.hero-specs span {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}
.hero-specs span::before {
    content: "";
    width: 7px;
    height: 7px;
    background: var(--orange);
    transform: rotate(45deg);
}

/* ---------- Breaker panel ---------- */
.panel {
    position: relative;
    background: var(--panel);
    border: 1px solid var(--panel-edge);
    border-radius: 14px;
    padding: 18px;
    box-shadow: var(--shadow);
}
.panel-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 4px 4px 14px;
    border-bottom: 1px dashed var(--line);
    margin-bottom: 14px;
}
.panel-top .mono {
    color: var(--muted);
}
.status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--mono);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    color: var(--orange);
}
.status i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--orange);
    box-shadow: 0 0 10px var(--orange);
}
body.power-off .status {
    color: var(--muted);
}
body.power-off .status i {
    background: var(--led-off);
    box-shadow: none;
}
.breakers {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}
.breaker {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 12px 8px 10px;
    border-radius: 8px;
    background: var(--surface-2);
    border: 1px solid var(--line);
    cursor: pointer;
    color: var(--ink);
    font: inherit;
    text-align: center;
    transition: border-color 0.2s;
}
.breaker:hover {
    border-color: var(--orange);
}
.breaker .led {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--led-off);
    transition:
        background 0.25s,
        box-shadow 0.25s;
}
.breaker[aria-pressed="true"] .led {
    background: var(--orange);
    box-shadow: 0 0 10px var(--orange);
}
.lever {
    position: relative;
    width: 30px;
    height: 48px;
    border-radius: 5px;
    background: var(--bg);
    border: 1px solid var(--line);
}
.lever::after {
    content: "";
    position: absolute;
    left: 3px;
    right: 3px;
    height: 20px;
    border-radius: 3px;
    background: var(--muted);
    bottom: 3px;
    transition:
        bottom 0.22s cubic-bezier(0.5, 1.6, 0.5, 1),
        background 0.2s;
}
.breaker[aria-pressed="true"] .lever::after {
    bottom: calc(100% - 23px);
    background: linear-gradient(180deg, var(--orange), var(--red));
}
.breaker b {
    font-family: var(--display);
    font-weight: 800;
    font-size: 1.02rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    line-height: 1;
}
.breaker small {
    font-family: var(--mono);
    font-size: 0.64rem;
    color: var(--muted);
    letter-spacing: 0.08em;
}
.main-switch {
    margin-top: 12px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid var(--line);
    background: var(--bg-2);
    color: var(--ink);
    cursor: pointer;
    font: inherit;
}
.main-switch:hover {
    border-color: var(--red);
}
.main-switch .label {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}
.main-switch .label b {
    font-family: var(--display);
    font-size: 1.25rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1;
}
.main-switch .label small {
    font-family: var(--mono);
    font-size: 0.66rem;
    color: var(--muted);
    letter-spacing: 0.08em;
}
.rocker {
    position: relative;
    width: 64px;
    height: 32px;
    border-radius: 999px;
    background: var(--led-off);
    transition: background 0.25s;
    flex: none;
}
.rocker::after {
    content: "";
    position: absolute;
    top: 4px;
    left: 4px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #fff;
    transition: transform 0.25s cubic-bezier(0.5, 1.5, 0.5, 1);
}
.main-switch[aria-pressed="true"] .rocker {
    background: var(--red);
}
.main-switch[aria-pressed="true"] .rocker::after {
    transform: translateX(32px);
}
.panel-hint {
    margin-top: 10px;
    text-align: center;
    font-size: 0.8rem;
    color: var(--muted);
}

/* ---------- Ticker ---------- */
.ticker {
    position: relative;
    background: var(--orange);
    color: var(--on-accent);
    overflow: hidden;
    border-block: 0;
}
.ticker::before,
.ticker::after {
    content: "";
    display: block;
    height: 8px;
    background: repeating-linear-gradient(-45deg, var(--stripe-dark) 0 10px, var(--orange) 10px 20px);
}
.ticker-track {
    display: flex;
    width: max-content;
    animation: tick 38s linear infinite;
    padding-block: 14px;
}
.ticker-track span {
    font-family: var(--display);
    font-weight: 800;
    font-size: 1.35rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
    padding-inline: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 2.2rem;
}
.ticker-track span::after {
    content: "";
    width: 9px;
    height: 9px;
    background: currentColor;
    transform: rotate(45deg);
}
@keyframes tick {
    to {
        transform: translateX(-50%);
    }
}

/* ---------- Categories ---------- */
.cat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.cat {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    padding: 26px 24px 24px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    text-decoration: none;
    transition:
        border-color 0.25s,
        transform 0.25s,
        box-shadow 0.25s;
    overflow: hidden;
}
.cat:hover {
    border-color: var(--orange);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}
.cat-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.cat-icon {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: var(--surface-2);
    color: var(--orange);
    border: 1px solid var(--line);
}
.cat-icon svg {
    width: 28px;
    height: 28px;
}
.cat-code {
    color: var(--muted);
}
.cat h3 {
    font-size: 1.9rem;
    font-weight: 800;
    text-transform: uppercase;
}
.cat p {
    color: var(--muted);
    font-size: 0.97rem;
}
.cat-more {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--orange);
}
.cat-more svg {
    width: 16px;
    height: 16px;
    transition: transform 0.2s;
}
.cat:hover .cat-more svg {
    transform: translateX(4px);
}

/* ---------- Why ---------- */
.why {
    background: var(--bg-2);
    border-block: 1px solid var(--line);
}
.why-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: clamp(32px, 6vw, 80px);
    align-items: start;
}
.why-big {
    font-size: clamp(2.6rem, 6vw, 4.6rem);
    font-weight: 900;
    text-transform: uppercase;
    margin-top: 0.8rem;
}
.why-big em {
    font-style: normal;
    color: var(--orange);
}
.why-intro {
    color: var(--muted);
    margin-top: 1.2rem;
    max-width: 40ch;
}
.why-list {
    display: grid;
    gap: 0;
}
.why-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.2rem;
    padding-block: 1.6rem;
    border-top: 1px solid var(--line);
}
.why-item:last-child {
    border-bottom: 1px solid var(--line);
}
.why-tag {
    font-family: var(--mono);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    color: var(--on-accent);
    background: var(--orange);
    padding: 0.35rem 0.55rem;
    border-radius: 4px;
    height: fit-content;
    min-width: 74px;
    text-align: center;
}
.why-item h3 {
    font-size: 1.7rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 0.4rem;
}
.why-item p {
    color: var(--muted);
}

/* ---------- Services ---------- */
.svc-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--surface);
}
.svc {
    padding: 28px 24px;
    border-right: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}
.svc:last-child {
    border-right: 0;
}
.svc svg {
    width: 30px;
    height: 30px;
    color: var(--red);
}
.svc h3 {
    font-size: 1.45rem;
    font-weight: 800;
    text-transform: uppercase;
}
.svc p {
    color: var(--muted);
    font-size: 0.95rem;
}

/* ---------- CTA band ---------- */
.cta {
    padding-block: 0 clamp(56px, 8vw, 104px);
}
.cta-band {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    padding: clamp(32px, 5vw, 60px);
    background: linear-gradient(115deg, var(--orange), var(--red));
    color: #140b05;
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 2rem;
    align-items: center;
}
.cta-band::after {
    content: "";
    position: absolute;
    right: -60px;
    top: -60px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    border: 40px solid rgba(255, 255, 255, 0.12);
    pointer-events: none;
}
.cta-band h2 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 900;
    text-transform: uppercase;
}
.cta-band p {
    margin-top: 0.8rem;
    font-weight: 500;
    max-width: 42ch;
    color: #2a1408;
}
.cta-side {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    align-items: flex-start;
}
.cta-phone {
    font-family: var(--display);
    font-weight: 900;
    font-size: clamp(2rem, 4vw, 2.8rem);
    letter-spacing: 0.02em;
    line-height: 1;
    user-select: all;
    font-variant-numeric: tabular-nums;
}
.btn-dark {
    background: #140b05;
    color: #fff;
}
.btn-dark:hover {
    background: #fff;
    color: #140b05;
}

/* ---------- Page header (inner pages) ---------- */
.page-hero {
    position: relative;
    padding-block: clamp(48px, 7vw, 88px) clamp(40px, 5vw, 64px);
    border-bottom: 1px solid var(--line);
    overflow-x: clip;
    overflow-y: visible;
    z-index: 20;
}
.page-hero::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: min(46%, 520px);
    height: 10px;
    background: repeating-linear-gradient(-45deg, var(--orange) 0 10px, transparent 10px 20px);
}
.page-hero h1 {
    font-size: clamp(3.2rem, 9vw, 6.8rem);
    font-weight: 900;
    text-transform: uppercase;
    margin-top: 1rem;
}
.page-hero h1 span {
    color: var(--orange);
}
.page-hero p {
    margin-top: 1.2rem;
    max-width: 56ch;
    color: var(--muted);
    font-size: 1.1rem;
}
.crumbs {
    display: flex;
    gap: 0.5rem;
    color: var(--muted);
}
.crumbs a {
    text-decoration: none;
}
.crumbs a:hover {
    color: var(--orange);
}

/* ---------- About ---------- */
.story {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(32px, 6vw, 80px);
    align-items: start;
}
.story-text {
    display: grid;
    gap: 1.1rem;
    font-size: 1.08rem;
    max-width: 62ch;
}
.story-text p:first-child {
    font-size: 1.35rem;
    line-height: 1.45;
    color: var(--ink);
    font-weight: 500;
}
.story-text p {
    color: var(--muted);
}
.shop-card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 28px;
    box-shadow: var(--shadow);
}
.shop-card h3 {
    font-size: 1.9rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 1rem;
}
.aisles {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
}
.aisles li {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 1rem;
    align-items: baseline;
    padding-block: 0.8rem;
    border-top: 1px solid var(--line);
}
.aisles li:last-child {
    border-bottom: 1px solid var(--line);
}
.aisles .mono {
    color: var(--orange);
    font-size: 0.8rem;
}
.aisles b {
    font-weight: 700;
}
.aisles span.muted {
    display: block;
    font-size: 0.9rem;
}
.values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.value {
    padding: 28px 24px;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}
.value svg {
    width: 34px;
    height: 34px;
    color: var(--orange);
}
.value h3 {
    font-size: 1.7rem;
    font-weight: 800;
    text-transform: uppercase;
}
.value p {
    color: var(--muted);
}
.who {
    background: var(--bg-2);
    border-block: 1px solid var(--line);
}
.who-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.who-card {
    padding: 24px;
    border-left: 3px solid var(--orange);
    background: var(--surface);
    border-radius: 0 var(--radius) var(--radius) 0;
}
.who-card h3 {
    font-size: 1.4rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}
.who-card p {
    color: var(--muted);
    font-size: 0.95rem;
}

/* ---------- Products (coming soon) ---------- */
.soon {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1.5rem;
    align-items: center;
    padding: 24px 28px;
    margin-bottom: 28px;
    border: 1px dashed var(--orange);
    border-radius: var(--radius);
    background: color-mix(in srgb, var(--orange) 7%, var(--surface));
}
.soon-badge {
    font-family: var(--mono);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    padding: 0.4rem 0.7rem;
    border-radius: 4px;
    background: var(--red);
    color: #fff;
    text-transform: uppercase;
}
.soon p {
    color: var(--muted);
}
.soon b {
    color: var(--ink);
}

/* ---------- Contact ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: clamp(24px, 4vw, 48px);
    align-items: start;
}
.info-list {
    display: grid;
    gap: 12px;
}
.info {
    display: grid;
    grid-template-columns: 48px 1fr auto;
    gap: 1rem;
    align-items: center;
    padding: 18px 18px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}
.info-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: var(--surface-2);
    color: var(--orange);
    border: 1px solid var(--line);
}
.info-icon svg {
    width: 22px;
    height: 22px;
}
.info .mono {
    color: var(--muted);
    font-size: 0.68rem;
}
.info .val {
    font-weight: 700;
    font-size: 1.08rem;
    word-break: break-word;
    user-select: all;
    font-variant-numeric: tabular-nums;
}
.copy-btn {
    border: 1px solid var(--line);
    background: transparent;
    color: var(--muted);
    border-radius: 6px;
    padding: 0.4rem 0.6rem;
    font-family: var(--mono);
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    cursor: pointer;
    text-transform: uppercase;
}
.copy-btn:hover {
    color: var(--orange);
    border-color: var(--orange);
}
.hours {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 20px 22px;
}
.hours h3 {
    font-size: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.6rem;
}
.open-pill {
    font-family: var(--mono);
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    padding: 0.3rem 0.6rem;
    border-radius: 999px;
    border: 1px solid var(--line);
    color: var(--muted);
}
.open-pill.is-open {
    border-color: var(--orange);
    color: var(--orange);
}
.hours table {
    width: 100%;
    border-collapse: collapse;
    font-variant-numeric: tabular-nums;
}
.hours td {
    padding: 0.5rem 0;
    border-top: 1px solid var(--line);
}
.hours td:last-child {
    text-align: right;
    color: var(--muted);
}
.hours tr.today td {
    color: var(--orange);
    font-weight: 700;
}

.form-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: clamp(22px, 3vw, 34px);
    box-shadow: var(--shadow);
}
.form-card h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 900;
    text-transform: uppercase;
}
.form-card > p {
    color: var(--muted);
    margin-top: 0.6rem;
    margin-bottom: 1.6rem;
}
.form {
    display: grid;
    gap: 16px;
}
.row2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.field label {
    font-weight: 600;
    font-size: 0.92rem;
}
.field input,
.field select,
.field textarea {
    font: inherit;
    font-size: 1rem;
    color: var(--ink);
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 0.8rem 0.9rem;
    transition:
        border-color 0.2s,
        box-shadow 0.2s;
    width: 100%;
}
.field textarea {
    min-height: 130px;
    resize: vertical;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--orange);
    box-shadow: 0 0 0 3px var(--glow);
}
.field.invalid input,
.field.invalid textarea {
    border-color: var(--red);
}
.err {
    color: var(--red);
    font-size: 0.84rem;
    min-height: 0;
}
.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.chip {
    position: relative;
}
.chip input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.chip span {
    display: inline-block;
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    border: 1px solid var(--line);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    color: var(--muted);
    transition: all 0.2s;
}
.chip input:checked + span {
    background: var(--orange);
    border-color: var(--orange);
    color: var(--on-accent);
}
.chip input:focus-visible + span {
    outline: 2px solid var(--orange);
    outline-offset: 2px;
}
.form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}
.result {
    margin-top: 18px;
    padding: 18px;
    border-radius: 10px;
    border: 1px solid var(--orange);
    background: color-mix(in srgb, var(--orange) 8%, var(--surface));
    display: grid;
    gap: 0.8rem;
}
.result pre {
    margin: 0;
    white-space: pre-wrap;
    font-family: var(--mono);
    font-size: 0.8rem;
    line-height: 1.6;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 12px;
    color: var(--ink);
    max-height: 220px;
    overflow: auto;
}
.result .actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.map-card {
    margin-top: 12px;
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background:
        linear-gradient(var(--line) 1px, transparent 1px) 0 0/28px 28px,
        linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0/28px 28px,
        var(--surface);
    padding: 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}
.map-card .pin {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}
.map-card .pin svg {
    width: 36px;
    height: 36px;
    color: var(--red);
    flex: none;
}
.map-card b {
    display: block;
}

/* ---------- Toast ---------- */
.toast {
    position: fixed;
    left: 50%;
    bottom: calc(20px + env(safe-area-inset-bottom, 0px));
    transform: translate(-50%, 20px);
    background: var(--ink);
    color: var(--bg);
    padding: 0.7rem 1.1rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.92rem;
    opacity: 0;
    pointer-events: none;
    transition:
        opacity 0.25s,
        transform 0.25s;
    z-index: 100;
}
.toast.show {
    opacity: 1;
    transform: translate(-50%, 0);
}

/* ---------- Footer ---------- */
.footer {
    border-top: 1px solid var(--line);
    background: var(--bg-2);
    padding-block: 56px 28px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 32px;
}
.footer h4 {
    font-family: var(--mono);
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
    margin: 0 0 1rem;
    font-weight: 500;
}
.footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.55rem;
}
.footer a {
    text-decoration: none;
}
.footer a:hover {
    color: var(--orange);
}
.footer-about {
    color: var(--muted);
    margin-top: 1rem;
    max-width: 34ch;
    font-size: 0.95rem;
}
.footer-bottom {
    margin-top: 44px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    color: var(--muted);
    font-size: 0.88rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
    .hero-grid,
    .why-grid,
    .story,
    .contact-grid,
    .cta-band {
        grid-template-columns: 1fr;
    }
    .cat-grid,
    .values {
        grid-template-columns: repeat(2, 1fr);
    }
    .svc-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .svc:nth-child(2) {
        border-right: 0;
    }
    .svc:nth-child(-n + 2) {
        border-bottom: 1px solid var(--line);
    }
    .who-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .panel {
        max-width: 520px;
    }
}
@media (max-width: 820px) {
    .menu-btn {
        display: grid;
    }
    .header-cta {
        display: none;
    }
    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: var(--bg);
        border-bottom: 1px solid var(--line);
        padding: 8px 16px 16px;
        display: none;
    }
    .nav.open {
        display: flex;
    }
    .nav a {
        border-radius: 8px;
        padding: 0.85rem 1rem;
        font-size: 1.05rem;
    }
}
@media (max-width: 620px) {
    body {
        font-size: 16px;
    }
    .cat-grid,
    .values,
    .who-grid,
    .svc-grid,
    .row2,
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .svc {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }
    .svc:last-child {
        border-bottom: 0;
    }
    .soon {
        grid-template-columns: 1fr;
    }
    .info {
        grid-template-columns: 44px 1fr;
    }
    .info .copy-btn {
        grid-column: 2;
        justify-self: start;
    }
    /* .brand-sub{display:none} */
    .breaker b {
        font-size: 0.9rem;
    }
}
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}

/* =====================================================================
   CATALOGUE (products, product detail, live search) + hidden admin
   Uses the same tokens as the rest of the site.
   ===================================================================== */
.sr-only {
    position: absolute !important;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ---------- Live search ---------- */
.search {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    max-width: 680px;
    width: 100%;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 0.35rem 0.35rem 0.35rem 0.95rem;
    transition:
        border-color 0.2s,
        box-shadow 0.2s;
}
.search:focus-within {
    border-color: var(--orange);
    box-shadow: 0 0 0 3px var(--glow);
}
.search-icon {
    width: 20px;
    height: 20px;
    color: var(--muted);
    flex: none;
}
.search input {
    flex: 1;
    min-width: 0;
    font: inherit;
    font-size: 1rem;
    color: var(--ink);
    background: transparent;
    border: 0;
    outline: none;
    padding: 0.6rem 0.2rem;
}
.search input::-webkit-search-cancel-button {
    display: none;
}
.page-hero .search {
    margin-top: 1.8rem;
}
.search-panel {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 8px);
    z-index: 45;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 6px;
    max-height: min(70vh, 540px);
    overflow: auto;
}
.search-panel[hidden] {
    display: none;
}
.sp-head {
    padding: 0.6rem 0.7rem 0.3rem;
    color: var(--muted);
    font-family: var(--mono);
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.sp-opt {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.55rem 0.6rem;
    border-radius: 8px;
    text-decoration: none;
    color: var(--ink);
}
.sp-opt:hover,
.sp-opt.active {
    background: var(--surface-2);
}
.sp-opt.active {
    box-shadow: inset 3px 0 0 var(--orange);
}
.sp-thumb {
    position: relative;
    width: 46px;
    height: 46px;
    flex: none;
    border-radius: 8px;
    background: var(--surface-2);
    border: 1px solid var(--line);
    display: grid;
    place-items: center;
    overflow: hidden;
    color: var(--muted);
}
.sp-thumb svg {
    width: 22px;
    height: 22px;
    opacity: 0.5;
}
.sp-thumb img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #fff;
}
.sp-text {
    min-width: 0;
    display: flex;
    flex-direction: column;
}
.sp-title {
    font-weight: 600;
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.sp-sub {
    color: var(--muted);
    font-size: 0.85rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.sp-count {
    margin-left: auto;
    color: var(--muted);
    font-family: var(--mono);
    font-size: 0.72rem;
    flex: none;
}
.sp-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex: none;
    margin-left: auto;
}
.sp-dot.avail-in {
    background: #2fb36b;
}
.sp-dot.avail-low {
    background: var(--orange);
}
.sp-dot.avail-out {
    background: var(--red);
}
.sp-empty {
    padding: 1rem;
    color: var(--muted);
}
.sp-all {
    display: block;
    text-align: center;
    padding: 0.7rem;
    border-top: 1px solid var(--line);
    margin-top: 4px;
    font-weight: 700;
    color: var(--orange);
    text-decoration: none;
    border-radius: 0 0 8px 8px;
}
.sp-all:hover,
.sp-all.active {
    background: var(--surface-2);
}

/* ---------- Filter chips ---------- */
.fchip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition:
        border-color 0.2s,
        color 0.2s,
        background 0.2s;
}
.fchip small {
    font-family: var(--mono);
    font-size: 0.7rem;
    opacity: 0.75;
}
.fchip:hover {
    border-color: var(--orange);
    color: var(--ink);
}
.fchip[aria-current="true"] {
    background: var(--orange);
    border-color: var(--orange);
    color: var(--on-accent);
}
.filters {
    display: grid;
    gap: 14px;
    margin-bottom: 28px;
}
.filter-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}
.filter-label {
    color: var(--muted);
    min-width: 92px;
}
.catnav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: clamp(28px, 4vw, 48px);
}

/* ---------- Product grid + cards ---------- */
.pgrid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 16px;
}
.pcard {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    text-decoration: none;
    transition:
        border-color 0.25s,
        transform 0.25s,
        box-shadow 0.25s;
}
.pcard:hover {
    border-color: var(--orange);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}
.pcard-media,
.pd-media {
    position: relative;
    display: grid;
    place-items: center;
    background: var(--surface-2);
    overflow: hidden;
}
.pcard-media {
    aspect-ratio: 4/3;
    border-bottom: 1px solid var(--line);
}
.pcard-media img,
.pd-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
    background: #fff;
}
.pcard-ph svg {
    width: 48px;
    height: 48px;
    color: var(--muted);
    opacity: 0.4;
}
.avail {
    position: absolute;
    left: 10px;
    top: 10px;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--mono);
    font-size: 0.66rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink);
    padding: 0.3rem 0.55rem;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: color-mix(in srgb, var(--bg) 90%, transparent);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.avail i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--muted);
}
.avail-in i {
    background: #2fb36b;
    box-shadow: 0 0 8px #2fb36b;
}
.avail-low i {
    background: var(--orange);
    box-shadow: 0 0 8px var(--orange);
}
.avail-out i {
    background: var(--red);
}
.avail-inline {
    position: static;
}
.pcard-body {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 14px 16px 16px;
    flex: 1;
}
.pcard-meta {
    color: var(--muted);
    font-size: 0.68rem;
}
.pcard-name {
    font-family: var(--display);
    font-weight: 800;
    font-size: 1.35rem;
    line-height: 1.05;
    text-transform: uppercase;
    text-wrap: balance;
    overflow-wrap: anywhere;
    color: var(--ink);
}
.pcard-foot {
    margin-top: auto;
    padding-top: 0.5rem;
    color: var(--muted);
    font-size: 0.86rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}
.pcard-foot svg {
    margin-left: auto;
    width: 16px;
    height: 16px;
    color: var(--orange);
    flex: none;
    transition: transform 0.2s;
}
.pcard:hover .pcard-foot svg {
    transform: translateX(4px);
}

.catblock {
    margin-bottom: clamp(40px, 6vw, 72px);
    scroll-margin-top: 96px;
}
.catblock-head {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    justify-content: space-between;
    gap: 0.8rem 1.5rem;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
}
.catblock-head h2 {
    font-size: clamp(1.9rem, 4vw, 2.8rem);
    font-weight: 900;
    text-transform: uppercase;
}
.catblock-head .muted {
    margin-left: 0.6rem;
    font-family: var(--mono);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
}
.viewall {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 700;
    color: var(--orange);
    text-decoration: none;
}
.viewall svg {
    width: 16px;
    height: 16px;
    transition: transform 0.2s;
}
.viewall:hover svg {
    transform: translateX(4px);
}

.results-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.6rem 1rem;
    margin-bottom: 18px;
    color: var(--muted);
}
.pager {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin-top: 36px;
}
.pager a,
.pager span {
    min-width: 42px;
    height: 42px;
    padding-inline: 0.8rem;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    background: var(--surface);
}
.pager a:hover {
    border-color: var(--orange);
    color: var(--orange);
}
.pager [aria-current="page"] {
    background: var(--orange);
    border-color: var(--orange);
    color: var(--on-accent);
}
.pager .gap {
    border: 0;
    background: transparent;
    color: var(--muted);
}
.empty-state {
    padding: clamp(28px, 5vw, 56px);
    text-align: center;
    border: 1px dashed var(--orange);
    border-radius: var(--radius);
    background: color-mix(in srgb, var(--orange) 7%, var(--surface));
    display: grid;
    gap: 0.9rem;
    justify-items: center;
}
.empty-state h2 {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 900;
    text-transform: uppercase;
}
.empty-state p {
    color: var(--muted);
    max-width: 48ch;
}
.empty-state .row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    justify-content: center;
}

/* ---------- Product detail ---------- */
.pd-top {
    position: relative;
    z-index: 20;
    padding-block: 28px 8px;
    border-bottom: 1px solid var(--line);
    background: var(--bg-2);
}
.pd-top .wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 2rem;
    padding-bottom: 20px;
}
.pd-top .crumbs {
    flex-wrap: wrap;
}
.pd-top .search {
    margin: 0;
    max-width: 460px;
}
.pd {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(24px, 4vw, 56px);
    align-items: start;
}
.pd-media {
    aspect-ratio: 1/1;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow);
}
.pd-media .pcard-ph svg {
    width: 96px;
    height: 96px;
}
.pd-brand {
    display: inline-block;
    color: var(--orange);
    text-decoration: none;
}
.pd-brand:hover {
    text-decoration: underline;
}
.pd-info h1 {
    font-size: clamp(2.2rem, 4.8vw, 3.6rem);
    font-weight: 900;
    text-transform: uppercase;
    line-height: 0.95;
    margin: 0.6rem 0 1rem;
    overflow-wrap: anywhere;
}
.facts {
    display: grid;
    margin: 1.5rem 0 0;
    border-top: 1px solid var(--line);
}
.facts div {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 1rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line);
}
.facts dt {
    color: var(--muted);
    align-self: center;
}
.facts dd {
    margin: 0;
    font-weight: 600;
}
.facts dd a {
    text-decoration: none;
}
.facts dd a:hover {
    color: var(--orange);
}
.pd-note {
    margin-top: 1.2rem;
    color: var(--muted);
    font-size: 0.95rem;
}
.pd-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 1.5rem;
}
.related {
    margin-top: clamp(44px, 7vw, 84px);
}
.related + .related {
    margin-top: clamp(32px, 5vw, 56px);
}

/* ---------- Hidden admin ---------- */
.admin-shell {
    max-width: 820px;
    margin: 0 auto;
    padding: clamp(20px, 4vw, 48px) clamp(16px, 4vw, 32px) 80px;
}
.admin-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 28px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
}
.admin-bar .brand-name {
    font-size: 1.3rem;
}
.admin-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: clamp(20px, 3vw, 32px);
    box-shadow: var(--shadow);
}
.admin-card + .admin-card {
    margin-top: 18px;
}
.admin-card h1,
.admin-card h2 {
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 0.4rem;
}
.admin-card p {
    color: var(--muted);
}
.admin-status {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin: 1rem 0 0;
    color: var(--muted);
}
.admin-status b {
    color: var(--ink);
}
.check-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin: 1.2rem 0 0.8rem;
}
.check-list {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.check-row {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.8rem 1rem;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--bg);
    cursor: pointer;
    transition:
        border-color 0.2s,
        background 0.2s;
}
.check-row:hover {
    border-color: var(--orange);
}
.check-row input {
    width: 20px;
    height: 20px;
    accent-color: var(--orange);
    flex: none;
}
.check-row span.name {
    font-weight: 600;
}
.check-row span.count {
    margin-left: auto;
    color: var(--muted);
    font-family: var(--mono);
    font-size: 0.74rem;
    letter-spacing: 0.06em;
}
.flash {
    padding: 0.8rem 1rem;
    border-radius: 10px;
    border: 1px solid var(--orange);
    background: color-mix(in srgb, var(--orange) 9%, var(--surface));
    margin-bottom: 18px;
    font-weight: 600;
}
.flash.bad {
    border-color: var(--red);
    background: color-mix(in srgb, var(--red) 9%, var(--surface));
}
.admin-login {
    max-width: 420px;
    margin: clamp(40px, 12vh, 120px) auto 0;
}
.savebar {
    position: sticky;
    bottom: 0;
    margin: 20px -8px 0;
    padding: 14px 8px;
    background: linear-gradient(transparent, var(--surface) 30%);
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    align-items: center;
}

@media (max-width: 820px) {
    .pd {
        grid-template-columns: 1fr;
    }
    .pd-top .search {
        max-width: none;
    }
}
@media (max-width: 620px) {
    .pgrid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
    .pcard-body {
        padding: 12px;
    }
    .pcard-name {
        font-size: 1.12rem;
    }
    .pcard-foot {
        font-size: 0.8rem;
    }
    .avail {
        font-size: 0.58rem;
        padding: 0.25rem 0.45rem;
        left: 8px;
        top: 8px;
    }
    .facts div {
        grid-template-columns: 104px 1fr;
    }
    .filter-label {
        min-width: 100%;
    }
    .search button {
        padding-inline: 0.8rem;
    }
}

/* ---------- Brand rows + brand page (v1.03) ---------- */
.brandrow {
    margin: -4px 0 20px;
}
.subblock {
    margin-top: 28px;
}
.subblock:first-of-type {
    margin-top: 0;
}
.subhead {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.4rem 1rem;
    margin-bottom: 14px;
}
.subhead h3 {
    font-size: clamp(1.3rem, 2.6vw, 1.7rem);
    font-weight: 800;
    text-transform: uppercase;
    color: var(--ink);
}
.subhead h3 small {
    margin-left: 0.6rem;
    font-family: var(--mono);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    color: var(--muted);
    font-weight: 500;
}
.subhead h3::before {
    content: "";
    display: inline-block;
    width: 10px;
    height: 10px;
    margin-right: 0.6rem;
    background: var(--orange);
    transform: rotate(45deg);
}

/* ---------- Admin tabs, filters, long lists (v1.03) ---------- */
.check-row[hidden],
.tabpanel[hidden],
.check-list li[hidden] {
    display: none !important;
}
.check-list.scroll {
    max-height: min(62vh, 640px);
    overflow: auto;
    padding-right: 6px;
}
.check-group {
    padding: 0.9rem 0.2rem 0.3rem;
    color: var(--orange);
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    position: sticky;
    top: 0;
    background: var(--surface);
    z-index: 1;
}
.filter-input {
    font: inherit;
    font-size: 0.92rem;
    color: var(--ink);
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    min-width: 0;
    flex: 1 1 200px;
}
.filter-input:focus {
    outline: none;
    border-color: var(--orange);
    box-shadow: 0 0 0 3px var(--glow);
}
.check-tools {
    align-items: center;
}
.check-inline {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    color: var(--muted);
}
.check-row .name {
    min-width: 0;
    overflow-wrap: anywhere;
}
.check-row .count {
    text-align: right;
    max-width: 46%;
}
.off-note {
    display: none;
    margin-left: 0.5rem;
    font-style: normal;
    font-family: var(--mono);
    font-size: 0.62rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--red);
}
.check-row.off {
    opacity: 0.55;
}
.check-row.off .off-note {
    display: inline;
}

/* ---------- Sidebar: aisles tree (v1.04) ---------- */
.wrap.has-snav {
    display: grid;
    grid-template-columns: 288px minmax(0, 1fr);
    gap: clamp(24px, 3vw, 44px);
    align-items: start;
}
.catalog-main {
    min-width: 0;
}
.snav-wrap {
    position: sticky;
    top: 92px;
    align-self: start;
}
.snav-toggle {
    display: none;
}
.snav {
    position: relative;
    max-height: calc(100vh - 116px);
    overflow: auto;
    overscroll-behavior: contain;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 14px 10px 12px;
}
.snav-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    padding: 0 8px 10px;
    margin-bottom: 6px;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.snav-all {
    background: none;
    border: 0;
    padding: 0.2rem 0.1rem;
    color: var(--orange);
    font: inherit;
    font-family: var(--body, inherit);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
    cursor: pointer;
}
.snav-all:hover {
    text-decoration: underline;
}
.snav-list,
.snav-sub {
    list-style: none;
    margin: 0;
    padding: 0;
}
.snav-list > li + li {
    margin-top: 2px;
}
.snav a {
    text-decoration: none;
}
.snav-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    padding: 0.6rem 0.7rem;
    margin-bottom: 4px;
    border-radius: 10px;
    font-weight: 700;
    color: var(--ink);
}
.snav-top small,
.snav-sub small {
    font-family: var(--mono);
    font-size: 0.7rem;
    letter-spacing: 0.04em;
    color: var(--muted);
    flex: none;
}
.snav-row {
    display: flex;
    align-items: stretch;
    border-radius: 10px;
    transition: background 0.15s;
}
.snav-row > a {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 0.55rem 0.4rem 0.55rem 0.7rem;
    color: var(--ink);
    border-radius: 10px;
}
.snav-name {
    font-weight: 700;
    line-height: 1.2;
    overflow-wrap: anywhere;
}
.snav-meta {
    color: var(--muted);
    font-size: 0.64rem;
    letter-spacing: 0.05em;
}
.snav-exp {
    flex: none;
    width: 40px;
    display: grid;
    place-items: center;
    background: none;
    border: 0;
    border-radius: 10px;
    color: var(--muted);
    cursor: pointer;
}
.snav-exp svg {
    width: 22px;
    height: 22px;
    transition: transform 0.2s;
}
.snav-exp[aria-expanded="true"] {
    color: var(--orange);
}
.snav-exp[aria-expanded="true"] svg {
    transform: rotate(180deg);
}
.snav-exp:hover {
    color: var(--orange);
}
.snav-sub {
    margin: 2px 0 8px 16px;
    padding-left: 10px;
    border-left: 1px solid var(--line);
}
.snav-sub a {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.6rem;
    padding: 0.42rem 0.65rem;
    border-radius: 8px;
    font-size: 0.93rem;
    color: var(--muted);
}
.snav-sub a span {
    min-width: 0;
    overflow-wrap: anywhere;
}
.snav-top:hover,
.snav-row:hover,
.snav-sub a:hover {
    background: var(--surface-2);
}
.snav-sub a:hover {
    color: var(--ink);
}
.is-current {
    background: color-mix(in srgb, var(--orange) 12%, transparent) !important;
    box-shadow: inset 3px 0 0 var(--orange);
}
.snav-sub a.is-current {
    color: var(--ink);
    font-weight: 700;
}
.snav-row.is-current .snav-name {
    color: var(--ink);
}
.has-snav .pd-info h1 {
    font-size: clamp(2rem, 3.2vw, 2.8rem);
}
.has-snav .catblock-head h2 {
    font-size: clamp(1.7rem, 3vw, 2.3rem);
}

@media (max-width: 1100px) {
    .has-snav .pd {
        grid-template-columns: 1fr;
    }
    .has-snav .pd-media {
        max-width: 480px;
    }
}
@media (max-width: 900px) {
    .wrap.has-snav {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .snav-wrap {
        position: static;
    }
    .snav {
        max-height: 60vh;
    }
    .js .snav-toggle {
        display: flex;
        align-items: center;
        gap: 0.7rem;
        width: 100%;
        padding: 0.8rem 1rem;
        font: inherit;
        font-weight: 700;
        color: var(--ink);
        background: var(--surface);
        border: 1px solid var(--line);
        border-radius: 12px;
        cursor: pointer;
        text-align: left;
    }
    .snav-toggle small {
        margin-left: auto;
        color: var(--muted);
        font-size: 0.72rem;
    }
    .snav-toggle[aria-expanded="true"] {
        border-color: var(--orange);
    }
    .js .snav-wrap:not(.open) .snav {
        display: none;
    }
    .js .snav-wrap.open .snav {
        margin-top: 8px;
    }
}

/* ============ Offers, glow, popups (v1.06) ============ */
@keyframes offerGlow {
    0%,
    100% {
        box-shadow:
            0 0 0 1px var(--orange),
            0 0 14px -2px var(--glow);
    }
    50% {
        box-shadow:
            0 0 0 1px var(--orange),
            0 0 26px 2px var(--glow);
    }
}
@keyframes offerSheen {
    0% {
        transform: translateX(-120%) skewX(-18deg);
    }
    60%,
    100% {
        transform: translateX(320%) skewX(-18deg);
    }
}
.pcard.has-offer {
    border-color: var(--orange);
    animation: offerGlow 2.6s ease-in-out infinite;
}
.offer-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 3;
    background: linear-gradient(135deg, var(--orange), var(--red));
    color: #fff;
    font-family: var(--display);
    font-weight: 900;
    font-size: 1rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1;
    padding: 6px 10px;
    border-radius: 6px;
    box-shadow: 0 4px 14px -4px rgba(0, 0, 0, 0.6);
    overflow: hidden;
}
.offer-badge::after {
    content: "";
    position: absolute;
    inset: 0;
    width: 40%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
    animation: offerSheen 3.2s ease-in-out infinite;
}
.pcard-offer {
    font-size: 0.84rem;
    color: var(--orange);
    font-weight: 600;
    line-height: 1.25;
}
.pcard-offer em {
    font-style: normal;
    color: var(--ink);
}
.pd-media.has-offer {
    outline: 2px solid var(--orange);
    animation: offerGlow 2.6s ease-in-out infinite;
}
.offer-panel {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin: 14px 0;
    padding: 14px 16px;
    border: 1px solid var(--orange);
    border-radius: var(--radius);
    background: linear-gradient(135deg, rgba(255, 122, 26, 0.14), rgba(226, 58, 34, 0.08));
}
.offer-panel b {
    display: block;
    font-family: var(--display);
    font-size: 1.25rem;
    text-transform: uppercase;
}
.offer-panel span {
    display: block;
    color: var(--muted);
    font-size: 0.93rem;
}
.offer-panel-tag {
    flex: none;
    background: var(--orange);
    color: var(--on-accent);
    padding: 5px 9px;
    border-radius: 5px;
    font-weight: 700;
    font-size: 0.78rem;
}
.offer-panel-price em {
    font-style: normal;
    color: var(--ink);
    font-weight: 700;
}
.offer-panel-end {
    color: var(--orange) !important;
    font-size: 0.75rem !important;
    margin-top: 0.2rem;
}
.offer-panel-wide {
    margin: 0 0 22px;
}
.ocards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 14px;
    margin-bottom: 20px;
}
.ocard {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding: 16px;
    border: 1px solid var(--orange);
    border-radius: var(--radius);
    background: linear-gradient(145deg, rgba(255, 122, 26, 0.16), var(--surface) 70%);
    color: var(--ink);
    transition:
        transform 0.2s,
        box-shadow 0.2s;
    animation: offerGlow 3s ease-in-out infinite;
}
.ocard:hover {
    transform: translateY(-3px);
}
.ocard-badge {
    align-self: flex-start;
    background: linear-gradient(135deg, var(--orange), var(--red));
    color: #fff;
    font-family: var(--display);
    font-weight: 900;
    font-size: 1.3rem;
    padding: 4px 10px;
    border-radius: 6px;
    text-transform: uppercase;
}
.ocard-title {
    font-family: var(--display);
    font-weight: 800;
    font-size: 1.4rem;
    text-transform: uppercase;
    line-height: 1.05;
}
.ocard-desc {
    color: var(--muted);
    font-size: 0.9rem;
}
.ocard-foot {
    margin-top: auto;
    padding-top: 0.4rem;
    color: var(--orange);
    font-size: 0.76rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}
.ocard-foot svg {
    margin-left: auto;
    width: 16px;
    height: 16px;
}
.offers-block {
    margin-bottom: 34px;
}
.fchip-offer {
    border-color: var(--orange);
    color: var(--orange);
}
.snav-offers {
    color: var(--orange) !important;
    font-weight: 700;
}
.offers-strip {
    padding-block: 36px;
}
/* notices */
.notice {
    position: fixed;
    z-index: 900;
}
.notice-modal {
    inset: 0;
    display: grid;
    place-items: center;
    padding: 16px;
    opacity: 0;
    transition: opacity 0.25s;
}
.notice.is-open {
    opacity: 1;
}
.notice-modal[hidden],
.notice-corner[hidden],
.offer-pop[hidden] {
    display: none;
}
.notice-back {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.62);
}
.notice-card {
    position: relative;
    background: var(--panel);
    border: 1px solid var(--orange);
    border-radius: 14px;
    padding: 26px 24px 20px;
    box-shadow:
        var(--shadow),
        0 0 40px -10px var(--glow);
    max-width: 440px;
    width: 100%;
    color: var(--ink);
}
.notice-modal .notice-card {
    transform: translateY(14px) scale(0.97);
    transition: transform 0.25s;
}
.notice-modal.is-open .notice-card {
    transform: none;
}
.notice-card h3 {
    font-family: var(--display);
    font-size: 1.9rem;
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1;
    margin: 0.3rem 0 0.6rem;
}
.notice-card p {
    color: var(--muted);
    margin: 0 0 1rem;
    white-space: pre-line;
}
.notice-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}
.notice-tag {
    color: var(--orange);
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.notice-x {
    position: absolute;
    top: 8px;
    right: 10px;
    width: 34px;
    height: 34px;
    border: 0;
    background: none;
    color: var(--muted);
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    border-radius: 50%;
}
.notice-x:hover {
    color: var(--ink);
    background: var(--surface-2);
}
.notice-corner {
    right: 16px;
    bottom: 16px;
    left: auto;
    max-width: 340px;
    width: calc(100% - 32px);
    opacity: 0;
    transform: translateY(20px);
    transition:
        opacity 0.3s,
        transform 0.3s;
}
.notice-corner.is-open {
    transform: none;
}
.offer-pop {
    position: fixed;
    z-index: 850;
    top: 50%;
    right: 0;
    width: min(300px, 86vw);
    transform: translate(110%, -50%);
    transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
    background: var(--panel);
    border: 1px solid var(--orange);
    border-right: 0;
    border-radius: 14px 0 0 14px;
    padding: 22px 18px 16px;
    box-shadow:
        var(--shadow),
        0 0 40px -10px var(--glow);
}
.offer-pop.is-open {
    transform: translate(0, -50%);
}
.offer-pop ul {
    list-style: none;
    margin: 0.5rem 0 1rem;
    padding: 0;
    display: grid;
    gap: 10px;
}
.offer-pop li a {
    display: flex;
    gap: 10px;
    align-items: center;
    color: var(--ink);
}
.offer-pop li b {
    flex: none;
    background: linear-gradient(135deg, var(--orange), var(--red));
    color: #fff;
    font-family: var(--display);
    font-size: 1.05rem;
    padding: 4px 8px;
    border-radius: 5px;
    text-transform: uppercase;
}
.offer-pop li span {
    line-height: 1.2;
}
.offer-pop li small {
    display: block;
    color: var(--orange);
    font-size: 0.7rem;
}
@media (max-width: 600px) {
    .offer-pop {
        top: auto;
        bottom: 0;
        right: 0;
        left: 0;
        width: auto;
        transform: translateY(110%);
        border: 1px solid var(--orange);
        border-bottom: 0;
        border-radius: 14px 14px 0 0;
    }
    .offer-pop.is-open {
        transform: none;
    }
    .notice-corner {
        bottom: 10px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .pcard.has-offer,
    .ocard,
    .pd-media.has-offer {
        animation: none;
        box-shadow: 0 0 0 1px var(--orange);
    }
    .offer-badge::after {
        display: none;
    }
    .notice,
    .notice-card,
    .offer-pop {
        transition: none;
    }
}

[hidden] {
    display: none !important;
}
.admin-tabs .fchip small {
    margin-left: 0.3rem;
}
.card-head {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
    align-items: flex-start;
}
.form-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
@media (max-width: 560px) {
    .form-2 {
        grid-template-columns: 1fr;
    }
}
.offer-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 16px;
    justify-content: space-between;
}
.offer-row-main {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 220px;
    flex: 1;
}
.offer-row-main .count {
    display: block;
}
.row-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}
.row-actions form {
    margin: 0;
}
.btn.danger {
    color: var(--red);
    border-color: var(--red);
}
.stchip {
    display: inline-block;
    font-family: var(--mono);
    font-size: 0.68rem;
    padding: 2px 8px;
    border-radius: 99px;
    border: 1px solid var(--line);
    color: var(--muted);
    vertical-align: middle;
}
.stchip-live {
    color: #1c9c4f;
    border-color: #1c9c4f;
}
.stchip-scheduled {
    color: var(--orange);
    border-color: var(--orange);
}
.stchip-ended,
.stchip-off {
    opacity: 0.8;
}
.pick {
    display: flex;
    align-items: center;
    gap: 10px;
}
.pick-l {
    display: flex;
    flex: 1;
    align-items: center;
    gap: 10px;
    min-width: 0;
    cursor: pointer;
}
.pick-price {
    width: 110px;
    flex: none;
    padding: 6px 8px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--surface-2);
    color: var(--ink);
}
.pick-price:disabled {
    opacity: 0.35;
}
.notice-card h3,
.notice-card p,
.offer-pop li span,
.ocard-title,
.ocard-desc,
.pcard-offer,
.offer-panel b,
.offer-panel span {
    overflow-wrap: anywhere;
    min-width: 0;
}
.ocard,
.offer-pop li a,
.notice-actions a,
.offer-pop .btn {
    text-decoration: none;
}
.offer-pop li a > span {
    flex: 1;
    min-width: 0;
}
.offer-pop {
    overflow: hidden;
    box-sizing: border-box;
}
.notice-card {
    box-sizing: border-box;
}
.offer-badge {
    left: auto;
    right: 10px;
}
.pd-media .offer-badge {
    right: 12px;
}
@media (max-width: 600px) {
    .notice-corner {
        bottom: auto;
        top: 78px;
        transform: translateY(-20px);
    }
    .notice-corner.is-open {
        transform: none;
    }
}

.search {
    position: relative;
    z-index: 30;
}
.search-panel {
    z-index: 60;
}

/* ============ Shop-photo side background (v1.14: slanted, faded photo panels) ============ */
.bg-art {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
    --art-op: 0.6;
    --skew: 11deg;
    --tint: linear-gradient(165deg, rgba(255, 132, 40, 0.9), rgba(226, 58, 34, 0.75));
}
.art-side {
    position: absolute;
    top: 0;
    bottom: 0;
    width: clamp(170px, 26vw, 460px);
    display: flex;
    gap: 14px;
    opacity: 0;
    animation: artIn 1.7s cubic-bezier(0.2, 0.75, 0.2, 1) 0.15s forwards;
}
.art-l {
    left: -4vw;
    --from: -70px;
    -webkit-mask-image: linear-gradient(to right, #000 0%, #000 36%, rgba(0, 0, 0, 0.5) 66%, transparent 100%);
    mask-image: linear-gradient(to right, #000 0%, #000 36%, rgba(0, 0, 0, 0.5) 66%, transparent 100%);
}
.art-r {
    right: -4vw;
    --from: 70px;
    flex-direction: row-reverse;
    -webkit-mask-image: linear-gradient(to left, #000 0%, #000 36%, rgba(0, 0, 0, 0.5) 66%, transparent 100%);
    mask-image: linear-gradient(to left, #000 0%, #000 36%, rgba(0, 0, 0, 0.5) 66%, transparent 100%);
}
@keyframes artIn {
    from {
        opacity: 0;
        transform: translateX(var(--from));
    }
    to {
        opacity: var(--art-op);
        transform: none;
    }
}

/* one slanted panel; the photo inside is un-slanted, so only the frame leans */
.pan {
    position: relative;
    display: block;
    flex: 0 0 auto;
    overflow: hidden;
    isolation: isolate;
    background: var(--surface-2);
    transform: skewX(calc(var(--skew) * -1));
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 16%, #000 76%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0, #000 16%, #000 76%, transparent 100%);
}
.art-r .pan {
    transform: skewX(var(--skew));
}
.p1 {
    width: 58%;
    height: 96%;
    margin-top: 3%;
}
.p2 {
    width: calc(42% - 14px);
    height: 80%;
    align-self: flex-end;
}
.p3 {
    width: 22%;
    height: 86%;
}
.pic {
    position: absolute;
    top: -14%;
    bottom: -14%;
    left: -32%;
    right: -32%;
    transform: skewX(var(--skew));
    translate: 0 calc(var(--sy, 0) * var(--k, -0.03) * 1px);
}
.art-r .pic {
    transform: skewX(calc(var(--skew) * -1));
}
.p2 .pic {
    --k: -0.05;
}
.p3 .pic {
    --k: -0.02;
}
.pic b {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: var(--bp, 50% 50%);
    opacity: 0;
    transition: opacity 2.4s ease;
    filter: grayscale(1) contrast(1.06) brightness(0.92);
    animation: artZoom var(--kb, 28s) ease-in-out infinite alternate;
    will-change: transform, opacity;
}
.pic b.on {
    opacity: 1;
}
.pic b + b {
    animation-direction: alternate-reverse;
    animation-delay: -11s;
}
@keyframes artZoom {
    from {
        transform: scale(1.04) translate3d(0, 0, 0);
    }
    to {
        transform: scale(1.2) translate3d(-2.5%, -1.5%, 0);
    }
}
/* warm duotone tint + a glowing edge line on the slanted side that faces the page */
.pan::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    background: var(--tint);
    mix-blend-mode: color;
}
.pan::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 3px;
    z-index: 3;
    background: linear-gradient(180deg, var(--orange), var(--red));
    box-shadow: 0 0 16px 1px var(--glow);
}
.art-l .pan::after {
    right: 0;
}
.art-r .pan::after {
    left: 0;
}
.bg-art[data-tint="natural"] .pic b {
    filter: saturate(0.92) contrast(1.02) brightness(0.88);
}
.bg-art[data-tint="natural"] .pan::before,
.bg-art[data-tint="mono"] .pan::before {
    display: none;
}
:root[data-mode="light"] .pic b {
    filter: grayscale(1) contrast(1.02) brightness(1.08);
}
:root[data-mode="light"] .bg-art[data-tint="natural"] .pic b {
    filter: saturate(0.9) brightness(1.04);
}

/* thin strips: three narrow panels of different lengths */
.bg-art[data-style="strips"] .art-side {
    width: clamp(150px, 23vw, 400px);
    gap: 10px;
}
.bg-art[data-style="strips"] .p1 {
    width: 37%;
    height: 94%;
}
.bg-art[data-style="strips"] .p2 {
    width: 29%;
    height: 76%;
    align-self: flex-end;
}
.bg-art[data-style="strips"] .p3 {
    width: 21%;
    height: 86%;
    align-self: center;
}

/* soft shaded wash: one big blurred photo fading in from each edge, no hard shapes */
.bg-art[data-style="wash"] .art-side {
    width: 64vw;
    gap: 0;
    -webkit-mask-image: linear-gradient(to right, #000 0%, rgba(0, 0, 0, 0.55) 40%, transparent 100%);
    mask-image: linear-gradient(to right, #000 0%, rgba(0, 0, 0, 0.55) 40%, transparent 100%);
}
.bg-art[data-style="wash"] .art-r {
    -webkit-mask-image: linear-gradient(to left, #000 0%, rgba(0, 0, 0, 0.55) 40%, transparent 100%);
    mask-image: linear-gradient(to left, #000 0%, rgba(0, 0, 0, 0.55) 40%, transparent 100%);
}
.bg-art[data-style="wash"] .art-l {
    left: -10vw;
}
.bg-art[data-style="wash"] .art-r {
    right: -10vw;
}
.bg-art[data-style="wash"] .pan,
.bg-art[data-style="wash"] .art-r .pan {
    transform: none;
    width: 100%;
    height: 100%;
    margin: 0;
    background: none;
    -webkit-mask-image: none;
    mask-image: none;
}
.bg-art[data-style="wash"] .pic,
.bg-art[data-style="wash"] .art-r .pic {
    transform: none;
    left: -8%;
    right: -8%;
    filter: blur(24px);
}
.bg-art[data-style="wash"] .pan::after {
    display: none;
}

/* soft coloured shade at the edges */
.art-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: calc(var(--art-op) * 0.4);
    animation: artGlow 36s ease-in-out infinite alternate;
}
.art-glow.g1 {
    left: -14vw;
    top: 34vh;
    width: 34vw;
    height: 34vw;
    background: radial-gradient(circle, rgba(255, 122, 26, 0.5), transparent 70%);
}
.art-glow.g2 {
    right: -14vw;
    top: 50vh;
    width: 36vw;
    height: 36vw;
    background: radial-gradient(circle, rgba(226, 58, 34, 0.4), transparent 70%);
    animation-delay: -12s;
}
@keyframes artGlow {
    0% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    100% {
        transform: translate3d(1.5vw, -2vh, 0) scale(1.08);
    }
}

.bg-art[data-motion="fade"] .pic b,
.bg-art[data-motion="still"] .pic b {
    animation: none;
}
.bg-art[data-motion="fade"] .pic,
.bg-art[data-motion="still"] .pic {
    translate: none;
}
.bg-art[data-motion="fade"] .art-glow,
.bg-art[data-motion="still"] .art-glow {
    animation: none;
}
.bg-art[data-motion="still"] .art-side {
    animation: none;
    opacity: var(--art-op);
}
.bg-art[data-motion="still"] .pic b {
    transition: none;
}
.has-art .why {
    background: color-mix(in srgb, var(--bg-2) 68%, transparent);
}
.has-art .pd-top {
    background: color-mix(in srgb, var(--bg-2) 80%, transparent);
}
@media (max-width: 900px) {
    .bg-art .art-side {
        width: 30vw;
    }
    .bg-art .p2,
    .bg-art .p3 {
        display: none;
    }
    .bg-art .p1 {
        width: 100%;
        height: 100%;
    }
    .bg-art[data-style="wash"] .art-side {
        width: 70vw;
    }
}
@media (max-width: 600px) {
    .bg-art .art-l {
        display: none;
    }
    .bg-art .art-side {
        width: 26vw;
    }
    .bg-art[data-style="wash"] .art-side {
        width: 90vw;
    }
}
@media (prefers-reduced-motion: reduce) {
    .art-side {
        animation: none;
        opacity: var(--art-op);
    }
    .pic b,
    .art-glow {
        animation: none !important;
        transition: none;
    }
    .pic {
        translate: none;
    }
}
@media print {
    .bg-art {
        display: none;
    }
}
/* admin extras */
.tiles {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 12px;
    margin-top: 1.2rem;
}
.tile {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface-2);
    color: var(--ink);
    text-decoration: none;
    transition:
        border-color 0.2s,
        transform 0.2s;
}
.tile:hover {
    border-color: var(--orange);
    transform: translateY(-2px);
}
.tile span {
    color: var(--muted);
    font-size: 0.7rem;
}
.tile b {
    font-family: var(--display);
    font-size: 2.2rem;
    line-height: 1;
}
.gal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 14px;
}
.gal-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface-2);
}
.gal-item img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 8px;
    background: #000;
}
.gal-item.is-off img {
    opacity: 0.35;
    filter: grayscale(1);
}
.gal-name {
    display: flex;
    gap: 6px;
}
.gal-name input {
    flex: 1;
    min-width: 0;
    padding: 6px 8px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--surface);
    color: var(--ink);
    font: inherit;
    font-size: 0.85rem;
}
.inline-role select {
    padding: 5px 8px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--surface);
    color: var(--ink);
    font: inherit;
    font-size: 0.85rem;
}

/* ============ Admin layout: wide, with a side menu (v1.09) ============ */
.admin-app {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    min-height: 100vh;
}
.admin-side {
    position: sticky;
    top: 0;
    align-self: start;
    height: 100vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 24px 16px;
    border-right: 1px solid var(--line);
    background: var(--bg-2);
}
.side-brand {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding: 0 8px 14px;
    border-bottom: 1px solid var(--line);
}
.side-brand .brand-name {
    font-size: 1.6rem;
}
.side-brand .mono {
    font-size: 0.66rem;
    letter-spacing: 0.12em;
}
.side-nav {
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex: 1;
}
.side-group {
    margin: 14px 8px 4px;
    font-size: 0.66rem;
    color: var(--muted);
    letter-spacing: 0.16em;
}
.side-nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    padding: 10px 12px;
    border-radius: 9px;
    color: var(--ink);
    text-decoration: none;
    font-weight: 600;
    border: 1px solid transparent;
    transition:
        background 0.15s,
        border-color 0.15s;
}
.side-nav a:hover {
    background: var(--surface-2);
    border-color: var(--line);
}
.side-nav a[aria-current="page"] {
    background: var(--orange);
    color: var(--on-accent);
}
.side-nav small {
    font-family: var(--mono);
    font-size: 0.68rem;
    opacity: 0.8;
}
.side-foot {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
}
.side-foot form {
    margin: 0;
}
.side-foot .btn {
    width: 100%;
    justify-content: center;
}
.admin-main {
    padding: clamp(18px, 3vw, 44px);
    min-width: 0;
    max-width: 1500px;
    width: 100%;
}
.admin-main .form {
    max-width: none;
}
@media (max-width: 860px) {
    .admin-app {
        grid-template-columns: 1fr;
    }
    .admin-side {
        position: static;
        height: auto;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        gap: 10px;
        padding: 12px 14px;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }
    .side-brand {
        border: 0;
        padding: 0;
        flex: 1 1 100%;
    }
    .side-nav {
        flex-direction: row;
        flex-wrap: wrap;
        flex: 1 1 100%;
        gap: 6px;
    }
    .side-group {
        display: none;
    }
    .side-nav a {
        padding: 7px 11px;
    }
    .side-foot {
        flex-direction: row;
        align-items: center;
        flex-wrap: wrap;
        border: 0;
        padding: 0;
        flex: 1 1 100%;
    }
    .side-foot .btn {
        width: auto;
    }
}

/* ============ Quote list, share, arrivals (v1.10) ============ */
.pbox {
    position: relative;
    display: flex;
    min-width: 0;
}
.pbox > .pcard {
    flex: 1;
    min-width: 0;
}
.pbox .pcard-foot {
    padding-right: 88px;
}
.pbox .pcard-foot svg {
    display: none;
}
.qadd {
    position: absolute;
    right: 12px;
    bottom: 12px;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid var(--orange);
    background: var(--surface);
    color: var(--orange);
    font: 600 0.8rem var(--body);
    cursor: pointer;
    transition:
        background 0.15s,
        color 0.15s;
}
.qadd::before {
    content: "+";
    font-weight: 800;
    font-size: 1rem;
    line-height: 1;
}
.qadd:hover,
.qadd.is-on {
    background: var(--orange);
    color: var(--on-accent);
}
.qadd.is-on::before {
    content: "✓";
}
.qadd-lg::before {
    content: "+";
}
.qadd-lg.is-on::before {
    content: "✓";
}
.qadd-lg {
    border-color: var(--orange);
    color: var(--orange);
}
.qadd-lg.is-on {
    background: var(--orange);
    color: var(--on-accent);
}
.pd-actions2 {
    align-items: center;
    margin-top: 0.8rem;
}
.share-label {
    margin-left: 0.4rem;
}
.ql-fab {
    position: fixed;
    left: 16px;
    bottom: 16px;
    z-index: 840;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 11px 18px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--orange), var(--red));
    color: #fff;
    font: 700 0.95rem var(--body);
    box-shadow:
        var(--shadow),
        0 0 24px -6px var(--glow);
    cursor: pointer;
}
.ql-fab[hidden] {
    display: none;
}
.ql-fab b {
    background: #fff;
    color: var(--red);
    border-radius: 99px;
    min-width: 24px;
    padding: 1px 7px;
    text-align: center;
    font-size: 0.85rem;
}
.ql-fab.bump {
    animation: qlBump 0.45s;
}
@keyframes qlBump {
    40% {
        transform: scale(1.12);
    }
}
.ql-panel {
    position: fixed;
    left: 16px;
    bottom: 70px;
    z-index: 845;
    width: min(400px, calc(100vw - 32px));
    max-height: min(70vh, 640px);
    overflow: auto;
    background: var(--panel);
    color: var(--ink);
    border: 1px solid var(--orange);
    border-radius: 14px;
    padding: 18px;
    box-shadow:
        var(--shadow),
        0 0 40px -10px var(--glow);
    opacity: 0;
    transform: translateY(12px);
    transition:
        opacity 0.2s,
        transform 0.2s;
}
.ql-panel.is-open {
    opacity: 1;
    transform: none;
}
.ql-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.ql-head h2 {
    font-size: 1.7rem;
    font-weight: 900;
    text-transform: uppercase;
}
.ql-x {
    border: 0;
    background: none;
    color: var(--muted);
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
}
.ql-printhead {
    display: none;
}
.ql-empty {
    color: var(--muted);
    margin-top: 0.8rem;
}
.ql-items {
    list-style: none;
    margin: 0.8rem 0;
    padding: 0;
    display: grid;
    gap: 10px;
}
.ql-items li {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 6px 10px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--surface-2);
}
.ql-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.ql-info b {
    overflow-wrap: anywhere;
    font-size: 0.95rem;
}
.ql-info span {
    color: var(--muted);
    font-size: 0.78rem;
}
.ql-qty {
    display: flex;
    align-items: center;
    gap: 4px;
    grid-column: 1;
}
.ql-qty button {
    width: 30px;
    height: 30px;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: var(--surface);
    color: var(--ink);
    font-size: 1.1rem;
    cursor: pointer;
}
.ql-qty input {
    width: 58px;
    height: 30px;
    text-align: center;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: var(--surface);
    color: var(--ink);
    font: inherit;
}
.ql-unit {
    color: var(--muted);
    font-size: 0.8rem;
    margin-left: 4px;
}
.ql-rm {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
    border: 0;
    background: none;
    color: var(--red);
    font: 600 0.8rem var(--body);
    cursor: pointer;
}
.ql-name {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    margin: 0.4rem 0 0.8rem;
}
.ql-name label {
    font-weight: 600;
    font-size: 0.85rem;
}
.ql-name input {
    padding: 8px 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    color: var(--ink);
    font: inherit;
}
.ql-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.ql-note {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem 0.8rem;
    margin-top: 0.5rem;
    padding: 0.6rem 0.8rem;
    border: 1px dashed var(--orange);
    border-radius: 10px;
    color: var(--muted);
    font-size: 0.9rem;
}
.ql-note[hidden] {
    display: none;
}
.snav-special small {
    color: var(--orange);
}
@media (max-width: 600px) {
    .ql-fab {
        bottom: 12px;
        left: 12px;
    }
    .ql-panel {
        left: 12px;
        bottom: 64px;
    }
    .qadd {
        padding: 5px 10px;
    }
    .pbox .pcard-foot {
        padding-right: 70px;
    }
}
@media print {
    body.qlprint > *:not(#qlPanel) {
        display: none !important;
    }
    body.qlprint {
        background: #fff !important;
        color: #000 !important;
    }
    body.qlprint #qlPanel {
        position: static;
        display: block !important;
        width: auto;
        max-height: none;
        opacity: 1;
        transform: none;
        border: 0;
        box-shadow: none;
        background: #fff;
        color: #000;
        padding: 0;
    }
    body.qlprint .ql-printhead {
        display: flex;
        flex-direction: column;
        gap: 2px;
        margin-bottom: 10px;
    }
    body.qlprint .ql-x,
    body.qlprint .ql-actions,
    body.qlprint .ql-name,
    body.qlprint .ql-rm,
    body.qlprint .ql-qty button {
        display: none !important;
    }
    body.qlprint .ql-items li {
        border: 0;
        border-bottom: 1px solid #999;
        background: #fff;
        border-radius: 0;
    }
    body.qlprint .ql-info span,
    body.qlprint .ql-unit {
        color: #333;
    }
    body.qlprint .ql-qty input {
        border: 0;
        background: none;
        color: #000;
        width: auto;
        font-weight: 700;
    }
}
.map-frame {
    flex: 1 1 100%;
    display: block;
    width: 100%;
    height: 240px;
    border: 0;
    border-radius: 10px;
    margin: 0.8rem 0;
    background: var(--surface-2);
}
.footer h4 .open-pill {
    margin-left: 0.4rem;
    font-size: 0.7rem;
    vertical-align: middle;
}
.arrivals-strip {
    padding-block: 36px;
}
.golive {
    margin: 1rem 0;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface-2);
    padding: 0.2rem 1rem;
}
.golive summary {
    cursor: pointer;
    padding: 0.8rem 0;
    display: flex;
    gap: 0.8rem;
    align-items: center;
}
.golive ul {
    list-style: none;
    margin: 0 0 0.8rem;
    padding: 0;
    display: grid;
    gap: 0.6rem;
}
.golive li {
    display: flex;
    gap: 0.7rem;
    align-items: flex-start;
}
.golive li div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.golive li span:not(.gl-mark) {
    color: var(--muted);
    font-size: 0.88rem;
}
.gl-mark {
    flex: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 0.8rem;
    color: #fff;
    background: var(--muted);
}
.is-ok .gl-mark {
    background: #2e9e5b;
}
.is-todo .gl-mark {
    background: var(--red);
}

/* ============ Home brands wall + photo slideshow (v1.12) ============ */
.brands-section {
    background: var(--bg-2);
    border-block: 1px solid var(--line);
}
.brand-wall {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 14px;
}
.brand-wall li {
    display: flex;
}
.brand-tile {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 92px;
    padding: 16px 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    text-decoration: none;
    color: var(--ink);
    transition:
        transform 0.18s,
        border-color 0.18s,
        box-shadow 0.18s;
}
.brand-tile:hover,
.brand-tile:focus-visible {
    transform: translateY(-3px);
    border-color: var(--orange);
    box-shadow: 0 10px 26px -14px var(--glow, rgba(255, 122, 26, 0.5));
}
.brand-tile img {
    display: block;
    max-width: 100%;
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
}
.brand-tile-name {
    font: 900 1.35rem/1.1 var(--display, inherit);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    text-align: center;
    overflow-wrap: anywhere;
}
html[data-mode="dark"] .brand-tile.has-logo {
    background: #f6f1ea;
    border-color: transparent;
} /* logos are usually drawn for a light background */
@media (max-width: 520px) {
    .brand-wall {
        grid-template-columns: repeat(2, 1fr);
    }
    .brand-tile {
        min-height: 78px;
        padding: 12px;
    }
}

.slideshow {
    position: relative;
}
.ss-stage {
    position: relative;
    aspect-ratio: 16/9;
    max-height: min(70vh, 640px);
    width: 100%;
    overflow: hidden;
    border-radius: calc(var(--radius) + 4px);
    border: 1px solid var(--line);
    background: #0c0907;
    box-shadow: var(--shadow);
}
.ss-slide {
    position: absolute;
    inset: 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.7s ease,
        visibility 0s linear 0.7s;
}
.ss-slide.is-active {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.7s ease;
}
.ss-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    cursor: zoom-in;
}
.ss-slide figcaption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 44px 22px 18px;
    color: #fff;
    font: 600 1.05rem/1.3 var(--body);
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.72));
    pointer-events: none;
}
.ss-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    display: grid;
    place-items: center;
    cursor: pointer;
    backdrop-filter: blur(4px);
    transition: background 0.15s;
}
.ss-nav:hover,
.ss-nav:focus-visible {
    background: var(--orange);
}
.ss-nav svg {
    width: 22px;
    height: 22px;
}
.ss-prev {
    left: 12px;
}
.ss-next {
    right: 12px;
}
.ss-play {
    position: absolute;
    right: 12px;
    top: 12px;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    font-size: 0.62rem;
    cursor: pointer;
}
.ss-play:hover,
.ss-play:focus-visible {
    background: var(--orange);
}
.ss-dots {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
}
.ss-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    border-radius: 99px;
    background: var(--line);
    cursor: pointer;
    transition:
        width 0.25s,
        background 0.25s;
}
.ss-dot.is-active {
    width: 28px;
    background: linear-gradient(90deg, var(--orange), var(--red));
}
.ss-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: grid;
    place-items: center;
    background: rgba(8, 6, 4, 0.92);
    cursor: zoom-out;
    padding: 3vw;
}
.ss-lightbox img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
}
.ss-lb-x {
    position: absolute;
    top: 14px;
    right: 18px;
    border: 0;
    background: none;
    color: #fff;
    font-size: 2.4rem;
    line-height: 1;
    cursor: pointer;
}
@media (max-width: 600px) {
    .ss-stage {
        aspect-ratio: 4/3;
    }
    .ss-nav {
        width: 38px;
        height: 38px;
    }
    .ss-slide figcaption {
        font-size: 0.92rem;
        padding: 34px 14px 12px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .ss-slide,
    .ss-slide.is-active {
        transition: none;
    }
}

.brand-thumb {
    height: 90px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: #f6f1ea;
    color: #1a120c;
    font: 900 1.1rem var(--display, inherit);
    text-transform: uppercase;
    text-align: center;
    padding: 8px;
    overflow: hidden;
}
.gal-item .brand-thumb img {
    width: auto;
    max-width: 100%;
    max-height: 74px;
    aspect-ratio: auto;
    background: none;
    border-radius: 0;
    object-fit: contain;
}
.gal-item.is-off .brand-thumb {
    opacity: 0.4;
    filter: grayscale(1);
}
.brand-edit {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.brand-edit input[type="text"],
.brand-edit input:not([type]) {
    padding: 6px 8px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--surface);
    color: var(--ink);
    font: inherit;
    font-size: 0.85rem;
}
.brand-edit input[type="file"] {
    font-size: 0.78rem;
    max-width: 100%;
}

/* ============ Shop layout: wide, e-commerce style (v1.13) ============ */
.wrap-shop {
    max-width: 1780px;
    padding-inline: clamp(12px, 2vw, 32px);
}
#page-products > section,
#page-brand > section,
#page-product > section {
    padding-block: 22px clamp(40px, 6vw, 72px);
}

/* compact header band with the search beside the title */
.shop-hero {
    padding-block: 22px 20px;
}
.shop-hero .wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px 36px;
}
.shop-hero h1 {
    font-size: clamp(1.9rem, 3.2vw, 2.8rem);
    margin-top: 0.35rem;
    line-height: 1;
}
.shop-hero p {
    margin-top: 0.45rem;
    font-size: 0.95rem;
    max-width: 62ch;
}
.shop-hero .search {
    margin: 0;
    flex: 1 1 380px;
    max-width: 640px;
}

/* left filter rail: stays in view while the page scrolls, on the list, brand and product pages */
.wrap.wrap-shop.has-snav {
    grid-template-columns: 296px minmax(0, 1fr);
    gap: clamp(18px, 2.2vw, 36px);
}
.has-snav .snav-wrap {
    position: sticky;
    top: 88px;
    max-height: calc(100vh - 104px);
    overflow: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 12px 10px;
}
.has-snav .snav {
    max-height: none;
    overflow: visible;
    border: 0;
    background: none;
    padding: 0;
    border-radius: 0;
}
.snav-switch {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.6rem 0.7rem;
    margin-bottom: 10px;
    border: 1px solid var(--line);
    border-radius: 10px;
    color: var(--ink);
    font-weight: 700;
    text-decoration: none;
}
.snav-switch:hover {
    border-color: var(--orange);
}
.snav-switch-track {
    position: relative;
    flex: none;
    width: 38px;
    height: 22px;
    border-radius: 99px;
    background: var(--line);
    transition: background 0.2s;
}
.snav-switch-track i {
    position: absolute;
    left: 3px;
    top: 3px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
    transition: transform 0.2s;
}
.snav-switch.is-on {
    border-color: var(--orange);
}
.snav-switch.is-on .snav-switch-track {
    background: var(--orange);
}
.snav-switch.is-on .snav-switch-track i {
    transform: translateX(16px);
}
.snav-facet {
    margin-top: 14px;
    padding-top: 10px;
    border-top: 1px solid var(--line);
}
.snav-brands {
    margin: 0;
    padding: 0;
    border: 0;
}
.snav-brands a {
    padding: 0.4rem 0.65rem;
}
.snav-more summary {
    cursor: pointer;
    color: var(--orange);
    font-weight: 700;
    font-size: 0.88rem;
    padding: 0.4rem 0.65rem;
    list-style: none;
}
.snav-more summary::-webkit-details-marker {
    display: none;
}
.snav-more[open] summary {
    display: none;
}

/* results toolbar + active filters */
.shop-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 18px;
    padding: 10px 14px;
    margin-bottom: 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface);
}
.shop-count {
    margin-right: auto;
    color: var(--muted);
    font-size: 0.8rem;
}
.shop-count b {
    color: var(--ink);
    font-size: 1.05rem;
}
.shop-sort {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin: 0;
}
.shop-sort label {
    color: var(--muted);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.shop-sort select {
    font: inherit;
    font-size: 0.92rem;
    color: var(--ink);
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 0.45rem 0.7rem;
}
.shop-sort select:focus {
    outline: none;
    border-color: var(--orange);
    box-shadow: 0 0 0 3px var(--glow);
}
.shop-view {
    display: inline-flex;
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
}
.shop-view[hidden] {
    display: none;
}
.shop-view button {
    width: 38px;
    height: 36px;
    display: grid;
    place-items: center;
    background: var(--bg);
    color: var(--muted);
    border: 0;
    cursor: pointer;
}
.shop-view button + button {
    border-left: 1px solid var(--line);
}
.shop-view button svg {
    width: 18px;
    height: 18px;
}
.shop-view button[aria-pressed="true"] {
    background: var(--orange);
    color: var(--on-accent);
}
.active-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}
.achip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.28rem 0.55rem 0.28rem 0.8rem;
    border: 1px solid var(--orange);
    border-radius: 99px;
    background: color-mix(in srgb, var(--orange) 9%, var(--surface));
    color: var(--ink);
    text-decoration: none;
    font-size: 0.9rem;
}
.achip span.mono {
    color: var(--muted);
    font-size: 0.62rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.achip i {
    font-style: normal;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--orange);
    color: var(--on-accent);
    font-size: 0.95rem;
    line-height: 1;
}
.achip:hover {
    background: color-mix(in srgb, var(--orange) 18%, var(--surface));
}
.achip-clear {
    color: var(--muted);
    font-size: 0.88rem;
    font-weight: 600;
}

/* product grid: more columns on wide screens, optional list layout */
.has-snav .pgrid {
    grid-template-columns: repeat(auto-fill, minmax(196px, 1fr));
    gap: 14px;
}
.has-snav .pcard-name {
    font-size: 1.1rem;
}
.has-snav .pcard-body {
    padding: 12px 14px 14px;
}
.pgrid.is-list {
    grid-template-columns: 1fr;
    gap: 10px;
}
.pgrid.is-list .pcard {
    flex-direction: row;
    align-items: stretch;
}
.pgrid.is-list .pcard-media {
    width: 190px;
    flex: none;
    aspect-ratio: 4/3;
    border-bottom: 0;
    border-right: 1px solid var(--line);
}
.pgrid.is-list .pcard-body {
    justify-content: center;
}
.pgrid.is-list .pcard-foot {
    margin-top: 0.2rem;
}
.pgrid.is-list .pbox .pcard-foot {
    padding-right: 96px;
}

/* product page: bigger photo that stays put while you read the details */
.has-snav .pd {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: clamp(24px, 3.5vw, 60px);
}
.has-snav .pd-media {
    position: sticky;
    top: 92px;
    max-height: min(74vh, 720px);
    width: 100%;
}
.has-snav .pd-info h1 {
    font-size: clamp(2rem, 3vw, 3rem);
}

@media (max-width: 1100px) {
    .has-snav .pd-media {
        position: relative;
        top: 0;
        max-width: 560px;
        max-height: none;
    }
}
@media (max-width: 900px) {
    .wrap.wrap-shop.has-snav {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .has-snav .snav-wrap {
        position: static;
        max-height: none;
        overflow: visible;
        background: none;
        border: 0;
        padding: 0;
    }
    .has-snav .snav {
        max-height: 60vh;
        overflow: auto;
        background: var(--surface);
        border: 1px solid var(--line);
        border-radius: 14px;
        padding: 12px 10px;
    }
    .shop-hero .search {
        flex-basis: 100%;
        max-width: none;
    }
}
@media (max-width: 620px) {
    .has-snav .pgrid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
    .pgrid.is-list .pcard {
        flex-direction: column;
    }
    .pgrid.is-list .pcard-media {
        width: 100%;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }
    .shop-toolbar {
        padding: 8px 10px;
    }
    .shop-count {
        flex-basis: 100%;
    }
}
@media (min-width: 1500px) {
    .has-snav .pgrid {
        grid-template-columns: repeat(auto-fill, minmax(206px, 1fr));
    }
}

/* ============ Legal pages + footer links (v1.13) ============ */
.footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 1.2rem;
}
.footer-legal a {
    color: var(--muted);
    text-decoration: none;
}
.footer-legal a:hover {
    color: var(--orange);
    text-decoration: underline;
}
.form-legal {
    margin-top: 0.9rem;
    color: var(--muted);
    font-size: 0.84rem;
}
.form-legal a {
    color: var(--orange);
}
.legal-hero .wrap {
    align-items: flex-end;
}
.legal-date {
    color: var(--muted);
    font-size: 0.74rem;
    letter-spacing: 0.08em;
}
.legal-section {
    padding-block: clamp(24px, 4vw, 48px) clamp(48px, 7vw, 96px);
}
.legal-layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: clamp(24px, 4vw, 64px);
    align-items: start;
    max-width: 1200px;
}
.legal-toc {
    position: sticky;
    top: 92px;
    max-height: calc(100vh - 110px);
    overflow: auto;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface);
    scrollbar-width: thin;
}
.legal-toc > span {
    display: block;
    margin-bottom: 0.6rem;
    color: var(--muted);
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.legal-toc ol {
    list-style: none;
    margin: 0;
    padding: 0;
    counter-reset: lt;
}
.legal-toc li {
    counter-increment: lt;
}
.legal-toc li a {
    display: flex;
    gap: 0.6rem;
    padding: 0.38rem 0.5rem;
    border-radius: 8px;
    color: var(--muted);
    text-decoration: none;
    font-size: 0.92rem;
}
.legal-toc li a::before {
    content: counter(lt, decimal-leading-zero);
    font-family: var(--mono);
    font-size: 0.7rem;
    color: var(--orange);
    padding-top: 0.15rem;
}
.legal-toc li a:hover {
    background: var(--surface-2);
    color: var(--ink);
}
.legal-other {
    display: grid;
    gap: 0.2rem;
    margin-top: 1rem;
    padding-top: 0.8rem;
    border-top: 1px solid var(--line);
}
.legal-other a {
    padding: 0.3rem 0.5rem;
    border-radius: 8px;
    color: var(--ink);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.92rem;
}
.legal-other a:hover,
.legal-other a[aria-current="page"] {
    color: var(--orange);
}
.legal-print {
    margin-top: 0.4rem;
    text-align: left;
    padding: 0.3rem 0.5rem;
    background: none;
    border: 0;
    color: var(--muted);
    font: inherit;
    font-size: 0.88rem;
    cursor: pointer;
}
.legal-print:hover {
    color: var(--orange);
}
.legal-body {
    max-width: 78ch;
    padding: clamp(18px, 3vw, 36px);
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface);
}
.legal-body section {
    padding: 0;
    scroll-margin-top: 96px;
}
.legal-body section + section {
    margin-top: 2rem;
    padding-top: 1.6rem;
    border-top: 1px solid var(--line);
}
.legal-body h2 {
    display: flex;
    align-items: baseline;
    gap: 0.8rem;
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
}
.legal-body h2 .mono {
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    color: var(--orange);
    font-weight: 500;
}
.legal-body p {
    margin: 0.7rem 0;
    line-height: 1.7;
}
.legal-body ul {
    margin: 0.7rem 0;
    padding-left: 1.3rem;
    display: grid;
    gap: 0.4rem;
    line-height: 1.65;
}
.legal-body li::marker {
    color: var(--orange);
}
@media (max-width: 900px) {
    .legal-layout {
        grid-template-columns: 1fr;
    }
    .legal-toc {
        position: static;
        max-height: none;
    }
}
@media print {
    .header,
    .footer,
    .legal-toc,
    .legal-hero .search,
    .bg-art,
    .ql-fab,
    .ql-panel,
    .toast {
        display: none !important;
    }
    .legal-layout {
        display: block;
    }
    .legal-body {
        border: 0;
        padding: 0;
        max-width: none;
    }
    body {
        background: #fff !important;
        color: #000 !important;
    }
}
/* header and footer line up with the wide shop content */
body.is-shop .header .wrap,
body.is-shop .footer .wrap {
    max-width: 1780px;
    padding-inline: clamp(12px, 2vw, 32px);
}
.has-snav .pd-actions {
    gap: 0.5rem;
}
.has-snav .pd-actions .btn:not(.btn-sm) {
    padding: 0.8rem 1.05rem;
    font-size: 0.95rem;
}
