/* CSS Premium - HASBART | Galerie d'Art & Zellige Marocain Vectoriel */

:root {
    --bg-primary: #FCFAF6;        /* Ivoire d'exposition lumineux et noble */
    --bg-secondary: #F7F3EB;      /* Vélin / Parchemin doux */
    --bg-card: #FFFFFF;           /* Blanc pur pour contraste galerie */
    --bg-accent: #EFE8DA;         /* Sable doré subtil */
    
    --color-text: #261F1A;        /* Brun espresso riche, chaud & noble */
    --color-text-light: #6E5F54;  /* Brun noisette doux et lisible */
    --color-text-muted: #8E7D72;  /* Teinte discrète pour métadonnées */
    
    --color-gold: #C5A059;        /* Or royal marocain mat */
    --color-gold-dark: #99752D;    /* Bronze / Or antique profond */
    --color-gold-light: #F7EEDB;   /* Voile d'or délicat */
    --color-gold-gradient: linear-gradient(135deg, #DEBE68 0%, #C5A059 50%, #99752D 100%);
    --color-gold-glow: rgba(197, 160, 89, 0.28);
    
    --color-danger: #A34843;      /* Rouge brique doux */
    --color-success: #2D6A4F;     /* Vert émeraude marocain noble */
    
    --border-color: #E8DECC;      /* Bordure couleur sable doré délicate */
    --border-gold-subtle: rgba(197, 160, 89, 0.22);
    --border-gold-strong: rgba(197, 160, 89, 0.55);
    
    --border-radius-sm: 6px;
    --border-radius-md: 14px;
    --border-radius-lg: 26px;
    
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    
    --transition-smooth: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow-subtle: 0 4px 20px rgba(61, 49, 42, 0.04);
    --shadow-medium: 0 10px 30px rgba(61, 49, 42, 0.07);
    --shadow-art: 0 12px 32px rgba(61, 49, 42, 0.08);
    --shadow-art-hover: 0 20px 42px rgba(61, 49, 42, 0.12), 0 4px 15px rgba(197, 160, 89, 0.16);
}

/* Reset et styles de base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    background-color: var(--bg-primary);
}

body {
    background-color: var(--bg-primary);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* علامة مائية فنية راقية في خلفية الموقع مدمجة بسلاسة مع الحفاظ التام على اللون الأصلي والنصوص الصريحة */
.site-bg-watermark {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background-image: url('../images/site-bg-pattern.png');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0.6;
    mix-blend-mode: multiply;
    pointer-events: none;
    user-select: none;
    z-index: 0;
}

/* الأقسام والمحتويات تبقى فوق طبقة الخلفية مع نص واضح 100% ودون أي شفافية للمحتوى */
header,
main,
section,
footer,
.hero-section,
.craft-gallery-section,
.why-section,
.prize-section,
.collection-section,
.how-it-works,
.cultural-section,
.custom-order-hero,
.custom-order-promo-section,
.about-hero-section,
.about-story-section,
.about-tastir-section,
.about-process-section,
.about-vector-advantage-section,
.gallery-hero,
.contact-hero,
.contact-page-section {
    position: relative;
    z-index: 1;
}

/* Typographie */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-text);
    font-weight: 600;
    line-height: 1.25;
}

a {
    color: var(--color-text);
    text-decoration: none;
    transition: var(--transition-smooth);
}

/* Ornements Marocains Traditionnels */
.moroccan-border {
    position: relative;
    border: 2px solid var(--color-gold);
    padding: 1rem;
}
.moroccan-border::before {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    right: 4px;
    bottom: 4px;
    border: 1px solid var(--border-color);
    pointer-events: none;
}

/* Séparateur orné d'une étoile à 8 branches */
.moroccan-separator {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2rem 0;
}
.moroccan-separator::before,
.moroccan-separator::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(to var(--direction, right), transparent, var(--color-gold), transparent);
    max-width: 150px;
}
.moroccan-separator::before { --direction: left; }
.moroccan-star {
    width: 24px;
    height: 24px;
    margin: 0 15px;
    fill: var(--color-gold);
    display: inline-block;
}

/* Header & Navigation */
header {
    background-color: rgba(252, 250, 246, 0.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 20px rgba(38, 31, 26, 0.03);
}
.header-container {
    max-width: 1600px;
    width: 95%;
    margin: 0 auto;
    padding: 0.75rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    box-sizing: border-box;
}
.site-brand-logo,
.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-text);
    transition: transform 0.3s ease;
    text-decoration: none;
    flex-shrink: 0;
    margin-inline-end: 1.5rem;
}
.site-brand-logo:hover,
.logo:hover {
    transform: scale(1.02);
}
.brand-logo-img {
    height: 58px;
    width: auto;
    max-width: 240px;
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease;
}
.logo-star {
    width: 30px;
    height: 30px;
    fill: var(--color-gold);
}
.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.8rem;
    align-items: center;
    margin: 0;
    padding: 0;
    flex-wrap: nowrap;
}
.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.2px;
    position: relative;
    padding: 0.45rem 0.2rem;
    color: var(--color-text);
    transition: var(--transition-smooth);
    white-space: nowrap;
}
.nav-link:hover,
.nav-link.active {
    color: var(--color-gold-dark);
    font-weight: 600;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2.5px;
    background: var(--color-gold-gradient);
    border-radius: 2px;
    transition: width 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
body.rtl-layout .nav-link::after {
    left: auto;
    right: 0;
}
.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}
.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    flex-shrink: 0;
    margin-inline-start: auto;
}

/* Sélecteur de Langue Combobox */
.lang-combo-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
}
.lang-combo-label {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 4px 10px;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.03);
}
.lang-combo-label:hover,
.lang-combo-label:focus-within {
    border-color: var(--color-gold);
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(197, 160, 89, 0.16);
}
.lang-globe-icon {
    color: var(--color-gold-dark);
    flex-shrink: 0;
    pointer-events: none;
}
.lang-select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: none;
    background: transparent;
    font-family: inherit;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--color-text);
    padding: 0 3px;
    cursor: pointer;
    outline: none;
    line-height: 1.3;
}
.lang-select option {
    background-color: #ffffff;
    color: #261F1A;
    font-size: 0.88rem;
    font-weight: 500;
    padding: 6px 12px;
}
.lang-chevron-icon {
    color: var(--color-text-light);
    flex-shrink: 0;
    pointer-events: none;
    transition: transform 0.2s ease;
}
.lang-combo-label:hover .lang-chevron-icon {
    color: var(--color-gold-dark);
    transform: translateY(1px);
}

/* Retro-compatibilité .lang-switch */
.lang-switch {
    font-size: 0.85rem;
    font-weight: 600;
    gap: 6px;
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
    padding: 5px 12px;
    border-radius: 20px;
    background-color: var(--bg-secondary);
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.03);
}
.lang-switch a {
    opacity: 0.65;
    padding: 2px 4px;
    border-radius: 4px;
    transition: var(--transition-smooth);
    color: var(--color-text);
}
.lang-switch a:hover {
    opacity: 1;
    color: var(--color-gold-dark);
}
.lang-switch a.active {
    opacity: 1;
    color: var(--color-gold-dark);
    font-weight: 700;
}
.cart-icon-container {
    position: relative;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition-smooth);
}
.cart-icon-container:hover {
    background-color: var(--bg-secondary);
}
.cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--color-gold-gradient);
    color: white;
    font-size: 0.72rem;
    font-weight: 700;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(197, 160, 89, 0.4);
}
body.rtl-layout .cart-count {
    right: auto;
    left: -4px;
}

/* Boutons */
.btn {
    display: inline-block;
    padding: 0.82rem 1.9rem;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.92rem;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
    text-align: center;
    box-shadow: var(--shadow-subtle);
}
.btn-gold {
    background: var(--color-gold-gradient);
    color: #FFFFFF !important;
    border: none;
    box-shadow: 0 4px 16px rgba(197, 160, 89, 0.32);
}
.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(197, 160, 89, 0.45);
    color: #FFFFFF !important;
}
.btn-outline {
    border: 1.5px solid var(--color-gold);
    color: var(--color-text);
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
}
.btn-outline:hover {
    background-color: var(--color-gold-light);
    border-color: var(--color-gold-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}
.btn-sm {
    padding: 0.45rem 1.1rem;
    font-size: 0.82rem;
    border-radius: 20px;
}
.btn-danger {
    background-color: var(--color-danger);
    color: white;
}
.btn-danger:hover {
    background-color: #8c3833;
}

/* Sections du Site */
section {
    padding: 5rem 2rem;
}
.section-container {
    max-width: 1440px;
    width: 94%;
    margin: 0 auto;
}
.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}
.section-header h2 {
    font-size: 2.2rem;
    position: relative;
    display: inline-block;
    margin-bottom: 1rem;
}
.section-header p {
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Hero Section Centrée avec Image en Haut */
.hero-section {
    background-color: transparent;
    background: radial-gradient(ellipse 90% 70% at 50% 15%, rgba(222, 190, 104, 0.18) 0%, rgba(252, 250, 246, 0.65) 55%, rgba(252, 250, 246, 0.88) 100%);
    padding: 3.8rem 1.5rem 5rem;
    position: relative;
    border-bottom: 1px solid var(--border-color);
    text-align: center;
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 250px;
    background: radial-gradient(circle, rgba(222, 190, 104, 0.14) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}
.hero-container {
    max-width: 1540px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 0 2rem;
    box-sizing: border-box;
}

/* ========================================================
   HERO 50/50 SPLIT LAYOUT (Text + Sequential Zoom Showcase)
   ======================================================== */
.hero-split-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 4.5rem;
    width: 100%;
    box-sizing: border-box;
}

/* Text Column */
.hero-text-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    max-width: 660px;
    box-sizing: border-box;
}

/* RTL Specific Rules: In Arabic, text aligns to the right */
[dir="rtl"] .hero-text-col,
.rtl-layout .hero-text-col {
    align-items: flex-start;
    text-align: right;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    background: rgba(197, 160, 89, 0.1);
    border: 1px solid rgba(197, 160, 89, 0.32);
    border-radius: 30px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--color-gold-dark);
    margin-bottom: 1.35rem;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 2px 10px rgba(197, 160, 89, 0.08);
}

.hero-badge-sparkle {
    font-size: 1rem;
    display: inline-block;
}

.hero-main-title {
    font-family: var(--font-heading);
    font-size: 2.85rem;
    font-weight: 700;
    color: var(--color-text);
    line-height: 1.26;
    margin: 0 0 1.25rem 0;
    letter-spacing: -0.01em;
}

.rtl-layout .hero-main-title,
[dir="rtl"] .hero-main-title {
    font-family: 'Cairo', var(--font-heading), sans-serif;
    font-size: 2.65rem;
    line-height: 1.38;
}

.hero-main-subtitle {
    font-size: 1.12rem;
    color: var(--color-text-light);
    line-height: 1.78;
    margin: 0 0 1.75rem 0;
}

.hero-feature-pills {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2.2rem;
    width: 100%;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.96rem;
    font-weight: 500;
    color: var(--color-text);
}

.hero-pill-icon {
    color: var(--color-gold-dark);
    font-size: 1.05rem;
    flex-shrink: 0;
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    flex-wrap: wrap;
}

/* ========================================================
   HERO VISUAL COLUMN (Sequential Display & Interactive Zoom)
   ======================================================== */
.hero-visual-col {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}

.hero-art-showcase {
    width: 100%;
    max-width: 560px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}

/* The Grand Art Display Frame */
.hero-frame-card {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #FFFFFF;
    border-radius: 28px;
    border: 2px solid rgba(197, 160, 89, 0.38);
    box-shadow: 0 24px 60px rgba(38, 31, 26, 0.12),
                0 0 35px rgba(222, 190, 104, 0.22);
    overflow: hidden;
    transition: border-color 0.35s ease, box-shadow 0.35s ease;
    user-select: none;
}

.hero-frame-card:hover {
    border-color: var(--color-gold);
    box-shadow: 0 30px 70px rgba(38, 31, 26, 0.18),
                0 0 45px rgba(222, 190, 104, 0.35);
}

/* Floating Zoom Hint Badge */
.hero-zoom-badge {
    position: absolute;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(197, 160, 89, 0.35);
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-gold-dark);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 4px 14px rgba(38, 31, 26, 0.08);
    z-index: 15;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    white-space: nowrap;
}

.hero-frame-card:hover .hero-zoom-badge {
    opacity: 0.35;
    transform: translateX(-50%) translateY(-3px);
}

/* Zoom Stage Area */
.hero-zoom-stage {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    cursor: crosshair;
    background: radial-gradient(circle at center, #FFFFFF 65%, #FAF7F2 100%);
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.7s;
    pointer-events: none;
}

.hero-slide.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 3;
}

.hero-slide-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 24px;
    box-sizing: border-box;
    transform-origin: center center;
    transition: transform 0.3s cubic-bezier(0.2, 0, 0.2, 1);
    will-change: transform, transform-origin;
    display: block;
    user-select: none;
    -webkit-user-drag: none;
}

.hero-zoom-stage:hover .hero-slide.is-active .hero-slide-img {
    transition: transform 0.12s ease-out;
}

/* Slide Caption Overlay */
.hero-slide-overlay {
    position: absolute;
    bottom: 16px;
    left: 18px;
    right: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 16px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(197, 160, 89, 0.28);
    border-radius: 14px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 6px 20px rgba(38, 31, 26, 0.08);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
    z-index: 6;
}

.hero-zoom-stage:hover .hero-slide.is-active .hero-slide-overlay {
    opacity: 0;
    transform: translateY(8px);
}

.hero-slide-badge {
    display: inline-block;
    font-size: 0.74rem;
    font-weight: 700;
    padding: 3px 10px;
    background: rgba(197, 160, 89, 0.16);
    color: var(--color-gold-dark);
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    flex-shrink: 0;
}

.hero-slide-title {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--color-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Prev / Next Slide Arrows */
.hero-slide-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    border: 1.5px solid rgba(197, 160, 89, 0.35);
    color: var(--color-gold-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    box-shadow: 0 4px 16px rgba(38, 31, 26, 0.1);
    transition: all 0.25s ease;
    opacity: 0;
    pointer-events: none;
}

.hero-frame-card:hover .hero-slide-arrow {
    opacity: 1;
    pointer-events: auto;
}

.hero-slide-arrow:hover {
    background: var(--color-gold);
    color: #FFFFFF;
    border-color: var(--color-gold);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(197, 160, 89, 0.45);
}

.hero-slide-prev {
    left: 14px;
}

.hero-slide-next {
    right: 14px;
}

/* Thumbnail Navigation Strip */
.hero-thumb-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    width: 100%;
    padding: 2px 0;
}

.hero-thumb-btn {
    position: relative;
    width: 72px;
    height: 72px;
    border-radius: 16px;
    border: 2px solid rgba(197, 160, 89, 0.25);
    background: #FFFFFF;
    padding: 4px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 3px 10px rgba(38, 31, 26, 0.06);
    box-sizing: border-box;
}

.hero-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 10px;
    display: block;
    background: #FAF7F2;
    transition: transform 0.3s ease;
}

.hero-thumb-btn:hover {
    border-color: rgba(197, 160, 89, 0.65);
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(197, 160, 89, 0.22);
}

.hero-thumb-btn.is-active {
    border-color: var(--color-gold);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 10px 24px rgba(197, 160, 89, 0.38), 0 0 0 2px rgba(222, 190, 104, 0.3);
}

.hero-thumb-btn.is-active .hero-thumb-img {
    transform: scale(1.04);
}

/* Responsive Rules */
@media (max-width: 992px) {
    .hero-split-grid {
        grid-template-columns: 1fr;
        gap: 2.8rem;
    }
    
    .hero-text-col,
    [dir="rtl"] .hero-text-col,
    .rtl-layout .hero-text-col {
        align-items: center;
        text-align: center;
        max-width: 100%;
        margin: 0 auto;
    }
    
    .hero-main-title,
    .rtl-layout .hero-main-title {
        font-size: 2.25rem;
    }
    
    .hero-main-subtitle {
        font-size: 1.05rem;
    }
    
    .hero-feature-pills {
        align-items: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-art-showcase {
        max-width: 460px;
    }
    
    .hero-slide-arrow {
        opacity: 0.9;
        pointer-events: auto;
    }
    
    .hero-thumb-btn {
        width: 62px;
        height: 62px;
    }
}

@media (max-width: 600px) {
    .hero-section {
        padding: 2.2rem 1rem 3.2rem;
    }
    
    .hero-split-grid {
        gap: 2rem;
    }
    
    .hero-main-title,
    .rtl-layout .hero-main-title {
        font-size: 1.85rem;
        line-height: 1.35;
    }
    
    .hero-main-subtitle {
        font-size: 0.95rem;
        line-height: 1.65;
        margin-bottom: 1.4rem;
    }
    
    .hero-badge {
        font-size: 0.8rem;
        padding: 5px 14px;
    }
    
    .hero-pill {
        font-size: 0.88rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 0.8rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .hero-art-showcase {
        max-width: 100%;
    }
    
    .hero-frame-card {
        border-radius: 20px;
    }
    
    .hero-zoom-badge {
        font-size: 0.72rem;
        padding: 4px 10px;
    }
    
    .hero-thumb-btn {
        width: 52px;
        height: 52px;
        border-radius: 12px;
    }
}

/* Section Présentation Culturelle (Main) */
.cultural-section {
    background-color: var(--bg-primary);
}
.cultural-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}
.cultural-text h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}
.cultural-text p {
    margin-bottom: 1.2rem;
    color: var(--color-text);
    text-align: justify;
}
.cultural-highlight {
    font-style: italic;
    border-left: 3px solid var(--color-gold);
    padding-left: 1.5rem;
    margin: 2rem 0;
    color: var(--color-text-light);
    font-size: 1.1rem;
    font-family: var(--font-heading);
}
.cultural-sidebar {
    background-color: #FFFFFF;
    border-radius: var(--border-radius-md);
    padding: 2.5rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-subtle);
    position: relative;
}
.cultural-sidebar::after {
    content: '';
    position: absolute;
    top: 10px;
    bottom: 10px;
    left: 10px;
    right: 10px;
    border: 1px solid rgba(197, 160, 89, 0.2);
    pointer-events: none;
    border-radius: calc(var(--border-radius-md) - 5px);
}
.cultural-sidebar h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* ========================================================
   معرض الصور التفاعلي (Accordion / Expanding Cards Gallery)
   ======================================================== */
.craft-gallery-section {
    padding: 4.5rem 1.5rem 5rem;
    background-color: rgba(247, 243, 235, 0.85);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    position: relative;
    z-index: 1;
}

.craft-gallery-container {
    max-width: 1200px;
    margin: 0 auto;
}

.options {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    overflow: hidden;
    min-width: 320px;
    max-width: 1100px;
    width: 100%;
    height: 480px;
    margin: 2.2rem auto 0;
    box-sizing: border-box;
}

.options .option {
    position: relative;
    overflow: hidden;
    min-width: 65px;
    margin: 10px;
    background: var(--optionBackground, var(--defaultBackground, #E6E9ED));
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
    transition: 0.55s cubic-bezier(0.05, 0.61, 0.41, 0.95);
    border-radius: 30px;
    box-shadow: 0 8px 24px rgba(38, 31, 26, 0.12);
}

.options .option:nth-child(1) { --defaultBackground: #C5A059; }
.options .option:nth-child(2) { --defaultBackground: #B85D3A; }
.options .option:nth-child(3) { --defaultBackground: #D4A373; }
.options .option:nth-child(4) { --defaultBackground: #2D6A4F; }
.options .option:nth-child(5) { --defaultBackground: #4A5568; }

.options .option.active {
    flex-grow: 10000;
    transform: scale(1);
    max-width: 720px;
    margin: 10px;
    border-radius: 36px;
    background-size: cover;
    box-shadow: 0 16px 40px rgba(38, 31, 26, 0.22), 0 0 0 2px var(--color-gold);
}

.options .option:not(.active) {
    flex-grow: 1;
    border-radius: 26px;
}

.options .option .shadow {
    position: absolute;
    bottom: 0px;
    left: 0px;
    right: 0px;
    height: 140px;
    pointer-events: none;
    transition: 0.5s cubic-bezier(0.05, 0.61, 0.41, 0.95);
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 60%, transparent 100%);
}

.options .option:not(.active) .shadow {
    bottom: -40px;
    opacity: 0.6;
}

.options .option .label {
    display: flex;
    position: absolute;
    bottom: 22px;
    left: 20px;
    right: 20px;
    height: 48px;
    align-items: center;
    transition: 0.5s cubic-bezier(0.05, 0.61, 0.41, 0.95);
    pointer-events: none;
}

body.rtl-layout .options .option .label {
    left: auto;
    right: 20px;
    flex-direction: row;
}

.options .option:not(.active) .label {
    bottom: 14px;
    left: 14px;
    right: auto;
}

body.rtl-layout .options .option:not(.active) .label {
    right: 14px;
    left: auto;
}

.options .option .label .icon {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    min-width: 44px;
    max-width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #FFFFFF;
    color: var(--defaultBackground, var(--color-gold));
    font-size: 1.15rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.28);
    flex-shrink: 0;
}

.options .option .label .info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-left: 14px;
    color: #FFFFFF;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
    overflow: hidden;
}

body.rtl-layout .options .option .label .info {
    margin-left: 0;
    margin-right: 14px;
    text-align: right;
}

.options .option .label .info > div {
    position: relative;
    transition: 0.5s cubic-bezier(0.05, 0.61, 0.41, 0.95), opacity 0.5s ease-out;
}

.options .option.active .label .info > div {
    opacity: 1;
    transform: translateX(0);
}

.options .option:not(.active) .label .info > div {
    opacity: 0;
    transform: translateX(-20px);
}

body.rtl-layout .options .option:not(.active) .label .info > div {
    transform: translateX(20px);
}

.options .option .label .info .main {
    font-weight: 700;
    font-size: 1.25rem;
    font-family: var(--font-heading);
    white-space: nowrap;
}

.options .option .label .info .sub {
    font-size: 0.88rem;
    opacity: 0.92;
    white-space: nowrap;
    transition-delay: 0.1s;
}

/* التجاوب مع مختلف الشاشات (Responsive) */
@media screen and (max-width: 900px) {
    .options {
        height: 420px;
    }
    .options .option {
        min-width: 55px;
        margin: 6px;
    }
}

@media screen and (max-width: 680px) {
    .options {
        height: 380px;
    }
    .options .option:nth-child(5) {
        display: none;
    }
    .options .option {
        min-width: 50px;
        margin: 5px;
    }
    .options .option .label .info .main {
        font-size: 1.05rem;
    }
    .options .option .label .info .sub {
        font-size: 0.8rem;
    }
}

@media screen and (max-width: 480px) {
    .options {
        height: 350px;
    }
    .options .option:nth-child(4) {
        display: none;
    }
    .options .option {
        min-width: 42px;
        margin: 4px;
        border-radius: 20px;
    }
    .options .option.active {
        border-radius: 24px;
        margin: 4px;
    }
}

/* Section Prix Mohammed VI */
.prize-section {
    background-color: var(--bg-primary);
    position: relative;
}
.prize-content {
    background: linear-gradient(135deg, #FCFAF6 0%, #F5EFE3 100%);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
    padding: 3.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}
.prize-icon-bg {
    position: absolute;
    right: -50px;
    bottom: -50px;
    width: 250px;
    height: 250px;
    opacity: 0.04;
    fill: var(--color-gold);
}
.prize-text h2 {
    font-size: 2.1rem;
    margin-bottom: 1.5rem;
    color: var(--color-text);
}
.prize-text p {
    margin-bottom: 1.2rem;
    font-size: 0.96rem;
    line-height: 1.7;
    color: var(--color-text-light);
}
.prize-alert {
    background-color: rgba(255, 255, 255, 0.8);
    border-left: 3px solid var(--color-gold);
    padding: 1.1rem 1.4rem;
    border-radius: var(--border-radius-sm);
    font-size: 0.88rem;
    color: var(--color-text);
    box-shadow: 0 2px 10px rgba(61, 49, 42, 0.04);
}
body.rtl-layout .prize-alert {
    border-left: none;
    border-right: 3px solid var(--color-gold);
}
.prize-visual {
    display: flex;
    justify-content: center;
}
.prize-badge-frame {
    border: 2px double var(--color-gold);
    padding: 2.5rem 2rem;
    text-align: center;
    background-color: #FFFFFF;
    border-radius: var(--border-radius-md);
    max-width: 340px;
    box-shadow: 0 8px 30px rgba(197, 160, 89, 0.15);
}
.prize-badge-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: bold;
    color: var(--color-gold-dark);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Collection Grid */
.collection-section {
    background-color: var(--bg-secondary);
}
.artworks-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.8rem;
    margin-bottom: 3.5rem;
}
@media (max-width: 480px) {
    .artworks-grid {
        grid-template-columns: 1fr;
        gap: 1.4rem;
    }
}
@media (min-width: 768px) and (max-width: 991px) {
    .artworks-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.8rem;
    }
}
@media (min-width: 992px) {
    .artworks-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }
}
.artwork-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-art);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), border-color 0.4s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    will-change: transform, box-shadow;
}
.artwork-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-art-hover);
    border-color: var(--border-gold-strong);
}
.artwork-media {
    position: relative;
    aspect-ratio: 4/5;
    background: linear-gradient(180deg, #FAF7F1 0%, #F3EDE1 100%);
    overflow: hidden;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--border-gold-subtle);
}
.artwork-media img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
    border-radius: 8px;
    box-shadow: 0 8px 22px rgba(61, 49, 42, 0.09);
    border: 1px solid rgba(197, 160, 89, 0.18);
}
.artwork-card:hover .artwork-media img {
    transform: scale(1.025);
    box-shadow: 0 14px 30px rgba(61, 49, 42, 0.16);
}
.artwork-protection-overlay {
    position: absolute;
    inset: 15px;
    border-radius: 8px;
    z-index: 5;
    background: transparent;
    pointer-events: auto;
    cursor: pointer;
}
.artwork-main-image .artwork-protection-overlay {
    inset: 0;
    border-radius: var(--border-radius-md);
    cursor: default;
}
.artwork-category {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(8px);
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-gold-dark);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 8px rgba(61, 49, 42, 0.06);
    z-index: 6;
}
body.rtl-layout .artwork-category {
    left: auto;
    right: 20px;
}
.artwork-body {
    padding: 1.4rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.artwork-card-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    line-height: 1.35;
    color: var(--color-text);
}
.artwork-author {
    font-size: 0.85rem;
    color: var(--color-text-light);
    margin-bottom: 1rem;
}
.artwork-meta-info {
    font-size: 0.82rem;
    border-top: 1px solid var(--border-gold-subtle);
    padding-top: 0.8rem;
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    color: var(--color-text-light);
}
.artwork-format-badge {
    background-color: rgba(197, 160, 89, 0.12);
    border: 1px solid rgba(197, 160, 89, 0.28);
    color: var(--color-gold-dark);
    padding: 2px 8px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
}
.artwork-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    border-top: 1px solid var(--border-gold-subtle);
    padding-top: 1rem;
}
.artwork-price {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--color-text);
}

/* Comment acheter section */
.how-it-works {
    background-color: rgba(247, 243, 235, 0.85);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}
.step-card {
    background-color: #FFFFFF;
    padding: 2rem;
    border-radius: var(--border-radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-subtle);
    position: relative;
}
.step-number {
    position: absolute;
    top: -15px;
    left: 20px;
    background-color: var(--color-gold);
    color: white;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(197, 160, 89, 0.3);
}
.step-card h3 {
    margin-top: 0.5rem;
    margin-bottom: 0.8rem;
    font-size: 1.15rem;
}
.step-card p {
    font-size: 0.85rem;
    color: var(--color-text-light);
}

/* Formulaires de Recherche / Filtres */
.filters-bar {
    background-color: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 1.5rem;
    margin-bottom: 3rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: flex-end;
    box-shadow: var(--shadow-subtle);
}
.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
    min-width: 200px;
}
.filter-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-light);
}
.filter-input {
    background-color: white;
    border: 1px solid var(--border-color);
    padding: 0.75rem 1rem;
    font-family: inherit;
    font-size: 0.95rem;
    border-radius: var(--border-radius-sm);
    color: var(--color-text);
    width: 100%;
}
.filter-input:focus {
    outline: none;
    border-color: var(--color-gold);
    box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.1);
}

/* Pagination */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 4rem;
}
.pagination {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
}
.page-item {
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 20px;
    background-color: transparent;
    font-weight: 600;
    color: var(--color-text);
    transition: var(--transition-smooth);
    text-decoration: none;
    cursor: pointer;
    font-size: 0.9rem;
}
.page-item.prev-next {
    border-radius: 20px;
    padding: 0 15px;
    background-color: var(--bg-secondary);
    border-color: var(--border-color);
}
.page-item:hover {
    background-color: var(--bg-secondary);
    color: var(--color-gold-dark);
}
.page-item.active {
    background-color: var(--color-gold);
    border-color: var(--color-gold);
    color: white !important;
    box-shadow: 0 4px 10px rgba(197, 160, 89, 0.3);
}
.page-item.active:hover {
    background-color: var(--color-gold-dark);
}
.page-item.disabled {
    color: #ccc;
    background-color: #f9f9f9;
    border-color: #eee;
    cursor: not-allowed;
    border-radius: 20px;
    padding: 0 15px;
    pointer-events: none;
}

/* Page Détail Artwork */
.artwork-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}
.artwork-detail-gallery {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

.artwork-main-image-wrap {
    position: relative;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
}

/* Floating Zoom Hint Badge */
.artwork-zoom-badge {
    position: absolute;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(197, 160, 89, 0.38);
    border-radius: 30px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--color-gold-dark);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 4px 14px rgba(38, 31, 26, 0.08);
    z-index: 15;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    white-space: nowrap;
}

.artwork-main-image-wrap:hover .artwork-zoom-badge {
    opacity: 0.25;
    transform: translateX(-50%) translateY(-2px);
}

.artwork-main-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: radial-gradient(circle at center, #FFFFFF 65%, #FAF7F2 100%);
    border: 2px solid rgba(197, 160, 89, 0.35);
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 16px 40px rgba(38, 31, 26, 0.08), 0 0 25px rgba(222, 190, 104, 0.15);
    cursor: crosshair;
    user-select: none;
    -webkit-user-select: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.artwork-main-image:hover {
    border-color: var(--color-gold);
    box-shadow: 0 20px 50px rgba(38, 31, 26, 0.12), 0 0 35px rgba(222, 190, 104, 0.25);
}

.artwork-main-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
    box-sizing: border-box;
    transform-origin: center center;
    transition: transform 0.25s cubic-bezier(0.2, 0, 0.2, 1);
    will-change: transform, transform-origin;
    display: block;
    user-select: none;
    -webkit-user-drag: none;
}

.artwork-main-image:hover img {
    transition: transform 0.1s ease-out;
}

.artwork-zoom-stage .artwork-protection-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 5;
}

.artwork-thumbnails {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    overflow-x: auto;
    padding: 6px 0;
    width: 100%;
    max-width: 480px;
}

.thumbnail-item {
    width: 70px;
    height: 70px;
    border: 2px solid rgba(197, 160, 89, 0.25);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    background: #FFFFFF;
    padding: 4px;
    box-sizing: border-box;
    transition: all 0.2s ease;
    opacity: 0.8;
}

.thumbnail-item.active,
.thumbnail-item:hover {
    opacity: 1;
    border-color: var(--color-gold);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(197, 160, 89, 0.25);
}

.thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.artwork-detail-info h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}
.artwork-detail-artist {
    font-size: 1.1rem;
    color: var(--color-text-light);
    margin-bottom: 2rem;
}
.artwork-detail-price {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--color-text);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1.5rem;
}
.artwork-detail-desc {
    margin-bottom: 2rem;
    line-height: 1.7;
    color: var(--color-text-light);
}
.artwork-specs-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2.5rem;
}
.artwork-specs-table tr {
    border-bottom: 1px solid var(--bg-secondary);
}
.artwork-specs-table td {
    padding: 0.8rem 0;
}
.artwork-specs-table td:first-child {
    font-weight: 600;
    color: var(--color-text);
    width: 40%;
}
.artwork-specs-table td:last-child {
    color: var(--color-text-light);
}
.artwork-action-box {
    background-color: var(--bg-secondary);
    padding: 2rem;
    border-radius: var(--border-radius-md);
    border: 1px solid var(--border-color);
}
.artwork-action-box .btn {
    width: 100%;
    margin-bottom: 1rem;
}

/* Panier et Checkout Layout */
.cart-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}
.table-cart {
    width: 100%;
    border-collapse: collapse;
}
.table-cart th {
    text-align: left;
    padding: 1rem;
    border-bottom: 2px solid var(--border-color);
    color: var(--color-text-light);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.table-cart td {
    padding: 1.5rem 1rem;
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
}
.cart-item-preview {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.cart-item-img {
    width: 60px;
    height: 75px;
    object-fit: cover;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--border-color);
}
.cart-item-title {
    font-family: var(--font-heading);
    font-weight: bold;
    font-size: 1.1rem;
}
.cart-item-category {
    font-size: 0.8rem;
    color: var(--color-text-light);
}
.cart-total-box {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 2rem;
}
.cart-total-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}
.cart-total-row.grand-total {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: bold;
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
}

/* Formulaire Checkout */
.checkout-form-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 3rem;
}
.form-section {
    background-color: white;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 2.5rem;
    box-shadow: var(--shadow-subtle);
}
.form-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--bg-secondary);
    padding-bottom: 0.8rem;
}
.form-group-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}
.form-group {
    margin-bottom: 1.5rem;
}
.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
}
.form-control {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    background-color: var(--bg-primary);
}
.form-control:focus {
    outline: none;
    border-color: var(--color-gold);
    background-color: white;
}
.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 1.5rem;
}
.form-checkbox input {
    margin-top: 5px;
}
.form-checkbox label {
    font-size: 0.85rem;
    color: var(--color-text-light);
    line-height: 1.4;
}

/* Page Confirmation / CMI Simulator / Download */
.outcome-box {
    max-width: 600px;
    margin: 3rem auto;
    background-color: white;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 3rem;
    text-align: center;
    box-shadow: var(--shadow-medium);
}
.outcome-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem auto;
}
.outcome-icon.success { fill: var(--color-success); }
.outcome-icon.error { fill: var(--color-danger); }
.outcome-title {
    font-size: 2rem;
    margin-bottom: 1rem;
}
.outcome-desc {
    color: var(--color-text-light);
    margin-bottom: 2rem;
}
.outcome-details {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 1.5rem;
    text-align: left;
    margin-bottom: 2rem;
    font-size: 0.9rem;
}
.outcome-details-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}
.outcome-details-row:last-child {
    margin-bottom: 0;
}

/* Simulateur CMI */
.cmi-sim-container {
    max-width: 800px;
    margin: 2rem auto;
    background-color: #f7f9fc;
    border: 1px solid #d1d9e6;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
    font-family: system-ui, -apple-system, sans-serif;
}
.cmi-sim-header {
    background-color: #0c3e74;
    color: white;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.cmi-sim-body {
    padding: 2rem;
}
.cmi-sim-table {
    width: 100%;
    margin-bottom: 2rem;
    border-collapse: collapse;
}
.cmi-sim-table td {
    padding: 0.8rem;
    border-bottom: 1px solid #e1e8f2;
}
.cmi-sim-table td:first-child {
    font-weight: bold;
    width: 30%;
    color: #49586f;
}
.cmi-actions-panel {
    background-color: white;
    border: 1px solid #e1e8f2;
    border-radius: 6px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}

/* Administration Panel styles */
.admin-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    min-height: calc(100vh - 80px);
}
.admin-sidebar {
    background-color: var(--bg-secondary);
    border-right: 1px solid var(--border-color);
    padding: 2rem 1.5rem;
}
.admin-sidebar-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.admin-menu-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0.8rem 1rem;
    border-radius: var(--border-radius-sm);
    font-size: 0.95rem;
    font-weight: 500;
}
.admin-menu-link:hover,
.admin-menu-link.active {
    background-color: var(--color-gold-light);
    color: var(--color-gold-dark);
}
.admin-content {
    padding: 3rem;
    background-color: var(--bg-primary);
}
.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}
.admin-stat-card {
    background-color: white;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 1.5rem 2rem;
    box-shadow: var(--shadow-subtle);
}
.admin-stat-title {
    font-size: 0.85rem;
    color: var(--color-text-light);
    text-transform: uppercase;
    font-weight: 600;
}
.admin-stat-value {
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0.5rem 0;
    color: var(--color-text);
}
.table-admin {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-subtle);
}
.table-admin th {
    background-color: var(--bg-secondary);
    padding: 1rem;
    text-align: left;
    border-bottom: 2px solid var(--border-color);
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: bold;
}
.table-admin td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9rem;
}
.badge-status {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}
.badge-status.paid {
    background-color: rgba(67, 138, 94, 0.1);
    color: var(--color-success);
}
.badge-status.pending {
    background-color: rgba(197, 160, 89, 0.1);
    color: var(--color-gold-dark);
}
.badge-status.failed {
    background-color: rgba(163, 72, 67, 0.1);
    color: var(--color-danger);
}

/* Footer */
footer {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 4.5rem 2rem 2.5rem 2rem;
    position: relative;
}
.footer-container {
    max-width: 1520px;
    width: 94%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 3.5rem;
    margin-bottom: 2.5rem;
}
.footer-brand-logo {
    display: inline-block;
    margin-bottom: 1.2rem;
    transition: transform 0.3s ease;
}
.footer-brand-logo:hover {
    transform: scale(1.02);
}
.footer-logo-img {
    height: 56px;
    width: auto;
    max-width: 230px;
    object-fit: contain;
    display: block;
}
.footer-col h4 {
    margin-bottom: 1.4rem;
    font-size: 1.05rem;
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
    color: var(--color-gold-dark);
}
.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}
.footer-links a {
    font-size: 0.92rem;
    color: var(--color-text-light);
    transition: var(--transition-smooth);
}
.footer-links a:hover {
    color: var(--color-gold-dark);
    padding-inline-start: 4px;
}
.footer-bottom {
    max-width: 1520px;
    width: 94%;
    margin: 0 auto;
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.88rem;
    color: var(--color-text-light);
}

/* Responsive */
@media (max-width: 992px) {
    .hero-grid,
    .cultural-grid,
    .artwork-detail-grid,
    .cart-layout,
    .checkout-form-grid,
    .prize-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .hero-visual {
        order: -1;
    }
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
    .admin-layout {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 1080px) {
    .header-container {
        padding: 0.75rem 1.2rem;
        gap: 1.2rem;
    }
    .site-brand-logo {
        margin-inline-end: 0.8rem;
    }
    .brand-logo-img {
        height: 50px;
        max-width: 200px;
    }
    .nav-menu {
        gap: 1.3rem;
    }
    .nav-link {
        font-size: 0.9rem;
    }
}
@media (max-width: 860px) {
    .header-container {
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 1rem;
        padding: 0.75rem 1rem;
    }
    .site-brand-logo {
        margin-inline-end: 0;
    }
    .nav-actions {
        margin-inline-start: 0;
    }
    .nav-menu {
        order: 3;
        width: 100%;
        gap: 1.2rem;
        flex-wrap: wrap;
        justify-content: center;
        padding-top: 0.5rem;
        border-top: 1px solid var(--border-color);
    }
}
@media (max-width: 600px) {
    .header-container {
        flex-direction: column;
        gap: 1rem;
        padding: 0.75rem 1rem;
    }
    .brand-logo-img {
        height: 46px;
        max-width: 180px;
    }
    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.9rem;
    }
    .footer-container {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* ========================================================
   TYPOGRAPHIE ARABE & SUPPORT RTL
   ======================================================== */
body.rtl-layout {
    font-family: 'Cairo', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    direction: rtl;
    text-align: right;
}
body.rtl-layout h1, 
body.rtl-layout h2, 
body.rtl-layout h3, 
body.rtl-layout h4 {
    font-family: 'Cairo', var(--font-heading), sans-serif;
}
[dir="rtl"] .nav-actions {
    margin-left: 0;
    margin-right: auto;
}
[dir="rtl"] .logo {
    flex-direction: row;
}
[dir="rtl"] .notif-dropdown {
    right: auto;
    left: 0;
}

/* En langue arabe (RTL) : centrage parfait du contenu de la section Hero */
body.rtl-layout .hero-content p,
[dir="rtl"] .hero-content p {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
body.rtl-layout .prize-icon-bg,
[dir="rtl"] .prize-icon-bg {
    right: auto;
    left: -50px;
}

/* ========================================================
   BOUTON UTILISATEUR & COMPTE CLIENT
   ======================================================== */
.user-nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: var(--border-radius-sm);
    color: var(--color-text);
    transition: var(--transition-smooth);
    text-decoration: none;
    font-size: 0.88rem;
}
.user-nav-btn:hover {
    color: var(--color-gold-dark);
    background-color: var(--bg-secondary);
}
.user-nav-logged {
    border: 1px solid var(--border-color);
    background-color: var(--bg-secondary);
    color: var(--color-gold-dark);
    font-weight: 600;
}
.user-nav-name {
    font-size: 0.85rem;
    max-width: 95px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ========================================================
   SYSTÈME DE CLOCHE ET NOTIFICATIONS D'ŒUVRES
   ======================================================== */
.notif-wrapper {
    position: relative;
    display: inline-block;
}
.notif-bell-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    position: relative;
    padding: 6px;
    color: var(--color-text);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    border-radius: 50%;
}
.notif-bell-btn:hover {
    color: var(--color-gold-dark);
    background: rgba(197, 160, 89, 0.1);
}
.notif-badge,
.notif-dot {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 9px;
    height: 9px;
    background-color: var(--color-gold);
    background: linear-gradient(135deg, #DEBE68 0%, #C5A059 100%);
    border: 2px solid #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 0 1px rgba(197, 160, 89, 0.3), 0 2px 5px rgba(197, 160, 89, 0.45);
    pointer-events: none;
    animation: notifPulse 2.8s infinite;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

[dir="rtl"] .notif-dot,
.rtl-layout .notif-dot {
    right: auto;
    left: 5px;
}

@keyframes notifPulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(197, 160, 89, 0.6);
    }
    70% {
        transform: scale(1.15);
        box-shadow: 0 0 0 5px rgba(197, 160, 89, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(197, 160, 89, 0);
    }
}
.notif-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 320px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    display: none;
    z-index: 1000;
    overflow: hidden;
    animation: fadeInDown 0.2s ease-out;
}
.notif-dropdown.show {
    display: block;
}
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}
.notif-header {
    background: #FAF7EE;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color);
}
.notif-header h4 {
    margin: 0;
    font-size: 0.95rem;
    color: var(--color-text);
}
.notif-list {
    max-height: 280px;
    overflow-y: auto;
}
.notif-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    border-bottom: 1px solid #f0ece1;
    text-decoration: none;
    color: var(--color-text);
    transition: background 0.15s ease;
}
.notif-item:hover {
    background: #faf8f5;
}
.notif-thumb {
    width: 44px;
    height: 52px;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    flex-shrink: 0;
}
.notif-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.notif-thumb-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    color: var(--color-gold);
    font-weight: bold;
}
.notif-info {
    flex: 1;
    min-width: 0;
}
.notif-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 6px;
    margin-bottom: 3px;
}
.notif-item-title {
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.notif-new-tag {
    background: #fefcbf;
    color: #744210;
    font-size: 0.65rem;
    font-weight: bold;
    padding: 1px 6px;
    border-radius: 6px;
}
.notif-item-price {
    font-size: 0.8rem;
    color: var(--color-gold-dark);
    font-weight: bold;
}
.notif-empty {
    padding: 20px 16px;
    text-align: center;
    color: var(--color-text-light);
    font-size: 0.85rem;
    font-style: italic;
}
.notif-subscribe-box {
    padding: 12px 16px;
    background: #FAF7EE;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}
.notif-sub-hint {
    margin: 0 0 8px;
    font-size: 0.78rem;
    color: var(--color-text-light);
    line-height: 1.3;
}
.notif-sub-form {
    display: flex;
    gap: 6px;
}
.notif-sub-form input {
    flex: 1;
    padding: 6px 8px;
    font-size: 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
}
.notif-sub-form button {
    background: var(--color-gold);
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 6px 12px;
    font-size: 0.8rem;
    cursor: pointer;
    font-weight: 600;
}
.notif-sub-form button:hover {
    background: var(--color-gold-dark);
}
.notif-sub-msg {
    margin-top: 6px;
    font-size: 0.75rem;
    font-weight: 600;
}
.notif-footer {
    padding: 10px 16px;
    text-align: center;
    background: #fff;
}
.notif-footer a {
    font-size: 0.8rem;
    color: var(--color-gold-dark);
    font-weight: 600;
    text-decoration: none;
}
.notif-footer a:hover {
    text-decoration: underline;
}

/* ========================================================
   BADGE ACHETEUR VÉRIFIÉ (AVIS CLIENTS)
   ======================================================== */
.verified-buyer-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(56, 161, 105, 0.12);
    color: #276749;
    padding: 3px 9px;
    border-radius: 12px;
    font-size: 0.78rem;
    font-weight: 700;
    border: 1px solid rgba(56, 161, 105, 0.25);
}

/* ========================================================
   HERO SECTIONS : "من نحن", "الطلبات", "المعرض الفني", "تواصل معنا"
   ======================================================== */
.about-hero-section,
.custom-order-hero,
.gallery-hero,
.contact-hero {
    background-color: transparent;
    background: radial-gradient(ellipse 90% 70% at 50% 15%, rgba(222, 190, 104, 0.18) 0%, rgba(252, 250, 246, 0.65) 55%, rgba(252, 250, 246, 0.88) 100%);
    color: var(--color-text);
    position: relative;
    padding: 4.5rem 1.5rem 4rem;
    text-align: center;
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
}
.about-hero-pattern-overlay,
.gallery-hero-pattern-overlay,
.contact-hero-pattern-overlay {
    display: none;
}
.about-hero-container,
.custom-order-hero-container,
.gallery-hero-container,
.contact-hero-container {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}
.about-hero-badge,
.custom-order-hero-badge,
.gallery-hero-badge,
.contact-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    background: rgba(197, 160, 89, 0.12);
    border: 1px solid var(--border-gold-strong);
    border-radius: 30px;
    color: var(--color-gold-dark);
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    letter-spacing: 0.5px;
}
.about-hero-title,
.custom-order-hero-title,
.gallery-hero-title,
.contact-hero-title {
    font-family: var(--font-heading);
    font-size: 2.35rem;
    line-height: 1.35;
    color: var(--color-text);
    margin: 0 0 0.8rem;
}
.rtl-layout .about-hero-title,
.rtl-layout .custom-order-hero-title,
.rtl-layout .gallery-hero-title,
.rtl-layout .contact-hero-title {
    font-family: 'Cairo', var(--font-heading), sans-serif;
}
.about-hero-subtitle,
.custom-order-hero-subtitle,
.gallery-hero-subtitle,
.contact-hero-subtitle {
    font-size: 1.08rem;
    color: var(--color-text-light);
    line-height: 1.75;
    max-width: 760px;
    margin: 0 auto;
}

/* ========================================================
   PAGE "تواصل معنا" (CONTACT) STYLES
   ======================================================== */
.contact-page-section {
    padding: 4.5rem 1.5rem;
    background-color: var(--bg-secondary);
    position: relative;
}
.contact-layout-grid {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 3rem;
    align-items: start;
    max-width: 1100px;
    margin: 0 auto;
}
@media (max-width: 880px) {
    .contact-layout-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}
.contact-info-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.contact-info-card {
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 1.8rem;
    box-shadow: 0 6px 20px rgba(0,0,0,0.03);
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    transition: var(--transition-smooth);
}
.contact-info-card:hover {
    border-color: var(--border-gold-strong);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(197, 160, 89, 0.12);
}
.contact-info-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(197, 160, 89, 0.12);
    border: 1px solid var(--border-gold-subtle);
    color: var(--color-gold-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.contact-info-text h4 {
    font-size: 1.05rem;
    margin: 0 0 0.35rem;
    color: var(--color-text);
}
.contact-info-text p,
.contact-info-text a {
    font-size: 0.92rem;
    color: var(--color-text-light);
    line-height: 1.5;
    margin: 0;
}
.contact-info-text a:hover {
    color: var(--color-gold-dark);
    text-decoration: underline;
}
.contact-form-card {
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 3rem 2.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}
@media (max-width: 600px) {
    .contact-form-card {
        padding: 2rem 1.5rem;
    }
}

/* Section Histoire */
.about-story-section {
    padding: 4.5rem 1.5rem;
    background-color: var(--bg-secondary);
}
.about-content-card {
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 3.5rem 3rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}
.about-card-badge {
    display: inline-block;
    color: var(--color-gold-dark);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 0.6rem;
}
.about-text-body p {
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--color-text);
    margin-bottom: 1.4rem;
}
.about-honor-box {
    margin-top: 2.5rem;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    background: rgba(197, 160, 89, 0.08);
    border: 1px solid rgba(197, 160, 89, 0.3);
    border-radius: var(--border-radius-sm);
    padding: 1.8rem 2rem;
}
.honor-icon-wrapper {
    width: 52px;
    height: 52px;
    background: var(--color-gold-gradient);
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(197, 160, 89, 0.35);
}
.honor-content h4 {
    font-family: var(--font-heading);
    color: var(--color-gold-dark);
    font-size: 1.2rem;
    margin: 0 0 0.5rem;
}
.honor-content p {
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--color-text);
    margin: 0 0 0.6rem;
}
.honor-note {
    font-size: 0.8rem;
    color: var(--color-text-light);
    font-style: italic;
    display: block;
}

/* Section Tastir & Géométrie */
.about-tastir-section {
    padding: 4.5rem 1.5rem;
    background-color: rgba(247, 243, 235, 0.85);
}
.tastir-split-grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 3.5rem;
    align-items: center;
    margin-top: 2.5rem;
}
.tastir-lead-box p {
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--color-text);
    margin-bottom: 1.2rem;
}
.tastir-pillars-grid {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-top: 2rem;
}
.tastir-pillar-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background: #FFFFFF;
    padding: 1.2rem 1.4rem;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
.pillar-icon {
    color: var(--color-gold);
    font-size: 1.1rem;
    line-height: 1.5;
    flex-shrink: 0;
}
.tastir-pillar-item strong {
    display: block;
    font-size: 1rem;
    color: var(--color-text);
    margin-bottom: 0.3rem;
}
.tastir-pillar-item p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--color-text-light);
    margin: 0;
}
.tastir-card-frame {
    background: #FFFFFF;
    border: 2px solid var(--color-gold);
    border-radius: var(--border-radius-md);
    padding: 2.5rem 2rem;
    text-align: center;
    position: relative;
    box-shadow: 0 15px 35px rgba(197, 160, 89, 0.12);
}
.tastir-badge-corner {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--color-gold-gradient);
    color: #FFFFFF;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
}
body.rtl-layout .tastir-badge-corner {
    right: auto;
    left: 15px;
}
.tastir-mandala-svg {
    width: 170px;
    height: 170px;
    margin: 0 auto;
    display: block;
    animation: spinSlow 60s linear infinite;
}
@keyframes spinSlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Section Processus : Du Papier au Vectoriel */
.about-process-section {
    padding: 5rem 1.5rem;
    background-color: var(--bg-secondary);
}
.process-steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 1.5rem;
    margin-top: 3.5rem;
}
.process-step-card {
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 2.2rem 1.6rem;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}
.process-step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(197, 160, 89, 0.15);
    border-color: var(--color-gold);
}
.process-step-featured {
    border: 2px solid var(--color-gold);
    background: linear-gradient(180deg, #FFFFFF 0%, rgba(197, 160, 89, 0.05) 100%);
    box-shadow: 0 8px 25px rgba(197, 160, 89, 0.12);
}
.step-num-badge {
    position: absolute;
    top: 18px;
    right: 18px;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: rgba(197, 160, 89, 0.35);
}
body.rtl-layout .step-num-badge {
    right: auto;
    left: 18px;
}
.step-icon-box {
    width: 52px;
    height: 52px;
    background: rgba(197, 160, 89, 0.12);
    color: var(--color-gold-dark);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.4rem;
}
.process-step-featured .step-icon-box {
    background: var(--color-gold-gradient);
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(197, 160, 89, 0.35);
}
.process-step-card h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--color-text);
    margin: 0 0 0.8rem;
    line-height: 1.4;
}
.process-step-card p {
    font-size: 0.92rem;
    line-height: 1.7;
    color: var(--color-text-light);
    margin: 0 0 1.4rem;
    flex-grow: 1;
}
.step-tag {
    font-size: 0.76rem;
    font-weight: 700;
    color: var(--color-gold-dark);
    background: rgba(197, 160, 89, 0.1);
    padding: 4px 10px;
    border-radius: 20px;
    align-self: flex-start;
}
.step-tag.highlight-tag {
    background: var(--color-gold);
    color: #FFFFFF;
}

/* Section Avantages Vectoriels */
.about-vector-advantage-section {
    padding: 4rem 1.5rem 5rem;
    background-color: rgba(247, 243, 235, 0.85);
}
.vector-advantage-card {
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 3.5rem 3rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}
.advantage-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2.8rem;
}
.advantage-header h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--color-text);
    margin: 0 0 1rem;
}
.advantage-header p {
    font-size: 1.02rem;
    line-height: 1.75;
    color: var(--color-text-light);
    margin: 0;
}
.advantage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}
.adv-item {
    display: flex;
    gap: 1.1rem;
    align-items: flex-start;
    padding: 1.2rem;
    background: var(--bg-primary);
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--border-color);
}
.adv-check {
    width: 28px;
    height: 28px;
    background: rgba(72, 187, 120, 0.15);
    color: #38a169;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}
.adv-item strong {
    display: block;
    font-size: 1.02rem;
    color: var(--color-text);
    margin-bottom: 0.35rem;
}
.adv-item p {
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--color-text-light);
    margin: 0;
}
.advantage-cta-row {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

@media (max-width: 900px) {
    .tastir-split-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .about-content-card,
    .vector-advantage-card {
        padding: 2.2rem 1.6rem;
    }
    .about-hero-title {
        font-size: 1.85rem;
    }
}

/* Duo Options Layout (for 2 Masterpiece Craftsmanship Cards) */
.options.options-duo {
    height: 500px;
    gap: 20px;
    overflow: visible;
}

.options.options-duo .option {
    flex: 1 1 50%;
    min-width: 260px;
    margin: 0;
    border-radius: 28px;
    border: 2px solid rgba(197, 160, 89, 0.35);
    box-shadow: 0 12px 35px rgba(38, 31, 26, 0.12);
    transition: flex 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.options.options-duo .option.active {
    flex: 1.4 1 58%;
    border-color: var(--color-gold);
    box-shadow: 0 20px 50px rgba(38, 31, 26, 0.2), 0 0 30px rgba(222, 190, 104, 0.25);
    max-width: none;
}

.options.options-duo .option:not(.active) {
    flex: 0.9 1 42%;
    opacity: 0.88;
}

.options.options-duo .option:not(.active):hover {
    opacity: 1;
}

.options.options-duo .option .label .info > div {
    opacity: 1 !important;
    transform: none !important;
}

@media screen and (max-width: 768px) {
    .options.options-duo {
        flex-direction: column;
        height: auto;
        gap: 16px;
    }
    .options.options-duo .option {
        min-height: 340px;
        flex: 1 1 auto;
        width: 100%;
    }
    .options.options-duo .option.active {
        flex: 1 1 auto;
    }
}

/* Prize Media Duo: Photo Mohammed VI + Video Andalouse 9:16 (Parfaitement proportionnés sur PC et Mobile) */
.prize-media-duo {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    max-width: 580px;
    margin: 0 auto;
}

.prize-photo-frame {
    position: relative;
    flex: 2.584 1 0%;
    min-width: 0;
    aspect-ratio: 529 / 364;
    height: auto;
    border-radius: 18px;
    overflow: hidden;
    border: 3px solid rgba(197, 160, 89, 0.5);
    outline: 3px solid rgba(197, 160, 89, 0.16);
    outline-offset: 2px;
    box-shadow: 0 14px 36px rgba(38, 31, 26, 0.14), 0 0 25px rgba(222, 190, 104, 0.18);
    background: #FFFFFF;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.prize-photo-frame:hover {
    transform: translateY(-4px);
    border-color: var(--color-gold);
    box-shadow: 0 20px 45px rgba(38, 31, 26, 0.18), 0 0 35px rgba(222, 190, 104, 0.28);
}

.prize-photo-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    user-select: none;
    -webkit-user-drag: none;
}

.prize-photo-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(20, 15, 10, 0.92) 0%, rgba(20, 15, 10, 0.65) 60%, transparent 100%);
    padding: 16px 12px 10px;
    text-align: center;
    color: #FFFFFF;
}

.prize-photo-tag {
    display: inline-block;
    background: rgba(197, 160, 89, 0.95);
    color: #1a1612;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 14px;
    letter-spacing: 0.4px;
    margin-bottom: 2px;
    text-transform: uppercase;
}

.prize-photo-sub {
    font-size: 0.74rem;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.3;
}

/* Cadre Vidéo Verticale 9:16 (Hauteur 100% identique à la photo sur tout écran) */
.prize-video-frame {
    position: relative;
    flex: 1 1 0%;
    min-width: 0;
    aspect-ratio: 9 / 16;
    height: auto;
    border-radius: 18px;
    overflow: hidden;
    border: 3px solid rgba(197, 160, 89, 0.5);
    outline: 3px solid rgba(197, 160, 89, 0.16);
    outline-offset: 2px;
    box-shadow: 0 14px 36px rgba(38, 31, 26, 0.14), 0 0 25px rgba(222, 190, 104, 0.18);
    background: #110E0C;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.prize-video-frame:hover {
    transform: translateY(-4px);
    border-color: var(--color-gold);
    box-shadow: 0 20px 45px rgba(38, 31, 26, 0.18), 0 0 35px rgba(222, 190, 104, 0.28);
}

.prize-video-player {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 15px;
    background: #000;
}

/* Ajustements Responsive pour Mobile & Tablettes */
@media screen and (max-width: 768px) {
    .prize-content {
        padding: 2rem 1.25rem !important;
    }
    .prize-media-duo {
        gap: 8px;
        max-width: 480px;
    }
    .prize-photo-frame,
    .prize-video-frame {
        border-radius: 14px;
        border-width: 2px;
        outline-width: 2px;
        outline-offset: 1px;
    }
    .prize-photo-caption {
        padding: 10px 6px 6px;
    }
    .prize-photo-tag {
        font-size: 0.64rem;
        padding: 1px 6px;
    }
    .prize-photo-sub {
        font-size: 0.68rem;
        line-height: 1.2;
    }
}

@media screen and (max-width: 480px) {
    .prize-content {
        padding: 1.5rem 0.85rem !important;
    }
    .prize-media-duo {
        gap: 6px;
        max-width: 100%;
    }
    .prize-photo-frame,
    .prize-video-frame {
        border-radius: 11px;
    }
    .prize-photo-caption {
        padding: 6px 4px 4px;
    }
    .prize-photo-tag {
        font-size: 0.58rem;
        padding: 1px 5px;
        margin-bottom: 1px;
    }
    .prize-photo-sub {
        font-size: 0.62rem;
        line-height: 1.15;
    }
}