/* Charte : primaire bleu, secondaire rouge */
:root {
    --primary: #1d4ed8;
    --primary-hover: #2563eb;
    --primary-dark: #1e3a8a;
    --primary-soft: rgba(29, 78, 216, 0.12);
    /* Rouge secondaire discret (accents légers, pas d’aplats vifs) */
    --secondary: #c45c67;
    --secondary-hover: #d67a84;
    --secondary-soft: rgba(196, 92, 103, 0.09);
    --secondary-faint: rgba(196, 92, 103, 0.22);
    --bg: #f1f5f9;
    --bg-card: #ffffff;
    --bg-elevated: #ffffff;
    --border: #e2e8f0;
    --text: #0f172a;
    --text-muted: #64748b;
    --danger: #b91c3c;
    --radius: 12px;
    --font: "DM Sans", system-ui, sans-serif;
    --font-display: "Outfit", var(--font);
    --shadow: 0 10px 40px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.12);
    --topbar-h: 38px;
    --header-h: 68px;
}

/* Header 2 lignes (logo + recherche) : hauteur pour le menu mobile fixe sous le bandeau */
@media (max-width: 899px) {
    :root {
        --header-h: 124px;
    }
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.5;
    color: var(--text);
    background: var(--bg);
}

a {
    color: var(--primary);
    text-decoration: none;
}

a:hover {
    color: var(--primary-hover);
}

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

/* ——— Top bar ——— */
.top-bar {
    position: sticky;
    top: 0;
    z-index: 111;
    background: var(--danger);
    /* background: #FF5722; */
    color: #fff;
    font-size: 0.8125rem;
    min-height: var(--topbar-h);
    display: flex;
    align-items: center;
}

.top-bar__inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.35rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.top-bar__tagline {
    margin: 0;
    opacity: 0.92;
}

.top-bar__end {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.65rem 1rem;
}

.top-bar__contacts {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.top-bar__contacts a {
    color: #fff;
    opacity: 0.95;
}

.top-bar__contacts a:hover {
    color: #fff;
    opacity: 1;
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-color: var(--secondary-faint);
}

.top-bar__social {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.top-bar__social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.9rem;
    height: 1.9rem;
    border-radius: 7px;
    color: #fff;
    opacity: 0.92;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.14);
    transition: opacity 0.2s, background 0.2s, border-color 0.2s, transform 0.15s;
}

.top-bar__social-link:hover {
    color: #fff;
    opacity: 1;
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.28);
    transform: translateY(-1px);
}

.top-bar__social-icon {
    display: block;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* ——— Header ——— */
.site-header {
    position: sticky;
    top: var(--topbar-h);
    z-index: 100;
    height: auto;
    min-height: var(--header-h);
    display: flex;
    align-items: center;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
}

@media (min-width: 900px) {
    .site-header {
        height: var(--header-h);
        min-height: var(--header-h);
    }
}

.site-header__inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.5rem 1.25rem;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
        "logo actions"
        "search search";
    align-items: center;
    gap: 0.7rem 1rem;
}

@media (min-width: 900px) {
    .site-header__inner {
        padding: 0 1.25rem;
        grid-template-columns: auto minmax(160px, 1fr) auto auto;
        grid-template-areas: "logo search nav actions";
        gap: 0.85rem 1.25rem;
    }
}

.site-header .logo {
    grid-area: logo;
    justify-self: start;
}

.site-header .header-search {
    grid-area: search;
    width: 100%;
    min-width: 0;
    position: relative;
}

.site-header .nav-actions {
    grid-area: actions;
    justify-self: end;
}

/* Recherche produits (header) */
.header-search__form {
    display: flex;
    align-items: stretch;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--bg);
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.header-search__form:focus-within {
    border-color: rgba(29, 78, 216, 0.45);
    box-shadow: 0 0 0 3px var(--primary-soft);
}

.header-search__input {
    flex: 1;
    min-width: 0;
    border: none;
    background: transparent;
    padding: 0.45rem 0.15rem 0.45rem 1rem;
    font-size: 0.875rem;
    font-family: inherit;
    color: var(--text);
}

.header-search__input::placeholder {
    color: var(--text-muted);
    opacity: 0.85;
}

.header-search__input:focus {
    outline: none;
}

.header-search__submit {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.65rem;
    border: none;
    background: var(--primary-soft);
    color: var(--primary-dark);
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.header-search__submit:hover {
    background: var(--primary);
    color: #fff;
}

.header-search__submit:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: -2px;
}

.header-search__suggest {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 0.35rem);
    z-index: 120;
    max-height: min(70vh, 380px);
    overflow-y: auto;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: var(--shadow-lg);
}

.header-search__suggest[hidden] {
    display: none !important;
}

.header-search__status {
    padding: 0.75rem 1rem;
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.header-search__option {
    display: block;
    padding: 0.65rem 1rem;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid var(--border);
    transition: background 0.12s ease;
}

.header-search__option:last-of-type {
    border-bottom: none;
}

.header-search__option:hover,
.header-search__option.is-active {
    background: var(--primary-soft);
}

.header-search__option-title {
    display: block;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--text);
    line-height: 1.35;
}

.header-search__option-meta {
    display: block;
    clear: both;
    width: 100%;
    margin-top: 0.2rem;
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 600;
}

.header-search__option-price {
    float: right;
    margin-left: 0.5rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.header-search__all {
    display: block;
    padding: 0.65rem 1rem;
    text-align: center;
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--primary);
    background: linear-gradient(180deg, rgba(241, 245, 249, 0.9) 0%, var(--bg-card) 100%);
    border-top: 1px solid var(--border);
}

.header-search__all:hover {
    text-decoration: underline;
}

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

.logo {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: -0.02em;
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    gap: 0.15rem;
}

.logo:hover {
    color: var(--primary);
}

.logo__dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--secondary-soft);
    box-shadow: inset 0 0 0 1px rgba(196, 92, 103, 0.45);
    margin-left: 2px;
    vertical-align: middle;
}

.nav-main {
    display: none;
    align-items: center;
    gap: 1.35rem;
}

.nav-main a {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
    position: relative;
}

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

.nav-main a:hover {
    color: var(--primary);
}

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

.nav-main a.is-active {
    color: var(--primary-dark);
}

/* Lien Nouveautés en badge (menu) */
.nav-main a.nav-link-badge {
    padding: 0.4rem 0.95rem;
    border-radius: 999px;
    background: var(--secondary-soft);
    color: #a34a54;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border: 1px solid var(--secondary-faint);
}

.nav-main a.nav-link-badge::after {
    display: none;
}

.nav-main a.nav-link-badge:hover {
    background: rgba(196, 92, 103, 0.16);
    color: #8b3d46;
}

.nav-main a.nav-link-badge.is-active {
    background: var(--primary-soft);
    color: var(--primary-dark);
    border-color: rgba(29, 78, 216, 0.3);
}

/* Sous-menu Catégories (desktop) */
.nav-main__dropdown {
    position: relative;
}

.nav-main__dropdown-summary {
    list-style: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    cursor: pointer;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
    position: relative;
    user-select: none;
}

.nav-main__dropdown-summary::-webkit-details-marker {
    display: none;
}

.nav-main__dropdown-summary::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.2s ease;
}

.nav-main__dropdown:hover .nav-main__dropdown-summary,
.nav-main__dropdown[open] .nav-main__dropdown-summary {
    color: var(--primary);
}

.nav-main__dropdown:hover .nav-main__dropdown-summary::after,
.nav-main__dropdown[open] .nav-main__dropdown-summary::after {
    width: 100%;
}

.nav-main__dropdown--active .nav-main__dropdown-summary {
    color: var(--primary-dark);
}

.nav-main__dropdown--active .nav-main__dropdown-summary::after {
    width: 100%;
}

.nav-main__dropdown-chevron {
    flex-shrink: 0;
    opacity: 0.75;
    transition: transform 0.2s ease;
}

.nav-main__dropdown[open] .nav-main__dropdown-chevron {
    transform: rotate(180deg);
}

.nav-main__dropdown-panel {
    position: absolute;
    left: 0;
    top: calc(100% + 0.65rem);
    min-width: min(260px, 85vw);
    max-height: min(70vh, 420px);
    overflow-y: auto;
    margin: 0;
    padding: 0.4rem 0;
    list-style: none;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    z-index: 110;
}

.nav-main__dropdown-panel li {
    margin: 0;
}

.nav-main__dropdown-panel a {
    display: block;
    padding: 0.55rem 1.1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text);
    text-decoration: none;
}

.nav-main__dropdown-panel a::after {
    display: none;
}

.nav-main__dropdown-panel a:hover {
    background: var(--primary-soft);
    color: var(--primary-dark);
}

.nav-main__dropdown-panel a.is-active {
    background: rgba(29, 78, 216, 0.12);
    color: var(--primary-dark);
}

.nav-main__dropdown-all {
    border-top: 1px solid var(--border);
    margin-top: 0.25rem;
    padding-top: 0.65rem !important;
    font-size: 0.8rem !important;
    color: var(--primary) !important;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.6rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    font-family: inherit;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.btn:active {
    transform: scale(0.98);
}

.btn--primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    box-shadow: 0 4px 16px rgba(29, 78, 216, 0.35);
}

.btn--primary:hover {
    color: #fff;
    box-shadow: 0 6px 24px rgba(29, 78, 216, 0.45);
    filter: brightness(1.05);
}

.btn--ghost {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--border);
}

.btn--ghost:hover {
    color: var(--primary);
    border-color: var(--primary);
}

.btn--sm {
    padding: 0.4rem 0.85rem;
    font-size: 0.8125rem;
}

.btn--block {
    width: 100%;
}

.cart-link {
    position: relative;
    color: var(--text);
    padding: 0.5rem 0.85rem;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--bg);
    font-weight: 600;
    font-size: 0.875rem;
}

.cart-link:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.cart-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 1.2rem;
    height: 1.2rem;
    padding: 0 4px;
    font-size: 0.65rem;
    font-weight: 700;
    line-height: 1.2rem;
    text-align: center;
    border-radius: 999px;
    background: var(--secondary-soft);
    color: var(--secondary);
    border: 1px solid var(--secondary-faint);
}

.nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--primary-dark);
    border-radius: 1px;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: calc(var(--topbar-h) + var(--header-h));
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    padding: 1.25rem;
    flex-direction: column;
    gap: 0;
    z-index: 99;
    box-shadow: var(--shadow-lg);
}

.mobile-nav.is-open {
    display: flex;
}

.mobile-nav a {
    color: var(--text);
    font-size: 1rem;
    font-weight: 600;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--border);
}

.mobile-nav a:hover {
    color: var(--primary);
}

.mobile-nav a.nav-link-badge--block {
    align-self: flex-start;
    margin: 0.15rem 0 0.35rem;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    background: var(--secondary-soft);
    color: #a34a54;
    border: 1px solid var(--secondary-faint);
    border-bottom: 1px solid var(--secondary-faint);
}

.mobile-nav a.nav-link-badge--block:hover {
    background: rgba(196, 92, 103, 0.16);
    color: #8b3d46;
}

.mobile-nav a.nav-link-badge--block.is-active {
    background: var(--primary-soft);
    color: var(--primary-dark);
    border-color: rgba(29, 78, 216, 0.3);
}

.mobile-nav__search {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    padding-bottom: 0.85rem;
    margin-bottom: 0.35rem;
    border-bottom: 1px solid var(--border);
}

.mobile-nav__search-input {
    flex: 1;
    min-width: 0;
    padding: 0.55rem 0.75rem;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    background: var(--bg);
}

.mobile-nav__search-btn {
    flex-shrink: 0;
    padding: 0.55rem 1rem;
    border-radius: 10px;
    border: none;
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    font-size: 0.875rem;
    cursor: pointer;
}

.mobile-nav__dropdown {
    border-bottom: 1px solid var(--border);
}

.mobile-nav__dropdown-summary {
    list-style: none;
    cursor: pointer;
    color: var(--text);
    font-size: 1rem;
    font-weight: 600;
    padding: 0.85rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.mobile-nav__dropdown-summary::-webkit-details-marker {
    display: none;
}

.mobile-nav__dropdown-summary::after {
    content: "";
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid var(--text-muted);
    transition: transform 0.2s ease;
}

.mobile-nav__dropdown[open] .mobile-nav__dropdown-summary::after {
    transform: rotate(180deg);
}

.mobile-nav__sub {
    display: flex;
    flex-direction: column;
    padding-bottom: 0.5rem;
}

.mobile-nav__sub-link {
    font-size: 0.92rem !important;
    font-weight: 600 !important;
    padding: 0.55rem 0 0.55rem 0.85rem !important;
    border-bottom: none !important;
    color: var(--text-muted) !important;
}

.mobile-nav__sub-link:hover {
    color: var(--primary) !important;
}

.mobile-nav__sub-link.is-active {
    color: var(--primary-dark) !important;
}

.mobile-nav__sub-link--all {
    margin-top: 0.25rem;
    padding-top: 0.65rem !important;
    border-top: 1px solid var(--border) !important;
    color: var(--primary) !important;
}

@media (min-width: 900px) {
    .nav-main {
        display: flex;
    }

    .site-header .nav-main {
        grid-area: nav;
    }

    .nav-toggle {
        display: none;
    }
}

/* ——— Page shell ——— */
main {
    flex: 1;
    /* padding-top: clamp(0.85rem, 2.2vw, 1.35rem); */
}

.page-shell {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2.25rem 1.25rem 3rem;
}

.page-shell--flush {
    padding-top: 1.15rem;
    padding-bottom: 0;
}

/* Pages catalogue, famille, fiche, panier : plus d’air */
.page-shell--inner {
    padding-top: clamp(2.35rem, 5vw, 3.5rem);
    padding-bottom: clamp(3rem, 6vw, 4.5rem);
    padding-left: clamp(1.5rem, 5vw, 2.75rem);
    padding-right: clamp(1.5rem, 5vw, 2.75rem);
}

.page-heading {
    font-family: var(--font-display);
    font-size: clamp(1.85rem, 3.2vw, 2.35rem);
    font-weight: 700;
    color: var(--text);
    margin: 0 0 0.75rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.page-lead {
    color: var(--text-muted);
    margin: 0 0 1.75rem;
    max-width: 42rem;
    line-height: 1.65;
    font-size: 1.05rem;
}

.catalogue-intro {
    margin-bottom: clamp(1.5rem, 3vw, 2rem);
}

/* Catalogue : colonne filtres 1/3 + grille 2/3 */
.catalogue-layout {
    display: grid;
    gap: clamp(1.5rem, 3vw, 2.25rem);
    align-items: start;
}

@media (min-width: 900px) {
    .catalogue-layout {
        grid-template-columns: minmax(240px, 1fr) minmax(0, 2fr);
    }
}

.catalogue-filters__card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: clamp(1.15rem, 2.5vw, 1.5rem);
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.05);
}

@media (min-width: 900px) {
    .catalogue-filters {
        position: sticky;
        top: calc(var(--topbar-h) + var(--header-h) + 1rem);
    }
}

.catalogue-filters__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1.15rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid var(--border);
}

.catalogue-filters__title {
    margin: 0;
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.02em;
}

.catalogue-filters__reset {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-muted);
    white-space: nowrap;
}

.catalogue-filters__reset:hover {
    color: var(--primary);
}

.catalogue-filters__form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.catalogue-filters__field {
    min-width: 0;
}

.catalogue-filters__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.catalogue-filters__actions {
    margin-top: 0.25rem;
    padding-top: 0.35rem;
}

.catalogue-main {
    min-width: 0;
}

.catalogue-results-meta {
    margin: 0 0 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-muted);
}

.search-bar--spaced {
    margin-bottom: 2.5rem;
    gap: 0.75rem;
}

.search-bar--spaced input[type="search"] {
    padding: 0.8rem 1.2rem;
    min-width: min(100%, 280px);
}

.grid-products--spacious {
    gap: clamp(1.35rem, 2.8vw, 2.25rem);
}

@media (min-width: 900px) {
    .grid-products--spacious {
        gap: 2rem;
    }
}

.page-shell--inner .product-card__body {
    padding: 1.15rem 1.2rem 1.35rem;
}

.page-shell--inner .product-card__title {
    font-size: 1rem;
    line-height: 1.45;
}

.section-title--inline {
    flex-direction: row;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    margin-bottom: 1.35rem;
}

.product-related {
    margin-top: clamp(2.5rem, 5vw, 3.75rem);
    padding-top: clamp(1.5rem, 3vw, 2.25rem);
    border-top: 1px solid var(--border);
}

.product-related__lead {
    margin: -0.35rem 0 1.25rem;
    max-width: 40rem;
    font-size: 0.88rem;
    line-height: 1.5;
    color: var(--text-muted);
}

@media (min-width: 900px) {
    .grid-products--similar {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.page-shell--inner .breadcrumb {
    margin-bottom: 1.75rem;
}

.page-shell--inner .product-detail {
    gap: clamp(1.75rem, 4vw, 3rem);
}

.page-shell--inner .empty-state {
    padding: 3.5rem 1.5rem;
}

/* Notifications fixes sous le header (succès panier, erreurs) */
.shop-toast {
    position: fixed;
    top: calc(var(--topbar-h) + var(--header-h));
    left: 0;
    right: 0;
    z-index: 200;
    display: flex;
    justify-content: center;
    padding: 0 0.75rem;
    pointer-events: none;
}

.shop-toast--dismissed {
    pointer-events: none;
}

.shop-toast__inner {
    pointer-events: auto;
    display: flex;
    align-items: center;
    gap: 0.75rem 1rem;
    flex-wrap: wrap;
    width: 100%;
    max-width: min(960px, 100%);
    margin: 0 auto;
    padding: 0.7rem 0.85rem 0.7rem 1rem;
    border-radius: 0 0 14px 14px;
    font-size: 0.92rem;
    line-height: 1.4;
    box-shadow:
        0 8px 32px rgba(5, 100, 70, 0.28),
        0 2px 8px rgba(15, 23, 42, 0.06);
    animation: shopToastEnter 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.shop-toast--dismissed .shop-toast__inner {
    animation: shopToastExit 0.32s ease forwards;
}

.shop-toast--success .shop-toast__inner {
    background: linear-gradient(135deg, #047857 0%, #059669 38%, #10b981 100%);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-top: none;
    box-shadow:
        0 10px 36px rgba(5, 120, 85, 0.35),
        0 2px 8px rgba(15, 23, 42, 0.08);
}

.shop-toast--error .shop-toast__inner {
    background: linear-gradient(135deg, #991b1b 0%, #dc2626 45%, #ef4444 100%);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-top: none;
    box-shadow:
        0 10px 36px rgba(185, 28, 28, 0.3),
        0 2px 8px rgba(15, 23, 42, 0.08);
}

.shop-toast__icon {
    flex-shrink: 0;
    display: flex;
    opacity: 0.95;
}

.shop-toast__message {
    margin: 0;
    flex: 1;
    min-width: 12rem;
    font-weight: 600;
}

.shop-toast__action {
    flex-shrink: 0;
    padding: 0.4rem 0.95rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #fff;
    background: rgba(255, 255, 255, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.45);
    text-decoration: none;
    transition: background 0.2s ease, transform 0.15s ease;
}

.shop-toast__action:hover {
    background: rgba(255, 255, 255, 0.32);
    color: #fff;
    transform: translateY(-1px);
}

.shop-toast__close {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    margin-left: auto;
    border: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease;
}

.shop-toast__close:hover {
    background: rgba(255, 255, 255, 0.28);
}

.shop-toast__close:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

@keyframes shopToastEnter {
    from {
        transform: translateY(-115%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes shopToastExit {
    to {
        transform: translateY(-115%);
        opacity: 0;
    }
}

/* Bouton WhatsApp flottant */
.whatsapp-float {
    position: fixed;
    z-index: 150;
    right: max(1rem, env(safe-area-inset-right, 0px));
    bottom: max(1.25rem, env(safe-area-inset-bottom, 0px));
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #25d366;
    color: #fff;
    box-shadow:
        0 4px 20px rgba(37, 211, 102, 0.45),
        0 2px 8px rgba(15, 23, 42, 0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.whatsapp-float:hover {
    color: #fff;
    filter: brightness(1.06);
    box-shadow:
        0 6px 28px rgba(37, 211, 102, 0.5),
        0 4px 12px rgba(15, 23, 42, 0.14);
    transform: scale(1.05);
}

.whatsapp-float:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 3px;
}

.whatsapp-float__icon {
    flex-shrink: 0;
}

@media (prefers-reduced-motion: reduce) {
    .whatsapp-float {
        transition: none;
    }

    .whatsapp-float:hover {
        transform: none;
    }
}

/* ——— Hero : grille 2/3 slider + 1/3 visuels (pleine largeur) ——— */
.hero-banner {
    width: 100%;
    max-width: none;
    background: var(--primary-dark);
}

.hero-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.65rem;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    padding-left: env(safe-area-inset-left, 0);
    padding-right: env(safe-area-inset-right, 0);
    box-sizing: border-box;
}

.hero-layout__main {
    min-height: min(56vh, 420px);
    max-height: 560px;
    min-width: 0;
}

.hero-layout__aside {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    min-width: 0;
    min-height: min(14rem, 40vh);
}

.hero-side-tile {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 0;
    background: linear-gradient(145deg, rgba(30, 58, 138, 0.35) 0%, var(--primary-dark) 100%);
    min-height: 9rem;
    flex: 1 1 0;
    text-decoration: none;
    color: inherit;
}

.hero-side-tile--empty {
    min-height: 7rem;
    background: linear-gradient(160deg, var(--primary-dark) 0%, rgba(30, 58, 138, 0.55) 100%);
}

.hero-side-tile__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-side-tile--has-image {
    background: var(--primary-dark);
}

@media (min-width: 900px) {
    .hero-layout {
        grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
        align-items: stretch;
        gap: 0.75rem;
        min-height: min(72vh, 520px);
        max-height: 560px;
    }

    .hero-layout__main {
        min-height: 0;
        max-height: none;
        height: 100%;
    }

    .hero-layout__aside {
        min-height: 0;
        height: 100%;
    }

    .hero-side-tile {
        min-height: 0;
    }

    .hero-side-tile--empty {
        min-height: 0;
    }
}

/* ——— Hero slider ——— */
.hero-slider {
    position: relative;
    height: 100%;
    min-height: inherit;
    overflow: hidden;
    background: var(--primary-dark);
    border-radius: 0;
}

.hero-slider__track {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: min(56vh, 420px);
}

@media (min-width: 900px) {
    .hero-slider__track {
        min-height: 0;
    }
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.7s ease, visibility 0.7s ease;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
}

.hero-slide.is-active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.hero-slide--blue:not(.hero-slide--has-image) {
    background: linear-gradient(125deg, var(--primary-dark) 0%, var(--primary) 45%, #3b82f6 100%);
}

/* Variante « chaude » : reste bleu dominant, touche rouge très légère */
.hero-slide--red:not(.hero-slide--has-image) {
    background: linear-gradient(
        125deg,
        var(--primary-dark) 0%,
        var(--primary) 42%,
        #4f6fa8 78%,
        rgba(196, 92, 103, 0.35) 100%
    );
}

.hero-slide--has-image {
    background-image: var(--hero-bg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

/* Diapositive active : léger panoramique du fond pour un rendu plus vivant */
.hero-slide--has-image.is-active {
    animation: heroBgPan 16s ease-in-out infinite alternate;
}

@keyframes heroBgPan {
    0% {
        background-position: 38% 50%;
    }

    100% {
        background-position: 62% 52%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-slide--has-image.is-active {
        animation: none;
    }
}

.hero-slide__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.75) 0%, rgba(15, 23, 42, 0.35) 55%, transparent 100%);
    z-index: 0;
}

.hero-slide--has-image.hero-slide--blue .hero-slide__overlay {
    background: linear-gradient(
        105deg,
        rgba(15, 23, 42, 0.88) 0%,
        rgba(30, 58, 138, 0.42) 42%,
        rgba(15, 23, 42, 0.22) 72%,
        transparent 100%
    );
}

.hero-slide--has-image.hero-slide--red .hero-slide__overlay {
    background: linear-gradient(
        105deg,
        rgba(15, 23, 42, 0.86) 0%,
        rgba(88, 28, 28, 0.32) 48%,
        rgba(30, 41, 59, 0.35) 78%,
        transparent 100%
    );
}

.hero-slide--red:not(.hero-slide--has-image) .hero-slide__overlay {
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.72) 0%, rgba(30, 58, 138, 0.28) 55%, transparent 100%);
}

.hero-slide__content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 2.5rem 1.25rem 3rem;
}

.hero-slide__inner {
    max-width: 36rem;
}

.hero-slide__title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4.5vw, 2.85rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    margin: 0 0 0.75rem;
    line-height: 1.12;
    color: #fff;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
}

.hero-slide__subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    margin: 0 0 1.5rem 5rem;
    line-height: 1.55;
    max-width: 32rem;
}

.hero-slide .btn--primary {
    background: #fff;
    color: var(--primary-dark);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.hero-slide--red:not(.hero-slide--has-image) .btn--primary {
    color: var(--primary-dark);
}

.hero-slide .btn--primary:hover {
    filter: none;
    background: #f8fafc;
    box-shadow: 0 10px 36px rgba(0, 0, 0, 0.25);
}

.hero-slider__controls {
    position: absolute;
    bottom: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    gap: 0.5rem;
}

.hero-slider__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    padding: 0;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

.hero-slider__dot.is-active {
    background: #fff;
    border-color: #fff;
    transform: scale(1.15);
}

.hero-slider__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    backdrop-filter: blur(8px);
    transition: background 0.2s;
}

.hero-slider__arrow:hover {
    background: rgba(255, 255, 255, 0.35);
}

.hero-slider__arrow--prev {
    left: 1rem;
}

.hero-slider__arrow--next {
    right: 1rem;
}

@media (max-width: 640px) {
    .hero-slider__arrow {
        display: none;
    }
}

/* ——— Sections accueil ——— */
.section-block {
    margin-bottom: 2.5rem;
}

.section-block--alt {
    background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
    margin-left: -1.25rem;
    margin-right: -1.25rem;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    padding-bottom: 2rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding-top: 30px;
}

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.35rem;
}

.section-intro {
    margin: -0.25rem 0 1.5rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    max-width: 44rem;
    line-height: 1.6;
}

.section-head + .section-intro {
    margin-top: -0.65rem;
}

.empty-state--compact {
    padding: 2rem 1rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    color: var(--text);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
}

.section-title__accent {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--primary);
}

.section-title__accent--secondary {
    color: #a85c65;
    font-weight: 700;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    background: var(--secondary-soft);
    color: #a34a54;
    border: 1px solid var(--secondary-faint);
    width: fit-content;
}

.section-badge--lg {
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 2.8vw, 1.75rem);
    font-weight: 700;
    text-transform: none;
    letter-spacing: -0.02em;
    padding: 0.5rem 1.2rem;
}

.page-heading--with-badge {
    margin-bottom: 0.65rem;
}

.site-footer .nav-link-badge--footer {
    display: inline-flex;
    padding: 0.22rem 0.6rem;
    border-radius: 999px;
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.site-footer .nav-link-badge--footer:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.link-all {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    white-space: nowrap;
}

.link-all:hover {
    color: var(--primary-hover);
}

/* Logistique & confiance (accueil) — hors .page-shell : gouttières + largeur max alignées */
.logistics-trust {
    box-sizing: border-box;
    width: 100%;
    padding: 2.25rem clamp(1.25rem, 5vw, 2.75rem) 3rem;
    margin: 0;
    background: linear-gradient(135deg, rgba(29, 78, 216, 0.06) 0%, rgba(196, 92, 103, 0.05) 100%);

}

.logistics-trust__inner {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: clamp(1.25rem, 3vw, 1.75rem) clamp(1.15rem, 3vw, 1.5rem) clamp(1.35rem, 3vw, 1.85rem);
    /* background: linear-gradient(135deg, rgba(29, 78, 216, 0.06) 0%, rgba(196, 92, 103, 0.05) 100%); */
    /* border: 1px solid var(--border); */
    /* border-radius: var(--radius); */
    /* box-shadow: var(--shadow); */
}

.logistics-trust__inner::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.logistics-trust .section-head {
    margin-bottom: 0.35rem;
}

.logistics-trust__intro {
    margin-top: 0.35rem;
    margin-bottom: 1.35rem;
}

.logistics-trust__grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .logistics-trust__grid {
        grid-template-columns: repeat(3, 1fr);
        align-items: stretch;
    }
}

.logistics-trust__card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: calc(var(--radius) - 2px);
    padding: 1.15rem 1.2rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    min-height: 100%;
}

.logistics-trust__card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 10px;
    background: var(--primary-soft);
    color: var(--primary);
    flex-shrink: 0;
}

.logistics-trust__card-title {
    margin: 0;
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.02em;
}

.logistics-trust__steps {
    list-style: none;
    margin: 0 0 0.5rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.logistics-trust__step {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    column-gap: 0.5rem;
    row-gap: 0.1rem;
    align-items: start;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.logistics-trust__step-dot {
    grid-row: 1 / -1;
    width: 7px;
    height: 7px;
    margin-top: 0.35rem;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-soft);
    flex-shrink: 0;
}

.logistics-trust__step-label {
    font-weight: 700;
    color: var(--text);
    font-size: 0.8rem;
}

.logistics-trust__step-text {
    grid-column: 2;
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.4;
}

@media (min-width: 768px) {
    .logistics-trust__steps {
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: stretch;
        gap: 0;
    }

    .logistics-trust__step {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.35rem;
        padding: 0 0.35rem;
    }

    .logistics-trust__step-dot {
        margin-top: 0;
    }

    .logistics-trust__step-text {
        grid-column: auto;
        max-width: 9rem;
    }
}

.logistics-trust__list {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--text-muted);
}

.logistics-trust__list li {
    margin-bottom: 0.55rem;
}

.logistics-trust__list li:last-child {
    margin-bottom: 0;
}

.logistics-trust__list strong {
    display: block;
    color: var(--text);
    font-weight: 700;
    font-size: 0.88rem;
    margin-bottom: 0.12rem;
}

.logistics-trust__list--check li {
    position: relative;
    padding-left: 1.35rem;
}

.logistics-trust__list--check li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.45rem;
    width: 6px;
    height: 10px;
    border: solid var(--primary);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    opacity: 0.85;
}

.logistics-trust__hint {
    margin: -0.15rem 0 0.35rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.logistics-trust__pills {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.logistics-trust__pill {
    display: inline-flex;
    align-items: center;
    padding: 0.38rem 0.75rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    border: 1px solid var(--border);
    background: #f8fafc;
    color: var(--text);
}

.logistics-trust__pill--wave {
    background: rgba(0, 163, 150, 0.12);
    border-color: rgba(0, 163, 150, 0.35);
    color: #0d6d64;
}

.logistics-trust__pill--orange {
    background: rgba(255, 121, 0, 0.12);
    border-color: rgba(255, 121, 0, 0.35);
    color: #b45309;
}

.logistics-trust__pill--free {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
    color: #1d4ed8;
}

.logistics-trust__pill--cash {
    background: var(--secondary-soft);
    border-color: var(--secondary-faint);
    color: #9a3d46;
}

.logistics-trust__pill--bank {
    background: rgba(15, 23, 42, 0.06);
    border-color: rgba(15, 23, 42, 0.12);
    color: var(--text);
}

.logistics-trust__badges {
    display: grid;
    gap: 0.75rem;
    margin-top: 1.35rem;
    padding-top: 1.35rem;
    border-top: 1px solid var(--border);
}

@media (min-width: 640px) {
    .logistics-trust__badges {
        grid-template-columns: repeat(3, 1fr);
    }
}

.logistics-trust__badge {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    padding: 0.85rem 1rem;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--border);
    border-radius: calc(var(--radius) - 4px);
}

.logistics-trust__badge-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 10px;
    background: linear-gradient(145deg, var(--primary-soft), rgba(196, 92, 103, 0.08));
    color: var(--primary-dark);
}

.logistics-trust__badge-body {
    min-width: 0;
}

.logistics-trust__badge-title {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.2rem;
    font-family: var(--font-display);
}

.logistics-trust__badge-text {
    margin: 0;
    font-size: 0.8rem;
    line-height: 1.5;
    color: var(--text-muted);
}

/* ——— Bandeau d’annonce pleine largeur (sous le hero) ——— */
.announcement-banner {
    width: 100%;
    max-width: none;
    margin: 0;
    background: #F44336;
}

.announcement-slider {
    position: relative;
    overflow: hidden;
}

.announcement-slider__track {
    position: relative;
    width: 100%;
    min-height: min(52vh, 380px);
    max-height: 520px;
}

@media (min-width: 768px) {
    .announcement-slider__track {
        min-height: clamp(280px, 42vh, 440px);
    }
}

.announcement-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.55s ease, visibility 0.55s ease;
    background: radial-gradient(ellipse 120% 80% at 20% 40%, rgba(45, 55, 72, 0.55) 0%, #0f1419 55%);
    background-size: cover;
    background-position: center;
}

.announcement-slide--has-bg {
    background-image: var(--announcement-bg);
    background-size: cover;
    background-position: center;
}

.announcement-slide.is-active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.announcement-slide__texture {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.45;
    background-image:
        repeating-linear-gradient(
            -12deg,
            transparent,
            transparent 2px,
            rgba(255, 255, 255, 0.02) 2px,
            rgba(255, 255, 255, 0.02) 3px
        ),
        radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.04) 0%, transparent 42%);
}

.announcement-slide--has-bg .announcement-slide__texture {
    background-color: rgba(15, 20, 25, 0.82);
    background-image:
        repeating-linear-gradient(
            -12deg,
            transparent,
            transparent 2px,
            rgba(255, 255, 255, 0.03) 2px,
            rgba(255, 255, 255, 0.03) 3px
        );
}

.announcement-slide__watermark {
    position: absolute;
    left: 50%;
    top: 42%;
    transform: translate(-50%, -50%) rotate(-8deg);
    z-index: 0;
    font-family: var(--font-display);
    font-size: clamp(3rem, 14vw, 7rem);
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: rgba(248, 250, 252, 0.06);
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
}

.announcement-slide__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    align-items: center;
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 1.75rem 1.25rem 2.75rem;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .announcement-slide__inner {
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.35fr);
        gap: 2rem;
        padding: 2rem 1.5rem 3rem;
    }
}

.announcement-slide__visual {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    min-height: 0;
}

.announcement-slide__figure {
    position: relative;
    max-width: min(100%, 320px);
}

@media (min-width: 768px) {
    .announcement-slide__figure {
        max-width: 380px;
    }
}

.announcement-slide__discount-badge {
    position: absolute;
    top: -0.35rem;
    left: -0.35rem;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 50%;
    background: linear-gradient(145deg, #ef4444 0%, #b91c1c 100%);
    color: #fff;
    text-align: center;
    line-height: 1.05;
    box-shadow:
        0 10px 28px rgba(185, 28, 28, 0.45),
        0 2px 8px rgba(15, 23, 42, 0.35);
    text-transform: uppercase;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 0.35rem;
}

.announcement-slide__discount-pct {
    display: block;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.announcement-slide__discount-label {
    display: block;
    margin-top: 0.12rem;
    opacity: 0.95;
}

.announcement-slide__product-img {
    width: 100%;
    height: auto;
    max-height: min(38vh, 300px);
    object-fit: contain;
    object-position: bottom center;
    filter: drop-shadow(0 18px 36px rgba(0, 0, 0, 0.45));
}

@media (min-width: 768px) {
    .announcement-slide__product-img {
        max-height: min(44vh, 340px);
    }
}

.announcement-slide__content {
    color: #f8fafc;
    text-align: center;
}

@media (min-width: 768px) {
    .announcement-slide__content {
        text-align: left;
    }
}

.announcement-slide__eyebrow {
    margin: 0 0 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(248, 250, 252, 0.65);
}

.announcement-slide__headline {
    margin: 0 0 1rem;
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 4vw, 2.15rem);
    font-weight: 800;
    line-height: 1.18;
    color: #fff;
    text-wrap: balance;
}

.announcement-slide__prices {
    margin: 0 0 1.25rem;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: center;
    gap: 0.65rem 1rem;
}

@media (min-width: 768px) {
    .announcement-slide__prices {
        justify-content: flex-start;
    }
}

.announcement-slide__price-now {
    font-size: clamp(1.35rem, 3.5vw, 1.85rem);
    font-weight: 800;
    color: #fff;
}

.announcement-slide__currency {
    font-size: 0.65em;
    font-weight: 700;
    color: rgba(248, 250, 252, 0.75);
    margin-left: 0.15em;
}

.announcement-slide__price-was {
    font-size: 1rem;
    font-weight: 600;
    color: rgba(148, 163, 184, 0.95);
    text-decoration: line-through;
    text-decoration-thickness: 2px;
}

.announcement-slide__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    justify-content: center;
}

@media (min-width: 768px) {
    .announcement-slide__actions {
        justify-content: flex-start;
    }
}

.announcement-slide__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-radius: 6px;
    padding: 0.65rem 1.1rem;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.15s ease, filter 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.announcement-slide__btn--primary {
    background: linear-gradient(145deg, #ea580c 0%, #c2410c 100%);
    color: #fff;
    box-shadow: 0 6px 22px rgba(234, 88, 12, 0.35);
}

.announcement-slide__btn--primary:hover {
    color: #fff;
    filter: brightness(1.06);
    transform: translateY(-1px);
}

.announcement-slide__cart-ic {
    flex-shrink: 0;
}

.announcement-slide__btn--ghost {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(248, 250, 252, 0.55);
    box-shadow: none;
}

.announcement-slide__btn--ghost:hover {
    color: #fff;
    background: rgba(248, 250, 252, 0.08);
    border-color: #fff;
}

.announcement-slider__controls {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0.85rem;
    z-index: 4;
    display: flex;
    justify-content: center;
    gap: 0.45rem;
    pointer-events: none;
}

.announcement-slider__controls .announcement-slider__dot {
    pointer-events: auto;
}

.announcement-slider__dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(248, 250, 252, 0.28);
    cursor: pointer;
    transition: transform 0.15s ease, background 0.15s ease;
}

.announcement-slider__dot.is-active {
    background: #fff;
    transform: scale(1.15);
}

.announcement-slider__dot:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    .announcement-slide {
        transition: none;
    }

    .announcement-slide__btn {
        transition: none;
    }
}

/* Carrousel catégories (accueil) */
.categories-slider {
    position: relative;
    display: flex;
    align-items: stretch;
    gap: 0.35rem;
    margin: 0 -0.35rem;
}

.categories-slider__viewport {
    flex: 1;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    scrollbar-color: var(--primary) transparent;
    padding: 4px 2px 14px;
    outline: none;
}

.categories-slider__viewport:focus-visible {
    box-shadow: 0 0 0 2px var(--bg-card), 0 0 0 4px var(--primary);
    border-radius: var(--radius);
}

.categories-slider__viewport::-webkit-scrollbar {
    height: 6px;
}

.categories-slider__viewport::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 999px;
}

.categories-slider__track {
    display: flex;
    gap: 1rem;
    width: max-content;
    min-width: 100%;
}

.categories-slider__slide {
    flex: 0 0 min(238px, calc(100vw - 5.5rem));
    scroll-snap-align: start;
    scroll-margin-inline: 4px;
}

@media (min-width: 520px) {
    .categories-slider__slide {
        flex: 0 0 min(220px, 34vw);
    }
}

@media (min-width: 768px) {
    .categories-slider__slide {
        flex: 0 0 min(212px, 26vw);
    }
}

@media (min-width: 1100px) {
    .categories-slider__slide {
        flex: 0 0 216px;
    }
}

.categories-slider__arrow {
    flex-shrink: 0;
    align-self: center;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: var(--bg-card);
    color: var(--primary-dark);
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.1);
    border: 1px solid var(--border);
    transition: background 0.2s, color 0.2s, opacity 0.2s;
}

.categories-slider__arrow:hover {
    background: var(--primary-soft);
    color: var(--primary);
}

.categories-slider__arrow:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    pointer-events: none;
}

@media (max-width: 480px) {
    .categories-slider__arrow {
        display: none;
    }
}

/* Cartes catégories (carrousel) — style vitrine */
.card-famille {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 200px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    color: var(--text);
    overflow: hidden;
    text-decoration: none;
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.04),
        0 8px 28px rgba(15, 23, 42, 0.06);
    transition:
        border-color 0.25s ease,
        box-shadow 0.3s ease,
        transform 0.3s cubic-bezier(0.34, 1.2, 0.64, 1);
}

.card-famille:hover {
    border-color: rgba(29, 78, 216, 0.28);
    transform: translateY(-5px);
    box-shadow:
        0 4px 12px rgba(29, 78, 216, 0.08),
        0 20px 48px rgba(15, 23, 42, 0.1);
}

.card-famille:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
}

.card-famille__media {
    position: relative;
    aspect-ratio: 5 / 3;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 48%, #4f6fa8 100%);
    overflow: hidden;
}

.card-famille__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: saturate(1.02) contrast(1.02);
    transform: scale(1.02);
}

.card-famille__media:has(.card-famille__img)::before {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.08) 0%, rgba(15, 23, 42, 0.45) 100%);
}

.card-famille__media::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 90% 70% at 15% 10%, rgba(255, 255, 255, 0.22) 0%, transparent 52%),
        radial-gradient(circle at 92% 88%, rgba(255, 255, 255, 0.08) 0%, transparent 35%);
    pointer-events: none;
}

.categories-slider__slide:nth-child(6n + 2) .card-famille__media {
    background: linear-gradient(135deg, #1e40af 0%, #0ea5e9 55%, #0369a1 100%);
}

.categories-slider__slide:nth-child(6n + 3) .card-famille__media {
    background: linear-gradient(135deg, #312e81 0%, #4f46e5 50%, #6366f1 100%);
}

.categories-slider__slide:nth-child(6n + 4) .card-famille__media {
    background: linear-gradient(135deg, #0f172a 0%, #1e40af 45%, #3b82f6 100%);
}

.categories-slider__slide:nth-child(6n + 5) .card-famille__media {
    background: linear-gradient(135deg, #164e63 0%, #0e7490 50%, #2563eb 100%);
}

.categories-slider__slide:nth-child(6n + 6) .card-famille__media {
    background: linear-gradient(135deg, #1e3a8a 0%, #4338ca 55%, #7c3aed 100%);
}

.card-famille__deco {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.55;
    transform: scale(1.08);
    pointer-events: none;
}

.card-famille__initial {
    position: relative;
    z-index: 1;
    font-family: var(--font-display);
    font-size: clamp(2rem, 6vw, 2.35rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.04em;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.18);
}

.card-famille__meta {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 1rem 1.15rem 1.2rem;
    gap: 0.35rem;
    text-align: left;
}

.card-famille__eyebrow {
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--primary);
}

.card-famille__name {
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 1.75em;
}

.card-famille__action {
    margin-top: auto;
    padding-top: 0.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.02em;
}

.card-famille:hover .card-famille__action {
    color: var(--primary-dark);
}

.card-famille__action svg {
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.card-famille:hover .card-famille__action svg {
    transform: translateX(4px);
}

/* ——— Pub 2 colonnes ——— */
.pub-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 720px) {
    .pub-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.25rem;
    }
}

.pub-card {
    position: relative;
    min-height: 300px;
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pub-card:nth-child(2) {
    background: linear-gradient(
        135deg,
        #334e7f 0%,
        /* var(--primary) 55%,
        rgba(196, 92, 103, 0.28) 100% */
    );
}

.pub-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.pub-card--has-image {
    background-image: var(--pub-bg);
    background-size: cover;
    background-position: center;
}

.pub-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.85) 100%);
}

.pub-card:nth-child(2) .pub-card__overlay {
    background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.82) 100%);
}

.pub-card__text {
    position: relative;
    z-index: 1;
    padding: 1.25rem 1.35rem;
    color: #fff;
}

.pub-card__text strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

.pub-card__text span {
    font-size: 0.9rem;
    opacity: 0.92;
}

/* ——— Accueil : catégorie 1/3 colonne image verticale + 2/3 produits ——— */
.home-category-showcase__layout {
    display: grid;
    gap: clamp(1.25rem, 3vw, 2rem);
    align-items: stretch;
}

.home-category-showcase__column {
    display: flex;
    min-width: 0;
}

@media (min-width: 900px) {
    .home-category-showcase__layout {
        grid-template-columns: 1fr 2fr;
    }

    .home-category-showcase__column {
        align-self: stretch;
    }
}

.home-category-showcase__media {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: clamp(200px, 32vw, 280px);
    padding: 1.5rem 1.25rem;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: linear-gradient(145deg, var(--primary-soft) 0%, #e8eef9 45%, var(--bg-card) 100%);
    color: var(--primary-dark);
    text-decoration: none;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.home-category-showcase__media:hover {
    border-color: rgba(29, 78, 216, 0.35);
    box-shadow: var(--shadow);
}

/* Visuel vertical (fichier dans /public, ex. images/showcase/… ) */
.home-category-showcase__media--photo {
    padding: 0;
    min-height: clamp(260px, 52vw, 420px);
    background: #0f172a;
    align-items: stretch;
    justify-content: flex-end;
}

@media (min-width: 900px) {
    .home-category-showcase__media--photo {
        min-height: min(100%, clamp(320px, 48vh, 560px));
        flex: 1;
    }
}

.home-category-showcase__figure {
    position: absolute;
    inset: 0;
    margin: 0;
    overflow: hidden;
}

.home-category-showcase__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.home-category-showcase__media--photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.08) 0%, rgba(15, 23, 42, 0.5) 100%);
    pointer-events: none;
    z-index: 1;
}

.home-category-showcase__media-label--overlay {
    position: relative;
    z-index: 2;
    align-self: stretch;
    margin: 0;
    margin-top: auto;
    padding: 1.1rem 1rem 1rem;
    text-align: center;
    color: #fff;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45);
    background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.82) 45%);
}

.home-category-showcase__media-deco {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.35;
    pointer-events: none;
}

.home-category-showcase__media-deco svg {
    width: min(72%, 200px);
    height: auto;
}

.home-category-showcase__media-initial {
    position: relative;
    z-index: 1;
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 8vw, 3.5rem);
    font-weight: 800;
    line-height: 1;
    opacity: 0.88;
}

.home-category-showcase__media-label {
    position: relative;
    z-index: 1;
    margin-top: 0.75rem;
    font-size: 0.95rem;
    font-weight: 700;
    text-align: center;
    line-height: 1.35;
}

.home-category-showcase__products {
    display: grid;
    /* grid-template-columns: 1fr; */
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.15rem;
    min-width: 0;
}

@media (min-width: 520px) {
    .home-category-showcase__products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 900px) {
    .home-category-showcase__products {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* ——— Accueil : grille promo 2×2 (après Sélection) ——— */
.home-promo-grid-section .section-head {
    align-items: flex-end;
}

.promo-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.15rem;
}

@media (min-width: 720px) {
    .promo-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.25rem;
    }
}

.promo-tile {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    background: #eceff4;
    box-shadow: var(--shadow);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.promo-tile:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.promo-tile__link {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    min-height: clamp(11rem, 28vw, 13.5rem);
    color: inherit;
    text-decoration: none;
}

.promo-tile--reverse .promo-tile__link {
    flex-direction: row-reverse;
}

.promo-tile__media {
    flex: 0 0 42%;
    max-width: 17rem;
    min-width: 0;
    background: linear-gradient(160deg, #e2e8f0, #f1f5f9);
    display: flex;
    align-items: center;
    justify-content: center;
}

.promo-tile__img {
    width: 100%;
    height: 100%;
    min-height: 11rem;
    object-fit: cover;
    display: block;
}

.promo-tile__placeholder {
    font-size: 2.75rem;
    line-height: 1;
    opacity: 0.45;
}

.promo-tile__body {
    flex: 1;
    min-width: 0;
    padding: clamp(1.1rem, 3vw, 1.65rem) clamp(1rem, 3vw, 1.75rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.85rem;
}

.promo-tile__title {
    font-family: var(--font-display);
    font-size: clamp(1.05rem, 2.4vw, 1.35rem);
    font-weight: 700;
    margin: 0;
    line-height: 1.28;
    color: var(--text);
}

.promo-tile__cta {
    font-size: 0.68rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 600;
    color: var(--text);
    align-self: flex-start;
}

.promo-tile__link:hover .promo-tile__cta {
    color: var(--primary);
}

@media (max-width: 719px) {
    .promo-tile__link,
    .promo-tile--reverse .promo-tile__link {
        flex-direction: column;
    }

    .promo-tile__media {
        flex: none;
        max-width: none;
        width: 100%;
        min-height: 11rem;
    }

    .promo-tile__img {
        min-height: 11rem;
        max-height: 14rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .promo-tile,
    .promo-tile:hover {
        transition: none;
        transform: none;
    }
}

/* ——— Produits ——— */
.grid-products {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

@media (min-width: 520px) {
    .grid-products {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 900px) {
    .grid-products {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1100px) {
    .grid-products--dense {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ——— Tags ——— */
.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1rem;
}

.tag-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.55rem 0.7rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--bg-card);
    color: var(--text);
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.tag-chip:hover {
    border-color: rgba(29, 78, 216, 0.35);
    box-shadow: var(--shadow);
    transform: translateY(-1px);
}

.tag-chip:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
}

.tag-chip__label {
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.tag-chip__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.6rem;
    height: 1.6rem;
    padding: 0 0.4rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--primary-dark);
    background: var(--primary-soft);
    border: 1px solid rgba(29, 78, 216, 0.12);
}

@media (prefers-reduced-motion: reduce) {
    .tag-chip,
    .tag-chip:hover {
        transition: none;
        transform: none;
    }
}

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.product-card:hover {
    border-color: rgba(29, 78, 216, 0.35);
    box-shadow: var(--shadow);
}

.product-card--featured {
    border-color: rgba(196, 92, 103, 0.28);
    box-shadow: 0 4px 20px rgba(196, 92, 103, 0.08);
}

.product-card--featured:hover {
    border-color: rgba(196, 92, 103, 0.45);
}

.product-card__promo-ribbon {
    position: absolute;
    bottom: 0.5rem;
    left: 0.5rem;
    z-index: 2;
    padding: 0.28rem 0.55rem;
    border-radius: 6px;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #fff;
    background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
    box-shadow: 0 2px 10px rgba(15, 118, 110, 0.35);
    pointer-events: none;
}

.product-card__promo-pct {
    font-weight: 900;
    letter-spacing: 0.02em;
}

.product-card__featured-badge {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    z-index: 2;
    padding: 0.28rem 0.55rem;
    border-radius: 6px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #fff;
    background: linear-gradient(135deg, var(--secondary) 0%, #a83e48 100%);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.2);
    pointer-events: none;
}

.product-card__tag-badge {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    z-index: 2;
    padding: 0.28rem 0.55rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #0f172a;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(15, 23, 42, 0.12);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.18);
    text-decoration: none;
    max-width: calc(100% - 1rem);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-card__tag-badge:hover {
    background: #fff;
    border-color: rgba(29, 78, 216, 0.35);
}

.product-card__tag-badge:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
}

.product-card__form-hidden {
    display: none;
}

.product-card__media-wrap {
    position: relative;
    overflow: hidden;
}

.product-card__media {
    aspect-ratio: 4/3;
    background: linear-gradient(145deg, #e2e8f0, #f1f5f9);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1rem;
    text-decoration: none;
    transition: transform 0.35s ease;
    overflow: hidden;
}

.product-card__img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #fff;
    display: block;
    transition: transform 0.35s ease;
}

.product-card__media-emoji {
    transition: transform 0.35s ease;
}

.product-card:hover .product-card__media .product-card__media-emoji,
.product-card:hover .product-card__media .product-card__img {
    transform: scale(1.06);
}

.product-card__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    background: rgba(15, 23, 42, 0.48);
    opacity: 0;
    transition: opacity 0.28s ease;
    pointer-events: none;
}

.product-card:hover .product-card__overlay,
.product-card__overlay:has(:focus-visible) {
    opacity: 1;
    pointer-events: auto;
}

.product-card__quick-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.65rem;
    height: 2.65rem;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: #fff;
    color: var(--primary-dark);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.18);
    cursor: pointer;
    text-decoration: none;
    transition:
        transform 0.2s ease,
        background 0.2s ease,
        color 0.2s ease,
        box-shadow 0.2s ease;
}

.product-card__quick-action:hover {
    transform: scale(1.08);
    background: var(--primary);
    color: #fff;
    box-shadow: 0 6px 20px rgba(29, 78, 216, 0.35);
}

.product-card__quick-action:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.product-card__quick-icon {
    flex-shrink: 0;
}

/* Appareils sans survol : actions visibles sur l’image */
@media (hover: none) {
    .product-card__overlay {
        opacity: 1;
        pointer-events: auto;
        align-items: flex-end;
        padding-bottom: 0.75rem;
        background: linear-gradient(180deg, transparent 35%, rgba(15, 23, 42, 0.72) 100%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .product-card__media,
    .product-card__media-emoji,
    .product-card__img,
    .product-card__overlay,
    .product-card__quick-action {
        transition: none;
    }

    .product-card:hover .product-card__media .product-card__media-emoji,
    .product-card:hover .product-card__media .product-card__img {
        transform: none;
    }
}

.product-card__body {
    padding: 1rem 1rem 1.15rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 0.35rem;
}

.product-card__cat {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    /* color: var(--primary);
    font-weight: 700; */
    color: #a34a54;
    font-weight: 700;
    padding: 2px;
    border-radius: 10px;
    background: #fbf0f1;
    text-align: center;
}

.product-card__title {
    font-weight: 600;
    font-size: 0.85rem !important;
    color: var(--text);
    line-height: 1.35;
    flex: 1;
    margin: 2px 0;
}

.product-card__title a {
    color: inherit;
}

.product-card__title a:hover {
    color: var(--primary);
}

.product-card__meta {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0;
}

.product-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 0.5rem;
    flex-wrap: wrap;
}

.product-card__add {
    margin: 0;
    margin-top: 0.85rem;
    padding-top: 0.85rem;
    border-top: 1px solid var(--border);
}

.product-card__add-btn {
    width: 100%;
    justify-content: center;
    font-size: 0.8125rem;
}

.product-card__add-btn:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.price {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary-dark);
}

.price__old {
    font-weight: 700;
    color: var(--text-muted);
    text-decoration: line-through;
    text-decoration-thickness: 2px;
    text-decoration-color: rgba(15, 23, 42, 0.35);
    margin-right: 0.35rem;
}

.price small {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-muted);
}

.badge-stock {
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    background: var(--primary-soft);
    color: var(--primary-dark);
    font-weight: 600;
}

.badge-stock--out {
    background: rgba(196, 92, 103, 0.1);
    color: #a34a54;
}

.badge-stock--ok {
    background: var(--primary-soft);
    color: var(--primary-dark);
}

.badge-stock--low {
    background: rgba(217, 119, 6, 0.14);
    color: #b45309;
}

.search-bar {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.search-bar input[type="search"] {
    flex: 1;
    min-width: 200px;
    padding: 0.65rem 1rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--bg-card);
    color: var(--text);
    font-family: inherit;
    font-size: 0.95rem;
}

.search-bar input::placeholder {
    color: var(--text-muted);
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    margin-top: clamp(2.5rem, 5vw, 3.5rem);
    padding-top: 0.5rem;
    flex-wrap: wrap;
}

.pagination a,
.pagination span {
    min-width: 2.25rem;
    height: 2.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 0.65rem;
    border-radius: 8px;
    font-size: 0.875rem;
    border: 1px solid var(--border);
    color: var(--text-muted);
    background: var(--bg-card);
}

.pagination a:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.pagination .active {
    background: var(--primary-soft);
    border-color: var(--primary);
    color: var(--primary-dark);
    font-weight: 700;
}

.breadcrumb {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

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

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

.product-detail {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .product-detail {
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }
}

.product-detail__visual {
    aspect-ratio: 1;
    border-radius: var(--radius);
    background: linear-gradient(145deg, #e2e8f0, #f8fafc);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--text-muted);
    overflow: hidden;
}

.product-detail__img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background: #fff;
}

.product-detail__visual-placeholder {
    line-height: 1;
}

.product-detail h1 {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 4vw, 2rem);
    margin: 0 0 0.5rem;
    line-height: 1.2;
    color: var(--text);
}

.product-detail__desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    white-space: pre-wrap;
}

.product-detail__visual-wrap {
    position: relative;
}

.product-detail__promo-flag {
    position: absolute;
    top: 0.65rem;
    left: 0.65rem;
    z-index: 2;
    padding: 0.35rem 0.65rem;
    border-radius: 8px;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #fff;
    background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
    box-shadow: 0 2px 12px rgba(15, 118, 110, 0.35);
}

.product-detail__promo-meta {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin: 0 0 0.75rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.65rem;
    align-items: center;
}

.product-detail__promo-pct {
    display: inline-flex;
    align-items: center;
    padding: 0.12rem 0.45rem;
    border-radius: 6px;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, #0d9488, #0f766e);
    font-size: 0.8rem;
}

.product-detail__promo-save {
    font-weight: 600;
    color: var(--primary-dark);
}

.product-detail__stock-note {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.75rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0.75rem 0 0;
}

.product-detail__stock-qty {
    color: var(--text-muted);
}

.product-detail-sticky {
    display: none;
}

@media (max-width: 767px) {
    .add-form__submit-desktop {
        display: none;
    }

    .product-detail-page {
        padding-bottom: calc(5.25rem + env(safe-area-inset-bottom, 0px));
    }

    .product-detail-sticky {
        display: block;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 140;
        padding: 0.65rem 1rem calc(0.65rem + env(safe-area-inset-bottom, 0px));
        padding-right: calc(1rem + 3.75rem + env(safe-area-inset-right, 0px));
        background: rgba(248, 250, 252, 0.96);
        backdrop-filter: blur(10px);
        border-top: 1px solid var(--border);
        box-shadow: 0 -8px 28px rgba(15, 23, 42, 0.08);
    }

    .product-detail-sticky__inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem;
        max-width: 1100px;
        margin: 0 auto;
    }

    .product-detail-sticky__price {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.1rem;
        min-width: 0;
    }

    .product-detail-sticky__old {
        font-size: 0.75rem;
    }

    .product-detail-sticky__now {
        font-weight: 800;
        font-size: 1.05rem;
        color: var(--text);
        white-space: nowrap;
    }

    .product-detail-sticky__now small {
        font-size: 0.68rem;
        font-weight: 600;
        color: var(--text-muted);
    }

    .product-detail-sticky__cta {
        flex-shrink: 0;
        padding-left: 1rem;
        padding-right: 1rem;
        white-space: nowrap;
    }
}

@media (min-width: 768px) {
    .product-detail-sticky {
        display: none !important;
    }
}

.add-form {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1.25rem;
}

.add-form label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.add-form input[type="number"] {
    width: 4rem;
    padding: 0.5rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--bg-card);
    color: var(--text);
    font-family: inherit;
}

.cart-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-card);
}

.cart-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 520px;
}

.cart-table th,
.cart-table td {
    padding: 0.85rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
}

.cart-table th {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.cart-table tr:last-child td {
    border-bottom: none;
}

.cart-qty {
    width: 4rem;
    padding: 0.4rem;
    border-radius: 6px;
    border: 1px solid var(--border);
    background: var(--bg);
    color: var(--text);
}

.cart-qty-stepper {
    display: inline-flex;
    align-items: stretch;
    vertical-align: middle;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    background: var(--bg-card);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.cart-qty-stepper__btn {
    flex: 0 0 2.35rem;
    min-width: 2.35rem;
    border: none;
    background: var(--bg);
    color: var(--primary-dark);
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.cart-qty-stepper__btn:hover {
    background: var(--primary-soft);
    color: var(--primary);
}

.cart-qty-stepper__btn:active {
    background: rgba(29, 78, 216, 0.18);
}

.cart-qty-stepper__btn:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: -2px;
    z-index: 1;
}

.cart-qty-stepper__input.cart-qty {
    width: 2.85rem;
    min-width: 2.85rem;
    margin: 0;
    padding: 0.45rem 0.2rem;
    border: none;
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
    border-radius: 0;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
    -moz-appearance: textfield;
    appearance: textfield;
}

.cart-qty-stepper__input::-webkit-outer-spin-button,
.cart-qty-stepper__input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.cart-update-actions {
    margin-top: 1.15rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1.25rem;
}

.cart-update-hint {
    font-size: 0.8125rem;
    color: var(--text-muted);
    max-width: 20rem;
    line-height: 1.45;
}

.cart-update-form--hidden,
.cart-remove-form--hidden {
    display: none;
}

.cart-qty-stepper--compact .cart-qty-stepper__btn {
    flex: 0 0 1.85rem;
    min-width: 1.85rem;
    font-size: 1rem;
}

.cart-qty-stepper--compact .cart-qty-stepper__input.cart-qty {
    width: 2.35rem;
    min-width: 2.35rem;
    padding: 0.32rem 0.15rem;
    font-size: 0.82rem;
}

.cart-summary {
    margin-top: 1.5rem;
    padding: 1.25rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--bg-card);
    max-width: 360px;
    margin-left: auto;
    box-shadow: var(--shadow);
}

.cart-summary__row {
    display: flex;
    justify-content: space-between;
    font-size: 1.15rem;
    font-weight: 700;
    font-family: var(--font-display);
    color: var(--primary-dark);
}

/* ——— Passer commande (panier) — deux colonnes ——— */
.checkout-section {
    margin-top: clamp(2rem, 4vw, 2.75rem);
    padding: clamp(1.35rem, 3vw, 2rem);
    border-radius: 16px;
    border: 1px solid var(--border);
    background: linear-gradient(165deg, #fff 0%, #f8fafc 55%, #f1f5f9 100%);
    box-shadow: var(--shadow);
}

.checkout-section__header {
    margin-bottom: clamp(1.25rem, 3vw, 1.75rem);
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.checkout-section__title {
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 2.5vw, 1.45rem);
    font-weight: 700;
    margin: 0 0 0.45rem;
    color: var(--text);
}

.checkout-section__lead {
    margin: 0;
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.55;
    max-width: 48rem;
}

.checkout-layout {
    display: grid;
    gap: 1.75rem 2.25rem;
    align-items: start;
    grid-template-areas:
        "aside"
        "main";
}

@media (min-width: 960px) {
    .checkout-layout {
        grid-template-columns: minmax(0, 1.72fr) minmax(300px, 1fr);
        grid-template-areas: "main aside";
    }
}

.checkout-layout__main {
    grid-area: main;
    padding: 0.15rem 0.15rem 0.5rem 0;
    min-width: 0;
}

.checkout-layout__aside {
    grid-area: aside;
    min-width: 0;
}

.checkout-panel-title {
    font-family: var(--font-display);
    font-size: 1.02rem;
    font-weight: 700;
    margin: 0 0 0.35rem;
    color: var(--primary-dark);
}

.checkout-panel-desc {
    margin: 0 0 1.15rem;
    font-size: 0.86rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.checkout-client-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem 1.25rem;
}

@media (min-width: 520px) {
    .checkout-client-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.checkout-client-grid .form-field--span2 {
    grid-column: 1 / -1;
}

.checkout-sidebar {
    padding: 1.2rem 1.25rem 1.35rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--bg-card);
    box-shadow:
        0 4px 24px rgba(15, 23, 42, 0.06),
        0 0 0 1px rgba(255, 255, 255, 0.8) inset;
}

@media (min-width: 960px) {
    .checkout-sidebar {
        position: sticky;
        top: calc(var(--topbar-h) + var(--header-h) + 1rem);
    }
}

.checkout-recap-count {
    margin: 0 0 0.85rem;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--text-muted);
}

.checkout-recap-list {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: min(360px, 52vh);
    overflow-y: auto;
    margin-bottom: 0.65rem;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--bg);
}

.checkout-recap-list__item {
    padding: 0.65rem 0.85rem;
    border-bottom: 1px solid var(--border);
    font-size: 0.84rem;
}

.checkout-recap-list__item:last-child {
    border-bottom: none;
}

.checkout-recap-list__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.35rem;
    margin-bottom: 0.45rem;
}

.checkout-recap-list__name {
    color: var(--text);
    font-weight: 600;
    line-height: 1.35;
    flex: 1;
    min-width: 0;
    text-decoration: none;
}

.checkout-recap-list__name:hover {
    color: var(--primary);
    text-decoration: underline;
}

.checkout-recap-list__remove {
    flex-shrink: 0;
    width: 1.65rem;
    height: 1.65rem;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: var(--text-muted);
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.checkout-recap-list__remove:hover {
    background: rgba(220, 38, 38, 0.1);
    color: #b91c1c;
}

.checkout-recap-list__remove:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.checkout-recap-list__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem 0.75rem;
    margin-bottom: 0.35rem;
}

.checkout-recap-list__pu {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 600;
}

.checkout-recap-list__pu-label {
    font-weight: 500;
    opacity: 0.85;
}

.checkout-recap-list__sub {
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text-muted);
    text-align: right;
}

.checkout-recap-list__sub strong {
    font-weight: 700;
    color: var(--text);
}

.checkout-recap-cart-actions {
    margin: 0 0 0.85rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.85rem;
}

.checkout-recap-cart-hint {
    font-size: 0.72rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.checkout-recap-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 0 0.15rem;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.checkout-recap-total strong {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.checkout-sidebar__divider {
    height: 1px;
    background: var(--border);
    margin: 1rem 0 1.1rem;
}

.checkout-sidebar .form-field {
    margin-bottom: 1rem;
}

.checkout-form__submit {
    width: 100%;
    margin-top: 0.25rem;
    padding-top: 0.65rem;
    padding-bottom: 0.65rem;
    font-size: 0.9rem;
}

.checkout-sidebar__footnote {
    margin: 0.85rem 0 0;
    font-size: 0.75rem;
    line-height: 1.45;
    color: var(--text-muted);
}

.form-label {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin-bottom: 0.35rem;
}

.form-required {
    color: var(--secondary);
}

.form-optional {
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
    color: var(--text-muted);
    font-size: 0.72rem;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.6rem 0.85rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text);
    background: var(--bg-card);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-soft);
}

.form-textarea {
    resize: vertical;
    min-height: 5rem;
}

.form-error {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #b91c1c;
}

/* ——— Page contact ——— */
.contact-page__lead {
    max-width: 40rem;
}

.contact-layout {
    display: grid;
    gap: clamp(1.5rem, 3vw, 2.25rem);
    margin-top: clamp(1.25rem, 3vw, 2rem);
    align-items: start;
}

@media (min-width: 960px) {
    .contact-layout {
        grid-template-columns: minmax(0, 1fr) minmax(320px, 1fr);
    }
}

.contact-card {
    padding: clamp(1.25rem, 3vw, 1.65rem);
    border-radius: 16px;
    border: 1px solid var(--border);
    background: linear-gradient(165deg, #fff 0%, #f8fafc 50%, #f1f5f9 100%);
    box-shadow: var(--shadow);
}

.contact-card--form {
    background: var(--bg-card);
}

.contact-card__title {
    font-family: var(--font-display);
    font-size: clamp(1.05rem, 2.2vw, 1.25rem);
    font-weight: 700;
    margin: 0 0 0.75rem;
    color: var(--primary-dark);
}

.contact-card__intro {
    margin: 0 0 1.15rem;
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.contact-card__muted {
    margin: 0.75rem 0 0;
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.55;
}

.contact-card__code {
    font-size: 0.78em;
    padding: 0.1em 0.35em;
    border-radius: 4px;
    background: rgba(15, 23, 42, 0.06);
    color: var(--text);
}

.contact-info-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-info-list__item {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.contact-info-list__label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
}

.contact-info-list__value {
    font-size: 0.95rem;
    color: var(--text);
    line-height: 1.45;
}

a.contact-info-list__link {
    color: var(--primary);
    font-weight: 600;
}

a.contact-info-list__link:hover {
    color: var(--primary-hover);
}

.contact-layout__info {
    display: flex;
    flex-direction: column;
    gap: clamp(1.25rem, 2.5vw, 1.5rem);
    min-width: 0;
}

.contact-map-wrap {
    min-width: 0;
}

.contact-map {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--border);
    aspect-ratio: 16 / 10;
    min-height: 220px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
}

.contact-map iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.contact-map--placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    text-align: center;
    background: linear-gradient(145deg, #e2e8f0, #f1f5f9);
    aspect-ratio: auto;
    min-height: 200px;
}

.contact-map__placeholder-text {
    margin: 0 0 0.5rem;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-muted);
}

.contact-map__placeholder-hint {
    margin: 0;
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.5;
    max-width: 28rem;
}

.contact-form__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem 1.25rem;
}

@media (min-width: 520px) {
    .contact-form__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.contact-form__field-span {
    grid-column: 1 / -1;
}

.contact-form .form-field {
    margin: 0;
}

.contact-form__submit {
    margin-top: 1.15rem;
    width: 100%;
    max-width: 16rem;
}

@media (min-width: 520px) {
    .contact-form__submit {
        width: auto;
    }
}

/* ——— Footer ——— */
.site-footer {
    background: var(--primary-dark);
    color: rgba(255, 255, 255, 0.88);
    margin-top: auto;
    padding: 2.75rem 1.25rem 0;
    font-size: 0.9rem;
}

.site-footer a {
    color: rgba(255, 255, 255, 0.92);
}

.site-footer a:hover {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: var(--secondary-faint);
}

.site-footer__grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 640px) {
    .site-footer__grid {
        grid-template-columns: 1.4fr 1fr 1fr 1fr;
    }
}

.site-footer__logo {
    font-family: var(--font-display);
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    color: #fff;
}

.site-footer__logo::after {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--secondary-faint);
    border: 1px solid rgba(196, 92, 103, 0.5);
}

.site-footer__brand p {
    margin: 0.75rem 0 0;
    line-height: 1.55;
    opacity: 0.85;
    font-size: 0.875rem;
}

.site-footer__col h3 {
    margin: 0 0 0.85rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.55);
    font-weight: 700;
}

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

.site-footer__col li {
    margin-bottom: 0.5rem;
}

.site-footer__muted {
    opacity: 0.65;
    font-size: 0.85rem;
}

.site-footer__bottom {
    max-width: 1200px;
    margin: 2rem auto 0;
    padding: 1.25rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    text-align: center;
    font-size: 0.8125rem;
    opacity: 0.75;
}

.site-footer__bottom p {
    margin: 0;
}

.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-muted);
}

.empty-state p {
    margin-bottom: 1rem;
}

/* ——— Pages d’erreur (404, 405) ——— */
.shop-error {
    padding-top: clamp(1.5rem, 4vw, 2.5rem);
    padding-bottom: clamp(2.5rem, 8vw, 4rem);
}

.shop-error__panel {
    max-width: 36rem;
    margin: 0 auto;
    text-align: center;
    padding: clamp(2rem, 5vw, 3rem) clamp(1.25rem, 4vw, 2.5rem);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--bg-card);
    box-shadow: var(--shadow);
}

.shop-error__code {
    margin: 0 0 0.35rem;
    font-family: var(--font-display);
    font-size: clamp(3.5rem, 12vw, 5.5rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.shop-error__title {
    margin: 0 0 0.75rem;
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 3.5vw, 1.75rem);
    font-weight: 800;
    color: var(--text);
}

.shop-error__lead {
    margin: 0 0 1.5rem;
    font-size: 1rem;
    line-height: 1.55;
    color: var(--text-muted);
}

.shop-error__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.25rem;
}

.shop-error__hint {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.shop-error__back {
    font-family: inherit;
}
