/*
Theme Name: Noor Ummah Boutique Full v2
Theme URI: https://noorummah.com
Author: Camara + Assistant
Description: Thème boutique Noor Ummah avec sections personnalisables (Hero, Produits vedettes, Packs, Avis, FAQ, Newsletter, Footer & réseaux sociaux).
Version: 1.1
Text Domain: noor-ummah-boutique
*/

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background-color: #f8fafc;
    color: #111827;
}

a { color: #ea580c; text-decoration: none; }
a:hover { text-decoration: underline; }

.noor-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.noor-header {
    background-color: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 20;
}

.noor-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.noor-logo {
    font-weight: 700;
    font-size: 1.4rem;
    color: #ea580c;
}

.noor-nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
    font-size: 0.95rem;
}

.noor-nav a {
    color: #111827;
    font-weight: 500;
}
.noor-nav a:hover {
    color: #ea580c;
}

/* Hero */
.noor-hero {
    position: relative;
    color: #ffffff;
    padding: 4rem 0 4rem 0;
    overflow: hidden;
}

.noor-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(15,23,42,0.9), rgba(15,23,42,0.4));
}

.noor-hero-inner {
    position: relative;
    z-index: 1;
    text-align: left;
    max-width: 640px;
}

.noor-hero-title {
    font-size: 2.5rem;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.noor-hero-subtitle {
    font-size: 1.05rem;
    margin-bottom: 2rem;
    color: #e5e7eb;
}

.noor-hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.noor-btn-primary {
    background-color: #ea580c;
    color: #ffffff;
    padding: 0.85rem 1.8rem;
    border-radius: 999px;
    font-weight: 600;
    border: none;
    cursor: pointer;
}

.noor-btn-primary:hover {
    background-color: #c2410c;
}

.noor-btn-outline {
    background-color: transparent;
    color: #ea580c;
    padding: 0.8rem 1.8rem;
    border-radius: 999px;
    font-weight: 600;
    border: 1px solid #ea580c;
    cursor: pointer;
}

.noor-btn-outline:hover {
    background-color: rgba(234,88,12,0.1);
}

/* Sections */
.noor-section {
    padding: 3.5rem 0;
    background-color: #f8fafc;
}

.noor-section:nth-of-type(even) {
    background-color: #f3f4f6;
}

.noor-section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.noor-section-title {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.noor-section-title span {
    color: #ea580c;
}

.noor-section-subtitle {
    color: #4b5563;
    font-size: 0.98rem;
}

/* Products grid */
.noor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
    gap: 1.5rem;
}

.noor-card {
    background-color: #ffffff;
    border-radius: 0.75rem;
    box-shadow: 0 10px 25px rgba(15,23,42,0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.noor-card-image {
    background-size: cover;
    background-position: center;
    padding-top: 66%;
}

.noor-card-body {
    padding: 1rem 1.25rem 1.25rem;
}

.noor-card-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.noor-card-text {
    font-size: 0.9rem;
    color: #4b5563;
    margin-bottom: 0.75rem;
}

.noor-card-price {
    font-weight: 700;
    color: #ea580c;
}

.noor-card-price-old {
    font-size: 0.85rem;
    color: #9ca3af;
    text-decoration: line-through;
    margin-left: 0.4rem;
}

/* Testimonials */
.noor-testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(260px,1fr));
    gap: 1.5rem;
}

.noor-testimonial {
    background-color: #ffffff;
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 10px 25px rgba(15,23,42,0.08);
}

.noor-testimonial-name {
    font-weight: 600;
}

.noor-testimonial-role {
    font-size: 0.85rem;
    color: #6b7280;
    margin-bottom: 0.75rem;
}

.noor-testimonial-text {
    font-size: 0.9rem;
    color: #4b5563;
}

/* FAQ */
.noor-faq-item {
    border-radius: 0.75rem;
    background-color: #ffffff;
    padding: 1rem 1.25rem;
    margin-bottom: 0.75rem;
    box-shadow: 0 6px 16px rgba(15,23,42,0.04);
}

.noor-faq-question {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.noor-faq-answer {
    font-size: 0.9rem;
    color: #4b5563;
}

/* Newsletter */
.noor-newsletter {
    background-color: #111827;
    color: #ffffff;
    border-radius: 1rem;
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
}

.noor-newsletter-title {
    font-size: 1.5rem;
    margin: 0;
}

.noor-newsletter-text {
    font-size: 0.95rem;
    color: #e5e7eb;
}

.noor-newsletter-form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    width: 100%;
}

.noor-newsletter-input {
    flex: 1;
    min-width: 200px;
    padding: 0.75rem 1rem;
    border-radius: 999px;
    border: none;
}

/* Footer */
.noor-footer {
    background-color: #020617;
    color: #9ca3af;
    padding: 2.5rem 0 1.5rem;
    margin-top: 3rem;
}

.noor-footer-columns {
    display: grid;
    grid-template-columns: minmax(0,2fr) minmax(0,1.4fr);
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.noor-footer-title {
    color: #f9fafb;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.noor-footer-contact p {
    margin: 0.15rem 0;
}

.noor-footer-social {
    margin-top: 0.75rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    font-size: 0.9rem;
}

.noor-footer-social a {
    color: #e5e7eb;
}
.noor-footer-social a:hover {
    color: #f97316;
}

.noor-footer-bottom {
    text-align: center;
    font-size: 0.8rem;
    color: #6b7280;
}

@media (max-width: 768px) {
    .noor-header-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    .noor-nav ul {
        flex-wrap: wrap;
        gap: 0.75rem 1.25rem;
        font-size: 0.88rem;
    }
    .noor-hero {
        padding: 3rem 0;
    }
    .noor-hero-title {
        font-size: 2rem;
    }
    .noor-footer-columns {
        grid-template-columns: minmax(0,1fr);
    }
}


/* Footer social icons */
.noor-footer-social-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.35rem;
}

.noor-footer-social-icons .noor-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

.noor-footer-social-icons .noor-social-link svg {
    width: 20px;
    height: 20px;
    fill: #ffffff;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.noor-footer-social-icons .noor-social-link:hover svg {
    opacity: 0.8;
    transform: translateY(-1px);
}


/* Header actions (Mon compte / Panier) */
.noor-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.noor-header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.9rem;
}

.noor-header-account,
.noor-header-cart {
    color: #111827;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.noor-header-account:hover,
.noor-header-cart:hover {
    color: #f97316;
}

.noor-header-cart-icon {
    font-size: 1.1rem;
}

.noor-header-cart-count {
    min-width: 1.3rem;
    height: 1.3rem;
    border-radius: 999px;
    background-color: #f97316;
    color: #ffffff;
    font-size: 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}


/* ===== Navigation mobile Noor Ummah ===== */

.noor-menu-toggle {
    display: none;
}

.noor-menu-icon {
    display: none;
    cursor: pointer;
    margin-left: auto;
    padding: 0.3rem 0.6rem;
    border-radius: 999px;
    border: 1px solid #f97316;
    background-color: #ffffff;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
}

.noor-menu-icon span {
    display: block;
    width: 14px;
    height: 2px;
    border-radius: 999px;
    background-color: #111827;
}

/* Mobile & tablettes */
@media (max-width: 900px) {
    .noor-header-inner {
        flex-direction: row;
        align-items: center;
        gap: 0.5rem;
    }

    .noor-nav {
        width: 100%;
        margin-top: 0.4rem;
    }

    .noor-nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.4rem;
        font-size: 0.9rem;
    }

    .noor-header-actions {
        margin-left: auto;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    /* Icône burger visible en mobile */
    .noor-menu-icon {
        display: inline-flex;
    }

    /* Cacher la nav par défaut */
    .noor-nav {
        display: none;
    }

    /* Quand le menu est coché, afficher nav */
    .noor-menu-toggle:checked + .noor-menu-icon + .noor-nav {
        display: block;
    }
}

/* Sur écran large, on montre toujours la nav classique et on cache le burger */
@media (min-width: 901px) {
    .noor-nav {
        display: block;
    }
    .noor-menu-icon {
        display: none;
    }
}
