:root {
  --bg: #fafafa;
  --text: #000;
  --heading: #1f1f1f;
  --muted: #6b6b6b;
  --line: #e2e2e2;
  --dark: #3a3a3a;
  --black: #000;
  --sans: "Red Hat Text", system-ui, sans-serif;
  --serif: "Newsreader", Georgia, serif;
  --gutter: clamp(16px, 3vw, 32px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.6 var(--sans); }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3 { color: var(--heading); line-height: 1.15; margin: 0 0 .6em; }
.serif { font-family: var(--serif); font-weight: 200; letter-spacing: -.01em; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.center { text-align: center; }

/* Header */
.announcement { background: var(--black); color: #fff; text-align: center; font-size: 14px; padding: 6px var(--gutter); }
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(250,250,250,.96); backdrop-filter: blur(8px); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 14px var(--gutter); border-bottom: 1px solid var(--line); }
.nav-links { list-style: none; display: flex; gap: 24px; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; text-transform: uppercase; font-size: 15px; }
.nav-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.logo { font-weight: 700; text-decoration: none; font-size: 16px; white-space: nowrap; }
.nav-right { justify-self: end; }
.cart-link { position: relative; display: inline-flex; padding: 4px; }
.menu-toggle { display: none; background: none; border: 0; padding: 4px; cursor: pointer; color: inherit; }

/* Buttons */
.btn { display: inline-block; background: var(--black); color: #fff; border: 1px solid var(--black); padding: 14px 28px; text-transform: uppercase; text-decoration: none; font: 500 15px var(--sans); letter-spacing: .03em; cursor: pointer; transition: opacity .15s; }
.btn:hover { opacity: .85; }
.btn:disabled { opacity: .4; cursor: not-allowed; }
.btn-light { background: #fff; color: #000; border-color: #fff; }
.btn-block { display: block; width: 100%; text-align: center; }

/* Home */
.hero { position: relative; height: min(88vh, 900px); min-height: 480px; overflow: hidden; }
.hero img { width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.35)); }
.hero-text { position: absolute; z-index: 1; left: var(--gutter); right: var(--gutter); bottom: clamp(32px, 8vh, 96px); color: #fff; }
.hero-text h1 { color: #fff; font: 200 clamp(36px, 6.5vw, 84px)/1.05 var(--serif); margin-bottom: 28px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 80px); align-items: center; padding: clamp(40px, 8vw, 100px) var(--gutter); max-width: 1400px; margin: 0 auto; }
.split img { aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.split h2 { font-size: clamp(32px, 4vw, 52px); }
.bullets { padding-left: 20px; margin: 0 0 28px; }
.bullets li { margin-bottom: 8px; }
.feature-product { padding: 0 var(--gutter) clamp(40px, 8vw, 100px); max-width: 1100px; margin: 0 auto; }
.feature-card { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; text-decoration: none; background: #fff; border: 1px solid var(--line); padding: clamp(16px, 3vw, 40px); }
.feature-card img { max-height: 520px; margin: 0 auto; }
.feature-card h2 { font-size: clamp(30px, 3.5vw, 44px); }
.price { font-size: 20px; margin: 8px 0 4px; }
.duo { display: grid; grid-template-columns: 1fr 1fr; }
.duo img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }

/* Product */
.product { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(24px, 5vw, 72px); padding: clamp(24px, 4vw, 48px) var(--gutter); max-width: 1400px; margin: 0 auto; }
.gallery { display: grid; grid-template-columns: 84px 1fr; gap: 12px; align-self: start; position: sticky; top: 80px; }
.thumbs { display: flex; flex-direction: column; gap: 10px; max-height: 80vh; overflow-y: auto; }
.thumb { border: 1px solid transparent; padding: 0; background: #fff; cursor: pointer; }
.thumb.active { border-color: var(--black); }
.thumb img { aspect-ratio: 2/3; object-fit: cover; width: 100%; }
.main-image { position: relative; background: #fff; }
.main-image img { width: 100%; aspect-ratio: 2/3; object-fit: cover; }
.slide-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.85); border: 0; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; }
.slide-btn.prev { left: 12px; }
.slide-btn.next { right: 12px; }
.slide-btn.next svg { transform: rotate(180deg); }
.product-info { text-align: left; }
.product-info h1 { font-size: clamp(36px, 4.5vw, 60px); margin-bottom: 8px; }
.product-info .btn { margin: 24px 0 8px; }
.pay-note { margin: 0 0 32px; text-align: center; }
.description p { margin: 0 0 1em; }
.specs { background: var(--black); color: #fff; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 72px); padding: clamp(40px, 6vw, 80px) var(--gutter); align-items: center; }
.specs h2 { color: #fff; font-size: clamp(32px, 4vw, 48px); }
.specs table { width: 100%; border-collapse: collapse; }
.specs th, .specs td { text-align: left; vertical-align: top; padding: 16px 0; border-bottom: 1px solid #333; }
.specs th { font-weight: 500; width: 40%; padding-right: 16px; }
.specs img { max-height: 520px; margin: 0 auto; border: 1px solid #333; }
.features { padding: clamp(40px, 6vw, 80px) var(--gutter); max-width: 1400px; margin: 0 auto; }
.features h2 { font-size: clamp(32px, 4vw, 48px); }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.feature { background: #fff; padding: 24px; }
.feature h3 { font-size: 18px; margin-bottom: 6px; }
.feature p { margin: 0; color: var(--muted); }

/* Generic pages */
.page { padding: clamp(32px, 6vw, 72px) var(--gutter); max-width: 1200px; margin: 0 auto; }
.page.narrow { max-width: 760px; }
.page h1 { font-size: clamp(36px, 5vw, 56px); }
.prose h2 { font: 500 20px var(--sans); margin-top: 1.8em; }
.prose img { margin-top: 32px; }
.support-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.support-card { background: #fff; border: 1px solid var(--line); padding: 24px; }
.support-card h2 { font: 500 18px var(--sans); margin-top: 0; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; }
.card { text-decoration: none; background: #fff; border: 1px solid var(--line); padding: 16px; }
.card h2 { font-size: 18px; margin: 12px 0 4px; }


/* Footer */
.site-footer { background: var(--dark); color: #ddd; padding: clamp(40px, 6vw, 64px) var(--gutter) 24px; font-size: 15px; }
.site-footer a { color: #ddd; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-bottom: 48px; }
.footer-title { font: 200 26px var(--serif); color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; text-transform: uppercase; font-size: 13px; line-height: 2.2; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; font-size: 12px; color: #aaa; }
.footer-bottom .ig { margin-left: auto; }

/* Mobile */
@media (max-width: 800px) {
  .menu-toggle { display: inline-flex; }
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg); flex-direction: column; gap: 0; border-bottom: 1px solid var(--line); }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: 14px var(--gutter); }
  .split, .feature-card, .product, .specs, .footer-grid { grid-template-columns: 1fr; }
  .split img { order: 2; }
  .gallery { grid-template-columns: 1fr; position: static; }
  .thumbs { order: 2; flex-direction: row; overflow-x: auto; }
  .thumb { flex: 0 0 64px; }
  .features-grid, .support-grid { grid-template-columns: 1fr; }
}

/* Language switch */
.nav-right { display: flex; align-items: center; gap: 18px; }
.lang-switch { display: flex; align-items: center; gap: 6px; font-size: 14px; }
.lang-switch a { text-decoration: none; color: var(--muted); }
.lang-switch a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.lang-switch [aria-current] { font-weight: 500; }
.lang-switch .sep { color: var(--line); }
@media (max-width: 800px) {
  .nav-right .cart-link { display: none; }
  .logo { font-size: 15px; }
}

/* Reviews */
.stars { color: #1f1f1f; letter-spacing: 2px; font-size: 16px; }
.stars-off { color: var(--line); }
.rating-link { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-size: 15px; margin-bottom: 4px; }
.rating-link span:last-child { text-decoration: underline; text-underline-offset: 3px; }
.reviews { padding: 0 var(--gutter) clamp(40px, 6vw, 80px); max-width: 1400px; margin: 0 auto; }
.reviews h2 { font-size: clamp(32px, 4vw, 48px); }
.reviews-summary { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.reviews-avg { font: 200 56px/1 var(--serif); }
.reviews-summary .stars { font-size: 20px; }
.reviews-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.review { background: #fff; border: 1px solid var(--line); padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.review header { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.review h3 { font: 500 16px var(--sans); margin: 0; }
.review p { margin: 0; flex: 1; }
.verified { color: #2f6f3e; }
.reviews-note { margin-top: 16px; }
.reviews { scroll-margin-top: 72px; }
