/* Boutique sur tablette et téléphone, pour tous les gabarits. Chargée après boutique.css, les gabarits et les options
   premium : #boutique (posé par ShopLayout) passe devant leurs règles .shop.tpl-{clé} sans !important, et l'aperçu de
   /administration/boutique, qui n'a pas cet identifiant, n'est pas touché. Chaque gabarit garde ses couleurs, ses polices
   et ses bordures : on ne règle ici que les tailles, la mise en page et ce qui doit tenir dans l'écran.
   Tailles en pixels entiers (Windows en français écrit « 3,5 »). */

/* ---------- Éléments qui n'existent que sur petit écran ---------- */

.shop-search-toggle,
.shop-nav-language,
.shop-nav-backdrop {
    display: none;
}

/* ---------- Tous les écrans : la première section colle à l'en-tête ---------- */

#boutique .shop-main > :first-child {
    margin-top: 0;
}

/* Le texte qui défile en tête de page touche l'en-tête, d'un bord à l'autre (28 px : le haut de .shop-main). */
#boutique .shop-main > .home-marquee:first-child {
    margin-top: -28px;
}

#boutique .home-marquee + .hero {
    margin-top: 28px;
}

/* ---------- Tablette et téléphone (menu derrière le bouton) ---------- */

@media (max-width: 1080px) {
    /* En-tête d'une seule rangée : menu, logo, recherche, compte, panier. Le gabarit garde ses couleurs. */
    #boutique .shop-header-inner {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        gap: 4px 10px;
        min-height: 60px;
        padding-top: 8px;
        padding-bottom: 8px;
    }

    #boutique .shop-burger {
        order: 1;
        display: inline-grid;
        place-items: center;
        width: 42px;
        height: 42px;
        margin-left: -8px;
        padding: 0;
        border-radius: var(--radius-sm);
        color: var(--ink);
    }

    #boutique .shop-brand {
        order: 2;
        min-width: 0;
        gap: 8px;
        margin: 0;
    }

        #boutique .shop-brand img {
            flex-shrink: 0;
            height: 34px;
            max-width: 132px;
            object-fit: contain;
        }

    #boutique .shop-brand-mark {
        width: 34px;
        height: 34px;
        font-size: 14px;
        flex-shrink: 0;
    }

    #boutique .shop-brand-name {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: 19px;
        line-height: 1.2;
    }

    #boutique .shop-search {
        order: 3;
        flex: 1 1 200px;
        max-width: 420px;
        height: 42px;
        margin: 0 0 0 auto;
    }

    #boutique .shop-actions {
        order: 4;
        gap: 2px;
        margin: 0;
    }

    /* Boutons ronds de 42 px (taille d'un pouce), sans texte. */
    #boutique .shop-login,
    #boutique .shop-account summary,
    #boutique .shop-search-toggle {
        display: inline-grid;
        place-items: center;
        width: 42px;
        height: 42px;
        padding: 0;
        border: 0;
        border-radius: 50%;
        background: transparent;
        color: var(--ink);
    }

    /* La loupe ne sert que sur téléphone; sur tablette, la recherche reste dans la rangée. */
    #boutique .shop-search-toggle {
        display: none;
    }

    #boutique .cart-button {
        position: relative;
        display: inline-grid;
        place-items: center;
        width: 42px;
        height: 42px;
        min-width: 0;
        padding: 0;
        border-radius: 50%;
        gap: 0;
    }

        #boutique .cart-button .cart-count {
            position: absolute;
            top: -3px;
            right: -4px;
            min-width: 20px;
            height: 20px;
            padding: 0 5px;
            font-size: 11px;
            line-height: 20px;
            box-shadow: 0 0 0 2px var(--bg);
        }

    #boutique .cart-label,
    #boutique .cart-total,
    #boutique .shop-login span,
    #boutique .shop-account summary span {
        display: none;
    }

    #boutique .shop-account-panel {
        position: fixed;
        top: auto;
        left: 12px;
        right: 12px;
        min-width: 0;
        margin-top: 8px;
        z-index: 60;
    }

        #boutique .shop-account-panel a,
        #boutique .shop-account-panel button {
            min-height: 46px;
            font-size: 15px;
        }

    /* Le menu : une feuille sous l'en-tête, liens hauts pour le pouce, puis la langue. */
    #boutique .shop-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 55;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        max-height: calc(100dvh - 76px);
        overflow-y: auto;
        overscroll-behavior: contain;
        margin: 0;
        padding: 8px 20px 20px;
        background: var(--surface);
        border: 0;
        border-top: 1px solid var(--line);
        border-bottom: 1px solid var(--line);
        border-radius: 0 0 var(--radius) var(--radius);
        box-shadow: 0 24px 40px -20px rgba(0, 0, 0, .35);
        height: auto;
        width: auto;
        flex-wrap: nowrap;
    }

        #boutique .shop-nav.open {
            display: flex;
            animation: shop-sheet .26s cubic-bezier(.2, .7, .2, 1) both;
        }

        #boutique .shop-nav a {
            display: flex;
            align-items: center;
            gap: 10px;
            min-height: 52px;
            padding: 0 4px;
            border-bottom: 1px solid var(--line);
            color: var(--ink);
            font-size: 17px;
            white-space: normal;
            background: transparent;
            border-radius: 0;
        }

            #boutique .shop-nav a::after {
                display: none;
            }

            #boutique .shop-nav a.active {
                color: var(--brand);
            }

    #boutique .shop-nav-categories {
        display: flex;
        flex: none;
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: stretch;
        width: auto;
        height: auto;
        gap: 0;
        overflow: visible;
    }

        #boutique .shop-nav-categories::before {
            display: none;
        }

    #boutique .shop-nav-photo {
        width: 32px;
        height: 32px;
        margin: 0;
        vertical-align: middle;
    }

    #boutique .shop-nav-language {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        min-height: 56px;
        padding: 0 4px;
        color: var(--muted);
        font-size: 14px;
    }

        #boutique .shop-nav-language .language-selector {
            display: inline-flex;
            align-items: center;
            background: transparent;
            border: 1px solid var(--line);
            border-radius: 999px;
            overflow: hidden;
        }

            #boutique .shop-nav-language .language-selector a,
            #boutique .shop-nav-language .language-selector span {
                min-height: 0;
                padding: 8px 16px;
                border: 0;
                border-radius: 0;
                background: transparent;
                color: var(--ink) !important;
                font-size: 14px;
                font-weight: 700;
                letter-spacing: .06em;
            }

            #boutique .shop-nav-language .language-selector span.active {
                background: var(--brand);
                color: #fff !important;
            }

    /* La langue de l'en-tête passe dans le menu. */
    #boutique .shop-actions .language-selector {
        display: none;
    }

    #boutique .shop-nav-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 45;
        background: rgba(10, 8, 20, .42);
        animation: shop-fade .2s ease both;
    }

    /* L'en-tête passe devant le voile; la page ne défile plus sous le menu ouvert. */
    #boutique.menu-open .shop-header {
        z-index: 56;
    }

    html:has(#boutique.menu-open) {
        overflow: hidden;
    }

    /* Bandeau d'annonce : une ou deux lignes, pas plus. */
    #boutique .shop-announce {
        padding-top: 7px;
        padding-bottom: 7px;
        font-size: 12px;
        line-height: 1.35;
    }

        #boutique:not(.ann-marquee) .shop-announce span {
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

    /* Pages de la boutique : une colonne là où le gabarit en garde deux. */
    #boutique .product-layout,
    #boutique .cart-layout,
    #boutique .checkout,
    #boutique .shop-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }

    #boutique .gallery,
    #boutique .summary,
    #boutique .shop-cats {
        position: static;
    }

    #boutique .hero-split {
        grid-template-columns: minmax(0, 1fr);
    }

    /* Photo de la bannière « côte à côte » : au-dessus du texte, en bandeau. */
    #boutique .hero-split .hero-visual {
        order: -1;
        width: 100%;
        max-width: none;
        height: auto;
        max-height: 360px;
        aspect-ratio: 16 / 9;
        margin: 0;
        transform: none;
    }

        #boutique .hero-split .hero-visual:empty {
            display: none;
        }

    /* Les formes qui font le gabarit restent : rond penché de Rétro, arche de Botanique, polaroïd penché d'Artisan. */
    #boutique.tpl-retro .hero-split .hero-visual {
        justify-self: center;
        width: min(260px, 72%);
        max-height: none;
        aspect-ratio: 1;
        transform: rotate(-3deg);
    }

    #boutique.tpl-botanique .hero-split .hero-visual {
        justify-self: center;
        width: min(240px, 64%);
        max-height: none;
        aspect-ratio: 4 / 5;
    }

    #boutique.tpl-artisan .hero-split .hero-visual {
        transform: rotate(2deg);
    }

    #boutique .home-imagetext {
        grid-template-columns: minmax(0, 1fr);
    }
}

@keyframes shop-sheet {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: none; }
}

@keyframes shop-fade {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fx-sheet-up {
    from { translate: 0 100%; }
}

/* ---------- Téléphone ---------- */

@media (max-width: 760px) {
    #boutique .shop-header-inner,
    #boutique .shop-main,
    #boutique .shop-footer-inner,
    #boutique .shop-footer-bottom {
        padding-left: 16px;
        padding-right: 16px;
    }

    /* La recherche derrière la loupe : une deuxième rangée qui n'apparaît qu'au toucher. Le logo part d'une largeur
       nulle (flex-basis 0) : un long nom raccourcit avec « … » au lieu de pousser les boutons à la ligne. */
    #boutique .shop-header-inner {
        flex-wrap: wrap;
    }

    #boutique .shop-brand {
        flex: 1 1 0;
    }

    #boutique .shop-search-toggle {
        display: inline-grid;
    }

    #boutique .shop-search {
        display: none;
        order: 10;
        flex: 1 1 100%;
        max-width: none;
        margin: 4px 0 2px;
    }

        #boutique .shop-search.open {
            display: flex;
            animation: shop-sheet .22s cubic-bezier(.2, .7, .2, 1) both;
        }

        #boutique .shop-search input {
            font-size: 16px; /* 16 px et plus : l'iPhone ne grossit pas la page en tapant */
        }

    /* Raccourci de l'administration : il reste dans le menu du compte. */
    #boutique .shop-dashboard {
        display: none;
    }

    /* Gabarits au logo centré (Atelier, Nuit, Magazine) : menu et loupe à gauche, logo au centre, compte et panier
       à droite. Les boutons de droite sont sortis de leur boîte (display: contents) pour se ranger dans la rangée. */
    #boutique:is(.tpl-atelier, .tpl-nuit, .tpl-magazine, .logo-center):not(.logo-left) .shop-actions {
        display: contents;
    }

    #boutique:is(.tpl-atelier, .tpl-nuit, .tpl-magazine, .logo-center):not(.logo-left) .shop-search-toggle {
        order: 2;
    }

    #boutique:is(.tpl-atelier, .tpl-nuit, .tpl-magazine, .logo-center):not(.logo-left) .shop-brand {
        order: 3;
        justify-content: center;
        text-align: center;
    }

    #boutique:is(.tpl-atelier, .tpl-nuit, .tpl-magazine, .logo-center):not(.logo-left) :is(.shop-login, .shop-account, .cart-button) {
        order: 4;
    }

    #boutique:is(.tpl-atelier, .tpl-nuit, .tpl-magazine, .logo-center):not(.logo-left) .shop-search {
        order: 10;
    }

    #boutique .shop-brand-name {
        font-size: 18px;
        letter-spacing: min(.12em, 2px);
    }

    #boutique .shop-brand img {
        height: 30px;
        max-width: 116px;
    }

    #boutique .shop-main {
        padding-top: 16px;
        padding-bottom: 48px;
    }

    /* ---------- Accueil : bannière qui tient dans l'écran ---------- */

    #boutique .hero {
        min-height: 0;
        padding: 36px 22px 32px;
        gap: 22px;
        border-radius: min(calc(var(--radius) * 1.5), 24px);
    }

    #boutique.herobox-compact .hero {
        padding-top: 28px;
        padding-bottom: 26px;
    }

    #boutique.herobox-tall .hero {
        min-height: min(560px, calc(100svh - 120px));
    }

    #boutique.herobox-full .hero {
        min-height: calc(100svh - 96px);
    }

    #boutique .hero-content {
        max-width: none;
        min-width: 0;
    }

    #boutique .hero h1 {
        font-size: clamp(32px, 10vw, 44px);
        line-height: 1.04;
        margin-bottom: 14px;
        overflow-wrap: break-word;
        hyphens: auto;
    }

    #boutique .hero p.lead {
        font-size: 16px;
        line-height: 1.5;
        margin-bottom: 22px;
    }

    #boutique .hero-badge {
        max-width: 100%;
        margin-bottom: 16px;
        font-size: 12px;
    }

    #boutique .hero-cta {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

        #boutique .hero-cta .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            width: 100%;
            padding: 13px 20px;
            font-size: 16px;
        }

    #boutique .hero-stats {
        gap: 26px;
        margin-top: 24px;
    }

        #boutique .hero-stats strong {
            font-size: 24px;
        }

    #boutique .hero-split .hero-visual {
        max-height: 240px;
        aspect-ratio: 16 / 10;
    }

    /* L'aurore : des halos plus petits, moins coûteux à flouter sur un téléphone. */
    #boutique .hero-aurora .blob {
        width: 280px;
        height: 280px;
        filter: blur(56px);
    }

        #boutique .hero-aurora .blob.b3 {
            width: 200px;
            height: 200px;
        }

    /* ---------- Sections de l'accueil ---------- */

    #boutique .shop-section {
        margin-top: 52px;
        scroll-margin-top: 76px;
    }

    #boutique.space-compact .shop-section {
        margin-top: 36px;
    }

    #boutique.space-airy .shop-section {
        margin-top: 76px;
    }

    /* Texte qui défile : moitié moins haut. */
    #boutique .home-marquee {
        margin-top: 40px;
        padding: 12px 0;
    }

        #boutique .home-marquee-group span {
            font-size: 24px;
            padding: 0 14px;
        }

        #boutique .home-marquee-group .home-marquee-dot {
            font-size: 15px;
            padding: 0;
        }

    #boutique.tpl-nuit .home-marquee-group span:not(.home-marquee-dot) {
        font-size: 13px;
        padding: 0 18px;
    }

    #boutique .home-marquee + .hero {
        margin-top: 20px;
    }

    #boutique .shop-main > .home-marquee:first-child {
        margin-top: -16px;
    }

    #boutique .shop-section-head {
        flex-wrap: wrap;
        gap: 6px 16px;
        margin-bottom: 18px;
    }

        #boutique .shop-section-head h2,
        #boutique .home-richtext h2,
        #boutique .home-imagetext h2 {
            font-size: clamp(25px, 7.4vw, 32px);
            line-height: 1.12;
        }

    #boutique .shop-page-title {
        font-size: clamp(28px, 8.5vw, 36px);
        line-height: 1.1;
    }

    /* Rangées qui glissent du doigt (catégories, avantages, témoignages) : la page reste courte. */
    #boutique .cat-tiles,
    #boutique .perks,
    #boutique .testimonial-grid {
        display: grid;
        grid-template-columns: none;
        grid-auto-flow: column;
        gap: 12px;
        margin-left: -16px;
        margin-right: -16px;
        padding: 4px 16px 10px;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        scroll-snap-type: x mandatory;
        scroll-padding-left: 16px;
        scrollbar-width: none;
    }

        #boutique .cat-tiles::-webkit-scrollbar,
        #boutique .perks::-webkit-scrollbar,
        #boutique .testimonial-grid::-webkit-scrollbar,
        #boutique .cat-circles::-webkit-scrollbar,
        #boutique .gallery-thumbs::-webkit-scrollbar {
            display: none;
        }

    #boutique .cat-tiles {
        grid-auto-columns: 64%;
    }

    #boutique .perks {
        grid-auto-columns: 82%;
        margin-top: 20px;
    }

    #boutique .testimonial-grid {
        grid-auto-columns: 86%;
    }

    #boutique .cat-tile,
    #boutique .perk,
    #boutique .testimonial {
        scroll-snap-align: start;
        min-width: 0;
    }

    #boutique .cat-tile .cat-tile-body {
        left: 16px;
        right: 16px;
        bottom: 14px;
    }

    #boutique .cat-tile strong {
        font-size: 20px;
    }

    #boutique .perk {
        padding: 14px 16px;
    }

    #boutique .cat-circles {
        flex-wrap: nowrap;
        justify-content: flex-start;
        gap: 16px;
        margin-left: -16px;
        margin-right: -16px;
        padding: 4px 16px 10px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    #boutique .cat-circle {
        flex: 0 0 100px;
        width: 100px;
        scroll-snap-align: start;
    }

    #boutique .home-imagetext {
        gap: 20px;
    }

    #boutique .home-imagetext-photo {
        min-height: 0;
        aspect-ratio: 4 / 3;
    }

    #boutique .cta-band {
        padding: 30px 22px;
        gap: 18px;
        flex-direction: column;
        align-items: stretch;
    }

        #boutique .cta-band h2 {
            font-size: clamp(24px, 7vw, 30px);
        }

        #boutique .cta-band .btn {
            width: 100%;
            text-align: center;
        }

    #boutique .faq-item summary {
        min-height: 52px;
    }

    /* ---------- Grille de produits : deux par rangée ---------- */

    #boutique .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    #boutique .product-body {
        padding: 10px 12px 12px;
    }

    #boutique .product-name {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        font-size: 15px;
        line-height: 1.3;
        overflow-wrap: break-word;
    }

    #boutique .product-foot {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        padding-top: 10px;
    }

        #boutique .product-foot .btn {
            width: 100%;
            min-height: 38px;
            padding: 8px 10px;
            font-size: 14px;
            opacity: 1;
            transform: none;
        }

    #boutique .price span {
        font-size: 17px;
    }

    /* L'œil de l'aperçu rapide, plus petit, toujours visible (pas de survol au toucher). */
    #boutique .product-quick {
        top: 8px;
        right: 8px;
        width: 34px;
        height: 34px;
    }

    #boutique .product-badges {
        left: 8px;
        bottom: 8px;
    }

    #boutique .product-badge {
        padding: 3px 8px;
        font-size: 11px;
    }

    /* L'aperçu rapide devient une feuille qui monte du bas de l'écran. */
    #boutique .quick-view {
        left: 0;
        right: 0;
        top: auto;
        bottom: 0;
        grid-template-columns: minmax(0, 1fr);
        width: auto;
        max-height: 88dvh;
        translate: none;
        border-radius: 22px 22px 0 0;
        border-bottom: 0;
        animation: fx-sheet-up 380ms cubic-bezier(.2, .8, .2, 1) both;
    }

    #boutique .quick-photo {
        min-height: 0;
        height: min(44svh, 320px);
    }

    #boutique .quick-body {
        padding: 20px 18px calc(20px + env(safe-area-inset-bottom));
    }

    #boutique .quick-actions .btn-lg {
        flex: 1 1 100%;
        min-height: 50px;
    }

    /* Le toucher n'a pas de survol : pas de carte qui reste soulevée après un tap. */
    #boutique .product-card:hover,
    #boutique .product-card:hover .product-photo img {
        transform: none;
    }

    /* ---------- Tous les produits : recherche, tri et catégories en pastilles ---------- */

    #boutique .vente .vente-search {
        flex-wrap: wrap;
        gap: 8px;
        margin-bottom: 14px;
    }

        /* Recherche et tri sur une rangée. */
        #boutique .vente .vente-search .search-field {
            flex: 1 1 0;
        }

        #boutique .vente .vente-search select {
            flex: 0 0 136px;
            width: 136px;
            padding-left: 12px;
            font-size: 16px;
        }

        #boutique .vente .vente-search input {
            padding-left: 42px;
            font-size: 16px;
        }

    #boutique .vente .shop-cats {
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 8px;
        max-height: none;
        margin-left: -16px;
        margin-right: -16px;
        padding: 2px 16px 6px;
        overflow-x: auto;
        overflow-y: hidden;
        background: transparent;
        border: 0;
        box-shadow: none;
        scrollbar-width: none;
    }

        #boutique .vente .shop-cats::-webkit-scrollbar {
            display: none;
        }

    #boutique .vente .cats-title {
        display: none;
    }

    #boutique .vente .cat {
        flex: none;
        min-height: 38px;
        padding: 0 14px;
        border: 1px solid var(--line);
        border-radius: 999px;
        background: var(--surface);
        white-space: nowrap;
    }

        #boutique .vente .cat .name {
            overflow: visible;
        }

        #boutique .vente .cat.active {
            border-color: transparent;
            background: var(--brand);
            color: #fff;
        }

    /* ---------- Fiche produit ---------- */

    #boutique .vente .shop-head {
        margin-bottom: 10px;
    }

    #boutique .vente .crumbs {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: 13px;
    }

    #boutique .product-layout {
        gap: 20px;
    }

    /* La photo d'un bord à l'autre, assez basse pour que le nom et le prix se voient au premier coup d'œil. */
    #boutique .gallery-main {
        aspect-ratio: auto;
        height: min(100vw, 46svh);
        margin-left: -16px;
        margin-right: -16px;
        border-radius: 0;
        border-left: 0;
        border-right: 0;
        transform: none;
    }

    #boutique .gallery-thumbs {
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
        padding-bottom: 2px;
    }

        #boutique .gallery-thumbs button {
            flex: none;
            width: 56px;
            height: 56px;
        }

    #boutique .vente .product-title {
        font-size: clamp(25px, 7.4vw, 32px);
        line-height: 1.12;
        overflow-wrap: break-word;
        hyphens: auto;
    }

    #boutique .vente .price-big {
        font-size: 26px;
    }

    /* « Ajouter au panier » reste sous le pouce tant que la fiche défile. */
    #boutique .vente .buy-row {
        position: sticky;
        bottom: 0;
        z-index: 30;
        margin: 18px -16px 0;
        padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
        background: color-mix(in srgb, var(--bg) 90%, transparent);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-top: 1px solid var(--line);
        gap: 10px;
    }

        #boutique .vente .buy-row .btn {
            min-height: 50px;
            font-size: 16px;
        }

    #boutique:has(.buy-row) .shop-top {
        bottom: 88px;
    }

    #boutique .vente .stepper button {
        width: 44px;
    }

    #boutique .vente .features th,
    #boutique .vente .features td {
        padding: 8px;
    }

    #boutique .vente .features th {
        width: 42%;
    }

    /* ---------- Panier et caisse ---------- */

    #boutique .vente .cart-line {
        gap: 12px;
        padding: 14px;
    }

    #boutique .checkout-card {
        padding: 18px 16px;
    }

    #boutique .form-control,
    #boutique .form-select,
    #boutique .vente .stepper input {
        font-size: 16px; /* l'iPhone ne grossit pas la page en tapant */
    }

    #boutique .form-control,
    #boutique .form-select {
        min-height: 46px;
    }

    #boutique .vente .summary .btn-lg,
    #boutique .checkout .btn-lg {
        min-height: 52px;
    }

    /* ---------- Pied de page : liens sur deux colonnes ---------- */

    #boutique .shop-footer-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 20px;
        padding-top: 40px;
        padding-bottom: 28px;
    }

    #boutique .shop-footer-brand {
        grid-column: 1 / -1;
    }

    #boutique .shop-footer-inner > div:not(.shop-footer-brand) a {
        padding: 6px 0;
    }

    #boutique .shop-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    #boutique .shop-top {
        right: 14px;
        bottom: 14px;
        width: 44px;
        height: 44px;
    }
}

@media (max-width: 380px) {
    #boutique .shop-header-inner {
        gap: 4px 6px;
    }

    #boutique .shop-brand-name {
        font-size: 16px;
    }

    #boutique .cat-tiles {
        grid-auto-columns: 74%;
    }
}

@media (prefers-reduced-motion: reduce) {
    #boutique .shop-nav.open,
    #boutique .shop-search.open,
    #boutique .shop-nav-backdrop {
        animation: none;
    }
}
