:root {
    --primary: #25D366;
    --primary-glow: rgba(37, 211, 102, 0.4);
    --gold: #F5B700;
    --bg-dark: #070B12;
    --text-white: #FFFFFF;
    --text-muted: #94A3B8;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Poppins', -apple-system, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-white);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: 
        radial-gradient(circle at 15% 20%, rgba(37, 211, 102, 0.07) 0%, transparent 45%),
        radial-gradient(circle at 85% 80%, rgba(245, 183, 0, 0.05) 0%, transparent 45%);
}

.checkout-wrapper {
    width: 100%;
    max-width: 960px;
    height: 100vh;
    max-height: 860px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
}

/* HEADER */
.header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.header-tag {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--primary);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 100px;
    letter-spacing: 1px;
}

/* TITLE */
.page-title {
    font-size: clamp(20px, 2.8vw, 26px);
    font-weight: 800;
    letter-spacing: -0.5px;
    text-align: center;
    margin: 4px 0 10px 0;
}

/* PRODUCTS CONTAINER */
.products-container {
    display: flex;
    justify-content: center;
    gap: 32px;
    width: 100%;
    flex: 1;
    align-items: center;
    max-height: 680px;
}

/* PRODUCT ITEM (PAS DE CARD ENCADRANTE) */
.product-item {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 380px;
    position: relative;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-item:hover {
    transform: translateY(-8px);
}

/* COUVERTURE DU PRODUIT */
.cover-wrapper {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    transition: all 0.35s ease;
    background: #111827;
    aspect-ratio: 4 / 5;
    display: flex;
}

.cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-item:hover .cover-wrapper {
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.7);
    border-color: rgba(255, 255, 255, 0.3);
}

/* SPECIAL FOR PACK COMPLET (FEATURED) */
.product-item.featured .cover-wrapper {
    border: 2px solid var(--primary);
    box-shadow: 0 18px 45px rgba(37, 211, 102, 0.25);
}

.product-item.featured:hover .cover-wrapper {
    box-shadow: 0 26px 58px rgba(37, 211, 102, 0.38);
    border-color: #3ef282;
}

.vip-tag {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #FCD34D, #F59E0B);
    color: #0F172A;
    font-size: 11px;
    font-weight: 900;
    padding: 5px 14px;
    border-radius: 100px;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 14px rgba(245, 183, 0, 0.4);
    white-space: nowrap;
    z-index: 5;
}

/* BOUTON D'ACTION DIRECTEMENT SOUS LA COUVERTURE */
.buy-btn {
    width: 100%;
    margin-top: 14px;
    background: #1E293B;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #FFFFFF;
    padding: 14px 20px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: inherit;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.buy-btn span {
    font-weight: 600;
    color: #E2E8F0;
}

.buy-btn strong {
    font-weight: 800;
    font-size: 16px;
    color: #FFFFFF;
}

.product-item:hover .buy-btn {
    background: #2D3D54;
    border-color: rgba(255, 255, 255, 0.3);
}

/* PRIMARY BUTTON FOR PACK COMPLET */
.buy-btn.primary {
    background: linear-gradient(135deg, #2CDA6E 0%, #16A34A 100%);
    border: none;
    box-shadow: 0 8px 24px var(--primary-glow);
}

.buy-btn.primary span {
    color: #FFFFFF;
}

.buy-btn.primary strong {
    color: #FFFFFF;
}

.product-item.featured:hover .buy-btn.primary {
    background: linear-gradient(135deg, #32e276 0%, #18b652 100%);
    box-shadow: 0 10px 28px rgba(37, 211, 102, 0.5);
}

/* FOOTER */
.footer-trust {
    font-size: 12px;
    color: var(--text-muted);
    text-align: center;
    padding-top: 8px;
}

/* MOBILE RESPONSIVE (ZERO SCROLL MAINTENU) */
@media (max-width: 680px) {
    .checkout-wrapper {
        height: auto;
        min-height: 100vh;
        max-height: none;
        padding: 16px 14px;
    }
    .products-container {
        flex-direction: column;
        gap: 20px;
        max-height: none;
    }
    .product-item {
        max-width: 320px;
    }
    .buy-btn {
        margin-top: 10px;
        padding: 12px 16px;
        font-size: 14px;
    }
}
