/* ============================================
   ORGANIC URBAN — MOBILE-FIRST STYLESHEET
   Natural earthy tones, premium organic feel
   ============================================ */

/* RESET & BASE */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ============================================
   CSS VARIABLES
   ============================================
   NOTE: All CSS custom properties are defined in:
   assets/css/core/variables.css
   
   DO NOT duplicate variables here.
   Import core/variables.css before this file.
   ============================================ */

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  color-scheme: light;
  /* Force light mode */
  background-color: var(--bg-light);
}

/* Force light mode - override any dark mode preferences */
@media (prefers-color-scheme: dark) {
  html {
    color-scheme: light;
    background-color: var(--bg-light);
  }

  body {
    background-color: var(--bg-light) !important;
    color: var(--text-dark) !important;
  }
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Force light background */
  background-color: var(--bg-light) !important;
  color: var(--text-dark) !important;
}

/* SCROLL SAFETY: Ensure body is ALWAYS scrollable by default.
   This prevents any rogue CSS or JS from permanently blocking scroll.
   Only body.menu-open (below) can override this. */
html,
body {
  overflow-y: auto;
}

/* SCROLL FIX (2026-02-09): body.menu-open NO LONGER locks scroll.
   Overlays block interaction visually; body scrolls normally.
   This prevents "scroll works then locks" bug after page refresh.
   Exception: cart-open still needs scroll lock for slide-out cart. */
body.menu-open:not(.cart-open) {
  overflow-x: hidden !important;
  overflow-y: auto !important;
  position: static !important;
  top: auto !important;
  width: auto !important;
}

body.cart-open {
  overflow: hidden !important;
}

/* Accessibility helpers */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  border: 0 !important;
  white-space: nowrap !important;
}


/* ============================================
   HEADER
   ============================================ */
/* Canonical owner (desktop/base):
   - Desktop header + desktop navigation + desktop dropdown + base search overlay
   Mobile overrides live in `assets/css/responsive.css` (max-width: 767px).
*/

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 72px;
  z-index: 10000 !important;
  /* High z-index to float above all content */
  background: rgba(247, 245, 242, 0.98) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  border-bottom: 1px solid var(--border-soft);
  isolation: isolate;
  /* Create new stacking context */
  transform: translateZ(0);
  /* Force GPU acceleration */
}

body {
  padding-top: 72px;
}

.header-inner {
  height: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-lg);
}

/* Desktop: hamburger not used (mobile drawer does) */
#menuToggle {
  display: none;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.logo img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--spacing-lg);
}

.nav .nav-link {
  color: var(--text-dark);
  font-size: 0.9rem;
  font-weight: 400;
  position: relative;
  padding: 8px 0;
  white-space: nowrap;
}

.nav .nav-link:hover {
  color: var(--accent-sage);
}

.nav .nav-link.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--accent-sage);
  border-radius: 1px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.search-icon-btn,
.cart-icon-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  border-radius: 0;
  padding: 0;
}

.search-icon-btn:hover {
  background: transparent;
}

.cart-icon-link:hover {
  background: rgba(0, 0, 0, 0.05);
  border-radius: 8px;
}

.nav-signin {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  white-space: nowrap;
}

/* Mobile drawer exists on all pages, but only enabled on mobile via responsive.css */
#mobile-nav-overlay {
  display: none;
}

/* SEARCH OVERLAY (base) */
.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1600;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 100px;
  backdrop-filter: blur(4px);
}

.search-overlay-content {
  background: var(--white);
  width: 90%;
  max-width: 600px;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  position: relative;
}

.search-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--text-muted);
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition-smooth);
}

.search-close:hover {
  background: var(--bg-soft);
  color: var(--text-dark);
}

.search-form {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.search-form input {
  flex: 1;
  padding: 1rem 1.5rem;
  border: 2px solid var(--border-soft);
  border-radius: 8px;
  font-size: 1rem;
  font-family: var(--font-sans);
  outline: none;
  transition: var(--transition-smooth);
}

.search-form input:focus {
  border-color: var(--accent-sage);
}

.search-submit {
  background: var(--accent-sage);
  color: var(--white);
  border: none;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.search-submit:hover {
  background: var(--accent-sage-dark);
}

/* ============================================
   DROPDOWN MENU
   ============================================ */

.nav-item-with-dropdown {
  position: relative;
}

.nav-item-with-dropdown:hover .nav-dropdown,
.nav-item-with-dropdown:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
  transition-delay: 0s;
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.15), 0 4px 16px rgba(0, 0, 0, 0.1);
  min-width: auto;
  max-width: 90vw;
  max-height: none;
  overflow: visible;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
  z-index: 1100;
  border: 1px solid rgba(123, 154, 122, 0.15);
  pointer-events: none;
  margin: 0;
  backdrop-filter: blur(10px);
}

/* Scrollbar styles removed - horizontal layout */

.dropdown-header {
  display: none;
}

.dropdown-title {
  display: none;
}

/* Hierarchical layout: same structure as mobile (parent + children per column) */
.dropdown-content {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 0;
  padding: 16px 8px;
}

.dropdown-section {
  display: flex;
  flex-direction: column;
  min-width: 180px;
  max-width: 220px;
  border-right: 1px solid rgba(123, 154, 122, 0.12);
  padding: 0 12px;
}

.dropdown-section:last-child {
  border-right: none;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  text-decoration: none;
  color: var(--text-dark);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  white-space: nowrap;
  border: none;
  border-radius: 8px;
}

.dropdown-item::before {
  display: none;
}

.dropdown-item:hover {
  background: rgba(123, 154, 122, 0.08);
  transform: none;
}

.dropdown-parent {
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.3;
  color: rgba(47, 42, 36, 0.95);
  background: transparent;
  margin-bottom: 4px;
}

.dropdown-parent:hover {
  background: rgba(123, 154, 122, 0.08);
}

.dropdown-children {
  display: flex;
  flex-direction: column;
  padding-left: 0;
  margin-bottom: 8px;
}

.dropdown-section:last-child .dropdown-children {
  margin-bottom: 0;
}

.dropdown-child {
  font-weight: 400;
  font-size: 0.875rem;
  line-height: 1.35;
  color: rgba(47, 42, 36, 0.82);
  padding: 6px 12px 6px 32px;
  position: relative;
}

.dropdown-child::after {
  content: '→';
  position: absolute;
  right: 12px;
  opacity: 0;
  transform: translateX(-4px);
  transition: all 0.25s ease;
  color: rgba(123, 154, 122, 0.7);
  font-size: 0.8rem;
}

.dropdown-child:hover::after {
  opacity: 1;
  transform: translateX(0);
}

.category-icon {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #7b9a7a;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  align-self: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.8);
}

.dropdown-item:hover .category-icon {
  transform: scale(1.25);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

.dropdown-parent .category-icon {
  width: 10px;
  height: 10px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.dropdown-child .category-icon {
  width: 8px;
  height: 8px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.dropdown-parent:hover .category-icon {
  transform: scale(1.15);
}

.category-name {
  font-size: 0.9rem;
  font-weight: inherit;
  line-height: 1.25;
  white-space: nowrap;
  transition: color 0.25s ease;
}

.dropdown-item:hover .category-name {
  color: rgba(47, 42, 36, 1);
}

.soon-badge {
  background: #D2B48C;
  color: var(--white);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-left: auto;
  white-space: nowrap;
}

/* Quiz Results Styles (moved from quiz-results.php) */
.quiz-results-page {
  min-height: 80vh;
  padding: var(--spacing-2xl) var(--spacing-md);
  background: linear-gradient(135deg, var(--bg-cream) 0%, var(--bg-soft) 100%);
}

.results-container {
  max-width: 1000px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
  padding: var(--spacing-2xl);
}

.results-header {
  text-align: center;
  margin-bottom: var(--spacing-xl);
  padding-bottom: var(--spacing-xl);
  border-bottom: 2px solid var(--border-soft);
}

.results-header h1 {
  font-family: var(--font-serif);
  font-size: 3rem;
  color: var(--text-dark);
  margin-bottom: var(--spacing-sm);
}

.skin-descriptor {
  color: var(--text-muted);
  font-size: 1.1rem;
  font-style: italic;
}

.skin-description {
  text-align: center;
  margin-bottom: var(--spacing-2xl);
  padding: var(--spacing-xl);
  background: var(--bg-light);
  border-radius: 12px;
}

.skin-description p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-dark);
  margin: 0;
}

.recommendations-section {
  margin-bottom: var(--spacing-2xl);
}

.recommendations-section h2 {
  font-family: var(--font-serif);
  font-size: 2rem;
  text-align: center;
  margin-bottom: var(--spacing-xl);
  color: var(--text-dark);
}

.recommendations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
}

.recommendation-card {
  background: var(--white);
  border: 2px solid var(--border-soft);
  border-radius: 16px;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.recommendation-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  border-color: var(--accent-sage);
}

.recommendation-image {
  width: 100%;
  height: 300px;
  overflow: hidden;
  background: var(--bg-light);
}

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

.recommendation-content {
  padding: var(--spacing-xl);
  text-align: center;
}

.recommendation-content h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--text-dark);
  margin-bottom: var(--spacing-sm);
}

.recommendation-subtitle {
  color: var(--text-muted);
  margin-bottom: var(--spacing-md);
  font-size: 0.95rem;
}

.recommendation-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-sage);
  margin-bottom: var(--spacing-md);
}

.results-cta {
  text-align: center;
  padding-top: var(--spacing-xl);
  border-top: 2px solid var(--border-soft);
}

.recommendation-note {
  text-align: center;
  padding: var(--spacing-lg);
  background: var(--bg-light);
  border-radius: 8px;
  color: var(--text-muted);
}

.recommendation-note a {
  color: var(--accent-sage);
  text-decoration: none;
  font-weight: 500;
}

/* Embedded Quiz Results (Homepage) */
.results-header-embedded {
  text-align: center;
  margin-bottom: var(--spacing-lg);
  padding-bottom: var(--spacing-lg);
  border-bottom: 2px solid var(--border-soft);
}

.results-header-embedded h2 {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--text-dark);
  margin-bottom: var(--spacing-xs);
}

.skin-descriptor-embedded {
  color: var(--text-muted);
  font-size: 1rem;
  font-style: italic;
}

.skin-description-embedded {
  text-align: center;
  margin-bottom: var(--spacing-xl);
  padding: var(--spacing-md);
  background: var(--bg-light);
  border-radius: 12px;
}

.skin-description-embedded p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-dark);
  margin: 0;
}

.recommendations-section-embedded {
  margin-bottom: var(--spacing-xl);
}

.recommendations-section-embedded h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: var(--spacing-lg);
  color: var(--text-dark);
}

.recommendations-grid-embedded {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

.recommendation-card-embedded {
  background: var(--white);
  border: 2px solid var(--border-soft);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.recommendation-card-embedded:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  border-color: var(--accent-sage);
}

.recommendation-image-embedded {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: var(--bg-light);
}

.recommendation-image-embedded img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recommendation-content-embedded {
  padding: var(--spacing-md);
  text-align: center;
}

.recommendation-content-embedded h4 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--text-dark);
  margin-bottom: var(--spacing-xs);
}

.recommendation-subtitle-embedded {
  color: var(--text-muted);
  margin-bottom: var(--spacing-sm);
  font-size: 0.9rem;
}

.recommendation-price-embedded {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent-sage);
  margin-bottom: var(--spacing-sm);
}

.quiz-retake-section {
  text-align: center;
  padding-top: var(--spacing-lg);
  border-top: 2px solid var(--border-soft);
}

.quiz-submit-section {
  text-align: center;
  margin-top: var(--spacing-xl);
  padding-top: var(--spacing-lg);
}

.quiz-results-loading {
  text-align: center;
  padding: var(--spacing-2xl);
  color: var(--text-muted);
}

.quiz-results-loading p {
  font-size: 1.1rem;
}

.question-card-embedded-step {
  animation: fadeInQuiz 0.3s ease;
  min-height: 300px;
  display: none;
  /* Hide by default - only show with .show class */
}

.question-card-embedded-step.show {
  display: block;
}

@media (max-width: 768px) {
  .quiz-container-embedded {
    padding: var(--spacing-md) var(--spacing-sm);
  }

  .question-title-embedded {
    font-size: 1.3rem;
    margin-bottom: var(--spacing-md);
    text-align: left;
  }

  .options-list-embedded {
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
  }

  .option-item-embedded {
    padding: var(--spacing-sm) var(--spacing-xs);
    font-size: 0.95rem;
    align-items: flex-start;
  }

  .option-item-embedded input[type="radio"] {
    margin-right: var(--spacing-xs);
    margin-top: 2px;
  }

  .option-text-embedded {
    line-height: 1.4;
  }

  .btn-quiz {
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    width: 100%;
  }

  .quiz-submit-section {
    margin-top: var(--spacing-md);
  }

  .questions-container-embedded {
    min-height: auto;
  }

  .question-card-embedded-step {
    min-height: auto;
  }

  .results-container {
    padding: var(--spacing-md);
  }

  .results-header h1 {
    font-size: 2rem;
  }

  .recommendations-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }

  .recommendations-grid-embedded {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }

  .recommendation-image {
    height: 250px;
  }

  .recommendation-image-embedded {
    height: 180px;
  }

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

  .recommendations-section-embedded h3 {
    font-size: 1.3rem;
  }

}

.nav a.quiz-link {
  background: var(--accent-sage);
  color: var(--white);
  padding: 0.5rem 1.2rem;
  border-radius: 999px;
  font-weight: 500;
}

.nav a.quiz-link:hover {
  background: var(--accent-sage-dark);
  color: var(--white);
}

/* ============================================
   CART ICON
   ============================================ */

.cart-icon-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.cart-icon-link:hover {
  color: var(--accent-sage);
}

.cart-icon-link svg {
  width: 20px;
  height: 20px;
  display: block;
  stroke-width: 1.5;
}

.cart-count {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--accent-sage);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 10px;
  min-width: 18px;
  text-align: center;
  line-height: 1.2;
  pointer-events: none;
  z-index: 1;
}

.cart-count:empty {
  display: none !important;
}

/* ============================================
   PRODUCT CARD ACTIONS
   ============================================ */

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-sm);
  flex-wrap: wrap;
}

.product-actions-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.btn-buy-now-card {
  background: var(--accent-sage);
  color: var(--white);
  border: none;
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
  letter-spacing: 0.01em;
}

.btn-buy-now-card:hover {
  background: var(--accent-sage-dark);
  transform: translateY(-1px);
}

.btn-buy-now-card:active {
  transform: translateY(0);
}

@media (max-width: 768px) {
  .product-footer {
    align-items: flex-start;
  }

  .product-actions-inline {
    flex-wrap: wrap;
  }
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
  padding: var(--spacing-2xl) var(--spacing-md);
  background: var(--bg-soft);
  min-height: 70vh;
  display: flex;
  align-items: center;
}

/* CRITICAL: On mobile, hero must start immediately below header */
@media (max-width: 768px) {
  .hero {
    padding: var(--spacing-md) var(--spacing-sm) var(--spacing-lg) !important;
    /* Minimal top padding */
    min-height: auto !important;
    /* Remove min-height on mobile */
    margin-top: 0 !important;
    /* No margin above */
  }
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-xl);
  align-items: center;
}

.hero-content {
  text-align: center;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--spacing-md);
  color: var(--text-dark);
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: var(--spacing-lg);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
  flex-wrap: wrap;
}

.cta-primary,
.cta-secondary {
  display: inline-block;
  padding: 0.9rem 2rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition-smooth);
}

.cta-primary {
  background: var(--accent-sage);
  color: var(--white);
}

.cta-primary:hover {
  background: var(--accent-sage-dark);
  transform: translateY(-2px);
}

.cta-secondary {
  background: transparent;
  color: var(--text-dark);
  border: 1.5px solid var(--text-dark);
}

.cta-secondary:hover {
  background: var(--text-dark);
  color: var(--white);
}


.hero-scroll-cue {
  margin-top: var(--spacing-lg);
  text-align: center;
  opacity: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-weight: 400;
  letter-spacing: 0.5px;
  animation: fadeInScrollCue 0.6s ease-in-out 1.5s forwards;
}

.hero-scroll-cue.scrolled {
  opacity: 0;
  animation: none;
}

@keyframes fadeInScrollCue {
  from {
    opacity: 0;
  }

  to {
    opacity: 0.6;
  }
}

.hero-image {
  display: none;
}

.hero-visual {
  width: 100%;
  height: 400px;
  background: linear-gradient(135deg, var(--accent-clay) 0%, var(--accent-earth) 100%);
  border-radius: 20px;
  position: relative;
  z-index: 1;
  /* Lower than site-header (z-index: 1000) to prevent overlap */
}

/* Hide hero visual on mobile to avoid empty brown box */
@media (max-width: 768px) {
  .hero-visual {
    display: none;
  }
}

/* Hero section styles: see assets/css/components/hero.css (single source of truth) */


/* ============================================
   HERO V2 - DEPRECATED (Kept for backwards compatibility)
   ============================================ */
.hero-v2 {
  background: linear-gradient(135deg, #FAF8F5 0%, #F5F1EB 100%);
  padding: 0;
  overflow: hidden;
}

.hero-v2-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  min-height: 580px;
  gap: 0;
}

/* Left Content */
.hero-v2-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 3rem 4rem 4rem;
}

.hero-v2-eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent-sage, #7A9A7A);
  font-weight: 600;
  margin-bottom: 1rem;
}

.hero-v2-title {
  font-family: var(--font-serif, 'Cormorant Garamond', serif);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 500;
  line-height: 1.15;
  color: var(--text-primary, #2f2a24);
  margin-bottom: 1.25rem;
}

.hero-v2-subtitle {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-secondary, #5a5650);
  margin-bottom: 2rem;
  max-width: 420px;
}

.hero-v2-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-v2-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  background: var(--accent-sage, #7A9A7A);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.hero-v2-btn-primary:hover {
  background: #6b8b6b;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(122, 154, 122, 0.3);
}

.hero-v2-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  background: transparent;
  color: var(--text-primary, #2f2a24);
  font-size: 0.9rem;
  font-weight: 500;
  border: 1.5px solid var(--text-primary, #2f2a24);
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.hero-v2-btn-secondary:hover {
  background: var(--text-primary, #2f2a24);
  color: #fff;
}

/* Right Banner */
.hero-v2-banner {
  position: relative;
  overflow: hidden;
  background: #e8e4dc;
  border-radius: 0;
}

.hero-v2-slideshow {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 580px;
  overflow: hidden;
}

.hero-v2-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.6s ease-in-out, visibility 0.6s ease-in-out;
  z-index: 1;
}

.hero-v2-slide.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 2;
}

.hero-v2-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-v2-fallback {
  width: 100%;
  height: 100%;
  min-height: 580px;
  background: linear-gradient(135deg, var(--accent-clay, #D4A574) 0%, var(--accent-earth, #8B7355) 100%);
}

/* Dots - with dark pill background for visibility */
.hero-v2-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
  background: rgba(0, 0, 0, 0.4);
  padding: 8px 14px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
}

.hero-v2-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-v2-dot.active {
  background: #fff;
  width: 24px;
  border-radius: 4px;
}

.hero-v2-dot:hover:not(.active) {
  background: rgba(255, 255, 255, 0.8);
}

/* Arrow Navigation */
.hero-v2-arrows {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 12px;
  z-index: 10;
  pointer-events: none;
}

.hero-v2-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.3);
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 300;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  pointer-events: auto;
  backdrop-filter: blur(4px);
}

.hero-v2-arrow:hover {
  background: rgba(0, 0, 0, 0.5);
}

/* Tablet */
@media (max-width: 1024px) {
  .hero-v2-container {
    grid-template-columns: 1fr 1fr;
    min-height: 500px;
  }

  .hero-v2-content {
    padding: 3rem 2rem;
  }

  .hero-v2-slideshow,
  .hero-v2-fallback {
    min-height: 500px;
  }
}

/* Mobile - Comprehensive Fix */
@media (max-width: 768px) {

  /* CRITICAL: Allow page scroll - this was blocking scroll! */
  .hero-v2 {
    background: #FAF8F5;
    overflow: visible !important;
  }

  .hero-v2-container {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 0;
  }

  .hero-v2-content {
    order: 2;
    padding: 1.75rem 1.25rem 2rem;
    text-align: center;
    align-items: center;
  }

  .hero-v2-eyebrow {
    font-size: 0.7rem;
    margin-bottom: 0.75rem;
  }

  .hero-v2-title {
    font-size: 1.85rem;
    margin-bottom: 1rem;
  }

  .hero-v2-subtitle {
    font-size: 0.95rem;
    max-width: 100%;
    margin-bottom: 1.5rem;
  }

  .hero-v2-actions {
    justify-content: center;
    width: 100%;
    gap: 0.75rem;
  }

  .hero-v2-btn-primary,
  .hero-v2-btn-secondary {
    flex: 1;
    min-width: 140px;
    padding: 0.875rem 1.25rem;
    font-size: 0.85rem;
  }

  /* Banner container - explicit heights */
  .hero-v2-banner {
    order: 1;
    height: 260px;
    min-height: 260px;
    max-height: 260px;
    border-radius: 0;
    overflow: hidden;
    position: relative;
  }

  .hero-v2-slideshow {
    position: relative;
    width: 100%;
    height: 260px;
    min-height: 260px;
    overflow: hidden;
  }

  .hero-v2-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 260px;
  }

  .hero-v2-slide img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    object-position: center;
  }

  .hero-v2-fallback {
    height: 260px;
    min-height: 260px;
  }

  /* ARROWS - COMPLETELY HIDDEN (nuclear option) */
  .hero-v2-arrows,
  .hero-v2-arrow,
  .hero-v2-prev,
  .hero-v2-next {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    width: 0 !important;
    height: 0 !important;
    position: absolute !important;
    left: -9999px !important;
  }

  /* Dots - properly visible */
  .hero-v2-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    background: rgba(0, 0, 0, 0.35);
    padding: 6px 10px;
    border-radius: 12px;
  }

  .hero-v2-dot {
    width: 6px;
    height: 6px;
  }

  .hero-v2-dot.active {
    width: 16px;
    border-radius: 3px;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .hero-v2-content {
    padding: 1.25rem 1rem 1.75rem;
  }

  .hero-v2-title {
    font-size: 1.6rem;
  }

  .hero-v2-subtitle {
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
  }

  .hero-v2-actions {
    flex-direction: column;
    gap: 0.6rem;
  }

  .hero-v2-btn-primary,
  .hero-v2-btn-secondary {
    width: 100%;
    padding: 0.8rem 1rem;
  }

  .hero-v2-banner,
  .hero-v2-slideshow,
  .hero-v2-slide,
  .hero-v2-slide img,
  .hero-v2-fallback {
    height: 220px;
    min-height: 220px;
  }
}

/* ============================================
   TRUST SIGNALS
   ============================================ */

.trust {
  padding: var(--spacing-xl) var(--spacing-md);
  background: var(--white);
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

/* ============================================
   TRUST STRIP — Unified (desktop base, mobile override only)
   ============================================ */
.trust-inner {
  max-width: 1200px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  align-items: center;
  justify-items: center;
  width: 100%;
  text-align: center;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-sm);
  justify-content: center;
  padding: var(--spacing-sm);
  font-size: 0.9rem;
  color: var(--text-dark);
  min-width: 0;
  width: 100%;
  max-width: 200px;
  text-align: center;
}

.trust-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #E8F5E9;
  border-radius: 12px;
  flex-shrink: 0;
  color: #2d5016;
}

.trust-icon svg {
  width: 28px;
  height: 28px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

/* Mobile: single row, 4 items, adaptive sizing. No structural change. */
@media (max-width: 768px) {
  .trust {
    padding: 20px 12px;
  }

  .trust-inner {
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
  }

  .trust-item {
    gap: 6px;
    padding: 4px 2px;
    font-size: clamp(0.6rem, 2.5vw, 0.8rem);
    max-width: none;
  }

  .trust-icon {
    width: clamp(32px, 9vw, 44px);
    height: clamp(32px, 9vw, 44px);
    border-radius: 8px;
  }

  .trust-icon svg {
    width: clamp(16px, 4.5vw, 22px);
    height: clamp(16px, 4.5vw, 22px);
  }

  .trust-item>span:last-child {
    word-break: normal;
    overflow-wrap: break-word;
    hyphens: auto;
    line-height: 1.3;
  }
}

/* ============================================
   SECTION STYLES
   ============================================ */

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--spacing-2xl) var(--spacing-md);
}

.section-header {
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

.section-header h2 {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 600;
  margin-bottom: var(--spacing-md);
  color: var(--text-dark);
}

.section-intro {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto;
}

/* Mobile Optimizations for General Sections */
@media (max-width: 768px) {
  .section-inner {
    padding: var(--spacing-lg) var(--spacing-sm);
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
  }

  .section-header {
    margin-bottom: var(--spacing-md);
    padding: 0 var(--spacing-xs);
  }

  .section-header h2 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    line-height: 1.3;
  }

  .section-intro {
    font-size: 0.95rem;
    padding: 0 var(--spacing-xs);
    line-height: 1.6;
  }

  .cta-section {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    width: 100%;
    text-align: center;
    display: block;
    margin-top: var(--spacing-md);
  }

  /* Homepage blog section: single column on small screens */
  .blog-posts-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ============================================
   HOMEPAGE — BLOG SECTION (3-up grid)
   ============================================ */
.blog-section {
  background: var(--white);
  padding: var(--spacing-2xl) 0;
}

.blog-section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 60px;
}

.blog-header-left {
  flex: 1;
}

.blog-section .section-label {
  font-size: 0.875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-sage);
  margin-bottom: 16px;
  font-weight: 400;
  font-family: var(--font-sans);
}

.blog-section-header h2 {
  font-family: var(--font-serif);
  font-size: 2.75rem;
  font-weight: 600;
  color: #2E2A26;
  letter-spacing: -0.02em;
  margin: 0;
}

.blog-header-right {
  flex-shrink: 0;
}

.blog-view-all {
  font-size: 0.95rem;
  color: #2E2A26;
  text-decoration: none;
  font-family: var(--font-sans);
  font-weight: 500;
  transition: color 0.3s ease;
}

.blog-view-all:hover {
  color: var(--accent-sage);
}

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

/* Keep cards equal-height within grid without affecting other pages */
.blog-section .blog-card {
  height: 100%;
}

@media (max-width: 1023px) {
  .blog-posts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ============================================
   BLOG PAGE
   ============================================ */
.blog-page {
  padding: var(--spacing-2xl) var(--spacing-md);
  max-width: 1200px;
  margin: 0 auto;
}

.blog-header {
  text-align: center;
  margin-bottom: var(--spacing-2xl);
}

.blog-header h1 {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  margin-bottom: var(--spacing-sm);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
}

.blog-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: var(--transition-smooth);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.blog-image {
  width: 100%;
  height: 220px;
  background: linear-gradient(135deg, #D4A574 0%, #B8956A 100%);
  object-fit: cover;
}

.blog-content {
  padding: var(--spacing-lg);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-date {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: var(--spacing-sm);
}

.blog-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin-bottom: var(--spacing-sm);
  color: var(--text-dark);
  line-height: 1.3;
}

.blog-excerpt {
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: var(--spacing-md);
  flex: 1;
}

.blog-link {
  color: var(--accent-sage);
  text-decoration: none;
  font-weight: 500;
  margin-top: auto;
}

.blog-link:hover {
  text-decoration: underline;
}

.empty-blog {
  text-align: center;
  padding: var(--spacing-2xl);
  background: var(--bg-soft);
  border-radius: 16px;
}

@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   POLICY PAGES
   ============================================ */
.policy-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 20px;
}

.policy-page h1 {
  font-family: var(--font-serif);
  font-size: 3rem;
  margin-bottom: 20px;
}

.policy-page h2 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  margin-top: 40px;
  margin-bottom: 15px;
  border-bottom: 2px solid var(--border-soft);
  padding-bottom: 10px;
}

.policy-page p,
.policy-page li {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 15px;
}

.policy-page ul {
  margin-left: 30px;
  margin-bottom: 20px;
}

.last-updated {
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 30px;
}

@media (max-width: 768px) {
  .policy-page {
    padding: 40px 16px;
  }

  .policy-page h1 {
    font-size: 2rem;
  }
}

.cta-section {
  display: inline-block;
  margin-top: var(--spacing-lg);
  padding: 0.85rem 2rem;
  background: var(--accent-sage);
  color: var(--white);
  text-decoration: none;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition-smooth);
}

.cta-section:hover {
  background: var(--accent-sage-dark);
  transform: translateY(-2px);
}

/* ============================================
   WORLD OF CLAYS (PREMIUM VERSION)
   ============================================ */

/* World of Clays — Target: two rows of circles (11+6), no gold line, one row of stats, generous spacing */
.world-of-clays-premium {
  background: #1a1a1a;
  color: #ffffff;
  padding: 100px 24px 100px;
  position: relative;
  overflow: hidden;
}

/* Hide gold line to match desired design */
.world-of-clays-golden-line {
  display: none;
}

.world-of-clays-premium::before {
  content: none;
}

.world-of-clays-inner {
  max-width: 960px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.world-of-clays-header {
  text-align: center;
  margin-bottom: 80px;
}

.world-of-clays-label {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #c0c0c0;
  margin-bottom: 28px;
  font-weight: 400;
  font-family: var(--font-sans);
}

.world-of-clays-title {
  font-family: var(--font-serif);
  font-size: 3.25rem;
  font-weight: 500;
  color: #f8f8f8;
  margin: 0 0 32px 0;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.world-of-clays-subtitle {
  font-size: 1rem;
  color: #a0a0a0;
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.65;
  font-weight: 400;
  font-family: var(--font-sans);
}

@media (max-width: 768px) {
  .world-of-clays-premium {
    padding: 56px 16px 64px;
  }

  .world-of-clays-header {
    margin-bottom: 48px;
  }

  .world-of-clays-label {
    font-size: 0.7rem;
    margin-bottom: 20px;
  }

  .world-of-clays-title {
    font-size: 2rem;
    margin-bottom: 20px;
  }

  .world-of-clays-subtitle {
    font-size: 0.9rem;
  }
}

/* ============================================
   WORLD OF CLAYS - REBUILT FROM SCRATCH
   Premium gallery interaction, not tooltip UI
   ============================================ */

/* Two horizontal rows on desktop: 11 circles top row, 6 bottom row */
.world-of-clays-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(72px, 1fr));
  gap: 28px 24px;
  margin-bottom: 80px;
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
  justify-items: center;
  align-items: center;
}

@media (min-width: 1000px) {
  .world-of-clays-grid {
    grid-template-columns: repeat(11, 1fr);
  }
}

.clay-swatch-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s ease-out;
  position: relative;
}

.clay-swatch-item.dimmed {
  opacity: 0.55;
}

.clay-swatch-link {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  width: 100%;
  position: relative;
}

/* Info card - warm off-white, soft shadow, appears on hover/tap */
.clay-info-card {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 1000;
  transition: opacity 0.4s ease-out, transform 0.4s ease-out, visibility 0.4s ease-out;
  background: #FAF9F6;
  border-radius: 10px;
  padding: 12px 16px;
  min-width: 160px;
  max-width: 200px;
  width: auto;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04);
  text-align: center;
}

.clay-info-card .clay-info-name {
  font-size: 0.875rem;
  font-weight: 500;
  color: #2E2A26;
  margin-bottom: 4px;
  line-height: 1.3;
  font-family: var(--font-serif);
}

.clay-info-card .clay-info-details {
  font-size: 0.75rem;
  color: #6B645E;
  line-height: 1.4;
  font-family: var(--font-sans);
  font-weight: 400;
  margin-bottom: 2px;
}

.clay-info-card .clay-info-description {
  font-size: 0.6875rem;
  color: #8B857D;
  line-height: 1.3;
  font-family: var(--font-sans);
  font-weight: 400;
  margin-top: 4px;
  font-style: italic;
}

.clay-swatch-circle {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background-color: var(--clay-color, #D4A574);
  transition: transform 0.4s ease-out;
  position: relative;
  z-index: 2;
  border: none;
  /* Subtle depth/glow so swatches feel premium (hover effect unchanged) */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}

/* Desktop hover behavior */
@media (min-width: 969px) {
  .clay-swatch-item:hover .clay-swatch-circle {
    transform: scale(1.04);
    transition: transform 0.4s ease-out;
  }

  /* Subtle glow using clay's own color */
  .clay-swatch-item:hover .clay-swatch-circle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--clay-color, #D4A574);
    opacity: 0.07;
    filter: blur(20px);
    z-index: -1;
  }

  .clay-swatch-item:hover .clay-info-card {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    transition: opacity 0.4s ease-out, transform 0.4s ease-out, visibility 0.4s ease-out;
  }
}

/* Mobile active state (tap reveal) */
.clay-swatch-item.active .clay-swatch-circle {
  transform: scale(1.04);
  outline: 1px solid rgba(154, 147, 138, 0.3);
  outline-offset: 2px;
  transition: transform 0.4s ease-out;
}

.clay-swatch-item.active .clay-info-card {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  transition: opacity 0.4s ease-out, transform 0.4s ease-out, visibility 0.4s ease-out;
}


/* Single horizontal row of 4 stats, ample spacing */
.world-of-clays-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 56px 32px;
  max-width: 800px;
  margin: 0 auto 64px;
  padding: 0 20px;
  text-align: center;
  border-top: none;
}

.world-of-clays-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.world-of-clays-stat-item .stat-number {
  font-size: 1.75rem;
  font-weight: 600;
  color: #f8f8f8;
  line-height: 1.2;
  font-family: var(--font-serif);
  margin-bottom: 0;
}

.world-of-clays-stat-item .stat-label {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #a0a0a0;
  line-height: 1.4;
  font-family: var(--font-sans);
  font-weight: 500;
}

.world-of-clays-cta {
  text-align: center;
  margin-top: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.world-of-clays-button {
  display: inline-block;
  padding: 14px 36px;
  background: #7A9A7A;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: all 0.3s ease;
  cursor: pointer;
  font-family: var(--font-sans);
  text-transform: none;
}

.world-of-clays-button-secondary {
  display: inline-block;
  padding: 10px 24px;
  background: transparent;
  color: #6B645E;
  border: none;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  transition: all 0.3s ease;
  cursor: pointer;
  font-family: var(--font-sans);
  text-transform: none;
}

.world-of-clays-button-secondary:hover {
  color: #2E2A26;
  text-decoration: underline;
}

.world-of-clays-button:hover {
  background: #6B8B6A;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(122, 154, 122, 0.25);
}

/* Responsive Design */
@media (max-width: 968px) {
  .world-of-clays-premium {
    padding: 60px 20px;
  }

  .world-of-clays-title {
    font-size: 2.5rem;
  }

  .world-of-clays-subtitle {
    font-size: 1rem;
  }

  .world-of-clays-grid {
    grid-template-columns: repeat(auto-fit, minmax(64px, 1fr));
    gap: 32px 24px;
  }

  .clay-swatch-circle {
    width: 64px;
    height: 64px;
  }

  .world-of-clays-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 24px;
    margin: 40px auto;
  }

  .world-of-clays-stat-item .stat-number {
    font-size: 1.25rem;
    color: #ffffff;
    opacity: 0.95;
  }

  .world-of-clays-stat-item .stat-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.85);
    text-transform: none;
    opacity: 0.9;
  }
}

@media (max-width: 640px) {
  .world-of-clays-premium {
    padding: 40px 16px;
  }

  .world-of-clays-header {
    margin-bottom: 40px;
  }

  .world-of-clays-title {
    font-size: 2rem;
  }

  .world-of-clays-label {
    font-size: 0.75rem;
  }

  .world-of-clays-grid {
    grid-template-columns: repeat(auto-fit, minmax(56px, 1fr));
    gap: 28px 20px;
    padding: 0 10px;
  }

  .clay-swatch-circle {
    width: 56px;
    height: 56px;
  }

  .world-of-clays-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 16px;
    margin: 32px auto;
  }

  .world-of-clays-stat-item .stat-number {
    font-size: 1.125rem;
    color: #ffffff;
    opacity: 0.95;
  }

  .world-of-clays-stat-item .stat-label {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.85);
    text-transform: none;
    opacity: 0.9;
  }

  .world-of-clays-button {
    padding: 14px 32px;
    font-size: 0.9rem;
  }

  .world-of-clays-button-secondary {
    padding: 8px 20px;
    font-size: 0.8125rem;
  }
}

/* ============================================
   WORLD OF CLAYS (LEGACY - for backward compatibility)
   ============================================ */

.world-of-clays {
  background: var(--bg-cream);
}

.clay-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-xl);
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.clay-circle {
  text-align: center;
  text-decoration: none;
  display: block;
  color: inherit;
}

.circle-inner {
  background: var(--white);
  padding: var(--spacing-md);
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: var(--transition-smooth);
}

.clay-circle:hover .circle-inner {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.circle-color {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto var(--spacing-sm);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: var(--transition-smooth);
}

.clay-circle:hover .circle-color {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.circle-inner h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  margin-bottom: var(--spacing-xs);
  color: var(--text-dark);
  line-height: 1.3;
}

.circle-inner p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.4;
}

.clay-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
}

.metric {
  text-align: center;
  background: var(--white);
  padding: var(--spacing-lg);
  border-radius: 16px;
}

.metric-number {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--accent-sage);
  margin-bottom: var(--spacing-xs);
}

.metric-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ============================================
   SHOP BY CATEGORY - Section Container
   ============================================ */

.shop-by-category {
  background: #FAF9F6;
  padding: 60px 0;
}

.shop-by-category .section-header {
  text-align: center;
  margin-bottom: 64px;
}

.shop-by-category .section-header .category-label {
  font-size: 1.05rem;
  letter-spacing: 0.18em;
  margin-bottom: 1rem;
}

.shop-by-category .section-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 4.5vw, 2.75rem);
  font-weight: 700;
  color: var(--text-dark);
  margin: 0;
  line-height: 1.2;
}

.shop-by-category .section-header .category-label+h2 {
  margin-top: 1rem;
}

/* Desktop: more space between hero and Explore Our Rituals; bigger second section */
@media (min-width: 769px) {
  .hero-premium {
    padding-bottom: 4rem;
  }

  .shop-by-category {
    padding: 80px 0 88px;
  }

  .shop-by-category .section-header {
    margin-bottom: 96px;
  }

  .shop-by-category .section-header .category-label {
    font-size: 1.1rem;
    letter-spacing: 0.2em;
    margin-bottom: 1.25rem;
  }

  .shop-by-category .section-header .category-label+h2 {
    margin-top: 1.25rem;
  }

  .shop-by-category .section-header h2 {
    font-size: clamp(2.75rem, 5.5vw, 3.5rem);
  }

  .homepage-categories-wrapper {
    max-width: 1320px;
    padding: 0 var(--spacing-xl);
  }

  .homepage-categories-grid {
    gap: 32px;
  }
}

/* Desktop-only refinement (1024px+): breathing space, calmer cards, subtle hover */
@media (min-width: 1024px) {
  .shop-by-category {
    padding-top: 120px;
  }

  .shop-by-category .section-header {
    margin-bottom: 120px;
  }

  .shop-by-category .section-header .category-label {
    font-size: 1.15rem;
    letter-spacing: 0.22em;
    margin-bottom: 1.5rem;
  }

  .shop-by-category .section-header .category-label+h2 {
    margin-top: 1.5rem;
  }

  .shop-by-category .section-header h2 {
    font-size: clamp(3rem, 6vw, 3.75rem);
  }

  .homepage-categories-grid {
    gap: 36px;
  }

  .homepage-category-image {
    aspect-ratio: 4 / 4.8;
  }

  .homepage-category-image img {
    filter: saturate(0.92) contrast(0.98);
  }

  .homepage-category-card,
  .homepage-category-card--hero {
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.05);
  }

  .homepage-category-name {
    color: rgba(255, 255, 255, 0.9);
  }
}

.category-label {
  font-size: 0.875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-sage);
  margin-bottom: var(--spacing-xs);
  font-weight: 400;
  font-family: var(--font-sans);
  text-align: center;
}

.category-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-lg);
  margin-top: var(--spacing-xl);
}

.category-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  color: var(--text-dark);
  display: block;
  aspect-ratio: 3 / 4;
  transition: transform 0.4s ease-out;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  background: #FAF9F6;
}

/* Hover effect - desktop only */
@media (min-width: 768px) {
  .category-card:hover {
    transform: scale(1.03);
  }

  .category-card:hover .category-card-image {
    transform: scale(1.05);
  }
}

/* Tap effect - mobile */
@media (max-width: 768px) {
  .category-card:active {
    transform: scale(0.98);
  }
}

/* Coming Soon - reduced opacity */
.category-card.coming-soon {
  opacity: 0.9;
}

.category-card-image {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  background-color: #E8E3D8;
  /* Fallback color */
  z-index: 1;
  transition: transform 0.4s ease-out;
  object-fit: cover;
}

.category-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top,
      rgba(255, 253, 250, 0.98) 0%,
      rgba(255, 253, 250, 0.85) 35%,
      rgba(255, 253, 250, 0.5) 55%,
      rgba(255, 253, 250, 0) 75%);
  z-index: 2;
}

.category-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  padding: 28px 28px 32px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: flex-end;
  min-height: 0;
  /* Ensure consistent height */
}

.category-card-content h3,
.category-card-content p {
  margin-left: auto;
  margin-right: auto;
}

.category-card-content h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 500;
  color: #1F1B16;
  margin-bottom: 6px;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-align: center;
  width: 100%;
}

.category-card-content p {
  font-family: var(--font-sans);
  font-size: 13px;
  color: #4A4439;
  line-height: 1.3;
  margin: 0;
  font-weight: 400;
  text-align: center;
  width: 100%;
  max-width: 85%;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.coming-soon-ribbon {
  position: absolute;
  top: 16px;
  right: -2px;
  background: rgba(139, 125, 107, 0.95);
  color: #FAF9F6;
  padding: 6px 16px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 4;
  border-radius: 4px 0 0 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  white-space: nowrap;
}

.coming-soon-ribbon::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 0;
  bottom: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 0 12px 6px;
  border-color: transparent transparent rgba(139, 125, 107, 0.95) transparent;
}

/* Desktop - 4 columns */
@media (min-width: 1024px) {
  .category-cards-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-xl);
  }

  .category-card {
    aspect-ratio: 3 / 4;
  }

  .category-card-content {
    padding: 28px 28px 32px 28px;
  }

  .category-card-content h3 {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 6px;
    letter-spacing: 0.02em;
    color: #1F1B16;
    line-height: 1.2;
  }

  .category-card-content p {
    font-size: 14px;
    line-height: 1.3;
    max-width: 85%;
    color: #4A4439;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .coming-soon-ribbon {
    top: 12px;
    right: -2px;
    padding: 5px 14px;
    font-size: 10px;
  }
}

/* Tablet - 2 columns */
@media (min-width: 768px) and (max-width: 1023px) {
  .category-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
  }

  .category-card {
    aspect-ratio: 3 / 4;
  }

  .category-card-content {
    padding: 24px 24px 28px 24px;
  }

  .category-card-content h3 {
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 6px;
    letter-spacing: 0.02em;
    color: #1F1B16;
    line-height: 1.2;
  }

  .category-card-content p {
    font-size: 13px;
    line-height: 1.3;
    max-width: 85%;
    color: #4A4439;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .coming-soon-ribbon {
    top: 12px;
    right: -2px;
    padding: 5px 12px;
    font-size: 10px;
  }

  .coming-soon-ribbon::after {
    border-width: 0 0 10px 5px;
  }
}

/* Mobile - Stacked cards */
@media (max-width: 768px) {
  .shop-by-category {
    padding: 24px 0 28px;
    background: #FAF9F6;
  }

  .shop-by-category .section-inner {
    padding: 0 10px;
    max-width: 100%;
  }

  .shop-by-category .homepage-categories-wrapper {
    padding-left: 6px;
    padding-right: 6px;
  }

  .shop-by-category .section-header {
    padding: 0;
    margin-bottom: 10px;
  }

  .shop-by-category .section-header .category-label {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    margin-bottom: 6px;
  }

  .shop-by-category .section-header h2 {
    font-size: 1.5rem;
    line-height: 1.3;
    margin-bottom: 6px;
  }

  .shop-by-category .section-intro {
    font-size: 0.875rem;
    line-height: 1.5;
    padding: 0;
  }

  .category-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: var(--spacing-lg);
    padding: 0;
    width: 100%;
  }

  .category-card {
    min-width: 0;
    /* Prevent overflow */
    aspect-ratio: 3 / 4;
    width: 100%;
    border-radius: 16px;
  }

  .category-card-content {
    padding: 24px 14px 28px 14px;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    box-sizing: border-box;
  }

  .category-card-content h3 {
    font-size: 19px;
    font-weight: 500;
    margin-bottom: 6px;
    text-align: center;
    letter-spacing: 0.01em;
    line-height: 1.25;
    color: #1F1B16;
    width: 100%;
    max-width: 100%;
  }

  .category-card-content p {
    font-size: 13px;
    line-height: 1.4;
    text-align: center;
    max-width: 100%;
    color: #4A4439;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    width: 100%;
    margin: 0 auto;
  }

  .coming-soon-ribbon {
    top: 8px;
    right: -2px;
    padding: 5px 12px;
    font-size: 9px;
  }

  .coming-soon-ribbon::after {
    border-width: 0 0 8px 4px;
  }
}

/* Very small mobile screens */
@media (max-width: 480px) {
  .shop-by-category .section-header h2 {
    font-size: 1.5rem;
  }

  .category-cards-grid {
    gap: 10px;
  }

  .category-card-content {
    padding: 20px 12px 24px 12px;
  }

  .category-card-content h3 {
    font-size: 17px;
    margin-bottom: 5px;
  }

  .category-card-content p {
    font-size: 12px;
  }
}

/* ============================================
   HOMEPAGE CATEGORIES - FINAL DESIGN
   Desktop: 3-card editorial grid (one row)
   Mobile: Horizontal swipe carousel (one card per screen)
   NO vertical stacking. NO subcategories.
   ============================================ */

.homepage-categories-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

/* ============================================
   CATEGORY GRID — Unified (desktop base, mobile override only)
   ============================================ */
.homepage-categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.homepage-category-card {
  display: block;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  border: none;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.homepage-category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.homepage-category-card--hero {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
  transform: scale(1.02);
  transform-origin: center center;
}

.homepage-category-card--hero:hover {
  transform: scale(1.02) translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

/* Image container: fills entire card. Consistent 4/5 ratio. */
.homepage-category-image {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #e8e4de;
}

/* Image fills entire container — no gaps, no insets */
.homepage-category-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
  display: block;
}

/* Subtle gradient for text readability — light, not heavy */
.homepage-category-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.12) 40%, rgba(0, 0, 0, 0) 100%);
  pointer-events: none;
  z-index: 1;
}

.homepage-category-card:hover .homepage-category-image img {
  transform: scale(1.05);
}

/* Title on image – sits above gradient (z-index: 2 > gradient z-index: 1) */
.homepage-category-overlay {
  position: absolute;
  bottom: 18px;
  left: 18px;
  right: 18px;
  display: flex;
  align-items: flex-end;
  z-index: 2;
}

.homepage-category-name {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  line-height: 1.25;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.homepage-category-card:hover .homepage-category-name {
  color: #fff;
}

/* Desktop: refined hover (soft shadow, -6px lift, softer title) overrides base above */
@media (min-width: 1024px) {
  .homepage-category-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.05);
  }

  .homepage-category-card--hero:hover {
    transform: scale(1.02) translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.05);
  }

  .homepage-category-card:hover .homepage-category-name {
    color: rgba(255, 255, 255, 0.9);
  }
}

/* Band removed – legacy hide if ever present */
.homepage-category-band,
.homepage-category-content {
  display: none !important;
}

/* Mobile only: 2 cards per row, tight gap, rounded image, no border. */
@media (max-width: 768px) {
  .shop-by-category .homepage-categories-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px;
  }

  /* All cards uniform on mobile — hero emphasis removed */
  .homepage-category-card,
  .homepage-category-card--hero {
    border: none !important;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transform: none !important;
  }

  .homepage-category-card:active,
  .homepage-category-card--hero:active {
    transform: scale(0.98) !important;
  }

  .homepage-category-image {
    border: none !important;
    border-radius: 16px;
  }

  .homepage-category-overlay {
    bottom: 14px;
    left: 14px;
    right: 14px;
  }

  .homepage-category-name {
    font-size: 13px;
  }
}

/* ============================================
   FEATURED RITUALS
   ============================================ */

.featured-rituals {
  background: var(--white);
}

.ritual-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-lg);
}

.ritual-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: var(--transition-smooth);
}

.ritual-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.ritual-image {
  width: 100%;
  height: 200px;
}

.ritual-content {
  padding: var(--spacing-lg);
}

.ritual-content h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin-bottom: var(--spacing-sm);
  color: var(--text-dark);
}

.ritual-content p {
  color: var(--text-muted);
  margin-bottom: var(--spacing-md);
  font-size: 0.95rem;
}

.ritual-link {
  color: var(--accent-sage);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition-smooth);
}

.ritual-link:hover {
  color: var(--accent-sage-dark);
}

/* ============================================
   FEATURED PRODUCTS
   ============================================ */

.featured-products {
  background: var(--bg-cream);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-md);
}

/* Legacy .product-card styles — replaced by components/product-card.css (ou-product-card)
   Kept commented for reference during transition. Safe to delete after full migration verified.
*/
/*
.product-card {
  background: var(--white);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: var(--transition-smooth);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.product-image {
  width: 100%;
  height: 180px;
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding: var(--spacing-sm);
}

.product-badge {
  background: var(--white);
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-dark);
}
*/

/* ============================================
   GALLERY DOTS — Subtle, minimal across pages
   ============================================ */
.ubtan-banner-dot,
.banner-dot,
.carousel-dot,
.slider-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  border: 1px solid rgba(139, 115, 85, 0.35);
  background: rgba(250, 248, 245, 0.9);
  cursor: pointer;
  padding: 0;
  transition: all 0.2s ease;
}

.ubtan-banner-dot.active,
.banner-dot.active,
.carousel-dot.active,
.slider-dot.active {
  width: 16px;
  height: 6px;
  border-radius: 999px;
  border-color: rgba(139, 115, 85, 0.7);
  background: rgba(139, 115, 85, 0.7);
}

/* Ultra-minimal and elegant testimonial dots - separate from other carousel dots */
.testimonial-dot {
  width: 3px !important;
  height: 3px !important;
  border-radius: 50% !important;
  border: none !important;
  background: rgba(229, 224, 216, 0.4) !important;
  cursor: pointer;
  padding: 0;
  margin: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  opacity: 0.6;
}

.testimonial-dot:hover {
  opacity: 1 !important;
  background: rgba(122, 154, 122, 0.3) !important;
}

.testimonial-dot.active {
  width: 3px !important;
  height: 3px !important;
  border-radius: 50% !important;
  background: #7A9A7A !important;
  border: none !important;
  opacity: 1 !important;
  transform: scale(1.2) !important;
}

/* Legacy .product-info/.product-footer/.product-price/.product-link — replaced by ou-product-card */
/*
.product-info {
  padding: var(--spacing-md);
}

.product-info h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  margin-bottom: var(--spacing-xs);
  color: var(--text-dark);
}

.product-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: var(--spacing-md);
  line-height: 1.6;
}

.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.product-price {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.95rem;
}

.product-link {
  color: var(--accent-sage);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: var(--transition-smooth);
}

.product-link:hover {
  color: var(--accent-sage-dark);
}
*/

/* ============================================
   BESTSELLERS — Desktop Editorial Product Grid
   Boutique Ayurvedic luxury (769px+)
   Mobile layout unchanged (handled by homepage-mobile.css)
   ============================================ */
@media screen and (min-width: 769px) {
  .bestsellers-section {
    background: #F4F1EC;
  }

  .bestsellers-section .product-grid.bestsellers-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
  }

  .bestsellers-section .product-card {
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    transition: none;
  }

  .bestsellers-section .product-card:hover {
    transform: none;
    box-shadow: none;
  }

  .bestsellers-section .product-card .product-image {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    display: block;
    flex-shrink: 0;
  }

  .bestsellers-section .product-card .product-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.25, 0.1, 0.25, 1), box-shadow 0.4s ease;
  }

  .bestsellers-section .product-card:hover .product-image img {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  }

  .bestsellers-section .product-card .product-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    font-family: var(--font-sans);
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.55);
    background: rgba(255, 255, 255, 0.75);
    padding: 4px 10px;
    border-radius: 4px;
  }

  .bestsellers-section .product-card .product-details {
    padding: 1rem 0 0;
  }

  .bestsellers-section .product-card .product-details h3 {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--text-dark);
    margin: 0 0 0.25rem;
  }

  .bestsellers-section .product-card .product-details .product-price {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 400;
    color: #6B5D52;
  }
}

/* ============================================
   QUIZ SECTION
   ============================================ */

.quiz-section {
  background: var(--bg-soft);
  padding: var(--spacing-2xl) var(--spacing-md);
}

.quiz-container {
  max-width: 900px;
  margin: 0 auto;
  background: var(--white);
  padding: var(--spacing-2xl);
  border-radius: 24px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08);
}

.quiz-cta-content {
  text-align: center;
}

.quiz-preview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-2xl);
}

.quiz-preview-item {
  padding: var(--spacing-lg);
  text-align: center;
}

.quiz-preview-item svg {
  color: var(--accent-sage);
  margin-bottom: var(--spacing-md);
}

.quiz-preview-item h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  margin-bottom: var(--spacing-sm);
  color: var(--text-dark);
}

.quiz-preview-item p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.quiz-cta-button {
  margin-top: var(--spacing-xl);
}

.cta-large {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 3rem;
  font-size: 1.1rem;
  font-weight: 600;
  background: var(--accent-sage);
  color: var(--white);
  border-radius: 12px;
  text-decoration: none;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 16px rgba(122, 154, 122, 0.3);
}

.cta-large:hover {
  background: var(--accent-sage-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(122, 154, 122, 0.4);
}

/* Embedded Quiz Styles (Homepage) - Uniform with other sections */
.quiz-section {
  background: var(--bg-cream, #FAF8F4);
  padding: 64px 24px 72px;
}

.quiz-section .section-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding-left: 0;
  padding-right: 0;
}

.quiz-section .section-header {
  text-align: center;
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(107, 100, 94, 0.12);
}

.quiz-section .section-header h2 {
  font-family: var(--font-serif);
  font-size: 2.75rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-dark);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.quiz-section .section-intro {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
}

.quiz-container-embedded {
  max-width: 720px;
  margin: 0 auto;
  background: var(--white);
  padding: 36px 40px 40px;
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(107, 100, 94, 0.08);
  min-height: 380px;
}

.quiz-progress-embedded {
  margin-bottom: 24px;
}

.progress-bar-embedded {
  width: 100%;
  height: 6px;
  background: var(--border-soft);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 8px;
}

.progress-fill-embedded {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-sage) 0%, var(--accent-sage-dark) 100%);
  border-radius: 3px;
  transition: width 0.3s ease;
  width: 16.67%;
}

.progress-text-embedded {
  display: block;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.questions-container-embedded {
  position: relative;
}

/* CRITICAL: Hide ALL questions by default */
.question-card-embedded-step {
  display: none !important;
  animation: fadeInQuiz 0.3s ease;
}

/* Only show current question */
.question-card-embedded-step.show {
  display: block !important;
}

@keyframes fadeInQuiz {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.question-title-embedded {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 24px;
  line-height: 1.4;
  text-align: center;
}

.options-list-embedded {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.option-item-embedded {
  display: flex;
  align-items: center;
  padding: 16px 20px;
  border: 1.5px solid var(--border-soft);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  background: var(--white);
}

.option-item-embedded:hover {
  border-color: var(--accent-sage);
  background: #f9faf9;
}

.option-item-embedded:has(input:checked) {
  border-color: var(--accent-sage);
  background: #f0f5f0;
}

.option-item-embedded input[type="radio"] {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-right: 12px;
  accent-color: var(--accent-sage);
}

.option-text-embedded {
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--text-dark);
}

/* Quiz Results Embedded Styles */
.quiz-results-loading {
  text-align: center;
  padding: 40px 20px;
}

.results-header-embedded {
  text-align: center;
  margin-bottom: 20px;
}

.results-header-embedded h2 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.skin-descriptor-embedded {
  font-size: 0.95rem;
  color: var(--accent-sage);
  font-weight: 500;
}

.skin-description-embedded {
  text-align: center;
  margin-bottom: 24px;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.recommendations-section-embedded h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  text-align: center;
  margin-bottom: 16px;
  color: var(--text-dark);
}

.recommendations-grid-embedded {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.recommendation-card-embedded {
  background: #f9f9f9;
  border-radius: 12px;
  padding: 16px;
  text-align: center;
}

.recommendation-image-embedded {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 12px;
  background: #f0f0f0;
}

.recommendation-image-embedded img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recommendation-content-embedded h4 {
  font-size: 0.95rem;
  margin-bottom: 6px;
  color: var(--text-dark);
  line-height: 1.2;
}

.recommendation-subtitle-embedded {
  font-size: 0.8rem;
  color: #888;
  margin-bottom: 6px;
}

.recommendation-price-embedded {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.recommendation-card-embedded .btn-quiz {
  font-size: 0.85rem;
  padding: 10px 16px;
  width: 100%;
}

.quiz-retake-section {
  text-align: center;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border-soft);
}

/* Mobile: keep section proportional, quiz box full width within container */
@media (max-width: 768px) {
  .quiz-section {
    padding: 48px 16px 56px;
  }

  .quiz-section .section-header {
    margin-bottom: 28px;
    padding-bottom: 24px;
  }

  .quiz-section .section-header h2 {
    font-size: 2rem;
    margin-bottom: 10px;
  }

  .quiz-section .section-intro {
    font-size: 0.95rem;
    max-width: 100%;
  }

  .quiz-container-embedded {
    max-width: 100%;
    padding: 28px 20px 32px;
    border-radius: 16px;
  }
}

/* Mobile optimizations for quiz section - Everything fits on single screen */
@media (max-width: 640px) {
  .quiz-section {
    padding: 40px 16px 48px;
  }

  .quiz-section .section-header h2 {
    font-size: 1.65rem !important;
  }

  .quiz-section .section-intro {
    font-size: 0.9rem !important;
  }

  .quiz-container-embedded {
    padding: 24px 16px 28px;
    border-radius: 14px;
    max-height: calc(100vh - 120px);
    display: flex;
    flex-direction: column;
  }

  .quiz-progress-embedded {
    margin-bottom: var(--spacing-xs);
    flex-shrink: 0;
  }

  .progress-bar-embedded {
    height: 5px;
    margin-bottom: 0.25rem;
  }

  .progress-text-embedded {
    font-size: 0.75rem;
  }

  .questions-container-embedded {
    min-height: auto;
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }

  .question-card-embedded-step {
    min-height: auto;
    display: none;
    /* Hide by default */
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
  }

  .question-card-embedded-step.show {
    display: flex;
    /* Show when .show class is present */
  }

  .question-title-embedded {
    font-size: 1rem;
    margin-bottom: var(--spacing-xs);
    line-height: 1.3;
    text-align: left;
    font-weight: 600;
    flex-shrink: 0;
  }

  .options-list-embedded {
    gap: 0.375rem;
    margin-bottom: var(--spacing-xs);
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding-right: 0.25rem;
  }

  .option-item-embedded {
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    align-items: flex-start;
    border-width: 1.5px;
    flex-shrink: 0;
  }

  .option-item-embedded input[type="radio"] {
    margin-right: 0.5rem;
    width: 16px;
    height: 16px;
    margin-top: 2px;
    flex-shrink: 0;
  }

  .option-text-embedded {
    font-size: 0.8rem;
    line-height: 1.35;
  }

  .question-nav-embedded {
    margin-top: var(--spacing-xs);
    gap: var(--spacing-xs);
    flex-shrink: 0;
  }

  .btn-quiz {
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
    border-radius: 6px;
    flex: 1;
  }
}

/* Extra small mobile devices (320px - 480px) */
@media (max-width: 480px) {
  .quiz-section {
    padding: 32px 12px 40px;
  }

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

  .quiz-section .section-intro {
    font-size: 0.85rem !important;
  }

  .quiz-container-embedded {
    padding: 20px 14px 24px;
    max-height: calc(100vh - 100px);
  }

  .question-title-embedded {
    font-size: 0.95rem;
    margin-bottom: 0.375rem;
  }

  .options-list-embedded {
    gap: 0.3rem;
    margin-bottom: 0.375rem;
  }

  .option-item-embedded {
    padding: 0.4rem 0.6rem;
  }

  .option-text-embedded {
    font-size: 0.75rem;
    line-height: 1.3;
  }

  .btn-quiz {
    padding: 0.5rem 0.875rem;
    font-size: 0.8rem;
  }

  .progress-text-embedded {
    font-size: 0.7rem;
  }
}

.option-item-embedded:hover {
  border-color: var(--accent-sage);
  background: var(--bg-light);
  transform: translateX(4px);
}

.option-item-embedded input[type="radio"] {
  margin-right: var(--spacing-md);
  width: 20px;
  height: 20px;
  cursor: pointer;
  accent-color: var(--accent-sage);
  flex-shrink: 0;
}

.option-item-embedded input[type="radio"]:checked+.option-text-embedded {
  color: var(--accent-sage);
  font-weight: 500;
}

.option-item-embedded:has(input[type="radio"]:checked) {
  border-color: var(--accent-sage);
  background: var(--bg-cream);
}

.option-text-embedded {
  flex: 1;
  color: var(--text-dark);
  font-size: 1rem;
  line-height: 1.5;
}

.question-nav-embedded {
  display: flex;
  justify-content: space-between;
  gap: var(--spacing-md);
  margin-top: var(--spacing-xl);
}

.btn-quiz {
  padding: 0.875rem 2rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-decoration: none;
  display: inline-block;
  font-family: var(--font-sans);
}

.btn-quiz-primary {
  background: var(--accent-sage);
  color: var(--white);
}

.btn-quiz-primary:hover {
  background: var(--accent-sage-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(122, 154, 122, 0.3);
}

.btn-quiz-secondary {
  background: var(--white);
  color: var(--text-dark);
  border: 2px solid var(--border-soft);
}

.btn-quiz-secondary:hover {
  border-color: var(--accent-sage);
  color: var(--accent-sage);
}

.quiz-step {
  display: none;
}

.quiz-step.active {
  display: block;
}

.quiz-step h3 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  margin-bottom: var(--spacing-lg);
  text-align: center;
  color: var(--text-dark);
}

.quiz-options {
  display: grid;
  gap: var(--spacing-md);
}

.quiz-option {
  padding: var(--spacing-md);
  background: var(--bg-cream);
  border: 2px solid transparent;
  border-radius: 12px;
  font-size: 1rem;
  font-family: var(--font-sans);
  color: var(--text-dark);
  cursor: pointer;
  transition: var(--transition-smooth);
  text-align: left;
}

.quiz-option:hover {
  background: var(--bg-soft);
  border-color: var(--accent-sage);
}

.quiz-option.selected {
  background: var(--accent-sage);
  color: var(--white);
  border-color: var(--accent-sage);
}

.quiz-result {
  text-align: center;
}

.quiz-result h3 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  margin-bottom: var(--spacing-md);
  color: var(--text-dark);
}

.result-content p {
  color: var(--text-muted);
  margin-bottom: var(--spacing-lg);
  font-size: 1.05rem;
  line-height: 1.8;
}

.quiz-progress {
  margin-top: var(--spacing-lg);
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.progress-bar {
  flex: 1;
  height: 4px;
  background: var(--bg-soft);
  border-radius: 999px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--accent-sage);
  border-radius: 999px;
  transition: width 0.3s ease;
  width: 33.33%;
}

.progress-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  white-space: nowrap;
}

/* ============================================
   RITUAL SPECTRUM SECTION
   ============================================ */

.ritual-spectrum {
  background: #FAF9F6;
  padding: 100px 20px;
}

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

.ritual-spectrum .section-header h2 {
  font-family: var(--font-serif);
  font-size: 2.75rem;
  font-weight: 600;
  color: #2E2A26;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.ritual-spectrum .section-intro {
  font-size: 1.1rem;
  color: #6B645E;
  font-family: var(--font-sans);
}

.ritual-spectrum-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.ritual-group-label {
  display: none;
  grid-column: 1 / -1;
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6B645E;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(107, 100, 94, 0.2);
  font-family: var(--font-sans);
  font-weight: 500;
}

.ritual-group-label.mobile-only {
  display: block;
}

.ritual-spectrum-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease-out, box-shadow 0.25s ease-out;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.ritual-spectrum-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.ritual-spectrum-color-block {
  width: 100%;
  height: 180px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.ritual-spectrum-content {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.ritual-category-cue {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8B8578;
  margin-bottom: 12px;
  font-family: var(--font-sans);
  font-weight: 400;
}

.ritual-product-name {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: #2E2A26;
  margin-bottom: 8px;
  line-height: 1.3;
}

.ritual-cue {
  font-size: 0.9rem;
  color: #6B645E;
  margin-bottom: 12px;
  font-family: var(--font-sans);
  font-weight: 400;
  letter-spacing: 0.01em;
}

.ritual-description {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #4A4439;
  margin-bottom: 20px;
  flex: 1;
  font-family: var(--font-sans);
}

.ritual-cta {
  font-size: 0.9rem;
  color: #6B645E;
  font-family: var(--font-sans);
  font-weight: 500;
  margin-top: auto;
  transition: color 0.2s ease;
}

.ritual-spectrum-card:hover .ritual-cta {
  color: #2E2A26;
}

/* Tablet: 2 columns */
@media (max-width: 968px) {
  .ritual-spectrum-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .ritual-group-label.mobile-only {
    display: block;
  }
}

/* Mobile: Single column */
@media (max-width: 640px) {
  .ritual-spectrum {
    padding: 60px 16px;
  }

  .ritual-spectrum .section-header h2 {
    font-size: 2rem;
  }

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

  .ritual-group-label.mobile-only {
    display: block;
  }

  .ritual-spectrum-color-block {
    height: 160px;
  }

  .ritual-spectrum-content {
    padding: 20px;
  }

  .ritual-product-name {
    font-size: 1.3rem;
  }

  .ritual-category-cue {
    font-size: 0.7rem;
  }
}

/* ============================================
   OUR STORY SECTION
   ============================================ */

.our-story {
  background: #FAF9F6;
  padding: 100px 20px;
}

.our-story-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 80px;
  align-items: stretch;
}

.our-story-content {
  padding-right: 40px;
}

.our-story-label {
  font-size: 0.875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #6B645E;
  margin-bottom: 16px;
  font-weight: 400;
  font-family: var(--font-sans);
}

.our-story-headline {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 32px;
  color: #2E2A26;
  letter-spacing: -0.02em;
}

.our-story-text {
  margin-bottom: 48px;
  max-width: 640px;
}

.our-story-text p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: #4A4439;
  margin-bottom: 20px;
  font-family: var(--font-sans);
}

.our-story-icons-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.story-icon-box {
  background: var(--white);
  padding: 28px;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.story-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #E8F5E9;
  border-radius: 12px;
  margin-bottom: 16px;
  color: #2d5016;
}

.story-icon svg {
  width: 28px;
  height: 28px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.story-icon-box h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: #2E2A26;
}

.story-icon-box>p:first-of-type {
  font-size: 0.875rem;
  color: #6B645E;
  margin-bottom: 12px;
  font-weight: 500;
}

.story-icon-description {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #4A4439;
  margin: 0;
}

/* Right Visual Panel */
.our-story-visual {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 48px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
}

.story-visual-center {
  text-align: center;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(107, 100, 94, 0.06);
}

.story-center-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #E8F5E9;
  border-radius: 50%;
  margin: 0 auto 20px;
  color: #2d5016;
}

.story-center-icon svg {
  width: 40px;
  height: 40px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.story-visual-center h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #2E2A26;
}

.story-visual-center p {
  font-size: 0.9rem;
  color: #6B645E;
  margin: 0;
}

.our-story-exit {
  margin-top: 28px;
  font-size: 0.95rem;
  color: #6B645E;
}

.our-story-exit a {
  color: #6b8f71;
  text-decoration: none;
  font-weight: 600;
}

.our-story-exit a:hover {
  color: #2f5d50;
}

/* Category Pills Grid */
.story-category-pills {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 32px;
  flex: 1;
}

.story-category-pill {
  background: #FBFAF8;
  border: 1px solid rgba(107, 100, 94, 0.05);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  transition: all 0.2s ease;
}

.story-category-pill:hover {
  border-color: rgba(107, 100, 94, 0.1);
  background: #FAF7F2;
}

.story-pill-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #E8F5E9;
  border-radius: 8px;
  flex-shrink: 0;
  color: #6B8A6B;
  opacity: 0.85;
}

.story-pill-icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.story-pill-content {
  flex: 1;
}

.story-pill-content h4 {
  font-family: var(--font-serif);
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: #2E2A26;
  line-height: 1.3;
}

.story-pill-content p {
  font-size: 0.78rem;
  color: #6B645E;
  margin: 0;
  line-height: 1.4;
}

.story-visual-accent {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid rgba(107, 100, 94, 0.08);
}

.story-cta-link {
  color: #6b8f71;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.story-cta-link:hover {
  color: #2f5d50;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
  .our-story-inner {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .our-story-content {
    padding-right: 0;
  }

  .our-story-visual {
    min-height: auto;
  }
}

@media (max-width: 768px) {
  .our-story {
    padding: 60px 16px;
  }

  .our-story-headline {
    font-size: 2rem;
  }

  .our-story-icons-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .story-category-pills {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .our-story-visual {
    padding: 32px 24px;
  }

  .story-visual-center {
    margin-bottom: 32px;
    padding-bottom: 24px;
  }
}

/* ============================================
   UBTANS FOR EVERYDAY RITUALS
   ============================================ */

.ubtans-ritual {
  background: #FAF9F6;
  padding: 64px 24px 72px;
}

/* Centered container: clear boundary, no floating feel */
.ubtans-ritual-inner {
  max-width: 1160px;
  margin: 0 auto;
}

/* Section hierarchy: heading anchors the cards */
.ubtans-ritual-header {
  text-align: center;
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(107, 100, 94, 0.12);
}

.ubtans-ritual-label {
  font-size: 0.875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #6B645E;
  margin-bottom: 12px;
  font-weight: 400;
  font-family: var(--font-sans);
}

.ubtans-ritual-title {
  font-family: var(--font-serif);
  font-size: 2.75rem;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 16px;
  color: #2E2A26;
  letter-spacing: -0.02em;
}

.ubtans-ritual-subtitle {
  font-size: 1.05rem;
  line-height: 1.65;
  color: #4A4439;
  max-width: 560px;
  margin: 0 auto;
  font-family: var(--font-sans);
}

/* Card group: shared container so cards feel like one set */
.ubtans-ritual-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 40px;
  margin-bottom: 48px;
  padding: 36px 32px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 20px;
  border: 1px solid rgba(107, 100, 94, 0.08);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
}

/* Force 3 columns on desktop/tablet */
@media screen and (min-width: 769px) {
  .ubtans-ritual .ubtans-ritual-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

.ubtan-ritual-card {
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease-out;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: relative;
}

.ubtan-ritual-card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

/* Shorter color block: better proportion vs content */
.ubtan-color-block {
  width: 100%;
  height: 88px;
  transition: opacity 0.2s ease-out;
}

.ubtan-ritual-card:hover .ubtan-color-block {
  opacity: 0.94;
}

.ubtan-card-content {
  padding: 20px 22px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.ubtan-coming-soon {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(107, 100, 94, 0.9);
  color: var(--white);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  font-family: var(--font-sans);
  z-index: 2;
}

.ubtan-ritual-card.coming-soon {
  opacity: 0.85;
}

.ubtan-ritual-card.active {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.ubtan-ritual-card.active .ubtan-color-block {
  opacity: 0.94;
}

.ubtan-ritual-card.active .ubtan-ritual-cue {
  opacity: 1;
}

.ubtan-ritual-card.active .ubtan-cta-default {
  display: none;
}

.ubtan-ritual-card.active .ubtan-cta-hover {
  display: inline-block;
}

.ubtan-ritual-card.active .ubtan-whisper-line {
  opacity: 1;
}

.ubtan-name {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #2E2A26;
  line-height: 1.3;
}

.ubtan-ritual-cue {
  font-size: 0.8rem;
  color: #6B645E;
  margin-bottom: 10px;
  font-weight: 500;
  letter-spacing: 0.02em;
  font-family: var(--font-sans);
  opacity: 0.9;
  transition: opacity 0.2s ease-out;
}

.ubtan-ritual-card:hover .ubtan-ritual-cue {
  opacity: 1;
}

.ubtan-description {
  font-size: 0.9rem;
  line-height: 1.55;
  color: #4A4439;
  margin-bottom: 14px;
  flex: 1;
  font-family: var(--font-sans);
}

.ubtan-cta {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(107, 100, 94, 0.1);
}

.ubtan-cta-default {
  font-size: 0.9rem;
  color: #6B645E;
  font-weight: 500;
  font-family: var(--font-sans);
  display: inline-block;
  transition: all 0.2s ease-out;
}

.ubtan-cta-hover {
  font-size: 0.9rem;
  color: #2E2A26;
  font-weight: 600;
  font-family: var(--font-sans);
  display: none;
  transition: all 0.2s ease-out;
}

.ubtan-ritual-card:hover .ubtan-cta-default {
  display: none;
}

.ubtan-ritual-card:hover .ubtan-cta-hover {
  display: inline-block;
}

.ubtan-whisper-line {
  font-size: 0.75rem;
  color: #8B857D;
  margin-top: 12px;
  opacity: 0;
  transition: opacity 0.2s ease-out;
  font-family: var(--font-sans);
  font-style: italic;
}

.ubtan-ritual-card:hover .ubtan-whisper-line {
  opacity: 1;
}

.ubtans-ritual-footer {
  text-align: center;
  padding-top: 32px;
  border-top: 1px solid rgba(107, 100, 94, 0.1);
}

.ubtans-ritual-footer-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
}

.ubtans-ritual-footer-main {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 500;
  color: #2E2A26;
  letter-spacing: 0.05em;
}

.ubtans-ritual-footer-sub {
  font-size: 0.9rem;
  color: #6B645E;
  font-family: var(--font-sans);
  font-style: italic;
}

/* Tablet: keep 3 per row, same container */
@media (max-width: 900px) {
  .ubtans-ritual-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px 28px;
    padding: 28px 24px;
  }
}

/* Mobile: 2 cards per row (like Explore Our Rituals) */
@media (max-width: 768px) {
  .ubtans-ritual {
    padding: 48px 16px 60px;
  }

  .ubtans-ritual-header {
    margin-bottom: 28px;
    padding-bottom: 24px;
  }

  .ubtans-ritual-title {
    font-size: 2rem;
  }

  .ubtans-ritual-subtitle {
    font-size: 0.95rem;
  }

  .ubtans-ritual-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    padding-bottom: 24px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Hide scrollbar for cleaner look */

    /* Reset layout margins */
    max-width: none;
    margin: 0 -16px 40px -16px;
    /* Edge-to-edge feeling with padding */
    padding: 0 16px;
    /* Inner padding for snap alignment */
    background: transparent;
  }

  .ubtans-ritual-grid::-webkit-scrollbar {
    display: none;
  }

  .ubtan-ritual-card {
    flex: 0 0 82%;
    /* Show part of next card */
    min-width: 82%;
    scroll-snap-align: center;

    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06), 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(107, 100, 94, 0.08);
  }

  .ubtan-ritual-card:hover,
  .ubtan-ritual-card:focus {
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.05);
  }

  .ubtan-color-block {
    height: 140px;
  }

  .ubtan-card-content {
    padding: 28px 24px 32px;
  }

  .ubtan-name {
    font-size: 1.5rem;
    margin-bottom: 10px;
  }

  .ubtan-ritual-cue {
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    margin-bottom: 14px;
  }

  .ubtan-description {
    font-size: 1rem;
    line-height: 1.65;
    margin-bottom: 20px;
  }

  .ubtan-cta {
    padding-top: 20px;
  }

  .ubtan-whisper-line {
    font-size: 0.8rem;
    margin-top: 14px;
    opacity: 0.85;
  }

  .ubtan-ritual-card:hover .ubtan-whisper-line,
  .ubtan-ritual-card:focus .ubtan-whisper-line {
    opacity: 1;
  }
}

/* ============================================
   FOOTER — REMOVED (MIGRATED TO components/footer.css)
   ============================================ */
/* 
   ✅ MIGRATED: All footer styles have been moved to assets/css/components/footer.css
   
   This section has been removed. components/footer.css is now the SINGLE SOURCE OF TRUTH
   for all footer styles (desktop and mobile).
   
   Do not add footer rules to:
   - style.css (this file)
   - mobile-ux-fixes.css
   - mobile-clean.css
   - Any other files
*/

/* ============================================
   AI ASSISTANT — POSITIONING
   ============================================ */
/* REMOVED: Chatbot positioning is now owned by chatbot.css */
/* All chatbot styles should be in assets/css/chatbot.css with proper .ou-chatbot scoping */

/* HEADER CONSISTENCY OVERRIDES (deprecated)
   `assets/css/responsive.css` now owns header + mobile nav to prevent cross-page breakage.
*/

/* ============================================
   WHATSAPP FLOAT
   ============================================ */

.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25D366;
  color: var(--white);
  width: 56px;
  height: 56px;
  padding: 0;
  border-radius: 50%;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  font-size: 0.9rem;
  font-weight: 500;
  z-index: 999;
  transition: var(--transition-smooth);
}

.whatsapp-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.whatsapp-float svg {
  width: 24px;
  height: 24px;
  display: block;
}

.whatsapp-float span {
  display: none;
}

/* ============================================
   RESPONSIVE DESIGN — TABLET & DESKTOP
   ============================================ */

@media (min-width: 768px) {
  .hero h1 {
    font-size: 3.5rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }


  .trust-inner {
    grid-template-columns: repeat(4, 1fr);
  }

  .clay-showcase {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: var(--spacing-sm);
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-sm);
  }

  .product-card {
    padding: var(--spacing-sm);
  }

  .product-card .product-image {
    height: 150px;
  }

  .product-card h3 {
    font-size: 0.95rem;
    margin-bottom: var(--spacing-xs);
  }

  .product-card .price {
    font-size: 0.9rem;
  }

  .clay-circle .circle-inner {
    padding: var(--spacing-sm);
  }

  .clay-circle .circle-inner h3 {
    font-size: 1rem;
  }

  .clay-circle .circle-inner p {
    font-size: 0.8rem;
  }

  .circle-color {
    width: 80px;
    height: 80px;
  }

  .ritual-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-inner {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Mobile footer layout is defined in the footer mobile section above */

@media (min-width: 769px) and (max-width: 1023px) {
  .footer-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

@media (min-width: 1024px) {
  .philosophy-values {
    grid-template-columns: repeat(3, 1fr);
  }

  .whatsapp-float span {
    display: inline;
  }

  .hero-image {
    display: block;
  }

  .hero-inner {
    grid-template-columns: 1fr 1fr;
  }

  .hero-content {
    text-align: left;
  }

  .hero-actions {
    justify-content: flex-start;
  }
}

/* Ensure hero stays centered on mobile */
@media (max-width: 768px) {
  .hero-content {
    text-align: center !important;
  }

  .hero-actions {
    justify-content: center !important;
  }

  .hero h1 {
    text-align: center;
  }

  .hero-subtitle {
    text-align: center;
  }
}

@media (min-width: 1024px) {
  .section-header h2 {
    font-size: 2.8rem;
  }

  .hero h1 {
    font-size: 4rem;
  }

  .clay-showcase {
    gap: var(--spacing-xl);
  }

  .circle-color {
    width: 150px;
    height: 150px;
  }
}

/* MOBILE MENU (deprecated)
   Mobile navigation is handled by the separate drawer in `includes/mobile-nav.php`
   and styled in `assets/css/responsive.css`.
*/

/* ============================================
   UTILITIES
   ============================================ */

.text-center {
  text-align: center;
}

.mt-lg {
  margin-top: var(--spacing-lg);
}

.mb-lg {
  margin-bottom: var(--spacing-lg);
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.6s ease-out;
}

/* ============================================
   CATEGORY PAGE STYLES
   ============================================ */

.category-hero {
  background: var(--bg-soft);
  padding: var(--spacing-2xl) var(--spacing-md);
}

.category-hero h1 {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  margin-bottom: var(--spacing-md);
  color: var(--text-dark);
  text-align: center;
}

.category-description {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

.category-filters {
  background: var(--white);
  padding: var(--spacing-lg) var(--spacing-md);
  border-bottom: 1px solid var(--border-soft);
}

.filters-bar {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: var(--spacing-sm);
  flex-wrap: wrap;
  justify-content: center;
}

.filter-btn {
  padding: var(--spacing-xs) var(--spacing-md);
  background: var(--bg-cream);
  border: 2px solid var(--border-soft);
  border-radius: 999px;
  font-size: 0.9rem;
  color: var(--text-dark);
  cursor: pointer;
  transition: var(--transition-smooth);
  font-family: var(--font-sans);
}

.filter-btn:hover {
  border-color: var(--accent-sage);
  color: var(--accent-sage);
}

.filter-btn.active {
  background: var(--accent-sage);
  color: var(--white);
  border-color: var(--accent-sage);
}

.category-products {
  background: var(--bg-light);
  padding: var(--spacing-2xl) var(--spacing-md);
}

@media (min-width: 768px) {
  .category-hero h1 {
    font-size: 3rem;
  }

  .filters-bar {
    justify-content: flex-start;
  }
}

/* ============================================
   PRODUCT MODULES (Amazon A+ Style)
   Matches Product Page Design System
   ============================================ */

.product-modules {
  padding: var(--spacing-2xl) var(--spacing-md);
  background: var(--bg-cream);
  max-width: 1200px;
  margin: 0 auto;
}

.product-module {
  margin-bottom: var(--spacing-2xl);
  padding: var(--spacing-xl);
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border-soft);
  transition: var(--transition-smooth);
}

.product-module:last-child {
  margin-bottom: 0;
}

.product-module:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.module-title,
.module-heading {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: var(--spacing-md);
  color: var(--text-dark);
  line-height: 1.3;
  letter-spacing: -0.02em;
}

/* Banner Module */
.module-banner img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* Text with Image Module */
.module-text-image {
  display: grid;
  gap: var(--spacing-xl);
  align-items: center;
}

.module-text-image.module-image-left,
.module-text-image.module-image-right {
  grid-template-columns: 1fr;
}

.module-text-image.module-image-top,
.module-text-image.module-image-bottom {
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {

  .module-text-image.module-image-left,
  .module-text-image.module-image-right {
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
  }

  .module-text-image.module-image-right .module-image {
    order: 2;
  }

  .module-text-image.module-image-right .module-text {
    order: 1;
  }
}

.module-text-image .module-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.module-text-image .module-text {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-dark);
}

.module-text-image .module-text p {
  margin-bottom: var(--spacing-md);
  line-height: 1.7;
}

.module-text-image .module-text p:last-child {
  margin-bottom: 0;
}

.module-content {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-dark);
}

.module-content p {
  margin-bottom: var(--spacing-md);
  line-height: 1.7;
  color: var(--text-dark);
}

.module-content p:last-child {
  margin-bottom: 0;
}

/* Three Images Module */
.module-three-images {
  text-align: center;
}

.module-images-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
}

.module-image-item img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.module-text-below {
  margin-top: var(--spacing-lg);
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-dark);
}

/* Bullet Points Module */
.module-bullet-points {
  display: grid;
  gap: var(--spacing-lg);
  grid-template-columns: 1fr;
}

.module-bullet-points .module-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.module-bullets ul {
  list-style: none;
  padding: 0;
}

.module-bullets li {
  padding: var(--spacing-sm) 0 var(--spacing-sm) var(--spacing-xl);
  position: relative;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-dark);
  margin-bottom: var(--spacing-xs);
}

.module-bullets li:last-child {
  margin-bottom: 0;
}

.module-bullets li:before {
  content: '•';
  position: absolute;
  left: var(--spacing-sm);
  color: var(--accent-sage);
  font-size: 1.2rem;
  line-height: 1.5;
  font-weight: bold;
}


/* Image Grid Module */
.module-image-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-md);
}

.module-grid-item img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Company Logo Module */
.module-company-logo {
  text-align: center;
  padding: var(--spacing-lg) 0;
}

.module-company-logo img {
  max-width: 600px;
  width: 100%;
  height: auto;
  margin: 0 auto;
  display: block;
}

/* Single Image Modules */
.module-single-image {
  display: grid;
  gap: var(--spacing-xl);
  align-items: center;
  grid-template-columns: 1fr;
}

.module-single-image .module-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.module-single-image .module-heading {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: var(--spacing-md);
  color: var(--text-dark);
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.module-single-image .module-text {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-dark);
}

.module-single-image .module-text p {
  margin-bottom: var(--spacing-md);
  line-height: 1.7;
}

.module-single-image .module-text p:last-child {
  margin-bottom: 0;
}

/* Image Header With Text */
.module-image-header img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: var(--spacing-lg);
}

.module-text-below-image {
  margin-top: var(--spacing-lg);
}

.module-text-below-image .module-heading {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: var(--spacing-md);
  color: var(--text-dark);
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.module-text-below-image .module-content {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-dark);
}

.module-text-below-image .module-content p {
  margin-bottom: var(--spacing-md);
  line-height: 1.7;
}

.module-text-below-image .module-content p:last-child {
  margin-bottom: 0;
}

/* Image Overlay Modules */
.module-image-overlay {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  min-height: 300px;
}

.module-image-overlay img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-height: 300px;
}

.module-overlay-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--spacing-md);
  max-width: 100%;
}

.module-image-overlay.overlay-dark .module-overlay-content {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.6) 50%, transparent 100%);
  color: white;
}

.module-image-overlay.overlay-light .module-overlay-content {
  background: linear-gradient(to top, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 50%, transparent 100%);
  color: var(--text-dark);
  border-top: 1px solid var(--border-soft);
}

.module-overlay-title {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.module-overlay-text {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
}

.module-overlay-text p {
  margin-bottom: var(--spacing-sm);
  line-height: 1.7;
}

.module-overlay-text p:last-child {
  margin-bottom: 0;
}

/* Four Image & Text */
.module-four-image-text {
  text-align: center;
}

.module-main-image {
  margin-bottom: var(--spacing-lg);
}

.module-main-image img {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 8px;
  margin: 0 auto;
}

.module-main-text {
  margin-bottom: var(--spacing-lg);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-dark);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.module-main-text p {
  margin-bottom: var(--spacing-md);
  line-height: 1.7;
}

.module-main-text p:last-child {
  margin-bottom: 0;
}

.module-small-images {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-md);
  max-width: 600px;
  margin: 0 auto;
}

.module-small-image-item {
  text-align: center;
}

.module-small-image-item img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Four Image Quadrant */
.module-four-quadrant {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-lg);
}

.module-quadrant-item {
  text-align: center;
}

.module-quadrant-item img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: var(--spacing-sm);
}

.module-quadrant-item h4 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
  color: var(--text-dark);
  line-height: 1.3;
}

.module-quadrant-item p {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-dark);
  margin-bottom: var(--spacing-sm);
}

.module-quadrant-item p:last-child {
  margin-bottom: 0;
}

/* Three Images & Text */
.module-three-images-text {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-xl);
}

.module-three-item {
  text-align: center;
}

.module-three-item img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  margin-bottom: var(--spacing-sm);
}

.module-caption {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
  color: var(--text-dark);
  line-height: 1.3;
}

.module-three-item p {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-dark);
  max-width: 600px;
  margin: 0 auto var(--spacing-md);
}

.module-three-item p:last-child {
  margin-bottom: 0;
}

/* Single Image & Highlights */
.module-single-highlights {
  display: grid;
  gap: var(--spacing-xl);
  grid-template-columns: 1fr;
}

.module-highlights {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.module-highlight-section h4 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
  color: var(--text-dark);
  line-height: 1.3;
}

.module-highlight-section p {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-dark);
  margin-bottom: var(--spacing-md);
}

.module-highlight-section p:last-child {
  margin-bottom: 0;
}

/* Single Image & Sidebar */
.module-single-sidebar {
  display: grid;
  gap: var(--spacing-xl);
  grid-template-columns: 1fr;
}

.module-content-wrapper {
  display: grid;
  gap: var(--spacing-xl);
  grid-template-columns: 1fr;
}

.module-main-content {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-dark);
}

.module-main-content .module-heading {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: var(--spacing-md);
  color: var(--text-dark);
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.module-main-content .module-content {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-dark);
}

.module-main-content .module-content p {
  margin-bottom: var(--spacing-md);
  line-height: 1.7;
}

.module-main-content .module-content p:last-child {
  margin-bottom: 0;
}

.module-sidebar {
  background: var(--bg-light);
  padding: var(--spacing-lg);
  border-radius: 8px;
}

.module-sidebar img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: var(--spacing-md);
}

.module-sidebar h4 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
  color: var(--text-dark);
  line-height: 1.3;
}

.module-sidebar p {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-dark);
  margin-bottom: var(--spacing-sm);
}

.module-sidebar p:last-child {
  margin-bottom: 0;
}

/* Single Image & Specs */
.module-single-specs {
  text-align: center;
}

.module-subtitle {
  font-family: var(--font-serif);
  font-size: 2rem;
  margin-bottom: var(--spacing-lg);
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.module-spec-section {
  margin-bottom: var(--spacing-xl);
  text-align: left;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.module-spec-section h4 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: var(--spacing-md);
  color: var(--text-dark);
  line-height: 1.3;
}

.module-spec-section ul {
  list-style: none;
  padding: 0;
}

.module-spec-section li {
  padding: var(--spacing-sm) 0;
  border-bottom: 1px solid var(--border-soft);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-dark);
}

.module-spec-section li:last-child {
  border-bottom: none;
}

/* Comparison Chart */
.module-comparison-images {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-xl);
}

.module-comparison-image {
  text-align: center;
}

.module-comparison-image img {
  width: 100%;
  max-width: 200px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.module-comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: var(--spacing-lg);
}

.module-comparison-table th,
.module-comparison-table td {
  padding: var(--spacing-sm) var(--spacing-md);
  text-align: left;
  border-bottom: 1px solid var(--border-soft);
}

.module-comparison-table th {
  background: var(--bg-light);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-dark);
}

.module-comparison-table td {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text-dark);
  line-height: 1.6;
}

/* Technical Specifications */
.module-specs-table {
  width: 100%;
  border-collapse: collapse;
}

.module-specs-table .spec-label {
  width: 40%;
  padding: var(--spacing-sm) var(--spacing-md);
  background: var(--bg-light);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-dark);
  border-bottom: 1px solid var(--border-soft);
}

.module-specs-table .spec-value {
  width: 60%;
  padding: var(--spacing-sm) var(--spacing-md);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text-dark);
  line-height: 1.6;
  border-bottom: 1px solid var(--border-soft);
}

.module-heading {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: var(--spacing-md);
  color: var(--text-dark);
  line-height: 1.3;
  letter-spacing: -0.02em;
}

/* Text Block Module - Enhanced */
.module-text-block {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-dark);
}

.module-text-block p {
  margin-bottom: var(--spacing-md);
  line-height: 1.7;
}

.module-text-block p:last-child {
  margin-bottom: 0;
}

/* ============================================
   ENHANCED MOBILE OPTIMIZATIONS
   ============================================ */

/* Touch Target Sizes - Minimum 44x44px for accessibility */
button,
.btn,
a.btn,
input[type="submit"],
input[type="button"],
.nav-link,
.mobile-menu-toggle,
.thumbnail,
.product-card {
  min-height: 44px;
  min-width: 44px;
}

/* Better Form Inputs on Mobile */
@media (max-width: 768px) {

  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="number"],
  input[type="password"],
  textarea,
  select {
    font-size: 16px !important;
    /* Prevents zoom on iOS */
    padding: 12px 16px;
    min-height: 44px;
    border-radius: 8px;
    -webkit-appearance: none;
    appearance: none;
  }

  /* Better button spacing */
  button,
  .btn {
    padding: 12px 20px;
    font-size: 16px;
    min-height: 44px;
    border-radius: 8px;
    touch-action: manipulation;
    /* Prevents double-tap zoom */
  }

  /* Better link spacing */
  a {
    padding: 4px 0;
    display: inline-block;
    min-height: 32px;
    line-height: 1.5;
  }

  /* Better table scrolling */
  table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
  }

  /* Better image loading */
  img {
    max-width: 100%;
    height: auto;
    display: block;
  }

  /* Prevent text size adjustment */
  * {
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }

  /* Better scrolling */
  body {
    -webkit-overflow-scrolling: touch;
    overflow-x: hidden;
  }

  /* Better modal/dialog on mobile */
  .modal,
  [class*="modal"],
  [id*="modal"] {
    padding: var(--spacing-md);
    max-height: 90vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* Better product cards */
  .product-card {
    min-height: auto;
    padding: var(--spacing-sm);
  }

  .product-card img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  /* Better spacing for touch */
  .product-grid {
    gap: var(--spacing-sm);
    padding: var(--spacing-xs);
  }

  /* Better section spacing */
  section {
    padding: var(--spacing-md) var(--spacing-sm);
  }

  /* Better footer */
  footer {
    padding: var(--spacing-lg) var(--spacing-sm);
    font-size: 0.9rem;
  }

  /* Better lists */
  ul,
  ol {
    padding-left: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
  }

  li {
    margin-bottom: var(--spacing-xs);
    line-height: 1.6;
  }

  /* Better headings spacing */
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    margin-top: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
    line-height: 1.3;
  }

  /* Better paragraph spacing */
  p {
    margin-bottom: var(--spacing-sm);
    line-height: 1.6;
  }
}

/* ============================================
   MOBILE OPTIMIZATIONS (Max-width: 767px)
   ============================================ */

@media (max-width: 768px) {

  /* Product Modules Container */
  .product-modules {
    padding: var(--spacing-xl) var(--spacing-sm);
  }

  .product-module {
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
    border-radius: 16px;
  }

  .module-title,
  .module-heading {
    font-size: 1.75rem;
    margin-bottom: var(--spacing-md);
  }

  /* Single Image Modules */
  .module-single-image {
    gap: var(--spacing-md);
  }

  .module-single-image .module-heading {
    font-size: 1.75rem;
    margin-bottom: var(--spacing-md);
  }

  .module-single-image .module-text,
  .module-single-image .module-content {
    font-size: 0.95rem;
    line-height: 1.7;
  }

  .module-single-image .module-text p,
  .module-single-image .module-content p {
    margin-bottom: var(--spacing-sm);
  }

  /* Image Overlay - Mobile Optimization */
  .module-image-overlay {
    min-height: 250px;
    border-radius: 8px;
  }

  .module-image-overlay img {
    min-height: 250px;
  }

  .module-overlay-content {
    padding: var(--spacing-sm) var(--spacing-md);
    position: relative;
    bottom: 0;
  }

  .module-overlay-title {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
  }

  .module-overlay-text {
    font-size: 0.9rem;
    line-height: 1.7;
  }

  .module-overlay-text p {
    margin-bottom: var(--spacing-xs);
  }

  .module-overlay-text p:last-child {
    margin-bottom: 0;
  }

  /* Image Header */
  .module-image-header img {
    border-radius: 8px;
    margin-bottom: var(--spacing-md);
  }

  .module-text-below-image {
    margin-top: var(--spacing-md);
  }

  .module-text-below-image .module-heading {
    font-size: 1.75rem;
    margin-bottom: var(--spacing-md);
  }

  .module-text-below-image .module-content {
    font-size: 0.95rem;
    line-height: 1.7;
  }

  .module-text-below-image .module-content p {
    margin-bottom: var(--spacing-sm);
  }

  /* Four Image & Text */
  .module-main-image {
    margin-bottom: var(--spacing-md);
  }

  .module-main-text {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
    padding: 0;
  }

  .module-main-text p {
    margin-bottom: var(--spacing-sm);
  }

  .module-small-images {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-sm);
    padding: 0 var(--spacing-xs);
  }

  /* Four Quadrant */
  .module-four-quadrant {
    gap: var(--spacing-md);
  }

  .module-quadrant-item h4 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-xs);
  }

  .module-quadrant-item p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: var(--spacing-xs);
  }

  /* Three Images & Text */
  .module-three-images-text {
    gap: var(--spacing-md);
  }

  .module-three-item img {
    max-width: 100%;
    margin-bottom: var(--spacing-xs);
  }

  .module-caption {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-xs);
  }

  .module-three-item p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: var(--spacing-sm);
    padding: 0;
  }

  .module-three-item p:last-child {
    margin-bottom: 0;
  }

  /* Single Image & Highlights */
  .module-single-highlights {
    gap: var(--spacing-md);
  }

  .module-highlight-section h4 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-xs);
  }

  .module-highlight-section p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: var(--spacing-sm);
  }

  .module-highlight-section p:last-child {
    margin-bottom: 0;
  }

  /* Single Image & Sidebar */
  .module-single-sidebar {
    gap: var(--spacing-md);
  }

  .module-content-wrapper {
    gap: var(--spacing-md);
  }

  .module-main-content {
    font-size: 0.95rem;
    line-height: 1.7;
  }

  .module-main-content .module-heading {
    font-size: 1.75rem;
    margin-bottom: var(--spacing-md);
  }

  .module-main-content .module-content p {
    margin-bottom: var(--spacing-sm);
  }

  .module-sidebar {
    padding: var(--spacing-md);
  }

  .module-sidebar h4 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-xs);
  }

  .module-sidebar p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: var(--spacing-sm);
  }

  .module-sidebar p:last-child {
    margin-bottom: 0;
  }

  /* Single Image & Specs */
  .module-subtitle {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
    letter-spacing: 1px;
  }

  .module-spec-section {
    margin-bottom: var(--spacing-md);
    padding: 0 var(--spacing-xs);
  }

  .module-spec-section h4 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
  }

  .module-spec-section li {
    font-size: 0.9rem;
    padding: var(--spacing-xs) 0;
  }

  /* Comparison Chart */
  .module-comparison-images {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    padding: 0 var(--spacing-xs);
  }

  .module-comparison-image img {
    max-width: 100%;
  }

  .module-comparison-table {
    font-size: 0.8rem;
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-top: var(--spacing-md);
  }

  .module-comparison-table table {
    min-width: 600px;
    width: 100%;
  }

  .module-comparison-table th,
  .module-comparison-table td {
    padding: var(--spacing-xs) var(--spacing-sm);
    font-size: 0.8rem;
  }

  /* Technical Specifications */
  .module-specs-table {
    font-size: 0.9rem;
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .module-specs-table table {
    min-width: 100%;
    width: 100%;
  }

  .module-specs-table .spec-label {
    width: 45%;
    padding: var(--spacing-xs) var(--spacing-sm);
    font-size: 0.85rem;
  }

  .module-specs-table .spec-value {
    width: 55%;
    padding: var(--spacing-xs) var(--spacing-sm);
    font-size: 0.85rem;
  }

  /* Company Logo */
  .module-company-logo {
    padding: var(--spacing-md) 0;
  }

  .module-company-logo img {
    max-width: 100%;
    height: auto;
  }

  /* Text Block */
  .module-text-block {
    font-size: 0.95rem;
    line-height: 1.7;
    padding: 0;
  }

  .module-text-block p {
    margin-bottom: var(--spacing-sm);
  }

  /* Module Heading */
  .module-heading {
    font-size: 1.75rem;
    margin-bottom: var(--spacing-md);
  }

  /* Module Content */
  .module-content {
    font-size: 0.95rem;
    line-height: 1.7;
  }

  .module-content p {
    margin-bottom: var(--spacing-sm);
  }

  .module-content p:last-child {
    margin-bottom: 0;
  }
}

/* Responsive - Desktop */
@media (min-width: 768px) {
  .product-modules {
    padding: var(--spacing-2xl) var(--spacing-md);
  }

  .product-module {
    padding: var(--spacing-xl);
    margin-bottom: var(--spacing-2xl);
  }

  .module-title {
    font-size: 2rem;
  }

  .module-single-image {
    grid-template-columns: 1fr 1fr;
  }

  .module-single-image.module-image-right .module-image {
    order: 2;
  }

  .module-single-image.module-image-right .module-text {
    order: 1;
  }

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

  .module-three-images-text {
    grid-template-columns: repeat(3, 1fr);
  }

  .module-single-highlights {
    grid-template-columns: 1fr 1fr;
  }

  .module-single-sidebar {
    grid-template-columns: 1fr 1fr;
  }

  .module-content-wrapper {
    grid-template-columns: 2fr 1fr;
  }

  .module-comparison-images {
    grid-template-columns: repeat(5, 1fr);
  }

  .module-small-images {
    grid-template-columns: repeat(4, 1fr);
  }

  .module-image-overlay {
    min-height: 400px;
  }

  .module-image-overlay img {
    min-height: 400px;
  }

  .module-overlay-content {
    padding: var(--spacing-xl);
  }

  .module-overlay-title {
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
  }

  .module-overlay-text {
    font-size: 1.05rem;
    line-height: 1.7;
  }

  .module-overlay-text p {
    margin-bottom: var(--spacing-md);
  }

  .module-overlay-text p:last-child {
    margin-bottom: 0;
  }
}
