/* ===== IMPORTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;600;700&family=Lato:wght@300;400;700&display=swap');

/* ===== ACCESSIBILITY ===== */
.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--brown-dark);
    color: white;
    padding: 0.8rem 1.5rem;
    z-index: 10000;
    font-size: 0.9rem;
    text-decoration: none;
    border-radius: 0 0 var(--radius) 0;
    transition: top 0.2s;
}
.skip-link:focus {
    top: 0;
}
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ===== CSS VARIABLES ===== */
:root {
    --brown-dark: #5C3D2E;
    --brown: #7B5544;
    --gold: #C5A55A;
    --gold-light: #D4BC7C;
    --cream: #F5F0E8;
    --white-off: #FAFAF5;
    --text-dark: #2D1F14;
    --text-muted: #6B5B4F;
    --success: #4A7C59;
    --warning: #D4A843;
    --danger: #A0463C;
    --info: #5B7FA5;
    --shadow: 0 2px 15px rgba(92,61,46,0.1);
    --shadow-lg: 0 8px 30px rgba(92,61,46,0.15);
    --radius: 8px;
    --radius-lg: 16px;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Lato', sans-serif;
    background: var(--cream);
    color: var(--text-dark);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* RTL Support */
[dir="rtl"] { direction: rtl; text-align: right; }
[dir="rtl"] .nav-links { flex-direction: row-reverse; }

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cormorant Garamond', serif;
    color: var(--brown-dark);
    line-height: 1.3;
}

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

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

/* ===== HEADER / NAVBAR ===== */
.navbar {
    background: var(--brown-dark);
    padding: 0.8rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--gold);
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    font-weight: 700;
}

.nav-brand img {
    height: 44px;
    border-radius: 8px;
    filter: brightness(1.6) sepia(0.4) saturate(2) hue-rotate(-10deg);
    transition: filter 0.3s ease;
}
.nav-brand:hover img {
    filter: brightness(1.8) sepia(0.5) saturate(2.2) hue-rotate(-10deg);
}

/* Hero logo */
.hero-logo {
    height: 100px;
    margin-bottom: 1.5rem;
    border-radius: 12px;
    position: relative;
    filter: brightness(1.6) sepia(0.4) saturate(2) hue-rotate(-10deg);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    list-style: none;
}

.nav-links a {
    color: var(--cream);
    font-size: 0.95rem;
    font-weight: 400;
    padding: 0.4rem 0;
    border-bottom: 2px solid transparent;
    transition: var(--transition);
}

.nav-links a:hover, .nav-links a.active {
    color: var(--gold);
    border-bottom-color: var(--gold);
}

.nav-cart {
    position: relative;
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 1.15rem;
    padding: 6px 10px;
    border-radius: 8px;
    transition: background 0.3s ease, color 0.3s ease;
}

.nav-cart:hover {
    background: rgba(197, 165, 90, 0.15);
}

.cart-badge {
    background: var(--gold);
    color: var(--brown-dark);
    font-size: 0.7rem;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    border-radius: 10px;
    position: absolute;
    top: -4px;
    right: -6px;
    box-shadow: 0 2px 6px rgba(197, 165, 90, 0.5);
    animation: cartBadgePop 0.3s ease;
}

@keyframes cartBadgePop {
    0% { transform: scale(0.5); }
    60% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.lang-selector {
    display: flex;
    gap: 6px;
}

.lang-selector a {
    color: var(--cream);
    font-size: 0.85rem;
    padding: 3px 8px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 4px;
}

.lang-selector a:hover, .lang-selector a.active-lang {
    background: var(--gold);
    color: var(--brown-dark);
    border-color: var(--gold);
}

/* Mobile nav */
.nav-toggle { display: none; background: none; border: none; color: var(--cream); font-size: 1.5rem; cursor: pointer; padding: 0.5rem; z-index: 1001; }

@media (max-width: 768px) {
    .nav-toggle { display: block; }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--brown-dark);
        flex-direction: column;
        padding: 1rem;
        gap: 0.5rem;
        z-index: 1000;
        box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    }
    .nav-links.show { display: flex; }
    .nav-links li { width: 100%; }
    .nav-links a { display: block; padding: 0.7rem 1rem; border-radius: var(--radius); }
    .nav-links a:hover { background: rgba(255,255,255,0.1); }
    .navbar { position: relative; }
}

/* ===== HERO SLIDER ===== */
.hero-slider {
    position: relative;
    width: 100%;
    height: 85vh;
    min-height: 500px;
    max-height: 750px;
    overflow: hidden;
}

.hero-slides {
    position: absolute;
    inset: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    will-change: opacity;
}

.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(12, 8, 6, 0.45) 0%,
        rgba(12, 8, 6, 0.55) 50%,
        rgba(12, 8, 6, 0.70) 100%
    );
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    padding: 2rem;
    color: var(--cream);
}

.hero-content h1 {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 1rem;
    text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    opacity: 0.92;
    text-shadow: 0 1px 6px rgba(0,0,0,0.4);
}

/* Slider dots */
.hero-slider-dots {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 10px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.7);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.slider-dot.active,
.slider-dot:hover {
    background: var(--gold);
    border-color: var(--gold);
    transform: scale(1.2);
}

/* Slider arrows */
.hero-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    background: rgba(0,0,0,0.35);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.hero-slider-arrow:hover {
    background: rgba(197, 165, 90, 0.6);
    border-color: var(--gold);
}

.hero-arrow-prev { left: 24px; }
.hero-arrow-next { right: 24px; }

[dir="rtl"] .hero-arrow-prev { left: auto; right: 24px; }
[dir="rtl"] .hero-arrow-next { right: auto; left: 24px; }

/* Keep old .hero classes for backward compat but override */
.hero {
    display: none;
}

.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold) 0%, #d4b44a 100%);
    color: var(--brown-dark);
    font-weight: 600;
}

.btn-gold:hover {
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(197, 165, 90, 0.4);
    color: var(--brown-dark);
}

.btn-brown {
    background: var(--brown-dark);
    color: var(--cream);
}

.btn-brown:hover {
    background: var(--brown);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--brown-dark);
    color: var(--brown-dark);
}

.btn-outline:hover {
    background: var(--brown-dark);
    color: var(--cream);
}

.btn-danger {
    background: var(--danger);
    color: white;
}

.btn-danger:hover {
    opacity: 0.9;
}

.btn-sm {
    padding: 0.4rem 1rem;
    font-size: 0.85rem;
}

/* ===== CONTAINER ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* ===== SECTION TITLES ===== */
.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--gold);
}

/* ===== PRODUCT GRID ===== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
}

.product-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.product-card .card-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-bottom: 3px solid var(--gold);
    display: block;
    transition: transform 0.4s ease;
}

.product-card .card-img-link {
    display: block;
    overflow: hidden;
    cursor: pointer;
}

.product-card:hover .card-img {
    transform: scale(1.05);
}

.product-card .card-title-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.product-card .card-title-link:hover {
    color: var(--gold);
}

.product-card .card-body {
    padding: 1.2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-card .card-category {
    color: var(--gold);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.3rem;
}

.product-card .card-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.product-card .card-price {
    color: var(--brown-dark);
    font-weight: 700;
    font-size: 1.2rem;
    margin-top: auto;
    margin-bottom: 0.8rem;
}

.product-card .card-actions {
    display: flex;
    gap: 0.5rem;
}

.product-card .card-actions .btn { flex: 1; font-size: 0.85rem; }

/* ===== STARS ===== */
.stars { color: var(--gold); font-size: 1.1rem; }
.stars .empty { color: #ddd; }

/* ===== FILTERS ===== */
.filters-bar {
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: flex-end;
}

.filters-bar .filter-group {
    flex: 1;
    min-width: 150px;
}

.filters-bar label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.3rem;
}

.filters-bar input, .filters-bar select {
    width: 100%;
    padding: 0.6rem;
    border: 1px solid #ddd;
    border-radius: var(--radius);
    font-size: 0.95rem;
    transition: var(--transition);
}

.filters-bar input:focus, .filters-bar select:focus {
    border-color: var(--gold);
    outline: none;
    box-shadow: 0 0 0 3px rgba(197,165,90,0.2);
}

/* ===== CART TABLE ===== */
.cart-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.cart-table th {
    background: var(--brown-dark);
    color: var(--cream);
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}

[dir="rtl"] .cart-table th { text-align: right; }

.cart-table td {
    padding: 1rem;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
}

.cart-table img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: var(--radius);
}

.cart-table .qty-input {
    width: 60px;
    padding: 0.4rem;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: var(--radius);
}

.cart-total {
    text-align: right;
    font-size: 1.3rem;
    font-weight: 700;
    padding: 1.5rem;
    color: var(--brown-dark);
}

[dir="rtl"] .cart-total { text-align: left; }

/* ===== FORMS ===== */
.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: var(--brown-dark);
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: 'Lato', sans-serif;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--gold);
    outline: none;
    box-shadow: 0 0 0 3px rgba(197,165,90,0.2);
}

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

/* ===== BADGES ===== */
.badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.badge-confirmed { background: #E8F5E9; color: var(--success); }
.badge-preparation { background: #FFF3E0; color: #E65100; }
.badge-shipped { background: #E3F2FD; color: var(--info); }
.badge-delivered { background: #F3E5F5; color: #7B1FA2; }
.badge-pending { background: #FFF8E1; color: #F9A825; }
.badge-cancelled { background: #FFEBEE; color: #D32F2F; }

/* ===== TIMELINE ===== */
.timeline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 600px;
    margin: 2rem auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 3px;
    background: #ddd;
}

.timeline-step {
    text-align: center;
    position: relative;
    z-index: 1;
    flex: 1;
}

.timeline-step .step-dot {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ddd;
    margin: 0 auto 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
    transition: var(--transition);
}

.timeline-step.active .step-dot {
    background: var(--gold);
}

.timeline-step.completed .step-dot {
    background: var(--success);
}

.timeline-step .step-label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.timeline-step.active .step-label,
.timeline-step.completed .step-label {
    color: var(--brown-dark);
    font-weight: 600;
}

/* ===== BLOG INDEX ===== */
.blog-hero {
    background: linear-gradient(160deg, #faf3e3 0%, #f5e8c8 60%, #ecd9a3 100%);
    padding: 4.5rem 1.5rem 3.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(197, 165, 90, 0.25);
}

.blog-hero::before,
.blog-hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(197, 165, 90, 0.18) 0%, transparent 70%);
    pointer-events: none;
}
.blog-hero::before { top: -120px; left: -120px; width: 320px; height: 320px; }
.blog-hero::after  { bottom: -160px; right: -160px; width: 380px; height: 380px; }

.blog-hero-inner {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
}

.blog-hero-eyebrow {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.78rem;
    color: var(--gold);
    font-weight: 700;
    margin-bottom: 1rem;
    padding: 0.35rem 1rem;
    border: 1px solid rgba(197, 165, 90, 0.45);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.55);
}

.blog-hero-title {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 2.4rem;
    line-height: 1.2;
    color: var(--brown-dark);
    margin: 0 0 1.2rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.blog-hero-text {
    color: var(--text-dark);
    font-size: 1.05rem;
    line-height: 1.75;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.85;
}

/* ===== BLOG HERO V2 — Immersive ===== */
.blog-hero-v2 {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.blog-hero-v2-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.blog-hero-v2-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    filter: brightness(0.45) saturate(1.2);
}

.blog-hero-v2-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(60, 35, 12, 0.55) 0%,
        rgba(60, 35, 12, 0.75) 50%,
        rgba(40, 22, 8, 0.9) 100%
    );
}

.blog-hero-v2-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 780px;
    padding: 3.5rem 1.5rem 3rem;
    animation: blogHeroFadeIn 0.8s ease-out;
}

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

.blog-hero-v2-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.75rem;
    color: #C5A55A;
    font-weight: 700;
    padding: 0.4rem 1.2rem;
    border: 1px solid rgba(197, 165, 90, 0.5);
    border-radius: 999px;
    background: rgba(197, 165, 90, 0.1);
    backdrop-filter: blur(4px);
    margin-bottom: 1.2rem;
}

.blog-hero-v2-badge i {
    font-size: 0.85rem;
}

.blog-hero-v2-title {
    font-family: 'Georgia', 'Cormorant Garamond', serif;
    font-size: 2.8rem;
    line-height: 1.15;
    color: #fff;
    margin: 0 0 1rem;
    font-weight: 700;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.blog-hero-v2-text {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.08rem;
    line-height: 1.7;
    max-width: 580px;
    margin: 0 auto 2rem;
}

.blog-hero-v2-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.blog-hero-v2-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
}

.blog-hero-v2-stat-num {
    font-family: 'Georgia', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #C5A55A;
    line-height: 1;
}

.blog-hero-v2-stat-label {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-hero-v2-stat-sep {
    width: 1px;
    height: 36px;
    background: rgba(197, 165, 90, 0.35);
}

@media (max-width: 768px) {
    .blog-hero-v2 { min-height: 360px; }
    .blog-hero-v2-title { font-size: 1.8rem; }
    .blog-hero-v2-content { padding: 2.5rem 1rem 2rem; }
    .blog-hero-v2-stats { gap: 1rem; }
    .blog-hero-v2-stat-num { font-size: 1.4rem; }
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2.2rem;
    margin: 3rem 0 4rem;
}

.blog-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(92, 61, 46, 0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(197, 165, 90, 0.12);
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 36px rgba(92, 61, 46, 0.18);
}

.blog-card-image-link {
    position: relative;
    display: block;
    height: 240px;
    overflow: hidden;
}

.blog-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.blog-card:hover .blog-card-image { transform: scale(1.06); }

.blog-card-fallback {
    height: 100%;
    background: linear-gradient(135deg, var(--brown-dark), var(--brown));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--gold);
}

.blog-card-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(45, 31, 20, 0.35) 0%, rgba(45, 31, 20, 0) 60%);
    pointer-events: none;
}

.blog-card .blog-body {
    padding: 1.6rem 1.6rem 1.4rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-bottom: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-read-time { color: var(--gold); font-weight: 600; }

.blog-card .blog-title {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 1.4rem;
    line-height: 1.3;
    margin: 0 0 0.7rem;
    color: var(--brown-dark);
}

.blog-card .blog-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.blog-card .blog-title a:hover { color: var(--gold); }

.blog-card .blog-excerpt {
    color: var(--text-muted);
    margin-bottom: 1.2rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.6;
    font-size: 0.93rem;
}

.blog-author-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(197, 165, 90, 0.18);
}

.blog-author-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.blog-author-name {
    font-size: 0.88rem;
    color: var(--text-dark);
    font-weight: 600;
    flex-grow: 1;
}

.blog-read-link {
    color: var(--gold);
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    transition: gap 0.3s ease, color 0.2s ease;
}

.blog-read-link:hover { gap: 0.55rem; color: var(--brown-dark); }

[dir="rtl"] .blog-read-link i,
[dir="rtl"] .article-back i { transform: scaleX(-1); }

/* ===== ARTICLE DETAIL ===== */
.article-page {
    background: linear-gradient(180deg, #faf6ee 0%, var(--cream) 100%);
    padding: 2.5rem 0 4rem;
    min-height: 80vh;
}

.article-back {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--gold);
    text-decoration: none;
    margin-bottom: 1.5rem;
    font-weight: 600;
    transition: gap 0.3s ease;
}
.article-back:hover { gap: 0.7rem; }

.article-header { margin-bottom: 2rem; }

.article-eyebrow {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    font-size: 0.72rem;
    color: var(--gold);
    font-weight: 700;
    margin-bottom: 0.7rem;
}

.article-title {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 2.6rem;
    line-height: 1.2;
    color: var(--brown-dark);
    margin: 0 0 1.2rem;
    letter-spacing: -0.5px;
    font-weight: 700;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 0;
    border-top: 1px solid rgba(197, 165, 90, 0.25);
    border-bottom: 1px solid rgba(197, 165, 90, 0.25);
}

.article-author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.article-meta-text { display: flex; flex-direction: column; line-height: 1.3; }
.article-meta-text strong { color: var(--brown-dark); font-size: 0.98rem; }
.article-meta-text small { color: var(--text-muted); font-size: 0.82rem; }

.article-cover {
    margin: 0 0 2.5rem;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(92, 61, 46, 0.18);
}
.article-cover img { width: 100%; display: block; height: auto; max-height: 460px; object-fit: cover; }

.article-content {
    color: var(--text-dark);
    font-size: 1.08rem;
    line-height: 1.9;
}

.article-content p { margin: 0 0 1.4rem; }

.article-content p.blog-lead {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 1.3rem;
    line-height: 1.6;
    color: var(--brown-dark);
    font-style: italic;
    margin-bottom: 2rem;
}

/* Drop cap on the very first paragraph */
.article-content > p.blog-lead::first-letter,
.article-content > p:first-of-type:not(.blog-lead)::first-letter {
    float: left;
    font-family: 'Georgia', serif;
    font-size: 4.2rem;
    line-height: 0.9;
    padding: 0.4rem 0.7rem 0.2rem 0;
    color: var(--gold);
    font-weight: 700;
    font-style: normal;
}

[dir="rtl"] .article-content > p.blog-lead::first-letter,
[dir="rtl"] .article-content > p:first-of-type::first-letter { float: right; padding: 0.4rem 0 0.2rem 0.7rem; }

.article-content h3 {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 1.5rem;
    color: var(--brown-dark);
    margin: 2.4rem 0 1rem;
    position: relative;
    padding-left: 1rem;
}

.article-content h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.4rem;
    bottom: 0.4rem;
    width: 4px;
    background: linear-gradient(to bottom, var(--gold), #c5a55a);
    border-radius: 2px;
}

[dir="rtl"] .article-content h3 { padding-left: 0; padding-right: 1rem; }
[dir="rtl"] .article-content h3::before { left: auto; right: 0; }

.article-content blockquote.blog-quote {
    margin: 2rem 0;
    padding: 1.5rem 1.8rem 1.5rem 3rem;
    background: linear-gradient(135deg, #faf3e3 0%, #f5e8c8 100%);
    border-left: 4px solid var(--gold);
    border-radius: 0 12px 12px 0;
    color: var(--brown-dark);
    font-family: 'Georgia', 'Times New Roman', serif;
    font-style: italic;
    font-size: 1.15rem;
    line-height: 1.65;
    position: relative;
}

.article-content blockquote.blog-quote::before {
    content: '\201C';
    position: absolute;
    top: 0.2rem;
    left: 0.8rem;
    font-size: 3.5rem;
    color: var(--gold);
    opacity: 0.4;
    font-family: Georgia, serif;
    line-height: 1;
}

[dir="rtl"] .article-content blockquote.blog-quote {
    border-left: none;
    border-right: 4px solid var(--gold);
    border-radius: 12px 0 0 12px;
    padding: 1.5rem 3rem 1.5rem 1.8rem;
}
[dir="rtl"] .article-content blockquote.blog-quote::before { left: auto; right: 0.8rem; }

.article-content p.blog-signature {
    text-align: right;
    margin-top: 2.5rem;
    font-family: 'Georgia', serif;
    font-style: italic;
    font-size: 1.15rem;
    color: var(--gold);
    font-weight: 600;
}

[dir="rtl"] .article-content p.blog-signature { text-align: left; }

.article-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 3rem 0 2rem;
    color: var(--gold);
}

.article-divider span {
    flex: 0 0 80px;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--gold), transparent);
}

.article-divider i { font-size: 1.1rem; }

.article-footer {
    background: #ffffff;
    padding: 1.8rem 2rem;
    border-radius: 14px;
    box-shadow: 0 4px 14px rgba(92, 61, 46, 0.08);
    text-align: center;
    border: 1px solid rgba(197, 165, 90, 0.18);
}

.article-footer-text {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0 0 1.2rem;
    font-style: italic;
}

@media (max-width: 600px) {
    .blog-hero { padding: 3rem 1rem 2.5rem; }
    .blog-hero-title { font-size: 1.7rem; }
    .article-title { font-size: 1.9rem; }
    .article-content { font-size: 1rem; }
    .article-content > p.blog-lead::first-letter,
    .article-content > p:first-of-type:not(.blog-lead)::first-letter { font-size: 3.2rem; }
}

/* ===== REVIEW CARD ===== */
.review-card {
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 1rem;
    border-left: 4px solid var(--gold);
}

[dir="rtl"] .review-card { border-left: none; border-right: 4px solid var(--gold); }

.review-card .review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.review-card .review-name {
    font-weight: 700;
    color: var(--brown-dark);
}

.review-card .review-date {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ===== CATEGORIES GRID ===== */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.8rem;
    margin-bottom: 3rem;
}

.category-card {
    position: relative;
    overflow: hidden;
    background: linear-gradient(155deg, #ffffff 0%, #faf6ee 100%);
    padding: 2.2rem 1.5rem 1.6rem;
    text-align: center;
    border-radius: 18px;
    box-shadow: 0 4px 14px rgba(92, 61, 46, 0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    border: 1px solid rgba(197, 165, 90, 0.18);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Top decorative gradient bar */
.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold) 0%, #e2c97e 50%, var(--gold) 100%);
    transform: scaleX(0.3);
    transform-origin: center;
    transition: transform 0.4s ease;
}

/* Faint background flourish */
.category-card::after {
    content: '';
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(197, 165, 90, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    transition: transform 0.5s ease;
}

.category-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(92, 61, 46, 0.16);
    border-color: rgba(197, 165, 90, 0.5);
}

.category-card:hover::before { transform: scaleX(1); }
.category-card:hover::after  { transform: scale(1.4); }

.category-icon-wrap {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fbe9b8 0%, #c5a55a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    box-shadow: 0 6px 14px rgba(197, 165, 90, 0.35), inset 0 -3px 6px rgba(92, 61, 46, 0.12);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.category-img-wrap {
    width: 100%;
    height: 160px;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    overflow: hidden;
    margin: -1.8rem -1.5rem 1rem -1.5rem;
    width: calc(100% + 3rem);
}

.category-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.category-card:hover .category-icon-wrap {
    transform: rotate(-6deg) scale(1.06);
    box-shadow: 0 10px 22px rgba(197, 165, 90, 0.5), inset 0 -3px 6px rgba(92, 61, 46, 0.12);
}

.category-icon {
    font-size: 2rem;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(92, 61, 46, 0.25);
}

.category-card h3 {
    font-size: 1.1rem;
    color: var(--brown-dark);
    margin: 0 0 0.4rem;
    font-weight: 700;
    letter-spacing: 0.2px;
}

.category-desc {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.45;
    margin: 0 0 0.9rem;
    flex-grow: 1;
}

.category-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--gold);
    margin-top: auto;
    transition: gap 0.3s ease, color 0.3s ease;
}

.category-card:hover .category-cta {
    gap: 0.7rem;
    color: var(--brown-dark);
}

[dir="rtl"] .category-cta i { transform: scaleX(-1); }

/* ===== CONTACT ===== */
.contact-info-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}

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

.contact-icon {
    width: 45px;
    height: 45px;
    background: var(--gold);
    color: var(--brown-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* ===== FOOTER ===== */
/* ========== TIMELINE SECTION ========== */
.timeline-section {
    padding: 4rem 2rem 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    font-style: italic;
}

.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--gold), var(--brown-dark), var(--gold));
    transform: translateX(-50%);
    border-radius: 3px;
}

[dir="rtl"] .timeline-line {
    left: auto;
    right: 50%;
    transform: translateX(50%);
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 0 3rem 3rem;
    box-sizing: border-box;
}

.timeline-left {
    left: 0;
    text-align: right;
    padding-right: 3.5rem;
}

.timeline-right {
    left: 50%;
    text-align: left;
    padding-left: 3.5rem;
}

[dir="rtl"] .timeline-left {
    left: auto;
    right: 0;
    text-align: left;
    padding-right: 1rem;
    padding-left: 3.5rem;
}

[dir="rtl"] .timeline-right {
    left: auto;
    right: 50%;
    text-align: right;
    padding-left: 1rem;
    padding-right: 3.5rem;
}

.timeline-dot {
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #c5a55a, #8b6914);
    display: flex;
    align-items: center;
    justify-content: center;
    top: 0;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(197, 165, 90, 0.5);
}

.timeline-dot span {
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
}

.timeline-left .timeline-dot {
    right: -20px;
}

.timeline-right .timeline-dot {
    left: -20px;
}

[dir="rtl"] .timeline-left .timeline-dot {
    right: auto;
    left: -20px;
}

[dir="rtl"] .timeline-right .timeline-dot {
    left: auto;
    right: -20px;
}

.timeline-content {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.timeline-content:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.14);
}

.timeline-img-wrap {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.timeline-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.timeline-content:hover .timeline-img-wrap img {
    transform: scale(1.06);
}

.timeline-content h3 {
    font-family: 'Cormorant Garamond', serif;
    color: var(--brown-dark);
    font-size: 1.25rem;
    margin: 1rem 1.2rem 0.5rem;
}

.timeline-content p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.7;
    margin: 0 1.2rem 1.2rem;
}

/* ========== ABOUT / STATS SECTION ========== */
.about-section {
    background: linear-gradient(135deg, var(--brown-dark) 0%, #3a2518 100%);
    padding: 4rem 2rem;
    margin-top: 3rem;
    color: var(--cream);
}

.about-inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-section .section-title {
    color: var(--gold);
}

.about-section .section-title::after {
    background: var(--gold);
}

.about-text {
    font-size: 1.05rem;
    line-height: 1.9;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto 2.5rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(197, 165, 90, 0.25);
    border-radius: var(--radius-lg);
    padding: 1.5rem 1rem;
    transition: transform 0.3s ease, background 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.12);
}

.stat-number {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 0.4rem;
}

.stat-label {
    display: block;
    font-size: 0.88rem;
    opacity: 0.8;
    letter-spacing: 0.02em;
}

/* Timeline responsive */
@media (max-width: 768px) {
    .timeline-line {
        left: 20px;
    }
    [dir="rtl"] .timeline-line {
        left: auto;
        right: 20px;
    }
    .timeline-item {
        width: 100%;
        padding-left: 55px !important;
        padding-right: 1rem !important;
        text-align: left !important;
    }
    [dir="rtl"] .timeline-item {
        padding-left: 1rem !important;
        padding-right: 55px !important;
        text-align: right !important;
    }
    .timeline-left, .timeline-right {
        left: 0;
    }
    [dir="rtl"] .timeline-left,
    [dir="rtl"] .timeline-right {
        left: auto;
        right: 0;
    }
    .timeline-left .timeline-dot,
    .timeline-right .timeline-dot {
        left: 0;
        right: auto;
    }
    [dir="rtl"] .timeline-left .timeline-dot,
    [dir="rtl"] .timeline-right .timeline-dot {
        left: auto;
        right: 0;
    }
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

.footer {
    background: var(--brown-dark);
    color: var(--cream);
    padding: 2rem;
    text-align: center;
    margin-top: auto;
}

.footer p { opacity: 0.8; }

/* ===== PRIVACY PAGE ===== */
.privacy-page {
    background: linear-gradient(180deg, #faf6ee 0%, var(--cream) 100%);
    padding: 2.5rem 0 4rem;
}

.privacy-header {
    text-align: center;
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(197, 165, 90, 0.25);
}

.privacy-eyebrow {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    font-size: 0.75rem;
    color: var(--gold);
    font-weight: 700;
    margin-bottom: 0.6rem;
    padding: 0.3rem 0.9rem;
    border: 1px solid rgba(197, 165, 90, 0.35);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.6);
}

.privacy-title {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 2.6rem;
    color: var(--brown-dark);
    margin: 0 0 0.6rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.privacy-subtitle { color: var(--text-muted); font-size: 0.95rem; margin: 0; }

.privacy-intro {
    background: #ffffff;
    padding: 1.8rem 2rem;
    border-radius: 14px;
    box-shadow: 0 4px 14px rgba(92, 61, 46, 0.08);
    margin-bottom: 2rem;
    border-left: 4px solid var(--gold);
    line-height: 1.75;
    color: var(--text-dark);
}
[dir="rtl"] .privacy-intro { border-left: none; border-right: 4px solid var(--gold); }
.privacy-intro p:last-child { margin-bottom: 0; }

.privacy-section {
    background: #ffffff;
    padding: 1.8rem 2rem;
    border-radius: 14px;
    box-shadow: 0 4px 14px rgba(92, 61, 46, 0.08);
    margin-bottom: 1.6rem;
    border: 1px solid rgba(197, 165, 90, 0.15);
}

.privacy-section h2 {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 1.5rem;
    color: var(--brown-dark);
    margin: 0 0 1rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.privacy-section h2 i {
    color: var(--gold);
    font-size: 1.2rem;
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, #fbe9b8 0%, #c5a55a 100%);
    color: #ffffff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.privacy-section p { color: var(--text-dark); line-height: 1.75; margin: 0 0 1rem; }

.privacy-list, .privacy-list-clean {
    color: var(--text-dark);
    line-height: 1.85;
    margin: 0 0 1rem;
    padding-left: 1.4rem;
}
.privacy-list-clean { list-style: none; padding-left: 0; }
[dir="rtl"] .privacy-list { padding-left: 0; padding-right: 1.4rem; }

.privacy-table-wrap { overflow-x: auto; margin: 1.2rem 0; }

.privacy-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    font-size: 0.93rem;
    box-shadow: 0 2px 8px rgba(92, 61, 46, 0.06);
}

.privacy-table thead { background: linear-gradient(135deg, var(--brown-dark), var(--brown)); }
.privacy-table th {
    color: var(--cream);
    text-align: left;
    padding: 0.9rem 1rem;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
[dir="rtl"] .privacy-table th { text-align: right; }
.privacy-table td {
    padding: 0.9rem 1rem;
    border-top: 1px solid rgba(197, 165, 90, 0.2);
    vertical-align: top;
    color: var(--text-dark);
}
.privacy-table tr:hover td { background: rgba(245, 232, 200, 0.3); }

.privacy-note {
    background: linear-gradient(135deg, #faf3e3 0%, #f5e8c8 100%);
    padding: 1rem 1.2rem;
    border-radius: 10px;
    border-left: 3px solid var(--gold);
    color: var(--brown-dark);
    margin-top: 1.2rem;
    line-height: 1.7;
}
[dir="rtl"] .privacy-note { border-left: none; border-right: 3px solid var(--gold); }
.privacy-note i { color: var(--gold); margin-right: 0.4rem; }

.privacy-rights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.privacy-right {
    background: linear-gradient(155deg, #ffffff 0%, #faf6ee 100%);
    padding: 1.2rem 1rem;
    border-radius: 10px;
    border: 1px solid rgba(197, 165, 90, 0.2);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.privacy-right:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(92, 61, 46, 0.1);
}
.privacy-right i {
    font-size: 1.6rem;
    color: var(--gold);
    margin-bottom: 0.5rem;
}
.privacy-right h3 {
    font-size: 1rem;
    color: var(--brown-dark);
    margin: 0 0 0.4rem;
}
.privacy-right p {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0;
}

.privacy-form-section { background: linear-gradient(155deg, #ffffff 0%, #faf6ee 100%); }

.privacy-form { margin-top: 1.2rem; }

.privacy-form .form-row { margin-bottom: 1.1rem; display: flex; flex-direction: column; }

.privacy-form label {
    font-weight: 600;
    color: var(--brown-dark);
    margin-bottom: 0.4rem;
    font-size: 0.95rem;
}
.privacy-form .required { color: #c0392b; }

.privacy-form input[type="text"],
.privacy-form input[type="email"],
.privacy-form select,
.privacy-form textarea {
    padding: 0.7rem 0.9rem;
    border: 1px solid rgba(197, 165, 90, 0.35);
    border-radius: 8px;
    font-size: 0.95rem;
    background: #ffffff;
    color: var(--text-dark);
    font-family: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.privacy-form input:focus,
.privacy-form select:focus,
.privacy-form textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(197, 165, 90, 0.18);
}
.privacy-form small { color: var(--text-muted); font-size: 0.82rem; margin-top: 0.3rem; }
.privacy-form-note {
    background: rgba(255, 255, 255, 0.6);
    padding: 0.9rem 1.1rem;
    border-radius: 8px;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 1.2rem;
    border: 1px dashed rgba(197, 165, 90, 0.4);
}

@media (max-width: 600px) {
    .privacy-title { font-size: 1.8rem; }
    .privacy-section { padding: 1.4rem 1.2rem; }
    .privacy-section h2 { font-size: 1.2rem; }
    .privacy-table { font-size: 0.82rem; }
    .privacy-table th, .privacy-table td { padding: 0.6rem 0.5rem; }
}

/* ===== COOKIE CONSENT BANNER ===== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    border-top: 3px solid var(--gold);
    box-shadow: 0 -8px 24px rgba(92, 61, 46, 0.18);
    padding: 1.3rem 1.5rem;
    z-index: 9997;
    transform: translateY(100%);
    transition: transform 0.4s ease;
    max-height: 100vh;
    overflow-y: auto;
}

.cookie-banner.show { transform: translateY(0); }

.cookie-banner-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cookie-banner-icon {
    font-size: 2rem;
    color: var(--gold);
    flex-shrink: 0;
}

.cookie-banner-text {
    flex: 1;
    min-width: 280px;
    color: var(--text-dark);
    font-size: 0.92rem;
    line-height: 1.55;
}

.cookie-banner-text strong { color: var(--brown-dark); }
.cookie-banner-text a { color: var(--gold); font-weight: 600; }

.cookie-banner-actions {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.cookie-banner-actions .btn { white-space: nowrap; }

.cookie-banner-details {
    display: none;
    width: 100%;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(197, 165, 90, 0.25);
}
.cookie-banner-details.show { display: block; }

.cookie-banner-details ul {
    margin: 0.5rem 0 0;
    padding-left: 1.4rem;
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.7;
}
[dir="rtl"] .cookie-banner-details ul { padding-left: 0; padding-right: 1.4rem; }

@media (max-width: 700px) {
    .cookie-banner-actions { width: 100%; justify-content: center; }
    .cookie-banner-icon { display: none; }
}

/* ===== FLOATING WHATSAPP BUTTON ===== */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.45);
    z-index: 9998;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    animation: whatsapp-pulse 2.4s ease-in-out infinite;
}

.whatsapp-float:hover,
.whatsapp-float:focus {
    background: #128C7E;
    color: #ffffff;
    transform: scale(1.08);
    box-shadow: 0 6px 22px rgba(18, 140, 126, 0.55);
    animation: none;
}

[dir="rtl"] .whatsapp-float { right: auto; left: 25px; }

/* ===== CART ADD POPUP ===== */
.cart-popup {
    position: absolute;
    width: 240px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(92, 61, 46, 0.22);
    padding: 1rem 1rem 0.9rem;
    text-align: center;
    z-index: 9999;
    opacity: 0;
    transform: translateY(-8px) scale(0.96);
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease;
    border: 1px solid rgba(197, 165, 90, 0.25);
}

.cart-popup.show {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.cart-popup-arrow {
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 14px;
    height: 14px;
    background: #ffffff;
    border-left: 1px solid rgba(197, 165, 90, 0.25);
    border-top: 1px solid rgba(197, 165, 90, 0.25);
}

.cart-popup-icon {
    font-size: 1.7rem;
    color: #2e9d4f;
    margin-bottom: 0.4rem;
}

.cart-popup-text {
    color: var(--brown-dark);
    font-weight: 600;
    margin: 0 0 0.7rem;
    font-size: 0.95rem;
}

.cart-popup-btn {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

@keyframes whatsapp-pulse {
    0%   { box-shadow: 0 4px 16px rgba(37, 211, 102, 0.45), 0 0 0 0   rgba(37, 211, 102, 0.55); }
    70%  { box-shadow: 0 4px 16px rgba(37, 211, 102, 0.45), 0 0 0 18px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 4px 16px rgba(37, 211, 102, 0.45), 0 0 0 0   rgba(37, 211, 102, 0); }
}

@media (max-width: 600px) {
    .whatsapp-float {
        width: 52px;
        height: 52px;
        font-size: 28px;
        bottom: 18px;
        right: 18px;
    }
    [dir="rtl"] .whatsapp-float { right: auto; left: 18px; }
}

/* ===== FLASH MESSAGES ===== */
.flash-messages {
    position: fixed;
    top: 70px;
    right: 20px;
    z-index: 9999;
    max-width: 400px;
}

[dir="rtl"] .flash-messages { right: auto; left: 20px; }

.flash-msg {
    padding: 1rem 1.5rem;
    border-radius: var(--radius);
    margin-bottom: 0.5rem;
    box-shadow: var(--shadow);
    animation: slideIn 0.3s ease;
}

.flash-msg.success { background: #E8F5E9; color: var(--success); border-left: 4px solid var(--success); }
.flash-msg.danger { background: #FFEBEE; color: var(--danger); border-left: 4px solid var(--danger); }
.flash-msg.warning { background: #FFF3E0; color: #E65100; border-left: 4px solid #E65100; }

@keyframes slideIn {
    from { transform: translateX(100px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* ===== PAGINATION ===== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
    list-style: none;
}

.pagination a, .pagination span {
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    border: 1px solid #ddd;
    color: var(--brown-dark);
}

.pagination .active span {
    background: var(--gold);
    color: var(--brown-dark);
    border-color: var(--gold);
}

/* ===== PRODUCT DETAIL ===== */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.product-detail .product-img {
    width: 100%;
    height: 100%;
    min-height: 400px;
    object-fit: cover;
    cursor: zoom-in;
    transition: transform 0.3s ease;
}

.product-detail .product-info { padding: 2rem; }

.product-detail .product-name { font-size: 2rem; margin-bottom: 0.5rem; }

.product-detail .product-brand { color: var(--gold); font-size: 1rem; margin-bottom: 1rem; }

.product-detail .product-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--brown-dark);
    margin-bottom: 1rem;
}

.product-detail .product-desc { color: var(--text-muted); margin-bottom: 1.5rem; line-height: 1.8; }

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

.product-detail .add-to-cart-form .btn-gold {
    padding: 0.85rem 2rem;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(197, 165, 90, 0.35);
}

.product-detail .add-to-cart-form .btn-gold:hover {
    box-shadow: 0 6px 22px rgba(197, 165, 90, 0.5);
    transform: translateY(-3px);
}

.product-detail .add-to-cart-form .btn-gold i {
    margin-right: 6px;
    font-size: 1.05rem;
}

[dir="rtl"] .product-detail .add-to-cart-form .btn-gold i {
    margin-right: 0;
    margin-left: 6px;
}

.product-detail .product-share {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    margin-bottom: 1.5rem;
}

.product-detail .product-share-label {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.product-detail .qty-input {
    width: 80px;
    padding: 0.6rem;
    text-align: center;
    border: 2px solid var(--gold);
    border-radius: var(--radius);
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .product-detail { grid-template-columns: 1fr; }
    .hero h1, .hero-content h1 { font-size: 2rem; }
    .hero-slider { height: 70vh; min-height: 400px; }
    .hero-slider-arrow { width: 38px; height: 38px; font-size: 0.9rem; }
    .hero-arrow-prev { left: 12px; }
    .hero-arrow-next { right: 12px; }
    [dir="rtl"] .hero-arrow-prev { left: auto; right: 12px; }
    [dir="rtl"] .hero-arrow-next { right: auto; left: 12px; }
}

/* ===== ADMIN LAYOUT ===== */
.admin-layout {
    display: flex;
    min-height: calc(100vh - 60px);
}

.admin-sidebar {
    width: 250px;
    background: var(--brown-dark);
    padding: 1.5rem 0;
    flex-shrink: 0;
}

.admin-sidebar .sidebar-title {
    color: var(--gold);
    font-size: 1.2rem;
    padding: 0 1.5rem;
    margin-bottom: 1.5rem;
    font-family: 'Cormorant Garamond', serif;
}

.admin-sidebar a {
    display: block;
    color: var(--cream);
    padding: 0.8rem 1.5rem;
    transition: var(--transition);
    font-size: 0.95rem;
}

.admin-sidebar a:hover, .admin-sidebar a.active {
    background: rgba(197,165,90,0.2);
    color: var(--gold);
}

.admin-content {
    flex: 1;
    padding: 2rem;
    background: var(--cream);
}

/* Admin dashboard stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    text-align: center;
    border-top: 4px solid var(--gold);
}

.stat-card .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--brown-dark);
    font-family: 'Cormorant Garamond', serif;
}

.stat-card .stat-label {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 0.3rem;
}

/* Admin table */
.admin-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.admin-table th {
    background: var(--brown-dark);
    color: var(--cream);
    padding: 0.8rem 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.9rem;
}

.admin-table td {
    padding: 0.8rem 1rem;
    border-bottom: 1px solid #eee;
    font-size: 0.9rem;
}

.admin-table tr:hover { background: rgba(197,165,90,0.05); }

.admin-table img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 6px;
}

/* Admin login */
.login-container {
    max-width: 400px;
    margin: 4rem auto;
    background: white;
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.login-container h2 {
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.login-container .logo-login {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .admin-sidebar { display: none; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
}

/* ===== PRODUCT DETAIL PAGE ===== */
.product-usage-badge {
    display: inline-block;
    background: var(--cream);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    margin: 0.2rem;
    color: var(--brown-dark);
}

/* ===== BLOG IMAGES ===== */
.blog-image-container {
    margin: 1.5rem 0;
    text-align: center;
}

.blog-content-img {
    max-width: 100%;
    width: 350px;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 3px solid var(--gold);
}

.blog-image-caption {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

.blog-images-row {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin: 1.5rem 0;
}

.blog-image-item {
    text-align: center;
    flex: 1;
    min-width: 200px;
    max-width: 300px;
}

.blog-image-item .blog-content-img {
    width: 100%;
}

/* ========== FULLSCREEN IMAGE LIGHTBOX ========== */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    cursor: zoom-out;
    backdrop-filter: blur(6px);
}

.lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-overlay img {
    width: 100vw;
    height: 100vh;
    max-width: 100vw;
    max-height: 100vh;
    object-fit: contain;
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.lightbox-overlay:fullscreen,
.lightbox-overlay:-webkit-full-screen {
    background: #000;
}

.lightbox-overlay:fullscreen img,
.lightbox-overlay:-webkit-full-screen img {
    width: 100vw;
    height: 100vh;
    max-width: 100vw;
    max-height: 100vh;
}

.lightbox-overlay.active img {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.3rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
    z-index: 10000;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

[dir="rtl"] .lightbox-close {
    right: auto;
    left: 24px;
}
