/**
 * Xadija Store - Interface Client Lumineuse & Professionnelle (style.css)
 */

.app-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 64px;
    background: transparent;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 24px;
    z-index: 1000;
}

.app-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--brand-dark);
    font-weight: 700;
    font-size: 1.15rem;
    border: solid 1px var(--brand-dark);
    padding: 5px 12px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    transition: all 0.25s ease;
}

.app-logo:hover {
    background: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.app-logo img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #f1f5f9;
    object-fit: cover;
    border: 1px solid var(--border-color);
}

.header-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

/* Bouton icône header dynamique */
.icon-btn {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-color);
    color: #d97706;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.icon-btn:hover {
    background: #ffffff;
    border-color: #d97706;
    transform: translateY(-3px) scale(1.08);
    box-shadow: 0 6px 16px rgba(217, 119, 6, 0.2);
}

/* Animation subtile de pulsation pour l'icône nouveauté */
@keyframes pulse-subtle {
    0% { transform: scale(1); }
    50% { transform: scale(1.12); }
    100% { transform: scale(1); }
}

.pulse-btn svg {
    animation: pulse-subtle 2.2s infinite ease-in-out;
}

.reels-container {
    height: 100vh;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.reels-container::-webkit-scrollbar {
    display: none;
}

.reel-card {
    position: relative;
    width: 100%;
    height: 100vh;
    scroll-snap-align: start;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
}

.reel-media {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* OVERLAY COMPACT AVEC DÉGRADÉ DE TRANSPARENCE FLUIDE */
.reel-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 35px 24px 24px 24px;
    background: linear-gradient(to top, var(--bg-app), transparent);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.reel-badge {
    align-self: flex-start;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #047857;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.reel-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--brand-dark);
    letter-spacing: -0.2px;
}

.reel-prices {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

/* PRIX TRÈS VISIBLE ET MIS EN VALEUR */
.reel-price {
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--brand-emerald); /* Bleu vif et percutant */
    letter-spacing: -0.5px;
}

.reel-wholesale {
    font-size: 0.8rem;
    color: var(--brand-dark);
}

.reel-description {
    font-size: 0.85rem;
    color: var(--brand-dark);
    line-height: 1.35;
    max-height: 42px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.reel-actions {
    display: flex;
    gap: 12px;
    margin-top: 4px;
}

/* BOUTONS VIVANTS ET ACTIFS AU HOVER */
.btn-whatsapp {
    flex: 2;
    background: #059669;
    color: #fff;
    text-decoration: none;
    text-align: center;
    padding: 11px 18px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 14px rgba(5, 150, 105, 0.3);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-whatsapp:hover {
    background: #047857;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 20px rgba(5, 150, 105, 0.45);
}

.btn-whatsapp:active {
    transform: translateY(-1px) scale(0.99);
}

.btn-details {
    flex: 1;
    background: #f1f5f9;
    border: 1px solid var(--border-color);
    color: var(--brand-dark);
    text-decoration: none;
    text-align: center;
    padding: 11px 15px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 6px rgba(0,0,0,0.02);
}

.btn-details:hover {
    background: #e2e8f0;
    border-color: #cbd5e1;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}

.btn-details:active {
    transform: translateY(-1px) scale(0.99);
}

.page-container {
    max-width: 600px;
    margin: 80px auto 30px auto;
    padding: 0 20px;
}
