/*
Theme Name: Nanou
Theme URI: https://darkops.eu/
Author: DarkOps
Author URI: https://darkops.eu/
Description: Theme WordPress base sur le design PrestaShop Nanou.
Version: 1.0.0
Text Domain: nanou
*/

:root {
    --wp--style--block-gap: 0;
}

body.admin-bar .nanou-header {
    top: 32px;
}

@media (max-width: 782px) {
    body.admin-bar .nanou-header {
        top: 46px;
    }
}

.site-main {
    min-height: 60vh;
}

.custom-logo-link,
.nanou-logo-wrapper > a,
.footer-brand {
    display: inline-flex;
    align-items: center;
}

.custom-logo-link img,
.nanou-logo-wrapper img {
    display: block;
    width: auto;
    max-width: 170px;
    max-height: 64px;
}

.nanou-real-logo {
    mix-blend-mode: multiply;
    opacity: 0.98;
}

.nanou-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: #fbf8f5;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid rgba(90, 72, 60, 0.08);
}

.nanou-header__inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    height: 80px;
    gap: 2rem;
}

.nanou-header__logo {
    min-width: 110px;
}

.nanou-header__nav {
    display: none;
}

@media (min-width: 992px) {
    .nanou-header__nav {
        display: flex;
        justify-content: center;
    }
}

.nanou-nav {
    display: flex;
    align-items: center;
    gap: 2.75rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nanou-nav__item {
    list-style: none;
}

.nanou-nav__link {
    font-family: "Outfit", sans-serif;
    font-size: 0.78rem;
    font-weight: 400;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #4a3b33;
    position: relative;
    text-decoration: none;
    padding: 0.35rem 0;
}

.nanou-nav__link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -0.45rem;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.28s ease;
}

.current-menu-item > .nanou-nav__link::after,
.nanou-nav__link:hover::after {
    transform: scaleX(1);
}

.nanou-header__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.9rem;
    min-width: 110px;
}

.nanou-header__icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    color: #47372f;
    text-decoration: none;
}

.nanou-header__icon-link svg {
    width: 18px;
    height: 18px;
    display: block;
}

.nanou-header__icon-link--cart {
    position: relative;
}

.nanou-cart-count {
    position: absolute;
    top: -6px;
    right: -8px;
    min-width: 15px;
    height: 15px;
    padding: 0 3px;
    border-radius: 999px;
    background: #c4b3a7;
    color: #fff;
    font-family: "Outfit", sans-serif;
    font-size: 0.58rem;
    line-height: 15px;
    text-align: center;
}

.nanou-page-header {
    padding: 8rem 0 3rem;
    background: linear-gradient(180deg, rgba(250, 247, 244, 0.98), rgba(250, 247, 244, 0.92));
    border-bottom: 1px solid var(--border);
}

.nanou-page-header__inner {
    max-width: 52rem;
}

.nanou-page-header__eyebrow {
    display: inline-block;
    margin-bottom: 1rem;
    font-family: "Outfit", sans-serif;
    font-size: 0.875rem;
    font-weight: 300;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted-foreground);
}

.nanou-page-header__text {
    margin-top: 1rem;
    max-width: 40rem;
    color: var(--muted-foreground);
}

.nanou-page-section {
    padding: 4rem 0 6rem;
}

.nanou-content-card {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 0;
}

.nanou-content-card .entry-content > * {
    margin-bottom: 1.5rem;
}

.nanou-content-card .entry-content h2,
.nanou-content-card .entry-content h3,
.nanou-content-card .entry-content h4 {
    margin-top: 2rem;
}

.nanou-content-card .entry-content ul,
.nanou-content-card .entry-content ol {
    margin: 1rem 0 1.5rem 1.25rem;
    list-style: initial;
}

.nanou-content-card .entry-content ol {
    list-style: decimal;
}

.nanou-content-card .entry-content img {
    border-radius: 0.25rem;
}

.nanou-posts-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 2rem;
}

@media (min-width: 768px) {
    .nanou-posts-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1100px) {
    .nanou-posts-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.nanou-post-card {
    display: flex;
    flex-direction: column;
    background: transparent;
}

.nanou-post-card__image {
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: var(--secondary);
}

.nanou-post-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.nanou-post-card:hover .nanou-post-card__image img {
    transform: scale(1.05);
}

.nanou-post-card__body {
    padding: 1.25rem 0 0;
}

.nanou-post-card__meta {
    margin-bottom: 0.5rem;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted-foreground);
}

.nanou-post-card__excerpt {
    margin-top: 0.75rem;
    color: var(--muted-foreground);
}

.nanou-editorial-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 2rem;
}

@media (min-width: 960px) {
    .nanou-editorial-grid {
        grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
        align-items: center;
    }
}

.nanou-editorial-card {
    background: var(--cream);
    padding: 2rem;
    border: 1px solid var(--border);
}

.nanou-editorial-card p {
    margin-top: 1rem;
    color: var(--muted-foreground);
}

.nanou-footer-note {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.nanou-newsletter-fallback {
    display: grid;
    gap: 0.75rem;
}

.nanou-newsletter-fallback input[type="email"] {
    width: 100%;
}

.footer-nanou--exact {
    background: #f8f1e8;
    padding: 5rem 0 2rem;
    color: #3a2f28;
}

.footer-features--presta {
    background: #fbf8f5;
    border-top: 1px solid rgba(90, 72, 60, 0.08);
    border-bottom: 1px solid rgba(90, 72, 60, 0.08);
    padding: 1.35rem 0 1.6rem;
}

.footer-features--presta .features-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2rem;
    align-items: start;
    text-align: center;
}

.footer-features--presta .feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.65rem;
}

.footer-features--presta .feature-icon {
    color: #bfaea2;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.footer-features--presta .feature-icon svg {
    width: 34px;
    height: 34px;
    display: block;
}

.footer-features--presta .feature-item h3 {
    margin: 0;
    font-family: "Outfit", sans-serif;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    line-height: 1.35;
    color: #3c3029;
}

.footer-features--presta .feature-item p {
    margin: 0;
    max-width: 260px;
    font-family: "Outfit", sans-serif;
    font-size: 0.76rem;
    font-weight: 300;
    line-height: 1.45;
    color: rgba(60, 48, 41, 0.88);
}

.footer-exact-container {
    max-width: 1120px;
}

.footer-main--exact {
    display: grid;
    grid-template-columns: 1.55fr 1fr 1fr 1.15fr;
    gap: 2.5rem;
    align-items: start;
}

.footer-brand--exact {
    padding-right: 2rem;
}

.footer-logo-text {
    font-family: "Great Vibes", "Cormorant Garamond", serif;
    font-size: 4.2rem;
    line-height: 0.95;
    color: #46352d;
    font-weight: 400;
}

.footer-slogan--exact {
    margin-top: 1.55rem;
    font-family: "Cormorant Garamond", serif;
    font-style: italic;
    font-size: 1.1rem;
    color: rgba(58, 47, 40, 0.78);
    letter-spacing: 0.01em;
}

.footer-column--exact h4,
.contact-header-row--exact .h4 {
    margin: 0 0 1.25rem;
    font-family: "Outfit", sans-serif;
    font-size: 0.84rem;
    font-weight: 600;
    color: #2f241d;
}

.footer-subtitle--exact {
    margin-top: 1.8rem !important;
}

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

.footer-links li {
    margin-bottom: 0.95rem;
}

.footer-links a {
    font-family: "Outfit", sans-serif;
    font-size: 0.82rem;
    font-weight: 300;
    line-height: 1.7;
    color: #3f332c;
    text-decoration: none;
}

.footer-links a:hover {
    color: #221914;
}

.footer-contact-container--exact {
    min-width: 0;
}

.contact-header-row--exact {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.8rem;
}

.footer-social--exact {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.social-link--exact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    color: #2d221c;
    text-decoration: none;
}

.social-link--exact svg {
    width: 18px;
    height: 18px;
    display: block;
}

.footer-address--exact {
    font-family: "Outfit", sans-serif;
    font-size: 0.82rem;
    font-weight: 300;
    line-height: 1.75;
    color: #3f332c;
}

.footer-address--exact strong {
    font-weight: 500;
    color: #2f241d;
}

.footer-bottom--exact {
    margin-top: 4.5rem;
    border-top: 1px solid rgba(90, 72, 60, 0.18);
    padding-top: 2.4rem;
    text-align: center;
}

.footer-copyright--exact {
    font-family: "Outfit", sans-serif;
    font-size: 0.78rem;
    font-weight: 300;
    color: rgba(63, 51, 44, 0.78);
}

@media (max-width: 1024px) {
    .footer-features--presta .features-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-main--exact {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }

    .footer-brand--exact {
        grid-column: 1 / -1;
        padding-right: 0;
    }
}

@media (max-width: 767px) {
    .custom-logo-link img,
    .nanou-logo-wrapper img {
        max-width: 130px;
        max-height: 50px;
    }

    .nanou-header__inner {
        grid-template-columns: auto 1fr auto;
        gap: 1rem;
    }

    .nanou-header__actions {
        display: none;
    }

    .footer-features--presta .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-nanou--exact {
        padding: 3.2rem 0 1.8rem;
    }

    .footer-main--exact {
        grid-template-columns: 1fr;
        gap: 2.2rem;
    }

    .footer-brand--exact {
        text-align: left;
    }

    .contact-header-row--exact {
        justify-content: flex-start;
    }

    .footer-bottom--exact {
        margin-top: 3rem;
        padding-top: 1.6rem;
    }
}

.nanou-shop-shell {
    padding: 8rem 0 5rem;
}

.nanou-shop-shell .woocommerce-breadcrumb,
.nanou-shop-shell .term-description,
.nanou-shop-shell .woocommerce-result-count,
.nanou-shop-shell .woocommerce-ordering {
    color: var(--muted-foreground);
}

.nanou-shop-shell .woocommerce-products-header {
    margin-bottom: 3rem;
}

.nanou-shop-shell .woocommerce-products-header__title,
.nanou-shop-shell .product_title {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.nanou-shop-shell ul.products {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 2rem;
    margin: 0;
    padding: 0;
}

@media (min-width: 768px) {
    .nanou-shop-shell ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1100px) {
    .nanou-shop-shell ul.products {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.nanou-shop-shell ul.products li.product,
.nanou-shop-shell ul.products[class*="columns-"] li.product {
    width: auto;
    float: none;
    margin: 0;
    list-style: none;
}

.nanou-shop-shell .woocommerce-loop-product__link {
    display: block;
}

.nanou-shop-shell ul.products li.product img {
    aspect-ratio: 3 / 4;
    object-fit: cover;
    margin-bottom: 1rem;
    background: var(--secondary);
}

.nanou-shop-shell ul.products li.product .woocommerce-loop-product__title {
    padding: 0;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--foreground);
}

.nanou-shop-shell ul.products li.product .price {
    color: var(--foreground);
    font-family: "Outfit", sans-serif;
    font-size: 1rem;
    font-weight: 500;
}

.nanou-shop-shell a.button,
.nanou-shop-shell button.button,
.nanou-shop-shell input.button,
.nanou-shop-shell #respond input#submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.4rem;
    border: 1px solid var(--foreground);
    background: var(--foreground);
    color: var(--background);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.8rem;
    border-radius: 0;
    transition: all 0.3s ease;
}

.nanou-shop-shell a.button:hover,
.nanou-shop-shell button.button:hover,
.nanou-shop-shell input.button:hover,
.nanou-shop-shell #respond input#submit:hover {
    background: transparent;
    color: var(--foreground);
}

.nanou-shop-shell div.product {
    display: grid;
    gap: 3rem;
}

@media (min-width: 960px) {
    .nanou-shop-shell div.product {
        grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
        align-items: start;
    }
}

.nanou-shop-shell div.product .woocommerce-product-gallery img {
    width: 100%;
    background: var(--secondary);
}

.nanou-shop-shell div.product p.price,
.nanou-shop-shell div.product span.price {
    color: var(--foreground);
    font-size: 1.35rem;
    font-weight: 500;
}

.nanou-shop-shell div.product .summary > * {
    margin-bottom: 1.25rem;
}

.nanou-shop-shell .quantity .qty {
    max-width: 90px;
}

.nanou-shop-shell .woocommerce-tabs ul.tabs {
    padding: 0;
    margin: 2rem 0 1.5rem;
    border-bottom: 1px solid var(--border);
}

.nanou-shop-shell .woocommerce-tabs ul.tabs li {
    display: inline-block;
    margin-right: 1rem;
}

.nanou-shop-shell .woocommerce-tabs ul.tabs li a {
    padding: 0.75rem 0;
    display: inline-block;
}

.nanou-shop-shell .related.products {
    margin-top: 4rem;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.screen-reader-text:focus {
    clip: auto;
    width: auto;
    height: auto;
    margin: 0;
    padding: 0.75rem 1rem;
    background: var(--foreground);
    color: var(--background);
    z-index: 100000;
}
