/* Fonts, served from assets/fonts (no wait on Google's servers before text shows) */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fonts/inter-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fonts/inter-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Montserrat'; font-style: italic; font-weight: 800 900; font-display: swap; src: url(fonts/montserrat-italic-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Montserrat'; font-style: italic; font-weight: 800 900; font-display: swap; src: url(fonts/montserrat-italic-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 600 900; font-display: swap; src: url(fonts/montserrat-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 600 900; font-display: swap; src: url(fonts/montserrat-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }


/* Lamtronix — store styles. Clean, bright and calm like a modern Shopify store; motion is gentle and
   switched off for people who ask their device for less motion (see the end of this file). */
:root {
  --navy: #071B4D; --navy-2: #0D2A72; --ink: #0A1022; --text: #2B3445; --muted: #667085; --line: #E6E9F0; --line-2: #D5DBE6;
  --blue: #1257E0; --blue-2: #2F7BFF; --blue-50: #EEF4FF; --sky: #19B5F5; --soft: #F6F7FB;
  --green: #0E9F57; --red: #D93636; --amber: #B26A00; --deal: #E5383B;
  --radius: 18px; --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(10, 16, 34, .05); --shadow: 0 1px 2px rgba(10, 16, 34, .04), 0 8px 24px rgba(10, 16, 34, .06);
  --shadow-lg: 0 24px 60px rgba(10, 16, 34, .16);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --display: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color-scheme: only light;
}
@view-transition { navigation: auto; } /* pages cross-fade into each other (Chrome, Edge, Safari) */
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .28s; }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--text); background: #fff; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, video { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); color: var(--ink); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.025em; text-wrap: balance; font-weight: 700; }
h1 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h2 { font-size: clamp(1.35rem, 2.4vw, 2rem); }
h3 { font-size: 1.05rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
::selection { background: rgba(18, 87, 224, .18); }
[hidden] { display: none !important; }
.container { width: min(1280px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(620px, 100% - 32px); }
.narrow-lg { width: min(980px, 100% - 32px); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 8px 12px; border-radius: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ic { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.center { text-align: center; }
.red { color: var(--red) !important; } .amber { color: var(--amber) !important; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 10px; font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.eyebrow-deal { color: var(--deal); }
.lead { font-size: 1.08rem; color: var(--muted); max-width: 60ch; }
.h-gap { margin-top: 1.4em; }
.page-title { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: .7em; }
.page-title.h2 { font-size: 1.35rem; }
.code-chip { display: inline-block; padding: 2px 8px; border-radius: 6px; background: var(--blue-50); color: var(--blue); font: 700 .82rem ui-monospace, Menlo, Consolas, monospace; letter-spacing: .04em; }

/* Reveal on scroll (app.js adds .in as each element comes into view; --d staggers a row) */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* Buttons */
.btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border: 1.5px solid transparent; border-radius: 999px; font: 600 .95rem var(--font); letter-spacing: -.005em; cursor: pointer; text-decoration: none !important; transition: background .2s, color .2s, border-color .2s, box-shadow .25s, transform .15s; white-space: nowrap; }
.btn:active { transform: scale(.98); }
.btn .ic { transition: transform .25s var(--ease); }
.btn:hover .ic:last-child { transform: translateX(3px); }
.btn:focus-visible, a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid rgba(18, 87, 224, .35); outline-offset: 2px; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 6px 18px rgba(18, 87, 224, .28); }
.btn-primary:hover { background: #0E48BE; box-shadow: 0 10px 26px rgba(18, 87, 224, .36); }
.btn-primary::after, .btn-dark::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .28) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s var(--ease); }
.btn-primary:hover::after, .btn-dark:hover::after { transform: translateX(120%); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #1B2337; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #F1F4FA; }
.btn-glass { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn-glass:hover { background: rgba(255, 255, 255, .22); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-danger { background: #fff; color: var(--red); border-color: #F1C4C4; }
.btn-danger:hover { background: #FDF1F1; }
.btn-lg { min-height: 52px; padding: 0 28px; font-size: 1rem; }
.btn-sm { min-height: 34px; padding: 0 14px; font-size: .86rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.btn-row form { margin: 0; }
.linkish { display: inline-flex; align-items: center; gap: 5px; padding: 0; border: 0; background: none; color: var(--blue); font: inherit; font-size: .9rem; cursor: pointer; }
.linkish:hover { text-decoration: underline; }

/* Cards, badges, alerts */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.pad { padding: clamp(20px, 3vw, 30px); }
.card + .card, form.card + form.card, .card + form.card { margin-top: 18px; }
.badge { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; font-size: .76rem; font-weight: 600; white-space: nowrap; }
.badge-blue { background: var(--blue-50); color: #0E48BE; } .badge-green { background: #E4F7EC; color: #0A7A42; } .badge-amber { background: #FFF2D9; color: #8A5200; } .badge-gray { background: #EEF1F6; color: #55617A; }
.cond { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.cond-new { color: #0A7A42; } .cond-open_box { color: #0E48BE; } .cond-refurb { color: #6B3FD4; } .cond-used { color: #8A5200; }
.flashes { position: fixed; top: 16px; left: 50%; z-index: 90; transform: translateX(-50%); display: grid; gap: 8px; width: min(560px, 100% - 32px); padding: 0; }
.flashes .alert { box-shadow: var(--shadow-lg); animation: drop-in .5s var(--ease) both; }
@keyframes drop-in { from { opacity: 0; transform: translateY(-14px) scale(.98); } to { opacity: 1; transform: none; } }
.alert { display: flex; align-items: flex-start; gap: 10px; padding: 13px 15px; border-radius: 14px; border: 1px solid; font-size: .95rem; background: #fff; }
.alert > span { flex: 1; }
.alert .ic { margin-top: 2px; }
.alert form { margin: 0; }
.alert-success { border-color: #BFE8CF; background: #EFFAF3; color: #0A5C33; }
.alert-error { border-color: #F1C4C4; background: #FDF1F1; color: #9A2020; }
.alert-info { border-color: #C9DBFB; background: var(--blue-50); color: #153E91; }
.alert-inline { margin-bottom: 16px; }
.alert-x { border: 0; background: none; font-size: 1.2rem; line-height: 1; color: inherit; opacity: .6; cursor: pointer; }
.hint { display: flex; gap: 6px; align-items: flex-start; font-size: .84rem; color: var(--muted); margin: 6px 0 0; }
.empty { text-align: center; padding-block: 48px; }
.empty-ico, .thanks-ico { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--blue-50); color: var(--blue); font-size: 1.6rem; margin-bottom: 14px; }
.thanks-ico { background: #E4F7EC; color: var(--green); animation: pop .6s var(--ease) both; }
@keyframes pop { 0% { transform: scale(.4); opacity: 0; } 60% { transform: scale(1.08); opacity: 1; } 100% { transform: scale(1); } }
.thanks-ico-blue { background: var(--blue-50); color: var(--blue); }
.thanks { text-align: center; margin-bottom: 20px; border-color: #BFE8CF; }
.thanks-warn { border-color: #F4DFA8; } .thanks-warn .thanks-ico { background: #FFF2D9; color: var(--amber); }
.thanks form { margin-top: 6px; }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 95; display: flex; align-items: center; gap: 10px; max-width: min(440px, 100% - 32px); padding: 12px 18px; border-radius: 999px; background: var(--ink); color: #fff; font-size: .92rem; box-shadow: var(--shadow-lg); transform: translate(-50%, 140%); opacity: 0; transition: transform .45s var(--ease), opacity .3s; pointer-events: none; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }
.toast .ic { color: #5EE0A0; }

/* Announcement bar: messages take turns, sliding up */
.topbar { background: var(--ink); color: #DCE3F1; font-size: .82rem; }
.topbar-in { display: flex; justify-content: space-between; gap: 16px; align-items: center; height: 38px; }
.ticker { position: relative; flex: 1; height: 38px; overflow: hidden; }
.ticker span { position: absolute; inset: 0; display: flex; align-items: center; gap: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: 0; transform: translateY(100%); transition: transform .6s var(--ease), opacity .6s; }
.ticker span.on { opacity: 1; transform: none; }
.ticker span.out { opacity: 0; transform: translateY(-100%); }
.ticker .ic { color: var(--sky); }
.topbar-links { display: flex; gap: 20px; white-space: nowrap; }
.topbar a { color: #fff; display: inline-flex; gap: 6px; align-items: center; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid var(--line); transition: box-shadow .3s; }
.site-header.scrolled { box-shadow: 0 8px 28px rgba(10, 16, 34, .08); }
.header-in { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 28px; align-items: center; padding-block: 10px; transition: padding .3s var(--ease); }
.scrolled .header-in { padding-block: 4px; }
.logo { display: flex; align-items: center; }
.logo-img { height: 68px; width: auto; transition: height .3s var(--ease); }
.logo-custom { height: 68px; max-width: 200px; object-fit: contain; }
.scrolled .logo-img { height: 54px; }
.search { position: relative; display: flex; align-items: center; max-width: 620px; width: 100%; margin-inline: auto; border: 1.5px solid var(--line-2); border-radius: 999px; background: var(--soft); transition: border-color .2s, background .2s, box-shadow .2s; }
.search:focus-within { border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(18, 87, 224, .12); }
.search > .ic { position: absolute; left: 18px; color: var(--muted); }
.search input { flex: 1; min-width: 0; border: 0; padding: 0 12px 0 48px; height: 48px; font: 1rem var(--font); color: var(--ink); outline: none; background: transparent; box-shadow: none !important; }
.search input[type=search] { min-height: 0; height: 48px; padding: 0 12px 0 48px; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.search button { margin: 4px; height: 40px; padding: 0 20px; border: 0; border-radius: 999px; background: var(--ink); color: #fff; font: 600 .9rem var(--font); cursor: pointer; transition: background .2s; }
.search button:hover { background: var(--blue); }
.header-acts { display: flex; gap: 4px; }
.hact { position: relative; display: grid; justify-items: center; gap: 3px; min-width: 62px; padding: 7px 8px; border-radius: 12px; color: var(--ink); font-size: .76rem; font-weight: 600; text-decoration: none !important; transition: background .2s, color .2s; }
.hact .ic { width: 24px; height: 24px; transition: transform .25s var(--ease); }
.hact:hover, .hact.on { background: var(--soft); color: var(--blue); }
.hact:hover .ic { transform: translateY(-2px); }
.hbadge { position: absolute; top: 1px; right: 9px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--deal); color: #fff; font: 700 .72rem/20px var(--font); text-align: center; box-shadow: 0 0 0 2px #fff; }
.hbadge.bump { animation: bump .6s var(--ease); }
@keyframes bump { 0% { transform: scale(1); } 30% { transform: scale(1.5); } 60% { transform: scale(.9); } 100% { transform: scale(1); } }
.catnav { border-top: 1px solid var(--line); }
.catnav-in { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.catnav-in::-webkit-scrollbar { display: none; }
.catnav a { position: relative; flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 12px 10px; color: var(--text); font-size: .88rem; font-weight: 500; text-decoration: none; }
.catnav a::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 0; height: 2px; border-radius: 2px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.catnav a:hover, .catnav a.on { color: var(--ink); }
.catnav a:hover::after, .catnav a.on::after { transform: scaleX(1); }
.catnav-deal { color: var(--deal) !important; font-weight: 600 !important; }
.catnav-deal::after { background: var(--deal) !important; }
.catnav-gap { flex: 1; min-width: 8px; }
.catnav-trend { color: #E5560F !important; font-weight: 600 !important; }
.catnav-trend::after { background: #E5560F !important; }
.catnav-svc { color: var(--blue) !important; font-weight: 600 !important; }
.catnav-svc::after { background: var(--blue) !important; }

/* Sections */
.section { padding-block: clamp(44px, 7vw, 88px); }
.section-tight { padding-block: clamp(20px, 3vw, 34px); }
.section-alt { background: var(--soft); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 26px; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin: 0; }
.section-head a { font-weight: 600; white-space: nowrap; display: inline-flex; gap: 6px; align-items: center; color: var(--ink); }
.section-head a .ic { transition: transform .25s var(--ease); }
.section-head a:hover .ic { transform: translateX(4px); }
.section-head-center { justify-content: center; text-align: center; }
.section-head-sp { margin-top: 56px; }
.page-hero { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--navy), #1246B8 70%, #1672E8); color: #fff; padding-block: clamp(36px, 6vw, 64px); }
.page-hero::after { content: ""; position: absolute; inset: -40%; background: radial-gradient(600px 300px at 80% 30%, rgba(25, 181, 245, .35), transparent 60%); animation: glow 12s ease-in-out infinite alternate; pointer-events: none; }
@keyframes glow { to { transform: translate(-10%, 8%); } }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; margin-bottom: .3em; font-size: clamp(2rem, 4.4vw, 3.2rem); }
.page-hero .eyebrow { color: #8FD3FF; }
.page-hero .lead { color: #D6E2FB; margin: 0; }
.kind-tabs { display: inline-flex; gap: 6px; margin-top: 22px; padding: 5px; border-radius: 999px; background: rgba(255, 255, 255, .12); backdrop-filter: blur(10px); }
.kind-tabs a { display: inline-flex; gap: 8px; align-items: center; padding: 9px 18px; border-radius: 999px; color: #fff; font-weight: 600; text-decoration: none; transition: background .2s; }
.kind-tabs a.on { background: #fff; color: var(--navy); }

/* Background videos */
.bgvid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Home: hero */
.hero { position: relative; overflow: hidden; min-height: min(86vh, 760px); display: flex; align-items: center; background: var(--navy) url(media/hero.jpg) center / cover; color: #fff; }
.hero .bgvid { transform: scale(1.06); animation: slow-zoom 24s ease-in-out infinite alternate; }
@keyframes slow-zoom { to { transform: scale(1.14); } }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5, 12, 36, .88) 0%, rgba(5, 12, 36, .62) 45%, rgba(5, 12, 36, .15) 100%), linear-gradient(0deg, rgba(5, 12, 36, .55), transparent 40%); }
.hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 48px; align-items: center; padding-block: 70px; }
.hero .eyebrow { color: #8FD3FF; }
.hero-title { color: #fff; font-size: clamp(2.6rem, 6.2vw, 5rem); font-weight: 800; letter-spacing: -.04em; line-height: 1.02; margin-bottom: .35em; }
.hero-title span { display: inline-block; }
.hero-title em { font-style: normal; background: linear-gradient(90deg, #8FD3FF, #19B5F5 30%, #fff 50%, #19B5F5 70%, #8FD3FF); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 6s linear infinite; }
@keyframes shine { to { background-position: -200% center; } }
.hero .lead { color: #D6E2FB; font-size: 1.15rem; }
.hero-acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-in-1, .hero-in-2, .hero-in-3, .hero-in-4, .hero-in-5, .hero-in-6 { animation: rise 1s var(--ease) both; }
.hero-in-2 { animation-delay: .12s; } .hero-in-3 { animation-delay: .24s; } .hero-in-4 { animation-delay: .4s; } .hero-in-5 { animation-delay: .55s; } .hero-in-6 { animation: card-in 1.2s var(--ease) .5s both; }
@keyframes rise { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@keyframes card-in { from { opacity: 0; transform: translateY(40px) rotate(2deg) scale(.96); } to { opacity: 1; transform: none; } }
.hero-card { position: relative; display: grid; gap: 12px; padding: 18px 18px 20px; border-radius: 24px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); color: #fff; text-decoration: none !important; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); transition: transform .5s var(--ease); }
.hero-card:hover { transform: translateY(-6px); }
.hero-card-tag { position: absolute; top: 28px; left: 28px; z-index: 1; padding: 5px 12px; border-radius: 999px; background: var(--deal); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.hero-card-media { display: block; aspect-ratio: 1; border-radius: 16px; overflow: hidden; background: #fff; }
.hero-card-media .pimg { transition: transform 1.2s var(--ease); }
.hero-card:hover .hero-card-media .pimg { transform: scale(1.06); }
.hero-card-body { display: grid; gap: 6px; padding: 0 4px; }
.hero-card-name { font-weight: 600; font-size: 1.02rem; }
.hero-card .price b { color: #fff; } .hero-card .price s { color: #B9C6E4; } .hero-card .price em { color: #FFB4B4; }
.hero-card-go { display: inline-flex; align-items: center; gap: 6px; padding: 0 4px; color: #8FD3FF; font-weight: 600; font-size: .9rem; }
.hero-scroll { position: absolute; left: 50%; bottom: 22px; z-index: 1; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, .6); border-radius: 14px; }
.hero-scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: wheel 1.8s ease-in-out infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 80% { opacity: 0; transform: translateY(12px); } 100% { opacity: 0; } }

/* Home: scrolling promises */
.marquee { overflow: hidden; background: #fff; border-bottom: 1px solid var(--line); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { display: inline-flex; align-items: center; gap: 10px; padding: 18px 34px; font-weight: 600; font-size: .95rem; color: var(--ink); white-space: nowrap; }
.marquee span .ic { color: var(--blue); width: 20px; height: 20px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Home: categories */
.cat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.cat-card { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--soft); color: #fff; text-decoration: none !important; isolation: isolate; }
.cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.cat-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5, 12, 36, .78) 0%, rgba(5, 12, 36, .1) 50%, transparent 70%); transition: background .4s; }
.cat-card:hover img { transform: scale(1.08); }
.cat-card-ico { position: absolute; inset: 0; display: grid; place-items: center; color: var(--blue); font-size: 3rem; }
.cat-card-label { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 1; display: grid; gap: 2px; }
.cat-card-label b { font-size: 1.15rem; font-weight: 700; letter-spacing: -.01em; }
.cat-card-label span { display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; color: #D6E2FB; }
.cat-card-label .ic { opacity: 0; transform: translateX(-6px); transition: opacity .3s, transform .35s var(--ease); }
.cat-card:hover .cat-card-label .ic { opacity: 1; transform: none; }

/* Home: deals rail (scrolls sideways) */
.section-deals { background: linear-gradient(180deg, #fff, var(--soft)); }
.rail-nav { display: flex; align-items: center; gap: 8px; }
.rail-nav a { margin-right: 10px; }
.rail-btn { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--line-2); background: #fff; color: var(--ink); cursor: pointer; transition: border-color .2s, background .2s; }
.rail-btn:hover { border-color: var(--ink); }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 16px) / 4); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding: 6px 2px 18px; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }

/* Home: sell / trade / repair */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.svc { position: relative; display: block; aspect-ratio: 5 / 4.4; border-radius: var(--radius); overflow: hidden; color: #fff; text-decoration: none !important; isolation: isolate; }
.svc img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); z-index: -2; }
.svc::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(5, 12, 36, .9) 0%, rgba(5, 12, 36, .35) 55%, rgba(5, 12, 36, .05)); }
.svc:hover img { transform: scale(1.07); }
.svc-body { position: absolute; left: 24px; right: 24px; bottom: 22px; display: grid; gap: 6px; }
.svc h3 { color: #fff; font-size: 1.4rem; margin: 0; }
.svc p { margin: 0; color: #D6E2FB; font-size: .95rem; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s var(--ease), opacity .4s; }
.svc:hover p, .svc:focus-visible p { max-height: 80px; opacity: 1; }
.svc-go { margin-top: 6px; display: inline-flex; gap: 6px; align-items: center; font-weight: 600; color: #8FD3FF; }

/* Home: video band with numbers */
.band { position: relative; overflow: hidden; color: #fff; background: var(--navy) url(media/tested.jpg) center / cover; }
.band-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5, 12, 36, .92), rgba(5, 12, 36, .7) 60%, rgba(5, 12, 36, .5)); }
.band-in { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; padding-block: clamp(60px, 9vw, 110px); }
.band h2 { color: #fff; font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
.band .eyebrow { color: #8FD3FF; }
.band .lead { color: #C9D6F5; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.stats > div { display: grid; gap: 4px; padding: 22px 16px; border-radius: 18px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(10px); text-align: center; }
.stats b { font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.stats span { color: #C9D6F5; font-size: .85rem; }
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.how-grid > div { padding: 28px; border-radius: var(--radius); background: var(--soft); transition: transform .4s var(--ease), box-shadow .4s; }
.how-grid > div:hover { transform: translateY(-4px); box-shadow: var(--shadow); background: #fff; }
.how-ico { display: inline-grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: var(--ink); color: #fff; font-size: 1.3rem; margin-bottom: 16px; }
.how-grid p { color: var(--muted); margin: 0; }

/* Get deals first + promises */
.news { background: var(--ink); color: #fff; }
.news-in { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; padding-block: clamp(40px, 6vw, 64px); }
.news h2 { color: #fff; font-size: clamp(1.4rem, 2.6vw, 2rem); margin-bottom: .3em; }
.news .eyebrow { color: #8FD3FF; }
.news .muted { color: #9AA6BF; margin: 0; }
.news-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
.news-form input[type=email] { height: 52px; border-radius: 999px; padding: 0 22px; border: 1.5px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .06); color: #fff; }
.news-form input[type=email]::placeholder { color: #9AA6BF; }
.news-form input[type=email]:focus { border-color: #8FD3FF; box-shadow: 0 0 0 4px rgba(143, 211, 255, .18); }
.news-msg { grid-column: 1 / -1; margin: 0; min-height: 1.4em; font-size: .9rem; color: #8FEFC0; }
.news-msg.err { color: #FFB4B4; }
.perks { background: #fff; border-top: 1px solid var(--line); }
.perks-in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding-block: 26px; }
.perks-in > div { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; font-size: .86rem; color: var(--muted); }
.perks-in .ic { grid-row: span 2; width: 30px; height: 30px; color: var(--ink); }
.perks-in b { color: var(--ink); font-size: .95rem; }

/* Product cards */
.pgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px 16px; }
.pgrid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pcard { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); }
.pcard-link { display: flex; flex-direction: column; flex: 1; color: inherit; text-decoration: none !important; }
.pcard-media { position: relative; display: block; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: linear-gradient(100deg, #F1F3F8 30%, #F8F9FC 50%, #F1F3F8 70%) 0 0 / 300% 100%; animation: shimmer 1.6s linear infinite; }
@keyframes shimmer { to { background-position: -150% 0; } }
.pimg { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1s var(--ease), opacity .6s var(--ease); }
.pcard-media .pimg-2 { position: absolute; inset: 0; opacity: 0; }
.pcard:hover .pcard-media .pimg { transform: scale(1.05); }
.pcard:hover .pcard-media .pimg-2 { opacity: 1; }
.pimg-none { display: grid; place-items: center; background: linear-gradient(145deg, #EEF4FF, #DCE8FF); color: #7FA2E8; }
.pimg-ic { width: 42%; height: 42%; stroke-width: 1.3; }
.pcard-flags { position: absolute; top: 12px; left: 12px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.deal-flag, .flag-low, .flag-out { padding: 4px 10px; border-radius: 999px; font-size: .74rem; font-weight: 700; }
.deal-flag { background: var(--deal); color: #fff; }
.flag-low { display: inline-flex; align-items: center; gap: 6px; background: #fff; color: var(--amber); box-shadow: var(--shadow-sm); }
.flag-low::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #F59E0B; animation: ping 1.6s ease-out infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(245, 158, 11, .6); } 80%, 100% { box-shadow: 0 0 0 7px rgba(245, 158, 11, 0); } }
.flag-out { background: var(--ink); color: #fff; }
.pcard-body { display: flex; flex-direction: column; gap: 5px; padding: 14px 4px 4px; flex: 1; }
.pcard-name { font-weight: 500; color: var(--ink); line-height: 1.38; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.76em; }
.pcard-add { position: absolute; left: 0; right: 0; top: 0; aspect-ratio: 1; display: flex; align-items: flex-end; padding: 12px; margin: 0; pointer-events: none; }
.pcard-add .btn { pointer-events: auto; min-height: 44px; opacity: 0; transform: translateY(14px); transition: opacity .3s, transform .45s var(--ease), background .2s; box-shadow: 0 10px 24px rgba(10, 16, 34, .25); }
.pcard:hover .pcard-add .btn, .pcard:focus-within .pcard-add .btn { opacity: 1; transform: none; }
@media (hover: none) { /* phones and tablets: a round + button that's always there */
  .pcard-add { justify-content: flex-end; }
  .pcard-add .btn { opacity: 1; transform: none; width: 44px; padding: 0; }
  .pcard-add .btn span { display: none; }
}
.pcard.is-out .pcard-media { opacity: .6; }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin-top: auto; }
.price b { font-size: 1.15rem; font-weight: 700; color: var(--ink); letter-spacing: -.01em; }
.price s { color: var(--muted); font-size: .88rem; }
.price em { font-style: normal; font-size: .78rem; font-weight: 700; color: var(--deal); }
.price-lg b { font-size: 1.5rem; } .price-xl b { font-size: 2.2rem; letter-spacing: -.03em; } .price-xl s { font-size: 1.1rem; } .price-xl em { font-size: .9rem; padding: 3px 10px; border-radius: 999px; background: #FDECEC; }
.stockline { font-size: .84rem; font-weight: 600; }
.stockline.in { color: var(--green); } .stockline.low { color: var(--amber); } .stockline.out { color: var(--muted); }
.stockline::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: currentColor; margin-right: 7px; }
.stockline.low::before { animation: ping 1.6s ease-out infinite; }

/* Shop */
.coll-hero { position: relative; overflow: hidden; color: #fff; background: var(--navy); padding-block: clamp(34px, 6vw, 70px) clamp(30px, 5vw, 56px); isolation: isolate; }
.coll-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--img) center / cover; transform: scale(1.08); animation: slow-zoom 20s ease-in-out infinite alternate; }
.coll-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(5, 12, 36, .9), rgba(5, 12, 36, .55) 60%, rgba(5, 12, 36, .3)); }
.coll-hero h1 { color: #fff; font-size: clamp(2rem, 4.6vw, 3.4rem); letter-spacing: -.035em; margin-bottom: .25em; animation: rise .9s var(--ease) both; }
.coll-hero p { color: #D6E2FB; max-width: 60ch; margin: 0; animation: rise .9s var(--ease) .12s both; }
.coll-hero .crumbs, .coll-hero .crumbs a { color: #B9C6E4; }
.coll-count { display: inline-block; margin-left: 6px; padding: 2px 10px; border-radius: 999px; background: rgba(255, 255, 255, .14); font-size: .82rem; color: #fff; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; font-size: .84rem; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: inherit; }
.crumbs .ic { width: 12px; height: 12px; opacity: .6; }
.shop-grid { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 32px; align-items: start; }
.shop-filters { display: grid; gap: 4px; position: sticky; top: 150px; }
.filters-head { display: none; }
.shop-filters details { border-bottom: 1px solid var(--line); padding: 2px 0 6px; }
.shop-filters summary { cursor: pointer; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); padding: 12px 0; list-style: none; }
.shop-filters summary::-webkit-details-marker { display: none; }
.shop-filters ul { list-style: none; margin: 0; padding: 0 0 8px; display: grid; gap: 1px; }
.shop-filters li a { display: flex; justify-content: space-between; padding: 6px 10px; margin-inline: -10px; border-radius: 10px; color: var(--text); font-size: .93rem; text-decoration: none; transition: background .2s; }
.shop-filters li a:hover { background: var(--soft); }
.shop-filters li a.on { background: var(--ink); color: #fff; font-weight: 600; }
.shop-filters li a.on span { color: #B9C6E4; }
.shop-filters li a span { color: var(--muted); }
.filter-deals { display: flex; align-items: center; gap: 8px; margin-top: 12px; padding: 11px 14px; border-radius: 12px; border: 1.5px dashed #F0A5A6; color: var(--deal); font-weight: 600; font-size: .92rem; background: #fff; text-decoration: none !important; }
.filter-deals.on { background: var(--deal); color: #fff; border-style: solid; border-color: var(--deal); }
.shop-sort { display: flex; justify-content: flex-end; align-items: center; gap: 8px; margin-bottom: 18px; font-size: .9rem; color: var(--muted); }
.shop-sort select { width: auto; border-radius: 999px; padding-inline: 14px; }
.filter-open { display: none; margin-right: auto; }
.pager { display: flex; justify-content: center; align-items: center; gap: 18px; margin-top: 34px; color: var(--muted); font-size: .92rem; }
.pager a { display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border: 1.5px solid var(--line-2); border-radius: 999px; background: #fff; font-weight: 600; color: var(--ink); }

/* Product page */
.pd { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.pd-gallery { position: sticky; top: 150px; }
.pd-main { position: relative; aspect-ratio: 1; border-radius: 22px; overflow: hidden; background: var(--soft); cursor: zoom-in; }
.pd-main .pimg { transition: transform .35s ease-out, opacity .3s; transform-origin: var(--zx, 50%) var(--zy, 50%); }
.pd-main.zooming .pimg { transform: scale(1.9); }
.pd-main .deal-flag { position: absolute; top: 16px; left: 16px; }
.pd-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.pd-thumbs button { width: 76px; height: 76px; padding: 0; border: 2px solid transparent; border-radius: 14px; overflow: hidden; background: var(--soft); cursor: pointer; transition: border-color .2s, transform .2s; }
.pd-thumbs button:hover { transform: translateY(-2px); }
.pd-thumbs button.on { border-color: var(--ink); }
.pd-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pd-brand { display: flex; gap: 10px; align-items: center; margin: 0 0 8px; font-weight: 600; color: var(--muted); }
.pd-info h1 { font-size: clamp(1.6rem, 2.8vw, 2.3rem); letter-spacing: -.03em; }
.pd-info .lead { font-size: 1rem; }
.pd-info .price { margin: 16px 0 8px; }
.pd-buy { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 22px; }
.pd-buy select { width: 80px; height: 52px; border-radius: 999px; }
.pd-buy .btn { flex: 1; min-width: 150px; }
.pd-perks { list-style: none; margin: 0; padding: 18px; border-radius: var(--radius); background: var(--soft); display: grid; gap: 11px; font-size: .93rem; }
.pd-perks li { display: flex; gap: 10px; align-items: flex-start; }
.pd-perks .ic { color: var(--blue); margin-top: 2px; }
.acc { margin-top: 22px; border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; cursor: pointer; font-weight: 600; color: var(--ink); list-style: none; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary .ic { transition: transform .35s var(--ease); }
.acc details[open] summary .ic { transform: rotate(45deg); }
.acc details > div { padding-bottom: 18px; color: var(--text); animation: rise .5s var(--ease) both; }
.acc details > div p { margin: 0; }
.specs { width: 100%; border-collapse: collapse; font-size: .94rem; }
.specs th, .specs td { text-align: left; padding: 9px 0; border-top: 1px solid var(--line); vertical-align: top; }
.specs tr:first-child th, .specs tr:first-child td { border-top: 0; }
.specs th { width: 38%; color: var(--muted); font-weight: 500; padding-right: 12px; }
.pd-sticky { position: fixed; left: 50%; bottom: 18px; z-index: 60; display: flex; align-items: center; gap: 14px; width: min(760px, 100% - 24px); padding: 10px 10px 10px 12px; border-radius: 999px; background: rgba(255, 255, 255, .94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--line); box-shadow: var(--shadow-lg); transform: translate(-50%, 160%); transition: transform .5s var(--ease); }
.pd-sticky.show { transform: translate(-50%, 0); }
.pd-sticky-img { width: 46px; height: 46px; flex: none; border-radius: 50%; overflow: hidden; background: var(--soft); }
.pd-sticky-name { flex: 1; min-width: 0; display: grid; }
.pd-sticky-name b { font-size: .9rem; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pd-sticky-name .price b { font-size: 1rem; }
.pd-sticky-name .price s, .pd-sticky-name .price em { display: none; }
.pd-sticky form { margin: 0; }
body:has(.pd-sticky.show) .chat-fab { bottom: 96px; }

/* Cart drawer */
.drawer-shade { position: fixed; inset: 0; z-index: 80; background: rgba(5, 12, 36, .45); backdrop-filter: blur(3px); opacity: 0; transition: opacity .35s; }
.drawer-shade.show { opacity: 1; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 81; width: min(440px, 100%); background: #fff; box-shadow: -20px 0 60px rgba(10, 16, 34, .2); transform: translateX(104%); transition: transform .5s var(--ease); display: flex; flex-direction: column; }
.drawer.open { transform: none; }
.drawer-body { display: flex; flex-direction: column; height: 100%; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { margin: 0; font-size: 1.2rem; }
.drawer-head h2 span { margin-left: 6px; font-size: .85rem; font-weight: 500; color: var(--muted); }
.drawer-x { display: grid; place-items: center; width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--soft); color: var(--ink); cursor: pointer; transition: transform .3s var(--ease), background .2s; }
.drawer-x:hover { transform: rotate(90deg); background: var(--line); }
.drawer-empty { flex: 1; display: grid; place-content: center; justify-items: center; gap: 6px; text-align: center; padding: 30px; }
.ship-meter { padding: 14px 22px; background: var(--soft); font-size: .88rem; }
.ship-meter p { margin: 0 0 8px; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.ship-meter p .ic { color: var(--green); }
.ship-meter span { display: block; height: 6px; border-radius: 999px; background: var(--line); overflow: hidden; }
.ship-meter i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--blue), var(--sky)); transition: width .8s var(--ease); }
.drawer-lines { list-style: none; margin: 0; padding: 6px 22px; flex: 1; overflow-y: auto; }
.drawer-lines li { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 14px; align-items: start; padding: 16px 0; border-bottom: 1px solid var(--line); animation: rise .5s var(--ease) both; }
.drawer-thumb { display: block; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--soft); }
.drawer-lines div { display: grid; gap: 3px; font-size: .88rem; }
.drawer-name { color: var(--ink); font-weight: 600; font-size: .93rem; line-height: 1.35; }
.drawer-lines form { margin: 2px 0 0; }
.drawer-lines b { font-size: .95rem; color: var(--ink); }
.drawer-foot { padding: 18px 22px 22px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.drawer-sub { display: flex; justify-content: space-between; margin: 0; font-size: 1.05rem; color: var(--ink); }
.drawer-foot .muted { margin: -6px 0 4px; }
.fly { position: fixed; z-index: 99; border-radius: 14px; overflow: hidden; pointer-events: none; box-shadow: var(--shadow-lg); }
.fly img { width: 100%; height: 100%; object-fit: cover; }

/* Cart, checkout, order */
.cart-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 26px; align-items: start; }
.cart-line { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 18px; padding: 18px; border-top: 1px solid var(--line); align-items: start; }
.cart-line:first-child { border-top: 0; }
.cart-thumb { aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: var(--soft); }
.cart-info { display: grid; gap: 6px; }
.cart-name { font-weight: 600; color: var(--ink); }
.cart-acts { display: flex; gap: 16px; align-items: center; margin-top: 4px; }
.cart-acts form { margin: 0; }
.cart-acts select { width: 76px; height: 38px; border-radius: 999px; }
.cart-total { font-weight: 700; font-size: 1.05rem; color: var(--ink); }
.cart-sum { position: sticky; top: 150px; display: grid; gap: 14px; background: var(--soft); border: 0; }
.cart-sum h2 { margin: 0; font-size: 1.2rem; }
.totals { margin: 0; display: grid; gap: 9px; font-size: .95rem; }
.totals > div { display: flex; justify-content: space-between; gap: 12px; }
.totals dt { color: var(--muted); } .totals dd { margin: 0; font-weight: 600; color: var(--ink); }
.totals-off dt, .totals-off dd { color: var(--green) !important; }
.totals-sum { padding-top: 12px; border-top: 1px solid var(--line-2); }
.totals-sum dt { color: var(--ink); font-weight: 700; } .totals-sum dd { font-size: 1.35rem; font-weight: 800; letter-spacing: -.02em; }
.coupon-box { padding: 12px 0 4px; border-top: 1px solid var(--line-2); }
.coupon-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.coupon-row input { text-transform: uppercase; border-radius: 999px; }
.coupon-on { display: flex; align-items: center; gap: 8px; margin: 0; padding: 10px 14px; border-radius: 12px; background: #E4F7EC; color: #0A5C33; font-size: .9rem; animation: pop .5s var(--ease) both; }
.coupon-on span { flex: 1; }
.secure { display: flex; gap: 6px; align-items: flex-start; justify-content: center; font-size: .8rem; color: var(--muted); margin: 0; text-align: center; }
.checkout-signin { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; padding: 14px 18px; border-radius: 14px; background: var(--soft); }
.checkout-steps { display: grid; gap: 18px; }
.checkout-steps .card + .card { margin-top: 0; }
.step-n { display: inline-grid; place-items: center; width: 30px; height: 30px; margin-right: 10px; border-radius: 50%; background: var(--ink); color: #fff; font-size: .85rem; vertical-align: 2px; }
.choice-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; }
.choice > span { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 15px 16px; border: 1.5px solid var(--line-2); border-radius: 14px; background: #fff; transition: border-color .2s, background .2s, box-shadow .2s; }
.choice b { display: inline-flex; gap: 8px; align-items: center; color: var(--ink); font-weight: 600; }
.choice small { color: var(--green); font-weight: 700; }
.choice input:checked + span { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.choice input:focus-visible + span { outline: 3px solid rgba(18, 87, 224, .35); }
.pickup-box { padding: 14px 16px; border-radius: 14px; background: var(--soft); margin-bottom: 16px; }
.pickup-box p { margin: 4px 0 0; }
.pay-note { display: flex; gap: 10px; align-items: flex-start; margin: 0; }
.pay-note .ic { color: var(--blue); width: 1.5em; height: 1.5em; }
.sum-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.sum-lines li { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px; align-items: center; font-size: .9rem; }
.sum-lines-lg { margin-bottom: 18px; } .sum-lines-lg li { grid-template-columns: 66px minmax(0, 1fr) auto; font-size: .95rem; }
.sum-thumb { position: relative; aspect-ratio: 1; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.sum-thumb .pimg { border-radius: 11px; }
.sum-thumb b { position: absolute; top: -7px; right: -7px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--ink); color: #fff; font: 700 .72rem/20px var(--font); text-align: center; }
.sum-name { color: var(--ink); font-weight: 500; line-height: 1.3; }
.sub { display: block; font-size: .8rem; color: var(--muted); font-weight: 400; }
.order-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; margin-bottom: 16px; }
.order-head h1 { margin-bottom: .2em; } .order-head p { margin: 0; }
.order-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 18px; align-items: start; margin-bottom: 22px; }
.order-grid .card + .card { margin-top: 0; }
.osteps { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; list-style: none; padding: 22px 10px; margin: 0 0 18px; background: var(--soft); border-radius: var(--radius); }
.osteps li { position: relative; display: grid; justify-items: center; gap: 8px; text-align: center; font-size: .84rem; color: var(--muted); }
.osteps li::before { content: ""; position: absolute; top: 15px; left: -50%; width: 100%; height: 3px; background: var(--line-2); }
.osteps li:first-child::before { display: none; }
.osteps li.done::before { background: var(--green); }
.osteps span { position: relative; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #fff; border: 3px solid var(--line-2); font-weight: 700; }
.osteps .done span { background: var(--green); border-color: var(--green); color: #fff; }
.osteps .cur span { animation: pop .6s var(--ease) both; box-shadow: 0 0 0 6px rgba(14, 159, 87, .15); }
.osteps .done b { color: var(--ink); }
.track-box { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; flex-wrap: wrap; }
.track-box > .ic { width: 30px; height: 30px; color: var(--blue); }
.track-box div { flex: 1; display: grid; }
.quote-box { text-align: center; margin-bottom: 18px; border: 2px solid var(--ink); }
.quote-amt { display: block; font-size: 2.6rem; font-weight: 800; letter-spacing: -.03em; color: var(--ink); margin-bottom: 8px; }
.quote-acts { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.quote-box .hint { justify-content: center; }
.quote-note { padding: 10px 14px; border-left: 4px solid var(--blue); background: var(--blue-50); border-radius: 8px; }

/* Forms */
.field { display: grid; gap: 6px; align-content: start; font-size: .9rem; margin: 0; }
.field > span { font-weight: 600; color: var(--ink); }
.field > span i { font-weight: 400; font-style: normal; color: var(--muted); }
input[type=text], input[type=email], input[type=tel], input[type=password], input[type=number], input[type=search], input[type=date], input:not([type]), select, textarea {
  width: 100%; min-height: 46px; padding: 10px 14px; border: 1.5px solid var(--line-2); border-radius: 12px; background: #fff; color: var(--ink); font: 1rem var(--font); transition: border-color .2s, box-shadow .2s; }
textarea { resize: vertical; line-height: 1.5; }
input[type=file] { font: .9rem var(--font); padding: 12px; border: 1.5px dashed var(--line-2); border-radius: 12px; width: 100%; background: var(--soft); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(10, 16, 34, .08); }
input[readonly] { background: var(--soft); color: var(--muted); }
.has-err input, .has-err select, .has-err textarea { border-color: var(--red); }
.field-err { color: var(--red); font-weight: 600; font-size: .84rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 18px; }
.form-grid-3 { grid-template-columns: repeat(3, 1fr); }
.field-wide { grid-column: 1 / -1; }
.field-pair { display: grid; grid-template-columns: 1fr 1.2fr; gap: 12px; }
.form-stack { display: grid; gap: 16px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .93rem; cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--ink); flex: none; }
form.card h2 + .muted { margin-top: -6px; }
form.card .check { margin-bottom: 12px; }

/* Request pages */
.page-hero-svc { padding-bottom: clamp(40px, 6vw, 70px); }
.req-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 26px; align-items: start; }
.req-side { display: grid; gap: 18px; position: sticky; top: 150px; }
.req-side .card + .card { margin-top: 0; }
.req-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.req-steps li { display: flex; gap: 14px; }
.req-steps li > span { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 700; }
.req-steps p { margin: 2px 0 0; color: var(--muted); font-size: .9rem; }
.req-help { display: flex; gap: 14px; align-items: flex-start; }
.req-help > .ic { width: 28px; height: 28px; color: var(--blue); }
.req-help p { margin: 2px 0 0; }
.contact-card p { display: flex; gap: 10px; align-items: flex-start; }
.contact-card .ic { color: var(--blue); margin-top: 3px; }
.prose-cards { display: grid; gap: 18px; }
.prose-cards .card + .card { margin-top: 0; }
.faq-group { margin: 30px 0 12px; }
.faq { border: 0; box-shadow: none; background: transparent; border-top: 1px solid var(--line); border-radius: 0; }
.faq details { border-bottom: 1px solid var(--line); padding: 0 4px; }
.faq summary { display: flex; justify-content: space-between; gap: 12px; padding: 18px 0; cursor: pointer; font-weight: 600; color: var(--ink); list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { color: var(--ink); transition: transform .35s var(--ease); }
.faq details[open] summary .ic { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 8px; animation: rise .5s var(--ease) both; }
.faq + .req-help { margin-top: 30px; }

/* Sign in */
.auth { background: var(--soft); min-height: 60vh; }
.auth-box { width: min(480px, 100% - 32px); }
.auth .card { box-shadow: var(--shadow); animation: rise .7s var(--ease) both; }
.auth-links { margin: 14px 0 0; text-align: center; font-size: .92rem; }
.auth-alt { margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--line); text-align: center; }
.fix-email { margin: 18px 0; text-align: left; }
.fix-email summary { cursor: pointer; color: var(--blue); text-align: center; margin-bottom: 12px; }

/* Customer account */
.dash-grid { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 28px; align-items: start; }
.dash-side { position: sticky; top: 150px; background: var(--soft); border-radius: var(--radius); padding: 14px; }
.dash-hello { font-weight: 700; font-size: 1.05rem; color: var(--ink); margin: 4px 8px 10px; }
.dash-nav { display: grid; gap: 2px; }
.dash-nav a, .dash-nav button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border: 0; border-radius: 12px; background: none; color: var(--text); font: 500 .94rem var(--font); cursor: pointer; text-decoration: none; text-align: left; transition: background .2s; }
.dash-nav a:hover, .dash-nav button:hover { background: #fff; }
.dash-nav a.active { background: var(--ink); color: #fff; }
.dash-nav form { margin: 6px 0 0; padding-top: 6px; border-top: 1px solid var(--line-2); }
.nav-count { margin-left: auto; min-width: 22px; height: 22px; padding: 0 7px; border-radius: 999px; background: var(--deal); color: #fff; font-size: .75rem; font-weight: 700; line-height: 22px; text-align: center; }
.dash-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.olist { display: grid; gap: 10px; }
.olist .card + .card { margin-top: 0; }
.orow { display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto; gap: 14px; align-items: center; padding: 16px 18px; color: var(--text); text-decoration: none !important; transition: border-color .2s, transform .2s; }
.orow:hover { border-color: var(--ink); }
.orow > div { display: grid; gap: 2px; min-width: 0; }
.orow > div b { color: var(--ink); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.orow > div span { font-size: .86rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.orow-total { min-width: 70px; text-align: right; }
.orow.unread > div b { font-weight: 800; } .orow.unread { border-color: var(--blue); }
.orow-flat { border-top: 1px solid var(--line); } .orow-flat:first-child { border-top: 0; } .orow-flat:hover { background: var(--soft); }
.conv { overflow: hidden; }
.conv-title { font-size: 1.2rem; padding: 18px 20px; margin: 0; border-bottom: 1px solid var(--line); }
.conv-msgs { display: flex; flex-direction: column; gap: 10px; padding: 18px 20px; background: var(--soft); max-height: 560px; overflow-y: auto; }
.conv-reply { display: grid; gap: 10px; justify-items: end; padding: 14px 20px 18px; border-top: 1px solid var(--line); }

/* Footer */
.site-footer { background: #050B1E; color: #AAB5CC; padding-top: 52px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
.footer-logo { display: inline-block; padding: 10px 14px; border-radius: 16px; background: #fff; }
.footer-logo img { width: 200px; height: auto; }
.site-footer h3 { color: #fff; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.site-footer a { color: #AAB5CC; transition: color .2s; }
.site-footer a:hover { color: #fff; text-decoration: none; }
.footer-about p { margin: 12px 0 0; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; margin-top: 40px; padding-block: 20px 28px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .84rem; }
.footer-bottom small { flex-basis: 100%; opacity: .65; font-size: .76rem; }
.confirm { border: 0; border-radius: 20px; padding: 26px; width: min(420px, 100% - 32px); box-shadow: var(--shadow-lg); }
.confirm[open] { animation: pop .4s var(--ease) both; }
.confirm::backdrop { background: rgba(5, 12, 36, .5); backdrop-filter: blur(3px); }
.confirm h2 { font-size: 1.15rem; }
.confirm p { color: var(--muted); }
.confirm-acts { display: flex; justify-content: flex-end; gap: 8px; }


/* Pop-up campaigns (includes/campaigns.php), in the style of the LamazonLoads pop-up: the campaign's picture on one side
   (whole, over a blurred copy of itself), its words, numbers and form on the other; several campaigns take turns with Next */
.cpop { position: fixed; inset: 0; z-index: 85; display: grid; place-items: center; padding: 20px; visibility: hidden; }
.cpop.open { visibility: visible; }
.cpop-backdrop { position: absolute; inset: 0; background: rgba(5, 12, 36, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .4s; }
.cpop.open .cpop-backdrop { opacity: 1; }
.cpop-panel { position: relative; width: min(880px, 100%); max-height: calc(100vh - 40px); overflow: hidden; border-radius: 26px; background: #fff; box-shadow: 0 40px 120px rgba(5, 12, 36, .45);
  opacity: 0; transform: translateY(30px) scale(.96); transition: opacity .45s var(--ease), transform .6s var(--ease); display: grid; }
.cpop.open .cpop-panel { opacity: 1; transform: none; }
.cpop-x { position: absolute; top: 14px; right: 14px; z-index: 3; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--ink); cursor: pointer; box-shadow: var(--shadow); transition: transform .3s var(--ease); }
.cpop-x:hover { transform: rotate(90deg); }
.cslide { grid-area: 1 / 1; display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); min-height: 520px; opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility 0s .5s; }
.cslide.on { opacity: 1; visibility: visible; transition: opacity .5s var(--ease); }
.cslide.no-img { grid-template-columns: 1fr; }
.c-side { position: relative; overflow: hidden; background: var(--navy); }
.c-side .c-bg { position: absolute; inset: -20px; width: calc(100% + 40px); height: calc(100% + 40px); object-fit: cover; filter: blur(22px) saturate(1.2); opacity: .7; }
.c-side .c-fg { position: relative; width: 100%; height: 100%; object-fit: cover; }
.cslide.on .c-side .c-fg { animation: kenburns 14s ease-out both; }
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
.c-badge { position: absolute; left: 18px; top: 18px; z-index: 1; display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, .95); color: var(--ink); font-size: .8rem; font-weight: 700; box-shadow: var(--shadow); }
.c-badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--deal); animation: ping-red 1.6s ease-out infinite; }
@keyframes ping-red { 0% { box-shadow: 0 0 0 0 rgba(229, 56, 59, .55); } 80%, 100% { box-shadow: 0 0 0 8px rgba(229, 56, 59, 0); } }
.c-main { position: relative; display: flex; flex-direction: column; padding: 30px 34px 22px; overflow-y: auto; max-height: calc(100vh - 40px); }
.c-nav { display: flex; align-items: center; gap: 10px; margin: -6px 52px 18px 0; white-space: nowrap; padding-bottom: 14px; border-bottom: 1px solid var(--line); font-size: .82rem; color: var(--muted); }
.c-nav button { border: 0; background: none; cursor: pointer; color: var(--ink); font: inherit; }
.c-prev { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--soft) !important; }
.c-dots { display: flex; gap: 6px; }
.c-dots button { width: 8px; height: 8px; padding: 0; border-radius: 999px; background: var(--line-2) !important; transition: width .35s var(--ease), background .3s; }
.c-dots button.on { width: 22px; background: var(--ink) !important; }
.c-next { margin-left: auto; min-width: 0; max-width: 230px; display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px !important; border-radius: 999px; background: var(--ink) !important; color: #fff !important; font-weight: 600 !important; position: relative; }
.c-next::before { content: ""; position: absolute; inset: -4px; border-radius: 999px; border: 2px solid var(--ink); opacity: 0; animation: ring 2.4s ease-out 1.5s infinite; }
@keyframes ring { 0% { opacity: .5; transform: scale(.9); } 80%, 100% { opacity: 0; transform: scale(1.25); } }
.c-next span { overflow: hidden; text-overflow: ellipsis; }
.c-kicker { margin: 0 0 8px; font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.c-h { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.08; margin: 0 0 10px; }
.c-h em { font-style: normal; background: linear-gradient(90deg, var(--blue), var(--sky)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.c-sub { color: var(--muted); margin: 0 0 16px; }
.c-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; list-style: none; margin: 0 0 18px; padding: 0; }
.c-facts li { display: grid; gap: 1px; padding: 10px 12px; border-radius: 14px; background: var(--soft); }
.c-facts b { font-size: 1.15rem; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.c-facts span { font-size: .76rem; color: var(--muted); }
.c-form { display: grid; gap: 10px; }
.c-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.c-grid .c-full { grid-column: 1 / -1; }
.c-form input, .c-form select { min-height: 48px; border-radius: 14px; }
.c-err { margin: 0; color: var(--red); font-size: .88rem; font-weight: 600; }
.c-fine { margin: 12px 0 0; font-size: .74rem; color: var(--muted); }
.c-skip { align-self: center; margin-top: 8px; border: 0; background: none; color: var(--muted); font: .86rem var(--font); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.c-done { display: grid; gap: 12px; justify-items: center; text-align: center; padding-top: 10px; animation: rise .6s var(--ease) both; }
.c-check { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #E4F7EC; color: var(--green); font-size: 1.8rem; animation: pop .6s var(--ease) both; }
.c-code { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border: 2px dashed var(--ink); border-radius: 16px; background: var(--soft); font: 800 1.6rem ui-monospace, Menlo, Consolas, monospace; letter-spacing: .12em; color: var(--ink); cursor: pointer; transition: background .2s; }
.c-code:hover { background: var(--blue-50); }
.c-code small { font: 600 .72rem var(--font); letter-spacing: 0; color: var(--muted); }
.c-done .btn { width: 100%; }
/* the little tab that brings the offers back after they're closed */
.ctab { position: fixed; left: 18px; bottom: 18px; z-index: 69; display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px 12px 14px; border: 0; border-radius: 999px; background: var(--ink); color: #fff; font: 600 .9rem var(--font); cursor: pointer; box-shadow: 0 14px 34px rgba(10, 16, 34, .3); animation: tab-in .7s var(--ease) both; transition: transform .25s var(--ease); }
.ctab:hover { transform: translateY(-3px); }
.ctab .ic { color: #FFD166; }
.ctab::after { content: ""; position: absolute; inset: -3px; border-radius: 999px; border: 2px solid var(--ink); animation: ring 2.6s ease-out 1s infinite; }
@keyframes tab-in { from { opacity: 0; transform: translateX(-30px); } to { opacity: 1; transform: none; } }
body:has(.cpop.open) { overflow: hidden; }
.chat { --c-bg: #fff; --c-2: #F3F6FC; --c-line: #E1E7F0; --c-text: var(--text); --c-mute: var(--muted); --c-me: var(--blue); }
.chat-fab { position: fixed; right: 20px; bottom: 20px; z-index: 70; display: inline-flex; align-items: center; gap: 8px; height: 52px; padding: 0 22px 0 18px; border: 0; border-radius: 999px;
  background: linear-gradient(135deg, #2F7BFF, #1550D0); color: #fff; font: 700 15px var(--font); cursor: pointer; box-shadow: 0 10px 28px rgba(21, 80, 208, .4); transition: transform .15s, box-shadow .15s; }
.chat-fab:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(21, 80, 208, .45); }
.chat-fab:focus-visible { outline: none; box-shadow: 0 0 0 4px rgba(30, 99, 233, .35); }
.chat-fab .ic { width: 22px; height: 22px; }
.chat-dot { position: absolute; top: -5px; right: -5px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: #E5383B; color: #fff; font: 800 12px/22px var(--font); text-align: center; box-shadow: 0 0 0 2px #fff; }
.chat-dot[hidden] { display: none; }
.chat-panel { position: fixed; right: 20px; bottom: 84px; z-index: 71; width: 380px; max-width: calc(100vw - 32px); height: 540px; max-height: calc(100vh - 108px);
  display: flex; flex-direction: column; background: var(--c-bg); color: var(--c-text); border: 1px solid var(--c-line); border-radius: 18px; overflow: hidden; box-shadow: 0 24px 60px rgba(10, 36, 99, .28); }
.chat-panel[hidden] { display: none; }
.chat-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px; background: linear-gradient(135deg, var(--navy), #123A9C); color: #fff; }
.chat-title { display: grid; gap: 2px; min-width: 0; }
.chat-title b { font-family: var(--display); font-size: 16px; }
.chat-status { font-size: 12.5px; color: #C9D6F5; display: inline-flex; align-items: center; gap: 6px; }
.chat-status.on { color: #8CF0B8; }
.chat-status.on::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #3DDC84; box-shadow: 0 0 0 3px rgba(61, 220, 132, .25); }
.chat-acts { display: flex; align-items: center; gap: 6px; }
.chat-x, .chat-end { height: 32px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .08); color: #fff; cursor: pointer; font: 600 12.5px var(--font); }
.chat-x { width: 32px; flex: none; font-size: 14px; }
.chat-end { padding: 0 10px; }
.chat-x:hover, .chat-end:hover { background: rgba(255, 255, 255, .18); }
.chat-end[hidden] { display: none; }
.chat-msgs { flex: 1; overflow-y: auto; padding: 14px 14px 6px; display: flex; flex-direction: column; gap: 10px; background: #FAFBFE; }
.cm { max-width: 85%; display: grid; gap: 3px; }
.cm p { margin: 0; padding: 9px 13px; border-radius: 16px; font-size: 14px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.cm small { font-size: 11px; color: var(--muted); padding: 0 4px; font-variant-numeric: tabular-nums; }
.cm-them { align-self: flex-start; }
.cm-them p { background: #fff; color: var(--text); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.cm-me { align-self: flex-end; text-align: right; }
.cm-me p { background: var(--blue); color: #fff; border-bottom-right-radius: 4px; text-align: left; }
.cm-hi .chat-help { font-size: 12.5px; color: var(--blue); padding: 0 4px; text-decoration: underline; }
.cm-receipt { display: block; font-size: 11px; color: var(--muted); }
.cm-receipt.seen { color: var(--blue); font-weight: 600; }
.chat-form { display: grid; gap: 8px; padding: 10px 12px 12px; border-top: 1px solid var(--c-line); background: #fff; }
.chat-form[hidden] { display: none; }
.chat-who { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.chat-form input, .chat-form textarea, .chat-rate textarea { width: 100%; padding: 9px 11px; border-radius: 10px; border: 1.5px solid var(--c-line); background: #fff; color: var(--text); font: 14px var(--font); resize: none; }
.chat-form input:focus, .chat-form textarea:focus, .chat-rate textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(30, 99, 233, .15); }
.chat-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: end; }
.chat-send { height: 44px; padding: 0 18px; }
.chat-err { margin: 0; font-size: 13px; color: var(--red); }
.chat-err[hidden] { display: none; }
.chat .hp { position: absolute; left: -9999px; }
.chat-typing, .cs-typing { margin: 0; font-size: 12.5px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.chat-typing { padding: 4px 16px 8px; background: #FAFBFE; }
.cs-typing { padding: 0 18px 8px; }
.chat-typing[hidden], .cs-typing[hidden] { display: none; }
.dots { display: inline-flex; gap: 3px; }
.dots i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; opacity: .35; animation: chat-dot 1.2s infinite; }
.dots i:nth-child(2) { animation-delay: .2s; }
.dots i:nth-child(3) { animation-delay: .4s; }
@keyframes chat-dot { 0%, 60%, 100% { opacity: .35; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
.chat-rate { display: grid; gap: 10px; padding: 16px; border-top: 1px solid var(--c-line); text-align: center; justify-items: center; background: #fff; }
.chat-rate b { font-size: 15px; color: var(--ink); }
.chat-rate-note { margin: 0; font-size: 12.5px; color: var(--muted); }
.chat-stars { display: flex; gap: 4px; }
.chat-stars button { width: 40px; height: 40px; border: 0; background: none; font-size: 30px; line-height: 1; color: #D5DDEA; cursor: pointer; transition: transform .1s; }
.chat-stars button.on { color: #F5B301; }
.chat-stars button:hover { transform: scale(1.12); }
.chat-stars button:focus-visible { outline: 2px solid var(--blue); border-radius: 8px; }
.chat-rate-row { display: flex; gap: 8px; justify-content: center; }
.chat-rate .btn { height: 42px; padding: 0 18px; font-size: .95rem; }
.chat-rate .btn:disabled { opacity: .45; cursor: default; transform: none; }
.chat-hint { position: fixed; right: 20px; bottom: 84px; z-index: 69; display: flex; align-items: flex-start; gap: 4px; max-width: 260px; padding: 4px; border-radius: 14px;
  background: #fff; color: var(--text); border: 1px solid var(--line); box-shadow: 0 14px 34px rgba(10, 36, 99, .2); animation: chat-hint-in .35s ease-out both; }
.chat-hint::after { content: ""; position: absolute; right: 30px; bottom: -7px; width: 12px; height: 12px; background: #fff; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transform: rotate(45deg); }
.chat-hint-body { display: grid; gap: 2px; padding: 8px 4px 8px 10px; border: 0; background: none; color: inherit; text-align: left; cursor: pointer; font-family: var(--font); }
.chat-hint-body b { font-size: 14px; color: var(--ink); }
.chat-hint-body span { font-size: 12.5px; color: var(--muted); line-height: 1.4; }
.chat-hint-body:hover b { color: var(--blue); }
.chat-hint-x { flex: none; width: 26px; height: 26px; border: 0; border-radius: 8px; background: none; color: var(--muted); cursor: pointer; font-size: 12px; }
.chat-hint-x:hover { background: var(--blue-50); color: var(--ink); }
@keyframes chat-hint-in { from { opacity: 0; transform: translateY(8px) scale(.97); } to { opacity: 1; transform: none; } }
@media (max-width: 560px) {
  .chat-fab span { display: none; }
  .chat-fab { padding: 0; width: 54px; justify-content: center; right: 14px; bottom: 14px; }
  .chat-panel { right: 8px; left: 8px; bottom: 78px; width: auto; max-width: none; height: min(560px, calc(100vh - 96px)); }
  .chat-hint { right: 14px; bottom: 78px; }
  .chat-hint::after { right: 22px; }
  .chat-who { grid-template-columns: 1fr; }
  /* Short sign-in pages: the button sits at the end of the page instead of over the form */
  body.page-auth .chat { display: flex; justify-content: center; padding: 8px 16px 28px; }
  body.page-auth .chat-fab { position: static; width: auto; padding: 0 20px 0 16px; height: 46px; box-shadow: none; }
  body.page-auth .chat-fab span { display: inline; }
  body:not(.page-auth):has(.chat-fab) .site-footer { padding-bottom: 72px; }
}

.cs-wrap { display: grid; grid-template-columns: 310px minmax(0, 1fr); gap: 18px; align-items: start; }
.cs-list { overflow: hidden; }
.cs-row { display: grid; grid-template-columns: 36px minmax(0, 1fr) 72px; gap: 12px; align-items: center; padding: 12px 14px; border-top: 1px solid var(--line); color: var(--text); text-decoration: none !important; }
.cs-row:first-child { border-top: 0; }
.cs-row:nth-child(even) { background: #FAFBFE; }
.cs-row:hover { background: var(--blue-50); }
.cs-row.cur { background: var(--blue-50); box-shadow: inset 3px 0 0 var(--blue); }
.cs-avatar { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--blue), var(--navy)); color: #fff; font-weight: 700; font-size: .8rem; }
.cs-main { min-width: 0; display: grid; gap: 2px; }
.cs-main b { font-size: .92rem; font-weight: 600; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cs-main span { font-size: .8rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cs-row.unread .cs-main b { font-weight: 800; }
.cs-row.unread .cs-main span { color: var(--text); }
.cs-when { display: grid; gap: 4px; justify-items: start; font-size: .75rem; color: var(--muted); font-variant-numeric: tabular-nums; padding-left: 10px; border-left: 1px solid var(--line); }
.cs-count { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: #E5383B; color: #fff; font-size: .72rem; line-height: 20px; text-align: center; }
.cs-stars { color: #F5B301; letter-spacing: 1px; font-size: .78rem; }
.cs-empty { margin: 0; padding: 22px 18px; color: var(--muted); font-size: .92rem; }
.cs-conv { overflow: hidden; display: flex; flex-direction: column; min-height: 440px; }
.cs-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.cs-back { display: none; font-size: .88rem; flex-basis: 100%; }
.cs-who { display: grid; gap: 4px; min-width: 0; }
.cs-who b { font-size: 1.05rem; color: var(--ink); }
.cs-who > span { font-size: .82rem; color: var(--muted); overflow-wrap: anywhere; }
.cs-here i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--green); margin-right: 5px; vertical-align: 0; }
.cs-here[hidden] { display: none; }
.cs-acts { display: flex; gap: 6px; }
.cs-acts form { margin: 0; }
.cs-ended { display: flex; flex-wrap: wrap; gap: 6px 14px; padding: 10px 18px; background: #FFF9E8; border-bottom: 1px solid #F4E4B0; font-size: .85rem; color: var(--text); }
.cs-msgs { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 16px 18px; max-height: 520px; overflow-y: auto; background: #FAFBFE; }
.cs-msgs .cm { max-width: 75%; }
.cs-reply { display: grid; gap: 8px; padding: 12px 18px 16px; border-top: 1px solid var(--line); }
.cs-reply textarea { min-height: 84px; resize: vertical; }
.cs-send { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.cs-note { font-size: .82rem; }
@media (max-width: 1100px) {
  .cs-wrap { grid-template-columns: 1fr; }
  .cs-wrap.has-thread .cs-list { display: none; }
  .cs-wrap:not(.has-thread) .cs-conv { display: none; }
  .cs-back { display: block; }
  .cs-msgs .cm { max-width: 88%; }
}

/* Admin */
.admin-page { background: #F1F4F9; }
.adm-top { position: sticky; top: 0; z-index: 60; display: flex; align-items: center; gap: 14px; height: 56px; padding: 0 18px; background: var(--navy); color: #fff; }
.adm-brand { display: flex; align-items: baseline; gap: 8px; color: #fff; text-decoration: none !important; }
.adm-brand b { font: 900 1.2rem var(--display); letter-spacing: .02em; } .adm-brand span { font-size: .78rem; color: #8FD3FF; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; }
.adm-top-right { margin-left: auto; display: flex; gap: 18px; align-items: center; }
.adm-top-right a, .adm-top-right .linkish { color: #D6E2FB; display: inline-flex; gap: 6px; align-items: center; font-size: .9rem; }
.adm-top-right form { margin: 0; }
.adm-burger { display: none; border: 0; background: none; color: #fff; font-size: 1.4rem; cursor: pointer; padding: 6px; }
.adm { display: grid; grid-template-columns: 240px minmax(0, 1fr); min-height: calc(100vh - 56px); background: linear-gradient(90deg, #fff 240px, transparent 240px); }
.adm-side { background: #fff; border-right: 1px solid var(--line); padding: 14px 12px 30px; position: sticky; top: 56px; height: calc(100vh - 56px); overflow-y: auto; }
.adm-group { margin: 16px 12px 6px; font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #8A96AD; }
.adm-side a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; color: var(--text); font-weight: 600; font-size: .93rem; text-decoration: none; }
.adm-side a:hover { background: var(--blue-50); }
.adm-side a.active { background: var(--blue); color: #fff; }
.adm-side a.active .nav-count { box-shadow: 0 0 0 2px #fff; }
.adm-main { padding: clamp(16px, 3vw, 30px); min-width: 0; max-width: 1300px; }
.adm-main > * + * { margin-top: 18px; }
.adm-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.adm-head h1 { font-size: 1.6rem; margin: 0 0 4px; }
.adm-head p { margin: 0; color: var(--muted); max-width: 70ch; }
.adm-head-acts { display: flex; gap: 8px; flex-wrap: wrap; } .adm-head-acts form { margin: 0; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }
.kpis-3 { grid-template-columns: repeat(3, 1fr); }
.kpis .card + .card { margin-top: 0; }
.kpi { display: grid; gap: 4px; padding: 18px; color: var(--text); text-decoration: none !important; }
a.kpi:hover { border-color: #B9CDF5; }
.kpi-label { font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.kpi-num { font: 800 1.8rem var(--display); color: var(--ink); }
.kpi-text { font-size: 1.3rem; }
.kpi small { color: var(--muted); font-size: .84rem; }
.kpi-hot { border-color: #F0C36D; background: #FFFBF0; }
.panel { overflow: hidden; }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.panel-head h2 { font-size: 1.02rem; margin: 0; }
.panel-body { padding: 20px; }
.panel-body > :last-child { margin-bottom: 0; }
.panel-body h3 { margin-top: 1.2em; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.panel-body textarea + .btn { margin-top: 10px; }
.panel-empty { margin: 0; padding: 26px 20px; color: var(--muted); }
.adm-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.adm-cols-wide { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); }
.adm-cols > div { display: grid; gap: 18px; min-width: 0; }
.adm-cols .card + .card { margin-top: 0; }
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.table th { text-align: left; padding: 11px 16px; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: #F7F9FD; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 12px 16px; border-top: 1px solid var(--line); vertical-align: middle; }
.table tbody tr:first-child td { border-top: 0; }
.table tbody tr:hover { background: #FAFBFE; }
.table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.td-thumb { width: 64px; } .td-thumb a { display: block; width: 48px; height: 48px; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); }
.filters { display: flex; gap: 4px; overflow-x: auto; border-bottom: 1px solid var(--line); scrollbar-width: none; }
.filters a { flex: none; padding: 10px 14px; color: var(--muted); font-weight: 700; font-size: .92rem; border-bottom: 3px solid transparent; text-decoration: none; }
.filters a:hover { color: var(--ink); }
.filters a.on { color: var(--blue); border-bottom-color: var(--blue); }
.filters a span { display: inline-block; min-width: 22px; padding: 0 6px; border-radius: 999px; background: #E8EDF5; color: var(--text); font-size: .76rem; text-align: center; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chips a { padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--text); font-size: .86rem; font-weight: 600; text-decoration: none; }
.chips a.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.adm-search { display: flex; gap: 8px; max-width: 560px; }
.todo { list-style: none; margin: 0; padding: 0; }
.todo li { display: flex; gap: 12px; align-items: center; padding: 14px 20px; border-top: 1px solid var(--line); }
.todo li:first-child { border-top: 0; }
.todo .ic { color: var(--amber); width: 22px; height: 22px; }
.todo div { flex: 1; display: grid; } .todo span { color: var(--muted); font-size: .9rem; }
.mini-list { list-style: none; margin: 0; padding: 6px 20px 12px; }
.mini-list li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); font-size: .92rem; }
.mini-list li:first-child { border-top: 0; }
.bars { display: grid; grid-template-columns: repeat(14, 1fr); gap: 6px; align-items: end; height: 180px; padding: 20px 20px 14px; }
.bar { display: grid; grid-template-rows: 1fr auto; gap: 6px; height: 100%; justify-items: center; align-items: end; font-size: .72rem; color: var(--muted); }
.bar i { display: block; width: 100%; max-width: 30px; border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, var(--blue-2), var(--blue)); }
.bar i.zero { background: #E3E9F3; }
.ship-form { display: grid; grid-template-columns: 160px minmax(0, 1fr) auto; gap: 12px; align-items: end; margin-bottom: 14px; }
.more-acts { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line); }
.more-acts summary { cursor: pointer; color: var(--muted); font-weight: 600; font-size: .9rem; margin-bottom: 10px; }
.danger-zone { margin-top: 18px; }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 12px; margin-bottom: 18px; }
.photo-grid figure { margin: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #F7F9FD; }
.photo-grid figure.is-main { border-color: var(--blue); }
.photo-grid img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.photo-grid figcaption { display: flex; justify-content: space-between; gap: 6px; padding: 8px; font-size: .8rem; background: #fff; border-top: 1px solid var(--line); }
.photo-grid-view { margin-top: 16px; } .photo-grid-view a { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.photo-grid-view img { object-fit: cover; }
.cat-rows { padding: 6px 20px 14px; }
.cat-row { display: grid; grid-template-columns: auto minmax(0, 1.4fr) minmax(0, 1fr) 90px auto auto auto; gap: 12px; align-items: end; padding: 12px 0; border-top: 1px solid var(--line); margin: 0; }
.cat-rows .cat-row:first-child { border-top: 0; }
.panel-body.cat-row { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto; border: 0; padding: 20px; }
.cat-n { align-self: center; font-size: .86rem; white-space: nowrap; }
.cat-row .cat-ico { width: 44px; height: 44px; font-size: 1.2rem; border-radius: 12px; }
.msg header { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.msg.is-read { opacity: .75; }
.auto-list { list-style: none; margin: 0; padding: 0; }
.auto-list li { display: flex; gap: 16px; align-items: center; padding: 14px 20px; border-top: 1px solid var(--line); }
.auto-list li:first-child { border-top: 0; }
.auto-list div { flex: 1; display: grid; gap: 2px; } .auto-list div span { color: var(--muted); font-size: .9rem; }
.switch { position: relative; display: inline-block; width: 46px; height: 26px; flex: none; cursor: pointer; }
.switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.switch i { position: absolute; inset: 0; border-radius: 999px; background: #C9D3E3; transition: background .15s; }
.switch i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .15s; }
.switch input:checked + i { background: var(--green); }
.switch input:checked + i::after { transform: translateX(20px); }
.switch input:focus-visible + i { outline: 3px solid rgba(18, 87, 224, .4); }
.code { padding: 12px 14px; border-radius: 10px; background: #0B1733; color: #D6E2FB; font: .86rem Consolas, Menlo, monospace; overflow-x: auto; white-space: pre-wrap; word-break: break-all; }
code { padding: 1px 6px; border-radius: 6px; background: #EEF1F6; font-size: .88em; word-break: break-all; }
.mail-preview { width: 100%; height: 520px; border: 0; background: #F5F7FB; }
.logo-prev { display: inline-flex; padding: 14px 20px; border: 1px dashed var(--line); border-radius: 12px; margin-bottom: 16px; background: #fff; }
.logo-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; max-width: 620px; margin-bottom: 10px; }
.adm-shade { display: none; }

/* Smaller screens */
@media (max-width: 1100px) {
  .pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rail { grid-auto-columns: calc((100% - 2 * 16px) / 3); }
  .cart-grid, .req-grid { grid-template-columns: minmax(0, 1fr) 320px; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .adm-cols, .adm-cols-wide { grid-template-columns: 1fr; }
  .hero-in { grid-template-columns: 1fr minmax(0, 340px); gap: 30px; }
}
@media (max-width: 900px) {
  .container { width: min(1280px, 100% - 32px); }
  .topbar-links { display: none; }
  .header-in { grid-template-columns: auto 1fr; gap: 8px 12px; padding-block: 8px; }
  .header-acts { justify-self: end; }
  .search { grid-column: 1 / -1; grid-row: 2; max-width: none; }
  .search input { height: 44px; }
  .search button { height: 36px; }
  .logo-img, .logo-custom { height: 52px; } .scrolled .logo-img { height: 44px; }
  .scrolled .search { display: none; }
  .hero { min-height: 0; }
  .hero-in, .pd, .order-grid, .cart-grid, .req-grid, .shop-grid, .dash-grid, .band-in, .news-in { grid-template-columns: 1fr; }
  .hero-in { padding-block: 56px 70px; }
  .hero-card { display: none; }
  .hero-shade { background: linear-gradient(0deg, rgba(5, 12, 36, .9), rgba(5, 12, 36, .45)); }
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .svc-grid, .how-grid { grid-template-columns: 1fr; }
  .svc { aspect-ratio: 16 / 9; }
  .svc p { max-height: none; opacity: 1; }
  .pd-gallery, .cart-sum, .dash-side, .req-side { position: static; }
  .shop-filters { position: fixed; inset: 0 auto 0 0; z-index: 82; width: min(330px, 88%); padding: 0 20px 20px; overflow-y: auto; background: #fff; box-shadow: 20px 0 60px rgba(10, 16, 34, .2); transform: translateX(-104%); transition: transform .45s var(--ease); align-content: start; }
  .shop-filters.open { transform: none; }
  .filters-head { display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; z-index: 1; margin: 0 -20px 6px; padding: 16px 20px; background: #fff; border-bottom: 1px solid var(--line); }
  .filter-open { display: inline-flex; }
  .shop-sort { justify-content: space-between; }
  .perks-in { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .dash-nav { grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; }
  .dash-nav form { margin: 0; padding: 0; border: 0; }
  .dash-hello { display: none; }
  .adm { grid-template-columns: 1fr; background: none; }
  .adm-burger { display: block; }
  .adm-side { position: fixed; top: 56px; left: 0; z-index: 55; width: 270px; transform: translateX(-100%); transition: transform .2s; box-shadow: var(--shadow-lg); }
  .adm-open .adm-side { transform: none; }
  .adm-open .adm-shade { display: block; position: fixed; inset: 56px 0 0; z-index: 54; background: rgba(7, 27, 77, .4); }
  .adm-top-right span { display: none; }
  .ship-form, .cat-row, .panel-body.cat-row { grid-template-columns: 1fr 1fr; }
  .form-grid-3 { grid-template-columns: 1fr 1fr; }
  .cslide { grid-template-columns: 1fr; grid-template-rows: auto 1fr; align-content: start; min-height: 0; }
  .cslide.no-img { grid-template-rows: 1fr; }
  .c-side { height: 170px; }
  .c-main { padding: 20px 22px 16px; max-height: calc(100vh - 200px); }
}
@media (max-width: 640px) {
  .pgrid, .pgrid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 10px; }
  .rail { grid-auto-columns: 72%; }
  .rail-nav .rail-btn { display: none; }
  .pcard-body { padding: 10px 2px 2px; }
  .price b { font-size: 1.02rem; }
  .section-head { flex-wrap: wrap; align-items: flex-end; }
  .marquee span { padding: 14px 22px; font-size: .88rem; }
  .stats { grid-template-columns: repeat(3, 1fr); gap: 8px; } .stats > div { padding: 16px 6px; }
  .form-grid, .form-grid-3, .choice-row, .kpis, .kpis-3, .logo-form, .news-form, .c-grid { grid-template-columns: 1fr; }
  .c-facts { grid-template-columns: repeat(3, 1fr); } .c-facts li { padding: 8px; } .c-facts b { font-size: .98rem; }
  .cart-line { grid-template-columns: 76px minmax(0, 1fr); } .cart-total { grid-column: 2; }
  .orow { grid-template-columns: minmax(0, 1fr) auto; } .orow > .ic, .orow-total { display: none; }
  .osteps { padding-inline: 2px; } .osteps li { font-size: .72rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .hact { min-width: 46px; } .hact span { display: none; }
  .order-head { flex-direction: column; }
  .table th, .table td { padding: 10px 12px; }
  .adm-search { flex-wrap: wrap; }
  .pd-sticky { bottom: 10px; border-radius: 20px; }
  .pd-sticky-img { display: none; }
  .ctab { left: 12px; bottom: 12px; }
  .cpop { padding: 10px; align-items: end; }
  .c-side { height: 130px; }
  .c-where { display: none; }
  .c-nav { margin: -4px 0 14px; padding-bottom: 12px; }
  .c-next { max-width: none; }
  .c-h { font-size: 1.55rem; }
  .c-sub { font-size: .92rem; margin-bottom: 12px; }
  .c-facts { display: none; } /* phones: the form and its button stay in view */
  .c-main { max-height: calc(100vh - 160px); }
  .cpop-panel { border-radius: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .bgvid { display: none; }
  .marquee-track { flex-wrap: wrap; width: auto; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}

/* Admin → Pop-up campaigns */
.camp-list { list-style: none; margin: 0; padding: 0; }
.camp { display: grid; grid-template-columns: 44px 72px minmax(0, 1fr) auto auto; gap: 16px; align-items: center; padding: 14px 18px; border-top: 1px solid var(--line); }
.camp:first-child { border-top: 0; }
.camp-order { display: grid; justify-items: center; gap: 2px; }
.camp-order b { font-size: 1.1rem; color: var(--ink); }
.camp-order form { display: flex; gap: 4px; margin: 0; }
.camp-order .linkish { font-size: .75rem; color: var(--muted); }
.camp-order .linkish[disabled] { opacity: .3; cursor: default; }
.camp-img { width: 72px; height: 72px; border-radius: 12px; overflow: hidden; background: var(--soft); }
.camp-img img { width: 100%; height: 100%; object-fit: cover; }
.camp-main { display: grid; gap: 2px; min-width: 0; }
.camp-main b { color: var(--ink); }
.camp-main span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text); font-size: .92rem; }
.camp-stats { display: flex; gap: 16px; font-size: .84rem; color: var(--muted); white-space: nowrap; }
.camp-stats b { display: block; font-size: 1.05rem; color: var(--ink); }
.camp-acts { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; align-items: center; max-width: 340px; }
.camp-acts form { margin: 0; }
.camp-prev { width: 100%; max-height: 280px; object-fit: cover; border-radius: 12px; margin-bottom: 14px; }
.facts-edit { display: grid; grid-template-columns: 1fr 1.6fr; gap: 8px; }
@media (max-width: 1100px) { .camp { grid-template-columns: 44px 60px minmax(0, 1fr); } .camp-stats, .camp-acts { grid-column: 2 / -1; justify-content: flex-start; max-width: none; } }

/* Admin → Suppliers: the vetting checklist */
.vet ul { margin: 0; padding-left: 18px; display: grid; gap: 10px; }
.vet li { color: var(--text); }
/* Dropship and trending on the storefront */
.flag-trend { padding: 4px 10px; border-radius: 999px; font-size: .74rem; font-weight: 700; background: linear-gradient(90deg, #FF6B2C, #E5383B); color: #fff; }
.stockline.drop { color: var(--blue); }
.ship-note { display: flex; gap: 8px; align-items: flex-start; margin: 0; padding: 10px 12px; border-radius: 12px; background: var(--blue-50); color: #153E91; font-size: .86rem; }
.ship-note .ic { margin-top: 2px; }
.ds-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.ds-row:first-child { border-top: 0; padding-top: 0; }
.ds-row .btn-row { grid-column: 1 / -1; }
.ds-track { grid-column: 1 / -1; display: grid; grid-template-columns: 140px minmax(0, 1fr) auto; gap: 8px; align-items: end; margin: 0; }
.profit { display: block; margin-top: 6px; font-size: .86rem; color: var(--green); font-weight: 600; }
