/* =========================
   RESET
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #0f0f0f;
    color: white;
}

/* =========================
   CONTAINER
========================= */

.container {
    width: 90%;
    max-width: 1300px;
    margin: auto;
}

/* =========================
   HEADER
========================= */

.main-header {
    background: #151515;
    border-bottom: 1px solid #222;
}

/* TOP BAR */

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo img {
    height: 60px;
}

/* ACTIONS (Compte / Favoris / Panier) */

.header-actions a {
    background: #e91683;
    color: white;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 25px;
    margin-left: 15px;
    font-weight: 600;
    transition: 0.3s ease;
}

.header-actions a:hover {
    background: #c8136d;
}

/* =========================
   MENU PRINCIPAL
========================= */

.main-nav {
    display: flex;
    justify-content: center;
    gap: 25px;
    padding: 15px 0;
}

.main-nav a {
    background: #e91683;
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s ease;
    white-space: nowrap;
}

.main-nav a:hover {
    background: #c8136d;
}

.main-nav a.active {
    background: #c8136d;
    box-shadow: 0 0 0 2px white inset;
}

/* =========================
   DROPDOWN
========================= */

.menu-item {
    position: relative;
}

.dropdown {
    position: absolute;
    top: 120%;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    color: black;
    padding: 25px;
    border-radius: 12px;
    display: none;
    min-width: 260px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
    border-top: 5px solid #e91683;
    z-index: 1000;
}

.dropdown a {
    display: block;
    padding: 10px 15px;
    margin: 6px 0;
    text-align: center;
    background: #f7f7f7;
    border-radius: 20px;
    color: black;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s ease;
}

.dropdown a:hover {
    background: #e91683;
    color: white;
}

.menu-item:hover .dropdown {
    display: block;
}

/* =========================
   HERO / DEV ZONE
========================= */

.dev-zone {
    padding: 120px 0;
    text-align: center;
}

.dev-zone h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.dev-zone p {
    font-size: 18px;
    opacity: 0.8;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1024px) {
    .main-nav {
        flex-wrap: wrap;
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .header-top {
        flex-direction: column;
        gap: 15px;
    }

    .main-nav {
        flex-direction: column;
        align-items: center;
    }

    .dropdown {
        position: relative;
        transform: none;
        left: 0;
        top: 10px;
    }
}

.trust-bar {
    background: #111;
    border-top: 1px solid #222;
    border-bottom: 1px solid #222;
}

.trust-content {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 12px 0;
    flex-wrap: wrap;
}

.trust-content a {
    color: #e91683;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.trust-content a:hover {
    color: white;
}

.main-footer {
    background: #111;
    margin-top: 80px;
}

.footer-newsletter {
    background: #151515;
    text-align: center;
    padding: 60px 0;
}

.footer-newsletter h3 {
    font-size: 28px;
    margin-bottom: 10px;
}

.footer-newsletter p {
    opacity: 0.8;
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
}

.newsletter-form input {
    padding: 10px 15px;
    border-radius: 25px;
    border: none;
    width: 250px;
}

.newsletter-form button {
    background: #e91683;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: 0.3s;
}

.newsletter-form button:hover {
    background: #c8136d;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    padding: 60px 0;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-column h4 {
    margin-bottom: 15px;
    color: #e91683;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 8px;
}

.footer-column a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
}

.footer-column a:hover {
    color: #e91683;
}

.footer-bottom {
    background: #0f0f0f;
    text-align: center;
    padding: 20px 0;
    font-size: 14px;
    opacity: 0.7;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.product-card {
    background: white;
    color: black;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    transition: 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-image {
    background: #eee;
    height: 180px;
    border-radius: 10px;
    margin-bottom: 15px;
}

.btn-product {
    display: inline-block;
    margin-top: 10px;
    background: #e91683;
    color: white;
    padding: 8px 18px;
    border-radius: 25px;
    text-decoration: none;
}

.btn-product:hover {
    background: #c8136d;
}

.category-hero {
    background: #151515;
  padding: 60px 0 40px 0;
    text-align: center;
    border-bottom: 1px solid #222;
}

.category-hero h1 {
    font-size: 42px;
    margin-bottom: 10px;
}

.category-hero p {
    opacity: 0.7;
}

.category-content {
    padding: 60px 0;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.product-card {
    background: #111;
    border: 1px solid #222;
    border-radius: 12px;
    padding: 20px;
    transition: 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: #e91683;
}

.product-image img {
    width: 100%;
    border-radius: 10px;
}

.home-videos {
    padding: 80px 0;
    background: #111;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.video-card iframe {
    width: 100%;
    height: 250px;
    border-radius: 12px;
}

.product-page {
    padding: 80px 0;
}

.product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.product-main-image img {
    width: 100%;
    border-radius: 15px;
}

.product-video iframe {
    width: 100%;
    height: 400px;
    border-radius: 15px;
}

.product-info h1 {
    font-size: 32px;
    margin-bottom: 20px;
}

.product-price {
    font-size: 28px;
    color: #e91683;
    margin-bottom: 20px;
}

.product-description {
    margin-bottom: 30px;
    line-height: 1.6;
    opacity: 0.9;
}

.product-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.qty-input {
    width: 60px;
    padding: 8px;
    border-radius: 8px;
    border: none;
}

@media (max-width: 900px) {
    .product-layout {
        grid-template-columns: 1fr;
    }

    .product-video iframe {
        height: 250px;
    }
}

.admin-page { padding: 60px 0; }
.admin-page h1 { margin-bottom: 20px; }

.admin-msg {
    background: #151515;
    border: 1px solid #222;
    padding: 12px 15px;
    border-radius: 12px;
    margin: 15px 0 25px 0;
}

.admin-form label {
    display: block;
    margin: 14px 0 8px 0;
    opacity: 0.9;
    font-weight: 600;
}

.admin-form input, .admin-form textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid #222;
    background: #111;
    color: #fff;
    outline: none;
}

.admin-form textarea { min-height: 120px; resize: vertical; }

.admin-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.admin-btn {
    margin-top: 18px;
    width: 100%;
    background: #e91683;
    color: white;
    border: none;
    padding: 14px 18px;
    border-radius: 25px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

.admin-btn:hover { background: #c8136d; }

.admin-note { margin-top: 12px; opacity: 0.7; }

@media (max-width: 900px){
    .admin-grid { grid-template-columns: 1fr; }
}

.product-page { padding: 80px 0; }

.product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.product-main-image {
    width: 100%;
    border-radius: 15px;
}

.product-video {
    width: 100%;
    height: 400px;
    border-radius: 15px;
}

.product-info h1 {
    font-size: 32px;
    margin-bottom: 15px;
}

.product-price {
    font-size: 28px;
    color: #e91683;
    margin-bottom: 20px;
}

.product-short { margin-bottom: 20px; }

.product-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.qty-input {
    width: 70px;
    padding: 8px;
    border-radius: 8px;
    border: none;
}

.product-description-full {
    margin-top: 60px;
    border-top: 1px solid #222;
    padding-top: 40px;
}

@media (max-width: 900px){
    .product-layout { grid-template-columns: 1fr; }
    .product-video { height: 250px; }
}

/* ===== PAGES INFORMATIVES ===== */

.page-container {
    padding-bottom: 60px;
}

.page-hero {
    background: linear-gradient(135deg, #111 0%, #333 100%);
    color: #fff;
    padding: 60px 0;
    text-align: center;
}

.page-hero h1 {
    font-size: 36px;
    margin-bottom: 15px;
}

.page-hero p {
    font-size: 18px;
    opacity: 0.9;
}

.page-content {
    margin-top: 50px;
}

.content-block {
    background: #ffffff;
    padding: 35px;
    margin-bottom: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    color: #111;              /* TEXTE NOIR */
}

.content-block h2 {
    margin-bottom: 20px;
    font-size: 22px;
}

.content-block ul {
    padding-left: 20px;
}

.content-block li {
    margin-bottom: 10px;
}

.content-block.highlight {
    background: #f5f5f5;
    border-left: 5px solid #e6007e;
    color: #111;
}

.content-block.warning {
    background: #fff3f3;
    border-left: 5px solid #cc0000;
    color: #111;
}

@media (max-width: 768px) {
    .page-hero h1 {
        font-size: 26px;
    }

    .content-block {
        padding: 20px;
    }
}

/* ============================= */
/*   PAGE LIVRAISON & INFOS     */
/* ============================= */

.page-container {
    padding-bottom: 60px;
}

.page-hero {
    background: linear-gradient(135deg, #111 0%, #333 100%);
    color: #fff;
    padding: 70px 0;
    text-align: center;
}

.page-hero h1 {
    font-size: 38px;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-hero p {
    font-size: 18px;
    opacity: 0.9;
}

.page-content {
    margin-top: 60px;
    margin-bottom: 60px;
}

.content-block {
    background: #ffffff;
    padding: 35px;
    margin-bottom: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: 0.3s ease;
}

.content-block:hover {
    transform: translateY(-3px);
}

.content-block h2 {
    margin-bottom: 20px;
    font-size: 22px;
}

.content-block ul {
    padding-left: 20px;
}

.content-block li {
    margin-bottom: 10px;
}

.content-block.highlight {
    border-left: 5px solid #000;
    background: #f9f9f9;
}

.content-block.warning {
    border-left: 5px solid #c00000;
    background: #fff5f5;
}

@media (max-width: 768px) {
    .page-hero h1 {
        font-size: 26px;
    }

    .content-block {
        padding: 20px;
    }
}

.page-content {
    color: #111;
}

/* POPUP BIENVENUE */

.popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.popup-box {
    background: #fff;
    padding: 35px;
    width: 90%;
    max-width: 480px;
    border-radius: 12px;
    text-align: center;
    position: relative;
    animation: popupFade 0.3s ease;
}

.popup-box h2 {
    color: #b30059;
    margin-bottom: 15px;
}

.popup-box p {
    margin-bottom: 25px;
    font-size: 15px;
}

.popup-close {
    position: absolute;
    top: 12px;
    right: 15px;
    background: #b30059;
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
    transition: 0.2s ease;
}

.popup-close:hover {
    background: #8e0046;
}

.popup-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.popup-btn {
    padding: 12px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.2s ease;
}

.popup-btn.primary {
    background: #b30059;
    color: #fff;
}

.popup-btn.primary:hover {
    background: #8e0046;
}

.popup-btn.secondary {
    background: #000;
    color: #fff;
}

.popup-btn.secondary:hover {
    background: #333;
}

@keyframes popupFade {
    from { transform: scale(0.95); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

