@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --ink: #18241e;
  --muted: #68766e;
  --line: #dce3dc;
  --paper: #f4f6f2;
  --surface: #fff;
  --green: #244e3d;
  --green-dark: #183d2d;
  --green-light: #e4f0e8;
  --lime: #d9ec78;
  --orange: #ec8452;
  --red: #b4443b;
  --shadow: 0 10px 34px rgba(26, 46, 35, .075);
  --radius: 16px;
  --font-body: "DM Sans", "Segoe UI", sans-serif;
  --font-display: "Space Grotesk", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-body); font-size: 15px; line-height: 1.55; }
body, input, button, textarea, select { font-family: var(--font-body); }
button, input, textarea, select { font-size: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3, .brand, .product-title { font-family: var(--font-display); }
h1 { font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.04; letter-spacing: -.055em; }
h2 { font-size: clamp(1.35rem, 2.2vw, 1.85rem); line-height: 1.18; letter-spacing: -.04em; }
h3 { letter-spacing: -.025em; }
::selection { background: var(--lime); color: var(--ink); }
.shell { width: min(1200px, calc(100% - 48px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; clip: rect(0, 0, 0, 0); overflow: hidden; white-space: nowrap; }
.muted-copy { color: var(--muted); }
.heading-count { color: #8b9890; font: 500 .75em var(--font-body); letter-spacing: 0; }

.topline { background: var(--green-dark); color: #d8e5da; font-size: 11px; letter-spacing: .025em; }
.topline-inner { display: flex; min-height: 31px; align-items: center; justify-content: space-between; }
.site-header { position: relative; z-index: 20; background: rgba(255,255,255,.96); box-shadow: 0 1px 0 rgba(30,57,42,.06); }
.header-main { display: grid; grid-template-columns: 230px minmax(260px, 1fr) 185px; gap: 34px; align-items: center; min-height: 90px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--green-dark); font-size: 20px; font-weight: 700; letter-spacing: -.055em; line-height: 1; }
.brand small { display: block; margin-top: 6px; color: #7f8b81; font: 600 8px var(--font-body); letter-spacing: .13em; }
.brand-mark { display: inline-grid; width: 38px; height: 38px; place-items: center; border-radius: 12px 12px 12px 3px; background: var(--lime); color: var(--green-dark); font: 700 22px var(--font-display); }
.searchbar { position: relative; display: flex; align-items: center; min-height: 46px; border: 1px solid #d7dfd8; border-radius: 7px; background: #f8faf7; }
.search-icon { margin: 0 12px 0 15px; color: var(--green); font-size: 24px; line-height: 1; }
.searchbar input { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; color: var(--ink); }
.searchbar input::placeholder { color: #849088; font-size: 13px; }
.searchbar > button { align-self: stretch; margin: 4px; padding: 0 17px; border: 0; border-radius: 5px; background: var(--green); color: white; font-size: 12px; font-weight: 700; transition: background .2s, transform .2s; }
.searchbar > button:hover { transform: translateY(-1px); background: var(--green-dark); }
.suggestions { position: absolute; z-index: 50; top: calc(100% + 5px); left: -1px; right: -1px; overflow: hidden; border: 1px solid var(--line); border-radius: 9px; background: white; box-shadow: var(--shadow); }
.suggestion-item { display: block; width: 100%; padding: 11px 16px; border: 0; border-bottom: 1px solid #edf0ed; background: white; color: var(--ink); text-align: left; }
.suggestion-item:last-child { border-bottom: 0; }
.suggestion-item:hover { background: #f3f7f0; }
.suggestion-item strong, .suggestion-item small { display: block; }
.suggestion-item small { color: var(--muted); font-size: 11px; }
.header-actions { display: flex; justify-content: flex-end; gap: 22px; }
.header-link { position: relative; display: grid; grid-template-columns: 25px auto; gap: 6px; align-items: center; color: #3d4c42; font-size: 12px; font-weight: 600; }
.header-symbol { color: var(--green); font-size: 22px; text-align: center; }
.header-link b, .mobile-bottom-nav b { position: absolute; top: -7px; left: 15px; display: grid; min-width: 16px; height: 16px; padding-inline: 4px; place-items: center; border-radius: 9px; background: var(--lime); color: var(--green-dark); font-size: 9px; }
.category-nav { border-top: 1px solid #f0f1ee; }
.category-nav-inner { display: flex; min-height: 42px; align-items: center; gap: 31px; }
.category-nav a { color: #536057; font-size: 12px; font-weight: 600; transition: color .2s; }
.category-nav a:hover, .category-nav .admin-nav-link { color: var(--green); }
.nav-spacer { flex: 1; }
.category-nav .admin-nav-link { font-size: 11px; }
.page-main { min-height: 65vh; padding-top: 25px; padding-bottom: 72px; }

.flash { position: relative; margin-bottom: 20px; padding: 12px 16px; border: 1px solid transparent; border-radius: 8px; font-size: 13px; }
.flash-success { border-color: #c8e0ce; background: #e9f5eb; color: #245739; }
.flash-info { border-color: #d0dfe6; background: #eef6f8; color: #2c6075; }
.flash-error { border-color: #f0c8bd; background: #fff0ec; color: #903c31; }
.eyebrow { color: var(--green); font-size: 10px; font-weight: 700; letter-spacing: .14em; }
.button { display: inline-flex; min-height: 46px; justify-content: center; align-items: center; gap: 12px; padding: 0 19px; border: 1px solid transparent; border-radius: 6px; font-size: 12px; font-weight: 700; transition: background .2s, border-color .2s, color .2s, transform .2s, box-shadow .2s; }
.button:hover { transform: translateY(-1px); box-shadow: 0 7px 18px rgba(24,61,45,.12); }
.button-dark { background: var(--green); color: #fff; }
.button-dark:hover { background: var(--green-dark); }
.button-light { background: var(--lime); color: var(--green-dark); }
.button-light:hover { background: #e6f39d; }
.button-outline { border-color: #cbd5cc; background: transparent; color: var(--green-dark); }
.button-outline:hover { border-color: var(--green); background: #f4f8f4; }
.button-small { min-height: 36px; padding: 0 12px; font-size: 11px; }
.button-full { width: 100%; }
.button:disabled { cursor: not-allowed; opacity: .5; transform: none; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--green); font-size: 12px; font-weight: 700; }
.text-link:hover { color: var(--green-dark); }
.link-button { border: 0; background: none; color: var(--green); font-size: 12px; font-weight: 700; }
.link-button:hover { text-decoration: underline; }
.danger-link { color: var(--red); }
.panel { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.muted-panel { padding: 30px; color: var(--muted); }

/* Storefront */
.hero { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; min-height: 425px; margin-top: 8px; overflow: hidden; border-radius: 16px; background: var(--green); color: white; }
.hero-copy { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 54px 55px; }
.hero .eyebrow { color: var(--lime); }
.eyebrow-dot { display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: var(--lime); }
.hero h1 { margin: 18px 0 17px; font-size: clamp(2.8rem, 5vw, 4.65rem); }
.hero h1 span { color: var(--lime); }
.hero-copy > p { max-width: 440px; margin-bottom: 22px; color: #d2e0d4; font-size: 14px; line-height: 1.7; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 9px 20px; margin-top: 20px; color: #d4e1d6; font-size: 10px; }
.hero-proof span::first-letter { color: var(--lime); }
.hero-visual { position: relative; min-height: 420px; overflow: hidden; background: linear-gradient(135deg, #315f49, #153a2b 70%); }
.hero-ring { position: absolute; width: 380px; height: 380px; border: 1px solid rgba(217,236,120,.22); border-radius: 50%; }
.ring-one { top: 50%; left: 50%; transform: translate(-47%,-50%); }
.ring-two { top: 50%; left: 50%; width: 285px; height: 285px; transform: translate(-47%,-50%); border-color: rgba(217,236,120,.13); }
.hero-phone { position: absolute; top: 50%; left: 52%; width: 178px; height: 305px; transform: translate(-50%,-50%) rotate(12deg); border: 8px solid #182820; border-radius: 29px; background: linear-gradient(150deg,#b3c4b9,#718679 50%,#c9d4c9); box-shadow: 20px 27px 48px rgba(0,0,0,.34), inset 0 0 0 1px rgba(255,255,255,.28); }
.hero-phone::after { position: absolute; top: 7px; left: 50%; width: 55px; height: 12px; transform: translateX(-50%); border-radius: 0 0 10px 10px; background: #182820; content: ""; }
.hero-phone-camera { position: absolute; top: 22px; left: 18px; width: 54px; height: 54px; border: 6px solid #1d2b23; border-radius: 14px; background: radial-gradient(circle at 50% 50%,#5b7d77 0 10%,#1f342c 12% 22%,#344d40 24% 35%,#16241d 37%); box-shadow: 66px 0 0 -17px #273930, 66px 0 0 -10px #74897e; }
.hero-phone-glow { position: absolute; right: 16px; bottom: 28px; width: 9px; height: 9px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 18px var(--lime); }
.hero-phone-line { position: absolute; top: 144px; left: 23px; width: 105px; height: 4px; border-radius: 3px; background: rgba(246,249,246,.49); }
.hero-phone-line.short { top: 158px; width: 68px; opacity: .65; }
.hero-phone-stamp { position: absolute; right: 19px; bottom: 53px; color: rgba(24,61,45,.8); font: 700 14px/1 var(--font-display); letter-spacing: -.05em; transform: rotate(-4deg); }
.hero-chip { position: absolute; z-index: 1; padding: 11px 14px; border: 1px solid rgba(255,255,255,.14); border-radius: 6px; background: rgba(19,49,36,.72); color: var(--lime); font: 700 11px var(--font-display); box-shadow: 0 10px 24px rgba(0,0,0,.13); }
.hero-chip small { display: block; margin-top: 2px; color: #cfddd1; font: 600 8px var(--font-body); letter-spacing: .11em; }
.chip-one { top: 21%; left: 13%; transform: rotate(-7deg); }
.chip-two { right: 7%; bottom: 21%; transform: rotate(5deg); }
.hero-orbit-dot { position: absolute; top: 17%; right: 19%; width: 10px; height: 10px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 24px var(--lime); }
.benefit-strip { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; margin-top: 13px; border: 1px solid var(--line); border-radius: 10px; background: var(--line); overflow: hidden; }
.benefit-strip > div { display: flex; min-height: 78px; align-items: center; gap: 13px; padding: 13px 19px; background: white; }
.benefit-icon { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 10px; background: var(--green-light); color: var(--green); font: 700 10px var(--font-display); }
.benefit-strip strong, .benefit-strip small { display: block; }
.benefit-strip strong { font-size: 11px; }
.benefit-strip small { margin-top: 2px; color: var(--muted); font-size: 10px; }
.section-block { margin-top: 65px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 22px; }
.section-heading h2 { margin: 5px 0 0; }
.section-heading .text-link { margin-bottom: 4px; }
.category-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 13px; }
.category-tile { position: relative; display: flex; min-height: 175px; flex-direction: column; align-items: flex-start; justify-content: flex-end; padding: 18px 19px; overflow: hidden; border: 1px solid rgba(37,74,55,.08); border-radius: 12px; background: #e3ece5; transition: transform .22s, box-shadow .22s; }
.category-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.category-color-1 { background: #e9e5d9; }
.category-color-2 { background: #e7e8dd; }
.category-color-3 { background: #e2e9e9; }
.category-color-4 { background: #eee2d8; }
.category-number { position: absolute; top: 14px; right: 15px; color: rgba(37,74,55,.38); font: 600 11px var(--font-display); }
.category-symbol { position: absolute; top: 29px; left: 22px; color: var(--green); font: 700 19px var(--font-display); letter-spacing: -.07em; }
.category-tile:nth-child(odd) .category-symbol { color: #994f38; }
.category-tile strong { z-index: 1; font: 700 15px var(--font-display); letter-spacing: -.02em; }
.category-tile small { margin-top: 3px; color: #607267; font-size: 10px; }
.category-tile small span { margin-left: 4px; }
.promo-band { position: relative; display: grid; grid-template-columns: 1fr .6fr; min-height: 270px; margin-top: 62px; overflow: hidden; border-radius: 14px; background: #e6eddf; }
.promo-band > div:first-child { z-index: 2; align-self: center; padding: 36px 48px; }
.promo-band h2 { margin: 10px 0; font-size: clamp(1.7rem,3vw,2.45rem); }
.promo-band p { margin-bottom: 17px; color: #627267; font-size: 12px; }
.promo-band .button { min-height: 41px; }
.promo-art { position: relative; min-height: 270px; overflow: hidden; background: linear-gradient(140deg,#d0dec9,#bad0bc); }
.promo-ring { position: absolute; top: 50%; left: 50%; width: 230px; height: 230px; transform: translate(-50%,-50%); border: 1px solid rgba(36,78,61,.24); border-radius: 50%; box-shadow: 0 0 0 29px rgba(36,78,61,.04),0 0 0 60px rgba(36,78,61,.04); }
.promo-battery { position: absolute; top: 50%; left: 50%; display: grid; width: 76px; height: 125px; transform: translate(-50%,-50%) rotate(13deg); place-items: center; border: 5px solid #334f41; border-radius: 13px; background: linear-gradient(130deg,#f5f1dc,#becba9); color: var(--green); font: 500 35px var(--font-display); box-shadow: 14px 17px 28px rgba(33,59,41,.2); }
.promo-battery::before { position: absolute; top: -12px; left: 25px; width: 17px; height: 8px; border-radius: 4px 4px 0 0; background: #334f41; content: ""; }
.promo-label { position: absolute; right: 12%; bottom: 20%; color: var(--green); font: 700 12px/1.15 var(--font-display); transform: rotate(-9deg); }
.promo-dot { position: absolute; top: 20%; left: 19%; width: 12px; height: 12px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 6px rgba(236,132,82,.13); }
.deal-section { margin-bottom: 12px; }

/* Product listings and product art */
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin: 2px 0 22px; color: #849087; font-size: 10px; }
.breadcrumbs a { color: var(--green); font-weight: 600; }
.listing-intro, .page-title-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin: 8px 0 27px; }
.listing-intro h1, .page-title-row h1 { margin: 5px 0 7px; font-size: clamp(2rem,3.5vw,2.75rem); }
.listing-intro p, .page-title-row p { margin: 0; color: var(--muted); font-size: 12px; }
.result-count { padding: 10px 13px; border: 1px solid var(--line); border-radius: 7px; background: white; color: var(--muted); font-size: 11px; }
.result-count strong { color: var(--green-dark); font: 700 18px var(--font-display); }
.listing-layout { display: grid; grid-template-columns: 230px 1fr; gap: 22px; align-items: start; }
.filter-panel { position: sticky; top: 16px; padding: 18px; border: 1px solid var(--line); border-radius: 10px; background: white; }
.filter-title { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; padding-bottom: 13px; border-bottom: 1px solid #e9ede8; font-size: 13px; }
.filter-title a { color: var(--muted); font-size: 10px; text-decoration: underline; }
.filter-title > div { display: flex; align-items: center; gap: 13px; }
.filter-close { display: none; padding: 0; border: 0; background: none; color: var(--ink); font-size: 23px; line-height: 1; }
.filter-panel select, .filter-panel input:not([type=radio]):not([type=checkbox]):not([type=range]) { width: 100%; min-height: 39px; margin-bottom: 15px; padding: 0 10px; border: 1px solid var(--line); border-radius: 5px; background: #fff; color: var(--ink); font-size: 11px; }
.field-label { display: block; margin-bottom: 6px; color: #38473d; font-size: 11px; font-weight: 700; }
.filter-group { margin: 2px 0 18px; }
.check-line { display: flex; align-items: center; gap: 8px; margin: 7px 0; color: #58655d; font-size: 11px; }
.check-line input { width: 15px; height: 15px; margin: 0; accent-color: var(--green); }
.range-labels { display: flex; justify-content: space-between; margin: 7px 0 3px; color: var(--green); font: 600 10px var(--font-display); }
.range-filter input[type=range] { display: block; width: 100%; height: 17px; margin: 4px 0; accent-color: var(--green); }
.stock-check { margin: 15px 0; padding: 10px 0 0; border-top: 1px solid #e9ede8; }
.listing-toolbar { display: flex; justify-content: flex-end; align-items: center; margin-bottom: 14px; }
.sort-control { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 10px; }
.sort-control select { min-height: 37px; padding: 0 29px 0 11px; border: 1px solid var(--line); border-radius: 6px; background: white; color: var(--ink); font-size: 11px; }
.filter-open { display: none; }
.product-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; }
.product-card { min-width: 0; overflow: hidden; border: 1px solid #e0e6e0; border-radius: 11px; background: white; transition: transform .2s, box-shadow .2s; }
.product-card:hover { transform: translateY(-3px); box-shadow: 0 11px 26px rgba(24,61,45,.1); }
.product-image-link { position: relative; display: block; }
.product-art { position: relative; display: grid; height: 178px; place-items: center; overflow: hidden; background: #e8eee7; }
.product-card:nth-child(4n+2) .product-art { background: #eee9de; }
.product-card:nth-child(4n+3) .product-art { background: #e7ebee; }
.product-card:nth-child(4n+4) .product-art { background: #eee8e3; }
.product-art img { width: 100%; height: 100%; object-fit: cover; }
.art-tag { position: absolute; top: 10px; left: 10px; padding: 4px 7px; border-radius: 3px; background: rgba(255,255,255,.76); color: var(--green); font: 700 8px var(--font-display); letter-spacing: .09em; }
.art-device { position: relative; display: flex; width: 105px; height: 125px; justify-content: center; align-items: center; border: 7px solid #30473c; border-radius: 15px; background: linear-gradient(135deg,#d9e1d9,#acbdb0 64%,#dfe5d9); box-shadow: 12px 16px 26px rgba(32,60,44,.19),inset 2px 3px 7px rgba(255,255,255,.62); transform: rotate(-7deg); transition: transform .3s; }
.product-card:hover .art-device { transform: rotate(-3deg) translateY(-3px); }
.art-device::before { position: absolute; top: 4px; width: 25px; height: 5px; border-radius: 0 0 5px 5px; background: #30473c; content: ""; }
.art-battery-cap { position: absolute; top: 19px; left: 50%; width: 20px; height: 7px; transform: translateX(-50%); border-radius: 4px 4px 0 0; background: #385345; }
.art-battery-bolt { display: grid; width: 48px; height: 66px; place-items: center; border: 2px solid rgba(39,75,55,.54); border-radius: 5px; color: #466a4f; font: 500 25px var(--font-display); }
.art-battery-label { position: absolute; bottom: 13px; color: #586c5e; font: 700 7px var(--font-display); letter-spacing: .08em; }
.art-screen-glint { position: absolute; inset: 10px 9px; border-radius: 6px; background: linear-gradient(137deg,rgba(252,255,251,.68),transparent 43%,rgba(87,140,124,.37)); }
.art-screen-line { position: absolute; bottom: 36px; left: 18px; width: 67px; height: 2px; background: rgba(47,82,63,.38); }
.art-screen-line.short { bottom: 26px; width: 39px; }
.art-flex-line { position: absolute; top: 29px; width: 17px; height: 56px; border: 2px solid #b9813a; border-radius: 3px; background: repeating-linear-gradient(0deg,#d8b75e 0 4px,#a98737 4px 6px); }
.art-flex-chip { position: absolute; top: 76px; width: 37px; height: 18px; border: 2px solid #607651; border-radius: 4px; background: #a6b37a; }
.art-flex-tail { position: absolute; bottom: 18px; width: 10px; height: 20px; border: 2px solid #c09b44; border-top: 0; }
.art-chip-grid { width: 67px; height: 67px; border: 7px solid #455e4a; background: repeating-linear-gradient(90deg,#889a71 0 6px,#596d52 6px 9px),repeating-linear-gradient(0deg,transparent 0 7px,rgba(26,51,35,.3) 7px 9px); box-shadow: 0 0 0 9px rgba(31,63,41,.08); }
.art-chip-center { position: absolute; display: grid; width: 27px; height: 27px; place-items: center; background: #c4ce9c; color: #354c39; font: 700 10px var(--font-display); }
.art-camera .art-device { border-radius: 22px; }
.art-camera .art-screen-glint { inset: 18px; border: 4px solid #2e4335; border-radius: 13px; background: radial-gradient(circle at 50% 50%,#637f71 0 10%,#293d32 12% 20%,#91a494 22% 31%,#344b3b 33% 40%,transparent 42%); }
.product-art-large { height: min(440px,48vw); min-height: 330px; border-radius: 12px; }
.product-art-large .art-device { width: 170px; height: 220px; transform: rotate(-6deg) scale(1.1); }
.product-art-large .art-tag { top: 19px; left: 19px; padding: 6px 9px; }
.discount-tag { position: absolute; right: 10px; bottom: 10px; padding: 5px 7px; border-radius: 4px; background: var(--green); color: white; font-size: 9px; font-weight: 700; }
.product-card-info { padding: 12px 13px 13px; }
.product-eyebrow { color: #78857c; font-size: 9px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.product-eyebrow span { color: #adb6ad; }
.product-title { display: block; margin-top: 6px; overflow: hidden; color: var(--ink); font-size: 13px; font-weight: 600; line-height: 1.28; text-overflow: ellipsis; }
.product-title:hover { color: var(--green); }
.product-model { overflow: hidden; margin-top: 3px; color: var(--muted); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.product-price-row { display: flex; align-items: baseline; gap: 8px; margin-top: 9px; }
.product-price-row strong { color: var(--green-dark); font: 700 17px var(--font-display); }
.product-price-row del { color: #9ca59e; font-size: 10px; }
.quick-add { margin-top: 10px; }
.quick-add .button { width: 100%; }
.empty-state { display: flex; min-height: 270px; flex-direction: column; align-items: center; justify-content: center; padding: 35px 20px; border: 1px dashed #cbd5cb; border-radius: 12px; background: rgba(255,255,255,.56); text-align: center; }
.empty-state-mark { display: grid; width: 44px; height: 44px; margin-bottom: 15px; place-items: center; border-radius: 14px 14px 14px 4px; background: var(--lime); color: var(--green-dark); font: 700 22px var(--font-display); }
.empty-state h2 { margin-bottom: 7px; font-size: 20px; }
.empty-state p { max-width: 400px; margin-bottom: 17px; color: var(--muted); font-size: 12px; }

/* Product page */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.product-gallery { min-width: 0; }
.gallery-thumbs { display: flex; gap: 9px; margin-top: 10px; }
.gallery-thumb { width: 66px; height: 66px; padding: 3px; overflow: hidden; border: 1px solid var(--line); border-radius: 7px; background: white; }
.gallery-thumb.active { border: 2px solid var(--green); }
.gallery-thumb img { width: 100%; height: 100%; border-radius: 4px; object-fit: cover; }
.product-detail-copy { padding: 7px 0; }
.product-detail-copy h1 { margin: 8px 0; font-size: clamp(2rem,3.4vw,2.75rem); }
.detail-model { color: var(--muted); font-size: 12px; }
.detail-model strong { color: var(--ink); }
.detail-rating { display: flex; align-items: center; gap: 8px; margin-top: 12px; color: var(--muted); font-size: 11px; }
.detail-rating strong { color: #577845; }
.detail-price { display: flex; align-items: baseline; gap: 11px; margin: 18px 0 15px; }
.detail-price > strong { color: var(--green-dark); font: 700 28px var(--font-display); letter-spacing: -.05em; }
.detail-price del { color: #919c93; font-size: 13px; }
.saving-tag { padding: 4px 7px; border-radius: 4px; background: #e8f1df; color: #3d6946; font-size: 9px; font-weight: 700; }
.detail-divider { height: 1px; margin: 18px 0; background: var(--line); }
.detail-specs { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-bottom: 19px; }
.detail-specs > div { padding: 10px 11px; border: 1px solid var(--line); border-radius: 7px; background: #fbfcfa; }
.detail-specs span, .detail-specs strong { display: block; }
.detail-specs span { color: var(--muted); font-size: 9px; }
.detail-specs strong { margin-top: 4px; font-size: 10px; }
.stock-in { color: #387147; }
.stock-out { color: var(--red); }
.add-cart-form { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.add-cart-form label { color: var(--muted); font-size: 11px; }
.add-cart-form input { width: 63px; height: 45px; padding: 0 9px; border: 1px solid var(--line); border-radius: 6px; }
.add-cart-form button { flex: 1; }
.serviceability { display: flex; gap: 12px; margin: 17px 0; padding: 14px; border-radius: 9px; background: #f7faf5; }
.service-icon { display: grid; width: 34px; height: 34px; flex: 0 0 34px; place-items: center; border-radius: 8px; background: var(--green-light); color: var(--green); font: 700 9px var(--font-display); }
.serviceability strong { display: block; font-size: 11px; }
.serviceability p { margin: 2px 0 8px; color: var(--muted); font-size: 10px; }
.pincode-form { display: flex; gap: 6px; }
.pincode-form input { width: 140px; min-height: 33px; padding: 0 9px; border: 1px solid #d1dbd1; border-radius: 5px; font-size: 10px; }
.pincode-form button { padding: 0 11px; border: 0; border-radius: 5px; background: var(--green); color: white; font-size: 10px; font-weight: 700; }
.pincode-result { min-height: 0; margin-top: 3px; color: var(--green); font-size: 10px; }
.pincode-result.error { color: var(--red); }
.detail-description { margin-top: 21px; }
.detail-description h2 { margin-bottom: 6px; font: 700 12px var(--font-body); letter-spacing: 0; }
.detail-description p { color: #68766e; font-size: 11px; line-height: 1.75; }
.out-of-stock-callout { padding: 13px; border-radius: 6px; background: #fff1ed; color: #934438; font-size: 12px; }
.reviews-section { margin-top: 52px; padding-top: 26px; border-top: 1px solid var(--line); }
.review-form { display: grid; max-width: 640px; gap: 8px; margin-bottom: 23px; padding: 18px; }
.review-form-heading { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 5px 15px; margin-bottom: 7px; }
.review-form-heading strong { font: 600 14px var(--font-display); }
.review-form-heading span { color: var(--muted); font-size: 10px; }
.review-form select, .review-form textarea, .review-form input[type=file] { width: 100%; padding: 9px; border: 1px solid var(--line); border-radius: 6px; font-size: 11px; }
.review-form button { justify-self: start; margin-top: 7px; }
.review-list { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; }
.review-card { padding: 15px; }
.review-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 12px; }
.review-card-top span { color: #66863e; letter-spacing: .08em; }
.review-card > small { display: block; margin-top: 4px; color: #909a92; font-size: 9px; }
.review-card p { margin: 12px 0 0; color: #59675d; font-size: 11px; }
.review-image { max-width: 180px; max-height: 150px; margin-top: 10px; border-radius: 6px; object-fit: cover; }

/* Cart and checkout */
.cart-layout { display: grid; grid-template-columns: minmax(0,1fr) 330px; gap: 22px; align-items: start; }
.cart-items form > .button { margin-top: 11px; }
.cart-item { display: grid; grid-template-columns: 82px minmax(0,1fr) 78px 100px; gap: 14px; align-items: center; margin-bottom: 10px; padding: 11px; border: 1px solid var(--line); border-radius: 10px; background: white; }
.cart-thumb { overflow: hidden; border-radius: 6px; }
.cart-thumb .product-art { height: 78px; }
.cart-thumb .art-device { transform: scale(.58) rotate(-7deg); }
.cart-thumb .art-tag { top: 4px; left: 4px; font-size: 6px; }
.cart-product-copy .product-title { margin-top: 4px; }
.cart-product-copy > small, .cart-stock { display: block; margin-top: 3px; color: var(--muted); font-size: 9px; }
.cart-qty { display: grid; gap: 4px; color: var(--muted); font-size: 9px; }
.cart-qty input { width: 60px; min-height: 35px; padding: 0 6px; border: 1px solid var(--line); border-radius: 5px; }
.cart-line-price { color: var(--green-dark); font: 700 14px var(--font-display); text-align: right; }
.cart-note { display: flex; gap: 9px; align-items: flex-start; margin-top: 17px; padding: 12px; border-radius: 7px; background: #ebf1e9; color: #536756; }
.cart-note > span { display: grid; width: 17px; height: 17px; flex: 0 0 17px; place-items: center; border: 1px solid #8ca58d; border-radius: 50%; font: 700 10px var(--font-display); }
.cart-note p { margin: 0; font-size: 10px; }
.order-summary { padding: 20px; }
.order-summary h2, .checkout-summary h2 { margin-bottom: 17px; font-size: 18px; }
.summary-line, .summary-total { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; color: #6f7a71; font-size: 11px; }
.summary-line strong { color: var(--ink); font-size: 11px; text-align: right; }
.discount-line, .discount-line strong { color: #37804a !important; }
.summary-total { margin: 6px 0 15px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--ink); font-size: 12px; font-weight: 700; }
.summary-total strong { color: var(--green-dark); font: 700 21px var(--font-display); }
.coupon-box { margin-top: 17px; padding-top: 15px; border-top: 1px solid var(--line); }
.coupon-form > div { display: flex; gap: 5px; }
.coupon-form input { width: 0; min-height: 38px; flex: 1; padding: 0 10px; border: 1px solid var(--line); border-radius: 5px; font-size: 10px; }
.coupon-form button { padding: 0 11px; border: 1px solid #cbd6cc; border-radius: 5px; background: white; color: var(--green); font-size: 10px; font-weight: 700; }
.applied-coupon { display: flex; justify-content: space-between; color: #468053; font-size: 10px; }
.payment-note, .checkout-terms { margin: 13px 0 0; color: var(--muted); font-size: 9px; line-height: 1.6; }
.checkout-steps { display: flex; align-items: center; gap: 11px; margin: -8px 0 22px; color: #9aa39a; font-size: 10px; }
.checkout-steps span { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.checkout-steps b { display: grid; width: 22px; height: 22px; place-items: center; border: 1px solid #cbd4cc; border-radius: 50%; color: #7e897f; font-size: 9px; }
.checkout-steps i { width: 45px; height: 1px; background: #d6ded6; }
.checkout-steps .step-complete { color: var(--green); }
.checkout-steps .step-complete b, .checkout-steps .step-active b { border-color: var(--green); background: var(--green); color: white; }
.checkout-steps .step-active { color: var(--ink); font-weight: 700; }
.checkout-layout { display: grid; grid-template-columns: minmax(0,1fr) 340px; gap: 22px; align-items: start; }
.checkout-main { display: grid; gap: 15px; }
.checkout-section { padding: 20px; }
.checkout-section-title { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 18px; }
.checkout-section-title h2 { margin: 0; font-size: 17px; }
.checkout-section-title p { margin: 3px 0 0; color: var(--muted); font-size: 10px; }
.number-pill { display: grid; width: 31px; height: 31px; flex: 0 0 31px; place-items: center; border-radius: 9px 9px 9px 3px; background: var(--lime); color: var(--green-dark); font: 700 10px var(--font-display); }
.form-grid, .admin-form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.form-field { display: grid; gap: 6px; }
.form-field label { color: #39483e; font-size: 10px; font-weight: 700; }
.form-field input:not([type=file]), .form-field textarea, .form-field select, .stack-form input:not([type=file]), .stack-form textarea, .stack-form select { width: 100%; min-height: 40px; padding: 9px 11px; border: 1px solid #d8e0d8; border-radius: 5px; outline: none; background: white; color: var(--ink); font-size: 11px; transition: border .2s, box-shadow .2s; }
.form-field textarea, .stack-form textarea { resize: vertical; }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus, .stack-form input:focus, .stack-form textarea:focus, .stack-form select:focus { border-color: #708e76; box-shadow: 0 0 0 3px rgba(73,116,83,.1); }
.form-field small { color: #89938b; font-size: 9px; }
.form-field-wide { grid-column: 1/-1; }
.checkout-service-note { margin-top: 11px; color: var(--muted); font-size: 10px; }
.upi-instructions { display: grid; grid-template-columns: 166px 1fr; gap: 19px; align-items: center; }
.upi-qr-wrap { display: grid; justify-items: center; gap: 7px; color: var(--muted); font-size: 9px; }
.upi-qr-image, .upi-qr-placeholder { width: 150px; height: 150px; padding: 8px; border: 1px solid var(--line); border-radius: 8px; background: white; object-fit: contain; }
.upi-qr-placeholder { display: grid; align-content: center; justify-items: center; gap: 8px; border-style: dashed; color: #819084; }
.upi-qr-placeholder span { font: 700 28px var(--font-display); }
.upi-qr-placeholder small { max-width: 90px; text-align: center; }
.upi-details { display: flex; flex-direction: column; align-items: flex-start; }
.upi-id { margin: 4px 0 7px; color: var(--green-dark); font: 700 17px var(--font-display); }
.copy-button { padding: 5px 8px; border: 1px solid #cdd9ce; border-radius: 4px; background: white; color: var(--green); font-size: 9px; font-weight: 700; }
.upi-amount { display: flex; width: 100%; justify-content: space-between; align-items: center; margin: 13px 0 0; padding: 10px; border-radius: 6px; background: #eef4eb; color: #54655a; font-size: 10px; }
.upi-amount strong { color: var(--green-dark); font: 700 18px var(--font-display); }
.upi-details > p { margin: 9px 0 0; color: var(--muted); font-size: 9px; }
.upload-field { margin-top: 14px; }
.upload-field label span { color: var(--muted); font-weight: 400; }
.manual-payment-warning { display: grid; gap: 3px; margin-top: 16px; padding: 11px 13px; border-left: 3px solid #dda85a; border-radius: 0 5px 5px 0; background: #fff8e8; color: #695b38; font-size: 10px; }
.manual-payment-warning span { color: #756b53; }
.checkout-summary { position: sticky; top: 15px; padding: 20px; }
.checkout-product { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px solid #edf0ed; font-size: 10px; }
.checkout-product strong, .checkout-product small { display: block; }
.checkout-product small { margin-top: 3px; color: var(--muted); font-size: 9px; }
.checkout-product > span { white-space: nowrap; font-weight: 700; }
.checkout-summary .button { margin-top: 2px; }

/* Account and status */
.auth-wrap { display: grid; grid-template-columns: 1fr 430px; gap: 40px; max-width: 940px; align-items: stretch; margin: 35px auto 50px; }
.auth-aside { position: relative; display: flex; min-height: 440px; flex-direction: column; justify-content: center; padding: 42px; overflow: hidden; border-radius: 14px; background: var(--green); color: white; }
.auth-aside::after { position: absolute; right: -80px; bottom: -110px; width: 330px; height: 330px; border: 1px solid rgba(217,236,120,.35); border-radius: 50%; box-shadow: 0 0 0 40px rgba(217,236,120,.055),0 0 0 83px rgba(217,236,120,.055); content: ""; }
.auth-aside .eyebrow { color: var(--lime); }
.auth-aside h1 { position: relative; z-index: 1; margin: 14px 0; font-size: 46px; }
.auth-aside p { position: relative; z-index: 1; max-width: 330px; color: #d2e0d4; font-size: 12px; line-height: 1.8; }
.auth-aside-note { position: relative; z-index: 2; width: fit-content; margin-top: 37px; padding: 10px 14px; border: 1px solid rgba(255,255,255,.24); border-radius: 6px; color: var(--lime); font: 700 9px/1.5 var(--font-display); letter-spacing: .11em; transform: rotate(-3deg); }
.auth-aside-note strong { color: white; font-size: 12px; }
.auth-card { align-self: center; padding: 30px; }
.auth-card h2 { margin: 7px 0 5px; font-size: 24px; }
.auth-card > p { margin-bottom: 20px; color: var(--muted); font-size: 11px; }
.stack-form { display: grid; gap: 13px; }
.stack-form .button { margin-top: 4px; }
.auth-switch { margin-top: 17px; color: var(--muted); font-size: 10px; text-align: center; }
.auth-switch a { color: var(--green); font-weight: 700; }
.page-title-row form { margin-bottom: 5px; }
.account-orders { margin-top: 36px; }
.order-list { display: grid; gap: 12px; }
.order-card { padding: 17px; }
.order-card-top { display: flex; justify-content: space-between; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid #edf0ed; }
.order-card-top > div:first-child { display: grid; gap: 3px; }
.order-card-top small { color: var(--muted); font-size: 9px; letter-spacing: .06em; }
.order-card-top strong { font: 700 13px var(--font-display); }
.status-badge { display: inline-flex; align-items: center; padding: 5px 8px; border-radius: 4px; background: #eef3eb; color: #526850; font-size: 9px; font-weight: 700; white-space: nowrap; }
.status-success { background: #e7f3e7; color: #36704a; }
.status-progress { background: #edf2e2; color: #64763c; }
.status-pending { background: #fff3dd; color: #946b25; }
.status-muted { background: #eef0ef; color: #6d7770; }
.order-card-status { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 5px; }
.order-card-items { display: grid; grid-template-columns: repeat(2,1fr); gap: 9px; padding: 12px 0; }
.order-card-items strong, .order-card-items small { display: block; }
.order-card-items strong { font-size: 10px; }
.order-card-items small { color: var(--muted); font-size: 9px; }
.order-card-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; padding-top: 11px; border-top: 1px solid #edf0ed; color: var(--muted); font-size: 10px; }
.order-card-bottom strong { margin-left: 7px; color: var(--ink); }
.order-note { margin: 9px 0 0; color: #8b692a; font-size: 10px; }
.success-page { display: flex; max-width: 600px; flex-direction: column; align-items: center; margin: 35px auto 30px; text-align: center; }
.success-mark { display: grid; width: 57px; height: 57px; margin-bottom: 19px; place-items: center; border-radius: 50%; background: var(--lime); color: var(--green-dark); font: 700 25px var(--font-display); box-shadow: 0 0 0 8px rgba(217,236,120,.22); }
.success-page h1 { margin: 8px 0; font-size: 38px; }
.success-page > p { max-width: 420px; color: var(--muted); font-size: 12px; }
.success-order { display: grid; width: min(100%,400px); grid-template-columns: 1fr auto; gap: 10px 15px; margin: 13px 0 18px; padding: 17px; text-align: left; }
.success-order span { color: var(--muted); font-size: 10px; }
.success-order strong { font-size: 11px; text-align: right; }
.success-actions { display: flex; align-items: center; gap: 19px; }

/* Admin */
.admin-welcome { display: flex; justify-content: space-between; align-items: flex-end; gap: 18px; margin: 7px 0 22px; }
.admin-welcome h1 { margin: 4px 0; font-size: 30px; }
.admin-welcome p { margin: 0; color: var(--muted); font-size: 11px; }
.admin-layout { display: grid; grid-template-columns: 195px minmax(0,1fr); gap: 19px; align-items: start; }
.admin-sidebar { position: sticky; top: 14px; display: flex; flex-direction: column; padding: 13px 8px; border: 1px solid var(--line); border-radius: 10px; background: white; }
.admin-nav-label { padding: 8px 10px 6px; color: #97a199; font-size: 8px; font-weight: 700; letter-spacing: .14em; }
.admin-nav-label-spaced { margin-top: 9px; padding-top: 12px; border-top: 1px solid #edf0ed; }
.admin-sidebar > a { display: flex; min-height: 38px; align-items: center; gap: 9px; padding: 0 10px; border-radius: 5px; color: #68766d; font-size: 10px; font-weight: 600; transition: color .2s, background .2s; }
.admin-sidebar > a span { width: 17px; color: #75897a; font-size: 14px; text-align: center; }
.admin-sidebar > a:hover, .admin-sidebar > a.active { background: #eef4ed; color: var(--green-dark); }
.admin-sidebar > a.active span { color: var(--green); }
.admin-content { min-width: 0; }
.admin-stat-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 11px; }
.admin-stat { position: relative; min-height: 115px; padding: 14px; overflow: hidden; border: 1px solid var(--line); border-radius: 9px; background: white; }
.admin-stat > span { display: block; color: #68766d; font-size: 9px; font-weight: 600; }
.admin-stat > strong { display: block; margin-top: 9px; color: var(--green-dark); font: 700 22px var(--font-display); letter-spacing: -.04em; }
.admin-stat > small { display: block; margin-top: 3px; color: #8a948c; font-size: 8px; }
.admin-stat > i { position: absolute; top: 9px; right: 12px; color: #d4e0d4; font: normal 700 14px var(--font-display); }
.admin-stat.stat-sales { background: var(--green); }
.admin-stat.stat-sales > span, .admin-stat.stat-sales > small { color: #c8d8cd; }
.admin-stat.stat-sales > strong { color: var(--lime); font-size: 24px; }
.admin-stat.stat-sales > i { color: rgba(217,236,120,.42); font-size: 20px; }
.admin-stat.stat-alert { border-color: #eedebc; background: #fffaf0; }
.admin-stat.stat-alert > i { color: #dcaf5c; }
.admin-dashboard-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 12px; margin-top: 12px; }
.admin-panel { min-width: 0; padding: 17px; }
.admin-panel-heading { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 14px; }
.admin-panel-heading h2 { margin: 3px 0 0; font-size: 15px; }
.admin-panel-heading .eyebrow { font-size: 8px; }
.panel-period { padding: 5px 7px; border-radius: 4px; background: #f1f4ef; color: #718074; font-size: 8px; }
.sales-chart { display: flex; height: 190px; align-items: stretch; justify-content: space-around; gap: 10px; padding: 8px 3px 0; border-bottom: 1px solid #e8ece7; }
.chart-column { position: relative; display: flex; width: 42px; flex-direction: column; align-items: center; justify-content: flex-end; }
.chart-value { position: absolute; top: 0; color: #879188; font-size: 7px; white-space: nowrap; }
.chart-bar { width: 27px; min-height: 8px; border-radius: 4px 4px 0 0; background: linear-gradient(0deg,#35684c,#a9bf62); }
.chart-column small { position: absolute; bottom: -21px; color: #849087; font-size: 8px; }
.chart-empty { align-self: center; color: var(--muted); font-size: 10px; text-align: center; }
.low-stock-list { display: grid; }
.low-stock-list a { display: flex; justify-content: space-between; gap: 8px; padding: 10px 0; border-bottom: 1px solid #edf0ed; }
.low-stock-list a:last-child { border-bottom: 0; }
.low-stock-list strong, .low-stock-list small { display: block; }
.low-stock-list strong { font-size: 9px; }
.low-stock-list small { margin-top: 2px; color: var(--muted); font-size: 8px; }
.low-stock-list b { align-self: center; color: #a4553e; font: 700 10px var(--font-display); white-space: nowrap; }
.admin-recent-orders { margin-top: 12px; }
.table-wrap { width: 100%; overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; text-align: left; }
.admin-table th { padding: 9px 10px; border-bottom: 1px solid var(--line); color: #849087; font-size: 8px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; white-space: nowrap; }
.admin-table td { padding: 11px 10px; border-bottom: 1px solid #edf0ed; color: #56635a; font-size: 9px; vertical-align: middle; }
.admin-table tr:last-child td { border-bottom: 0; }
.admin-table td strong { color: var(--ink); }
.admin-table td > small, .admin-table td strong + small { display: block; margin-top: 3px; color: #8d9790; font-size: 8px; }
.table-link { color: var(--green); font-weight: 700; }
.table-actions { display: flex; gap: 10px; align-items: center; white-space: nowrap; }
.table-actions form { margin: 0; }
.admin-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 13px; }
.admin-toolbar form { display: flex; gap: 6px; }
.admin-toolbar form input { width: min(250px,50vw); min-height: 40px; padding: 0 11px; border: 1px solid var(--line); border-radius: 5px; }
.admin-toolbar .button { min-height: 40px; }
.visibility-dot { display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: #bec7bf; }
.visibility-dot.is-visible { background: #5ba76c; box-shadow: 0 0 0 3px #e6f2e7; }
.admin-empty { padding: 32px 15px; text-align: center; }
.admin-empty h2 { margin-bottom: 4px; font-size: 17px; }
.admin-empty p { color: var(--muted); font-size: 10px; }
.admin-list-toolbar { display: flex; justify-content: space-between; align-items: flex-end; gap: 13px; margin: 3px 0 15px; }
.admin-list-toolbar h2 { margin: 3px 0; font-size: 19px; }
.admin-list-toolbar p { margin: 2px 0 0; color: var(--muted); font-size: 10px; }
.admin-list-toolbar .sort-control select { min-width: 150px; }
.admin-back { margin: 0 0 12px; }
.admin-form { padding: 20px; }
.admin-form-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; grid-column: 1/-1; margin-bottom: 7px; }
.admin-form-heading h2 { margin: 3px 0; font-size: 20px; }
.required-note { color: var(--muted); font-size: 9px; }
.admin-form-grid { gap: 13px; }
.admin-form-grid .form-field label, .admin-form .form-field label { font-size: 10px; }
.admin-form-grid .form-field small { color: #88948a; font-size: 9px; }
.active-toggle { grid-column: 1/-1; margin: 4px 0; }
.admin-form-actions { display: flex; justify-content: flex-end; align-items: center; gap: 10px; margin-top: 19px; padding-top: 15px; border-top: 1px solid #edf0ed; }
.admin-form-actions .muted-copy { flex: 1; font-size: 9px; }
.admin-list-toolbar + .admin-panel { margin-top: 10px; }
.order-detail-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 14px; }
.order-detail-heading h2 { margin: 3px 0; font-size: 21px; }
.order-detail-heading p { margin: 0; color: var(--muted); font-size: 9px; }
.order-detail-grid { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(215px,.8fr); gap: 12px; align-items: start; }
.order-detail-main, .order-detail-aside { display: grid; gap: 12px; }
.admin-order-item { display: grid; grid-template-columns: 1fr 40px 95px; gap: 8px; align-items: center; padding: 11px 0; border-bottom: 1px solid #edf0ed; color: #69766c; font-size: 10px; }
.admin-order-item > div strong, .admin-order-item > div small { display: block; }
.admin-order-item > div strong { color: var(--ink); }
.admin-order-item > div small { margin-top: 3px; color: var(--muted); font-size: 9px; }
.admin-order-item > strong { color: var(--ink); text-align: right; }
.verification-panel { border-color: #e6dcc2; background: #fffcf4; }
.verification-panel .button { margin-top: 17px; }
.verification-details { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; }
.verification-details > div { display: grid; gap: 4px; }
.verification-details > div:last-child { grid-column: 1/-1; }
.verification-details span { color: var(--muted); font-size: 9px; }
.verification-details strong { font-size: 11px; }
.utr-value { font: 700 18px var(--font-display); letter-spacing: .12em; }
.verified-note { margin: 12px 0 0; color: #3f754b; font-size: 10px; }
.order-detail-aside .admin-panel > strong { font-size: 11px; }
.order-detail-aside .admin-panel > p { margin: 7px 0 0; color: #69766c; font-size: 9px; line-height: 1.7; }
.order-detail-aside .stack-form h2 { margin: 3px 0 0; font-size: 15px; }
.coupon-admin-layout { display: grid; grid-template-columns: minmax(240px,.8fr) minmax(0,1.2fr); gap: 12px; align-items: start; }
.coupon-admin-layout .admin-form { display: grid; }
.coupon-admin-layout .admin-form > div:first-of-type { margin-bottom: 3px; }
.coupon-admin-layout .admin-form h2 { margin: 3px 0; font-size: 17px; }
.coupon-admin-layout .admin-form .button { margin-top: 4px; }
.coupon-list { display: grid; }
.coupon-admin-card { display: flex; justify-content: space-between; align-items: center; gap: 9px; padding: 12px 0; border-bottom: 1px solid #edf0ed; }
.coupon-admin-card:last-child { border-bottom: 0; }
.coupon-ticket { min-width: 83px; padding: 8px; border: 1px dashed #acc0a8; border-radius: 5px; background: #f2f7ee; text-align: center; }
.coupon-ticket strong, .coupon-ticket span { display: block; }
.coupon-ticket strong { color: var(--green-dark); font: 700 12px var(--font-display); letter-spacing: .08em; }
.coupon-ticket span { color: #61725d; font-size: 8px; }
.coupon-admin-info { min-width: 0; flex: 1; color: #57665a; font-size: 8px; }
.coupon-admin-info small { display: block; margin-top: 3px; color: #8a948a; font-size: 8px; }
.settings-form { display: grid; max-width: 760px; }
.settings-section-heading { display: flex; gap: 10px; align-items: center; margin: 4px 0 3px; padding: 10px 0; border-bottom: 1px solid #edf0ed; }
.settings-section-heading h3 { margin: 0; font: 700 13px var(--font-display); }
.settings-section-heading p { margin: 2px 0 0; color: var(--muted); font-size: 9px; }
.settings-form .form-field > small { color: var(--muted); font-size: 9px; }
.settings-qr-preview { width: 105px; height: 105px; margin-top: 9px; padding: 4px; border: 1px solid var(--line); border-radius: 5px; object-fit: contain; }

/* Footer, setup */
.site-footer { background: #193c2d; color: white; }
.footer-main { display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: 25px 40px; align-items: center; padding-top: 32px; padding-bottom: 24px; }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand strong, .footer-brand small { display: block; }
.footer-brand strong { font: 700 16px var(--font-display); }
.footer-brand small { margin-top: 2px; color: #bdcfc2; font-size: 9px; }
.footer-main > p { margin: 0; color: #c5d4c8; font-size: 10px; line-height: 1.7; }
.footer-links { display: flex; justify-content: flex-end; gap: 17px; color: #d1dfd4; font-size: 9px; }
.footer-links a:hover { color: var(--lime); }
.copyright { grid-column: 1/-1; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.12); color: #9bb3a1; font-size: 8px; }
.mobile-bottom-nav { display: none; }
.setup-error { display: grid; min-height: 100vh; place-items: center; padding: 24px; background: var(--paper); }
.setup-card { width: min(540px,100%); padding: 34px; border: 1px solid var(--line); border-radius: 14px; background: white; box-shadow: var(--shadow); }
.setup-card .brand-mark { margin-bottom: 20px; }
.setup-card h1 { margin: 7px 0; font-size: 30px; }
.setup-card p, .setup-card li { color: var(--muted); font-size: 12px; }
.setup-card ol { padding-left: 20px; }
.setup-card li { margin: 9px 0; }
.setup-card code { padding: 2px 4px; border-radius: 3px; background: #f0f3ef; color: var(--green); font-size: 10px; }

@media (max-width: 1000px) {
  .header-main { grid-template-columns: 185px minmax(200px,1fr) 150px; gap: 18px; }
  .product-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .admin-stat-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .admin-dashboard-grid { grid-template-columns: 1fr; }
  .admin-dashboard-grid > section:first-child { min-height: 260px; }
  .admin-stat { min-height: 102px; }
  .admin-table { min-width: 680px; }
}

@media (max-width: 760px) {
  body { font-size: 14px; }
  .shell { width: min(100% - 28px, 560px); }
  .topline-inner { min-height: 27px; font-size: 9px; }
  .header-main { grid-template-columns: 1fr auto; gap: 12px; min-height: auto; padding-top: 13px; padding-bottom: 11px; }
  .brand { font-size: 17px; }
  .brand-mark { width: 34px; height: 34px; border-radius: 11px 11px 11px 3px; font-size: 19px; }
  .brand small { font-size: 7px; }
  .searchbar { grid-column: 1/-1; grid-row: 2; min-height: 42px; }
  .searchbar > button { padding-inline: 12px; }
  .header-actions { gap: 13px; }
  .header-link { grid-template-columns: 22px; justify-items: center; gap: 0; font-size: 8px; }
  .header-symbol { font-size: 20px; }
  .header-link b { left: 13px; }
  .category-nav { overflow-x: auto; scrollbar-width: none; }
  .category-nav::-webkit-scrollbar { display: none; }
  .category-nav-inner { width: max-content; min-height: 38px; gap: 21px; }
  .category-nav a { font-size: 10px; white-space: nowrap; }
  .page-main { padding-top: 16px; padding-bottom: 33px; }
  .flash { margin-bottom: 14px; padding: 10px 12px; font-size: 11px; }
  .hero { grid-template-columns: 1fr; min-height: unset; margin-top: 1px; }
  .hero-copy { padding: 34px 24px 26px; }
  .hero h1 { margin: 12px 0; font-size: clamp(2.65rem,11vw,3.6rem); }
  .hero-copy > p { max-width: 390px; margin-bottom: 16px; font-size: 12px; }
  .hero-proof { gap: 7px 14px; margin-top: 14px; font-size: 9px; }
  .hero-visual { min-height: 260px; }
  .hero-phone { width: 128px; height: 210px; border-width: 6px; border-radius: 23px; }
  .hero-phone-camera { top: 18px; left: 13px; width: 42px; height: 42px; border-width: 4px; border-radius: 11px; box-shadow: 52px 0 0 -14px #273930,52px 0 0 -8px #74897e; }
  .hero-phone-line { top: 102px; left: 16px; width: 76px; height: 3px; }
  .hero-phone-line.short { top: 113px; width: 49px; }
  .hero-phone-stamp { right: 12px; bottom: 37px; font-size: 11px; }
  .hero-ring { width: 290px; height: 290px; }
  .ring-two { width: 210px; height: 210px; }
  .chip-one { top: 16%; left: 5%; }
  .chip-two { right: 4%; bottom: 14%; }
  .benefit-strip { grid-template-columns: 1fr; }
  .benefit-strip > div { min-height: 60px; padding: 9px 13px; }
  .benefit-icon { width: 30px; height: 30px; }
  .benefit-strip strong { font-size: 10px; }
  .benefit-strip small { font-size: 9px; }
  .section-block { margin-top: 42px; }
  .section-heading { align-items: flex-end; margin-bottom: 15px; }
  .section-heading h2 { font-size: 21px; }
  .section-heading .text-link { font-size: 9px; white-space: nowrap; }
  .category-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  .category-tile { min-height: 135px; padding: 14px; }
  .category-symbol { top: 23px; left: 16px; font-size: 16px; }
  .category-tile strong { font-size: 12px; }
  .category-tile small { font-size: 9px; }
  .promo-band { grid-template-columns: 1fr .45fr; min-height: 220px; margin-top: 40px; }
  .promo-band > div:first-child { padding: 25px 18px; }
  .promo-band h2 { font-size: 22px; }
  .promo-band p { max-width: 230px; font-size: 10px; }
  .promo-band .button { min-height: 38px; padding-inline: 11px; font-size: 9px; }
  .promo-art { min-height: 220px; }
  .promo-battery { width: 56px; height: 93px; font-size: 28px; }
  .promo-ring { width: 155px; height: 155px; }
  .promo-label { right: 2%; bottom: 14%; font-size: 9px; }
  .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
  .product-art { height: 139px; }
  .art-device { transform: scale(.84) rotate(-7deg); }
  .product-art-large { height: min(395px,94vw); min-height: 270px; }
  .product-art-large .art-device { transform: scale(.93) rotate(-6deg); }
  .product-card-info { padding: 10px; }
  .product-eyebrow { font-size: 8px; }
  .product-title { font-size: 11px; }
  .product-model { font-size: 9px; }
  .product-price-row { gap: 6px; margin-top: 7px; }
  .product-price-row strong { font-size: 15px; }
  .product-price-row del { font-size: 9px; }
  .quick-add { margin-top: 8px; }
  .button-small { min-height: 34px; font-size: 10px; }
  .breadcrumbs { margin-bottom: 15px; font-size: 9px; }
  .listing-intro, .page-title-row { align-items: flex-start; margin: 4px 0 18px; }
  .listing-intro h1, .page-title-row h1 { font-size: 30px; }
  .listing-intro p, .page-title-row p { font-size: 10px; }
  .result-count { padding: 8px; font-size: 9px; white-space: nowrap; }
  .result-count strong { font-size: 15px; }
  .listing-layout { grid-template-columns: 1fr; gap: 5px; }
  .filter-panel { position: fixed; z-index: 70; right: 10px; bottom: 10px; left: 10px; display: block; max-height: min(76vh,650px); margin: 0; overflow: auto; border-radius: 15px 15px 8px 8px; box-shadow: 0 20px 70px rgba(18,39,26,.25); opacity: 0; pointer-events: none; transform: translateY(22px); transition: opacity .2s,transform .2s; }
  .filter-panel.filter-open { opacity: 1; pointer-events: auto; transform: translateY(0); }
  body.filter-modal-open::before { position: fixed; z-index: 65; inset: 0; background: rgba(17,34,23,.48); content: ""; }
  .filter-close { display: block; }
  .listing-toolbar { justify-content: space-between; margin-bottom: 11px; }
  .filter-open { display: inline-flex; min-height: 36px; padding-inline: 11px; font-size: 10px; }
  .sort-control { font-size: 9px; }
  .sort-control select { min-height: 35px; padding-left: 8px; font-size: 9px; }
  .listing-grid { gap: 8px; }
  .product-detail { grid-template-columns: 1fr; gap: 21px; }
  .product-detail-copy { padding: 0; }
  .product-detail-copy h1 { font-size: 29px; }
  .detail-price > strong { font-size: 25px; }
  .detail-specs { gap: 6px; }
  .detail-specs > div { padding: 8px 7px; }
  .detail-specs span { font-size: 8px; }
  .detail-specs strong { font-size: 9px; }
  .review-list { grid-template-columns: 1fr; }
  .reviews-section { margin-top: 37px; }
  .cart-layout, .checkout-layout { grid-template-columns: 1fr; gap: 15px; }
  .cart-item { grid-template-columns: 65px minmax(0,1fr) 54px; gap: 9px; padding: 9px; }
  .cart-thumb .product-art { height: 63px; }
  .cart-thumb .art-device { transform: scale(.47) rotate(-7deg); }
  .cart-product-copy .product-title { font-size: 10px; }
  .cart-product-copy > small { font-size: 8px; }
  .cart-qty { justify-items: center; }
  .cart-qty input { width: 49px; min-height: 31px; }
  .cart-line-price { grid-column: 2/4; justify-self: end; font-size: 12px; }
  .cart-item .cart-stock { display: none; }
  .order-summary { padding: 16px; }
  .checkout-steps { gap: 5px; justify-content: center; font-size: 8px; }
  .checkout-steps span { gap: 4px; }
  .checkout-steps b { width: 19px; height: 19px; font-size: 8px; }
  .checkout-steps i { width: 17px; }
  .checkout-section, .checkout-summary { padding: 15px; }
  .checkout-section-title h2 { font-size: 15px; }
  .form-grid { gap: 11px; }
  .form-field input:not([type=file]), .form-field textarea { min-height: 39px; }
  .upi-instructions { grid-template-columns: 112px 1fr; gap: 12px; }
  .upi-qr-image, .upi-qr-placeholder { width: 106px; height: 106px; }
  .upi-id { font-size: 14px; }
  .upi-amount { margin-top: 8px; padding: 8px; font-size: 9px; }
  .upi-amount strong { font-size: 15px; }
  .checkout-summary { position: static; }
  .auth-wrap { grid-template-columns: 1fr; gap: 13px; margin: 13px auto 34px; }
  .auth-aside { min-height: 230px; padding: 24px; }
  .auth-aside h1 { font-size: 34px; }
  .auth-aside p { max-width: 300px; font-size: 10px; }
  .auth-aside-note { margin-top: 12px; padding: 6px 9px; font-size: 7px; }
  .auth-aside-note strong { font-size: 9px; }
  .auth-card { padding: 20px; }
  .page-title-row { flex-wrap: wrap; }
  .page-title-row form { margin: 0; }
  .order-card { padding: 12px; }
  .order-card-top { flex-direction: column; }
  .order-card-status { justify-content: flex-start; }
  .order-card-items { grid-template-columns: 1fr; }
  .success-page { margin-top: 20px; }
  .success-page h1 { font-size: 31px; }
  .success-actions { flex-direction: column; gap: 13px; }
  .admin-welcome { align-items: center; }
  .admin-welcome h1 { font-size: 25px; }
  .admin-welcome .button { min-height: 36px; padding-inline: 9px; font-size: 9px; white-space: nowrap; }
  .admin-layout { grid-template-columns: 1fr; gap: 10px; }
  .admin-sidebar { position: static; flex-direction: row; gap: 3px; padding: 6px; overflow-x: auto; scrollbar-width: none; }
  .admin-sidebar::-webkit-scrollbar { display: none; }
  .admin-nav-label { display: none; }
  .admin-sidebar > a { min-height: 35px; flex: 0 0 auto; gap: 5px; padding-inline: 9px; font-size: 9px; white-space: nowrap; }
  .admin-sidebar > a span { font-size: 12px; }
  .admin-stat-grid { gap: 7px; }
  .admin-stat { min-height: 94px; padding: 10px; }
  .admin-stat > span { max-width: 90px; font-size: 8px; }
  .admin-stat > strong { margin-top: 7px; font-size: 19px; }
  .admin-stat > small { font-size: 7px; }
  .admin-dashboard-grid { gap: 8px; margin-top: 8px; }
  .admin-panel { padding: 13px; }
  .sales-chart { height: 165px; }
  .chart-value { font-size: 6px; }
  .admin-recent-orders { margin-top: 8px; }
  .admin-toolbar { align-items: stretch; }
  .admin-toolbar form { min-width: 0; flex: 1; }
  .admin-toolbar form input { width: 100%; min-width: 0; }
  .admin-toolbar > .button { padding-inline: 10px; white-space: nowrap; }
  .admin-list-toolbar { align-items: flex-start; flex-direction: column; }
  .admin-list-toolbar .sort-control { width: 100%; justify-content: space-between; }
  .admin-list-toolbar .sort-control select { flex: 1; }
  .admin-form { padding: 14px; }
  .admin-form-grid { gap: 11px; }
  .admin-form-heading h2 { font-size: 18px; }
  .admin-form-actions { flex-wrap: wrap; }
  .admin-form-actions .muted-copy { flex-basis: 100%; }
  .order-detail-grid { grid-template-columns: 1fr; }
  .order-detail-heading { align-items: flex-start; flex-direction: column; }
  .coupon-admin-layout { grid-template-columns: 1fr; }
  .coupon-admin-card { gap: 6px; }
  .coupon-admin-info { font-size: 7px; }
  .settings-form { gap: 11px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 15px; padding-top: 25px; padding-bottom: 20px; }
  .footer-main > p { grid-column: 1/-1; grid-row: 2; }
  .footer-links { grid-column: 1/-1; grid-row: 3; justify-content: flex-start; }
  .copyright { grid-row: 4; }
  .mobile-bottom-nav { position: fixed; z-index: 30; right: 0; bottom: 0; left: 0; display: grid; height: calc(57px + env(safe-area-inset-bottom)); grid-template-columns: repeat(4,1fr); padding-bottom: env(safe-area-inset-bottom); border-top: 1px solid #dce4dc; background: rgba(255,255,255,.97); box-shadow: 0 -5px 18px rgba(28,54,39,.07); }
  .mobile-bottom-nav a { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; color: #758178; font-size: 8px; font-weight: 600; }
  .mobile-bottom-nav a > span { color: var(--green); font-size: 18px; line-height: 1.1; }
  .mobile-bottom-nav b { top: 3px; left: calc(50% + 5px); }
  .site-footer { padding-bottom: 57px; }
  .page-main { padding-bottom: 29px; }
}

@media (max-width: 390px) {
  .shell { width: calc(100% - 22px); }
  .hero-copy { padding-inline: 19px; }
  .category-tile { min-height: 122px; }
  .form-grid, .admin-form-grid { grid-template-columns: 1fr; }
  .form-field-wide { grid-column: auto; }
  .upi-instructions { grid-template-columns: 93px 1fr; gap: 9px; }
  .upi-qr-image, .upi-qr-placeholder { width: 90px; height: 90px; padding: 5px; }
  .upi-id { font-size: 12px; }
  .verification-details { grid-template-columns: 1fr; }
  .verification-details > div:last-child { grid-column: auto; }
}
/* Cart remove button */
.cart-remove-form { display: contents; }
.cart-remove-btn {
  background: none;
  border: none;
  color: #ef4444;
  font-size: .78rem;
  font-weight: 600;
  cursor: pointer;
  padding: .25rem .4rem;
  border-radius: 6px;
  white-space: nowrap;
  letter-spacing: .01em;
}
.cart-remove-btn:hover { background: #fee2e2; }

/* Cart remove button */
.cart-remove-form { margin: 0; }
.cart-remove-btn {
    background: none;
    border: none;
    color: #ef4444;
    font-size: .8rem;
    cursor: pointer;
    padding: .25rem 0;
    text-decoration: underline;
    white-space: nowrap;
}
.cart-remove-btn:hover { color: #b91c1c; }

/* QR remove option */
.qr-preview-wrap { display: flex; flex-direction: column; gap: .5rem; margin-top: .5rem; }
.qr-remove-label { display: flex; align-items: center; gap: .4rem; font-size: .85rem; color: #ef4444; cursor: pointer; }
.qr-remove-label input { accent-color: #ef4444; width: 1rem; height: 1rem; }

/* Rexon Ryvex Logo */
.brand-logo-img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    flex-shrink: 0;
    display: inline-block;
}
.footer-logo-img {
    width: 28px;
    height: 28px;
}
