/*************************
* Bottle Template 
**************************/

/****** HEADER ******/

/* BOTTLE MAIN */
.bottle-main-container {
    background-color: var(--secondary-colour-light);
    margin-bottom: 1.5rem;
    height: max-content;
    min-height: 250px;
}

.bottle-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-areas:
        ". . . img"
        "winery winery winery img"
        "name name name img";
    padding: 2rem 2rem;
}

.bottle-grid p,
h1 {
    margin: 0;
    text-transform: uppercase;
}

h1 {
    grid-area: name;
    color: var(--primary-colour);
}

.bottle-grid p {
    grid-area: winery;
    color: black;
}

.bottle-grid .bottle-img-container {
    grid-area: img;
}

.bottle-grid .bottle-img-container div {
    height: 30vh;
    min-height: 250px;
    max-height: 300px;
    position: relative;
    width: max-content;
width:-moz-max-content;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 5px;
}

.bottle-grid img {
    height: 100%;
}

.expand-bottle-button {
    position: absolute;
    bottom: 0rem;
    right: -1.2rem;
    width: 5rem;
    height: 5rem;
    transition: all .6s linear;
}

.expand-bottle-button circle {
    fill: var(--primary-colour);
    stroke: var(--primary-colour);
}

.expand-bottle-button line {
    stroke: white;
    stroke-width: .2px;
}

/****** EXPANDED BOTTLE ******/
.expanded-bottle-img-container {
    position: absolute;
    top: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(240, 239, 237, .95);
    z-index: 2;
    display: none;
}

.expanded-bottle-img-container .fas.fa-times {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 1rem;
}

.expanded-bottle-img-container div {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}


@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translate3d(0, -100%, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.fadeInDown {
    animation-name: fadeInDown;
}

@keyframes fadeOutUp {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
        transform: translate3d(0, -100%, 0);
    }
}

.fadeOutUp {
    animation-name: fadeOutUp;
}

/****** MAIN ******/
.bottle-profile {
    margin: 1.5rem 2.0rem;
}

/****** BOTTLE PROFILE ******/

.bottle-profile h2 {
    margin-bottom: 0;
}

.bottle-profile p {
    font-weight: 700;
    margin: .9rem 0 .9rem;
}

.bottle-profile p:nth-child(1) {
    float: right;
}

.bottle-profile p:nth-child(2) {
    float: left;
}

/* RATINGS */
.rating {
    height: 1rem;
    position: relative;
    background-color: var(--secondary-colour-light);
}

.rating::before {
    content: no-open-quote;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 20%;
    background-color: var(--primary-colour-light);
    animation-duration: 2s;
    animation-fill-mode: forwards;
    animation-timing-function: ease-in-out;
    animation-delay: .3s;
}

.score-rating-bars .rating::before {
    animation-name: scoreRatingBars;
}

@keyframes scoreRatingBars {
    from {
        left: 0%;
    }

    to {
        left: calc(((var(--value) / 5) * 100%) - 20%);
    }
}

.rating {
    clear: both;
}

.bottle-profile .cta-button {
    margin: 5rem auto;
    width: max-content;
width:-moz-max-content;
    max-width: 250px;
}

.cta-button a {
    display: block;
    border-radius: 10px;
    padding: 1.5rem 3rem;
    width: 100%;
    color: white;
    background-color: var(--primary-colour);
    text-align: center;
    text-decoration: none;
    font-size: 2rem;
    font-weight: 700;
}


@media all and (min-width:769px) {

    /****** HEADER ******/
    .bottle-grid {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        grid-template-areas:
            ". . . . img"
            "winery winery winery winery img"
            "name name name name img";
        height: 100%;
        min-height: 250px;
        max-height: 350px;
        align-content: center;
        padding-bottom: 1.5rem;
        margin: 0 auto;
    }

    .expand-bottle-button {
        width: 4.5rem;
        height: 4.5rem;
    }

    /****** BODY ******/
    .bottle-profile {
        margin: 1.5rem 0;
    }
}

@media all and (min-width:1024px) {

    /****** HEADER ******/
    .bottle-grid {
        width: var(--desktop-body-width);
        padding: 2rem 0;
    }

    .intro,
    .bottle-profile,
    .core-content {
        display: block;
        width: var(--desktop-body-width);
        margin: 3rem auto;
    }
}

/* ========================================================================
   Bottle-page redesign (Digital Sommelier): module-level styles.
   Source: Claude Design handoff bundle, bottle/Fonte Della Vigna ... .html
   All selectors are prefixed iw-* / .taste-* / .retailer-* / .offer-* /
   .market-* / .mobile-offer-* / .faq-*  to avoid clashing with the legacy
   .bottle-* selectors above.
   See docs/plans/2026-05-10-bottle-redesign-data-backbone.md.
   ======================================================================== */

.taste-track { height: 6px; border-radius: 3px; background: #d1c2d1; }
.taste-fill { height: 100%; border-radius: 3px; background: linear-gradient(90deg, #561371, #702f8a); transition: width 0.6s ease; }
.faq-answer { display: none; }
.faq-answer.open { display: block; }
.faq-chevron.open { transform: rotate(180deg); }
.scrollbar-hide::-webkit-scrollbar { display: none; }
.scrollbar-hide { -ms-overflow-style: none; scrollbar-width: none; }
.retailer-marketplace {
    position: relative;
    overflow: hidden;
    border-radius: 2rem;
    border: 1px solid rgba(121, 82, 45, 0.15);
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.92), transparent 34%),
        radial-gradient(circle at top right, rgba(86, 19, 113, 0.14), transparent 28%),
        linear-gradient(135deg, #fbf3ea 0%, #fffaf5 38%, #efe1d1 100%);
    box-shadow: 0 32px 80px rgba(80, 48, 18, 0.1);
}
.retailer-marketplace > * {
    position: relative;
    z-index: 1;
}
.retailer-logo-shell {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 4rem;
    padding: 0.95rem 1rem;
    border-radius: 1.15rem;
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid rgba(121, 82, 45, 0.1);
}
.retailer-logo-shell img {
    width: auto;
    max-width: 100%;
    max-height: 34px;
    object-fit: contain;
}
.retailer-logo-fallback {
    letter-spacing: 0.22em;
    text-transform: uppercase;
}
.offer-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border-radius: 999px;
    padding: 0.45rem 0.8rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}
.offer-chip--best {
    background: rgba(86, 19, 113, 0.1);
    color: #561371;
    border: 1px solid rgba(86, 19, 113, 0.16);
}
.offer-chip--neutral {
    background: rgba(140, 93, 43, 0.1);
    color: #8c5d2b;
    border: 1px solid rgba(140, 93, 43, 0.12);
}
.retailer-table-shell {
    overflow: hidden;
    border-radius: 1.6rem;
    border: 1px solid rgba(121, 82, 45, 0.12);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 18px 45px rgba(80, 48, 18, 0.08);
    backdrop-filter: blur(10px);
}
.retailer-table {
    width: 100%;
    border-collapse: collapse;
}
.retailer-table thead th {
    padding: 1rem 1.15rem;
    border-bottom: 1px solid rgba(121, 82, 45, 0.12);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(67, 59, 52, 0.66);
    background: rgba(255, 250, 245, 0.9);
}
.retailer-table td {
    padding: 1.15rem;
    vertical-align: middle;
}
.retailer-table tbody tr + tr td {
    border-top: 1px solid rgba(121, 82, 45, 0.1);
}
.retailer-table tbody tr.is-best {
    background: linear-gradient(90deg, rgba(255, 247, 241, 0.95) 0%, rgba(247, 232, 217, 0.78) 100%);
}
.retailer-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.retailer-brand-copy {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.retailer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}
.retailer-price {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}
.retailer-price-primary {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    color: #561371;
}
.retailer-price-original {
    color: rgba(67, 59, 52, 0.52);
    text-decoration: line-through;
}
.retailer-meta {
    color: rgba(67, 59, 52, 0.72);
}
.retailer-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 2.95rem;
    border-radius: 999px;
    padding: 0.8rem 1.1rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.retailer-cta:hover {
    transform: translateY(-1px);
}
.retailer-cta--primary {
    background: #561371;
    color: #fff7fa;
    box-shadow: 0 14px 24px rgba(86, 19, 113, 0.18);
}
.market-insight-card {
    border-radius: 1.5rem;
    border: 1px solid rgba(121, 82, 45, 0.12);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.mobile-offer-stack {
    display: grid;
    gap: 1rem;
}
.mobile-offer-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    border-radius: 1.5rem;
    border: 1px solid rgba(121, 82, 45, 0.12);
    background: rgba(255, 255, 255, 0.88);
    padding: 1.1rem;
    box-shadow: 0 18px 45px rgba(80, 48, 18, 0.08);
}
.mobile-offer-card.is-best {
    background: linear-gradient(180deg, rgba(255, 247, 241, 0.95) 0%, rgba(247, 232, 217, 0.78) 100%);
}

/* ============================================================
   Enhanced bottle-page modules
   ============================================================ */
.iw-section { padding: 56px clamp(1rem, 4vw, 4rem); }
.iw-section--tinted { background: linear-gradient(180deg, #fbf6ee 0%, #fcf9f4 100%); }
.iw-eyebrow { font-family: 'Inter', sans-serif; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: #8c5d2b; }
.iw-h2 { font-family: 'Noto Serif', serif; font-size: clamp(1.75rem, 3vw, 2.5rem); color: #561371; margin: 0.4rem 0 0.6rem; letter-spacing: -0.01em; line-height: 1.1; font-weight: 600; }
.iw-sub { font-family: 'Manrope', sans-serif; font-size: 1rem; color: rgba(28,28,25,0.66); max-width: 56ch; line-height: 1.55; margin: 0 0 2rem; }
.iw-mute { color: rgba(28,28,25,0.62); }

/* Buying Intelligence */
.iw-bidash { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); padding: 1.5rem; border-radius: 1.25rem; background: #ffffff; border: 1px solid rgba(86,19,113,0.08); box-shadow: 0 24px 60px rgba(86,19,113,0.05); }
.iw-bidash__cell { display: flex; flex-direction: column; gap: 0.35rem; padding: 0.5rem 0 0.5rem 1rem; border-left: 2px solid rgba(86,19,113,0.16); }
.iw-bidash__cell--strong { border-left-color: #561371; }
.iw-bidash__label { font-family: 'Inter', sans-serif; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(28,28,25,0.55); }
.iw-bidash__value { font-family: 'Noto Serif', serif; font-size: 1.6rem; color: #561371; font-feature-settings: "onum"; line-height: 1.05; font-weight: 600; }
.iw-bidash__hint { font-family: 'Manrope', sans-serif; font-size: 0.78rem; color: rgba(28,28,25,0.55); line-height: 1.4; }
.iw-bidash__hint .pos { color: #2f6b4d; font-weight: 600; }

/* Tasting Notes (MoM-style) */
.iw-tn { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .iw-tn { grid-template-columns: 240px 1fr; } }
.iw-tn__rail { display: flex; flex-direction: column; gap: 1.1rem; padding: 1.5rem; border-radius: 1rem; background: linear-gradient(180deg, #fcf6ec 0%, #f3e7d3 100%); border: 1px solid rgba(86,19,113,0.08); align-self: start; }
.iw-tn__rail dt { font-family: 'Inter', sans-serif; font-size: 0.62rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(28,28,25,0.5); margin: 0; }
.iw-tn__rail dd { font-family: 'Noto Serif', serif; font-style: italic; font-size: 1rem; color: #561371; margin: 0.15rem 0 0; }
.iw-tn__list { display: flex; flex-direction: column; gap: 1.6rem; }
.iw-tn__item { padding-left: 1.25rem; border-left: 2px solid rgba(86,19,113,0.18); }
.iw-tn__heading { font-family: 'Inter', sans-serif; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: #561371; margin-bottom: 0.5rem; }
.iw-tn__copy { font-family: 'Noto Serif', serif; font-size: 1.06rem; line-height: 1.65; color: #1c1c19; margin: 0; }
.iw-tn__copy em { color: #561371; font-style: italic; }
.iw-tn__chips { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.7rem; }
.iw-chip { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.32rem 0.75rem; border-radius: 999px; background: rgba(255,255,255,0.85); border: 1px solid rgba(86,19,113,0.14); font-family: 'Inter', sans-serif; font-size: 0.72rem; font-weight: 500; letter-spacing: 0.04em; color: #561371; }
.iw-chip--strong { background: #561371; color: #fcf9f4; border-color: transparent; }
.iw-chip--ghost { background: transparent; }
.iw-chip__dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: 0.7; }

/* Shared card */
.iw-card { background: #ffffff; border: 1px solid rgba(86,19,113,0.08); border-radius: 1.25rem; padding: 1.5rem; box-shadow: 0 18px 40px rgba(86,19,113,0.05); }

/* Compliance Snapshot */
.iw-comply { display: grid; gap: 0; grid-template-columns: repeat(2, 1fr); border-radius: 1.25rem; overflow: hidden; background: #ffffff; border: 1px solid rgba(86,19,113,0.08); box-shadow: 0 18px 40px rgba(86,19,113,0.05); }
@media (min-width: 720px) { .iw-comply { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1080px) { .iw-comply { grid-template-columns: repeat(5, 1fr); } }
.iw-comply__cell { padding: 1.1rem 1.15rem; border-bottom: 1px solid rgba(86,19,113,0.08); border-right: 1px solid rgba(86,19,113,0.08); }
.iw-comply__label { font-family: 'Inter', sans-serif; font-size: 0.62rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(28,28,25,0.5); margin-bottom: 0.4rem; }
.iw-comply__value { font-family: 'Noto Serif', serif; font-size: 1.05rem; color: #561371; font-style: italic; line-height: 1.3; }
.iw-comply__hint { font-family: 'Manrope', sans-serif; font-size: 0.74rem; color: rgba(28,28,25,0.55); margin-top: 0.4rem; line-height: 1.4; }

/* Italian Wine Fit Score */
.iw-fit { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.iw-fit__card { padding: 1.4rem; border-radius: 1rem; background: #ffffff; border: 1px solid rgba(86,19,113,0.08); display: flex; flex-direction: column; gap: 0.6rem; box-shadow: 0 14px 32px rgba(86,19,113,0.04); }
.iw-fit__card--top { background: linear-gradient(180deg, #fcf6ec 0%, #ffffff 70%); border-color: rgba(86,19,113,0.16); }
.iw-fit__head { display: flex; justify-content: space-between; align-items: baseline; gap: 0.5rem; }
.iw-fit__title { font-family: 'Manrope', sans-serif; font-weight: 600; font-size: 0.95rem; color: #1c1c19; }
.iw-fit__score { font-family: 'Noto Serif', serif; font-size: 1.7rem; color: #561371; font-feature-settings: "onum"; line-height: 1; font-weight: 600; }
.iw-fit__score small { font-size: 0.85rem; color: rgba(28,28,25,0.45); font-style: italic; font-weight: 400; }
.iw-fit__bar { height: 6px; border-radius: 999px; background: rgba(86,19,113,0.12); overflow: hidden; }
.iw-fit__fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, #561371 0%, #ad7be0 100%); }
.iw-fit__why { font-family: 'Manrope', sans-serif; font-size: 0.82rem; color: rgba(28,28,25,0.65); line-height: 1.5; margin: 0; }

/* Price context */
.iw-price-ctx { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 880px) { .iw-price-ctx { grid-template-columns: 1.3fr 1fr; } }
.iw-price-ladder { display: flex; flex-direction: column; gap: 0.95rem; padding: 1.5rem; background: #ffffff; border: 1px solid rgba(86,19,113,0.08); border-radius: 1.25rem; box-shadow: 0 18px 40px rgba(86,19,113,0.05); }
.iw-price-row { display: grid; grid-template-columns: 110px 1fr 76px; gap: 0.85rem; align-items: center; font-family: 'Manrope', sans-serif; font-size: 0.85rem; }
.iw-price-row__label { font-family: 'Inter', sans-serif; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(28,28,25,0.55); }
.iw-price-row__bar { position: relative; height: 8px; border-radius: 999px; background: rgba(86,19,113,0.08); }
.iw-price-row__range { position: absolute; top: 0; bottom: 0; border-radius: 999px; background: linear-gradient(90deg, rgba(86,19,113,0.18), rgba(86,19,113,0.42)); }
.iw-price-row__pin { position: absolute; top: -4px; bottom: -4px; width: 4px; border-radius: 4px; background: #561371; box-shadow: 0 0 0 4px rgba(86,19,113,0.16); }
.iw-price-row__val { font-family: 'Noto Serif', serif; color: #561371; font-feature-settings: "onum"; text-align: right; font-weight: 600; }
.iw-price-tags { display: flex; flex-direction: column; gap: 0.6rem; }
.iw-price-tag { display: flex; gap: 0.65rem; padding: 0.85rem 1rem; border-radius: 0.85rem; background: linear-gradient(180deg, #fcf6ec 0%, #fcf9f4 100%); border: 1px solid rgba(86,19,113,0.08); font-family: 'Manrope', sans-serif; font-size: 0.85rem; color: rgba(28,28,25,0.78); line-height: 1.45; }
.iw-price-tag svg { color: #561371; flex-shrink: 0; margin-top: 0.1rem; }
.iw-price-tag strong { color: #561371; font-weight: 600; }

/* Vintage Intelligence */
.iw-vintage { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 760px) { .iw-vintage { grid-template-columns: repeat(3, 1fr); } }
.iw-vintage__card { padding: 1.4rem; border-radius: 1rem; background: #ffffff; border: 1px solid rgba(86,19,113,0.08); display: flex; flex-direction: column; gap: 0.7rem; position: relative; box-shadow: 0 14px 32px rgba(86,19,113,0.04); }
.iw-vintage__card--current { background: linear-gradient(180deg, #fcf6ec 0%, #ffffff 60%); border-color: rgba(86,19,113,0.18); }
.iw-vintage__year { font-family: 'Noto Serif', serif; font-size: 2.6rem; color: #561371; line-height: 0.95; font-feature-settings: "onum"; font-weight: 600; }
.iw-vintage__price { font-family: 'Noto Serif', serif; font-size: 1.3rem; color: #1c1c19; font-feature-settings: "onum"; }
.iw-vintage__price small { font-family: 'Manrope', sans-serif; font-size: 0.78rem; color: rgba(28,28,25,0.55); margin-left: 0.4rem; font-style: italic; }
.iw-vintage__meta { font-family: 'Manrope', sans-serif; font-size: 0.82rem; color: rgba(28,28,25,0.65); }
.iw-vintage__badges { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.iw-vintage__badge { display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.25rem 0.65rem; border-radius: 999px; font-family: 'Inter', sans-serif; font-size: 0.62rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; }
.iw-vintage__badge--drink { background: rgba(67, 138, 102, 0.14); color: #2f6b4d; }
.iw-vintage__badge--hold { background: rgba(196, 119, 39, 0.16); color: #8a4d10; }
.iw-vintage__badge--peak { background: rgba(86, 19, 113, 0.14); color: #561371; }
.iw-vintage__current-pill { position: absolute; top: 1rem; right: 1rem; font-family: 'Inter', sans-serif; font-size: 0.6rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: #561371; }

/* Authority blocks */
.iw-authority { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 920px) { .iw-authority { grid-template-columns: 1.25fr 1fr; } }
.iw-rules { display: flex; flex-direction: column; }
.iw-rule { display: grid; grid-template-columns: 120px 1fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px dashed rgba(86,19,113,0.16); }
.iw-rule:last-child { border-bottom: none; }
.iw-rule__label { font-family: 'Inter', sans-serif; font-size: 0.65rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(28,28,25,0.5); padding-top: 0.15rem; }
.iw-rule__value { font-family: 'Manrope', sans-serif; font-size: 0.95rem; color: #1c1c19; line-height: 1.55; }
.iw-rule__value strong { color: #561371; font-weight: 600; }
.iw-rule__value em { font-family: 'Noto Serif', serif; font-style: italic; color: #561371; }
.iw-cost-stack { display: flex; flex-direction: column; gap: 1rem; padding: 1.5rem; background: linear-gradient(180deg, #fcf6ec 0%, #fcf9f4 100%); border-radius: 1.25rem; border: 1px solid rgba(86,19,113,0.08); }
.iw-cost-stack__head { font-family: 'Inter', sans-serif; font-size: 0.65rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: #8c5d2b; }
.iw-cost-stack__title { font-family: 'Noto Serif', serif; font-size: 1.4rem; color: #561371; line-height: 1.2; margin-bottom: 0.5rem; font-weight: 600; }
.iw-cost-item { display: grid; grid-template-columns: 32px 1fr; gap: 0.85rem; align-items: start; padding: 0.6rem 0; border-top: 1px dashed rgba(86,19,113,0.16); }
.iw-cost-item:first-of-type { border-top: none; padding-top: 0; }
.iw-cost-item__num { font-family: 'Noto Serif', serif; font-size: 1.35rem; color: #561371; line-height: 1; padding-top: 0.15rem; font-feature-settings: "onum"; font-weight: 600; }
.iw-cost-item__title { font-family: 'Manrope', sans-serif; font-weight: 600; color: #1c1c19; font-size: 0.95rem; margin-bottom: 0.2rem; }
.iw-cost-item__copy { font-family: 'Manrope', sans-serif; font-size: 0.85rem; color: rgba(28,28,25,0.7); line-height: 1.55; margin: 0; }

/* Label-reading explainer */
.iw-label-explain { display: grid; gap: 1.25rem; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 880px) { .iw-label-explain { grid-template-columns: 320px 1fr; } }
.iw-label-mock { background: linear-gradient(180deg, #f7e9d2 0%, #efd6b6 100%); border: 1px solid rgba(86,19,113,0.16); border-radius: 0.5rem; padding: 1.5rem 1.25rem; position: relative; box-shadow: 0 18px 36px rgba(86,19,113,0.1); aspect-ratio: 320/440; display: flex; flex-direction: column; justify-content: space-between; text-align: center; color: #1c1c19; }
.iw-label-mock__brand { font-family: 'Noto Serif', serif; font-style: italic; font-size: 0.85rem; color: #8c5d2b; letter-spacing: 0.08em; }
.iw-label-mock__name { font-family: 'Noto Serif', serif; font-size: 1.5rem; color: #561371; line-height: 1.15; }
.iw-label-mock__deno { font-family: 'Inter', sans-serif; font-size: 0.7rem; letter-spacing: 0.32em; text-transform: uppercase; color: #1c1c19; }
.iw-label-mock__meta { display: flex; justify-content: space-between; font-family: 'Inter', sans-serif; font-size: 0.65rem; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(28,28,25,0.65); }
.iw-label-mock__pin { position: absolute; padding: 0.2rem 0.45rem; background: #561371; color: #fcf9f4; font-family: 'Inter', sans-serif; font-size: 0.6rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; border-radius: 4px; cursor: default; }
.iw-label-mock__pin::before { content: ''; position: absolute; width: 24px; height: 1px; background: #561371; top: 50%; }
.iw-label-decode { display: flex; flex-direction: column; gap: 1rem; }
.iw-label-decode__row { display: grid; grid-template-columns: 90px 1fr; gap: 0.85rem; align-items: start; padding: 0.7rem 0; border-bottom: 1px dashed rgba(86,19,113,0.16); }
.iw-label-decode__row:last-child { border-bottom: none; }
.iw-label-decode__pin { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: #561371; color: #fcf9f4; font-family: 'Inter', sans-serif; font-size: 0.7rem; font-weight: 700; }
.iw-label-decode__head { display: flex; gap: 0.5rem; align-items: center; }
.iw-label-decode__title { font-family: 'Inter', sans-serif; font-size: 0.65rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(28,28,25,0.55); }
.iw-label-decode__copy { font-family: 'Manrope', sans-serif; font-size: 0.88rem; color: #1c1c19; line-height: 1.5; }
.iw-label-decode__copy strong { color: #561371; }

/* Dish match reasoning */
.iw-dishmatch { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .iw-dishmatch { grid-template-columns: repeat(2, 1fr); } }
.iw-dishmatch__card { padding: 1.25rem; border-radius: 1rem; background: #ffffff; border: 1px solid rgba(86,19,113,0.08); display: flex; gap: 1rem; align-items: flex-start; box-shadow: 0 14px 32px rgba(86,19,113,0.04); }
.iw-dishmatch__icon { width: 44px; height: 44px; border-radius: 999px; background: rgba(86,19,113,0.08); color: #561371; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.iw-dishmatch__title { font-family: 'Inter', sans-serif; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: #561371; margin: 0 0 0.3rem; }
.iw-dishmatch__name { font-family: 'Noto Serif', serif; font-size: 1.05rem; color: #1c1c19; margin: 0 0 0.35rem; line-height: 1.3; }
.iw-dishmatch__why { font-family: 'Manrope', sans-serif; font-size: 0.85rem; color: rgba(28,28,25,0.7); line-height: 1.55; margin: 0; }
.iw-dishmatch__why strong { color: #561371; font-weight: 600; }

/* Collector Guidance */
.iw-collector { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 880px) { .iw-collector { grid-template-columns: 1.3fr 1fr; } }
.iw-window { padding: 1.5rem; background: linear-gradient(180deg, #fcf6ec 0%, #f3e7d3 100%); border-radius: 1.25rem; border: 1px solid rgba(86,19,113,0.08); }
.iw-window__head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 1rem; flex-wrap: wrap; }
.iw-window__title { font-family: 'Inter', sans-serif; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: #561371; }
.iw-window__verdict { font-family: 'Noto Serif', serif; font-size: 1.05rem; font-style: italic; color: #1c1c19; }
.iw-window__verdict strong { color: #561371; font-style: normal; font-weight: 600; }
.iw-window__chart { display: grid; grid-template-columns: repeat(8, 1fr); gap: 0.4rem; align-items: end; height: 100px; }
.iw-window__bar { border-radius: 6px 6px 0 0; position: relative; }
.iw-window__bar--past { background: rgba(86,19,113,0.1); }
.iw-window__bar--good { background: rgba(86,19,113,0.32); }
.iw-window__bar--peak { background: linear-gradient(180deg, #561371 0%, #702f8a 100%); }
.iw-window__bar--decline { background: rgba(86,19,113,0.18); }
.iw-window__years-row { display: grid; grid-template-columns: repeat(8, 1fr); gap: 0.4rem; margin-top: 0.6rem; font-family: 'Inter', sans-serif; font-size: 0.66rem; color: rgba(28,28,25,0.55); text-align: center; font-feature-settings: "onum"; }
.iw-window__legend { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1rem; font-family: 'Manrope', sans-serif; font-size: 0.78rem; color: rgba(28,28,25,0.6); }
.iw-window__dot { width: 10px; height: 10px; border-radius: 3px; display: inline-block; margin-right: 0.4rem; vertical-align: middle; }
.iw-collector__panel { display: flex; flex-direction: column; gap: 1rem; padding: 1.5rem; border-radius: 1.25rem; background: #ffffff; border: 1px solid rgba(86,19,113,0.08); }
.iw-collector__row { display: grid; grid-template-columns: 32px 1fr; gap: 0.85rem; padding-bottom: 0.85rem; border-bottom: 1px dashed rgba(86,19,113,0.16); }
.iw-collector__row:last-child { border-bottom: none; padding-bottom: 0; }
.iw-collector__row svg { color: #561371; }
.iw-collector__row-title { font-family: 'Inter', sans-serif; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(28,28,25,0.55); margin-bottom: 0.2rem; }
.iw-collector__row-copy { font-family: 'Manrope', sans-serif; font-size: 0.92rem; color: #1c1c19; line-height: 1.5; }
.iw-collector__row-copy strong { color: #561371; }

/* Trust & Governance */
.iw-gov { display: grid; gap: 0; grid-template-columns: 1fr; padding: 0; border-radius: 1.25rem; background: #ffffff; border: 1px solid rgba(86,19,113,0.08); overflow: hidden; box-shadow: 0 18px 40px rgba(86,19,113,0.05); }
@media (min-width: 760px) { .iw-gov { grid-template-columns: repeat(3, 1fr); } }
.iw-gov__cell { padding: 1.5rem; }
.iw-gov__cell + .iw-gov__cell { border-top: 1px solid rgba(86,19,113,0.08); }
@media (min-width: 760px) { .iw-gov__cell + .iw-gov__cell { border-top: none; border-left: 1px solid rgba(86,19,113,0.08); } }
.iw-gov__title { font-family: 'Inter', sans-serif; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: #561371; margin-bottom: 0.6rem; display: flex; align-items: center; gap: 0.45rem; }
.iw-gov__copy { font-family: 'Manrope', sans-serif; font-size: 0.88rem; color: rgba(28,28,25,0.72); line-height: 1.6; }
.iw-gov__meta { font-family: 'Inter', sans-serif; font-size: 0.7rem; letter-spacing: 0.04em; color: rgba(28,28,25,0.5); margin-top: 0.6rem; font-style: italic; }
.iw-gov__confidence { display: flex; gap: 0.3rem; margin-top: 0.7rem; align-items: center; }
.iw-gov__confidence-bars { display: flex; gap: 0.25rem; }
.iw-gov__confidence-bars span { width: 22px; height: 5px; border-radius: 2px; background: rgba(86,19,113,0.14); }
.iw-gov__confidence-bars span.on { background: #561371; }
.iw-gov__confidence-label { font-family: 'Inter', sans-serif; font-size: 0.62rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(28,28,25,0.6); margin-left: 0.4rem; }

/* Entity graph */
.iw-graph { display: grid; gap: 0.85rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .iw-graph { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .iw-graph { grid-template-columns: repeat(3, 1fr); } }
.iw-graph__node { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.15rem; border-radius: 1rem; background: #ffffff; border: 1px solid rgba(86,19,113,0.08); text-decoration: none; color: inherit; transition: transform 0.18s ease, box-shadow 0.18s ease; }
.iw-graph__node:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(86,19,113,0.07); }
.iw-graph__icon { width: 50px; height: 50px; border-radius: 12px; background: rgba(86,19,113,0.08); display: flex; align-items: center; justify-content: center; flex-shrink: 0; overflow: hidden; }
.iw-graph__icon img { width: 100%; height: 100%; object-fit: cover; }
.iw-graph__icon svg { color: #561371; }
.iw-graph__kind { font-family: 'Inter', sans-serif; font-size: 0.62rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(28,28,25,0.55); }
.iw-graph__name { font-family: 'Noto Serif', serif; font-size: 1.05rem; color: #561371; line-height: 1.2; margin-top: 0.2rem; font-weight: 600; }
.iw-graph__sub { font-family: 'Manrope', sans-serif; font-size: 0.78rem; color: rgba(28,28,25,0.55); margin-top: 0.15rem; }

/* Retailer extended row */
.retailer-table tr.retailer-row-detail-row td { padding: 0; }
.retailer-row-detail { display: grid; gap: 0.7rem 1.5rem; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); padding: 1rem 1.15rem 1.1rem; background: rgba(252, 246, 236, 0.55); border-top: 1px dashed rgba(86,19,113,0.14); font-family: 'Manrope', sans-serif; font-size: 0.83rem; color: rgba(28,28,25,0.78); margin: 0; }
.retailer-row-detail dt { font-family: 'Inter', sans-serif; font-size: 0.62rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(28,28,25,0.5); margin-bottom: 0.2rem; }
.retailer-row-detail dd { margin: 0; color: #1c1c19; font-weight: 500; line-height: 1.45; }
.retailer-row-detail dd .pos { color: #2f6b4d; font-weight: 600; }
.retailer-row-detail dd .neg { color: #8c2f1c; }
.retailer-row-detail dd .neutral { color: rgba(28,28,25,0.55); }
.retailer-row-trust td { padding: 0.7rem 1.15rem; }
.retailer-row-trust__inner { display: flex; align-items: center; gap: 0.5rem; font-family: 'Manrope', sans-serif; font-size: 0.78rem; color: rgba(28,28,25,0.62); }
.retailer-row-trust__inner svg { color: #561371; flex-shrink: 0; }

/* Affiliate disclosure */
.iw-disclosure { display: flex; gap: 0.7rem; align-items: flex-start; padding: 0.95rem 1.1rem; background: rgba(86,19,113,0.04); border: 1px solid rgba(86,19,113,0.08); border-radius: 0.85rem; font-family: 'Manrope', sans-serif; font-size: 0.83rem; color: rgba(28,28,25,0.72); line-height: 1.55; margin-top: 1.5rem; }
.iw-disclosure svg { color: #561371; flex-shrink: 0; margin-top: 0.15rem; }
.iw-disclosure strong { color: #561371; font-weight: 600; }

/* Stock pill */
.iw-stock { display: inline-flex; align-items: center; gap: 0.4rem; font-family: 'Inter', sans-serif; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.04em; }
.iw-stock--high { color: #2f6b4d; }
.iw-stock--med { color: #8c5d2b; }
.iw-stock--low { color: #8c2f1c; }
.iw-stock-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

/* Section divider */
.iw-divider { height: 1px; background: linear-gradient(90deg, transparent, rgba(86,19,113,0.18), transparent); margin: 0; }

/* Footnote */
.iw-footnote { font-family: 'Manrope', sans-serif; font-size: 0.78rem; color: rgba(28,28,25,0.5); margin-top: 1.25rem; line-height: 1.5; }
.iw-footnote strong { color: rgba(28,28,25,0.7); font-weight: 600; }

/* ============================================================
   Retailer cards (enriched)
   ============================================================ */
.iw-retailer-list { display: flex; flex-direction: column; gap: 1rem; }
.iw-retailer { background: #fff; border-radius: 1rem; box-shadow: 0 14px 32px rgba(86,19,113,0.06); overflow: hidden; transition: transform 0.18s ease, box-shadow 0.18s ease; }
.iw-retailer:hover { transform: translateY(-3px); box-shadow: 0 22px 44px rgba(86,19,113,0.09); }
.iw-retailer--best { background: linear-gradient(180deg, #fff7f0 0%, #fffaf5 100%); box-shadow: 0 16px 38px rgba(86,19,113,0.08); position: relative; }
.iw-retailer--best::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(180deg, #561371, #ad7be0); }
.iw-retailer__head { display: grid; grid-template-columns: 1.4fr 1fr; gap: 1.5rem; padding: 1.4rem 1.6rem; align-items: center; }
.iw-retailer__brand { display: flex; gap: 1rem; align-items: center; }
.iw-retailer__brand-copy { display: flex; flex-direction: column; gap: 0.5rem; min-width: 0; }
.iw-retailer__name { font-family: 'Noto Serif', serif; font-size: 1.15rem; font-weight: 600; color: #1c1c19; margin: 0; }
.iw-retailer__chips { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.iw-rchip { display: inline-flex; align-items: center; padding: 0.25rem 0.65rem; border-radius: 999px; background: rgba(86,19,113,0.06); color: rgba(28,28,25,0.7); font-family: 'Inter', sans-serif; font-size: 0.66rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; border: 1px solid rgba(86,19,113,0.08); }
.iw-rchip--best { background: #561371; color: #fff7fa; border-color: #561371; }
.iw-rchip--trust { background: rgba(140,93,43,0.08); color: #8c5d2b; border-color: rgba(140,93,43,0.14); }
.iw-rchip--sale { background: #fdf3d1; color: #8c5d2b; border-color: rgba(140,93,43,0.18); }
.iw-retailer__price { display: flex; flex-direction: column; align-items: flex-end; gap: 0.4rem; text-align: right; }
.iw-retailer__vintage { font-family: 'Inter', sans-serif; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(28,28,25,0.55); }
.iw-retailer__amount { font-family: 'Noto Serif', serif; font-size: 1.85rem; font-weight: 600; color: #561371; line-height: 1; font-feature-settings: "onum"; }
.iw-retailer__per { font-family: 'Manrope', sans-serif; font-size: 0.74rem; color: rgba(28,28,25,0.55); }
.iw-retailer__cta { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.6rem 1.05rem; border-radius: 0.5rem; font-family: 'Manrope', sans-serif; font-size: 0.85rem; font-weight: 600; background: #561371; color: #fff7fa; text-decoration: none; box-shadow: 0 12px 22px rgba(86,19,113,0.18); transition: transform 0.16s ease; margin-top: 0.3rem; }
.iw-retailer__cta:hover { transform: translateY(-1px); }
.iw-retailer__cta--ghost { background: transparent; color: #561371; box-shadow: none; border: 1px solid rgba(86,19,113,0.25); }
.iw-retailer__logo--text { font-family: 'Noto Serif', serif; font-style: italic; font-size: 1.15rem; color: #561371; padding: 0 1rem; min-width: 90px; justify-content: center; }
.iw-retailer__detail { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.1rem 1.5rem; padding: 1rem 1.6rem 1.4rem; margin: 0; border-top: 1px solid rgba(86,19,113,0.08); background: rgba(252,249,244,0.5); }
.iw-retailer__detail > div { padding: 0.55rem 0; }
.iw-retailer__detail dt { font-family: 'Inter', sans-serif; font-size: 0.62rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(28,28,25,0.5); margin-bottom: 0.2rem; }
.iw-retailer__detail dd { font-family: 'Manrope', sans-serif; font-size: 0.85rem; color: rgba(28,28,25,0.85); margin: 0; line-height: 1.4; }

/* ============================================================
   Vintage Intelligence
   ============================================================ */
.iw-vint-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 1.2rem; }
.iw-vint { background: #fff; border-radius: 1rem; padding: 1.4rem 1.5rem; box-shadow: 0 12px 28px rgba(86,19,113,0.05); }
.iw-vint--current { background: linear-gradient(180deg, #fff8ee 0%, #fffaf5 100%); box-shadow: 0 16px 38px rgba(86,19,113,0.08); }
.iw-vint--muted { background: rgba(252,249,244,0.6); opacity: 0.75; }
.iw-vint__head { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 1rem; }
.iw-vint__year { font-family: 'Noto Serif', serif; font-size: 2rem; font-weight: 600; color: #561371; line-height: 1; font-feature-settings: "onum"; }
.iw-vint__data { display: flex; flex-direction: column; gap: 0.55rem; margin: 0 0 1rem; }
.iw-vint__data > div { display: flex; justify-content: space-between; gap: 0.5rem; font-family: 'Manrope', sans-serif; font-size: 0.85rem; }
.iw-vint__data dt { color: rgba(28,28,25,0.55); }
.iw-vint__data dd { color: rgba(28,28,25,0.85); margin: 0; text-align: right; }
.iw-vint__note { font-family: 'Manrope', sans-serif; font-size: 0.82rem; color: rgba(28,28,25,0.65); line-height: 1.5; margin: 0; }
.iw-window { display: inline-flex; align-items: center; padding: 0.18rem 0.55rem; border-radius: 999px; font-family: 'Inter', sans-serif; font-size: 0.62rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.iw-window--now { background: rgba(47,107,77,0.12); color: #2f6b4d; }
.iw-window--past { background: rgba(140,47,28,0.12); color: #8c2f1c; }

/* Perfect Pairings transparent dish cutouts */
.iw-pairing-tile { aspect-ratio: 1 / 1; display: grid; place-items: center; margin-bottom: 0.75rem; overflow: visible; }
.iw-pairing-tile--sm { width: 7rem; height: 7rem; margin-left: auto; margin-right: auto; }
.iw-pairing-tile__img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 12px 22px rgba(28,28,25,0.08)); transition: transform 0.5s ease, filter 0.5s ease; }
.group:hover .iw-pairing-tile__img { transform: scale(1.06); filter: drop-shadow(0 16px 28px rgba(86,19,113,0.12)); }

/* ============================================================
   Italian Wine Authority
   ============================================================ */
.iw-auth-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; margin-top: 1.2rem; }
.iw-auth-card { background: #fff; border-radius: 1rem; padding: 1.6rem 1.8rem; box-shadow: 0 12px 28px rgba(86,19,113,0.05); position: relative; }
.iw-auth-card--why { grid-column: 1 / -1; }
.iw-cost-dossier { padding: 0; overflow: hidden; border: 1px solid rgba(86,19,113,0.08); background: #fffdf8; }
.iw-cost-dossier__layout { display: grid; grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.45fr); min-height: 100%; }
.iw-cost-dossier__brief { padding: 1.7rem 1.8rem; border-right: 1px solid rgba(86,19,113,0.1); background: linear-gradient(180deg, #ffffff 0%, #fcf9f4 100%); display: flex; flex-direction: column; }
.iw-cost-dossier__brief .iw-auth-card__title { margin-bottom: 1.2rem; }
.iw-cost-dossier__stats { display: flex; flex-direction: column; gap: 0; margin: 1.2rem 0 0; }
.iw-cost-dossier__stats div { padding: 0.78rem 0; border-top: 1px solid rgba(86,19,113,0.11); }
.iw-cost-dossier .iw-auth-card__num { letter-spacing: 0; }
.iw-cost-dossier__stats dt { font-family: 'Manrope', sans-serif; font-size: 0.68rem; font-weight: 700; letter-spacing: 0; text-transform: uppercase; color: rgba(28,28,25,0.48); margin: 0 0 0.25rem; }
.iw-cost-dossier__stats dd { font-family: 'Noto Serif', serif; font-size: 1rem; color: #1c1c19; line-height: 1.35; margin: 0; overflow-wrap: anywhere; }
.iw-auth-card__num { font-family: 'Noto Serif', serif; font-style: italic; font-size: 0.85rem; color: #8c5d2b; letter-spacing: 0.18em; margin-bottom: 0.6rem; }
.iw-auth-card__title { font-family: 'Noto Serif', serif; font-size: 1.25rem; color: #561371; margin: 0 0 0.8rem; line-height: 1.3; letter-spacing: 0; }
.iw-auth-card p { font-family: 'Manrope', sans-serif; font-size: 0.92rem; color: rgba(28,28,25,0.78); line-height: 1.6; margin: 0 0 0.8rem; }
.iw-auth-card p:last-child { margin-bottom: 0; }
.iw-auth-card strong { color: #561371; font-weight: 600; }
.iw-auth-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.55rem; }
.iw-auth-list li { font-family: 'Manrope', sans-serif; font-size: 0.88rem; color: rgba(28,28,25,0.78); line-height: 1.5; padding-left: 1.1rem; position: relative; }
.iw-auth-list li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 6px; height: 6px; border-radius: 50%; background: #561371; }
.iw-auth-list--label li { display: flex; flex-direction: column; gap: 0.15rem; padding-left: 0; }
.iw-auth-list--label li::before { display: none; }
.iw-auth-list--label li span { font-family: 'Noto Serif', serif; font-style: italic; font-size: 1rem; color: #1c1c19; }
.iw-auth-list--label li em { font-family: 'Inter', sans-serif; font-size: 0.66rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(28,28,25,0.5); font-style: normal; }
.iw-cost-drivers { list-style: none; margin: 0; padding: 0.55rem 0; display: flex; flex-direction: column; }
.iw-cost-driver { display: grid; grid-template-columns: 2.75rem minmax(0, 1fr); gap: 1rem; padding: 1.05rem 1.45rem; border-bottom: 1px solid rgba(86,19,113,0.08); }
.iw-cost-driver:last-child { border-bottom: 0; }
.iw-cost-driver__index { font-family: 'Noto Serif', serif; font-style: italic; font-size: 0.82rem; color: #8c5d2b; line-height: 1.45; }
.iw-cost-driver__body { min-width: 0; }
.iw-cost-driver__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.85rem; align-items: start; }
.iw-cost-driver__factor { font-family: 'Manrope', sans-serif; font-size: 0.92rem; font-weight: 700; color: #1c1c19; line-height: 1.35; margin: 0; overflow-wrap: anywhere; }
.iw-cost-driver__badge { display: inline-flex; align-items: center; justify-content: center; min-height: 1.5rem; padding: 0.22rem 0.55rem; border-radius: 999px; font-family: 'Manrope', sans-serif; font-size: 0.66rem; font-weight: 800; letter-spacing: 0; text-transform: uppercase; white-space: nowrap; }
.iw-cost-driver--up .iw-cost-driver__badge { color: #8c2f1c; background: rgba(140,47,28,0.11); }
.iw-cost-driver--down .iw-cost-driver__badge { color: #2f6b4d; background: rgba(47,107,77,0.12); }
.iw-cost-driver__meter { display: block; width: 100%; height: 6px; margin: 0.62rem 0 0.5rem; border-radius: 999px; background: rgba(28,28,25,0.08); overflow: hidden; }
.iw-cost-driver__meter > span { display: block; width: var(--driver-strength, 0%); height: 100%; border-radius: inherit; background: linear-gradient(90deg, #8c2f1c 0%, #c87b50 100%); }
.iw-cost-driver--down .iw-cost-driver__meter > span { background: linear-gradient(90deg, #2f6b4d 0%, #7d9a58 100%); }
.iw-cost-driver__note { font-family: 'Manrope', sans-serif; font-size: 0.82rem; line-height: 1.55; color: rgba(28,28,25,0.66); margin: 0; max-width: 82ch; }
@media (min-width: 1080px) {
    .iw-cost-drivers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: start; padding: 0.65rem; }
    .iw-cost-driver { grid-template-columns: 2.15rem minmax(0, 1fr); padding: 0.95rem 1.05rem; border-bottom: 0; border-top: 1px solid rgba(86,19,113,0.08); }
    .iw-cost-driver:nth-child(-n+2) { border-top: 0; }
    .iw-cost-driver:nth-child(odd) { border-right: 1px solid rgba(86,19,113,0.08); }
    .iw-cost-driver__head { grid-template-columns: 1fr; gap: 0.45rem; }
    .iw-cost-driver__badge { justify-self: start; }
}

/* ============================================================
   Pairing reason cards
   ============================================================ */
.iw-pair-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 1.2rem; }
.iw-pair { background: #fff; border-radius: 1rem; padding: 1.4rem 1.5rem; box-shadow: 0 12px 28px rgba(86,19,113,0.05); display: flex; flex-direction: column; gap: 0.7rem; }
.iw-pair--warn { background: linear-gradient(180deg, #fef0e8 0%, #fcf9f4 100%); }
.iw-pair__head { display: flex; justify-content: space-between; gap: 0.6rem; align-items: baseline; }
.iw-pair__cat { display: inline-flex; padding: 0.22rem 0.6rem; border-radius: 999px; font-family: 'Inter', sans-serif; font-size: 0.62rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.iw-pair__cat--acid { background: rgba(86,19,113,0.1); color: #561371; }
.iw-pair__cat--tannin { background: rgba(140,47,28,0.12); color: #8c2f1c; }
.iw-pair__cat--fat { background: rgba(140,93,43,0.14); color: #8c5d2b; }
.iw-pair__cat--aroma { background: rgba(47,107,77,0.14); color: #2f6b4d; }
.iw-pair__cat--body { background: rgba(86,19,113,0.06); color: #561371; }
.iw-pair__cat--warn { background: rgba(140,47,28,0.16); color: #8c2f1c; }
.iw-pair__strength { font-family: 'Inter', sans-serif; font-size: 0.66rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(28,28,25,0.5); }
.iw-pair__title { font-family: 'Noto Serif', serif; font-size: 1.15rem; color: #1c1c19; margin: 0; line-height: 1.3; }
.iw-pair__why { font-family: 'Manrope', sans-serif; font-size: 0.88rem; color: rgba(28,28,25,0.78); line-height: 1.6; margin: 0; }
.iw-pair__try { font-family: 'Manrope', sans-serif; font-size: 0.78rem; color: rgba(28,28,25,0.55); margin: 0; line-height: 1.5; }
.iw-pair__try a { color: #561371; }

/* ============================================================
   Collector guidance
   ============================================================ */
.iw-coll-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; margin-top: 1.2rem; }
.iw-coll-card { background: #fff; border-radius: 1rem; padding: 1.3rem 1.3rem 1.4rem; box-shadow: 0 12px 28px rgba(86,19,113,0.05); display: flex; flex-direction: column; gap: 0.5rem; }
.iw-coll-card--verdict { background: linear-gradient(180deg, #561371 0%, #702f8a 100%); color: #fff7fa; box-shadow: 0 18px 38px rgba(86,19,113,0.22); }
.iw-coll-card--verdict .iw-coll-card__label { color: rgba(255,247,250,0.7); }
.iw-coll-card--verdict .iw-coll-card__value { color: #fff7fa; }
.iw-coll-card--verdict .iw-coll-card__note { color: rgba(255,247,250,0.78); }
.iw-coll-card__icon { color: #561371; }
.iw-coll-card__label { font-family: 'Inter', sans-serif; font-size: 0.62rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(28,28,25,0.5); }
.iw-coll-card__value { font-family: 'Noto Serif', serif; font-size: 1.25rem; color: #561371; line-height: 1.2; font-feature-settings: "onum"; }
.iw-coll-card__note { font-family: 'Manrope', sans-serif; font-size: 0.8rem; color: rgba(28,28,25,0.65); line-height: 1.5; margin: 0; }

/* ============================================================
   Trust & Governance + Entity Graph
   ============================================================ */
.iw-trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.2rem; }
.iw-trust { background: #fff; border-radius: 1rem; padding: 1.3rem 1.4rem; box-shadow: 0 12px 28px rgba(86,19,113,0.05); display: flex; flex-direction: column; gap: 0.65rem; }
.iw-trust__head { display: flex; align-items: center; gap: 0.6rem; }
.iw-trust__dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.iw-trust__dot--live { background: #2f6b4d; box-shadow: 0 0 0 4px rgba(47,107,77,0.15); }
.iw-trust__dot--editorial { background: #561371; box-shadow: 0 0 0 4px rgba(86,19,113,0.15); }
.iw-trust__dot--rule { background: #8c5d2b; box-shadow: 0 0 0 4px rgba(140,93,43,0.15); }
.iw-trust__dot--inferred { background: #c87b50; box-shadow: 0 0 0 4px rgba(200,123,80,0.18); }
.iw-trust__label { font-family: 'Noto Serif', serif; font-size: 1rem; font-weight: 600; color: #1c1c19; }
.iw-trust__copy { font-family: 'Manrope', sans-serif; font-size: 0.85rem; color: rgba(28,28,25,0.7); line-height: 1.55; margin: 0; }
.iw-trust__conf { display: inline-flex; align-self: flex-start; padding: 0.2rem 0.55rem; border-radius: 999px; font-family: 'Inter', sans-serif; font-size: 0.62rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.iw-trust__conf--high { background: rgba(47,107,77,0.12); color: #2f6b4d; }
.iw-trust__conf--med { background: rgba(140,93,43,0.14); color: #8c5d2b; }

.iw-graph { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; margin-top: 1.2rem; }
.iw-graph__col { display: flex; flex-direction: column; gap: 0.55rem; }
.iw-graph__head { font-family: 'Inter', sans-serif; font-size: 0.62rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(28,28,25,0.5); padding-bottom: 0.4rem; border-bottom: 1px solid rgba(86,19,113,0.12); }
.iw-graph__node { display: flex; flex-direction: column; gap: 0.15rem; padding: 0.7rem 0.85rem; border-radius: 0.65rem; background: #fff; box-shadow: 0 8px 18px rgba(86,19,113,0.04); text-decoration: none; color: #1c1c19; transition: transform 0.16s ease, box-shadow 0.16s ease; }
.iw-graph__node:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(86,19,113,0.08); }
.iw-graph__node strong { font-family: 'Noto Serif', serif; font-size: 0.95rem; color: #561371; font-weight: 600; }
.iw-graph__node em { font-family: 'Noto Serif', serif; font-size: 0.95rem; color: #561371; font-style: italic; }
.iw-graph__node span { font-family: 'Manrope', sans-serif; font-size: 0.75rem; color: rgba(28,28,25,0.6); }
.iw-graph__node--static:hover { transform: none; box-shadow: 0 8px 18px rgba(86,19,113,0.04); }
.iw-graph__node--lg { padding: 0.9rem 1rem; }
.iw-graph__node--lg strong { font-size: 1.05rem; }
.iw-graph__node--small { padding: 0.55rem 0.75rem; }
.iw-graph__node--small strong { font-size: 0.85rem; }

/* Tasting notes: hard-set chip layout (override fragments) */
.iw-tn { display: grid; grid-template-columns: 220px 1fr; gap: 2rem; margin-top: 1.5rem; }
.iw-tn__rail { display: flex; flex-direction: column; gap: 1.1rem; padding: 1.3rem 1.4rem; background: #fff; border-radius: 0.85rem; box-shadow: 0 12px 28px rgba(86,19,113,0.05); margin: 0; align-self: start; }
.iw-tn__rail > div { display: flex; flex-direction: column; gap: 0.15rem; }
.iw-tn__rail dt { font-family: 'Inter', sans-serif; font-size: 0.6rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(28,28,25,0.5); }
.iw-tn__rail dd { font-family: 'Noto Serif', serif; font-size: 0.95rem; color: #1c1c19; margin: 0; }
.iw-tn__list { display: flex; flex-direction: column; gap: 1.5rem; }
.iw-tn__item { display: flex; flex-direction: column; gap: 0.55rem; }
.iw-tn__heading { font-family: 'Inter', sans-serif; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: #8c5d2b; }
.iw-tn__copy { font-family: 'Noto Serif', serif; font-size: 1.1rem; color: #1c1c19; line-height: 1.65; margin: 0; }
.iw-tn__chips { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.3rem; }
.iw-chip { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.32rem 0.7rem; border-radius: 999px; background: rgba(86,19,113,0.06); color: rgba(28,28,25,0.78); font-family: 'Manrope', sans-serif; font-size: 0.78rem; border: 1px solid rgba(86,19,113,0.08); }
.iw-chip--strong { background: #561371; color: #fff7fa; border-color: #561371; }
.iw-chip__dot { width: 6px; height: 6px; border-radius: 50%; background: #561371; }

/* Responsive */
@media (max-width: 1100px) {
    .iw-pair-grid, .iw-vint-grid, .iw-trust-grid { grid-template-columns: repeat(2, 1fr); }
    .iw-coll-grid { grid-template-columns: repeat(3, 1fr); }
    .iw-graph { grid-template-columns: repeat(3, 1fr); }
    .iw-retailer__detail { grid-template-columns: repeat(2, 1fr); }
    .iw-tn { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
    .iw-section { padding: 40px 1rem; }
    .iw-auth-grid { grid-template-columns: 1fr; }
    .iw-pair-grid, .iw-vint-grid, .iw-trust-grid, .iw-coll-grid, .iw-graph { grid-template-columns: 1fr; }
    .iw-retailer__head { grid-template-columns: 1fr; gap: 1rem; }
    .iw-retailer__price { align-items: flex-start; text-align: left; }
    .iw-retailer__detail { grid-template-columns: 1fr; padding: 0.8rem 1.2rem 1.1rem; }
    .iw-cost-dossier__layout { grid-template-columns: 1fr; }
    .iw-cost-dossier__brief { border-right: 0; border-bottom: 1px solid rgba(86,19,113,0.1); padding: 1.35rem; }
    .iw-cost-driver { grid-template-columns: 2.15rem minmax(0, 1fr); padding: 1rem 1.15rem; }
    .iw-cost-driver__head { grid-template-columns: 1fr; gap: 0.45rem; }
    .iw-cost-driver__badge { justify-self: start; }
}

/* ========================================================================
   Tasting Notes additions: taste-profile bars folded into the rail, plus
   icon-based flavour-card grid replacing the dot chips.
   ======================================================================== */
.iw-tn__taste-block { margin-top: 0.6rem; padding-top: 1rem; border-top: 1px dashed rgba(86,19,113,0.18); }
.iw-tn__taste-bars { display: flex; flex-direction: column; gap: 0.85rem; margin-top: 0.4rem; }
.iw-tn__taste-row { display: flex; flex-direction: column; gap: 0.35rem; }
.iw-tn__taste-head { display: flex; justify-content: space-between; align-items: baseline; gap: 0.5rem; }
.iw-tn__taste-label { font-family: 'Inter', sans-serif; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: #561371; }
.iw-tn__taste-anchor { font-family: 'Manrope', sans-serif; font-size: 0.72rem; color: rgba(28,28,25,0.55); }

.iw-tn__flavour-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 0.7rem; margin-top: 0.9rem; }
.iw-tn__flavour-card { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 0.45rem; padding: 0.85rem 0.5rem 0.7rem; border-radius: 0.85rem; background: rgba(255,255,255,0.92); border: 1px solid rgba(86,19,113,0.08); box-shadow: 0 6px 16px rgba(86,19,113,0.04); transition: transform 0.18s ease, box-shadow 0.18s ease; }
.iw-tn__flavour-card:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(86,19,113,0.08); }
.iw-tn__flavour-icon,
.iw-tn__flavour-card img,
.iw-tn__flavour-card svg { width: 36px !important; height: 36px !important; max-width: 36px !important; max-height: 36px !important; object-fit: contain; flex-shrink: 0; }
.iw-tn__flavour-name { font-family: 'Manrope', sans-serif; font-size: 0.78rem; font-weight: 500; color: #1c1c19; text-align: center; line-height: 1.25; }

/* ========================================================================
   Where-to-Buy vintage filter chips. Sit above the iw-retailer-list, are
   JS-driven (no XHR, no URL params). Match the eyebrow / chip language of
   the rest of the redesign so they read as a continuation of the table,
   not as a separate component.
   ======================================================================== */
.iw-retailer-filter { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 0 0 1.5rem; }
.iw-retailer-filter__chip {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.55rem 0.95rem;
    border-radius: 999px;
    border: 1px solid rgba(86,19,113,0.18);
    background: rgba(255,255,255,0.78);
    color: #561371;
    font-family: 'Inter', sans-serif;
    font-size: 0.74rem; font-weight: 700;
    letter-spacing: 0.16em; text-transform: uppercase;
    cursor: pointer;
    transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.iw-retailer-filter__chip:hover { background: rgba(86,19,113,0.06); transform: translateY(-1px); }
.iw-retailer-filter__chip.is-active { background: #561371; color: #fcf9f4; border-color: transparent; box-shadow: 0 8px 18px rgba(86,19,113,0.18); }
.iw-retailer-filter__count {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 1.6em; padding: 0 0.45em; height: 1.6em;
    border-radius: 999px;
    background: rgba(86,19,113,0.10);
    font-family: 'Manrope', sans-serif;
    font-size: 0.72rem; font-weight: 700; letter-spacing: 0;
}
.iw-retailer-filter__chip.is-active .iw-retailer-filter__count {
    background: rgba(255,255,255,0.18); color: #fcf9f4;
}

/* ========================================================================
   Compact retailer card variant. One row at desktop:
   logo + retailer/chips · vintage/price · CTA, with a single inline meta
   strip beneath. Replaces the multi-row dl detail to halve card height.
   ======================================================================== */
.iw-retailer.iw-retailer--compact .iw-retailer__head {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.85fr) auto;
    gap: 1.25rem;
    padding: 0.85rem 1.25rem;
    align-items: center;
}
.iw-retailer.iw-retailer--compact .iw-retailer__brand { gap: 0.75rem; }
.iw-retailer.iw-retailer--compact .retailer-logo-shell { min-height: auto; padding: 0.5rem 0.75rem; }
.iw-retailer.iw-retailer--compact .retailer-logo-shell img { max-height: 26px; }
.iw-retailer.iw-retailer--compact .iw-retailer__brand-copy { gap: 0.3rem; }
.iw-retailer.iw-retailer--compact .iw-retailer__name { font-size: 0.95rem; line-height: 1.2; }
.iw-retailer.iw-retailer--compact .iw-rchip { padding: 0.18rem 0.55rem; font-size: 0.6rem; letter-spacing: 0.05em; }
.iw-retailer.iw-retailer--compact .iw-retailer__price { gap: 0.15rem; }
.iw-retailer.iw-retailer--compact .iw-retailer__vintage { font-size: 0.62rem; letter-spacing: 0.12em; }
.iw-retailer.iw-retailer--compact .iw-retailer__amount { font-size: 1.5rem; }
.iw-retailer.iw-retailer--compact .iw-retailer__per { font-size: 0.7rem; }
.iw-retailer.iw-retailer--compact .iw-retailer__cta {
    margin-top: 0;
    padding: 0.55rem 0.95rem;
    font-size: 0.78rem;
    box-shadow: 0 8px 14px rgba(86,19,113,0.16);
    white-space: nowrap;
}
.iw-retailer.iw-retailer--compact .iw-retailer__meta {
    padding: 0.55rem 1.25rem 0.7rem;
    border-top: 1px solid rgba(86,19,113,0.06);
    background: rgba(252,249,244,0.5);
    font-family: 'Manrope', sans-serif;
    font-size: 0.74rem;
    line-height: 1.45;
    color: rgba(28,28,25,0.62);
}

@media (max-width: 760px) {
    .iw-retailer.iw-retailer--compact .iw-retailer__head {
        grid-template-columns: 1fr;
        gap: 0.85rem;
    }
    .iw-retailer.iw-retailer--compact .iw-retailer__price { align-items: flex-start; text-align: left; }
    .iw-retailer.iw-retailer--compact .iw-retailer__cta { width: max-content; }
}


/* Bottle detail generated icon system additions. */
.iw-hero-trust-icon {
    width: 22px;
    height: 22px;
    object-fit: contain;
    flex-shrink: 0;
}

.iw-bidash__icon {
    width: 48px;
    height: 48px;
    object-fit: contain;
    margin-bottom: 0.25rem;
}

.market-insight-card__icon {
    width: 34px;
    height: 34px;
    object-fit: contain;
    margin-bottom: 0.45rem;
}

.iw-price-tag__icon {
    width: 38px;
    height: 38px;
    object-fit: contain;
    flex-shrink: 0;
    margin-top: -0.1rem;
}

.iw-fit__icon {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.iw-section-kicker {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 0.35rem;
}

.iw-section-kicker__icon {
    width: 46px;
    height: 46px;
    object-fit: contain;
    flex-shrink: 0;
}

.iw-comply__icon {
    width: 42px;
    height: 42px;
    object-fit: contain;
    margin-bottom: 0.55rem;
}

.iw-vint__icon {
    width: 42px;
    height: 42px;
    object-fit: contain;
    flex-shrink: 0;
}

.iw-auth-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.7rem;
}

.iw-auth-card__icon {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.iw-auth-card__top .iw-auth-card__num {
    margin-bottom: 0;
}

.iw-coll-card__icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(86, 19, 113, 0.06);
}

.iw-coll-card__asset {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.iw-coll-card--verdict .iw-coll-card__icon {
    background: rgba(255, 255, 255, 0.92);
}

.iw-trust__icon {
    width: 42px;
    height: 42px;
    object-fit: contain;
    flex-shrink: 0;
}

.iw-pair__icon {
    width: 52px;
    height: 52px;
    object-fit: contain;
}

.iw-graph__head {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.iw-graph__head-icon {
    width: 30px;
    height: 30px;
    object-fit: contain;
    flex-shrink: 0;
}

@media (max-width: 720px) {
    .iw-bidash__icon,
    .iw-fit__icon,
    .iw-auth-card__icon,
    .iw-pair__icon {
        width: 42px;
        height: 42px;
    }
}
