:root {
    --primary: #0d6efd;
    --top-bar: rgba(248, 207, 2, 0.905);
    --white: #ffffff;
    --black: #000000;
    --green: green;
    --pink: antiquewhite;
    --navbar: #fafcfb;
    --xs-font: 12px;
    --sm-font: 14px;
    --md-font: 18px;
    --lg-font: 20px;
    --xl-font: 24px;
}
.fs-7 {
    font-size: 0.875rem !important;
} /* ~14px */
.fs-8 {
    font-size: 0.75rem !important;
} /* ~12px */
.fs-9 {
    font-size: 0.625rem !important;
} /* ~10px */
.fs-10 {
    font-size: 0.5rem !important;
} /* ~8px */

.light-green
{
     background-color: #61951f !important;

}
.custom-img
{
    height:40px;
    width:40px;
}
/* offer-box start*/
.offer-div {
    top: 112px;
}
/* offer-box end */
body {
    width: 100%;
    margin: 0px;
    padding: 0px;
}
.btn-success {
    background-color: #61951f !important;
    border-color: #61951f !important ;
}
.text-success {
    color: #61951f !important;
}
.animated-underline {
    position: relative;
    display: inline-block;
}

.animated-underline::after {
    content: '';
    position: absolute;
    height: 2px;
    left: 0;
    bottom: 0;
    width: 20%;
    background-color: #61951f;
    transition: width 0.3s ease;
}

.animated-underline:hover::after {
    width: 100%;
}

.animated-underline:hover {
    color: #61951f;
}


/* text truncate*/
.truncate-data
{
 max-width: 200px;
  overflow: hidden;
   white-space: nowrap;
    text-overflow: ellipsis;
     color: #61951f;
}
/* topbar start*/
.topbar {
    background-color: #ffc107; /* yellow offer bg */
    width: 100%;
    overflow: hidden;
    position: relative;
    z-index: 1000;
}

.topbar-text-wrapper {
    display: block;
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    padding: 6px 12px;
}

.topbar_text {
    display: inline-block;
    animation: scroll-left 10s linear infinite;
    font-size: clamp(12px, 3vw, 16px);
    color: #000;
}

@keyframes scroll-left {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}
   .suggestions {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 1000;
        border: 1px solid #ced4da;
        border-top: none;
        background-color: white;
        max-height: 250px;
        overflow-y: auto;
    }

    .suggestion-item {
        padding: 8px 12px;
        cursor: pointer;
    }

    .suggestion-item:hover {
        background-color: #f8f9fa;
    }

/* topbar end*/
/* header start*/
.navbar {
    background-color: var(--navbar);
}
.navbar-shadow-bottom {
    box-shadow: 0 4px 6px -2px rgba(0, 0, 0, 0.1);
}
.nav-item.dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
}
 /* Style for OTP boxes  */
    .otp-box {
        width: 40px;
        height: 45px;
        font-size: 20px;
        border-radius: 8px;
    }

/* logo */
.logo-img {
    height: 90px;
    width: 170px;
}
.nav-link {
    font-weight: 500;
    position: relative;
    display: inline-block;
    color: #000;
    text-decoration: none;
}

.nav-link::after {
    content: '';
    position: absolute;
    height: 2px;
    left: 0;
    right: 0;
    bottom: 0;
    width: 0;
    background-color: #61951f;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: #61951f;
}

@media (min-width: 992px) {
    .nav-item.dropdown:hover .dropdown-menu {
        display: block;
    }

}


.product-group {
    display: none;
}

.disease-item:hover {
    background-color: #61951f;
    color:#ffffff;
}
.category-item:hover {
    background-color: #61951f;
    color:#ffffff;
}

/* consultation button */
    .radio-btn-group .form-check-input {
        display: none;
    }

    .radio-btn-group .btn-label {
        border: 1px solid #e1e5e9;
        padding: 0.3rem 0.5rem;
        cursor: pointer;
        margin-right: 10px;
        border-radius: 5px;
        color:#595c5f;
        transition: 0.2s ease;
    }

    .radio-btn-group .form-check-input:checked + .btn-label {
        background-color: #61951f;
        color: white;
        border-color:#61951f;
    }

    .radio-btn-group .btn-label:hover {
        opacity: 0.85;
    }

/* login form */
.modal {
    object-fit: contain;
}

.modal-body-bg {
    /* background-image: url("/images/public-images/बीमारी कोई भी हो, कितनी भी पुरानी क्यों न हो – हम हैं ना! (2).png");  */
    background-image: url('/images/public-images/aadesh_patola_login_image.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 600px;
}
.modal-content {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
    border: none;
    object-fit: cover;
    background-position: center;
}
.login-form {
    /* background-color: rgba(204, 195, 195, 0.5);
     backface-visibility:visible ; */
    /* background-color: #ffffff; */
    background: rgba(0, 0, 0, 0.446);
    backdrop-filter: blur(9px);
    -webkit-backdrop-filter: blur(10px);
    padding: 20px;
    height: 200px;
}
.text-overlay {
    z-index: 1055;
}
.field_input {
    width: 100%;
    height: 36px;
    border: none;
    border-bottom: 1px solid #ffffff;
    border-radius: 0px;
    background-color: transparent;
    outline: none;
    color: #ffffff;
    font-weight: 400;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.field_input::placeholder {
    color: #ffffff99;
    font-weight: 300;
}
.btn-close.custom-close {
    background-color: rgba(0, 0, 0, 0.446) !important;
    backdrop-filter: blur(9px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    opacity: 1 !important;
    border-radius: 10%;
    padding: 0.5rem;
    background-size: 0.75rem;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M2 2l12 12M14 2L2 14' stroke='white' stroke-width='2'/%3E%3C/svg%3E") !important;
}

/* shopping cart */
.form-check-input:checked {
    background-color: #59322b;
    border-color: #59322b;
}
.proceed-btn:hover {
    background-color: #59322b;
    border-color: #59322b;
}
.cart_badge {
    height: 15px;
    width: 15px;
    padding: 0px 2px;
    margin:0px 0px 0px 2px ;
}
/* language */
.dropdown-menu {
    font-size: var(--sm-font);
    width: 50px;
}

/* header end*/

/* speciality start*/
.speciality {
    font-size: var(--sm-font);
    background-color: var(--pink);
}
.speciality i {
    color: var(--green);
    font-size: var(--sm-font);
}
/* speciality end*/

/* prducts */
.carousel-indicators {
    position: static !important;
    margin-top: 1rem;
    justify-content: center;
    gap: 8px;
}

.carousel-indicators [data-bs-target] {
    background-color: #333;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.carousel-indicators .active {
    opacity: 1;
    background-color: #000;
}

/* footer start*/
.footer {
    background-color: #131a22;
    color: #ffffff;
    width: 100%;
}
.accordion-button {
    background-color: #232f3e;
    color: white;
}
.custom-accordion {
    max-width: auto;
    margin: auto;
}
.accordion-body {
    font-size: 14px;
    background-color: #131a22;
    color: #ffffff;
}
.footer-map {
    width: 100%;
    height: 50%;
}
.social_links {
    border-top: 1px solid gray;
}
.social_links a:hover {
    color: #61951f;
}
.links a {
    text-decoration: none;
    color: #ffffff;
}
.links a:hover {
    color: #61951f;
}
.copyright {
    border: 2px solid gray;
}

/* footer end*/
/* product start*/
.card {
    border-radius: 15px;
    margin: 10px 10px;
}
.card-text {
    color: rgba(0, 128, 0, 0.858);
}
.card-button {
    background-color: rgb(245, 190, 7);
    border-style: none;
    color: black;
}
.card-button:hover {
    background-color: rgb(245, 190, 7);
}

.show-center {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: auto;
    z-index: 1055;
    display: none;
    background: #fff;
    border-radius: 0.5rem;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.show-center.show {
    display: block !important;
}
/* product end */
@media only screen and (max-width: 600px) {
    /* header start*/
    .logo-img {
        height: 60px;
        width: 90px;
    }
    /* header start end*/
}

@media (min-width: 992px) and (max-width: 1264px) {
    /* header start*/
    .logo-img {
        height: 70px;
        width: 120px;
    }
    .seachbar {
        height: 30px;
    }
    .consultation {
        font-size: 10px;
    }
    .nav-link {
        font-weight: 600;
        font-size: 13px;
    }
    /* header end*/
       .product-card
{
    height:400px;
}
}

/* hide scrollbar product detail */
.hide-scrollbar {
    scrollbar-width: none;
    -ms-overflow-style: none;
}
/* hide scrollbar product detail */

/* tracking order */
.horizontal-timeline {
    padding: 40px 10px 0 10px;
    overflow-x: auto;
    white-space: nowrap;
}

.timeline-step {
    min-width: 120px;
    position: relative;
}

.step-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    line-height: 32px;
    font-size: 16px;
    z-index: 2;
    position: relative;
}

.step-line {
    content: '';
    position: absolute;
    top: 15px;
    left: 50%;
    width: 100%;
    height: 3px;
    z-index: 1;
    transform: translateX(0%);
}
/* tracking order */

/* for ck editor table */
.ck-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

.ck-content th {
    background-color: #ccc;
}

.ck-content table,
.ck-content th,
.ck-content td {
    border: 1px solid #070707;
    padding: 8px;
    text-align: left;
}
/* end ck editor */

/* truncate text in blog */
.text-truncate-5-lines {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.truncate-1-line-mobile {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
/*end truncate text in blog */

/* short description in product detail */
.clamp-3-lines {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.toggle-desc {
    transition: all 0.3s ease;
}
/* short description in product detail */


/* home page title and description */
.two-line-truncate {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 3em;
}

.truncate-3-lines {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 4.5em; /* 1.5em line-height × 3 lines */
}
/* home page title and description */
@media (max-width: 767.98px) {
    .card {
        font-size: 0.9rem;
    }
    .card .btn {
        font-size: 0.85rem;
        padding: 0.4rem 0.6rem;
    }
    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        background-size: 100% 100%;
    }
}
    .dropdown-menu {
        overflow-x: hidden !important;
    }

    .product-group a {
        white-space: normal;
        word-wrap: break-word;
    }

    .row {
        margin-left: 0;
        margin-right: 0;
    }
 #toast-container > .toast {
        opacity: 1 !important; /* fully opaque */
    }


.sold-overlay {
    position: absolute;
    inset: 0;
    background: rgba(239, 238, 238, 0.82);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
    opacity: 1;
}

.sold-text {
    color: #fff;
    font-size: 26px;
    font-weight: bold;
    letter-spacing: 2px;
    text-shadow: 0 2px 16px rgba(0,0,0,.15);
    border-radius: 8px;
    padding: 14px 36px;
    background: rgba(220, 53, 69, 0.90);
    box-shadow: 0 3px 14px rgba(0,0,0,0.06);
}
    


