:root {
  --bg-primary: #FAF7F2;
  --bg-surface: #FFFFFF;
  --bg-blush: #F6ECE8;
  --bg-sage: #EEF2ED;
  --text-cocoa: #3D2B24;
  --text-muted: #7A665E;
  --accent-gold: #C69749;
  --accent-gold-dark: #A87C34;
  --accent-terracotta: #C86D51;
  --accent-sage: #5E7A66;
  --border-soft: rgba(61, 43, 36, 0.10);
  --shadow-card: 0 10px 30px rgba(61, 43, 36, 0.06);
  --shadow-hover: 0 16px 40px rgba(61, 43, 36, 0.12);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-pill: 999px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-family: var(--font-sans); color: var(--text-cocoa); background: var(--bg-primary); }
body { line-height: 1.6; overflow-x: hidden; }

.aigl-tex-weave {
  background-color: var(--bg-primary);
  background-image:
    repeating-linear-gradient(0deg, rgba(198,151,73,0.03) 0px, rgba(198,151,73,0.03) 1px, transparent 1px, transparent 4px),
    repeating-linear-gradient(90deg, rgba(61,43,36,0.025) 0px, rgba(61,43,36,0.025) 1px, transparent 1px, transparent 4px);
}

.container { max-width: 1240px; margin: 0 auto; padding: 0 20px; }

.gradient-text {
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-terracotta) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-pad { padding: 72px 0; }
.section-header { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.section-title { font-family: var(--font-display); font-size: clamp(28px, 4vw, 40px); font-weight: 700; line-height: 1.2; margin-bottom: 12px; }
.section-subtitle { color: var(--text-muted); font-size: 15px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 26px; border-radius: var(--radius-pill); font-weight: 600; font-size: 14px;
  cursor: pointer; border: none; text-decoration: none; transition: all 0.25s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-terracotta) 100%);
  color: #fff; box-shadow: 0 8px 20px rgba(200, 109, 81, 0.25);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(200, 109, 81, 0.35); }
.btn-secondary {
  background: var(--bg-surface); color: var(--text-cocoa); border: 1.5px solid var(--border-soft);
}
.btn-secondary:hover { border-color: var(--accent-gold); color: var(--accent-gold-dark); }

@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(198, 151, 73, 0.45); }
  50% { box-shadow: 0 0 0 10px rgba(198, 151, 73, 0); }
}
.btn-glow { animation: glowPulse 4s infinite; }

.site-header {
  position: sticky; top: 0; z-index: 900;
  background: rgba(250, 247, 242, 0.92); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-soft);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text-cocoa); }
.brand img { width: 44px; height: 44px; border-radius: 12px; object-fit: cover; border: 1px solid var(--border-soft); }
.brand-name { font-family: var(--font-display); font-size: 22px; font-weight: 700; letter-spacing: -0.3px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { text-decoration: none; color: var(--text-cocoa); font-weight: 500; font-size: 14px; transition: color 0.2s; }
.nav-links a:hover { color: var(--accent-terracotta); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.cart-trigger {
  position: relative; width: 44px; height: 44px; border-radius: 50%;
  background: var(--bg-surface); border: 1px solid var(--border-soft);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  color: var(--text-cocoa); font-size: 17px; transition: all 0.2s;
}
.cart-trigger:hover { border-color: var(--accent-gold); color: var(--accent-gold-dark); }
.cart-badge {
  position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: var(--radius-pill); background: var(--accent-terracotta); color: #fff;
  font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center;
}

.hero-section { padding: 48px 0 64px; background: linear-gradient(180deg, var(--bg-blush) 0%, var(--bg-primary) 100%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 18px;
  background: var(--bg-surface); border: 1px solid rgba(198,151,73,0.3);
  border-radius: var(--radius-pill); font-size: 13px; font-weight: 700; color: var(--accent-gold-dark);
  margin-bottom: 18px; box-shadow: 0 4px 14px rgba(198,151,73,0.12);
}
.hero-title { font-family: var(--font-display); font-size: clamp(34px, 5vw, 54px); line-height: 1.15; margin-bottom: 18px; }
.hero-subtitle { font-size: 16px; color: var(--text-muted); margin-bottom: 28px; max-width: 540px; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-slider {
  position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 16/10;
  box-shadow: 0 20px 50px rgba(61,43,36,0.14); border: 4px solid #fff; background: #2b1e19;
}
.hero-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.8s ease; }
.hero-slide.active { opacity: 1; }
.hero-dots {
  position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 5; background: rgba(0,0,0,0.28); padding: 6px 12px; border-radius: 99px;
}
.hero-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.5); border: none; cursor: pointer; }
.hero-dot.active { background: #fff; width: 20px; border-radius: 99px; }

.catalog-layout { display: grid; grid-template-columns: 260px 1fr; gap: 28px; align-items: start; }
.filter-sidebar {
  background: var(--bg-surface); padding: 22px; border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft); box-shadow: var(--shadow-card); position: sticky; top: 92px;
}
.filter-group { margin-bottom: 22px; }
.filter-group:last-child { margin-bottom: 0; }
.filter-label { font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-muted); margin-bottom: 10px; display: block; }
.search-input, .select-input {
  width: 100%; padding: 10px 14px; border-radius: var(--radius-md); border: 1px solid var(--border-soft);
  font-family: inherit; font-size: 14px; color: var(--text-cocoa); background: var(--bg-primary);
}
.filter-chips { display: flex; flex-direction: column; gap: 6px; }
.chip-btn {
  text-align: left; padding: 8px 12px; border-radius: 10px; border: 1px solid transparent;
  background: transparent; color: var(--text-cocoa); font-size: 13.5px; font-weight: 500; cursor: pointer; transition: all 0.2s;
}
.chip-btn:hover { background: var(--bg-blush); }
.chip-btn.active { background: var(--bg-blush); color: var(--accent-terracotta); font-weight: 700; border-color: rgba(200,109,81,0.25); }

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(235px, 1fr)); gap: 22px; }
.product-grid-4 { grid-template-columns: repeat(4, 1fr); }

.aigl-molecule-02-media-card {
  background: var(--bg-surface); border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border-soft); box-shadow: var(--shadow-card);
  transition: transform 0.28s ease, box-shadow 0.28s ease; display: flex; flex-direction: column;
}
.aigl-molecule-02-media-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.card-media { position: relative; aspect-ratio: 1/1; overflow: hidden; background: #f3ede6; cursor: pointer; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s ease; }
.aigl-molecule-02-media-card:hover .card-media img { transform: scale(1.06); }
.card-badges { position: absolute; top: 10px; left: 10px; display: flex; flex-wrap: wrap; gap: 5px; z-index: 2; }
.badge-tag {
  padding: 4px 10px; border-radius: var(--radius-pill); font-size: 11px; font-weight: 700;
  background: rgba(61, 43, 36, 0.85); color: #fff; backdrop-filter: blur(4px);
}
.badge-tag.hot { background: var(--accent-terracotta); }
.badge-tag.soldout { background: #6b7280; }
.video-pill {
  position: absolute; bottom: 10px; right: 10px; background: rgba(0,0,0,0.7); color: #fff;
  font-size: 11px; padding: 4px 10px; border-radius: 99px; display: flex; align-items: center; gap: 4px;
}
.card-body { padding: 16px; display: flex; flex-direction: column; flex: 1; }
.card-title { font-weight: 700; font-size: 15px; margin-bottom: 6px; color: var(--text-cocoa); cursor: pointer; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-variants-hint { font-size: 12px; color: var(--text-muted); margin-bottom: 10px; }
.card-price-row { display: flex; align-items: baseline; gap: 8px; margin-top: auto; margin-bottom: 12px; }
.price-sale { font-size: 17px; font-weight: 700; color: var(--accent-terracotta); }
.price-orig { font-size: 13px; color: var(--text-muted); text-decoration: line-through; }
.card-btn { width: 100%; padding: 10px; border-radius: 10px; background: var(--bg-blush); color: var(--text-cocoa); font-weight: 600; font-size: 13px; border: none; cursor: pointer; transition: all 0.2s; }
.card-btn:hover { background: var(--accent-gold); color: #fff; }

.benefits-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.benefit-card { background: var(--bg-surface); padding: 26px 22px; border-radius: var(--radius-lg); border: 1px solid var(--border-soft); text-align: center; box-shadow: var(--shadow-card); }
.benefit-icon { font-size: 34px; margin-bottom: 12px; }
.benefit-title { font-weight: 700; font-size: 16px; margin-bottom: 6px; }
.benefit-desc { font-size: 13.5px; color: var(--text-muted); }

.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card { background: var(--bg-surface); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border-soft); box-shadow: var(--shadow-card); cursor: pointer; transition: transform 0.25s; }
.news-card:hover { transform: translateY(-4px); }
.news-thumb { aspect-ratio: 16/10; width: 100%; object-fit: cover; background: #eee; }
.news-body { padding: 18px; }
.news-title { font-weight: 700; font-size: 16px; margin-bottom: 8px; line-height: 1.4; }
.news-excerpt { font-size: 13.5px; color: var(--text-muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--bg-surface); border-radius: var(--radius-md); border: 1px solid var(--border-soft); overflow: hidden; }
.faq-q { width: 100%; text-align: left; padding: 18px 22px; background: none; border: none; font-family: inherit; font-size: 15.5px; font-weight: 600; color: var(--text-cocoa); display: flex; justify-content: space-between; align-items: center; cursor: pointer; }
.faq-a { padding: 0 22px 18px; font-size: 14.5px; color: var(--text-muted); display: none; border-top: 1px dashed var(--border-soft); padding-top: 12px; }
.faq-item.open .faq-a { display: block; }

.checkout-box { background: var(--bg-surface); border-radius: 24px; padding: 36px; border: 1px solid var(--border-soft); box-shadow: var(--shadow-card); display: grid; grid-template-columns: 1fr 1.15fr; gap: 36px; }
.summary-panel { background: var(--bg-primary); padding: 24px; border-radius: var(--radius-lg); border: 1px solid var(--border-soft); }
.checkout-item { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border-soft); font-size: 14px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-full { grid-column: 1 / -1; }
.form-label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.form-control { width: 100%; padding: 11px 14px; border-radius: var(--radius-md); border: 1px solid var(--border-soft); font-family: inherit; font-size: 14px; background: var(--bg-primary); }
.form-control:focus { outline: none; border-color: var(--accent-gold); background: #fff; }
.pay-option { display: flex; align-items: flex-start; gap: 12px; padding: 14px; border-radius: var(--radius-md); border: 1.5px solid var(--border-soft); cursor: pointer; margin-bottom: 10px; transition: all 0.2s; }
.pay-option.active { border-color: var(--accent-gold); background: var(--bg-blush); }

.cta-banner { background: linear-gradient(135deg, #3D2B24 0%, #5B3E33 100%); color: #fff; border-radius: 24px; padding: 52px 28px; text-align: center; position: relative; overflow: hidden; }
.site-footer { background: #2B1E19; color: rgba(255,255,255,0.82); padding: 60px 0 28px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1.2fr 0.9fr 0.9fr; gap: 32px; margin-bottom: 40px; }
.footer-heading { color: #fff; font-weight: 700; font-size: 15px; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.5px; }
.footer-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-list a, .footer-list button { color: rgba(255,255,255,0.78); text-decoration: none; background: none; border: none; font: inherit; cursor: pointer; text-align: left; }
.footer-list a:hover, .footer-list button:hover { color: var(--accent-gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 22px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 13px; }

.overlay { position: fixed; inset: 0; background: rgba(28, 19, 15, 0.6); backdrop-filter: blur(4px); z-index: 1100; display: none; align-items: center; justify-content: center; padding: 16px; }
.overlay.open { display: flex; }
.modal-box { background: var(--bg-surface); border-radius: 22px; max-width: 900px; width: 100%; max-height: 90vh; overflow-y: auto; position: relative; box-shadow: 0 25px 60px rgba(0,0,0,0.25); }
.modal-close { position: sticky; top: 14px; float: right; margin: 14px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--border-soft); background: #fff; cursor: pointer; z-index: 10; }
.pd-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 28px; padding: 28px; clear: both; }
.variant-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.v-pill { padding: 7px 14px; border-radius: 10px; border: 1.5px solid var(--border-soft); background: var(--bg-primary); font-size: 13px; font-weight: 500; cursor: pointer; }
.v-pill.active { border-color: var(--accent-terracotta); background: var(--bg-blush); color: var(--accent-terracotta); font-weight: 700; }

.drawer-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 1200; display: none; justify-content: flex-end; }
.drawer-overlay.open { display: flex; }
.drawer-panel { width: 100%; max-width: 420px; background: var(--bg-surface); height: 100%; display: flex; flex-direction: column; padding: 24px; }
.drawer-items { flex: 1; overflow-y: auto; margin: 16px 0; }

.floating-contact { position: fixed; right: 18px; bottom: 22px; z-index: 950; display: flex; flex-direction: column; gap: 10px; }
.fab-btn { width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; text-decoration: none; font-size: 20px; box-shadow: 0 8px 20px rgba(0,0,0,0.2); transition: transform 0.2s; }
.fab-btn:hover { transform: scale(1.08); }

@media (max-width: 960px) {
  .hero-grid, .catalog-layout, .checkout-box, .pd-grid { grid-template-columns: 1fr; }
  .product-grid-4, .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid, .footer-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .filter-sidebar { position: static; }
}