/* ============================================
   ILERA CARE - PREMIUM REDESIGN
   Floating Header, UI Hero, 3D Effects
   ============================================ */

:root {
  --brand-dark: #1a3320;
  --brand-green: #2d5a3d;
  --brand-light-green: #4a7c59;
  --brand-sand: #f5f0e8;
  --brand-cream: #faf8f4;
  --brand-gold: #c9a96e;
  --brand-gold-light: #e8d5a3;
  --white: #ffffff;
  --black: #1a1a1a;
  --gray-100: #f7f7f7;
  --gray-200: #e8e8e8;
  --gray-400: #a0a0a0;
  --gray-600: #666666;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 30px rgba(0,0,0,0.08);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.12);
  --shadow-xl: 0 30px 80px rgba(0,0,0,0.15);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;
}

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

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

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--brand-cream);
  color: var(--black);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Prevent any accidental horizontal overflow on very small viewports */
html, body {
  max-width: 100vw;
  overscroll-behavior-x: none;
}

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

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

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

ul, ol {
  list-style: none;
}

/* Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.text-center {
  text-align: center;
}

.hidden {
  display: none !important;
}

/* ============================================
   SECTION LABELS & TITLES
   ============================================ */
.section-label {
  display: inline-block;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  font-weight: 600;
  color: var(--brand-green);
  margin-bottom: 0.75rem;
}

.section-label.light {
  color: var(--brand-gold-light);
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 500;
  color: var(--brand-dark);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-title.light {
  color: var(--white);
}

.section-subtitle {
  color: var(--gray-600);
  font-size: 1.0625rem;
  max-width: 500px;
  margin: 0 auto 2rem;
}

/* ============================================
   FLOATING HEADER
   ============================================ */
.header {
  position: fixed;
  top: 1rem;
  left: 1rem;
  right: 1rem;
  transform: none;
  width: auto;
  max-width: 1200px;
  margin: 0 auto;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255,255,255,0.5);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-sizing: border-box;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-lg);
  top: 0.75rem;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
  height: 56px;
}

/* Logo */
.header-logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 40px;
  width: auto;
  display: block;
}

/* Shop button in header */
.header-shop-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--gray-600);
  transition: all 0.3s ease;
}

.header-shop-btn:hover {
  background: var(--brand-sand);
  color: var(--brand-dark);
}

/* Nav */
.header-nav {
  display: none;
  align-items: center;
  gap: 2rem;
}

.header-nav a {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--gray-600);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: color 0.3s ease;
  position: relative;
}

.header-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand-green);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.header-nav a:hover,
.header-nav a.active {
  color: var(--brand-dark);
}

.header-nav a:hover::after,
.header-nav a.active::after {
  width: 100%;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.header-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--gray-600);
  transition: all 0.3s ease;
}

.header-icon:hover {
  background: var(--brand-sand);
  color: var(--brand-dark);
}

.header-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-dark);
  width: 36px;
  height: 36px;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--white);
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.mobile-menu-inner a {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--brand-dark);
  transition: color 0.3s ease;
}

.mobile-menu-inner a:hover {
  color: var(--brand-green);
}

/* ============================================
   HERO SECTION - UI DESIGN MATCH
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--brand-cream) 0%, var(--brand-sand) 50%, #e8e0d4 100%);
  padding: 6rem 1.5rem 3rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 150%;
  background: radial-gradient(ellipse, rgba(45, 90, 61, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-container {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

/* Hero Left */
.hero-left {
  order: 2;
}

.hero-content-box {
  max-width: 500px;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 500;
  color: var(--brand-dark);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.hero-title .line {
  display: block;
}

.hero-subtitle {
  font-size: 1.0625rem;
  color: var(--gray-600);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--brand-dark);
  color: var(--white);
  padding: 1rem 2rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(26, 51, 32, 0.3);
}

.hero-btn:hover {
  background: var(--brand-green);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(26, 51, 32, 0.4);
}

.hero-btn svg {
  transition: transform 0.3s ease;
}

.hero-btn:hover svg {
  transform: translateX(3px);
}

/* Hero Center */
.hero-center {
  order: 1;
  display: flex;
  justify-content: center;
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 380px;
}

.hero-main-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  position: relative;
  z-index: 2;
}

/* Decorative Leaves */
.hero-leaf {
  position: absolute;
  border-radius: 50% 0 50% 50%;
  z-index: 1;
}

.leaf-1 {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--brand-light-green), var(--brand-green));
  top: 10%;
  left: -10%;
  transform: rotate(-30deg);
  opacity: 0.8;
}

.leaf-2 {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #6b9b7a, var(--brand-light-green));
  bottom: 20%;
  right: -5%;
  transform: rotate(45deg);
  opacity: 0.7;
}

.leaf-3 {
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, var(--brand-gold), var(--brand-gold-light));
  top: 50%;
  right: -8%;
  transform: rotate(15deg);
  opacity: 0.6;
}

/* Hero Right */
.hero-right {
  order: 3;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Review Card */
.review-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
}

.review-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--brand-gold);
}

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

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

.review-name {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--brand-dark);
}

.review-stars {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--brand-gold);
}

.rating {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--brand-gold);
  background: rgba(201, 169, 110, 0.15);
  padding: 0.125rem 0.5rem;
  border-radius: var(--radius-full);
}

.review-text {
  font-size: 0.8125rem;
  color: var(--gray-600);
  line-height: 1.5;
}

/* Sale Card */
.sale-card {
  background: linear-gradient(135deg, var(--brand-dark), var(--brand-green));
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  color: var(--white);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.sale-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
}

.sale-badge {
  display: inline-block;
  background: var(--brand-gold);
  color: var(--brand-dark);
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}

.sale-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 0.5rem;
}

.sale-desc {
  font-size: 0.8125rem;
  opacity: 0.8;
  line-height: 1.5;
}

.sale-arrow {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.sale-card:hover .sale-arrow {
  background: rgba(255,255,255,0.25);
  transform: rotate(45deg);
}

/* ============================================
   PHILOSOPHY SECTION
   ============================================ */
.philosophy {
  padding: 5rem 0;
  background: var(--white);
}

.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.philosophy-text {
  max-width: 500px;
}

.philosophy-desc {
  font-size: 1.0625rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.philosophy-desc.secondary {
  font-size: 0.9375rem;
  color: var(--gray-400);
}

.philosophy-visual {
  position: relative;
}

.philosophy-img-box {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.philosophy-img-box img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.floating-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: var(--white);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.badge-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--brand-green);
}

.badge-text {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-600);
}

/* ============================================
   ABOUT / WHO WE ARE - SINGLE SCREEN
   ============================================ */
.about {
  padding: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand-green) 100%);
}

.about-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 5rem 1.5rem;
}

.about-card {
  display: grid;
  grid-template-columns: 1fr;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: var(--shadow-xl);
}

.about-img-side {
  position: relative;
  min-height: 300px;
  overflow: hidden;
}

.about-img-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--brand-dark), transparent);
}

.about-text-side {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-desc {
  color: rgba(255,255,255,0.8);
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.15);
}

.stat-item {
  text-align: center;
}

.stat-num {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--brand-gold);
  line-height: 1;
}

.stat-label {
  display: block;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.6);
  margin-top: 0.5rem;
}

/* ============================================
   VISION & MISSION - 3D CARDS
   ============================================ */
.vision-mission {
  padding: 5rem 0;
  background: var(--brand-cream);
}

.vm-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3rem;
  perspective: 1200px;
}

.vm-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.5s ease;
  box-shadow: 
    0 1px 1px rgba(0,0,0,0.04),
    0 4px 8px rgba(0,0,0,0.04),
    0 8px 24px rgba(0,0,0,0.06);
  border-top: 4px solid var(--brand-green);
}

.vm-card:hover {
  transform: translateY(-8px);
  box-shadow: 
    0 4px 6px rgba(0,0,0,0.04),
    0 12px 24px rgba(0,0,0,0.06),
    0 24px 64px rgba(0,0,0,0.08);
}

.vm-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--brand-sand), var(--brand-cream));
  color: var(--brand-green);
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.vm-label {
  display: block;
  text-transform: uppercase;
  font-size: 0.6875rem;
  letter-spacing: 0.15em;
  color: var(--brand-green);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.vm-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--brand-dark);
  margin-bottom: 1rem;
}

.vm-card p {
  color: var(--gray-600);
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* ============================================
   PRODUCTS SHOWCASE - FULL SCREEN EACH
   ============================================ */
.products-section {
  background: var(--white);
}

.product-showcase {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 4rem 1.5rem;
}

.product-showcase.alt {
  background: var(--brand-cream);
}

.product-showcase-inner {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.product-showcase-inner.reverse {
  direction: ltr;
}

/* Product Image */
.product-showcase-img {
  display: flex;
  justify-content: center;
  align-items: center;
}

.product-img-frame {
  position: relative;
  width: 100%;
  max-width: 420px;
}

.product-img-frame img {
  width: 100%;
  height: auto;
  max-height: 55vh;
  object-fit: contain;
  border-radius: var(--radius-lg);
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.15));
  transition: transform 0.5s ease, filter 0.5s ease;
}

.product-showcase:hover .product-img-frame img {
  transform: scale(1.03);
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.2));
}

.product-img-glow {
  position: absolute;
  inset: -20%;
  background: radial-gradient(ellipse, rgba(45, 90, 61, 0.08) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}

/* Product Text */
.product-showcase-text {
  max-width: 480px;
}

.product-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--brand-green);
  margin-bottom: 0.75rem;
}

.product-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--brand-dark);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.product-short {
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.product-features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.product-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: var(--gray-600);
}

.feature-dot {
  width: 8px;
  height: 8px;
  background: var(--brand-green);
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(45, 90, 61, 0.4);
}

/* Buttons */
.btn-add-to-cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand-green) 100%);
  color: var(--white);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 14px 38px rgba(26, 51, 32, 0.22);
  border: 1px solid rgba(255,255,255,0.18);
  white-space: nowrap;
}

.btn-add-to-cart:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 55px rgba(26, 51, 32, 0.30);
  background: linear-gradient(135deg, var(--brand-green) 0%, var(--brand-dark) 100%);
}

.btn-add-to-cart:active {
  transform: translateY(-1px);
}

.shop-product-actions {
  display: flex;
  justify-content: center;
  padding-top: 0.25rem;
}


/* Shop UI */
.shop-hero {
  padding: 7rem 0 3rem;
  background: linear-gradient(135deg, var(--brand-cream) 0%, var(--brand-sand) 55%, #e8e0d4 100%);
}

.shop-hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem;
  align-items: center;
}

.shop-hero-text {
  max-width: 640px;
}

.shop-hero-art {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.shop-hero-art-ring {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(45, 90, 61, 0.18) 0%, rgba(45, 90, 61, 0) 68%);
  border: 1px solid rgba(45, 90, 61, 0.12);
  filter: blur(0.2px);
}

.shop-hero-art img {
  width: 360px;
  max-width: 80vw;
  position: relative;
  z-index: 2;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  background: rgba(255, 255, 255, 0.35);
}

.shop-grid-section {
  padding: 2rem 0 5rem;
  background: var(--white);
}

.shop-grid-header {
  margin-bottom: 1.5rem;
}

.shop-grid-title {
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  color: var(--brand-dark);
  font-size: clamp(1.5rem, 3.2vw, 2.25rem);
  margin-top: 0.25rem;
}

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

.shop-product-price {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--brand-green);
  font-weight: 600;
  margin: 0 0 1rem;
}


.shop-product-card {
  background: var(--brand-cream);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(45, 90, 61, 0.08);
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.shop-product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(45, 90, 61, 0.18);
}

.shop-product-media {
  padding: 1.25rem 1.25rem 0.25rem;
  background: linear-gradient(135deg, rgba(45, 90, 61, 0.06) 0%, rgba(201, 169, 110, 0.10) 100%);
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.shop-product-media img {
  width: 100%;
  max-width: 220px;
  height: auto;
  filter: drop-shadow(0 18px 36px rgba(0,0,0,0.12));
}

.shop-product-content {
  padding: 1.25rem;
  text-align: center;
}

.shop-product-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  color: var(--brand-dark);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.shop-product-desc {
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.55;
  margin-bottom: 1rem;
}

.shop-product-actions {
  display: flex;
  justify-content: center;
}

.cart-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.42);
  z-index: 1200;
}

.cart-drawer {
  position: fixed;
  top: 1rem;
  right: 1rem;
  height: calc(100vh - 2rem);
  width: min(440px, calc(100vw - 2rem));
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(45, 90, 61, 0.18);
  box-shadow: var(--shadow-xl);
  border-radius: var(--radius-xl);
  z-index: 1300;
  overflow: hidden;
}

.cart-drawer-header {
  padding: 1.25rem 1.25rem 0.75rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  border-bottom: 1px solid rgba(45, 90, 61, 0.10);
}

.cart-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--brand-dark);
  line-height: 1.2;
}

.cart-subtitle {
  color: var(--gray-600);
  font-size: 0.95rem;
  margin-top: 0.25rem;
}

.cart-close {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-dark);
  background: rgba(245, 240, 232, 0.6);
  border: 1px solid rgba(45, 90, 61, 0.12);
  transition: all 0.3s ease;
}

.cart-close:hover {
  background: var(--brand-sand);
  transform: translateY(-1px);
}

.cart-drawer-body {
  padding: 1rem;
  height: calc(100% - 170px);
  overflow: auto;
}

.cart-empty {
  padding: 2rem 0;
  text-align: center;
  color: var(--gray-600);
}

.cart-empty-title {
  font-family: 'Playfair Display', serif;
  color: var(--brand-dark);
  font-weight: 500;
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.cart-line {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 0.9rem;
  padding: 0.9rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(45, 90, 61, 0.10);
  background: rgba(250, 248, 244, 0.8);
  margin-bottom: 0.9rem;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.cart-line:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(45, 90, 61, 0.20);
}

.cart-line-media img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
}

.cart-line-media {
  display: flex;
  justify-content: center;
  align-items: center;
}

.cart-line-top {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.cart-line-name {
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  color: var(--brand-dark);
  line-height: 1.25;
}

.cart-line-qty {
  color: var(--gray-600);
  font-size: 0.92rem;
}

.cart-line-actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-top: 0.75rem;
  justify-content: flex-end;
}

.cart-qty-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid rgba(45, 90, 61, 0.15);
  color: var(--brand-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.cart-qty-btn:hover {
  background: var(--brand-sand);
  transform: translateY(-1px);
}

.cart-remove-btn {
  background: transparent;
  color: #7a2b2b;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.25s ease;
}

.cart-remove-btn:hover {
  opacity: 0.85;
}

.cart-drawer-footer {
  padding: 0.9rem 1.25rem 1.25rem;
  border-top: 1px solid rgba(45, 90, 61, 0.10);
  background: linear-gradient(180deg, rgba(250, 248, 244, 0.3) 0%, rgba(250, 248, 244, 0.85) 100%);
}

.cart-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.cart-total-label {
  color: var(--gray-600);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}

.cart-total {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--brand-dark);
  font-weight: 500;
}

.cart-checkout-btn {
  display: inline-flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-full);
  background: var(--brand-dark);
  color: var(--white);
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.9rem;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  margin-bottom: 0.75rem;
}

.cart-checkout-btn:hover {
  background: var(--brand-green);
  transform: translateY(-2px);
}

.cart-disclaimer {
  color: var(--gray-600);
  font-size: 0.85rem;
  line-height: 1.4;
}

/* Fix drawer hidden state transition */
.cart-drawer.hidden {
  display: none !important;
}

.cart-backdrop.hidden {
  display: none !important;
}

/* Cart badge on header */
.header-actions .cart-count {
  position: absolute;
  transform: translate(10px, -10px);
  min-width: 18px;
  height: 18px;
  padding: 0 6px;
  border-radius: var(--radius-full);
  background: var(--brand-green);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 28px rgba(45, 90, 61, 0.25);
}

.header-shop-btn {
  position: relative;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--brand-dark);
  color: var(--white);
  padding: 1rem 2.5rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(26, 51, 32, 0.3);
}

.btn-primary:hover {
  background: var(--brand-green);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(26, 51, 32, 0.4);
}

.btn-secondary-white {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--white);
  padding: 1rem 2.5rem;
  border-radius: var(--radius-full);
  border: 2px solid rgba(255,255,255,0.5);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all 0.4s ease;
}

.btn-secondary-white:hover {
  background: var(--white);
  color: var(--brand-dark);
  border-color: var(--white);
}

/* ============================================
   CATEGORIES GRID
   ============================================ */
.categories {
  padding: 5rem 0;
  background: var(--white);
}

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

.category-card {
  background: var(--brand-cream);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  box-shadow: var(--shadow-sm);
}

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

.category-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
}

.category-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.category-info {
  padding: 1.25rem;
  text-align: center;
}

.category-info h3 {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--brand-dark);
  margin-bottom: 0.25rem;
}

.category-count {
  font-size: 0.75rem;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ============================================
   TEAM SECTION
   ============================================ */
.team {
  padding: 5rem 0;
  background: linear-gradient(180deg, var(--brand-cream) 0%, var(--brand-sand) 100%);
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

.team-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

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

.team-img {
  position: relative;
  height: 220px;
  background: linear-gradient(135deg, var(--brand-sand), var(--brand-cream));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.team-img-placeholder {
  width: 80px;
  height: 80px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-green);
  box-shadow: var(--shadow-md);
}

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

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

.team-social a {
  width: 32px;
  height: 32px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-dark);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.team-social a:hover {
  background: var(--brand-green);
  color: var(--white);
}

.team-info {
  padding: 1.5rem;
}

.team-info h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.125rem;
  color: var(--brand-dark);
  margin-bottom: 0.25rem;
}

.team-role {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand-green);
  margin-bottom: 0.75rem;
}

.team-bio {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand-green) 100%);
}

.contact-card {
  display: grid;
  grid-template-columns: 1fr;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: var(--shadow-xl);
}

.contact-content {
  padding: 2.5rem;
}

.contact-desc {
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--white);
  font-size: 0.9375rem;
}

.contact-icon {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-gold);
  flex-shrink: 0;
}

.contact-visual {
  display: none;
}

.contact-img-wrapper {
  height: 100%;
  overflow: hidden;
}

.contact-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--brand-dark);
  padding: 4rem 0 2rem;
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-logo {
  margin-bottom: 1rem;
}

.footer-logo img {
  height: 40px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-desc {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
  max-width: 300px;
}

.footer-links-col h4,
.footer-contact-col h4 {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand-gold);
  margin-bottom: 1.25rem;
}

.footer-links-col ul,
.footer-contact-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links-col a,
.footer-contact-col li {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.3s ease;
}

.footer-links-col a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.4);
}

/* ============================================
   SCROLL REVEAL ANIMATIONS
   ============================================ */
.scroll-reveal,
.scroll-reveal-item,
.scroll-reveal-left,
.scroll-reveal-right {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-reveal.revealed,
.scroll-reveal-item.revealed {
  opacity: 1;
  transform: translateY(0);
}

.scroll-reveal-left {
  transform: translateX(-40px);
}

.scroll-reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

.scroll-reveal-right {
  transform: translateX(40px);
}

.scroll-reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger */
.scroll-reveal-item:nth-child(1) { transition-delay: 0.08s; }
.scroll-reveal-item:nth-child(2) { transition-delay: 0.16s; }
.scroll-reveal-item:nth-child(3) { transition-delay: 0.24s; }
.scroll-reveal-item:nth-child(4) { transition-delay: 0.32s; }
.scroll-reveal-item:nth-child(5) { transition-delay: 0.40s; }

/* ============================================
   RESPONSIVE - TABLET (640px+)
   ============================================ */
@media (min-width: 640px) {
  .hero-container {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .hero-left {
    order: 1;
  }

  .hero-center {
    order: 2;
  }

  .hero-right {
    order: 3;
    grid-column: 1 / -1;
    flex-direction: row;
  }

  .categories-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

/* ============================================
   RESPONSIVE - DESKTOP (768px+)
   ============================================ */
@media (min-width: 768px) {
  .desktop-only {
    display: flex;
  }

  .mobile-only {
    display: none !important;
  }

  .header-inner {
    padding: 0.75rem 2rem;
  }

  /* Hero 3-column */
  .hero-container {
    grid-template-columns: 1fr 1.2fr 0.9fr;
    gap: 2rem;
  }

  .hero-right {
    grid-column: auto;
    flex-direction: column;
  }

  .hero-image-wrapper {
    max-width: 420px;
  }

  /* Philosophy */
  .philosophy-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }

  /* About */
  .about-card {
    grid-template-columns: 1fr 1fr;
  }

  .about-text-side {
    padding: 3rem;
  }

  /* Products */
  .product-showcase-inner {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }

  .product-showcase-inner.reverse .product-showcase-img {
    order: 2;
  }

  .product-showcase-inner.reverse .product-showcase-text {
    order: 1;
  }

  /* Vision Mission */
  .vm-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Categories */
  .categories-grid {
    grid-template-columns: repeat(5, 1fr);
  }

  /* Team */
  .team-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  /* Contact */
  .contact-card {
    grid-template-columns: 1fr 1fr;
  }

  .contact-visual {
    display: block;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1.7fr 1fr 1.2fr 1fr 1.1fr;
  }
}

/* ============================================
   RESPONSIVE - LARGE DESKTOP (1024px+)
   ============================================ */
@media (min-width: 1024px) {
  .container {
    padding: 0 3rem;
  }

  .hero {
    padding: 7rem 3rem 4rem;
  }

  .hero-container {
    gap: 3rem;
  }

  .hero-title {
    font-size: 3.5rem;
  }

  .product-showcase {
    padding: 5rem 3rem;
  }

  .vm-card {
    padding: 3rem;
  }
}

/* ============================================
   3D TILT EFFECT (Desktop only)
   ============================================ */
@media (min-width: 768px) {
  [data-tilt] {
    transform-style: preserve-3d;
    transition: transform 0.3s ease;
  }
}

/* Smooth section transitions */
section {
  position: relative;
}

/* Focus states */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--brand-green);
  outline-offset: 3px;
}

/* Small-screen adjustments to avoid accidental horizontal scroll */
@media (max-width: 639px) {
  .hero {
    padding: 4rem 1rem 2rem;
  }

  .header {
    top: 0.75rem;
    left: 0.75rem;
    right: 0.75rem;
  }

  .header-inner {
    padding: 0.5rem 1rem;
    height: 52px;
  }

  .container {
    padding: 0 1rem;
  }
}

/* WordPress + WooCommerce integration */
.header-nav li, .mobile-menu-inner li { list-style:none; display:inline-flex; }
.header-nav ul, .mobile-menu-inner ul { margin:0; padding:0; display:contents; }
.bkc-cart-link{position:relative;}
.bkc-cart-count{position:absolute;top:-7px;right:-7px;min-width:17px;height:17px;padding:0 4px;border-radius:999px;background:#c69c45;color:#fff;font-size:10px;line-height:17px;text-align:center;font-weight:700;}
.added_to_cart.wc-forward{display:none!important;}
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button{border-radius:999px;background:#1a3320;color:#fff;}
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover{background:#254a2f;color:#fff;}

/* BKC v5 WooCommerce/Elementor compatibility fixes */
.header-logo img,
.logo-img,
.custom-logo,
.custom-logo-link img,
.woocommerce .header-logo img,
.woocommerce-page .header-logo img {
  max-height: 42px !important;
  width: auto !important;
  max-width: 150px !important;
  object-fit: contain !important;
}
.custom-logo-link { display: inline-flex; align-items: center; }
.bkc-cart-link { position: relative; display: inline-flex; align-items: center; gap: 6px; }
.bkc-cart-count { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; line-height: 1; }
.elementor-editor-active .bkc-cart-count { pointer-events: none; }
.add_to_cart_button.loading,
.ajax_add_to_cart.loading { opacity: .75; pointer-events: none; }
.add_to_cart_button.added,
.ajax_add_to_cart.added { pointer-events: auto; }


/* BKC v6 global WooCommerce/header/footer corrections */
.header-logo img,
.header-logo .custom-logo,
.custom-logo-link img,
.logo-img {
  max-height: 42px !important;
  height: auto !important;
  width: auto !important;
  max-width: 150px !important;
  object-fit: contain !important;
}
.woocommerce-page .header,
.woocommerce .header { z-index: 9999; }
.bkc-woo-page { padding: 8rem 0 4rem; background: var(--cream, #fbf7ef); min-height: 65vh; }
.bkc-woo-container { max-width: 1180px; margin: 0 auto; }
.woocommerce div.product { display: grid; grid-template-columns: minmax(280px, 1fr) minmax(300px, 1fr); gap: 3rem; align-items: start; }
.woocommerce div.product div.images,
.woocommerce div.product div.summary { width: 100% !important; float: none !important; }
.woocommerce div.product div.images img { border-radius: 24px; background: #fff; box-shadow: 0 20px 50px rgba(0,0,0,.08); }
.woocommerce div.product .product_title { font-family: var(--font-serif, serif); color: var(--brand-green, #1a3320); }
.woocommerce-tabs, .related.products, .upsells.products { grid-column: 1 / -1; }
.woocommerce ul.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none !important; }
.woocommerce ul.products li.product { width: auto !important; float: none !important; margin: 0 !important; background:#fff; border-radius: 22px; padding: 1rem !important; box-shadow: 0 14px 40px rgba(0,0,0,.07); }
.woocommerce ul.products li.product img { border-radius: 18px; }
.woocommerce .cart-collaterals .cart_totals, .woocommerce-page .cart-collaterals .cart_totals { width: 100%; float: none; }
@media (max-width: 900px) {
  .woocommerce div.product { grid-template-columns: 1fr; gap: 2rem; }
  .woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: .85rem !important; }
  .woocommerce ul.products li.product { padding: .7rem !important; border-radius: 16px; }
  .woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: .82rem; line-height: 1.25; }
  .woocommerce ul.products li.product .price { font-size: .82rem; }
  .woocommerce ul.products li.product .button { width: 100%; text-align: center; font-size: .72rem; padding: .65rem .45rem; }
  .bkc-woo-page { padding-top: 6rem; }
}


/* v6.3 header/menu refinements: keep cart/account/register on the right */
.header-logo { order: 1; }
.header-nav { order: 2; margin-left: auto; }
.header-actions-left { order: 3; margin-left: 1rem; }
.header-menu-toggle { order: 4; }
.header-register-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 0.85rem;
  border-radius: 999px;
  background: var(--brand-green);
  color: #fff !important;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.header-register-link:hover { background: var(--brand-dark); color: #fff !important; }
.header-nav .current-menu-item > a,
.header-nav .current_page_item > a,
.header-nav a.active { color: var(--brand-dark); }
.header-nav .current-menu-item > a::after,
.header-nav .current_page_item > a::after,
.header-nav a.active::after { width: 100%; }
.mobile-menu-inner a.active,
.mobile-menu-inner .current-menu-item > a,
.mobile-menu-inner .current_page_item > a { color: var(--brand-green); }
.bkc-contact-form-wrap { margin-top: 2rem; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); border-radius: 24px; padding: 1.25rem; backdrop-filter: blur(10px); }
.bkc-contact-form { display: grid; gap: .85rem; }
.bkc-contact-form input, .bkc-contact-form textarea { width: 100%; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.95); color: var(--brand-dark); border-radius: 14px; padding: .9rem 1rem; font: inherit; outline: none; }
.bkc-contact-form textarea { min-height: 130px; resize: vertical; }
.bkc-contact-form button { border: 0; cursor: pointer; }
.bkc-form-notice { padding: .85rem 1rem; border-radius: 12px; margin-bottom: 1rem; font-weight: 600; }
.bkc-form-success { background: #e9f8ef; color: #14532d; }
.bkc-form-error { background: #fff0f0; color: #8a1f1f; }
.category-card-link { display:block; color: inherit; text-decoration:none; height:100%; }
.category-card-link:hover { color: inherit; }
@media (max-width: 767px) {
  .header-inner { gap: .45rem; }
  .header-logo { order: 1; }
  .header-actions-left { order: 2; margin-left: auto; gap: .25rem; }
  .header-menu-toggle { order: 3; margin-left: .25rem; }
  .header-register-link { padding: 0 .55rem; min-height: 31px; font-size: .65rem; }
  .header-shop-btn, .header-icon { width: 32px; height: 32px; }
}


/* v6.5 header cleanup */
.header-actions-right { order: 3; margin-left: auto; }
.header-register-link { display: none !important; }
@media (max-width: 768px) { .header-actions-right { order: 2; margin-left: auto; gap: .25rem; } }


/* v6.6 precision fixes */
.categories .categories-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}
.categories .category-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}
.categories .category-card {
  height: 100%;
}
.about-img-side img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
}
@media (max-width: 1024px) {
  .categories .categories-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .categories .categories-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; }
}

/* v6.7 precision layout fixes */
.hero-title,
.hero-title .line {
  line-height: 1.08 !important;
}
.hero-title .line {
  margin: 0 !important;
  padding: 0 !important;
}
.hero-title .line + .line {
  margin-top: .14em !important;
}
@media (min-width: 1025px) {
  .hero-title {
    max-width: 720px;
    margin-bottom: 1.05rem !important;
  }
}

/* Restore clean 5-card Collections alignment on desktop */
@media (min-width: 1025px) {
  .categories .categories-grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    align-items: stretch !important;
    gap: 1.25rem !important;
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
  }
  .categories .category-card-link {
    flex: 0 1 220px !important;
    max-width: 220px !important;
    min-width: 0 !important;
  }
  .categories .category-card {
    width: 100% !important;
    min-height: 100% !important;
  }
}
@media (min-width: 641px) and (max-width: 1024px) {
  .categories .categories-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 1rem !important;
  }
}
@media (max-width: 640px) {
  .categories .categories-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: .9rem !important;
  }
}

/* Ensure About image always fills the image panel */
.about-img-side {
  background: rgba(14, 47, 28, .35) !important;
}
.about-img-side img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 420px !important;
  object-fit: cover !important;
  object-position: center !important;
}
@media (max-width: 767px) {
  .about-img-side img { min-height: 320px !important; }
}


/* v7 Elementor-content stability fixes */
.categories-grid{
  display:grid !important;
  grid-template-columns:repeat(3,minmax(220px,1fr)) !important;
  gap:32px !important;
  align-items:start !important;
  justify-items:center !important;
}
.categories-grid .category-card-link{display:block;width:100%;max-width:300px;text-decoration:none;}
.categories-grid .category-card{width:100%;}
@media (max-width:900px){.categories-grid{grid-template-columns:repeat(2,minmax(140px,1fr)) !important;gap:18px !important;}.categories-grid .category-card-link{max-width:260px;}}
@media (max-width:480px){.categories-grid{grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:14px !important;}.categories-grid .category-card-link{max-width:none;}.category-info h3{font-size:0.9rem;}.category-count{font-size:0.72rem;}}
.about-img-side img{width:100%;height:100%;object-fit:cover;display:block;}
.hero-title{line-height:1.06 !important;}
.hero-title .line{display:block;margin:0 !important;}
@media (max-width:768px){
  .woocommerce ul.products{display:grid !important;grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:14px !important;}
  .woocommerce ul.products li.product{width:auto !important;margin:0 !important;float:none !important;}
  .woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:0.86rem !important;line-height:1.25 !important;}
  .woocommerce ul.products li.product .button{font-size:0.75rem !important;padding:.65rem .7rem !important;}
}


/* v7.1 shop categories, single product gallery preview and exact layout repairs */
.bkc-shop-categories{margin:0 auto 2.5rem;padding:1rem 0 1.5rem;}
.bkc-shop-categories-head{text-align:center;margin-bottom:1.35rem;}
.bkc-shop-categories-head h2{font-family:var(--font-display,'Playfair Display',serif);font-size:clamp(1.8rem,3vw,3rem);color:var(--primary-green,#173f29);margin:.25rem 0 0;}
.bkc-shop-category-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:1rem;align-items:stretch;}
.bkc-shop-category-card{display:flex;flex-direction:column;align-items:center;text-align:center;text-decoration:none;background:#fff;border:1px solid rgba(25,63,42,.09);border-radius:22px;padding:1rem .85rem;box-shadow:0 10px 24px rgba(16,48,31,.06);transition:transform .25s ease,box-shadow .25s ease;}
.bkc-shop-category-card:hover{transform:translateY(-4px);box-shadow:0 16px 34px rgba(16,48,31,.11);}
.bkc-shop-category-img{width:92px;height:92px;border-radius:18px;overflow:hidden;background:#f6f0e6;display:flex;align-items:center;justify-content:center;margin-bottom:.75rem;}
.bkc-shop-category-img img{width:100%;height:100%;object-fit:cover;display:block;}
.bkc-shop-category-name{font-weight:700;color:var(--primary-green,#173f29);font-size:.95rem;line-height:1.2;}
.bkc-shop-category-count{font-size:.75rem;letter-spacing:.08em;text-transform:uppercase;color:#9c9489;margin-top:.35rem;}
.single-product .woocommerce-product-gallery{opacity:1!important;visibility:visible!important;display:block!important;margin-bottom:2rem;}
.single-product .woocommerce-product-gallery__wrapper{display:block!important;}
.single-product .woocommerce-product-gallery__image{overflow:hidden;border-radius:22px;background:#fff;}
.single-product .woocommerce-product-gallery__image img{width:100%;height:auto;display:block;object-fit:contain;}
.single-product .flex-control-thumbs{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:14px 0 0!important;padding:0!important;list-style:none!important;clear:both;}
.single-product .flex-control-thumbs li{width:auto!important;float:none!important;margin:0!important;list-style:none!important;}
.single-product .flex-control-thumbs img{width:100%!important;height:88px!important;object-fit:cover!important;border-radius:12px;border:1px solid rgba(25,63,42,.12);opacity:.7;cursor:pointer;}
.single-product .flex-control-thumbs img.flex-active,.single-product .flex-control-thumbs img:hover{opacity:1;border-color:var(--primary-green,#173f29);}
.single-product div.product{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,.9fr);gap:44px;align-items:start;}
.single-product div.product .summary{float:none!important;width:auto!important;margin:0!important;padding-top:0!important;}
.single-product div.product .woocommerce-product-gallery{float:none!important;width:auto!important;max-width:100%!important;}
.about .about-img-side img[src*="ilera-300x257.webp"]{object-fit:cover;object-position:center;}
.vision-mission{display:none!important;}
@media(max-width:900px){.bkc-shop-category-grid{grid-template-columns:repeat(3,minmax(0,1fr));}.single-product div.product{grid-template-columns:1fr;gap:24px;}.single-product .flex-control-thumbs img{height:72px;}}
@media(max-width:600px){.bkc-shop-category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;}.bkc-shop-category-card{padding:.85rem .5rem;border-radius:16px;}.bkc-shop-category-img{width:74px;height:74px;border-radius:14px;}.single-product .flex-control-thumbs{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.single-product .flex-control-thumbs img{height:58px;}.single-product div.product{display:block;}.single-product .summary{margin-top:22px!important;}}


/* v7.2 exact requested visual fixes */
.philosophy-img-box img[src*="philosophy-brown-skin-women.png"]{
  width:100% !important;
  height:100% !important;
  min-height:520px !important;
  object-fit:cover !important;
  object-position:center !important;
  display:block !important;
}
.about-img-side img[src*="about-cee-natural-fairness.png"]{
  width:100% !important;
  height:100% !important;
  min-height:420px !important;
  object-fit:cover !important;
  object-position:center !important;
  display:block !important;
}
.bkc-shop-categories-text-only{padding-top:.5rem;margin-bottom:2rem;}
.bkc-shop-categories-text-only .bkc-shop-category-grid,
.bkc-shop-category-grid-text{
  display:flex !important;
  flex-wrap:wrap !important;
  justify-content:center !important;
  align-items:center !important;
  gap:.75rem !important;
}
.bkc-shop-categories-text-only .bkc-shop-category-card,
.bkc-shop-category-text-card{
  flex:0 0 auto !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  min-height:44px !important;
  padding:.75rem 1.15rem !important;
  border-radius:999px !important;
  background:#fff !important;
  border:1px solid rgba(23,63,41,.15) !important;
  box-shadow:0 8px 22px rgba(16,48,31,.06) !important;
  text-decoration:none !important;
}
.bkc-shop-categories-text-only .bkc-shop-category-card:hover,
.bkc-shop-category-text-card:hover{
  transform:translateY(-2px) !important;
  background:#173f29 !important;
  color:#fff !important;
}
.bkc-shop-categories-text-only .bkc-shop-category-name,
.bkc-shop-category-text-card .bkc-shop-category-name{
  font-size:.9rem !important;
  font-weight:700 !important;
  line-height:1 !important;
  color:inherit !important;
}
.bkc-shop-categories-text-only .bkc-shop-category-img,
.bkc-shop-categories-text-only .bkc-shop-category-count{display:none !important;}
@media(max-width:640px){
  .philosophy-img-box img[src*="philosophy-brown-skin-women.png"]{min-height:360px !important;}
  .about-img-side img[src*="about-cee-natural-fairness.png"]{min-height:330px !important;}
  .bkc-shop-categories-text-only .bkc-shop-category-grid{gap:.55rem !important;}
  .bkc-shop-categories-text-only .bkc-shop-category-card{min-height:40px !important;padding:.65rem .85rem !important;}
  .bkc-shop-categories-text-only .bkc-shop-category-name{font-size:.78rem !important;}
}


/* v8.0 removed old v7.4/v7.5 homepage collection grid overrides to prevent blank/broken sections. */

/* v7.6 Premium Horizontal Collection Slider - isolated replacement for old collection grid */
.bkc-premium-collection-slider-v76{
  width:100% !important;
  max-width:100% !important;
  margin:0 !important;
  padding:64px 18px 72px !important;
  background:linear-gradient(180deg,#fff 0%,#fffaf2 100%) !important;
  overflow:hidden !important;
  clear:both !important;
  box-sizing:border-box !important;
}
.bkc-premium-collection-slider-v76 *,
.bkc-premium-collection-slider-v76 *::before,
.bkc-premium-collection-slider-v76 *::after{box-sizing:border-box !important;}
.bkc-pcs-v76-shell{
  width:100% !important;
  max-width:1180px !important;
  margin:0 auto !important;
  padding:0 !important;
}
.bkc-pcs-v76-head{
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  text-align:center !important;
  gap:8px !important;
  margin:0 0 28px !important;
  padding:0 !important;
}
.bkc-pcs-v76-eyebrow{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  border:1px solid rgba(23,63,41,.16) !important;
  border-radius:999px !important;
  background:#fff !important;
  color:#c08b2d !important;
  font-size:12px !important;
  font-weight:900 !important;
  letter-spacing:.16em !important;
  line-height:1 !important;
  padding:10px 14px !important;
  text-transform:uppercase !important;
}
.bkc-pcs-v76-title{
  margin:0 !important;
  color:#173f29 !important;
  font-family:var(--font-display,'Playfair Display',serif) !important;
  font-size:clamp(32px,4.2vw,56px) !important;
  font-weight:800 !important;
  line-height:1.02 !important;
  letter-spacing:-.03em !important;
}
.bkc-pcs-v76-subtitle{
  max-width:620px !important;
  margin:0 !important;
  color:rgba(23,63,41,.68) !important;
  font-size:16px !important;
  font-weight:500 !important;
  line-height:1.55 !important;
}
.bkc-pcs-v76-rail{
  display:flex !important;
  flex-wrap:nowrap !important;
  gap:18px !important;
  width:100% !important;
  max-width:1120px !important;
  margin:0 auto !important;
  padding:8px 4px 18px !important;
  overflow-x:auto !important;
  overflow-y:hidden !important;
  scroll-snap-type:x mandatory !important;
  scroll-padding-inline:4px !important;
  -webkit-overflow-scrolling:touch !important;
  scrollbar-width:thin !important;
}
.bkc-pcs-v76-rail::-webkit-scrollbar{height:8px !important;}
.bkc-pcs-v76-rail::-webkit-scrollbar-track{background:#f3eadc !important;border-radius:999px !important;}
.bkc-pcs-v76-rail::-webkit-scrollbar-thumb{background:rgba(23,63,41,.32) !important;border-radius:999px !important;}
.bkc-pcs-v76-card{
  position:relative !important;
  display:flex !important;
  flex-direction:column !important;
  flex:0 0 208px !important;
  width:208px !important;
  min-width:208px !important;
  margin:0 !important;
  padding:10px !important;
  background:rgba(255,255,255,.92) !important;
  border:1px solid rgba(23,63,41,.09) !important;
  border-radius:26px !important;
  box-shadow:0 18px 45px rgba(23,63,41,.08) !important;
  text-decoration:none !important;
  color:#173f29 !important;
  scroll-snap-align:start !important;
  transform:translateZ(0) !important;
  transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease !important;
}
.bkc-pcs-v76-card:hover{
  transform:translateY(-5px) !important;
  box-shadow:0 24px 60px rgba(23,63,41,.13) !important;
  border-color:rgba(192,139,45,.28) !important;
}
.bkc-pcs-v76-image{
  display:block !important;
  width:100% !important;
  aspect-ratio:1/1 !important;
  border-radius:20px !important;
  overflow:hidden !important;
  background:#f6efe5 !important;
  margin:0 !important;
  padding:0 !important;
}
.bkc-pcs-v76-image img{
  display:block !important;
  width:100% !important;
  height:100% !important;
  min-width:100% !important;
  max-width:none !important;
  object-fit:cover !important;
  object-position:center !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
}
.bkc-pcs-v76-copy{
  display:flex !important;
  flex-direction:column !important;
  align-items:flex-start !important;
  justify-content:flex-start !important;
  gap:5px !important;
  min-height:104px !important;
  padding:16px 8px 8px !important;
  background:transparent !important;
  text-align:left !important;
}
.bkc-pcs-v76-copy strong{
  display:block !important;
  margin:0 !important;
  color:#173f29 !important;
  font-size:16px !important;
  font-weight:900 !important;
  line-height:1.18 !important;
  letter-spacing:-.01em !important;
}
.bkc-pcs-v76-copy em{
  display:block !important;
  margin:0 !important;
  color:#9b9387 !important;
  font-size:10px !important;
  font-style:normal !important;
  font-weight:900 !important;
  letter-spacing:.16em !important;
  line-height:1.2 !important;
  text-transform:uppercase !important;
}
.bkc-pcs-v76-copy span{
  display:inline-flex !important;
  align-items:center !important;
  margin-top:auto !important;
  color:#c08b2d !important;
  font-size:13px !important;
  font-weight:900 !important;
  line-height:1.2 !important;
}
body.home .bkc-collection-v73,
body.home .bkc-collection-v74,
body.home .bkc-collection-v75,
body.front-page .bkc-collection-v73,
body.front-page .bkc-collection-v74,
body.front-page .bkc-collection-v75{display:none !important;}
@media (min-width: 1000px){
  .bkc-pcs-v76-rail{justify-content:center !important;overflow-x:auto !important;}
}
@media (max-width: 760px){
  .bkc-premium-collection-slider-v76{padding:42px 0 48px !important;}
  .bkc-pcs-v76-shell{max-width:100% !important;}
  .bkc-pcs-v76-head{padding:0 18px !important;margin-bottom:20px !important;}
  .bkc-pcs-v76-title{font-size:32px !important;}
  .bkc-pcs-v76-subtitle{font-size:14px !important;line-height:1.5 !important;}
  .bkc-pcs-v76-rail{
    max-width:100% !important;
    gap:14px !important;
    padding:6px 18px 18px !important;
    scroll-padding-inline:18px !important;
    scrollbar-width:none !important;
  }
  .bkc-pcs-v76-rail::-webkit-scrollbar{display:none !important;}
  .bkc-pcs-v76-card{
    flex-basis:74vw !important;
    width:74vw !important;
    min-width:74vw !important;
    max-width:285px !important;
    border-radius:24px !important;
    padding:9px !important;
  }
  .bkc-pcs-v76-image{border-radius:18px !important;}
  .bkc-pcs-v76-copy{min-height:96px !important;padding:14px 7px 7px !important;}
  .bkc-pcs-v76-copy strong{font-size:15px !important;}
}
@media (max-width: 390px){
  .bkc-pcs-v76-card{flex-basis:78vw !important;width:78vw !important;min-width:78vw !important;}
}

/* v7.7 auto slider behavior support */
.bkc-pcs-v76-rail{
  justify-content:flex-start !important;
  scroll-behavior:smooth !important;
  overscroll-behavior-x:contain !important;
}
.bkc-pcs-v76-clone[aria-hidden="true"]{
  pointer-events:none !important;
}
@media (min-width: 1000px){
  .bkc-pcs-v76-rail{justify-content:flex-start !important;}
}
