/* ==========================================================================
   Weingut Schürmer – Weine aus dem Shop (Plugin weingutschuermer_wines)
   Linienkopf, Karten, Filter (wines.js), Einzelansicht. Bausteine .ws-shop,
   .ws-btn, .ws-notice, .ws-book aus events.css.
   ========================================================================== */

/* ---------- Linienkopf aus der Shop-Kategorie ---------- */

.ws-wines-hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: clamp(280px, 42vw, 520px);
    margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
    overflow: hidden;
    color: #fff;
    background: #1a1a1a;
}

.ws-wines-hero.is-plain {
    min-height: 0;
    margin-bottom: 2rem;
    padding-top: clamp(4.5rem, 9vw, 7rem);
    color: #000;
    background: none;
}

.ws-wines-hero.is-plain .ws-wines-hero__title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
}

.ws-wines-hero__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: ws-hero-in 1.6s cubic-bezier(.2, .7, .2, 1) both;
}

.ws-wines-hero:not(.is-plain)::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, .55) 100%);
}

.ws-wines-hero__inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 2rem 1rem clamp(1.75rem, 4vw, 3rem);
}

.ws-wines-hero__title {
    margin: 0;
    font-size: clamp(3rem, 11vw, 9rem);
    font-weight: 300;
    line-height: .9;
    letter-spacing: .02em;
    text-transform: uppercase;
    color: inherit;
    animation: ws-rise .9s .15s cubic-bezier(.2, .7, .2, 1) both;
}

.ws-wines-hero:not(.is-plain) .ws-wines-hero__title {
    color: rgba(255, 255, 255, .78);
}

.ws-wines-hero__text {
    max-width: 34rem;
    margin-top: 1rem;
    font-size: 1.05rem;
    line-height: 1.6;
    animation: ws-rise .9s .3s cubic-bezier(.2, .7, .2, 1) both;
}

.ws-wines-hero__text p:last-child {
    margin-bottom: 0;
}

@keyframes ws-hero-in {
    from { transform: scale(1.06); opacity: .6; }
    to { transform: none; opacity: 1; }
}

@keyframes ws-rise {
    from { transform: translateY(24px); opacity: 0; }
    to { transform: none; opacity: 1; }
}

/* ---------- Aufbau ---------- */

.ws-wines {
    padding-bottom: clamp(3rem, 6vw, 5rem);
}

.ws-wines .ws-wines__layout {
    padding: 0 var(--ws-inset);
}

.ws-wines--sidebar.is-filterable .ws-wines__layout {
    display: grid;
    grid-template-columns: 13.5rem minmax(0, 1fr);
    gap: 2.5rem;
    align-items: start;
}

/* Weinlisten nutzen die volle Breite wie auf der alten Seite */
@media (min-width: 1200px) {
    .ws-wines > .ws-wines__container,
    .ws-wines-hero--wide .ws-wines-hero__inner {
        max-width: 2200px;
        padding-left: clamp(1.5rem, 3vw, 3.5rem);
        padding-right: clamp(1.5rem, 3vw, 3.5rem);
    }

    .ws-wines > .ws-wines__container .ws-wines__layout {
        padding: 0;
    }

    .ws-wines--sidebar.is-filterable .ws-wines__layout {
        gap: clamp(2rem, 3vw, 3.5rem);
    }

    .ws-wines--sidebar .ws-wf--full {
        max-height: calc(100vh - 3rem);
        overflow-y: auto;
        scrollbar-width: thin;
    }
}

@media (min-width: 1400px) {
    .ws-wines .ws-wines__grid {
        grid-template-columns: repeat(auto-fill, minmax(14.5rem, 1fr));
        gap: 3rem 2rem;
    }
}

.ws-wines .ws-wines__grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 15.5rem), 1fr));
    gap: 2.5rem 1.75rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ws-wines .ws-wines__grid--related {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 14rem), 1fr));
}

/* ---------- Karte ---------- */

.ws-shop .ws-wine {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #fff;
}

.ws-shop .ws-wine[hidden] {
    display: none;
}

.ws-shop .ws-wine.is-leaving {
    position: absolute;
    z-index: 0;
    pointer-events: none;
}

.ws-shop .ws-wine__media {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 3 / 4;
    padding: 1rem;
    overflow: hidden;
    background: var(--ws-paper);
}

.ws-shop .ws-wine__media::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 12%;
    width: 46%;
    height: 9%;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(0, 0, 0, .14), rgba(0, 0, 0, 0));
    transform: translateX(-50%);
}

.ws-shop .ws-wine__media img {
    position: relative;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform .6s cubic-bezier(.2, .7, .2, 1);
}

.ws-shop .ws-wine:hover .ws-wine__media img,
.ws-shop .ws-wine:focus-within .ws-wine__media img {
    transform: translateY(-6px) scale(1.03);
}

/* Lupe (wines.js): per Knopf an, dann folgt der Ausschnitt dem Zeiger; Klick oder Verlassen beendet */
.ws-shop .ws-wine__zoom {
    position: absolute;
    top: .75rem;
    right: .75rem;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    border: 1px solid rgba(0, 0, 0, .12);
    border-radius: 50%;
    background: rgba(255, 255, 255, .9);
    color: var(--ws-ink);
    cursor: zoom-in;
    opacity: 0;
    transition: opacity .2s ease, border-color .2s ease;
}

.ws-shop .ws-wine__zoom[hidden] {
    display: none;
}

.ws-shop .ws-wine__zoom svg {
    width: 1.25rem;
    height: 1.25rem;
}

.ws-shop .ws-wine:hover .ws-wine__zoom,
.ws-shop .ws-wine__zoom:focus-visible,
.ws-shop .ws-wine__zoom[aria-pressed="true"] {
    opacity: 1;
}

.ws-shop .ws-wine__zoom:hover,
.ws-shop .ws-wine__zoom[aria-pressed="true"] {
    border-color: var(--ws-gold);
    cursor: zoom-out;
}

.ws-shop .ws-wine .ws-wine__media.is-zoomed img {
    transform: scale(2.6);
    transition-duration: .3s;
}

.ws-shop .ws-wine:has(.is-zoomed) .ws-wine__title a::after {
    cursor: zoom-out;
}

.ws-shop .ws-wine__placeholder {
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--ws-muted);
}

.ws-shop .ws-wine__awards {
    position: absolute;
    top: .75rem;
    left: .75rem;
    display: flex;
    flex-direction: column;
    gap: .4rem;
}

.ws-shop .ws-wine__awards img {
    width: 3rem;
    height: 3rem;
    object-fit: contain;
}

.ws-shop .ws-wine__awards--large img {
    width: 4.5rem;
    height: 4.5rem;
}

.ws-shop .ws-wine__award {
    padding: .3rem .5rem;
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ws-ink);
    background: #fff;
    border: 1px solid var(--ws-gold);
}

/* Medaillen (Partial Wines/Medals): rund freigestellt, über das Gold zieht ein Lichtreflex –
   auf der Karte beim Darüberfahren, in der Einzelansicht in Ruhe immer wieder. Groß „prägen“
   sie sich beim Laden ein. */
.ws-shop .ws-medal {
    position: relative;
    display: block;
    line-height: 0;
    filter: drop-shadow(0 .3rem .45rem rgba(0, 0, 0, .2));
    transition: transform .45s cubic-bezier(.2, .7, .2, 1);
}

.ws-shop .ws-medal img {
    clip-path: circle(44.5%);
}

.ws-shop .ws-medal::after {
    content: "";
    position: absolute;
    inset: 0;
    clip-path: circle(44.5%);
    background: linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, .85) 47%, rgba(255, 248, 214, .35) 53%, transparent 62%) 100% 0 / 280% 100% no-repeat;
    mix-blend-mode: overlay;
    pointer-events: none;
}

.ws-shop .ws-wine:hover .ws-medal::after {
    animation: ws-glint 1.1s ease-out;
}

.ws-shop .ws-wine__awards--large .ws-medal,
.ws-shop .ws-showcase__medals .ws-medal {
    animation: ws-medal-in .9s .55s cubic-bezier(.3, 1.35, .5, 1) backwards;
}

.ws-shop .ws-wine__awards--large .ws-medal:nth-child(2),
.ws-shop .ws-showcase__medals .ws-medal:nth-child(2) {
    animation-delay: .75s;
}

.ws-shop .ws-wine__awards--large .ws-medal::after,
.ws-shop .ws-showcase__medals .ws-medal::after {
    animation: ws-glint-loop 7s 1.6s ease-in-out infinite;
}

.ws-shop .ws-wine__awards--large .ws-medal:nth-child(2)::after,
.ws-shop .ws-showcase__medals .ws-medal:nth-child(2)::after {
    animation-delay: 1.9s;
}

.ws-shop .ws-wine__awards--large .ws-medal:hover,
.ws-shop .ws-showcase__medals .ws-medal:hover {
    transform: rotate(-8deg) scale(1.08);
}

@keyframes ws-glint {
    from { background-position: 100% 0; }
    to { background-position: 0 0; }
}

@keyframes ws-glint-loop {
    0% { background-position: 100% 0; }
    22%, 100% { background-position: 0 0; }
}

@keyframes ws-medal-in {
    from { transform: scale(1.7) rotate(-16deg); opacity: 0; }
    55% { opacity: 1; }
    to { transform: none; opacity: 1; }
}

.ws-shop .ws-wine__body {
    padding: 1.25rem 0 .5rem;
}

.ws-shop .ws-wine__line {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 100;
    letter-spacing: .04em;
    line-height: 1.1;
    text-transform: uppercase;
    color: var(--ws-ink);
}

.ws-shop .ws-wine__line--large {
    font-size: clamp(1.4rem, 2.4vw, 2rem);
}

/* Gewichte wie auf der alten Seite (Liste: Linie leicht, Name kräftig; Einzelansicht regulär); !important gegen „body h1–h6 { font-weight: 100 !important }" aus dd_sparrow */
.ws-shop .ws-wine__title {
    margin: 0 0 .4rem;
    font-size: 1.15rem;
    font-weight: 550 !important;
    line-height: 1.2;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.ws-shop .ws-wine__title a {
    color: var(--ws-ink);
    text-decoration: none;
}

/* Ganze Karte klickbar, Formular bleibt bedienbar */
.ws-shop .ws-wine__title a::after {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    aspect-ratio: 4 / 5;
}

.ws-shop .ws-wine__title a:focus-visible {
    outline: 2px solid var(--ws-gold);
    outline-offset: 3px;
}

.ws-shop .ws-wine__facts {
    margin: 0;
    font-size: .875rem;
    font-weight: 100;
    color: var(--ws-text);
}

.ws-shop .ws-wine__facts span {
    color: var(--ws-line);
}

.ws-shop .ws-wine__facts strong {
    font-weight: 600;
}

.ws-shop .ws-wine__facts--large {
    margin-top: .25rem;
    font-size: 1rem;
}

.ws-shop .ws-wine__foot {
    margin-top: auto;
    padding-top: .75rem;
}

.ws-shop .ws-price__value {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 550;
    color: var(--ws-ink);
}

.ws-shop .ws-price--large .ws-price__value {
    font-size: 2rem;
    font-weight: 400;
}

.ws-shop .ws-price__list {
    margin-right: .35rem;
    font-size: .8em;
    font-weight: 400;
    color: var(--ws-muted);
}

.ws-shop .ws-price__legal {
    margin: .2rem 0 .85rem;
    font-size: .72rem;
    color: var(--ws-muted);
}

.ws-shop .ws-price__legal a {
    color: inherit;
}

.ws-shop .ws-wine-cart .ws-book__qty {
    width: 100%;
    min-width: 0;
}

.ws-shop .ws-wine .ws-book__row {
    flex-wrap: wrap;
}

.ws-shop .ws-wine .ws-book__select {
    flex: 1 1 4.5rem;
}

.ws-shop .ws-wine .ws-book__row .ws-btn {
    flex: 1 1 8.5rem;
    padding-inline: .75rem;
    letter-spacing: .14em;
}

.ws-shop .ws-wine-detail__buy .ws-book__select {
    flex: 0 0 7rem;
}

/* Warenkorb-Knopf in den Weinkarten: Kontur statt schwarzer Fläche, normale Strichstärke */
.ws-shop .ws-wine-cart .ws-btn {
    min-height: 44px;
    font-weight: 400;
    color: var(--ws-ink);
    background: #fff;
    border-color: var(--ws-ink);
}

.ws-shop .ws-wine-cart .ws-btn:hover,
.ws-shop .ws-wine-cart .ws-btn:focus-visible {
    color: #fff;
    background: var(--ws-ink);
    border-color: var(--ws-ink);
}

.ws-shop .ws-wine-detail__delivery {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin: 0 0 1rem;
    font-size: .875rem;
    color: var(--ws-muted);
}

.ws-shop .ws-wine-detail__delivery::before {
    content: "";
    flex: 0 0 auto;
    width: .5rem;
    height: .5rem;
    border-radius: 50%;
    background: #8a9a6b;
}

.ws-shop .ws-wine-cart__soldout {
    margin: 0;
    font-size: .875rem;
    color: var(--ws-muted);
}

/* ---------- Filter ---------- */

.ws-wf-lock {
    overflow: hidden;
}

.ws-shop .ws-wf[hidden],
.ws-shop .ws-wf-bar[hidden] {
    display: none;
}

.ws-shop .ws-wf {
    font-size: .875rem;
}

.ws-shop .ws-wf--full {
    position: sticky;
    top: 1.5rem;
}

.ws-shop .ws-wf__head,
.ws-shop .ws-wf__foot {
    display: none;
}

.ws-shop .ws-wf__group {
    margin: 0 0 1.25rem;
    padding: 0;
    border: 0;
}

.ws-shop .ws-wf__legend {
    display: block;
    margin: 0 0 .75rem;
    padding: 0 0 .5rem;
    width: 100%;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .24em;
    text-transform: uppercase;
    color: var(--ws-ink);
    border-bottom: 1px solid var(--ws-ink);
}

/* Gruppen zum Aufklappen: Weinart und Geschmack offen, der Rest auf Wunsch */
.ws-shop summary.ws-wf__legend {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    list-style: none;
    user-select: none;
}

.ws-shop summary.ws-wf__legend::-webkit-details-marker {
    display: none;
}

.ws-shop summary.ws-wf__legend::after {
    content: "+";
    font-size: 1rem;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0;
}

.ws-shop details[open] > summary.ws-wf__legend::after {
    content: "\2212";
}

.ws-shop .ws-wf__group:not([open]) > summary.ws-wf__legend {
    margin-bottom: 0;
    border-bottom-color: var(--ws-line);
}

.ws-shop .ws-wf__search {
    width: 100%;
    height: 44px;
    padding: 0 .9rem;
    font: inherit;
    color: var(--ws-ink);
    background: #fff;
    border: 1px solid #bdbdbd;
    border-radius: 0;
}

.ws-shop .ws-wf__search:focus-visible,
.ws-shop .ws-chip:focus-visible,
.ws-shop .ws-wf-sort select:focus-visible,
.ws-shop .ws-range input:focus-visible {
    outline: 2px solid var(--ws-gold);
    outline-offset: 2px;
}

.ws-shop .ws-wf__chips {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
}

.ws-shop .ws-chip {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    min-height: 36px;
    padding: .35rem .8rem;
    font: inherit;
    font-size: .8rem;
    line-height: 1.2;
    color: var(--ws-ink);
    background: #fff;
    border: 1px solid #cfcfcf;
    border-radius: 999px;
    cursor: pointer;
    transition: background-color .2s, border-color .2s, color .2s, opacity .2s, transform .15s;
}

.ws-shop .ws-chip:hover {
    border-color: var(--ws-ink);
}

.ws-shop .ws-chip:active {
    transform: scale(.96);
}

.ws-shop .ws-chip.is-active {
    color: #fff;
    background: var(--ws-ink);
    border-color: var(--ws-ink);
}

.ws-shop .ws-chip.is-empty {
    opacity: .35;
    cursor: default;
}

.ws-shop .ws-chip__count {
    min-width: 1.2rem;
    font-size: .68rem;
    text-align: center;
    color: var(--ws-muted);
}

.ws-shop .ws-chip.is-active .ws-chip__count {
    color: var(--ws-gold);
}

.ws-shop .ws-chip--active {
    background: var(--ws-paper);
    border-color: var(--ws-paper);
    animation: ws-pop .25s cubic-bezier(.2, .7, .2, 1);
}

.ws-shop .ws-chip__x {
    font-size: 1rem;
    line-height: 1;
}

/* Seitenspalte: Werte als Liste mit Kästchen statt Pillen – ruhiger, gleiche Abstände */
.ws-shop .ws-wf--full .ws-wf__chips {
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 0;
}

.ws-shop .ws-wf--full .ws-chip {
    width: 100%;
    min-height: 32px;
    padding: .25rem 0;
    gap: .6rem;
    text-align: left;
    background: none;
    border: 0;
    border-radius: 0;
}

.ws-shop .ws-wf--full .ws-chip::before {
    content: "";
    flex: none;
    width: 14px;
    height: 14px;
    background: #fff;
    border: 1px solid #bdbdbd;
    transition: background-color .2s, border-color .2s, box-shadow .2s;
}

.ws-shop .ws-wf--full .ws-chip:hover::before {
    border-color: var(--ws-ink);
}

.ws-shop .ws-wf--full .ws-chip:active {
    transform: none;
}

.ws-shop .ws-wf--full .ws-chip.is-active {
    color: var(--ws-ink);
    background: none;
}

.ws-shop .ws-wf--full .ws-chip.is-active::before {
    background: var(--ws-ink);
    border-color: var(--ws-ink);
    box-shadow: inset 0 0 0 3px #fff;
}

.ws-shop .ws-wf--full .ws-chip__label {
    flex: 1 1 auto;
}

.ws-shop .ws-wf--full .ws-chip__count,
.ws-shop .ws-wf--full .ws-chip.is-active .ws-chip__count {
    font-variant-numeric: tabular-nums;
    text-align: right;
    color: var(--ws-muted);
}

.ws-shop .ws-wf--full .ws-range {
    margin-top: .25rem;
}

@keyframes ws-pop {
    from { transform: scale(.85); opacity: 0; }
    to { transform: none; opacity: 1; }
}

/* Preisspanne: zwei Regler auf einer Spur */
.ws-shop .ws-range {
    position: relative;
    height: 28px;
}

.ws-shop .ws-range__track {
    position: absolute;
    top: 13px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--ws-line);
}

.ws-shop .ws-range__fill {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--ws-ink);
}

.ws-shop .ws-range input {
    position: absolute;
    inset: 0;
    width: 100%;
    margin: 0;
    background: none;
    pointer-events: none;
    appearance: none;
    -webkit-appearance: none;
}

.ws-shop .ws-range input::-webkit-slider-thumb {
    width: 18px;
    height: 18px;
    background: #fff;
    border: 2px solid var(--ws-ink);
    border-radius: 50%;
    pointer-events: auto;
    cursor: grab;
    -webkit-appearance: none;
}

.ws-shop .ws-range input::-moz-range-thumb {
    width: 14px;
    height: 14px;
    background: #fff;
    border: 2px solid var(--ws-ink);
    border-radius: 50%;
    pointer-events: auto;
    cursor: grab;
}

.ws-shop .ws-range__label {
    margin: .5rem 0 0;
    color: var(--ws-muted);
}

/* Leiste über den Karten: Anzahl, aktive Filter, Sortierung */
.ws-shop .ws-wf-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .75rem 1rem;
    margin: 0 0 1.75rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--ws-line);
}

.ws-shop .ws-wf-bar__count {
    margin: 0;
    font-size: .8rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--ws-muted);
}

.ws-shop .ws-wf-bar__count strong {
    font-size: 1.1rem;
    letter-spacing: 0;
    color: var(--ws-ink);
}

.ws-shop .ws-wf-bar__active {
    display: flex;
    flex: 1 1 auto;
    flex-wrap: wrap;
    gap: .4rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ws-shop .ws-wf-bar__reset {
    min-height: 36px;
    padding: 0 .4rem;
    font: inherit;
    font-size: .8rem;
    text-decoration: underline;
    color: var(--ws-ink);
    background: none;
    border: 0;
}

.ws-shop .ws-wf-sort select {
    height: 40px;
    padding: 0 2rem 0 .75rem;
    font: inherit;
    font-size: .8rem;
    color: var(--ws-ink);
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23000'/%3E%3C/svg%3E") no-repeat right .75rem center;
    border: 1px solid #cfcfcf;
    border-radius: 0;
    appearance: none;
}

.ws-shop .ws-wf-toggle {
    display: none;
    min-height: 40px;
    gap: .4rem;
}

.ws-shop .ws-wf-toggle__n {
    display: inline-grid;
    place-items: center;
    min-width: 1.3rem;
    height: 1.3rem;
    font-size: .65rem;
    letter-spacing: 0;
    color: var(--ws-ink);
    background: var(--ws-gold);
    border-radius: 50%;
}

.ws-shop .ws-wf-toggle__n[hidden] {
    display: none;
}

/* Linienseite: kleine Filterleiste statt Seitenspalte */
.ws-shop .ws-wf--compact {
    margin-bottom: 1rem;
}

.ws-shop .ws-wf--compact .ws-wf__scroll {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 2.5rem;
}

.ws-shop .ws-wf--compact .ws-wf__group {
    margin: 0;
}

.ws-shop .ws-wf--compact .ws-wf__legend {
    padding: 0;
    margin-bottom: .5rem;
    border: 0;
    color: var(--ws-muted);
}

.ws-shop .ws-wf--compact summary.ws-wf__legend {
    pointer-events: none;
}

.ws-shop .ws-wf--compact details > summary.ws-wf__legend::after {
    content: none;
}

.ws-shop .ws-wines__empty {
    padding: 3rem 1rem;
    text-align: center;
    background: var(--ws-paper);
}

.ws-shop .ws-wines__empty[hidden] {
    display: none;
}

.ws-shop .ws-wines__empty-title {
    margin: 0 0 .5rem;
    font-size: 1.25rem;
    color: var(--ws-ink);
}

/* Mobil: Filter als Panel von unten */
@media (max-width: 991.98px) {
    .ws-wines--sidebar.is-filterable .ws-wines__layout {
        display: block;
    }

    .ws-shop .ws-wf-toggle {
        display: inline-flex;
    }

    .ws-shop .ws-wf-bar__active {
        order: 3;
        flex-basis: 100%;
    }

    .ws-shop .ws-wf--full {
        position: fixed;
        inset: auto 0 0;
        z-index: 1050;
        display: flex;
        flex-direction: column;
        max-height: 88vh;
        background: #fff;
        box-shadow: 0 -12px 40px rgba(0, 0, 0, .18);
        transform: translateY(105%);
        visibility: hidden;
        transition: transform .4s cubic-bezier(.2, .7, .2, 1), visibility 0s .4s;
    }

    .ws-wines.is-filter-open .ws-wf--full {
        transform: none;
        visibility: visible;
        transition: transform .4s cubic-bezier(.2, .7, .2, 1);
    }

    .ws-wines.is-filter-open::before {
        content: "";
        position: fixed;
        inset: 0;
        z-index: 1049;
        background: rgba(0, 0, 0, .4);
        animation: ws-fade .3s both;
    }

    .ws-shop .ws-wf--full .ws-wf__head,
    .ws-shop .ws-wf--full .ws-wf__foot {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        padding: 1rem;
    }

    .ws-shop .ws-wf__head {
        border-bottom: 1px solid var(--ws-line);
    }

    .ws-shop .ws-wf__foot {
        border-top: 1px solid var(--ws-line);
    }

    .ws-shop .ws-wf__title {
        margin: 0;
        font-size: .75rem;
        font-weight: 700;
        letter-spacing: .24em;
        text-transform: uppercase;
        color: var(--ws-ink);
    }

    .ws-shop .ws-wf__close {
        width: 40px;
        height: 40px;
        font-size: 1.6rem;
        line-height: 1;
        color: var(--ws-ink);
        background: none;
        border: 0;
    }

    .ws-shop .ws-wf--full .ws-wf__scroll {
        flex: 1 1 auto;
        overflow-y: auto;
        padding: 1.25rem 1rem .25rem;
        overscroll-behavior: contain;
    }

    .ws-shop .ws-wf__reset {
        padding: 0;
        font: inherit;
        text-decoration: underline;
        color: var(--ws-ink);
        background: none;
        border: 0;
    }

    .ws-shop .ws-wf__apply {
        flex: 1 1 auto;
        gap: .4em;
    }

    .ws-shop .ws-wf--compact .ws-wf__scroll {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: .5rem;
        scrollbar-width: none;
    }

    .ws-shop .ws-wf--compact .ws-wf__chips {
        flex-wrap: nowrap;
    }

    .ws-shop .ws-chip {
        white-space: nowrap;
    }
}

@media (max-width: 575.98px) {
    .ws-wines .ws-wines__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2rem .9rem;
    }

    .ws-shop .ws-wine__media {
        padding: .9rem;
    }

    .ws-shop .ws-wine__line,
    .ws-shop .ws-wine__title {
        font-size: .95rem;
    }

    .ws-shop .ws-wine__facts {
        font-size: .78rem;
    }

    .ws-shop .ws-wine-cart .ws-book__row {
        flex-direction: column;
    }

    .ws-shop .ws-wine .ws-book__row > *,
    .ws-shop .ws-wine .ws-book__row .ws-btn {
        /* in der Spalte wird flex-basis zur Höhe: sonst war der Knopf 136px hoch */
        flex: 0 0 auto;
    }

    .ws-shop .ws-wine-cart .ws-book__qty {
        width: 100%;
    }

    .ws-shop .ws-wine-cart .ws-btn {
        min-height: 44px;
        font-size: .62rem;
        letter-spacing: .14em;
    }
}

@keyframes ws-fade {
    from { opacity: 0; }
}

/* ---------- Einzelansicht ---------- */

.ws-wine-detail {
    padding: clamp(1.5rem, 4vw, 3rem) 0 clamp(3rem, 6vw, 5rem);
}

.ws-shop .ws-wine-detail__back,
.ws-shop .ws-article__back {
    margin: 0 var(--ws-inset) 1.5rem;
}

.ws-shop .ws-back {
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--ws-ink);
    text-decoration: none;
}

.ws-shop .ws-back:hover {
    color: var(--ws-gold-dark);
}

/* Einzelansicht breiter als der übrige Inhalt */
@media (min-width: 1200px) {
    .ws-wine-detail > .container {
        max-width: 1400px;
    }
}

.ws-shop .ws-wine-detail__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: start;
    padding: 0 var(--ws-inset);
}

.ws-shop .ws-gallery {
    position: sticky;
    top: 1.5rem;
}

.ws-shop .ws-gallery__stage {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: min(82vh, 56rem);
    padding: 0;
    animation: ws-fade .8s both;
}

.ws-shop .ws-gallery__main {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    animation: ws-rise 1s .1s cubic-bezier(.2, .7, .2, 1) both;
}

.ws-shop .ws-gallery__zoom {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 0;
    background: none;
    border: 0;
    cursor: zoom-in;
}

.ws-shop .ws-gallery__zoom:focus-visible {
    outline: 1px solid var(--ws-ink);
    outline-offset: .5rem;
}

/* Vergrößertes Bild (wines.js, openZoom) – <dialog> in der obersten Ebene */
.ws-zoom {
    width: 100vw;
    max-width: none;
    height: 100vh;
    max-height: none;
    margin: 0;
    padding: 2.5rem 3.5rem;
    background: #f6f5f2;
    border: 0;
    cursor: zoom-out;
}

.ws-zoom[open] {
    display: flex;
    align-items: center;
    justify-content: center;
}

.ws-zoom::backdrop {
    background: rgba(17, 17, 17, .6);
}

.ws-zoom__img {
    max-width: 100%;
    max-height: 100%;
    height: 100%;
    object-fit: contain;
    cursor: default;
}

.ws-zoom__btn {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    background: #fff;
    border: 1px solid #111;
    color: #111;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
}

.ws-zoom__btn--close {
    top: 1rem;
    right: 1rem;
}

.ws-zoom__btn--prev,
.ws-zoom__btn--next {
    top: 50%;
    transform: translateY(-50%);
}

.ws-zoom__btn--prev {
    left: 1rem;
}

.ws-zoom__btn--next {
    right: 1rem;
}

.ws-zoom--single .ws-zoom__btn--prev,
.ws-zoom--single .ws-zoom__btn--next {
    display: none;
}

.ws-zoom-open {
    overflow: hidden;
}

@media (max-width: 767.98px) {
    .ws-zoom {
        padding: 4rem 1rem 1rem;
    }

    .ws-zoom__btn--prev,
    .ws-zoom__btn--next {
        top: auto;
        bottom: 1rem;
        transform: none;
    }
}

.ws-shop .ws-gallery__thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin: .75rem 0 0;
    padding: 0;
    list-style: none;
}

.ws-shop .ws-gallery__thumb {
    width: 4.5rem;
    height: 4.5rem;
    padding: .35rem;
    background: var(--ws-paper);
    border: 1px solid transparent;
    cursor: pointer;
}

.ws-shop .ws-gallery__thumb.is-active {
    border-color: var(--ws-ink);
}

.ws-shop .ws-gallery__thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.ws-shop .ws-wine-detail__info {
    animation: ws-rise .8s .15s cubic-bezier(.2, .7, .2, 1) both;
}

.ws-shop .ws-wine-detail__title {
    margin: 0;
    text-wrap: balance;
    font-size: clamp(1.75rem, 3.6vw, 3rem);
    font-weight: 400 !important;
    line-height: 1.05;
    text-transform: uppercase;
    color: var(--ws-ink);
}

.ws-shop .ws-wine-detail__buy {
    margin: 1.75rem 0 2rem;
    padding: 1.5rem 0;
    border-top: 1px solid var(--ws-ink);
    border-bottom: 1px solid var(--ws-line);
}

.ws-shop .ws-wine-detail__buy .ws-book__row {
    max-width: 26rem;
}

.ws-shop .ws-wine-detail__text {
    font-size: 1rem;
    line-height: 1.75;
}

.ws-shop .ws-wine-detail__text strong {
    color: var(--ws-ink);
}

.ws-shop .ws-wine-detail__facts {
    margin: 2rem 0 0;
    border-top: 1px solid var(--ws-line);
}

.ws-shop .ws-wine-detail__facts > div {
    display: grid;
    grid-template-columns: 10rem minmax(0, 1fr);
    gap: 1rem;
    padding: .7rem 0;
    border-bottom: 1px solid var(--ws-line);
}

.ws-shop .ws-wine-detail__facts dt {
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--ws-muted);
}

.ws-shop .ws-wine-detail__facts dd {
    margin: 0;
    color: var(--ws-ink);
}

.ws-shop .ws-wine-detail__related {
    margin-top: clamp(3.5rem, 7vw, 6rem);
    padding: 0 var(--ws-inset);
}

.ws-shop .ws-wine-detail__related-title {
    margin: 0 0 2rem;
    font-weight: 300;
    text-transform: uppercase;
    color: var(--ws-ink);
}

@media (max-width: 767.98px) {
    .ws-shop .ws-wine-detail__grid {
        grid-template-columns: 1fr;
    }

    .ws-shop .ws-gallery {
        position: static;
    }

    .ws-shop .ws-gallery__stage {
        height: 60vh;
    }

    .ws-shop .ws-wine-detail__facts > div {
        grid-template-columns: 1fr;
        gap: .2rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ws-wines-hero__image,
    .ws-wines-hero__title,
    .ws-wines-hero__text,
    .ws-shop .ws-gallery__stage,
    .ws-shop .ws-gallery__main,
    .ws-shop .ws-wine-detail__info,
    .ws-shop .ws-chip--active,
    .ws-shop .ws-medal,
    .ws-shop .ws-medal::after,
    .ws-shop .ws-wine:hover .ws-medal::after {
        animation: none;
    }

    .ws-shop .ws-wine__media img,
    .ws-shop .ws-wf--full {
        transition: none;
    }
}

/* ---------- Einzelansicht als Modal („Alle Weine“, wines.js) ---------- */

.ws-modal-lock {
    overflow: hidden;
}

.ws-wm {
    position: fixed;
    inset: 0;
    /* über der Navigationsleiste (.fancynavbar: 10000), unter dem Mengen-Dialog */
    z-index: 10005;
    display: flex;
    align-items: stretch;
    justify-content: center;
    padding: clamp(0rem, 3vw, 2.5rem);
}

.ws-wm[hidden] {
    display: none;
}

.ws-wm__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(17, 17, 17, .58);
    backdrop-filter: blur(3px);
}

.ws-wm__dialog {
    position: relative;
    display: flex;
    flex-direction: column;
    width: min(1240px, 100%);
    max-height: 100%;
    background: #fff;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .28);
    border-top: 2px solid #c8ba00;
}

.ws-wm__bar {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .75rem clamp(1rem, 2.5vw, 2rem);
    border-bottom: 1px solid #ece9e1;
    font-size: .8125rem;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.ws-wm__pos {
    margin-right: auto;
    color: #666;
    font-variant-numeric: tabular-nums;
}

.ws-wm__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    border: 1px solid #ddd;
    border-radius: 50%;
    background: #fff;
    color: #111;
    font-size: 1.15rem;
    line-height: 1;
    cursor: pointer;
    transition: border-color .2s, background-color .2s, color .2s;
}

.ws-wm__btn:hover {
    border-color: #111;
}

.ws-wm__btn:focus-visible {
    outline: 2px solid #c8ba00;
    outline-offset: 2px;
}

.ws-wm__btn:disabled {
    opacity: .3;
    cursor: default;
}

.ws-wm__btn--close {
    margin-left: .5rem;
    border-color: #111;
    background: #111;
    color: #fff;
}

.ws-wm__full {
    color: #111;
    font-size: .75rem;
    text-decoration: underline;
    text-underline-offset: .2em;
    margin-right: .5rem;
}

.ws-wm__body {
    position: relative;
    flex: 1 1 auto;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: clamp(1.25rem, 3vw, 2.5rem) clamp(1rem, 3vw, 2.5rem) clamp(2rem, 4vw, 3rem);
}

.ws-wm__body .ws-wine-detail__grid {
    padding: 0;
}

.ws-wm__body .ws-gallery__stage {
    height: min(70vh, 44rem);
}

.ws-wm__body .ws-wine-detail__title {
    font-size: clamp(1.9rem, 3.4vw, 3rem);
}

.ws-wm.is-loading .ws-wm__body::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2rem;
    height: 2rem;
    margin: -1rem 0 0 -1rem;
    border: 1px solid #c8ba00;
    border-top-color: transparent;
    border-radius: 50%;
    animation: ws-spin .8s linear infinite;
}

@keyframes ws-spin {
    to { transform: rotate(360deg); }
}

@media (max-width: 767.98px) {
    .ws-wm {
        padding: 0;
    }

    .ws-wm__dialog {
        border-top: 0;
    }

    .ws-wm__full {
        display: none;
    }
}

/* ---------- Weinberater (advisor.js) ---------- */

.ws-advisor {
    --ws-advisor-gold: #c8ba00;
    position: fixed;
    right: calc(70px + 1.25rem);
    bottom: 1.25rem;
    z-index: 1040;
    font-family: Lato, "Helvetica Neue", Arial, sans-serif;
}

.ws-advisor[hidden] {
    display: none;
}

.ws-advisor__pill {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding: .6rem 1.1rem .6rem .9rem;
    border: 0;
    border-bottom: 1px solid var(--ws-advisor-gold);
    background: rgba(255, 255, 255, .96);
    color: #111;
    font-size: .6875rem;
    font-weight: 700;
    letter-spacing: .22em;
    text-transform: uppercase;
    box-shadow: 0 6px 24px rgba(0, 0, 0, .12);
    cursor: pointer;
    transition: transform .3s cubic-bezier(.2, .7, .2, 1), box-shadow .3s;
    animation: ws-rise .8s .8s cubic-bezier(.2, .7, .2, 1) both;
}

.ws-advisor__pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .16);
}

.ws-advisor__pill:focus-visible,
.ws-advisor__idea:focus-visible,
.ws-advisor__close:focus-visible,
.ws-advisor__reset:focus-visible,
.ws-advisor__send:focus-visible,
.ws-advisor__input:focus-visible {
    outline: 2px solid var(--ws-advisor-gold);
    outline-offset: 2px;
}

.ws-advisor__icon {
    width: 1.05rem;
    height: 1.05rem;
}

.ws-advisor.is-open .ws-advisor__pill {
    visibility: hidden;
}

.ws-advisor__panel {
    position: fixed;
    right: calc(70px + 1.25rem);
    bottom: 1.25rem;
    display: flex;
    flex-direction: column;
    width: min(23rem, calc(100vw - 70px - 2.5rem));
    height: min(36rem, calc(100vh - 2.5rem));
    margin: 0;
    padding: 0;
    background: #fff;
    border-top: 2px solid var(--ws-advisor-gold);
    box-shadow: 0 24px 70px rgba(0, 0, 0, .22);
    transform-origin: bottom right;
    animation: ws-advisor-in .35s cubic-bezier(.2, .7, .2, 1) both;
}

.ws-advisor__panel:focus {
    outline: none;
}

.ws-advisor__panel[hidden] {
    display: none;
}

@keyframes ws-advisor-in {
    from { opacity: 0; transform: translateY(14px) scale(.97); }
    to { opacity: 1; transform: none; }
}

.ws-advisor__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: .75rem;
    padding: 1.1rem 1.25rem .9rem;
    border-bottom: 1px solid #ece9e1;
}

.ws-advisor__eyebrow {
    margin: 0 0 .15rem;
    color: #8a8100;
    font-size: .625rem;
    font-weight: 700;
    letter-spacing: .24em;
    text-transform: uppercase;
}

.ws-advisor__title {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 300;
    letter-spacing: .14em;
    text-transform: uppercase;
}

/* „Neues Gespräch“ neben dem Schließen-Knopf, erst sichtbar, wenn es einen Verlauf gibt */
.ws-advisor__actions {
    display: flex;
    align-items: center;
    gap: .75rem;
}

.ws-advisor__reset {
    padding: .2rem 0;
    border: 0;
    border-bottom: 1px solid #ccc;
    background: none;
    color: #555;
    font-size: .625rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    cursor: pointer;
    transition: color .2s, border-color .2s;
}

.ws-advisor__reset:hover {
    color: #111;
    border-bottom-color: #111;
}

.ws-advisor__reset[hidden] {
    display: none;
}

.ws-advisor__close {
    padding: 0 .25rem;
    border: 0;
    background: none;
    color: #111;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
}

.ws-advisor__log {
    position: relative; /* Bezug für offsetTop in advisor.js */
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 1rem 1.25rem;
    font-size: .9rem;
    line-height: 1.6;
}

.ws-advisor__msg {
    margin-bottom: .9rem;
    animation: ws-rise .4s cubic-bezier(.2, .7, .2, 1) both;
}

.ws-advisor__msg p {
    margin: 0;
}

.ws-advisor__msg p + p,
.ws-advisor__msg p + ul,
.ws-advisor__msg p + ol,
.ws-advisor__msg ul + p,
.ws-advisor__msg ol + p {
    margin-top: .6rem;
}

.ws-advisor__msg ul,
.ws-advisor__msg ol {
    margin: 0;
    padding-left: 1.1rem;
    color: #333;
}

.ws-advisor__msg li + li {
    margin-top: .25rem;
}

.ws-advisor__msg strong {
    font-weight: 700;
    color: #000;
}

.ws-advisor__msg--bot p {
    color: #333;
}

.ws-advisor__msg--user {
    margin-left: 2.5rem;
    text-align: right;
}

.ws-advisor__msg--user p {
    display: inline-block;
    padding: .45rem .8rem;
    background: #f4f2ec;
    color: #111;
    text-align: left;
}

.ws-advisor__msg--error p {
    color: #8b1e1e;
}

.ws-advisor__wines {
    display: grid;
    gap: .5rem;
    margin: .7rem 0 0;
    padding: 0;
    list-style: none;
}

/* Kartenlisten nicht wie Markdown-Listen der Antwort einrücken */
.ws-advisor__msg ul.ws-advisor__wines {
    margin: .7rem 0 0;
    padding: 0;
}

.ws-advisor__msg ul.ws-advisor__wines > li + li {
    margin-top: 0;
}

.ws-advisor__wine {
    display: grid;
    grid-template-columns: 2.75rem 1fr auto;
    align-items: center;
    gap: .75rem;
    padding: .5rem .65rem;
    border: 1px solid #ece9e1;
    color: #111;
    text-decoration: none;
    transition: border-color .2s, background-color .2s;
}

.ws-advisor__wine,
.ws-advisor__wine:hover,
.ws-advisor__wine span {
    text-decoration: none;
}

.ws-advisor__wine:hover,
.ws-advisor__wine:focus-visible {
    border-color: var(--ws-advisor-gold);
    background: #fbfaf6;
    color: #111;
}

.ws-advisor__wine img,
.ws-advisor__wine-ph {
    width: 2.75rem;
    height: 3.6rem;
    object-fit: contain;
}

.ws-advisor__wine-ph {
    display: block;
    background: #f4f2ec;
}

.ws-advisor__wine-line {
    display: block;
    color: #777;
    font-size: .625rem;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.ws-advisor__wine-name {
    display: block;
    font-size: .85rem;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.ws-advisor__wine-facts {
    display: block;
    margin-top: .15rem;
    color: #777;
    font-size: .7rem;
}

.ws-advisor__wine-price {
    font-size: .85rem;
    font-weight: 700;
    white-space: nowrap;
}

/* Warenkorb, Paket, Rezept- und Terminkarten im Chat (advisor.js) */
.ws-advisor__buy {
    display: flex;
    gap: .4rem;
    margin-top: -1px;
    padding: .4rem .65rem;
    border: 1px solid #ece9e1;
    background: #fbfaf6;
}

.ws-advisor__qty {
    flex: 0 0 auto;
    min-width: 3.5rem;
    padding: .25rem .4rem;
    border: 1px solid #ddd;
    background: #fff;
    font: inherit;
    font-size: .8rem;
}

.ws-advisor__buy-btn,
.ws-advisor__all {
    flex: 1 1 auto;
    padding: .35rem .7rem;
    border: 1px solid #111;
    background: #fff;
    color: #111;
    font: inherit;
    font-size: .7rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color .2s, color .2s;
}

.ws-advisor__buy-btn:hover,
.ws-advisor__buy-btn:focus-visible,
.ws-advisor__all:hover,
.ws-advisor__all:focus-visible {
    background: #111;
    color: #fff;
}

.ws-advisor__all {
    width: 100%;
    padding: .55rem .7rem;
    background: #111;
    color: #fff;
}

.ws-advisor__all:hover,
.ws-advisor__all:focus-visible {
    background: var(--ws-advisor-gold);
    border-color: var(--ws-advisor-gold);
    color: #111;
}

.ws-advisor__buy-btn:disabled,
.ws-advisor__all:disabled {
    opacity: .5;
    cursor: wait;
}

.ws-advisor__package {
    margin-top: .6rem;
    padding-top: .6rem;
    border-top: 1px solid #ece9e1;
}

/* Wiederhergestellte Antwort von einem früheren Tag: Preise können sich geändert haben */
.ws-advisor__msg p.ws-advisor__stale {
    margin: .35rem 0 0;
    color: #888;
    font-size: .6875rem;
}

.ws-advisor__msg p.ws-advisor__sum {
    margin: 0 0 .45rem;
    font-size: .8rem;
}

.ws-advisor__msg p.ws-advisor__status {
    margin: .35rem 0 0;
    font-size: .75rem;
    color: #555;
}

.ws-advisor__msg p.ws-advisor__status.is-success {
    color: #2f6b2f;
}

.ws-advisor__msg p.ws-advisor__status.is-error {
    color: #a12b2b;
}

.ws-advisor__status[hidden] {
    display: none;
}

.ws-advisor__card {
    display: grid;
    grid-template-columns: 2.75rem 1fr;
    align-items: center;
    gap: .75rem;
    padding: .5rem .65rem;
    border: 1px solid #ece9e1;
    color: #111;
    text-decoration: none;
    transition: border-color .2s, background-color .2s;
}

.ws-advisor__card,
.ws-advisor__card:hover,
.ws-advisor__card span {
    text-decoration: none;
}

.ws-advisor__card:hover,
.ws-advisor__card:focus-visible {
    border-color: var(--ws-advisor-gold);
    background: #fbfaf6;
    color: #111;
}

.ws-advisor__card img,
.ws-advisor__card .ws-advisor__wine-ph {
    width: 2.75rem;
    height: 2.75rem;
    object-fit: cover;
}

.ws-advisor__ideas.ws-advisor__followups {
    padding: 0 0 .25rem;
}

.ws-advisor__typing {
    display: inline-flex;
    gap: .3rem;
    padding: .3rem 0;
}

.ws-advisor__typing span {
    width: .35rem;
    height: .35rem;
    border-radius: 50%;
    background: var(--ws-advisor-gold);
    animation: ws-advisor-dot 1.2s infinite ease-in-out;
}

.ws-advisor__typing span:nth-child(2) { animation-delay: .15s; }
.ws-advisor__typing span:nth-child(3) { animation-delay: .3s; }

@keyframes ws-advisor-dot {
    0%, 80%, 100% { opacity: .25; transform: none; }
    40% { opacity: 1; transform: translateY(-3px); }
}

.ws-advisor__ideas {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin: 0;
    padding: 0 1.25rem .75rem;
    list-style: none;
}

.ws-advisor__ideas[hidden] {
    display: none;
}

.ws-advisor__idea {
    padding: .35rem .7rem;
    border: 1px solid #ddd;
    border-radius: 999px;
    background: #fff;
    color: #111;
    font-size: .75rem;
    cursor: pointer;
    transition: border-color .2s;
}

.ws-advisor__idea:hover {
    border-color: #111;
}

.ws-advisor__form {
    display: flex;
    align-items: flex-end;
    gap: .5rem;
    margin: 0 1.25rem;
    padding: .5rem 0;
    border-top: 1px solid #111;
}

.ws-advisor__input {
    flex: 1 1 auto;
    max-height: 7rem;
    padding: .4rem 0;
    border: 0;
    background: none;
    font: inherit;
    font-size: .9rem;
    resize: none;
}

.ws-advisor__input:focus {
    outline: none;
}

.ws-advisor__send {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    padding: 0;
    border: 0;
    background: #111;
    color: #fff;
    cursor: pointer;
}

.ws-advisor__send svg {
    width: 1.1rem;
    height: 1.1rem;
}

.ws-advisor__send:disabled {
    opacity: .4;
    cursor: default;
}

.ws-advisor__note {
    margin: .4rem 1.25rem .8rem;
    color: #888;
    font-size: .6875rem;
}

.ws-advisor__note a {
    color: inherit;
}

@media (max-width: 991.98px) {
    .ws-advisor,
    .ws-advisor__panel {
        right: 1rem;
    }

    .ws-advisor {
        bottom: calc(1rem + env(safe-area-inset-bottom));
    }
}

/* Unten im Footer („Wir ♥ Franken“) nicht über den Text legen */
body:has([data-ws-advisor]:not([hidden])) footer {
    padding-bottom: 4.5rem;
}

/* Handy: nur das Glas als runder Knopf, über der Bildschirmkante, kein Text über den Karten */
@media (max-width: 575.98px) {
    .ws-advisor {
        right: .75rem;
        bottom: calc(.75rem + env(safe-area-inset-bottom));
    }

    .ws-advisor__pill {
        width: 3rem;
        height: 3rem;
        padding: 0;
        justify-content: center;
        border: 1px solid var(--ws-advisor-gold);
        border-radius: 50%;
        background: #fff;
    }

    .ws-advisor__pill span {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }

    .ws-advisor__icon {
        width: 1.35rem;
        height: 1.35rem;
    }
}

/* Handy: Blatt von unten, endet über der Bildschirmtastatur (Variablen aus advisor.js),
   Vorschläge in einer wischbaren Zeile, 16px im Feld gegen das Hineinzoomen von iOS */
@media (max-width: 575.98px) {
    html.ws-advisor-locked,
    html.ws-advisor-locked body {
        overflow: hidden;
    }

    .ws-advisor.is-open::before {
        content: "";
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, .45);
        animation: ws-advisor-fade .3s ease both;
    }

    .ws-advisor__panel {
        inset: auto 0 var(--ws-advisor-keyboard, 0);
        width: 100%;
        height: min(88dvh, calc(var(--ws-advisor-view, 100dvh) - 3.5rem), 40rem);
        min-height: 16rem;
        border-radius: .75rem .75rem 0 0;
        transform-origin: bottom center;
    }

    .ws-advisor__head {
        padding: .9rem 1rem .7rem;
    }

    .ws-advisor__title {
        font-size: 1.15rem;
    }

    .ws-advisor__close {
        width: 2.75rem;
        height: 2.75rem;
        margin: -.5rem -.5rem 0 0;
    }

    .ws-advisor__log {
        padding: .9rem 1rem;
        font-size: 1rem;
    }

    .ws-advisor__msg--user {
        margin-left: 1.5rem;
    }

    .ws-advisor__ideas {
        flex-wrap: nowrap;
        flex-shrink: 0;
        padding: 0 1rem .7rem;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        scrollbar-width: none;
        -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent);
        mask-image: linear-gradient(90deg, #000 85%, transparent);
    }

    .ws-advisor__ideas::-webkit-scrollbar {
        display: none;
    }

    /* Anschlussfragen stehen im Verlauf: dort umbrechen statt wischen */
    .ws-advisor__ideas.ws-advisor__followups {
        flex-wrap: wrap;
        padding: 0 0 .25rem;
        overflow: visible;
        -webkit-mask-image: none;
        mask-image: none;
    }

    .ws-advisor__followups .ws-advisor__idea {
        white-space: normal;
        text-align: left;
    }

    .ws-advisor__idea {
        padding: .5rem .85rem;
        font-size: .8125rem;
        white-space: nowrap;
    }

    .ws-advisor__form {
        flex-shrink: 0;
        margin: 0 1rem;
    }

    .ws-advisor__input {
        font-size: 16px;
    }

    .ws-advisor__send {
        width: 2.75rem;
        height: 2.75rem;
    }

    .ws-advisor__note {
        flex-shrink: 0;
        margin: .3rem 1rem calc(.6rem + env(safe-area-inset-bottom));
    }

    .ws-advisor__wine {
        grid-template-columns: 2.5rem 1fr auto;
        gap: .6rem;
    }
}

@keyframes ws-advisor-fade {
    from { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .ws-advisor.is-open::before,
    .ws-advisor__pill,
    .ws-advisor__panel,
    .ws-advisor__msg,
    .ws-advisor__typing span {
        animation: none;
    }
}

/* ==================================
   Einzelansicht: „Passt zu“ (Rezepte) und „Mehr aus …“ als Slider
   ================================== */

.ws-shop.ws-wine-detail {
    overflow-x: clip;
}

.ws-shop .ws-wine-detail__recipes {
    margin-top: clamp(3.5rem, 7vw, 6rem);
    padding: 0 var(--ws-inset);
}

.ws-shop .ws-wine-detail__recipes-eyebrow {
    margin: 0 0 .35rem;
    color: #8a7f00;
    font-size: .6875rem;
    font-weight: 700;
    letter-spacing: .22em;
    text-transform: uppercase;
}

.ws-recipe-links {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 22rem), 1fr));
    gap: 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ws-recipe-link {
    display: grid;
    grid-template-columns: 7.5rem 1fr;
    align-items: center;
    gap: 1.25rem;
    height: 100%;
    padding: .75rem;
    border: 1px solid rgba(0, 0, 0, .08);
    color: inherit;
    text-decoration: none;
    transition: border-color .25s ease, box-shadow .25s ease;
}

.ws-recipe-link:hover,
.ws-recipe-link:focus-visible {
    border-color: #c8ba00;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .06);
    color: inherit;
}

.ws-recipe-link__image {
    display: block;
    aspect-ratio: 1;
    overflow: hidden;
    background: #f6f5f1;
}

.ws-recipe-link__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s cubic-bezier(.2, .7, .2, 1);
}

.ws-recipe-link:hover .ws-recipe-link__image img {
    transform: scale(1.05);
}

.ws-recipe-link__placeholder {
    display: grid;
    place-items: center;
    height: 100%;
    color: #b3ab8f;
    font-size: .6875rem;
    letter-spacing: .22em;
    text-transform: uppercase;
}

.ws-recipe-link__text {
    display: flex;
    flex-direction: column;
    gap: .3rem;
}

.ws-recipe-link__course,
.ws-recipe-link__more {
    color: #777;
    font-size: .6875rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.ws-recipe-link__title {
    font-size: 1.15rem;
    font-weight: 300;
    line-height: 1.3;
    color: #111;
}

.ws-recipe-link__more {
    margin-top: .25rem;
    color: #111;
}

/* Slider: läuft rechts bis zum Rand, Karten schnappen ein */
.ws-shop .ws-slider {
    padding-right: 0;
}

.ws-slider__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    padding-right: var(--ws-inset);
}

.ws-slider__nav {
    display: flex;
    gap: .5rem;
    margin-bottom: 2rem;
}

.ws-slider__nav[hidden] {
    display: none;
}

.ws-slider__btn {
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    border: 1px solid #111;
    border-radius: 50%;
    background: #fff;
    padding: 0;
    color: #111;
    line-height: 0;
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease, opacity .2s ease;
}

.ws-slider__btn svg {
    display: block;
}

.ws-slider__btn:hover:not(:disabled),
.ws-slider__btn:focus-visible {
    background: #111;
    color: #fff;
}

.ws-slider__btn:disabled {
    opacity: .3;
    cursor: default;
}

.ws-slider__track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: clamp(14rem, 24vw, 19rem);
    gap: clamp(1rem, 2vw, 1.75rem);
    margin: 0 calc(50% - 50vw) 0 0;
    padding: 0 var(--ws-inset) 1.25rem 0;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 0;
    scrollbar-width: thin;
    list-style: none;
}

.ws-slider__track > .ws-wine {
    scroll-snap-align: start;
}

@media (max-width: 575.98px) {
    .ws-slider__track {
        grid-auto-columns: 72%;
    }

    .ws-recipe-link {
        grid-template-columns: 5.5rem 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ws-recipe-link__image img {
        transition: none;
    }
}

/* Einzelansicht: Hinweis aufs Weinabo unter dem Warenkorb, Querverweise ganz unten */
.ws-shop .ws-wine-detail__hint {
    margin: 1.5rem 0 0;
    color: #777;
    font-size: .875rem;
}

.ws-shop .ws-wine-detail__hint a {
    margin-left: .4rem;
    color: var(--ws-ink);
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid var(--ws-gold);
}

.ws-shop .ws-wine-detail__more {
    margin-top: clamp(3.5rem, 7vw, 6rem);
    padding: 0 var(--ws-inset);
}

.ws-more-links {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr));
    gap: 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ws-more-link {
    display: flex;
    flex-direction: column;
    gap: .4rem;
    height: 100%;
    padding: 1.25rem 1.25rem 1.1rem;
    border: 1px solid rgba(0, 0, 0, .08);
    background: #f6f5f1;
    color: inherit;
    text-decoration: none;
    transition: border-color .25s ease, box-shadow .25s ease;
}

.ws-more-link:hover,
.ws-more-link:focus-visible {
    border-color: #c8ba00;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .06);
    color: inherit;
}

.ws-more-link__eyebrow {
    color: #8a7f00;
    font-size: .6875rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.ws-more-link__title {
    color: #111;
    font-size: 1.35rem;
    font-weight: 300;
    line-height: 1.2;
    text-transform: uppercase;
}

.ws-more-link__text {
    flex-grow: 1;
    color: #555;
    font-size: .9rem;
    line-height: 1.5;
}

/* Einzelansicht: Expertise oben rechts neben dem Titel, Booklet & Co. (PDF) unten */
.ws-document--float {
    float: right;
    margin: 0 0 1rem 1.25rem;
    padding: .5rem .85rem .5rem .65rem;
    background: #fff;
    font-size: .8125rem;
}

/* Einzelansicht oben rechts: Expertise und Teilen */
.ws-wine-detail__tools {
    float: right;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: .5rem;
    margin: 0 0 1rem 1.25rem;
}

.ws-wine-detail__tools .ws-document--float {
    float: none;
    margin: 0;
}

.ws-share {
    position: relative;
}

.ws-share__toggle {
    font-family: inherit;
    cursor: pointer;
}

.ws-share__menu {
    position: absolute;
    top: calc(100% + .35rem);
    right: 0;
    z-index: 20;
    min-width: 11rem;
    margin: 0;
    padding: .35rem 0;
    list-style: none;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .14);
    box-shadow: 0 .5rem 1.5rem rgba(0, 0, 0, .08);
}

.ws-share__menu a,
.ws-share__menu button {
    display: block;
    width: 100%;
    padding: .45rem 1rem;
    background: none;
    border: 0;
    color: #111;
    font: inherit;
    font-size: .875rem;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}

.ws-share__menu a:hover,
.ws-share__menu button:hover,
.ws-share__menu a:focus-visible,
.ws-share__menu button:focus-visible {
    background: var(--ws-paper, #f6f5f2);
    color: #111;
    text-decoration: none;
}

@media (max-width: 575.98px) {
    .ws-document--float {
        margin-left: .75rem;
    }

    .ws-wine-detail__tools {
        margin-left: .75rem;
    }

    .ws-document--float .ws-document__meta {
        display: none;
    }
}

/* Einzelansicht: Expertise, Booklet (PDF) */
.ws-shop .ws-wine-detail__documents {
    margin-top: 2rem;
}

.ws-shop .ws-wine-detail__documents-title {
    margin: 0 0 .75rem;
    color: #777;
    font-size: .6875rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.ws-documents {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ws-document {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    padding: .65rem 1rem .65rem .8rem;
    border: 1px solid rgba(0, 0, 0, .14);
    color: #111;
    font-size: .875rem;
    text-decoration: none;
    transition: border-color .2s ease, background-color .2s ease;
}

.ws-document:hover,
.ws-document:focus-visible {
    border-color: #c8ba00;
    background: #fbfaf4;
    color: #111;
}

.ws-document__icon {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
    color: #8a7f00;
}

.ws-document__meta {
    color: #888;
    font-size: .6875rem;
    font-weight: 700;
    letter-spacing: .14em;
}

/* ---------- Große Bühne (Partial Wines/Showcase, settings.showcase – Satyr Magnum) ----------
   Dunkler Kopf über die ganze Breite (Schatten statt 100vw: keine Querscrollleiste),
   Flasche im Licht, darunter Beschreibung, Eckdaten und alle Fotos groß.
   Die Farbvariablen von .ws-shop sind im Kopf umgedreht, Preis & Co. passen sich an. */

.ws-shop .ws-showcase {
    --ws-sc-bg: #15110e;
    --ws-sc-gold: #cdb87a;
}

/* Bühne bis unter die Kopfleiste: kein weißer Balken über dem dunklen Kopf,
   der Rücklink sitzt hell auf dem dunklen Grund */
.ws-shop.ws-wine-detail:has(.ws-showcase) {
    padding-top: 0;
}

.ws-shop.ws-wine-detail:has(.ws-showcase) .ws-wine-detail__back {
    position: relative;
    margin: 0 0 -1px; /* deckt die Naht zur Bühne */
    padding: 1.5rem var(--ws-inset) 1px;
    background: var(--ws-sc-bg, #15110e);
    box-shadow: 0 0 0 100vmax var(--ws-sc-bg, #15110e);
    clip-path: inset(0 -100vmax);
}

@media (min-width: 992px) {
    /* unter Warenkorb und Login (fest oben links, bis 75px) */
    .ws-shop.ws-wine-detail:has(.ws-showcase) .ws-wine-detail__back {
        padding-top: 6rem;
    }
}

.ws-shop.ws-wine-detail:has(.ws-showcase) .ws-wine-detail__back .ws-back {
    color: #d6cfc2;
}

.ws-shop.ws-wine-detail:has(.ws-showcase) .ws-wine-detail__back .ws-back:hover,
.ws-shop.ws-wine-detail:has(.ws-showcase) .ws-wine-detail__back .ws-back:focus-visible {
    color: #cdb87a;
}

.ws-shop .ws-showcase__hero {
    --ws-ink: #f4efe4;
    --ws-text: #d6cfc2;
    --ws-muted: #a39a8a;
    --ws-line: rgba(255, 255, 255, .14);
    --ws-gold: var(--ws-sc-gold);
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
    padding: clamp(2.5rem, 6vw, 5rem) var(--ws-inset);
    color: var(--ws-text);
    background: var(--ws-sc-bg);
    box-shadow: 0 0 0 100vmax var(--ws-sc-bg);
    clip-path: inset(0 -100vmax);
}

.ws-shop .ws-showcase__stage {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: min(84vh, 50rem);
}

/* Licht hinter der Flasche, atmet langsam */
.ws-shop .ws-showcase__stage::before {
    content: "";
    position: absolute;
    inset: 4% -10%;
    background: radial-gradient(closest-side, rgba(150, 46, 58, .42), rgba(205, 184, 122, .1) 55%, transparent);
    animation: ws-showcase-glow 9s ease-in-out infinite alternate;
}

.ws-shop .ws-showcase__bottle {
    position: relative;
    display: flex;
    justify-content: center;
    padding: 0;
    background: none;
    border: 0;
    cursor: zoom-in;
    animation: ws-rise 1.4s .1s cubic-bezier(.2, .7, .2, 1) both;
}

.ws-shop .ws-showcase__bottle img {
    max-width: 100%;
    max-height: min(80vh, 46rem);
    object-fit: contain;
    filter: drop-shadow(0 2rem 2.5rem rgba(0, 0, 0, .55));
    -webkit-box-reflect: below .25rem linear-gradient(transparent 82%, rgba(255, 255, 255, .1));
}

.ws-shop .ws-showcase__bottle:focus-visible {
    outline: 1px solid var(--ws-gold);
    outline-offset: .75rem;
}

.ws-shop .ws-showcase__intro {
    animation: ws-rise 1s .3s cubic-bezier(.2, .7, .2, 1) both;
}

.ws-shop .ws-showcase__eyebrow {
    margin: 0 0 1rem;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .42em;
    text-transform: uppercase;
    color: var(--ws-sc-gold);
}

.ws-shop .ws-showcase__title {
    margin: 0;
    text-wrap: balance;
    font-size: clamp(2.4rem, 5.4vw, 4.75rem);
    font-weight: 200 !important;
    line-height: 1;
    letter-spacing: .03em;
    text-transform: uppercase;
    color: var(--ws-ink);
}

.ws-shop .ws-showcase__facts {
    margin: 1.25rem 0 0;
    font-size: .8rem;
    letter-spacing: .24em;
    text-transform: uppercase;
    color: var(--ws-muted);
}

.ws-shop .ws-showcase__awards {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-top: 2rem;
}

.ws-shop .ws-showcase__medals {
    display: flex;
    gap: .5rem;
}

.ws-shop .ws-showcase__medals img {
    width: 5.5rem;
    height: 5.5rem;
    object-fit: contain;
}

.ws-shop .ws-showcase__awards-text {
    margin: 0;
    font-size: .72rem;
    line-height: 1.7;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--ws-muted);
}

.ws-shop .ws-showcase__buy {
    max-width: 28rem;
    margin-top: 2.25rem;
    padding-top: 1.75rem;
    border-top: 1px solid var(--ws-line);
}

.ws-shop .ws-showcase__hero .ws-btn--solid {
    color: var(--ws-sc-bg);
    background: var(--ws-sc-gold);
    border-color: var(--ws-sc-gold);
}

.ws-shop .ws-showcase__hero .ws-btn--solid:hover,
.ws-shop .ws-showcase__hero .ws-btn--solid:focus-visible {
    color: var(--ws-sc-bg);
    background: #fff;
    border-color: #fff;
}

.ws-shop .ws-showcase__hero .ws-book__qty {
    color: var(--ws-ink);
    background: transparent;
    border-color: rgba(255, 255, 255, .3);
}

.ws-shop .ws-showcase__hero .ws-book__qty option {
    color: #111;
}

.ws-shop .ws-showcase__hero .ws-book__status {
    color: var(--ws-text);
}

.ws-shop .ws-showcase__hero .ws-document {
    color: var(--ws-ink);
    background: transparent;
    border-color: rgba(255, 255, 255, .2);
}

.ws-shop .ws-showcase__hero .ws-document:hover,
.ws-shop .ws-showcase__hero .ws-document:focus-visible {
    background: rgba(255, 255, 255, .06);
    border-color: var(--ws-sc-gold);
}

.ws-shop .ws-showcase__hero .ws-document__icon {
    color: var(--ws-sc-gold);
}

.ws-shop .ws-showcase__story {
    max-width: 44rem;
    margin: clamp(4rem, 8vw, 7rem) auto 0;
    padding: 0 var(--ws-inset);
    font-size: 1.05rem;
    line-height: 1.85;
    text-align: center;
}

.ws-shop .ws-showcase__story::before {
    content: "";
    display: block;
    width: 3rem;
    height: 1px;
    margin: 0 auto 2.5rem;
    background: var(--ws-sc-gold);
}

.ws-shop .ws-showcase__story > p:first-child {
    margin-bottom: 2rem;
    font-size: clamp(1.35rem, 2.6vw, 1.9rem);
    font-weight: 300;
    line-height: 1.35;
    color: var(--ws-ink);
}

.ws-shop .ws-showcase__story > p:first-child strong {
    font-weight: inherit;
}

.ws-shop .ws-showcase__story strong {
    color: var(--ws-ink);
}

.ws-shop .ws-showcase__specs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(10.5rem, 1fr));
    max-width: 62rem;
    margin: clamp(3rem, 6vw, 4.5rem) auto 0;
    padding: 0 var(--ws-inset);
    border-top: 1px solid var(--ws-line);
}

.ws-shop .ws-showcase__specs > div {
    padding: 1.4rem 1rem 1.4rem 0;
    border-bottom: 1px solid var(--ws-line);
}

.ws-shop .ws-showcase__specs dt {
    margin-bottom: .4rem;
    font-size: .66rem;
    font-weight: 700;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--ws-muted);
}

.ws-shop .ws-showcase__specs dd {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 300;
    color: var(--ws-ink);
}

.ws-shop .ws-showcase__photos {
    margin-top: clamp(4rem, 8vw, 7rem);
    padding: 0 var(--ws-inset);
}

.ws-shop .ws-showcase__heading {
    margin: 0 0 2rem;
    font-weight: 300;
    letter-spacing: .06em;
    text-align: center;
    text-transform: uppercase;
    color: var(--ws-ink);
}

.ws-shop .ws-showcase__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(.75rem, 2vw, 1.5rem);
    margin: 0;
    padding: 0;
    list-style: none;
}

.ws-shop .ws-showcase__grid > li:only-child,
.ws-shop .ws-showcase__grid > li:nth-child(3n) {
    grid-column: 1 / -1;
}

.ws-shop .ws-showcase__photo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: clamp(22rem, 46vw, 40rem);
    padding: clamp(1.5rem, 4vw, 3.5rem);
    overflow: hidden;
    background: radial-gradient(ellipse at 50% 40%, #fff, var(--ws-paper) 70%);
    border: 0;
    cursor: zoom-in;
}

.ws-shop .ws-showcase__photo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 1.25rem 1.5rem rgba(0, 0, 0, .18));
    transition: transform 1.1s cubic-bezier(.2, .7, .2, 1);
}

.ws-shop .ws-showcase__photo:hover img,
.ws-shop .ws-showcase__photo:focus-visible img {
    transform: scale(1.04);
}

.ws-shop .ws-showcase__photo:focus-visible {
    outline: 1px solid var(--ws-ink);
    outline-offset: -.75rem;
}

.ws-shop .ws-showcase__documents {
    max-width: 62rem;
    margin: 3rem auto 0;
    padding: 0 var(--ws-inset);
}

/* wines.js (initReveal) setzt .is-reveal – ohne JS bleibt alles sichtbar */
.ws-shop .ws-showcase.is-reveal .ws-reveal {
    opacity: 0;
    transform: translateY(2rem);
    transition: opacity 1s ease, transform 1.1s cubic-bezier(.2, .7, .2, 1);
}

.ws-shop .ws-showcase.is-reveal .ws-reveal.is-visible {
    opacity: 1;
    transform: none;
}

.ws-shop .ws-showcase__grid > li:nth-child(even) {
    transition-delay: .15s;
}

@keyframes ws-showcase-glow {
    from { opacity: .7; transform: scale(.94); }
    to { opacity: 1; transform: scale(1.04); }
}

@media (max-width: 767.98px) {
    .ws-shop .ws-showcase__hero {
        grid-template-columns: 1fr;
    }

    .ws-shop .ws-showcase__stage {
        min-height: 0;
    }

    .ws-shop .ws-showcase__bottle img {
        max-height: 62vh;
    }

    .ws-shop .ws-showcase__medals img {
        width: 4.5rem;
        height: 4.5rem;
    }

    .ws-shop .ws-showcase__grid {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ws-shop .ws-showcase__stage::before,
    .ws-shop .ws-showcase__bottle,
    .ws-shop .ws-showcase__intro {
        animation: none;
    }

    .ws-shop .ws-showcase__photo img {
        transition: none;
    }
}
