* {
    box-sizing: border-box;
    font-family: sans-serif;
}

/* ===== TOP GREEN BAR ===== */
.topbar {
    background-color: #3c7a37;
    color: #fff;
    font-size: 14px;
    padding: 5px 0;
}

.topbar a {
    color: #fff;
    text-decoration: none;
    margin: 0 8px;
    font-size: 13px;
}

/* ===== MAIN NAVBAR ===== */
.navbar-main {
    background: #fff;
    border-bottom: 1px solid #eee;
    padding: 12px 0;
    position: relative;
    z-index: 10;
}

.search-bar input {
    width: 450px;
    margin-top: 10px;
    height: 40px;
    background-color: #fff;
    margin-left: 50px;
    font-size: 13px;
    padding-left: 15px;
    border: 1px solid #eee;
}

.search-bar button {
    border-radius: 50%;
    background-color: #3c7a37;
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
}

.cart-icon {
    position: relative;
    cursor: pointer;
}

.cart-badge {
    position: absolute;
    top: -5px;
    right: -8px;
    background-color: red;
    color: white;
    border-radius: 50%;
    font-size: 10px;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== CATEGORY BAR ===== */
.category-bar {
    background: #fff;
    border-bottom: 1px solid #eee;
    overflow-x: auto;
    white-space: nowrap;
}

.category-item {
    display: inline-block;
    text-align: center;
    color: #6f42c1;
    font-weight: 500;
    padding: 10px 15px;
    cursor: pointer;
    transition: 0.3s;
}


.category-bar {
    background: #fff;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    white-space: nowrap;
}

.category-item {
    display: inline-flex;
    align-items: center;
    color: #7755A2;
    font-weight: 500;
    padding: 8px 35px;
    transition: 0.3s;
}

.category-item img {
    width: 28px;
    height: 28px;
    margin-right: 8px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.category-item:hover {
    background-color: rgba(119, 85, 162, 0.1)
}

.category-item span {
    font-size: 15px;
    white-space: nowrap;
}

/* Mobile Scroll Effect */
.category-bar .container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.category-bar .container::-webkit-scrollbar {
    display: none;
}

/* ===== CART DROPDOWN ===== */
.cart-dropdown {
    position: absolute;
    top: 70px;
    right: 15px;
    width: 400px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    display: none;
    z-index: 1000;
    animation: fadeIn 0.2s ease-in-out;
}

.qty-box {
    display: flex;
    align-items: center;
}

.qty-btn {
    width: 24px;
    height: 24px;
    border: 1px solid #ccc;
    background: #fff;
    cursor: pointer;
}

.qty {
    padding: 0 8px;
}



@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cart-dropdown .header {
    font-weight: 600;
    border-bottom: 1px solid #eee;
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-dropdown .body {
    padding: 15px;
}

.cart-dropdown .footer {
    border-top: 1px solid #eee;
    padding: 10px 15px;
}

.cart-dropdown .btn {
    width: 100%;
}

.search-bar {
    position: relative;
}

.search-icon-bx {
    position: absolute;
    top: 17px;
    left: 450px;
    bottom: 0;
    right: 0px;
}

.search-icon-bx i {
    color: #3c7a37;
    font-size: 20px;
}


/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .search-bar {
        display: none !important;
    }

    .search-icon {
        display: block !important;
    }
}

@media (min-width: 993px) {
    .search-icon {
        display: none !important;
    }
}

@media (max-width: 576px) {
    .topbar .hide-mobile {
        display: none;
    }

    .topbar .container {
        flex-direction: column;
        text-align: center;
    }

    .category-item {
        font-size: 13px;
        padding: 8px 10px;
    }
}

.carousel-item img {
    border-radius: 10px;
    width: 100%;
}


.carousel-indicators [data-bs-target] {
    box-sizing: content-box;
    flex: 0 1 auto;
    width: 7px !important;
    height: 7px !important;
    padding: 0;
    margin-right: 3px;
    border: 3px solid #fff !important;
    border-radius: 50%;
    margin-left: 3px;
    text-indent: -999px;
    background: transparent !important;
    cursor: pointer;
    background-clip: padding-box;
    border: 0;
    opacity: .5;
    transition: opacity .6s ease;
}

.info-strip {
    background: #fff;
}

.info-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.small-content {
    font-size: 12px;
}

.divider {
    height: 40px;
    width: 1px;
    background-color: #ccc;
}

@media (max-width: 767.98px) {
    .divider {
        display: none;
    }

    .info-strip {
        text-align: center;
    }



    .info-icon {
        width: 32px;
        height: 32px;
        margin-bottom: 5px;
    }


}

.product-card img {
    height: 150px;
    object-fit: cover;
}

.product-card h6 {
    font-size: 13px;
    color: #000;
    line-height: 20px;
    font-family: sans-serif;
}

.product-card {
    transition: 0.5s;
    position: relative;
}

.product-card:hover {
    background-color: #f1eef6;
    transition: 0.5s;
}

.price {
    margin-top: 15px;
}

.price .original {
    text-decoration: line-through;
    color: #999;
    font-size: 14px;
}

.price .discounted {
    color: green;
    font-size: 14px;
}

.heading-text {
    font-size: 24px;
    font-weight: bold;
}

.flas-img {
    position: absolute;
    top: 117px;
    left: 15px;
    bottom: 0px;
    right: 0;
}

.flas-img img {
    height: 15px;
}

.flash-sale-container {
    background: #F2F7F2;
    padding: 20px 0;
}

.flash-sale-header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.flash-sale-timer {
    background: linear-gradient(90deg, #f4b64d 0, #f72973 99.77%);
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    padding: 8px 16px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.flash-sale-timer span {
    font-weight: bold;
    margin: 0 4px;
}

.category-section {
    text-align: center;
    padding: 40px 0;
}

.category-title {
    font-weight: 700;
    font-size: 22px;
    margin-bottom: 40px;
    color: #222;
}

.category-card a {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.category-card img {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.category-name {
    margin-top: 15px;
    font-size: 18px;
    font-weight: 500;
    color: #222;
    transition: color 0.3s ease;
}

.freshtohome-section h1 {
    color: #212529;
    margin-bottom: 7px;
    font-size: 18px;
    font-weight: bold;
}

.freshtohome-section h2 {
    color: #666;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 7px;
}

.freshtohome-section p {
    font-size: 13px;
}

.freshtohome-section ul {
    list-style-type: disc;
    margin-left: 25px;
}

.freshtohome-section li {
    margin-bottom: 10px;
}

footer {
    background-color: #fff;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    font-size: 14px;
}

.footer-logo img {
    width: 110px;
    margin-bottom: 15px;
}

.footer-links a {
    color: #5A5A75;
    margin: 0 8px;
    text-decoration: none;
    font-weight: 500;
}

.footer-links a:hover {
    color: #6f42c1;
    text-decoration: underline;
}

.social-icons a {
    color: #6f42c1;
    font-size: 1.4rem;
    margin-right: 12px;
    transition: all 0.3s;
}

.social-icons a:hover {
    color: #3d2179;
}

.app-links img {
    height: 45px;
    margin: 10px;
}

.fth-section {
    background: #f9f9f9;
    border-bottom: 1px solid #eee;
    padding: 40px 0px 8px;
    font-size: 14px;
    color: #333;
    line-height: 1.8;
}

.fth-section h2 {
    text-transform: uppercase;
    color: #555;
    font-size: 14px;
    line-height: 24px;
    font-weight: 600;
}

.fth-section h5 {
    font-size: 12px;
    color: #777;
    font-weight: bold;
}

.fth-section a {
    color: #555;
    font-size: 12px;
    line-height: 16px;
    text-decoration: none;
}


.fth-locations {
    column-count: 10;
    column-gap: 40px;
    margin-top: 30px;
}

.fth-locations a {
    display: block;
    margin-bottom: 4px;
    font-family: sans-serif;
}

@media (max-width: 992px) {
    .fth-locations {
        column-count: 3;
    }
}

@media (max-width: 576px) {
    .fth-locations {
        column-count: 2;
    }
}


.certficate {
    position: relative;
}

.cerficate1 {
    position: absolute;
    top: 448px;
    left: 257px;
    bottom: 0;
    right: 0;
}

.cerficate1 a {
    text-decoration: none;
}

.certicate-img {
    width: 180px;
}

.product-section {
    padding: 40px 0;
}

.product-image img {
    border-radius: 10px;
    width: 100%;
    max-width: 400px;
}

.price-old {
    text-decoration: line-through;
    color: #999;
    font-size: 18px;
}

.price-new {
    color: #444;
    font-weight: 600;
    font-size: 22px;
}

.btn-cart {
    background-color: #3f7c38;
    color: #fff;
    font-weight: 600;
    /* border-radius: 4px; */
    padding: 8px 25px;
}

.btn-cart:hover {
    background-color: #33642d;
}

.product-desc {
    color: #555;
    line-height: 1.6;
}

.section-title {
    font-weight: 600;
    margin-top: 25px;
    font-size: 15px;
}

.fssai-logo {
    width: 80px;
    margin-top: 10px;
}

.product-section {
    padding: 40px 0;
}

.product-image img {
    border-radius: 10px;
    width: 100%;
    max-width: 400px;
}

.price-old {
    text-decoration: line-through;
    color: #999;
    font-size: 14px;
}

.price-new {
    color: #444;
    font-weight: 600;
    font-size: 15px;
}

/* Add to Cart button - same color as image */
.btn-cart {
    background-color: #3d8b3d;
    color: #fff;
    font-weight: 600;
    /* border-radius: 4px; */
    padding: 8px 25px;
    border: none;
}

.btn-cart:hover {
    background-color: #347734;
    color: #fff;
}

.product-desc {
    color: #555;
    font-size: 14px;
    line-height: 1.6;
}

.section-title {
    font-weight: 600;
    margin-top: 0px;
    font-size: 13px;
    color: #555;
}

.fssai-logo {
    width: 80px;
    margin-top: 10px;
}

.quantity-box {
    width: 120px;
    border: 1px solid #aaa;
    overflow: hidden;
}

.quantity-box input {
    border: none;
    text-align: center;
    width: 50px;
}

.quantity-box button {
    background: none;
    border: none;
    color: #333;
    font-size: 18px;
    border: 1px solid #aaa;
    width: 35px;
    height: 35px;
    transition: all 0.2s;
}

.quantity-box button:hover {
    color: #3d8b3d;
}

.heading-detail {
    color: #555;
    font-size: 20px;
    font-weight: bold;
}