/*
Theme Name: Kaelen
Theme URI: https://kaelencare.com
Author: Kaelen Design Team
Author URI: https://kaelencare.com
Description: Bespoke luxury wellness & beauty theme for Kaelen ("Premium everyday wellness, beautifully formulated").
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
Text Domain: kaelen
*/

/* ==========================================================================
   1. Brand Typography & @font-face
   ========================================================================== */
@font-face {
  font-family: 'GoudyOldStyleT-Bold';
  src: local('GoudyOldStyleT-Bold'),
       local('Goudy Old Style Bold'),
       local('GoudyOldStyle-Bold'),
       url('assets/fonts/GoudyOldStyleT-Bold.woff2') format('woff2'),
       url('assets/fonts/GoudyOldStyleT-Bold.woff') format('woff'),
       url('assets/fonts/GoudyOldStyleT-Bold.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

/* ==========================================================================
   2. Design Tokens & Color Variables
   ========================================================================== */
:root {
  /* Neutrals */
  --color-bg-primary: #FBF6EF;        /* Warm Ivory (Main background) */
  --color-bg-secondary: #EDE4D8;      /* Soft Beige */
  --color-bg-card: #F7F1E8;           /* Warm Cream */
  --color-bg-white: #FFFFFF;
  --color-primary-dark: #15130F;      /* Matte Black */
  --color-text-charcoal: #212121;     /* Primary Heading / Wordmark Color */
  --color-text-body: #2E2924;         /* Primary Body Copy */
  --color-text-secondary: #6E6357;    /* Supporting Muted Text */
  --color-text-on-dark: #FBF6EF;      /* Ivory text on dark surfaces */
  --color-border-subtle: #E3D9CC;
  --color-border-light: #ECE3D7;

  /* Primary Brand Accent */
  --color-emerald: #123D30;           /* Deep Emerald Green */
  --color-emerald-dark: #0D2D23;
  --color-emerald-light: #1A5443;

  /* Product-Specific Accent Colors */
  --color-glutathione: #402142;       /* Muted Deep Plum / Purple */
  --color-collagen: #18A9A6;          /* Teal / Turquoise */
  --color-multivitamin: #168A55;      /* Emerald / Leaf Green */

  /* Typography Stacks */
  --font-serif: 'GoudyOldStyleT-Bold', 'Goudy Old Style', 'Fraunces', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Layout & Animations */
  --container-max: 1240px;
  --container-narrow: 960px;
  --radius-sm: 4px;
  --radius-md: 10px;
  --radius-lg: 20px;
  --radius-pill: 999px;
  --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --shadow-subtle: 0 4px 20px rgba(21, 19, 15, 0.04);
  --shadow-hover: 0 12px 32px rgba(21, 19, 15, 0.08);
}

/* ==========================================================================
   3. Global Reset & Base Styles
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--color-bg-primary);
  color: var(--color-text-body);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  transition: var(--transition-smooth);
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ==========================================================================
   Global 1:1 Square Product Image & Media Presentation System
   ========================================================================== */
.kaelen-square-img-wrap,
.product-image-wrap,
.product-img-box,
.edit-card-img-wrap,
.pdp-main-image-frame,
.pdp-thumb,
.pdp-rel-image-wrap,
.pdp-rel-img-frame,
.shop-card-img-frame,
.woocommerce ul.products li.product .woocommerce-loop-product__link,
.woocommerce-product-gallery__image {
  aspect-ratio: 1 / 1 !important;
  width: 100%;
  height: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  position: relative !important;
  box-sizing: border-box !important;
}

.kaelen-square-img-wrap img,
.product-image-wrap img,
.product-img-box img,
.edit-card-img-wrap img,
.edit-card-img,
.pdp-main-img,
.pdp-thumb-img,
.pdp-rel-image,
.pdp-rel-img,
.shop-card-img,
.woocommerce ul.products li.product a img,
.woocommerce-product-gallery__image img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  display: block !important;
  border-radius: inherit !important;
}

/* ==========================================================================
   4. Typography Classes
   ========================================================================== */
h1, h2, h3, h4, h5, h6, .serif {
  font-family: var(--font-serif);
  color: var(--color-text-charcoal);
  letter-spacing: 2px;
  line-height: 1.25;
}

.eyebrow {
  display: inline-block;
  font-size: 0.725rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--color-emerald);
  margin-bottom: 0.75rem;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--color-text-charcoal);
}

.section-subhead {
  font-size: 1.05rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   5. Buttons & Interactive Elements
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.95rem 2rem;
  border-radius: var(--radius-pill);
  transition: var(--transition-smooth);
  text-align: center;
}

.btn-primary {
  background-color: var(--color-emerald);
  color: var(--color-bg-primary);
  border: 1px solid var(--color-emerald);
}

.btn-primary:hover {
  background-color: var(--color-emerald-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(18, 61, 48, 0.25);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-emerald);
  border: 1.5px solid var(--color-emerald);
}

.btn-secondary:hover {
  background-color: var(--color-emerald);
  color: var(--color-bg-primary);
  transform: translateY(-2px);
}

.btn-brand-light {
  background-color: var(--color-bg-primary);
  color: var(--color-emerald);
  border: 1px solid var(--color-bg-primary);
}

.btn-brand-light:hover {
  background-color: #fff;
  color: var(--color-emerald-dark);
  transform: translateY(-2px);
}

.btn-cta-light {
  background-color: var(--color-bg-primary);
  color: var(--color-emerald);
  border: 1px solid var(--color-bg-primary);
}

.btn-cta-light:hover {
  background-color: #fff;
  color: var(--color-emerald-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* ==========================================================================
   6. Announcement Bar & Header
   ========================================================================== */
/* ==========================================================================
   6. Announcement Bar & Minimal Luxury Header
   ========================================================================== */
.announcement-bar {
  background-color: #EDE4D8;
  color: #212121;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  padding: 0.45rem 1rem;
  border-bottom: 1px solid rgba(33, 33, 33, 0.06);
  width: 100%;
  box-sizing: border-box;
}

.announcement-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  flex-wrap: wrap;
  line-height: 1.4;
}

.announcement-link {
  color: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: opacity 0.2s ease;
}

.announcement-link:hover {
  opacity: 0.85;
}

.announcement-text strong,
.promo-code-text {
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #212121;
}

.promo-copy-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(33, 33, 33, 0.08);
  color: #212121;
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 2px 7px;
  border-radius: 4px;
  border: 1px solid rgba(33, 33, 33, 0.15);
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1.2;
  margin-left: 3px;
}

.promo-copy-badge:hover {
  background: #212121;
  color: #FFFFFF;
  border-color: #212121;
}

.promo-copy-badge.is-copied {
  background: #18A9A6;
  color: #FFFFFF;
  border-color: #18A9A6;
}

.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #FFFFFF;
  border-bottom: 1px solid var(--color-border-light);
  z-index: 1000;
  transition: all 0.3s ease;
}

.site-header.scrolled {
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(14px);
  box-shadow: 0 2px 20px rgba(21, 19, 15, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 45px;
  max-width: 100%;
  transition: height 0.3s ease;
}

.site-header.scrolled .header-inner {
  height: 60px;
}

/* Left Cluster: Hamburger Icon + Kaelen Logo */
.header-left {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-shrink: 0;
}

/* Refined 3-line Hamburger Icon */
.hamburger-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4.5px;
  width: 24px;
  height: 24px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 2px;
  transition: var(--transition-smooth);
}

.hamburger-btn .ham-line {
  display: block;
  height: 1.6px;
  width: 100%;
  background-color: #212121;
  border-radius: 2px;
  transition: var(--transition-smooth);
}

.hamburger-btn:hover .ham-line {
  background-color: var(--color-emerald);
}

/* Kaelen Wordmark Logo */
.header-logo {
  font-family: var(--font-serif);
  font-size: 42px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #212121;
  text-decoration: none;
  text-transform: none; /* Exact "Kaelen" capitalization */
  line-height: 1;
  display: inline-block;
  transition: font-size 0.3s ease, color 0.3s ease;
}

.site-header.scrolled .header-logo {
  font-size: 35px;
}

.header-logo:hover {
  color: #000000;
}

/* Center: Intentionally Empty Whitespace */
.header-center {
  flex-grow: 1;
}

/* Right Cluster: Action Icons */
.header-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-shrink: 0;
}

.header-action-btn {
  color: #212121;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem;
  position: relative;
  transition: var(--transition-smooth);
}

.header-action-btn:hover {
  color: var(--color-emerald);
  transform: translateY(-1px);
}

.cart-count-badge {
  position: absolute;
  top: -3px;
  right: -5px;
  background-color: #212121;
  color: #FFFFFF;
  font-size: 0.65rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* Navigation Drawer Backdrop Overlay */
.nav-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(21, 19, 15, 0.45);
  backdrop-filter: blur(5px);
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.nav-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Slide-out Navigation Drawer (Compact Luxury) */
.navigation-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 340px;
  max-width: 86vw;
  height: 100vh;
  background-color: var(--color-bg-primary);
  box-shadow: 8px 0 35px rgba(21, 19, 15, 0.1);
  z-index: 1200;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: flex;
  flex-direction: column;
  padding: 1.75rem 1.65rem;
  overflow-y: auto;
  box-sizing: border-box;
}

.navigation-drawer.open {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid var(--color-border-light);
  margin-bottom: 1.35rem;
}

.drawer-brand-logo {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #212121;
  text-transform: none;
  line-height: 1;
}

.drawer-close-btn {
  font-size: 1.5rem;
  line-height: 1;
  color: #212121;
  padding: 0.25rem;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.drawer-close-btn:hover {
  color: var(--color-emerald);
  background: rgba(33, 33, 33, 0.05);
  transform: rotate(90deg);
}

.drawer-body {
  flex-grow: 1;
}

.drawer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 0;
  margin: 0;
}

.drawer-nav-item {
  width: 100%;
}

.drawer-link {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  color: #212121;
  display: block;
  padding: 0.2rem 0;
  text-decoration: none;
  transition: all 0.2s ease;
}

.drawer-link:hover {
  color: var(--color-emerald);
  padding-left: 4px;
}

.drawer-sub-menu {
  list-style: none;
  padding: 0 0 0 0.85rem;
  margin: 0.4rem 0 0.5rem 0.2rem;
  border-left: 1.5px solid rgba(33, 33, 33, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.drawer-sub-menu li {
  margin: 0;
}

.drawer-sub-menu a {
  font-family: var(--font-sans);
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  text-decoration: none;
  display: block;
  padding: 0.15rem 0;
  transition: all 0.2s ease;
}

.drawer-sub-menu a:hover {
  color: var(--color-emerald);
  padding-left: 3px;
}

.drawer-footer {
  margin-top: 1.35rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--color-border-light);
}

.drawer-footer .btn-primary {
  height: 42px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

/* ==========================================================================
   7. Hero Section (Approved Assets 1920x1050 / Mobile)
   ========================================================================== */
.hero-section {
  position: relative;
  background-color: #FFFFFF;
  background-image: url('/wp-content/uploads/2026/08/kaelen-hero-desktop.webp-scaled.webp');
  background-size: cover;
  background-position: right bottom;
  background-repeat: no-repeat;
  aspect-ratio: 2048 / 1081;
  min-height: 520px;
  max-height: 800px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--color-border-light);
  padding: 3.5rem 0 4.5rem;
  overflow: hidden;
}

.hero-container {
  display: grid;
  grid-template-columns: 56% 44%;
  align-items: center;
  width: 100%;
}

.hero-content {
  max-width: 660px;
  z-index: 2;
}

.hero-title {
  font-size: clamp(2.35rem, 3.2vw, 3.1rem);
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 1.2;
  color: var(--color-text-charcoal);
  margin-bottom: 2.25rem;
}

.hero-line {
  display: block;
  white-space: nowrap;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* ==========================================================================
   8. Trust / Value Strip
   ========================================================================== */
.trust-strip {
  background-color: var(--color-bg-card);
  border-bottom: 1px solid var(--color-border-light);
  padding: 1.5rem 0;
}

.trust-strip-grid {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.trust-pill {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.trust-icon {
  color: var(--color-emerald);
}

.trust-label {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--color-text-body);
}

.trust-divider {
  width: 1px;
  height: 22px;
  background-color: var(--color-border-subtle);
}

/* ==========================================================================
   9. Guided Discovery Section (Find Your Daily Ritual)
   ========================================================================== */
.rituals-section {
  padding: 4.5rem 0 5rem;
  background-color: #FBF6EF;
}

.rituals-container {
  max-width: 1220px;
  margin: 0 auto;
}

.discovery-header {
  text-align: center;
  max-width: 580px;
  margin: 0 auto 2.75rem;
}

.discovery-header .eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--color-emerald);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: block;
}

.discovery-header .section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 2.75vw, 2.35rem);
  font-weight: 700;
  letter-spacing: 2px;
  color: #212121;
  line-height: 1.2;
  margin-bottom: 0.65rem;
}

.discovery-header .section-subhead {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-text-secondary);
  margin: 0 auto;
}

/* 3-Card Guided Goal Carousel / Grid */
.goals-carousel-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  align-items: stretch;
}

/* Compact Editorial Goal Tile */
.goal-card {
  background-color: #FFFFFF;
  border: 1px solid rgba(33, 33, 33, 0.08);
  border-radius: 14px;
  padding: 2rem 1.75rem 1.65rem;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 4px 16px rgba(21, 19, 15, 0.025);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
  overflow: hidden;
}

.goal-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(21, 19, 15, 0.06);
  border-color: rgba(33, 33, 33, 0.18);
}

/* Subtle corner accent border on hover */
.goal-card--skin:hover { border-color: rgba(64, 33, 66, 0.3); }
.goal-card--joint:hover { border-color: rgba(24, 169, 166, 0.35); }
.goal-card--foundation:hover { border-color: rgba(22, 138, 85, 0.35); }

/* Goal Card Header (Number + Minimal Icon) */
.goal-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.goal-card-number {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--color-text-muted);
  transition: color 0.25s ease;
}

.goal-card-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.icon--skin {
  background-color: rgba(64, 33, 66, 0.06);
  color: #402142;
}

.icon--joint {
  background-color: rgba(24, 169, 166, 0.08);
  color: #18A9A6;
}

.icon--green {
  background-color: rgba(22, 138, 85, 0.08);
  color: #168A55;
}

.goal-card:hover .goal-card-icon {
  transform: scale(1.05);
}

/* Goal Card Body */
.goal-card-body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.goal-accent-line {
  height: 2px;
  width: 28px;
  border-radius: 2px;
  margin-bottom: 1rem;
  transition: width 0.25s ease;
}

.line--plum {
  background-color: #402142;
}

.line--teal {
  background-color: #18A9A6;
}

.line--green {
  background-color: #168A55;
}

.goal-card:hover .goal-accent-line {
  width: 40px;
}

.goal-card-title {
  font-family: var(--font-serif);
  font-size: 1.1875rem;
  font-weight: 700;
  letter-spacing: 1.25px;
  color: #212121;
  line-height: 1.25;
  margin-bottom: 0.65rem;
}

.goal-card-desc {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--color-text-secondary);
  margin-bottom: 1.65rem;
  flex-grow: 1;
}

/* Goal Card Footer */
.goal-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid rgba(33, 33, 33, 0.06);
  color: #212121;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.25s ease;
}

.goal-action-arrow {
  font-size: 1rem;
  transition: transform 0.25s ease;
  line-height: 1;
}

.goal-card--skin:hover .goal-card-footer,
.goal-card--skin:hover .goal-card-number {
  color: #402142;
}

.goal-card--joint:hover .goal-card-footer,
.goal-card--joint:hover .goal-card-number {
  color: #18A9A6;
}

.goal-card--foundation:hover .goal-card-footer,
.goal-card--foundation:hover .goal-card-number {
  color: #168A55;
}

.goal-card:hover .goal-action-arrow {
  transform: translateX(4px);
}

/* Mobile Nav Indicators (Hidden on Desktop) */
.goals-mobile-nav {
  display: none;
}

/* ==========================================================================
   10. Featured Products (The Kaelen Edit - Soft Warm Beige #F3ECE2)
   ========================================================================== */
.kaelen-edit-section {
  padding: 6rem 0 6.5rem;
  background-color: #F3ECE2;
}

.kaelen-edit-container {
  max-width: 1220px;
  margin: 0 auto;
}

.edit-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3.5rem;
}

.edit-header .eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--color-emerald);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: block;
}

.edit-header .section-title {
  font-family: var(--font-serif);
  font-size: clamp(2.15rem, 3.25vw, 2.75rem);
  font-weight: 700;
  letter-spacing: 2px;
  color: #212121;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.edit-header .section-subhead {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text-secondary);
  margin: 0 auto;
}

/* 3-Column Editorial Grid */
.kaelen-edit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.25rem;
  align-items: stretch;
}

/* Premium Product Card */
.edit-card {
  background-color: #FFFFFF;
  border: 1px solid rgba(33, 33, 33, 0.08);
  border-radius: 14px;
  padding: 2.25rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  box-shadow: 0 6px 24px rgba(21, 19, 15, 0.035);
  transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.35s ease, border-color 0.35s ease;
  position: relative;
}

.edit-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 42px rgba(21, 19, 15, 0.08);
  border-color: rgba(33, 33, 33, 0.18);
}

/* Visually Dominant Product Image Directly in Card (Strict 1:1 Square, No Inner Box) */
.edit-card-img-wrap {
  aspect-ratio: 1 / 1 !important;
  width: 100% !important;
  height: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0.5rem !important;
  margin: 0 0 1.25rem 0;
  overflow: hidden !important;
  text-decoration: none;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  box-sizing: border-box;
  position: relative !important;
  cursor: pointer;
}

.edit-card-img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  margin: 0 auto !important;
  display: block !important;
  filter: drop-shadow(0 14px 26px rgba(0, 0, 0, 0.08));
  transition: opacity 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), visibility 0.4s ease;
}

.edit-card-img--primary {
  position: relative;
  opacity: 1;
  visibility: visible;
  transform: scale(1.05);
}

.edit-card-img--secondary {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.02);
}

/* Desktop Hover: Fade to Secondary Image */
@media (hover: hover) and (pointer: fine) {
  .edit-card:hover .edit-card-img--primary {
    opacity: 0;
    visibility: hidden;
    transform: scale(1.02);
  }

  .edit-card:hover .edit-card-img--secondary {
    opacity: 1;
    visibility: visible;
    transform: scale(1.08);
  }

  .edit-card:hover .edit-card-img--primary:only-child {
    opacity: 1;
    visibility: visible;
    transform: scale(1.09);
  }
}

/* Mobile Touch Active State */
.edit-card-img-wrap.show-secondary .edit-card-img--primary {
  opacity: 0 !important;
  visibility: hidden !important;
  transform: scale(1.02) !important;
}

.edit-card-img-wrap.show-secondary .edit-card-img--secondary {
  opacity: 1 !important;
  visibility: visible !important;
  transform: scale(1.08) !important;
}

/* Card Body */
.edit-card-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex-grow: 1;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(33, 33, 33, 0.06);
  width: 100%;
}

/* Product-Color Accent Line */
.edit-accent-line {
  height: 2.5px;
  width: 36px;
  border-radius: 2px;
  margin-bottom: 1.15rem;
  transition: width 0.35s ease;
}

.edit-card:hover .edit-accent-line {
  width: 52px;
}

.line--glutathione {
  background-color: #402142;
}

.line--collagen {
  background-color: #18A9A6;
}

.line--multivitamin {
  background-color: #168A55;
}

/* Product Title */
.edit-card-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: #212121;
  line-height: 1.35;
  margin-bottom: 0.75rem;
  min-height: 3.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.edit-card-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s ease;
}

.edit-card-title a:hover {
  color: var(--color-emerald);
}

/* Price */
.edit-card-price {
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 700;
  color: #212121;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.5rem;
}

.edit-card-price del {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  font-weight: 400;
  text-decoration: line-through;
}

.edit-card-price ins {
  text-decoration: none;
  color: #212121;
}

/* Dual Button Actions */
.edit-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  width: 100%;
  margin-top: auto;
}

/* Primary Button: ADD TO CART */
.btn-edit-add-cart {
  padding: 0.85rem 1rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  text-align: center;
  transition: all 0.25s ease;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-primary--glutathione {
  background-color: #402142;
  color: #FFFFFF;
}

.btn-primary--glutathione:hover {
  background-color: #2d142f;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(64, 33, 66, 0.25);
}

.btn-primary--collagen {
  background-color: #18A9A6;
  color: #FFFFFF;
}

.btn-primary--collagen:hover {
  background-color: #12827f;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(24, 169, 166, 0.25);
}

.btn-primary--multivitamin {
  background-color: #168A55;
  color: #FFFFFF;
}

.btn-primary--multivitamin:hover {
  background-color: #10663f;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(22, 138, 85, 0.25);
}

/* Secondary Button: BUY NOW */
.btn-edit-buy-now {
  padding: 0.85rem 1rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1.5px solid #212121;
  background-color: transparent;
  color: #212121;
  text-decoration: none;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  width: 100%;
}

.btn-edit-buy-now:hover {
  background-color: #212121;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(33, 33, 33, 0.2);
}

/* Minimal Text Link: View Details */
.link-edit-view-details {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--color-text-secondary);
  text-decoration: none;
  margin-top: 1.15rem;
  transition: color 0.25s ease;
}

.view-details-arrow {
  transition: transform 0.25s ease;
}

.link-edit-view-details:hover {
  color: #212121;
}

.link-edit-view-details:hover .view-details-arrow {
  transform: translateX(4px);
}

/* ==========================================================================
   11. Brand Philosophy / Why Kaelen (Warm Ivory #FBF6EF)
   ========================================================================== */
.why-kaelen-section {
  background-color: #FBF6EF;
  color: #212121;
  padding: 6rem 0 6.5rem;
  position: relative;
}

.why-kaelen-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 2rem;
}

.why-kaelen-grid {
  display: grid;
  grid-template-columns: 49% 45%;
  gap: 6%;
  align-items: center;
}

/* Left: Three-Product Lifestyle Image (Seamless Natural Blend) */
.why-kaelen-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.why-kaelen-img-frame {
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(21, 19, 15, 0.06);
  background-color: transparent;
  border: none;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.why-kaelen-img-frame:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(21, 19, 15, 0.09);
}

.why-kaelen-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  border-radius: 14px;
}

/* Right: Editorial Narrative & 3 Principles */
.why-kaelen-content {
  display: flex;
  flex-direction: column;
}

.why-kaelen-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--color-emerald);
  text-transform: uppercase;
  margin-bottom: 0.85rem;
  display: block;
}

.why-kaelen-title {
  font-family: var(--font-serif);
  font-size: clamp(2.35rem, 3.4vw, 3rem);
  font-weight: 700;
  letter-spacing: 2px;
  color: #212121;
  line-height: 1.18;
  margin-bottom: 1.15rem;
}

.why-kaelen-intro {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--color-text-secondary);
  margin-bottom: 2.5rem;
  max-width: 480px;
}

/* 3 Horizontal Philosophy Rows */
.why-kaelen-principles {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(33, 33, 33, 0.09);
  margin-bottom: 2.5rem;
}

.philosophy-row {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid rgba(33, 33, 33, 0.09);
  transition: background-color 0.25s ease;
}

.philosophy-num-col {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  padding-top: 3px;
}

.philosophy-num {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--color-text-muted);
}

.philosophy-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
}

.dot--plum {
  background-color: #402142;
}

.dot--teal {
  background-color: #1FA7A5;
}

.dot--green {
  background-color: #16834F;
}

.philosophy-body {
  flex-grow: 1;
}

.philosophy-heading {
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #212121;
  line-height: 1.3;
  margin-bottom: 0.35rem;
}

.philosophy-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--color-text-secondary);
  margin: 0;
}

/* Refined CTA Text Link */
.why-kaelen-action {
  display: flex;
  align-items: center;
}

.link-editorial-approach {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #212121;
  text-decoration: none;
  padding-bottom: 4px;
  border-bottom: 1.5px solid #212121;
  transition: all 0.25s ease;
}

.link-editorial-approach:hover {
  color: var(--color-emerald);
  border-bottom-color: var(--color-emerald);
}

.link-arrow {
  font-size: 1.1rem;
  line-height: 1;
  transition: transform 0.25s ease;
}

.link-editorial-approach:hover .link-arrow {
  transform: translateX(4px);
}

/* ==========================================================================
   12. Routine-Building Section (Warm Ivory #FBF6EF - Zero Bottles)
   ========================================================================== */
.routine-building-section {
  padding: 6rem 0 6.5rem;
  background-color: #FBF6EF;
  border-top: 1px solid rgba(33, 33, 33, 0.06);
}

.routine-building-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 2rem;
}

.routine-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.75rem;
}

.routine-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--color-emerald);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  display: block;
}

.routine-title {
  font-family: var(--font-serif);
  font-size: clamp(2.15rem, 3.4vw, 2.85rem);
  font-weight: 700;
  letter-spacing: 2px;
  color: #212121;
  line-height: 1.2;
  margin: 0;
}

/* 3 Large Editorial Columns */
.routine-columns-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.25rem;
  align-items: stretch;
  margin-bottom: 3.5rem;
}

.routine-col {
  background-color: #FFFFFF;
  border: 1px solid rgba(33, 33, 33, 0.08);
  border-radius: 14px;
  padding: 2.5rem 2rem 2.25rem;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 18px rgba(21, 19, 15, 0.025);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  position: relative;
}

.routine-col:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(21, 19, 15, 0.07);
  border-color: rgba(33, 33, 33, 0.18);
}

.routine-col-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.routine-num {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--color-text-muted);
}

.routine-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s ease;
}

.icon-box--plum {
  background-color: rgba(64, 33, 66, 0.07);
  color: #402142;
}

.icon-box--teal {
  background-color: rgba(31, 167, 165, 0.08);
  color: #1FA7A5;
}

.icon-box--green {
  background-color: rgba(22, 131, 79, 0.08);
  color: #16834F;
}

.routine-col:hover .routine-icon-box {
  transform: scale(1.06);
}

.routine-col-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.routine-accent-line {
  height: 2px;
  width: 32px;
  border-radius: 2px;
  margin-bottom: 1.15rem;
  transition: width 0.35s ease;
}

.routine-col:hover .routine-accent-line {
  width: 46px;
}

.routine-col-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #212121;
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

.routine-col-desc {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--color-text-secondary);
  margin: 0;
}

/* Routine CTA Wrap */
.routine-action-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

.routine-cta-btn {
  padding: 0.95rem 2.5rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 50px;
}

/* ==========================================================================
   13. Explore Your Routine - Compact Horizontal Accordion Section
   ========================================================================== */
.routine-accordion-section {
  padding: 3.5rem 0 4rem;
  background-color: #FBF6EF;
  position: relative;
}

.routine-accordion-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* 3 Horizontal Accordion Rows */
.routine-acc-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(33, 33, 33, 0.1);
}

.routine-acc-row {
  border-bottom: 1px solid rgba(33, 33, 33, 0.1);
  transition: background-color 0.3s ease;
}

/* Compact Collapsed Trigger Bar (~70-80px tall) */
.routine-acc-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: padding 0.3s ease;
}

.routine-acc-row.active .routine-acc-trigger {
  padding-bottom: 0.65rem;
}

.routine-acc-trigger-left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.routine-acc-num {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--color-text-muted);
  transition: color 0.3s ease;
}

.routine-acc-row.active .routine-acc-num {
  color: #212121;
}

.routine-acc-row-title {
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: 1.25px;
  color: #212121;
  line-height: 1.3;
  transition: color 0.3s ease;
}

.routine-acc-icon {
  font-family: var(--font-sans);
  font-size: 1.35rem;
  font-weight: 300;
  line-height: 1;
  color: #212121;
  transition: transform 0.3s ease;
  margin-left: 1rem;
}

/* Compact Expanded Panel (~280-320px tall) */
.routine-acc-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.routine-acc-row.active .routine-acc-panel {
  grid-template-rows: 1fr;
}

.routine-acc-panel-inner {
  overflow: hidden;
}

.routine-story-grid {
  display: grid;
  grid-template-columns: 60% 40%;
  gap: 3.5%;
  align-items: center;
  padding: 0.5rem 0 1.75rem;
}

.routine-story-content {
  display: flex;
  flex-direction: column;
  padding-right: 1.25rem;
}

.routine-story-category {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.45rem;
  display: block;
}

.category--plum {
  color: #402142;
}

.category--teal {
  color: #1FA7A5;
}

.category--green {
  color: #16834F;
}

.routine-story-heading {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2vw, 1.75rem);
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #212121;
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

.routine-story-desc {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--color-text-secondary);
  margin-bottom: 1.25rem;
  max-width: 480px;
}

.link-routine-explore {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #212121;
  text-decoration: none;
  padding-bottom: 3px;
  border-bottom: 1.5px solid #212121;
  transition: all 0.25s ease;
  width: fit-content;
}

.link-routine-explore:hover {
  color: var(--color-emerald);
  border-bottom-color: var(--color-emerald);
}

.link-routine-explore .link-arrow {
  font-size: 1rem;
  line-height: 1;
  transition: transform 0.25s ease;
}

.link-routine-explore:hover .link-arrow {
  transform: translateX(4px);
}

/* Right: Compact Editorial Lifestyle Image (~280-320px wide, ~240-270px high) */
.routine-story-visual {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
  height: 100%;
}

.routine-story-img-frame {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 1 / 0.88;
  max-height: 270px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(21, 19, 15, 0.05);
}

.routine-story-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 12px;
}

/* ==========================================================================
   14. Formulation Philosophy - What's Inside Matters (Warm Ivory #FBF6EF)
   ========================================================================== */
.formulation-philosophy-section {
  padding: 5.5rem 0 6rem;
  background-color: #FBF6EF;
  border-top: 1px solid rgba(33, 33, 33, 0.06);
}

.formulation-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.formulation-card {
  background-color: #FFFFFF;
  border: 1px solid rgba(33, 33, 33, 0.08);
  border-radius: 16px;
  padding: 2.25rem 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
}

.formulation-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(21, 19, 15, 0.05);
}

.formulation-card.card--plum:hover { border-color: rgba(64, 33, 66, 0.35); }
.formulation-card.card--teal:hover { border-color: rgba(31, 167, 165, 0.35); }
.formulation-card.card--green:hover { border-color: rgba(22, 131, 79, 0.35); }

.formulation-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.formulation-card-num {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--color-text-muted);
}

.formulation-accent-pill {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 20px;
}

.pill--plum {
  background: rgba(64, 33, 66, 0.07);
  color: #402142;
}

.pill--teal {
  background: rgba(31, 167, 165, 0.08);
  color: #1FA7A5;
}

.pill--green {
  background: rgba(22, 131, 79, 0.08);
  color: #16834F;
}

.formulation-card-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #212121;
  margin-bottom: 0.65rem;
}

.formulation-highlight {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #212121;
  line-height: 1.5;
  margin-bottom: 0.85rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(33, 33, 33, 0.08);
}

.formulation-desc {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--color-text-secondary);
  margin: 0;
}

/* ==========================================================================
   15. Customer Reviews - Horizontal Testimonial Carousel (Warm Beige #F3ECE2)
   ========================================================================== */
.reviews-section {
  padding: 4rem 0 4.5rem;
  background-color: #F3ECE2;
  border-top: 1px solid rgba(33, 33, 33, 0.06);
  position: relative;
}

.reviews-header-wrap {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.25rem;
}

.reviews-header-left {
  max-width: 620px;
}

.reviews-nav-controls {
  display: flex;
  gap: 0.65rem;
}

.review-nav-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(33, 33, 33, 0.16);
  background: #FFFFFF;
  color: #212121;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
}

.review-nav-btn:hover {
  background: #212121;
  color: #FFFFFF;
  border-color: #212121;
}

.reviews-carousel-wrapper {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.reviews-carousel-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.55s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
  user-select: none;
}

.review-card {
  flex: 0 0 calc((100% - 3rem) / 3);
  min-width: 0;
  box-sizing: border-box;
  background: #FFFFFF;
  border: 1px solid rgba(33, 33, 33, 0.07);
  border-radius: 16px;
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 18px rgba(21, 19, 15, 0.025);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.review-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(21, 19, 15, 0.05);
}

.review-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}

.review-rating {
  color: #C2964C;
  font-size: 0.95rem;
  letter-spacing: 2px;
  margin: 0;
}

.review-rating .star-filled {
  color: #C2964C;
}

.review-rating .star-empty {
  color: #D4C9B8;
}

.review-date-badge {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.review-quote {
  font-size: 0.925rem;
  line-height: 1.6;
  color: var(--color-text-secondary);
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.review-author-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(33, 33, 33, 0.07);
}

.review-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #EDE4D8;
  color: #212121;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.review-meta {
  display: flex;
  flex-direction: column;
}

.review-author-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: #212121;
  margin: 0 0 2px;
}

.review-prod-tag {
  font-size: 0.725rem;
  color: var(--color-emerald);
  font-weight: 500;
}

.reviews-pagination-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 1.75rem;
}

.reviews-pagination-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(33, 33, 33, 0.2);
  transition: all 0.3s ease;
  cursor: pointer;
}

.reviews-pagination-dots .dot.active {
  background: #212121;
  width: 22px;
  border-radius: 10px;
}

/* ==========================================================================
   16. The Kaelen Journal (#FFFFFF)
   ========================================================================== */
.journal-section {
  padding: 5.5rem 0 6rem;
  background-color: #FFFFFF;
}

.journal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.journal-card {
  background-color: #FBF6EF;
  border: 1px solid rgba(33, 33, 33, 0.07);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.journal-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(21, 19, 15, 0.05);
}

.journal-img-frame {
  width: 100%;
  aspect-ratio: 16 / 10;
  max-height: 220px;
  overflow: hidden;
}

.journal-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.journal-card:hover .journal-img {
  transform: scale(1.03);
}

.journal-body {
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.journal-tag {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--color-emerald);
  margin-bottom: 0.65rem;
  display: inline-block;
}

.journal-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  line-height: 1.35;
  color: #212121;
  margin-bottom: 0.85rem;
}

.journal-excerpt {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.journal-read-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #212121;
  text-decoration: none;
  padding-bottom: 3px;
  border-bottom: 1.5px solid #212121;
  transition: all 0.25s ease;
  width: fit-content;
  margin-top: auto;
}

.journal-read-link:hover {
  color: var(--color-emerald);
  border-bottom-color: var(--color-emerald);
}

.journal-read-link .link-arrow {
  font-size: 1rem;
  line-height: 1;
  transition: transform 0.25s ease;
}

.journal-read-link:hover .link-arrow {
  transform: translateX(4px);
}

/* ==========================================================================
   17. FAQ Accordion - Common Questions (#FBF6EF)
   ========================================================================== */
.faq-section {
  padding: 5.5rem 0 6rem;
  background-color: #FBF6EF;
  border-top: 1px solid rgba(33, 33, 33, 0.06);
}

.faq-accordion-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(33, 33, 33, 0.1);
}

.faq-item {
  border-bottom: 1px solid rgba(33, 33, 33, 0.1);
  transition: background-color 0.3s ease;
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: padding 0.3s ease;
}

.faq-item.active .faq-trigger {
  padding-bottom: 0.85rem;
}

.faq-question {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: #212121;
  line-height: 1.35;
  padding-right: 1.5rem;
  transition: color 0.3s ease;
}

.faq-icon {
  font-family: var(--font-sans);
  font-size: 1.4rem;
  font-weight: 300;
  line-height: 1;
  color: #212121;
  transition: transform 0.3s ease;
  margin-left: 1rem;
}

.faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.faq-item.active .faq-panel {
  grid-template-rows: 1fr;
}

.faq-panel-inner {
  overflow: hidden;
}

.faq-answer {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--color-text-secondary);
  padding-bottom: 1.5rem;
  max-width: 800px;
  margin: 0;
}

/* ==========================================================================
   18. Final CTA Band (Deep Emerald #123D30)
   ========================================================================== */
.final-cta-section {
  background-color: var(--color-emerald);
  color: var(--color-text-on-dark);
  padding: 5rem 0 5.5rem;
  text-align: center;
}

.final-cta-container {
  max-width: 760px;
  margin: 0 auto;
}

.final-cta-title {
  font-family: var(--font-serif);
  font-size: clamp(2.15rem, 3.5vw, 2.85rem);
  font-weight: 700;
  letter-spacing: 2px;
  color: #FBF6EF;
  margin-bottom: 0.85rem;
  line-height: 1.2;
}

.final-cta-subhead {
  font-size: 1.0625rem;
  color: rgba(251, 246, 239, 0.85);
  max-width: 580px;
  margin: 0 auto 2.25rem;
  line-height: 1.6;
}

.final-cta-action .btn-cta-light {
  background-color: #FBF6EF;
  color: #123D30;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
}

.final-cta-action .btn-cta-light:hover {
  background-color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* ==========================================================================
   19. Footer (Matte Black)
   ========================================================================== */
.site-footer {
  background-color: var(--color-primary-dark);
  color: var(--color-text-on-dark);
  padding: 5.5rem 0 2.5rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 4rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(251, 246, 239, 0.1);
}

.footer-brand-title {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  letter-spacing: 2px;
  color: #fff;
  margin-bottom: 1rem;
}

.footer-tagline {
  font-size: 0.9rem;
  color: rgba(251, 246, 239, 0.7);
  line-height: 1.65;
  max-width: 300px;
  margin-bottom: 1.75rem;
}

.footer-social-links {
  display: flex;
  gap: 1rem;
}

.footer-social-icon {
  color: rgba(251, 246, 239, 0.7);
  transition: var(--transition-smooth);
}

.footer-social-icon:hover {
  color: #fff;
}

.footer-col-title {
  font-size: 0.775rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1.5rem;
}

.footer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-nav-list a {
  font-size: 0.875rem;
  color: rgba(251, 246, 239, 0.7);
}

.footer-nav-list a:hover {
  color: #fff;
}

.footer-newsletter-text {
  font-size: 0.875rem;
  color: rgba(251, 246, 239, 0.7);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.newsletter-input-group {
  display: flex;
  gap: 0.5rem;
}

.newsletter-input {
  background: rgba(251, 246, 239, 0.08);
  border: 1px solid rgba(251, 246, 239, 0.2);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-pill);
  color: #fff;
  font-size: 0.85rem;
  flex-grow: 1;
  outline: none;
}

.newsletter-input::placeholder {
  color: rgba(251, 246, 239, 0.4);
}

.newsletter-btn {
  background-color: var(--color-emerald);
  color: #fff;
  border: none;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0 1.25rem;
  border-radius: var(--radius-pill);
}

.newsletter-btn:hover {
  background-color: var(--color-emerald-light);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(251, 246, 239, 0.5);
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  color: rgba(251, 246, 239, 0.5);
}

.footer-bottom-links a:hover {
  color: #fff;
}

/* ==========================================================================
   20. Toast Notice & WooCommerce UI
   ========================================================================== */
.toast-notice {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background-color: var(--color-primary-dark);
  color: #fff;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  z-index: 2000;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.toast-notice.show {
  transform: translateY(0);
  opacity: 1;
}

/* ==========================================================================
   21. Responsive Media Queries
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content {
    max-width: 100%;
    margin: 0 auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-visual-space {
    display: none;
  }
  .kaelen-edit-grid, .rituals-grid, .products-grid, .essentials-grid, .ingredients-grid, .decision-grid, .trust-proof-grid, .journal-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .why-kaelen-grid, .brand-story-grid, .spotlight-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
    text-align: center;
  }
  .spotlight-features li {
    text-align: left;
  }
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
  .review-card {
    flex: 0 0 calc((100% - 1.5rem) / 2);
  }
}

@media (max-width: 768px) {
  .header-inner {
    padding: 0 20px;
    height: 76px;
  }
  .site-header.scrolled .header-inner {
    height: 64px;
  }
  .header-left {
    gap: 18px;
  }
  .header-logo {
    font-size: 38px;
  }
  .site-header.scrolled .header-logo {
    font-size: 32px;
  }
  .header-actions {
    gap: 18px;
  }
  .hero-section {
    background-image: url('/wp-content/uploads/2026/08/kaelen-hero-mobile-scaled.webp');
    background-position: center bottom;
    background-size: 100% auto;
    background-repeat: no-repeat;
    aspect-ratio: 1152 / 2048;
    min-height: 580px;
    padding: 2.25rem 1rem 0;
    align-items: flex-start;
  }
  .hero-content {
    max-width: 320px;
    margin: 0 auto;
    text-align: center;
  }
  .hero-content .eyebrow {
    font-size: 0.6875rem;
    margin-bottom: 0.4rem;
    letter-spacing: 0.1em;
  }
  .hero-title {
    font-size: 1.45rem;
    line-height: 1.25;
    margin-bottom: 1.15rem;
    letter-spacing: 1px;
  }
  .hero-line {
    white-space: normal;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-actions .btn {
    width: auto;
    padding: 0.6rem 2rem;
    font-size: 0.8125rem;
    min-width: 140px;
  }
  .section-title {
    font-size: 2rem;
  }
  
  /* Mobile Horizontal Guided Goal Carousel */
  .rituals-section {
    padding: 3.5rem 0 4rem;
  }
  .discovery-header {
    margin-bottom: 2rem;
  }
  .goals-carousel-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 1.25rem;
    padding: 0.5rem 8vw 1.25rem;
    margin-left: -1.5rem;
    margin-right: -1.5rem;
    scrollbar-width: none;
  }
  .goals-carousel-track::-webkit-scrollbar {
    display: none;
  }
  .goals-carousel-track .goal-card {
    flex: 0 0 84vw;
    max-width: 320px;
    scroll-snap-align: center;
    min-height: 330px;
  }
  .goals-mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 0.25rem;
  }
  .goals-pagination {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0.35rem;
  }
  .goal-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(33, 33, 33, 0.2);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.25s ease;
  }
  .goal-dot.active {
    width: 20px;
    border-radius: 6px;
  }
  .goal-dot.dot--skin.active {
    background-color: #402142;
  }
  .goal-dot.dot--joint.active {
    background-color: #18A9A6;
  }
  .goal-dot.dot--foundation.active {
    background-color: #168A55;
  }
  .goals-swipe-hint {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--color-text-muted);
    text-transform: uppercase;
  }

  /* Kaelen Edit Section Mobile */
  .kaelen-edit-section {
    padding: 4.25rem 0 4.5rem;
  }
  .edit-header {
    margin-bottom: 2.25rem;
  }
  .kaelen-edit-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
    gap: 2rem;
  }
  .edit-card {
    padding: 2rem 1.65rem 1.75rem;
  }
  .edit-card-img-wrap {
    aspect-ratio: 1 / 1;
    width: 100%;
    height: auto;
    padding: 0.5rem;
  }
  .edit-card-title {
    min-height: auto;
  }

  /* Why Kaelen Section Mobile (Order: Header -> Image -> Principles -> Link) */
  .why-kaelen-section {
    padding: 4.25rem 0 4.5rem;
  }
  .why-kaelen-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  .why-kaelen-content {
    display: contents;
  }
  .why-kaelen-header {
    order: 1;
    text-align: center;
    margin-bottom: 1.75rem;
  }
  .why-kaelen-title {
    font-size: clamp(2.15rem, 6.5vw, 2.65rem);
    line-height: 1.2;
    letter-spacing: 1.5px;
    margin-bottom: 0.85rem;
  }
  .why-kaelen-intro {
    max-width: 480px;
    margin: 0 auto;
  }
  .why-kaelen-visual {
    order: 2;
    margin-bottom: 2.25rem;
    width: 100%;
  }
  .why-kaelen-img-frame {
    max-width: 94%;
    margin: 0 auto;
    border-radius: 12px;
  }
  .why-kaelen-img {
    max-height: 430px;
    width: 100%;
    object-fit: contain;
  }
  .why-kaelen-principles {
    order: 3;
    margin-bottom: 2rem;
  }
  .philosophy-row {
    text-align: left;
    gap: 1.15rem;
    padding: 1.15rem 0;
  }
  .why-kaelen-action {
    order: 4;
    justify-content: center;
  }

  .routine-columns-grid, .rituals-grid, .products-grid, .essentials-grid {
    grid-template-columns: 1fr;
  }
  .routine-building-section {
    padding: 4.5rem 0 5rem;
  }
  .routine-header {
    margin-bottom: 2.5rem;
  }
  .routine-title {
    font-size: 2rem;
  }
  .routine-columns-grid {
    max-width: 440px;
    margin: 0 auto 2.5rem;
    gap: 1.75rem;
  }

  /* Routine Accordion Mobile (Compact layout with image above text) */
  .routine-accordion-section {
    padding: 3rem 0 3.5rem;
  }
  .routine-acc-trigger {
    padding: 1rem 0;
  }
  .routine-acc-trigger-left {
    gap: 0.85rem;
  }
  .routine-acc-row-title {
    font-size: 0.95rem;
  }
  .routine-story-grid {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
    padding: 0.25rem 0 1.25rem;
  }
  .routine-story-visual {
    order: 1;
    width: 100%;
    justify-content: center;
  }
  .routine-story-img-frame {
    max-width: 100%;
    width: 100%;
    height: 230px;
    max-height: 240px;
    aspect-ratio: 16 / 10;
    border-radius: 10px;
  }
  .routine-story-content {
    order: 2;
    padding-right: 0;
  }
  .routine-story-heading {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
  }
  .routine-story-desc {
    font-size: 0.875rem;
    line-height: 1.55;
    margin-bottom: 1rem;
  }

  /* Section 7: Formulation Mobile */
  .formulation-philosophy-section {
    padding: 4rem 0 4.5rem;
  }
  .formulation-cards-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  /* Section 8: Reviews Mobile Carousel */
  .reviews-section {
    padding: 3.5rem 0 4rem;
  }
  .reviews-header-wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.75rem;
  }
  .reviews-nav-controls {
    display: none;
  }
  .review-card {
    flex: 0 0 100%;
    min-width: 0;
  }
  .reviews-pagination-dots {
    display: flex;
  }

  /* Section 9: Journal Mobile Swipe Carousel */
  .journal-section {
    padding: 4rem 0 4.5rem;
  }
  .journal-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 1.25rem;
    padding-bottom: 0.75rem;
    scrollbar-width: none;
  }
  .journal-grid::-webkit-scrollbar {
    display: none;
  }
  .journal-card {
    flex: 0 0 85vw;
    max-width: 320px;
    scroll-snap-align: center;
  }

  /* Section 10: FAQ Mobile */
  .faq-section {
    padding: 4rem 0 4.5rem;
  }
  .faq-question {
    font-size: 1.05rem;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  .header-inner {
    padding: 0 14px;
    height: 68px;
  }
  .header-left {
    gap: 14px;
  }
  .header-logo {
    font-size: 32px;
  }
  .header-actions {
    gap: 14px;
  }
  .hero-section {
    min-height: 520px;
    padding: 1.75rem 0.75rem 0;
  }
  .hero-title {
    font-size: 1.3rem;
    line-height: 1.22;
  }
  .trust-pill {
    width: 100%;
  }
  .product-card-actions {
    grid-template-columns: 1fr;
  }
  .btn:not(.hero-actions .btn) {
    width: 100%;
  }
}

/* ==========================================================================
   20. Kaelen Luxury Single Product Detail Page (PDP)
   ========================================================================== */
.kaelen-pdp-main {
  background-color: #FBF6EF;
  min-height: 100vh;
}

.pdp-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.pdp-details-container {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Dynamic Accent Colors */
.theme--plum .accent-text { color: #402142; }
.theme--plum .pdp-thumb.active { border-color: #402142; }
.theme--plum .pdp-btn-add-cart:hover { background-color: #402142; border-color: #402142; color: #FFFFFF; }

.theme--teal .accent-text { color: #1FA7A5; }
.theme--teal .pdp-thumb.active { border-color: #1FA7A5; }
.theme--teal .pdp-btn-add-cart:hover { background-color: #1FA7A5; border-color: #1FA7A5; color: #FFFFFF; }

.theme--green .accent-text { color: #16834F; }
.theme--green .pdp-thumb.active { border-color: #16834F; }
.theme--green .pdp-btn-add-cart:hover { background-color: #16834F; border-color: #16834F; color: #FFFFFF; }

/* 1. Breadcrumb Bar */
.pdp-breadcrumb-bar {
  padding: 1.25rem 0 0.25rem;
  background-color: #FBF6EF;
}

.pdp-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  flex-wrap: wrap;
}

.bc-link {
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.bc-link:hover {
  color: #212121;
}

.bc-sep {
  opacity: 0.45;
}

.bc-current {
  color: #212121;
  font-weight: 600;
}

/* 2. Product Hero Area (Desktop: 52% Gallery, 43% Info) */
.pdp-hero-section {
  padding: 1.25rem 0 4rem;
  background-color: #FBF6EF;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.pdp-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 52%) minmax(0, 43%);
  gap: 5%;
  align-items: start;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

/* Left Gallery */
.pdp-gallery-wrap {
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.pdp-main-image-frame {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  background-color: #FFFFFF;
  border: 1px solid rgba(33, 33, 33, 0.07);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(21, 19, 15, 0.035);
  padding: 1.15rem;
  position: relative;
  cursor: zoom-in;
  user-select: none;
  box-sizing: border-box;
}

.pdp-main-img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  transform: scale(1.06);
  transition: opacity 0.25s ease, transform 0.3s ease;
  border-radius: inherit;
}

.pdp-main-image-frame:hover .pdp-main-img {
  transform: scale(1.09);
}

.pdp-zoom-badge {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(33, 33, 33, 0.1);
  border-radius: 50px;
  padding: 5px 12px;
  font-size: 0.6875rem;
  font-weight: 600;
  color: #212121;
  display: flex;
  align-items: center;
  gap: 5px;
  pointer-events: none;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.pdp-main-image-frame:hover .pdp-zoom-badge {
  opacity: 1;
}

/* Thumbnail Wrapper with Left/Right Navigation */
.pdp-thumbnails-wrapper {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  position: relative;
  box-sizing: border-box;
}

.pdp-gallery-nav-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(33, 33, 33, 0.14);
  background: #FFFFFF;
  color: #212121;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.pdp-gallery-nav-btn:hover {
  background: #212121;
  color: #FFFFFF;
  border-color: #212121;
}

.pdp-thumbnails-rail {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-behavior: smooth;
  padding: 4px 2px;
  flex-grow: 1;
  min-width: 0;
  -webkit-overflow-scrolling: touch;
}

.pdp-thumbnails-rail::-webkit-scrollbar {
  display: none;
}

.pdp-thumb {
  flex: 0 0 72px;
  width: 72px;
  height: 72px;
  border-radius: 12px;
  border: 1.5px solid rgba(33, 33, 33, 0.12);
  background: #FFFFFF;
  cursor: pointer;
  padding: 4px;
  overflow: hidden;
  transition: all 0.2s ease;
  box-sizing: border-box;
  flex-shrink: 0;
}

.pdp-thumb.active {
  border-color: #212121;
  border-width: 2px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
  transform: translateY(-1px);
}

.pdp-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
}

/* ==========================================================================
   7. Premium Gallery Lightbox Modal
   ========================================================================== */
.pdp-lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.pdp-lightbox-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.pdp-lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(18, 16, 13, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  cursor: zoom-out;
}

.pdp-lightbox-content {
  position: relative;
  z-index: 10;
  max-width: 90vw;
  max-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
}

.pdp-lightbox-img-wrap {
  max-width: 82vw;
  max-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pdp-lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.pdp-lightbox-close-btn {
  position: absolute;
  top: -48px;
  right: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pdp-lightbox-close-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.05);
}

.pdp-lightbox-nav-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 15;
}

.pdp-lightbox-nav-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-50%) scale(1.05);
}

.pdp-lightbox-prev {
  left: -65px;
}

.pdp-lightbox-next {
  right: -65px;
}

.pdp-lightbox-counter {
  position: absolute;
  bottom: -36px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.1em;
}

/* Right Information Column */
.pdp-info-wrap {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.pdp-category-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: block;
}

.pdp-title {
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 3.2vw, 2.65rem);
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #212121;
  line-height: 1.22;
  margin-bottom: 0.75rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
  width: 100%;
  max-width: 100%;
}

.pdp-reviews-summary {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin-bottom: 1.15rem;
}

.pdp-stars {
  color: #C2964C;
  font-size: 0.95rem;
  letter-spacing: 2px;
}

.pdp-review-count-text {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text-secondary);
}

.pdp-price-block {
  padding-bottom: 1.15rem;
  margin-bottom: 1.15rem;
  border-bottom: 1px solid rgba(33, 33, 33, 0.08);
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.pdp-price-display {
  font-family: var(--font-sans);
  font-size: 1.55rem;
  font-weight: 700;
  color: #212121;
  margin-bottom: 0.35rem;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 12px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  word-break: break-word;
}

.pdp-price-display del {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  font-weight: 400;
  text-decoration: line-through;
  white-space: nowrap;
}

.pdp-price-display ins {
  text-decoration: none;
  color: #212121;
  white-space: nowrap;
}

.pdp-shipping-note {
  font-size: 0.8125rem;
  color: var(--color-text-secondary);
  display: block;
  line-height: 1.45;
}

.pdp-short-desc {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--color-text-secondary);
  margin-bottom: 1.35rem;
  width: 100%;
  max-width: 100%;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.pdp-short-desc p {
  margin: 0;
}

/* Key Benefits Checklist */
.pdp-benefits-wrap {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(33, 33, 33, 0.08);
  border-radius: 12px;
  padding: 1.15rem 1.25rem;
  margin-bottom: 1.5rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.pdp-benefits-heading {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #212121;
  margin-bottom: 0.65rem;
  text-transform: uppercase;
}

.pdp-benefits-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
}

.pdp-benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  line-height: 1.45;
  color: #212121;
  word-break: break-word;
  overflow-wrap: break-word;
}

.benefit-check-icon {
  flex-shrink: 0;
  margin-top: 2px;
}

/* Purchase Block (Quantity, Add to Cart, Buy Now) */
.pdp-purchase-box {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  margin-bottom: 1.5rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.pdp-qty-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.pdp-qty-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #212121;
}

.pdp-qty-stepper {
  display: flex;
  align-items: center;
  border: 1.5px solid #212121;
  border-radius: 50px;
  background: #FFFFFF;
  overflow: hidden;
  height: 42px;
  box-sizing: border-box;
}

.pdp-qty-btn {
  width: 38px;
  height: 100%;
  border: none;
  background: none;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  color: #212121;
}

.pdp-qty-btn:hover {
  background: rgba(33, 33, 33, 0.05);
}

.pdp-qty-input {
  width: 40px;
  height: 100%;
  border: none;
  text-align: center;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #212121;
  -moz-appearance: textfield;
}

.pdp-qty-input::-webkit-outer-spin-button,
.pdp-qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.pdp-actions-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0.85rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.pdp-btn-add-cart {
  width: 100%;
  height: 50px;
  background: #212121;
  color: #FBF6EF;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  border-radius: 50px;
  border: 1.5px solid #212121;
  cursor: pointer;
  transition: all 0.25s ease;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.pdp-btn-add-cart:hover {
  background: #000000;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.pdp-btn-buy-now {
  width: 100%;
  height: 50px;
  background: #FFFFFF;
  color: #212121;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  border-radius: 50px;
  border: 1.5px solid #212121;
  cursor: pointer;
  transition: all 0.25s ease;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.pdp-btn-buy-now:hover {
  background: #212121;
  color: #FFFFFF;
  transform: translateY(-2px);
}

/* Trust Badges Row */
.pdp-trust-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(33, 33, 33, 0.08);
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.pdp-trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  font-size: 0.725rem;
  font-weight: 600;
  color: var(--color-text-secondary);
}

.pdp-trust-item svg {
  color: #212121;
}

/* ==========================================================================
   3. Refined Compact Product Information Accordions (DESCRIPTION, USES, FAQ)
   ========================================================================== */
.pdp-compact-info-section {
  padding: 3.5rem 0 4rem;
  background-color: #FFFFFF;
  border-top: 1px solid rgba(33, 33, 33, 0.06);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.pdp-details-container {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  padding: 0 1.5rem;
  box-sizing: border-box;
}

.pdp-c-accordion-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(33, 33, 33, 0.12);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.pdp-c-acc-item {
  border-bottom: 1px solid rgba(33, 33, 33, 0.12);
  transition: background-color 0.25s ease;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.pdp-c-acc-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: color 0.2s ease;
  box-sizing: border-box;
}

.pdp-c-acc-trigger:hover .pdp-c-acc-title {
  color: var(--color-emerald);
}

.pdp-c-acc-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #212121;
  transition: color 0.2s ease;
}

.pdp-c-acc-icon {
  font-size: 1.25rem;
  font-weight: 300;
  color: #212121;
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

.pdp-c-acc-item.active .pdp-c-acc-icon,
.pdp-c-acc-item.is-open .pdp-c-acc-icon {
  color: var(--color-emerald);
}

.pdp-c-acc-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.35s ease;
  opacity: 0;
}

.pdp-c-acc-item.active .pdp-c-acc-panel,
.pdp-c-acc-item.is-open .pdp-c-acc-panel {
  max-height: 2500px;
  opacity: 1;
}

.pdp-c-acc-inner {
  padding: 0 0 1.75rem;
  color: var(--color-text-secondary);
  font-size: 0.9375rem;
  line-height: 1.65;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.pdp-acc-content-wrap {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  max-width: 100%;
}

/* Editorial Formatted Dynamic Content (Description & Uses) */
.pdp-editorial-content {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--color-text-secondary);
}

.pdp-editorial-content p {
  margin: 0 0 1rem;
}

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

.pdp-editorial-content ul,
.pdp-editorial-content ol {
  margin: 0.5rem 0 1rem;
  padding-left: 1.35rem;
}

.pdp-editorial-content li {
  margin-bottom: 0.45rem;
  line-height: 1.6;
}

.pdp-editorial-content strong {
  color: #212121;
}

/* Nested Dynamic FAQ Accordion */
.pdp-faq-list-wrap {
  width: 100%;
}

.pdp-faq-nested-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  width: 100%;
}

.pdp-faq-nested-item {
  border: 1px solid rgba(33, 33, 33, 0.09);
  background: #FFFFFF;
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.pdp-faq-nested-item:hover {
  border-color: rgba(33, 33, 33, 0.18);
}

.pdp-faq-nested-item.is-open {
  border-color: var(--color-emerald);
  box-shadow: 0 4px 18px rgba(21, 19, 15, 0.035);
}

.pdp-faq-q-trigger {
  width: 100%;
  padding: 1.15rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  user-select: none;
  box-sizing: border-box;
}

.pdp-faq-q-text {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #212121;
  line-height: 1.45;
  transition: color 0.2s ease;
}

.pdp-faq-nested-item.is-open .pdp-faq-q-text {
  color: var(--color-emerald);
}

.pdp-faq-q-icon {
  font-size: 1.25rem;
  font-weight: 400;
  color: #212121;
  transition: transform 0.25s ease, color 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.pdp-faq-nested-item.is-open .pdp-faq-q-icon {
  color: var(--color-emerald);
}

.pdp-faq-a-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.25s ease;
  opacity: 0;
}

.pdp-faq-nested-item.is-open .pdp-faq-a-panel {
  max-height: 1000px;
  opacity: 1;
}

.pdp-faq-a-text {
  padding: 0 1.25rem 1.15rem;
  font-size: 0.8875rem;
  line-height: 1.65;
  color: var(--color-text-secondary);
  border-top: 1px dashed rgba(33, 33, 33, 0.08);
  padding-top: 0.85rem;
}

.pdp-faq-a-text p {
  margin: 0 0 0.5rem;
}

.pdp-faq-a-text p:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   4. Related Products Section (You May Also Like)
   ========================================================================== */
.pdp-related-section {
  padding: 4.5rem 0 5rem;
  background-color: #FBF6EF;
  border-top: 1px solid rgba(33, 33, 33, 0.06);
  width: 100%;
  box-sizing: border-box;
}

.pdp-related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  box-sizing: border-box;
}

.pdp-rel-card {
  background: #FFFFFF;
  border: 1px solid rgba(33, 33, 33, 0.08);
  border-radius: 18px;
  padding: 1.75rem 1.65rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 0 4px 20px rgba(21, 19, 15, 0.03);
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), border-color 0.3s ease;
  box-sizing: border-box;
  position: relative;
}

.pdp-rel-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(21, 19, 15, 0.08);
  border-color: rgba(33, 33, 33, 0.14);
}

.pdp-rel-img-frame {
  width: 100%;
  aspect-ratio: 1 / 1 !important;
  height: auto !important;
  margin: 0 auto 1.35rem;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  border-radius: 14px;
  background-color: #FAF5EE;
  border: 1px solid rgba(33, 33, 33, 0.04);
  padding: 1rem;
  box-sizing: border-box;
  text-decoration: none;
  position: relative;
}

.pdp-rel-img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  margin: 0 auto !important;
  display: block !important;
  transform: scale(1.04);
  transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  border-radius: inherit;
}

.pdp-rel-card:hover .pdp-rel-img {
  transform: scale(1.08);
}

.pdp-rel-info {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  width: 100%;
  box-sizing: border-box;
}

.pdp-rel-eyebrow {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
  display: block;
}

.pdp-rel-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  line-height: 1.35;
  margin: 0 0 0.5rem 0;
  min-height: 3.35rem;
  display: flex;
  align-items: flex-start;
  word-break: break-word;
  overflow-wrap: break-word;
}

.pdp-rel-title a {
  color: #212121;
  text-decoration: none;
  transition: color 0.2s ease;
}

.pdp-rel-title a:hover {
  color: var(--color-emerald);
}

.pdp-rel-price {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 700;
  color: #212121;
  margin-bottom: 1.15rem;
  display: flex;
  align-items: baseline;
  gap: 8px 10px;
  flex-wrap: wrap;
  line-height: 1.2;
}

.pdp-rel-price del {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  font-weight: 400;
  text-decoration: line-through;
}

.pdp-rel-price ins {
  text-decoration: none;
  color: #212121;
  font-weight: 700;
  font-size: 1.15rem;
}

.pdp-rel-price .woocommerce-Price-amount {
  font-weight: 700;
  color: #212121;
}

.pdp-rel-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  margin-top: auto;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(33, 33, 33, 0.08);
  width: 100%;
  box-sizing: border-box;
}

.pdp-rel-add-btn {
  height: 42px;
  padding: 0 1.35rem;
  background: #212121;
  color: #FBF6EF;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  border-radius: 50px;
  border: 1.5px solid #212121;
  cursor: pointer;
  text-transform: uppercase;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  box-sizing: border-box;
}

.pdp-rel-add-btn:hover {
  background: #000000;
  color: #FFFFFF;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.pdp-rel-view-link {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s ease;
  white-space: nowrap;
  padding: 6px 0;
}

.pdp-rel-view-link .arrow {
  transition: transform 0.2s ease;
  display: inline-block;
}

.pdp-rel-view-link:hover {
  color: #212121;
}

.pdp-rel-view-link:hover .arrow {
  transform: translateX(3px);
}

/* ==========================================================================
   5. Customer Reviews Section
   ========================================================================== */
.pdp-reviews-section {
  padding: 3.5rem 0 4rem;
  background-color: #F3ECE2;
  border-top: 1px solid rgba(33, 33, 33, 0.06);
  overflow: hidden;
  position: relative;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.pdp-reviews-header {
  margin-bottom: 2rem;
  text-align: center;
}

.pdp-marquee-wrapper {
  width: 100%;
  max-width: 100vw;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent 0%, black 4%, black 96%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 4%, black 96%, transparent 100%);
  box-sizing: border-box;
}

.pdp-marquee-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  animation: pdpMarqueeScroll 28s linear infinite;
  will-change: transform;
}

@keyframes pdpMarqueeScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-50% - 0.75rem));
  }
}

.pdp-review-card {
  width: 350px;
  min-width: 350px;
  max-width: 350px;
  background: #FFFFFF;
  border: 1px solid rgba(33, 33, 33, 0.07);
  border-radius: 16px;
  padding: 1.6rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 18px rgba(21, 19, 15, 0.025);
  box-sizing: border-box;
  flex-shrink: 0;
}

.pdp-review-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}

.pdp-review-rating {
  color: #C2964C;
  font-size: 0.95rem;
  letter-spacing: 2px;
  margin: 0;
}

.pdp-review-rating .star-filled {
  color: #C2964C;
}

.pdp-review-rating .star-empty {
  color: #D4C9B8;
}

.pdp-review-date {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.pdp-review-quote {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--color-text-secondary);
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.pdp-review-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(33, 33, 33, 0.07);
}

.pdp-review-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #EDE4D8;
  color: #212121;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pdp-review-meta {
  display: flex;
  flex-direction: column;
}

.pdp-review-name {
  font-size: 0.875rem;
  font-weight: 700;
  color: #212121;
  margin: 0;
}

.pdp-no-reviews-state {
  text-align: center;
  padding: 2rem 0;
  color: var(--color-text-secondary);
  font-size: 0.9375rem;
}

/* 6. Mobile Sticky Add to Cart Bar */
.pdp-mobile-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #FFFFFF;
  border-top: 1px solid rgba(33, 33, 33, 0.12);
  padding: 12px 18px;
  z-index: 990;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
  transform: translateY(100%);
  transition: transform 0.3s ease;
  display: none;
  box-sizing: border-box;
}

.pdp-mobile-sticky-bar.visible {
  transform: translateY(0);
  display: block;
}

.pdp-sticky-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.pdp-sticky-left {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-width: 0;
}

.pdp-sticky-title {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #212121;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 180px;
}

.pdp-sticky-price {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-emerald);
}

.pdp-sticky-btn {
  height: 44px;
  padding: 0 1.5rem;
  background: #212121;
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ==========================================================================
   Responsive Breakpoints for PDP
   ========================================================================== */

/* Intermediate Tablet Breakpoint: 991px */
@media (max-width: 991px) {
  .pdp-hero-section {
    padding: 1rem 0 3.5rem;
  }
  .pdp-hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.25rem;
  }
  .pdp-gallery-wrap {
    position: static;
    width: 100%;
    max-width: 580px;
    margin: 0 auto;
  }
  .pdp-main-image-frame {
    aspect-ratio: 1 / 1;
    width: 100%;
    height: auto;
    padding: 1.15rem;
  }
  .pdp-info-wrap {
    width: 100%;
    max-width: 100%;
  }
  .pdp-review-card {
    width: 310px;
    min-width: 310px;
    max-width: 310px;
  }
}

/* Mobile & Small Tablet Breakpoint: 768px */
@media (max-width: 768px) {
  .pdp-hero-section {
    padding: 0.75rem 0 2.75rem;
  }
  .pdp-hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.75rem;
  }
  .pdp-gallery-wrap {
    position: static;
    width: 100%;
    max-width: 100%;
    margin: 0;
  }
  .pdp-main-image-frame {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    padding: 0.85rem;
    border-radius: 16px;
  }
  .pdp-main-img {
    transform: scale(1.06);
  }
  .pdp-thumbnails-wrapper {
    gap: 0.4rem;
  }
  .pdp-gallery-nav-btn {
    width: 34px;
    height: 34px;
  }
  .pdp-thumb {
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
  }
  .pdp-title {
    font-size: clamp(1.65rem, 5.5vw, 2.05rem);
    letter-spacing: 1px;
    line-height: 1.25;
  }
  .pdp-price-display {
    font-size: 1.45rem;
  }
  .pdp-benefits-wrap {
    padding: 1rem 1.1rem;
    margin-bottom: 1.25rem;
  }
  .pdp-actions-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.75rem;
  }
  .pdp-btn-add-cart,
  .pdp-btn-buy-now {
    height: 48px;
    font-size: 0.8125rem;
  }
  .pdp-trust-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
    padding-top: 1rem;
  }
  .pdp-acc-mini-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.75rem;
  }
  .pdp-related-grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: 380px;
    margin: 0 auto;
  }
  .pdp-compact-info-section,
  .pdp-reviews-section,
  .pdp-related-section {
    padding: 2.75rem 0 3.25rem;
  }
  .pdp-review-card {
    width: 275px;
    min-width: 275px;
    max-width: 275px;
    padding: 1.35rem 1.25rem;
  }
  .pdp-details-container {
    padding: 0 1.25rem;
  }
  .pdp-lightbox-nav-btn {
    width: 40px;
    height: 40px;
  }
  .pdp-lightbox-prev {
    left: 12px;
  }
  .pdp-lightbox-next {
    right: 12px;
  }
  .pdp-lightbox-close-btn {
    top: 15px;
    right: 15px;
  }
  .pdp-lightbox-counter {
    bottom: 20px;
  }
}

/* Small Smartphone Breakpoint: 480px */
@media (max-width: 480px) {
  .pdp-main-image-frame {
    aspect-ratio: 1 / 1;
    width: 100%;
    height: auto;
    padding: 0.65rem;
    border-radius: 14px;
  }
  .pdp-main-img {
    transform: scale(1.07);
  }
  .pdp-thumb {
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
    border-radius: 10px;
  }
  .pdp-gallery-nav-btn {
    width: 32px;
    height: 32px;
  }
  .pdp-title {
    font-size: 1.6rem;
  }
  .pdp-price-display {
    font-size: 1.35rem;
  }
  .pdp-trust-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }
  .navigation-drawer {
    width: 300px;
    max-width: 84vw;
    padding: 1.35rem 1.25rem;
  }
  .drawer-header {
    padding-bottom: 0.95rem;
    margin-bottom: 1.15rem;
  }
  .drawer-brand-logo {
    font-size: 1.45rem;
  }
  .drawer-link {
    font-size: 1.05rem;
  }
  .drawer-sub-menu a {
    font-size: 0.8rem;
  }
  .drawer-nav-list {
    gap: 0.75rem;
  }
  .drawer-footer {
    margin-top: 1.15rem;
    padding-top: 1.15rem;
  }
}

/* ==========================================================================
   Kaelen Premium WooCommerce Shop & Catalog System
   ========================================================================== */
.kaelen-shop-main {
  background-color: #FBF6EF;
  width: 100%;
  min-height: 80vh;
  box-sizing: border-box;
}

.shop-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
  box-sizing: border-box;
}

/* 1. Breadcrumb Bar */
.shop-breadcrumb-bar {
  padding: 1.5rem 0 0.25rem;
  background-color: #FBF6EF;
}

.shop-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  flex-wrap: wrap;
}

/* 2. Shop Header / Intro */
.shop-header-section {
  padding: 2rem 0 2.25rem;
  background-color: #FBF6EF;
  text-align: center;
}

.shop-header-content {
  max-width: 620px;
  margin: 0 auto;
}

.shop-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: block;
}

.shop-title {
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #212121;
  line-height: 1.15;
  margin: 0 0 0.65rem;
}

.shop-subhead {
  font-size: 1rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* 3. Catalog Section */
.shop-catalog-section {
  padding: 0 0 5.5rem;
  background-color: #FBF6EF;
}

.shop-meta-bar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-bottom: 1.75rem;
  border-bottom: 1px solid rgba(33, 33, 33, 0.08);
  padding-bottom: 0.85rem;
}

.shop-count-badge {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
}

.shop-products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  width: 100%;
  box-sizing: border-box;
}

/* Individual Shop Card */
.shop-card {
  background: #FFFFFF;
  border: 1px solid rgba(33, 33, 33, 0.08);
  border-radius: 18px;
  padding: 1.65rem 1.5rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 0 4px 20px rgba(21, 19, 15, 0.03);
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), border-color 0.3s ease;
  box-sizing: border-box;
  position: relative;
}

.shop-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(21, 19, 15, 0.08);
  border-color: rgba(33, 33, 33, 0.14);
}

.shop-card-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
}

.shop-card-img-frame {
  width: 100%;
  aspect-ratio: 1 / 1 !important;
  height: auto !important;
  margin: 0 auto 1.35rem;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  border-radius: 14px;
  background-color: #FAF5EE;
  border: 1px solid rgba(33, 33, 33, 0.04);
  padding: 1rem;
  box-sizing: border-box;
  text-decoration: none;
  position: relative;
}

.shop-sale-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 5;
  background: #212121;
  color: #FFFFFF;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 50px;
  line-height: 1;
  pointer-events: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.shop-card-img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  margin: 0 auto !important;
  display: block !important;
  transform: scale(1.04);
  transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  border-radius: inherit;
}

.shop-card:hover .shop-card-img {
  transform: scale(1.08);
}

.shop-card-info {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  width: 100%;
  box-sizing: border-box;
}

.shop-card-eyebrow {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
  display: block;
}

.shop-card-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  line-height: 1.35;
  margin: 0 0 0.5rem 0;
  min-height: 3.35rem;
  display: flex;
  align-items: flex-start;
  word-break: break-word;
  overflow-wrap: break-word;
}

.shop-card-title a {
  color: #212121;
  text-decoration: none;
  transition: color 0.2s ease;
}

.shop-card-title a:hover {
  color: var(--color-emerald);
}

.shop-card-price {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 700;
  color: #212121;
  margin-bottom: 1.15rem;
  display: flex;
  align-items: baseline;
  gap: 8px 10px;
  flex-wrap: wrap;
  line-height: 1.2;
}

.shop-card-price del {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  font-weight: 400;
  text-decoration: line-through;
}

.shop-card-price ins {
  text-decoration: none;
  color: #212121;
  font-weight: 700;
  font-size: 1.15rem;
}

.shop-card-price .woocommerce-Price-amount {
  font-weight: 700;
  color: #212121;
}

.shop-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  margin-top: auto;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(33, 33, 33, 0.08);
  width: 100%;
  box-sizing: border-box;
}

.shop-btn-add-cart {
  height: 42px;
  padding: 0 1.35rem;
  background: #212121;
  color: #FBF6EF;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  border-radius: 50px;
  border: 1.5px solid #212121;
  cursor: pointer;
  text-transform: uppercase;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  box-sizing: border-box;
}

.shop-btn-add-cart:hover {
  background: #000000;
  color: #FFFFFF;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.shop-btn-add-cart.out-of-stock {
  background: #E5E5E5;
  border-color: #E5E5E5;
  color: #888888;
  cursor: not-allowed;
}

.shop-card-view-link {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s ease;
  white-space: nowrap;
  padding: 6px 0;
}

.shop-card-view-link .arrow {
  transition: transform 0.2s ease;
  display: inline-block;
}

.shop-card-view-link:hover {
  color: #212121;
}

.shop-card-view-link:hover .arrow {
  transform: translateX(3px);
}

.shop-no-products {
  text-align: center;
  padding: 4rem 1.5rem;
}

/* Responsive Shop System */
@media (max-width: 1023px) {
  .shop-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

@media (max-width: 640px) {
  .shop-container {
    padding: 0 1.25rem;
  }
  .shop-header-section {
    padding: 1.5rem 0 1.75rem;
  }
  .shop-title {
    font-size: 2rem;
  }
  .shop-products-grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: 400px;
    margin: 0 auto;
    gap: 1.5rem;
  }
  .shop-card {
    padding: 1.35rem 1.25rem;
  }
  .shop-catalog-section {
    padding-bottom: 4rem;
  }
}

/* ==========================================================================
   Kaelen Contact Us Page Styling
   ========================================================================== */
.kaelen-contact-main {
  background-color: #FBF6EF;
  width: 100%;
  min-height: 80vh;
  box-sizing: border-box;
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
  box-sizing: border-box;
}

/* 1. Breadcrumb Bar */
.contact-breadcrumb-bar {
  padding: 1.5rem 0 0.25rem;
  background-color: #FBF6EF;
}

.contact-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  flex-wrap: wrap;
}

/* 2. Header Section */
.contact-header-section {
  padding: 2rem 0 2.5rem;
  text-align: center;
}

.contact-header-content {
  max-width: 640px;
  margin: 0 auto;
}

.contact-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: block;
}

.contact-title {
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 4.5vw, 3.25rem);
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #212121;
  line-height: 1.15;
  margin: 0 0 0.75rem;
}

.contact-subhead {
  font-size: 1.05rem;
  color: var(--color-text-secondary);
  line-height: 1.65;
  margin: 0;
}

/* 3. Grid & Channel Cards */
.contact-body-section {
  padding: 0 0 5.5rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-channels-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-channel-card {
  background: #FFFFFF;
  border: 1px solid rgba(33, 33, 33, 0.08);
  border-radius: 16px;
  padding: 1.5rem 1.4rem;
  display: flex;
  align-items: flex-start;
  gap: 1.15rem;
  box-shadow: 0 4px 18px rgba(21, 19, 15, 0.03);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-channel-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(21, 19, 15, 0.06);
}

.channel-icon-wrap {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #FAF5EE;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #212121;
  flex-shrink: 0;
}

.channel-icon--whatsapp {
  color: #25D366;
  background: rgba(37, 211, 102, 0.1);
}

.channel-details {
  display: flex;
  flex-direction: column;
}

.channel-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 0.25rem;
}

.channel-value {
  font-size: 1.05rem;
  font-weight: 700;
  color: #212121;
  text-decoration: none;
  transition: color 0.2s ease;
  line-height: 1.35;
}

.channel-value:hover {
  color: var(--color-emerald);
}

.channel-meta {
  font-size: 0.8125rem;
  color: var(--color-text-secondary);
  margin-top: 0.25rem;
}

.contact-promise-card {
  background: #FAF5EE;
  border: 1px solid rgba(33, 33, 33, 0.06);
  border-radius: 16px;
  padding: 1.5rem 1.4rem;
}

.promise-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #212121;
  margin: 0 0 0.5rem;
}

.promise-text {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* Form Card */
.contact-form-card {
  background: #FFFFFF;
  border: 1px solid rgba(33, 33, 33, 0.08);
  border-radius: 18px;
  padding: 2.5rem 2.25rem;
  box-shadow: 0 4px 20px rgba(21, 19, 15, 0.03);
}

.form-card-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #212121;
  margin: 0 0 0.5rem;
}

.form-card-subhead {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  margin: 0 0 2rem;
  line-height: 1.5;
}

.kaelen-contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-group label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #212121;
  letter-spacing: 0.02em;
}

.contact-input {
  height: 48px;
  padding: 0 1rem;
  border: 1px solid rgba(33, 33, 33, 0.15);
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: #212121;
  background: #FAF5EE;
  transition: all 0.2s ease;
  box-sizing: border-box;
  width: 100%;
}

.contact-input:focus {
  border-color: #212121;
  outline: none;
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(33, 33, 33, 0.06);
}

.contact-textarea {
  height: auto;
  min-height: 120px;
  padding: 0.85rem 1rem;
  resize: vertical;
}

.contact-submit-btn {
  height: 48px;
  padding: 0 2rem;
  background: #212121;
  color: #FFFFFF;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  align-self: flex-start;
  margin-top: 0.5rem;
}

.contact-submit-btn:hover {
  background: #000000;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

/* Contact Responsive */
@media (max-width: 960px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 640px) {
  .contact-container {
    padding: 0 1.25rem;
  }
  .contact-header-section {
    padding: 1.5rem 0 1.75rem;
  }
  .contact-title {
    font-size: 2rem;
  }
  .contact-form-card {
    padding: 1.75rem 1.35rem;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .contact-submit-btn {
    width: 100%;
  }
  .contact-body-section {
    padding-bottom: 4rem;
  }
}

/* ==========================================================================
   Kaelen Sticky Action Buttons (Refer & Earn, WhatsApp, Floating Cart)
   ========================================================================== */
.kaelen-sticky-actions-container {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9990;
}

.sticky-actions-left {
  position: fixed;
  left: 0;
  bottom: 85px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  pointer-events: auto;
  z-index: 9992;
}

.sticky-actions-right {
  position: fixed;
  right: 24px;
  bottom: 35px;
  pointer-events: auto;
  z-index: 9992;
}

.sticky-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  transition: transform 0.25s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.25s ease, background-color 0.2s ease;
  text-decoration: none;
  box-sizing: border-box;
}

/* Sticky Refer & Earn Button (Left Side Vertical Tab) */
.sticky-ref-btn {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  background: #212121;
  color: #FAF5EE;
  padding: 16px 8px;
  border-radius: 8px 0 0 8px; /* Due to 180deg rotation, local left becomes screen right (rounded toward content, straight against screen edge) */
  box-shadow: 2px 4px 16px rgba(0, 0, 0, 0.18);
  font-family: var(--font-sans);
  font-size: 0.725rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 6px;
  line-height: 1;
}

.sticky-ref-btn:hover {
  background: #000000;
  color: #FFFFFF;
  transform: rotate(180deg) translateY(-3px);
  box-shadow: 4px 6px 20px rgba(0, 0, 0, 0.25);
}

.ref-btn-icon {
  font-size: 0.95rem;
}

/* Sticky WhatsApp Button (Left Floating Round Button) */
.sticky-wa-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #25D366;
  color: #FFFFFF;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.4);
  margin-left: 10px;
}

.sticky-wa-btn:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 6px 22px rgba(37, 211, 102, 0.55);
}

/* Sticky Cart Button (Right Floating Round Button with Live Count) */
.sticky-cart-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #212121;
  color: #FFFFFF;
  box-shadow: 0 6px 22px rgba(21, 19, 15, 0.22);
  position: relative;
}

.sticky-cart-btn:hover {
  background: #000000;
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 8px 26px rgba(21, 19, 15, 0.32);
}

.sticky-cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #18A9A6;
  color: #FFFFFF;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 800;
  min-width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  padding: 0 4px;
  box-sizing: border-box;
}

/* ==========================================================================
   Refer & Earn Modal Popup
   ========================================================================== */
.kaelen-ref-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.kaelen-ref-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.ref-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 14, 12, 0.68);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.ref-modal-container {
  position: relative;
  width: 100%;
  max-width: 780px;
  background: #FFFFFF;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.28);
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  z-index: 2;
  box-sizing: border-box;
}

.kaelen-ref-modal.is-open .ref-modal-container {
  transform: translateY(0) scale(1);
}

.ref-modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #FAF5EE;
  border: none;
  font-size: 24px;
  line-height: 1;
  color: #212121;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.2s ease;
}

.ref-modal-close:hover {
  background: #212121;
  color: #FFFFFF;
}

.ref-modal-body {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
}

/* Left / Primary Sidebar */
.ref-modal-sidebar {
  background: #181613;
  color: #FAF5EE;
  padding: 2.75rem 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.ref-modal-brand {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: rgba(250, 245, 238, 0.6);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.ref-modal-headline {
  font-size: clamp(1.85rem, 3.5vw, 2.35rem);
  font-weight: 700;
  line-height: 1.15;
  color: #FFFFFF;
  margin: 0 0 1.75rem;
}

.ref-highlight-gold {
  color: #DFB15B;
  display: block;
}

.ref-steps-title {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: rgba(250, 245, 238, 0.5);
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.ref-steps-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.ref-steps-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  color: rgba(250, 245, 238, 0.88);
  line-height: 1.4;
}

.step-num {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(223, 177, 91, 0.2);
  color: #DFB15B;
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Right / Form Content Area */
.ref-modal-content {
  padding: 2.75rem 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #FFFFFF;
}

.ref-gift-illustration {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.ref-content-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #212121;
  margin: 0 0 0.4rem;
}

.ref-content-sub {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  margin: 0 0 1.5rem;
  line-height: 1.5;
}

.ref-input-group {
  display: flex;
  align-items: center;
  border: 1px solid rgba(33, 33, 33, 0.18);
  border-radius: 8px;
  background: #FAF5EE;
  overflow: hidden;
  margin-bottom: 1rem;
  height: 48px;
}

.ref-country-code {
  padding: 0 12px;
  font-weight: 700;
  font-size: 0.9rem;
  color: #212121;
  border-right: 1px solid rgba(33, 33, 33, 0.12);
  background: rgba(33, 33, 33, 0.03);
  height: 100%;
  display: flex;
  align-items: center;
}

.ref-phone-input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 0 12px;
  font-size: 0.95rem;
  font-family: var(--font-sans);
  color: #212121;
  outline: none;
  height: 100%;
}

.ref-submit-btn {
  width: 100%;
  height: 48px;
  background: #212121;
  color: #FFFFFF;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ref-submit-btn:hover {
  background: #000000;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.ref-terms-note {
  font-size: 0.72rem;
  color: #888;
  text-align: center;
  margin-top: 1.25rem;
}

.ref-terms-note a {
  color: #212121;
  text-decoration: underline;
}

/* Result State */
.ref-success-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #18A9A6;
  color: #FFFFFF;
  font-size: 22px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.ref-link-display-box {
  margin-bottom: 1.25rem;
}

.ref-link-input {
  width: 100%;
  height: 44px;
  padding: 0 12px;
  font-family: monospace;
  font-size: 0.85rem;
  background: #FAF5EE;
  border: 1px solid rgba(33, 33, 33, 0.15);
  border-radius: 8px;
  color: #212121;
  box-sizing: border-box;
}

.ref-share-actions {
  display: flex;
  gap: 10px;
  flex-direction: column;
}

.ref-copy-btn {
  height: 44px;
  background: #212121;
  color: #FFFFFF;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
}

.ref-copy-btn:hover {
  background: #000000;
}

.ref-wa-btn {
  height: 44px;
  background: #25D366;
  color: #FFFFFF;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
}

.ref-wa-btn:hover {
  background: #1ebc59;
}

/* Responsive Sticky Actions & Modal */
@media (max-width: 680px) {
  .sticky-actions-left {
    bottom: 60px;
    gap: 8px;
  }
  .sticky-ref-btn {
    padding: 12px 6px;
    font-size: 0.65rem;
    border-radius: 6px 0 0 6px;
  }
  .sticky-wa-btn {
    width: 42px;
    height: 42px;
    margin-left: 6px;
  }
  .sticky-actions-right {
    right: 16px;
    bottom: 24px;
  }
  .sticky-cart-btn {
    width: 46px;
    height: 46px;
  }
  .ref-modal-container {
    max-height: 88vh;
    overflow-y: auto;
  }
  .ref-modal-body {
    grid-template-columns: 1fr;
  }
  .ref-modal-sidebar {
    padding: 2rem 1.5rem 1.5rem;
  }
  .ref-modal-content {
    padding: 1.75rem 1.5rem 2rem;
  }
}



