:root {
  --ink: #1c1915;
  --primary: #1c1915;
  --primary-fg: #faf8f5;
  --paper: #ffffff;
  --bg: #f6f4f8;
  --muted: #6d6872;
  --soft: #8a8490;
  --border: #e7e3ea;
  --card: #ffffff;
  --blue: #2f5fd0;
  --pink: #d4537e;
  --violet: #6a4cc4;
  --purple: #7a3ea8;
  --danger: #9f2d2d;
  --ok: #1f7a45;
  --shadow: 0 12px 32px -20px rgba(28, 25, 21, 0.45);
  --radius: 16px;
  --max: 1120px;
  --header: 72px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: linear-gradient(180deg, #f3f0f7 0%, #f7f6f8 28%, #ffffff 70%);
  min-height: 100vh;
  font-size: 16px;
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p { margin: 0; }

.wrap { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }
.wrap-wide { width: min(1200px, calc(100% - 32px)); margin: 0 auto; }

.topbar { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.92); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(231,227,234,.8); }
.topbar::before {
  content: "";
  position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: linear-gradient(110deg, #3d342c, #1c1915 40%, #6b5344 70%, #a68462);
}
.header-row {
  min-height: var(--header);
  display: flex;
  align-items: center;
  gap: 12px 16px;
  padding: 10px 0 8px;
}
.nav-main { margin-left: auto; }
.wordmark { display: flex; flex-direction: column; line-height: 1; flex: 0 0 auto; }
.wordmark strong { font-size: 18px; font-weight: 900; letter-spacing: -0.04em; }
.wordmark strong span {
  background: linear-gradient(110deg, #1c1915, #6b5344);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.wordmark small { margin-top: 3px; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.nav-main { display: flex; gap: 28px; align-items: center; }
.nav-main a { font-size: 14px; color: var(--muted); font-weight: 500; }
.nav-main a.active, .nav-main a:hover { color: var(--ink); font-weight: 700; }
.header-tools { display: flex; justify-content: flex-end; align-items: center; gap: 10px; }
.search-form { display: flex; align-items: center; background: #fff; border: 1px solid var(--border); border-radius: 999px; padding: 0 10px 0 12px; height: 38px; min-width: 0; }
.search-form input { border: 0; outline: 0; width: 118px; background: transparent; font-size: 13px; min-width: 0; }
.search-form button { border: 0; background: transparent; color: var(--muted); padding: 4px; }
.location-wrap { position: relative; }
.loc-btn, .login-btn, .btn, .btn-ghost, .btn-line {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 999px; border: 1px solid transparent; font-weight: 700; text-align: center;
}
.loc-btn {
  height: 38px; padding: 0 12px; background: #fff; border-color: var(--border); font-size: 12px; font-weight: 700; max-width: 168px;
}
.loc-btn span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.loc-kicker { display: block; font-size: 9px; letter-spacing: .14em; color: var(--soft); font-weight: 700; text-align: left; }
.login-btn { height: 38px; padding: 0 16px; background: var(--primary); color: var(--primary-fg); font-size: 14px; }
.location-menu {
  position: absolute; right: 0; top: calc(100% + 8px); background: #fff; border: 1px solid var(--border);
  border-radius: 16px; box-shadow: var(--shadow); width: min(300px, calc(100vw - 24px)); padding: 14px; z-index: 50;
}
.location-menu .field { margin-top: 8px; }
.location-menu .btn { margin-top: 10px; width: 100%; }
.loc-note { margin: 8px 0 0; font-size: 12px; font-weight: 700; color: var(--danger); line-height: 1.4; }
.loc-note.ok { color: var(--ok); }
.mobile-nav { display: none; gap: 8px; overflow-x: auto; padding: 0 0 10px; scrollbar-width: none; }
.mobile-nav a { flex: 0 0 auto; border: 1px solid var(--border); background: rgba(255,255,255,.7); border-radius: 999px; padding: 6px 12px; font-size: 12px; font-weight: 700; }
.mobile-nav a.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.mobile-search { display: none; padding-bottom: 10px; }
.menu-toggle { display: none; }

.hero { position: relative; overflow: hidden; text-align: left; }
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 8px 28px; align-items: center; padding: 28px 0 12px;
}
.hero-copy .lead { margin-left: 0; margin-right: 0; }
.hero-copy .cta-row { justify-content: flex-start; }
.hero-visual { min-width: 0; display: grid; place-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: .16em;
  text-transform: uppercase; font-weight: 800; color: var(--muted);
}
.eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); display: inline-block; }
.hero-mark { margin-top: 16px; font-size: 76px; line-height: .9; font-weight: 900; letter-spacing: -0.05em; }
.hero-mark span {
  background: linear-gradient(110deg, #1c1915 20%, #6b5344 70%, #a68462);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero h2 { margin-top: 18px; font-size: 36px; letter-spacing: -0.03em; font-weight: 800; }
.lead { max-width: 560px; margin: 12px auto 0; color: var(--muted); font-size: 16px; }
.cta-row { display: flex; justify-content: center; gap: 12px; margin-top: 22px; flex-wrap: wrap; }
.btn { background: var(--primary); color: var(--primary-fg); padding: 12px 18px; font-size: 14px; border: 0; box-shadow: 0 10px 24px -16px #1c1915; }
.btn-line { background: #fff; border-color: var(--border); padding: 12px 18px; font-size: 14px; }
.btn-ghost { background: transparent; border-color: var(--border); padding: 8px 12px; font-size: 12px; font-weight: 700; }
.btn.block, .btn-line.block { width: 100%; }
.hero-car {
  position: relative; width: 100%; height: 340px; object-fit: contain; object-position: center;
  mix-blend-mode: multiply;
  -webkit-mask-image: radial-gradient(ellipse 70% 64% at 50% 54%, #000 42%, transparent 74%);
  mask-image: radial-gradient(ellipse 70% 64% at 50% 54%, #000 42%, transparent 74%);
}

.section { padding: 8px 0 64px; }
.section h2 { font-size: 32px; letter-spacing: -0.03em; font-weight: 900; }
.kicker { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; font-weight: 800; color: var(--blue); }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: 14px; }

.promo {
  position: relative; border-radius: 22px; overflow: hidden; min-height: 230px; color: #fff;
  display: grid; align-items: center; background: #111 url("../assets/products/promo-luxury.jpg?v=1796221886339") right center / cover no-repeat;
}
.promo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,8,12,.88) 0%, rgba(10,8,12,.55) 48%, rgba(10,8,12,.15) 100%); }
.promo-copy { position: relative; padding: 32px; max-width: 560px; }
.promo .off { font-size: 42px; font-weight: 900; letter-spacing: -0.04em; line-height: 1; }
.promo .off em { font-style: normal; color: #e7c7a2; }
.promo p { margin-top: 8px; color: rgba(255,255,255,.82); }

.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 28px; }
.feature { padding-top: 14px; }
.feature .ico { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 10px; }
.feature h3 { font-size: 15px; font-weight: 800; }
.feature p { color: var(--muted); font-size: 13px; margin-top: 4px; }
.feature.c1 { border-top: 2px solid var(--blue); } .feature.c1 .ico { background: rgba(47,95,208,.1); color: var(--blue); }
.feature.c2 { border-top: 2px solid var(--pink); } .feature.c2 .ico { background: rgba(212,83,126,.1); color: var(--pink); }
.feature.c3 { border-top: 2px solid var(--violet); } .feature.c3 .ico { background: rgba(106,76,196,.1); color: var(--violet); }
.feature.c4 { border-top: 2px solid var(--purple); } .feature.c4 .ico { background: rgba(122,62,168,.1); color: var(--purple); }

.carousel-wrap { position: relative; }
.carousel { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px 2px 16px; scrollbar-width: none; }
.carousel::-webkit-scrollbar { display: none; }
.card {
  background: #fff; border: 1px solid var(--border); border-radius: 24px; box-shadow: 0 1px 2px rgba(28,25,21,.04), 0 16px 32px -24px rgba(28,25,21,.35);
  overflow: hidden;
}
.product-card { flex: 0 0 320px; scroll-snap-align: start; padding: 12px 12px 16px; display: flex; flex-direction: column; }
.product-card .shot { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 3 / 2; background: #eceaf0; }
.product-card .shot img { width: 100%; height: 100%; object-fit: cover; }
.pill { position: absolute; top: 10px; right: 10px; background: rgba(255,255,255,.92); border-radius: 999px; font-size: 11px; font-weight: 800; padding: 4px 8px; }
.badge { position: absolute; top: 10px; left: 10px; background: var(--ink); color: #fff; border-radius: 999px; font-size: 10px; letter-spacing: .08em; font-weight: 800; padding: 4px 8px; }
.wish {
  position: absolute; bottom: 10px; right: 10px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: #fff; color: var(--ink);
  display: grid; place-items: center;
}
.wish.on { background: var(--ink); color: #fff; }
.card-body { padding: 12px 6px 0; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-body h3 { font-size: 18px; letter-spacing: -0.03em; }
.tag { color: var(--violet); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.card-body p { color: var(--muted); font-size: 13px; }
.price-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 8px; margin-top: auto; }
.price-row b { font-size: 22px; letter-spacing: -0.03em; }
.price-row small { display: block; font-size: 10px; letter-spacing: .12em; color: var(--soft); font-weight: 800; }
.card-actions { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.dots { display: flex; justify-content: center; gap: 6px; }
.dots button { width: 8px; height: 6px; border: 0; border-radius: 99px; background: var(--border); padding: 0; }
.dots button.on { width: 22px; background: var(--ink); }
.arrow {
  position: absolute; top: 42%; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border); background: #fff; z-index: 2;
}
.arrow.left { left: -8px; } .arrow.right { right: -8px; }

.band {
  border-radius: 24px; padding: 28px; background: linear-gradient(90deg, rgba(28,25,21,.05), rgba(166,132,98,.08));
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.steps, .why, .cat-grid, .info-grid, .split, .account-grid, .form-grid, .contact-grid { display: grid; gap: 16px; }
.form-grid, .contact-grid { grid-template-columns: 1fr 1fr; align-items: start; }
.steps { grid-template-columns: repeat(4, 1fr); margin-top: 22px; }
.why { grid-template-columns: repeat(3, 1fr); margin-top: 22px; }
.step, .why-card, .info-card, .cat-card {
  background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 18px; box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.step::before, .why-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--ink), #a68462); }
.num { display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 800; font-size: 13px; }
.why-card h3, .step h3 { margin-top: 12px; font-size: 18px; }
.why-ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--ink); color: #fff; font-weight: 900; }
.cat-grid { grid-template-columns: repeat(3, 1fr); }
.cat-card h3 { font-size: 18px; margin-bottom: 6px; }
.cat-card:hover { border-color: #1c1915; }
.link-row { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 14px; }
.link-row a { text-decoration: underline; text-underline-offset: 4px; font-size: 14px; }

.prose { max-width: 760px; }
.prose h1 { font-size: clamp(32px, 5vw, 48px); letter-spacing: -0.04em; line-height: 1.05; }
.prose h2 { font-size: 26px; margin: 28px 0 8px; }
.prose h3 { font-size: 18px; margin: 18px 0 6px; }
.prose p, .prose li { color: #3c3834; font-size: 16px; line-height: 1.7; }
.prose p { margin: 0 0 12px; }
.prose ul, .prose ol { margin: 0 0 12px; padding-left: 18px; }
.page-hero { padding: 42px 0 10px; text-align: center; }
.page-hero h1 { font-size: clamp(34px, 5vw, 52px); letter-spacing: -0.045em; line-height: 1.02; }
.accent { color: #6b5344; }

.toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; margin: 18px 0; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 700; }
.field input, .field select, .field textarea {
  border: 1px solid var(--border); background: #fff; border-radius: 12px; padding: 12px 12px; font-weight: 500; min-width: 0; width: 100%;
}
.field textarea { min-height: 120px; resize: vertical; }
.catalog { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 16px; background: #fff; }
table { width: 100%; border-collapse: collapse; min-width: 640px; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border); font-size: 14px; }
th { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.pdp { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: start; }
.gallery img { width: 100%; border-radius: 20px; aspect-ratio: 3/2; object-fit: cover; background: #eceaf0; }
.thumbs { display: flex; gap: 8px; margin-top: 8px; }
.thumbs button { padding: 0; border: 2px solid transparent; border-radius: 12px; background: none; }
.thumbs button.on { border-color: var(--ink); }
.thumbs img { width: 92px; height: 64px; object-fit: cover; border-radius: 10px; }
.variants { display: flex; flex-wrap: wrap; gap: 8px; }
.variants button, .qty button { border: 1px solid var(--border); background: #fff; border-radius: 999px; padding: 8px 12px; font-weight: 700; }
.variants button.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.qty { display: inline-flex; align-items: center; gap: 8px; }
.qty input { width: 56px; text-align: center; border: 1px solid var(--border); border-radius: 12px; padding: 8px; }
.include { margin-top: 8px; }
.include li { margin: 4px 0; }

.cart-layout, .check-layout { display: grid; grid-template-columns: 1.4fr .8fr; gap: 18px; align-items: start; }
.line { display: grid; grid-template-columns: 96px 1fr auto; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.line img { width: 96px; height: 72px; object-fit: cover; border-radius: 10px; }
.summary { position: sticky; top: 88px; padding: 18px; }
.summary row, .sum-row { display: flex; justify-content: space-between; gap: 12px; margin: 8px 0; }
.alert { background: #f8efe8; border: 1px solid #ead8c8; color: #5c3b24; border-radius: 12px; padding: 10px 12px; font-size: 14px; }
.alert.bad { background: #fdecec; border-color: #f3c7c7; color: var(--danger); }
.alert.ok { background: #eef8f1; border-color: #cde8d6; color: var(--ok); }
.passwrap { position: relative; }
.passwrap input { width: 100%; padding-right: 64px; }
.passwrap .eye { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); border: 0; background: transparent; font-size: 12px; font-weight: 800; color: var(--muted); }

.auth-card { width: min(460px, 100%); margin: 28px auto 48px; padding: 24px; }
.account-grid { grid-template-columns: 220px 1fr; }
.side a { display: block; padding: 10px 12px; border-radius: 12px; font-weight: 700; color: var(--muted); }
.side a.on, .side a:hover { background: #fff; color: var(--ink); }
.footer { border-top: 1px solid var(--border); margin-top: 48px; background: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.1fr 1fr 1.2fr; gap: 18px; padding: 28px 0; align-items: start; }
.footer nav { display: flex; flex-wrap: wrap; gap: 8px 16px; justify-content: flex-end; }
.footer a { font-size: 14px; color: var(--muted); }
.footer a:hover { color: var(--ink); }
.legal-links { display: flex; flex-wrap: wrap; gap: 8px 14px; padding-bottom: 22px; }
.legal-links a { font-size: 12px; color: var(--soft); }
.toast {
  position: fixed; bottom: 16px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--ink); color: #fff; border-radius: 999px; padding: 10px 16px; font-size: 14px; opacity: 0; pointer-events: none; transition: .2s ease; z-index: 70;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.dialog { border: 0; border-radius: 18px; padding: 0; width: min(520px, calc(100% - 24px)); }
.dialog::backdrop { background: rgba(28,25,21,.45); }
.dialog .inner { padding: 18px; }
.faq details { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 12px 14px; margin: 8px 0; }
.faq summary { font-weight: 800; cursor: pointer; }
.empty { padding: 28px; text-align: center; }
.hidden { display: none !important; }
.error { color: var(--danger); font-size: 12px; font-weight: 700; }

@media (max-width: 1100px) {
  .nav-main { display: none; }
  .mobile-nav { display: flex; }
  .header-tools { margin-left: auto; }
}

@media (max-width: 1024px) {
  .feature-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .catalog, .why, .cat-grid { grid-template-columns: 1fr 1fr; }
  .pdp, .cart-layout, .check-layout, .account-grid, .footer-grid, .contact-grid, .form-grid { grid-template-columns: 1fr; }
  .footer nav, .legal-links { justify-content: flex-start; }
  .summary { position: static; }
  .hero-mark { font-size: 60px; }
  .header-tools .search-form { display: none; }
  .mobile-search.search-form { display: flex; width: 100%; margin-bottom: 8px; }
  .mobile-search input { flex: 1; width: auto; }
}

@media (max-width: 780px) {
  .nav-main { display: none; }
  .mobile-nav { display: flex; }
  .header-row { flex-wrap: wrap; row-gap: 8px; }
  .header-tools { flex: 1 0 100%; margin-left: 0; justify-content: flex-start; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; padding-top: 18px; }
  .hero-copy .lead { margin-left: auto; margin-right: auto; }
  .hero-copy .cta-row { justify-content: center; }
  .hero-mark { font-size: 48px; }
  .hero h2 { font-size: 28px; }
  .hero-car { height: 220px; }
  .catalog, .why, .cat-grid, .feature-grid, .steps { grid-template-columns: 1fr; }
  .band { flex-direction: column; align-items: flex-start; }
  .loc-btn { max-width: none; padding: 0 10px; }
  .product-card { flex-basis: 84%; }
  .arrow { display: none; }
  .location-menu { position: fixed; top: 118px; left: 12px; right: 12px; width: auto; }
}

@media (max-width: 390px) {
  .wrap, .wrap-wide { width: calc(100% - 20px); }
  .login-btn { padding: 0 12px; }
  .hero-mark { font-size: 40px; }
  .cta-row .btn, .cta-row .btn-line { width: 100%; }
}
