/*
Theme Name: LuxeGlow Landing Store
Theme URI: https://example.com/luxeglow-landing-store
Author: LuxeGlow Studio
Author URI: https://example.com
Description: ثيم ووردبريس وووكومرس احترافي مخصص لمتاجر الكوزمتيك (مستحضرات التجميل)، الأحذية، والشنط. يحول صفحة المنتج إلى صفحة هبوط بيعية (Landing Page) عالية التحويل مع الدفع المباشر في نفس الصفحة (Direct On-Page Checkout)، متوافق بالكامل مع شروط تابي (Tabby) وتمارا (Tamara) وبوابات الدفع البنكي، ومزود بنظام ربط وتصدير تلقائي للطلبات وبيانات بوابة الدفع إلى Google Sheets وملفات Excel.
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
WC requires at least: 7.0
WC tested up to: 9.3
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: luxeglow
Tags: e-commerce, woocommerce, rtl-language-support, one-column, two-columns, custom-colors, custom-menu, featured-images, full-width-template, theme-options
*/

:root {
    --lg-primary: #b85d79;       /* Rose Berry - Cosmetics & Luxury */
    --lg-primary-dark: #94405a;
    --lg-secondary: #1f1a1c;     /* Espresso Obsidian - Bags & Footwear */
    --lg-accent: #d4af37;        /* Champagne Gold */
    --lg-bg: #fdfbf9;            /* Warm Ivory */
    --lg-surface: #ffffff;
    --lg-border: #ece4e0;
    --lg-text: #221d1f;
    --lg-muted: #6e6468;
    --lg-success: #16805c;
    --lg-tabby: #3eedbf;
    --lg-tamara: #f7b267;
    --lg-radius: 14px;
    --lg-shadow: 0 10px 30px rgba(31, 26, 28, 0.06);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Tajawal', 'Cairo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--lg-bg);
    color: var(--lg-text);
    line-height: 1.7;
    direction: rtl;
    text-align: right;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.25s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.lg-container {
    width: 100%;
    max-width: 1260px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Top Announcement Bar */
.lg-topbar {
    background: linear-gradient(90deg, var(--lg-secondary), #38282f);
    color: #fff;
    font-size: 0.88rem;
    padding: 9px 0;
    text-align: center;
    font-weight: 500;
}
.lg-topbar span.highlight {
    color: var(--lg-tabby);
    font-weight: 700;
    margin: 0 6px;
}

/* Header */
.lg-header {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--lg-border);
    position: sticky;
    top: 0;
    z-index: 999;
}
.lg-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
    gap: 20px;
}
.lg-logo {
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--lg-secondary);
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.lg-logo-badge {
    background: var(--lg-primary);
    color: #fff;
    font-size: 0.72rem;
    padding: 3px 9px;
    border-radius: 20px;
    font-weight: 600;
}

.lg-nav ul {
    display: flex;
    list-style: none;
    gap: 26px;
}
.lg-nav a {
    font-weight: 600;
    font-size: 0.98rem;
    color: var(--lg-text);
    position: relative;
}
.lg-nav a:hover {
    color: var(--lg-primary);
}

.lg-header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}
.lg-cart-btn {
    background: var(--lg-secondary);
    color: #fff;
    padding: 9px 18px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.lg-cart-btn:hover {
    background: var(--lg-primary);
}

/* Hero Banner (Front Page) */
.lg-hero {
    padding: 64px 0;
    background: radial-gradient(circle at top right, #fceef2 0%, #fdfbf9 60%);
    border-bottom: 1px solid var(--lg-border);
}
.lg-hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 40px;
    align-items: center;
}
.lg-hero-tag {
    display: inline-block;
    background: #f8e1e7;
    color: var(--lg-primary-dark);
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    margin-bottom: 16px;
}
.lg-hero h1 {
    font-size: 2.75rem;
    line-height: 1.25;
    color: var(--lg-secondary);
    margin-bottom: 18px;
    font-weight: 800;
}
.lg-hero p {
    font-size: 1.1rem;
    color: var(--lg-muted);
    margin-bottom: 28px;
    max-width: 580px;
}
.lg-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--lg-primary);
    color: #fff;
    font-weight: 700;
    padding: 15px 32px;
    border-radius: 40px;
    font-size: 1.05rem;
    box-shadow: 0 8px 22px rgba(184, 93, 121, 0.32);
    border: none;
    cursor: pointer;
}
.lg-btn-primary:hover {
    background: var(--lg-primary-dark);
    transform: translateY(-2px);
}

/* Category Pills (Cosmetics, Shoes, Bags) */
.lg-categories-section {
    padding: 50px 0 30px;
}
.lg-sec-title {
    text-align: center;
    margin-bottom: 36px;
}
.lg-sec-title h2 {
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--lg-secondary);
}
.lg-sec-title p {
    color: var(--lg-muted);
}
.lg-cat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.lg-cat-card {
    background: var(--lg-surface);
    border: 1px solid var(--lg-border);
    border-radius: var(--lg-radius);
    padding: 28px;
    text-align: center;
    box-shadow: var(--lg-shadow);
    transition: transform 0.25s ease, border-color 0.25s ease;
}
.lg-cat-card:hover {
    transform: translateY(-5px);
    border-color: var(--lg-primary);
}
.lg-cat-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
}
.lg-cat-card h3 {
    font-size: 1.35rem;
    margin-bottom: 8px;
    color: var(--lg-secondary);
}
.lg-cat-card p {
    font-size: 0.92rem;
    color: var(--lg-muted);
}

/* Product Cards Grid */
.lg-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 26px;
    padding: 20px 0 60px;
}
.lg-product-card {
    background: var(--lg-surface);
    border: 1px solid var(--lg-border);
    border-radius: var(--lg-radius);
    overflow: hidden;
    box-shadow: var(--lg-shadow);
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease;
}
.lg-product-card:hover {
    transform: translateY(-4px);
}
.lg-product-thumb {
    position: relative;
    aspect-ratio: 1 / 1;
    background: #f8f4f2;
    overflow: hidden;
}
.lg-product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.lg-badge-sale {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #e53935;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
}
.lg-product-body {
    padding: 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.lg-product-title {
    font-size: 1.08rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--lg-secondary);
}
.lg-product-price {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--lg-primary);
    margin-bottom: 10px;
}
.lg-bnpl-mini {
    font-size: 0.78rem;
    color: var(--lg-muted);
    background: #f6f3f4;
    padding: 6px 10px;
    border-radius: 8px;
    margin-bottom: 14px;
}
.lg-card-cta {
    margin-top: auto;
    width: 100%;
    text-align: center;
    background: var(--lg-secondary);
    color: #fff;
    padding: 11px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.92rem;
}
.lg-card-cta:hover {
    background: var(--lg-primary);
}

/* Footer & Compliance Badges */
.lg-footer {
    background: var(--lg-secondary);
    color: #e2d9dc;
    padding: 55px 0 25px;
    margin-top: 60px;
}
.lg-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 32px;
    margin-bottom: 40px;
}
.lg-footer h4 {
    color: #fff;
    font-size: 1.12rem;
    margin-bottom: 16px;
    font-weight: 700;
}
.lg-footer ul {
    list-style: none;
}
.lg-footer ul li {
    margin-bottom: 10px;
}
.lg-footer ul a:hover {
    color: var(--lg-tabby);
}
.lg-payment-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}
.lg-pay-pill {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 700;
}
.lg-pay-pill.tabby {
    background: #3eedbf;
    color: #0b2921;
    border-color: #3eedbf;
}
.lg-pay-pill.tamara {
    background: #f7b267;
    color: #2b1803;
    border-color: #f7b267;
}
.lg-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 22px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: #a89ea2;
}

@media (max-width: 900px) {
    .lg-hero-grid,
    .lg-cat-grid,
    .lg-footer-grid {
        grid-template-columns: 1fr;
    }
    .lg-hero h1 {
        font-size: 2rem;
    }
    .lg-nav {
        display: none;
    }
}


/* === Bilingual English (LTR) Support === */
html[dir="ltr"] body {
    direction: ltr;
    text-align: left;
    font-family: 'Plus Jakarta Sans', 'Tajawal', sans-serif;
}
html[dir="ltr"] .lg-lp-highlights li,
html[dir="ltr"] .lg-footer-grid,
html[dir="ltr"] .lg-checkout-header,
html[dir="ltr"] .woocommerce-checkout {
    text-align: left;
}
