/* 
 * Bizmart Sephora - Unified Design System
 * Inspired by Sephora's premium, clean, and optimized aesthetic.
 */

:root {
    /* Colors */
    --bs-black: #000000;
    --bs-white: #ffffff;
    --bs-gray-bg: #f5f5f5;
    /* For search bar */
    --bs-gray-border: #eeeeee;
    --bs-gray-text: #666666;
    --bs-accent-green: #e9f5e9;
    /* Light green from screenshot */
    --bs-red-badge: #d0021b;

    /* Typography */
    --bs-font-main: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --bs-font-logo: 'Playfair Display', serif;

    /* Spacing */
    --bs-container-max: 1400px;
}

/* Base Resets & Global Styles */
* {
    box-sizing: border-box;
}

body {
    font-family: var(--bs-font-main);
    color: var(--bs-black);
    -webkit-font-smoothing: antialiased;
    margin: 0;
    padding: 0;
}

.bs-container {
    max-width: var(--bs-container-max);
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

/* === HEADER === */

/* Top Bar */
.bs-top-bar {
    background-color: var(--bs-accent-green);
    color: var(--bs-black);
    text-align: center;
    padding: 8px 0;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

/* Main Header Row */
.bs-header-main {
    background-color: var(--bs-white);
    padding: 15px 0;
    border-bottom: 1px solid var(--bs-gray-border);
    position: relative;
    z-index: 1100;
    overflow: visible;
}

.bs-header-main .bs-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    overflow: visible;
}

/* Logo */
.bs-logo {
    font-family: var(--bs-font-logo);
    font-size: 34px;
    font-weight: 400;
    /* Sephora logo is often not super bold */
    letter-spacing: 0.25em;
    /* Spaced out look */
    color: var(--bs-black);
    text-decoration: none;
    text-transform: uppercase;
}

/* Search Bar */
/* Desktop language button: visible on desktop, hidden on mobile */
.bs-action-language {
    background: none;
    border: 1.5px solid rgba(26, 26, 26, 0.15);
    border-radius: 20px;
    padding: 4px 12px;
    cursor: pointer;
    font-family: inherit;
    transition: border-color 0.2s ease, background 0.2s ease;
    display: flex;
    align-items: center;
    gap: 4px;
}

.bs-action-language:hover {
    border-color: var(--brand-pink, #e45366);
    background: rgba(228, 83, 102, 0.05);
}

.bs-lang-indicator {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--bs-black, #1a1a1a);
    line-height: 1;
}

.bs-search-wrap {
    flex: 1;
    max-width: 700px;
    min-width: 0;
    position: relative;
    z-index: 1101;
    overflow: visible;
}

.bs-search-wrapper {
    position: relative;
    width: 100%;
    overflow: visible;
}

.bs-search-input {
    width: 100%;
    background-color: var(--bs-gray-bg);
    border: 1px solid transparent;
    border-radius: 50px;
    /* Pill shape */
    padding: 10px 45px 10px 20px;
    font-size: 13px;
    color: var(--bs-gray-text);
    outline: none;
    transition: all 0.2s;
}

html[dir="rtl"] .bs-search-input {
    padding: 10px 20px 10px 45px;
}

.bs-search-input::placeholder {
    color: #999;
}

.bs-search-input:focus {
    background-color: var(--bs-white);
    border-color: #ddd;
}

.bs-search-icon {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    color: var(--bs-gray-text);
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
    z-index: 10;
}

.bs-search-icon:hover {
    color: var(--bs-black);
}

html[dir="rtl"] .bs-search-icon {
    left: 18px;
    right: auto;
}



/* Header Actions */
.bs-header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    min-width: fit-content;
    flex-shrink: 0;
    position: relative;
    z-index: 3;
    pointer-events: auto;
}

.bs-action-item {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--bs-black);
    font-size: 13px;
    font-weight: 500;
    transition: opacity 0.2s;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    position: relative;
    z-index: 4;
    pointer-events: auto;
}

.bs-action-icon {
    font-size: 24px;
    color: #000;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.bs-badge {
    position: absolute;
    top: -6px;
    right: -8px;
    background-color: #d0021b;
    /* Sephora specific red */
    color: var(--bs-white);
    font-size: 11px;
    font-weight: bold;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 9px;
    /* Pill shape for larger numbers */
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--bs-white);
    line-height: 1;
}

/* Search Results Dropdown */
.bs-search-results-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bs-white);
    border: 1px solid var(--bs-gray-200);
    border-radius: 0 0 4px 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 10000;
    max-height: 70vh;
    overflow-y: auto;
    margin-top: 1px;
}

.bs-nav-bar {
    background-color: var(--bs-white);
    border-bottom: 1px solid var(--bs-gray-border);
    position: relative;
    z-index: 1000;
}

.bs-nav-menu {
    display: flex;
    justify-content: center;
    list-style: none !important;
    /* Force override */
    margin: 0;
    padding: 0;
    gap: 30px;
    /* More spacing between items */
}

.bs-nav-menu>li {
    position: relative;
}

.bs-nav-menu>li>a {
    display: block;
    padding: 15px 12px;
    color: var(--bs-black);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    transition: color 0.2s;
    white-space: nowrap;
}

.bs-nav-menu>li>a:hover {
    color: var(--bs-black);
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* Dropdowns */
.bs-nav-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--bs-white);
    min-width: 200px;
    padding: 10px 0;
    list-style: none !important;
    border: 1px solid var(--bs-gray-border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s ease;
    z-index: 2000;
}

.bs-nav-menu li:hover>.sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.bs-nav-menu .sub-menu li {
    position: relative;
}

.bs-nav-menu .sub-menu li a {
    display: block;
    padding: 10px 20px;
    color: var(--bs-black);
    font-size: 13px;
    font-weight: 400;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.2s;
}

.bs-nav-menu .sub-menu li a:hover {
    background-color: var(--bs-gray-bg);
}

/* Nested sub-menus */
.bs-nav-menu .sub-menu .sub-menu {
    top: 0;
    left: 100%;
    margin-top: -1px;
}

/* Mobile Header Styles */
@media (max-width: 767px) {
    /* Force remove all borders and shadows on mobile header elements in all states */
    #cosmos-header-wrapper,
    .cosmos-header-wrapper,
    #cosmos-header-wrapper.scrolled,
    .cosmos-header-wrapper.scrolled,
    #cosmos-header-wrapper header,
    .cosmos-header-wrapper header,
    #cosmos-header-wrapper .bs-header-main,
    .cosmos-header-wrapper .bs-header-main,
    #cosmos-header-wrapper.scrolled .bs-header-main,
    .cosmos-header-wrapper.scrolled .bs-header-main,
    #cosmos-header-wrapper .bs-top-bar,
    .cosmos-header-wrapper .bs-top-bar,
    #cosmos-header-wrapper.scrolled .bs-top-bar,
    .cosmos-header-wrapper.scrolled .bs-top-bar {
        border: none !important;
        border-top: none !important;
        border-bottom: none !important;
        border-left: none !important;
        border-right: none !important;
        box-shadow: none !important;
        outline: none !important;
    }

    /* Force remove all borders, shadows, and outlines around the search bar elements on mobile */
    #cosmos-header-wrapper .bs-search-wrap,
    #cosmos-header-wrapper .bs-search-wrapper,
    #cosmos-header-wrapper .bs-search-input,
    #cosmos-header-wrapper .bs-search-input:focus,
    #cosmos-header-wrapper #cosmos-search-bar,
    #cosmos-header-wrapper .cosmos-search-wrapper,
    #cosmos-header-wrapper input[data-live-search-input],
    #cosmos-header-wrapper input[data-live-search-input]:focus {
        border: none !important;
        border-top: none !important;
        border-bottom: none !important;
        border-left: none !important;
        border-right: none !important;
        box-shadow: none !important;
        outline: none !important;
    }

    .bs-header-main {
        padding: 8px 0;
        transition: all 0.3s ease;
        border-bottom: none !important;
    }

    .bs-header-main .bs-container {
        display: grid;
        grid-template-areas:
            "menu logo actions"
            "search search search";
        grid-template-columns: 44px 1fr auto;
        gap: 8px 0;
        padding: 0 15px;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .bs-menu-toggle {
        grid-area: menu;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        background: none;
        border: none;
        font-size: 22px;
        color: var(--bs-black);
        cursor: pointer;
        padding: 0;
    }

    .bs-logo-wrap {
        grid-area: logo;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .bs-logo {
        font-size: 24px;
        letter-spacing: 0.15em;
        transition: all 0.3s ease;
    }

    .bs-header-actions {
        grid-area: actions;
        gap: 12px;
        justify-self: end;
    }

    /* Hide mobile search button if we show full search bar */
    .bs-action-search-mobile {
        display: none !important;
    }

    /* Hide desktop language button on mobile */
    .bs-action-language {
        display: none !important;
    }

    .bs-action-item span {
        display: none;
    }

    .bs-action-icon {
        font-size: 18px;
    }

    .bs-search-wrap {
        grid-area: search;
        display: block !important;
        width: 100%;
        min-width: 0;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .bs-search-input {
        padding: 8px 40px 8px 15px;
        font-size: 12px;
        height: 38px;
    }

    html[dir="rtl"] .bs-search-input {
        padding: 8px 15px 8px 40px;
    }

    .bs-nav-bar {
        display: none;
    }

    .hidden-on-mobile {
        display: none !important;
    }

    /* === SCROLLED STATE (Image 2) === */
    #cosmos-header-wrapper.scrolled .bs-top-bar {
        display: none !important;
    }

    #cosmos-header-wrapper.scrolled .bs-header-main .bs-container {
        grid-template-areas: "menu logo search actions";
        grid-template-columns: 40px auto 1fr auto;
        /* Tighter menu area */
        gap: 0 8px;
        /* Tighter gaps to fit everything */
        align-items: center;
    }

    #cosmos-header-wrapper.scrolled .bs-logo {
        font-size: 14px;
        /* Even smaller logo for mobile scroll */
        letter-spacing: 0.05em;
        margin-right: 4px;
    }

    #cosmos-header-wrapper.scrolled .bs-search-wrap {
        margin: 0;
        min-width: 0;
        /* Allow shrinking */
    }

    #cosmos-header-wrapper.scrolled .bs-search-input {
        height: 30px;
        font-size: 9px !important;
        /* Tiny but safe from crashing */
        padding: 4px 38px 4px 10px !important;
        /* Large right padding for icon */
        background-color: #f3f4f6;
        border: none !important;
        text-overflow: ellipsis;
    }

    html[dir="rtl"] #cosmos-header-wrapper.scrolled .bs-search-input {
        padding: 4px 10px 4px 38px !important;
    }

    #cosmos-header-wrapper.scrolled .bs-search-icon {
        right: 12px;
        top: 50% !important;
        transform: translateY(-50%) scale(0.75) !important;
    }

    html[dir="rtl"] #cosmos-header-wrapper.scrolled .bs-search-icon {
        left: 12px;
        right: auto;
    }

    #cosmos-header-wrapper.scrolled .bs-action-user {
        display: none;
    }

    #cosmos-header-wrapper.scrolled .bs-header-actions {
        gap: 6px;
        justify-self: end;
    }

    /* Transition the container shadow on scroll - COMPLETELY FLAT */
    #cosmos-header-wrapper.scrolled .bs-header-main {
        box-shadow: none !important;
        padding: 6px 0 !important;
        /* Balanced padding */
        background: transparent !important;
        /* Wrapper handles background */
        border: none !important;
        margin: 0 !important;
    }

    #cosmos-header-wrapper.scrolled .bs-container {
        margin: 0 !important;
        padding: 0 15px !important;
        /* Restore the side spacing */
    }

    #cosmos-header-wrapper.scrolled .bs-logo-wrap,
    #cosmos-header-wrapper.scrolled .bs-search-wrap,
    #cosmos-header-wrapper.scrolled .bs-header-actions {
        margin: 0 !important;
        padding: 0 !important;
    }

    /* Ensure wrapper is the ONLY thing with background and border at the very bottom */
    #cosmos-header-wrapper.scrolled {
        background: #fff !important;
        box-shadow: none !important;
        border: none !important;
        border-bottom: none !important;
        /* Line at the absolute edge */
        margin: 0 !important;
        padding: 0 !important;
        height: auto !important;
    }
}

/* Desktop Menu Toggle - Hidden */
@media (min-width: 768px) {
    .bs-menu-toggle {
        display: none;
    }
}

/* === HOME CATEGORY CIRCLES === */
.bs-cat-circles-section {
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
}

.bs-cat-circles-container {
    position: relative;
    padding: 0 !important;
}

.bs-cat-circles-wrapper {
    padding: 20px 0;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    /* Force snapping */
}

.bs-cat-circles-wrapper::-webkit-scrollbar {
    display: none;
}

.bs-cat-circles-list {
    display: flex;
    gap: 15px;
    padding: 0 20px;
    /* Slightly more padding for better alignment */
    width: max-content;
}

/* ... existing Nav Buttons styles removed ... */

.bs-cat-circle-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 80px;
    text-decoration: none;
    color: #000;
    scroll-snap-align: start;
    /* Snap to the left edge */
}

.bs-cat-circle-img-wrap {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 8px;
    background: #f7f7f7;
    border: 1px solid #eee;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.bs-cat-circle-item:active .bs-cat-circle-img-wrap {
    transform: scale(0.95);
}

.bs-cat-circle-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bs-cat-circle-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    line-height: 1.2;
    text-align: center;
    max-width: 100%;
    white-space: normal;
}

@media (min-width: 1024px) {
    .bs-cat-circles-section {
        display: none !important;
    }
}

/* === HERO SLIDER === */
.bs-hero-slider-section {
    padding: 10px 15px 20px;
    background: #fff;
}

.bs-hero-slider-section .bs-container {
    max-width: 1280px;
    padding-left: 0;
    padding-right: 0;
}

.bs-hero-slider-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #f7f7f7;
    height: var(--bs-hero-h-mob, 400px);
}

@media (min-width: 1024px) {
    .bs-hero-slider-wrapper {
        height: var(--bs-hero-h-desk, 500px);
    }
}

.bs-hero-track {
    display: flex;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.bs-hero-slide {
    flex: 0 0 100%;
    height: 100%;
    position: relative;
}

.bs-hero-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.bs-hero-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.1), transparent);
}

.bs-hero-title {
    font-family: var(--bs-font-logo);
    font-size: 32px;
    margin: 10px 0 20px;
    max-width: 400px;
    line-height: 1.1;
    color: #000;
}

.bs-hero-sub {
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #e45366;
    /* Brand Pink */
}

.bs-hero-btn {
    display: inline-block;
    padding: 10px 24px;
    background: #000;
    color: #fff;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    transition: transform 0.2s;
}

@media (max-width: 767px) {
    .bs-hero-content {
        align-items: flex-end;
        padding-bottom: 40px;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.2), transparent);
    }

    .bs-hero-title {
        font-size: 24px;
        margin-bottom: 15px;
    }
}

/* Dots */
.bs-hero-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 5;
}

.bs-hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s;
}

.bs-hero-dot.is-active {
    background: #000;
    width: 20px;
    border-radius: 4px;
}

/* Placeholder */
.bs-hero-placeholder {
    padding: 10px 15px;
}

.bs-hero-coming-soon {
    height: 300px;
    background: #f0f0f0;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #999;
}

/* Homepage Flex Layout for Mobile Reordering */
.bs-homepage-flex-container {
    display: flex;
    flex-direction: column;
}

.bs-order-cat {
    order: 1;
}

.bs-order-hero {
    order: 2;
}

@media (min-width: 1024px) {
    .bs-order-hero {
        order: 1;
    }

    /* Hero first on Desktop */
    .bs-order-cat {
        order: 2;
        display: none !important;
    }

    /* Hidden as per previous request */
}


/* === HOME TRENDS SLIDER (SEPHORA STYLE) === */

.bs-home-trends-section {
    padding: 40px 0;
    overflow: hidden;
}

.bs-trends-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 30px;
}

.bs-trends-title {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: var(--bs-black);
}

.bs-trends-subtitle {
    font-size: 14px;
    color: var(--bs-gray-text);
    margin: 0;
}

.bs-trends-view-all {
    font-size: 13px;
    font-weight: 700;
    color: var(--bs-black);
    text-decoration: none;
    border-bottom: 1px solid var(--bs-black);
    padding-bottom: 2px;
}

/* Mobile View All Button (Dashed) */
@media (max-width: 767px) {
    .bs-home-trends-section {
        padding: 30px 0;
    }

    .bs-trends-header {
        align-items: flex-start;
    }

    .bs-trends-title {
        font-size: 20px;
    }

    .bs-trends-view-all {
        border: 1px dashed var(--bs-black);
        padding: 8px 16px;
        border-radius: 8px;
        font-size: 11px;
    }
}

/* Trends Body & Banner Layout */
.bs-trends-body {
    display: block;
}

@media (min-width: 1025px) {
    .bs-trends-body--with-banner {
        display: flex;
        align-items: stretch;
        gap: 20px;
    }

    .bs-trends-body--with-banner .bs-trends-banner {
        flex: 0 0 300px;
        max-width: 300px;
    }

    .bs-trends-body--with-banner .bs-trends-slider-container {
        flex: 1;
        min-width: 0;
        /* crucial for flexbox inner overflow */
    }
}

@media (max-width: 1024px) {
    .bs-trends-body--with-banner {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .bs-trends-banner {
        width: 100%;
        height: 350px;
        /* fixed height for mobile banner */
    }
}

.bs-trends-banner__link {
    display: block;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.bs-trends-banner__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

/* Slider Track */
.bs-trends-slider-outer {
    position: relative;
}

.bs-trends-slider-wrapper {
    overflow-x: auto;
    scrollbar-width: none;
    /* Hide scrollbar for Firefox */
    scroll-behavior: smooth;
}

.bs-trends-slider-wrapper::-webkit-scrollbar {
    display: none;
    /* Hide scrollbar for Chrome/Safari */
}

.bs-trends-track {
    display: flex;
    gap: 20px;
    padding-bottom: 10px;
}

.bs-trends-item {
    flex: 0 0 calc(100% / var(--bs-trends-cols-pc, 7) - 18px);
    min-width: 180px;
}

@media (max-width: 1024px) {
    .bs-trends-item {
        flex: 0 0 calc(100% / 3 - 14px);
    }
}

@media (max-width: 767px) {
    .bs-trends-item {
        flex: 0 0 calc(100% / var(--bs-trends-cols-mob, 2.5) - 10px);
        min-width: auto;
    }
}

/* Promo Banners Slider */
.bs-promo-banner__link {
    display: block;
    width: 100%;
    aspect-ratio: 7 / 10;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.bs-promo-banner__img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.7s ease;
}

.bs-promo-banner__link:hover .bs-promo-banner__img {
    transform: scale(1.05);
}

/* More Card (Mobile) */
.bs-trends-more-card {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f9f9f9;
    border: 1px dashed #ddd;
    border-radius: 12px;
    text-decoration: none;
    color: var(--bs-black);
    font-weight: 700;
    min-height: 400px;
}

/* Navigation Buttons (Desktop Only) */
.bs-trends-nav {
    position: absolute;
    top: 35%;
    /* Center on image */
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    background: var(--bs-white);
    border: 1px solid var(--bs-gray-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.2s;
    font-size: 12px;
    color: var(--bs-black);
}

.bs-trends-nav:hover {
    background: var(--bs-black);
    color: var(--bs-white);
    border-color: var(--bs-black);
}

.bs-trends-nav--prev {
    left: -18px;
}

.bs-trends-nav--next {
    right: -18px;
}

@media (max-width: 1440px) {
    .bs-trends-nav--prev {
        left: 10px;
    }

    .bs-trends-nav--next {
        right: 10px;
    }
}

@media (max-width: 1100px) {
    .bs-trends-nav {
        display: none;
    }
}

/* === PRODUCT CARD (HOME) === */

.bs-home-card {
    background: var(--bs-white);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 12px;
}

.bs-home-card__image-wrap {
    position: relative;
    aspect-ratio: 1/1.1;
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bs-home-card__img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    transition: transform 0.5s;
}

.bs-home-card:hover .bs-home-card__img {
    transform: scale(1.05);
}

.bs-home-card__badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: flex-start;
    pointer-events: none;
}

.bs-home-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 22px;
    padding: 4px 10px;
    border-radius: 4px;
    border: 1px solid transparent;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
    text-transform: none;
    white-space: nowrap;
    box-shadow: none;
    margin: 0;
}

.bs-home-badge.cosmos-badge--new {
    background: #ff2f6d;
    border-color: #ff2f6d;
    color: #fff;
}

.bs-home-badge.cosmos-badge--sale {
    background: #e7f3e3;
    border-color: #a9c59f;
    color: #5f7d54;
}

.bs-home-badge.cosmos-badge--restocked {
    background: #eefaf6;
    border-color: #9ad4c2;
    color: #13795f;
}

.bs-home-badge.cosmos-badge--best-seller {
    background: #111;
    border-color: #111;
    color: #fff;
}

[dir="rtl"] .bs-home-card__badges {
    left: auto;
    right: 12px;
    align-items: flex-end;
}

.bs-home-card__wishlist {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    background: var(--bs-white);
    border: 1px solid #f0f0f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.03);
    cursor: pointer;
    color: #ccc;
    transition: all 0.2s;
    z-index: 5;
}

.bs-home-card__wishlist:hover {
    color: #000;
    border-color: #000;
}

.bs-home-card__wishlist.is-active {
    color: #ff4d6d;
    border-color: #ff4d6d;
}

.bs-home-card__content {
    padding: 0 5px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.bs-home-card__brand {
    font-size: 11px;
    font-weight: 700;
    color: #999;
    margin-bottom: 2px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.bs-home-card__title {
    font-size: 14px;
    font-weight: 800;
    margin: 0 0 2px 0;
    color: var(--bs-black);
    line-height: 1.3;
    height: 38px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bs-home-card__title-link {
    text-decoration: none;
}

.bs-home-card__subtitle {
    font-size: 12px;
    color: #888;
    margin-bottom: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bs-home-card__price {
    font-size: 18px;
    font-weight: 900;
    margin-bottom: 10px;
    color: #000;
}

.bs-home-card__rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.bs-home-card__stars {
    color: #fcc419;
    font-size: 10px;
    display: flex;
    align-items: center;
    gap: 1px;
}

.bs-home-card__reviews {
    font-size: 11px;
    color: #999;
    font-weight: 500;
    line-height: 1;
    display: flex;
    align-items: center;
}

.bs-home-card__meta {
    font-size: 11px;
    color: #999;
    margin-bottom: 15px;
}

.bs-home-card__btn {
    margin-top: auto;
    display: block;
    width: 100%;
    padding: 14px;
    text-align: center;
    border: 1.5px solid var(--bs-btn-bg-hover, var(--bs-black));
    background: var(--bs-btn-bg, var(--bs-white));
    color: var(--bs-btn-color, var(--bs-black));
    text-decoration: none;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    transition: all 0.2s;
    border-radius: 4px;
}

.bs-home-card__btn:hover {
    background: var(--bs-btn-bg-hover, var(--bs-black));
    color: var(--bs-btn-color-hover, var(--bs-white));
    border-color: var(--bs-btn-bg-hover, var(--bs-black));
}

/* Archive card: compact Sephora-like mobile layout */
.bs-home-card--archive {
    gap: 0;
    height: 100%;
}

.bs-home-card--archive .bs-home-card__image-wrap {
    aspect-ratio: 0.82;
    margin-bottom: 10px;
    padding: 14px 10px 56px;
    background: #fff;
}

.bs-home-card--archive .bs-home-card__image-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.bs-home-card--archive .bs-home-card__img {
    max-width: 84%;
    max-height: 84%;
}

.bs-home-card--archive .bs-home-card__wishlist {
    top: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    border: none;
    box-shadow: none;
    background: transparent;
    color: #cfcfcf;
}

.bs-home-card--archive .bs-home-card__btn--archive {
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 10px;
    margin-top: 0;
    min-height: 38px;
    padding: 0 12px;
    border: none;
    border-radius: 3px;
    background: #555;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
    line-height: 1;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    width: auto;
    box-sizing: border-box;
}

.bs-home-card--archive .bs-home-card__btn--archive:hover {
    background: #3f3f3f;
    color: #fff;
    border-color: transparent;
}

.bs-home-card--archive .bs-home-card__btn--unavailable {
    background: #bdbdbd;
}

.bs-home-card--archive .bs-home-card__content {
    padding: 0;
    gap: 4px;
    min-height: 118px;
}



@media (max-width: 767px) {
    .cosmos-arc-meta-row {
        display: none;
    }

    .bs-home-card--archive .bs-home-card__content {
        min-height: 104px;
    }

    .bs-home-card--archive .bs-home-card__title {
        min-height: 34px;
    }
}

[dir="rtl"] .bs-home-card--archive .bs-home-card__wishlist {
    right: auto;
    left: 8px;
}

/* RTL Adjustments */
[dir="rtl"] .bs-home-card__badges {
    left: auto;
    right: 0;
}

[dir="rtl"] .bs-home-card__wishlist {
    right: auto;
    left: 10px;
}

/* === HOME DUAL BANNERS === */

.bs-dual-banners-section {
    padding: 40px 0;
    background: var(--bs-body-bg);
}

@media (max-width: 767px) {
    .bs-dual-banners-section {
        padding: 30px 0;
    }
}

.bs-dual-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

@media (max-width: 991px) {
    .bs-dual-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.bs-dual-column {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.bs-dual-slider-outer {
    position: relative;
    width: 100%;
}

.bs-dual-slider-wrapper {
    overflow: hidden;
    width: 100%;
}

.bs-dual-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.bs-dual-slide {
    flex: 0 0 100%;
    width: 100%;
}

.bs-dual-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    display: flex;
    gap: 8px;
    z-index: 10;
}

.bs-dual-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.bs-dual-dot.is-active {
    background: var(--bs-white);
    width: 20px;
    border-radius: 4px;
}

.bs-dual-dot:hover:not(.is-active) {
    background: var(--bs-white);
    transform: scale(1.2);
}

.bs-dual-banner {
    position: relative;
    display: block;
    width: 100%;
    height: var(--bs-dual-h-desk, 40vh);
    min-height: 350px;
    overflow: hidden;
    text-decoration: none;
}

@media (max-width: 767px) {
    .bs-dual-banner {
        height: var(--bs-dual-h-mob, 45vh);
        min-height: 300px;
    }
}

.bs-dual-banner__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.bs-dual-banner__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.bs-dual-banner:hover .bs-dual-banner__bg img {
    transform: scale(1.05);
}

.bs-dual-banner__bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0.1) 100%);
    z-index: 2;
}

.bs-dual-banner__content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px;
    z-index: 3;
    color: var(--bs-white);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

@media (max-width: 767px) {
    .bs-dual-banner__content {
        padding: 25px;
    }
}

.bs-dual-banner__eyebrow {
    display: inline-block;
    padding: 4px 12px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    border-radius: 4px;
    margin-bottom: 15px;
    letter-spacing: 1px;
    color: var(--bs-white);
}

.bs-dual-banner__title {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 10px 0;
    color: var(--bs-white);
}

@media (max-width: 767px) {
    .bs-dual-banner__title {
        font-size: 22px;
    }
}

.bs-dual-banner__desc {
    font-size: 13px;
    line-height: 1.5;
    margin: 0 0 20px 0;
    color: rgba(255, 255, 255, 0.9);
}

.bs-dual-banner__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--bs-btn-bg, var(--bs-white));
    color: var(--bs-btn-color, var(--bs-black));
    padding: 12px 24px;
    font-size: 13px;
    font-weight: 700;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.bs-dual-banner:hover .bs-dual-banner__btn {
    background: var(--bs-btn-bg-hover, #f0f0f0);
    color: var(--bs-btn-color-hover, var(--bs-black));
}

.bs-dual-banner__note {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 15px;
    font-style: italic;
}

/* Device Specific Visibility */
@media (min-width: 768px) {
    .bs-hide-pc {
        display: none !important;
    }
}

@media (max-width: 767px) {
    .bs-hide-mob {
        display: none !important;
    }
}

/* ══════════════════════════════════════════════════════
   SINGLE PRODUCT PAGE — Sephora Style
   ══════════════════════════════════════════════════════ */
.cosmos-sp {
    padding: 0 0 60px;
    background: #fff;
}

.cosmos-sp__container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ── Hero: Gallery + Info ── */
.cosmos-sp__hero {
    display: flex;
    gap: 40px;
    padding: 30px 0 50px;
}

/* Gallery */
.cosmos-sp__gallery {
    display: flex;
    gap: 14px;
    flex: 1;
    min-width: 0;
}

@media (min-width: 1025px) {
    .cosmos-sp__gallery {
        flex: 0 0 500px;
    }
}

/* Vertical Thumbnails (Desktop) */
.cosmos-sp__thumbs {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 48px;
    flex-shrink: 0;
    align-items: center;
}

.cosmos-sp__thumb {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    background: #fff;
    transition: border-color 0.2s ease, opacity 0.2s ease;
    opacity: 0.6;
    padding: 0;
}

.cosmos-sp__thumb.is-active {
    border-color: #000;
    opacity: 1;
}

.cosmos-sp__thumb:hover {
    opacity: 1;
}

.cosmos-sp__thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 50%;
}

.cosmos-sp__thumb-more {
    width: 48px;
    text-align: center;
    font-size: 11px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    border: none;
    background: transparent;
    padding: 0;
    line-height: 1.2;
}

.cosmos-sp__thumb-more span {
    display: block;
    font-weight: 800;
    font-size: 14px;
    color: #111;
}

.cosmos-sp__thumb-more:hover {
    color: #111;
}

/* Main Image */
.cosmos-sp__main-img-wrap {
    flex: 1;
    position: relative;
    aspect-ratio: 4 / 5;
    background: #fff;
    border-radius: 0;
    overflow: hidden;
}

.cosmos-sp__main-img {
    width: 100%;
    height: 100%;
    object-fit: scale-down;
    display: block;
}

.cosmos-sp__no-img {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #f9f9f9;
    color: #aaa;
    gap: 10px;
}

.cosmos-sp__no-img i {
    font-size: 32px;
}

.cosmos-sp__no-img span {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Badges & Navigation */
.cosmos-sp__badge-sale {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 5;
}

.cosmos-sp__back-btn {
    display: none;
    position: absolute;
    top: 12px;
    left: 12px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    color: #111;
    text-decoration: none;
    z-index: 5;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.cosmos-sp__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(4px);
    color: #111;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    z-index: 10;
    transition: all 0.2s ease;
    opacity: 1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    padding: 0;
}

.cosmos-sp__arrow:hover {
    background: #fff;
    border-color: rgba(0, 0, 0, 0.3);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
    transform: translateY(-50%) scale(1.08);
}

.cosmos-sp__arrow--prev {
    left: 10px;
}

.cosmos-sp__arrow--next {
    right: 10px;
}

/* Mobile Thumbs */
.cosmos-sp__thumbs-mob {
    display: none;
}

/* ── Product Info ── */
.cosmos-sp__info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

@media (min-width: 1025px) {
    .cosmos-sp__info {
        padding-left: 20px;
    }
}

.cosmos-sp__brand {
    font-size: 12px;
    font-weight: 700;
    color: #111;
    text-decoration: none;
    text-transform: none;
    letter-spacing: 0.01em;
    margin-bottom: 6px;
    display: block;
}

.cosmos-sp__brand:hover {
    text-decoration: underline;
}

.cosmos-sp__title {
    font-size: 20px;
    font-weight: 400;
    color: #111;
    line-height: 1.4;
    margin: 0 0 12px;
    letter-spacing: -0.01em;
}

/* Rating Row & Sephora Pill Badge */
.cosmos-sp__rating-row {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 8px;
}

.cosmos-sp__rating-badge-pill {
    background: transparent;
    border-radius: 0;
    padding: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #111;
}

.cosmos-sp__stars {
    display: flex;
    gap: 2px;
}

.cosmos-sp__star--filled {
    color: #000;
    font-size: 13px;
}

.cosmos-sp__star--half {
    color: #000;
    font-size: 13px;
}

.cosmos-sp__star--empty {
    color: #d1d5db;
    font-size: 13px;
}

.cosmos-sp__rating-avg {
    font-size: 13px;
    font-weight: 700;
    color: #111;
}

.cosmos-sp__rating-count {
    font-size: 12px;
    font-weight: 400;
    color: #777;
}

.cosmos-sp__rating-divider {
    color: #d1d5db;
    font-weight: 300;
}

.cosmos-sp__ask-link {
    color: #111;
    text-decoration: underline;
    font-weight: 500;
}

.cosmos-sp__love-count {
    color: #555;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
}

.cosmos-sp__love-count i {
    color: #e45366;
}

/* Price */
.cosmos-sp__price {
    font-size: 26px;
    font-weight: 800;
    color: #111;
    margin-bottom: 4px;
    line-height: 1.2;
}

.cosmos-sp__price del {
    color: #999;
    font-size: 18px;
    font-weight: 400;
    margin-right: 8px;
}

.cosmos-sp__price ins {
    text-decoration: none;
    color: #111;
}

/* PROMO badge shown when product is on sale */
.cosmos-sp__promo-line {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.cosmos-sp__promo-badge {
    background: #dc2626;
    color: #fff;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 3px;
    flex-shrink: 0;
}

.cosmos-sp__promo-savings {
    font-size: 13px;
    font-weight: 600;
    color: #dc2626;
}

/* Stock */
.cosmos-sp__stock {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.cosmos-sp__stock--in {
    color: #16a34a;
}

.cosmos-sp__stock--out {
    color: #dc2626;
}

/* Short Description */
.cosmos-sp__desc {
    font-size: 14px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 20px;
}

/* Actions (Sephora Integrated Style) */
.cosmos-sp__actions-sephora {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 30px;
}

.cosmos-sp__cart-group {
    display: inline-flex;
    align-items: center;
    background: #c5192d;
    border-radius: 30px;
    padding: 6px !important;
    height: 52px !important;
    box-sizing: border-box !important;
    flex: 1;
    overflow: hidden;
}

.cosmos-sp__qty-wrap-sephora {
    background: #fff;
    border-radius: 24px;
    height: 40px !important;
    width: 60px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px 0 12px !important;
    margin-right: 12px;
    flex-shrink: 0;
    box-sizing: border-box !important;
    overflow: hidden;
}

[dir="rtl"] .cosmos-sp__qty-wrap-sephora {
    margin-right: 0;
    margin-left: 12px;
}

.cosmos-sp__qty-select-sephora {
    background: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E") no-repeat right 0 center !important;
    background-size: 14px !important;
    padding-right: 18px !important;
    padding-left: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    color: #111 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    border: none !important;
    outline: none !important;
    cursor: pointer !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    width: 100% !important;
    height: 32px !important;
    line-height: 32px !important;
    margin: 0 !important;
    box-shadow: none !important;
    text-align: center !important;
    text-align-last: center !important;
}

.cosmos-sp__qty-select-sephora::-ms-expand {
    display: none !important;
}

.cosmos-sp__qty-select-sephora option {
    color: #111;
}

.cosmos-sp__cart-btn {
    flex: 1;
    background: transparent;
    color: #fff;
    border: none;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    padding: 0 !important;
    text-align: center;
    line-height: 1.3;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-sizing: border-box !important;
}

.cosmos-sp__cart-btn small {
    display: block;
    font-size: 10px;
    font-weight: 400;
    opacity: 0.95;
    margin-top: 2px;
}

.cosmos-sp__cart-btn--disabled {
    background-color: #fdf2f2;
    color: #dc2626;
    border: 1.5px solid #fecaca;
    cursor: not-allowed;
    border-radius: 30px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    flex: 1;
    pointer-events: none;
    box-sizing: border-box;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.cosmos-sp__wish-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 1.5px solid #d1d5db;
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #111;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.cosmos-sp__wish-btn:hover {
    background: #f3f4f6;
    border-color: #111;
}

.cosmos-sp__wish-btn.cosmos-wishlist--active {
    background: #c5192d;
    border-color: #c5192d;
    color: #fff;
}

/* ── Rating Breakdown ── */
.cosmos-sp__breakdown {
    border-top: 1px solid #eee;
    padding-top: 24px;
}

.cosmos-sp__breakdown-title {
    font-size: 18px;
    font-weight: 800;
    margin: 0 0 4px;
    color: #111;
}

.cosmos-sp__write-review {
    font-size: 13px;
    color: #2563eb;
    text-decoration: underline;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 16px;
}

.cosmos-sp__write-review:hover {
    color: #1d4ed8;
}

.cosmos-sp__breakdown-grid {
    display: flex;
    gap: 40px;
    align-items: center;
    width: 100%;
    justify-content: space-between;
    margin-top: 16px;
}

.cosmos-sp__bars {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cosmos-sp__bar-row {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.cosmos-sp__bar-label {
    font-size: 13px;
    font-weight: 700;
    color: #111;
    width: 16px;
    text-align: center;
    flex-shrink: 0;
}

.cosmos-sp__bar-track {
    flex: 1;
    height: 10px;
    background: #e5e5e5;
    border-radius: 5px;
    overflow: hidden;
    min-width: 100px;
    width: 100%;
}

.cosmos-sp__bar-fill {
    height: 100%;
    background: #000;
    border-radius: 5px;
    transition: width 0.5s ease;
}

.cosmos-sp__score-block {
    text-align: left;
    flex-shrink: 0;
    padding-left: 40px;
    border-left: 1px solid #eee;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

[dir="rtl"] .cosmos-sp__score-block {
    text-align: right;
    padding-left: 0;
    padding-right: 40px;
    border-left: none;
    border-right: 1px solid #eee;
}

.cosmos-sp__score-big {
    font-size: 32px;
    font-weight: 900;
    color: #111;
    line-height: 1;
}

.cosmos-sp__score-big i {
    font-size: 20px;
    vertical-align: middle;
}

.cosmos-sp__score-count {
    font-size: 11px;
    color: #666;
    margin: 0;
}

.cosmos-sp__recommend {
    font-size: 28px;
    font-weight: 900;
    color: #111;
}

.cosmos-sp__recommend-label {
    font-size: 11px;
    color: #666;
}

.cosmos-sp__breakdown-engage {
    margin-top: 20px;
    padding: 14px 18px;
    background: #f8fafc;
    border-radius: 8px;
    border: 1.5px dashed #e2e8f0;
    font-size: 13px;
    color: #475569;
    font-weight: 500;
    line-height: 1.6;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cosmos-sp__breakdown-engage p {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cosmos-sp__breakdown-engage i {
    color: #2563eb;
    font-size: 16px;
    flex-shrink: 0;
}

[dir="rtl"] .cosmos-sp__breakdown-engage i {
    transform: scaleX(-1);
}

/* ── Similar Products ── */
.cosmos-sp__similar {
    border-top: 1px solid #eee;
    padding-top: 40px;
    margin-top: 30px;
}

.cosmos-sp__section-title {
    font-size: 20px;
    font-weight: 800;
    color: #111;
    margin: 0 0 24px;
}

.cosmos-sp__similar-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    border: none;
    overflow: visible;
}

.cosmos-sp__similar-card {
    display: flex;
    flex-direction: column;
    text-align: left;
    background: #fff;
}

.cosmos-sp__similar-img-wrap {
    position: relative;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 12px;
    border: none;
    padding: 0;
    background: transparent;
}

.cosmos-sp__similar-img-wrap:hover {
    border-color: #111;
}

.cosmos-sp__similar-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.cosmos-sp__similar-img-wrap:hover .cosmos-sp__similar-img {
    transform: scale(1.05);
}

.cosmos-sp__quicklook {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%) translateY(0);
    background: rgba(17, 17, 17, 0.85);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
    opacity: 0;
    transition: all 0.25s ease;
    white-space: nowrap;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.cosmos-sp__similar-img-wrap:hover .cosmos-sp__quicklook {
    opacity: 1;
}

.cosmos-sp__similar-body {
    padding: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.cosmos-sp__similar-brand {
    font-size: 12px;
    font-weight: 700;
    color: #111;
    display: block;
    margin-bottom: 4px;
}

.cosmos-sp__similar-name {
    font-size: 11px;
    color: #4b5563;
    line-height: 1.4;
    margin: 0 0 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 32px;
}

.cosmos-sp__details-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 8px 12px;
    border: 1.5px solid #111;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    color: #111;
    text-decoration: none;
    transition: all 0.2s ease;
    margin-top: auto;
}

.cosmos-sp__details-btn:hover {
    background: #111;
    color: #fff;
}

/* ── About the Product (Brand Rep) ── */
.cosmos-sp__brand-rep {
    border-top: 1px solid #eee;
    padding-top: 40px;
    margin-top: 40px;
    border-bottom: 1px solid #eee;
    padding-bottom: 40px;
    margin-bottom: 40px;
}

.cosmos-sp__brand-rep-grid {
    display: flex;
    gap: 40px;
    margin-top: 24px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.cosmos-sp__brand-rep-left {
    width: 220px;
    flex-shrink: 0;
}

.cosmos-sp__brand-rep-name {
    font-size: 14px;
    font-weight: 700;
    color: #2563eb;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    text-decoration: underline;
    margin-bottom: 8px;
}

.cosmos-sp__brand-rep-badge {
    display: inline-block;
    background: #111;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 20px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.cosmos-sp__brand-rep-right {
    flex: 1;
    min-width: 280px;
    font-size: 14px;
    line-height: 1.8;
    color: #333;
}

.cosmos-sp__chat-line {
    margin-bottom: 10px;
}

.cosmos-sp__chat-speaker {
    font-weight: 800;
    color: #111;
}

.cosmos-sp__chat-text {
    color: #444;
}

/* ── Questions & Answers ── */
.cosmos-sp__qna-section {
    border-top: 1px solid #eee;
    padding-top: 40px;
    margin-top: 40px;
}

.cosmos-sp__qna-container {
    display: flex;
    gap: 40px;
    margin-top: 24px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.cosmos-sp__qna-controls {
    width: 220px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cosmos-sp__ask-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    background: #111;
    color: #fff;
    border: 1px solid #111;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    transition: all 0.2s ease;
    margin-bottom: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.cosmos-sp__ask-btn:hover {
    background: #333;
    border-color: #333;
    color: #fff;
    transform: translateY(-2px);
}


.cosmos-sp__qna-list-wrap {
    flex: 1;
    min-width: 280px;
}

.cosmos-sp__qna-list-title {
    font-size: 14px;
    font-weight: 800;
    color: #111;
    margin: 0 0 16px;
}

.cosmos-sp__qna-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.cosmos-sp__qna-card {
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 24px;
}

.cosmos-sp__q-row {
    display: flex;
    gap: 8px;
    align-items: baseline;
    font-size: 15px;
    font-weight: 700;
    color: #111;
    margin-bottom: 6px;
}

.cosmos-sp__q-icon {
    font-weight: 800;
}

.cosmos-sp__q-meta {
    font-size: 12px;
    color: #888;
    margin-bottom: 16px;
    padding-left: 22px;
}

.cosmos-sp__answers {
    margin-left: 22px;
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    border-left: 2px solid #eee;
    padding-left: 16px;
}

.cosmos-sp__a-card {
    font-size: 14px;
    line-height: 1.7;
    color: #333;
}

.cosmos-sp__a-row {
    display: flex;
    gap: 8px;
    align-items: baseline;
}

.cosmos-sp__a-icon {
    font-weight: 800;
    color: #111;
}

.cosmos-sp__a-meta {
    font-size: 12px;
    color: #888;
    margin-top: 6px;
    padding-left: 22px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cosmos-sp__support-badge {
    background: #111;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.cosmos-sp__answer-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 20px;
    background: #fff;
    color: #111;
    border: 1px solid #111;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-left: 22px;
    margin-top: 12px;
    text-decoration: none;
}

.cosmos-sp__answer-link:hover {
    background: #111;
    color: #fff;
    transform: translateY(-1px);
}

.cosmos-sp__qna-more-btn {
    margin-top: 30px;
    padding: 12px 32px;
    border: 2px solid #111;
    border-radius: 30px;
    background: #fff;
    font-size: 13px;
    font-weight: 700;
    color: #111;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-block;
}

.cosmos-sp__qna-more-btn:hover {
    background: #111;
    color: #fff;
}

.cosmos-sp__qna-forms {
    margin-top: 30px;
}

.cosmos-sp__qna-form {
    background: #f9f9f9;
    padding: 24px;
    border-radius: 12px;
    border: 1px solid #eee;
    margin-top: 16px;
}

.cosmos-sp__qna-form h4 {
    font-size: 16px;
    font-weight: 800;
    margin: 0 0 16px;
    color: #111;
}

.cosmos-sp__support-notice {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    background: #fff;
    padding: 12px 16px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
}

.cosmos-sp__support-notice-text {
    font-size: 13px;
    color: #555;
    font-weight: 600;
}

.cosmos-sp__qna-form input[type="text"],
.cosmos-sp__qna-form input[type="email"],
.cosmos-sp__qna-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 14px;
    font-family: inherit;
    transition: border-color 0.2s;
}

.cosmos-sp__qna-form input:focus,
.cosmos-sp__qna-form textarea:focus {
    border-color: #111;
    outline: none;
}

.cosmos-sp__form-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.cosmos-sp__cancel-btn {
    padding: 12px 24px;
    border: 1px solid #ddd;
    border-radius: 30px;
    background: #fff;
    font-size: 14px;
    font-weight: 700;
    color: #555;
    cursor: pointer;
    transition: all 0.2s;
}

.cosmos-sp__cancel-btn:hover {
    border-color: #111;
    color: #111;
}

.cosmos-sp__form-res {
    margin-top: 12px;
    font-size: 13px;
    font-weight: 700;
}

/* ── Review Images Gallery (Sephora Style) ── */
.cosmos-sp__review-gallery {
    margin-bottom: 30px;
}

.cosmos-sp__review-gallery-title {
    font-size: 12px;
    font-weight: normal;
    color: #666;
    margin: 0 0 12px;
}

.cosmos-sp__review-gallery-track {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 12px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.cosmos-sp__review-gallery-track::-webkit-scrollbar {
    display: none;
}

.cosmos-sp__review-gallery-card {
    position: relative;
    flex-shrink: 0;
    width: 160px;
    height: 160px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #eee;
    transition: transform 0.2s, box-shadow 0.2s;
}

.cosmos-sp__review-gallery-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.cosmos-sp__review-gallery-item {
    display: block;
    width: 100%;
    height: 100%;
}

.cosmos-sp__review-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cosmos-sp__rimg-badge {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 12px;
    pointer-events: none;
    z-index: 2;
}

/* ── Review Filter Bar (Sephora Style) ── */
.cosmos-sp__review-filters {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
    margin: 24px 0 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 24px;
}

.cosmos-sp__filter-pill {
    background: #f3f4f6;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: #111;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: background 0.2s;
    position: relative;
}

.cosmos-sp__filter-pill:hover {
    background: #e5e7eb;
}

.cosmos-sp__filter-dropdown-wrap {
    position: relative;
    display: inline-block;
}

.cosmos-sp__filter-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    z-index: 100;
    min-width: 180px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    padding: 6px 0;
    display: flex;
    flex-direction: column;
}

[dir="rtl"] .cosmos-sp__filter-dropdown {
    left: auto;
    right: 0;
}

.cosmos-sp__filter-option {
    background: none;
    border: none;
    padding: 10px 16px;
    text-align: left;
    font-size: 13px;
    font-weight: 500;
    color: #4b5563;
    cursor: pointer;
    width: 100%;
    transition: background 0.15s, color 0.15s;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

[dir="rtl"] .cosmos-sp__filter-option {
    text-align: right;
}

.cosmos-sp__filter-option:hover {
    background: #f3f4f6;
    color: #111;
}

.cosmos-sp__filter-option.is-active {
    font-weight: 700;
    color: #111;
    background: #f9fafb;
}

.cosmos-sp__filter-option.is-active::after {
    content: "✓";
    font-size: 11px;
    color: #111;
    margin-left: 8px;
}

[dir="rtl"] .cosmos-sp__filter-option.is-active::after {
    margin-left: 0;
    margin-right: 8px;
}

/* ── Reviews Section ── */
.cosmos-sp__reviews-section {
    border-top: 1px solid #eee;
    padding-top: 40px;
    margin-top: 40px;
}

.cosmos-sp__reviews-count-header {
    font-size: 12px;
    color: #666;
    margin-bottom: 16px;
}

.cosmos-sp__reviews-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.cosmos-sp__review-card {
    display: flex;
    gap: 24px;
    padding: 30px 0;
    border-bottom: 1px solid #eee;
    align-items: flex-start;
}

.cosmos-sp__review-card--empty {
    color: #999;
    font-size: 14px;
    display: block;
    padding: 24px 0;
}

.cosmos-sp__review-col-left {
    width: 220px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cosmos-sp__review-stars-small {
    display: flex;
    gap: 2px;
    color: #111;
    font-size: 12px;
    margin-bottom: 4px;
}

.cosmos-sp__review-verified {
    font-size: 12px;
    font-weight: 700;
    color: #16a34a;
}

.cosmos-sp__review-pending {
    font-size: 11px;
    font-weight: 700;
    color: #d97706;
    background: #fef3c7;
    padding: 4px 8px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.cosmos-sp__review-card--pending {
    background: #fffcf6;
    border: 1px solid #fde68a;
    padding: 24px 20px;
    border-radius: 12px;
    margin-bottom: 12px;
}

.cosmos-sp__review-date {
    font-size: 12px;
    color: #888;
}

.cosmos-sp__review-recommend {
    font-size: 12px;
    font-weight: 700;
    color: #111;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 6px;
}

.cosmos-sp__review-col-mid {
    flex: 1;
    min-width: 280px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cosmos-sp__review-title {
    font-size: 15px;
    font-weight: 800;
    color: #111;
    margin: 0;
}

.cosmos-sp__review-body {
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    margin: 0;
}

.cosmos-sp__review-body p {
    margin: 0;
}

.cosmos-sp__review-helpful {
    font-size: 12px;
    color: #888;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
}

.cosmos-sp__helpful-btn {
    background: none;
    border: none;
    padding: 0;
    color: #888;
    font-size: 12px;
    cursor: pointer;
    font-weight: 600;
}

.cosmos-sp__helpful-btn:hover {
    color: #111;
}

.cosmos-sp__review-col-right {
    width: 200px;
    flex-shrink: 0;
    border-left: 1px solid #eee;
    padding-left: 24px;
    display: flex;
    flex-direction: column;
}

.cosmos-sp__review-author-box {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cosmos-sp__review-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    background: #111;
}

.cosmos-sp__review-author-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cosmos-sp__review-name {
    font-size: 14px;
    font-weight: 800;
    color: #111;
}

.cosmos-sp__review-hair {
    font-size: 12px;
    color: #666;
}

/* Per-review image thumbnails */
.cosmos-sp__review-imgs {
    display: flex;
    gap: 8px;
    margin: 12px 0;
    flex-wrap: wrap;
}

.cosmos-sp__review-img-thumb {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    overflow: hidden;
    display: block;
    border: 1px solid #eee;
    transition: transform 0.2s, box-shadow 0.2s;
}

.cosmos-sp__review-img-thumb:hover {
    transform: scale(1.08);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.cosmos-sp__review-img-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Upload field in review form */
.cosmos-review-upload {
    margin-top: 14px;
}

.cosmos-review-upload label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #111;
    display: block;
    margin-bottom: 8px;
}

.cosmos-review-upload__input {
    display: block;
    width: 100%;
    padding: 12px;
    border: 2px dashed #ddd;
    border-radius: 10px;
    background: #fafafa;
    cursor: pointer;
    font-size: 13px;
    color: #555;
    transition: border-color 0.2s;
}

.cosmos-review-upload__input:hover {
    border-color: #111;
}

.cosmos-review-upload__hint {
    display: block;
    margin-top: 6px;
    font-size: 11px;
    color: #999;
}

/* Review Form */
.cosmos-sp__review-form {
    margin-top: 30px;
    padding: 24px;
    background: #f9f9f9;
    border-radius: 12px;
}

.cosmos-sp__form-title {
    font-size: 16px;
    font-weight: 800;
    color: #111;
    margin: 0 0 16px;
}

.cosmos-sp__form label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #111;
    display: block;
    margin-bottom: 6px;
}

.cosmos-sp__form input[type="text"],
.cosmos-sp__form input[type="email"],
.cosmos-sp__form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 14px;
    font-family: inherit;
    transition: border-color 0.2s;
}

.cosmos-sp__form input:focus,
.cosmos-sp__form textarea:focus {
    border-color: #111;
    outline: none;
}

.cosmos-sp__submit-btn {
    background: #111;
    color: #fff;
    border: none;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: background 0.2s;
}

.cosmos-sp__submit-btn:hover {
    background: #333;
}

.cosmos-sp__rating-select {
    display: none !important;
}

.cosmos-sp__must-login {
    font-size: 13px;
    color: #666;
}

.cosmos-sp__must-login a {
    color: #111;
    font-weight: 700;
}

/* ── Mobile Responsive ── */
@media (max-width: 1024px) {
    .cosmos-sp__similar-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .cosmos-sp__similar-card:nth-child(3) {
        border-right: none;
    }

    .cosmos-sp__similar-card:nth-child(n+4) {
        border-top: 1px solid #eee;
    }
}

@media (max-width: 767px) {
    .cosmos-sp__hero {
        flex-direction: column;
        gap: 0;
        padding: 0 0 30px;
    }

    .cosmos-sp__thumbs {
        display: none;
    }

    .cosmos-sp__thumbs-mob {
        display: flex;
        gap: 8px;
        padding: 10px 16px;
        overflow-x: auto;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .cosmos-sp__thumbs-mob::-webkit-scrollbar {
        display: none;
    }

    .cosmos-sp__thumb-mob {
        width: 56px;
        height: 68px;
        border-radius: 8px;
        overflow: hidden;
        border: 2px solid transparent;
        cursor: pointer;
        flex-shrink: 0;
        opacity: 0.6;
        transition: all 0.2s;
        padding: 0;
        background: #fff;
    }

    .cosmos-sp__thumb-mob.is-active {
        border-color: #111;
        opacity: 1;
    }

    .cosmos-sp__gallery {
        flex-direction: column;
    }

    .cosmos-sp__main-img-wrap {
        aspect-ratio: 1;
        border-radius: 0;
    }

    .cosmos-sp__back-btn {
        display: flex;
    }

    .cosmos-sp__arrow {
        width: 34px;
        height: 34px;
        font-size: 12px;
    }

    .cosmos-sp__info {
        width: 100%;
        padding: 20px 16px 0;
    }

    .cosmos-sp__title {
        font-size: 16px;
    }

    .cosmos-sp__price {
        font-size: 22px;
    }

    .cosmos-sp__breakdown-grid {
        flex-direction: column;
        gap: 16px;
    }

    .cosmos-sp__score-block {
        text-align: left;
        display: flex;
        gap: 16px;
        align-items: center;
        flex-wrap: wrap;
    }

    .cosmos-sp__similar-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cosmos-sp__similar-card:nth-child(2n) {
        border-right: none;
    }

    .cosmos-sp__similar-card:nth-child(n+3) {
        border-top: 1px solid #eee;
    }

    .cosmos-sp__container {
        padding: 0;
    }

    .cosmos-sp__similar,
    .cosmos-sp__reviews-section {
        padding-left: 16px;
        padding-right: 16px;
    }

    .cosmos-sp__review-gallery-item {
        width: 110px;
        height: 110px;
    }

    .cosmos-sp__review-img-thumb {
        width: 52px;
        height: 52px;
    }

    .cosmos-sp__review-card {
        flex-direction: column;
        gap: 16px;
        padding: 24px 0;
    }

    .cosmos-sp__review-col-left,
    .cosmos-sp__review-col-mid,
    .cosmos-sp__review-col-right {
        width: 100%;
        border-left: none;
        padding-left: 0;
    }

    .cosmos-sp__review-col-right {
        border-top: 1px solid #eee;
        padding-top: 16px;
        margin-top: 8px;
    }
}

/* Similar Products Comparison Table */
.cosmos-sp__similar-table-wrap {
    width: 100%;
    overflow-x: auto;
    margin-top: 24px;
    padding-bottom: 12px;
    scrollbar-width: thin;
}

.cosmos-sp__similar-table {
    width: 100%;
    min-width: 900px;
    border-collapse: collapse;
    table-layout: fixed;
}

.cosmos-sp__table-label-col {
    width: 15%;
    padding: 0;
}

.cosmos-sp__table-product-col {
    width: 21.25%;
    border-left: 1px solid #f0f0f0;
    padding: 0;
    vertical-align: top;
}

.cosmos-sp__similar-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px 16px;
    text-align: left;
    height: 100%;
}

.cosmos-sp__similar-card .cosmos-sp__similar-img-wrap {
    width: 160px;
    height: 160px;
    position: relative;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
}

.cosmos-sp__similar-card .cosmos-sp__similar-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.cosmos-sp__similar-card .cosmos-sp__quicklook {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    padding: 8px;
    text-align: center;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 1;
    transition: opacity 0.3s;
    z-index: 10;
    border-radius: 4px;
    transform: none !important;
    width: 100%;
    box-sizing: border-box;
}

.cosmos-sp__similar-body {
    width: 100%;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.cosmos-sp__similar-card .cosmos-sp__similar-brand {
    font-weight: 800;
    font-size: 13px;
    color: #111;
    margin-bottom: 4px;
    line-height: 1.2;
}

.cosmos-sp__similar-card .cosmos-sp__similar-name {
    font-size: 13px;
    color: #333;
    line-height: 1.4;
    margin-bottom: 16px;
    min-height: 36px;
    flex-grow: 1;
}

.cosmos-sp__similar-card .cosmos-sp__details-btn {
    border: 2px solid #111;
    border-radius: 24px;
    text-align: center;
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 700;
    color: #111;
    transition: all 0.3s;
    display: block;
    width: 100%;
    text-decoration: none;
}

.cosmos-sp__similar-card .cosmos-sp__details-btn:hover {
    background: #111;
    color: #fff;
}

.cosmos-sp__table-row-price td,
.cosmos-sp__table-row-rating td,
.cosmos-sp__table-row-favorite td {
    padding: 20px 16px;
    border-top: 1px solid #f0f0f0;
}

.cosmos-sp__table-product-col~td {
    border-left: 1px solid #f0f0f0;
}

.cosmos-sp__table-value {
    border-left: 1px solid #f0f0f0;
}

.cosmos-sp__table-label {
    font-weight: 800;
    font-size: 13px;
    color: #111;
    vertical-align: middle;
}

.cosmos-sp__table-row-price .cosmos-sp__table-value {
    font-weight: 800;
    font-size: 14px;
    color: #111;
}

.cosmos-sp__table-row-rating .cosmos-sp__table-value {
    font-size: 12px;
}

.cosmos-sp__stars-inner {
    color: #111;
    display: inline-flex;
    gap: 2px;
    align-items: center;
}

.cosmos-sp__table-row-favorite .cosmos-sp__table-value {
    text-align: center;
}

.cosmos-sp__similar-wish-btn {
    background-color: transparent !important;
    border: none;
    font-size: 20px;
    color: #666;
    cursor: pointer;
    transition: color 0.3s;
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 0 auto;
    padding: 0;
    outline: none;
}

.cosmos-sp__similar-wish-btn:hover {
    color: #111;
}

.cosmos-sp__similar-wish-btn.cosmos-wishlist--active {
    color: #e11d48;
}

/* QnA Tools Layout Fix */
.cosmos-sp__qna-tools {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 16px;
}

.cosmos-sp__qna-search-btn,
.cosmos-sp__qna-sort-btn {
    background: transparent !important;
    border: none !important;
    font-size: 14px;
    font-weight: 700;
    color: #111;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 0;
    outline: none;
}

/* WooCommerce Review Stars Selection Fix */
p.stars {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 4px;
    font-size: 18px;
    margin-bottom: 12px;
}

p.stars a {
    color: #d1d5db !important;
    text-decoration: none;
    display: inline-block;
    width: 24px;
    height: 24px;
    position: relative;
    text-indent: -9999px;
}

p.stars a::before {
    content: "☆";
    position: absolute;
    inset: 0;
    text-indent: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: Arial, sans-serif;
    font-size: 22px;
    line-height: 1;
}

p.stars a:hover::before,
p.stars a:hover~a::before,
p.stars a.active::before,
p.stars a.active~a::before,
p.stars.selected a.active::before,
p.stars.selected a.active~a::before {
    content: "★";
    color: #fcc419;
}

/* About Product Redesign */
.cosmos-sp__brand-rep {
    margin-top: 80px;
    padding-top: 40px;
    border-top: 1px solid #eee;
    border-bottom: none;
}

.cosmos-sp__section-title {
    font-size: 24px;
    font-weight: 800;
    color: #111;
    margin-bottom: 30px;
    letter-spacing: -0.01em;
}

.cosmos-sp__brand-rep-grid {
    display: flex;
    gap: 60px;
    align-items: flex-start;
    flex-wrap: nowrap;
}

.cosmos-sp__brand-rep-left {
    width: 160px;
    flex-shrink: 0;
}

.cosmos-sp__brand-rep-name {
    font-size: 14px;
    font-weight: 800;
    color: #3b82f6 !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
    text-decoration: none !important;
}

.cosmos-sp__brand-rep-badge {
    display: inline-block;
    background: #111 !important;
    color: #fff !important;
    font-size: 9px !important;
    font-weight: 800 !important;
    padding: 4px 8px !important;
    border-radius: 4px !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase;
    white-space: nowrap;
    margin-top: 4px;
}

.cosmos-sp__brand-rep-right {
    flex: 1;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    padding-top: 4px;
}

.cosmos-sp__chat-speaker {
    font-weight: 800;
    color: #111;
    text-transform: uppercase;
    margin-right: 4px;
}

.cosmos-sp__chat-line {
    margin-bottom: 12px;
    display: flex;
    align-items: baseline;
    gap: 6px;
}

@media (max-width: 768px) {
    .cosmos-sp__brand-rep-grid {
        flex-direction: column;
        gap: 20px;
    }
}

/* ══════════════════════════════════════════════
   Header Cart & Wishlist Icons — Sephora Style
   ══════════════════════════════════════════════ */

/* Icon buttons in header actions */
.bs-action-wishlist,
.bs-action-cart {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    padding: 6px;
    cursor: pointer;
    color: #1a1a1a;
    transition: color 0.2s ease, transform 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.bs-action-wishlist:hover,
.bs-action-cart:hover {
    color: var(--cosmos-primary, #e45366);
    transform: scale(1.08);
}

.bs-action-wishlist:active,
.bs-action-cart:active {
    transform: scale(0.95);
}

.bs-action-icon-svg {
    display: block;
    flex-shrink: 0;
}

/* Badge counters on header icons */
.cosmos-header-badge {
    position: absolute;
    top: -3px;
    right: -6px;
    background: var(--bs-red-badge);
    color: #fff;
    font-family: 'Outfit', system-ui, sans-serif;
    font-size: 9px;
    font-weight: 800;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    border: 2px solid #fff;
    pointer-events: none;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cosmos-header-badge.hidden {
    display: none;
}

.cosmos-header-badge.pop-anim {
    animation: cosmos-badge-pop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes cosmos-badge-pop {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.4);
    }

    100% {
        transform: scale(1);
    }
}

/* Tab badge in mobile popup tabs */
.cosmos-tab-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #1a1a1a;
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 8px;
    margin-left: 4px;
    line-height: 1;
}

.cosmos-tab-badge.hidden {
    display: none;
}

/* Mobile popup tab styling enhancements */
.cosmos-mobile-popup__tab {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
}

.cosmos-mobile-popup__tab svg {
    flex-shrink: 0;
}

/* Mobile: hide text labels on action buttons, keep icons compact */
@media (max-width: 768px) {

    .bs-action-wishlist,
    .bs-action-cart {
        padding: 4px;
    }

    .bs-action-wishlist svg,
    .bs-action-cart svg {
        width: 20px;
        height: 20px;
    }

    .cosmos-header-badge {
        top: -2px;
        right: -5px;
        min-width: 15px;
        height: 15px;
        font-size: 8px;
        border-width: 1.5px;
    }

    /* Hide user action in scrolled state but keep cart/wishlist */
    #cosmos-header-wrapper.scrolled .bs-action-wishlist,
    #cosmos-header-wrapper.scrolled .bs-action-cart {
        display: inline-flex;
    }
}

/* Desktop scrolled: slightly smaller icons */
@media (min-width: 769px) {

    #cosmos-header-wrapper.scrolled .bs-action-wishlist svg,
    #cosmos-header-wrapper.scrolled .bs-action-cart svg {
        width: 20px;
        height: 20px;
    }
}/* ==========================================================================
   MOCKUP ALIGNMENT OVERRIDES (Header, Gallery Dots, Rating Pill, Cart Pill)
   ========================================================================== */



/* 2. Breadcrumbs layout */
.cosmos-sp-breadcrumbs {
    max-width: 1280px;
    margin: 0 auto;
    padding: 16px 20px 8px !important;
}
.cosmos-sp-breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.cosmos-sp-breadcrumbs li {
    font-size: 11px;
    font-weight: 500;
    text-transform: capitalize;
    color: #666;
    letter-spacing: normal;
}
.cosmos-sp-breadcrumbs a {
    color: #666;
    text-decoration: none;
    transition: color 0.2s;
}
.cosmos-sp-breadcrumbs a:hover {
    color: #000;
}
.cosmos-sp-breadcrumbs span {
    color: #aaa;
    margin: 0 2px;
    font-size: 12px;
}

/* 3. Ratings & Loves Gray Pill Container */
.cosmos-sp__rating-badge-pill {
    background: #f3f4f6 !important;
    border-radius: 6px !important;
    padding: 4px 10px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 12px !important;
    color: #000 !important;
    font-weight: 600 !important;
}
.cosmos-sp__rating-badge-pill .cosmos-sp__stars {
    display: inline-flex !important;
    gap: 2px !important;
}
.cosmos-sp__rating-badge-pill .cosmos-sp__stars i {
    font-size: 11px !important;
}
.cosmos-sp__rating-badge-pill .cosmos-sp__stars i.cosmos-sp__star--filled,
.cosmos-sp__rating-badge-pill .cosmos-sp__stars i.cosmos-sp__star--half {
    color: #000 !important;
}
.cosmos-sp__rating-badge-pill .cosmos-sp__stars i.cosmos-sp__star--empty {
    color: #d1d5db !important;
}
.cosmos-sp__rating-badge-pill .cosmos-sp__rating-count {
    color: #000 !important;
    font-weight: 600 !important;
    font-size: 12px !important;
}
.cosmos-sp__rating-badge-pill .cosmos-sp__rating-divider {
    color: #d1d5db !important;
    margin: 0 4px !important;
}
.cosmos-sp__rating-badge-pill .cosmos-sp__love-count {
    color: #000 !important;
    font-weight: 600 !important;
    font-size: 12px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
}
.cosmos-sp__rating-badge-pill .cosmos-sp__love-count i {
    color: #000 !important;
}

/* 4. Gallery Carousel Dots */
.cosmos-sp__main-img-wrap {
    position: relative;
}
.cosmos-sp__gallery-dots {
    position: absolute;
    top: 16px;
    right: 16px;
    display: flex;
    gap: 6px;
    z-index: 15;
    background: transparent;
    padding: 4px 8px;
    border-radius: 12px;
}
.cosmos-sp__gallery-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d1d5db;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.2s ease;
}
.cosmos-sp__gallery-dot.is-active {
    background: #4b5563;
    transform: scale(1.1);
}

/* 5. Unified Red Add to Cart Pill Button */
.cosmos-sp__actions-sephora {
    display: flex !important;
    gap: 16px !important;
    align-items: center !important;
    margin-top: 24px !important;
    width: 100% !important;
}
.cosmos-sp__cart-group {
    display: inline-flex !important;
    align-items: stretch !important;
    background: #c5192d !important;
    border-radius: 30px !important;
    padding: 0 !important;
    height: 52px !important;
    box-sizing: border-box !important;
    flex: 1 !important;
    overflow: hidden !important;
    width: 100% !important;
}
.cosmos-sp__qty-wrap-sephora {
    background: #a31525 !important;
    border-radius: 0 !important;
    height: 100% !important;
    width: 65px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 12px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    border-right: 1.5px solid rgba(255, 255, 255, 0.3) !important;
    overflow: hidden !important;
    flex-shrink: 0 !important;
}
[dir="rtl"] .cosmos-sp__qty-wrap-sephora {
    border-right: none !important;
    border-left: 1.5px solid rgba(255, 255, 255, 0.3) !important;
}
.cosmos-sp__qty-select-sephora {
    background-color: transparent !important;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 6px center !important;
    background-size: 12px !important;
    padding-right: 20px !important;
    padding-left: 10px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    color: #fff !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    border: none !important;
    border-radius: 0 !important;
    outline: none !important;
    cursor: pointer !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    width: 100% !important;
    height: 100% !important;
    line-height: 52px !important;
    margin: 0 !important;
    box-shadow: none !important;
    text-align: center !important;
    text-align-last: center !important;
}
.cosmos-sp__qty-select-sephora:focus,
.cosmos-sp__qty-select-sephora:active,
.cosmos-sp__qty-select-sephora:hover {
    background-color: transparent !important;
    color: #fff !important;
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
}
.cosmos-sp__qty-select-sephora option {
    background-color: #fff !important;
    color: #000 !important;
}
.cosmos-sp__cart-btn {
    flex: 1 !important;
    background: transparent !important;
    color: #fff !important;
    border: none !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    padding: 0 !important;
    text-align: center !important;
    line-height: 1.2 !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    box-sizing: border-box !important;
}
.cosmos-sp__cart-btn small {
    display: block !important;
    font-size: 11px !important;
    font-weight: 400 !important;
    opacity: 0.9 !important;
    margin-top: 2px !important;
}
@media (max-width: 767px) {
    .cosmos-sp__wish-btn {
        display: none !important;
    }
}

/* 6. Refined Font Sizes, Brand & Title Weights */
.cosmos-sp__summary {
    width: 100%;
    padding: 20px 16px 0;
    box-sizing: border-box;
}
@media (min-width: 768px) {
    .cosmos-sp__summary {
        padding: 0;
    }
}

.cosmos-sp__brand {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #000 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    margin-bottom: 4px !important;
    display: block !important;
}

.cosmos-sp__title {
    font-size: 19px !important;
    font-weight: 700 !important;
    color: #000 !important;
    line-height: 1.25 !important;
    margin: 0 0 10px !important;
    letter-spacing: -0.01em !important;
}

.cosmos-sp__price {
    font-size: 19px !important;
    font-weight: 700 !important;
    color: #000 !important;
    margin-bottom: 4px !important;
}

/* Text-based PROMO styling */
.cosmos-sp__promo-line {
    font-size: 13px !important;
    margin-bottom: 16px !important;
}

.cosmos-sp__promo-badge {
    background: transparent !important;
    color: #000 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    padding: 0 !important;
    letter-spacing: normal !important;
    text-transform: uppercase !important;
    margin-right: 6px !important;
}

.cosmos-sp__promo-savings {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #c8102e !important;
}

/* 7. Gallery Mobile Horizontal thumbnails positioning */
@media (max-width: 767px) {
    .cosmos-sp__gallery {
        flex-direction: row !important;
        gap: 14px !important;
        padding: 0 16px !important;
        margin-bottom: 20px !important;
    }
    .cosmos-sp__thumbs {
        display: flex !important;
        flex-direction: column !important;
        width: 48px !important;
        gap: 8px !important;
        flex-shrink: 0 !important;
    }
    .cosmos-sp__thumb {
        width: 48px !important;
        height: 58px !important;
        border-radius: 6px !important;
        overflow: hidden !important;
        border: 1px solid #ddd !important;
        padding: 0 !important;
        opacity: 0.6 !important;
        background: #fff !important;
    }
    .cosmos-sp__thumb.is-active {
        border-color: #000 !important;
        border-width: 1.5px !important;
        opacity: 1 !important;
    }
    .cosmos-sp__thumbs-mob {
        display: none !important;
    }
    .cosmos-sp__main-img-wrap {
        flex: 1 !important;
        aspect-ratio: 1 !important;
    }
}

/* 8. Gallery Navigation Arrows Overrides */
.cosmos-sp__arrow {
    background: rgba(0, 0, 0, 0.45) !important;
    border: none !important;
    color: #fff !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
}
.cosmos-sp__arrow:hover {
    background: rgba(0, 0, 0, 0.65) !important;
    color: #fff !important;
    border: none !important;
    box-shadow: none !important;
}

/* 9. Product Card - Hide Out Of Stock (Rupture De Stock) banner */
.cosmos-oos-band {
    display: none !important;
}

/* 10. Out of stock (not available) button greyed styling */
.cosmos-sp__cart-btn--disabled {
    background-color: #e5e7eb !important;
    color: #6b7280 !important;
    border: 1px solid #d1d5db !important;
    cursor: not-allowed !important;
    border-radius: 30px !important;
    height: 52px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    flex: 1 !important;
    pointer-events: none !important;
    box-sizing: border-box !important;
    text-transform: none !important;
    letter-spacing: normal !important;
}

/* 11. Mobile Header - Show badge notification counts */
@media (max-width: 767px) {
    .bs-action-item span.cosmos-header-badge {
        display: flex !important;
    }
}

/* 12. Similar Products Carousel Navigation Arrows and styles */
.cosmos-sp__similar {
    overflow: visible !important;
}

@media (max-width: 1100px) {
    .cosmos-sp__similar .bs-trends-nav {
        display: flex !important;
    }
}
@media (max-width: 767px) {
    .cosmos-sp__similar .bs-trends-nav {
        top: 25% !important; /* adjust center on mobile card image */
    }
    .cosmos-sp__similar .bs-trends-nav--prev {
        left: 5px !important;
    }
    .cosmos-sp__similar .bs-trends-nav--next {
        right: 5px !important;
    }
}

/* Desktop Sticky Header */
@media (min-width: 768px) {
    #cosmos-header-wrapper {
        position: sticky !important;
        top: 0 !important;
        z-index: 2000 !important;
        background: #ffffff !important;
        transition: transform 0.4s ease, top 0.3s ease, box-shadow 0.3s ease !important;
    }

    body.admin-bar #cosmos-header-wrapper {
        top: 32px !important;
    }

    #cosmos-header-wrapper.scrolled {
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
        border-bottom: none !important;
    }

    #cosmos-header-wrapper.scrolled .bs-nav-bar {
        border-bottom: none !important;
    }

    /* Hide the top bar on scroll to save screen space */
    #cosmos-header-wrapper.scrolled .bs-top-bar {
        max-height: 0 !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }
}
