
*{
    scroll-behavior: smooth;
}

:root {
    --primary-green: #1d330e;
    --light-green: #267728;
    --accent-green: #4b8508;
    --warm-beige: #f7f5f2;
    --soft-brown: #8B7355;
    --cream: #FFF8E7;
}

/* Animalistic Coconut Loader Styles */
.organic-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(135deg, #f7f5f2 0%, #fff8e7 100%);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease-out;
    overflow: hidden;
}
.organic-loader.hidden {
    opacity: 0;
    pointer-events: none;
}
.coconut-bounce-loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}
.coconut-bounce-loader video {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    box-shadow: 0 8px 32px 0 rgba(76, 175, 80, 0.18), 0 2px 8px 0 rgba(139, 69, 19, 0.12);
    border: 4px solid #e6f4ea;
    background: #fff8e7;
    object-fit: cover;
    z-index: 2;
    animation: loaderPop 1.2s cubic-bezier(.5,1.8,.5,1) infinite alternate;
}
@keyframes loaderPop {
    0% { transform: scale(1); }
    60% { transform: scale(1.04); }
    100% { transform: scale(0.98); }
}
/* Decorative animated leaves */
.loader-leaf {
    position: absolute;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #7fdfff 0%, #4caf50 100%);
    border-radius: 60% 40% 60% 40%/40% 60% 40% 60%;
    opacity: 0.7;
    z-index: 1;
    pointer-events: none;
}
.loader-leaf.leaf1 {
    top: -30px;
    left: -40px;
    transform: rotate(-18deg);
    animation: leafFloat1 2.5s ease-in-out infinite alternate;
}
.loader-leaf.leaf2 {
    top: 10px;
    right: -38px;
    transform: rotate(22deg);
    animation: leafFloat2 2.8s ease-in-out infinite alternate;
}
.loader-leaf.leaf3 {
    bottom: -28px;
    left: 0px;
    transform: rotate(12deg);
    animation: leafFloat3 2.2s ease-in-out infinite alternate;
}
@keyframes leafFloat1 {
    0% { transform: translateY(0) rotate(-18deg); }
    100% { transform: translateY(-10px) rotate(-8deg); }
}
@keyframes leafFloat2 {
    0% { transform: translateY(0) rotate(22deg); }
    100% { transform: translateY(12px) rotate(32deg); }
}
@keyframes leafFloat3 {
    0% { transform: translateY(0) rotate(12deg); }
    100% { transform: translateY(-8px) rotate(2deg); }
}
/* Paw prints for animalistic touch */
.loader-paw {
    position: absolute;
    width: 28px;
    height: 28px;
    z-index: 1;
    opacity: 0.5;
    pointer-events: none;
}
.loader-paw.paw1 {
    top: 80px;
    left: -30px;
    animation: pawWiggle1 2.2s ease-in-out infinite alternate;
}
.loader-paw.paw2 {
    top: -32px;
    right: 10px;
    animation: pawWiggle2 2.5s ease-in-out infinite alternate;
}
@keyframes pawWiggle1 {
    0% { transform: rotate(-10deg) scale(1); }
    100% { transform: rotate(5deg) scale(1.08); }
}
@keyframes pawWiggle2 {
    0% { transform: rotate(8deg) scale(1); }
    100% { transform: rotate(-8deg) scale(0.95); }
}
.loader-paw svg {
    width: 100%;
    height: 100%;
    display: block;
}
/* Responsive adjustments */
@media (max-width: 600px) {
    .coconut-bounce-loader video {
        width: 80px;
        height: 80px;
    }
    .loader-leaf {
        width: 22px;
        height: 22px;
    }
    .loader-paw {
        width: 18px;
        height: 18px;
    }
}

/* Organic Farm Loader Styles */
.organic-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f7f5f2 0%, #fff8e7 100%);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease-out;
}

.organic-loader.hidden {
    opacity: 0;
    pointer-events: none;
}

.loader-container {
    text-align: center;
    position: relative;
}

.farm-scene {
    width: 300px;
    height: 200px;
    position: relative;
    margin: 0 auto 30px;
    overflow: hidden;
}

.sun {
    position: absolute;
    top: 20px;
    right: 30px;
    width: 40px;
    height: 40px;
    background: radial-gradient(circle, #ffd700, #ff8c00);
    border-radius: 50%;
    animation: sunPulse 2s ease-in-out infinite;
}

@keyframes sunPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.clouds {
    position: absolute;
    top: 10px;
    left: 20px;
}

.cloud {
    position: absolute;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    animation: cloudFloat 4s ease-in-out infinite;
}

.cloud1 {
    width: 30px;
    height: 15px;
    top: 0;
    left: 0;
    animation-delay: 0s;
}

.cloud2 {
    width: 25px;
    height: 12px;
    top: 15px;
    left: 40px;
    animation-delay: 1s;
}

.cloud3 {
    width: 35px;
    height: 18px;
    top: 5px;
    left: 80px;
    animation-delay: 2s;
}

@keyframes cloudFloat {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(10px); }
}

.ground {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(to top, #8B4513, #A0522D);
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

.coconut-tree {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: treeSway 4s ease-in-out infinite;
}

.tree-trunk {
    width: 20px;
    height: 80px;
    background: linear-gradient(to bottom, #8B4513, #A0522D);
    border-radius: 10px;
    position: relative;
}

.tree-leaves {
    position: absolute;
    top: -20px;
    left: -15px;
}

.leaf-group {
    position: absolute;
    width: 50px;
    height: 40px;
    background: linear-gradient(45deg, #228B22, #32CD32);
    border-radius: 50% 50% 0 50%;
    animation: leafSway 3s ease-in-out infinite;
}

.leaf-group1 {
    top: 0;
    left: 0;
    animation-delay: 0s;
}

.leaf-group2 {
    top: -10px;
    left: 15px;
    animation-delay: 1s;
}

.leaf-group3 {
    top: -5px;
    left: 30px;
    animation-delay: 2s;
}

@keyframes leafSway {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(5deg); }
}

@keyframes treeSway {
    0%, 100% { transform: translateX(-50%) rotate(0deg); }
    50% { transform: translateX(-50%) rotate(2deg); }
}

.coconuts {
    position: absolute;
    top: -10px;
    left: 10px;
}

.coconut {
    position: absolute;
    width: 12px;
    height: 12px;
    background: linear-gradient(45deg, #8B4513, #A0522D);
    border-radius: 50%;
    border: 1px solid #654321;
    animation: coconutSway 2s ease-in-out infinite;
}

.coconut1 {
    top: 0;
    left: 0;
    animation-delay: 0s;
}

.coconut2 {
    top: 15px;
    left: 20px;
    animation-delay: 0.5s;
}

.coconut3 {
    top: 5px;
    left: 35px;
    animation-delay: 1s;
}

@keyframes coconutSway {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(10deg); }
}

.falling-coconut {
    position: absolute;
    width: 12px;
    height: 12px;
    background: linear-gradient(45deg, #8B4513, #A0522D);
    border-radius: 50%;
    border: 1px solid #654321;
    top: 60px;
    left: 50%;
    transform: translateX(-50%);
    animation: coconutFall 3s ease-in infinite;
}

@keyframes coconutFall {
    0% {
        top: 60px;
        opacity: 1;
        transform: translateX(-50%) scale(1);
    }
    50% {
        top: 120px;
        opacity: 1;
        transform: translateX(-50%) scale(1.1);
    }
    100% {
        top: 160px;
        opacity: 0;
        transform: translateX(-50%) scale(0.8);
    }
}

.ground-coconuts {
    position: absolute;
    bottom: 40px;
}

.ground-coconut {
    position: absolute;
    width: 10px;
    height: 10px;
    background: linear-gradient(45deg, #8B4513, #A0522D);
    border-radius: 50%;
    border: 1px solid #654321;
    animation: groundCoconutBounce 2s ease-in-out infinite;
}

.gc1 {
    left: 30px;
    animation-delay: 0s;
}

.gc2 {
    left: 220px;
    animation-delay: 1s;
}

@keyframes groundCoconutBounce {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-5px) scale(1.1); }
}

.loading-text {
    margin-top: 20px;
}

.loader-title {
    font-family: 'Work Sans', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 10px;
    animation: titleGlow 2s ease-in-out infinite;
}

@keyframes titleGlow {
    0%, 100% { text-shadow: 0 0 5px rgba(76, 175, 80, 0.3); }
    50% { text-shadow: 0 0 15px rgba(76, 175, 80, 0.6); }
}

.loader-subtitle {
    color: var(--light-green);
    font-size: 1rem;
    margin-bottom: 20px;
    animation: subtitlePulse 1.5s ease-in-out infinite;
}

@keyframes subtitlePulse {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

.loading-bar {
    width: 200px;
    height: 6px;
    background: rgba(76, 175, 80, 0.2);
    border-radius: 3px;
    overflow: hidden;
    margin: 0 auto;
}

.loading-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--light-green), var(--accent-green));
    border-radius: 3px;
    animation: loadingFill 3s ease-in-out infinite;
}

@keyframes loadingFill {
    0% { width: 0%; }
    50% { width: 70%; }
    100% { width: 100%; }
}

/* Organic Background Animations */
.organic-bg-animations {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.floating-leaves {
    position: absolute;
    width: 100%;
    height: 100%;
}

.leaf {
    position: absolute;
    width: 20px;
    height: 20px;
    background: linear-gradient(45deg, #228B22, #32CD32);
    border-radius: 50% 0 50% 0;
    opacity: 0.6;
    animation: leafFloat 8s linear infinite;
}

.leaf1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 12s;
}

.leaf2 {
    top: 20%;
    right: 15%;
    animation-delay: 2s;
    animation-duration: 10s;
}

.leaf3 {
    top: 60%;
    left: 5%;
    animation-delay: 4s;
    animation-duration: 14s;
}

.leaf4 {
    top: 80%;
    right: 10%;
    animation-delay: 6s;
    animation-duration: 11s;
}

.leaf5 {
    top: 40%;
    left: 80%;
    animation-delay: 8s;
    animation-duration: 13s;
}

@keyframes leafFloat {
    0% {
        transform: translateY(-100px) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

.organic-particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: radial-gradient(circle, rgba(76, 175, 80, 0.8), transparent);
    border-radius: 50%;
    animation: particleFloat 6s ease-in-out infinite;
}

.particle1 {
    top: 15%;
    left: 20%;
    animation-delay: 0s;
}

.particle2 {
    top: 30%;
    right: 25%;
    animation-delay: 1s;
}

.particle3 {
    top: 70%;
    left: 15%;
    animation-delay: 2s;
}

.particle4 {
    top: 85%;
    right: 20%;
    animation-delay: 3s;
}

.particle5 {
    top: 50%;
    left: 70%;
    animation-delay: 4s;
}

@keyframes particleFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-20px) scale(1.2);
        opacity: 0.8;
    }
}

* {
    font-family: "Work Sans", sans-serif;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #f7f5f2 0%, #fff8e7 100%);
    color: #333;
    overflow-x: hidden;
}
h1{
   font-family: 'work sans', sans-serif;
}
h2, h3, h4, h5, h6 {
    font-family: 'work sans', sans-serif;
}

.container-custom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.floating-header {
    backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.floating-header.scrolled {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.product-card {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    border-radius: 1.5rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--light-green), var(--accent-green));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.product-card:hover::before {
    transform: scaleX(1);
}

.product-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.hero-gradient {
    background: linear-gradient(135deg, #2d5016 0%, #4CAF50 35%, #8BC34A 100%);
    position: relative;
    overflow: hidden;
}

.hero-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.08)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.floating-element {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(2deg); }
}

.bg-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.shape {
    position: absolute;
    background: linear-gradient(45deg, rgba(139, 195, 74, 0.1), rgba(76, 175, 80, 0.1));
    border-radius: 50%;
    animation: drift 20s infinite linear;
}

.shape:nth-child(1) {
    width: 60px;
    height: 60px;
    top: 15%;
    left: 5%;
    animation-delay: 0s;
}

.shape:nth-child(2) {
    width: 40px;
    height: 40px;
    top: 55%;
    right: 5%;
    animation-delay: 7s;
}

.shape:nth-child(3) {
    width: 80px;
    height: 80px;
    bottom: 15%;
    left: 75%;
    animation-delay: 14s;
}

@keyframes drift {
    0%, 100% { transform: translateX(0) translateY(0) rotate(0deg); }
    25% { transform: translateX(15px) translateY(-15px) rotate(90deg); }
    50% { transform: translateX(-15px) translateY(15px) rotate(180deg); }
    75% { transform: translateX(15px) translateY(15px) rotate(270deg); }
}

.premium-btn {
    background: linear-gradient(135deg, var(--light-green), var(--accent-green));
    padding: 10px 24px;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.3);
    position: relative;
    overflow: hidden;
}

.premium-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.premium-btn:hover::before {
    left: 100%;
}

.premium-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(76, 175, 80, 0.4);
}

.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.price-tag {
    background: linear-gradient(135deg, #ff6b35, #ff8e53);
    color: white;
    padding: 6px 12px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 3px 10px rgba(255, 107, 53, 0.3);
}

.glass-card {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
}

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--light-green), var(--accent-green));
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-green);
}

.uzhamagals-font {
    font-family: 'work sans', cursive;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}
#uzhamagals-font {
    font-family: 'dancing script', cursive;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    border: 2px solid rgba(76, 175, 80, 0.3);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0;
    }
}

.mobile-menu {
    transition: transform 0.3s ease-in-out;
}

.mobile-menu.open {
    transform: translateX(0);
}

.search-container {
    position: relative;
    width: 100%;
    max-width: 300px;
}

.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 100;
    max-height: 200px;
    overflow-y: auto;
    display: none;
}

.search-suggestions.show {
    display: block;
}

.search-suggestion-item {
    padding: 8px 12px;
    cursor: pointer;
    transition: background 0.2s;
}

.search-suggestion-item:hover {
    background: #f1f1f1;
}

.category-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.category-tab {
    padding: 8px 16px;
    border-radius: 25px;
    background: #f1f1f1;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-tab.active {
    background: var(--light-green);
    color: white;
}

.category-tab:hover {
    background: var(--accent-green);
    color: white;
}

.infinite-scroll-loading {
    text-align: center;
    padding: 2rem;
    display: none;
}

.quality-svg {
    display: none;
    width: 24px;
    height: 24px;
    margin-left: 8px;
}

.product-card:hover .quality-svg {
    display: inline-block;
}

@media (max-width: 768px) {
    .container-custom {
        padding: 0 12px;
    }

    .floating-header {
        padding: 12px 0;
    }

    .product-card {
        border-radius: 1rem;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.06);
    }

    .product-card:hover {
        transform: translateY(-4px);
    }

    .hero-gradient {
        min-height: 600px;
    }

    .premium-btn {
        padding: 8px 20px;
        font-size: 0.9rem;
    }

    .price-tag {
        padding: 5px 10px;
        font-size: 0.9rem;
    }

    .pulse-ring {
        width: 150px;
        height: 150px;
    }

    .shape:nth-child(1), .shape:nth-child(2), .shape:nth-child(3) {
        width: 40px;
        height: 40px;
    }

    .search-container {
        max-width: 100%;
    }

    /* Mobile loader adjustments */
    .farm-scene {
        width: 250px;
        height: 150px;
    }

    .coconut-tree {
        bottom: 30px;
    }

    .tree-trunk {
        width: 16px;
        height: 60px;
    }

    .leaf-group {
        width: 40px;
        height: 30px;
    }

    .coconut {
        width: 10px;
        height: 10px;
    }

    .falling-coconut {
        width: 10px;
        height: 10px;
    }

    .ground-coconut {
        width: 8px;
        height: 8px;
    }

    .loader-title {
        font-size: 1.5rem;
    }

    .loader-subtitle {
        font-size: 0.875rem;
    }

    .loading-bar {
        width: 150px;
    }

    /* Mobile animation adjustments */
    .leaf {
        width: 15px;
        height: 15px;
    }

    .particle {
        width: 3px;
        height: 3px;
    }
}

@media (max-width: 640px) {
    .uzhamagals-font.text-5xl {
        font-size: 2.5rem;
    }

    .uzhamagals-font.text-7xl {
        font-size: 3rem;
    }

    .text-4xl {
        font-size: 2rem;
    }

    .text-5xl {
        font-size: 2.5rem;
    }

    .text-xl {
        font-size: 1rem;
    }

    .text-lg {
        font-size: 0.95rem;
    }

    .text-2xl.font-bold {
        font-size: 1.25rem;
    }

    .text-base {
        font-size: 0.85rem;
    }

    .product-card img {
        max-height: 150px;
    }

    .product-card .h-56 {
        height: 200px;
    }

    .hero-gradient .max-h-96 {
        max-height: 250px;
    }

    .category-tabs {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .category-tab {
        padding: 6px 12px;
        font-size: 0.9rem;
    }

    /* Small screen loader adjustments */
    .farm-scene {
        width: 200px;
        height: 120px;
    }

    .coconut-tree {
        bottom: 25px;
    }

    .tree-trunk {
        width: 14px;
        height: 50px;
    }

    .leaf-group {
        width: 35px;
        height: 25px;
    }

    .coconut {
        width: 8px;
        height: 8px;
    }

    .falling-coconut {
        width: 8px;
        height: 8px;
    }

    .ground-coconut {
        width: 6px;
        height: 6px;
    }

    .loader-title {
        font-size: 1.25rem;
    }

    .loader-subtitle {
        font-size: 0.8rem;
    }

    .loading-bar {
        width: 120px;
    }
}

/* Infinite Scroll  */

.scroll-container {
    height: 50svh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
}

.scroll-container .infinite-scroll-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
}

.infinite-scroll-wrapper .infinite-scroll-content {
    display: flex;
    flex-direction: row;
    white-space: nowrap;
    animation: scroll 30s linear infinite; /* Changed from 100s to 50s */
    width: 100%;
    gap: 16px;
}

.infinite-scroll-wrapper .infinite-scroll-items {
    display: flex;
    flex-direction: row;
    flex-shrink: 0;
    gap: 16px;
}

.infinite-scroll-items .item-wrap {
    position: relative;
    min-width: 238px;
    height: 315px;
    flex-shrink: 0;
    overflow: hidden;
}

.item-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.item-wrap .text {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 10;
    color: #fff;
    font-weight: 500;
}

.item-wrap:hover img {
    transform: scale(1.05);
}

@media (min-width: 1024px) {
    .infinite-scroll-wrapper:hover .infinite-scroll-content {
        animation-play-state: paused;
    }
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}
/* Override the image container styles to remove background and fixed height */
.product-card .bg-gradient-to-br {
    background: none !important; /* Remove gradient background */
    height: auto; /* Allow container to adjust to image size */
    overflow: visible; /* Prevent cropping */
    padding: 0; /* Optional: Remove padding for a cleaner look */
    margin-bottom: 1rem; /* Adjust margin for spacing */
}

/* Ensure images display in full */
.product-card img {
    width: 100%; /* Maintain full width */
    height: auto; /* Allow height to adjust based on aspect ratio */
    object-fit: contain; /* Keep aspect ratio without cropping */
    max-height: none; /* Remove any max-height restrictions */
}

/* WhatsApp Button Styles */
.whatsapp-btn {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    position: relative;
    overflow: hidden;
}

.whatsapp-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.whatsapp-btn:hover::before {
    left: 100%;
}

.whatsapp-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* Product Carousel Styles */
.product-carousel {
    position: relative;
    overflow: hidden;
}

.product-carousel-inner {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    height: 100%;
}

.product-carousel-item {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-carousel-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.product-carousel-item:hover img {
    transform: scale(1.05);
}

.product-carousel-nav {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 4px;
    z-index: 10;
}

.product-carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
}

.product-carousel-dot.active {
    background: var(--primary-green);
    transform: scale(1.2);
}

.product-carousel-dot:hover {
    background: var(--primary-green);
    transform: scale(1.1);
}

.product-carousel-prev,
.product-carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.8);
    color: var(--primary-green);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    opacity: 0;
}

.product-carousel:hover .product-carousel-prev,
.product-carousel:hover .product-carousel-next {
    opacity: 1;
}

.product-carousel-prev {
    left: 8px;
}

.product-carousel-next {
    right: 8px;
}

.product-carousel-prev:hover,
.product-carousel-next:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-50%) scale(1.1);
}

.product-carousel-prev svg,
.product-carousel-next svg {
    width: 16px;
    height: 16px;
}

/* Responsive Product Carousel */
@media (max-width: 768px) {
    .product-carousel-prev,
    .product-carousel-next {
        width: 28px;
        height: 28px;
        opacity: 1;
    }
    
    .product-carousel-prev svg,
    .product-carousel-next svg {
        width: 14px;
        height: 14px;
    }
    
    .product-carousel-dot {
        width: 6px;
        height: 6px;
    }
}

@media (max-width: 480px) {
    .product-carousel-prev,
    .product-carousel-next {
        width: 24px;
        height: 24px;
    }
    
    .product-carousel-prev svg,
    .product-carousel-next svg {
        width: 12px;
        height: 12px;
    }
}

/* Social Media Icons */
.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.instagram-btn {
    background: linear-gradient(135deg, #E4405F 0%, #C13584 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(228, 64, 95, 0.3);
}

.instagram-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.instagram-btn:hover::before {
    left: 100%;
}

.instagram-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(228, 64, 95, 0.4);
}

.social-icon {
    width: 1.25rem;
    height: 1.25rem;
    fill: currentColor;
}

/* Product Gallery Styles */
.product-gallery {
    position: relative;
    overflow: hidden;
}

.gallery-container {
    position: relative;
}

.gallery-image {
    position: absolute;
    top: 0;
    left: 0;
    
    transition: opacity 0.3s ease;
}

.gallery-image.active {
    opacity: 1;
    position: relative;
}

.gallery-nav {
    z-index: 5;
}

.gallery-dot {
    transition: all 0.3s ease;
}

.gallery-dot.active {
    opacity: 1 !important;
    transform: scale(1.2);
}

.gallery-prev,
.gallery-next {
    z-index: 5;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .product-carousel-item {
        padding: 1rem;
    }
    
    .product-carousel-prev,
    .product-carousel-next {
        width: 2.5rem;
        height: 2.5rem;
    }
    
    .social-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .social-icon {
        width: 1rem;
        height: 1rem;
    }
}

/* Gallery Styles */
.gallery-filter {
    margin-bottom: 2rem;
}

.gallery-filter-btn {
    padding: 0.5rem 1.5rem;
    margin: 0.25rem;
    border: 2px solid var(--primary-green);
    background: transparent;
    color: var(--primary-green);
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.gallery-filter-btn:hover,
.gallery-filter-btn.active {
    background: var(--primary-green);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(29, 51, 14, 0.3);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.gallery-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.gallery-item-inner {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
}

/* Gallery Image Error Handling */
.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    
}

.gallery-image:not([src]), 
.gallery-image[src=""],
.gallery-image[src*="placeholder"] {
    
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-size: 0.875rem;
    text-align: center;
}

.gallery-image:not([src])::after, 
.gallery-image[src=""]::after,
.gallery-image[src*="placeholder"]::after {
    content: "Image Loading...";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #6c757d;
    font-size: 0.875rem;
}

/* Ensure gallery items are visible */
.gallery-item {
    min-height: 200px;
   
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.gallery-item-inner {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
   
}

/* Debug styles for carousel */
.product-carousel {
    position: relative;
    overflow: hidden;
    min-height: 200px;
}

.product-carousel-inner {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    height: 100%;
    min-height: 200px;
}

.product-carousel-item {
    flex: 0 0 100%;
    width: 80%;
    height: 80%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

.product-carousel-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    transition: transform 0.3s ease;
    background: rgba(255, 255, 255, 0.8);
}

.gallery-item:hover .gallery-image {
    transform: scale(1.1);
}

.product-carousel-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 1.5rem;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease 0.1s;
}

.gallery-description {
    font-size: 0.9rem;
    opacity: 0.9;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease 0.2s;
}

.gallery-item:hover .gallery-title,
.gallery-item:hover .gallery-description {
    opacity: 1;
    transform: translateY(0);
}

/* Gallery Lightbox */
.gallery-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10001;
    transition: all 0.3s ease;
}

.lightbox-close:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.1);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10001;
    transition: all 0.3s ease;
}

.lightbox-prev {
    left: 1rem;
}

.lightbox-next {
    right: 1rem;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-image-container {
    width: 100%;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
}

#lightbox-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.lightbox-caption {
    padding: 1.5rem;
    background: white;
    text-align: center;
}

#lightbox-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-green);
    margin-bottom: 0.5rem;
}

#lightbox-description {
    color: #666;
    font-size: 1rem;
}

/* Gallery Animation Classes */
.gallery-item {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
    transform: translateY(30px);
}

.gallery-item:nth-child(1) { animation-delay: 0.1s; }
.gallery-item:nth-child(2) { animation-delay: 0.2s; }
.gallery-item:nth-child(3) { animation-delay: 0.3s; }
.gallery-item:nth-child(4) { animation-delay: 0.4s; }
.gallery-item:nth-child(5) { animation-delay: 0.5s; }
.gallery-item:nth-child(6) { animation-delay: 0.6s; }
.gallery-item:nth-child(7) { animation-delay: 0.7s; }
.gallery-item:nth-child(8) { animation-delay: 0.8s; }
.gallery-item:nth-child(9) { animation-delay: 0.9s; }
.gallery-item:nth-child(10) { animation-delay: 1.0s; }
.gallery-item:nth-child(11) { animation-delay: 1.1s; }
.gallery-item:nth-child(12) { animation-delay: 1.2s; }
.gallery-item:nth-child(13) { animation-delay: 1.3s; }
.gallery-item:nth-child(14) { animation-delay: 1.4s; }
.gallery-item:nth-child(15) { animation-delay: 1.5s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Gallery Filter Animation */
.gallery-item.hidden {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
}

.gallery-item.visible {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

/* Responsive Gallery */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1rem;
    }
    
    .gallery-item-inner {
        height: 220px;
    }
    
    .gallery-filter-btn {
        padding: 0.4rem 1rem;
        font-size: 0.9rem;
    }
    
    .lightbox-content {
        max-width: 95%;
        max-height: 95%;
    }
    
    .lightbox-image-container {
        height: 60vh;
    }
    
    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .lightbox-close {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .gallery-item-inner {
        height: 200px;
    }
    
    .gallery-overlay {
        padding: 1rem;
    }
    
    .gallery-title {
        font-size: 1rem;
    }
    
    .gallery-description {
        font-size: 0.8rem;
    }
    
    .lightbox-image-container {
        height: 50vh;
    }
    
    #lightbox-title {
        font-size: 1.2rem;
    }
    
    #lightbox-description {
        font-size: 0.9rem;
    }
}



/* Add this to your CSS file or a <style> block */

/* Gallery Item Styling */
.gallery-item {
    position: relative;
    overflow: hidden; /* Crucial for clipping the zoomed image */
    border-radius: 0.75rem; /* Matches your rounded-2xl often used with Tailwind */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    transition: transform 0.3s ease-in-out; /* Smooth transition for item scale */
}

/* Image styling within the gallery item */
.gallery-image {
    width: 100%;
    height: 100%; /* Or set a fixed height for consistency */
    object-fit: cover; /* Ensures images cover the area without distortion */
    display: block;
    transition: transform 0.3s ease-in-out; /* Smooth transition for image zoom */
}

/* Overlay for title/description */
.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0)); /* Gradient overlay */
    color: white;
    padding: 1rem;
    transform: translateY(100%); /* Initially hidden */
    transition: transform 0.3s ease-in-out;
    opacity: 0; /* Initially transparent */
}

.gallery-overlay h3 {
    font-weight: bold;
    font-size: 1.125rem; /* text-lg */
    margin-bottom: 0.25rem;
}

.gallery-overlay p {
    font-size: 0.875rem; /* text-sm */
}

/* Hover effect for desktop */
@media (min-width: 640px) { /* Applies from sm breakpoint upwards */
    .gallery-item:hover .gallery-image {
        transform: scale(1.1); /* Zooms image on hover */
    }

    .gallery-item:hover .gallery-overlay {
        transform: translateY(0); /* Reveals overlay on hover */
        opacity: 1;
    }

    /* Optional: Slightly scale the whole item on hover */
    .gallery-item:hover {
        transform: translateY(-5px); /* Lifts the card slightly */
    }
}

/* Lightbox Styling (for both mobile and desktop click) */
.gallery-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.gallery-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    background: white; /* Or black for a gallery look */
    padding: 20px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px; /* Space between image and caption */
}

.lightbox-image-container {
    flex-grow: 1; /* Allows image to take available space */
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-height: 80vh; /* Limit height for larger screens */
}

#lightbox-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* Ensures entire image is visible */
    border-radius: 4px;
}

.lightbox-close, .lightbox-prev, .lightbox-next {
    position: absolute;
    background: rgba(255, 255, 255, 0.7);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.2s ease;
    z-index: 1001; /* Above lightbox content */
}

.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover {
    background: rgba(255, 255, 255, 1);
}

.lightbox-close {
    top: 10px;
    right: 10px;
}

.lightbox-prev {
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-caption {
    text-align: center;
    color: #333; /* Dark text for readability on white background */
    padding: 10px;
}

.lightbox-caption h3 {
    margin-bottom: 5px;
}