/* BV Organic Master Theme Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,600;1,700&family=Playfair+Display:ital,wght@0,600;0,700;1,600&display=swap');

:root {
  --font-brand: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-heading: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --primary-forest: #0B3D1E;
  --primary-dark: #052612;
  --primary-emerald: #155E2D;
  --gold-rich: #D4A62A;
  --gold-hover: #B88E1F;
  --gold-bright: #F5C518;
  --gold-light: #FBF6E9;
  --bg-cream: #FDFBF7;
  --bg-light-green: #F0F5F1;
  --text-primary: #121A15;
  --text-muted: #4B5563;
  --border-subtle: #E2E8E4;
  --border-gold: rgba(212, 166, 42, 0.35);
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: clip;
  scrollbar-gutter: stable;
  font-family: var(--font-brand);
}

body {
  font-family: var(--font-brand);
  color: var(--text-primary);
  background-color: #FFFFFF;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  max-width: 100vw;
  -webkit-tap-highlight-color: rgba(11, 61, 30, 0.08);
}

/* Ensure all media cannot cause horizontal viewport blowout */
img, svg, video, canvas, audio, iframe, embed, object {
  max-width: 100%;
  height: auto;
}

/* Mobile iOS Safari Auto-Zoom Fix */
@media (max-width: 640px) {
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="number"],
  input[type="search"],
  select,
  textarea {
    font-size: 16px !important;
  }
}

/* Universal Professional Brand Typography for all Headings across all pages */
h1, h2, h3, h4, h5, h6,
.font-serif-heading,
.font-heading {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  letter-spacing: -0.025em;
}

.font-sans-body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, sans-serif !important;
}

.font-serif-editorial {
  font-family: 'Playfair Display', Georgia, serif !important;
}

/* Color utility shortcuts */
.bg-forest { background-color: #0B3D1E; }
.bg-forest-dark { background-color: #052612; }
.bg-forest-light { background-color: #F0F5F1; }
.text-forest { color: #0B3D1E; }
.text-forest-dark { color: #052612; }
.text-gold { color: #D4A62A; }
.border-forest { border-color: #0B3D1E; }
.border-gold { border-color: rgba(212, 166, 42, 0.4); }

/* Gold Gradient Accents */
.gold-gradient-text {
  background: linear-gradient(135deg, #B8860B 0%, #F5C518 50%, #B8860B 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gold-gradient-bg {
  background: linear-gradient(135deg, #B8860B 0%, #D4A62A 50%, #B8860B 100%);
}

.btn-forest {
  background-color: #0B3D1E;
  color: #FFFFFF;
  transition: all 0.25s ease;
  touch-action: manipulation;
}
.btn-forest:hover {
  background-color: #155E2D;
  box-shadow: 0 10px 25px -5px rgba(11, 61, 30, 0.3);
}

.btn-gold {
  background: linear-gradient(135deg, #D4A62A 0%, #F5C518 100%);
  color: #052612;
  font-weight: 700;
  transition: all 0.25s ease;
  touch-action: manipulation;
}
.btn-gold:hover {
  filter: brightness(1.08);
  box-shadow: 0 10px 25px -5px rgba(212, 166, 42, 0.4);
}

/* Touch friendliness & Safe Areas */
@media (max-width: 768px) {
  body {
    padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 72px) !important;
  }

  /* Cart Drawer Fullscreen/Bottom Sheet on Small Mobile */
  #cartDrawer {
    width: 100% !important;
    max-width: 100vw !important;
  }
}

/* Safe area bottom utility */
.pb-safe {
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

/* Mobile Horizontal Snap Rail */
.snap-scroll-x {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.snap-scroll-item {
  scroll-snap-align: start;
  flex-shrink: 0;
}

/* Hide scrollbar for clean horizontal swipes */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Glassmorphism Accents */
.glass-panel-dark {
  background: rgba(5, 38, 18, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(212, 166, 42, 0.25);
}

.glass-pill {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes floatSlow {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 15px rgba(245, 197, 24, 0.35);
  }
  50% {
    box-shadow: 0 0 30px rgba(245, 197, 24, 0.7);
  }
}

@keyframes pulseRing {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(212, 166, 42, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(212, 166, 42, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(212, 166, 42, 0);
  }
}

@keyframes cartPop {
  0% { transform: scale(1); }
  35% { transform: scale(1.45) rotate(-8deg); }
  65% { transform: scale(0.9) rotate(5deg); }
  100% { transform: scale(1) rotate(0); }
}

@keyframes shimmerEffect {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes kenBurnsSlow {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

@keyframes marqueeTrack {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}

@keyframes rippleLight {
  0% { transform: scale(0.8); opacity: 1; }
  100% { transform: scale(2.2); opacity: 0; }
}

.animate-glow {
  animation: pulseGlow 2.5s infinite;
}

.animate-pulse-ring {
  animation: pulseRing 2s cubic-bezier(0.455, 0.03, 0.515, 0.955) infinite;
}

.animate-float {
  animation: floatSlow 4s ease-in-out infinite;
}

.animate-float-delayed {
  animation: floatSlow 4s ease-in-out 2s infinite;
}

.animate-float-slow {
  animation: floatSlow 5s ease-in-out 1s infinite;
}

.animate-fade-in-up {
  animation: fadeInUp 0.75s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-fade-in-scale {
  animation: fadeInScale 0.75s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-ken-burns {
  animation: kenBurnsSlow 14s ease-in-out infinite;
}

.cart-badge-bounce {
  animation: cartPop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.animate-shimmer {
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%);
  background-size: 200% 100%;
  animation: shimmerEffect 2.8s infinite;
}

/* Micro-Interaction Card Hover */
.product-card-hover {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease;
}
.product-card-hover:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 30px -10px rgba(11, 61, 30, 0.12);
}

/* Scroll-Driven Reveal System */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal-scale.active {
  opacity: 1;
  transform: scale(1);
}

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-stagger.active > *:nth-child(1) { transition-delay: 40ms; opacity: 1; transform: translateY(0); }
.reveal-stagger.active > *:nth-child(2) { transition-delay: 80ms; opacity: 1; transform: translateY(0); }
.reveal-stagger.active > *:nth-child(3) { transition-delay: 120ms; opacity: 1; transform: translateY(0); }
.reveal-stagger.active > *:nth-child(4) { transition-delay: 160ms; opacity: 1; transform: translateY(0); }
.reveal-stagger.active > *:nth-child(5) { transition-delay: 200ms; opacity: 1; transform: translateY(0); }
.reveal-stagger.active > *:nth-child(6) { transition-delay: 240ms; opacity: 1; transform: translateY(0); }
.reveal-stagger.active > *:nth-child(7) { transition-delay: 280ms; opacity: 1; transform: translateY(0); }
.reveal-stagger.active > *:nth-child(8) { transition-delay: 320ms; opacity: 1; transform: translateY(0); }

.delay-75 { animation-delay: 75ms; }
.delay-100 { animation-delay: 100ms; }
.delay-150 { animation-delay: 150ms; }
.delay-200 { animation-delay: 200ms; }
.delay-300 { animation-delay: 300ms; }
.delay-400 { animation-delay: 400ms; }

/* Custom Sleek Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #F4F6F4;
}
::-webkit-scrollbar-thumb {
  background: #0B3D1E40;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #0B3D1E;
}

/* Professional Sticky Header & Dropdown System */
header {
  position: -webkit-sticky !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 50 !important;
  height: 5rem !important; /* Fixed 80px across all pages */
  min-height: 5rem !important;
  max-height: 5rem !important;
  box-sizing: border-box !important;
  will-change: transform;
}

header > div,
header > .max-w-7xl > div {
  height: 5rem !important;
  min-height: 5rem !important;
  box-sizing: border-box !important;
}

/* Strict Logo dimensions across all pages */
.bv-nav-logo {
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  min-height: 44px !important;
  object-fit: cover !important;
  aspect-ratio: 1 / 1 !important;
  border-radius: 9999px !important;
}

@media (min-width: 640px) {
  .bv-nav-logo {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    min-height: 48px !important;
  }
}

header.header-scrolled {
  background-color: rgba(255, 255, 255, 0.98) !important;
  box-shadow: 0 10px 25px -5px rgba(5, 38, 18, 0.1), 0 2px 4px 0 rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(212, 166, 42, 0.35) !important;
}

.nav-item-dropdown {
  position: relative !important;
}

.nav-dropdown-menu {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transform: translateY(8px);
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none !important;
}

.nav-item-dropdown:hover .nav-dropdown-menu,
.nav-item-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown-menu:hover {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
  pointer-events: auto !important;
}

.nav-link-item {
  position: relative;
  transition: color 0.2s ease;
  white-space: nowrap;
  font-weight: 700 !important;
  font-size: 12px;
  letter-spacing: 0.03em;
}

@media (min-width: 1024px) and (max-width: 1279px) {
  .nav-link-item {
    font-size: 10.5px !important;
    padding-left: 0.35rem !important;
    padding-right: 0.35rem !important;
    letter-spacing: 0.012em !important;
  }
}

@media (min-width: 1280px) and (max-width: 1440px) {
  .nav-link-item {
    font-size: 11px !important;
    padding-left: 0.38rem !important;
    padding-right: 0.38rem !important;
    letter-spacing: 0.02em !important;
  }
}

@media (min-width: 1441px) and (max-width: 1599px) {
  .nav-link-item {
    font-size: 11.5px !important;
    padding-left: 0.45rem !important;
    padding-right: 0.45rem !important;
    letter-spacing: 0.02em !important;
  }
}

@media (min-width: 1600px) {
  .nav-link-item {
    font-size: 12px !important;
    padding-left: 0.6rem !important;
    padding-right: 0.6rem !important;
    letter-spacing: 0.03em !important;
  }
}
.nav-link-item::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0%;
  height: 2px;
  background: #D4A62A;
  transition: width 0.25s ease, left 0.25s ease;
  border-radius: 9999px;
}
.nav-link-item:hover::after,
.nav-link-item.active::after {
  width: 80%;
  left: 10%;
}

/* Header Desktop Alignment & Structure Stability */
header .open-cart-btn {
  flex-shrink: 0 !important;
}
header .max-w-7xl {
  width: 100% !important;
  max-width: 100% !important;
}

@media (min-width: 1280px) {
  header .max-w-7xl {
    max-width: 1400px !important;
  }
}

@media (min-width: 1536px) {
  header .max-w-7xl {
    max-width: 1600px !important;
  }
}

/* Professional Luxury Infinite Marquee Ticker */
.trust-marquee-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  user-select: none;
}

.trust-marquee-track {
  display: flex;
  width: max-content;
  animation: trustMarqueeScroll 35s linear infinite;
  will-change: transform;
}

.trust-marquee-track:hover {
  animation-play-state: paused;
}

@keyframes trustMarqueeScroll {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

@media (max-width: 768px) {
  .trust-marquee-track {
    animation-duration: 25s;
  }
}

.trust-marquee-item {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.trust-marquee-item:hover {
  transform: translateY(-1px);
}

/* Mobile View: Hide footer on mobile screens (< 768px) */
@media (max-width: 767.98px) {
  footer,
  .site-footer {
    display: none !important;
  }
}

/* ==========================================================================
   Floating Bottom Cart Bar (Centered in Desktop, No Animation, Clean Placement)
   ========================================================================== */
#bvFloatingCartBar {
  position: fixed !important;
  z-index: 45 !important;
  transition: opacity 0.2s ease, visibility 0.2s ease !important;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  animation: none !important;
}

#bvFloatingCartBar.is-active {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

/* Desktop View: Perfectly Centered at Bottom */
@media (min-width: 768px) {
  #bvFloatingCartBar {
    left: 50% !important;
    right: auto !important;
    bottom: 24px !important;
    transform: translateX(-50%) !important;
    width: auto !important;
    min-width: 400px;
    max-width: 560px;
  }
}

/* Phone View: Cleanly positioned above the mobile bottom nav */
@media (max-width: 767.98px) {
  #bvFloatingCartBar {
    left: 12px !important;
    right: 12px !important;
    bottom: calc(72px + env(safe-area-inset-bottom, 0px)) !important;
    width: auto !important;
    transform: none !important;
  }
}

/* ==========================================================================
   Floating WhatsApp Button Alignment (Desktop Right, Phone Right Symmetrical)
   ========================================================================== */
a[href*="wa.me"][class*="fixed"] {
  z-index: 44 !important;
  transition: bottom 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease !important;
}

@media (min-width: 768px) {
  a[href*="wa.me"][class*="fixed"] {
    bottom: 24px !important;
    right: 24px !important;
  }
}

@media (max-width: 767.98px) {
  a[href*="wa.me"][class*="fixed"] {
    bottom: calc(76px + env(safe-area-inset-bottom, 0px)) !important;
    right: 16px !important;
  }

  body.has-floating-cart a[href*="wa.me"][class*="fixed"] {
    bottom: calc(144px + env(safe-area-inset-bottom, 0px)) !important;
  }
}



