/* ════════════════════════════════
   CATALOG — Product listing (Licorne Passion / Figma)
════════════════════════════════ */

.catalog {
    background: #fff;
    color: #000;
    font-family: 'Urbanist', sans-serif;
    padding: 0 0 48px;
    position: relative;
    z-index: 1;
}

/* Page background full white when catalog is shown */
body:has(.catalog) { background: #fff; }
body:has(.catalog) .blob { display: none; }

/* ── Header ── */
.catalog-header {
    text-align: center;
    padding: 80px 24px 32px;
}

.catalog-title {
    font-family: 'Urbanist', sans-serif;
    font-size: 18px;
    font-weight: 300;
    color: #000;
    letter-spacing: 0.02em;
    text-transform: lowercase;
    margin: 0;
}

/* ── Filter bar — minimal, monochrome ── */
.catalog-filters {
    border-top: 1px solid rgba(0,0,0,0.08);
    border-bottom: 1px solid rgba(0,0,0,0.08);
    padding: 14px 44px;
    margin-bottom: 0;
}

.catalog-filter-row {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.catalog-search-wrap {
    position: relative;
    flex: 1 1 220px;
    min-width: 180px;
    max-width: 320px;
}

.catalog-search-wrap svg {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
    color: #6a7282;
    pointer-events: none;
}

.catalog-search-input {
    width: 100%;
    padding: 8px 0 8px 22px;
    background: transparent;
    border: 0;
    border-bottom: 1px solid #d1d5dc;
    font-family: 'Urbanist', sans-serif;
    font-size: 13px;
    color: #000;
    outline: none;
    transition: border-color 0.18s;
}
.catalog-search-input::placeholder { color: #99a1af; }
.catalog-search-input:focus { border-bottom-color: #000; }

/* Stock toggle */
.catalog-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    user-select: none;
    font-size: 12px;
    font-weight: 400;
    color: #4a5565;
    white-space: nowrap;
}
.catalog-toggle input { position: absolute; opacity: 0; width: 0; height: 0; }
.catalog-toggle-track {
    position: relative;
    width: 30px;
    height: 16px;
    border-radius: 999px;
    background: #d1d5dc;
    transition: background 0.18s;
    flex-shrink: 0;
}
.catalog-toggle-thumb {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 12px;
    height: 12px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.18s;
}
.catalog-toggle input:checked + .catalog-toggle-track { background: #000; }
.catalog-toggle input:checked + .catalog-toggle-track .catalog-toggle-thumb { transform: translateX(14px); }

/* Price range slider */
.catalog-price-range {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1 1 220px;
    min-width: 200px;
    max-width: 280px;
}
.catalog-price-range-values {
    font-size: 11px;
    font-weight: 500;
    color: #000;
    font-variant-numeric: tabular-nums;
    text-align: center;
    letter-spacing: 0.02em;
}
.catalog-price-range-sep { color: #99a1af; margin: 0 6px; }
.catalog-price-slider { position: relative; height: 18px; }
.catalog-price-track {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    transform: translateY(-50%);
    background: #d1d5dc;
}
.catalog-price-range-fill {
    position: absolute;
    top: 50%;
    height: 1px;
    transform: translateY(-50%);
    background: #000;
    pointer-events: none;
}
.catalog-price-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 18px;
    margin: 0;
    padding: 0;
    background: transparent;
    pointer-events: none;
    -webkit-appearance: none;
    appearance: none;
}
.catalog-price-input::-webkit-slider-thumb {
    pointer-events: all;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #000;
    border: 0;
    cursor: grab;
    -webkit-appearance: none;
    appearance: none;
    transition: transform 0.15s;
}
.catalog-price-input::-webkit-slider-thumb:active { cursor: grabbing; transform: scale(1.2); }
.catalog-price-input::-moz-range-thumb {
    pointer-events: all;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #000;
    border: 0;
    cursor: grab;
    transition: transform 0.15s;
}
.catalog-price-input::-moz-range-thumb:active { cursor: grabbing; transform: scale(1.2); }
.catalog-price-input::-moz-range-track { background: transparent; border: none; }

/* Sort select */
.catalog-sort-select {
    padding: 6px 24px 6px 0;
    background: transparent
        url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>")
        right center / 12px no-repeat;
    border: 0;
    border-bottom: 1px solid transparent;
    font-family: 'Urbanist', sans-serif;
    font-size: 12px;
    color: #000;
    outline: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    transition: border-color 0.18s;
}
.catalog-sort-select:focus { border-bottom-color: #000; }

.catalog-filter-btn {
    padding: 8px 16px;
    background: #000;
    color: #fff;
    border: none;
    font-family: 'Urbanist', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    transition: opacity 0.18s;
}
.catalog-filter-btn:hover { opacity: 0.75; }

/* Active filters */
.catalog-active-filters {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    padding: 12px 44px;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    font-size: 11px;
    color: #6a7282;
}
.catalog-tag {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    background: #f3f4f6;
    color: #000;
    font-size: 11px;
    font-weight: 400;
    border-radius: 999px;
}
.catalog-clear-filters {
    background: none;
    border: 0;
    padding: 0;
    font-family: 'Urbanist', sans-serif;
    font-size: 11px;
    color: #000;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
    margin-left: auto;
    transition: opacity 0.18s;
}
.catalog-clear-filters:hover { opacity: 0.6; }

/* Result count */
.catalog-results { position: relative; transition: opacity 0.2s; }
.catalog-loading { opacity: 0.4; pointer-events: none; }
.catalog-result-count {
    padding: 18px 44px 8px;
    font-size: 11px;
    font-weight: 400;
    color: #6a7282;
    letter-spacing: 0.02em;
}

button.catalog-page-btn { font-family: inherit; cursor: pointer; }

/* ── Product grid — 4 columns edge-to-edge (Figma) ── */
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

/* ── Card ── */
.catalog-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: #fff;
    overflow: hidden;
    transition: opacity 0.18s;
}
.catalog-card:hover { opacity: 0.92; }
.catalog-card:hover .catalog-card-img img { transform: scale(1.02); }

.catalog-card-img {
    position: relative;
    aspect-ratio: 378 / 534;
    background: #f3f4f6;
    overflow: hidden;
}
.catalog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.catalog-card-placeholder {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 48px;
    height: 48px;
    color: #d1d5dc;
}

.catalog-card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 3px 10px;
    background: #fff;
    color: #000;
    font-family: 'Urbanist', sans-serif;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
/* Inversion noir/blanc pour distinguer visuellement d'« épuisé » (qui reste
   en blanc sur fond clair pour les ruptures). */
.catalog-card-badge--preorder {
    background: #000;
    color: #fff;
}
/* Badge spécifique aux cards bundles dans le rail « Compléter le look ». */
.catalog-card-bundle-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 3px 10px;
    background: rgba(124, 158, 255, .9);
    color: #fff;
    font-family: 'Urbanist', sans-serif;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.catalog-card-body {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.catalog-card-title {
    font-family: 'Urbanist', sans-serif;
    font-size: 12px;
    font-weight: 300;
    line-height: 20px;
    color: #000;
    text-transform: lowercase;
    margin: 0;
}

.catalog-card-price {
    font-family: 'Urbanist', sans-serif;
    font-size: 12px;
    font-weight: 300;
    line-height: 20px;
    color: #000;
    margin: 0;
}

/* ── Empty state ── */
.catalog-empty {
    text-align: center;
    padding: 80px 24px;
    color: #6a7282;
    font-size: 13px;
    grid-column: 1 / -1;
}
.catalog-empty p { margin: 0 0 16px; }
.catalog-empty .catalog-card-btn {
    display: inline-block;
    padding: 8px 16px;
    background: #000;
    color: #fff;
    border: 0;
    font-family: 'Urbanist', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    text-decoration: none;
    transition: opacity 0.18s;
}
.catalog-empty .catalog-card-btn:hover { opacity: 0.75; }

/* ── Pagination ── */
.catalog-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 48px 24px 24px;
}
.catalog-page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
    background: transparent;
    border: 0;
    font-family: 'Urbanist', sans-serif;
    font-size: 12px;
    font-weight: 400;
    color: #6a7282;
    text-decoration: none;
    transition: color 0.18s;
}
.catalog-page-btn svg { width: 14px; height: 14px; }
.catalog-page-btn:hover { color: #000; }
.catalog-page-btn--active {
    color: #000;
    font-weight: 500;
    border-bottom: 1px solid #000;
    pointer-events: none;
}
.catalog-page-dots { font-size: 12px; color: #99a1af; padding: 0 4px; }

/* ════════════════════════════════
   PRODUCT DETAIL — Licorne Passion / Figma "Fiche produit"
   2-column scroll : stacked images left, sticky info panel right.
════════════════════════════════ */

body.product-detail-page {
    background: #fff;
    color: #000;
    font-family: 'Urbanist', sans-serif;
}
body.product-detail-page .blob { display: none; }

.product-detail {
    background: #fff;
    padding: 0 0 80px;
    position: relative;
    z-index: 1;
    font-family: 'Urbanist', sans-serif;
}

.product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: stretch;
}

/* ── Left column: stacked images ── */
.product-image-wrap {
    display: block;
}
.product-gallery-stack {
    display: flex;
    flex-direction: column;
}
.product-gallery-shot {
    width: 100%;
    background: #f3f4f6;
}
/* Ratio natif de chaque image — pas de crop. Le conteneur s'étire avec
   l'image, le stack vertical hérite donc d'une hauteur variable. */
.product-gallery-shot img {
    width: 100%;
    height: auto;
    display: block;
}
.product-gallery-shot--empty {
    display: flex;
    align-items: center;
    justify-content: center;
    /* Placeholder seul : pas d'image pour fixer la hauteur → ratio Figma de
       secours pour ne pas se retrouver avec une bande de 0px. */
    aspect-ratio: 757 / 744;
}
.product-image-placeholder {
    width: 64px;
    height: 64px;
    color: #d1d5dc;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ── Right column: sticky info panel ── */
.product-info-col {
    padding: 0 32px 80px 32px;
    /* Aligné sur le haut de la photo (gallery sans padding-top). */
}
.product-info {
    position: sticky;
    top: 100px; /* nav 77 + breathing room */
    width: 100%;
    max-width: 520px;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Heading row: title + price aligned on one line */
.product-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}
.product-title {
    font-family: 'Urbanist', sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: #000;
    margin: 0;
    line-height: 1.3;
    letter-spacing: 0.01em;
}
.product-price-box {
    display: flex;
    align-items: baseline;
    gap: 6px;
    flex-shrink: 0;
}
.product-price {
    font-family: 'Urbanist', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #000;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

/* ── Axes ── */
.product-axis {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.product-axis-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.product-axis-label {
    font-family: 'Urbanist', sans-serif;
    font-size: 12px;
    font-weight: 400;
    color: #4a5565;
    letter-spacing: 0.02em;
}
.product-axis-label em {
    font-style: normal;
    font-weight: 500;
    color: #000;
    margin-left: 4px;
}
.product-axis-help-link {
    /* Reset native <button> chrome — rendu identique à un <a> souligné */
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
    font-family: 'Urbanist', sans-serif;
    font-size: 11px;
    font-weight: 400;
    color: #6a7282;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.18s;
}
.product-axis-help-link:hover { color: #000; }

/* ── Modal "Guide des tailles" ──────────────────────────────────
   Style flat minimal aligné sur le cookie banner (cookie-banner.css) :
   fond blanc, bordures fines, Urbanist lowercase, pas de border-radius
   ni glassmorphism. Override de `.confirm-modal-overlay` pour neutraliser
   le blur global et garder l'ouverture par la même mécanique (cf. confirm-modal.js).
*/
.sg-overlay {
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: none;
}

.sg-panel {
    width: 640px; max-width: 100%; max-height: 85vh;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.12);
    display: flex; flex-direction: column;
    font-family: 'Urbanist', sans-serif;
    color: #000;
    animation: sgPanelIn .25s cubic-bezier(.22,.68,0,1.2);
}
@keyframes sgPanelIn {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

.sg-panel-head {
    padding: 22px 26px 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    display: flex; align-items: center; justify-content: space-between;
}
.sg-panel-head h3 {
    font-family: 'Urbanist', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #000;
    letter-spacing: 0.02em;
    text-transform: lowercase;
    margin: 0;
}
.sg-panel-close {
    width: 28px; height: 28px;
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.12);
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: border-color .18s, opacity .18s;
    padding: 0;
}
.sg-panel-close:hover { border-color: #000; }
.sg-panel-close svg { width: 11px; height: 11px; stroke: #000; fill: none; stroke-width: 1.8; }

.sg-panel-body {
    flex: 1;
    overflow-y: auto;
    padding: 18px 26px 6px;
}

.sg-intro {
    font-family: 'Urbanist', sans-serif;
    font-size: 12px;
    color: #4a5565;
    line-height: 1.7;
    font-weight: 300;
    letter-spacing: 0.01em;
    margin: 0 0 18px;
}

.sg-table-section { margin-bottom: 22px; }
.sg-table-section:last-of-type { margin-bottom: 0; }
.sg-table-title {
    font-family: 'Urbanist', sans-serif;
    font-size: 11px;
    font-weight: 500;
    color: #000;
    letter-spacing: 0.04em;
    text-transform: lowercase;
    margin: 0 0 8px;
}
.sg-table-wrapper {
    overflow-x: auto;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: #fff;
}
.sg-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Urbanist', sans-serif;
    font-size: 12px;
    font-weight: 300;
    color: #4a5565;
}
.sg-table thead {
    background: #fafafa;
}
.sg-table th {
    padding: 10px 12px;
    text-align: center;
    font-weight: 500;
    color: #000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    letter-spacing: 0.02em;
    text-transform: lowercase;
}
.sg-table td {
    padding: 10px 12px;
    text-align: center;
    color: #4a5565;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.sg-table tr:last-child td { border-bottom: 0; }
.sg-table__head-col {
    font-weight: 500;
    color: #000 !important;
    background: #fafafa;
}

.sg-tip {
    font-family: 'Urbanist', sans-serif;
    font-size: 11px;
    color: #6a7282;
    font-weight: 300;
    line-height: 1.6;
    letter-spacing: 0.01em;
    margin: 18px 0 4px;
    padding-left: 12px;
    border-left: 1px solid rgba(0, 0, 0, 0.15);
}

.sg-panel-foot {
    padding: 16px 26px 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}
.sg-btn {
    font-family: 'Urbanist', sans-serif;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.02em;
    text-transform: lowercase;
    cursor: pointer;
    border: none;
    background: transparent;
    transition: opacity .18s, background-color .18s, color .18s;
    padding: 9px 18px;
}
.sg-btn-close {
    background: #000;
    color: #fff;
}
.sg-btn-close:hover { opacity: 0.75; }

@media (max-width: 600px) {
    .sg-panel { width: 100%; max-height: 90vh; }
    .sg-panel-head, .sg-panel-foot { padding-left: 18px; padding-right: 18px; }
    .sg-panel-body { padding-left: 18px; padding-right: 18px; }
}

.product-axis-values {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.product-axis-value {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    background: #fff;
    border: 1px solid #d1d5dc;
    color: #000;
    font-family: 'Urbanist', sans-serif;
    font-size: 12px;
    font-weight: 400;
    text-decoration: none;
    cursor: pointer;
    transition: border-color 0.18s, color 0.18s, background 0.18s;
    user-select: none;
    border-radius: 0;
}
.product-axis-value:hover { border-color: #000; }
.product-axis-value--selected {
    background: #000;
    border-color: #000;
    color: #fff;
    font-weight: 500;
    pointer-events: none;
}
.product-axis-value--disabled {
    color: #b0b4c0;
    background: #fafafa;
    border-style: dashed;
    cursor: not-allowed;
    pointer-events: none;
    text-decoration: line-through;
    text-decoration-color: rgba(0,0,0,0.25);
}

/* Visual axes (color) — 49×49 square swatches per Figma */
.product-axis-value--swatch {
    width: 49px;
    height: 49px;
    padding: 0;
    border-radius: 50%;
    overflow: hidden;
}
.product-axis-value--swatch span {
    font-size: 10px;
    text-align: center;
}

/* ──────────────────────────────────────────────────────────────────
   Bundle composition (panneau de droite, produits-ensembles)
   ────────────────────────────────────────────────────────────────── */
.bundle-composition {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid rgba(0, 0, 0, .08);
}
.bundle-composition__title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.05rem;
    font-weight: 500;
    text-transform: lowercase;
    letter-spacing: .02em;
    margin: 0 0 4px;
    color: #000;
}
.bundle-composition__sub {
    font-size: 12px;
    color: #6a7282;
    margin: 0 0 18px;
}
.bundle-comp-item {
    display: grid;
    grid-template-columns: 84px 1fr;
    gap: 14px;
    padding: 14px 0;
    border-top: 1px solid rgba(0, 0, 0, .06);
}
.bundle-comp-item:first-of-type { border-top: 0; padding-top: 8px; }
.bundle-comp-item__thumb {
    display: block;
    width: 84px;
    height: 84px;
    background: #f3f4f6;
    overflow: hidden;
    border-radius: 2px;
    text-decoration: none;
}
.bundle-comp-item__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity .2s;
}
.bundle-comp-item__thumb:hover img { opacity: .85; }
.bundle-comp-item__thumb svg {
    width: 100%;
    height: 100%;
    padding: 26px;
    color: #d1d5dc;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    box-sizing: border-box;
}
.bundle-comp-item__body { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.bundle-comp-item__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
}
.bundle-comp-item__name {
    font-family: 'Urbanist', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #000;
    text-decoration: none;
    transition: color .18s;
}
.bundle-comp-item__name:hover { color: #6a7282; }
.bundle-comp-item__qty {
    font-family: 'DM Mono', 'Courier New', monospace;
    font-size: 11px;
    color: #6a7282;
    white-space: nowrap;
}
.bundle-comp-axis {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.bundle-comp-axis__label {
    font-family: 'Urbanist', sans-serif;
    font-size: 11px;
    color: #6a7282;
    min-width: 50px;
    text-transform: lowercase;
}
.bundle-comp-axis__values {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}
.bundle-comp-axis__value {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 10px;
    background: #fff;
    border: 1px solid #d1d5dc;
    color: #000;
    font-family: 'Urbanist', sans-serif;
    font-size: 11px;
    cursor: pointer;
    transition: border-color .15s, color .15s, background .15s;
    user-select: none;
    border-radius: 0;
}
.bundle-comp-axis__value:hover { border-color: #000; }
.bundle-comp-axis__value.is-selected {
    background: #000;
    border-color: #000;
    color: #fff;
    font-weight: 500;
}
.bundle-comp-axis__value--swatch {
    width: 26px;
    height: 26px;
    padding: 0;
    border-radius: 50%;
}
.bundle-comp-axis__value--swatch span {
    font-size: 8px;
    text-align: center;
}

.product-axis-help {
    font-family: 'Urbanist', sans-serif;
    font-size: 11px;
    color: #6a7282;
    margin: 0;
}
.product-variant-error {
    font-family: 'Urbanist', sans-serif;
    font-size: 12px;
    color: #c4344f;
    background: #fff5f5;
    border: 1px solid #f0c4cf;
    padding: 8px 12px;
    margin: 0;
}

/* ── Description + SKU ── */
.product-description {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.product-description p {
    font-family: 'Urbanist', sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.6;
    color: #4a5565;
    margin: 0;
}
.product-sku {
    font-family: 'Urbanist', sans-serif;
    font-size: 10px;
    font-weight: 400;
    color: #6a7282;
    margin: 0;
    letter-spacing: 0.04em;
}

/* ── Stock line ── */
.product-stock {
    font-family: 'Urbanist', sans-serif;
    font-size: 12px;
    font-weight: 400;
    color: #4a5565;
    margin: 0;
}
.product-stock--in { color: #0a7c45; font-weight: 500; }
.product-stock--out { color: #c4344f; font-weight: 500; }

/* ── In-cart notice ── */
.product-in-cart {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px 14px;
    background: #f0f9f4;
    border: 1px solid #a3d9bb;
    font-family: 'Urbanist', sans-serif;
    font-size: 12px;
    color: #0a7c45;
}
.product-in-cart-head {
    display: flex;
    align-items: center;
    gap: 8px;
}
.product-in-cart-head svg { width: 14px; height: 14px; flex-shrink: 0; }
.product-in-cart-head a {
    margin-left: auto;
    color: #000;
    text-decoration: underline;
    text-underline-offset: 2px;
    font-weight: 500;
    white-space: nowrap;
}
.product-in-cart-head a:hover { opacity: 0.6; }
.product-in-cart strong { font-weight: 600; }
.product-in-cart-list {
    list-style: none;
    margin: 0;
    padding: 4px 0 0 22px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    border-top: 1px dashed rgba(10, 124, 69, 0.25);
}
.product-in-cart-item {
    display: flex;
    align-items: center;
    gap: 4px 10px;
    flex-wrap: wrap;
    font-size: 12px;
    color: #000;
}
.product-in-cart-item--current .product-in-cart-label {
    color: #0a7c45;
    font-weight: 500;
}
.product-in-cart-item--current .product-in-cart-label::after {
    content: ' (cette variante)';
    font-size: 10px;
    font-weight: 400;
    color: #6a7282;
    margin-left: 2px;
}
.product-in-cart-line-qty { margin-left: auto; font-size: 11px; color: #6a7282; }
.product-in-cart-line-qty strong { color: #000; }
.product-in-cart-item--warn .product-in-cart-label {
    text-decoration: line-through;
    text-decoration-color: rgba(196, 52, 79, 0.5);
}
.product-in-cart-item--warn .product-in-cart-line-qty strong { color: #c4344f; }
.product-in-cart-warn {
    flex-basis: 100%;
    font-size: 10px;
    color: #c4344f;
    background: #fff5f5;
    border: 1px solid #f0c4cf;
    padding: 2px 8px;
}

/* ── Add to cart CTA ── */
.product-add-to-cart {
    width: 100%;
    padding: 14px 16px;
    background: #000;
    color: #fff;
    border: 1px solid #000;
    font-family: 'Urbanist', sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: opacity 0.18s, transform 0.18s;
}
.product-add-to-cart:hover:not(:disabled) { opacity: 0.85; }
.product-add-to-cart:active:not(:disabled) { transform: translateY(1px); }
.product-add-to-cart:disabled {
    background: #fff;
    color: #6a7282;
    border-color: #d1d5dc;
    cursor: not-allowed;
}

/* ── Précommande : badge au-dessus du titre + mention sous le bouton ──
   Style minimal cohérent avec le front (noir/blanc, Urbanist, uppercase
   serré). Pas de couleur d'accent — l'info se signale par le contenu
   textuel et la mise en forme, pas par un fond coloré. */
.product-preorder-badge {
    display: inline-block;
    margin-bottom: 10px;
    padding: 3px 10px;
    background: #000;
    color: #fff;
    font-family: 'Urbanist', sans-serif;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.product-preorder-note {
    margin: 10px 0 0;
    padding: 10px 12px;
    background: #f7f7f5;
    border-left: 2px solid #000;
    font-family: 'Urbanist', sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
    color: #4a5565;
}
.product-preorder-note strong {
    color: #000;
    font-weight: 500;
}

/* ── Bundles contenant ce produit (CTA upsell) ── */
.product-bundle-cta {
    margin-top: 18px;
    padding: 14px 16px;
    background: rgba(124, 158, 255, .06);
    border: 1px solid rgba(124, 158, 255, .25);
    border-radius: 8px;
}
.product-bundle-cta__label {
    margin: 0 0 10px;
    font-family: 'Urbanist', sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: #4a5565;
    text-transform: lowercase;
    letter-spacing: .02em;
}
.product-bundle-cta__list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.product-bundle-cta__btn {
    display: grid;
    grid-template-columns: 18px 1fr auto 14px;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .1);
    border-radius: 6px;
    text-decoration: none;
    color: #000;
    transition: border-color .18s, background .18s, transform .18s;
}
.product-bundle-cta__btn:hover {
    border-color: #000;
    background: #fff;
    transform: translateY(-1px);
}
.product-bundle-cta__btn > svg:first-child {
    width: 18px;
    height: 18px;
    color: var(--accent);
    flex-shrink: 0;
}
.product-bundle-cta__name {
    font-family: 'Urbanist', sans-serif;
    font-size: 13px;
    font-weight: 500;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.product-bundle-cta__price {
    font-family: 'DM Mono', 'Courier New', monospace;
    font-size: 12px;
    color: #6a7282;
    white-space: nowrap;
}
.product-bundle-cta__arrow {
    width: 14px;
    height: 14px;
    color: #6a7282;
    flex-shrink: 0;
    transition: transform .18s;
}
.product-bundle-cta__btn:hover .product-bundle-cta__arrow {
    color: #000;
    transform: translateX(2px);
}

/* ── Accordion ── */
.product-accordion {
    border-top: 1px solid rgba(0,0,0,0.08);
    margin-top: 8px;
}
.product-accordion-item {
    border-bottom: 1px solid rgba(0,0,0,0.08);
}
.product-accordion-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    cursor: pointer;
    list-style: none;
    font-family: 'Urbanist', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #000;
    letter-spacing: 0.01em;
}
.product-accordion-item summary::-webkit-details-marker { display: none; }
.product-accordion-item summary::after {
    content: '+';
    font-size: 16px;
    font-weight: 300;
    color: #000;
    transition: transform 0.18s;
}
.product-accordion-item[open] summary::after { content: '−'; }
.product-accordion-body {
    font-family: 'Urbanist', sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.6;
    color: #4a5565;
    padding: 0 0 18px;
}

/* ── Liste à puces dans l'accordéon « Points clés » ── */
.product-bullet-list {
    margin: 0;
    padding: 0 0 0 18px;
    list-style: disc;
    color: #4a5565;
}
.product-bullet-list li {
    margin: 4px 0;
    line-height: 1.6;
}
.product-bullet-list li::marker { color: #99a1af; }

/* ── Rendu du HTML produit par Tiptap dans les accordéons
      (description, taille/coupe, matière/entretien) ── */
.product-accordion-body--rich p { margin: 0 0 8px; }
.product-accordion-body--rich p:last-child { margin-bottom: 0; }
.product-accordion-body--rich h2,
.product-accordion-body--rich h3 {
    font-family: 'Urbanist', sans-serif;
    color: #000;
    margin: 12px 0 6px;
    letter-spacing: 0.01em;
}
.product-accordion-body--rich h2 { font-size: 13px; font-weight: 600; text-transform: uppercase; }
.product-accordion-body--rich h3 { font-size: 12px; font-weight: 600; }
.product-accordion-body--rich ul,
.product-accordion-body--rich ol {
    margin: 6px 0;
    padding-left: 18px;
    color: #4a5565;
}
.product-accordion-body--rich li { margin: 3px 0; line-height: 1.6; }
.product-accordion-body--rich a {
    color: #000;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.product-accordion-body--rich strong { color: #000; font-weight: 600; }
.product-accordion-body--rich em { font-style: italic; }
.product-accordion-body--rich blockquote {
    border-left: 2px solid #000;
    padding-left: 12px;
    margin: 10px 0;
    color: #4a5565;
    font-style: italic;
}
.product-accordion-body--rich hr {
    border: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    margin: 14px 0;
}

/* ── Accordéon « Livraison & Retours » : bande synthétique + éditorial ──
   Bande de 3 « facts » avec icônes en haut pour scan rapide, puis le texte
   éditorial dessous (hérite des styles `.product-accordion-body--rich`).
   Style Aesop-ish : lignes fines, hiérarchie discrète, pas de couleur accent. */
.product-shipping-block { padding-top: 4px; }

.product-shipping-facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    padding: 14px 0 18px;
    margin-bottom: 18px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.product-shipping-fact {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    min-width: 0;
}
.product-shipping-fact svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: #000;
    margin-top: 1px;
}
.product-shipping-fact > div {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.product-shipping-fact strong {
    font-family: 'Urbanist', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #000;
    line-height: 1.3;
}
.product-shipping-fact strong sup {
    font-size: 8px;
    letter-spacing: 0;
    text-transform: none;
}
.product-shipping-fact span {
    font-family: 'Urbanist', sans-serif;
    font-size: 11px;
    color: #6a7282;
    line-height: 1.45;
}

.product-shipping-block .product-shipping-intro {
    margin: 0 0 18px;
    font-size: 12px;
    line-height: 1.7;
    color: #4a5565;
}
.product-shipping-block h3 {
    margin: 18px 0 6px;
    font-family: 'Urbanist', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #000;
}
.product-shipping-block h3:first-of-type { margin-top: 6px; }
.product-shipping-block p { margin: 0 0 10px; }
.product-shipping-block p:last-child { margin-bottom: 0; }

.product-shipping-block .product-shipping-outro {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    font-style: italic;
    color: #6a7282;
}

@media (max-width: 720px) {
    /* Mobile : les 3 « facts » passent en colonne — sur écran étroit la grille
       à 3 colonnes écrase trop le texte. Chaque fact prend la pleine largeur. */
    .product-shipping-facts {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

/* ── AJAX swap loading state ── */
#variant-panel.is-loading,
#variant-gallery.is-loading {
    opacity: 0.55;
    transition: opacity 0.12s;
    pointer-events: none;
}

/* ── Complétez le look ── */
.product-related {
    margin-top: 80px;
    padding: 0;
}
.product-related-title {
    font-family: 'Urbanist', sans-serif;
    font-size: 18px;
    font-weight: 300;
    color: #000;
    text-transform: lowercase;
    letter-spacing: 0.02em;
    text-align: center;
    margin: 0 0 32px;
}

/* ── Animation ── */
@keyframes catalogFadeIn {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ════════════════════════════════
   RESPONSIVE
════════════════════════════════ */
@media (max-width: 900px) {
    .catalog-header { padding: 48px 24px 24px; }
    .catalog-filters { padding: 12px 20px; }
    .catalog-active-filters { padding: 10px 20px; }
    .catalog-result-count { padding: 14px 20px 6px; }
    .catalog-filter-row {
        flex-direction: row;
        align-items: center;
        flex-wrap: wrap;
        gap: 16px 20px;
    }
    .catalog-search-wrap { flex: 1 1 100%; max-width: none; }
    .catalog-price-range { flex: 1 1 200px; max-width: none; }
    .catalog-grid { grid-template-columns: repeat(2, 1fr); }

    .product-detail { padding: 0 0 48px; }
    .product-layout { grid-template-columns: 1fr; gap: 0; }
    .product-info-col { padding: 32px 24px 48px; }
    .product-info { position: static; max-width: 100%; }
    .product-title { font-size: 16px; }
    .product-related { margin-top: 56px; padding: 0 24px; }
}

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


/* (Legacy product-detail rules removed — superseded by the Licorne minimal
   styles above. The vertical-stack gallery `.product-gallery-stack/-shot`
   replaces the old main+thumbs gallery; the AJAX `.is-loading` state lives
   in the new section just above.) */
