/* ==========================================================================
   AFRA ENTERPRISE — BRAND DESIGN SYSTEM v3.0
   Derived directly from the AFRA Enterprise logo:
     Primary Green  : #2DB85A  (the vibrant logo leaf green)
     Accent Gold    : #F5A623  (the golden leaf accent on the logo)
     Background     : #EFF7F2  (the soft mint-white behind the logo)
   ========================================================================== */

/* ==========================================================================
   01. CSS VARIABLES & DESIGN TOKENS
   ========================================================================== */
:root {
  /* ═══════════════════════════════════════════
     PRIMARY GREEN PALETTE (from logo analysis)
     ═══════════════════════════════════════════ */
  --primary: #2DB85A;
  /* Logo's main vibrant green */
  --primary-dark: #1E8A42;
  /* Deep hover green */
  --primary-deeper: #145C2C;
  /* Footer/dark-bg green */
  --primary-light: #A8D5B5;
  /* Sage border/subtle bg */
  --primary-wash: #EFF7F2;
  /* Page background, card surface */
  --primary-rgb: 45, 184, 90;

  /* ═══════════════════════════════════════════
     ACCENT GOLD (from logo's golden leaf)
     ═══════════════════════════════════════════ */
  --accent: #F5A623;
  /* Golden amber */
  --accent-dark: #D4860E;
  /* Hover amber */
  --accent-light: #FAD282;
  /* Light amber tint */
  --accent-wash: #FEF6E7;
  /* Very light amber bg */

  /* ═══════════════════════════════════════════
     SEMANTIC ALIASES (keep backward compatibility)
     ═══════════════════════════════════════════ */
  --secondary: var(--primary-dark);
  --secondary-dark: var(--primary-deeper);
  --secondary-light: var(--primary);
  --dark-forest-green: var(--primary-deeper);
  --forest-green: var(--primary-dark);
  --emerald: #3FC077;
  --mint: #C4E8D0;
  --light-green: #DCF0E3;
  --soft-green-bg: var(--primary-wash);

  /* ═══════════════════════════════════════════
     NEUTRAL PALETTE (green-tinted grays)
     ═══════════════════════════════════════════ */
  --white: #FFFFFF;
  --neutral-white: #FFFFFF;
  --warm-white: #FDFEFD;
  --bg-color: var(--primary-wash);
  /* #EFF7F2 */
  --surf-alt: #E4F1E9;
  --surf-dark: #D1E8DA;

  /* Gray Scale (green-tinted) */
  --gray-50: #F7FBF8;
  --gray-100: #EFF7F2;
  --gray-200: #D8EDE1;
  --gray-300: #B6D8C3;
  --gray-400: #84B598;
  --gray-500: #5A8A6E;
  --gray-600: #3A5C48;
  --gray-700: #243B2E;
  --gray-800: #15251C;
  --gray-900: #0A130D;

  /* ═══════════════════════════════════════════
     TYPOGRAPHY COLORS
     ═══════════════════════════════════════════ */
  --text-primary: #0F2F1A;
  /* Deep organic dark green for headings */
  --text-dark: #0F2F1A;
  --text-secondary: #3A5443;
  /* Body text — readable on white */
  --text-muted: #7A9E87;
  /* Labels, captions */
  --text-light: #A8C4B0;
  /* Placeholder, disabled */
  --text-on-dark: #EFF7F2;
  --text-on-primary: #FFFFFF;

  /* ═══════════════════════════════════════════
     SEMANTIC STATES
     ═══════════════════════════════════════════ */
  --success: #2DB85A;
  --warning: #F5A623;
  --error: #E53E3E;
  --info: #3B82F6;
  --price-red: var(--primary);

  /* ═══════════════════════════════════════════
     BORDERS & DIVIDERS
     ═══════════════════════════════════════════ */
  --border-color: #D1E8DA;
  --border-light: #E4F1E9;
  --border-dark: #A8D5B5;
  --border-focus: var(--primary);
  --divider-color: #E4F1E9;
  --divider-light: #EFF7F2;
  --divider-dark: #D1E8DA;

  /* ═══════════════════════════════════════════
     CARD & SURFACE COLORS
     ═══════════════════════════════════════════ */
  --card-bg: #FFFFFF;
  --card-bg-hover: #FCFFFE;
  --card-bg-soft: #EFF7F2;
  --card-bg-alt: #E4F1E9;

  /* ═══════════════════════════════════════════
     INTERACTIVE STATES
     ═══════════════════════════════════════════ */
  --hover-bg: #E4F1E9;
  --hover-color: var(--primary-dark);
  --hover-overlay: rgba(45, 184, 90, 0.08);
  --focus-ring: 0 0 0 3px rgba(45, 184, 90, 0.25);
  --focus-border: var(--primary);
  --disabled-bg: #E4F1E9;
  --disabled-text: #A8C4B0;
  --disabled-border: #D1E8DA;

  /* ═══════════════════════════════════════════
     OVERLAYS
     ═══════════════════════════════════════════ */
  --overlay-dark: rgba(10, 30, 16, 0.70);
  --overlay-light: rgba(255, 255, 255, 0.88);
  --overlay-glass: rgba(239, 247, 242, 0.78);

  /* Opacity */
  --opacity-0: 0;
  --opacity-10: 0.10;
  --opacity-25: 0.25;
  --opacity-50: 0.50;
  --opacity-75: 0.75;
  --opacity-90: 0.90;
  --opacity-100: 1;

  /* Blur */
  --blur-xs: blur(2px);
  --blur-sm: blur(4px);
  --blur-md: blur(8px);
  --blur-lg: blur(16px);
  --blur-xl: blur(24px);
  --blur-glass: blur(12px);

  /* ═══════════════════════════════════════════
     SIZING & SPACING
     ═══════════════════════════════════════════ */
  --icon-xs: 14px;
  --icon-sm: 16px;
  --icon-md: 20px;
  --icon-lg: 24px;
  --icon-xl: 32px;
  --icon-2xl: 40px;

  --btn-height-sm: 36px;
  --btn-height-md: 44px;
  --btn-height-lg: 52px;
  --btn-height-xl: 60px;

  --input-height-sm: 36px;
  --input-height-md: 44px;
  --input-height-lg: 52px;

  --card-padding-sm: 16px;
  --card-padding-md: 24px;
  --card-padding-lg: 32px;
  --section-padding-sm: 60px 0;
  --section-padding-md: 80px 0;
  --section-padding-lg: 100px 0;
  --section-padding-xl: 120px 0;

  /* Spacing Scale */
  --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;

  /* ═══════════════════════════════════════════
     SHADOWS (very subtle, green-tinted)
     ═══════════════════════════════════════════ */
  --shadow-xs: 0 1px 3px rgba(15, 47, 26, 0.04);
  --shadow-sm: 0 2px 8px rgba(15, 47, 26, 0.06);
  --shadow-md: 0 4px 16px rgba(15, 47, 26, 0.08);
  --shadow-lg: 0 10px 32px rgba(15, 47, 26, 0.10);
  --shadow-xl: 0 20px 48px rgba(15, 47, 26, 0.12);
  --shadow-card: 0 2px 12px rgba(45, 184, 90, 0.06);
  --shadow-hover: 0 12px 32px rgba(45, 184, 90, 0.15);
  --shadow-inner: inset 0 2px 4px rgba(45, 184, 90, 0.04);

  /* ═══════════════════════════════════════════
     BORDER RADII
     ═══════════════════════════════════════════ */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* ═══════════════════════════════════════════
     TYPOGRAPHY
     ═══════════════════════════════════════════ */
  --font-editorial: 'Hind Siliguri', sans-serif;
  --font-heading: 'Hind Siliguri', sans-serif;
  --font-body: 'Hind Siliguri', sans-serif;
  --font-ui: 'Hind Siliguri', sans-serif;

  /* Fluid Type Scale */
  --font-size-xs: clamp(0.72rem, 0.69rem + 0.12vw, 0.78rem);
  --font-size-sm: clamp(0.82rem, 0.78rem + 0.14vw, 0.90rem);
  --font-size-base: clamp(0.94rem, 0.90rem + 0.16vw, 1.02rem);
  --font-size-lg: clamp(1.06rem, 1.00rem + 0.24vw, 1.20rem);
  --font-size-xl: clamp(1.24rem, 1.16rem + 0.40vw, 1.48rem);
  --font-size-2xl: clamp(1.52rem, 1.40rem + 0.60vw, 1.90rem);
  --font-size-3xl: clamp(1.88rem, 1.70rem + 0.90vw, 2.48rem);
  --font-size-4xl: clamp(2.32rem, 2.04rem + 1.50vw, 3.28rem);

  /* ═══════════════════════════════════════════
     TRANSITIONS & ANIMATION
     ═══════════════════════════════════════════ */
  --duration-fast: 150ms;
  --duration-normal: 280ms;
  --duration-slow: 480ms;
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.48s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-spring: 0.48s cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-default: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-bounce: cubic-bezier(0.175, 0.885, 0.32, 1.275);

  /* ═══════════════════════════════════════════
     LAYOUT & GRID
     ═══════════════════════════════════════════ */
  --grid-gap: 1.5rem;
  --container-max: 1320px;
  --container-width: 1320px;
  --header-height: 72px;
  --topbar-height: 40px;
  --navbar-height: 52px;

  /* Z-index Scale */
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-fixed: 300;
  --z-header: 1030;
  --z-mega-menu: 1005;
  --z-search-dropdown: 1040;
  --z-mobile-menu: 10000;
  --z-toast: 99999;
  --z-modal: 100000;

  /* ═══════════════════════════════════════════
     GRADIENTS
     ═══════════════════════════════════════════ */
  --gradient-primary: linear-gradient(135deg, #2DB85A 0%, #1E8A42 100%);
  --gradient-hero: linear-gradient(135deg, #145C2C 0%, #1E8A42 45%, #2DB85A 100%);
  --gradient-cta: linear-gradient(135deg, #F5A623 0%, #D4860E 100%);
  --gradient-card: linear-gradient(180deg, #EFF7F2 0%, #FFFFFF 100%);
  --gradient-dark: linear-gradient(135deg, #15251C 0%, #0A130D 100%);
  --gradient-overlay: linear-gradient(180deg, rgba(20, 92, 44, 0.0) 0%, rgba(10, 30, 16, 0.85) 100%);
  --gradient-shimmer: linear-gradient(90deg, #EFF7F2 25%, #D1E8DA 50%, #EFF7F2 75%);
  --gradient-gold: linear-gradient(135deg, #FAD282 0%, #F5A623 50%, #D4860E 100%);
}



/* ==========================================================================
   02. RESET, BASE & ACCESSIBILITY
   ========================================================================== */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-color);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-editorial);
  color: var(--text-primary);
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

h1 {
  font-size: var(--font-size-4xl);
  font-weight: 700;
  letter-spacing: -0.02em;
}

h2 {
  font-size: var(--font-size-3xl);
  font-weight: 700;
  letter-spacing: -0.01em;
}

h3 {
  font-size: var(--font-size-2xl);
  font-weight: 700;
}

h4 {
  font-size: var(--font-size-xl);
  font-weight: 700;
}

h5 {
  font-size: var(--font-size-lg);
  font-weight: 600;
}

h6 {
  font-size: var(--font-size-base);
  font-weight: 600;
}

p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition-fast), opacity var(--transition-fast);
}

a:hover {
  color: var(--primary-dark);
}

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block;
  max-width: 100%;
  height: auto;
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
  background: transparent;
  border: none;
}

button {
  cursor: pointer;
}

ul,
ol {
  list-style: none;
}

table {
  border-collapse: collapse;
  width: 100%;
}

/* Accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}


/* ==========================================================================
   03. KEYFRAME ANIMATIONS
   ========================================================================== */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 30px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translate3d(0, -30px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translate3d(-100%, 0, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translate3d(100%, 0, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes slideInUp {
  from {
    transform: translate3d(0, 100%, 0);
  }

  to {
    transform: translate3d(0, 0, 0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

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

  100% {
    background-position: 200% 0;
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.05);
    opacity: 0.85;
  }
}

@keyframes ripple {
  0% {
    transform: scale(0);
    opacity: 0.6;
  }

  100% {
    transform: scale(2.5);
    opacity: 0;
  }
}

@keyframes cartPop {
  0% {
    transform: scale(1);
  }

  40% {
    transform: scale(1.35);
  }

  80% {
    transform: scale(0.9);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes shake {

  0%,
  100% {
    transform: translateX(0);
  }

  20%,
  60% {
    transform: translateX(-6px);
  }

  40%,
  80% {
    transform: translateX(6px);
  }
}

@keyframes whatsappPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(45, 184, 90, 0.7);
  }

  70% {
    box-shadow: 0 0 0 15px rgba(45, 184, 90, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(45, 184, 90, 0);
  }
}

@keyframes pulseRing {
  0% {
    transform: scale(0.8);
    opacity: 0.8;
  }

  80%,
  100% {
    transform: scale(2);
    opacity: 0;
  }
}

@keyframes confettiFall {
  0% {
    transform: translateY(-100%) rotate(0deg);
    opacity: 1;
  }

  100% {
    transform: translateY(100vh) rotate(360deg);
    opacity: 0;
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}


/* ==========================================================================
   04. LAYOUT SYSTEMS & GRID
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.container-fluid {
  width: 100%;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Flexbox Grid */
.row {
  display: flex;
  flex-wrap: wrap;
  margin-left: calc(var(--grid-gap) * -0.5);
  margin-right: calc(var(--grid-gap) * -0.5);
}

.col,
.col-1,
.col-2,
.col-3,
.col-4,
.col-5,
.col-6,
.col-7,
.col-8,
.col-9,
.col-10,
.col-11,
.col-12,
.col-sm-1,
.col-sm-2,
.col-sm-3,
.col-sm-4,
.col-sm-5,
.col-sm-6,
.col-sm-7,
.col-sm-8,
.col-sm-9,
.col-sm-10,
.col-sm-11,
.col-sm-12,
.col-md-1,
.col-md-2,
.col-md-3,
.col-md-4,
.col-md-5,
.col-md-6,
.col-md-7,
.col-md-8,
.col-md-9,
.col-md-10,
.col-md-11,
.col-md-12,
.col-lg-1,
.col-lg-2,
.col-lg-3,
.col-lg-4,
.col-lg-5,
.col-lg-6,
.col-lg-7,
.col-lg-8,
.col-lg-9,
.col-lg-10,
.col-lg-11,
.col-lg-12 {
  position: relative;
  width: 100%;
  padding-left: calc(var(--grid-gap) * 0.5);
  padding-right: calc(var(--grid-gap) * 0.5);
}

.col {
  flex-basis: 0;
  flex-grow: 1;
  max-width: 100%;
}

.col-1 {
  flex: 0 0 8.333333%;
  max-width: 8.333333%;
}

.col-2 {
  flex: 0 0 16.666667%;
  max-width: 16.666667%;
}

.col-3 {
  flex: 0 0 25%;
  max-width: 25%;
}

.col-4 {
  flex: 0 0 33.333333%;
  max-width: 33.333333%;
}

.col-5 {
  flex: 0 0 41.666667%;
  max-width: 41.666667%;
}

.col-6 {
  flex: 0 0 50%;
  max-width: 50%;
}

.col-7 {
  flex: 0 0 58.333333%;
  max-width: 58.333333%;
}

.col-8 {
  flex: 0 0 66.666667%;
  max-width: 66.666667%;
}

.col-9 {
  flex: 0 0 75%;
  max-width: 75%;
}

.col-10 {
  flex: 0 0 83.333333%;
  max-width: 83.333333%;
}

.col-11 {
  flex: 0 0 91.666667%;
  max-width: 91.666667%;
}

.col-12 {
  flex: 0 0 100%;
  max-width: 100%;
}

/* Row Cols (Default / Mobile) */
.row-cols-sm-2>* {
  flex: 0 0 50%;
  max-width: 50%;
}

.row-cols-sm-3>* {
  flex: 0 0 33.333333%;
  max-width: 33.333333%;
}

.row-cols-md-3>* {
  flex: 0 0 100%;
  max-width: 100%;
}

.row-cols-md-4>* {
  flex: 0 0 50%;
  max-width: 50%;
}

.row-cols-lg-4>* {
  flex: 0 0 50%;
  max-width: 50%;
}

.row-cols-lg-5>* {
  flex: 0 0 50%;
  max-width: 50%;
}

.row-cols-lg-6>* {
  flex: 0 0 33.333333%;
  max-width: 33.333333%;
}

.row-cols-lg-8>* {
  flex: 0 0 25%;
  max-width: 25%;
}

/* CSS Grid */
.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--grid-gap);
}

.col-span-1 {
  grid-column: span 1 / span 1;
}

.col-span-2 {
  grid-column: span 2 / span 2;
}

.col-span-3 {
  grid-column: span 3 / span 3;
}

.col-span-4 {
  grid-column: span 4 / span 4;
}

.col-span-5 {
  grid-column: span 5 / span 5;
}

.col-span-6 {
  grid-column: span 6 / span 6;
}

.col-span-7 {
  grid-column: span 7 / span 7;
}

.col-span-8 {
  grid-column: span 8 / span 8;
}

.col-span-9 {
  grid-column: span 9 / span 9;
}

.col-span-10 {
  grid-column: span 10 / span 10;
}

.col-span-11 {
  grid-column: span 11 / span 11;
}

.col-span-12 {
  grid-column: span 12 / span 12;
}


/* ==========================================================================
   05. UTILITY CLASSES
   ========================================================================== */
/* Display */
.d-flex {
  display: flex !important;
}

.d-inline-flex {
  display: inline-flex !important;
}

.d-block {
  display: block !important;
}

.d-inline-block {
  display: inline-block !important;
}

.d-none {
  display: none !important;
}

/* Flexbox */
.flex-column {
  flex-direction: column !important;
}

.flex-row {
  flex-direction: row !important;
}

.flex-wrap {
  flex-wrap: wrap !important;
}

.flex-1 {
  flex: 1 1 0% !important;
}

.flex-grow-1 {
  flex-grow: 1 !important;
}

.flex-shrink-0 {
  flex-shrink: 0 !important;
}

.align-items-center {
  align-items: center !important;
}

.align-items-start {
  align-items: flex-start !important;
}

.align-items-end {
  align-items: flex-end !important;
}

.justify-content-center {
  justify-content: center !important;
}

.justify-content-between {
  justify-content: space-between !important;
}

.justify-content-end {
  justify-content: flex-end !important;
}

.justify-content-start {
  justify-content: flex-start !important;
}

.gap-1 {
  gap: 0.25rem !important;
}

.gap-2 {
  gap: 0.5rem !important;
}

.gap-3 {
  gap: 1rem !important;
}

.gap-4 {
  gap: 1.5rem !important;
}

.h-100 {
  height: 100% !important;
}

.h-auto {
  height: auto !important;
}

.w-100 {
  width: 100% !important;
}

/* Spacing - Margins */
.m-0 {
  margin: 0 !important;
}

.m-1 {
  margin: 0.25rem !important;
}

.m-2 {
  margin: 0.5rem !important;
}

.m-3 {
  margin: 1rem !important;
}

.m-4 {
  margin: 1.5rem !important;
}

.m-5 {
  margin: 3rem !important;
}

.mt-0 {
  margin-top: 0 !important;
}

.mt-1 {
  margin-top: 0.25rem !important;
}

.mt-2 {
  margin-top: 0.5rem !important;
}

.mt-3 {
  margin-top: 1rem !important;
}

.mt-4 {
  margin-top: 1.5rem !important;
}

.mt-5 {
  margin-top: 3rem !important;
}

.mt-auto {
  margin-top: auto !important;
}

.mb-0 {
  margin-bottom: 0 !important;
}

.mb-1 {
  margin-bottom: 0.25rem !important;
}

.mb-2 {
  margin-bottom: 0.5rem !important;
}

.mb-3 {
  margin-bottom: 1rem !important;
}

.mb-4 {
  margin-bottom: 1.5rem !important;
}

.mb-5 {
  margin-bottom: 3rem !important;
}

.mb-auto {
  margin-bottom: auto !important;
}

.me-0 {
  margin-right: 0 !important;
}

.me-1 {
  margin-right: 0.25rem !important;
}

.me-2 {
  margin-right: 0.5rem !important;
}

.me-3 {
  margin-right: 1rem !important;
}

.me-4 {
  margin-right: 1.5rem !important;
}

.me-5 {
  margin-right: 3rem !important;
}

.me-auto {
  margin-right: auto !important;
}

.ms-0 {
  margin-left: 0 !important;
}

.ms-1 {
  margin-left: 0.25rem !important;
}

.ms-2 {
  margin-left: 0.5rem !important;
}

.ms-3 {
  margin-left: 1rem !important;
}

.ms-4 {
  margin-left: 1.5rem !important;
}

.ms-5 {
  margin-left: 3rem !important;
}

.ms-auto {
  margin-left: auto !important;
}

.mx-0 {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.mx-1 {
  margin-left: 0.25rem !important;
  margin-right: 0.25rem !important;
}

.mx-2 {
  margin-left: 0.5rem !important;
  margin-right: 0.5rem !important;
}

.mx-3 {
  margin-left: 1rem !important;
  margin-right: 1rem !important;
}

.mx-4 {
  margin-left: 1.5rem !important;
  margin-right: 1.5rem !important;
}

.mx-5 {
  margin-left: 3rem !important;
  margin-right: 3rem !important;
}

.mx-auto {
  margin-left: auto !important;
  margin-right: auto !important;
}

.my-0 {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.my-1 {
  margin-top: 0.25rem !important;
  margin-bottom: 0.25rem !important;
}

.my-2 {
  margin-top: 0.5rem !important;
  margin-bottom: 0.5rem !important;
}

.my-3 {
  margin-top: 1rem !important;
  margin-bottom: 1rem !important;
}

.my-4 {
  margin-top: 1.5rem !important;
  margin-bottom: 1.5rem !important;
}

.my-5 {
  margin-top: 3rem !important;
  margin-bottom: 3rem !important;
}

/* Spacing - Paddings */
.p-0 {
  padding: 0 !important;
}

.p-1 {
  padding: 0.25rem !important;
}

.p-2 {
  padding: 0.5rem !important;
}

.p-3 {
  padding: 1rem !important;
}

.p-4 {
  padding: 1.5rem !important;
}

.p-5 {
  padding: 3rem !important;
}

.pt-0 {
  padding-top: 0 !important;
}

.pt-1 {
  padding-top: 0.25rem !important;
}

.pt-2 {
  padding-top: 0.5rem !important;
}

.pt-3 {
  padding-top: 1rem !important;
}

.pt-4 {
  padding-top: 1.5rem !important;
}

.pt-5 {
  padding-top: 3rem !important;
}

.pb-0 {
  padding-bottom: 0 !important;
}

.pb-1 {
  padding-bottom: 0.25rem !important;
}

.pb-2 {
  padding-bottom: 0.5rem !important;
}

.pb-3 {
  padding-bottom: 1rem !important;
}

.pb-4 {
  padding-bottom: 1.5rem !important;
}

.pb-5 {
  padding-bottom: 3rem !important;
}

.px-0 {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.px-1 {
  padding-left: 0.25rem !important;
  padding-right: 0.25rem !important;
}

.px-2 {
  padding-left: 0.5rem !important;
  padding-right: 0.5rem !important;
}

.px-3 {
  padding-left: 1rem !important;
  padding-right: 1rem !important;
}

.px-4 {
  padding-left: 1.5rem !important;
  padding-right: 1.5rem !important;
}

.px-5 {
  padding-left: 3rem !important;
  padding-right: 3rem !important;
}

.py-0 {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.py-1 {
  padding-top: 0.25rem !important;
  padding-bottom: 0.25rem !important;
}

.py-2 {
  padding-top: 0.5rem !important;
  padding-bottom: 0.5rem !important;
}

.py-3 {
  padding-top: 1rem !important;
  padding-bottom: 1rem !important;
}

.py-4 {
  padding-top: 1.5rem !important;
  padding-bottom: 1.5rem !important;
}

.py-5 {
  padding-top: 3rem !important;
  padding-bottom: 3rem !important;
}

/* Spacing - Gaps */
.g-0 {
  gap: 0 !important;
}

.g-1 {
  gap: 0.25rem !important;
}

.g-2 {
  gap: 0.5rem !important;
}

.g-3 {
  gap: 1rem !important;
}

.g-4 {
  gap: 1.5rem !important;
}

.g-5 {
  gap: 3rem !important;
}

.gx-1 {
  column-gap: 0.25rem !important;
}

.gx-2 {
  column-gap: 0.5rem !important;
}

.gx-3 {
  column-gap: 1rem !important;
}

.gx-4 {
  column-gap: 1.5rem !important;
}

.gy-1 {
  row-gap: 0.25rem !important;
}

.gy-2 {
  row-gap: 0.5rem !important;
}

.gy-3 {
  row-gap: 1rem !important;
}

.gy-4 {
  row-gap: 1.5rem !important;
}

/* Text & Typography */
.text-center {
  text-align: center !important;
}

.text-start {
  text-align: left !important;
}

.text-end {
  text-align: right !important;
}

.text-muted {
  color: var(--text-light) !important;
}

.text-primary {
  color: var(--primary) !important;
}

.text-secondary {
  color: var(--text-secondary) !important;
}

.text-success {
  color: var(--success) !important;
}

.text-danger {
  color: var(--error) !important;
}

.text-warning {
  color: var(--warning) !important;
}

.text-white {
  color: var(--white) !important;
}

.text-uppercase {
  text-transform: uppercase !important;
}

.text-decoration-none {
  text-decoration: none !important;
}

.text-truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fw-bold {
  font-weight: 700 !important;
}

.fw-semibold {
  font-weight: 600 !important;
}

.fw-normal {
  font-weight: 400 !important;
}

.fw-light {
  font-weight: 300 !important;
}

.fst-italic {
  font-style: italic !important;
}

/* Backgrounds */
.bg-white {
  background-color: var(--white) !important;
}

.bg-light {
  background-color: var(--soft-green-bg) !important;
}

.bg-dark {
  background-color: var(--secondary) !important;
}

.bg-primary {
  background-color: var(--primary) !important;
}

.bg-success {
  background-color: var(--success) !important;
}

/* Position & Sizing */
.position-relative {
  position: relative !important;
}

.position-absolute {
  position: absolute !important;
}

.position-fixed {
  position: fixed !important;
}

.overflow-hidden {
  overflow: hidden !important;
}

.rounded {
  border-radius: var(--radius-sm) !important;
}

.rounded-3 {
  border-radius: var(--radius-md) !important;
}

.shadow-sm {
  box-shadow: var(--shadow-sm) !important;
}

.shadow-none {
  box-shadow: none !important;
}

.border {
  border: 1px solid var(--border-color) !important;
}

.border-0 {
  border: 0 !important;
}

.full-width {
  width: 100% !important;
}


/* ==========================================================================
   06. TOP BAR (ANNOUNCEMENT)
   ========================================================================== */
.top-bar {
  background: var(--gradient-primary);
  color: var(--white);
  height: var(--topbar-height);
  display: flex;
  align-items: center;
  font-size: var(--font-size-xs);
  font-weight: 500;
  letter-spacing: 0.3px;
  position: relative;
  z-index: var(--z-header);
  overflow: hidden;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.1);
}

.top-bar-rotator {
  position: relative;
  height: 24px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.top-bar-item {
  position: absolute;
  width: 100%;
  text-align: center;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.top-bar-item.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}


/* ==========================================================================
   07. MAIN HEADER & SEARCH
   ========================================================================== */
.main-header {
  background-color: var(--white);
  height: var(--header-height);
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  transition: box-shadow var(--transition-normal), transform var(--transition-normal);
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border-light);
}

.main-header.scrolled {
  box-shadow: var(--shadow-md);
  border-bottom-color: transparent;
}

.header-logo {
  display: flex;
  align-items: center;
  max-height: 50px;
}

.header-logo img {
  max-height: 48px;
  width: auto;
  object-fit: contain;
  transition: transform var(--transition-fast);
}

.header-logo:hover img {
  transform: scale(1.02);
}

.header-search {
  flex: 1;
  max-width: 620px;
  margin: 0 2rem;
  position: relative;
}

.search-form {
  display: flex;
  align-items: center;
  background-color: var(--soft-green-bg);
  border: 2px solid transparent;
  border-radius: var(--radius-full);
  padding: 0.25rem 0.35rem 0.25rem 1rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast);
}

.search-form:focus-within {
  background-color: var(--white);
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(45, 184, 90, 0.15);
}

.cat-select {
  border: none;
  background: transparent;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding-right: 0.75rem;
  margin-right: 0.75rem;
  border-right: 1px solid var(--gray-300);
  cursor: pointer;
  outline: none;
  max-width: 140px;
}

.search-form input[type="text"],
.search-form input[type="search"] {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 0.95rem;
  color: var(--text-primary);
  padding: 0.4rem 0.5rem;
  outline: none;
}

.search-form input::placeholder {
  color: var(--text-light);
}

.search-form button {
  background: var(--gradient-primary);
  color: var(--white);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.search-form button:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-sm);
}

.search-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background-color: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-color);
  padding: 1rem;
  z-index: var(--z-search-dropdown);
  display: none;
  max-height: 420px;
  overflow-y: auto;
  animation: fadeInDown 0.2s ease forwards;
}

.search-dropdown.show {
  display: block;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.header-icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  color: var(--text-primary);
  background-color: var(--soft-green-bg);
  transition: background-color var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}

.header-icon:hover {
  background-color: var(--light-green);
  color: var(--primary);
  transform: translateY(-2px);
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 1rem;
  background-color: var(--soft-green-bg);
  border-radius: var(--radius-full);
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 0.9rem;
  transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.header-phone:hover {
  background-color: var(--light-green);
  transform: translateY(-2px);
}

.cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background-color: var(--accent);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  min-width: 20px;
  height: 20px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  border: 2px solid var(--white);
  box-shadow: var(--shadow-sm);
}

.cart-count.pop {
  animation: cartPop 0.4s ease;
}


/* ==========================================================================
   08. NAVIGATION & MEGA MENU
   ========================================================================== */
.nav-bar {
  background-color: var(--secondary);
  color: var(--white);
  height: var(--navbar-height);
  position: relative;
  z-index: var(--z-mega-menu);
  box-shadow: var(--shadow-sm);
}

.nav-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.cat-menu-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background-color: var(--primary);
  color: var(--white);
  padding: 0 1.5rem;
  height: 100%;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: background-color var(--transition-fast);
  position: relative;
}

.cat-menu-btn:hover {
  background-color: var(--primary-light);
}

.cat-mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: var(--white);
  color: var(--text-primary);
  box-shadow: var(--shadow-xl);
  border-bottom-left-radius: var(--radius-lg);
  border-bottom-right-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  border-top: none;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: opacity var(--transition-normal), visibility var(--transition-normal), transform var(--transition-normal);
  z-index: var(--z-mega-menu);
}

.cat-menu-btn:hover .cat-mega-menu,
.cat-mega-menu:hover {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega-menu-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.cat-mega-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  transition: background-color var(--transition-fast), transform var(--transition-fast), color var(--transition-fast);
  color: var(--text-primary);
  font-weight: 600;
}

.cat-mega-link:hover {
  background-color: var(--soft-green-bg);
  color: var(--primary);
  transform: translateX(4px);
}

.mega-view-all {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mega-view-all:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  height: 100%;
}

.nav-item {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 1.15rem;
  color: var(--text-on-dark);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color var(--transition-fast), background-color var(--transition-fast);
}

.nav-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1rem;
  right: 1rem;
  height: 3px;
  background-color: var(--accent);
  border-radius: 3px 3px 0 0;
  transform: scaleX(0);
  transition: transform var(--transition-fast);
}

.nav-item:hover,
.nav-item.active {
  color: var(--white);
  background-color: rgba(255, 255, 255, 0.05);
}

.nav-item:hover::after,
.nav-item.active::after {
  transform: scaleX(1);
}


/* ==========================================================================
   09. MOBILE MENU & OVERLAYS
   ========================================================================== */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(13, 21, 14, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: var(--z-mobile-menu);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.custom-mobile-menu.active~.mobile-menu-overlay,
.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.custom-mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 300px;
  max-width: 85vw;
  height: 100vh;
  background-color: var(--white);
  z-index: calc(var(--z-mobile-menu) + 1);
  transform: translate3d(-100%, 0, 0);
  transition: transform var(--transition-spring);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xl);
}

.custom-mobile-menu.active {
  transform: translate3d(0, 0, 0);
}

.mobile-menu-header {
  padding: 1.25rem 1.5rem;
  background: var(--gradient-primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu-title {
  font-family: var(--font-editorial);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  margin: 0;
}

.mobile-menu-close {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background-color: rgba(255, 255, 255, 0.15);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.mobile-menu-close:hover {
  background-color: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

.mobile-menu-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem 0;
}

.mobile-menu-list {
  display: flex;
  flex-direction: column;
}

.mobile-menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.5rem;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 1rem;
  transition: background-color var(--transition-fast), color var(--transition-fast), padding-left var(--transition-fast);
}

.mobile-menu-item:hover,
.mobile-menu-item.active {
  background-color: var(--soft-green-bg);
  color: var(--primary);
  padding-left: 1.85rem;
}

.mobile-menu-divider {
  height: 1px;
  background-color: var(--border-light);
  margin: 1rem 1.5rem;
}


/* ==========================================================================
   10. HERO SECTION & SLIDER
   ========================================================================== */
.hero-section,
.hero-slider-section {
  position: relative;
  width: 100%;
  min-height: 520px;
  background-color: var(--secondary-dark);
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.8s ease, transform 6s cubic-bezier(0.25, 1, 0.5, 1);
  transform: scale(1.05);
  display: flex;
  align-items: center;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  z-index: 2;
}

.hero-banner-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 61, 25, 0.92) 0%, rgba(26, 92, 40, 0.75) 50%, rgba(0, 0, 0, 0.2) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 3;
  color: var(--white);
  max-width: 650px;
  padding: 3rem 0;
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

.hero-content h1 {
  font-size: var(--font-size-4xl);
  color: var(--white);
  margin-bottom: 1.25rem;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-content p {
  font-size: var(--font-size-lg);
  color: var(--text-on-dark);
  margin-bottom: 2rem;
  max-width: 540px;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.8;
  animation: float 2.5s ease-in-out infinite;
}


/* ==========================================================================
   11. TRUST BADGES & STRIPS
   ========================================================================== */
.trust-strip {
  background: var(--white);
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 10;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1rem;
  border-radius: var(--radius-md);
  transition: transform var(--transition-fast), background-color var(--transition-fast), box-shadow var(--transition-fast);
}

.trust-item:hover {
  transform: translateY(-4px);
  background-color: var(--soft-green-bg);
  box-shadow: var(--shadow-sm);
}

.trust-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  background: var(--light-green);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  transition: transform var(--transition-normal), background-color var(--transition-fast), color var(--transition-fast);
}

.trust-item:hover .trust-icon {
  background: var(--primary);
  color: var(--white);
  transform: scale(1.1) rotate(6deg);
}

.trust-title {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.trust-auth {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.glass-card {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-lg);
}

.trust-cards-mobile {
  display: none;
}


/* ==========================================================================
   12. CATEGORIES GRID & CIRCLES
   ========================================================================== */
.categories-hero {
  background: var(--gradient-card);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.categories-title {
  font-size: var(--font-size-3xl);
  text-align: center;
  margin-bottom: 0.5rem;
}

.categories-subtitle {
  text-align: center;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 3rem;
}

.cat-circle-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.cat-circle {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  text-align: center;
  width: 120px;
  transition: transform var(--transition-fast);
}

.cat-circle:hover {
  transform: translateY(-6px);
}

.cat-circle .cat-img-wrap {
  width: 90px;
  height: 90px;
  border-radius: var(--radius-full);
  background-color: var(--white);
  border: 3px solid var(--light-green);
  padding: 8px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
}

.cat-circle:hover .cat-img-wrap {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: scale(1.05);
}

.cat-circle img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: var(--radius-full);
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.5rem;
}

.cat-grid-card,
.cat-item {
  background-color: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  padding: 1.5rem 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.cat-grid-card:hover,
.cat-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary);
}

.cat-grid-card .cat-img-wrap {
  width: 100px;
  height: 100px;
  margin: 0 auto 1rem;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cat-grid-card img {
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
  transition: transform var(--transition-normal);
}

.cat-grid-card:hover img {
  transform: scale(1.12);
}

.cat-badge-count {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: var(--soft-green-bg);
  color: var(--primary-dark);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
}

.cat-card-body {
  width: 100%;
}

.cat-name {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}

.cat-desc {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.btn-explore-cat {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  background-color: var(--soft-green-bg);
  transition: background-color var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}

.cat-grid-card:hover .btn-explore-cat {
  background-color: var(--primary);
  color: var(--white);
}

.animate-item {
  animation: scaleIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}


/* ==========================================================================
   13. PRODUCT CARDS & GRIDS
   ========================================================================== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
}

.product-card {
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(45, 184, 90, 0.1);
  border-color: var(--primary);
}

.product-card__image-wrap {
  position: relative;
  width: 100%;
  padding-top: 100%;
  /* 1:1 Aspect Ratio */
  background-color: var(--warm-white);
  overflow: hidden;
}

.product-card__image-wrap img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .product-card__image-wrap img {
  transform: scale(1.12);
}

.product-card__badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  z-index: 5;
}

.product-card__body {
  padding: 1.75rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card__name {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 3.2em;
  line-height: 1.6;
  transition: color var(--transition-fast);
}

.product-card:hover .product-card__name {
  color: var(--primary);
}

.product-card__price {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  margin-bottom: 1.15rem;
  margin-top: auto;
}

.price-current {
  font-family: var(--font-editorial);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--price-red);
}

.price-original,
.price-old {
  font-size: 0.9rem;
  color: var(--text-light);
  text-decoration: line-through;
}

.price-soon {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent-dark);
  background: rgba(240, 160, 48, 0.12);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-xs);
}

.btn-add-to-cart {
  width: 100%;
  padding: 0.65rem 1rem;
  background: var(--gradient-primary);
  color: var(--white);
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), filter var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.btn-add-to-cart:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  filter: brightness(1.05);
}

.btn-add-to-cart:active {
  transform: scale(0.97);
}


/* ==========================================================================
   14. PRODUCT DETAILS PAGE
   ========================================================================== */
.product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 2rem;
  margin-bottom: 4rem;
}

.product-gallery {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.gallery-main {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.gallery-main img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-thumbs {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
}

.gallery-thumb {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--border-color);
  overflow: hidden;
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color var(--transition-fast), transform var(--transition-fast);
}

.gallery-thumb:hover,
.gallery-thumb.active {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-info {
  display: flex;
  flex-direction: column;
}

.product-cat {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary);
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.product-title {
  font-size: var(--font-size-3xl);
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.stars {
  color: var(--accent);
  display: inline-flex;
  gap: 2px;
}

.price-block {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1rem 1.5rem;
  background-color: var(--soft-green-bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--light-green);
}

.price-block .price-current {
  font-size: var(--font-size-2xl);
}

.stock-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  width: fit-content;
  margin-bottom: 1.5rem;
}

.stock-in {
  background-color: var(--light-green);
  color: var(--primary-dark);
}

.stock-out {
  background-color: #FDE8E8;
  color: var(--error);
}

.product-desc-short {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  font-size: 1.05rem;
  line-height: 1.7;
}

.action-area {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.qty-selector {
  display: flex;
  align-items: center;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-full);
  overflow: hidden;
  background-color: var(--white);
  height: 50px;
}

.qty-btn {
  width: 44px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  background-color: var(--gray-50);
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.qty-btn:hover {
  background-color: var(--light-green);
  color: var(--primary);
}

.qty-input {
  width: 50px;
  text-align: center;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  color: var(--text-primary);
  outline: none;
}

.action-buttons {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
}

.product-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-light);
}

.trust-icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.trust-icon-item i,
.trust-icon-item svg {
  font-size: 1.5rem;
  color: var(--primary);
}

.delivery-estimate {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.25rem;
  background-color: var(--surf-alt);
  border-radius: var(--radius-sm);
  color: var(--secondary);
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: 1.5rem;
}

/* Product Tabs */
.tabs-wrapper {
  margin-top: 4rem;
  background-color: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.tabs-nav {
  display: flex;
  border-bottom: 1px solid var(--border-color);
  background-color: var(--gray-50);
  overflow-x: auto;
}

.tab-btn {
  padding: 1.25rem 2rem;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-secondary);
  border-bottom: 3px solid transparent;
  transition: color var(--transition-fast), border-color var(--transition-fast), background-color var(--transition-fast);
  white-space: nowrap;
}

.tab-btn:hover {
  color: var(--primary);
  background-color: var(--soft-green-bg);
}

.tab-btn.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
  background-color: var(--white);
}

.tab-content {
  padding: 2.5rem;
  display: none;
  animation: fadeIn 0.3s ease;
}

.tab-content.active {
  display: block;
}

.desc-content {
  line-height: 1.8;
  color: var(--text-secondary);
}

.spec-table {
  width: 100%;
}

.spec-table tr {
  border-bottom: 1px solid var(--border-light);
}

.spec-table tr:last-child {
  border-bottom: none;
}

.spec-table th {
  padding: 1rem;
  text-align: left;
  font-weight: 700;
  color: var(--text-primary);
  width: 30%;
  background-color: var(--gray-50);
}

.spec-table td {
  padding: 1rem;
  color: var(--text-secondary);
}

.review-item {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border-light);
}

.review-item:last-child {
  border-bottom: none;
}

.review-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.review-author {
  font-weight: 700;
  color: var(--text-primary);
}

.review-date {
  font-size: 0.85rem;
  color: var(--text-light);
}

.review-stars {
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.review-text {
  color: var(--text-secondary);
  line-height: 1.6;
}

.review-form {
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 2px dashed var(--border-color);
}

.review-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

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


/* ==========================================================================
   15. SECTIONS & HEADERS
   ========================================================================== */
.section-padding {
  padding: 4.5rem 0;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.section-title {
  font-size: var(--font-size-3xl);
  position: relative;
  margin-bottom: 0;
  color: var(--text-primary);
}

.title-underline {
  height: 4px;
  width: 60px;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  margin-top: 0.5rem;
}

.see-all-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--primary);
  transition: transform var(--transition-fast), color var(--transition-fast);
}

.see-all-link:hover {
  color: var(--primary-dark);
  transform: translateX(4px);
}


/* ==========================================================================
   16. BANNERS
   ========================================================================== */
.promo-banner-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin: 3rem 0;
}

.promo-banner-img,
.mid-banner-img {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  cursor: pointer;
}

.promo-banner-img:hover,
.mid-banner-img:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}


/* ==========================================================================
   17. BUTTONS & PILL CONTROLS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
  outline: none;
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn:active {
  transform: scale(0.97);
}

.btn-sm {
  padding: 0.45rem 1.15rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(45, 184, 90, 0.25);
}

.btn-primary:hover {
  filter: brightness(1.08);
  box-shadow: 0 6px 18px rgba(45, 184, 90, 0.35);
  transform: translateY(-2px);
  color: var(--white);
}

.btn-secondary {
  background-color: var(--secondary);
  color: var(--white);
}

.btn-secondary:hover {
  background-color: var(--secondary-light);
  transform: translateY(-2px);
  color: var(--white);
}

.btn-success {
  background-color: var(--success);
  color: var(--white);
}

.btn-success:hover {
  background-color: var(--primary-dark);
  color: var(--white);
}

.btn-danger {
  background-color: var(--error);
  color: var(--white);
}

.btn-danger:hover {
  background-color: #C82333;
  color: var(--white);
}

.btn-dark {
  background-color: var(--gray-900);
  color: var(--white);
}

.btn-dark:hover {
  background-color: var(--gray-700);
  color: var(--white);
}

.btn-outline,
.btn-outline-primary {
  background-color: transparent;
  border-color: var(--primary);
  color: var(--primary);
}

.btn-outline:hover,
.btn-outline-primary:hover {
  background-color: var(--primary);
  color: var(--white);
}

.btn-secondary-outline {
  background-color: transparent;
  border-color: var(--secondary);
  color: var(--secondary);
}

.btn-secondary-outline:hover {
  background-color: var(--secondary);
  color: var(--white);
}

.btn-order-cod {
  background: var(--gradient-primary);
  color: var(--white);
  width: 100%;
  padding: 1rem;
  font-size: 1.1rem;
  box-shadow: 0 6px 20px rgba(45, 184, 90, 0.3);
}

.btn-order-cod:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(45, 184, 90, 0.4);
}

.btn-whatsapp {
  background-color: #25D366;
  color: var(--white);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background-color: #1EBE5D;
  color: var(--white);
  transform: translateY(-2px);
}


/* ==========================================================================
   18. FORMS & INPUT CONTROLS
   ========================================================================== */
.form-group {
  margin-bottom: 1.5rem;
  position: relative;
}

.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.form-control,
.form-select {
  width: 100%;
  padding: 0.75rem 1.15rem;
  font-size: 0.95rem;
  color: var(--text-primary);
  background-color: var(--white);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background-color: #fafdfb;
  outline: none;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary);
  background-color: #ffffff;
  box-shadow: 0 4px 15px rgba(45, 184, 90, 0.08), 0 0 0 3px rgba(45, 184, 90, 0.15);
}

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

.form-check {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
  cursor: pointer;
}

.form-check-input {
  appearance: none;
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--gray-400);
  border-radius: 4px;
  background-color: var(--white);
  cursor: pointer;
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
}

.form-check-input:checked {
  background-color: var(--primary);
  border-color: var(--primary);
}

.form-check-input:checked::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 5px;
  width: 5px;
  height: 9px;
  border: solid var(--white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.input-error {
  border-color: var(--error) !important;
  box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.15) !important;
}

.error-text {
  font-size: 0.8rem;
  color: var(--error);
  margin-top: 0.35rem;
}


/* ==========================================================================
   19. BADGES & LABELS
   ========================================================================== */
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1;
}

.badge-sale {
  background-color: var(--error);
  color: var(--white);
}

.badge-new {
  background-color: var(--primary);
  color: var(--white);
}

.badge-soon {
  background-color: var(--gray-600);
  color: var(--white);
}


/* ==========================================================================
   20. CART PAGE & CHECKOUT
   ========================================================================== */
.cart-layout,
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 2.5rem;
  margin: 2rem 0 4rem;
}

.cart-items-container,
.form-grid {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.cart-header-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 1.5rem;
}

.cart-table {
  width: 100%;
}

.cart-table th {
  padding: 1rem 0;
  text-align: left;
  font-weight: 700;
  color: var(--text-secondary);
  font-size: 0.9rem;
  text-transform: uppercase;
  border-bottom: 2px solid var(--border-light);
}

.cart-table td {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border-light);
  vertical-align: middle;
}

.cart-product-info {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.cart-product-info img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
}

.cart-product-info .name {
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
  display: block;
}

.cart-product-info .meta {
  font-size: 0.85rem;
  color: var(--text-light);
}

.qty-control {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  width: fit-content;
  overflow: hidden;
}

.qty-control button {
  width: 32px;
  height: 32px;
  background-color: var(--gray-50);
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.qty-control input {
  width: 40px;
  text-align: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.btn-remove {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background-color: #FDE8E8;
  color: var(--error);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-remove:hover {
  background-color: var(--error);
  color: var(--white);
  transform: rotate(90deg);
}

.cart-summary,
.order-summary {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  height: fit-content;
  position: sticky;
  top: calc(var(--header-height) + 1.5rem);
}

.summary-title {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-light);
}

.summary-row,
.calc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.summary-total,
.calc-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 2px solid var(--border-color);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}

.summary-total .amount,
.calc-total .amount {
  color: var(--price-red);
  font-family: var(--font-editorial);
  font-size: 1.5rem;
}

.btn-checkout,
.btn-place-order {
  width: 100%;
  margin-top: 1.5rem;
  background: var(--gradient-primary);
  color: var(--white);
  padding: 1rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 1.05rem;
  box-shadow: 0 4px 14px rgba(45, 184, 90, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-checkout:hover,
.btn-place-order:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(45, 184, 90, 0.4);
}

/* Shipping Progress Bar */
.shipping-bar-wrap {
  background-color: var(--soft-green-bg);
  padding: 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--light-green);
  margin-bottom: 2rem;
}

.shipping-bar {
  height: 8px;
  background-color: var(--gray-200);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-top: 0.75rem;
}

.shipping-progress {
  height: 100%;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.empty-cart {
  text-align: center;
  padding: 5rem 2rem;
}

.empty-cart i,
.empty-cart svg {
  font-size: 4rem;
  color: var(--gray-300);
  margin-bottom: 1.5rem;
}

/* Checkout specific */
.summary-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-light);
}

.summary-item-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.summary-item-name {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.95rem;
}

.summary-item-meta {
  font-size: 0.8rem;
  color: var(--text-light);
}

.summary-calc {
  margin-top: 1.5rem;
}

.payment-method {
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 1rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.payment-method:hover,
.payment-method.active {
  border-color: var(--primary);
  background-color: var(--soft-green-bg);
}


/* ==========================================================================
   21. PAGINATION & BREADCRUMBS
   ========================================================================== */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 3.5rem 0 2rem;
}

.page-item {
  display: inline-flex;
}

.page-link {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-primary);
  background-color: var(--white);
  border: 1px solid var(--border-color);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.page-link:hover {
  background-color: var(--soft-green-bg);
  border-color: var(--primary);
  color: var(--primary);
}

.page-link.active {
  background: var(--gradient-primary);
  color: var(--white);
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 1rem 0;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.breadcrumb a {
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.breadcrumb a:hover {
  color: var(--primary);
}

.breadcrumb span.separator {
  color: var(--gray-400);
}

.breadcrumb .current {
  color: var(--primary);
  font-weight: 600;
}


/* ==========================================================================
   22. TABLES & CARDS
   ========================================================================== */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.table {
  width: 100%;
  border-collapse: collapse;
  background-color: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.table th {
  background-color: var(--soft-green-bg);
  color: var(--text-primary);
  font-weight: 700;
  text-align: left;
  padding: 1rem 1.25rem;
  border-bottom: 2px solid var(--light-green);
}

.table td {
  padding: 1.15rem 1.25rem;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-secondary);
}

.table-striped tbody tr:nth-of-type(odd) {
  background-color: var(--warm-white);
}

.table-hover tbody tr:hover {
  background-color: var(--soft-green-bg);
}

.table-bordered th,
.table-bordered td {
  border: 1px solid var(--border-color);
}

.card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-card);
  padding: 1.5rem;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.card:hover {
  box-shadow: var(--shadow-md);
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
}


/* ==========================================================================
   23. TESTIMONIALS & NEWSLETTER
   ========================================================================== */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.testi-card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.testi-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary);
}

.testi-card::before {
  content: '"';
  position: absolute;
  top: 10px;
  right: 20px;
  font-family: var(--font-editorial);
  font-size: 6rem;
  color: var(--light-green);
  opacity: 0.4;
  line-height: 1;
  pointer-events: none;
}

.testi-card .stars {
  margin-bottom: 1rem;
}

.testi-card p {
  font-style: italic;
  color: var(--text-secondary);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 1.5rem;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testi-author img {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  object-fit: cover;
}

.testi-author .name {
  font-weight: 700;
  color: var(--text-primary);
  display: block;
}

.testi-author .role {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* Newsletter */
.newsletter {
  background: var(--gradient-primary);
  border-radius: var(--radius-xl);
  padding: 4rem 3rem;
  color: var(--white);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  margin: 3rem 0;
}

.newsletter::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  border-radius: var(--radius-full);
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
}

.newsletter-content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

.newsletter h2 {
  color: var(--white);
  font-size: var(--font-size-3xl);
  margin-bottom: 1rem;
}

.newsletter p {
  color: var(--text-on-dark);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

.newsletter-form {
  display: flex;
  gap: 0.75rem;
  max-width: 500px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-full);
  background-color: var(--white);
  color: var(--text-primary);
  font-size: 0.95rem;
  border: none;
  outline: none;
  box-shadow: var(--shadow-sm);
}

.newsletter-form button {
  background: var(--gradient-cta);
  color: var(--white);
  padding: 0.85rem 2rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.newsletter-form button:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(240, 160, 48, 0.4);
}


/* ==========================================================================
   24. FARM STORY & SIDEBAR FILTER
   ========================================================================== */
.farm-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin: 4rem 0;
}

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

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

.farm-story:hover .farm-story-img img {
  transform: scale(1.05);
}

/* Sidebar Filter */
.sidebar-filter {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.filter-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 1.5rem;
}

.filter-group {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-light);
}

.filter-group:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.filter-group-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.custom-checkbox {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.custom-checkbox:hover {
  color: var(--primary);
}

.custom-checkbox input {
  margin-right: 0.6rem;
}

.price-range-inputs {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
}

.price-range-inputs input {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xs);
  text-align: center;
  font-size: 0.85rem;
}

.btn-filter {
  width: 100%;
  margin-top: 1rem;
  background-color: var(--soft-green-bg);
  color: var(--primary);
  font-weight: 700;
  padding: 0.6rem;
  border-radius: var(--radius-full);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-filter:hover {
  background-color: var(--primary);
  color: var(--white);
}


/* ==========================================================================
   25. CATEGORY LISTING PAGE
   ========================================================================== */
.category-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2.5rem;
  margin: 2rem 0 4rem;
}

.category-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--white);
  padding: 1.25rem 1.75rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  margin-bottom: 2rem;
  box-shadow: var(--shadow-xs);
}

.category-title {
  font-size: 1.5rem;
  margin: 0;
}

.sort-select {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  padding: 0.5rem 1.25rem;
  font-size: 0.9rem;
  color: var(--text-primary);
  background-color: var(--white);
  cursor: pointer;
  outline: none;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.empty-state {
  text-align: center;
  padding: 5rem 2rem;
  background-color: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  grid-column: 1 / -1;
}

.empty-state i,
.empty-state svg {
  font-size: 3.5rem;
  color: var(--gray-300);
  margin-bottom: 1rem;
}


/* ==========================================================================
   26. TOAST NOTIFICATIONS & ALERT MODALS (JS-CREATED)
   ========================================================================== */
.custom-toast-container {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: var(--z-toast);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 380px;
  width: 100%;
  pointer-events: none;
}

.custom-toast {
  pointer-events: auto;
  background-color: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  border-left: 5px solid var(--primary);
  animation: slideInRight 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transition: all var(--transition-normal);
}

.custom-toast.error {
  border-left-color: var(--error);
}

.custom-toast.warning {
  border-left-color: var(--warning);
}

.custom-toast.info {
  border-left-color: var(--info);
}

.custom-toast-icon {
  font-size: 1.5rem;
  color: var(--primary);
  flex-shrink: 0;
}

.custom-toast.error .custom-toast-icon {
  color: var(--error);
}

.custom-toast.warning .custom-toast-icon {
  color: var(--warning);
}

.custom-toast-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-primary);
  margin-bottom: 0.2rem;
}

/* Alert Modal */
.custom-alert-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(13, 21, 14, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.custom-alert-overlay.active {
  opacity: 1;
  visibility: visible;
}

.custom-alert-card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  max-width: 420px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-xl);
  transform: scale(0.9);
  transition: transform var(--transition-spring);
}

.custom-alert-overlay.active .custom-alert-card {
  transform: scale(1);
}

.custom-alert-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-full);
  background-color: var(--light-green);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1.5rem;
}

.custom-alert-title {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.custom-alert-text {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.custom-alert-btn {
  background: var(--gradient-primary);
  color: var(--white);
  padding: 0.75rem 2rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  width: 100%;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.custom-alert-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}


/* ==========================================================================
   27. SWIPER & RANGE SLIDER (JS COMPATIBLE)
   ========================================================================== */
.swiper-wrapper {
  display: flex;
  transition-property: transform;
  box-sizing: content-box;
}

.swiper-slide {
  flex-shrink: 0;
  width: 100%;
  height: 100%;
  position: relative;
  transition-property: transform;
}

.swiper-pagination {
  position: absolute;
  text-align: center;
  transition: 0.3s opacity;
  transform: translate3d(0, 0, 0);
  z-index: 10;
}

.swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  display: inline-block;
  border-radius: 50%;
  background: var(--gray-400);
  opacity: 0.5;
  margin: 0 4px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.swiper-pagination-bullet-active {
  opacity: 1;
  background: var(--primary);
  width: 24px;
  border-radius: var(--radius-full);
}

.swiper-button-next,
.swiper-button-prev {
  position: absolute;
  top: 50%;
  width: 44px;
  height: 44px;
  margin-top: -22px;
  z-index: 10;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--white);
  color: var(--primary);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background-color: var(--primary);
  color: var(--white);
  transform: scale(1.1);
}

.swiper-button-prev {
  left: 16px;
}

.swiper-button-next {
  right: 16px;
}

/* Range Slider */
.custom-range-slider {
  position: relative;
  width: 100%;
  height: 6px;
  background-color: var(--gray-200);
  border-radius: var(--radius-full);
  margin: 1.5rem 0;
}

.slider-track {
  position: absolute;
  height: 100%;
  background-color: var(--gray-200);
  border-radius: var(--radius-full);
}

.slider-connect {
  position: absolute;
  height: 100%;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
}

.min-range,
.max-range {
  position: absolute;
  top: 50%;
  width: 20px;
  height: 20px;
  background-color: var(--white);
  border: 3px solid var(--primary);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.min-range:hover,
.max-range:hover {
  transform: translate(-50%, -50%) scale(1.2);
  box-shadow: var(--shadow-md);
}


/* ==========================================================================
   28. SCROLL ANIMATIONS & REVEALS
   ========================================================================== */
.scroll-animate {
  opacity: 0;
  transform: translate3d(0, 30px, 0);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-animate.visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.reveal-on-scroll {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: scale(1);
}


/* ==========================================================================
   29. ORDER SUCCESS & TIMELINE TRACKING
   ========================================================================== */
.order-success-box {
  background-color: var(--white);
  border-radius: var(--radius-xl);
  padding: 4rem 2rem;
  max-width: 600px;
  margin: 3rem auto;
  text-align: center;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.order-success-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--gradient-primary);
}

.order-success-list {
  text-align: left;
  background-color: var(--soft-green-bg);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  margin: 2rem 0;
}

.order-success-list li {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--light-green);
}

.order-success-list li:last-child {
  border-bottom: none;
}

/* Timeline Stepper */
.timeline-stepper {
  display: flex;
  justify-content: space-between;
  position: relative;
  max-width: 800px;
  margin: 3rem auto;
}

.timeline-prog {
  position: absolute;
  top: 24px;
  left: 0;
  height: 4px;
  background-color: var(--gray-200);
  width: 100%;
  z-index: 1;
}

.timeline-prog span {
  display: block;
  height: 100%;
  background: var(--gradient-primary);
  transition: width 0.8s ease;
}

.timeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 2;
  width: 120px;
}

.step-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  background-color: var(--white);
  border: 3px solid var(--gray-300);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--gray-500);
  margin-bottom: 0.75rem;
  transition: all var(--transition-normal);
}

.step-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.timeline-step.completed .step-icon {
  background-color: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  box-shadow: 0 0 0 5px rgba(45, 184, 90, 0.2);
}

.timeline-step.completed .step-label {
  color: var(--primary);
  font-weight: 700;
}

.timeline-step.current .step-icon {
  background-color: var(--white);
  border-color: var(--primary);
  color: var(--primary);
  animation: pulseRing 2s infinite;
}

.timeline-step.current .step-label {
  color: var(--text-primary);
  font-weight: 700;
}

.timeline-step.cancelled .step-icon {
  background-color: var(--error);
  border-color: var(--error);
  color: var(--white);
}


/* ==========================================================================
   30. FOOTER & FLOATING WIDGETS
   ========================================================================== */
.main-footer {
  background: var(--gradient-dark);
  color: var(--white);
  padding: 5rem 0 0;
  position: relative;
  z-index: 10;
  border-top: 4px solid var(--accent);
}

.footer-brand {
  margin-bottom: 1.5rem;
}

.footer-brand img {
  max-height: 55px;
  margin-bottom: 1.25rem;
}

.footer-brand p {
  color: var(--text-on-dark);
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer-title {
  font-family: var(--font-editorial);
  font-size: 1.2rem;
  font-weight: 700;
  color: #E6B87B;
  /* Gold/Amber accents */
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: #E6B87B;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--text-on-dark);
  font-size: 0.95rem;
  transition: color var(--transition-fast), transform var(--transition-fast);
  display: inline-block;
  width: fit-content;
}

.footer-links a:hover {
  color: #E6B87B;
  transform: translateX(6px);
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  color: var(--text-on-dark);
  font-size: 0.95rem;
}

.footer-contact-info div {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.footer-contact-info i,
.footer-contact-info svg {
  color: #E6B87B;
  font-size: 1.2rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.social-icon-elegant {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  border: 1.5px solid #E6B87B;
  color: #E6B87B;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.5rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-icon-elegant:hover {
  background-color: #E6B87B;
  color: var(--secondary-dark);
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(230, 184, 123, 0.3);
}

.footer-divider {
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0) 100%);
  margin: 4rem 0 2rem;
}

.footer-bottom {
  padding-bottom: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.copyright-text {
  color: var(--gray-300);
  font-size: 0.9rem;
  margin: 0;
}

.payment-methods {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.payment-img {
  height: 32px;
  background-color: var(--white);
  padding: 4px 8px;
  border-radius: 4px;
  object-fit: contain;
}

/* Floating Contact Widget */
.floating-contact-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: var(--z-fixed);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.fcw-menu {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px) scale(0.9);
  transition: all var(--transition-spring);
}

.floating-contact-widget.active .fcw-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.fcw-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background-color: var(--white);
  padding: 0.6rem 1rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-lg);
  color: var(--text-primary);
  font-weight: 700;
  font-size: 0.9rem;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.fcw-item:hover {
  transform: translateX(-6px);
  box-shadow: var(--shadow-xl);
}

.fcw-messenger {
  background-color: #0084FF;
  color: var(--white);
}

.fcw-phone {
  background-color: var(--primary);
  color: var(--white);
}

.fcw-whatsapp {
  background-color: #25D366;
  color: var(--white);
}

.fcw-toggle {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-full);
  background: var(--gradient-primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  box-shadow: 0 6px 20px rgba(45, 184, 90, 0.4);
  cursor: pointer;
  transition: transform var(--transition-spring), box-shadow var(--transition-fast);
  animation: whatsappPulse 2.5s infinite;
}

.fcw-toggle:hover {
  transform: scale(1.08);
}

.fcw-icon-close {
  display: none;
}

.floating-contact-widget.active .fcw-icon-open {
  display: none;
}

.floating-contact-widget.active .fcw-icon-close {
  display: block;
}


/* ==========================================================================
   31. RESPONSIVE DESIGN & MEDIA QUERIES
   ========================================================================== */

/* Large Desktop & Below (max-width: 1200px) */
@media (max-width: 1200px) {
  :root {
    --container-max: 960px;
  }

  .product-grid,
  .related-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .cat-grid {
    grid-template-columns: repeat(4, 1fr);
  }

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

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

/* Tablet / Medium Desktop (max-width: 991.98px) */
@media (max-width: 991.98px) {
  :root {
    --container-max: 720px;
    --header-height: 64px;
  }

  /* Header & Nav */
  .nav-bar {
    display: none;
    /* Hide desktop nav on tablet/mobile */
  }

  .header-search {
    display: none;
    /* Hide inline search, shown via icon or mobile layout */
  }

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

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

  .product-layout,
  .cart-layout,
  .checkout-layout,
  .category-layout,
  .farm-story,
  .review-form-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .cart-summary,
  .order-summary {
    position: static;
  }

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

  .promo-banner-row {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* Mobile & Small Devices (max-width: 767.98px) */
@media (max-width: 767.98px) {
  :root {
    --container-max: 540px;
  }

  .d-sm-none {
    display: none !important;
  }

  .product-grid,
  .related-grid,
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

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

  .trust-grid {
    grid-template-columns: 1fr;
  }

  .testi-grid {
    grid-template-columns: 1fr;
  }

  .hero-section,
  .hero-slider-section {
    min-height: 420px;
  }

  .hero-content {
    padding: 2rem 0;
    text-align: center;
  }

  .hero-content h1 {
    font-size: var(--font-size-3xl);
  }

  /* Mobile Cart Table to Card transformation */
  .cart-table thead {
    display: none;
  }

  .cart-table tbody tr {
    display: block;
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-xs);
  }

  .cart-table td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px dashed var(--border-light);
  }

  .cart-table td:last-child {
    border-bottom: none;
  }

  .cart-product-info {
    width: 100%;
  }

  /* Tabs mobile */
  .tab-content {
    padding: 1.5rem 1rem;
  }

  .spec-table th {
    width: 40%;
  }

  /* Newsletter mobile */
  .newsletter {
    padding: 2.5rem 1.5rem;
  }

  .newsletter-form {
    flex-direction: column;
  }

  /* Trust cards mobile */
  .trust-cards-mobile {
    display: flex;
    overflow-x: auto;
    gap: 1rem;
    padding-bottom: 1rem;
    margin: 0 -1.5rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    scroll-snap-type: x mandatory;
  }

  .trust-cards-mobile .trust-item {
    scroll-snap-align: start;
    min-width: 260px;
    background-color: var(--white);
    border: 1px solid var(--border-color);
  }
}

/* Extra Small Devices (max-width: 575.98px) */
@media (max-width: 575.98px) {

  .container,
  .container-fluid {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .product-grid,
  .related-grid,
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .product-card__body {
    padding: 0.85rem;
  }

  .product-card__name {
    font-size: 0.9rem;
  }

  .price-current {
    font-size: 1.1rem;
  }

  .btn-add-to-cart {
    padding: 0.5rem;
    font-size: 0.8rem;
  }

  .cat-circle {
    width: 90px;
  }

  .cat-circle .cat-img-wrap {
    width: 70px;
    height: 70px;
  }

  .timeline-stepper {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
    padding-left: 2rem;
  }

  .timeline-prog {
    top: 0;
    left: 24px;
    width: 4px;
    height: 100%;
  }

  .timeline-step {
    flex-direction: row;
    width: 100%;
    gap: 1.25rem;
    text-align: left;
  }

  .step-icon {
    margin-bottom: 0;
  }
}

/* Min-width Tier utilities */
@media (min-width: 576px) {
  .d-sm-block {
    display: block !important;
  }

  .d-sm-flex {
    display: flex !important;
  }

  .d-sm-none {
    display: none !important;
  }
}

@media (min-width: 768px) {
  .d-md-block {
    display: block !important;
  }

  .d-md-flex {
    display: flex !important;
  }

  .d-md-none {
    display: none !important;
  }
}

@media (min-width: 992px) {
  .d-lg-block {
    display: block !important;
  }

  .d-lg-flex {
    display: flex !important;
  }

  .d-lg-none {
    display: none !important;
  }
}

@media (min-width: 1200px) {
  .d-xl-block {
    display: block !important;
  }

  .d-xl-flex {
    display: flex !important;
  }

  .d-xl-none {
    display: none !important;
  }
}

/* ==========================================================================
   100X ADVANCED LUXURY ORGANIC DESIGN SYSTEM (AFRA ENTERPRISE EXCLUSIVE)
   ========================================================================== */

/* --- 1. Dynamic Island Floating Navigation --- */
.nav-dynamic-island {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(45, 184, 90, 0.15);
  border-radius: var(--radius-xl);
  box-shadow: 0 12px 32px -10px rgba(15, 61, 25, 0.12);
  padding: 0.75rem 1.75rem;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-dynamic-island.sticky-active {
  position: fixed;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 30px);
  max-width: var(--container-max);
  z-index: 1050;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 20px 40px -15px rgba(15, 61, 25, 0.22);
}

/* --- 2. Stripe-Level & Apple-Level Buttons --- */
.btn-100x {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.85rem;
  font-family: var(--font-editorial);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--white);
  background: linear-gradient(135deg, #2DB85A 0%, #1E8A42 100%);
  border: none;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 20px -6px rgba(45, 184, 90, 0.35);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-decoration: none;
}

.btn-100x::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transition: left 0.6s ease;
}

.btn-100x:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 28px -6px rgba(45, 184, 90, 0.45);
  color: var(--white);
}

.btn-100x:hover::after {
  left: 100%;
}

.btn-100x-amber {
  background: linear-gradient(135deg, #F5A623 0%, #D98218 100%);
  color: #1A261C;
  box-shadow: 0 8px 20px -6px rgba(245, 166, 35, 0.4);
}

.btn-100x-amber:hover {
  background: linear-gradient(135deg, #F7BA50 0%, #F5A623 100%);
  box-shadow: 0 14px 28px -6px rgba(245, 166, 35, 0.55);
  color: #0A1A0E;
}

.btn-100x-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  box-shadow: none;
}

.btn-100x-outline:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  box-shadow: 0 10px 24px -6px rgba(45, 184, 90, 0.3);
}

.btn-100x-glass {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(10px);
  color: var(--secondary-dark);
  border: 1px solid rgba(45, 184, 90, 0.2);
}

.btn-100x-glass:hover {
  background: var(--white);
  color: var(--primary);
  border-color: var(--primary);
}

/* --- 3. Glassmorphism & Biophilic Cards --- */
.card-100x {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: 0 4px 16px -4px rgba(10, 26, 14, 0.05);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.card-100x:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -12px rgba(10, 26, 14, 0.14);
  border-color: rgba(45, 184, 90, 0.3);
}

.card-100x-glass {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 14px 32px -8px rgba(10, 26, 14, 0.1);
}

/* --- 4. Authentic GI Certification & Trust Badges --- */
.badge-100x-gi {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  background: linear-gradient(135deg, #EFF7F2 0%, #D4F0D8 100%);
  color: #0A1A0E;
  font-family: var(--font-editorial);
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  border: 1px solid rgba(45, 184, 90, 0.25);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-100x-organic {
  background: linear-gradient(135deg, #2DB85A 0%, #145C2C 100%);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
}

.badge-100x-stock {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.7rem;
  background: rgba(240, 160, 48, 0.15);
  color: #D88B1E;
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  animation: pulseGlow 2s infinite;
}

/* --- 5. Custom Keyframe Animations --- */
@keyframes pulseGlow {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.85;
    transform: scale(1.03);
  }
}

@keyframes floatSmooth {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes rippleGlow {
  0% {
    box-shadow: 0 0 0 0 rgba(45, 184, 90, 0.4);
  }

  70% {
    box-shadow: 0 0 0 15px rgba(45, 184, 90, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(45, 184, 90, 0);
  }
}

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

  100% {
    background-position: 200% 0;
  }
}

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

/* ==========================================================================
   100X PRODUCTION-READY MOBILE & SMALL TABLET DESIGN SYSTEM (320px - 768px)
   ========================================================================== */

/* --- 1. Zero-Overflow Guarantee & Universal Layout Guard --- */
@media (max-width: 767.98px) {

  html,
  body {
    max-width: 100vw !important;
    overflow-x: hidden !important;
  }

  .home-container,
  .container,
  .container-fluid,
  .main-content-area,
  .view-container,
  .top-bar .container,
  .main-header .container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    box-sizing: border-box !important;
  }

  table,
  .table-responsive,
  .cart-table-wrap {
    max-width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }

  /* Prevent horizontal scroll from flex or grid children */
  .row,
  .d-flex,
  .home-grid,
  .products-grid {
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Responsive Padding & Margin Overrides */
  .py-5 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }

  .px-5 {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
  }

  .py-16 {
    padding-top: 3.5rem !important;
    padding-bottom: 3.5rem !important;
  }

  .my-16 {
    margin-top: 3.5rem !important;
    margin-bottom: 3.5rem !important;
  }
}

/* --- 2. Touch & Media Optimization (44x44px Minimum Targets) --- */
@media (max-width: 767.98px) {

  /* Enforce 44x44px minimum touch target without altering visual aesthetics */
  .custom-dot {
    position: relative !important;
  }

  .custom-dot::after {
    content: '' !important;
    position: absolute !important;
    top: -20px !important;
    bottom: -20px !important;
    left: -10px !important;
    right: -10px !important;
    z-index: 5 !important;
  }

  /* Quantity step buttons, remove buttons, pagination & control buttons */
  .qty-step-btn,
  .btn-cart-remove,
  .luxury-qty-control button,
  .qty-btn,
  .page-link,
  .custom-slider-btn {
    min-width: 44px !important;
    min-height: 44px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  /* Interactive buttons and pills */
  .btn,
  button,
  input[type="submit"],
  .btn-100x,
  .btn-luxury-cart,
  .btn-luxury-buy,
  .btn-luxury-whatsapp,
  .btn-luxury-phone,
  .btn-place-order,
  .btn-continue-shopping,
  .home-newsletter-btn {
    min-height: 44px !important;
  }

  /* Form inputs & selects minimum height and iOS zoom prevention */
  input,
  select,
  textarea,
  .form-control,
  .home-newsletter-input {
    min-height: 44px !important;
    font-size: 16px !important;
  }

  /* Media optimization */
  img,
  video {
    max-width: 100% !important;
    height: auto;
  }
}

/* --- 3. Homepage & Hero Slider Mobile Optimization --- */
@media (max-width: 767.98px) {
  .custom-slider-container {
    aspect-ratio: 4 / 3 !important;
    min-height: 180px !important;
    border-radius: 14px !important;
  }

  .custom-slide img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
  }

  /* Category circles grid scaling */
  .cat-circle-card {
    width: calc(33.333% - 14px) !important;
    min-width: 100px !important;
    max-width: 140px !important;
    padding: 16px 8px !important;
    border-radius: 16px !important;
  }

  .cat-circle-img {
    width: 65px !important;
    height: 65px !important;
  }

  .cat-card-title {
    font-size: 0.85rem !important;
  }

  /* Features strip responsive wrapping */
  .features-strip>.home-container>div {
    gap: 20px !important;
    justify-content: center !important;
  }

  .feature-item {
    min-width: calc(50% - 15px) !important;
    max-width: 160px !important;
    margin-bottom: 10px !important;
  }
}

@media (max-width: 480px) {
  .custom-slider-container {
    aspect-ratio: 4 / 3 !important;
    min-height: 200px !important;
  }

  .cat-circle-card {
    width: calc(50% - 10px) !important;
    min-width: 130px !important;
    max-width: 155px !important;
  }
}

/* --- 4. Product Details Page Mobile Optimization --- */
@media (max-width: 767.98px) {
  .product-detail-layout {
    gap: 24px !important;
    margin-bottom: 40px !important;
  }

  .gallery-main-card {
    height: 340px !important;
    border-radius: 20px !important;
  }

  .gallery-thumbs-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 8px !important;
  }

  .gallery-thumb-card {
    height: 65px !important;
    border-radius: 12px !important;
  }

  .product-info-panel {
    padding: 22px 16px !important;
    border-radius: 20px !important;
  }

  .product-main-title {
    font-size: 1.6rem !important;
  }

  .price-current-tag {
    font-size: 2.1rem !important;
  }

  .variant-pack-btn {
    padding: 10px 16px !important;
    font-size: 0.9rem !important;
  }
}

@media (max-width: 480px) {
  .gallery-main-card {
    height: 280px !important;
  }

  .gallery-thumbs-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

@media (max-width: 767.98px) {

  /* Stack only footer columns on mobile */
  .home-footer .home-grid {
    grid-template-columns: 1fr !important;
  }

  /* Keep Product grids 2 columns on mobile */
  #featured-products .home-grid-4,
  .products-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }

  /* Why Choose Us feature grid 2 columns on mobile */
  .home-features-grid,
  .py-16 .home-grid-4 {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }

  .home-feature-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    padding: 24px 12px !important;
    border-radius: 16px !important;
    background: #ffffff !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02) !important;
    border: 1px solid rgba(45, 184, 90, 0.08) !important;
    height: 100% !important;
    box-sizing: border-box !important;
  }

  .home-feature-icon {
    width: 52px !important;
    height: 52px !important;
    font-size: 1.5rem !important;
    margin: 0 auto 12px !important;
    flex-shrink: 0 !important;
    background: #F0F8F2 !important;
    color: #2DB85A !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .home-feature-title {
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    margin-bottom: 6px !important;
    line-height: 1.3 !important;
    color: #1A3B22 !important;
  }

  .home-feature-card p {
    font-size: 0.76rem !important;
    line-height: 1.45 !important;
    color: #64748b !important;
    margin-bottom: 0 !important;
  }

  /* Newsletter Mobile Optimization */
  .home-newsletter {
    padding: 50px 16px !important;
    border-radius: 20px 20px 0 0 !important;
  }

  .home-newsletter-title {
    font-size: 1.5rem !important;
    line-height: 1.3 !important;
    margin-bottom: 12px !important;
  }

  .home-newsletter-content p {
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
  }

  .home-newsletter-form {
    margin-top: 24px !important;
    gap: 12px !important;
  }

  .home-newsletter-input {
    padding: 14px 20px !important;
    font-size: 0.95rem !important;
    border-radius: 50px !important;
  }

  .home-newsletter-btn {
    padding: 14px 24px !important;
    font-size: 1rem !important;
    border-radius: 50px !important;
  }
}

@media (max-width: 575.98px) {

  /* Keep product grids as 2 columns on mobile */
  #featured-products .home-grid-4,
  .products-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }

  .product-card {
    border-radius: 14px !important;
  }

  .product-card .card-body,
  .product-card-body {
    padding: 12px 10px !important;
  }

  /* Trust strip & delivery card */
  .trust-promise-strip {
    grid-template-columns: 1fr 1fr !important;
    padding: 16px 12px !important;
    gap: 12px !important;
  }

  .delivery-info-card {
    padding: 16px !important;
  }
}

@media (max-width: 350px) {

  #featured-products .home-grid-4,
  .products-grid {
    gap: 8px !important;
  }
}

/* --- 6. Cart & Checkout Mobile Optimization --- */
@media (max-width: 575.98px) {
  .checkout-steps-wrap {
    padding: 1.5rem 0 1rem 0 !important;
  }

  .checkout-steps {
    gap: 4px !important;
    flex-wrap: nowrap !important;
    padding: 0 10px !important;
  }

  .checkout-step {
    padding: 0.4rem 0.75rem !important;
    font-size: 0.75rem !important;
    gap: 0.4rem !important;
  }

  .step-number {
    width: 18px !important;
    height: 18px !important;
    font-size: 0.7rem !important;
  }

  .step-line {
    min-width: 15px !important;
    margin: 0 0.2rem !important;
  }

  .luxury-form-card,
  .order-summary-card,
  .payment-method-card {
    padding: 1.25rem !important;
    border-radius: 16px !important;
  }

  .cart-header-actions {
    padding: 1rem !important;
    flex-direction: column !important;
    gap: 10px !important;
    align-items: flex-start !important;
  }

  .cart-product-info {
    min-width: 180px !important;
    gap: 0.75rem !important;
  }

  .cart-product-img-wrap {
    width: 60px !important;
    height: 60px !important;
  }
}

/* --- 7. Header & Floating Widget Mobile Optimization --- */
@media (max-width: 767.98px) {
  .floating-contact-widget {
    bottom: 74px !important;
    right: 16px !important;
    left: auto !important;
    z-index: 9990 !important;
    align-items: flex-end !important;
  }

  .fcw-toggle {
    width: 50px !important;
    height: 50px !important;
  }

  .fcw-item {
    width: 44px !important;
    height: 44px !important;
  }

  /* Top Announcement Bar Mobile Fix */
  .top-bar {
    padding: 5px 0 !important;
    height: auto !important;
    min-height: 32px !important;
  }

  .top-bar .container {
    justify-content: center !important;
    text-align: center !important;
    gap: 6px !important;
    flex-wrap: nowrap !important;
  }

  .top-bar .d-flex {
    flex-wrap: nowrap !important;
  }

  .top-bar span {
    font-size: 0.72rem !important;
    white-space: nowrap !important;
  }

  /* Main Header Mobile Fix */
  .main-header {
    padding: 10px 0 !important;
  }

  .main-header .container {
    gap: 8px !important;
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
  }

  .header-logo {
    gap: 8px !important;
    max-width: 60% !important;
    overflow: hidden !important;
  }

  .header-logo div:first-child {
    width: 36px !important;
    height: 36px !important;
    border-radius: 8px !important;
  }

  .header-logo img {
    width: 24px !important;
    height: 24px !important;
  }

  .header-logo h1 {
    font-size: 1.05rem !important;
    line-height: 1.1 !important;
    margin: 0 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .header-logo span {
    font-size: 0.70rem !important;
    line-height: 1.1 !important;
    display: block !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .header-actions {
    gap: 8px !important;
  }

  .header-actions a[href*="cart"] {
    padding: 6px 10px !important;
    font-size: 0.85rem !important;
    border-radius: 6px !important;
  }

  .header-actions a[href*="cart"] i {
    font-size: 18px !important;
  }

  #mobileMenuOpenBtn {
    font-size: 24px !important;
    padding: 4px !important;
  }
}

/* --- 8. Product Card & Button Aesthetics Optimization (Never Wrap) --- */
@media (max-width: 767.98px) {

  .product-card .btn-add-to-cart,
  .btn-add-to-cart,
  button.btn-add-to-cart,
  .product-card button,
  .product-card .btn {
    width: 100% !important;
    min-height: 40px !important;
    max-height: 42px !important;
    padding: 0 6px !important;
    font-size: 0.76rem !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    letter-spacing: -0.01em !important;
    border-radius: 50px !important;
    line-height: 1 !important;
    box-shadow: 0 2px 6px rgba(27, 67, 50, 0.15) !important;
  }

  .product-card .btn-add-to-cart i,
  .btn-add-to-cart i,
  button.btn-add-to-cart i,
  .product-card button i {
    font-size: 0.92rem !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
  }
}

@media (max-width: 380px) {

  .product-card .btn-add-to-cart,
  .btn-add-to-cart,
  button.btn-add-to-cart,
  .product-card button,
  .product-card .btn {
    font-size: 0.72rem !important;
    padding: 0 4px !important;
    gap: 3px !important;
    min-height: 38px !important;
    max-height: 40px !important;
  }

  .product-card .btn-add-to-cart i,
  .btn-add-to-cart i,
  button.btn-add-to-cart i,
  .product-card button i {
    font-size: 0.86rem !important;
  }
}

/* --- 9. FAQ Section Mobile Optimization (Smaller Font & Smooth Layout) --- */
@media (max-width: 767.98px) {
  .home-faq-item {
    margin-bottom: 10px !important;
    border-radius: 10px !important;
  }

  .home-faq-btn {
    padding: 14px 16px !important;
    font-size: 0.92rem !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    gap: 12px !important;
  }

  .home-faq-btn.active {
    padding-bottom: 10px !important;
  }

  .home-faq-icon {
    width: 28px !important;
    height: 28px !important;
    font-size: 1rem !important;
    flex-shrink: 0 !important;
  }

  .home-faq-content-inner {
    padding: 0 16px 16px !important;
    font-size: 0.84rem !important;
    line-height: 1.6 !important;
  }
}

/* End of Complete Style Sheet */

/* --- 10. Universal Contact Cards Mobile Slider / Touch Carousel --- */
.contact-slider-wrapper {
  position: relative;
  overflow: hidden;
  padding: 10px 0 20px 0;
}

.contact-slider-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.contact-slide {
  width: 100%;
  box-sizing: border-box;
  transition: all 0.5s ease;
}

.contact-slider-nav,
.contact-slider-dots {
  display: none;
}

@media (max-width: 991.98px) {
  .contact-slider-track {
    display: flex !important;
    grid-template-columns: none !important;
    gap: 16px !important;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1) !important;
  }

  .contact-slide {
    flex: 0 0 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .contact-slider-wrapper {
    padding: 5px 0 50px 0 !important;
  }

  .contact-slider-nav {
    display: flex !important;
    justify-content: space-between;
    position: absolute;
    top: 42%;
    left: 0;
    right: 0;
    pointer-events: none;
    z-index: 10;
    padding: 0 5px;
  }

  .contact-slider-nav button {
    pointer-events: auto;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #E4EBE6;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    color: #2DB85A;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s;
  }

  .contact-slider-nav button:active {
    transform: scale(0.9);
    background: #2DB85A;
    color: #ffffff;
  }

  .contact-slider-dots {
    display: flex !important;
    justify-content: center;
    gap: 8px;
    position: absolute;
    bottom: 12px;
    left: 0;
    right: 0;
  }

  .contact-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(45, 184, 90, 0.25);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  }

  .contact-dot.active {
    width: 26px;
    border-radius: 6px;
    background: #2DB85A;
    box-shadow: 0 2px 8px rgba(45, 184, 90, 0.4);
  }
}

/* ==========================================================================
   AFRA ENTERPRISE - ULTRA-PREMIUM BRANDED HEADER & MOBILE MENU CSS
   ========================================================================== */
.afra-top-bar {
  background-color: #0A1A0E;
  color: #EFF7F2;
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(45, 184, 90, 0.15);
}

.afra-top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.afra-top-badge {
  background: #F5A623;
  color: #0A1A0E;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
  margin-right: 8px;
  font-size: 11px;
  display: inline-block;
}

.afra-top-divider {
  margin: 0 10px;
  opacity: 0.3;
}

.afra-top-bar a {
  color: #EFF7F2;
  text-decoration: none;
  font-weight: 600;
}

.afra-top-bar a:hover {
  color: #F5A623;
}

/* Main Header */
.afra-main-header {
  background: #FFFFFF;
  height: 76px;
  position: sticky;
  top: 0;
  z-index: 1030;
  box-shadow: 0 2px 12px rgba(10, 26, 14, 0.06);
  border-bottom: 1px solid #E4F1E9;
  transition: all 0.3s ease;
}

.afra-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.afra-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none !important;
}

.afra-logo-icon {
  padding: 4px 8px;
  background: #EFF7F2;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(45, 184, 90, 0.15);
}

.afra-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.afra-logo-name {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: #0A1A0E;
  letter-spacing: 0.5px;
}

.afra-logo-tagline {
  font-size: 0.75rem;
  color: #2DB85A;
  font-weight: 700;
  letter-spacing: 0.2px;
}

/* Search Bar */
.afra-search-wrap {
  flex: 1;
  max-width: 580px;
  margin: 0 2rem;
  position: relative;
}

.afra-search-form {
  display: flex;
  align-items: center;
  background: #EFF7F2;
  border: 1.5px solid #D1E8DA;
  border-radius: 50px;
  padding: 12px 20px;
  transition: all 0.3s ease;
}

.afra-search-form:focus-within {
  background: #FFFFFF;
  border-color: #2DB85A;
  box-shadow: 0 0 0 4px rgba(45, 184, 90, 0.15);
}

.afra-search-icon {
  color: #5A8A6E;
  font-size: 18px;
  margin-right: 10px;
}

.afra-search-input {
  border: none;
  background: transparent;
  flex: 1;
  outline: none;
  font-size: 0.95rem;
  color: #0A1A0E;
}

.afra-search-btn {
  background: linear-gradient(135deg, #2DB85A 0%, #1E8A42 100%);
  color: #FFFFFF;
  border: none;
  padding: 8px 22px;
  border-radius: 40px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(45, 184, 90, 0.25);
}

.afra-search-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(45, 184, 90, 0.35);
}

/* Header Actions */
.afra-header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.afra-wa-btn,
.afra-cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 40px;
  font-weight: 700;
  text-decoration: none !important;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.afra-wa-btn {
  background: #E8F5E9;
  color: #1B5E20;
  border: 1px solid #A5D6A7;
}

.afra-wa-btn:hover {
  background: #2DB85A;
  color: #FFFFFF;
  border-color: #2DB85A;
}

.afra-cart-btn {
  background: linear-gradient(135deg, #145C2C 0%, #0A1A0E 100%);
  color: #FFFFFF;
  position: relative;
  box-shadow: 0 4px 12px rgba(20, 92, 44, 0.2);
}

.afra-cart-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(20, 92, 44, 0.35);
  color: #FFFFFF;
}

.afra-cart-count {
  background: #F5A623;
  color: #0A1A0E;
  font-size: 11px;
  font-weight: 900;
  padding: 2px 7px;
  border-radius: 12px;
  margin-left: 4px;
}

.afra-hamburger {
  background: #EFF7F2;
  border: 1px solid #D1E8DA;
  color: #145C2C;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.afra-hamburger:hover {
  background: #E4F1E9;
  color: #2DB85A;
}

/* Desktop Nav */
.afra-main-nav {
  background: #145C2C;
  color: #FFFFFF;
  height: 52px;
  position: relative;
  box-shadow: 0 4px 15px rgba(10, 26, 14, 0.15);
}

.afra-nav-inner {
  display: flex;
  align-items: center;
  height: 100%;
}

.afra-cat-btn-wrap {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.afra-cat-btn {
  background: #2DB85A;
  color: #FFFFFF;
  border: none;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.afra-cat-btn:hover {
  background: #1E8A42;
}

/* Horizontal Nav Links */
.afra-nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  height: 100%;
}

.afra-nav-item {
  height: 100%;
  display: flex;
  align-items: center;
}

.afra-nav-link {
  color: #FFFFFF;
  text-decoration: none;
  font-size: 0.96rem;
  font-weight: 600;
  padding: 6px 14px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  transition: all 0.2s ease;
  white-space: nowrap;
  border: none;
  background: transparent;
}

.afra-nav-link i {
  color: #34D399;
  font-size: 1.1rem;
  transition: transform 0.2s ease, color 0.2s ease;
}

.afra-nav-link:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 6px;
}

.afra-nav-link:hover i {
  color: #6EE7B7;
  transform: translateY(-1px);
}

.afra-nav-link.active {
  color: #FFFFFF;
  font-weight: 700;
}

.afra-nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 14px;
  right: 14px;
  height: 3px;
  background: #34D399;
  border-radius: 3px 3px 0 0;
  box-shadow: 0 -2px 6px rgba(52, 211, 153, 0.5);
}

/* ═══════════════════════════════════════════════════
   PWA APP INSTALLATION FLOATING BANNER
   ═══════════════════════════════════════════════════ */
.pwa-floating-banner {
  position: fixed;
  bottom: 85px;
  left: 20px;
  right: 20px;
  max-width: 440px;
  z-index: 99999;
  background: #FFFFFF;
  border-radius: 16px;
  box-shadow: 0 12px 35px rgba(20, 92, 44, 0.22);
  border: 1.5px solid #2DB85A;
  padding: 12px 16px;
  display: none;
  /* Controlled by JS */
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.pwa-floating-banner.pwa-banner-visible {
  transform: translateY(0);
  opacity: 1;
}

@keyframes pwaSlideUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.pwa-banner-inner {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pwa-app-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: contain;
  background: #FFFFFF;
  padding: 4px;
  border: 1px solid #E2E8F0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.pwa-app-info {
  display: flex;
  flex-direction: column;
}

.pwa-app-info strong {
  font-size: 0.95rem;
  color: #0F172A;
  font-weight: 800;
  line-height: 1.2;
}

.pwa-app-info span {
  font-size: 0.78rem;
  color: #64748B;
  font-weight: 500;
}

.btn-pwa-install {
  background: linear-gradient(135deg, #145C2C 0%, #0D3E1E 100%);
  color: #FFFFFF;
  border: none;
  padding: 8px 16px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 0.88rem;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(20, 92, 44, 0.25);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-pwa-install:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(20, 92, 44, 0.35);
}

.btn-pwa-close {
  background: transparent;
  border: none;
  color: #94A3B8;
  font-size: 20px;
  cursor: pointer;
  padding: 0 4px;
}

.btn-pwa-close:hover {
  color: #0F172A;
}

@media (max-width: 768px) {
  .pwa-floating-banner {
    left: 12px;
    right: 12px;
    bottom: 75px;
  }
}

.afra-caret {
  margin-left: 6px;
  font-size: 14px;
  transition: transform 0.3s ease;
}

.afra-cat-btn-wrap:hover .afra-caret {
  transform: rotate(180deg);
}

.afra-mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 310px;
  background: #FFFFFF;
  border-radius: 0 0 16px 16px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  padding: 16px;
  display: none;
  flex-direction: column;
  gap: 4px;
  z-index: 1005;
  border: 1px solid #E4F1E9;
}

.afra-cat-btn-wrap:hover .afra-mega-menu {
  display: flex;
}

.afra-mega-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  color: #0A1A0E;
  text-decoration: none !important;
  font-weight: 600;
  transition: all 0.2s ease;
}

.afra-mega-item:hover {
  background: #EFF7F2;
  color: #2DB85A;
  transform: translateX(4px);
}

.afra-mega-item i {
  font-size: 20px;
  color: #2DB85A;
}

/* Mobile Search Bar */
.afra-mobile-search-bar {
  background: #FFFFFF;
  padding: 10px 0;
  border-bottom: 1px solid #E4F1E9;
}

.afra-mobile-search-bar .afra-search-form {
  background: #EFF7F2;
}

/* Mobile Menu Drawer */
.afra-mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 26, 14, 0.7);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
}

.afra-mobile-overlay.active {
  opacity: 1;
  visibility: visible;
}

.afra-mobile-menu {
  position: fixed;
  top: 0;
  left: -320px;
  width: 300px;
  height: 100vh;
  background: #FFFFFF;
  z-index: 10000;
  box-shadow: 10px 0 30px rgba(0, 0, 0, 0.2);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.afra-mobile-menu.active {
  left: 0;
}

.afra-mobile-menu-header {
  padding: 18px 16px;
  border-bottom: 1px solid #E4F1E9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #EFF7F2;
}

.afra-mobile-close {
  background: #FFFFFF;
  border: 1px solid #D1E8DA;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #0A1A0E;
  cursor: pointer;
  transition: all 0.2s ease;
}

.afra-mobile-close:hover {
  background: #E53E3E;
  color: #FFFFFF;
  border-color: #E53E3E;
}

.afra-mobile-menu-body {
  padding: 20px 16px;
  overflow-y: auto;
  flex: 1;
}

.afra-mobile-section-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: #5A8A6E;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.afra-mobile-cat-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.afra-mobile-cat-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  color: #0A1A0E;
  text-decoration: none !important;
  font-weight: 600;
  transition: all 0.2s ease;
}

.afra-mobile-cat-item:hover,
.afra-mobile-cat-item:active {
  background: #EFF7F2;
  color: #2DB85A;
}

.afra-mobile-cat-item i:first-child {
  font-size: 20px;
  color: #2DB85A;
}

.afra-mobile-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.afra-mobile-links a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  color: #3A5443;
  text-decoration: none !important;
  font-weight: 600;
  border-radius: 8px;
}

.afra-mobile-links a:hover {
  background: #EFF7F2;
  color: #0A1A0E;
}

.afra-mobile-links i {
  font-size: 18px;
  color: #2DB85A;
}

.btn-wa-full {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #2DB85A;
  color: #FFFFFF;
  padding: 12px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none !important;
  box-shadow: 0 4px 12px rgba(45, 184, 90, 0.25);
}

@media (max-width: 991px) {
  .afra-main-header {
    height: 68px;
  }

  .afra-logo-name {
    font-size: 1.15rem;
  }

  .afra-logo-tagline {
    font-size: 0.68rem;
  }

  .afra-logo-icon {
    padding: 2px 6px;
  }

  .afra-cart-btn {
    padding: 8px 14px;
  }
}




* {
  font-family: 'Hind Siliguri', 'Noto Sans Bengali', sans-serif !important;
}

/* ═════════════════════════════════════════════════════════════
   HIND SILIGURI BOLD TYPOGRAPHY & CRISP PRICE READABILITY FIX
   ═════════════════════════════════════════════════════════════ */
h1,
h2,
h3,
h4,
h5,
h6,
.product-card__name,
.product-title,
.cat-card-title,
.home-section-title,
.price-current,
.product-price,
.product-card__price {
  font-weight: 700 !important;
}

/* Strikethrough Original Price Crisp Bold Readability */
del,
s,
strike,
.price-original,
.original-price,
.old-price {
  font-weight: 700 !important;
  color: #64748B !important;
  text-decoration: line-through !important;
  text-decoration-color: #64748B !important;
  text-decoration-thickness: 1.5px !important;
  opacity: 0.9 !important;
  margin-left: 6px !important;
  display: inline-block !important;
}

/* GUARANTEED VISIBILITY FOR PRODUCT CARDS */
.product-card,
.scroll-animate,
.anim-element,
.offer-anim-card {
  opacity: 1 !important;
  visibility: visible !important;
}