/**
 * Styles spécifiques pour la page Boutique
 */

.shop-page {
    padding-bottom: 6rem;
    background-color: var(--clr-bg-light, #FFFFFF);
    overflow: visible;
}

.shop-container {
    width: 100%;
    max-width: 100%;
    padding-left: var(--space-md);
    padding-right: var(--space-md);
    margin: 0 auto;
}

@media (min-width: 768px) {
    .shop-container {
        padding-left: var(--space-lg);
        padding-right: var(--space-lg);
    }
}

/* --- HERO --- */
.shop-hero {
    position: relative;
    width: 100%;
    padding: 8rem 0 6rem;
    background-color: #1a1a1a;
    color: white;
    text-align: left;
    overflow: hidden;
}

.shop-hero-content {
    max-width: 800px;
    position: relative;
    z-index: 2;
}

.shop-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--clr-primary, #D97706);
    letter-spacing: 0.2em;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.shop-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: white;
}

.shop-lead {
    font-size: 1.25rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

.shop-disclaimer {
    font-size: 0.9rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
    padding-left: 1rem;
    border-left: 2px solid var(--clr-primary);
}

/* --- SECTION PRINCIPALE --- */
.shop-main-section {
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 0;
}

/* --- ÉTAT TEMPORAIRE (PENDING) --- */
.shop-pending {
    width: 100%;
    display: flex;
    justify-content: center;
}

.shop-pending-card {
    background-color: #FFFFFF;
    border: 1px solid var(--clr-border, #E5E5E5);
    padding: 4rem 2rem;
    border-radius: 16px;
    text-align: center;
    max-width: 500px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.shop-pending-icon-wrapper {
    width: 80px;
    height: 80px;
    background-color: rgba(217, 119, 6, 0.1);
    color: var(--clr-primary, #D97706);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 2rem;
}

.shop-pending-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--clr-text-main, #1a1a1a);
    margin-bottom: 1rem;
}

.shop-pending-text {
    font-size: 1.1rem;
    color: var(--clr-text-secondary, #666666);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

/* Loader animation */
.shop-pending-loader {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.shop-pending-loader span {
    width: 10px;
    height: 10px;
    background-color: var(--clr-primary);
    border-radius: 50%;
    display: inline-block;
    animation: shop-loader 1.4s infinite ease-in-out both;
}

.shop-pending-loader span:nth-child(1) { animation-delay: -0.32s; }
.shop-pending-loader span:nth-child(2) { animation-delay: -0.16s; }

@keyframes shop-loader {
    0%, 80%, 100% { transform: scale(0); opacity: 0.3; }
    40% { transform: scale(1); opacity: 1; }
}

/* --- INTÉGRATION SPREADSHOP --- */
.shop-integration {
    width: 100%;
    min-height: 800px; /* Évite un saut de contenu pendant le chargement */
    overflow: visible;
}

#spreadshop {
    width: 100%;
    overflow: visible;
}

.shop-noscript {
    text-align: center;
    padding: 3rem 1rem;
    background: #f8f8f6;
    border-radius: 8px;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .shop-hero {
        padding: 4rem 0 3rem;
    }
    
    .shop-title {
        font-size: 2.5rem;
    }
    
    .shop-lead {
        font-size: 1.1rem;
    }
    
    .shop-main-section {
        padding: 4rem 0;
    }
    
    .shop-pending-card {
        padding: 3rem 1.5rem;
    }

    .shop-page {
        padding-bottom: 100px; /* Espace supplémentaire pour éviter les conflits avec la Tab Bar */
    }
    
    .shop-main-section {
        padding-top: 2rem;
    }
}
