/* ==========================================================================
   CHARTE GRAPHIQUE ROSALINDA SHOP (CORRIGÉ & SIGNÉ NKS)
   ========================================================================== */
:root {
    --bg-color: #0B0B0C;
    --card-bg: #16161a;
    --border-color: #26262b;
    --text-primary: #FFFFFF;
    --text-secondary: #A0A0A9;
    --rosalinda-pink: #FF6B8B;
    --rosalinda-pink-hover: #E05A7A;
    --font-ui: 'Plus Jakarta Sans', sans-serif;
}

html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-ui);
    padding: 10px;
}

/* --- HEADER & NAVIGATION --- */
.shop-header {
    display: flex;
    flex-direction: column;
    gap: 15px;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 15px;
    /* Suppression du position: sticky pour que la barre glisse naturellement au slide */
}

.logo-area {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-link-home {
    display: inline-block;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.logo-link-home:active {
    transform: scale(0.95); /* Léger effet d'enfoncement tactile au clic */
}

.logo-img {
    height: 75px;          
    width: auto;           
    object-fit: contain;   
    display: block;
    margin: 5px 0;         
}

.shop-nav {
    display: flex;
    align-items: center;
    justify-content: space-around;
    width: 100%;
    border-top: 1px solid var(--border-color);
    padding-top: 12px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 6px 12px;
    transition: color 0.2s;
}

.nav-link:hover, .nav-link:focus {
    color: var(--rosalinda-pink);
}

.btn-cart {
    background-color: rgba(255, 107, 139, 0.1);
    border: 1px solid var(--rosalinda-pink);
    color: var(--rosalinda-pink);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: white;
    color: var(--bg-color);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 10px;
    border: 2px solid var(--rosalinda-pink);
}

/* --- SECTIONS --- */
.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
}

.icon-pink { color: var(--rosalinda-pink); }

/* --- ACCUEIL (HERO BANNER) --- */
.hero-banner {
    text-align: center;
    padding: 50px 20px;
    background: linear-gradient(180deg, var(--card-bg) 0%, transparent 100%);
    border-radius: 12px;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.hero-banner h2 { font-size: 1.8rem; font-weight: 700; }
.hero-banner p { color: var(--text-secondary); font-size: 0.95rem; max-width: 600px; }
.btn-discover {
    background-color: transparent;
    border: 1px solid var(--rosalinda-pink);
    color: var(--rosalinda-pink);
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    margin-top: 10px;
    height: 44px;
    display: inline-flex;
    align-items: center;
}

/* --- GRILLE DE VENTE --- */
.shop-container {
    max-width: 1200px;
    margin: 0 auto 40px auto;
    padding-top: 20px;
}
.shop-products-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.shop-product-card { background-color: var(--card-bg); border: 1px solid var(--border-color); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; }
.shop-product-img { width: 100%; height: 260px; object-fit: cover; }
.shop-product-info { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex-grow: 1; }
.shop-p-name { font-size: 1.2rem; font-weight: 700; }
.shop-p-desc { color: var(--text-secondary); font-size: 0.9rem; flex-grow: 1; }
.shop-p-price { color: var(--rosalinda-pink); font-size: 1.4rem; font-weight: 700; margin: 10px 0; }
.btn-add-to-cart { background-color: var(--rosalinda-pink); color: white; border: none; padding: 14px; font-size: 1rem; font-weight: 600; border-radius: 10px; width: 100%; height: 48px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.btn-add-to-cart:disabled { background-color: var(--border-color); color: var(--text-secondary); }

/* --- SECTION CONTACT & FOOTER SIGNÉ --- */
.contact-section {
    max-width: 800px;
    margin: 40px auto;
    padding: 30px 15px;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    text-align: center;
}
.contact-intro {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 30px;
}
.contact-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.contact-card {
    background-color: #1e1e24;
    border: 1px solid var(--border-color);
    padding: 20px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.contact-icon-box {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 107, 139, 0.1);
    color: var(--rosalinda-pink);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}
.contact-card h3 { font-size: 1.1rem; font-weight: 600; }
.contact-card p { font-size: 0.85rem; color: var(--text-secondary); }
.contact-link {
    color: var(--rosalinda-pink);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    margin-top: 5px;
}
.contact-footer {
    margin-top: 30px;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    font-size: 1rem;
    color: var(--text-secondary);
}

/* Lien Powered by NKS premium */
.powered-by {
    display: inline-block;
    color: #3b82f6; /* Joli bleu tech pour rappeler la charte NKS */
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    margin-top: 5px;
    transition: opacity 0.2s;
}

.powered-by:hover {
    opacity: 0.8;
}

/* --- TUNNEL DE COMMANDE --- */
.modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.8); z-index: 1000; justify-content: center; align-items: flex-end; }
.modal-content { background-color: var(--card-bg); width: 100%; max-width: 500px; border-top-left-radius: 20px; border-top-right-radius: 20px; padding: 24px; max-height: 85vh; overflow-y: auto; display: flex; flex-direction: column; gap: 20px; }
.modal-header { display: flex; justify-content: space-between; align-items: center; }
.close-modal-btn { background: none; border: none; color: white; font-size: 2rem; }
.total-display { font-size: 1.4rem; font-weight: 700; text-align: right; color: var(--rosalinda-pink); border-top: 1px solid var(--border-color); padding-top: 15px; margin-top: 15px; }
.checkout-form { display: flex; flex-direction: column; gap: 15px; }
.input-group { display: flex; flex-direction: column; gap: 6px; }
.input-group label { font-size: 0.85rem; color: var(--text-secondary); }
input, textarea, select { background-color: #1e1e24; border: 1px solid var(--border-color); color: white; padding: 12px; border-radius: 8px; width: 100%; font-family: var(--font-ui); font-size: 0.95rem; height: 48px; outline: none; }
textarea { height: auto; }
.btn-checkout-submit { background-color: #27ae60; color: white; border: none; padding: 14px; border-radius: 10px; font-weight: 600; font-size: 1rem; width: 100%; height: 48px; margin-top: 10px; display: flex; align-items: center; justify-content: center; gap: 8px; }

/* ==========================================================================
   RESPONSIVE DESIGN (iPad et Grand Écran)
   ========================================================================== */
@media (min-width: 600px) {
    body { padding: 20px; }
    .shop-header { flex-direction: row; justify-content: space-between; align-items: center; }
    .logo-img { height: 100px; } 
    .shop-nav { width: auto; border-top: none; padding-top: 0; gap: 10px; }
    .shop-products-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: repeat(2, 1fr); }
    .modal { align-items: center; }
    .modal-content { border-radius: 16px; }
}

@media (min-width: 1024px) {
    .shop-products-grid { grid-template-columns: repeat(3, 1fr); }
}