/**
 * Shadi Beauty Luxury Royal Brand Tokens & Semantic Layout Overrides
 * Token: [BRANDING-TOKENS-ACTIVE]
 */

:root {
    /* Royal Purple Hierarchy */
    --primary-main: #9D3A8F;
    --primary-light: #C77AB8;
    --primary-dark: #6B2863;
    --primary-subtle: #F5E8F3;

    /* Call-To-Action & Validation Accents */
    --accent-warm: #FF6B6B;
    --accent-deep: #E05A5A;
    --accent-coral: #FF8E8E;

    /* Backgrounds & Neutral Foundations */
    --bg-white: #FFFFFF;
    --bg-offwhite: #FAFAFA;
    --bg-lightgray: #F5F5F5;
    --bg-warmwhite: #FFF9F5;
    --text-primary: #2D2D2D;
    --text-secondary: #6B6B6B;
}

/* 🏗️ 1. GLOBAL CONTAINER SYMMETRY & ANTI-LEAK RESET */
body {
    background-color: var(--bg-warmwhite) !important;
}
#page, .site-content, .inside-article {
    padding: 0 !important;
    margin: 0 auto !important;
    max-width: 1250px !important;
}

/* Eliminate primitive underlines */
a, .woocommerce-loop-product__title, .product_title {
    text-decoration: none !important;
    color: var(--text-primary) !important;
}

/* Kill all unstyled rogue bullet lists leaking over core layouts */
ul, li, .widget_product_categories ul, .site-main ul {
    list-style: none !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
}

/* 🔮 2. UNIVERSAL INTEGRATED GLASSMORPHISM IMPLEMENTATION */
.product.type-product, 
.woocommerce-mini-cart-item, 
.woocommerce-checkout-review-order,
.cart_totals,
.shadi-glass-panel,
.woocommerce-billing-fields {
    background: rgba(255, 255, 255, 0.55) !important;
    backdrop-filter: blur(16px) saturate(190%) !important;
    -webkit-backdrop-filter: blur(16px) saturate(190%) !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    border-radius: 12px !important;
    padding: 20px !important;
    box-shadow: 0 8px 32px 0 rgba(157, 58, 143, 0.06) !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

.product.type-product:hover {
    transform: translateY(-5px) !important;
    border-color: rgba(157, 58, 143, 0.3) !important;
    box-shadow: 0 12px 40px 0 rgba(157, 58, 143, 0.12) !important;
}

/* 🛒 3. UNIFORM VIBRANT CORAL BUTTONS SYSTEM */
.button.add_to_cart_button, 
.single_add_to_cart_button, 
.woocommerce button.button.alt,
.woocommerce a.button.checkout,
.woocommerce input.button,
.woocommerce #respond input#submit,
.shadi-btn-primary,
.bos-shadi-hero-btn,
.bos-shadi-glass-btn,
.bos-shadi-mid-banner-btn {
    background-color: #ff6b6b !important;
    background-image: none !important;
    color: #FFFFFF !important;
    font-family: 'Vazirmatn', sans-serif !important;
    font-weight: 700 !important;
    padding: 10px 30px !important;
    border-radius: 50px !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    text-shadow: none !important;
    box-shadow: 0 4px 14px rgba(255, 107, 107, 0.3) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    position: relative !important;
    overflow: hidden !important;
    transition: all 0.2s ease-in-out !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    text-decoration: none !important;
}

.button.add_to_cart_button:hover, 
.single_add_to_cart_button:hover, 
.woocommerce button.button.alt:hover,
.woocommerce a.button.checkout:hover,
.woocommerce input.button:hover,
.shadi-btn-primary:hover,
.bos-shadi-hero-btn:hover,
.bos-shadi-glass-btn:hover,
.bos-shadi-mid-banner-btn:hover {
    background-color: #e05a5a !important; /* Vibrant Coral Hover */
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.45) !important;
    color: #FFFFFF !important;
}

/* 🎟️ 4. HIGH-CONVERSION GHOST/SECONDARY BUTTONS (COUPON & BACK & SKIP BUTTONS) */
.coupon button.button, 
.woocommerce-form-coupon button.button,
.coupon-apply-action-btn,
.back-btn,
.skip-btn,
button#skip_btn,
.button.btn-secondary {
    background: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: 2px solid #ff6b6b !important;
    color: #ff6b6b !important;
    font-weight: bold !important;
    border-radius: 8px !important;
    box-shadow: none !important;
    position: relative !important;
    overflow: hidden !important;
    transition: all 0.25s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    text-shadow: none !important;
    text-transform: none !important;
    padding: 10px 20px !important;
}

.coupon button.button:hover, 
.woocommerce-form-coupon button.button:hover,
.coupon-apply-action-btn:hover,
.back-btn:hover,
.skip-btn:hover,
button#skip_btn:hover,
.button.btn-secondary:hover {
    background: #ff6b6b !important;
    color: #FFFFFF !important;
    border-color: #ff6b6b !important;
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.25) !important;
}

/* Logo scaling inherited from shared.css */
.bos-clean-nav-menu .sub-menu a:hover {
    color: var(--primary-main) !important;
}

/* --- 🔮 SHADI BEAUTY HEADER HIGH-FIDELITY GLASSMORPHISM --- */
#bos-global-header.shadi-glass {
    background: rgba(255, 255, 255, 0.45) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25) !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 9999 !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 30px rgba(157, 58, 143, 0.03) !important;
    width: 100% !important;
}

.header-inside-grid {
    display: flex;
    flex-direction: column;
    width: 100% !important;
    max-width: 1250px !important;
    margin: 0 auto !important;
    padding: 4px 12px !important;
}

/* ==========================================================================
   🖥️ DESKTOP HEADER STRUCTURAL AUTO-FIX (Strict Right-To-Left Flow)
   ========================================================================== */
@media (min-width: 1025px) {
    /* Target the grandparent container to increase specificity */
    .header-inside-grid .desktop-header-row {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important; /* CRITICAL: Absolutely prevent elements from stacking vertically */
        justify-content: space-between !important;
        align-items: center !important;
        direction: rtl !important;
        width: 100% !important;
        height: auto !important;
    }

    /* Slot 1: Push Logo to the FAR RIGHT */
    .header-inside-grid .desktop-header-row .site-branding-logo {
        order: 1 !important;
        display: block !important;
        float: none !important;
        position: relative !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    .header-inside-grid .desktop-header-row .site-branding-logo img {
        display: block !important;
        max-height: 55px !important; /* Keeps logo bounds safe and proportional */
        width: auto !important;
    }

    /* Slot 2: Center the Navigation Menu perfectly in the middle spacer */
    .header-inside-grid .desktop-header-row .main-navigation-custom-bridge {
        order: 2 !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        flex: 1 !important; /* Fluid spacer to expand and push icons to the far left edge */
        float: none !important;
        margin: 0 !important;
        padding: 0 20px !important;
    }
    .header-inside-grid .desktop-header-row .bos-clean-nav-menu {
        display: flex !important;
        gap: 24px !important;
        list-style: none !important;
        margin: 0 !important;
        padding: 0 !important;
        flex-wrap: nowrap !important;
    }

    /* Slot 3: Push Action Icons Matrix to the FAR LEFT */
    .header-inside-grid .desktop-header-row .header-action-matrix {
        order: 3 !important;
        display: flex !important;
        align-items: center !important;
        gap: 18px !important;
        float: none !important;
        position: relative !important;
        margin: 0 !important;
        top: auto !important;
        right: auto !important;
        left: auto !important;
    }

    /* Ensure Mobile Layout is strictly hidden on Desktop viewports */
    .header-inside-grid .mobile-header-rows {
        display: none !important;
    }
}

/* ==========================================================================
   📱 MOBILE & TABLET HEADER VISIBILITY & STICKY LOGIC (Below 1024px)
   ========================================================================== */
@media (max-width: 1024px) {
    /* Force-Hide Desktop Layout on Mobile */
    .desktop-header-row {
        display: none !important;
    }

    .mobile-header-rows {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        direction: rtl !important;
    }

    /* Row 1: Logo (Right) and Hamburger Menu (Left) */
    .mobile-header-rows .mobile-row-1 {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
        padding: 4px 8px !important;
        box-sizing: border-box !important;
    }
    .mobile-header-rows .mobile-row-1 .site-branding-logo {
        display: block !important;
    }
    .mobile-header-rows .mobile-row-1 .site-branding-logo img {
        max-height: 40px !important;
        width: auto !important;
    }
    .mobile-header-rows .mobile-row-1 .mobile-hamburger {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: none !important;
        border: none !important;
        font-size: 26px !important;
        cursor: pointer !important;
    }

    /* Row 2: Persistent / Sticky Search Box Element */
    .mobile-header-rows .mobile-row-2 {
        display: block !important;
        width: 100% !important;
        padding: 4px 8px !important;
        box-sizing: border-box !important;
        position: sticky !important;
        top: 0 !important;
        z-index: 999 !important;
    }
    .mobile-header-rows .mobile-glass-search .search-form {
        display: flex !important;
        align-items: center !important;
        width: 100% !important;
        position: relative !important;
    }
    .mobile-header-rows .mobile-glass-search input[type="search"] {
        width: 100% !important;
        padding: 4px 8px !important;
        border-radius: 8px !important;
        box-sizing: border-box !important;
    }
}

/* ==========================================================================
   🪐 SHADI BEAUTY INTELLECTUAL ADAPTIVE STICKY HEADER
   ========================================================================== */
@media screen and (min-width: 1025px) {
    #bos-global-header.sticky-active {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        background: rgba(255, 255, 255, 0.45) !important;
        backdrop-filter: blur(12px) !important;
        -webkit-backdrop-filter: blur(12px) !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.25) !important;
        box-shadow: 0 4px 20px rgba(157, 58, 143, 0.08) !important;
    }
    #bos-global-header.sticky-active .header-inside-grid {
        padding-top: 6px !important;
        padding-bottom: 6px !important;
    }
}

@media screen and (max-width: 1024px) {
    #bos-global-header.sticky-active {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        background: rgba(255, 255, 255, 0.6) !important;
        backdrop-filter: blur(10px) !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.3) !important;
        box-shadow: 0 2px 10px rgba(0,0,0,0.05) !important;
    }
    #bos-global-header.sticky-active .mobile-row-1 {
        display: none !important;
    }
    #bos-global-header.sticky-active .header-inside-grid {
        padding: 4px 8px !important;
    }
}

/* ==========================================================================
   🎨 INNER ELEMENT STYLES (Menu Links, Buttons, Badges)
   ========================================================================== */
.desktop-header-row .site-branding-logo img {
    max-height: 48px !important;
    width: auto !important;
    object-fit: contain !important;
}

.bos-clean-nav-menu a {
    color: var(--text-primary) !important;
    font-weight: 500 !important;
    font-size: 0.95rem !important;
    padding: 8px 12px !important;
    transition: color 0.25s ease !important;
    position: relative !important;
}

.bos-clean-nav-menu a:hover {
    color: var(--primary-main) !important;
}

.bos-clean-nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--primary-main);
    transition: all 0.25s ease;
    transform: translateX(-50%);
}

.bos-clean-nav-menu a:hover::after {
    width: 80%;
}

.action-btn {
    background: rgba(255, 255, 255, 0.5) !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    color: var(--text-primary) !important;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.action-btn:hover {
    background: var(--primary-subtle) !important;
    border-color: var(--primary-light) !important;
    color: var(--primary-main) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(157, 58, 143, 0.15) !important;
}

.cart-btn .cart-badge {
    position: absolute;
    top: 2px;
    right: 4px;
    background: var(--primary-main);
    color: #FFF;
    font-size: 0.75rem;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    box-shadow: 0 2px 5px rgba(157, 58, 143, 0.3);
}

.mobile-glass-search {
    width: 100%;
}

.mobile-glass-search .search-form {
    background: rgba(255, 255, 255, 0.55) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.45) !important;
    border-radius: 30px;
    padding: 4px 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02) !important;
}

.mobile-glass-search input[type="search"] {
    flex: 1;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    color: var(--text-primary) !important;
    font-family: 'Vazirmatn', sans-serif !important;
    font-size: 0.95rem;
    text-align: right;
}

.mobile-glass-search button {
    background: transparent !important;
    border: none !important;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    transition: color 0.2s ease;
}

.mobile-glass-search button:hover {
    color: var(--primary-main);
}

/* --- 🔮 SHADI BEAUTY 3-TIER MEGA MENU STYLING --- */
.main-navigation-custom-bridge {
    position: static !important;
}

.mega-menu-panel.open-active {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(-50%) translateY(0) !important;
}


.mega-menu-panel {
    position: absolute !important;
    top: 100% !important;
    left: 50% !important;
    transform: translateX(-50%) translateY(10px) !important;
    width: 100% !important;
    max-width: 1250px !important;
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(20px) saturate(200%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(200%) !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 40px rgba(157, 58, 143, 0.1) !important;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    z-index: 99999 !important;
    overflow: hidden !important;
}

@media screen and (min-width: 993px) {
    .bos-clean-nav-menu .sub-menu {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }
}


.mega-menu-inside {
    display: flex;
    direction: rtl !important;
    min-height: 400px;
}

.mega-sidebar {
    width: 220px;
    background: rgba(255, 255, 255, 0.2) !important;
    border-left: 1px solid rgba(0, 0, 0, 0.05) !important;
    padding: 16px 0 !important;
}

.mega-cat-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.mega-cat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px !important;
    color: var(--text-primary) !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    cursor: pointer;
    transition: all 0.2s ease !important;
}

.mega-cat-item svg {
    color: var(--text-secondary);
    transition: transform 0.2s ease !important;
}

.mega-cat-item:hover,
.mega-cat-item.active {
    background: rgba(157, 58, 143, 0.08) !important;
    color: var(--primary-main) !important;
}

.mega-cat-item.active svg {
    transform: rotate(-180deg) !important;
    color: var(--primary-main) !important;
}

.mega-content {
    flex: 1;
    padding: 24px !important;
    background: transparent !important;
}

.mega-pane {
    display: none;
    flex-direction: column;
    height: 100%;
}

.mega-pane.active {
    display: flex;
}

.mega-pane-header {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 20px !important;
    border-bottom: 1px solid #F0F0F0 !important;
    padding-bottom: 10px !important;
}

.all-products-btn {
    color: var(--primary-main) !important;
    font-weight: 700 !important;
    font-size: 0.9rem !important;
    transition: transform 0.2s ease !important;
    display: inline-flex;
    align-items: center;
}

.all-products-btn:hover {
    transform: translateX(-4px) !important;
}

.mega-grid-matrix {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 24px !important;
}

.mega-grid-column {
    display: flex;
    flex-direction: column;
}

.mega-sub-title {
    font-weight: 700 !important;
    font-size: 0.95rem !important;
    color: var(--text-primary) !important;
    margin-bottom: 12px !important;
    border-right: 3px solid var(--primary-main) !important;
    padding-right: 8px !important;
    display: block !important;
}

.mega-sub-sub-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mega-sub-sub-list a {
    font-size: 0.9rem !important;
    color: var(--text-secondary) !important;
    transition: color 0.2s ease !important;
    display: block !important;
}

.mega-sub-sub-list a:hover {
    color: var(--primary-main) !important;
}

@media screen and (max-width: 992px) {
    .mega-menu-panel {
        display: none !important;
    }
}

/* --- 🔮 SHADI BEAUTY GLOBAL FOOTER STYLING --- */
.bos-global-footer.shadi-glass-footer {
    background: rgba(255, 255, 255, 0.45) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.25) !important;
    padding: 60px 0 30px 0 !important;
    width: 100% !important;
    margin-top: 50px !important;
}

.footer-inside-grid {
    max-width: 1250px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
}

.footer-columns-row {
    display: grid !important;
    grid-template-columns: 2fr 1fr 1fr 1.5fr !important;
    gap: 40px !important;
    margin-bottom: 40px !important;
}

.footer-columns-row.strict-three-cols {
    grid-template-columns: repeat(3, 1fr) !important;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-col-title {
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    color: var(--text-primary) !important;
    margin-bottom: 20px !important;
    position: relative !important;
}

.footer-description {
    font-size: 0.9rem !important;
    line-height: 1.7 !important;
    color: var(--text-secondary) !important;
    margin-bottom: 20px !important;
}

.trust-seals-wrapper {
    display: flex;
    gap: 16px;
}

.trust-seal-placeholder {
    flex: 1;
    background: rgba(255, 255, 255, 0.6) !important;
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
    border-radius: 8px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
}

.trust-seal-placeholder span {
    font-size: 0.75rem;
    font-weight: 700;
}

.footer-links-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links-list a {
    font-size: 0.9rem !important;
    color: var(--text-secondary) !important;
    transition: color 0.2s ease !important;
}

.footer-links-list a:hover {
    color: var(--primary-main) !important;
}

.social-icons-row {
    display: flex;
    gap: 12px;
}

.social-icon-link {
    background: rgba(255, 255, 255, 0.6) !important;
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
    color: var(--text-primary) !important;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease !important;
}

.social-icon-link:hover {
    background: var(--primary-main) !important;
    color: #FFFFFF !important;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(157, 58, 143, 0.2) !important;
}

.footer-lower-strip {
    border-top: 1px solid rgba(0, 0, 0, 0.05) !important;
    padding-top: 24px !important;
}

.footer-lower-inside {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-copyright {
    font-size: 0.8rem !important;
    color: var(--text-secondary) !important;
    margin: 0 !important;
}

.footer-lower-links {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-lower-links a {
    font-size: 0.8rem !important;
    color: var(--text-secondary) !important;
    transition: color 0.2s ease !important;
}

.footer-lower-links a:hover {
    color: var(--primary-main) !important;
}

.footer-lower-links .separator {
    color: rgba(0, 0, 0, 0.1);
}

@media screen and (max-width: 768px) {
    .footer-columns-row {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
        text-align: center;
    }
    
    .footer-column {
        align-items: center;
    }
    
    .trust-seals-wrapper {
        justify-content: center;
        width: 100%;
        max-width: 300px;
    }
    
    .social-icons-row {
        justify-content: center;
    }
    
    .footer-lower-inside {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-lower-links {
        justify-content: center;
        width: 100%;
    }
}

/* --- 🔮 SHADI BEAUTY SEO ACCORDION & MOBILE BOTTOM NAVBAR --- */
.footer-seo-accordion {
    background: rgba(255, 255, 255, 0.55) !important;
    backdrop-filter: blur(16px) saturate(190%) !important;
    -webkit-backdrop-filter: blur(16px) saturate(190%) !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    border-radius: 12px !important;
    padding: 24px !important;
    margin: 30px auto !important;
    max-width: 1250px !important;
    box-shadow: 0 8px 32px 0 rgba(157, 58, 143, 0.04) !important;
    text-align: right;
}

/* ==========================================================================
   ⚙️ Footer SEO Accordion Height Fix (Uncap Hidden Text)
   ========================================================================== */
.seo-accordion-content {
    max-height: 50px;
    overflow: hidden !important;
    transition: max-height 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

/* When active, completely lift the height restriction to show the entire text string */
.seo-accordion-content.expanded {
    max-height: none !important; /* Forces the browser to calculate the true auto height */
    overflow: visible !important;
}

.seo-accordion-content p {
    margin: 0 !important;
    font-size: 0.9rem !important;
    color: var(--text-secondary) !important;
    line-height: 1.8 !important;
    text-align: justify;
}

.seo-accordion-toggle {
    background: transparent !important;
    border: none !important;
    color: var(--primary-main) !important;
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    margin-top: 12px !important;
    padding: 4px 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
}

.seo-accordion-toggle .arrow {
    font-size: 1rem !important;
    transition: transform 0.2s ease !important;
}

.mobile-bottom-navbar {
    display: none !important;
}

/* Mobile Bottom Navbar (Shadi Glassmorphism) */
@media screen and (max-width: 768px) {
    .mobile-bottom-navbar {
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        height: 64px !important;
        display: flex !important;
        justify-content: space-around !important;
        align-items: center !important;
        z-index: 99999 !important;
        background: rgba(255, 255, 255, 0.65) !important;
        backdrop-filter: blur(20px) saturate(190%) !important;
        -webkit-backdrop-filter: blur(20px) saturate(190%) !important;
        border-top: 1px solid rgba(255, 255, 255, 0.4) !important;
        border-radius: 16px 16px 0 0 !important;
        box-shadow: 0 -8px 32px 0 rgba(157, 58, 143, 0.08) !important;
        padding: 0 10px !important;
    }
    
    .mobile-nav-node {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        color: var(--text-secondary) !important;
        font-size: 0.75rem !important;
        font-weight: 600 !important;
        text-decoration: none !important;
        background: transparent !important;
        border: none !important;
        cursor: pointer !important;
        flex: 1 !important;
        height: 100% !important;
        gap: 4px !important;
        position: relative !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .mobile-nav-node svg {
        width: 22px !important;
        height: 22px !important;
        color: var(--text-secondary) !important;
        transition: all 0.2s ease !important;
    }
    
    .mobile-nav-node:hover svg,
    .mobile-nav-node.active svg {
        color: var(--primary-main) !important;
        transform: translateY(-2px) !important;
    }
    
    .mobile-nav-node span {
        color: var(--text-secondary) !important;
        transition: color 0.2s ease !important;
    }
    
    .mobile-nav-node:hover span,
    .mobile-nav-node.active span {
        color: var(--primary-main) !important;
    }
    
    .mobile-cart-node {
        position: relative !important;
    }
    
    .mobile-cart-node .cart-bubble {
        position: absolute !important;
        top: 4px !important;
        right: 50% !important;
        transform: translateX(12px) !important;
        background: var(--accent-warm) !important;
        color: #FFFFFF !important;
        font-size: 0.7rem !important;
        font-weight: 700 !important;
        min-width: 16px !important;
        height: 16px !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 2px !important;
        box-shadow: 0 2px 5px rgba(255, 107, 107, 0.3) !important;
    }
}

/* --- 🔮 SHADI BEAUTY ADVANCED SEARCH MODAL / OVERLAY BRANDING --- */
#sb-search {
    background: rgba(255, 255, 255, 0.45) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
}
#sb-search .sb-container {
    background: rgba(255, 255, 255, 0.65) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    box-shadow: 0 20px 50px rgba(157, 58, 143, 0.15) !important;
}
#sb-search .sb-input-wrap {
    background: rgba(255, 255, 255, 0.5) !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    backdrop-filter: blur(4px) !important;
}
#sb-search .sb-input-wrap:focus-within {
    border-color: var(--primary-main) !important;
    box-shadow: 0 0 0 2px var(--primary-subtle) !important;
}
#sb-search .sb-chip-item {
    border-color: rgba(157, 58, 143, 0.2) !important;
    background: rgba(255, 255, 255, 0.4) !important;
}
#sb-search .sb-chip-item:hover,
#sb-search .sb-chip-item.brand-chip {
    border-color: var(--primary-main) !important;
    color: var(--primary-main) !important;
    background: var(--primary-subtle) !important;
}
#sb-search .sb-chip-item.cat-chip {
    border-color: var(--accent-warm) !important;
    color: var(--accent-warm) !important;
    background: #fff5f5 !important;
}
#sb-search .sb-view-all-btn {
    background: var(--primary-main) !important;
    border-radius: 12px !important;
    box-shadow: 0 5px 20px rgba(157, 58, 143, 0.3) !important;
}
#sb-search .sb-view-all-btn:hover {
    background: var(--primary-dark) !important;
}

/* --- 🔮 SHADI BEAUTY DYNAMIC MOBILE FOOTER & DIVIDERS --- */
@media screen and (max-width: 768px) {
    .bos-global-footer.shadi-glass-footer {
        padding: 40px 0 80px 0 !important; /* Spacing for bottom nav bar */
        background: rgba(255, 255, 255, 0.88) !important;
        backdrop-filter: blur(20px) saturate(200%) !important;
        border-top: 1px solid rgba(157, 58, 143, 0.35) !important;
    }
    
    /* Row 1: Split-Grid (50% width cells) */
    .footer-columns-row.strict-three-cols {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 20px !important;
        text-align: right !important;
    }
    
    .footer-columns-row.strict-three-cols .footer-column {
        align-items: flex-start !important;
    }
    
    .footer-columns-row.strict-three-cols .footer-column.links-col {
        width: 100% !important;
        flex: 1 1 calc(50% - 10px) !important;
    }
    
    /* Row 2: Full-Width Cell (100% width) */
    .footer-columns-row.strict-three-cols .footer-column.social-col {
        width: 100% !important;
        flex: 1 1 100% !important;
        margin-top: 20px !important;
        align-items: center !important; /* Centered layout */
    }
    
    .footer-column.social-col .social-icons-row {
        justify-content: center !important;
        width: 100% !important;
        margin-bottom: 16px !important;
    }
    
    .footer-column.social-col .trust-seals-wrapper {
        justify-content: center !important;
        width: 100% !important;
        display: flex !important;
        gap: 16px !important;
        margin-top: 15px !important;
    }
    
    .footer-column.social-col .trust-seal-placeholder {
        flex: 0 1 120px !important;
        background: rgba(255, 255, 255, 0.6) !important;
    }
}

/* Symmetrical Rose-Gold/Luxury Purple Divider Spacer & Loose Padding Copyright */
.bos-global-footer .footer-lower-strip {
    border-top: 2px solid transparent !important;
    border-image: linear-gradient(90deg, #FFC0CB 0%, #C77AB8 50%, #9D3A8F 100%) 1 !important;
    padding: 24px 0 !important;
    width: 100% !important;
}

/* --- 🪐 TASK 15: SHADI BEAUTY IMMERSIVE CATEGORY DRAWER OVERLAY --- */
.bos-category-fullscreen-overlay {
    position: fixed;
    inset: 0;
    z-index: 99998;
    background: rgba(255, 255, 255, 0.88) !important;
    backdrop-filter: blur(20px) saturate(200%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(200%) !important;
    display: none !important; /* Default State Isolation */
    flex-direction: column;
    direction: rtl !important;
    visibility: hidden;
    opacity: 0;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.3s ease, visibility 0.3s;
}

.bos-category-fullscreen-overlay.is-active {
    display: flex !important;
    visibility: visible;
    opacity: 1;
    transform: translateX(0);
}

.bos-category-fullscreen-overlay .bos-overlay-header {
    height: 60px;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(157, 58, 143, 0.15) !important;
    background: rgba(255, 255, 255, 0.6) !important;
    backdrop-filter: blur(5px) !important;
    flex-shrink: 0;
}

.bos-category-fullscreen-overlay .bos-overlay-close-btn {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    transition: color 0.2s;
}

.bos-category-fullscreen-overlay .bos-overlay-close-btn:hover {
    color: var(--primary-main);
}

.bos-category-fullscreen-overlay .bos-overlay-search-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.6) !important;
    border: 1px solid rgba(157, 58, 143, 0.2) !important;
    border-radius: 30px;
    padding: 0 12px;
    height: 38px;
}

.bos-category-fullscreen-overlay .bos-overlay-search-wrapper i {
    color: var(--text-secondary);
    margin-left: 8px;
}

.bos-category-fullscreen-overlay .bos-overlay-search-wrapper input {
    border: none !important;
    background: transparent !important;
    outline: none !important;
    width: 100%;
    font-size: 0.85rem;
    font-family: 'Vazirmatn', sans-serif !important;
    color: var(--text-primary) !important;
}

.bos-category-split-layout {
    display: flex;
    flex: 1;
    overflow: hidden;
}

/* RTL Directional Layout Locking (Right Sidebar, Left display matrix) */
.bos-parent-categories-sidebar {
    width: 100px;
    background: rgba(157, 58, 143, 0.03) !important;
    border-left: 1px solid rgba(157, 58, 143, 0.1) !important;
    overflow-y: auto;
    flex-shrink: 0;
    order: 1 !important; /* Sidebar strictly on the Right Boundary in RTL */
}

.bos-parent-cat-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.bos-parent-cat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px 8px !important;
    cursor: pointer;
    border-bottom: 1px solid rgba(157, 58, 143, 0.05) !important;
    transition: all 0.25s ease !important;
    text-align: center;
}

.bos-parent-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 8px;
    background: #FFF;
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
}

.bos-parent-icon-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bos-parent-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-secondary);
    line-height: 1.3;
}

.bos-parent-cat-item.is-selected {
    background: rgba(157, 58, 143, 0.08) !important;
    border-right: 3px solid var(--primary-main) !important;
}

.bos-parent-cat-item.is-selected .bos-parent-label {
    color: var(--primary-main) !important;
}

/* Left Display Panel Slot (Subcategories Matrix) */
.bos-subcategory-content-panel {
    flex: 1;
    overflow-y: auto;
    background: transparent !important;
    padding: 15px !important;
    order: 2 !important; /* Display panel strictly on the Left in RTL */
}

/* Eradicate Horizontal Scroll */
.bos-category-fullscreen-overlay,
.bos-category-split-layout,
.bos-subcategory-content-panel,
.bos-subcategory-tab-content,
.bos-subcategory-accordion-list {
    overflow-x: hidden !important;
}

.bos-subcategory-tab-content {
    display: none;
    flex-direction: column;
    gap: 15px;
}

.bos-subcategory-tab-content.is-active {
    display: flex;
}

/* Direct conversion landing link banner */
.bos-view-all-category-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, rgba(255, 192, 203, 0.2) 0%, rgba(157, 58, 143, 0.1) 100%) !important;
    border: 1px solid rgba(157, 58, 143, 0.2) !important;
    border-radius: 10px;
    padding: 12px 16px !important;
    color: var(--primary-main) !important;
    font-weight: 700;
    font-size: 0.85rem;
    transition: transform 0.2s;
}

.bos-view-all-category-banner:active {
    transform: scale(0.98);
}

.bos-view-all-category-banner .bos-banner-arrow i {
    font-size: 1.1rem;
    vertical-align: middle;
}

.bos-subcategory-accordion-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Level-2 Accordion and Card Styles */
.bos-accordion-item {
    background: rgba(255, 255, 255, 0.5) !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.25s ease;
}

.bos-accordion-item.is-open {
    border-color: rgba(157, 58, 143, 0.25) !important;
    background: #FFF !important;
}

.bos-accordion-trigger {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px !important;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    cursor: pointer;
}

.bos-accordion-trigger-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.bos-sub-thumb-bg {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    overflow: hidden;
    background: #F9F9F9;
    border: 1px solid rgba(0, 0, 0, 0.03);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bos-sub-thumb-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bos-sub-card-label {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-primary);
}

.bos-caret-icon i {
    font-size: 1.2rem;
    color: var(--text-secondary);
    transition: transform 0.25s ease;
}

.bos-accordion-item.is-open .bos-caret-icon i {
    transform: rotate(180deg);
    color: var(--primary-main);
}

/* Level-3 grandchild wrapper slide transition */
.bos-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    background: rgba(157, 58, 143, 0.02) !important;
}

.bos-grandchild-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 8px 12px 12px 12px !important;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-top: 1px solid rgba(157, 58, 143, 0.05) !important;
}

.bos-grandchild-link {
    display: block;
    font-size: 0.78rem !important;
    color: var(--text-secondary) !important;
    padding: 4px 0;
    transition: color 0.2s;
}

.bos-grandchild-link:hover,
.bos-grandchild-link:active {
    color: var(--primary-main) !important;
}

.bos-grandchild-link.all-link {
    font-weight: 700 !important;
    color: var(--primary-main) !important;
}

/* Flat Link Category Card (Alternative Level-2 Item without grand children) */
.bos-subcategory-card-flat {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.5) !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    border-radius: 10px;
    padding: 10px 12px !important;
    text-decoration: none !important;
    transition: all 0.25s ease;
}

.bos-subcategory-card-flat:active {
    background: #FFF !important;
    border-color: rgba(157, 58, 143, 0.2) !important;
}

body.bos-scroll-locked {
    position: fixed;
    width: 100%;
}

/* --- 🛒 TASK 16: SHADI BEAUTY MINI-CART BRANDING OVERRIDES & COMPACTION --- */
#app-cart-sheet {
    background: rgba(255, 255, 255, 0.65) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    box-shadow: 0 -8px 32px rgba(157, 58, 143, 0.08) !important;
    color: var(--text-primary) !important;
}

#app-cart-sheet .bos-sheet-header {
    border-bottom: 1px solid rgba(157, 58, 143, 0.15) !important;
    padding: 10px 14px !important;
}

#app-cart-sheet .bos-sheet-title {
    font-size: 0.95rem !important;
    font-weight: 700 !important;
}

#app-cart-sheet .bos-sheet-body {
    padding: 10px 14px !important;
}

#app-cart-sheet .bos-sheet-footer {
    border-top: 1px solid rgba(157, 58, 143, 0.15) !important;
    padding: 10px 14px !important;
    gap: 8px !important;
}

#app-cart-sheet .bos-cart-item-row {
    border-bottom: 1px solid rgba(157, 58, 143, 0.08) !important;
    padding: 8px 0 !important;
    gap: 8px !important;
}

#app-cart-sheet .bos-item-thumb-wrapper {
    width: 54px !important;
    height: 54px !important;
    border-radius: 6px !important;
}

#app-cart-sheet .bos-item-title {
    font-size: 0.78rem !important;
    line-height: 1.35 !important;
}

#app-cart-sheet .bos-item-title a {
    color: var(--text-primary) !important;
}

#app-cart-sheet .bos-btn-primary {
    background: #ff6b6b !important;
    color: #FFFFFF !important;
    box-shadow: 0 4px 12px rgba(157, 58, 143, 0.25) !important;
    padding: 10px 30px !important;
    font-size: 0.85rem !important;
    border-radius: 50px !important;
}

#app-cart-sheet .bos-btn-primary:hover,
#app-cart-sheet .bos-btn-primary:active {
    background: var(--primary-main) !important;
    box-shadow: 0 6px 16px rgba(157, 58, 143, 0.35) !important;
}

#app-cart-sheet .bos-btn-secondary {
    background: transparent !important;
    color: #ff6b6b !important;
    border: 1px solid #ff6b6b !important;
    padding: 10px 30px !important;
    font-size: 0.85rem !important;
    border-radius: 50px !important;
}

#app-cart-sheet .bos-btn-secondary:hover,
#app-cart-sheet .bos-btn-secondary:active {
    background: rgba(157, 58, 143, 0.05) !important;
}

#app-cart-sheet .bos-quantity-selector {
    border-radius: 3px !important;
    border-color: rgba(157, 58, 143, 0.2) !important;
}

#app-cart-sheet .bos-qty-btn {
    color: var(--primary-main) !important;
    width: 22px !important;
    height: 22px !important;
    font-size: 0.9rem !important;
}

#app-cart-sheet .bos-qty-input {
    color: var(--text-primary) !important;
    border-left: 1px solid rgba(157, 58, 143, 0.15) !important;
    border-right: 1px solid rgba(157, 58, 143, 0.15) !important;
    width: 24px !important;
    height: 22px !important;
    font-size: 0.8rem !important;
}

#app-cart-sheet .bos-item-price {
    color: var(--primary-main) !important;
    font-weight: 700 !important;
    font-size: 0.8rem !important;
}

#app-cart-sheet .bos-cart-remove-item {
    font-size: 0.95rem !important;
}

/* --- 📱 SHADI BEAUTY MOBILE FOOTER GRID SYSTEM --- */
@media screen and (max-width: 768px) {
    .bos-global-footer .footer-columns-row.strict-three-cols {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 24px !important;
        text-align: right !important;
    }
    
    .bos-global-footer .footer-column {
        align-items: flex-start !important;
    }
    
    .bos-global-footer .footer-column.social-col {
        grid-column: 1 / span 2 !important;
        width: 100% !important;
        align-items: center !important;
        text-align: center !important;
        margin-top: 16px !important;
        border-top: 1px solid rgba(157, 58, 143, 0.15) !important;
        padding-top: 24px !important;
    }
    
    .bos-global-footer .social-icons-row {
        justify-content: center !important;
        display: flex !important;
    }
    
    .bos-global-footer .trust-seals-wrapper {
        justify-content: center !important;
        width: 100% !important;
        max-width: 300px !important;
        margin: 20px auto 0 auto !important;
        display: flex !important;
    }
}

/* ==========================================================================
   SHADI BEAUTY — CUSTOM PRODUCT CARD & FLUID GRID SYSTEM
   ========================================================================== */

/* WooCommerce Symmetrical Fluid Grid Overrides */
ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
    margin: 20px 0 !important;
    padding: 0 !important;
    list-style: none !important;
}
ul.products::before, ul.products::after {
    display: none !important; /* Remove float clear fix elements */
}
ul.products li.product {
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
}

@media (max-width: 1024px) {
    ul.products {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 16px !important;
    }
}
@media (max-width: 768px) {
    ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
}

/* Reset GP/Woo Default Card Wrapper */
.shadi-product-card-container.product.type-product {
    background: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: none !important;
    padding: 0 !important;
    box-shadow: none !important;
}
.shadi-product-card-container.product.type-product:hover {
    transform: none !important;
    box-shadow: none !important;
}

/* Glassmorphic Luxury Card Layout */
.shadi-product-card {
    background: rgba(255, 255, 255, 0.45) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 20px rgba(157, 58, 143, 0.04) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    overflow: hidden !important;
    position: relative !important;
    direction: rtl !important;
}
.shadi-product-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 8px 30px rgba(157, 58, 143, 0.08) !important;
}

/* Slot 1: Image Wrapper (with CSS Zoom) */
.shadi-product-image-wrapper {
    position: relative !important;
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    overflow: hidden !important;
    background: #ffffff !important;
    border-top-left-radius: 16px !important;
    border-top-right-radius: 16px !important;
}
.shadi-product-image-wrapper img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    transform: scale(1) !important;
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}
.shadi-product-image-wrapper:hover img {
    transform: scale(1.04) !important;
}

/* Slot 2: Meta Row */
.shadi-product-meta-row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 10px 12px 0 12px !important;
}
.shadi-product-brand {
    font-size: 0.75rem !important;
    color: #8E8E93 !important;
    font-weight: 500 !important;
}
.shadi-product-rating {
    display: inline-flex !important;
    align-items: center !important;
    background: rgba(255, 255, 255, 0.7) !important;
    padding: 2px 6px !important;
    border-radius: 20px !important;
    border: 1px solid rgba(157, 58, 143, 0.1) !important;
    font-size: 0.75rem !important;
}
.shadi-product-rating .star-icon {
    font-size: 0.7rem !important;
    margin-left: 2px !important;
}
.shadi-product-rating .rating-value {
    font-weight: bold !important;
    color: #333 !important;
}

/* Slot 3: Product Title */
.shadi-product-title {
    font-family: 'Vazirmatn', sans-serif !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    margin: 8px 12px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    height: 2.8rem !important;
    line-height: 1.4rem !important; /* Forces total containment within 2 lines */
    max-height: 2.8rem !important;
}
.shadi-product-title a {
    color: var(--text-primary, #2D2D2D) !important;
    transition: color 0.2s ease !important;
}
.shadi-product-title a:hover {
    color: var(--primary-main, #9D3A8F) !important;
}

/* Slot 4: Action & Price Footer Row */
.shadi-product-footer-row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 0 12px 12px 12px !important;
    margin-top: auto !important;
}
.shadi-product-price-block {
    text-align: right !important;
    font-weight: bold !important;
    font-size: 1rem !important;
    color: #2D2D2D !important;
}
.shadi-product-price-block del {
    font-size: 0.75rem !important;
    color: #999 !important;
    margin-left: 6px !important;
    display: inline-block !important;
}
.shadi-product-price-block ins {
    text-decoration: none !important;
    font-weight: bold !important;
    color: #2D2D2D !important;
}
.shadi-product-price-block .woocommerce-Price-currencySymbol {
    font-size: 0.75rem !important;
    font-weight: normal !important;
    opacity: 0.65 !important;
    margin-right: 2px !important;
}
.shadi-product-action-block {
    display: flex !important;
    align-items: center !important;
}
.shadi-product-atc-btn {
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    background: linear-gradient(180deg, rgba(255, 130, 130, 0.9) 0%, rgba(255, 80, 80, 0.9) 100%) !important;
    backdrop-filter: blur(4px) !important;
    -webkit-backdrop-filter: blur(4px) !important;
    color: #ffffff !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.25rem !important;
    font-weight: bold !important;
    text-decoration: none !important;
    border: 1px solid rgba(255, 255, 255, 0.6) !important;
    cursor: pointer !important;
    box-shadow: 
        inset 0 3px 5px rgba(255, 255, 255, 0.5), /* انعکاس نور بالای آبنبات */
        inset 0 -3px 5px rgba(0, 0, 0, 0.15),      /* سایه داخلی پایین */
        0 8px 16px rgba(255, 107, 107, 0.25) !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
}
.shadi-product-atc-btn:hover {
    background: linear-gradient(180deg, rgba(255, 140, 140, 0.95) 0%, rgba(255, 90, 90, 0.95) 100%) !important;
    border-color: rgba(255, 255, 255, 0.6) !important;
    color: var(--brand-primary, #9D3A8F) !important;
    transform: translateY(-1px) !important;
    box-shadow: 
        inset 0 4px 6px rgba(255, 255, 255, 0.6), 
        inset 0 -2px 4px rgba(0, 0, 0, 0.1),
        0 12px 20px rgba(255, 107, 107, 0.4) !important;
}
.shadi-product-details-btn {
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    background: #eaeaea !important;
    color: #555 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1rem !important;
    font-weight: bold !important;
    text-decoration: none !important;
    transition: transform 0.2s ease !important;
}
.shadi-product-details-btn:hover {
    transform: scale(1.1) !important;
}

/* Eradicate bullets and secondary view-cart elements */
ul.products, ul.products li, .products ul, .products li {
    list-style: none !important;
    list-style-type: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
a.added_to_cart.wc-forward {
    display: none !important;
}
.woocommerce-message, .woocommerce-error, .woocommerce-info {
    display: none !important;
}

/* WOOCOMMERCE PAGINATION FROSTED GLASSMOURPHISM */
.woocommerce-pagination {
    text-align: center !important;
    margin: 40px 0 !important;
    width: 100% !important;
}
.woocommerce-pagination ul.page-numbers {
    display: inline-flex !important;
    gap: 8px !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
}
.woocommerce-pagination ul.page-numbers li {
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
}
.woocommerce-pagination ul.page-numbers li .page-numbers {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 40px !important;
    height: 40px !important;
    padding: 0 8px !important;
    background: rgba(255, 255, 255, 0.55) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border-radius: 8px !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: #4A4A4A !important;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    cursor: pointer !important;
}
.woocommerce-pagination ul.page-numbers li .page-numbers.current,
.woocommerce-pagination ul.page-numbers li .page-numbers:hover {
    background: rgba(255, 255, 255, 0.85) !important;
    border-color: rgba(157, 58, 143, 0.5) !important;
    color: #9D3A8F !important;
    box-shadow: 0 4px 15px rgba(157, 58, 143, 0.1) !important;
}

/* ==========================================================================
   🔮 SHADI BEAUTY Bespoke AJAX WooCommerce Filters styling
   ========================================================================== */

/* 1. Shop Layout Symmetry on Desktop */
@media screen and (min-width: 769px) {
    .shared-shop-layout {
        display: grid !important;
        grid-template-columns: 280px 1fr !important;
        gap: 32px !important;
        align-items: start !important;
        direction: rtl !important;
    }
    .shared-shop-sidebar {
        position: sticky !important;
        top: 100px !important;
        z-index: 10 !important;
    }
    #sbpf-mobile-trigger {
        display: none !important;
    }
    .sbpf-panel-header {
        display: none !important;
    }
}

/* 2. Mobile Drawer & Backdrop */
@media screen and (max-width: 768px) {
    .shared-shop-layout {
        display: block !important;
        direction: rtl !important;
    }
    .sbpf-filter-panel {
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 320px !important;
        max-width: 85vw !important;
        height: 100vh !important;
        z-index: 100000 !important;
        background: rgba(255, 255, 255, 0.9) !important;
        backdrop-filter: blur(20px) saturate(190%) !important;
        -webkit-backdrop-filter: blur(20px) saturate(190%) !important;
        border-left: 1px solid rgba(255, 255, 255, 0.4) !important;
        box-shadow: -10px 0 40px rgba(157, 58, 143, 0.15) !important;
        transform: translateX(100%) !important;
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
        display: flex !important;
        flex-direction: column !important;
    }
    .sbpf-filter-panel.is-open {
        transform: translateX(0) !important;
    }
    .sbpf-panel-header {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 16px 20px !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
        background: rgba(255, 255, 255, 0.5) !important;
    }
    .sbpf-panel-header h3 {
        margin: 0 !important;
        font-size: 1.1rem !important;
        font-weight: 700 !important;
        color: var(--primary-dark) !important;
        font-family: 'Vazirmatn', sans-serif !important;
    }
    .sbpf-panel-close {
        background: rgba(157, 58, 143, 0.1) !important;
        border: none !important;
        color: var(--primary-main) !important;
        width: 32px !important;
        height: 32px !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        cursor: pointer !important;
        font-size: 1.2rem !important;
        transition: all 0.2s ease !important;
    }
    .sbpf-panel-close:hover {
        background: var(--primary-main) !important;
        color: #fff !important;
    }
    .sbpf-panel-body {
        flex: 1 !important;
        overflow-y: auto !important;
        padding: 20px !important;
    }
    .sbpf-panel-backdrop {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        background: rgba(107, 40, 99, 0.4) !important;
        backdrop-filter: blur(4px) !important;
        -webkit-backdrop-filter: blur(4px) !important;
        z-index: 99999 !important;
        opacity: 0 !important;
        pointer-events: none !important;
        transition: opacity 0.4s ease !important;
    }
    .sbpf-panel-backdrop.is-open {
        opacity: 1 !important;
        pointer-events: auto !important;
    }
    
    /* Sticky Mobile Trigger Floating Button */
    .sbpf-mobile-trigger-btn {
        position: fixed !important;
        bottom: 80px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        background: var(--primary-main) !important;
        color: #fff !important;
        border: none !important;
        padding: 12px 24px !important;
        border-radius: 30px !important;
        font-weight: 700 !important;
        font-size: 0.95rem !important;
        box-shadow: 0 8px 25px rgba(157, 58, 143, 0.35) !important;
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        cursor: pointer !important;
        z-index: 999 !important;
        transition: all 0.3s ease !important;
        font-family: 'Vazirmatn', sans-serif !important;
    }
    .sbpf-mobile-trigger-btn:hover {
        background: var(--primary-dark) !important;
        transform: translateX(-50%) translateY(-2px) !important;
        box-shadow: 0 10px 30px rgba(157, 58, 143, 0.5) !important;
    }
}

/* 3. Luxury Glassmorphic Panel (Desktop Viewport) */
@media screen and (min-width: 769px) {
    .sbpf-filter-panel {
        background: rgba(255, 255, 255, 0.55) !important;
        backdrop-filter: blur(16px) saturate(190%) !important;
        -webkit-backdrop-filter: blur(16px) saturate(190%) !important;
        border: 1px solid rgba(255, 255, 255, 0.4) !important;
        border-radius: 16px !important;
        padding: 24px !important;
        box-shadow: 0 8px 32px 0 rgba(157, 58, 143, 0.05) !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 24px !important;
    }
}

/* 4. Active Chips Layout Styling */
.sbpf-active-chips {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin-bottom: 24px !important;
    align-items: center !important;
    padding: 12px !important;
    background: rgba(255, 255, 255, 0.4) !important;
    backdrop-filter: blur(8px) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 12px !important;
}
.sbpf-chip {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    background: rgba(157, 58, 143, 0.08) !important;
    border: 1px solid rgba(157, 58, 143, 0.2) !important;
    color: var(--primary-dark) !important;
    padding: 6px 14px !important;
    border-radius: 20px !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    transition: all 0.2s ease !important;
    font-family: 'Vazirmatn', sans-serif !important;
}
.sbpf-chip:hover {
    background: rgba(157, 58, 143, 0.15) !important;
    border-color: rgba(157, 58, 143, 0.4) !important;
}
.sbpf-chip.is-archive-context {
    background: rgba(255, 107, 107, 0.08) !important;
    border: 1px solid rgba(255, 107, 107, 0.3) !important;
    color: var(--accent-deep) !important;
}
.sbpf-chip.is-archive-context:hover {
    background: rgba(255, 107, 107, 0.15) !important;
}
.sbpf-chip-remove {
    background: transparent !important;
    border: none !important;
    color: inherit !important;
    font-size: 1.1rem !important;
    cursor: pointer !important;
    line-height: 1 !important;
    padding: 0 !important;
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 0.6 !important;
    transition: opacity 0.2s ease !important;
}
.sbpf-chip-remove:hover {
    opacity: 1 !important;
}
.sbpf-chips-clear-all {
    background: transparent !important;
    border: none !important;
    color: var(--accent-deep) !important;
    font-weight: 700 !important;
    font-size: 0.85rem !important;
    cursor: pointer !important;
    padding: 4px 8px !important;
    transition: all 0.2s ease !important;
    font-family: 'Vazirmatn', sans-serif !important;
    text-decoration: underline !important;
}
.sbpf-chips-clear-all:hover {
    color: var(--accent-warm) !important;
}

/* 5. Clear All Filters Button in Sidebar */
.sbpf-clear-action-wrapper {
    margin-bottom: 16px !important;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.08) !important;
    padding-bottom: 16px !important;
}
.sbpf-clear-all-btn {
    width: 100% !important;
    background: rgba(255, 107, 107, 0.1) !important;
    border: 1px dashed var(--accent-warm) !important;
    color: var(--accent-deep) !important;
    padding: 10px !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    font-size: 0.9rem !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    font-family: 'Vazirmatn', sans-serif !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.sbpf-clear-all-btn:hover {
    background: var(--accent-warm) !important;
    color: #fff !important;
}

/* 6. Accordion styling */
.sbpf-accordion-group {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
    padding-bottom: 16px !important;
    margin-bottom: 16px !important;
}
.sbpf-accordion-trigger {
    width: 100% !important;
    background: transparent !important;
    border: none !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 8px 0 !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    color: var(--text-primary) !important;
    cursor: pointer !important;
    font-family: 'Vazirmatn', sans-serif !important;
    transition: color 0.2s ease !important;
}
.sbpf-accordion-trigger:hover {
    color: var(--primary-main) !important;
}
.sbpf-accordion-trigger i {
    font-size: 1.2rem !important;
    transition: transform 0.3s ease !important;
    color: var(--text-secondary) !important;
}
.sbpf-accordion-group.is-open .sbpf-accordion-trigger i {
    transform: rotate(0) !important;
}
.sbpf-accordion-group:not(.is-open) .sbpf-accordion-trigger i {
    transform: rotate(180deg) !important;
}
.sbpf-accordion-content {
    overflow: hidden !important;
    transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* 7. Switch Toggle Custom Styling */
.sbpf-filter-toggle-group {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 10px 0 !important;
    margin-bottom: 8px !important;
}
.sbpf-toggle-label {
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    color: var(--text-primary) !important;
}
.sbpf-switch {
    position: relative !important;
    display: inline-block !important;
    width: 44px !important;
    height: 24px !important;
    cursor: pointer !important;
}
.sbpf-switch input {
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
}
.sbpf-slider-round {
    position: absolute !important;
    cursor: pointer !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background-color: #E0E0E0 !important;
    transition: .3s !important;
    border-radius: 24px !important;
}
.sbpf-slider-round:before {
    position: absolute !important;
    content: "" !important;
    height: 16px !important;
    width: 16px !important;
    left: 4px !important;
    bottom: 4px !important;
    background-color: white !important;
    transition: .3s !important;
    border-radius: 50% !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
}
.sbpf-switch input:checked + .sbpf-slider-round {
    background-color: var(--primary-main) !important;
}
.sbpf-switch input:checked + .sbpf-slider-round:before {
    transform: translateX(20px) !important;
}

/* 8. Checkboxes and Category Tree */
.sbpf-category-tree, .sbpf-brand-list {
    margin: 0 !important;
    padding: 8px 0 0 0 !important;
    list-style: none !important;
}
.sbpf-cat-item {
    margin-bottom: 8px !important;
    list-style: none !important;
}
.sbpf-checkbox-row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
}
.sbpf-checkbox-label {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    cursor: pointer !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    color: var(--text-secondary) !important;
    user-select: none !important;
    flex: 1 !important;
}
.sbpf-checkbox-label input {
    display: none !important;
}
.checkbox-box {
    width: 18px !important;
    height: 18px !important;
    border: 2px solid #C0C0C0 !important;
    border-radius: 4px !important;
    background: #fff !important;
    display: inline-block !important;
    position: relative !important;
    transition: all 0.2s ease !important;
}
.sbpf-checkbox-label input:checked + .checkbox-box {
    background: var(--primary-main) !important;
    border-color: var(--primary-main) !important;
}
.sbpf-checkbox-label input:checked + .checkbox-box:after {
    content: "" !important;
    position: absolute !important;
    left: 5px !important;
    top: 2px !important;
    width: 5px !important;
    height: 9px !important;
    border: solid white !important;
    border-width: 0 2px 2px 0 !important;
    transform: rotate(45deg) !important;
}
.sbpf-checkbox-label:hover .checkbox-box {
    border-color: var(--primary-main) !important;
}
.term-name {
    transition: color 0.2s ease !important;
}
.sbpf-checkbox-label:hover .term-name {
    color: var(--primary-dark) !important;
}
.term-count {
    font-size: 0.8rem !important;
    color: #9E9E9E !important;
    margin-right: 4px !important;
}

/* Caret triggers for sub-tree collapse */
.sbpf-cat-toggle {
    background: transparent !important;
    border: none !important;
    color: var(--text-secondary) !important;
    cursor: pointer !important;
    width: 24px !important;
    height: 24px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 4px !important;
    transition: all 0.2s ease !important;
}
.sbpf-cat-toggle:hover {
    background: rgba(157, 58, 143, 0.08) !important;
    color: var(--primary-main) !important;
}
.sbpf-cat-toggle i {
    font-size: 1rem !important;
}
.sbpf-child-tree, .sbpf-grandchild-tree {
    list-style: none !important;
    margin: 4px 16px 8px 0 !important;
    padding: 0 !important;
    border-right: 1px solid rgba(0, 0, 0, 0.05) !important;
    padding-right: 12px !important;
}

/* 9. Price Slider and Inputs Styling */
.sbpf-price-slider-wrapper {
    padding: 12px 4px 4px 4px !important;
}
.sbpf-price-inputs-row {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
    margin-bottom: 20px !important;
}
.sbpf-price-input-field {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
}
.sbpf-price-input-field .field-label {
    font-size: 0.75rem !important;
    color: var(--text-secondary) !important;
    font-weight: 600 !important;
}
.sbpf-price-input-field input {
    width: 100% !important;
    padding: 8px 12px !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    border-radius: 6px !important;
    background: rgba(255, 255, 255, 0.5) !important;
    color: var(--text-primary) !important;
    font-size: 0.85rem !important;
    font-family: 'Vazirmatn', sans-serif !important;
    outline: none !important;
    transition: all 0.2s ease !important;
    text-align: center !important;
}
.sbpf-price-input-field input:focus {
    border-color: var(--primary-main) !important;
    background: #fff !important;
    box-shadow: 0 0 0 3px rgba(157, 58, 143, 0.1) !important;
}

/* noUiSlider Custom Luxury Glass theme overrides */
.sbpf-noui-slider.noUi-target {
    background: rgba(0, 0, 0, 0.05) !important;
    border: none !important;
    box-shadow: none !important;
    height: 6px !important;
    border-radius: 4px !important;
    margin: 10px 8px !important;
}
.sbpf-noui-slider .noUi-connect {
    background: var(--primary-main) !important;
}
.sbpf-noui-slider .noUi-handle {
    border: 2px solid #fff !important;
    background: var(--primary-main) !important;
    width: 18px !important;
    height: 18px !important;
    border-radius: 50% !important;
    box-shadow: 0 3px 8px rgba(157, 58, 143, 0.3) !important;
    cursor: grab !important;
    top: -6px !important;
    right: -9px !important; /* Adjust for RTL handles */
}
.sbpf-noui-slider .noUi-handle:before,
.sbpf-noui-slider .noUi-handle:after {
    display: none !important; /* Hide default inner notches */
}
.sbpf-noui-slider .noUi-handle:active {
    cursor: grabbing !important;
    transform: scale(1.1) !important;
}

/* Loading/Skeleton CSS Overlay tweaks */
.woocommerce-products-header {
    margin-bottom: 20px !important;
}
.sbpf-no-results {
    font-size: 1.05rem !important;
    font-weight: 600 !important;
    color: var(--text-secondary) !important;
    text-align: center !important;
    padding: 40px 0 !important;
    width: 100% !important;
}
.shared-shop-loop-container.is-loading {
    opacity: 0.55 !important;
    pointer-events: none !important;
    transition: opacity 0.25s ease !important;
}

/* 🧪 CUSTOM SORTING DROPDOWN OVERLAY - SHADI BEAUTY */
.woocommerce-ordering {
    position: relative !important;
    display: inline-block !important;
}
.custom-sorting-dropdown {
    position: relative !important;
    display: inline-block !important;
    z-index: 100 !important;
}
.custom-sorting-trigger {
    background: rgba(255, 255, 255, 0.55) !important;
    backdrop-filter: blur(16px) saturate(190%) !important;
    -webkit-backdrop-filter: blur(16px) saturate(190%) !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    border-radius: 8px !important;
    padding: 8px 16px !important;
    font-size: 0.85rem !important;
    color: #2D2D2D !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    box-shadow: 0 4px 12px rgba(157, 58, 143, 0.05) !important;
    transition: all 0.2s ease !important;
    font-weight: 600 !important;
    font-family: 'Vazirmatn', sans-serif !important;
}
.custom-sorting-trigger:hover,
.custom-sorting-trigger.is-open {
    background: rgba(255, 255, 255, 0.75) !important;
    border-color: var(--primary-light) !important;
}
.custom-sorting-trigger i.caret-icon {
    transition: transform 0.2s ease !important;
}
.custom-sorting-trigger.is-open i.caret-icon {
    transform: rotate(180deg) !important;
}
.custom-sorting-options {
    position: absolute !important;
    top: 100% !important;
    right: 0 !important;
    margin-top: 6px !important;
    min-width: 200px !important;
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(20px) saturate(190%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(190%) !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    border-radius: 8px !important;
    box-shadow: 0 8px 24px rgba(157, 58, 143, 0.1) !important;
    padding: 6px !important;
    display: none;
    flex-direction: column !important;
    gap: 2px !important;
}
.custom-sorting-options.is-open {
    display: flex !important;
}
.custom-sorting-option {
    padding: 8px 12px !important;
    border-radius: 6px !important;
    font-size: 0.85rem !important;
    color: #2D2D2D !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    text-align: right !important;
    font-weight: 500 !important;
}
.custom-sorting-option:hover,
.custom-sorting-option.is-active {
    background: var(--primary-subtle) !important;
    color: var(--primary-main) !important;
    font-weight: 600 !important;
}

/* 🪐 STICKY CONVERSION BAR - SHADI BEAUTY */
.sticky-atc-shadi {
    background: rgba(255, 255, 255, 0.65) !important;
    backdrop-filter: blur(20px) saturate(190%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(190%) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.4) !important;
    box-shadow: 0 -8px 32px rgba(157, 58, 143, 0.08) !important;
}
@media screen and (min-width: 769px) {
    .sticky-atc-shadi {
        border-top: none !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.4) !important;
        box-shadow: 0 8px 32px rgba(157, 58, 143, 0.08) !important;
    }
}
.sticky-atc-shadi .sticky-atc-container {
    max-width: 1250px !important;
    margin: 0 auto !important;
    padding: 10px 20px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    height: 70px !important;
}
.sticky-atc-shadi .sticky-atc-product-info {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}
.sticky-atc-shadi .sticky-atc-thumb {
    width: 50px !important;
    height: 50px !important;
    border-radius: 6px !important;
    object-fit: cover !important;
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
}
.sticky-atc-shadi .sticky-atc-meta {
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
    text-align: right !important;
}
.sticky-atc-shadi .sticky-atc-title {
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    color: #2D2D2D !important;
}
.sticky-atc-shadi .sticky-atc-price {
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    color: #2D2D2D !important;
}
.sticky-atc-shadi .sticky-atc-price ins {
    text-decoration: none !important;
    color: var(--primary-main) !important;
    font-weight: 700 !important;
}
.sticky-atc-shadi .sticky-atc-price del {
    font-size: 0.75rem !important;
    color: #888 !important;
    margin-left: 6px !important;
}
.sticky-atc-shadi #sticky-atc-submit {
    background-color: var(--primary-main) !important;
    color: #FFFFFF !important;
    padding: 10px 24px !important;
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    border: none !important;
    box-shadow: 0 4px 12px rgba(157, 58, 143, 0.25) !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}
.sticky-atc-shadi #sticky-atc-submit:hover {
    background-color: var(--primary-dark) !important;
    transform: translateY(-1px) !important;
}
.sticky-atc-shadi .sticky-atc-outofstock {
    background-color: #E0E0E0 !important;
    color: #888888 !important;
    padding: 10px 24px !important;
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    display: inline-block !important;
}

@media screen and (max-width: 768px) {
    .sticky-atc-shadi .sticky-atc-thumb,
    .sticky-atc-shadi .sticky-atc-title {
        display: none !important;
    }
    .sticky-atc-shadi .sticky-atc-container {
        height: 60px !important;
        padding: 6px 16px !important;
    }
    .sticky-atc-shadi .sticky-atc-product-info {
        display: flex !important;
        align-items: center !important;
        gap: 0 !important;
    }
    .sticky-atc-shadi .sticky-atc-meta {
        flex-direction: row !important;
        align-items: center !important;
    }
    .sticky-atc-shadi .sticky-atc-price {
        font-size: 1.05rem !important;
        font-weight: 700 !important;
    }
    .sticky-atc-shadi #sticky-atc-submit {
        padding: 10px 20px !important;
        font-size: 0.9rem !important;
    }
}

/* 🏷️ CUSTOM LUXURY SALE BADGE - SHADI BEAUTY */
.shadi-beauty-child .onsale,
.shadi-beauty-child span.onsale {
    display: none !important; /* suppress standard WC onsale badge */
}
.shadi-sale-badge {
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    background: rgba(157, 58, 143, 0.12) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    border: 1px solid rgba(157, 58, 143, 0.25) !important;
    color: var(--primary-main) !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    padding: 3px 9px !important;
    border-radius: 20px !important;
    z-index: 5 !important;
    font-family: 'Vazirmatn', sans-serif !important;
}

/* 🚫 SUPPRESS DUPLICATE STICKY WRAPPER COLLISIONS */
#shadi-sticky-wrapper,
.shadi-atc-desktop,
.shadi-atc-mobile {
    display: none !important;
}

/* 🔮 SHADI LUXURY GLASSMORPHISM ACCORDIONS & SINGLE OVERRIDES */

/* Refined, compact, upscale title */
.shared-product-title,
.woocommerce-products-header__title,
.product_title.entry-title {
    font-size: 1.6rem !important;
    font-weight: 800 !important;
    line-height: 1.4 !important;
    color: #1a1a1a !important;
    margin-bottom: 12px !important;
}

/* Related Products header section text aesthetic */
.shared-single-product-related h2,
.related.products h2 {
    font-size: 1.3rem !important;
    font-weight: 700 !important;
    margin-bottom: 20px !important;
    color: #1a1a1a !important;
    text-align: right !important;
}

/* Minimize WooCommerce categories, tags, SKU lists */
.product_meta {
    font-size: 0.75rem !important;
    color: #888888 !important;
    border-top: 1px solid rgba(0,0,0,0.05);
    padding-top: 15px;
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.product_meta > span {
    display: inline-flex;
    align-items: center;
}
.product_meta a {
    color: var(--primary-main) !important;
    font-weight: 500;
}

/* Main Accordion track container */
.bos-product-accordion {
    margin: 30px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Shadi Glassmorphism Accordion Section */
.bos-accordion-section {
    display: block !important;
    position: relative !important;
    width: 100% !important;
    margin-bottom: 12px !important;
    background: rgba(255, 255, 255, 0.55) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border-radius: 12px !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    overflow: hidden;
    transition: all 0.3s ease;
}
.bos-accordion-section.is-active {
    background: rgba(255, 255, 255, 0.7) !important;
    border-color: rgba(157, 58, 143, 0.2) !important;
    box-shadow: 0 8px 25px rgba(157, 58, 143, 0.04) !important;
}

/* Accordion Header */
.bos-accordion-header {
    width: 100%;
    background: none;
    border: none;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: 'Vazirmatn', sans-serif !important;
    font-size: 0.95rem;
    font-weight: 700;
    color: #2D2D2D !important;
    outline: none;
    transition: color 0.2s ease;
}
.bos-accordion-header:hover {
    color: var(--primary-main) !important;
}
.bos-accordion-header i {
    font-size: 1.2rem;
    color: var(--text-secondary);
    transition: transform 0.2s ease;
}
.bos-accordion-section.is-active .bos-accordion-header i {
    color: var(--primary-main);
}

/* Accordion Content */
.bos-accordion-content {
    display: block !important;
    position: relative !important;
    clear: both !important;
    padding: 16px 20px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    font-size: 0.9rem;
    line-height: 1.7;
    color: #444;
}

/* Ingredients Table style */
.shadi-ingredients-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}
.shadi-ingredients-table th {
    text-align: right;
    padding: 10px;
    border-bottom: 2px solid rgba(157, 58, 143, 0.1);
    font-weight: 700;
    color: var(--primary-main);
}
.shadi-ingredients-table td {
    padding: 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.shadi-ingredients-table tr:last-child td {
    border-bottom: none;
}
.shadi-ingredients-table .ingredient-name {
    font-weight: 600;
    color: #1a1a1a;
    width: 30%;
}
.shadi-ingredients-table .ingredient-desc {
    color: #555;
}

/* Shadi Beauty Trust & Conversion Grid */
.shadi-trust-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 20px 0;
    padding: 15px;
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 12px;
    backdrop-filter: blur(8px);
}
.shadi-trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #3d3d3d;
}
.shadi-trust-item i {
    font-size: 1.15rem;
    color: var(--primary-main);
}

/* Review AJAX Voting styling */
.bos-review-actions {
    display: flex;
    gap: 12px;
    margin-top: 12px;
}
.bos-review-vote-btn {
    background: rgba(255, 255, 255, 0.6) !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-radius: 20px !important;
    padding: 6px 14px !important;
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    color: #555 !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.2s ease !important;
}
.bos-review-vote-btn i {
    font-size: 0.9rem;
}
.bos-review-vote-btn:hover:not(:disabled) {
    background: var(--primary-subtle) !important;
    border-color: var(--primary-light) !important;
    color: var(--primary-main) !important;
}
.bos-review-vote-btn.voted {
    opacity: 0.7;
    cursor: not-allowed;
    background: #f1f5f9 !important;
    border-color: #cbd5e1 !important;
    color: #94a3b8 !important;
}

/* FAQ item triggers */
.bos-faq-item {
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding-bottom: 8px;
    margin-bottom: 8px;
}
.bos-faq-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}
.bos-faq-trigger {
    width: 100%;
    text-align: right;
    background: none;
    border: none;
    padding: 8px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: 'Vazirmatn', sans-serif !important;
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
}
.bos-faq-trigger:hover {
    color: var(--primary-main);
}
.bos-faq-trigger i {
    font-size: 1.1rem;
    color: #888;
}
.bos-faq-item.is-active .bos-faq-trigger {
    color: var(--primary-main);
}
.bos-faq-item.is-active .bos-faq-trigger i {
    color: var(--primary-main);
    transform: rotate(0deg);
}
.bos-faq-content {
    font-size: 0.85rem;
    line-height: 1.6;
    color: #666;
}

/* 🌟 SHADI BEAUTY REMEDIATIONS OVERRIDES */

/* Glassmorphism Quantity Input Override */
.quantity {
    background: rgba(255, 255, 255, 0.45) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
    border-radius: 8px !important;
}
.quantity button:hover {
    background: rgba(157, 58, 143, 0.05) !important;
    color: var(--primary-main, #9d3a8f) !important;
}

/* Shadi Frosted Luxury Add to Cart button override */
.single_add_to_cart_button {
    background: rgba(157, 58, 143, 0.85) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    padding: 16px 40px !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 32px 0 rgba(157, 58, 143, 0.3) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.single_add_to_cart_button:hover {
    background: rgba(157, 58, 143, 0.95) !important;
    box-shadow: 0 12px 40px 0 rgba(157, 58, 143, 0.45) !important;
    transform: translateY(-2px) scale(1.02) !important;
}

/* Micro, muted brand label above loop card titles */
.shadi-product-brand {
    font-size: 0.68rem !important;
    color: #a1a1aa !important; /* muted light gray */
    font-weight: 500 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
}

/* --- BATCH 1 OVERRIDES --- */
/* Price Typography Realignment */
.single-product .summary .price,
.single-product .summary .price .amount,
.single-product p.price,
.single-product .shared-product-price,
.single-product .shared-product-price .amount {
    color: #2D2D2D !important;
    font-weight: 800 !important;
    font-size: 1.8rem !important;
}

.single-product .summary .price .woocommerce-Price-currencySymbol,
.single-product p.price .woocommerce-Price-currencySymbol,
.single-product .shared-product-price .woocommerce-Price-currencySymbol {
    font-size: 0.85rem !important;
    font-weight: 400 !important;
    color: #6B6B6B !important;
    opacity: 0.75 !important;
    margin-right: 6px !important;
    display: inline-block !important;
}

/* Hide leaked replace button completely */
.shadi-main-replace-btn {
    display: none !important;
}

/* Related Products Downscaling & Symmetry */
.single-product .related.products h2 {
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    margin-bottom: 20px !important;
    color: #2D2D2D !important;
}
.single-product .related.products ul.products li.product .woocommerce-loop-product__title,
.single-product .related.products ul.products li.product .shadi-product-title,
.single-product .related.products ul.products li.product .shadi-product-title a {
    font-size: 0.85rem !important;
    line-height: 1.4rem !important;
    max-height: 2.8rem !important;
    height: 2.8rem !important;
    overflow: hidden !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    text-overflow: ellipsis !important;
    font-weight: 600 !important;
}

/* Defensive Pagination Override (Batch 2) */
.woocommerce-pagination ul.page-numbers,
ul.page-numbers,
.generate-sections-container .page-numbers,
div.nav-links .page-numbers {
    display: flex !important;
    flex-direction: row !important;
    list-style: none !important;
    list-style-type: none !important;
    margin: 24px auto !important;
    padding: 0 !important;
    gap: 8px !important;
    justify-content: center !important;
}

.woocommerce-pagination ul.page-numbers li,
ul.page-numbers li {
    list-style: none !important;
    list-style-type: none !important;
    display: inline-block !important;
    margin: 0 !important;
    padding: 0 !important;
}

.woocommerce-pagination ul.page-numbers li .page-numbers,
ul.page-numbers li a,
ul.page-numbers li span {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 40px !important;
    height: 40px !important;
    text-decoration: none !important;
}

/* Shadi Beauty Frosted Glass Accordion Style Override (Batch 2) */
.single-product .custom-accordion-item,
.woocommerce-tabs .custom-accordion-item {
    background: rgba(255, 255, 255, 0.55) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    transition: all 0.3s ease !important;
}

.single-product .custom-accordion-item.is-active,
.woocommerce-tabs .custom-accordion-item.is-active {
    background: rgba(255, 255, 255, 0.75) !important;
    border-color: rgba(157, 58, 143, 0.3) !important;
    box-shadow: 0 8px 32px 0 rgba(157, 58, 143, 0.08) !important;
}

.single-product .custom-accordion-trigger,
.woocommerce-tabs .custom-accordion-trigger {
    font-family: 'Vazirmatn', sans-serif !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    color: #2D2D2D !important;
    transition: color 0.2s ease !important;
}

.single-product .custom-accordion-trigger:hover,
.single-product .custom-accordion-item.is-active .custom-accordion-trigger {
    color: var(--primary-main) !important;
}

.single-product .custom-accordion-content,
.woocommerce-tabs .custom-accordion-content {
    font-size: 0.9rem !important;
    line-height: 1.7 !important;
    color: #444 !important;
}

/* 🌟 SHADI BEAUTY BATCH 3 REVIEWS UPLOADER OVERRIDES */
.bos-comment-textarea-wrapper textarea {
    background: rgba(255, 255, 255, 0.55) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 12px !important;
    transition: all 0.3s ease !important;
}

.bos-comment-textarea-wrapper textarea:focus {
    background: rgba(255, 255, 255, 0.75) !important;
    border-color: var(--primary-main) !important;
    box-shadow: 0 4px 20px rgba(157, 58, 143, 0.1) !important;
}

.bos-attach-btn i {
    color: var(--primary-main) !important;
}

.bos-attach-btn:hover i {
    color: #b04fa6 !important;
    transform: scale(1.1);
}

.bos-thumbnail-badge img {
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
    box-shadow: 0 4px 12px rgba(157, 58, 143, 0.08) !important;
}

/* --------------------------------------------------------------------------
   🌟 TASK 21: SHADI BEAUTY PREMIUM GLASSMORPHIC HERO CAROUSEL STYLES
   -------------------------------------------------------------------------- */
.bos-shadi-hero-carousel-wrapper {
    position: relative;
    width: 100%;
    margin-bottom: 40px;
    height: 520px;
    max-height: 60vh;
}

.bos-shadi-hero-carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(157, 58, 143, 0.05);
    overflow: hidden;
}

.bos-shadi-hero-slider {
    display: flex;
    width: 100%;
    height: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.bos-shadi-hero-slider::-webkit-scrollbar {
    display: none;
}

.bos-shadi-hero-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    scroll-snap-align: start;
    position: relative;
}

.bos-shadi-hero-slide-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

.bos-shadi-hero-slide picture {
    display: block;
    width: 100%;
    height: 100%;
}

.bos-shadi-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bos-shadi-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.06);
    pointer-events: none;
}

/* Luxury Frosted Control Arrows */
.bos-shadi-hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.45) !important;
    color: #1a1a1a !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    z-index: 10 !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05) !important;
}

.bos-shadi-hero-arrow:hover {
    background: rgba(255, 255, 255, 0.55) !important;
    transform: translateY(-50%) scale(1.05) !important;
    color: var(--primary-main) !important;
    border-color: rgba(255, 255, 255, 0.65) !important;
}

.bos-shadi-hero-arrow.prev {
    right: 24px !important;
}

.bos-shadi-hero-arrow.next {
    left: 24px !important;
}

.bos-shadi-hero-arrow i {
    font-size: 1.4rem !important;
    line-height: 1 !important;
}

/* Thin Tracker Dots */
.bos-shadi-hero-dots-container {
    position: absolute !important;
    bottom: 24px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 10 !important;
    background: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    padding: 6px 12px !important;
    border-radius: 20px !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.bos-shadi-hero-dots {
    display: flex !important;
    gap: 8px !important;
    align-items: center !important;
}

.bos-shadi-hero-dot {
    width: 20px !important;
    height: 3px !important;
    border-radius: 2px !important;
    background: rgba(255, 255, 255, 0.4) !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

.bos-shadi-hero-dot.active {
    background: #ffffff !important;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.8) !important;
    width: 32px !important;
}

@media (max-width: 1024px) {
    .bos-shadi-hero-carousel-wrapper {
        height: 400px !important;
        max-height: 50vh !important;
        margin-bottom: 30px !important;
    }
    .bos-shadi-hero-arrow {
        width: 40px !important;
        height: 40px !important;
    }
    .bos-shadi-hero-arrow.prev {
        right: 16px !important;
    }
    .bos-shadi-hero-arrow.next {
        left: 16px !important;
    }
}

@media (max-width: 768px) {
    .bos-shadi-hero-carousel-wrapper {
        height: 300px !important;
        max-height: 40vh !important;
        margin-bottom: 20px !important;
    }
    .bos-shadi-hero-dots-container {
        bottom: 12px !important;
        padding: 4px 10px !important;
    }
    .bos-shadi-hero-dot {
        width: 12px !important;
        height: 2px !important;
    }
    .bos-shadi-hero-dot.active {
        width: 20px !important;
    }
}
/* ==========================================================================
   🏔️ TASK 22: SHADI BEAUTY CURATED FEATURED CATEGORIES NAVIGATION RIBBON
   ========================================================================== */
.homepage-category-ribbon {
    padding: 30px 0 15px 0;
    background: transparent;
    width: 100%;
}
.homepage-category-row {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
    width: 100%;
}
.homepage-category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none !important;
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.homepage-category-circle-wrapper {
    position: relative;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(157, 58, 143, 0.25);
    box-shadow: 0 8px 20px rgba(157, 58, 143, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.homepage-category-circle-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.4);
    background: transparent;
    pointer-events: none;
    z-index: 2;
    box-sizing: border-box;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.homepage-category-item:hover .homepage-category-circle-wrapper::after {
    border-color: rgba(255, 255, 255, 0.75);
}
.homepage-category-img {
    width: 100% !important;
    height: 100% !important;
    padding: 10px !important; /* Creates inner margin from the circular border */
    box-sizing: border-box !important;
    object-fit: cover; /* Stretch defense */
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.homepage-category-label {
    margin-top: 14px;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    padding: 6px 16px;
    border-radius: 20px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}
.homepage-category-item:hover .homepage-category-circle-wrapper {
    transform: translateY(-6px) scale(1.05);
    border-color: var(--primary-main);
    box-shadow: 0 15px 35px rgba(157, 58, 143, 0.18);
}
.homepage-category-item:hover .homepage-category-img {
    transform: scale(1.08);
}
.homepage-category-item:hover .homepage-category-label {
    background: rgba(157, 58, 143, 0.12);
    color: var(--primary-main);
    border-color: rgba(157, 58, 143, 0.3);
    box-shadow: 0 6px 15px rgba(157, 58, 143, 0.08);
}

/* Touch-Swipe Scroll for Mobile & Tablet (<= 1024px) */
@media (max-width: 1024px) {
    .homepage-category-row {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        white-space: nowrap !important;
        padding: 10px 4px 20px 4px !important;
        -webkit-overflow-scrolling: touch !important;
        gap: 20px !important;
        scrollbar-width: none; /* Hide standard Firefox scrollbars */
    }
    .homepage-category-row::-webkit-scrollbar {
        display: none; /* Hide Chrome/Safari scrollbars */
    }
    .homepage-category-item,
    .homepage-category-ribbon .wp-block-column,
    .homepage-category-ribbon [class*="column"] {
        flex: 0 0 23% !important; /* Adjust percentage slightly (e.g., 22%-24%) to ensure the 4th/5th column peeks cleanly */
        min-width: 85px !important;
    }
    .homepage-category-circle-wrapper {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 576px) {
    .homepage-category-item,
    .homepage-category-ribbon .wp-block-column,
    .homepage-category-ribbon [class*="column"] {
        flex: 0 0 28% !important; /* Forces 4th/5th/6th to peek on smaller screens */
        min-width: 80px !important;
    }
    .homepage-category-circle-wrapper {
        width: 80px;
        height: 80px;
    }
    .homepage-category-label {
        font-size: 0.85rem;
        padding: 4px 12px;
    }
}

/* Dynamic Random Showcase Grid responsive layout matrix (Task 23) */
.bos-random-showcase-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
@media (max-width: 1024px) {
    .bos-random-showcase-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 16px;
    }
}
@media (max-width: 768px) {
    .bos-random-showcase-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px;
    }
}

/* Premium Brands Ribbon Styles (Task 24) */
.bos-shadi-brand-logo-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 2.5 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.bos-shadi-brand-logo-img {
  object-fit: contain !important;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  filter: grayscale(100%);
  opacity: 0.55;
  transition: filter 0.4s ease, opacity 0.4s ease;
}
.bos-shadi-brand-card-glass {
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}
.bos-shadi-brand-card-glass:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.65);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
}
.bos-shadi-brand-card-glass:hover .bos-shadi-brand-logo-img {
  filter: grayscale(0%);
  opacity: 1;
}
.bos-shadi-brands-showcase-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}
@media (max-width: 1024px) {
  .bos-shadi-brands-showcase-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    grid-template-rows: repeat(2, 1fr) !important;
    gap: 12px;
  }
}

/* 🪐 LUXURY TRUST BADGES SINGLE ROW (TASK 25) */
.bos-shadi-glass-badges-container {
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 14px;
    padding: 12px 24px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 16px;
    margin: 24px 0;
}
.bos-shadi-glass-badge-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #1a1a1a;
    font-weight: 700;
    font-size: 0.95rem;
    white-space: nowrap;
}
.bos-shadi-glass-badge-item i {
    font-size: 1.35rem;
    color: var(--bos-shadi-brand, #9d227e);
}
@media (max-width: 768px) {
    .bos-shadi-glass-badges-container {
        padding: 8px 12px;
        gap: 8px;
        justify-content: space-between;
    }
    .bos-shadi-glass-badge-item {
        font-size: 0.75rem;
        gap: 4px;
    }
    .bos-shadi-glass-badge-item i {
        font-size: 1rem;
    }
}

/* 🪐 BEST-SELLER CAROUSEL SECTION (TASK 26) */
.bos-best-seller-carousel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    border-bottom: 1px solid #eaeaea;
    padding-bottom: 12px;
    margin-top: 40px;
}
.bos-best-seller-carousel-title {
    font-size: 20px;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0;
    border-right: 3px solid #ef4444;
    padding-right: 10px;
    line-height: 1;
}
.bos-best-seller-view-all {
    color: #ef4444;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s ease;
}
.bos-best-seller-view-all:hover {
    color: #b91c1c;
}
.bos-best-seller-carousel-wrapper {
    position: relative;
    width: 100%;
}
.bos-best-seller-carousel-container {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    display: flex;
    width: 100%;
}
.bos-best-seller-carousel-container::-webkit-scrollbar {
    display: none;
}
.bos-best-seller-carousel-track {
    display: flex;
    width: 100%;
}
.bos-best-seller-product-item {
    flex: 0 0 25%;
    scroll-snap-align: start;
    box-sizing: border-box;
    padding: 0 12px;
}
@media (max-width: 1024px) {
    .bos-best-seller-product-item {
        flex: 0 0 33.333%;
        padding: 0 10px;
    }
}
@media (max-width: 768px) {
    .bos-best-seller-product-item {
        flex: 0 0 50%;
        padding: 0 6px;
    }
}

/* Controls */
.bos-best-seller-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #1a1a1a;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    padding: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.bos-best-seller-arrow:hover {
    background: var(--bos-shadi-brand, #9d227e);
    color: #ffffff;
    border-color: var(--bos-shadi-brand, #9d227e);
    box-shadow: 0 6px 16px rgba(157, 34, 126, 0.2);
}
.bos-best-seller-arrow.prev {
    right: -22px;
}
.bos-best-seller-arrow.next {
    left: -22px;
}
@media (max-width: 1280px) {
    .bos-best-seller-arrow.prev { right: 8px; }
    .bos-best-seller-arrow.next { left: 8px; }
}

.bos-best-seller-dots-container {
    display: flex;
    justify-content: center;
    margin-top: 24px;
}
.bos-best-seller-dots {
    display: flex;
    gap: 8px;
}
.bos-best-seller-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: all 0.3s ease;
}
.bos-best-seller-dot.active {
    background: var(--bos-shadi-brand, #9d227e);
    width: 18px;
    border-radius: 4px;
}

/* 🪐 TRIPLE MID-PAGE BANNER ENVELOPES (TASK 27) */
.bos-shadi-mid-banners-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 40px 0;
}
.bos-shadi-mid-banner-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.bos-shadi-mid-banner-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(157, 34, 126, 0.1);
}
.bos-shadi-mid-banner-card picture {
    display: block;
    width: 100%;
    height: 100%;
}
.bos-shadi-mid-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.bos-shadi-mid-banner-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.05);
    z-index: 1;
}
.bos-shadi-mid-banner-content {
    position: absolute;
    inset: auto 20px 20px 20px;
    background: rgba(255, 255, 255, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    z-index: 2;
    text-align: right;
    box-shadow: 0 8px 32px rgba(157, 34, 126, 0.05);
    transition: all 0.3s ease;
}
.bos-shadi-mid-banner-subtitle {
    font-size: 11px;
    font-weight: 700;
    color: var(--bos-shadi-brand, #9d227e);
    text-transform: uppercase;
    margin-bottom: 6px;
    letter-spacing: 0.05em;
}
.bos-shadi-mid-banner-title {
    font-size: 14px;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0 0 12px 0;
    line-height: 1.2 !important;
}
.bos-shadi-mid-banner-btn {
    display: inline-block;
    background: var(--bos-shadi-brand, #9d227e);
    color: #ffffff;
    padding: 4px 12px !important;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    transition: all 0.3s ease;
    border: none;
}
.bos-shadi-mid-banner-card:hover .bos-shadi-mid-banner-btn {
    background: var(--bos-shadi-brand-hover, #831b69);
    color: #ffffff;
}
.bos-shadi-mid-banners-arrow,
.bos-shadi-mid-banners-dots-container {
    display: none !important;
}

@media (max-width: 1024px) {
    .bos-shadi-mid-banners-carousel-wrapper {
        position: relative;
        width: 100%;
    }
    .bos-shadi-mid-banners-grid {
        display: flex !important;
        grid-template-columns: none !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        scroll-behavior: smooth !important;
        scrollbar-width: none !important;
        gap: 16px !important;
        margin: 20px 0 !important;
        padding: 0 4px !important;
    }
    .bos-shadi-mid-banners-grid::-webkit-scrollbar {
        display: none !important;
    }
    .bos-shadi-mid-banner-card {
        flex: 0 0 calc(100% - 32px) !important;
        width: calc(100% - 32px) !important;
        max-width: calc(100% - 32px) !important;
        aspect-ratio: 16 / 10 !important;
        scroll-snap-align: center !important;
    }
    .bos-shadi-mid-banners-arrow {
        display: flex !important;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.45) !important;
        backdrop-filter: blur(12px) !important;
        -webkit-backdrop-filter: blur(12px) !important;
        border: 1px solid rgba(255, 255, 255, 0.3) !important;
        color: #1a1a1a !important;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        z-index: 10;
        transition: all 0.3s ease;
    }
    .bos-shadi-mid-banners-arrow.prev {
        right: -12px !important;
    }
    .bos-shadi-mid-banners-arrow.next {
        left: -12px !important;
    }
    .bos-shadi-mid-banners-dots-container {
        display: block !important;
        margin-top: 16px;
        text-align: center;
    }
    .bos-shadi-mid-banners-dots {
        display: inline-flex;
        gap: 8px;
        background: rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        padding: 6px 12px;
        border-radius: 20px;
        border: 1px solid rgba(255, 255, 255, 0.2);
    }
    .bos-shadi-mid-banner-dot {
        width: 16px;
        height: 3px;
        background: rgba(255, 255, 255, 0.4);
        border-radius: 2px;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    .bos-shadi-mid-banner-dot.active {
        background: var(--bos-shadi-brand, #9d227e);
        width: 28px;
    }
}

/* 🪐 DYNAMIC SYMMETRICAL MAGAZINE MATRIX (TASK 28) */
.bos-magazine-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    border-bottom: 1px solid #eaeaea;
    padding-bottom: 12px;
}
.bos-magazine-title {
    font-size: 20px;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0;
    border-right: 3px solid #ef4444;
    padding-right: 10px;
    line-height: 1;
}
.bos-magazine-view-all {
    color: #ef4444;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s ease;
}
.bos-magazine-view-all:hover {
    color: #b91c1c;
}
.bos-magazine-grid-desktop {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 20px;
    margin-top: 20px;
}
.bos-magazine-tile-anchor {
    text-decoration: none;
    display: block;
}
.bos-magazine-tile-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
    height: 100%;
    box-sizing: border-box;
}
.bos-magazine-tile-card:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 12px 36px rgba(157, 34, 126, 0.06);
    border-color: rgba(157, 34, 126, 0.15);
}
.bos-magazine-tile-text-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-left: 0 !important;
    padding-right: 0 !important;
    overflow: hidden;
}
.bos-magazine-tile-badge {
    align-self: flex-start;
    background: #fff1f2;
    color: #f43f5e;
    font-size: 10px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    letter-spacing: 0.02em;
    transition: all 0.2s ease;
}
.magazine-tile-title,
.archive-tile-title {
    font-size: 11px !important;
    line-height: 1.4 !important;
    font-weight: 500 !important;
    color: #1a1a1a;
    margin: 0;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: normal !important;
    width: 100%;
}
@media (max-width: 1024px) {
    .magazine-tile-title,
    .archive-tile-title {
        font-size: 13.5px !important;
        line-height: 1.5 !important;
    }
}
@media (max-width: 768px) {
    .magazine-tile-title,
    .archive-tile-title {
        font-size: 0.9rem !important;
        line-height: 1.4 !important;
    }
}
.bos-magazine-tile-meta {
    display: flex;
    gap: 12px;
    font-size: 11px;
    color: #6a6a6a;
}
.bos-magazine-tile-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}
.bos-magazine-tile-img-col {
    width: 90px;
    height: 90px;
    flex-shrink: 0;
}
.bos-magazine-tile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}

/* Mobile magazine views */
.bos-magazine-carousel-mobile {
    display: none;
}
@media (max-width: 1024px) {
    .bos-magazine-grid-desktop {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px !important;
    }
}
@media (max-width: 768px) {
    .bos-magazine-grid-desktop {
        display: none !important;
    }
    .bos-magazine-carousel-mobile {
        display: block;
        position: relative;
        width: 100%;
        margin-top: 20px;
    }
    .bos-magazine-carousel-container {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        scrollbar-width: none;
        display: flex;
        width: 100%;
    }
    .bos-magazine-carousel-container::-webkit-scrollbar {
        display: none;
    }
    .bos-magazine-carousel-track {
        display: flex;
        width: 100%;
    }
    .bos-magazine-slide {
        flex: 0 0 100%;
        display: flex;
        flex-direction: column;
        gap: 12px;
        scroll-snap-align: start;
        box-sizing: border-box;
        padding: 4px;
    }
    .bos-magazine-dots-container {
        display: flex;
        justify-content: center;
        margin-top: 16px;
    }
    .bos-magazine-dots {
        display: flex;
        gap: 8px;
    }
    .bos-magazine-dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: rgba(0, 0, 0, 0.15);
        cursor: pointer;
        transition: all 0.3s ease;
    }
    .bos-magazine-dot.active {
        background: var(--bos-shadi-brand, #9d227e);
        width: 18px;
        border-radius: 4px;
    }
}

/* ==========================================================================
   🪐 SHADI BEAUTY UTILITY PAGES STYLES (TASK 29)
   ========================================================================== */

/* General Container & Grid Resets */
.bos-shadi-about,
.bos-shadi-contact,
.bos-shadi-faq,
.bos-shadi-blog-archive {
    background: #fbfbfc;
    padding-bottom: 60px;
}
.bos-shadi-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 12px;
}
.bos-shadi-section {
    padding: 50px 0;
}
.bos-shadi-section.bg-alt {
    background: #f7f7fa;
}

/* About Us Layouts */
.bos-shadi-about-hero {
    background: linear-gradient(135deg, #fdf8fb 0%, #f7eff5 100%);
    padding: 80px 0;
    text-align: center;
    border-bottom: 1px solid #eaeaea;
}
.bos-shadi-page-title {
    font-size: 32px;
    font-weight: 800;
    color: #1f1f23;
    margin: 0 0 16px 0;
}
.bos-shadi-lead {
    font-size: 16px;
    color: var(--bos-shadi-brand, #9d227e);
    margin: 0;
    font-weight: 600;
}
.bos-shadi-welcome-msg {
    max-width: 750px;
    margin: 16px auto 0 auto;
    font-size: 14.5px;
    color: #555559;
    line-height: 1.8;
}
.bos-shadi-about-story {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
}
.bos-shadi-about-text {
    font-size: 15px;
    line-height: 1.9;
    color: #4a4a4f;
    margin-top: 20px;
}
.bos-shadi-quote-card {
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    padding: 30px;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.02);
}
.bos-shadi-quote-text {
    font-size: 16px;
    font-style: italic;
    font-weight: 600;
    color: var(--bos-shadi-brand, #9d227e);
    line-height: 1.8;
    margin: 0;
}

/* Timeline Responsive Grid */
.bos-shadi-timeline-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 40px;
}
.bos-shadi-timeline-item {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.01);
    transition: transform 0.3s ease;
}
.bos-shadi-timeline-item:hover {
    transform: translateY(-4px);
}
.bos-shadi-timeline-year {
    font-size: 18px;
    font-weight: 800;
    color: var(--bos-shadi-brand, #9d227e);
    margin-bottom: 12px;
}
.bos-shadi-timeline-content h4 {
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: #1f1f23;
}
.bos-shadi-timeline-content p {
    font-size: 13px;
    color: #555559;
    line-height: 1.7;
    margin: 0;
}

/* Value Props Matrix */
.bos-shadi-values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 20px;
}
.bos-shadi-value-card {
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 20px;
    padding: 35px 24px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0,0,0,0.02);
}
.bos-shadi-value-icon {
    font-size: 32px;
    margin-bottom: 16px;
}
.bos-shadi-value-card h3 {
    font-size: 16px;
    font-weight: 800;
    margin: 0 0 12px 0;
    color: #1f1f23;
}
.bos-shadi-value-card p {
    font-size: 13.5px;
    color: #555559;
    line-height: 1.7;
    margin: 0;
}

/* About CTA Card */
.bos-shadi-cta-card {
    background: linear-gradient(135deg, rgba(157, 34, 126, 0.05) 0%, rgba(219, 39, 119, 0.05) 100%);
    border: 1px solid rgba(157, 34, 126, 0.15);
    border-radius: 24px;
    padding: 50px 30px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}
.bos-shadi-cta-card h2 {
    font-size: 22px;
    font-weight: 800;
    color: #1f1f23;
    margin: 0 0 12px 0;
}
.bos-shadi-cta-card p {
    font-size: 14.5px;
    color: #555559;
    margin: 0 0 24px 0;
}
.bos-shadi-cta-btn {
    display: inline-block;
    background: var(--bos-shadi-brand, #9d227e);
    color: #ffffff;
    padding: 12px 36px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(157, 34, 126, 0.25);
    transition: all 0.3s ease;
}
.bos-shadi-cta-btn:hover {
    background: #831b69;
    transform: translateY(-2px);
}

/* Contact Cards Grid */
.bos-shadi-contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}
.bos-shadi-contact-card {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    padding: 35px 24px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}
.bos-shadi-contact-card-icon {
    width: 60px;
    height: 60px;
    background: rgba(157, 34, 126, 0.08);
    border-radius: 50%;
    margin: 0 auto 20px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bos-shadi-brand, #9d227e);
    font-size: 24px;
}
.bos-shadi-contact-card h3 {
    font-size: 16px;
    font-weight: 800;
    color: #1f1f23;
    margin: 0 0 8px 0;
}
.bos-shadi-card-desc {
    font-size: 12.5px;
    color: #6c6c72;
    margin: 0 0 16px 0;
}
.bos-shadi-card-link {
    font-size: 15px;
    font-weight: 800;
    color: var(--bos-shadi-brand, #9d227e);
    text-decoration: none;
    display: inline-block;
}
.bos-shadi-card-link:hover {
    text-decoration: underline;
}

/* Contact Form container */
.bos-shadi-form-container {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}
.bos-shadi-form-title {
    font-size: 18px;
    font-weight: 800;
    color: #1f1f23;
    margin: 0 0 24px 0;
    text-align: center;
}

/* Location and Address block */
.bos-shadi-location-block {
    max-width: 850px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    padding: 30px;
}
.bos-shadi-location-info h3 {
    font-size: 16px;
    font-weight: 800;
    color: #1f1f23;
    margin: 0 0 12px 0;
}
.bos-shadi-address {
    font-size: 14px;
    color: #4a4a4f;
    line-height: 1.7;
    margin: 0 0 16px 0;
}
.bos-shadi-social-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    color: #4a4a4f;
}
.bos-shadi-social-link i {
    color: #db2777;
    font-size: 18px;
}
.bos-shadi-social-link a {
    color: var(--bos-shadi-brand, #9d227e);
    font-weight: 700;
    text-decoration: none;
}

/* FAQ Accordion Details summary */
.bos-shadi-faq-hero {
    background: linear-gradient(135deg, #fdf8fb 0%, #f7eff5 100%);
    padding: 65px 0;
    text-align: center;
    border-bottom: 1px solid #eaeaea;
}
.bos-shadi-faq-wrapper {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.bos-shadi-faq-item {
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.01);
    transition: all 0.3s ease;
}
.bos-shadi-faq-summary {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    font-weight: 700;
    font-size: 14.5px;
    color: #1f1f23;
    cursor: pointer;
    outline: none;
}
.bos-shadi-faq-summary::-webkit-details-marker {
    display: none;
}
.bos-shadi-faq-icon::before {
    content: '\ea12';
    font-family: 'remixicon' !important;
    font-size: 20px;
    color: var(--bos-shadi-brand, #9d227e);
    transition: transform 0.3s ease;
    display: inline-block;
}
.bos-shadi-faq-item[open] .bos-shadi-faq-icon::before {
    content: '\f1af';
}
.bos-shadi-faq-content {
    padding: 0 24px 20px 24px;
    font-size: 13.5px;
    color: #555559;
    line-height: 1.8;
}

/* Media Queries for Utility pages */
@media (max-width: 991px) {
    .bos-shadi-timeline-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .bos-shadi-values-grid,
    .bos-shadi-contact-cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}
@media (max-width: 768px) {
    .bos-shadi-about-hero {
        padding: 50px 0;
    }
    .bos-shadi-page-title {
        font-size: 24px;
    }
}
@media (max-width: 576px) {
    .bos-shadi-timeline-grid {
        grid-template-columns: 1fr;
    }
    .bos-shadi-form-container {
        padding: 24px 16px;
    }
}

/* ==========================================================================
   🪐 ADVANCED BLOG ARCHIVE ENGINE STYLES (TASK 30)
   ========================================================================== */

.bos-shadi-blog-hero {
    background: linear-gradient(135deg, #fdf8fb 0%, #f7eff5 100%);
    padding: 65px 0;
    text-align: center;
    border-bottom: 1px solid #eaeaea;
}

/* Horizontal Swipe Category Chips Ribbon */
.archive-category-chips-section {
    padding: 20px 0;
    background: #ffffff;
    border-bottom: 1px solid #f0f0f4;
}
.archive-category-chips-wrapper {
    width: 100%;
}
.archive-category-chips-track {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}
.bos-category-chip {
    display: inline-block;
    padding: 8px 20px;
    background: #fbfbfc;
    border: 1px solid #eaeaec;
    border-radius: 50px;
    color: #555559;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s ease;
}
.bos-category-chip:hover {
    border-color: var(--bos-shadi-brand, #9d227e);
    color: var(--bos-shadi-brand, #9d227e);
}
.bos-category-chip.active {
    background: var(--bos-shadi-brand, #9d227e);
    border-color: var(--bos-shadi-brand, #9d227e);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(157, 34, 126, 0.2);
}

@media (max-width: 1024px) {
    .archive-category-chips-track {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        white-space: nowrap !important;
        -webkit-overflow-scrolling: touch !important; /* Premium fluid swipe physics */
        gap: 10px !important;
        padding: 4px 16px 12px 16px !important;
        justify-content: flex-start;
    }
    .archive-category-chip-item {
        flex-shrink: 0 !important;
        display: inline-block !important;
    }
}

/* Symmetrical Grid layouts */
.bos-shadi-blog-archive-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px;
    margin-top: 20px;
}
@media (max-width: 1024px) {
    .bos-shadi-blog-archive-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px !important;
    }
}
@media (max-width: 768px) {
    .bos-shadi-blog-archive-grid {
        grid-template-columns: repeat(1, 1fr) !important;
        gap: 12px !important;
    }
}

/* Post Card Layout (desktop and mobile tile.png) */
.bos-blog-card-item-link {
    text-decoration: none;
    display: block;
}
.bos-blog-card-item {
    display: flex;
    flex-direction: row; /* Horizontal layout */
    align-items: center;
    gap: 16px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
    box-sizing: border-box;
    height: 100%;
}
.bos-blog-card-item-link:hover .bos-blog-card-item {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 12px 36px rgba(157, 34, 126, 0.06);
    border-color: rgba(157, 34, 126, 0.15);
}
.bos-blog-card-text-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-left: 0 !important;
    padding-right: 0 !important;
    overflow: hidden;
    text-align: right;
}
/* Redundant archive title styles unified above */
.bos-blog-card-meta {
    display: flex;
    gap: 12px;
    font-size: 11px;
    color: #77777a;
}
.bos-blog-card-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}
.bos-blog-card-meta i {
    color: var(--bos-shadi-brand, #9d227e);
}
.bos-blog-card-img-col {
    width: 95px;
    height: 95px;
    flex-shrink: 0;
    position: relative;
}
.bos-blog-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 14px;
    display: block;
}

/* Category ribbon badge overlay */
.bos-blog-card-badge-overlay {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #fff1f2;
    color: #f43f5e;
    font-size: 10px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    box-shadow: none;
    letter-spacing: 0.02em;
    transition: all 0.2s ease;
}

/* Custom Pagination styles */
.bos-shadi-pagination {
    margin-top: 48px;
    display: flex;
    justify-content: center;
    gap: 8px;
}
.bos-shadi-pagination .page-numbers {
    display: inline-block;
    padding: 8px 16px;
    background: #ffffff;
    border: 1px solid #eaeaec;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    color: #1f1f23;
    transition: all 0.2s;
}
.bos-shadi-pagination .page-numbers:hover,
.bos-shadi-pagination .page-numbers.current {
    background: var(--bos-shadi-brand, #9d227e);
    color: #ffffff;
    border-color: var(--bos-shadi-brand, #9d227e);
    box-shadow: 0 4px 10px rgba(157, 34, 126, 0.15);
}

/* Symmetrical Global Product Card Height Equalization */
.shadi-product-card {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
}
.shadi-product-footer-row {
    margin-top: auto !important;
}

/* --- Category Lower Description Styles --- */
.category-description-lower-wrapper {
    margin-top: 40px !important;
    padding: 24px !important;
    position: relative !important;
    overflow: hidden !important;
}
.category-description-content {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    line-height: 1.8 !important;
    font-size: 0.95rem !important;
    color: var(--text-secondary) !important;
    transition: all 0.4s ease !important;
}
.category-description-content.expanded {
    display: block !important;
    overflow: visible !important;
    -webkit-line-clamp: unset !important;
}
.category-description-toggle-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    margin-top: 15px !important;
    background: none !important;
    border: none !important;
    color: var(--primary-main, #9D3A8F) !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    font-size: 0.9rem !important;
    padding: 0 !important;
    box-shadow: none !important;
}
.category-description-toggle-btn:hover {
    color: var(--accent-warm, #FF6B6B) !important;
}

/* --- Glassmorphic Hover Sheen Overhaul --- */
.button.add_to_cart_button, 
.single_add_to_cart_button, 
.woocommerce button.button.alt,
.woocommerce a.button.checkout,
.woocommerce input.button,
.woocommerce #respond input#submit,
.coupon button.button, 
.woocommerce-form-coupon button.button,
.action-btn,
.social-icon-link,
.shadi-btn-primary {
    position: relative !important;
    overflow: hidden !important;
}

.button.add_to_cart_button::after, 
.single_add_to_cart_button::after, 
.woocommerce button.button.alt::after,
.woocommerce a.button.checkout::after,
.woocommerce input.button::after,
.woocommerce #respond input#submit::after,
.coupon button.button::after, 
.woocommerce-form-coupon button.button::after,
.action-btn::after,
.social-icon-link::after,
.shadi-btn-primary::after {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: -150% !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%) !important;
    transition: left 0.6s ease-in-out !important;
    z-index: 2 !important;
    pointer-events: none !important;
}

.button.add_to_cart_button:hover::after, 
.single_add_to_cart_button:hover::after, 
.woocommerce button.button.alt:hover::after,
.woocommerce a.button.checkout:hover::after,
.woocommerce input.button:hover::after,
.woocommerce #respond input#submit:hover::after,
.coupon button.button:hover::after, 
.woocommerce-form-coupon button.button:hover::after,
.action-btn:hover::after,
.social-icon-link:hover::after,
.shadi-btn-primary:hover::after {
    left: 150% !important;
}

/* ==========================================================================
   🛒 SHADI BEAUTY ULTRA-PREMIUM ASYMMETRICAL CART LAYOUT OVERRIDES
   ========================================================================== */

/* 1. Progress Steps Stepper */
.cart-progress-stepper {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 40px auto;
    max-width: 800px;
    padding: 0 20px;
    direction: rtl !important;
}

.cart-progress-stepper .stepper-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.cart-progress-stepper .step-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--bg-white);
    border: 2px solid #E0E0E0;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cart-progress-stepper .step-label {
    margin-top: 10px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-secondary);
    white-space: nowrap;
}

.cart-progress-stepper .stepper-step.active .step-icon {
    background: var(--primary-main);
    border-color: var(--primary-main);
    color: var(--bg-white);
    box-shadow: 0 6px 20px rgba(157, 58, 143, 0.3);
}

.cart-progress-stepper .stepper-step.active .step-label {
    color: var(--primary-main);
}

.cart-progress-stepper .stepper-line {
    flex: 1;
    height: 2px;
    background: #E0E0E0;
    margin: 0 15px;
    position: relative;
    top: -15px; /* offset label height */
    z-index: 1;
}

.cart-progress-stepper .stepper-line.active {
    background: var(--primary-main);
}

/* 2. Main Asymmetrical Layout Grid */
.cart-overhaul-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 32px;
    margin: 30px auto 60px auto;
    max-width: 1250px;
    padding: 0 20px;
    direction: rtl !important;
}

/* 3. Right Column: Cart Line Items (Frosted Glass Cards) */
.cart-items-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cart-items-wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cart-item-card {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.65) !important;
    backdrop-filter: blur(16px) saturate(190%) !important;
    -webkit-backdrop-filter: blur(16px) saturate(190%) !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    border-radius: 16px !important;
    padding: 20px !important;
    box-shadow: 0 8px 32px 0 rgba(157, 58, 143, 0.06) !important;
    transition: all 0.3s ease;
    gap: 24px;
}

.cart-item-card:hover {
    transform: translateY(-3px) !important;
    border-color: rgba(157, 58, 143, 0.3) !important;
    box-shadow: 0 12px 40px 0 rgba(157, 58, 143, 0.12) !important;
}

.cart-item-remove-wrapper {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 10;
}
.cart-item-remove-wrapper a.remove {
    color: var(--text-secondary, #6B6B6B) !important;
    font-size: 20px !important;
    transition: all 0.2s ease-in-out;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 1 !important;
}
.cart-item-remove-wrapper a.remove:hover {
    color: #ff6b6b !important;
    transform: scale(1.1);
}

/* Right: Product Image */
.cart-item-image-box {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
    background: #fbfbfb;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.cart-item-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Left: Content Details */
.cart-item-content-box {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100px;
}

.cart-item-upper-row {
    margin-bottom: 12px;
}

.cart-item-name {
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    color: var(--text-primary) !important;
    margin: 0 0 6px 0 !important;
    line-height: 1.5;
}

.cart-item-name a {
    color: var(--text-primary) !important;
    transition: color 0.2s ease;
}

.cart-item-name a:hover {
    color: var(--primary-main) !important;
}

.cart-item-attributes {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.cart-item-attributes dl.variation {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0;
    padding: 0;
}

.cart-item-attributes dl.variation dt,
.cart-item-attributes dl.variation dd {
    display: inline-block;
    margin: 0;
    padding: 0;
}

.cart-item-attributes dl.variation dd {
    color: var(--text-primary);
    font-weight: 700;
}

.cart-item-lower-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

/* Quantity Control picker */
.cart-qty-picker-container {
    display: inline-flex;
    align-items: center;
    background: rgba(157, 58, 143, 0.06);
    border: 1px solid rgba(157, 58, 143, 0.1);
    border-radius: 8px;
    padding: 4px;
}

.qty-control-btn {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background: transparent;
    border: none;
    color: var(--primary-main);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.qty-control-btn:hover {
    background: rgba(157, 58, 143, 0.15);
}

.qty-control-btn.qty-minus-action:hover {
    color: #FF5252;
}

.qty-display-num {
    padding: 0 12px;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    min-width: 28px;
    text-align: center;
}

/* Price block & discount badge */
.cart-item-price-block {
    display: flex;
    align-items: center;
    gap: 12px;
}

.item-discount-tag {
    background: #FF5252;
    color: #FFF;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 6px;
}

.item-prices {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.price-regular {
    font-size: 0.85rem;
    text-decoration: line-through;
    color: var(--text-muted, #9E9E9E);
    margin-bottom: 2px;
}

.price-sale {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-main);
}

/* 4. Left Column: Sidebar & Receipts & Coupons */
.cart-sidebar-column {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: sticky !important;
    top: 100px !important;
    align-self: flex-start;
}

.cart-receipt-card {
    background: rgba(255, 255, 255, 0.75) !important;
    backdrop-filter: blur(16px) saturate(190%) !important;
    -webkit-backdrop-filter: blur(16px) saturate(190%) !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    border-radius: 20px !important;
    padding: 24px !important;
    box-shadow: 0 8px 32px 0 rgba(157, 58, 143, 0.05) !important;
}

.receipt-card-title {
    font-size: 1.25rem !important;
    font-weight: 800 !important;
    color: var(--primary-main) !important;
    margin: 0 0 20px 0 !important;
    border-bottom: 1px solid rgba(157, 58, 143, 0.1) !important;
    padding-bottom: 12px !important;
}

.receipt-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.receipt-label {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.receipt-value {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
}

.receipt-discount-row .receipt-value {
    color: #4CAF50;
}

.receipt-divider {
    height: 1px;
    background: rgba(0, 0, 0, 0.05);
    margin: 16px 0;
}

.receipt-total-row {
    margin-bottom: 24px;
}

.receipt-total-row .receipt-label {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.receipt-total-row .receipt-value {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--primary-main);
}

.receipt-checkout-wrapper {
    width: 100%;
}

.receipt-checkout-action-btn.button {
    background: #ff6b6b !important;
    text-align: center !important;
    color: #FFF !important;
    font-weight: 700 !important;
    font-size: 1.1rem !important;
    width: 100% !important;
    padding: 10px 30px !important;
    border-radius: 50px !important;
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.35) !important;
    border: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease !important;
}

.receipt-checkout-action-btn.button:hover {
    background: #e05a5a !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.45) !important;
}

/* Coupon Box Card */
.cart-coupon-card {
    background: rgba(255, 255, 255, 0.75) !important;
    backdrop-filter: blur(16px) saturate(190%) !important;
    -webkit-backdrop-filter: blur(16px) saturate(190%) !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    border-radius: 16px !important;
    padding: 20px !important;
    box-shadow: 0 8px 32px 0 rgba(157, 58, 143, 0.03) !important;
}

.coupon-card-title {
    font-size: 1rem !important;
    font-weight: 700 !important;
    color: var(--text-primary) !important;
    margin: 0 0 12px 0 !important;
}

.coupon-form-group {
    display: flex;
    gap: 8px;
}

.coupon-code-input {
    flex: 1;
    background: var(--bg-white) !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-radius: 8px !important;
    padding: 10px 14px !important;
    font-size: 0.9rem !important;
    outline: none !important;
    font-family: 'Vazirmatn', sans-serif !important;
    text-align: right;
    transition: border-color 0.2s ease;
}

.coupon-code-input:focus {
    border-color: var(--primary-main) !important;
}

.coupon-apply-action-btn {
    background: #ff6b6b !important;
    color: #FFF !important;
    border: none !important;
    border-radius: 50px !important;
    padding: 10px 30px !important;
    font-weight: 700 !important;
    cursor: pointer;
    font-family: 'Vazirmatn', sans-serif !important;
    transition: all 0.2s ease;
}

.coupon-apply-action-btn:hover {
    background: #e05a5a !important;
}

/* 5. Responsive / Mobile Overhaul Layout */
@media screen and (max-width: 992px) {
    .cart-overhaul-layout {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-bottom: 40px;
    }
    
    .cart-progress-stepper {
        margin: 24px auto;
    }
    
    .cart-progress-stepper .step-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .cart-progress-stepper .step-label {
        font-size: 0.8rem;
    }
    
    .cart-progress-stepper .stepper-line {
        top: -10px;
        margin: 0 10px;
    }
}

@media screen and (max-width: 600px) {
    .cart-item-card {
        flex-direction: row; /* Keep horizontal on mobile, but clean */
        padding: 14px !important;
        gap: 16px;
    }
    
    .cart-item-image-box {
        width: 80px;
        height: 80px;
    }
    
    .cart-item-content-box {
        min-height: 80px;
    }
    
    .cart-item-name {
        font-size: 0.95rem !important;
    }
    
    .cart-item-lower-row {
        gap: 10px;
        margin-top: 8px;
    }
    
    .price-sale {
        font-size: 1rem;
    }
    
    .qty-display-num {
        font-size: 0.85rem;
        padding: 0 8px;
    }
    
    .qty-control-btn {
        width: 28px;
        height: 28px;
    }
}

/* ==========================================================================
   📂 CATEGORY DESCRIPTION OVERRIDES (Screenshot 2026-06-14 at 11.47.35.png)
   ========================================================================== */
.category-description-lower-card {
    margin-top: 40px;
    margin-bottom: 20px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.45) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-radius: 12px;
    position: relative;
    box-shadow: 0 4px 16px rgba(157, 58, 143, 0.02) !important;
    clear: both;
}

.category-description-content-clamp {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-secondary, #5A5A5A);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.category-description-content-clamp.expanded {
    display: block !important;
    overflow: visible !important;
    -webkit-line-clamp: unset !important;
}

.category-description-toggle-btn {
    background: transparent !important;
    border: none !important;
    color: var(--primary-main, #9D3A8F) !important;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin: 12px auto 0 auto;
    padding: 4px 12px;
    font-size: 0.9rem;
    transition: color 0.2s ease;
    font-family: 'Vazirmatn', sans-serif !important;
}

/* ==========================================================================
   🛍️ SHADI BEAUTY MODERN SPLIT-GRID CHECKOUT OVERRIDES
   ========================================================================== */
.checkout-split-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 32px;
    margin: 40px auto 80px auto;
    max-width: 1250px;
    padding: 0px;
    direction: rtl !important;
}

.checkout-split-layout .checkout-details-column {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.checkout-split-layout .checkout-summary-column {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.checkout-split-layout .checkout-summary-card {
    background: rgba(255, 255, 255, 0.65) !important;
    backdrop-filter: blur(16px) saturate(190%) !important;
    -webkit-backdrop-filter: blur(16px) saturate(190%) !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    border-radius: 20px;
    padding: 28px !important;
    box-shadow: 0 10px 32px rgba(157, 58, 143, 0.06) !important;
}

.checkout-split-layout .checkout-summary-title {
    font-size: 1.3rem !important;
    font-weight: 800 !important;
    color: var(--primary-main, #9D3A8F) !important;
    margin: 0 0 20px 0 !important;
    border-bottom: 1px solid rgba(157, 58, 143, 0.1) !important;
    padding-bottom: 12px !important;
}

/* Fix spacing on WooCommerce default elements in checkout */
.checkout-split-layout #order_review table.shop_table {
    border: none !important;
    background: transparent !important;
    margin-bottom: 24px;
}

.checkout-split-layout #order_review table.shop_table th,
.checkout-split-layout #order_review table.shop_table td {
    border-top: none !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
    padding: 12px 0 !important;
}

.checkout-split-layout #order_review table.shop_table tr.order-total th,
.checkout-split-layout #order_review table.shop_table tr.order-total td {
    border-bottom: none !important;
}

.checkout-split-layout #order_review table.shop_table td.product-name {
    text-align: right;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.checkout-split-layout #order_review table.shop_table td.product-total {
    text-align: left;
    font-weight: 700;
    font-size: 1rem;
    color: var(--primary-main);
}

/* Pay button styles alignment */
.checkout-split-layout #payment {
    background: transparent !important;
    padding: 0 !important;
    border: none !important;
}

.checkout-split-layout #payment ul.payment_methods {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
    padding-bottom: 20px !important;
    margin-bottom: 20px !important;
}

.checkout-split-layout #payment div.payment_box {
    background: rgba(157, 58, 143, 0.05) !important;
    border: 1px solid rgba(157, 58, 143, 0.1) !important;
    border-radius: 8px !important;
    color: var(--text-primary) !important;
    font-size: 0.85rem !important;
}

.checkout-split-layout #payment div.payment_box::before {
    display: none !important;
}

.checkout-split-layout #place_order {
    width: 100% !important;
    padding: 10px 30px !important;
    font-size: 1.15rem !important;
    background: #ff6b6b !important;
    border-radius: 50px !important;
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.35) !important;
    font-weight: bold !important;
}

.checkout-split-layout #place_order:hover {
    background: #e05a5a !important;
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.45) !important;
}

@media screen and (max-width: 992px) {
    .checkout-split-layout {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-top: 20px;
    }
}

/* 🌟 LUXURY GLASSMORPHIC SHEEN OVERLAY EFFECT WITH DYNAMIC CSS LINEAR GRADIENT REFLECTION LOOP */
.button.add_to_cart_button, 
.single_add_to_cart_button, 
.woocommerce button.button.alt,
.woocommerce a.button.checkout,
.woocommerce input.button,
.woocommerce #respond input#submit,
.shadi-btn-primary,
.bos-shadi-hero-btn,
.bos-shadi-glass-btn,
.bos-shadi-mid-banner-btn,
.receipt-checkout-action-btn.button,
.checkout-split-layout #place_order,
.woocommerce-mini-cart__buttons a.button.checkout,
.widget_shopping_cart_content .buttons a.button.checkout,
.widget_shopping_cart .buttons a.checkout {
    position: relative !important;
    overflow: hidden !important;
}

.button.add_to_cart_button::before, 
.single_add_to_cart_button::before, 
.woocommerce button.button.alt::before,
.woocommerce a.button.checkout::before,
.woocommerce input.button::before,
.woocommerce #respond input#submit::before,
.shadi-btn-primary::before,
.bos-shadi-hero-btn::before,
.bos-shadi-glass-btn::before,
.bos-shadi-mid-banner-btn::before,
.receipt-checkout-action-btn.button::before,
.checkout-split-layout #place_order::before,
.woocommerce-mini-cart__buttons a.button.checkout::before,
.widget_shopping_cart_content .buttons a.button.checkout::before,
.widget_shopping_cart .buttons a.checkout::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.45) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-25deg);
    animation: glass-sheen-loop 5s infinite linear;
    pointer-events: none;
}

@keyframes glass-sheen-loop {
    0% {
        left: -150%;
    }
    30% {
        left: 150%;
    }
    100% {
        left: 150%;
    }
}

/* 🛍️ Mini-cart & Drawer button styling adjustments */
.woocommerce-mini-cart__buttons a.button:not(.checkout),
.widget_shopping_cart_content .buttons a.button:not(.checkout),
.widget_shopping_cart .buttons a:not(.checkout) {
    background: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: 2px solid #ff6b6b !important;
    color: #ff6b6b !important;
    font-weight: bold !important;
    border-radius: 8px !important;
    padding: 10px 20px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.25s ease !important;
}

.woocommerce-mini-cart__buttons a.button:not(.checkout):hover,
.widget_shopping_cart_content .buttons a.button:not(.checkout):hover,
.widget_shopping_cart .buttons a:not(.checkout):hover {
    background: #ff6b6b !important;
    color: #FFFFFF !important;
    border-color: #ff6b6b !important;
}

.woocommerce-mini-cart__buttons a.button.checkout,
.widget_shopping_cart_content .buttons a.button.checkout,
.widget_shopping_cart .buttons a.checkout {
    background: #ff6b6b !important;
    color: #FFFFFF !important;
    border-radius: 8px !important;
    padding: 10px 20px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-weight: bold !important;
}

/* Coupon inline card wrapper */
.checkout-coupon-card-inline {
    margin-bottom: 20px !important;
}
.checkout-coupon-card-inline .woocommerce-form-coupon-toggle {
    margin-bottom: 12px !important;
}
.checkout-coupon-card-inline .woocommerce-info {
    background: rgba(255, 255, 255, 0.45) !important;
    backdrop-filter: blur(12px) saturate(190%) !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    border-radius: 8px !important;
    padding: 12px 18px !important;
    color: var(--text-primary, #2D2D2D) !important;
    font-size: 13.5px !important;
    font-weight: 500 !important;
    box-shadow: 0 4px 16px rgba(157, 58, 143, 0.04) !important;
    border-right: 4px solid #ff6b6b !important;
}
.checkout-coupon-card-inline .woocommerce-info a.showcoupon {
    color: #ff6b6b !important;
    font-weight: 700 !important;
    text-decoration: underline !important;
}
.checkout-coupon-card-inline .checkout_coupon {
    background: rgba(255, 255, 255, 0.55) !important;
    backdrop-filter: blur(16px) saturate(190%) !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    border-radius: 12px !important;
    padding: 20px !important;
    box-shadow: 0 8px 32px rgba(157, 58, 143, 0.06) !important;
    margin-top: 10px !important;
}
.checkout-coupon-card-inline .checkout_coupon p {
    margin-bottom: 15px !important;
    font-size: 13px !important;
    color: var(--text-secondary, #6B6B6B) !important;
}
.checkout-coupon-card-inline .checkout_coupon .form-row {
    float: none !important;
    width: 100% !important;
    margin-bottom: 12px !important;
}
.checkout-coupon-card-inline .checkout_coupon input.input-text {
    width: 100% !important;
    padding: 12px 16px !important;
    border-radius: 8px !important;
    border: 1px solid rgba(157, 58, 143, 0.2) !important;
    background: rgba(255, 255, 255, 0.8) !important;
    color: var(--text-primary) !important;
    font-family: inherit !important;
    outline: none !important;
    transition: all 0.2s ease !important;
}
.checkout-coupon-card-inline .checkout_coupon input.input-text:focus {
    border-color: #ff6b6b !important;
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.15) !important;
}
.checkout-coupon-card-inline .checkout_coupon button.button {
    width: 100% !important;
    background: #ff6b6b !important;
    color: #FFF !important;
    padding: 12px !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    border: none !important;
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.25) !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}
.checkout-coupon-card-inline .checkout_coupon button.button:hover {
    background: #e05a5a !important;
}

/* Sleek Mini-Cart Trash Icon Styling */
.woocommerce-cart-form a.remove {
    width: 28px !important;
    height: 28px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    background: #f3f4f6 !important;
    color: #9ca3af !important;
    transition: all 0.2s !important;
    text-decoration: none !important;
    font-weight: bold !important;
    font-size: 18px !important;
    line-height: 1 !important;
    border: none !important;
}
.woocommerce-cart-form a.remove:hover {
    background: #fee2e2 !important; /* Premium soft red */
    color: #fe7373 !important; /* Brand Coral */
}

/* Shadi BACS copy badge styling */
.copy-bacs-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 4px 8px !important;
    font-size: 11px !important;
    border-radius: 4px !important;
    background: rgba(254, 115, 115, 0.15) !important;
    color: #fe7373 !important;
    border: 1px solid rgba(254, 115, 115, 0.3) !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    font-weight: bold !important;
    box-shadow: none !important;
}
.copy-bacs-btn:hover {
    background: rgba(254, 115, 115, 0.3) !important;
    transform: translateY(-1px);
}

/* ==========================================================================
   🪐 TASK 1: SHADI BEAUTY ULTRA-LUXURY E-COMMERCE SIMPLE PAGES STYLES
   ========================================================================== */
.shadi-about-store-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    box-sizing: border-box;
    font-family: 'Vazirmatn', Tahoma, sans-serif;
    color: #3c2a35;
    line-height: 1.8;
}

/* Section 1: Elite Editorial Hero */
.shadi-about-store-hero {
    position: relative;
    padding: 80px 60px;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 32px;
    margin-bottom: 50px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(157, 58, 143, 0.04);
    overflow: hidden;
}

.shadi-about-store-hero-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: #4a283e;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.shadi-about-store-hero-subtitle {
    font-size: 1.2rem;
    color: #9D3A8F;
    font-weight: 700;
    margin-bottom: 30px;
    letter-spacing: 1px;
}

.shadi-about-store-hero-lead {
    font-size: 1.1rem;
    color: #5c4854;
    max-width: 850px;
    margin: 0 auto 40px auto;
    text-align: justify;
    text-align-last: center;
}

.shadi-about-store-hero-img-wrap {
    width: 100%;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
}

.shadi-about-store-hero-img-wrap img {
    width: 100%;
    height: auto;
    display: block;
}

/* Section 2: Two-Column Modern Grid */
.shadi-about-store-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
    align-items: center;
}

.shadi-about-store-grid-col {
    display: flex;
    flex-direction: column;
}

.shadi-about-store-grid-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: #4a283e;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.shadi-about-store-grid-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60px;
    height: 3px;
    background: #9D3A8F;
    border-radius: 2px;
}

.shadi-about-store-grid-text {
    font-size: 0.98rem;
    color: #5c4854;
    margin-bottom: 20px;
    text-align: justify;
}

.shadi-about-store-grid-image-wrap {
    width: 100%;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.03);
}

.shadi-about-store-grid-image-wrap img {
    width: 100%;
    height: auto;
    display: block;
}

/* Section 3: Value Cards with Remix Icons */
.shadi-about-store-values {
    margin-bottom: 20px;
}

.shadi-about-store-values-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: #4a283e;
    text-align: center;
    margin-bottom: 40px;
}

.shadi-about-store-values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.shadi-about-store-value-card {
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 24px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(157, 58, 143, 0.02);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.shadi-about-store-value-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.65);
    border-color: rgba(157, 58, 143, 0.3);
    box-shadow: 0 20px 40px rgba(157, 58, 143, 0.08);
}

.shadi-about-store-value-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 24px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(157, 58, 143, 0.08);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.shadi-about-store-value-card:hover .shadi-about-store-value-icon {
    background: #9D3A8F;
}

.shadi-about-store-value-icon i {
    font-size: 2rem;
    color: #9D3A8F;
    transition: all 0.3s ease;
}

.shadi-about-store-value-card:hover .shadi-about-store-value-icon i {
    color: #ffffff;
}

.shadi-about-store-value-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: #4a283e;
    margin-bottom: 12px;
}

.shadi-about-store-value-desc {
    font-size: 0.9rem;
    color: #634f5b;
}

/* Common Legal / Policies styling under E-Commerce Context */
.shadi-legal-store-box {
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 28px;
    padding: 50px 40px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.02);
}

/* Media Queries for responsive adjustments */
@media (max-width: 992px) {
    .shadi-about-store-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .shadi-about-store-grid-col.image-col {
        order: -1;
    }
    .shadi-about-store-values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .shadi-about-store-hero {
        padding: 50px 30px;
    }
}

@media (max-width: 768px) {
    .shadi-about-store-wrapper {
        padding: 30px 15px;
    }
    .shadi-about-store-hero {
        padding: 35px 20px;
        border-radius: 24px;
    }
    .shadi-about-store-hero-title {
        font-size: 1.8rem;
    }
    .shadi-about-store-hero-subtitle {
        font-size: 1.05rem;
    }
    .shadi-about-store-grid-title {
        font-size: 1.4rem;
    }
    .shadi-about-store-values-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .shadi-about-store-value-card {
        padding: 25px 20px;
    }
    .shadi-legal-store-box {
        padding: 30px 20px;
        border-radius: 20px;
    }
}

/* ==========================================================================
   🪐 TASK 1 - PAGE 2: SHADI BEAUTY TERMS & CONDITIONS PAGE STYLES
   ========================================================================== */
.shadi-terms-wrapper {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 50px 20px;
    box-sizing: border-box;
    font-family: 'Vazirmatn', Tahoma, sans-serif;
    color: #3c2a35;
    line-height: 1.8;
}

/* Editorial Legal Hero */
.shadi-terms-hero {
    text-align: center;
    padding: 40px 20px;
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(157, 58, 143, 0.15);
}

.shadi-terms-hero-title {
    font-size: 2.4rem;
    font-weight: 900;
    color: #4a283e;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.shadi-terms-hero-subtitle {
    font-size: 1.1rem;
    color: #9D3A8F;
    font-weight: 700;
}

/* Main Terms container box */
.shadi-terms-container {
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 28px;
    padding: 45px 40px;
    box-shadow: 0 15px 45px rgba(157, 58, 143, 0.03);
}

.shadi-terms-block {
    margin-bottom: 35px;
    padding-bottom: 25px;
    border-bottom: 1px dashed rgba(157, 58, 143, 0.12);
}

.shadi-terms-block:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.shadi-terms-block-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.shadi-terms-block-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(157, 58, 143, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.shadi-terms-block-icon i {
    font-size: 1.4rem;
    color: #9D3A8F;
}

.shadi-terms-block-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #4a283e;
    margin: 0;
}

.shadi-terms-text {
    font-size: 0.96rem;
    color: #5c4854;
    margin-bottom: 16px;
    text-align: justify;
}

.shadi-terms-list {
    margin: 12px 0 16px 0;
    padding-right: 24px;
    list-style: none;
}

.shadi-terms-list-item {
    position: relative;
    font-size: 0.95rem;
    color: #5c4854;
    margin-bottom: 10px;
    padding-right: 18px;
}

.shadi-terms-list-item::before {
    content: '';
    position: absolute;
    right: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    background: #9D3A8F;
    border-radius: 50%;
}

.shadi-terms-highlight-alert {
    background: rgba(254, 115, 115, 0.08);
    border-right: 4px solid #fe7373;
    padding: 20px;
    border-radius: 6px 20px 20px 6px;
    margin: 24px 0;
    font-size: 0.92rem;
    color: #c44e4e;
    font-weight: 700;
}

@media (max-width: 768px) {
    .shadi-terms-wrapper {
        padding: 30px 15px;
    }
    .shadi-terms-hero {
        padding: 25px 10px;
        margin-bottom: 25px;
    }
    .shadi-terms-hero-title {
        font-size: 1.8rem;
    }
    .shadi-terms-container {
        padding: 30px 20px;
        border-radius: 20px;
    }
    .shadi-terms-block-title {
        font-size: 1.15rem;
    }
    .shadi-terms-block-icon {
        width: 36px;
        height: 36px;
        border-radius: 8px;
    }
    .shadi-terms-block-icon i {
        font-size: 1.15rem;
    }
}

/* ==========================================================================
   🪐 TASK 1 - PAGE 3: SHADI BEAUTY PRIVACY POLICY STYLES
   ========================================================================== */
.shadi-privacy-wrapper {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 50px 20px;
    box-sizing: border-box;
    font-family: 'Vazirmatn', Tahoma, sans-serif;
    color: #3c2a35;
    line-height: 1.8;
}

.shadi-privacy-hero {
    text-align: center;
    padding: 40px 20px;
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(157, 58, 143, 0.15);
}

.shadi-privacy-hero-title {
    font-size: 2.4rem;
    font-weight: 900;
    color: #4a283e;
    margin-bottom: 12px;
}

.shadi-privacy-hero-subtitle {
    font-size: 1.1rem;
    color: #9D3A8F;
    font-weight: 700;
}

.shadi-privacy-container {
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 28px;
    padding: 45px 40px;
    box-shadow: 0 15px 45px rgba(157, 58, 143, 0.03);
}

.shadi-privacy-section {
    margin-bottom: 35px;
}

.shadi-privacy-section:last-child {
    margin-bottom: 0;
}

.shadi-privacy-section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.shadi-privacy-section-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(157, 58, 143, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.shadi-privacy-section-icon i {
    font-size: 1.4rem;
    color: #9D3A8F;
}

.shadi-privacy-section-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #4a283e;
    margin: 0;
}

.shadi-privacy-text {
    font-size: 0.96rem;
    color: #5c4854;
    margin-bottom: 16px;
    text-align: justify;
}

.shadi-data-row {
    background: rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(157, 58, 143, 0.1);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 16px;
}

.shadi-data-row-title {
    font-weight: 800;
    color: #4a283e;
    margin-bottom: 8px;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.shadi-data-row-title i {
    color: #9D3A8F;
}

.shadi-security-notice {
    background: rgba(157, 58, 143, 0.05);
    border-right: 4px solid #9D3A8F;
    padding: 20px;
    border-radius: 6px 20px 20px 6px;
    margin: 24px 0;
    font-size: 0.92rem;
    color: #4a283e;
}

/* ==========================================================================
   🪐 TASK 1 - PAGE 4: SHADI BEAUTY SHIPPING & DELIVERY GUIDE STYLES
   ========================================================================== */
.shadi-shipping-wrapper {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 50px 20px;
    box-sizing: border-box;
    font-family: 'Vazirmatn', Tahoma, sans-serif;
    color: #3c2a35;
    line-height: 1.8;
}

.shadi-shipping-hero {
    text-align: center;
    padding: 40px 20px;
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(157, 58, 143, 0.15);
}

.shadi-shipping-hero-title {
    font-size: 2.4rem;
    font-weight: 900;
    color: #4a283e;
    margin-bottom: 12px;
}

.shadi-shipping-hero-subtitle {
    font-size: 1.1rem;
    color: #9D3A8F;
    font-weight: 700;
}

.shadi-delivery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.shadi-shipping-card {
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 24px;
    padding: 35px;
    box-shadow: 0 10px 30px rgba(157, 58, 143, 0.02);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.shadi-shipping-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.shadi-shipping-card-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: rgba(157, 58, 143, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
}

.shadi-shipping-card-icon i {
    font-size: 1.6rem;
    color: #9D3A8F;
}

.shadi-shipping-card-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: #4a283e;
    margin: 0;
}

.shadi-badge-node {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 50px;
    background: rgba(157, 58, 143, 0.1);
    color: #9D3A8F;
    font-size: 0.8rem;
    font-weight: 700;
    align-self: flex-start;
    margin-bottom: 16px;
}

.shadi-shipping-img-wrap {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    margin-top: 20px;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.shadi-shipping-img-wrap img {
    width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   🪐 TASK 1 - PAGE 5: SHADI BEAUTY RETURNS & REFUNDS STYLES
   ========================================================================== */
.shadi-return-wrapper {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 50px 20px;
    box-sizing: border-box;
    font-family: 'Vazirmatn', Tahoma, sans-serif;
    color: #3c2a35;
    line-height: 1.8;
}

.shadi-return-hero {
    text-align: center;
    padding: 40px 20px;
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(157, 58, 143, 0.15);
}

.shadi-return-hero-title {
    font-size: 2.4rem;
    font-weight: 900;
    color: #4a283e;
    margin-bottom: 12px;
}

.shadi-return-hero-subtitle {
    font-size: 1.1rem;
    color: #9D3A8F;
    font-weight: 700;
}

.shadi-alert-box {
    background: rgba(254, 115, 115, 0.08);
    border-right: 4px solid #fe7373;
    padding: 24px;
    border-radius: 6px 24px 24px 6px;
    margin-bottom: 40px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.shadi-alert-box-icon {
    font-size: 1.8rem;
    color: #fe7373;
    line-height: 1;
}

.shadi-alert-box-content {
    flex: 1;
}

.shadi-alert-box-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: #c44e4e;
    margin-bottom: 8px;
}

.shadi-alert-box-text {
    font-size: 0.95rem;
    color: #5c4854;
    margin: 0;
}

.shadi-return-steps {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.shadi-step-card {
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 20px;
    padding: 30px;
    display: flex;
    gap: 20px;
    align-items: center;
    box-shadow: 0 8px 30px rgba(157, 58, 143, 0.01);
}

.shadi-step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #9D3A8F;
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(157, 58, 143, 0.25);
}

.shadi-step-detail {
    flex: 1;
}

.shadi-step-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: #4a283e;
    margin-bottom: 8px;
}

.shadi-step-desc {
    font-size: 0.95rem;
    color: #5c4854;
    margin: 0;
}

/* ==========================================================================
   🪐 TASK 1 - PAGE 6: SHADI BEAUTY FAQ ACCORDION STYLES
   ========================================================================== */
.shadi-faq-wrapper {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 50px 20px;
    box-sizing: border-box;
    font-family: 'Vazirmatn', Tahoma, sans-serif;
    color: #3c2a35;
    line-height: 1.8;
}

.shadi-faq-hero {
    text-align: center;
    padding: 40px 20px;
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(157, 58, 143, 0.15);
}

.shadi-faq-hero-title {
    font-size: 2.4rem;
    font-weight: 900;
    color: #4a283e;
    margin-bottom: 12px;
}

.shadi-faq-hero-subtitle {
    font-size: 1.1rem;
    color: #9D3A8F;
    font-weight: 700;
}

.shadi-faq-container {
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 28px;
    padding: 40px;
    box-shadow: 0 15px 45px rgba(157, 58, 143, 0.03);
}

.shadi-faq-item {
    border-bottom: 1px solid rgba(157, 58, 143, 0.1);
    padding: 16px 0;
}

.shadi-faq-item:last-child {
    border-bottom: none;
}

.shadi-faq-trigger {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    padding: 12px 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: 'Vazirmatn', sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
    color: #4a283e;
    text-align: right;
    transition: color 0.3s ease;
}

.shadi-faq-trigger:hover {
    color: #9D3A8F;
}

.shadi-faq-chevron {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(157, 58, 143, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.shadi-faq-chevron i {
    font-size: 1.1rem;
    color: #9D3A8F;
    transition: transform 0.3s ease;
}

/* Content Panel Hiding (Transition Layer) */
.shadi-faq-content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    padding: 0 8px;
    transition: max-height 0.4s ease, opacity 0.3s ease;
}

/* Content Panel Revealing */
.shadi-faq-item.is-open .shadi-faq-content {
    opacity: 1;
}

/* Chevron Rotation when expanded */
.shadi-faq-trigger[aria-expanded="true"] .shadi-faq-chevron {
    background: #9D3A8F;
}

.shadi-faq-trigger[aria-expanded="true"] .shadi-faq-chevron i {
    color: #ffffff;
    transform: rotate(180deg);
}

/* Active Premium Glow on Open Card */
.shadi-faq-item.is-open {
    border-color: #9D3A8F;
    box-shadow: 0 8px 25px rgba(157, 58, 143, 0.08);
    background: rgba(255, 255, 255, 0.65);
    border-radius: 16px;
    padding: 16px 16px;
    margin: 8px 0;
    transition: all 0.3s ease;
}

.shadi-faq-text {
    font-size: 0.96rem;
    color: #5c4854;
    padding-top: 10px;
    padding-bottom: 15px;
    margin: 0;
    text-align: justify;
}

/* ==========================================================================
   🪐 TASK 1 - PAGE 7: SHADI BEAUTY BUYING GUIDE STYLES
   ========================================================================== */
.shadi-guide-wrapper {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 50px 20px;
    box-sizing: border-box;
    font-family: 'Vazirmatn', Tahoma, sans-serif;
    color: #3c2a35;
    line-height: 1.8;
}

.shadi-guide-hero {
    text-align: center;
    padding: 40px 20px;
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(157, 58, 143, 0.15);
}

.shadi-guide-hero-title {
    font-size: 2.4rem;
    font-weight: 900;
    color: #4a283e;
    margin-bottom: 12px;
}

.shadi-guide-hero-subtitle {
    font-size: 1.1rem;
    color: #9D3A8F;
    font-weight: 700;
}

.shadi-guide-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.shadi-guide-step {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.shadi-guide-step-number {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: #9D3A8F;
    color: #ffffff;
    font-size: 1.6rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 10px 25px rgba(157, 58, 143, 0.25);
}

.shadi-guide-card {
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 24px;
    padding: 30px;
    flex: 1;
    box-shadow: 0 8px 30px rgba(157, 58, 143, 0.02);
}

.shadi-guide-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.shadi-guide-card-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(157, 58, 143, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
}

.shadi-guide-card-icon i {
    font-size: 1.25rem;
    color: #9D3A8F;
}

.shadi-guide-card-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #4a283e;
    margin: 0;
}

.shadi-guide-card-desc {
    font-size: 0.95rem;
    color: #5c4854;
    margin: 0;
    text-align: justify;
}

/* ==========================================================================
   🪐 TASK 1 - PAGE 10: SHADI BEAUTY CONTACT US STYLES
   ========================================================================== */
.shadi-contact-store-wrapper {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 50px 20px;
    box-sizing: border-box;
    font-family: 'Vazirmatn', Tahoma, sans-serif;
    color: #3c2a35;
    line-height: 1.8;
}

.shadi-contact-hero {
    text-align: center;
    padding: 40px 20px;
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(157, 58, 143, 0.15);
}

.shadi-contact-hero-title {
    font-size: 2.4rem;
    font-weight: 900;
    color: #4a283e;
    margin-bottom: 12px;
}

.shadi-contact-hero-subtitle {
    font-size: 1.1rem;
    color: #9D3A8F;
    font-weight: 700;
}

.shadi-contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.shadi-contact-card {
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 24px;
    padding: 35px;
    box-shadow: 0 10px 40px rgba(157, 58, 143, 0.02);
    display: flex;
    flex-direction: column;
}

.shadi-contact-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.shadi-contact-card-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(157, 58, 143, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
}

.shadi-contact-card-icon i {
    font-size: 1.4rem;
    color: #9D3A8F;
}

.shadi-contact-card-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #4a283e;
    margin: 0;
}

.shadi-contact-card-text {
    font-size: 0.95rem;
    color: #5c4854;
    margin-bottom: 16px;
}

.shadi-contact-card-link {
    font-size: 0.95rem;
    color: #9D3A8F;
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s ease;
}

.shadi-contact-card-link:hover {
    color: #831b69;
}

.shadi-contact-map-placeholder {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.4);
    margin-top: 14px;
}

.shadi-contact-map-placeholder img {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 992px) {
    .shadi-contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .shadi-faq-wrapper, .shadi-guide-wrapper, .shadi-contact-store-wrapper {
        padding: 30px 15px;
    }
    .shadi-faq-hero-title, .shadi-guide-hero-title, .shadi-contact-hero-title {
        font-size: 1.8rem;
    }
    .shadi-faq-container, .shadi-guide-card, .shadi-contact-card {
        padding: 24px 20px;
        border-radius: 20px;
    }
    .shadi-guide-step {
        gap: 16px;
    }
    .shadi-guide-step-number {
        width: 44px;
        height: 44px;
        border-radius: 12px;
        font-size: 1.3rem;
    }
    .shadi-faq-trigger {
        font-size: 1rem;
    }
}

/* ==========================================================================
   CSS FRONT-PAGE COMPONENT STYLES: SHADI BEAUTY (Premium Luxury Aesthetic)
   ========================================================================== */

/* Global container and variables */
:root {
  --bos-shadi-brand-rgb: 157, 34, 126;
  --bos-shadi-brand: #9d227e;
  --bos-shadi-brand-hover: #831b69;
  --bos-shadi-bg-rgb: 250, 250, 250;
  --bos-shadi-text: #2c2c2c;
  --bos-shadi-text-light: #6a6a6a;
}

.bos-shadi-container {
  max-width: 1230px;
  margin: 0 auto;
  padding: 0 12px;
}

.bos-shadi-section {
  padding: 80px 0;
}
.bos-shadi-section.bg-alt,
.bos-shadi-brands-matrix.bg-alt {
  background: #fbfbfc;
}

.bos-shadi-header-block {
  text-align: center;
  margin-bottom: 48px;
}
.bos-shadi-tagline {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--bos-shadi-brand, #9d227e);
  letter-spacing: 2px;
  margin-bottom: 12px;
  display: block;
}
.bos-shadi-section-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--bos-shadi-text);
  margin: 0;
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
}
.bos-shadi-section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background: var(--bos-shadi-brand);
}

/* SECTION 1: HERO MULTI-BANNER CAROUSEL */
.bos-shadi-hero-carousel {
  position: relative;
  width: 100%;
  height: 650px;
  overflow: hidden;
  background: #f2f2f2;
}
.bos-shadi-hero-slider {
  display: flex;
  width: 100%;
  height: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.bos-shadi-hero-slider::-webkit-scrollbar {
  display: none;
}
.bos-shadi-hero-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  scroll-snap-align: start;
  position: relative;
}
.bos-shadi-hero-slide-link {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
}
.bos-shadi-hero-slide picture {
  display: block;
  width: 100%;
  height: 100%;
}
.bos-shadi-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.bos-shadi-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.15);
  pointer-events: none;
}
.bos-shadi-hero-content-wrapper {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start; /* Aligns to right in RTL */
  max-width: 1230px;
  margin: 0 auto;
  padding: 0 24px;
  z-index: 2;
  pointer-events: none;
}
.bos-shadi-hero-frosted-card {
  max-width: 460px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  text-align: right;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
  pointer-events: auto;
}
.bos-shadi-hero-frosted-card h2 {
  font-size: 38px;
  font-weight: 800;
  color: #1a1a1a;
  margin: 0 0 16px 0;
  line-height: 1.4;
}
.bos-shadi-hero-frosted-card p {
  font-size: 15px;
  color: #4a4a4a;
  margin: 0 0 30px 0;
  line-height: 1.8;
}
.bos-shadi-hero-btn {
  display: inline-block;
  background: var(--bos-shadi-brand);
  color: #ffffff;
  padding: 4px 12px !important;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 10px 20px rgba(157, 34, 126, 0.2);
  transition: all 0.3s ease;
}
.bos-shadi-hero-btn:hover {
  background: var(--bos-shadi-brand-hover);
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(157, 34, 126, 0.3);
}

.bos-shadi-hero-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.bos-shadi-hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
}
.bos-shadi-hero-dot.active {
  background: var(--bos-shadi-brand);
  transform: scale(1.3);
  width: 18px;
  border-radius: 4px;
}

/* SECTION 2: CATEGORY PILLS & TRUST BADGES BLOCK */
.bos-shadi-categories-badges {
  padding: 40px 0;
  border-bottom: 1px solid #eaeaea;
  background: #ffffff;
}
.bos-shadi-category-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
}
.bos-shadi-category-pill {
  display: inline-block;
  padding: 10px 24px;
  background: #ffffff;
  border-radius: 50px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  color: var(--bos-shadi-text);
  box-shadow: 0 8px 25px rgba(0,0,0,0.02);
  border: 1px solid #eaeaea;
  transition: transform 0.25s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.25s, box-shadow 0.25s;
}
.bos-shadi-category-pill:hover {
  transform: translateY(-2px) scale(1.03);
  border-color: var(--bos-shadi-brand);
  box-shadow: 0 12px 30px rgba(157, 34, 126, 0.05);
  color: var(--bos-shadi-brand);
}

.bos-shadi-trust-badges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  border-top: 1px dashed #eaeaea;
  padding-top: 30px;
}
.bos-shadi-trust-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.bos-badge-icon {
  width: 24px;
  height: 24px;
  color: var(--bos-shadi-brand);
}
.bos-shadi-trust-badge span {
  font-size: 14px;
  font-weight: 700;
  color: var(--bos-shadi-text);
}

/* SECTION 3: FEATURED PRODUCTS GRID */
.bos-shadi-products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.bos-shadi-product-card-wrapper {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  padding: 16px;
  transition: all 0.3s ease;
}
.bos-shadi-product-card-wrapper:hover {
  transform: translateY(-4px);
}

/* SECTION 4: BRAND CATEGORIES MATRIX */
.bos-shadi-brands-matrix {
  padding: 60px 0;
}
.bos-shadi-brands-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 64px;
}
.bos-shadi-brand-card {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.6;
  filter: grayscale(100%);
  transition: all 0.3s ease;
  cursor: pointer;
}
.bos-shadi-brand-card:hover {
  opacity: 1;
  filter: grayscale(0%);
  transform: scale(1.05);
}
.bos-shadi-brand-name {
  font-size: 28px;
  font-family: serif;
  font-weight: 700;
  letter-spacing: 2px;
  color: #1a1a1a;
}

/* SECTION 5: BEST SELLERS snap swipe */
.bos-shadi-best-sellers-carousel {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  gap: 24px;
  padding: 16px 0;
}
.bos-shadi-best-sellers-carousel::-webkit-scrollbar {
  display: none;
}
.bos-carousel-item {
  scroll-snap-align: start;
  flex: 0 0 calc(25% - 18px);
  min-width: 260px;
}

/* SECTION 6: MARKETING MIDDLE BANNERS */
.bos-shadi-marketing-banners {
  padding: 60px 0;
}
.bos-shadi-marketing-banner-card {
  position: relative;
  height: 380px;
  border-radius: 20px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 60px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.05);
}
.bos-shadi-marketing-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.1) 100%);
  z-index: 1;
}
.bos-shadi-marketing-banner-content {
  position: relative;
  z-index: 2;
  color: #ffffff;
  text-align: right;
  max-width: 500px;
}
.bos-shadi-marketing-banner-content h3 {
  font-size: 32px;
  font-weight: 800;
  margin: 0 0 16px 0;
  line-height: 1.4;
}
.bos-shadi-marketing-banner-content p {
  font-size: 15px;
  margin: 0 0 32px 0;
  line-height: 1.8;
  opacity: 0.95;
}
.bos-shadi-glass-btn {
  display: inline-block;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.4);
  color: #ffffff;
  padding: 12px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  transition: all 0.3s ease;
}
.bos-shadi-glass-btn:hover {
  background: #ffffff;
  color: var(--bos-shadi-brand);
  transform: translateY(-2px);
}

/* SECTION 7: LATEST MAGAZINE ARTICLES */
.bos-shadi-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.bos-shadi-blog-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.03);
  box-shadow: 0 8px 30px rgba(0,0,0,0.01);
  transition: transform 0.3s ease;
}
.bos-shadi-blog-card:hover {
  transform: translateY(-4px);
}
.bos-shadi-blog-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  position: relative;
}
.bos-shadi-blog-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.bos-shadi-blog-content {
  padding: 24px;
}
.bos-shadi-blog-meta-date {
  font-size: 11px;
  color: var(--bos-shadi-brand);
  font-weight: 700;
  display: block;
  margin-bottom: 8px;
}
.bos-shadi-blog-content h3 {
  font-size: 16px;
  font-weight: 800;
  margin: 0 0 12px 0;
  line-height: 1.6;
}
.bos-shadi-blog-content h3 a {
  text-decoration: none;
  color: var(--bos-shadi-text);
  transition: color 0.2s;
}
.bos-shadi-blog-content h3 a:hover {
  color: var(--bos-shadi-brand);
}
.bos-shadi-blog-content p {
  font-size: 13px;
  color: var(--bos-shadi-text-light);
  line-height: 1.8;
  margin: 0;
}

/* RESPONSIVE LAYOUTS */
@media (max-width: 991px) {
  .bos-shadi-products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bos-shadi-blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bos-carousel-item {
    flex: 0 0 calc(50% - 12px);
  }
  .bos-shadi-hero-carousel {
    height: 500px;
  }
  .bos-shadi-hero-content-wrapper {
    justify-content: center;
    align-items: flex-end;
    padding-bottom: 50px;
  }
  .bos-shadi-hero-frosted-card {
    max-width: 90%;
    padding: 16px;
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 12px;
  }
  .bos-shadi-hero-frosted-card h2 {
    font-size: 24px;
  }
  .bos-shadi-trust-badges {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .bos-shadi-marketing-banner-card {
    padding: 40px;
    height: 320px;
  }
  .bos-shadi-marketing-banner-content h3 {
    font-size: 24px;
  }
}

@media (max-width: 576px) {
  .bos-shadi-products-grid,
  .bos-shadi-blog-grid {
    grid-template-columns: 1fr;
  }
  .bos-carousel-item {
    flex: 0 0 100%;
  }
  .bos-shadi-hero-carousel {
    height: 450px !important;
  }
  .bos-shadi-hero-slider {
    height: 100% !important;
  }
  .bos-shadi-hero-slide {
    position: relative !important;
    height: 100% !important;
    width: 100% !important;
    display: block !important;
  }
  .bos-shadi-hero-slide picture {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
  }
  .bos-shadi-hero-img {
    height: 100% !important;
    width: 100% !important;
    object-fit: cover !important;
    display: block !important;
  }
  .bos-shadi-hero-content-wrapper {
    position: absolute !important;
    top: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    display: flex !important;
    align-items: flex-end !important;
    justify-content: center !important;
    z-index: 2 !important;
    pointer-events: none !important;
    padding: 16px !important;
    padding-bottom: 40px !important;
  }
  .bos-shadi-hero-frosted-card {
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 12px !important;
    padding: 16px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
    max-width: 90% !important;
    margin: 0 auto !important;
    text-align: center !important;
    pointer-events: auto !important;
  }
  .bos-shadi-hero-frosted-card h2 {
    font-size: 20px !important;
    color: #1a1a1a !important;
    margin: 0 0 8px 0 !important;
    line-height: 1.4 !important;
    font-weight: 800 !important;
  }
  .bos-shadi-hero-frosted-card .bos-shadi-tagline {
    font-size: 11px !important;
    margin-bottom: 6px !important;
  }
  .bos-shadi-hero-btn {
    padding: 4px 12px !important;
    font-size: 12px !important;
    margin-top: 4px !important;
  }
  .bos-shadi-hero-dots {
    bottom: 12px !important;
  }
  .bos-shadi-brands-grid {
    flex-wrap: wrap;
    gap: 32px;
  }
  .bos-shadi-marketing-banner-card {
    padding: 24px;
    height: 280px;
  }
  .bos-shadi-marketing-banner-content h3 {
    font-size: 20px;
  }
  .bos-shadi-marketing-banner-content p {
    font-size: 13px;
  }
}

/* Dynamic Random Showcase Grid responsive layout matrix (Task 23) */
.bos-random-showcase-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 1024px) {
  .bos-random-showcase-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 16px;
  }
}
@media (max-width: 768px) {
  .bos-random-showcase-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px;
  }
}

/* Premium Brands Ribbon Styles (Task 24) */
.bos-shadi-brand-logo-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 2.5 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.bos-shadi-brand-logo-img {
  object-fit: contain !important;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  filter: grayscale(100%);
  opacity: 0.55;
  transition: filter 0.4s ease, opacity 0.4s ease;
}
.bos-shadi-brand-card-glass {
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}
.bos-shadi-brand-card-glass:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.65);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
}
.bos-shadi-brand-card-glass:hover .bos-shadi-brand-logo-img {
  filter: grayscale(0%);
  opacity: 1;
}
.bos-shadi-brands-showcase-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}
@media (max-width: 1024px) {
  .bos-shadi-brands-showcase-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    grid-template-rows: repeat(2, 1fr) !important;
    gap: 12px;
  }
}

/* ==========================================================================
   🎯 Global Banner Re-alignment & Inline Highlighting Overrides (Shadi)
   ========================================================================== */
.bos-shadi-hero-content-wrapper { 
    justify-content: flex-start !important; 
    align-items: flex-end !important; 
    padding-bottom: 24px !important; 
}

.bos-shadi-hero-frosted-card,
.bos-shadi-mid-banner-card .bos-shadi-mid-banner-content {
    position: absolute !important;
    bottom: 24px !important;
    right: 24px !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    text-align: right !important;
    width: auto !important;
    max-width: 50% !important;
    z-index: 10 !important;
}

.bos-shadi-hero-frosted-card h2,
.bos-shadi-hero-frosted-card .bos-shadi-tagline,
.bos-shadi-mid-banner-title,
.bos-shadi-mid-banner-subtitle {
    display: inline-block !important;
    width: fit-content !important;
    background: rgba(255, 255, 255, 0.25) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    padding: 2px 4px !important;
    border-radius: 6px !important;
    margin-bottom: 8px !important;
    
}

/* GLOBAL MOBILE COMPACTNESS RESPONSIVE OVERRIDES */
@media (max-width: 768px) {
    .bos-shadi-hero-frosted-card, 
    .bos-shadi-mid-banner-card .bos-shadi-mid-banner-content {
        bottom: 12px !important;
        right: 12px !important;
        max-width: 85% !important;
    }
    .bos-shadi-hero-frosted-card h2, 
    .bos-shadi-mid-banner-title { 
        font-size: 14px !important; 
    }
    .bos-shadi-hero-frosted-card .bos-shadi-tagline, 
    .bos-shadi-mid-banner-subtitle { 
        font-size: 11px !important; 
    }
}

/* Force Hardware Acceleration on Global Header to eliminate scroll lag on mobile GPUs */
header#bos-global-header {
    -webkit-transform: translateZ(0);
    transform: translate3d(0, 0, 0); /* Forces GPU layer creation */
    will-change: transform, opacity; /* Tells browser to prepare the GPU in advance */
    backface-visibility: hidden;
    perspective: 1000px;
}

/* Clean Performance Patch: Bypass heavy backdrop blur rendering on mobile viewports */
@media (max-width: 1024px) {
    header#bos-global-header.shadi-glass,
    body .shadi-glass,
    .shadi-glass {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        background-color: rgba(255, 255, 255, 0.96) !important;
    }
}

/* Reduce GPU paint complexity on mobile during fast scroll */
@media (max-width: 1024px) {
    .shadi-product-card-container, 
    .shadi-product-card-container * {
        box-shadow: 0 2px 8px rgba(0,0,0,0.04) !important; /* High-performance flat shadow */
        transition: none !important; /* Disable active transitions during scroll layer passes */
    }
}

@media (max-width: 1024px) {
    /* 1. Force the custom parent track to act as a tight horizontal conveyor belt */
    .homepage-category-ribbon .bos-shadi-container,
    .homepage-category-ribbon .bos-intex-container,
    .homepage-category-ribbon .bos-shadi-container > .wp-block-columns,
    .homepage-category-ribbon .bos-intex-container > .wp-block-columns,
    .homepage-category-ribbon .bos-shadi-container [class*="columns"],
    .homepage-category-ribbon .bos-intex-container [class*="columns"],
    .homepage-category-row {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        justify-content: flex-start !important;
        gap: 8px !important; /* Tight professional layout spacing */
        margin: 0 !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
        scrollbar-width: none !important; /* Hide Firefox scrollbar line */
    }

    /* 2. COMPLETELY KILL THE NATIVE SCROLLBAR LINE FOR ALL WEBKIT BROWSERS */
    .homepage-category-ribbon .bos-shadi-container::-webkit-scrollbar,
    .homepage-category-ribbon .bos-intex-container::-webkit-scrollbar,
    .homepage-category-ribbon .bos-shadi-container > .wp-block-columns::-webkit-scrollbar,
    .homepage-category-ribbon .bos-intex-container > .wp-block-columns::-webkit-scrollbar,
    .homepage-category-ribbon .bos-shadi-container [class*="columns"]::-webkit-scrollbar,
    .homepage-category-ribbon .bos-intex-container [class*="columns"]::-webkit-scrollbar,
    .homepage-category-row::-webkit-scrollbar {
        display: none !important;
    }

    /* 3. Strict 4-Item Grid Fit with 5th Item Partial Cut-off */
    /* Math: 4 items * 22% = 88% screen occupation. Remaining 12% naturally cuts the 5th element for peek UX. */
    .homepage-category-ribbon .wp-block-column,
    .homepage-category-ribbon [class*="column"],
    .homepage-category-ribbon .bos-shadi-container .wp-block-column,
    .homepage-category-ribbon .bos-intex-container .wp-block-column,
    .homepage-category-ribbon .bos-shadi-container [class*="column"],
    .homepage-category-ribbon .bos-intex-container [class*="column"],
    .homepage-category-item {
        flex: 0 0 22% !important;
        max-width: 22% !important;
        width: 22% !important;
        min-width: 72px !important;
        margin: 0 !important; /* CRITICAL: Kills default WP inline-start margins creating the ghost empty spaces */
        padding: 0 !important;
        text-align: center !important;
    }
}


