.header {
    position: relative;
    z-index: 999;
}

/** {*/
/*    margin: 0;*/
/*    padding: 0;*/
/*    box-sizing: border-box;*/
/*    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;*/
/*}*/

.container,
.container-fluid,
.container-lg,
.container-md,
.container-sm,
.container-xl,
.container-xxl {
    max-width: 1600px;
}

.search-bar {
    width: 500px;
}

.search-bar input:focus {
    border: 1px solid #e5e5e5;
    outline: none !important;
    box-shadow: none !important;
}

.desktop-search-btn {
    background-color: #8c53fe;
    right: 5px;
    color: white;
    border: none;
}

.desktop-search-btn:hover {
    background-color: #8c53fe;
    color: white;
}



.nav-link {
    color: #000;
    font-weight: 600;
    border-bottom: 2px solid transparent;
    padding-bottom: 4px;
    transition: border-color 0.3s ease, color 0.3s ease;
    margin: 5px 0px;
}

.nav-link:hover {
    color: #8c53fe;
    border-bottom-color: #8c53fe;
}

/* SHOW DROPDOWN ON HOVER */
.nav-item.dropdown:hover>.dropdown-menu {
    display: block !important;
}

.nav-item.dropdown {
    position: static !important;
}

/* MEGA DROPDOWN CONTAINER */
.mega-dropdown {
    width: auto;
    max-width: 90vw;
    min-width: 500px;

    background: #fff;
    padding: 30px 40px;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);

    border: none;
    display: none;
    z-index: 999;
}

.mega-wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.mega-columns {
    display: flex;
    gap: 50px;
    align-items: flex-start;
    white-space: nowrap;
}

.mega-col {
    min-width: 180px;
}

.mega-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 6px;
}

.mega-links {
    list-style: none;
    padding-left: 0;
}

.mega-links li a {
    font-size: 14px;
    color: #333;
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
}

.mega-links li a:hover {
    color: #8c53fe;
}

.mega-ads-row {
    display: flex;
    justify-content: center;
}

/* Ad block */
.ads-block {
    width: 100%;
    background: #f8f9fa;
    border-radius: 16px;
    border: 1px solid #e9ecef;
    overflow: hidden;
}

/* Ads Image */
.ads-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    cursor: pointer;
    border-radius: 10px;
    transition: transform 0.3s ease, opacity 0.2s ease;
}

.ads-image:hover {
    transform: scale(1.03);
    opacity: 0.9;
}

/* Ads Video */
.ads-video {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
}

/* Product Card */
.product-card {
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #fff;
    font-size: x-small;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
}


.mega-content {
    padding: 20px 25px;
}

.grid-columns {
    display: inline-grid;
    grid-auto-flow: column;
    grid-gap: 40px;
    align-items: start;
}

/* LEFT MENU COLUMNS WRAPPER */
.menu-columns {
    display: flex;
    flex-direction: row;
    gap: 20px;
    flex: 3;
}

/* Column items */
.dropdown-section {
    min-height: 160px;
    /* keeps all titles aligned */
    white-space: nowrap;
}

/* INDIVIDUAL COLUMN */
.dropdown-section,
.mega-ad {
    flex: 1 !important;
    min-width: 0;
}

/* Section Titles */
.mega-section-title {
    font-size: 16px;
    font-weight: 600;
    color: #222;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e5e5e5;
    white-space: nowrap;
}

/* Links */
.mega-section-links li {
    margin-bottom: 8px;
}

/* Default link color inside dropdown */
.mega-section-links a {
    color: #444;
    font-size: 14px;
    text-decoration: none;
    transition: .2s;
}

/* Hover effect */
.mega-section-links a:hover {
    color: #8c53fe !important;
    /* purple hover */
}

/* Remove bullets */
ul.list-unstyled {
    list-style: none !important;
    padding-left: 0 !important;
}

.mega-ad {
    flex: 1;
}

/* =============================================================================================

    DETAILS PAGE

================================================================================================ */

.scrollable-container {
    max-height: 100vh;
    max-width: 1600px;
    overflow-y: auto;
    scrollbar-width: none;
}

/* LEFT ROW */

.main-image-swiper {
    position: relative;
    width: 100%;
    overflow: hidden;
    touch-action: pan-y;
}

.zoom-container {
    position: relative;
    overflow: hidden;
    cursor: zoom-in;
    background: #f8f9fa;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px;
}

.zoom-image {
    width: auto;
    max-width: 80%;
    height: auto;
    max-height: 100%;
    transition: transform 0.1s ease;
}

.video-container {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.video-container iframe {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
}

.thumbnail-scroll-wrapper {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    padding: 10px 12px;
    box-sizing: border-box;
}

.thumbnail-row {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: nowrap;
    width: max-content;
}

.thumbnail-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
}

/* RIGHT ROW */

.rating-click-area {
    cursor: pointer;
}

.coupon-container {
    width: max-content;
}

/* COUPON */
.coupon-box {
    position: relative;
    width: 228px;
    background: #f8f0ff;
    border-radius: 10px;
    box-shadow: 2px 2px 10px #00000030;
    padding: 10px;
    padding-right: 85px;
    height: 70px;
}

.coupon-box .right-bar {
    position: absolute;
    top: 0;
    right: 0;
    width: 50px;
    height: 100%;
    background: #ac3fff;
    border-radius: 0 10px 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.apply-btn {
    transform: rotate(-90deg);
    font-size: 14px;
    color: #fff;
    font-weight: 700;
}

.coupon-content {
    display: flex;
    flex-direction: column;
}

.code-text {
    font-size: 15px;
    font-weight: 700;
    color: #ac3fff;
}

.code-small {
    font-size: 14px;
    font-weight: 700;
    color: #000;
}

.coupon-desc {
    font-size: 14px;
    font-weight: 600;
    color: #52197e;
    white-space: normal;
    /* wrap text */
    word-break: break-word;
    /* long words wrap */
    line-height: 1.3;
}

.coupon-code {
    font-size: 13px;
    letter-spacing: 0.5px;
}

.coupon-validity {
    font-size: 11px;
    margin-top: 2px;
}

.coupon-box {
    min-height: 85px;
    height: auto;
    padding: 12px;
    padding-right: 85px;
}

.apply-btn {
    cursor: pointer;
    transition: all 0.2s ease;
}

.apply-btn:hover {
    transform: rotate(-90deg) scale(1.05);
}


.offer-container {
    width: max-content;
}

.offer-box {
    position: relative;
    width: 280px;
    height: 120px;
    padding-left: 45px;
}

.offer-box .subtract {
    position: absolute;
    top: 0;
    left: 0;
    width: 14px;
    height: 100%;
}

.offer-box .offer-rectangle {
    position: absolute;
    top: 0;
    left: 3px;
    right: 0;
    bottom: 0;
    border-radius: 14px;
    background: linear-gradient(106deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(208, 185, 255, 0.15) 100%),
        rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(2px);
    height: 122px;
    -webkit-backdrop-filter: blur(2px);
}

.offer-box .offer-rectangle::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 1px;
    border-radius: 14px;
    background: linear-gradient(106deg, #fff, #999);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

.offer-box .text-wrapper {
    position: absolute;
    bottom: 7px;
    right: 18px;
    font-size: 13px;
    cursor: pointer;
    font-weight: 500;
}

.select-row {
    position: absolute;
    bottom: 7px;
    left: 28px;
}

.select-text-small {
    font-size: 13px;
    font-weight: 500;
}

.offer-box .text-wrapper-2 {
    position: absolute;
    top: 6px;
    left: 28px;
    font-weight: 800;
    font-size: 16px;
}

.offer-box .p {
    position: absolute;
    top: 27px;
    left: 28px;
    font-size: 13px;
    font-weight: 500;
}

.offer-box .element-off-up-to {
    position: absolute;
    top: 49px;
    left: 28px;
    font-size: 14px;
    line-height: 14px;
}

.service-container {
    width: max-content;
}

.add-service-btn {
    background-color: #8c53fe;
    color: white;
    border: 0px;
}

.add-service-btn:hover {
    background-color: #8c53fe;
    color: white;
}

.service-know-more {
    color: #8c53fe;
    text-decoration: none;
    padding: 0px 5px;
}

.service-know-more:hover {
    background: #f8f3ff;
    color: #8c53fe;
}

.quantity-box {
    width: 120px;
    height: 38px;
    background: #f8f9fa;
}

.quantity-box .minus {
    width: 32px;
}

.quantity-box .plus {
    width: 32px;
}

.qty-btn:hover {
    color: #8c53fe;
    font-weight: bold;
}

.buy-now-btn {
    border: 1px solid #8c53fe;
    color: #8c53fe;
}

.buy-now-btn:focus {
    border: 0px;
}

.buy-now-btn:hover {
    background-color: #8c53fe;
    color: white;
}

.view-media-btn {
    /* border: 1px solid #8c53fe;<div class="fs-3 text-muted">+</div>

                        <!-- Product-2 -->
                        <div class="text-center">
                            <input type="checkbox" id="phoneStand" checked class="form-check-input mb-2" onchange="updateBundlePrice()">

                            <div class="rounded bg-light d-flex align-items-center justify-content-center mb-2 bought-together-products-img-container">
                                <img src="assets/images/ecom_2.jpg" alt="icon">
                            </div>

                            <div class="small fw-medium">Phone Stand</div>
                            <div class="small text-success fw-semibold">₹599</div>
                        </div>

                        <div class="fs-3 text-muted">+</div>

                        <!-- Product-3 -->
                        <div class="text-center">
                            <input type="checkbox" id="usbCable" checked class="form-check-input mb-2" onchange="updateBundlePrice()">

                            <div class="rounded bg-light d-flex align-items-center justify-content-center mb-2 bought-together-products-img-container">
                                <img src="assets/images/ecom_3.jpg" alt="icon">
                            </div>

                            <div class="small fw-medium">USB-C Cable</div>
                            <div class="small text-success fw-semibold">₹299</div>
                        </div> */
    color: #8c53fe;
}

.view-media-btn:hover {
    background-color: #8c53fe;
    color: white;
}

.view-media-btn:focus {
    border: 0px;
}

.add-to-cart-btn {
    background-color: #8c53fe;
    color: white;
}

.add-to-cart-btn:focus {
    border: 0px;
}

.add-to-cart-btn:hover {
    background-color: white;
    border: 1px solid #8c53fe;
    color: #8c53fe;
}

.feature-slider {
    animation: scroll 20s linear infinite;
}

.feature-slider:hover {
    animation-play-state: paused;
}

.bought-together-products-img-container {
    width: 120px;
    height: 120px;
}

.bought-together-products-img-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.review-filter-group {
    padding-left: 20px;
}

.review-filter-group .review-filter-btn {
    border-color: #8c53fe;
    color: #8c53fe;
}

.review-filter-group .review-filter-btn:hover {
    border-color: #8c53fe;
    color: white;
    background-color: #8c53fe;
}

.review-filter-group .review-filter-btn.active {
    background-color: #8c53fe;
    color: #fff;
    border-color: #8c53fe;
}

.techpro-banner {
    background: linear-gradient(90deg, #A66BFF 0%, #B65CFF 40%, #FF7ACD 100%);
    position: relative;
    overflow: hidden;
}

.techpro-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.1) 2px, transparent 2px);
    background-size: 40px 40px;
    opacity: 0.4;
}

#offerModal .modal-footer,
#offerModal .bottom-buttons {
    position: sticky;
    bottom: 0;
    background: #fff;
    z-index: 20;
    border-top: 1px solid #eee;
    padding: 12px 16px;
}

#offerModal .modal-body {
    max-height: 70vh;
    overflow-y: auto;
}

.variant-thumb-img {
    width: 50px;
    height: 50px;
    border-radius: 6px;
    object-fit: cover;
    border: 1px solid #ddd;
}

.thumbnail-item {
    flex: 0 0 auto;
    width: 70px;
    height: 70px;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #e9ecef;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-sizing: border-box;
    padding: 3px;
}

.thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* crop/fit nicely */
    display: block;
}

.thumbnail-active {
    border: 2px solid #0d6efd !important;
}

.thumbnail-active {
    box-shadow: 0 0 0 3px #2f6cff33;
    border-color: #2f6cff;
}

.thumbnail-scroll-wrapper::-webkit-scrollbar {
    height: 8px;
}

.thumbnail-scroll-wrapper::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.12);
    border-radius: 99px;
}

.thumb-dot {
    width: 8px;
    height: 8px;
    background: #bbb;
    border-radius: 50%;
    transition: 0.2s ease;
}

.thumb-dot.active {
    background: #007bff;
    width: 10px;
    height: 10px;
}

.overflow-auto::-webkit-scrollbar {
    height: 8px;
}

.overflow-auto::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.12);
    border-radius: 99px;
}

.variant-option.selected {
    border: 2px solid #0d6efd;
    background: #e7f1ff;
}

.coupon-applied {
    background: #dcfce7;
    border-color: #16a34a;
}

.border-dotted {
    border-style: dashed !important;
}

.variant-option {
    width: 120px;
    height: 120px;
    text-align: center;
    cursor: pointer;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 10px;
}

.variant-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    margin: 0 auto 5px;
}

.variant-option.selected {
    border-color: #0d6efd !important;
    background: #e7f1ff !important;
}

.text-purple {
    color: #6b21a8 !important;
}

.hover-shadow:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: 0.2s ease;
}

.offer-item {
    padding: 12px;
    border: 1px solid #eee;
    border-radius: 8px;
    background: #fafafa;
    cursor: pointer;
    transition: 0.2s;
}

.offer-item:hover {
    background: #f3f4f6;
}

.offer-item.active {
    border-color: #8c53fe;
    background: #f3e8ff;
}

.offer-modal {
    border-radius: 15px;
    overflow: hidden;
}

.offer-left {
    background: #f8fafc;
    max-height: 400px;
    overflow-y: auto;
    border-radius: 10px 0 0 10px;
}

.offer-item {
    background: white;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    display: flex;
    gap: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.offer-item:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.offer-item.active {
    border: 2px solid #6366f1;
    background: #eef2ff;
}

.offer-badge {
    width: 60px;
    height: 42px;
    background: #e0e7ff;
    color: #3b82f6;
    border-radius: 10px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

/* Right side text */
#offerDetails p {
    margin-bottom: 6px;
    color: #334155;
}

/* OFFER BADGE SQUARE */
.offer-badge {
    width: 48px !important;
    height: 48px !important;
    border-radius: 8px;
    background: #e0e7ff;
    color: #3b82f6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* EMI Modal Styling */
#emiTabs .nav-link {
    color: #555;
    border: none;
    border-bottom: 2px solid transparent;
    padding-bottom: 10px;
}

#emiTabs .nav-link.active {
    color: #8c53fe;
    background: none;
    border-bottom: 2px solid #8c53fe;
}

#emiTabs .nav-link:hover {
    border-color: transparent;
    color: #8c53fe;
}

.emi-table tr {
    border-bottom: 1px solid #eee;
}

.emi-table tr:last-child {
    border-bottom: none;
}

.emi-table td,
.emi-table th {
    padding: 12px 8px;
    vertical-align: middle;
}

/* Existing Styles */
.variant-link {
    transition: 0.2s ease-in-out;
}

/* Product card styles */
.product-card {
    transition: 0.2s ease-in-out;
}

.product-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Image container */
.thumb-box {
    width: 100%;
    height: 160px;
    overflow: hidden;
    border-radius: 8px;
}

.thumb-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Title clamp to 2 lines */
.product-title {
    height: 40px;
    overflow: hidden;
}

/* Rating */
.rating-box .badge {
    font-size: 12px;
    padding: 4px 6px;
}

/* Desktop version */
.techpro-icon-circle {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: 2px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow:
        0 4px 14px rgba(255, 255, 255, 0.25) inset,
        0 0 20px rgba(255, 255, 255, 0.18);
}

.techpro-icon-circle i {
    font-size: 34px;
    color: rgba(255, 255, 255, 0.95);
}

/* Button */
.techpro-btn {
    font-weight: 500;
    color: #3b82f6;
}

/* Stats alignment fix */
.stats-wrapper {
    flex-wrap: wrap;
}

/* Size Container */
.size-container {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.size-box {
    width: auto;
    height: auto;
    min-height: 45px;
    border: 1.5px solid #ccc;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    cursor: pointer;
    background: #fff;
    transition: all 0.25s ease;
    padding: 10px;
}

/* Hover */
.size-box:hover {
    border-color: #0d6efd;
    color: #0d6efd;
}

.border-primary {
    border-color: #8c53fe !important;
}

/* Active Size */
.size-box.active {
    border-color: #8c53fe;
    background: #f1e7ff;
    color: #8c53fe;
    box-shadow: 0px 0px 6px rgb(158 13 253 / 30%)
}

/* Custom Radio Small */
.offer-radio-small {
    appearance: none;
    width: 14px;
    height: 14px;
    border: 2px solid #8c53fe;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
}

/* Checked State */
.offer-radio-small:checked {
    background-color: #8c53fe;
}

.offer-radio-small:checked::after {
    content: "";
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
    position: absolute;
    top: 3px;
    left: 3px;
}

#productTabs {
    display: flex;
    height: 43px;
}

/* Variant link styling */
.size-container a {
    text-decoration: none;
    color: inherit;
}

.size-container a:hover {
    text-decoration: none;
}





@media (max-width: 480px) {
    .logo img {
        width: 60px;
        height: auto;
    }

    .header-btn {
        font-size: 12px;
        padding: 6px 8px;
    }



    .techpro-icon-circle {
        width: 60px;
        height: 60px;
    }

    .techpro-icon-circle i {
        font-size: 22px;
    }

    .size-box {
        width: auto;
        height: auto;
        font-size: 13px;
        min-height: 45px;
    }
}

@media (max-width: 576px) {
    .review-filter-group {
        flex-wrap: wrap;
    }

    .review-filter-group .review-filter-btn {
        flex: 1;
        text-align: center;
    }
}

@media (max-width: 768px) {

    .header-container {
        flex-wrap: wrap;
        gap: 10px;
    }

    .logo {
        order: 1;
    }

    .search-bar {
        order: 4;
        margin: 0;
        max-width: 100%;
        width: 100%;
        min-width: auto;
        flex: none;
        margin-top: 5px;
    }

    .header-actions {
        order: 2;
        margin-left: auto;
        gap: 5px;
    }

    .header-actions .header-btn:not(.login-btn) {
        display: none;
    }

    .login-dropdown {
        right: -50px;
        min-width: 180px;
    }

    .login-dropdown-container:hover .login-dropdown {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }


    .thumbnail-scroll-wrapper {
        display: none !important;
    }

    .thumbnail-row {
        justify-content: center;
        width: 100%;
        flex-wrap: nowrap;
    }

    .dropdown {
        position: fixed;
        left: 10px;
        right: 10px;
        min-width: auto;
        max-width: none;
    }

    .dropdown-content {
        flex-direction: column;
        padding: 20px;
    }

    .ads-block {
        min-width: 100%;
        max-width: 100%;
        margin-top: 20px;
    }

    #offerModal {
        z-index: 99999 !important;
    }

    /* Full screen modal */
    #offerModal .modal-dialog {
        margin: 0;
        max-width: 100%;
        width: 100%;
        height: 100%;
        z-index: 100000 !important;
    }

    #offerModal .modal-content {
        max-height: 50vh;
        border-radius: 0;
        display: flex;
        flex-direction: column;
    }

    /* Two-column → stacked layout */
    #offerModal .row.g-0 {
        flex-direction: column;
        overflow-y: auto;
    }

    #offerModal .col-4,
    #offerModal .col-8 {
        width: 100% !important;
        border-right: none !important;
        border-bottom: 1px solid #eee;
    }

    /* Offer list full width */
    #offerModal #offerList {
        width: 100%;
    }

    /* Fix spacing for details */
    #offerModal .col-8 {
        padding: 20px !important;
    }

    /* Sticky bottom buttons */
    #offerModal .d-flex.justify-content-end.gap-2.p-4 {
        position: sticky;
        bottom: 0;
        background: #fff;
        border-top: 1px solid #ddd;
        padding: 12px !important;
        z-index: 100;
    }

    /* Modal always stays above header */
    #offerModal,
    #offerModal .modal-dialog,
    #offerModal .modal-content {
        z-index: 99999 !important;
    }

    /* Footer ALWAYS stays at bottom */
    .offer-modal-footer {
        margin-top: auto !important;
        /* Push footer to bottom */
        background: #fff;
        border-top: 1px solid #e5e5e5;
        padding: 16px;
    }

    .action-buttons-wrapper button {
        height: 45px;
        /* Fixed equal height */
        display: flex;
        align-items: center;
        justify-content: center;
        white-space: nowrap;
        /* Prevent text wrapping */
    }

    /* Make compare button height same as others */
    .compare-btn {
        padding: 0 16px !important;
        /* remove extra vertical padding */
    }

    .techpro-banner {
        text-align: end;
    }

    .stats-wrapper {
        justify-content: center;
        gap: 20px;
    }

    .techpro-icon-circle {
        width: 70px;
        height: 70px;
        border-width: 1.5px;
        backdrop-filter: blur(4px);
    }

    .techpro-icon-circle i {
        font-size: 26px;
    }

    .offer-box {
        padding-left: 25px;
        /* smaller left spacing for mobile */
    }

    .offer-box .offer-rectangle::before {
        background: linear-gradient(106deg, #fff, #999);
        border-left: none !important;
        /* remove left edge */
        border-radius: 14px;

        /* Mask left side only */
        -webkit-mask:
            linear-gradient(to right, transparent 0, transparent 10px, #fff 10px) padding-box,
            linear-gradient(#fff 0 0);
        -webkit-mask-composite: xor;
        mask-composite: exclude;
    }

    .offer-box .offer-rectangle {
        position: absolute;
        top: 0;
        left: 1px !important;
        /* align glass card next to purple line */
        right: 0;
        bottom: 0;
        border-radius: 14px;
        background: linear-gradient(106deg,
                rgba(255, 255, 255, 0) 0%,
                rgba(208, 185, 255, 0.15) 100%),
            rgba(255, 255, 255, 0.85);
        backdrop-filter: blur(2px);
        -webkit-backdrop-filter: blur(2px);
    }

    .offer-box .offer-rectangle::before {
        content: "";
        position: absolute;
        inset: 0;
        padding: 1px;
        border-radius: 14px;
        background: linear-gradient(106deg, #fff, #999);
        -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
        -webkit-mask-composite: xor;
        mask-composite: exclude;
    }

    .offer-box .subtract {
        position: absolute;
        left: 0 !important;
        z-index: 5;
        /* keep above rectangle */
        width: auto;
    }

    .text-wrapper,
    .text-wrapper-2,
    .p,
    .element-off-up-to {
        font-size: 13px !important;
        line-height: 1.4;
    }

    .select-row {
        margin-top: 12px;
    }

    .offer-radio-small {
        transform: scale(0.85);
    }

    .similar-grid .col-xl-2-4 {
        width: 50% !important;
        /* 2 items per row */
        padding-left: 8px;
        padding-right: 8px;
    }

    .similar-product-card {
        padding: 12px !important;
    }

    .thumb-box img {
        width: 100%;
        height: auto;
    }

    .size-box {
        width: auto;
        height: auto;
        font-size: 13px;
        min-height: 45px;
    }

    #productTabs {
        display: none !important;
    }
}


@media (max-width: 992px) {
    .col-xl-2-4 {
        width: 33.33%;
        /* 3 per row */
    }
}

@media (max-width: 1200px) {

    .dropdown {
        min-width: 600px;
        max-width: 800px;
    }

    .ads-block {
        min-width: 200px;
        max-width: 250px;
    }

    .col-xl-2-4 {
        width: 25%;
        /* 4 per row */
    }
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes slideDown {
    from {
        transform: translateY(-10px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}


/* SELLER */
/* BRAND HERO SECTION */
.brand-hero {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    /* padding: 40px 0; */
    position: relative;
}

.brand-logo-large {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    font-size: 48px;
}

.brand-title {
    font-size: 48px;
    font-weight: 800;
    background: linear-gradient(45deg, #fff, #e3f2fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-product-showcase {
    width: 300px;
    height: 400px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, .2);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero-product-image {
    font-size: 120px;
    animation: float 3s infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* =========================================================
   AD BANNERS
    ========================================================= */
.main-ad-banner {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    border-radius: 12px;
    color: white;
    padding: 40px;
    cursor: pointer;
    transition: 0.3s;
    position: relative;
}

.main-ad-banner:hover {
    transform: translateY(-4px);
}

.side-ad {
    border-radius: 12px;
    padding: 24px;
    cursor: pointer;
    transition: 0.3s;
    position: relative;
    color: white;
}

.side-ad:hover {
    transform: scale(1.03);
}

.side-ad:nth-child(2) {
    background: linear-gradient(135deg, #a8edea, #fed6e3);
    color: #333;
}

/* =========================================================
   LIVE STREAMING
    ========================================================= */
.live-video-container {
    background: #2c2c2c;
    border-radius: 12px;
    overflow: hidden;
}

.live-video {
    height: 400px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    cursor: pointer;
    position: relative;
}

.live-play-icon {
    font-size: 80px;
    opacity: .8;
    transition: .3s;
}

.live-play-icon:hover {
    opacity: 1;
    transform: scale(1.1);
}

.live-controls {
    background: linear-gradient(transparent, rgba(0, 0, 0, .8));
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
}

.live-avatar {
    width: 40px;
    height: 40px;
    background: #ff4757;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.live-btn {
    background: rgba(255, 255, 255, .2);
    color: white;
    border: 0;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    transition: .3s;
}

.live-btn:hover {
    background: rgba(255, 255, 255, .3);
}

.live-chat {
    background: #2c2c2c;
    border-radius: 12px;
    padding: 20px;
    height: 400px;
    display: flex;
    flex-direction: column;
}

.chat-message {
    background: #3c3c3c;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 14px;
}

/* =========================================================
   VIDEO ADS
    ========================================================= */
.video-ad-card {
    border-radius: 12px;
    overflow: hidden;
    background: white;
    transition: .3s;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .1);
}

.video-ad-card:hover {
    transform: translateY(-4px);
}

.video-thumbnail {
    height: 200px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.video-play-btn {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transition: .3s;
}

.video-play-btn:hover {
    transform: scale(1.1);
}

/* =========================================================
   PRODUCTS
    ========================================================= */
.product-card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .08);
    transition: .3s;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, .15);
}

.product-badge {
    background: #ff4757;
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    position: absolute;
    top: 16px;
    left: 16px;
}

.product-rating .rating-badge {
    background: #27ae60;
    color: white;
    border-radius: 4px;
    padding: 2px 6px;
}

/* =========================================================
   SPONSORED BRAND SECTION
    ========================================================= */
.sponsor-card {
    flex: 0 0 400px;
    min-width: 400px;
    height: 380px;
    border-radius: 16px;
    background: white;
    overflow: hidden;
    transition: .3s;
    cursor: pointer;
    border: 2px solid transparent;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .08);
}

.sponsor-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, .15);
    border-color: #2874f0;
}

.sponsor-media {
    height: 240px;
    cursor: pointer;
    position: relative;
    transition: .3s;
}

.sponsor-media:hover {
    transform: scale(1.05);
}

.media-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, .3);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .3s;
}

.sponsor-media:hover .media-overlay {
    opacity: 1;
}

.play-button {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.sponsor-features .feature-tag {
    background: linear-gradient(#e3f2fd, #bbdefb);
    color: #1976d2;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 10px;
    border: 1px solid #90caf9;
}

/* =========================================================
   TOAST
    ========================================================= */
.toast {
    font-size: 14px;
    z-index: 9999;
}

/* =========================================================
   PRODUCT COLLECTION SECTION - FULL CSS
    ========================================================= */
.products-section {
    padding: 40px 0;
    background: #f8f9fa;
}

.products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.products-title {
    font-size: 28px;
    font-weight: 700;
}

.products-filter .filter-btn {
    background: white;
    border: 1px solid #ddd;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    transition: 0.3s;
    color: #555;
}

.products-filter .filter-btn.active,
.products-filter .filter-btn:hover {
    background: #2874f0;
    color: white;
    border-color: #2874f0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.product-card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .08);
    position: relative;
    transition: .3s;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .15);
}

.product-badge {
    background: #ff4757;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    color: white;
    position: absolute;
    top: 12px;
    left: 12px;
}

.product-image {
    height: 200px;
    background: #f8f9fa;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    margin-bottom: 12px;
}

.product-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
}

.product-price {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.current-price {
    font-size: 20px;
    font-weight: 700;
}

.original-price {
    font-size: 14px;
    text-decoration: line-through;
    color: #777;
}

.discount {
    font-size: 12px;
    font-weight: 600;
    color: #27ae60;
}

.product-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 15px;
}

.rating-badge {
    background: #27ae60;
    color: white;
    border-radius: 4px;
    padding: 2px 6px;
}

.rating-count {
    font-size: 12px;
    color: #777;
}

.product-actions {
    display: flex;
    gap: 10px;
}

.btn-primary {
    background: #2874f0;
    color: white;
    border: none;
    padding: 10px 16px;
    font-weight: 600;
    border-radius: 6px;
}

.btn-primary:hover {
    background: #1e5bb8;
}

/* =========================================================
   SPONSORED BRAND PARTNERS - FULL CSS
    ========================================================= */

.sponsored-brands-section {
    padding: 40px 0;
    background: linear-gradient(#f8f9fa, #e9ecef);
}

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

.sponsored-subtitle {
    font-size: 16px;
    color: #666;
}

.sponsored-grid {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.sponsored-grid::-webkit-scrollbar {
    height: 8px;
}

.sponsored-grid::-webkit-scrollbar-thumb {
    background: #bbb;
    border-radius: 4px;
}

.sponsor-card {
    min-width: 380px;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: .3s;
    box-shadow: 0 5px 20px rgba(0, 0, 0, .1);
}

.sponsor-card:hover {
    transform: translateY(-6px);
    border-color: #2874f0;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .2);
}

/* MEDIA AREA */
.sponsor-media-container {
    height: 240px;
    position: relative;
}

.sponsor-media {
    height: 100%;
    width: 100%;
    cursor: pointer;
    transition: .3s;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.sponsor-media:hover {
    transform: scale(1.05);
}

.media-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, .3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: .3s;
}

.sponsor-media:hover .media-overlay {
    opacity: 1;
}

.play-button {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transition: .3s;
}

.media-duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, .7);
    color: white;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 5px;
}

.media-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 12px;
    background: white;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
}

.live-indicator {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #ff4757;
    padding: 6px 12px;
    border-radius: 20px;
    color: white;
    display: flex;
    gap: 6px;
    align-items: center;
    font-size: 12px;
}

/* PRODUCT INFO AREA */
.sponsor-product-info {
    padding: 20px;
    border-top: 1px solid #eee;
}

.sponsor-brand-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.sponsor-brand-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sponsor-logo {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
}

.sponsor-tag {
    background: #ff4757;
    padding: 5px 10px;
    border-radius: 12px;
    font-size: 10px;
    color: white;
    font-weight: 700;
}

/* PRODUCT INNER SECTION */
.sponsor-product-main {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 16px;
}

.sponsor-product-image {
    width: 60px;
    height: 60px;
    background: #f7f7f7;
    border-radius: 12px;
    border: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.sponsor-product-rating {
    margin-top: 5px;
    display: flex;
    gap: 5px;
    align-items: center;
}

.sponsor-rating-badge {
    background: #27ae60;
    color: white;
    padding: 3px 8px;
    border-radius: 10px;
    font-size: 11px;
}

.sponsor-product-name {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

/* SPECS GRID */
.sponsor-product-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    margin-bottom: 10px;
}

.sponsor-spec-label {
    font-size: 10px;
    font-weight: 600;
    color: #666;
}

.sponsor-spec-value {
    font-size: 12px;
    font-weight: 700;
    color: #333;
}

.sponsor-product-price {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 10px;
}

.sponsor-current-price {
    font-size: 18px;
    font-weight: 800;
}

.sponsor-original-price {
    font-size: 12px;
    text-decoration: line-through;
    color: #888;
}

.sponsor-discount {
    background: #27ae60;
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 700;
}

/* FEATURES TAGS */
.sponsor-features {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.feature-tag {
    font-size: 9px;
    padding: 4px 8px;
    border-radius: 12px;
    background: #e3f2fd;
    border: 1px solid #90caf9;
    color: #1976d2;
    font-weight: 700;
}

/* ACTION BUTTONS */
.sponsor-actions {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 10px;
}

.sponsor-btn-primary {
    background: #2874f0;
    border: none;
    color: white;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: .3s;
}

.sponsor-btn-primary:hover {
    background: #1e5bb8;
}

.sponsor-btn-secondary {
    background: white;
    color: #2874f0;
    border: 2px solid #2874f0;
    padding: 8px 12px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
}

.sponsor-btn-secondary:hover {
    background: #2874f0;
    color: white;
}

/* Modal Backdrop */
.modal-backdrop {
    background-color: rgba(0, 0, 0, 0.5);
}

/* Modal Dialog */
.modal-dialog {
    margin: 1.75rem auto;
}

.modal-dialog-centered {
    min-height: calc(100% - 3.5rem);
}

/* Modal Content */
.modal-content {
    border-radius: 8px;
    border: 1px solid #dee2e6;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

/* Modal Header */
.modal-header {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #dee2e6;
    background-color: #fff;
    border-radius: 8px 8px 0 0;
}

.modal-header .modal-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
}

.modal-header .btn-close {
    padding: 0.5rem;
    margin: -0.5rem -0.5rem -0.5rem auto;
    background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat;
    border: 0;
    opacity: 0.5;
}

.modal-header .btn-close:hover {
    opacity: 0.75;
}

/* Modal Body */
.modal-body {
    padding: 1.5rem;
    background-color: #fff;
}

/* Modal Footer */
.modal-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid #dee2e6;
    background-color: #f8f9fa;
    border-radius: 0 0 8px 8px;
}

/* Offer Modal Specific */
.offer-modal .modal-body {
    padding: 0;
}

.offer-modal-footer {
    border-top: 1px solid #dee2e6;
    background-color: #f8f9fa;
}

/* Modal Buttons */
.modal .btn-primary {
    background-color: #8C53FE;
    border-color: #8C53FE;
    color: #fff;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
}

.modal .btn-primary:hover {
    background-color: #7a3fe6;
    border-color: #7a3fe6;
}

.modal .btn-light {
    background-color: #f8f9fa;
    border-color: #dee2e6;
    color: #333;
    padding: 0.5rem 1.5rem;
}

.modal .btn-light:hover {
    background-color: #e9ecef;
    border-color: #dee2e6;
}

/* Service Modal Content */
#serviceContent {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #666;
}

/* Offer List in Modal */
#offerList {
    max-height: 400px;
    overflow-y: auto;
}

#offerDetails {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #666;
}

/* Responsive Modal */
@media (max-width: 576px) {
    .modal-dialog {
        margin: 0.5rem;
    }

    .modal-dialog-centered {
        min-height: calc(100% - 1rem);
    }
}



.text-primary {
    color: #8c53fe !important;
}

/* =============================================================================================
    OFFER DESCRIPTION MODAL STYLES
================================================================================================ */

.offer-detail-content {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.offer-description {
    line-height: 1.8;
    font-size: 0.95rem;
    color: #333;
}

.offer-description h1,
.offer-description h2,
.offer-description h3,
.offer-description h4,
.offer-description h5,
.offer-description h6 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: #222;
}

.offer-description h1 {
    font-size: 1.75rem;
}

.offer-description h2 {
    font-size: 1.5rem;
}

.offer-description h3 {
    font-size: 1.25rem;
}

.offer-description h4 {
    font-size: 1.1rem;
}

.offer-description h5 {
    font-size: 1rem;
}

.offer-description h6 {
    font-size: 0.95rem;
}

.offer-description p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.offer-description ul,
.offer-description ol {
    margin-bottom: 1rem;
    padding-left: 2rem;
    line-height: 1.7;
}

.offer-description li {
    margin-bottom: 0.5rem;
}

/* Table Styling - Properly formatted with borders and responsive */
.offer-description table {
    width: 100%;
    max-width: 100%;
    margin: 1.5rem 0;
    border-collapse: collapse;
    border: 1px solid #dee2e6;
    background-color: #fff;
    font-size: 0.8rem;
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.offer-description table thead,
.offer-description table tbody,
.offer-description table tr {
    display: table;
    width: 100%;
    table-layout: fixed;
}

.offer-description table th,
.offer-description table td {
    padding: 0.5rem 0.75rem;
    border: 1px solid #dee2e6;
    text-align: left;
    vertical-align: top;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.offer-description table th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #495057;
    border-bottom: 2px solid #dee2e6;
}

.offer-description table tbody tr:nth-child(even) {
    background-color: #f8f9fa;
}

.offer-description table tbody tr:hover {
    background-color: #e9ecef;
}

.offer-description strong,
.offer-description b {
    font-weight: 600;
    color: #222;
}

.offer-description em,
.offer-description i {
    font-style: italic;
}

.offer-description a {
    color: #8c53fe;
    text-decoration: none;
}

.offer-description a:hover {
    text-decoration: underline;
}

/* Meta Information Box */
.offer-meta {
    background-color: #f8f9fa;
    padding: 1.25rem;
    border-radius: 0.5rem;
    margin-top: 1.5rem;
}

.offer-meta small {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.offer-meta strong {
    font-size: 1.1rem;
    display: block;
    margin-top: 0.25rem;
}

/* Offer Details Container - Prevent overflow */
#offerDetails {
    overflow-x: hidden;
    overflow-y: auto;
    max-width: 100%;
}

.offer-detail-content {
    max-width: 100%;
    overflow-x: hidden;
}

/* Offer Item in List */
.offer-item {
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.offer-item:hover {
    border-color: #dee2e6;
}

.offer-item.active {
    border-color: #8c53fe !important;
    background-color: #f8f3ff !important;
}

/* Responsive Tables */
@media (max-width: 768px) {
    .offer-description table {
        font-size: 0.85rem;
    }

    .offer-description table th,
    .offer-description table td {
        padding: 0.5rem;
    }
}

/* =============================================================================================
    MEDIA GALLERY MODAL STYLES
================================================================================================ */

/* Media Grid for Thumbnails */
.media-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.media-thumb {
    position: relative;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    aspect-ratio: 1;
}

.media-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.media-thumb:hover {
    border-color: #8c53fe;
    transform: scale(1.05);
}

.media-thumb.active {
    border-color: #8c53fe;
    box-shadow: 0 0 0 2px rgba(140, 83, 254, 0.2);
}

/* Modal Tabs */
#mediaGalleryModal .nav-tabs {
    border-bottom: none;
}

#mediaGalleryModal .nav-link {
    color: #666;
    font-weight: 600;
    border: none;
    border-bottom: 3px solid transparent;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
}

#mediaGalleryModal .nav-link:hover {
    color: #8c53fe;
    border-bottom-color: rgba(140, 83, 254, 0.3);
}

#mediaGalleryModal .nav-link.active {
    color: #8c53fe;
    border-bottom-color: #8c53fe;
    background: none;
}

/* Preview Area */
#imagePreview,
#videoPreview {
    background: #f8f9fa;
}

/* Responsive */
@media (max-width: 768px) {
    .media-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    #mediaGalleryModal .modal-dialog {
        margin: 0;
        max-width: 100%;
    }

    #mediaGalleryModal .modal-content {
        height: 100vh;
        border-radius: 0;
    }
}

/* =============================================================================================
    HORIZONTAL SCROLL ARROWS
================================================================================================ */

.scroll-arrows {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.scroll-arrow-btn {
    width: 32px;
    height: 32px;
    border: 1px solid #dee2e6;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.scroll-arrow-btn:hover {
    background: #f8f9fa;
    border-color: #8c53fe;
    color: #8c53fe;
}

.scroll-arrow-btn:active {
    transform: scale(0.95);
}

.scroll-arrow-btn i {
    font-size: 14px;
    line-height: 1;
}

/* Hide scrollbar but keep functionality */
.scroll-container {
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE and Edge */
}

.scroll-container::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Opera */
}

/* Smooth scroll */
.scroll-container {
    scroll-behavior: smooth;
}

/* =============================================================================================
    SIMILAR PRODUCTS HORIZONTAL LAYOUT
================================================================================================ */

.similar-product-card-horizontal {
    flex: 0 0 auto;
    width: 220px;
    /* Fixed width to show ~5 products at a time */
}

.similar-product-card-horizontal .thumb-box {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
}

.similar-product-card-horizontal .thumb-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.similar-product-card-horizontal .product-title {
    font-size: 0.875rem;
    line-height: 1.3;
    height: 2.6em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.similar-product-card-horizontal .similar-product-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.similar-product-card-horizontal .similar-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .similar-product-card-horizontal {
        width: 180px;
    }

    .similar-product-card-horizontal .thumb-box {
        height: 150px;
    }
}

/* =============================================================================================
    BRAND PRODUCTS CARDS
================================================================================================ */

.brand-product-card-horizontal {
    flex: 0 0 auto;
    width: 280px;
    /* Wider cards for brand products */
}

.brand-product-card {
    border-radius: 12px;
    overflow: hidden;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.brand-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* Gradient Header Backgrounds */
.brand-card-header {
    position: relative;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.gradient-purple {
    background: #f5f5f7;
}

.gradient-cyan {
    background: #f0f4f8;
}

.gradient-orange {
    background: #fff5f5;
}

.gradient-blue {
    background: #f0f9ff;
}

.gradient-green {
    background: #f0fdf4;
}

.gradient-pink {
    background: #fdf2f8;
}

.gradient-teal {
    background: #f0fdfa;
}

.gradient-indigo {
    background: #f5f3ff;
}

.gradient-red {
    background: #fef2f2;
}

.gradient-amber {
    background: #fffbeb;
}

/* Product Image in Header */
.product-image-container {
    max-width: 120px;
    max-height: 120px;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

/* Live Viewers Badge */
.live-viewers {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Card Body */
.brand-card-body {
    padding: 1rem;
    background: white;
}

/* Brand Logo Circle */
.brand-logo-circle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.brand-logo-circle i {
    font-size: 18px;
}

/* Brand Name */
.brand-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: #333;
}

/* Product Thumbnail Small */
.product-thumb-small {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    overflow: hidden;
    background: #f8f9fa;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-thumb-small img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Product Name */
.product-name-brand {
    font-size: 0.875rem;
    font-weight: 600;
    color: #333;
    line-height: 1.3;
    margin-bottom: 0.25rem;
}

/* Product Specs */
.product-specs {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.spec-item {
    font-size: 0.6rem;
    color: #666;
    background: #f0f0f0;
    padding: 2px 8px;
    border-radius: 4px;
    white-space: nowrap;
}

.bg-danger {
    background-color: rgba(171, 102, 255, 50%) !important;
}

/* Responsive */
@media (max-width: 768px) {
    .brand-product-card-horizontal {
        width: 240px;
    }

    .brand-card-header {
        height: 140px;
    }

    .product-image-container {
        max-width: 100px;
        max-height: 100px;
    }
}

/* =============================================================================================
    VIEW MORE BUTTON
================================================================================================ */

.view-more-btn {
    display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #8c53fe;
    text-decoration: none;
    border: 1.5px solid #8c53fe;
    border-radius: 6px;
    background: white;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.view-more-btn:hover {
    background: #8c53fe;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(140, 83, 254, 0.3);
}

.view-more-btn:active {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .view-more-btn {
        padding: 5px 12px;
        font-size: 0.75rem;
    }
}

.rating-overview {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 20px;
    padding: 16px 20px;
    max-width: 100%;
    background: linear-gradient(135deg, #f8f4ff 0%, #ffffff 100%);
    border: 2px solid #e9d5ff;
    border-radius: 12px;
    align-items: center;
    box-shadow: 0 2px 12px rgba(140, 83, 254, 0.08);
}

.overall-rating {
    text-align: center;
    padding: 12px;
    background: linear-gradient(135deg, #8c53fe 0%, #a78bfa 100%);
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(140, 83, 254, 0.25);
}

.rating-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
    backdrop-filter: blur(10px);
}

.rating-circle::before {
    content: '';
    width: 58px;
    height: 58px;
    background: white;
    border-radius: 50%;
    position: absolute;
}

.rating-number {
    font-size: 26px;
    font-weight: 800;
    color: #8c53fe;
    margin: 0;
    position: relative;
    z-index: 1;
}

.rating-stars {
    font-size: 1rem;
    color: #fbbf24;
    margin-bottom: 4px;
    filter: drop-shadow(0 2px 4px rgba(251, 191, 36, 0.4));
}

.detail-rating-count {
    font-size: 11px;
    color: #ffffff;
    font-weight: 600;
}

.rating-breakdown {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rating-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.rating-row:hover {
    transform: translateX(3px);
    transition: transform 0.2s ease;
}

.rating-label {
    min-width: 90px;
    font-weight: 600;
    font-size: 13px;
    color: #4b5563;
}

.rating-bar {
    flex: 1;
    height: 10px;
    background: #f3f4f6;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.rating-fill {
    height: 100%;
    background: linear-gradient(90deg, #8c53fe 0%, #a78bfa 100%);
    transition: width 0.6s ease;
    box-shadow: 0 2px 4px rgba(140, 83, 254, 0.3);
}

.rating-fill::after {
    display: none;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.rating-percentage {
    min-width: 38px;
    text-align: right;
    font-weight: 700;
    color: #8c53fe;
    font-size: 13px;
}

.emoji-ratings {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    margin: 16px 0;
    max-width: 100%;
}

.emoji-rating {
    background: linear-gradient(135deg, #ffffff 0%, #faf8ff 100%);
    border-radius: 10px;
    padding: 12px 8px;
    text-align: center;
    cursor: pointer;
    border: 2px solid #e9d5ff;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.emoji-rating::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(140, 83, 254, 0.1), transparent);
    transition: left 0.4s ease;
}

.emoji-rating:hover::before {
    left: 100%;
}

.emoji-rating:hover {
    border-color: #8c53fe;
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(140, 83, 254, 0.2);
}

.emoji-rating.active {
    border-color: #8c53fe;
    background: linear-gradient(135deg, #f3e8ff 0%, #e9d5ff 100%);
}

.emoji-rating .emoji,
.emoji-rating .label {
    display: block;
}

.emoji-rating .emoji {
    font-size: 2.5rem;
    margin-bottom: 6px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

.emoji-rating .label {
    font-weight: 700;
    color: #1f2937;
    font-size: 14px;
    margin-bottom: 6px;
}

.emoji-rating .tags {
    display: none;
}

.emoji-rating .tag {
    display: none;
}

.emoji-rating .count {
    color: #8c53fe;
    font-size: 11px;
    margin-top: 4px;
    font-weight: 600;
}

.filters-section {
    width: 100%;
    background: linear-gradient(135deg, #f8f4ff 0%, #faf8ff 100%);
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 16px;
    border: 2px solid #e9d5ff;
}

.filters-title {
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 10px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.filters-title::before {
    content: '🔍';
    font-size: 16px;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.filter-btn {
    padding: 6px 14px;
    border: 2px solid #e9d5ff;
    background: white;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    color: #6b7280;
    font-size: 12px;
}

.filter-btn::before {
    display: none;
}

.filter-btn:hover::before {
    display: none;
}

.filter-btn:hover {
    border-color: #8c53fe;
    color: #8c53fe;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(140, 83, 254, 0.15);
}

.filter-btn.active {
    background: linear-gradient(135deg, #8c53fe 0%, #a78bfa 100%);
    color: white;
    border-color: #8c53fe;
    box-shadow: 0 4px 12px rgba(140, 83, 254, 0.3);
}

.section-title {
    font-size: 16px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-title::before {
    content: '💬';
    font-size: 18px;
}

.review-card {
    background: white;
    border: 2px solid #f3f4f6;
    border-radius: 10px;
    padding: 14px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.review-card:hover::before {
    display: none;
}

.review-card:hover {
    border-color: #e9d5ff;
    box-shadow: 0 4px 16px rgba(140, 83, 254, 0.12);
    transform: translateY(-2px);
}

.review-card.hidden {
    display: none;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.reviewer-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8c53fe 0%, #a78bfa 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 13px;
    box-shadow: 0 2px 8px rgba(140, 83, 254, 0.3);
}

.reviewer-details h4 {
    margin: 0;
    color: #1f2937;
    font-weight: 600;
    font-size: 14px;
}

.reviewer-details .date {
    color: #6b7280;
    font-size: 11px;
    margin-top: 2px;
    font-weight: 400;
}

.review-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    padding: 4px 10px;
    border-radius: 20px;
    box-shadow: 0 2px 6px rgba(245, 158, 11, 0.2);
}

.stars {
    color: #f59e0b;
    font-size: 12px;
}

.rating-value {
    font-weight: 700;
    color: #92400e;
    font-size: 12px;
}

.review-content {
    color: #374151;
    line-height: 1.5;
    margin: 8px 0;
    font-size: 13px;
}

.review-media {
    display: flex;
    gap: 8px;
    margin: 8px 0;
    flex-wrap: wrap;
}

.media-item {
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid #e9d5ff;
}

.media-item:hover::before {
    display: none;
}

.media-item:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(140, 83, 254, 0.2);
    border-color: #8c53fe;
}

.media-item img {
    width: 100px;
    height: 100px;
    object-fit: cover;
}

.media-item video {
    width: 100px;
    height: 100px;
    object-fit: cover;
}

.review-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.action-btn {
    display: flex;
    align-items: center;
    padding: 5px 12px;
    border: 2px solid #e9d5ff;
    border-radius: 20px;
    cursor: pointer;
    font-size: 11px;
    font-weight: 600;
    transition: all 0.3s ease;
    background: white;
    color: #6b7280;
}

.action-btn:hover {
    border-color: #8c53fe;
    color: #8c53fe;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(140, 83, 254, 0.15);
}

.action-btn.helpful {
    color: #059669;
    border-color: #d1fae5;
}

.action-btn.helpful:hover {
    background: #d1fae5;
    border-color: #059669;
}

.action-btn.helpful.active {
    background: #059669;
    color: white;
}

.action-btn.report {
    color: #dc2626;
    border-color: #fee2e2;
}

.action-btn.report:hover {
    background: #fee2e2;
    border-color: #dc2626;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.modal.active {
    display: flex;
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal-content {
    background: white;
    border-radius: 25px;
    padding: 40px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px) scale(0.9);
    }

    to {
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f1f5f9;
}

.modal-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: #374151;
}

.close-btn {
    background: #f1f5f9;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #64748b;
    padding: 10px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.close-btn:hover {
    background: #e2e8f0;
    color: #374151;
}

.report-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.report-option {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    border: 2px solid #e2e8f0;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.report-option:hover {
    border-color: #4f46e5;
    background: #f8fafc;
    transform: translateX(5px);
}

.report-option input[type="radio"] {
    margin: 0;
    width: 20px;
    height: 20px;
}

.report-option span {
    font-weight: 600;
    color: #374151;
}

.submit-report {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 15px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 25px;
    width: 100%;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.submit-report:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(220, 38, 38, 0.4);
}

/* Tablet – show 3 in a row */
@media (max-width: 992px) {
    .tab-content {
        padding-left: 0px !important;
    }

    .emoji-ratings {
        grid-template-columns: repeat(3, 1fr);
    }

    .rating-overview {
        padding: 10px 15px;
    }

    .rating-label {
        font-weight: 100;
    }
}

/* Small Tablet / Large Phone – show 2-3 in a row */
@media (max-width: 768px) {
    .tab-content {
        padding-left: 0px !important;
    }

    .emoji-ratings {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .rating-overview {
        grid-template-columns: 120px 1fr;
        gap: 12px;
        padding: 12px 16px;
    }

    .overall-rating {
        padding: 10px;
    }

    .rating-circle {
        width: 60px;
        height: 60px;
    }

    .rating-circle::before {
        width: 50px;
        height: 50px;
    }

    .rating-number {
        font-size: 22px;
    }

    .rating-label {
        font-size: 12px;
        min-width: 80px;
    }

    .rating-percentage {
        font-size: 12px;
        min-width: 35px;
    }

    .emoji-rating .emoji {
        font-size: 2rem;
    }

    .emoji-rating .label {
        font-size: 12px;
    }
}

/* Mobile – show 2 cards */
@media (max-width: 576px) {
    .tab-content {
        padding-left: 0px !important;
    }

    .emoji-ratings {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .rating-row {
        gap: 6px;
    }

    .rating-overview {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 12px;
        text-align: center;
    }

    .rating-label {
        font-size: 11px;
        min-width: 70px;
    }

    .rating-bar {
        height: 8px;
    }

    .rating-percentage {
        min-width: 30px;
        font-size: 11px;
    }

    .emoji-rating {
        padding: 10px 6px;
    }

    .emoji-rating .emoji {
        font-size: 1.8rem;
    }

    .emoji-rating .label {
        font-size: 11px;
    }

    .emoji-rating .count {
        font-size: 10px;
    }

    .filter-btn {
        font-size: 11px;
        padding: 5px 12px;
    }

    .review-card {
        padding: 12px;
    }
}