﻿/* SOURCE: gemmywood-wordpress-site\wordpress\wp-content\themes\gemmywood-premium\style.css */

/*
Theme Name: Gemmywood Premium
Theme URI: https://gemmywood.vn
Author: Gemmy Wood JSC
Author URI: https://gemmywood.vn
Description: Premium light theme for Gemmy Wood - Acacia Furniture Manufacturer & Exporter. Modern clean design with warm amber/gold tones.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gemmywood
Tags: light, modern, furniture, custom-menu, custom-logo, featured-images, translation-ready
*/

@font-face {
  font-family: 'Google Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('assets/fonts/google-sans-vietnamese.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: 'Google Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('assets/fonts/google-sans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==========================================================================
   1. CSS VARIABLES / DESIGN TOKENS
   ========================================================================== */

:root {
  /* â€” Colors (Light Theme) â€” */
  --color-bg-primary: #FDFCFA;
  --color-bg-secondary: #F5F3EF;
  --color-bg-tertiary: #EDE9E3;
  --color-bg-card: #FFFFFF;
  --color-bg-card-hover: #FFFDF9;
  --color-bg-glass: rgba(255, 255, 255, 0.85);
  --color-bg-nav: rgba(253, 252, 250, 0.85);

  --color-text-primary: #1A1710;
  --color-text-secondary: #5C574E;
  --color-text-muted: #9A9489;
  --color-text-accent: #A0764A;

  --color-border: rgba(0, 0, 0, 0.07);
  --color-border-hover: rgba(160, 118, 74, 0.35);
  --color-border-card: rgba(0, 0, 0, 0.06);

  /* â€” Gradients â€” */
  --gradient-primary: linear-gradient(135deg, #C49560 0%, #A0764A 50%, #7A5A30 100%);
  --gradient-accent: linear-gradient(135deg, #4CAF50 0%, #388E3C 100%);
  --gradient-text: linear-gradient(135deg, #8B6332 0%, #C49560 30%, #A0764A 60%, #2E7D32 100%);
  --gradient-hero: linear-gradient(180deg, rgba(253, 252, 250, 0) 0%, rgba(253, 252, 250, 0.9) 100%);
  --gradient-cta: linear-gradient(135deg, #C49560 0%, #A0764A 50%, #7A5A30 100%);
  --gradient-green: linear-gradient(135deg, #4CAF50 0%, #388E3C 100%);
  --gradient-glow: radial-gradient(ellipse at center, rgba(160, 118, 74, 0.12) 0%, transparent 70%);

  /* â€” Section Gradient Backgrounds â€” */
  --gradient-section-warm: radial-gradient(ellipse at 20% 50%,
      rgba(196, 149, 96, 0.18) 0%,
      rgba(180, 130, 80, 0.08) 40%,
      transparent 70%);
  --gradient-section-cool: radial-gradient(ellipse at 80% 30%,
      rgba(46, 125, 50, 0.14) 0%,
      rgba(56, 142, 60, 0.06) 40%,
      transparent 70%);
  --gradient-section-mesh: radial-gradient(ellipse at 70% 60%,
      rgba(196, 149, 96, 0.12) 0%,
      rgba(180, 130, 80, 0.05) 35%,
      transparent 65%);
  --gradient-hero-mesh: radial-gradient(ellipse at 30% 40%,
      rgba(244, 235, 220, 0.42) 0%,
      rgba(232, 216, 192, 0.18) 34%,
      rgba(214, 230, 214, 0.08) 52%,
      transparent 72%);

  /* â€” Typography â€” */
  --font-heading: 'Google Sans', Arial, sans-serif;
  --font-body: 'Google Sans', Arial, sans-serif;

  --fs-display: clamp(2.5rem, 5vw, 4.1rem);
  --fs-h1: clamp(2.2rem, 4.5vw, 3.5rem);
  --fs-h2: clamp(1.8rem, 3.5vw, 2.8rem);
  --fs-h3: clamp(1.3rem, 2vw, 1.6rem);
  --fs-h4: 1.15rem;
  --fs-body: 1rem;
  --fs-body-lg: 1.125rem;
  --fs-small: 0.875rem;
  --fs-xs: 0.75rem;

  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-extrabold: 700;

  --lh-tight: 1.10;
  --lh-heading: 1.25;
  --lh-body: 1.7;

  /* â€” Spacing â€” */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 3rem;
  --space-4xl: 4.5rem;
  --space-5xl: 6rem;

  /* â€” Layout â€” */
  --container-max: 1200px;
  --container-wide: 1400px;
  --container-narrow: 900px;
  --nav-height: 72px;

  /* â€” Effects â€” */
  --blur-sm: 8px;
  --blur-md: 16px;
  --blur-lg: 24px;
  --blur-xl: 40px;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --shadow-card: 0 2px 16px rgba(0, 0, 0, 0.06), 0 1px 4px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 8px 32px rgba(160, 118, 74, 0.1);
  --shadow-nav: 0 1px 12px rgba(0, 0, 0, 0.06);

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ==========================================================================
   2. RESET & BASE
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  font-family: var(--font-body);
  font-weight: var(--fw-regular);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--color-text-secondary);
  background-color: var(--color-bg-primary);
  overflow-x: hidden;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-text-accent);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-text-primary);
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--color-text-primary);
  line-height: var(--lh-heading);
  font-weight: var(--fw-bold);
}

h1 {
  font-size: var(--fs-h1);
}

h2 {
  font-size: var(--fs-h2);
}

h3 {
  font-size: var(--fs-h3);
}

h4 {
  font-size: var(--fs-h4);
}

p {
  margin-bottom: var(--space-md);
}

::selection {
  background: rgba(160, 118, 74, 0.2);
  color: var(--color-text-primary);
}

/* ==========================================================================
   3. LAYOUT & CONTAINER
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.container--wide {
  max-width: var(--container-wide);
}

.container--narrow {
  max-width: var(--container-narrow);
}

.container--products {
  max-width: var(--container-wide);
}

.section {
  padding: var(--space-2xl) 0;
  position: relative;
}

.section--compact {
  padding: var(--space-lg) 0;
}

/* ==========================================================================
   4. NAVIGATION
   ========================================================================== */

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: all var(--transition-base);
  border-bottom: 1px solid transparent;
}

.site-nav.scrolled {
  background: var(--color-bg-nav);
  backdrop-filter: blur(var(--blur-lg));
  -webkit-backdrop-filter: blur(var(--blur-lg));
  border-bottom-color: var(--color-border);
  box-shadow: var(--shadow-nav);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo img {
  height: 40px;
  width: auto;
}

.nav-logo-text {
  font-family: var(--font-heading);
  font-weight: var(--fw-extrabold);
  font-size: 1.3rem;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.nav-menu a {
  color: var(--color-text-secondary);
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  position: relative;
  white-space: nowrap;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--color-text-primary);
  background: rgba(0, 0, 0, 0.04);
}

.nav-menu .has-submenu {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-menu .has-submenu>a {
  display: flex;
  align-items: center;
  height: 100%;
}

.nav-menu .has-submenu:hover .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--color-bg-secondary);
  backdrop-filter: blur(var(--blur-lg));
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-sm);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--transition-base);
  box-shadow: var(--shadow-card);
  z-index: 100;
}

.submenu a {
  display: block;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-sm);
  font-size: var(--fs-small);
}

.submenu a:hover {
  background: rgba(0, 0, 0, 0.04);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.lang-switch {
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.04);
  border-radius: var(--radius-full);
  padding: 2px;
  border: 1px solid var(--color-border);
}

.lang-switch a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  padding: 4px 12px;
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
  transition: all var(--transition-fast);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.lang-switch a.active {
  background: var(--gradient-primary);
  color: var(--color-bg-primary);
}

.lang-switch a:hover:not(.active) {
  color: var(--color-text-primary);
}

/* Mobile Menu Button */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text-primary);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ==========================================================================
   5. BUTTONS
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 12px 28px;
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  border-radius: var(--radius-lg);
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: var(--gradient-cta);
  color: var(--color-bg-primary);
  box-shadow: 0 4px 20px rgba(196, 149, 96, 0.40), 0 1px 3px rgba(0, 0, 0, 0.08);
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 30px rgba(196, 149, 96, 0.50), 0 2px 6px rgba(0, 0, 0, 0.1);
  color: var(--color-bg-primary);
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.btn-primary:hover::after {
  opacity: 1;
}

.btn-secondary {
  background: var(--color-bg-card);
  color: var(--color-text-primary);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
}

.btn-secondary:hover {
  background: var(--color-bg-card-hover);
  border-color: rgba(196, 149, 96, 0.3);
  transform: translateY(-2px) scale(1.02);
  color: var(--color-text-accent);
  box-shadow: 0 6px 20px rgba(160, 118, 74, 0.12);
}

.btn-ghost {
  background: transparent;
  color: var(--color-text-accent);
  padding: 8px 0;
}

.btn-ghost:hover {
  color: var(--color-text-primary);
}

.btn-ghost svg,
.btn-ghost .arrow {
  transition: transform var(--transition-fast);
}

.btn-ghost:hover svg,
.btn-ghost:hover .arrow {
  transform: translateX(4px);
}

.btn-lg {
  padding: 16px 36px;
  font-size: var(--fs-body);
  border-radius: var(--radius-xl);
}

.btn-sm {
  padding: 8px 18px;
  font-size: var(--fs-xs);
}

.btn-green {
  background: var(--gradient-green);
  color: white;
  box-shadow: 0 4px 16px rgba(76, 175, 80, 0.25);
}

.btn-green:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(76, 175, 80, 0.35);
  color: white;
}

.btn-whatsapp {
  background: #25D366;
  color: white;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.25);
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.35);
  color: white;
  background: #20BD5A;
}

.btn-whatsapp svg {
  width: 18px;
  height: 18px;
}

/* ==========================================================================
   6. SECTION HEADINGS
   ========================================================================== */

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 6px 16px;
  background: rgba(160, 118, 74, 0.06);
  border: 1px solid rgba(160, 118, 74, 0.12);
  border-radius: var(--radius-full);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  color: var(--color-text-accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-sm);
}

.section-badge--green {
  background: rgba(76, 175, 80, 0.06);
  border-color: rgba(76, 175, 80, 0.12);
  color: #2E7D32;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--space-lg);
}

.section-header h2 {
  margin-bottom: var(--space-sm);
}

.section-header p {
  color: var(--color-text-secondary);
  font-size: var(--fs-body-lg);
  line-height: var(--lh-body);
}

.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ==========================================================================
   7. HERO SECTION â€” Split Layout (Text Left + Image Right)
   ========================================================================== */

.hero {
  position: relative;
  padding: calc(var(--nav-height) + var(--space-md)) var(--space-xl) 0;
  overflow: hidden;
  background: var(--gradient-hero-mesh);
}

.hero::before {
  content: '';
  position: absolute;
  top: -25%;
  right: -15%;
  width: 1200px;
  height: 1200px;
  background: radial-gradient(ellipse at center,
      rgba(196, 149, 96, 0.18) 0%,
      rgba(180, 130, 80, 0.09) 24%,
      rgba(160, 118, 74, 0.03) 42%,
      transparent 65%);
  pointer-events: none;
  z-index: 0;
  animation: heroGlowPulse 8s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to top, var(--color-bg-primary), transparent);
  pointer-events: none;
  z-index: 1;
}

/* Split Grid: Text Left | Image Right */
.hero-split {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: var(--space-md);
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  padding: var(--space-md) 0;
}

/* Left: Text Content */
.hero-content {
  text-align: left;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 8px 20px;
  background: rgba(76, 175, 80, 0.06);
  border: 1px solid rgba(76, 175, 80, 0.12);
  border-radius: var(--radius-full);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  color: #2E7D32;
  margin-bottom: var(--space-sm);
  letter-spacing: 0.05em;
}

.hero-badge svg {
  width: 16px;
  height: 16px;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.1rem);
  font-weight: var(--fw-extrabold);
  line-height: 1.1;
  margin-bottom: var(--space-md);
  letter-spacing: -0.03em;
}

html[lang^="vi"] .hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.1rem);
  line-height: 1.03;
}

.hero-subtitle {
  font-size: var(--fs-body-lg);
  color: var(--color-text-secondary);
  max-width: 540px;
  margin: 0 0 var(--space-xl);
  line-height: var(--lh-body);
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
  flex-wrap: wrap;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
}

.hero-trust svg {
  width: 14px;
  height: 14px;
  color: #2E7D32;
  flex-shrink: 0;
}

/* Right: Product Image Slideshow */
.hero-showcase {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  margin-right: -40px;
}

.hero-slideshow {
  position: relative;
  width: 520px;
  height: 460px;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-slide--active {
  opacity: 1;
}

/* Slide Dot Indicators */
.hero-slide-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: var(--space-md);
}

.hero-slide-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--color-text-muted);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: all var(--transition-fast);
}

.hero-slide-dot.active {
  background: var(--color-text-accent);
  border-color: var(--color-text-accent);
  transform: scale(1.2);
}

.hero-slide-dot:hover {
  border-color: var(--color-text-accent);
}

/* Stats Bar */
.stats-bar {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.2fr;
  gap: var(--space-md);
  max-width: 1040px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.stat-item {
  text-align: center;
  padding: var(--space-lg) var(--space-lg);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: all var(--transition-base);
  min-width: 0;
}

.stat-item:hover {
  background: var(--color-bg-card-hover);
  border-color: var(--color-border-hover);
  transform: translateY(-4px);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: var(--fs-h2);
  font-weight: var(--fw-extrabold);
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.4;
  overflow: visible;
  padding: 0.25em 0 0;
  margin-bottom: var(--space-xs);
  background-size: 100% 150%;
  background-position: 0 0;
}

.stat-number sup {
  font-size: 0.55em;
  line-height: 0;
  position: relative;
  top: -0.35em;
  -webkit-text-fill-color: #B08D6A;
  color: #B08D6A;
}

.stat-label {
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: var(--fw-medium);
}

/* ==========================================================================
   8. PRODUCT CARDS (GLASSMORPHISM)
   ========================================================================== */

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-lg);
  align-items: start;
  transition: opacity 0.18s ease;
  will-change: opacity;
}

.product-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-base);
  position: relative;
  min-width: 0;
  width: 100%;
  contain: layout paint;
}

.product-card:hover {
  background: var(--color-bg-card-hover);
  border-color: rgba(196, 149, 96, 0.25);
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(196, 149, 96, 0.15), 0 4px 12px rgba(0, 0, 0, 0.06);
}

.product-card-image {
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
  background: var(--color-bg-tertiary);
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.product-card:hover .product-card-image img {
  transform: scale(1.08);
}

.product-card-image .category-badge {
  position: absolute;
  top: var(--space-sm);
  left: var(--space-sm);
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(var(--blur-sm));
  border-radius: var(--radius-full);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  color: var(--color-text-primary);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.product-card-body {
  padding: var(--space-sm) var(--space-md) var(--space-md);
}

.product-card-title {
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  color: var(--color-text-primary);
  margin-bottom: 4px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card-title a {
  color: inherit;
  text-decoration: none;
}

.product-card-title a:hover {
  color: var(--color-text-accent);
}

.product-card-meta {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
}

.product-card-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.product-card-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  color: var(--color-text-accent);
  margin-top: var(--space-xs);
  transition: all var(--transition-fast);
}

.product-card-link:hover {
  color: var(--color-text-primary);
  gap: 10px;
}

/* ==========================================================================
   9. CATEGORY TABS
   ========================================================================== */

.category-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  margin-bottom: var(--space-lg);
  flex-wrap: wrap;
  padding: 4px;
  background: var(--color-bg-card);
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  max-width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.category-tab {
  padding: 8px 20px;
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  color: var(--color-text-muted);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
  background: none;
  white-space: nowrap;
  font-family: var(--font-body);
}

.category-tab:hover {
  color: var(--color-text-primary);
  background: rgba(0, 0, 0, 0.04);
}

.category-tab.active {
  background: var(--gradient-primary);
  color: var(--color-bg-primary);
  font-weight: var(--fw-semibold);
}

/* ==========================================================================
   9b. SORT BAR
   ========================================================================== */

.sort-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: 10px 20px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-card);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-lg);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
}

.sort-bar-left {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
}

/* ---- Product Search Bar ---- */
.product-search {
  display: flex;
  align-items: center;
  gap: 0;
  width: 100%;
  max-width: 600px;
  position: relative;
}

.product-search-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
}

.product-search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-text-muted);
  pointer-events: none;
  transition: color var(--transition-fast);
  z-index: 1;
}

.product-search-input {
  width: 100%;
  padding: 9px 36px 9px 38px;
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: var(--fw-regular);
  color: var(--color-text-primary);
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  border-right: none;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  transition: all var(--transition-fast);
  line-height: 1.4;
}

.product-search-input::placeholder {
  color: var(--color-text-muted);
  font-weight: var(--fw-regular);
}

.product-search-input:hover {
  border-color: var(--color-border-hover);
  background: var(--color-bg-card);
}

.product-search-input:focus {
  outline: none;
  border-color: var(--color-text-accent);
  background: var(--color-bg-card);
  box-shadow: 0 0 0 3px rgba(160, 118, 74, 0.08);
}

.product-search-input:focus~.product-search-icon,
.product-search-input-wrap:focus-within .product-search-icon {
  color: var(--color-text-accent);
}

.product-search-clear {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
  color: var(--color-text-muted);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  z-index: 1;
}

.product-search-clear:hover {
  color: var(--color-text-primary);
  background: rgba(0, 0, 0, 0.06);
}

.product-search-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  color: var(--color-bg-primary);
  background: var(--gradient-primary);
  border: 1px solid transparent;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
  line-height: 1.4;
  flex-shrink: 0;
}

.product-search-btn:hover {
  box-shadow: 0 4px 16px rgba(160, 118, 74, 0.25);
  transform: translateY(-1px);
}

.product-search-btn:active {
  transform: translateY(0);
}

.product-search-btn svg {
  display: none;
}

/* ---- Autocomplete Suggestions ---- */
.product-search-suggestions {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.06);
  z-index: 100;
  max-height: 360px;
  overflow-y: auto;
  animation: suggestSlideDown 0.2s ease-out;
}

@keyframes suggestSlideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.product-search-suggestions::-webkit-scrollbar {
  width: 6px;
}

.product-search-suggestions::-webkit-scrollbar-track {
  background: transparent;
}

.product-search-suggestions::-webkit-scrollbar-thumb {
  background: var(--color-border);
  border-radius: 3px;
}

.suggestion-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 10px 14px;
  cursor: pointer;
  transition: background var(--transition-fast);
  border-bottom: 1px solid var(--color-border-card);
  text-decoration: none;
  color: inherit;
}

.suggestion-item:last-child {
  border-bottom: none;
}

.suggestion-item:hover,
.suggestion-item.active {
  background: var(--color-bg-secondary);
}

.suggestion-item-thumb {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--color-bg-tertiary);
}

.suggestion-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.suggestion-item-info {
  flex: 1;
  min-width: 0;
}

.suggestion-item-title {
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  color: var(--color-text-primary);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.suggestion-item-title mark {
  background: rgba(160, 118, 74, 0.15);
  color: var(--color-text-accent);
  border-radius: 2px;
  padding: 0 1px;
  font-weight: var(--fw-semibold);
}

.suggestion-item-cat {
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
  margin-top: 1px;
}

.suggestion-no-results {
  padding: 20px 14px;
  text-align: center;
  color: var(--color-text-muted);
  font-size: var(--fs-small);
}

.suggestion-no-results svg {
  display: block;
  margin: 0 auto 8px;
  opacity: 0.3;
}

.suggestion-loading {
  padding: 16px 14px;
  text-align: center;
  color: var(--color-text-muted);
  font-size: var(--fs-small);
}

.suggestion-loading::after {
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid var(--color-border);
  border-top-color: var(--color-text-accent);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  vertical-align: middle;
  margin-left: 6px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.suggestion-view-all {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 14px;
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  color: var(--color-text-accent);
  background: var(--color-bg-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
  border-top: 1px solid var(--color-border);
  text-decoration: none;
}

.suggestion-view-all:hover {
  background: var(--color-bg-tertiary);
  color: var(--color-text-primary);
}

/* ---- Sort Right / Select ---- */
.sort-bar-right {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-shrink: 0;
}

.sort-bar-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  color: var(--color-text-muted);
  white-space: nowrap;
}

.sort-bar-label svg {
  opacity: 0.5;
}

.sort-select-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.sort-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 8px 36px 8px 14px;
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  color: var(--color-text-primary);
  cursor: pointer;
  transition: all var(--transition-fast);
  min-width: 160px;
  line-height: 1.4;
}

.sort-select:hover {
  border-color: var(--color-border-hover);
  background: var(--color-bg-card);
}

.sort-select:focus {
  outline: none;
  border-color: var(--color-text-accent);
  box-shadow: 0 0 0 3px rgba(160, 118, 74, 0.1);
}

.sort-select-arrow {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--color-text-muted);
  transition: transform var(--transition-fast);
}

.sort-select:focus+.sort-select-arrow {
  transform: translateY(-50%) rotate(180deg);
  color: var(--color-text-accent);
}

/* Sort bar responsive */
@media (max-width: 640px) {
  .sort-bar {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-sm);
    padding: 12px 16px;
  }

  .product-search {
    max-width: none;
  }

  .product-search-btn span {
    display: none;
  }

  .product-search-btn svg {
    display: block;
  }

  .product-search-btn {
    padding: 9px 12px;
  }

  .sort-bar-right {
    justify-content: space-between;
  }

  .sort-select {
    min-width: 0;
    flex: 1;
  }
}

/* ==========================================================================
   10. FEATURE / WHY CHOOSE US CARDS
   ========================================================================== */

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.feature-card {
  padding: var(--space-2xl);
  background: linear-gradient(180deg, var(--color-bg-card) 0%, rgba(253, 248, 240, 0.5) 100%);
  border: 1px solid var(--color-border-card);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.feature-card:hover {
  background: linear-gradient(180deg, var(--color-bg-card-hover) 0%, rgba(253, 245, 232, 0.8) 100%);
  border-color: rgba(196, 149, 96, 0.2);
  transform: translateY(-6px);
  box-shadow: 0 12px 35px rgba(196, 149, 96, 0.12), 0 4px 10px rgba(0, 0, 0, 0.05);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-lg);
  min-height: 56px;
}

.feature-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(160, 118, 74, 0.08);
  border: 1px solid rgba(160, 118, 74, 0.12);
  border-radius: var(--radius-md);
  color: var(--color-text-accent);
  font-size: 1.5rem;
  flex-shrink: 0;
}

.feature-icon--green {
  background: rgba(76, 175, 80, 0.08);
  border-color: rgba(76, 175, 80, 0.12);
  color: #2E7D32;
}

.feature-card h3 {
  font-size: var(--fs-h3);
  margin-bottom: var(--space-sm);
}

.feature-card p {
  color: var(--color-text-secondary);
  font-size: var(--fs-small);
  line-height: var(--lh-body);
  margin-bottom: 0;
  flex: 1;
}

.feature-tag {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(76, 175, 80, 0.06);
  border-radius: var(--radius-md);
  font-size: var(--fs-xs);
  color: #2E7D32;
  margin-top: var(--space-lg);
  font-weight: var(--fw-medium);
  line-height: 1.5;
}

.feature-tag svg {
  flex-shrink: 0;
  margin-top: 2px;
}

/* ==========================================================================
   11. FACTORY SHOWCASE / GALLERY
   ========================================================================== */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 280px);
  gap: var(--space-md);
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
}

.gallery-item:nth-child(1) {
  grid-column: 1 / 3;
  grid-row: 1 / 3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.7) 100%);
  display: flex;
  align-items: flex-end;
  padding: var(--space-lg);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.gallery-item:hover .overlay {
  opacity: 1;
}

.gallery-item .overlay span {
  color: #FFFFFF;
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
}

/* ==========================================================================
   12. CTA SECTION
   ========================================================================== */

.cta-section {
  text-align: center;
  padding: var(--space-3xl) var(--space-xl);
  position: relative;
  overflow: hidden;
  border-top: 2px solid transparent;
  border-image: linear-gradient(90deg, transparent 10%, rgba(196, 149, 96, 0.3) 30%, rgba(76, 175, 80, 0.2) 70%, transparent 90%) 1;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 1200px;
  height: 1200px;
  background: radial-gradient(ellipse,
      rgba(196, 149, 96, 0.22) 0%,
      rgba(180, 130, 80, 0.12) 25%,
      rgba(76, 175, 80, 0.06) 50%,
      transparent 65%);
  pointer-events: none;
  animation: ambientPulse 8s ease-in-out infinite;
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: var(--fs-h1);
  margin-bottom: var(--space-md);
}

.cta-content p {
  color: var(--color-text-secondary);
  font-size: var(--fs-body-lg);
  margin-bottom: var(--space-2xl);
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.cta-note {
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
  margin-top: var(--space-lg);
}

/* ==========================================================================
   13. BLOG / NEWS CARDS
   ========================================================================== */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.blog-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
}

.blog-card:hover {
  background: var(--color-bg-card-hover);
  border-color: rgba(196, 149, 96, 0.2);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(196, 149, 96, 0.1), 0 4px 8px rgba(0, 0, 0, 0.04);
}

.blog-card-image {
  aspect-ratio: 16/9;
  overflow: hidden;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.05);
}

.blog-card-body {
  padding: var(--space-lg);
}

.blog-card-date {
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
  margin-bottom: var(--space-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.blog-card-title {
  font-size: var(--fs-body);
  font-weight: var(--fw-semibold);
  color: var(--color-text-primary);
  margin-bottom: var(--space-sm);
  line-height: 1.4;
}

.blog-card-title a {
  color: inherit;
}

.blog-card-title a:hover {
  color: var(--color-text-accent);
}

.blog-card-excerpt {
  font-size: var(--fs-small);
  color: var(--color-text-secondary);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0;
}

/* ==========================================================================
   14. CONTACT FORM
   ========================================================================== */

.form-group {
  margin-bottom: var(--space-lg);
}

.form-group label {
  display: block;
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  color: var(--color-text-primary);
  margin-bottom: var(--space-sm);
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text-primary);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  transition: all var(--transition-fast);
  outline: none;
}

.form-control:focus {
  border-color: var(--color-text-accent);
  background: var(--color-bg-card);
  box-shadow: 0 0 0 3px rgba(160, 118, 74, 0.1);
}

.form-control::placeholder {
  color: var(--color-text-muted);
}

textarea.form-control {
  resize: vertical;
  min-height: 140px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

/* ==========================================================================
   15. FOOTER
   ========================================================================== */

.site-footer {
  background: var(--color-bg-secondary);
  border-top: 3px solid transparent;
  border-image: linear-gradient(90deg, transparent 5%, rgba(196, 149, 96, 0.4) 25%, rgba(76, 175, 80, 0.25) 50%, rgba(196, 149, 96, 0.4) 75%, transparent 95%) 1;
  padding: var(--space-4xl) 0 var(--space-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-3xl);
}

.footer-brand p {
  color: var(--color-text-secondary);
  font-size: var(--fs-small);
  line-height: var(--lh-body);
  margin-top: var(--space-md);
  margin-bottom: var(--space-lg);
}

.footer-brand .nav-logo {
  margin-bottom: var(--space-sm);
}

.footer-social {
  display: flex;
  gap: var(--space-sm);
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text-muted);
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  background: rgba(160, 118, 74, 0.1);
  border-color: rgba(160, 118, 74, 0.2);
  color: var(--color-text-accent);
  transform: translateY(-2px);
}

/* Footer Addresses */
.footer-addresses {
  margin-top: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.footer-address-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
  line-height: 1.6;
}

.footer-address-item strong {
  display: block;
  color: var(--color-text-secondary);
  font-weight: 600;
  margin-bottom: 2px;
}

.footer-col h4 {
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  color: var(--color-text-primary);
  margin-bottom: var(--space-lg);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer-col ul li {
  margin-bottom: var(--space-sm);
}

.footer-col ul a {
  color: var(--color-text-secondary);
  font-size: var(--fs-small);
  transition: all var(--transition-fast);
}

.footer-col ul a:hover {
  color: var(--color-text-accent);
  padding-left: 4px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-xl);
  border-top: 1px solid var(--color-border);
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
}

/* ==========================================================================
   16. FLOATING CONTACT BUTTONS
   ========================================================================== */

.float-buttons {
  position: fixed;
  bottom: var(--space-xl);
  right: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  z-index: 999;
}

.float-btn {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  transition: all var(--transition-base);
  text-decoration: none;
  color: white;
}

.float-btn:hover {
  transform: scale(1.1) translateY(-2px);
  color: white;
}

.float-btn--zalo {
  background: #0068FF;
}

.float-btn--whatsapp {
  background: #25D366;
}

.float-btn--phone {
  background: var(--gradient-primary);
}

.float-btn svg {
  width: 24px;
  height: 24px;
}

/* ==========================================================================
   17. PAGE: PRODUCT DETAIL (Bunnings-style PDP)
   ========================================================================== */

.pdp {
  padding-top: calc(var(--nav-height) + var(--space-xl));
}

/* ---- Hero Grid: Gallery Left + Info Right ---- */
.pdp-hero {
  padding-bottom: var(--space-3xl);
}

.pdp-grid {
  display: grid;
  grid-template-columns: 55% 1fr;
  gap: var(--space-3xl);
  align-items: start;
}

/* ---- Gallery ---- */
.pdp-gallery {
  position: sticky;
  top: calc(var(--nav-height) + var(--space-xl));
}

.pdp-gallery-main {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--color-bg-tertiary);
  border: 1px solid var(--color-border);
  margin-bottom: var(--space-md);
}

.pdp-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
}

.pdp-gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--color-border);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-primary);
  transition: all var(--transition-fast);
  z-index: 2;
  box-shadow: var(--shadow-sm);
}

.pdp-gallery-nav:hover {
  background: #fff;
  box-shadow: var(--shadow-md);
}

.pdp-gallery-prev {
  left: var(--space-md);
}

.pdp-gallery-next {
  right: var(--space-md);
}

.pdp-gallery-counter {
  position: absolute;
  bottom: var(--space-md);
  left: var(--space-md);
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: var(--fs-xs);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-weight: var(--fw-medium);
}

.pdp-gallery-thumbs {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.pdp-thumb {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition-fast);
  background: var(--color-bg-tertiary);
  flex-shrink: 0;
}

.pdp-thumb.active,
.pdp-thumb:hover {
  border-color: var(--color-text-accent);
}

.pdp-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---- Product Info ---- */
.pdp-info {
  display: flex;
  flex-direction: column;
}

.pdp-brand {
  display: inline-block;
  font-size: var(--fs-small);
  color: #0074B7;
  font-weight: var(--fw-semibold);
  margin-bottom: var(--space-sm);
  text-decoration: none;
}

.pdp-brand:hover {
  text-decoration: underline;
}

.pdp-title {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: var(--fw-bold);
  line-height: var(--lh-heading);
  margin-bottom: var(--space-sm);
  color: var(--color-text-primary);
}

.pdp-sku {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
  margin-bottom: var(--space-lg);
  flex-wrap: wrap;
}

.pdp-cert-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  background: rgba(76, 175, 80, 0.08);
  border: 1px solid rgba(76, 175, 80, 0.2);
  border-radius: var(--radius-full);
  color: #2e7d32;
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
}

.pdp-cert-badge svg {
  color: #4CAF50;
}

.pdp-excerpt {
  color: var(--color-text-secondary);
  font-size: var(--fs-small);
  line-height: var(--lh-body);
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid var(--color-border);
}

.pdp-excerpt p {
  margin-bottom: var(--space-sm);
}

.pdp-excerpt p:last-child {
  margin-bottom: 0;
}

/* ---- Size Variants ---- */
.pdp-sizes {
  margin-bottom: var(--space-xl);
}

.pdp-sizes-label {
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  color: var(--color-text-primary);
  margin-bottom: var(--space-sm);
}

.size-buttons {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.size-btn {
  padding: 8px 20px;
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text-secondary);
  font-size: var(--fs-small);
  cursor: pointer;
  transition: all var(--transition-fast);
  font-family: var(--font-body);
}

.size-btn:hover {
  border-color: var(--color-border-hover);
  color: var(--color-text-primary);
}

.pdp-excerpt {
  font-size: var(--fs-small);
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--color-border-card);
}

.size-btn.active {
  background: var(--gradient-primary);
  color: var(--color-bg-primary);
  border-color: transparent;
  font-weight: var(--fw-semibold);
}

/* Quick Specs Preview */
.pdp-quick-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
  padding: var(--space-lg);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-card);
  border-radius: var(--radius-lg);
}

.pdp-quick-spec {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pdp-quick-spec-label {
  font-size: 11px;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: var(--fw-medium);
}

.pdp-quick-spec-value {
  font-size: var(--fs-small);
  color: var(--color-text-primary);
  font-weight: var(--fw-semibold);
}

/* ---- How to Purchase / Inquiry ---- */
.pdp-purchase {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-card);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  box-shadow: var(--shadow-card);
}

.pdp-purchase-title {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--fs-h4);
  font-weight: var(--fw-semibold);
  color: var(--color-text-accent);
  margin-bottom: var(--space-sm);
}

.pdp-purchase-desc {
  font-size: var(--fs-small);
  color: var(--color-text-secondary);
  line-height: var(--lh-body);
  margin-bottom: var(--space-lg);
}

.pdp-form .form-group {
  margin-bottom: var(--space-sm);
}

.pdp-form .form-control {
  padding: 10px 14px;
  font-size: var(--fs-small);
}

.pdp-form textarea.form-control {
  min-height: 80px;
  resize: vertical;
}

.pdp-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}

.pdp-submit {
  justify-content: center;
}

/* Form action buttons â€” Request Quote + WhatsApp inline */
.pdp-form-actions {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.pdp-form-actions .btn {
  flex: 1;
  justify-content: center;
  text-align: center;
  font-size: var(--fs-small);
  padding: 10px var(--space-md);
  width: auto;
}

/* ---- Accordion Sections ---- */
.pdp-details {
  padding: var(--space-2xl) 0 var(--space-3xl);
  border-top: 1px solid var(--color-border);
}

.pdp-accordion {
  border-bottom: 1px solid var(--color-border);
}

.pdp-accordion:first-child {
  border-top: 1px solid var(--color-border);
}

.pdp-accordion-header {
  width: 100%;
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-xl) 0;
  background: none;
  border: none;
  cursor: pointer;
  font-size: var(--fs-h3);
  font-weight: var(--fw-bold);
  font-family: var(--font-heading);
  color: var(--color-text-primary);
  text-align: left;
}

.pdp-accordion-indicator {
  width: 4px;
  height: 24px;
  background: var(--gradient-primary);
  border-radius: 2px;
  flex-shrink: 0;
}

.pdp-accordion-arrow {
  margin-left: auto;
  transition: transform 0.3s ease;
  color: var(--color-text-muted);
}

.pdp-accordion.active .pdp-accordion-arrow {
  transform: rotate(180deg);
}

.pdp-accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0 0 0 calc(4px + var(--space-md));
}

.pdp-accordion.active .pdp-accordion-body {
  max-height: 800px;
  padding-bottom: var(--space-2xl);
}

/* Specs Table in Accordion */
.pdp-specs-table {
  width: 100%;
  border-collapse: collapse;
  max-width: 600px;
}

.pdp-specs-table tr {
  border-bottom: 1px solid var(--color-border);
}

.pdp-specs-table tr:last-child {
  border-bottom: none;
}

.pdp-specs-table td {
  padding: var(--space-md) var(--space-lg) var(--space-md) 0;
  font-size: var(--fs-small);
}

.pdp-specs-table td:first-child {
  color: var(--color-text-muted);
  font-weight: var(--fw-medium);
  width: 40%;
}

.pdp-specs-table td:last-child {
  color: var(--color-text-primary);
}

/* Shipping/Cert List */
.pdp-shipping-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pdp-shipping-list li {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) 0;
  font-size: var(--fs-small);
  color: var(--color-text-secondary);
}

.pdp-features-content {
  color: var(--color-text-secondary);
  line-height: var(--lh-body);
  font-size: var(--fs-small);
}

.pdp-features-content ul {
  padding-left: var(--space-xl);
}

.pdp-features-content li {
  margin-bottom: var(--space-sm);
}

/* ---- Related Products ---- */
.pdp-related {
  padding: var(--space-3xl) 0;
  background: var(--color-bg-secondary);
  border-top: 1px solid var(--color-border);
}

/* ---- Sticky Bottom Bar ---- */
.pdp-sticky-bar {
  position: sticky;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(253, 252, 250, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--color-border);
  padding: var(--space-md) 0;
  z-index: 100;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.06);
}

.pdp-sticky-bar.visible {
  transform: translateY(0);
}

.pdp-sticky-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pdp-sticky-info {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  min-width: 0;
}

.pdp-sticky-thumb {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid var(--color-border);
}

.pdp-sticky-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pdp-sticky-title {
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  color: var(--color-text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 400px;
}

.pdp-sticky-actions {
  display: flex;
  gap: var(--space-sm);
  flex-shrink: 0;
}



/* ==========================================================================
   18. PAGE: ABOUT
   ========================================================================== */

.about-hero {
  padding-top: calc(var(--nav-height) + var(--space-md));
  padding-bottom: var(--space-lg);
  text-align: center;
}

.timeline {
  position: relative;
  padding-left: var(--space-3xl);
}

.timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gradient-primary);
  opacity: 0.3;
}

.timeline-item {
  position: relative;
  margin-bottom: var(--space-3xl);
  padding: var(--space-xl);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-card);
  border-radius: var(--radius-lg);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: calc(-1 * var(--space-3xl) + 14px);
  top: var(--space-xl);
  width: 14px;
  height: 14px;
  background: var(--gradient-primary);
  border-radius: 50%;
  border: 3px solid var(--color-bg-card);
}

.timeline-date {
  display: inline-block;
  font-size: var(--fs-h3);
  font-weight: 700;
  color: var(--color-primary);
  margin-right: var(--space-md);
  letter-spacing: -0.02em;
  line-height: 1;
  vertical-align: middle;
}

.timeline-year {
  display: inline-block;
  padding: 2px 12px;
  background: rgba(160, 118, 74, 0.06);
  border-radius: var(--radius-full);
  font-size: var(--fs-xs);
  color: var(--color-text-accent);
  font-weight: var(--fw-semibold);
  margin-bottom: var(--space-sm);
  vertical-align: middle;
}

/* ==========================================================================
   19. PAGE: CONTACT
   ========================================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
}

.contact-info-card {
  padding: var(--space-xl);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-card);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-lg);
  display: flex;
  gap: var(--space-lg);
  align-items: flex-start;
  transition: all var(--transition-base);
}

.contact-info-card:hover {
  border-color: var(--color-border-hover);
  background: var(--color-bg-card-hover);
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 165, 116, 0.1);
  border-radius: var(--radius-md);
  color: var(--color-text-accent);
}

.contact-info-card h4 {
  font-size: var(--fs-body);
  margin-bottom: var(--space-xs);
}

.contact-info-card p {
  color: var(--color-text-secondary);
  font-size: var(--fs-small);
  margin-bottom: 0;
}

.contact-map-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-size: var(--fs-xs);
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
  transition: color var(--transition-base);
}

.contact-map-link:hover {
  color: var(--color-primary-dark);
  text-decoration: underline;
}

.contact-map-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding: 6px 14px;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #4285F4, #34A853);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all var(--transition-base);
  box-shadow: 0 2px 8px rgba(66, 133, 244, 0.3);
}

.contact-map-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(66, 133, 244, 0.4);
  color: #fff;
}

.contact-map-btn svg {
  stroke: #fff;
}

.contact-form-wrapper {
  padding: var(--space-2xl);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-card);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
}

.contact-form-wrapper h3 {
  margin-bottom: var(--space-xl);
}

/* ==========================================================================
   20. BLOG LISTING / ARCHIVE
   ========================================================================== */

.archive-header {
  padding-top: calc(var(--nav-height) + var(--space-xl));
  padding-bottom: var(--space-lg);
  text-align: center;
}

body.post-type-archive-product .product-grid,
body.tax-product_cat .product-grid,
body.home #products-grid,
body.blog #products-grid,
body.post-type-archive-product #products-grid,
body.tax-product_cat #products-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: var(--space-lg);
  align-items: start;
  justify-content: stretch;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-sm);
  margin-top: var(--space-xl);
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  transition: all var(--transition-fast);
  line-height: 1;
  white-space: nowrap;
}

.pagination a {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  color: var(--color-text-secondary);
}

.pagination a:hover {
  background: var(--color-bg-secondary);
  border-color: var(--color-border-hover);
  color: var(--color-text-primary);
}

.pagination .current {
  background: var(--gradient-primary);
  color: var(--color-bg-primary);
  font-weight: var(--fw-semibold);
}

.pagination .page-end {
  width: auto;
  min-width: 62px;
  padding: 0 12px;
  gap: 4px;
}

/* ==========================================================================
   21. BREADCRUMBS
   ========================================================================== */

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.875rem;
  color: var(--color-text-muted);
  padding: var(--space-xs) 0;
}

.breadcrumbs a {
  color: var(--color-text-muted);
}

.breadcrumbs a:hover {
  color: var(--color-text-accent);
}

.breadcrumbs .sep {
  color: var(--color-text-muted);
  opacity: 0.5;
}

/* ==========================================================================
   22. 404 PAGE
   ========================================================================== */

.page-404 {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-3xl) var(--space-xl);
}

.page-404 h1 {
  font-size: clamp(5rem, 15vw, 12rem);
  font-weight: var(--fw-extrabold);
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: var(--space-md);
}

.page-404 p {
  font-size: var(--fs-body-lg);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-2xl);
}

.page-404 .hero-cta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* ==========================================================================
   23. UTILITY CLASSES
   ========================================================================== */

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.mt-0 {
  margin-top: 0;
}

.mt-1 {
  margin-top: var(--space-sm);
}

.mt-2 {
  margin-top: var(--space-md);
}

.mt-3 {
  margin-top: var(--space-lg);
}

.mt-4 {
  margin-top: var(--space-xl);
}

.mt-5 {
  margin-top: var(--space-lg);
}

.mb-0 {
  margin-bottom: 0;
}

.mb-1 {
  margin-bottom: var(--space-sm);
}

.mb-2 {
  margin-bottom: var(--space-md);
}

.mb-3 {
  margin-bottom: var(--space-lg);
}

.mb-4 {
  margin-bottom: var(--space-xl);
}

.mb-5 {
  margin-bottom: var(--space-2xl);
}

.flex {
  display: flex;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hidden {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   TEAM / LEADERSHIP
   ========================================================================== */

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.team-card {
  padding: var(--space-2xl);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-card);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  text-align: center;
  transition: all var(--transition-base);
}

.team-card:hover {
  background: var(--color-bg-card-hover);
  border-color: var(--color-border-hover);
  transform: translateY(-4px);
}

.team-avatar {
  width: 88px;
  height: 88px;
  margin: 0 auto var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  color: var(--color-bg-primary);
  opacity: 0.9;
}

.team-card h3 {
  font-size: var(--fs-h4);
  margin-bottom: var(--space-xs);
}

.team-role {
  display: inline-block;
  padding: 2px 14px;
  background: rgba(160, 118, 74, 0.06);
  border-radius: var(--radius-full);
  font-size: var(--fs-xs);
  color: var(--color-text-accent);
  font-weight: var(--fw-medium);
  margin-bottom: var(--space-md);
}

.team-card p {
  color: var(--color-text-secondary);
  font-size: var(--fs-small);
  line-height: var(--lh-body);
  margin-bottom: var(--space-md);
}

.team-contact {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
}

.team-contact a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text-muted);
  transition: all var(--transition-fast);
}

.team-contact a:hover {
  background: rgba(160, 118, 74, 0.1);
  border-color: rgba(160, 118, 74, 0.2);
  color: var(--color-text-accent);
  transform: translateY(-2px);
}

/* Step number overlay */
.step-number {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: var(--fw-extrabold);
  color: rgba(0, 0, 0, 0.06);
  line-height: 1;
  margin-top: 4px;
  pointer-events: none;
  flex-shrink: 0;
}

/* Divider â€” Gradient */
.section-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(196, 149, 96, 0.25) 20%, rgba(160, 118, 74, 0.4) 50%, rgba(76, 175, 80, 0.2) 80%, transparent 100%);
  margin: 0;
  border: none;
}

/* Reveal animation targets */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-delay-4 {
  transition-delay: 0.4s;
}

/* Glow line decorations */
.glow-line {
  width: 80px;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 2px;
  margin: var(--space-lg) auto;
}

/* ==========================================================================
   GRADIENT DECORATIONS & AMBIENT EFFECTS
   ========================================================================== */

/* ---- Hero Decorative Gradient Orbs ---- */
.hero-decor {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}

.hero-decor--1 {
  width: 900px;
  height: 900px;
  top: -200px;
  right: -150px;
  background: radial-gradient(circle, rgba(196, 149, 96, 0.22) 0%, rgba(180, 130, 80, 0.10) 28%, rgba(160, 118, 74, 0.03) 46%, transparent 63%);
  filter: blur(96px);
  animation: floatOrb1 10s ease-in-out infinite;
}

.hero-decor--2 {
  width: 700px;
  height: 700px;
  bottom: -100px;
  left: -200px;
  background: radial-gradient(circle, rgba(46, 125, 50, 0.12) 0%, rgba(56, 142, 60, 0.05) 32%, rgba(76, 175, 80, 0.02) 52%, transparent 68%);
  filter: blur(104px);
  animation: floatOrb2 12s ease-in-out infinite;
}

.hero-decor--3 {
  width: 500px;
  height: 500px;
  top: 15%;
  right: 5%;
  background: radial-gradient(circle, rgba(212, 165, 116, 0.35) 0%, rgba(196, 149, 96, 0.15) 35%, transparent 65%);
  filter: blur(70px);
  animation: floatOrb3 14s ease-in-out infinite;
}

.hero-decor--4 {
  width: 450px;
  height: 450px;
  bottom: 5%;
  left: 15%;
  background: radial-gradient(circle, rgba(46, 125, 50, 0.18) 0%, rgba(56, 142, 60, 0.06) 45%, transparent 70%);
  filter: blur(75px);
  animation: floatOrb1 11s ease-in-out infinite reverse;
}

/* ---- Ambient Glow ---- */
.ambient-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(100px);
  will-change: transform;
}

.ambient-glow--amber {
  background: radial-gradient(circle, rgba(196, 149, 96, 0.30) 0%, rgba(196, 149, 96, 0.12) 30%, transparent 65%);
  animation: ambientPulse 8s ease-in-out infinite;
}

/* ---- Section Gradient Backgrounds ---- */
.section--gradient-warm {
  background: var(--gradient-section-warm);
  position: relative;
}

.section--gradient-cool {
  background: var(--gradient-section-cool);
  position: relative;
}

.section--gradient-mesh {
  background: var(--gradient-section-mesh);
  position: relative;
}

/* Section Gradient Orb Decorations */
.section-gradient-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(80px);
  will-change: transform;
}

.section-gradient-orb--left {
  width: 500px;
  height: 500px;
  top: -120px;
  left: -200px;
  background: radial-gradient(circle, rgba(196, 149, 96, 0.18) 0%, rgba(196, 149, 96, 0.06) 45%, transparent 70%);
  animation: floatOrb2 14s ease-in-out infinite;
}

.section-gradient-orb--right {
  width: 450px;
  height: 450px;
  bottom: -100px;
  right: -150px;
  background: radial-gradient(circle, rgba(76, 175, 80, 0.14) 0%, rgba(76, 175, 80, 0.04) 45%, transparent 70%);
  animation: floatOrb3 16s ease-in-out infinite;
}

.section-gradient-orb--center {
  width: 600px;
  height: 600px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(212, 165, 116, 0.12) 0%, rgba(212, 165, 116, 0.04) 40%, transparent 60%);
  animation: ambientPulse 10s ease-in-out infinite;
}

/* ---- Gradient Divider (fancy) ---- */
.gradient-divider {
  width: 100%;
  height: 2px;
  margin: 0;
  border: none;
  position: relative;
  background: linear-gradient(90deg,
      transparent 0%,
      rgba(196, 149, 96, 0.15) 15%,
      rgba(196, 149, 96, 0.4) 35%,
      rgba(160, 118, 74, 0.5) 50%,
      rgba(76, 175, 80, 0.3) 65%,
      rgba(76, 175, 80, 0.15) 85%,
      transparent 100%);
}

.gradient-divider::after {
  content: '';
  position: absolute;
  top: -4px;
  left: 20%;
  right: 20%;
  height: 10px;
  background: linear-gradient(90deg,
      transparent,
      rgba(196, 149, 96, 0.08),
      rgba(160, 118, 74, 0.12),
      rgba(76, 175, 80, 0.06),
      transparent);
  filter: blur(6px);
}

/* ---- Gradient Glow Line (animated) ---- */
.glow-line-animated {
  width: 120px;
  height: 3px;
  border-radius: 2px;
  margin: var(--space-lg) auto;
  background: linear-gradient(90deg, #C49560, #A0764A, #4CAF50, #A0764A, #C49560);
  background-size: 200% 100%;
  animation: gradientShift 4s ease-in-out infinite;
}

/* ---- Float Animations ---- */
@keyframes floatOrb1 {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  25% {
    transform: translate(25px, -15px) scale(1.04);
  }

  50% {
    transform: translate(-10px, 20px) scale(1.02);
  }

  75% {
    transform: translate(15px, 10px) scale(0.98);
  }
}

@keyframes floatOrb2 {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(-20px, 15px) scale(1.03);
  }

  66% {
    transform: translate(15px, -20px) scale(0.97);
  }
}

@keyframes floatOrb3 {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(18px, -12px) scale(1.05);
  }
}

@keyframes ambientPulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.7;
    transform: scale(1.08);
  }
}

@keyframes heroGlowPulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.6;
    transform: scale(1.1);
  }
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {

  .hero-decor,
  .ambient-glow,
  .section-gradient-orb,
  .glow-line-animated {
    animation: none !important;
  }

  .hero::before {
    animation: none !important;
  }
}

/* Map container */
.map-container {
  width: 100%;
  height: 400px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--color-border);
  margin-top: var(--space-2xl);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: none;
}

/* Success / Error states */
.form-success {
  padding: var(--space-lg);
  background: rgba(76, 175, 80, 0.06);
  border: 1px solid rgba(76, 175, 80, 0.15);
  border-radius: var(--radius-md);
  color: #2E7D32;
  font-size: var(--fs-small);
  margin-bottom: var(--space-lg);
}

.form-error {
  padding: var(--space-lg);
  background: rgba(244, 67, 54, 0.06);
  border: 1px solid rgba(244, 67, 54, 0.15);
  border-radius: var(--radius-md);
  color: #C62828;
  font-size: var(--fs-small);
  margin-bottom: var(--space-lg);
}

/* Loading spinner */
.spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(0, 0, 0, 0.1);
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* No products message */
.no-products {
  text-align: center;
  padding: var(--space-4xl) var(--space-xl);
  color: var(--color-text-muted);
}

/* Related products section */
.related-products {
  margin-top: var(--space-4xl);
  padding-top: var(--space-3xl);
  border-top: 1px solid var(--color-border);
}

/* Single post */
.single-post-header {
  padding-top: calc(var(--nav-height) + var(--space-4xl));
  padding-bottom: var(--space-3xl);
  text-align: center;
}

.single-post-content {
  max-width: var(--container-narrow);
  margin: 0 auto;
  font-size: var(--fs-body-lg);
  line-height: 1.8;
}

.single-post-content h2,
.single-post-content h3,
.single-post-content h4 {
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
}

.single-post-content p {
  margin-bottom: var(--space-lg);
}

.single-post-content img {
  border-radius: var(--radius-lg);
  margin: var(--space-xl) 0;
}

.single-post-content ul,
.single-post-content ol {
  padding-left: var(--space-xl);
  margin-bottom: var(--space-lg);
}

.single-post-content ul {
  list-style: disc;
}

.single-post-content ol {
  list-style: decimal;
}

.single-post-content li {
  margin-bottom: var(--space-sm);
}

.single-post-content blockquote {
  padding: var(--space-lg) var(--space-xl);
  border-left: 3px solid var(--color-text-accent);
  background: var(--color-bg-card);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: var(--space-xl) 0;
  font-style: italic;
  color: var(--color-text-primary);
}

/* Post navigation */
.post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  margin-top: var(--space-3xl);
  padding-top: var(--space-2xl);
  border-top: 1px solid var(--color-border);
}

.post-nav a {
  padding: var(--space-lg);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-card);
  border-radius: var(--radius-lg);
  color: var(--color-text-secondary);
  font-size: var(--fs-small);
  transition: all var(--transition-base);
}

.post-nav a:hover {
  border-color: var(--color-border-hover);
  color: var(--color-text-primary);
}

.post-nav .label {
  display: block;
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
  margin-bottom: var(--space-xs);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ==========================================================================
   About Page â€” Factory Sections
   ========================================================================== */

.about-factory-section {
  padding: var(--space-xl) 0 var(--space-2xl);
}

.about-factory-section+.about-factory-section {
  padding-top: 0;
}

/* Factory Name Header */
.about-factory-header {
  max-width: 1280px;
  margin: 0 auto var(--space-lg);
  padding: 0 var(--space-lg);
}

.about-factory-name {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--fs-h4);
  font-weight: 700;
  color: var(--color-primary);
  margin: 0;
}

.about-factory-name svg {
  color: var(--color-accent);
  flex-shrink: 0;
}

/* Factory Stats Row */
.about-factory-stats {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  max-width: 1280px;
  margin: 0 auto var(--space-xl);
  padding: 0 var(--space-lg);
  flex-wrap: wrap;
}

.about-factory-stats .stat-card {
  flex: 1;
  min-width: 180px;
  max-width: 300px;
}

/* Factory Image â€” Full Width */
.about-factory-image {
  width: 100%;
  padding: 0;
}

.about-factory-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 600px;
}

/* Responsive */
@media (max-width: 768px) {
  .about-factory-header {
    padding: 0 var(--space-md);
  }

  .about-factory-stats {
    padding: 0 var(--space-md);
    gap: var(--space-sm);
  }

  .about-factory-stats .stat-card {
    min-width: 140px;
  }

  .about-factory-name {
    font-size: var(--fs-h5);
  }
}

/* ==========================================================================
   About Page â€” Company Highlights
   ========================================================================== */

/* Partner Logos */
.partner-logos {
  max-width: 900px;
  margin: 0 auto var(--space-lg);
  text-align: center;
}

.partner-logos-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--color-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-lg);
}

.partner-logos-title svg {
  color: var(--color-primary);
}

.partner-logos-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-xl) var(--space-2xl);
  padding: var(--space-lg) var(--space-xl);
  background: rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-lg);
}

.partner-logo-item {
  flex: 0 0 auto;
}

.partner-logo-item img {
  max-height: 56px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.partner-logo-item img:hover {
  transform: scale(1.15);
}

.partner-logos-placeholder {
  color: var(--color-text-tertiary);
  font-size: var(--fs-small);
  font-style: italic;
  margin: 0;
  padding: var(--space-md) 0;
}

/* Highlights Stats Grid */
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  max-width: 900px;
  margin: 0 auto;
}

.highlight-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-card);
  border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-lg);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.highlight-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.highlight-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #8B6914, #5a3a10);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
  color: #fff;
}

.highlight-icon--green {
  background: linear-gradient(135deg, #2d8a4e, #1a6b35);
}

.highlight-icon--blue {
  background: linear-gradient(135deg, #2d6b8a, #1a4b6b);
}

.highlight-card h3 {
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--color-text-secondary);
  margin: var(--space-sm) 0 0;
}

.highlight-stat {
  font-size: var(--fs-h2);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.1;
}

.highlight-value {
  font-size: var(--fs-base);
  font-weight: 700;
  color: var(--color-primary);
  margin: var(--space-xs) 0 0;
  letter-spacing: 0.02em;
  line-height: 1.4;
}

@media (max-width: 640px) {
  .highlights-grid {
    grid-template-columns: 1fr;
  }

  .highlight-stat {
    font-size: var(--fs-h3);
  }

  .partner-logos-grid {
    padding: var(--space-md);
    gap: var(--space-md);
  }

  .partner-logo-item img {
    max-height: 36px;
    max-width: 100px;
  }
}

/* â”€â”€â”€ Documents Page â”€â”€â”€ */
.doc-content-wrapper {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-card);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
}

.doc-content-wrapper h2,
.doc-content-wrapper h3 {
  margin-top: var(--space-xl);
  margin-bottom: var(--space-md);
}

.doc-content-wrapper h2:first-child,
.doc-content-wrapper h3:first-child {
  margin-top: 0;
}

.doc-content-wrapper table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-md) 0;
}

.doc-content-wrapper th,
.doc-content-wrapper td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--color-border-card);
  font-size: var(--fs-small);
}

.doc-content-wrapper th {
  background: var(--color-bg-subtle);
  font-weight: 700;
  color: var(--color-text);
}

.doc-content-wrapper tr:hover td {
  background: rgba(0, 0, 0, 0.02);
}

.doc-content-wrapper a {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
}

.doc-content-wrapper a:hover {
  text-decoration: underline;
}

/* â”€â”€â”€ Export Markets Section â”€â”€â”€ */
.export-markets-section {
  background: linear-gradient(180deg,
      var(--color-bg-secondary) 0%,
      rgba(230, 240, 230, 0.3) 50%,
      var(--color-bg-secondary) 100%);
  position: relative;
  overflow: hidden;
}

.export-markets-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -150px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(76, 175, 80, 0.06) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

.export-map-wrapper {
  max-width: 960px;
  margin: 0 auto;
}

.export-map-container {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-card);
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
  margin-bottom: var(--space-xl);
  box-shadow: var(--shadow-sm);
}

.export-map-visual {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius-md);
}

.export-map-bg {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.5;
  filter: saturate(0.3);
}

#export-routes-canvas {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
}

/* Markers */
.export-marker {
  position: absolute;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.export-marker::before {
  content: attr(data-name);
  position: absolute;
  bottom: 120%;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 11px;
  font-weight: 700;
  color: #5a4510;
  text-shadow: 0 0 4px #fff, 0 0 4px #fff;
  font-family: var(--font-body);
}

.export-marker::after {
  content: '';
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .3);
}

.export-dest::after {
  background: #8B6914;
}

.export-origin::after {
  width: 16px;
  height: 16px;
  background: #4a7c59;
  animation: originPulse 2s ease-in-out infinite;
}

.export-origin::before {
  color: #4a7c59;
  font-size: 13px;
  font-weight: 700;
}

/* Origin pulse ring */
.export-origin {
  box-shadow: none;
}

.export-origin .pulse-ring,
.export-marker.export-origin::after {
  box-shadow: 0 0 0 0 rgba(74, 124, 89, 0.4);
  animation: originPulse 2s ease-in-out infinite;
}

@keyframes originPulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(74, 124, 89, 0.4);
  }

  50% {
    box-shadow: 0 0 0 10px rgba(74, 124, 89, 0);
  }
}

.export-stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-md);
}

.export-stat-item {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-card);
  border-radius: 24px;
  padding: 14px 14px 16px;
  transition: all var(--transition-fast);
  min-height: 128px;
}

.export-stat-item:hover {
  box-shadow: var(--shadow-card);
  border-color: rgba(196, 149, 96, 0.24);
  transform: translateY(-4px);
}

.export-stat-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.export-stat-flag {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 42px;
  padding: 6px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(160, 118, 74, 0.18);
  box-shadow: inset 0 0 0 1px rgba(160, 118, 74, 0.06), 0 2px 10px rgba(160, 118, 74, 0.08);
}

.export-stat-flag img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 0;
}

.export-stat-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.export-stat-info strong {
  display: block;
  font-size: 0.98rem;
  color: var(--color-text-primary);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.export-stat-meta {
  font-size: 0.88rem;
  color: var(--color-text-secondary);
  line-height: 1.45;
}

@media (max-width: 768px) {
  .export-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .export-map-container {
    padding: var(--space-sm);
  }

  .export-stat-info strong {
    font-size: 0.94rem;
  }

  .export-stat-meta {
    font-size: 0.84rem;
  }
}

@media (max-width: 480px) {
  .export-stats {
    grid-template-columns: 1fr;
  }
}

/* ===========================================
   BACK TO TOP BUTTON
   =========================================== */
.back-to-top {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0,0,0,0.08);
  color: #888;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s, visibility 0.35s, transform 0.35s, background 0.2s;
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.back-to-top:hover {
  background: rgba(0,0,0,0.15);
  color: #555;
  transform: translateX(-50%) translateY(-3px);
}

/* ===========================================
   COOKIE CONSENT BANNER
   =========================================== */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  background: var(--color-bg-card, #fff);
  border-top: 1px solid var(--color-border, rgba(0,0,0,0.08));
  box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
  animation: slideUpCookie 0.4s ease-out;
}

@keyframes slideUpCookie {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.cookie-consent-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.cookie-consent-inner p {
  flex: 1;
  margin: 0;
  font-size: var(--fs-sm, 0.875rem);
  color: var(--color-text-secondary, #666);
  line-height: 1.5;
}

.cookie-consent-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.cookie-consent .btn-sm {
  padding: 8px 20px;
  font-size: 0.8125rem;
  border-radius: 999px;
}

.cookie-consent .btn-outline {
  background: transparent;
  border: 1px solid var(--color-border, rgba(0,0,0,0.15));
  color: var(--color-text-secondary, #666);
}

.cookie-consent .btn-outline:hover {
  background: var(--color-bg-alt, #f5f5f0);
}

@media (max-width: 640px) {
  .cookie-consent-inner {
    flex-direction: column;
    text-align: center;
    gap: 12px;
    padding: 16px;
  }
}

/* ===========================================
   FOOTER SOCIAL ICONS
   =========================================== */
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: var(--space-md, 12px);
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-bg-alt, #f0ede8);
  color: var(--color-text-secondary, #666);
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.footer-social a:hover {
  background: var(--color-primary);
  color: #fff;
  transform: translateY(-2px);
}

/* ===========================================
   PAGE TRANSITIONS
   =========================================== */
.page-transition {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-bg, #FDFCFA);
  z-index: 99999;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.35s ease-out;
}

.page-transition.loaded {
  opacity: 0;
}

.page-transition.leaving {
  opacity: 1;
  pointer-events: all;
  transition: opacity 0.25s ease-in;
}

/* Content fade-up on page load */
body.page-loaded .site-nav,
body.page-loaded main,
body.page-loaded .pdp,
body.page-loaded .page-hero,
body.page-loaded footer {
  animation: pageContentIn 0.4s ease-out both;
}

@keyframes pageContentIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* SOURCE: gemmywood-wordpress-site\wordpress\wp-content\themes\gemmywood-premium\css\animations.css */

/* ==========================================================================
   ANIMATIONS â€” Scroll reveal, hover effects, keyframes
   ========================================================================== */

/* Floating animation for decorative elements */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes float-slow {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(3deg); }
}

/* Pulse glow for buttons/elements */
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(160, 118, 74, 0.1); }
  50% { box-shadow: 0 0 40px rgba(160, 118, 74, 0.2); }
}

/* Gradient shift animation */
@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Fade in from various directions */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Scale in */
@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Slide in from bottom with bounce */
@keyframes slideInBounce {
  0% {
    opacity: 0;
    transform: translateY(60px);
  }
  60% {
    opacity: 1;
    transform: translateY(-8px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Count up animation helper */
@keyframes countUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Shimmer loading effect */
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* Border glow animation */
@keyframes border-glow {
  0%, 100% {
    border-color: rgba(160, 118, 74, 0.08);
  }
  50% {
    border-color: rgba(160, 118, 74, 0.2);
  }
}

/* Rotate subtle */
@keyframes rotate-subtle {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ==========================================================================
   HERO ANIMATIONS
   ========================================================================== */

.hero-content {
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.hero-badge {
  animation: fadeInDown 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both;
}

.hero h1 {
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.3s both;
}

.hero-subtitle {
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.4s both;
}

.hero-cta {
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.5s both;
}

.hero-trust {
  animation: fadeIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.7s both;
}

.stats-bar .stat-item:nth-child(1) { animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.6s both; }
.stats-bar .stat-item:nth-child(2) { animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.7s both; }
.stats-bar .stat-item:nth-child(3) { animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.8s both; }
.stats-bar .stat-item:nth-child(4) { animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.9s both; }

/* ==========================================================================
   DECORATIVE FLOATING ELEMENTS
   ========================================================================== */

.hero-decor {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.hero-decor--1 {
  top: 20%;
  left: 8%;
  width: 120px;
  height: 120px;
  border: 1px solid rgba(160, 118, 74, 0.08);
  border-radius: var(--radius-xl);
  transform: rotate(15deg);
  animation: float-slow 8s ease-in-out infinite;
}

.hero-decor--2 {
  bottom: 25%;
  right: 10%;
  width: 80px;
  height: 80px;
  background: rgba(160, 118, 74, 0.06);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

.hero-decor--3 {
  top: 35%;
  right: 15%;
  width: 6px;
  height: 6px;
  background: var(--color-text-accent);
  border-radius: 50%;
  opacity: 0.4;
  animation: float 4s ease-in-out infinite 1s;
}

.hero-decor--4 {
  bottom: 40%;
  left: 12%;
  width: 4px;
  height: 4px;
  background: #4CAF50;
  border-radius: 50%;
  opacity: 0.4;
  animation: float 5s ease-in-out infinite 2s;
}

/* ==========================================================================
   CARD HOVER EFFECTS
   ========================================================================== */

/* Subtle border glow on hover */
.product-card::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(160,118,74,0.08) 0%, transparent 50%, rgba(160,118,74,0.04) 100%);
  opacity: 0;
  transition: opacity var(--transition-base);
  z-index: -1;
  pointer-events: none;
}

.product-card:hover::after {
  opacity: 1;
}

/* Feature card step numbers */
.feature-card .step-number {
  position: absolute;
  top: var(--space-lg);
  right: var(--space-lg);
  font-size: 4rem;
  font-weight: var(--fw-extrabold);
  color: rgba(0, 0, 0, 0.04);
  line-height: 1;
  font-family: var(--font-heading);
}

/* ==========================================================================
   LOADING / SKELETON STATES
   ========================================================================== */

.skeleton {
  background: linear-gradient(90deg, 
    var(--color-bg-secondary) 25%, 
    rgba(255,255,255,0.8) 50%, 
    var(--color-bg-secondary) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s ease-in-out infinite;
  border-radius: var(--radius-sm);
}

.skeleton-text {
  height: 16px;
  margin-bottom: var(--space-sm);
}

.skeleton-title {
  height: 24px;
  width: 70%;
  margin-bottom: var(--space-md);
}

.skeleton-image {
  aspect-ratio: 4/3;
}

/* ==========================================================================
   SCROLL PROGRESS BAR
   ========================================================================== */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: var(--gradient-primary);
  z-index: 1001;
  transition: width 0.1s linear;
  width: 0%;
}

/* ==========================================================================
   NAV ANIMATION
   ========================================================================== */

.site-nav {
  animation: fadeInDown 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* ==========================================================================
   MOBILE MENU ANIMATION
   ========================================================================== */

.nav-menu-mobile {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(253, 252, 250, 0.97);
  backdrop-filter: blur(var(--blur-xl));
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

.nav-menu-mobile.active {
  opacity: 1;
  visibility: visible;
}

.nav-menu-mobile a {
  font-size: var(--fs-h3);
  font-weight: var(--fw-semibold);
  color: var(--color-text-secondary);
  padding: var(--space-sm) var(--space-xl);
  transition: all var(--transition-fast);
  opacity: 0;
  transform: translateY(20px);
}

.nav-menu-mobile.active a {
  opacity: 1;
  transform: translateY(0);
}

.nav-menu-mobile.active a:nth-child(1) { transition-delay: 0.1s; }
.nav-menu-mobile.active a:nth-child(2) { transition-delay: 0.15s; }
.nav-menu-mobile.active a:nth-child(3) { transition-delay: 0.2s; }
.nav-menu-mobile.active a:nth-child(4) { transition-delay: 0.25s; }
.nav-menu-mobile.active a:nth-child(5) { transition-delay: 0.3s; }
.nav-menu-mobile.active a:nth-child(6) { transition-delay: 0.35s; }
.nav-menu-mobile.active a:nth-child(7) { transition-delay: 0.4s; }

.nav-menu-mobile a:hover {
  color: var(--color-text-accent);
}

/* ==========================================================================
   IMAGE LIGHTBOX
   ========================================================================== */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(var(--blur-lg));
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
  cursor: zoom-out;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: var(--radius-lg);
  transform: scale(0.9);
  transition: transform var(--transition-base);
}

.lightbox.active img {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: var(--space-xl);
  right: var(--space-xl);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

/* ==========================================================================
   PARTICLE / AMBIENT EFFECTS
   ========================================================================== */

.ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.ambient-glow--amber {
  background: rgba(160, 118, 74, 0.05);
}

.ambient-glow--green {
  background: rgba(76, 175, 80, 0.04);
}

/* ==========================================================================
   SCROLL-TRIGGERED REVEAL SYSTEM
   ========================================================================== */

/* --- Base reveal state (hidden) --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

/* --- Revealed state (visible) --- */
.reveal.revealed {
  opacity: 1;
  transform: translateY(0) !important;
}

/* --- Direction variants --- */
.reveal-up {
  opacity: 0;
  transform: translateY(60px);
  transition:
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-up.revealed {
  opacity: 1;
  transform: translateY(0) !important;
}

.reveal-down {
  opacity: 0;
  transform: translateY(-40px);
  transition:
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-down.revealed {
  opacity: 1;
  transform: translateY(0) !important;
}

.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition:
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-left.revealed {
  opacity: 1;
  transform: translateX(0) !important;
}

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition:
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-right.revealed {
  opacity: 1;
  transform: translateX(0) !important;
}

/* --- Scale variant --- */
.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition:
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-scale.revealed {
  opacity: 1;
  transform: scale(1) !important;
}

/* --- Fade-only variant --- */
.reveal-fade {
  opacity: 0;
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity;
}

.reveal-fade.revealed {
  opacity: 1;
}

/* --- Stagger children (auto-delay via CSS) --- */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-stagger.revealed > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger.revealed > *:nth-child(2) { transition-delay: 0.08s; }
.reveal-stagger.revealed > *:nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger.revealed > *:nth-child(4) { transition-delay: 0.24s; }
.reveal-stagger.revealed > *:nth-child(5) { transition-delay: 0.32s; }
.reveal-stagger.revealed > *:nth-child(6) { transition-delay: 0.40s; }
.reveal-stagger.revealed > *:nth-child(7) { transition-delay: 0.48s; }
.reveal-stagger.revealed > *:nth-child(8) { transition-delay: 0.56s; }
.reveal-stagger.revealed > *:nth-child(9) { transition-delay: 0.64s; }
.reveal-stagger.revealed > *:nth-child(10) { transition-delay: 0.72s; }
.reveal-stagger.revealed > *:nth-child(11) { transition-delay: 0.80s; }
.reveal-stagger.revealed > *:nth-child(12) { transition-delay: 0.88s; }

.reveal-stagger.revealed > * {
  opacity: 1;
  transform: translateY(0);
}

/* --- Parallax-scroll elements (controlled by JS) --- */
[data-parallax] {
  will-change: transform;
  transition: transform 0.1s linear;
}

/* --- Reduced motion fallback --- */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-up,
  .reveal-down,
  .reveal-left,
  .reveal-right,
  .reveal-scale,
  .reveal-fade,
  .reveal-stagger > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ==========================================================================
   SMOOTH PAGE TRANSITIONS
   ========================================================================== */

.page-transition-enter {
  opacity: 0;
  transform: translateY(20px);
}

.page-transition-active {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.4s ease, transform 0.4s ease;
}


/* SOURCE: gemmywood-wordpress-site\wordpress\wp-content\themes\gemmywood-premium\css\dark-mode.css */

/* ==========================================================================
   DARK MODE â€” Warm Walnut Dark Theme
   Maintains the warm wood aesthetic in a dark palette.
   Activated via [data-theme="dark"] on <html>.
   ========================================================================== */

/* ==========================================================================
   1. DARK COLOR TOKENS
   ========================================================================== */

:root[data-theme="dark"] {
  /* â€” Backgrounds â€” */
  --color-bg-primary: #141210;
  --color-bg-secondary: #1C1A17;
  --color-bg-tertiary: #252320;
  --color-bg-card: #1E1C19;
  --color-bg-card-hover: #24221E;
  --color-bg-glass: rgba(20, 18, 16, 0.85);
  --color-bg-nav: rgba(20, 18, 16, 0.88);

  /* â€” Text â€” */
  --color-text-primary: #EDE9E3;
  --color-text-secondary: #A9A49B;
  --color-text-muted: #706B63;
  --color-text-accent: #C9A06E;

  /* â€” Borders â€” */
  --color-border: rgba(255, 255, 255, 0.08);
  --color-border-hover: rgba(201, 160, 110, 0.30);
  --color-border-card: rgba(255, 255, 255, 0.06);

  /* â€” Gradients â€” */
  --gradient-primary: linear-gradient(135deg, #D4A96E 0%, #B8864A 50%, #8C6530 100%);
  --gradient-cta: linear-gradient(135deg, #D4A96E 0%, #B8864A 50%, #8C6530 100%);
  --gradient-green: linear-gradient(135deg, #5CB860 0%, #3D8F40 100%);
  --gradient-accent: linear-gradient(135deg, #5CB860 0%, #3D8F40 100%);
  --gradient-text: linear-gradient(135deg, #A08050 0%, #D4A96E 30%, #C9A06E 60%, #5CB860 100%);
  --gradient-hero: linear-gradient(180deg, rgba(20, 18, 16, 0) 0%, rgba(20, 18, 16, 0.9) 100%);
  --gradient-glow: radial-gradient(ellipse at center, rgba(201, 160, 110, 0.08) 0%, transparent 70%);

  /* â€” Section Gradient Backgrounds (dark-adapted) â€” */
  --gradient-section-warm: radial-gradient(ellipse at 20% 50%,
      rgba(160, 118, 74, 0.10) 0%,
      rgba(140, 100, 60, 0.05) 40%,
      transparent 70%);
  --gradient-section-cool: radial-gradient(ellipse at 80% 30%,
      rgba(46, 125, 50, 0.08) 0%,
      rgba(56, 142, 60, 0.04) 40%,
      transparent 70%);
  --gradient-section-mesh: radial-gradient(ellipse at 70% 60%,
      rgba(160, 118, 74, 0.06) 0%,
      rgba(140, 100, 60, 0.03) 35%,
      transparent 65%);
  --gradient-hero-mesh: radial-gradient(ellipse at 30% 40%,
      rgba(160, 118, 74, 0.12) 0%,
      rgba(140, 100, 60, 0.06) 34%,
      rgba(46, 125, 50, 0.04) 52%,
      transparent 72%);

  /* â€” Shadows (dark-adapted) â€” */
  --shadow-card: 0 2px 16px rgba(0, 0, 0, 0.20), 0 1px 4px rgba(0, 0, 0, 0.15);
  --shadow-glow: 0 8px 32px rgba(160, 118, 74, 0.08);
  --shadow-nav: 0 1px 12px rgba(0, 0, 0, 0.20);
}

/* ==========================================================================
   2. BODY & SELECTION
   ========================================================================== */

:root[data-theme="dark"] ::selection {
  background: rgba(201, 160, 110, 0.25);
  color: var(--color-text-primary);
}

/* ==========================================================================
   3. NAVIGATION OVERRIDES
   ========================================================================== */

:root[data-theme="dark"] .site-nav.scrolled {
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

:root[data-theme="dark"] .nav-menu a:hover,
:root[data-theme="dark"] .nav-menu a.active {
  background: rgba(255, 255, 255, 0.06);
}

:root[data-theme="dark"] .submenu {
  background: var(--color-bg-secondary);
  border-color: rgba(255, 255, 255, 0.08);
}

:root[data-theme="dark"] .submenu a:hover {
  background: rgba(255, 255, 255, 0.06);
}

:root[data-theme="dark"] .lang-switch {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.08);
}

:root[data-theme="dark"] .nav-toggle span {
  background: var(--color-text-primary);
}

/* ==========================================================================
   4. BUTTON OVERRIDES
   ========================================================================== */

:root[data-theme="dark"] .btn-primary {
  box-shadow: 0 4px 20px rgba(201, 160, 110, 0.25), 0 1px 3px rgba(0, 0, 0, 0.20);
}

:root[data-theme="dark"] .btn-primary:hover {
  box-shadow: 0 8px 30px rgba(201, 160, 110, 0.35), 0 2px 6px rgba(0, 0, 0, 0.25);
}

:root[data-theme="dark"] .btn-secondary {
  background: var(--color-bg-card);
  border-color: rgba(255, 255, 255, 0.08);
}

:root[data-theme="dark"] .btn-secondary:hover {
  background: var(--color-bg-card-hover);
  border-color: rgba(201, 160, 110, 0.25);
  box-shadow: 0 6px 20px rgba(160, 118, 74, 0.10);
}

/* ==========================================================================
   5. CARD OVERRIDES
   ========================================================================== */

:root[data-theme="dark"] .product-card:hover {
  border-color: rgba(201, 160, 110, 0.20);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.30), 0 4px 12px rgba(160, 118, 74, 0.08);
}

:root[data-theme="dark"] .product-card-image {
  background: var(--color-bg-tertiary);
}

:root[data-theme="dark"] .product-card-image .category-badge {
  background: rgba(30, 28, 25, 0.85);
  backdrop-filter: blur(8px);
  border-color: rgba(255, 255, 255, 0.08);
  color: var(--color-text-primary);
}

/* ==========================================================================
   6. SECTION BADGES
   ========================================================================== */

:root[data-theme="dark"] .section-badge {
  background: rgba(201, 160, 110, 0.08);
  border-color: rgba(201, 160, 110, 0.15);
}

:root[data-theme="dark"] .section-badge--green {
  background: rgba(92, 184, 96, 0.08);
  border-color: rgba(92, 184, 96, 0.15);
  color: #6FCF73;
}

/* ==========================================================================
   7. HERO OVERRIDES
   ========================================================================== */

:root[data-theme="dark"] .hero::after {
  background: linear-gradient(to top, var(--color-bg-primary), transparent);
}

:root[data-theme="dark"] .hero-badge {
  background: rgba(92, 184, 96, 0.08);
  border-color: rgba(92, 184, 96, 0.15);
  color: #6FCF73;
}

:root[data-theme="dark"] .hero-trust svg {
  color: #6FCF73;
}

/* ==========================================================================
   8. STAT ITEMS
   ========================================================================== */

:root[data-theme="dark"] .stat-item {
  background: var(--color-bg-card);
  border-color: var(--color-border-card);
}

:root[data-theme="dark"] .stat-item:hover {
  background: var(--color-bg-card-hover);
  border-color: var(--color-border-hover);
}

/* ==========================================================================
   9. CATEGORY TABS
   ========================================================================== */

:root[data-theme="dark"] .category-tabs {
  background: var(--color-bg-card);
  border-color: rgba(255, 255, 255, 0.08);
}

:root[data-theme="dark"] .category-tab:hover {
  background: rgba(255, 255, 255, 0.06);
}

/* ==========================================================================
   10. FEATURE CARDS
   ========================================================================== */

:root[data-theme="dark"] .feature-card {
  background: linear-gradient(180deg, var(--color-bg-card) 0%, rgba(30, 28, 25, 0.8) 100%);
  border-color: var(--color-border-card);
}

:root[data-theme="dark"] .feature-card:hover {
  background: linear-gradient(180deg, var(--color-bg-card-hover) 0%, rgba(36, 34, 30, 0.9) 100%);
  border-color: rgba(201, 160, 110, 0.18);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25), 0 4px 10px rgba(160, 118, 74, 0.06);
}

:root[data-theme="dark"] .feature-icon {
  background: rgba(201, 160, 110, 0.10);
  border-color: rgba(201, 160, 110, 0.15);
}

:root[data-theme="dark"] .feature-icon--green {
  background: rgba(92, 184, 96, 0.10);
  border-color: rgba(92, 184, 96, 0.15);
  color: #6FCF73;
}

:root[data-theme="dark"] .feature-card .step-number {
  color: rgba(255, 255, 255, 0.04);
}

:root[data-theme="dark"] .feature-tag {
  background: rgba(92, 184, 96, 0.08);
  color: #6FCF73;
}

/* ==========================================================================
   11. SORT BAR & SEARCH
   ========================================================================== */

:root[data-theme="dark"] .sort-bar {
  background: var(--color-bg-card);
  border-color: var(--color-border-card);
}

:root[data-theme="dark"] .product-search-input {
  background: var(--color-bg-secondary);
  border-color: rgba(255, 255, 255, 0.08);
  color: var(--color-text-primary);
}

:root[data-theme="dark"] .product-search-input:hover {
  border-color: var(--color-border-hover);
  background: var(--color-bg-card);
}

:root[data-theme="dark"] .product-search-input:focus {
  border-color: var(--color-text-accent);
  background: var(--color-bg-card);
  box-shadow: 0 0 0 3px rgba(201, 160, 110, 0.10);
}

:root[data-theme="dark"] .sort-select {
  background: var(--color-bg-secondary);
  border-color: rgba(255, 255, 255, 0.08);
  color: var(--color-text-primary);
}

:root[data-theme="dark"] .sort-select:hover {
  border-color: var(--color-border-hover);
  background: var(--color-bg-card);
}

:root[data-theme="dark"] .product-search-suggestions {
  background: var(--color-bg-card);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35), 0 4px 12px rgba(0, 0, 0, 0.20);
}

:root[data-theme="dark"] .suggestion-item:hover,
:root[data-theme="dark"] .suggestion-item.active {
  background: var(--color-bg-secondary);
}

:root[data-theme="dark"] .suggestion-item-title mark {
  background: rgba(201, 160, 110, 0.18);
  color: var(--color-text-accent);
}

:root[data-theme="dark"] .suggestion-view-all {
  background: var(--color-bg-secondary);
  border-top-color: rgba(255, 255, 255, 0.06);
}

/* ==========================================================================
   12. CTA SECTION
   ========================================================================== */

:root[data-theme="dark"] .cta-section {
  border-image: linear-gradient(90deg,
    transparent 10%,
    rgba(201, 160, 110, 0.20) 30%,
    rgba(92, 184, 96, 0.12) 70%,
    transparent 90%) 1;
}

/* ==========================================================================
   13. BLOG CARDS
   ========================================================================== */

:root[data-theme="dark"] .blog-card {
  background: var(--color-bg-card);
  border-color: var(--color-border-card);
}

:root[data-theme="dark"] .blog-card:hover {
  background: var(--color-bg-card-hover);
  border-color: rgba(201, 160, 110, 0.18);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25), 0 4px 8px rgba(160, 118, 74, 0.06);
}

/* ==========================================================================
   14. FORMS
   ========================================================================== */

:root[data-theme="dark"] .form-control {
  background: var(--color-bg-secondary);
  border-color: rgba(255, 255, 255, 0.08);
  color: var(--color-text-primary);
}

:root[data-theme="dark"] .form-control:focus {
  border-color: var(--color-text-accent);
  background: var(--color-bg-card);
  box-shadow: 0 0 0 3px rgba(201, 160, 110, 0.10);
}

:root[data-theme="dark"] .form-control::placeholder {
  color: var(--color-text-muted);
}

/* ==========================================================================
   15. FOOTER
   ========================================================================== */

:root[data-theme="dark"] .site-footer {
  background: var(--color-bg-secondary);
  border-image: linear-gradient(90deg,
    transparent 5%,
    rgba(201, 160, 110, 0.25) 25%,
    rgba(92, 184, 96, 0.15) 50%,
    rgba(201, 160, 110, 0.25) 75%,
    transparent 95%) 1;
}

:root[data-theme="dark"] .footer-social a {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}

:root[data-theme="dark"] .footer-social a:hover {
  background: rgba(201, 160, 110, 0.10);
  border-color: rgba(201, 160, 110, 0.20);
}

:root[data-theme="dark"] .footer-bottom {
  border-top-color: rgba(255, 255, 255, 0.06);
}

/* ==========================================================================
   16. MOBILE MENU
   ========================================================================== */

:root[data-theme="dark"] .nav-menu-mobile {
  background: rgba(20, 18, 16, 0.97);
}

/* ==========================================================================
   17. PDP (Product Detail) OVERRIDES
   ========================================================================== */

:root[data-theme="dark"] .pdp-gallery-main {
  background: var(--color-bg-tertiary);
  border-color: rgba(255, 255, 255, 0.06);
}

:root[data-theme="dark"] .pdp-gallery-nav {
  background: rgba(30, 28, 25, 0.9);
  border-color: rgba(255, 255, 255, 0.08);
}

:root[data-theme="dark"] .pdp-gallery-nav:hover {
  background: var(--color-bg-card);
}

:root[data-theme="dark"] .pdp-thumb.active,
:root[data-theme="dark"] .pdp-thumb:hover {
  border-color: var(--color-text-accent);
}

:root[data-theme="dark"] .pdp-purchase {
  background: var(--color-bg-card);
  border-color: var(--color-border-card);
}

:root[data-theme="dark"] .pdp-purchase .form-control {
  background: var(--color-bg-secondary);
  border-color: rgba(255, 255, 255, 0.08);
  color: var(--color-text-primary);
}

:root[data-theme="dark"] .pdp-purchase .form-control:focus {
  border-color: var(--color-text-accent);
  background: var(--color-bg-tertiary);
  box-shadow: 0 0 0 3px rgba(201, 160, 110, 0.10);
}

:root[data-theme="dark"] .pdp-purchase .form-control::placeholder {
  color: var(--color-text-muted);
}

:root[data-theme="dark"] .pdp-sticky-bar {
  background: rgba(20, 18, 16, 0.95);
  border-top-color: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
}

:root[data-theme="dark"] .pdp-details {
  border-top-color: rgba(255, 255, 255, 0.06);
}

:root[data-theme="dark"] .pdp-related {
  background: var(--color-bg-secondary);
}

/* ==========================================================================
   17b. 404 PAGE â€” dark mode
   ========================================================================== */

:root[data-theme="dark"] .page-404 h2 {
  color: var(--color-text-primary);
}

:root[data-theme="dark"] .page-404 .btn-secondary {
  background: var(--color-bg-card);
  border-color: rgba(255, 255, 255, 0.10);
  color: var(--color-text-primary);
}

:root[data-theme="dark"] .page-404 .btn-secondary:hover {
  background: var(--color-bg-card-hover);
  border-color: rgba(201, 160, 110, 0.25);
}

:root[data-theme="dark"] .pdp-quick-specs {
  background: var(--color-bg-card);
  border-color: var(--color-border-card);
}

:root[data-theme="dark"] .pdp-brand {
  color: #6FCF73;
}

:root[data-theme="dark"] .pdp-brand:hover {
  color: #8FDA92;
}

:root[data-theme="dark"] .pdp-cert-badge {
  background: rgba(92, 184, 96, 0.10);
  border-color: rgba(92, 184, 96, 0.20);
  color: #6FCF73;
}

:root[data-theme="dark"] .pdp-accordion {
  border-color: rgba(255, 255, 255, 0.06);
}

:root[data-theme="dark"] .pdp-accordion:first-child {
  border-top-color: rgba(255, 255, 255, 0.06);
}

:root[data-theme="dark"] .pdp-specs-table tr {
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

:root[data-theme="dark"] .size-btn {
  background: var(--color-bg-secondary);
  border-color: rgba(255, 255, 255, 0.08);
  color: var(--color-text-secondary);
}

:root[data-theme="dark"] .size-btn:hover {
  border-color: var(--color-border-hover);
}

/* ==========================================================================
   18. PAGINATION
   ========================================================================== */

:root[data-theme="dark"] .pagination a,
:root[data-theme="dark"] .pagination span {
  background: var(--color-bg-card);
  border-color: rgba(255, 255, 255, 0.08);
  color: var(--color-text-secondary);
}

:root[data-theme="dark"] .pagination .current,
:root[data-theme="dark"] .pagination a:hover {
  background: var(--gradient-primary);
  border-color: transparent;
  color: var(--color-bg-primary);
}

/* ==========================================================================
   19. THEME TOGGLE BUTTON
   ========================================================================== */

.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
  color: var(--color-text-muted);
  flex-shrink: 0;
}

:root[data-theme="dark"] .theme-toggle {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.08);
}

.theme-toggle:hover {
  color: var(--color-text-accent);
  background: rgba(160, 118, 74, 0.08);
  border-color: rgba(160, 118, 74, 0.15);
  transform: translateY(-1px);
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
  transition: all var(--transition-base);
}

.theme-toggle:hover svg {
  transform: rotate(15deg);
}

/* Icon visibility based on theme */
.theme-toggle .icon-sun {
  display: none;
}

.theme-toggle .icon-moon {
  display: block;
}

:root[data-theme="dark"] .theme-toggle .icon-sun {
  display: block;
}

:root[data-theme="dark"] .theme-toggle .icon-moon {
  display: none;
}

/* ==========================================================================
   20. FLOATING BUTTONS â€” dark adjustments
   ========================================================================== */

:root[data-theme="dark"] .float-btn {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

/* ==========================================================================
   21. SKELETON / LOADING STATES
   ========================================================================== */

:root[data-theme="dark"] .skeleton {
  background: linear-gradient(90deg,
    var(--color-bg-secondary) 25%,
    rgba(50, 48, 44, 0.8) 50%,
    var(--color-bg-secondary) 75%
  );
  background-size: 200% 100%;
}

/* ==========================================================================
   22. SMOOTH TRANSITION ON THEME CHANGE
   ========================================================================== */

html.theme-transitioning,
html.theme-transitioning *,
html.theme-transitioning *::before,
html.theme-transitioning *::after {
  transition: background-color 0.4s ease,
              color 0.3s ease,
              border-color 0.3s ease,
              box-shadow 0.3s ease !important;
}


/* SOURCE: gemmywood-wordpress-site\wordpress\wp-content\themes\gemmywood-premium\css\responsive.css */

/* ==========================================================================
   RESPONSIVE BREAKPOINTS â€” Mobile First
   ========================================================================== */

/* ---- Max width: 1200px (Large tablets / small desktops) ---- */
@media (max-width: 1200px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }

  .footer-grid .footer-col:last-child {
    grid-column: 1 / -1;
  }
}

/* ---- Max width: 992px (Tablets) ---- */
@media (max-width: 992px) {
  .nav-menu {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-actions .lang-switch {
    margin-right: 0;
  }

  .nav-actions {
    gap: 8px;
  }

  .lang-switch {
    padding: 3px;
    gap: 2px;
  }

  .lang-switch a {
    min-width: 40px;
    min-height: 36px;
    padding: 6px 10px;
    letter-spacing: 0.02em;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-grid .feature-card:last-child {
    grid-column: 1 / -1;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-grid .team-card:last-child {
    grid-column: 1 / -1;
  }

  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pdp-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .pdp-gallery {
    position: static;
  }

  .pdp-sticky-title {
    max-width: 200px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }

  .gallery-item:nth-child(1) {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .section {
    padding: var(--space-4xl) 0;
  }

  .hero-split {
    gap: var(--space-2xl);
  }

  .hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
  }

  .hero-showcase-inner {
    transform: perspective(1000px) rotateY(-2deg);
  }

  .post-nav {
    grid-template-columns: 1fr;
  }

  /* Hide Get Quote button in nav on tablet/mobile */
  .nav-actions .btn {
    display: none;
  }

  /* Reduce gradient orb sizes on tablet */
  .section-gradient-orb {
    opacity: 0.5;
  }

  /* Prevent horizontal overflow from gradient sections */
  .section--gradient-warm,
  .section--gradient-cool,
  .section--gradient-mesh {
    overflow: hidden;
  }

  /* Ensure hero doesn't overflow */
  .hero-showcase {
    margin-right: 0;
  }
}

/* ---- Max width: 768px (Large phones / small tablets) ---- */
@media (max-width: 768px) {
  .product-grid,
  body.home #products-grid,
  body.post-type-archive-product #products-grid,
  body.tax-product_cat #products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: var(--space-md) !important;
  }

  :root {
    --nav-height: 64px;
  }

  .container {
    padding: 0 var(--space-lg);
  }

  .hero {
    padding-top: calc(var(--nav-height) + var(--space-2xl));
  }

  .hero-split {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    text-align: center;
  }

  .hero-content {
    text-align: center;
    order: 1;
  }

  .hero-showcase {
    order: 2;
  }

  .hero-showcase-inner {
    transform: none;
    border-radius: var(--radius-lg);
  }

  .hero-showcase-inner img {
    aspect-ratio: 16/10;
  }

  .hero h1 {
    font-size: clamp(1.8rem, 6vw, 2.8rem);
  }

  .hero-subtitle {
    font-size: var(--fs-body);
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta {
    justify-content: center;
    flex-direction: column;
    align-items: stretch;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta .btn {
    justify-content: center;
  }

  .hero-trust {
    justify-content: center;
  }

  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
  }

  .stat-item {
    padding: var(--space-lg) var(--space-md);
  }

  .stat-number {
    font-size: var(--fs-h3);
  }

  .section {
    padding: var(--space-2xl) 0;
  }

  .section-header {
    margin-bottom: var(--space-xl);
  }

  .section-header h2 {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .features-grid .feature-card:last-child {
    grid-column: auto;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .team-grid .team-card:last-child {
    grid-column: auto;
  }

  .feature-card {
    padding: var(--space-xl);
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .category-tabs {
    overflow-x: auto;
    overflow-y: hidden;
    justify-content: flex-start;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    width: 100%;
    max-width: 100%;
    padding: 6px 8px;
    gap: 8px;
    box-sizing: border-box;
  }

  .category-tabs::-webkit-scrollbar {
    display: none;
  }

  .category-tab {
    flex: 0 0 auto;
  }

  /* PDP Mobile adjustments */
  .pdp-form-row {
    grid-template-columns: 1fr;
  }

  .pdp-alt-contact {
    flex-direction: column;
  }

  .pdp-quick-specs {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
  }

  .pdp-accordion-header {
    font-size: var(--fs-h4);
    padding: var(--space-lg) 0;
  }

  .pdp-sticky-bar {
    padding: var(--space-sm) 0;
  }

  .pdp-sticky-thumb {
    width: 40px;
    height: 40px;
  }

  .pdp-sticky-title {
    font-size: var(--fs-xs);
    max-width: 150px;
  }

  .pdp-sticky-actions .btn {
    padding: 8px 16px;
    font-size: var(--fs-xs);
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .gallery-item:nth-child(1) {
    grid-column: auto;
    grid-row: auto;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-sm);
    text-align: center;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .product-gallery-thumbs {
    grid-template-columns: repeat(4, 1fr);
  }

  .map-container {
    height: 300px;
  }

  .about-hero {
    padding-top: calc(var(--nav-height) + var(--space-3xl));
  }

  .archive-header {
    padding-top: calc(var(--nav-height) + var(--space-3xl));
  }

  .single-post-header {
    padding-top: calc(var(--nav-height) + var(--space-3xl));
  }

  /* Hide decorative elements on mobile */
  .hero-decor {
    display: none;
  }

  .ambient-glow {
    opacity: 0.5;
  }

  /* Hide section gradient orbs on mobile â€” prevent horizontal scroll */
  .section-gradient-orb {
    display: none;
  }

  /* Ensure no horizontal overflow from gradient backgrounds */
  .section--gradient-warm,
  .section--gradient-cool,
  .section--gradient-mesh {
    overflow: hidden;
  }

  .cta-section {
    padding: var(--space-3xl) var(--space-lg);
  }

  .cta-section::before {
    width: 600px;
    height: 600px;
  }

  /* Export Markets responsive â€” fit full width, no scrollbar */
  .export-map-container {
    overflow: hidden;
  }

  .export-map-visual {
    min-width: 0;
    width: 100%;
  }

  .export-map-bg {
    width: 100%;
    height: auto;
  }

  .export-stats {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }

  .export-stat-item {
    padding: var(--space-sm) var(--space-md);
  }

  /* Float buttons smaller on mobile */
  .float-buttons {
    bottom: var(--space-lg);
    right: var(--space-lg);
  }

  .float-btn {
    width: 46px;
    height: 46px;
  }

  .float-btn svg {
    width: 20px;
    height: 20px;
  }

  .hero-slideshow {
    width: 280px !important;
    height: 340px !important;
    margin: 0 auto;
  }

  /* Fix hero showcase negative margin on mobile  */
  .hero-showcase {
    margin-right: 0;
    align-items: center;
  }

  /* Footer gradient border thinner on mobile */
  .site-footer {
    border-top-width: 2px;
  }
}

/* ---- Max width: 480px (Small phones) ---- */
@media (max-width: 480px) {
  .product-grid,
  body.home #products-grid,
  body.post-type-archive-product #products-grid,
  body.tax-product_cat #products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: var(--space-sm) !important;
  }

  .container {
    padding: 0 var(--space-md);
  }

  .hero {
    min-height: auto;
  }

  .hero-showcase {
    margin-top: var(--space-lg);
    padding: 0 var(--space-sm);
  }

  .hero-showcase-badge {
    padding: 6px 12px;
    font-size: 0.65rem;
    bottom: var(--space-sm);
    left: var(--space-sm);
  }

  .hero h1 {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
  }

  .product-card-body {
    padding: var(--space-sm);
  }

  .product-card-title {
    font-size: 1rem;
  }

  .product-card-meta {
    gap: 6px;
    font-size: 0.72rem;
  }

  .product-card-link {
    font-size: 0.82rem;
  }

  .stats-bar {
    gap: var(--space-xs);
  }

  .stat-item {
    padding: var(--space-md) var(--space-sm);
  }

  .stat-label {
    font-size: 0.65rem;
  }

  .nav-logo-text {
    font-size: 1.1rem;
  }

  .btn-lg {
    padding: 14px 28px;
    font-size: var(--fs-small);
  }

  .page-404 h1 {
    font-size: clamp(4rem, 20vw, 8rem);
  }

  .timeline {
    padding-left: var(--space-2xl);
  }

  .timeline-item {
    padding: var(--space-md);
  }

  .lightbox img {
    max-width: 95vw;
    border-radius: var(--radius-sm);
  }

  .section {
    padding: var(--space-xl) 0;
  }

  .section-header {
    margin-bottom: var(--space-lg);
  }

  .cta-section {
    padding: var(--space-2xl) var(--space-md);
  }
}

/* ---- Hover media query (prevent hover on touch devices) ---- */
@media (hover: none) {
  .product-card:hover {
    transform: none;
    box-shadow: none;
  }

  .feature-card:hover {
    transform: none;
  }

  .stat-item:hover {
    transform: none;
  }

  .gallery-item .overlay {
    opacity: 1;
  }

  .team-card:hover {
    transform: none;
  }
}

/* ---- Reduced motion preference ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ---- Mobile Nav Menu Overlay ---- */
.nav-menu-mobile {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-bg-primary);
  z-index: 999;
  padding: var(--space-2xl);
  flex-direction: column;
  gap: var(--space-md);
  overflow-y: auto;
}

.nav-menu-mobile.open,
.nav-menu-mobile.active {
  display: flex;
}

.nav-menu-mobile a {
  font-size: var(--fs-h3);
  font-weight: var(--fw-semibold);
  color: var(--color-text-primary);
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--color-border);
  display: block;
}

.nav-menu-mobile a:hover {
  color: var(--color-text-accent);
}

/* ---- Large screens ---- */
@media (min-width: 1600px) {
  :root {
    font-size: 17px;
  }

  .container {
    padding: 0 var(--space-3xl);
  }
}

@media (min-width: 1920px) {
  :root {
    font-size: 18px;
  }
}


