/* ============================================================
   redesign.css — SkyRazor Store, нова темна вітрина
   Використовується на index.html, catalog/index.html та product.html.
   Деякі класи навмисно збігаються з іменами, які генерує існуючий
   JS (UniversalCart.js, productCard.js, catalog.js, form.js) —
   це навмисно, щоб уся логіка кошика/пошуку/каталогу/форми
   лишалась без змін, а тут стилізується лише вигляд.
============================================================ */

:root{
  --bg:#08090b; --bg-2:#0d0f13; --surface:#12151a; --surface-2:#181c23; --line:#232833;
  --text:#eef1f6; --muted:#8d97a8; --accent:#3fe0c8; --accent-2:#ffb547;
  --accent-ink:#04140f; --shadow:0 24px 60px -20px rgba(0,0,0,.85);
  --img:#1b1f27; --img-stripe:#242a35; --danger:#ff6b6b;
  /* real product photos/infographics are on solid white backgrounds themselves, so a
     light "mat" behind them (photo-mount) just reads as more white. Instead the photo
     container stays on the dark surface tone and the <img> itself gets rounded corners
     + a drop shadow — a framed card floating on the dark page, not a bled white void. */
  --photo-shadow:0 16px 34px -14px rgba(0,0,0,.55);
}
:root[data-theme="light"]{
  --bg:#f6f7f9; --bg-2:#eceef2; --surface:#ffffff; --surface-2:#f2f4f7; --line:#e2e6ec;
  --text:#0e1116; --muted:#5f6a7d; --accent:#00a68e; --accent-2:#c97a00;
  --accent-ink:#ffffff; --shadow:0 20px 50px -24px rgba(16,24,40,.28);
  --img:#eef0f4; --img-stripe:#e2e6ec; --danger:#d1382b;
}

/* browsers give <body> a default ~8px margin and no background of its own —
   without this reset that margin shows the page's default white background
   as a frame around every side of the site, on any page, any viewport. */
html,body{margin:0;padding:0;background:var(--bg)}
.sr *{box-sizing:border-box}
.sr{background:var(--bg);color:var(--text);font-family:Manrope,system-ui,sans-serif;-webkit-font-smoothing:antialiased;transition:background .35s ease,color .35s ease;min-height:100vh}
/* :where() keeps this reset at zero extra specificity so every real
   component rule below (even a single class) wins over it regardless
   of source order — a plain ".sr a" tied or beat component classes
   like .btn--primary and made link text invisible on its own background. */
.sr :where(a){color:var(--accent);text-decoration:none}
.sr :where(a):hover{color:var(--text)}
.sr h1,.sr h2,.sr h3{font-family:Unbounded,Manrope,sans-serif;margin:0;letter-spacing:-.02em}
.sr button{font-family:inherit;cursor:pointer}
.sr img{max-width:100%;display:block}
.sr [hidden]{display:none!important}

@keyframes srRise{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}

/* ---------- backdrop + drawers (menu / cart share the pattern) ---------- */
.sr-overlay{position:fixed;inset:0;z-index:70;background:rgba(4,6,9,.78);
  opacity:0;pointer-events:none;transition:opacity .3s ease}
.sr-overlay.show{opacity:1;pointer-events:auto}
.sr-drawer{position:fixed;top:0;bottom:0;width:min(420px,92vw);background:var(--surface);z-index:71;
  display:flex;flex-direction:column;box-shadow:var(--shadow);transition:transform .38s cubic-bezier(.4,0,.2,1)}
.sr-drawer--left{left:0;border-right:1px solid var(--line);transform:translateX(-103%)}
.sr-drawer--right{right:0;border-left:1px solid var(--line);width:min(440px,94vw);transform:translateX(103%)}
.sr-overlay.show .sr-drawer{transform:translateX(0)}
.sr-drawer__head{display:flex;align-items:center;justify-content:space-between;padding:22px 24px;border-bottom:1px solid var(--line)}
.sr-drawer__eyebrow{font-family:'JetBrains Mono',monospace;font-size:11px;letter-spacing:.18em;text-transform:uppercase;color:var(--muted)}
.sr-drawer__close{width:36px;height:36px;border-radius:10px;border:1px solid var(--line);background:var(--surface-2);color:var(--text);font-size:18px;line-height:1;cursor:pointer}
.sr-drawer__close:hover{border-color:var(--accent);color:var(--accent)}
.sr-drawer__body{flex:1;overflow-y:auto;padding:14px}
.sr-drawer__foot{padding:20px 24px;border-top:1px solid var(--line);display:flex;flex-direction:column;gap:6px}

/* catalog drawer contents */
.sr-cat-item{width:100%;display:grid;grid-template-columns:44px 1fr auto;align-items:center;gap:14px;
  padding:14px;margin-bottom:6px;border:1px solid transparent;border-radius:14px;background:transparent;
  color:var(--text);cursor:pointer;text-align:left;text-decoration:none}
.sr-cat-item:hover{background:var(--surface-2);border-color:var(--line);color:var(--text)}
.sr-cat-item__code{width:44px;height:44px;border-radius:12px;background:var(--surface-2);display:grid;place-items:center;
  font-family:'JetBrains Mono',monospace;font-size:12px;font-weight:500;color:var(--accent);border:1px solid var(--line)}
.sr-cat-item__mid{display:flex;flex-direction:column;gap:3px;min-width:0}
.sr-cat-item__name{font-weight:600;font-size:15px}
.sr-cat-item__hint{font-size:12.5px;color:var(--muted)}
.sr-cat-item__count{font-family:'JetBrains Mono',monospace;font-size:12px;color:var(--muted)}
.sr-drawer__divider{height:1px;background:var(--line);margin:16px 8px}
.sr-drawer-links{display:flex;flex-direction:column;gap:2px}
.sr-drawer-links a{padding:11px 14px;border-radius:10px;color:var(--muted);font-size:14px;font-weight:500}
.sr-drawer-links a:hover{color:var(--text);background:var(--surface-2)}
.sr-drawer__phone{font-family:Unbounded,sans-serif;font-size:17px;color:var(--text)}
.sr-drawer__hours{font-size:12.5px;color:var(--muted)}

/* ---------- cart drawer (classes below are emitted by UniversalCart.js) --- */
.cart-overlay{position:fixed;inset:0;z-index:70;background:rgba(4,6,9,.78);
  opacity:0;pointer-events:none;transition:opacity .3s ease}
.cart-overlay.show{opacity:1;pointer-events:auto}
.cart-container{position:fixed;top:0;right:0;bottom:0;width:min(440px,94vw);background:var(--surface);
  border-left:1px solid var(--line);z-index:71;display:flex;flex-direction:column;box-shadow:var(--shadow);
  transform:translateX(103%);transition:transform .38s cubic-bezier(.4,0,.2,1)}
.cart-overlay.show .cart-container{transform:translateX(0)}
.cart-header{display:flex;align-items:center;justify-content:space-between;padding:22px 24px;border-bottom:1px solid var(--line)}
.cart-header h2{font-family:Unbounded,sans-serif;font-size:16px;font-weight:600;display:flex;align-items:center;gap:10px}
.cart-counter{font-family:'JetBrains Mono',monospace;font-size:11px;padding:3px 8px;border-radius:99px;background:var(--accent);color:var(--accent-ink);font-weight:500}
.cart-close{width:36px;height:36px;border-radius:10px;border:1px solid var(--line);background:var(--surface-2);color:var(--text);font-size:18px;line-height:1;cursor:pointer}
.cart-close:hover{border-color:var(--accent);color:var(--accent)}
.cart-body{flex:1;overflow-y:auto;padding:18px;display:flex;flex-direction:column;gap:12px}
.empty-cart{margin:auto;text-align:center;padding:40px 20px;display:flex;flex-direction:column;gap:10px;align-items:center;color:var(--muted)}
.empty-cart-icon{font-size:32px}
.cart-item{display:grid;grid-template-columns:64px 1fr auto;gap:14px;padding:14px;border:1px solid var(--line);border-radius:16px;background:var(--surface-2);align-items:start}
.cart-item-image{width:64px;height:64px;border-radius:8px;object-fit:contain;box-sizing:border-box;padding:7px;background:var(--surface);border:1px solid var(--line)}
.cart-item-info{display:flex;flex-direction:column;gap:8px;min-width:0}
.cart-item-info h4{font-size:13.5px;font-weight:600;line-height:1.35;margin:0}
.cart-item-price{font-family:Unbounded,sans-serif;font-size:14px}
.cart-item-old-price{font-size:12px;color:var(--muted);text-decoration:line-through}
.cart-item-original-price{font-family:Unbounded,sans-serif;font-size:14px}
.cart-item-controls{display:flex;align-items:center;gap:2px;border:1px solid var(--line);border-radius:10px;background:var(--surface);padding:2px;grid-column:1/3;width:max-content;margin-top:4px}
.qty-btn{width:28px;height:28px;border:none;background:transparent;color:var(--text);border-radius:8px;cursor:pointer;font-size:16px}
.qty-btn:hover{background:var(--surface-2);color:var(--accent)}
.qty-btn:disabled{opacity:.35;cursor:not-allowed}
.quantity{min-width:24px;text-align:center;font-family:'JetBrains Mono',monospace;font-size:13px;display:inline-block}
.remove-btn{grid-row:1;grid-column:3;justify-self:end;width:28px;height:28px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--muted);cursor:pointer;font-size:15px;line-height:1}
.remove-btn:hover{border-color:var(--danger);color:var(--danger)}
.cart-footer{padding:20px 24px;border-top:1px solid var(--line);display:flex;flex-direction:column;gap:14px}
.cart-total-section{display:flex;align-items:baseline;justify-content:space-between}
.cart-total-section span:first-child{font-size:13px;color:var(--muted);text-transform:uppercase;letter-spacing:.1em;font-family:'JetBrains Mono',monospace}
.cart-total{font-family:Unbounded,sans-serif;font-size:24px}
.cart-actions{display:flex;flex-direction:column;gap:10px}
.btn-continue,.btn-checkout{width:100%;padding:16px;border:none;border-radius:14px;font-weight:700;font-size:15px;cursor:pointer;letter-spacing:.01em}
.btn-continue{background:var(--surface-2);color:var(--text);border:1px solid var(--line)}
.btn-continue:hover{border-color:var(--accent);color:var(--accent)}
.btn-checkout{background:var(--accent);color:var(--accent-ink)}
.btn-checkout:hover{filter:brightness(1.08)}
.btn-checkout:disabled{opacity:.4;cursor:not-allowed;filter:none}

.cart-notification{position:fixed;top:20px;right:-400px;z-index:200;background:var(--accent);color:var(--accent-ink);
  padding:14px 20px;border-radius:12px;font-size:14px;font-weight:600;max-width:320px;box-shadow:var(--shadow);
  transition:right .3s ease}
.cart-notification.show{right:20px}

/* ---------- checkout modal ---------- */
.checkout-overlay{position:fixed;inset:0;z-index:90;background:rgba(4,6,9,.82);
  display:flex;align-items:center;justify-content:center;opacity:0;pointer-events:none;transition:opacity .25s ease;padding:20px}
.checkout-overlay.show{opacity:1;pointer-events:auto}
.checkout-form{width:min(480px,100%);max-height:88vh;overflow-y:auto;background:var(--surface);border:1px solid var(--line);
  border-radius:22px;box-shadow:var(--shadow)}
.checkout-header{padding:22px 26px;border-bottom:1px solid var(--line)}
.checkout-header h3{font-family:Unbounded,sans-serif;font-size:18px;font-weight:600}
.checkout-body{padding:24px 26px;display:flex;flex-direction:column;gap:16px}
.order-summary{border:1px solid var(--line);border-radius:14px;padding:16px;background:var(--surface-2)}
.order-summary h4{font-size:14px;margin:0 0 10px}
.order-item{display:flex;justify-content:space-between;font-size:13.5px;padding:6px 0;color:var(--muted)}
.order-item:last-child{color:var(--text);border-top:1px solid var(--line);margin-top:4px;padding-top:10px}
.checkout-actions{display:flex;gap:10px;margin-top:4px}
.btn-cancel{flex:1;padding:15px;border:1px solid var(--line);border-radius:13px;background:transparent;color:var(--text);font-weight:600;cursor:pointer}
.btn-cancel:hover{border-color:var(--accent);color:var(--accent)}
.btn-submit{flex:2;padding:15px;border:none;border-radius:13px;background:var(--accent);color:var(--accent-ink);font-weight:700;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:8px}
.btn-submit:hover{filter:brightness(1.08)}
.btn-submit:disabled{opacity:.6;cursor:not-allowed}
.loading-spinner{display:none;width:14px;height:14px;border-radius:50%;border:2px solid rgba(0,0,0,.25);border-top-color:currentColor;animation:srSpin .7s linear infinite}
@keyframes srSpin{to{transform:rotate(360deg)}}
.success-message{padding:14px 16px;border-radius:12px;background:color-mix(in srgb, var(--accent) 18%, var(--surface));
  border:1px solid var(--accent);font-size:13.5px;line-height:1.5}
.error-message{padding:14px 16px;border-radius:12px;background:color-mix(in srgb, var(--danger) 16%, var(--surface));
  border:1px solid var(--danger);color:var(--danger);font-size:13.5px;line-height:1.5}

/* ---------- header ---------- */
.sr-header{position:sticky;top:0;z-index:50;background:color-mix(in srgb,var(--bg) 82%,transparent);
  backdrop-filter:blur(8px);border-bottom:1px solid var(--line)}
.sr-header__inner{max-width:1320px;margin:0 auto;padding:14px 24px;display:flex;align-items:center;gap:18px}
.sr-icon-btn{display:flex;align-items:center;gap:10px;padding:10px 16px 10px 12px;border:1px solid var(--line);
  border-radius:12px;background:var(--surface);color:var(--text);cursor:pointer;font-weight:600;font-size:14px}
.sr-icon-btn:hover{border-color:var(--accent);color:var(--accent)}
.sr-burger{display:flex;flex-direction:column;gap:3.5px;width:16px}
.sr-burger span{height:2px;background:currentColor;border-radius:2px}
.sr-burger span:last-child{width:11px}
.sr-logo{display:flex;align-items:center;margin-right:auto;color:var(--text)}
.sr-logo:hover{color:var(--text)}
.sr-logo img{height:40px;width:auto;display:block;transition:filter .2s ease}
/* the source logo is white artwork on a transparent background (made
   for dark UIs) — inverting it in light theme turns it black instead
   of swapping to a whole separate asset. */
:root[data-theme="light"] .sr-logo img{filter:invert(1)}
.sr-search{position:relative;flex:0 1 340px}
.sr-search__box{display:flex;align-items:center;gap:10px;padding:10px 14px;border:1px solid var(--line);border-radius:12px;background:var(--surface)}
.sr-search__box svg{flex:none;color:var(--muted)}
.sr-search__box input{flex:1;min-width:0;border:none;outline:none;background:transparent;color:var(--text);font-family:inherit;font-size:14px}
.sr-search__dropdown{position:absolute;top:calc(100% + 8px);left:0;right:0;background:var(--surface);border:1px solid var(--line);
  border-radius:14px;box-shadow:var(--shadow);padding:8px;z-index:55;max-height:70vh;overflow-y:auto}
.sr-search__hint{padding:16px;text-align:center;font-size:13px;color:var(--muted)}
.sr-search__result{display:flex;align-items:center;gap:12px;padding:10px;border-radius:10px;color:var(--text)}
.sr-search__result:hover{background:var(--surface-2);color:var(--text)}
.sr-search__result img{width:44px;height:44px;object-fit:contain;box-sizing:border-box;padding:5px;border-radius:8px;background:var(--surface);flex:none}
.sr-search__result-title{font-size:13.5px;font-weight:600;line-height:1.3}
.sr-search__result-price{font-family:Unbounded,sans-serif;font-size:12.5px;color:var(--accent)}
.sr-search__all{display:block;text-align:center;padding:12px;border-radius:10px;font-size:13px;font-weight:600;color:var(--accent)}
.sr-search__all:hover{background:var(--surface-2)}
.sr-theme-btn{display:flex;align-items:center;gap:8px;height:44px;padding:0 14px;border:1px solid var(--line);border-radius:12px;
  background:var(--surface);color:var(--muted);cursor:pointer;font-family:'JetBrains Mono',monospace;font-size:11px;
  letter-spacing:.1em;text-transform:uppercase}
.sr-theme-btn:hover{border-color:var(--accent);color:var(--accent)}
.sr-theme-dot{width:14px;height:14px;border-radius:99px;border:2px solid currentColor;background:linear-gradient(90deg,currentColor 50%,transparent 50%)}
.sr-cart-btn{position:relative;display:flex;align-items:center;gap:10px;height:44px;padding:0 18px;border:none;border-radius:12px;
  background:var(--text);color:var(--bg);cursor:pointer;font-weight:700;font-size:14px}
.sr-cart-btn:hover{filter:brightness(1.1)}
.sr-cart-btn .cart-counter{background:var(--accent);color:var(--accent-ink)}

/* ---------- layout shell ---------- */
.sr-main{max-width:1320px;margin:0 auto;padding:0 24px 100px}

/* ---------- hero ---------- */
.sr-hero{padding:44px 0 22px}
.sr-hero__card{display:flex;flex-direction:column;gap:26px;padding:44px;border:1px solid var(--line);border-radius:28px;
  background:linear-gradient(155deg,var(--surface) 0%,var(--bg-2) 100%);position:relative;overflow:hidden}
.sr-hero__grid{position:absolute;inset:0;background-image:linear-gradient(var(--line) 1px,transparent 1px),linear-gradient(90deg,var(--line) 1px,transparent 1px);
  background-size:56px 56px;opacity:.35;mask-image:radial-gradient(120% 90% at 80% 0%,#000,transparent 70%)}
.sr-hero__eyebrow{position:relative;display:inline-flex;align-items:center;gap:9px;align-self:flex-start;padding:7px 14px;
  border:1px solid var(--line);border-radius:99px;background:var(--surface-2);font-family:'JetBrains Mono',monospace;
  font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}
.sr-hero__dot{width:7px;height:7px;border-radius:99px;background:var(--accent)}
.sr-hero__title{position:relative;font-size:clamp(30px,4vw,54px);line-height:1.04;font-weight:600}
.sr-hero__title span{color:var(--accent)}
.sr-hero__lead{position:relative;margin:0;font-size:17px;line-height:1.55;color:var(--muted);max-width:52ch}
.sr-hero__actions{position:relative;display:flex;flex-wrap:wrap;gap:12px}
.btn{padding:16px 26px;border-radius:14px;font-weight:700;font-size:15px;border:none;cursor:pointer;display:inline-block}
.btn--primary{background:var(--accent);color:#04140f}
.btn--primary:hover{filter:brightness(1.08);color:#04140f}
.btn--ghost{border:1px solid var(--line);background:transparent;color:var(--text);font-weight:600}
.btn--ghost:hover{border-color:var(--accent);color:var(--accent)}
.sr-hero__stats{position:relative;display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:6px;padding-top:26px;border-top:1px solid var(--line)}
.sr-stat{display:flex;flex-direction:column;gap:4px}
.sr-stat b{font-family:Unbounded,sans-serif;font-size:26px;font-weight:600}
.sr-stat span{font-size:12.5px;color:var(--muted)}

/* ---------- promo ---------- */
.sr-promo{padding:56px 0 10px}
.sr-promo__head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:16px}
.sr-promo__eyebrow{font-family:'JetBrains Mono',monospace;font-size:11px;letter-spacing:.16em;text-transform:uppercase;color:var(--muted);display:block;margin-bottom:8px}
.sr-promo__nav{display:flex;gap:8px}
.sr-round-btn{width:44px;height:44px;border-radius:12px;border:1px solid var(--line);background:var(--surface);color:var(--text);font-size:18px;cursor:pointer}
.sr-round-btn:hover{border-color:var(--accent);color:var(--accent)}
.sr-promo__row{display:flex;gap:16px;overflow-x:auto;scrollbar-width:none;padding-bottom:4px;scroll-snap-type:x proximity}
.sr-promo__row::-webkit-scrollbar{display:none}
.sr-promo__card{flex:0 0 clamp(230px,26vw,300px);scroll-snap-align:start;position:relative;border:1px solid var(--line);
  border-radius:18px;overflow:hidden;aspect-ratio:3/4;cursor:pointer;display:flex;flex-direction:column;justify-content:flex-end;
  transition:transform .25s ease,border-color .25s ease;color:#f3f5f8;background-size:cover;background-position:center;background-color:var(--img)}
.sr-promo__card:hover{transform:translateY(-4px);border-color:var(--accent);color:#f3f5f8}
.sr-promo__scrim{position:absolute;inset:0;background:linear-gradient(180deg,rgba(8,9,11,.4) 0%,rgba(8,9,11,.55) 45%,rgba(8,9,11,.94) 100%)}
.sr-promo__body{position:relative;padding:18px;display:flex;flex-direction:column;gap:6px}
.sr-promo__tag{font-family:'JetBrains Mono',monospace;font-size:10px;letter-spacing:.1em;text-transform:uppercase;color:var(--accent-2)}
.sr-promo__title{font-family:Unbounded,sans-serif;font-size:16px;font-weight:600;line-height:1.25}
.sr-promo__price{font-family:Unbounded,sans-serif;font-size:15px}

/* ---------- trust strip ---------- */
.sr-trust{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;padding:18px 0 46px}
.sr-trust__item{padding:20px;border:1px solid var(--line);border-radius:18px;background:var(--surface);display:flex;flex-direction:column;gap:6px}
.sr-trust__tag{font-family:'JetBrains Mono',monospace;font-size:10.5px;letter-spacing:.14em;text-transform:uppercase;color:var(--accent)}
.sr-trust__title{font-weight:600;font-size:14.5px}
.sr-trust__text{font-size:12.5px;color:var(--muted);line-height:1.45}

/* ---------- catalog section (shared by home + /catalog/) ---------- */
.sr-catalog-head{display:flex;flex-wrap:wrap;align-items:end;justify-content:space-between;gap:20px;margin-bottom:26px}
.sr-catalog-eyebrow{font-family:'JetBrains Mono',monospace;font-size:11px;letter-spacing:.16em;text-transform:uppercase;color:var(--muted);display:block;margin-bottom:10px}
.sr-catalog-title{font-size:clamp(26px,2.6vw,36px);font-weight:600}
.catalog-tabs{display:flex;flex-wrap:wrap;gap:8px}
.catalog-tab{padding:11px 18px;border-radius:99px;border:1px solid var(--line);font-weight:600;font-size:13.5px;cursor:pointer;
  transition:all .2s;background:var(--surface);color:var(--muted)}
.catalog-tab:hover{border-color:var(--accent)}
.catalog-tab.active{background:var(--text);color:var(--bg);border-color:var(--text)}
.catalog-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:20px}
.catalog-empty{display:none;padding:70px 20px;text-align:center;border:1px dashed var(--line);border-radius:22px;color:var(--muted)}

/* product card — emitted by productCard.js (createProductCard) */
.product-card{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:22px;background:var(--surface);
  overflow:hidden;transition:transform .25s ease,border-color .25s ease,box-shadow .25s ease;animation:srRise .4s ease both;
  text-decoration:none}
.product-card:hover{transform:translateY(-4px);border-color:var(--accent);box-shadow:var(--shadow)}
.product-card a{color:inherit;text-decoration:none;display:block}
/* real product photos are studio renders on a solid white background —
   object-fit:cover would bleed that white edge-to-edge on every card
   ("white frames" against the dark grid). contain + generous padding on
   the dark surface, plus rounding + a shadow on the <img> itself, reads
   as a photo card floating on the dark page instead of a bled white void. */
.product-image{position:relative;aspect-ratio:4/3;background:var(--surface-2);
  display:grid;place-items:center;overflow:hidden;padding:26px;box-sizing:border-box}
.product-image img{max-width:100%;max-height:100%;object-fit:contain;border-radius:10px;box-shadow:var(--photo-shadow)}
.product-badge{position:absolute;top:14px;left:14px;padding:6px 11px;border-radius:99px;background:var(--accent-2);color:#1a1204;
  font-family:'JetBrains Mono',monospace;font-size:10px;font-weight:500;letter-spacing:.08em;text-transform:uppercase;z-index:2}
.product-info{padding:20px;display:flex;flex-direction:column;gap:12px;flex:1}
.product-title{font-family:Manrope,sans-serif;font-size:16px;font-weight:700;line-height:1.3;letter-spacing:0;margin:0}
.product-description{margin:0;font-size:13px;line-height:1.5;color:var(--muted);
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
/* specs stay collapsed so card height (and the CTA button below) lines
   up across every card in the row; hovering the card reveals them as a
   short strip instead of permanently pushing the button to a different
   level on every card. */
.product-specs{display:flex;flex-wrap:wrap;gap:6px;max-height:0;opacity:0;overflow:hidden;
  transition:max-height .25s ease,opacity .2s ease,margin-top .25s ease}
.product-card:hover .product-specs{max-height:80px;opacity:1;margin-top:2px}
.spec{padding:5px 10px;border-radius:8px;background:var(--surface-2);border:1px solid var(--line);display:flex;gap:4px;align-items:baseline}
.spec-label{font-family:'JetBrains Mono',monospace;font-size:9.5px;color:var(--muted)}
.spec-value{font-family:'JetBrains Mono',monospace;font-size:10.5px;color:var(--text)}
.product-price,.original-price{font-family:Unbounded,sans-serif;font-size:19px}
.old-price{font-size:13px;color:var(--muted);text-decoration:line-through}
/* the price row is always the last element inside the card's <a> —
   give it a top divider without touching the anchor itself (the
   anchor wraps title+desc+specs+price as one block, so margin-top:auto
   on it just shoves the whole block down, not the button below it). */
.product-info a > div:last-child{padding-top:14px;margin-top:2px;border-top:1px solid var(--line);display:block}
.product-btn{width:100%;padding:13px 20px;border:none;border-radius:12px;background:var(--text);color:var(--bg);font-weight:700;
  font-size:13.5px;cursor:pointer;white-space:nowrap;margin-top:auto}
.product-btn:hover{background:var(--accent);color:var(--accent-ink)}
.unavailable{width:100%;padding:13px;color:var(--muted);text-align:center;font-size:13px;font-weight:600;margin-top:auto;
  border:1px dashed var(--line);border-radius:12px}

/* ---------- spotlight (bundle) ---------- */
.sr-spotlight{margin-top:64px;display:grid;grid-template-columns:1fr 1.1fr;gap:0;border:1px solid var(--line);
  border-radius:26px;overflow:hidden;background:var(--surface)}
.sr-spotlight__media{min-height:320px;background:var(--surface-2);display:grid;place-items:center;padding:36px;box-sizing:border-box}
.sr-spotlight__media img{max-width:100%;max-height:100%;object-fit:contain;border-radius:14px;box-shadow:var(--photo-shadow)}
.sr-spotlight__body{padding:44px;display:flex;flex-direction:column;gap:18px;justify-content:center}
.sr-spotlight__badge{align-self:flex-start;padding:6px 12px;border-radius:99px;background:var(--accent);color:var(--accent-ink);
  font-family:'JetBrains Mono',monospace;font-size:10.5px;letter-spacing:.1em;text-transform:uppercase;font-weight:500}
.sr-spotlight__title{font-size:clamp(22px,2.4vw,32px);font-weight:600;line-height:1.15}
.sr-spotlight__text{margin:0;color:var(--muted);font-size:15px;line-height:1.55;max-width:50ch}
.sr-spotlight__row{display:flex;flex-wrap:wrap;align-items:center;gap:18px;margin-top:4px}
.sr-spotlight__price{font-family:Unbounded,sans-serif;font-size:30px}

/* ---------- features ---------- */
.sr-features{margin-top:80px}
.sr-features-title{font-size:clamp(24px,2.6vw,36px);font-weight:600;margin-bottom:26px}
.sr-features-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:16px}
.sr-feature{padding:26px;border:1px solid var(--line);border-radius:20px;background:var(--surface);display:flex;flex-direction:column;gap:10px}
.sr-feature:hover{border-color:var(--accent)}
.sr-feature__n{width:40px;height:40px;border-radius:12px;background:var(--surface-2);border:1px solid var(--line);display:grid;
  place-items:center;font-family:'JetBrains Mono',monospace;font-size:13px;color:var(--accent)}
.sr-feature h3{font-family:Manrope,sans-serif;font-size:16px;font-weight:700}
.sr-feature p{margin:0;font-size:13.5px;line-height:1.55;color:var(--muted)}

/* ---------- contact ---------- */
.sr-contact{margin-top:80px;display:grid;grid-template-columns:1fr 1fr;gap:0;border:1px solid var(--line);border-radius:26px;
  overflow:hidden;background:var(--surface)}
.sr-contact__info{padding:44px;display:flex;flex-direction:column;gap:16px;border-right:1px solid var(--line)}
.section-title{font-size:clamp(22px,2.3vw,32px);font-weight:600}
.section-subtitle{margin:0;color:var(--muted);font-size:15px;line-height:1.55}
.sr-contact__lines{display:flex;flex-direction:column;gap:10px;margin-top:8px}
.sr-contact__phone{font-family:Unbounded,sans-serif;font-size:22px;color:var(--text)}
.sr-contact__email{font-size:14.5px;color:var(--muted)}
.sr-contact__email:hover{color:var(--accent)}
.contact-icons{display:flex;gap:8px;margin-top:12px}
.contact-icon{padding:11px 16px;border:1px solid var(--line);border-radius:11px;font-size:13px;font-weight:600;color:var(--text)}
.contact-icon:hover{border-color:var(--accent);color:var(--accent)}
.contact-form{padding:44px;display:flex;flex-direction:column;gap:14px;background:var(--surface-2)}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.form-group{display:flex;flex-direction:column;gap:6px}
.form-group.full-width{grid-column:1/-1}
.form-label{font-size:12.5px;color:var(--muted)}
.form-input,.form-textarea{padding:15px;border:1px solid var(--line);border-radius:12px;background:var(--surface);
  color:var(--text);font-family:inherit;font-size:14px;outline:none;min-width:0;width:100%}
.form-input:focus,.form-textarea:focus{border-color:var(--accent)}
.form-textarea{resize:vertical}
.submit-btn{padding:16px;border:none;border-radius:13px;background:var(--accent);color:var(--accent-ink);font-weight:700;
  font-size:15px;cursor:pointer}
.submit-btn:hover{filter:brightness(1.08)}
.submit-btn:disabled{opacity:.6;cursor:not-allowed}

/* ---------- footer ---------- */
.sr-footer{border-top:1px solid var(--line);background:var(--bg-2)}
.sr-footer__inner{max-width:1320px;margin:0 auto;padding:44px 24px;display:flex;flex-wrap:wrap;gap:24px;align-items:center;justify-content:space-between}
.sr-footer__links{display:flex;flex-wrap:wrap;gap:22px}
.sr-footer__links a{font-size:13.5px;color:var(--muted)}
.sr-footer__links a:hover{color:var(--accent)}
.sr-footer__copy{font-family:'JetBrains Mono',monospace;font-size:11px;color:var(--muted)}

/* ---------- catalog page hero (dedicated /catalog/ page) ---------- */
.sr-page-hero{padding:44px 0 30px}
.sr-page-hero h1{font-size:clamp(28px,3.2vw,42px);font-weight:600;margin-bottom:10px}
.sr-page-hero__lead{color:var(--muted);font-size:15px;max-width:60ch}
.sr-page-search{margin:22px 0 30px}
.sr-page-search input{width:100%;padding:16px 18px;border:1px solid var(--line);border-radius:14px;background:var(--surface);
  color:var(--text);font-family:inherit;font-size:15px;outline:none}
.sr-page-search input:focus{border-color:var(--accent)}
.sr-catalog-section{padding-bottom:20px}

/* ---------- responsive ---------- */
@media (max-width:960px){
  .sr-header__inner{flex-wrap:wrap}
  .sr-search{order:3;flex:1 1 100%}
  .sr-hero__stats{grid-template-columns:1fr 1fr}
  .sr-trust{grid-template-columns:1fr 1fr}
  .sr-spotlight{grid-template-columns:1fr}
  .sr-spotlight__media{min-height:220px;padding:26px}
  .sr-spotlight__body{padding:30px}
  .sr-contact{grid-template-columns:1fr}
  .sr-contact__info{border-right:none;border-bottom:1px solid var(--line);padding:30px}
  .contact-form{padding:30px}
  .form-grid{grid-template-columns:1fr}
}
@media (max-width:700px){
  .sr-main{padding:0 18px 80px}
  .sr-header__inner{padding:12px 18px;gap:10px}
  .sr-hero{padding:28px 0 18px}
  .sr-hero__card{padding:26px}
  .sr-icon-btn > span:not(.sr-burger){display:none}
  .sr-theme-btn span:not(.sr-theme-dot){display:none}
  .sr-theme-btn{padding:0 12px}
  .sr-cart-btn{padding:0 14px}
  .sr-logo img{height:30px}
  .sr-hero__stats{grid-template-columns:1fr}
  .sr-trust{grid-template-columns:1fr}
  .sr-promo__head{flex-wrap:wrap;gap:14px}
  .sr-hero__actions{flex-direction:column;align-self:stretch}
  .sr-hero__actions .btn{width:100%;text-align:center}
}
@media (max-width:400px){
  .sr-main{padding:0 14px 70px}
  .sr-header__inner{padding:10px 14px;gap:8px}
  .sr-logo img{height:26px}
  .sr-cart-btn__label{display:none}
  .sr-cart-btn{padding:0 12px;gap:6px}
  .sr-hero__card{padding:20px 16px}
  .sr-spotlight__body{padding:22px}
  .sr-spotlight__media{padding:18px}
  .sr-contact__info,.contact-form{padding:22px}
}

/* ============================================================
   product.html — сторінка товару
============================================================ */

/* ---------- breadcrumb ---------- */
.breadcrumb{display:flex;align-items:center;gap:9px;padding:22px 0 20px;font-size:13px;color:var(--muted);flex-wrap:wrap}
.breadcrumb a{color:var(--muted)}
.breadcrumb a:hover{color:var(--accent)}
.breadcrumb .current{color:var(--text)}

/* ---------- main product block ---------- */
.pd-main{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);gap:32px;align-items:start}

/* gallery */
.pd-gallery{display:flex;flex-direction:column;gap:14px;position:relative}
.pd-frame{position:relative;border:1px solid var(--line);border-radius:24px;overflow:hidden;background:var(--surface-2);aspect-ratio:4/3;
  display:grid;place-items:center;padding:32px;box-sizing:border-box}
.pd-frame img{max-width:100%;max-height:100%;object-fit:contain;border-radius:16px;box-shadow:var(--photo-shadow);transition:transform .3s ease}
.pd-frame__badge{position:absolute;top:16px;left:16px;padding:7px 13px;border-radius:99px;background:var(--accent-2);color:#1a1204;
  font-family:'JetBrains Mono',monospace;font-size:10.5px;font-weight:500;letter-spacing:.08em;text-transform:uppercase;z-index:2}
.pd-frame__counter{position:absolute;top:16px;right:16px;padding:6px 11px;border-radius:99px;background:color-mix(in srgb,var(--bg) 72%,transparent);
  border:1px solid var(--line);font-family:'JetBrains Mono',monospace;font-size:10.5px;color:var(--muted)}
.pd-nav{position:absolute;top:50%;transform:translateY(-50%);width:44px;height:44px;border-radius:12px;border:1px solid var(--line);
  background:color-mix(in srgb,var(--bg) 78%,transparent);color:var(--text);font-size:19px;cursor:pointer;backdrop-filter:blur(8px);
  display:grid;place-items:center;line-height:1}
.pd-nav:hover{border-color:var(--accent);color:var(--accent)}
.pd-nav.prev{left:14px}
.pd-nav.next{right:14px}
.pd-thumbs{display:grid;grid-template-columns:repeat(5,1fr);gap:10px}
.thumbnail{padding:8px;box-sizing:border-box;border:1.5px solid var(--line);border-radius:14px;overflow:hidden;background:var(--surface-2);aspect-ratio:1;
  cursor:pointer;display:grid;place-items:center;transition:border-color .2s}
.thumbnail img{max-width:100%;max-height:100%;object-fit:contain;border-radius:6px}
.thumbnail:hover{border-color:var(--accent)}
.thumbnail.active{border-color:var(--accent)}

/* info card */
.pd-info{display:flex;flex-direction:column;gap:20px;border:1px solid var(--line);border-radius:24px;background:var(--surface);
  padding:32px;position:sticky;top:90px}
.pd-topline{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.pd-sku{font-family:'JetBrains Mono',monospace;font-size:10.5px;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);
  padding:5px 10px;border:1px solid var(--line);border-radius:8px;background:var(--surface-2)}
.pd-avail{display:flex;align-items:center;gap:7px;font-family:'JetBrains Mono',monospace;font-size:11px;color:var(--accent)}
.pd-avail.no{color:var(--muted)}
.pd-avail__dot{width:7px;height:7px;border-radius:99px;background:currentColor;flex:none}
.pd-title{font-size:clamp(22px,2.5vw,30px);font-weight:600;line-height:1.16}
.product-subtitle{margin:0;font-size:15px;line-height:1.55;color:var(--muted)}

.pd-keyspecs{display:grid;grid-template-columns:repeat(auto-fit,minmax(96px,1fr));gap:10px}
.pd-keyspecs:empty{display:none}
.pd-keyspec{padding:14px;border:1px solid var(--line);border-radius:14px;background:var(--surface-2);display:flex;flex-direction:column;gap:4px}
.pd-keyspec__v{font-family:Unbounded,sans-serif;font-size:16px;line-height:1.15}
.pd-keyspec__l{font-size:11px;color:var(--muted);line-height:1.3}

.pd-price-row{display:flex;align-items:end;justify-content:space-between;gap:16px;flex-wrap:wrap;padding-top:20px;border-top:1px solid var(--line)}
/* scoped under .prd-price (not bare .product-price/.old-price) — those bare class
   names are also emitted by productCard.js for the small catalog cards, and an
   unscoped rule here would win the specificity tie and blow up every card's price. */
.prd-price .product-price,.prd-price .original-price{font-family:Unbounded,sans-serif;font-size:32px;line-height:1}
.prd-price .old-price{font-size:16px;color:var(--muted);text-decoration:line-through}
.pd-qty{display:flex;align-items:center;gap:2px;border:1px solid var(--line);border-radius:12px;background:var(--surface-2);padding:3px}
.pd-qty button{width:34px;height:34px;border:none;background:transparent;color:var(--text);border-radius:9px;cursor:pointer;font-size:17px}
.pd-qty button:hover{background:var(--surface);color:var(--accent)}
.pd-qty span{min-width:28px;text-align:center;font-family:'JetBrains Mono',monospace;font-size:14px}
.pd-qty input{width:44px;height:34px;border:none;background:transparent;color:var(--text);text-align:center;
  font-family:'JetBrains Mono',monospace;font-size:14px;font-weight:600;outline:none;-moz-appearance:textfield}
.pd-qty input::-webkit-outer-spin-button,.pd-qty input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}

.product-actions{display:grid;grid-template-columns:1.4fr 1fr;gap:10px}
.product-actions .btn{padding:17px;border-radius:14px;font-size:15px;text-align:center;font-weight:700}
.product-actions .btn-primary{background:var(--accent);color:var(--accent-ink);border:none;cursor:pointer}
.product-actions .btn-primary:hover{filter:brightness(1.08)}
.product-actions .btn-secondary{background:transparent;border:1px solid var(--line);color:var(--text);font-weight:600;text-decoration:none;display:flex;align-items:center;justify-content:center}
.product-actions .btn-secondary:hover{border-color:var(--accent);color:var(--accent)}
.product-actions .unavailable{display:flex;align-items:center;justify-content:center;padding:17px;text-align:center;border:1px dashed var(--line);border-radius:14px;color:var(--muted);font-weight:600}

.pd-info-label{font-family:'JetBrains Mono',monospace;font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}
.delivery-options{display:flex;flex-direction:column;gap:0;border:1px solid var(--line);border-radius:16px;overflow:hidden}
.delivery-option{display:grid;grid-template-columns:auto 1fr auto;gap:14px;align-items:center;padding:15px 18px;background:var(--surface-2);border-bottom:1px solid var(--line)}
.delivery-option:last-child{border-bottom:none}
.delivery-option .icon{font-size:20px}
.delivery-option .info{display:flex;flex-direction:column;gap:2px;min-width:0}
.delivery-option .info strong{font-weight:600;font-size:13.5px}
.delivery-option .info small{font-size:12px;color:var(--muted);line-height:1.4}
.delivery-option .price{font-family:'JetBrains Mono',monospace;font-size:12px;color:var(--accent);white-space:nowrap}
.delivery-info h3{font-family:Unbounded,sans-serif;font-size:16px;font-weight:600;margin-bottom:16px}

/* ---------- tabs ---------- */
.pd-tabs{margin-top:64px}
.tab-nav{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:26px}
.tab-btn{padding:12px 20px;border-radius:99px;border:1px solid var(--line);background:var(--surface);color:var(--muted);
  font-weight:600;font-size:13.5px;cursor:pointer;transition:all .2s}
.tab-btn:hover{border-color:var(--accent)}
.tab-btn.active{background:var(--text);color:var(--bg);border-color:var(--text)}
.tab-content{display:none}
.tab-content.active{display:block;animation:srRise .35s ease both}

.pd-card{border:1px solid var(--line);border-radius:22px;background:var(--surface);padding:34px}

/* description prose (also covers raw HTML injected from data/descriptions/*.html) */
.description{font-size:15px;line-height:1.65;color:var(--muted)}
.description h2,.description h3{font-family:Unbounded,Manrope,sans-serif;color:var(--text);margin:26px 0 14px;font-size:20px;font-weight:600;letter-spacing:-.01em}
.description h2:first-child,.description h3:first-child{margin-top:0}
.description p{margin:0 0 14px}
.description ul,.description ol{margin:0 0 16px;padding-left:22px}
.description li{margin-bottom:8px}
.description strong{color:var(--text)}
.description a{color:var(--accent)}
.description img{border-radius:14px;margin:12px 0}
.description iframe{width:100%;max-width:560px;aspect-ratio:16/9;height:auto;border:0;border-radius:14px;margin:12px 0}
.description .specs-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:10px;margin:20px 0}
.description .spec-item{padding:14px 16px;border:1px solid var(--line);border-radius:12px;background:var(--surface-2)}
.description .spec-label{display:block;font-family:'JetBrains Mono',monospace;font-size:10.5px;text-transform:uppercase;color:var(--muted);margin-bottom:4px}
.description .spec-value{display:block;font-weight:600;font-size:14px;color:var(--text)}
.description .highlight-box{margin:20px 0;padding:18px 20px;border-left:2px solid var(--accent);background:var(--surface-2);border-radius:0 14px 14px 0}
.description .highlight-box p{margin:0;color:var(--text);font-weight:600}

/* specifications tab */
#specifications .specs-grid{border:1px solid var(--line);border-radius:22px;background:var(--surface);padding:34px}
#specifications .specs-section{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:0 40px}
#specifications .specs-section h4{grid-column:1/-1;font-size:20px;font-weight:600;margin-bottom:6px;font-family:Unbounded,sans-serif;color:var(--text)}
#specifications .spec-item{display:flex;align-items:baseline;justify-content:space-between;gap:16px;padding:14px 0;border-bottom:1px solid var(--line)}
#specifications .spec-item:last-child{border-bottom:none}
#specifications .spec-label{font-size:13.5px;color:var(--muted)}
#specifications .spec-value{font-family:'JetBrains Mono',monospace;font-size:13px;text-align:right;color:var(--text)}

/* delivery / tenders tabs */
.features-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px;margin:20px 0}
.feature-item{display:flex;align-items:center;gap:14px;padding:18px;background:var(--surface-2);border:1px solid var(--line);border-radius:14px}
.feature-icon{width:38px;height:38px;flex:none;border-radius:50%;background:var(--accent);color:var(--accent-ink);
  display:flex;align-items:center;justify-content:center;font-size:17px}
.pd-tender-cta{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}

/* ---------- related products ---------- */
.pd-related{margin-top:80px}
.pd-related h2{margin-bottom:22px}

/* ---------- responsive ---------- */
@media (max-width:1024px){
  .pd-main{grid-template-columns:1fr;gap:28px}
  .pd-info{position:static}
}
@media (max-width:700px){
  .pd-frame{padding:18px;border-radius:18px}
  .pd-info{padding:20px;border-radius:18px}
  .pd-card{padding:20px}
  #specifications .specs-grid{padding:20px}
  .pd-thumbs{grid-template-columns:repeat(4,1fr)}
  .product-actions{grid-template-columns:1fr}
  .pd-price-row{flex-direction:column;align-items:stretch}
  #specifications .specs-section{grid-template-columns:1fr}
  .pd-tabs{margin-top:40px}
  .pd-related{margin-top:48px}
}
@media (max-width:400px){
  .pd-thumbs{grid-template-columns:repeat(3,1fr)}
  .pd-nav{width:36px;height:36px;font-size:16px}
}

/* ============================================================
   generic content pages — about/support/warranty/delivery/contacts/
   check-serial/reviews. Small building blocks on top of
   .sr-page-hero / .sr-features-grid / .pd-card already defined above.
============================================================ */
.sr-section{margin-top:64px}
.sr-section:first-child{margin-top:0}

/* numbered value card, e.g. "12 months / 24h response / infinite support" */
.sr-stats-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:14px}
.sr-stat-card{padding:26px;border:1px solid var(--line);border-radius:16px;background:var(--surface-2);text-align:center}
.sr-stat-card__v{font-family:Unbounded,sans-serif;font-size:38px;line-height:1;color:var(--accent)}
.sr-stat-card__l{margin-top:10px;font-weight:600;font-size:15px}
.sr-stat-card__t{margin-top:4px;font-size:13px;color:var(--muted)}

/* numbered steps, e.g. warranty claim process 1-2-3-4 */
.sr-steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px}
.sr-step{padding:26px;border:1px solid var(--line);border-radius:18px;background:var(--surface);text-align:center;display:flex;flex-direction:column;gap:8px;align-items:center}
.sr-step__n{width:44px;height:44px;border-radius:50%;background:var(--accent);color:var(--accent-ink);display:flex;align-items:center;justify-content:center;font-weight:700;font-size:17px;font-family:Unbounded,sans-serif}
.sr-step h3{font-size:15.5px}
.sr-step p{margin:0;font-size:13.5px;color:var(--muted);line-height:1.5}

/* simple multi-column text lists, e.g. "what's not covered" */
.sr-cols{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:26px}
.sr-cols h4{font-family:Unbounded,sans-serif;font-size:15px;color:var(--accent);margin-bottom:12px}
.sr-cols ul{margin:0;padding-left:20px;color:var(--muted);line-height:1.8;font-size:14.5px}

/* FAQ accordion — native <details>/<summary>, no JS needed */
.sr-faq{display:flex;flex-direction:column;gap:10px}
.sr-faq details{border:1px solid var(--line);border-radius:16px;background:var(--surface);overflow:hidden}
.sr-faq summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 24px;cursor:pointer;font-weight:600;font-size:15px}
.sr-faq summary::-webkit-details-marker{display:none}
.sr-faq summary::after{content:'+';font-size:22px;color:var(--accent);line-height:1;flex:none}
.sr-faq details[open] summary::after{content:'\2212'}
.sr-faq .sr-faq-a{padding:0 24px 20px;color:var(--muted);font-size:14.5px;line-height:1.65}
.sr-faq .sr-faq-a ul,.sr-faq .sr-faq-a ol{margin:12px 0 0;padding-left:20px}
.sr-faq .sr-faq-a li{margin-bottom:6px}
.sr-faq .sr-faq-a strong{color:var(--text)}

/* office / embedded map card */
.sr-map{display:grid;grid-template-columns:1fr 1.2fr;gap:0;border:1px solid var(--line);border-radius:22px;overflow:hidden;background:var(--surface)}
.sr-map__info{padding:34px}
.sr-map__info h4{font-family:Unbounded,sans-serif;font-size:15px;color:var(--accent);margin-bottom:12px}
.sr-map__info ul{margin:0;padding-left:20px;color:var(--muted);line-height:1.8;font-size:14.5px}
.sr-map iframe{width:100%;height:100%;min-height:340px;border:0;display:block}
@media (max-width:800px){
  .sr-map{grid-template-columns:1fr}
  .sr-map iframe{min-height:260px}
  .sr-map__info{padding:22px}
}

/* ---------- check-serial ---------- */
.sr-verify{max-width:560px;margin:0 auto;border:1px solid var(--line);border-radius:24px;background:var(--surface);padding:48px 40px;text-align:center}
@media (max-width:560px){
  .sr-verify{padding:32px 20px;border-radius:18px}
}
.sr-verify__icon{width:64px;height:64px;margin:0 auto 22px;border-radius:16px;background:var(--surface-2);display:flex;align-items:center;justify-content:center;font-size:30px}
.sr-verify h1{font-size:clamp(24px,2.6vw,30px);margin-bottom:10px}
.sr-verify__lead{margin:0 0 30px;color:var(--muted);font-size:14.5px;line-height:1.6}
.sr-verify form{display:flex;flex-direction:column;gap:20px;text-align:left}
.serial-input{width:100%;padding:16px 18px;border:1.5px solid var(--line);border-radius:12px;background:var(--surface-2);color:var(--text);
  font-family:'JetBrains Mono',monospace;font-size:16px;font-weight:600;letter-spacing:.06em;text-align:center;text-transform:uppercase;outline:none}
.serial-input:focus{border-color:var(--accent)}
.sr-verify .btn--primary{width:100%;display:flex;align-items:center;justify-content:center;gap:10px;border:none}
.sr-verify .btn--primary:disabled{opacity:.55;cursor:not-allowed;filter:none}
.sr-verify-spinner{display:none;width:16px;height:16px;border-radius:50%;border:2px solid rgba(4,20,15,.3);border-top-color:currentColor;animation:srSpin .7s linear infinite}
.sr-result{margin-top:8px;padding:22px;border-radius:16px;text-align:left;display:none;opacity:0;transform:translateY(10px);transition:all .25s ease}
.sr-result.show{display:block;opacity:1;transform:none}
.sr-result.success{background:color-mix(in srgb,var(--accent) 14%,var(--surface));border:1px solid var(--accent)}
.sr-result.error{background:color-mix(in srgb,var(--danger) 14%,var(--surface));border:1px solid var(--danger);color:var(--danger)}
.sr-result__icon{font-size:26px;margin-bottom:8px}
.sr-result__title{font-weight:700;font-size:15.5px;margin-bottom:4px;color:var(--text)}
.sr-result__details{font-size:13.5px;color:var(--muted);line-height:1.5}
.sr-result .product-info-card{margin-top:14px;border:1px solid var(--line);border-radius:12px;overflow:hidden}
.sr-result .info-row{display:flex;justify-content:space-between;padding:11px 16px;border-bottom:1px solid var(--line);font-size:13.5px}
.sr-result .info-row:last-child{border-bottom:none}
.sr-result .info-label{color:var(--muted)}
.sr-result .info-value{font-weight:600;color:var(--text)}

/* ---------- reviews / document viewer (classes emitted by js/Review.js) --- */
.documents-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:20px}
.document-card{border:1px solid var(--line);border-radius:18px;background:var(--surface);padding:24px;cursor:pointer;
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;text-align:center;height:280px;
  transition:transform .25s ease,border-color .25s ease,box-shadow .25s ease}
.document-card:hover{transform:translateY(-4px);border-color:var(--accent);box-shadow:var(--shadow)}
.document-icon{width:96px;height:130px;border-radius:8px;overflow:hidden;box-shadow:var(--photo-shadow)}
.document-icon img{width:100%;height:100%;object-fit:cover}
.document-title{font-weight:700;font-size:15px}
.document-btn{width:100%;padding:12px;border:none;border-radius:11px;background:var(--text);color:var(--bg);font-weight:700;font-size:13px;cursor:pointer}
.document-card:hover .document-btn{background:var(--accent);color:var(--accent-ink)}

.pdf-reader-modal{position:fixed;inset:0;background:rgba(4,6,9,.92);z-index:200;display:none;flex-direction:column}
.pdf-reader-modal.active{display:flex}
.pdf-header{background:var(--surface);border-bottom:1px solid var(--line);padding:18px 26px;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;flex-shrink:0}
.pdf-title{font-family:Unbounded,sans-serif;font-size:16px;font-weight:600}
.pdf-controls{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.pdf-controls button{background:var(--surface-2);border:1px solid var(--line);color:var(--text);padding:8px 14px;border-radius:9px;cursor:pointer;font-size:13px}
.pdf-controls button:hover:not(:disabled){border-color:var(--accent);color:var(--accent)}
.pdf-controls button:disabled{opacity:.4;cursor:not-allowed}
.page-info{color:var(--muted);font-size:13px;margin:0 6px}
.zoom-controls{display:flex;align-items:center;gap:8px}
.close-btn{width:38px;height:38px;border-radius:50%;background:var(--surface-2);border:1px solid var(--line);color:var(--text);
  display:flex;align-items:center;justify-content:center;font-size:18px;cursor:pointer}
.close-btn:hover{border-color:var(--danger);color:var(--danger)}
.pdf-content{flex:1;overflow:auto;padding:22px;display:flex;justify-content:center;align-items:flex-start;background:var(--bg-2)}
.pdf-viewer,.image-viewer{background:#fff;border-radius:10px;box-shadow:0 20px 50px rgba(0,0,0,.5);max-width:100%;max-height:100%}
.pdf-canvas{display:block;border-radius:10px}
.image-viewer{transition:transform .3s ease}
.doc-loading-spinner{display:flex;flex-direction:column;align-items:center;justify-content:center;height:200px;color:var(--muted);gap:16px}
.spinner{width:44px;height:44px;border:3px solid var(--line);border-top-color:var(--accent);border-radius:50%;animation:srSpin 1s linear infinite}
.error-message{background:var(--danger);color:#fff;padding:18px;border-radius:12px;text-align:center;margin:20px}
.notification{position:fixed;top:20px;right:-400px;z-index:250;background:var(--accent);color:var(--accent-ink);padding:14px 20px;border-radius:12px;font-size:14px;font-weight:600;max-width:320px;box-shadow:var(--shadow);transition:right .3s ease}
.notification.show{right:20px}
