/*
 Theme Name:   NINETEEN71
 Theme URI:    https://nineteen71.ae
 Description:  Standalone WooCommerce theme for NINETEEN71 — Premium Home Decor, Gaming Accessories & Custom Creations. Abu Dhabi, UAE.
 Author:       Nineteen Seventy One General Trading L.L.C - O.P.C
 Author URI:   https://nineteen71.ae
 Version:      2.0.0
 Requires at least: 6.0
 Tested up to: 6.7
 Requires PHP: 8.0
 License:      Proprietary
 Text Domain:  nineteen71
 Tags:         woocommerce, e-commerce, one-column
*/

/* ============================================
   CSS CUSTOM PROPERTIES
   ============================================ */
:root {
  --terracotta: #C67B5C;
  --sand-beige: #D4C4A8;
  --soft-cream: #F5F0E1;
  --olive-green: #6B7B3C;

  --bg-primary: #F5F0E8;
  --bg-secondary: #FEFCF8;
  --bg-dark: #1C1917;
  --text-primary: #1C1917;
  --text-secondary: #5a534d;
  --text-light: #746E68;
  --text-inverse: #F5F0E8;
  --accent: #C8943E;
  --accent-text: #7A5A1E;
  --accent-hover: #b5832f;
  --accent-light: rgba(200, 148, 62, 0.12);
  --border: #E8E0D4;
  --border-light: #f0ebe3;
  --glass-bg: rgba(245, 240, 232, 0.72);
  --glass-border: rgba(232, 224, 212, 0.5);
  --shadow-sm: 0 1px 3px rgba(26, 26, 26, 0.04);
  --shadow-md: 0 4px 20px rgba(26, 26, 26, 0.06);
  --shadow-lg: 0 12px 40px rgba(26, 26, 26, 0.1);
  --shadow-xl: 0 20px 60px rgba(26, 26, 26, 0.12);

  --font-display: 'Outfit', system-ui, sans-serif;
  --font-body: 'Outfit', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', 'Fira Code', monospace;

  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  --max-width: 1400px;
  --nav-height: 72px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --duration-fast: 200ms;
  --duration-normal: 400ms;
  --duration-slow: 600ms;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
  scrollbar-width: thin;
  scrollbar-color: var(--border) var(--bg-primary);
  overflow-x: hidden;
  overscroll-behavior-x: none;
}
html, body { max-width: 100%; overflow-x: hidden; overscroll-behavior-x: none; }

body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  line-height: 1.7;
  overflow-x: hidden;
  overscroll-behavior-x: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
}

/* Prevent all horizontal scroll on mobile */
@media (max-width: 768px) {
  html, body, #main-content { overflow-x: hidden !important; max-width: 100vw; }
  .hero, .section, .container, .footer, .nav { max-width: 100vw; overflow-x: hidden; }
}

@media (hover: hover) and (min-width: 1024px) {
  body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 1500;
    pointer-events: none;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
  }
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { border: none; background: none; cursor: pointer; font-family: inherit; color: inherit; }
ul, ol { list-style: none; }
input, textarea, select { font-family: inherit; font-size: inherit; border: none; outline: none; background: none; }

/* ============================================
   UTILITIES
   ============================================ */
.container {
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-xl);
  padding-right: var(--space-xl);
}

.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;
}

.text-accent { color: var(--accent-text); }
.text-secondary { color: var(--text-secondary); }
.text-mono { font-family: var(--font-mono); }

/* ============================================
   ANNOUNCEMENT BAR
   ============================================ */
.announcement-bar {
  background: var(--bg-dark);
  color: var(--text-inverse);
  text-align: center;
  padding: 10px var(--space-xl);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  position: relative;
  z-index: 1001;
}
.announcement-bar a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.announcement-bar__close {
  position: absolute; right: var(--space-md); top: 50%; transform: translateY(-50%);
  color: var(--text-inverse); font-size: 1.2rem; opacity: 0.6;
}
.announcement-bar__close:hover { opacity: 1; }
/* Announcement bar offsets — kept for optional future use */
.has-announcement .nav { top: 38px; }
.has-announcement .hero { padding-top: calc(var(--nav-height) + 38px); }

/* Skip to Content */
.skip-to-content {
  position: absolute; left: -9999px; top: 0; z-index: 10000;
  padding: 12px 24px; background: var(--bg-dark); color: var(--text-inverse);
  font-size: 0.9rem; text-decoration: none;
}
.skip-to-content:focus { left: 0; }

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-height);
  display: flex; align-items: center;
  transition: background var(--duration-normal) var(--ease-smooth),
              box-shadow var(--duration-normal) var(--ease-smooth),
              backdrop-filter var(--duration-normal) var(--ease-smooth);
}

.nav--scrolled {
  background: var(--bg-primary);
  box-shadow: var(--shadow-sm), inset 0 -1px 0 0 rgba(255, 255, 255, 0.1);
}

@supports (backdrop-filter: blur(1px)) {
  .nav--scrolled {
    background: var(--glass-bg);
    backdrop-filter: blur(24px) saturate(1.3);
    -webkit-backdrop-filter: blur(24px) saturate(1.3);
  }
}

.nav--scrolled::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(200, 148, 62, 0.25) 30%, rgba(200, 148, 62, 0.4) 50%, rgba(200, 148, 62, 0.25) 70%, transparent 100%);
}

.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 var(--space-xl);
}

.nav__logo {
  font-size: 1.15rem; text-decoration: none; color: var(--text-primary);
  display: inline-flex; align-items: baseline;
}
.nav__logo-light { font-weight: 200; letter-spacing: 0.15em; }
.nav__logo-bold { font-weight: 700; letter-spacing: -0.03em; color: var(--accent); }

.nav__links { display: flex; align-items: center; gap: var(--space-2xl); }

.nav__link {
  font-size: 0.875rem; font-weight: 400; letter-spacing: 0.02em;
  color: var(--text-secondary); position: relative; padding: var(--space-xs) 0;
  transition: color var(--duration-fast) var(--ease-smooth);
}
.nav__link::after {
  content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 1.5px;
  background: var(--accent); transition: width var(--duration-normal) var(--ease-spring);
}
.nav__link:hover { color: var(--text-primary); }
.nav__link:hover::after { width: 100%; }
.nav__link--active { color: var(--text-primary); font-weight: 500; }
.nav__link--active::after { width: 100%; }

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

.nav__icon-btn {
  width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-full); transition: background var(--duration-fast) var(--ease-smooth);
  position: relative;
}
.nav__icon-btn:hover { background: var(--accent-light); }
.nav__icon-btn svg { width: 20px; height: 20px; stroke: var(--text-primary); fill: none; stroke-width: 1.5; }

.nav__cart-count {
  position: absolute; top: 4px; right: 4px; width: 16px; height: 16px;
  background: var(--accent); color: white; font-size: 0.6rem; font-weight: 700;
  border-radius: var(--radius-full); display: flex; align-items: center; justify-content: center;
}

/* Mobile menu toggle */
.nav__menu-toggle {
  display: none; flex-direction: column; gap: 5px; width: 28px; padding: 4px 0;
}
.nav__menu-toggle span {
  display: block; height: 1.5px; background: var(--text-primary); border-radius: 2px;
  transition: transform var(--duration-normal) var(--ease-spring), opacity var(--duration-fast) var(--ease-smooth);
  transform-origin: center;
}
.nav__menu-toggle.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__menu-toggle.active span:nth-child(2) { opacity: 0; }
.nav__menu-toggle.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile nav overlay */
.nav__mobile {
  display: none;
  position: fixed; top: var(--nav-height); left: 0; right: 0; bottom: 0;
  background: var(--bg-primary); z-index: 998;
  padding: var(--space-xl);
  flex-direction: column; gap: 0;
  overflow-y: auto;
}
.nav__mobile.active {
  display: flex;
}
.nav__mobile-link {
  font-family: var(--font-display); font-size: 1.4rem; font-weight: 600;
  color: var(--text-primary); padding: var(--space-lg) 0; border-bottom: 1px solid var(--border-light);
  display: block; width: 100%;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-sm);
  font-family: var(--font-body); font-weight: 500; font-size: 0.9rem; letter-spacing: 0.01em;
  padding: 14px 32px; border-radius: var(--radius-full);
  transition: transform var(--duration-normal) var(--ease-spring),
              background var(--duration-fast) var(--ease-smooth),
              box-shadow var(--duration-fast) var(--ease-smooth);
  position: relative; overflow: hidden; white-space: nowrap;
}
.btn--primary { background: var(--text-primary); color: var(--text-inverse); }
.btn--primary::before {
  content: ''; position: absolute; top: 0; left: -100%; width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
}
.btn--primary:hover::before { left: 120%; transition: left 0.6s ease; }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(26, 26, 26, 0.18); }
.btn--secondary { background: transparent; color: var(--text-primary); border: 1.5px solid var(--border); }
.btn--secondary:hover { border-color: var(--text-primary); transform: translateY(-2px); }

.magnetic-wrap { display: inline-block; position: relative; }

/* ============================================
   SECTIONS
   ============================================ */
.section { padding: var(--space-5xl) 0; position: relative; }
.section + .section::before {
  content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: min(80%, 600px); height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--border) 30%, var(--accent) 50%, var(--border) 70%, transparent 100%);
  opacity: 0.4;
}
.section--dark { background: var(--bg-dark); color: var(--text-inverse); }
.section--alt { background: var(--bg-secondary); }
.section--no-pad-top { padding-top: 0; }
.section__header { margin-bottom: var(--space-3xl); }
.section__label {
  font-family: var(--font-mono); font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-text);
  margin-bottom: var(--space-md); display: flex; align-items: center; gap: var(--space-sm);
}
.section__label::before { content: ''; width: 24px; height: 1.5px; background: var(--accent); }
.section__title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2rem, 4vw, 3rem); line-height: 1.1; letter-spacing: -0.03em;
}
.section__subtitle {
  font-weight: 300; color: var(--text-secondary); margin-top: var(--space-md);
  max-width: 65ch; font-size: 1.05rem;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  min-height: 100vh; min-height: 100dvh;
  display: grid; grid-template-columns: 1fr 1fr; align-items: center;
  gap: var(--space-3xl); padding-top: var(--nav-height); position: relative;
}
.hero::before {
  content: ''; position: absolute; top: 50%; left: 30%; transform: translate(-50%, -50%);
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(200, 148, 62, 0.08) 0%, rgba(200, 148, 62, 0.02) 40%, transparent 70%);
  pointer-events: none; z-index: 0;
}
.hero__content {
  padding-left: max(var(--space-xl), calc((100% - var(--max-width)) / 2 + var(--space-xl)));
}
.hero__label {
  display: inline-flex; align-items: center; gap: var(--space-sm);
  font-family: var(--font-mono); font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-text);
  margin-bottom: var(--space-xl); padding: var(--space-sm) var(--space-md);
  background: var(--accent-light); border-radius: var(--radius-full);
}
.hero__label-dot {
  width: 6px; height: 6px; background: var(--accent); border-radius: var(--radius-full);
  animation: pulse-dot 2s ease infinite;
}
.hero__title {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(2.8rem, 5.5vw, 4.5rem); line-height: 1.05; letter-spacing: -0.03em;
  color: var(--text-primary); margin-bottom: var(--space-xl);
  text-shadow: 0 2px 30px rgba(200, 148, 62, 0.1);
}
.hero__title-line { display: block; overflow: hidden; }
.hero__title-line span { display: inline-block; }
.hero__subtitle {
  font-size: 1.1rem; font-weight: 300; color: var(--text-secondary);
  max-width: 65ch; margin-bottom: var(--space-2xl); line-height: 1.8;
  position: relative; padding-top: var(--space-lg);
}
.hero__subtitle::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 80px; height: 2px; background: linear-gradient(90deg, var(--accent), transparent); border-radius: 2px;
}
.hero__cta-group { display: flex; align-items: center; gap: var(--space-lg); flex-wrap: wrap; }
.hero__stats {
  display: flex; gap: var(--space-3xl); margin-top: var(--space-4xl);
  padding-top: var(--space-2xl); border-top: 1px solid var(--border);
}
.hero__stat-value {
  font-family: var(--font-display); font-weight: 800; font-size: 1.8rem;
  color: var(--text-primary); letter-spacing: -0.02em;
}
.hero__stat-label { font-size: 0.8rem; color: var(--text-light); margin-top: var(--space-xs); letter-spacing: 0.02em; }

.hero__visual { position: relative; height: 100%; min-height: 500px; overflow: hidden; }
.hero__collage {
  position: relative; width: 100%; height: 100%;
  display: grid; grid-template-rows: 1fr 1fr; grid-template-columns: 1fr 1fr;
  gap: var(--space-md); padding: var(--space-3xl) var(--space-xl) var(--space-3xl) 0;
}
.hero__collage-item {
  border-radius: var(--radius-lg); overflow: hidden; position: relative;
  transition: transform var(--duration-slow) var(--ease-spring);
}
.hero__collage-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}
.hero__collage-item:hover img { transform: scale(1.05); }
.hero__collage-item:nth-child(1) { grid-row: 1 / 3; grid-column: 1; }
.hero__collage-item:nth-child(2) { grid-row: 1; grid-column: 2; }
.hero__collage-item:nth-child(3) { grid-row: 2; grid-column: 2; }
.hero__collage-tag {
  position: absolute; bottom: var(--space-md); left: var(--space-md);
  font-family: var(--font-mono); font-size: 0.7rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: white; background: rgba(26, 26, 26, 0.6); backdrop-filter: blur(10px);
  padding: var(--space-xs) var(--space-sm); border-radius: var(--radius-sm);
}

/* ============================================
   TRUST STRIP MARQUEE
   ============================================ */
.trust-strip {
  overflow: hidden; background: var(--text-primary);
  color: #fff; padding: 0.875rem 0; white-space: nowrap; position: relative;
  max-width: 100%;
}
.trust-strip__track {
  display: inline-flex; gap: 3rem;
  animation: marquee 25s linear infinite; will-change: transform;
}
.trust-strip__item {
  font-family: var(--font-body); font-size: 0.85rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase; flex-shrink: 0;
  display: inline-flex; align-items: center; gap: 1.5rem;
}
.trust-strip__item::after { content: '\25C6'; font-size: 0.4rem; opacity: 0.4; }
.trust-strip:hover .trust-strip__track { animation-play-state: paused; }

/* ============================================
   CATEGORIES BENTO
   ============================================ */
.categories__grid {
  display: grid; grid-template-columns: 1.2fr 0.8fr; grid-template-rows: 320px 320px; gap: var(--space-lg);
}
.category-tile {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; cursor: pointer;
}
.category-tile::before {
  content: ''; position: absolute; inset: 0; border-radius: var(--radius-lg); padding: 2px;
  background: linear-gradient(135deg, transparent 40%, rgba(200, 148, 62, 0.6) 50%, transparent 60%);
  background-size: 300% 300%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; z-index: 3; transition: opacity 0.4s ease;
}
.category-tile:hover::before { opacity: 1; animation: shimmer-border 2s linear infinite; }
.category-tile__img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}
.category-tile:hover .category-tile__img { transform: scale(1.12); }
.category-tile__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 10, 0.7) 0%, rgba(10, 10, 10, 0.1) 60%);
  transition: background var(--duration-normal) var(--ease-smooth);
}
.category-tile:hover .category-tile__overlay {
  background: linear-gradient(to top, rgba(10, 10, 10, 0.8) 0%, rgba(10, 10, 10, 0.2) 60%);
}
.category-tile__content { position: absolute; bottom: 0; left: 0; right: 0; padding: var(--space-2xl); z-index: 2; }
.category-tile__name {
  font-family: var(--font-display); font-weight: 800; font-size: 1.6rem;
  color: white; letter-spacing: -0.02em; margin-bottom: var(--space-xs);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}
.category-tile__count {
  font-family: var(--font-mono); font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.65); letter-spacing: 0.06em; text-transform: uppercase;
}
.category-tile__arrow {
  position: absolute; top: var(--space-xl); right: var(--space-xl);
  width: 44px; height: 44px; background: rgba(255, 255, 255, 0.15); backdrop-filter: blur(10px);
  border-radius: var(--radius-full); display: flex; align-items: center; justify-content: center; z-index: 2;
  transition: background var(--duration-fast) var(--ease-smooth), transform var(--duration-normal) var(--ease-spring);
}
.category-tile__arrow svg { width: 18px; height: 18px; stroke: white; fill: none; stroke-width: 2; transition: transform var(--duration-normal) var(--ease-spring); }
.category-tile:hover .category-tile__arrow { background: var(--accent); transform: scale(1.1); }
.category-tile:hover .category-tile__arrow svg { transform: translate(2px, -2px); }
.category-tile--large { grid-row: 1 / 3; }

/* ============================================
   PRODUCT CARDS & CAROUSEL
   ============================================ */
.products-carousel { position: relative; }
.products__header {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: var(--space-3xl); flex-wrap: wrap; gap: var(--space-lg);
}
.products-carousel__track {
  display: flex; gap: var(--space-lg); overflow-x: auto; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
  padding: var(--space-md) 0 var(--space-xl); cursor: grab;
}
.products-carousel__track::-webkit-scrollbar { display: none; }
.products-carousel__track:active { cursor: grabbing; }

.product-card {
  flex: 0 0 300px; scroll-snap-align: start;
  background: var(--bg-secondary); border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid transparent;
  transition: transform var(--duration-normal) var(--ease-spring),
              box-shadow var(--duration-normal) var(--ease-smooth),
              border-color var(--duration-normal) var(--ease-smooth);
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(200, 148, 62, 0.12), 0 8px 24px rgba(26, 26, 26, 0.08);
  border-color: rgba(200, 148, 62, 0.3);
}
.product-card__image-wrap {
  position: relative; aspect-ratio: 1; overflow: hidden; background: var(--bg-primary);
}
.product-card__image-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}
.product-card:hover .product-card__image-wrap img { transform: scale(1.05); }
.product-card__image-wrap::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 40%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.06) 0%, transparent 100%);
  pointer-events: none; z-index: 1;
}
.product-card__badge {
  position: absolute; top: var(--space-md); left: var(--space-md);
  font-family: var(--font-mono); font-size: 0.65rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.06em;
  padding: 4px 10px; border-radius: var(--radius-full); background: #9A7230; color: white;
  z-index: 2;
}
.product-card__quick-view {
  position: absolute; bottom: var(--space-md); left: 50%;
  transform: translateX(-50%) translateY(20px); opacity: 0;
  padding: 10px 24px; background: var(--text-primary); color: var(--text-inverse);
  font-size: 0.8rem; font-weight: 500; border-radius: var(--radius-full);
  transition: opacity var(--duration-fast) var(--ease-smooth),
              transform var(--duration-normal) var(--ease-spring);
  white-space: nowrap; z-index: 2;
}
.product-card:hover .product-card__quick-view {
  opacity: 1; transform: translateX(-50%) translateY(0);
}
.product-card__info { padding: var(--space-lg); }
.product-card__category {
  font-family: var(--font-mono); font-size: 0.65rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-light);
  margin-bottom: var(--space-xs);
}
.product-card__name {
  font-family: var(--font-display); font-weight: 700; font-size: 1rem;
  letter-spacing: -0.01em; margin-bottom: var(--space-sm); color: var(--text-primary);
}
.product-card__price-row { display: flex; align-items: center; justify-content: space-between; }
.product-card__price { font-family: var(--font-mono); font-weight: 600; font-size: 1rem; color: var(--text-primary); }
.product-card__add-btn {
  width: 36px; height: 36px; border-radius: var(--radius-full);
  background: var(--text-primary); color: var(--text-inverse);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--duration-fast) var(--ease-smooth), transform var(--duration-normal) var(--ease-spring);
}
.product-card__add-btn:hover { background: var(--accent); transform: scale(1.15); }
.product-card__add-btn svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; }

/* Carousel nav arrows */
.carousel-nav { display: flex; align-items: center; gap: var(--space-sm); }
.carousel-btn {
  width: 44px; height: 44px; border-radius: var(--radius-full);
  border: 1.5px solid var(--border); display: flex; align-items: center; justify-content: center;
  transition: border-color var(--duration-fast), background var(--duration-fast), transform var(--duration-normal) var(--ease-spring);
}
.carousel-btn:hover { border-color: var(--text-primary); background: var(--text-primary); color: var(--text-inverse); transform: scale(1.08); }
.carousel-btn svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; }

/* Scent pills */
.product-card__scent-pills { display: flex; flex-wrap: wrap; gap: 0.375rem; padding: 0; margin-bottom: 0.5rem; }
.scent-pill {
  padding: 0.3rem 0.75rem; border: 1px solid var(--border); border-radius: 2rem;
  background: transparent; font-family: var(--font-body); font-size: 0.7rem;
  color: var(--text-secondary); cursor: pointer; transition: all 0.2s ease;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.scent-pill:hover { border-color: var(--accent); color: var(--text-primary); }
.scent-pill--active { background: #9A7230; border-color: #9A7230; color: #fff; }

/* ============================================
   STORY SECTION
   ============================================ */
.story { position: relative; min-height: 600px; display: flex; align-items: center; overflow: hidden; }
.story__bg { position: absolute; inset: 0; }
.story__bg img { width: 100%; height: 110%; object-fit: cover; transform: translateY(-5%); }
.story__bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10, 10, 10, 0.82) 0%, rgba(10, 10, 10, 0.4) 60%, rgba(200, 148, 62, 0.08) 100%);
}
.story__content { position: relative; z-index: 2; max-width: 620px; padding: var(--space-5xl) 0; }
.story__title {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(2.2rem, 4vw, 3.2rem); line-height: 1.1; letter-spacing: -0.03em;
  color: white; margin-bottom: var(--space-xl);
}
.story__text { font-weight: 300; font-size: 1.05rem; line-height: 1.8; color: rgba(255,255,255,0.75); max-width: 65ch; margin-bottom: var(--space-2xl); }
.story__features { display: flex; gap: var(--space-3xl); flex-wrap: wrap; }
.story__feature { display: flex; align-items: center; gap: var(--space-md); }
.story__feature-icon {
  width: 48px; height: 48px; border-radius: var(--radius-md);
  background: rgba(200, 148, 62, 0.2); display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.story__feature-icon svg { width: 22px; height: 22px; stroke: var(--accent); fill: none; stroke-width: 1.5; }
.story__feature-text { font-size: 0.9rem; color: rgba(255,255,255,0.9); font-weight: 400; }
.story__feature-sub { font-size: 0.75rem; color: rgba(255,255,255,0.5); font-weight: 300; }

/* ============================================
   BENEFITS BENTO
   ============================================ */
.benefits__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 3rem; }
.benefit-card {
  background: var(--bg-secondary); border: 1px solid var(--border); border-radius: 1.25rem;
  padding: 2.5rem; position: relative; overflow: hidden;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.benefit-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0,0,0,0.06); border-color: rgba(161, 98, 7, 0.2); }
.benefit-card--wide { grid-column: span 2; }
.benefit-card__number {
  font-family: var(--font-display); font-size: 4rem; font-weight: 800;
  color: var(--accent); opacity: 0.12; position: absolute; top: 1rem; right: 1.5rem; line-height: 1;
}
.benefit-card__title { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; margin-bottom: 0.75rem; }
.benefit-card__text { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.7; max-width: 55ch; }

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials__grid { columns: 3; column-gap: var(--space-lg); }
.testimonial-card {
  break-inside: avoid; background: var(--bg-secondary); border: 1px solid var(--border-light);
  border-left: 3px solid transparent; border-radius: var(--radius-lg);
  padding: var(--space-2xl); margin-bottom: var(--space-lg);
  transition: transform var(--duration-normal) var(--ease-spring),
              box-shadow var(--duration-normal) var(--ease-smooth),
              border-left-color var(--duration-normal) var(--ease-smooth);
}
.testimonial-card:hover { transform: translateY(-8px); box-shadow: 0 12px 40px rgba(26,26,26,0.08); border-left-color: var(--accent); }
.testimonial-card__stars { display: flex; gap: 2px; margin-bottom: var(--space-md); }
.testimonial-card__stars svg { width: 16px; height: 16px; fill: var(--accent); }
.testimonial-card__text { font-size: 0.95rem; font-weight: 300; line-height: 1.7; margin-bottom: var(--space-lg); }
.testimonial-card__author { display: flex; align-items: center; gap: var(--space-md); }
.testimonial-card__avatar { width: 40px; height: 40px; border-radius: var(--radius-full); object-fit: cover; }
.testimonial-card__name { font-weight: 600; font-size: 0.85rem; }
.testimonial-card__location { font-size: 0.75rem; color: var(--text-light); }
.testimonial-card__product {
  font-family: var(--font-mono); font-size: 0.65rem; color: var(--accent-text);
  text-transform: uppercase; letter-spacing: 0.06em;
  margin-top: var(--space-sm); padding-top: var(--space-sm); border-top: 1px solid var(--border-light);
}

/* ============================================
   NEWSLETTER
   ============================================ */
.newsletter { text-align: center; max-width: 560px; margin: 0 auto; }
.newsletter__title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.8rem, 3vw, 2.4rem); letter-spacing: -0.03em; margin-bottom: var(--space-md);
}
.newsletter__subtitle { color: var(--text-secondary); font-weight: 300; margin-bottom: var(--space-2xl); }
.newsletter__form {
  display: flex; gap: var(--space-sm);
  background: var(--bg-secondary); border: 1.5px solid var(--border); border-radius: var(--radius-full);
  padding: 6px 6px 6px 24px; box-shadow: inset 0 2px 6px rgba(26,26,26,0.04);
  transition: border-color var(--duration-normal), box-shadow var(--duration-normal);
}
.newsletter__form:focus-within {
  border-color: var(--accent);
  box-shadow: inset 0 2px 6px rgba(26,26,26,0.04), 0 0 0 4px var(--accent-light), 0 0 20px rgba(200, 148, 62, 0.1);
}
.newsletter__input { flex: 1; font-size: 0.9rem; color: var(--text-primary); min-width: 0; }
.newsletter__input::placeholder { color: var(--text-light); }
.newsletter__submit {
  padding: 12px 28px; background: var(--text-primary); color: var(--text-inverse);
  font-weight: 500; font-size: 0.85rem; border-radius: var(--radius-full);
  transition: background var(--duration-fast), transform var(--duration-normal) var(--ease-spring); white-space: nowrap;
}
.newsletter__submit:hover { background: var(--accent); transform: scale(1.04); }
.newsletter__disclaimer { font-size: 0.75rem; color: var(--text-light); margin-top: var(--space-md); }

/* ============================================
   FOOTER
   ============================================ */
.footer { background: var(--bg-dark); color: rgba(255,255,255,0.7); padding: var(--space-5xl) 0 var(--space-2xl); }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: var(--space-3xl); margin-bottom: var(--space-4xl); }
.footer__brand-name { font-size: 1.3rem; color: white; margin-bottom: var(--space-md); display: inline-flex; align-items: baseline; }
.footer__brand-name .nav__logo-light { color: white; }
.footer__brand-name .nav__logo-bold { color: var(--accent); }
.footer__brand-desc { font-size: 0.9rem; line-height: 1.7; margin-bottom: var(--space-xl); max-width: 300px; }
.footer__whatsapp {
  display: inline-flex; align-items: center; gap: var(--space-sm);
  background: #1A8F45; color: white; padding: 10px 20px; border-radius: var(--radius-full);
  font-size: 0.85rem; font-weight: 500;
  transition: transform var(--duration-normal) var(--ease-spring), box-shadow var(--duration-fast);
}
.footer__whatsapp:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(37, 211, 102, 0.3); }
.footer__whatsapp svg { width: 18px; height: 18px; fill: white; }
.footer__instagram {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: var(--text-secondary); font-size: 0.9rem; margin-top: 0.75rem; transition: color 0.2s;
}
.footer__instagram:hover { color: var(--accent); }
.footer__instagram svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 2; fill: none; }
.footer__col-title {
  font-family: var(--font-display); font-weight: 700; font-size: 0.85rem;
  color: white; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: var(--space-lg);
}
.footer__links { display: flex; flex-direction: column; gap: var(--space-sm); }
.footer__link { font-size: 0.875rem; transition: color var(--duration-fast); padding: 2px 0; }
.footer__link:hover { color: var(--accent); }
.footer__bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: var(--space-2xl); border-top: 1px solid rgba(255,255,255,0.08);
  flex-wrap: wrap; gap: var(--space-md);
}
.footer__copy { font-size: 0.8rem; }
.footer__payments { display: flex; align-items: center; gap: var(--space-md); }
.footer__payment-icon {
  width: 40px; height: 26px; background: rgba(255,255,255,0.1); border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem; font-weight: 700; color: rgba(255,255,255,0.75); letter-spacing: 0.04em;
}
.footer__license { font-size: 0.7rem; color: rgba(255,255,255,0.55); }

/* ============================================
   SHOP PAGE
   ============================================ */
.shop-hero { padding-top: calc(var(--nav-height) + var(--space-4xl)); padding-bottom: var(--space-3xl); }
.has-announcement .shop-hero { padding-top: calc(var(--nav-height) + 38px + var(--space-4xl)); }
.shop-hero__title {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(2.4rem, 5vw, 3.5rem); letter-spacing: -0.03em; margin-bottom: var(--space-sm);
}
.shop-hero__count { font-family: var(--font-mono); font-size: 0.8rem; color: var(--text-light); letter-spacing: 0.04em; }

.filter-bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-lg); margin-bottom: var(--space-3xl); flex-wrap: wrap;
}
.filter-pills { display: flex; gap: var(--space-sm); flex-wrap: wrap; }
.filter-pill {
  font-size: 0.85rem; font-weight: 400; padding: 8px 20px; border-radius: var(--radius-full);
  border: 1.5px solid var(--border); color: var(--text-secondary);
  transition: background var(--duration-fast), color var(--duration-fast), border-color var(--duration-fast);
  cursor: pointer; white-space: nowrap;
}
.filter-pill:hover { border-color: var(--text-primary); color: var(--text-primary); }
.filter-pill--active { background: var(--text-primary); color: var(--text-inverse); border-color: var(--text-primary); }
.filter-pill--active:hover { background: var(--accent); border-color: var(--accent); color: white; }

.sort-select { position: relative; }
.sort-select select {
  appearance: none; -webkit-appearance: none;
  padding: 10px 40px 10px 16px; border: 1.5px solid var(--border); border-radius: var(--radius-full);
  font-size: 0.85rem; color: var(--text-secondary); background: var(--bg-secondary); cursor: pointer;
  transition: border-color var(--duration-fast);
}
.sort-select select:hover, .sort-select select:focus { border-color: var(--text-primary); }
.sort-select::after {
  content: ''; position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent;
  border-top: 5px solid var(--text-secondary); pointer-events: none;
}

.shop-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: var(--space-lg);
}
.shop-grid .product-card { flex: none; }
.shop-grid .product-card__image-wrap { aspect-ratio: 4/5; }

/* ============================================
   WOOCOMMERCE OVERRIDES
   ============================================ */
.woocommerce-page { background: var(--bg-primary); }

/* Breadcrumb */
.n71-breadcrumb {
  max-width: var(--max-width); margin: 0 auto; padding: calc(var(--nav-height) + var(--space-lg)) var(--space-xl) 0;
}
.has-announcement .n71-breadcrumb {
  padding-top: calc(var(--nav-height) + 38px + var(--space-lg));
  font-size: 0.85rem;
}
.n71-breadcrumb ol { display: flex; gap: 0.5rem; list-style: none; padding: 0; margin: 0; }
.n71-breadcrumb li { display: flex; align-items: center; gap: 0.5rem; }
.n71-breadcrumb li::after { content: '/'; color: var(--text-light); }
.n71-breadcrumb li:last-child::after { display: none; }
.n71-breadcrumb a { color: var(--text-secondary); text-decoration: none; }
.n71-breadcrumb a:hover { color: var(--text-primary); }

/* WooCommerce notices */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  background: var(--bg-secondary) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-md) !important;
  padding: var(--space-md) var(--space-lg) !important;
  font-family: var(--font-body) !important;
  color: var(--text-primary) !important;
  margin-bottom: var(--space-lg) !important;
  border-top: none !important;
}
.woocommerce-message { border-left: 3px solid #2D8B4E !important; }
.woocommerce-error { border-left: 3px solid #e74c3c !important; }
.woocommerce-info { border-left: 3px solid var(--accent) !important; }

/* Single Product */
.n71-single-product {
  max-width: var(--max-width); margin: 0 auto; padding: var(--space-3xl) var(--space-xl);
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4xl); align-items: start;
}
.n71-product-gallery { position: relative; }
.n71-product-gallery .woocommerce-product-gallery__image img {
  width: 100%; border-radius: var(--radius-lg); object-fit: cover;
}
.n71-product-gallery .flex-control-thumbs {
  display: flex; gap: var(--space-sm); margin-top: var(--space-md); list-style: none; padding: 0;
}
.n71-product-gallery .flex-control-thumbs li {
  width: 80px; height: 80px; border-radius: var(--radius-sm); overflow: hidden; cursor: pointer;
  border: 2px solid transparent; transition: border-color 0.2s;
}
.n71-product-gallery .flex-control-thumbs li img { width: 100%; height: 100%; object-fit: cover; }
.n71-product-gallery .flex-control-thumbs li.flex-active { border-color: var(--accent); }

.n71-product-summary {}
.n71-product-summary .product_title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.8rem, 3vw, 2.4rem); letter-spacing: -0.02em; margin-bottom: var(--space-md);
}
.n71-product-summary .price {
  font-family: var(--font-mono); font-size: 1.5rem; font-weight: 700;
  color: var(--accent-text); margin-bottom: var(--space-xl);
}
.n71-product-summary .price del { color: var(--text-light); font-weight: 400; }
.n71-product-summary .price ins { text-decoration: none; }

.n71-product-summary .woocommerce-product-details__short-description {
  color: var(--text-secondary); font-size: 1rem; line-height: 1.8; margin-bottom: var(--space-xl);
}

/* Variation swatches */
.n71-product-summary .variations { width: 100%; margin-bottom: var(--space-xl); border: none; }
.n71-product-summary .variations td { display: block; padding: 0; }
.n71-product-summary .variations .label { font-weight: 600; font-size: 0.85rem; margin-bottom: var(--space-sm); }
.n71-product-summary .variations select {
  width: 100%; padding: 12px 16px; border: 1.5px solid var(--border); border-radius: var(--radius-md);
  background: var(--bg-secondary); font-family: var(--font-body); font-size: 0.9rem;
  color: var(--text-primary); appearance: auto;
}
.n71-product-summary .variations select:focus { border-color: var(--accent); outline: 2px solid var(--accent); outline-offset: 2px; }

/* Add to cart button */
/* Add to Cart button — force theme colors everywhere */
.single_add_to_cart_button,
.n71-product-summary .single_add_to_cart_button,
.n71-product-summary button.button,
button.single_add_to_cart_button,
.woocommerce button.button.alt,
.woocommerce .button.alt {
  display: inline-flex !important; align-items: center; justify-content: center; gap: var(--space-sm);
  width: 100%; padding: 16px 32px !important;
  background: var(--text-primary) !important; color: var(--text-inverse) !important;
  font-family: var(--font-body) !important; font-weight: 600 !important; font-size: 1rem !important;
  border-radius: var(--radius-full) !important; border: none !important; cursor: pointer;
  transition: background var(--duration-fast), transform var(--duration-normal) var(--ease-spring),
              box-shadow var(--duration-fast);
}
.single_add_to_cart_button:hover,
.n71-product-summary .single_add_to_cart_button:hover,
.woocommerce button.button.alt:hover {
  background: var(--accent) !important; transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(26,26,26,0.18);
}

/* Quantity input */
.n71-product-summary .quantity { margin-bottom: var(--space-md); }
.n71-product-summary .quantity input[type="number"] {
  width: 80px; padding: 10px; text-align: center;
  border: 1.5px solid var(--border); border-radius: var(--radius-md);
  background: var(--bg-secondary); font-family: var(--font-mono); font-size: 1rem;
}

/* Product accordion */
.n71-product__accordion { margin-top: var(--space-xl); border-top: 1px solid var(--border); }
.n71-product__accordion-trigger {
  display: flex; justify-content: space-between; align-items: center;
  width: 100%; padding: var(--space-lg) 0; font-weight: 600; font-size: 0.95rem;
  cursor: pointer; background: none; border: none; text-align: left;
  font-family: var(--font-body); color: var(--text-primary);
}
.n71-product__accordion-icon { transition: transform 0.3s; }
.n71-product__accordion-icon::after { content: '+'; font-size: 1.2rem; }
.n71-product__accordion-trigger[aria-expanded="true"] .n71-product__accordion-icon::after { content: '\2212'; }
.n71-product__accordion-content {
  max-height: 0; overflow: hidden; transition: max-height 0.4s ease;
}
.n71-product__accordion-content-inner {
  padding-bottom: var(--space-xl); font-size: 0.9rem; line-height: 1.7; color: var(--text-secondary);
}

/* Cart Page */
.n71-cart-page {
  max-width: var(--max-width); margin: 0 auto;
  padding: calc(var(--nav-height) + var(--space-3xl)) var(--space-xl) var(--space-3xl);
}
/* Cart page inputs */
.n71-cart-page input[type="text"],
.n71-cart-page input[type="number"],
.n71-cart-page select {
  padding: 10px 14px; border: 1.5px solid var(--border); border-radius: var(--radius-md);
  background: white; font-family: var(--font-body); font-size: 0.9rem;
}
/* Cart on desktop: table + totals side by side */
@media (min-width: 1024px) {
  .n71-cart-page .cart-collaterals { max-width: 400px; margin-left: auto; }
}
.n71-cart-page h1 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2rem, 4vw, 3rem); margin-bottom: var(--space-3xl);
}
.woocommerce-cart-form table {
  width: 100%; border-collapse: collapse;
}
.woocommerce-cart-form th {
  font-family: var(--font-mono); font-size: 0.7rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-light);
  padding: var(--space-md) 0; border-bottom: 1px solid var(--border); text-align: left;
}
.woocommerce-cart-form td {
  padding: var(--space-lg) 0; border-bottom: 1px solid var(--border-light);
  vertical-align: middle;
}
.woocommerce-cart-form .product-thumbnail img {
  width: 80px; height: 80px; object-fit: cover; border-radius: var(--radius-md);
}
.woocommerce-cart-form .product-name a {
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
  color: var(--text-primary); text-decoration: none;
}
.woocommerce-cart-form .product-name a:hover { color: var(--accent); }
.woocommerce-cart-form .product-price, .woocommerce-cart-form .product-subtotal {
  font-family: var(--font-mono); font-weight: 600;
}
.woocommerce-cart-form .product-quantity input[type="number"] {
  width: 60px; padding: 8px; text-align: center;
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  background: var(--bg-secondary); font-family: var(--font-mono);
}
.woocommerce-cart-form .product-remove a {
  display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: var(--radius-full);
  background: var(--bg-secondary); color: var(--text-light); font-size: 1.2rem;
  transition: background 0.2s, color 0.2s;
}
.woocommerce-cart-form .product-remove a:hover { background: #e74c3c; color: white; }

/* Cart totals */
.cart_totals { margin-top: var(--space-3xl); }
.cart_totals h2 { font-family: var(--font-display); font-weight: 700; margin-bottom: var(--space-lg); }
.cart_totals table { width: 100%; }
.cart_totals th, .cart_totals td {
  padding: var(--space-md) 0; border-bottom: 1px solid var(--border-light);
}
.cart_totals th { font-weight: 600; font-size: 0.9rem; text-align: left; }
.cart_totals .order-total th, .cart_totals .order-total td { font-size: 1.1rem; font-weight: 700; }
.cart_totals .order-total .amount { font-family: var(--font-mono); color: var(--accent-text); }

.wc-proceed-to-checkout .checkout-button {
  display: block; width: 100%; padding: 16px 32px;
  background: var(--text-primary); color: var(--text-inverse);
  font-family: var(--font-body); font-weight: 600; font-size: 1rem;
  border-radius: var(--radius-full); text-align: center; margin-top: var(--space-lg);
  transition: background var(--duration-fast), transform var(--duration-normal) var(--ease-spring);
}
.wc-proceed-to-checkout .checkout-button:hover {
  background: var(--accent); transform: translateY(-2px);
}

/* ============================================
   CHECKOUT PAGE — Mobile-first, responsive
   ============================================ */

/* Wrapper — full width of container */
.n71-cart-page .woocommerce,
.woocommerce-checkout { max-width: var(--max-width); margin: 0 auto; }

/* Force ALL form elements to full width */
.woocommerce form .form-row,
.woocommerce-checkout .form-row { width: 100% !important; float: none !important; padding: 0 !important; margin-bottom: var(--space-md) !important; }

.woocommerce input[type="text"],
.woocommerce input[type="email"],
.woocommerce input[type="tel"],
.woocommerce input[type="number"],
.woocommerce input[type="password"],
.woocommerce input[type="url"],
.woocommerce select,
.woocommerce textarea,
.woocommerce-checkout input[type="text"],
.woocommerce-checkout input[type="email"],
.woocommerce-checkout input[type="tel"],
.woocommerce-checkout select,
.woocommerce-checkout textarea {
  width: 100% !important; padding: 14px 16px !important;
  border: 1.5px solid var(--border) !important; border-radius: var(--radius-md) !important;
  background: white !important; font-family: var(--font-body) !important; font-size: 0.95rem !important;
  color: var(--text-primary) !important; box-sizing: border-box !important;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.woocommerce input:focus,
.woocommerce select:focus,
.woocommerce textarea:focus {
  border-color: var(--accent) !important; outline: none !important;
  box-shadow: 0 0 0 3px var(--accent-light) !important;
}

.woocommerce-checkout h3,
.woocommerce h3 {
  font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; margin-bottom: var(--space-lg);
}
.woocommerce-checkout .form-row label,
.woocommerce .form-row label {
  display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 4px; color: var(--text-primary);
}

/* Desktop: two-column checkout (billing left, order review right) */
@media (min-width: 768px) {
  .woocommerce-checkout .col2-set {
    display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2xl);
  }
  .woocommerce-checkout .form-row-first { width: 48% !important; float: left !important; }
  .woocommerce-checkout .form-row-last { width: 48% !important; float: right !important; }
  .woocommerce-checkout .form-row-wide { clear: both; width: 100% !important; float: none !important; }
}

/* Desktop checkout: billing left, order review right */
@media (min-width: 1024px) {
  form.woocommerce-checkout {
    display: flex; flex-wrap: wrap; gap: var(--space-3xl);
  }
  /* Coupon notice and notices — full width */
  form.woocommerce-checkout > .woocommerce-form-coupon-toggle,
  form.woocommerce-checkout > .woocommerce-form-coupon,
  form.woocommerce-checkout > .woocommerce-notices-wrapper,
  form.woocommerce-checkout > .woocommerce-NoticeGroup { flex: 0 0 100%; }

  /* Billing/shipping columns — 58% left */
  form.woocommerce-checkout > .col2-set { flex: 0 0 55%; }
  form.woocommerce-checkout > .col2-set .col-1,
  form.woocommerce-checkout > .col2-set .col-2 { width: 100%; float: none; }

  /* Order review heading + box — 38% right */
  form.woocommerce-checkout > #order_review_heading { flex: 0 0 38%; margin-left: auto; }
  form.woocommerce-checkout > #order_review {
    flex: 0 0 38%; margin-left: auto;
    background: white; border: 1px solid var(--border); border-radius: var(--radius-lg);
    padding: var(--space-xl); position: sticky; top: calc(var(--nav-height) + var(--space-lg));
  }

  /* Shipping to different address — full width under billing */
  form.woocommerce-checkout > #ship-to-different-address { flex: 0 0 55%; }
  form.woocommerce-checkout > .woocommerce-additional-fields { flex: 0 0 55%; }
}

/* Order review */
.woocommerce-checkout-review-order-table {
  width: 100%; border-collapse: collapse; margin-bottom: var(--space-xl);
}
.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
  padding: var(--space-md) 0; border-bottom: 1px solid var(--border-light);
}
.woocommerce-checkout-review-order-table th {
  font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em;
}

/* Payment methods */
.wc_payment_methods { list-style: none; padding: 0; margin: var(--space-lg) 0; }
.wc_payment_method {
  background: var(--bg-secondary); border: 1.5px solid var(--border); border-radius: var(--radius-md);
  margin-bottom: var(--space-sm); overflow: hidden;
}
.wc_payment_method label {
  display: flex; align-items: center; gap: var(--space-md);
  padding: var(--space-lg); cursor: pointer; font-weight: 500;
}
.wc_payment_method .payment_box {
  padding: 0 var(--space-lg) var(--space-lg); font-size: 0.85rem; color: var(--text-secondary);
}

/* Place order button */
#place_order {
  display: block; width: 100%; padding: 18px 32px;
  background: var(--text-primary); color: var(--text-inverse);
  font-family: var(--font-body); font-weight: 700; font-size: 1.1rem;
  border-radius: var(--radius-full); border: none; cursor: pointer;
  transition: background var(--duration-fast), transform var(--duration-normal) var(--ease-spring);
}
#place_order:hover { background: var(--accent); transform: translateY(-2px); }

/* Terms consent */
.n71-consent {
  display: flex; align-items: flex-start; gap: var(--space-sm);
  margin: var(--space-lg) 0; font-size: 0.85rem;
}
.n71-consent input[type="checkbox"] {
  width: 18px; height: 18px; margin-top: 2px; accent-color: var(--accent); flex-shrink: 0;
}
.n71-consent a { color: var(--accent); text-decoration: underline; }

/* ============================================
   STATIC PAGE TEMPLATES
   ============================================ */
.n71-page {
  max-width: 800px; margin: 0 auto;
  padding: calc(var(--nav-height) + var(--space-4xl)) var(--space-xl) var(--space-5xl);
}
.has-announcement .n71-page { padding-top: calc(var(--nav-height) + 38px + var(--space-4xl)); }
.n71-page h1 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.02em; margin-bottom: var(--space-3xl);
}
.n71-page h2 {
  font-family: var(--font-display); font-weight: 700; font-size: 1.5rem;
  margin-top: var(--space-3xl); margin-bottom: var(--space-md);
}
.n71-page h3 {
  font-family: var(--font-display); font-weight: 600; font-size: 1.2rem;
  margin-top: var(--space-2xl); margin-bottom: var(--space-sm);
}
.n71-page p { color: var(--text-secondary); line-height: 1.8; margin-bottom: var(--space-lg); }
.n71-page ul, .n71-page ol {
  padding-left: var(--space-xl); margin-bottom: var(--space-lg);
  color: var(--text-secondary); line-height: 1.8;
}
.n71-page ul { list-style: disc; }
.n71-page ol { list-style: decimal; }
.n71-page a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.n71-page a:hover { color: var(--accent-hover); }

/* About page */
.n71-about-hero {
  text-align: center; padding-top: calc(var(--nav-height) + var(--space-4xl));
  padding-bottom: var(--space-4xl);
}
.has-announcement .n71-about-hero { padding-top: calc(var(--nav-height) + 38px + var(--space-4xl)); }

/* Make / Bespoke page */
.n71-make-hero { text-align: center; }
.n71-make-services {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-lg); margin-top: var(--space-3xl);
}
.n71-make-service {
  background: var(--bg-secondary); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: var(--space-2xl); transition: transform 0.3s var(--ease-spring), box-shadow 0.3s;
}
.n71-make-service:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.n71-make-service h3 { font-family: var(--font-display); font-weight: 700; margin-bottom: var(--space-sm); }
.n71-make-service p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.7; }
.n71-make-cta {
  text-align: center; margin-top: var(--space-4xl); padding: var(--space-3xl);
  background: var(--bg-secondary); border-radius: var(--radius-xl);
}

/* WhatsApp CTA on Make products */
.n71-whatsapp-cta {
  display: inline-flex; align-items: center; gap: var(--space-sm);
  background: #1A8F45; color: white; padding: 14px 28px; border-radius: var(--radius-full);
  font-weight: 600; font-size: 1rem; margin-top: var(--space-lg);
  transition: transform var(--duration-normal) var(--ease-spring), box-shadow var(--duration-fast);
}
.n71-whatsapp-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(37, 211, 102, 0.3); }
.n71-whatsapp-cta svg { width: 20px; height: 20px; fill: white; }

/* Floating WhatsApp */
.fab-whatsapp {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 1000;
  width: 56px; height: 56px; border-radius: 50%;
  background: #1A8F45; color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(26, 143, 69, 0.35);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); text-decoration: none;
}
.fab-whatsapp:hover { transform: scale(1.1) translateY(-2px); box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5); }
.fab-whatsapp svg { width: 28px; height: 28px; fill: currentColor; stroke: none; }

/* Shipping estimate */
.n71-shipping-estimate { font-size: 11px; color: #2D8B4E; display: block; margin-top: 4px; }

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes scaleIn { from { opacity: 0; transform: scale(0.92); } to { opacity: 1; transform: scale(1); } }
@keyframes pulse-dot { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
@keyframes shimmer-border { 0% { background-position: 0% 0%; } 100% { background-position: 300% 300%; } }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes image-shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }

.js .product-card__image-wrap:not(.img-loaded),
.js .category-tile:not(.img-loaded),
.js .hero__collage-item:not(.img-loaded) {
  background: linear-gradient(90deg, var(--bg-primary) 25%, var(--border-light) 50%, var(--bg-primary) 75%);
  background-size: 200% 100%; animation: image-shimmer 2s ease infinite;
}

.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity var(--duration-slow) var(--ease-out), transform var(--duration-slow) var(--ease-spring); }
.reveal--visible { opacity: 1; transform: translateY(0); }
.reveal--scale { transform: scale(0.92); }
.reveal--scale.reveal--visible { transform: scale(1); }

.text-reveal-line { overflow: hidden; display: block; }
.js .text-reveal-line span { display: inline-block; transform: translateY(110%); transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1); }
.text-reveal-line.revealed span { transform: translateY(0); }

.js .stagger-children > * { opacity: 0; transform: translateY(20px); transition: opacity var(--duration-slow) var(--ease-out), transform var(--duration-slow) var(--ease-spring); }
.stagger-children.reveal--visible > *:nth-child(1) { transition-delay: 0ms; opacity: 1; transform: translateY(0); }
.stagger-children.reveal--visible > *:nth-child(2) { transition-delay: 100ms; opacity: 1; transform: translateY(0); }
.stagger-children.reveal--visible > *:nth-child(3) { transition-delay: 200ms; opacity: 1; transform: translateY(0); }
.stagger-children.reveal--visible > *:nth-child(4) { transition-delay: 300ms; opacity: 1; transform: translateY(0); }
.stagger-children.reveal--visible > *:nth-child(5) { transition-delay: 400ms; opacity: 1; transform: translateY(0); }
.stagger-children.reveal--visible > *:nth-child(6) { transition-delay: 500ms; opacity: 1; transform: translateY(0); }

.hero-stagger > * { opacity: 0; transform: translateY(40px); animation: fadeInUp 0.8s var(--ease-spring) forwards; }
.hero-stagger > *:nth-child(1) { animation-delay: 0.1s; }
.hero-stagger > *:nth-child(2) { animation-delay: 0.25s; }
.hero-stagger > *:nth-child(3) { animation-delay: 0.4s; }
.hero-stagger > *:nth-child(4) { animation-delay: 0.55s; }
.hero-stagger > *:nth-child(5) { animation-delay: 0.7s; }
.hero-stagger > *:nth-child(6) { animation-delay: 0.85s; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; min-height: auto; padding-bottom: var(--space-3xl); }
  .hero__content { padding: var(--space-3xl) var(--space-xl); padding-top: calc(var(--nav-height) + var(--space-3xl)); }
  .hero__visual { min-height: 400px; padding: 0 var(--space-xl); }
  .hero__collage { padding: 0 0 var(--space-2xl); }
  .hero__stats { gap: var(--space-2xl); }
  .categories__grid { grid-template-columns: 1fr 1fr; grid-template-rows: 280px 280px; }
  .category-tile--large { grid-row: auto; }
  .testimonials__grid { columns: 2; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: var(--space-2xl); }
  .n71-single-product { grid-template-columns: 1fr; gap: var(--space-2xl); }
  .woocommerce-checkout .col2-set { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --nav-height: 64px; }
  .nav__links { display: none; }
  .nav__menu-toggle { display: flex; }
  .nav__actions { gap: var(--space-sm); }
  .nav__icon-btn { width: 44px; height: 44px; flex-shrink: 0; }
  .hero__title { font-size: clamp(2.2rem, 8vw, 3rem); }
  .hero__stats { flex-wrap: wrap; gap: var(--space-xl); }
  .hero__collage { grid-template-columns: 1fr 1fr; grid-template-rows: 200px 200px; }
  .hero__collage-item:nth-child(1) { grid-row: 1; }
  .categories__grid { grid-template-columns: 1fr; grid-template-rows: 240px 240px 240px; }
  .category-tile--large { grid-row: auto; }
  .product-card { flex: 0 0 260px; }
  .testimonials__grid { columns: 1; }
  .footer__grid { grid-template-columns: 1fr; gap: var(--space-2xl); }
  .footer__bottom { flex-direction: column; text-align: center; }
  .story__features { flex-direction: column; gap: var(--space-xl); }
  .shop-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: var(--space-md); }
  .filter-bar { flex-direction: column; align-items: flex-start; }
  .benefits__grid { grid-template-columns: 1fr; }
  .benefit-card--wide { grid-column: span 1; }
  .benefit-card { padding: 1.75rem; }
}

@media (max-width: 480px) {
  .container { padding-left: var(--space-md); padding-right: var(--space-md); }
  .section { padding: var(--space-4xl) 0; }
  .hero__title { font-size: 2rem; }
  .hero__cta-group { flex-direction: column; align-items: flex-start; width: 100%; }
  .hero__cta-group .btn { width: 100%; text-align: center; }
  .hero__collage { grid-template-columns: 1fr; grid-template-rows: repeat(3, 180px); }
  .hero__collage-item:nth-child(1) { grid-row: auto; grid-column: auto; }
  .product-card { flex: 0 0 240px; }
  .shop-grid { grid-template-columns: 1fr; gap: var(--space-sm); }
  .fab-whatsapp { bottom: 1.25rem; right: 1.25rem; width: 48px; height: 48px; }
  .fab-whatsapp svg { width: 24px; height: 24px; }
}

/* Mobile product page */
@media (max-width: 768px) {
  .n71-single-product { grid-template-columns: 1fr; padding-top: calc(var(--nav-height) + var(--space-lg)); }
  .n71-product-summary .single_add_to_cart_button,
  .n71-product-summary button.button { width: 100%; }
  .n71-product-summary .quantity { width: 100%; margin-bottom: var(--space-md); }
  .n71-product-summary .quantity input[type="number"] { width: 100%; }
  .cfvsw-swatches-container .cfvsw-swatch {
    padding: 10px 16px !important; font-size: 0.85rem !important;
    min-height: 44px !important;
  }
  .variations td.value select { font-size: 1rem; padding: 14px 16px; }
  .n71-whatsapp-cta { width: 100%; justify-content: center; }
  .related.products ul.products { grid-template-columns: 1fr 1fr; }
  .fab-whatsapp { bottom: 5rem; }
  .wc-proceed-to-checkout .checkout-button { font-size: 1rem; padding: 16px; }
}

/* WooCommerce Gallery — ensure images show even if JS is deferred */
.woocommerce-product-gallery { opacity: 1 !important; }
.woocommerce-product-gallery .woocommerce-product-gallery__image img {
  width: 100%; height: auto; border-radius: var(--radius-lg); display: block;
}
.woocommerce-product-gallery .flex-viewport { border-radius: var(--radius-lg); overflow: hidden; }
.woocommerce-product-gallery .flex-control-thumbs {
  display: flex; gap: var(--space-sm); margin-top: var(--space-md); list-style: none; padding: 0;
}
.woocommerce-product-gallery .flex-control-thumbs li {
  width: 80px; height: 80px; border-radius: var(--radius-sm); overflow: hidden; cursor: pointer;
  border: 2px solid transparent; transition: border-color 0.2s;
}
.woocommerce-product-gallery .flex-control-thumbs li img { width: 100%; height: 100%; object-fit: cover; }
.woocommerce-product-gallery .flex-control-thumbs li.flex-active,
.woocommerce-product-gallery .flex-control-thumbs li:hover { border-color: var(--accent); }

/* Scent Variation — hide cfvsw swatches, force show native dropdown */
.cfvsw-swatches-container { display: none !important; }
.variations td.value select { display: block !important; visibility: visible !important; opacity: 1 !important; }

/* Styled variation dropdown */
.variations { width: 100%; margin-bottom: var(--space-lg); border-collapse: collapse; }
.variations tr { display: flex; flex-direction: column; gap: var(--space-xs); margin-bottom: var(--space-md); }
.variations td { display: block; padding: 0; }
.variations .label label {
  font-family: var(--font-display); font-weight: 600; font-size: 0.9rem;
  text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-primary);
  margin-bottom: var(--space-xs); display: block;
}
.variations td.value { position: relative; }
.variations td.value select {
  width: 100%; padding: 14px 44px 14px 18px; appearance: none; -webkit-appearance: none;
  border: 1.5px solid var(--border); border-radius: var(--radius-md);
  background: var(--bg-secondary); font-family: var(--font-body); font-size: 0.95rem;
  color: var(--text-primary); cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.variations td.value select:hover { border-color: var(--text-primary); }
.variations td.value select:focus {
  border-color: var(--accent); outline: none;
  box-shadow: 0 0 0 3px var(--accent-light);
}
.variations td.value::after {
  content: ''; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  width: 0; height: 0; border-left: 5px solid transparent; border-right: 5px solid transparent;
  border-top: 6px solid var(--text-secondary); pointer-events: none;
}
.variations .reset_variations { display: none; }

/* Related products grid */
.related.products { max-width: var(--max-width); margin: 0 auto; padding: var(--space-3xl) var(--space-xl); }
.related.products h2 { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; margin-bottom: var(--space-2xl); }
.related.products ul.products {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: var(--space-lg); list-style: none; padding: 0;
}
.related.products ul.products li.product {
  background: var(--bg-secondary); border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid transparent; transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.related.products ul.products li.product:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-md);
}
.related.products ul.products li.product a img {
  width: 100%; aspect-ratio: 1; object-fit: cover;
}
.related.products ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--font-display); font-weight: 600; font-size: 0.95rem;
  padding: var(--space-md) var(--space-lg) var(--space-xs);
}
.related.products ul.products li.product .price {
  font-family: var(--font-mono); font-size: 0.9rem; padding: 0 var(--space-lg) var(--space-lg);
}
.related.products ul.products li.product .button { display: none; }

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important; animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important; scroll-behavior: auto !important;
  }
  .reveal, .stagger-children > *, .hero-stagger > * { opacity: 1; transform: none; animation: none; }
  .hero__label-dot { animation: none; }
  .trust-strip__track { animation: none; }
}

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
::selection { background: rgba(200, 148, 62, 0.25); color: var(--text-primary); }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--border) 0%, #C8943E44 100%);
  border-radius: 5px; border: 2px solid var(--bg-primary);
}
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, var(--text-light) 0%, var(--accent) 100%); }

/* ============================================
   COMPACT HERO (mobile-first)
   ============================================ */
.hero--compact {
  min-height: auto; display: block; padding: calc(var(--nav-height) + var(--space-2xl)) 0 var(--space-2xl);
}
.hero--compact .hero__title { font-size: clamp(2rem, 6vw, 3rem); margin-bottom: var(--space-md); }
.hero--compact .hero__subtitle { padding-top: 0; margin-bottom: var(--space-lg); font-size: 0.95rem; }
.hero--compact .hero__subtitle::before { display: none; }
.hero--compact .hero__cta-group { gap: var(--space-sm); }
.hero--compact .btn { padding: 12px 24px; font-size: 0.85rem; }

@media (min-width: 1024px) {
  .hero--compact { padding: calc(var(--nav-height) + var(--space-4xl)) 0 var(--space-3xl); text-align: center; }
  .hero--compact .hero__title { font-size: 3.5rem; }
  .hero--compact .hero__subtitle { font-size: 1.1rem; max-width: 600px; margin-left: auto; margin-right: auto; }
  .hero--compact .hero__cta-group { justify-content: center; }
  .hero--compact .hero__label { justify-content: center; }
  .hero--compact .btn { padding: 16px 36px; font-size: 0.95rem; }
}

/* ============================================
   SECTION HEADER ROW (title + "View All")
   ============================================ */
.section--compact { padding: var(--space-2xl) 0; }
.section--compact + .section--compact { padding-top: 0; }
.section-header-row {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: var(--space-lg); padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--border);
}
.section-header-row__title {
  font-family: var(--font-display); font-weight: 800;
  font-size: 1.3rem; letter-spacing: -0.02em;
}
.section-header-row__link {
  font-size: 0.8rem; font-weight: 500; color: var(--accent-text);
  border: 1px solid var(--border); padding: 6px 14px; border-radius: var(--radius-full);
  transition: all 0.2s;
}
.section-header-row__link:hover { border-color: var(--accent); background: var(--accent-light); }

/* ============================================
   COMPACT PRODUCT GRID (Jomla-style)
   ============================================ */
.product-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px;
}
@media (min-width: 768px) { .product-grid { grid-template-columns: repeat(3, 1fr); gap: var(--space-md); } }
@media (min-width: 1024px) { .product-grid { grid-template-columns: repeat(4, 1fr); gap: var(--space-lg); } }

/* Product card — compact */
.pcard {
  background: white; border: 1px solid var(--border); border-radius: var(--radius-md);
  overflow: hidden; transition: box-shadow 0.2s, transform 0.2s;
}
.pcard:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.pcard__img {
  display: block; aspect-ratio: 1; overflow: hidden; background: #f5f5f3; position: relative;
}
.pcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.pcard__img img[src*="placeholder"], .pcard__img img[src*="woocommerce-placeholder"] {
  object-fit: contain; padding: 20%; opacity: 0.3;
}
.pcard:hover .pcard__img img { transform: scale(1.05); }
.pcard__placeholder {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  background: var(--bg-secondary); color: var(--border);
}
.pcard__placeholder svg { width: 40px !important; height: 40px !important; max-width: 40px; max-height: 40px; }
.pcard__badge {
  position: absolute; top: 8px; left: 8px;
  font-size: 0.6rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
  padding: 3px 8px; border-radius: var(--radius-full); background: var(--accent); color: white;
}

.pcard__body { padding: 10px 12px 12px; }
.pcard__name {
  font-family: var(--font-display); font-weight: 600; font-size: 0.8rem;
  line-height: 1.3; margin-bottom: 6px; color: var(--text-primary);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.pcard__name a { color: inherit; }

.pcard__price-row { display: flex; align-items: center; justify-content: space-between; }
.pcard__price {
  font-family: var(--font-mono); font-weight: 600; font-size: 0.85rem; color: var(--text-primary);
}
.pcard__btn {
  width: 32px; height: 32px; border-radius: var(--radius-full);
  background: var(--text-primary); color: white; display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; font-weight: 700; transition: background 0.2s;
}
.pcard__btn:hover { background: var(--accent); }

/* Get a Quote button */
.pcard__quote {
  display: flex; align-items: center; gap: 6px;
  background: #1A8F45; color: white; padding: 8px 12px; border-radius: var(--radius-md);
  font-size: 0.75rem; font-weight: 600; width: 100%; justify-content: center;
  transition: background 0.2s, transform 0.2s;
}
.pcard__quote:hover { background: #15773a; transform: translateY(-1px); }
.pcard__quote svg { width: 14px !important; height: 14px !important; max-width: 14px; fill: white; flex-shrink: 0; display: inline-block; }

/* ============================================
   MOBILE BOTTOM NAV
   ============================================ */
.bottom-nav {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  background: white; border-top: 1px solid var(--border);
  box-shadow: 0 -2px 10px rgba(0,0,0,0.06);
  padding: 6px 0 env(safe-area-inset-bottom, 6px);
}
.bottom-nav__inner {
  display: grid; grid-template-columns: repeat(4, 1fr); max-width: 500px; margin: 0 auto;
}
.bottom-nav__item {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 6px 0; color: var(--text-light); text-decoration: none;
  font-size: 0.65rem; font-weight: 500; transition: color 0.2s;
}
.bottom-nav__item--active { color: var(--accent); }
.bottom-nav__item:hover { color: var(--text-primary); }
.bottom-nav__icon { width: 22px; height: 22px; position: relative; }
.bottom-nav__icon svg { width: 100%; height: 100%; stroke: currentColor; fill: none; stroke-width: 1.5; }
.bottom-nav__badge {
  position: absolute; top: -4px; right: -6px; width: 16px; height: 16px;
  background: var(--accent); color: white; border-radius: 50%;
  font-size: 0.55rem; font-weight: 700; display: flex; align-items: center; justify-content: center;
}

@media (max-width: 768px) {
  .bottom-nav { display: block; }
  body { padding-bottom: 70px; }
  .fab-whatsapp { bottom: 80px; }
  .footer { padding-bottom: var(--space-4xl); }
}

/* ============================================
   IMPROVED PRODUCT PAGE
   ============================================ */
.n71-product-summary .product_title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.4rem, 3vw, 2rem); letter-spacing: -0.02em; margin-bottom: var(--space-sm);
  line-height: 1.2;
}
.n71-product-summary .price {
  font-family: var(--font-mono); font-size: 1.3rem; font-weight: 700;
  color: var(--accent-text); margin-bottom: var(--space-lg);
}

/* Variation dropdown improved */
.variations { margin-bottom: var(--space-md); }
.variations tr { display: flex; flex-direction: column; gap: 4px; margin-bottom: var(--space-md); }
.variations td { display: block; padding: 0; }
.variations .label label {
  font-family: var(--font-display); font-weight: 700; font-size: 0.85rem;
  text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-primary);
}
.variations td.value { position: relative; }
.variations td.value select {
  display: block !important; visibility: visible !important; opacity: 1 !important;
  width: 100%; padding: 14px 44px 14px 16px; appearance: none; -webkit-appearance: none;
  border: 1.5px solid var(--border); border-radius: var(--radius-md);
  background: white; font-family: var(--font-body); font-size: 0.95rem;
  color: var(--text-primary); cursor: pointer; transition: border-color 0.2s;
}
.variations td.value select:hover { border-color: var(--text-primary); }
.variations td.value select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-light); outline: none; }
.variations td.value::after {
  content: ''; position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  width: 0; height: 0; border-left: 5px solid transparent; border-right: 5px solid transparent;
  border-top: 6px solid var(--text-secondary); pointer-events: none;
}
.variations .reset_variations { display: none; }

/* Quantity + ATC row */
.n71-product-summary .quantity { display: inline-flex; margin-right: var(--space-sm); }
.n71-product-summary .quantity input[type="number"] {
  width: 70px; padding: 14px 8px; text-align: center;
  border: 1.5px solid var(--border); border-radius: var(--radius-md);
  background: white; font-family: var(--font-mono); font-size: 1rem;
}

/* Quote-only product page */
.n71-quote-product {
  text-align: center; padding: var(--space-xl) 0;
}
.n71-quote-product .n71-whatsapp-cta {
  font-size: 1.1rem; padding: 16px 32px; width: 100%;
}
