/* NewBiolüx — site styles. Colors are tokens only; dark theme overrides them. */
:root {
  --bg: #f7f9fc;
  --surface: #ffffff;
  --surface-2: #eef3f8;
  --text: #14213d;
  --muted: #4d5b74;
  --border: #dde4ee;
  --primary: #1d7f3a;
  --primary-hover: #176831;
  --primary-soft: #e3f4e7;
  --brand-blue: #304c9f;
  --brand-red: #ed1f24;
  --on-primary: #ffffff;
  --accent: #1d2f66;
  --danger: #b42318;
  --old-price: #7a8a94;
  --wa: #1fa855;
  --shadow: 0 1px 2px rgba(20, 33, 61, .06), 0 8px 24px rgba(20, 33, 61, .08);
  --shadow-lg: 0 20px 50px rgba(20, 33, 61, .16);
  --radius: 18px;
  --radius-sm: 12px;
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: light;
}

[data-theme="dark"] {
  --bg: #0a1120;
  --surface: #111b2e;
  --surface-2: #18243b;
  --text: #e7ecf5;
  --muted: #a1aec4;
  --border: #263450;
  --primary: #4fc874;
  --primary-hover: #6fd78f;
  --primary-soft: #16351f;
  --brand-blue: #8ea7f2;
  --brand-red: #ff6b6b;
  --on-primary: #06220f;
  --accent: #e7ecf5;
  --danger: #ff8a80;
  --old-price: #7f95a3;
  --wa: #2fd06b;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, .45);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  transition: background-color .25s, color .25s;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .container { padding: 0 24px; } }

.skip-link { position: absolute; left: -999px; top: 8px; background: var(--primary); color: var(--on-primary); padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .15s, background-color .15s, border-color .15s, color .15s;
  min-height: 48px;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--primary); color: var(--on-primary); }
.btn-primary:hover { background: var(--primary-hover); }
.btn-outline { border-color: var(--border); background: var(--surface); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { filter: brightness(1.05); }
[data-theme="dark"] .btn-wa { color: #04210f; }
.btn-block { width: 100%; }
.btn-sm { padding: 8px 16px; min-height: 40px; font-size: 14px; }

.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px;
  border-radius: 50%; border: 1px solid var(--border); background: var(--surface);
  cursor: pointer; position: relative; text-decoration: none; color: var(--text);
  transition: border-color .15s, color .15s;
}
.icon-btn:hover { border-color: var(--primary); color: var(--primary); }
.icon-btn .when-dark { display: none; }
[data-theme="dark"] .icon-btn .when-dark { display: grid; }
[data-theme="dark"] .icon-btn .when-light { display: none; }
.icon-btn span { display: grid; place-items: center; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; gap: 16px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 20px; letter-spacing: -.03em; }
.brand img { max-height: 44px; width: auto; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--primary); color: var(--on-primary); }
.main-nav { display: flex; gap: 4px; margin-left: auto; }
.main-nav a { padding: 10px 14px; border-radius: 999px; text-decoration: none; font-weight: 600; color: var(--muted); }
.main-nav a:hover { color: var(--text); background: var(--surface-2); }
.header-actions { display: flex; gap: 8px; align-items: center; }
.cart-count {
  position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: 999px; background: var(--primary); color: var(--on-primary);
  font-size: 12px; font-weight: 700; display: grid; place-items: center;
}
.menu-btn { display: none; }

@media (max-width: 860px) {
  .menu-btn { display: inline-grid; }
  .header-actions { margin-left: auto; }
  .main-nav {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; gap: 0;
    background: var(--surface); border-bottom: 1px solid var(--border); padding: 8px 16px 16px;
    box-shadow: var(--shadow-lg); transform: translateY(-120%); transition: transform .25s; margin: 0;
    visibility: hidden;
  }
  .nav-open .main-nav { transform: none; visibility: visible; }
  .main-nav a { padding: 14px 12px; font-size: 17px; border-radius: 12px; }
}

/* Sections */
.section { padding: 64px 0; }
@media (min-width: 768px) { .section { padding: 96px 0; } }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); }
.section-head p { color: var(--muted); }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--primary); margin-bottom: 8px; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 48px 0 64px; }
.hero::before {
  content: ''; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 760px; max-height: 760px;
  background: radial-gradient(circle, var(--primary-soft) 0%, transparent 65%); z-index: -1;
}
.hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 56px; } .hero { padding: 72px 0 96px; } }
.hero h1 { font-size: clamp(36px, 6vw, 60px); font-weight: 800; letter-spacing: -.035em; }
.hero p.lead { font-size: clamp(17px, 2vw, 20px); color: var(--muted); max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-media { position: relative; }
.hero-media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 28px; box-shadow: var(--shadow-lg); }
.hero-badge {
  position: absolute; left: -8px; bottom: 24px; display: flex; gap: 10px; align-items: center;
  background: var(--surface); padding: 12px 16px; border-radius: 16px; box-shadow: var(--shadow-lg); font-weight: 700; font-size: 14px;
}
.hero-badge span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--primary-soft); color: var(--primary); }
@media (max-width: 600px) { .hero-badge { left: 12px; bottom: 12px; } }

/* About */
.about-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 1fr 1.1fr; gap: 64px; } }
.about-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.about-text p { color: var(--muted); font-size: 17px; }

/* Features */
.features-bg { background: var(--surface-2); }
.features { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.feature { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; transition: transform .2s, box-shadow .2s; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--primary-soft); color: var(--primary); margin-bottom: 16px; }
.feature h3 { font-size: 18px; }
.feature p { color: var(--muted); margin: 0; }

/* Product grid & card */
.product-grid { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 700px) { .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
@media (min-width: 1040px) { .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.product-card {
  display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; transition: transform .2s, box-shadow .2s;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
/* fixed square image box: every card is the same size whatever the photo's shape */
.product-card-media { position: relative; display: block; aspect-ratio: 1 / 1; min-height: 0; overflow: hidden; background: #fff; }
.card-media-link { position: absolute; inset: 0; display: block; }
.product-card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity .35s ease, transform .35s ease; }
.card-img:not(.is-active) { opacity: 0; }
.product-card:hover .card-img.is-active { transform: scale(1.03); }
.card-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 36px; height: 36px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer; background: rgba(255, 255, 255, .92); color: #14213d; box-shadow: 0 2px 10px rgba(0, 0, 0, .18); opacity: 0; transition: opacity .2s; }
.card-prev { left: 8px; }
.card-next { right: 8px; }
.product-card-media:hover .card-nav, .gallery-main:hover .card-nav, .card-nav:focus-visible { opacity: 1; }
@media (hover: none) { .card-nav { opacity: .9; width: 32px; height: 32px; } }
.card-dots { position: absolute; left: 0; right: 0; bottom: 8px; z-index: 2; display: flex; justify-content: center; gap: 5px; pointer-events: none; }
.card-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(20, 33, 61, .25); transition: background .2s, width .2s; }
.card-dots i.is-active { width: 16px; border-radius: 4px; background: var(--primary); }
.badge { position: absolute; top: 10px; left: 10px; background: var(--danger); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
[data-theme="dark"] .badge { color: #2a0603; }
.product-card-body { display: flex; flex-direction: column; gap: 6px; padding: 14px; flex: 1; }
@media (min-width: 700px) { .product-card-body { padding: 18px; } }
.product-card-cat { font-size: 12px; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: .05em; }
.product-card h3 { font-size: 16px; margin: 0; }
.product-card h3 a { text-decoration: none; }
.product-card h3 a:hover { color: var(--primary); }
.price-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 8px; margin-top: auto; padding-top: 6px; }
.price { font-weight: 800; font-size: 18px; color: var(--brand-blue); }
.price-ask { font-weight: 700; color: var(--primary); }
.old-price { color: var(--old-price); text-decoration: line-through; font-size: 14px; }
.vat { font-size: 12px; color: var(--muted); }
.product-card .btn { margin-top: 10px; }

.center { text-align: center; }
.mt-lg { margin-top: 40px; }

/* Contact */
.contact-grid { display: grid; gap: 24px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.2fr; } }
.contact-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.contact-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .ci { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--primary-soft); color: var(--primary); }
.contact-list small { display: block; color: var(--muted); font-size: 13px; }
.contact-list a { text-decoration: none; font-weight: 600; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); min-height: 320px; background: var(--surface-2); }
.map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }

/* Page header */
.page-head { padding-top: 40px; padding-bottom: 8px; }
.page-head h1 { font-size: clamp(30px, 5vw, 44px); }
.breadcrumb { font-size: 14px; color: var(--muted); margin-bottom: 12px; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--primary); }

/* Category chips */
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 20px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); text-decoration: none; font-weight: 600; font-size: 15px; color: var(--muted); }
.chip:hover { color: var(--text); border-color: var(--primary); }
.chip.active { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.empty { text-align: center; padding: 64px 16px; color: var(--muted); }

/* Product detail */
.product-detail { display: grid; gap: 32px; padding-top: 16px; padding-bottom: 72px; }
@media (min-width: 900px) { .product-detail { grid-template-columns: 1fr 1fr; gap: 56px; } }
.gallery-main { position: relative; background: #fff; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1 / 1; border: 1px solid var(--border); }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.gallery-main .card-nav { width: 44px; height: 44px; }
.gallery-count { position: absolute; right: 12px; bottom: 12px; padding: 3px 10px; border-radius: 999px; background: rgba(20, 33, 61, .7); color: #fff; font-size: 13px; font-weight: 700; }
.gallery-thumbs button img { object-fit: contain; background: #fff; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; }
.gallery-thumbs button { flex: none; width: 76px; height: 76px; padding: 0; border-radius: 12px; overflow: hidden; border: 2px solid transparent; cursor: pointer; background: var(--surface-2); }
.gallery-thumbs button.active { border-color: var(--primary); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.product-info h1 { font-size: clamp(28px, 4vw, 40px); }
.product-info .short { color: var(--muted); font-size: 17px; }
.product-info .price-row { margin: 16px 0 24px; padding: 0; }
.product-info .price { font-size: 30px; }
.field-label { font-weight: 700; font-size: 14px; margin-bottom: 8px; display: block; }
.sizes { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.size-btn { min-width: 64px; min-height: 48px; padding: 8px 18px; border-radius: 12px; border: 2px solid var(--border); background: var(--surface); font-weight: 700; cursor: pointer; }
.size-btn:hover { border-color: var(--primary); }
.size-btn[aria-pressed="true"] { border-color: var(--primary); background: var(--primary-soft); color: var(--primary); }
.buy-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.buy-row .btn { flex: 1 1 200px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); height: 48px; }
.qty button { width: 44px; height: 46px; border: 0; background: none; cursor: pointer; display: grid; place-items: center; color: var(--text); border-radius: 999px; }
.qty button:hover { color: var(--primary); }
.qty input { width: 44px; text-align: center; border: 0; background: none; font-weight: 700; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.description { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--border); color: var(--muted); }
.description-body { white-space: pre-line; }
.description h2 { font-size: 18px; color: var(--text); }

/* Cart */
.cart-layout { display: grid; gap: 24px; padding: 8px 0 72px; align-items: start; }
@media (min-width: 900px) { .cart-layout { grid-template-columns: 1.6fr 1fr; gap: 32px; } }
.cart-lines { display: grid; gap: 12px; }
.cart-line { display: grid; grid-template-columns: 76px 1fr; gap: 14px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 12px; align-items: center; }
.cart-line img { width: 76px; height: 76px; object-fit: cover; border-radius: 10px; background: var(--surface-2); }
.cart-line-title { font-weight: 700; text-decoration: none; }
.cart-line-meta { font-size: 14px; color: var(--muted); }
.cart-line-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; }
.cart-line .qty { height: 40px; }
.cart-line .qty button { height: 38px; width: 38px; }
.link-btn { background: none; border: 0; padding: 6px; color: var(--muted); cursor: pointer; display: inline-flex; align-items: center; gap: 4px; font-size: 14px; }
.link-btn:hover { color: var(--danger); }
.summary { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; position: sticky; top: 92px; }
.summary-total { display: flex; justify-content: space-between; align-items: baseline; font-size: 20px; font-weight: 800; padding: 16px 0; border-top: 1px solid var(--border); margin-top: 16px; }
.summary .note { font-size: 13px; color: var(--muted); }
.form-field { margin-bottom: 14px; }
.form-field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.input { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--border); background: var(--bg); font-size: 16px; }
.input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }
textarea.input { resize: vertical; min-height: 88px; }
.summary .btn { margin-top: 10px; }

/* Footer */
.site-footer { background: var(--surface); border-top: 1px solid var(--border); padding: 56px 0 24px; margin-top: 0; }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1.3fr; } }
.site-footer h3 { font-size: 15px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.footer-about { color: var(--muted); margin-top: 14px; max-width: 360px; }
.footer-links, .footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-links a, .footer-contact a { text-decoration: none; }
.footer-links a:hover, .footer-contact a:hover { color: var(--primary); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { flex: none; margin-top: 3px; color: var(--primary); }
.socials { display: flex; gap: 10px; }
.socials a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border); }
.socials a:hover { color: var(--primary); border-color: var(--primary); }
.footer-bottom { border-top: 1px solid var(--border); margin-top: 40px; padding-top: 20px; font-size: 14px; color: var(--muted); }
.footer-bottom p { margin: 0; }

/* Floating WhatsApp & toast */
.wa-float {
  position: fixed; right: 16px; bottom: 16px; z-index: 60; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; background: var(--wa); color: #fff; box-shadow: var(--shadow-lg);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.07); }
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 70; transform: translate(-50%, 20px); opacity: 0;
  background: var(--accent); color: var(--bg); padding: 14px 20px; border-radius: 14px; box-shadow: var(--shadow-lg);
  font-weight: 600; transition: opacity .25s, transform .25s; max-width: calc(100vw - 32px); display: flex; gap: 12px; align-items: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast a { color: inherit; font-weight: 800; }

/* 404 */
.notfound { text-align: center; padding: 96px 16px; }
.notfound-code { font-size: 96px; font-weight: 800; color: var(--primary); line-height: 1; margin-bottom: 8px; }
.notfound p:not(.notfound-code) { color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
.price-from { font-size: 16px; }
.contact-grid > :only-child { grid-column: 1 / -1; }

/* Hero slider */
.slider {
  --slide-h: clamp(520px, 78vh, 760px);
  position: relative; height: var(--slide-h); overflow: hidden; background: var(--accent); isolation: isolate;
}
.slides, .slide { position: absolute; inset: 0; }
.slide { opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility 0s linear .9s; }
.slide.is-active { opacity: 1; visibility: visible; transition: opacity .9s ease, visibility 0s; z-index: 1; }
.slide-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% center; transform: scale(1.08); }
.slide.is-active .slide-img { animation: slide-zoom 7s ease-out forwards; }
@keyframes slide-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.slide-plain .slide-img { object-position: center; }
.slide-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(14, 24, 56, .62) 0%, rgba(14, 24, 56, .4) 38%, rgba(14, 24, 56, .06) 68%, rgba(14, 24, 56, 0) 100%);
}
.slide-content {
  position: relative; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  color: #fff; padding-bottom: 56px;
}
.slide-content > * { max-width: 620px; opacity: 0; transform: translateY(24px); }
.slide.is-active .slide-content > * { animation: slide-up .8s cubic-bezier(.2, .7, .2, 1) forwards; }
.slide.is-active .slide-content > :nth-child(2) { animation-delay: .12s; }
.slide.is-active .slide-content > :nth-child(3) { animation-delay: .24s; }
@keyframes slide-up { to { opacity: 1; transform: none; } }
.slide-title { font-size: clamp(36px, 6vw, 68px); font-weight: 800; letter-spacing: -.035em; line-height: 1.05; margin-bottom: 18px; text-wrap: balance; text-shadow: 0 2px 18px rgba(8, 16, 40, .35); }
.slide-text { font-size: clamp(17px, 2vw, 21px); color: rgba(255, 255, 255, .94); margin-bottom: 30px; text-shadow: 0 1px 10px rgba(8, 16, 40, .45); }
.btn-lg { padding: 15px 28px; min-height: 54px; font-size: 17px; }
.slider .btn-primary { box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
[data-theme="light"] .slider .btn-primary { background: #279b48; }
[data-theme="light"] .slider .btn-primary:hover { background: #22893f; }

.slider-controls {
  position: absolute; left: 0; right: 0; bottom: 28px; z-index: 2;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.slider-dots { display: flex; gap: 10px; }
.slider-dot { width: 44px; height: 28px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; align-items: center; }
.slider-dot span { display: block; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .35); overflow: hidden; position: relative; }
.slider-dot span::after { content: ''; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.slider-dot.is-active span::after { animation: dot-progress var(--slide-interval, 5s) linear forwards; }
.slider.is-paused .slider-dot.is-active span::after { animation-play-state: paused; }
.slider.no-autoplay .slider-dot.is-active span::after { animation: none; transform: scaleX(1); }
@keyframes dot-progress { to { transform: scaleX(1); } }
.slider-arrows { display: flex; gap: 10px; }
.slider-arrow {
  width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; color: #fff;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .3);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: background-color .2s, transform .2s;
}
.slider-arrow:hover { background: rgba(255, 255, 255, .26); transform: scale(1.05); }
.slider :focus-visible { outline-color: #fff; }

/* phones: the whole image is shown at its own aspect ratio (no cropping);
   the slide text sits in a strip below the image */
@media (max-width: 700px) {
  .slider { height: auto; background: #1d2f66; }
  .slides { position: relative; display: grid; }
  .slide { position: relative; inset: auto; grid-area: 1 / 1; display: flex; flex-direction: column; }
  .slide-img { position: relative; inset: auto; height: auto; aspect-ratio: var(--slide-ratio, 1920 / 900); object-fit: cover; object-position: center; transform: none; }
  .slide.is-active .slide-img { animation: none; }
  .slide-overlay { display: none; }
  .slide-content { height: auto; flex: 1; justify-content: center; padding-top: 18px; padding-bottom: 52px; background: #1d2f66; }
  .slide-content > * { max-width: 100%; }
  .slide-title { font-size: clamp(24px, 7vw, 32px); margin-bottom: 8px; text-shadow: none; }
  .slide-text { font-size: 15px; line-height: 1.45; margin-bottom: 16px; text-shadow: none; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .slider .btn-lg { padding: 11px 20px; min-height: 44px; font-size: 15px; }
  .slider-controls { bottom: 14px; }
  .slider-dot { width: 30px; }
  .slider-arrows { display: none; } /* swipe instead; the floating buttons sit there */
}
@media (prefers-reduced-motion: reduce) {
  .slide-content > * { opacity: 1; transform: none; }
  .slide-img { transform: none; }
}

/* Brand logo (dark backgrounds get a white backing so the blue stays readable) */
.brand-logo { height: 44px; width: auto; max-width: 190px; object-fit: contain; }
[data-theme="dark"] .brand-logo { background: #fff; padding: 5px 10px; border-radius: 12px; height: 46px; box-sizing: border-box; }
.site-footer .brand-logo { height: 52px; max-width: 220px; }
@media (max-width: 400px) { .site-header .brand-logo { height: 36px; max-width: 140px; } }

/* Shop: filters left, products right */
.shop-layout { display: grid; gap: 32px; align-items: start; padding-bottom: 72px; }
@media (min-width: 961px) { .shop-layout { grid-template-columns: 270px minmax(0, 1fr); } }
.shop-sidebar { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; position: sticky; top: 92px; max-height: calc(100vh - 110px); overflow-y: auto; }
.sidebar-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.sidebar-head h2 { font-size: 18px; margin: 0; }
.sidebar-head .icon-btn { display: none; }
.filter-block { padding: 16px 0; border-bottom: 1px solid var(--border); }
.filter-block:last-of-type { border-bottom: 0; }
.filter-title { display: block; font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 10px; }
.search-field { position: relative; }
.search-field svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search-field .input { padding-left: 42px; }
.filter-cats { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.filter-cats a { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 10px; text-decoration: none; font-weight: 600; color: var(--text); }
.filter-cats a:hover { background: var(--surface-2); }
.filter-cats a.active { background: var(--primary-soft); color: var(--primary); }
.filter-cats .count { font-size: 12px; font-weight: 700; color: var(--muted); background: var(--surface-2); border-radius: 999px; padding: 1px 9px; }
.filter-cats a.active .count { background: var(--surface); color: var(--primary); }
.price-range { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: center; color: var(--muted); }
.price-range .input { padding: 10px 12px; }
.filter-form .check { font-size: 15px; }
.filter-form > .btn { margin-top: 8px; }

.shop-toolbar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.result-count { margin: 0; color: var(--muted); flex: 1; min-width: 140px; }
.result-count strong { color: var(--text); }
.sort-field { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; color: var(--muted); }
.sort-field select { width: auto; padding: 9px 38px 9px 12px; font-size: 15px; appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 18px) 52%, calc(100% - 12px) 52%; background-size: 6px 6px; background-repeat: no-repeat; }
.filters-toggle { display: none; }
.filters-backdrop { display: none; }
@media (min-width: 1040px) { .shop-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1400px) { .shop-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.shop-empty { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }

@media (max-width: 960px) {
  .filters-toggle { display: inline-flex; }
  .shop-sidebar {
    position: fixed; inset: 0 auto 0 0; width: min(340px, 88vw); max-height: none; z-index: 80; border-radius: 0 var(--radius) var(--radius) 0;
    transform: translateX(-105%); transition: transform .25s; box-shadow: var(--shadow-lg);
  }
  .filters-open .shop-sidebar { transform: none; }
  .filters-open .filters-backdrop { display: block; position: fixed; inset: 0; background: rgba(0, 0, 0, .45); z-index: 79; }
  .sidebar-head .icon-btn { display: inline-grid; }
  .sort-field span { display: none; }
}

/* Utilities */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.toast-error { background: var(--danger); color: #fff; }
.form-alert { background: color-mix(in srgb, var(--danger) 12%, transparent); color: var(--danger); padding: 12px 14px; border-radius: 12px; font-weight: 600; margin-bottom: 14px; }
.field-help { font-size: 13px; color: var(--muted); margin: 6px 0 0; }
.muted-text { color: var(--muted); }

/* Floating quick actions (follow the page) */
.wa-float { display: none; }
.float-actions { position: fixed; right: 16px; bottom: 16px; z-index: 60; display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
.float-btn {
  position: relative; display: flex; align-items: center; justify-content: center; width: 54px; height: 54px; border-radius: 999px;
  color: #fff; text-decoration: none; box-shadow: var(--shadow-lg); transition: transform .2s, width .25s, padding .25s; overflow: hidden;
}
.float-btn svg { flex: none; }
.float-label { max-width: 0; opacity: 0; white-space: nowrap; font-weight: 700; font-size: 14px; transition: max-width .25s, opacity .2s, margin .25s; }
@media (hover: hover) {
  .float-btn:hover { width: auto; padding: 0 18px 0 15px; transform: translateX(-2px); }
  .float-btn:hover .float-label { max-width: 140px; opacity: 1; margin-left: 9px; }
}
.float-wa { background: #1fa855; }
.float-ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.float-contact { background: var(--brand-blue); }
[data-theme="dark"] .float-contact { background: #3d5cc0; }
@media (max-width: 600px) { .float-actions { right: 12px; bottom: 12px; gap: 8px; } .float-btn { width: 48px; height: 48px; } }

/* Section head with action */
.section-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; text-align: left; max-width: none; margin-bottom: 28px; }
.section-head-row h2 { margin: 0; }

/* Story cards */
.stories-section { padding-top: 56px; padding-bottom: 56px; }
.stories-row { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 12px; margin: 0 -4px; scrollbar-width: thin; }
.stories-row .story-card { flex: 0 0 clamp(150px, 42vw, 200px); scroll-snap-align: start; }
.stories-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.story-card { display: block; padding: 0; border: 0; background: none; cursor: pointer; text-align: left; color: #fff; border-radius: 22px; }
.story-ring { display: block; padding: 3px; border-radius: 22px; background: linear-gradient(135deg, #279b48, #8ad24a 35%, #304c9f 70%, #ed1f24); transition: transform .25s; }
.story-card:hover .story-ring, .story-card:focus-visible .story-ring { transform: translateY(-4px); }
.story-frame { position: relative; display: block; aspect-ratio: 9 / 16; border-radius: 19px; overflow: hidden; background: #0d1626; border: 2px solid var(--bg); }
.story-preview { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.story-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,0) 55%, rgba(0,0,0,.75) 100%); }
.story-play { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.22); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.story-title { position: absolute; left: 12px; right: 12px; bottom: 12px; font-weight: 700; font-size: 15px; line-height: 1.25; text-shadow: 0 1px 6px rgba(0,0,0,.5); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* Story viewer */
.story-viewer { position: fixed; inset: 0; z-index: 100; background: rgba(4, 8, 18, .94); display: grid; place-items: center; }
.story-stage { position: relative; height: min(100dvh, 100vh); aspect-ratio: 9 / 16; max-width: 100vw; background: #000; overflow: hidden; }
@media (min-width: 600px) { .story-stage { height: min(92vh, 860px); border-radius: 18px; } }
.story-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; }
.story-bars { position: absolute; top: 10px; left: 10px; right: 10px; z-index: 3; display: flex; gap: 4px; }
.story-bar { flex: 1; height: 3px; border-radius: 3px; background: rgba(255,255,255,.35); overflow: hidden; }
.story-bar i { display: block; height: 100%; width: 0; background: #fff; }
.story-bar.done i { width: 100%; }
.story-head { position: absolute; top: 22px; left: 10px; right: 6px; z-index: 3; display: flex; align-items: center; gap: 10px; color: #fff; }
.story-avatar { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; background: #fff; border: 2px solid #fff; }
.story-head-title { flex: 1; min-width: 0; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-shadow: 0 1px 4px rgba(0,0,0,.5); }
.story-icon { width: 42px; height: 42px; border: 0; background: none; color: #fff; display: grid; place-items: center; cursor: pointer; filter: drop-shadow(0 1px 3px rgba(0,0,0,.5)); }
.story-icon span { display: grid; place-items: center; }
.story-viewer .when-muted { display: none; }
.story-viewer.is-muted .when-muted { display: grid; }
.story-viewer.is-muted .when-sound { display: none; }
.story-nav { position: absolute; top: 80px; bottom: 90px; z-index: 2; width: 35%; border: 0; background: none; cursor: pointer; }
.story-prev { left: 0; }
.story-next { right: 0; width: 65%; }
.story-cta { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 3; white-space: nowrap; }
.story-open { overflow: hidden; }

/* Contact page */
.contact-page { display: grid; gap: 24px; align-items: start; padding-bottom: 24px; }
@media (min-width: 900px) { .contact-page { grid-template-columns: 1fr 1.4fr; } }
.form-row { display: grid; gap: 0 16px; }
@media (min-width: 600px) { .form-row { grid-template-columns: 1fr 1fr; } }
.contact-form-card .form-field { margin-bottom: 16px; }

/* Ratings & reviews */
.stars { display: inline-flex; gap: 1px; vertical-align: -2px; }
.star path { fill: var(--border); }
.star-full path { fill: #f5a623; }
.star-half path { fill: #f5c46b; }
.card-rating { display: flex; align-items: center; gap: 4px; font-size: 13px; color: var(--muted); }
.rating-link { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--muted); font-size: 14px; margin: -4px 0 12px; }
.rating-link:hover span { color: var(--primary); }
.reviews { padding-bottom: 72px; scroll-margin-top: 90px; }
.reviews-head { border-top: 1px solid var(--border); padding-top: 40px; margin-bottom: 24px; }
.reviews-head h2 { font-size: clamp(24px, 3vw, 32px); }
.rating-summary { display: flex; align-items: center; gap: 8px; font-size: 18px; }
.rating-summary span { color: var(--muted); font-size: 15px; }
.reviews-layout { display: grid; gap: 28px; align-items: start; }
@media (min-width: 900px) { .reviews-layout { grid-template-columns: 1.5fr 1fr; } }
.review-list { display: grid; gap: 14px; }
.review { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 18px; }
.review-top { display: flex; gap: 12px; align-items: center; }
.review-avatar { flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: var(--primary-soft); color: var(--primary); }
.review-meta { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.review-text { margin: 12px 0 0; color: var(--text); white-space: pre-line; }
.review-form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; position: sticky; top: 92px; }
.review-form h3 { font-size: 18px; }
.star-input { border: 0; padding: 0; margin: 0 0 14px; display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px; }
.star-input legend { font-weight: 600; font-size: 14px; margin-bottom: 6px; padding: 0; width: 100%; }
.star-input input { position: absolute; opacity: 0; pointer-events: none; }
.star-input label { cursor: pointer; padding: 2px; border-radius: 8px; }
.star-input label path { fill: var(--border); transition: fill .15s; }
.star-input label:hover path, .star-input label:hover ~ label path, .star-input input:checked ~ label path { fill: #f5a623; }
.star-input input:focus-visible + label { outline: 3px solid var(--primary); }

/* Normal videos (uploaded or YouTube) */
.video-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.stories-row + .video-grid { margin-top: 28px; }
.video-subhead { font-size: 22px; margin-bottom: 16px; }
.vcard { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.vcard-media { position: relative; aspect-ratio: 16 / 9; background: #000; }
.vcard-media video, .vcard-media iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: contain; background: #000; }
.yt-lite { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; cursor: pointer; background: #000; }
.yt-lite img { width: 100%; height: 100%; object-fit: cover; opacity: .92; transition: opacity .2s; }
.yt-lite:hover img { opacity: 1; }
.yt-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); filter: drop-shadow(0 4px 12px rgba(0,0,0,.35)); transition: transform .2s; }
.yt-lite:hover .yt-play { transform: translate(-50%, -50%) scale(1.08); }
.vcard-body { padding: 14px 16px 16px; display: grid; gap: 6px; }
.vcard-body h3 { font-size: 16px; margin: 0; }
.vcard-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; color: var(--primary); text-decoration: none; }
.vcard-link:hover { text-decoration: underline; }

/* Language switcher */
.lang-menu { position: relative; }
.lang-menu summary { list-style: none; width: auto; padding: 0 12px; gap: 6px; display: inline-flex; align-items: center; font-weight: 700; font-size: 13px; border-radius: 999px; }
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-list { position: absolute; right: 0; top: calc(100% + 8px); min-width: 170px; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow-lg); padding: 6px; z-index: 70; display: grid; }
.lang-list a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; text-decoration: none; font-weight: 600; color: var(--text); }
.lang-list a:hover { background: var(--surface-2); }
.lang-list a.active { background: var(--primary-soft); color: var(--primary); }
.flag { flex: none; display: block; width: 22px; height: 15px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .12); overflow: hidden; }
.lang-list .flag { width: 24px; height: 16px; }
/* phones: keep the switcher in the header bar, flag only */
@media (max-width: 860px) {
  .header-actions { gap: 6px; }
  .lang-menu summary { width: 44px; padding: 0; justify-content: center; }
  .lang-menu .lang-btn-code { display: none; }
}
@media (max-width: 400px) {
  .header-actions .icon-btn { width: 40px; height: 40px; }
  .lang-menu summary { width: 40px; }
}
.product-code { margin: -8px 0 18px; font-size: 14px; color: var(--muted); }
.product-code strong { color: var(--text); font-weight: 700; letter-spacing: .02em; }
.phone-person { display: block; font-size: 13px; color: var(--muted); font-weight: 500; }
.footer-contact .phone-person { font-size: 12px; }
