/*
Theme Name: مملكة العطور
Theme URI: https://mamlakatalutoor.com
Author: مملكة العطور
Author URI: https://mamlakatalutoor.com
Description: قالب ووردبريس فاخر لمتجر العطور مملكة العطور. تصميم ذهبي وأبيض أنيق مع دعم كامل لـ WooCommerce. A premium luxury perfume store WordPress theme with WooCommerce support.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mamlakat-alutoor
Tags: e-commerce, woocommerce, rtl-language, arabic, luxury, gold, perfume, right-to-left, elementor
WC requires at least: 7.0
WC tested up to: 9.0
Elementor: supported
*/

/* ========================================
   GOOGLE FONTS
======================================== */
@import url('https://fonts.googleapis.com/css2?family=Amiri:ital,wght@0,400;0,700;1,400;1,700&family=Tajawal:wght@200;300;400;500;700;800;900&display=swap');

/* ========================================
   CSS VARIABLES
======================================== */
:root {
    --color-gold: #C9A14A;
    --color-gold-light: #E6C875;
    --color-gold-dark: #9C7A35;
    --color-white: #FFFFFF;
    --color-off-white: #FAFAF8;
    --color-black: #0A0A0A;
    --color-text: #1A1A1A;
    --color-text-muted: #666666;
    --color-border: rgba(201, 161, 74, 0.25);
    --color-border-light: rgba(201, 161, 74, 0.12);
    --font-arabic: 'Amiri', 'Traditional Arabic', serif;
    --font-body: 'Tajawal', 'Arial', sans-serif;
    --shadow-gold: 0 8px 32px rgba(201, 161, 74, 0.18), 0 2px 8px rgba(0,0,0,0.06);
    --shadow-gold-hover: 0 16px 48px rgba(201, 161, 74, 0.28), 0 4px 12px rgba(0,0,0,0.10);
    --shadow-soft: 0 4px 24px rgba(0,0,0,0.06);
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --radius: 8px;
    --radius-lg: 16px;
}

/* ========================================
   RESET & BASE
======================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    color: var(--color-text);
    background-color: var(--color-white);
    line-height: 1.7;
    direction: rtl;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a { color: var(--color-gold); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--color-gold-dark); }

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-arabic);
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-text);
}

ul { list-style: none; }

input, textarea, select, button {
    font-family: var(--font-body);
    font-size: 1rem;
}

/* ========================================
   CONTAINER
======================================== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

@media (max-width: 768px) {
    .container { padding: 0 16px; }
}

/* ========================================
   TYPOGRAPHY UTILITIES
======================================== */
.gold-text {
    background: linear-gradient(135deg, var(--color-gold-light) 0%, var(--color-gold) 50%, var(--color-gold-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    text-align: center;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    text-align: center;
    color: var(--color-text-muted);
    font-size: 1.05rem;
    margin-bottom: 3rem;
}

.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 3.5rem;
}

.section-divider::before,
.section-divider::after {
    content: '';
    flex: 1;
    max-width: 80px;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--color-gold));
}

.section-divider::after {
    background: linear-gradient(to left, transparent, var(--color-gold));
}

.section-divider-diamond {
    width: 8px;
    height: 8px;
    background: var(--color-gold);
    transform: rotate(45deg);
}

/* ========================================
   BUTTONS
======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-decoration: none;
}

.btn-gold {
    background: linear-gradient(135deg, var(--color-gold-light) 0%, var(--color-gold) 50%, var(--color-gold-dark) 100%);
    color: var(--color-white);
    box-shadow: 0 4px 16px rgba(201, 161, 74, 0.35);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold-hover);
    color: var(--color-white);
}

.btn-outline {
    background: transparent;
    color: var(--color-gold);
    border: 1.5px solid var(--color-gold);
}

.btn-outline:hover {
    background: var(--color-gold);
    color: var(--color-white);
}

.btn-sm { padding: 10px 22px; font-size: 0.9rem; }
.btn-lg { padding: 18px 44px; font-size: 1.1rem; }

/* ========================================
   HEADER / NAVBAR
======================================== */
#masthead {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border-light);
    transition: var(--transition);
}

#masthead.scrolled {
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.site-logo {
    font-family: var(--font-arabic);
    font-size: 1.6rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--color-gold-light), var(--color-gold), var(--color-gold-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    white-space: nowrap;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.main-nav a {
    color: var(--color-text);
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    padding: 4px 0;
    text-decoration: none;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--color-gold);
    transition: var(--transition);
}

.main-nav a:hover::after,
.main-nav a.active::after { width: 100%; }

.main-nav a:hover { color: var(--color-gold); }

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.navbar-actions a {
    color: var(--color-text);
    font-size: 1.2rem;
    padding: 8px;
    border-radius: 50%;
    transition: var(--transition);
    text-decoration: none;
    position: relative;
}

.navbar-actions a:hover { color: var(--color-gold); background: rgba(201,161,74,0.08); }

.cart-count {
    position: absolute;
    top: -2px;
    left: -2px;
    background: var(--color-gold);
    color: var(--color-white);
    font-size: 0.65rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    transition: var(--transition);
}

/* ========================================
   HERO SECTION
======================================== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 72px;
    background: var(--color-white);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 80% at 25% 50%, rgba(201,161,74,0.06) 0%, transparent 70%),
        radial-gradient(ellipse 40% 60% at 80% 20%, rgba(201,161,74,0.04) 0%, transparent 60%),
        url('assets/images/marble-bg.jpg') center/cover no-repeat;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 80px 24px;
}

.hero-text {
    text-align: right;
}

.hero-badge {
    display: inline-block;
    background: rgba(201,161,74,0.1);
    color: var(--color-gold);
    border: 1px solid var(--color-border);
    border-radius: 50px;
    padding: 6px 20px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 5rem);
    line-height: 1.15;
    margin-bottom: 1.5rem;
    color: var(--color-text);
}

.hero-title .brand-name {
    display: block;
    background: linear-gradient(135deg, var(--color-gold-light), var(--color-gold), var(--color-gold-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    line-height: 1.8;
    max-width: 480px;
    margin-bottom: 2.5rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border-light);
}

.hero-stat-number {
    font-family: var(--font-arabic);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-gold);
}

.hero-stat-label {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.hero-image-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-bottle {
    max-width: 420px;
    width: 100%;
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 40px 60px rgba(201,161,74,0.3));
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.hero-glow {
    position: absolute;
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, rgba(201,161,74,0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 4s ease-in-out infinite;
    z-index: -1;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.1); opacity: 1; }
}

/* ========================================
   CATEGORIES SECTION
======================================== */
.categories-section {
    padding: 100px 0;
    background: var(--color-off-white);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.category-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    aspect-ratio: 3/4;
    cursor: pointer;
    border: 1px solid var(--color-border-light);
}

.category-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-card:hover .category-card-image { transform: scale(1.08); }

.category-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.1) 60%, transparent 100%);
    transition: var(--transition);
}

.category-card:hover .category-card-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(201,161,74,0.15) 100%);
}

.category-card-content {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    padding: 2rem;
    text-align: right;
}

.category-card-badge {
    display: inline-block;
    background: rgba(201,161,74,0.85);
    color: var(--color-white);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    padding: 4px 14px;
    border-radius: 50px;
    margin-bottom: 0.75rem;
}

.category-card-name {
    font-family: var(--font-arabic);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 0.4rem;
}

.category-card-count {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.8);
}

.category-card-frame {
    position: absolute;
    inset: 12px;
    border: 1px solid rgba(201,161,74,0.4);
    border-radius: calc(var(--radius-lg) - 4px);
    pointer-events: none;
    transition: var(--transition);
    opacity: 0;
}

.category-card:hover .category-card-frame { opacity: 1; }

/* ========================================
   PRODUCT CARDS
======================================== */
.products-section { padding: 100px 0; }

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.product-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--color-border-light);
    transition: var(--transition);
    position: relative;
}

.product-card:hover {
    box-shadow: var(--shadow-gold-hover);
    border-color: var(--color-border);
    transform: translateY(-4px);
}

.product-card-image-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
}

.product-card-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-card-image-wrap img { transform: scale(1.07); }

.product-card-badges {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
}

.badge-new { background: #1a1a1a; color: #fff; }
.badge-sale { background: var(--color-gold); color: #fff; }
.badge-bestseller { background: rgba(201,161,74,0.15); color: var(--color-gold); border: 1px solid var(--color-border); }

.product-card-wishlist {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    opacity: 0;
    font-size: 1rem;
    color: var(--color-text-muted);
}

.product-card:hover .product-card-wishlist { opacity: 1; }
.product-card-wishlist:hover { background: var(--color-gold); color: var(--color-white); }
.product-card-wishlist.wishlisted { opacity: 1; background: var(--color-gold); color: var(--color-white); }

.product-card-body { padding: 1.25rem; }

.product-card-brand {
    font-size: 0.75rem;
    color: var(--color-gold);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 0.35rem;
}

.product-card-title {
    font-family: var(--font-arabic);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 0.75rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 0.75rem;
    direction: ltr;
    justify-content: flex-end;
}

.stars { color: var(--color-gold); font-size: 0.85rem; letter-spacing: 1px; }

.rating-count { font-size: 0.8rem; color: var(--color-text-muted); }

.product-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.product-price { display: flex; flex-direction: column; align-items: flex-end; }

.price-current {
    font-family: var(--font-arabic);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-gold-dark);
}

.price-original {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    text-decoration: line-through;
}

.btn-add-cart {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-gold);
    color: var(--color-white);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.btn-add-cart:hover { background: var(--color-gold-dark); transform: scale(1.1); box-shadow: 0 4px 16px rgba(201,161,74,0.4); }

/* ========================================
   BRAND STORY SECTION
======================================== */
.brand-story-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #0A0A0A 0%, #1A1204 100%);
    position: relative;
    overflow: hidden;
}

.brand-story-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 50% 60% at 80% 40%, rgba(201,161,74,0.1) 0%, transparent 60%),
        radial-gradient(ellipse 30% 40% at 20% 70%, rgba(201,161,74,0.06) 0%, transparent 50%);
}

.brand-story-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 6rem;
    position: relative;
    z-index: 1;
}

.brand-story-label {
    color: var(--color-gold);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    display: block;
}

.brand-story-title {
    font-family: var(--font-arabic);
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--color-white);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.brand-story-text {
    color: rgba(255,255,255,0.7);
    font-size: 1.05rem;
    line-height: 1.9;
    margin-bottom: 2rem;
}

.brand-story-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.brand-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    direction: rtl;
}

.brand-feature-icon {
    width: 40px;
    height: 40px;
    background: rgba(201,161,74,0.15);
    border: 1px solid rgba(201,161,74,0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gold);
    font-size: 1rem;
    flex-shrink: 0;
}

.brand-feature-text {
    color: rgba(255,255,255,0.85);
    font-size: 0.95rem;
}

.brand-story-image-wrap {
    position: relative;
    padding: 20px;
}

.brand-story-image-wrap::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    border: 1px solid rgba(201,161,74,0.3);
    border-radius: var(--radius-lg);
}

.brand-story-img {
    width: 100%;
    border-radius: var(--radius);
    object-fit: cover;
    aspect-ratio: 4/5;
}

/* ========================================
   SINGLE PRODUCT PAGE
======================================== */
.single-product-page {
    padding: 120px 0 80px;
}

.product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}

.product-gallery {}

.product-main-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--color-border-light);
    aspect-ratio: 1;
    margin-bottom: 1rem;
}

.product-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-main-image:hover img { transform: scale(1.04); }

.product-thumbnails {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.product-thumb {
    aspect-ratio: 1;
    border-radius: var(--radius);
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
}

.product-thumb:hover,
.product-thumb.active { border-color: var(--color-gold); }

.product-thumb img { width: 100%; height: 100%; object-fit: cover; }

.product-details { position: sticky; top: 100px; }

.product-category-link {
    font-size: 0.8rem;
    color: var(--color-gold);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 1rem;
}

.product-title-single {
    font-family: var(--font-arabic);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    margin-bottom: 1rem;
}

.product-meta-row {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.product-price-single {
    font-family: var(--font-arabic);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-gold-dark);
}

.product-price-original-single {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    text-decoration: line-through;
}

.product-description {
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: 0.98rem;
}

.product-attributes {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--color-off-white);
    border-radius: var(--radius);
    border: 1px solid var(--color-border-light);
}

.product-attribute {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
}

.product-attribute-label {
    font-weight: 600;
    color: var(--color-text);
    min-width: 80px;
}

.product-attribute-value { color: var(--color-text-muted); }

.product-add-cart-section {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1.5rem;
}

.quantity-input {
    display: flex;
    align-items: center;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius);
    overflow: hidden;
}

.qty-btn {
    width: 42px;
    height: 52px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--color-gold);
    transition: var(--transition);
}

.qty-btn:hover { background: rgba(201,161,74,0.08); }

.qty-number {
    width: 56px;
    text-align: center;
    border: none;
    outline: none;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
}

.btn-add-single {
    flex: 1;
    background: linear-gradient(135deg, var(--color-gold-light), var(--color-gold), var(--color-gold-dark));
    color: var(--color-white);
    border: none;
    border-radius: var(--radius);
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-body);
}

.btn-add-single:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(201,161,74,0.4);
}

.btn-wishlist-single {
    width: 52px;
    height: 52px;
    border-radius: var(--radius);
    border: 1.5px solid var(--color-border);
    background: transparent;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.3rem;
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-wishlist-single:hover { border-color: var(--color-gold); color: var(--color-gold); }

/* ========================================
   SHOP / ARCHIVE PAGE
======================================== */
.shop-page { padding: 120px 0 80px; }

.shop-header {
    text-align: center;
    margin-bottom: 3rem;
}

.shop-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 3rem;
    align-items: start;
}

.shop-sidebar { position: sticky; top: 100px; }

.filter-widget {
    background: var(--color-white);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.filter-widget-title {
    font-family: var(--font-arabic);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--color-border-light);
    color: var(--color-text);
}

.filter-list { display: flex; flex-direction: column; gap: 0.75rem; }

.filter-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--color-text-muted);
    transition: var(--transition);
    direction: rtl;
}

.filter-item:hover { color: var(--color-gold); }

.filter-item input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--color-gold);
    cursor: pointer;
}

.price-range-wrap { padding: 0.5rem 0; }

.price-range-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 0.75rem;
}

input[type="range"] {
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--color-gold) var(--pct, 50%), #e0e0e0 var(--pct, 50%));
    border-radius: 2px;
    outline: none;
    -webkit-appearance: none;
    cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    background: var(--color-gold);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(201,161,74,0.4);
}

.shop-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding: 1rem 1.25rem;
    background: var(--color-white);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius);
}

.shop-count { font-size: 0.9rem; color: var(--color-text-muted); }

.shop-sort {
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 8px 14px;
    font-size: 0.9rem;
    color: var(--color-text);
    background: transparent;
    outline: none;
    cursor: pointer;
}

/* ========================================
   CART PAGE
======================================== */
.cart-page { padding: 120px 0 80px; }

.cart-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 2.5rem;
    align-items: start;
}

.cart-table {
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.cart-table-header {
    display: grid;
    grid-template-columns: 80px 1fr 120px 120px 120px 48px;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: var(--color-off-white);
    border-bottom: 1px solid var(--color-border-light);
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.cart-item {
    display: grid;
    grid-template-columns: 80px 1fr 120px 120px 120px 48px;
    gap: 1rem;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--color-border-light);
}

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

.cart-item-image {
    width: 80px;
    height: 80px;
    border-radius: var(--radius);
    object-fit: cover;
    border: 1px solid var(--color-border-light);
}

.cart-item-title {
    font-family: var(--font-arabic);
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-text);
    display: block;
    margin-bottom: 4px;
}

.cart-item-brand { font-size: 0.8rem; color: var(--color-gold); }

.cart-qty-input {
    width: 60px;
    text-align: center;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius);
    padding: 8px;
    font-size: 0.9rem;
}

.cart-item-total {
    font-weight: 700;
    color: var(--color-gold-dark);
    font-size: 1rem;
}

.cart-remove {
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    cursor: pointer;
    color: var(--color-text-muted);
    border-radius: 50%;
    transition: var(--transition);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-remove:hover { background: #fee2e2; color: #ef4444; }

.cart-summary {
    background: var(--color-white);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    position: sticky;
    top: 100px;
}

.cart-summary-title {
    font-family: var(--font-arabic);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--color-border-light);
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.cart-summary-row.total {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-gold-dark);
    padding-top: 1rem;
    margin-top: 0.5rem;
    border-top: 1px solid var(--color-border-light);
}

/* ========================================
   CHECKOUT
======================================== */
.checkout-page { padding: 120px 0 80px; }

.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 3rem;
    align-items: start;
}

.checkout-form-section {
    background: var(--color-white);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
}

.checkout-section-title {
    font-family: var(--font-arabic);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--color-border-light);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-group.full { grid-column: 1 / -1; }

.form-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-text);
}

.form-input, .form-select, .form-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-text);
    background: var(--color-white);
    outline: none;
    transition: var(--transition);
    text-align: right;
    direction: rtl;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
    border-color: var(--color-gold);
    box-shadow: 0 0 0 3px rgba(201,161,74,0.12);
}

.form-textarea { resize: vertical; min-height: 100px; }

/* ========================================
   FOOTER
======================================== */
#colophon {
    background: linear-gradient(135deg, #0D0D0D 0%, #1A1204 100%);
    color: rgba(255,255,255,0.75);
    padding: 80px 0 0;
    position: relative;
    overflow: hidden;
}

#colophon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--color-gold), transparent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand-name {
    font-family: var(--font-arabic);
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--color-gold-light), var(--color-gold), var(--color-gold-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-bottom: 1rem;
}

.footer-tagline { font-size: 0.9rem; line-height: 1.7; margin-bottom: 1.5rem; }

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

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    transition: var(--transition);
    text-decoration: none;
}

.footer-social a:hover {
    background: var(--color-gold);
    border-color: var(--color-gold);
    color: var(--color-white);
}

.footer-widget-title {
    font-family: var(--font-arabic);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 30px;
    height: 2px;
    background: var(--color-gold);
}

.footer-links { display: flex; flex-direction: column; gap: 0.75rem; }

.footer-links a {
    color: rgba(255,255,255,0.65);
    font-size: 0.9rem;
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
    direction: rtl;
}

.footer-links a:hover { color: var(--color-gold); padding-right: 6px; }

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    direction: rtl;
}

.footer-contact-icon { color: var(--color-gold); margin-top: 2px; flex-shrink: 0; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 1.5rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.45);
}

/* ========================================
   LOADING SCREEN
======================================== */
.loading-screen {
    position: fixed;
    inset: 0;
    background: var(--color-white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.loading-screen[style*="display: none"],
.loading-screen[style*="display:none"] {
    display: none !important;
}

.loading-logo {
    font-family: var(--font-arabic);
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--color-gold-light), var(--color-gold), var(--color-gold-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
    animation: fadeInUp 0.6s ease;
}

.loading-bar {
    width: 200px;
    height: 2px;
    background: rgba(201,161,74,0.15);
    border-radius: 2px;
    overflow: hidden;
}

.loading-bar-fill {
    height: 100%;
    background: linear-gradient(135deg, var(--color-gold-light), var(--color-gold));
    animation: loading 1.8s ease-in-out;
}

@keyframes loading {
    0% { width: 0%; }
    100% { width: 100%; }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ========================================
   WOOCOMMERCE OVERRIDES
======================================== */
.woocommerce-notices-wrapper .woocommerce-message,
.woocommerce-notices-wrapper .woocommerce-info,
.woocommerce-notices-wrapper .woocommerce-error {
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
    padding: 1rem 1.5rem;
    font-family: var(--font-body);
}

.woocommerce-notices-wrapper .woocommerce-message { background: #f0fdf4; border-top: 3px solid #22c55e; color: #166534; }
.woocommerce-notices-wrapper .woocommerce-error { background: #fef2f2; border-top: 3px solid #ef4444; color: #991b1b; }

.woocommerce .star-rating { color: var(--color-gold); }

.woocommerce ul.products li.product .price { color: var(--color-gold-dark); font-family: var(--font-arabic); font-weight: 700; }

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
    background: var(--color-gold) !important;
    color: var(--color-white) !important;
    border-radius: var(--radius) !important;
    font-family: var(--font-body) !important;
    transition: var(--transition) !important;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover {
    background: var(--color-gold-dark) !important;
}

.woocommerce-page .breadcrumb {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
    direction: rtl;
}

/* ========================================
   ABOUT PAGE
======================================== */
.about-page { padding: 120px 0 80px; }

.about-hero {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 5rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 5rem;
}

.value-card {
    padding: 2.5rem;
    background: var(--color-white);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition);
}

.value-card:hover {
    border-color: var(--color-border);
    box-shadow: var(--shadow-gold);
    transform: translateY(-4px);
}

.value-icon {
    width: 64px;
    height: 64px;
    background: rgba(201,161,74,0.1);
    border: 1px solid var(--color-border);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

/* ========================================
   CONTACT PAGE
======================================== */
.contact-page { padding: 120px 0 80px; }

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    margin-bottom: 2rem;
    direction: rtl;
}

.contact-info-icon {
    width: 52px;
    height: 52px;
    background: rgba(201,161,74,0.1);
    border: 1px solid var(--color-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--color-gold);
    flex-shrink: 0;
}

/* ========================================
   FAQ PAGE
======================================== */
.faq-page { padding: 120px 0 80px; }

.faq-list { max-width: 800px; margin: 0 auto; }

.faq-item {
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius);
    margin-bottom: 1rem;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.open { border-color: var(--color-border); }

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    color: var(--color-text);
    direction: rtl;
    background: var(--color-white);
}

.faq-question:hover { color: var(--color-gold); }

.faq-icon {
    color: var(--color-gold);
    font-size: 1.2rem;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-answer {
    padding: 0 1.5rem 1.25rem;
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
    display: none;
    direction: rtl;
}

.faq-item.open .faq-answer { display: block; }

/* ========================================
   WISHLIST
======================================== */
.wishlist-page { padding: 120px 0 80px; }

.wishlist-empty {
    text-align: center;
    padding: 5rem 2rem;
}

.wishlist-empty-icon {
    font-size: 4rem;
    color: rgba(201,161,74,0.3);
    margin-bottom: 1.5rem;
}

/* ========================================
   MY ACCOUNT
======================================== */
.account-page { padding: 120px 0 80px; }

.woocommerce-MyAccount-navigation {
    background: var(--color-white);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
}

.woocommerce-MyAccount-navigation ul { display: flex; flex-direction: column; gap: 0.5rem; }

.woocommerce-MyAccount-navigation a {
    display: block;
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
    color: var(--color-text);
    font-size: 0.95rem;
    text-decoration: none;
    transition: var(--transition);
    direction: rtl;
}

.woocommerce-MyAccount-navigation a:hover,
.woocommerce-MyAccount-navigation li.is-active a {
    background: rgba(201,161,74,0.08);
    color: var(--color-gold);
}

/* ========================================
   BREADCRUMB
======================================== */
.breadcrumb-wrap {
    background: var(--color-off-white);
    border-bottom: 1px solid var(--color-border-light);
    padding: 12px 0;
    margin-top: 72px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    direction: rtl;
}

.breadcrumb a { color: var(--color-text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--color-gold); }
.breadcrumb-sep { color: var(--color-border); }
.breadcrumb-current { color: var(--color-gold); font-weight: 600; }

/* ========================================
   PAGINATION
======================================== */
.woocommerce-pagination,
.navigation.pagination {
    text-align: center;
    margin-top: 3rem;
}

.page-numbers {
    display: inline-flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.page-numbers a,
.page-numbers span {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius);
    font-size: 0.9rem;
    color: var(--color-text);
    text-decoration: none;
    transition: var(--transition);
}

.page-numbers a:hover,
.page-numbers span.current {
    background: var(--color-gold);
    border-color: var(--color-gold);
    color: var(--color-white);
}

/* ========================================
   TOAST / NOTIFICATIONS
======================================== */
.toast-container {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    z-index: 99998;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.toast {
    background: #1a1a1a;
    color: #fff;
    padding: 1rem 1.5rem;
    border-radius: var(--radius);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    animation: slideInLeft 0.3s ease;
    border-right: 3px solid var(--color-gold);
    min-width: 260px;
    direction: rtl;
}

@keyframes slideInLeft {
    from { transform: translateX(-110%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* ========================================
   RESPONSIVE
======================================== */
@media (max-width: 1200px) {
    .products-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}

@media (max-width: 1024px) {
    .hero-content { grid-template-columns: 1fr; text-align: center; }
    .hero-text { order: 2; }
    .hero-image-wrapper { order: 1; }
    .hero-description { max-width: 100%; }
    .hero-cta { justify-content: center; }
    .hero-stats { justify-content: center; }
    .brand-story-inner { grid-template-columns: 1fr; }
    .product-layout { grid-template-columns: 1fr; }
    .shop-layout { grid-template-columns: 1fr; }
    .shop-sidebar { position: static; }
    .cart-layout { grid-template-columns: 1fr; }
    .checkout-layout { grid-template-columns: 1fr; }
    .contact-layout { grid-template-columns: 1fr; }
    .values-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .main-nav { display: none; }
    .main-nav.open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 72px;
        right: 0;
        left: 0;
        background: rgba(255,255,255,0.98);
        backdrop-filter: blur(20px);
        padding: 1.5rem;
        border-bottom: 1px solid var(--color-border-light);
        z-index: 9998;
        gap: 0.5rem;
    }
    .mobile-menu-toggle { display: flex; }
    .categories-grid { grid-template-columns: 1fr 1fr; }
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .hero-title { font-size: 2.5rem; }
    .cart-table-header { display: none; }
    .cart-item { grid-template-columns: 80px 1fr; grid-template-rows: auto auto; gap: 0.75rem; }
    .form-row { grid-template-columns: 1fr; }
    .values-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; gap: 0.75rem; text-align: center; }
}

@media (max-width: 480px) {
    .categories-grid { grid-template-columns: 1fr; }
    .products-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .product-card-body { padding: 1rem; }
    .hero-cta { flex-direction: column; align-items: center; }
    .hero-stats { flex-wrap: wrap; gap: 1.5rem; }
}

/* ========================================
   PRINT
======================================== */
@media print {
    #masthead, #colophon, .loading-screen { display: none !important; }
    body { padding-top: 0; }
}

/* ========================================
   ELEMENTOR COMPATIBILITY
======================================== */

/* Remove default margin/padding when Elementor controls the page */
.elementor-page .site-main > .container,
body.elementor-page > #page > #primary {
    padding: 0 !important;
    max-width: 100% !important;
}

/* Fix header overlap for Elementor sections */
.elementor-section:first-child {
    scroll-margin-top: 72px;
}

/* Elementor container direction */
.elementor,
.elementor-inner,
.elementor-section,
.elementor-container,
.elementor-widget-wrap {
    direction: rtl;
}

/* Gold gradient border utility */
.e-gold-border-gradient {
    border: 1px solid transparent;
    background-clip: padding-box;
    position: relative;
}
.e-gold-border-gradient::before {
    content: '';
    position: absolute;
    inset: -1px;
    background: linear-gradient(135deg, #E6C875, #C9A14A, #9C7A35);
    border-radius: inherit;
    z-index: -1;
}

/* Elementor button gold skin */
.elementor-button.elementor-size-sm.btn-gold-skin,
a.elementor-button.btn-gold-skin {
    background: linear-gradient(135deg, #E6C875, #C9A14A, #9C7A35) !important;
    color: #fff !important;
    border: none !important;
    box-shadow: 0 4px 16px rgba(201,161,74,0.35) !important;
    font-family: 'Tajawal', sans-serif !important;
    font-weight: 600 !important;
    transition: all 0.35s cubic-bezier(0.4,0,0.2,1) !important;
}
.elementor-button.btn-gold-skin:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 28px rgba(201,161,74,0.45) !important;
}

/* Elementor section with dark luxury background */
.elementor-section.e-luxury-dark {
    background: linear-gradient(135deg, #0A0A0A 0%, #1A1204 100%) !important;
}

/* Elementor heading gold */
.elementor-widget-heading .elementor-heading-title.e-gold-title {
    background: linear-gradient(135deg, #E6C875 0%, #C9A14A 50%, #9C7A35 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Elementor divider gold */
.elementor-widget-divider .elementor-divider-separator.e-gold-divider {
    border-color: #C9A14A !important;
}

/* Elementor icon gold */
.elementor-widget-icon .elementor-icon.e-gold-icon,
.elementor-widget-icon-box .elementor-icon.e-gold-icon {
    color: #C9A14A !important;
    border-color: rgba(201,161,74,0.3) !important;
    background: rgba(201,161,74,0.08) !important;
}

/* WooCommerce product widgets in Elementor */
.elementor-widget-woocommerce-products .products {
    direction: rtl;
}

/* Elementor popup RTL */
.elementor-popup-modal .dialog-widget-content {
    direction: rtl;
}

/* Elementor form RTL */
.elementor-form .elementor-field-group {
    direction: rtl;
    text-align: right;
}

.elementor-form .elementor-field-type-text input,
.elementor-form .elementor-field-type-email input,
.elementor-form .elementor-field-type-tel input,
.elementor-form .elementor-field-type-textarea textarea,
.elementor-form .elementor-field-type-select select {
    text-align: right;
    direction: rtl;
    font-family: 'Tajawal', sans-serif;
}

/* Elementor nav menu RTL */
.elementor-widget-nav-menu .elementor-nav-menu .menu-item a {
    font-family: 'Tajawal', sans-serif;
    direction: rtl;
}

/* Fix Elementor editor admin bar spacing */
body.wp-toolbar .elementor-edit-area {
    padding-top: 32px;
}

/* Elementor column gap fix for RTL */
.elementor-row {
    flex-direction: row;
}

/* Mobile: Elementor columns stacked */
@media (max-width: 768px) {
    .elementor-column {
        width: 100% !important;
    }
}

/* Elementor sticky header fix */
body.elementor-page #masthead {
    z-index: 9999;
}

/* When Elementor Pro Theme Builder header is active */
.elementor-location-header #masthead {
    display: none !important;
}
.elementor-location-footer #colophon {
    display: none !important;
}
