:root {
  --color-primary: #999999;
  --color-accent: #262626;
  --color-dark: #132127;
  --color-light: #F4F7F9;
  --color-white: #FFFFFF;
  --color-border: #E2E8F0;
  --color-grass: #4E7C46;
  --color-slate: #44657E;
  --color-grey-text: #6B7280;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --radius: 8px;
  --shadow: 0 2px 12px rgba(19,33,39,0.08);
  --shadow-hover: 0 6px 24px rgba(19,33,39,0.14);
  --transition: 0.22s ease;
  --container: 1160px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-sans);
  color: var(--color-dark);
  background: var(--color-white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, picture { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4, h5 {
  line-height: 1.25;
  font-weight: 700;
  color: var(--color-dark);
}

h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.5rem); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 72px 0; }
.section--light { background: var(--color-light); }
.section__title { text-align: center; margin-bottom: 16px; }
.section__subtitle {
  text-align: center;
  color: var(--color-grey-text);
  font-size: 1.1rem;
  margin-bottom: 48px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition);
  line-height: 1;
  white-space: nowrap;
}

.btn--primary {
  background: var(--color-dark);
  color: var(--color-white);
  border-color: var(--color-dark);
}
.btn--primary:hover {
  background: #1e3540;
  border-color: #1e3540;
  box-shadow: 0 4px 16px rgba(19,33,39,0.25);
}

.btn--outline {
  background: transparent;
  color: var(--color-dark);
  border-color: var(--color-dark);
}
.btn--outline:hover {
  background: var(--color-dark);
  color: var(--color-white);
}

.btn--light {
  background: var(--color-white);
  color: var(--color-dark);
  border-color: var(--color-white);
}
.btn--light:hover {
  background: var(--color-light);
  border-color: var(--color-light);
}

.badge {
  display: inline-block;
  background: var(--color-dark);
  color: var(--color-white);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* =====================================================
   HEADER / NAV
===================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 1px 6px rgba(0,0,0,0.06);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.site-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.site-logo img {
  height: 40px;
  width: auto;
}

.site-nav { display: flex; align-items: center; gap: 32px; }

.site-nav__link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--color-dark);
  position: relative;
  transition: color var(--transition);
}
.site-nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-dark);
  transition: width var(--transition);
}
.site-nav__link:hover::after,
.site-nav__link.active::after { width: 100%; }
.site-nav__link:hover { color: var(--color-slate); }

.site-header__lang {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-grey-text);
}
.site-header__lang a { color: inherit; transition: color var(--transition); }
.site-header__lang a:hover,
.site-header__lang a.lang-active { color: var(--color-dark); }
.site-header__lang span { color: var(--color-border); }

.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
}
.nav-burger span {
  display: block;
  height: 2px;
  background: var(--color-dark);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.nav-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.is-open span:nth-child(2) { opacity: 0; }
.nav-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =====================================================
   HERO
===================================================== */
.hero {
  position: relative;
  min-height: 540px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--color-dark);
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.55;
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 80px 0;
}

.hero__eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 16px;
}

.hero h1 { color: var(--color-white); margin-bottom: 20px; }

.hero__lead {
  color: rgba(255,255,255,0.88);
  font-size: 1.2rem;
  max-width: 520px;
  margin-bottom: 36px;
}

.hero__cta { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }

/* =====================================================
   PRODUCT GRID
===================================================== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
}

.product-card {
  background: var(--color-white);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}
.product-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.product-card__image {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--color-light);
}
.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.product-card:hover .product-card__image img { transform: scale(1.04); }

.product-card__body { padding: 20px; }
.product-card__title { font-size: 1.05rem; margin-bottom: 6px; }
.product-card__price {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 14px;
}
.product-card__price del {
  font-size: 0.9rem;
  color: var(--color-grey-text);
  font-weight: 400;
  margin-right: 6px;
}

.color-dot {
  display: inline-block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--color-border);
  margin-right: 4px;
  cursor: pointer;
  transition: border-color var(--transition), transform var(--transition);
}
.color-dot.active, .color-dot:hover {
  border-color: var(--color-dark);
  transform: scale(1.2);
}
.product-card__colors { display: flex; align-items: center; gap: 4px; margin-bottom: 16px; }

/* =====================================================
   FEATURES / USP
===================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 32px;
}

.feature-card {
  text-align: center;
  padding: 28px 20px;
}

.feature-card__icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--color-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.75rem;
}

.feature-card h3 { margin-bottom: 10px; font-size: 1.1rem; }
.feature-card p { color: var(--color-grey-text); font-size: 0.95rem; }

/* =====================================================
   MASONRY / PHOTO GRID
===================================================== */
.masonry {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 260px);
  gap: 12px;
}
.masonry__item { overflow: hidden; border-radius: var(--radius); }
.masonry__item--large {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
}
.masonry__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.masonry__item:hover img { transform: scale(1.05); }

/* =====================================================
   PRODUCT PAGE
===================================================== */
.product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.product-gallery__main {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-light);
  margin-bottom: 12px;
}
.product-gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-gallery__thumbs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.product-gallery__thumb {
  width: 72px;
  height: 72px;
  border-radius: 6px;
  overflow: hidden;
  border: 2px solid var(--color-border);
  cursor: pointer;
  transition: border-color var(--transition);
  flex-shrink: 0;
}
.product-gallery__thumb.active,
.product-gallery__thumb:hover { border-color: var(--color-dark); }
.product-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }

.product-info__price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 20px;
}

.product-info__desc {
  color: var(--color-grey-text);
  margin-bottom: 28px;
  font-size: 1rem;
  line-height: 1.75;
}

.specs-list { list-style: none; margin-bottom: 28px; }
.specs-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.95rem;
  color: var(--color-dark);
}
.specs-list li:last-child { border-bottom: none; }
.specs-list li::before {
  content: '✓';
  color: var(--color-grass);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.add-to-cart-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }

/* =====================================================
   BREADCRUMB
===================================================== */
.breadcrumb {
  padding: 14px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--color-grey-text);
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--color-grey-text); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--color-dark); }
.breadcrumb span { color: var(--color-border); }

/* =====================================================
   TABS / FAQ
===================================================== */
.tabs { margin-bottom: 40px; }
.tabs__nav { display: flex; border-bottom: 2px solid var(--color-border); margin-bottom: 28px; gap: 4px; }
.tab-btn {
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  padding: 10px 20px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-grey-text);
  cursor: pointer;
  transition: color var(--transition), border-color var(--transition);
}
.tab-btn.active,
.tab-btn:hover { color: var(--color-dark); }
.tab-btn.active { border-bottom-color: var(--color-dark); }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeIn 0.25s ease; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.faq-item { border-bottom: 1px solid var(--color-border); }
.faq-question {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-dark);
  cursor: pointer;
  text-align: left;
  gap: 16px;
}
.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--color-grey-text);
  flex-shrink: 0;
  transition: transform 0.25s;
}
.faq-question[aria-expanded="true"]::after { transform: rotate(45deg); }
.faq-answer { display: none; padding: 0 0 18px; color: var(--color-grey-text); font-size: 0.95rem; line-height: 1.75; }
.faq-answer.open { display: block; animation: fadeIn 0.2s ease; }

/* =====================================================
   REVIEWS
===================================================== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.review-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 24px;
}

.review-card__stars { color: #F59E0B; font-size: 1.1rem; margin-bottom: 12px; }
.review-card__text { color: var(--color-grey-text); font-size: 0.95rem; margin-bottom: 16px; line-height: 1.7; }
.review-card__author { font-weight: 700; font-size: 0.9rem; }
.review-card__location { font-size: 0.82rem; color: var(--color-grey-text); }

/* =====================================================
   CTA BANNER
===================================================== */
.cta-banner {
  background: var(--color-dark);
  color: var(--color-white);
  padding: 72px 0;
  text-align: center;
}
.cta-banner h2 { color: var(--color-white); margin-bottom: 16px; }
.cta-banner p { color: rgba(255,255,255,0.78); font-size: 1.1rem; margin-bottom: 32px; max-width: 560px; margin-left: auto; margin-right: auto; }

/* =====================================================
   COLLECTION PAGE
===================================================== */
.collection-header {
  padding: 48px 0 32px;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 40px;
}
.collection-header h1 { margin-bottom: 12px; }
.collection-header p { color: var(--color-grey-text); max-width: 600px; }

.collection-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 12px;
}
.collection-meta__count { color: var(--color-grey-text); font-size: 0.9rem; }

/* =====================================================
   FOOTER
===================================================== */
.site-footer {
  background: var(--color-dark);
  color: rgba(255,255,255,0.7);
  padding: 56px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand__logo { margin-bottom: 16px; filter: brightness(0) invert(1); opacity: 0.9; }
.footer-brand__desc { font-size: 0.9rem; line-height: 1.7; margin-bottom: 20px; }

.footer-col h4 {
  color: var(--color-white);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--color-white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 12px;
}

/* =====================================================
   SPECS TABLE
===================================================== */
.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 0.95rem;
}
.specs-table th, .specs-table td {
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  text-align: left;
}
.specs-table th { background: var(--color-light); font-weight: 700; }
.specs-table tr:nth-child(even) td { background: var(--color-light); }

/* =====================================================
   UTILITY
===================================================== */
.text-center { text-align: center; }
.mt-4 { margin-top: 16px; }
.mt-8 { margin-top: 32px; }
.mb-4 { margin-bottom: 16px; }
.mb-8 { margin-bottom: 32px; }
.gap-sm { gap: 16px; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }

/* =====================================================
   RESPONSIVE: 1200px
===================================================== */
@media (max-width: 1200px) {
  :root { --container: 960px; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* =====================================================
   RESPONSIVE: 992px
===================================================== */
@media (max-width: 992px) {
  .site-nav { display: none; }
  .nav-burger { display: flex; }

  .site-nav.is-open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-white);
    padding: 32px 24px;
    z-index: 100;
    gap: 8px;
    overflow-y: auto;
  }
  .site-nav.is-open .site-nav__link {
    font-size: 1.25rem;
    padding: 12px 0;
    border-bottom: 1px solid var(--color-border);
    width: 100%;
  }
  .site-nav.is-open .site-nav__link::after { display: none; }

  .product-layout { grid-template-columns: 1fr; gap: 32px; }
  .masonry { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .masonry__item--large { grid-column: 1 / -1; grid-row: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}

/* =====================================================
   RESPONSIVE: 768px
===================================================== */
@media (max-width: 768px) {
  .section { padding: 48px 0; }
  .hero { min-height: 420px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .masonry { grid-template-columns: 1fr; }
  .masonry__item { height: 220px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* =====================================================
   RESPONSIVE: 480px
===================================================== */
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .product-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.75rem; }
  .hero__cta { flex-direction: column; align-items: flex-start; }
  .btn { width: 100%; text-align: center; }
  .tabs__nav { overflow-x: auto; white-space: nowrap; }
  .add-to-cart-row { flex-direction: column; }
  .add-to-cart-row .btn { width: 100%; text-align: center; }
  .product-info__price { font-size: 1.6rem; }
}
