/* ===== AdealteBois — feuille de style globale ===== */

:root {
    --bark-900: #241408;
    --bark-800: #33200e;
    --bark-700: #4a3018;
    --bark-500: #7a5334;
    --cream-100: #fbf6ee;
    --cream-200: #f3e9d8;
    --ember-500: #c1541f;
    --ember-600: #a4441a;
    --ember-100: #f6e2d3;
    --moss-600: #55713f;
    --price-green: #1c7c4f;
    --text-main: #2a1c10;
    --text-soft: #6b5a48;
    --shadow-soft: 0 12px 30px rgba(36, 20, 8, 0.12);
    --radius: 14px;
    --header-h: 84px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Work Sans", "Segoe UI", sans-serif;
    color: var(--text-main);
    background: var(--cream-100);
    line-height: 1.6;
}

h1, h2, h3 {
    font-family: "Fraunces", "Georgia", serif;
    font-weight: 600;
    line-height: 1.15;
    margin: 0 0 0.5em;
    color: var(--bark-900);
}

p {
    margin: 0 0 1em;
    color: var(--text-soft);
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

.eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ember-600);
    margin-bottom: 0.6em;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn.is-loading {
    position: relative;
    color: transparent !important;
    pointer-events: none;
}

.btn.is-loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 16px;
    margin: -8px 0 0 -8px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: btn-spin 0.7s linear infinite;
}

.btn-outline.is-loading::after {
    border-color: rgba(74, 48, 24, 0.3);
    border-top-color: var(--bark-800);
}

@keyframes btn-spin {
    to {
        transform: rotate(360deg);
    }
}

.btn-primary {
    background: var(--ember-500);
    color: var(--cream-100);
    box-shadow: 0 10px 24px rgba(193, 84, 31, 0.35);
}

.btn-primary:hover {
    background: var(--ember-600);
}

.btn-ghost {
    background: transparent;
    border-color: rgba(251, 246, 238, 0.55);
    color: var(--cream-100);
}

.btn-ghost:hover {
    background: rgba(251, 246, 238, 0.12);
}

.btn-outline {
    background: transparent;
    border-color: var(--bark-700);
    color: var(--bark-700);
}

.btn-outline:hover {
    background: var(--bark-700);
    color: var(--cream-100);
}

/* ---------- Header ---------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    min-height: var(--header-h);
    display: flex;
    align-items: center;
    background: rgba(251, 246, 238, 0.9);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(36, 20, 8, 0.08);
    transition: box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled {
    box-shadow: var(--shadow-soft);
    background: rgba(251, 246, 238, 0.98);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-text {
    font-family: "Poppins", "Work Sans", sans-serif;
    font-weight: 700;
    font-size: 1.7rem;
    line-height: 1;
    letter-spacing: -0.01em;
    color: var(--bark-800);
    white-space: nowrap;
}

.logo-emoji {
    font-size: 0.95em;
    margin: 0 0.05em;
}

.site-header .container {
    max-width: 1560px;
}

.main-nav ul {
    display: flex;
    gap: clamp(14px, 1.7vw, 30px);
}

.main-nav a {
    white-space: nowrap;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--bark-800);
    position: relative;
    padding: 6px 0;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--ember-500);
    transition: width 0.2s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.header-actions .btn {
    padding: 10px 22px;
    font-size: 0.88rem;
}

.cart-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--bark-900);
    transition: background 0.2s ease;
}

.cart-link:hover {
    background: var(--cream-200);
}

.cart-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 999px;
    background: var(--ember-500);
    color: var(--cream-100);
    font-size: 0.68rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-badge[hidden] {
    display: none;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 34px;
    height: 26px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.nav-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--bark-900);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero ---------- */

.hero {
    position: relative;
    min-height: 620px;
    display: flex;
    align-items: center;
    color: var(--cream-100);
    background: linear-gradient(180deg, rgba(24, 14, 6, 0.72), rgba(24, 14, 6, 0.55)),
        url("img/img-cover.jpeg") center/cover no-repeat;
}

.hero .container {
    max-width: 680px;
}

.hero .eyebrow {
    color: var(--cream-200);
}

.hero h1 {
    color: var(--cream-100);
    font-size: clamp(2.4rem, 5vw, 3.4rem);
}

.hero p {
    color: var(--cream-200);
    font-size: 1.08rem;
    max-width: 520px;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 1.6em;
}

.hero-stats {
    display: flex;
    gap: 36px;
    margin-top: 3em;
    flex-wrap: wrap;
}

.hero-stats div {
    border-left: 2px solid rgba(251, 246, 238, 0.35);
    padding-left: 14px;
}

.hero-stats strong {
    display: block;
    font-family: "Fraunces", serif;
    font-size: 1.6rem;
}

.hero-stats span {
    font-size: 0.82rem;
    color: var(--cream-200);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* ---------- Section headings ---------- */

.section {
    padding: 88px 0;
}

.section-head {
    max-width: 620px;
    margin: 0 auto 48px;
    text-align: center;
}

.section-alt {
    background: var(--cream-200);
}

/* ---------- Category cards ---------- */

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.category-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    height: 340px;
    box-shadow: var(--shadow-soft);
    display: flex;
    align-items: flex-end;
    isolation: isolate;
}

.category-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    z-index: -2;
}

.category-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(36, 20, 8, 0) 35%, rgba(24, 14, 6, 0.88) 100%);
    z-index: -1;
}

.category-card:hover img {
    transform: scale(1.06);
}

.category-card-body {
    padding: 24px;
    color: var(--cream-100);
}

.category-card-body h3 {
    color: var(--cream-100);
    font-size: 1.25rem;
    margin-bottom: 0.3em;
}

.category-card-body span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--ember-100);
}

.category-card-body span svg {
    transition: transform 0.2s ease;
}

.category-card:hover .category-card-body span svg {
    transform: translateX(4px);
}

/* ---------- USP band ---------- */

.usp-band {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.usp-item {
    background: var(--cream-100);
    border-radius: var(--radius);
    padding: 28px 22px;
    text-align: center;
    box-shadow: var(--shadow-soft);
}

.usp-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ember-100);
    border-radius: 50%;
    color: var(--ember-600);
}

.usp-item h3 {
    font-size: 1.02rem;
    margin-bottom: 0.35em;
}

.usp-item p {
    font-size: 0.9rem;
    margin: 0;
}

/* ---------- Story / split section ---------- */

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

.split img {
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    width: 100%;
    height: 420px;
    object-fit: cover;
}

.split-content ul {
    margin-top: 1.4em;
    display: grid;
    gap: 14px;
}

.split-content li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--text-main);
}

.split-content li svg {
    flex-shrink: 0;
    color: var(--moss-600);
    margin-top: 3px;
}

.btn-spaced {
    margin-top: 1.6em;
}

/* ---------- CTA banner ---------- */

.cta-banner {
    background: var(--bark-900);
    color: var(--cream-100);
    border-radius: var(--radius);
    padding: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}

.cta-banner h2 {
    color: var(--cream-100);
    margin-bottom: 0.3em;
}

.cta-banner p {
    color: var(--cream-200);
    margin: 0;
}

/* ---------- Footer ---------- */

.site-footer {
    background: var(--bark-900);
    color: var(--cream-200);
    padding: 64px 0 28px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(251, 246, 238, 0.14);
}

.footer-grid .logo {
    margin-bottom: 14px;
}

.footer-grid .logo-text {
    color: var(--cream-100);
}

.footer-grid p {
    color: rgba(251, 246, 238, 0.6);
    font-size: 0.9rem;
}

.footer-col h4 {
    font-family: "Work Sans", sans-serif;
    text-transform: uppercase;
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    color: var(--ember-100);
    margin-bottom: 1em;
}

.footer-col ul {
    display: grid;
    gap: 10px;
}

.footer-col a {
    color: rgba(251, 246, 238, 0.75);
    font-size: 0.92rem;
}

.footer-col a:hover {
    color: var(--cream-100);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    font-size: 0.82rem;
    color: rgba(251, 246, 238, 0.5);
    flex-wrap: wrap;
    gap: 10px;
}

/* ---------- Page catégorie / produits ---------- */

.page-hero {
    padding: 56px 0 40px;
    border-bottom: 1px solid rgba(36, 20, 8, 0.08);
}

.breadcrumb {
    font-size: 0.85rem;
    color: var(--text-soft);
    margin-bottom: 1em;
}

.breadcrumb a {
    color: var(--text-soft);
}

.breadcrumb a:hover {
    color: var(--ember-600);
}

.page-hero h1 {
    font-size: clamp(2rem, 4vw, 2.6rem);
    margin-bottom: 0.3em;
}

.page-hero p {
    max-width: 620px;
    margin: 0;
}

.product-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 28px;
    color: var(--text-soft);
    font-size: 0.9rem;
}

.search-field {
    position: relative;
    width: 100%;
    max-width: 320px;
}

.search-field svg {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-soft);
    pointer-events: none;
}

.search-field input {
    width: 100%;
    padding: 11px 16px 11px 40px;
    border-radius: 999px;
    border: 1px solid rgba(36, 20, 8, 0.15);
    background: var(--cream-100);
    font-family: "Work Sans", sans-serif;
    font-size: 0.9rem;
    color: var(--text-main);
}

.search-field input:focus {
    outline: none;
    border-color: var(--ember-500);
    box-shadow: 0 0 0 3px var(--ember-100);
}

.product-controls {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px 32px;
    margin: -8px 0 28px;
}

.sort-field select {
    padding: 10px 40px 10px 16px;
    border-radius: 999px;
    border: 1px solid rgba(36, 20, 8, 0.15);
    background: var(--cream-100);
    font-family: "Work Sans", sans-serif;
    font-size: 0.9rem;
    color: var(--text-main);
    cursor: pointer;
}

.price-filter {
    flex: 1;
    min-width: 240px;
    max-width: 380px;
}

.price-filter[hidden] {
    display: none;
}

.price-filter h4 {
    margin: 0 0 12px;
    font-family: "Work Sans", sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--bark-900);
}

.range-dual {
    position: relative;
    height: 22px;
}

.range-dual::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 4px;
    margin-top: -2px;
    border-radius: 2px;
    background: rgba(36, 20, 8, 0.15);
}

.range-dual input[type="range"] {
    position: absolute;
    inset: 0;
    width: 100%;
    margin: 0;
    background: none;
    pointer-events: none;
    -webkit-appearance: none;
    appearance: none;
}

.range-dual input[type="range"]::-webkit-slider-runnable-track {
    background: none;
}

.range-dual input[type="range"]::-moz-range-track {
    background: none;
}

.range-dual input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    pointer-events: auto;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--ember-600);
    border: 2px solid #ffffff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    cursor: pointer;
}

.range-dual input[type="range"]::-moz-range-thumb {
    pointer-events: auto;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--ember-600);
    border: 2px solid #ffffff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    cursor: pointer;
}

.price-filter-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 12px;
    font-size: 0.9rem;
    color: var(--text-soft);
}

.filter-btn {
    font-family: "Work Sans", sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--cream-100);
    background: var(--bark-900);
    border: none;
    border-radius: 999px;
    padding: 8px 18px;
    cursor: pointer;
}

.filter-btn:hover {
    background: var(--ember-600);
}

.pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 36px;
}

.pagination[hidden] {
    display: none;
}

.pagination button {
    min-width: 42px;
    height: 42px;
    padding: 0 12px;
    border-radius: 10px;
    border: 1px solid rgba(36, 20, 8, 0.2);
    background: #ffffff;
    font-family: "Work Sans", sans-serif;
    font-size: 0.95rem;
    color: var(--bark-900);
    cursor: pointer;
}

.pagination button:hover:not(:disabled) {
    border-color: var(--ember-600);
    color: var(--ember-600);
}

.pagination button.active {
    background: var(--bark-900);
    border-color: var(--bark-900);
    color: var(--cream-100);
}

.pagination button:disabled {
    opacity: 0.4;
    cursor: default;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.product-card {
    background: #ffffff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
}

.product-card-img {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #ffffff;
}

.product-card-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.product-card-cat {
    font-size: 0.85rem;
    color: var(--text-soft);
}

.product-card:hover .product-card-img img {
    transform: scale(1.05);
}

.product-card-link {
    display: flex;
    flex-direction: column;
    flex: 1;
    color: inherit;
    text-decoration: none;
}

.product-card-body {
    padding: 18px 20px 8px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.product-card-body h3 {
    font-size: 1rem;
    line-height: 1.35;
    margin: 0;
    font-family: "Work Sans", sans-serif;
    font-weight: 600;
    color: var(--bark-900);
    transition: color 0.15s ease;
}

.product-card-link:hover .product-card-body h3 {
    color: var(--ember-600);
}

.product-card-footer {
    padding: 0 20px 22px;
}

.product-price {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.product-price strong {
    font-family: "Fraunces", serif;
    font-size: 1.15rem;
    color: var(--price-green);
}

.buy-btn {
    font-family: "Work Sans", sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--cream-100);
    background: var(--price-green);
    border: 1px solid var(--price-green);
    border-radius: 999px;
    padding: 8px 16px;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.buy-btn:hover {
    background: #145c3a;
    border-color: #145c3a;
}

.product-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-soft);
}

.loading-state {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.loading-state[hidden] {
    display: none;
}

.loading-state p {
    margin: 0;
    font-size: 0.9rem;
}

@media (max-width: 960px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .product-card-body {
        padding: 12px 12px 6px;
        gap: 6px;
    }

    .product-card-body h3 {
        font-size: 0.92rem;
    }

    .product-card-footer {
        padding: 0 12px 14px;
    }

    .product-price {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .buy-btn {
        width: 100%;
    }

    .product-toolbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .cart-item {
        grid-template-columns: 64px 1fr auto;
        grid-template-areas:
            "img body remove"
            "qty qty total";
        row-gap: 10px;
    }

    .cart-item img {
        grid-area: img;
        width: 64px;
        height: 64px;
    }

    .cart-item-body {
        grid-area: body;
    }

    .cart-item-remove {
        grid-area: remove;
    }

    .qty-stepper {
        grid-area: qty;
        justify-self: start;
    }

    .cart-item-total {
        grid-area: total;
    }

    .cart-summary {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
}

/* ---------- Fiche produit ---------- */

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

.product-page {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
    margin: 24px 0 48px;
}

.product-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}

.product-thumbs[hidden] {
    display: none;
}

.product-thumb {
    width: 76px;
    height: 76px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 10px;
    overflow: hidden;
    background: none;
    cursor: pointer;
    opacity: 0.7;
}

.product-thumb.active {
    border-color: var(--ember-600);
    opacity: 1;
}

.page-left .product-thumb img {
    width: 100%;
    height: 100%;
    border-radius: 0;
    box-shadow: none;
    object-fit: cover;
}

.page-left img {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    object-fit: cover;
}

.page-right .eyebrow {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--ember-600);
}

.page-right h1 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    margin: 0.3em 0 0.2em;
}

.product-page-price {
    font-family: "Fraunces", serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--price-green);
    margin: 0 0 1em;
}

.product-page-points {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5em;
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: var(--text-main);
}

.product-page-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.product-page-actions input[type="number"] {
    width: 72px;
    padding: 10px 12px;
    border: 1px solid var(--cream-300);
    border-radius: var(--radius);
    font-size: 1rem;
}

.description h3 {
    margin-bottom: 0.6em;
}

.description p {
    color: var(--text-main);
    line-height: 1.7;
    margin-bottom: 1em;
}

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

/* ---------- Panier ---------- */

.cart-page {
    max-width: 760px;
    margin: 0 auto;
}

.cart-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.cart-item {
    display: grid;
    grid-template-columns: 84px 1fr auto auto auto;
    align-items: center;
    gap: 18px;
    background: #ffffff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    padding: 14px 18px;
}

.cart-item img {
    width: 84px;
    height: 84px;
    object-fit: cover;
    border-radius: 10px;
}

.cart-item-body h3 {
    font-size: 0.98rem;
    margin-bottom: 0.25em;
}

.cart-item-price {
    font-size: 0.85rem;
    color: var(--text-soft);
}

.qty-stepper {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(36, 20, 8, 0.15);
    border-radius: 999px;
    padding: 4px 10px;
}

.qty-btn {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: none;
    background: var(--cream-200);
    color: var(--bark-900);
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
}

.qty-btn:hover {
    background: var(--ember-100);
}

.cart-item-total {
    font-family: "Fraunces", serif;
    font-weight: 600;
    color: var(--price-green);
    min-width: 90px;
    text-align: right;
}

.cart-item-remove {
    background: none;
    border: none;
    color: var(--text-soft);
    cursor: pointer;
    padding: 6px;
    border-radius: 8px;
    transition: background 0.2s ease, color 0.2s ease;
}

.cart-item-remove:hover {
    background: #fbe6e0;
    color: #9a2a0e;
}

.cart-summary {
    background: var(--bark-900);
    border-radius: var(--radius);
    padding: 28px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.cart-summary-total {
    color: var(--cream-100);
}

.cart-summary-total span {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--cream-200);
    margin-bottom: 0.3em;
}

.cart-summary-total strong {
    font-family: "Fraunces", serif;
    font-size: 1.8rem;
    color: #ffffff;
}

.cart-empty {
    text-align: center;
    padding: 60px 20px;
}

.cart-empty p {
    margin-bottom: 1.6em;
}

/* ---------- Avis clients ---------- */

.reviews-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 40px;
    align-items: start;
}

.review-summary {
    background: #ffffff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    padding: 28px 26px;
    text-align: center;
}

.review-summary-avg {
    font-family: "Fraunces", serif;
    font-size: 2.6rem;
    font-weight: 700;
    color: var(--bark-900);
    line-height: 1;
}

.review-summary-stars {
    font-size: 1.3rem;
    color: var(--ember-500);
    letter-spacing: 2px;
    margin: 10px 0 6px;
}

.review-summary-count {
    font-size: 0.85rem;
    color: var(--text-soft);
}

.review-form-card {
    border-top: 1px solid rgba(36, 20, 8, 0.08);
    margin-top: 24px;
    padding-top: 24px;
    text-align: left;
}

.review-form-card h3 {
    font-size: 1.02rem;
    margin-bottom: 0.9em;
}

.review-form-hint {
    font-size: 0.88rem;
    color: var(--text-soft);
    margin-bottom: 1.2em;
}

#starPicker {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
}

#starPicker button {
    background: none;
    border: none;
    font-size: 1.6rem;
    line-height: 1;
    color: var(--cream-200);
    cursor: pointer;
    padding: 0;
}

#starPicker button::before {
    content: "★";
}

#starPicker button.is-active {
    color: var(--ember-500);
}

.review-form-card textarea {
    width: 100%;
    min-height: 90px;
    padding: 11px 14px;
    border-radius: 10px;
    border: 1px solid rgba(36, 20, 8, 0.15);
    font-family: "Work Sans", sans-serif;
    font-size: 0.92rem;
    color: var(--text-main);
    resize: vertical;
    margin-bottom: 14px;
}

.review-form-card textarea:focus {
    outline: none;
    border-color: var(--ember-500);
    box-shadow: 0 0 0 3px var(--ember-100);
}

.review-form-card .btn {
    width: 100%;
    margin-bottom: 10px;
}

.review-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.review-card {
    background: #ffffff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    padding: 20px 24px;
}

.review-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.review-card-head strong {
    color: var(--bark-900);
}

.review-stars {
    color: var(--ember-500);
    letter-spacing: 1px;
}

.review-date {
    display: block;
    margin-top: 10px;
    font-size: 0.78rem;
    color: var(--text-soft);
}

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

/* ---------- Connexion / compte ---------- */

.auth-section {
    padding: 72px 0 100px;
}

.auth-card {
    max-width: 420px;
    margin: 0 auto;
    background: var(--cream-100);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    padding: 36px 32px;
}

.auth-card h1 {
    font-size: 1.6rem;
    text-align: center;
}

.auth-tabs {
    display: flex;
    gap: 6px;
    background: var(--cream-200);
    border-radius: 999px;
    padding: 4px;
    margin-bottom: 28px;
}

.auth-tab {
    flex: 1;
    border: none;
    background: transparent;
    padding: 10px 12px;
    border-radius: 999px;
    font-family: "Work Sans", sans-serif;
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--text-soft);
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.auth-tab.active {
    background: var(--bark-900);
    color: var(--cream-100);
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.auth-form[hidden] {
    display: none;
}

.auth-form label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--bark-800);
}

.auth-form input {
    padding: 11px 14px;
    border-radius: 10px;
    border: 1px solid rgba(36, 20, 8, 0.15);
    font-family: "Work Sans", sans-serif;
    font-size: 0.95rem;
    color: var(--text-main);
    background: #fff;
}

.auth-form input:focus {
    outline: none;
    border-color: var(--ember-500);
    box-shadow: 0 0 0 3px var(--ember-100);
}

.auth-form .btn {
    margin-top: 6px;
}

.auth-error {
    background: #fbe6e0;
    color: #9a2a0e;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 0.85rem;
    margin: 0;
}

.auth-loading {
    text-align: center;
    padding: 24px 0;
}

.auth-loading p {
    margin: 0;
    font-size: 0.9rem;
}

.spinner {
    display: inline-block;
    width: 28px;
    height: 28px;
    border: 3px solid var(--cream-200);
    border-top-color: var(--ember-500);
    border-radius: 50%;
    animation: btn-spin 0.7s linear infinite;
    margin-bottom: 14px;
}

.auth-account {
    text-align: center;
}

.auth-account p {
    margin-bottom: 1.6em;
}

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .usp-band {
        grid-template-columns: repeat(2, 1fr);
    }

    .split {
        grid-template-columns: 1fr;
    }

    .split img {
        height: 300px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1260px) {
    .main-nav {
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 0;
        background: var(--cream-100);
        border-bottom: 1px solid rgba(36, 20, 8, 0.08);
        transform: translateY(-12px);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.2s ease, transform 0.2s ease;
    }

    .main-nav.is-open {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    .main-nav ul {
        flex-direction: column;
        padding: 20px 24px 28px;
        gap: 18px;
    }

    .header-actions .btn-outline {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }
}

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

    .usp-band {
        grid-template-columns: 1fr;
    }

    .cta-banner {
        padding: 36px 24px;
        text-align: center;
        justify-content: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.checkout-form {
    margin-top: 28px;
    max-width: 760px;
}

.checkout-form[hidden] {
    display: none;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.auth-form textarea {
    padding: 11px 14px;
    border-radius: 10px;
    border: 1px solid rgba(36, 20, 8, 0.15);
    font-family: "Work Sans", sans-serif;
    font-size: 0.95rem;
    color: var(--text-main);
    background: #fff;
    resize: vertical;
}

.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}

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

/* ---------- Sélecteur de langue (traduction automatique) ---------- */

.lang-select {
    padding: 8px 10px;
    border-radius: 999px;
    border: 1px solid rgba(36, 20, 8, 0.2);
    background: var(--cream-100);
    font-family: "Work Sans", sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--bark-800);
    cursor: pointer;
}

/* Masque la barre et les infobulles Google, le site garde son propre style. */
body {
    top: 0 !important;
}

.skiptranslate iframe,
.goog-te-banner-frame,
#goog-gt-tt,
.goog-te-balloon-frame,
.goog-tooltip {
    display: none !important;
}

.goog-text-highlight {
    background: none !important;
    box-shadow: none !important;
}

@media (max-width: 1500px) {
    .header-actions .btn-outline {
        display: none;
    }
}

@media (max-width: 520px) {
    .site-header .container {
        gap: 10px;
    }

    .header-actions {
        gap: 10px;
    }

    .logo-text {
        font-size: 1.25rem;
    }

    .lang-select {
        padding: 6px 4px 6px 8px;
    }
}

@media (max-width: 360px) {
    .logo-text {
        font-size: 1.05rem;
    }

    .site-header .container {
        padding: 0 14px;
    }
}

.shipping-box {
    border: 1px solid rgba(36, 20, 8, 0.15);
    border-radius: var(--radius);
    background: #ffffff;
    padding: 18px 22px;
    margin: 0 0 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.shipping-box[hidden] {
    display: none;
}

.shipping-box legend {
    font-family: "Fraunces", serif;
    font-weight: 600;
    font-size: 1.05rem;
    padding: 0 8px;
    color: var(--bark-900);
}

.shipping-option {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid rgba(36, 20, 8, 0.12);
    cursor: pointer;
}

.shipping-option:has(input:checked) {
    border-color: var(--ember-500);
    background: var(--ember-100);
}

.shipping-option input {
    accent-color: var(--ember-600);
}

.shipping-label {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.shipping-label small {
    color: var(--text-soft);
    font-size: 0.82rem;
}

.shipping-price {
    font-family: "Fraunces", serif;
    font-weight: 600;
    color: var(--price-green);
}

.cart-summary-total small {
    display: block;
    margin-top: 4px;
    font-size: 0.78rem;
    color: var(--cream-200);
}

/* ---------- Livraison (accueil) ---------- */

.delivery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 32px;
}

.delivery-card {
    position: relative;
    background: #ffffff;
    border: 1px solid rgba(36, 20, 8, 0.1);
    border-radius: var(--radius);
    padding: 32px 30px;
    box-shadow: var(--shadow-soft);
}

.delivery-card-express {
    border-color: var(--ember-500);
}

.delivery-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 999px;
    background: var(--ember-500);
    color: var(--cream-100);
}

.delivery-badge-soft {
    background: var(--cream-200);
    color: var(--bark-700);
}

.delivery-card h3 {
    margin: 14px 0 6px;
}

.delivery-price {
    font-family: "Fraunces", serif;
    font-size: 2rem;
    font-weight: 600;
    color: var(--price-green);
    margin: 0 0 6px;
}

.delivery-time {
    font-size: 1.05rem;
    color: var(--bark-800);
    margin-bottom: 16px;
}

.delivery-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: var(--text-soft);
    font-size: 0.93rem;
}

.delivery-list li {
    position: relative;
    padding-left: 22px;
}

.delivery-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--price-green);
    font-weight: 700;
}

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

.shipping-eta {
    margin-top: 2px;
    color: var(--ember-600) !important;
    font-weight: 600;
}

.cart-summary-total .cart-delivery {
    margin-top: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #ffffff;
}
