/* --- High-End Cosmetic Storefront Layout Variables --- */
.global-cosmetic-header {
    font-family: 'Albert Sans', sans-serif;
    letter-spacing: 0.3px;
    box-shadow: 0 1px 15px rgba(0,0,0,0.02);
}

.header-top-bar button {
    font-size: 11px;
    font-weight: 600;
    color: #444;
    border: none;
    background: transparent;
    letter-spacing: 1.5px;
}

.utility-divider {
    width: 1px;
    height: 12px;
    background-color: #e0e0e0;
    display: inline-block;
}

.account-utility-links a {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: opacity 0.2s;
}

    .account-utility-links a:hover {
        opacity: 0.6;
    }


 
 
@media only screen and (max-width: 479px) {
    .mobile-hide

{
    display: none !important;
}

}



/* --- Search Input Overrides --- */
.cosmetic-search-field {
    border: 1px solid #e2e8f0 !important;
    background-color: #f8fafc !important;
    padding: 12px 20px !important;
    font-size: 13px !important;
    font-family: monospace;
    letter-spacing: 0.5px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

    .cosmetic-search-field:focus {
        background-color: #ffffff !important;
        border-color: #000000 !important;
        box-shadow: none !important;
    }

/* --- Shopping Bag Interaction States --- */
.hover-bg-black {
    transition: all 0.3s ease;
}

.header-bag-trigger:hover .hover-bg-black {
    background-color: #000000 !important;
}

.header-bag-trigger:hover .bag-icon-node {
    color: #ffffff !important;
}

/* --- Multi-Level Dropdown Submenu Architecture --- */
.cosmetics-nav-list {
    border-top: 1px solid #f1f5f9;
}

.nav-item-link {
    color: #1e293b !important;
    text-decoration: none;
    font-size: 12px;
    padding: 16px 20px;
    display: inline-block;
    position: relative;
    transition: color 0.2s ease;
}

    .nav-item-link:hover {
        color: #ef4444 !important; /* Elegant modern color accent */
    }

.style-arrow {
    font-size: 9px;
    transition: transform 0.2s ease;
    display: inline-block;
}

/* --- Dynamic CSS Mega Menu Mega Trigger Logic --- */
.cosmetics-mega-menu-panel {
    position: fixed;
    top: auto;
    left: 0;
    width: 100%;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Trigger panel visibility smoothly when the user hovers over the container element */
.nav-item-dropdown:hover .cosmetics-mega-menu-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-item-dropdown:hover .style-arrow {
    transform: rotate(180deg);
}

.menu-sub-link {
    color: #64748b;
    text-decoration: none;
    transition: all 0.15s ease;
    font-size: 13px;
    display: block;
    padding: 2px 0;
}

    .menu-sub-link:hover {
        color: #000000;
        transform: translateX(4px);
    }

.scrollbar-hidden::-webkit-scrollbar {
    display: none;
}

.scrollbar-hidden {
    -ms-overflow-style: none;
    scrollbar-width: none;
}





/* --- High-End Premium Cosmetic Footer Stylesheet --- */
.cosmetics-master-footer {
    background-color: #0b0f19 !important; /* Rich deep black/navy hybrid */
    letter-spacing: 0.2px;
}

    .cosmetics-master-footer .footer-heading {
        letter-spacing: 1.5px !important;
    }

    .cosmetics-master-footer .footer-links-grid a {
        transition: all 0.2s ease;
    }

        /* Smooth Interactive Sliding States for Links */
        .cosmetics-master-footer .footer-links-grid a:hover {
            color: #ffffff !important;
            padding-left: 4px;
        }

/* Subscription Form Inputs Overrides */
.footer-subscribe-group input:focus {
    background-color: transparent !important;
    border-color: #dc3545 !important;
    box-shadow: none !important;
}

.footer-subscribe-group input {
    border-color: #334155 !important;
}

/* Master Helper Classes */
.hover-white {
    transition: color 0.2s ease;
}

    .hover-white:hover {
        color: #ffffff !important;
    }




/* --- Grid and List View Toggle CSS Rules --- */
#catalogProductsContainer {
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.view-switcher-buttons .btn {
    color: #94a3b8;
    background: transparent;
    border: none;
    transition: all 0.2s ease;
}

    .view-switcher-buttons .btn:hover, .view-switcher-buttons .btn.active {
        color: #000000;
        background-color: #ffffff;
        box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    }

/* Base Dimensions for Grid Mode Configuration */
.layout-mode-grid .catalog-img-wrapper {
    height: 320px;
}

.layout-mode-grid .catalog-info-wrapper {
    text-align: center;
}

/* Dynamic List Mode Mutation Styles */
.layout-mode-list .catalog-product-item {
    width: 100% !important; /* Forces items into individual rows */
}

.layout-mode-list .product-archive-retail-node {
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 24px;
}

.layout-mode-list .catalog-img-wrapper {
    width: 220px !important;
    height: 220px !important;
}

.layout-mode-list .catalog-info-wrapper {
    width: calc(100% - 220px) !important;
    padding-left: 30px !important;
    padding-top: 10px !important;
    text-align: left !important;
}

.layout-mode-list .catalog-list-description {
    display: block !important; /* Reveals descriptions in list layout */
    max-width: 600px;
}

.layout-mode-list .product-title-clipping {
    font-size: 18px !important;
    height: auto !important;
}

/* Catalog Card Effects */
.archive-quick-add-drawer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 10px;
    transform: translateY(102%);
    transition: transform 0.25s ease;
    z-index: 5;
}

.product-archive-retail-node:hover .archive-quick-add-drawer {
    transform: translateY(0);
}

.btn-archive-instant-buy {
    width: 100%;
    background: #fff;
    color: #000;
    border: 1px solid #000;
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    padding: 10px 0;
    transition: all 0.2s;
}

    .btn-archive-instant-buy:hover {
        background: #000;
        color: #fff;
    }

.catalog-node-img {
    transition: transform 0.4s ease;
}

.product-archive-retail-node:hover .catalog-node-img {
    transform: scale(1.02);
}

.product-title-clipping {
    height: 36px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.hover-red:hover {
    color: #dc3545 !important;
}




/* --- High-End Product Details Workspace Styles --- */
.thumbnail-gallery-box {
    height: 80px;
    background-color: #ffffff;
    transition: all 0.2s ease;
}

    .thumbnail-gallery-box.active-thumbnail, .thumbnail-gallery-box:hover {
        border-color: #000000 !important;
        opacity: 0.7;
    }

/* --- Dynamic CSS Magnification Zoom Lens Assembly Rules --- */
.master-zoom-frame {
    height: 520px;
    cursor: zoom-in;
}

    .master-zoom-frame img {
        transition: transform 0.1s ease-out, transform-origin 0.1s ease-out;
    }
    /* Trigger transform scaling mechanics inside the lens wrapper viewport box boundary */
    .master-zoom-frame:hover img {
        transform: scale(2.2); /* Zoom depth scale factor */
    }

/* Quantity Control Select Box Layout */
.quantity-counter-stepper-box {
    border-color: #cbd5e1 !important;
}

/* Tab System Components Stylesheet Overrides */
.specification-tabs-container {
    border-color: #e2e8f0 !important;
}

    .specification-tabs-container .nav-link {
        color: #64748b !important;
        background-color: #f8fafc;
        border-bottom: 1px solid #e2e8f0 !important;
        transition: all 0.2s ease;
    }

        .specification-tabs-container .nav-link.active {
            background-color: #ffffff !important;
            border-bottom: 1px solid transparent !important;
            color: #000000 !important;
        }




/* WhatsApp Floating Core Node */
.whatsapp-floating-trigger {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 55px;
    height: 55px;
    background-color: #25D366; /* Official WhatsApp green hex key */
    border-radius: 50%;
    z-index: 9999; /* Higher priority layer stack to stay visible over footers and cards */
    font-size: 28px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

    /* Subtle Hover Animation Shift Matrix */
    .whatsapp-floating-trigger:hover {
        background-color: #20ba56;
        transform: translateY(-5px) scale(1.05);
        color: #ffffff !important;
    }

/* Responsive adjustment matrix for smaller mobile devices */
@media (max-width: 576px) {
    .whatsapp-floating-trigger {
        bottom: 20px;
        right: 20px;
        width: 48px;
        height: 48px;
        font-size: 24px;
    }
}


/* Base Promotional Badge Alignment Layer Layout */
.product-promo-badge {
    z-index: 10;
    padding: 6px 14px;
    font-size: 11px;
    letter-spacing: 1px;
    border-bottom-right-radius: 0px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* 1. SALE BADGE STYLE SCHEMA (Classic Crimson Accent) */
.aa-sale {
    background-color: #ff2851 !important;
    color: #ffffff !important;
}

/* 2. SOLD OUT BADGE STYLE SCHEMA (Minimalist Matte Slate Charcoal) */
.aa-sold-out {
    background-color: #475569 !important;
    color: #f8fafc !important;
}

/* 3. HOT BADGE STYLE SCHEMA (Vibrant Electric Orange/Gold Accent) */
.aa-hot {
    background-color: #ff6600 !important;
    color: #ffffff !important;
}



/* Custom typography overrides for RTL reading environments */
.font-arabic-kurdish {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
    letter-spacing: 0px !important; /* Disables high letter stretching on non-latin text rules */
}

/* Adjust promo tags placement when switching directions */
html[dir="rtl"] .product-promo-badge {
    left: auto !important;
    right: 0 !important; /* Repositions badges cleanly to the top-right corner under RTL grids */
    border-bottom-right-radius: 0px;
}

html[dir="rtl"] .ms-auto {
    margin-right: auto !important;
    margin-left: 0 !important;
}