/*
Theme Name: Protective Treatments
Theme URI: https://example.com
Author: Antigravity
Author URI: https://example.com
Description: Custom WooCommerce theme for Protective Treatments.
Version: 1.0.0
Text Domain: protective-treatments
*/

/* ================================================================
   PROTECTIVE TREATMENTS — Premium Design System
   WordPress/WooCommerce Compatible Stylesheet
   ================================================================ */

/* ----------------------------------------------------------------
   1. CSS CUSTOM PROPERTIES (Design Tokens)
   ---------------------------------------------------------------- */
:root {
  /* Brand Colors — Yellow + Black + White */
  --c-yellow:        #FFD500;   /* Warning yellow — from product lid */
  --c-yellow-dark:   #E6C000;   /* deeper yellow */
  --c-yellow-light:  #FFEA00;   /* light yellow */
  --c-yellow-glow:   rgba(255, 213, 0, 0.25);
  --c-brand:         #000000;   /* brand primary — high contrast black */
  --c-brand-mid:     #1A1A1A;   /* dark charcoal */
  --c-brand-light:   #333333;   /* light grey-black */
  --c-brand-glow:    rgba(0, 0, 0, 0.15);
  --c-black:         #000000;
  --c-dark:          #0A0A0A;
  --c-charcoal:      #121212;   /* industrial charcoal */
  --c-white:         #FFFFFF;
  --c-cream:         #F8F8F8;   /* ultra light grey/off-white */
  --c-stone:         #E5E5E5;   /* neutral stone grey */
  --c-text:          #000000;   /* pure black text for readability */
  --c-text-muted:    #555555;
  --c-text-light:    #888888;
  --c-border:        rgba(0, 0, 0, 0.10);
  --c-accent:        var(--c-yellow);

  /* Typography */
  --font-sans:   'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif:  'Playfair Display', Georgia, serif;

  /* Spacing */
  --spacing-xs:  0.5rem;
  --spacing-sm:  1rem;
  --spacing-md:  2rem;
  --spacing-lg:  4rem;
  --spacing-xl:  6rem;

  /* Radius */
  --radius-sm:   4px;
  --radius-md:   12px;
  --radius-lg:   24px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-sm:   0 1px 3px rgba(0,0,0,0.08);
  --shadow-md:   0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg:   0 12px 40px rgba(0,0,0,0.14);
  --shadow-xl:   0 24px 60px rgba(0,0,0,0.20);
  --shadow-brand:0 8px 30px var(--c-orange-glow);

  /* Transitions */
  --t-fast:     150ms ease;
  --t-base:     300ms ease;
  --t-slow:     600ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Nav height */
  --nav-h: 72px;
}

/* Mobile Adjustments for Tokens */
@media (max-width: 768px) {
  :root {
    --spacing-md: 1.25rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
    --nav-h: 64px;
  }
}

/* ----------------------------------------------------------------
   2. RESET & BASE
   ---------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background: var(--c-white);
  color: var(--c-text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.no-scroll {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

input {
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

/* ----------------------------------------------------------------
   3. UTILITY CLASSES
   ---------------------------------------------------------------- */
.hidden-md {
  display: none;
}
@media (min-width: 1024px) {
  .hidden-md {
    display: block;
  }
}

/* ----------------------------------------------------------------
   4. BUTTONS
   ---------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: all var(--t-base);
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: var(--c-yellow);
  color: var(--c-black);
  box-shadow: 0 8px 24px var(--c-yellow-glow);
  font-weight: 700;
}
.btn-primary:hover {
  background: var(--c-yellow-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 36px var(--c-yellow-glow);
}
.btn-primary:active {
  transform: translateY(0);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.5);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--c-brand);
  border: 1.5px solid var(--c-brand);
}
.btn-outline:hover {
  background: var(--c-brand);
  color: var(--c-white);
}

.btn-white {
  background: #fff;
  color: var(--c-brand);
  font-weight: 700;
}
.btn-white:hover {
  background: var(--c-cream);
}

.btn-wide {
  width: 100%;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.75rem;
}

/* ----------------------------------------------------------------
   5. NAVIGATION
   ---------------------------------------------------------------- */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background var(--t-base), box-shadow var(--t-base), backdrop-filter var(--t-base);
}

#site-header.scrolled,
body:not(.home) #site-header {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

/* Light Header Elements (when white background) */
#site-header.scrolled .nav-logo,
body:not(.home) #site-header .nav-logo {
  color: #000;
}

#site-header.scrolled .nav-links a,
body:not(.home) #site-header .nav-links a {
  color: #333;
}

#site-header.scrolled .cart-btn,
body:not(.home) #site-header .cart-btn {
  color: #000;
}

#site-header.scrolled .hamburger span,
body:not(.home) #site-header .hamburger span {
  background: #000;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  padding: 0 var(--spacing-md);
  max-width: 1400px;
  margin: 0 auto;
}

.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 4px;
  transition: opacity var(--t-fast);
}
.nav-logo span {
  color: var(--c-yellow);
  letter-spacing: 0;
}
.nav-logo:hover {
  opacity: 0.85;
}

.nav-links {
  display: none;
  align-items: center;
  gap: var(--spacing-md);
}
@media (min-width: 900px) {
  .nav-links {
    display: flex;
  }
}

.nav-links a {
  color: rgba(255,255,255,0.8);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color var(--t-fast);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--c-yellow);
  transition: width var(--t-base);
}
.nav-links a:hover {
  color: #fff;
}
.nav-links a:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cart-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: #fff;
  border-radius: var(--radius-md);
  transition: background var(--t-fast);
}
.cart-btn:hover {
  background: rgba(255,255,255,0.1);
}

.cart-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 18px;
  height: 18px;
  background: var(--c-orange);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: transform var(--t-fast);
}
.cart-badge.bump {
  animation: badge-bump 0.3s cubic-bezier(0.36, 0.07, 0.19, 0.97);
}

@keyframes badge-bump {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.6); }
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: var(--radius-md);
  transition: background var(--t-fast);
}
@media (min-width: 900px) {
  .hamburger {
    display: none;
  }
}
.hamburger:hover {
  background: rgba(255,255,255,0.1);
}
.hamburger span {
  display: block;
  height: 1.5px;
  background: #fff;
  transition: all var(--t-base);
  transform-origin: center;
}
.hamburger.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(20px);
  padding: var(--spacing-md);
  border-top: 1px solid rgba(255,255,255,0.06);
}
.mobile-menu.open {
  display: flex;
}
.mobile-menu ul {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mobile-menu a {
  display: block;
  color: rgba(255,255,255,0.85);
  font-size: 1rem;
  font-weight: 500;
  padding: 12px 8px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color var(--t-fast), padding-left var(--t-base);
}
.mobile-menu a:hover {
  color: var(--c-yellow);
  padding-left: 16px;
}

/* ----------------------------------------------------------------
   6. HERO SECTION
   ---------------------------------------------------------------- */
#hero-section {
  position: relative;
  height: 100dvh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(0,0,0,0.75) 0%,
    rgba(0,0,0,0.35) 50%,
    rgba(255,213,0,0.10) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  color: #fff;
  padding: 0 var(--spacing-md);
  max-width: 800px;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--c-yellow);
  margin-bottom: 20px;
  padding: 6px 16px;
  border: 1px solid rgba(255,213,0,0.3);
  border-radius: var(--radius-pill);
  background: rgba(255,213,0,0.1);
  backdrop-filter: blur(10px);
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.3rem, 10vw, 5.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  text-shadow: 0 2px 40px rgba(0,0,0,0.3);
}

.hero-title em {
  font-style: italic;
  color: var(--c-yellow);
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 300;
  opacity: 0.85;
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 480px) {
  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.scroll-indicator span {
  display: block;
  width: 24px;
  height: 40px;
  border: 1.5px solid rgba(255,255,255,0.4);
  border-radius: var(--radius-pill);
  position: relative;
}
.scroll-indicator span::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: rgba(255,255,255,0.7);
  border-radius: var(--radius-pill);
  animation: scroll-dot 2s infinite;
}

@keyframes scroll-dot {
  0%, 100% { opacity: 1; transform: translateX(-50%) translateY(0); }
  50%       { opacity: 0; transform: translateX(-50%) translateY(14px); }
}

/* ----------------------------------------------------------------
   7. FEATURE BAR
   ---------------------------------------------------------------- */
.feature-bar {
  background: var(--c-brand);
  padding: var(--spacing-md) 0;
  border-top: 1px solid var(--c-yellow-glow);
  border-bottom: 1px solid var(--c-yellow-glow);
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-md);
  max-width: 800px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
  }
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: var(--spacing-sm) var(--spacing-md);
  transition: transform var(--t-base);
}
@media (min-width: 768px) {
  .feature-item {
    border-right: 1px solid rgba(255,255,255,0.06);
  }
  .feature-item:last-child {
    border-right: none;
  }
}

.feature-item:hover {
  transform: translateY(-2px);
}

.feature-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: rgba(255,213,0,0.15);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,213,0,0.3);
}
.feature-icon svg {
  width: 20px;
  height: 20px;
  color: var(--c-yellow);
}

.feature-text h3 {
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 2px;
}
.feature-text p {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
}

/* ----------------------------------------------------------------
   8. SECTION HEADERS
   ---------------------------------------------------------------- */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--spacing-lg);
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--c-yellow);
  margin-bottom: 12px;
}
.section-eyebrow.light {
  color: var(--c-yellow-light);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 6vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--c-text);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--c-text-muted);
  font-weight: 300;
  line-height: 1.7;
}

/* ----------------------------------------------------------------
   9. PRODUCT SHOWCASE
   ---------------------------------------------------------------- */
.product-showcase {
  padding: var(--spacing-xl) 0;
  background: var(--c-white);
}

.product-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-lg);
  align-items: start;
}
@media (min-width: 900px) {
  .product-layout {
    grid-template-columns: 1fr 1fr;
  }
}

/* Gallery */
.product-gallery {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.product-main-img {
  position: relative;
  aspect-ratio: 1;
  background: var(--c-cream);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.product-main-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.product-main-img:hover img {
  transform: scale(1.04);
}

.product-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--c-yellow);
  color: var(--c-black);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
}

.product-thumbnails {
  display: flex;
  gap: 12px;
}

.thumb {
  flex: 1;
  aspect-ratio: 1;
  background: var(--c-cream);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color var(--t-base), transform var(--t-fast);
}
.thumb.active,
.thumb:hover {
  border-color: var(--c-yellow);
}
.thumb:hover {
  transform: translateY(-2px);
}
.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Product Details */
.product-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.product-category {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-yellow);
}

.product-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 10px;
}

.stars {
  display: flex;
  gap: 2px;
}
.star {
  font-size: 1.1rem;
  color: #D1D5DB;
}
.star.filled {
  color: #F59E0B;
}
.star.half {
  color: #F59E0B;
  opacity: 0.5;
}

.rating-text {
  font-size: 0.85rem;
  color: var(--c-text-muted);
}

.product-price {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.price-current {
  font-size: 2rem;
  font-weight: 700;
  color: var(--c-text);
}
.price-original {
  font-size: 1.1rem;
  color: var(--c-text-light);
  text-decoration: line-through;
}
.price-save {
  background: #DCFCE7;
  color: #166534;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.product-desc {
  font-size: 0.95rem;
  color: var(--c-text-muted);
  line-height: 1.75;
}

.ingredient-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.badge {
  font-size: 0.75rem;
  font-weight: 500;
  padding: 6px 14px;
  background: var(--c-cream);
  border: 1px solid var(--c-stone);
  border-radius: var(--radius-pill);
  color: var(--c-text-muted);
  transition: all var(--t-fast);
}
.badge:hover {
  border-color: var(--c-yellow);
  color: var(--c-yellow-dark);
}

.product-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.quantity-selector {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--c-stone);
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
}
.qty-btn {
  width: 44px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 300;
  color: var(--c-text);
  transition: background var(--t-fast);
  cursor: pointer;
}
.qty-btn:hover {
  background: var(--c-cream);
}
#product-qty {
  width: 50px;
  height: 52px;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  border-left: 1.5px solid var(--c-stone);
  border-right: 1.5px solid var(--c-stone);
  background: transparent;
  outline: none;
}

.product-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--c-text-muted);
}
.product-meta span::before {
  margin-right: 6px;
}

/* ----------------------------------------------------------------
   10. HOW IT WORKS
   ---------------------------------------------------------------- */
.how-it-works {
  padding: var(--spacing-xl) 0;
  background: var(--c-cream);
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-md);
}
@media (min-width: 768px) {
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step-card {
  background: var(--c-white);
  border-radius: var(--radius-lg);
  padding: var(--spacing-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--c-border);
  position: relative;
  overflow: hidden;
  transition: transform var(--t-base), box-shadow var(--t-base);
}
.step-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--c-yellow), var(--c-yellow-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-slow);
}
.step-card:hover::before {
  transform: scaleX(1);
}
.step-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.step-number {
  font-family: var(--font-serif);
  font-size: 4rem;
  font-weight: 700;
  color: var(--c-stone);
  line-height: 1;
  margin-bottom: 12px;
}

.step-icon {
  width: 48px;
  height: 48px;
  background: rgba(255,213,0,0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.step-icon svg {
  width: 24px;
  height: 24px;
  color: var(--c-yellow);
}

.step-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.step-card p {
  font-size: 0.9rem;
  color: var(--c-text-muted);
  line-height: 1.7;
}

/* ----------------------------------------------------------------
   11. PRODUCT RANGE GRID
   ---------------------------------------------------------------- */
.product-range {
  padding: var(--spacing-xl) 0;
  background: var(--c-white);
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-md);
}
@media (min-width: 640px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.product-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--t-base), box-shadow var(--t-base);
}
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.card-img-wrap {
  position: relative;
  aspect-ratio: 1;
  background: var(--c-cream);
  overflow: hidden;
}
.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.product-card:hover .card-img-wrap img {
  transform: scale(1.08);
}

.card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--t-base);
}
.product-card:hover .card-overlay {
  opacity: 1;
}

.card-badge-new {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--c-yellow);
  color: var(--c-black);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
}

.card-body {
  padding: var(--spacing-sm) var(--spacing-md) var(--spacing-md);
}
.card-stars {
  color: var(--c-yellow);
  font-size: 0.85rem;
  margin-bottom: 8px;
  letter-spacing: 2px;
}
.card-title {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.card-desc {
  font-size: 0.82rem;
  color: var(--c-text-muted);
  margin-bottom: 14px;
}
.card-price {
  display: flex;
  align-items: center;
  gap: 10px;
}
.card-price-main {
  font-size: 1.1rem;
  font-weight: 700;
}
.card-price-orig {
  font-size: 0.85rem;
  color: var(--c-text-light);
  text-decoration: line-through;
}

/* ----------------------------------------------------------------
   12. ABOUT SECTION
   ---------------------------------------------------------------- */
.about-section {
  padding: var(--spacing-xl) 0;
  background: var(--c-cream);
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-lg);
  align-items: center;
}
@media (min-width: 900px) {
  .about-layout {
    grid-template-columns: 1fr 1fr;
  }
}

.about-img {
  position: relative;
}
.about-img img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-lg);
}
.about-img-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 60%;
  height: 60%;
  border: 3px solid var(--c-yellow);
  border-radius: var(--radius-lg);
  z-index: 0;
  opacity: 0.3;
}

.about-content .section-title {
  text-align: left;
  margin-bottom: 20px;
}
.about-content p {
  font-size: 0.95rem;
  color: var(--c-text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-sm);
  margin: var(--spacing-md) 0;
}
.stat {
  text-align: center;
  padding: 16px;
  background: var(--c-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--c-stone);
}
.stat-number {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--c-yellow);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-label {
  font-size: 0.72rem;
  color: var(--c-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}

/* ----------------------------------------------------------------
   13. TESTIMONIALS
   ---------------------------------------------------------------- */
.testimonials-section {
  padding: var(--spacing-xl) 0;
  background: var(--c-white);
  overflow: hidden;
}

.testimonial-columns {
  display: flex;
  justify-content: center;
  gap: var(--spacing-sm);
  max-height: 680px;
  overflow: hidden;
  mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
  padding: 0 var(--spacing-md);
}

.testimonial-col {
  flex: 1;
  max-width: 380px;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.col-slow  { animation: marquee-up 20s linear infinite; }
.col-medium{ animation: marquee-up 25s linear infinite; }
.col-fast  { animation: marquee-up 17s linear infinite; }

@keyframes marquee-up {
  from { transform: translateY(0); }
  to   { transform: translateY(-50%); }
}

.t-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: var(--spacing-md);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--t-base);
}
.t-card:hover {
  box-shadow: var(--shadow-md);
}
.t-card p {
  font-size: 0.9rem;
  font-style: italic;
  color: #444;
  line-height: 1.75;
  margin-bottom: 16px;
}
.t-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.t-author img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--c-stone);
}
.t-author strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--c-text);
}
.t-author span {
  display: block;
  font-size: 0.75rem;
  color: var(--c-text-muted);
}

/* ----------------------------------------------------------------
   14. NEWSLETTER SECTION
   ---------------------------------------------------------------- */
.newsletter-section {
  padding: var(--spacing-xl) 0;
  background: linear-gradient(135deg, var(--c-brand) 0%, #111111 100%);
  position: relative;
  overflow: hidden;
}
.newsletter-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(255,213,0,0.12) 0%, transparent 70%);
}

.newsletter-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
  color: #fff;
}
.newsletter-content h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 14px;
}
.newsletter-content p {
  font-size: 0.95rem;
  opacity: 0.7;
  margin-bottom: 28px;
  line-height: 1.7;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  max-width: 480px;
  margin: 0 auto 14px;
  flex-wrap: wrap;
}
.newsletter-form input {
  flex: 1;
  min-width: 220px;
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: 0.9rem;
  outline: none;
  transition: border-color var(--t-fast);
}
.newsletter-form input::placeholder {
  color: rgba(255,255,255,0.4);
}
.newsletter-form input:focus {
  border-color: var(--c-yellow);
}

.newsletter-disclaimer {
  font-size: 0.75rem;
  opacity: 0.4;
}

/* ----------------------------------------------------------------
   15. FOOTER
   ---------------------------------------------------------------- */
.site-footer {
  background: var(--c-dark);
  color: rgba(255,255,255,0.7);
  padding: var(--spacing-xl) 0 var(--spacing-md);
  border-top: 1px solid var(--c-yellow-glow);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}
@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

.footer-logo {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 2px;
  margin-bottom: 12px;
}
.footer-logo span {
  color: var(--c-yellow);
}
.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.7;
  opacity: 0.6;
  max-width: 260px;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 12px;
}
.footer-social a {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: all var(--t-base);
}
.footer-social a svg {
  width: 16px;
  height: 16px;
}
.footer-social a:hover {
  background: var(--c-yellow);
  border-color: var(--c-yellow);
  color: var(--c-brand);
  transform: translateY(-3px);
}

.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 16px;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  transition: color var(--t-fast);
}
.footer-col a:hover {
  color: var(--c-orange);
}

.footer-bottom {
  border-top: 1px solid rgba(196,146,42,0.12);
  padding-top: var(--spacing-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom p {
  font-size: 0.8rem;
  opacity: 0.4;
}

.payment-badges {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.payment-label {
  font-size: 0.75rem;
  opacity: 0.4;
}
.payment-icons {
  display: flex;
  gap: 6px;
}
.payment-badge {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-sm);
  color: rgba(255,255,255,0.6);
}

/* ----------------------------------------------------------------
   16. CART DRAWER
   ---------------------------------------------------------------- */
#cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(420px, 100vw);
  background: var(--c-white);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 40px rgba(0,0,0,0.15);
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
#cart-drawer.open {
  transform: translateX(0);
  border-left: 1px solid var(--c-border);
}

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--c-border);
  flex-shrink: 0;
}
.cart-header h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
}
.cart-header h3 span {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--c-text-muted);
}
.cart-header button {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  color: var(--c-text);
  transition: background var(--t-fast);
}
.cart-header button:hover {
  background: var(--c-cream);
}

.cart-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
}

.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
  gap: 14px;
  color: var(--c-text-muted);
}
.cart-empty-icon {
  font-size: 3rem;
  line-height: 1;
}
.cart-empty p {
  font-size: 0.95rem;
}

/* Cart Item */
.cart-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid var(--c-border);
}
.cart-item-img {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-md);
  background: var(--c-cream);
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid var(--c-border);
}
.cart-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cart-item-info {
  flex: 1;
}
.cart-item-name {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.cart-item-price {
  font-size: 0.95rem;
  color: var(--c-brand);
  font-weight: 700;
  margin-bottom: 10px;
}
.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--c-stone);
  border-radius: var(--radius-sm);
  overflow: hidden;
  width: fit-content;
}
.cart-item-qty button {
  width: 32px;
  height: 30px;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--t-fast);
  cursor: pointer;
}
.cart-item-qty button:hover {
  background: var(--c-cream);
}
.cart-item-qty span {
  width: 36px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 600;
  border-left: 1px solid var(--c-stone);
  border-right: 1px solid var(--c-stone);
}
.cart-item-remove {
  padding: 6px;
  color: var(--c-text-light);
  border-radius: var(--radius-sm);
  transition: color var(--t-fast);
  cursor: pointer;
  flex-shrink: 0;
}
.cart-item-remove:hover {
  color: #EF4444;
}

.cart-footer {
  border-top: 1px solid var(--c-border);
  padding: 20px 24px;
  background: var(--c-cream);
  flex-shrink: 0;
  border-left: 3px solid var(--c-brand);
}
.cart-subtotal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 1rem;
}
.cart-shipping-note {
  font-size: 0.75rem;
  color: var(--c-text-muted);
  margin-bottom: 16px;
}
.cart-checkout-btn {
  margin-bottom: 12px;
}
.cart-payfast-note {
  display: block;
  text-align: center;
  font-size: 0.75rem;
  color: var(--c-text-muted);
  transition: color var(--t-fast);
}
.cart-payfast-note:hover {
  color: var(--c-orange);
}

/* Dimmer */
#cart-dimmer {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1999;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-base);
  backdrop-filter: blur(4px);
}
#cart-dimmer.open {
  opacity: 1;
  pointer-events: auto;
}

/* ----------------------------------------------------------------
   17. TOAST NOTIFICATION
   ---------------------------------------------------------------- */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--c-charcoal);
  color: #fff;
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 500;
  box-shadow: var(--shadow-xl);
  z-index: 3000;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  pointer-events: none;
}
.toast.show {
  transform: translateX(-50%) translateY(0);
}

/* ----------------------------------------------------------------
   18. SCROLL REVEAL ANIMATIONS
   ---------------------------------------------------------------- */
.reveal-up,
.reveal-fade,
.reveal-left,
.reveal-right {
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--delay, 0s);
}

.reveal-up    { transform: translateY(50px); }
.reveal-fade  { transform: scale(0.96); }
.reveal-left  { transform: translateX(-50px); }
.reveal-right { transform: translateX(50px); }

.reveal-up.visible,
.reveal-fade.visible,
.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: none;
}

/* ----------------------------------------------------------------
   19. RESPONSIVE TWEAKS
   ---------------------------------------------------------------- */
@media (max-width: 640px) {
  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }
  .btn-ghost {
    width: 100%;
    max-width: 280px;
  }
  .product-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .quantity-selector {
    align-self: flex-start;
  }
  .about-img-accent {
    display: none;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .newsletter-form {
    flex-direction: column;
  }
  .newsletter-form .btn {
    width: 100%;
  }
}

/* ================================================================
   WOOCOMMERCE INTEGRATION — Protective Treatments Theme
   ================================================================ */

/* ----------------------------------------------------------------
   PT Product Showcase Layout (front-page custom embed)
   ---------------------------------------------------------------- */
.pt-product-showcase-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
  max-width: 1000px;
  margin: 0 auto;
  padding: 60px 20px;
}
@media (min-width: 900px) {
  .pt-product-showcase-layout {
    grid-template-columns: 0.8fr 1.2fr; /* Slightly smaller image column */
    gap: 60px;
  }
}

/* ----------------------------------------------------------------
   Left Column: Visuals & Gallery
   ---------------------------------------------------------------- */
.pt-product-visuals {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pt-product-main-img-wrap {
  position: relative;
  background: #fcfcfc;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  border: 1px solid rgba(0,0,0,0.03);
}

.pt-product-badge-main {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--c-yellow);
  color: var(--c-black);
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  z-index: 10;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.pt-product-img-featured {
  width: 100%; 
  height: 100%;
  object-fit: cover; /* Fill the frame as requested */
  z-index: 1;
  transition: opacity 0.4s ease;
}

.pt-product-img-halo {
  position: absolute;
  width: 70%;
  height: 70%;
  background: radial-gradient(circle, rgba(255,213,0,0.08) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

/* Thumbnails */
.pt-product-thumbs {
  display: flex;
  gap: 12px;
  justify-content: center;
}
.thumb {
  width: 60px;
  height: 60px;
  background: #fff;
  border-radius: 8px;
  padding: 5px;
  cursor: pointer;
  border: 1.5px solid #eee;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.thumb:hover { border-color: var(--c-yellow); }
.thumb.active { border-color: var(--c-yellow); background: #fdfdfd; }
.thumb img { width: 100%; height: auto; object-fit: contain; mix-blend-mode: multiply; }

/* ----------------------------------------------------------------
   Right Column: Details
   ---------------------------------------------------------------- */
.pt-product-details {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-top: 5px;
}

.pt-product-info-native {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pt-product-info-native .product_title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.1;
  margin: 0;
  color: #111;
}

.pt-custom-badges-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 5px;
}

.pt-product-info-native p.price,
.pt-product-info-native span.price {
  font-size: 1.8rem;
  font-weight: 800;
  color: #000 !important;
  line-height: 1;
  margin: 0;
  display: block;
}
.pt-product-info-native .woocommerce-Price-currencySymbol {
  padding-right: 4px;
}

.pt-product-info-native .woocommerce-product-details__short-description {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #666;
  max-width: 500px;
  margin: 15px 0;
}

/* Add to Cart Form (Native WC) */
.pt-product-info-native form.cart {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 320px;
  margin-top: 10px;
}

.pt-product-info-native .quantity {
  display: flex;
  flex-direction: column;
  gap: 10px;
  float: none;
  margin: 0;
}
.quantity-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #888;
}

.pt-qty-picker-native {
  display: flex;
  align-items: center;
  border: 1.5px solid #eaeaea;
  border-radius: 4px;
  overflow: hidden;
  height: 50px;
  width: 140px;
}

.pt-qty-picker-native .qty {
  width: 50px !important;
  height: 100% !important;
  border: none !important;
  border-left: 1.5px solid #f0f0f0 !important;
  border-right: 1.5px solid #f0f0f0 !important;
  text-align: center;
  font-weight: 700;
  font-size: 1rem;
  background: #fff;
  padding: 0;
  margin: 0;
  -moz-appearance: textfield;
}
.pt-qty-picker-native .qty::-webkit-outer-spin-button,
.pt-qty-picker-native .qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.pt-qty-picker-native .qty-btn {
  background: #fff;
  border: none;
  width: 45px;
  height: 100%;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.2s;
  color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pt-qty-picker-native .qty-btn:hover { background: #f9f9f9; }

/* Add to Cart Button (Native WC) */
.pt-product-info-native .single_add_to_cart_button {
  width: 100%;
  height: 54px !important;
  background: var(--c-yellow) !important;
  color: #000 !important;
  border: none !important;
  border-radius: 0 !important;
  font-weight: 800 !important;
  font-size: 0.95rem !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: none !important;
  padding: 0 !important;
}
.pt-product-info-native .single_add_to_cart_button:hover {
  background: #efc600 !important;
  letter-spacing: 0.15em !important;
}

.pt-product-footer-notes {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.pt-product-footer-notes p {
  font-size: 0.75rem;
  font-weight: 600;
  color: #999;
  margin: 0;
}

/* ----------------------------------------------------------------
   WooCommerce Star Ratings (fallback)
   ---------------------------------------------------------------- */
.woocommerce .star-rating {
  color: var(--c-yellow) !important;
  font-size: 0.9rem !important;
}

/* ----------------------------------------------------------------
   WooCommerce Messages
   ---------------------------------------------------------------- */
.woocommerce-message, .woocommerce-info, .woocommerce-error {
  font-family: var(--font-sans) !important;
  background: #fff !important;
  border-radius: 12px !important;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05) !important;
  border-top: 4px solid var(--c-yellow) !important;
}

/* ----------------------------------------------------------------
   Header Cart Badge
   ---------------------------------------------------------------- */
.cart-badge {
  background: var(--c-yellow) !important;
  color: var(--c-black) !important;
  font-weight: 800 !important;
  font-size: 0.7rem !important;
  min-width: 18px !important;
  height: 18px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 50% !important;
  position: absolute !important;
  top: -5px !important;
  right: -8px !important;
}
/* ----------------------------------------------------------------
   22. BOTPRESS CHAT TRIGGER
   ---------------------------------------------------------------- */
.bot-trigger {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: var(--c-yellow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(255, 213, 0, 0.4);
  cursor: pointer;
  z-index: 9999;
  transition: all var(--t-base);
  border: 2px solid var(--c-black);
  overflow: hidden;
}

.bot-trigger:hover {
  transform: scale(1.1) translateY(-5px);
  box-shadow: 0 12px 40px rgba(255, 213, 0, 0.6);
  background: var(--c-yellow-light);
}

.bot-trigger:active {
  transform: scale(0.95);
}

.bot-trigger .bot-logo {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--c-black);
  letter-spacing: 1px;
}

.bot-trigger .bot-logo span {
  color: #fff;
  text-shadow: 1px 1px 0 rgba(0,0,0,0.2);
}

/* Pulsing effect for the bot icon */
.bot-trigger::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--c-yellow);
  opacity: 0;
  animation: bot-pulse 2s infinite;
}

@keyframes bot-pulse {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(1.4); opacity: 0; }
}

@media (max-width: 768px) {
  .bot-trigger {
    bottom: 20px;
    right: 20px;
    width: 54px;
    height: 54px;
  }
}
/* ==========================================================================
   CUSTOM ABOUT US PAGE LAYOUT (LUXURY EDITORIAL)
   ========================================================================== */
.about-custom-page {
    background-color: var(--c-white);
    color: var(--c-text);
    font-family: var(--font-sans);
    padding-top: 140px;
    padding-bottom: 100px;
}

.about-custom-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.ac-header {
    text-align: center;
    margin-bottom: 80px;
}

.ac-title {
    font-family: var(--font-serif);
    font-size: clamp(3rem, 7vw, 6rem);
    font-weight: 700;
    color: var(--c-text);
    text-transform: uppercase;
    letter-spacing: -0.02em;
    margin-bottom: 40px;
}

.ac-subhead-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    text-align: left;
}

.ac-desc {
    max-width: 350px;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--c-text-muted);
}

.ac-subtitle {
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--c-text);
    text-align: right;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.ac-grid-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    margin-bottom: 120px;
    align-items: center;
}

.ac-grid-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.ac-item-left img {
    max-width: 80%;
}

.ac-item-right {
    position: relative;
    padding-top: 150px;
}

.ac-item-right img {
    max-width: 90%;
    margin-left: auto;
    display: block;
}

.ac-caption {
    font-size: 0.85rem;
    color: var(--c-text-muted);
    margin-top: 15px;
    max-width: 250px;
}

.ac-since {
    position: absolute;
    top: 120px;
    left: 0;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    color: var(--c-yellow);
    text-transform: uppercase;
}

.ac-centerpiece-section {
    position: relative;
    margin-bottom: 150px;
    text-align: center;
}

.ac-centerpiece-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    color: var(--c-yellow);
    text-transform: uppercase;
    margin-bottom: -50px;
    z-index: 2;
    position: relative;
}

.ac-massive-text {
    font-family: var(--font-serif);
    font-size: clamp(3rem, 8vw, 8rem);
    font-weight: 700;
    color: var(--c-text);
    letter-spacing: -0.02em;
    white-space: nowrap;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    width: 100%;
    text-align: center;
}

.ac-product-3d-wrap {
    position: relative;
    z-index: 10;
    margin: 100px auto 40px;
    max-width: 500px;
}

.ac-product-3d-img {
    width: 100%;
    height: auto;
    /* CSS MAGIC TO MAKE IT 3D AND REMOVE WHITE BG */
    mix-blend-mode: multiply; /* Removes white background on light surface */
    filter: drop-shadow(0px 30px 40px rgba(0,0,0,0.4)) drop-shadow(0px 10px 15px rgba(0,0,0,0.2));
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg) scale(1.05);
    transition: transform 0.5s ease;
}

.ac-product-3d-img:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) scale(1.1);
}

.ac-centerpiece-footer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 30px;
    margin-top: -30px;
    position: relative;
    z-index: 11;
}

.ac-small-desc {
    font-size: 1rem;
    max-width: 280px;
    text-align: right;
    line-height: 1.7;
    color: var(--c-text-muted);
}

.ac-btn-explore {
    padding: 8px 16px;
    border: 1px solid var(--c-brand);
    font-size: 0.8rem;
    text-decoration: none;
    color: var(--c-brand);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.ac-btn-explore:hover {
    background: var(--c-brand);
    color: var(--c-white);
}

.ac-footer-info {
    display: flex;
    justify-content: space-between;
    padding-top: 80px;
    border-top: 1px solid var(--c-border);
    margin-bottom: 80px;
}

.ac-footer-left h3 {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--c-text);
}

.ac-btn-subscribe {
    display: inline-block;
    padding: 8px 20px;
    border: 1px solid var(--c-brand);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-decoration: none;
    color: var(--c-brand);
    text-transform: uppercase;
}

.ac-footer-links {
    display: flex;
    gap: 80px;
}

.ac-link-col h4 {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 15px;
    color: var(--c-text);
    text-transform: uppercase;
}

.ac-link-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ac-link-col li {
    margin-bottom: 10px;
}

.ac-link-col a {
    color: var(--c-text-muted);
    font-size: 0.8rem;
    text-decoration: none;
    transition: color var(--t-fast);
}

.ac-link-col a:hover {
    color: var(--c-yellow);
}

.ac-mega-brand {
    font-family: var(--font-serif);
    font-size: clamp(4rem, 15vw, 15rem);
    font-weight: 700;
    line-height: 0.8;
    text-align: center;
    letter-spacing: -3px;
    margin: 0;
    margin-top: 50px;
    color: var(--c-brand);
}

.ac-mf-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--c-text-light);
    margin-bottom: 10px;
}

@media (max-width: 900px) {
    .ac-subhead-row {
        flex-direction: column;
        gap: 30px;
        align-items: center;
        text-align: center;
    }
    .ac-subtitle {
        text-align: center;
    }
    .ac-grid-section {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .ac-item-left img, .ac-item-right img {
        max-width: 100%;
    }
    .ac-item-right {
        padding-top: 0;
    }
    .ac-since {
        position: relative;
        top: 0;
        margin-bottom: 10px;
        display: block;
    }
    .ac-footer-info {
        flex-direction: column;
        gap: 50px;
    }
    .ac-footer-links {
        flex-wrap: wrap;
        gap: 40px;
    }
    .ac-centerpiece-footer {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .ac-small-desc {
        text-align: center;
    }
    .ac-product-3d-wrap {
        margin: 50px auto 30px;
    }
    .ac-massive-text {
        position: relative;
        top: 0;
        transform: none;
        margin-bottom: -150px;
        font-size: 3.5rem;
    }
}
