/* ═══════════════════════════════════════════
   BAIA HOLDING — Main Stylesheet
   ═══════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Nunito+Sans:wght@300;400;500;600;700&display=swap');

/* ─── Reset & Variables ─── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --gold: #C9A96E;
  --gold-light: #E8D5A8;
  --gold-dark: #8B7340;
  --charcoal: #1A1A1A;
  --warm-white: #FAF8F5;
  --cream: #F5F0E8;
  --text: #2D2D2D;
  --text-light: #8A8A8A;
  --border: #E5E0D8;
  --danger: #D64545;
  --success: #2D8B55;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.12);
  --radius: 16px;
  --radius-sm: 10px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Nunito Sans', -apple-system, sans-serif;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--warm-white);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 500; line-height: 1.2; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: var(--font-body); }

/* ─── Utility ─── */
.container { max-width: 1320px; margin: 0 auto; padding: 0 32px; }
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 40px; }
.mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; } .mb-4 { margin-bottom: 40px; }

/* ─── Animations ─── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes scaleIn { from { transform: scale(0.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }

.fade-up { animation: fadeUp 0.7s var(--ease) both; }
.fade-in { animation: fadeIn 0.5s var(--ease) both; }

/* ─── Buttons ─── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 36px; border-radius: 50px; font-size: 13px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase; border: none;
  transition: all 0.4s var(--ease); position: relative; overflow: hidden;
}
.btn::after {
  content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}
.btn:hover::after { left: 100%; }

.btn-primary {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-light));
  color: #fff;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(201,169,110,0.4); }

.btn-outline {
  background: transparent; color: var(--gold); border: 2px solid var(--gold);
}
.btn-outline:hover { background: var(--gold); color: #fff; transform: translateY(-2px); }

.btn-white {
  background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.4);
}
.btn-white:hover { background: rgba(255,255,255,0.15); }

.btn-danger { background: var(--danger); color: #fff; }
.btn-sm { padding: 10px 22px; font-size: 12px; }

/* ─── Section Titles ─── */
.section { padding: 120px 0; }
.section-label {
  font-size: 12px; font-weight: 600; letter-spacing: 4px; text-transform: uppercase;
  color: var(--gold); text-align: center; margin-bottom: 12px;
}
.section-title {
  font-size: clamp(32px, 5vw, 56px); font-weight: 400; text-align: center;
  color: var(--charcoal); margin-bottom: 8px;
}
.section-line {
  width: 80px; height: 2px; margin: 20px auto 48px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* ─── Header ─── */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 20px 0; transition: all 0.4s var(--ease);
}
.header.scrolled {
  background: rgba(255,255,255,0.97); backdrop-filter: blur(20px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.06); padding: 12px 0;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 12px; cursor: pointer; }
.logo-icon {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-family: var(--font-heading); font-size: 20px; font-weight: 700;
}
.logo-text { font-family: var(--font-heading); font-size: 20px; font-weight: 600; }
.logo-sub { font-size: 9px; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); }

.header:not(.scrolled) .logo-text { color: #fff; text-shadow: 0 2px 8px rgba(0,0,0,0.3); }
.header:not(.scrolled) .logo-sub { color: var(--gold-light); }
.header.scrolled .logo-text { color: var(--charcoal); }

.nav { display: flex; align-items: center; gap: 32px; }
.nav-link {
  background: none; border: none; font-size: 12px; font-weight: 500;
  letter-spacing: 2px; text-transform: uppercase; padding: 8px 0;
  position: relative; transition: color 0.3s;
}
.header:not(.scrolled) .nav-link { color: rgba(255,255,255,0.85); }
.header.scrolled .nav-link { color: var(--text); }
.nav-link:hover, .nav-link.active { color: var(--gold) !important; }
.nav-link.active::after {
  content: ''; position: absolute; bottom: 0; left: 25%; width: 50%; height: 2px;
  background: var(--gold); border-radius: 1px;
}

.header-actions { display: flex; align-items: center; gap: 12px; }
.cart-btn {
  background: none; border: none; position: relative; padding: 8px;
}
.cart-btn svg { transition: all 0.3s; }
.header:not(.scrolled) .cart-btn svg { stroke: #fff; }
.header.scrolled .cart-btn svg { stroke: var(--charcoal); }
.cart-badge {
  position: absolute; top: 0; right: 0; width: 20px; height: 20px;
  background: var(--danger); color: #fff; border-radius: 50%;
  font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center;
  animation: scaleIn 0.3s var(--ease);
}

/* ─── Hero ─── */
.hero {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(26,26,26,0.88) 0%, rgba(26,26,26,0.55) 50%, rgba(100,80,50,0.35) 100%),
              linear-gradient(45deg, #1A1A1A, #3A2A1A, #5A4A3A, #8B7355);
  position: relative; overflow: hidden; text-align: center; color: #fff;
}
.hero-pattern {
  position: absolute; inset: 0; opacity: 0.3;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 40h80M40 0v80' stroke='%23C9A96E' stroke-width='0.3'/%3E%3C/svg%3E");
}
.hero-content { position: relative; z-index: 2; max-width: 860px; padding: 100px 24px 0; }
.hero-label {
  font-size: 13px; letter-spacing: 8px; text-transform: uppercase;
  color: var(--gold-light); margin-bottom: 28px; font-weight: 300;
}
.hero-title {
  font-size: clamp(42px, 8vw, 82px); font-weight: 400; line-height: 1.08;
  margin-bottom: 28px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-light), var(--gold));
  background-size: 200% 100%; -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  animation: shimmer 4s ease-in-out infinite;
}
.hero-desc {
  font-size: 18px; color: rgba(255,255,255,0.65); max-width: 580px;
  margin: 0 auto 48px; font-weight: 300; line-height: 1.8;
}
.hero-buttons { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 64px; justify-content: center; margin-top: 80px; padding-bottom: 80px;
}
.hero-stat-num {
  font-size: 40px; font-family: var(--font-heading); font-weight: 600; color: var(--gold);
}
.hero-stat-label {
  font-size: 12px; color: rgba(255,255,255,0.45); letter-spacing: 2px; text-transform: uppercase;
}

/* ─── Cards ─── */
.card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: all 0.4s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

/* ─── Product Card ─── */
.product-card { position: relative; }
.product-card-img {
  height: 260px; overflow: hidden; position: relative;
  display: flex; align-items: center; justify-content: center;
  background: var(--cream);
}
.product-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.product-card:hover .product-card-img img { transform: scale(1.06); }
.product-badge {
  position: absolute; top: 16px; left: 16px; padding: 5px 14px; border-radius: 20px;
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: #fff;
}
.product-badge.hit { background: #FF6B35; }
.product-badge.new { background: var(--success); }
.product-badge.premium { background: linear-gradient(135deg, var(--gold-dark), var(--gold)); }
.product-badge.sale { background: var(--danger); }
.product-card-overlay {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 16px;
  background: linear-gradient(transparent, rgba(0,0,0,0.55));
  transform: translateY(100%); transition: transform 0.4s var(--ease);
  display: flex; justify-content: center;
}
.product-card:hover .product-card-overlay { transform: translateY(0); }
.product-card-body { padding: 20px 24px; }
.product-card-rating { color: #F59E0B; font-size: 13px; letter-spacing: 2px; margin-bottom: 8px; }
.product-card-rating span { color: var(--text-light); font-size: 12px; letter-spacing: 0; margin-left: 6px; }
.product-card-name { font-size: 17px; font-weight: 500; margin-bottom: 6px; line-height: 1.3; }
.product-card-meta { font-size: 12px; color: var(--text-light); margin-bottom: 14px; }
.product-card-price { font-size: 22px; font-weight: 800; color: var(--charcoal); }
.product-card-oldprice {
  font-size: 14px; color: var(--danger); text-decoration: line-through; margin-left: 10px; font-weight: 400;
}

/* ─── Grid Layouts ─── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; }

/* ─── Advantages ─── */
.advantages-section {
  background: var(--cream);
}
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.advantage-item {
  background: #fff;
  padding: 40px 32px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s var(--ease);
  border: 1px solid transparent;
}
.advantage-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-light);
}
.advantage-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  background: linear-gradient(135deg, rgba(201,169,110,0.1), rgba(201,169,110,0.05));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-dark);
}
.advantage-icon svg {
  width: 32px;
  height: 32px;
}
.advantage-title {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--charcoal);
}
.advantage-desc {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.7;
}

/* ─── Categories ─── */
.category-card { cursor: pointer; }
.category-card-img {
  height: 200px; background: var(--charcoal);
  display: flex; align-items: center; justify-content: center; position: relative;
}
.category-card-img .cat-icon { font-size: 60px; filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3)); }
.category-card-body { padding: 20px 24px; }
.category-card-body h3 { font-size: 19px; margin-bottom: 4px; }
.category-card-body p { font-size: 13px; color: var(--text-light); }

/* ─── Process ─── */
.process-section { background: var(--charcoal); color: #fff; position: relative; overflow: hidden; }
.process-card {
  text-align: center; padding: 36px; border-radius: var(--radius);
  background: rgba(255,255,255,0.04); border: 1px solid rgba(201,169,110,0.12);
  transition: all 0.4s var(--ease);
}
.process-card:hover { background: rgba(201,169,110,0.08); border-color: var(--gold); }
.process-icon { font-size: 44px; margin-bottom: 14px; }
.process-num { font-size: 48px; font-family: var(--font-heading); font-weight: 300; color: var(--gold); opacity: 0.35; }
.process-title { font-size: 19px; margin: 8px 0 12px; }
.process-desc { color: rgba(255,255,255,0.55); font-size: 14px; line-height: 1.7; }

/* ─── Reviews ─── */
.review-box {
  padding: 52px 44px; background: var(--cream); border-radius: var(--radius);
  max-width: 780px; margin: 0 auto; text-align: center; position: relative;
}
.review-quote { font-size: 60px; color: var(--gold); opacity: 0.3; line-height: 1; margin-bottom: 12px; }
.review-text { font-size: 18px; font-style: italic; line-height: 1.8; margin-bottom: 24px; font-weight: 300; }
.review-stars { color: #F59E0B; font-size: 20px; letter-spacing: 3px; margin-bottom: 16px; }
.review-name { font-weight: 700; font-size: 16px; }
.review-role { color: var(--gold); font-size: 13px; margin-top: 4px; }
.review-dots { display: flex; gap: 10px; justify-content: center; margin-top: 28px; }
.review-dot {
  width: 12px; height: 12px; border-radius: 6px; border: none;
  background: var(--border); transition: all 0.4s; cursor: pointer;
}
.review-dot.active { width: 40px; background: var(--gold); }

/* ─── CTA ─── */
.cta-section {
  padding: 100px 32px; text-align: center; position: relative; overflow: hidden;
  background: linear-gradient(135deg, #2A1A0A, #4A3020, #6A5040);
}
.cta-section h2 {
  font-size: clamp(28px, 5vw, 46px); color: #fff; font-weight: 400;
  margin-bottom: 16px; line-height: 1.3;
}
.cta-section p { color: rgba(255,255,255,0.65); font-size: 16px; margin-bottom: 40px; line-height: 1.7; }

/* ─── Gallery ─── */
.gallery-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 220px 220px; gap: 16px;
}
.gallery-item {
  border-radius: var(--radius); overflow: hidden; position: relative;
  display: flex; align-items: flex-end; justify-content: center;
  padding: 20px; cursor: pointer; transition: transform 0.4s;
}
.gallery-item:first-child { grid-column: span 2; grid-row: span 2; }
.gallery-item:hover { transform: scale(1.02); }
.gallery-item::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 50%;
  background: linear-gradient(transparent, rgba(0,0,0,0.5));
}
.gallery-label {
  position: relative; z-index: 2; color: #fff; font-family: var(--font-heading);
  font-size: 20px; text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* ─── Contact ─── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-item {
  display: flex; align-items: center; gap: 16px; padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.contact-item-icon { font-size: 24px; }
.contact-item-text { font-size: 15px; }

.form-group { margin-bottom: 16px; }
.form-label { display: block; font-size: 12px; color: var(--text-light); margin-bottom: 6px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }
.form-input, .form-textarea, .form-select {
  width: 100%; padding: 14px 18px; border: 1px solid var(--border); border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 14px; background: #fff;
  transition: all 0.3s var(--ease); outline: none;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,169,110,0.12);
}
.form-textarea { resize: vertical; min-height: 100px; }

/* ─── Footer ─── */
.footer { background: var(--charcoal); color: rgba(255,255,255,0.6); padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; }
.footer-heading {
  color: var(--gold); font-size: 12px; letter-spacing: 3px; text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-link { display: block; padding: 5px 0; font-size: 13px; transition: color 0.3s; cursor: pointer; }
.footer-link:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08); margin-top: 48px; padding-top: 24px;
  text-align: center; font-size: 12px;
}

/* ─── Cart Sidebar ─── */
.cart-overlay {
  position: fixed; inset: 0; background: rgba(26,26,26,0.6); backdrop-filter: blur(8px);
  z-index: 1000; opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.cart-overlay.open { opacity: 1; pointer-events: all; }
.cart-sidebar {
  position: fixed; right: -500px; top: 0; bottom: 0; width: min(480px, 94vw);
  background: #fff; box-shadow: -12px 0 60px rgba(0,0,0,0.2);
  z-index: 1001; display: flex; flex-direction: column;
  transition: right 0.4s var(--ease);
}
.cart-sidebar.open { right: 0; }
.cart-header {
  padding: 28px 32px;
  background: var(--charcoal);
  color: #fff;
  display: flex; justify-content: space-between; align-items: center;
}
.cart-header h3 {
  font-size: 20px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 12px;
}
.cart-header h3::before {
  content: '';
  width: 32px; height: 32px;
  background: var(--gold);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}
.cart-close {
  background: rgba(255,255,255,0.1);
  border: none;
  width: 40px; height: 40px;
  border-radius: 10px;
  font-size: 24px;
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  transition: all 0.3s;
}
.cart-close:hover { background: rgba(255,255,255,0.2); color: #fff; }
.cart-body { flex: 1; overflow-y: auto; padding: 24px 32px; background: #FAFAF8; }
.cart-empty {
  text-align: center;
  padding: 80px 20px;
  color: var(--text-light);
}
.cart-empty-icon {
  width: 80px; height: 80px;
  background: var(--cream);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  font-size: 36px;
}
.cart-empty p { font-size: 15px; }
.cart-item {
  display: flex;
  gap: 16px;
  padding: 20px;
  margin-bottom: 12px;
  background: #fff;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: all 0.3s;
}
.cart-item:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.08); }
.cart-item-img {
  width: 80px; height: 80px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--cream), #E8E4DC);
}
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.cart-item-name {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--charcoal);
  line-height: 1.3;
}
.cart-item-price {
  font-size: 18px;
  font-weight: 800;
  color: var(--gold-dark);
  font-family: var(--font-heading);
}
.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}
.cart-item-qty button {
  width: 32px; height: 32px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #fff;
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}
.cart-item-qty button:hover {
  border-color: var(--gold);
  background: var(--cream);
}
.cart-item-qty span {
  min-width: 28px;
  text-align: center;
  font-weight: 700;
  font-size: 15px;
}
.cart-item-remove {
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 22px;
  padding: 8px;
  cursor: pointer;
  transition: color 0.2s;
  align-self: flex-start;
}
.cart-item-remove:hover { color: var(--danger); }
.cart-footer {
  padding: 28px 32px;
  background: #fff;
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.04);
}
.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.cart-total-label {
  font-size: 14px;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.cart-total-value {
  font-size: 28px;
  font-weight: 800;
  color: var(--charcoal);
  font-family: var(--font-heading);
}

/* ─── Modal ─── */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.55); backdrop-filter: blur(6px);
  z-index: 2000; display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal {
  background: #fff; border-radius: var(--radius); width: min(620px, 92vw);
  max-height: 92vh; overflow-y: auto; padding: 40px;
  box-shadow: var(--shadow-lg); transform: scale(0.95);
  transition: transform 0.3s var(--ease);
}
.modal-overlay.open .modal { transform: scale(1); }
.modal-title { font-size: 28px; margin-bottom: 8px; }
.modal-desc { color: var(--text-light); font-size: 14px; margin-bottom: 28px; }
.modal-summary { background: var(--cream); border-radius: var(--radius-sm); padding: 20px; margin-top: 20px; }
.modal-summary-item { display: flex; justify-content: space-between; padding: 6px 0; font-size: 14px; }
.modal-summary-total {
  border-top: 1px solid var(--border); margin-top: 12px; padding-top: 12px;
  display: flex; justify-content: space-between; font-weight: 800; font-size: 18px;
}

/* ─── Catalog Page ─── */
.catalog-hero {
  padding: 140px 0 60px; text-align: center; color: #fff;
  background: linear-gradient(135deg, var(--charcoal), #3A2A1A);
}
.catalog-hero h1 { font-size: 46px; font-weight: 400; margin-bottom: 8px; }
.catalog-hero p { color: rgba(255,255,255,0.55); }
.catalog-filters {
  display: flex; gap: 12px; flex-wrap: wrap; align-items: center;
  justify-content: space-between; margin-bottom: 32px;
}
.filter-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-tab {
  padding: 10px 20px; border-radius: 50px; border: 2px solid var(--border);
  background: #fff; font-size: 12px; font-weight: 600; letter-spacing: 1px;
  text-transform: uppercase; transition: all 0.3s;
}
.filter-tab:hover { border-color: var(--gold); color: var(--gold); }
.filter-tab.active { background: var(--gold); color: #fff; border-color: var(--gold); }
.filter-controls { display: flex; gap: 12px; }

.no-results { text-align: center; padding: 80px 0; color: var(--text-light); }
.no-results-icon { font-size: 60px; margin-bottom: 16px; }

/* ─── Configurator ─── */
.config-hero {
  background: linear-gradient(135deg, var(--charcoal), #2A2A2A);
  padding: 140px 0 60px;
  text-align: center;
  color: #fff;
}
.config-hero h1 {
  font-size: 42px;
  font-weight: 500;
  margin-bottom: 12px;
}
.config-hero p {
  color: rgba(255,255,255,0.6);
  font-size: 16px;
}
.config-wrapper {
  background: var(--cream);
  padding: 48px 0 80px;
}
.config-layout {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 40px;
  align-items: start;
}
.config-sidebar {
  background: #fff;
  border-radius: var(--radius);
  padding: 8px;
  box-shadow: var(--shadow-sm);
}
.config-step {
  border-bottom: 1px solid var(--border);
}
.config-step:last-child {
  border-bottom: none;
}
.config-step-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px;
  cursor: pointer;
}
.config-step-num {
  width: 28px;
  height: 28px;
  background: var(--gold);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
}
.config-step-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--charcoal);
}
.config-step-content {
  padding: 0 20px 24px;
}
.config-substep {
  margin-bottom: 20px;
}
.config-substep:last-child {
  margin-bottom: 0;
}
.config-substep-label {
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 10px;
  font-weight: 500;
}

/* Type buttons */
.config-type-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.config-type-btn {
  padding: 16px 8px;
  background: var(--cream);
  border: 2px solid transparent;
  border-radius: 10px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
}
.config-type-btn:hover {
  border-color: var(--gold-light);
}
.config-type-btn.active {
  background: #fff;
  border-color: var(--gold);
  box-shadow: 0 2px 8px rgba(201,169,110,0.2);
}
.config-type-icon {
  font-size: 28px;
  display: block;
  margin-bottom: 6px;
}
.config-type-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
}

/* Size inputs */
.config-size-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.config-size-item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.config-size-label {
  width: 70px;
  font-size: 13px;
  color: var(--text-light);
}
.config-size-input {
  display: flex;
  align-items: center;
  background: var(--cream);
  border-radius: 8px;
  padding: 2px;
}
.config-size-field {
  width: 60px;
  padding: 10px;
  border: none;
  background: transparent;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font-body);
}
.config-size-field:focus {
  outline: none;
}
.config-size-unit {
  padding-right: 12px;
  font-size: 12px;
  color: var(--text-light);
}
.config-range {
  flex: 1;
  height: 4px;
  -webkit-appearance: none;
  background: var(--border);
  border-radius: 2px;
  outline: none;
}
.config-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  background: var(--gold);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

/* Materials */
.config-material-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.config-material-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  background: #fff;
  border: 2px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s;
}
.config-material-btn:hover {
  border-color: var(--gold-light);
}
.config-material-btn.active {
  border-color: var(--gold);
  background: rgba(201,169,110,0.05);
}
.config-material-swatch {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  border: 1px solid rgba(0,0,0,0.1);
}
.config-material-name {
  flex: 1;
  font-size: 13px;
  font-weight: 500;
  text-align: left;
}
.config-material-price {
  font-size: 11px;
  color: var(--text-light);
}

/* Colors */
.config-color-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.config-color-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 8px;
  background: #fff;
  border: 2px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s;
}
.config-color-btn:hover {
  border-color: var(--gold-light);
}
.config-color-btn.active {
  border-color: var(--gold);
}
.config-color-swatch {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid rgba(0,0,0,0.08);
}
.config-color-name {
  font-size: 11px;
  color: var(--text-light);
}

/* Filling */
.config-filling-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}
.config-filling-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--cream);
  border-radius: 10px;
}
.config-filling-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.config-filling-label {
  font-size: 14px;
  font-weight: 600;
}
.config-filling-price {
  font-size: 11px;
  color: var(--text-light);
}
.config-filling-control {
  display: flex;
  align-items: center;
  gap: 12px;
}
.config-filling-btn {
  width: 32px;
  height: 32px;
  border: none;
  background: #fff;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.config-filling-btn:hover {
  background: var(--gold);
  color: #fff;
}
.config-filling-value {
  font-size: 18px;
  font-weight: 700;
  min-width: 24px;
  text-align: center;
}

/* Options */
.config-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.config-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: #fff;
  border: 2px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s;
}
.config-option:hover {
  border-color: var(--gold-light);
}
.config-option.active {
  border-color: var(--gold);
  background: rgba(201,169,110,0.05);
}
.config-option input {
  display: none;
}
.config-option-icon {
  font-size: 24px;
}
.config-option-text {
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.config-option-name {
  font-size: 14px;
  font-weight: 500;
}
.config-option-price {
  font-size: 13px;
  color: var(--gold-dark);
  font-weight: 600;
}

/* Preview card */
.config-main {
  position: sticky;
  top: 100px;
}
.config-preview-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.config-preview-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  background: var(--charcoal);
  color: #fff;
}
.config-preview-header span:first-child {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  opacity: 0.7;
}
.config-dimensions {
  font-size: 14px;
  font-weight: 600;
}
.config-preview-visual {
  padding: 40px;
  background: linear-gradient(180deg, #F8F6F3, #F0EDE8);
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.config-preview-footer {
  padding: 24px;
  border-top: 1px solid var(--border);
}
.config-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.config-price-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.config-price-label {
  font-size: 12px;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.config-price-value {
  font-size: 32px;
  font-weight: 800;
  font-family: var(--font-heading);
  color: var(--charcoal);
}

/* Features */
.config-features {
  display: flex;
  gap: 24px;
  margin-top: 20px;
  justify-content: center;
}
.config-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-light);
}
.config-feature svg {
  color: var(--gold);
}

/* ─── Promotions ─── */
.promos-section {
  background: var(--warm-white);
}
.promos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.promo-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s var(--ease);
}
.promo-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.promo-card-header {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.promo-card-discount {
  font-size: 48px;
  font-weight: 800;
  color: #fff;
  font-family: var(--font-heading);
  text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
.promo-card-body {
  padding: 28px;
}
.promo-card-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--charcoal);
}
.promo-card-desc {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 16px;
}
.promo-card-code {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--cream);
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px dashed var(--border);
}
.promo-card-code span {
  font-size: 12px;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.promo-card-code strong {
  font-size: 16px;
  color: var(--charcoal);
  letter-spacing: 3px;
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1024px) {
  .advantages-grid { grid-template-columns: repeat(2, 1fr); }
  .promos-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .promos-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
}
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .section { padding: 80px 0; }
  .nav { display: none; }
  .grid-2, .grid-3, .grid-4, .contact-grid, .config-grid, .gallery-grid {
    grid-template-columns: 1fr;
  }
  .advantages-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 32px; flex-wrap: wrap; }
  .catalog-filters { flex-direction: column; }
  .config-layout { grid-template-columns: 1fr; }
  .config-main { position: static; order: -1; }
  .config-type-grid { grid-template-columns: repeat(2, 1fr); }
  .config-material-grid { grid-template-columns: 1fr; }
  .config-color-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid { grid-template-rows: auto; }
  .gallery-item:first-child { grid-column: span 1; grid-row: span 1; }
}
