:root {
    --forest-deep: #1a2e1f;
    --forest: #243528;
    --sage-dark: #3d5a3c;
    --sage: #5a7c52;
    --sage-light: #7a9970;
    --mint: #a8c5a0;
    --mint-soft: #d4e5cf;
    --cream: #f8f6f1;
    --ivory: #fffef9;
    --gold: #c9a227;
    --gold-soft: #e8d48a;
    --bark: #5c4a3d;

    --light-grey: #f5f5f5;
--soft-grey: #e8e8e8;
--pale-grey: #d3d3d3;
--text-light: #9ca3af;
--fresh-mint: #e8f5e9;
--nature-green: #81c784;

  --font-display: 'Barlow Condensed', -apple-system, BlinkMacSystemFont, sans-serif;
--font-body: 'Sora', -apple-system, BlinkMacSystemFont, sans-serif;
--font-light: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  
    --shadow-sm: 0 2px 8px rgba(26, 46, 31, 0.08);
    --shadow-md: 0 4px 20px rgba(26, 46, 31, 0.12);
    --shadow-lg: 0 8px 40px rgba(26, 46, 31, 0.15);
    --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-bounce: cubic-bezier(0.68, -0.3, 0.265, 1.3);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--cream);
    color: var(--forest-deep);
   line-height: 1.8;
letter-spacing: 0.015em;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

p {
    line-height: 1.8;
    letter-spacing: 0.015em;
}

h1, h2, h3, h4, h5, h6 {
    letter-spacing: 0.02em;
}

/******************************************************************************* header *********************************** *********/
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 254, 249, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(26, 46, 31, 0.06);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.625rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.logo-icon {
    width: 36px;
    height: 36px;
    
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon i {
    color: var(--ivory);
    font-size: 1rem;
}

.logo-icon img {
    max-width: 35px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-name {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--forest-deep);
    line-height: 1;
}

.logo-tagline {
    font-size: 0.6rem;
    font-weight: 500;
    color: var(--sage);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.nav-desktop {
    display: none;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-link {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--forest);
    text-decoration: none;
    padding: 0.25rem 0;
    position: relative;
    transition: color 0.3s var(--ease-out);
}

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

.nav-link:hover {
    color: var(--sage);
}

.nav-link:hover::after {
    width: 100%;
}

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

.btn-icon {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: var(--forest);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    transition: all 0.3s var(--ease-out);
}

.btn-icon:hover {
    background: var(--mint-soft);
}

.btn-icon i {
    font-size: 1.1rem;
}

.cart-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    min-width: 18px;
    height: 18px;
    background: var(--gold);
    color: var(--forest-deep);
    font-size: 0.65rem;
    font-weight: 600;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0);
    transition: transform 0.3s var(--ease-bounce);
}

.cart-badge.show {
    transform: scale(1);
}

.btn-menu {
    display: flex;
}

.menu-icon {
    width: 20px;
    height: 14px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.menu-icon span {
    width: 100%;
    height: 2px;
    background: var(--forest);
    border-radius: 2px;
    transition: all 0.3s var(--ease-out);
    transform-origin: center;
}

.btn-menu.active .menu-icon span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}

.btn-menu.active .menu-icon span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.btn-menu.active .menu-icon span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
}

.mobile-menu {
    position: fixed;
    top: 57px;
    left: 0;
    width: 100%;
    height: calc(100vh - 57px);
    background: var(--ivory);
    z-index: 999;
    padding: 1.5rem;
    transform: translateX(-100%);
    transition: transform 0.4s var(--ease-out);
    overflow-y: auto;
}

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

.mobile-nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.mobile-nav-link {
    display: block;
    padding: 1rem;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--forest-deep);
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s var(--ease-out);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    background: var(--mint-soft);
    color: var(--sage-dark);
}

.mobile-menu-cta {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--mint-soft);
}

.mobile-menu-cta .btn-primary {
    width: 100%;
    justify-content: center;
}

/* media query */
@media (min-width: 768px) {
    .header-container {
        padding: 0.75rem 1.5rem;
    }

    .logo-icon {
        width: 40px;
        height: 40px;
    }

    .logo-name {
        font-size: 1.375rem;
    }

    .btn-menu {
        display: none;
    }

    .nav-desktop {
        display: flex;
    }
}

@media (min-width: 1024px) {
    .header-container {
        padding: 0.875rem 2rem;
    }
}


/* *********************************************************** Hero Section *********************************************** */
.hero {
    /* min-height: calc(100svh - 57px);
    min-height: calc(100vh - 57px); */
    padding-top: 57px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    background: var(--fresh-mint);
    /* linear-gradient(160deg, var(--ivory) 0%, var(--cream) 40%, var(--mint-soft) 100%); */
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-leaves {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.15;
    z-index: 1;
}

.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
}

.blob-1 {
    width: 250px;
    height: 250px;
    background: var(--mint);
    top: -80px;
    right: -80px;
}

.blob-2 {
    width: 180px;
    height: 180px;
    background: var(--sage-light);
    bottom: 15%;
    left: -60px;
}

.particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--sage-light);
    border-radius: 50%;
    opacity: 0.3;
}

.particle:nth-child(1) {
    top: 20%;
    left: 15%;
    animation: floatParticle 12s ease-in-out infinite;
}

.particle:nth-child(2) {
    top: 60%;
    left: 80%;
    width: 4px;
    height: 4px;
    animation: floatParticle 10s ease-in-out infinite reverse;
    animation-delay: -3s;
}

.particle:nth-child(3) {
    top: 75%;
    left: 25%;
    width: 5px;
    height: 5px;
    animation: floatParticle 14s ease-in-out infinite;
    animation-delay: -5s;
}

.particle:nth-child(4) {
    top: 35%;
    left: 70%;
    width: 3px;
    height: 3px;
    animation: floatParticle 11s ease-in-out infinite reverse;
    animation-delay: -2s;
}

.particle:nth-child(5) {
    top: 85%;
    left: 60%;
    animation: floatParticle 13s ease-in-out infinite;
    animation-delay: -7s;
}

.hero-container {
    flex: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.25rem 1rem;
    display: flex;
    flex-direction: column-reverse;
    position: relative;
    z-index: 2;
    gap: 1rem;
}

/* Single Hero Visual - Clean design without product image */
.hero-visual-single {
    flex: 1;
    flex-direction: column;
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
    align-items: center;
}

.hero-visual {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--mint-soft) 0%, var(--sage-light) 50%, var(--sage) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 50px rgba(90, 124, 82, 0.25), inset 0 -5px 20px rgba(26, 46, 31, 0.1);
    position: relative;
    animation: float 6s ease-in-out infinite;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    background: rgba(90, 124, 82, 0.1);
    border: 1px solid rgba(90, 124, 82, 0.15);
    border-radius: 100px;
    animation: fadeIn 0.6s var(--ease-out);
}

.hero-badge i {
    color: var(--ivory);
    font-size: 0.7rem;
}

.hero-badge span {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--ivory);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.floating-leaves {
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: 50%;
}

.floating-leaves i {
  position: absolute;
  font-size: 1.8rem;
  color: rgba(255, 255, 255, 0.35); /* Very subtle white */
  opacity: 1;
  filter: drop-shadow(0 2px 4px rgba(26, 46, 31, 0.2));
}

/* Only 4 leaves for cleaner look - positioned at corners */
.leaf-1 {
    top: 25%;
    left: 21%;
    font-size: 1.5rem;
    animation: gentleFloat 5s ease-in-out infinite;
}

.leaf-2 {
  top: 24%;
  right: 20%;
  font-size: 1.6rem;
  animation: gentleFloat 6s ease-in-out infinite 1s;
}

.leaf-3 {
  bottom: 18%;
  left: 22%;
  font-size: 1.4rem;
  animation: gentleFloat 5.5s ease-in-out infinite 2s;
}

.leaf-4 {
  bottom: 20%;
  right: 18%;
  font-size: 1.7rem;
  animation: gentleFloat 6.5s ease-in-out infinite 1.5s;
}

/* Remove leaf-5 and leaf-6 from your HTML */

/* Subtle animation - just floating up and down */
@keyframes gentleFloat {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
    opacity: 0.35;
  }
  50% {
    transform: translateY(-12px) rotate(10deg);
    opacity: 0.5;
  }
}


.hero-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 1rem 0;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.35rem, 7vw, 2.5rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--forest-deep);
    margin-bottom: 0.625rem;
    animation: fadeInUp 0.6s var(--ease-out) 0.1s both;
}

.hero-title .highlight {
    color: var(--sage);
    
}

.hero-description {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
    max-width: 320px;
    margin: 0 auto 1.25rem;
    animation: fadeInUp 0.6s var(--ease-out) 0.2s both;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    width: 100%;
    max-width: 280px;
    animation: fadeInUp 0.6s var(--ease-out) 0.3s both;
}

/* NEW FEATURES SECTION */
.hero-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 2rem;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(26, 46, 31, 0.06);
    animation: fadeIn 0.6s var(--ease-out) 0.5s both;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(212, 229, 207, 0.3);
    border-radius: 12px;
    border-left: 3px solid var(--sage);
}

.feature-item i {
    font-size: 1.2rem;
    color: var(--sage);
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.feature-item h4 {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--forest-deep);
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.feature-item p {
    font-size: 0.75rem;
    color: var(--sage-dark);
    line-height: 1.4;
    margin: 0;
}

.scroll-hint {
    position: absolute;
    bottom: 0.75rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    animation: fadeIn 0.6s var(--ease-out) 0.8s both;
}

.scroll-hint i {
    color: var(--sage-light);
    font-size: 1rem;
    animation: bounce 2s ease-in-out infinite;
}

@media (min-width: 480px) {
    .hero-visual {
        width: 160px;
        height: 160px;
    }

    .hero-description {
        max-width: 380px;
    }

    .hero-cta {
        flex-direction: row;
        max-width: none;
        justify-content: center;
    }

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

@media (min-width: 768px) {
    .hero-container {
        padding: 2rem 1.5rem;
    }

    .hero-visual {
        width: 180px;
        height: 180px;
    }

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

    .hero-description {
        font-size: 1rem;
        max-width: 450px;
    }

    .hero-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        padding: 2rem 0;
    }

    .feature-item h4 {
        font-size: 1rem;
    }

    .feature-item p {
        font-size: 0.8rem;
    }
}

@media (min-width: 1024px) {
    .hero {
        min-height: calc(85vh - 65px);
    }

    .hero-container {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 3rem;
        padding: 2rem;
    }

    .hero-visual-single {
        order: 2;
        margin-bottom: 0;
    }

    .hero-main {
        flex: 1;
        align-items: flex-start;
        text-align: left;
        max-width: 550px;
    }

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

    .hero-description {
        margin: 0 0 1.5rem 0;
        max-width: 480px;
    }

    .hero-cta {
        justify-content: flex-start;
    }

    .hero-features {
        order: 3;
        grid-template-columns: repeat(2, 1fr);
        margin-top: 0;
        padding: 1.5rem 0 0 0;
        border-top: none;
        gap: 2rem;
    }

    .scroll-hint {
        display: none;
    }
}

@media (min-width: 1200px) {
    .hero-visual {
        width: 220px;
        height: 220px;
    }

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

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



.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    background: var(--forest-deep);
    color: var(--ivory);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--sage) 0%, var(--forest) 100%);
    opacity: 0;
    transition: opacity 0.3s var(--ease-out);
}

.btn-primary span,
.btn-primary i {
    position: relative;
    z-index: 1;
}

.btn-primary:hover::before,
.btn-primary:active::before {
    opacity: 1;
}

.btn-primary:active {
    transform: scale(0.98);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: transparent;
    color: var(--forest);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 100px;
    border: 1.5px solid var(--sage-light);
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
}

.btn-secondary:hover,
.btn-secondary:active {
    background: var(--sage-light);
    color: var(--forest-deep);
    border-color: var(--sage-light);
}



/* animated bg */
/* Enhanced Animated Hero Background */
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

/* Animated Gradient Mesh */
.hero-bg::before {
  content: '';
  position: absolute;
  inset: -50%;
  animation: meshMove 20s ease-in-out infinite alternate;
}

/* Floating Herbal Elements */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;

  background-size: 60px 60px;
  animation: floatBackground 30s linear infinite;
  opacity: 0.5;
}

/* Animated Herbal Leaves Background */
.hero-leaves-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-leaves-bg i {
  position: absolute;
  font-size: 3rem;
  color: var(--sage);
  opacity: 0.08;
  pointer-events: none;
}

.hero-leaves-bg .bg-leaf-1 {
  top: 10%;
  left: 5%;
  animation: driftLeaf 25s ease-in-out infinite, spin 15s linear infinite;
}

.hero-leaves-bg .bg-leaf-2 {
  top: 30%;
  right: 8%;
  font-size: 4rem;
  animation: driftLeaf 30s ease-in-out infinite 5s, spin 20s linear infinite reverse;
}

.hero-leaves-bg .bg-leaf-3 {
  bottom: 15%;
  left: 15%;
  font-size: 3.5rem;
  animation: driftLeaf 28s ease-in-out infinite 10s, spin 18s linear infinite;
}

.hero-leaves-bg .bg-leaf-4 {
  bottom: 25%;
  right: 20%;
  animation: driftLeaf 32s ease-in-out infinite 3s, spin 22s linear infinite reverse;
}

.hero-leaves-bg .bg-leaf-5 {
  top: 50%;
  left: 40%;
  font-size: 2.5rem;
  animation: driftLeaf 26s ease-in-out infinite 7s, spin 16s linear infinite;
}

/* Wave Animation for Background */
.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 150px;
  background: linear-gradient(180deg, transparent 0%, var(--mint-soft) 100%);
  clip-path: polygon(
    0% 60%,
    10% 55%,
    20% 60%,
    30% 55%,
    40% 60%,
    50% 50%,
    60% 60%,
    70% 55%,
    80% 60%,
    90% 55%,
    100% 60%,
    100% 100%,
    0% 100%
  );
  animation: waveMove 8s ease-in-out infinite;
  opacity: 0.3;
}

/* Keyframe Animations */
@keyframes meshMove {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  100% {
    transform: translate(50px, 50px) rotate(5deg);
  }
}

@keyframes floatBackground {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-60px);
  }
}

@keyframes driftLeaf {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }
  25% {
    transform: translate(30px, -40px) rotate(90deg);
  }
  50% {
    transform: translate(-20px, -80px) rotate(180deg);
  }
  75% {
    transform: translate(40px, -50px) rotate(270deg);
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes waveMove {
  0%, 100% {
    clip-path: polygon(
      0% 60%, 10% 55%, 20% 60%, 30% 55%, 40% 60%, 50% 50%,
      60% 60%, 70% 55%, 80% 60%, 90% 55%, 100% 60%,
      100% 100%, 0% 100%
    );
  }
  50% {
    clip-path: polygon(
      0% 55%, 10% 60%, 20% 55%, 30% 60%, 40% 55%, 50% 60%,
      60% 55%, 70% 60%, 80% 55%, 90% 60%, 100% 55%,
      100% 100%, 0% 100%
    );
  }
}


/***************************************************************** animations **********************************************/
@keyframes float {

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

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

@keyframes bounce {

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

    50% {
        transform: translateY(4px);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatParticle {

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

    25% {
        transform: translate(15px, -20px) scale(1.2);
        opacity: 0.5;
    }

    50% {
        transform: translate(-10px, -35px) scale(0.8);
        opacity: 0.2;
    }

    75% {
        transform: translate(20px, -15px) scale(1.1);
        opacity: 0.4;
    }
}

/************************************************************** quick status project counter *********************************** */
.quick-stats {
    max-width: 800px;
    margin: 1.5rem auto 1.5rem;
    padding: 0.5rem 0.75rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    background: rgba(255, 254, 249, 0.85);
    border-radius: 999px;
    border: 1px solid rgba(90, 124, 82, 0.18);
    box-shadow: 0 6px 18px rgba(26, 46, 31, 0.06);
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-inline: 0.75rem;
    position: relative;
}

.stat::after {
    content: "";
    position: absolute;
    top: 20%;
    right: 0;
    width: 1px;
    height: 60%;
    background: rgba(90, 124, 82, 0.25);
}

.stat:last-child::after {
    display: none;
}

.stat-value {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--forest-deep);
    letter-spacing: 0.03em;
    line-height: 1.1;
}

.stat-label {
    margin-top: 1rem;
    font-size: 0.6rem;
    color: var(--sage-dark);
    text-transform: uppercase;
    letter-spacing: 0.16em;
}

/* Symbols: + and % */
.stat:nth-child(1) .stat-value::after { content: "+"; }
.stat:nth-child(2) .stat-value::after { content: "+"; }
.stat:nth-child(3) .stat-value::after { content: "%"; }

/* Mobile: stack slightly, still low height */
@media (max-width: 575px) {
    .quick-stats {
        max-width: 90%;
        margin: 1.25rem auto 1.25rem;
        padding: 1rem 0.75rem;
        gap: 0.75rem;
    }
    .stat {
        padding-inline: 0.75rem;
    }
    .stat::after {
        height: 50%;
    }
    .stat-value {
        font-size: 1rem;
    }
    .stat-label {
        margin-top: .6rem;
        font-size: 0.7rem;
        letter-spacing: 0.14em;
    }
}

/* Larger screens: keep bar slim, just widen a bit */
@media (min-width: 992px) {
    .quick-stats {
        margin-top: 2rem;
        margin-bottom: 2rem;
        padding: 0.6rem 1.5rem;
        gap: 2rem;
    }
    .stat-value {
        font-size: 2rem;
    }
}


/* ********************************************************Product section **************************************************  */

/* PRODUCTS SECTION */
.products-section {
  padding: 0.25rem 0.5rem 3.5rem;
  background: var(--fresh-mint);
  /* linear-gradient(
    180deg,
    rgba(248, 246, 241, 0.95) 0%,
    #fffef9 40%,
    #f8f6f1 100%
  ); */
}

.products-section .products-header {
  max-width: 1200px;
  margin: 0 auto 1.75rem;
  text-align: left;
}

.products-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--forest-deep);
  margin-bottom: 0.3rem;
  text-align: center;
}

.products-subtitle {
  font-size: 0.9rem;
  color: var(--text-light);
  max-width: 600px;
  margin: auto;
  text-align: center;
}

/* ==================== CATEGORY FILTER ==================== */
.category-filter-section {
  max-width: 1200px;
  margin: 0 auto 2rem;
  padding: 0 1rem;
}

.category-buttons {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

.category-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border: 2px solid rgba(90, 124, 82, 0.3);
  border-radius: 50px;
  background: var(--ivory);
  color: var(--forest);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  box-shadow: 0 4px 12px rgba(26, 46, 31, 0.08);
}

.category-btn i {
  font-size: 1.1rem;
  transition: transform 0.3s var(--ease-out);
}

.category-btn:hover {
  border-color: var(--sage);
  background: var(--mint-soft);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(26, 46, 31, 0.15);
}

.category-btn:hover i {
  transform: scale(1.15);
}

.category-btn.active {
  background: var(--forest-deep);
  color: var(--ivory);
  border-color: var(--forest-deep);
  box-shadow: 0 6px 18px rgba(26, 46, 31, 0.25);
}

.category-btn.active i {
  color: var(--gold-soft);
}

@media (min-width: 768px) {
  .category-filter-section {
    margin-bottom: 2.5rem;
  }
  
  .category-btn {
    padding: 0.85rem 1.75rem;
    font-size: 1rem;
  }
}

/* Base grid: allow wrapping; 2 per row on small screens */
.products-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: .9rem 0.45rem;
    
}

/* Tablet: little more space */
/* Tablet: 2 per row */
@media (min-width: 600px) {
  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
  }
}

/* Desktop: Keep 2 per row for better layout */
@media (min-width: 992px) {
  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    max-width: 900px;
  }
}

@media screen and (max-width: 480px) {
  .products-grid {
    padding: .5rem;
  }
}

/* Card base */
.product-card {
  background: var(--ivory);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(26, 46, 31, 0.08);
  border: 1px solid rgba(90, 124, 82, 0.16);
  display: flex;
  flex-direction: column;
  position: relative;
  transform: translateY(10px);
  opacity: 0;
  animation: cardFadeIn 0.6s var(--ease-out) forwards;
}

.product-card:nth-child(2) { animation-delay: 0.08s; }
.product-card:nth-child(3) { animation-delay: 0.12s; }
.product-card:nth-child(4) { animation-delay: 0.16s; }

.product-image-wrap {
 position: relative;
  background: var(--light-grey); /* CHANGE background */
  padding: 1rem; /* ADD padding */
  min-height: 300px; /* ADD min-height */
}

.product-image {
 position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain; /* CHANGE FROM cover TO contain */
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  pointer-events: none;
  cursor: pointer; /* ADD cursor */
}

.product-tag {
  position: absolute;
  top: 0.4rem;
  left: 0.5rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: rgba(36, 53, 40, 0.85);
  color: var(--ivory);
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.product-tag i {
  font-size: 0.7rem;
  color: var(--gold-soft);
}

/* Content */
.product-body {
    padding: 0.25rem .5rem;
    display: flex;
    flex-direction: column;
    padding-bottom: .75rem;
    gap: 0.4rem;
}

.product-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--forest-deep);
}

.product-description {
  font-size: 0.75rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* Benefits pills */
.product-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.15rem;
}

/* ============= PRODUCT CAROUSEL STYLES ============= */
.product-carousel {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.carousel-images {
  position: relative;
  width: 100%;
  height: 100%;
}

.product-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  pointer-events: none;
}

.product-image.active {
  opacity: 1;
  position: relative;
  pointer-events: auto;
}

/* ============= IMAGE LIGHTBOX ============= */
.image-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.image-lightbox.active {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-image {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid white;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10001;
}

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

.lightbox-zoom-controls {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10001;
}

.zoom-btn {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid white;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.zoom-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  color: var(--forest-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: all 0.3s var(--ease-out);
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.product-carousel:hover .carousel-btn {
  opacity: 1;
}

.carousel-btn:hover {
  background: var(--ivory);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.carousel-btn:active {
  transform: translateY(-50%) scale(0.95);
}

.carousel-prev {
  left: 8px;
}

.carousel-next {
  right: 8px;
}

.carousel-btn i {
  font-size: 0.75rem;
}

.carousel-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 10;
}

.carousel-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.carousel-dot.active {
  width: 20px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.95);
}

.carousel-dot:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: scale(1.2);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .carousel-btn {
    width: 28px;
    height: 28px;
    opacity: 0.7; /* More visible on mobile */
  }

  .carousel-prev {
    left: 6px;
  }

  .carousel-next {
    right: 6px;
  }

  .carousel-btn i {
    font-size: 0.7rem;
  }

  .carousel-dots {
    bottom: 6px;
    gap: 5px;
  }

  .carousel-dot {
    width: 5px;
    height: 5px;
  }

  .carousel-dot.active {
    width: 16px;
  }
}

@media (max-width: 480px) {
  .carousel-btn {
    width: 24px;
    height: 24px;
  }

  .carousel-btn i {
    font-size: 0.65rem;
  }

  .carousel-dots {
    gap: 4px;
  }
}

.benefit-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  background: rgba(212, 229, 207, 0.6);
  color: var(--sage-dark);
  font-size: 0.65rem;
}

.benefit-pill i {
  font-size: 0.7rem;
}

/* Sizes/prices row */
.product-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: 0.4rem;
  gap: 0.5rem;
}

.size-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.size-pill {
  border-radius: 999px;
  padding: 0.15rem 0.55rem;
  font-size: 0.8rem;
  border: 1px solid rgba(90, 124, 82, 0.4);
  color: var(--forest);
  background: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  transition: all 0.25s var(--ease-out);
}

.size-pill.active {
  background: var(--forest-deep);
  color: var(--ivory);
  border-color: var(--forest-deep);
}

/* Price + add button */
.product-price-group {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.15rem;
}

.product-price {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--forest-deep);
}

.product-price small {
  font-family: var(--font-body);
  font-size: 0.65rem;
  color: var(--sage-dark);
  margin-left: 0.25rem;
}

/* .btn-add-cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: none;
  background: var(--forest-deep);
  color: var(--ivory);
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(36, 53, 40, 0.22);
  transition: transform 0.18s var(--ease-out), box-shadow 0.18s var(--ease-out), background 0.18s var(--ease-out);
}

.btn-add-cart i {
  font-size: 0.8rem;
}

.btn-add-cart:hover {
  background: var(--forest);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(36, 53, 40, 0.25);
}

.btn-add-cart:active {
  transform: translateY(0);
  box-shadow: 0 6px 16px rgba(36, 53, 40, 0.18);
} */

.btn-add-cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, var(--sage) 0%, var(--forest-deep) 100%);
  color: var(--ivory);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(90, 124, 82, 0.3);
  transition: all 0.3s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.btn-add-cart::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--sage-light) 0%, var(--sage) 100%);
  opacity: 0;
  transition: opacity 0.3s var(--ease-out);
}

.btn-add-cart i,
.btn-add-cart span {
  position: relative;
  z-index: 1;
}

.btn-add-cart i {
  font-size: 0.85rem;
}

.btn-add-cart:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(90, 124, 82, 0.4);
}

.btn-add-cart:hover::before {
  opacity: 1;
}

.btn-add-cart:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(90, 124, 82, 0.3);
}

/* Floating cart button */
.floating-cart {
  position: fixed;
  right: 1.2rem;
  bottom: 1.4rem;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  border: none;
  padding: 0;
  background: var(--forest-deep);
  color: var(--ivory);
  display: none; /* shown via JS */
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 32px rgba(26, 46, 31, 0.35);
  cursor: pointer;
  z-index: 1200;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), background 0.25s var(--ease-out);
}

.floating-cart-icon i {
  font-size: 1.25rem;
}

.floating-cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--forest-deep);
  font-size: 0.65rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

.floating-cart.show {
  display: flex;
  animation: cartPopIn 0.35s var(--ease-bounce);
}

.floating-cart:hover {
  background: var(--forest);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 18px 34px rgba(26, 46, 31, 0.45);
}

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

@keyframes cartPopIn {
  0% { transform: translateY(10px) scale(0.8); opacity: 0; }
  60% { transform: translateY(-3px) scale(1.05); opacity: 1; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}

/* Responsive */

@media screen and (max-width: 480px) {

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

    .products-subtitle {
        text-align: center;
    }
    
.product-image {
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
  /* max-height: 120px; */
}

}

@media (min-width: 600px) {
  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
  }
}

@media (min-width: 992px) {
  .products-section {
    padding: 0rem 2rem 4rem;
  }
  .products-title {
    font-size: 2.5rem;
  }
  .products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .product-name {
    font-size: 1.5rem;
  }
  .product-description {
    font-size: .85rem;
  }
  .product-body {
    padding: 0.5rem 1rem;
  }
}


/* quantity buttons */

.cart-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.3rem;
}

/* Hidden by default, shown when in cart */
.qty-control {
  display: none;
  align-items: center;
  gap: 0.25rem;
  padding: 0.18rem 0.45rem;
  border-radius: 999px;
  background: rgba(248, 246, 241, 0.95);
  border: 1px solid rgba(90, 124, 82, 0.25);
}

.qty-btn {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: none;
  background: var(--forest-deep);
  color: var(--ivory);
  font-size: 0.75rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s var(--ease-out), transform 0.15s var(--ease-out);
}

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

.qty-btn:active {
  transform: translateY(0);
}

.qty-value {
  min-width: 18px;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--forest-deep);
}


/* ****************************************************** View Cart Section *************************************** */

.cart-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease-out);
  z-index: 1190;
}

.cart-drawer-backdrop.show {
  opacity: 1;
  pointer-events: auto;
}

/* .cart-drawer {
  position: fixed;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 420px;
  height: 65vh;
  background: var(--ivory);
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -18px 40px rgba(26, 46, 31, 0.22);
  transform: translateY(100%);
  transition: transform 0.3s var(--ease-out);
  z-index: 1201;
  display: flex;
  flex-direction: column;
} */

.cart-drawer {
  position: fixed;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 420px;
  height: auto; /* ✅ CHANGED: Auto height */
  max-height: 90vh; /* ✅ ADDED: Max height constraint */
  background: var(--ivory);
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -18px 40px rgba(26, 46, 31, 0.22);
  transform: translateY(100%);
  transition: transform 0.3s var(--ease-out);
  z-index: 1201;
  display: flex;
  flex-direction: column;
}

.cart-drawer.open {
  transform: translateY(0);
}


.cart-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.1rem 0.5rem;
}

.cart-drawer-header h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--forest-deep);
}

.cart-drawer-close {
  border: none;
  background: transparent;
  color: var(--forest);
  font-size: 1.1rem;
  cursor: pointer;
}

/* .cart-drawer-body {
  flex: 1;
  padding: 0.5rem 1.1rem 1rem;
  overflow-y: auto;
} */

.cart-drawer-body {
  flex: 1;
  padding: 0.5rem 1.1rem 1rem;
  overflow-y: auto;
  min-height: 0; /* ✅ ADDED: Allows proper flex shrinking */
}

.cart-drawer-item {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(90, 124, 82, 0.18);
  font-size: 0.82rem;
}

.cart-drawer-item-main {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.cart-drawer-item-name {
  font-weight: 600;
  color: var(--forest-deep);
}

.cart-drawer-item-meta {
  font-size: 0.7rem;
  color: var(--sage-dark);
}

.cart-drawer-item-left {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.cart-drawer-thumb {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--mint-soft);
  flex-shrink: 0;
}

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

.cart-drawer-summary {
  margin-top: 0.6rem;
  padding-top: 0.5rem;
  border-top: 1px dashed rgba(90, 124, 82, 0.35);
  font-size: 0.82rem;
  color: var(--forest-deep);
}

.cart-drawer-summary > div {
  display: flex;
  justify-content: space-between;
  margin-top: 0.15rem;
}


.cart-drawer-item-qty {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.cart-drawer-footer {
  padding: 0.75rem 1.1rem 1.1rem;
  border-top: 1px solid rgba(90, 124, 82, 0.18);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.cart-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--forest-deep);
}

.cart-total strong {
  font-family: var(--font-display);
  font-size: 1.1rem;
}


.cart-drawer-item-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.25rem;
}

.drawer-qty-control {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.15rem 0.4rem;
  border-radius: 999px;
  background: rgba(248, 246, 241, 0.95);
  border: 1px solid rgba(90, 124, 82, 0.25);
}

/* .drawer-qty-btn {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: none;
  background: var(--forest-deep);
  color: var(--ivory);
  font-size: 0.75rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s var(--ease-out), transform 0.15s var(--ease-out);
}

.drawer-qty-btn:hover {
  background: var(--forest);
  transform: translateY(-1px);
}

.drawer-qty-btn:active {
  transform: translateY(0);
} */

.drawer-qty-btn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, var(--sage) 0%, var(--forest-deep) 100%);
  color: var(--ivory);
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s var(--ease-out);
  box-shadow: 0 2px 8px rgba(90, 124, 82, 0.25);
}

.drawer-qty-btn:hover {
  background: linear-gradient(135deg, var(--sage-light) 0%, var(--sage) 100%);
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 4px 12px rgba(90, 124, 82, 0.35);
}

.drawer-qty-btn:active {
  transform: translateY(0) scale(0.95);
}

.drawer-qty-value {
  min-width: 18px;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--forest-deep);
}

.cart-drawer-line {
  font-size: 0.8rem;
  padding-right: .3rem;
  color: var(--forest-deep);
}

/* .drawer-remove {
  border: none;
  background: transparent;
  color: var(--bark);
  font-size: 0.8rem;
  cursor: pointer;
  padding: 0;
  padding-right: .4rem;
  margin-bottom: .25rem;
}

.drawer-remove i {
  pointer-events: none;
  color: rgb(235, 21, 21);
} */

.drawer-remove {
  border: none;
  background: rgba(220, 53, 69, 0.1);
  color: #dc3545;
  font-size: 0.85rem;
  cursor: pointer;
  padding: 0.35rem 0.5rem;
  border-radius: 8px;
  transition: all 0.25s var(--ease-out);
  display: flex;
  align-items: center;
  justify-content: center;
}

.drawer-remove:hover {
  background: #dc3545;
  color: white;
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

.drawer-remove i {
  pointer-events: none;
  font-size: 0.9rem;
}


@media (min-width: 1024px) {
      .cart-drawer {
        height: auto; /* ✅ CHANGED from 100vh */
        max-height: 100vh; /* ✅ ADDED */
        border-top-right-radius: 0;
        border-radius: 0; /* Full height on desktop, no top radius */
    }

    /* ✅ ADDED: Ensure proper scrolling on desktop */
    .cart-drawer-body {
        max-height: calc(100vh - 200px); /* Account for header + footer */
        overflow-y: auto;
    }

    /* ✅ ADDED: Make footer sticky at bottom */
    .cart-drawer-footer {
        position: sticky;
        bottom: 0;
        background: var(--ivory);
        border-top: 2px solid rgba(90, 124, 82, 0.18);
        box-shadow: 0 -4px 12px rgba(26, 46, 31, 0.08);
    }
}

/************************************************************ About us section ********************************************/
/* ==================== ABOUT SECTION - RICH FILLED ==================== */
.about-section {
  padding: 0.25rem 1.25rem 3rem;
  position: relative;
  overflow: hidden;
  background: var(--light-grey);
}

.about-bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 30%, rgba(212, 229, 207, 0.4) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(168, 197, 160, 0.3) 0%, transparent 50%);
  pointer-events: none;
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.about-intro {
  text-align: center;
  margin-bottom: 2rem;
}

.about-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 1rem;
  border-radius: 25px;
  background: linear-gradient(135deg, var(--sage) 0%, var(--mint) 100%);
  color: var(--ivory);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: 0 6px 18px rgba(90, 124, 82, 0.3);
  margin-bottom: 1rem;
}

.about-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--forest-deep);
  margin-bottom: 0.75rem;
}

.about-title .highlight {
  color: var(--sage);
  
  position: relative;
}

.about-lead {
  font-size: .85rem;
  color: var(--text-light);
  line-height: 1.7;
  max-width: 680px;
  margin: 0 auto;
}

.about-content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

/* Story column */
.about-card {
  padding: 2rem 1.5rem;
  background: var(--ivory);
  border-radius: 22px;
  border: 1px solid rgba(90, 124, 82, 0.2);
  box-shadow: 0 12px 32px rgba(26, 46, 31, 0.08);
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--mint-soft) 0%, var(--sage-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.card-icon i {
  font-size: 1.5rem;
  color: var(--forest-deep);
}

.about-card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--forest-deep);
  margin-bottom: 0.75rem;
}

.about-card p {
  font-size: 0.95rem;
  color: var(--bark);
  line-height: 1.7;
}

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

.value-card {
  padding: 1.25rem 1rem;
  background: rgba(255, 254, 249, 0.95);
  border-radius: 16px;
  border: 1px solid rgba(90, 124, 82, 0.18);
  text-align: center;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(26, 46, 31, 0.12);
}

.value-card i {
  font-size: 2rem;
  color: var(--sage);
  margin-bottom: 0.6rem;
}

.value-card h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--forest-deep);
  margin-bottom: 0.25rem;
}

.value-card p {
  font-size: 0.78rem;
  color: var(--bark);
}

/* Visual column */
.about-hero-card {
  padding: 2.25rem 1.75rem;
  background: linear-gradient(145deg, var(--mint-soft) 0%, var(--ivory) 100%);
  border-radius: 24px;
  border: 1px solid rgba(90, 124, 82, 0.25);
  box-shadow: 0 16px 40px rgba(26, 46, 31, 0.12);
  text-align: center;
  position: relative;
  overflow: hidden;
  height: 100%;
}

.about-hero-card::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168, 197, 160, 0.4), transparent 70%);
}

.hero-card-badge {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sage-light) 0%, var(--sage) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(90, 124, 82, 0.3);
  position: relative;
  z-index: 1;
}

.hero-card-badge i {
  font-size: 2rem;
  color: var(--ivory);
}

.about-hero-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--forest-deep);
  margin-bottom: 0.75rem;
}

.about-hero-card > p {
  font-size: 0.95rem;
  color: var(--bark);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.about-stats-mini {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.75rem;
}

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

.stat-mini .stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--forest-deep);
}

.stat-mini .stat-label {
  display: block;
  font-size: 0.75rem;
  color: var(--sage-dark);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.about-hero-card .btn-primary {
  display: inline-flex;
}

.about-image-collage {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.collage-item {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--mint-soft), var(--sage-light));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(90, 124, 82, 0.2);
  animation: float 4s ease-in-out infinite;
}

.collage-1 { animation-delay: 0s; }
.collage-2 { animation-delay: 1.3s; }
.collage-3 { animation-delay: 2.6s; }

.collage-item i {
  font-size: 1.2rem;
  color: var(--forest-deep);
}

.form-group select {
  padding: 12px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s;
  background: white;
  cursor: pointer;
}

.form-group select:focus {
  outline: none;
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(90, 124, 82, 0.1);
}

/* Cart Customer Form - Compact Style */
.cart-customer-form {
    padding: 1rem 1.1rem;
    border-top: 2px dashed rgba(90, 124, 82, 0.25);
    background: rgba(248, 246, 241, 0.5);
}

.form-group-compact {
    margin-bottom: 0.75rem;
}

.form-group-compact input,
.form-group-compact select,
.form-group-compact textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1.5px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.9rem;
    font-family: inherit;
    transition: all 0.3s;
}

.form-group-compact input:focus,
.form-group-compact select:focus,
.form-group-compact textarea:focus {
    outline: none;
    border-color: var(--sage);
    box-shadow: 0 0 0 3px rgba(90, 124, 82, 0.1);
}

.form-group-compact textarea {
    resize: vertical;
    min-height: 60px;
}

.cart-form-error {
    color: #dc3545;
    font-size: 0.8rem;
    padding: 0.5rem;
    background: #ffe6e6;
    border-radius: 6px;
    display: none;
    margin-top: 0.5rem;
}

.cart-form-error.show {
    display: block;
}

/* About Responsive */

@media screen and (max-width: 480px) {
    .card-icon {
        margin: auto;
    }
    .about-card h3 {
        text-align: center;
    }
}

@media (min-width: 768px) {
  .about-content-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

@media (min-width: 1024px) {
  .about-section {
    padding: 0.75rem 2rem 5.5rem;
  }
 
}

/* ==================== TESTIMONIALS - 3D CARD SLIDER ==================== */
.testimonials-section {
  padding: 1rem 1.25rem 4.5rem;
  background: linear-gradient(180deg, #f8f6f1 0%, #fffef9 50%, #f8f6f1 100%);
  position: relative;
  overflow: hidden;
}

.testimonials-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(circle at 80% 20%, rgba(212, 229, 207, 0.5) 0%, transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(168, 197, 160, 0.4) 0%, transparent 50%);
  pointer-events: none;
}

.testimonials-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.testimonials-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.section-badge {
  display: inline-flex;
  padding: 0.35rem 0.9rem;
  border-radius: 25px;
  border: 1px solid rgba(90, 124, 82, 0.3);
  background: rgba(212, 229, 207, 0.4);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--sage-dark);
  margin-bottom: 0.75rem;
}

.testimonials-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.4rem);
  font-weight: 700;
  color: var(--forest-deep);
  margin-bottom: 0.5rem;
}

.testimonials-subtitle {
  font-size: 1rem;
  color: var(--bark);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.6;
}

/* 3D Card Slider */
.testimonials-3d-slider {
  position: relative;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
  margin-bottom: 2rem;
}

.testimonial-3d-card {
  position: absolute;
  width: 90%;
  max-width: 500px;
  opacity: 0;
  transform: translateX(-50%) scale(0.85) rotateY(-15deg);
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
}

.testimonial-3d-card.active {
  opacity: 1;
  transform: translateX(0) scale(1) rotateY(0deg);
  z-index: 10;
  pointer-events: auto;
}

.testimonial-3d-card.next {
  opacity: 0.4;
  transform: translateX(80%) scale(0.9) rotateY(10deg);
  z-index: 5;
}

.testimonial-3d-card.prev {
  opacity: 0.4;
  transform: translateX(-80%) scale(0.9) rotateY(-10deg);
  z-index: 5;
}

.card-3d-inner {
  padding: 2.25rem 2rem;
  background: var(--ivory);
  border-radius: 24px;
  border: 1px solid rgba(90, 124, 82, 0.2);
  box-shadow: 0 20px 50px rgba(26, 46, 31, 0.15);
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

/* .testimonial-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--mint-soft);
  box-shadow: 0 6px 18px rgba(90, 124, 82, 0.2);
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
} */

.testimonial-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--mint-soft) 0%, var(--sage-light) 100%);
  border: 3px solid var(--mint-soft);
  box-shadow: 0 6px 18px rgba(90, 124, 82, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-avatar i {
  font-size: 2.5rem;
  color: var(--forest-deep);
  opacity: 0.7;
}

.testimonial-meta {
  flex: 1;
}

.testimonial-meta h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--forest-deep);
  margin-bottom: 0.15rem;
}

.testimonial-meta p {
  font-size: 0.8rem;
  color: var(--sage-dark);
}

.testimonial-rating {
  display: flex;
  gap: 0.2rem;
}

.testimonial-rating i {
  color: #f5b648;
  font-size: 0.95rem;
}

.testimonial-body p {
  font-size: 0.95rem;
  color: var(--forest-deep);
  line-height: 1.75;
  
  margin-bottom: 1.25rem;
}

.testimonial-footer {
  display: flex;
  justify-content: flex-end;
}

.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.75rem;
  border-radius: 25px;
  background: rgba(90, 124, 82, 0.1);
  color: var(--sage-dark);
  font-size: 0.75rem;
  font-weight: 600;
}

.verified-badge i {
  color: var(--sage);
}

/* Controls */
.testimonials-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.testimonial-nav-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(90, 124, 82, 0.3);
  background: var(--ivory);
  color: var(--forest-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(26, 46, 31, 0.1);
  transition: all 0.3s var(--ease-out);
}

.testimonial-nav-btn:hover {
  background: var(--sage);
  color: var(--ivory);
  border-color: var(--sage);
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(90, 124, 82, 0.25);
}

.testimonial-nav-btn i {
  font-size: 1.1rem;
}

.testimonial-dots {
  display: flex;
  gap: 0.5rem;
}

.testimonial-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(90, 124, 82, 0.3);
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
}

.testimonial-dot.active {
  width: 28px;
  border-radius: 5px;
  background: var(--sage);
}

/* Testimonials Responsive */
@media (min-width: 768px) {
  .testimonials-3d-slider {
    height: 380px;
  }
  .testimonial-3d-card {
    width: 85%;
    max-width: 550px;
  }
}

@media (min-width: 1024px) {
  .testimonials-section {
    padding: 1rem 2rem 5.5rem;
  }
  .testimonials-3d-slider {
    height: 400px;
  }
   .testimonials-header {
    margin-bottom: 0;
  }
}


/******************************************************************** Footer Design ********************************************/
/* ==================== FOOTER - CLEAN 3 COLUMN ==================== */
.footer {
  background: linear-gradient(135deg, #1a2e1f 0%, #243528 100%);
  color: #fffef9;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(168, 197, 160, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 90% 80%, rgba(168, 197, 160, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.footer-wrapper {
  position: relative;
  z-index: 1;
  padding: 3rem 1.5rem 2rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

/* ===== BRAND COLUMN ===== */
.footer-col-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  margin-bottom: 0.75rem;
}

.footer-logo-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, #a8c5a0 0%, #5a7c52 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-logo-icon i {
  font-size: 1.2rem;
  color: #fffef9;
}

.footer-logo-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: #fffef9;
  line-height: 1;
}

.footer-logo-tagline {
  font-size: 0.7rem;
  color: #d4e5cf;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 0.2rem;
}

.footer-tagline {
  font-size: 0.9rem;
  color: #d4e5cf;
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d4e5cf;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: #5a7c52;
  border-color: #5a7c52;
  color: #fffef9;
  transform: translateY(-3px);
}

.social-link i {
  font-size: 1.05rem;
}

/* ===== CONTACT COLUMN ===== */
.footer-col-contact {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-heading {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: #fffef9;
  margin-bottom: 0.5rem;
}

.contact-block {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.3s ease;
}

.contact-block:hover {
  background: rgba(255, 255, 255, 0.08);
}

.contact-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(168, 197, 160, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon-wrap i {
  font-size: 1.1rem;
  color: #a8c5a0;
}

.contact-info {
  flex: 1;
}

.contact-title {
  font-size: 0.75rem;
  font-weight: 600;
  color: #a8c5a0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.35rem;
}

.contact-value {
  font-size: 0.88rem;
  color: #d4e5cf;
  line-height: 1.6;
  margin: 0;
  text-decoration: none;
  display: block;
}

a.contact-value {
  color: #fffef9;
  transition: color 0.3s ease;
}

a.contact-value:hover {
  color: #a8c5a0;
}

/* ===== MAP COLUMN ===== */
.footer-col-map {
  display: flex;
  flex-direction: column;
}

.map-embed {
  flex: 1;
  overflow: hidden;
}

.map-embed iframe {
  filter: grayscale(0.3) brightness(0.95);
  height: 100%;
  width: 100%;
  min-height: 30vh;
  border-radius: 16px;
  border: 2px solid rgba(255, 255, 255, 0.15);
  }

/* ===== COPYRIGHT BAR ===== */
.footer-copyright-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.25rem 1.5rem;
  position: relative;
  z-index: 1;
}

.footer-copyright-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.footer-copyright-content p {
  font-size: 0.85rem;
  color: #d4e5cf;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  flex-wrap: wrap;
  margin: 0;
}

.footer-copyright-content i {
  color: #e63946;
  font-size: 0.75rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 767px) {
  .contact-row {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 768px) {
  .footer-col-brand {
    align-items: flex-start;
    text-align: left;
  }
  
  .footer-social {
    justify-content: flex-start;
  }
  

}

@media (min-width: 1024px) {
  .footer-wrapper {
    padding: 3.5rem 2rem 2.5rem;
  }
  
  .footer-content {
    grid-template-columns: 0.8fr 1.3fr 1fr;
    gap: 3.5rem;
    align-items: start;
  }
  

}

@media (min-width: 1200px) {
  .footer-content {
    gap: 4rem;
  }
}

/* Add this to your style.css file */

.useful-links-container {
    list-style: none;
    display: flex;
    flex-direction: column;
    /* gap: 0.75rem; */
    margin: 0;
    padding: 0;
}

.useful-links-container li {
    margin: 0;
}

.useful-links-container a {
    font-size: 0.88rem;
    color: var(--mint-soft);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
    position: relative;
}

.useful-links-container a::before {
    content: '→';
    font-size: 0.9rem;
    color: var(--sage-light);
    transition: transform 0.3s var(--ease-out);
}

.useful-links-container a:hover {
    color: var(--ivory);
    padding-left: 0.5rem;
}

.useful-links-container a:hover::before {
    transform: translateX(4px);
    color: var(--gold-soft);
}




/* back to top */

/* ==================== BACK TO TOP BUTTON ==================== */
.back-to-top {
  position: fixed;
  right: 1.5rem;
  bottom: 5.5rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, var(--sage) 0%, var(--forest) 100%);
  color: var(--ivory);
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(26, 46, 31, 0.3);
  z-index: 1150;
  transition: all 0.3s var(--ease-out);
  opacity: 0;
  transform: translateY(20px);
}

.back-to-top.show {
  display: flex;
  opacity: 1;
  transform: translateY(0);
  animation: fadeInUp 0.4s var(--ease-out);
}

.back-to-top:hover {
  background: linear-gradient(135deg, var(--sage-light) 0%, var(--sage) 100%);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(26, 46, 31, 0.4);
}

.back-to-top:active {
  transform: translateY(-1px);
}

.back-to-top i {
  font-size: 1.1rem;
}

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

/* Adjust for mobile if floating cart exists */
@media (max-width: 767px) {
  .back-to-top {
    right: 1.2rem;
    bottom: 6rem; /* Above floating cart */
    width: 46px;
    height: 46px;
  }
}

/* ************************************************************* Payment Related ********************************************** */

/* Payment Modal Styles */
.payment-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.payment-modal-backdrop.show {
  opacity: 1;
  visibility: visible;
}

.payment-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  background: white;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.payment-modal.open {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.payment-modal-content {
  padding: 24px;
}

.payment-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid #f0f0f0;
}

.payment-modal-header h3 {
  font-size: 1.5rem;
  color: var(--bark);
  margin: 0;
}

.payment-modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--sage);
  cursor: pointer;
  padding: 4px 8px;
  transition: all 0.2s;
}

.payment-modal-close:hover {
  color: var(--bark);
  transform: rotate(90deg);
}

/* Form Styles */
.customer-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-weight: 600;
  color: var(--bark);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-group label i {
  color: var(--earth);
}

.form-group input,
.form-group textarea {
  padding: 12px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--earth);
  box-shadow: 0 0 0 3px rgba(129, 111, 86, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.form-error {
  color: #dc3545;
  font-size: 0.85rem;
  padding: 8px 12px;
  background: #ffe6e6;
  border-radius: 6px;
  display: none;
}

.form-error.show {
  display: block;
}

.btn-submit-order {
  width: 100%;
  padding: 14px 24px;
  font-size: 1rem;
  font-weight: 600;
  margin-top: 8px;
}

/* Payment Processing Modal */
.payment-processing-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  background: white;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  z-index: 10000;
  max-width: 500px;
  width: 90%;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.payment-processing-modal.open {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.payment-processing-content {
  padding: 32px 24px;
}

.payment-processing-header {
  text-align: center;
  margin-bottom: 24px;
}

.payment-processing-header h3 {
  font-size: 1.5rem;
  color: var(--bark);
  margin: 0;
}

.payment-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.payment-order-info {
  background: #f8f8f8;
  padding: 16px;
  border-radius: 8px;
  text-align: center;
}

.payment-order-info p {
  margin: 8px 0;
  font-size: 1rem;
}

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

.payment-note {
  background: #fff3cd;
  color: #856404;
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 16px;
  font-size: 0.9rem;
}

.payment-test-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.btn-success {
  background: #28a745;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-success:hover {
  background: #218838;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.btn-danger {
  background: #dc3545;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-danger:hover {
  background: #c82333;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

/* Result Modal */
.result-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 10001;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.result-modal-backdrop.show {
  opacity: 1;
  visibility: visible;
}

.result-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  background: white;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  z-index: 10002;
  max-width: 400px;
  width: 90%;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.result-modal.open {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.result-modal-content {
  padding: 40px 24px;
  text-align: center;
}

.result-icon {
  font-size: 4rem;
  margin-bottom: 16px;
}

.result-icon.success {
  color: #28a745;
}

.result-icon.failure {
  color: #dc3545;
}

#resultTitle {
  font-size: 1.5rem;
  color: var(--bark);
  margin-bottom: 12px;
}

#resultMessage {
  color: var(--sage-dark);
  margin-bottom: 24px;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
  .payment-modal,
  .payment-processing-modal,
  .result-modal {
    width: 95%;
  }
  
  .payment-test-buttons {
    flex-direction: column;
  }
  
  .btn-success,
  .btn-danger {
    width: 100%;
    justify-content: center;
  }
}


#resultMessage span {
  color: #000000;
  font-weight: 900;
}

/* ============= MOBILE CART DRAWER FIXES ============= */
@media (max-width: 768px) {
    .cart-drawer {
        max-width: 100%;
        max-height: 92vh; /* Slightly taller on mobile */
        border-radius: 16px 16px 0 0;
    }

    .cart-drawer-header {
        padding: 0.75rem 1rem 0.5rem;
        position: sticky;
        top: 0;
        background: var(--ivory);
        z-index: 10;
        border-bottom: 1px solid rgba(90, 124, 82, 0.1);
    }

    .cart-drawer-header h3 {
        font-size: 1rem;
    }

    .cart-drawer-body {
        flex: 1;
        overflow-y: auto;
        padding: 0.5rem 0.75rem;
    }

    /* Compact cart items on mobile */
    .cart-drawer-item {
        padding: 0.5rem 0;
        font-size: 0.75rem;
    }

    .cart-drawer-thumb {
        width: 36px;
        height: 36px;
    }

    .cart-drawer-item-name {
        font-size: 0.8rem;
    }

    .cart-drawer-item-meta {
        font-size: 0.65rem;
    }

    .drawer-qty-control {
        padding: 0.1rem 0.3rem;
    }

    .drawer-qty-btn {
        width: 22px;
        height: 22px;
        font-size: 0.7rem;
    }

    .drawer-qty-value {
        font-size: 0.7rem;
        min-width: 16px;
    }

    /* Compact customer form */
    .cart-customer-form {
        padding: 0.75rem 0.75rem;
        border-top: 1px dashed rgba(90, 124, 82, 0.25);
    }

    .cart-customer-form h4 {
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
    }

    .form-group-compact {
        margin-bottom: 0.5rem;
    }

    .form-group-compact input,
    .form-group-compact select,
    .form-group-compact textarea {
        padding: 0.6rem;
        font-size: 0.85rem;
        border-radius: 6px;
    }

    .form-group-compact textarea {
        min-height: 50px;
    }

    /* Sticky footer with button */
    .cart-drawer-footer {
        padding: 0.6rem 0.75rem;
        border-top: 2px solid rgba(90, 124, 82, 0.18);
        background: var(--ivory);
        position: sticky;
        bottom: 0;
        z-index: 10;
        box-shadow: 0 -4px 12px rgba(26, 46, 31, 0.08);
    }

    .cart-total {
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
    }

    .cart-total strong {
        font-size: 1rem;
    }

    .cart-checkout-btn {
        padding: 0.7rem 1rem;
        font-size: 0.85rem;
    }

    /* Summary section compact */
    .cart-drawer-summary {
        margin-top: 0.5rem;
        padding-top: 0.5rem;
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .cart-drawer {
        max-height: 95vh;
    }

    .cart-drawer-body {
        padding: 0.4rem 0.6rem;
    }

    .cart-customer-form {
        padding: 0.6rem 0.6rem;
    }

    .form-group-compact input,
    .form-group-compact select,
    .form-group-compact textarea {
        padding: 0.5rem;
        font-size: 0.8rem;
    }

    .cart-drawer-footer {
        padding: 0.5rem 0.6rem;
    }

    .cart-checkout-btn {
        padding: 0.65rem 0.9rem;
        font-size: 0.8rem;
    }
}


/* Ensure scrollbar doesn't overlap content */
.cart-drawer-body::-webkit-scrollbar {
    width: 6px;
}

.cart-drawer-body::-webkit-scrollbar-track {
    background: transparent;
}

.cart-drawer-body::-webkit-scrollbar-thumb {
    background: rgba(90, 124, 82, 0.3);
    border-radius: 3px;
}

.cart-drawer-body::-webkit-scrollbar-thumb:hover {
    background: rgba(90, 124, 82, 0.5);
}

/* Add to style.css */
.cart-checkout-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.cart-checkout-btn.loading {
    position: relative;
}

.cart-checkout-btn.loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    border: 2px solid var(--ivory);
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}