/* --- Hero Section --- */
.hero-section {
    margin-top: 8px;
}

.hero-section .row {
    margin-top: 0;
}

#mainSlider,
#mainSlider .slide,
#mainSlider picture {
    width: 100%;
    height: 100%;
}

#mainSlider .slider-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: var(--radius-1);
}

#mainSlider {
    overflow: hidden;
    border-radius: var(--radius-1);
}

#mainSlider.slider {
    position: relative;
    background: #fff;
    border-radius: var(--radius-1);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, .06);
    height: 100%;
    margin-top: 0;
    margin-bottom: 0;
    padding: 0;
}


#mainSlider .slide {
    display: none;
}

#mainSlider .slide.active {
    display: block;
}

#mainSlider .slide picture,
#mainSlider .slide img {
    width: 100%;
    display: block;
    height: 100%;
}



#mainSlider .s-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 35px;
    height: 35px;
    border-radius: 999px;
    border: 0;
    background: var(--revaly-pink);
    color: #fff;
    display: grid;
    place-items: center;
    z-index: 5;
    cursor: pointer;
    transition: var(--t);
    font-size: 13px;
}

#mainSlider .s-arrow:hover {
    filter: brightness(.95);
}

#mainSlider .s-arrow.prev {
    left: 12px;
}

#mainSlider .s-arrow.next {
    right: 12px;
}

#mainSlider .dots {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 10px;
    display: flex;
    gap: 8px;
    z-index: 6;
}

#mainSlider .dot {
    width: 40px;
    height: 5px;
    border-radius: 0px;
    background: rgba(0, 0, 0, .25);
    border: none;
    cursor: pointer;
}

#mainSlider .dot.active {
    background: var(--revaly-pink);
}

.hero-section .right-side-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    gap: 4px;
}

.hero-section .right-side-item {
    width: 100%;
    height: calc(50% - 3px);
}

.hero-section .right-side-item img {
    width: 100%;
    height: 100%;
    display: block;
    /* object-fit: cover; */
    border-radius: var(--radius-1);
}

@media (max-width: 767px) {
    .hero-section .right-side-wrapper {
        height: auto;
        display: none;
    }

    .hero-section .right-side-item {
        height: auto;
    }
}

/* --- Category Slider Section --- */
.category-section {
    padding: 15px 0 10px;
}

.category-section a {
    text-decoration: none;
    display: block;
}

.category-section .category-slider + .category-slider {
    margin-top: 10px;
}

.category-section .category-card {
    padding: 8px 6px 4px 6px;
    text-align: center;
    outline: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.category-section .category-img-box {
    width: 135px;
    height: 135px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
    overflow: hidden;
    border-radius: 50%;
    background-color: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 2px solid #f1f2f6;
}

.category-section .category-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 50%;
}

.category-section .category-card:hover .category-img-box {
    transform: translateY(-5px) scale(1.04);
    box-shadow: 0 10px 24px rgba(226, 19, 110, 0.16);
    border-color: var(--revaly-pink, #e2136e);
}

.category-section .category-card:hover .category-img-box img {
    transform: scale(1.06);
}

.category-section .category-card p {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color, #333);
    margin: 0;
    line-height: 1.3;
    margin-top: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    text-align: center;
    transition: color 0.25s ease;
}

.category-section .category-card:hover p {
    color: var(--revaly-pink, #e2136e);
}

/* Info Section */
.info-section .info-box {
    background: #fff;
    border-radius: var(--radius);
    padding: 15px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
    transition: 0.3s;
}

.info-section .info-box:hover {
    box-shadow: rgba(196, 56, 89, 0.1) 0px 10px 15px -3px, rgba(166, 51, 105, 0.05) 0px 4px 6px -2px;
    transition: var(--t);
}

.info-section .info-box-image {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.info-section .info-box-image img {
    width: 100%;
    height: 100%;
}

.info-section .info-box span {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-color);
}

.info-section .collection-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;

}

.info-section .card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--t);
}

.info-section .collection-card:hover .card-img {
    transform: scale(1.05);
}

.cosmetic-banner-main {
    overflow: hidden;
    margin-top: 15px;
}

.cosmetic-banner-main .cosmetic-banner {
    overflow: hidden;
    transition: var(--t-s);
}

.cosmetic-banner-main .cosmetic-banner img {
    width: 100%;
    height: 100%;
}

.cosmetic-banner-main .cosmetic-banner:hover {
    transform: scale(1.05);
    cursor: pointer;
    transition: var(--t-s);
}

/* --- Affordable Section --- */
.affordable-section {
    margin-top: 15px;
}

.affordable-section .product-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(.22, 1, .36, 1), box-shadow 0.35s;
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.affordable-section .product-card:hover {
    transform: translateY(-8px) scale(1.015);
}

.affordable-section .card-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 3/3.5;
    overflow: hidden;
}

.affordable-section .card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(.22, 1, .36, 1);
    display: block;
}

.affordable-section .product-card:hover .card-img-wrap img {
    transform: scale(1.07);
}

.affordable-section .card-overlay {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.35s;
}

.affordable-section .product-card:hover .card-overlay {
    opacity: 1;
}

.affordable-section .badge-tag {
    position: absolute;
    top: 5px;
    right: 5px;
    background: transparent;
    backdrop-filter: blur(6px);
    color: var(--revaly-pink);
    font-size: 0.72rem;
    font-weight: 600;
    padding: 3px 14px;
    border-radius: 99px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.affordable-section .card-body-custom {
    padding: 5px 10px 10px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: center;
}

.affordable-section .shop-label {
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.affordable-section .price-tag {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--revaly-pink);
    line-height: 1;
    background: linear-gradient(90deg, var(--revaly-pink), var(--revaly-pink-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.affordable-section .card-title {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
    margin: 2px 0 0;
    line-height: 1.3;
}

.affordable-section .product-card {
    opacity: 0;
    transform: translateY(32px);
    animation: cardIn 0.55s cubic-bezier(.22, 1, .36, 1) forwards;
}

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

.affordable-section .owl-theme .owl-dots .owl-dot.active span {
    background: var(--revaly-primary) !important;
    width: 25px;
}



/* ── BRAND STRIP ── */
.brand-strip .owl-carousel .item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 30px;
    margin: 5px 0px;
}

.brand-strip .owl-carousel .item span {
    color: rgba(255, 255, 255, 0.55);
    font-size: clamp(0.7rem, 1.8vw, 1rem);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
    transition: color 0.25s;
    user-select: none;
}

.brand-strip .owl-carousel .item .image img {
    width: 100%;
    height: 100%;
    border-radius: var(--radius-50);
}


.brand-strip .owl-dots,
.brand-strip .owl-nav {
    display: none;
}




/* Sticky Container with Glass Effect */
.sticky-tabs-container {
    position: sticky;
    top: var(--header-height, 74px);
    z-index: 1020;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    margin-top: 15px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.25s ease;
}

.sticky-tabs-container.is-sticky {
    top: var(--header-height, 74px);
    margin-top: 0;
    border-radius: 0 0 16px 16px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-top: none;
}

/* Tabs */
.products-section .custom-tabs {
    padding: 6px;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

.products-section .custom-tabs::-webkit-scrollbar {
    display: none;
}

/* Keep all tabs in one line */
.products-section .custom-tabs .nav-item {
    flex: 0 0 auto;
}

.products-section .custom-tabs .nav-link {
    color: var(--revaly-primary);
    font-weight: 500;
    border-radius: 50px;
    padding: 6px 20px;
    white-space: nowrap;
    font-size: 14px;
}

/* Active */
.products-section .custom-tabs .nav-link.active {
    background-color: var(--revaly-primary) !important;
    color: #fff !important;
}


/* ==========================================================================
   Brand Grid Section
   ========================================================================== */
.brand-section .brand-grid {
    border-top: 1px solid #eeeeee;
    border-left: 1px solid #eeeeee;
}

.brand-section .brand-item {
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background-color: #ffffff;
    border-right: 1px solid #eeeeee;
    border-bottom: 1px solid #eeeeee;
    position: relative;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    z-index: 1;
}

.brand-section .brand-item img {
    max-width: 100%;
    max-height: 55px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.brand-section .brand-item:hover,
.brand-section .brand-item.active-preview {
    z-index: 10;
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
    border-color: transparent;
}

