/* Global Styles */
body {
    font-family: 'Montserrat', sans-serif;
    background-color: #f9f9f9;
    color: #333;
    margin: 0;
    padding: 0;
}

/* Header Styles */
#top-header {
    background-color: #04105e;
    color: #fff;
    padding: 10px 0;
}

.header-links a {
    color: #fff;
    margin-right: 15px;
}

.header-links a:hover {
    text-decoration: underline;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #ffd700;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.barre-bleue,
.barre-bleue2,
.barre-white {
    width: 100%;
    min-width: 0;
    margin: 0;
    left: 0;
    right: 0;
    position: relative;
    box-sizing: border-box;
}


.barre-bleue {
    background: #04105e;
    color: #fff;
    padding: 30px 0;
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 1px;
    /* Remove fixed height for better responsiveness */
}

.barre-bleue-text {
    display: inline-block;
}

.barre-bleue2 {
    height: 3px;
    background-color: #0475ff;
}

.barre-white {
    height: 80px;
    background-color: #fff;
}

@media (max-width: 600px) {
    .barre-bleue {
        font-size: 1.1rem;
        padding: 16px 0;
    }
    .barre-white {
        height: 40px;
    }
}

.header-logo img {
    height: 120px;
}


/* Shop Images Section */
.shop {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    overflow: hidden;
    margin-bottom: 30px;
    transition: transform 0.2s, box-shadow 0.2s;
    text-align: center;
    padding-bottom: 20px;
}
.shop:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}
.shop-img {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    overflow: hidden;
}
.shop-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s;
}
.shop:hover .shop-img img {
    transform: scale(1.07);
}
.shop-body h3 {
    margin-top: 20px;
    font-size: 1.3rem;
    color: #04105e;
    font-weight: 600;
}

/* Responsive for shop images */
@media (max-width: 768px) {
    .shop-img {
        height: 140px;
    }
    .shop-body h3 {
        font-size: 1.1rem;
    }
}
@media (max-width: 480px) {
    .shop-img {
        height: 100px;
    }
    .shop {
        padding-bottom: 10px;
    }
}



/* ACTIVATION KEYS Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #04105e;
    color: #fff;
    padding: 24px 32px;
    border-radius: 10px;
    margin: 40px auto 24px auto;
    max-width: 1200px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}
.header h1 {
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: 2px;
}
.cart-icon {
    font-size: 2rem;
    cursor: pointer;
    position: relative;
    transition: color 0.2s;
}
.cart-icon:hover {
    color: #ffd700;
}
.cart-count {
    position: absolute;
    top: -10px;
    right: -16px;
    background: #ffd700;
    color: #04105e;
    border-radius: 50%;
    padding: 2px 8px;
    font-size: 1rem;
    font-weight: bold;
    border: 2px solid #fff;
}

/* Shopping Cart Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0; top: 0;
    width: 100vw; height: 100vh;
    background: rgba(0,0,0,0.4);
    justify-content: center;
    align-items: center;
}
.modal-content {
    background: #fff;
    border-radius: 12px;
    padding: 32px 24px 24px 24px;
    min-width: 320px;
    max-width: 95vw;
    box-shadow: 0 4px 24px rgba(0,0,0,0.18);
    position: relative;
    text-align: center;
}
.close-modal {
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 2rem;
    color: #04105e;
    cursor: pointer;
    transition: color 0.2s;
}
.close-modal:hover {
    color: #d32f2f;
}
#cartItems div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 12px 0;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}
.remove-item {
    color: #d32f2f;
    font-size: 1.2rem;
    cursor: pointer;
    margin-left: 12px;
    transition: color 0.2s;
}
.remove-item:hover {
    color: #b71c1c;
}
.modal-content button {
    background: #04105e;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 10px 28px;
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 18px;
    cursor: pointer;
    transition: background 0.2s;
}
.modal-content button:hover {
    background: #2a357a;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .header {
        flex-direction: column;
        padding: 16px 8px;
        text-align: center;
    }
    .header h1 {
        font-size: 1.3rem;
    }
    .modal-content {
        padding: 18px 6px 16px 6px;
        min-width: 90vw;
    }
}

/* Product Card Styles */
.product-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    margin: 40px 0;
}

.product {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border: 1px solid #e0e0e0;
    width: 220px;
    padding: 20px 16px 24px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
}

.product:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 8px 24px rgba(0,0,0,0.13);
}

.product img {
    width: 100%;
    max-width: 140px;
    height: 140px;
    object-fit: contain;
    margin-bottom: 16px;
    border-radius: 8px;
    background: #f5f5f5;
}

.product h2 {
    font-size: 1.1rem;
    color: #04105e;
    margin: 10px 0 8px 0;
    font-weight: 600;
    text-align: center;
}

.stars {
    display: flex;
    justify-content: center;
    margin: 8px 0 14px 0;
}

.star {
    color: #ffd700;
    font-size: 20px;
    margin: 0 2px;
    transition: color 0.2s;
    cursor: pointer;
}
.star:hover,
.star:focus {
    color: #ffa500;
}

.add-to-cart {
    background: #04105e;
    color: #fff;
    border: none;
    padding: 10px 0;
    width: 100%;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: auto;
}
.add-to-cart:hover,
.add-to-cart:focus {
    background: #2a357a;
}

/* Responsive Product Grid */
@media (max-width: 900px) {
    .product-list {
        gap: 16px;
    }
    .product {
        width: 45%;
        min-width: 180px;
    }
}

.product-price {
    color: #d32f2f;
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 8px;
}

@media (max-width: 600px) {
    .product-list {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    .product {
        width: 90%;
        min-width: 160px;
        padding: 16px 8px 18px 8px;
    }
}

/* Media Queries for Responsiveness */
@media (max-width: 600px) {
    .product-list {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    .product {
        width: 90%;
        min-width: 200px;
    }
}

.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 9999;
    left: 0; top: 0;
    width: 100vw; height: 100vh;
    background: rgba(0,0,0,0.4);
    justify-content: center;
    align-items: center;
}
.modal-content {
    background: #fff;
    border-radius: 12px;
    padding: 32px 24px 24px 24px;
    min-width: 320px;
    max-width: 95vw;
    box-shadow: 0 4px 24px rgba(0,0,0,0.18);
    position: relative;
    text-align: center;
}


/* Footer Styles */
#footer {
    background: #04105e;
    color: #fff;
    padding: 40px 0 0 0;
    margin-top: 40px;
    font-family: 'Montserrat', sans-serif;
}

.footer {
    margin-bottom: 30px;
}

.footer-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 18px;
    color: #ffd700;
    letter-spacing: 1px;
}

.footer p,
.footer-links li a {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 8px;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links li a:hover {
    color: #ffd700;
    text-decoration: underline;
}

#bottom-footer {
    background: #02104a;
    padding: 18px 0;
    margin-top: 20px;
}

#bottom-footer .copyright {
    color: #fff;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

#bottom-footer a {
    color: #ffd700;
    text-decoration: none;
    transition: color 0.2s;
}

#bottom-footer a:hover {
    color: #fff;
    text-decoration: underline;
}

@media (max-width: 768px) {
    #footer, #bottom-footer {
        text-align: center;
    }
    .footer {
        margin-bottom: 20px;
    }
}

/* Make footer full width and background consistent */
#footer, #bottom-footer {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background: #04105e;
    color: #fff;
    padding: 40px 0 0 0;
    font-family: 'Montserrat', sans-serif;
}

#bottom-footer {
    background: #02104a;
    padding: 18px 0;
    margin-top: 20px;
}

@media (max-width: 768px) {
    #footer, #bottom-footer {
        text-align: center;
        padding-left: 0;
        padding-right: 0;
    }
}

/* WhatsApp Chat Icon */
#whatsapp-chat {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    box-shadow: 0 4px 16px rgba(0,0,0,0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: box-shadow 0.2s, transform 0.2s;
}
#whatsapp-chat:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.28);
    transform: scale(1.08);
}
#whatsapp-chat img {
    width: 34px;
    height: 34px;
    filter: invert(1);
}

/* Responsive for mobile */
@media (max-width: 600px) {
    #whatsapp-chat {
        width: 48px;
        height: 48px;
        bottom: 16px;
        right: 16px;
    }
    #whatsapp-chat img {
        width: 24px;
        height: 24px;
    }
}