/* ============================================
   WoodWave WOOD - Static Site Styles
   Dark Wood Theme Design System
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  --wood-950: #1a1008;
  --wood-900: #2d1c0d;
  --wood-800: #4a2e15;
  --wood-700: #6d4420;
  --wood-600: #8b5a2b;
  --wood-500: #a2733f;
  --wood-400: #c48b52;
  --wood-300: #d4a373;
  --wood-200: #e8d0a8;
  --wood-100: #f5ead6;
  --wood-50: #fdf8f0;
  --gold: #d4a373;
  --gold-light: #e8c9a0;
  --cream: #faf6f0;
  --font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-family);
  background-color: var(--wood-950);
  color: var(--wood-100);
  line-height: 1.6;
  overflow-x: hidden;
}

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

img {
  max-width: 100%;
  display: block;
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
  color: inherit;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

ul, ol {
  list-style: none;
}

/* --- Custom Scrollbar --- */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--wood-950);
}
::-webkit-scrollbar-thumb {
  background: var(--wood-500);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--wood-400);
}

/* --- Utility Classes --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header .label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--wood-50);
  line-height: 1.2;
}

.gold-gradient {
  background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--wood-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gold-gradient-bg {
  background: linear-gradient(135deg, var(--wood-600), var(--gold), var(--gold-light));
}

/* --- Scroll Reveal Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }
.reveal-delay-7 { transition-delay: 0.7s; }
.reveal-delay-8 { transition-delay: 0.8s; }

/* ============================================
   1. HEADER
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 12px 0;
  transition: background 0.3s ease, backdrop-filter 0.3s ease, box-shadow 0.3s ease;
}

.header.scrolled {
  background: rgba(26, 16, 8, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

/* На мобільних хедер з напівпрозорим фоном для видимості лого */
@media (max-width: 1024px) {
  .header {
    background: rgba(26, 16, 8, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: background 0.3s ease, backdrop-filter 0.3s ease, -webkit-backdrop-filter 0.3s ease, box-shadow 0.3s ease;
  }
  /* При скролі на мобільних фон хедера зникає разом з лого,
     але бургер-меню залишається видимим (він має власний фон) */
  .header.scrolled {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
  }
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo img {
  height: 80px;
  width: 190px;
  object-fit: cover;
  border-radius: 8px;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.logo-text .wood {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-text .wave {
  color: var(--wood-100);
}

/* На мобільних/планшетах лого компактне */
@media (max-width: 1024px) {
  .logo {
    flex-shrink: 0;
    max-width: 160px;
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  .logo img {
    height: 40px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    border-radius: 4px;
  }

  /* Лого зникає при скролі на мобільних/планшетах */
  .header.scrolled .logo {
    opacity: 0;
    transform: translateX(-20px);
    pointer-events: none;
  }

  .header {
    top: 0;
  }
}

@media (max-width: 480px) {
  .logo {
    max-width: 120px;
  }

  .logo img {
    height: 32px;
    max-width: 120px;
  }
}

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

.nav-desktop a {
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--wood-200);
  position: relative;
  padding: 4px 0;
  transition: color 0.3s ease;
}

.nav-desktop a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transition: width 0.3s ease;
}

.nav-desktop a:hover {
  color: var(--gold);
}

.nav-desktop a:hover::after {
  width: 100%;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--wood-200);
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: linear-gradient(135deg, var(--wood-600), var(--gold));
  color: var(--wood-50);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(212, 163, 115, 0.3);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 1001;
  position: relative;
}

/* На мобільних бургер-меню завжди видиме і закріплене справа вгорі */
@media (max-width: 1024px) {
  .hamburger {
    display: flex;
    position: fixed;
    top: 16px;
    right: 16px;
    z-index: 1002;
    background: rgba(26, 16, 8, 0.6);
    border-radius: 8px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 10px;
    transition: background 0.3s ease;
  }

  .hamburger:hover {
    background: rgba(26, 16, 8, 0.8);
  }
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--wood-100);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(26, 16, 8, 0.98);
  z-index: 1001;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-menu.open {
  display: flex;
  opacity: 1;
}

.mobile-menu a {
  font-size: 1.25rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--wood-200);
  transition: color 0.3s ease;
}

.mobile-menu a:hover {
  color: var(--gold);
}

/* Кнопка закриття мобільного меню (хрестик) */
.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  color: var(--wood-200);
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
  z-index: 10;
}

.mobile-menu-close:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--gold);
  transform: rotate(90deg);
}

/* ============================================
   2. HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('original/hero-bg.jpg') center/cover no-repeat;
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(26, 16, 8, 0.7) 0%, rgba(26, 16, 8, 0.3) 40%, rgba(26, 16, 8, 0.5) 70%, rgba(26, 16, 8, 0.9) 100%),
    linear-gradient(to right, rgba(26, 16, 8, 0.5) 0%, transparent 30%, transparent 70%, rgba(26, 16, 8, 0.5) 100%);
}

.hero-blur-circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(162, 115, 63, 0.1);
  filter: blur(80px);
  pointer-events: none;
}

.hero-blur-circle.circle-1 {
  width: 400px;
  height: 400px;
  top: 10%;
  left: 10%;
}

.hero-blur-circle.circle-2 {
  width: 300px;
  height: 300px;
  bottom: 20%;
  right: 15%;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 30px 20px;
  color: #f0e6d2;
}

/* Тіні для кнопок */
.hero-content a,
.hero-content button {
  display: inline-block;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  transition: box-shadow 0.2s ease;
}

.hero-content a:hover,
.hero-content button:hover {
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.4);
}

/* Тінь для тексту щоб не зливався з фоном */
.hero-content h1,
.hero-content h2,
.hero-content h3,
.hero-content p,
.hero-content span,
.hero-title-wood,
.hero-title-sub,
.hero-subtitle,
.hero-sub-subtitle,
.hero-badge {
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8), 0 1px 3px rgba(0, 0, 0, 0.6);
}

/* Адаптація для мобільних пристроїв */
@media (max-width: 768px) {
  .hero-content {
    padding: 20px 15px;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border: 1px solid rgba(240, 230, 210, 0.4);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #f0e6d2;
  margin-bottom: 24px;
}

.hero-title-wood {
  font-size: clamp(3rem, 10vw, 7rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #f0e6d2;
  margin-bottom: 8px;
}

.hero-title-sub {
  font-size: clamp(1.2rem, 3vw, 2rem);
  font-weight: 300;
  color: #f0e6d2;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 1rem;
  color: #f0e6d2;
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}

.hero-sub-subtitle {
  font-size: 1.1rem;
  color: #f0e6d2;
  margin-bottom: 40px;
  font-weight: 300;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  -webkit-text-stroke: 0px white; /* біла обводка 1px */
}

.btn-solid {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: linear-gradient(135deg, var(--wood-700), var(--wood-500));
  color: var(--wood-50);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-solid:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(162, 115, 63, 0.3);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border: 1.5px solid var(--wood-500);
  color: var(--gold);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 10px;
  transition: background 0.3s ease, transform 0.3s ease;
}

.btn-outline:hover {
  background: rgba(162, 115, 63, 0.1);
  transform: translateY(-2px);
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--wood-400);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.scroll-indicator svg {
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(8px); }
  60% { transform: translateY(4px); }
}

/* ============================================
   2.5. ABOUT US SECTION
   ============================================ */
.about-section {
  background: var(--wood-950);
  padding: 80px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.about-image:hover img {
  transform: scale(1.03);
}

.about-image-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(26, 16, 8, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 12px 20px;
  border-radius: 12px;
  border: 1px solid var(--wood-700);
}

.about-image-badge .badge-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}

.about-image-badge .badge-label {
  font-size: 0.75rem;
  color: var(--wood-300);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-content .section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
}

.about-content h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--wood-50);
  line-height: 1.2;
}

.about-content h2 .gold-gradient {
  background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--wood-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-description {
  font-size: 0.95rem;
  color: var(--wood-300);
  line-height: 1.8;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 8px;
}

.about-stat {
  text-align: center;
  padding: 20px 12px;
  background: var(--wood-900);
  border-radius: 12px;
  border: 1px solid var(--wood-800);
}

.about-stat .stat-number {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 4px;
}

.about-stat .stat-label {
  font-size: 0.7rem;
  color: var(--wood-400);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .about-section {
    padding: 60px 0;
  }

  .about-content h2 {
    font-size: 1.8rem;
  }

  .about-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .about-stat .stat-number {
    font-size: 1.4rem;
  }
}

/* ============================================
   3. MARQUEE STRIP
   ============================================ */
.marquee-strip {
  background: var(--wood-900);
  border-top: 1px solid var(--wood-800);
  border-bottom: 1px solid var(--wood-800);
  overflow: hidden;
  padding: 14px 0;
}

.marquee-track {
  display: flex;
  animation: marquee 30s linear infinite;
  width: max-content;
}

.marquee-track:hover {
  animation-play-state: paused;
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 32px;
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--wood-300);
  white-space: nowrap;
}

.marquee-item svg {
  width: 14px;
  height: 14px;
  color: var(--gold);
  flex-shrink: 0;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================
   4. PRODUCT SECTION
   ============================================ */
.product-section {
  background: var(--wood-950);
  padding: 80px 0;
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.product-image-wrapper {
  position: relative;
}

.product-image-container {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: var(--wood-900);
  aspect-ratio: 4/3;
}

.product-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.5s ease;
}

.product-image-container img.fading {
  opacity: 0;
}

.product-badge-new {
  position: absolute;
  top: 16px;
  left: 16px;
  background: linear-gradient(135deg, var(--wood-600), var(--gold));
  color: var(--wood-50);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 6px 14px;
  border-radius: 6px;
  z-index: 2;
}

.color-selector {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.color-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.color-option:hover {
  transform: scale(1.05);
}

.color-swatch {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 3px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.color-option.active .color-swatch {
  border-color: var(--gold);
  box-shadow: 0 0 12px rgba(212, 163, 115, 0.4);
}

.color-label {
  font-size: 0.7rem;
  color: var(--wood-400);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.color-option.active .color-label {
  color: var(--gold);
}

.product-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.product-stock-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 500;
  color: #4ade80;
}

.product-stars {
  display: flex;
  gap: 2px;
}

.product-stars svg {
  width: 16px;
  height: 16px;
  fill: var(--gold);
  color: var(--gold);
}

.product-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--wood-50);
  line-height: 1.2;
}

.product-subtitle-gold {
  font-size: 1.5rem;
  font-weight: 600;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.product-price-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.product-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
}

.product-price-old {
  font-size: 1.2rem;
  color: var(--wood-500);
  text-decoration: line-through;
}

.product-discount {
  font-size: 0.75rem;
  font-weight: 700;
  background: #dc2626;
  color: white;
  padding: 4px 10px;
  border-radius: 6px;
}

.product-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.spec-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--wood-900);
  border-radius: 10px;
  border: 1px solid var(--wood-800);
}

.spec-item svg {
  width: 18px;
  height: 18px;
  color: var(--gold);
  flex-shrink: 0;
}

.spec-item .spec-label {
  font-size: 0.7rem;
  color: var(--wood-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.spec-item .spec-value {
  font-size: 0.85rem;
  color: var(--wood-100);
  font-weight: 500;
}

.product-description {
  font-size: 0.95rem;
  color: var(--wood-300);
  line-height: 1.7;
}

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

.quantity-selector {
  display: flex;
  align-items: center;
  border: 1px solid var(--wood-700);
  border-radius: 10px;
  overflow: hidden;
}

.quantity-selector button {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--wood-200);
  transition: background 0.3s ease;
}

.quantity-selector button:hover {
  background: var(--wood-800);
}

.quantity-selector .qty-value {
  width: 44px;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--wood-100);
  border-left: 1px solid var(--wood-700);
  border-right: 1px solid var(--wood-700);
  height: 40px;
  line-height: 40px;
}

.benefits-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.benefit-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: 16px 10px;
  background: var(--wood-900);
  border-radius: 10px;
  border: 1px solid var(--wood-800);
}

.benefit-card svg {
  width: 22px;
  height: 22px;
  color: var(--gold);
}

.benefit-card .benefit-title {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--wood-200);
}

.benefit-card .benefit-sub {
  font-size: 0.7rem;
  color: var(--wood-500);
}

.payment-methods {
  font-size: 0.8rem;
  color: var(--wood-400);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.payment-methods .divider {
  color: var(--wood-600);
}

/* ============================================
   5. FEATURES SECTION
   ============================================ */
.features-section {
  background: var(--wood-900);
  padding: 80px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card {
  padding: 28px 24px;
  background: var(--wood-950);
  border-radius: 14px;
  border: 1px solid var(--wood-800);
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.feature-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
}

.feature-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--wood-900);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: background 0.3s ease;
}

.feature-card:hover .feature-icon-box {
  background: linear-gradient(135deg, var(--wood-700), var(--gold));
}

.feature-icon-box svg {
  width: 22px;
  height: 22px;
  color: var(--gold);
}

.feature-card:hover .feature-icon-box svg {
  color: var(--wood-50);
}

.feature-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--wood-100);
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.85rem;
  color: var(--wood-400);
  line-height: 1.6;
}

.features-showcase {
  position: relative;
  margin-top: 60px;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 21/9;
}

.features-showcase img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.features-showcase-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 16, 8, 0.8), transparent 50%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 40px;
}

.features-showcase-overlay h3 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--wood-50);
  letter-spacing: 0.05em;
}

/* ============================================
   6. HOW IT WORKS SECTION
   ============================================ */
.how-section {
  background: var(--wood-950);
  padding: 80px 0;
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.how-step {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
}

.how-step-image {
  aspect-ratio: 4/3;
  position: relative;
}

.how-step-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.how-step-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 16, 8, 0.85) 0%, rgba(26, 16, 8, 0.2) 50%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
}

.how-step-number {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--wood-600), var(--gold));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--wood-50);
}

.how-step-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--wood-50);
  margin-bottom: 6px;
}

.how-step-desc {
  font-size: 0.85rem;
  color: var(--wood-300);
  line-height: 1.5;
}

.how-video {
  margin-top: 48px;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16/9;
  border: 1px solid var(--wood-800);
}

.how-video iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ============================================
   7. GALLERY SECTION
   ============================================ */

/* --- Desktop Video (above gallery) --- */
.desktop-video-wrapper {
  padding: 60px 0 0;
  background: var(--wood-900);
}

@media (max-width: 768px) {
  .desktop-video-wrapper {
    display: none;
  }
}

.gallery-section {
  background: var(--wood-900);
  padding: 80px 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 16px;
}

.gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
}

.gallery-item.span-2-col {
  grid-column: span 2;
}

.gallery-item.span-2-row {
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 16, 8, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}

.gallery-item-overlay svg {
  width: 32px;
  height: 32px;
  color: var(--gold);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox.open {
  display: flex;
  opacity: 1;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--wood-200);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transition: background 0.3s ease;
  z-index: 2;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--wood-200);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transition: background 0.3s ease;
  z-index: 2;
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

.lightbox-counter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.9rem;
  color: var(--wood-300);
  z-index: 2;
}

/* ============================================
   8. TESTIMONIALS
   ============================================ */
.testimonials-section {
  background: var(--wood-950);
  padding: 80px 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  padding: 28px;
  background: var(--wood-900);
  border-radius: 14px;
  border: 1px solid var(--wood-800);
  transition: border-color 0.3s ease;
}

.testimonial-card:hover {
  border-color: var(--wood-600);
}

.testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 16px;
}

.testimonial-stars svg {
  width: 16px;
  height: 16px;
  fill: var(--gold);
  color: var(--gold);
}

.testimonial-quote {
  font-size: 0.95rem;
  color: var(--wood-200);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--wood-600), var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  color: var(--wood-50);
  flex-shrink: 0;
}

.testimonial-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--wood-100);
}

.testimonial-location {
  font-size: 0.75rem;
  color: var(--wood-500);
  display: flex;
  align-items: center;
  gap: 4px;
}

.testimonial-location svg {
  width: 12px;
  height: 12px;
}

/* ============================================
   9. CONTACT SECTION
   ============================================ */
.contact-section {
  background: var(--wood-900);
  padding: 80px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--wood-800);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-icon svg {
  width: 20px;
  height: 20px;
  color: var(--gold);
}

.contact-info-text .ci-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--wood-500);
  margin-bottom: 4px;
}

.contact-info-text .ci-value {
  font-size: 0.95rem;
  color: var(--wood-100);
  font-weight: 500;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--wood-400);
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 12px 16px;
  background: var(--wood-950);
  border: 1px solid var(--wood-700);
  border-radius: 10px;
  color: var(--wood-100);
  font-size: 0.9rem;
  transition: border-color 0.3s ease;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--gold);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23a2733f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 40px;
}

.form-group select option {
  background: var(--wood-950);
  color: var(--wood-100);
}

.btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  background: linear-gradient(135deg, var(--wood-600), var(--gold));
  color: var(--wood-50);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(162, 115, 63, 0.3);
}

.form-success {
  display: none;
  padding: 16px;
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.3);
  border-radius: 10px;
  color: #4ade80;
  font-size: 0.9rem;
  text-align: center;
}

.form-success.show {
  display: block;
}

/* ============================================
   10. FOOTER
   ============================================ */
.footer {
  background: var(--footer-bg, var(--wood-950));
  padding: 60px 0 0;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--wood-300), var(--gold), transparent);
  opacity: 0.6;
}

.footer-brand {
  padding-bottom: 32px;
}

.footer-brand .logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer-brand p {
  font-size: var(--footer-fs, 0.9rem);
  color: var(--footer-text, var(--wood-400));
  line-height: 1.8;
  margin-top: 16px;
  max-width: 340px;
}

.footer-col {
  padding-bottom: 32px;
}

.footer-col h4 {
  font-size: var(--footer-hs, 0.8rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--footer-heading, var(--wood-200));
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li {
  list-style: none;
}

.footer-col ul li a {
  font-size: var(--footer-fs, 0.85rem);
  color: var(--footer-link, var(--wood-400));
  transition: color 0.3s ease, padding-left 0.3s ease;
  text-decoration: none;
}

.footer-col ul li a:hover {
  color: var(--footer-link-hover, var(--gold));
  padding-left: 6px;
}

/* Legal links */
.footer-legal {
  padding: 0 0 24px;
  margin-bottom: 0;
}

.footer-legal-title {
  font-size: var(--footer-hs, 0.8rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--footer-heading, var(--wood-200));
  margin-right: 16px;
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}

.footer-legal-link {
  font-size: var(--footer-ls, 0.85rem);
  color: var(--footer-legal, var(--wood-400));
  transition: color 0.3s ease;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}

.footer-legal-link:hover {
  color: var(--footer-link-hover, var(--gold));
}

/* Newsletter */
.footer-newsletter {
  padding-bottom: 32px;
}

.footer-newsletter h4 {
  font-size: var(--footer-hs, 0.8rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--footer-heading, var(--wood-200));
  margin-bottom: 10px;
  position: relative;
  padding-bottom: 10px;
}

.footer-newsletter h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.footer-newsletter > p {
  font-size: var(--footer-fs, 0.85rem);
  color: var(--footer-text, var(--wood-400));
  line-height: 1.6;
  margin-bottom: 14px;
}

.footer-newsletter-form {
  display: flex;
  gap: 8px;
}

.footer-newsletter-input {
  flex: 1;
  padding: 10px 14px;
  background: var(--wood-900);
  border: 1px solid var(--wood-700);
  border-radius: 8px;
  color: var(--wood-100);
  font-size: 0.85rem;
  outline: none;
  transition: border-color 0.3s ease;
}

.footer-newsletter-input:focus {
  border-color: var(--gold);
}

.footer-newsletter-input::placeholder {
  color: var(--wood-600);
}

.footer-newsletter-btn {
  padding: 10px 20px;
  background: linear-gradient(135deg, var(--gold), var(--wood-400));
  color: var(--wood-950);
  font-weight: 600;
  font-size: 0.85rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.footer-newsletter-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(212, 163, 115, 0.3);
}

/* Social links */
.footer-social {
  display: flex;
  gap: 12px;
  padding-bottom: 32px;
}

.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--wood-900);
  border: 1px solid var(--wood-800);
  color: var(--footer-text, var(--wood-400));
  transition: all 0.3s ease;
}

.footer-social-link:hover {
  background: var(--gold);
  color: var(--wood-950);
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 4px 16px rgba(212, 163, 115, 0.25);
}

/* Footer bottom */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  font-size: var(--footer-cs, 0.8rem);
  color: var(--wood-600);
}

.footer-back-top {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--wood-900);
  border: 1px solid var(--wood-700);
  color: var(--wood-400);
  cursor: pointer;
  transition: all 0.3s ease;
}

.footer-back-top:hover {
  background: var(--gold);
  color: var(--wood-950);
  border-color: var(--gold);
  transform: translateY(-2px);
}

/* Footer: blocks stacked vertically (one under another) */
.footer > .container {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Legal, social & newsletter full width by default */
.footer-legal,
.footer-social,
.footer-newsletter {
  width: 100%;
}

/* Block alignment: full = center text + full width, others = auto */
.footer-block-align[data-align-desktop="full"] {
  width: 100%;
}

.footer-block-align[data-align-desktop="left"] {
  align-self: flex-start;
}
.footer-block-align[data-align-desktop="center"] {
  align-self: center;
}
.footer-block-align[data-align-desktop="right"] {
  align-self: flex-end;
}

/* Mobile overrides for footer */
@media (max-width: 768px) {
  .footer > .container {
    gap: 0;
  }
}

@media (max-width: 480px) {
  .footer > .container {
    gap: 0;
  }
  .footer-legal-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }
  .footer-legal-link {
    padding: 8px 0;
  }
  .footer-legal-title {
    display: block;
    margin-bottom: 8px;
    margin-right: 0;
  }
  .footer-newsletter-form {
    flex-direction: column;
  }
  .footer-newsletter-btn {
    width: 100%;
  }
  .footer-social {
    justify-content: center;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* ============================================
   10.4 FOOTER BLOCK ALIGNMENT SYSTEM
   ============================================ */

/* Базові класи для вирівнювання блоків підвалу */
.footer-block-align {
  transition: text-align 0.3s ease;
}

/* === DESKTOP alignment via data-align-desktop attribute === */

/* Left (default — no extra styles needed) */

/* Center */
.footer-block-align[data-align-desktop="center"] {
  text-align: center;
  align-self: center;
}
.footer-brand[data-align-desktop="center"] .logo { justify-content: center; }
.footer-brand[data-align-desktop="center"] p { margin-left: auto; margin-right: auto; }
.footer-col[data-align-desktop="center"] h4::after { left: 50%; transform: translateX(-50%); }
.footer-col[data-align-desktop="center"] ul { align-items: center; }
.footer-newsletter[data-align-desktop="center"] h4::after { left: 50%; transform: translateX(-50%); }
.footer-legal[data-align-desktop="center"] .footer-legal-links { justify-content: center; }
.footer-social[data-align-desktop="center"] { justify-content: center; }

/* Right */
.footer-block-align[data-align-desktop="right"] {
  text-align: right;
  align-self: flex-end;
}
.footer-col[data-align-desktop="right"] h4::after { left: auto; right: 0; }
.footer-col[data-align-desktop="right"] ul { align-items: flex-end; }
.footer-newsletter[data-align-desktop="right"] h4::after { left: auto; right: 0; }
.footer-legal[data-align-desktop="right"] .footer-legal-links { justify-content: flex-end; }
.footer-social[data-align-desktop="right"] { justify-content: flex-end; }

/* Full width */
.footer-block-align[data-align-desktop="full"] {
  text-align: center;
  width: 100%;
}
.footer-brand[data-align-desktop="full"] .logo { justify-content: center; }
.footer-brand[data-align-desktop="full"] p { margin-left: auto; margin-right: auto; max-width: 100%; }
.footer-col[data-align-desktop="full"] h4::after { left: 50%; transform: translateX(-50%); }
.footer-col[data-align-desktop="full"] ul { align-items: center; }
.footer-newsletter[data-align-desktop="full"] h4::after { left: 50%; transform: translateX(-50%); }
.footer-legal[data-align-desktop="full"] .footer-legal-links { justify-content: center; }
.footer-social[data-align-desktop="full"] { justify-content: center; }

/* === MOBILE alignment override via data-align-mobile attribute === */
@media (max-width: 768px) {
  /* Reset desktop alignment */
  .footer-block-align {
    text-align: left !important;
    align-self: auto !important;
    width: auto !important;
  }

  /* Mobile: Left (default — just reset above) */

  /* Mobile: Center */
  .footer-block-align[data-align-mobile="center"] {
    text-align: center !important;
    align-self: center !important;
  }
  .footer-brand[data-align-mobile="center"] .logo { justify-content: center; }
  .footer-brand[data-align-mobile="center"] p { margin-left: auto; margin-right: auto; }
  .footer-col[data-align-mobile="center"] h4::after { left: 50%; transform: translateX(-50%); }
  .footer-col[data-align-mobile="center"] ul { align-items: center; }
  .footer-newsletter[data-align-mobile="center"] h4::after { left: 50%; transform: translateX(-50%); }
  .footer-legal[data-align-mobile="center"] .footer-legal-links { justify-content: center; }
  .footer-social[data-align-mobile="center"] { justify-content: center; }

  /* Mobile: Right */
  .footer-block-align[data-align-mobile="right"] {
    text-align: right !important;
    align-self: flex-end !important;
  }
  .footer-col[data-align-mobile="right"] h4::after { left: auto; right: 0; }
  .footer-col[data-align-mobile="right"] ul { align-items: flex-end; }
  .footer-newsletter[data-align-mobile="right"] h4::after { left: auto; right: 0; }
  .footer-legal[data-align-mobile="right"] .footer-legal-links { justify-content: flex-end; }
  .footer-social[data-align-mobile="right"] { justify-content: flex-end; }

  /* Mobile: Full width */
  .footer-block-align[data-align-mobile="full"] {
    text-align: center !important;
    width: 100% !important;
  }
  .footer-brand[data-align-mobile="full"] .logo { justify-content: center; }
  .footer-brand[data-align-mobile="full"] p { margin-left: auto; margin-right: auto; max-width: 100%; }
  .footer-col[data-align-mobile="full"] h4::after { left: 50%; transform: translateX(-50%); }
  .footer-col[data-align-mobile="full"] ul { align-items: center; }
  .footer-newsletter[data-align-mobile="full"] h4::after { left: 50%; transform: translateX(-50%); }
  .footer-legal[data-align-mobile="full"] .footer-legal-links { justify-content: center; }
  .footer-social[data-align-mobile="full"] { justify-content: center; }
}

/* ============================================
   10.5 LEGAL MODAL
   ============================================ */
.legal-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.legal-modal-overlay.open {
  display: flex;
  opacity: 1;
}

.legal-modal {
  background: var(--wood-900);
  border: 1px solid var(--wood-700);
  border-radius: 20px;
  width: 100%;
  max-width: 800px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.legal-modal-overlay.open .legal-modal {
  transform: translateY(0);
}

.legal-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  border-radius: 50%;
  color: var(--wood-200);
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
  z-index: 10;
}

.legal-modal-close:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--gold);
  transform: rotate(90deg);
}

.legal-modal-header {
  padding: 28px 32px 20px;
  border-bottom: 1px solid var(--wood-800);
  position: relative;
  flex-shrink: 0;
}

.legal-modal-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--wood-50);
  line-height: 1.3;
  padding-right: 50px;
}

.legal-modal-body {
  padding: 28px 32px 32px;
  overflow-y: auto;
  flex: 1;
  color: var(--wood-200);
  font-size: 0.95rem;
  line-height: 1.8;
}

.legal-modal-body h1,
.legal-modal-body h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--wood-50);
  margin-top: 28px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--wood-800);
}

.legal-modal-body h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--wood-100);
  margin-top: 24px;
  margin-bottom: 8px;
}

.legal-modal-body p {
  margin-bottom: 14px;
}

.legal-modal-body ul,
.legal-modal-body ol {
  margin-bottom: 14px;
  padding-left: 24px;
}

.legal-modal-body ul {
  list-style: disc;
}

.legal-modal-body ol {
  list-style: decimal;
}

.legal-modal-body li {
  margin-bottom: 6px;
}

.legal-modal-body a {
  color: var(--gold);
  text-decoration: underline;
  text-decoration-color: rgba(212, 163, 115, 0.3);
  transition: color 0.3s ease, text-decoration-color 0.3s ease;
}

.legal-modal-body a:hover {
  color: var(--gold-light);
  text-decoration-color: var(--gold-light);
}

.legal-modal-body hr {
  border: none;
  border-top: 1px solid var(--wood-800);
  margin: 20px 0;
}

.legal-modal-body strong {
  color: var(--wood-100);
  font-weight: 600;
}

.legal-modal-body em {
  font-style: italic;
  color: var(--wood-300);
}

.legal-modal-body blockquote {
  border-left: 3px solid var(--gold);
  padding-left: 16px;
  margin: 16px 0;
  color: var(--wood-300);
  font-style: italic;
}

.legal-modal-loader {
  text-align: center;
  padding: 40px;
  color: var(--wood-500);
  font-size: 1rem;
}

/* Legal modal responsive */
@media (max-width: 768px) {
  .legal-modal-overlay {
    padding: 10px;
  }

  .legal-modal {
    max-height: 90vh;
    border-radius: 16px;
  }

  .legal-modal-header {
    padding: 20px 20px 16px;
  }

  .legal-modal-title {
    font-size: 1.25rem;
  }

  .legal-modal-body {
    padding: 20px;
    font-size: 0.9rem;
    line-height: 1.7;
  }

  .legal-modal-body h2 {
    font-size: 1.15rem;
  }

  .legal-modal-body h3 {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .legal-modal-overlay {
    padding: 0;
  }

  .legal-modal {
    max-height: 100vh;
    height: 100vh;
    border-radius: 0;
  }

  .legal-modal-header {
    padding: 16px 16px 12px;
  }

  .legal-modal-title {
    font-size: 1.1rem;
  }

  .legal-modal-body {
    padding: 16px;
    font-size: 0.88rem;
  }
}

/* ============================================
   11. FLOATING CTA
   ============================================ */
.sticky-blocks {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.float-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  cursor: pointer;
  border: none;
}

.float-btn:hover {
  transform: scale(1.1);
}

.float-btn-order {
  background: linear-gradient(135deg, #d4a373, #8b5a2b);
  color: #fdf8f0;
  box-shadow: 0 4px 20px rgba(212, 163, 115, 0.4);
  animation: pulse-glow 2s infinite;
}

.float-btn-scroll-order {
  background: linear-gradient(135deg, #8b5a2b, #5c3a1e);
  color: #fdf8f0;
  box-shadow: 0 4px 20px rgba(139, 90, 43, 0.5);
  animation: pulse-glow 2s infinite;
}

.float-btn-call {
  background: linear-gradient(135deg, var(--wood-600), var(--gold));
  color: var(--wood-50);
  box-shadow: 0 4px 20px rgba(162, 115, 63, 0.4);
  animation: pulse-glow 2s infinite;
}

.float-btn-whatsapp {
  background: #25D366;
  color: white;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
}

.float-btn svg {
  color: inherit;
  flex-shrink: 0;
}

/* Кнопка з текстом — продовгувата (pill-подібна) */
.float-btn.float-btn-has-text {
  width: auto;
  min-width: 56px;
  height: 48px;
  border-radius: 28px;
  padding: 0 18px 0 14px;
  gap: 8px;
}

.float-btn-label {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.floating-cta {
  position: relative;
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 4px 20px rgba(162, 115, 63, 0.4); }
  50% { box-shadow: 0 4px 30px rgba(212, 163, 115, 0.6); }
}

.floating-modal {
  position: absolute;
  bottom: 70px;
  right: 0;
  width: 300px;
  background: var(--wood-900);
  border: 1px solid var(--wood-700);
  border-radius: 14px;
  padding: 24px;
  display: none;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.floating-modal.open {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.floating-modal h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--wood-100);
  margin-bottom: 12px;
}

.floating-modal .fm-phone {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.floating-modal .fm-phone svg {
  width: 18px;
  height: 18px;
}

.floating-modal input,
.floating-modal textarea {
  width: 100%;
  padding: 10px 14px;
  background: var(--wood-950);
  border: 1px solid var(--wood-700);
  border-radius: 8px;
  color: var(--wood-100);
  font-size: 0.85rem;
  margin-bottom: 10px;
  outline: none;
  font-family: var(--font-family);
}

.floating-modal input:focus,
.floating-modal textarea:focus {
  border-color: var(--gold);
}

.floating-modal textarea {
  min-height: 70px;
  resize: vertical;
}

.floating-modal button {
  width: 100%;
  padding: 10px;
  background: linear-gradient(135deg, var(--wood-600), var(--gold));
  color: var(--wood-50);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.floating-modal button:hover {
  transform: translateY(-1px);
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
  .nav-desktop {
    display: none;
  }

  .header-phone {
    display: none;
  }

  .header .btn-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .header .container {
    justify-content: flex-start;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 180px;
  }

  .how-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

}

/* Mobile */
@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 150px;
  }

  .gallery-item.span-2-col {
    grid-column: span 1;
  }

  .gallery-item.span-2-row {
    grid-row: span 1;
  }

  .how-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .product-specs {
    grid-template-columns: 1fr;
  }

  .benefits-row {
    grid-template-columns: 1fr;
  }

  .hero-title-wood {
    font-size: clamp(2.5rem, 12vw, 4rem);
  }

  .hero-title-sub {
    font-size: clamp(0.9rem, 4vw, 1.2rem);
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn-solid, .btn-outline {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .features-showcase {
    aspect-ratio: 16/9;
  }

  .features-showcase-overlay h3 {
    font-size: 1.3rem;
  }

  .floating-modal {
    right: -12px;
    width: 280px;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .section {
    padding: 48px 0;
  }

  .section-header {
    margin-bottom: 36px;
  }

  .section-header h2 {
    font-size: 1.5rem;
  }

  .product-title {
    font-size: 1.5rem;
  }

  .product-price {
    font-size: 1.5rem;
  }

  .gallery-grid {
    grid-auto-rows: 130px;
  }

  .color-selector {
    gap: 10px;
  }

  .color-swatch {
    width: 30px;
    height: 30px;
  }

  .product-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .quantity-selector {
    justify-content: center;
  }

  .btn-solid, .btn-outline {
    max-width: 100%;
  }

  .sticky-blocks {
    right: 16px;
    bottom: 16px;
    gap: 10px;
    align-items: flex-end;
  }

  .float-btn {
    width: 48px;
    height: 48px;
  }

  .float-btn.float-btn-has-text {
    height: 44px;
    border-radius: 22px;
    padding: 0 14px 0 12px;
  }

  .float-btn-label {
    font-size: 0.78rem;
  }
}

/* Додати для fade при зміні кольору */
.product-image-container img.fading {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.how-video video {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}
.hero-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* ============================================
   E-COMMERCE EXTENSIONS
   Shop, Cart, Product Detail Pages
   ============================================ */

/* --- Page Header --- */
.page-header {
  padding: 140px 0 40px;
  text-align: center;
  background: var(--wood-950);
}
.page-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--wood-50);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}
.page-header p {
  color: var(--wood-400);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1rem;
}
@media (max-width: 768px) {
  .page-header { padding: 110px 0 30px; }
  .page-header h1 { font-size: 2rem; }
}

/* --- Category Navigation (Shop) --- */
.shop-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}
.category-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 2rem;
}
.category-pill {
  padding: 0.5rem 1.1rem;
  background: var(--wood-900);
  border: 1px solid var(--wood-800);
  border-radius: 999px;
  color: var(--wood-400);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: inherit;
}
.category-pill:hover {
  border-color: var(--gold);
  color: var(--wood-200);
}
.category-pill.active {
  background: linear-gradient(135deg, var(--wood-600), var(--gold));
  color: var(--wood-50);
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(212, 163, 115, 0.25);
}
.category-pill .count {
  margin-left: 0.4rem;
  font-size: 0.7rem;
  opacity: 0.8;
}

/* --- Shop Toolbar --- */
.shop-toolbar {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1rem 1.2rem;
  background: var(--wood-900);
  border: 1px solid var(--wood-800);
  border-radius: 12px;
}
.shop-search {
  position: relative;
  flex: 1;
  min-width: 220px;
  max-width: 360px;
}
.shop-search svg {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--wood-500);
}
.shop-search input {
  width: 100%;
  padding: 0.65rem 0.9rem 0.65rem 2.3rem;
  background: var(--wood-950);
  border: 1px solid var(--wood-700);
  border-radius: 8px;
  color: var(--wood-100);
  font-size: 0.9rem;
  font-family: inherit;
}
.shop-search input:focus {
  outline: none;
  border-color: var(--gold);
}
.shop-search input::placeholder { color: var(--wood-600); }

.shop-sort {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.shop-sort select {
  padding: 0.55rem 0.9rem;
  background: var(--wood-950);
  border: 1px solid var(--wood-700);
  border-radius: 8px;
  color: var(--wood-300);
  font-size: 0.85rem;
  cursor: pointer;
  font-family: inherit;
}
.shop-sort select:focus {
  outline: none;
  border-color: var(--gold);
}

.shop-results-count {
  font-size: 0.85rem;
  color: var(--wood-500);
  margin-bottom: 1.5rem;
}

/* --- Product Grid --- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
}
@media (max-width: 600px) {
  .products-grid { grid-template-columns: 1fr; }
}

/* --- Product Card --- */
.product-card {
  background: var(--wood-900);
  border: 1px solid var(--wood-800);
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.4);
}
.product-card-image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--wood-950);
}
.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card:hover .product-card-image img {
  transform: scale(1.06);
}
.product-card-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.badge {
  padding: 4px 10px;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 999px;
  backdrop-filter: blur(8px);
}
.badge-category {
  background: rgba(26, 16, 8, 0.9);
  color: var(--gold);
  border: 1px solid rgba(212, 163, 115, 0.3);
}
.badge-featured {
  background: var(--gold);
  color: var(--wood-950);
}
.badge-discount {
  background: #ef4444;
  color: white;
}
.product-card-discount {
  position: absolute;
  top: 12px;
  right: 12px;
}
.product-card-body {
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-card-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--wood-50);
  margin-bottom: 0.3rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.2s ease;
}
.product-card:hover .product-card-title { color: var(--gold); }
.product-card-meta {
  font-size: 0.75rem;
  color: var(--wood-500);
  margin-bottom: 0.6rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}
.product-card-price {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.product-card-price .price-current {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gold);
}
.product-card-price .price-old {
  font-size: 0.85rem;
  color: var(--wood-500);
  text-decoration: line-through;
}
.product-card-stock {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.65rem;
  color: #4ade80;
}
.product-card-stock.out { color: var(--wood-500); }

/* --- Empty State --- */
.empty-state {
  text-align: center;
  padding: 4rem 1rem;
}
.empty-state p { color: var(--wood-500); }
.empty-state .empty-sub { color: var(--wood-600); font-size: 0.85rem; margin-top: 0.4rem; }

/* --- Skeleton Loader --- */
.skeleton-card {
  background: var(--wood-900);
  border: 1px solid var(--wood-800);
  border-radius: 14px;
  overflow: hidden;
}
.skeleton-img {
  aspect-ratio: 4/3;
  background: linear-gradient(90deg, var(--wood-950) 0%, var(--wood-900) 50%, var(--wood-950) 100%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}
.skeleton-line {
  height: 12px;
  background: linear-gradient(90deg, var(--wood-950) 0%, var(--wood-900) 50%, var(--wood-950) 100%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 4px;
  margin: 0.6rem 1.1rem;
}
@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* --- Product Detail Page --- */
.product-detail-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 110px 1.5rem 4rem;
}
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--wood-500);
  margin-bottom: 2rem;
}
.breadcrumb a {
  color: var(--wood-500);
  text-decoration: none;
  transition: color 0.2s;
  cursor: pointer;
}
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .current { color: var(--gold); }
.breadcrumb .sep { color: var(--wood-700); }

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}
@media (max-width: 1024px) {
  .product-detail-grid { grid-template-columns: 1fr; gap: 2rem; }
}

.product-gallery-main {
  aspect-ratio: 1;
  border-radius: 14px;
  overflow: hidden;
  background: var(--wood-900);
  margin-bottom: 1rem;
}
.product-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}
.product-gallery-thumb {
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  background: var(--wood-900);
  transition: border-color 0.2s;
}
.product-gallery-thumb.active { border-color: var(--gold); }
.product-gallery-thumb:hover { border-color: var(--wood-600); }
.product-gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

.product-info-block { display: flex; flex-direction: column; gap: 1.25rem; }
.product-info-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.product-info-title {
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--wood-50);
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.product-info-price-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.product-info-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
}
.product-info-price-old {
  font-size: 1.15rem;
  color: var(--wood-500);
  text-decoration: line-through;
}
.product-info-description {
  color: var(--wood-300);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* Color selector */
.color-selector-block { display: flex; flex-direction: column; gap: 0.6rem; }
.color-selector-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--wood-200);
}
.color-selector-label .selected {
  color: var(--gold);
  margin-left: 0.4rem;
}
.color-options-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.color-option-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 0;
  font-family: inherit;
}
.color-swatch-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 3px solid transparent;
  transition: all 0.3s;
}
.color-option-item:hover .color-swatch-circle { border-color: var(--wood-600); }
.color-option-item.active .color-swatch-circle {
  border-color: var(--gold);
  box-shadow: 0 0 12px rgba(212,163,115,0.4);
}
.color-option-name {
  font-size: 0.7rem;
  color: var(--wood-500);
}
.color-option-item.active .color-option-name { color: var(--gold); }

/* Spec grid */
.spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.spec-tile {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem;
  background: var(--wood-900);
  border: 1px solid var(--wood-800);
  border-radius: 10px;
}
.spec-tile-icon {
  width: 32px;
  height: 32px;
  background: var(--wood-950);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}
.spec-tile-icon svg { width: 16px; height: 16px; }
.spec-tile-label {
  font-size: 0.65rem;
  color: var(--wood-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.spec-tile-value {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--wood-100);
}

/* Dimensions grid */
.dimensions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}
.dimension-item {
  display: flex;
  justify-content: space-between;
  padding: 0.55rem 0.85rem;
  background: var(--wood-900);
  border: 1px solid var(--wood-800);
  border-radius: 8px;
  font-size: 0.85rem;
}
.dimension-key {
  color: var(--wood-400);
  text-transform: capitalize;
}
.dimension-value {
  color: var(--wood-100);
  font-weight: 500;
}

/* Features list */
.features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.features-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--wood-300);
}
.features-list li::before {
  content: "★";
  color: var(--gold);
  font-size: 0.8rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Quantity + Add to Cart row */
.purchase-row {
  display: flex;
  align-items: stretch;
  gap: 0.75rem;
  margin-top: 0.5rem;
}
.quantity-stepper {
  display: flex;
  align-items: center;
  border: 1px solid var(--wood-700);
  border-radius: 8px;
  background: var(--wood-900);
  overflow: hidden;
}
.quantity-stepper button {
  padding: 0.75rem 0.85rem;
  background: transparent;
  border: none;
  color: var(--wood-300);
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.2s;
}
.quantity-stepper button:hover { background: var(--wood-800); }
.quantity-stepper .qty-value {
  min-width: 48px;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--wood-100);
}
.btn-add-to-cart {
  flex: 1;
  padding: 0.95rem 1.5rem;
  background: linear-gradient(135deg, var(--wood-600), var(--gold));
  color: var(--wood-50);
  border: none;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.3s;
  font-family: inherit;
}
.btn-add-to-cart:hover {
  background: linear-gradient(135deg, var(--wood-500), var(--gold-light));
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(212,163,115,0.35);
}
.btn-add-to-cart svg { width: 18px; height: 18px; }

/* Benefits row */
.benefits-row-detail {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--wood-800);
}
.benefit-detail {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.3rem;
}
.benefit-detail svg {
  width: 20px;
  height: 20px;
  color: var(--gold);
}
.benefit-detail-title {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--wood-300);
}
.benefit-detail-sub {
  font-size: 0.65rem;
  color: var(--wood-500);
}

/* Payment methods */
.payment-methods-detail {
  padding-top: 1rem;
  border-top: 1px solid var(--wood-800);
  font-size: 0.8rem;
  color: var(--wood-400);
  letter-spacing: 0.04em;
}
.payment-methods-detail strong { color: var(--wood-300); }

/* Related products section */
.related-products {
  margin-top: 4rem;
  text-align: center;
}
.related-products h2 {
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--wood-50);
  margin-bottom: 0.5rem;
}
.related-products .related-label {
  display: inline-block;
  padding: 4px 12px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  border: 1px solid rgba(212,163,115,0.3);
  border-radius: 999px;
  margin-bottom: 0.5rem;
}

/* --- Cart Page --- */
.cart-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 110px 1.5rem 4rem;
}
.cart-empty {
  text-align: center;
  padding: 4rem 1rem;
}
.cart-empty svg {
  width: 64px;
  height: 64px;
  color: var(--wood-700);
  margin-bottom: 1rem;
}
.cart-empty h2 {
  font-size: 1.5rem;
  color: var(--wood-300);
  margin-bottom: 0.5rem;
}
.cart-empty p { color: var(--wood-500); margin-bottom: 1.5rem; }

.cart-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 2rem;
  align-items: start;
}
@media (max-width: 900px) {
  .cart-layout { grid-template-columns: 1fr; }
}

.cart-items-list { display: flex; flex-direction: column; gap: 1rem; }
.cart-item {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 1rem;
  padding: 1rem;
  background: var(--wood-900);
  border: 1px solid var(--wood-800);
  border-radius: 12px;
  align-items: center;
}
.cart-item-image {
  width: 100px;
  height: 100px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--wood-950);
}
.cart-item-image img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--wood-50);
  margin-bottom: 0.25rem;
}
.cart-item-info .item-meta {
  font-size: 0.8rem;
  color: var(--wood-500);
  margin-bottom: 0.5rem;
}
.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.cart-item-controls .quantity-stepper { transform: scale(0.9); transform-origin: left; }
.cart-item-remove {
  background: transparent;
  border: none;
  color: var(--wood-600);
  cursor: pointer;
  padding: 0.4rem;
  transition: color 0.2s;
}
.cart-item-remove:hover { color: #ef4444; }
.cart-item-remove svg { width: 16px; height: 16px; }
.cart-item-price {
  text-align: right;
}
.cart-item-price .item-total {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gold);
  display: block;
}
.cart-item-price .item-each {
  font-size: 0.75rem;
  color: var(--wood-500);
}

/* Cart summary */
.cart-summary {
  background: var(--wood-900);
  border: 1px solid var(--wood-800);
  border-radius: 14px;
  padding: 1.5rem;
  position: sticky;
  top: 100px;
}
.cart-summary h2 {
  font-size: 1.2rem;
  color: var(--wood-50);
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--wood-800);
}
.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.6rem;
  font-size: 0.9rem;
  color: var(--wood-400);
}
.summary-row.total {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--wood-800);
  font-size: 1.1rem;
  color: var(--wood-50);
  font-weight: 700;
}
.summary-row.total .amount { color: var(--gold); font-size: 1.3rem; }
.btn-checkout {
  width: 100%;
  padding: 0.95rem;
  margin-top: 1rem;
  background: linear-gradient(135deg, var(--wood-600), var(--gold));
  color: var(--wood-50);
  border: none;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  font-family: inherit;
}
.btn-checkout:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(212,163,115,0.35); }
.btn-continue-shopping {
  width: 100%;
  padding: 0.8rem;
  margin-top: 0.6rem;
  background: transparent;
  color: var(--wood-400);
  border: 1px solid var(--wood-700);
  border-radius: 8px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
  text-decoration: none;
  display: block;
  text-align: center;
}
.btn-continue-shopping:hover { border-color: var(--gold); color: var(--gold); }

/* --- Toast Notification --- */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  background: var(--wood-900);
  border: 1px solid var(--gold);
  color: var(--wood-50);
  padding: 0.85rem 1.5rem;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  z-index: 9999;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  max-width: 360px;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
}
.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}
.toast svg {
  width: 20px;
  height: 20px;
  color: #4ade80;
  flex-shrink: 0;
}

/* --- Categories Section (Homepage) --- */
.categories-section {
  padding: 4rem 0;
  background: var(--wood-950);
}
.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}
@media (max-width: 1024px) { .categories-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .categories-grid { grid-template-columns: 1fr; } }

.category-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--wood-800);
  background: var(--wood-900);
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: left;
  padding: 0;
  font-family: inherit;
}
.category-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
}
.category-card-image {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--wood-950);
  position: relative;
}
.category-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.category-card:hover .category-card-image img { transform: scale(1.08); }
.category-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--wood-950) 0%, rgba(26,16,8,0.3) 50%, transparent 100%);
}
.category-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.25rem;
}
.category-card-icon-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.category-card-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(212,163,115,0.2);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}
.category-card-icon svg { width: 16px; height: 16px; }
.category-card-count {
  font-size: 0.7rem;
  color: var(--wood-400);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.category-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--wood-50);
  margin-bottom: 0.3rem;
  transition: color 0.2s;
}
.category-card:hover .category-card-title { color: var(--gold); }
.category-card-desc {
  font-size: 0.78rem;
  color: var(--wood-400);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0.6rem;
  line-height: 1.4;
}
.category-card-cta {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 500;
}
.category-card-cta svg {
  width: 12px;
  height: 12px;
  transition: transform 0.2s;
}
.category-card:hover .category-card-cta svg { transform: translateX(4px); }

/* View all button */
.view-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  margin-top: 2rem;
  background: linear-gradient(135deg, var(--wood-700), var(--wood-600));
  color: var(--wood-50);
  border: 1px solid var(--wood-600);
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  font-family: inherit;
  text-decoration: none;
}
.view-all-btn:hover {
  background: linear-gradient(135deg, var(--wood-600), var(--gold));
  border-color: var(--gold);
}
.view-all-btn svg { width: 16px; height: 16px; }

/* --- Featured Products Section --- */
.featured-section {
  padding: 4rem 0;
  background: var(--wood-900);
}
.featured-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2.5rem;
  gap: 1rem;
}
.featured-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--wood-50);
}
.featured-header .label-tag {
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.4rem;
  display: block;
}
.view-all-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--gold);
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: gap 0.2s;
}
.view-all-link:hover { gap: 0.6rem; }
.view-all-link svg { width: 16px; height: 16px; }

/* --- Cart Badge in header --- */
.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--gold);
  color: var(--wood-950);
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 999px;
  min-width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}
.cart-icon-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Mobile shop toolbar adjustments */
@media (max-width: 600px) {
  .shop-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
  .shop-search { max-width: 100%; }
  .shop-sort { justify-content: flex-end; }
  .spec-grid { grid-template-columns: 1fr; }
  .dimensions-grid { grid-template-columns: 1fr; }
  .purchase-row { flex-direction: column; }
  .purchase-row .quantity-stepper { width: 100%; justify-content: space-between; }
  .cart-item { grid-template-columns: 80px 1fr; }
  .cart-item-price { grid-column: 1 / -1; text-align: left; padding-top: 0.5rem; border-top: 1px solid var(--wood-800); }
}

/* ============================================
   MISSING HEADER/PRODUCT INFO STYLES
   ============================================ */

/* Header Actions (right side) */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

/* Stock row in product section */
.product-info-stock-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Ensure cart icon wrapper is visible nicely */
.cart-icon-wrapper:hover {
  color: var(--gold) !important;
}
