* {
    box-sizing: border-box;
}

:root {
    --blue-950: #173a5c;
    --blue-900: #1e4a72;
    --blue-800: #2a5f8f;
    --blue-600: #3d7eb5;
    --blue-400: #6ba3cf;
    --teal-500: #4a9bb8;
    --silver-100: #f4f7fa;
    --silver-200: #e4ebf2;
    --silver-400: #a8b8c8;
    --gold-600: #a8842e;
    --gold-500: #c9a44a;
    --gold-400: #d4b96a;
    --text: #2c3e50;
    --ink: #2c3e50;
    --muted: #5f7385;
    --white: #ffffff;
    --surface: #ffffff;
    --surface-muted: #f4f7fa;
    --border: #dce4ec;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 18px;
    --shadow: 0 10px 40px rgb(23 58 92 / 9%);
    --shadow-soft: 0 2px 10px rgb(23 58 92 / 5%);
    --font-heading: "Cormorant Garamond", "Times New Roman", Georgia, serif;
    --font-body: "Source Sans 3", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

@font-face {
    font-family: "Font Awesome 5 Free";
    font-style: normal;
    font-weight: 900;
    font-display: block;
    src: url("../fonts/fa-solid-900-IEi1_po.woff2") format("woff2");
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    background: var(--silver-100);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
.brand > span {
    font-family: var(--font-heading);
    font-weight: 600;
}

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

a:hover {
    text-decoration: underline;
}

.site-header {
    position: sticky;
    z-index: 100;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 14px clamp(20px, 6vw, 72px);
    overflow: visible;
    background: var(--white);
    border-bottom: 3px solid var(--gold-500);
    box-shadow: var(--shadow-soft);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: var(--blue-950);
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.brand:hover {
    text-decoration: none;
}

.brand small {
    display: block;
    color: var(--gold-600);
    font-family: var(--font-body);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.brand-logo {
    display: block;
    width: 52px;
    height: auto;
    flex-shrink: 0;
}

.brand-logo--footer {
    filter: brightness(1.08);
}

.site-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0;
    overflow: visible;
    font-size: 0.95rem;
    font-weight: 600;
}

.site-nav-links a {
    color: var(--blue-900);
}

.site-nav-links a:hover {
    color: var(--gold-600);
    text-decoration: none;
}

.site-nav-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

/* =========================================
   Mobile — hamburger + menu déroulant
   ========================================= */

.site-header-tools {
    display: flex;
    align-items: center;
    gap: 8px;
}

.site-nav-mobile-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    border-radius: 12px;
    background: rgb(174 187 200 / 18%);
    cursor: pointer;
    transition: background 0.18s;
}

.site-nav-mobile-toggle:hover {
    background: rgb(174 187 200 / 34%);
}

.hamburger {
    position: relative;
    width: 22px;
    height: 18px;
    flex-shrink: 0;
}

.hamburger-bar {
    position: absolute;
    left: 0;
    width: 22px;
    height: 3px;
    margin: 0;
    border-radius: 2px;
    background: var(--blue-950);
    transform-origin: 50% 50%;
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1),
                opacity  0.2s cubic-bezier(0.4, 0, 0.2, 1),
                top      0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.hamburger-bar--top {
    top: 0;
}

.hamburger-bar--mid {
    top: 7.5px;
}

.hamburger-bar--bot {
    top: 15px;
}

.site-nav-mobile-toggle.is-active .hamburger-bar--top {
    top: 7.5px;
    transform: rotate(45deg);
}

.site-nav-mobile-toggle.is-active .hamburger-bar--mid {
    opacity: 0;
}

.site-nav-mobile-toggle.is-active .hamburger-bar--bot {
    top: 7.5px;
    transform: rotate(-45deg);
}

.site-nav-mobile-panel {
    display: none;
}

@keyframes menu-slide-down {
    from {
        opacity: 0;
        transform: translateY(-12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes menu-slide-up {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-12px);
    }
}

@media (max-width: 640px) {
    .site-header {
        align-items: center;
        flex-direction: row;
    }

    .site-nav {
        flex-shrink: 0;
        margin-left: auto;
        align-items: center;
        flex-direction: row;
        gap: 0;
    }

    .site-header-tools {
        gap: 6px;
    }

    .site-nav-mobile-toggle {
        display: flex;
        flex-shrink: 0;
    }

    .site-nav-actions {
        width: auto;
        margin-left: 0;
        padding-left: 0;
        border-left: none;
        padding-top: 0;
        border-top: none;
        gap: 6px;
        flex-wrap: nowrap;
    }

    .site-nav-actions .nav-admin,
    .site-nav-actions .nav-cta:not(.nav-cta--icon) {
        padding: 8px 12px;
        font-size: 0.82rem;
    }

    .nav-admin--inline {
        display: none;
    }

    .nav-admin--bar {
        display: flex;
        justify-content: center;
        width: 100%;
        flex: 0 0 100%;
        margin-top: 8px;
        box-sizing: border-box;
    }

    .site-header:has(.nav-admin--bar) {
        flex-wrap: wrap;
        row-gap: 8px;
    }

    .site-nav-mobile-panel {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 200;
        background: var(--white);
        border-bottom: 3px solid var(--gold-500);
        box-shadow: 0 10px 28px rgb(0 0 0 / 12%);
        padding: 0 clamp(20px, 6vw, 72px) 16px;
        max-height: calc(100dvh - var(--site-header-h, 72px));
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
    }

    .site-nav-mobile-panel.is-closing {
        overflow: hidden;
    }

    .site-nav-mobile-panel.is-open,
    .site-nav-mobile-panel.is-closing {
        display: block;
    }

    .site-nav-mobile-panel.is-open {
        animation: menu-slide-down 0.28s cubic-bezier(0.4, 0, 0.2, 1) both;
    }

    .site-nav-mobile-panel.is-closing {
        animation: menu-slide-up 0.24s cubic-bezier(0.4, 0, 0.2, 1) both;
    }

    .site-nav-mobile-panel .site-nav-links {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        width: 100%;
        padding: 8px 0 0;
        font-size: 1.08rem;
    }

    .site-nav-mobile-panel .site-nav-links > a {
        display: block;
        width: 100%;
        box-sizing: border-box;
        padding: 14px 0;
        border-bottom: 1px solid rgb(174 187 200 / 28%);
        color: var(--blue-950);
        font-weight: 700;
    }

    .site-nav-mobile-panel .nav-dropdown {
        display: block;
        width: 100%;
        border-bottom: 1px solid rgb(174 187 200 / 28%);
    }

    .site-nav-mobile-panel .nav-dropdown > summary {
        list-style: none;
        cursor: pointer;
    }

    .site-nav-mobile-panel .nav-dropdown > summary::-webkit-details-marker {
        display: none;
    }

    .site-nav-mobile-panel .nav-dropdown-toggle {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 14px 0;
        color: var(--blue-950);
        font-weight: 700;
    }

    .site-nav-mobile-panel .nav-dropdown-menu {
        position: static;
        display: block;
        width: 100%;
        max-width: none;
        padding: 0 0 12px;
        pointer-events: auto;
        transform: none;
    }

    .site-nav-mobile-panel .nav-dropdown:not([open]) .nav-dropdown-menu {
        display: none;
    }

    .site-nav-mobile-panel .nav-dropdown-menu-inner {
        width: 100%;
        max-width: none;
        border: none;
        border-radius: 0;
        box-shadow: none;
        background: transparent;
    }

    .site-nav-mobile-panel .nav-dropdown-intro {
        padding: 0 0 10px;
        text-align: left;
        border-bottom: none;
    }

    .site-nav-mobile-panel .nav-dropdown-all {
        display: block;
        width: 100%;
        padding: 10px 0;
        font-size: 0.95rem;
        text-transform: none;
        font-weight: 700;
    }

    .site-nav-mobile-panel .nav-dropdown-columns {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 0;
        overflow: visible;
    }

    .site-nav-mobile-panel .nav-dropdown-group {
        min-width: 0;
        max-width: none;
        align-items: flex-start;
        padding: 10px 0;
        text-align: left;
        border-right: none;
        border-bottom: 1px solid rgb(174 187 200 / 18%);
    }

    .site-nav-mobile-panel .nav-dropdown-group:last-child {
        border-bottom: none;
    }

    .site-nav-mobile-panel .nav-dropdown-parent {
        margin-bottom: 6px;
        font-size: 0.95rem;
    }

    .site-nav-mobile-panel .nav-dropdown-children {
        align-items: flex-start;
        padding-left: 12px;
    }

    .site-nav-mobile-panel .nav-dropdown-child {
        display: block;
        width: 100%;
        padding: 8px 0;
        font-size: 0.92rem;
    }
}

@media (min-width: 641px) {
    .site-header {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
    }

    .brand {
        grid-column: 1;
        justify-self: start;
    }

    .site-nav-mobile-panel {
        display: block;
        grid-column: 2;
        justify-self: center;
        min-width: 0;
    }

    .site-nav-mobile-panel .site-nav-links {
        display: flex;
        justify-content: center;
    }

    .site-nav {
        grid-column: 3;
        justify-self: end;
        flex-shrink: 0;
        margin-left: 0;
        padding-left: 0;
        border-left: none;
    }
}

.site-nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-admin {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    color: var(--blue-950);
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: var(--white);
    border: 2px solid var(--gold-500);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-soft);
}

.nav-admin:hover {
    color: var(--blue-950);
    text-decoration: none;
    background: rgb(201 164 74 / 10%);
    border-color: var(--gold-600);
}

.nav-admin--bar {
    display: none;
}

.site-nav span {
    color: var(--muted);
}

.nav-dropdown {
    position: relative;
    align-self: stretch;
    display: flex;
    align-items: center;
}

.nav-dropdown > summary {
    list-style: none;
    cursor: pointer;
}

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

.nav-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 100%;
}

.nav-dropdown-toggle::after {
    content: "";
    width: 0.45rem;
    height: 0.45rem;
    flex-shrink: 0;
    align-self: center;
    border-right: 2px solid currentcolor;
    border-bottom: 2px solid currentcolor;
    transform: rotate(45deg) translateY(-1px);
    transform-origin: 50% 72%;
    transition: transform 0.2s ease;
}

.nav-dropdown:hover .nav-dropdown-toggle::after,
.nav-dropdown:focus-within .nav-dropdown-toggle::after,
.nav-dropdown[open] .nav-dropdown-toggle::after {
    transform: rotate(-135deg) translateY(3px);
}

/* Zone invisible entre le lien et le panneau : évite la fermeture au survol */
.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    z-index: 30;
    display: none;
    width: max-content;
    max-width: calc(100vw - 40px);
    padding-top: 12px;
    pointer-events: none;
    transform: translateX(-50%);
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown[open] .nav-dropdown-menu {
    display: block;
    pointer-events: auto;
}

.nav-dropdown-menu-inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: max-content;
    max-width: min(960px, 100%);
    background: var(--white);
    border: 1px solid rgb(174 187 200 / 40%);
    border-radius: 12px;
    box-shadow: 0 16px 40px rgb(15 35 55 / 14%);
}

.nav-dropdown-intro {
    width: 100%;
    padding: 14px 24px 12px;
    text-align: center;
    border-bottom: 1px solid rgb(174 187 200 / 32%);
}

.nav-dropdown-all {
    display: inline-block;
    padding: 2px 0;
    color: var(--blue-950);
    font-size: 0.98rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    line-height: 1.35;
    text-transform: uppercase;
}

.nav-dropdown-columns {
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: stretch;
    gap: 0;
    padding: 4px 0 12px;
    overflow-x: auto;
}

.nav-dropdown-group {
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    align-items: center;
    min-width: 10.5rem;
    max-width: 13.5rem;
    padding: 14px 20px 16px;
    text-align: center;
    border-right: 1px solid rgb(174 187 200 / 22%);
}

.nav-dropdown-group:last-child {
    border-right: none;
}

.nav-dropdown-parent {
    display: block;
    width: 100%;
    margin-bottom: 10px;
    color: var(--blue-950);
    font-size: 0.92rem;
    font-weight: 800;
    line-height: 1.3;
}

.nav-dropdown-children {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-dropdown-children li + li {
    margin-top: 4px;
}

.nav-dropdown-child {
    display: block;
    padding: 6px 0;
    color: var(--ink);
    font-size: 0.88rem;
    font-weight: 500;
    line-height: 1.35;
}

.nav-dropdown-child:hover,
.nav-dropdown-parent:hover,
.nav-dropdown-all:hover {
    color: var(--blue-800);
    text-decoration: none;
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    color: var(--white);
    font-weight: 700;
    background: linear-gradient(180deg, var(--blue-800), var(--blue-950));
    border-radius: var(--radius-sm);
    box-shadow: 0 3px 10px rgb(23 58 92 / 18%);
}

.nav-cta:hover {
    color: var(--white);
    background: linear-gradient(180deg, var(--blue-600), var(--blue-900));
    text-decoration: none;
}

.nav-cta--icon {
    position: relative;
    min-width: 42px;
    padding: 10px 12px;
}

.nav-cta-svg {
    display: block;
    width: 1.15rem;
    height: 1.15rem;
    flex-shrink: 0;
}

.nav-cta-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.25rem;
    height: 1.25rem;
    padding: 0 3px;
    box-sizing: border-box;
    color: var(--blue-950);
    font-size: 0.65rem;
    font-weight: 800;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    background: var(--gold-500);
    border: 2px solid var(--white);
    border-radius: 999px;
}

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

.page {
    flex: 1;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 48px 0 80px;
}

.site-footer {
    margin-top: auto;
    color: rgb(255 255 255 / 88%);
    background: linear-gradient(180deg, var(--blue-950) 0%, #102a42 100%);
    border-top: 4px solid var(--gold-500);
}

.site-footer a {
    color: rgb(255 255 255 / 92%);
}

.site-footer a:hover {
    color: var(--gold-400);
    text-decoration: none;
}

.site-footer-inner {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) minmax(0, 2fr);
    gap: clamp(28px, 5vw, 56px);
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: clamp(40px, 6vw, 64px) 0 clamp(32px, 4vw, 48px);
}

.site-footer-brand p {
    max-width: 28rem;
    margin: 16px 0 0;
    color: rgb(255 255 255 / 62%);
    font-size: 0.95rem;
    line-height: 1.7;
}

.brand--footer {
    color: var(--white);
}

.brand--footer:hover {
    text-decoration: none;
}

.site-footer-nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(20px, 4vw, 40px);
}

.site-footer-col h2 {
    margin: 0 0 14px;
    color: var(--gold-500);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

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

.site-footer-col li + li {
    margin-top: 8px;
}

.site-footer-col a {
    font-size: 0.95rem;
    font-weight: 600;
}

.site-footer-contact li {
    color: rgb(255 255 255 / 72%);
    font-size: 0.92rem;
    line-height: 1.5;
}

.site-footer-hours {
    margin: 14px 0 0;
    color: rgb(255 255 255 / 52%);
    font-size: 0.85rem;
    line-height: 1.5;
}

.site-footer-muted {
    color: rgb(255 255 255 / 55%);
    font-size: 0.9rem;
}

.site-footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 24px;
    padding: 18px clamp(16px, 4vw, 36px);
    color: rgb(255 255 255 / 48%);
    font-size: 0.85rem;
    border-top: 1px solid rgb(255 255 255 / 10%);
}

.site-footer-bottom p {
    margin: 0;
}

.site-footer-made {
    color: rgb(255 255 255 / 38%);
}

.hero,
.auth-card,
.trust-strip,
.product-card,
.split-section,
.cta-section {
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
}

.hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
    gap: clamp(28px, 6vw, 56px);
    overflow: hidden;
    padding: clamp(36px, 6vw, 64px);
    background:
        linear-gradient(105deg, var(--white) 0%, var(--silver-100) 100%);
    border-radius: var(--radius-xl);
    border-top: 4px solid var(--gold-500);
}

.hero::after {
    position: absolute;
    right: -80px;
    bottom: -100px;
    width: 280px;
    height: 280px;
    content: "";
    background: radial-gradient(circle, rgb(201 164 74 / 12%), transparent 68%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-content,
.hero-panel {
    position: relative;
    z-index: 1;
}

.hero h1,
.auth-card h1,
.section-heading h2,
.split-section h2,
.cta-section h2 {
    margin: 0 0 16px;
    color: var(--blue-950);
    line-height: 1.12;
    letter-spacing: -0.02em;
}

.hero h1 {
    max-width: 800px;
    font-size: clamp(2.2rem, 5.5vw, 3.6rem);
}

.hero p,
.section-heading p,
.split-section p,
.cta-section p {
    max-width: 660px;
    color: var(--muted);
    font-size: 1.15rem;
    line-height: 1.7;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--gold-600);
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 24px;
    color: var(--blue-950);
    font-weight: 700;
    background: linear-gradient(180deg, var(--gold-400), var(--gold-500));
    border: 1px solid var(--gold-600);
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 14px rgb(169 132 46 / 22%);
    cursor: pointer;
    transition: filter 0.15s ease, transform 0.15s ease;
}

.button[hidden] {
    display: none !important;
}

.button:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
    text-decoration: none;
}

.button-secondary {
    color: var(--blue-900);
    background: var(--white);
    border: 1px solid var(--border);
    box-shadow: none;
}

.button-secondary:hover {
    background: var(--silver-100);
    transform: none;
}

.hero-panel {
    align-self: center;
    padding: 28px;
    color: var(--white);
    background: linear-gradient(160deg, var(--blue-950), var(--blue-800));
    border: 1px solid rgb(255 255 255 / 12%);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.hero-panel strong {
    display: block;
    margin: 16px 0 10px;
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.hero-panel p {
    color: rgb(255 255 255 / 74%);
    font-size: 1rem;
}

.panel-label,
.product-card span {
    display: inline-flex;
    width: fit-content;
    padding: 7px 11px;
    color: var(--gold-500);
    background: rgb(199 167 105 / 13%);
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-panel dl {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 28px 0 0;
}

.hero-panel dl div {
    padding: 14px;
    background: rgb(255 255 255 / 9%);
    border-radius: 18px;
}

.hero-panel dt {
    color: rgb(255 255 255 / 60%);
    font-size: 0.72rem;
}

.hero-panel dd {
    margin: 6px 0 0;
    font-weight: 800;
}

.trust-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    overflow: hidden;
    margin-top: 24px;
    border-radius: var(--radius-lg);
    border-top: 3px solid var(--gold-500);
}

.trust-strip article {
    display: grid;
    gap: 8px;
    min-height: 120px;
    padding: 22px 24px;
    background: var(--white);
    border-right: 1px solid var(--border);
}

.trust-strip article:last-child {
    border-right: none;
}

.trust-strip strong,
.quality-list strong {
    color: var(--blue-950);
    font-size: 1.05rem;
}

.trust-strip span,
.quality-list span,
.product-card p {
    color: var(--muted);
    line-height: 1.6;
}

.section-grid,
.split-section,
.cta-section {
    margin-top: 76px;
}

.section-heading {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.7fr);
    gap: 40px;
    align-items: end;
    margin-bottom: 26px;
}

.section-heading h2,
.split-section h2,
.cta-section h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
}

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

.product-card {
    display: flex;
    flex-direction: column;
    min-height: 260px;
    padding: 24px;
    border-radius: var(--radius-lg);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.product-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.product-card h3 {
    margin: auto 0 12px;
    color: var(--blue-950);
    font-size: 1.45rem;
    letter-spacing: -0.02em;
}

.product-card.featured {
    color: var(--white);
    background: linear-gradient(155deg, var(--blue-950), var(--blue-800));
    border-color: var(--blue-900);
}

.product-card.featured h3,
.product-card.featured p,
.product-card.featured a {
    color: var(--white);
}

.split-section {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.7fr);
    gap: 42px;
    padding: clamp(28px, 5vw, 48px);
    border-radius: var(--radius-xl);
}

.quality-list {
    display: grid;
    gap: 14px;
}

.quality-list article {
    display: grid;
    gap: 8px;
    padding: 18px 20px;
    background: var(--silver-100);
    border: 1px solid var(--border);
    border-left: 3px solid var(--gold-500);
    border-radius: var(--radius-md);
}

.cta-section {
    padding: clamp(30px, 6vw, 56px);
    text-align: center;
    background: linear-gradient(135deg, var(--blue-950), var(--blue-800));
    border-radius: var(--radius-xl);
    border-top: 4px solid var(--gold-500);
}

.cta-section h2 {
    color: var(--white);
}

.cta-section p {
    margin-right: auto;
    margin-left: auto;
    color: rgb(255 255 255 / 72%);
}

.cta-section .hero-actions {
    justify-content: center;
}

.cta-section .button-secondary {
    color: var(--white);
    background: transparent;
    border-color: rgb(255 255 255 / 35%);
}

.cta-section .button-secondary:hover {
    background: rgb(255 255 255 / 10%);
}

.auth-card {
    max-width: 460px;
    margin: 0 auto;
    padding: 36px;
    border-radius: var(--radius-lg);
}

.auth-card--wide {
    max-width: 640px;
}

.auth-card p {
    color: var(--muted);
}

.form {
    display: grid;
    gap: 14px;
    margin-top: 24px;
}

.form label {
    color: var(--blue-950);
    font-weight: 700;
}

.form input:not([type="checkbox"]):not([type="radio"]),
.form select,
.form textarea {
    width: 100%;
    padding: 13px 14px;
    color: var(--blue-950);
    background: var(--white);
    border: 1px solid var(--silver-200);
    border-radius: 14px;
    font: inherit;
}

.form input[type="checkbox"],
.form input[type="radio"] {
    width: 1.1rem;
    height: 1.1rem;
    margin: 0;
    padding: 0;
    accent-color: var(--blue-800);
    flex-shrink: 0;
}

.form div:has(> input[type="checkbox"]),
.form div:has(> input[type="radio"]) {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.form div:has(> input[type="checkbox"]) > ul,
.form div:has(> input[type="radio"]) > ul {
    flex-basis: 100%;
    margin: 0;
}

.form textarea {
    min-height: 140px;
    resize: vertical;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
    border-color: var(--blue-600);
    outline: 3px solid rgb(29 108 159 / 16%);
}

.form ul {
    margin: 0;
    padding-left: 20px;
    color: #b91c1c;
}

.auth-link {
    margin-top: 24px;
}

.alert {
    margin-bottom: 18px;
    padding: 14px 16px;
    border-radius: 16px;
}

.alert-success {
    color: #14532d;
    background: #dcfce7;
}

.alert-error,
.alert-danger {
    color: #991b1b;
    background: #fee2e2;
}

.alert-pending {
    color: #92400e;
    background: #fef3c7;
}

.admin-layout {
    background: linear-gradient(180deg, #eef3f7 0%, #f8fbfd 40%, #ffffff 100%);
}

.admin-topbar {
    position: sticky;
    z-index: 20;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 12px clamp(16px, 4vw, 32px);
    color: var(--white);
    background: linear-gradient(90deg, var(--blue-950), var(--blue-800));
    border-bottom: 1px solid rgb(69 183 201 / 22%);
    box-shadow: 0 8px 24px rgb(8 24 40 / 18%);
}

.admin-topbar a {
    color: rgb(255 255 255 / 92%);
    font-weight: 700;
}

.admin-topbar a:hover {
    color: var(--teal-500);
    text-decoration: none;
}

.admin-topbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.admin-topbar-brand:hover {
    color: var(--white);
    text-decoration: none;
}

.admin-topbar-brand small {
    display: block;
    color: var(--gold-500);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.admin-topbar-nav,
.admin-topbar-end {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px 18px;
    font-size: 0.92rem;
}

.admin-topbar-nav a[aria-current="page"] {
    color: var(--teal-500);
}

.admin-topbar-user {
    color: rgb(255 255 255 / 62%);
    font-size: 0.88rem;
    font-weight: 600;
}

.admin-page {
    flex: 1;
    width: min(1320px, calc(100% - 32px));
    margin: 0 auto;
    padding: 28px 0 48px;
}

.admin-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 24px;
    margin-top: auto;
    padding: 16px clamp(16px, 4vw, 32px);
    color: var(--muted);
    font-size: 0.85rem;
    background: rgb(255 255 255 / 72%);
    border-top: 1px solid rgb(174 187 200 / 32%);
}

.admin-footer p {
    margin: 0;
}

.admin-footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 20px;
}

.admin-footer a {
    font-weight: 700;
}

.admin-shell {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 24px;
}

.admin-sidebar,
.admin-card {
    background: rgb(255 255 255 / 92%);
    border: 1px solid rgb(174 187 200 / 32%);
    border-radius: 24px;
    box-shadow: var(--shadow);
}

.admin-sidebar {
    position: sticky;
    top: var(--admin-sidebar-top, 88px);
    align-self: start;
    padding: 22px;
}

.admin-sidebar nav {
    display: grid;
    gap: 8px;
}

.admin-sidebar a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 11px 13px;
    color: var(--blue-950);
    font-weight: 800;
    border-radius: 14px;
}

.admin-nav-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.35rem;
    height: 1.35rem;
    padding: 0 5px;
    box-sizing: border-box;
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 800;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    background: var(--blue-600);
    border-radius: 999px;
    flex-shrink: 0;
}

.admin-sidebar a.is-active .admin-nav-badge {
    color: var(--blue-950);
    background: var(--gold-500);
}

.admin-sidebar a:hover,
.admin-sidebar a.is-active {
    background: var(--silver-100);
    text-decoration: none;
}

.admin-sidebar a.is-active {
    color: var(--blue-600);
    box-shadow: inset 3px 0 0 var(--blue-600);
}

.admin-content {
    display: grid;
    gap: 22px;
}

.admin-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
}

.admin-header-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.admin-header h1,
.admin-card h2 {
    margin: 0;
    color: var(--blue-950);
    letter-spacing: -0.04em;
}

.admin-header h1 {
    font-size: clamp(2rem, 4vw, 3.2rem);
}

.admin-card {
    overflow: auto;
    padding: 24px;
}

.admin-grid,
.admin-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.admin-stats {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.admin-stats article {
    padding: 24px;
    background: linear-gradient(180deg, #ffffff, var(--silver-100));
    border: 1px solid rgb(174 187 200 / 32%);
    border-radius: 22px;
    box-shadow: var(--shadow);
}

.admin-stats span {
    display: block;
    color: var(--muted);
    font-weight: 700;
}

.admin-stats strong {
    display: block;
    margin-top: 10px;
    color: var(--blue-950);
    font-size: 2.2rem;
}

.admin-table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    padding: 14px 12px;
    text-align: left;
    vertical-align: middle;
    border-bottom: 1px solid var(--silver-200);
}

.admin-table th {
    color: var(--muted);
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.table-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.admin-table td.table-actions {
    display: table-cell;
    white-space: nowrap;
}

.admin-table td.table-actions > * {
    display: inline-block;
    vertical-align: middle;
}

.admin-table td.table-actions > * + * {
    margin-left: 12px;
}

.table-actions form {
    margin: 0;
}

.table-actions button {
    padding: 0;
    color: #b91c1c;
    font: inherit;
    font-weight: 700;
    background: none;
    border: 0;
    cursor: pointer;
}

.admin-form {
    max-width: 720px;
}

.admin-form-section-title {
    margin: 28px 0 12px;
    color: var(--blue-950);
    font-size: 1.05rem;
    font-weight: 600;
}

.admin-form-grid > div {
    display: grid;
    gap: 8px;
}

.admin-form-grid > div:has(> input[type="checkbox"]),
.admin-form-grid > div:has(> input[type="radio"]) {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.admin-form-field:has(> input[type="checkbox"]),
.admin-form-field:has(> input[type="radio"]) {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.admin-choice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
    margin-top: 8px;
}

.admin-choice-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 0;
    padding: 14px 16px;
    background: var(--silver-100);
    border: 1px solid var(--silver-200);
    border-radius: 14px;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.admin-choice-card:hover {
    border-color: rgb(69 183 201 / 45%);
}

.admin-choice-card:has(input:checked) {
    border-color: var(--blue-600);
    background: rgb(69 183 201 / 10%);
    box-shadow: inset 0 0 0 1px rgb(69 183 201 / 18%);
}

.admin-choice-card input[type="checkbox"] {
    margin-top: 3px;
    flex-shrink: 0;
    accent-color: var(--blue-800);
}

.admin-choice-card__content {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.admin-choice-card__label {
    font-weight: 600;
    color: var(--blue-950);
    line-height: 1.35;
}

.admin-choice-card__hint,
.admin-choice-card__code {
    font-size: 0.88rem;
    line-height: 1.4;
}

.admin-choice-card__hint {
    color: var(--muted);
}

.admin-choice-card__code {
    color: var(--text);
    background: rgb(255 255 255 / 70%);
    border-radius: 6px;
    padding: 2px 6px;
    width: fit-content;
}

.admin-form-field {
    display: grid;
    gap: 8px;
}

.shop-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 28px;
    align-items: stretch;
    margin-bottom: 28px;
    padding: clamp(28px, 5vw, 48px);
    background: linear-gradient(105deg, var(--white), var(--silver-100));
    border: 1px solid var(--border);
    border-top: 4px solid var(--gold-500);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-soft);
}

.shop-hero h1 {
    margin: 0 0 16px;
    color: var(--blue-950);
    font-size: clamp(2rem, 5vw, 3.2rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.shop-hero p {
    max-width: 680px;
    color: var(--muted);
    font-size: 1.1rem;
    line-height: 1.7;
}

.shop-hero-card {
    display: grid;
    place-content: center;
    padding: 24px;
    color: var(--white);
    text-align: center;
    background: linear-gradient(155deg, var(--blue-950), var(--blue-800));
    border-radius: var(--radius-lg);
}

.shop-hero-card span {
    font-size: 3.6rem;
    font-weight: 900;
    line-height: 1;
}

.shop-layout {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 24px;
}

.shop-sidebar,
.shop-product-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.shop-sidebar {
    position: sticky;
    top: 96px;
    align-self: start;
    padding: 22px;
}

.shop-sidebar nav {
    display: grid;
    gap: 8px;
}

.shop-sidebar a,
.shop-sidebar-link {
    padding: 11px 13px;
    color: var(--blue-950);
    font-weight: 800;
    border-radius: 14px;
}

.shop-sidebar-link--child {
    margin-left: 14px;
    padding-left: 22px;
    color: var(--ink);
    font-size: 0.92rem;
    font-weight: 600;
    border-left: 2px solid rgb(174 187 200 / 40%);
    border-radius: 0 14px 14px 0;
}

.shop-sidebar a:hover,
.shop-sidebar a.active,
.shop-sidebar-link:hover,
.shop-sidebar-link.active {
    background: var(--silver-100);
    text-decoration: none;
}

.shop-sidebar-link--child.active {
    border-left-color: var(--teal-500);
}

.shop-heading {
    margin-bottom: 24px;
}

.shop-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.shop-product-card {
    overflow: hidden;
    min-width: 0;
}

.shop-product-body {
    display: grid;
    gap: 18px;
    padding: 24px;
    min-width: 0;
}

.shop-product-media {
    display: grid;
    min-height: 230px;
    place-items: center;
    background:
        radial-gradient(circle at 70% 20%, rgb(69 183 201 / 18%), transparent 18rem),
        linear-gradient(180deg, #ffffff, var(--silver-100));
}

.shop-product-media img {
    width: 100%;
    height: 230px;
    object-fit: cover;
}

.shop-product-media span {
    display: grid;
    width: 104px;
    height: 104px;
    place-items: center;
    color: var(--white);
    font-size: 2rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--blue-950), var(--teal-500));
    border-radius: 50%;
}

.shop-category {
    margin: 0 0 8px;
    color: var(--gold-500);
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    overflow-wrap: anywhere;
}

.shop-product-body h3 {
    margin: 0 0 10px;
    color: var(--blue-950);
    font-size: 1.55rem;
    letter-spacing: -0.04em;
    overflow-wrap: anywhere;
    hyphens: auto;
}

.shop-product-body p {
    color: var(--muted);
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.shop-product-body > div {
    min-width: 0;
}

.shop-prices {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 0;
}

.shop-prices div {
    padding: 14px;
    background: var(--silver-100);
    border: 1px solid var(--silver-200);
    border-radius: 16px;
}

.shop-prices dt {
    color: var(--muted);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
}

.shop-prices dd {
    margin: 6px 0 0;
    color: var(--blue-950);
    font-size: 1.2rem;
    font-weight: 900;
}

.shop-prices--single {
    grid-template-columns: 1fr;
}

.shop-prices--promo div {
    position: relative;
    border-color: rgb(22 101 52 / 22%);
    background: rgb(240 253 244 / 80%);
}

.shop-promo-badge {
    display: inline-block;
    margin-bottom: 8px;
    padding: 4px 10px;
    color: #166534;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: rgb(220 252 231 / 90%);
    border-radius: 999px;
}

.shop-price-promo {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: baseline;
    min-width: 0;
}

.shop-price-old {
    color: var(--muted);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: line-through;
}

.shop-price-unavailable {
    color: var(--muted);
    font-size: 0.95rem;
    font-weight: 600;
}

.shop-price-locked {
    margin: 0;
    padding: 14px 16px;
    color: var(--muted);
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.5;
    background: rgb(239 247 252 / 70%);
    border: 1px dashed rgb(174 187 200 / 45%);
    border-radius: 14px;
}

.admin-form-full {
    grid-column: 1 / -1;
}

.admin-multiselect-search {
    display: grid;
    gap: 8px;
    margin-bottom: 8px;
}

.admin-multiselect-search-input {
    width: 100%;
    padding: 10px 12px;
    color: var(--blue-950);
    background: var(--white);
    border: 1px solid var(--silver-200);
    border-radius: 14px;
    font: inherit;
}

.admin-multiselect-search-input:focus {
    border-color: var(--blue-600);
    outline: 3px solid rgb(29 108 159 / 16%);
}

.admin-multiselect-search-select {
    min-height: 180px;
}

.admin-multiselect-search-select--tree,
.admin-select-tree {
    font-family: ui-monospace, "Cascadia Code", "Segoe UI Mono", monospace;
}

.admin-multiselect-search-help {
    margin: 0;
}

.admin-mode-select {
    display: grid;
    gap: 8px;
    max-width: 420px;
    margin-bottom: 20px;
}

.admin-mode-select label {
    font-weight: 700;
}

.admin-select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--silver-200);
    border-radius: 8px;
    background: #fff;
    font: inherit;
}

.admin-form-help {
    margin: 0 0 16px;
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.6;
}

.admin-form-help code {
    padding: 2px 6px;
    font-size: 0.85em;
    background: var(--silver-100);
    border-radius: 6px;
}

.admin-collection {
    display: grid;
    gap: 14px;
}

.admin-collection-item {
    padding: 16px;
    background: var(--silver-100);
    border: 1px solid var(--silver-200);
    border-radius: 16px;
}

.admin-price-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.admin-price-list li {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 8px;
    font-size: 0.85rem;
}

.admin-price-list li:last-child {
    margin-bottom: 0;
}

.admin-price-list span {
    color: var(--muted);
}

.admin-card--highlight {
    margin-bottom: 22px;
    border-color: rgb(29 108 159 / 28%);
}

.admin-details {
    display: grid;
    gap: 12px;
    margin: 0 0 24px;
}

.admin-details dt {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.admin-details dd {
    margin: 4px 0 0;
    color: var(--blue-950);
}

.admin-quick-actions {
    display: grid;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgb(174 187 200 / 28%);
}

.admin-reject-form {
    display: grid;
    gap: 10px;
}

.status-badge {
    display: inline-block;
    padding: 4px 10px;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    border-radius: 999px;
}

.status-badge--en_attente {
    color: #92400e;
    background: #fef3c7;
}

.status-badge--valide {
    color: #14532d;
    background: #dcfce7;
}

.status-badge--refuse {
    color: #991b1b;
    background: #fee2e2;
}

.shop-product-footer {
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 10px;
}

.shop-product-footer > .button,
.shop-product-footer > .shop-add-form {
    flex: 1 1 8rem;
    min-width: 0;
}

.shop-product-footer .shop-add-form .button {
    width: 100%;
}

.shop-pending-pro {
    color: var(--muted);
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1.4;
    text-align: right;
}

.shop-add-form {
    margin: 0;
    min-width: 0;
}

.cart-hero {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
    padding: clamp(28px, 5vw, 42px);
    background: rgb(239 247 252 / 82%);
    border: 1px solid rgb(29 108 159 / 24%);
    border-radius: 24px;
    box-shadow: var(--shadow);
}

.cart-hero h1 {
    margin: 0 0 10px;
    color: var(--blue-950);
}

.cart-hero p {
    margin: 0;
    color: var(--muted);
}

.cart-layout,
.checkout-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.8fr);
    gap: 24px;
    align-items: start;
}

.checkout-main {
    grid-column: 1;
    grid-row: 1;
}

.checkout-layout > .cart-summary {
    grid-column: 2;
    grid-row: 1 / span 2;
}

.checkout-submit {
    grid-column: 1;
    grid-row: 2;
    width: 100%;
    margin-top: 4px;
}

.cart-empty {
    text-align: center;
}

.cart-ref {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 0.85rem;
}

.cart-qty-input {
    width: 80px;
    padding: 8px 10px;
    border: 1px solid var(--silver-200);
    border-radius: 10px;
    font: inherit;
}

.cart-qty-input:focus {
    border-color: var(--blue-600);
    outline: 3px solid rgb(29 108 159 / 16%);
}

tr.is-updating .cart-qty-input {
    opacity: 0.6;
}

.cart-qty-error {
    margin: 6px 0 0;
    color: #b91c1c;
    font-size: 0.82rem;
    font-weight: 600;
}

.cart-summary.is-loading,
.checkout-fieldset.is-loading {
    opacity: 0.65;
    transition: opacity 0.15s ease;
}

.cart-summary h2 {
    margin: 0 0 16px;
    color: var(--blue-950);
}

.cart-summary-list {
    display: grid;
    gap: 12px;
    margin: 0 0 20px;
}

.cart-summary-list div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.cart-summary-list dt {
    color: var(--muted);
    font-weight: 700;
}

.cart-summary-list dd {
    margin: 0;
    color: var(--blue-950);
    font-weight: 800;
}

.cart-summary-note {
    margin: 0 0 18px;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

.cart-summary .button,
.cart-summary .button-secondary {
    display: block;
    width: 100%;
    margin-top: 10px;
    text-align: center;
}

.checkout-code-promo-apply.button-secondary {
    margin-top: 0;
}

.checkout-fieldset {
    margin: 0 0 22px;
    padding: 0;
    border: 0;
}

.checkout-address-picker {
    margin-bottom: 20px;
}

.checkout-livraison-collapse {
    margin: 8px 0 20px;
    padding-top: 8px;
    border-top: 1px solid rgb(174 187 200 / 28%);
}

.checkout-livraison-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    padding: 0;
    color: var(--blue-800);
    font: inherit;
    font-size: 0.95rem;
    font-weight: 700;
    text-align: left;
    text-decoration: underline;
    background: none;
    border: 0;
    cursor: pointer;
}

.checkout-livraison-trigger:hover {
    color: var(--blue-950);
}

.checkout-livraison-trigger::after {
    content: "";
    flex-shrink: 0;
    width: 0.45rem;
    height: 0.45rem;
    border-right: 2px solid currentcolor;
    border-bottom: 2px solid currentcolor;
    transform: rotate(45deg) translateY(-2px);
    transition: transform 0.25s ease;
}

.checkout-livraison-collapse.is-open .checkout-livraison-trigger::after {
    transform: rotate(-135deg) translateY(2px);
}

.checkout-livraison-panel {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.28s ease;
}

.checkout-livraison-collapse.is-open .checkout-livraison-panel {
    grid-template-rows: 1fr;
}

.checkout-livraison-panel-inner {
    min-height: 0;
    overflow: hidden;
}

.checkout-livraison-collapse.is-open .checkout-livraison-panel-inner {
    padding-top: 18px;
    overflow: visible;
}

.checkout-livraison-title {
    margin: 0 0 16px;
    color: var(--blue-950);
    font-size: 1rem;
    font-weight: 800;
}

.checkout-address-picker label {
    display: block;
    margin-bottom: 8px;
    color: var(--blue-950);
    font-size: 0.88rem;
    font-weight: 800;
}

.checkout-address-select {
    width: 100%;
    padding: 12px 14px;
    color: var(--ink);
    font: inherit;
    background: var(--white);
    border: 1px solid rgb(174 187 200 / 45%);
    border-radius: 14px;
}

.checkout-address-hint {
    margin: 0 0 18px;
    padding: 12px 14px;
    color: var(--muted);
    font-size: 0.92rem;
    background: rgb(239 247 252 / 70%);
    border-radius: 14px;
}

.checkout-fieldset legend {
    margin-bottom: 14px;
    color: var(--blue-950);
    font-weight: 800;
}

.checkout-lines {
    margin: 0 0 20px;
    padding: 0;
    list-style: none;
}

.checkout-lines li {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgb(174 187 200 / 22%);
}

.checkout-lines li:last-child {
    border-bottom: 0;
}

.checkout-options {
    display: grid;
    gap: 10px;
}

.checkout-option {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 12px;
    align-items: start;
    padding: 14px 16px;
    border: 1px solid rgb(174 187 200 / 45%);
    border-radius: 14px;
    background: rgb(255 255 255 / 92%);
    cursor: pointer;
}

.checkout-option input {
    width: auto;
    margin-top: 4px;
}

.checkout-option-body {
    display: grid;
    gap: 4px;
}

.checkout-option-desc {
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.5;
}

.checkout-option-price {
    color: var(--blue-950);
    font-weight: 700;
    white-space: nowrap;
}

.checkout-option--disabled {
    opacity: 0.55;
}

.checkout-code-promo {
    margin: 0 0 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgb(174 187 200 / 28%);
}

.checkout-code-promo-label {
    display: block;
    margin: 0 0 8px;
    color: var(--blue-950);
    font-weight: 800;
}

.checkout-code-promo-row {
    display: grid;
    gap: 10px;
}

.checkout-code-promo-input {
    width: 100%;
    padding: 12px 14px;
    color: var(--blue-950);
    font: inherit;
    background: var(--white);
    border: 1px solid rgb(174 187 200 / 55%);
    border-radius: 10px;
}

.checkout-code-promo-input:focus {
    border-color: var(--blue-600);
    outline: none;
    box-shadow: 0 0 0 3px rgb(37 99 168 / 12%);
}

.checkout-code-promo-apply {
    width: 100%;
    min-height: 42px;
    margin: 0;
    padding: 0 16px;
    font-size: 0.92rem;
}

.checkout-code-promo-help {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.checkout-code-promo-error {
    margin: 0 0 12px;
    color: #b91c1c;
    font-size: 0.92rem;
}

.checkout-code-promo-success {
    margin: 0 0 12px;
    color: #166534;
    font-size: 0.92rem;
}

.order-totals {
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid rgb(174 187 200 / 28%);
}

.table-actions-button {
    padding: 0;
    color: var(--blue-600);
    background: none;
    border: 0;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.table-actions-button:hover {
    text-decoration: underline;
}

.sortable-col-handle {
    width: 2.5rem;
}

.sortable-handle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    padding: 0;
    color: var(--muted);
    background: none;
    border: 0;
    border-radius: 6px;
    font-size: 1.1rem;
    line-height: 1;
    cursor: grab;
    touch-action: none;
}

.sortable-handle:hover {
    color: var(--blue-600);
    background: rgb(37 99 235 / 8%);
}

.sortable-handle:active {
    cursor: grabbing;
}

.admin-table tr.is-dragging {
    opacity: 0.45;
}

.admin-table tr.is-drag-over td {
    box-shadow: inset 0 2px 0 var(--blue-600);
}

.account-hero {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
    padding: clamp(28px, 5vw, 42px);
    background: rgb(239 247 252 / 82%);
    border: 1px solid rgb(29 108 159 / 24%);
    border-radius: 24px;
    box-shadow: var(--shadow);
}

.account-hero h1 {
    margin: 0 0 8px;
    color: var(--blue-950);
}

.account-hero p {
    margin: 0;
    color: var(--muted);
}

.account-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.8fr);
    gap: 24px;
    margin-bottom: 24px;
}

.account-actions h2,
.account-layout .admin-card h2 {
    margin: 0 0 16px;
    color: var(--blue-950);
}

.account-links {
    display: grid;
    gap: 10px;
}

.account-links a {
    display: block;
    padding: 12px 14px;
    color: var(--blue-950);
    font-weight: 700;
    background: var(--silver-100);
    border: 1px solid rgb(174 187 200 / 28%);
    border-radius: 14px;
}

.account-links a:hover {
    background: rgb(15 61 94 / 6%);
    text-decoration: none;
}

.account-logout {
    color: #991b1b !important;
    background: #fef2f2 !important;
    border-color: rgb(185 28 28 / 18%) !important;
}

.account-muted {
    margin: 0;
    color: var(--muted);
}

.account-form-notice {
    margin: 0 0 20px;
    padding: 14px 16px;
    color: #92400e;
    font-size: 0.92rem;
    line-height: 1.6;
    background: #fef3c7;
    border: 1px solid rgb(217 119 6 / 18%);
    border-radius: 14px;
}

.account-form {
    margin-top: 4px;
}

.account-status-meta {
    margin: 8px 0 20px;
    padding-top: 18px;
    border-top: 1px solid rgb(174 187 200 / 28%);
}

.account-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.account-section-header h2 {
    margin: 0;
}

.account-addresses {
    margin-bottom: 24px;
}

.account-address-form {
    max-width: 760px;
}

.account-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 8px;
}

.address-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.address-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 18px;
    background: rgb(239 247 252 / 55%);
    border: 1px solid rgb(174 187 200 / 32%);
    border-radius: 18px;
}

.address-card--default {
    border-color: rgb(29 108 159 / 38%);
    box-shadow: inset 0 0 0 1px rgb(29 108 159 / 10%);
}

.address-card-header h3 {
    margin: 0;
    color: var(--blue-950);
    font-size: 1rem;
}

.address-badge {
    display: inline-block;
    margin-top: 6px;
    padding: 4px 10px;
    color: var(--blue-950);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: rgb(69 183 201 / 18%);
    border-radius: 999px;
}

.address-card-body {
    flex: 1;
    margin: 0;
    color: var(--ink);
    font-size: 0.92rem;
    font-style: normal;
    line-height: 1.6;
}

.address-phone {
    color: var(--muted);
}

.address-card-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 16px;
    padding-top: 12px;
    border-top: 1px solid rgb(174 187 200 / 24%);
    font-size: 0.9rem;
    font-weight: 700;
}

.address-card-actions form {
    margin: 0;
}

.address-link-button {
    padding: 0;
    color: var(--blue-800);
    font: inherit;
    font-weight: 700;
    background: none;
    border: 0;
    cursor: pointer;
}

.address-link-button:hover {
    text-decoration: underline;
}

.address-link-button--danger {
    color: #b91c1c;
}

.account-orders {
    margin-bottom: 24px;
}

.account-orders-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.account-orders-header h2 {
    margin: 0;
    color: var(--blue-950);
}

.laboratory-hero,
.laboratory-story,
.laboratory-process,
.laboratory-recognition {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-soft);
}

.laboratory-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.42fr);
    gap: clamp(28px, 6vw, 56px);
    align-items: stretch;
    overflow: hidden;
    padding: clamp(32px, 6vw, 56px);
    background: linear-gradient(105deg, var(--white), var(--silver-100));
    border-top: 4px solid var(--gold-500);
}

.laboratory-hero h1,
.laboratory-story h2,
.laboratory-process h2,
.laboratory-recognition h2 {
    margin: 0 0 18px;
    color: var(--blue-950);
    line-height: 1.12;
    letter-spacing: -0.02em;
}

.laboratory-hero h1 {
    max-width: 820px;
    font-size: clamp(2.2rem, 5.5vw, 3.6rem);
}

.laboratory-hero p,
.laboratory-story p,
.laboratory-process p,
.laboratory-recognition p {
    color: var(--muted);
    font-size: 1.08rem;
    line-height: 1.8;
}

.laboratory-hero-content p {
    max-width: 700px;
}

.laboratory-identity-card {
    display: grid;
    align-content: end;
    min-height: 300px;
    padding: 28px;
    color: var(--white);
    background: linear-gradient(160deg, var(--blue-950), var(--blue-800));
    border-radius: var(--radius-lg);
}

.laboratory-identity-card span {
    color: var(--gold-500);
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.laboratory-identity-card strong {
    display: block;
    margin: 16px 0;
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.laboratory-identity-card p {
    color: rgb(255 255 255 / 74%);
}

.laboratory-story,
.laboratory-process,
.laboratory-recognition {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.75fr);
    gap: clamp(28px, 6vw, 64px);
    margin-top: 32px;
    padding: clamp(30px, 6vw, 64px);
}

.laboratory-story h2,
.laboratory-process h2,
.laboratory-recognition h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
}

.story-copy p {
    max-width: 620px;
}

.story-visual {
    display: grid;
    min-height: 420px;
    place-items: center;
    background: linear-gradient(135deg, var(--silver-100), #dce8f0);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.story-totem {
    display: grid;
    width: min(260px, 78%);
    min-height: 360px;
    place-content: center;
    padding: 28px;
    color: var(--white);
    text-align: center;
    background: linear-gradient(160deg, var(--blue-950), var(--blue-800));
    border-radius: var(--radius-lg) var(--radius-lg) 80px var(--radius-lg);
    box-shadow: var(--shadow);
}

.story-totem span,
.story-totem small {
    color: rgb(255 255 255 / 70%);
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.story-totem strong {
    margin: 10px 0;
    font-size: clamp(4rem, 10vw, 6.2rem);
    line-height: 1;
}

.laboratory-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 32px;
}

.laboratory-values article,
.process-list article {
    padding: 22px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-top: 3px solid var(--gold-500);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.laboratory-values span {
    color: var(--gold-500);
    font-weight: 900;
}

.laboratory-values h3 {
    margin: 18px 0 10px;
    color: var(--blue-950);
    font-size: 1.35rem;
}

.laboratory-values p,
.process-list span {
    color: var(--muted);
    line-height: 1.7;
}

.process-list {
    display: grid;
    gap: 14px;
}

.process-list strong {
    display: block;
    margin-bottom: 8px;
    color: var(--blue-950);
    font-size: 1.05rem;
}

.laboratory-recognition {
    align-items: center;
    background:
        linear-gradient(135deg, rgb(12 32 56 / 96%), rgb(18 61 102 / 90%)),
        radial-gradient(circle at top right, rgb(69 183 201 / 28%), transparent 24rem);
}

.laboratory-recognition h2 {
    color: var(--white);
}

.laboratory-recognition p {
    color: rgb(255 255 255 / 74%);
}

.contact-hero {
    width: min(960px, 100%);
    margin: 0 auto 28px;
    padding: clamp(28px, 5vw, 48px) clamp(24px, 5vw, 40px);
    text-align: center;
    background: var(--white);
    border: 1px solid var(--border);
    border-top: 4px solid var(--gold-500);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-soft);
}

.contact-hero h1 {
    margin: 0 0 16px;
    color: var(--blue-950);
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1.12;
    letter-spacing: -0.02em;
}

.contact-hero p {
    max-width: 560px;
    margin: 0 auto;
    color: var(--muted);
    line-height: 1.7;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(240px, 0.9fr) minmax(0, 1.4fr);
    gap: 24px;
    width: min(1080px, 100%);
    margin: 0 auto;
}

.contact-info,
.contact-form-card {
    padding: clamp(24px, 4vw, 36px);
    background: rgb(255 255 255 / 90%);
    border: 1px solid rgb(174 187 200 / 32%);
    border-radius: 24px;
    box-shadow: var(--shadow);
}

.contact-info h2,
.contact-form-card h2 {
    margin: 0 0 12px;
    color: var(--blue-950);
    font-size: 1.35rem;
}

.contact-lead,
.contact-form-card > p {
    margin: 0 0 20px;
    color: var(--muted);
    line-height: 1.7;
}

.contact-details {
    display: grid;
    gap: 18px;
    margin: 0;
}

.contact-details dt {
    margin-bottom: 4px;
    color: var(--blue-600);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.contact-details dd {
    margin: 0;
    color: var(--blue-950);
    line-height: 1.6;
}

.contact-note {
    margin: 24px 0 0;
    padding-top: 18px;
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.6;
    border-top: 1px solid rgb(174 187 200 / 28%);
}

.contact-form-card .form {
    margin-top: 18px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.faq-page {
    width: min(1120px, 100%);
    margin-right: auto;
    margin-left: auto;
}

.faq-hero-band {
    position: relative;
    padding: clamp(36px, 6vw, 56px) clamp(20px, 4vw, 32px) clamp(72px, 10vw, 96px);
    color: var(--white);
    text-align: center;
    background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-800) 55%, var(--blue-600) 100%);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.faq-hero-band-inner {
    max-width: 720px;
    margin: 0 auto;
}

.eyebrow--light {
    color: rgb(255 255 255 / 72%);
}

.faq-hero-band h1 {
    margin: 0;
    color: var(--white);
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.faq-categories {
    position: absolute;
    right: clamp(16px, 4vw, 32px);
    bottom: 0;
    left: clamp(16px, 4vw, 32px);
    display: flex;
    flex-wrap: wrap;
    gap: clamp(12px, 2vw, 20px);
    justify-content: center;
    transform: translateY(50%);
}

.faq-category-card {
    display: grid;
    gap: 14px;
    justify-items: center;
    width: min(100%, 150px);
    min-height: 132px;
    padding: 22px 16px 18px;
    color: var(--blue-950);
    text-decoration: none;
    background: var(--white);
    border: 1px solid rgb(174 187 200 / 28%);
    border-radius: 16px;
    box-shadow: 0 18px 40px rgb(12 32 56 / 14%);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.faq-category-card:hover {
    text-decoration: none;
    transform: translateY(-4px);
    box-shadow: 0 22px 48px rgb(12 32 56 / 18%);
}

.faq-category-card.is-active {
    border-color: var(--gold-500);
    box-shadow: 0 20px 44px rgb(12 32 56 / 16%), inset 0 0 0 1px rgb(201 164 74 / 35%);
}

.faq-category-icon {
    display: grid;
    width: 56px;
    height: 56px;
    place-items: center;
}

.faq-category-glyph {
    display: inline-block;
    color: #0c71c3;
    font-family: "Font Awesome 5 Free", sans-serif;
    font-size: 3.25rem;
    font-style: normal;
    font-weight: 900;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
}

.faq-category-label {
    font-size: 0.92rem;
    font-weight: 800;
    line-height: 1.35;
    text-align: center;
}

.faq-category-card.is-active .faq-category-label {
    color: var(--blue-900);
}

.faq-hero,
.faq-section {
    width: min(960px, 100%);
    margin-right: auto;
    margin-left: auto;
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
}

.faq-section {
    width: min(1120px, 100%);
    padding: clamp(72px, 10vw, 96px) clamp(18px, 5vw, 56px) clamp(28px, 5vw, 48px);
    border: 1px solid var(--border);
    border-top: 0;
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
    box-shadow: var(--shadow-soft);
}

.faq-section-header {
    max-width: 760px;
    margin: 0 auto 28px;
    text-align: center;
}

.faq-section-header h2 {
    margin: 0 0 14px;
    color: var(--blue-950);
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.faq-section-header h2::first-letter {
    color: var(--gold-600);
}

.faq-section-header p {
    margin: 0;
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

.faq-list {
    display: grid;
    gap: 14px;
}

.faq-item {
    overflow: hidden;
    background: rgb(255 255 255 / 72%);
    border: 1px solid rgb(174 187 200 / 28%);
    border-radius: 12px;
    box-shadow: 0 12px 30px rgb(12 32 56 / 8%);
}

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 26px;
    color: var(--text);
    font-size: 1.05rem;
    font-weight: 800;
    cursor: pointer;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary strong {
    color: rgb(102 119 137 / 72%);
    font-size: 1.45rem;
    line-height: 1;
}

.faq-item[open] summary strong {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 26px 24px;
    color: var(--muted);
    line-height: 1.8;
}

@media (max-width: 720px) {
    .faq-categories {
        position: static;
        transform: none;
        margin-top: 28px;
    }

    .faq-category-card {
        width: calc(50% - 8px);
        min-height: 118px;
        padding: 18px 12px 14px;
    }

    .faq-section {
        padding-top: 28px;
    }
}

@media (max-width: 640px) {
    .site-header {
        align-items: center;
        flex-direction: row;
    }

    .page {
        padding: 32px 0;
    }

    .auth-card {
        padding: 28px 22px;
    }
}

@media (max-width: 980px) {
    .hero,
    .section-heading,
    .split-section,
    .admin-shell,
    .admin-grid,
    .shop-hero,
    .shop-layout,
    .laboratory-hero,
    .laboratory-story,
    .laboratory-process,
    .laboratory-recognition,
    .contact-layout,
    .site-footer-inner,
    .cart-layout,
    .checkout-layout,
    .account-layout {
        grid-template-columns: 1fr;
    }

    .checkout-main {
        grid-column: 1;
        grid-row: 1;
    }

    .checkout-layout > .cart-summary {
        grid-column: 1;
        grid-row: 2;
    }

    .checkout-submit {
        grid-column: 1;
        grid-row: 3;
        margin-top: 0;
    }

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

    .trust-strip,
    .product-grid,
    .shop-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-stats,
    .laboratory-values {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-sidebar {
        position: static;
    }

    .admin-topbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-topbar-nav,
    .admin-topbar-end {
        width: 100%;
    }

    .shop-sidebar {
        position: static;
    }
}

@media (max-width: 980px) and (min-width: 641px) {
    .shop-product-body {
        padding: 18px;
    }

    .shop-product-body h3 {
        font-size: 1.25rem;
        line-height: 1.3;
    }

    .shop-product-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .shop-product-footer > .button,
    .shop-product-footer > .shop-add-form {
        flex: none;
        width: 100%;
    }

    .shop-product-footer .button {
        white-space: normal;
        text-align: center;
    }
}

@media (max-width: 640px) {
    .hero-panel dl,
    .trust-strip,
    .product-grid,
    .shop-prices,
    .admin-stats {
        grid-template-columns: 1fr;
    }

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

    .shop-product-body {
        padding: 18px;
        gap: 14px;
    }

    .shop-product-body h3 {
        font-size: 1.2rem;
        line-height: 1.25;
    }

    .shop-product-body p {
        font-size: 0.92rem;
    }

    .shop-product-media,
    .shop-product-media img {
        min-height: 200px;
        height: 200px;
    }

    .shop-prices dd {
        font-size: 1.05rem;
    }

    .shop-product-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .shop-product-footer > .button,
    .shop-product-footer > .shop-add-form {
        flex: none;
        width: 100%;
    }

    .shop-product-footer .button {
        min-height: 42px;
        padding: 0 16px;
        font-size: 0.9rem;
        white-space: normal;
        text-align: center;
    }

    .laboratory-values {
        grid-template-columns: 1fr;
    }

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

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

    .site-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .admin-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-footer {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Bannières publiques */
.site-banners {
    display: block;
    width: 100%;
}

.site-banner,
.site-banner-link {
    display: block;
    width: 100%;
}

.site-banners--carousel {
    position: relative;
}

.site-banners-viewport {
    position: relative;
    width: 100%;
    min-height: min(56vh, 560px);
}

.site-banners--hero.site-banners--carousel .site-banners-viewport {
    min-height: min(62vh, 640px);
}

.site-banners--section.site-banners--carousel .site-banners-viewport {
    min-height: min(40vh, 420px);
}

.site-banners--strip.site-banners--carousel .site-banners-viewport {
    min-height: 120px;
}

.site-banners--carousel .site-banner {
    position: absolute;
    inset: 0;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.7s ease, visibility 0.7s ease;
    pointer-events: none;
}

.site-banners--carousel .site-banner--overlay {
    min-height: 0;
}

.site-banners--carousel .site-banner-link,
.site-banners--carousel .site-banner:not(.site-banner--overlay) .site-banner-image {
    height: 100%;
}

.site-banners--carousel .site-banner:not(.site-banner--overlay) .site-banner-image {
    max-height: none;
    object-fit: cover;
}

.site-banners--carousel .site-banner.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 1;
}

.site-banners-controls {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

.site-banners-control {
    position: absolute;
    top: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    color: var(--white);
    font-size: 1.8rem;
    line-height: 1;
    background: rgb(23 58 92 / 45%);
    border: 1px solid rgb(255 255 255 / 25%);
    border-radius: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    pointer-events: auto;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.site-banners-control:hover {
    background: rgb(23 58 92 / 72%);
    border-color: rgb(255 255 255 / 45%);
}

.site-banners-control--prev {
    left: clamp(12px, 2vw, 24px);
}

.site-banners-control--next {
    right: clamp(12px, 2vw, 24px);
}

.site-banners-dots {
    position: absolute;
    right: 0;
    bottom: clamp(14px, 2.5vw, 24px);
    left: 0;
    z-index: 2;
    display: flex;
    gap: 10px;
    justify-content: center;
    pointer-events: none;
}

.site-banners-dot {
    width: 10px;
    height: 10px;
    margin: 0;
    padding: 0;
    background: rgb(255 255 255 / 45%);
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    pointer-events: auto;
    transition: transform 0.2s ease, background 0.2s ease;
}

.site-banners-dot.is-active {
    background: var(--white);
    transform: scale(1.15);
}

@media (prefers-reduced-motion: reduce) {
    .site-banners--carousel .site-banner {
        transition: none;
    }
}

@media (max-width: 720px) {
    .site-banners-control {
        width: 38px;
        height: 38px;
        font-size: 1.5rem;
    }
}

.site-banners--strip {
    background: var(--white);
    border-bottom: 1px solid var(--border);
}

.site-banners--strip .site-banner-image {
    display: block;
    width: 100%;
    max-height: 120px;
    object-fit: cover;
}

.site-banners--hero {
    margin-bottom: 0;
}

.site-banners--hero .site-banner-image {
    display: block;
    width: 100%;
    max-height: min(56vh, 560px);
    object-fit: cover;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.site-banners--section {
    margin-bottom: 0;
    border-bottom: 1px solid var(--border);
}

.site-banners--section .site-banner-image {
    display: block;
    width: 100%;
    max-height: min(40vh, 420px);
    object-fit: cover;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.site-banner-link:hover {
    text-decoration: none;
    opacity: 0.98;
}

.site-banner--overlay {
    position: relative;
    display: grid;
    overflow: hidden;
    min-height: min(56vh, 560px);
    background: var(--blue-950);
}

.site-banners--hero .site-banner--overlay {
    min-height: min(62vh, 640px);
}

.site-banners--section .site-banner--overlay {
    min-height: min(42vh, 460px);
}

.site-banner--overlay .site-banner-media {
    position: absolute;
    inset: 0;
}

.site-banner--overlay .site-banner-image {
    display: block;
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.site-banner-overlay {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    width: min(100%, 560px);
    min-height: inherit;
    padding: clamp(28px, 5vw, 48px);
    color: var(--white);
    background: linear-gradient(
        90deg,
        rgb(30 58 95 / 88%) 0%,
        rgb(30 58 95 / 72%) 72%,
        rgb(30 58 95 / 0%) 100%
    );
}

.site-banner-overlay-inner {
    display: grid;
    gap: 16px;
    width: 100%;
    max-width: 480px;
}

.site-banner-title {
    margin: 0;
    color: var(--white);
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.site-banner-subtitle {
    margin: 0;
    color: rgb(255 255 255 / 92%);
    font-size: clamp(0.85rem, 1.6vw, 1rem);
    font-weight: 700;
    letter-spacing: 0.14em;
    line-height: 1.4;
    text-transform: uppercase;
}

.site-banner-text {
    margin: 0;
    color: rgb(255 255 255 / 88%);
    font-size: clamp(0.9rem, 1.5vw, 1.02rem);
    line-height: 1.65;
}

.site-banner-actions {
    display: grid;
    gap: 12px;
    margin-top: 8px;
}

.site-banner-button {
    width: 100%;
    min-height: 48px;
    color: var(--white);
    font-size: 0.82rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: var(--blue-800);
    border-color: var(--blue-800);
}

.site-banner-button:hover {
    color: var(--white);
    background: var(--blue-600);
    border-color: var(--blue-600);
}

@media (max-width: 720px) {
    .site-banner-overlay {
        width: 100%;
        background: linear-gradient(
            180deg,
            rgb(30 58 95 / 90%) 0%,
            rgb(30 58 95 / 78%) 100%
        );
    }
}

/* Bannières admin */
.admin-card--spaced + .admin-card--spaced {
    margin-top: 20px;
}

.admin-banner-thumb {
    display: block;
    width: 120px;
    height: 60px;
    object-fit: cover;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--silver-100);
}

.admin-banner-preview {
    margin-bottom: 20px;
}

.admin-banner-preview-image {
    display: block;
    width: min(100%, 640px);
    max-height: 240px;
    object-fit: contain;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--silver-100);
}

.admin-detail-list {
    display: grid;
    gap: 12px;
    margin: 0;
}

.admin-detail-list div {
    display: grid;
    gap: 4px;
}

.admin-detail-list dt {
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.admin-detail-list dd {
    margin: 0;
    color: var(--text);
    font-weight: 600;
}

.admin-grid--addresses {
    margin-top: 18px;
}

.admin-address-block {
    margin: 0;
    line-height: 1.7;
}

.admin-shipping-status {
    margin-bottom: 20px;
    padding: 16px 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--silver-100);
}

.admin-shipping-status--ok {
    border-left: 4px solid #166534;
}

.admin-shipping-status p {
    margin: 0 0 8px;
}

.admin-shipping-status p:last-child {
    margin-bottom: 0;
}

.admin-shipping-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.admin-form--shipping {
    margin-bottom: 24px;
}

.admin-shipping-tracking {
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.admin-shipping-tracking h3 {
    margin: 0 0 12px;
    font-size: 1rem;
}

.admin-form--inline {
    display: grid;
    gap: 12px;
}

@media (min-width: 720px) {
    .admin-form--inline {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: end;
    }
}

.admin-shipping-generate {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.admin-shipping-generate h3 {
    margin: 0 0 14px;
    font-size: 1rem;
}

.admin-table--shipping td {
    vertical-align: top;
}

.admin-shipping-tracking-row td {
    padding-top: 0;
    padding-bottom: 18px;
    background: var(--silver-100);
}

/* =========================================
   Boutique — lien sur la vignette produit
   ========================================= */

.shop-product-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.shop-product-card-link .shop-product-media {
    transition: opacity 0.18s;
}

.shop-product-card-link:hover .shop-product-media {
    opacity: 0.88;
}

/* =========================================
   Page fiche produit
   ========================================= */

.produit-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: clamp(24px, 5vw, 56px) clamp(16px, 4vw, 40px);
}

.produit-back {
    margin-bottom: 28px;
}

.produit-back a {
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
}

.produit-back a:hover {
    color: var(--blue-950);
}

.produit-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 48px;
    align-items: start;
}

/* Galerie */
.produit-gallery {
    display: grid;
    gap: 12px;
}

.produit-gallery-main {
    overflow: hidden;
    border-radius: 20px;
    background:
        radial-gradient(circle at 70% 20%, rgb(69 183 201 / 18%), transparent 18rem),
        linear-gradient(180deg, #ffffff, var(--silver-100));
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.produit-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.produit-gallery-placeholder {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
}

.produit-gallery-placeholder span {
    display: grid;
    width: 120px;
    height: 120px;
    place-items: center;
    color: var(--white);
    font-size: 2.4rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--blue-950), var(--teal-500));
    border-radius: 50%;
}

.produit-gallery-thumbs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.produit-gallery-thumb {
    width: 72px;
    height: 72px;
    padding: 0;
    overflow: hidden;
    border: 2px solid var(--border);
    border-radius: 12px;
    background: none;
    cursor: pointer;
    transition: border-color 0.18s;
}

.produit-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.produit-gallery-thumb.active,
.produit-gallery-thumb:hover {
    border-color: var(--teal-500);
}

/* Infos */
.produit-titre {
    margin: 0 0 6px;
    color: var(--blue-950);
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    letter-spacing: -0.04em;
}

.produit-reference {
    margin: 0 0 18px;
    color: var(--muted);
    font-size: 0.85rem;
    font-weight: 700;
}

.produit-description-courte {
    margin: 0 0 24px;
    color: var(--ink);
    font-size: 1.05rem;
    line-height: 1.65;
}

.produit-prix-bloc {
    margin-bottom: 24px;
}

.produit-prix {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-top: 6px;
}

.produit-prix strong {
    font-size: 1.9rem;
    font-weight: 900;
    color: var(--blue-950);
    letter-spacing: -0.03em;
}

.produit-add-form {
    margin: 0 0 28px;
}

.produit-add-row {
    display: flex;
    gap: 10px;
    align-items: center;
}

.produit-qty-input {
    width: 72px;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
}

.produit-description {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    color: var(--ink);
    line-height: 1.75;
    font-size: 0.97rem;
}

/* =========================================
   Admin — gestion d'images produit
   ========================================= */

.admin-product-images-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
    margin-bottom: 16px;
}

.admin-product-image-card {
    display: grid;
    gap: 10px;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--white);
}

.admin-product-image-card--principale {
    border-color: var(--teal-500);
    background: rgb(69 183 201 / 6%);
}

.admin-product-image-preview {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 10px;
    background: var(--silver-100);
}

.admin-product-image-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.admin-product-image-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 3px 9px;
    background: var(--teal-500);
    color: var(--white);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: 6px;
}

.admin-product-image-alt {
    margin: 0;
    color: var(--muted);
    font-size: 0.8rem;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-product-image-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.admin-product-image-actions form,
.admin-product-image-actions .button {
    flex: 1;
    min-width: 0;
    text-align: center;
}

.admin-product-image-actions button {
    width: 100%;
    font-size: 0.8rem;
    padding: 7px 10px;
}

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

/* Page site en construction */
.construction-body {
    background:
        radial-gradient(circle at 20% 10%, rgb(69 183 201 / 14%), transparent 22rem),
        linear-gradient(180deg, var(--silver-100), var(--white));
}

.construction-page {
    display: grid;
    place-items: center;
    min-height: calc(100dvh - 40px);
    padding: clamp(24px, 6vw, 48px);
}

.construction-card {
    width: min(100%, 480px);
    padding: clamp(32px, 6vw, 48px);
    text-align: center;
    background: var(--white);
    border: 1px solid var(--border);
    border-top: 4px solid var(--gold-500);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
}

.construction-brand {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
    color: var(--blue-950);
    font-size: 1.5rem;
    font-weight: 600;
    text-decoration: none;
}

.construction-brand small {
    display: block;
    color: var(--gold-600);
    font-family: var(--font-body);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.construction-card h1 {
    margin: 0 0 14px;
    color: var(--blue-950);
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    letter-spacing: -0.03em;
}

.construction-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.construction-login {
    min-width: 200px;
}

.construction-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 28px;
}

.construction-actions .button {
    min-width: 200px;
}
