/* ===== Cholan Cattle Feed - Website Styles ===== */

:root {
    --primary: #2d6a4f;
    --primary-dark: #1b4332;
    --primary-light: #40916c;
    --secondary: #e9c46a;
    --accent: #d4a373;
    --text-dark: #1f2937;
    --text-muted: #6b7280;
    --bg-light: #f8faf9;
    --bg-white: #ffffff;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --radius: 12px;
    --radius-sm: 8px;
    --transition: all 0.3s ease;
}

/* ===== Global ===== */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    padding-top: 76px;
    overflow-x: hidden;
}

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

/* ===== Header/Navbar ===== */
.website-header {
    background: var(--bg-white) !important;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.website-header.scrolled {
    box-shadow: var(--shadow-md);
}

.navbar-brand img {
    height: 45px;
    width: auto;
}

.navbar .nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    position: relative;
    transition: var(--transition);
}

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

.navbar .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

.header-icon-link {
    color: var(--text-dark);
    font-size: 1.25rem;
    position: relative;
    transition: var(--transition);
    padding: 0.25rem 0.5rem;
}

.header-icon-link:hover {
    color: var(--primary);
}

.cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    font-size: 0.65rem;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: white;
    font-weight: 600;
}

.site-search-form .input-group {
    border-radius: 50px;
    overflow: hidden;
    border: 2px solid #e5e7eb;
    transition: var(--transition);
}

.site-search-form .input-group:focus-within {
    border-color: var(--primary);
}

.site-search-form .form-control {
    border: none;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.site-search-form .btn {
    border: none;
    background: var(--primary);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 0 50px 50px 0;
}
/* =========================================
   MODERN ECOMMERCE HERO CAROUSEL
========================================= */

.ecom-hero-section {
    width: 100%;
    position: relative;
    background: #f7f8fa;
    overflow: hidden;
}

.ecom-hero-carousel {
    position: relative;
    overflow: hidden;
    background: #eef2ef;
}


/* =========================================
   BANNER
========================================= */

.ecom-banner {
    width: 100%;
    height: clamp(420px, 43vw, 660px);
    position: relative;
    overflow: hidden;

    background: linear-gradient(
        135deg,
        #155d36,
        #0c3c24
    );
}


/* Banner Image */

.ecom-banner-image {
    width: 100%;
    height: 100%;
    display: block;

    object-fit: cover;
    object-position: center;

    transform: scale(1.02);

    transition:
        transform 7s ease,
        opacity 0.5s ease;
}


/* Active slide zoom */

.carousel-item.active .ecom-banner-image {
    transform: scale(1.07);
}


/* Image error */

.ecom-banner.image-error {
    background: linear-gradient(
        135deg,
        #166534 0%,
        #15803d 45%,
        #22c55e 100%
    );
}


/* =========================================
   OVERLAY
========================================= */

.ecom-banner-overlay {
    position: absolute;
    inset: 0;

    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.48) 0%,
        rgba(0, 0, 0, 0.20) 42%,
        rgba(0, 0, 0, 0.02) 72%,
        rgba(0, 0, 0, 0) 100%
    );

    pointer-events: none;
}


/* =========================================
   BANNER CONTENT
========================================= */

.ecom-banner-content {
    position: absolute;
    z-index: 3;

    top: 50%;
    left: max(6%, calc((100vw - 1320px) / 2));

    transform: translateY(-50%);

    width: min(560px, 82%);

    color: #fff;
}


/* Label */

.ecom-banner-label {
    display: inline-flex;
    align-items: center;

    padding: 7px 15px;
    margin-bottom: 18px;

    border-radius: 50px;

    background: rgba(255, 255, 255, 0.16);

    border: 1px solid rgba(255, 255, 255, 0.3);

    backdrop-filter: blur(10px);

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 1.5px;
    text-transform: uppercase;
}


/* Heading */

.ecom-banner-content h1 {
    margin: 0 0 15px;

    max-width: 620px;

    font-size: clamp(35px, 4vw, 64px);

    line-height: 1.04;

    font-weight: 800;

    letter-spacing: -2px;

    color: #fff;

    text-shadow: 0 4px 25px rgba(0, 0, 0, 0.18);
}


/* Description */

.ecom-banner-content p {
    max-width: 500px;

    margin: 0 0 28px;

    font-size: clamp(15px, 1.3vw, 18px);

    line-height: 1.75;

    color: rgba(255, 255, 255, 0.9);
}


/* =========================================
   SHOP BUTTON
========================================= */

.ecom-banner-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    padding: 13px 27px;

    border-radius: 50px;

    background: #ffffff;

    color: #155d36 !important;

    text-decoration: none;

    font-size: 14px;
    font-weight: 700;

    border: none;

    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease;
}


.ecom-banner-btn i {
    transition: transform 0.3s ease;
}


.ecom-banner-btn:hover {
    background: #f3fff7;

    color: #155d36 !important;

    transform: translateY(-3px);

    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.20);
}


.ecom-banner-btn:hover i {
    transform: translateX(4px);
}


/* =========================================
   CONTENT ENTRY ANIMATION
========================================= */

.carousel-item .ecom-banner-label,
.carousel-item .ecom-banner-content h1,
.carousel-item .ecom-banner-content p,
.carousel-item .ecom-banner-btn {
    opacity: 0;
    transform: translateY(25px);
}


.carousel-item.active .ecom-banner-label {
    animation: ecomSlideUp 0.7s ease 0.15s forwards;
}


.carousel-item.active .ecom-banner-content h1 {
    animation: ecomSlideUp 0.8s ease 0.28s forwards;
}


.carousel-item.active .ecom-banner-content p {
    animation: ecomSlideUp 0.8s ease 0.40s forwards;
}


.carousel-item.active .ecom-banner-btn {
    animation: ecomSlideUp 0.8s ease 0.52s forwards;
}


@keyframes ecomSlideUp {

    from {
        opacity: 0;
        transform: translateY(25px);
    }

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


/* =========================================
   CAROUSEL PREVIOUS / NEXT BUTTON
========================================= */

.ecom-carousel-control {
    width: 54px;
    height: 54px;

    top: 50%;

    transform: translateY(-50%);

    opacity: 0;

    z-index: 10;

    background: transparent !important;

    border: none !important;

    outline: none !important;

    box-shadow: none !important;

    transition:
        opacity 0.3s ease,
        transform 0.3s ease;
}


.ecom-carousel-prev {
    left: 24px;
}


.ecom-carousel-next {
    right: 24px;
}


/* Show arrows only when carousel hover */

.ecom-hero-carousel:hover .ecom-carousel-control {
    opacity: 1;
}


/* Arrow circle */

.ecom-arrow {
    width: 52px;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.93);

    color: #1d4d34;

    font-size: 20px;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.16);

    transition:
        transform 0.3s ease,
        background 0.3s ease,
        box-shadow 0.3s ease;
}


/* Hover */

.ecom-carousel-control:hover .ecom-arrow {
    transform: scale(1.08);

    background: #ffffff;

    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.20);
}


/* =========================================
   FIX ARROW STUCK AFTER CLICK
========================================= */

.ecom-carousel-control:focus,
.ecom-carousel-control:active,
.ecom-carousel-control:focus-visible {
    outline: none !important;

    border: none !important;

    box-shadow: none !important;
}


/* Prevent Bootstrap focus style */

.ecom-carousel-control:focus .ecom-arrow,
.ecom-carousel-control:active .ecom-arrow,
.ecom-carousel-control:focus-visible .ecom-arrow {
    background: rgba(255, 255, 255, 0.93);

    transform: scale(1);

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.16);
}


/* Hover should still work after clicking */

.ecom-carousel-control:hover .ecom-arrow,
.ecom-carousel-control:focus:hover .ecom-arrow,
.ecom-carousel-control:active:hover .ecom-arrow {
    background: #ffffff;

    transform: scale(1.08);

    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.20);
}


/* Remove Bootstrap default control opacity */

.carousel-control-prev,
.carousel-control-next {
    opacity: 0;
}


.ecom-hero-carousel:hover .carousel-control-prev,
.ecom-hero-carousel:hover .carousel-control-next {
    opacity: 1;
}


/* =========================================
   INDICATORS
========================================= */

.ecom-indicators {
    margin-bottom: 24px;

    gap: 7px;

    z-index: 5;
}


.ecom-indicators [data-bs-target] {
    width: 8px;
    height: 8px;

    margin: 0;

    padding: 0;

    border: 0;

    border-radius: 50px;

    background-color: rgba(255, 255, 255, 0.7);

    opacity: 0.65;

    transition:
        width 0.35s ease,
        opacity 0.35s ease,
        background 0.35s ease;
}


.ecom-indicators [data-bs-target]:focus {
    outline: none;
    box-shadow: none;
}


.ecom-indicators .active {
    width: 32px;

    opacity: 1;

    background: #ffffff;
}


/* =========================================
   SMOOTH FADE
========================================= */

.carousel-fade .carousel-item {
    opacity: 0;

    transition-property: opacity;

    transition-duration: 0.75s;

    transition-timing-function: ease;
}


.carousel-fade .carousel-item.active {
    opacity: 1;
}


/* =========================================
   FALLBACK BANNER
========================================= */

.ecom-hero-fallback {
    height: 520px;

    display: flex;
    align-items: center;
    justify-content: center;

    position: relative;

    text-align: center;

    color: #ffffff;

    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(255, 255, 255, 0.15),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #0d4d2c,
            #198754
        );
}


.ecom-fallback-content {
    max-width: 600px;

    padding: 30px;
}


.ecom-fallback-content > span {
    display: inline-block;

    margin-bottom: 12px;

    text-transform: uppercase;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 2px;

    opacity: 0.85;
}


.ecom-fallback-content h1 {
    margin-bottom: 15px;

    font-size: clamp(38px, 5vw, 65px);

    font-weight: 800;

    letter-spacing: -2px;
}


.ecom-fallback-content p {
    margin-bottom: 28px;

    font-size: 18px;

    color: rgba(255, 255, 255, 0.85);
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 991px) {

    .ecom-banner {
        height: 320px;
    }


    .ecom-banner-content {
        left: 6%;

        width: 72%;
    }


    .ecom-banner-content h1 {
        font-size: 43px;
    }


    .ecom-carousel-control {
        width: 44px;
        height: 44px;

        opacity: 1;
    }


    .ecom-carousel-prev {
        left: 14px;
    }


    .ecom-carousel-next {
        right: 14px;
    }


    .ecom-arrow {
        width: 42px;
        height: 42px;

        font-size: 17px;
    }


    .carousel-control-prev,
    .carousel-control-next {
        opacity: 1;
    }
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 767px) {

    .ecom-banner {
        height: 230px;
    }


    .ecom-banner-image {
        object-position: center;
    }


    .ecom-banner-overlay {
        background: linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.58),
            rgba(0, 0, 0, 0.15)
        );
    }


    .ecom-banner-content {
        left: 24px;
        right: 24px;

        width: auto;
    }


    .ecom-banner-label {
        margin-bottom: 12px;

        padding: 6px 11px;

        font-size: 10px;
    }


    .ecom-banner-content h1 {
        margin-bottom: 12px;

        font-size: 33px;

        line-height: 1.1;

        letter-spacing: -1px;
    }


    .ecom-banner-content p {
        margin-bottom: 20px;

        font-size: 14px;

        line-height: 1.6;
    }


    .ecom-banner-btn {
        padding: 11px 20px;

        font-size: 13px;
    }


    /* Hide arrows on mobile */

    .ecom-carousel-control,
    .carousel-control-prev,
    .carousel-control-next {
        display: none !important;
    }


    .ecom-indicators {
        margin-bottom: 15px;
    }
}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 480px) {

    .ecom-banner {
        height: 180px;
    }


    .ecom-banner-content {
        left: 18px;
        right: 18px;
    }


    .ecom-banner-content h1 {
        font-size: 29px;
    }


    .ecom-banner-content p {
        font-size: 13px;
    }
}

/* ===== Section Titles ===== */
.section-title-wrapper {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary);
    margin: 0.75rem auto 0;
    border-radius: 2px;
}
/* =====================================================
   CATEGORIES - HORIZONTAL SCROLL DESIGN
===================================================== */

.categories-section {
    background: var(--bg-white);
    padding: 3rem 0;
    overflow: hidden;
}


/* =====================================================
   SCROLL WRAPPER
===================================================== */

.category-scroll-wrapper {
    position: relative;
}


/* =====================================================
   HORIZONTAL SCROLL CONTAINER
===================================================== */

.categories-scroll {
    display: flex;
    align-items: stretch;

    gap: 16px;

    overflow-x: auto;
    overflow-y: hidden;

    padding: 8px 4px 20px;

    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;

    -webkit-overflow-scrolling: touch;

    scrollbar-width: thin;
    scrollbar-color: #a9c9bb #edf2ef;
}


/* =====================================================
   CATEGORY CARD
===================================================== */

.category-card {
    flex: 0 0 185px;
    min-width: 185px;

    display: block;

    background: #ffffff;

    border: 1px solid #e4ebe7;
    border-radius: 16px;

    overflow: hidden;

    scroll-snap-align: start;

    box-shadow: 0 5px 18px rgba(20, 65, 48, 0.06);

    cursor: pointer;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}


.category-card:hover {
    transform: translateY(-5px);

    border-color: #2d7b5d;

    box-shadow: 0 14px 30px rgba(33, 123, 91, 0.14);
}


/* =====================================================
   CATEGORY IMAGE
===================================================== */

.category-card-img {
    width: 100%;
    height: 145px;

    display: block;

    object-fit: cover;

    background: #f3f7f5;

    transition: transform 0.45s ease;
}


.category-card:hover .category-card-img {
    transform: scale(1.06);
}


/* =====================================================
   CATEGORY BODY
===================================================== */

.category-card-body {
    min-height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 12px 10px;

    text-align: center;

    background: #ffffff;
}


.category-card-body h6 {
    margin: 0;

    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;

    color: #17251f;

    transition: color 0.3s ease;
}


.category-card:hover .category-card-body h6 {
    color: #217b5b;
}


/* =====================================================
   SCROLLBAR
===================================================== */

.categories-scroll::-webkit-scrollbar {
    height: 5px;
}


.categories-scroll::-webkit-scrollbar-track {
    background: #edf2ef;
    border-radius: 20px;
}


.categories-scroll::-webkit-scrollbar-thumb {
    background: #a9c9bb;
    border-radius: 20px;
}


.categories-scroll::-webkit-scrollbar-thumb:hover {
    background: #217b5b;
}


/* =====================================================
   LEFT / RIGHT ARROWS
===================================================== */

.category-scroll-arrow {
    position: absolute;

    top: 50%;
    transform: translateY(-50%);

    width: 44px;
    height: 44px;

    border: 1px solid #e1e8e4;
    border-radius: 50%;

    background: #ffffff;
    color: #217b5b;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 18px;

    cursor: pointer;

    z-index: 10;

    box-shadow: 0 8px 22px rgba(25, 75, 56, 0.14);

    transition:
        background 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


/* Left Arrow */

.category-scroll-left {
    left: -22px;
}


/* Right Arrow */

.category-scroll-right {
    right: -22px;
}


/* Arrow Hover */

.category-scroll-arrow:hover {
    background: #217b5b;
    color: #ffffff;

    border-color: #217b5b;

    transform: translateY(-50%) scale(1.08);

    box-shadow: 0 10px 25px rgba(33, 123, 91, 0.25);
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 991px) {

    .categories-scroll {
        gap: 14px;
    }

    .category-card {
        flex: 0 0 170px;
        min-width: 170px;
    }

    .category-card-img {
        height: 135px;
    }
}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 576px) {

    .categories-section {
        padding: 2rem 0;
    }

    .categories-scroll {
        gap: 11px;
        padding: 5px 28px 15px 2px;
    }

    .category-card {
        flex: 0 0 145px;
        min-width: 145px;

        border-radius: 13px;
    }

    .category-card-img {
        height: 115px;
    }

    .category-card-body {
        min-height: 52px;
        padding: 10px 8px;
    }

    .category-card-body h6 {
        font-size: 12px;
    }


    /* Mobile Arrows */

    .category-scroll-arrow {
        width: 36px;
        height: 36px;

        font-size: 14px;
    }

    .category-scroll-left {
        left: 5px;
    }

    .category-scroll-right {
        right: 5px;
    }
}

/* ===== Product Cards ===== */
.product-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid #e5e7eb;
    height: 100%;
    position: relative;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.product-card-img-wrapper {
    position: relative;
    overflow: hidden;
    height: 200px;
}

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

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

.product-card-wishlist {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ef4444;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    opacity: 0;
}

.product-card:hover .product-card-wishlist {
    opacity: 1;
}

/* A wishlisted (active) heart stays visible even without hover,
   so it remains stable after a page refresh. */
.product-card-wishlist.active {
    opacity: 1;
    background: #ffe4e4;
    color: #ef4444;
}

.product-card-wishlist:hover {
    background: #fee2e2;
    transform: scale(1.1);
}

.product-card-body {
    padding: 1rem;
}

.product-card-category {
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}

.product-card-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.4em;
}

.product-card-prices {
    margin-bottom: 0.5rem;
}

.product-card-price-item {
    font-size: 0.85rem;
    color: var(--text-dark);
    margin-bottom: 0.15rem;
}

.product-card-price-item .price-value {
    font-weight: 700;
    color: var(--primary);
}

.product-card-price-item .price-unit {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.product-card-stock {
    display: inline-block;
    font-size: 0.7rem;
    padding: 0.15rem 0.5rem;
    border-radius: 50px;
    font-weight: 500;
}

.stock-in {
    background: #d1fae5;
    color: #065f46;
}

.stock-out {
    background: #fee2e2;
    color: #991b1b;
}

.product-card-footer {
    padding: 0 1rem 1rem;
    display: flex;
    gap: 0.5rem;
}

.btn-add-cart {
    flex: 1;
    padding: 0.45rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 0.85rem;
    transition: var(--transition);
    cursor: pointer;
}

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

.btn-view-detail {
    padding: 0.45rem 1rem;
    background: transparent;
    color: var(--primary);
    border: 1.5px solid var(--primary);
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 0.85rem;
    transition: var(--transition);
}

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

/* ===== Promo Section ===== */
.promo-section {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.promo-section h2 {
    font-weight: 700;
    font-size: 2rem;
}

.promo-section .btn-promo {
    background: var(--secondary);
    color: var(--text-dark);
    border: none;
    padding: 0.75rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

.promo-section .btn-promo:hover {
    background: #f0d060;
    transform: translateY(-2px);
}

/* ===== Footer ===== */
.website-footer {
    background: #0f172a;
    color: #cbd5e1;
    padding: 3rem 0 0;
}

.website-footer h5 {
    color: white;
    font-weight: 600;
    margin-bottom: 1.25rem;
    font-size: 1.1rem;
}

.website-footer p {
    font-size: 0.9rem;
    line-height: 1.7;
}

.website-footer a {
    color: #94a3b8;
    display: block;
    padding: 0.2rem 0;
    font-size: 0.9rem;
    transition: var(--transition);
}

.website-footer a:hover {
    color: var(--primary-light);
    padding-left: 3px;
}

.footer-social a {
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    margin-right: 0.5rem;
    color: white;
    font-size: 1rem;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    color: white;
    padding-left: 0;
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 1.5rem 0;
    margin-top: 2rem;
    font-size: 0.85rem;
    text-align: center;
    color: #64748b;
}

/* ===== Scroll Reveal Animation ===== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Back to Top ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

/* ===== Mobile Responsive ===== */
@media (max-width: 991.98px) {
    body {
        padding-top: 66px;
    }

    .hero-carousel .carousel-item {
        height: 280px;
    }

    .hero-caption-title {
        font-size: 1.5rem;
    }

    .hero-caption-subtitle {
        font-size: 0.9rem;
    }

    .navbar-brand img {
        height: 35px;
    }

    .category-card {
        min-width: 120px;
    }

    .category-card-img {
        height: 100px;
    }

    .product-card-img-wrapper {
        height: 160px;
    }

    .section-title {
        font-size: 1.4rem;
    }
}

@media (max-width: 575.98px) {
    .hero-carousel .carousel-item {
        height: 220px;
    }

    .hero-caption-title {
        font-size: 1.2rem;
    }

    .hero-caption-subtitle {
        font-size: 0.8rem;
    }

    .hero-caption-btn {
        font-size: 0.8rem;
        padding: 0.4rem 1.25rem;
    }

    .product-card-img-wrapper {
        height: 140px;
    }

    .product-card-body {
        padding: 0.75rem;
    }

    .product-card-name {
        font-size: 0.85rem;
    }
}

/* ===== Bootstrap Overrides ===== */
.btn-primary {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
}

.btn-primary:hover {
    background-color: var(--primary-dark) !important;
    border-color: var(--primary-dark) !important;
}

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

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

.page-link {
    color: var(--primary);
}

.page-item.active .page-link {
    background-color: var(--primary);
    border-color: var(--primary);
}

/* ===== Product Detail Page ===== */
.product-detail-img-main {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--radius);
}

.product-detail-thumbs {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.75rem;
    overflow-x: auto;
}

.product-detail-thumb {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    flex-shrink: 0;
}

.product-detail-thumb.active,
.product-detail-thumb:hover {
    border-color: var(--primary);
}

.price-box {
    background: var(--bg-light);
    padding: 1.25rem;
    border-radius: var(--radius-sm);
}

.price-box .price-item {
    font-weight: 600;
    color: var(--text-dark);
}

.price-box .price-value {
    color: var(--primary);
    font-size: 1.25rem;
}

/* ===== Category Products Page ===== */
.category-header {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
    color: white;
    padding: 2rem 0;
    text-align: center;
}

.category-header h1 {
    font-weight: 700;
    font-size: 2rem;
}

.category-header p {
    opacity: 0.9;
    margin: 0;
}


/* =====================================================
   MNC SEPARATE CATEGORY COLUMN SECTION
===================================================== */

.mnc-category-grid-section {
    position: relative;
    padding: 75px 0;
    background: #f7faf8;
    overflow: hidden;
}

/* Section heading */

.mnc-category-grid-header {
    max-width: 650px;
    margin: 0 auto 42px;
    text-align: center;
}

.mnc-category-grid-label {
    display: inline-block;
    margin-bottom: 8px;
    padding: 6px 15px;
    border-radius: 30px;
    background: #e4f4eb;
    color: #23704e;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.mnc-category-grid-title {
    margin: 0;
    color: #14241c;
    font-size: clamp(29px, 4vw, 42px);
    font-weight: 800;
    line-height: 1.2;
}

.mnc-category-grid-subtitle {
    margin: 12px 0 0;
    color: #6c7971;
    font-size: 15px;
    line-height: 1.7;
}

/* Separate columns */

.mnc-category-grid-wrapper {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

/* Every category column */

.mnc-category-grid-column {
    min-width: 0;
}

/* Category card */

.mnc-category-grid-card {
    display: block;
    height: 100%;
    overflow: hidden;
    border: 1px solid #e1e9e4;
    border-radius: 18px;
    background: #ffffff;
    color: inherit;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(26, 70, 51, 0.07);
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

.mnc-category-grid-card:hover {
    border-color: rgba(35, 112, 78, 0.4);
    color: inherit;
    text-decoration: none;
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(26, 70, 51, 0.14);
}

/* Image area */

.mnc-category-grid-image-box {
    position: relative;
    height: 210px;
    overflow: hidden;
    background: #edf5f0;
}

.mnc-category-grid-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s ease;
}

.mnc-category-grid-card:hover .mnc-category-grid-image {
    transform: scale(1.08);
}

.mnc-category-grid-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        transparent 40%,
        rgba(10, 36, 25, 0.35) 100%
    );
}

.mnc-category-grid-count {
    position: absolute;
    top: 15px;
    left: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 13px;
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.9);
    color: #23704e;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    backdrop-filter: blur(7px);
}

/* Card content */

.mnc-category-grid-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 92px;
    padding: 20px;
}

.mnc-category-grid-text {
    min-width: 0;
}

.mnc-category-grid-text h3 {
    display: -webkit-box;
    margin: 0 0 6px;
    overflow: hidden;
    color: #17271f;
    font-size: 17px;
    font-weight: 750;
    line-height: 1.4;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    transition: color 0.3s ease;
}

.mnc-category-grid-text span {
    color: #7b8780;
    font-size: 13px;
    font-weight: 500;
}

.mnc-category-grid-card:hover .mnc-category-grid-text h3 {
    color: #23704e;
}

/* Arrow */

.mnc-category-grid-arrow {
    display: inline-flex;
    flex: 0 0 43px;
    align-items: center;
    justify-content: center;
    width: 43px;
    height: 43px;
    border: 1px solid #cfe1d7;
    border-radius: 50%;
    background: #edf7f1;
    color: #23704e;
    font-size: 16px;
    transition: all 0.3s ease;
}

.mnc-category-grid-card:hover .mnc-category-grid-arrow {
    border-color: #23704e;
    background: #23704e;
    color: #ffffff;
    transform: rotate(45deg);
}

/* Empty state */

.mnc-category-grid-empty {
    padding: 50px 20px;
    border: 1px dashed #bcd5c8;
    border-radius: 18px;
    background: #ffffff;
    text-align: center;
}

.mnc-category-grid-empty i {
    display: block;
    margin-bottom: 14px;
    color: #23704e;
    font-size: 40px;
}

.mnc-category-grid-empty h4 {
    margin-bottom: 6px;
    color: #17271f;
    font-weight: 700;
}

.mnc-category-grid-empty p {
    margin: 0;
    color: #7b8780;
}

/* Large tablet: 3 columns */

@media (max-width: 1199px) {
    .mnc-category-grid-wrapper {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Tablet: 2 columns */

@media (max-width: 767px) {
    .mnc-category-grid-section {
        padding: 55px 0;
    }

    .mnc-category-grid-header {
        margin-bottom: 30px;
    }

    .mnc-category-grid-wrapper {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .mnc-category-grid-image-box {
        height: 180px;
    }

    .mnc-category-grid-content {
        min-height: 85px;
        padding: 16px;
    }

    .mnc-category-grid-text h3 {
        font-size: 15px;
    }

    .mnc-category-grid-arrow {
        flex-basis: 38px;
        width: 38px;
        height: 38px;
    }
}

/* Mobile: one category per row */

@media (max-width: 480px) {
    .mnc-category-grid-wrapper {
        grid-template-columns: 1fr;
    }

    .mnc-category-grid-image-box {
        height: 210px;
    }

    .mnc-category-grid-title {
        font-size: 28px;
    }

    .mnc-category-grid-subtitle {
        font-size: 14px;
    }
}



   /* =========================================================
       PRODUCTS PAGE — UNIQUE CLASSES
    ========================================================= */

    .mnc-products-page {
        min-height: 100vh;
        padding: 40px 0 80px;
        background:
            radial-gradient(circle at 5% 10%, rgba(34, 112, 78, 0.07), transparent 24%),
            radial-gradient(circle at 95% 90%, rgba(34, 112, 78, 0.06), transparent 25%),
            #f7faf8;
    }

    /* Breadcrumb */

    .mnc-products-breadcrumb {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 8px;
        margin-bottom: 22px;
        color: #78847d;
        font-size: 14px;
    }

    .mnc-products-breadcrumb a {
        color: #23704e;
        font-weight: 600;
        text-decoration: none;
    }

    .mnc-products-breadcrumb a:hover {
        color: #174e36;
    }

    .mnc-products-breadcrumb i {
        font-size: 11px;
    }

    /* Page heading */

    .mnc-products-header {
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
        gap: 25px;
        margin-bottom: 28px;
    }

    .mnc-products-heading-content {
        max-width: 650px;
    }

    .mnc-products-label {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        margin-bottom: 8px;
        color: #23704e;
        font-size: 12px;
        font-weight: 800;
        letter-spacing: 1.4px;
        text-transform: uppercase;
    }

    .mnc-products-label::before {
        content: "";
        width: 30px;
        height: 2px;
        border-radius: 10px;
        background: #23704e;
    }

    .mnc-products-title {
        margin: 0;
        color: #15251d;
        font-size: clamp(29px, 4vw, 43px);
        font-weight: 800;
        line-height: 1.2;
    }

    .mnc-products-subtitle {
        margin: 10px 0 0;
        color: #718078;
        font-size: 15px;
        line-height: 1.7;
    }

    /* Search and filter toolbar */

    .mnc-products-toolbar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 18px;
        margin-bottom: 28px;
        padding: 17px;
        border: 1px solid #e1e9e4;
        border-radius: 18px;
        background: #ffffff;
        box-shadow: 0 8px 28px rgba(30, 78, 56, 0.06);
    }

    .mnc-products-search-form {
        display: flex;
        flex: 1;
        max-width: 550px;
    }

    .mnc-products-search-box {
        position: relative;
        width: 100%;
    }

    .mnc-products-search-box > i {
        position: absolute;
        top: 50%;
        left: 17px;
        color: #75827b;
        font-size: 16px;
        transform: translateY(-50%);
        pointer-events: none;
    }

    .mnc-products-search-input {
        width: 100%;
        height: 48px;
        padding: 10px 118px 10px 46px;
        border: 1px solid #dce6e0;
        border-radius: 12px;
        outline: none;
        background: #f9fbfa;
        color: #17261f;
        font-size: 14px;
        transition: all 0.25s ease;
    }

    .mnc-products-search-input:focus {
        border-color: #23704e;
        background: #ffffff;
        box-shadow: 0 0 0 4px rgba(35, 112, 78, 0.09);
    }

    .mnc-products-search-button {
        position: absolute;
        top: 5px;
        right: 5px;
        height: 38px;
        padding: 0 18px;
        border: 0;
        border-radius: 9px;
        background: #23704e;
        color: #ffffff;
        font-size: 13px;
        font-weight: 700;
        transition: all 0.25s ease;
    }

    .mnc-products-search-button:hover {
        background: #174f37;
    }

    .mnc-products-toolbar-right {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .mnc-products-result-count {
        white-space: nowrap;
        color: #66756d;
        font-size: 13px;
        font-weight: 600;
    }

    .mnc-products-result-count strong {
        color: #23704e;
    }

    .mnc-products-sort-select {
        height: 45px;
        min-width: 175px;
        padding: 8px 38px 8px 14px;
        border: 1px solid #dce6e0;
        border-radius: 11px;
        outline: none;
        background-color: #ffffff;
        color: #26372e;
        font-size: 13px;
        font-weight: 600;
        cursor: pointer;
    }

    .mnc-products-sort-select:focus {
        border-color: #23704e;
        box-shadow: 0 0 0 3px rgba(35, 112, 78, 0.08);
    }

    /* Product grid */

    .mnc-products-grid {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 22px;
    }

    .mnc-product-grid-item {
        min-width: 0;
        opacity: 0;
        transform: translateY(22px);
        animation: mncProductFadeUp 0.55s ease forwards;
    }

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

    /* Clear search */

    .mnc-products-clear-search {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        margin-top: 12px;
        color: #23704e;
        font-size: 13px;
        font-weight: 700;
        text-decoration: none;
    }

    .mnc-products-clear-search:hover {
        color: #174e36;
    }

    /* Empty state */

    .mnc-products-empty {
        padding: 65px 25px;
        border: 1px dashed #bcd5c8;
        border-radius: 22px;
        background: #ffffff;
        text-align: center;
        box-shadow: 0 10px 35px rgba(30, 78, 56, 0.05);
    }

    .mnc-products-empty-icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 82px;
        height: 82px;
        margin-bottom: 20px;
        border-radius: 50%;
        background: #e9f6ef;
        color: #23704e;
        font-size: 34px;
    }

    .mnc-products-empty h3 {
        margin: 0 0 8px;
        color: #192a21;
        font-size: 23px;
        font-weight: 750;
    }

    .mnc-products-empty p {
        max-width: 450px;
        margin: 0 auto;
        color: #75827b;
        font-size: 14px;
        line-height: 1.7;
    }

    .mnc-products-empty-button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        margin-top: 22px;
        padding: 12px 22px;
        border-radius: 11px;
        background: #23704e;
        color: #ffffff;
        font-size: 14px;
        font-weight: 700;
        text-decoration: none;
        transition: all 0.25s ease;
    }

    .mnc-products-empty-button:hover {
        background: #174f37;
        color: #ffffff;
        transform: translateY(-2px);
    }

    /* Pagination */

    .mnc-products-pagination {
        display: flex;
        justify-content: center;
        margin-top: 45px;
    }

    .mnc-products-pagination .pagination {
        display: flex;
        gap: 7px;
        margin: 0;
    }

    .mnc-products-pagination .page-item .page-link {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 42px;
        height: 42px;
        padding: 7px 13px;
        border: 1px solid #dce6e0;
        border-radius: 10px;
        background: #ffffff;
        color: #31453a;
        font-size: 13px;
        font-weight: 700;
        box-shadow: none;
    }

    .mnc-products-pagination .page-item.active .page-link {
        border-color: #23704e;
        background: #23704e;
        color: #ffffff;
    }

    .mnc-products-pagination .page-item .page-link:hover {
        border-color: #23704e;
        background: #edf7f1;
        color: #23704e;
    }

    .mnc-products-pagination .page-item.disabled .page-link {
        color: #a4aea8;
        pointer-events: none;
    }

    /* Loader */

    .mnc-products-loader {
        position: fixed;
        z-index: 9999;
        inset: 0;
        display: none;
        align-items: center;
        justify-content: center;
        background: rgba(255, 255, 255, 0.78);
        backdrop-filter: blur(3px);
    }

    .mnc-products-loader.mnc-products-loader-show {
        display: flex;
    }

    .mnc-products-loader-spinner {
        width: 46px;
        height: 46px;
        border: 4px solid #dcece4;
        border-top-color: #23704e;
        border-radius: 50%;
        animation: mncProductSpinner 0.8s linear infinite;
    }

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

    /* Responsive */

    @media (max-width: 1199px) {
        .mnc-products-grid {
            grid-template-columns: repeat(3, minmax(0, 1fr));
        }
    }

    @media (max-width: 991px) {
        .mnc-products-header {
            display: block;
        }

        .mnc-products-toolbar {
            align-items: stretch;
            flex-direction: column;
        }

        .mnc-products-search-form {
            max-width: 100%;
        }

        .mnc-products-toolbar-right {
            justify-content: space-between;
        }
    }

    @media (max-width: 767px) {
        .mnc-products-page {
            padding: 28px 0 60px;
        }

        .mnc-products-header {
            margin-bottom: 22px;
        }

        .mnc-products-title {
            font-size: 29px;
        }

        .mnc-products-grid {
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 14px;
        }

        .mnc-products-toolbar {
            padding: 13px;
            border-radius: 14px;
        }

        .mnc-products-toolbar-right {
            align-items: stretch;
            flex-direction: column;
        }

        .mnc-products-sort-select {
            width: 100%;
        }
    }

    @media (max-width: 420px) {
        .mnc-products-page .container {
            padding-right: 10px;
            padding-left: 10px;
        }

        .mnc-products-grid {
            gap: 10px;
        }

        .mnc-products-search-input {
            padding-right: 100px;
        }

        .mnc-products-search-button {
            padding: 0 13px;
        }

        .mnc-products-subtitle {
            font-size: 14px;
        }
    }

    /* Custom product pagination */

.mnc-custom-pagination-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 42px;
    padding: 10px 0;
}

.mnc-custom-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 7px;
    margin: 0;
    padding: 8px;
    list-style: none;
    border: 1px solid #e1e9e4;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(30, 78, 56, 0.08);
}

.mnc-page-item {
    margin: 0;
    padding: 0;
}

.mnc-page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 40px;
    height: 40px;
    padding: 7px 13px;
    border: 1px solid transparent;
    border-radius: 9px;
    background: transparent;
    color: #53635a;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    transition: all 0.25s ease;
}

a.mnc-page-link:hover {
    border-color: #c9ddd2;
    background: #edf7f1;
    color: #23704e;
    text-decoration: none;
    transform: translateY(-2px);
}

.mnc-page-active .mnc-page-link {
    border-color: #23704e;
    background: #23704e;
    color: #ffffff;
    box-shadow: 0 5px 13px rgba(35, 112, 78, 0.22);
}

.mnc-page-disabled .mnc-page-link {
    color: #b4bdb8;
    cursor: not-allowed;
    pointer-events: none;
}

.mnc-page-link i {
    font-size: 12px;
}

@media (max-width: 575px) {
    .mnc-custom-pagination-wrapper {
        margin-top: 30px;
    }

    .mnc-custom-pagination {
        gap: 4px;
        padding: 6px;
    }

    .mnc-page-link {
        min-width: 35px;
        height: 35px;
        padding: 6px 9px;
        font-size: 13px;
    }

    .mnc-page-label {
        display: none;
    }
}


/* =====================================================
   SWEETALERT - MNC CATTLE FEED THEME
===================================================== */

.mnc-swal-popup {
    width: 410px !important;
    padding: 28px 28px 24px !important;

    border: 1px solid #e5e9e7 !important;
    border-radius: 16px !important;

    background: #ffffff !important;

    font-family: inherit !important;

    box-shadow:
        0 18px 55px rgba(15, 27, 47, 0.18) !important;
}


/* =====================================================
   ICON
===================================================== */

.mnc-swal-popup .swal2-icon {
    width: 62px !important;
    height: 62px !important;

    margin: 4px auto 18px !important;

    border-width: 3px !important;
}


/* Warning */

.mnc-swal-popup .swal2-icon.swal2-warning {
    border-color: #e0a33b !important;
    color: #e0a33b !important;
}


/* Error */

.mnc-swal-popup .swal2-icon.swal2-error {
    border-color: #dc4c4c !important;
    color: #dc4c4c !important;
}


/* Success */

.mnc-swal-popup .swal2-icon.swal2-success {
    border-color: #2f7759 !important;
}

.mnc-swal-popup .swal2-success-ring {
    border-color: rgba(47, 119, 89, 0.22) !important;
}

.mnc-swal-popup .swal2-success-line-tip,
.mnc-swal-popup .swal2-success-line-long {
    background-color: #2f7759 !important;
}


/* =====================================================
   TITLE
===================================================== */

.mnc-swal-popup .swal2-title {
    margin: 0 0 9px !important;
    padding: 0 !important;

    color: #101a2f !important;

    font-size: 22px !important;
    font-weight: 700 !important;

    line-height: 1.35 !important;
}


/* =====================================================
   MESSAGE
===================================================== */

.mnc-swal-popup .swal2-html-container {
    max-width: 340px;

    margin: 0 auto !important;
    padding: 0 !important;

    color: #6f7774 !important;

    font-size: 14px !important;
    font-weight: 400 !important;

    line-height: 1.65 !important;
}


/* =====================================================
   BUTTON AREA
===================================================== */

.mnc-swal-popup .swal2-actions {
    width: 100% !important;

    display: flex !important;
    justify-content: center !important;

    gap: 10px !important;

    margin: 24px 0 0 !important;
}


/* =====================================================
   COMMON BUTTON
===================================================== */

.mnc-swal-confirm,
.mnc-swal-cancel {
    min-height: 44px !important;

    margin: 0 !important;
    padding: 0 20px !important;

    border-radius: 8px !important;

    font-family: inherit !important;

    font-size: 14px !important;
    font-weight: 600 !important;

    box-shadow: none !important;

    transition: all 0.25s ease !important;
}


/* =====================================================
   CONFIRM BUTTON - GREEN THEME
===================================================== */

.mnc-swal-confirm {
    border: 1px solid #2f7759 !important;

    background: #2f7759 !important;
    color: #ffffff !important;
}

.mnc-swal-confirm:hover {
    border-color: #245f47 !important;

    background: #245f47 !important;
    color: #ffffff !important;

    transform: translateY(-1px);

    box-shadow:
        0 7px 16px rgba(47, 119, 89, 0.22) !important;
}


/* =====================================================
   CANCEL BUTTON
===================================================== */

.mnc-swal-cancel {
    border: 1px solid #d9dfdc !important;

    background: #ffffff !important;
    color: #101a2f !important;
}

.mnc-swal-cancel:hover {
    border-color: #bfc9c4 !important;

    background: #f5f7f6 !important;
    color: #101a2f !important;
}


/* =====================================================
   DELETE / DANGER CONFIRM
===================================================== */

.mnc-swal-confirm.mnc-swal-danger {
    border-color: #dc3545 !important;

    background: #dc3545 !important;
    color: #ffffff !important;
}

.mnc-swal-confirm.mnc-swal-danger:hover {
    border-color: #bd2d3b !important;

    background: #bd2d3b !important;

    box-shadow:
        0 7px 16px rgba(220, 53, 69, 0.20) !important;
}


/* =====================================================
   CLOSE BUTTON
===================================================== */

.mnc-swal-popup .swal2-close {
    width: 34px !important;
    height: 34px !important;

    top: 12px !important;
    right: 12px !important;

    border-radius: 50% !important;

    color: #808985 !important;

    font-size: 24px !important;

    transition: all 0.2s ease !important;
}

.mnc-swal-popup .swal2-close:hover {
    background: #f3f6f4 !important;

    color: #101a2f !important;
}


/* =====================================================
   BACKDROP
===================================================== */

.swal2-container.swal2-backdrop-show {
    background: rgba(15, 26, 47, 0.48) !important;

    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 576px) {

    .mnc-swal-popup {
        width: calc(100% - 28px) !important;

        padding: 25px 20px 20px !important;

        border-radius: 14px !important;
    }

    .mnc-swal-popup .swal2-title {
        font-size: 20px !important;
    }

    .mnc-swal-popup .swal2-html-container {
        font-size: 13px !important;
    }

    .mnc-swal-popup .swal2-actions {
        flex-direction: column-reverse !important;
    }

    .mnc-swal-confirm,
    .mnc-swal-cancel {
        width: 100% !important;
    }
}


/* =====================================================
   LIVE SEARCH DROPDOWN STYLES
===================================================== */

.site-search-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 8px;
    background: #ffffff;
    border: 1.5px solid #e2f0e8;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(45,106,79,0.12), 0 2px 8px rgba(0,0,0,0.06);
    max-height: 450px;
    overflow-y: auto;
    z-index: 1000;
    animation: searchDropdownFadeIn 0.2s ease;
}

@keyframes searchDropdownFadeIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.site-search-section-title {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px 6px;
    font-size: 11px;
    font-weight: 700;
    color: #95b9a5;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.site-search-section-title i { font-size: 13px; }

.site-search-category-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    color: #333;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
    font-size: 14px;
    font-weight: 500;
}

.site-search-category-item:hover {
    background: #f0f9f4;
    color: #2d6a4f;
}

.site-search-category-item i { color: #95b9a5; font-size: 15px; }
.site-search-category-item:hover i { color: #2d6a4f; }

.site-search-divider { height: 1px; background: #e8f5ee; margin: 4px 16px; }

.site-search-product-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    color: #333;
    text-decoration: none;
    transition: background 0.15s;
}

.site-search-product-item:hover { background: #f0f9f4; }

.site-search-product-image {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
    background: #f8fdf9;
    border: 1px solid #e8f5ee;
}

.site-search-product-image img { width: 100%; height: 100%; object-fit: contain; }

.site-search-product-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c1ddd0;
    font-size: 18px;
}

.site-search-product-info { flex: 1; min-width: 0; }

.site-search-product-name {
    font-size: 13px;
    font-weight: 600;
    color: #17231e;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-bottom: 4px;
}

.site-search-product-name strong {
    color: #2d6a4f;
    background: #eef7f3;
    padding: 0 2px;
    border-radius: 2px;
}

.site-search-product-status {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 20px;
}

.site-search-product-status.in-stock { background: #e7f8ef; color: #177447; }
.site-search-product-status.out-of-stock { background: #fff0f0; color: #c0392b; }

.site-search-no-results {
    padding: 30px 16px;
    text-align: center;
    color: #8b9590;
    font-size: 14px;
}

.site-search-footer {
    padding: 8px 16px 12px;
    border-top: 1px solid #e8f5ee;
    margin-top: 4px;
}

.site-search-view-all {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px;
    color: #2d6a4f;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    background: #f0f9f4;
    border-radius: 10px;
    transition: background 0.2s, transform 0.2s;
}

.site-search-view-all:hover {
    background: #e0f2e9;
    transform: translateY(-1px);
}

@media (max-width: 991.98px) {
    .site-search-dropdown { max-width: 100%; max-height: 350px; }
}
