/* ============================================
   NECTAR ORGANICS - style.css
   Luxury Organic E-Commerce | Full Version

   Art direction: Premium organic spice brand → luxurious, warm, natural
   Palette: Deep green + gold accents, cream surfaces
   Typography: Playfair Display (display) + Poppins (body)
   Density: Balanced — editorial feel for product sections
============================================ */


/* ── ROOT VARIABLES ── */
:root {
    /* Brand Palette */
    --gold:           #C9A84C;
    --gold-light:     #E8C97A;
    --gold-dark:      #8B6914;
    --dark-green:     #1A3A2A;
    --cream:          #FAF6EE;
    --cream-dark:     #F2EBD9;
    --dark:           #1A1A1A;
    --text-muted:     #666;
    --white:          #fff;

    /* Derived / Extended */
    --primary:        #1A3A2A;
    --primary-dark:   #0f2418;
    --primary-light:  #2a5c3f;
    --bg-cream:       #FAF6EE;
    --bg-white:       #ffffff;
    --text-dark:      #1A1A1A;
    --text-medium:    #444444;
    --text-light:     #666666;
    --border-color:   #e6dfc8;
    --border-light:   #f0ebe0;

    /* Typography */
    --font-heading:   'Playfair Display', Georgia, serif;
    --font-body:      'Poppins', 'Helvetica Neue', sans-serif;

    /* Radii */
    --radius:         8px;
    --radius-lg:      14px;

    /* Transitions */
    --transition:     all 0.3s ease;

    /* Fluid Type Scale */
    --text-xs:    clamp(0.75rem,  0.7rem + 0.25vw, 0.875rem);
    --text-sm:    clamp(0.8125rem, 0.75rem + 0.3vw, 0.9375rem);
    --text-base:  clamp(0.9375rem, 0.85rem + 0.35vw, 1.0625rem);
    --text-lg:    clamp(1.125rem, 1rem + 0.6vw, 1.4rem);
    --text-xl:    clamp(1.5rem, 1.2rem + 1vw, 2rem);
    --text-2xl:   clamp(2rem, 1.2rem + 2.5vw, 3.25rem);
    --text-hero:  clamp(2.5rem, 1rem + 5vw, 5.5rem);

    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
  }




  .site-header{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    transition: all 0.4s ease;
}

.site-header.scrolled{
    background: #ffffff !important;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.site-header.scrolled .navbar-nav .nav-link{
    color: #1A1A1A !important;
}

.site-header.scrolled .icon-btn{
    color: #1A1A1A !important;
}

.site-header.scrolled .search-box .form-control{
    background: #FAF6EE;
    color: #1A1A1A;
    border-color: #ddd;
}


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

  html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    scroll-padding-top: 80px;
  }

  body {
    font-family: var(--font-body);
    background-color: var(--bg-cream);
    color: var(--text-dark);
    font-size: var(--text-base);
    line-height: 1.7;
  }

  h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    line-height: 1.3;
    text-wrap: balance;
  }

  a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
  }

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

  ul { list-style: none; padding: 0; margin: 0; }

  p, li { max-width: 72ch; text-wrap: pretty; }

  ::selection {
    background: rgba(201, 168, 76, 0.25);
    color: var(--dark);
  }

  :focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
    border-radius: 4px;
  }


  /* ============================================
     TOP BAR
  ============================================ */
  .topbar {
    background-color: var(--primary-dark);
    color: #c8d8c0;
    font-size: var(--text-xs);
    padding: 8px 0;
    letter-spacing: 0.3px;
    position: relative;
    z-index: 1001;
  }

  .topbar a        { color: #c8d8c0; }
  .topbar a:hover  { color: #ffffff; }
  .topbar i        { color: var(--gold-light); }


  /* ============================================
     HEADER / NAVBAR
     — Transparent over hero, white on scroll
  ============================================ */
  .site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: background-color 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
    background-color: transparent;
  }

  /* When topbar is present, header starts below it */
  .site-header.has-topbar { top: 37px; }

  /* Scrolled state — white background */
  .site-header.scrolled {
    background-color: var(--bg-white);
    box-shadow: 0 2px 20px rgba(26, 58, 42, 0.10);
  }

  .site-header .navbar { padding: 16px 0; transition: padding 0.4s ease; }
  .site-header.scrolled .navbar { padding: 10px 0; }

  /* Logo */
  .logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
  }

  .site-header.scrolled .logo-img { height: 44px; }

  /* ── Nav Links — transparent state ── */
  .navbar-nav .nav-link {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: var(--text-sm);
    color: rgba(255,255,255,0.92) !important;
    padding: 6px 14px !important;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: relative;
    transition: color 0.3s ease;
  }

  .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 14px;
    width: 0;
    height: 2px;
    background-color: var(--gold-light);
    transition: width 0.3s ease;
  }

  .navbar-nav .nav-link:hover::after,
  .navbar-nav .nav-link.active::after {
    width: calc(100% - 28px);
  }

  .navbar-nav .nav-link:hover,
  .navbar-nav .nav-link.active {
    color: var(--gold-light) !important;
  }

  /* ── Nav Links — scrolled state ── */
  .site-header.scrolled .navbar-nav .nav-link {
    color: var(--text-dark) !important;
  }

  .site-header.scrolled .navbar-nav .nav-link::after {
    background-color: var(--primary);
  }

  .site-header.scrolled .navbar-nav .nav-link:hover,
  .site-header.scrolled .navbar-nav .nav-link.active {
    color: var(--primary) !important;
  }

  /* Hamburger toggler — transparent state */
  .navbar-toggler {
    border-color: rgba(255,255,255,0.4) !important;
    transition: var(--transition);
  }

  .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255%2C255%2C255%2C0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
  }

  .site-header.scrolled .navbar-toggler {
    border-color: var(--border-color) !important;
  }

  .site-header.scrolled .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2826%2C26%2C26%2C0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
  }

  /* Dropdown */
  .dropdown-menu {
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    box-shadow: 0 8px 24px rgba(26,58,42,0.08);
    padding: 8px 0;
    margin-top: 6px;
    background-color: var(--bg-white);
  }

  .dropdown-item {
    font-size: var(--text-sm);
    padding: 8px 20px;
    color: var(--text-medium);
    font-family: var(--font-body);
    transition: var(--transition);
  }

  .dropdown-item:hover {
    background-color: #f2f7f2;
    color: var(--primary);
  }

  /* Desktop Search Box */
  .search-box { position: relative; }

  .search-box .form-control {
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 24px;
    padding: 8px 36px 8px 16px;
    font-size: var(--text-sm);
    width: 200px;
    background-color: rgba(255,255,255,0.12);
    color: #ffffff;
    transition: var(--transition);
  }

  .search-box .form-control::placeholder { color: rgba(255,255,255,0.55); }

  .search-box .form-control:focus {
    box-shadow: none;
    border-color: rgba(255,255,255,0.6);
    background-color: rgba(255,255,255,0.2);
    width: 240px;
    outline: none;
    color: #ffffff;
  }

  .search-box i {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255,255,255,0.6);
    font-size: 14px;
  }

  /* Scrolled search */
  .site-header.scrolled .search-box .form-control {
    border-color: var(--border-color);
    background-color: var(--bg-cream);
    color: var(--text-dark);
  }

  .site-header.scrolled .search-box .form-control::placeholder { color: var(--text-light); }

  .site-header.scrolled .search-box .form-control:focus {
    border-color: var(--primary-light);
    background-color: #fff;
    color: var(--text-dark);
  }

  .site-header.scrolled .search-box i { color: var(--text-light); }

  /* ── Header Icon Buttons ── */
  .header-icons { gap: 4px; }

  .icon-btn {
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: rgba(255,255,255,0.88);
    background: none;
    border: none;
    cursor: pointer;
    border-radius: 50%;
    transition: var(--transition);
    text-decoration: none;
  }

  .icon-btn:hover {
    color: var(--gold-light);
    background-color: rgba(255,255,255,0.12);
  }

  .site-header.scrolled .icon-btn { color: var(--text-dark); }
  .site-header.scrolled .icon-btn:hover {
    color: var(--primary);
    background-color: #f0f7f2;
  }

  .icon-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background-color: var(--gold);
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    min-width: 17px;
    height: 17px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    padding: 0 3px;
    border: 2px solid transparent;
    transition: border-color 0.4s ease;
  }

  .site-header.scrolled .icon-badge { border-color: var(--bg-white); }

  /* ── Mobile Search Dropdown Bar ── */
  .mobile-search-bar {
    display: none;
    padding: 10px 0 14px;
    border-top: 1px solid var(--border-light);
  }

  .mobile-search-inner {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: var(--bg-cream);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 6px 14px;
  }

  .mobile-search-inner > i {
    color: var(--text-light);
    font-size: 15px;
    flex-shrink: 0;
  }

  .mobile-search-inner .form-control {
    border: none;
    background: transparent;
    font-size: var(--text-sm);
    padding: 5px 0;
    box-shadow: none;
    color: var(--text-dark);
    font-family: var(--font-body);
  }

  .mobile-search-inner .form-control:focus {
    box-shadow: none;
    outline: none;
  }

  .mobile-search-inner .form-control::placeholder { color: var(--text-light); }

  .close-search {
    background: none;
    border: none;
    font-size: 14px;
    color: var(--text-light);
    padding: 4px;
    cursor: pointer;
    flex-shrink: 0;
    line-height: 1;
    transition: var(--transition);
  }

  .close-search:hover { color: var(--text-dark); }


  /* ============================================
     HERO SECTION
     — Full-viewport, transparent navbar overlay
     — Image cross-fade with Ken Burns zoom
  ============================================ */
  .hero-section {
    position: relative;
    overflow: hidden;
    width: 100%;
    /* Full viewport height — hero starts from very top since header is fixed+transparent */
    height: 100vh;
    min-height: 560px;
    max-height: 900px;
  }

  /* OWL Carousel fills hero fully */
  .hero-carousel,
  .hero-carousel .owl-stage-outer,
  .hero-carousel .owl-stage,
  .hero-carousel .owl-item {
    height: 100%;
  }

  .hero-slide {
    position: relative;
    overflow: hidden;
    height: 100vh;
    min-height: 560px;
    max-height: 900px;
  }

  /* ── Hero Image with Ken Burns animation ── */
  .hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    /* Ken Burns: starts at scale(1), zooms to scale(1.12) over the slide lifetime */
    animation: heroKenBurns 7s ease-out forwards;
    transform-origin: center center;
  }

  @keyframes heroKenBurns {
    0%   { transform: scale(1);    opacity: 0; }
    8%   { opacity: 1; }
    100% { transform: scale(1.12); opacity: 1; }
  }

  /* Cross-fade between slides: the outgoing slide fades out */
  .hero-carousel .owl-item.active .hero-img {
    animation: heroKenBurns 7s ease-out forwards;
  }

  /* OWL Carousel uses CSS transitions for the cross-fade effect */
  .hero-carousel.owl-carousel {
    /* We override owl's default slide with a fade transition */
  }

  /* ── Gradient overlay ── */
  .hero-overlay {
    position: absolute;
    inset: 0;
    /* Rich green-dark gradient from left, fading to transparent right */
    background: linear-gradient(
      105deg,
      rgba(15, 36, 24, 0.82) 0%,
      rgba(26, 58, 42, 0.70) 35%,
      rgba(26, 58, 42, 0.30) 60%,
      rgba(26, 58, 42, 0.05) 100%
    );
    display: flex;
    align-items: center;
    /* Push content down slightly from true center */
    padding-top: 60px;
  }

  /* ── Hero content text ── */
  .hero-content {
    padding: var(--space-8) 0;
    max-width: 580px;
    /* Entrance animation for each new slide */
    animation: heroContentIn 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.25s both;
  }

  @keyframes heroContentIn {
    from {
      opacity: 0;
      transform: translateY(28px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .hero-tag {
    display: inline-block;
    background-color: var(--gold);
    color: #fff;
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    padding: 5px 16px;
    border-radius: 20px;
    margin-bottom: var(--space-5);
    font-family: var(--font-body);
  }

  .hero-title {
    font-family: var(--font-heading);
    font-size: var(--text-hero);
    font-weight: 700;
    color: #ffffff;
    line-height: 1.12;
    margin-bottom: var(--space-4);
    text-shadow: 0 2px 20px rgba(0,0,0,0.25);
  }

  .hero-title span { color: var(--gold-light); }

  .hero-subtitle {
    font-size: var(--text-base);
    color: rgba(255,255,255,0.82);
    margin-bottom: var(--space-8);
    font-weight: 300;
    max-width: 440px;
    line-height: 1.7;
  }

  .btn-hero {
    background-color: var(--gold);
    color: #ffffff;
    padding: 13px 32px;
    border-radius: 4px;
    font-size: var(--text-sm);
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    border: 2px solid var(--gold);
    transition: var(--transition);
    font-family: var(--font-body);
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }

  .btn-hero:hover {
    background-color: transparent;
    border-color: #fff;
    color: #ffffff;
  }

  /* Owl Nav Arrows */
  .hero-carousel .owl-nav button {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background-color: rgba(255,255,255,0.12) !important;
    border: 1px solid rgba(255,255,255,0.30) !important;
    color: #fff !important;
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    font-size: 18px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: var(--transition) !important;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
  }

  .hero-carousel .owl-nav button:hover {
    background-color: var(--gold) !important;
    border-color: var(--gold) !important;
  }

  .hero-carousel .owl-nav .owl-prev { left: 24px; }
  .hero-carousel .owl-nav .owl-next { right: 24px; }

  /* Owl Dots */
  .hero-carousel .owl-dots {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
  }

  .hero-carousel .owl-dot span {
    background-color: rgba(255,255,255,0.35) !important;
    width: 8px !important;
    height: 8px !important;
    border-radius: 4px !important;
    transition: var(--transition) !important;
    margin: 0 4px !important;
  }

  .hero-carousel .owl-dot.active span {
    background-color: var(--gold) !important;
    width: 28px !important;
  }

  /* ── Scroll indicator ── */
  .hero-scroll-hint {
    position: absolute;
    bottom: 32px;
    right: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    opacity: 0.6;
    transition: opacity 0.3s;
  }

  .hero-scroll-hint:hover { opacity: 1; }

  .hero-scroll-hint span {
    font-size: 10px;
    color: #fff;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-family: var(--font-body);
    writing-mode: vertical-rl;
  }

  .hero-scroll-hint i {
    font-size: 18px;
    color: var(--gold-light);
    animation: bounceDown 1.6s ease-in-out infinite;
  }

  @keyframes bounceDown {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(5px); }
  }


  /* ============================================
     FEATURES STRIP
  ============================================ */
  .features-strip {
    background-color: var(--bg-white);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
  }

  .feature-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 22px 20px;
    border-right: 1px solid var(--border-light);
    transition: var(--transition);
  }

  .feature-item:last-child { border-right: none; }

  .feature-item:hover { background-color: #f8fbf8; }

  .feature-item i {
    font-size: 26px;
    color: var(--primary);
    flex-shrink: 0;
    transition: var(--transition);
  }

  .feature-item:hover i { color: var(--gold); transform: scale(1.1); }

  .feature-item strong {
    display: block;
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--text-dark);
    font-family: var(--font-body);
  }

  .feature-item span {
    font-size: var(--text-xs);
    color: var(--text-light);
  }


  /* ============================================
     SECTION HEADER
  ============================================ */
  .section-tag {
    display: inline-block;
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--gold-dark);
    margin-bottom: 10px;
    font-family: var(--font-body);
    position: relative;
    padding: 0 26px;
  }

  .section-tag::before,
  .section-tag::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 1px;
    background-color: var(--gold);
  }

  .section-tag::before { left: 0; }
  .section-tag::after  { right: 0; }

  .section-title {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--dark-green);
    margin-bottom: 0;
  }


  /* ============================================
     CATEGORY SECTION
  ============================================ */
  .category-section { background-color: var(--bg-cream); }

  .category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 16px;
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    text-align: center;
    color: var(--text-dark);
    transition: var(--transition);
    cursor: pointer;
  }

  .category-card:hover {
    border-color: var(--primary-light);
    background-color: #f2f9f2;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(26,58,42,0.10);
    color: var(--primary);
  }

  .cat-icon {
    width: 64px;
    height: 64px;
    background-color: #e6f2ea;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 13px;
    transition: var(--transition);
  }

  .cat-icon i {
    font-size: 24px;
    color: var(--primary);
    transition: var(--transition);
  }

  .category-card:hover .cat-icon {
    background-color: var(--dark-green);
  }

  .category-card:hover .cat-icon i { color: #fff; }

  .category-card h5 {
    font-family: var(--font-heading);
    font-size: 16px;
    margin-bottom: 4px;
  }

  .category-card span {
    font-size: var(--text-xs);
    color: var(--text-light);
  }


  /* ============================================
     PRODUCTS SECTION
  ============================================ */
  .products-section { background-color: var(--bg-cream); }

  /* Filter Buttons */
  .filter-btn {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    color: var(--text-medium);
    font-size: var(--text-sm);
    font-weight: 500;
    padding: 8px 22px;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-body);
  }

  .filter-btn:hover,
  .filter-btn.active {
    background-color: var(--dark-green);
    border-color: var(--dark-green);
    color: #ffffff;
  }

  /* ── Product Card ── */
  .product-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    transition: var(--transition);
    height: 100%;
  }

  .product-card:hover {
    border-color: rgba(42,92,63,0.3);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(26,58,42,0.12);
  }

  /* Badge */
  .product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: var(--dark-green);
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 3px 9px;
    border-radius: 3px;
    z-index: 3;
    font-family: var(--font-body);
    text-transform: uppercase;
  }

  .product-badge.badge-new { background-color: var(--gold); }

  /* Image Wrap */
  .product-img-wrap {
    position: relative;
    overflow: hidden;
    background-color: #f5f0e8;
  }

  .product-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
  }

  .product-card:hover .product-img { transform: scale(1.05); }

  /* Wishlist Heart */
  .wishlist-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    color: #aaaaaa;
    transition: var(--transition);
    z-index: 3;
  }

  .wishlist-btn:hover {
    border-color: #fdd;
    background-color: #fff5f5;
    color: #e05050;
  }

  .wishlist-btn .bi-heart-fill { color: #e05050; }

  /* Product Body */
  .product-body { padding: 14px 14px 16px; }

  .product-category {
    font-size: 10.5px;
    font-weight: 600;
    color: var(--gold-dark);
    letter-spacing: 0.8px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 5px;
  }

  .product-name {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    line-height: 1.3;
  }

  .product-rating {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-bottom: 9px;
  }

  .product-rating i {
    font-size: 11px;
    color: var(--gold);
  }

  .product-rating span {
    font-size: 11px;
    color: var(--text-light);
    margin-left: 4px;
  }

  .product-price {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 13px;
    flex-wrap: wrap;
  }

  .current-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark-green);
    font-family: var(--font-body);
  }

  .original-price {
    font-size: 12.5px;
    color: var(--text-light);
    text-decoration: line-through;
  }

  .discount-tag {
    font-size: 10.5px;
    font-weight: 600;
    color: #c0392b;
    background-color: #fdf2f2;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: var(--font-body);
  }

  .btn-add-cart {
    background-color: transparent;
    border: 1px solid var(--dark-green);
    color: var(--dark-green);
    font-size: 12.5px;
    font-weight: 600;
    padding: 9px 14px;
    border-radius: 4px;
    transition: var(--transition);
    letter-spacing: 0.3px;
    font-family: var(--font-body);
  }

  .btn-add-cart:hover {
    background-color: var(--dark-green);
    color: #ffffff;
    border-color: var(--dark-green);
  }


  /* ============================================
     PROMO BANNERS
  ============================================ */
  .promo-banner {
    padding: 52px 0;
    background-color: var(--cream-dark);
  }

  .promo-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: var(--transition);
  }

  .promo-card:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(26,58,42,0.12); }

  .promo-img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
  }

  .promo-card:hover .promo-img { transform: scale(1.04); }

  .promo-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 28px 32px;
    background: linear-gradient(to right, rgba(15,36,24,0.78), rgba(15,36,24,0.08));
  }

  .promo-content span {
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 6px;
  }

  .promo-content h4 {
    font-family: var(--font-heading);
    font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem);
    color: #ffffff;
    margin-bottom: 16px;
  }

  .btn-promo {
    display: inline-block;
    background-color: var(--bg-white);
    color: var(--dark-green);
    font-size: 12px;
    font-weight: 700;
    padding: 9px 22px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    transition: var(--transition);
    font-family: var(--font-body);
    width: fit-content;
    text-transform: uppercase;
  }

  .btn-promo:hover {
    background-color: var(--gold);
    color: #ffffff;
  }


  /* ============================================
     WHY CHOOSE US
  ============================================ */
  .why-section {
    background-color: var(--bg-white);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
  }

  .why-card {
    padding: 32px 20px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    height: 100%;
    transition: var(--transition);
    background-color: var(--bg-white);
  }

  .why-card:hover {
    border-color: rgba(42,92,63,0.3);
    background-color: #f8fcf8;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(26,58,42,0.08);
  }

  .why-icon {
    width: 60px;
    height: 60px;
    background-color: #e6f2ea;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    transition: var(--transition);
  }

  .why-card:hover .why-icon { background-color: var(--dark-green); }

  .why-icon i {
    font-size: 22px;
    color: var(--primary);
    transition: var(--transition);
  }

  .why-card:hover .why-icon i { color: #fff; }

  .why-card h6 {
    font-family: var(--font-heading);
    font-size: 17px;
    margin-bottom: 8px;
    color: var(--dark-green);
  }

  .why-card p {
    font-size: var(--text-xs);
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
  }


  /* ============================================
     TESTIMONIALS
  ============================================ */
  .testimonials-section { background-color: var(--cream-dark); }

  .testimonial-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    transition: var(--transition);
  }

  .testimonial-card:hover {
    box-shadow: 0 8px 24px rgba(26,58,42,0.08);
    transform: translateY(-2px);
  }

  .testimonial-card .stars { margin-bottom: 12px; }
  .testimonial-card .stars i { font-size: 13px; color: var(--gold); }

  .testimonial-card p {
    font-size: var(--text-sm);
    color: var(--text-medium);
    line-height: 1.75;
    font-style: italic;
    margin-bottom: 20px;
    max-width: none;
  }

  .reviewer {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .reviewer-avatar {
    width: 42px;
    height: 42px;
    background-color: var(--dark-green);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 15px;
    flex-shrink: 0;
  }

  .reviewer strong {
    display: block;
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--text-dark);
  }

  .reviewer span {
    font-size: var(--text-xs);
    color: var(--text-light);
  }

  .testimonial-carousel .owl-dots { margin-top: 28px; text-align: center; }
  .testimonial-carousel .owl-dot span {
    background-color: var(--border-color) !important;
    width: 8px !important;
    height: 8px !important;
    border-radius: 4px !important;
    transition: var(--transition) !important;
    margin: 0 4px !important;
  }

  .testimonial-carousel .owl-dot.active span {
    background-color: var(--dark-green) !important;
    width: 22px !important;
  }


  /* ============================================
     CONTACT SECTION
  ============================================ */
  .contact-section {
    background-color: var(--bg-white);
    border-top: 1px solid var(--border-color);
  }

  .contact-info-card,
  .contact-form-card {
    background-color: var(--bg-cream);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 36px 30px;
    height: 100%;
  }

  .contact-info-card h5 {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    color: var(--dark-green);
    margin-bottom: 4px;
  }

  .brand-tagline {
    font-size: var(--text-xs);
    color: var(--text-light);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 24px;
  }

  .contact-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: var(--text-sm);
    color: var(--text-medium);
  }

  .contact-list li i {
    font-size: 15px;
    color: var(--primary);
    margin-top: 2px;
    flex-shrink: 0;
  }

  .contact-list li a { color: var(--text-medium); }
  .contact-list li a:hover { color: var(--primary); }

  .social-links { display: flex; gap: 10px; }

  .social-links a {
    width: 40px;
    height: 40px;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--text-medium);
    background-color: var(--bg-white);
    transition: var(--transition);
  }

  .social-links a:hover {
    background-color: var(--dark-green);
    border-color: var(--dark-green);
    color: #ffffff;
  }

  .contact-input {
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    background-color: var(--bg-white);
    padding: 11px 16px;
    font-size: var(--text-sm);
    color: var(--text-dark);
    font-family: var(--font-body);
    transition: var(--transition);
  }

  .contact-input:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(42,92,63,0.08);
    outline: none;
    background-color: #fff;
  }

  .contact-input::placeholder {
    color: var(--text-light);
    font-size: var(--text-sm);
  }

  .btn-contact-submit {
    background-color: var(--dark-green);
    color: #ffffff;
    border: none;
    padding: 13px 0;
    font-size: var(--text-sm);
    font-weight: 600;
    border-radius: var(--radius);
    letter-spacing: 0.5px;
    transition: var(--transition);
    font-family: var(--font-body);
  }

  .btn-contact-submit:hover {
    background-color: var(--primary-dark);
    color: #ffffff;
  }


  /* ============================================
     FOOTER
  ============================================ */
  .site-footer { background-color: #091a0e; color: #c0d4c0; }

  .footer-top {
    padding: 60px 0 42px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
  }

  .footer-logo {
    height: 46px;
    width: auto;
    object-fit: contain;
    opacity: 0.86;
  }

  .footer-about {
    font-size: var(--text-sm);
    color: #8aa48a;
    line-height: 1.85;
  }

  .footer-heading {
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 18px;
  }

  .footer-links li { margin-bottom: 10px; }

  .footer-links a {
    font-size: var(--text-sm);
    color: #8aa48a;
    transition: var(--transition);
  }

  .footer-links a:hover {
    color: #ffffff;
    padding-left: 5px;
  }

  .footer-newsletter-text {
    font-size: var(--text-sm);
    color: #8aa48a;
    margin-bottom: 14px;
  }

  .newsletter-form { display: flex; }

  .newsletter-form .form-control {
    border: 1px solid rgba(255,255,255,0.10);
    background-color: rgba(255,255,255,0.06);
    color: #ffffff;
    border-radius: 4px 0 0 4px;
    font-size: var(--text-sm);
    padding: 11px 14px;
    transition: var(--transition);
  }

  .newsletter-form .form-control::placeholder { color: #556855; }

  .newsletter-form .form-control:focus {
    box-shadow: none;
    border-color: var(--primary-light);
    background-color: rgba(255,255,255,0.09);
    outline: none;
  }

  .btn-newsletter {
    background-color: var(--gold);
    color: #ffffff;
    border: none;
    border-radius: 0 4px 4px 0;
    font-size: var(--text-sm);
    font-weight: 600;
    padding: 11px 18px;
    white-space: nowrap;
    transition: var(--transition);
    font-family: var(--font-body);
  }

  .btn-newsletter:hover {
    background-color: var(--gold-light);
    color: var(--dark);
  }

  .footer-bottom {
    padding: 18px 0;
    font-size: 12.5px;
    color: #4e6a4e;
  }


  /* ============================================
     BACK TO TOP
  ============================================ */
  .back-to-top {
    position: fixed;
    bottom: 88px; /* above mobile bottom nav */
    right: 24px;
    width: 44px;
    height: 44px;
    background-color: var(--dark-green);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    border: 1px solid rgba(255,255,255,0.18);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: var(--transition);
    z-index: 999;
  }

  .back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .back-to-top:hover {
    background-color: var(--gold);
    color: #ffffff;
  }


  /* ============================================
     MOBILE STICKY BOTTOM NAV
  ============================================ */
  .mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--bg-white);
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 6px 0 10px;
    z-index: 1100;
    height: 64px;
    box-shadow: 0 -4px 16px rgba(26,58,42,0.08);
  }

  .mob-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 3px;
    color: #aaaaaa;
    font-size: 10px;
    font-family: var(--font-body);
    font-weight: 500;
    position: relative;
    flex: 1;
    text-decoration: none;
    transition: color 0.2s ease;
    padding-bottom: 2px;
  }

  .mob-nav-item i {
    font-size: 20px;
    line-height: 1;
    transition: color 0.2s ease;
  }

  .mob-nav-item.active       { color: var(--dark-green); }
  .mob-nav-item.active i     { color: var(--dark-green); }

  /* Center Raised Search Button */
  .mob-search-circle {
    width: 54px;
    height: 54px;
    background: linear-gradient(135deg, var(--dark-green) 0%, var(--primary-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -30px;
    border: 3px solid var(--bg-white);
    box-shadow: 0 4px 18px rgba(26,58,42,0.32);
    transition: var(--transition);
  }

  .mob-search-circle i {
    font-size: 20px;
    color: #ffffff !important;
  }

  .mob-nav-item.mob-nav-search           { color: var(--dark-green); }
  .mob-nav-item.mob-nav-search span:last-child { color: var(--dark-green); font-size: 10px; }

  .mob-search-circle:hover { background: var(--gold); }

  /* Wishlist Badge */
  .mob-badge {
    position: absolute;
    top: -1px;
    right: 16px;
    background-color: #e05050;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
    font-family: var(--font-body);
    border: 2px solid var(--bg-white);
  }


  /* ============================================
     JAVASCRIPT HELPERS
     (Paste this JS in your blade/script tag)
  ============================================ */
  /*
    REQUIRED JS — transparent navbar scroll behavior:

    document.addEventListener('DOMContentLoaded', function () {
      const header = document.querySelector('.site-header');
      const topbar = document.querySelector('.topbar');

      // Offset topbar height into header position
      if (topbar) {
        header.style.top = topbar.offsetHeight + 'px';
      }

      function handleScroll() {
        const scrolled = window.scrollY > 60;
        header.classList.toggle('scrolled', scrolled);
        if (topbar) {
          header.style.top = scrolled ? '0' : topbar.offsetHeight + 'px';
        }
      }

      window.addEventListener('scroll', handleScroll, { passive: true });
      handleScroll(); // init on load
    });

    OWL CAROUSEL INIT (with animateOut for cross-fade):

    $('#heroCarousel').owlCarousel({
      items: 1,
      loop: true,
      autoplay: true,
      autoplayTimeout: 6500,
      autoplayHoverPause: true,
      animateOut: 'fadeOut',       // cross-fade between slides
      animateIn: 'fadeIn',
      smartSpeed: 900,
      nav: true,
      dots: true,
      navText: [
        '<i class="bi bi-chevron-left"></i>',
        '<i class="bi bi-chevron-right"></i>'
      ],
      onTranslated: function() {
        // Re-run Ken Burns on new active slide
        var activeImg = $('.owl-item.active .hero-img')[0];
        if (activeImg) {
          activeImg.style.animation = 'none';
          activeImg.offsetHeight; // reflow
          activeImg.style.animation = '';
        }
      }
    });
  */


  /* ============================================
     RESPONSIVE BREAKPOINTS
  ============================================ */

  /* Tablet & Mobile */
  @media (max-width: 991px) {
    body { padding-bottom: 72px; }

    /* Hero — smaller height on tablet */
    .hero-section,
    .hero-slide {
      height: 70vh;
      min-height: 460px;
      max-height: 680px;
    }

    .hero-title   { font-size: clamp(2rem, 5vw, 3rem); }
    .hero-subtitle{ font-size: var(--text-sm); }
    .hero-content { max-width: 100%; }

    /* Section */
    .section-title { font-size: clamp(1.6rem, 4vw, 2.4rem); }

    /* Features strip */
    .feature-item {
      border-right: none;
      border-bottom: 1px solid var(--border-light);
      padding: 16px 14px;
    }
    .feature-item:last-child { border-bottom: none; }

    .product-img { height: 180px; }

    /* Mobile navbar collapse — white bg always */
    .site-header .navbar-collapse {
      background-color: rgba(15, 36, 24, 0.97);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      padding: 16px 20px 24px;
      border-radius: 0 0 var(--radius-lg) var(--radius-lg);
      margin-top: 8px;
    }

    .site-header.scrolled .navbar-collapse {
      background-color: var(--bg-white);
      border: 1px solid var(--border-color);
      box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    }

    .site-header.scrolled .navbar-nav .nav-link {
      color: var(--text-dark) !important;
    }

    /* Nav links inside mobile menu */
    .navbar-nav .nav-link {
      color: rgba(255,255,255,0.88) !important;
      padding: 10px 6px !important;
      border-bottom: 1px solid rgba(255,255,255,0.08);
    }

    .site-header.scrolled .navbar-nav .nav-link {
      color: var(--text-dark) !important;
      border-bottom-color: var(--border-light);
    }

    .navbar-nav .nav-link::after { display: none; }

    .search-box { display: none !important; }
  }

  /* Mobile only */
  @media (max-width: 767px) {
    .hero-section,
    .hero-slide {
      height: 62vh;
      min-height: 380px;
      max-height: 560px;
    }

    .hero-title   { font-size: clamp(1.6rem, 6vw, 2.4rem); }
    .hero-subtitle{ font-size: 12.5px; max-width: 100%; }
    .btn-hero     { font-size: 13px; padding: 10px 22px; }

    .hero-scroll-hint { display: none; }

    .section-title  { font-size: clamp(1.4rem, 5vw, 2rem); }

    .promo-content  { padding: 20px 22px; }
    .promo-content h4 { font-size: 1.2rem; }

    .contact-info-card,
    .contact-form-card { padding: 24px 18px; }

    .footer-top { padding: 42px 0 30px; }
  }

  /* Small mobile */
  @media (max-width: 480px) {
    .hero-section,
    .hero-slide {
      height: 55vh;
      min-height: 320px;
    }

    .hero-title { font-size: clamp(1.4rem, 7vw, 2rem); }
    .hero-content { padding: var(--space-4) 0; }

    .product-img    { height: 155px; }
    .product-name   { font-size: 13.5px; }
    .current-price  { font-size: 14px; }
    .btn-add-cart   { font-size: 11.5px; padding: 8px 10px; }

    .logo-img { height: 42px; }

    .back-to-top { bottom: 76px; right: 16px; }
  }

  /* Large desktop */
  @media (min-width: 1400px) {
    .hero-section,
    .hero-slide {
      max-height: 100vh;
    }
  }


  .ticker {
    background: var(--dark-green);
    padding: 14px 0;
    overflow: hidden;
    position: relative;
}

.ticker-inner {
    display: flex;
    width: max-content;
    animation: ticker 20s linear infinite;
}

.ticker-inner:hover {
    animation-play-state: paused;
}

.ticker-item {
    color: var(--gold-light);
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    padding: 0 30px;
    white-space: nowrap;
    display: flex;
    align-items: center;
}

.ticker-item::before {
    content: '✦';
    margin-right: 30px;
    color: var(--gold);
}

@keyframes ticker {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .ticker {
        padding: 10px 0;
    }

    .ticker-item {
        font-size: 10px;
        letter-spacing: 2px;
        padding: 0 20px;
    }

    .ticker-item::before {
        margin-right: 20px;
    }

    @keyframes ticker {
        from {
            transform: translateX(0);
        }
        to {
            transform: translateX(-50%);
        }
    }
}
