﻿@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --bg: #f6f2ee;
  --bg-soft: #fffaf7;
  --ink: #2b1e19;
  --text: #5f4a43;
  --accent: #8a5a4c;
  --accent-soft: #efe2db;
  --line: #e7d7d0;
  --dark: #201512;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 26px;
  --shadow: 0 16px 34px rgba(47, 28, 21, 0.12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Inter', sans-serif; color: var(--ink); background: var(--bg); line-height: 1.65; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 5%; }
.section { padding: 78px 0; }

.notice { background: #efe4de; border-bottom: 1px solid var(--line); color: var(--text); font-size: 12px; text-align: center; padding: 10px 5%; }
.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(246,242,238,0.93); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header.scrolled { box-shadow: 0 10px 24px rgba(45, 28, 22, 0.08); }
.nav-wrap { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo { font-family: 'Playfair Display', serif; font-size: 30px; letter-spacing: 0.08em; font-weight: 700; }
.site-nav ul { list-style: none; display: flex; gap: 22px; }
.site-nav a { color: var(--text); font-size: 14px; font-weight: 600; }
.site-nav a:hover { color: var(--accent); }

.btn { display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; padding: 12px 22px; font-size: 14px; font-weight: 700; border: 1px solid transparent; transition: 0.2s ease; }
.btn-primary { background: var(--dark); color: #fff; }
.btn-primary:hover { transform: translateY(-2px); }
.btn-outline { border-color: var(--accent); color: var(--accent); background: transparent; }
.btn-outline:hover { background: var(--accent-soft); }

.h1, .h2, .h3 { font-family: 'Playfair Display', serif; color: var(--ink); line-height: 1.12; }
.h1 { font-size: clamp(34px, 5.5vw, 62px); margin-bottom: 16px; }
.h2 { font-size: clamp(28px, 4vw, 44px); margin-bottom: 14px; }
.h3 { font-size: 26px; margin-bottom: 8px; }
.kicker { color: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 12px; }
.text { color: var(--text); }

.hero { padding: 56px 0 70px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: 34px; }
.hero-media { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.badges { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 10px; }
.badge { background: var(--accent-soft); color: var(--accent); border: 1px solid #e4cdc3; padding: 8px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 24px; }
.card p { color: var(--text); font-size: 15px; }

.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.compare ul { list-style: none; margin-top: 12px; display: grid; gap: 8px; }
.compare li { color: var(--text); }

.spec-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.spec-list { list-style: none; display: grid; gap: 12px; }
.spec-list li { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; color: var(--text); }

.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.quote { font-size: 15px; color: var(--text); }
.author { margin-top: 10px; font-size: 13px; color: var(--accent); font-weight: 700; }

.cta { text-align: center; background: #f0e2da; border: 1px solid var(--line); border-radius: 24px; padding: 42px 20px; }

.article { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 22px; padding: 34px; }
.article h1, .article h2, .article h3 { font-family: 'Playfair Display', serif; }
.article h2 { margin-top: 24px; margin-bottom: 10px; font-size: 30px; }
.article h3 { margin-top: 16px; margin-bottom: 8px; font-size: 23px; }
.article p, .article li { color: var(--text); margin-bottom: 10px; }
.article ul { padding-left: 18px; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 14px; }
.form-label { display: block; margin-bottom: 6px; font-size: 12px; font-weight: 700; text-transform: uppercase; color: var(--text); }
.form-control { width: 100%; border: 1px solid var(--line); background: #fff; border-radius: 12px; padding: 12px 14px; font: inherit; }

.order-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 24px; align-items: start; }
.price-panel { position: sticky; top: 92px; }
.price-old { color: var(--text); text-decoration: line-through; }
.price-new { font-family: 'Playfair Display', serif; font-size: 48px; line-height: 1; margin: 2px 0 6px; }
.stock { margin: 14px 0; padding: 10px 12px; background: #f7e6e1; color: #9a403f; border: 1px solid #e7bfbd; border-radius: 10px; font-size: 14px; font-weight: 700; }
.gallery-mini { margin-top: 14px; }

.footer { margin-top: 58px; background: var(--dark); color: #eaded8; padding: 54px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 24px; }
.footer h4 { margin-bottom: 10px; }
.footer p, .footer a { color: #eaded8; opacity: 0.92; font-size: 14px; }
.footer-bottom { margin-top: 22px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.15); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 14px; }

.cookie-consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 2000; background: rgba(32,21,18,0.96); border: 1px solid rgba(255,255,255,0.2); border-radius: 14px; padding: 14px; display: none; }
.cookie-consent.show { display: block; }
.cookie-text { color: #f2e7e2; font-size: 13px; margin-bottom: 10px; }
.cookie-text a { text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; }
.cookie-btn { flex: 1; border-radius: 9px; padding: 10px 12px; font-size: 12px; font-weight: 700; text-transform: uppercase; border: 1px solid rgba(255,255,255,0.3); background: transparent; color: #fff; cursor: pointer; }
.cookie-accept { background: #fff; color: #201512; border-color: #fff; }

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: rgba(246, 242, 238, 0.96);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.page-loader-inner {
  display: grid;
  justify-items: center;
  gap: 12px;
}

.page-loader-spinner {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 3px solid #e9d7ce;
  border-top-color: var(--accent);
  animation: ringluxaSpin 0.9s linear infinite;
}

.page-loader-text {
  font-size: 14px;
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0.04em;
}

@keyframes ringluxaSpin {
  to { transform: rotate(360deg); }
}

@media (max-width: 980px) {
  .hero-grid, .grid-3, .compare, .spec-layout, .testimonial-grid, .contact-grid, .order-grid, .footer-grid { grid-template-columns: 1fr; }
  .price-panel { position: static; }
}

@media (max-width: 760px) {
  .site-header .btn-primary { display: none; }
  .site-nav { width: 100%; overflow-x: auto; }
  .site-nav ul { width: max-content; padding-bottom: 8px; }
  .hero-actions .btn { width: 100%; }
  .cookie-actions { flex-direction: column; }
}
