/* ═══════════════════════════════════════════════════
 *  الدخيل للعود - Main Stylesheet
 * ═══════════════════════════════════════════════════ */

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

:root {
    --gold: #8B6914;
    --gold-light: #C4A24E;
    --gold-dark: #6d5410;
    --dark: #1a1a1a;
    --dark-2: #2d2d2d;
    --gray: #666;
    --light-gray: #f8f7f4;
    --border: #e8e4dc;
    --red: #c41e3a;
    --burgundy: #722F37;
    --burgundy-dark: #5C242B;
    --burgundy-light: #8E3D47;
    --white: #ffffff;
    --green: #25d366;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }
body {
    font-family: 'Tajawal', sans-serif;
    background: var(--white);
    color: var(--dark);
    line-height: 1.7;
    overflow-x: hidden;
    direction: rtl;
}
h1, h2, h3, h4 { font-weight: 700; line-height: 1.3; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
.container { max-width: 1400px; margin: 0 auto; padding: 0 2rem; }

/* ═══ ANNOUNCEMENT ═══ */
.announcement {
    background: #050505;
    color: var(--white);
    padding: 0.5rem 1rem;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 500;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}
.announcement-content {
    display: inline-block;
    min-width: max-content;
    animation: announcementMove 18s linear infinite;
}
.announcement::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 200%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(196,162,78,0.1), transparent);
    animation: shimmer 4s infinite;
}
@keyframes shimmer { to { transform: translateX(50%); } }
@keyframes announcementMove {
    from { transform: translateX(35%); }
    to { transform: translateX(-35%); }
}
.announcement span { color: var(--gold-light); }

/* ═══ NAVBAR ═══ */
.navbar {
    /* opacity controlled via --nav-opacity CSS var (set in helpers.php) */
    background: rgba(8, 8, 8, var(--nav-opacity, 0.45));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid rgba(196,162,78,0.18);
}
.navbar-sticky { position: sticky; top: 0; }

/* ── Navbar overlays the hero on home page ──
 * Strategy: keep navbar in normal flow (so it stays BELOW the announcement),
 * just make it transparent + raise its z-index. Pull the hero up via negative
 * margin so it slides UNDER the navbar; compensate with padding-top on hero
 * so its content still appears at the same visual position as before. */
body.has-overlay-nav .navbar.navbar-overlay-hero { z-index: 1001; }
body.has-overlay-nav .navbar.navbar-overlay-hero:not(.scrolled) {
    background: rgba(8, 8, 8, var(--overlay-opacity, 0)) !important;
    backdrop-filter: blur(calc(20px * var(--overlay-opacity, 0))) !important;
    -webkit-backdrop-filter: blur(calc(20px * var(--overlay-opacity, 0))) !important;
    border-bottom-color: transparent !important;
    box-shadow: none !important;
}
body.has-overlay-nav #content > .hero,
body.has-overlay-nav main > .hero,
body.has-overlay-nav #content > .page-header,
body.has-overlay-nav main > .page-header,
body.has-overlay-nav #content > .breadcrumb {
    margin-top: calc(-1 * var(--nav-h, 80px));
    padding-top: var(--nav-h, 80px);
}
/* Desktop: small breathing gap between navbar and the page-header / breadcrumb */
@media (min-width: 1024px) {
    body.has-overlay-nav #content > .page-header,
    body.has-overlay-nav main > .page-header,
    body.has-overlay-nav #content > .breadcrumb {
        padding-top: calc(var(--nav-h, 80px) + 24px);
    }
}
/* Pages without a hero/header (like My Account) need top padding so the navbar doesn't overlay them.
 * Excludes .home so the front-page hero overlay still works. */
body.has-overlay-nav.woocommerce-account #content,
body.has-overlay-nav.woocommerce-cart #content,
body.has-overlay-nav.woocommerce-checkout #content,
body.has-overlay-nav.page:not(.home) #content,
body.has-overlay-nav.single-post #content {
    padding-top: var(--nav-h, 80px);
}
/* On scroll: let the default .navbar.scrolled rule apply (white slightly transparent) */
/* Push navbar below WP admin bar when logged in */
.admin-bar .navbar-sticky { top: 32px; }
@media screen and (max-width: 782px) {
    .admin-bar .navbar-sticky { top: 46px; }
}
@media screen and (max-width: 600px) {
    .admin-bar .navbar-sticky { top: 0; }
}
.navbar-style-light {
    background: rgba(255,255,255,0.98);
    border-bottom: 1px solid rgba(0,0,0,0.08);
}
.navbar-style-burgundy {
    background: rgba(107, 31, 42, var(--nav-opacity, 0.92)) !important;
    border-bottom: 1px solid rgba(196,162,78,0.3);
}
.navbar-style-burgundy .nav-links a,
.navbar-style-burgundy .nav-icon,
.navbar-style-burgundy .lang-current {
    color: #fff !important;
}
.navbar-style-burgundy .nav-links a:hover {
    color: var(--gold-light) !important;
    background: rgba(255,255,255,0.08);
}
.navbar-style-burgundy .hamburger span { background: #fff !important; }
.navbar-style-transparent {
    background: transparent !important;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.navbar.scrolled {
    background: rgba(255,255,255,0.86) !important;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}
.navbar.scrolled .nav-links a,
.navbar.scrolled .nav-icon { color: var(--dark) !important; }
.navbar.scrolled .nav-links a:hover { color: var(--gold); }
.navbar.scrolled .hamburger span { background: var(--dark) !important; }
.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 0;
    gap: 2rem;
}
.logo { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }
.logo-img { height: 56px; width: auto; transition: height 0.3s ease; }
.navbar.scrolled .logo-img { height: 42px; }
.navbar.scrolled .logo-img.logo-light,
.navbar-style-light .logo-img.logo-light { display: none; }
.navbar .logo-img.logo-dark { display: none; }
.navbar.scrolled .logo-img.logo-dark,
.navbar-style-light .logo-img.logo-dark { display: block; }

.nav-links { display: flex; gap: 0.3rem; flex: 1; justify-content: center; }
.nav-links a {
    color: var(--white);
    font-size: 0.88rem;
    font-weight: 600;
    padding: 0.5rem 0.9rem;
    border-radius: 8px;
    transition: var(--transition);
    white-space: nowrap;
}
.navbar-style-light .nav-links a { color: var(--dark); }
.nav-links a:hover { color: var(--gold); background: rgba(139,105,20,0.06); }
.nav-link-highlight { color: var(--gold-light) !important; }

.nav-right { display: flex; align-items: center; gap: 0.15rem; flex-shrink: 0; }
.account-menu-wrap { position: relative; }
.nav-icon {
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    font-size: 1.1rem;
    color: var(--white);
    transition: var(--transition);
    position: relative;
    cursor: pointer;
}
.navbar-style-light .nav-icon { color: var(--dark); }
.nav-icon:hover { background: rgba(139,105,20,0.08); color: var(--gold); }

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

.account-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    width: 180px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    padding: 0.45rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: var(--transition);
    z-index: 1100;
}
.account-dropdown.active { opacity: 1; visibility: visible; transform: translateY(0); }
.account-dropdown a {
    display: flex; align-items: center; gap: 0.6rem;
    padding: 0.8rem 0.9rem;
    border-radius: 9px;
    color: var(--dark);
    font-weight: 800;
    font-size: 0.9rem;
}
.account-dropdown a:hover { background: var(--light-gray); color: var(--gold); }
.account-dropdown i { width: 18px; color: var(--gold); text-align: center; }

.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; cursor: pointer; }
.hamburger span { width: 22px; height: 2px; background: var(--white); border-radius: 2px; transition: var(--transition); }
.navbar-style-light .hamburger span { background: var(--dark); }

/* ═══ MOBILE MENU ═══ */
.mobile-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
    z-index: 1999;
    opacity: 0; visibility: hidden;
    transition: var(--transition);
}
.mobile-overlay.active { opacity: 1; visibility: visible; }
.mobile-menu {
    position: fixed; top: 0; right: 0;
    width: 320px; max-width: 85vw; height: 100vh;
    background: var(--white);
    z-index: 2000;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    box-shadow: -10px 0 40px rgba(0,0,0,0.15);
}
.mobile-menu-slide-left { right: auto; left: 0; transform: translateX(-100%); }
.mobile-menu-fullscreen { width: 100vw; max-width: 100vw; }
.mobile-menu.active { transform: translateX(0); }
.mobile-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
}
.mobile-close { font-size: 1.5rem; color: var(--gray); padding: 4px; }
.mobile-links { padding: 1rem 0; }
.mobile-links a {
    display: flex; align-items: center; gap: 0.75rem;
    padding: 1rem 1.5rem;
    font-size: 1rem; font-weight: 600;
    color: var(--dark);
    border-bottom: 1px solid rgba(0,0,0,0.04);
    transition: var(--transition);
}
.mobile-links a i { width: 20px; text-align: center; color: var(--gold); font-size: 0.9rem; }
.mobile-links a:hover { background: var(--light-gray); color: var(--gold); }
.mobile-submenu {
    background: #fafafa;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: 0.35rem 0 0.55rem;
}
.mobile-submenu a {
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.65rem 3.25rem 0.65rem 1.5rem;
    color: var(--gray);
    border-bottom: 0;
}
.mobile-submenu a::before {
    content: '';
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--gold);
}

/* ═══ HERO ═══ */
.hero {
    position: relative;
    height: 96vh;
    min-height: 640px;
    max-height: 950px;
    overflow: hidden;
}
.hero-slide {
    position: absolute; inset: 0;
    opacity: 0;
    transition: opacity 1.2s ease;
}
.hero-slide.active { opacity: 1; }
.hero-bg {
    width: 100%; height: 100%;
    object-fit: cover;
    transform: scale(1.02);
    animation: heroZoom 12s ease infinite alternate;
}
.hero-bg-contain { object-fit: contain; background: #050505; transform: none; animation: none; }

/* Hero text overlay (optional per slide) */
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: linear-gradient(to bottom, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.5) 100%);
}
.hero-overlay-inner {
    max-width: 700px;
    color: #fff;
    animation: fadeInUp 0.8s ease;
}
.hero-overlay-title {
    font-size: clamp(1.8rem, 5vw, 3.4rem);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1rem;
    text-shadow: 0 2px 18px rgba(0,0,0,0.5);
}
.hero-overlay-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255,255,255,0.9);
    margin-bottom: 1.6rem;
    max-width: 600px;
    text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}
.hero-overlay-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    background: var(--gold);
    color: #fff;
    border-radius: 8px;
    font-weight: 800;
    font-size: 0.95rem;
    transition: var(--transition);
    border: 1.5px solid var(--gold);
}
.hero-slide:hover .hero-overlay-btn {
    background: transparent;
    transform: translateY(-2px);
}

/* Hero Placeholder (empty state) */
.hero-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #2d2d2d 100%);
    overflow: hidden;
}
.hero-placeholder-bg {
    position: absolute; inset: 0;
    background-image:
        radial-gradient(circle at 15% 30%, rgba(196,162,78,0.08) 0%, transparent 35%),
        radial-gradient(circle at 85% 70%, rgba(139,105,20,0.1) 0%, transparent 40%);
    pointer-events: none;
}
.hero-placeholder-bg::after {
    content: '';
    position: absolute; inset: 0;
    background-image:
        linear-gradient(45deg, transparent 48%, rgba(196,162,78,0.05) 50%, transparent 52%),
        linear-gradient(-45deg, transparent 48%, rgba(196,162,78,0.05) 50%, transparent 52%);
    background-size: 60px 60px;
    opacity: 0.6;
}
.hero-placeholder-content {
    position: relative; z-index: 2;
    text-align: center;
    color: #fff;
    padding: 2rem;
    max-width: 700px;
    animation: fadeInUp 0.8s ease;
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.hero-placeholder-content h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    background: linear-gradient(135deg, #C4A24E 0%, #fff 50%, #C4A24E 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}
.hero-tagline {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: rgba(255,255,255,0.7);
    margin-bottom: 2.5rem;
    font-weight: 500;
}
.hero-decor {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.2rem;
}
.hero-decor-line {
    width: 60px; height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
}
.hero-decor-icon {
    color: var(--gold-light);
    font-size: 1.5rem;
    animation: pulse 2s ease infinite;
}
@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
}
.hero-empty-note {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.2rem;
    background: rgba(196,162,78,0.1);
    border: 1px solid rgba(196,162,78,0.3);
    border-radius: 50px;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.85);
    margin-top: 1rem;
}
.hero-empty-note i { color: var(--gold-light); }
.hero-empty-note a {
    color: var(--gold-light);
    text-decoration: underline;
    margin-right: 0.3rem;
    font-weight: 700;
}
.hero-empty-note a:hover { color: #fff; }

/* Welcome Section (empty state) */
.welcome-empty-state {
    padding: 4rem 0;
    text-align: center;
}
.welcome-empty-state .welcome-icon {
    width: 90px; height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2.4rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 12px 30px rgba(196,162,78,0.25);
}
.welcome-empty-state h2 {
    font-size: 1.8rem;
    margin-bottom: 0.7rem;
    color: var(--dark);
}
.welcome-empty-state p {
    color: var(--gray);
    max-width: 580px;
    margin: 0 auto 2rem;
    font-size: 1rem;
    line-height: 1.8;
}
.welcome-actions {
    display: flex;
    gap: 0.8rem;
    justify-content: center;
    flex-wrap: wrap;
}
.welcome-action {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 700;
    transition: var(--transition);
}
.welcome-action.primary {
    background: var(--dark);
    color: #fff;
}
.welcome-action.primary:hover {
    background: var(--gold);
    transform: translateY(-2px);
}
.welcome-action.outline {
    border: 1.5px solid var(--border);
    color: var(--dark);
}
.welcome-action.outline:hover {
    border-color: var(--gold);
    color: var(--gold);
}
@keyframes heroZoom { to { transform: scale(1.06); } }
.hero-link { display: block; width: 100%; height: 100%; }

.hero-nav {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 10;
}
.hero-nav-item { display: flex; align-items: center; gap: 0.6rem; cursor: pointer; padding: 0.5rem 0; }
.hero-nav-num {
    font-size: 1.1rem;
    font-weight: 700;
    color: rgba(255,255,255,0.4);
    transition: var(--transition);
    min-width: 20px;
    text-align: center;
}
.hero-nav-item.active .hero-nav-num { color: white; font-size: 1.3rem; }
.hero-nav-bar {
    width: 60px; height: 3px;
    background: rgba(255,255,255,0.2);
    border-radius: 3px;
    overflow: hidden;
    position: relative;
}
.hero-nav-fill {
    position: absolute;
    top: 0; right: 0;
    height: 100%; width: 0%;
    background: var(--gold-light);
    border-radius: 3px;
}
.hero-nav-item.active .hero-nav-fill { animation: progressFill 6s linear forwards; }
@keyframes progressFill { from { width: 0; } to { width: 100%; } }
.hero-nav-divider { width: 1px; height: 20px; background: rgba(255,255,255,0.15); }

/* ═══ SECTIONS ═══ */
.section { padding: 5rem 0; }
.section-alt { background: var(--light-gray); }
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-tag {
    display: inline-block;
    padding: 0.3rem 1rem;
    background: rgba(139,105,20,0.08);
    color: var(--gold);
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 50px;
    margin-bottom: 0.8rem;
    letter-spacing: 0.5px;
}
.section-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    color: var(--dark);
    margin-bottom: 0.6rem;
}
.section-line {
    width: 60px; height: 3px;
    background: var(--gold);
    margin: 0.8rem auto 0;
    border-radius: 3px;
}
.section-subtitle { font-size: 0.95rem; color: var(--gray); }

/* ═══ CAROUSEL HEADER ═══ */
.section-carousel .section-header {
    margin-bottom: 1.1rem;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: start;
    gap: 0.8rem;
    text-align: right;
}
.section-carousel .section-tag,
.section-carousel .section-line { display: none; }
.section-carousel .section-subtitle {
    grid-column: 1; grid-row: 2;
    max-width: 520px;
    margin: 0;
    font-size: 0.9rem;
    text-align: right;
    justify-self: start;
}
.section-carousel .section-title {
    grid-column: 1; grid-row: 1;
    justify-self: start;
    margin-bottom: 0;
    font-size: clamp(1.45rem, 3vw, 1.9rem);
    font-weight: 900;
    position: relative;
    padding-right: 1rem;
    text-align: right;
}
.section-carousel .section-title::before {
    content: '';
    position: absolute;
    right: 0; top: 50%;
    width: 5px; height: 26px;
    border-radius: 99px;
    background: var(--gold);
    transform: translateY(-50%);
}
.carousel-head-action {
    grid-column: 2; grid-row: 1;
    justify-self: end;
    align-self: center;
    display: inline-flex;
    align-items: center; justify-content: center;
    width: 52px; height: 40px;
    border: 1.5px solid var(--dark);
    border-radius: 5px;
    color: var(--dark);
    background: transparent;
    cursor: pointer;
    transition: var(--transition);
}
.carousel-head-action:hover { color: var(--gold); border-color: var(--gold); transform: translateX(-3px); }

/* ── Bestsellers grid: 5 desktop / 4 mobile + "More" button (desktop only) ── */
.bestsellers-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.2rem;
}
.bestsellers-more-wrap {
    text-align: center;
    margin-top: 2rem;
}
.btn-more {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding: .85rem 2.2rem;
    background: var(--dark);
    color: #fff;
    font-weight: 800;
    font-size: .92rem;
    border-radius: 999px;
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid var(--dark);
}
.btn-more:hover {
    background: var(--gold);
    border-color: var(--gold);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(139,105,20,.28);
}
.btn-more i { font-size: .8rem; }
@media (max-width: 1024px) {
    .bestsellers-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .bestsellers-grid > .product-card:nth-child(n+5) { display: none; } /* show only 4 */
    .bestsellers-more-wrap { display: none; } /* desktop only */
}

.section-carousel .products-grid,
.carousel-grid {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 0.2rem 0.2rem 1rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
/* Carousel wrapper made relative so arrows can sit on its sides */
.section-carousel .container { position: relative; }
/* Elegant arrows — desktop only (hidden < 1024px via media query below) */
.carousel-arrows {
    display: none;
    position: absolute;
    inset: 50% 0 auto;
    pointer-events: none;
    z-index: 10;
}
@media (min-width: 1024px) {
    .section-carousel .carousel-arrows { display: block; }
}
.carousel-arrow {
    position: absolute;
    top: 0;
    transform: translateY(-50%);
    width: 48px; height: 48px;
    border-radius: 50%;
    background: #fff;
    color: var(--dark);
    border: 1px solid var(--border);
    font-size: .95rem;
    cursor: pointer;
    pointer-events: auto;
    box-shadow: 0 6px 22px rgba(0,0,0,.10);
    transition: var(--transition);
    display: flex; align-items: center; justify-content: center;
}
.carousel-arrow:hover {
    background: var(--gold);
    color: #fff;
    border-color: var(--gold);
    transform: translateY(-50%) scale(1.06);
    box-shadow: 0 10px 28px rgba(139,105,20,.28);
}
/* RTL: prev = right edge, next = left edge */
.carousel-arrow-prev { right: -22px; }
.carousel-arrow-next { left: -22px; }
[dir="ltr"] .carousel-arrow-prev { right: auto; left: -22px; }
[dir="ltr"] .carousel-arrow-next { left: auto; right: -22px; }
.section-carousel .products-grid::-webkit-scrollbar,
.carousel-grid::-webkit-scrollbar { display: none; }
.section-carousel .product-card,
.carousel-grid .product-card {
    /* Match the bestsellers grid card width: container 1400px ÷ 5 cols ≈ 264px after gap */
    flex: 0 0 calc((100% - 4 * 1.2rem) / 5);
    min-width: 240px;
    max-width: 280px;
    scroll-snap-align: start;
}
@media (max-width: 1280px) {
    .section-carousel .product-card,
    .carousel-grid .product-card { flex-basis: calc((100% - 3 * 1.2rem) / 4); }
}
@media (max-width: 1024px) {
    .section-carousel .product-card,
    .carousel-grid .product-card { flex-basis: calc((100% - 2 * 1.2rem) / 3); }
}

.carousel-dots {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    margin-top: 0.4rem;
    /* In Arabic (RTL), the first dot (active when at start) must be on the RIGHT */
    flex-direction: row-reverse !important;
    direction: ltr !important; /* keep dot order stable, flex-direction does the visual flip */
}
[dir="ltr"] .carousel-dots { flex-direction: row !important; }
.carousel-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: rgba(139,105,20,0.24);
    transition: var(--transition);
}
.carousel-dot.active { width: 22px; border-radius: 99px; background: var(--gold); }

/* ═══ PRODUCTS GRID (5 columns on desktop) ═══ */
.products-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.2rem;
}
@media (max-width: 1280px) { .products-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 1024px) { .products-grid { grid-template-columns: repeat(3, 1fr); } }

/* ═══ PRODUCT CARD ═══ */
.product-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.product-card:hover { border-color: var(--gold-light); }
.product-img-wrap {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--light-gray);
}
.product-img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.product-card:hover .product-img { transform: scale(1.08); }

/* Card image swipe dots */
.card-img-dots {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 5px;
    z-index: 3;
    pointer-events: none;
}
.card-img-dot {
    width: 5px; height: 5px;
    border-radius: 50%;
    background: rgba(255,255,255,0.45);
    transition: background .2s, transform .2s;
}
.card-img-dot.active {
    background: #fff;
    transform: scale(1.3);
}

.product-badge-wrap {
    position: absolute; top: 12px; right: 12px;
    display: flex; flex-direction: column; gap: 6px;
    z-index: 2;
}
.badge {
    padding: 0.3rem 0.8rem;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 5px;
    text-transform: uppercase;
}
.badge-sale { background: var(--red); color: white; }
.badge-new { background: var(--gold); color: white; }
.badge-soon { background: var(--dark); color: white; }

.product-quick {
    position: absolute;
    bottom: -50px;
    left: 0; right: 0;
    display: flex; justify-content: center; gap: 0.5rem;
    padding: 0.8rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.6));
    transition: bottom 0.3s ease;
}
.product-card:hover .product-quick { bottom: 0; }
.quick-btn {
    width: 32px; height: 32px;
    background: rgba(255,255,255,0.95);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.75rem;
    color: var(--dark);
    transition: var(--transition);
    cursor: pointer;
}
.quick-btn:hover { background: var(--gold); color: white; }

.product-info {
    padding: 1.2rem 1.2rem 1.4rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.product-name {
    font-size: 0.92rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--dark);
    line-height: 1.5;
    min-height: 2.5em;
}
.product-rating {
    display: flex; align-items: center; gap: 0.3rem;
    margin-bottom: 0.75rem;
    font-size: 0.8rem;
}
.stars { color: #f59e0b; letter-spacing: 1px; }
.rating-count { color: var(--gray); font-size: 0.78rem; }

.product-price {
    display: flex; align-items: center; gap: 0.75rem;
    margin-top: auto;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}
.price-current { font-size: 1.2rem; font-weight: 800; color: var(--gold); }
.price-original { font-size: 0.88rem; color: #aaa; text-decoration: line-through; }
.price-discount {
    font-size: 0.72rem;
    background: rgba(196,30,58,0.1);
    color: var(--red);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-weight: 700;
}

.btn-cart {
    display: flex; align-items: center; justify-content: center; gap: 0.5rem;
    width: 100%;
    padding: 0.75rem;
    background: #fff;
    color: var(--burgundy);
    border: 1.5px solid var(--burgundy);
    font-weight: 700;
    font-size: 0.88rem;
    border-radius: 5px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.btn-cart:hover { background: var(--burgundy); color: #fff; border-color: var(--burgundy); }
.btn-cart.added { background: var(--green); color: white; border-color: var(--green); }

/* ═══ FLY ANIMATION ═══ */
.fly-item {
    position: fixed;
    z-index: 9999;
    width: 60px; height: 60px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    pointer-events: none;
}
.fly-item img { width: 100%; height: 100%; object-fit: cover; }

/* ═══ BANNER CTA ═══ */
.banner-cta {
    position: relative;
    height: 400px;
    overflow: hidden;
}
.banner-cta::before {
    content: '';
    position: absolute; inset: 0;
    background: rgba(0,0,0,0.68);
    z-index: 1;
}
.banner-bg { width: 100%; height: 100%; object-fit: cover; }
.banner-content {
    position: absolute; inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center; justify-content: center;
    text-align: center;
    color: white;
    padding: 2rem;
}
.banner-content h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 1rem; }
.banner-content h2 span { color: var(--gold-light); }
.banner-content p { font-size: 1.05rem; max-width: 550px; margin-bottom: 2rem; opacity: 0.9; }

.btn-primary {
    display: inline-flex; align-items: center; gap: 0.6rem;
    padding: 0.72rem 1.7rem;
    background: transparent;
    color: var(--white);
    font-weight: 700;
    font-size: 0.88rem;
    border-radius: 8px;
    transition: var(--transition);
    border: 1.5px solid rgba(255,255,255,0.85);
}
.btn-primary:hover { background: rgba(255,255,255,0.12); transform: translateY(-2px); }

/* ═══ FEATURES ═══ */
.features {
    background: var(--white);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 2.5rem 0;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}
.feature-item { display: flex; align-items: center; gap: 1rem; padding: 1rem; }
.feature-icon {
    width: 55px; height: 55px; flex-shrink: 0;
    background: var(--light-gray);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem;
    color: var(--gold);
    transition: var(--transition);
}
.feature-item:hover .feature-icon { background: var(--gold); color: white; transform: scale(1.05); }
.feature-title { font-size: 0.9rem; font-weight: 700; margin-bottom: 0.15rem; }
.feature-desc { font-size: 0.78rem; color: var(--gray); }

/* ═══ PAYMENT BAR ═══ */
.payment-bar {
    background: var(--light-gray);
    padding: 2rem 0;
    border-top: 1px solid var(--border);
}
.payment-bar-inner {
    display: flex;
    align-items: center; justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}
.payment-methods-img {
    width: min(520px, 100%);
    height: auto;
    max-height: 80px;
    object-fit: contain;
    opacity: 0.85;
}

/* ═══ FOOTER (matches HTML reference) ═══ */
.site-footer {
    background: var(--dark);
    color: rgba(255,255,255,0.8);
    padding-top: 4rem;
}
.footer-top {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-credit {
    font-size: .82rem;
    color: rgba(255,255,255,.5);
    letter-spacing: .3px;
}
.footer-credit a {
    color: var(--gold-light, #C4A24E);
    font-weight: 700;
    text-decoration: none;
    margin-right: .25rem;
}
.footer-credit a:hover { color: var(--gold, #8B6914); }
.footer-credit-mobile { display: none; }

/* ── Scroll reveal: subtle fade-up for sections on first view ── */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .8s cubic-bezier(.4,0,.2,1), transform .8s cubic-bezier(.4,0,.2,1);
    will-change: opacity, transform;
}
.reveal.in-view { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
}
/* On desktop: pair acts transparently so its children fill the parent grid as before */
.footer-links-pair { display: contents; }
.footer-brand { text-align: right; }
.footer-brand .footer-logo-img { height: 64px; width: auto; margin-bottom: 1rem; }
.footer-brand p { font-size: 0.88rem; line-height: 1.8; margin-top: 1rem; color: rgba(255,255,255,0.6); }
.footer-social { display: flex; gap: 0.7rem; margin-top: 1.5rem; }
.social-icon {
    width: 40px; height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.15);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
}
.social-icon:hover { background: var(--gold); border-color: var(--gold); color: white; }
.footer-section h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.2rem;
    position: relative;
    padding-bottom: 0.8rem;
}
.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0; right: 0;
    width: 30px; height: 2px;
    background: var(--gold);
}
.footer-section ul li { margin-bottom: 0.6rem; }
.footer-section ul li a {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.6);
    transition: var(--transition);
    display: flex; align-items: center; gap: 0.5rem;
}
.footer-section ul li a:hover { color: var(--gold-light); }
.footer-section ul li a i { font-size: 0.7rem; color: var(--gold); }
.footer-contact li {
    display: flex; align-items: center; gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.6);
}
.footer-contact li i { color: var(--gold); width: 18px; text-align: center; }
.footer-bottom {
    padding: 1.5rem 0;
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 3rem;
    align-items: center;
    color: rgba(255,255,255,0.45);
    font-size: 0.82rem;
}
.footer-bottom p { margin: 0; grid-column: 1; }
.footer-bottom .footer-credit { grid-column: 4; }
.payment-icons { display: flex; gap: 0.8rem; align-items: center; }
.payment-icons i { font-size: 1.6rem; opacity: 0.5; transition: var(--transition); color: rgba(255,255,255,0.7); }
.payment-icons i:hover { opacity: 1; color: var(--gold-light); }
@media (max-width: 768px) {
    .footer-bottom { flex-direction: column; text-align: center; gap: 0.8rem; }
}

/* Policies bar - centered, no heading */
.footer-policies-bar {
    padding: 1.2rem 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    text-align: center;
}
.footer-policies-bar .policies-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.8rem;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    list-style: none;
}
.footer-policies-bar .policies-row li {
    margin: 0;
    position: relative;
}
.footer-policies-bar .policies-row li:not(:last-child)::after {
    content: '';
    position: absolute;
    left: -1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(255,255,255,0.25);
}
body.is-ltr .footer-policies-bar .policies-row li:not(:last-child)::after {
    left: auto;
    right: -1rem;
}
.footer-policies-bar .policies-row li a {
    display: inline;
    padding: 0;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.65);
    transition: var(--transition);
    white-space: nowrap;
}
.footer-policies-bar .policies-row li a:hover { color: var(--gold-light); }
@media (max-width: 480px) {
    .footer-policies-bar .policies-row { gap: 0.4rem 1.2rem; }
    .footer-policies-bar .policies-row li:not(:last-child)::after { left: -0.7rem; }
    body.is-ltr .footer-policies-bar .policies-row li:not(:last-child)::after { right: -0.7rem; }
}

/* ═══ SHOP PAGE ═══ */
/* Match shop.html banner — simple, flat, no glass card */
.page-header {
    position: relative;
    padding: 4rem 0 3.5rem;
    text-align: center;
    overflow: hidden;
    background: #d7d7d7;
}
.page-header-bg {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center;
    opacity: var(--header-opacity, .18);
}
.page-header-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(215,215,215,0.72) 0%, rgba(215,215,215,0.92) 100%);
}
.page-header-content {
    position: relative; z-index: 2;
    text-align: center;
}
.page-header-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 900;
    color: var(--dark);
    margin: 0 0 .35rem;
}
.page-header-subtitle {
    color: var(--gray);
    font-size: .95rem;
    margin: 0;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.shop-section { padding: 3rem 0; }
.shop-grid-wrap { display: grid; grid-template-columns: 280px 1fr; gap: 2.5rem; align-items: start; }
.shop-products-grid { display: grid; grid-template-columns: repeat(var(--shop-cols, 4), 1fr); gap: 1.2rem; }
.shop-layout-sidebar-left .shop-grid-wrap { grid-template-columns: 1fr 280px; }
.shop-layout-sidebar-left .shop-sidebar { order: 2; }
.shop-layout-full-width .shop-grid-wrap { grid-template-columns: 1fr; }
.shop-sidebar { background: #fafafa; border: 1px solid var(--border); border-radius: 12px; padding: 1.5rem; position: sticky; top: 90px; }

/* Mobile filter drawer header — only shown when sidebar is in drawer mode */
.filter-drawer-header { display: none; }
.filter-toggle-btn {
    display: none;
    align-items: center;
    gap: .5rem;
    padding: .55rem 1rem;
    background: var(--light-gray, #f8f7f4);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: inherit;
    font-size: .88rem;
    font-weight: 700;
    color: var(--dark);
    cursor: pointer;
    transition: var(--transition);
}
.filter-toggle-btn:hover { border-color: var(--gold); color: var(--gold); }

.shop-filter-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,.5);
    backdrop-filter: blur(4px);
    z-index: 2000;
    opacity: 0; visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease;
}
.shop-filter-overlay.active { opacity: 1; visibility: visible; }
.filter-block { padding: 1rem 0; border-bottom: 1px solid var(--border); }
.filter-block:last-child { border-bottom: 0; }
.filter-block h4 { font-size: 0.95rem; margin-bottom: 0.8rem; color: var(--dark); }
.filter-search {
    width: 100%;
    padding: 0.6rem 0.9rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.88rem;
}
.filter-categories li a {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    color: var(--dark);
    font-size: 0.88rem;
    font-weight: 600;
    transition: var(--transition);
}
.filter-categories li a:hover, .filter-categories li a.active { color: var(--gold); }
.filter-categories li a span { color: var(--gray); font-size: 0.78rem; }

.shop-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}
.shop-toolbar-right { display: flex; gap: 0.8rem; align-items: center; }
.shop-toolbar select {
    padding: 0.55rem 1rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: inherit;
    background: white;
}
.view-toggle { display: flex; gap: 0.3rem; }
.view-btn {
    width: 36px; height: 36px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: white;
    color: var(--gray);
    transition: var(--transition);
}
.view-btn.active, .view-btn:hover { background: var(--dark); color: white; border-color: var(--dark); }

.shop-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 1rem;
    color: var(--gray);
}
.shop-empty i { font-size: 3rem; color: var(--gold); margin-bottom: 1rem; display: block; }
.shop-pagination {
    margin-top: 2.5rem;
    display: flex;
    justify-content: center;
    direction: ltr; /* Always 1, 2, 3 →  with prev on the left and next on the right */
}
.shop-pagination ul,
.shop-pagination .woocommerce-pagination ul,
.shop-pagination nav.woocommerce-pagination ul {
    display: flex;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
    direction: ltr;
}

/* ── Load More button (replaces pagination on mobile) ── */
.shop-load-more-wrap { text-align: center; margin-top: 2rem; }
.btn-load-more {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding: .9rem 2.4rem;
    background: var(--dark);
    color: #fff;
    font-weight: 800;
    font-size: .9rem;
    border-radius: 999px;
    border: 0;
    cursor: pointer;
    transition: var(--transition);
}
.btn-load-more i { transition: transform .35s ease; }
.btn-load-more.loading { background: var(--gold); cursor: wait; }
.btn-load-more.loading i { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.btn-load-more:not(.loading):hover { background: var(--gold); transform: translateY(-2px); }
.shop-load-end { color: var(--gray); font-size: .9rem; margin: 0; display: none; }
.shop-load-end:not([hidden]) { display: block; }

/* Hide numbered pagination — Load More replaces it on all screens */
.shop-pagination { display: none !important; }

/* No global overflow:hidden — it breaks off-canvas drawers (mobile menu, cart drawer).
 * Horizontal overflow is fixed at the source (e.g. .related.products negative margin). */
.shop-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 0.5rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    margin: 0 0.15rem;
    font-weight: 700;
    color: var(--dark);
    transition: var(--transition);
}
.shop-pagination .page-numbers.current,
.shop-pagination .page-numbers:hover { background: var(--dark); color: white; border-color: var(--dark); }

/* ═══ SINGLE PRODUCT ═══ */
.breadcrumb { padding: 1rem 0; background: var(--light-gray); font-size: 0.85rem; color: var(--gray); }
.breadcrumb a { color: var(--gold); }
.bc-sep { margin: 0 0.5rem; color: var(--border); }
.product-page { padding: 1.5rem 0 4rem; }
.product-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: start; }
/* Default: image on LEFT (RTL: gallery order:2 → left side) */
.product-layout .gallery { order: 2; }
.product-layout .product-details { order: 1; }
.product-img-right .product-layout .gallery { order: 1; }
.product-img-right .product-layout .product-details { order: 2; }
.gallery { position: sticky; top: 100px; }
.product-details { display: flex; flex-direction: column; gap: 1.2rem; }
.pd-tag {
    display: inline-flex; align-items: center; gap: 0.4rem;
    padding: 0.3rem 0.9rem;
    background: rgba(196,30,58,0.1);
    color: var(--red);
    font-size: 0.78rem;
    font-weight: 700;
    border-radius: 50px;
    width: fit-content;
}
.pd-title { font-size: clamp(1.5rem, 3vw, 2rem); color: var(--dark); }
.pd-rating { display: flex; align-items: center; gap: 0.7rem; flex-wrap: wrap; }
.pd-stars { color: #f59e0b; font-size: 1.05rem; letter-spacing: 1px; }
.pd-rating-text { color: var(--gray); font-size: 0.88rem; }
.pd-divider { height: 1px; background: var(--border); margin: 0.4rem 0; }
.pd-price { font-size: 1.6rem; font-weight: 900; color: var(--gold); }
.pd-price del { color: #aaa; font-size: 1rem; margin-right: 0.6rem; }
.pd-excerpt { color: var(--gray); line-height: 1.8; font-size: 0.95rem; }
.pd-sku { color: var(--gray); font-size: 0.85rem; }
.pd-sku span { color: var(--dark); font-weight: 700; }
.pd-actions { display: flex; gap: 0.7rem; align-items: stretch; flex-wrap: wrap; }
.pd-actions .quantity { border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.pd-actions input[type="number"] {
    width: 70px;
    height: 48px;
    border: 0;
    text-align: center;
    font-family: inherit;
    font-weight: 700;
}
.pd-actions .single_add_to_cart_button {
    flex: 1;
    min-height: 48px;
    padding: 0 1.5rem;
    background: var(--dark);
    color: white;
    border-radius: 8px;
    font-weight: 800;
    font-size: 0.95rem;
    transition: var(--transition);
}
.pd-actions .single_add_to_cart_button:hover { background: var(--gold); }
.pd-wishlist, .pd-share {
    width: 48px; height: 48px;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    background: white;
    color: var(--dark);
    transition: var(--transition);
}
.pd-wishlist:hover, .pd-share:hover, .pd-wishlist.active { color: var(--red); border-color: var(--red); }
.pd-whatsapp {
    display: inline-flex;
    align-items: center; justify-content: center; gap: 0.5rem;
    padding: 0.85rem 1.2rem;
    background: var(--green);
    color: white;
    border-radius: 8px;
    font-weight: 800;
    font-size: 0.92rem;
    margin-top: 0.4rem;
}
.pd-whatsapp:hover { transform: translateY(-2px); }
.pd-meta { font-size: 0.85rem; color: var(--gray); padding-top: 0.8rem; border-top: 1px solid var(--border); }
.pd-meta a { color: var(--gold); }

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1.5rem;
}
.feature-chip {
    display: inline-flex;
    align-items: center; gap: 0.45rem;
    padding: 0.5rem 0.9rem;
    background: var(--light-gray);
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--dark);
}
.feature-chip i { color: var(--gold); }

.product-tabs-wrap { margin-top: 3rem; }

/* ═══ STICKY BAR (mobile only) ═══ */
.sticky-bar {
    display: none;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: var(--white);
    border-top: 1px solid var(--border);
    padding: 0.8rem 1rem;
    z-index: 900;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
}
.sticky-bar-inner {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    max-width: 600px;
    margin: 0 auto;
}
.sticky-price-wrap { display: flex; flex-direction: column; line-height: 1.2; }
.sticky-price { font-size: 1.1rem; font-weight: 900; color: var(--gold); white-space: nowrap; }
.sticky-original { font-size: 0.78rem; color: #aaa; text-decoration: line-through; }
.sticky-add {
    flex: 1;
    padding: 0.85rem 1.5rem;
    background: var(--burgundy);
    color: white;
    font-weight: 800;
    font-size: 0.95rem;
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    gap: 0.5rem;
    border: 0;
    transition: var(--transition);
    cursor: pointer;
}
.sticky-add:hover { background: var(--burgundy-dark); transform: translateY(-2px); }
.woocommerce-tabs ul.tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    border-bottom: 1px solid var(--border);
    margin-bottom: 1.5rem;
    padding: 0;
}
.woocommerce-tabs ul.tabs li {
    list-style: none;
}
.woocommerce-tabs ul.tabs li a {
    display: inline-block;
    padding: 0.7rem 1.2rem;
    color: var(--gray);
    font-weight: 700;
    border-bottom: 2px solid transparent;
    transition: var(--transition);
}
.woocommerce-tabs ul.tabs li.active a { color: var(--gold); border-bottom-color: var(--gold); }

/* ═══ MINI CART DRAWER ═══ */
.cart-drawer-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.48);
    backdrop-filter: blur(4px);
    z-index: 2900;
    opacity: 0; visibility: hidden;
    transition: var(--transition);
}
.cart-drawer-overlay.active { opacity: 1; visibility: visible; }
.cart-drawer {
    position: fixed;
    top: 0; left: 0;
    width: min(390px, 88vw);
    height: 100vh;
    background: var(--white);
    z-index: 2910;
    transform: translateX(-100%);
    transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 12px 0 40px rgba(0,0,0,0.18);
    display: flex;
    flex-direction: column;
}
.cart-drawer.active { transform: translateX(0); }
.cart-drawer-header {
    padding: 1.2rem;
    background: var(--dark);
    color: var(--white);
    display: flex;
    align-items: center; justify-content: space-between;
}
.cart-drawer-close {
    color: var(--white);
    font-size: 1.1rem;
    width: 34px; height: 34px;
    border-radius: 50%;
}
.cart-drawer-body { padding: 1rem; overflow-y: auto; flex: 1; }

/* ═══ SEARCH OVERLAY ═══ */
.search-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(5px);
    z-index: 2950;
    align-items: flex-start;
    justify-content: center;
    padding: 5rem 1rem 1rem;
}
.search-overlay.active { display: flex; }
.search-panel {
    width: min(640px, 100%);
    max-height: 78vh;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 24px 80px rgba(0,0,0,0.28);
}
.search-head {
    display: flex;
    align-items: center; gap: 0.75rem;
    padding: 1rem;
    border-bottom: 1px solid var(--border);
}
.search-head input {
    flex: 1;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.8rem 1rem;
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
}
.search-head input:focus { border-color: var(--gold); }
.search-close {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--dark);
    color: var(--white);
}
.search-results {
    padding: 0.4rem 1rem 1rem;
    overflow-y: auto;
    max-height: calc(78vh - 74px);
}
.search-result {
    display: grid;
    grid-template-columns: 64px 1fr auto;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--border);
    text-align: right;
}
.search-result img {
    width: 64px; height: 64px;
    object-fit: cover;
    border-radius: 8px;
    background: var(--light-gray);
}
.search-result-name { font-weight: 800; font-size: 0.9rem; line-height: 1.45; }
.search-result-price { color: var(--gold); font-weight: 900; }

/* ═══ QUICK VIEW MODAL (matches HTML reference) ═══ */
.quick-view-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.62);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 3000;
    opacity: 0; visibility: hidden;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.quick-view-overlay.active { opacity: 1; visibility: visible; animation: qvFade 0.2s ease; }
@keyframes qvFade { from { opacity: 0; } to { opacity: 1; } }
.quick-view-panel {
    width: min(720px, 92vw);
    max-height: 88vh;
    background: var(--white);
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 24px 80px rgba(0,0,0,0.3);
    animation: qvUp 0.24s ease;
    overflow-y: auto;
}
@keyframes qvUp { from { opacity: 0; transform: translateY(18px) scale(0.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
.quick-view-close {
    position: absolute;
    top: 12px; left: 12px;
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(0,0,0,0.7);
    color: white;
    z-index: 5;
    border: 0;
    cursor: pointer;
    transition: var(--transition);
}
.quick-view-close:hover { background: var(--burgundy); }
.qv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: stretch;
}
.qv-img {
    background: var(--light-gray);
    min-height: 280px;
    display: flex; align-items: center; justify-content: center;
    padding: 1.2rem;
}
.qv-img img {
    width: 100%;
    max-height: 320px;
    object-fit: contain;
}
.qv-info {
    padding: 1.35rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.qv-info h2 { font-size: 1.25rem; color: var(--dark); line-height: 1.4; margin: 0; }
.qv-price { display: flex; align-items: center; gap: 0.8rem; flex-wrap: wrap; }
.qv-price-current { font-size: 1.3rem; font-weight: 900; color: var(--gold); }
.qv-price-old { font-size: 0.92rem; color: #aaa; text-decoration: line-through; }
.qv-excerpt { color: var(--gray); font-size: 0.93rem; line-height: 1.65; margin: 0; }
.qv-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    padding: 0.75rem 1.2rem;
    background: var(--burgundy);
    color: white;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.92rem;
    max-width: 260px;
    transition: var(--transition);
    margin-top: 0.25rem;
}
.qv-btn:hover { background: var(--burgundy-dark); transform: translateY(-2px); color: white; }
@media (max-width: 600px) {
    .quick-view-panel { width: min(360px, 92vw); max-height: 84vh; }
    .qv-grid { grid-template-columns: 1fr; }
    .qv-img { min-height: 210px; max-height: 240px; padding: 0.7rem; }
    .qv-img img { max-height: 220px; }
    .qv-info { padding: 0.95rem; gap: 0.55rem; }
    .qv-info h2 { font-size: 1.05rem; }
    .qv-excerpt { font-size: 0.82rem; line-height: 1.55; }
    .qv-btn { max-width: none; width: 100%; }
}

/* ═══ TOAST ═══ */
.toast-container {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    pointer-events: none;
}
.toast {
    background: var(--dark);
    color: white;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex; align-items: center; gap: 0.7rem;
    box-shadow: var(--shadow-lg);
    animation: toastIn 0.4s ease, toastOut 0.4s ease 2.6s forwards;
    pointer-events: auto;
    margin-bottom: 0.5rem;
}
.toast i { color: var(--green); }
@keyframes toastIn { from { transform: translateY(30px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes toastOut { from { opacity: 1; } to { opacity: 0; visibility: hidden; } }

/* ═══ CATEGORIES GRID ═══ */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.2rem;
}
.category-card {
    display: block;
    text-align: center;
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    padding: 1.5rem 1rem;
    transition: var(--transition);
}
.category-card:hover { border-color: var(--gold); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.category-card img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}
.category-card h3 { font-size: 1rem; color: var(--dark); margin-bottom: 0.3rem; }
.category-card span { font-size: 0.82rem; color: var(--gray); }

/* ═══ BLOG / PAGE ═══ */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}
.blog-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
}
.blog-card:hover { border-color: var(--gold-light); box-shadow: var(--shadow-md); }
.blog-thumb img { width: 100%; height: 200px; object-fit: cover; }
.blog-content { padding: 1.2rem; }
.blog-content h2 { font-size: 1.1rem; margin-bottom: 0.6rem; }
.blog-content h2 a { color: var(--dark); }
.blog-content h2 a:hover { color: var(--gold); }
.blog-meta {
    display: flex; gap: 1rem;
    font-size: 0.8rem;
    color: var(--gray);
    margin-bottom: 0.7rem;
}
.blog-meta i { color: var(--gold); margin-left: 0.3rem; }
.blog-excerpt { color: var(--gray); font-size: 0.92rem; margin-bottom: 1rem; }
.btn-outline {
    display: inline-flex;
    align-items: center; gap: 0.5rem;
    padding: 0.5rem 1rem;
    border: 1.5px solid var(--dark);
    border-radius: 8px;
    color: var(--dark);
    font-weight: 700;
    font-size: 0.85rem;
    transition: var(--transition);
}
.btn-outline:hover { background: var(--dark); color: white; }

.page-content { max-width: 800px; margin: 0 auto; }
.page-title { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 1.5rem; color: var(--dark); }
.entry-content { font-size: 1rem; line-height: 1.9; color: var(--dark); }
.entry-content p { margin-bottom: 1rem; }
.entry-content h2, .entry-content h3 { margin: 1.5rem 0 0.8rem; }
.entry-content a { color: var(--gold); }

/* ═══ HELPERS ═══ */
.hide-on-mobile { display: block; }
@media (max-width: 768px) {
    .hide-on-mobile { display: none !important; }
}


/* === Aldakheel safe reapply fixes 2026-05-06 === */
body:not(.home).has-overlay-nav #content,
body:not(.home).has-overlay-nav #content > .page-header,
body:not(.home).has-overlay-nav main > .page-header,
body:not(.home).has-overlay-nav #content > .breadcrumb,
body:not(.home).has-overlay-nav main > .hero {
    margin-top: 0 !important;
    padding-top: 0 !important;
}
body.home.has-overlay-nav #content > .hero,
body.home.has-overlay-nav main > .hero {
    margin-top: calc(-1 * var(--nav-h, 80px));
    padding-top: var(--nav-h, 80px);
}

.mobile-categories { background:#fafafa; border-block:1px solid rgba(0,0,0,.05); }
.mobile-cat-link,
.mobile-accordion summary {
    display:flex;
    align-items:center;
    gap:.75rem;
    padding:1rem 1.5rem;
    color:var(--dark);
    font-size:1rem;
    font-weight:800;
    cursor:pointer;
    border-bottom:1px solid rgba(0,0,0,.045);
    list-style:none;
}
/* summary فقط: السهم على اليسار والنص+أيقونة على اليمين */
.mobile-accordion summary { justify-content:space-between; }
.mobile-cat-link i,
.mobile-accordion summary i:first-child { color:var(--gold); width:20px; text-align:center; }
.mobile-accordion summary::-webkit-details-marker { display:none; }
.mobile-accordion summary > span { display:flex; align-items:center; gap:.75rem; }
.mobile-accordion summary .fa-chevron-down { color:var(--gray); font-size:.78rem; transition:transform .25s ease; }
.mobile-accordion[open] summary .fa-chevron-down { transform:rotate(180deg); }
.mobile-accordion-panel { padding:.2rem 0 .55rem; background:#fff; }
.mobile-accordion-panel a {
    padding:.72rem 1.5rem .72rem 3rem;
    font-size:.92rem;
    font-weight:700;
    color:var(--gray);
    border-bottom:0;
    text-align:right;
}

.product-name {
    font-size:1rem !important;
    line-height:1.35 !important;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

.site-footer .footer-logo-img { height:auto; max-height:82px; margin-inline:auto; }
.footer-social { justify-content:center; }
.footer-credit-mobile,
.footer-credit { color:#8f8f8f; font-size:.78rem; margin-top:.55rem; }
.footer-credit-mobile a,
.footer-credit a { color:#9b9b9b; }
.footer-legal-mobile { display:flex; justify-content:center; gap:1.2rem; flex-wrap:wrap; margin-top:.75rem; color:#b8b8b8; font-size:.86rem; }
.footer-legal-mobile span { color:var(--gold-light); font-weight:800; }
.footer-policies-list { display:flex; justify-content:center; gap:.75rem; flex-wrap:wrap; }

@media (min-width: 769px) {
    .site-footer .footer-brand .footer-legal-mobile {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        flex-wrap: nowrap;
        gap: 1.2rem;
        text-align: right;
        margin-top: 1rem;
    }

    .site-footer .footer-brand .footer-legal-mobile div {
        margin-bottom: 0;
        white-space: nowrap;
    }

    .site-footer .footer-policies-col {
        text-align: right;
    }

    .site-footer .footer-policies-col .footer-policies-list {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        gap: .75rem;
        flex-wrap: nowrap;
        margin: 0;
        padding: 0;
    }

    body.rtl .site-footer .footer-policies-col .footer-policies-list {
        justify-content: flex-end;
    }

    .site-footer .footer-policies-col .footer-policies-list li {
        margin: 0;
    }

    .site-footer .footer-policies-col .footer-policies-list a {
        justify-content: flex-start;
    }

    body.rtl .site-footer .footer-policies-col .footer-policies-list a {
        justify-content: flex-end;
    }
}

.breadcrumb { padding:.72rem 0; }
.breadcrumb .container {
    display:flex;
    align-items:center;
    gap:.35rem;
    white-space:nowrap;
    overflow-x:auto;
    scrollbar-width:none;
}
.breadcrumb .container::-webkit-scrollbar { display:none; }
.bc-sep { margin:0 .12rem; }

.product-page { background:#fff !important; }
.product-page > .container { overflow:hidden; }
.product-page .woocommerce-product-gallery { width:100% !important; max-width:100%; }
.product-page .woocommerce-product-gallery__wrapper {
    border-radius:18px;
    overflow:hidden;
    background:#fff;
}
.product-page .woocommerce-product-gallery__image,
.product-page .woocommerce-product-gallery__image a { display:block; width:100% !important; }
.product-page .woocommerce-product-gallery__image img {
    width:100% !important;
    height:clamp(360px, 55vw, 620px) !important;
    object-fit:contain;
    background:#fff;
}
.product-page .flex-control-thumbs {
    display:flex !important;
    gap:.8rem;
    flex-wrap:nowrap;
    overflow-x:auto;
    padding:.9rem .1rem 0;
    margin:0;
    list-style:none;
    scrollbar-width:thin;
}
.product-page .flex-control-thumbs li {
    flex:0 0 96px !important;
    width:96px !important;
    height:96px;
    margin:0 !important;
}
.product-page .flex-control-thumbs img {
    width:100%;
    height:100%;
    object-fit:cover;
    border-radius:10px;
    border:1px solid var(--border);
}
.related.products {
    overflow:hidden;
    background:#fff !important;
    padding:2.25rem 0 1rem;
    margin-top:2rem;
}
.related.products ul.products {
    display:flex !important;
    gap:1rem;
    overflow-x:auto;
    scroll-snap-type:x mandatory;
    padding:0 .25rem 1rem !important;
    margin:0 !important;
    list-style:none;
}
.related.products ul.products li.product {
    flex:0 0 min(240px, 72vw) !important;
    width:auto !important;
    max-width:none !important;
    float:none !important;
    margin:0 !important;
    scroll-snap-align:start;
}

.comment-form-rating .stars {
    display:flex;
    gap:.45rem;
    justify-content:flex-start;
    direction:ltr;
    margin:.65rem 0 1rem;
}
.comment-form-rating .stars a {
    position:relative;
    width:1.45rem;
    height:1.45rem;
    overflow:hidden;
    text-indent:-999px;
    color:#d6d0c5;
}
.comment-form-rating .stars a::before {
    content:"\f005";
    font-family:"Font Awesome 6 Free";
    font-weight:900;
    position:absolute;
    inset:0;
    text-indent:0;
    font-size:1.25rem;
    color:var(--gold);
}
.comment-form-comment textarea,
.comment-form-author input,
.comment-form-email input {
    width:100%;
    border:1px solid var(--border);
    border-radius:10px;
    padding:.9rem 1rem;
    font-family:inherit;
}
.comment-form .form-submit input {
    background:var(--dark);
    color:#fff;
    border:0;
    border-radius:10px;
    padding:.85rem 1.4rem;
    font-family:inherit;
    font-weight:800;
}

@media (max-width: 768px) {
    .navbar.scrolled .logo-img,
    .logo-img { height:56px; }
    .site-footer { padding-top: 2.2rem; }
    .site-footer .footer-top { text-align:center; gap:1rem; padding-top:.7rem; }
    .site-footer .footer-logo-img { max-height:88px; }
    .footer-brand p { max-width:320px; margin-inline:auto; }
    .footer-bottom { text-align:center; }
    .footer-credit { display:none; }
    .product-page .woocommerce-product-gallery__image img { height:420px !important; }
    .product-page .flex-control-thumbs li { flex-basis:84px !important; width:84px !important; height:84px; }
}
@media (min-width: 769px) {
    .footer-credit-mobile { display:none; }
}

/* === Aldakheel focused hotfix 2026-05-06 === */
.woocommerce-product-gallery { opacity: 1 !important; }
body:not(.home) .navbar.navbar-style-transparent:not(.scrolled),
body:not(.home) .navbar.navbar-style-light:not(.scrolled) {
    background: rgba(8, 8, 8, var(--nav-opacity, .92)) !important;
    border-bottom: 1px solid rgba(196,162,78,.16) !important;
}
body:not(.home) .navbar.navbar-style-transparent:not(.scrolled) .nav-links a,
body:not(.home) .navbar.navbar-style-transparent:not(.scrolled) .nav-icon,
body:not(.home) .navbar.navbar-style-transparent:not(.scrolled) .lang-current,
body:not(.home) .navbar.navbar-style-light:not(.scrolled) .nav-links a,
body:not(.home) .navbar.navbar-style-light:not(.scrolled) .nav-icon,
body:not(.home) .navbar.navbar-style-light:not(.scrolled) .lang-current {
    color: #fff !important;
}
body:not(.home) .navbar.navbar-style-transparent:not(.scrolled) .hamburger span,
body:not(.home) .navbar.navbar-style-light:not(.scrolled) .hamburger span { background:#fff !important; }
body:not(.home) .navbar.navbar-style-transparent:not(.scrolled) .logo-img.logo-light,
body:not(.home) .navbar.navbar-style-light:not(.scrolled) .logo-img.logo-light { display:block !important; }
body:not(.home) .navbar.navbar-style-transparent:not(.scrolled) .logo-img.logo-dark,
body:not(.home) .navbar.navbar-style-light:not(.scrolled) .logo-img.logo-dark { display:none !important; }
main#content .product-page .woocommerce-product-gallery__wrapper {
    width: 100% !important;
}
main#content .product-page .woocommerce-product-gallery__image img {
    width: 100% !important;
    max-width: 100% !important;
    height: clamp(340px, 72vw, 560px) !important;
    object-fit: contain !important;
    object-position: center center !important;
    display: block !important;
}

@media (max-width: 768px) {
    .product-layout .gallery {
        position: relative !important;
        top: auto !important;
        order: 0 !important;
    }
    .product-page > .container {
        overflow: visible !important;
    }
    .related.products {
        overflow: hidden !important;
        margin-inline: 0 !important;
        padding-inline: 0 !important;
        background: #fff !important;
    }
    .related.products ul.products {
        padding-inline: 1rem !important;
        scroll-padding-inline: 1rem;
    }
    .related.products ul.products li.product {
        flex-basis: min(230px, 78vw) !important;
    }
}

/* Stable single product gallery */
.product-page .woocommerce-product-gallery {
    position: relative !important;
    opacity: 1 !important;
}
.product-page .woocommerce-product-gallery .flex-viewport {
    height: auto !important;
    overflow: visible !important;
}
.product-page .woocommerce-product-gallery__wrapper {
    transform: none !important;
    width: 100% !important;
}
.product-page .woocommerce-product-gallery__image {
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
    display: none !important;
}
.product-page .woocommerce-product-gallery__image:first-child {
    display: block !important;
}
.product-page .woocommerce-product-gallery__image:first-child a {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100% !important;
}

/* Keep the custom single-product gallery image responsive after legacy overrides */
.product-page .ald-single-gallery .ald-single-gallery__main-img {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
    transform: none !important;
}

.product-page .ald-single-gallery .ald-single-gallery__stage {
    min-height: 0 !important;
    aspect-ratio: auto !important;
}

main#content .product-page .ald-single-gallery .ald-single-gallery__main-img {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
}
.product-page .gallery-badge,
.product-page .gallery-overlay-btn {
    z-index: 9;
}

/* Footer policies desktop only: match the quick-links column. Mobile keeps its horizontal layout. */
@media (min-width: 769px) {
    .site-footer .footer-policies-col .footer-policies-list {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        gap: .75rem !important;
        flex-wrap: nowrap !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    body.rtl .site-footer .footer-policies-col .footer-policies-list {
        align-items: stretch !important;
    }
    body.rtl .site-footer .footer-policies-col {
        text-align: right !important;
    }
    body.rtl .site-footer .footer-policies-col h4 {
        text-align: right !important;
    }
    body.rtl .site-footer .footer-policies-col h4::after {
        right: 0 !important;
        left: auto !important;
        transform: none !important;
    }
    .site-footer .footer-policies-col .footer-policies-list li {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    .site-footer .footer-policies-col .footer-policies-list li::after,
    .site-footer .footer-policies-col .footer-policies-list li:not(:last-child)::after {
        content: none !important;
        display: none !important;
    }
    .site-footer .footer-policies-col .footer-policies-list a {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: .5rem !important;
        white-space: nowrap !important;
        width: 100% !important;
    }
    body.rtl .site-footer .footer-policies-col .footer-policies-list a {
        justify-content: flex-start !important;
        text-align: right !important;
    }
}

/* ═══════════════════════════════════════════════════
 *  CONTACT PAGE
 * ═══════════════════════════════════════════════════ */

/* Hero */
.contact-hero {
    position: relative;
    padding: 5rem 0 4rem;
    overflow: hidden;
    background: var(--dark);
}
.contact-hero-bg {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d1f0e 50%, #1a1a1a 100%);
    opacity: 0.95;
}
.contact-hero::after {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at center, rgba(139,105,20,0.18) 0%, transparent 70%);
}
.contact-hero-content {
    position: relative; z-index: 1;
    text-align: center;
}
.contact-hero-decor {
    display: flex; align-items: center; justify-content: center; gap: 1rem;
    margin-bottom: 1.2rem;
}
.contact-decor-line {
    width: 60px; height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-light));
}
.contact-decor-line:last-child {
    background: linear-gradient(90deg, var(--gold-light), transparent);
}
.contact-decor-icon {
    font-size: 1.4rem; color: var(--gold-light);
}
.contact-hero-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: #fff;
    margin-bottom: 0.6rem;
    letter-spacing: 0.02em;
}
.contact-hero-sub {
    color: rgba(255,255,255,0.65);
    font-size: 1rem;
}

/* Section */
.contact-section {
    padding: 5rem 0 6rem;
    background: var(--light-gray);
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 3rem;
    align-items: start;
}

/* Info Column */
.contact-info-title {
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 0.75rem;
}
.contact-info-desc {
    color: var(--gray);
    font-size: 0.93rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}
.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}
.contact-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    transition: var(--transition);
    color: var(--dark);
}
.contact-card:hover {
    border-color: var(--gold-light);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}
.contact-card-wa .contact-card-icon { background: rgba(37,211,102,0.12); color: #25d366; }
.contact-card-icon {
    width: 46px; height: 46px;
    border-radius: 50%;
    background: rgba(139,105,20,0.1);
    color: var(--gold);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.contact-card-body {
    display: flex; flex-direction: column; gap: 0.15rem;
}
.contact-card-label {
    font-size: 0.75rem;
    color: var(--gray);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.contact-card-value {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--dark);
}

/* Legal */
.contact-legal {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.2rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.contact-legal-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.88rem;
    color: var(--gray);
}
.contact-legal-item i {
    color: var(--gold);
    font-size: 1rem;
    width: 20px; text-align: center;
}
.contact-legal-item strong {
    color: var(--dark);
    font-weight: 700;
}

/* Form Column */
.contact-form-card {
    background: #fff;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}
.contact-form-title {
    font-size: 1.4rem;
    color: var(--dark);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}
.contact-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.contact-field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 1rem;
}
.contact-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--dark);
}
.contact-required { color: var(--red); }
.contact-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.9rem;
    color: var(--dark);
    background: var(--light-gray);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    outline: none;
}
.contact-input:focus {
    border-color: var(--gold-light);
    box-shadow: 0 0 0 3px rgba(139,105,20,0.1);
    background: #fff;
}
.contact-textarea { resize: vertical; min-height: 130px; }
.contact-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    width: 100%;
    padding: 0.9rem;
    background: var(--burgundy);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 0.5rem;
}
.contact-submit:hover {
    background: var(--burgundy-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(114,47,55,0.35);
}

/* Alerts */
.contact-alert {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    border-radius: 8px;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}
.contact-alert i { font-size: 1.1rem; flex-shrink: 0; margin-top: 0.1rem; }
.contact-alert-success { background: rgba(37,211,102,0.1); color: #1a7a40; border: 1px solid rgba(37,211,102,0.3); }
.contact-alert-error   { background: rgba(196,30,58,0.08); color: var(--red); border: 1px solid rgba(196,30,58,0.2); }

/* LTR (English) overrides */
.is-ltr .contact-hero-content { text-align: center; }
.is-ltr .contact-hero-decor   { flex-direction: row; }
.is-ltr .contact-info-title,
.is-ltr .contact-form-title   { font-family: 'Poppins', sans-serif; }
.is-ltr .contact-card-label   { font-family: 'Poppins', sans-serif; }

/* Responsive */
@media (max-width: 900px) {
    .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
    .contact-form-card { padding: 1.75rem 1.25rem; }
}
@media (max-width: 600px) {
    .contact-hero { padding: 3.5rem 0 3rem; }
    .contact-section { padding: 3rem 0 4rem; }
    .contact-form-row { grid-template-columns: 1fr; }
    .contact-form-card { padding: 1.5rem 1rem; }
    .contact-card { padding: 0.85rem 1rem; }
}
