#brandsHomeScroll::-webkit-scrollbar,
#diseasesHomeScroll::-webkit-scrollbar {
    display: none;
}

#brandsHomeScroll,
#diseasesHomeScroll {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

/* Brand Hero Image Slider Styles */
.brand-hero-slider {
    position: relative;
    background: #fff;
}

.slider-wrapper {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
    position: relative;
    background: #fff;
}

.brand-hero-slider .item {
    position: relative;
    width: 100%;
    display: block;
}

.brand-hero-slider .item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.brand-hero-slider .owl-nav button {
    position: absolute;
    top: 50%;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.95) !important;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    color: var(--primary) !important;
    transform: translateY(-50%);
    transition: all 0.3s ease;
    font-size: 20px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
}

.slider-wrapper:hover .owl-nav button {
    opacity: 1;
}

.brand-hero-slider .owl-nav .owl-prev {
    left: 20px;
}

.brand-hero-slider .owl-nav .owl-next {
    right: 20px;
}

.brand-hero-slider .owl-nav button:hover {
    background: var(--primary) !important;
    color: #fff !important;
    transform: translateY(-50%) scale(1.1);
}

.brand-hero-slider .owl-dots {
    position: absolute;
    bottom: 15px;
    width: 100%;
    text-align: center;
    z-index: 10;
}

.brand-hero-slider .owl-dot span {
    width: 8px !important;
    height: 8px !important;
    background: rgba(0, 0, 0, 0.3) !important;
    border: 2px solid rgba(255, 255, 255, 0.8) !important;
    margin: 5px 6px !important;
    transition: all 0.3s;
    display: inline-block;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.brand-hero-slider .owl-dot.active span {
    background: var(--primary) !important;
    border-color: #fff !important;
    width: 24px !important;
    border-radius: 10px !important;
}

@media (max-width: 991px) {
    .brand-hero-slider {
        padding-top: 30px !important;
        padding-bottom: 15px !important;
    }

    .slider-wrapper {
        border-radius: 15px;
    }

    .brand-hero-slider .owl-nav {
        display: none;
    }

    .brand-hero-slider .owl-dots {
        bottom: 10px;
    }

    .section-title h3 {
        font-size: 22px !important;
    }

    .section-title span {
        font-size: 11px !important;
    }

    .section-title {
        display: flex !important;
        justify-content: space-between !important;
        align-items: flex-end !important;
    }

    .section-title a {
        font-size: 11px !important;
        text-align: right;
        white-space: nowrap;
        margin-bottom: 5px;
    }
}

/* Dynamic Offer Promo Modal Premium Styles */
.promo-modal .modal-dialog {
    max-width: 750px;
    margin: 1.75rem auto;
}

.promo-modal-content {
    background: rgba(253, 251, 247, 0.98);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(26, 59, 50, 0.12);
    border-radius: 28px;
    box-shadow: 0 25px 55px rgba(26, 59, 50, 0.16);
    overflow: hidden;
    position: relative;
}

.close-promo-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(26, 59, 50, 0.08);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-emerald);
    font-size: 16px;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition-smooth);
}

.close-promo-btn:hover {
    background: var(--primary-emerald);
    color: #fff;
    transform: rotate(90deg);
}

.promo-img-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 380px;
    overflow: hidden;
    background: var(--sand);
}

.promo-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.promo-modal-content:hover .promo-img-wrapper img {
    transform: scale(1.05);
}

.promo-details-col {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.promo-badge {
    display: inline-block;
    align-self: flex-start;
    padding: 6px 14px;
    background: rgba(140, 158, 94, 0.12);
    color: var(--primary-emerald);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 30px;
    margin-bottom: 20px;
    border: 1px solid rgba(140, 158, 94, 0.2);
}

.promo-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: var(--primary-emerald);
    font-size: 32px;
    line-height: 1.2;
    margin-bottom: 15px;
}

.promo-desc {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 25px;
}

/* Copyable Coupon Box */
.promo-coupon-container {
    position: relative;
    margin-bottom: 25px;
}

.promo-coupon-box {
    border: 2px dashed var(--accent-green);
    background: rgba(140, 158, 94, 0.05);
    padding: 14px 20px;
    border-radius: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition-smooth);
}

.promo-coupon-box:hover {
    background: rgba(140, 158, 94, 0.12);
    border-color: var(--primary-emerald);
    transform: translateY(-2px);
}

.promo-coupon-box:active {
    transform: translateY(0);
}

.coupon-left {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.coupon-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #777;
    font-weight: 600;
}

.coupon-code-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 18px;
    letter-spacing: 1.5px;
    color: var(--primary-emerald);
}

.coupon-right {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-green);
    font-size: 13px;
    font-weight: 700;
}

.coupon-copy-badge {
    background: var(--primary-emerald);
    color: #fff;
    font-size: 10px;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition-smooth);
    transform: scale(0);
    opacity: 0;
}

.coupon-copy-badge.copied {
    transform: scale(1);
    opacity: 1;
}

.promo-expiry {
    font-size: 12px;
    color: #888;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 20px;
    font-weight: 500;
}

.promo-expiry i {
    color: var(--accent-green);
}

/* Responsive styling */
@media (max-width: 767px) {
    .promo-modal .modal-dialog {
        max-width: 90%;
        margin: 1.5rem auto;
    }

    .promo-img-wrapper {
        min-height: 200px;
    }

    .promo-details-col {
        padding: 25px 20px;
    }

    .promo-title {
        font-size: 24px;
    }

    .promo-desc {
        font-size: 13px;
        margin-bottom: 18px;
    }

    .coupon-code-text {
        font-size: 16px;
    }

    /* --- Tighten spacing on mobile to prevent massive white spaces --- */
    .brand-hero-slider {
        padding-top: 15px !important;
        padding-bottom: 10px !important;
    }

    .brands-scroll-section {
        padding-top: 5px !important;
        padding-bottom: 15px !important;
    }

    #brandsHomeScroll {
        padding-bottom: 10px !important;
    }

    .diseases-scroll-section {
        padding-top: 5px !important;
        padding-bottom: 15px !important;
    }

    #diseasesHomeScroll {
        padding-bottom: 10px !important;
    }

    /* Fix section title spaces */
    .section-title {
        margin-bottom: 15px !important;
    }

    .section-title h3 {
        font-size: 20px !important;
        margin-top: 3px !important;
    }

    /* Category actions / What are you looking for today? */
    .ux-actions {
        padding-top: 10px !important;
        padding-bottom: 15px !important;
    }

    .ux-actions .row.text-center.mb-60 {
        margin-bottom: 20px !important;
    }

    .ux-actions .heading-premium {
        font-size: 26px !important;
        margin-top: 5px !important;
    }

    .ux-actions .mb-30 {
        margin-bottom: 15px !important;
    }

    .ux-actions .card-premium {
        padding: 25px 20px !important;
    }

    .ux-actions .card-premium div[style*="width: 100px"] {
        width: 70px !important;
        height: 70px !important;
        font-size: 28px !important;
        margin: 0 auto 15px !important;
    }

    /* About Section */
    .about-sec {
        padding-top: 35px !important;
        padding-bottom: 35px !important;
    }

    .about-sec .mb-60 {
        margin-bottom: 20px !important;
    }

    .about-sec h2.heading-premium {
        font-size: 26px !important;
        margin-top: 5px !important;
    }

    .about-image {
        padding: 5px !important;
        margin-bottom: 15px !important;
    }

    .about-content {
        padding: 5px !important;
    }

    .about-content h3 {
        font-size: 20px !important;
        margin-bottom: 15px !important;
    }

    .about-content p {
        font-size: 14px !important;
        line-height: 1.6 !important;
        margin-bottom: 15px !important;
    }

    .about-content .vision-box {
        padding: 15px !important;
        margin-top: 15px !important;
    }

    /* Contact Section */
    .contact-sec {
        padding-top: 35px !important;
        padding-bottom: 35px !important;
    }

    .contact-info-wrap {
        padding: 20px !important;
        margin-bottom: 25px !important;
        border-radius: 20px !important;
    }

    .contact-info-wrap h2 {
        font-size: 24px !important;
        margin: 10px 0 20px !important;
    }

    .contact-item.mb-30 {
        margin-bottom: 15px !important;
    }

    .contact-item div[style*="width: 60px"] {
        width: 45px !important;
        height: 45px !important;
        font-size: 16px !important;
    }

    .contact-form-card {
        padding: 20px 15px !important;
        border-radius: 25px !important;
    }

    .contact-form-card h3 {
        font-size: 22px !important;
        margin-bottom: 20px !important;
    }

    .contact-form-card .mb-30,
    .contact-form-card .mb-25 {
        margin-bottom: 15px !important;
    }

    .contact-form-card .form-control {
        height: 50px !important;
        padding: 0 15px !important;
        border-radius: 12px !important;
    }

    .contact-form-card textarea.form-control {
        height: 120px !important;
        padding: 15px !important;
    }

    .contact-form-card button {
        height: 55px !important;
        font-size: 16px !important;
    }
}
