/* ============================================
   lukk.ee — premium design system v2
   ============================================ */
:root {
  --navy-900: #0a1628;
  --navy-800: #14233d;
  --navy-700: #1d3253;
  --navy-50:  #f3f6fb;

  --gold-500: #d4a017;
  --gold-600: #b8881a;
  --gold-100: #fbf3df;

  --bg:       #f7f8fa;
  --surface:  #ffffff;
  --text:     #0a1628;
  --text-muted: #6b7385;
  --border:   #e6e9ef;

  --success: #16a34a;
  --warning: #f59e0b;
  --danger:  #dc2626;

  --radius-sm: 6px;
  --radius:    10px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 2px rgba(10, 22, 40, 0.04), 0 1px 3px rgba(10, 22, 40, 0.06);
  --shadow:    0 4px 16px rgba(10, 22, 40, 0.08);
  --shadow-lg: 0 12px 40px rgba(10, 22, 40, 0.12);
  --shadow-gold: 0 8px 24px rgba(212, 160, 23, 0.35);

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; scroll-behavior: smooth; overflow-x: hidden; max-width: 100vw; }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video, iframe { max-width: 100%; }

a { color: var(--gold-600); text-decoration: none; transition: color .15s; }
a:hover { color: var(--gold-500); }

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 { margin: 0 0 .55em; font-weight: 700; color: var(--navy-900); letter-spacing: -0.01em; }
h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.15; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.2; }
h3 { font-size: 1.15rem; line-height: 1.35; }
p  { margin: 0 0 1em; color: #2c3a55; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 900px; margin: 0 auto; padding: 0 24px; }

/* ============================================
   HEADER
   ============================================ */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: saturate(180%) blur(6px);
  background: rgba(255, 255, 255, 0.92);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 28px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--navy-900);
  letter-spacing: -0.02em;
}
.logo:hover { color: var(--navy-900); }
.logo-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-900));
  border-radius: 10px;
  color: var(--gold-500);
}
.logo-text { font-weight: 800; }
.logo-text small {
  display: block;
  font-size: .65rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  gap: 28px;
  flex: 1;
  justify-content: center;
}
.main-nav a {
  position: relative;
  color: var(--text);
  font-weight: 500;
  padding: 8px 0;
  font-size: .95rem;
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--gold-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s;
}
.main-nav a:hover { color: var(--navy-900); }
.main-nav a:hover::after { transform: scaleX(1); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.header-phone {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: .95rem;
  color: var(--navy-900);
}
.header-phone:hover { color: var(--gold-600); }
.header-phone .icon { font-size: 1.1rem; }

.lang-switch { display: flex; gap: 2px; background: var(--navy-50); border-radius: 6px; padding: 2px; }
.lang-switch a {
  padding: 5px 9px;
  font-size: .8rem;
  font-weight: 700;
  color: var(--text-muted);
  border-radius: 4px;
  letter-spacing: 0.04em;
}
.lang-switch a.active { background: var(--surface); color: var(--navy-900); box-shadow: var(--shadow-sm); }

/* Hamburger button (mobile only) */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: 4px;
  position: relative;
  width: 40px; height: 40px;
}
.hamburger span {
  display: block;
  width: 22px; height: 2.5px;
  background: var(--navy-900);
  border-radius: 2px;
  margin: 5px auto;
  transition: all .25s ease;
}
.hamburger.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.cart-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--navy-900);
  color: #fff;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .92rem;
  transition: all .15s;
}
.cart-link:hover { background: var(--navy-800); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow); }
.cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  background: var(--gold-500);
  color: var(--navy-900);
  border-radius: 11px;
  font-size: .78rem;
  font-weight: 800;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all .18s cubic-bezier(.2,.7,.4,1);
  font-family: inherit;
  letter-spacing: 0.01em;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--gold-500);
  color: var(--navy-900);
  box-shadow: var(--shadow-gold);
}
.btn-primary:hover { background: var(--gold-600); color: var(--navy-900); }

.btn-dark { background: var(--navy-900); color: #fff; }
.btn-dark:hover { background: var(--navy-800); color: #fff; }

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

.btn-outline-light { background: transparent; border-color: rgba(255,255,255,0.4); color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,0.1); color: #fff; border-color: #fff; }

.btn-sm { padding: 9px 16px; font-size: .9rem; }
.btn-lg { padding: 18px 36px; font-size: 1.1rem; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none !important; }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 50%, var(--navy-700) 100%);
  color: #fff;
  padding: 90px 0 100px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 80% 20%, rgba(212, 160, 23, 0.15), transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(212, 160, 23, 0.08), transparent 50%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.025'%3E%3Cpath d='M0 38.59l2.83-2.83 1.41 1.41L1.41 40H0v-1.41zM0 1.4l2.83 2.83 1.41-1.41L1.41 0H0v1.41zM38.59 40l-2.83-2.83 1.41-1.41L40 38.59V40h-1.41zM40 1.41l-2.83 2.83-1.41-1.41L38.59 0H40v1.41z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: rgba(212, 160, 23, 0.15);
  border: 1px solid rgba(212, 160, 23, 0.4);
  color: var(--gold-500);
  border-radius: 100px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 22px;
}
.hero h1 .accent { color: var(--gold-500); }
.hero p.lead {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.18rem;
  line-height: 1.55;
  margin-bottom: 32px;
  max-width: 520px;
}
.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.hero-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 24px;
}
.hero-stat strong {
  display: block;
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--gold-500);
  line-height: 1;
}
.hero-stat span {
  font-size: .82rem;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.04em;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-key-svg {
  width: 100%;
  max-width: 420px;
  filter: drop-shadow(0 20px 40px rgba(212, 160, 23, 0.35));
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}

/* ============================================
   TRUST BAR (under hero)
   ============================================ */
.trust-bar {
  background: var(--surface);
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.trust-icon {
  flex-shrink: 0;
  width: 42px; height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-100);
  color: var(--gold-600);
  border-radius: 10px;
  font-size: 1.2rem;
}
.trust-text {
  font-size: .9rem;
  line-height: 1.3;
}
.trust-text strong { display: block; color: var(--navy-900); }
.trust-text span { color: var(--text-muted); font-size: .82rem; }

/* ============================================
   SECTIONS
   ============================================ */
section { padding: 70px 0; }
.section-title { text-align: center; }
.section-eyebrow {
  display: block;
  text-align: center;
  font-size: .82rem;
  font-weight: 700;
  color: var(--gold-600);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-sub {
  text-align: center;
  max-width: 580px;
  margin: 0 auto 50px;
  color: var(--text-muted);
  font-size: 1.05rem;
}
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 36px;
}
.section-header .section-title { text-align: left; margin: 0; }
.view-all {
  font-weight: 600;
  color: var(--navy-900);
  font-size: .95rem;
}
.view-all:hover { color: var(--gold-600); }

/* ============================================
   FEATURES (hub of trust on home)
   ============================================ */
.features { background: var(--surface); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.feature {
  text-align: center;
  padding: 28px 20px;
  border-radius: var(--radius);
  transition: all .25s;
}
.feature:hover {
  background: var(--navy-50);
  transform: translateY(-3px);
}
.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px; height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  color: var(--gold-500);
  font-size: 1.6rem;
  margin-bottom: 18px;
}
.feature h3 { margin-bottom: 8px; }
.feature p { color: var(--text-muted); font-size: .95rem; margin: 0; }

/* ============================================
   CATEGORIES (homepage tiles)
   ============================================ */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.category-card {
  display: block;
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  text-align: center;
  color: var(--navy-900);
  transition: all .2s cubic-bezier(.2,.7,.4,1);
  overflow: hidden;
}
.category-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s;
}
.category-card:hover {
  border-color: var(--navy-900);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
  color: var(--navy-900);
}
.category-card:hover::before { transform: scaleX(1); }
.category-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px; height: 72px;
  background: var(--navy-50);
  border-radius: 18px;
  margin-bottom: 14px;
  color: var(--navy-900);
}
.category-icon svg { width: 38px; height: 38px; }
.category-card h3 { margin: 0; font-size: 1.02rem; line-height: 1.3; }

/* ============================================
   PRODUCT CARDS
   ============================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.product-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all .2s cubic-bezier(.2,.7,.4,1);
}
.product-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
  border-color: var(--navy-700);
}
.product-link { text-decoration: none; color: inherit; display: block; }
.product-image {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--navy-50);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.product-image img {
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 22px;
  transition: transform .35s ease;
}
.product-card:hover .product-image img { transform: scale(1.06); }
.badge {
  position: absolute;
  top: 12px;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.badge-sale     { left: 12px; background: var(--gold-500);   color: var(--navy-900); }
.badge-new      { left: 12px; background: var(--success);     color: #fff; }
.badge-featured { left: 12px; background: var(--navy-900);    color: var(--gold-500); }
.badge-out      { left: 12px; background: rgba(0,0,0,0.5);    color: #fff; }
.badge-brand    { right: 12px; top: 12px; background: rgba(255,255,255,0.95); color: var(--navy-900); }

.product-name {
  padding: 14px 16px 0;
  font-size: 1rem;
  margin: 0;
  font-weight: 600;
  color: var(--navy-900);
  min-height: 2.85em;
  line-height: 1.35;
}
.product-attrs {
  padding: 4px 16px 0;
  font-size: .8rem;
  color: var(--text-muted);
  min-height: 1.3em;
}
.product-footer {
  padding: 14px 16px 16px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: auto;
  gap: 10px;
}
.product-price { display: flex; flex-direction: column; line-height: 1.2; }
.price-old {
  font-size: .85rem;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-bottom: 2px;
}
.price-current {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy-900);
}

/* ============================================
   BANNER PROMO (between sections)
   ============================================ */
.banner-promo {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 50px;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.banner-promo::before {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(212, 160, 23, 0.2), transparent 60%);
  border-radius: 50%;
}
.banner-promo h2 { color: #fff; font-size: 2rem; }
.banner-promo p { color: rgba(255, 255, 255, 0.8); margin-bottom: 20px; }
.banner-promo .btn { position: relative; z-index: 1; }

/* ============================================
   CATALOG / FILTERS
   ============================================ */
.catalog-page-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 36px 0 28px;
}
.catalog-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 36px;
  padding: 36px 0;
}
.catalog-sidebar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  height: fit-content;
  position: sticky;
  top: 96px;
}
.catalog-sidebar h3 {
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gold-500);
  font-size: .85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.cat-list { list-style: none; padding: 0; margin: 0; }
.cat-list li { margin-bottom: 4px; }
.cat-list a {
  display: block;
  padding: 9px 12px;
  border-radius: 8px;
  color: var(--text);
  font-size: .95rem;
  transition: all .15s;
}
.cat-list a:hover { background: var(--navy-50); color: var(--navy-900); }
.cat-list a.active {
  background: var(--navy-900);
  color: #fff;
  font-weight: 600;
}

/* ============================================
   PRODUCT DETAIL
   ============================================ */
.breadcrumb-bar {
  font-size: .88rem;
  color: var(--text-muted);
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.breadcrumb-bar a { color: var(--text-muted); }
.breadcrumb-bar a:hover { color: var(--navy-900); }
.product-detail {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 50px;
  padding: 40px 0 30px;
}
.product-detail-image {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.product-detail-image img { width: 100%; height: 100%; object-fit: contain; padding: 40px; }
.product-detail-info { padding-top: 8px; }
.product-detail-info h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 12px; }
.product-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  background: var(--navy-50);
  border-radius: 100px;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--navy-900);
  margin-bottom: 14px;
  text-transform: uppercase;
}
.product-sku { color: var(--text-muted); font-size: .88rem; margin-bottom: 12px; }
.product-detail-price {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--navy-900);
  margin: 22px 0;
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 14px;
}
.product-detail-price .price-old {
  font-size: 1.3rem;
  margin: 0;
  font-weight: 500;
}
.product-meta {
  margin: 22px 0;
  padding: 0;
  background: transparent;
}
.product-meta-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  font-size: .95rem;
}
.product-meta-row + .product-meta-row { border-top: 1px solid var(--border); }
.product-install-box {
  margin-top: 18px;
  padding: 18px;
  background: var(--gold-100);
  border-left: 4px solid var(--gold-500);
  border-radius: var(--radius);
}
.product-stock-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: rgba(22, 163, 74, 0.12);
  color: var(--success);
  border-radius: 100px;
  font-size: .82rem;
  font-weight: 600;
}
.product-stock-pill::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--success);
}

.specs-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin: 36px 0;
}
.specs-card h2 { margin: 0 0 18px; font-size: 1.25rem; }
.specs-card table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.specs-card table tr { border-bottom: 1px solid var(--border); }
.specs-card table tr:last-child { border-bottom: none; }
.specs-card table td { padding: 11px 0; }
.specs-card table td:first-child { color: var(--text-muted); width: 45%; }
.specs-card table td:last-child  { font-weight: 500; color: var(--navy-900); }

/* ============================================
   CART
   ============================================ */
.cart-empty-state {
  text-align: center;
  padding: 80px 20px;
  background: var(--surface);
  border-radius: var(--radius-lg);
}
.cart-empty-state .empty-icon { font-size: 4.5rem; margin-bottom: 18px; opacity: 0.4; }
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 28px;
}
.cart-items {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.cart-item {
  display: grid;
  grid-template-columns: 88px 1fr auto auto auto;
  gap: 18px;
  padding: 18px;
  align-items: center;
}
.cart-item + .cart-item { border-top: 1px solid var(--border); }
.cart-item-image {
  width: 88px; height: 88px;
  background: var(--navy-50);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cart-item-image img { width: 100%; height: 100%; object-fit: contain; padding: 10px; }
.cart-item-info h4 { margin: 0 0 4px; font-size: 1rem; color: var(--navy-900); }
.cart-item-install {
  font-size: .82rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
}
.qty-control {
  display: flex;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--navy-50);
}
.qty-control button {
  width: 32px; height: 34px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy-900);
}
.qty-control button:hover { background: var(--border); }
.qty-control input {
  width: 44px;
  text-align: center;
  border: none;
  background: transparent;
  font-weight: 700;
}
.cart-item-price {
  font-weight: 700;
  color: var(--navy-900);
  min-width: 80px;
  text-align: right;
  font-size: 1.05rem;
}
.cart-item-remove {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1.2rem;
  padding: 6px 10px;
  border-radius: 6px;
}
.cart-item-remove:hover { color: var(--danger); background: rgba(220, 38, 38, 0.08); }
.cart-summary {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  height: fit-content;
  position: sticky;
  top: 96px;
}
.cart-summary h3 {
  padding-bottom: 14px;
  border-bottom: 2px solid var(--gold-500);
  margin-bottom: 14px;
  font-size: .85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 9px 0;
  font-size: .95rem;
}
.summary-row.total {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 2px solid var(--navy-900);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--navy-900);
}

/* ============================================
   CHECKOUT
   ============================================ */
.checkout-form { display: grid; gap: 18px; }
.form-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}
.form-section h3 {
  margin: 0 0 16px;
  font-size: .85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-weight: 600;
  font-size: .88rem;
  color: var(--navy-900);
}
.form-group label .req { color: var(--gold-600); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  background: var(--surface);
  transition: all .15s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--navy-900);
  box-shadow: 0 0 0 3px rgba(10, 22, 40, 0.08);
}
.form-check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all .15s;
  background: var(--surface);
}
.form-check input { margin-top: 3px; }
.form-check:hover { border-color: var(--navy-700); background: var(--navy-50); }
.form-check input:checked + span { color: var(--navy-900); }
.form-check:has(input:checked) { border-color: var(--navy-900); background: var(--navy-50); }
.payment-options { display: grid; gap: 10px; }

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.7);
  margin-top: 80px;
  padding: 70px 0 30px;
  position: relative;
}
.site-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--gold-500), transparent);
}
.site-footer a {
  color: rgba(255, 255, 255, 0.7);
  display: block;
  padding: 5px 0;
  font-size: .94rem;
}
.site-footer a:hover { color: var(--gold-500); }
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 50px;
  margin-bottom: 40px;
}
.footer-col h4 {
  color: #fff;
  margin-bottom: 18px;
  font-size: .82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.footer-brand .logo-text { color: #fff; }
.footer-about {
  color: rgba(255, 255, 255, 0.55);
  font-size: .92rem;
  line-height: 1.6;
  margin-top: 8px;
  margin-bottom: 16px;
}
.footer-payment-badges {
  display: flex;
  gap: 10px;
  margin-top: 18px;
  flex-wrap: wrap;
}
.payment-badge {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 6px 10px;
  border-radius: 6px;
  font-size: .74rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
}
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  color: rgba(255, 255, 255, 0.4);
  font-size: .85rem;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-visual { order: -1; }
  .hero-key-svg { max-width: 220px; }
  .hero-cta { justify-content: center; }
  .hero-stats { justify-content: center; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .product-detail,
  .catalog-layout,
  .cart-layout,
  .banner-promo { grid-template-columns: 1fr; }
  .features-grid, .categories-grid, .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; gap: 30px; }

  /* Hamburger menu */
  .hamburger { display: block; }
  .header-phone { display: none; }
  .header-inner { height: 64px; gap: 10px; }
  .logo-text small { display: none; }
  .logo-text { font-size: 1.2rem; }
  .lang-switch a { padding: 4px 6px; font-size: .72rem; }
  .cart-link { padding: 8px 10px; gap: 4px; }
  .main-nav {
    position: fixed;
    top: 64px;
    left: 0; right: 0;
    bottom: 0;
    background: var(--surface);
    flex-direction: column;
    justify-content: flex-start;
    padding: 24px;
    gap: 0;
    transform: translateX(100%);
    transition: transform .25s ease;
    z-index: 99;
    overflow-y: auto;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav a {
    padding: 16px 0;
    font-size: 1.1rem;
    border-bottom: 1px solid var(--border);
    width: 100%;
  }
  .main-nav a::after { display: none; }

  .form-row { grid-template-columns: 1fr; }
  .catalog-sidebar { position: static; }
  section { padding: 40px 0; }
  .container { padding: 0 16px; }
  .hero { padding: 32px 0 40px; }
  .hero h1 { font-size: 1.7rem; }
  .hero p.lead { font-size: .98rem; }
  .hero-cta { flex-direction: column; gap: 10px; }
  .hero-cta .btn { width: 100%; min-width: 0; padding: 13px 18px; font-size: .98rem; }
  .hero-stats { gap: 14px; }
  .hero-stat strong { font-size: 1.4rem; }
  .hero-key-svg { max-width: 170px; }
  .hero-eyebrow { font-size: .72rem; padding: 5px 11px; }
  .banner-promo { padding: 24px 18px; }
  .product-detail { gap: 24px; padding: 24px 0; }
  .product-detail-info h1 { font-size: 1.4rem; }
  .product-detail-price { font-size: 1.7rem; }
  .cart-summary, .catalog-sidebar { position: static; }
  .form-section { padding: 16px; }
  .cart-item { padding: 14px; gap: 12px; }
  .feature { padding: 18px 12px; }
  .feature h3 { font-size: 1rem; }
  .feature p { font-size: .88rem; }
  .features-grid { gap: 12px; }
  .trust-grid { gap: 12px; }
  .trust-text { font-size: .82rem; }
  .trust-text span { font-size: .75rem; }
}
@media (max-width: 500px) {
  .features-grid, .categories-grid, .trust-grid, .products-grid { grid-template-columns: 1fr; }
  .cart-item { grid-template-columns: 60px 1fr; grid-template-rows: auto auto; }
  .cart-item-price { grid-column: 2; text-align: left; }
  .hero-stat strong { font-size: 1.4rem; }
}

/* ============================================
   MESSAGES & TOAST
   ============================================ */
.message {
  padding: 14px 18px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  font-size: .95rem;
}
.message-success { background: #d1fae5; color: #064e3b; border: 1px solid #6ee7b7; }
.message-error   { background: #fee2e2; color: #7f1d1d; border: 1px solid #fca5a5; }
.message-info    { background: #dbeafe; color: #1e3a8a; border: 1px solid #93c5fd; }

#toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--navy-900);
  color: #fff;
  padding: 14px 22px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  transform: translateY(100px);
  opacity: 0;
  transition: all .25s cubic-bezier(.2,.7,.4,1);
  z-index: 1000;
  pointer-events: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}
#toast::before {
  content: '✓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  background: var(--gold-500);
  color: var(--navy-900);
  border-radius: 50%;
  font-weight: 800;
  font-size: .8rem;
}
#toast.show { transform: translateY(0); opacity: 1; }

/* ============================================
   SCROLL REVEAL
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
