/* =============================================
   🎨 RACINE BY GANDA - COMPOSANTS CSS
   Extrait du layout frontend pour optimisation
   ============================================= */

/* ===== HERO SECTION ===== */
.hero-racine {
    min-height: 80vh;
    background: linear-gradient(135deg, var(--racine-black) 0%, var(--racine-orange-dark) 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-racine::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.08;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
}

.hero-title {
    font-size: var(--font-size-5xl);
    font-weight: 700;
    margin-bottom: var(--space-md);
    line-height: 1.1;
}

.hero-subtitle {
    font-size: var(--font-size-xl);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-xl);
}

.btn-hero {
    display: inline-block;
    background: linear-gradient(135deg, var(--racine-orange) 0%, var(--racine-orange-dark) 100%);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-family: var(--font-accent);
    text-decoration: none;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-orange);
    font-size: var(--font-size-lg);
}

.btn-hero:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 20px rgba(237, 95, 30, 0.5), 0 0 30px rgba(255, 184, 0, 0.3);
    color: white;
}

/* ===== PRODUCT CARDS ===== */
.product-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    height: 100%;
}

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

.product-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/4;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

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

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(237, 95, 30, 0.95) 0%, rgba(255, 184, 0, 0.9) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-normal);
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.btn-quick-view {
    background: white;
    color: var(--racine-orange);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-family: var(--font-accent);
    cursor: pointer;
    text-decoration: none;
}

.product-info {
    padding: var(--space-lg);
}

.product-title {
    font-size: var(--font-size-lg);
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--racine-black);
}

.product-price {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--racine-orange);
    margin-bottom: var(--space-md);
}

.btn-add-cart {
    width: 100%;
    background: var(--racine-orange);
    color: white;
    border: none;
    padding: 0.75rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-family: var(--font-accent);
    cursor: pointer;
    transition: var(--transition-fast);
}

.btn-add-cart:hover {
    background: var(--racine-orange-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-orange);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero-title {
        font-size: var(--font-size-3xl);
    }
    
    .hero-subtitle {
        font-size: var(--font-size-base);
    }
}


/* ===== ALERT RACINE ===== */
.alert-racine {
    border-left: 4px solid #ED5F1E;
    background: #FFFFFF;
    border-radius: 8px;
    color: #160D0C;
}

.alert-racine-icon {
    color: #ED5F1E;
}

/* ===== SHOP PAGE ===== */
.cursor-pointer { cursor: pointer; }

.quick-add--disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.shop-intro-section {
    padding: 3rem 0;
    background: #FFFFFF;
}

.shop-footer-section {
    padding: 2rem 0;
    background: #FFFFFF;
}

.shop-intro-title {
    font-family: 'Aleppo', 'Aileron', serif;
    color: #160D0C;
}

.shop-intro-text {
    max-width: 800px;
    margin: 0 auto;
    color: #160D0C;
}

/* ===== PRODUCT PAGE ===== */
.product-stock-info {
    color: rgba(22, 13, 12, 0.5);
    font-size: 0.9rem;
}

.add-to-cart-form {
    flex: 1;
    display: flex;
}

.flex-1 { flex: 1; }

/* ===== AUTH REGISTER ===== */
.auth-action-btns {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.auth-btn-secondary {
    flex: 1;
    min-width: 140px;
    text-align: center;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
}

.auth-btn-secondary--warm {
    background: rgba(212, 165, 116, 0.1);
    border-color: rgba(212, 165, 116, 0.2);
}

.auth-feature-list {
    margin: 0;
    padding-left: 1.25rem;
}

.auth-link-hint {
    margin-top: 0.5rem;
}

/* ============================================================
   BATCH 2 — INLINE STYLE EXTRACTIONS (2026-05-23)
   marketplace, creators, events, atelier, home, atelier
   ============================================================ */

/* --- Marketplace --- */
.marketplace-badge-pill {
    background: linear-gradient(135deg, var(--racine-orange, #ED5F1E) 0%, var(--racine-yellow, #FFB800) 100%);
}
.marketplace-badge-label {
    font-size: 0.85rem;
    letter-spacing: 1px;
}
.marketplace-filters-section {
    background: rgba(22, 13, 12, 0.05);
}

/* --- Creators --- */
.btn-cta-gradient {
    background: linear-gradient(135deg, var(--racine-yellow, #FFB800) 0%, var(--racine-orange, #ED5F1E) 100%);
    color: white !important;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    border: none;
    transition: opacity 0.2s ease, transform 0.15s ease;
    cursor: pointer;
}
.btn-cta-gradient:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    color: white !important;
}
.btn-cta-count {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.85rem;
}
.btn-creator-dark {
    background: var(--racine-black, #160D0C);
    color: white !important;
    border-radius: 30px;
    padding: 0.4rem 1rem;
    border: none;
    transition: background 0.2s ease;
    cursor: pointer;
}
.btn-creator-dark:hover {
    background: #2d1c1a;
    color: white !important;
}
.creators-empty-state {
    grid-column: 1 / -1;
}
.creators-empty-text {
    color: rgba(22, 13, 12, 0.5);
    font-size: 1.1rem;
}

/* --- Events --- */
.events-featured-section {
    padding: 4rem 0;
    background: rgba(22, 13, 12, 0.05);
}
.btn-event--lg {
    width: fit-content;
    padding: 1rem 2rem;
}

/* --- Atelier --- */
.atelier-hero-video {
    width: 100%;
    height: 450px;
    object-fit: cover;
}
.atelier-videos-section {
    padding: 4rem 0;
    background: rgba(22, 13, 12, 0.03);
}
.atelier-videos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.atelier-video-item {
    width: 100%;
    border-radius: 16px;
    background: var(--racine-black, #160D0C);
    aspect-ratio: 16 / 9;
    object-fit: cover;
}
.atelier-video-item--center {
    grid-column: 2;
}
.atelier-testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

/* --- Home --- */
.category-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
}

/* --- Contact --- */
.contact-success-alert {
    background: rgba(34, 197, 94, 0.1);
    color: #22C55E;
    border-color: rgba(34, 197, 94, 0.3);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

/* --- CEO --- */
.section-title--white {
    color: white;
}

/* --- Creator Shop --- */
.font-cormorant {
    font-family: 'Cormorant Garamond', 'Aleppo', serif;
}

/* --- Albums --- */
.albums-section {
    padding: 4rem 0;
    background: rgba(22, 13, 12, 0.05);
}
.album-meta--flush {
    border: none !important;
    padding: 0 !important;
    margin-bottom: 1.5rem !important;
}
