/* ==========================================================================
   HERO SECTION - DÉTAIL BOUTIQUE
========================================================================== */
.shop-hero {
    background-color: var(--bleu-rac, #1a163a);
    position: relative;
    overflow: hidden;
}

.shop-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../../img/wrestlers_bg.png'); 
    background-repeat: no-repeat;
    background-position: right bottom;
    background-size: auto 40%;
    opacity: 0.15; 
    z-index: 1; 
}

.shop-hero--detail {
    padding: 60px 5%;
}

.shop-hero-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.shop-subtitle {
    font-family: 'Typo-Paris', sans-serif;
    color: var(--jaune-rac, #FFD54F);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 5px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 15px;
}

.shop-hero h1 {
    font-family: 'Typo-Paris', sans-serif;
    color: var(--blanc, #ffffff);
    font-size: 48px;
    line-height: 1.1;
    text-transform: uppercase;
    margin: 0;
}

/* ==========================================================================
   PRODUIT DÉTAIL
========================================================================== */
.product-detail-section {
    padding: 40px 5% 80px 5%;
    background-color: #f8f9fb;
}

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

.product-back {
    margin-bottom: 30px;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #8e8ea7;
    text-decoration: none;
    font-family: 'Typo-MulishBold', sans-serif;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.btn-back:hover {
    color: var(--bleu-rac, #1a163a);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 50px;
    background: #ffffff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 25px rgba(0,0,0,0.03);
    border: 1px solid #e0e4eb;
    box-sizing: border-box;
    width: 100%;
}

.product-image-wrapper {
    background-color: var(--bleu-rac, #1a163a);
        border-radius: 12px;
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
        align-self: start;
        aspect-ratio: 540 / 480;
        padding: 20px;
        box-sizing: border-box;
        width: 100%;
    }

.product-main-image {
    width: 100%;
    height: 100%;
    max-width: 100%; 
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    display: block;
}

.product-placeholder {
    font-size: 100px;
    color: rgba(255,255,255,0.1);
}

.product-info {
    display: flex;
    flex-direction: column;
}

.product-category {
    color: var(--jaune-rac, #FFD54F);
    font-family: 'Typo-MulishBold', sans-serif;
    font-size: 12px;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.product-title {
    font-family: 'Typo-Paris', sans-serif;
    color: var(--bleu-rac, #1a163a);
    font-size: 36px;
    line-height: 1.1;
    margin: 0 0 15px 0;
    text-transform: uppercase;
}

.product-price {
    font-family: 'Typo-Paris', sans-serif;
    color: var(--bleu-rac, #1a163a);
    font-size: 32px;
    margin: 0 0 30px 0;
}

.product-description {
    font-family: 'Typo-Mulish', sans-serif;
    color: #5a5a75;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 35px;
    padding-bottom: 35px;
    border-bottom: 1px solid #e0e4eb;
}

.product-sizes {
    margin-bottom: 35px;
}

.sizes-label {
    display: block;
    font-family: 'Typo-MulishBold', sans-serif;
    color: var(--bleu-rac, #1a163a);
    font-size: 14px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.sizes-container {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.size-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: var(--jaune-rac, #FFD54F);
    border: 2px solid var(--jaune-rac, #FFD54F);
    border-radius: 8px;
    font-family: 'Typo-MulishBold', sans-serif;
    font-size: 15px;
    color: var(--bleu-rac, #1a163a);
    cursor: default;
}

.size-badge--disabled {
    background-color: #f4f6f9;
    color: #a0aabf;
    border-color: #e0e4eb;
    text-decoration: line-through;
}

.size-option {
    cursor: pointer;
    position: relative;
}

.size-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.size-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: #ffffff;
    border: 2px solid #e0e4eb;
    border-radius: 8px;
    font-family: 'Typo-MulishBold', sans-serif;
    font-size: 15px;
    color: var(--bleu-rac, #1a163a);
    transition: all 0.2s ease;
}

.size-option:hover:not(.size-option--disabled) .size-box {
    border-color: var(--jaune-rac, #FFD54F);
}

.size-option input:checked + .size-box {
    background-color: var(--jaune-rac, #FFD54F);
    border-color: var(--jaune-rac, #FFD54F);
    color: var(--bleu-rac, #1a163a);
}

.size-option--disabled {
    cursor: not-allowed;
}

.size-option--disabled .size-box {
    background-color: #f4f6f9;
    color: #a0aabf;
    border-color: #e0e4eb;
    text-decoration: line-through;
}

.product-actions {
    margin-top: auto;
}

.club-info-banner {
    display: flex;
    gap: 15px;
    background-color: #FFF8E1;
    border: 1px solid #FFE48C;
    padding: 20px;
    border-radius: 12px;
}

.club-info-icon {
    color: var(--jaune-rac, #FFD54F);
    font-size: 24px;
}

.club-info-text strong {
    display: block;
    font-family: 'Typo-MulishBold', sans-serif;
    color: var(--bleu-rac, #1a163a);
    margin-bottom: 5px;
    font-size: 15px;
}

.club-info-text p {
    font-family: 'Typo-Mulish', sans-serif;
    color: #5a5a75;
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

/* Message rupture totale */
.product-out-of-stock {
    display: flex;
    align-items: center;
    gap: 15px;
    background-color: #fdf0ed;
    border: 1px solid #fadbd8;
    padding: 20px;
    border-radius: 12px;
    color: #e74c3c;
}

.product-out-of-stock i {
    font-size: 24px;
}

.product-out-of-stock p {
    margin: 0;
    font-family: 'Typo-MulishBold', sans-serif;
    font-size: 14px;
}

/* ==========================================================================
   MEDIA QUERIES GLOBALES (RESPONSIVE)
========================================================================== */

@media (max-width: 992px) {
    .product-grid {
        grid-template-columns: minmax(0, 1fr); 
        padding: 30px;
        gap: 30px;
    }
    
    .product-image-wrapper {
        min-height: 300px;
    }
}

@media (max-width: 768px) {
    .shop-hero--detail {
        padding: 40px 5%;
    }
    
    .shop-hero h1 {
        font-size: 36px;
    }
}

@media (max-width: 576px) {
    .shop-hero h1 {
        font-size: 28px;
    }

    .shop-subtitle {
        font-size: 12px;
        letter-spacing: 3px;
    }

    .shop-hero--detail h1 {
        font-size: 32px;
    }
    
    .product-grid {
        padding: 20px;
    }
    
    .product-title {
        font-size: 28px;
    }
}