/* =============================================================
   HotZeg — Sauce detail v3 (compact 2-col + drawers)
   Mobile-first. Sauce category only. Pack page untouched.
============================================================= */

.sd {
    --product-accent: var(--magenta);
    --sd-radius: 18px;
    max-width: 1180px;
    margin: 0 auto;
    padding-bottom: clamp(48px, 6vw, 96px);
}
.sd .cat-crumbs { margin-bottom: clamp(18px, 2vw, 28px); }

/* ============ MAIN: image left / column right ============ */
.sd-main {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(24px, 3vw, 44px);
    margin-bottom: clamp(48px, 6vw, 88px);
    /* Critical: stretch image to right column initial height on desktop.
       align-items: start ensures image keeps its height while right col grows. */
    align-items: start;
}
@media (min-width: 920px) {
    .sd-main {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
        gap: clamp(40px, 5vw, 72px);
    }
}

/* Image — sticky on desktop, slightly more contained (~440px max) to feel premium */
.sd-media {
    position: relative;
    margin: 0;
    aspect-ratio: 3 / 4;
    border-radius: var(--sd-radius);
    overflow: hidden;
    background: var(--paper);
    border: 1px solid var(--rule);
    box-shadow: 0 1px 0 0 var(--product-accent) inset, 0 14px 32px -22px rgba(23, 18, 15, 0.18);
}
@media (min-width: 920px) {
    .sd-media {
        position: sticky;
        top: var(--hz-sticky-top);
        max-height: calc(100vh - var(--hz-sticky-top) - 24px);
        max-width: 440px;
    }
}
.sd-media .img-bg-fill { width: 100%; height: 100%; }
.sd-media .cat-pill-moment {
    top: 16px;
    left: 16px;
    padding: 7px 14px;
    font-size: 10.5px;
    letter-spacing: 0.14em;
}

/* Format badge — bottom-right of the image, mono uppercase, paper bg */
.sd-format-badge {
    position: absolute;
    bottom: 14px;
    right: 14px;
    z-index: 2;
    padding: 6px 12px;
    background: var(--paper);
    border: 1px solid var(--rule);
    border-radius: 999px;
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink);
    font-variant-numeric: tabular-nums;
    box-shadow: 0 4px 14px -4px rgba(0,0,0,0.18);
    white-space: nowrap;
}

/* Mobile: compact hero image — keep HotZeg look (blur fill, rounded corners,
   accent inset, shadow), just cap the height so name+headline+buy appear quickly. */
@media (max-width: 919px) {
    .sd-media {
        aspect-ratio: 4 / 5;
        max-height: 40vh;
        max-width: 78%;
        width: 100%;
        margin: 0 auto;
    }
}
.sd-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
}
.sd-kicker {
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin: 0 0 6px;
}
.sd-headrow {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin: 0;
}
.sd-name {
    font-family: var(--serif);
    font-weight: 500;
    font-size: clamp(36px, 5.6vw, 68px);
    line-height: 1.0;
    letter-spacing: -0.015em;
    margin: 0;
    color: var(--ink);
    /* Long names like MAZOSHISTA must never break mid-word */
    word-break: keep-all;
    overflow-wrap: normal;
    hyphens: none;
    min-width: 0;
    flex: 1 1 auto;
}
.sd-name em {
    font-style: normal;
    color: inherit;
}
.sd-price-pill {
    flex-shrink: 0;
    font-family: var(--mono);
    font-variant-numeric: tabular-nums;
    font-size: 14px;
    font-weight: 700;
    color: var(--ink);
    padding: 7px 14px;
    background: var(--paper-warm, #FAF5EC);
    border: 1px solid var(--rule);
    border-radius: 999px;
    line-height: 1;
    align-self: flex-start;
    margin-top: 8px;
}
/* Bundle pricing: group the active price with the strike-through "non-pack" price.
   Used on pack detail pages only — sauces never render the strike sibling. */
.sd-price-group {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    align-self: flex-start;
    margin-top: 8px;
    flex-wrap: wrap;
}
.sd-price-group .sd-price-pill { margin-top: 0; }
.sd-price-strike {
    font-family: var(--mono);
    font-variant-numeric: tabular-nums;
    font-size: 12px;
    font-weight: 600;
    color: var(--ink-soft);
    padding: 5px 10px;
    background: transparent;
    border: 1px dashed color-mix(in srgb, var(--ink) 25%, transparent);
    border-radius: 999px;
    line-height: 1;
    text-decoration: line-through;
    text-decoration-thickness: 1.5px;
    text-decoration-color: color-mix(in srgb, var(--ink) 45%, transparent);
    cursor: help;
    white-space: nowrap;
}
.sd-sub {
    font-size: clamp(15px, 1.4vw, 17px);
    line-height: 1.4;
    color: var(--ink-soft);
    margin: 12px 0 0;
    font-style: italic;
}
.sd-headline {
    font-size: clamp(15px, 1.4vw, 16.5px);
    line-height: 1.55;
    color: var(--ink);
    margin: 12px 0 0;
    max-width: 56ch;
    font-weight: 500;
}
.sd-desc {
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--ink-soft);
    margin: 10px 0 0;
    max-width: 56ch;
}

/* ============ Meta row — heat icons + label (same as mini cards) ============ */
/* ============ Heat micro-section — detail page signature ============ */
.sd-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 12px;
    padding: 22px 0;
    border-top: 1px dashed var(--rule);
    border-bottom: 1px dashed var(--rule);
    margin: 26px 0 0;
    min-height: 78px;
}
.sd-heat {
    display: inline-flex;
    align-items: center;
    gap: 11px;
}
.sd-heat-icon {
    flex-shrink: 0;
    /* Source PNG is 1064×1494 (vertical chili). Lock the height and let width
       auto-scale so the chili keeps its native aspect ratio (≈ 21×30 at this size). */
    width: auto !important;
    height: 30px !important;
    object-fit: contain;
    display: inline-block;
    transition: opacity 220ms ease, transform 220ms cubic-bezier(.22,1,.36,1);
    user-select: none;
    -webkit-user-drag: none;
}
.sd-heat-icon:not(.is-on) {
    opacity: 0.95;
    filter: none;
}
.sd-heat-icon.is-on {
    opacity: 1;
    filter: drop-shadow(0 1px 0 rgba(0, 0, 0, 0.10));
}
.sd-meta:hover .sd-heat-icon.is-on { transform: translateY(-1px); }
.sd-heat-label { display: none; }

@media (max-width: 720px) {
    .sd-meta { padding: 18px 0; min-height: 64px; }
    .sd-heat { gap: 9px; }
    .sd-heat-icon { width: auto !important; height: 26px !important; }
}

/* ============ Buy block — segmented capsule (mirrors mini card aesthetic) ============
   Layout: [ − N + ] | [ Ajouter au panier ] | [ ×N (conditional) ]
   - One unified outer border, single radius 999, fixed height
   - 3 segments collés, divider 1px between them
   - Right segment animates in (width transition, no layout jump)
   - Commit center has a `min-width` so it never gets squeezed
============================================================= */
.sd-buy {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 22px;
}
.sd-buy .qty-stepper { width: 100%; min-height: 0; gap: 0; }

/* Hide the legacy `state` block when used inside .sd-buy (lg) — the cart
   indicator is now an integrated segment on the right. */
.sd-buy .qty-stepper-state { display: none; }

/* The row IS the capsule */
.sd-buy .qty-stepper-row {
    display: flex;
    align-items: stretch;
    gap: 0;
    width: 100%;
    height: 56px;
    background: var(--paper);
    border: 1.25px solid var(--ink);
    border-radius: 999px;
    overflow: hidden;
    box-shadow: 0 1px 0 0 rgba(23,18,15,0.04);
    transition: box-shadow var(--t-med, 280ms ease);
}
.sd-buy .qty-stepper-row:hover { box-shadow: 0 8px 22px -14px rgba(23,18,15,0.30); }

/* Left segment — quantity picker */
.sd-buy .qty-stepper-pick {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: stretch;
    border: 0;
    background: transparent;
    border-radius: 0;
    height: 100%;
    border-right: 1px solid rgba(23,18,15,0.10);
}
.sd-buy .qty-stepper-pick-btn {
    flex: 0 0 44px;
    height: 100%;
    background: transparent;
    border: 0;
    color: var(--ink);
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 180ms ease;
}
.sd-buy .qty-stepper-pick-btn:hover:not(:disabled) { background: rgba(23,18,15,0.05); color: var(--ink); }
.sd-buy .qty-stepper-pick-btn[disabled] { opacity: 0.3; cursor: not-allowed; color: var(--ink-soft); background: transparent; }
.sd-buy .qty-stepper-pick-count {
    min-width: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    font-family: var(--mono);
    font-style: normal;
    font-weight: 700;
    font-size: 15px;
    color: var(--ink);
    padding: 0 4px;
}

/* Center segment — primary CTA */
.sd-buy .qty-stepper-commit {
    flex: 1 1 auto;
    min-width: 200px;
    height: 100%;
    background: var(--ink);
    color: var(--paper);
    border: 0;
    border-radius: 0;
    padding: 0 22px;
    font-family: var(--sans);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.02em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: background-color var(--t-med, 280ms ease);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.sd-buy .qty-stepper-commit:hover { background: #2A211C; }
.sd-buy .qty-stepper-commit i {
    width: 22px; height: 22px;
    line-height: 19px;
    border: 1px solid currentColor;
    border-radius: 999px;
    font-size: 13px;
    flex-basis: 22px;
    flex-shrink: 0;
    text-align: center;
    font-style: normal;
}

/* Right segment — silent cart state, "horlogerie" feel.
   ALWAYS opaque warm background (this space belongs to the cart). The state
   differentiation is in CONTRAST, not in transparency.
   - Empty (cart=0): subtle warm bg, muted ink for the count.
   - Active (cart>0): bolder warm bg, full ink.
   Cap at 99+ for stable width. Icon and digit are visually fused (gap:4). */
.sd-buy .qty-stepper-in-cart {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: 68px;
    padding: 0 14px;
    height: 100%;
    background: #F1E7D3;
    border: 0;
    border-left: 1px solid rgba(23,18,15,0.10);
    border-radius: 0;
    text-decoration: none;
    color: var(--ink);
    transition: background-color var(--t-med, 280ms ease),
                color var(--t-med, 280ms ease);
}
.sd-buy .qty-stepper-in-cart:hover { background: #E8DCC4; }
.sd-buy .qty-stepper-in-cart.is-empty {
    background: #F5EEDD;
    color: rgba(23, 18, 15, 0.45);
}
.sd-buy .qty-stepper-in-cart.is-empty:hover {
    color: rgba(23, 18, 15, 0.72);
    background: #EFE6CF;
}
.sd-buy .qty-stepper-in-cart-ico {
    flex-shrink: 0;
    /* slight optical lift so the cart sits visually centred next to the digits */
    transform: translateY(-0.5px);
}
.sd-buy .qty-stepper-in-cart-n {
    font-family: var(--mono);
    font-variant-numeric: tabular-nums;
    font-weight: 500;
    font-size: 12.5px;
    line-height: 1;
    letter-spacing: 0;
}

.sd-stock {
    font-family: var(--mono);
    font-size: 10.5px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin: 4px 0 0;
}
.sd-stock--soon a { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

/* Legacy classes kept invisible for safety (no more rendered in template) */
.sd-heat-row, .sd-price-row { display: none; }

@media (max-width: 560px) {
    .sd-buy .qty-stepper-row { height: 50px; }
    .sd-buy .qty-stepper-pick-btn { flex: 0 0 38px; font-size: 17px; }
    .sd-buy .qty-stepper-commit { min-width: 140px; padding: 0 16px; font-size: 13px; }
    .sd-buy .qty-stepper-in-cart { min-width: 54px; padding: 0 11px; gap: 5px; }
    .sd-buy .qty-stepper-in-cart-n { font-size: 11.5px; }
}

/* ============ Drawers ============ */
.sd-drawers {
    margin-top: 18px;
    border-top: 1px solid var(--rule);
}
.sd-drawer {
    border-bottom: 1px solid var(--rule);
}
.sd-drawer-head {
    list-style: none;
    cursor: pointer;
    padding: 18px 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    transition: color 180ms ease;
    user-select: none;
}
.sd-drawer-head::-webkit-details-marker { display: none; }
.sd-drawer-head:hover { color: var(--product-accent); }
.sd-drawer-title {
    font-family: var(--sans);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    color: var(--ink);
}
.sd-drawer:hover .sd-drawer-title { color: var(--product-accent); }
.sd-drawer-icon {
    position: relative;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: var(--product-accent);
}
.sd-drawer-icon::before,
.sd-drawer-icon::after {
    content: '';
    position: absolute;
    inset: 50% 0 auto 0;
    height: 2px;
    background: currentColor;
    transform: translateY(-50%);
    transition: transform 260ms cubic-bezier(.22, 1, .36, 1);
}
.sd-drawer-icon::after {
    transform: translateY(-50%) rotate(90deg);
}
.sd-drawer[open] .sd-drawer-icon::after {
    transform: translateY(-50%) rotate(0deg);
}
.sd-drawer-body {
    padding: 4px 4px 22px;
}

/* Chips (ingredients = outline, flavors = filled) */
.sd-chips {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.sd-chip {
    padding: 8px 16px;
    background: transparent;
    border: 1px solid var(--ink);
    border-radius: 999px;
    font-family: var(--sans);
    font-size: 13.5px;
    font-weight: 500;
    color: var(--ink);
    letter-spacing: 0.01em;
    transition: border-color 180ms ease, color 180ms ease, background 180ms ease;
}
.sd-chip:hover {
    border-color: var(--product-accent);
    color: var(--product-accent);
}
.sd-chip--filled {
    background: var(--ink);
    color: var(--paper);
    border-color: var(--ink);
}
.sd-chip--filled:hover {
    background: var(--product-accent);
    border-color: var(--product-accent);
    color: var(--paper);
}

/* Pairings — compact rows: title left, description right */
.sd-pairs {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.sd-pair {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 12px 16px;
    background: var(--paper);
    border: 1px solid var(--rule);
    border-radius: 12px;
    transition: border-color 180ms ease;
}
@media (min-width: 560px) {
    .sd-pair { grid-template-columns: minmax(120px, 28%) 1fr; gap: 16px; align-items: baseline; }
}
.sd-pair:hover { border-color: var(--product-accent); }
.sd-pair-name {
    font-family: var(--sans);
    font-weight: 700;
    font-size: 14px;
    line-height: 1.15;
    margin: 0;
    color: var(--ink);
}
.sd-pair-desc {
    font-size: 13.5px;
    line-height: 1.5;
    color: var(--ink-soft);
    margin: 0;
}

/* ============ Related ============ */
.sd-h2 {
    font-family: var(--serif);
    font-weight: 600;
    font-size: clamp(26px, 3vw, 38px);
    line-height: 1.1;
    letter-spacing: -0.01em;
    margin: 6px 0 0;
    color: var(--ink);
}
.sd-h2 em { font-style: normal; color: var(--product-accent); font-weight: 700; }

.sd-related {
    border-top: 1px solid var(--rule);
    padding-top: clamp(32px, 4vw, 56px);
}
.sd-related-head {
    margin-bottom: clamp(20px, 2vw, 32px);
}
.sd-related-title { margin: 6px 0 0; }
.sd-related .cat-grid--related {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: clamp(16px, 2vw, 24px);
}

/* ============ Composition list (pack only) ============
   Each row shows mini bottles (N if qty ≤ 4, else 1 bottle + ×N) on the
   left, then the sauce name. Direction: minimal editorial,
   "mini coffret photographié", never "inventaire". */
.sd-compo {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.sd-compo-row { display: flex; }
.sd-compo-link {
    --row-accent: var(--product-accent);
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 8px 14px;
    background: var(--paper);
    border: 1px solid var(--rule);
    border-radius: 12px;
    color: var(--ink);
    text-decoration: none;
    transition: border-color 180ms ease, transform 180ms cubic-bezier(.22,1,.36,1);
    min-height: 48px;
}
.sd-compo-link:hover {
    border-color: var(--row-accent);
    transform: translateX(2px);
}

/* Mini-bottles set — visible bottles when qty ≤ 4. Light positive gap (+3px)
   so each silhouette, label and dominant color reads independently. Direction:
   "photographed coffret / curated selection", never "stacked inventory pile". */
.sd-compo-thumbs {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    /* width auto — natural per-row width, hugged by .sd-compo-name flex:1 */
}
.sd-compo-thumbs--set .sd-compo-thumb + .sd-compo-thumb {
    margin-left: 3px;
}
.sd-compo-thumb {
    height: 30px;
    width: auto;
    display: block;
    object-fit: contain;
    /* no border / no bg / no shadow — the bottle does all the work */
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
}

/* Compact fallback for qty ≥ 5 : 1 bottle followed by "×N" */
.sd-compo-thumbs--mult {
    gap: 6px;
}
.sd-compo-mult {
    font-family: var(--mono);
    font-variant-numeric: tabular-nums;
    font-weight: 600;
    font-size: 12px;
    color: var(--ink-soft);
    letter-spacing: 0;
    line-height: 1;
    padding-bottom: 1px;
}

.sd-compo-name {
    font-family: var(--sans);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--ink);
    flex: 1 1 auto;
    min-width: 0;
}

/* Legacy classes — no-op now that the row uses .sd-compo-thumbs */
.sd-compo-dot { display: none; }
.sd-compo-qty { display: none; }

@media (max-width: 560px) {
    .sd-compo-link { padding: 6px 12px; gap: 12px; min-height: 44px; }
    .sd-compo-thumb { height: 26px; }
    .sd-compo-name { font-size: 12.5px; }
}

/* Pack media — slightly less tall accent (ink-filled badge already handles identity) */
.sd--pack .sd-media .cat-pill-moment {
    background: var(--ink);
    color: var(--paper);
    border-color: var(--ink);
}


/* ============ Mobile polish ============ */
@media (max-width: 559px) {
    .sd-main { gap: 18px; margin-bottom: clamp(36px, 5vw, 60px); }
    .sd-col { gap: 10px; }
    .sd-name { font-size: clamp(30px, 8vw, 38px); letter-spacing: -0.01em; }
    .sd-headline { font-size: 14.5px; line-height: 1.45; }
    .sd-desc { font-size: 13.5px; line-height: 1.55; }
    .sd-heat-row { padding: 9px 0; gap: 10px; margin: 10px 0 2px; }
    .sd-heat-chili svg { width: 17px; height: 17px; }
    .sd-heat-label, .sd-price-label { font-size: 10px; letter-spacing: 0.14em; }
    .sd-price { font-size: 24px; }
    .sd-price-row { margin: 6px 0 2px; }
    .sd-format-badge {
        bottom: 10px;
        right: 10px;
        padding: 5px 10px;
        font-size: 10px;
    }
    .sd-drawer-head { padding: 14px 4px; }
    .sd-drawer-title { font-size: 13px; }
    .sd-pair { padding: 10px 14px; }
    .sd-compo-link { padding: 10px 12px; gap: 10px; }
    .sd-compo-name { font-size: 13px; }
}

/* =============================================================
   Mobile only — compact "Continuez la découverte" cards
   2 cols on most phones (≥380px), 1 col on very small screens (<380px).
   Reduce image height, tighten paddings, condense CTAs.
   Desktop ≥920px is left untouched.
============================================================= */
@media (max-width: 919px) {
    .sd-related .m-feat-row-inner--related {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    /* Mobile: show only 2 cards (hide the 3rd to avoid a lonely card on a 2nd row) */
    .sd-related .m-feat-row-inner--related > :nth-child(3) {
        display: none;
    }
    .sd-related .m-pick { border-radius: 14px; }
    .sd-related .m-pick-media { aspect-ratio: 1 / 1; }
    .sd-related .m-pick-body {
        padding: 12px 12px 14px;
        gap: 6px;
    }
    .sd-related .m-pick-headrow { gap: 8px; }
    .sd-related .m-pick-name { font-size: 17px; line-height: 1.05; }
    .sd-related .m-pick-headline { display: none; }
    .sd-related .m-pick-sub { font-size: 12px; line-height: 1.35; }
    .sd-related .m-pick-price {
        font-size: 12px;
        padding: 3px 7px;
    }
    .sd-related .m-pick-meta {
        padding: 6px 0;
        margin: 2px 0 0;
        min-height: auto;
        /* Mini-cards 2-cols mobile: break the meta row in 2 stacked lines
           so heat chilis and "Découvrir ↗" don't visually collide. */
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .sd-related .m-pick-meta .m-pick-cue {
        align-self: flex-start;
    }
    .sd-related .m-pick-heat { gap: 4px; }
    .sd-related .m-pick-heat i { width: 7px; height: 7px; }
    .sd-related .m-pick-heat-label { display: none; }
    .sd-related .m-pick-compo-list { font-size: 11.5px; }
    .sd-related .m-pick-compo-label { font-size: 9.5px; }
    .sd-related .m-pick-ctas {
        gap: 6px;
        padding-top: 10px;
    }
    .sd-related .m-pick-cta { font-size: 12.5px; }
    .sd-related .m-pick-cta--primary {
        padding: 10px 12px;
        min-height: 38px;
    }
    .sd-related .m-pick-cta--secondary {
        padding: 9px 12px;
        min-height: 36px;
    }
    .sd-related .m-pick-badge {
        top: 8px;
        left: 8px;
        padding: 4px 9px;
        font-size: 9.5px;
        letter-spacing: 0.10em;
    }
}
@media (max-width: 379px) {
    .sd-related .m-feat-row-inner--related {
        grid-template-columns: 1fr;
    }
    .sd-related .m-pick-media { aspect-ratio: 5 / 4; }
}

/* =============================================================
   Story drawer ("+ Lire la suite" / "− Réduire")
   Used on both sauce and pack detail pages. When the storyline
   exceeds the 220-char teaser, a small text toggle reveals the
   full text in place (no modal, no scroll-jump).
   ============================================================= */
.sd-story {
    margin-top: 4px;
}
.sd-story .sd-desc {
    margin-top: 0;
    margin-bottom: 0;
}
.sd-story .sd-desc--full {
    white-space: pre-wrap;
}
.sd-story-toggle {
    appearance: none;
    background: transparent;
    border: 0;
    padding: 6px 0 2px 0;
    margin-top: 2px;
    font-family: var(--mono);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink);
    opacity: 0.72;
    cursor: pointer;
    transition: opacity 0.15s ease;
}
.sd-story-toggle:hover,
.sd-story-toggle:focus-visible {
    opacity: 1;
    outline: none;
}
.sd-story[data-expanded="true"] .sd-desc--collapsed { display: none; }

