
body {
    font-family: Arial, sans-serif;
    /* background: linear-gradient(135deg, #e8d5c4 0%, #d4c4b0 100%); */
    min-height: 100vh;
}

/* Featured Products Section Styles */
.feature-circle {
    width: 80px;
    height: 80px;
    background: #f4d03f;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.feature-circle i {
    font-size: 35px;
    color: #fff;
}

.feature-card {
    background: transparent;
    padding: 20px;
    text-align: center;
}

.feature-title {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-bottom: 12px;
}

.feature-description {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
}

.product-section {
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 0 !important;
    margin-top: -80px !important; /* Overlap with hero section */
    position: relative;
    background: transparent !important; /* Transparent background */
    z-index: 100 !important; /* Above hero section */
}

.product-container {
    background: transparent;
    border-radius: 0;
    /* padding: 60px 40px; */
    box-shadow: none;
    position: relative;
    margin: 0 auto;
    width: 100%;
    padding-right: calc(1.5rem * 0.5);
    padding-left: calc(1.5rem * 0.5);
    margin-top: 0; /* No additional margin, section already overlaps */
    z-index: 101 !important; /* Above hero section */
}

/* Make product-container wider than normal container by ~100-150px */
/* Normal container: 540px, product-container: 640px (+100px) */
@media (min-width: 576px) {
    .product-container {
        max-width: 640px;
    }
}

/* Normal container: 720px, product-container: 820px (+100px) */
@media (min-width: 768px) {
    .product-container {
        max-width: 820px;
    }
}

/* Normal container: 960px, product-container: 1100px (+140px) */
@media (min-width: 992px) {
    .product-container {
        max-width: 1100px;
    }
}

/* Normal container: 1140px, product-container: 1290px (+150px) */
@media (min-width: 1200px) {
    .product-container {
        max-width: 1290px;
    }
}

/* Normal container: 1320px, product-container: 1470px (+150px) */
@media (min-width: 1400px) {
    .product-container {
        max-width: 1470px;
    }
}

.product-image {
    max-width: 100%;
    height: auto;
    transform: scale(1);
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.15));
}

.social-icons {
    position: absolute;
    top: 20px;
    left: 20px;
    display: flex;
    gap: 10px;
}

.social-icon {
    width: 35px;
    height: 35px;
    background: #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s;
}

.social-icon:hover {
    background: #d4af37;
    transform: scale(1.1);
}

.wheat-icon {
    background: #f4d03f;
}

.leaf-icon {
    background: #f4d03f;
}

.farm-icon {
    background: #f4d03f;
}

.family-icon {
    background: #f4d03f;
}

.pagination-indicators {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 8px;
    z-index: 103 !important;
}

.pagination-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(0, 37, 61, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.pagination-dot:hover {
    background: rgba(0, 37, 61, 0.7);
    transform: scale(1.2);
}

.pagination-dot.active {
    background: #00253d;
    width: 14px;
    height: 14px;
    border: 2px solid #00253d;
}

.product-slide {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
    min-height: 500px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    z-index: 102 !important; /* Above hero section */
}

.product-slide.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .product-section {
        display: none !important; /* Hide featured products on small screens */
    }
    
    .product-container {
        padding: 40px 0;
        margin-top: 0; /* No additional margin */
    }

    .feature-card {
        margin-bottom: 30px;
    }

    /* Reduce padding/margin between sections on mobile */
    .section {
        padding:  0 !important;
        margin-bottom: 0 !important;
    }

    .why-us.section,
    .latest-news-section.section,
    .quick-links-section.section {
        padding: 40px 0 !important;
    }

    .products-section.section {
        padding: 40px 0 !important;
    }

    .menu.section {
        padding: 40px 0 !important;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 0 !important;
    }

    .why-us.section,
    .latest-news-section.section,
    .quick-links-section.section {
        padding: 30px 0 !important;
    }

    .products-section.section {
        padding: 30px 0 !important;
    }

    .menu.section {
        padding: 30px 0 !important;
    }
}

/* Latest Products Slider Styles */
.products-slider-container {
    position: relative;
    width: 100%;
    padding: 20px 0 20px;
}

.latest-products-swiper {
    width: 100%;
    padding-bottom: 15px;
}

.latest-products-swiper .swiper-wrapper {
    align-items: stretch;
}

.latest-products-swiper .swiper-slide {
    height: auto;
    display: flex;
    box-sizing: border-box;
}

/* Custom Scrollbar */
.custom-scrollbar-container {
    width: 70%;
    max-width: 600px;
    height: 6px;
    background: #e5e7eb;
    position: relative;
    margin: 10px auto 30px;
    cursor: grab;
    border-radius: 3px;
    overflow: hidden;
    touch-action: pan-x;
    user-select: none;
    -webkit-user-select: none;
}

.custom-scrollbar-container:active {
    cursor: grabbing;
}

.custom-scrollbar-thumb {
    height: 100%;
    background: #6b7280;
    border-radius: 3px;
    position: absolute;
    top: 0;
    left: 0;
    right: auto;
    transition: left 0.1s ease, width 0.1s ease;
    min-width: 50px;
    max-width: 100%;
    cursor: grab;
}

/* RTL: let JS position the thumb from the right edge */
html[dir="rtl"] .custom-scrollbar-thumb,
body[dir="rtl"] .custom-scrollbar-thumb {
    left: auto;
    right: 0;
}

.custom-scrollbar-thumb:active {
    cursor: grabbing;
    background: #4b5563;
}

.custom-scrollbar-container:hover .custom-scrollbar-thumb {
    background: #4b5563;
    height: 8px;
    margin-top: -1px;
}

.product-slide-item {
    width: 100%;
    padding: 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}


#menu h2 {
    color: #1a365d;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
}

.product-slide-item .menu-item {
cursor: pointer;    /* background: #f5f5f5; */
    border-radius: 0;
    overflow: visible;
    /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);/ */
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    padding: 0;
}

/* .product-slide-item .menu-item:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
} */

.product-slide-item .menu-img {
    width: 100%;
    height: 280px;
    object-fit: contain;
    background: #f5f5f5;
    padding: 15px;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
}

.product-slide-item .menu-img:active {
    cursor: grabbing;
}

.product-slide-item .product-name {
    color: #1a365d;
    background: #f5f5f5;
    font-size: 18px;
    font-weight: 600;

    text-align: center;
    padding: 15px 15px;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
}

.product-slide-item .product-name:active {
    cursor: grabbing;
}

.product-slide-item .product-more-btn {
    background: #e80929;
    color: #fff;
    border: none;
    padding: 10px 25px;
    width: auto;
    max-width: 80%;
    margin: 0 auto 15px auto;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer !important;
    transition: background 0.3s ease;
    text-decoration: none;
    display: inline-block;
    border-radius: 0;
    pointer-events: auto;
    position: relative;
    z-index: 10;
}

.product-slide-item .product-more-btn:hover {
    background: #c2071f;
    color: #fff;
}

.product-slide-item .product-image-wrapper a {
    cursor: grab;
}

.product-slide-item .product-image-wrapper a:active {
    cursor: grabbing;
}

.product-slide-item .product-more-btn::after {
    content: " »";
    margin-right: 5px;
}

.new-badge {
    position: absolute;
    top: 10px;
    right: 0px;
    background: #e80929;
    color: #fff;
    padding: 0px 12px;
    font-size: 12px;
    font-weight: 600;
    z-index: 10;
    border-radius: 0;
}

.product-image-wrapper {
    position: relative;
    background: #f5f5f5;
}

@media (max-width: 1200px) {
    .product-slide-item {
        flex: 0 0 calc(33.333% - 14px);
        min-width: calc(33.333% - 14px);
    }
}

@media (max-width: 768px) {
    .product-slide-item {
        flex: 0 0 calc(50% - 10px);
        min-width: calc(50% - 10px);
    }
}

@media (max-width: 480px) {
    .product-slide-item {
        flex: 0 0 100%;
        min-width: 100%;
    }
}