body {
    background-color: #F8F9FA;
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    position: relative;
}

.btn,
.alert,
.card,
.form-select,
.form-control,
.model-body {
    border-radius: 3px;
}

.btn {
    font-size: 14px;
}

.btn-xs {
    font-size: 12px;
    padding: 2px 12px;
}

.btn-primary {
    background-color: #256A51;
    border-color: #195841;
}

.btn-primary:hover,
.btn-primary:active {
    background-color: #195841 !important;
    border-color: #195841 !important;
}

.h1 {
    color: #cf0c0c;
}

.btn-primary:disabled {
    background-color: #56af8e;
}

.text-success {
    color: #FFF;
}

/*.text-success{ color: #256A51;}*/
.bg-success {
    color: #256A51;
}

.topbar {
    background-color: #256A51;
    padding: 10px;
    color: #fff;
    font-size: 12px;
}

.flex-between-center {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flex-center-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.topbar ul {
    list-style: none;
    display: inline;
}

.topbar ul li {
    display: inline;
}

.topbar li a {
    display: inline-block;
    color: #fff;
    text-decoration: none;
    padding: 0 10px;
}

header {
    background-color: #72da03;
    padding: 15px 0;
}

.logo a {
    font-size: 40px;
    text-decoration: none;
    color: #256A51;
    font-weight: 700;
}

.main-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.main-menu li a {
    display: inline-block;
    padding: 0 20px;
    font-size: 16px;
    text-transform: uppercase;
    color: #256A51;
    text-decoration: none;
}

.main-menu li:hover a {
    color: #000;
}

.mobile-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-menu li {
    border-bottom: solid 1px #ddd;
}

.mobile-menu li a {
    display: block;
    padding: 8px 10px 8px 0;
    color: #256A51;
    text-decoration: none;
}

.banner {
    position: relative;
}

.banner .hero {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.home-section {
    padding: 0px 0;
}

.deal-wrapper {
    background-color: #FFF6F5;
    position: relative;
}

.deal-of-day-wrapper {
    margin: 40px 0 40px 40px;
    /* Reduced from 120px */
}

.deal-of-day-img {
    position: absolute;
    left: 50%;
}

.gs-service-section {
    background-color: #1f0300;
    color: #fff;
}

.single-service {
    display: flex;
    gap: 12px;
    align-items: center;
}

.single-service img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.service-title {
    margin: 0;
}

.service-desc {
    font-size: 14px;
    margin: 0;
}

.our-product {
    background-color: #fff;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.our-product-img {
    height: 280px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 20px;
}

.our-product-img .discount {
    position: absolute;
    left: 0;
    top: 0;
    padding: 4px 10px;
    background-color: #476F00;
    font-size: 12px;
    color: #fff;
    border-radius: 8px 0;
    z-index: 2;
}

.our-product-img img {
    object-fit: contain;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    transition: transform 0.3s ease;
}

.our-product:hover .our-product-img img {
    transform: scale(1.05);
}

.our-product-info {
    padding: 12px;
}

.our-product:hover {
    box-shadow: 1px 1px 10px #ddd;
}

.errors ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Product Details */
.hr {
    border: dashed 1px #ddd;
    margin: 20px 0;
}

footer {
    background-color: #1F0300;
    padding: 50px 0;
    color: #fff;
}

footer h4 {
    margin-bottom: 20px;
}

footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

footer ul li {
    margin-bottom: 10px;
    display: flex;
    gap: 10px;
}

footer ul li a {
    color: #ddd;
    text-decoration: none;
}

footer ul li a:hvoer {
    color: #fff;
}

@keyframes slideInUp {
    from {
        transform: translateY(40px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideInDown {
    from {
        transform: translateY(0);
        opacity: 0;
    }

    to {
        transform: translateY(40px);
        opacity: 1;
    }
}

#toast {
    position: fixed;
    bottom: 10px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.mview-cart {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
}





@media (max-width: 786px) {
    .banner {
        display: none !important;
    }
}



/* Hide by default (desktop) */
.mobile-bottom-menu {
    display: none;
}

/* Show only on mobile */
@media (max-width: 768px) {
    .mobile-bottom-menu {
        display: flex;
        justify-content: space-around;
        align-items: center;
        padding: 8px 0;
        background: #ffffff;
        border-top: 1px solid #ddd;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        z-index: 9999;
    }

    .mobile-bottom-menu .menu-item {
        text-align: center;
        color: #555;
        text-decoration: none;
        font-size: 12px;
        display: flex;
        flex-direction: column;
        gap: 2px;
    }

    .mobile-bottom-menu .menu-item i {
        font-size: 20px;
        color: #555;
    }
}

/* --- New Modern Design Additions --- */

/* Hero Section */
.hero-section {
    /* Use a nice green gradient as base/fallback */
    background: linear-gradient(135deg, #256A51 0%, #72da03 100%);
    /* We will override this inline in default.php with the image if available */
    color: white;
    padding: 120px 0;
    text-align: center;
    margin-bottom: 40px;
    border-radius: 0 0 50px 50px;
    position: relative;
    overflow: hidden;
}

/* Ensure the icons are big */
.feature-box i {
    font-size: 2.5rem;
    color: #256A51;
}

.feature-box:hover i {
    color: white;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    letter-spacing: -1px;
}

.hero-section p {
    font-size: 1.25rem;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto 30px auto;
    line-height: 1.6;
}

.hero-btn {
    padding: 15px 40px;
    font-size: 1.1rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* Category Section */
.category-card {
    background: white;
    border-radius: 20px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid #f0f0f0;
    cursor: pointer;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: #256A51;
}

.category-icon {
    font-size: 3.5rem;
    margin-bottom: 15px;
    color: #256A51;
    display: inline-block;
}

/* Product Card Redesign */
.product-card-modern {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: none;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.product-card-modern:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.product-img-wrap {
    height: 220px;
    overflow: hidden;
    position: relative;
    background: #f8f9fa;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-img-wrap img {
    max-height: 100%;
    max-width: 100%;
    transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    object-fit: contain;
}

.product-card-modern:hover .product-img-wrap img {
    transform: scale(1.1);
}

.discount-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #FF4757;
    color: white;
    padding: 5px 12px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(255, 71, 87, 0.3);
    z-index: 2;
}

.product-info-wrap {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #2d3436;
    text-decoration: none;
    display: block;
    line-height: 1.4;
}

.product-price {
    font-size: 1.3rem;
    color: #256A51;
    font-weight: 800;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.product-price del {
    color: #b2bec3;
    font-size: 0.9rem;
    font-weight: 500;
}

.card-actions {
    margin-top: auto;
    display: flex;
    gap: 10px;
}

.btn-add-modern {
    background: #FFF9E6;
    color: #ffb142;
    border: none;
    border-radius: 12px;
    padding: 10px 15px;
    font-weight: 700;
    flex-grow: 1;
    transition: all 0.2s;
}

.btn-add-modern:hover {
    background: #ffb142;
    color: white;
}

.btn-details-modern {
    background: #E8F5E9;
    color: #256A51;
    border: none;
    border-radius: 12px;
    width: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.btn-details-modern:hover {
    background: #256A51;
    color: white;
}

.btn-qty-group {
    background: #f1f2f6;
    border-radius: 12px;
    display: flex;
    align-items: center;
    overflow: hidden;
    width: 100%;
}

.btn-qty-group button {
    background: transparent;
    border: none;
    padding: 10px;
    font-weight: bold;
    color: #2d3436;
    flex-grow: 1;
}

.btn-qty-group button:hover {
    background: #dfe4ea;
}

/* Section Headings */
.section-title {
    position: relative;
    margin-bottom: 20px;
    /* Reduced from 50px */
    text-align: left;
}

.section-title h2 {
    font-weight: 800;
    color: #2d3436;
    font-size: 2.5rem;
    display: inline-block;
    position: relative;
    z-index: 1;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: -10px;
    right: -10px;
    height: 12px;
    background: #FFEAA7;
    /* Highlight color */
    z-index: -1;
    border-radius: 6px;
    opacity: 0.7;
    transform: rotate(-1deg);
}

.section-title p {
    color: #636e72;
    margin: 15px 0 0;
    font-size: 1.1rem;
}

/* Features/How it works */
.feature-box {
    text-align: center;
    padding: 30px 20px;
    border-radius: 20px;
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    height: 100%;
}

.feature-box:hover {
    transform: translateY(-10px);
}

.feature-icon-circle {
    width: 80px;
    height: 80px;
    background: #E8F5E9;
    color: #256A51;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    transition: all 0.3s;
}

.feature-box:hover .feature-icon-circle {
    background: #256A51;
    color: white;
    transform: rotate(360deg);
}

/* --- EatSure Style Redesign --- */

/* Clean White Header */
header {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.topbar {
    display: none;
    /* Hide topbar for cleaner look */
}

.logo a {
    color: #4b2354;
    /* Deep purple like EatSure */
    font-size: 28px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.location-picker {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    color: #333;
    font-weight: 600;
    cursor: pointer;
    padding-left: 15px;
    border-left: 1px solid #eee;
    margin-left: 15px;
}

.location-picker i {
    color: #702f8a;
    /* Brand color */
}

.main-menu li a {
    color: #333;
    font-weight: 500;
    font-size: 14px;
    text-transform: capitalize;
    /* Cleaner than uppercase */
}

.header-icons {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-icon-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #666;
    text-decoration: none;
    font-size: 11px;
    font-weight: 500;
}

.header-icon-link i {
    font-size: 20px;
    margin-bottom: 2px;
    color: #702f8a;
}

/* Header Call Block */
.header-call-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.call-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.call-icon i {
    font-size: 20px;
    color: #702f8a;
}

.call-text {
    display: flex;
    align-items: center;
    gap: 4px;
    line-height: 1.2;
    font-size: 11px;
}

.call-label {
    font-size: 11px;
    color: #666;
    font-weight: 500;
}

.call-number {
    font-size: 11px;
    color: #333;
    font-weight: 600;
}

/* Navigation Icon Items */
.nav-icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #666;
    text-decoration: none;
    font-size: 11px;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-icon-item i {
    font-size: 20px;
    margin-bottom: 2px;
    color: #702f8a;
}

.nav-icon-item:hover {
    color: #333;
}

.nav-icon-item:hover i {
    color: #5a2570;
}

/* Search Wrapper and Dropdown */
.search-wrapper {
    position: relative;
}

.search-wrapper .nav-icon-item {
    background: none;
    border: none;
    cursor: pointer;
}

.search-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 10px;
    background: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    padding: 15px;
    min-width: 300px;
    z-index: 1000;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.search-form .input-group {
    display: flex;
}

.search-form .form-control {
    border-radius: 6px 0 0 6px;
    border: 1px solid #ddd;
    padding: 8px 12px;
    font-size: 14px;
}

.search-form .form-control:focus {
    outline: none;
    border-color: #702f8a;
    box-shadow: 0 0 0 3px rgba(112, 47, 138, 0.1);
}

.search-form .btn-primary {
    border-radius: 0 6px 6px 0;
    padding: 8px 16px;
}


/* Banner Carousel */
.home-banner-slider .item {
    border-radius: 12px;
    overflow: hidden;
    margin-right: 15px;
    /* Spacing between slides */
}

.home-banner-slider .item img {
    width: 100%;
    display: block;
}

/* Banner Overlay Button */
.banner-slider-wrapper {
    position: relative;
}

.banner-overlay-btn {
    position: absolute;
    top: 75%;
    /* Moved down from 50% */
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    text-align: center;
    width: 100%;
    /* Ensure text align works */
}

.banner-overlay-btn .btn {
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.banner-overlay-btn .btn:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .banner-overlay-btn .btn {
        font-size: 0.9rem;
        padding: 10px 20px !important;
    }
}

@media (max-width: 480px) {
    .banner-overlay-btn .btn {
        font-size: 0.8rem;
        padding: 8px 16px !important;
        letter-spacing: 0.5px;
    }

    .banner-overlay-btn {
        top: 70%;
        /* Slightly higher on mobile to fit */
    }
}



/* Horizontal Category Scroll */
.cat-scroll-section {
    padding: 30px 0;
    background: #fff;
    overflow: hidden;
}

.cat-scroll-header {
    margin-bottom: 20px;
}

.cat-scroll-header h3 {
    font-size: 1.5rem;
    color: #333;
    font-weight: 700;
}

.cat-items-wrapper {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 20px;
    /* Hide scrollbar spacing */
    scrollbar-width: none;
    /* Firefox */
}

.cat-items-wrapper::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

/* Category Slider Navigation */
.category-slider .owl-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.category-slider .owl-nav button {
    pointer-events: all;
    background: #256A51 !important;
    color: white !important;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.3s ease;
}

.category-slider .owl-nav button:hover {
    background: #195841 !important;
    transform: scale(1.1);
}

.category-slider .owl-nav .owl-prev {
    margin-left: -20px;
}

.category-slider .owl-nav .owl-next {
    margin-right: -20px;
}


.cat-item {
    flex: 0 0 auto;
    width: 140px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s;
}

.cat-item:hover {
    transform: translateY(-5px);
}

.cat-item-link {
    text-decoration: none;
    display: block;
    color: inherit;
}

.cat-item-link:hover {
    text-decoration: none;
}


.cat-item-img {
    width: 120px;
    height: 120px;
    border-radius: 12px;
    /* Boxy */
    overflow: hidden;
    margin: 0 auto 10px;
    position: relative;
    border: 2px solid #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.cat-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cat-item-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.cat-buy-btn {
    font-size: 12px;
    padding: 6px 20px;
    border-radius: 20px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.cat-buy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 106, 81, 0.3);
}


/* Exact EatSure Navbar Replica Styles */

/* Call Block */
/* Exact EatSure Navbar Replica Styles - SINGLE LINE FIX */

/* Call Block - Icon + Text Side-by-Side */
.header-call-block {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
}

.call-icon {
    width: 28px;
    height: 28px;
    border: 1px solid #702f8a;
    border-radius: 12px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #702f8a;
    font-size: 14px;
    flex-shrink: 0;
}

.call-text {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    line-height: 1;
}

.call-label {
    font-size: 9px;
    color: #666;
    font-weight: 400;
    margin-bottom: 1px;
}

.call-number {
    font-size: 12px;
    font-weight: 700;
    color: #000;
}

/* Vertical Nav Icons (Search, Cart, Sign In) - Icon Top, Text Bottom */
.nav-icon-item,
.signin-block {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 0;
    text-align: center;
    color: #4b2354;
}

.nav-icon-item i,
.signin-block i {
    font-size: 20px;
    color: #4b2354;
    margin-bottom: 2px;
    line-height: 1;
}

/* Specific fix for Sign In Avatar to look like icon if it's an icon class, 
   or if it's the div .signin-avatar we previously made */
.signin-avatar {
    background: transparent;
    color: #4b2354;
    width: auto;
    height: auto;
    font-size: 24px;
    margin-bottom: 0;
    display: inline-block;
    line-height: 1;
}

.signin-avatar i {
    font-size: 24px;
    color: #4b2354;
}

.nav-icon-item span,
.signin-text {
    font-size: 11px;
    color: #5c3b94;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    /* Prevent wrapping "Sign In" */
}

/* Hover States */
.nav-icon-item:hover,
.signin-block:hover {
    text-decoration: none;
    opacity: 0.8;
}

/* Remove old divider if present */
.header-divider {
    display: none;
}

/* Mobile Bottom Navigation */
.bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 8px 0;
}

.bottom-nav .nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #666;
    font-size: 12px;
    padding: 8px 0;
    position: relative;
    transition: all 0.3s ease;
}

.bottom-nav .nav-item i {
    font-size: 24px;
    margin-bottom: 4px;
    color: #666;
}

.bottom-nav .nav-item span {
    font-size: 11px;
    font-weight: 500;
}

.bottom-nav .nav-item.active {
    color: #256A51;
}

.bottom-nav .nav-item.active i {
    color: #256A51;
}

.bottom-nav .nav-item:hover {
    color: #256A51;
    text-decoration: none;
}

.bottom-nav .nav-item:hover i {
    color: #256A51;
}

/* Cart Badge */
.bottom-nav .cart-badge {
    position: absolute;
    top: 5px;
    right: 50%;
    transform: translateX(15px);
    background: #dc3545;
    color: white;
    border-radius: 12px !important;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
}

/* Show only on mobile */
@media (max-width: 768px) {
    .bottom-nav {
        display: flex !important;
    }

    /* Add padding to body to prevent content from being hidden behind bottom nav */
    body {
        padding-bottom: 70px !important;
    }
}

/* Vertical Divider */
.header-divider {
    width: 1px;
    height: 30px;
    background-color: #ddd;
    margin: 0 5px;
}

.cat-item-title {
    font-size: 12px;
    color: #555;
    font-weight: 600;
    line-height: 1.2;
}

/* Clean Product Card tweaks */
.product-card-modern {
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid #f2f2f2;
}

.btn-add-modern {
    background: #fff;
    color: #27ae60;
    border: 1px solid #27ae60;
}


/* --- STUNNING REDESIGN V2 START --- */

:root {
    --primary-color: #256A51;
    --secondary-color: #72da03;
    --accent-color: #FFC107;
    --dark-text: #2d3436;
    --light-text: #636e72;
    --bg-light: #F8F9FA;
    --glass-bg: rgba(255, 255, 255, 0.95);
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.12);
    --radius-lg: 24px;
    --radius-md: 16px;
}

/* 1. Stunning Hero Section */
.hero-stunning-wrapper {
    position: relative;
    padding: 100px 0 140px;
    background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
    overflow: hidden;
    margin-bottom: 60px;
}

.hero-stunning-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 150%;
    background: linear-gradient(135deg, rgba(37, 106, 81, 0.1) 0%, rgba(114, 218, 3, 0.1) 100%);
    border-radius: 12px !important;
    transform: rotate(-15deg);
    z-index: 0;
    filter: blur(60px);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background-color: #e3f2fd;
    color: #256A51;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 24px;
    box-shadow: 0 2px 10px rgba(37, 106, 81, 0.1);
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--dark-text);
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-title span {
    background: linear-gradient(120deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text {
    font-size: 1.25rem;
    color: var(--light-text);
    margin-bottom: 40px;
    max-width: 500px;
    line-height: 1.7;
}

.hero-btn-group {
    display: flex;
    gap: 16px;
}

.btn-stunning-primary {
    padding: 16px 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 10px 20px rgba(37, 106, 81, 0.3);
    transition: all 0.3s ease;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-stunning-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(37, 106, 81, 0.4);
    background: #1e5c45;
    color: white;
}

.hero-image-right {
    position: relative;
    z-index: 1;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* 2. Modern Section Styles */
.section-stunning {
    padding: 0px 0;
}

.section-header-stunning {
    text-align: left;
    margin-bottom: 20px;
    /* Reduced from 60px */
    position: relative;
}

.section-header-stunning h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark-text);
    margin-bottom: 16px;
    display: inline-block;
}

.section-header-stunning p {
    color: var(--light-text);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0;
}

/* 3. Stunning Category Cards (Glassmorphism) - REPLACED */


/* 4. Ultra Premium Product Cards */
.product-card-ultra {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
    border: 1px solid #eee;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card-ultra:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: transparent;
}

.ultra-img-wrap {
    height: 200px;
    background: #fdfdfd;
    position: relative;
    display: block;
    padding: 0;
    overflow: hidden;
    border-radius: 0;
}

.ultra-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0 !important;
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.product-card-ultra:hover .ultra-img-wrap img {
    transform: scale(1.12);
}

.ultra-badges {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 2;
}

.badge-sale {
    background: #1e5c45;
    color: white;
    padding: 4px 12px;
    border-radius: 0 0 10px 0;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
}

.ultra-info {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.ultra-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 8px;
    text-decoration: none;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ultra-title:hover {
    color: var(--primary-color);
}

.ultra-meta {
    font-size: 0.9rem;
    color: var(--light-text);
    margin-bottom: 16px;
}

.ultra-price {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    margin-bottom: 20px;
}

.price-current {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary-color);
}

.price-old {
    font-size: 1rem;
    color: #b2bec3;
    text-decoration: line-through;
    margin-bottom: 4px;
}

.ultra-actions {
    margin-top: auto;
    display: flex;
    gap: 8px;
}

.btn-add-ultra {
    background: #1e5c45;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex: 1;
}

.btn-add-ultra:hover {
    background: #154534;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 106, 81, 0.2);
}

.btn-buy-ultra {
    background: white;
    color: #1e5c45;
    border: 1.5px solid #1e5c45;
    padding: 10px;
    border-radius: 10px;
    font-weight: 700;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex: 1;
    text-decoration: none;
}

.btn-buy-ultra:hover {
    background: #f8f9fa;
    color: #154534;
    border-color: #154534;
    transform: translateY(-2px);
}

/* Quantity Button Styles */
.btn-qty-group {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f1f2f6;
    border-radius: 12px;
    padding: 4px;
    height: 46px;
    /* Match add button height */
}

.btn-minus,
.btn-plus {
    width: 32px;
    height: 32px;
    border: none;
    background: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: bold;
    color: var(--primary-color);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: all 0.2s;
}

.btn-minus:hover,
.btn-plus:hover {
    background: var(--primary-color);
    color: white;
}

.btn-qty {
    border: none;
    background: transparent;
    font-weight: 700;
    color: var(--dark-text);
    width: 30px;
    text-align: center;
    padding: 0;
}

.btn-view-ultra {
    width: 46px;
    height: 46px;
    background: #f1f2f6;
    border: none;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-text);
    transition: all 0.2s;
}

.btn-view-ultra:hover {
    background: #e2e6ea;
    color: var(--primary-color);
}

/* 5. Why Choose Us Section */
.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card-stunning {
    background: white;
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.feature-card-stunning:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(37, 106, 81, 0.1);
}

.feature-icon-wrapper {
    width: 80px;
    height: 80px;
    background: #e9f7ef;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: var(--primary-color);
    font-size: 2.5rem;
    transform: rotate(45deg);
    transition: all 0.4s ease;
}

.feature-icon-wrapper i {
    transform: rotate(-45deg);
}

.feature-card-stunning:hover .feature-icon-wrapper {
    background: var(--primary-color);
    color: white;
    transform: rotate(0deg);
}

.feature-card-stunning:hover .feature-icon-wrapper i {
    transform: rotate(0deg);
}

.feature-title-stunning {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}

/* Mobile Responsive Tweaks */
@media (max-width: 768px) {
    .hero-stunning-wrapper {
        padding: 60px 0;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-image-right {
        margin-top: 40px;
    }
}

/* Inline Search Bar Styling */
.search-form-inline .input-group {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.search-form-inline .input-group:focus-within {
    box-shadow: 0 5px 15px rgba(112, 47, 138, 0.1);
    transform: translateY(-1px);
}

.search-form-inline .form-control:focus {
    box-shadow: none;
    background-color: #fff !important;
    border-color: #e0e0e0;
}

.search-form-inline .btn-light:hover {
    background-color: #f8f9fa;
    color: #4b2354;
}

/* Category Slider Redesign */
.category-item {
    text-align: center;
    padding: 10px;
    transition: transform 0.3s ease;
}

.category-item:hover {
    transform: translateY(-5px);
}

.category-link {
    text-decoration: none !important;
    display: block;
}

.category-image-wrap {
    width: 80px;
    height: 80px;
    margin: 0 auto 10px;
    background: #fff;
    border-radius: 12px;
    padding: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    overflow: hidden;
}

.category-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.category-title {
    font-size: 14px;
    font-weight: 700;
    color: #333;
    line-height: 1.2;
    margin-top: 5px;
    transition: color 0.3s ease;
}

.category-item:hover .category-title {
    color: #256A51;
}

/* Specific color for TV as per screenshot highlight */
.category-item:nth-child(2) .category-title {
    color: #007bff;
}


/* Mobile Product Card Optimization for 2.5 Item Slider */
/* Mobile Product Card Optimization - Boxy Reference (EatSure style) */
@media (max-width: 600px) {
    .product-card-ultra {
        border-radius: 8px !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
        border: 1px solid #f0f0f0 !important;
        margin: 5px !important;
        height: auto !important;
        overflow: hidden !important;
        background: white !important;
        display: flex !important;
        flex-direction: column !important;
    }

    .ultra-img-wrap {
        height: 110px !important;
        padding: 0 !important;
        /* Full width image as per reference */
        background: #f9f9f9 !important;
        border-radius: 0 !important;
        display: block !important;
        overflow: hidden !important;
    }

    .ultra-img-wrap img {
        border-radius: 0 !important;
        object-fit: cover !important;
        width: 100% !important;
        height: 100% !important;
        max-height: 100% !important;
    }

    .ultra-info {
        padding: 8px !important;
        flex-grow: 1 !important;
    }

    .ultra-title {
        font-size: 0.6rem !important;
        font-weight: 700 !important;
        line-height: 1.1 !important;
        margin-bottom: 3px !important;
        height: 2.2em !important;
        color: #333 !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        white-space: normal !important;
    }

    /* Container for Price and Add button side-by-side */
    .ultra-price-row {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        margin-top: auto !important;
        gap: 4px !important;
    }

    .ultra-price {
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
        margin: 0 !important;
    }

    .price-current {
        font-size: 0.65rem !important;
        font-weight: 800 !important;
        color: #000 !important;
    }

    .price-old {
        font-size: 0.5rem !important;
        color: #888 !important;
        text-decoration: line-through !important;
    }

    .ultra-actions {
        margin: 0 !important;
        flex: 0 0 auto !important;
    }

    .btn-add-ultra {
        background: #4a4edf !important;
        color: white !important;
        padding: 0 8px !important;
        font-size: 0.6rem !important;
        border-radius: 4px !important;
        height: 22px !important;
        min-height: 0 !important;
        font-weight: 700 !important;
        border: none !important;
        display: flex !important;
        align-items: center;
        justify-content: center !important;
    }

    .btn-qty-group {
        height: 24px !important;
        padding: 0 !important;
        background: #f1f2f6 !important;
        border-radius: 6px !important;
        display: flex !important;
        align-items: center !important;
    }

    .badge-sale {
        background: #1e5c45 !important;
        /* Dark green tag from reference */
        color: white !important;
        padding: 2px 6px !important;
        font-size: 0.6rem !important;
        top: 0 !important;
        left: 0 !important;
        border-radius: 0 0 6px 0 !important;
        position: absolute !important;
        z-index: 10 !important;
        font-weight: 800 !important;
        text-transform: uppercase !important;
    }

    /* Heading Resizes */
    .section-header-stunning h2,
    .section-title h2 {
        font-size: 1.35rem !important;
        margin-bottom: 4px !important;
        font-weight: 800 !important;
    }

    .section-header-stunning p,
    .section-title p {
        font-size: 0.85rem !important;
        line-height: 1.3 !important;
        margin-bottom: 8px !important;
    }

    .section-title .btn-outline-success {
        margin-top: 5px !important;
        font-size: 0.75rem !important;
        padding: 4px 12px !important;
    }
}

/* --- Food Types Section --- */
.section-food-types {
    padding: 30px 0;
    background-color: #f8f9fa;
    /* Light background to separate from white sections */
}

.food-type-card {
    background: white;
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Card Background Variants matching the reference image vibes */
.food-card-bg-1 {
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
}

.food-card-bg-2 {
    background: linear-gradient(135deg, #fff5f0 0%, #ffe0d1 100%);
}

/* Peach/Orange tint */
.food-card-bg-3 {
    background: linear-gradient(135deg, #fffde7 0%, #fff59d 100%);
}

/* Yellow tint */
.food-card-bg-4 {
    background: linear-gradient(135deg, #fff0f5 0%, #fce4ec 100%);
}

/* Pink tint */
.food-card-bg-5 {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
}

/* Blue tint */

.food-type-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.food-brand-logo {
    height: 40px;
    object-fit: contain;
    margin-bottom: 10px;
    display: block;
}

.food-main-img-wrap {
    width: 140px;
    height: 140px;
    margin: 0 auto 15px;
    position: relative;
}

.food-main-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Ensure the food item fits nicely */
    border-radius: 50%;
    /* Optional: if the images are square, this makes them round. If already transparent pngs, it won't hurt. */
    filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.15));
}

.food-type-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: #333;
    margin-bottom: 4px;
    line-height: 1.2;
}

.food-type-subtitle {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 0;
}

/* Custom Width Adjustment as per User Request */
@media (min-width: 992px) {
    .container-fluid {
        width: 80%;
        margin: 0 auto;
    }
}

/* Mobile heading adjustment */
@media (max-width: 768px) {

    .section-title h2,
    .section-header-stunning h2 {
        font-size: 1.5rem !important;
    }
}