
/* ─── ELECTRONICS 3 DESIGN LANGUAGE ───────────────────────────────────────────
   Key features from the official XTemos article:
   ✓ Aside Menu (vertical category stack on left side)
   ✓ 20px global border radius on buttons/elements
   ✓ Gradient typography for section headers
   ✓ Bold iconography (Design Icons 3, bold weight)
   ✓ Rounded Small product labels (New/Sale/Hot)
   ✓ Custom product loop layouts
   ✓ Bar-based pagination style (Style 4)
   ✓ Shipping progress bar in cart
   ✓ Synchronized carousels
   ✓ Clean premium feel with gradients
   ─────────────────────────────────────────────────────────────────────────── */
:root {
  --red: #E30613;
  --red-deep: #B8040D;
  --ink: #0B1220;
  --ink-soft: #1A2234;
  --mist: #F5F6F8;
  --cream: #FFFFFF;
  --stone: #6B7280;
  --border: #E5E7EB;
  --accent: #FFC107;
  --grad-from: #E30613;
  --grad-to: #8B0A20;
  --radius: 20px;
  --radius-sm: 12px;
  --radius-xs: 8px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Urbanist', -apple-system, sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.5;
  overflow-x: hidden;
  font-weight: 500;
}

/* ─── TOPBAR ─────────────────────────────────────────────────────────────── */
.topbar {
  background: var(--ink);
  color: #cbd5e1;
  font-size: 13px;
  padding: 10px 0;
  font-weight: 500;
}
.topbar-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.topbar-left { display: flex; gap: 28px; }
.topbar-left span { display: inline-flex; align-items: center; gap: 8px; }
.topbar-right { display: flex; gap: 20px; align-items: center; }
.lang-switch {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 4px 12px; border-radius: 100px;
  background: rgba(255,255,255,0.08);
  cursor: pointer; transition: 0.2s;
  font-weight: 600; font-size: 12px;
}
.lang-switch:hover { background: rgba(255,255,255,0.15); }

/* ─── HEADER ─────────────────────────────────────────────────────────────── */
header {
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 100;
}
.header-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 20px 40px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 40px;
  align-items: center;
}
.logo {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--ink);
  font-weight: 900; font-size: 22px;
  letter-spacing: -0.02em;
}
.logo-mark {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--red) 0%, var(--red-deep) 100%);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 900; font-size: 20px;
  box-shadow: 0 4px 14px rgba(227, 6, 19, 0.3);
}
.logo-text strong { color: var(--red); }

/* Main search bar (big, like Electronics 3) */
.main-search {
  display: flex;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 720px;
  margin: 0 auto;
}
.main-search select {
  border: none; background: var(--mist);
  padding: 14px 20px; font-family: inherit;
  font-size: 14px; font-weight: 600;
  border-right: 1px solid var(--border);
  cursor: pointer;
  min-width: 180px;
}
.main-search input {
  flex: 1; border: none; padding: 14px 20px;
  font-family: inherit; font-size: 15px;
}
.main-search input:focus { outline: none; }
.main-search button {
  background: var(--ink); color: white;
  border: none; padding: 0 28px;
  cursor: pointer; transition: 0.2s;
  font-weight: 700;
}
.main-search button:hover { background: var(--red); }

.header-actions { display: flex; gap: 8px; align-items: center; }
.h-action {
  display: flex; flex-direction: column;
  align-items: center; padding: 10px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer; transition: 0.2s;
  text-decoration: none; color: var(--ink);
  position: relative;
  font-weight: 600;
}
.h-action:hover { background: var(--mist); }
.h-action-icon {
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
}
.h-action-label {
  font-size: 11px;
  letter-spacing: 0.02em;
  margin-top: 2px;
}
.h-action .badge {
  position: absolute;
  top: 6px; right: 6px;
  background: var(--red); color: white;
  font-size: 10px; font-weight: 700;
  width: 18px; height: 18px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

/* ─── MAIN CONTENT GRID WITH ASIDE MENU ──────────────────────────────────── */
.main-container {
  max-width: 1440px;
  margin: 24px auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
}

/* ─── ASIDE MENU (Electronics 3 signature feature) ─────────────────────── */
.aside-menu {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px;
  position: sticky;
  top: 100px;
  height: fit-content;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
}
.aside-menu-title {
  padding: 12px 16px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--stone);
  font-weight: 700;
  border-bottom: 1px solid var(--border);
  margin-bottom: 8px;
  display: flex; align-items: center; gap: 10px;
}
.aside-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: 0.2s;
  position: relative;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}
.aside-item:hover {
  background: var(--mist);
  color: var(--red);
}
.aside-item.active {
  background: linear-gradient(135deg, rgba(227,6,19,0.08), rgba(227,6,19,0.02));
  color: var(--red);
}
.aside-item-icon {
  width: 24px; height: 24px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.aside-item-arrow {
  margin-left: auto;
  color: var(--stone);
  opacity: 0.5;
}
.aside-item-count {
  font-size: 11px;
  color: var(--stone);
  background: var(--mist);
  padding: 2px 8px;
  border-radius: 100px;
  font-weight: 700;
}
.aside-item:hover .aside-item-arrow { opacity: 1; transform: translateX(2px); }

/* ─── HERO SLIDER ────────────────────────────────────────────────────────── */
.hero-slider {
  position: relative;
  background: linear-gradient(135deg, #0B1220 0%, #1A2234 50%, #2D1F2F 100%);
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 480px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 60px;
  color: white;
}
.hero-slider::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(227,6,19,0.3) 0%, transparent 60%);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 2; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px;
  background: rgba(255,193,7,0.15);
  border: 1px solid rgba(255,193,7,0.3);
  border-radius: 100px;
  color: var(--accent);
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero-eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--accent);
}
.hero-title {
  font-size: clamp(40px, 5vw, 68px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  font-weight: 900;
  margin-bottom: 20px;
}
/* Gradient typography — signature E3 feature */
.grad-text {
  background: linear-gradient(135deg, #3b82f6 0%, #06b6d4 50%, #3b82f6 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradShift 5s ease infinite;
}
@keyframes gradShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.hero-sub {
  font-size: 17px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 32px;
  max-width: 460px;
  line-height: 1.5;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px;
  border-radius: var(--radius);
  font-weight: 700; font-size: 14px;
  text-decoration: none;
  cursor: pointer; border: none;
  transition: 0.2s;
  font-family: inherit;
}
.btn-primary {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-deep) 100%);
  color: white;
  box-shadow: 0 4px 20px rgba(227,6,19,0.4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(227,6,19,0.5); }
.btn-ghost {
  background: rgba(255,255,255,0.1);
  color: white;
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover { background: rgba(255,255,255,0.2); }

.hero-visual {
  position: relative;
  height: 380px;
  display: flex; align-items: center; justify-content: center;
}
.hero-product {
  position: relative;
  width: 320px; height: 380px;
  background: linear-gradient(145deg, var(--red) 0%, var(--red-deep) 100%);
  border-radius: var(--radius);
  box-shadow: 0 30px 60px -15px rgba(227,6,19,0.5);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 32px;
  color: white;
  transform: rotate(-3deg);
  transition: transform 0.4s;
}
.hero-product:hover { transform: rotate(0deg) scale(1.02); }
.hero-product-tag {
  display: inline-block;
  background: rgba(0,0,0,0.3);
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  width: fit-content;
}
.hero-product-name {
  font-size: 32px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
}
.hero-product-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  font-size: 13px;
}
.hero-product-price {
  font-size: 36px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

/* Bar pagination (Style 4 — signature E3 feature) */
.slider-dots {
  position: absolute;
  bottom: 24px;
  left: 60px;
  display: flex;
  gap: 8px;
  z-index: 3;
}
.slider-dot {
  width: 40px; height: 4px;
  background: rgba(255,255,255,0.2);
  border-radius: 2px;
  cursor: pointer;
  transition: 0.3s;
}
.slider-dot.active {
  width: 80px;
  background: var(--accent);
}

/* ─── PROMO BANNERS UNDER SLIDER ───────────────────────────────────────── */
.promo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}
.promo-card {
  padding: 24px;
  border-radius: var(--radius);
  background: var(--mist);
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  transition: 0.2s;
  border: 1px solid var(--border);
}
.promo-card:hover {
  background: white;
  border-color: var(--ink);
  transform: translateY(-2px);
}
.promo-card-icon {
  width: 52px; height: 52px;
  background: var(--ink);
  border-radius: var(--radius-sm);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.promo-card h4 {
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 2px;
}
.promo-card p {
  font-size: 13px;
  color: var(--stone);
  font-weight: 500;
}

/* ─── SECTION ────────────────────────────────────────────────────────────── */
section.block {
  margin-top: 80px;
}
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 32px;
}
.section-title {
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
}
.section-title .accent {
  background: linear-gradient(135deg, var(--red) 0%, #F97316 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section-sub {
  color: var(--stone);
  margin-top: 8px;
  font-size: 15px;
}
.section-cta {
  color: var(--ink);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  transition: 0.2s;
}
.section-cta:hover { background: var(--ink); color: white; }

/* ─── PRODUCT GRID ──────────────────────────────────────────────────────── */
.products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.product {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: 0.3s;
  cursor: pointer;
  position: relative;
}
.product:hover {
  border-color: var(--ink);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -15px rgba(11,18,32,0.15);
}
.product-image {
  aspect-ratio: 1;
  background: var(--mist);
  position: relative;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.product-visual {
  width: 60%; height: 75%;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: white;
  font-weight: 900;
  text-align: center;
  padding: 12px;
  font-size: 14px;
  line-height: 1.2;
  box-shadow: 0 10px 30px -10px rgba(0,0,0,0.2);
}
/* Rounded Small labels (E3 specific) */
.product-labels {
  position: absolute;
  top: 12px; left: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 2;
}
.label {
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: white;
}
.label-new { background: #10b981; }
.label-sale { background: var(--red); }
.label-hot { background: var(--accent); color: var(--ink); }

.product-actions {
  position: absolute;
  top: 12px; right: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  transform: translateX(10px);
  transition: 0.3s;
  z-index: 2;
}
.product:hover .product-actions { opacity: 1; transform: translateX(0); }
.p-action-btn {
  width: 36px; height: 36px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: 0.2s;
}
.p-action-btn:hover { background: var(--ink); color: white; border-color: var(--ink); }

.product-info { padding: 20px; }
.product-brand {
  font-size: 11px;
  color: var(--stone);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.product-name {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 10px;
  color: var(--ink);
  min-height: 40px;
}
.product-stars {
  display: flex; gap: 2px; margin-bottom: 10px;
  color: #fbbf24; font-size: 12px;
}
.product-stars span { color: var(--stone); margin-left: 6px; font-weight: 600; }
.product-price {
  display: flex; align-items: baseline; gap: 8px;
}
.price-current {
  font-size: 20px;
  font-weight: 900;
  color: var(--red);
  letter-spacing: -0.02em;
}
.price-old {
  font-size: 14px;
  color: var(--stone);
  text-decoration: line-through;
  font-weight: 600;
}
.product-add {
  margin-top: 14px;
  width: 100%;
  padding: 12px;
  background: var(--ink);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
}
.product-add:hover { background: var(--red); }

/* ─── CATEGORY GRID (bento-style) ──────────────────────────────────────── */
.category-bento {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
  height: 500px;
}
.bento-card {
  background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
  border-radius: var(--radius);
  padding: 32px;
  color: white;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: 0.3s;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.bento-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -15px rgba(0,0,0,0.3); }
.bento-big { grid-row: 1 / 3; background: linear-gradient(135deg, var(--red) 0%, var(--red-deep) 100%); }
.bento-card:nth-child(2) { background: linear-gradient(135deg, #0f766e 0%, #134e4a 100%); }
.bento-card:nth-child(3) { background: linear-gradient(135deg, #7c2d12 0%, #431407 100%); }
.bento-card:nth-child(4) { background: linear-gradient(135deg, #4338ca 0%, #312e81 100%); }
.bento-card:nth-child(5) { background: linear-gradient(135deg, #b45309 0%, #78350f 100%); }
.bento-card h3 {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 8px;
}
.bento-big h3 { font-size: 48px; }
.bento-card p {
  font-size: 14px;
  opacity: 0.8;
  font-weight: 500;
}
.bento-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 13px;
  padding: 10px 18px;
  background: rgba(255,255,255,0.15);
  border-radius: 100px;
  backdrop-filter: blur(10px);
  width: fit-content;
  border: 1px solid rgba(255,255,255,0.2);
}
.bento-card-count {
  position: absolute;
  top: 24px; right: 24px;
  background: rgba(0,0,0,0.3);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  backdrop-filter: blur(10px);
}
.bento-deco {
  position: absolute;
  bottom: -20px; right: -20px;
  font-size: 200px;
  opacity: 0.1;
  font-weight: 900;
  line-height: 0.8;
}

/* ─── ROOM VISUALIZER ──────────────────────────────────────────────────── */
.visualizer-block {
  background: linear-gradient(135deg, #0B1220 0%, #1A2234 100%);
  border-radius: var(--radius);
  padding: 60px;
  color: white;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.visualizer-block::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 60%; height: 100%;
  background: radial-gradient(circle at 30% 50%, rgba(255,193,7,0.15), transparent 60%);
  pointer-events: none;
}
.viz-content { position: relative; z-index: 2; }
.viz-tag {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(255,193,7,0.15);
  color: var(--accent);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.viz-title {
  font-size: 44px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.viz-desc {
  font-size: 16px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 32px;
  line-height: 1.6;
}
.viz-features { display: grid; gap: 16px; margin-bottom: 32px; }
.viz-feat {
  display: flex;
  gap: 14px;
  padding: 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(10px);
}
.viz-feat-icon {
  width: 40px; height: 40px;
  background: rgba(255,193,7,0.1);
  border: 1px solid rgba(255,193,7,0.3);
  border-radius: var(--radius-sm);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.viz-feat-text { font-size: 14px; }
.viz-feat-text strong { display: block; margin-bottom: 4px; font-weight: 700; }
.viz-feat-text span { color: rgba(255,255,255,0.6); font-size: 13px; }

.room-demo {
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.1);
}
.room-walls {
  position: absolute; inset: 0;
  background: #E30613;
  transition: background 0.6s cubic-bezier(0.4,0,0.2,1);
}
.room-floor {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 30%;
  background: linear-gradient(180deg, #78350f, #451a03);
}
.room-window {
  position: absolute;
  top: 18%; right: 12%;
  width: 28%; aspect-ratio: 3/4;
  background: linear-gradient(135deg, #b8d4e8, #7fa8c4);
  border: 4px solid var(--ink);
  border-radius: 4px;
}
.room-window::before, .room-window::after {
  content: ''; position: absolute; background: var(--ink);
}
.room-window::before { left: 50%; top: 0; bottom: 0; width: 3px; transform: translateX(-50%); }
.room-window::after { left: 0; right: 0; top: 50%; height: 3px; transform: translateY(-50%); }
.room-sofa {
  position: absolute;
  bottom: 8%; left: 8%;
  width: 45%; height: 24%;
  background: linear-gradient(180deg, #111827, #030712);
  border-radius: 12px 12px 4px 4px;
}
.room-plant {
  position: absolute;
  bottom: 12%; right: 6%;
  width: 10%; aspect-ratio: 1/2.5;
  background: radial-gradient(ellipse at top, #16a34a 15%, transparent 45%),
              linear-gradient(180deg, transparent 50%, #92400e 50%);
}
.color-picker {
  position: absolute;
  bottom: 16px; left: 16px; right: 16px;
  background: rgba(11,18,32,0.9);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 14px;
  border-radius: var(--radius-sm);
  display: flex; gap: 10px; overflow-x: auto;
}
.swatch {
  width: 44px; height: 44px;
  border-radius: 12px;
  cursor: pointer;
  flex-shrink: 0;
  border: 3px solid transparent;
  transition: 0.2s;
  position: relative;
}
.swatch:hover { transform: scale(1.08); }
.swatch.active {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(255,193,7,0.3);
}

/* ─── CALCULATOR ──────────────────────────────────────────────────────── */
.calc-block {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 480px;
}
.calc-left { padding: 48px; background: var(--mist); }
.calc-tag {
  display: inline-block;
  padding: 6px 14px;
  background: var(--ink);
  color: var(--accent);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.calc-left h3 {
  font-size: 32px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}
.calc-left > p {
  color: var(--stone);
  margin-bottom: 32px;
  font-size: 14px;
}
.calc-field { margin-bottom: 18px; }
.calc-field label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 8px;
}
.calc-field input,
.calc-field select {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid var(--border);
  background: white;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: inherit;
  font-weight: 700;
  transition: 0.2s;
  color: var(--ink);
}
.calc-field input:focus,
.calc-field select:focus {
  outline: none;
  border-color: var(--red);
}
.calc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.calc-coats { display: flex; gap: 8px; }
.coat-btn {
  flex: 1; padding: 14px;
  border: 1.5px solid var(--border);
  background: white;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s;
  border-radius: var(--radius-sm);
  font-family: inherit;
}
.coat-btn.active {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}

.calc-right {
  padding: 48px;
  background: linear-gradient(135deg, var(--ink) 0%, var(--ink-soft) 100%);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.calc-right::before {
  content: '';
  position: absolute;
  top: -30%; right: -20%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(227,6,19,0.3) 0%, transparent 60%);
}
.calc-result-label {
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 16px;
  position: relative;
}
.calc-result-big {
  font-size: 96px;
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 0.9;
  position: relative;
}
.calc-result-big span {
  font-size: 24px;
  color: rgba(255,255,255,0.5);
  margin-left: 8px;
  font-weight: 700;
}
.calc-breakdown {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: grid;
  gap: 12px;
  position: relative;
}
.calc-row-b {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 600;
}
.calc-row-b span:first-child { color: rgba(255,255,255,0.6); }
.calc-tip {
  margin-top: 28px;
  padding: 14px 16px;
  background: rgba(255,193,7,0.1);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-xs);
  font-size: 13px;
  line-height: 1.5;
  position: relative;
}

/* ─── FOOTER ────────────────────────────────────────────────────────────── */
footer {
  margin-top: 100px;
  background: var(--ink);
  color: white;
  padding: 60px 40px 24px;
}
.footer-inner {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-col h4 {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
  font-weight: 700;
}
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: 0.2s;
}
.footer-col a:hover { color: white; }
.footer-col p {
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  line-height: 1.7;
  margin-top: 12px;
}
.footer-logo {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.footer-logo strong { color: var(--red); }
.footer-bottom {
  max-width: 1440px;
  margin: 24px auto 0;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}

/* Responsive */
@media (max-width: 1100px) {
  .main-container { grid-template-columns: 1fr; }
  .aside-menu { display: none; }
  .products { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  nav { display: none; }
  .hero-slider, .visualizer-block, .calc-block { grid-template-columns: 1fr; gap: 32px; padding: 32px; }
  .hero-visual { height: 280px; }
  .products { grid-template-columns: repeat(2, 1fr); }
  .category-bento { grid-template-columns: 1fr 1fr; grid-template-rows: auto; height: auto; }
  .bento-big { grid-row: auto; }
  .promo-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .main-search { display: none; }
  .products { grid-template-columns: 1fr; }
  .category-bento { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}


/* ===== American Color WooCommerce + shared extras ===== */
body.woocommerce-page, body.woocommerce { background: var(--cream); }
.woocommerce .main-container, .ac-page .main-container { align-items: start; }
.woocommerce ul.products { display: grid !important; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 0; padding: 0; list-style: none; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none !important; content: none !important; }
.woocommerce ul.products li.product { width: auto !important; float: none !important; margin: 0 !important; }
.woocommerce a.added_to_cart { display: none; }
.woocommerce .button.product-add, .woocommerce a.button.add_to_cart_button, .woocommerce button.button.alt,
.woocommerce #place_order, .woocommerce .checkout-button, .woocommerce a.checkout-button {
  background: var(--ink) !important; color: #fff !important; border-radius: var(--radius-sm) !important;
  font-weight: 700 !important; border: 0 !important; font-family: inherit !important;
}
.woocommerce .button.product-add:hover, .woocommerce a.button.add_to_cart_button:hover,
.woocommerce button.button.alt:hover, .woocommerce #place_order:hover, .woocommerce .checkout-button:hover {
  background: var(--red) !important;
}
.woocommerce div.product { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.woocommerce div.product .woocommerce-product-gallery { width: 100% !important; float: none !important; }
.woocommerce div.product .summary { width: 100% !important; float: none !important; }
.woocommerce div.product .product_title { font-size: 32px; font-weight: 900; letter-spacing: -0.03em; }
.woocommerce div.product p.price { color: var(--red); font-weight: 900; font-size: 28px; }
.woocommerce .quantity .qty { border: 1.5px solid var(--border); border-radius: 12px; padding: 10px 12px; }
.woocommerce-message, .woocommerce-info { border-top-color: var(--red); border-radius: var(--radius-sm); }
.woocommerce-cart-form, .cart-collaterals, .woocommerce-checkout .col2-set, .woocommerce-checkout-review-order {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px;
}
.woocommerce table.shop_table { border-radius: var(--radius-sm); }
.star-rating { color: #fbbf24; }
.ac-shop-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 28px; gap: 16px; }
.ac-shop-head h1 { font-size: clamp(28px, 3vw, 44px); font-weight: 900; letter-spacing: -0.03em; }
.woocommerce-result-count, .woocommerce-ordering select { font-family: inherit; font-weight: 600; }
.woocommerce-ordering select { border: 1.5px solid var(--ink); border-radius: var(--radius); padding: 10px 14px; }
.product-image img { width: 100%; height: 100%; object-fit: contain; }
.product-add.added { background: var(--green, #10B981) !important; }
.ac-breadcrumb { font-size: 13px; color: var(--stone); margin-bottom: 18px; }
.ac-breadcrumb a { color: var(--stone); }
.ac-breadcrumb a:hover { color: var(--red); }
.site-footer { /* already footer */ }
header.ac-header { /* namespace */ }
.woocommerce-page .main-container { margin-top: 24px; }
.woocommerce-checkout .form-row input, .woocommerce-checkout .form-row select, .woocommerce-checkout .form-row textarea {
  border: 1.5px solid var(--border) !important; border-radius: 12px !important; padding: 12px 14px !important; font-family: inherit !important;
}
.woocommerce-form-login, .woocommerce-form-register { background:#fff; border:1px solid var(--border); border-radius: var(--radius); padding: 32px; max-width: 480px; margin: 40px auto; }
.ac-empty { padding: 80px 20px; text-align: center; }
@media (max-width: 1100px) {
  .woocommerce ul.products { grid-template-columns: repeat(3, 1fr); }
  .woocommerce div.product { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .woocommerce ul.products { grid-template-columns: repeat(2, 1fr); }
  .topbar-left { display: none; }
  .header-inner { grid-template-columns: auto auto; gap: 12px; padding: 14px 16px; }
  .main-search { display: none; }
  .main-container { grid-template-columns: 1fr; padding: 0 16px; }
  .aside-menu { position: static; max-height: none; display: flex; overflow-x: auto; gap: 8px; }
  .aside-item { white-space: nowrap; }
  .aside-menu-title { display: none; }
}
