

/* ==================== Theme: glamour_cosmetics
        :root {
            --primary: #be185d;
            --primary-hover: #9d174d;
            --primary-soft: #fdf2f8;
            --rose-gold: #e2a792;
            --rose-dark: #831843;
            --bg-light: #fffafb;
            --card-bg: #ffffff;
            --text-main: #1f2937;
            --text-muted: #6b7280;
            --radius-md: 14px;
            --radius-lg: 22px;
            --shadow-soft: 0 10px 25px rgba(190, 24, 93, 0.08);
            --shadow-hover: 0 15px 35px rgba(190, 24, 93, 0.16);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Cairo', sans-serif !important;
        }

        /* Protect LineAwesome icons from font-family override */
        .las, .lar, .lab, .la, i[class*="la-"], [class^="la-"] {
            font-family: "Line Awesome Free", "LineAwesome" !important;
            font-weight: 900 !important;
            font-style: normal !important;
        }
        .fa, .fas, .far, .fab {
            font-family: "Font Awesome 6 Free", "FontAwesome" !important;
        }

        body {
            background-color: var(--bg-light);
            color: var(--text-main);
            overflow-x: hidden;
            line-height: 1.7;
        }

        /* Top Announcement Bar */
        .cosmetic-top-bar {
            background: linear-gradient(90deg, #be185d, #e11d48);
            color: #ffffff;
            font-size: 0.85rem;
            padding: 7px 0;
            font-weight: 600;
        }

        /* Navbar */
        .cosmetic-nav {
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(12px);
            border-bottom: 1px solid #fce7f3;
            position: sticky;
            top: 0;
            z-index: 1000;
            padding: 14px 0;
        }
        .brand-logo {
            display: flex;
            align-items: center;
            gap: 10px;
            text-decoration: none;
        }
        .brand-icon-box {
            width: 44px;
            height: 44px;
            background: linear-gradient(135deg, #be185d, #fb7185);
            color: #fff;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 12px;
            font-size: 1.4rem;
            box-shadow: 0 4px 12px rgba(190, 24, 93, 0.25);
        }
        .brand-text h1 {
            font-size: 1.35rem;
            font-weight: 800;
            color: var(--rose-dark);
            margin: 0;
            line-height: 1.1;
        }
        .brand-text small {
            font-size: 0.72rem;
            color: var(--text-muted);
            letter-spacing: 1px;
            text-transform: uppercase;
        }

        .nav-links a {
            color: #374151;
            font-weight: 600;
            text-decoration: none;
            padding: 6px 14px;
            border-radius: 8px;
            transition: all 0.2s ease;
            font-size: 0.95rem;
        }
        .nav-links a:hover {
            color: var(--primary);
            background: var(--primary-soft);
        }

        .lang-switch-btn {
            background: #fdf2f8;
            color: var(--primary);
            border: 1px solid #fbcfe8;
            padding: 6px 14px;
            border-radius: 20px;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.2s;
            display: inline-flex;
            align-items: center;
            gap: 6px;
        }
        .lang-switch-btn:hover {
            background: var(--primary);
            color: #fff;
        }

        /* Hero Banner */
        .cosmetic-hero {
            padding: 60px 0 80px;
            position: relative;
            background: radial-gradient(circle at 10% 20%, rgba(253, 242, 248, 0.8) 0%, rgba(255, 250, 251, 1) 90%);
        }
        .badge-cosmetic {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: #fdf2f8;
            color: var(--primary);
            border: 1px solid #fbcfe8;
            padding: 6px 16px;
            border-radius: 30px;
            font-size: 0.88rem;
            font-weight: 700;
            margin-bottom: 18px;
        }
        .hero-title {
            font-size: 2.8rem;
            font-weight: 900;
            color: #111827;
            line-height: 1.25;
            margin-bottom: 20px;
        }
        .hero-title span {
            background: linear-gradient(135deg, #be185d, #e11d48);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }
        .hero-desc {
            font-size: 1.15rem;
            color: #4b5563;
            margin-bottom: 30px;
            max-width: 580px;
        }

        .hero-img-wrapper {
            position: relative;
            border-radius: var(--radius-lg);
            overflow: hidden;
            box-shadow: 0 20px 45px rgba(190, 24, 93, 0.15);
            border: 4px solid #ffffff;
        }
        .hero-img-wrapper img {
            width: 100%;
            height: auto;
            display: block;
            transition: transform 0.6s ease;
        }
        .hero-img-wrapper:hover img {
            transform: scale(1.03);
        }

        /* Floating Trust Tag */
        .trust-tag {
            position: absolute;
            bottom: 20px;
            left: 20px;
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(8px);
            padding: 12px 20px;
            border-radius: 14px;
            box-shadow: 0 10px 20px rgba(0,0,0,0.08);
            display: flex;
            align-items: center;
            gap: 12px;
        }
        .trust-tag-icon {
            width: 40px;
            height: 40px;
            background: #fdf2f8;
            color: var(--primary);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
        }

        /* Feature Cards */
        .feat-card {
            background: #ffffff;
            border-radius: var(--radius-md);
            padding: 24px;
            text-align: center;
            border: 1px solid #fce7f3;
            box-shadow: var(--shadow-soft);
            transition: all 0.3s ease;
            height: 100%;
        }
        .feat-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-hover);
            border-color: #fbcfe8;
        }
        .feat-icon {
            width: 55px;
            height: 55px;
            background: linear-gradient(135deg, #fdf2f8, #fce7f3);
            color: var(--primary);
            border-radius: 14px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 1.6rem;
            margin-bottom: 15px;
        }

        /* Interactive Shade Selector Widget */
        .shade-widget-box {
            background: #ffffff;
            border-radius: var(--radius-lg);
            border: 2px solid #fce7f3;
            padding: 35px;
            box-shadow: var(--shadow-soft);
            margin: 50px 0;
        }
        .shade-pill {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            padding: 10px 18px;
            border-radius: 30px;
            border: 2px solid #e5e7eb;
            cursor: pointer;
            transition: all 0.2s;
            background: #fff;
            margin: 6px;
        }
        .shade-pill.active {
            border-color: var(--primary);
            background: #fdf2f8;
        }
        .shade-circle {
            width: 22px;
            height: 22px;
            border-radius: 50%;
            border: 2px solid rgba(0,0,0,0.1);
        }

        /* Product Card */
        .cosmetic-card {
            background: #ffffff;
            border-radius: var(--radius-md);
            border: 1px solid #fce7f3;
            overflow: hidden;
            box-shadow: var(--shadow-soft);
            transition: all 0.3s ease;
            display: flex;
            flex-direction: column;
            height: 100%;
        }
        .cosmetic-card:hover {
            transform: translateY(-6px);
            box-shadow: var(--shadow-hover);
            border-color: #fbcfe8;
        }
        .card-img-box {
            position: relative;
            background: #fff5f7;
            padding: 25px;
            text-align: center;
            overflow: hidden;
        }
        .card-img-box img {
            max-height: 200px;
            object-fit: contain;
            transition: transform 0.4s ease;
        }
        .cosmetic-card:hover .card-img-box img {
            transform: scale(1.08);
        }
        .badge-stock {
            position: absolute;
            top: 15px;
            right: 15px;
            background: #dcfce7;
            color: #15803d;
            font-size: 0.75rem;
            font-weight: 700;
            padding: 4px 10px;
            border-radius: 20px;
        }
        .card-body-box {
            padding: 20px;
            display: flex;
            flex-direction: column;
            flex-grow: 1;
        }
        .product-cat {
            font-size: 0.8rem;
            color: var(--primary);
            font-weight: 700;
            text-transform: uppercase;
            margin-bottom: 5px;
        }
        .product-title {
            font-size: 1.1rem;
            font-weight: 700;
            color: #111827;
            margin-bottom: 8px;
            line-height: 1.4;
        }
        .product-desc {
            font-size: 0.88rem;
            color: #6b7280;
            margin-bottom: 16px;
            flex-grow: 1;
        }
        .price-box {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-top: auto;
            padding-top: 15px;
            border-top: 1px dashed #fce7f3;
        }
        .price-val {
            font-size: 1.25rem;
            font-weight: 800;
            color: var(--rose-dark);
        }
        .btn-add-cart {
            background: var(--primary);
            color: #ffffff;
            border: none;
            padding: 8px 18px;
            border-radius: 10px;
            font-weight: 700;
            font-size: 0.9rem;
            cursor: pointer;
            transition: all 0.2s;
            display: inline-flex;
            align-items: center;
            gap: 6px;
        }
        .btn-add-cart:hover {
            background: var(--primary-hover);
            color: #ffffff;
            transform: scale(1.02);
        }

        /* Cart Drawer */
        .cart-drawer {
            position: fixed;
            top: 0;
            left: -420px;
            width: 400px;
            max-width: 90vw;
            height: 100vh;
            background: #ffffff;
            box-shadow: 5px 0 35px rgba(0,0,0,0.15);
            z-index: 2000;
            transition: left 0.35s ease;
            display: flex;
            flex-direction: column;
        }
        [dir="rtl"] .cart-drawer {
            left: auto;
            right: -420px;
            transition: right 0.35s ease;
        }
        .cart-drawer.open {
            left: 0;
        }
        [dir="rtl"] .cart-drawer.open {
            right: 0;
        }
        .cart-header {
            padding: 20px;
            border-bottom: 1px solid #f3f4f6;
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: #fff5f7;
        }
        .cart-body {
            padding: 20px;
            overflow-y: auto;
            flex-grow: 1;
        }
        .cart-footer {
            padding: 20px;
            border-top: 1px solid #f3f4f6;
            background: #fafafa;
        }
        .cart-backdrop {
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            background: rgba(0,0,0,0.4);
            z-index: 1999;
            display: none;
        }
        .cart-backdrop.show {
            display: block;
        }

        /* Routine Box */
        .routine-banner {
            background: linear-gradient(135deg, #831843, #be185d);
            border-radius: var(--radius-lg);
            color: #ffffff;
            padding: 40px;
            box-shadow: 0 15px 35px rgba(131, 24, 67, 0.25);
            position: relative;
            overflow: hidden;
        }

        /* High-Contrast Footer */
        .cosmetic-footer {
            background: #0f172a;
            color: #f8fafc !important;
            padding: 65px 0 35px;
            margin-top: 80px;
            border-top: 1px solid #1e293b;
        }
        .cosmetic-footer h4, .cosmetic-footer h6 {
            color: #ffffff !important;
            font-weight: 800 !important;
        }
        .cosmetic-footer p, .cosmetic-footer span, .cosmetic-footer small, .cosmetic-footer li {
            color: #e2e8f0 !important;
            font-size: 0.95rem;
            line-height: 1.8;
        }
        .cosmetic-footer a {
            color: #fce7f3 !important;
            text-decoration: none;
            transition: all 0.2s;
            font-weight: 500;
        }
        .cosmetic-footer a:hover {
            color: #fb7185 !important;
            text-decoration: underline;
        }
        .cosmetic-footer .border-top {
            border-color: #334155 !important;
            color: #cbd5e1 !important;
        }

        @media (max-width: 991px) {
            body {
                padding-bottom: 78px !important;
            }
            .hero-title {
                font-size: 2.2rem;
            }
            /* Fixed App Bottom Navigation */
            .mobile-app-bottom-nav {
                position: fixed;
                bottom: 0;
                left: 0;
                right: 0;
                height: 64px;
                background: rgba(15, 23, 42, 0.95);
                backdrop-filter: blur(25px);
                -webkit-backdrop-filter: blur(25px);
                border-top: 1px solid rgba(244, 63, 94, 0.3);
                display: flex;
                justify-content: space-around;
                align-items: center;
                z-index: 99999;
                box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.35);
                padding-bottom: env(safe-area-inset-bottom, 0px);
            }
            .app-nav-item {
                display: flex;
                flex-direction: column;
                align-items: center;
                justify-content: center;
                color: #94a3b8;
                text-decoration: none;
                font-size: 0.72rem;
                font-weight: 700;
                cursor: pointer;
                transition: all 0.2s ease;
                flex: 1;
                padding: 6px 0;
            }
            .app-nav-item i {
                font-size: 1.4rem;
                margin-bottom: 2px;
                transition: transform 0.2s ease;
            }
            .app-nav-item.active, .app-nav-item:hover {
                color: #ffe4e6;
            }
            .app-nav-item.active i {
                color: #f43f5e;
                transform: translateY(-2px);
            }
            .app-nav-featured {
                position: relative;
            }
            .featured-icon-bubble {
                width: 46px;
                height: 46px;
                border-radius: 50%;
                background: linear-gradient(135deg, #be185d, #f43f5e);
                color: #ffffff;
                display: flex;
                align-items: center;
                justify-content: center;
                margin-top: -24px;
                border: 3px solid #0f172a;
                box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
                font-size: 1.35rem;
                transition: transform 0.25s ease;
            }
            .app-nav-featured:hover .featured-icon-bubble {
                transform: scale(1.1) translateY(-2px);
            }
            .app-nav-badge {
                position: absolute;
                top: -6px;
                right: -8px;
                background: #f43f5e;
                color: #ffffff;
                font-size: 0.65rem;
                font-weight: 800;
                padding: 1px 6px;
                border-radius: 12px;
                border: 2px solid #0f172a;
            }
            /* Native App Toast */
            .app-toast-container {
                position: fixed;
                bottom: 80px;
                left: 50%;
                transform: translateX(-50%) translateY(100px);
                opacity: 0;
                transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
                z-index: 100000;
                pointer-events: none;
                width: 90%;
                max-width: 380px;
            }
            .app-toast-container.show {
                transform: translateX(-50%) translateY(0);
                opacity: 1;
                pointer-events: auto;
            }
            .app-toast-content {
                background: rgba(15, 23, 42, 0.96);
                backdrop-filter: blur(20px);
                -webkit-backdrop-filter: blur(20px);
                color: #ffffff;
                padding: 12px 18px;
                border-radius: 14px;
                border: 1px solid rgba(244, 63, 94, 0.35);
                display: flex;
                align-items: center;
                gap: 12px;
                box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
                font-size: 0.88rem;
                font-weight: 700;
            }
        }

        @media (max-width: 991px) {
            .hero-title {
                font-size: 2.2rem;
            }
        }
        @media (max-width: 768px) {
            .hero-title {
                font-size: 1.85rem;
            }
            .cosmetic-top-bar .container {
                justify-content: center !important;
                text-align: center;
            }
        }

        /* Mobile Hamburger & Offcanvas Drawer */
        .mobile-menu-btn {
            width: 42px;
            height: 42px;
            border-radius: 12px;
            border: 1px solid rgba(244, 63, 94, 0.4);
            background: #fff1f2;
            color: #e11d48;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 1.35rem;
            cursor: pointer;
            transition: all 0.25s ease;
            box-shadow: 0 4px 12px rgba(225, 29, 72, 0.15);
            line-height: 1;
        }
        .mobile-menu-btn:hover, .mobile-menu-btn:active {
            background: #ffe4e6;
            border-color: #e11d48;
            color: #be123c;
            transform: scale(1.05);
        }

        .mobile-drawer-backdrop {
            position: fixed;
            inset: 0;
            background: rgba(15, 23, 42, 0.75);
            backdrop-filter: blur(6px);
            -webkit-backdrop-filter: blur(6px);
            z-index: 100001;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        }
        .mobile-drawer-backdrop.active {
            opacity: 1;
            pointer-events: auto;
        }

        .mobile-app-drawer {
            position: fixed;
            top: 0;
            bottom: 0;
            width: 320px;
            max-width: 86vw;
            background: #ffffff;
            color: #1e293b;
            z-index: 100002;
            display: flex;
            flex-direction: column;
            box-shadow: 0 0 50px rgba(0, 0, 0, 0.35);
            transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
            overflow-y: auto;
            -webkit-overflow-scrolling: touch;
        }
        /* RTL default */
        [dir="rtl"] .mobile-app-drawer, html[dir="rtl"] .mobile-app-drawer, body[dir="rtl"] .mobile-app-drawer {
            right: 0;
            left: auto;
            transform: translateX(100%);
            border-right: 1px solid rgba(244, 63, 94, 0.2);
            border-left: none;
        }
        [dir="rtl"] .mobile-app-drawer.open, html[dir="rtl"] .mobile-app-drawer.open, body[dir="rtl"] .mobile-app-drawer.open {
            transform: translateX(0);
        }
        /* LTR */
        [dir="ltr"] .mobile-app-drawer, html[dir="ltr"] .mobile-app-drawer, body[dir="ltr"] .mobile-app-drawer {
            left: 0;
            right: auto;
            transform: translateX(-100%);
            border-left: 1px solid rgba(244, 63, 94, 0.2);
            border-right: none;
        }
        [dir="ltr"] .mobile-app-drawer.open, html[dir="ltr"] .mobile-app-drawer.open, body[dir="ltr"] .mobile-app-drawer.open {
            transform: translateX(0);
        }

        .drawer-header {
            padding: 20px 18px 16px;
            background: linear-gradient(135deg, #fff1f2, #ffe4e6);
            border-bottom: 1px solid rgba(244, 63, 94, 0.2);
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
        }
        .drawer-brand-card {
            display: flex;
            align-items: center;
            gap: 12px;
        }
        .drawer-brand-icon {
            width: 44px;
            height: 44px;
            border-radius: 12px;
            background: linear-gradient(135deg, #be185d, #f43f5e);
            display: flex;
            align-items: center;
            justify-content: center;
            color: #ffffff;
            font-size: 1.35rem;
            box-shadow: 0 4px 15px rgba(244, 63, 94, 0.35);
        }
        .drawer-brand-title {
            font-size: 1.15rem;
            font-weight: 900;
            color: #881337;
            line-height: 1.2;
        }
        .drawer-brand-sub {
            font-size: 0.72rem;
            color: #e11d48;
            font-weight: 600;
        }
        .drawer-close-btn {
            width: 36px;
            height: 36px;
            border-radius: 10px;
            background: #ffffff;
            border: 1px solid rgba(244, 63, 94, 0.2);
            color: #881337;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            font-size: 1.2rem;
            transition: all 0.2s ease;
        }
        .drawer-close-btn:hover {
            background: #f43f5e;
            color: #ffffff;
        }

        .drawer-body {
            padding: 16px 14px 100px;
            flex: 1;
        }
        .drawer-search input {
            background: #f8fafc;
            border: 1px solid #e2e8f0;
            color: #0f172a;
            border-radius: 10px;
            font-size: 0.85rem;
            padding: 8px 12px;
        }
        .drawer-search input:focus {
            background: #ffffff;
            border-color: #f43f5e;
            box-shadow: none;
        }

        .drawer-section-title {
            font-size: 0.76rem;
            text-transform: uppercase;
            letter-spacing: 1.2px;
            color: #e11d48;
            font-weight: 800;
            margin: 18px 8px 8px;
        }
        .drawer-menu-list {
            list-style: none;
            padding: 0;
            margin: 0;
            display: flex;
            flex-direction: column;
            gap: 4px;
        }
        .drawer-menu-link {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 10px 14px;
            border-radius: 12px;
            color: #334155;
            text-decoration: none;
            font-size: 0.92rem;
            font-weight: 600;
            transition: all 0.2s ease;
            background: #f8fafc;
            border: 1px solid transparent;
        }
        .drawer-menu-link:hover, .drawer-menu-link:active {
            background: #fff1f2;
            border-color: #fecdd3;
            color: #e11d48;
            transform: translateX(currentLang === 'ar' ? -4px : 4px);
        }
        .drawer-link-left {
            display: flex;
            align-items: center;
            gap: 12px;
        }
        .drawer-link-icon {
            width: 32px;
            height: 32px;
            border-radius: 8px;
            background: #fff1f2;
            color: #e11d48;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.15rem;
        }
        .drawer-link-badge {
            font-size: 0.7rem;
            background: #ffe4e6;
            color: #e11d48;
            padding: 2px 8px;
            border-radius: 12px;
            font-weight: 700;
        }

        .drawer-settings-box {
            background: #f8fafc;
            border: 1px solid #e2e8f0;
            border-radius: 14px;
            padding: 12px 14px;
            display: flex;
            flex-direction: column;
            gap: 10px;
        }
        .drawer-setting-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            font-size: 0.88rem;
            color: #475569;
        }
        .drawer-setting-label {
            display: flex;
            align-items: center;
            gap: 8px;
            font-weight: 600;
        }

        .drawer-support-card {
            background: linear-gradient(135deg, rgba(37, 211, 102, 0.12), rgba(240, 253, 244, 0.9));
            border: 1px solid rgba(37, 211, 102, 0.35);
            border-radius: 14px;
            padding: 12px 14px;
        }
        .drawer-whatsapp-icon {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: #25d366;
            color: #ffffff;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.35rem;
            flex-shrink: 0;
            box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
        }
    