body {
    background: #f7f7f7;
    font-size: 16px;
}

/* Header */
.top-bar {
    background: #fff;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

/* Hero Section */
.hero {
    background: #f3e7df;
    padding: 40px 0;
}

.search-box {
    border-radius: 50px;
}

/* Categories */
.category img {
    height: 149px;
    object-fit: cover;
}

.category {
    text-align: center;
    padding: 0;
    margin-bottom: 20px;
}

/* Special Offer */
.offer-section {
    background: #f3e7df;
    padding: 40px 0;
}

.location_icon {
    width: 47px;
    height: 47px;
    display: inline-block;
    text-align: center;
    line-height: 50px;
}

.location_icon img {
    width: 20px;
}

.check_btn {
    position: absolute;
    right: 0;
    top: 0;
}

.top_enter_pin {
    width: 275px;
}

.top_enter_txt {
    display: inline-block;
    margin: 10px 0 0 0;
    font-weight: bold;
}

.cart_login img {
    width: 25px;
}

.cart_login a {
    font-size: 18px;
    margin-left: 15px;
}

.free_home_delivery {
    position: absolute;
    right: 0;
    top: 0;
    width: 180px;
}

.input_height {
    height: 60px;
}

.input_height[type="file"] {
    line-height: 48px;
}

input[type="file"]::file-selector-button {
    background: url("../../images/img/file.png") no-repeat 12px center;
    background-size: 50px;
    border: none;
    border-radius: 100px;
    cursor: pointer;
    color: transparent;
    width: 70px;
}

.form-control {
    border-radius: 100px !important;
    height: 50px;
}

.btn {
    height: 50px;
    border-radius: 100px;
}

.modal-header {
    background: #dc3545;
    color: #fff;
}

.input-group .btn {
    height: 60px;
    z-index: 999;
}

#suggestions {
    margin-top: 62px;
    border-radius: 20px;
    z-index: 999;
}
/* 
.headding:after {
    position: absolute;
    right: -115px;
    width: 100px;
    height: 1px;
    background-color: black;
    content: "";
    top: 15px;
} */

.headding2 {
    color: #f00;
}

.headding2::before {
    position: absolute;
    left: -115px;
    width: 100px;
    height: 1px;
    background-color: rgb(255, 0, 0);
    content: "";
    top: 15px;
}

.headding2::after {
    position: absolute;
    right: -115px;
    width: 100px;
    height: 1px;
    background-color: rgb(255, 0, 0);
    content: "";
    top: 15px;
}

.category a:hover p {
    color: #f00;
}

.category {
    transition: 0.4s ease;
}

.category img {
    transition: 0.4s ease;
}

.category img:hover {
    transform: translateY(-20px);
}

.category img:hover {
    transform: scale(1.08);
}

.offer {
    transition: 0.4s ease;
}

.offer img {
    transition: 0.4s ease;
}

.offer img:hover {
    transform: translateY(-20px);
}

.offer img:hover {
    transform: scale(1.08);
}

.category p {
    margin-top: 10px;
}

.partner_logo img {
    height: 20px;
    padding: 0 10px;
}

/* Shared category pagination styles for home and category listing pages. */
.category-pagination-wrapper {
    margin-top: 28px;
    display: flex;
    justify-content: center;
}

.category-pagination-nav {
    display: flex;
    justify-content: center;
    width: 100%;
}

.category-pagination-list {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}

.category-pagination-link {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background: #fff;
    border-radius: 999px;
    border: 1px solid #dc3545;
    color: #dc3545;
    font-weight: 600;
    transition: all 0.2s ease;
}

.category-pagination-item.is-active .category-pagination-link {
    background-color: #dc3545;
    border-color: #dc3545;
    color: #fff;
}

.category-pagination-item:not(.is-active):not(.is-disabled)
    .category-pagination-link:hover {
    background: #fff2f3;
    color: #c82333;
}

.category-pagination-item.is-disabled .category-pagination-link {
    color: #b7b7b7;
    border-color: #e0e0e0;
    background: #fff;
    pointer-events: none;
}

[data-ajax-pagination-container].is-loading {
    opacity: 0.6;
    transition: opacity 0.2s ease;
}

/* Footer */
.footer {
    background: #fff;
    border-top: 1px solid #eee;
}

.logo_footer {
    width: 100px;
}

.footer_link a {
    text-decoration: none;
    color: #000;
    transition: all 0.5s ease-in-out;
}

.footer_link a:hover {
    text-decoration: none;
    color: #ff0000;
}

.logo_top {
    margin-bottom: 0px;
}

.top_search {
    margin-top: 60px;
}

@media (max-width: 1400px) {
    .category img {
        height: 165px;
    }
}

@media (max-width: 1400px) {
    .category img {
        height: 135px;
    }
}

@media (max-width: 992px) {
    .logo_top {
        width: 250px;
    }

    .free_home_delivery {
        width: 148px;
    }

    h1 {
        font-size: 26px;
    }

    h3 {
        font-size: 22px;
    }

    h4 {
        font-size: 20px;
    }

    .category img {
        height: 100px;
    }
}

@media (max-width: 768px) {
    .top-bar .location_icon,
    .top_enter_txt {
        display: none;
    }
}

@media (max-width: 470px) {
    .top_enter_pin {
        width: 215px;
    }

    .free_home_delivery {
        width: 125px;
        right: 15px;
    }

    .logo_top {
        width: 215px;
    }

    .cart_login a {
        font-size: 15px;
    }

    h3 {
        font-size: 17px;
    }

    .headding::after {
        display: none;
    }

    h4 {
        font-size: 18px;
    }

    .d-inline-block {
        display: block !important;
        text-align: center;
    }

    .healthcare h1 {
        margin-top: 20px;
    }

    .cart_login a {
        font-size: 14px;
    }

    .cart_login a {
        margin-left: 5px;
    }
}

@media (max-width: 382px) {
    .top_enter_pin {
        width: 178px;
        font-size: 14px;
    }

    .check_btn {
        padding: 5px 14px !important;
    }

    .cart_login img {
        width: 15px;
    }

    .free_home_delivery {
        width: 150px;
        display: block;
        margin: 0 auto 15px auto;
        position: relative;
        right: 0px;
    }

    .hero {
        padding: 0 0;
    }

    .logo_top {
        margin-bottom: 20px;
        padding-top: 20px;
    }

    .logo_top {
        width: 100%;
    }

    #searchInput,
    .form-control.search-box.input_height.shadow {
        font-size: 13px;
    }

    input[type="file"]::file-selector-button {
        background: url("../../images/img/file.png") no-repeat 6px center;
        background-size: 30px;
        border: none;
        border-radius: 100px;
        cursor: pointer;
        color: transparent;
        width: 35px;
    }

    .cart_login a {
        margin-left: 5px;
    }
}

/** details page **/
.product-img {
    width: 100%;
    max-width: 350px;
}

.color-circle {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    border: 2px solid #ddd;
}

.qty-box {
    width: 60px;
    text-align: center;
}

.add-btn {
    background: #1abc9c;
    color: #fff;
}

.add-btn:hover {
    background: #16a085;
}

.mainSwiper img {
    width: 100%;
    border-radius: 10px;
}

.thumbSwiper {
    margin-top: 10px;
}

.thumbSwiper .swiper-slide {
    opacity: 0.4;
    cursor: pointer;
}

.thumbSwiper .swiper-slide-thumb-active {
    opacity: 1;
    border: 2px solid #1abc9c;
    border-radius: 8px;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 21px;
    color: #fff;
}

.swiper-button-next,
.swiper-button-prev {
    background-color: #dc3545;
    border-radius: 5px;
}

.table_td td {
    vertical-align: top;
    padding-bottom: 10px;
}

.feature-box i {
    font-size: 50px;
    color: #dc3545;
}

/** contact us **/
.contact-section {
    background: #f5f5f5;
}

.contact-input {
    border-radius: 30px;
    padding: 12px 20px;
    background: #e9e9e9;
    border: none;
}

.submit-btn {
    background: #dc3545;
    color: #fff;
    border-radius: 30px;
    padding: 12px;
}

.submit-btn:hover {
    background: #dc3545;
    color: #fff;
}

.info-section {
    background: #e9e9e9;
}

.icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #dc3545;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.icon-circle i {
    font-size: 35px;
    color: #fff;
}

/** edit profile **/
.page-bg {
    background: #f5f5f5;
}

.profile-img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
}

.section-title {
    font-weight: 600;
    margin-top: 30px;
}

hr {
    opacity: 0.1;
}

.edit_profile .btn-light,
.edit_profile .btn-danger {
    margin-top: 30px;
}

/** cart **/

.product-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

.card-box {
    border-radius: 12px;
}

.success-icon {
    font-size: 80px;
    color: #28a745;
}

.product-img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
}

.order_details .badge.bg-success.p-2 {
    height: 28px;
}

.faq-header {
    text-align: center;
    margin-bottom: 40px;
}

.accordion-item:first-of-type .accordion-button {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

button:focus:not(:focus-visible) {
    outline: 0;
}

.accordion-button:focus {
    z-index: 3;
    border-color: transparent;
    outline: 0;
    box-shadow: none;
}

.accordion-button:not(.collapsed) {
    color: #fff;
    background-color: #c81648;
    box-shadow: inset 0 calc(-1 * var(--bs-accordion-border-width)) 0
        var(--bs-accordion-border-color);
}

.policy-sidebar {
    position: sticky;
    top: 20px;
}

.policy-content h5 {
    margin-top: 30px;
}

.btn-close {
    opacity: 1;
    background-color: #fff;
}

.modal {
    -bs-modal-bg: #fafafa;
}

/** add css 26-03-2026***/
.form-control.home_search {
    height: 60px;
}
.category {
    background: #fff;
    border: 2px solid #f7f7f7;
    padding-top: 24px;
    margin-bottom: 5px;
}
.category-card-btn {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    margin: auto;
    top: 0;
    bottom: 0;
    height: 43px;
    max-width: 160px;
    opacity: 0;
    transition: all 0.5s ease-in-out;
    text-align: center;
}
.category-card:hover .category-card-btn {
    display: block;
    opacity: 1;
}
.category-card:hover .box_overly {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.8);
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0;
    transition: all 0.5s ease-in-out;
}
.category-card:hover .box_overly {
    opacity: 1;
}

.swiper-slide .big_img {
    height: 300px;
    object-fit: cover;
    width: auto !important;
}
.small_img {
    height: 150px;
    object-fit: cover;
    width: auto !important;
}

/** add css 27-03-2026 **/
.product_introduction_section .nav-tabs .nav-item.show .nav-link,
.product_introduction_section .nav-tabs .nav-link.active {
    background: #dc3545;
    color: #fff;
}
.product_introduction_section .nav-tabs .nav-link {
    background: #ececec;
    color: #000;
    margin: 0 5px;
}
.product_introduction_section .nav-tabs .nav-link:nth-child(1) {
    margin-left: 0px;
}
.swiper-button-next:after,
.swiper-rtl .swiper-button-prev:after {
    font-size: 16px !important;
}
.swiper-button-prev:after,
.swiper-rtl .swiper-button-next:after {
    font-size: 16px !important;
}

.thumb {
    width: 200px;
    cursor: pointer;
    transition: 0.3s;
}
.thumb:hover {
    opacity: 0.8;
}

/* Lightbox Background */
#lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;

    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease;
    z-index: 999;
}

/* Show with fade */
#lightbox.active {
    opacity: 1;
    visibility: visible;
}

/* Image */
#lightbox img {
    max-width: 90%;
    max-height: 90%;
    animation: zoomIn 0.4s ease;
}

/* Cross button */
.close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
}

/* Zoom animation */
@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/**add css responsive **/
@media (max-width: 992px) {
    .top-bar .d-flex {
        display: block !important;
        text-align: center;
    }
    .top_enter_pin {
        width: 100%;
    }

    .free_home_delivery {
        width: 105px;
        margin: 6px auto 15px auto;
        position: absolute;
        right: 6px;
    }
    .logo_top {
        height: 82px;
    }
    .logo_top img {
        width: 200px;
        position: absolute;
        left: 5px;
        top: 8px;
    }
    .breadcrumb {
        justify-content: center !important;
    }
    .cart_heading {
        text-align: center;
    }
    .nav-item {
        margin-top: 5px;
    }
}
