/* =========================================================================
   NBC — Collections Signature
   ========================================================================= */

:root {
    --nbc-cl-gold: var(--nbc-gold, #C9A07A);
    --nbc-cl-gold-dark: var(--nbc-gold-dark, #a07850);
    --nbc-cl-ink: var(--nbc-ink, #1a1a1a);
    --nbc-cl-cream: var(--nbc-cream, #faf6f0);
    --nbc-cl-line: rgba(26,26,26,0.10);
}

.nbc-cl { color: var(--nbc-cl-ink); background: #fff; }
.nbc-cl *, .nbc-cl *::before, .nbc-cl *::after { box-sizing: border-box; }

.nbc-cl-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-size: 11px;
    font-weight: 600;
    color: var(--nbc-cl-gold-dark);
    margin: 0 0 14px;
}
.nbc-cl-h2 {
    font-family: var(--nbc-serif, 'Cormorant Garamond', Georgia, serif);
    font-weight: 500;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.15;
    margin: 0 0 18px;
    color: var(--nbc-cl-ink);
}
.nbc-cl-lead {
    font-size: 16px;
    line-height: 1.65;
    color: #4a4a4a;
    margin: 0 auto;
    max-width: 640px;
}

/* ---------- Boutons ---------- */
.nbc-cl-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 15px 24px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
    line-height: 1;
    font-family: inherit;
}
.nbc-cl-btn--primary {
    background: var(--nbc-cl-ink);
    color: #fff;
    border-color: var(--nbc-cl-ink);
}
.nbc-cl-btn--primary:hover:not(:disabled) {
    background: var(--nbc-cl-gold-dark);
    border-color: var(--nbc-cl-gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(160,120,80,0.28);
}
.nbc-cl-btn--primary:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}
.nbc-cl-btn--gold {
    background: var(--nbc-cl-gold);
    color: var(--nbc-cl-ink);
    border-color: var(--nbc-cl-gold);
    width: auto;
}
.nbc-cl-btn--gold:hover { background: #fff; border-color: #fff; transform: translateY(-2px); }
.nbc-cl-btn--ghost {
    background: transparent;
    color: #f4ebde;
    border-color: rgba(244,235,222,0.5);
    width: auto;
}
.nbc-cl-btn--ghost:hover { background: #f4ebde; color: var(--nbc-cl-ink); border-color: #f4ebde; }

/* =========================================================================
   HERO
   ========================================================================= */
.nbc-cl-hero {
    position: relative;
    padding: clamp(80px, 12vh, 130px) 24px clamp(60px, 9vh, 100px);
    color: #f4ebde;
    overflow: hidden;
    text-align: center;
    background: #0e0e0e;
}
.nbc-cl-hero__bg {
    position: absolute;
    inset: 0;
    background:
      radial-gradient(circle at 18% 22%, rgba(201,160,122,0.30), transparent 50%),
      radial-gradient(circle at 82% 78%, rgba(160,120,80,0.25), transparent 55%),
      linear-gradient(160deg, #0e0e0e 0%, #1a1612 60%, #2a1f15 100%);
    pointer-events: none;
}
.nbc-cl-hero__inner {
    position: relative; z-index: 1;
    max-width: 880px; margin: 0 auto;
}
.nbc-cl-hero__eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.36em;
    font-size: 11px;
    color: var(--nbc-cl-gold);
    margin: 0 0 24px;
}
.nbc-cl-hero__title {
    font-family: var(--nbc-serif, 'Cormorant Garamond', Georgia, serif);
    font-weight: 400;
    font-size: clamp(36px, 7vw, 68px);
    line-height: 1.06;
    margin: 0 0 22px;
    color: #fff;
}
.nbc-cl-hero__title em {
    color: var(--nbc-cl-gold);
    font-style: italic;
    font-weight: 400;
}
.nbc-cl-hero__lead {
    color: rgba(244,235,222,0.85);
    font-size: clamp(15px, 1.6vw, 18px);
    line-height: 1.65;
    max-width: 680px;
    margin: 0 auto 36px;
}
.nbc-cl-hero__pillars {
    display: flex;
    gap: clamp(24px, 5vw, 56px);
    justify-content: center;
    flex-wrap: wrap;
    border-top: 1px solid rgba(244,235,222,0.18);
    padding-top: 26px;
}
.nbc-cl-hero__pillars span {
    text-align: center;
    display: flex;
    flex-direction: column;
}
.nbc-cl-hero__pillars strong {
    font-family: var(--nbc-serif, 'Cormorant Garamond', Georgia, serif);
    font-size: clamp(22px, 2.4vw, 28px);
    color: var(--nbc-cl-gold);
    font-weight: 500;
    margin-bottom: 4px;
}
.nbc-cl-hero__pillars span span,
.nbc-cl-hero__pillars > span:not(:has(strong)) { display: inline; }
.nbc-cl-hero__pillars > span:nth-child(n) > :not(strong) {
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(244,235,222,0.7);
}

.nbc-cl-error {
    padding: 14px 24px;
    background: rgba(220,80,80,0.10);
    border-bottom: 1px solid rgba(220,80,80,0.3);
    color: #a02828;
    text-align: center;
    font-size: 14px;
}
.nbc-cl-error p { margin: 0; }

/* =========================================================================
   SECTIONS
   ========================================================================= */
.nbc-cl-section {
    padding: clamp(70px, 10vh, 110px) 0 clamp(60px, 8vh, 100px);
    background: #fff;
}
.nbc-cl-section--alt { background: var(--nbc-cl-cream); }
.nbc-cl-section__inner { max-width: 1320px; margin: 0 auto; padding: 0 24px; }
.nbc-cl-section__header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 48px;
}

/* =========================================================================
   RAIL (carrousel mobile / grille desktop)
   ========================================================================= */
.nbc-cl-rail {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 1100px) { .nbc-cl-rail { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) {
    /* Carrousel horizontal scroll-snap, avec un bout de la carte suivante visible */
    .nbc-cl-rail {
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: 82%;
        grid-template-columns: none;
        overflow-x: auto;
        overflow-y: visible;
        scroll-snap-type: x mandatory;
        gap: 16px;
        padding: 6px 24px 28px;
        margin: 0 -24px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }
    .nbc-cl-rail::-webkit-scrollbar { display: none; }
    .nbc-cl-rail > .nbc-cl-card { scroll-snap-align: start; }
}

/* =========================================================================
   CARD
   ========================================================================= */
.nbc-cl-card {
    background: #fff;
    border-radius: 22px;
    border: 1px solid var(--nbc-cl-line);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.nbc-cl-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 60px rgba(26,26,26,0.10);
    border-color: transparent;
}
.nbc-cl-card__media {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background:
      radial-gradient(circle at 30% 40%, color-mix(in srgb, var(--shade, #1a1612) 60%, #000) 0%, transparent 65%),
      radial-gradient(circle at 75% 75%, color-mix(in srgb, var(--shade, #1a1612) 35%, #000) 0%, transparent 60%),
      linear-gradient(135deg, #1a1612 0%, #0e0e0e 100%);
}
.nbc-cl-card__shade {
    position: absolute;
    inset: 0;
    background:
      radial-gradient(circle at 30% 40%, var(--shade) 0%, transparent 60%),
      radial-gradient(circle at 75% 70%, color-mix(in srgb, var(--shade) 70%, #000) 0%, transparent 55%),
      linear-gradient(135deg, color-mix(in srgb, var(--shade) 60%, #000 40%) 0%, #1a1612 100%);
}
.nbc-cl-card__photo {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    height: 92%;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 16px 36px rgba(0,0,0,0.6));
    transition: transform 0.5s ease;
}
.nbc-cl-card:hover .nbc-cl-card__photo {
    transform: translate(-50%, -54%);
}
.nbc-cl-card__badge {
    position: absolute;
    top: 14px; left: 14px;
    background: var(--nbc-cl-gold);
    color: var(--nbc-cl-ink);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 7px 14px;
    border-radius: 999px;
    z-index: 2;
}
.nbc-cl-card__body {
    padding: 26px 24px 28px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.nbc-cl-card__kicker {
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--nbc-cl-gold-dark);
    font-weight: 600;
    margin-bottom: 8px;
}
.nbc-cl-card__title {
    font-family: var(--nbc-serif, 'Cormorant Garamond', Georgia, serif);
    font-size: 26px;
    line-height: 1.2;
    margin: 0 0 8px;
    color: var(--nbc-cl-ink);
    font-weight: 500;
}
.nbc-cl-card__pitch {
    font-size: 14.5px;
    line-height: 1.55;
    color: #5a5a5a;
    margin: 0 0 18px;
}
.nbc-cl-card__items {
    list-style: none;
    padding: 14px 0;
    margin: 0 0 18px;
    border-top: 1px solid var(--nbc-cl-line);
    border-bottom: 1px solid var(--nbc-cl-line);
}
.nbc-cl-card__items li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: #3a3a3a;
    padding: 8px 0;
}
.nbc-cl-card__item-thumb {
    width: 38px; height: 38px;
    border-radius: 8px;
    object-fit: cover;
    background: var(--nbc-cl-cream);
    flex-shrink: 0;
    border: 1px solid var(--nbc-cl-line);
}
.nbc-cl-card__item-thumb--ph { background: var(--nbc-cl-cream); }
.nbc-cl-card__item-name {
    flex: 1;
    font-weight: 500;
    color: var(--nbc-cl-ink);
    line-height: 1.3;
}
.nbc-cl-card__item-price {
    font-size: 13px;
    color: #5a5a5a;
    font-weight: 500;
    white-space: nowrap;
}
.nbc-cl-card__item-price .woocommerce-Price-amount { color: inherit; }

/* ---------- Pricing ---------- */
.nbc-cl-card__pricing { margin: 0 0 18px; }
.nbc-cl-prices {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 6px;
}
.nbc-cl-price-old {
    font-size: 14px;
    color: #a8a8a8;
    text-decoration: line-through;
}
.nbc-cl-price-old .woocommerce-Price-amount { color: inherit; }
.nbc-cl-price-new {
    font-family: var(--nbc-serif, 'Cormorant Garamond', Georgia, serif);
    font-size: 28px;
    font-weight: 500;
    color: var(--nbc-cl-ink);
}
.nbc-cl-price-new .woocommerce-Price-amount { color: inherit; }
.nbc-cl-price-tax {
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--nbc-cl-gold-dark);
    font-weight: 600;
    margin-left: auto;
    align-self: center;
    padding: 4px 10px;
    background: var(--nbc-cl-cream);
    border-radius: 999px;
}
.nbc-cl-saving {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--nbc-cl-gold-dark);
}
.nbc-cl-saving .woocommerce-Price-amount { color: inherit; font-weight: 700; }
.nbc-cl-card__body form { margin-top: auto; }

/* =========================================================================
   GLOSS — Picker
   ========================================================================= */
.nbc-cl-card__media--gloss {
    aspect-ratio: 16 / 9;
    background:
      radial-gradient(circle at 30% 30%, rgba(201,160,122,0.18), transparent 60%),
      linear-gradient(135deg, #2a1f15 0%, #1a1612 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    overflow: hidden;
    position: relative;
}
.nbc-cl-gloss-photos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 90%;
    width: 100%;
}
.nbc-cl-gloss-photos__bottle {
    height: 100%;
    width: auto;
    max-width: calc(100% / var(--n));
    object-fit: contain;
    filter: drop-shadow(0 12px 28px rgba(0,0,0,0.55));
    animation: nbcGlossPop 0.6s ease backwards;
    animation-delay: calc(var(--i, 0) * 80ms);
    transition: transform 0.4s ease;
}
.nbc-cl-card:hover .nbc-cl-gloss-photos__bottle {
    transform: translateY(-4px);
}
@keyframes nbcGlossPop {
    from { transform: translateY(40px); opacity: 0; }
    to   { transform: translateY(0); opacity: 1; }
}

.nbc-cl-gloss-picker {
    margin: 0 0 20px;
    padding: 14px 16px;
    background: var(--nbc-cl-cream);
    border-radius: 14px;
}
.nbc-cl-section--alt .nbc-cl-gloss-picker {
    background: #fff;
    border: 1px solid var(--nbc-cl-line);
}
.nbc-cl-gloss-picker__hint {
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--nbc-cl-gold-dark);
    font-weight: 600;
    margin: 0 0 12px;
}
.nbc-cl-gloss-picker__count { font-size: 14px; color: var(--nbc-cl-ink); }
.nbc-cl-gloss-picker__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.nbc-cl-gloss-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px 8px 8px;
    border: 1.5px solid var(--nbc-cl-line);
    border-radius: 999px;
    background: #fff;
    font-size: 13px;
    font-weight: 500;
    color: var(--nbc-cl-ink);
    cursor: pointer;
    transition: all 0.2s ease;
}
.nbc-cl-gloss-chip:hover {
    border-color: var(--nbc-cl-gold);
}
.nbc-cl-gloss-chip input { display: none; }
.nbc-cl-gloss-chip__dot {
    width: 18px; height: 18px;
    border-radius: 50%;
    background: var(--shade);
    box-shadow: inset 0 0 0 1.5px rgba(0,0,0,0.10);
    flex-shrink: 0;
}
.nbc-cl-gloss-chip.is-checked {
    background: var(--nbc-cl-ink);
    color: #fff;
    border-color: var(--nbc-cl-ink);
}
.nbc-cl-gloss-chip.is-disabled {
    opacity: 0.45;
    cursor: not-allowed;
}
.nbc-cl-gloss-form__msg {
    font-size: 12px;
    color: #8a3a3a;
    margin: 8px 0 0;
    min-height: 16px;
    text-align: center;
}

/* =========================================================================
   FAQ
   ========================================================================= */
.nbc-cl-faq {
    padding: clamp(70px, 10vh, 110px) 24px;
    background: #fff;
}
.nbc-cl-faq__inner { max-width: 820px; margin: 0 auto; }
.nbc-cl-faq__list { display: grid; gap: 12px; }
.nbc-cl-faq__item {
    border: 1px solid var(--nbc-cl-line);
    border-radius: 14px;
    background: #fff;
    overflow: hidden;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.nbc-cl-faq__item[open] {
    border-color: var(--nbc-cl-gold);
    box-shadow: 0 10px 28px rgba(201,160,122,0.12);
}
.nbc-cl-faq__item summary {
    list-style: none;
    cursor: pointer;
    padding: 20px 26px;
    font-size: 16px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    font-family: var(--nbc-serif, 'Cormorant Garamond', Georgia, serif);
}
.nbc-cl-faq__item summary::-webkit-details-marker { display: none; }
.nbc-cl-faq__item summary::after {
    content: '+';
    font-size: 26px;
    color: var(--nbc-cl-gold-dark);
    line-height: 1;
    flex-shrink: 0;
}
.nbc-cl-faq__item[open] summary::after { content: '−'; }
.nbc-cl-faq__item p {
    padding: 0 26px 22px;
    margin: 0;
    font-size: 15px;
    line-height: 1.65;
    color: #4a4a4a;
}
.nbc-cl-faq__item p a { color: var(--nbc-cl-gold-dark); text-decoration: underline; }

/* =========================================================================
   FOOT CTA
   ========================================================================= */
.nbc-cl-footcta {
    padding: clamp(70px, 10vh, 110px) 24px;
    background: linear-gradient(160deg, #1a1612 0%, #2a1f15 100%);
    color: #f4ebde;
    text-align: center;
}
.nbc-cl-footcta__inner { max-width: 760px; margin: 0 auto; }
.nbc-cl-footcta h2 {
    font-family: var(--nbc-serif, 'Cormorant Garamond', Georgia, serif);
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.2;
    margin: 0 0 16px;
    color: #fff;
    font-weight: 500;
}
.nbc-cl-footcta p {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(244,235,222,0.8);
    margin: 0 0 32px;
}
.nbc-cl-footcta__cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
