:root {
    --navy:     #1e3a5f;
    --navy-mid: #2a4f7c;
    --navy-lt:  #e8f0f9;
    --teal:     #00c896;
    --teal-dk:  #00a87e;
    --teal-lt:  #e0faf3;
    --ink:      #111827;
    --ink-mid:  #374151;
    --muted:    #6b7280;
    --border:   #e5e7eb;
    --bg:       #f9fafb;
    --white:    #ffffff;
    --red:      #ef4444;
    --red-lt:   #fef2f2;
    --font-h: 'Barlow Condensed', sans-serif;
    --font-b: 'Outfit', sans-serif;
    --r: 10px; --r-lg: 16px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,.07), 0 1px 2px rgba(0,0,0,.05);
    --shadow:    0 4px 16px rgba(30,58,95,.10);
    --shadow-lg: 0 12px 40px rgba(30,58,95,.14);
    --navy-m:#2a4f7c;
    --ink2:#374151;
    --bd:#e5e7eb;
    --wh:#ffffff;
    --fh:'Barlow Condensed',sans-serif; --fb:'Outfit',sans-serif;
    --rl:16px;
    --sh:0 4px 16px rgba(30,58,95,.10);
    --sl:0 12px 40px rgba(30,58,95,.14);
    --n:#1e3a5f;--nl:#e8f0f9;--t:#00c896;--td:#00a87e;--tl:#e0faf3;
    --i2:#374151;--mu:#6b7280;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-b); background: var(--bg); color: var(--ink); line-height: 1.6; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
.container { max-width: 1300px; margin: 0 auto; padding: 0 24px; }
svg { flex-shrink: 0; }

/* ── TOPBAR ── */
.topbar { background: var(--navy); color: rgba(255,255,255,.75); font-size: 12.5px; padding: 7px 0; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.tb-left  { display: flex; gap: 24px; align-items: center; }
.tb-right { display: flex; gap: 20px; align-items: center; }
.topbar a { color: inherit; transition: color .15s; }
.topbar a:hover { color: #fff; }
.tb-right a[aria-current="page"] { color: #fff; text-decoration: underline; text-decoration-color: var(--teal); text-underline-offset: 3px; }
.tb-phone { color: #fff !important; font-weight: 600; }
.tb-dot { opacity: .3; }
.tb-item { display: flex; align-items: center; gap: 6px; }
.tb-item svg { opacity: .6; }

/* ── NAVBAR ── */
.navbar { position: sticky; top: 0; z-index: 100; background: var(--white); border-bottom: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.nav-inner { display: flex; align-items: center; gap: 28px; padding: 14px 0; }
.logo { font-family: var(--font-h); font-size: 28px; font-weight: 800; letter-spacing: .5px; color: var(--navy); flex-shrink: 0; line-height: 1; }
.logo em { color: var(--teal); font-style: normal; }

.search-wrap { flex: 1; max-width: 520px; display: flex; background: var(--bg); border: 1.5px solid var(--border); border-radius: 50px; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.search-wrap:focus-within { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(30,58,95,.08); }
.search-wrap input { flex: 1; min-width: 0; background: transparent; border: none; outline: none; padding: 10px 18px; font-family: var(--font-b); font-size: 14px; color: var(--ink); }
.search-wrap input::placeholder { color: var(--muted); }
.search-btn { background: var(--navy); border: none; padding: 10px 20px; cursor: pointer; color: #fff; display: flex; align-items: center; justify-content: center; transition: background .2s; }
.search-btn:hover { background: var(--navy-mid); }
.search-page-heading { display: grid; gap: 12px; margin-bottom: 24px; }
.page-search-form { width: 100%; max-width: 620px; }
.search-results-heading { overflow-wrap: anywhere; font: 700 24px var(--fh); color: var(--navy); }
@media (max-width: 768px) {
    .nav-inner { flex-wrap: wrap; gap: 10px; }
    .header-search { order: 1; flex: 0 0 100%; max-width: none; }
}

.nav-links { display: flex; gap: 24px; list-style: none; font-size: 14px; font-weight: 500; }
.nav-links a { color: var(--ink-mid); transition: color .15s; }
.nav-links a:hover, .nav-links a[aria-current] { color: var(--navy); }
.nav-links a[aria-current] { font-weight: 600; border-bottom: 2px solid var(--teal); padding-bottom: 2px; }

.nav-tools { display: flex; gap: 8px; margin-left: auto; flex-shrink: 0; }
.tool-btn { display: flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 50px; border: 1.5px solid var(--border); font-size: 13px; font-weight: 500; color: var(--ink-mid); cursor: pointer; transition: all .2s; background: var(--white); }
.tool-btn:hover { border-color: var(--navy); color: var(--navy); }
.tool-btn:hover svg { stroke: var(--navy); }
.tool-btn.cart-btn { background: var(--navy); border-color: var(--navy); color: #fff; }
.tool-btn.cart-btn svg { stroke: #fff; }
.tool-btn.cart-btn:hover { background: var(--navy-mid); }
.badge { background: var(--teal); color: #fff; font-size: 10px; font-weight: 700; min-width: 17px; height: 17px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; padding: 0 4px; }

/* ── CAT NAV ── */
.cat-nav { background: var(--white); border-bottom: 1px solid var(--border); scrollbar-width: none; z-index: 10; }
.cat-nav::-webkit-scrollbar { display: none; }
.cat-nav-inner { display: flex; flex-wrap: wrap; gap: 2px; padding: 6px 0 0; }
.cat-nav .cat-nav-inner li .mega-box { top: auto; }
.cat-link.cat-link-more { color: var(--navy); font-weight: 700; }
.cat-link { display: inline-flex; align-items: center; gap: 6px; padding: 7px 15px; border-radius: 6px; font-size: 13px; font-weight: 500; color: var(--ink-mid); transition: all .15s; cursor: pointer; }
.cat-link:hover { background: var(--navy-lt); color: var(--navy); }
.cat-link:hover svg { stroke: var(--navy); }
.cat-link.sale { color: var(--red); background: var(--red-lt); font-weight: 600; }
.cat-link.sale svg { stroke: var(--red); }
.cat-link.sale:hover { background: #fee2e2; }

/* ── HERO ── */
.hero { background: var(--white); padding: 0; overflow: hidden; position: relative; }
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; min-height: 520px; }
.hero-left { padding: 72px 56px 72px 0; display: flex; flex-direction: column; justify-content: center; position: relative; z-index: 2; }
.hero h1 { font-family: var(--font-h); font-size: clamp(40px, 4.5vw, 64px); font-weight: 800; line-height: 1.0; letter-spacing: -.5px; color: var(--navy); margin-bottom: 16px; }
.hero h1 .accent { color: var(--teal-dk); }
.hero p { font-size: 16px; color: var(--muted); line-height: 1.7; max-width: 440px; margin-bottom: 32px; }
.hero-ctas { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 48px; }

.btn-primary { display: inline-flex; align-items: center; gap: 8px; background: var(--teal); color: #fff; font-family: var(--font-b); font-weight: 600; font-size: 15px; padding: 13px 26px; border-radius: 8px; border: none; cursor: pointer; transition: all .2s; }
.btn-primary:hover { background: var(--teal-dk); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0,200,150,.3); }
.btn-secondary { display: inline-flex; align-items: center; gap: 8px; background: var(--navy-lt); color: var(--navy); font-family: var(--font-b); font-weight: 600; font-size: 15px; padding: 13px 26px; border-radius: 8px; border: none; cursor: pointer; transition: all .2s; }
.btn-secondary:hover { background: #d0e4f4; }
.btn-secondary svg { stroke: var(--navy); }


.hero-right { position: relative; overflow: hidden; background: linear-gradient(150deg, #e8f4ff 0%, #d4ebff 40%, #c5e0f8 100%); }
.hero-img { width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: .9; }
.hero-promo-card { position: absolute; bottom: 32px; left: 32px; background: var(--white); border-radius: var(--r-lg); padding: 18px 20px; box-shadow: var(--shadow-lg); min-width: 220px; max-width: min(360px, calc(100% - 64px)); overflow-wrap: anywhere; }
.promo-lbl { font-size: 11px; font-weight: 600; color: var(--teal-dk); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 6px; display: flex; align-items: center; gap: 5px; }
.promo-title { font-family: var(--font-h); font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.promo-price { font-size: 13px; color: var(--muted); }
.promo-price strong { color: var(--teal-dk); font-weight: 700; font-size: 16px; }

/* ── TRUST ── */
.trust { background: var(--navy); padding: 20px 0; }
.trust-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; }
.trust-item { display: flex; align-items: center; gap: 14px; padding: 14px 24px; border-right: 1px solid rgba(255,255,255,.1); }
.trust-item:last-child { border-right: none; }
.t-icon { width: 42px; height: 42px; flex-shrink: 0; background: rgba(255,255,255,.08); border-radius: 9px; display: flex; align-items: center; justify-content: center; }
.t-title { font-size: 13px; font-weight: 600; color: #fff; }
.t-sub   { font-size: 12px; color: rgba(255,255,255,.5); margin-top: 1px; }
.t-icon i {color: var(--border); font-size: 19px}

/* ── SECTIONS ── */
.section { padding: 64px 0; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 32px; }
.sec-title { font-family: var(--font-h); font-size: clamp(24px, 3vw, 36px); font-weight: 800; letter-spacing: -.3px; color: var(--navy); line-height: 1; }
.link-all { font-size: 13px; font-weight: 600; color: var(--navy); display: flex; align-items: center; gap: 5px; transition: gap .15s; white-space: nowrap; }
.link-all:hover { gap: 10px; }

/* ── CATEGORIES ── */
.cats-grid { display: grid; grid-template-columns: repeat(8,1fr); gap: 10px; }
.cat-card { background: var(--white); border: 1.5px solid var(--border); border-radius: var(--r-lg); padding: 24px 12px; text-align: center; cursor: pointer; transition: all .22s; position: relative; overflow: hidden; }
.cat-card:hover { border-color: var(--navy); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.cat-card.wide { grid-column: span 2; }
.cat-photo { width: min(72px, 100%); height: 72px; object-fit: contain; margin: 0 auto 12px; border-radius: 8px; }
.cat-photo-placeholder { display: grid; place-items: center; background: var(--navy-lt); color: var(--navy); font-size: 30px; }
.cat-name { font-size: 12px; font-weight: 600; color: var(--ink-mid); line-height: 1.3; overflow-wrap: anywhere; }
.cat-count { font-size: 11px; color: var(--muted); margin-top: 3px; }

/* ── PROMO STRIP ── */
.home-products { padding-top: 0; background: var(--bg); }
.promo-strip { padding: 0 0 64px; scroll-margin-top: 120px; }
.ps-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.ps-card:only-child { grid-column: 1 / -1; }
.ps-card { border-radius: 20px; overflow: hidden; position: relative; min-height: 240px; display: flex; background: var(--navy); }
.ps-card-2 { background: #006450; }
.ps-img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.ps-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(30,58,95,.88) 0%, rgba(30,58,95,.3) 100%); }
.ps-card-2 .ps-overlay { background: linear-gradient(135deg, rgba(0,168,126,.90) 0%, rgba(0,100,80,.4) 100%); }
.ps-content { position: relative; z-index: 2; padding: 36px 40px; display: flex; flex-direction: column; justify-content: flex-end; }
.ps-tag { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; opacity: .7; color: #fff; margin-bottom: 8px; display: flex; align-items: center; gap: 6px; }
.ps-title { font-family: var(--font-h); font-size: 30px; font-weight: 800; color: #fff; letter-spacing: -.3px; line-height: 1.1; margin-bottom: 10px; }
.ps-sub { font-size: 14px; color: rgba(255,255,255,.7); margin-bottom: 22px; }
.btn-white { display: inline-flex; align-items: center; gap: 7px; background: #fff; color: var(--navy); font-family: var(--font-b); font-weight: 700; font-size: 14px; padding: 11px 22px; border-radius: 7px; border: none; cursor: pointer; width: fit-content; transition: all .2s; }
.btn-white:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(0,0,0,.2); }

/* ── BRANDS ── */
.brands-sec { background: var(--white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 40px 0; overflow: hidden; }
.home-brand-link { display: grid; place-items: center; min-height: 52px; padding: 4px 44px; color: var(--navy); font-weight: 600; white-space: nowrap; }
.home-brand-link:hover { opacity: .75; }
.home-brand-link img { width: 100px; height: 44px; object-fit: contain; }

/* ── WHY ── */
.why-bg { background: var(--navy-lt); }
.why-ic i { color: var(--navy); font-size: 24px; }
.why-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.why-card { background: var(--white); border-radius: var(--r-lg); padding: 32px; border: 1.5px solid var(--border); transition: all .22s; }
.why-card:hover { border-color: var(--navy); box-shadow: var(--shadow); }
.why-ic { width: 52px; height: 52px; background: var(--navy-lt); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.why-title { font-family: var(--font-h); font-size: 20px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.why-text  { font-size: 14px; color: var(--muted); line-height: 1.65; }

/* ── CTA ── */
.cta-sec { padding: 72px 0; }
.cta-inner { background: var(--navy); border-radius: 24px; padding: 72px 80px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 48px; position: relative; overflow: hidden; }
.cta-inner::before { content: ''; position: absolute; right: -60px; top: -60px; width: 300px; height: 300px; background: radial-gradient(circle, rgba(0,200,150,.15), transparent 70%); pointer-events: none; }
.cta-title { font-family: var(--font-h); font-size: clamp(28px, 3.5vw, 46px); font-weight: 800; letter-spacing: -.5px; color: #fff; line-height: 1.05; margin-bottom: 12px; }
.cta-title em { color: var(--teal); font-style: normal; }
.cta-sub { font-size: 16px; color: rgba(255,255,255,.6); max-width: 460px; }
.cta-right { display: flex; flex-direction: column; align-items: center; gap: 16px; flex-shrink: 0; }
.cta-phone { font-family: var(--font-h); font-size: 34px; font-weight: 800; color: #fff; letter-spacing: -.5px; transition: color .15s; }
.cta-phone:hover { color: var(--teal); }
.cta-btns { display: flex; gap: 10px; }
.btn-teal { display: inline-flex; align-items: center; gap: 7px; background: var(--teal); color: #fff; font-family: var(--font-b); font-weight: 600; font-size: 14px; padding: 12px 22px; border-radius: 8px; border: none; cursor: pointer; transition: all .2s; }
.btn-teal:hover { background: var(--teal-dk); }
.btn-ghost { display: inline-flex; align-items: center; gap: 7px; background: transparent; color: #fff; font-family: var(--font-b); font-weight: 500; font-size: 14px; padding: 12px 22px; border-radius: 8px; border: 1.5px solid rgba(255,255,255,.25); cursor: pointer; transition: all .2s; }
.btn-ghost:hover { border-color: rgba(255,255,255,.6); background: rgba(255,255,255,.05); }

/* ── FOOTER ── */
.footer { background: var(--white); border-top: 1px solid var(--border); padding: 56px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.foot-logo { font-family: var(--font-h); font-size: 26px; font-weight: 800; color: var(--navy); margin-bottom: 14px; }
.foot-logo em { color: var(--teal); font-style: normal; }
.foot-desc { font-size: 14px; color: var(--muted); line-height: 1.7; margin-bottom: 22px; }
.foot-socials { display: flex; gap: 8px; }
.soc-btn { width: 36px; height: 36px; background: var(--bg); border: 1.5px solid var(--border); border-radius: 8px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all .2s; }
.soc-btn:hover { background: var(--navy); border-color: var(--navy); }
.soc-btn:hover svg { stroke: #fff; fill: none; }
.soc-btn svg { stroke: var(--muted); }
.foot-head { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .8px; color: var(--ink-mid); margin-bottom: 16px; }
.foot-ul { list-style: none; }
.foot-ul li { margin-bottom: 10px; }
.foot-ul a { font-size: 14px; color: var(--muted); transition: color .15s; }
.foot-ul a:hover { color: var(--navy); }
.foot-contact { font-size: 14px; color: var(--ink-mid); margin-bottom: 9px; display: flex; align-items: center; gap: 8px; }
.foot-contact svg { stroke: var(--muted); flex-shrink: 0; }
.footer-bottom { padding-top: 22px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--muted); }

/* BREADCRUMB */
.breadcrumb{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--muted);padding:16px 0}
.breadcrumb a{color:var(--navy);transition:color .15s}
.breadcrumb a:hover{color:var(--teal)}
.breadcrumb span{opacity:.4}

/* BUTTONS */
.btn-p{display:inline-flex;align-items:center;gap:7px;background:var(--teal);color:#fff;font-family:var(--fb);font-weight:600;font-size:14px;padding:11px 22px;border-radius:8px;border:none;cursor:pointer;transition:all .2s}
.btn-p:hover{background:var(--teal-dk);transform:translateY(-1px);box-shadow:0 6px 20px rgba(0,200,150,.3)}
.btn-n{display:inline-flex;align-items:center;gap:7px;background:var(--navy);color:#fff;font-family:var(--fb);font-weight:600;font-size:14px;padding:11px 22px;border-radius:8px;border:none;cursor:pointer;transition:all .2s}
.btn-n:hover{background:var(--navy-m)}
.btn-o{display:inline-flex;align-items:center;gap:7px;background:var(--wh);color:var(--navy);font-family:var(--fb);font-weight:500;font-size:14px;padding:10px 22px;border-radius:8px;border:1.5px solid var(--bd);cursor:pointer;transition:all .2s}
.btn-o:hover{border-color:var(--navy)}
.btn-lt{display:inline-flex;align-items:center;gap:7px;background:var(--navy-lt);color:var(--navy);font-family:var(--fb);font-weight:600;font-size:14px;padding:11px 22px;border-radius:8px;border:none;cursor:pointer;transition:all .2s}
.btn-lt:hover{background:#d0e4f4}

/* CARDS */
.card{background:var(--wh);border:1.5px solid var(--bd);border-radius:var(--rl);padding:24px}

/* FORM ELEMENTS */
.form-group{display:flex;flex-direction:column;gap:6px;margin-bottom:18px}
.form-group label{font-size:13px;font-weight:500;color:var(--ink2)}
.form-group input,.form-group select,.form-group textarea{background:var(--bg);border:1.5px solid var(--bd);border-radius:8px;padding:10px 14px;font-family:var(--fb);font-size:13px;color:var(--ink);outline:none;transition:border-color .2s,box-shadow .2s;width:100%}
.form-group input:focus,.form-group select:focus,.form-group textarea:focus{border-color:var(--navy);box-shadow:0 0 0 3px rgba(30,58,95,.08)}
.form-group textarea{resize:vertical;min-height:110px}

/* PAGE TITLE */
.page-title{font-family:var(--fh);font-size:clamp(26px,3vw,40px);font-weight:800;letter-spacing:-.3px;color:var(--navy);line-height:1;margin-bottom:6px}
.page-sub{font-size:14px;color:var(--muted);margin-bottom:28px}

/* TAGS/BADGES */
.tag{display:inline-flex;align-items:center;padding:3px 9px;border-radius:50px;font-size:11px;font-weight:600}
.tag-hit{background:#fef3c7;color:#92400e}
.tag-new{background:var(--teal-lt);color:var(--teal-dk)}
.tag-sale{background:var(--red-lt);color:var(--red)}
.tag-success{background:#d1fae5;color:#065f46}
.tag-pending{background:#fef3c7;color:#92400e}
.tag-cancelled{background:var(--red-lt);color:var(--red)}

/* SIDEBAR */
.layout-sidebar{display:grid;grid-template-columns:260px 1fr;gap:28px;align-items:start}
.sidebar{position:sticky;top:80px}
.sidebar-section{background:var(--wh);border:1.5px solid var(--bd);border-radius:var(--rl);overflow:hidden;margin-bottom:16px}
.sidebar-head{padding:14px 18px;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.6px;color:var(--muted);border-bottom:1px solid var(--bd);background:var(--bg)}
.sidebar-item{display:flex;align-items:center;justify-content:space-between;padding:10px 18px;font-size:13px;color:var(--ink2);border-bottom:1px solid var(--bd);cursor:pointer;transition:background .15s}
.sidebar-item:last-child{border-bottom:none}
.sidebar-item:hover{background:var(--bg);color:var(--navy)}
.sidebar-item.act{background:var(--navy-lt);color:var(--navy);font-weight:600}
.sidebar-count{font-size:11px;color:var(--muted);background:var(--bg);padding:1px 7px;border-radius:50px;border:1px solid var(--bd)}
.catalog-filter{min-width:0;padding:0}
.catalog-filter legend{float:left;width:100%}
.catalog-filter-options{clear:both;display:flex;flex-direction:column;gap:8px;padding:14px 18px;font-size:13px;color:var(--ink2)}
.catalog-filter-options label:not(.form-group){display:flex;align-items:center;gap:8px;cursor:pointer}
.catalog-filter-options input[type="checkbox"]{flex-shrink:0;accent-color:var(--navy)}
.catalog-filter-brands{max-height:180px;overflow:auto}
.catalog-filter-prices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.catalog-filter-prices .form-group{margin:0}
.catalog-filter-prices input{padding:8px}
.catalog-filter-actions{display:flex;gap:8px;margin-bottom:16px}
.catalog-filter-actions>*{flex:1;justify-content:center;padding:8px;font-size:12px}
.catalog-sort{background:var(--wh);border:1.5px solid var(--bd);border-radius:8px;padding:8px 12px;font-family:var(--fb);font-size:12px;color:var(--ink2);cursor:pointer}
.btn-change-view[data-catalog-view] { color: var(--muted); }
.btn-change-view[data-catalog-view][aria-pressed="true"] { color: var(--navy); }

/* ACCOUNT LAYOUT */
.account-layout{display:grid;grid-template-columns:240px minmax(0,1fr);gap:24px;align-items:start;padding-block:28px}
.account-nav{background:var(--wh);border:1.5px solid var(--bd);border-radius:var(--rl);overflow:hidden;position:sticky;top:80px}
.account-nav-user{padding:20px;border-bottom:1px solid var(--bd);display:flex;align-items:center;gap:12px}
.avatar{width:44px;height:44px;border-radius:50%;background:var(--navy-lt);border:2px solid var(--navy-lt);display:flex;align-items:center;justify-content:center;font-family:var(--fh);font-size:16px;font-weight:700;color:var(--navy);flex-shrink:0}
.account-nav-item{display:flex;align-items:center;gap:10px;padding:11px 18px;font-size:13px;font-weight:500;color:var(--ink2);border-bottom:1px solid var(--bd);cursor:pointer;transition:background .15s}
.account-nav-item:last-child{border-bottom:none}
.account-nav-item:hover{background:var(--bg);color:var(--navy)}
.account-nav-item.act{background:var(--navy-lt);color:var(--navy);font-weight:600}
.account-nav-item svg{stroke:var(--muted)}
.account-nav-item.act svg,.account-nav-item:hover svg{stroke:var(--navy)}
.account-content { min-width: 0; }
.account-heading { margin-bottom: 22px; }
.account-nav-identity { min-width: 0; overflow-wrap: anywhere; }
.account-nav-name { color: var(--ink); font-size: 14px; font-weight: 600; }
.account-nav-email { color: var(--muted); font-size: 11px; }
.account-logout-button { width: 100%; font-family: inherit; border: 0; background: transparent; text-align: left; cursor: pointer; }
.account-nav-item.account-logout, .account-nav-item.account-logout svg { color: var(--red); stroke: var(--red); }
.account-logout:hover { background: var(--red-lt); }
.ua-item[aria-current="page"] { background: var(--navy-lt); color: var(--navy); }
.account-stack { display: grid; gap: 16px; }
.account-link { color: var(--navy); text-decoration: underline; text-underline-offset: 2px; }
.account-order { padding: 0; overflow: hidden; }
.account-order-header, .account-order-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.account-order-header { justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--bd); }
.account-order-title, .account-order-total, .account-section-title { color: var(--navy); font: 700 18px var(--fh); }
.account-order-meta time { color: var(--muted); font-size: 12px; }
.account-order-details { padding: 12px 20px; font-size: 13px; }
.account-order-details summary { cursor: pointer; color: var(--navy); font-weight: 600; width: fit-content; }
.account-order-items { margin-top: 12px; list-style: none; }
.account-order-items li { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--bd); }
.account-order-items img { width: 48px; height: 48px; border-radius: 7px; background: var(--bg); object-fit: contain; }
.account-order-items small { display: block; color: var(--muted); overflow-wrap: anywhere; }
.account-order-info { display: grid; gap: 8px; margin-top: 12px; }
.account-order-info dt { font-weight: 600; }
.account-order-info dd { overflow-wrap: anywhere; }
.account-favorites.prods-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 215px), 1fr)); }
.account-payment-card { padding: 0; overflow-x: auto; }
.account-payment-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 13px; }
.account-payment-table th, .account-payment-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--bd); }
.account-payment-table th { background: var(--bg); color: var(--muted); font-size: 12px; }
.account-payment-table tbody tr:last-child td { border-bottom: 0; }
.account-payment-number { color: var(--navy); font-weight: 600; }
.account-payment-amount { white-space: nowrap; font-weight: 600; }
.account-section-title { margin-bottom: 16px; }
.account-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.account-password-fields { max-width: 380px; }
.account-notifications { margin-bottom: 16px; }
.account-notification { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--bd); font-size: 13px; cursor: pointer; }
.account-notification small { display: block; color: var(--muted); }
.account-notification input { position: absolute; inset-inline-end: 0; opacity: 0; }
.account-switch { flex: 0 0 36px; height: 20px; border-radius: 20px; background: var(--muted); }
.account-switch::after { content: ""; display: block; width: 14px; height: 14px; margin: 3px; border-radius: 50%; background: var(--wh); }
.account-notification input:checked + .account-switch { background: var(--teal-dk); }
.account-notification input:checked + .account-switch::after { transform: translateX(16px); }
.account-notification input:focus-visible + .account-switch { outline: 2px solid var(--navy); outline-offset: 3px; }
.account-status, .account-errors { margin-bottom: 16px; padding: 10px 14px; border-radius: 8px; font-size: 13px; }
.account-status { color: var(--navy); background: var(--teal-lt); }
.account-errors { padding-inline-start: 30px; color: var(--red); background: var(--red-lt); }
.account-danger { border-color: var(--red); }
.account-danger :is(h2, summary, .account-delete-button) { color: var(--red); }
.account-danger p { margin-bottom: 16px; font-size: 13px; }
.account-danger form { margin-top: 16px; }
.account-danger summary { width: fit-content; }
.prod-acts { position: absolute; top: 10px; right: 10px; display: flex; gap: 5px; }
.prod-acts .pa-btn { color: var(--navy); }
.favorite-button[aria-pressed="true"] { color: var(--red); background: var(--red-lt); }
.prod-acts .pa-btn:is(:hover, :focus-visible) { color: var(--white); background: var(--navy); border-color: var(--navy); }
.product-cart-actions { display: flex; align-items: flex-end; gap: 10px; margin-bottom: 20px; }
.product-cart-actions [data-cart-form] { flex: 1; min-width: 0; }
.product-cart-submit { width: 100%; justify-content: center; }
.prod-lbl-wrap { position: absolute; top: 10px; left: 10px; }
.prods-grid.list .prod-acts { top: auto; bottom: 5px; right: 5px; }
.compact-product-photos.prods-grid .prod-img-wrap { height: clamp(104px, 15vw, 156px); aspect-ratio: auto; }
.compact-product-photos.prods-grid .prod-img-wrap > a { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; padding: 12px; }
.compact-product-photos.prods-grid .prod-img { width: min(100%, 150px); height: 100%; min-height: 0; object-fit: contain; }
.compact-product-photos.prods-grid .prod-card:hover .prod-img { transform: none; }
.compact-product-photos.prods-grid.list .prod-img-wrap { flex: 0 0 100px; height: 104px; }
.compact-product-photos.prods-grid.list .prod-img-wrap > a { padding: 8px 10px 32px; }
.product-tabs { margin-bottom: 28px; border: 1.5px solid var(--bd); border-radius: var(--rl); background: var(--wh); }
.product-tab-list { display: flex; border-bottom: 1px solid var(--bd); }
.product-tabs [hidden] { display: none; }
.product-tab-list button { padding: 14px 20px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--muted); font: 500 13px var(--fb); cursor: pointer; }
.product-tab-list button[aria-selected="true"] { border-bottom-color: var(--teal); color: var(--navy); font-weight: 600; }
.product-tab-panel { padding: 24px; overflow-wrap: anywhere; }
.product-tab-title { margin-bottom: 12px; font: 700 20px var(--fh); color: var(--navy); }
.product-tabs.is-enhanced .product-tab-title { display: none; }
.product-properties { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
.product-property { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; padding-block: 10px; border-bottom: 1px solid var(--bd); font-size: 13px; }
.product-property dt { color: var(--muted); }
.product-property dd { font-weight: 500; }
.product-description :is(p, ul, ol, blockquote, table) + * { margin-top: .75em; }
.product-description :is(ul, ol) { padding-inline-start: 1.5em; }
.product-description a { color: var(--navy); text-decoration: underline; }
.product-description img { max-width: 100%; height: auto; }
.product-description { overflow-x: auto; }
.product-rating { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 16px; font-size: 13px; }
.product-rating a, .product-review-note a { color: var(--navy); text-decoration: underline; text-underline-offset: 2px; }
.review-stars, .review-rating-options {
    --review-gold-edge: linear-gradient(155deg, #ffe28a 8%, #edaa34 48%, #a95812 94%);
    --review-gold-face: linear-gradient(155deg, #fffbdc 5%, #ffe389 33%, #f8b83e 55%, #e58719 100%);
    --review-gold-shadow: drop-shadow(0 1px 1px rgb(139 75 16 / 38%));
}
.review-stars { display: inline-flex; gap: 3px; }
.review-star {
    --review-star-shape: polygon(50% 3%, 64% 33%, 97% 37%, 73% 60%, 79% 94%, 50% 78%, 21% 94%, 27% 60%, 3% 37%, 36% 33%);
    position: relative;
    display: block;
    flex: none;
    width: var(--review-star-size, 19px);
    height: var(--review-star-size, 19px);
    filter: var(--review-star-shadow, none);
}
.review-star::before, .review-star::after {
    content: "";
    position: absolute;
    inset: 0;
    clip-path: var(--review-star-shape);
}
.review-star::before { background: var(--review-star-edge, linear-gradient(155deg, #c0cbda, #8594a8)); }
.review-star::after { background: var(--review-star-face, linear-gradient(155deg, #fff, #e3e9f0)); transform: scale(.78); }
.review-star-filled,
.review-rating-options label:has(input:checked) .review-star,
.review-rating-options label:has(~ label input:checked) .review-star {
    --review-star-edge: var(--review-gold-edge);
    --review-star-face: var(--review-gold-face);
    --review-star-shadow: var(--review-gold-shadow);
}
.product-reviews { margin-bottom: 28px; scroll-margin-top: 96px; }
.product-reviews h2 { margin-bottom: 16px; color: var(--navy); font: 800 24px var(--fh); }
.product-review-form { padding-bottom: 20px; }
.product-review-form h3 { margin-bottom: 12px; color: var(--navy); font-size: 16px; }
.review-rating-field { border: 0; padding: 0; margin-bottom: 18px; }
.review-rating-field legend { color: var(--ink2); font-size: 13px; font-weight: 500; }
.review-rating-options { display: flex; width: fit-content; }
.review-rating-options label { --review-star-size: 31px; position: relative; display: grid; place-items: center; width: 42px; height: 42px; cursor: pointer; }
.review-rating-options input { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.review-rating-options label:has(input:focus-visible) { outline: 2px solid var(--navy); outline-offset: -2px; border-radius: 6px; }
@media (hover: hover) {
    .review-rating-options:has(label:hover) label:not(:hover):not(:has(~ label:hover)) .review-star {
        --review-star-edge: initial;
        --review-star-face: initial;
        --review-star-shadow: initial;
    }
    .review-rating-options label:hover .review-star,
    .review-rating-options label:has(~ label:hover) .review-star {
        --review-star-edge: var(--review-gold-edge);
        --review-star-face: var(--review-gold-face);
        --review-star-shadow: var(--review-gold-shadow);
    }
}
.review-photo-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.review-photo-list[hidden], .review-gallery-controls[hidden] { display: none; }
.review-photo-list a { border-radius: 8px; }
.review-photo-list img { width: 88px; height: 88px; object-fit: cover; border: 1px solid var(--bd); border-radius: 8px; background: var(--bg); }
.review-gallery-dialog { margin: auto; width: min(92vw, 900px); max-height: 92vh; padding: 12px; border: 0; border-radius: 12px; background: var(--wh); }
.review-gallery-dialog::backdrop { background: rgb(17 24 39 / 78%); }
.review-gallery-dialog form { display: flex; justify-content: flex-end; margin-bottom: 8px; }
.review-gallery-dialog img { width: 100%; height: auto; max-height: 72vh; object-fit: contain; }
.review-gallery-close { padding: 4px 12px; font-size: 20px; }
.review-gallery-controls { display: flex; justify-content: center; align-items: center; gap: 12px; margin-top: 8px; }
.product-review-note { margin-bottom: 12px; color: var(--muted); font-size: 13px; }
.product-review { padding-block: 14px; border-top: 1px solid var(--bd); }
.product-review header { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 6px; }
.product-review h3 { font-size: 14px; }
.product-review :is(span, time) { font-size: 13px; }
.product-review time { color: var(--muted); }
.product-review p { white-space: pre-wrap; overflow-wrap: anywhere; }
.review-status, .review-errors { margin-bottom: 12px; padding: 8px 12px; border-radius: 8px; font-size: 13px; }
.review-status { color: var(--navy); background: var(--teal-lt); }
.review-errors { color: var(--red); background: var(--red-lt); padding-inline-start: 30px; }
.favorite-feedback { position: fixed; right: 16px; bottom: 16px; z-index: 150; padding: 8px 14px; border-radius: 8px; background: var(--navy); color: var(--wh); }
@media (max-width: 600px) {
    .account-fields { grid-template-columns: 1fr; }
    .account-order-items li > :last-child { grid-column: 2; }
    .product-tab-panel { padding: 16px; }
    .product-properties { grid-template-columns: 1fr; }
}


/* STARS */
.stars{display:flex;gap:2px}
.star{fill:#f59e0b}
.star-e{fill:#e5e7eb}

/* ── OVERLAY ── */
.overlay {
    position: fixed; inset: 0; z-index: 9;
    background: rgba(15,25,50,.3);
    backdrop-filter: blur(2px);
    opacity: 1; pointer-events: none;
    transition: opacity .22s;
}

/* ── MEGA DROP ── */
.mega-box {
    background: var(--wh);
    border-top: 3px solid var(--teal);
    border-bottom: 1px solid var(--bd);
    box-shadow: 0 20px 60px rgba(30,58,95,.14);
}
.mega-box-inner {
    display: grid;
    grid-template-columns: 1fr 272px;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── SUBCATEGORY COLUMNS ── */
.sub-cols {
    padding: 24px 28px 24px 0;
    border-right: 1px solid var(--bd);
    column-count: 3;
    column-gap: 40px;
}

.sub-col {
    flex: 1; min-width: 0;
    padding: 0 20px;
    border-right: 1px solid var(--bd);
}
.sub-col:first-child { padding-left: 0; }
.sub-col:last-child { border-right: none; }

.sub-col-head {
    font-size: 10px; font-weight: 700;
    text-transform: uppercase; letter-spacing: .8px;
    color: var(--muted);
    padding-bottom: 8px; margin-bottom: 8px;
    border-bottom: 1px solid var(--bd);
    display: block;
}

.sub-link {
    display: flex; align-items: center; gap: 8px;
    padding: 6px 8px; border-radius: 7px;
    font-size: 12.5px; color: var(--ink2);
    transition: all .14s; cursor: pointer;
    margin-bottom: 1px; text-decoration: none;
}
.sub-link:hover { background: var(--navy-lt); color: var(--navy); }
.sub-link:hover .sub-icon { background: var(--navy); }
.sub-link:hover .sub-icon svg { stroke: #fff; }
.sub-link.hot { color: var(--red); }
.sub-link.hot .sub-icon { background: var(--red-lt); }
.sub-link.hot .sub-icon svg { stroke: var(--red); }
.sub-link.hot:hover { background: var(--red-lt); color: var(--red); }
.sub-link.hot:hover .sub-icon { background: var(--red); }
.sub-link.hot:hover .sub-icon svg { stroke: #fff; }

.sub-icon {
    width: 26px; height: 26px; flex-shrink: 0;
    background: var(--bg); border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
    transition: all .14s;
}
.sub-text {}
.sub-name { font-size: 12px; font-weight: 500; line-height: 1.2; }
.sub-count { font-size: 10px; color: var(--muted); margin-top: 1px; }
.sub-link.hot .sub-count { color: var(--red); opacity: .7; }

.sub-all {
    display: flex; align-items: center; gap: 5px;
    padding: 8px 8px 0; margin-top: 6px;
    border-top: 1px solid var(--bd);
    font-size: 11.5px; font-weight: 600; color: var(--navy);
    cursor: pointer; text-decoration: none;
    transition: gap .15s;
}
.sub-all:hover { gap: 9px; }

/* ── PROMO PANEL ── */
.mega-promo {
    padding: 20px 0 20px 24px;
    display: flex; flex-direction: column; gap: 10px;
}

.promo-img-card {
    border-radius: 11px; overflow: hidden;
    position: relative; flex: 1; min-height: 150px;
    cursor: pointer; display: flex; flex-direction: column; justify-content: flex-end;
    transition: transform .2s;
}
.promo-img-card:hover { transform: scale(1.02); }
.pic-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pic-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,40,80,.04) 0%, rgba(20,40,80,.76) 100%); }
.pic-body { position: relative; z-index: 1; padding: 12px 14px; }
.pic-tag {
    display: inline-flex; align-items: center; gap: 3px;
    background: var(--teal); color: #fff;
    font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px;
    padding: 2px 7px; border-radius: 50px; margin-bottom: 5px;
}
.pic-title { font-family: var(--fh); font-size: 17px; font-weight: 800; color: #fff; line-height: 1.15; margin-bottom: 2px; }
.pic-sub { font-size: 11px; color: rgba(255,255,255,.75); }

.promo-pill {
    border-radius: 9px; padding: 11px 13px;
    cursor: pointer; transition: filter .15s;
}
.promo-pill:hover { filter: brightness(.96); }
.pp-label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; margin-bottom: 3px; }
.pp-title { font-family: var(--fh); font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 2px; }
.pp-sub { font-size: 11px; color: var(--muted); }

/* GRID VIEW */
.grid-view{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}

.pc{
    background:var(--wh);border:1px solid var(--bd);border-radius:12px;
    overflow:hidden;cursor:pointer;
    transition:border-color .2s,transform .2s,box-shadow .2s;
    display:flex;flex-direction:column;
}
.pc:hover{border-color:#93b8d8;transform:translateY(-2px);box-shadow:0 8px 28px rgba(30,58,95,.12)}
.pimg{
    aspect-ratio:1;background:var(--bg);position:relative;overflow:hidden;
}
.pimg img{width:100%;height:100%;object-fit:contain;padding:14px;transition:transform .3s}
.pc:hover .pimg img{transform:scale(1.05)}
.plbl{
    position:absolute;top:8px;left:8px;
    font-size:10px;font-weight:600;text-transform:uppercase;
    padding:2px 7px;border-radius:4px;letter-spacing:.3px;
}
.l-hit{background:#fef3c7;color:#92400e}
.l-new{background:var(--tl);color:var(--td)}
.l-sale{background:var(--rl);color:var(--r)}
.pacts{
    position:absolute;top:7px;right:7px;
    display:flex;flex-direction:column;gap:4px;
    opacity:0;transition:opacity .2s;
}
.pc:hover .pacts{opacity:1}
.pab{
    width:26px;height:26px;background:var(--wh);border:1px solid var(--bd);
    border-radius:50%;display:flex;align-items:center;justify-content:center;
    cursor:pointer;transition:all .15s;
}
.pab:hover{background:var(--n);border-color:var(--n)}
.pab:hover svg{stroke:#fff}
.pab svg{fill:none;stroke:var(--mu);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;width:12px;height:12px}
.pbody{padding:12px 13px 13px;flex:1;display:flex;flex-direction:column}
.pbrand{font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.5px;color:var(--td);margin-bottom:4px}
.pname{font-size:12px;font-weight:500;color:var(--i2);line-height:1.35;flex:1;margin-bottom:10px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.pfoot{display:flex;align-items:center;justify-content:space-between;gap:6px}
.pnow{font-family:var(--fh);font-size:18px;font-weight:700;color:var(--n);line-height:1}
.pold{font-size:10px;color:var(--mu);text-decoration:line-through;margin-top:1px}
.pcur{font-size:11px;color:var(--mu)}
.badd{
    background:var(--n);color:#fff;border:none;border-radius:7px;
    padding:6px 11px;font-size:11px;font-weight:600;cursor:pointer;
    white-space:nowrap;transition:background .2s;font-family:var(--fb);
    display:flex;align-items:center;gap:4px;flex-shrink:0;
}
.badd:hover{background:var(--t)}
.badd svg{fill:none;stroke:#fff;stroke-width:2.5;stroke-linecap:round;width:11px;height:11px}

/* LIST VIEW */
.list-view{display:flex;flex-direction:column;gap:10px}

.lc{
    background:var(--wh);border:1px solid var(--bd);border-radius:12px;
    overflow:hidden;cursor:pointer;
    transition:border-color .2s,box-shadow .2s;
    display:flex;align-items:center;gap:0;
}
.lc:hover{border-color:#93b8d8;box-shadow:0 4px 16px rgba(30,58,95,.09)}
.limg{
    width:110px;height:110px;flex-shrink:0;
    background:var(--bg);position:relative;overflow:hidden;
}
.limg img{width:100%;height:100%;object-fit:contain;padding:12px;transition:transform .3s}
.lc:hover .limg img{transform:scale(1.05)}
.limg .plbl{top:6px;left:6px}
.lbody{
    flex:1;padding:14px 16px;display:flex;
    align-items:center;gap:20px;min-width:0;
}
.linfo{flex:1;min-width:0}
.lbrand{font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.5px;color:var(--td);margin-bottom:4px}
.lname{font-size:13px;font-weight:500;color:var(--i2);line-height:1.4;margin-bottom:6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ldesc{font-size:11px;color:var(--mu);line-height:1.5}
.lmeta{display:flex;align-items:center;gap:12px;flex-shrink:0}
.lavail{display:flex;align-items:center;gap:5px;font-size:11px;color:var(--td);font-weight:500}
.lavail-dot{width:6px;height:6px;background:var(--t);border-radius:50%;flex-shrink:0}
.lprice{text-align:right;flex-shrink:0}
.lacts{display:flex;flex-direction:column;gap:6px;align-items:flex-end;flex-shrink:0;padding-right:14px}
.lheart{
    width:28px;height:28px;background:transparent;border:1px solid var(--bd);
    border-radius:50%;display:flex;align-items:center;justify-content:center;
    cursor:pointer;transition:all .15s;
}
.lheart:hover{background:var(--rl);border-color:var(--r)}
.lheart:hover svg{stroke:var(--r)}
.lheart svg{fill:none;stroke:var(--mu);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;width:13px;height:13px}

/* ── 404 PAGE ── */
.err-section { padding: 60px 0 80px; min-height: 70vh; }

.err-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
    margin-bottom: 56px;
}

.err-visual {
    display: flex; align-items: center; justify-content: center;
    position: relative;
}
.err-svg { width: 100%; max-width: 440px; height: auto; }
.err-digit {
    font-family: var(--fh);
    font-size: 220px;
    font-weight: 800;
    letter-spacing: -8px;
}

/* Анімація запобіжника */
.fuse-group {
    transform-origin: 200px 200px;
    animation: fuse-shake 3s ease-in-out infinite;
}
@keyframes fuse-shake {
    0%, 92%, 100% { transform: translate(200px, 200px) rotate(0); }
    94% { transform: translate(199px, 200px) rotate(-1deg); }
    96% { transform: translate(201px, 200px) rotate(1deg); }
    98% { transform: translate(200px, 199px) rotate(-0.5deg); }
}

.fuse-wire { animation: wire-flicker 3s ease-in-out infinite; }
@keyframes wire-flicker {
    0%, 89%, 95%, 100% { opacity: 1; }
    90%, 92%, 94% { opacity: 0.4; }
}

.sparks circle {
    animation: spark 2s ease-in-out infinite;
    transform-origin: center;
}
.sparks circle:nth-child(1) { animation-delay: 0s; }
.sparks circle:nth-child(2) { animation-delay: .3s; }
.sparks circle:nth-child(3) { animation-delay: .6s; }
.sparks circle:nth-child(4) { animation-delay: .9s; }
.sparks circle:nth-child(5) { animation-delay: 1.2s; }

@keyframes spark {
    0%, 100% { opacity: 0; transform: scale(0.5); }
    50% { opacity: 1; transform: scale(1.3); }
}

.smoke ellipse {
    animation: smoke-rise 4s ease-out infinite;
    transform-origin: center;
}
.smoke ellipse:nth-child(1) { animation-delay: 0s; }
.smoke ellipse:nth-child(2) { animation-delay: 1.3s; }
.smoke ellipse:nth-child(3) { animation-delay: 2.6s; }

@keyframes smoke-rise {
    0% { opacity: .4; transform: translateY(0) scale(.8); }
    60% { opacity: .2; }
    100% { opacity: 0; transform: translateY(-30px) scale(1.4); }
}

/* Текстова частина */
.err-content { max-width: 480px; }

.err-tag {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--red-lt); color: var(--red);
    font-size: 11px; font-weight: 700;
    text-transform: uppercase; letter-spacing: .8px;
    padding: 5px 12px; border-radius: 50px;
    margin-bottom: 18px;
}

.err-title {
    font-family: var(--fh);
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;
    color: var(--navy);
    line-height: 1;
    letter-spacing: -1px;
    margin-bottom: 16px;
}

.err-text {
    font-size: 15px;
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 28px;
}

.err-actions {
    display: flex; gap: 10px; flex-wrap: wrap;
    margin-bottom: 32px;
}

.err-search { padding-top: 24px; border-top: 1px solid var(--bd); }
.err-search-label {
    font-size: 12px; color: var(--muted);
    margin-bottom: 10px; font-weight: 500;
}

/* Suggested categories */
.err-suggest {
    padding-top: 40px;
    border-top: 1px solid var(--bd);
}
.err-suggest-title {
    font-family: var(--fh);
    font-size: 22px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 20px;
    text-align: center;
}
.err-suggest-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}
.suggest-card {
    display: flex; align-items: center; gap: 12px;
    background: var(--wh);
    border: 1.5px solid var(--bd);
    border-radius: var(--rl);
    padding: 16px 18px;
    transition: all .2s;
    text-decoration: none;
}
.suggest-card:hover {
    border-color: var(--navy);
    box-shadow: var(--sh);
    transform: translateY(-2px);
}
.suggest-icon {
    width: 40px; height: 40px;
    background: var(--navy-lt);
    border-radius: 9px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    transition: background .2s;
}
.suggest-card:hover .suggest-icon { background: var(--navy); }
.suggest-card:hover .suggest-icon svg { stroke: #fff; }
.suggest-name { font-size: 13px; font-weight: 600; color: var(--ink); }
.suggest-count { font-size: 11px; color: var(--muted); margin-top: 2px; }

@keyframes fadeUp { from{opacity:0;transform:translateY(22px)} to{opacity:1;transform:none} }
.fu { opacity:0; animation: fadeUp .55s forwards; }
.fu:nth-child(1){animation-delay:.0s} .fu:nth-child(2){animation-delay:.08s}
.fu:nth-child(3){animation-delay:.16s} .fu:nth-child(4){animation-delay:.24s}
.fu:nth-child(5){animation-delay:.32s} .fu:nth-child(6){animation-delay:.40s}
.fu:nth-child(7){animation-delay:.48s} .fu:nth-child(8){animation-delay:.56s}

/* ════════════════════════════════════════════════════════
ElektroPro — Cart Drawer + Checkout
Доповнення до styles.css (підключати ПІСЛЯ нього)
Використовує наявні змінні: --navy, --teal, --bd і т.д.
════════════════════════════════════════════════════════ */

/* ─────────── CART DRAWER (бічна панель) ─────────── */
.cart-backdrop {
    position: fixed;
    inset: 0;
    z-index: 998;
    background: rgba(15, 25, 50, .4);
    backdrop-filter: blur(2px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
}
.cart-backdrop.open { opacity: 1; pointer-events: auto; }

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    width: 420px;
    max-width: 100vw;
    background: var(--wh);
    box-shadow: -12px 0 40px rgba(30, 58, 95, .16);
    display: flex;
    flex-direction: column;
    visibility: hidden;
    transform: translateX(100%);
    transition: transform .3s cubic-bezier(.4, 0, .2, 1), visibility 0s .3s;
}
.cart-drawer.open {
    visibility: visible;
    transform: translateX(0);
    transition-delay: 0s;
}
.cart-contents { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.cart-error { margin: 12px 22px 0; color: var(--red); font-size: 13px; }
.cart-checkout { width: 100%; justify-content: center; }
.product-cart-quantity { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; font-size: 13px; color: var(--muted); }
.product-cart-quantity input { width: 76px; padding: 8px; border: 1.5px solid var(--bd); border-radius: 8px; font: inherit; color: var(--ink); }
.product-cart-quantity { flex-wrap: wrap; }
.product-cart-quantity input[type="number"] { text-align: center; appearance: textfield; }
.product-cart-quantity input::-webkit-inner-spin-button,
.product-cart-quantity input::-webkit-outer-spin-button { appearance: none; margin: 0; }

.cart-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 22px;
    border-bottom: 1px solid var(--bd);
    flex-shrink: 0;
}
.cart-drawer-title {
    font-family: var(--fh);
    font-size: 22px;
    font-weight: 800;
    color: var(--navy);
    display: flex;
    align-items: center;
    gap: 10px;
}
.cart-drawer-count {
    font-size: 12px;
    font-weight: 600;
    color: var(--teal-dk);
    background: var(--teal-lt);
    padding: 2px 9px;
    border-radius: 50px;
}
.cart-drawer-close {
    width: 34px;
    height: 34px;
    border: 1.5px solid var(--bd);
    border-radius: 8px;
    background: var(--wh);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    transition: all .15s;
}
.cart-drawer-close:hover { border-color: var(--navy); color: var(--navy); }

.cart-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 14px 22px;
}

/* Cart item у drawer */
.cd-item {
    display: flex;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid var(--bd);
}
.cd-item:last-child { border-bottom: none; }
.cd-img {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    background: var(--bg);
    border-radius: 8px;
    padding: 6px;
    object-fit: contain;
}
.cd-info { flex: 1; min-width: 0; }
.cd-brand {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: var(--teal-dk);
    margin-bottom: 2px;
}
.cd-name {
    font-size: 12.5px;
    font-weight: 500;
    color: var(--ink);
    line-height: 1.35;
    margin-bottom: 8px;
}
.cd-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.cd-qty {
    display: flex;
    border: 1.5px solid var(--bd);
    border-radius: 7px;
    overflow: hidden;
}
.cd-qty button {
    width: 26px;
    height: 26px;
    background: var(--bg);
    border: none;
    font-size: 15px;
    color: var(--navy);
    cursor: pointer;
    transition: background .15s;
}
.cd-qty button:hover { background: var(--navy-lt); }
.cd-qty button:disabled { cursor: default; opacity: .45; background: var(--bg); }
.cd-qty span {
    width: 34px;
    text-align: center;
    font-size: 12.5px;
    font-weight: 600;
    line-height: 26px;
    border-left: 1px solid var(--bd);
    border-right: 1px solid var(--bd);
}
.cd-price {
    font-family: var(--fh);
    font-size: 17px;
    font-weight: 700;
    color: var(--navy);
}
.cd-remove {
    background: none;
    border: none;
    color: var(--muted);
    cursor: pointer;
    padding: 4px;
    display: flex;
    transition: color .15s;
}
.cd-remove:hover { color: var(--red); }

/* Порожня корзина */
.cart-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    gap: 14px;
}
.cart-empty-icon {
    width: 72px;
    height: 72px;
    background: var(--bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
}
.cart-empty-title {
    font-family: var(--fh);
    font-size: 20px;
    font-weight: 700;
    color: var(--navy);
}
.cart-empty-text { font-size: 13px; color: var(--muted); max-width: 260px; line-height: 1.6; }

/* Підвал drawer */
.cart-drawer-foot {
    flex-shrink: 0;
    padding: 18px 22px 22px;
    border-top: 1px solid var(--bd);
    background: var(--bg);
}
.cd-totals { margin-bottom: 14px; }
.cd-total-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--muted);
    padding: 4px 0;
}
.cd-total-row.grand {
    padding-top: 12px;
    margin-top: 6px;
    border-top: 2px solid var(--bd);
}
.cd-total-row.grand .lbl {
    font-family: var(--fh);
    font-size: 18px;
    font-weight: 700;
    color: var(--navy);
}
.cd-total-row.grand .val {
    font-family: var(--fh);
    font-size: 22px;
    font-weight: 800;
    color: var(--navy);
}
.cd-total-row .free { color: var(--teal-dk); font-weight: 600; }
.cart-drawer-actions { display: flex; flex-direction: column; gap: 8px; }

/* ─────────── CHECKOUT ─────────── */
.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 370px;
    gap: 28px;
    align-items: start;
}

/* Кроки */
.steps {
    display: flex;
    align-items: center;
    margin-bottom: 32px;
}
.step {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.step-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--bd);
    color: var(--muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
    transition: all .2s;
}
.step.done .step-num { background: var(--teal); color: #fff; }
.step.active .step-num { background: var(--navy); color: #fff; }
.step-label {
    font-size: 13px;
    font-weight: 400;
    color: var(--muted);
    transition: all .2s;
}
.step.active .step-label { font-weight: 600; color: var(--navy); }
.step.done .step-label { color: var(--navy); }
.step-line {
    flex: 1;
    height: 1px;
    background: var(--bd);
    margin: 0 12px;
}
.step.done + .step-line { background: var(--teal); }

/* Секція форми */
.co-block {
    background: var(--wh);
    border: 1.5px solid var(--bd);
    border-radius: var(--rl);
    padding: 24px;
    margin-bottom: 16px;
}
.co-block-title {
    font-family: var(--fh);
    font-size: 18px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.co-block-num {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--navy-lt);
    color: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
}

/* Радіо-картки (доставка/оплата) */
.radio-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 15px;
    border: 1.5px solid var(--bd);
    border-radius: 9px;
    cursor: pointer;
    transition: all .15s;
    margin-bottom: 8px;
    background: var(--wh);
}
.radio-card:last-child { margin-bottom: 0; }
.radio-card:hover { border-color: var(--navy-m); }
.radio-card.selected {
    border-color: var(--navy);
    background: var(--navy-lt);
}
.radio-dot {
    width: 18px;
    height: 18px;
    border: 2px solid var(--bd);
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
    transition: border-color .15s;
}
.radio-card.selected .radio-dot {
    border-color: var(--navy);
}
.radio-card.selected .radio-dot::after {
    content: '';
    position: absolute;
    inset: 3px;
    background: var(--navy);
    border-radius: 50%;
}
.radio-body { flex: 1; }
.radio-name { font-size: 13px; font-weight: 500; color: var(--ink); }
.radio-desc { font-size: 11px; color: var(--muted); margin-top: 1px; }
.radio-price {
    font-size: 13px;
    font-weight: 600;
    color: var(--navy);
    flex-shrink: 0;
}
.radio-price.free { color: var(--teal-dk); }

/* Підсумок замовлення */
.order-summary {
    background: var(--wh);
    border: 1.5px solid var(--bd);
    border-radius: var(--rl);
    padding: 22px;
    position: sticky;
    top: 80px;
}
.os-title {
    font-family: var(--fh);
    font-size: 20px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 16px;
}
.os-item {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 10px 0;
    border-bottom: 1px solid var(--bd);
}
.os-item-img {
    width: 46px;
    height: 46px;
    background: var(--bg);
    border-radius: 7px;
    padding: 5px;
    object-fit: contain;
    flex-shrink: 0;
}
.os-item-info { flex: 1; min-width: 0; }
.os-item-name { font-size: 12px; color: var(--ink); line-height: 1.35; }
.os-item-meta { font-size: 11px; color: var(--muted); margin-top: 2px; }
.os-item-price {
    font-size: 13px;
    font-weight: 600;
    color: var(--navy);
    flex-shrink: 0;
}
.os-totals { padding-top: 14px; }
.os-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 7px;
}
.os-row .free { color: var(--teal-dk); font-weight: 600; }
.os-grand {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding-top: 13px;
    margin-top: 7px;
    border-top: 2px solid var(--bd);
}
.os-grand-label {
    font-family: var(--fh);
    font-size: 18px;
    font-weight: 700;
    color: var(--navy);
}
.os-grand-value {
    font-family: var(--fh);
    font-size: 24px;
    font-weight: 800;
    color: var(--navy);
}
.os-note {
    font-size: 10px;
    color: var(--muted);
    text-align: center;
    margin-top: 10px;
    line-height: 1.5;
}
.os-secure {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 12px;
    font-size: 11px;
    color: var(--muted);
}

/* ════════════════════════════════════════════════════════
   Checkout — оформлення замовлення
   Префікс co- (checkout). Підключати після основного styles.css
   ════════════════════════════════════════════════════════ */

.co-breadcrumb-bar {
    background: var(--wh);
    border-bottom: 1px solid var(--bd);
    padding: 10px 0;
}

.co-wrap { padding: 28px 0 60px; }

.co-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 28px;
    align-items: start;
}

/* ── Блоки форми ── */
.co-block { margin-bottom: 16px; }
.co-block:last-child { margin-bottom: 0; }

.co-block-title {
    font-family: var(--fh);
    font-size: 18px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 18px;
}
.co-block-title--tight { margin-bottom: 14px; }
.checkout-errors { color: var(--red); }
.checkout-errors ul { padding-inline-start: 20px; }
.co-fields[hidden] { display: none; }
.form-submission-status,
.form-submission-errors { border-radius: 8px; margin-bottom: 16px; padding: 10px 14px; font-size: 13px; }
.form-submission-status { background: var(--teal-lt); color: var(--navy); }
.form-submission-errors { background: var(--red-lt); color: var(--red); }
.form-submission-errors ul { padding-inline-start: 20px; }

.co-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 16px;
}

/* ── Радіо-картки (доставка / оплата) ── */
.co-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.co-options--mb { margin-bottom: 18px; }

.co-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border: 1.5px solid var(--bd);
    border-radius: 8px;
    cursor: pointer;
    background: var(--wh);
    transition: border-color .15s, background .15s;
}
.co-option:hover { border-color: var(--navy-m); }
.co-option.is-active {
    border-color: var(--navy);
    background: var(--navy-lt);
}

.co-option input { accent-color: var(--navy); width: 15px; height: 15px; }
.co-option-body { flex: 1; }
.co-option-name { font-size: 13px; font-weight: 500; color: var(--ink); }
.co-option-desc { font-size: 11px; color: var(--muted); margin-top: 1px; }
.co-option-price {
    margin-left: auto;
    font-size: 13px;
    font-weight: 600;
    color: var(--navy);
}
.co-option-price--free { color: var(--teal-dk); }

/* ── Підсумок замовлення ── */
.co-summary {
    background: var(--wh);
    border: 1.5px solid var(--bd);
    border-radius: var(--rl);
    padding: 22px;
    position: sticky;
    top: 80px;
}
.co-summary-title {
    font-family: var(--fh);
    font-size: 20px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 16px;
}

.co-sum-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--bd);
}
.co-sum-thumb {
    width: 44px;
    height: 44px;
    background: var(--bg);
    border-radius: 6px;
    flex-shrink: 0;
    overflow: hidden;
}
.co-sum-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 4px;
}
.co-sum-info {
    flex: 1;
    font-size: 12px;
    color: var(--ink);
    line-height: 1.3;
}
.co-sum-meta { color: var(--muted); }

.co-totals { padding-top: 12px; }
.co-total-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    margin-bottom: 6px;
}
.co-total-row .lbl { color: var(--muted); }
.co-total-row .val { font-weight: 600; }
.co-total-row .val--free { color: var(--teal-dk); }

.co-grand {
    display: flex;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 2px solid var(--bd);
}
.co-grand-label {
    font-family: var(--fh);
    font-size: 18px;
    font-weight: 700;
    color: var(--navy);
}
.co-grand-value {
    font-family: var(--fh);
    font-size: 22px;
    font-weight: 800;
    color: var(--navy);
}

.co-submit {
    width: 100%;
    justify-content: center;
    padding: 14px;
    font-size: 14px;
    margin-top: 16px;
}
.co-offer {
    font-size: 10px;
    color: var(--muted);
    text-align: center;
    margin-top: 10px;
    line-height: 1.5;
}
.co-offer a { color: var(--navy); }

/* ════════════════════════════════════════════════════════
   User auth — кнопка входу / меню залогіненого
   Префікс ua- (user-auth). Підключати після styles.css
   ════════════════════════════════════════════════════════ */

.ua {
    position: relative;
}

/* ── Кнопка-тригер (аватар + ім'я) ── */
.ua-trigger {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 5px 10px 5px 5px;
    border-radius: 50px;
    border: 1.5px solid var(--bd);
    background: var(--wh);
    cursor: pointer;
    font-family: var(--fb);
    font-size: 12px;
    font-weight: 500;
    color: var(--ink2);
    transition: all .2s;
}
.ua-trigger:hover { border-color: var(--navy); color: var(--navy); }
.ua.is-open .ua-trigger { border-color: var(--navy); background: var(--navy-lt); color: var(--navy); }

.ua-avatar {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--navy);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--fh);
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}
.ua-name {
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.ua-chev { transition: transform .2s; }
.ua.is-open .ua-chev { transform: rotate(180deg); }

/* ── Випадаюче меню ── */
.ua-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 300;
    width: 240px;
    background: var(--wh);
    border: 1px solid var(--bd);
    border-radius: 12px;
    box-shadow: var(--sl);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity .18s, transform .18s, visibility .18s;
    overflow: hidden;
}
.ua.is-open .ua-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Шапка меню — інфо про юзера */
.ua-head {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 16px;
    border-bottom: 1px solid var(--bd);
    background: var(--bg);
}
.ua-head-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--navy);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--fh);
    font-size: 15px;
    font-weight: 700;
    flex-shrink: 0;
}
.ua-head-info { min-width: 0; }
.ua-head-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ua-head-email {
    font-size: 11px;
    color: var(--muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Пункти меню */
.ua-list { padding: 6px; }
.ua-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 10px;
    border-radius: 8px;
    font-size: 13px;
    color: var(--ink2);
    text-decoration: none;
    transition: background .14s, color .14s;
}
.ua-item:hover { background: var(--navy-lt); color: var(--navy); }
.ua-item svg { stroke: var(--muted); flex-shrink: 0; transition: stroke .14s; }
.ua-item:hover svg { stroke: var(--navy); }
.ua-item-badge {
    margin-left: auto;
    font-size: 10px;
    font-weight: 600;
    color: var(--teal-dk);
    background: var(--teal-lt);
    padding: 1px 7px;
    border-radius: 50px;
}

.ua-divider {
    height: 1px;
    background: var(--bd);
    margin: 6px 0;
}

.ua-item--logout { color: var(--red); }
.ua-item--logout svg { stroke: var(--red); }
.ua-item--logout:hover { background: var(--red-lt); color: var(--red); }

/* Logout як кнопка форми — щоб виглядав як пункт */
.ua-logout-form { margin: 0; }
.ua-logout-form button {
    width: 100%;
    border: none;
    background: none;
    cursor: pointer;
    font-family: var(--fb);
    text-align: left;
}

/* ── Кнопка входу (гість) ── */
.ua-login {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 15px;
    border-radius: 50px;
    border: 1.5px solid var(--bd);
    background: var(--wh);
    font-family: var(--fb);
    font-size: 12px;
    font-weight: 500;
    color: var(--ink2);
    cursor: pointer;
    transition: all .2s;
    text-decoration: none;
}
.ua-login:hover { border-color: var(--navy); color: var(--navy); }

/* ════════════════════════════════════════════════════════
   Auth — вхід / реєстрація
   Префікс auth-. Підключати після styles.css
   ════════════════════════════════════════════════════════ */

.auth-wrap {
    padding: 60px 0 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
}

.auth-box {
    width: 100%;
    max-width: 440px;
    margin: 0 24px;
}

/* ── Шапка ── */
.auth-head {
    text-align: center;
    margin-bottom: 32px;
}
.auth-logo {
    font-family: var(--fh);
    font-size: 28px;
    font-weight: 800;
    color: var(--navy);
}
.auth-logo em {
    color: var(--teal);
    font-style: normal;
}
.auth-title {
    font-family: var(--fh);
    font-size: 26px;
    font-weight: 800;
    color: var(--navy);
    margin-top: 20px;
}
.auth-sub {
    font-size: 13px;
    color: var(--muted);
    margin-top: 6px;
}
.auth-sub a {
    color: var(--teal-dk);
    font-weight: 600;
}

/* ── Картка форми ── */
.auth-card {
    background: var(--wh);
    border: 1.5px solid var(--bd);
    border-radius: var(--rl);
    padding: 32px;
}

.auth-card-title {
    font-family: var(--fh);
    font-size: 22px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 20px;
}

/* Рядок label + посилання (Забули пароль?) */
.auth-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.auth-forgot {
    font-size: 12px;
    color: var(--teal-dk);
}

/* Поле пароля з кнопкою-оком */
.auth-password {
    position: relative;
}
.auth-password input {
    padding-right: 42px;
}
.auth-eye {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: var(--muted);
    display: flex;
    padding: 2px;
    transition: color .15s;
}
.auth-eye:hover { color: var(--navy); }

/* Чекбокс-рядок */
.auth-check {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--ink2);
    cursor: pointer;
    margin-bottom: 20px;
}
.auth-check input {
    accent-color: var(--navy);
    width: 14px;
    height: 14px;
}
.auth-check--terms {
    align-items: flex-start;
    font-size: 12px;
    color: var(--muted);
    line-height: 1.5;
    margin-bottom: 18px;
}
.auth-check--terms input {
    margin-top: 1px;
    flex-shrink: 0;
}
.auth-check--terms a { color: var(--navy); }

/* Кнопка на всю ширину */
.auth-btn {
    width: 100%;
    justify-content: center;
    padding: 13px;
    font-size: 14px;
}

/* Розділювач «або» */
.auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0;
}
.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--bd);
}
.auth-divider span {
    font-size: 12px;
    color: var(--muted);
}

/* Google-кнопка */
.auth-google {
    width: 100%;
    justify-content: center;
    padding: 11px;
    font-size: 13px;
    gap: 8px;
}

/* Сітка двох полів */
.auth-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 14px;
}

/* ── Verify email (додати в auth.css) ── */
.verify-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: var(--navy-lt);
    display: flex;
    align-items: center;
    justify-content: center;
}

.verify-alert {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    background: var(--teal-lt);
    border: 1.5px solid rgba(0, 200, 150, .25);
    border-radius: 9px;
    padding: 10px 14px;
    font-size: 12.5px;
    font-weight: 500;
    color: var(--teal-dk);
    margin-bottom: 18px;
}

.verify-alert-error { background: var(--red-lt); border-color: var(--red); color: var(--red); }
.password-recovery-intro { margin-bottom: 16px; color: var(--muted); font-size: 13px; }
.password-recovery-links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; margin-top: 16px; }

.verify-logout {
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--fb);
    font-size: 13px;
    color: var(--muted);
    transition: color .15s;
}
.verify-logout:hover { color: var(--navy); }

/* ── RESPONSIVE ── */
@media(max-width:1024px){.foot-grid{grid-template-columns:1fr 1fr;gap:28px}.layout-sidebar{grid-template-columns:1fr}.sidebar{position:static}.account-layout{grid-template-columns:minmax(0,1fr)}.account-nav{position:static}}

@media(max-width:1100px) {
    .cats-grid { grid-template-columns: repeat(5,1fr); }
    .prods-grid { grid-template-columns: repeat(3,1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 900px) {
    .err-wrap { grid-template-columns: 1fr; gap: 32px; text-align: center; }
    .err-content { max-width: none; }
    .err-tag, .err-actions { justify-content: center; }
    .err-actions { justify-content: center; }
    .err-suggest-grid { grid-template-columns: repeat(2, 1fr); }
    .err-digit { font-size: 160px; }
}

@media(max-width:860px) {
    .hero-inner { grid-template-columns: minmax(0, 1fr); }
    .hero-right { display: none; }
    .hero-left { padding: 56px 0; }
    .trust-row { grid-template-columns: repeat(2,1fr); }
    .cats-grid { grid-template-columns: repeat(4,1fr); }
    .prods-grid { grid-template-columns: repeat(2,1fr); }
    .ps-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr; }
    .cta-inner { grid-template-columns: 1fr; padding: 40px 32px; }
    .topbar { display: none; }
}
@media (max-width: 880px) {
    .checkout-grid { grid-template-columns: 1fr; }
    .order-summary { position: static; }
    .step-label { display: none; }
    .step-line { margin: 0 6px; }
}
@media (max-width: 880px) {
    .co-grid { grid-template-columns: 1fr; }
    .co-summary { position: static; }
}
@media (max-width: 768px) {
    .ua-name { display: none; }
    .ua-trigger { padding: 5px; }
}
@media (max-width: 560px) {
    .co-fields { grid-template-columns: 1fr; }
}
@media(max-width:540px) {
    .cats-grid { grid-template-columns: repeat(3,1fr); }
    .trust-row { grid-template-columns: 1fr; }
}
@media (max-width: 500px) {
    .err-suggest-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .cart-drawer { width: 100vw; }
    .auth-row { grid-template-columns: 1fr; }
}

/* ── Pagination ── */
.pager {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 36px;
}
.pager-nav {
    padding: 8px 14px;
    font-size: 13px;
}
.pager-nav[disabled] {
    opacity: .4;
    cursor: not-allowed;
}
.pager-btn {
    width: 36px;
    height: 36px;
    border-radius: 7px;
    border: 1.5px solid var(--bd);
    background: var(--wh);
    font-family: var(--fb);
    font-size: 13px;
    font-weight: 400;
    color: var(--muted);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all .15s;
}
.pager-btn:hover {
    border-color: var(--navy);
    color: var(--navy);
}
.pager-btn.is-active {
    border-color: var(--navy);
    background: var(--navy-lt);
    color: var(--navy);
    font-weight: 600;
}
.pager-dots {
    padding: 0 4px;
    color: var(--muted);
    font-size: 13px;
}
