/* =========================================
   CANDLE & SOAP MAKING SUPPLY SHOP
   style.css — Main Stylesheet
   Theme: "Craft, Scent & Creativity"
   ========================================= */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=DM+Sans:wght@300;400;500;600&family=Cormorant+Garamond:ital,wght@0,400;0,600;1,400&display=swap');

/* ---------- CSS Variables ---------- */
:root {
  /* Colors — Light Mode (Botanical, Linen & Clay) */
  --bg-primary: #FFFFFF;
  --bg-secondary: #FAFAFA;
  --bg-card: #FFFFFF;
  --bg-glass: rgba(255, 255, 255, 0.95);
  --text-primary: #2D2926;
  --text-secondary: #6B665E;
  --text-muted: #8E8A82;
  --accent-lavender: #B87352;
  /* Restored Clay Accent */
  --accent-teal: #82947D;
  /* Muted Sage */
  --accent-botanical: #5F6F52;
  /* Deep Olive */
  --accent-slate: #C5C2BD;
  /* Warm Stone */
  --accent-gold: #D4A373;
  /* Soft Ochre/Natural Gold */
  --border-soft: rgba(184, 115, 82, 0.12);
  --shadow-soft: 0 8px 30px rgba(45, 41, 38, 0.04);
  --shadow-card: 0 12px 40px rgba(45, 41, 38, 0.08);
  --shadow-glow: 0 0 30px rgba(184, 115, 82, 0.15);
  --nav-height: 80px;
  --nav-height-sm: 60px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 40px;
  --transition: 0.3s ease;
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Dark Mode ---------- */
[data-theme="dark"] {
  --bg-primary: #1A1D1A;
  /* Deep Forest Earth */
  --bg-secondary: #242924;
  --bg-card: #242924;
  --bg-glass: rgba(26, 29, 26, 0.8);
  --text-primary: #E9E5D9;
  /* Warm Linen */
  --text-secondary: #A6A296;
  /* Muted Sand */
  --text-muted: #7A766F;
  --accent-lavender: #CD853F;
  /* Warm Sand/Clay */
  --accent-teal: #A3B18A;
  /* Light Sage */
  --accent-botanical: #728C69;
  /* Olive Green */
  --accent-slate: #5D5B56;
  /* Muted Stone */
  --accent-gold: #CD853F;
  /* Peruvian Gold */
  --border-soft: rgba(205, 133, 63, 0.15);
  --shadow-soft: 0 8px 30px rgba(0, 0, 0, 0.4);
  --shadow-card: 0 12px 50px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 40px rgba(205, 133, 63, 0.2);
}

/* ---------- RTL Support ---------- */
[dir="rtl"] {
  --flip: -1;
}

[dir="rtl"] .nav-menu {
  flex-direction: row-reverse;
}

[dir="rtl"] .dropdown-menu {
  left: auto;
  right: 0;
}

[dir="rtl"] .hero-content {
  text-align: right;
}

[dir="rtl"] .hero-ctas {
  justify-content: flex-end;
}

[dir="rtl"] .footer-grid {
  direction: rtl;
}

[dir="rtl"] .social-links {
  justify-content: flex-end;
}

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

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

body {
  font-family: 'DM Sans', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  transition: background-color 0.4s ease, color 0.4s ease;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

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

/* ---------- Typography ---------- */
h1,
h2,
h3 {
  font-family: 'Playfair Display', serif;
  line-height: 1.2;
}

h4,
h5,
h6,
.label {
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--accent-lavender);
}

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

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

.section-tag {
  display: inline-block;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-lavender);
  background: rgba(184, 115, 82, 0.1);
  border: 1px solid rgba(184, 115, 82, 0.25);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--text-primary);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 100px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition);
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-lavender), var(--accent-botanical));
  color: #fff;
  box-shadow: 0 4px 20px rgba(45, 41, 38, 0.15);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(45, 41, 38, 0.25);
}

.btn-outline {
  border: 2px solid var(--border-soft);
  color: var(--text-primary);
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  border-color: var(--accent-lavender);
  color: var(--accent-lavender);
  transform: translateY(-2px);
}

/* ---------- Scroll Animation Classes ---------- */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.delay-1 {
  transition-delay: 0.1s;
}

.delay-2 {
  transition-delay: 0.2s;
}

.delay-3 {
  transition-delay: 0.3s;
}

.delay-4 {
  transition-delay: 0.4s;
}

.delay-5 {
  transition-delay: 0.5s;
}

.delay-6 {
  transition-delay: 0.6s;
}

/* ---------- Icons (Lucide) ---------- */
.lucide {
  width: 1.25em;
  height: 1.25em;
  stroke: currentColor;
  stroke-width: 2px;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  vertical-align: -0.2em;
  transition: transform var(--transition), stroke var(--transition);
}

.icon-logo {
  width: 1.6rem;
  height: 1.6rem;
  stroke-width: 2.25px;
  color: #fff;
}

.icon-accent {
  color: var(--accent-lavender);
}

.icon-muted {
  color: var(--text-muted);
  stroke-width: 1.75px;
}

.icon-growth {
  color: var(--accent-teal);
}

.icon-heart {
  color: #E63946;
  fill: transparent;
}

.icon-heart[fill="currentColor"] {
  fill: #E63946;
}

.icon-star {
  color: var(--accent-gold);
  width: 1rem;
  height: 1rem;
}

.icon-arrow {
  color: var(--accent-lavender);
  stroke-width: 2.5px;
  margin-left: 4px;
}

.small-icon {
  width: 0.9em;
  height: 0.9em;
}

.toast-icon {
  width: 1.1em;
  height: 1.1em;
  margin-right: 8px;
  vertical-align: -0.25em;
}

/* ==========================================
   HEADER & NAVIGATION
   ========================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-soft);
  transition: all 0.4s ease;
}

.site-header.scrolled {
  height: var(--nav-height-sm);
  box-shadow: var(--shadow-soft);
  background: var(--bg-glass);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.logo-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: filter 0.4s ease;
}

.logo-svg {
  width: 100%;
  height: 100%;
  display: block;
  transition: transform 0.4s ease;
}

[data-theme="dark"] .logo-svg {
  filter: drop-shadow(0 0 10px rgba(205, 133, 63, 0.2));
}

.nav-logo:hover .logo-icon {
  transform: rotate(12deg) scale(1.1);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
}

.logo-tagline {
  font-size: 0.62rem;
  font-weight: 500;
  color: var(--accent-lavender);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 14px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  white-space: nowrap;
}

.nav-link:hover,
.nav-item.active>.nav-link {
  color: var(--accent-lavender);
  background: rgba(184, 115, 82, 0.08);
}

.nav-item.active>.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--accent-lavender);
  border-radius: 2px;
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

.nav-arrow {
  font-size: 0.65rem;
  transition: transform var(--transition);
}

.nav-item:hover .nav-arrow {
  transform: rotate(180deg);
}

/* Dropdown */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 200px;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 8px;
  box-shadow: var(--shadow-card);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.25s ease;
  z-index: 100;
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.dropdown-link:hover {
  background: rgba(184, 115, 82, 0.08);
  color: var(--accent-lavender);
  padding-left: 18px;
}

.dropdown-link .dd-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  color: var(--text-muted);
  transition: color var(--transition);
}

.dropdown-link:hover .dd-icon {
  color: var(--accent-lavender);
}

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--text-secondary);
  background: transparent;
  border: 1px solid transparent;
  transition: all var(--transition);
  cursor: pointer;
  position: relative;
}

.nav-icon-btn:hover {
  background: rgba(184, 115, 82, 0.1);
  color: var(--accent-lavender);
  border-color: var(--border-soft);
}

.cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 18px;
  height: 18px;
  background: var(--accent-slate);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-login {
  padding: 9px 20px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  background: linear-gradient(135deg, var(--accent-lavender), var(--accent-teal));
  color: #fff;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  border: none;
  transition: all var(--transition);
  cursor: pointer;
}

.btn-login:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(184, 115, 82, 0.4);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid var(--border-soft);
  background: transparent;
  cursor: pointer;
  transition: all var(--transition);
}

.hamburger:hover {
  background: rgba(184, 115, 82, 0.08);
}

.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.35s ease;
  transform-origin: center;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav Overlay */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-primary);
  z-index: 999;
  overflow-y: auto;
  padding: 24px;
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav.open {
  transform: translateX(0);
}

.mobile-nav-menu {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 32px;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-primary);
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  transition: all var(--transition);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  background: rgba(184, 115, 82, 0.08);
  color: var(--accent-lavender);
  border-color: var(--border-soft);
}

.mobile-submenu {
  display: none;
  padding: 8px 16px 8px 32px;
  flex-direction: column;
  gap: 2px;
}

.mobile-submenu.open {
  display: flex;
}

.mobile-submenu a {
  padding: 10px 12px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.mobile-submenu a:hover {
  color: var(--accent-lavender);
  background: rgba(184, 115, 82, 0.06);
}

.mobile-nav-actions {
  display: flex;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--border-soft);
  align-items: center;
  flex-wrap: wrap;
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-height);
  background: linear-gradient(145deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, #E2E8DF 100%);
}

/* Particle Canvas */
#hero-canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

/* Decorative blob */
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
  pointer-events: none;
  z-index: 0;
}

.hero-blob-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-lavender), transparent);
  top: -100px;
  right: -100px;
  animation: blobFloat 10s ease-in-out infinite;
}

.hero-blob-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--accent-botanical), transparent);
  bottom: 0;
  left: -100px;
  animation: blobFloat 14s ease-in-out infinite reverse;
}

@keyframes blobFloat {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(20px, -20px) scale(1.05);
  }

  66% {
    transform: translate(-15px, 15px) scale(0.97);
  }
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  max-width: 580px;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-lavender);
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.2s forwards;
}

.hero-label::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--accent-lavender);
  border-radius: 2px;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.6rem, 5.5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.35s forwards;
}

.hero-title em {
  font-style: italic;
  color: var(--accent-lavender);
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 460px;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.5s forwards;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 48px;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.65s forwards;
}

.hero-stats {
  display: flex;
  gap: 32px;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.8s forwards;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-primary);
}

.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  animation: fadeLeft 0.9s ease 0.5s forwards;
}

.hero-image-wrap {
  position: relative;
  width: 420px;
  height: 460px;
}

.hero-img-main {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}



/* Floating product badges */
.hero-badge {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-card);
  white-space: nowrap;
  backdrop-filter: blur(10px);
}

.hero-badge-1 {
  top: 20px;
  right: -20px;
  animation: float1 4s ease-in-out infinite;
}

.hero-badge-2 {
  bottom: 60px;
  left: -30px;
  animation: float2 5s ease-in-out infinite;
}

.hero-badge-3 {
  bottom: -10px;
  right: 20px;
  animation: float1 6s ease-in-out infinite reverse;
}

@keyframes float1 {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes float2 {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(8px);
  }
}

.badge-icon {
  font-size: 1.4rem;
}

.badge-info strong {
  display: block;
  font-size: 0.85rem;
  color: var(--text-primary);
  font-weight: 600;
}

.badge-info span {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* Hero scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: fadeUp 1s ease 1.2s both;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--accent-lavender), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {

  0%,
  100% {
    opacity: 0.4;
    transform: scaleY(1);
  }

  50% {
    opacity: 1;
    transform: scaleY(1.1);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

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

/* ==========================================
   ABOUT BRIEF SECTION
   ========================================== */
.about-brief {
  padding: 100px 0;
  background-color: var(--bg-primary);
  overflow: hidden;
}

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

/* Media Stack */
.about-brief-media {
  position: relative;
}

.about-image-stack {
  position: relative;
  width: 100%;
  max-width: 500px;
  aspect-ratio: 4/5;
  margin: 0 auto;
}

.about-img-main {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  position: relative;
  z-index: 2;
}

.about-img-decor {
  position: absolute;
  top: -30px;
  left: -30px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--accent-lavender);
  border-radius: var(--radius-lg);
  z-index: 1;
  opacity: 0.3;
}

/* Content */
.about-brief-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about-text {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin: 20px 0;
}

.about-feat-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.feat-icon {
  font-size: 1.5rem;
  background: var(--bg-secondary);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  flex-shrink: 0;
}

.feat-info strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.feat-info span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.about-cta {
  margin-top: 10px;
}

/* Responsive */
@media (max-width: 1024px) {
  .about-brief-grid {
    gap: 40px;
  }

  .about-img-main {
    height: 450px;
  }
}

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

  .about-brief-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-brief-media {
    order: 2;
  }

  .about-brief-content {
    order: 1;
    align-items: center;
  }

  .about-image-stack {
    margin: 0 auto;
  }

  .about-features {
    grid-template-columns: 1fr;
    text-align: left;
    max-width: 400px;
  }
}

@keyframes fadeLeft {

  from {
    opacity: 0;
    transform: translateX(30px);
  }

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

/* ==========================================
   FEATURED TUTORIALS SECTION
   ========================================== */
.tutorials-section {
  padding: 100px 0;
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.tutorials-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-lavender), transparent);
  opacity: 0.4;
}

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

.tutorial-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  box-shadow: var(--shadow-soft);
  transition: all 0.4s ease;
  cursor: pointer;
}

.tutorial-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card);
}

.card-media {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.tutorial-card:hover .card-media img {
  transform: scale(1.1);
}

/* CSS gradient stand-ins for placeholder images */
.thumb-candle {
  background: linear-gradient(135deg, var(--accent-lavender) 0%, var(--accent-teal) 40%, var(--accent-slate) 100%);
}

.thumb-soap {
  background: linear-gradient(135deg, #CFD8C1 0%, #A3B18A 40%, #588157 100%);
}

.thumb-advanced {
  background: linear-gradient(135deg, #E6BEAE 0%, #B87352 40%, #8D5B3A 100%);
}

.card-thumb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  transition: transform 0.5s ease;
}

.tutorial-card:hover .card-thumb-placeholder {
  transform: scale(1.08);
}

.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tutorial-card:hover .card-overlay {
  opacity: 1;
}

.play-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transform: scale(0.8);
  transition: transform 0.3s ease;
}

.tutorial-card:hover .play-btn {
  transform: scale(1);
}

.card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--accent-lavender);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
}

.card-duration {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 100px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.card-body {
  padding: 22px;
}

.card-category {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-lavender);
  margin-bottom: 8px;
}

.card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: var(--text-primary);
  margin-bottom: 10px;
  line-height: 1.3;
}

.card-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.6;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border-soft);
}

.card-level {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.level-dots {
  display: flex;
  gap: 3px;
}

.level-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--border-soft);
}

.level-dots span.filled {
  background: var(--accent-lavender);
}

.card-action {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-lavender);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--transition);
}

.tutorial-card:hover .card-action {
  gap: 8px;
}

/* ==========================================
   DIY KITS SECTION
   ========================================== */
.kits-section {
  padding: 100px 0;
  position: relative;
}

.kits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 40px;
}

.kit-card {
  perspective: 1000px;
  height: 520px;
  cursor: pointer;
}

.kit-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  transform-style: preserve-3d;
}

.kit-card:hover .kit-card-inner {
  transform: rotateY(180deg);
}

.kit-front,
.kit-back {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  overflow: hidden;
}

.kit-front {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px;
  text-align: center;
}

.kit-icon-wrap {
  width: 160px;
  height: 160px;
  border-radius: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}

.kit-icon-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.kit-icon-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: inherit;
  opacity: 0.15;
  border-radius: inherit;
}

.kit-1 .kit-icon-wrap {
  background: linear-gradient(135deg, var(--accent-lavender), var(--accent-teal));
}

.kit-2 .kit-icon-wrap {
  background: linear-gradient(135deg, #a8d5c2, #5a9485);
}

.kit-3 .kit-icon-wrap {
  background: linear-gradient(135deg, #d4a8c7, #8b6a8c);
}

.kit-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.kit-desc-front {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.6;
}

.kit-price {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-lavender);
}

.kit-price span {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-left: 6px;
}

.kit-hover-hint {
  margin-top: 12px;
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 0.5;
  }

  50% {
    opacity: 1;
  }
}

.kit-back {
  transform: rotateY(180deg);
  background: linear-gradient(135deg, var(--accent-lavender), var(--accent-slate));
  display: flex;
  flex-direction: column;
  padding: 28px;
  color: #fff;
}

.kit-back-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  margin-bottom: 16px;
  font-weight: 600;
}

.kit-contents {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.kit-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
}

.kit-item::before {
  content: '✓';
  width: 20px;
  height: 20px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
}

.kit-cta {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.5);
  padding: 12px 24px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.9rem;
  text-align: center;
  transition: all var(--transition);
  display: block;
  animation: ctaPulse 2s ease-in-out infinite;
}

.kit-cta:hover {
  background: rgba(255, 255, 255, 0.35);
}

@keyframes ctaPulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.2);
  }

  50% {
    box-shadow: 0 0 0 8px rgba(255, 255, 255, 0);
  }
}

.kits-cta-wrap {
  text-align: center;
}

/* ==========================================
   INGREDIENTS EXPLAINED SECTION
   ========================================== */
.ingredients-section {
  padding: 100px 0;
  background: var(--bg-secondary);
}

.ingredients-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}

.ingredients-tabs {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ing-tab {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  text-align: left;
  transition: all var(--transition);
  width: 100%;
}

.ing-tab:hover {
  background: rgba(184, 115, 82, 0.05);
  border-color: var(--border-soft);
}

.ing-tab.active {
  background: var(--bg-card);
  border-color: var(--accent-lavender);
  box-shadow: var(--shadow-soft);
}

.ing-tab-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(184, 115, 82, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
  transition: transform 0.3s ease, background 0.3s ease;
}

.ing-tab.active .ing-tab-icon,
.ing-tab:hover .ing-tab-icon {
  background: linear-gradient(135deg, var(--accent-lavender), var(--accent-teal));
  transform: scale(1.05) rotate(5deg);
}

.ing-tab-text strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.ing-tab-text span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.ingredients-content {
  position: relative;
}

.ing-panel {
  display: none;
  animation: fadeInPanel 0.4s ease;
}

.ing-panel.active {
  display: block;
}

@keyframes fadeInPanel {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

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

.ing-panel-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.ing-panel-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--accent-lavender), var(--accent-teal));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}

.ing-panel-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: var(--text-primary);
}

.ing-panel-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.ing-description {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 28px;
}

.ing-types-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.ing-type-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 16px;
  transition: all var(--transition);
}

.ing-type-card:hover {
  border-color: var(--accent-lavender);
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}

.ing-type-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.ing-type-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.ing-type-tag {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-lavender);
  background: rgba(201, 136, 58, 0.1);
  padding: 3px 8px;
  border-radius: 100px;
}

/* ==========================================
   TESTIMONIALS / COMMUNITY SECTION
   ========================================== */
.community-section {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.community-section::before {
  content: '"';
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Playfair Display', serif;
  font-size: 18rem;
  color: var(--accent-lavender);
  opacity: 0.04;
  pointer-events: none;
  line-height: 1;
  z-index: 0;
}

.testimonials-slider {
  position: relative;
  overflow: hidden;
  margin: 0 -12px;
}

.testimonials-track {
  display: flex;
  gap: 24px;
  padding: 12px;
  animation: autoScroll 30s linear infinite;
}

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

@keyframes autoScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.testimonial-card {
  flex-shrink: 0;
  width: 320px;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
}

.testi-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 14px;
}

.testi-stars span {
  color: var(--accent-lavender);
  font-size: 0.9rem;
}

.testi-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  color: var(--text-primary);
  line-height: 1.6;
  margin-bottom: 20px;
  font-style: italic;
}

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

.testi-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.testi-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.av-1 {
  background: linear-gradient(135deg, var(--accent-lavender), var(--accent-slate));
}

.av-2 {
  background: linear-gradient(135deg, #7d9b76, #5a8a78);
}

.av-3 {
  background: linear-gradient(135deg, #d4a8c7, #8b6a8c);
}

.av-4 {
  background: linear-gradient(135deg, #85b0f5, #5a7ac4);
}

.av-5 {
  background: linear-gradient(135deg, var(--accent-teal), var(--accent-slate));
}

.av-6 {
  background: linear-gradient(135deg, #a8d5c2, #5a9485);
}

.testi-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-primary);
}

.testi-handle {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ==========================================
   CTA SECTION — JOIN 10,000+
   ========================================== */
.join-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--accent-lavender) 0%, var(--accent-slate) 50%, #8b6a8c 100%);
  position: relative;
  overflow: hidden;
}

.join-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.join-inner {
  position: relative;
  text-align: center;
  color: #fff;
  max-width: 620px;
  margin: 0 auto;
}

.join-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 16px;
}

.join-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 16px;
  color: #fff;
}

.join-subtitle {
  font-size: 1.05rem;
  opacity: 0.85;
  margin-bottom: 36px;
}

.join-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto 28px;
}

.join-input {
  flex: 1;
  padding: 14px 20px;
  border-radius: 100px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  outline: none;
  transition: border-color var(--transition);
}

.join-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.join-input:focus {
  border-color: rgba(255, 255, 255, 0.7);
}

.join-btn {
  padding: 14px 28px;
  border-radius: 100px;
  background: #fff;
  color: var(--accent-slate);
  border: none;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition);
}

.join-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.join-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  opacity: 0.7;
  font-size: 0.8rem;
}

.join-trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================
   FOOTER
   ========================================== */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-soft);
  padding: 72px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.4fr;
  gap: 48px;
  padding-bottom: 60px;
}

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

.footer-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--text-secondary);
  transition: all var(--transition);
  background: var(--bg-card);
}

.social-link .icon-accent {
  color: var(--accent-lavender) !important;
}

.social-link:hover {
  border-color: var(--accent-lavender);
  color: var(--accent-lavender);
  background: rgba(201, 136, 58, 0.08);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

.footer-col-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 20px;
}

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

.footer-links a {
  font-size: 0.88rem;
  color: var(--text-secondary);
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-links a::before {
  content: '';
  width: 0;
  height: 1px;
  background: var(--accent-lavender);
  transition: width 0.25s ease;
}

.footer-links a:hover {
  color: var(--accent-lavender);
  padding-left: 4px;
}

.footer-links a:hover::before {
  width: 12px;
}

.newsletter-text {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 14px;
  line-height: 1.6;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.newsletter-input {
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-soft);
  background: var(--bg-card);
  color: var(--text-primary);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  outline: none;
  transition: border-color var(--transition);
}

.newsletter-input:focus {
  border-color: var(--accent-lavender);
}

.newsletter-input::placeholder {
  color: var(--text-muted);
}

.newsletter-btn {
  padding: 12px 20px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--accent-lavender), var(--accent-teal));
  color: #fff;
  font-weight: 600;
  font-size: 0.875rem;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}

.newsletter-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(201, 136, 58, 0.4);
}

.footer-bottom {
  border-top: 1px solid var(--border-soft);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copy {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  font-size: 0.82rem;
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer-bottom-links a:hover {
  color: var(--accent-lavender);
}

/* ==========================================
   RESPONSIVE — TABLET (768px–1024px)
   ========================================== */
@media (max-width: 1024px) {

  .nav-menu,
  .nav-actions .btn-login,
  #theme-toggle,
  #rtl-toggle {
    display: none !important;
  }

  .nav-actions {
    display: flex !important;
    gap: 12px;
  }

  .nav-actions .nav-icon-btn,
  .hamburger {
    display: flex !important;
  }

  .mobile-nav {
    display: block;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-ctas,
  .hero-stats {
    justify-content: center;
  }

  .hero-visual {
    justify-content: center;
  }

  .hero-image-wrap {
    width: 320px;
    height: 360px;
  }

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

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

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

  .ingredients-tabs {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .ing-tab {
    flex: 1;
    min-width: 200px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
  }

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

  .section-title {
    font-size: clamp(1.8rem, 5vw, 2.6rem);
  }
}

/* ==========================================
   RESPONSIVE — MOBILE (< 768px)
   ========================================== */
@media (max-width: 767px) {
  :root {
    --nav-height: 64px;
  }

  .nav-inner {
    padding: 0 16px;
  }

  .hero {
    padding-top: var(--nav-height);
  }

  .hero-title {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }

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

  .hero-stats {
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-badge-1,
  .hero-badge-2,
  .hero-badge-3 {
    display: none;
  }

  .hero-image-wrap {
    width: 260px;
    height: 280px;
  }

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

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

  .kit-card {
    height: 380px;
  }

  .ing-types-grid {
    grid-template-columns: 1fr;
  }

  .ingredients-tabs {
    flex-direction: column;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .join-form {
    flex-direction: column;
  }

  .join-trust {
    flex-direction: column;
    gap: 10px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

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

  .section-title {
    font-size: clamp(1.4rem, 10vw, 1.8rem);
    line-height: 1.25;
    word-spacing: 0;
  }

  .section-subtitle {
    font-size: 0.92rem;
    line-height: 1.6;
  }

  .tutorials-section,
  .kits-section,
  .ingredients-section,
  .community-section {
    padding: 70px 0;
  }
}

/* ==========================================
   SCROLLBAR STYLING
   ========================================== */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
  background: var(--accent-lavender);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-slate);
}

/* ==========================================
   SELECTION STYLING
   ========================================== */
::selection {
  background: rgba(201, 136, 58, 0.25);
  color: var(--text-primary);
}

/* ==========================================
   MULTI-COLOR ICON SYSTEM (LUCIDE)
   ========================================== */
.lucide {
  width: 1.2em;
  height: 1.2em;
  stroke-width: 2;
  stroke: currentColor;
  display: inline-block;
  vertical-align: middle;
  transition: transform 0.2s ease, stroke 0.2s ease;
}

/* Color Palette - Professional Multi-color Aesthetic */
.icon-logo {
  stroke: url(#logo-gradient);
  /* Or just solid for simple CSS icons */
  color: #c9883a;
  /* Fallback brand gold */
  stroke-width: 2.2;
}

.icon-accent {
  color: var(--accent-lavender);
  filter: drop-shadow(0 0 2px rgba(184, 115, 82, 0.2));
}

.icon-growth {
  color: var(--accent-botanical);
}

.icon-muted {
  color: var(--accent-lavender);
}

.icon-dark {
  color: var(--accent-lavender);
  /* Deep Indigo for Dark Mode moon */
}

.icon-timer {
  color: var(--accent-teal);
}

.icon-heart {
  color: #ff5252;
  /* Rose Red for Save */
}

.icon-star {
  color: #ffd740;
  /* Yellow Gold for Editor Pick */
}

/* Logo specific icon gradient (SVG workaround) */
.logo-icon svg {
  filter: drop-shadow(0 2px 4px rgba(201, 136, 58, 0.3));
}

/* Navigation & Interaction states */
.nav-link:hover .lucide,
.dropdown-link:hover .lucide {
  transform: translateY(-1px);
}

/* ==========================================
   HOME 2 — SUPPLY STORE EXPERIENCE
   ========================================== */

/* ── H2 Hero ─────────────────────────────── */
.h2-hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg-primary);
}

.h2-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 80% 50%, rgba(126, 87, 194, 0.08) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 20% 80%, rgba(77, 182, 172, 0.07) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
  transition: background 0.4s;
}

[data-theme="dark"] .h2-hero-bg {
  background:
    radial-gradient(ellipse 70% 60% at 80% 50%, rgba(167, 139, 250, 0.12) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 20% 80%, rgba(94, 234, 212, 0.08) 0%, transparent 60%);
}

.h2-hero-grid-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.03;
  background-image:
    linear-gradient(var(--text-primary) 1px, transparent 1px),
    linear-gradient(90deg, var(--text-primary) 1px, transparent 1px);
  background-size: 60px 60px;
}

.h2-hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 80px 0 60px;
}

.h2-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-teal);
  margin-bottom: 22px;
  opacity: 0;
  animation: h2FadeUp 0.7s ease 0.15s forwards;
}

.h2-hero-eyebrow span {
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--accent-teal);
  border-radius: 2px;
}

.h2-hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 20px;
  opacity: 0;
  animation: h2FadeUp 0.7s ease 0.28s forwards;
}

.h2-hero-title .h2-accent {
  color: var(--accent-lavender);
  font-style: italic;
}

.h2-hero-sub {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 480px;
  line-height: 1.7;
  opacity: 0;
  animation: h2FadeUp 0.7s ease 0.42s forwards;
}

.h2-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 48px;
  opacity: 0;
  animation: h2FadeUp 0.7s ease 0.56s forwards;
}

.h2-btn-candle {
  padding: 15px 32px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent-lavender), #9c4fd6);
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.92rem;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(126, 87, 194, 0.35);
  text-decoration: none;
}

.h2-btn-candle:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(126, 87, 194, 0.5);
}

.h2-btn-soap {
  padding: 15px 32px;
  border-radius: 12px;
  background: transparent;
  color: var(--accent-teal);
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.92rem;
  border: 2px solid var(--accent-teal);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.h2-btn-soap:hover {
  background: var(--accent-teal);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(77, 182, 172, 0.4);
}

.h2-hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  opacity: 0;
  animation: h2FadeUp 0.7s ease 0.7s forwards;
}

.h2-trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  padding: 7px 14px;
  border-radius: 100px;
}

.h2-trust-chip .tc-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-teal);
  flex-shrink: 0;
}

/* Hero Visual — right side */
.h2-hero-visual {
  position: relative;
  opacity: 0;
  animation: h2FadeLeft 0.8s ease 0.4s forwards;
}

.h2-hero-showcase {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
}

.h2-showcase-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

.h2-showcase-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
}

.h2-showcase-card.large {
  grid-row: span 2;
}

.h2-sc-img {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  position: relative;
  overflow: hidden;
}

.h2-sc-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.h2-showcase-card:hover .h2-sc-img img {
  transform: scale(1.1);
}

.h2-sc-img.candle-bg {
  background: linear-gradient(145deg, #ede0ff, #d4b3f7);
}

.h2-sc-img.soap-bg {
  background: linear-gradient(145deg, #c8f5f1, #a0e9e3);
}

.h2-sc-img.frag-bg {
  background: linear-gradient(145deg, #ffecd2, #f7d4a0);
}

.h2-sc-img.color-bg {
  background: linear-gradient(145deg, #ffd6e0, #f7b3c2);
}

[data-theme="dark"] .h2-sc-img.candle-bg {
  background: linear-gradient(145deg, #2d1f4a, #3d2860);
}

[data-theme="dark"] .h2-sc-img.soap-bg {
  background: linear-gradient(145deg, #0f3030, #1a4a44);
}

[data-theme="dark"] .h2-sc-img.frag-bg {
  background: linear-gradient(145deg, #3d2a10, #5a3e18);
}

[data-theme="dark"] .h2-sc-img.color-bg {
  background: linear-gradient(145deg, #3a1020, #5a1830);
}

.h2-sc-img.large-img {
  height: auto;
  flex: 1;
  min-height: 280px;
  font-size: 5rem;
}

.h2-sc-body {
  padding: 14px 16px;
}

.h2-sc-name {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.h2-sc-price {
  font-size: 0.78rem;
  color: var(--accent-lavender);
  font-weight: 700;
}

.h2-sc-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--accent-lavender);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
  z-index: 2;
}

.h2-sc-badge.new {
  background: var(--accent-teal);
}

.h2-sc-badge.hot {
  background: #e53935;
}

.h2-sc-badge.bulk {
  background: var(--accent-botanical);
}

/* Floating order badge */
.h2-order-badge {
  position: absolute;
  bottom: -14px;
  right: -14px;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 5;
  animation: h2FloatBadge 4s ease-in-out infinite;
}

.h2-order-badge .ob-icon {
  font-size: 1.4rem;
}

.h2-order-badge .ob-text strong {
  display: block;
  font-size: 0.84rem;
  color: var(--text-primary);
  font-weight: 600;
}

.h2-order-badge .ob-text span {
  font-size: 0.72rem;
  color: var(--text-muted);
}

@keyframes h2FloatBadge {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes h2FadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

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

@keyframes h2FadeLeft {
  from {
    opacity: 0;
    transform: translateX(30px);
  }

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

/* ── Category Nav Section ─────────────────── */
.h2-categories {
  padding: 90px 0 80px;
  background: var(--bg-secondary);
  position: relative;
}

.h2-categories::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-lavender), transparent);
  opacity: 0.25;
}

.h2-cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.h2-cat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  cursor: pointer;
  text-decoration: none;
  display: block;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.h2-cat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent-lavender), var(--accent-teal));
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 0;
}

.h2-cat-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card);
  border-color: var(--accent-lavender);
}

.h2-cat-card:hover::before {
  opacity: 0.06;
}

.h2-cat-card>* {
  position: relative;
  z-index: 1;
}

.h2-cat-icon-wrap {
  width: 140px;
  height: 140px;
  border-radius: 28px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.h2-cat-icon-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.h2-cat-card:hover .h2-cat-icon-wrap {
  transform: scale(1.05);
}

.h2-cat-card:hover .h2-cat-icon-wrap img {
  transform: scale(1.1);
}

.h2-cat-card:nth-child(1) .h2-cat-icon-wrap {
  background: linear-gradient(135deg, #ede0ff, #c8a8ff);
}

.h2-cat-card:nth-child(2) .h2-cat-icon-wrap {
  background: linear-gradient(135deg, #c8f5f1, #89ddd7);
}

.h2-cat-card:nth-child(3) .h2-cat-icon-wrap {
  background: linear-gradient(135deg, #ffecd2, #f7d4a0);
}

.h2-cat-card:nth-child(4) .h2-cat-icon-wrap {
  background: linear-gradient(135deg, #ffd6e0, #f7a8bd);
}

[data-theme="dark"] .h2-cat-card:nth-child(1) .h2-cat-icon-wrap {
  background: linear-gradient(135deg, #2d1f4a, #3d2860);
}

[data-theme="dark"] .h2-cat-card:nth-child(2) .h2-cat-icon-wrap {
  background: linear-gradient(135deg, #0f3030, #1a4a44);
}

[data-theme="dark"] .h2-cat-card:nth-child(3) .h2-cat-icon-wrap {
  background: linear-gradient(135deg, #3d2a10, #5a3e18);
}

[data-theme="dark"] .h2-cat-card:nth-child(4) .h2-cat-icon-wrap {
  background: linear-gradient(135deg, #3a1020, #5a1830);
}

.h2-cat-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.h2-cat-count {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.h2-cat-arrow {
  font-size: 0.8rem;
  color: var(--accent-lavender);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.25s ease;
}

.h2-cat-card:hover .h2-cat-arrow {
  gap: 10px;
}

/* ── Product Grid ─────────────────────────── */
.h2-products {
  padding: 90px 0;
  background: var(--bg-primary);
}

.h2-product-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 44px;
  flex-wrap: wrap;
}

.h2-ptab {
  padding: 10px 22px;
  border-radius: 100px;
  border: 1px solid var(--border-soft);
  background: transparent;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 0.88rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.25s ease;
}

.h2-ptab:hover {
  border-color: var(--accent-lavender);
  color: var(--accent-lavender);
}

.h2-ptab.active {
  background: var(--accent-lavender);
  color: #fff;
  border-color: var(--accent-lavender);
}

.h2-product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.h2-product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.h2-product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
  border-color: rgba(126, 87, 194, 0.3);
}

.h2-product-img {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.2rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s ease;
}

.h2-product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.h2-product-card:hover .h2-product-img {
  transform: scale(1.04);
}

/* Quick add overlay */
.h2-quick-add {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(126, 87, 194, 0.95), rgba(126, 87, 194, 0.7));
  color: #fff;
  padding: 14px;
  text-align: center;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.h2-product-card:hover .h2-quick-add {
  transform: translateY(0);
}

.h2-quick-add:hover {
  background: linear-gradient(to top, rgba(100, 60, 180, 0.98), rgba(100, 60, 180, 0.85));
}

.h2-product-body {
  padding: 18px;
}

.h2-product-cat {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-teal);
  margin-bottom: 6px;
}

.h2-product-name {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-primary);
  margin-bottom: 4px;
  line-height: 1.35;
}

.h2-product-size {
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.h2-product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid var(--border-soft);
}

.h2-product-price {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
}

.h2-product-price .h2-old-price {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-left: 5px;
}

.h2-product-rating {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 0.72rem;
  color: var(--text-muted);
}

.h2-product-rating .h2-star {
  color: #f5a623;
  font-size: 0.75rem;
}

.h2-product-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fff;
  padding: 4px 10px;
  border-radius: 100px;
  z-index: 3;
}

.badge-sale {
  background: #e53935;
}

.badge-new {
  background: var(--accent-teal);
}

.badge-popular {
  background: var(--accent-lavender);
}

.badge-bulk {
  background: var(--accent-botanical);
}

.h2-product-wishlist {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--bg-glass);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  cursor: pointer;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.25s ease;
  z-index: 3;
}

.h2-product-card:hover .h2-product-wishlist {
  opacity: 1;
  transform: scale(1);
}

/* ── Bulk & Wholesale Section ─────────────── */
.h2-bulk {
  padding: 90px 0;
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.h2-bulk-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.h2-bulk-content .h2-bulk-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-teal);
  background: rgba(77, 182, 172, 0.1);
  border: 1px solid rgba(77, 182, 172, 0.25);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 18px;
}

.h2-bulk-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--text-primary);
  margin-bottom: 16px;
  line-height: 1.2;
}

.h2-bulk-title em {
  font-style: italic;
  color: var(--accent-teal);
}

.h2-bulk-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
  line-height: 1.7;
}

.h2-tier-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}

.h2-tier {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  transition: all 0.25s ease;
  cursor: pointer;
}

.h2-tier:hover {
  border-color: var(--accent-teal);
  transform: translateX(4px);
  box-shadow: var(--shadow-soft);
}

.h2-tier-qty {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  min-width: 80px;
}

.h2-tier-bar-wrap {
  flex: 1;
  height: 6px;
  background: var(--bg-secondary);
  border-radius: 3px;
  overflow: hidden;
}

.h2-tier-bar {
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--accent-teal), var(--accent-lavender));
  width: 0;
  transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.h2-tier-bar.animated {
  width: var(--bar-w);
}

.h2-tier-save {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-teal);
  white-space: nowrap;
}

/* Counter cards */
.h2-counter-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.h2-counter-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.h2-counter-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.h2-counter-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-lavender), var(--accent-teal));
}

.h2-counter-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 8px;
}

.h2-counter-num .h2-counter-suffix {
  font-size: 1.4rem;
  color: var(--accent-lavender);
}

.h2-counter-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ── Quality Promise / Brands ─────────────── */
.h2-quality {
  padding: 90px 0;
  background: var(--bg-primary);
}

.h2-quality-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.h2-promise-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.h2-promise-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.h2-promise-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-lavender), var(--accent-teal));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.h2-promise-card:hover::before {
  transform: scaleX(1);
}

.h2-promise-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.h2-promise-icon {
  font-size: 1.8rem;
  margin-bottom: 12px;
  display: block;
  transition: transform 0.3s ease;
}

.h2-promise-card:hover .h2-promise-icon {
  transform: scale(1.2) rotate(-5deg);
}

.h2-promise-title {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.h2-promise-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.h2-certifications {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.h2-cert-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-lavender);
  background: rgba(126, 87, 194, 0.08);
  border: 1px solid rgba(126, 87, 194, 0.2);
  padding: 6px 12px;
  border-radius: 100px;
}

/* Right side visual */
.h2-quality-visual {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.h2-quality-feature {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 22px;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  transition: all 0.3s ease;
}

.h2-quality-feature:hover {
  border-color: var(--accent-lavender);
  transform: translateX(6px);
  box-shadow: var(--shadow-soft);
}

.h2-qf-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.h2-quality-feature:hover .h2-qf-icon {
  transform: rotate(-8deg) scale(1.1);
}

.h2-qf-1 {
  background: linear-gradient(135deg, #ede0ff, #c8a8ff);
}

.h2-qf-2 {
  background: linear-gradient(135deg, #c8f5f1, #89ddd7);
}

.h2-qf-3 {
  background: linear-gradient(135deg, #ffecd2, #f7d4a0);
}

[data-theme="dark"] .h2-qf-1 {
  background: linear-gradient(135deg, #2d1f4a, #3d2860);
}

[data-theme="dark"] .h2-qf-2 {
  background: linear-gradient(135deg, #0f3030, #1a4a44);
}

[data-theme="dark"] .h2-qf-3 {
  background: linear-gradient(135deg, #3d2a10, #5a3e18);
}

.h2-qf-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.h2-qf-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ── Repeat Buyer CTA ─────────────────────── */
.h2-reorder {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--accent-lavender) 0%, #5c3fa3 40%, var(--accent-botanical) 100%);
  position: relative;
  overflow: hidden;
}

.h2-reorder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Ccircle cx='40' cy='40' r='1.5' fill='%23ffffff' fill-opacity='0.06'/%3E%3C/g%3E%3C/svg%3E");
}

.h2-reorder-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
}

.h2-reorder-content {}

.h2-reorder-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 12px;
}

.h2-reorder-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: #fff;
  margin-bottom: 12px;
}

.h2-reorder-sub {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 28px;
  max-width: 500px;
}

.h2-reorder-perks {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.h2-reorder-perk {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 7px 14px;
  border-radius: 100px;
  backdrop-filter: blur(6px);
}

.h2-reorder-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
}

.h2-btn-reorder {
  padding: 16px 36px;
  border-radius: 12px;
  background: #fff;
  color: var(--accent-lavender);
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  justify-content: center;
}

.h2-btn-reorder:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
}

.h2-btn-account {
  padding: 14px 32px;
  border-radius: 12px;
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  border: 2px solid rgba(255, 255, 255, 0.35);
  cursor: pointer;
  text-align: center;
  transition: all 0.3s ease;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.h2-btn-account:hover {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.1);
}

/* ── RTL adjustments for H2 ───────────────── */
[dir="rtl"] .h2-hero-eyebrow,
[dir="rtl"] .h2-hero-title,
[dir="rtl"] .h2-hero-sub,
[dir="rtl"] .h2-hero-ctas,
[dir="rtl"] .h2-hero-trust {
  text-align: right;
}

[dir="rtl"] .h2-hero-ctas {
  justify-content: flex-end;
}

[dir="rtl"] .h2-bulk-content .h2-tier {
  transform-origin: right;
}

[dir="rtl"] .h2-bulk-content .h2-tier:hover {
  transform: translateX(-4px);
}

[dir="rtl"] .h2-quality-feature:hover {
  transform: translateX(-6px);
}

[dir="rtl"] .h2-tier-bar {
  background: linear-gradient(270deg, var(--accent-teal), var(--accent-lavender));
}

/* ── Responsive — H2 ─────────────────────── */
@media (max-width: 1024px) {
  .h2-hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .h2-hero-eyebrow,
  .h2-hero-ctas,
  .h2-hero-trust {
    justify-content: center;
  }

  .h2-hero-sub {
    margin: 0 auto 36px;
  }

  .h2-hero-showcase {
    max-width: 480px;
    margin: 0 auto;
  }

  .h2-order-badge {
    right: 0;
    bottom: -20px;
  }

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

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

  .h2-bulk-inner,
  .h2-quality-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .h2-reorder-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .h2-reorder-sub {
    margin: 0 auto 28px;
  }

  .h2-reorder-perks {
    justify-content: center;
  }

  .h2-reorder-actions {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
  }

  [dir="rtl"] .h2-hero-eyebrow,
  [dir="rtl"] .h2-hero-ctas,
  [dir="rtl"] .h2-hero-trust {
    justify-content: center;
  }
}

@media (max-width: 767px) {
  .h2-hero-inner {
    padding: 40px 0 30px;
  }

  .h2-hero-title {
    font-size: clamp(2rem, 8vw, 2.6rem);
  }

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

  .h2-hero-trust {
    flex-wrap: wrap;
    justify-content: center;
  }

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

  .h2-sc-img {
    height: 120px;
    font-size: 2.2rem;
  }

  .h2-sc-img.large-img {
    height: 200px;
    font-size: 3.5rem;
  }

  .h2-order-badge {
    display: none;
  }

  .h2-cat-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .h2-cat-card {
    padding: 22px 16px;
  }

  .h2-product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .h2-counter-grid {
    grid-template-columns: 1fr 1fr;
  }

  .h2-promise-grid {
    grid-template-columns: 1fr;
  }

  .h2-reorder-actions {
    flex-direction: column;
  }

  .h2-btn-reorder,
  .h2-btn-account {
    width: 100%;
  }

  .h2-categories,
  .h2-products,
  .h2-bulk,
  .h2-quality,
  .h2-reorder {
    padding: 60px 0;
  }
}

@media (max-width: 480px) {
  .h2-product-grid {
    grid-template-columns: 1fr;
  }

  .h2-cat-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ============================================================
   ABOUT PAGE STYLES — about.html
   ============================================================ */

/* ── About Hero ──────────────────────────────────────────────── */
.ab-hero {
  position: relative;
  padding: calc(var(--nav-height) + 80px) 0 100px;
  overflow: hidden;
  background: var(--bg-primary);
}

.ab-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.ab-hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
}

.ab-blob-1 {
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(184, 115, 82, 0.4), transparent 70%);
  top: -80px;
  left: -120px;
  animation: ab-float 10s ease-in-out infinite;
}

.ab-blob-2 {
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(130, 148, 125, 0.35), transparent 70%);
  bottom: 0;
  right: -80px;
  animation: ab-float 13s ease-in-out infinite reverse;
}

.ab-blob-3 {
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(212, 163, 115, 0.3), transparent 70%);
  top: 40%;
  left: 55%;
  animation: ab-float 8s ease-in-out infinite;
}

@keyframes ab-float {

  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(20px, -30px);
  }
}

.ab-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.ab-hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  line-height: 1.15;
  margin: 16px 0 20px;
  color: var(--text-primary);
}

.ab-hero-title em {
  font-style: italic;
  color: var(--accent-lavender);
}

.ab-hero-sub {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 480px;
}

.ab-hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Image stack */
.ab-hero-visual {
  position: relative;
}

.ab-hero-img-stack {
  position: relative;
  height: 440px;
}

.ab-img-card {
  position: absolute;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.4s ease;
}

.ab-img-card:hover {
  transform: scale(1.02) rotate(-1deg);
}

.ab-img-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ab-img-1 {
  width: 340px;
  height: 380px;
  top: 0;
  left: 0;
  z-index: 1;
}

.ab-img-2 {
  width: 220px;
  height: 240px;
  bottom: 0;
  right: 0;
  z-index: 2;
  border: 4px solid var(--bg-primary);
}

.ab-hero-img-stack:hover .ab-img-1 {
  transform: translateY(-6px) rotate(-2deg);
}

.ab-hero-img-stack:hover .ab-img-2 {
  transform: translateY(6px) rotate(2deg);
}

.ab-img-pill {
  position: absolute;
  top: 24px;
  right: 20px;
  z-index: 3;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: 100px;
  padding: 8px 18px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.2;
}

.ab-img-pill span {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.ab-img-pill strong {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  color: var(--accent-lavender);
  font-weight: 700;
}

/* ── Stats Bar ───────────────────────────────────────────────── */
.ab-stats {
  background: var(--bg-card);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  padding: 48px 0;
}

.ab-stats-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.ab-stat-item {
  text-align: center;
  flex: 1;
}

.ab-stat-num {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--accent-lavender);
  line-height: 1;
  margin-bottom: 8px;
  min-height: 1.2em;
}

.ab-stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

.ab-stat-divider {
  width: 1px;
  height: 48px;
  background: var(--border-soft);
  flex-shrink: 0;
}

/* ── Our Story ───────────────────────────────────────────────── */
.ab-story {
  padding: 100px 0;
  background: var(--bg-primary);
}

.ab-story-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: start;
}

/* Visuals */
.ab-story-visuals {
  position: relative;
}

.ab-story-img-main {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.ab-story-img-main img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.ab-story-img-main:hover img {
  transform: scale(1.04);
}

.ab-story-year-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--accent-lavender);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
}

.ab-story-img-sm {
  margin-top: 16px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  width: 55%;
}

.ab-story-img-sm img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.ab-story-img-sm:hover img {
  transform: scale(1.06);
}

.ab-story-quote-card {
  margin-top: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-left: 3px solid var(--accent-lavender);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  box-shadow: var(--shadow-soft);
}

.ab-sq-icon {
  font-size: 2rem;
  color: var(--accent-lavender);
  opacity: 0.5;
  line-height: 1;
  margin-bottom: 8px;
}

.ab-story-quote-card p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  font-style: italic;
  color: var(--text-secondary);
  margin-bottom: 8px;
  line-height: 1.6;
}

.ab-story-quote-card span {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Text */
.ab-story-text p {
  font-size: 0.97rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

.ab-story-milestones {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ab-milestone {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.ab-milestone-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent-lavender);
  flex-shrink: 0;
  margin-top: 5px;
  box-shadow: 0 0 0 4px rgba(184, 115, 82, 0.15);
}

.ab-milestone strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-lavender);
  margin-bottom: 2px;
}

.ab-milestone span {
  font-size: 0.87rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ── Core Values ─────────────────────────────────────────────── */
.ab-values {
  padding: 100px 0;
  background: var(--bg-secondary);
}

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

.ab-value-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

.ab-value-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-lavender), var(--accent-teal));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.ab-value-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
  border-color: transparent;
}

.ab-value-card:hover::after {
  transform: scaleX(1);
}

.ab-value-icon {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

.ab-value-card:hover .ab-value-icon {
  transform: rotate(-8deg) scale(1.1);
}

.ab-value-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.ab-value-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* ── Team ────────────────────────────────────────────────────── */
.ab-team {
  padding: 100px 0;
  background: var(--bg-primary);
}

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

.ab-team-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.35s ease;
}

.ab-team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
  border-color: var(--border-soft);
}

.ab-team-img-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.ab-team-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  filter: grayscale(15%);
}

.ab-team-card:hover .ab-team-img-wrap img {
  transform: scale(1.06);
  filter: grayscale(0%);
}

.ab-team-social {
  position: absolute;
  bottom: 12px;
  right: 12px;
  display: flex;
  gap: 8px;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.ab-team-card:hover .ab-team-social {
  opacity: 1;
  transform: translateY(0);
}

.ab-team-social a {
  width: 34px;
  height: 34px;
  background: rgba(253, 251, 247, 0.92);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  backdrop-filter: blur(8px);
  transition: transform 0.2s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.ab-team-social a:hover {
  transform: scale(1.1);
}

.ab-team-info {
  padding: 20px;
}

.ab-team-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
  text-transform: none;
  letter-spacing: 0;
}

.ab-team-role {
  display: block;
  font-size: 0.75rem;
  color: var(--accent-lavender);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.ab-team-bio {
  font-size: 0.83rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 12px;
}

.ab-team-craft {
  font-size: 0.78rem;
  color: var(--text-muted);
  background: var(--bg-secondary);
  padding: 6px 12px;
  border-radius: 100px;
  display: inline-block;
}

/* ── Process Steps ───────────────────────────────────────────── */
.ab-process {
  padding: 100px 0;
  background: var(--bg-secondary);
}

.ab-process-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-top: 20px;
}

.ab-process-step {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: all 0.35s ease;
  position: relative;
}

.ab-process-step:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
  border-color: var(--accent-lavender);
}

.ab-step-number {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--border-soft);
  line-height: 1;
  margin-bottom: 8px;
  transition: color 0.3s ease;
}

.ab-process-step:hover .ab-step-number {
  color: rgba(184, 115, 82, 0.25);
}

.ab-step-icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
  display: block;
  transition: transform 0.35s ease;
}

.ab-process-step:hover .ab-step-icon {
  transform: scale(1.2) rotate(-8deg);
}

.ab-step-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
  text-transform: none;
  letter-spacing: 0;
}

.ab-step-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.ab-process-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  font-size: 1.4rem;
  color: var(--accent-lavender);
  opacity: 0.4;
  flex-shrink: 0;
  margin-top: 80px;
}

/* ── Sustainability Pledge ───────────────────────────────────── */
.ab-pledge {
  padding: 100px 0;
  background: var(--bg-primary);
  position: relative;
  overflow: hidden;
}

.ab-pledge-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(130, 148, 125, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

.ab-pledge-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.ab-pledge-content p {
  font-size: 0.97rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin: 16px 0 24px;
}

.ab-pledge-content .section-title em {
  font-style: italic;
  color: var(--accent-botanical);
}

.ab-pledge-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ab-pledge-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.93rem;
  color: var(--text-secondary);
}

.ab-pledge-check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(95, 111, 82, 0.15);
  color: var(--accent-botanical);
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ab-pledge-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: visible;
}

.ab-pledge-img-wrap img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: transform 0.5s ease;
}

.ab-pledge-img-wrap:hover img {
  transform: scale(1.02);
}

.ab-pledge-badge {
  position: absolute;
  bottom: -20px;
  left: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 16px 22px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.ab-pledge-badge-icon {
  font-size: 1.8rem;
}

.ab-pledge-badge strong {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
}

.ab-pledge-badge small {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* ── About Testimonials ──────────────────────────────────────── */
.ab-testi {
  padding: 100px 0;
  background: var(--bg-secondary);
}

.ab-testi-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  gap: 24px;
  align-items: start;
}

.ab-testi-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all 0.35s ease;
}

.ab-testi-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
}

.ab-testi-featured {
  border-color: var(--accent-lavender);
  box-shadow: var(--shadow-glow);
  transform: translateY(-8px);
}

.ab-testi-featured:hover {
  transform: translateY(-14px);
}

.ab-testi-stars {
  color: var(--accent-gold);
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.ab-testi-card blockquote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  font-style: italic;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 24px;
}

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

.ab-testi-author img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border-soft);
}

.ab-testi-author strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
}

.ab-testi-author span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ── RTL Adjustments ─────────────────────────────────────────── */
[dir="rtl"] .ab-hero-content {
  text-align: right;
}

[dir="rtl"] .ab-hero-ctas {
  justify-content: flex-end;
}

[dir="rtl"] .ab-hero-sub {
  margin-left: auto;
  margin-right: 0;
}

[dir="rtl"] .ab-img-1 {
  left: auto;
  right: 0;
}

[dir="rtl"] .ab-img-2 {
  right: auto;
  left: 0;
}

[dir="rtl"] .ab-img-pill {
  right: auto;
  left: 20px;
}

[dir="rtl"] .ab-story-quote-card {
  border-left: none;
  border-right: 3px solid var(--accent-lavender);
}

[dir="rtl"] .ab-pledge-badge {
  left: auto;
  right: 28px;
}

[dir="rtl"] .ab-process-connector span {
  display: inline-block;
  transform: scaleX(-1);
}

[dir="rtl"] .ab-milestone {
  flex-direction: row-reverse;
  text-align: right;
}

/* ── About Responsive — Tablet (≤ 1024px) ────────────────────── */
@media (max-width: 1024px) {
  .ab-hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

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

  .ab-hero-sub {
    margin: 0 auto 36px;
  }

  .ab-hero-ctas {
    justify-content: center;
  }

  .ab-hero-visual {
    display: flex;
    justify-content: center;
  }

  .ab-hero-img-stack {
    height: 360px;
    max-width: 400px;
  }

  .ab-img-1 {
    width: 280px;
    height: 320px;
  }

  .ab-img-2 {
    width: 190px;
    height: 200px;
  }

  .ab-story-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .ab-story-visuals {
    max-width: 540px;
    margin: 0 auto;
  }

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

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

  .ab-process {
    overflow-x: hidden;
    touch-action: pan-y;
  }

  .ab-process-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 0;
    margin-top: 24px;
    width: 100%;
  }

  .ab-process-step {
    flex: 0 0 calc(50% - 10px);
    padding: 32px 24px;
    transition: none !important;
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
    min-height: auto;
    position: relative;
    box-sizing: border-box;
  }


  .ab-process-step:hover {
    transform: none !important;
    box-shadow: none !important;
    border-color: var(--border-soft);
  }

  .ab-step-icon {
    width: 50px;
    height: 50px;
    background: rgba(184, 115, 82, 0.08);
    border: 1px solid rgba(184, 115, 82, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    position: relative;
    transform: none !important;
  }

  .ab-step-number {
    position: absolute;
    top: -8px;
    left: -8px;
    background: var(--accent-lavender);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-size: 0.72rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(184, 115, 82, 0.4);
    opacity: 1;
    margin-bottom: 0;
    transition: none;
  }

  .ab-process-step:hover .ab-step-icon {
    transform: none !important;
  }

  .ab-step-title {
    font-size: 1.1rem;
    margin-bottom: 8px;
  }

  .ab-process-connector {
    display: none;
  }

  .ab-pledge-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .ab-pledge-img-wrap img {
    height: 320px;
  }

  .ab-pledge-badge {
    bottom: -16px;
  }

  .ab-testi-grid {
    grid-template-columns: 1fr 1fr;
  }

  .ab-testi-grid .ab-testi-card:nth-child(3) {
    grid-column: 1 / -1;
    max-width: 560px;
    margin: 0 auto;
  }

  .ab-stats-grid {
    flex-wrap: wrap;
    gap: 32px;
  }

  .ab-stat-divider {
    display: none;
  }

  .ab-stat-item {
    min-width: calc(33.33% - 24px);
  }

  [dir="rtl"] .ab-hero-content {
    text-align: center;
  }

  [dir="rtl"] .ab-hero-ctas {
    justify-content: center;
  }
}

/* ── About Responsive — Mobile (≤ 767px) ────────────────────── */
@media (max-width: 767px) {
  .ab-hero {
    padding: calc(var(--nav-height) + 48px) 0 64px;
  }

  .ab-hero-inner {
    gap: 36px;
  }

  .ab-hero-title {
    font-size: clamp(2rem, 8vw, 2.6rem);
  }

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

  .ab-hero-img-stack {
    height: 280px;
  }

  .ab-img-1 {
    width: 230px;
    height: 260px;
  }

  .ab-img-2 {
    width: 150px;
    height: 165px;
  }

  .ab-stats {
    padding: 36px 0;
  }

  .ab-stat-item {
    min-width: calc(50% - 16px);
  }

  .ab-story,
  .ab-values,
  .ab-team,
  .ab-process,
  .ab-pledge,
  .ab-testi {
    padding: 48px 0;
  }

  .ab-story-img-sm {
    width: 65%;
  }

  .ab-values-grid {
    grid-template-columns: 1fr;
  }

  .ab-team-grid {
    grid-template-columns: 1fr;
    max-width: 380px;
    margin: 0 auto;
  }

  .ab-process-step {
    flex: 0 0 100%;
    padding: 28px 20px;
  }

  .ab-step-number {
    font-size: 2rem;
  }

  .ab-step-icon {
    font-size: 1.6rem;
  }

  .ab-testi-grid {
    grid-template-columns: 1fr;
  }

  .ab-testi-grid .ab-testi-card:nth-child(3) {
    grid-column: auto;
    max-width: 100%;
  }

  .ab-testi-featured {
    transform: none;
  }

  .ab-testi-featured:hover {
    transform: translateY(-5px);
  }
}

/* ── About Responsive — Small Mobile (≤ 480px) ───────────────── */
@media (max-width: 480px) {
  .ab-stat-item {
    min-width: calc(50% - 16px);
  }

  .ab-hero-img-stack {
    max-width: 100%;
    height: 240px;
  }

  .ab-img-1 {
    width: 190px;
    height: 220px;
  }

  .ab-img-2 {
    width: 130px;
    height: 145px;
  }

  .ab-img-pill {
    top: 10px;
    right: 5px;
  }

  .ab-pledge-badge {
    position: relative;
    bottom: auto;
    left: auto;
    margin-top: 20px;
    flex-direction: row;
    gap: 10px;
    display: inline-flex;
  }
}

/* ============================================================
   CONTACT PAGE STYLES — contact.html
   ============================================================ */

/* ── Contact Hero ────────────────────────────────────────────── */
.ct-hero {
  position: relative;
  padding: calc(var(--nav-height) + 72px) 0 80px;
  overflow: hidden;
  background: var(--bg-primary);
}

.ct-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.ct-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.28;
}

.ct-blob-1 {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, var(--accent-lavender), transparent 70%);
  top: -160px;
  right: -100px;
  animation: ct-drift 12s ease-in-out infinite;
}

.ct-blob-2 {
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, var(--accent-teal), transparent 70%);
  bottom: -60px;
  left: -80px;
  animation: ct-drift 9s ease-in-out infinite reverse;
}

.ct-hero-grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none;
}

@keyframes ct-drift {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(24px, -32px) scale(1.06);
  }
}

.ct-hero-inner {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.ct-hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 6vw, 4.2rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--text-primary);
  margin: 16px 0 20px;
}

.ct-hero-title em {
  font-style: italic;
  color: var(--accent-lavender);
}

.ct-hero-sub {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 32px;
}

.ct-hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.ct-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  padding: 7px 14px;
  border-radius: 100px;
  box-shadow: var(--shadow-soft);
  transition: all var(--transition);
}

.ct-chip:hover {
  border-color: var(--accent-lavender);
  color: var(--accent-lavender);
  transform: translateY(-2px);
}

/* ── Info Bar ────────────────────────────────────────────────── */
.ct-info-bar {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  padding: 56px 0;
}

.ct-info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.ct-info-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.ct-info-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-lavender), var(--accent-teal));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.ct-info-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: transparent;
}

.ct-info-card:hover::after {
  transform: scaleX(1);
}

.ct-info-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s ease;
  overflow: hidden;
}

.ct-info-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ct-info-card:hover .ct-info-icon {
  transform: scale(1.1) rotate(-6deg);
}

.ct-info-body p {
  font-size: 0.92rem;
  color: var(--text-primary);
  font-weight: 500;
  margin-bottom: 4px;
  line-height: 1.4;
}

.ct-info-body p a {
  color: var(--accent-lavender);
  transition: color var(--transition);
}

.ct-info-body p a:hover {
  color: var(--accent-botanical);
}

.ct-info-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted) !important;
  margin-bottom: 6px;
  display: block;
}

.ct-info-note {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Live badge */
.ct-chip-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #2e9e6a;
}

.ct-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2e9e6a;
  flex-shrink: 0;
  animation: ct-pulse-dot 1.8s ease-in-out infinite;
}

@keyframes ct-pulse-dot {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(46, 158, 106, 0.4);
  }

  50% {
    box-shadow: 0 0 0 6px rgba(46, 158, 106, 0);
  }
}

/* ── Main Layout: Form + Map ─────────────────────────────────── */
.ct-main {
  padding: 96px 0;
  background: var(--bg-primary);
}

.ct-main-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: start;
}

/* ── Form Column ─────────────────────────────────────────────── */
.ct-form-header {
  margin-bottom: 40px;
}

.ct-form-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  line-height: 1.2;
  color: var(--text-primary);
  margin: 14px 0 12px;
}

.ct-form-title em {
  font-style: italic;
  color: var(--accent-lavender);
}

.ct-form-sub {
  font-size: 0.93rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Form structure */
.ct-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ct-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.ct-field-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ct-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: color var(--transition);
}

.ct-label span {
  color: var(--accent-lavender);
}

.ct-field-wrap:focus-within .ct-label {
  color: var(--accent-lavender);
}

/* Input wrap */
.ct-input-wrap {
  position: relative;
}

.ct-input-icon {
  position: absolute;
  top: 50%;
  left: 14px;
  transform: translateY(-50%);
  font-size: 0.95rem;
  pointer-events: none;
  z-index: 1;
  transition: transform 0.25s ease;
}

.ct-field-wrap:focus-within .ct-input-icon {
  transform: translateY(-50%) scale(1.15);
}

.ct-textarea-wrap .ct-input-icon {
  top: 16px;
  transform: none;
}

.ct-field-wrap:focus-within .ct-textarea-wrap .ct-input-icon {
  transform: scale(1.15);
}

/* The input itself */
.ct-input {
  width: 100%;
  padding: 13px 14px 13px 42px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.92rem;
  color: var(--text-primary);
  background: var(--bg-card);
  border: 1.5px solid var(--border-soft);
  border-radius: var(--radius-md);
  outline: none;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease,
    transform 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
}

.ct-input::placeholder {
  color: var(--text-muted);
}

/* Focus micro-interaction */
.ct-input:focus {
  border-color: var(--accent-lavender);
  box-shadow: 0 0 0 3px rgba(184, 115, 82, 0.12), 0 4px 16px rgba(184, 115, 82, 0.08);
  background: var(--bg-card);
  transform: translateY(-1px);
}

/* Valid state */
.ct-input:not(:placeholder-shown):not(:focus):valid {
  border-color: #2e9e6a;
  box-shadow: none;
}

/* Error state */
.ct-input.error {
  border-color: #d94a4a;
  box-shadow: 0 0 0 3px rgba(217, 74, 74, 0.12);
  animation: ct-shake 0.4s ease;
}

@keyframes ct-shake {

  0%,
  100% {
    transform: translateX(0);
  }

  20% {
    transform: translateX(-5px);
  }

  40% {
    transform: translateX(5px);
  }

  60% {
    transform: translateX(-3px);
  }

  80% {
    transform: translateX(3px);
  }
}

/* Animated focus underline bar */
.ct-input-focus-bar {
  position: absolute;
  bottom: 0;
  left: 14px;
  right: 14px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-lavender), var(--accent-teal));
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
  pointer-events: none;
}

.ct-input:focus~.ct-input-focus-bar {
  transform: scaleX(1);
}

/* Textarea */
.ct-textarea {
  padding-top: 14px;
  padding-bottom: 14px;
  resize: vertical;
  min-height: 140px;
  line-height: 1.65;
}

.ct-textarea~.ct-input-focus-bar {
  bottom: 0;
}

.ct-textarea~.ct-char-count {
  position: absolute;
  bottom: 10px;
  right: 14px;
  font-size: 0.7rem;
  color: var(--text-muted);
  pointer-events: none;
  transition: color 0.2s;
}

.ct-char-count.near-limit {
  color: var(--accent-lavender);
}

.ct-char-count.at-limit {
  color: #d94a4a;
}

/* Select */
.ct-select-wrap {
  position: relative;
}

.ct-select {
  cursor: pointer;
  padding-right: 36px;
}

.ct-select-arrow {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.65rem;
  color: var(--text-muted);
  pointer-events: none;
  transition: transform 0.25s ease;
}

.ct-select:focus~.ct-select-arrow {
  transform: translateY(-50%) rotate(180deg);
}

/* Error text */
.ct-field-error {
  font-size: 0.75rem;
  color: #d94a4a;
  font-weight: 500;
  min-height: 1.2em;
  display: block;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.ct-field-error.show {
  opacity: 1;
  transform: translateY(0);
}

/* Checkbox */
.ct-checkbox-wrap {
  flex-direction: row;
  align-items: flex-start;
  gap: 0;
}

.ct-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  cursor: pointer;
  line-height: 1.5;
}

.ct-checkbox {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.ct-checkbox-custom {
  width: 20px;
  height: 20px;
  border: 2px solid var(--border-soft);
  border-radius: 5px;
  background: var(--bg-card);
  flex-shrink: 0;
  margin-top: 1px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.ct-checkbox-custom::after {
  content: '✓';
  font-size: 0.7rem;
  color: #fff;
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.2s ease;
}

.ct-checkbox:checked+.ct-checkbox-custom {
  background: var(--accent-lavender);
  border-color: var(--accent-lavender);
}

.ct-checkbox:checked+.ct-checkbox-custom::after {
  opacity: 1;
  transform: scale(1);
}

.ct-checkbox:focus+.ct-checkbox-custom {
  box-shadow: 0 0 0 3px rgba(184, 115, 82, 0.2);
}

.ct-link {
  color: var(--accent-lavender);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--transition);
}

.ct-link:hover {
  color: var(--accent-botanical);
}

/* Submit button */
.ct-submit-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 40px;
  background: linear-gradient(135deg, var(--accent-lavender), var(--accent-botanical));
  color: #fff;
  border: none;
  border-radius: 100px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  overflow: hidden;
  transition: all var(--transition);
  align-self: flex-start;
  min-width: 200px;
}

.ct-submit-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0);
  transition: background 0.3s;
  border-radius: inherit;
}

.ct-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(184, 115, 82, 0.45);
}

.ct-submit-btn:hover::before {
  background: rgba(255, 255, 255, 0.08);
}

.ct-submit-btn:active {
  transform: translateY(0);
}

.ct-btn-icon {
  font-size: 1.1rem;
  transition: transform 0.25s ease;
}

.ct-submit-btn:hover .ct-btn-icon {
  transform: translateX(4px);
}

/* Loading spinner */
.ct-btn-loader {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: ct-spin 0.7s linear infinite;
}

@keyframes ct-spin {
  to {
    transform: rotate(360deg);
  }
}

.ct-submit-btn.loading .ct-btn-text,
.ct-submit-btn.loading .ct-btn-icon {
  opacity: 0;
}

.ct-submit-btn.loading .ct-btn-loader {
  display: block;
}

.ct-submit-btn.loading {
  pointer-events: none;
  cursor: default;
}

/* Success message */
.ct-success-msg {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 24px;
  background: rgba(46, 158, 106, 0.08);
  border: 1px solid rgba(46, 158, 106, 0.25);
  border-radius: var(--radius-md);
  animation: ct-success-pop 0.5s var(--transition-slow) both;
}

@keyframes ct-success-pop {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(10px);
  }

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

.ct-success-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #2e9e6a;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  flex-shrink: 0;
}

.ct-success-msg strong {
  display: block;
  font-size: 0.95rem;
  color: #2e9e6a;
  margin-bottom: 4px;
}

.ct-success-msg p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ── Map Column ──────────────────────────────────────────────── */
.ct-map-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.ct-map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
  background: var(--bg-card);
}

.ct-map-label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-soft);
  background: var(--bg-card);
}

.ct-map-iframe {
  display: block;
}

/* Hours card */
.ct-hours-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.ct-hours-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 18px;
}

.ct-hours-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.ct-hours-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--border-soft);
  font-size: 0.87rem;
}

.ct-hours-list li:last-child {
  border-bottom: none;
}

.ct-day {
  flex: 1;
  color: var(--text-secondary);
}

.ct-time {
  color: var(--text-primary);
  font-weight: 500;
  margin-right: auto;
}

.ct-open-badge {
  font-size: 0.68rem;
  font-weight: 700;
  color: #2e9e6a;
  background: rgba(46, 158, 106, 0.1);
  padding: 3px 9px;
  border-radius: 100px;
  letter-spacing: 0.05em;
}

.ct-closed-badge {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-muted);
  background: var(--bg-secondary);
  padding: 3px 9px;
  border-radius: 100px;
  letter-spacing: 0.05em;
}

.ct-closed-row .ct-day,
.ct-closed-row .ct-time {
  color: var(--text-muted);
}

.ct-hours-note {
  margin-top: 14px;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-style: italic;
}

/* Social card */
.ct-social-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.ct-social-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.ct-social-sub {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.ct-social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ct-social-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-secondary);
  border: 1px solid var(--border-soft);
  border-radius: 100px;
  transition: all 0.25s ease;
  font-family: 'DM Sans', sans-serif;
}

.ct-social-btn:hover {
  color: var(--sc, var(--accent-lavender));
  border-color: var(--sc, var(--accent-lavender));
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

/* ── FAQ Section ─────────────────────────────────────────────── */
.ct-faq {
  padding: 96px 0;
  background: var(--bg-secondary);
}

/* Filter tabs */
.ct-faq-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 48px;
}

.ct-faq-tab {
  padding: 9px 20px;
  border-radius: 100px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  cursor: pointer;
  transition: all 0.25s ease;
}

.ct-faq-tab:hover {
  border-color: var(--accent-lavender);
  color: var(--accent-lavender);
}

.ct-faq-tab.active {
  background: linear-gradient(135deg, var(--accent-lavender), var(--accent-teal));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(184, 115, 82, 0.35);
}

/* FAQ list */
.ct-faq-list {
  max-width: 860px;
  margin: 0 auto 48px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* FAQ item */
.ct-faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.ct-faq-item.open {
  border-color: var(--accent-lavender);
  box-shadow: 0 4px 20px rgba(184, 115, 82, 0.1);
}

.ct-faq-item.hidden {
  display: none;
}

/* Question button */
.ct-faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: color 0.2s ease;
}

.ct-faq-question:hover {
  color: var(--accent-lavender);
}

.ct-faq-item.open .ct-faq-question {
  color: var(--accent-lavender);
}

.ct-faq-q-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ct-faq-question span:not(.ct-faq-q-icon):not(.ct-faq-chevron) {
  flex: 1;
  line-height: 1.45;
}

/* Animated chevron */
.ct-faq-chevron {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-left: auto;
  transition: all 0.3s ease;
  position: relative;
}

.ct-faq-chevron::before,
.ct-faq-chevron::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 2px;
  background: var(--text-muted);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.ct-faq-chevron::before {
  transform: rotate(45deg) translate(-2.5px, 0);
}

.ct-faq-chevron::after {
  transform: rotate(-45deg) translate(2.5px, 0);
}

.ct-faq-item.open .ct-faq-chevron {
  background: rgba(184, 115, 82, 0.12);
  transform: rotate(180deg);
}

.ct-faq-item.open .ct-faq-chevron::before,
.ct-faq-item.open .ct-faq-chevron::after {
  background: var(--accent-lavender);
}

/* Answer panel — smooth height animation */
.ct-faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.ct-faq-answer[hidden] {
  display: block !important;
}

/* override hidden attr, use max-height */
.ct-faq-item.open .ct-faq-answer {
  max-height: 600px;
}

.ct-faq-answer-inner {
  padding: 0 24px 24px 64px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid var(--border-soft);
  padding-top: 18px;
}

.ct-faq-answer-inner p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

.ct-faq-answer-inner strong {
  color: var(--text-primary);
  font-weight: 600;
}

.ct-faq-answer-inner em {
  font-style: italic;
  color: var(--accent-lavender);
}

/* Still-need-help CTA */
.ct-faq-cta {
  max-width: 860px;
  margin: 0 auto;
}

.ct-faq-cta-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 28px 32px;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  flex-wrap: wrap;
}

.ct-faq-cta-icon {
  font-size: 2.2rem;
  flex-shrink: 0;
}

.ct-faq-cta-inner>div {
  flex: 1;
  min-width: 200px;
}

.ct-faq-cta-inner strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.ct-faq-cta-inner p {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ── RTL Adjustments ─────────────────────────────────────────── */
[dir="rtl"] .ct-hero-inner {
  text-align: center;
}

[dir="rtl"] .ct-hero-chips {
  justify-content: center;
}

[dir="rtl"] .ct-form-title {
  text-align: right;
}

[dir="rtl"] .ct-form-sub {
  text-align: right;
}

[dir="rtl"] .ct-input {
  padding-left: 14px;
  padding-right: 42px;
}

[dir="rtl"] .ct-input-icon {
  left: auto;
  right: 14px;
}

[dir="rtl"] .ct-select {
  padding-right: 42px;
  padding-left: 36px;
}

[dir="rtl"] .ct-select-arrow {
  right: auto;
  left: 14px;
}

[dir="rtl"] .ct-input-focus-bar {
  transform-origin: right;
}

[dir="rtl"] .ct-faq-question {
  text-align: right;
}

[dir="rtl"] .ct-faq-chevron {
  margin-left: 0;
  margin-right: auto;
}

[dir="rtl"] .ct-faq-answer-inner {
  padding-left: 24px;
  padding-right: 64px;
}

[dir="rtl"] .ct-submit-btn {
  align-self: flex-end;
}

[dir="rtl"] .ct-info-card::after {
  transform-origin: right;
}

[dir="rtl"] .ct-faq-cta-inner {
  flex-direction: row-reverse;
}

/* ── Responsive — Tablet (≤ 1024px) ─────────────────────────── */
@media (max-width: 1024px) {
  .ct-info-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ct-main-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .ct-map-col {
    order: -1;
  }

  .ct-form-title {
    font-size: clamp(1.7rem, 4vw, 2.2rem);
  }

  .ct-map-iframe {
    height: 260px;
  }
}

/* ── Responsive — Mobile (≤ 767px) ──────────────────────────── */
@media (max-width: 767px) {
  .ct-hero {
    padding: calc(var(--nav-height) + 44px) 0 60px;
  }

  .ct-hero-title {
    font-size: clamp(2.2rem, 8vw, 3rem);
  }

  .ct-hero-chips {
    gap: 8px;
  }

  .ct-info-bar {
    padding: 40px 0;
  }

  .ct-info-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .ct-info-card {
    padding: 18px 14px;
    gap: 10px;
  }

  .ct-info-icon {
    width: 42px;
    height: 42px;
    font-size: 1.2rem;
  }

  .ct-main {
    padding: 60px 0;
  }

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

  .ct-submit-btn {
    width: 100%;
    align-self: stretch;
    justify-content: center;
  }

  [dir="rtl"] .ct-submit-btn {
    align-self: stretch;
  }

  .ct-faq {
    padding: 60px 0;
  }

  .ct-faq-tabs {
    gap: 6px;
  }

  .ct-faq-tab {
    padding: 7px 14px;
    font-size: 0.78rem;
  }

  .ct-faq-question {
    padding: 16px 18px;
    font-size: 0.9rem;
  }

  .ct-faq-answer-inner {
    padding: 0 18px 18px 18px;
    padding-top: 16px;
  }

  .ct-faq-cta-inner {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }

  .ct-faq-cta-inner>div {
    min-width: unset;
  }

  .ct-social-row {
    gap: 6px;
  }
}

/* ── Responsive — Small Mobile (≤ 480px) ────────────────────── */
@media (max-width: 480px) {
  .ct-info-grid {
    grid-template-columns: 1fr;
  }

  .ct-hours-list li {
    flex-wrap: wrap;
    gap: 4px;
  }

  .ct-time {
    margin-right: 0;
  }
}

/* ============================================================
   SHOP PAGE STYLES
   shop.html — Filters + Product Grid + Quick View
   ============================================================ */

/* ── Visually hidden utility ── */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ── Shop Hero ── */
.shop-hero {
  position: relative;
  padding: calc(var(--nav-height) + 60px) 0 60px;
  overflow: hidden;
}

.shop-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.shop-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
}

.shop-blob-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(184, 115, 82, 0.35), transparent 70%);
  top: -120px;
  right: -100px;
}

.shop-blob-2 {
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(95, 111, 82, 0.3), transparent 70%);
  bottom: -80px;
  left: -60px;
}

.shop-hero-grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.5;
}

.shop-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
}

.shop-hero-title {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  color: var(--text-primary);
  margin-bottom: 16px;
  line-height: 1.15;
}

.shop-hero-title em {
  font-style: italic;
  color: var(--accent-lavender);
}

.shop-hero-sub {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
  max-width: 520px;
}

.shop-hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.shop-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--accent-botanical);
  background: rgba(95, 111, 82, 0.1);
  border: 1px solid rgba(95, 111, 82, 0.2);
  padding: 5px 14px;
  border-radius: 100px;
}

/* ── Shop Layout ── */
.shop-section {
  padding: 48px 0 96px;
}

.shop-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: start;
}

/* ── Sidebar ── */
.shop-sidebar {
  position: sticky;
  top: calc(var(--nav-height) + 20px);
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 28px 24px 24px;
  box-shadow: var(--shadow-soft);
  transition: box-shadow var(--transition);
  max-height: calc(100vh - var(--nav-height) - 40px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-slate) transparent;
}

.shop-sidebar::-webkit-scrollbar {
  width: 4px;
}

.shop-sidebar::-webkit-scrollbar-thumb {
  background: var(--accent-slate);
  border-radius: 4px;
}

.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-soft);
}

.sidebar-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: var(--text-primary);
}

.sidebar-clear-all {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-lavender);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  transition: opacity var(--transition);
  opacity: 0.6;
}

.sidebar-clear-all:hover {
  opacity: 1;
}

/* Active filter pills */
.active-filters {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  padding: 12px;
  background: rgba(184, 115, 82, 0.06);
  border-radius: var(--radius-sm);
}

.active-filters-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-top: 2px;
}

.active-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--accent-lavender);
  background: rgba(184, 115, 82, 0.12);
  border: 1px solid rgba(184, 115, 82, 0.25);
  padding: 3px 10px 3px 10px;
  border-radius: 100px;
}

.filter-pill-remove {
  cursor: pointer;
  font-size: 0.9rem;
  opacity: 0.7;
  transition: opacity var(--transition);
  background: none;
  border: none;
  padding: 0;
  line-height: 1;
  color: var(--accent-lavender);
}

.filter-pill-remove:hover {
  opacity: 1;
}

/* Filter groups */
.filter-group {
  border-bottom: 1px solid var(--border-soft);
  padding: 16px 0;
}

.filter-group:last-of-type {
  border-bottom: none;
}

.filter-group-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  background: none;
  border: none;
  padding: 0;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text-primary);
  cursor: pointer;
  text-align: left;
  transition: color var(--transition);
}

.filter-group-toggle:hover {
  color: var(--accent-lavender);
}

.filter-group-icon {
  font-size: 1rem;
}

.filter-group-label {
  flex: 1;
}

.filter-chevron {
  width: 16px;
  height: 16px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-top: -4px;
  transition: transform var(--transition);
  opacity: 0.5;
  flex-shrink: 0;
}

.filter-group-toggle[aria-expanded="false"] .filter-chevron {
  transform: rotate(-45deg);
  margin-top: 0;
}

.filter-group-body {
  overflow: hidden;
  max-height: 400px;
  transition: max-height 0.35s ease, opacity 0.35s ease;
  opacity: 1;
}

.filter-group-body.collapsed {
  max-height: 0;
  opacity: 0;
}

.filter-options {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 12px;
}

.filter-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background var(--transition);
}

.filter-option:hover {
  background: rgba(184, 115, 82, 0.06);
}

.filter-radio,
.filter-checkbox {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.filter-radio-custom,
.filter-checkbox-custom {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  border: 2px solid var(--accent-slate);
  border-radius: 50%;
  background: var(--bg-primary);
  transition: all var(--transition);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.filter-checkbox-custom {
  border-radius: 5px;
}

.filter-radio:checked~.filter-radio-custom {
  border-color: var(--accent-lavender);
  background: var(--accent-lavender);
  box-shadow: 0 0 0 3px rgba(184, 115, 82, 0.15);
}

.filter-radio:checked~.filter-radio-custom::after {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  position: absolute;
}

.filter-checkbox:checked~.filter-checkbox-custom {
  border-color: var(--accent-lavender);
  background: var(--accent-lavender);
}

.filter-checkbox:checked~.filter-checkbox-custom::after {
  content: '✓';
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
}

.filter-option-label {
  flex: 1;
  font-size: 0.88rem;
  color: var(--text-secondary);
  transition: color var(--transition);
}

.filter-option:hover .filter-option-label,
.filter-radio:checked~.filter-radio-custom~.filter-option-label,
.filter-checkbox:checked~.filter-checkbox-custom~.filter-option-label {
  color: var(--text-primary);
}

.filter-option-count {
  font-size: 0.72rem;
  color: var(--text-muted);
  background: var(--bg-secondary);
  padding: 2px 7px;
  border-radius: 100px;
}

/* Price Range Slider */
.price-range-wrap {
  padding-top: 12px;
}

.price-range-display {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--accent-lavender);
}

.price-range-dash {
  color: var(--text-muted);
  font-weight: 400;
}

.price-slider-track {
  position: relative;
  height: 4px;
  background: var(--bg-secondary);
  border-radius: 4px;
  margin: 8px 0 20px;
}

.price-slider-fill {
  position: absolute;
  height: 100%;
  background: linear-gradient(90deg, var(--accent-lavender), var(--accent-botanical));
  border-radius: 4px;
  pointer-events: none;
}

.price-slider {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  pointer-events: none;
  outline: none;
  cursor: pointer;
}

.price-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-lavender);
  border: 3px solid var(--bg-card);
  box-shadow: 0 2px 8px rgba(184, 115, 82, 0.4);
  pointer-events: all;
  cursor: grab;
  transition: transform var(--transition), box-shadow var(--transition);
}

.price-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  box-shadow: 0 4px 16px rgba(184, 115, 82, 0.5);
}

.price-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-lavender);
  border: 3px solid var(--bg-card);
  box-shadow: 0 2px 8px rgba(184, 115, 82, 0.4);
  pointer-events: all;
  cursor: grab;
}

.price-presets {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.price-preset {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-secondary);
  border: 1px solid var(--border-soft);
  padding: 4px 10px;
  border-radius: 100px;
  cursor: pointer;
  transition: all var(--transition);
}

.price-preset:hover,
.price-preset.active {
  background: rgba(184, 115, 82, 0.12);
  border-color: rgba(184, 115, 82, 0.35);
  color: var(--accent-lavender);
}

/* Mobile apply button */
.sidebar-apply-btn {
  display: none;
  width: 100%;
  margin-top: 20px;
  padding: 14px;
  background: linear-gradient(135deg, var(--accent-lavender), var(--accent-botanical));
  color: #fff;
  border: none;
  border-radius: 100px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition);
}

.sidebar-apply-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(184, 115, 82, 0.35);
}

/* ── Shop Toolbar ── */
.shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
  padding: 16px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  flex-wrap: wrap;
}

.shop-results-info {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.shop-results-info span {
  font-weight: 700;
  color: var(--text-primary);
}

.shop-toolbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.shop-sort {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-primary);
  background: var(--bg-secondary);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  padding: 8px 32px 8px 12px;
  cursor: pointer;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%238E8A82'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  transition: border-color var(--transition);
}

.shop-sort:focus {
  border-color: var(--accent-lavender);
}

.shop-view-toggle {
  display: flex;
  gap: 4px;
}

.view-btn {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-secondary);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  font-size: 1.1rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition);
}

.view-btn.active,
.view-btn:hover {
  background: rgba(184, 115, 82, 0.1);
  border-color: rgba(184, 115, 82, 0.3);
  color: var(--accent-lavender);
}

.mobile-filter-btn {
  display: none;
  align-items: center;
  gap: 6px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text-primary);
  background: var(--bg-secondary);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  cursor: pointer;
  transition: all var(--transition);
}

.mobile-filter-btn:hover {
  background: rgba(184, 115, 82, 0.1);
  border-color: rgba(184, 115, 82, 0.3);
  color: var(--accent-lavender);
}

/* ── Product Grid ── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

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

.product-grid.is-filtering {
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
}

/* ── Product Card ── */
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow 0.4s ease, transform 0.4s ease, border-color 0.4s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
  border-color: rgba(184, 115, 82, 0.25);
}

.product-card:hover .product-quick-view {
  opacity: 1;
  transform: translateY(0);
}

.product-card:hover .product-img-placeholder {
  transform: scale(1.05);
}

/* Product image area */
.product-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--bg-secondary);
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}

.product-card:hover .product-img {
  transform: scale(1.1);
}

.product-img-placeholder {
  display: none;
}

.product-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 2;
}

.product-badge {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 100px;
  white-space: nowrap;
}

.badge-new {
  background: var(--accent-botanical);
  color: #fff;
}

.badge-sale {
  background: #e74c3c;
  color: #fff;
}

.badge-bestseller {
  background: var(--accent-gold);
  color: #fff;
}

.badge-organic {
  background: #7daa6e;
  color: #fff;
}

/* Quick view overlay on card */
.product-quick-view {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(0deg, rgba(45, 41, 38, 0.85) 0%, transparent 100%);
  padding: 20px 16px 14px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  z-index: 3;
  display: flex;
  justify-content: center;
}

.quick-view-btn {
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
  padding: 8px 20px;
  border-radius: 100px;
  cursor: pointer;
  transition: all var(--transition);
  letter-spacing: 0.05em;
}

.quick-view-btn:hover {
  background: rgba(255, 255, 255, 0.28);
  transform: scale(1.04);
}

/* Card wishlist button */
.product-wishlist {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  background: var(--bg-glass);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-soft);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition);
  z-index: 2;
  opacity: 0;
}

.product-card:hover .product-wishlist {
  opacity: 1;
}

.product-wishlist:hover,
.product-wishlist.wished {
  background: rgba(231, 76, 60, 0.12);
  border-color: rgba(231, 76, 60, 0.3);
}

/* Card body */
.product-body {
  padding: 16px 18px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.product-category-tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-lavender);
}

.product-name {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
  margin: 0;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 5px;
}

.product-stars {
  font-size: 0.75rem;
  color: var(--accent-gold);
  letter-spacing: 1px;
}

.product-review-count {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.product-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border-soft);
}

.product-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.product-price {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
}

.product-original-price {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.product-add-btn {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--accent-lavender), var(--accent-botanical));
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: 0 4px 12px rgba(184, 115, 82, 0.3);
}

.product-add-btn:hover {
  transform: scale(1.12) rotate(10deg);
  box-shadow: 0 6px 20px rgba(184, 115, 82, 0.45);
}

/* ── Shop Empty State ── */
.shop-empty {
  text-align: center;
  padding: 80px 20px;
  color: var(--text-secondary);
}

.shop-empty-icon {
  font-size: 3.5rem;
  margin-bottom: 20px;
  opacity: 0.6;
}

.shop-empty h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.shop-empty-reset {
  background: none;
  border: none;
  color: var(--accent-lavender);
  font-size: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-family: inherit;
}

/* ── Pagination ── */
.shop-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 56px;
  flex-wrap: wrap;
}

.page-btn {
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 10px 20px;
  border-radius: 100px;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition);
}

.page-btn:hover:not(:disabled) {
  background: rgba(184, 115, 82, 0.1);
  border-color: rgba(184, 115, 82, 0.3);
  color: var(--accent-lavender);
}

.page-btn:disabled {
  opacity: 0.38;
  cursor: not-allowed;
}

.page-numbers {
  display: flex;
  gap: 6px;
}

.page-num {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.88rem;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition);
}

.page-num:hover,
.page-num.active {
  background: linear-gradient(135deg, var(--accent-lavender), var(--accent-botanical));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 14px rgba(184, 115, 82, 0.35);
}

/* ── Quick View Popup ── */
.quickview-overlay {
  position: fixed;
  inset: 0;
  background: rgba(45, 41, 38, 0.55);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: qv-overlay-in 0.3s ease;
}

.quickview-overlay[hidden] {
  display: none;
}

@keyframes qv-overlay-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.quickview-panel {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  width: 100%;
  max-width: 860px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: qv-panel-in 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  scrollbar-width: thin;
  scrollbar-color: var(--accent-slate) transparent;
}

@keyframes qv-panel-in {
  from {
    opacity: 0;
    transform: scale(0.93) translateY(20px);
  }

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

.quickview-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 38px;
  height: 38px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-soft);
  border-radius: 50%;
  font-size: 1rem;
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  z-index: 5;
}

.quickview-close:hover {
  background: rgba(231, 76, 60, 0.1);
  border-color: rgba(231, 76, 60, 0.3);
  color: #e74c3c;
}

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

.quickview-img-wrap {
  position: relative;
  background: var(--bg-secondary);
  border-radius: var(--radius-xl) 0 0 var(--radius-xl);
  overflow: hidden;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quickview-img-placeholder {
  font-size: 6rem;
  user-select: none;
  filter: drop-shadow(0 8px 20px rgba(45, 41, 38, 0.12));
  transition: transform 0.4s ease;
}

.quickview-panel:hover .quickview-img-placeholder {
  transform: scale(1.06) rotate(-3deg);
}

.quickview-badges {
  position: absolute;
  top: 20px;
  left: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.quickview-info {
  padding: 40px 36px 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.quickview-category {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-lavender);
}

.quickview-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.7rem;
  color: var(--text-primary);
  line-height: 1.25;
  margin: 0;
}

.quickview-rating-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.quickview-stars {
  color: var(--accent-gold);
  font-size: 0.9rem;
}

.quickview-reviews {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.quickview-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
}

.quickview-material-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.material-tag {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent-botanical);
  background: rgba(95, 111, 82, 0.1);
  border: 1px solid rgba(95, 111, 82, 0.2);
  padding: 3px 10px;
  border-radius: 100px;
}

.quickview-price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 4px;
}

.quickview-price {
  font-family: 'Playfair Display', serif;
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--text-primary);
}

.quickview-original-price {
  font-size: 1rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.quickview-badge-sale {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #fff;
  background: #e74c3c;
  padding: 3px 10px;
  border-radius: 100px;
}

.quickview-qty-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 4px;
}

.quickview-qty-wrap {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--bg-secondary);
  border: 1px solid var(--border-soft);
  border-radius: 100px;
  overflow: hidden;
}

.qty-btn {
  width: 38px;
  height: 38px;
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--text-primary);
  background: none;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.qty-btn:hover {
  background: rgba(184, 115, 82, 0.1);
  color: var(--accent-lavender);
}

.qty-value {
  min-width: 36px;
  text-align: center;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.quickview-add-btn {
  flex: 1;
  justify-content: center;
  border-radius: 100px;
}

.quickview-full-link {
  font-size: 0.82rem;
  color: var(--accent-lavender);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity var(--transition);
  text-align: center;
}

.quickview-full-link:hover {
  opacity: 0.75;
}

/* Sidebar overlay (mobile) */
.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(45, 41, 38, 0.5);
  backdrop-filter: blur(4px);
  z-index: 500;
}

.sidebar-overlay.active {
  display: block;
}

/* ── RESPONSIVE ── */

/* Tablet (≤1024px) */
@media (max-width: 1024px) {
  .shop-layout {
    grid-template-columns: 240px 1fr;
    gap: 28px;
  }

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

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

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

  .quickview-img-wrap {
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    min-height: 260px;
  }

  .quickview-panel {
    max-width: 520px;
  }
}

/* Mobile (≤768px) */
@media (max-width: 768px) {
  .shop-layout {
    grid-template-columns: 1fr;
  }

  .shop-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 300px;
    max-width: 90vw;
    border-radius: 0 var(--radius-xl) var(--radius-xl) 0;
    z-index: 600;
    transform: translateX(-110%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    max-height: 100vh;
    padding-top: 40px;
    overflow-y: auto;
  }

  .shop-sidebar.mobile-open {
    transform: translateX(0);
    box-shadow: 20px 0 60px rgba(45, 41, 38, 0.2);
  }

  .mobile-filter-btn {
    display: flex;
  }

  .sidebar-apply-btn {
    display: block;
  }

  .shop-view-toggle {
    display: none;
  }

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

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

  .product-name {
    font-size: 0.9rem;
  }

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

  .shop-hero {
    padding: calc(var(--nav-height) + 40px) 0 40px;
  }

  .shop-hero-title {
    font-size: clamp(1.9rem, 7vw, 2.8rem);
  }

  .quickview-qty-row {
    flex-direction: column;
    align-items: stretch;
  }

  .quickview-info {
    padding: 28px 24px 28px;
    gap: 12px;
  }
}

/* Small mobile (≤480px) */
@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-img-wrap {
    aspect-ratio: 16/9;
  }

  .shop-toolbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .shop-pagination {
    gap: 6px;
  }

  .page-btn {
    padding: 9px 14px;
    font-size: 0.82rem;
  }
}

/* ==========================================
   CATEGORY PAGES — candle-supplies & soap-supplies
   ========================================== */

/* ── Category Hero ── */
.cat-hero {
  position: relative;
  padding: calc(var(--nav-height) + 60px) 0 70px;
  overflow: hidden;
  background: var(--bg-primary);
}

.cat-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.cat-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
}

.cat-blob-1 {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, var(--accent-lavender), transparent 70%);
  top: -80px;
  right: -60px;
}

.cat-blob-2 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--accent-gold), transparent 70%);
  bottom: 0;
  left: -40px;
}

.cat-blob-3 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, var(--accent-teal), transparent 70%);
  top: 50%;
  left: 40%;
  transform: translateY(-50%);
}

.cat-blob--soap.cat-blob-1 {
  background: radial-gradient(circle, var(--accent-teal), transparent 70%);
}

.cat-blob--soap.cat-blob-2 {
  background: radial-gradient(circle, var(--accent-botanical), transparent 70%);
}

.cat-hero-grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  background-size: 180px;
  opacity: 0.5;
}

.cat-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto 1fr;
  align-items: center;
  gap: 0 60px;
}

.cat-breadcrumb {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.cat-breadcrumb a {
  color: var(--text-secondary);
  transition: color var(--transition);
}

.cat-breadcrumb a:hover {
  color: var(--accent-lavender);
}

.cat-breadcrumb-sep {
  color: var(--accent-slate);
}

.cat-breadcrumb span[aria-current="page"] {
  color: var(--accent-lavender);
  font-weight: 600;
}

.cat-hero-content {
  grid-column: 1;
}

.cat-hero-title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  color: var(--text-primary);
  margin-bottom: 16px;
  line-height: 1.1;
}

.cat-hero-title em {
  font-style: italic;
  color: var(--accent-lavender);
}

.cat-hero-sub {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.75;
  margin-bottom: 36px;
}

.cat-hero-stats {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.cat-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cat-stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
}

.cat-stat-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.cat-stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border-soft);
}

.cat-hero-emoji {
  grid-column: 2;
  grid-row: 2;
  font-size: clamp(5rem, 10vw, 9rem);
  line-height: 1;
  filter: drop-shadow(0 16px 40px rgba(184, 115, 82, 0.25));
  animation: cat-float 4s ease-in-out infinite;
  user-select: none;
}

@keyframes cat-float {

  0%,
  100% {
    transform: translateY(0) rotate(-3deg);
  }

  50% {
    transform: translateY(-14px) rotate(3deg);
  }
}

/* ── Sticky Category Tabs ── */
.cat-tabs-wrapper {
  position: sticky;
  top: var(--nav-height);
  z-index: 90;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-soft);
  transition: box-shadow var(--transition);
}

.cat-tabs-wrapper.stuck {
  box-shadow: 0 4px 20px rgba(45, 41, 38, 0.08);
}

.cat-tabs {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 12px 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.cat-tabs::-webkit-scrollbar {
  display: none;
}

.cat-tab {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 20px;
  border-radius: 100px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 0.88rem;
  color: var(--text-secondary);
  white-space: nowrap;
  transition: all var(--transition);
  position: relative;
  text-decoration: none;
  flex-shrink: 0;
}

.cat-tab:hover {
  color: var(--accent-lavender);
  background: rgba(184, 115, 82, 0.07);
}

.cat-tab.active {
  color: #fff;
  background: linear-gradient(135deg, var(--accent-lavender), var(--accent-botanical));
  box-shadow: 0 4px 16px rgba(184, 115, 82, 0.3);
  font-weight: 600;
}

.cat-tab-icon {
  font-size: 1rem;
}

/* ── Category Sections ── */
.cat-main {
  background: var(--bg-primary);
}

.cat-section {
  padding: 80px 0;
}

.cat-section--alt {
  background: var(--bg-secondary);
}

.cat-section-header {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  margin-bottom: 52px;
}

.cat-section-badge {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(184, 115, 82, 0.15), rgba(95, 111, 82, 0.1));
  border: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
}

.cat-section-badge--teal {
  background: linear-gradient(135deg, rgba(130, 148, 125, 0.18), rgba(95, 111, 82, 0.1));
}

.cat-section-badge--botanical {
  background: linear-gradient(135deg, rgba(95, 111, 82, 0.18), rgba(130, 148, 125, 0.1));
}

.cat-section-badge--gold {
  background: linear-gradient(135deg, rgba(212, 163, 115, 0.2), rgba(184, 115, 82, 0.1));
}

.cat-section-badge--slate {
  background: linear-gradient(135deg, rgba(197, 194, 189, 0.2), rgba(130, 148, 125, 0.1));
}

.cat-section-icon {
  font-size: 1.7rem;
  filter: drop-shadow(0 2px 6px rgba(45, 41, 38, 0.1));
}

.cat-section-info {
  flex: 1;
}

.cat-section-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--text-primary);
  margin-bottom: 12px;
  margin-top: 4px;
}

.cat-section-title em {
  font-style: italic;
  color: var(--accent-lavender);
}

.cat-section-desc {
  font-size: 0.97rem;
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.75;
}

/* ── Product Grid ── */
.cat-products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* ── Product Card ── */
.cat-product-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

.cat-product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
}

.cat-product-img {
  position: relative;
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, rgba(184, 115, 82, 0.08), rgba(95, 111, 82, 0.06));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.cat-product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.cat-product-card:hover .cat-product-img img {
  transform: scale(1.1);
}

.cat-product-emoji {
  display: none;
}

.cat-product-img--sage {
  background: linear-gradient(135deg, rgba(130, 148, 125, 0.12), rgba(95, 111, 82, 0.08));
}

.cat-product-img--clay {
  background: linear-gradient(135deg, rgba(184, 115, 82, 0.12), rgba(212, 163, 115, 0.08));
}

.cat-product-img--botanical {
  background: linear-gradient(135deg, rgba(95, 111, 82, 0.14), rgba(130, 148, 125, 0.08));
}

.cat-product-img--teal {
  background: linear-gradient(135deg, rgba(130, 148, 125, 0.16), rgba(95, 111, 82, 0.1));
}

.cat-product-img--gold {
  background: linear-gradient(135deg, rgba(212, 163, 115, 0.16), rgba(184, 115, 82, 0.1));
}

.cat-product-img--stone {
  background: linear-gradient(135deg, rgba(197, 194, 189, 0.16), rgba(130, 148, 125, 0.1));
}

.cat-product-emoji {
  font-size: 3.5rem;
  transition: transform 0.4s var(--transition-slow);
  filter: drop-shadow(0 6px 16px rgba(45, 41, 38, 0.1));
  user-select: none;
}

.cat-product-card:hover .cat-product-emoji {
  transform: scale(1.12) rotate(-5deg);
}

/* Badges */
.cat-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cat-badge-new {
  background: linear-gradient(135deg, var(--accent-botanical), var(--accent-teal));
  color: #fff;
}

.cat-badge-popular {
  background: linear-gradient(135deg, var(--accent-lavender), var(--accent-gold));
  color: #fff;
}

.cat-badge-sale {
  background: #e74c3c;
  color: #fff;
}

/* Card body */
.cat-product-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.cat-product-type {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-lavender);
}

.cat-product-name {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.35;
  margin: 0;
}

.cat-product-rating {
  display: flex;
  align-items: center;
  gap: 6px;
}

.cat-stars {
  color: var(--accent-gold);
  font-size: 0.78rem;
  letter-spacing: 1px;
}

.cat-rating-count {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.cat-product-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
  flex: 1;
}

.cat-product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 2px;
}

.cat-tag {
  font-size: 0.66rem;
  font-weight: 600;
  color: var(--accent-botanical);
  background: rgba(95, 111, 82, 0.1);
  border: 1px solid rgba(95, 111, 82, 0.18);
  padding: 3px 9px;
  border-radius: 100px;
  letter-spacing: 0.03em;
}

.cat-product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 6px;
  padding-top: 14px;
  border-top: 1px solid var(--border-soft);
}

.cat-product-price {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
}

.cat-product-original {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-decoration: line-through;
  display: block;
  margin-top: 1px;
}

.cat-add-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  background: linear-gradient(135deg, var(--accent-lavender), var(--accent-botanical));
  color: #fff;
  border-radius: 100px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.78rem;
  white-space: nowrap;
  transition: all var(--transition);
  box-shadow: 0 3px 12px rgba(184, 115, 82, 0.25);
  flex-shrink: 0;
}

.cat-add-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(184, 115, 82, 0.35);
}

.cat-add-btn:active {
  transform: translateY(0);
}

/* ── Responsive — Category Pages ── */

/* Tablet */
@media (max-width: 1024px) {
  .cat-products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cat-hero-inner {
    gap: 40px;
  }

  .cat-hero-emoji {
    font-size: clamp(4rem, 8vw, 7rem);
  }
}

/* Mobile & Tablet ≤768px */
@media (max-width: 768px) {
  .cat-hero {
    padding: calc(var(--nav-height) + 40px) 0 50px;
  }

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

  .cat-breadcrumb {
    grid-column: 1;
  }

  .cat-hero-emoji {
    display: none;
  }

  .cat-hero-title {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }

  .cat-hero-stats {
    gap: 18px;
  }

  .cat-stat-num {
    font-size: 1.4rem;
  }

  .cat-tabs-wrapper {
    top: var(--nav-height-sm);
  }

  .cat-tab {
    padding: 9px 14px;
    font-size: 0.82rem;
  }

  .cat-section {
    padding: 56px 0;
  }

  .cat-section-header {
    flex-direction: column;
    gap: 18px;
    margin-bottom: 36px;
  }

  .cat-section-badge {
    width: 52px;
    height: 52px;
    margin-top: 0;
  }

  .cat-section-icon {
    font-size: 1.4rem;
  }

  .cat-products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .cat-product-body {
    padding: 16px;
    gap: 6px;
  }

  .cat-product-name {
    font-size: 0.9rem;
  }

  .cat-product-desc {
    display: none;
  }

  .cat-add-btn {
    padding: 8px 12px;
    font-size: 0.72rem;
  }
}

/* Small mobile ≤480px */
@media (max-width: 480px) {
  .cat-products-grid {
    grid-template-columns: 1fr;
  }

  .cat-product-desc {
    display: block;
  }

  .cat-tab-label {
    display: none;
  }

  .cat-tab {
    padding: 10px 14px;
  }

  .cat-tab-icon {
    font-size: 1.2rem;
  }

  .cat-hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    text-align: center;
  }

  .cat-stat-divider {
    display: none;
  }
}

/* ==========================================
   AUTH PAGES — login.html & signup.html
   ========================================== */

/* ── Minimal Auth Header ── */
.auth-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.auth-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
}

.auth-header-inner {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.auth-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ── Auth Layout: split two-column ── */
.auth-layout {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  padding-top: var(--nav-height);
}

/* ── Left decorative panel ── */
.auth-panel {
  position: sticky;
  top: var(--nav-height);
  height: calc(100vh - var(--nav-height));
  background: linear-gradient(145deg, var(--accent-botanical) 0%, #3d4f33 60%, #2c3824 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.4s ease;
}

[data-theme="dark"] .auth-panel {
  background: linear-gradient(145deg, #242924 0%, #1a1d1a 100%);
  border-right: 1px solid var(--border-soft);
}

.auth-panel--soap {
  background: linear-gradient(145deg, #4a6475 0%, #3a5060 55%, #2a3d4a 100%);
}

[data-theme="dark"] .auth-panel--soap {
  background: linear-gradient(145deg, #1c2a35 0%, #162129 100%);
}

.auth-panel-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.auth-panel-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.35;
}

.auth-panel-blob-1 {
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, var(--accent-gold), transparent 70%);
  top: -80px;
  right: -60px;
  animation: auth-blob-drift 8s ease-in-out infinite;
}

.auth-panel-blob-2 {
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, var(--accent-lavender), transparent 70%);
  bottom: 40px;
  left: -40px;
  animation: auth-blob-drift 10s ease-in-out infinite reverse;
}

.auth-panel-blob-3 {
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15), transparent 70%);
  top: 45%;
  left: 45%;
  animation: auth-blob-drift 6s ease-in-out infinite 2s;
}

.auth-panel-blob--soap.auth-panel-blob-1 {
  background: radial-gradient(circle, #7ecfc0, transparent 70%);
}

.auth-panel-blob--soap.auth-panel-blob-2 {
  background: radial-gradient(circle, #d4a3c7, transparent 70%);
}

@keyframes auth-blob-drift {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(20px, -25px) scale(1.07);
  }

  66% {
    transform: translate(-15px, 15px) scale(0.95);
  }
}

.auth-panel-grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E");
  background-size: 180px;
  opacity: 0.5;
  mix-blend-mode: overlay;
}

.auth-panel-content {
  position: relative;
  z-index: 1;
  padding: 48px 44px;
  color: #fff;
  max-width: 440px;
}

.auth-panel-emoji {
  width: 120px;
  height: 120px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.3));
  animation: auth-float 4s ease-in-out infinite;
  overflow: hidden;
  border-radius: 24px;
}

.auth-panel-emoji img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes auth-float {

  0%,
  100% {
    transform: translateY(0) rotate(-3deg);
  }

  50% {
    transform: translateY(-10px) rotate(3deg);
  }
}

.auth-panel-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  color: #fff;
  margin-bottom: 14px;
  line-height: 1.15;
}

.auth-panel-title em {
  font-style: italic;
  color: var(--accent-gold);
}

.auth-panel-desc {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
  margin-bottom: 32px;
}

.auth-perks {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
}

.auth-perk {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.85);
}

.auth-perk-icon {
  font-size: 1.1rem;
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  backdrop-filter: blur(8px);
}

/* Testimonial (login panel) */
.auth-panel-testimonial {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-md);
  padding: 20px 22px;
}

.auth-testimonial-text {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.88);
  font-style: italic;
  line-height: 1.65;
  margin-bottom: 14px;
}

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

.auth-testimonial-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-lavender));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  overflow: hidden;
}

.auth-testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.auth-testimonial-name {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
}

.auth-testimonial-role {
  display: block;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Stats (signup panel) */
.auth-panel-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-md);
  padding: 18px 22px;
}

.auth-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  text-align: center;
}

.auth-stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--accent-gold);
  line-height: 1;
}

.auth-stat-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.auth-stat-div {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}

/* ── Right form panel ── */
.auth-form-side {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  background: var(--bg-primary);
  overflow-y: auto;
}

.auth-form-wrap {
  width: 100%;
  max-width: 440px;
}

.auth-form-header {
  margin-bottom: 32px;
}

.auth-form-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  color: var(--text-primary);
  margin: 8px 0 10px;
  line-height: 1.15;
}

.auth-form-title em {
  font-style: italic;
  color: var(--accent-lavender);
}

.auth-form-sub {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.auth-link {
  color: var(--accent-lavender);
  font-weight: 600;
  transition: opacity var(--transition);
  text-decoration: none;
}

.auth-link:hover {
  opacity: 0.75;
  text-decoration: underline;
}

/* Social buttons */
.auth-social {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.auth-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-soft);
  background: var(--bg-card);
  color: var(--text-primary);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: var(--shadow-soft);
}

.auth-social-btn:hover {
  border-color: var(--accent-lavender);
  background: rgba(184, 115, 82, 0.04);
  transform: translateY(-1px);
  box-shadow: var(--shadow-card);
}

.auth-social-icon {
  font-size: 1.1rem;
}

/* Divider */
.auth-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 24px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-soft);
}

/* Form */
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.auth-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.auth-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.auth-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 0.04em;
}

.auth-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.auth-forgot {
  font-size: 0.78rem;
  color: var(--accent-lavender);
  font-weight: 600;
  text-decoration: none;
  transition: opacity var(--transition);
}

.auth-forgot:hover {
  opacity: 0.75;
}

.auth-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.auth-input-icon {
  position: absolute;
  left: 14px;
  font-size: 0.95rem;
  pointer-events: none;
  z-index: 1;
  transition: filter var(--transition);
}

.auth-input {
  width: 100%;
  padding: 12px 16px 12px 44px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-soft);
  background: var(--bg-card);
  color: var(--text-primary);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
  outline: none;
}

.auth-input::placeholder {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.auth-input:focus {
  border-color: var(--accent-lavender);
  box-shadow: 0 0 0 3px rgba(184, 115, 82, 0.12);
  background: var(--bg-primary);
}

.auth-field.has-error .auth-input {
  border-color: #e74c3c;
  box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.auth-field.is-valid .auth-input {
  border-color: var(--accent-botanical);
  box-shadow: 0 0 0 3px rgba(95, 111, 82, 0.1);
}

.auth-eye-btn {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  opacity: 0.55;
  transition: opacity var(--transition);
  line-height: 1;
}

.auth-eye-btn:hover {
  opacity: 1;
}

.auth-eye-icon {
  font-size: 0.95rem;
  pointer-events: none;
}

/* Eye btn: shift left when there's an eye btn to avoid overlap */
.auth-input-wrap:has(.auth-eye-btn) .auth-input {
  padding-right: 44px;
}

.auth-field-error {
  font-size: 0.75rem;
  color: #e74c3c;
  font-weight: 500;
  min-height: 16px;
  display: block;
}

/* Password strength meter */
.auth-password-strength {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 2px;
}

.auth-strength-bars {
  display: flex;
  gap: 4px;
  flex: 1;
}

.auth-strength-bar {
  flex: 1;
  height: 4px;
  border-radius: 100px;
  background: var(--border-soft);
  transition: background 0.3s ease;
}

.auth-strength-bar.weak {
  background: #e74c3c;
}

.auth-strength-bar.fair {
  background: #f39c12;
}

.auth-strength-bar.good {
  background: var(--accent-gold);
}

.auth-strength-bar.strong {
  background: var(--accent-botanical);
}

.auth-strength-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  min-width: 46px;
  text-align: right;
  white-space: nowrap;
  transition: color 0.3s ease;
}

/* Remember & newsletter checkbox */
.auth-remember,
.auth-newsletter-opt {
  margin: -4px 0;
}

.auth-checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
}

.auth-checkbox {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.auth-checkbox-custom {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  border: 1.5px solid var(--border-soft);
  background: var(--bg-card);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  position: relative;
}

.auth-checkbox:checked+.auth-checkbox-custom {
  background: linear-gradient(135deg, var(--accent-lavender), var(--accent-botanical));
  border-color: transparent;
}

.auth-checkbox:checked+.auth-checkbox-custom::after {
  content: '✓';
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1;
}

.auth-checkbox:focus-visible+.auth-checkbox-custom {
  box-shadow: 0 0 0 3px rgba(184, 115, 82, 0.2);
}

.auth-checkbox-text {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

/* Form message (success/error) */
.auth-form-msg {
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 500;
}

.auth-form-msg[hidden] {
  display: none;
}

.auth-form-msg.success {
  background: rgba(95, 111, 82, 0.1);
  border: 1px solid rgba(95, 111, 82, 0.25);
  color: var(--accent-botanical);
}

.auth-form-msg.error {
  background: rgba(231, 76, 60, 0.08);
  border: 1px solid rgba(231, 76, 60, 0.2);
  color: #c0392b;
}

/* Submit button */
.auth-submit-btn {
  position: relative;
  width: 100%;
  padding: 14px 28px;
  border-radius: 100px;
  background: linear-gradient(135deg, var(--accent-lavender), var(--accent-botanical));
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  box-shadow: 0 4px 20px rgba(184, 115, 82, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  overflow: hidden;
  margin-top: 4px;
}

.auth-submit-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.auth-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(184, 115, 82, 0.4);
}

.auth-submit-btn:hover::before {
  opacity: 1;
}

.auth-submit-btn:active {
  transform: translateY(0);
}

.auth-submit-btn.loading .auth-submit-label {
  opacity: 0.6;
}

.auth-submit-btn.loading .auth-submit-spinner {
  display: inline-block;
}

.auth-submit-spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: auth-spin 0.7s linear infinite;
}

@keyframes auth-spin {
  to {
    transform: rotate(360deg);
  }
}

/* Terms */
.auth-terms {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.6;
  margin-top: 18px;
}

/* ── RTL support for auth ── */
[dir="rtl"] .auth-header-inner {
  flex-direction: row-reverse;
}

[dir="rtl"] .auth-input {
  padding-left: 16px;
  padding-right: 44px;
  text-align: right;
}

[dir="rtl"] .auth-input-icon {
  left: auto;
  right: 14px;
}

[dir="rtl"] .auth-eye-btn {
  right: auto;
  left: 12px;
}

[dir="rtl"] .auth-input-wrap:has(.auth-eye-btn) .auth-input {
  padding-right: 44px;
  padding-left: 44px;
}

[dir="rtl"] .auth-label-row {
  flex-direction: row-reverse;
}

[dir="rtl"] .auth-perk {
  flex-direction: row-reverse;
  text-align: right;
}

[dir="rtl"] .auth-testimonial-author {
  flex-direction: row-reverse;
}

[dir="rtl"] .auth-checkbox-label {
  flex-direction: row-reverse;
}

/* ── Responsive ── */

/* Tablet (≤1024px) */
@media (max-width: 1024px) {
  .auth-layout {
    grid-template-columns: 1fr 1fr;
  }

  .auth-panel-content {
    padding: 36px 32px;
  }

  .auth-panel-title {
    font-size: clamp(1.7rem, 3vw, 2.2rem);
  }
}

/* Mobile & small tablet (≤768px) */
@media (max-width: 768px) {
  .auth-layout {
    grid-template-columns: 1fr;
  }

  .auth-panel {
    display: none;
  }

  .auth-form-side {
    padding: 32px 20px 48px;
    align-items: flex-start;
    min-height: calc(100vh - var(--nav-height));
  }

  .auth-form-wrap {
    max-width: 100%;
    padding-top: 8px;
  }

  .auth-form-title {
    font-size: clamp(1.7rem, 6vw, 2.2rem);
  }

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

/* Small mobile (≤480px) */
@media (max-width: 480px) {
  .auth-header {
    height: var(--nav-height-sm);
  }

  .auth-layout {
    padding-top: var(--nav-height-sm);
  }

  .auth-form-side {
    padding: 24px 16px 40px;
  }

  .auth-social {
    flex-direction: column;
  }

  .auth-submit-btn {
    padding: 13px 20px;
    font-size: 0.9rem;
  }
}

/* ---------- Authentication RTL ---------- */
[dir="rtl"] .auth-header-inner {
  flex-direction: row-reverse;
}

[dir="rtl"] .auth-layout {
  direction: rtl;
}

[dir="rtl"] .auth-panel-content {
  text-align: right;
}

[dir="rtl"] .auth-form-header {
  text-align: right;
}

[dir="rtl"] .auth-form-header .auth-link {
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 8px;
}

[dir="rtl"] .auth-link i {
  transform: scaleX(-1);
}

[dir="rtl"] .auth-label {
  text-align: right;
  display: block;
}

[dir="rtl"] .auth-label-row {
  flex-direction: row-reverse;
}

[dir="rtl"] .auth-forgot {
  margin-right: auto;
  margin-left: 0;
}

[dir="rtl"] .auth-input-wrap {
  flex-direction: row-reverse;
}

[dir="rtl"] .auth-input {
  text-align: right;
  padding: 12px 44px 12px 16px; /* Mirror padding: icon is usually on the left in LTR, so right in RTL */
}

[dir="rtl"] .auth-input-wrap:has(.auth-eye-btn) .auth-input {
  padding-left: 44px;
  padding-right: 44px;
}

[dir="rtl"] .auth-input-icon {
  left: auto;
  right: 14px;
}

[dir="rtl"] .auth-eye-btn {
  right: auto;
  left: 12px;
}

[dir="rtl"] .auth-remember,
[dir="rtl"] .auth-newsletter-opt {
  display: flex;
  justify-content: flex-start;
}

[dir="rtl"] .auth-checkbox-label {
  flex-direction: row-reverse;
  gap: 10px;
}

[dir="rtl"] .auth-field-row {
  flex-direction: row-reverse;
}

[dir="rtl"] .auth-panel-stats {
  flex-direction: row-reverse;
}

[dir="rtl"] .auth-stat-div {
  margin: 0;
}

[dir="rtl"] .auth-perk {
  flex-direction: row-reverse;
}

[dir="rtl"] .auth-panel-testimonial {
  text-align: right;
}

[dir="rtl"] .auth-testimonial-author {
  flex-direction: row-reverse;
}

[dir="rtl"] .auth-strength-label {
  text-align: left;
}

[dir="rtl"] .nav-logo {
  flex-direction: row-reverse;
}

[dir="rtl"] .logo-text {
  text-align: right;
  margin-left: 0;
  margin-right: 12px;
}

/* ============================================================
   DIY TUTORIALS PAGE — diy.html
   ============================================================ */

/* ── Reading Progress Bar ────────────────────────────────────── */
.diy-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 9999;
  background: transparent;
  pointer-events: none;
}

.diy-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-lavender), var(--accent-gold), var(--accent-botanical));
  border-radius: 0 3px 3px 0;
  transition: width 0.08s linear;
  box-shadow: 0 0 10px rgba(184, 115, 82, 0.5);
}

/* ── Standard Inner Page Hero ────────────────────────────────── */
.page-hero {
  position: relative;
  padding: calc(var(--nav-height) + 40px) 0 50px;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-image: url('../images/inner-hero-bg.png');
  /* Fallback */
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  overflow: hidden;
  color: #fff;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.45));
  z-index: 1;
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.page-hero-inner {
  max-width: 800px;
  margin: 0 auto;
}

.page-hero .section-tag {
  display: inline-block;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.page-hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  line-height: 1.2;
  margin-bottom: 16px;
  color: #fff;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.page-hero-title em {
  font-style: italic;
  color: var(--accent-lavender);
}

.page-hero-sub {
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  max-width: 620px;
  margin: 0 auto;
}

.page-hero-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.page-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 0.88rem;
  font-weight: 500;
  color: #fff;
  transition: all 0.3s ease;
}

.page-chip:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .page-hero-chips {
    gap: 8px;
    margin-top: 24px;
  }

  .page-chip {
    padding: 6px 14px;
    font-size: 0.8rem;
  }
}

/* Old DIY Hero (for compatibility) */
.diy-hero-bg {
  display: none;
}

.diy-hero-floats {
  display: none;
}

.diy-hero-inner {
  margin: 0 auto !important;
  max-width: 800px !important;
}

.diy-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.22;
}

.diy-blob-1 {
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, var(--accent-lavender), transparent 65%);
  top: -160px;
  left: -140px;
  animation: diy-float 13s ease-in-out infinite;
}

.diy-blob-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--accent-teal), transparent 65%);
  bottom: -60px;
  right: -100px;
  animation: diy-float 10s ease-in-out infinite reverse;
}

.diy-blob-3 {
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, var(--accent-gold), transparent 65%);
  top: 40%;
  left: 60%;
  animation: diy-float 8s ease-in-out infinite 2s;
}

@keyframes diy-float {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(20px, -28px) scale(1.04);
  }
}

.diy-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 740px;
  margin: 0 auto;
}

.diy-hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-primary);
  margin: 16px 0 20px;
}

.diy-hero-title em {
  font-style: italic;
  color: var(--accent-lavender);
}

.diy-hero-sub {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 580px;
  margin: 0 auto 36px;
}

.diy-hero-stats {
  display: inline-flex;
  align-items: center;
  gap: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: 100px;
  padding: 14px 32px;
  box-shadow: var(--shadow-soft);
}

.diy-hstat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 24px;
}

.diy-hstat strong {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--accent-lavender);
  line-height: 1.1;
}

.diy-hstat span {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  margin-top: 2px;
}

.diy-hstat-div {
  width: 1px;
  height: 32px;
  background: var(--border-soft);
  flex-shrink: 0;
}

/* Floating icons */
.diy-hero-floats {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.diy-float {
  position: absolute;
  font-size: 1.6rem;
  opacity: 0.12;
  animation: diy-float-icon 7s ease-in-out infinite;
}

.diy-float-1 {
  top: 12%;
  left: 6%;
  animation-delay: 0s;
  font-size: 2rem;
}

.diy-float-2 {
  top: 20%;
  right: 8%;
  animation-delay: 1.2s;
  font-size: 1.8rem;
}

.diy-float-3 {
  top: 55%;
  left: 4%;
  animation-delay: 2.5s;
}

.diy-float-4 {
  bottom: 20%;
  right: 6%;
  animation-delay: 0.8s;
}

.diy-float-5 {
  bottom: 30%;
  left: 12%;
  animation-delay: 3.5s;
  font-size: 1.3rem;
}

.diy-float-6 {
  top: 35%;
  right: 3%;
  animation-delay: 1.8s;
  font-size: 1.4rem;
}

@keyframes diy-float-icon {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-18px) rotate(8deg);
  }
}

/* ── Featured Tutorial Card ─────────────────────────────────── */
.diy-featured {
  padding: 72px 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-soft);
}

.diy-featured-card {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.35s ease;
}

.diy-featured-card:hover {
  box-shadow: 0 24px 64px rgba(45, 41, 38, 0.14);
}

.diy-feat-img-wrap {
  position: relative;
  height: 440px;
  overflow: hidden;
}

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

.diy-featured-card:hover .diy-feat-img {
  transform: scale(1.04);
}

.diy-feat-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-lavender));
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
}

.diy-feat-duration {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 100px;
  backdrop-filter: blur(6px);
}

.diy-feat-content {
  padding: 40px 48px 40px 0;
}

.diy-feat-meta {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.diy-feat-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.diy-feat-desc {
  font-size: 0.93rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 24px;
}

.diy-feat-info-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 24px;
  padding: 16px;
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
}

.diy-feat-info-item {
  text-align: center;
}

.diy-feat-info-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 3px;
}

.diy-feat-info-val {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent-lavender);
}

.diy-feat-author {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}

.diy-feat-author img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border-soft);
}

.diy-feat-author strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
}

.diy-feat-author span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.diy-feat-cta {
  font-size: 0.92rem;
}

/* Category & Level pills — shared */
.diy-cat-pill,
.diy-level-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 11px;
  border-radius: 100px;
}

.diy-cat-candle {
  background: rgba(184, 115, 82, 0.12);
  color: var(--accent-lavender);
}

.diy-cat-soap {
  background: rgba(130, 148, 125, 0.15);
  color: var(--accent-botanical);
}

.diy-cat-fragrance {
  background: rgba(212, 163, 115, 0.18);
  color: #9a6e2e;
}

.diy-cat-advanced {
  background: rgba(95, 111, 82, 0.15);
  color: var(--accent-botanical);
}

[data-theme="dark"] .diy-cat-fragrance {
  color: var(--accent-gold);
}

.diy-level-beginner {
  background: rgba(46, 158, 106, 0.12);
  color: #2a8a5e;
}

.diy-level-intermediate {
  background: rgba(184, 115, 82, 0.12);
  color: var(--accent-lavender);
}

.diy-level-advanced {
  background: rgba(95, 111, 82, 0.15);
  color: var(--accent-botanical);
}

[data-theme="dark"] .diy-level-beginner {
  color: #4cba84;
}

/* ── Filter Bar ──────────────────────────────────────────────── */
.diy-filter-section {
  padding: 40px 0 0;
  background: var(--bg-primary);

  top: var(--nav-height);
  z-index: 100;
  border-bottom: 1px solid var(--border-soft);
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.diy-filter-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-bottom: 20px;
}

/* Search */
.diy-search-wrap {
  position: relative;
  flex: 0 0 220px;
}

.diy-search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.85rem;
  pointer-events: none;
}

.diy-search {
  width: 100%;
  padding: 9px 14px 9px 34px;
  border: 1.5px solid var(--border-soft);
  border-radius: 100px;
  background: var(--bg-card);
  color: var(--text-primary);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.diy-search:focus {
  border-color: var(--accent-lavender);
  box-shadow: 0 0 0 3px rgba(184, 115, 82, 0.1);
}

.diy-search::placeholder {
  color: var(--text-muted);
}

/* Filter pill buttons */
.diy-filter-group,
.diy-level-filter {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.diy-filter-btn,
.diy-level-btn {
  padding: 7px 16px;
  border-radius: 100px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-card);
  border: 1.5px solid var(--border-soft);
  cursor: pointer;
  transition: all 0.22s ease;
  white-space: nowrap;
}

.diy-filter-btn:hover,
.diy-level-btn:hover {
  border-color: var(--accent-lavender);
  color: var(--accent-lavender);
}

.diy-filter-btn.active,
.diy-level-btn.active {
  background: linear-gradient(135deg, var(--accent-lavender), var(--accent-botanical));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 3px 12px rgba(184, 115, 82, 0.3);
}

/* Sort */
.diy-sort {
  padding: 8px 32px 8px 12px;
  border: 1.5px solid var(--border-soft);
  border-radius: 100px;
  background: var(--bg-card);
  color: var(--text-secondary);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  outline: none;
  cursor: pointer;
  transition: border-color 0.25s;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%238E8A82'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}

.diy-sort:focus {
  border-color: var(--accent-lavender);
}

/* Active filter tags row */
.diy-active-filters {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding-bottom: 12px;
}

.diy-af-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.diy-af-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.diy-af-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-lavender);
  background: rgba(184, 115, 82, 0.1);
  border: 1px solid rgba(184, 115, 82, 0.2);
  padding: 4px 10px;
  border-radius: 100px;
}

.diy-af-tag button {
  font-size: 0.85rem;
  line-height: 1;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-left: 2px;
}

.diy-af-clear {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: color 0.2s;
  font-family: 'DM Sans', sans-serif;
}

.diy-af-clear:hover {
  color: var(--accent-lavender);
}

.diy-results-count {
  padding: 10px 0 14px;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ── Blog Grid ───────────────────────────────────────────────── */
.diy-grid-section {
  padding: 56px 0 80px;
  background: var(--bg-primary);
}

.diy-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* Tutorial Card */
.diy-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.3s;
  display: flex;
  flex-direction: column;
}

.diy-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
  border-color: transparent;
}

/* Card image */
.diy-card-img-link {
  display: block;
  text-decoration: none;
}

.diy-card-img-wrap {
  position: relative;
  height: 210px;
  overflow: hidden;
}

.diy-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.diy-card:hover .diy-card-img-wrap img {
  transform: scale(1.06);
}

.diy-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(45, 41, 38, 0.65) 0%, transparent 55%);
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 14px 16px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.diy-card:hover .diy-card-overlay {
  opacity: 1;
}

.diy-card-overlay span {
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(6px);
  padding: 5px 12px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.diy-card-duration {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
  background: rgba(0, 0, 0, 0.48);
  backdrop-filter: blur(6px);
  padding: 4px 10px;
  border-radius: 100px;
}

/* Badges */
.diy-card-badge-new,
.diy-card-badge-popular {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
}

.diy-card-badge-new {
  background: linear-gradient(135deg, var(--accent-teal), var(--accent-botanical));
  color: #fff;
}

.diy-card-badge-popular {
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-lavender));
  color: #fff;
}

/* Card body */
.diy-card-body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.diy-card-tags {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.diy-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 10px;
}

.diy-card-title a {
  color: var(--text-primary);
  transition: color 0.2s;
}

.diy-card-title a:hover {
  color: var(--accent-lavender);
}

.diy-card-excerpt {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 18px;
  /* 3-line clamp */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Card footer */
.diy-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--border-soft);
  margin-top: auto;
}

.diy-card-author {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}

.diy-card-author img {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--border-soft);
}

.diy-card-meta-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.diy-card-reads {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.diy-card-save {
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.2s ease;
  line-height: 1;
  user-select: none;
}

.diy-card-save:hover {
  transform: scale(1.25);
}

.diy-card-save.saved {
  filter: none;
}

/* No results */
.diy-no-results {
  text-align: center;
  padding: 72px 0;
}

.diy-no-results-inner {
  max-width: 360px;
  margin: 0 auto;
}

.diy-no-results-icon {
  font-size: 3rem;
  display: block;
  margin-bottom: 16px;
  opacity: 0.4;
}

.diy-no-results-inner h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.diy-no-results-inner p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.diy-no-results-reset {
  color: var(--accent-lavender);
  font-weight: 600;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Load More */
.diy-load-more-wrap {
  text-align: center;
  margin-top: 48px;
}

.diy-load-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 40px;
  border: 2px solid var(--border-soft);
  border-radius: 100px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  background: var(--bg-card);
  cursor: pointer;
  transition: all 0.28s ease;
}

.diy-load-more-btn:hover {
  border-color: var(--accent-lavender);
  color: var(--accent-lavender);
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.diy-load-more-btn.loading {
  opacity: 0.6;
  pointer-events: none;
}

.diy-load-more-icon {
  display: inline-block;
  transition: transform 0.25s ease;
}

.diy-load-more-btn:hover .diy-load-more-icon {
  transform: translateY(3px);
}

.diy-load-more-note {
  margin-top: 12px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ── Learning Paths ──────────────────────────────────────────── */
.diy-paths {
  padding: 96px 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-soft);
}

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

.diy-path-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.diy-path-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  border-radius: 4px 4px 0 0;
  transition: height 0.3s ease;
}

.diy-path-beginner::before {
  background: linear-gradient(90deg, #2e9e6a, #4cba84);
}

.diy-path-intermediate::before {
  background: linear-gradient(90deg, var(--accent-lavender), var(--accent-gold));
}

.diy-path-advanced::before {
  background: linear-gradient(90deg, var(--accent-botanical), var(--accent-teal));
}

.diy-path-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
}

.diy-path-card:hover::before {
  height: 6px;
}

.diy-path-icon {
  font-size: 2.4rem;
  margin-bottom: 12px;
  display: block;
  transition: transform 0.3s ease;
}

.diy-path-card:hover .diy-path-icon {
  transform: scale(1.15) rotate(-5deg);
}

.diy-path-level-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 14px;
  background: rgba(46, 158, 106, 0.12);
  color: #2a8a5e;
}

.diy-tag-mid {
  background: rgba(184, 115, 82, 0.12);
  color: var(--accent-lavender);
}

.diy-tag-adv {
  background: rgba(95, 111, 82, 0.15);
  color: var(--accent-botanical);
}

.diy-path-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.diy-path-card>p {
  font-size: 0.87rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 22px;
}

.diy-path-steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.diy-path-steps li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.diy-path-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-lavender), var(--accent-botanical));
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ── RTL Adjustments ─────────────────────────────────────────── */
[dir="rtl"] .diy-hero-inner {
  text-align: center;
}

[dir="rtl"] .diy-hero-stats {
  direction: rtl;
}

[dir="rtl"] .diy-feat-content {
  padding: 40px 0 40px 48px;
  text-align: right;
}

[dir="rtl"] .diy-feat-meta {
  justify-content: flex-end;
}

[dir="rtl"] .diy-feat-author {
  flex-direction: row-reverse;
}

[dir="rtl"] .diy-filter-bar {
  direction: rtl;
}

[dir="rtl"] .diy-search-icon {
  left: auto;
  right: 12px;
}

[dir="rtl"] .diy-search {
  padding-left: 14px;
  padding-right: 34px;
}

[dir="rtl"] .diy-card-overlay {
  justify-content: flex-start;
}

[dir="rtl"] .diy-card-duration {
  right: auto;
  left: 12px;
}

[dir="rtl"] .diy-card-badge-new,
[dir="rtl"] .diy-card-badge-popular {
  left: auto;
  right: 12px;
}

[dir="rtl"] .diy-feat-badge {
  left: auto;
  right: 20px;
}

[dir="rtl"] .diy-feat-duration {
  left: auto;
  right: 20px;
}

[dir="rtl"] .diy-path-steps li {
  flex-direction: row-reverse;
}

/* ── Responsive — Tablet (≤ 1024px) ─────────────────────────── */
@media (max-width: 1024px) {
  .diy-featured-card {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .diy-feat-img-wrap {
    height: 320px;
  }

  .diy-feat-content {
    padding: 32px 32px 36px;
  }

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

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

  .diy-paths-grid .diy-path-card:last-child {
    grid-column: 1 / -1;
    max-width: 480px;
    margin: 0 auto;
    width: 100%;
  }

  .diy-filter-bar {
    gap: 10px;
  }

  .diy-search-wrap {
    flex: 0 0 180px;
  }

  .diy-feat-info-row {
    grid-template-columns: repeat(2, 1fr);
  }

  [dir="rtl"] .diy-feat-content {
    padding: 32px;
    text-align: right;
  }
}

/* ── Responsive — Mobile (≤ 767px) ──────────────────────────── */
@media (max-width: 767px) {
  .diy-hero {
    padding: calc(var(--nav-height) + 44px) 0 60px;
  }

  .diy-hero-title {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }

  .diy-hero-stats {
    flex-direction: column;
    gap: 16px;
    border-radius: var(--radius-lg);
    padding: 20px 32px;
  }

  .diy-hstat-div {
    width: 80%;
    height: 1px;
  }

  .diy-featured {
    padding: 48px 0;
  }

  .diy-feat-img-wrap {
    height: 240px;
  }

  .diy-feat-content {
    padding: 24px;
  }

  .diy-feat-title {
    font-size: 1.35rem;
  }

  .diy-feat-info-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding: 12px;
  }

  .diy-filter-section {
    position: static;
  }

  .diy-filter-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .diy-search-wrap {
    flex: none;
    width: 100%;
  }

  .diy-filter-group,
  .diy-level-filter {
    gap: 6px;
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
  }

  .diy-filter-btn,
  .diy-level-btn {
    flex-shrink: 0;
  }

  .diy-blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .diy-paths-grid {
    grid-template-columns: 1fr;
  }

  .diy-paths-grid .diy-path-card:last-child {
    grid-column: auto;
    max-width: 100%;
  }

  .diy-paths {
    padding: 60px 0;
  }

  .diy-grid-section {
    padding: 40px 0 60px;
  }
}

/* ── Responsive — Small Mobile (≤ 480px) ────────────────────── */
@media (max-width: 480px) {
  .diy-feat-info-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .diy-card-img-wrap {
    height: 180px;
  }

  .diy-hstat strong {
    font-size: 1.15rem;
  }
}

/* ============================================================
   404 ERROR PAGE
   ============================================================ */

.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-height) + 60px) 24px 80px;
  position: relative;
  overflow: hidden;
  background: var(--bg-primary);
}

/* ── Background ambiance ── */
.error-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.error-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.35;
}

.error-blob-1 {
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(184, 115, 82, 0.5), transparent 70%);
  top: -120px;
  right: -80px;
  animation: errorBlobFloat1 12s ease-in-out infinite;
}

.error-blob-2 {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(95, 111, 82, 0.4), transparent 70%);
  bottom: -80px;
  left: -60px;
  animation: errorBlobFloat2 15s ease-in-out infinite;
}

.error-blob-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(212, 163, 115, 0.35), transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: errorBlobFloat1 10s ease-in-out infinite reverse;
}

.error-grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.6;
}

@keyframes errorBlobFloat1 {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(30px, 20px) scale(1.06);
  }
}

@keyframes errorBlobFloat2 {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(-20px, -30px) scale(1.04);
  }
}

/* ── Floating particles ── */
.error-particles {
  position: absolute;
  inset: 0;
}

.ep {
  position: absolute;
  font-size: 1.5rem;
  opacity: 0;
  animation: epFloat 14s ease-in-out infinite;
  user-select: none;
}

.ep-1 {
  left: 8%;
  top: 20%;
  animation-delay: 0s;
  animation-duration: 12s;
}

.ep-2 {
  left: 88%;
  top: 15%;
  animation-delay: 1.5s;
  animation-duration: 16s;
}

.ep-3 {
  left: 15%;
  top: 72%;
  animation-delay: 3s;
  animation-duration: 13s;
}

.ep-4 {
  left: 80%;
  top: 65%;
  animation-delay: 4.5s;
  animation-duration: 11s;
}

.ep-5 {
  left: 50%;
  top: 10%;
  animation-delay: 6s;
  animation-duration: 14s;
}

.ep-6 {
  left: 5%;
  top: 45%;
  animation-delay: 2s;
  animation-duration: 18s;
}

.ep-7 {
  left: 92%;
  top: 42%;
  animation-delay: 7s;
  animation-duration: 12s;
}

.ep-8 {
  left: 40%;
  top: 82%;
  animation-delay: 3.5s;
  animation-duration: 15s;
}

@keyframes epFloat {
  0% {
    opacity: 0;
    transform: translateY(20px) rotate(0deg) scale(0.8);
  }

  15% {
    opacity: 0.6;
  }

  85% {
    opacity: 0.4;
  }

  100% {
    opacity: 0;
    transform: translateY(-60px) rotate(25deg) scale(1.1);
  }
}

/* ── Main content wrapper ── */
.error-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
}

/* ── Giant 404 code with candle ── */
.error-code-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  line-height: 1;
}


.error-digit {
  font-family: 'Playfair Display', serif;
  font-size: clamp(7rem, 18vw, 14rem);
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 3px var(--accent-lavender);
  background: linear-gradient(135deg, var(--accent-lavender), var(--accent-gold));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 8px 30px rgba(184, 115, 82, 0.3));
  letter-spacing: -0.02em;
}


/* ── Text block ── */
.error-text-block {
  animation: fadeUpIn 0.8s 0.25s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.error-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  color: var(--text-primary);
  margin: 12px 0 14px;
  line-height: 1.25;
}

.error-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.7;
  margin: 0 auto;
}

/* ── Quick links grid ── */
.error-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  width: 100%;
  animation: fadeUpIn 0.8s 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.error-link-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  transition: all var(--transition);
  text-decoration: none;
  color: var(--text-primary);
  box-shadow: var(--shadow-soft);
}

.error-link-card:hover {
  border-color: var(--accent-lavender);
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(184, 115, 82, 0.18);
  color: var(--accent-lavender);
}

.error-link-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
}

.error-link-label {
  flex: 1;
  font-size: 0.88rem;
  font-weight: 600;
  text-align: left;
}

.error-link-arrow {
  font-size: 0.85rem;
  opacity: 0.5;
  transition: transform var(--transition);
}

.error-link-card:hover .error-link-arrow {
  transform: translateX(3px);
  opacity: 1;
}

/* ── CTA buttons ── */
.error-ctas {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeUpIn 0.8s 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* ── Search bar ── */
.error-search-wrap {
  width: 100%;
  max-width: 520px;
  animation: fadeUpIn 0.8s 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.error-search-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.error-search-inner {
  display: flex;
  gap: 0;
  border: 1.5px solid var(--border-soft);
  border-radius: 100px;
  overflow: hidden;
  background: var(--bg-card);
  box-shadow: var(--shadow-soft);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.error-search-inner:focus-within {
  border-color: var(--accent-lavender);
  box-shadow: 0 0 0 3px rgba(184, 115, 82, 0.12);
}

.error-search-input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  padding: 13px 20px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  color: var(--text-primary);
}

.error-search-input::placeholder {
  color: var(--text-muted);
}

.error-search-btn {
  padding: 10px 18px;
  background: linear-gradient(135deg, var(--accent-lavender), var(--accent-botanical));
  border: none;
  cursor: pointer;
  font-size: 1rem;
  border-radius: 0 100px 100px 0;
  transition: opacity var(--transition);
}

.error-search-btn:hover {
  opacity: 0.85;
}

@keyframes fadeUpIn {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

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

/* ── 404 Responsive ── */
@media (max-width: 768px) {
  .error-links-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .error-digit {
    font-size: clamp(5rem, 20vw, 7rem);
  }

  .error-ctas {
    flex-direction: column;
    width: 100%;
  }

  .error-ctas .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .error-links-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .error-link-card {
    padding: 11px 13px;
    gap: 7px;
  }

  .error-link-label {
    font-size: 0.78rem;
  }

  .error-page {
    padding-top: calc(var(--nav-height) + 30px);
    padding-bottom: 50px;
  }
}


/* ============================================================
   COMING SOON PAGE
   ============================================================ */

.cs-body {
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── Minimal header ── */
.cs-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-soft);
}

.cs-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cs-back-btn {
  padding: 9px 20px;
  font-size: 0.85rem;
}

/* ── Main container ── */
.cs-main {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: calc(var(--nav-height) + 50px) 24px 60px;
}

/* ── Rich background ── */
.cs-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.cs-bg-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 80% 20%, rgba(184, 115, 82, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 10% 80%, rgba(95, 111, 82, 0.1) 0%, transparent 60%),
    linear-gradient(160deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.cs-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.3;
}

.cs-blob-1 {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(184, 115, 82, 0.5), transparent 65%);
  top: -200px;
  right: -150px;
  animation: csBlobDrift 18s ease-in-out infinite;
}

.cs-blob-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(95, 111, 82, 0.45), transparent 65%);
  bottom: -120px;
  left: -100px;
  animation: csBlobDrift 22s ease-in-out infinite reverse;
}

.cs-blob-3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(212, 163, 115, 0.4), transparent 65%);
  top: 30%;
  left: 30%;
  animation: csBlobDrift 14s ease-in-out infinite;
  animation-delay: -4s;
}

.cs-grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
}

@keyframes csBlobDrift {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(40px, -30px) scale(1.08);
  }

  66% {
    transform: translate(-20px, 40px) scale(0.95);
  }
}

/* ── CSS Candle scene (decorative) ── */
.cs-scene {
  position: absolute;
  bottom: 0;
  right: 60px;
  display: flex;
  align-items: flex-end;
  gap: 12px;
  opacity: 0.25;
  pointer-events: none;
}

[data-theme="dark"] .cs-scene {
  opacity: 0.18;
}

.cs-candle {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.cs-c-body {
  width: 28px;
  height: 90px;
  background: linear-gradient(180deg, var(--accent-gold), var(--accent-lavender));
  border-radius: 4px 4px 2px 2px;
  box-shadow: inset -4px 0 8px rgba(0, 0, 0, 0.15);
}

.cs-c-body-tall {
  height: 130px;
  width: 22px;
}

.cs-c-body-short {
  height: 60px;
  width: 24px;
}

.cs-c-flame {
  width: 14px;
  height: 20px;
  background: radial-gradient(ellipse at 50% 85%, #fff 0%, #FFD700 40%, #FF8C00 80%, transparent 100%);
  border-radius: 50% 50% 30% 30%;
  animation: csFlameSway 2s ease-in-out infinite;
  filter: drop-shadow(0 0 5px rgba(255, 160, 0, 0.7));
  margin-bottom: 2px;
}

.cs-c-flame-inner {
  width: 6px;
  height: 10px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50% 50% 30% 30%;
  margin: 2px auto 0;
  filter: blur(1px);
}

.cs-c-drip {
  position: absolute;
  background: rgba(212, 163, 115, 0.6);
  border-radius: 0 0 50% 50%;
}

.cs-c-drip-a {
  width: 6px;
  height: 16px;
  top: 28px;
  left: 4px;
}

.cs-c-drip-b {
  width: 5px;
  height: 12px;
  top: 20px;
  right: 5px;
}

.cs-candle-2 {
  margin-bottom: 20px;
}

.cs-candle-3 {
  margin-bottom: 8px;
}

@keyframes csFlameSway {

  0%,
  100% {
    transform: rotate(-3deg) scaleX(1);
  }

  50% {
    transform: rotate(3deg) scaleX(0.9);
  }
}

.cs-petal {
  position: absolute;
  font-size: 1.6rem;
  animation: petalDrift 10s ease-in-out infinite;
  opacity: 0.6;
}

.cs-petal-1 {
  top: -120px;
  left: -60px;
  animation-delay: 0s;
  font-size: 1.2rem;
}

.cs-petal-2 {
  top: -80px;
  right: -40px;
  animation-delay: 2.5s;
}

.cs-petal-3 {
  top: -60px;
  left: 20px;
  animation-delay: 5s;
  font-size: 1rem;
}

.cs-petal-4 {
  top: -100px;
  right: 10px;
  animation-delay: 7s;
  font-size: 1.3rem;
}

@keyframes petalDrift {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-20px) rotate(15deg);
  }
}

/* ── Content wrapper ── */
.cs-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  text-align: center;
}

/* ── Badge ── */
.cs-badge-wrap {
  animation: fadeUpIn 0.7s 0.1s both;
}

.cs-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(184, 115, 82, 0.1);
  border: 1px solid rgba(184, 115, 82, 0.28);
  border-radius: 100px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-lavender);
}

.cs-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-lavender);
  box-shadow: 0 0 0 3px rgba(184, 115, 82, 0.3);
  animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {

  0%,
  100% {
    box-shadow: 0 0 0 3px rgba(184, 115, 82, 0.3);
  }

  50% {
    box-shadow: 0 0 0 6px rgba(184, 115, 82, 0.1);
  }
}

/* ── Headline ── */
.cs-headline-wrap {
  animation: fadeUpIn 0.8s 0.2s both;
}

.cs-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 18px;
}

.cs-title em {
  font-style: italic;
  background: linear-gradient(135deg, var(--accent-lavender), var(--accent-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cs-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 560px;
}

/* ── Countdown timer ── */
.cs-countdown {
  display: flex;
  align-items: center;
  gap: 8px;
  animation: fadeUpIn 0.8s 0.35s both;
}

.cs-count-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 80px;
}

.cs-count-number {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 700;
  color: var(--text-primary);
  background: var(--bg-card);
  border: 1.5px solid var(--border-soft);
  border-radius: var(--radius-md);
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
  transition: transform 0.15s ease;
}

.cs-count-number::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(184, 115, 82, 0.05) 0%, transparent 100%);
  pointer-events: none;
}

.cs-count-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.cs-count-sep {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-lavender);
  margin-bottom: 20px;
  opacity: 0.5;
  animation: colonBlink 1s step-end infinite;
}

@keyframes colonBlink {

  0%,
  100% {
    opacity: 0.5;
  }

  50% {
    opacity: 0.1;
  }
}

/* ── Progress bar ── */
.cs-progress-wrap {
  width: 100%;
  animation: fadeUpIn 0.8s 0.45s both;
}

.cs-progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.cs-progress-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.cs-progress-pct {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--accent-lavender);
}

.cs-progress-track {
  height: 8px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-soft);
  border-radius: 100px;
  overflow: hidden;
  margin-bottom: 14px;
}

.cs-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-botanical), var(--accent-lavender), var(--accent-gold));
  border-radius: 100px;
  position: relative;
  animation: progressGrow 1.4s 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
  transform-origin: left;
}

@keyframes progressGrow {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

.cs-progress-glow {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background: var(--accent-gold);
  border-radius: 50%;
  filter: blur(8px);
  animation: glowPulse 1.5s ease-in-out infinite;
}

@keyframes glowPulse {

  0%,
  100% {
    opacity: 1;
    transform: translateY(-50%) scale(1);
  }

  50% {
    opacity: 0.6;
    transform: translateY(-50%) scale(1.4);
  }
}

.cs-progress-milestones {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.cs-milestone {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 4px 12px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-soft);
  border-radius: 100px;
  transition: all var(--transition);
}

.cs-milestone.done {
  color: var(--accent-botanical);
  background: rgba(95, 111, 82, 0.1);
  border-color: rgba(95, 111, 82, 0.25);
}

.cs-milestone.active {
  color: var(--accent-lavender);
  background: rgba(184, 115, 82, 0.1);
  border-color: rgba(184, 115, 82, 0.3);
  animation: milestoneGlow 2s ease-in-out infinite;
}

@keyframes milestoneGlow {

  0%,
  100% {
    box-shadow: none;
  }

  50% {
    box-shadow: 0 0 10px rgba(184, 115, 82, 0.3);
  }
}

/* ── Email signup ── */
.cs-signup-wrap {
  width: 100%;
  padding: 36px 40px;
  background: var(--bg-card);
  border: 1.5px solid var(--border-soft);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
  animation: fadeUpIn 0.8s 0.55s both;
}

.cs-signup-wrap::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-botanical), var(--accent-lavender), var(--accent-gold));
}

.cs-signup-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.cs-signup-sub {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 22px;
  line-height: 1.6;
}

.cs-form-row {
  display: flex;
  gap: 0;
  border: 1.5px solid var(--border-soft);
  border-radius: 100px;
  overflow: hidden;
  background: var(--bg-primary);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.cs-form-row:focus-within {
  border-color: var(--accent-lavender);
  box-shadow: 0 0 0 4px rgba(184, 115, 82, 0.12);
}

.cs-email-input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  padding: 14px 22px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.cs-email-input::placeholder {
  color: var(--text-muted);
}

.cs-submit-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  background: linear-gradient(135deg, var(--accent-lavender), var(--accent-botanical));
  border: none;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: #fff;
  border-radius: 0 100px 100px 0;
  transition: all var(--transition);
  white-space: nowrap;
}

.cs-submit-btn:hover {
  opacity: 0.88;
  transform: scale(1.02);
}

.cs-submit-btn:active {
  transform: scale(0.98);
}

.cs-submit-icon {
  transition: transform var(--transition);
}

.cs-submit-btn:hover .cs-submit-icon {
  transform: translateX(4px);
}

.cs-form-success {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: rgba(95, 111, 82, 0.12);
  border: 1px solid rgba(95, 111, 82, 0.3);
  border-radius: var(--radius-md);
  color: var(--accent-botanical);
  font-weight: 500;
  font-size: 0.9rem;
  margin-top: 12px;
  animation: fadeUpIn 0.5s both;
}

.cs-success-icon {
  font-size: 1.2rem;
}

.cs-form-note {
  margin-top: 12px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ── Perks grid ── */
.cs-perks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  width: 100%;
  animation: fadeUpIn 0.8s 0.65s both;
}

.cs-perk {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  text-align: left;
  transition: all var(--transition);
}

.cs-perk:hover {
  border-color: rgba(184, 115, 82, 0.3);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.cs-perk-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.cs-perk-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.cs-perk-text strong {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
}

.cs-perk-text span {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ── Social links ── */
.cs-social-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  animation: fadeUpIn 0.8s 0.75s both;
}

.cs-social-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.cs-social-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.cs-social-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: 100px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all var(--transition);
  box-shadow: var(--shadow-soft);
}

.cs-social-btn:hover {
  border-color: var(--accent-lavender);
  color: var(--accent-lavender);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(184, 115, 82, 0.18);
}

/* ── Coming Soon Responsive ── */
@media (max-width: 768px) {
  .cs-header {
    padding: 0 20px;
  }

  .cs-back-btn {
    display: none;
  }

  .cs-count-item {
    min-width: 60px;
  }

  .cs-count-number {
    width: 68px;
    height: 68px;
    font-size: 1.8rem;
  }

  .cs-count-sep {
    font-size: 1.8rem;
  }

  .cs-signup-wrap {
    padding: 26px 22px;
  }

  .cs-scene {
    right: 20px;
    opacity: 0.12;
  }
}

@media (max-width: 600px) {
  .cs-form-row {
    flex-direction: column;
    border-radius: var(--radius-md);
    overflow: visible;
    border: none;
    gap: 10px;
    background: transparent;
  }

  .cs-form-row:focus-within {
    box-shadow: none;
  }

  .cs-email-input {
    border: 1.5px solid var(--border-soft);
    border-radius: var(--radius-sm);
    background: var(--bg-primary);
    padding: 13px 18px;
    transition: border-color var(--transition);
  }

  .cs-email-input:focus {
    border-color: var(--accent-lavender);
    outline: none;
  }

  .cs-submit-btn {
    border-radius: 100px;
    justify-content: center;
    padding: 14px 24px;
  }

  .cs-perks {
    grid-template-columns: 1fr;
  }

  .cs-countdown {
    gap: 4px;
  }

  .cs-count-number {
    width: 58px;
    height: 58px;
    font-size: 1.5rem;
  }

  .cs-count-sep {
    font-size: 1.5rem;
    margin-bottom: 18px;
  }
}

@media (max-width: 400px) {
  .cs-count-item {
    min-width: 48px;
  }

  .cs-count-number {
    width: 50px;
    height: 50px;
    font-size: 1.3rem;
  }

  .cs-count-sep {
    font-size: 1.2rem;
  }

  .cs-title {
    font-size: 2rem;
  }
}

/* ==========================================
   TESTIMONIAL RESPONSIVE FIXES
   ========================================== */
@media (max-width: 1024px) {
  .testimonials-slider {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding-bottom: 16px;
    margin: 0;
  }

  .testimonials-slider::-webkit-scrollbar {
    height: 6px;
  }

  .testimonials-slider::-webkit-scrollbar-track {
    background: var(--bg-secondary);
  }

  .testimonials-slider::-webkit-scrollbar-thumb {
    background: var(--accent-lavender);
    border-radius: 10px;
  }

  .testimonials-track {
    animation: none !important;
    gap: 16px;
  }

  .testimonial-card {
    scroll-snap-align: start;
    width: 300px;
  }
}

@media (max-width: 767px) {
  .testimonial-card {
    width: 280px;
    padding: 24px;
  }
}

/* ==========================================
   HEADER STICKY + MOBILE ICONS FIX (360px+)
   ========================================== */

/* Ensure sticky/fixed header works on all pages */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

/* Push body content below the fixed header */
body {
  padding-top: var(--nav-height);
}

/* Override for pages that set their own padding */
@media (max-width: 767px) {
  body {
    padding-top: var(--nav-height);
  }
}

/* ── Mobile nav-actions: always show cart + hamburger ── */
@media (max-width: 1024px) {

  /* Guarantee nav-actions is flex and not clipped */
  .nav-actions {
    display: flex !important;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
  }

  /* Show hamburger */
  .hamburger {
    display: flex !important;
    flex-shrink: 0;
  }

  /* Show all nav-icon-btns (cart, theme, rtl) —
     theme & rtl are hidden via the existing rule;
     we need the cart button to always show */
  .nav-actions .nav-icon-btn {
    display: flex !important;
  }

  /* Keep theme & rtl hidden on desktop collapse */
  #theme-toggle,
  #rtl-toggle {
    display: none !important;
  }
}

/* ── 360px – 480px: tighten spacing so icons don't overflow ── */
@media (max-width: 480px) {
  :root {
    --nav-height: 60px;
  }

  .nav-inner {
    padding: 0 12px;
    gap: 0;
  }

  /* Shrink logo at very small screens */
  .logo-icon {
    width: 36px;
    height: 36px;
  }

  .logo-name {
    font-size: 1rem;
  }

  .logo-tagline {
    font-size: 0.55rem;
  }

  /* Tighten the actions row */
  .nav-actions {
    gap: 4px !important;
  }

  .nav-icon-btn {
    width: 34px !important;
    height: 34px !important;
  }

  .hamburger {
    width: 34px !important;
    height: 34px !important;
  }
}

/* ── 360px (Samsung Galaxy S8+ and similar) ── */
@media (max-width: 375px) {
  .nav-inner {
    padding: 0 10px;
  }

  .logo-tagline {
    display: none; /* hide tagline to save space at 360px */
  }

  .logo-name {
    font-size: 0.95rem;
  }

  .nav-actions {
    gap: 2px !important;
  }

  .nav-icon-btn,
  .hamburger {
    width: 32px !important;
    height: 32px !important;
  }
}

/* ── Ensure mobile-nav top offset follows header height ── */
@media (max-width: 480px) {
  .mobile-nav {
    top: var(--nav-height);
  }
}

/* ── scrolled state: reduce height and keep backdrop ── */
.site-header.scrolled {
  height: var(--nav-height-sm);
  box-shadow: 0 4px 20px rgba(45, 41, 38, 0.1);
  background: var(--bg-glass);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}