/**
 * IN FASHION LUX - Header Navigation Styles
 * Louis Vuitton inspired mega menu
 */

/* ========================================
   CSS Variables
   ======================================== */
:root {
    --ifl-header-height: 80px;
    --ifl-header-padding: 30px;
    --ifl-mega-menu-width: 400px;
    --ifl-transition-fast: 0.2s ease;
    --ifl-transition-medium: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --ifl-transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --ifl-header-bg: #ffffff;
    --ifl-header-text: #1a1a1a;
    --ifl-header-accent: #c8a45c;
    /* Soft grey for hover/active states - NO PINK */
    --ifl-hover-bg: rgba(0, 0, 0, 0.05);
    --ifl-active-bg: rgba(0, 0, 0, 0.08);
}

/* ========================================
   Note: All Storefront/WooCommerce overrides
   are now in design-system.css
   ======================================== */

/* ========================================
   Header Base - Louis Vuitton Style
   Transparent by default, white on scroll
   ======================================== */
.ifl-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    height: var(--ifl-header-height);
    background-color: transparent;
    box-shadow: none;
    transition: transform var(--ifl-transition-medium),
        background-color var(--ifl-transition-medium),
        box-shadow var(--ifl-transition-medium);
}

.ifl-header.is-hidden {
    transform: translateY(-100%);
}

/* ========================================
   Header Style Variations (Customizer)
   ======================================== */

/* Solid header: white background */
.ifl-header-solid .ifl-header {
    background-color: #fff !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* Remove light mode on solid header (let it use default dark text) */
.ifl-header-solid .ifl-header.ifl-header--light {
    background-color: #fff !important;
}

/* Transparent header (homepage) */
.ifl-header-transparent .ifl-header {
    background-color: transparent !important;
    box-shadow: none;
}

/* Override: On scroll, show white background even on transparent homepage */
.ifl-header-transparent .ifl-header.is-scrolled {
    background-color: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08) !important;
}

/* Override: On hover, show white background even on transparent homepage */
.ifl-header-transparent .ifl-header:hover {
    background-color: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08) !important;
}

/* On scroll: white background with subtle shadow */
.ifl-header.is-scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* On hover: white background (Louis Vuitton style) */
.ifl-header:hover {
    background-color: rgba(255, 255, 255, 0.98);
}

/* When scrolled, keep white on hover */
.ifl-header.is-scrolled:hover {
    background-color: rgba(255, 255, 255, 0.98);
}

.ifl-header__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: 100%;
    padding: 0 var(--ifl-header-padding);
}

/* ========================================
   Header Sections
   ======================================== */
.ifl-header__left,
.ifl-header__right {
    display: flex;
    align-items: center;
    gap: 24px;
    flex: 1;
}

.ifl-header__right {
    justify-content: flex-end;
}

.ifl-header__center {
    flex: 0 0 auto;
    text-align: center;
}

/* ========================================
   Dark Theme (on hero)
   ======================================== */
.ifl-header--dark {
    color: #fff;
    background-color: transparent;
    box-shadow: none;
}

.ifl-header--dark .ifl-header__link,
.ifl-header--dark .ifl-header__menu-toggle,
.ifl-header--dark .ifl-header__search-toggle {
    color: #fff;
}

.ifl-header--dark .ifl-header__logo-text {
    color: #fff;
}

.ifl-header--dark.is-scrolled {
    color: #1a1a1a;
}

.ifl-header--dark.is-scrolled .ifl-header__link,
.ifl-header--dark.is-scrolled .ifl-header__menu-toggle,
.ifl-header--dark.is-scrolled .ifl-header__search-toggle {
    color: #1a1a1a;
}

.ifl-header--dark.is-scrolled .ifl-header__logo-text {
    color: #1a1a1a;
}

/* ========================================
   Header Light Style (Transparent + White Elements)
   Used only on homepage when transparent mode enabled
   ======================================== */
.ifl-header--light {
    color: var(--ifl-header-transparent-text, #fff);
    background-color: transparent;
    box-shadow: none;
}

/* Default: white text/icons on transparent background */
.ifl-header--light .ifl-header__menu-toggle,
.ifl-header--light .ifl-header__menu-text,
.ifl-header--light .ifl-header__search-toggle,
.ifl-header--light .ifl-header__search-text,
.ifl-header--light .ifl-header__link,
.ifl-header--light .ifl-header__logo-text,
.ifl-header--light .ifl-header__contact,
.ifl-header--light .ifl-header__wishlist,
.ifl-header--light .ifl-header__account-toggle,
.ifl-header--light .ifl-header__cart-toggle {
    color: var(--ifl-header-transparent-text, #fff);
}

.ifl-header--light .ifl-header__menu-icon span {
    background-color: var(--ifl-header-transparent-text, #fff);
}

.ifl-header--light .ifl-header__logo-img {
    filter: brightness(0) invert(1);
}

/* Logo size reduction */
.ifl-header__logo-img {
    max-height: 50px !important;
    width: auto !important;
}

/* ========================================
   Header Dark Style (White BG + Black Elements)
   Used on all pages except transparent homepage
   ======================================== */
.ifl-header--dark {
    background-color: #ffffff !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05) !important;
    color: var(--ifl-header-pages-text, #1a1a1a);
}

/* All text elements: use Customizer color */
.ifl-header--dark .ifl-header__menu-toggle,
.ifl-header--dark .ifl-header__menu-text,
.ifl-header--dark .ifl-header__search-toggle,
.ifl-header--dark .ifl-header__search-text,
.ifl-header--dark .ifl-header__link,
.ifl-header--dark .ifl-header__logo-text,
.ifl-header--dark .ifl-header__contact,
.ifl-header--dark .ifl-header__wishlist,
.ifl-header--dark .ifl-header__account-toggle,
.ifl-header--dark .ifl-header__cart-toggle {
    color: var(--ifl-header-pages-text, #1a1a1a) !important;
}

/* Hamburger icon: match text color */
.ifl-header--dark .ifl-header__menu-icon span {
    background-color: var(--ifl-header-pages-text, #1a1a1a) !important;
}

/* Logo: NO filter (show original dark logo) */
.ifl-header--dark .ifl-header__logo-img {
    filter: none !important;
}

/* SVG icons: match text color */
.ifl-header--dark svg {
    stroke: var(--ifl-header-pages-text, #1a1a1a) !important;
}

/* Search input: match text color */
.ifl-header--dark .ifl-header__search-input {
    color: var(--ifl-header-pages-text, #1a1a1a) !important;
}

/* Hover state: use hover color + subtle background */
.ifl-header--dark .ifl-header__menu-toggle:hover,
.ifl-header--dark .ifl-header__link:hover,
.ifl-header--dark .ifl-header__contact:hover,
.ifl-header--dark .ifl-header__wishlist:hover,
.ifl-header--dark .ifl-header__account-toggle:hover,
.ifl-header--dark .ifl-header__cart-toggle:hover {
    color: var(--ifl-header-pages-hover, #1a1a1a) !important;
    background-color: rgba(0, 0, 0, 0.05) !important;
}

.ifl-header--dark .ifl-header__link:hover svg {
    stroke: var(--ifl-header-pages-hover, #1a1a1a) !important;
}

/* ========================================
   Header Light Style (Transparent + White Elements)
   Used only on homepage when transparent mode enabled
   ======================================== */

/* On hover: white background + dark text */
.ifl-header--light:hover {
    background-color: rgba(255, 255, 255, 0.98);
    color: #1a1a1a;
}

.ifl-header--light:hover .ifl-header__menu-toggle,
.ifl-header--light:hover .ifl-header__menu-text,
.ifl-header--light:hover .ifl-header__search-toggle,
.ifl-header--light:hover .ifl-header__search-text,
.ifl-header--light:hover .ifl-header__link,
.ifl-header--light:hover .ifl-header__logo-text,
.ifl-header--light:hover .ifl-header__contact,
.ifl-header--light:hover .ifl-header__wishlist,
.ifl-header--light:hover .ifl-header__account-toggle,
.ifl-header--light:hover .ifl-header__cart-toggle {
    color: #1a1a1a;
}

.ifl-header--light:hover .ifl-header__menu-icon span {
    background-color: #1a1a1a;
}

.ifl-header--light:hover .ifl-header__logo-img {
    filter: none;
}

/* On scroll: white background + dark text */
.ifl-header--light.is-scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    color: #1a1a1a;
}

.ifl-header--light.is-scrolled .ifl-header__menu-toggle,
.ifl-header--light.is-scrolled .ifl-header__menu-text,
.ifl-header--light.is-scrolled .ifl-header__search-toggle,
.ifl-header--light.is-scrolled .ifl-header__search-text,
.ifl-header--light.is-scrolled .ifl-header__link,
.ifl-header--light.is-scrolled .ifl-header__logo-text,
.ifl-header--light.is-scrolled .ifl-header__contact,
.ifl-header--light.is-scrolled .ifl-header__wishlist,
.ifl-header--light.is-scrolled .ifl-header__account-toggle,
.ifl-header--light.is-scrolled .ifl-header__cart-toggle {
    color: #1a1a1a;
}

.ifl-header--light.is-scrolled .ifl-header__menu-icon span {
    background-color: #1a1a1a;
}

.ifl-header--light.is-scrolled .ifl-header__logo-img {
    filter: none;
}

/* ========================================
   Menu Toggle (Hamburger)
   ======================================== */
.ifl-header__menu-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: background-color var(--ifl-transition-fast);
    border-radius: 4px;
}

.ifl-header__menu-toggle:hover {
    background-color: rgba(255, 255, 255, 0.15) !important;
}

/* Dark header (white bg) or scrolled/hovered light header: dark hover bg */
.ifl-header--dark .ifl-header__menu-toggle:hover,
.ifl-header--dark.is-scrolled .ifl-header__menu-toggle:hover,
.ifl-header--light.is-scrolled .ifl-header__menu-toggle:hover,
.ifl-header--light:hover .ifl-header__menu-toggle:hover,
.ifl-header.is-scrolled .ifl-header__menu-toggle:hover,
.ifl-header:hover .ifl-header__menu-toggle:hover {
    background-color: rgba(0, 0, 0, 0.05) !important;
}

.ifl-header__menu-icon {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 20px;
    height: 16px;
}

.ifl-header__menu-icon span {
    display: block;
    height: 1.5px;
    background-color: currentColor;
    transition: transform var(--ifl-transition-fast), opacity var(--ifl-transition-fast);
}

/* Hamburger to X animation */
.ifl-header__menu-toggle.is-active .ifl-header__menu-icon span:nth-child(1) {
    transform: translateY(5.5px) rotate(45deg);
}

.ifl-header__menu-toggle.is-active .ifl-header__menu-icon span:nth-child(2) {
    opacity: 0;
}

.ifl-header__menu-toggle.is-active .ifl-header__menu-icon span:nth-child(3) {
    transform: translateY(-5.5px) rotate(-45deg);
}

/* Active state: soft grey background (neutral, not pink) */
.ifl-header__menu-toggle.is-active {
    background-color: rgba(0, 0, 0, 0.05) !important;
    color: #1a1a1a !important;
}

.ifl-header__menu-toggle.is-active .ifl-header__menu-icon span {
    background-color: #1a1a1a !important;
}

/* Hover on active: slightly darker grey */
.ifl-header__menu-toggle.is-active:hover {
    background-color: rgba(0, 0, 0, 0.08) !important;
}

/* ========================================
   Search
   ======================================== */
.ifl-header__search {
    position: relative;
    display: flex;
    align-items: center;
}

.ifl-header__search-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: transparent;
    border: none;
    cursor: pointer;
    color: inherit;
    font-family: inherit;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.5px;
    transition: background-color var(--ifl-transition-fast);
    border-radius: 4px;
}

.ifl-header__search-toggle:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.ifl-header--dark .ifl-header__search-toggle:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.ifl-header--dark.is-scrolled .ifl-header__search-toggle:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.ifl-header__search-text {
    display: none;
}

@media (min-width: 768px) {
    .ifl-header__search-text {
        display: inline;
    }
}

.ifl-header__search-form {
    position: absolute;
    left: 40px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    opacity: 0;
    overflow: hidden;
    transition: width var(--ifl-transition-medium), opacity var(--ifl-transition-medium);
}

.ifl-header__search.is-active .ifl-header__search-form {
    width: 220px;
    opacity: 1;
}

.ifl-header__search-input {
    width: 100%;
    padding: 8px 12px;
    border: none;
    border-bottom: 1px solid currentColor;
    background: #ffffff !important;
    /* Force white background for visibility */
    font-family: inherit;
    font-size: 14px;
    color: #000000 !important;
    /* Force black text */
    outline: none;
}

.ifl-header__search-input::placeholder {
    color: inherit;
    opacity: 0.6;
}

.ifl-header__search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 8px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    max-height: 400px;
    overflow-y: auto;
    display: none;
    color: #1a1a1a;
}

.ifl-header__search-results.has-results {
    display: block;
}

.ifl-search-result {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-bottom: 1px solid #f0f0f0;
    text-decoration: none;
    color: inherit;
    transition: background-color var(--ifl-transition-fast);
}

.ifl-search-result:hover {
    background-color: #f8f8f8;
}

.ifl-search-result:last-child {
    border-bottom: none;
}

.ifl-search-result__image {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 4px;
    background: #f0f0f0;
}

.ifl-search-result__info {
    flex: 1;
}

.ifl-search-result__title {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 4px;
}

.ifl-search-result__price {
    font-size: 13px;
    color: #666;
}

/* ========================================
   Search Overlay (Premium / LV Style)
   ======================================== */
.ifl-search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #ffffff;
    z-index: 99999;
    /* Highest priority */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    /* Align top for better mobile UX */
    padding-top: 120px;
    /* Space from top */
}

.ifl-search-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.ifl-search-container {
    width: 100%;
    max-width: 900px;
    padding: 0 40px;
    position: relative;
    text-align: center;
    animation: iflSlideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
    transform: translateY(20px);
}

.ifl-search-overlay.is-open .ifl-search-container {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.1s;
}

@keyframes iflSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Close Button */
.ifl-search-close-btn {
    position: absolute;
    top: 40px;
    right: 40px;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #1a1a1a;
    transition: opacity 0.3s ease;
    z-index: 100000;
}

.ifl-search-close-btn:hover {
    opacity: 0.6;
}

.ifl-close-label {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* Input Wrapper */
.ifl-search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 15px;
    margin-bottom: 40px;
    transition: border-color 0.3s ease;
}

.ifl-search-input-wrapper:focus-within {
    border-color: #1a1a1a;
}

.ifl-search-icon-large {
    color: #999;
    margin-right: 15px;
}

.ifl-search-input-large {
    width: 100%;
    border: none;
    font-size: 24px;
    font-weight: 300;
    outline: none;
    font-family: inherit;
    color: #1a1a1a;
    background: transparent;
    padding: 0;
    /* Remove browser defaults */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    /* Standard property for compatibility */
}

.ifl-search-input-large::placeholder {
    color: #b0b0b0;
    font-weight: 300;
}

.ifl-search-submit-hidden {
    position: absolute;
    left: -9999px;
}

/* Suggestions */
.ifl-search-suggestions {
    margin-top: 20px;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.ifl-search-suggestions h4 {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #999;
    margin-bottom: 25px;
    font-weight: 500;
}

.ifl-search-tags {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.ifl-search-tags a {
    text-decoration: none;
    color: #1a1a1a;
    font-size: 14px;
    padding: 8px 20px;
    background: #f7f7f7;
    border-radius: 30px;
    transition: all 0.2s ease;
}

.ifl-search-tags a:hover {
    background: #1a1a1a;
    color: #fff;
    transform: translateY(-2px);
}

/* Dynamic Results */
.ifl-search-results-dynamic {
    margin-top: 40px;
    text-align: left;
    max-height: 60vh;
    overflow-y: auto;
    /* Custom Scrollbar */
    scrollbar-width: thin;
    scrollbar-color: #e0e0e0 transparent;
}

.ifl-search-results-dynamic::-webkit-scrollbar {
    width: 6px;
}

.ifl-search-results-dynamic::-webkit-scrollbar-thumb {
    background-color: #e0e0e0;
    border-radius: 3px;
}

.ifl-search-result {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    border-bottom: 1px solid #f5f5f5;
    text-decoration: none;
    color: inherit;
    transition: background-color 0.2s;
}

.ifl-search-result:hover {
    background-color: #fafafa;
}

.ifl-search-result__image {
    width: 70px;
    height: 70px;
    object-fit: cover;
    background: #f0f0f0;
}

.ifl-search-result__info {
    flex: 1;
}

.ifl-search-result__title {
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 5px;
    color: #1a1a1a;
}

.ifl-search-result__price {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.ifl-search-no-results {
    text-align: center;
    color: #666;
    margin-top: 30px;
    font-style: italic;
}



/* ========================================
   Logo
   ======================================== */
.ifl-header__logo {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.ifl-header__logo-img {
    height: 45px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
}

.ifl-header__logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--ifl-header-text);
}

.ifl-header--dark .ifl-header__logo-img {
    filter: brightness(0) invert(1);
}

.ifl-header--dark.is-scrolled .ifl-header__logo-img {
    filter: none;
}

/* ========================================
   Header Links (Right Section)
   ======================================== */
.ifl-header__link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: transparent;
    border: none;
    cursor: pointer;
    color: inherit;
    text-decoration: none;
    font-family: inherit;
    font-size: 13px;
    transition: background-color var(--ifl-transition-fast);
    border-radius: 4px;
}

/* Default hover: light background for transparent header */
.ifl-header__link:hover {
    background-color: rgba(255, 255, 255, 0.15) !important;
}

/* Dark header (white bg) or scrolled/hovered light header: dark hover bg */
.ifl-header--dark .ifl-header__link:hover,
.ifl-header--dark.is-scrolled .ifl-header__link:hover,
.ifl-header--light.is-scrolled .ifl-header__link:hover,
.ifl-header--light:hover .ifl-header__link:hover,
.ifl-header.is-scrolled .ifl-header__link:hover,
.ifl-header:hover .ifl-header__link:hover {
    background-color: rgba(0, 0, 0, 0.05) !important;
}

/* ========================================
   FIX: Prevent white SVG icons on hover
   Keep icons visible with opacity effect
   ======================================== */
.ifl-header__link:hover svg,
.ifl-header__wishlist:hover svg,
.ifl-header__account-toggle:hover svg,
.ifl-header__cart-toggle:hover svg,
.ifl-header__link.ifl-header__cart-toggle:hover svg {
    opacity: 0.6 !important;
    stroke: currentColor !important;
}

/* When header is scrolled/hovered (white bg), icons must stay dark */
.ifl-header:hover .ifl-header__link svg,
.ifl-header.is-scrolled .ifl-header__link svg,
.ifl-header--light:hover .ifl-header__link svg,
.ifl-header--light.is-scrolled .ifl-header__link svg {
    stroke: #1a1a1a !important;
    color: #1a1a1a !important;
}

/* Hover state on scrolled/light header - opacity effect */
.ifl-header:hover .ifl-header__link:hover svg,
.ifl-header.is-scrolled .ifl-header__link:hover svg,
.ifl-header--light:hover .ifl-header__link:hover svg,
.ifl-header--light.is-scrolled .ifl-header__link:hover svg {
    opacity: 0.6 !important;
    stroke: #1a1a1a !important;
}

.ifl-header__link-text {
    display: none;
}

@media (min-width: 1024px) {
    .ifl-header__contact .ifl-header__link-text {
        display: inline;
    }
}

/* Wishlist & Cart Counts */
.ifl-header__wishlist,
.ifl-header__account-toggle,
.ifl-header__cart-toggle {
    position: relative;
    transition: opacity var(--ifl-transition-fast, 0.15s ease);
}

/* LV Style: Opacity hover for header icons */
.ifl-header__wishlist:hover,
.ifl-header__account-toggle:hover,
.ifl-header__cart-toggle:hover {
    opacity: 0.6 !important;
}

.ifl-header__wishlist-count,
.ifl-header__cart-count {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    background: #c8a45c;
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    line-height: 16px;
    text-align: center;
    border-radius: 8px;
    transform: translate(50%, -30%);
    opacity: 0;
    transition: opacity var(--ifl-transition-fast);
}

.ifl-header__wishlist-count.has-items,
.ifl-header__cart-count.has-items {
    opacity: 1;
}

/* ========================================
   Account Dropdown
   ======================================== */
.ifl-header__account {
    position: relative;
}

.ifl-header__account-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    min-width: 200px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--ifl-transition-fast);
    color: #1a1a1a;
}

.ifl-header__account.is-open .ifl-header__account-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.ifl-header__account-dropdown a {
    display: block;
    padding: 12px 20px;
    color: inherit;
    text-decoration: none;
    font-size: 14px;
    transition: background-color var(--ifl-transition-fast);
}

.ifl-header__account-dropdown a:hover {
    background-color: #f8f8f8;
}

.ifl-header__account-dropdown hr {
    border: none;
    border-top: 1px solid #f0f0f0;
    margin: 8px 0;
}

/* ========================================
   Mini Cart Dropdown
   ======================================== */
.ifl-header__cart {
    position: relative;
}

.ifl-header__mini-cart {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    width: 340px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--ifl-transition-fast);
    color: #1a1a1a;
}

.ifl-header__cart.is-open .ifl-header__mini-cart {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.ifl-mini-cart__items {
    max-height: 280px;
    overflow-y: auto;
    margin-bottom: 16px;
}

.ifl-mini-cart__item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.ifl-mini-cart__item:last-child {
    border-bottom: none;
}

.ifl-mini-cart__item-image {
    flex: 0 0 60px;
}

.ifl-mini-cart__item-image img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}

.ifl-mini-cart__item-details {
    flex: 1;
}

.ifl-mini-cart__item-title {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #1a1a1a;
    text-decoration: none;
    margin-bottom: 4px;
}

.ifl-mini-cart__item-title:hover {
    color: #c8a45c;
}

.ifl-mini-cart__item-qty {
    font-size: 13px;
    color: #666;
}

.ifl-mini-cart__total {
    display: flex;
    justify-content: space-between;
    padding: 16px 0;
    border-top: 1px solid #f0f0f0;
    font-size: 16px;
    font-weight: 600;
}

.ifl-mini-cart__actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ifl-mini-cart__actions .ifl-btn {
    width: 100%;
    justify-content: center;
}

.ifl-mini-cart__empty {
    text-align: center;
    padding: 30px 20px;
    color: #999;
}

.ifl-mini-cart__empty svg {
    margin-bottom: 12px;
    opacity: 0.5;
}

.ifl-mini-cart__empty p {
    font-size: 14px;
    margin: 0;
}

/* ========================================
   Mega Menu
   ======================================== */
.ifl-mega-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9998;
    pointer-events: none;
}

.ifl-mega-menu.is-open {
    pointer-events: auto;
}

.ifl-mega-menu__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: opacity var(--ifl-transition-medium);
}

.ifl-mega-menu.is-open .ifl-mega-menu__overlay {
    opacity: 1;
}

.ifl-mega-menu__panel {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    max-width: 900px;
    background: #fff;
    transform: translateX(-100%);
    transition: transform var(--ifl-transition-medium);
    display: flex;
    flex-direction: column;
}

.ifl-mega-menu.is-open .ifl-mega-menu__panel {
    transform: translateX(0);
}

/* Close Button - Louis Vuitton Style "X Fermer" */
.ifl-mega-menu__close {
    display: flex;
    align-items: center;
    gap: var(--ifl-space-3, 12px);
    padding: var(--ifl-space-5, 20px) var(--ifl-space-6, 24px);
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--ifl-border-light, #ebebeb);
    cursor: pointer;
    font-family: var(--ifl-font-primary, "Helvetica Neue", Helvetica, Arial, sans-serif);
    font-size: var(--ifl-text-base, 12px);
    /* LV close button size */
    font-weight: var(--ifl-weight-normal, 400);
    letter-spacing: var(--ifl-tracking-wide, 0.5px);
    color: var(--ifl-dark, #1a1a1a);
    text-transform: none;
    /* "Fermer" not uppercase */
    transition: opacity var(--ifl-transition-fast, 0.15s ease);
}

.ifl-mega-menu__close svg {
    width: 14px;
    height: 14px;
    stroke-width: 1.5;
}

.ifl-mega-menu__close:hover {
    opacity: 0.6;
}

/* Menu Content */
.ifl-mega-menu__content {
    flex: 1;
    display: flex;
    overflow: hidden;
}

/* Menu Levels */
.ifl-mega-menu__level {
    flex: 0 0 var(--ifl-mega-menu-width);
    overflow-y: auto;
    border-right: 1px solid #f0f0f0;
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity var(--ifl-transition-medium), transform var(--ifl-transition-medium);
}

.ifl-mega-menu__level.is-active {
    opacity: 1;
    transform: translateX(0);
}

.ifl-mega-menu__level--1 {
    display: flex;
    flex-direction: column;
    background: #fff;
}

.ifl-mega-menu__level--2 {
    background: #fafafa;
}

.ifl-mega-menu__level--3 {
    flex: 1;
    background: #f5f5f5;
    border-right: none;
}

/* Menu List */
.ifl-mega-menu__list {
    list-style: none;
    margin: 0;
    padding: 20px 0;
}

.ifl-mega-menu__item {
    margin: 0;
}

.ifl-mega-menu__separator {
    height: 1px;
    background: var(--ifl-border-light, #ebebeb);
    margin: var(--ifl-space-4, 16px) var(--ifl-space-6, 24px);
}

/* Mega Menu Link - Louis Vuitton Style (20px categories) */
.ifl-mega-menu__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: var(--ifl-menu-item-padding-y, 18px) var(--ifl-menu-item-padding-x, 24px);
    background: transparent;
    border: none;
    font-family: var(--ifl-font-primary, "Helvetica Neue", Helvetica, Arial, sans-serif);
    font-size: var(--ifl-text-3xl, 20px);
    /* LV category size */
    font-weight: var(--ifl-weight-normal, 400);
    letter-spacing: var(--ifl-tracking-normal, 0.3px);
    line-height: var(--ifl-leading-snug, 1.35);
    color: var(--ifl-dark, #1a1a1a);
    text-decoration: none;
    cursor: pointer;
    transition: opacity var(--ifl-transition-fast, 0.15s ease);
}

/* Hover: subtle opacity like LV (no background change) */
.ifl-mega-menu__link:hover {
    opacity: 0.6;
}

/* Active state for selected item */
.ifl-mega-menu__link.is-active {
    opacity: 0.6;
    font-weight: 500;
}

.ifl-mega-menu__link svg {
    opacity: 0.4;
    transition: opacity var(--ifl-transition-fast), transform var(--ifl-transition-fast);
}

.ifl-mega-menu__link:hover svg {
    opacity: 1;
    transform: translateX(4px);
}

/* Back Button */
.ifl-mega-menu__back {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 16px 24px;
    background: transparent;
    border: none;
    border-bottom: 1px solid #e8e8e8;
    font-family: inherit;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #666;
    cursor: pointer;
    transition: color var(--ifl-transition-fast);
}

.ifl-mega-menu__back:hover {
    color: #1a1a1a;
}

/* Catalog Content */
.ifl-mega-menu__catalog-content {
    padding: 24px;
}

.ifl-mega-menu__catalog-header {
    margin-bottom: 20px;
}

.ifl-mega-menu__catalog-title {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 500;
    margin: 0 0 8px;
    color: #1a1a1a;
}

.ifl-mega-menu__catalog-desc {
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

.ifl-mega-menu__catalog-media {
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
}

.ifl-mega-menu__catalog-media img,
.ifl-mega-menu__catalog-media video {
    width: 100%;
    height: auto;
    display: block;
}

.ifl-mega-menu__subcats {
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
}

.ifl-mega-menu__subcats li {
    margin: 0;
}

.ifl-mega-menu__subcats a {
    display: block;
    padding: 10px 0;
    color: #1a1a1a;
    text-decoration: none;
    font-size: 14px;
    border-bottom: 1px solid #e8e8e8;
    transition: color var(--ifl-transition-fast), padding-left var(--ifl-transition-fast);
}

.ifl-mega-menu__subcats a:hover {
    color: #c8a45c;
    padding-left: 8px;
}

.ifl-mega-menu__catalog-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #1a1a1a;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color var(--ifl-transition-fast);
}

.ifl-mega-menu__catalog-link:hover {
    color: #c8a45c;
}

.ifl-mega-menu__catalog-link svg {
    transition: transform var(--ifl-transition-fast);
}

.ifl-mega-menu__catalog-link:hover svg {
    transform: translateX(4px);
}

/* Products Grid */
.ifl-mega-menu__products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 24px;
}

.ifl-mega-menu__product {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    color: #1a1a1a;
    transition: box-shadow var(--ifl-transition-fast);
}

.ifl-mega-menu__product:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.ifl-mega-menu__product-image {
    aspect-ratio: 1;
    overflow: hidden;
}

.ifl-mega-menu__product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--ifl-transition-medium);
}

.ifl-mega-menu__product:hover .ifl-mega-menu__product-image img {
    transform: scale(1.05);
}

.ifl-mega-menu__product-info {
    padding: 12px;
}

.ifl-mega-menu__product-title {
    font-size: 13px;
    font-weight: 500;
    margin: 0 0 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ifl-mega-menu__product-price {
    font-size: 12px;
    color: #666;
}

/* ========================================
   Mega Menu Level Header
   ======================================== */
.ifl-mega-menu__level-header {
    padding: 16px 24px;
    border-bottom: 1px solid #f0f0f0;
}

.ifl-mega-menu__level-title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
}

/* ========================================
   Mega Menu Footer Sections - Luxury Style
   ======================================== */
.ifl-mega-menu__footer {
    margin-top: auto;
    padding: var(--ifl-space-8, 32px) var(--ifl-space-6, 24px);
    border-top: 1px solid var(--ifl-border-light, #ebebeb);
    background: var(--ifl-gray-50, #fafafa);
}

.ifl-mega-menu__section {
    display: flex;
    align-items: center;
    gap: var(--ifl-space-3, 12px);
    padding: var(--ifl-space-4, 16px) 0;
    font-family: var(--ifl-font-primary, "Helvetica Neue", Helvetica, Arial, sans-serif);
    font-size: var(--ifl-text-md, 13px);
    font-weight: var(--ifl-weight-normal, 400);
    letter-spacing: var(--ifl-tracking-normal, 0.3px);
    color: var(--ifl-gray-700, #4a4a4a);
    text-decoration: none;
    transition: opacity var(--ifl-transition-fast, 0.15s ease);
}

.ifl-mega-menu__section:not(:last-child) {
    border-bottom: 1px solid var(--ifl-border-light, #ebebeb);
}

.ifl-mega-menu__section:hover {
    opacity: 0.7;
}

.ifl-mega-menu__section svg {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    opacity: 0.5;
    transition: opacity var(--ifl-transition-fast, 0.15s ease);
}

.ifl-mega-menu__section:hover svg {
    opacity: 1;
}

/* Help Section - "Besoin d'aide ?" */
.ifl-mega-menu__section--help {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--ifl-space-2, 8px);
    padding: var(--ifl-space-5, 20px) 0;
}

.ifl-mega-menu__section-title {
    font-size: var(--ifl-text-xs, 10px);
    font-weight: var(--ifl-weight-medium, 500);
    letter-spacing: var(--ifl-tracking-caps, 2px);
    text-transform: uppercase;
    color: #888;
}

.ifl-mega-menu__section-link {
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 0.5px;
    color: #1a1a1a;
    text-decoration: none;
    transition: color var(--ifl-transition-fast);
}

.ifl-mega-menu__section-link:hover {
    color: #666;
}

/* Stores Section */
.ifl-mega-menu__section--stores {
    font-size: 13px;
    letter-spacing: 0.5px;
}

.ifl-mega-menu__section--stores:hover,
.ifl-mega-menu__section--delivery:hover {
    color: #1a1a1a;
}

.ifl-mega-menu__section--stores:hover svg,
.ifl-mega-menu__section--delivery:hover svg {
    opacity: 1;
}

/* Delivery Section */
.ifl-mega-menu__section--delivery {
    font-size: 13px;
    letter-spacing: 0.3px;
}

.ifl-mega-menu__section--delivery span {
    color: #888;
}

.ifl-mega-menu__section--delivery strong {
    font-weight: 500;
    color: #1a1a1a;
    margin-left: 4px;
}

/* Empty state */
.ifl-mega-menu__empty {
    color: #999;
    font-style: italic;
    cursor: default;
}

.ifl-mega-menu__empty:hover {
    background: transparent;
    padding-left: 24px;
}

/* ========================================
   Buttons (shared)
   ======================================== */
.ifl-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all var(--ifl-transition-fast);
}

.ifl-btn--primary {
    background: #25D366;
    color: #fff;
}

.ifl-btn--primary:hover {
    background: #20bd5a;
}

.ifl-btn--outline {
    background: transparent;
    color: #1a1a1a;
    border: 1px solid #1a1a1a;
}

.ifl-btn--outline:hover {
    background: #1a1a1a;
    color: #fff;
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 768px) {
    .ifl-header__container {
        padding: 0 12px;
    }

    .ifl-header__left,
    .ifl-header__right {
        gap: 12px;
    }

    .ifl-header__menu-text {
        display: none;
    }

    .ifl-header__contact {
        display: none;
    }

    .ifl-mega-menu__panel {
        max-width: 100%;
    }

    .ifl-mega-menu__content {
        flex-direction: column;
    }

    .ifl-mega-menu__level {
        flex: 0 0 auto;
        border-right: none;
        border-bottom: 1px solid #f0f0f0;
    }

    .ifl-mega-menu__level--3 {
        flex: 1;
    }

    .ifl-header__mini-cart {
        width: calc(100vw - 24px);
        right: -60px;
    }
}

@media (max-width: 480px) {
    .ifl-header__search-form {
        position: fixed;
        left: 0;
        right: 0;
        top: var(--ifl-header-height);
        transform: none;
        padding: 12px;
        background: #fff;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        width: auto !important;
    }

    .ifl-header__search.is-active .ifl-header__search-form {
        opacity: 1;
    }

    .ifl-header__search-input {
        color: #1a1a1a;
        border-color: #ccc;
    }
}

/* ========================================
   Body scroll lock
   ======================================== */
body.ifl-menu-open {
    overflow: hidden;
}

/* ========================================
   Body spacing for fixed header
   ======================================== */
body.has-ifl-header {
    padding-top: var(--ifl-header-height);
}

/* Remove padding for pages with hero (hero handles its own spacing) */
body.has-ifl-header .ifl-hero {
    margin-top: calc(-1 * var(--ifl-header-height));
}

/* ========================================
   Hide default theme elements
   (Hello Elementor and other themes)
   ======================================== */
body.has-ifl-header .site-header,
body.has-ifl-header header.site-header,
body.has-ifl-header .site-branding,
body.has-ifl-header .site-title,
body.has-ifl-header .site-description,
body.has-ifl-header .hfe-header,
body.has-ifl-header .elementor-location-header,
body.has-ifl-header #masthead,
body.has-ifl-header .main-navigation,
body.has-ifl-header .primary-menu,
body.has-ifl-header .menu-toggle,
body.has-ifl-header .site-navigation,
body.has-ifl-header .entry-title,
body.has-ifl-header .page-header,
body.has-ifl-header .page-title,
body.has-ifl-header .site-main>article>.entry-header,
body.has-ifl-header .hello-elementor-theme .site-main>.entry-header {
    display: none !important;
}

/* Hide default page content on homepage if using Elementor */
body.has-ifl-header.home .site-main>article>.entry-content:empty {
    display: none !important;
}

/* Hide theme footer (optional - uncomment if replacing with custom footer)
body.has-ifl-header .site-footer,
body.has-ifl-header footer.site-footer {
    display: none !important;
}
*/

/* Admin bar offset */
.admin-bar .ifl-header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    .admin-bar .ifl-header {
        top: 46px;
    }
}

.admin-bar body.has-ifl-header {
    padding-top: calc(var(--ifl-header-height) + 32px);
}

@media screen and (max-width: 782px) {
    .admin-bar body.has-ifl-header {
        padding-top: calc(var(--ifl-header-height) + 46px);
    }
}

/* Note: Uncomment to hide theme footer if replacing with custom footer
body.has-ifl-header .site-footer .site-branding,
body.has-ifl-header .hfe-footer,
body.has-ifl-header .elementor-location-footer {
    display: none !important;
}
*/

/* Ensure our header is always on top */
.ifl-header {
    z-index: 99999 !important;
}

.ifl-mega-menu {
    z-index: 99998 !important;
}

/* ========================================
   FILTER DRAWER (Louis Vuitton Style)
   ======================================== */
.ifl-filter-drawer {
    position: fixed;
    top: 0;
    right: -400px;
    /* Hidden by default */
    width: 400px;
    height: 100vh;
    background: #fff;
    z-index: 100000;
    /* Above header (99999) */
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
    transition: right 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    display: flex;
    flex-direction: column;
}

.ifl-filter-drawer.is-open,
.ifl-filter-drawer.open {
    /* Support both classes */
    right: 0;
    /* Visible */
}

@media (max-width: 480px) {
    .ifl-filter-drawer {
        width: 100%;
        /* Full screen on mobile */
        right: -100%;
    }
}

.ifl-drawer-header {
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #f0f0f0;
}

.ifl-drawer-title {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    color: #1a1a1a;
}

.ifl-drawer-close {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 24px;
    color: #1a1a1a;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s;
}

.ifl-drawer-close:hover {
    background: #f5f5f5;
}

.ifl-drawer-content {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
}

.ifl-drawer-footer {
    padding: 24px;
    border-top: 1px solid #f0f0f0;
    background: #fff;
}

#ifl-apply-filters {
    width: 100%;
    padding: 16px;
    background: #1a1a1a;
    color: #fff;
    border: none;
    font-family: inherit;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background 0.3s;
}

#ifl-apply-filters:hover {
    background: #333;
}

/* OVERLAY */
.ifl-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99999;
    /* Below Drawer (100000) but above Header (9999) */
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s;
}

.ifl-drawer-overlay.is-open,
.ifl-drawer-overlay.open {
    opacity: 1;
    visibility: visible;
    backdrop-filter: blur(2px);
}

/* ACCORDIONS */
.ifl-accordion-item {
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 10px;
}

.ifl-accordion-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    background: none;
    border: none;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    color: #1a1a1a;
}

.ifl-accordion-header .dashicons {
    transition: transform 0.3s;
    font-size: 18px;
}

.ifl-accordion-header.active .dashicons {
    transform: rotate(180deg);
}

.ifl-accordion-body {
    display: none;
    /* Hidden by default */
    padding-bottom: 20px;
}

/* CHECKBOXES & OPTIONS */
.ifl-checkbox-option,
.ifl-radio-option {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 14px;
    color: #555;
    user-select: none;
}

.ifl-checkbox-option:hover,
.ifl-radio-option:hover {
    color: #1a1a1a;
}

.ifl-checkbox-option input,
.ifl-radio-option input {
    display: none;
}

.ifl-checkbox-box {
    width: 18px;
    height: 18px;
    border: 1px solid #ccc;
    margin-right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.ifl-checkbox-option input:checked+.ifl-checkbox-box {
    background: #1a1a1a;
    border-color: #1a1a1a;
}

.ifl-checkbox-option input:checked+.ifl-checkbox-box::after {
    content: '';
    width: 8px;
    height: 4px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(-45deg) translate(1px, -1px);
}

/* COLOR SWATCHES */
.ifl-color-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.ifl-color-option {
    padding: 6px;
    border: 1px solid #eee;
    margin: 0;
}

.ifl-color-option input:checked~.ifl-color-swatch {
    transform: scale(0.8);
}

.ifl-color-option input:checked~.ifl-color-label {
    font-weight: 600;
    color: #000;
}

.ifl-color-swatch {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin-right: 10px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
}

/* PRICE SLIDER (Simple) */
/* TOGGLE SWITCH */
.ifl-switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 20px;
}

.ifl-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.ifl-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.ifl-slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked+.ifl-slider {
    background-color: #1a1a1a;
}

input:checked+.ifl-slider:before {
    -webkit-transform: translateX(20px);
    -ms-transform: translateX(20px);
    transform: translateX(20px);
}

.ifl-slider.round {
    border-radius: 34px;
}

.ifl-slider.round:before {
    border-radius: 50%;
}

.ifl-filter-toggle-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid #f0f0f0;
}