/* /Components/Box.razor.rz.scp.css */
.box[b-eax9ahnycp] {
    position: relative;
    isolation: isolate;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: var(--box-height);
    padding: 0.6em 1.5em;
    font-family: var(--font-main);
    font-size: var(--text-base);
    line-height: 1;
    white-space: nowrap;
    text-align: center;
    text-decoration: none;
    color: var(--second-2);          /* couleur par défaut, une variante qui a la sienne la remplace */
    transform: var(--skew);          /* le texte suit la boîte : −10° au total */
    transition: filter var(--duration-hover) var(--easing);
}

.box__label[b-eax9ahnycp] {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
}

.box--interactive[b-eax9ahnycp] {
    cursor: pointer;
}

/* Au clic : +15 % de luminosité. */
.box--interactive:active[b-eax9ahnycp] {
    filter: brightness(1.15);
    transition-duration: var(--duration-click);
}

/* ---------- BOX small ---------- */
.box--small[b-eax9ahnycp] {
    height: 1.75rem;
    padding: 0.3rem 0.8rem;
    font-size: var(--text-small);
}

/* ---------- BOX1 ---------- */
.box--box1[b-eax9ahnycp] {
    background: var(--grey-gradient);
}

/* Couche du dégradé principal : visible si active ou survolée (un dégradé ne se transitionne pas, son opacité si). */
.box--box1[b-eax9ahnycp]::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: var(--main-gradient);
    opacity: 1;
    transition: opacity var(--duration-hover) var(--easing);
}

.box--box1.box--inactive[b-eax9ahnycp]::after {
    opacity: 0;
}

.box--box1.box--inactive:hover[b-eax9ahnycp]::after {
    opacity: 1;
}

/* Cadre intérieur blanc : retrait 0.2em, trait 1px, coins coupés de 0.25em. Anneau découpé (evenodd) : le trait
   diagonal garde 1px d'épaisseur (le coin intérieur se décale de 1px × tan 22,5° ≈ 0.414px). */
.box--box1[b-eax9ahnycp]::before {
    --c: 0.25em;
    --t: 1px;
    content: "";
    position: absolute;
    inset: 0.2em;
    z-index: 1;
    background: var(--white);
    clip-path: polygon(evenodd,
        var(--c) 0, calc(100% - var(--c)) 0, 100% var(--c), 100% calc(100% - var(--c)),
        calc(100% - var(--c)) 100%, var(--c) 100%, 0 calc(100% - var(--c)), 0 var(--c), var(--c) 0,
        calc(var(--c) + 0.414 * var(--t)) var(--t),
        var(--t) calc(var(--c) + 0.414 * var(--t)),
        var(--t) calc(100% - var(--c) - 0.414 * var(--t)),
        calc(var(--c) + 0.414 * var(--t)) calc(100% - var(--t)),
        calc(100% - var(--c) - 0.414 * var(--t)) calc(100% - var(--t)),
        calc(100% - var(--t)) calc(100% - var(--c) - 0.414 * var(--t)),
        calc(100% - var(--t)) calc(var(--c) + 0.414 * var(--t)),
        calc(100% - var(--c) - 0.414 * var(--t)) var(--t),
        calc(var(--c) + 0.414 * var(--t)) var(--t));
}

/* ---------- BOX2, BOX3, BOX4, Main ---------- */
.box--box2[b-eax9ahnycp] {
    background: var(--black);
    color: var(--white);
}

.box--box3[b-eax9ahnycp] {
    background: var(--white);
    color: var(--black);
}

.box--box4[b-eax9ahnycp] {
    background: var(--grey-gradient);
    color: var(--black);
}

.box--main[b-eax9ahnycp] {
    background: var(--main-gradient);
}
/* /Components/ProductCard.razor.rz.scp.css */
.product-card[b-q3f2ls0011] {
    display: flex;
    flex-direction: column;
    min-width: 0;
    cursor: pointer;
}

/* Cadre image : carré, dégradé vertical blanc (jusqu'à 30 %) → gris color2, bord 1px gris color1, ombre 10 %. */
.product-card__frame[b-q3f2ls0011] {
    position: relative;
    aspect-ratio: 1;
    background: linear-gradient(to bottom, var(--white) 0%, var(--white) 30%, var(--grey-2) 100%);
    border: 1px solid var(--grey-1);
    box-shadow: var(--shadow);
}

/* Image : marge M de chaque côté, ratio gardé (ni étirée ni rognée), centrée, ombre 10 %. */
.product-card__image[b-q3f2ls0011] {
    position: absolute;
    inset: var(--space-m);
    width: calc(100% - 2 * var(--space-m));
    height: calc(100% - 2 * var(--space-m));
    object-fit: contain;
    filter: drop-shadow(var(--shadow));
    transition: transform var(--duration-hover) var(--easing);
}

/* Survol : l'image monte de 6px. */
.product-card:hover .product-card__image[b-q3f2ls0011] {
    transform: translateY(-6px);
}

/* Badge et drapeaux : toujours au-dessus de l'image, à S des bords. */
[b-q3f2ls0011] .box.product-card__badge {
    position: absolute;
    top: var(--space-s);
    left: var(--space-s);
    z-index: 1;
}

.product-card__flags[b-q3f2ls0011] {
    position: absolute;
    top: var(--space-s);
    right: var(--space-s);
    z-index: 1;
    display: flex;
    gap: var(--space-xs);
    height: 1rem;
}

/* Titre : S au-dessus, XS dessous ; police principale, base ; 2 lignes réservées, « … » au-delà. */
.product-card__title[b-q3f2ls0011] {
    margin: var(--space-s) 0 var(--space-xs);
    font-family: var(--font-main);
    font-size: var(--text-base);
    line-height: 1.4;
    min-height: calc(2 * 1.4em);
    transform: none;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
}

/* Prix à gauche, action à droite, centrés sur la même ligne. Carte trop étroite pour les deux (mobile) : l'action
   passe sous le prix, toujours à droite. */
.product-card__price-row[b-q3f2ls0011] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-xs) var(--space-s);
}

.product-card__price-row[b-q3f2ls0011] >  .box {
    margin-left: auto;
}

.product-card__price[b-q3f2ls0011] {
    font-family: var(--font-title);
    font-size: var(--text-h3);
    line-height: 1;
    color: var(--main-2);
    transform: var(--skew);
    white-space: nowrap;
}

[b-q3f2ls0011] .product-card__basket {
    height: 1.4em;
    width: auto;
}

/* Disponibilité : XS sous la ligne du prix, police personnelle, small. */
.product-card__availability[b-q3f2ls0011] {
    margin: var(--space-xs) 0 0;
    font-family: var(--font-personal);
    font-size: var(--text-small);
}

.product-card__availability--instock[b-q3f2ls0011] {
    color: var(--state-in-stock);
}

.product-card__availability--preorder[b-q3f2ls0011] {
    color: var(--text-color);
}

.product-card__availability--outofstock[b-q3f2ls0011] {
    visibility: hidden;
}
/* /Components/ProductGrid.razor.rz.scp.css */
/*
  Largeur max 72rem marges comprises, centrée, marges latérales L. Autant de colonnes que possible (chaque carte au
  moins card-min-width), jamais plus que columns ; toutes les cartes d'une ligne ont la même largeur ; gap L.
  Les pistes vides restent (auto-fill) : une ligne incomplète garde des cartes de la même taille que les autres.
*/
.product-grid[b-epjyd4egkg] {
    --gap: var(--space-l);
    display: grid;
    grid-template-columns: repeat(auto-fill,
        minmax(max(var(--card-min-width), (100% - (var(--columns) - 1) * var(--gap)) / var(--columns)), 1fr));
    gap: var(--gap);
    max-width: 72rem;
    margin: 0 auto;
    padding: 0 var(--space-l);
}

/* Mobile (moins de 600px) : toujours columns-mobile colonnes, gap M et marges M ; card-min-width ne s'applique pas. */
@media (max-width: 599.98px) {
    .product-grid[b-epjyd4egkg] {
        --gap: var(--space-m);
        grid-template-columns: repeat(var(--columns-mobile), minmax(0, 1fr));
        padding: 0 var(--space-m);
    }
}
/* /Layout/Banner.razor.rz.scp.css */
.banner[b-fpi1sg980y] {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: var(--banner-align);
    gap: var(--space-m);
    padding: var(--space-l);
    background: var(--second-gradient);
}

.banner__halftone[b-fpi1sg980y] {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

[b-fpi1sg980y] .banner__logo {
    position: relative;
    height: 10rem;
    width: auto;
}

/* Typo Title H1, couleur main color2 ; inclinée comme tous les titres. */
.banner__slogan[b-fpi1sg980y] {
    position: relative;
    margin: 0;
    font-family: var(--font-title);
    font-size: var(--text-h1);
    line-height: 1;
    color: var(--main-2);
    transform: var(--skew);
}

@media (max-width: 599.98px) {
    [b-fpi1sg980y] .banner__logo {
        height: 7.5rem;
    }
}
/* /Layout/Header.razor.rz.scp.css */
.header[b-kjqqc7hh5s] {
    font-size: var(--text-small);    /* top bar : police principale, small, blanc */
}

.header__strip[b-kjqqc7hh5s] {
    height: calc(2.75em / 3);
    background: var(--main-gradient);
}

.header__bar[b-kjqqc7hh5s] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 2.75em;
    padding: 0 var(--space-l);
    background: var(--second-2);
    color: var(--white);
}

.header__brand[b-kjqqc7hh5s] {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    text-decoration: none;
    color: var(--white);
}

.header__tools[b-kjqqc7hh5s] {
    display: flex;
    align-items: center;
    gap: var(--space-m);
}

.header__tool[b-kjqqc7hh5s] {
    display: inline-flex;
    align-items: center;
    height: 1.25em;
    transition: filter var(--duration-hover) var(--easing);
}

.header__tool:active[b-kjqqc7hh5s] {
    filter: brightness(1.15);
    transition-duration: var(--duration-click);
}

/* Logo et icônes : 1.25 × la taille du texte de la top bar. */
[b-kjqqc7hh5s] .header__icon {
    height: 1.25em;
    width: auto;
}

.header__flag[b-kjqqc7hh5s] {
    display: block;
    height: 1.25em;
}

/* /Layout/MainLayout.razor.rz.scp.css */
/* XL entre les sections de la page. */
.shop__main[b-ca34e5yjgc] {
    padding-bottom: var(--space-xl);
}
/* /Layout/Navbar.razor.rz.scp.css */
/* Blanche, hauteur d'une BOX, sans marge verticale : la navbar épouse ses boîtes. */
.navbar[b-z12at3cpza] {
    display: flex;
    background: var(--white);
    box-shadow: var(--shadow);
    overflow-x: auto;                /* écran étroit : les boîtes gardent leur taille et défilent */
    scrollbar-width: none;
}

.navbar__items[b-z12at3cpza] {
    display: flex;
    gap: var(--space-s);
    margin: var(--navbar-items-margin);
    padding: 0 var(--space-s);       /* place des coins inclinés des boîtes extrêmes quand la barre défile */
}
/* /Pages/CategoryPage.razor.rz.scp.css */
/* Titre : nom de la catégorie (H2), centré, M au-dessus et au-dessous. */
.category-title[b-xiuguquoec] {
    width: fit-content;              /* incliné, un bloc pleine largeur déborderait de l'écran */
    margin: var(--space-m) auto;
    text-align: center;
}

.not-found[b-xiuguquoec] {
    margin: var(--space-xl) var(--space-l);
    text-align: center;
}
