/* ============================================================
   Deye.ps — ETCO Authorized Distributor
   Co-branded design system
   - Deye Primary Blue:  #0C56A6
   - Deye Accent Red:    #E31E24  (the small red square mark)
   - ETCO Deep:          #0A2540  (sober institutional)
   - Gold (Partner 2025):#C9A24B
   ============================================================ */

/* ---------- RESET & BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--c-ink);
  background: var(--c-bg);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--c-primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--c-primary-dark); }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4, h5 { margin: 0 0 .6em; line-height: 1.2; font-weight: 700; color: var(--c-ink); }
p { margin: 0 0 1em; }

/* ---------- DESIGN TOKENS ---------- */
:root {
  /* Brand colors */
  --c-primary:        #0C56A6;   /* Deye blue */
  --c-primary-dark:   #084178;
  --c-primary-light:  #2A7DD4;
  --c-primary-50:     #EBF2FA;
  --c-primary-100:    #D3E2F3;

  --c-accent:         #E31E24;   /* Deye red mark */
  --c-accent-dark:    #B4151A;

  --c-etco-deep:      #0A2540;
  --c-gold:           #C9A24B;
  --c-gold-light:     #E8CF8E;

  /* Semantic */
  --c-success:        #16a34a;
  --c-success-bg:     #dcfce7;
  --c-warning:        #d97706;
  --c-danger:         #dc2626;
  --c-danger-bg:      #fee2e2;

  /* Neutrals */
  --c-ink:            #0F1724;
  --c-ink-soft:       #475569;
  --c-ink-muted:      #64748B;
  --c-line:           #E2E8F0;
  --c-line-soft:      #F1F5F9;
  --c-bg:             #FFFFFF;
  --c-bg-soft:        #F8FAFC;
  --c-bg-dark:        #0A2540;

  /* Typography */
  --font-body: "Cairo", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans Arabic", sans-serif;
  --font-display: "Cairo", "Inter", -apple-system, "Noto Sans Arabic", sans-serif;

  /* Spacing scale */
  --sp-1: 4px;  --sp-2: 8px;  --sp-3: 12px;  --sp-4: 16px;
  --sp-5: 20px; --sp-6: 24px; --sp-8: 32px; --sp-10: 40px;
  --sp-12: 48px; --sp-16: 64px; --sp-20: 80px; --sp-24: 96px;

  /* Radii */
  --r-sm: 6px; --r-md: 10px; --r-lg: 16px; --r-xl: 24px; --r-full: 999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(10, 37, 64, .06);
  --shadow-md: 0 4px 14px rgba(10, 37, 64, .08);
  --shadow-lg: 0 12px 32px rgba(10, 37, 64, .12);
  --shadow-glow: 0 10px 30px rgba(12, 86, 166, .25);

  /* Layout */
  --container: 1240px;
  --nav-h: 86px;
}

/* ---------- RTL/LTR handling ---------- */
html[dir="rtl"] body { font-family: "Cairo", "Noto Sans Arabic", -apple-system, sans-serif; }
html[dir="ltr"] body { font-family: "Inter", -apple-system, "Segoe UI", Roboto, sans-serif; }

/* ---------- LAYOUT ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--sp-5);
}
.section { padding-block: var(--sp-16); }
.section-sm { padding-block: var(--sp-10); }
.section-tight { padding-block: var(--sp-8); }

/* ---------- UTILITY ---------- */
.text-center { text-align: center; }
.muted { color: var(--c-ink-muted); }
.flex { display: flex; gap: var(--sp-4); }
.flex-col { display: flex; flex-direction: column; gap: var(--sp-4); }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.grid { display: grid; gap: var(--sp-6); }
.gap-sm { gap: var(--sp-3); }
.gap-lg { gap: var(--sp-8); }
.hide-mobile { }
@media (max-width: 820px){ .hide-mobile { display: none !important; } }
@media (min-width: 821px){ .show-mobile { display: none !important; } }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  padding: 12px 22px;
  border-radius: var(--r-md);
  font-weight: 600; font-size: 15px;
  border: 1px solid transparent;
  transition: transform .15s ease, background .15s, box-shadow .2s;
  text-align: center; justify-content: center;
  line-height: 1.2;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--c-primary); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--c-primary-dark); color: #fff; box-shadow: var(--shadow-glow); }

.btn-outline { background: transparent; color: var(--c-primary); border-color: var(--c-primary); }
.btn-outline:hover { background: var(--c-primary); color: #fff; }

.btn-ghost { background: var(--c-primary-50); color: var(--c-primary); }
.btn-ghost:hover { background: var(--c-primary-100); color: var(--c-primary-dark); }

.btn-dark { background: var(--c-etco-deep); color: #fff; }
.btn-dark:hover { background: #061a30; color: #fff; }

.btn-accent { background: var(--c-accent); color: #fff; }
.btn-accent:hover { background: var(--c-accent-dark); color: #fff; }

.btn-success { background: var(--c-success); color: #fff; }

.btn-lg { padding: 15px 28px; font-size: 16px; }
.btn-sm { padding: 8px 14px; font-size: 13px; }

/* ---------- BADGE ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px;
  border-radius: var(--r-full);
  font-size: 12px; font-weight: 600;
  background: var(--c-primary-50); color: var(--c-primary-dark);
}
.badge-gold {
  background: linear-gradient(135deg, var(--c-gold), var(--c-gold-light));
  color: #4a2e00;
}
.badge-new    { background: var(--c-accent); color: #fff; }
.badge-best   { background: var(--c-etco-deep); color: #fff; }
.badge-feat   { background: var(--c-primary); color: #fff; }

/* ---------- TOP BAR ---------- */
.topbar {
  background: var(--c-etco-deep); color: #fff;
  font-size: 13px;
  padding: 8px 0;
}
.topbar .container { display:flex; align-items:center; justify-content:space-between; gap:var(--sp-4); flex-wrap:wrap; }
.topbar a { color: #cbd5e1; }
.topbar a:hover { color: #fff; }
.topbar .meta { display:flex; gap:var(--sp-5); align-items:center; }
.topbar .meta span strong { color: #fff; }

/* ---------- CO-BRAND LOCKUP ---------- */
.cobrand {
  display: inline-flex; align-items: center; gap: var(--sp-3);
}
.cobrand .logo-etco {
  height: 44px; width:auto; display:block;
}
.cobrand .divider {
  width: 1px; height: 34px; background: var(--c-line);
}
.cobrand .deye-badge {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 6px 10px 4px;
  background: var(--c-primary);
  color: #fff;
  border-radius: 6px;
  position: relative;
  min-width: 90px;
}
.cobrand .deye-badge::before {
  content: ''; position: absolute; top: 6px; left: 10px;
  width: 7px; height: 7px; background: var(--c-accent);
}
html[dir="rtl"] .cobrand .deye-badge::before { left: auto; right: 10px; }
.cobrand .deye-badge .deye-mark {
  font-weight: 800; letter-spacing: .5px; font-size: 20px; line-height: 1;
  font-family: "Inter", sans-serif;
}
.cobrand .deye-badge .tagline {
  font-size: 9px; font-weight: 600; letter-spacing: .5px;
  border-top: 1px solid rgba(255,255,255,.4);
  padding-top: 2px; margin-top: 3px;
  text-transform: uppercase;
}

/* ---------- NAV ---------- */
.navbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96); backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--c-line);
}
.navbar .container {
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-6);
}
.nav-links { display: flex; align-items: center; gap: var(--sp-5); }
.nav-links a {
  color: var(--c-ink-soft); font-weight: 600; font-size: 14.5px;
  padding: 8px 2px; position: relative;
}
.nav-links a:hover,
.nav-links a.active { color: var(--c-primary); }
.nav-links a.active::after {
  content:''; position: absolute; bottom: -2px; inset-inline: 0;
  height: 2px; background: var(--c-primary); border-radius: 2px;
}
.nav-actions { display: flex; gap: var(--sp-3); align-items: center; }
.lang-switch {
  background: var(--c-bg-soft); border: 1px solid var(--c-line);
  padding: 6px 12px; border-radius: var(--r-full);
  font-size: 13px; font-weight: 700; color: var(--c-ink-soft);
}
.lang-switch:hover { border-color: var(--c-primary); color: var(--c-primary); }

/* Mobile nav */
.nav-toggle {
  display: none;
  background: none; border: none; padding: 8px;
}
@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; inset: var(--nav-h) 0 0 0; top: calc(var(--nav-h) + 36px);
    background: #fff; flex-direction: column;
    padding: var(--sp-6);
    gap: var(--sp-4);
    transform: translateY(-120%);
    transition: transform .3s ease;
    box-shadow: var(--shadow-lg);
    overflow-y: auto;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { font-size: 16px; }
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(circle at 20% 30%, rgba(12, 86, 166, .08), transparent 60%),
    radial-gradient(circle at 85% 70%, rgba(227, 30, 36, .05), transparent 55%),
    linear-gradient(180deg, #FBFCFE 0%, #F0F5FB 100%);
  padding: var(--sp-20) 0 var(--sp-16);
  overflow: hidden;
}
.hero .grid {
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: var(--sp-16);
}
@media (max-width: 880px){
  .hero .grid { grid-template-columns: 1fr; }
}
.hero .partner-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px;
  background: #fff;
  border: 1px solid var(--c-gold);
  box-shadow: 0 4px 20px rgba(201, 162, 75, .18);
  color: var(--c-etco-deep);
  border-radius: var(--r-full);
  font-weight: 700; font-size: 13px;
  margin-bottom: var(--sp-6);
}
.hero .partner-badge .star { color: var(--c-gold); }
.hero h1 {
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-5);
  color: var(--c-etco-deep);
}
.hero h1 .hl {
  background: linear-gradient(90deg, var(--c-primary), var(--c-primary-light));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lead {
  font-size: 18px; color: var(--c-ink-soft);
  max-width: 56ch; margin-bottom: var(--sp-8);
}
.hero .cta-row { display: flex; gap: var(--sp-3); flex-wrap: wrap; }
.hero-visual {
  position: relative;
  display: grid; place-items: center;
}
.hero-visual .card-float {
  background: #fff; border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  padding: var(--sp-6);
  width: 100%; max-width: 460px;
}
.hero-visual img { border-radius: var(--r-lg); }

/* ---------- STATS STRIP ---------- */
.stats-strip {
  background: var(--c-etco-deep); color: #fff;
  padding: var(--sp-8) 0;
}
.stats-strip .grid {
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-6);
  text-align: center;
}
.stats-strip .stat-num {
  font-size: 36px; font-weight: 800; color: var(--c-gold);
  line-height: 1;
  margin-bottom: 6px;
}
.stats-strip .stat-label {
  font-size: 13px; color: #cbd5e1; letter-spacing: .5px; text-transform: uppercase;
}
@media (max-width: 720px){
  .stats-strip .grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- SECTION HEADER ---------- */
.section-head { text-align: center; max-width: 760px; margin: 0 auto var(--sp-12); }
.section-head .eyebrow {
  color: var(--c-primary);
  font-weight: 700;
  letter-spacing: .5px; text-transform: uppercase;
  font-size: 13px; margin-bottom: var(--sp-3);
}
.section-head h2 {
  font-size: clamp(26px, 3.4vw, 40px);
  letter-spacing: -0.01em;
  color: var(--c-etco-deep);
}
.section-head p { color: var(--c-ink-soft); font-size: 17px; }

/* ---------- FEATURE GRID ---------- */
.feature-grid { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px){ .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px){ .feature-grid { grid-template-columns: 1fr; } }
.feature-card {
  background: #fff; border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--c-primary-100);
}
.feature-card .icon {
  width: 48px; height: 48px;
  border-radius: var(--r-md);
  background: var(--c-primary-50);
  color: var(--c-primary);
  display: grid; place-items: center;
  margin-bottom: var(--sp-4);
}
.feature-card .icon svg { width: 24px; height: 24px; }
.feature-card h3 { font-size: 17px; margin-bottom: var(--sp-2); }
.feature-card p { font-size: 14.5px; color: var(--c-ink-muted); margin: 0; }

/* ---------- PRODUCT GRID ---------- */
.products-grid { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1080px){ .products-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 820px) { .products-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .products-grid { grid-template-columns: 1fr; } }

.product-card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--c-primary-100);
}
.product-card .thumb {
  aspect-ratio: 4/3;
  background: var(--c-bg-soft);
  display: grid; place-items: center;
  padding: var(--sp-4);
  position: relative;
}
.product-card .thumb img { max-height: 100%; object-fit: contain; }
.product-card .badges {
  position: absolute; top: 10px; inset-inline-start: 10px;
  display: flex; gap: 4px; flex-wrap: wrap;
}
.product-card .body {
  padding: var(--sp-4);
  display: flex; flex-direction: column; flex: 1;
  gap: var(--sp-2);
}
.product-card .model {
  font-size: 12px; color: var(--c-ink-muted);
  font-family: "Inter", monospace;
  letter-spacing: .3px;
}
.product-card h3 {
  font-size: 15px; line-height: 1.3; min-height: 2.6em;
  margin: 0;
}
.product-card .pwr {
  font-size: 13px; color: var(--c-primary); font-weight: 600;
  margin-top: 2px;
}
.product-card .actions {
  margin-top: auto;
  display: flex; gap: var(--sp-2); padding-top: var(--sp-3);
}
.product-card .actions .btn { flex: 1; padding: 8px 10px; font-size: 13px; }

/* ---------- CATEGORY TABS ---------- */
.cat-tabs {
  display: flex; gap: var(--sp-2); flex-wrap: wrap;
  justify-content: center;
  margin-bottom: var(--sp-10);
}
.cat-tab {
  padding: 10px 18px;
  background: #fff; border: 1px solid var(--c-line);
  color: var(--c-ink-soft); font-weight: 600; font-size: 14px;
  border-radius: var(--r-full);
  cursor: pointer;
  transition: all .2s;
}
.cat-tab:hover, .cat-tab.active {
  background: var(--c-primary); border-color: var(--c-primary); color: #fff;
}

/* ---------- SERIAL CHECK ---------- */
.serial-wrap {
  max-width: 720px; margin: 0 auto;
  background: #fff;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  padding: var(--sp-10);
  border: 1px solid var(--c-line);
}
.serial-input-row {
  display: flex; gap: var(--sp-3);
  margin: var(--sp-6) 0;
}
.serial-input-row input {
  flex: 1; padding: 14px 18px;
  font-size: 16px;
  border: 2px solid var(--c-line);
  border-radius: var(--r-md);
  font-family: "Inter", monospace;
  letter-spacing: 1px;
  transition: border .2s;
}
.serial-input-row input:focus {
  outline: none; border-color: var(--c-primary);
}
.serial-result {
  display: none;
  padding: var(--sp-6);
  border-radius: var(--r-lg);
  margin-top: var(--sp-6);
  animation: slideIn .4s ease;
}
.serial-result.show { display: block; }
.serial-result.valid {
  background: var(--c-success-bg);
  border: 2px solid var(--c-success);
  color: #052e16;
}
.serial-result.invalid {
  background: var(--c-danger-bg);
  border: 2px solid var(--c-danger);
  color: #450a0a;
}
.serial-result .status {
  display: flex; align-items: center; gap: var(--sp-3);
  font-weight: 700; font-size: 20px;
  margin-bottom: var(--sp-3);
}
.serial-result .status .icon {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 50%;
}
.serial-result.valid .status .icon { background: var(--c-success); color: #fff; }
.serial-result.invalid .status .icon { background: var(--c-danger); color: #fff; }
.serial-result .service-contacts {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-3);
  margin-top: var(--sp-5);
}
@media (max-width: 620px){
  .serial-result .service-contacts { grid-template-columns: 1fr; }
  .serial-input-row { flex-direction: column; }
}
.serial-result .contact-pill {
  background: rgba(255,255,255,.8);
  padding: var(--sp-3); border-radius: var(--r-md);
  text-align: center;
}
.serial-result .contact-pill .label { font-size: 12px; color: #0f172a; opacity: .7; }
.serial-result .contact-pill .val { font-weight: 700; font-size: 15px; margin-top: 2px; }

@keyframes slideIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- FORMS ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 620px){ .form-grid { grid-template-columns: 1fr; } }

.field {
  display: flex; flex-direction: column; gap: 6px;
}
.field label { font-size: 13.5px; font-weight: 600; color: var(--c-ink-soft); }
.field label .req { color: var(--c-accent); }
.field input, .field select, .field textarea {
  padding: 11px 14px;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  font-size: 15px;
  font-family: inherit;
  transition: border .15s, box-shadow .15s;
  background: #fff;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--c-primary);
  box-shadow: 0 0 0 3px rgba(12, 86, 166, .12);
}
.field textarea { min-height: 110px; resize: vertical; }

/* Honeypot - visually hidden */
.hp-field { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }

/* ---------- CTA BAND ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-dark) 100%);
  color: #fff;
  padding: var(--sp-16) 0;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute; top: -50%; right: -10%;
  width: 400px; height: 400px;
  background: var(--c-accent); opacity: .15; border-radius: 50%; filter: blur(60px);
}
.cta-band .container { position: relative; z-index: 2; }
.cta-band h2 { color: #fff; font-size: clamp(26px, 3.4vw, 38px); margin-bottom: var(--sp-3); }
.cta-band p { color: rgba(255,255,255,.9); font-size: 17px; margin-bottom: var(--sp-6); max-width: 600px; }

/* ---------- FOOTER ---------- */
.footer {
  background: var(--c-etco-deep); color: #cbd5e1;
  padding: var(--sp-16) 0 var(--sp-6);
  font-size: 14px;
}
.footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: var(--sp-8); }
@media (max-width: 820px){ .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-6); } }
@media (max-width: 480px){ .footer-grid { grid-template-columns: 1fr; } }
.footer h4 {
  color: #fff; font-size: 14px; letter-spacing: .5px; text-transform: uppercase;
  margin-bottom: var(--sp-4);
}
.footer a { color: #cbd5e1; display: block; padding: 4px 0; }
.footer a:hover { color: #fff; }
.footer-bottom {
  margin-top: var(--sp-10);
  padding-top: var(--sp-5);
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex; justify-content: space-between; flex-wrap: wrap;
  gap: var(--sp-4);
  font-size: 13px; color: #94a3b8;
}

/* ---------- FLOATING ACTIONS ---------- */
.floating-wa {
  position: fixed; bottom: 24px; inset-inline-end: 24px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366;
  display: grid; place-items: center;
  box-shadow: 0 10px 25px rgba(37, 211, 102, .4);
  transition: transform .2s;
}
.floating-wa:hover { transform: scale(1.08); }
.floating-wa svg { width: 30px; height: 30px; fill: #fff; }

/* ---------- MODAL ---------- */
.modal-backdrop {
  position: fixed; inset: 0; background: rgba(10, 37, 64, .55);
  display: none; align-items: center; justify-content: center;
  z-index: 100; padding: var(--sp-4);
  backdrop-filter: blur(4px);
}
.modal-backdrop.open { display: flex; animation: fadeIn .2s; }
.modal {
  background: #fff; border-radius: var(--r-xl);
  width: 100%; max-width: 560px;
  max-height: 90vh; overflow-y: auto;
  padding: var(--sp-8);
  animation: popIn .3s;
}
.modal-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: var(--sp-4); }
.modal-close { background: var(--c-bg-soft); border: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; }
.modal-close:hover { background: var(--c-line); }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes popIn { from { opacity: 0; transform: scale(.95); } to { opacity: 1; transform: scale(1); } }

/* ---------- COOKIE BAR ---------- */
.cookie-bar {
  position: fixed; bottom: 0; inset-inline: 0;
  background: var(--c-etco-deep); color: #fff;
  padding: var(--sp-4) var(--sp-5);
  display: none; align-items: center; justify-content: center; gap: var(--sp-4);
  flex-wrap: wrap;
  z-index: 95;
  font-size: 14px;
}
.cookie-bar.show { display: flex; }

/* ---------- BREADCRUMBS ---------- */
.crumbs {
  padding: var(--sp-3) 0;
  font-size: 13.5px; color: var(--c-ink-muted);
  display: flex; gap: 6px; align-items: center; flex-wrap: wrap;
}
.crumbs a { color: var(--c-ink-muted); }
.crumbs a:hover { color: var(--c-primary); }
.crumbs .sep { opacity: .5; }
.crumbs .current { color: var(--c-ink); font-weight: 600; }

/* ---------- PAGE HEADER ---------- */
.page-head {
  background: linear-gradient(135deg, var(--c-bg-soft), #fff);
  border-bottom: 1px solid var(--c-line);
  padding: var(--sp-10) 0 var(--sp-12);
}
.page-head h1 {
  color: var(--c-etco-deep);
  font-size: clamp(28px, 4vw, 44px);
  margin-bottom: var(--sp-3);
}
.page-head p { color: var(--c-ink-soft); font-size: 17px; max-width: 70ch; }

/* ---------- PRODUCT DETAIL ---------- */
.pd-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-10); }
@media (max-width: 880px){ .pd-grid { grid-template-columns: 1fr; } }
.pd-gallery {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: var(--sp-8);
  display: grid; place-items: center;
}
.pd-info h1 { font-size: clamp(26px, 3vw, 36px); color: var(--c-etco-deep); margin-bottom: var(--sp-2); }
.pd-info .model-tag {
  display: inline-block;
  background: var(--c-primary-50);
  color: var(--c-primary-dark);
  padding: 4px 12px; border-radius: var(--r-sm);
  font-family: "Inter", monospace; font-size: 13px; font-weight: 600;
  margin-bottom: var(--sp-4);
}
.pd-info .lead { font-size: 17px; color: var(--c-ink-soft); margin-bottom: var(--sp-6); }
.pd-info .cta-row { display: flex; gap: var(--sp-3); margin-bottom: var(--sp-8); flex-wrap: wrap; }

.specs-table {
  width: 100%; border-collapse: collapse;
  background: #fff; border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--c-line);
}
.specs-table th, .specs-table td { padding: 12px 16px; text-align: start; font-size: 14.5px; }
.specs-table tr { border-bottom: 1px solid var(--c-line-soft); }
.specs-table tr:last-child { border-bottom: none; }
.specs-table th {
  background: var(--c-bg-soft); color: var(--c-ink-soft);
  font-weight: 600; width: 35%;
}

/* ---------- FORM FEEDBACK ---------- */
.alert {
  padding: var(--sp-4);
  border-radius: var(--r-md);
  margin-bottom: var(--sp-4);
  font-size: 14.5px;
  display: flex; gap: var(--sp-2); align-items: start;
}
.alert-success { background: var(--c-success-bg); color: #052e16; border: 1px solid var(--c-success); }
.alert-error   { background: var(--c-danger-bg);  color: #450a0a; border: 1px solid var(--c-danger); }
.alert-info    { background: var(--c-primary-50); color: var(--c-primary-dark); border: 1px solid var(--c-primary-100); }

/* ---------- ACCESSIBILITY ---------- */
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--c-primary); outline-offset: 2px;
}

/* ---------- ANIMATIONS ---------- */
.fade-in-up {
  opacity: 0; transform: translateY(16px);
  animation: fadeInUp .6s ease forwards;
}
.fade-in-up.delay-1 { animation-delay: .1s; }
.fade-in-up.delay-2 { animation-delay: .2s; }
.fade-in-up.delay-3 { animation-delay: .3s; }
@keyframes fadeInUp { to { opacity: 1; transform: translateY(0); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
