/* ============================================================
   De Accu Koning — stylesheet
   Premium navy + royal gold theme
   ============================================================ */

:root {
  --navy: #0a1c33;
  --navy-2: #0f274a;
  --navy-3: #163562;
  --gold: #f5b301;
  --gold-2: #ffc933;
  --blue: #1e6bff;
  --blue-dark: #1550c8;
  --green: #2bb673;
  --red: #e11d48;
  --ink: #1a2330;
  --muted: #6b7785;
  --line: #e6eaf0;
  --bg: #f5f7fb;
  --card: #ffffff;
  --shadow-sm: 0 2px 8px rgba(16, 33, 60, .06);
  --shadow: 0 10px 30px rgba(16, 33, 60, .10);
  --shadow-lg: 0 24px 60px rgba(16, 33, 60, .18);
  --radius: 14px;
  --radius-sm: 10px;
  --maxw: 1240px;
  --header-h: 76px;
  --font: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-head: "Sora", var(--font);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.18; color: var(--navy); margin: 0 0 .4em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { margin: 0; padding: 0; list-style: none; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 22px; border-radius: 999px; font-weight: 700; font-size: .95rem;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: linear-gradient(135deg, var(--gold), var(--gold-2)); color: var(--navy); box-shadow: 0 8px 20px rgba(245, 179, 1, .35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(245, 179, 1, .45); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-3); transform: translateY(-2px); }
.btn-blue { background: var(--blue); color: #fff; box-shadow: 0 8px 20px rgba(30, 107, 255, .3); }
.btn-blue:hover { background: var(--blue-dark); transform: translateY(-2px); }
.btn-ghost { background: rgba(255, 255, 255, .12); color: #fff; border: 1.5px solid rgba(255, 255, 255, .4); }
.btn-ghost:hover { background: rgba(255, 255, 255, .22); }
.btn-line { border: 1.5px solid var(--line); color: var(--navy); background: #fff; }
.btn-line:hover { border-color: var(--gold); color: var(--blue); }
.btn-sm { padding: 9px 16px; font-size: .85rem; }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Top USP bar ---------- */
.topbar {
  background: var(--navy); color: #cdd9ec; font-size: .82rem;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; min-height: 40px; gap: 16px; }
.topbar-usps { display: flex; gap: 26px; overflow: hidden; }
.topbar-usps li { display: flex; align-items: center; gap: 7px; white-space: nowrap; }
.topbar-usps svg { width: 15px; height: 15px; color: var(--gold); flex: none; }
.topbar-usps strong { color: #fff; }
.topbar-right { display: flex; align-items: center; gap: 18px; white-space: nowrap; }
.topbar-right a { display: inline-flex; align-items: center; gap: 6px; color: #cdd9ec; }
.topbar-right a:hover { color: var(--gold); }
.topbar-right svg { width: 15px; height: 15px; }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 60; background: #fff; box-shadow: var(--shadow-sm); }
.header-main { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.logo { display: flex; align-items: center; gap: 11px; flex: none; }
.logo-mark {
  width: 46px; height: 46px; border-radius: 12px; flex: none;
  background: linear-gradient(140deg, var(--navy-2), var(--navy));
  display: grid; place-items: center; box-shadow: 0 6px 16px rgba(10, 28, 51, .3);
  position: relative; overflow: hidden;
}
.logo-mark svg { width: 28px; height: 28px; }
.logo-text { line-height: 1; }
.logo-text b { font-family: var(--font-head); font-size: 1.28rem; color: var(--navy); display: block; letter-spacing: -.5px; }
.logo-text span { font-size: .68rem; letter-spacing: 2.5px; text-transform: uppercase; color: var(--gold); font-weight: 700; }

.search { flex: 1; max-width: 560px; position: relative; }
.search input {
  width: 100%; height: 48px; border: 1.5px solid var(--line); border-radius: 999px;
  padding: 0 52px 0 22px; font-size: .95rem; background: var(--bg); color: var(--ink);
  transition: border .2s, background .2s;
}
.search input:focus { outline: none; border-color: var(--gold); background: #fff; }
.search button {
  position: absolute; right: 6px; top: 6px; width: 36px; height: 36px; border-radius: 50%;
  background: var(--navy); color: #fff; display: grid; place-items: center;
}
.search button svg { width: 18px; height: 18px; }

.header-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; flex: none; }
.haction {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 8px 12px; border-radius: 12px; color: var(--navy); position: relative;
  transition: background .15s;
}
.haction:hover { background: var(--bg); color: var(--blue); }
.haction svg { width: 23px; height: 23px; }
.haction span { font-size: .7rem; font-weight: 600; }
.haction .badge {
  position: absolute; top: 2px; right: 6px; min-width: 18px; height: 18px; padding: 0 5px;
  background: var(--gold); color: var(--navy); border-radius: 999px; font-size: .68rem;
  font-weight: 800; display: grid; place-items: center;
}
.haction .badge[hidden] { display: none; }
.burger { display: none; }

/* ---------- Nav / Megamenu ---------- */
.nav { background: var(--navy); position: relative; z-index: 55; }
.nav-list { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; }
.nav-item > a {
  display: flex; align-items: center; gap: 6px; color: #e7eefb; font-weight: 600;
  font-size: .9rem; padding: 15px 16px; position: relative; transition: color .15s;
}
.nav-item > a svg.chev { width: 13px; height: 13px; opacity: .6; transition: transform .2s; }
.nav-item > a:hover { color: var(--gold); }
.nav-item > a::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 9px; height: 2px;
  background: var(--gold); transform: scaleX(0); transition: transform .2s; border-radius: 2px;
}
.nav-item:hover > a::after { transform: scaleX(1); }
.nav-item:hover > a svg.chev { transform: rotate(180deg); }

.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: #fff; box-shadow: var(--shadow-lg); border-top: 3px solid var(--gold);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s, transform .2s, visibility .2s; z-index: 56;
}
.nav-item:hover .mega { opacity: 1; visibility: visible; transform: translateY(0); }
.mega-inner { max-width: var(--maxw); margin: 0 auto; padding: 30px 20px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px 30px; }
.mega-head { grid-column: 1/-1; font-family: var(--font-head); font-size: 1.5rem; color: var(--navy); opacity: .25; margin-bottom: 4px; }
.mega-col > a { font-weight: 700; color: var(--navy); font-size: 1.02rem; display: inline-block; margin-bottom: 8px; }
.mega-col > a:hover { color: var(--blue); }
.mega-col ul li a { color: var(--muted); font-size: .9rem; display: block; padding: 4px 0; transition: color .15s, padding .15s; }
.mega-col ul li a:hover { color: var(--blue); padding-left: 5px; }
.mega-empty { grid-column: 1/-1; color: var(--muted); padding: 6px 0; }

/* ---------- Hero slider ---------- */
.hero { position: relative; overflow: hidden; background: var(--navy); }
.slides { display: flex; transition: transform .7s cubic-bezier(.65, 0, .35, 1); }
.slide { min-width: 100%; position: relative; }
.slide-bg {
  min-height: 480px; display: flex; align-items: center;
  background-size: cover; background-position: center; position: relative;
}
.slide-bg::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 20, 38, .92) 0%, rgba(8, 20, 38, .55) 55%, rgba(8, 20, 38, .15) 100%); }
.slide-content { position: relative; z-index: 2; max-width: 580px; color: #fff; padding: 40px 0; }
.slide-eyebrow { display: inline-flex; align-items: center; gap: 8px; background: rgba(245, 179, 1, .16); color: var(--gold-2); padding: 7px 15px; border-radius: 999px; font-weight: 700; font-size: .8rem; letter-spacing: .5px; margin-bottom: 18px; }
.slide-eyebrow svg { width: 16px; height: 16px; }
.slide h1 { font-size: clamp(2rem, 4.5vw, 3.3rem); color: #fff; margin-bottom: 14px; letter-spacing: -1px; }
.slide h1 .accent { color: var(--gold); }
.slide p { font-size: 1.12rem; color: #cdd9ec; margin-bottom: 26px; max-width: 460px; }
.slide-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.slide-1 .slide-bg { background-image: linear-gradient(120deg, #0a1c33, #16356288), radial-gradient(circle at 80% 30%, rgba(245,179,1,.18), transparent 45%); }
.slide-2 .slide-bg { background-image: linear-gradient(120deg, #0a1c33, #1e6bff44), radial-gradient(circle at 75% 70%, rgba(43,182,115,.22), transparent 45%); }
.slide-3 .slide-bg { background-image: linear-gradient(120deg, #0a1c33, #7c3aed44), radial-gradient(circle at 85% 40%, rgba(226,84,30,.22), transparent 45%); }

.slide-art { position: absolute; right: 4%; top: 50%; transform: translateY(-50%); z-index: 2; width: min(44%, 440px); opacity: 1; filter: drop-shadow(0 26px 44px rgba(0,0,0,.45)); }
.slide-art svg.scene { width: 100%; height: auto; }
.hero-nav { position: absolute; bottom: 24px; right: 24px; z-index: 5; display: flex; gap: 10px; }
.hero-nav button { width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.14); border: 1.5px solid rgba(255,255,255,.3); color: #fff; display: grid; place-items: center; backdrop-filter: blur(4px); transition: background .15s; }
.hero-nav button:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.hero-nav svg { width: 20px; height: 20px; }
.hero-dots { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 5; display: flex; gap: 9px; }
.hero-dots button { width: 10px; height: 10px; border-radius: 999px; background: rgba(255,255,255,.4); transition: width .25s, background .25s; }
.hero-dots button.active { width: 28px; background: var(--gold); }

/* ---------- USP strip ---------- */
.usp-strip { background: #fff; border-bottom: 1px solid var(--line); }
.usp-strip .container { display: grid; grid-template-columns: repeat(4, 1fr); }
.usp { display: flex; align-items: center; gap: 13px; padding: 22px 18px; border-right: 1px solid var(--line); }
.usp:last-child { border-right: none; }
.usp-ic { width: 44px; height: 44px; border-radius: 12px; background: var(--bg); display: grid; place-items: center; flex: none; color: var(--blue); }
.usp-ic svg { width: 24px; height: 24px; }
.usp b { display: block; font-size: .95rem; color: var(--navy); }
.usp span { font-size: .82rem; color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 38px; }
.section-head .kicker { color: var(--gold); font-weight: 800; letter-spacing: 2px; text-transform: uppercase; font-size: .78rem; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin: 8px 0 10px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.section-head.left { text-align: left; margin-left: 0; }
.head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 30px; flex-wrap: wrap; }
.head-row h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 0; }
.head-row .kicker { color: var(--gold); font-weight: 800; letter-spacing: 2px; text-transform: uppercase; font-size: .78rem; }

/* ---------- Category cards ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.cat-card {
  background: var(--card); border-radius: var(--radius); padding: 14px 14px 18px; text-align: center;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.cat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--gold); }
.cat-scene { border-radius: 12px; overflow: hidden; margin-bottom: 12px; background: #eef3fa; aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; }
.cat-scene svg.scene { display: block; width: 100%; height: auto; transition: transform .25s; }
.cat-card:hover .cat-scene svg.scene { transform: scale(1.05); }
.cat-ic { width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 16px; background: linear-gradient(140deg, var(--navy-2), var(--navy)); display: grid; place-items: center; color: var(--gold); transition: transform .2s; }
.cat-card:hover .cat-ic { transform: scale(1.06) rotate(-3deg); }
.cat-ic svg { width: 32px; height: 32px; }
.cat-card b { font-size: .98rem; color: var(--navy); display: block; }
.cat-card span { font-size: .8rem; color: var(--muted); }

/* ---------- Product grid ---------- */
.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.product {
  background: var(--card); border-radius: var(--radius); border: 1px solid var(--line);
  overflow: hidden; display: flex; flex-direction: column; position: relative;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.product:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #d7deea; }
.product-media { position: relative; aspect-ratio: 1; background: #f8f9fb; overflow: hidden; display: grid; place-items: center; }
.product-media svg.battery { width: 78%; height: auto; transition: transform .3s; }
.product:hover .product-media svg.battery { transform: scale(1.05) rotate(-2deg); }
.product-flags { position: absolute; top: 12px; left: 12px; display: flex; flex-direction: column; gap: 6px; z-index: 2; }
.flag { font-size: .72rem; font-weight: 800; padding: 5px 10px; border-radius: 999px; }
.flag-sale { background: var(--red); color: #fff; }
.flag-badge { background: var(--navy); color: var(--gold); }
.flag-dim { background: rgba(255,255,255,.92); color: var(--navy); box-shadow: var(--shadow-sm); font-weight: 600; }
.product-wish {
  position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; border-radius: 50%;
  background: #fff; box-shadow: var(--shadow-sm); display: grid; place-items: center; z-index: 2;
  color: var(--muted); opacity: 0; transform: translateY(-4px); transition: .2s;
}
.product:hover .product-wish { opacity: 1; transform: translateY(0); }
.product-wish:hover { color: var(--red); }
.product-wish svg { width: 19px; height: 19px; }
.product-wish.on { color: var(--red); opacity: 1; }
.product-quick {
  position: absolute; bottom: 12px; left: 50%; transform: translate(-50%, 8px); z-index: 2;
  background: var(--navy); color: #fff; padding: 9px 16px; border-radius: 999px; font-size: .82rem; font-weight: 700;
  display: inline-flex; align-items: center; gap: 7px; opacity: 0; transition: .2s; white-space: nowrap;
}
.product:hover .product-quick { opacity: 1; transform: translate(-50%, 0); }
.product-quick svg { width: 15px; height: 15px; }
.product-body { padding: 16px 16px 18px; display: flex; flex-direction: column; flex: 1; }
.product-brand { font-size: .75rem; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; color: var(--gold); }
.product-title { font-size: .95rem; font-weight: 600; color: var(--navy); margin: 5px 0 8px; line-height: 1.35; min-height: 2.6em; }
.product-title:hover { color: var(--blue); }
.product-stars { display: flex; gap: 2px; color: var(--gold); margin-bottom: 10px; }
.product-stars svg { width: 15px; height: 15px; }
.product-stars .off { color: #d9dfea; }
.product-foot { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.product-price .now { font-size: 1.3rem; font-weight: 800; color: var(--navy); font-family: var(--font-head); }
.product-price .was { font-size: .85rem; color: var(--muted); text-decoration: line-through; margin-right: 4px; }
.product-price small { display: block; font-size: .72rem; color: var(--muted); }
.product-add {
  width: 44px; height: 44px; border-radius: 12px; flex: none;
  background: linear-gradient(135deg, var(--gold), var(--gold-2)); color: var(--navy);
  display: grid; place-items: center; transition: transform .15s, box-shadow .2s;
}
.product-add:hover { transform: translateY(-2px) scale(1.05); box-shadow: 0 8px 18px rgba(245,179,1,.4); }
.product-add svg { width: 21px; height: 21px; }

/* ---------- Promo banner ---------- */
.promo { background: linear-gradient(120deg, var(--navy), var(--navy-3)); border-radius: 22px; overflow: hidden; position: relative; color: #fff; }
.promo::after { content: ""; position: absolute; right: -60px; top: -60px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(245,179,1,.25), transparent 70%); }
.promo-inner { display: grid; grid-template-columns: 1.3fr 1fr; align-items: center; gap: 30px; padding: 50px; position: relative; z-index: 2; }
.promo h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.promo p { color: #cdd9ec; font-size: 1.08rem; margin-bottom: 22px; }
.promo-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.promo-art { display: grid; place-items: center; }
.promo-art svg { width: 80%; filter: drop-shadow(0 20px 40px rgba(0,0,0,.4)); }

/* ---------- Brands ---------- */
.brands { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.brand-chip {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 24px 14px; text-align: center; font-family: var(--font-head); font-weight: 700;
  font-size: 1.15rem; color: var(--navy); transition: .2s; letter-spacing: -.3px;
}
.brand-chip:hover { border-color: var(--gold); color: var(--blue); transform: translateY(-3px); box-shadow: var(--shadow-sm); }

/* ---------- Content / SEO blocks ---------- */
.content-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.content-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow-sm); }
.content-card h2 { font-size: 1.5rem; display: flex; align-items: center; gap: 10px; }
.content-card h2 svg { width: 26px; height: 26px; color: var(--gold); }
.content-card p { color: #475160; margin-bottom: 0; }
.content-card a { color: var(--blue); font-weight: 600; }
.content-card a:hover { text-decoration: underline; }

/* ---------- Reviews / trust ---------- */
.trust { background: var(--navy); color: #fff; }
.trust .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.trust-item { text-align: center; padding: 10px; }
.trust-item .num { font-family: var(--font-head); font-size: 2.4rem; font-weight: 800; color: var(--gold); }
.trust-item .lbl { color: #aebcd2; font-size: .92rem; }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.review-stars { display: flex; gap: 2px; color: var(--gold); margin-bottom: 12px; }
.review-stars svg { width: 18px; height: 18px; }
.review-card p { color: #475160; font-style: italic; margin-bottom: 16px; }
.review-author { display: flex; align-items: center; gap: 12px; }
.review-avatar { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(140deg, var(--blue), var(--navy)); color: #fff; display: grid; place-items: center; font-weight: 800; }
.review-author b { color: var(--navy); font-size: .92rem; display: block; }
.review-author span { color: var(--muted); font-size: .8rem; }

/* ---------- Newsletter ---------- */
.newsletter { background: linear-gradient(135deg, var(--gold), var(--gold-2)); border-radius: 22px; padding: 46px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 30px; }
.newsletter h2 { color: var(--navy); margin-bottom: 4px; }
.newsletter p { color: #5c4a07; font-weight: 600; margin: 0; }
.newsletter form { display: flex; gap: 10px; min-width: 380px; }
.newsletter input { flex: 1; height: 52px; border-radius: 999px; border: none; padding: 0 22px; font-size: .95rem; box-shadow: var(--shadow-sm); }
.newsletter input:focus { outline: 2px solid var(--navy); }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: #aebcd2; padding-top: 56px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer h4 { color: #fff; font-size: 1.05rem; margin-bottom: 16px; }
.footer-about p { font-size: .92rem; margin-bottom: 18px; }
.footer-contact li { display: flex; align-items: center; gap: 11px; margin-bottom: 11px; font-size: .92rem; }
.footer-contact svg { width: 18px; height: 18px; color: var(--gold); flex: none; }
.footer-contact a:hover { color: #fff; }
.footer-links li { margin-bottom: 9px; }
.footer-links a { font-size: .92rem; transition: color .15s, padding .15s; }
.footer-links a:hover { color: var(--gold); padding-left: 4px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; flex-wrap: wrap; gap: 14px; font-size: .85rem; }
.footer-pay { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.pay-chip { background: #fff; border-radius: 6px; padding: 5px 9px; font-size: .7rem; font-weight: 800; color: var(--navy); letter-spacing: .3px; }
.footer-socials { display: flex; gap: 10px; }
.footer-socials a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.08); display: grid; place-items: center; color: #fff; transition: .15s; }
.footer-socials a:hover { background: var(--gold); color: var(--navy); }
.footer-socials svg { width: 19px; height: 19px; }

/* ---------- Floating contact + scroll-up ---------- */
.float-contact { position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 50; display: flex; flex-direction: column; gap: 2px; }
.float-contact a { width: 52px; height: 52px; display: grid; place-items: center; color: #fff; transition: width .15s; border-radius: 12px 0 0 12px; }
.float-contact a svg { width: 24px; height: 24px; }
.float-phone { background: var(--blue); }
.float-mail { background: var(--navy-3); }
.float-wa { background: #25d366; }
.float-contact a:hover { width: 58px; }
.scrollup { position: fixed; right: 22px; bottom: 22px; width: 48px; height: 48px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; z-index: 50; opacity: 0; visibility: hidden; transform: translateY(10px); transition: .25s; box-shadow: var(--shadow); }
.scrollup.show { opacity: 1; visibility: visible; transform: translateY(0); }
.scrollup:hover { background: var(--gold); color: var(--navy); }
.scrollup svg { width: 22px; height: 22px; }

/* ---------- Drawers / overlay ---------- */
.overlay { position: fixed; inset: 0; background: rgba(8,18,34,.55); backdrop-filter: blur(2px); z-index: 90; opacity: 0; visibility: hidden; transition: .25s; }
.overlay.show { opacity: 1; visibility: visible; }
.drawer { position: fixed; top: 0; bottom: 0; width: min(420px, 90vw); background: #fff; z-index: 100; display: flex; flex-direction: column; transition: transform .3s cubic-bezier(.4,0,.2,1); }
.drawer-right { right: 0; transform: translateX(100%); }
.drawer-left { left: 0; transform: translateX(-100%); width: min(360px, 88vw); }
.drawer.show { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 20px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { margin: 0; font-size: 1.2rem; }
.drawer-close { width: 38px; height: 38px; border-radius: 10px; background: var(--bg); display: grid; place-items: center; color: var(--navy); }
.drawer-close:hover { background: var(--line); }
.drawer-close svg { width: 20px; height: 20px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 18px 20px; }
.drawer-foot { border-top: 1px solid var(--line); padding: 18px 20px; }

/* cart drawer */
.cart-item { display: flex; gap: 13px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-item-img { width: 64px; height: 64px; border-radius: 10px; background: var(--bg); display: grid; place-items: center; flex: none; padding: 6px; }
.cart-item-img svg { width: 100%; height: auto; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-info b { font-size: .9rem; color: var(--navy); display: block; line-height: 1.3; }
.cart-item-info .brand { font-size: .72rem; color: var(--gold); font-weight: 800; text-transform: uppercase; }
.cart-qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 8px; margin-top: 6px; }
.cart-qty button { width: 28px; height: 28px; color: var(--navy); font-weight: 700; display: grid; place-items: center; }
.cart-qty button:hover { color: var(--blue); }
.cart-qty span { width: 32px; text-align: center; font-size: .9rem; font-weight: 700; }
.cart-item-price { text-align: right; flex: none; }
.cart-item-price b { color: var(--navy); }
.cart-item-remove { font-size: .75rem; color: var(--muted); margin-top: 8px; display: inline-flex; align-items: center; gap: 4px; }
.cart-item-remove:hover { color: var(--red); }
.cart-item-remove svg { width: 13px; height: 13px; }
.cart-empty { text-align: center; color: var(--muted); padding: 50px 20px; }
.cart-empty svg { width: 60px; height: 60px; color: var(--line); margin-bottom: 14px; }
.cart-total { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.cart-total b { font-size: 1.3rem; color: var(--navy); font-family: var(--font-head); }
.cart-total span { color: var(--muted); font-size: .9rem; }
.free-ship-bar { background: var(--bg); border-radius: 10px; padding: 12px 14px; margin-bottom: 16px; font-size: .82rem; color: var(--navy); }
.free-ship-bar .track { height: 6px; background: var(--line); border-radius: 999px; margin-top: 8px; overflow: hidden; }
.free-ship-bar .track i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--green)); border-radius: 999px; transition: width .4s; }

/* mobile nav */
.mnav-search { padding: 14px 20px; border-bottom: 1px solid var(--line); }
.mnav-search input { width: 100%; height: 44px; border: 1.5px solid var(--line); border-radius: 999px; padding: 0 18px; background: var(--bg); }
.mnav-list li > a, .mnav-list li > button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 15px 20px; border-bottom: 1px solid var(--line); color: var(--navy); font-weight: 600; font-size: 1rem; justify-content: space-between; }
.mnav-list .ic { display: flex; align-items: center; gap: 12px; }
.mnav-list .ic svg.cat { width: 22px; height: 22px; color: var(--blue); }
.mnav-list .chev { width: 18px; height: 18px; color: var(--muted); transition: transform .2s; }
.mnav-list li.open > button .chev { transform: rotate(180deg); }
.mnav-sub { display: none; background: var(--bg); }
.mnav-list li.open > .mnav-sub { display: block; }
.mnav-sub a { padding: 12px 20px 12px 54px; font-weight: 500; font-size: .92rem; color: var(--muted); }
.mnav-sub a:hover { color: var(--blue); }

/* ---------- Quick view modal ---------- */
.modal { position: fixed; inset: 0; z-index: 110; display: grid; place-items: center; padding: 20px; opacity: 0; visibility: hidden; transition: .25s; }
.modal.show { opacity: 1; visibility: visible; }
.modal-card { background: #fff; border-radius: 20px; max-width: 860px; width: 100%; max-height: 90vh; overflow: auto; display: grid; grid-template-columns: 1fr 1fr; position: relative; transform: scale(.96); transition: transform .25s; }
.modal.show .modal-card { transform: scale(1); }
.modal-close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); display: grid; place-items: center; z-index: 3; }
.modal-close:hover { background: var(--bg); }
.modal-close svg { width: 20px; height: 20px; }
.modal-media { background: linear-gradient(160deg, #f8fafd, #eef2f8); display: grid; place-items: center; padding: 40px; }
.modal-media svg.battery { width: 80%; }
.modal-info { padding: 38px 34px; }
.modal-info .product-brand { font-size: .8rem; }
.modal-info h3 { font-size: 1.5rem; margin: 6px 0 12px; }
.modal-info .mprice { font-family: var(--font-head); font-size: 2rem; font-weight: 800; color: var(--navy); margin: 16px 0; }
.modal-info .mprice .was { font-size: 1.1rem; color: var(--muted); text-decoration: line-through; margin-right: 8px; -webkit-text-decoration: line-through; }
.modal-specs { list-style: none; padding: 0; margin: 16px 0 24px; }
.modal-specs li { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.modal-specs li span { color: var(--muted); }
.modal-specs li b { color: var(--navy); }
.modal-actions { display: flex; gap: 10px; }
.stock-pill { display: inline-flex; align-items: center; gap: 7px; background: rgba(43,182,115,.12); color: var(--green); padding: 6px 13px; border-radius: 999px; font-size: .82rem; font-weight: 700; }
.stock-pill svg { width: 15px; height: 15px; }

/* ---------- Toast ---------- */
.toast-wrap { position: fixed; top: 20px; left: 50%; transform: translateX(-50%); z-index: 120; display: flex; flex-direction: column; gap: 10px; width: min(380px, 92vw); }
.toast { background: #fff; border-radius: 12px; box-shadow: var(--shadow-lg); padding: 14px 16px; display: flex; align-items: center; gap: 12px; border-left: 4px solid var(--green); animation: toastIn .3s ease; }
.toast .tic { width: 36px; height: 36px; border-radius: 10px; background: rgba(43,182,115,.12); color: var(--green); display: grid; place-items: center; flex: none; }
.toast .tic svg { width: 20px; height: 20px; }
.toast b { font-size: .9rem; color: var(--navy); display: block; }
.toast span { font-size: .8rem; color: var(--muted); }
@keyframes toastIn { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- Page header (shop pages) ---------- */
.pagehead { background: var(--navy); color: #fff; padding: 38px 0; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: .85rem; color: #aebcd2; margin-bottom: 10px; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb svg { width: 13px; height: 13px; }
.pagehead h1 { color: #fff; margin: 0; font-size: clamp(1.7rem, 3vw, 2.4rem); }
.pagehead p { color: #aebcd2; margin: 6px 0 0; }

/* shop layout */
.shop-layout { display: grid; grid-template-columns: 270px 1fr; gap: 32px; align-items: start; }
.filters { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; position: sticky; top: 96px; }
.filter-group { padding: 14px 0; border-bottom: 1px solid var(--line); }
.filter-group:last-child { border-bottom: none; }
.filter-group h5 { margin: 0 0 12px; font-size: .95rem; color: var(--navy); font-family: var(--font-head); }
.filter-opt { display: flex; align-items: center; gap: 10px; padding: 6px 0; cursor: pointer; font-size: .9rem; color: #475160; }
.filter-opt input { width: 17px; height: 17px; accent-color: var(--blue); }
.filter-opt:hover { color: var(--blue); }
.filter-opt .count { margin-left: auto; color: var(--muted); font-size: .8rem; }
.shop-toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; gap: 14px; flex-wrap: wrap; }
.shop-toolbar .count { color: var(--muted); font-size: .9rem; }
.shop-toolbar select { height: 42px; border: 1.5px solid var(--line); border-radius: 10px; padding: 0 14px; font-family: inherit; color: var(--navy); background: #fff; }
.filters-toggle { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .products { grid-template-columns: repeat(3, 1fr); }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .brands { grid-template-columns: repeat(4, 1fr); }
  .review-grid { grid-template-columns: 1fr; }
  .shop-layout { grid-template-columns: 1fr; }
  .filters { position: static; display: none; }
  .filters.show { display: block; margin-bottom: 20px; }
  .filters-toggle { display: inline-flex; }
}
@media (max-width: 980px) {
  .nav, .topbar-usps { display: none; }
  .burger { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; color: var(--navy); }
  .burger:hover { background: var(--bg); }
  .burger svg { width: 26px; height: 26px; }
  .search { order: 3; flex-basis: 100%; max-width: none; }
  .header-main { flex-wrap: wrap; padding: 12px 0; gap: 14px; min-height: 0; }
  .haction span { display: none; }
  .promo-inner { grid-template-columns: 1fr; }
  .promo-art { display: none; }
  .newsletter { grid-template-columns: 1fr; }
  .newsletter form { min-width: 0; }
  .content-cols { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .modal-card { grid-template-columns: 1fr; }
  .modal-media { display: none; }
  .slide-art { display: none; }
  .slide-bg::before { background: linear-gradient(90deg, rgba(8,20,38,.94), rgba(8,20,38,.7)); }
}
@media (max-width: 720px) {
  .usp-strip .container { grid-template-columns: 1fr 1fr; }
  .usp:nth-child(2) { border-right: none; }
  .usp:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .trust .container { grid-template-columns: 1fr 1fr; }
  .products { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .brands { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 44px 0; }
  .promo-inner { padding: 34px 26px; }
  .float-contact { display: none; }
  .topbar-right .hide-sm { display: none; }
  .slide-bg { min-height: 420px; }
}
@media (max-width: 460px) {
  .footer-top { grid-template-columns: 1fr; }
  .product-foot { flex-direction: column; align-items: stretch; gap: 12px; }
  .product-add { width: 100%; height: 40px; }
}

/* ============================================================
   v2 additions — product page, FAQ, steps, search, animations
   ============================================================ */

/* ---------- Header scroll effect ---------- */
.header { transition: box-shadow .3s ease; }
.header.scrolled { box-shadow: 0 6px 28px rgba(16, 33, 60, .14); }

/* ---------- Search dropdown ---------- */
.search-drop {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 80;
  background: #fff; border-radius: 14px; box-shadow: 0 20px 50px rgba(16,33,60,.16);
  border: 1px solid var(--line); overflow: hidden;
}
.search-hit {
  display: flex; align-items: center; gap: 12px; padding: 10px 14px;
  border-bottom: 1px solid var(--line); color: var(--navy); transition: background .12s;
  font-size: .88rem;
}
.search-hit:last-of-type { border-bottom: none; }
.search-hit:hover { background: var(--bg); }
.sh-thumb { width: 40px; height: 40px; flex: none; }
.sh-thumb svg.battery { width: 40px; height: auto; }
.sh-info { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sh-info b { font-size: .72rem; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; color: var(--gold); margin-right: 6px; }
.sh-price { font-family: var(--font-head); font-weight: 800; font-size: .95rem; color: var(--navy); flex: none; }
.search-empty { color: var(--muted); font-size: .88rem; }
.search-all {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px; background: var(--bg); font-weight: 700; font-size: .85rem; color: var(--blue);
  border-top: 1px solid var(--line);
}
.search-all:hover { background: var(--line); }
.search-all svg { width: 16px; height: 16px; }

/* ---------- Scroll animations ---------- */
@media (prefers-reduced-motion: no-preference) {
  .anim {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .55s ease, transform .55s ease;
  }
  .anim.anim-in {
    opacity: 1;
    transform: none;
  }
}

/* ---------- "How it works" steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 78px; left: 10%; right: 10%; height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--blue), var(--green)); z-index: 0;
  border-radius: 999px;
}
.step { text-align: center; position: relative; z-index: 1; padding: 0 8px; }
.step-n {
  font-family: var(--font-head); font-size: .72rem; font-weight: 800;
  letter-spacing: 3px; color: var(--gold); text-transform: uppercase; margin-bottom: 14px;
}
.step-ic {
  width: 68px; height: 68px; border-radius: 20px; background: #fff;
  border: 2px solid var(--gold); display: grid; place-items: center; margin: 0 auto 18px;
  color: var(--navy); box-shadow: 0 8px 24px rgba(245,179,1,.2);
  transition: transform .2s, box-shadow .2s;
}
.step:hover .step-ic { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(245,179,1,.3); }
.step-ic svg { width: 28px; height: 28px; }
.step h4 { font-size: 1.05rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .88rem; line-height: 1.65; }

/* ---------- FAQ accordion ---------- */
.faq { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; text-align: left; padding: 19px 0;
  display: flex; justify-content: space-between; align-items: center;
  font-weight: 700; font-size: 1rem; color: var(--navy); gap: 16px;
  transition: color .15s;
}
.faq-q svg { width: 20px; height: 20px; color: var(--muted); flex: none; transition: transform .28s, color .15s; }
.faq-item.open .faq-q { color: var(--blue); }
.faq-item.open .faq-q svg { transform: rotate(180deg); color: var(--gold); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .38s cubic-bezier(.4,0,.2,1); }
.faq-a-inner { padding: 0 0 20px; color: #475160; line-height: 1.72; font-size: .97rem; }
.faq-a-inner strong { color: var(--navy); }
.faq-item.open .faq-a { max-height: 400px; }

/* ---------- Product detail page ---------- */
.product-page { padding: 36px 0 80px; }

.product-hero {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: start;
  margin-bottom: 52px;
}
.product-gallery { position: sticky; top: 96px; }
.gallery-main {
  background: linear-gradient(160deg, #f4f8fd, #e8f0fb);
  border-radius: 22px; padding: 44px; display: grid; place-items: center;
  aspect-ratio: 1; border: 1px solid var(--line);
}
.gallery-main svg.battery { width: 62%; height: auto; filter: drop-shadow(0 20px 40px rgba(10,28,51,.18)); }
.gallery-meta { display: flex; align-items: center; gap: 12px; margin-top: 16px; flex-wrap: wrap; }
.pd-artno { display: flex; align-items: center; gap: 7px; font-size: .82rem; color: var(--muted); }
.pd-artno svg { width: 15px; height: 15px; }

.pd-brand { font-size: .75rem; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.product-detail h1 { font-size: clamp(1.4rem, 2.4vw, 2rem); margin-bottom: 14px; line-height: 1.2; }
.pd-stars { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.pd-stars > div { display: flex; gap: 2px; color: var(--gold); }
.pd-stars svg { width: 17px; height: 17px; }
.pd-stars .off { color: #d9dfea; }
.pd-review-link { color: var(--muted); font-size: .88rem; cursor: pointer; transition: color .15s; }
.pd-review-link:hover { color: var(--blue); text-decoration: underline; }

.pd-price { display: flex; align-items: baseline; gap: 14px; margin-bottom: 6px; flex-wrap: wrap; }
.pd-price .now { font-family: var(--font-head); font-size: 2.4rem; font-weight: 800; color: var(--navy); }
.pd-price .was { font-size: 1.1rem; color: var(--muted); text-decoration: line-through; }
.pd-price .save {
  background: rgba(226,29,72,.1); color: var(--red);
  font-size: .82rem; font-weight: 700; padding: 5px 11px; border-radius: 999px;
}

.pd-usps {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  padding: 16px 18px; background: var(--bg); border-radius: 14px; margin-bottom: 24px;
}
.pd-usps span {
  display: flex; align-items: center; gap: 8px; font-size: .85rem;
  color: #475160; font-weight: 500;
}
.pd-usps svg { width: 15px; height: 15px; color: var(--green); flex: none; }

.pd-actions { display: flex; gap: 12px; margin-bottom: 12px; }
.qty-wrap {
  display: flex; align-items: center; border: 1.5px solid var(--line);
  border-radius: 12px; overflow: hidden; flex: none;
}
.qty-btn {
  width: 46px; height: 52px; font-size: 1.5rem; font-weight: 300;
  color: var(--navy); display: grid; place-items: center; transition: background .12s;
}
.qty-btn:hover { background: var(--bg); }
.qty-inp {
  width: 52px; height: 52px; border: none; border-left: 1.5px solid var(--line);
  border-right: 1.5px solid var(--line); text-align: center; font-size: 1rem;
  font-weight: 700; font-family: inherit; color: var(--navy);
}
.qty-inp:focus { outline: none; }
.qty-inp::-webkit-inner-spin-button, .qty-inp::-webkit-outer-spin-button { -webkit-appearance: none; }
.btn-lg { padding: 0 28px; height: 52px; font-size: 1rem; }

.pd-wish { margin-top: 0; width: 100%; justify-content: center; color: var(--navy); }
.pd-wish svg { width: 20px; height: 20px; }
.pd-wish.on { color: var(--red); }

.pd-delivery-note {
  display: flex; align-items: center; gap: 10px; margin-top: 18px;
  padding: 13px 16px; background: rgba(43,182,115,.08); border-radius: 12px;
  color: #1a7a4a; font-size: .88rem;
}
.pd-delivery-note svg { width: 17px; height: 17px; flex: none; }

/* Tabs */
.pd-tabs { margin-bottom: 60px; }
.tabs-nav { display: flex; border-bottom: 2px solid var(--line); margin-bottom: 30px; overflow-x: auto; }
.tab-btn {
  padding: 14px 22px; font-weight: 700; font-size: .95rem; color: var(--muted);
  border-bottom: 2px solid transparent; margin-bottom: -2px; white-space: nowrap;
  transition: color .15s, border-color .15s; flex: none;
}
.tab-btn:hover { color: var(--navy); }
.tab-btn.active { color: var(--navy); border-bottom-color: var(--gold); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.tab-content h3 { font-size: 1.4rem; margin-bottom: 16px; }
.tab-content p { color: #475160; margin-bottom: 14px; line-height: 1.72; }
.tab-content a { color: var(--blue); font-weight: 600; }
.tab-features {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 24px;
  padding: 20px; background: var(--bg); border-radius: 14px;
}
.tf-item { display: flex; align-items: center; gap: 10px; font-size: .9rem; color: #475160; font-weight: 500; }
.tf-item svg { width: 16px; height: 16px; color: var(--green); flex: none; }

.specs-table { width: 100%; border-collapse: collapse; }
.specs-table tr { border-bottom: 1px solid var(--line); }
.specs-table tr:last-child { border-bottom: none; }
.specs-table tr:nth-child(even) { background: var(--bg); }
.specs-table th {
  text-align: left; padding: 13px 18px; font-size: .88rem;
  color: var(--muted); font-weight: 600; width: 200px;
}
.specs-table td { padding: 13px 18px; font-size: .9rem; font-weight: 600; color: var(--navy); }

/* Reviews on product page */
.reviews-wrap { display: grid; grid-template-columns: 260px 1fr; gap: 36px; }
.review-score-box {
  background: var(--navy); color: #fff; border-radius: 18px; padding: 28px;
  text-align: center; position: sticky; top: 96px;
}
.score-big { font-family: var(--font-head); font-size: 4rem; font-weight: 800; color: var(--gold); line-height: 1; }
.score-stars { display: flex; justify-content: center; gap: 3px; color: var(--gold); margin: 10px 0 6px; }
.score-stars svg { width: 19px; height: 19px; }
.score-sub { font-size: .82rem; color: #aebcd2; margin-bottom: 20px; }
.score-bars { text-align: left; }
.score-bar-row { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; font-size: .75rem; color: #aebcd2; }
.score-bar-row span { display: flex; align-items: center; gap: 3px; width: 28px; flex: none; }
.score-bar-row span svg { width: 11px; height: 11px; color: var(--gold); }
.score-bar { flex: 1; height: 6px; background: rgba(255,255,255,.1); border-radius: 999px; overflow: hidden; }
.score-bar i { display: block; height: 100%; background: var(--gold); border-radius: 999px; }
.review-list { display: flex; flex-direction: column; gap: 14px; }
.review-item { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px; }
.ri-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.ri-head b { font-size: .92rem; color: var(--navy); }
.ri-head span { display: flex; gap: 2px; color: var(--gold); }
.ri-head span svg { width: 14px; height: 14px; }
.review-item > p { color: #475160; font-size: .9rem; margin: 0; font-style: italic; }

/* Related products */
.pd-related { margin-bottom: 40px; }

/* Sticky buy bar */
.sticky-buy {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 45;
  background: rgba(255,255,255,.97); backdrop-filter: blur(8px);
  border-top: 1px solid var(--line); box-shadow: 0 -8px 30px rgba(16,33,60,.1);
  transform: translateY(110%); transition: transform .35s cubic-bezier(.4,0,.2,1);
  padding: 12px 0;
}
.sticky-buy.show { transform: translateY(0); }
.sticky-buy-inner { display: flex; align-items: center; gap: 16px; }
.sticky-title {
  flex: 1; font-weight: 700; font-size: .92rem; color: var(--navy);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.sticky-price { font-family: var(--font-head); font-size: 1.4rem; font-weight: 800; color: var(--navy); flex: none; }

/* ---------- Product page responsive ---------- */
@media (max-width: 980px) {
  .product-hero { grid-template-columns: 1fr; gap: 32px; }
  .product-gallery { position: static; }
  .gallery-main { aspect-ratio: auto; padding: 32px; }
  .reviews-wrap { grid-template-columns: 1fr; }
  .review-score-box { position: static; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
}
@media (max-width: 720px) {
  .pd-usps { grid-template-columns: 1fr; }
  .tab-features { grid-template-columns: 1fr; }
  .sticky-title { display: none; }
  .pd-actions { flex-wrap: wrap; }
  .btn-lg { flex: 1; min-width: 0; }
  .pd-price .now { font-size: 2rem; }
  .specs-table th { width: 130px; }
}
@media (max-width: 540px) {
  .steps { grid-template-columns: 1fr; }
}

/* ============================================================
   Real product photo styles
   ============================================================ */

/* Product card image */
.product-img-wrap {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: #f8f9fb;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  overflow: hidden;
}
.product-photo {
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 12px;
  display: block;
  transition: transform .35s ease;
}
.product:hover .product-photo { transform: scale(1.06); }
.product-photo-svg { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.product-photo-svg .battery { width: 160px; height: 160px; }

/* Gallery photo on product detail */
.gallery-photo {
  width: 100%; height: auto;
  max-height: 100%;
  object-fit: contain;
  display: block;
  border-radius: var(--radius-sm);
}

/* Category card image */
.cat-scene img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.cat-card:hover .cat-scene img { transform: scale(1.06); }

/* Cart item image */
.cart-item-img {
  width: 72px; height: 72px; flex-shrink: 0;
  background: #f0f2f6;
  border-radius: 10px;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.cart-item-img img {
  width: 100%; height: 100%;
  object-fit: contain; padding: 6px;
}
.cart-item-img .battery { width: 60px; height: 60px; }

/* Quick view modal image */
.modal-media img {
  width: 100%; height: 100%;
  object-fit: contain; padding: 16px;
  background: #f8f9fb;
  border-radius: var(--radius);
}

/* ============================================================
   Checkout pagina
   ============================================================ */
.crumb-sep { color: #6b7d99; }
.checkout-page { padding: 40px 0 80px; }
.checkout-grid {
  display: grid; grid-template-columns: 1fr 380px; gap: 32px; align-items: start;
}
.checkout-form {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm);
}
.checkout-form h2, .checkout-summary h2 {
  font-size: 1.2rem; margin: 0 0 18px;
}
.cf-row { margin-bottom: 16px; }
.cf-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cf-field { display: flex; flex-direction: column; gap: 6px; }
.cf-field span { font-size: .85rem; font-weight: 600; color: var(--ink); }
.cf-field input {
  height: 48px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 0 14px; font: inherit; font-size: .95rem; background: #fbfcfe;
  transition: border-color .15s, box-shadow .15s;
}
.cf-field input:focus {
  outline: none; border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(30,107,255,.12); background: #fff;
}
.cf-error {
  background: #fff1f3; border: 1px solid #fecdd6; color: #be123c;
  padding: 12px 16px; border-radius: var(--radius-sm); font-size: .9rem;
  font-weight: 600; margin-bottom: 16px;
}
.btn-block { width: 100%; justify-content: center; }
.cf-trust {
  display: flex; flex-direction: column; gap: 4px; align-items: center;
  margin-top: 16px; font-size: .82rem; color: var(--muted); text-align: center;
}

/* Bestelling samenvatting */
.checkout-summary {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow-sm); position: sticky; top: 96px;
}
.cs-line { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cs-thumb {
  position: relative; width: 56px; height: 56px; flex-shrink: 0;
  background: #f4f6fa; border-radius: 10px; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.cs-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.cs-qty {
  position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px;
  background: var(--navy); color: #fff; border-radius: 999px; font-size: .72rem;
  font-weight: 700; display: flex; align-items: center; justify-content: center; padding: 0 5px;
}
.cs-info { flex: 1; min-width: 0; }
.cs-info b { display: block; font-size: .85rem; line-height: 1.3; }
.cs-info span { font-size: .75rem; color: var(--muted); }
.cs-price { font-weight: 700; font-size: .9rem; white-space: nowrap; }
.cs-totals { margin-top: 16px; }
.cs-row { display: flex; justify-content: space-between; align-items: center; padding: 6px 0; font-size: .92rem; }
.cs-row small { color: var(--muted); font-weight: 400; }
.cs-total { border-top: 2px solid var(--line); margin-top: 8px; padding-top: 14px; font-size: 1.15rem; }
.cs-total b { color: var(--navy); font-family: var(--font-head); }
.cs-freebar { background: #f4f8ff; border-radius: 10px; padding: 10px 12px; font-size: .82rem; margin: 8px 0; }
.cs-freebar .track { height: 6px; background: #d7e3fb; border-radius: 999px; margin-top: 6px; overflow: hidden; }
.cs-freebar .track i { display: block; height: 100%; background: linear-gradient(90deg, var(--blue), var(--gold)); border-radius: 999px; }
.cs-empty { text-align: center; padding: 30px 0; color: var(--muted); }
.cs-empty .btn { margin-top: 12px; }

/* ============================================================
   Bedankt pagina
   ============================================================ */
.thankyou-page { padding: 70px 0 100px; }
.thankyou-card {
  max-width: 620px; margin: 0 auto; background: #fff; border: 1px solid var(--line);
  border-radius: 20px; padding: 48px 40px; text-align: center; box-shadow: var(--shadow);
}
.thankyou-card h1 { font-size: 1.7rem; margin: 18px 0 10px; }
.thankyou-card p { color: var(--muted); max-width: 440px; margin: 0 auto 8px; }
.ty-icon {
  width: 78px; height: 78px; border-radius: 50%; margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
}
.ty-icon svg { width: 38px; height: 38px; }
.ty-ok .ty-icon { background: #e7f8ef; color: var(--green); }
.ty-pending .ty-icon { background: #fff6e3; color: #d99405; }
.ty-fail .ty-icon { background: #fff1f3; color: #e11d48; }
.ty-spinner {
  width: 54px; height: 54px; margin: 0 auto 6px; border-radius: 50%;
  border: 4px solid var(--line); border-top-color: var(--blue); animation: tyspin .8s linear infinite;
}
@keyframes tyspin { to { transform: rotate(360deg); } }
.thankyou-card .btn { margin-top: 22px; }
.ty-order { text-align: left; background: #f8fafd; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; margin-top: 24px; }
.ty-order-head { font-size: .85rem; color: var(--muted); margin-bottom: 10px; }
.ty-order-head b { color: var(--navy); }
.ty-line { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; font-size: .9rem; }
.ty-line-total { border-top: 2px solid var(--line); margin-top: 6px; padding-top: 12px; font-size: 1.05rem; }
.ty-line-total b { color: var(--navy); }

@media (max-width: 880px) {
  .checkout-grid { grid-template-columns: 1fr; }
  .checkout-summary { position: static; order: -1; }
}
@media (max-width: 540px) {
  .cf-row-2 { grid-template-columns: 1fr; }
  .thankyou-card { padding: 36px 22px; }
}

