:root {
  --bg: #f8f9fc;
  --surface: #ffffff;
  --card: #ffffff;
  --border: #e2e6f0;
  --border2: #edf0f7;
  --accent: #2563eb;
  --accent-dark: #1d4ed8;
  --accent-light: #eff6ff;
  --accent-mid: #bfdbfe;
  --text: #1e2532;
  --muted: #6b7280;
  --light: #9ca3af;
  --green: #059669;
  --red: #dc2626;
  --shadow-sm: 0 1px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 48px rgba(37,99,235,0.12);
  --radius: 14px;
  --radius-sm: 8px;
}

* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: 'DM Sans', sans-serif; font-size: 16px; line-height: 1.6; overflow-x: hidden; }

/* ── PAGE VIEWS ── */
.page { display: none; }
.page.active { display: block; }

/* ══════════════════════════
   NAV
══════════════════════════ */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 52px; height: 70px;
  box-shadow: var(--shadow-sm);
}
.nav-logo {
  font-family: 'Syne', sans-serif; font-weight: 800;
  font-size: 20px; letter-spacing: 4px; color: var(--text);
  text-decoration: none; text-transform: uppercase;
  cursor: pointer;
}
.nav-logo span { color: var(--accent); }
.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--muted);
  text-decoration: none; transition: color 0.2s;
}
.nav-links a:hover { color: var(--accent); }
.nav-right { display: flex; align-items: center; gap: 12px; }
.nav-cart {
  display: flex; align-items: center; gap: 8px;
  background: var(--accent); color: #fff; border: none;
  padding: 10px 20px; border-radius: var(--radius-sm);
  font-family: 'DM Sans', sans-serif; font-weight: 600;
  font-size: 14px; cursor: pointer; transition: background 0.2s, transform 0.15s;
  position: relative;
}
.nav-cart:hover { background: var(--accent-dark); transform: translateY(-1px); }
.cart-badge {
  position: absolute; top: -6px; right: -6px;
  width: 20px; height: 20px; border-radius: 50%;
  background: #ef4444; color: #fff; font-size: 11px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  display: none;
}
.cart-badge.show { display: flex; }

/* ══════════════════════════
   HERO
══════════════════════════ */
.hero {
  padding: 72px 80px 56px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
  max-width: 1400px; margin: 0 auto;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent-light); color: var(--accent);
  border: 1px solid var(--accent-mid); border-radius: 20px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.5px;
  padding: 5px 14px; margin-bottom: 22px;
}
.hero-badge::before { content: '●'; font-size: 8px; animation: blink 2s infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.3} }
h1 {
  font-family: 'Syne', sans-serif; font-weight: 800;
  font-size: clamp(48px, 5vw, 72px); line-height: 1.05;
  color: var(--text); margin-bottom: 18px; letter-spacing: -1px;
}
h1 em { font-style: normal; color: var(--accent); display: block; }
.hero-sub {
  font-size: 17px; color: var(--muted); line-height: 1.75;
  margin-bottom: 36px; max-width: 460px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-primary {
  background: var(--accent); color: #fff; border: none;
  padding: 14px 32px; border-radius: var(--radius-sm);
  font-family: 'DM Sans', sans-serif; font-weight: 600; font-size: 15px;
  cursor: pointer; transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(37,99,235,0.3); }
.btn-outline {
  background: none; color: var(--text); border: 1.5px solid var(--border);
  padding: 14px 28px; border-radius: var(--radius-sm);
  font-family: 'DM Sans', sans-serif; font-weight: 600; font-size: 15px;
  cursor: pointer; transition: border-color 0.2s, color 0.2s;
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

.hero-visual {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 60%, #e0e7ff 100%);
  border-radius: 24px; min-height: 440px;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.hero-visual::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, #bfdbfe 1px, transparent 0);
  background-size: 30px 30px; opacity: 0.5;
}
.hero-visual svg { position: relative; z-index: 1; animation: float 4s ease-in-out infinite; }
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }

/* Stats bar */
.stats-bar {
  background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  display: flex; justify-content: center;
}
.stat-item {
  flex: 1; max-width: 240px; text-align: center;
  padding: 28px 20px; border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: 'Syne', sans-serif; font-weight: 800;
  font-size: 38px; color: var(--text); line-height: 1;
}
.stat-num span { color: var(--accent); }
.stat-lbl { font-size: 13px; color: var(--light); font-weight: 500; margin-top: 4px; }

/* Ticker */
.ticker { background: var(--accent); overflow: hidden; height: 36px; display: flex; align-items: center; }
.ticker-track { display: flex; animation: ticker 26s linear infinite; white-space: nowrap; }
.ticker-item {
  display: flex; align-items: center; gap: 20px; padding: 0 28px;
  font-family: 'Space Mono', monospace; font-size: 10px;
  font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.9);
}
.ticker-dot { width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,0.4); flex-shrink: 0; }
@keyframes ticker { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* ══════════════════════════
   PRODUCTS SECTION
══════════════════════════ */
.products-section { padding: 80px 60px; max-width: 1400px; margin: 0 auto; }
.section-eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: var(--accent); margin-bottom: 10px;
}
.section-title {
  font-family: 'Syne', sans-serif; font-weight: 800;
  font-size: clamp(32px, 4vw, 48px); color: var(--text);
  margin-bottom: 8px; letter-spacing: -0.5px;
}
.section-desc { font-size: 16px; color: var(--muted); margin-bottom: 48px; }

.products-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }

.product-card {
  background: var(--card); border: 1.5px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: box-shadow 0.3s, transform 0.3s, border-color 0.3s;
  cursor: pointer;
}
.product-card:hover {
  box-shadow: var(--shadow-lg); transform: translateY(-5px); border-color: var(--accent-mid);
}
.card-img {
  height: 220px;
  background: linear-gradient(135deg, #f0f7ff, #e0eeff);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.card-img svg { transition: transform 0.4s ease; }
.product-card:hover .card-img svg { transform: scale(1.06) translateY(-4px); }

.badge {
  position: absolute; top: 12px; left: 12px;
  font-size: 10px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; padding: 4px 10px; border-radius: 6px;
}
.badge-blue { background: var(--accent); color: #fff; }
.badge-green { background: #d1fae5; color: #059669; }
.badge-red { background: #fee2e2; color: #dc2626; }

.card-body { padding: 20px; }
.card-cat {
  font-size: 11px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--accent); margin-bottom: 6px;
}
.card-name {
  font-family: 'Syne', sans-serif; font-weight: 800;
  font-size: 19px; color: var(--text); margin-bottom: 8px;
}
.card-desc { font-size: 13px; color: var(--muted); line-height: 1.6; margin-bottom: 14px; }
.card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.tag {
  background: var(--bg); color: var(--muted);
  font-size: 10px; font-weight: 600; letter-spacing: 1px;
  padding: 3px 9px; border-radius: 5px; text-transform: uppercase;
  border: 1px solid var(--border);
}
.card-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 14px; border-top: 1px solid var(--border2);
}
.price-old { font-size: 12px; color: var(--light); text-decoration: line-through; display: block; margin-bottom: 2px; }
.price-new { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 21px; color: var(--text); }
.btn-add {
  width: 40px; height: 40px; border-radius: var(--radius-sm);
  background: var(--accent); color: #fff; border: none;
  font-size: 20px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, transform 0.15s; flex-shrink: 0;
}
.btn-add:hover { background: var(--accent-dark); transform: scale(1.1); }

/* ══════════════════════════
   WHY US
══════════════════════════ */
.why-section { background: #f1f5f9; padding: 72px 60px; }
.why-inner { max-width: 1400px; margin: 0 auto; }
.why-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; margin-top: 48px; }
.why-card {
  background: var(--card); border-radius: var(--radius);
  padding: 32px 24px; border: 1.5px solid var(--border);
  transition: box-shadow 0.3s, transform 0.3s;
}
.why-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.why-icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: var(--accent-light); display: flex;
  align-items: center; justify-content: center; font-size: 24px; margin-bottom: 16px;
}
.why-title { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 17px; color: var(--text); margin-bottom: 8px; }
.why-desc { font-size: 14px; color: var(--muted); line-height: 1.65; }

/* ══════════════════════════
   TESTIMONIALS
══════════════════════════ */
.testi-section { padding: 80px 60px; max-width: 1400px; margin: 0 auto; }
.testi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 48px; }
.testi-card {
  background: var(--card); border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 28px;
  transition: box-shadow 0.3s;
}
.testi-card:hover { box-shadow: var(--shadow-md); }
.testi-stars { color: #f59e0b; font-size: 14px; letter-spacing: 2px; margin-bottom: 14px; }
.testi-text { font-size: 15px; color: var(--text); line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--border2); }
.testi-av {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #1d4ed8);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Syne', sans-serif; font-weight: 700; font-size: 15px; color: #fff;
}
.testi-name { font-weight: 700; font-size: 14px; color: var(--text); }
.testi-role { font-size: 12px; color: var(--light); }

/* ══════════════════════════
   FOOTER
══════════════════════════ */
footer { background: #0f172a; color: #94a3b8; padding: 60px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; max-width: 1400px; margin: 0 auto 32px; }
.footer-logo { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 20px; color: #fff; letter-spacing: 4px; margin-bottom: 12px; text-transform: uppercase; }
.footer-logo span { color: var(--accent); }
.footer-tagline { font-size: 14px; line-height: 1.65; margin-bottom: 20px; }
.footer-col h4 { color: #fff; font-size: 12px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 14px; color: #94a3b8; text-decoration: none; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--accent); }
.footer-bottom { max-width: 1400px; margin: 0 auto; padding-top: 24px; border-top: 1px solid #1e293b; display: flex; justify-content: space-between; font-size: 12px; }
.footer-bottom a { color: #94a3b8; text-decoration: none; }
.footer-bottom a:hover { color: var(--accent); }

/* ══════════════════════════
   PRODUCT DETAIL PAGE
══════════════════════════ */
.detail-breadcrumb {
  padding: 16px 52px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--muted);
}
.breadcrumb-link { color: var(--accent); cursor: pointer; text-decoration: none; }
.breadcrumb-link:hover { text-decoration: underline; }
.breadcrumb-sep { color: var(--light); }

.detail-wrap {
  max-width: 1300px; margin: 0 auto; padding: 52px 52px 80px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start;
}

/* Left — visual */
.detail-gallery { position: sticky; top: 88px; }
.detail-main-img {
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 50%, #c7d2fe 100%);
  border-radius: 20px; height: 480px;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden; margin-bottom: 14px;
  border: 1.5px solid var(--border);
}
.detail-main-img::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, #bfdbfe 1px, transparent 0);
  background-size: 32px 32px; opacity: 0.4;
}
.detail-main-img svg { position: relative; z-index: 1; animation: float 5s ease-in-out infinite; }
.detail-thumbs { display: flex; gap: 10px; }
.thumb {
  flex: 1; height: 80px; border-radius: 10px;
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  border: 2px solid var(--border); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.2s;
}
.thumb.active { border-color: var(--accent); }
.thumb:hover { border-color: var(--accent-mid); }
.thumb svg { width: 48px; height: 48px; }

/* Right — info */
.detail-badge-row { display: flex; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }
.detail-badge {
  font-size: 11px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; padding: 4px 12px; border-radius: 20px;
}
.detail-badge.blue { background: var(--accent-light); color: var(--accent); border: 1px solid var(--accent-mid); }
.detail-badge.green { background: #d1fae5; color: #059669; border: 1px solid #a7f3d0; }
.detail-cat {
  font-size: 12px; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: var(--accent); margin-bottom: 10px;
}
.detail-name {
  font-family: 'Syne', sans-serif; font-weight: 800;
  font-size: clamp(36px, 4vw, 52px); color: var(--text);
  line-height: 1.05; margin-bottom: 6px; letter-spacing: -1px;
}
.detail-model {
  font-family: 'Space Mono', monospace; font-size: 12px;
  color: var(--light); margin-bottom: 20px; letter-spacing: 1px;
}

.detail-rating { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.stars { color: #f59e0b; font-size: 16px; letter-spacing: 2px; }
.rating-count { font-size: 13px; color: var(--muted); }

.detail-desc {
  font-size: 16px; color: var(--muted); line-height: 1.75;
  margin-bottom: 28px; padding-bottom: 28px; border-bottom: 1px solid var(--border2);
}

/* Feature list */
.detail-features { margin-bottom: 28px; padding-bottom: 28px; border-bottom: 1px solid var(--border2); }
.detail-features h3 { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 16px; color: var(--text); margin-bottom: 14px; }
.feature-list { list-style: none; display: grid; gap: 8px; }
.feature-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; color: var(--text); font-weight: 500;
}
.feature-list li::before {
  content: '✓'; color: var(--accent); font-weight: 700;
  font-size: 13px; margin-top: 1px; flex-shrink: 0;
}

/* Specs table */
.detail-specs { margin-bottom: 28px; padding-bottom: 28px; border-bottom: 1px solid var(--border2); }
.detail-specs h3 { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 16px; color: var(--text); margin-bottom: 14px; }
.specs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.spec-row {
  display: contents;
}
.spec-key {
  background: var(--bg); padding: 10px 14px;
  font-size: 12px; font-weight: 600; color: var(--muted);
  text-transform: uppercase; letter-spacing: 1px;
  border-bottom: 1px solid var(--border); border-right: 1px solid var(--border);
}
.spec-val {
  background: var(--surface); padding: 10px 14px;
  font-size: 13px; font-weight: 600; color: var(--text);
  border-bottom: 1px solid var(--border);
  font-family: 'Space Mono', monospace;
}
.spec-key:last-of-type, .spec-val:last-of-type { border-bottom: none; }

/* Colors */
.detail-colors { margin-bottom: 28px; }
.detail-colors h3 { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 15px; color: var(--text); margin-bottom: 12px; }
.color-options { display: flex; gap: 10px; }
.color-swatch {
  width: 36px; height: 36px; border-radius: 50%;
  border: 3px solid transparent; cursor: pointer;
  transition: transform 0.15s, border-color 0.15s;
}
.color-swatch:hover { transform: scale(1.1); }
.color-swatch.active { border-color: var(--accent); }
.color-black { background: #1a1a2e; }
.color-white { background: #f5f5f0; border: 2px solid var(--border); }
.color-red { background: #c41e3a; }

/* Price + CTA */
.detail-purchase { padding: 24px; background: var(--bg); border-radius: var(--radius); border: 1.5px solid var(--border); }
.detail-price-row { display: flex; align-items: flex-end; gap: 14px; margin-bottom: 8px; }
.detail-price-main { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 42px; color: var(--text); line-height: 1; }
.detail-price-old { font-size: 18px; color: var(--light); text-decoration: line-through; font-family: 'Space Mono', monospace; margin-bottom: 6px; }
.detail-saving {
  display: inline-block; background: #d1fae5; color: #059669;
  font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 20px;
  margin-bottom: 16px;
}
.detail-delivery { font-size: 13px; color: var(--muted); margin-bottom: 20px; display: flex; align-items: center; gap: 6px; }
.detail-delivery::before { content: '🚚'; font-size: 15px; }
.detail-ctas { display: flex; gap: 12px; margin-bottom: 14px; }
.btn-cart-main {
  flex: 1; background: var(--accent); color: #fff; border: none;
  padding: 16px; border-radius: var(--radius-sm);
  font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: 16px;
  cursor: pointer; transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
.btn-cart-main:hover { background: var(--accent-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(37,99,235,0.3); }
.btn-wishlist {
  width: 52px; background: var(--surface); color: var(--muted);
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  font-size: 20px; cursor: pointer; transition: border-color 0.2s, color 0.2s;
}
.btn-wishlist:hover { border-color: #ef4444; color: #ef4444; }
.detail-guarantee {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: var(--muted); justify-content: center;
}
.detail-guarantee::before { content: '🔒'; }

/* Tabs */
.detail-tabs { margin-top: 64px; border-top: 1px solid var(--border); padding-top: 48px; max-width: 1300px; margin-left: auto; margin-right: auto; padding-left: 52px; padding-right: 52px; }
.tabs-header { display: flex; gap: 0; border-bottom: 1px solid var(--border); margin-bottom: 32px; }
.tab-btn {
  padding: 14px 28px; font-weight: 600; font-size: 14px; color: var(--muted);
  border: none; background: none; cursor: pointer; border-bottom: 2px solid transparent;
  margin-bottom: -1px; transition: color 0.2s, border-color 0.2s;
}
.tab-btn.active { color: var(--accent); border-bottom-color: var(--accent); }
.tab-content { display: none; }
.tab-content.active { display: block; }
.tab-content p { font-size: 15px; color: var(--muted); line-height: 1.75; margin-bottom: 14px; }
.tab-content h4 { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 16px; color: var(--text); margin-bottom: 10px; margin-top: 24px; }
.tab-content ul { list-style: none; padding: 0; }
.tab-content ul li { font-size: 14px; color: var(--muted); padding: 6px 0; border-bottom: 1px solid var(--border2); display: flex; justify-content: space-between; }
.tab-content ul li span { font-weight: 600; color: var(--text); }

/* Related */
.related { max-width: 1300px; margin: 0 auto; padding: 48px 52px 80px; }
.related h3 { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 28px; color: var(--text); margin-bottom: 24px; }
.related-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }

/* Toast */
.toast {
  position: fixed; bottom: 28px; right: 28px; z-index: 9999;
  background: var(--text); color: #fff;
  padding: 14px 22px; border-radius: var(--radius-sm);
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 600;
  transform: translateY(80px); opacity: 0;
  transition: transform 0.3s, opacity 0.3s;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast-icon { color: #4ade80; font-size: 16px; }

/* ── STICKY CTA BAR ── */
.sticky-cta {
  position: fixed; top: 70px; left: 0; right: 0; z-index: 90;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 24px rgba(0,0,0,0.09);
  transform: translateY(-110%);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
}
.sticky-cta.visible { transform: translateY(0); }
.sticky-cta-inner {
  max-width: 1300px; margin: 0 auto; padding: 12px 52px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.sticky-cta-left { display: flex; align-items: center; gap: 16px; }
.sticky-cta-name {
  font-family: 'Syne', sans-serif; font-weight: 800;
  font-size: 18px; color: var(--text);
}
.sticky-cta-price {
  font-family: 'Syne', sans-serif; font-weight: 700;
  font-size: 20px; color: var(--accent);
}
.sticky-cta-old {
  font-size: 13px; color: var(--light);
  text-decoration: line-through; font-family: 'Space Mono', monospace;
}
.sticky-cta-right { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.sticky-cta-rating { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.sticky-cta-stars { color: #f59e0b; font-size: 13px; letter-spacing: 1px; }
.btn-sticky-cart {
  background: var(--accent); color: #fff; border: none;
  padding: 12px 28px; border-radius: var(--radius-sm);
  font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: 15px;
  cursor: pointer; white-space: nowrap;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  display: flex; align-items: center; gap: 8px;
}
.btn-sticky-cart:hover { background: var(--accent-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(37,99,235,0.3); }
.btn-sticky-cart::before { content: '🛒'; font-size: 16px; }

/* Responsive */
@media (max-width: 1100px) {
  .products-grid { grid-template-columns: repeat(2,1fr); }
  .related-grid { grid-template-columns: repeat(2,1fr); }
  .why-grid { grid-template-columns: repeat(2,1fr); }
  .testi-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .detail-wrap { grid-template-columns: 1fr; gap: 40px; }
  .detail-gallery { position: static; }
  .related-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 768px) {
  nav { padding: 0 20px; }
  .nav-links { display: none; }
  .hero { grid-template-columns: 1fr; padding: 48px 24px; gap: 40px; }
  .products-section, .why-section, .testi-section { padding: 48px 24px; }
  footer { padding: 48px 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .detail-wrap { padding: 32px 24px; }
  .detail-tabs { padding: 32px 24px; }
  .related { padding: 32px 24px; }
  .specs-grid { grid-template-columns: 1fr; }
  .spec-key { border-right: none; }
  .related-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════
   CART DRAWER
══════════════════════════ */
.cart-overlay {
  position: fixed; inset: 0; background: rgba(15,23,42,0.45);
  z-index: 200; opacity: 0; pointer-events: none;
  transition: opacity 0.3s;
}
.cart-overlay.open { opacity: 1; pointer-events: all; }

.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 201;
  width: 420px; max-width: 100vw;
  background: var(--surface);
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  box-shadow: -8px 0 48px rgba(0,0,0,0.15);
}
.cart-drawer.open { transform: translateX(0); }

.cart-drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 24px; border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.cart-drawer-title {
  font-family: 'Syne', sans-serif; font-weight: 800;
  font-size: 20px; color: var(--text);
  display: flex; align-items: center; gap: 10px;
}
.cart-drawer-count {
  background: var(--accent); color: #fff;
  font-size: 12px; font-weight: 700; font-family: 'Space Mono', monospace;
  padding: 2px 8px; border-radius: 20px; min-width: 24px; text-align: center;
}
.cart-close {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--bg); border: 1.5px solid var(--border);
  font-size: 18px; cursor: pointer; color: var(--muted);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, color 0.2s;
}
.cart-close:hover { background: #fee2e2; color: var(--red); border-color: #fca5a5; }

.cart-items {
  flex: 1; overflow-y: auto; padding: 16px 24px;
}
.cart-items::-webkit-scrollbar { width: 4px; }
.cart-items::-webkit-scrollbar-track { background: transparent; }
.cart-items::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }

.cart-empty {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; height: 100%; gap: 16px;
  color: var(--muted); text-align: center; padding: 40px;
}
.cart-empty-icon { font-size: 56px; opacity: 0.3; }
.cart-empty h3 { font-family: 'Syne', sans-serif; font-size: 18px; color: var(--text); }
.cart-empty p { font-size: 14px; }

.cart-item {
  display: flex; gap: 14px; padding: 16px 0;
  border-bottom: 1px solid var(--border2);
  animation: slideIn 0.3s ease;
}
@keyframes slideIn { from { opacity:0; transform:translateX(20px); } to { opacity:1; transform:translateX(0); } }

.cart-item-img {
  width: 80px; height: 80px; border-radius: 10px; flex-shrink: 0;
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  display: flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--border);
  overflow: hidden;
}
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-cat { font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); margin-bottom: 4px; }
.cart-item-name { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 15px; color: var(--text); margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-item-color { font-size: 12px; color: var(--muted); margin-bottom: 10px; }
.cart-item-bottom { display: flex; align-items: center; justify-content: space-between; }
.cart-item-qty {
  display: flex; align-items: center; gap: 0;
  border: 1.5px solid var(--border); border-radius: var(--radius-sm); overflow: hidden;
}
.qty-btn {
  width: 30px; height: 30px; background: none; border: none;
  font-size: 16px; color: var(--text); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s;
}
.qty-btn:hover { background: var(--bg); }
.qty-num {
  width: 32px; height: 30px; display: flex; align-items: center; justify-content: center;
  font-family: 'Space Mono', monospace; font-size: 13px; font-weight: 700;
  border-left: 1.5px solid var(--border); border-right: 1.5px solid var(--border);
}
.cart-item-price { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 16px; color: var(--text); }
.cart-item-remove {
  background: none; border: none; color: var(--light);
  cursor: pointer; font-size: 18px; padding: 4px;
  transition: color 0.2s; line-height: 1;
}
.cart-item-remove:hover { color: var(--red); }

.cart-delivery-note {
  margin: 12px 0 0;
  background: #fefce8; border: 1px solid #fde68a; border-radius: 8px;
  padding: 10px 14px; font-size: 12px; color: #92400e; line-height: 1.6;
}

.cart-footer {
  flex-shrink: 0; border-top: 1px solid var(--border);
  padding: 20px 24px;
}
.cart-summary { margin-bottom: 16px; }
.cart-summary-row {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 14px; color: var(--muted); margin-bottom: 8px;
}
.cart-summary-row.total {
  font-family: 'Syne', sans-serif; font-weight: 800;
  font-size: 20px; color: var(--text); margin-top: 12px;
  padding-top: 12px; border-top: 1px solid var(--border);
}
.cart-summary-row.total span { color: var(--accent); }
.btn-checkout {
  width: 100%; background: var(--accent); color: #fff; border: none;
  padding: 16px; border-radius: var(--radius-sm);
  font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: 16px;
  cursor: pointer; transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  margin-bottom: 10px;
}
.btn-checkout:hover { background: var(--accent-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(37,99,235,0.3); }
.btn-checkout::before { content: '→'; font-size: 18px; }
.cart-continue {
  width: 100%; background: none; border: 1.5px solid var(--border); color: var(--muted);
  padding: 12px; border-radius: var(--radius-sm);
  font-family: 'DM Sans', sans-serif; font-weight: 600; font-size: 14px;
  cursor: pointer; transition: border-color 0.2s, color 0.2s;
}
.cart-continue:hover { border-color: var(--accent); color: var(--accent); }
.cart-secure { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 11px; color: var(--light); margin-top: 10px; }

/* ══════════════════════════
   CHECKOUT PAGE
══════════════════════════ */
.checkout-wrap {
  max-width: 1100px; margin: 0 auto; padding: 48px 52px 80px;
  display: grid; grid-template-columns: 1fr 420px; gap: 48px; align-items: start;
}
.checkout-section-title {
  font-family: 'Syne', sans-serif; font-weight: 800; font-size: 13px;
  letter-spacing: 2px; text-transform: uppercase; color: var(--accent);
  margin-bottom: 20px; display: flex; align-items: center; gap: 10px;
}
.checkout-section-title::before {
  content: attr(data-step);
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--accent); color: #fff;
  font-size: 12px; font-weight: 700; font-family: 'Space Mono', monospace;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.checkout-block {
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 28px; margin-bottom: 20px;
}
.checkout-block h3 {
  font-family: 'Syne', sans-serif; font-weight: 700; font-size: 18px;
  color: var(--text); margin-bottom: 20px; padding-bottom: 14px;
  border-bottom: 1px solid var(--border2);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-row.full { grid-template-columns: 1fr; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label {
  font-size: 12px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; color: var(--muted);
}
.form-input {
  padding: 12px 14px; border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); font-family: 'DM Sans', sans-serif;
  font-size: 15px; color: var(--text); background: var(--bg);
  transition: border-color 0.2s, box-shadow 0.2s; outline: none;
}
.form-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(37,99,235,0.1); background: #fff; }
.form-input::placeholder { color: var(--light); }
.form-select {
  padding: 12px 14px; border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); font-family: 'DM Sans', sans-serif;
  font-size: 15px; color: var(--text); background: var(--bg);
  cursor: pointer; outline: none; transition: border-color 0.2s;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b7280' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
  padding-right: 36px;
}
.form-select:focus { border-color: var(--accent); }

.payment-options { display: grid; gap: 10px; }
.payment-opt {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px; border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.payment-opt.active { border-color: var(--accent); background: var(--accent-light); }
.payment-opt input[type="radio"] { accent-color: var(--accent); width: 18px; height: 18px; flex-shrink: 0; }
.payment-opt-info { flex: 1; }
.payment-opt-name { font-weight: 600; font-size: 14px; color: var(--text); }
.payment-opt-desc { font-size: 12px; color: var(--muted); }
.payment-opt-icon { font-size: 24px; }

.note-area {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); font-family: 'DM Sans', sans-serif;
  font-size: 15px; color: var(--text); background: var(--bg);
  resize: vertical; min-height: 90px; outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.note-area:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(37,99,235,0.1); }

/* Order summary sidebar */
.checkout-summary {
  position: sticky; top: 88px;
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
}
.summary-head {
  padding: 20px 24px; background: var(--bg);
  border-bottom: 1px solid var(--border);
  font-family: 'Syne', sans-serif; font-weight: 700; font-size: 16px; color: var(--text);
}
.summary-items { padding: 16px 24px; }
.summary-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 0; border-bottom: 1px solid var(--border2);
}
.summary-item:last-child { border-bottom: none; }
.summary-item-img {
  width: 56px; height: 56px; border-radius: 8px; flex-shrink: 0;
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border);
}
.summary-item-name { font-weight: 600; font-size: 13px; color: var(--text); flex: 1; }
.summary-item-qty { font-size: 12px; color: var(--muted); }
.summary-item-price {
  font-family: 'Syne', sans-serif; font-weight: 700;
  font-size: 14px; color: var(--text); flex-shrink: 0;
}
.summary-totals { padding: 16px 24px; border-top: 1px solid var(--border); }
.summary-row {
  display: flex; justify-content: space-between;
  font-size: 14px; color: var(--muted); margin-bottom: 8px;
}
.summary-row.grand {
  font-family: 'Syne', sans-serif; font-weight: 800;
  font-size: 22px; color: var(--text); margin-top: 12px;
  padding-top: 12px; border-top: 1px solid var(--border);
}
.summary-row.grand span { color: var(--accent); }
.summary-note {
  margin: 0 24px 16px;
  background: #fefce8; border: 1px solid #fde68a; border-radius: 8px;
  padding: 10px 14px; font-size: 12px; color: #92400e; line-height: 1.6;
}
.btn-place-order {
  width: calc(100% - 48px); margin: 0 24px 20px;
  background: var(--accent); color: #fff; border: none;
  padding: 16px; border-radius: var(--radius-sm);
  font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: 16px;
  cursor: pointer; transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-place-order:hover { background: var(--accent-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(37,99,235,0.3); }
.summary-secure { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 11px; color: var(--light); margin: 0 24px 20px; }

/* Success screen */
.checkout-success {
  max-width: 560px; margin: 80px auto; padding: 0 24px;
  text-align: center; display: none;
}
.checkout-success.show { display: block; }
.success-icon { font-size: 72px; margin-bottom: 24px; animation: popIn 0.5s cubic-bezier(0.34,1.56,0.64,1); }
@keyframes popIn { from { transform: scale(0); } to { transform: scale(1); } }
.checkout-success h2 {
  font-family: 'Syne', sans-serif; font-weight: 800;
  font-size: 36px; color: var(--text); margin-bottom: 12px;
}
.checkout-success p { font-size: 16px; color: var(--muted); line-height: 1.7; margin-bottom: 32px; }
.order-number {
  background: var(--accent-light); border: 1.5px solid var(--accent-mid);
  border-radius: var(--radius); padding: 16px 24px; margin-bottom: 32px;
  font-family: 'Space Mono', monospace; font-size: 13px; color: var(--accent);
  letter-spacing: 1px;
}
.order-number span { font-size: 22px; font-weight: 700; display: block; margin-top: 4px; }

@media (max-width: 900px) {
  .checkout-wrap { grid-template-columns: 1fr; }
  .checkout-summary { position: static; }
}
@media (max-width: 600px) {
  .cart-drawer { width: 100vw; }
  .checkout-wrap { padding: 24px 16px; }
  .form-row { grid-template-columns: 1fr; }
}

/* ══ CONTENT PAGES (O marce / Kontakt / FAQ etc.) ══ */
.content-page {
  max-width: 900px; margin: 0 auto; padding: 64px 52px 80px;
}
.content-page h1 {
  font-family: 'Syne', sans-serif; font-weight: 800;
  font-size: clamp(36px, 4vw, 56px); color: var(--text);
  letter-spacing: -1px; margin-bottom: 8px;
}
.content-page .page-lead {
  font-size: 18px; color: var(--muted); margin-bottom: 48px; line-height: 1.7;
}
.content-page h2 {
  font-family: 'Syne', sans-serif; font-weight: 700;
  font-size: 22px; color: var(--text); margin: 40px 0 14px;
  padding-bottom: 10px; border-bottom: 2px solid var(--accent-light);
}
.content-page p {
  font-size: 15px; color: var(--muted); line-height: 1.8; margin-bottom: 16px;
}
.content-page ul {
  list-style: none; margin-bottom: 16px;
}
.content-page ul li {
  font-size: 15px; color: var(--muted); padding: 6px 0;
  display: flex; align-items: flex-start; gap: 10px; line-height: 1.6;
}
.content-page ul li::before {
  content: '✓'; color: var(--accent); font-weight: 700; margin-top: 2px; flex-shrink: 0;
}

.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 32px;
}
.contact-card {
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 28px;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.contact-card:hover { box-shadow: var(--shadow-lg); border-color: var(--accent-mid); }
.contact-card-icon { font-size: 32px; margin-bottom: 12px; }
.contact-card h3 {
  font-family: 'Syne', sans-serif; font-weight: 700; font-size: 17px;
  color: var(--text); margin-bottom: 8px;
}
.contact-card p, .contact-card a {
  font-size: 14px; color: var(--muted); text-decoration: none; line-height: 1.7;
}
.contact-card a:hover { color: var(--accent); }
.contact-form { background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--radius); padding: 32px; margin-top: 32px; }
.contact-form h2 { border-bottom: none; margin-top: 0; }

.faq-item {
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  margin-bottom: 10px; overflow: hidden;
}
.faq-q {
  padding: 16px 20px; font-weight: 600; font-size: 15px; color: var(--text);
  cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  background: var(--surface); transition: background 0.2s;
  user-select: none;
}
.faq-q:hover { background: var(--accent-light); }
.faq-q .faq-icon { font-size: 18px; color: var(--accent); transition: transform 0.2s; flex-shrink: 0; }
.faq-q.open .faq-icon { transform: rotate(45deg); }
.faq-a {
  display: none; padding: 14px 20px 18px; font-size: 14px;
  color: var(--muted); line-height: 1.75; border-top: 1px solid var(--border2);
  background: var(--bg);
}
.faq-a.open { display: block; }

@media (max-width: 768px) {
  .content-page { padding: 40px 20px; }
  .contact-grid { grid-template-columns: 1fr; }
}

.product-card, .why-card, .testi-card { opacity: 1 !important; transform: none !important; }

/* ══ CONTENT OVERLAY PANEL ══ */
#content-overlay {
  display: none;
  position: fixed; inset: 0; z-index: 500;
  background: var(--bg); overflow-y: auto;
}
#content-overlay.open { display: block; }
.overlay-nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255,255,255,0.95); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 52px; height: 70px; box-shadow: var(--shadow-sm);
}
.overlay-close {
  display: flex; align-items: center; gap: 8px;
  background: none; border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); padding: 8px 16px;
  font-family: 'DM Sans', sans-serif; font-weight: 600;
  font-size: 14px; color: var(--muted); cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.overlay-close:hover { border-color: var(--accent); color: var(--accent); }

/* WooCommerce integration */
.nav-cart { text-decoration:none; }
.product-card .card-img img, .cluvens-shop-grid .card-img img { max-width:100%; max-height:100%; object-fit:contain; mix-blend-mode:multiply; padding:8px; }
.product-card .btn-add { text-decoration:none; font-weight:700; }
.cluvens-single-product form.cart { display:flex; gap:12px; align-items:center; width:100%; }
.cluvens-single-product form.cart .quantity input.qty { width:78px; min-height:52px; border:1.5px solid var(--border); border-radius:var(--radius-sm); text-align:center; font-family:'Space Mono', monospace; font-weight:700; }
.cluvens-single-product form.cart .single_add_to_cart_button { flex:1; background:var(--accent); color:#fff; border:none; padding:16px; border-radius:var(--radius-sm); font-family:'DM Sans', sans-serif; font-weight:700; font-size:16px; cursor:pointer; }
.cluvens-single-product form.cart .single_add_to_cart_button:hover { background:var(--accent-dark); }
.woocommerce-notices-wrapper { max-width:1300px; margin:20px auto 0; padding:0 52px; }
.woocommerce-message, .woocommerce-info, .woocommerce-error { background:#fff; border:1.5px solid var(--border); border-radius:var(--radius-sm); padding:14px 18px; margin:14px 0; color:var(--text); list-style:none; }
.woocommerce-message { border-left:4px solid var(--green); }
.woocommerce-info { border-left:4px solid var(--accent); }
.woocommerce-error { border-left:4px solid var(--red); }
.woocommerce-message a.button, .woocommerce-info a.button { float:right; background:var(--accent); color:#fff; padding:8px 14px; border-radius:8px; text-decoration:none; font-weight:700; }
.cluvens-woo-page { max-width:1200px; }
.cluvens-woo-page .woocommerce table.shop_table { width:100%; border-collapse:collapse; background:#fff; border:1.5px solid var(--border); border-radius:var(--radius); overflow:hidden; }
.cluvens-woo-page .woocommerce table.shop_table th, .cluvens-woo-page .woocommerce table.shop_table td { padding:14px; border-bottom:1px solid var(--border2); text-align:left; }
.cluvens-woo-page .woocommerce a.remove { color:var(--red); text-decoration:none; font-size:22px; }
.cluvens-woo-page .woocommerce .button, .cluvens-woo-page .woocommerce button.button, .cluvens-woo-page .woocommerce input.button, .woocommerce-checkout button.button, .woocommerce-cart button.button { background:var(--accent); color:#fff; border:none; border-radius:var(--radius-sm); padding:12px 20px; font-weight:700; cursor:pointer; text-decoration:none; }
.cluvens-woo-page .woocommerce .button:hover, .woocommerce-checkout button.button:hover, .woocommerce-cart button.button:hover { background:var(--accent-dark); color:#fff; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select, .select2-container--default .select2-selection--single { border:1.5px solid var(--border); border-radius:var(--radius-sm); padding:12px 14px; min-height:48px; background:var(--bg); font-family:'DM Sans', sans-serif; }
.woocommerce form .form-row { display:block; margin-bottom:14px; }
.woocommerce-checkout-review-order, .cart_totals, .woocommerce-billing-fields, .woocommerce-shipping-fields, .woocommerce-additional-fields { background:#fff; border:1.5px solid var(--border); border-radius:var(--radius); padding:24px; margin-bottom:20px; }
.woocommerce ul.products { display:grid; grid-template-columns:repeat(3,1fr); gap:22px; list-style:none; padding:0; }
.woocommerce ul.products li.product { background:#fff; border:1.5px solid var(--border); border-radius:var(--radius); padding:18px; }
.woocommerce ul.products li.product img { width:100%; height:220px; object-fit:contain; }
.woocommerce ul.products li.product .button { background:var(--accent); color:#fff; border-radius:var(--radius-sm); padding:10px 16px; text-decoration:none; display:inline-block; }
.related .products { margin-top:20px; }
@media (max-width:900px){ .woocommerce ul.products { grid-template-columns:1fr; } .cluvens-single-product form.cart { flex-direction:column; align-items:stretch; } }

/* ══ STICKY BAR — ukryty domyślnie, pokazuje sie po scrollu ══ */
.cluvens-sticky-bar {
  position: fixed !important;
  top: 0 !important; left: 0 !important; right: 0 !important;
  z-index: 99999 !important;
  background: rgba(255,255,255,0.97) !important;
  backdrop-filter: blur(16px) !important;
  border-bottom: 1px solid #e2e6f0 !important;
  box-shadow: 0 4px 24px rgba(0,0,0,0.09) !important;
  transform: translateY(-110%) !important;
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1) !important;
  pointer-events: none !important;
}
.cluvens-sticky-bar.visible {
  transform: translateY(0) !important;
  pointer-events: all !important;
}
.cluvens-sticky-bar-inner {
  max-width: 1300px; margin: 0 auto; padding: 12px 52px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.sb-left { display: flex; align-items: center; gap: 16px; }
.sb-title { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 18px; color: #1e2532; }
.sb-stars { color: #f59e0b; font-size: 13px; }
.sb-rating-text { font-size: 13px; color: #6b7280; }
.sb-right { display: flex; align-items: center; gap: 12px; }
.sb-price { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 20px; color: #2563eb; }
.sb-btn {
  background: #2563eb; color: #fff; border: none; padding: 12px 28px;
  border-radius: 8px; font-family: 'DM Sans', sans-serif; font-weight: 700;
  font-size: 15px; cursor: pointer; display: flex; align-items: center; gap: 8px;
  transition: background 0.2s;
}
.sb-btn::before { content: '🛒'; }
.sb-btn:hover { background: #1d4ed8; }

/* ══ RELATED GRID ══ */
div.related {
  max-width: 1300px !important; margin: 0 auto !important; padding: 48px 52px 80px !important;
}
div.related h3 {
  font-family: 'Syne', sans-serif !important; font-weight: 800 !important;
  font-size: 28px !important; color: #1e2532 !important; margin-bottom: 24px !important;
}
.related-grid {
  display: grid !important; grid-template-columns: repeat(3,1fr) !important; gap: 20px !important;
}
.related-grid .product-card {
  background: #fff !important; border: 1.5px solid #e2e6f0 !important;
  border-radius: 14px !important; overflow: hidden !important; cursor: pointer !important;
  transition: box-shadow 0.3s, transform 0.3s, border-color 0.3s !important;
  display: flex !important; flex-direction: column !important;
}
.related-grid .product-card:hover {
  box-shadow: 0 12px 48px rgba(37,99,235,0.12) !important;
  transform: translateY(-5px) !important; border-color: #bfdbfe !important;
}
.related-grid .card-body { padding: 16px 20px 20px !important; display: flex !important; flex-direction: column !important; flex: 1 !important; }
.related-grid .card-cat { font-size: 10px !important; font-weight: 700 !important; letter-spacing: 2px !important; text-transform: uppercase !important; color: #2563eb !important; margin-bottom: 6px !important; }
.related-grid .card-name { font-family: 'Syne', sans-serif !important; font-weight: 800 !important; font-size: 18px !important; color: #1e2532 !important; padding-bottom: 16px !important; margin-bottom: auto !important; }
.related-grid .card-footer { display: flex !important; align-items: center !important; justify-content: space-between !important; padding-top: 12px !important; border-top: 1px solid #edf0f7 !important; }
.related-grid .price-new, .related-grid .price-new .woocommerce-Price-amount { font-family: 'Syne', sans-serif !important; font-weight: 800 !important; font-size: 20px !important; color: #1e2532 !important; }
.related-grid .btn-add { width: 40px !important; height: 40px !important; border-radius: 8px !important; background: #2563eb !important; color: #fff !important; font-size: 22px !important; border: none !important; cursor: pointer !important; display: flex !important; align-items: center !important; justify-content: center !important; text-decoration: none !important; flex-shrink: 0 !important; transition: background 0.2s !important; }
.related-grid .btn-add:hover { background: #1d4ed8 !important; }

/* ══ DETAIL WRAP ══ */
main.detail-wrap.cluvens-single-product {
  display: grid !important; grid-template-columns: 1fr 1fr !important;
  gap: 64px !important; max-width: 1300px !important; margin: 0 auto !important;
  padding: 52px !important; align-items: start !important; box-sizing: border-box !important;
}
main.detail-wrap.cluvens-single-product .detail-gallery { grid-column: 1 !important; position: sticky !important; top: 88px !important; }
main.detail-wrap.cluvens-single-product .detail-info { grid-column: 2 !important; }

/* ══ TABS ══ */
.detail-tabs { max-width: 1300px !important; margin: 0 auto !important; padding: 48px 52px !important; border-top: 1px solid #e2e6f0 !important; }
.tabs-header { display: flex !important; border-bottom: 2px solid #e2e6f0 !important; margin-bottom: 32px !important; }
.tab-btn { padding: 14px 28px !important; font-weight: 600 !important; font-size: 15px !important; color: #6b7280 !important; border: none !important; background: none !important; cursor: pointer !important; border-bottom: 2px solid transparent !important; margin-bottom: -2px !important; transition: color 0.2s, border-color 0.2s !important; font-family: 'DM Sans', sans-serif !important; }
.tab-btn:hover { color: #2563eb !important; }
.tab-btn.active { color: #2563eb !important; border-bottom-color: #2563eb !important; }
.tab-content { display: none !important; }
.tab-content.active { display: block !important; }
.tab-content p { font-size: 15px !important; color: #6b7280 !important; line-height: 1.75 !important; margin-bottom: 20px !important; }
.tab-content h4 { font-family: 'Syne', sans-serif !important; font-weight: 700 !important; font-size: 16px !important; color: #1e2532 !important; margin: 24px 0 12px !important; }
.tab-content ul { list-style: none !important; padding: 0 !important; margin: 0 0 20px !important; border: 1px solid #e2e6f0 !important; border-radius: 8px !important; overflow: hidden !important; }
.tab-content ul li { display: flex !important; justify-content: space-between !important; align-items: center !important; padding: 12px 16px !important; font-size: 14px !important; color: #6b7280 !important; border-bottom: 1px solid #edf0f7 !important; }
.tab-content ul li:last-child { border-bottom: none !important; }
.tab-content ul li span { font-weight: 700 !important; color: #1e2532 !important; }
.tab-content ul li a { color: #2563eb !important; text-decoration: none !important; }

/* ══ FIX GLOBALNE ══ */
.woocommerce-Price-amount, .woocommerce-Price-amount.amount { color: #1e2532 !important; }
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce button.button.alt, .woocommerce a.button.alt, .single_add_to_cart_button { background: #2563eb !important; background-color: #2563eb !important; color: #fff !important; border: none !important; border-radius: 8px !important; padding: 14px 28px !important; font-family: 'DM Sans', sans-serif !important; font-weight: 700 !important; font-size: 15px !important; text-transform: none !important; letter-spacing: 0 !important; }
.woocommerce a.button:hover, .woocommerce button.button:hover, .single_add_to_cart_button:hover { background: #1d4ed8 !important; color: #fff !important; }
.detail-price-main, .detail-price-main .woocommerce-Price-amount, .detail-price-main .amount { white-space: nowrap !important; font-family: 'Syne', sans-serif !important; font-weight: 800 !important; font-size: 42px !important; color: #1e2532 !important; display: block !important; }

@media (max-width: 768px) {
  main.detail-wrap.cluvens-single-product { grid-template-columns: 1fr !important; padding: 24px !important; gap: 32px !important; }
  main.detail-wrap.cluvens-single-product .detail-gallery, main.detail-wrap.cluvens-single-product .detail-info { grid-column: 1 !important; position: static !important; }
  .related-grid { grid-template-columns: 1fr !important; }
  div.related, .detail-tabs { padding: 32px 24px !important; }
  .cluvens-sticky-bar-inner { padding: 10px 16px; }
}