html {
    height: 100%;
}

/* =====================================================
   Product Grid Color Variables (easy to update)
   ===================================================== */
:root {
    --product-title-color: #ec008c;      /* Product name text color (pink) */
    --product-price-color: #00aeef;      /* Price text color (brand blue) */
    --product-btn-color: #ec008c;        /* Buy Now button background (pink) */
    --product-btn-hover: #c70076;        /* Buy Now button hover (darker pink) */
}

body {
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
    font-size: 15px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Typography: Montserrat for headings and prominent elements */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}

h1 {
    font-size: 48px;
    font-weight: 700;
}

h2 {
    font-size: 32px;
    font-weight: 700;
}

h3 {
    font-size: 24px;
    font-weight: 600;
}

/* Buttons use Montserrat */
.btn,
.btn-main,
.customBtn,
.customBtn-primary,
.cart-btn,
.tab-button,
.edit-btn {
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
/*    text-transform: uppercase;*/
    letter-spacing: 0.5px;
}

/* Navigation links use Montserrat */
.navbar-nav .nav-link,
.mega-heading,
.mega-heading-view,
.mega-nav-text,
.mega-discover-text {
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}

/* Price displays use Montserrat Bold */
.item-price,
.pricing-box .fw-bold,
.price-value {
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-weight: 700;
}

/* Small labels and metadata use Open Sans */
.post-card-meta,
.footer-link,
.footer-description,
.footer-copyright p,
.breadcrumb-item a,
.card-text {
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}

@media (max-width: 767px) {
    h1 { font-size: 32px; }
    h2 { font-size: 24px; }
    h3 { font-size: 20px; }
}

.main-content-wrapper {
    flex: 1 0 auto;
}

.text-main-blue {
    color: #00aeef;
}

.text-main-white {
    color: #fff;
}

/* Hero Section with Carousel */
.hero-section {
    position: relative;
    width: 100%;
}

.hero-section .carousel,
.hero-section .carousel-inner {
    overflow: hidden;
}

.hero-banner {
    position: relative;
    text-align: center;
    padding: 30px 0;
    height: 400px;
    overflow: hidden;
}

@media (min-width: 768px) {
    .hero-banner {
        padding: 50px 0;
        height: 600px;
    }
}

/* Hero Carousel Styles */
#heroCarousel {
    width: 100%;
}

#heroCarousel .carousel-item {
    transition: transform 0.5s ease;
}

/* Hero Overlay - Logo and Search positioned over carousel */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10;
    pointer-events: none;
}

.hero-overlay > * {
    pointer-events: auto;
}

.hero-logo {
    max-width: 80%;
    width: 350px;
    height: auto;
}

@media (min-width: 768px) {
    .hero-logo {
        width: 500px;
    }
}

.hero-link {
    display: block;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

/* Image not clickable by default */
.hero-bg {
    cursor: default;
}

/* Only clickable when wrapped in a link */
.hero-link .hero-bg {
    cursor: pointer;
}

/* Carousel Indicators - Minimal line style */
#heroCarousel .carousel-indicators {
    bottom: 55px; /* Shifted up to avoid trust badges overlap */
    z-index: 15;
    gap: 8px;
    margin: 0;
}

#heroCarousel .carousel-indicators button {
    width: 24px;
    height: 3px;
    border: none;
    border-radius: 2px;
    background-color: rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
    padding: 0;
    margin: 0;
}

#heroCarousel .carousel-indicators button.active {
    background-color: #fff;
    width: 32px;
}

/* Mobile: reduce carousel indicators bottom position */
@media (max-width: 767px) {
    #heroCarousel .carousel-indicators {
        bottom: 35px;
    }
}

@media (min-width: 768px) {
    /*#heroCarousel .carousel-indicators {
        bottom: 80px;*/ /* Shifted up for tablet trust badges overlap (-3rem) */
    /*}*/

    #heroCarousel .carousel-indicators button {
        width: 32px;
    }

    #heroCarousel .carousel-indicators button.active {
        width: 48px;
    }
}

@media (min-width: 992px) {
    /*#heroCarousel .carousel-indicators {
        bottom: 95px;*/ /* Shifted up for desktop trust badges overlap (-3.5rem) */
    /*}*/
}

/* Carousel Controls - Hidden by default, minimal on hover */
#heroCarousel .carousel-control-prev,
#heroCarousel .carousel-control-next {
    width: 15%;
    opacity: 0;
    transition: opacity 0.2s ease;
    top: 1rem; /* Shifted down */
}

#heroCarousel:hover .carousel-control-prev,
#heroCarousel:hover .carousel-control-next {
    opacity: 1;
}

#heroCarousel .carousel-control-prev-icon,
#heroCarousel .carousel-control-next-icon {
    width: 20px;
    height: 20px;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.3));
}

@media (min-width: 768px) {
    #heroCarousel .carousel-control-prev-icon,
    #heroCarousel .carousel-control-next-icon {
        width: 28px;
        height: 28px;
    }
}

.hero-banner .hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

    .hero-banner h1 {
        font-family: 'Montserrat', Arial, Helvetica, sans-serif;
        font-weight: 700;
        font-size: 32px;
    }

    .hero-banner p {
        font-family: 'Open Sans', Arial, Helvetica, sans-serif;
        font-size: 16px;
    }

@media (min-width: 768px) {
    .hero-banner h1 {
        font-size: 48px;
    }

    .hero-banner p {
        font-size: 20px;
    }
}


.search-container {
    position: relative;
    flex-shrink: 1;
    flex-grow: 0;
}

.search-input {
    border-radius: 25px;
    background-color: white;
    border: none;
    color: #00aeef;
    height: 45px;
    width: clamp(200px, 50vw, 500px);
    padding: 0.5rem 1.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    font-size: 16px;
}

@media (min-width: 768px) {
    .search-input {
        height: 50px;
        padding: 0.5rem 2rem;
        font-size: 18px;
    }
}

    .search-input:focus {
        outline: none;
        box-shadow: none;
    }

.search-icon {
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    height: 20px;
    width: 20px;
    opacity: 0.7;
}


.section-heading {
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-weight: 700;
    font-size: 20px;
    margin: 1rem 0;
}

@media (min-width: 768px) {
    .section-heading {
        font-size: 30px;
        margin: 2rem 0;
    }
}

.tab-button {
    margin-right: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: transparent;
/*    color: #00aeef;*/
    border-radius: 2rem;
    padding: 0.4rem 1rem;
    font-weight: bold;
    transition: 0.3s ease;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
}

@media (min-width: 768px) {
    .tab-button {
        padding: 0.5rem 1.5rem;
        font-size: 20px;
    }
}

#tab-buttons .tab-button {
    white-space: nowrap;
    word-break: keep-all;
    overflow-wrap: normal;
    flex: 0 0 auto;
}

.tab-button.active {
    border: 2px solid;
/*    color: #00aeef;*/
    background-color: white;
}

.tab-button:not(.active):hover {
    background-color: #f0f0f0;
    cursor: pointer;
}

.tab-strip {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: 0;
    scrollbar-width: none;
}

#tab-buttons {
    padding-right: 0px;
    padding-bottom: 0px;
    padding-left: 0px;
}

@media (min-width: 768px) {
    .tab-strip {
        gap: 20px;
    }
}

    .tab-strip::-webkit-scrollbar {
        display: none;
    }

.tab-strip1 {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: 0 4px 8px;
    scrollbar-width: none;
}

    .tab-strip1::-webkit-scrollbar {
        display: none;
    }

.scroll-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 12px 0;
}
.seeMoreBtn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
/*    color: #00aeef;*/
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    margin-right: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    border-bottom: 1px solid currentColor;
    padding-bottom: 1px;
}

.seeMoreBtn::after {
    content: '→';
    display: inline-block;
    transition: transform 0.3s ease;
    font-size: 14px;
    font-weight: bold;
    opacity: 0.8;
}

@media (min-width: 768px) {
    .seeMoreBtn {
        font-size: 16px;
    }
    
    .seeMoreBtn::after {
        font-size: 16px;
    }
}

.seeMoreBtn:hover {
    color: #0090c8;
    transform: translateX(2px);
}

.seeMoreBtn:hover::after {
    transform: translateX(5px);
    opacity: 1;
}

.seeMoreBtn:active {
    transform: translateX(1px);
}

.btn-main {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #00aeef;
    color: #fff;
    border: none;
    border-radius: 2rem;
    padding: 0.5rem 0.8rem;
    font-weight: 500;
    width: 100%;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .btn-main {
        padding: 0.5rem 1rem;
        width: 150px;
        font-size: 20px;
        flex-shrink: 0;
    }
}

    .btn-main:hover {
        background-color: #0090c8;
        color: #fff;
/*        transform: scale(1.05);*/
    }

.card {
    transition: transform 0.3s ease, box-shadow 0.2s ease;
    will-change: transform;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    background: #fff;
}

    .card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    }

/* Recommended section - revert border but keep hover effects */
#recommended-section .card {
    border: none;
    background: transparent;
}

#recommended-section .card:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

#recommended-section .card-img-top {
    border-radius: 1rem;
}

.card-body {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: stretch;
    flex: 1;
    min-height: 0;
    justify-content: space-between;
}

@media (min-width: 768px) {
    .card-body {
        flex-direction: row;
        align-items: center;
        gap: 1rem;
        justify-content: flex-start;
    }
}

.card-title {
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 0;
    margin-right: 0;
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: auto;
}

@media (min-width: 768px) {
    .card-title {
        flex: 1;
        min-width: 0;
        min-height: auto;
        margin-right: 0;
        font-size: 20px;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        align-items: center;
    }
}

a {
    text-decoration: none;
    color: inherit;
}

.custom-card {
    background-color: transparent;
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .custom-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    }

.card-img-top {
    height: 140px;
    object-fit: cover;
    border-radius: 1rem 1rem 0 0;
    cursor: pointer;
}

@media (min-width: 768px) {
    .card-img-top {
        height: 180px;
    }
}

.card-img-container {
    position: relative;
    overflow: hidden;
    border-radius: 1rem 1rem 0 0;
    flex-shrink: 0;
    height: 100px; /* Match mobile image height */
    background-color: #f0f0f0; /* Placeholder for missing images */
}

.card-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay-text {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 1rem;
    font-weight: 300;
    background-color: rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    text-align: center;
}

@media (min-width: 768px) {
    .overlay-text {
        font-size: 1.5rem;
    }

    .card-img-container {
        height: 130px; /* Match tablet image height */
    }
}

@media (min-width: 992px) {
    .card-img-container {
        height: 150px; /* Match desktop image height */
    }
}

@media (min-width: 1200px) {
    .card-img-container {
        height: 170px; /* Match large desktop image height */
    }
}

@media (min-width: 1400px) {
    .card-img-container {
        height: 180px; /* Match extra large desktop image height */
    }
}

.card-img-container:hover .overlay-text {
    opacity: 1;
}

/* Review */
.testimonial-card {
    background-color: transparent;
    border: 1px solid #FEE6D6;
    border-radius: 1rem;
    padding: 4rem 1rem 2rem;
    height: 100%;
    color: white;
    position: relative;
}

.circle-avatar {
    width: 100px;
    height: 100px;
    background-color: #FEE6D6;
    border-radius: 50%;
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
}

.arrow-group {
    display: flex;
    gap: 0.5rem;
}

.carousel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0px;
    height: 50px;
}

@media (min-width: 768px) {
    .carousel-header {
        margin-bottom: 0;
    }
}

.carousel-btn {
    background-color: transparent;
    /* color: white; */
    border: none;
    padding: 0.35rem 0.8rem;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.1rem;
}

.scroll-container {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 12px 0;
}

@media (min-width: 768px) {
    .scroll-container {
        gap: 1.5rem;
    }
}

    .scroll-container::-webkit-scrollbar {
        display: none;
    }

/* Custom scrollbar styling for carousel scroll container */
#carouselScroll {
    --sb-track-color: #ffffff;
    --sb-thumb-color: #00aeef;
    --sb-size: 5px;
}

#carouselScroll::-webkit-scrollbar {
    width: var(--sb-size);
    height: var(--sb-size);
}

#carouselScroll::-webkit-scrollbar-track {
    background: var(--sb-track-color);
    border-radius: 3px;
}

#carouselScroll::-webkit-scrollbar-thumb {
    background: var(--sb-thumb-color);
    border-radius: 3px;
}

@supports not selector(::-webkit-scrollbar) {
    #carouselScroll {
        scrollbar-color: var(--sb-thumb-color) var(--sb-track-color);
    }
}

.carousel-card {
    min-width: 200px;
    max-width: 200px;
/*    flex: 0 0 auto;*/
/*    border-radius: 1rem;*/
    overflow: hidden;
    /* background: #fff; */
    text-align: left;
}

@media (min-width: 768px) {
    .carousel-card {
        min-width: 280px;
        max-width: 280px;
    }
}

    .carousel-card img {
        width: 100%;
        height: 280px;
        object-fit: cover;
        border-radius: 1rem;
    }

@media (min-width: 768px) {
    .carousel-card img {
        height: 390px;
    }
}

/*    .carousel-card p {
        margin: 0.75rem 0 0.5rem 0.25rem;
        color: #00aeef;
        font-weight: 500;
        font-size: 0.95rem;
    }*/

.empty-state {
    flex: 0 0 100% !important;
    max-width: 100% !important;
}

.message {
    font-weight: 700;
    font-size: 16px;
}

@media (min-width: 768px) {
    .message {
        font-size: 20px;
    }
}

.tag-image {
    position: absolute;
    border-radius: 0px 8px 0px 0px;
    left: -1px;
    top: 9rem;
    display: flex;
    transition: 0.1s ease-in-out;
    z-index: 1;
    font-size: 0.8rem;
    padding: 6px 1px 0px 0px;
    background: white;
}

.tag-icon {
    width: 1rem;
    height: auto;
}

.tag-color {
    background-color: var(--color, var(--bs-primary));
    color: #fff;
}

.card-img-wrapper {
    position: relative;
}

.gif-badge {
    position: absolute;
    top: 0;
    left: 0;
    width: 45px !important;
    height: auto !important;
    z-index: 2;
    pointer-events: none;
}

@media (min-width: 768px) {
    .gif-badge {
        width: 55px !important;
    }
}

@media (min-width: 992px) {
    .gif-badge {
        width: 65px !important;
    }
}

/*.gif-badge {
    border-radius: 6px;
}*/

/* Hot Deals Horizontal Scroll */
.hot-deals-scroll {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 12px 0;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.hot-deals-scroll::-webkit-scrollbar {
    display: none;
}

.hot-deal-card {
    flex: 0 0 auto;
    width: 160px;
}

.hot-deal-card .card-img-container {
    height: 100px;
}

.hot-deal-card .card-title {
    font-size: 0.85rem;
}

@media (min-width: 768px) {
    .hot-deals-scroll {
        gap: 1rem;
    }

    .hot-deal-card {
        width: 220px;
    }

    .hot-deal-card .card-img-container {
        height: 130px;
    }
}

@media (min-width: 992px) {
    .hot-deals-scroll {
        gap: 1.25rem;
    }

    .hot-deal-card {
        width: 260px;
    }

    .hot-deal-card .card-img-container {
        height: 150px;
    }
}

@media (min-width: 1200px) {
    .hot-deal-card {
        width: 290px;
    }

    .hot-deal-card .card-img-container {
        height: 170px;
    }
}

.tag-color[data-color="13"] { --color: var(--bs-warning); }
.tag-color[data-color="12"] { --color: var(--bs-danger); }
.tag-color[data-color="16"] { --color: var(--bs-primary); }
.tag-color[data-color="15"] { --color: var(--bs-secondary); }

/* Fix for tablet/laptop view between 916px and 992px */
@media (min-width: 916px) and (max-width: 991.98px) {
    /* Show 2 columns instead of 3 for better spacing */
    .row-cols-md-3 > * {
        flex: 0 0 auto;
        width: 50%;
    }

    /* Adjust container padding */
    .container {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .container-fluid.p-3.p-md-5 {
        padding: 1.75rem !important;
    }

    /* Adjust card image height */
    .card-img-top {
        height: 170px;
    }

    /* Adjust card title */
    .card-title {
        font-size: 17px;
    }

    /* Adjust button size */
    .btn-main {
        padding: 0.5rem 1rem;
        font-size: 17px;
        width: 140px;
    }

    /* Adjust section heading */
    .section-heading {
        font-size: 26px;
    }

    /* Adjust tab button */
    .tab-button {
        padding: 0.45rem 1.3rem;
        font-size: 17px;
    }

    /* Adjust card body */
    .card-body {
        gap: 0.9rem;
    }

    /* Adjust overlay text */
    .overlay-text {
        font-size: 1.3rem;
    }

    /* Adjust carousel card */
    .carousel-card {
        min-width: 240px;
        max-width: 240px;
    }

    .carousel-card img {
        height: 340px;
    }

    /* Adjust scroll container */
    .scroll-container {
        gap: 1.1rem;
    }
}

/* Product Tile - Compact Layout */
.product-tile {
    height: 100%;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    background: #fff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Add padding to grid columns for hover effect breathing room */
.row > .col {
    padding-top: 8px;
    padding-bottom: 8px;
}

.product-tile:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.product-tile .card-body {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.5rem 0;
    overflow: hidden;
    min-width: 0;
    width: 100%;
}

/* Single line product title */
.product-tile .card-title {
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 0;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: block;
    max-width: 100%;
    padding: 0 0.75rem;
    min-width: 0;
    color: var(--product-title-color);
}

/* Price and button on same row */
.price-action-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    flex-wrap: nowrap;
    padding: 0 0.75rem;
    overflow: hidden;
    min-width: 0;
    width: 100%;
}

/* From price styling - two row layout */
.from-price {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    flex-shrink: 1;
}

.from-price .from-label {
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-size: 10px;
    font-weight: 500;
    color: #000;
    line-height: 1.2;
}

.from-price .price-amount {
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: var(--product-price-color);
    line-height: 1.2;
    white-space: nowrap;
}

/* Smaller Buy Now button */
.btn-main.btn-sm {
    padding: 0.3rem 0.6rem;
    font-size: 11px;
    width: auto;
    min-width: 70px;
    flex-shrink: 0;
    background-color: var(--product-btn-color);
}

.btn-main.btn-sm:hover {
    background-color: var(--product-btn-hover);
}

/* Center button when no price */
.price-action-row .btn-main:only-child {
    margin: 0 auto;
}

/* Coming Soon Badge */
.coming-soon-tag {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
}

.coming-soon-tag i {
    font-size: 10px;
    color: #666;
    margin-bottom: 2px;
    display: none; /* Hide clock icon on small screens */
}

.coming-soon-tag span {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: #666;
    white-space: normal; /* Allow text to wrap on small screens */
    line-height: 1.3;
}


/* Smaller card images on mobile */
.product-tile .card-img-top {
    height: 100px;
}

/* Tablet styles */
@media (min-width: 768px) {
    .product-tile .card-title {
        font-size: 14px;
    }

    .from-price .from-label {
        font-size: 11px;
    }

    .from-price .price-amount {
        font-size: 14px;
    }

    .btn-main.btn-sm {
        padding: 0.35rem 0.8rem;
        font-size: 13px;
        min-width: 85px;
    }

    .product-tile .card-img-top {
        height: 130px;
    }

    .product-tile .card-body {
        padding: 0.75rem 0;
    }

    .coming-soon-tag i {
        font-size: 11px;
        display: block; /* Show clock icon on tablet+ */
    }

    .coming-soon-tag span {
        font-size: 12px;
        white-space: nowrap; /* Single line on tablet+ */
    }
}

/* Ensure columns properly contain content */
.row-cols-2 > .col,
.row-cols-md-3 > .col,
.row-cols-lg-4 > .col {
    min-width: 0;
    overflow: hidden;
}

/* Desktop view: 4 columns with consistent box sizes */
@media (min-width: 992px) {
    /* Ensure all cards have equal height */
    .row-cols-lg-4 > .col {
        display: flex;
    }

    .row-cols-lg-4 > .col > .card,
    .row-cols-lg-4 > .col > a > .col > .card {
        width: 100%;
        display: flex;
        flex-direction: column;
    }

    .product-tile .card-title {
        font-size: 15px;
    }

    .from-price .from-label {
        font-size: 12px;
    }

    .from-price .price-amount {
        font-size: 15px;
    }

    .btn-main.btn-sm {
        padding: 0.4rem 1rem;
        font-size: 14px;
        min-width: 95px;
    }

    .product-tile .card-img-top {
        height: 150px;
    }

    .coming-soon-tag i {
        font-size: 12px;
    }

    .coming-soon-tag span {
        font-size: 13px;
    }
}

/* Large desktop */
@media (min-width: 1200px) {
    .product-tile .card-img-top {
        height: 170px;
    }

    .product-tile .card-title {
        font-size: 16px;
    }

    .from-price .from-label {
        font-size: 12px;
    }

    .from-price .price-amount {
        font-size: 16px;
    }

    .btn-main.btn-sm {
        font-size: 15px;
        min-width: 100px;
    }
}

/* Extra large desktop */
@media (min-width: 1400px) {
    .product-tile .card-img-top {
        height: 180px;
    }
}

/* Fix for tablet view between 768px and 916px */
@media (min-width: 768px) and (max-width: 915.98px) {
    /* Keep 2 columns instead of 3 for better spacing */
    .row-cols-md-3 > * {
        flex: 0 0 auto;
        width: 50%;
    }
    
    /* Adjust container padding */
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .container-fluid.p-3.p-md-5 {
        padding: 1.5rem !important;
    }
    
    /* Adjust card image height */
    .card-img-top {
        height: 160px;
    }
    
    /* Adjust carousel card size */
    .carousel-card {
        min-width: 220px;
        max-width: 220px;
    }
    
    .carousel-card img {
        height: 320px;
    }
    
    /* Adjust card title font size */
    .card-title {
        font-size: 16px;
    }
    
    /* Adjust button size */
    .btn-main {
        padding: 0.5rem 0.9rem;
        font-size: 16px;
        width: 130px;
    }
    
    /* Adjust section heading */
    .section-heading {
        font-size: 24px;
        margin: 1.5rem 0;
    }
    
    /* Adjust tab button */
    .tab-button {
        padding: 0.4rem 1.2rem;
        font-size: 16px;
    }
    
    /* Adjust card body spacing */
    .card-body {
        gap: 0.85rem;
    }
    
    /* Adjust overlay text */
    .overlay-text {
        font-size: 1.2rem;
    }
    
    /* Adjust see more button */
    .seeMoreBtn {
        font-size: 15px;
    }
    
    .seeMoreBtn::after {
        font-size: 15px;
    }
    
    /* Adjust hero banner */
    .hero-banner {
        padding: 40px 0;
        height: 500px;
    }
    
    /* Adjust scroll container gap */
    .scroll-container {
        gap: 1rem;
    }
    
    /* Adjust tab strip gap */
    .tab-strip {
        gap: 15px;
    }
}

/* =====================================================
   Trust Badges V2 (Container-Width with Rounded Overlap)
   Same width as product grid, overlaps hero section
   ===================================================== */
.trust-badges-wrapper {
    position: relative;
    z-index: 20;
    margin-top: -1rem;
}

.trust-badges-v2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    border-radius: 0.75rem 0.75rem 0 0;
    padding: 1.25rem 1.5rem 1rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.trust-badge-v2 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    min-width: 0;
    justify-content: center;
}

.trust-badge-v2-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.trust-badge-v2-icon img,
.trust-badge-v2-icon svg {
    width: 28px;
    height: 28px;
}

.trust-badge-v2-content {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.trust-badge-v2-content strong {
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: #00aeef;
    white-space: nowrap;
}

.trust-badge-v2-content span {
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
    font-size: 10px;
    color: #666;
    white-space: nowrap;
}

/* Mobile: stack 2x2 */
@media (max-width: 767px) {
    .trust-badges-wrapper {
        margin-top: -0.5rem;
    }

    .trust-badges-v2 {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
        padding: 0.75rem 1rem 0.5rem;
        border-radius: 0.5rem 0.5rem 0 0;
    }

    .trust-badge-v2 {
        justify-content: flex-start;
        gap: 0.35rem;
    }

    .trust-badge-v2-icon img,
    .trust-badge-v2-icon svg {
        width: 20px;
        height: 20px;
    }

    .trust-badge-v2-content strong {
        font-size: 10px;
    }

    .trust-badge-v2-content span {
        font-size: 8px;
        white-space: normal;
        line-height: 1.2;
    }
}

/* Tablet: 2x2 grid layout (768px - 1199px) */
@media (min-width: 768px) and (max-width: 1199px) {
    .trust-badges-wrapper {
        margin-top: -1.25rem;
    }

    .trust-badges-v2 {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem 1.5rem;
        padding: 1rem 1.5rem 0.75rem;
        border-radius: 0.75rem 0.75rem 0 0;
    }

    .trust-badge-v2 {
        justify-content: flex-start;
        gap: 0.5rem;
    }

    .trust-badge-v2-icon img,
    .trust-badge-v2-icon svg {
        width: 28px;
        height: 28px;
    }

    .trust-badge-v2-content strong {
        font-size: 12px;
    }

    .trust-badge-v2-content span {
        font-size: 10px;
    }
}

/* Desktop (1200px+) */
@media (min-width: 1200px) {
    .trust-badges-wrapper {
        margin-top: -1.5rem;
    }

    .trust-badges-v2 {
        border-radius: 1rem 1rem 0 0;
        padding: 1.5rem 2.5rem 1rem;
    }

    .trust-badge-v2-icon img,
    .trust-badge-v2-icon svg {
        width: 36px;
        height: 36px;
    }

    .trust-badge-v2-content strong {
        font-size: 14px;
    }

    .trust-badge-v2-content span {
        font-size: 12px;
    }
}


/* =====================================================
   Trust Badges Section (Full-Width Version - COMMENTED OUT)
   ===================================================== */
/*
.trust-badges-section {
    background-color: #fff;
    padding: 1rem 0 0;
    border-radius: 2rem 2rem 0 0;
    margin-top: -2.5rem;
    position: relative;
    z-index: 20;
}

.trust-badges-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    min-width: 0;
    justify-content: center;
}

.trust-badge-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.trust-badge-icon img,
.trust-badge-icon svg {
    width: 28px;
    height: 28px;
}

.trust-badge-content {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.trust-badge-content strong {
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: #00aeef;
    white-space: nowrap;
}

.trust-badge-content span {
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
    font-size: 10px;
    color: #666;
    white-space: nowrap;
}

@media (max-width: 767px) {
    .trust-badges-section {
        padding: 0.75rem 0.5rem 0.5rem;
        margin-top: -1.5rem;
        border-radius: 1.25rem 1.25rem 0 0;
    }

    .trust-badges-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }

    .trust-badge {
        justify-content: flex-start;
        gap: 0.35rem;
    }

    .trust-badge-icon img,
    .trust-badge-icon svg {
        width: 20px;
        height: 20px;
    }

    .trust-badge-content strong {
        font-size: 10px;
    }

    .trust-badge-content span {
        font-size: 8px;
        white-space: normal;
        line-height: 1.2;
    }
}

@media (min-width: 768px) {
    .trust-badges-section {
        padding: 1.25rem 0 1rem;
        margin-top: -3rem;
        border-radius: 2rem 2rem 0 0;
    }

    .trust-badge-icon img,
    .trust-badge-icon svg {
        width: 32px;
        height: 32px;
    }

    .trust-badge-content strong {
        font-size: 13px;
    }

    .trust-badge-content span {
        font-size: 11px;
    }
}

@media (min-width: 992px) {
    .trust-badges-section {
        margin-top: -3.5rem;
        border-radius: 2.5rem 2.5rem 0 0;
    }

    .trust-badge-icon img,
    .trust-badge-icon svg {
        width: 36px;
        height: 36px;
    }

    .trust-badge-content strong {
        font-size: 14px;
    }

    .trust-badge-content span {
        font-size: 12px;
    }
}
*/

/* =====================================================
   Promo Banner (Homepage Only)
   ===================================================== */
.promo-banner {
    background: linear-gradient(90deg, #00aeef 0%, #0090c8 100%);
    color: #fff;
    padding: 10px 0;
    position: relative;
    z-index: 100;
}

.promo-banner .container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.promo-banner-text {
    margin: 0 !important;
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 14px;
    text-align: center;
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.promo-highlight {
    background: #fff;
    color: #00aeef;
    padding: 4px 10px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    line-height: 1;
}

.promo-message {
    line-height: 1.4;
}

.promo-message p {
    margin: 0 !important;
    display: inline;
}

.promo-message strong,
.promo-banner-text strong {
    font-weight: 700;
}

.promo-cta {
    color: #fff;
    font-weight: 700;
    text-decoration: underline;
    transition: opacity 0.2s ease;
    line-height: 1.4;
}

.promo-cta:hover {
    color: #fff;
    opacity: 0.85;
}

/* Close button */
.promo-banner-close {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.85;
    transition: background 0.2s ease, opacity 0.2s ease;
}

.promo-banner-close:hover {
    background: rgba(255, 255, 255, 0.3);
    opacity: 1;
}

.promo-banner-close:active {
    background: rgba(255, 255, 255, 0.4);
}

.promo-banner-close i {
    font-size: 12px;
    line-height: 1;
}

/* Mobile adjustments */
@media (max-width: 767px) {
    .promo-banner {
        padding: 8px 0;
    }

    .promo-banner-text {
        font-size: 12px;
        gap: 4px;
    }

    .promo-banner-close {
        width: 22px;
        height: 22px;
    }

    .promo-banner-close i {
        font-size: 10px;
    }
}

/* =====================================================
   Animated Marquee Banner
   ===================================================== */
.marquee-banner {
    /* background: linear-gradient(90deg, #00aeef 0%, #0090c8 100%); */
	background: #00cc00;
    color: #fff;
    padding: 12px 0;
    position: relative;
    z-index: 100;
    overflow: hidden;
    width: 100%;
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee-scroll 30s linear infinite;
}

.marquee-content {
    display: flex;
    align-items: center;
    white-space: nowrap;
    padding-right: 50px;
}

.marquee-text {
    font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.marquee-separator {
    margin: 0 30px;
    font-size: 16px;
    opacity: 0.7;
}

/* Speed variations */
.marquee-slow {
    animation-duration: 45s;
}

.marquee-medium {
    animation-duration: 30s;
}

.marquee-fast {
    animation-duration: 15s;
}

/* Keyframes for right-to-left scrolling */
@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Pause animation on hover for accessibility */
.marquee-banner:hover .marquee-track {
    animation-play-state: paused;
}

/* Mobile adjustments */
@media (max-width: 767px) {
    .marquee-banner {
        padding: 10px 0;
    }

    .marquee-text {
        font-size: 12px;
    }

    .marquee-separator {
        margin: 0 20px;
        font-size: 14px;
    }

    .marquee-slow {
        animation-duration: 35s;
    }

    .marquee-medium {
        animation-duration: 25s;
    }

    .marquee-fast {
        animation-duration: 12s;
    }
}

/* =====================================================
   Per-Slide Hero Text (inside carousel items)
   Aligned with Bootstrap container grid
   ===================================================== */
.hero-slide-text {
    position: absolute;
    /* Align with container right edge: (100vw - container-width) / 2 */
    right: calc((100vw - 540px) / 2);
    bottom: 38%;
    text-align: right;
    max-width: 500px;
    z-index: 5;
    color: #ffffff;
    /* Default glow color (can be overridden via inline style) */
    --hero-glow-color: rgba(0, 0, 0, 0.6);
}

.hero-slide-text .hero-title,
.hero-slide-text .hero-subtitle {
    color: inherit;
    /* Outer glow effect using layered text-shadows */
    text-shadow:
        0 0 4px var(--hero-glow-color),
        0 0 8px var(--hero-glow-color),
        0 0 16px var(--hero-glow-color),
        0 0 24px var(--hero-glow-color);
}

/* Mobile: keep slide text right-aligned */
@media (max-width: 575px) {
    .hero-slide-text {
        right: 16px;
        text-align: right;
        bottom: 42%;
        max-width: 85%;
    }
}

/* Small tablets (sm): container 540px */
@media (min-width: 576px) and (max-width: 767px) {
    .hero-slide-text {
        right: calc((100vw - 540px) / 2);
        bottom: 40%;
        max-width: 450px;
    }
}

/* Tablets (md): container 720px */
@media (min-width: 768px) and (max-width: 991px) {
    .hero-slide-text {
        right: calc((100vw - 720px) / 2);
        bottom: 40%;
        max-width: 500px;
    }
}

/* Desktop (lg): container 960px */
@media (min-width: 992px) and (max-width: 1199px) {
    .hero-slide-text {
        right: calc((100vw - 960px) / 2);
        bottom: 38%;
        max-width: 550px;
    }
}

/* Large desktop (xl): container 1140px */
@media (min-width: 1200px) and (max-width: 1399px) {
    .hero-slide-text {
        right: calc((100vw - 1140px) / 2);
        bottom: 38%;
        max-width: 600px;
    }
}

/* Extra large (xxl): container 1320px */
@media (min-width: 1400px) {
    .hero-slide-text {
        right: calc((100vw - 1320px) / 2);
        bottom: 38%;
        max-width: 800px;
    }
}

/* =====================================================
   Hero Overlay - Search Bar Only (fixed position)
   ===================================================== */
.hero-overlay-right {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
    z-index: 30;
    pointer-events: none;
    padding: 1.5rem;
    padding-right: 5%;
    padding-bottom: 3.5rem;
}

.hero-overlay-right > * {
    pointer-events: auto;
}

/* Hero Title */
.hero-title {
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-size: 24px;
    font-weight: 700;
    font-style: italic;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 0, 0, 0.3);
}

/* Hero Subtitle */
.hero-subtitle {
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 500;
    font-style: italic;
    line-height: 1.4;
    margin-bottom: 0;
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.5), 0 0 15px rgba(0, 0, 0, 0.3);
}

/* Hero Search Container */
.hero-search-container {
    width: 100%;
    max-width: 800px;
    display: flex;
    justify-content: center;
    margin-top: 1rem; /* Shifted down */
}

.hero-search-container .autoComplete_wrapper {
    width: 100%;
    max-width: 500px;
    display: block;
}

.hero-search-container .autoCompleteProduct {
    width: 100%;
    max-width: 500px;
    height: 48px;
    border-radius: 10px;
    border: none;
    padding: 0.5rem 2rem 0.5rem 3.2rem;
    font-size: 14px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    background-color: rgba(255, 255, 255, 0.95);
    background-position: left 1.05rem center;
}

.hero-search-container .autoCompleteProduct:focus {
    outline: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Mobile: center search bar */
@media (max-width: 767px) {
    .hero-overlay-right {
        align-items: center;
        padding-right: 1.5rem;
        padding-left: 1.5rem;
    }

    .hero-search-container {
        max-width: 100%;
    }

    .hero-search-container .autoComplete_wrapper {
        max-width: 100%;
    }

    .hero-search-container .autoCompleteProduct {
        max-width: 100%;
    }

    .hero-title {
        font-size: 20px;
    }

    .hero-subtitle {
        font-size: 12px;
    }
}

/* Tablet (768px - 991px): center search bar */
@media (min-width: 768px) and (max-width: 991px) {
    .hero-overlay-right {
        align-items: center;
        padding-right: 2rem;
        padding-left: 2rem;
        padding-bottom: 4.5rem
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 15px;
    }

    .hero-search-container {
        max-width: 100%;
    }

    .hero-search-container .autoComplete_wrapper {
        max-width: 550px;
    }

    .hero-search-container .autoCompleteProduct {
        max-width: 550px;
        height: 52px;
        font-size: 16px;
        padding: 0.5rem 2rem 0.5rem 3.2rem;
        background-position: left 1.05rem center;
    }
}

/* Desktop (992px+): right-aligned search bar */
/* COMMENTED OUT - now centered for all views
@media (min-width: 992px) {
    .hero-overlay-right {
        align-items: flex-end;
    }

    .hero-search-container {
        justify-content: flex-end;
    }
*/
@media (min-width: 992px) {

    .hero-title {
        font-size: 44px;
    }

    .hero-subtitle {
        font-size: 18px;
    }
}

/* Desktop (992px+) - overlay positioning */
@media (min-width: 992px) {
    .hero-overlay-right {
        align-items: center; /* Centered like mobile/tablet */
        padding: 3rem;
        /* padding-right: 10%; - COMMENTED OUT - now centered */
        padding-bottom: 5rem;
    }

    .hero-search-container .autoComplete_wrapper {
        max-width: 650px;
    }

    .hero-search-container .autoCompleteProduct {
        max-width: 650px;
        height: 55px;
        font-size: 17px;
        background-position: left 1.05rem center;
    }
}

/* Large Desktop (1200px+) */
@media (min-width: 1200px) {
    .hero-title {
        font-size: 52px;
    }

    .hero-subtitle {
        font-size: 20px;
    }
}

/* Extra Large Desktop (1400px+) */
@media (min-width: 1400px) {
    .hero-title {
        font-size: 58px;
    }

    .hero-subtitle {
        font-size: 22px;
    }
}
