/**
Theme Name: Gluck Gluck
Theme URI: https://naturwein-shop.de
Author: Studio Gelöst
Description: Standalone WooCommerce-Theme für den Gluck Gluck Naturwein Shop. Basiert auf eigenem HTML/CSS-Design ohne Parent-Theme.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gluckgluck
Requires at least: 6.0
Requires PHP: 8.0
*/

@font-face {
    font-display: swap;
    font-family: ABC Stefan;
    font-style: normal;
    font-weight: 400;
    src: url(fonts/ABCStefan-Bubble.woff2) format("woff2"),
         url(fonts/ABCStefan-Bubble.otf) format("opentype")
}

@font-face {
    font-display: swap;
    font-family: Geist Mono;
    font-style: normal;
    font-weight: 300;
    src: url(fonts/GeistMono-Light.ttf) format("truetype")
}

@font-face {
    font-display: swap;
    font-family: Geist Mono;
    font-style: normal;
    font-weight: 600;
    src: url(fonts/GeistMono-SemiBold.ttf) format("truetype")
}

*, :after, :before {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent
}

:root {
    --yellow: #ffed00;
    --black: #1d1d1b;
    --white: #fff;
    --pink: #fadceb;
    --gray-50: #f9f9f9;
    --gray-100: #f3f3f3;
    --gray-200: #e8e8e8;
    --gray-300: #d4d4d4;
    --gray-400: #a3a3a3;
    --gray-500: #737373;
    --gray-600: #525252;
    --gray-700: #404040;
    --success: #22c55e;
    --danger: #ef4444;
    --radius: 16px;
    --radius-sm: 10px;
    --radius-xs: 6px;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, .08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, .1);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, .12)
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%
}

body {
    background: var(--white);
    color: var(--black);
    font-family: Geist Mono, Monaco, Courier New, monospace;
    font-size: 15px;
    font-weight: 300;
    line-height: 1.5;
    min-height: 100dvh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased
}

/* Sticky footer */
.site-wrapper {
    flex: 1
}

body {
    display: flex;
    flex-direction: column
}

/* Section-Header: eigene Klasse, nicht von body-flex beeinflusst */
.fp-section-header {
    align-items: baseline;
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
    max-width: 1200px;
    padding: 32px 16px 16px
}

.fp-section-header h2 {
    color: var(--black);
    font-family: ABC Stefan, cursive;
    font-size: 28px
}

.fp-section-header a {
    color: var(--gray-500);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap
}

/* "Alle ansehen" Link — Desktop neben Headline, Mobile unter Wine-Grid */
.section-link-mobile {
    display: none;
}

@media (max-width: 767px) {
    .fp-section-header .section-link-desktop {
        display: none !important;
    }
    .section-link-mobile {
        background: var(--white);
        border: 1.5px solid var(--gray-200);
        border-radius: 12px;
        color: var(--black);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 14px;
        font-weight: 600;
        /* -20px top zieht gegen wine-grid padding-bottom (32px)
           → visueller Abstand = 12px = gleich wie Grid-Gap */
        margin: -20px 16px 0;
        padding: 14px 18px;
        text-decoration: none;
        transition: border-color 0.15s, background 0.15s;
    }
    .section-link-mobile:active {
        background: var(--gray-50);
        border-color: var(--black);
    }
}

::selection {
    background-color: var(--pink);
    color: inherit
}

a {
    color: inherit;
    text-decoration: none
}

strong, b {
    font-weight: 600
}

img {
    display: block;
    height: auto;
    max-width: 100%
}

button {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit
}

input, select, textarea {
    font-family: inherit;
    font-size: inherit
}

.bubble-font {
    font-family: ABC Stefan, cursive, sans-serif;
    font-weight: 400
}

.container {
    margin: 0 auto;
    max-width: 1200px;
    padding: 0 16px;
    width: 100%
}

.shop-header {
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    position: sticky;
    top: 0;
    z-index: 200
}

.shop-header-inner {
    align-items: center;
    display: flex;
    height: 60px;
    justify-content: space-between;
    margin: 0 auto;
    position: relative;
    max-width: 1200px;
    padding: 0 16px
}

.shop-logo {
    color: var(--black);
    font-family: ABC Stefan, cursive;
    font-size: 24px;
    left: 50%;
    letter-spacing: -.02em;
    line-height: 1;
    position: absolute;
    text-align: center;
    transform: translateX(-50%);
    white-space: nowrap
}

.shop-logo span {
    color: var(--gray-500);
    display: block;
    font-family: Geist Mono, monospace;
    font-size: 9px;
    font-weight: 300;
    letter-spacing: .15em;
    margin-top: 1px;
    text-transform: uppercase
}

.logo-weintraube {
    background-image: url(images/Weintraube.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    height: 26px;
    position: absolute;
    right: -22px;
    top: -2px;
    width: 17px
}

@media (min-width: 768px) {
    .logo-weintraube {
        height: 34px;
        right: -28px;
        top: -4px;
        width: 22px
    }
}

.shop-logo-traube {
    height: 34px;
    position: absolute;
    right: -30px;
    top: -6px;
    width: 34px
}

.shop-header-actions {
    align-items: center;
    display: flex;
    gap: 0
}

.header-btn {
    align-items: center;
    border-radius: 50%;
    display: flex;
    height: 36px;
    justify-content: center;
    position: relative;
    transition: background .15s;
    width: 36px
}

.header-btn:active {
    background: var(--gray-100)
}

.header-btn svg {
    color: var(--black);
    height: 20px;
    width: 20px
}

.cart-count {
    align-items: center;
    border-radius: 9px;
    color: var(--black);
    display: flex;
    font-size: 11px;
    font-weight: 600;
    height: 18px;
    justify-content: center;
    line-height: 1;
    min-width: 18px;
    padding: 0 5px;
    position: absolute;
    right: 2px;
    top: 2px
}

.cart-count, .yellow-bar {
    background: var(--yellow)
}

.yellow-bar {
    height: 3px
}

.shop-hero {
    background: var(--yellow);
    overflow: hidden;
    padding: 40px 16px 48px;
    position: relative;
    text-align: center
}

.shop-hero:before {
    background: var(--white);
    border-radius: 50% 50% 0 0;
    bottom: -40px;
    content: "";
    height: 80px;
    left: -20%;
    position: absolute;
    width: 140%
}

.shop-hero h1 {
    color: var(--black);
    font-family: ABC Stefan, cursive;
    font-size: 42px;
    line-height: 1;
    margin-bottom: 8px
}

.shop-hero p {
    color: var(--black);
    font-size: 14px;
    margin: 0 auto;
    max-width: 320px;
    opacity: .7
}

.messe-banner {
    align-items: center;
    background: var(--black);
    border-radius: var(--radius);
    color: var(--white);
    display: flex;
    font-size: 13px;
    gap: 12px;
    line-height: 1.4;
    margin: 24px 16px 0;
    padding: 14px 18px
}

.messe-banner svg {
    flex-shrink: 0;
    height: 20px;
    width: 20px
}

.messe-banner strong, .messe-banner svg {
    color: var(--yellow)
}

.messe-hint {
    background: #fff8fb;
    border: 2px dashed var(--pink);
    border-radius: 20px;
    box-shadow: 0 6px 24px -14px rgba(245, 120, 170, 0.35);
    margin: 24px 16px 32px;
    max-width: 1168px;
    padding: 22px 52px 22px 26px;
    position: relative
}

.messe-hint p {
    color: var(--gray-600);
    font-size: 15px;
    line-height: 1.6;
    margin: 0 0 8px
}

.messe-hint p:last-child {
    margin-bottom: 0
}

.messe-hint strong {
    color: var(--black)
}

.messe-hint-close {
    align-items: center;
    background: transparent;
    border: none;
    border-radius: 50%;
    color: var(--gray-500);
    cursor: pointer;
    display: flex;
    height: 32px;
    justify-content: center;
    position: absolute;
    right: 10px;
    top: 10px;
    transition: background .15s, color .15s;
    width: 32px
}

.messe-hint-close:hover {
    background: var(--gray-100);
    color: var(--black)
}

@media (min-width: 768px) {
    .messe-hint {
        margin-top: 32px;
        margin-bottom: 44px;
        padding: 28px 64px 28px 32px
    }
}

@media (min-width: 1200px) {
    .messe-hint {
        margin-left: auto;
        margin-right: auto
    }
}

.section-header {
    align-items: baseline;
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
    max-width: 1200px;
    padding: 32px 16px 16px
}

.section-header h2 {
    color: var(--black);
    font-family: ABC Stefan, cursive;
    font-size: 28px
}

.section-header a {
    color: var(--gray-500);
    font-size: 13px;
    font-weight: 600
}

.wine-grid {
    display: grid;
    gap: 12px;
    grid-template-columns:repeat(2, 1fr);
    margin: 0 auto;
    max-width: 1200px;
    padding: 0 16px 32px
}

.btn-load-more {
    background: var(--black);
    border: none;
    border-radius: 8px;
    color: var(--white);
    cursor: pointer;
    font-family: Geist Mono, monospace;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .02em;
    padding: 12px 32px;
    transition: opacity .15s
}

.btn-load-more:hover {
    opacity: .85
}

.btn-load-more:active {
    transform: scale(.98)
}

.wine-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    color: inherit;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    text-decoration: none;
    transition: transform .2s, box-shadow .2s
}

.wine-card:active {
    transform: scale(.98)
}

.wine-card-img {
    align-items: center;
    aspect-ratio: 3/4;
    background: var(--gray-50);
    display: flex;
    flex-shrink: 0;
    justify-content: center;
    overflow: hidden;
    position: relative;
    width: 100%
}

.wine-card-img img {
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .1));
    height: 75%;
    object-fit: contain;
    width: auto
}

.wine-card-img .wine-placeholder {
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .1));
    height: 88%;
    width: auto;
}

.wine-card-badge {
    background: var(--yellow);
    border-radius: 4px;
    color: var(--black);
    font-size: 10px;
    font-weight: 600;
    left: 8px;
    letter-spacing: .05em;
    padding: 3px 8px;
    position: absolute;
    text-transform: uppercase;
    top: 8px
}

.wine-card-info {
    flex: 1;
    padding: 12px
}

.wine-card-producer {
    color: var(--gray-400);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .08em;
    margin-bottom: 2px;
    text-transform: uppercase
}

.wine-card-name {
    color: var(--black);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 2px
}

.wine-card-meta {
    color: var(--gray-500);
    font-size: 11px;
    margin-bottom: 8px
}

.wine-card-price {
    color: var(--black);
    font-size: 17px;
    font-weight: 600
}

.wine-card-price-per {
    color: var(--gray-500);
    font-size: 11px;
    margin-top: 2px
}

.wine-card-price .original {
    color: var(--gray-400);
    font-size: 12px;
    font-weight: 300;
    margin-left: 6px;
    text-decoration: line-through
}

.categories-scroll {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 0 16px 24px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    margin: 0 auto;
    max-width: 1200px
}

.categories-scroll::-webkit-scrollbar {
    display: none
}

.category-chip {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 50px;
    color: var(--black);
    flex-shrink: 0;
    font-size: 13px;
    font-weight: 600;
    padding: 10px 20px;
    text-decoration: none;
    transition: all .15s;
    white-space: nowrap
}

.category-chip.active, .category-chip:active {
    background: var(--yellow);
    border-color: var(--yellow)
}

.filter-bar {
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    padding: 10px 0;
    position: sticky;
    top: 60px;
    z-index: 50
}

.filter-bar-inner {
    display: flex;
    gap: 8px;
    margin: 0 auto;
    max-width: 1200px;
    overflow-x: auto;
    padding: 0 16px;
    scrollbar-width: none
}

.filter-bar-inner::-webkit-scrollbar {
    display: none
}

.filter-btn {
    align-items: center;
    background: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: 50px;
    color: var(--black);
    display: flex;
    flex-shrink: 0;
    font-size: 13px;
    font-weight: 600;
    gap: 5px;
    padding: 8px 14px;
    transition: all .15s;
    white-space: nowrap
}

.filter-btn svg {
    height: 14px;
    width: 14px
}

.filter-btn.active, .filter-btn:active {
    background: var(--black);
    border-color: var(--black);
    color: var(--white)
}

.filter-count {
    align-items: center;
    background: var(--yellow);
    border-radius: 9px;
    color: var(--black);
    display: inline-flex;
    font-size: 11px;
    font-weight: 600;
    height: 18px;
    justify-content: center;
    margin-left: 4px;
    min-width: 18px;
    padding: 0 4px
}

.filter-dropdown {
    backdrop-filter: blur(4px);
    background: rgba(0, 0, 0, .4);
    inset: 0;
    opacity: 0;
    position: fixed;
    transition: all .25s;
    visibility: hidden;
    z-index: 200
}

.filter-dropdown.open {
    opacity: 1;
    visibility: visible
}

.filter-panel {
    background: var(--white);
    border-radius: 20px 20px 0 0;
    bottom: 0;
    left: 0;
    max-height: 70vh;
    overflow-y: auto;
    padding: 20px 16px calc(20px + env(safe-area-inset-bottom));
    position: absolute;
    right: 0;
    transform: translateY(100%);
    transition: transform .3s cubic-bezier(.16, 1, .3, 1)
}

.filter-dropdown.open .filter-panel {
    transform: translateY(0)
}

.filter-panel-handle {
    background: var(--gray-300);
    border-radius: 2px;
    height: 4px;
    margin: 0 auto 16px;
    width: 36px
}

.filter-panel-title {
    font-family: ABC Stefan, cursive;
    font-size: 24px;
    margin-bottom: 16px
}

.filter-option {
    align-items: center;
    border-bottom: 1px solid var(--gray-100);
    cursor: pointer;
    display: flex;
    font-size: 15px;
    justify-content: space-between;
    padding: 14px 0
}

.filter-option .check {
    align-items: center;
    border: 2px solid var(--gray-300);
    border-radius: 6px;
    display: flex;
    height: 22px;
    justify-content: center;
    transition: all .15s;
    width: 22px
}

.filter-option.selected .check {
    background: var(--yellow);
    border-color: var(--yellow)
}

.filter-option.selected .check:after {
    color: var(--black);
    content: "✓";
    font-size: 13px;
    font-weight: 700
}

.filter-apply-btn {
    align-items: center;
    background: var(--black);
    border-radius: var(--radius-sm);
    color: var(--white);
    display: flex;
    font-size: 15px;
    font-weight: 600;
    height: 50px;
    justify-content: center;
    margin-top: 20px;
    width: 100%
}

.results-bar {
    color: var(--gray-500);
    font-size: 13px;
    margin: 0 auto;
    max-width: 1200px;
    padding: 12px 16px
}

.results-bar strong {
    color: var(--black)
}

.product-hero {
    align-items: center;
    aspect-ratio: 3/4;
    background: var(--gray-50);
    display: flex;
    justify-content: center;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    max-height: 46vh;
    overflow: hidden;
    position: relative;
    width: 100vw
}

.product-hero img {
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, .12));
    height: 95%;
    object-fit: contain;
    position: relative;
    width: auto;
    z-index: 2
}

.product-hero .wine-placeholder {
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, .12));
    height: 100%;
    position: relative;
    width: auto;
    z-index: 2;
}

.product-bubble {
    animation: bubbleWobble 22s ease-in-out infinite;
    background: var(--yellow);
    border-radius: 50% 42% 55% 45%/45% 55% 42% 50%;
    height: 74%;
    position: absolute;
    width: 74%;
    will-change: border-radius, transform;
    z-index: 1
}

@keyframes bubbleWobble {
    0% {
        border-radius: 50% 42% 55% 45%/45% 55% 42% 50%;
        transform: scale(1) skew(0deg, 0deg)
    }
    25% {
        border-radius: 45% 55% 48% 52%/52% 42% 50% 48%;
        transform: scale(1.04, .96) skew(1.5deg, .8deg)
    }
    50% {
        border-radius: 52% 48% 50% 44%/44% 50% 48% 55%;
        transform: scale(.97, 1.03) skew(-1deg, 1.2deg)
    }
    75% {
        border-radius: 48% 50% 44% 55%/50% 48% 55% 42%;
        transform: scale(1.03, .98) skew(.8deg, -.5deg)
    }
    to {
        border-radius: 50% 42% 55% 45%/45% 55% 42% 50%;
        transform: scale(1) skew(0deg, 0deg)
    }
}

.product-hero .back-btn {
    align-items: center;
    background: var(--white);
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    display: flex;
    height: 40px;
    justify-content: center;
    left: 16px;
    position: absolute;
    top: 16px;
    width: 40px;
    z-index: 10
}

.product-hero .back-btn svg {
    height: 20px;
    width: 20px
}

.product-hero .share-btn {
    align-items: center;
    background: var(--white);
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    display: flex;
    height: 40px;
    justify-content: center;
    position: absolute;
    right: 16px;
    top: 16px;
    width: 40px;
    z-index: 10
}

.product-hero .share-btn svg {
    height: 20px;
    width: 20px
}

.product-content {
    margin: 0 auto;
    max-width: 600px;
    padding: 20px 16px 200px
}

.product-producer-tag {
    align-items: center;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 20px;
    color: var(--gray-600);
    display: inline-flex;
    font-size: 11px;
    font-weight: 600;
    gap: 6px;
    letter-spacing: .06em;
    margin-bottom: 10px;
    padding: 4px 12px;
    text-transform: uppercase
}

.product-title {
    color: var(--black);
    font-family: ABC Stefan, cursive;
    font-size: 34px;
    line-height: 1.1;
    margin-bottom: 4px
}

.product-subtitle {
    color: var(--gray-500);
    font-size: 15px;
    margin-bottom: 16px
}

.product-price-row {
    align-items: baseline;
    display: flex;
    gap: 10px;
    margin-bottom: 6px
}

.product-price {
    color: var(--black);
    font-size: 32px;
    font-weight: 600
}

.product-price-original {
    color: var(--gray-400);
    font-size: 16px;
    font-weight: 300;
    text-decoration: line-through
}

.product-price-per {
    color: var(--gray-500);
    font-size: 12px;
    margin-bottom: 4px
}

.product-price-per .shipping-link {
    color: var(--gray-500);
    text-decoration: underline
}

.product-price-save {
    background: var(--yellow);
    border-radius: 4px;
    color: var(--black);
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 16px;
    padding: 3px 10px
}

.product-messe-hint {
    align-items: center;
    background: var(--black);
    border-radius: var(--radius-sm);
    color: var(--white);
    display: flex;
    font-size: 13px;
    gap: 10px;
    line-height: 1.4;
    margin-bottom: 20px;
    padding: 12px 14px
}

.product-messe-hint svg {
    color: var(--yellow);
    flex-shrink: 0;
    height: 18px;
    width: 18px
}

.taste-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px
}

.taste-tag {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 20px;
    color: var(--gray-600);
    font-size: 13px;
    padding: 6px 14px
}

.stats-grid {
    background: var(--gray-200);
    border-radius: var(--radius-sm);
    display: grid;
    gap: 1px;
    grid-template-columns:repeat(3, 1fr);
    margin-bottom: 24px;
    overflow: hidden
}

.stat-item {
    background: var(--gray-50);
    padding: 14px 8px;
    text-align: center
}

.stat-value {
    color: var(--black);
    font-size: 16px;
    font-weight: 600
}

.stat-label {
    color: var(--gray-400);
    font-size: 10px;
    letter-spacing: .06em;
    margin-top: 2px;
    text-transform: uppercase
}

.detail-section {
    border-top: 1px solid var(--gray-200);
    padding: 16px 0
}

.detail-section-title {
    align-items: center;
    color: var(--black);
    display: flex;
    font-size: 14px;
    font-weight: 600;
    gap: 6px;
    margin-bottom: 10px
}

.wine-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid var(--gray-200);
    margin-top: 6px
}

.wine-detail {
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: 16px 0;
    border-bottom: 1px solid var(--gray-200);
    min-width: 0
}

.wine-detail:nth-child(odd) {
    padding-right: 18px;
    border-right: 1px solid var(--gray-200)
}

.wine-detail:nth-child(even) {
    padding-left: 18px
}

.wine-detail--full {
    grid-column: 1 / -1;
    padding: 18px 0 !important;
    border-right: none !important
}

.wine-detail--full:first-of-type {
    padding-top: 22px !important;
    position: relative
}

.wine-detail-label {
    align-items: center;
    color: var(--gray-500);
    display: flex;
    font-family: Geist Mono, monospace;
    font-size: 10px;
    font-weight: 600;
    gap: 8px;
    letter-spacing: .18em;
    text-transform: uppercase
}

.wine-detail-label::before {
    background: var(--yellow);
    border-radius: 50%;
    content: "";
    display: inline-block;
    flex-shrink: 0;
    height: 5px;
    width: 5px
}

.wine-detail-value {
    color: var(--black);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
    overflow-wrap: anywhere
}

.wine-detail--full .wine-detail-value {
    color: var(--black);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.65
}

.scale-bar {
    align-items: center;
    display: flex;
    gap: 8px
}

.scale-track {
    background: var(--gray-200);
    border-radius: 2px;
    flex: 1;
    height: 4px;
    overflow: hidden
}

.scale-fill {
    background: var(--yellow);
    border-radius: 2px;
    height: 100%;
    transition: width .3s
}

.scale-label {
    color: var(--gray-500);
    font-size: 11px;
    min-width: 50px
}

.scale-value {
    color: var(--black);
    font-size: 11px;
    font-weight: 600;
    min-width: 40px;
    text-align: right
}

.purchase-panel {
    background: var(--gray-50);
    border-radius: 14px;
    margin-bottom: 18px;
    padding: 4px 14px
}

.purchase-panel .qty-row {
    align-items: center;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    padding: 10px 0
}

.qty-label {
    color: var(--black);
    font-size: 14px;
    font-weight: 600
}

.qty-control {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    overflow: hidden
}

.qty-btn, .qty-control {
    align-items: center;
    display: flex
}

.qty-btn {
    color: var(--black);
    font-size: 20px;
    height: 40px;
    justify-content: center;
    transition: background .15s;
    width: 40px
}

.qty-btn:active {
    background: var(--gray-100)
}

.qty-value {
    background: transparent;
    border: none;
    font-family: inherit;
    text-align: center;
    width: 44px
}

.qty-value {
    color: var(--black);
    font-size: 15px;
    font-weight: 600
}

.qty-total-row {
    align-items: baseline;
    border-top: 1px solid var(--gray-200);
    display: flex;
    justify-content: space-between;
    padding: 10px 0
}

.qty-total-label {
    color: var(--gray-500);
    font-family: Geist Mono, monospace;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase
}

.qty-total-price {
    color: var(--black);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -.01em
}

.product-cta-bar {
    background: var(--white);
    border-top: 1px solid var(--gray-200);
    bottom: 0;
    left: 0;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    position: fixed;
    right: 0;
    z-index: 100
}

.product-cta-inner {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0 auto;
    max-width: 600px
}

.btn-primary {
    align-items: center;
    background: var(--black);
    border-radius: var(--radius-sm);
    color: var(--white);
    display: flex;
    font-size: 15px;
    font-weight: 600;
    gap: 8px;
    height: 52px;
    justify-content: center;
    transition: transform .15s;
    width: 100%
}

.btn-primary:active {
    transform: scale(.98)
}

.btn-apple-pay {
    align-items: center;
    background: var(--black);
    border-radius: var(--radius-sm);
    color: var(--white);
    display: flex;
    font-size: 15px;
    font-weight: 600;
    gap: 6px;
    height: 52px;
    justify-content: center;
    transition: transform .15s;
    width: 100%
}

.btn-apple-pay:active {
    transform: scale(.98)
}

.btn-apple-pay .apple-logo {
    font-size: 18px
}

.btn-yellow {
    align-items: center;
    background: var(--yellow);
    border-radius: var(--radius-sm);
    box-shadow: 0 2px 12px rgba(255, 229, 0, .3);
    color: var(--black);
    display: flex;
    font-size: 15px;
    font-weight: 600;
    gap: 8px;
    height: 52px;
    justify-content: center;
    transition: transform .15s;
    width: 100%
}

.btn-yellow:active {
    transform: scale(.98)
}

.btn-outline {
    align-items: center;
    background: var(--white);
    border: 1.5px solid var(--gray-300);
    border-radius: var(--radius-sm);
    color: var(--black);
    display: flex;
    font-size: 15px;
    font-weight: 600;
    gap: 8px;
    height: 52px;
    justify-content: center;
    transition: transform .15s;
    width: 100%
}

.btn-outline:active {
    transform: scale(.98)
}

.cta-row {
    display: flex;
    gap: 8px
}

.cta-row .btn-yellow {
    flex: 2
}

.cta-row .btn-outline {
    flex: 1;
    width: auto
}

.cart-page {
    margin: 0 auto;
    max-width: 600px;
    padding: 20px 16px 200px
}

.cart-title {
    font-family: ABC Stefan, cursive;
    font-size: 28px;
    margin-bottom: 4px
}

.cart-subtitle {
    color: var(--gray-500);
    font-size: 13px;
    margin-bottom: 20px
}

.cart-item {
    border-bottom: 1px solid var(--gray-100);
    display: flex;
    gap: 14px;
    padding: 16px 0;
    position: relative
}

.cart-item-img {
    align-items: center;
    background: var(--gray-50);
    border-radius: var(--radius-xs);
    display: flex;
    flex-shrink: 0;
    height: 90px;
    justify-content: center;
    overflow: hidden;
    width: 70px
}

.cart-item-img img,
.cart-item-img .wine-placeholder {
    height: 80%;
    object-fit: contain;
    width: auto
}

.cart-item-img .wine-placeholder {
    height: 95%;
}

/* Inline-Placeholder in Checkout Review Order + Thankyou + Mein Konto */
.order-line-media {
    display: inline-block;
    width: 32px;
    height: 44px;
    margin-right: 10px;
    vertical-align: middle;
    flex-shrink: 0;
}

.order-line-media .wine-placeholder {
    display: block;
    height: 100%;
    width: 100%;
}

.cart-item-info {
    flex: 1;
    min-width: 0
}

.cart-item-producer {
    color: var(--gray-400);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase
}

.cart-item-name {
    color: var(--black);
    font-size: 14px;
    font-weight: 600;
    margin: 2px 0
}

.cart-item-detail {
    color: var(--gray-500);
    font-size: 12px;
    margin-bottom: 8px
}

.cart-item-bottom {
    align-items: center;
    display: flex;
    justify-content: space-between
}

/* Cart: Quantity-Box kompakter als im Produktdetail */
.cart-page .qty-control {
    max-width: 110px
}

.cart-page .qty-control .qty-btn {
    height: 36px;
    width: 32px
}

.cart-page .qty-control .qty-value {
    font-size: 14px;
    width: 36px
}

.cart-item-price {
    color: var(--black);
    font-size: 16px;
    font-weight: 600
}

.cart-qty {
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    overflow: hidden
}

.cart-qty, .cart-qty-btn {
    align-items: center;
    display: flex
}

.cart-qty-btn {
    color: var(--black);
    font-size: 16px;
    height: 32px;
    justify-content: center;
    width: 32px
}

.cart-qty-btn:active {
    background: var(--gray-100)
}

.cart-qty-val {
    font-size: 14px;
    font-weight: 600;
    min-width: 32px;
    padding: 0 4px;
    text-align: center;
    width: auto
}

.cart-item-price-per {
    color: var(--gray-500);
    font-size: 11px;
    margin-top: 1px
}

.cart-item-price-col {
    text-align: right
}

.cart-item-remove {
    align-items: center;
    color: var(--gray-400);
    display: flex;
    font-size: 14px;
    height: 28px;
    justify-content: center;
    position: absolute;
    right: 0;
    top: 16px;
    width: 28px
}

.cart-empty {
    color: var(--gray-500);
    font-size: 14px;
    padding: 60px 20px;
    text-align: center
}

.cart-empty .empty-icon {
    font-size: 48px;
    margin-bottom: 12px;
    opacity: .3
}

.cart-summary {
    background: var(--gray-50);
    border-radius: var(--radius);
    margin-top: 20px;
    padding: 20px
}

.cart-summary-row {
    color: var(--gray-600);
    display: flex;
    font-size: 14px;
    justify-content: space-between;
    padding: 6px 0
}

.cart-summary-row.total {
    border-top: 1px solid var(--gray-200);
    color: var(--black);
    font-size: 18px;
    font-weight: 600;
    margin-top: 8px;
    padding-top: 12px
}

.cart-summary-row small,
.tax-hint {
    color: var(--gray-500);
    display: inline-block;
    font-size: 11px;
    font-weight: 400
}

/* MwSt-Zeilen unter dem Gesamt (dezent) */
.cart-summary-row.tax-row {
    color: var(--gray-500);
    font-size: 12px;
    padding: 4px 0
}

/* B2B: Brutto-Gesamt-Zeile */
.cart-summary-row.cart-gross-total {
    border-top: 1px solid var(--gray-200);
    color: var(--black);
    font-size: 14px;
    font-weight: 600;
    margin-top: 6px;
    padding-top: 10px
}

.cart-cta-bar {
    background: var(--white);
    border-top: 1px solid var(--gray-200);
    bottom: 0;
    left: 0;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    position: fixed;
    right: 0;
    z-index: 100
}

.cart-cta-inner {
    margin: 0 auto;
    max-width: 600px
}

.cart-total-row {
    align-items: center;
    color: var(--gray-500);
    display: flex;
    font-size: 13px;
    justify-content: space-between;
    margin-bottom: 10px
}

.cart-total-row .amount {
    color: var(--black);
    font-size: 22px;
    font-weight: 600
}

/* ===========================
   CHECKOUT PAGE
   =========================== */

.checkout-page {
    margin: 0 auto;
    max-width: 640px;
    padding: 24px 16px 120px
}

.checkout-title {
    font-family: ABC Stefan, cursive;
    font-size: 32px;
    margin-bottom: 8px;
    text-align: center
}

.checkout-section {
    margin-bottom: 28px
}

.checkout-section-title {
    color: var(--gray-500);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .1em;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--gray-100);
    text-transform: uppercase
}

/* WC form field wrappers */
.checkout-page .woocommerce-checkout .form-row {
    margin-bottom: 14px;
    padding: 0
}

.checkout-page .woocommerce-checkout .form-row-first,
.checkout-page .woocommerce-checkout .form-row-last {
    float: none;
    width: 100%
}

/* Two-column for name fields */
.checkout-page .woocommerce-billing-fields__field-wrapper,
.checkout-page .woocommerce-shipping-fields__field-wrapper {
    display: grid;
    gap: 0 12px;
    grid-template-columns: 1fr 1fr
}

.checkout-page .woocommerce-billing-fields__field-wrapper .form-row-wide,
.checkout-page .woocommerce-shipping-fields__field-wrapper .form-row-wide {
    grid-column: 1 / -1
}

.checkout-page .woocommerce-billing-fields__field-wrapper .form-row-first {
    grid-column: 1
}

.checkout-page .woocommerce-billing-fields__field-wrapper .form-row-last {
    grid-column: 2
}

/* PLZ + Stadt nebeneinander */
.checkout-page #billing_postcode_field,
.checkout-page #shipping_postcode_field {
    grid-column: 1 !important
}

.checkout-page #billing_city_field,
.checkout-page #shipping_city_field {
    grid-column: 2 !important
}

/* Labels */
.checkout-page .woocommerce-checkout label {
    color: var(--gray-600);
    display: block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .02em;
    margin-bottom: 5px
}

.checkout-page .woocommerce-checkout label .required {
    color: var(--yellow);
    text-decoration: none
}

.checkout-page .woocommerce-checkout .optional {
    color: var(--gray-400);
    font-weight: 300
}

/* Inputs & Selects */
.checkout-page .woocommerce-checkout input[type="text"],
.checkout-page .woocommerce-checkout input[type="email"],
.checkout-page .woocommerce-checkout input[type="tel"],
.checkout-page .woocommerce-checkout input[type="number"],
.checkout-page .woocommerce-checkout input[type="password"],
.checkout-page .woocommerce-checkout select,
.checkout-page .woocommerce-checkout textarea,
.checkout-page .woocommerce-checkout .select2-selection {
    appearance: none;
    background: var(--white);
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-sm);
    color: var(--black);
    font-family: inherit;
    font-size: 15px;
    height: 48px;
    outline: none;
    padding: 0 14px;
    transition: border-color .2s, box-shadow .2s;
    width: 100%
}

.checkout-page .woocommerce-checkout textarea {
    height: auto;
    min-height: 80px;
    padding: 12px 14px;
    resize: vertical
}

.checkout-page .woocommerce-checkout input:focus,
.checkout-page .woocommerce-checkout select:focus,
.checkout-page .woocommerce-checkout textarea:focus {
    border-color: var(--yellow);
    box-shadow: 0 0 0 3px rgba(255, 229, 0, .15)
}

.checkout-page .woocommerce-checkout input::placeholder,
.checkout-page .woocommerce-checkout textarea::placeholder {
    color: var(--gray-400)
}

/* Select2 overrides */
.checkout-page .select2-container--default .select2-selection--single {
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-sm);
    height: 48px
}

.checkout-page .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: var(--black);
    font-size: 15px;
    line-height: 46px;
    padding-left: 14px
}

.checkout-page .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 46px;
    right: 10px
}

/* Remove WC default col2-set layout */
.checkout-page .col2-set {
    display: block;
    width: 100%
}

.checkout-page .col2-set .col-1,
.checkout-page .col2-set .col-2 {
    float: none;
    width: 100%
}

/* Hide default headings (we have our own section titles) */
.checkout-page .woocommerce-checkout h3#order_review_heading {
    display: none
}

.checkout-page .woocommerce-billing-fields h3,
.checkout-page .woocommerce-shipping-fields h3 {
    display: none
}

/* Payment & order headings: match section-title style */
.checkout-page #payment h3,
.checkout-page #order_payment_heading,
.checkout-page .woocommerce-checkout-payment h3 {
    color: var(--gray-500);
    font-family: Geist Mono, Monaco, Courier New, monospace;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .1em;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--gray-100);
    text-transform: uppercase
}

/* "Deine Bestellung" heading from Germanized */
.checkout-page h3#order_review_heading {
    color: var(--gray-500);
    font-family: Geist Mono, Monaco, Courier New, monospace;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .1em;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--gray-100);
    text-transform: uppercase;
    display: block
}

/* Checkbox: "Lieferung an andere Adresse" */
.checkout-page #ship-to-different-address {
    align-items: center;
    background: var(--gray-50);
    border-radius: var(--radius-sm);
    display: flex;
    font-size: 14px;
    font-weight: 600;
    gap: 10px;
    margin-bottom: 16px;
    padding: 14px 16px
}

.checkout-page #ship-to-different-address label {
    font-size: 14px;
    margin: 0;
    cursor: pointer
}

/* Checkbox: "Ein Konto erstellen" */
.checkout-page .create-account,
.checkout-page .woocommerce-account-fields {
    background: var(--gray-50);
    border-radius: var(--radius-sm);
    margin-top: 4px;
    padding: 14px 16px
}

.checkout-page .create-account label,
.checkout-page .woocommerce-account-fields label {
    cursor: pointer;
    font-size: 14px
}

/* Checkboxes styling */
.checkout-page input[type="checkbox"] {
    accent-color: var(--yellow);
    height: 18px;
    width: 18px;
    vertical-align: middle;
    margin-right: 6px
}

/* Anmerkungen */
.checkout-page .woocommerce-additional-fields {
    margin-top: 8px
}

.checkout-page .woocommerce-additional-fields h3 {
    display: none
}

/* ===========================
   CHECKOUT: PAYMENT METHODS
   =========================== */

.checkout-page #payment {
    background: none;
    border-radius: 0;
    padding: 0
}

.checkout-page #payment .payment_methods,
.woocommerce-checkout #payment ul.payment_methods,
.woocommerce-cart #payment ul.payment_methods,
#add_payment_method #payment ul.payment_methods {
    border: none;
    list-style: none;
    margin: 0 0 20px;
    padding: 0
}

/* Checkout Review Order Tabelle: kein grauer Hintergrund (desktop + mobile) */
.woocommerce-checkout .shop_table,
.woocommerce-checkout table.shop_table,
.checkout-page .shop_table {
    background-color: transparent !important;
}

/* Payment: Mobile darf 0 bleiben wie Desktop */
@media (max-width: 600px) {
    .woocommerce-checkout #payment ul.payment_methods,
    .woocommerce-cart #payment ul.payment_methods,
    #add_payment_method #payment ul.payment_methods {
        padding: 0;
    }
}

.checkout-page #payment .payment_methods li {
    background: var(--white);
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
    overflow: hidden;
    position: relative;
    transition: border-color .2s, background .2s
}

.checkout-page #payment .payment_methods li:has(input[type="radio"]:checked) {
    border-color: var(--black);
    background: var(--gray-50)
}

/* Radio-Button absolut positionieren (ist Sibling des Labels) */
.checkout-page #payment .payment_methods li > input[type="radio"] {
    accent-color: var(--black);
    height: 20px;
    left: 18px;
    margin: 0;
    position: absolute;
    top: 20px;
    width: 20px;
    z-index: 2
}

/* Label nimmt Platz für Radio frei */
.checkout-page #payment .payment_methods li > label {
    align-items: center;
    cursor: pointer;
    display: flex;
    font-size: 15px;
    font-weight: 600;
    gap: 12px;
    margin: 0;
    min-height: 24px;
    padding: 18px 18px 18px 50px
}

.checkout-page #payment .payment_methods li > label img {
    height: 24px;
    margin-left: auto;
    width: auto
}

/* Payment Box: Details unterhalb des Labels */
.checkout-page #payment .payment_methods li .payment_box {
    background: var(--gray-50);
    border-top: 1px solid var(--gray-100);
    color: var(--gray-600);
    font-size: 13px;
    line-height: 1.6;
    padding: 16px 18px
}

.checkout-page #payment .payment_methods li .payment_box::before {
    display: none
}

.checkout-page #payment .payment_methods li .payment_box p {
    color: var(--gray-600);
    font-size: 13px;
    line-height: 1.6;
    margin: 0 0 8px
}

.checkout-page #payment .payment_methods li .payment_box p:last-child {
    margin-bottom: 0
}

.checkout-page #payment .payment_methods li .payment_box fieldset {
    border: none;
    margin: 0;
    padding: 0
}

.checkout-page #payment .payment_methods li .payment_box a {
    color: var(--black);
    text-decoration: underline
}

/* Stripe iframes */
.checkout-page #payment .payment_methods .wc-stripe-elements-field,
.checkout-page #payment .payment_methods iframe {
    border-radius: var(--radius-xs);
    min-height: 44px
}

/* Stripe Link Button Wrapper etwas kompakter */
.checkout-page #payment .payment_methods li .payment_box > div[id*="stripe"] {
    margin-top: 8px
}

/* ===========================
   CHECKOUT: ORDER REVIEW / ITEMS
   =========================== */

/* ===========================
   CHECKOUT: ORDER REVIEW TABLE (WC + Germanized)
   =========================== */

.checkout-page .shop_table.woocommerce-checkout-review-order-table {
    border: none;
    border-collapse: collapse;
    font-size: 14px;
    width: 100%
}

.checkout-page .shop_table.woocommerce-checkout-review-order-table thead {
    display: none
}

.checkout-page .shop_table.woocommerce-checkout-review-order-table td,
.checkout-page .shop_table.woocommerce-checkout-review-order-table th {
    border: none;
    padding: 12px 0;
    vertical-align: middle
}

.checkout-page .shop_table.woocommerce-checkout-review-order-table tbody tr {
    border-bottom: 1px solid var(--gray-100)
}

.checkout-page .shop_table.woocommerce-checkout-review-order-table tbody tr:last-child {
    border-bottom: none
}

/* Product name cell: flex layout for thumbnail + text */
.checkout-page .shop_table td.product-name {
    display: flex;
    align-items: center;
    gap: 14px;
    font-weight: 600
}

.checkout-page .shop_table td.product-name .product-quantity {
    color: var(--gray-500);
    font-weight: 400
}

/* Germanized thumbnail wrapper */
.checkout-page .shop_table td.product-name .wc-gzd-product-name-left {
    flex-shrink: 0
}

.checkout-page .shop_table td.product-name .wc-gzd-product-name-left img {
    background: var(--gray-50);
    border-radius: var(--radius-xs);
    height: 52px !important;
    object-fit: cover;
    width: 52px !important
}

.checkout-page .shop_table td.product-name .wc-gzd-product-name-right {
    flex: 1;
    min-width: 0
}

.checkout-page .shop_table td.product-name .clear {
    display: none
}

/* Product total cell */
.checkout-page .shop_table td.product-total {
    font-weight: 600;
    text-align: right;
    white-space: nowrap
}

/* Germanized unit price, delivery etc */
.checkout-page .shop_table td.product-total .wc-gzd-additional-info,
.checkout-page .shop_table td .wc-gzd-additional-info {
    color: var(--gray-500);
    font-size: 11px;
    font-weight: 300
}

/* Germanized product description in checkout (Grundpreis etc) */
.checkout-page .shop_table td.product-name p {
    color: var(--gray-500);
    font-size: 11px;
    font-weight: 300;
    margin: 2px 0 0
}

/* Footer rows: Subtotal, Shipping, Total */
.checkout-page .shop_table tfoot tr {
    border: none
}

.checkout-page .shop_table tfoot th {
    color: var(--gray-600);
    font-size: 14px;
    font-weight: 400;
    padding: 8px 0;
    text-align: left
}

.checkout-page .shop_table tfoot td {
    font-size: 14px;
    padding: 8px 0;
    text-align: right
}

/* Shipping row */
.checkout-page .shop_table tfoot .woocommerce-shipping-totals ul {
    list-style: none;
    margin: 0;
    padding: 0
}

.checkout-page .shop_table tfoot .woocommerce-shipping-totals label {
    font-size: 14px;
    font-weight: 400;
    margin: 0
}

.checkout-page .shop_table tfoot .woocommerce-shipping-totals input[type="radio"] {
    display: none
}

.checkout-page .shop_table tfoot .shipping-calculator-button {
    display: none
}

/* Total row - prominent */
.checkout-page .shop_table tfoot .order-total th,
.checkout-page .shop_table tfoot .order-total td {
    border-top: 1.5px solid var(--gray-200);
    color: var(--black);
    font-size: 18px;
    font-weight: 600;
    padding-top: 14px;
    margin-top: 4px
}

/* Tax row below total */
.checkout-page .shop_table tfoot .tax-rate th,
.checkout-page .shop_table tfoot .tax-rate td,
.checkout-page .shop_table tfoot .includes_tax th,
.checkout-page .shop_table tfoot .includes_tax td {
    color: var(--gray-500);
    font-size: 12px;
    padding: 4px 0
}

/* Summary wrapper: give order review a card look */
.checkout-page .woocommerce-checkout-review-order {
    background: var(--gray-50);
    border-radius: var(--radius);
    padding: 24px 28px
}

.checkout-page .woocommerce-checkout-review-order-table {
    margin: 0 !important
}

/* Place order button: override with price */
.checkout-page #place_order .woocommerce-Price-amount {
    font-weight: 600
}

/* ===========================
   CHECKOUT: TERMS & PLACE ORDER
   =========================== */

.checkout-page #payment .form-row.place-order {
    margin: 0;
    padding: 0
}

.checkout-page .woocommerce-terms-and-conditions-wrapper,
.checkout-page .checkbox-legal,
.checkout-page .form-row.checkbox-legal {
    background: #fffbe0;
    border: 2px solid var(--yellow);
    border-radius: var(--radius-sm);
    margin: 20px 0 16px !important;
    padding: 18px 20px !important
}

.checkout-page .checkbox-legal label,
.checkout-page .form-row.checkbox-legal label,
.checkout-page .woocommerce-terms-and-conditions-wrapper .woocommerce-form__label,
.checkout-page .woocommerce-terms-and-conditions-wrapper label {
    align-items: flex-start;
    color: var(--black) !important;
    cursor: pointer;
    display: flex !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    gap: 12px;
    line-height: 1.5;
    margin: 0 !important
}

.checkout-page .checkbox-legal input[type="checkbox"],
.checkout-page .form-row.checkbox-legal input[type="checkbox"],
.checkout-page .woocommerce-terms-and-conditions-wrapper input[type="checkbox"] {
    accent-color: var(--black) !important;
    flex-shrink: 0;
    height: 22px !important;
    margin: 0 !important;
    width: 22px !important
}

.checkout-page .checkbox-legal a,
.checkout-page .form-row.checkbox-legal a,
.checkout-page .woocommerce-terms-and-conditions-wrapper a {
    color: var(--black);
    font-weight: 600;
    text-decoration: underline
}

.checkout-page .checkbox-legal .required,
.checkout-page .form-row.checkbox-legal .required {
    color: var(--black);
    font-weight: 700
}

.checkout-page #place_order,
.checkout-page .wc-gzd-place-order #place_order {
    appearance: none;
    background: var(--yellow);
    border: none;
    border-radius: var(--radius-sm);
    color: var(--black);
    cursor: pointer;
    display: block;
    font-family: inherit;
    font-size: 17px;
    font-weight: 600;
    height: 56px;
    letter-spacing: .02em;
    margin-top: 8px;
    transition: background .15s, transform .1s, box-shadow .15s;
    width: 100%
}

.checkout-page #place_order:hover,
.checkout-page .wc-gzd-place-order #place_order:hover {
    background: #e8d917;
    box-shadow: 0 4px 16px rgba(255, 229, 0, .4)
}

.checkout-page #place_order:active,
.checkout-page .wc-gzd-place-order #place_order:active {
    transform: scale(.98)
}

/* Germanized place-order wrapper: full width */
.checkout-page .wc-gzd-order-submit {
    margin-top: 20px
}

.checkout-page .wc-gzd-place-order {
    margin: 0;
    padding: 0
}

/* ===========================
   CHECKOUT: COUPON NOTICE
   =========================== */

.checkout-page .woocommerce-form-coupon-toggle .woocommerce-info {
    background: var(--gray-50);
    border: none;
    border-left: 3px solid var(--yellow);
    border-radius: var(--radius-xs);
    color: var(--black);
    font-size: 13px;
    margin: 0 0 20px;
    padding: 14px 16px
}

.checkout-page .woocommerce-form-coupon-toggle .woocommerce-info::before {
    display: none
}

.checkout-page .woocommerce-form-coupon-toggle .woocommerce-info a {
    font-weight: 600
}

.checkout-page .checkout-coupon {
    background: var(--gray-50);
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    padding: 16px
}

.checkout-page .checkout-coupon .form-row-first {
    margin-bottom: 8px;
    width: 100%
}

.checkout-page .checkout-coupon button {
    appearance: none;
    background: var(--black);
    border: none;
    border-radius: var(--radius-xs);
    color: var(--white);
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    height: 44px;
    padding: 0 20px;
    transition: opacity .15s
}

.checkout-page .checkout-coupon button:hover {
    opacity: .85
}

/* ===========================
   CHECKOUT: STRIPE LINK BUTTON
   =========================== */

.checkout-page .woocommerce-checkout .wc-stripe-payment-request-wrapper {
    margin-bottom: 12px
}

.checkout-page .wc-stripe-payment-request-wrapper + p {
    color: var(--gray-400);
    font-size: 12px;
    margin: 0 0 20px;
    text-align: center
}

/* ===========================
   CHECKOUT: VALIDATION ERRORS
   =========================== */

.checkout-page .woocommerce-invalid input {
    border-color: var(--danger) !important
}

.checkout-page .woocommerce-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: var(--radius-sm);
    color: var(--danger);
    font-size: 13px;
    list-style: none;
    margin: 0 0 20px;
    padding: 14px 16px
}

.checkout-page .woocommerce-error::before {
    display: none
}

/* ===========================
   CHECKOUT: LOADING STATE
   =========================== */

.checkout-page .blockUI.blockOverlay {
    background: rgba(255, 255, 255, .7) !important;
    border-radius: var(--radius)
}

/* ===========================
   CHECKOUT: RESPONSIVE
   =========================== */

@media (max-width: 480px) {
    .checkout-page {
        padding: 16px 14px 120px
    }

    .checkout-title {
        font-size: 26px
    }

    .checkout-page .woocommerce-billing-fields__field-wrapper,
    .checkout-page .woocommerce-shipping-fields__field-wrapper {
        grid-template-columns: 1fr
    }

    .checkout-page .woocommerce-billing-fields__field-wrapper .form-row-first,
    .checkout-page .woocommerce-billing-fields__field-wrapper .form-row-last,
    .checkout-page .woocommerce-shipping-fields__field-wrapper .form-row-first,
    .checkout-page .woocommerce-shipping-fields__field-wrapper .form-row-last {
        grid-column: 1
    }

    .checkout-page #billing_postcode_field,
    .checkout-page #shipping_postcode_field,
    .checkout-page #billing_city_field,
    .checkout-page #shipping_city_field {
        grid-column: 1 !important
    }

    .order-item-image {
        height: 48px;
        width: 48px
    }

    .checkout-summary {
        padding: 14px 16px
    }
}

@media (min-width: 481px) and (max-width: 767px) {
    .checkout-page {
        padding: 20px 16px 120px
    }
}

@media (min-width: 768px) {
    .checkout-page {
        padding: 32px 24px 140px
    }

    .checkout-title {
        font-size: 36px
    }
}

/* ===========================
   CHECKOUT: LEGACY COMPAT
   =========================== */

.checkout-cta-bar {
    background: var(--white);
    border-top: 1px solid var(--gray-200);
    bottom: 0;
    left: 0;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    position: fixed;
    right: 0;
    z-index: 100
}

.checkout-cta-inner, .toast-notification {
    margin: 0 auto;
    max-width: 600px
}

.toast-notification {
    align-items: center;
    background: var(--black);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    color: var(--white);
    display: flex;
    font-size: 14px;
    font-weight: 500;
    gap: 10px;
    left: 16px;
    opacity: 0;
    padding: 14px 18px;
    position: fixed;
    right: 16px;
    top: 70px;
    transform: translateY(-120%);
    transition: all .35s cubic-bezier(.34, 1.56, .64, 1);
    z-index: 300
}

.toast-notification.show {
    opacity: 1;
    transform: translateY(0)
}

.toast-notification svg {
    color: var(--yellow);
    flex-shrink: 0;
    height: 20px;
    width: 20px
}

/* ===========================
   FLOATING BUBBLES
   =========================== */

.floating-bubbles-container {
    height: 100%;
    left: 0;
    overflow: visible;
    pointer-events: none;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: -1
}

.floating-bubble {
    animation: bubbleRise var(--duration, 40s) var(--delay, 0s) var(--ease, ease-in) forwards,
               bubbleWobble var(--wobble-duration, 4s) var(--wobble-delay, 0s) ease-in-out infinite;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    bottom: -400px;
    pointer-events: none;
    position: absolute;
    will-change: transform
}

@keyframes bubbleRise {
    0% { transform: translateY(0) translateX(0) }
    100% { transform: translateY(calc(-100vh - 600px)) translateX(var(--drift, 0px)) }
}

@keyframes bubbleWobble {
    0%, 100% { scale: 1 1 }
    25% { scale: 1.06 0.94 }
    50% { scale: 0.94 1.06 }
    75% { scale: 1.04 0.96 }
}

/* ===========================
   FOOTER (Kirby-Style mit Bubbles)
   =========================== */

.site-footer {
    margin-top: 80px;
    overflow: hidden;
    padding: 80px 20px;
    position: relative
}

.footer-bubbles {
    height: 100%;
    left: 0;
    overflow: visible;
    pointer-events: none;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 0
}

.footer-bubble {
    height: auto;
    max-width: none;
    position: absolute;
    width: auto
}

.footer-bubble-yellow-left {
    bottom: -30%;
    left: -15%;
    width: 600px;
    z-index: 1
}

.footer-bubble-pink {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    z-index: 2
}

.footer-bubble-yellow-right {
    bottom: -35%;
    right: 5%;
    width: 650px;
    z-index: 1
}

.footer-content {
    align-items: start;
    display: grid;
    gap: 100px;
    grid-template-columns: 1fr 1fr;
    margin: 0 auto;
    max-width: 980px;
    position: relative;
    z-index: 10
}

.footer-heading {
    align-items: center;
    color: var(--black);
    display: flex;
    font-family: ABC Stefan, cursive;
    font-size: 20px;
    gap: 10px;
    margin-bottom: 20px
}

.footer-column p,
.footer-column a,
.footer-column li {
    color: var(--black);
    font-size: 14px;
    line-height: 1.6
}

.footer-column a {
    text-decoration: none;
    transition: font-weight .2s
}

.footer-column a:hover {
    font-weight: 600
}

.footer-address {
    margin: 0 0 16px
}

.footer-email {
    margin: 0
}

.footer-email a {
    font-size: 14px
}

.footer-links {
    list-style: none;
    margin: 0 0 30px;
    padding: 0
}

.footer-links li {
    margin-bottom: 8px
}

.footer-links a {
    display: block;
    font-size: 14px
}

.footer-copyright p {
    color: var(--gray-600);
    font-size: 12px;
    line-height: 1.6;
    margin: 0
}

.footer-copyright p:first-child {
    margin-bottom: 4px
}

@media (max-width: 768px) {
    .site-footer {
        margin-top: 60px;
        padding: 60px 16px 100px
    }

    .footer-content {
        gap: 40px;
        grid-template-columns: 1fr
    }

    .footer-bubble-yellow-left,
    .footer-bubble-yellow-right {
        display: none
    }

    .footer-bubble-pink {
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 120%;
        max-width: none;
        z-index: 1
    }
}

@media (min-width: 768px) {
    .shop-header-inner {
        height: 70px;
        padding: 0 24px
    }

    .shop-logo {
        font-size: 40px
    }

    .shop-logo span {
        color: var(--black);
        font-size: 15px;
        margin-top: 5px
    }

    .shop-header-actions {
        gap: 4px
    }

    .header-btn {
        height: 40px;
        width: 40px
    }

    .header-btn svg {
        height: 22px;
        width: 22px
    }

    .shop-hero {
        padding: 60px 24px 72px
    }

    .shop-hero h1 {
        font-size: 40px
    }

    .shop-hero p {
        font-size: 15px;
        max-width: 400px
    }

    .section-header {
        padding: 40px 24px 20px
    }

    .section-header h2 {
        font-size: 36px
    }

    .wine-grid {
        gap: 16px;
        grid-template-columns:repeat(3, 1fr);
        padding: 0 24px 40px
    }

    .container {
        padding: 0 24px
    }

    .messe-banner {
        margin: 32px 24px 0
    }

    .filter-bar-inner {
        padding: 0 24px
    }

    .results-bar {
        padding: 12px 24px
    }

    .product-hero {
        max-height: 50vh
    }

    .product-bubble {
        height: 405px;
        width: 405px
    }

    .product-content {
        padding: 24px 24px 200px
    }

    .product-title {
        font-size: 40px
    }

    .product-price {
        font-size: 38px
    }
}

@media (min-width: 1024px) {
    .wine-grid {
        gap: 20px;
        grid-template-columns:repeat(4, 1fr)
    }

    .shop-hero h1 {
        font-size: 40px
    }
}

.menu-toggle {
    align-items: center;
    border-radius: 50%;
    display: flex;
    height: 42px;
    justify-content: center;
    position: relative;
    transition: background .15s;
    width: 42px;
    z-index: 201
}

.menu-toggle:active {
    background: var(--gray-100)
}

.menu-toggle-bar {
    background: var(--black);
    border-radius: 1px;
    display: block;
    height: 2px;
    position: absolute;
    transition: all .3s cubic-bezier(.4, 0, .2, 1);
    width: 20px
}

.menu-toggle-bar:first-child {
    top: 13px
}

.menu-toggle-bar:nth-child(2) {
    top: 20px
}

.menu-toggle-bar:nth-child(3) {
    top: 27px
}

.menu-toggle.open .menu-toggle-bar:first-child {
    top: 20px;
    transform: rotate(45deg)
}

.menu-toggle.open .menu-toggle-bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0)
}

.menu-toggle.open .menu-toggle-bar:nth-child(3) {
    top: 20px;
    transform: rotate(-45deg)
}

.mega-nav-overlay {
    background: rgba(0, 0, 0, .4);
    bottom: 0;
    left: 0;
    opacity: 0;
    position: fixed;
    right: 0;
    top: 63px;
    transition: all .3s;
    visibility: hidden;
    z-index: 190
}

.mega-nav-overlay.open {
    opacity: 1;
    visibility: visible
}

.mega-nav {
    background: var(--white);
    bottom: 0;
    left: 0;
    overflow-y: auto;
    position: fixed;
    right: 0;
    top: 63px;
    transform: translateX(-100%);
    transition: transform .35s cubic-bezier(.4, 0, .2, 1), visibility 0s .35s;
    visibility: hidden;
    z-index: 195;
    -webkit-overflow-scrolling: touch;
    padding: 20px 0 40px
}

.mega-nav.open {
    transform: translateX(0);
    visibility: visible;
    transition: transform .35s cubic-bezier(.4, 0, .2, 1), visibility 0s
}

.mega-nav-section {
    border-bottom: 1px solid var(--gray-100)
}

.mega-nav-section-header {
    align-items: center;
    color: var(--gray-500);
    cursor: pointer;
    display: flex;
    font-size: 13px;
    font-weight: 600;
    justify-content: space-between;
    letter-spacing: .1em;
    padding: 16px 20px;
    text-transform: uppercase;
    transition: color .15s;
    user-select: none
}

.mega-nav-section-header:active {
    color: var(--black)
}

.mega-nav-section-header .chevron {
    color: var(--gray-400);
    height: 18px;
    transition: transform .25s;
    width: 18px
}

.mega-nav-section.open .mega-nav-section-header .chevron {
    transform: rotate(180deg)
}

.mega-nav-section.open .mega-nav-section-header {
    color: var(--black)
}

.mega-nav-items {
    display: none;
    padding: 0 20px 16px 28px
}

.mega-nav-section.open .mega-nav-items {
    display: block
}

.mega-nav-item {
    align-items: center;
    border-bottom: 1px solid var(--gray-50);
    color: var(--black);
    display: flex;
    font-size: 15px;
    justify-content: space-between;
    padding: 12px 0;
    text-decoration: none;
    transition: color .15s
}

.mega-nav-item:last-child {
    border-bottom: none
}

.mega-nav-item:active {
    color: var(--gray-500)
}

.mega-nav-item .item-count {
    background: var(--yellow);
    border-radius: 11px;
    display: inline-flex;
    font-size: 11px;
    height: 22px;
    justify-content: center;
    line-height: 1;
    min-width: 28px;
    padding: 0 7px
}

.mega-nav-item .item-count, .mega-nav-item-highlight {
    align-items: center;
    color: var(--black);
    font-weight: 600
}

.mega-nav-item-highlight {
    display: flex;
    font-size: 15px;
    gap: 8px;
    padding: 12px 0;
    text-decoration: none
}

.mega-nav-item-highlight .dot {
    background: var(--yellow);
    border-radius: 50%;
    height: 8px;
    width: 8px
}

/* Country Accordion */
.mega-nav-country {
    border-bottom: 1px solid var(--gray-50);
    cursor: pointer
}

.mega-nav-country:last-child {
    border-bottom: none
}

.mega-nav-country-header {
    align-items: center;
    color: var(--black);
    display: flex;
    font-size: 15px;
    justify-content: space-between;
    padding: 12px 0;
    transition: color .15s
}

.mega-nav-country-header:active {
    color: var(--gray-500)
}

.mega-nav-country.open .mega-nav-country-header {
    color: var(--black);
    font-weight: 600
}

/* Einheitliche gelbe Count-Badges */
.item-count.badge {
    background: var(--yellow);
    border-radius: 11px;
    display: inline-flex;
    font-size: 11px;
    font-weight: 600;
    height: 22px;
    justify-content: center;
    line-height: 1;
    min-width: 28px;
    padding: 0 7px;
    align-items: center
}

.mega-nav-country-regions {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .25s ease
}

.mega-nav-country.open .mega-nav-country-regions {
    grid-template-rows: 1fr
}

.mega-nav-country-regions > * {
    overflow: hidden
}

.mega-nav-country-regions {
    display: none;
    padding: 0 0 8px 20px
}

.mega-nav-country.open .mega-nav-country-regions {
    display: block
}

.mega-nav-region-item {
    color: var(--gray-600);
    display: block;
    font-size: 13px;
    font-weight: 300;
    padding: 6px 0;
    text-decoration: none;
    transition: color .15s
}

.mega-nav-region-item:active {
    color: var(--black)
}

.mega-nav-region-all {
    color: var(--black);
    font-weight: 600;
    margin-bottom: 2px
}

/* Mehr anzeigen Button */
.mega-nav-show-more {
    appearance: none;
    background: var(--gray-50);
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-xs);
    color: var(--black);
    cursor: pointer;
    display: block;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    margin-top: 8px;
    padding: 10px 16px;
    text-align: center;
    transition: border-color .15s, background .15s;
    width: 100%
}

.mega-nav-show-more:hover {
    border-color: var(--yellow);
    background: var(--white)
}

.mega-nav-quick {
    padding: 20px
}

.mega-nav-quick-title {
    color: var(--gray-400);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .1em;
    margin-bottom: 12px;
    text-transform: uppercase
}

.mega-nav-quick-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px
}

.mega-nav-quick-link {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 50px;
    color: var(--black);
    font-size: 13px;
    padding: 8px 16px;
    text-decoration: none;
    transition: all .15s
}

.mega-nav-quick-link:active {
    background: var(--yellow);
    border-color: var(--yellow)
}

.mega-nav-footer {
    border-top: 1px solid var(--gray-200);
    margin-top: 8px;
    padding: 24px 20px
}

.mega-nav-footer a {
    color: var(--gray-500);
    display: block;
    font-size: 13px;
    padding: 10px 0;
    text-decoration: none
}

.mega-nav-search {
    padding: 0 20px 16px
}

.mega-nav-search-input {
    background: var(--gray-50);
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%23a3a3a3' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.35-4.35'/%3E%3C/svg%3E");
    background-position: 12px;
    background-repeat: no-repeat;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-sm);
    color: var(--black);
    font-size: 14px;
    height: 44px;
    outline: none;
    padding: 0 14px 0 40px;
    transition: border-color .15s;
    width: 100%
}

.mega-nav-search-input:focus {
    border-color: var(--yellow)
}

.mega-nav-search-input::placeholder {
    color: var(--gray-400)
}

@media (min-width: 768px) {
    .mega-nav-overlay {
        top: 73px
    }

    .mega-nav {
        border-bottom: 2px solid var(--yellow);
        bottom: auto;
        box-shadow: var(--shadow-lg);
        max-height: calc(100vh - 73px);
        opacity: 0;
        padding: 0;
        top: 73px;
        transform: translateY(-10px);
        transition: all .25s cubic-bezier(.4, 0, .2, 1);
        visibility: hidden
    }

    .mega-nav.open {
        opacity: 1;
        transform: translateY(0);
        visibility: visible
    }

    .mega-nav-inner {
        display: grid;
        gap: 0;
        grid-template-columns:1fr 1fr 1fr;
        margin: 0 auto;
        max-width: 1200px;
        padding: 24px
    }

    .mega-nav-section {
        border-bottom: none;
        border-right: 1px solid var(--gray-100);
        margin-right: 0;
        padding: 0 24px
    }

    .mega-nav-section:first-of-type {
        padding-left: 0
    }

    .mega-nav-section:last-of-type {
        border-right: none;
        padding-right: 0
    }

    .mega-nav-section .mega-nav-items {
        display: block;
        padding: 0
    }

    .mega-nav-section-header {
        cursor: default;
        padding: 0 0 12px
    }

    .mega-nav-section-header .chevron {
        display: none
    }

    .mega-nav-item {
        font-size: 14px;
        padding: 8px 0
    }

    .mega-nav-search {
        grid-column: 1/-1;
        padding: 0 0 20px
    }

    .mega-nav-quick {
        border-top: 1px solid var(--gray-100);
        grid-column: 1/-1;
        padding: 20px 0 0
    }

    .mega-nav-footer {
        border-top: 1px solid var(--gray-100);
        display: flex;
        gap: 32px;
        grid-column: 1/-1;
        justify-content: center;
        margin-top: 24px;
        padding: 20px 0 0
    }

    .mega-nav-footer a {
        display: inline-block;
        padding: 0
    }
}

.overview-page {
    margin: 0 auto;
    max-width: 1200px;
    padding: 0 0 40px
}

.overview-header {
    background: var(--yellow);
    overflow: hidden;
    padding: 32px 16px 40px;
    position: relative;
    text-align: center
}

.overview-header:before {
    background: var(--white);
    border-radius: 50% 50% 0 0;
    bottom: -40px;
    content: "";
    height: 60px;
    left: -20%;
    position: absolute;
    width: 140%
}

.overview-header h1 {
    color: var(--black);
    font-family: ABC Stefan, cursive;
    font-size: 36px;
    line-height: 1;
    margin-bottom: 6px
}

.overview-header p {
    color: var(--black);
    font-size: 14px;
    margin: 0 auto;
    max-width: 360px;
    opacity: .7
}

.overview-grid {
    display: grid;
    gap: 12px;
    grid-template-columns:1fr;
    padding: 20px 16px 0
}

.overview-card {
    align-items: stretch;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    color: inherit;
    display: flex;
    overflow: hidden;
    text-decoration: none;
    transition: transform .2s, box-shadow .2s
}

.overview-card:active {
    transform: scale(.98)
}

.overview-card-visual {
    align-items: center;
    background: var(--gray-50);
    display: flex;
    flex-shrink: 0;
    justify-content: center;
    min-height: 100px;
    width: 100px
}

.overview-card-emoji {
    font-size: 40px;
    line-height: 1
}

.winzer-avatar {
    background: var(--black)
}

.overview-card-initial {
    color: var(--yellow);
    font-family: ABC Stefan, cursive;
    font-size: 28px;
    line-height: 1
}

.overview-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: 14px 16px
}

.overview-card-name {
    color: var(--black);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 2px
}

.overview-card-meta {
    color: var(--gray-500);
    font-size: 12px;
    line-height: 1.4;
    margin-bottom: 6px
}

.overview-card-count {
    color: var(--gray-400);
    font-size: 12px;
    font-weight: 600
}

.overview-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px
}

.overview-tag {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 4px;
    color: var(--gray-500);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .04em;
    padding: 2px 8px;
    text-transform: uppercase
}

@media (min-width: 540px) {
    .overview-grid {
        gap: 14px;
        grid-template-columns:repeat(2, 1fr);
        padding: 20px 24px 0
    }

    .overview-header {
        padding: 40px 24px 48px
    }

    .overview-header h1 {
        font-size: 42px
    }
}

@media (min-width: 1024px) {
    .overview-grid {
        gap: 16px;
        grid-template-columns:repeat(3, 1fr)
    }

    .overview-header h1 {
        font-size: 48px
    }

    .overview-header p {
        font-size: 16px;
        max-width: 440px
    }

    .overview-card {
        flex-direction: column
    }

    .overview-card-visual {
        aspect-ratio: auto;
        min-height: 120px;
        width: 100%
    }

    .overview-card-emoji {
        font-size: 48px
    }

    .overview-card-initial {
        font-size: 36px
    }

    .overview-card-body {
        padding: 16px 18px 18px
    }
}

/* ==========================================================================
   WooCommerce Overrides – Grid, Cards, Shop-Seite
   ========================================================================== */

/* Produkt-Grid: WooCommerce ul.products als wine-grid stylen */
.woocommerce ul.products,
ul.products {
    display: grid !important;
    gap: 12px;
    grid-template-columns: repeat(2, 1fr);
    list-style: none;
    margin: 0 auto;
    max-width: 1200px;
    padding: 0 16px 32px
}

/* ::before Offset-Bug von WooCommerce columns-4 entfernen */
.woocommerce ul.products::before,
.woocommerce ul.products::after,
ul.products::before,
ul.products::after {
    content: none !important;
    display: none !important
}

.woocommerce ul.products li.product,
ul.products li.product {
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    list-style: none
}

/* WC generiert li-Wrapper um unsere wine-card, das li transparent machen */
ul.products li.product,
.wine-grid .wine-card-wrap {
    display: flex;
    flex-direction: column
}

ul.products li.product .wine-card-wrap,
.wine-grid .wine-card-wrap {
    display: flex;
    flex: 1;
    flex-direction: column;
    width: 100%
}

ul.products li.product .wine-card,
.wine-grid .wine-card {
    display: flex;
    flex: 1;
    flex-direction: column
}

ul.products li.product .wine-card .wine-card-info,
.wine-grid .wine-card .wine-card-info {
    flex: 1
}

@media (min-width: 768px) {
    .woocommerce ul.products,
    ul.products,
    .wine-grid {
        gap: 16px !important;
        grid-template-columns: repeat(3, 1fr) !important;
        padding: 0 24px 40px
    }
}

@media (min-width: 1024px) {
    .woocommerce ul.products,
    ul.products,
    .wine-grid {
        gap: 20px !important;
        grid-template-columns: repeat(4, 1fr) !important
    }
}

/* Produktdetail: Winzer-Weine immer 2 Spalten */
.product-content .wine-grid {
    grid-template-columns: repeat(2, 1fr) !important
}

/* Shop Main Container */
.shop-main {
    margin: 0 auto;
    max-width: 1200px;
    padding: 0 0 40px
}

/* Archiv: Titel + Bar */
.archive-title {
    font-family: ABC Stefan, cursive;
    font-size: 32px;
    margin: 0 auto;
    max-width: 1200px;
    padding: 20px 16px 0
}

.archive-meta {
    margin: 0 auto;
    max-width: 1200px;
    padding: 10px 16px 24px
}

.archive-location-pill {
    align-items: center;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 999px;
    color: var(--gray-600);
    display: inline-flex;
    font-size: 11px;
    font-weight: 600;
    gap: 7px;
    letter-spacing: .08em;
    padding: 5px 14px;
    text-transform: uppercase
}

.archive-location-pill-dot {
    background: var(--gray-400);
    border-radius: 50%;
    display: inline-block;
    height: 5px;
    width: 5px
}

.archive-bar {
    margin: 0 auto;
    max-width: 1200px;
    padding: 12px 16px
}

/* WooCommerce Results */
.woocommerce-result-count {
    color: var(--gray-500);
    font-size: 13px
}

/* WC Sale Badge ausblenden (wir haben eigenes wine-card-badge) */
.woocommerce ul.products li.product .onsale {
    display: none !important
}

/* WC Standard-Elemente die in li.product gerendert werden könnten */
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .star-rating,
.woocommerce ul.products li.product .price {
    display: none !important
}

/* WooCommerce Pagination */
/* Pagination ausblenden (Infinite Scroll) */
.woocommerce nav.woocommerce-pagination {
    display: none !important
}

.woocommerce nav.woocommerce-pagination ul {
    display: inline-flex;
    gap: 4px;
    list-style: none
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xs);
    color: var(--black);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    height: 36px;
    min-width: 36px;
    padding: 0 8px;
    text-decoration: none
}

.woocommerce nav.woocommerce-pagination ul li span.current {
    background: var(--yellow);
    border-color: var(--yellow)
}

/* =========================================================================
   Wishlist / Merkliste
   ========================================================================= */

/* Header Wishlist-Badge (gleich wie cart-count) */
.wishlist-count {
    align-items: center;
    background: var(--pink);
    border-radius: 9px;
    color: var(--black);
    display: flex;
    font-size: 11px;
    font-weight: 600;
    height: 18px;
    justify-content: center;
    line-height: 1;
    min-width: 18px;
    padding: 0 5px;
    position: absolute;
    right: 2px;
    top: 2px
}

/* Herz-Button: generisch */
.wishlist-heart {
    cursor: pointer;
    transition: transform .2s
}

.wishlist-heart svg {
    transition: fill .25s, stroke .25s
}

.wishlist-heart svg path {
    fill: none;
    transition: fill .25s, stroke .25s
}

.wishlist-heart.is-wishlisted svg path {
    fill: var(--pink);
    stroke: #e8396b
}

/* Pulse-Animation beim Klick */
.wishlist-pulse {
    animation: wishlist-pop .4s ease
}

@keyframes wishlist-pop {
    0% { transform: scale(1) }
    30% { transform: scale(1.3) }
    60% { transform: scale(0.9) }
    100% { transform: scale(1) }
}

/* Herz auf der Product-Hero (oben rechts, ersetzt Share-Button) */
.product-hero .share-btn.wishlist-heart svg {
    height: 20px;
    width: 20px;
    transition: fill .25s, stroke .25s
}

.product-hero .share-btn.wishlist-heart.is-wishlisted svg path {
    fill: var(--pink);
    stroke: #e8396b
}

/* Herz im CTA-Bar (btn-outline) */
.cta-row .btn-outline.wishlist-heart.is-wishlisted {
    border-color: #e8396b;
    background: var(--pink)
}

/* Winzer-Karte auf Weingut-Archivseite */
.winzer-card-wrap {
    display: flex;
    flex-direction: column;
    position: relative
}

.winzer-card-wrap .winzer-card {
    display: flex;
    flex: 1;
    flex-direction: column;
    overflow: hidden
}

.winzer-card-wrap .winzer-card .winzer-card-img {
    aspect-ratio: unset;
    background: var(--gray-50);
    flex: 1;
    flex-shrink: 1;
    overflow: hidden;
    position: relative;
    width: 100%
}

.winzer-card-wrap .winzer-card-img img {
    filter: grayscale(0%);
    height: 100%;
    object-fit: cover;
    transition: filter .4s ease;
    width: 100%
}

.winzer-card-wrap:not(.is-expanded) .winzer-card-img img {
    filter: grayscale(100%)
}

.winzer-card-wrap:not(.is-expanded):hover .winzer-card-img img {
    filter: grayscale(0%)
}

.winzer-card-wrap {
    align-self: start;
    cursor: pointer;
    height: 530px;
    overflow: hidden;
    view-transition-name: winzer-card
}

.winzer-card-wrap.is-expanded {
    grid-column: span 2
}

/* View Transition: schneller Crossfade, kein Morphing */
::view-transition-old(winzer-card) {
    animation: vt-fade-out .2s ease-out both
}

::view-transition-new(winzer-card) {
    animation: vt-fade-in .2s ease-in .1s both
}

@keyframes vt-fade-out {
    to { opacity: 0 }
}

@keyframes vt-fade-in {
    from { opacity: 0 }
}

/* Produkt-Karten smooth repositionieren */
ul.products > .wine-card-wrap:not(.winzer-card-wrap),
ul.products > li.product {
    view-transition-name: auto
}

/* Wine-Card Wrapper: relative Position für Herz */
.wine-card-wrap {
    display: flex;
    flex-direction: column;
    position: relative
}

.wine-card-wrap > .wine-card {
    flex: 1
}

/* Herz auf Wine-Cards */
.wine-card-heart {
    align-items: center;
    background: rgba(255,255,255,.85);
    backdrop-filter: blur(4px);
    border: none;
    border-radius: 50%;
    display: flex;
    height: 34px;
    justify-content: center;
    position: absolute;
    right: 8px;
    top: 8px;
    width: 34px;
    z-index: 5;
    box-shadow: 0 1px 4px rgba(0,0,0,.08)
}

.wine-card-heart svg {
    height: 16px;
    width: 16px
}

.wine-card-heart:active {
    transform: scale(.9)
}

/* Merkliste-Seite */
.wishlist-page .cart-item-name a {
    color: var(--black);
    text-decoration: none
}

.wishlist-page .cart-item-name a:hover {
    text-decoration: underline
}

.wishlist-page .cart-item-img a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%
}

.wishlist-item-remove {
    background: none;
    border: none
}

/* Alles-in-den-Warenkorb Button */
#wishlistToCart {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center
}

/* =========================================================================
   Versand-Hinweis / Progressbar im Warenkorb
   ========================================================================= */

.cart-shipping-hint {
    background: var(--gray-50);
    border-radius: var(--radius-xs);
    margin-bottom: 16px;
    padding: 14px 16px
}

.shipping-hint-text {
    align-items: center;
    color: var(--gray-600);
    display: flex;
    font-size: 13px;
    gap: 6px;
    margin-bottom: 8px
}

.shipping-hint-text strong {
    color: var(--black)
}

.cart-shipping-hint.is-free {
    background: #edf8ed
}

.cart-shipping-hint.is-free .shipping-hint-text {
    color: #2d7a2d
}

.cart-shipping-hint.is-free .shipping-hint-text strong {
    color: #2d7a2d
}

.shipping-progress-track {
    background: var(--gray-200);
    border-radius: 4px;
    height: 6px;
    overflow: hidden;
    width: 100%
}

.shipping-progress-fill {
    background: var(--yellow);
    border-radius: 4px;
    height: 100%;
    transition: width .4s ease
}

.cart-shipping-hint.is-free .shipping-progress-fill {
    background: #4caf50
}

/* =========================================================================
   Mein Konto Bereich
   ========================================================================= */

.woocommerce-account .shop-main,
.woocommerce-account main:not(.b2b-invite) {
    margin: 0 auto;
    max-width: 800px;
    padding: 20px 16px 120px
}

@media (max-width: 600px) {
    .woocommerce-account .shop-main,
    .woocommerce-account main:not(.b2b-invite) {
        padding: 16px 12px 100px
    }
}

.woocommerce-account h1,
.woocommerce-account h2 {
    font-family: ABC Stefan, cursive;
    font-size: 28px;
    margin-bottom: 16px
}

/* Navigation */
.woocommerce-MyAccount-navigation {
    float: none !important;
    margin-bottom: 28px;
    width: 100% !important
}

.woocommerce-MyAccount-content {
    float: none !important;
    width: 100% !important
}

.woocommerce-MyAccount-navigation ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    padding: 0
}

.woocommerce-MyAccount-navigation ul li a {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    color: var(--black);
    display: block;
    font-size: 13px;
    font-weight: 600;
    padding: 10px 16px;
    text-decoration: none;
    transition: background .15s, border-color .15s
}

.woocommerce-MyAccount-navigation ul li a:hover {
    background: var(--gray-100)
}

.woocommerce-MyAccount-navigation ul li.is-active a {
    background: var(--yellow);
    border-color: var(--yellow)
}

/* Content */
.woocommerce-MyAccount-content {
    font-size: 14px;
    line-height: 1.6
}

.woocommerce-MyAccount-content p {
    color: var(--gray-600);
    margin-bottom: 12px
}

.woocommerce-MyAccount-content a {
    color: var(--black);
    font-weight: 600
}

/* Forms in Mein Konto */
.woocommerce-MyAccount-content .woocommerce-form-row label,
.woocommerce-MyAccount-content .form-row label {
    color: var(--gray-600);
    display: block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .04em;
    margin-bottom: 4px;
    text-transform: uppercase
}

.woocommerce-MyAccount-content input[type="text"],
.woocommerce-MyAccount-content input[type="email"],
.woocommerce-MyAccount-content input[type="password"],
.woocommerce-MyAccount-content input[type="tel"],
.woocommerce-MyAccount-content select {
    background: var(--white);
    border: 1.5px solid var(--gray-200);
    border-radius: 10px;
    font-size: 14px;
    padding: 12px 14px;
    width: 100%
}

.woocommerce-MyAccount-content input:focus,
.woocommerce-MyAccount-content select:focus {
    border-color: var(--yellow);
    outline: none
}

.woocommerce-MyAccount-content button[type="submit"],
.woocommerce-MyAccount-content .button {
    background: var(--yellow);
    border: none;
    border-radius: 12px;
    color: var(--black);
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    margin-top: 12px;
    padding: 14px 24px
}

.woocommerce-MyAccount-content button[type="submit"]:active,
.woocommerce-MyAccount-content .button:active {
    transform: scale(.98)
}

/* Bestellungen-Tabelle */
.woocommerce-MyAccount-content table {
    border-collapse: collapse;
    font-size: 13px;
    width: 100%
}

.woocommerce-MyAccount-content table th {
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
    color: var(--gray-500);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .04em;
    padding: 10px 12px;
    text-align: left;
    text-transform: uppercase
}

.woocommerce-MyAccount-content table td {
    border-bottom: 1px solid var(--gray-100);
    padding: 12px
}

.woocommerce-MyAccount-content table .button {
    font-size: 12px;
    margin: 0;
    padding: 6px 12px
}

/* Login/Register zwei-spaltig */
.woocommerce-account .u-columns {
    display: grid;
    gap: 32px;
    grid-template-columns: 1fr 1fr;
    margin-left: auto;
    margin-right: auto;
    max-width: 720px
}

@media (max-width: 600px) {
    .woocommerce-account .u-columns {
        grid-template-columns: 1fr
    }
    .woocommerce-account .u-columns .u-column1,
    .woocommerce-account .u-columns .u-column2 {
        grid-column: 1 !important;
        grid-row: auto !important
    }
    .woocommerce-MyAccount-navigation ul {
        gap: 6px
    }
    .woocommerce-Addresses {
        grid-template-columns: 1fr
    }
}

/* Adressen */
.woocommerce-Addresses {
    display: grid;
    gap: 16px;
    grid-template-columns: 1fr 1fr
}

.woocommerce-Address {
    background: var(--gray-50);
    border-radius: var(--radius);
    padding: 24px
}

.woocommerce-Address .woocommerce-Address-title {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 16px;
    text-align: center
}

.woocommerce-Address h3,
.woocommerce-Address .woocommerce-Address-title h3 {
    font-family: ABC Stefan, cursive;
    font-size: 28px;
    font-weight: 400;
    line-height: 1;
    margin: 0;
    order: 1
}

.woocommerce-Address .woocommerce-Address-title a,
.woocommerce-Address .woocommerce-Address-title .edit {
    color: var(--gray-600);
    display: inline-block;
    float: none !important;
    font-size: 13px;
    font-weight: 600;
    margin: 0;
    order: 2;
    padding: 0;
    text-decoration: underline;
    text-underline-offset: 2px
}

.woocommerce-Address .woocommerce-Address-title a:hover {
    color: var(--black)
}

.woocommerce-Address address {
    color: var(--gray-600);
    font-size: 14px;
    font-style: normal;
    line-height: 1.6;
    text-align: center
}

/* Login & Registrierung */
.woocommerce-account .u-columns .u-column1,
.woocommerce-account .u-columns .u-column2 {
    float: none !important;
    margin: 0 !important;
    min-width: 0;
    width: 100% !important
}

.woocommerce-account .u-columns .u-column1 {
    grid-column: 1;
    grid-row: 1
}

.woocommerce-account .u-columns .u-column2 {
    grid-column: 2;
    grid-row: 1
}

.woocommerce-account .u-columns h2 {
    font-size: 22px;
    margin-bottom: 16px
}

.woocommerce-account .woocommerce-form-login,
.woocommerce-account .woocommerce-form-register {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    box-sizing: border-box;
    padding: 28px
}

.woocommerce-account .woocommerce-form-login .form-row,
.woocommerce-account .woocommerce-form-register .form-row {
    margin-bottom: 16px
}

.woocommerce-account .woocommerce-form-login label,
.woocommerce-account .woocommerce-form-register label {
    color: var(--gray-600);
    display: block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .04em;
    margin-bottom: 6px;
    text-transform: uppercase
}

.woocommerce-account .woocommerce-form-login input[type="text"],
.woocommerce-account .woocommerce-form-login input[type="email"],
.woocommerce-account .woocommerce-form-login input[type="password"],
.woocommerce-account .woocommerce-form-register input[type="text"],
.woocommerce-account .woocommerce-form-register input[type="email"] {
    background: var(--white);
    border: 1.5px solid var(--gray-200);
    border-radius: 10px;
    box-sizing: border-box;
    font-family: inherit;
    font-size: 16px;
    padding: 14px 16px;
    transition: border-color .15s;
    width: 100%
}

.woocommerce-account .woocommerce-form-login input:focus,
.woocommerce-account .woocommerce-form-register input:focus {
    border-color: var(--yellow);
    box-shadow: 0 0 0 3px rgba(255,229,0,.15);
    outline: none
}

/* Passwort-Toggle */
.woocommerce-account .woocommerce-form-login .password-input {
    position: relative
}

.woocommerce-account .show-password-input {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%)
}

/* Angemeldet bleiben */
.woocommerce-account .woocommerce-form-login .woocommerce-form-login__rememberme {
    align-items: center;
    display: flex;
    font-size: 13px;
    gap: 8px;
    margin: 12px 0
}

/* Buttons */
.woocommerce-account .woocommerce-form-login .button,
.woocommerce-account .woocommerce-form-register .button {
    background: var(--yellow);
    border: none;
    border-radius: 12px;
    color: var(--black);
    cursor: pointer;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    margin-top: 8px;
    padding: 16px 24px;
    transition: transform .1s, opacity .15s;
    width: 100%
}

.woocommerce-account .woocommerce-form-login .button:hover,
.woocommerce-account .woocommerce-form-register .button:hover {
    opacity: .9
}

.woocommerce-account .woocommerce-form-login .button:active,
.woocommerce-account .woocommerce-form-register .button:active {
    transform: scale(.98)
}

/* Lost Password Link */
.woocommerce-account .woocommerce-LostPassword {
    margin-top: 16px;
    text-align: center
}

.woocommerce-account .woocommerce-LostPassword a {
    color: var(--gray-500);
    font-size: 13px;
    text-decoration: underline
}

/* Register Hinweis-Text */
.woocommerce-account .woocommerce-form-register .woocommerce-privacy-policy-text,
.woocommerce-account .woocommerce-form-register p:not(.form-row) {
    color: var(--gray-500);
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 16px
}

/* WC Notices */
.woocommerce-message,
.woocommerce-info {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-left: 3px solid var(--yellow);
    border-radius: 8px;
    color: var(--black);
    font-size: 13px;
    margin-bottom: 12px;
    max-width: 800px;
    padding: 12px 16px
}

.woocommerce-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-left: 3px solid #ef4444;
    border-radius: 8px;
    color: #991b1b;
    font-size: 13px;
    margin-bottom: 12px;
    max-width: 800px;
    padding: 12px 16px
}

.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before,
.woocommerce-error li::before {
    display: none !important
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    list-style: none
}

.woocommerce-error li {
    list-style: none
}

/* Leerer Warenkorb / Kasse: zentrieren */
.woocommerce .cart-empty,
.woocommerce .woocommerce-info {
    margin: 24px 16px 12px;
    max-width: none;
    padding: 16px 24px;
    text-align: center
}

.woocommerce .return-to-shop {
    margin: 0 16px;
    text-align: center
}

.woocommerce .return-to-shop .button {
    appearance: none;
    background: var(--yellow);
    border: none;
    border-radius: var(--radius-sm);
    color: var(--black);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    height: 52px;
    text-decoration: none;
    transition: background .15s;
    width: 100%
}

.woocommerce .return-to-shop .button:hover {
    background: #e8d917
}

/* =========================================================================
   Modals
   ========================================================================= */

.gluck-modal-overlay {
    align-items: center;
    background: rgba(0,0,0,.5);
    display: flex;
    inset: 0;
    justify-content: center;
    opacity: 0;
    position: fixed;
    transition: opacity .3s;
    visibility: hidden;
    z-index: 9999
}

.gluck-modal-overlay.is-open {
    opacity: 1;
    visibility: visible
}

.gluck-modal {
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,.2);
    margin: 16px;
    max-height: 90vh;
    max-width: 440px;
    overflow-y: auto;
    padding: 32px 24px;
    transform: translateY(20px);
    transition: transform .3s;
    width: 100%
}

.gluck-modal-overlay.is-open .gluck-modal {
    transform: translateY(0)
}

.gluck-modal-close {
    align-items: center;
    background: var(--gray-100);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    float: right;
    height: 32px;
    justify-content: center;
    width: 32px
}

.gluck-modal h2 {
    font-family: ABC Stefan, cursive;
    font-size: 24px;
    margin-bottom: 8px;
    margin-top: 8px
}

.gluck-modal p {
    color: var(--gray-600);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 12px
}

.gluck-modal strong {
    color: var(--black);
    font-weight: 600
}

.gluck-modal p.modal-legal {
    background: var(--gray-50);
    border-left: 2px solid var(--pink);
    border-radius: 6px;
    color: var(--gray-500);
    font-size: 10px;
    line-height: 1.5;
    margin-top: 16px;
    margin-bottom: 0;
    padding: 10px 12px
}

.gluck-modal p.modal-legal strong {
    color: var(--gray-700);
    font-weight: 600
}

.gluck-modal p.modal-legal a {
    color: var(--gray-700);
    text-decoration: underline
}

.gluck-modal p.modal-legal a:hover {
    color: var(--black)
}

/* ===========================
   LEGAL PAGES (AGB, Impressum, Datenschutz, Widerruf)
   =========================== */

/* ===========================
   THANK YOU PAGE
   =========================== */

.thankyou-page {
    margin: 0 auto;
    max-width: 760px;
    padding: 40px 16px 80px
}

.thankyou-hero {
    text-align: center;
    padding: 32px 16px 8px
}

.thankyou-emoji {
    font-size: 56px;
    line-height: 1;
    margin-bottom: 12px
}

.thankyou-title {
    font-family: ABC Stefan, cursive;
    font-size: 48px;
    line-height: 1;
    margin-bottom: 12px
}

.thankyou-subtitle {
    color: var(--gray-600);
    font-size: 16px;
    margin: 0
}

.thankyou-overview {
    background: var(--gray-50);
    border-radius: var(--radius);
    display: grid;
    gap: 1px;
    grid-template-columns: 1fr 1fr;
    margin: 32px 0;
    overflow: hidden
}

.thankyou-card {
    background: var(--white);
    padding: 18px 20px
}

.thankyou-card-label {
    color: var(--gray-500);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .08em;
    margin-bottom: 6px;
    text-transform: uppercase
}

.thankyou-card-value {
    color: var(--black);
    font-size: 16px;
    font-weight: 600
}

.thankyou-notice {
    background: var(--gray-50);
    border: 2px dashed var(--pink);
    border-radius: var(--radius);
    margin: 0 0 32px;
    padding: 20px 24px
}

.thankyou-notice p {
    color: var(--gray-600);
    font-size: 13px;
    line-height: 1.6;
    margin: 0 0 8px
}

.thankyou-notice p:last-child {
    margin-bottom: 0
}

.thankyou-notice strong {
    color: var(--black)
}

/* WC Order Details Table */
.thankyou-page .woocommerce-order-details,
.thankyou-page .woocommerce-customer-details {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    margin-bottom: 24px;
    padding: 24px
}

.thankyou-page .woocommerce-order-details h2,
.thankyou-page .woocommerce-customer-details h2,
.thankyou-page h2 {
    font-family: ABC Stefan, cursive;
    font-size: 24px;
    margin: 0 0 16px
}

.thankyou-page h3 {
    color: var(--gray-500);
    font-family: Geist Mono, Monaco, Courier New, monospace;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .1em;
    margin: 16px 0 12px;
    text-transform: uppercase
}

.thankyou-page .woocommerce-table.shop_table {
    border: none;
    border-collapse: collapse;
    font-size: 14px;
    width: 100%
}

.thankyou-page .woocommerce-table thead {
    display: none
}

.thankyou-page .woocommerce-table th,
.thankyou-page .woocommerce-table td {
    border: none;
    border-bottom: 1px solid var(--gray-100);
    padding: 12px 0;
    vertical-align: middle
}

.thankyou-page .woocommerce-table .product-name {
    font-weight: 600
}

.thankyou-page .woocommerce-table .product-quantity {
    color: var(--gray-500);
    font-weight: 400
}

.thankyou-page .woocommerce-table .product-total,
.thankyou-page .woocommerce-table td.product-total {
    font-weight: 600;
    text-align: right
}

.thankyou-page .woocommerce-table tfoot th {
    color: var(--gray-600);
    font-weight: 400;
    text-align: left
}

.thankyou-page .woocommerce-table tfoot td {
    text-align: right
}

.thankyou-page .woocommerce-table tfoot .order-total th,
.thankyou-page .woocommerce-table tfoot .order-total td {
    border-top: 1.5px solid var(--gray-200);
    color: var(--black);
    font-size: 18px;
    font-weight: 600;
    padding-top: 14px
}

/* Customer Details */
.thankyou-page .woocommerce-customer-details address {
    background: var(--gray-50);
    border: none;
    border-radius: var(--radius-sm);
    color: var(--gray-700);
    font-size: 14px;
    font-style: normal;
    line-height: 1.6;
    padding: 16px 18px
}

.thankyou-page .woocommerce-columns--addresses {
    display: grid;
    gap: 16px;
    grid-template-columns: 1fr 1fr;
    margin: 0
}

.thankyou-page .woocommerce-columns--addresses .woocommerce-column,
.thankyou-page .woocommerce-columns--addresses .col-1,
.thankyou-page .woocommerce-columns--addresses .col-2 {
    float: none !important;
    padding: 0 !important;
    width: 100% !important;
}

/* WC clearfix-Pseudos aus dem Grid ausblenden, sonst belegen sie Zellen */
.thankyou-page .woocommerce-columns--addresses::before,
.thankyou-page .woocommerce-columns--addresses::after,
.thankyou-page .col2-set::before,
.thankyou-page .col2-set::after {
    display: none !important;
}

.thankyou-page .woocommerce-column__title {
    margin-bottom: 12px;
}

/* CTAs */
.thankyou-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 32px
}

.thankyou-cta {
    appearance: none;
    background: var(--yellow);
    border: none;
    border-radius: var(--radius-sm);
    color: var(--black);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    height: 52px;
    min-width: 160px;
    padding: 0 24px;
    text-decoration: none;
    transition: background .15s
}

.thankyou-cta:hover {
    background: #e8d917
}

.thankyou-cta-secondary {
    background: var(--white);
    border: 1.5px solid var(--gray-200)
}

.thankyou-cta-secondary:hover {
    background: var(--gray-50);
    border-color: var(--gray-300)
}

.thankyou-error {
    text-align: center;
    padding: 60px 24px
}

.thankyou-error h1 {
    font-family: ABC Stefan, cursive;
    font-size: 36px;
    margin-bottom: 16px
}

.thankyou-error p {
    color: var(--gray-600);
    margin-bottom: 24px
}

@media (max-width: 600px) {
    .thankyou-title {
        font-size: 38px
    }

    .thankyou-overview {
        grid-template-columns: 1fr
    }

    .thankyou-page .woocommerce-columns--addresses {
        grid-template-columns: 1fr
    }
}

@media (min-width: 768px) {
    .thankyou-page {
        padding: 60px 24px 100px
    }

    .thankyou-title {
        font-size: 56px
    }
}

/* ===========================
   VERSAND-SEITE
   =========================== */

.versand-page {
    margin: 0 auto;
    max-width: 860px;
    padding: 40px 16px 80px
}

.versand-hero {
    text-align: center;
    padding: 24px 16px 8px
}

.versand-hero-emoji {
    font-size: 56px;
    line-height: 1;
    margin-bottom: 12px
}

.versand-title {
    font-family: ABC Stefan, cursive;
    font-size: 48px;
    line-height: 1;
    margin-bottom: 12px
}

.versand-subtitle {
    color: var(--gray-600);
    font-size: 15px;
    margin: 0 auto;
    max-width: 560px
}

.versand-notice {
    background: var(--gray-50);
    border: 2px dashed var(--pink);
    border-radius: var(--radius);
    margin: 32px 0;
    padding: 24px 28px
}

.versand-notice p {
    color: var(--gray-700);
    font-size: 14px;
    line-height: 1.7;
    margin: 0 0 12px
}

.versand-notice p:last-child {
    margin-bottom: 0
}

.versand-notice strong {
    color: var(--black);
    font-weight: 600
}

.versand-section {
    margin-bottom: 48px
}

.versand-section-head {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px
}

.versand-section-head h2 {
    font-family: ABC Stefan, cursive;
    font-size: 36px;
    line-height: 1;
    margin: 0
}

.versand-badge {
    background: var(--yellow);
    border-radius: 100px;
    color: var(--black);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .05em;
    padding: 6px 14px;
    text-transform: uppercase
}

.versand-badge-dark {
    background: var(--black);
    color: var(--white)
}

.versand-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: 1fr;
    margin-bottom: 20px
}

@media (min-width: 640px) {
    .versand-grid {
        grid-template-columns: 1fr 1fr 1fr
    }
}

.versand-card {
    background: var(--gray-50);
    border: 1.5px solid var(--gray-100);
    border-radius: var(--radius);
    padding: 20px 22px;
    transition: border-color .2s, transform .2s
}

.versand-card:hover {
    border-color: var(--gray-200);
    transform: translateY(-2px)
}

.versand-card-highlight {
    background: #fffbe0;
    border-color: var(--yellow)
}

.versand-card-label {
    color: var(--gray-500);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .08em;
    margin-bottom: 8px;
    text-transform: uppercase
}

.versand-card-value {
    color: var(--black);
    font-size: 26px;
    font-weight: 600;
    line-height: 1;
    margin-bottom: 6px
}

.versand-card-hint {
    color: var(--gray-500);
    font-size: 12px;
    line-height: 1.4
}

.versand-text {
    color: var(--gray-600);
    font-size: 14px;
    line-height: 1.7;
    margin: 0
}

.versand-text strong {
    color: var(--black);
    font-weight: 600
}

.versand-steps {
    counter-reset: versand-step;
    list-style: none;
    margin: 0;
    padding: 0
}

.versand-steps li {
    align-items: flex-start;
    background: var(--white);
    border: 1.5px solid var(--gray-100);
    border-radius: var(--radius);
    display: flex;
    gap: 18px;
    margin-bottom: 12px;
    padding: 20px 22px
}

.versand-steps li div {
    color: var(--gray-600);
    font-size: 14px;
    line-height: 1.6
}

.versand-steps li div strong {
    color: var(--black);
    display: block;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px
}

.versand-step-num {
    align-items: center;
    background: var(--yellow);
    border-radius: 50%;
    color: var(--black);
    display: flex;
    flex-shrink: 0;
    font-size: 16px;
    font-weight: 600;
    height: 36px;
    justify-content: center;
    width: 36px
}

.versand-legal {
    background: var(--gray-50);
    border-radius: var(--radius);
    padding: 20px 24px
}

.versand-legal p {
    color: var(--gray-600);
    font-size: 13px;
    line-height: 1.6;
    margin: 0 0 10px
}

.versand-legal p:last-child {
    margin-bottom: 0
}

.versand-legal a {
    color: var(--black);
    text-decoration: underline
}

.versand-legal strong {
    color: var(--black);
    font-weight: 600
}

@media (min-width: 768px) {
    .versand-page {
        padding: 60px 24px 100px
    }

    .versand-title {
        font-size: 64px
    }

    .versand-section-head h2 {
        font-size: 44px
    }
}

/* ===========================
   LEGAL PAGES
   =========================== */

.legal-page {
    margin: 0 auto;
    max-width: 800px;
    padding: 40px 24px 80px
}

.legal-content h1 {
    font-family: ABC Stefan, cursive;
    font-size: 36px;
    line-height: 1.1;
    margin-bottom: 24px
}

.legal-content h2 {
    border-top: 1px solid var(--gray-200);
    color: var(--black);
    font-family: Geist Mono, Monaco, Courier New, monospace;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -.01em;
    margin-top: 40px;
    padding-top: 24px
}

.legal-content h2:first-child,
.legal-content > h2:nth-of-type(1) {
    border-top: none;
    margin-top: 0;
    padding-top: 0
}

.legal-content h3 {
    color: var(--black);
    font-family: Geist Mono, Monaco, Courier New, monospace;
    font-size: 14px;
    font-weight: 600;
    margin-top: 24px;
    margin-bottom: 8px
}

.legal-content p {
    color: var(--gray-700);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 14px
}

.legal-content em {
    color: var(--gray-500);
    font-style: italic
}

.legal-content strong {
    color: var(--black);
    font-weight: 600
}

.legal-content a {
    color: var(--black);
    text-decoration: underline;
    text-underline-offset: 2px
}

.legal-content a:hover {
    color: var(--gray-600)
}

.legal-content ul,
.legal-content ol {
    color: var(--gray-700);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 14px;
    padding-left: 24px
}

.legal-content li {
    margin-bottom: 6px
}

@media (min-width: 768px) {
    .legal-page {
        padding: 60px 32px 100px
    }

    .legal-content h1 {
        font-size: 48px
    }

    .legal-content h2 {
        font-size: 18px
    }
}

.gluck-modal .btn-yellow {
    margin-top: 8px;
    text-decoration: none;
    width: 100%
}

/* Slide to Unlock (iPhone-style) */
.slide-unlock {
    margin-top: 20px;
    user-select: none;
    -webkit-user-select: none
}

.slide-unlock-track {
    background: var(--yellow);
    border-radius: 28px;
    height: 56px;
    overflow: hidden;
    position: relative;
    width: 100%
}

.slide-unlock-thumb {
    align-items: center;
    background: var(--black);
    border-radius: 24px;
    color: var(--white);
    cursor: grab;
    display: flex;
    height: 48px;
    justify-content: center;
    left: 4px;
    position: absolute;
    top: 4px;
    transform: translateX(0);
    transition: transform .3s cubic-bezier(.4, 0, .2, 1);
    width: 56px;
    z-index: 2
}

.slide-unlock-thumb:active,
.slide-unlock-thumb.is-dragging {
    cursor: grabbing
}

.slide-unlock-thumb svg {
    transition: transform .2s
}

.slide-unlock-thumb.is-dragging svg {
    transform: translateX(2px)
}

.slide-unlock-thumb.is-unlocked {
    background: var(--success);
    transition: background .3s, transform .3s cubic-bezier(.4, 0, .2, 1)
}

.slide-unlock-thumb.is-unlocked svg {
    display: none
}

.slide-unlock-text {
    color: var(--black);
    font-size: 15px;
    font-weight: 600;
    left: 0;
    letter-spacing: .02em;
    position: absolute;
    right: 0;
    text-align: center;
    top: 50%;
    transform: translateY(-50%);
    transition: opacity .2s;
    z-index: 1
}

.slide-unlock-track.is-unlocked {
    background: var(--success);
    transition: background .3s
}

.slide-unlock-track.is-unlocked .slide-unlock-text {
    color: var(--white)
}

/* Shimmer animation on text */
@keyframes slideShimmer {
    0% { background-position: -200% center }
    100% { background-position: 200% center }
}

.slide-unlock-text {
    background: linear-gradient(90deg, var(--black) 0%, var(--black) 40%, rgba(29,29,27,.4) 50%, var(--black) 60%, var(--black) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: slideShimmer 3s ease-in-out infinite
}

.slide-unlock-track.is-unlocked .slide-unlock-text {
    animation: none;
    background: none;
    -webkit-text-fill-color: var(--white)
}

.gluck-modal-divider {
    border: none;
    border-top: 1px solid var(--gray-200);
    margin: 16px 0
}

.gluck-modal-payment-option {
    align-items: center;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    gap: 12px;
    margin-bottom: 8px;
    padding: 14px 16px;
    transition: border-color .15s
}

.gluck-modal-payment-option:hover {
    border-color: var(--yellow)
}

.gluck-modal-payment-option span {
    font-size: 14px;
    font-weight: 600
}

.gluck-modal-payment-option small {
    color: var(--gray-500);
    font-size: 12px
}

/* =========================================================================
   DIRECT-PAY MODAL (Stripe Express Checkout: Apple/Google Pay)
   ========================================================================= */
.direct-pay-summary {
    background: var(--gray-50);
    border-radius: 10px;
    padding: 14px 16px;
    margin: 16px 0 12px;
    font-size: 14px;
}
.direct-pay-summary .dp-line {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 4px 0;
}
.direct-pay-summary .dp-line + .dp-line { border-top: 1px solid var(--gray-200); margin-top: 4px; padding-top: 8px; }
.direct-pay-summary .dp-product-name { color: var(--gray-700); }
.direct-pay-summary .dp-subtotal,
.direct-pay-summary .dp-shipping-amount { color: var(--black); font-weight: 600; }
.direct-pay-summary .dp-total { font-size: 16px; }
.direct-pay-summary .dp-total strong { color: var(--black); }
.direct-pay-summary .dp-tax-note {
    color: var(--gray-500);
    font-size: 11px;
    margin: 6px 0 0;
    text-align: right;
}
.dp-agb {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 12px;
    color: var(--gray-600);
    line-height: 1.4;
    margin: 12px 0;
    cursor: pointer;
}
.dp-agb input { margin-top: 2px; flex-shrink: 0; }
.dp-agb a { color: var(--black); text-decoration: underline; }
.dp-element { margin-top: 8px; min-height: 48px; }
.dp-loading {
    text-align: center;
    color: var(--gray-500);
    font-size: 13px;
    padding: 20px 0;
}
.dp-error {
    background: #fee;
    border: 1px solid #f5b5b5;
    color: #a02020;
    border-radius: 8px;
    padding: 10px 12px;
    margin-top: 10px;
    font-size: 13px;
}
.dp-unavailable {
    background: var(--gray-50);
    border: 1px dashed var(--gray-300);
    color: var(--gray-600);
    border-radius: 8px;
    padding: 12px 14px;
    margin-top: 10px;
    font-size: 13px;
    text-align: center;
}
.dp-unavailable a { color: var(--black); text-decoration: underline; }

/* =========================================================================
   TYPOGRAFIE-SKALA (Desktop ≥768px)
   Standard für ad-hoc H1/H2 — spezifische Section-Headers behalten ihre Styles.
   Mobile bleibt unverändert.
   ========================================================================= */
@media (min-width: 768px) {
    h1 {
        font-family: 'ABC Stefan', cursive;
        font-size: 60px;
        line-height: 1;
    }
    h2 {
        font-family: 'ABC Stefan', cursive;
        font-size: 40px;
        line-height: 1.05;
    }
    /* Archiv-Header (Wein, Kategorien, Attribut-Archive) */
    .archive-title { font-size: 40px; }
    /* p ist global bereits 15px (body) */
}

/* =========================================================================
   MOBILE REVIEW-FIXES
   - Header: Logo links neben Burger, nicht mehr zentriert
   - Produktdetail-CTA: Herz schmal, Warenkorb breiter
   - Cart/Checkout/Account: weniger Seitenabstand, kompakter
   - Stripe Express-Checkout in Cart-Sticky-Footer: ausblenden
   ========================================================================= */

@media (max-width: 767px) {
    /* Header */
    .shop-header-inner {
        padding: 0 1px;
    }
    .shop-logo {
        position: relative;
        left: auto;
        transform: none;
        font-size: 20px;
        margin: 0 auto 0 10px;
        text-align: left;
    }
    .shop-logo span {
        font-size: 8px;
        letter-spacing: 0.12em;
    }
    .logo-weintraube {
        height: 20px;
        right: -16px;
        top: -1px;
        width: 13px;
    }
    .shop-header-actions {
        gap: 4px;
        margin-right: 5px;
    }
    .header-btn {
        height: 42px;
        width: 42px;
    }
    .header-btn svg {
        height: 22px;
        width: 22px;
    }

    /* Produkt-CTA-Bar: Herz schmal, Warenkorb bekommt Platz */
    .product-cta-bar {
        padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    }
    .product-cta-inner {
        gap: 6px;
    }
    .cta-row {
        gap: 6px;
    }
    .cta-row .btn-yellow {
        flex: 1 1 auto;
        min-width: 0;
        font-size: 14px;
    }
    .cta-row .btn-outline.wishlist-heart {
        flex: 0 0 52px;
        width: 52px;
        padding: 0;
    }

    /* Cart + Merkliste: einheitlich enger Seiten-Abstand */
    .cart-page {
        padding-left: 10px;
        padding-right: 10px;
    }
    /* Headline einheitlich auf beiden Seiten groß */
    .cart-title {
        font-size: 32px;
        line-height: 1.05;
    }

    /* Legal-Seiten (AGB, Datenschutz, Impressum, Versand): enger + kleinere H1 */
    .legal-page {
        padding: 24px 10px 60px;
    }
    .legal-content h1 {
        font-size: 30px;
        margin-bottom: 18px;
    }
    .legal-content h2 {
        font-size: 14px;
        margin-top: 28px;
        padding-top: 18px;
    }
    .legal-content p,
    .legal-content ul,
    .legal-content ol {
        font-size: 13px;
    }

    /* Checkout-Seite: engerer Seiten-Abstand + deutlich kompaktere Payment-Boxes */
    .checkout-page {
        padding-left: 8px;
        padding-right: 8px;
    }
    .checkout-section {
        margin-bottom: 18px;
    }
    .checkout-section-title {
        font-size: 11px;
        margin-bottom: 12px;
        padding-bottom: 8px;
    }
    .checkout-page #payment .payment_methods {
        padding: 0 !important;
        margin: 0 !important;
    }
    .checkout-page #payment .payment_methods li {
        padding: 10px 12px !important;
        margin-bottom: 6px !important;
    }
    .checkout-page #payment .payment_methods li .payment_box {
        padding: 8px 10px !important;
        font-size: 12px;
        line-height: 1.45;
        margin-top: 6px !important;
    }
    .checkout-page #payment .payment_methods li label {
        font-size: 13px;
        line-height: 1.3;
    }
    .checkout-page #payment .payment_methods li input[type="radio"] + label::before,
    .checkout-page #payment .payment_methods li input[type="radio"] {
        margin-right: 8px !important;
    }

    /* AGB-Checkbox-Block kompakter */
    .checkout-page .woocommerce-terms-and-conditions-wrapper,
    .checkout-page .wc-terms-and-conditions,
    .checkout-page .woocommerce-gzd-legal-checkboxes {
        padding: 12px !important;
        font-size: 12px !important;
        line-height: 1.4 !important;
        margin: 12px 0 !important;
    }

    /* Checkout Review Order Table — clean: nur Name, Menge, Preis */
    .checkout-page .shop_table.woocommerce-checkout-review-order-table {
        font-size: 13px;
    }
    .checkout-page .shop_table.woocommerce-checkout-review-order-table td,
    .checkout-page .shop_table.woocommerce-checkout-review-order-table th {
        padding: 10px 0;
    }
    .checkout-page .shop_table td.product-name {
        gap: 10px;
        font-size: 13px;
        line-height: 1.3;
        align-items: center;
    }
    .checkout-page .shop_table td.product-name .wc-gzd-product-name-left img {
        height: 44px !important;
        width: 44px !important;
    }
    .checkout-page .shop_table td.product-name .product-quantity {
        display: block;
        font-size: 11px;
        font-weight: 500;
        color: var(--gray-600);
        margin: 2px 0 0 !important;
    }
    .checkout-page .shop_table td.product-total {
        font-size: 13px;
        vertical-align: middle;
        white-space: nowrap;
    }

    /* Unnötige Germanized-Infos auf Mobile komplett verstecken:
       Füllmenge, Literpreise, Einheitspreise, Grundpreise */
    .checkout-page .shop_table td .wc-gzd-additional-info,
    .checkout-page .shop_table td.product-name p,
    .checkout-page .shop_table td.product-name .wc-gzd-item-desc,
    .checkout-page .shop_table td .unit-price,
    .checkout-page .shop_table td .unit-base {
        display: none !important;
    }

    /* "Sendung 1" Label und "Standardversand:" Methoden-Label auf Mobile verstecken,
       nur der Preis bleibt sichtbar */
    .checkout-page .shop_table tr.shipping th,
    .checkout-page .shop_table tr.shipping td ul.woocommerce-shipping-methods,
    .checkout-page .shop_table tr.shipping td .shipping-calculator-button,
    .checkout-page .shop_table tr.shipping td label {
        display: none !important;
    }
    .checkout-page .shop_table tr.shipping {
        display: table-row;
    }
    .checkout-page .shop_table tr.shipping::before {
        content: "Versand";
        display: table-cell;
        font-size: 13px;
        padding: 10px 0;
        color: var(--gray-700);
    }

    /* Mein Konto: engerer Seiten-Abstand */
    .woocommerce-account .shop-main,
    .woocommerce-account main:not(.b2b-invite) {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
}

/* =========================================================================
   Page-Transition-Loader — gelbe Bubble mit rotierender Weintraube
   ========================================================================= */

#gluck-page-loader {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 9999;
    /* subtiler dunkler Backdrop, damit der Fokus auf der Bubble liegt */
    background: rgba(0, 0, 0, 0.12);
}

#gluck-page-loader.is-active {
    display: flex;
    pointer-events: auto;
}

.gluck-page-loader-bubble {
    width: 88px;
    height: 108px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.15));
    animation: gluck-bubble-pop 0.3s ease-out both;
}

.gluck-page-loader-grape {
    width: 46px;
    height: 46px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    transform-origin: center center;
    animation: gluck-grape-spin 0.9s linear infinite;
    will-change: transform;
}

@keyframes gluck-grape-spin {
    0%   { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes gluck-bubble-pop {
    0%   { transform: scale(0.6); opacity: 0; }
    60%  { transform: scale(1.05); opacity: 1; }
    100% { transform: scale(1); opacity: 1; }
}

@media (min-width: 768px) {
    .gluck-page-loader-bubble {
        width: 104px;
        height: 128px;
    }
    .gluck-page-loader-grape {
        width: 56px;
        height: 56px;
    }
}

/* Stripe Express Checkout komplett aus dem Warenkorb ausblenden
   (bleibt auf dem Checkout sichtbar, dort ist Stripe die primäre Zahlung) */
body.woocommerce-cart #wc-stripe-express-checkout-element,
body.woocommerce-cart #wc-stripe-express-checkout-button-separator,
body.woocommerce-cart #wc-stripe-express-checkout__order-attribution-inputs,
body.woocommerce-cart #wc-stripe-payment-request-button,
body.woocommerce-cart .wc-stripe-express-checkout-element,
body.woocommerce-cart .wc-stripe-express-checkout-wrapper,
body.woocommerce-cart .wc-stripe-payment-request-wrapper,
body.woocommerce-cart .wc-stripe-payment-request-button,
body.woocommerce-cart .wc-block-components-express-payment,
body.woocommerce-cart .wc-block-components-express-payment__title-container,
body.woocommerce-cart .wc-block-components-express-payment__event-buttons,
body.woocommerce-cart [id^="wc-stripe-express"],
body.woocommerce-cart [class^="wc-stripe-express"],
body.woocommerce-cart [class*="stripe-payment-request"] {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

/* ===========================
   HOMEPAGE (redaktionell)
   =========================== */

/* Hero: vollflächiges Bild + Overlay */
.home-hero {
    background: var(--black);
    overflow: hidden;
    position: relative;
    width: 100%;
}

.home-hero-media {
    height: clamp(320px, 45vh, 420px);
    position: relative;
    width: 100%;
}

.home-hero-media:after {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, .55) 100%);
    content: "";
    inset: 0;
    position: absolute;
    z-index: 1;
}

.home-hero-media img {
    display: block;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
    width: 100%;
}

.home-hero-overlay {
    bottom: 32px;
    color: var(--white);
    left: 24px;
    position: absolute;
    right: 24px;
    z-index: 2;
}

.home-hero-kicker {
    background: var(--yellow);
    border-radius: 999px;
    color: var(--black);
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .18em;
    margin-bottom: 14px;
    padding: 6px 14px;
    text-transform: uppercase;
}

.home-hero-title {
    color: var(--white);
    font-size: clamp(72px, 13vw, 200px);
    line-height: .88;
    letter-spacing: -.02em;
    margin: 0;
    text-shadow: 0 6px 40px rgba(0, 0, 0, .35);
}

/* Lead-Sektion: kuratierter Intro-Text */
.home-lead {
    background: transparent;
    padding: clamp(56px, 10vw, 120px) 16px;
    position: relative;
}

.home-explore:before {
    background: var(--yellow);
    content: "";
    height: 25px;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 0;
}

.home-lead-inner {
    margin: 0 auto;
    max-width: 780px;
    position: relative;
    text-align: center;
    z-index: 1;
}

.home-lead-text {
    color: var(--gray-700);
    font-size: clamp(16px, 1.6vw, 19px);
    line-height: 1.7;
    margin: 0 0 24px;
}

.home-lead-text strong {
    color: var(--black);
    font-weight: 600;
}

.home-lead-text:last-of-type {
    margin-bottom: 40px;
}

.home-lead-pullquote {
    color: var(--black);
    font-size: clamp(30px, 5vw, 54px);
    line-height: 1.15;
    margin: 32px auto 0;
    max-width: 18ch;
    position: relative;
}

/* Zahlungsarten-Pills (Info-Modal auf Weingut-Seiten, Modals) */
.pay-methods {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px dashed var(--gray-300);
}

.pay-methods-label {
    color: var(--gray-600);
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .1em;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.pay-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.pay-pill {
    align-items: center;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 6px;
    color: var(--gray-700);
    display: inline-flex;
    font-size: 12px;
    font-weight: 500;
    gap: 5px;
    line-height: 1;
    padding: 6px 9px;
    white-space: nowrap;
}

.pay-pill svg { display: block; }

.pay-pill-cash   { background: #f4f4f4; color: #404040; border-color: #e5e5e5; }
.pay-pill-card   { background: #eef3fb; color: #1a73e8; border-color: #d4e2f5; }
.pay-pill-apple  { background: #000;    color: #fff;    border-color: #000; }
.pay-pill-google { background: #fff;    color: #4285F4; border-color: #e5e5e5; }
.pay-pill-klarna { background: #FFA8CD; color: #17120F; border-color: #FFA8CD; }


/* Gründer-Sektion: Bild + Text */
.home-founders {
    background: var(--pink);
    padding: clamp(56px, 10vw, 120px) 16px;
    position: relative;
}

.home-founders-grid {
    align-items: center;
    display: grid;
    gap: clamp(32px, 5vw, 72px);
    grid-template-columns: 1fr;
    margin: 0 auto;
    max-width: 1120px;
}

.home-founders-media {
    border-radius: var(--radius);
    box-shadow: 0 20px 60px rgba(0, 0, 0, .15);
    overflow: hidden;
    position: relative;
    transform: rotate(-1.5deg);
    transition: transform .5s cubic-bezier(.25, 1, .5, 1);
}

.home-founders-media:hover {
    transform: rotate(0deg) scale(1.01);
}

.home-founders-media img {
    aspect-ratio: 4 / 3;
    display: block;
    height: 100%;
    object-fit: cover;
    object-position: center 8%;
    width: 100%;
}

.home-founders-kicker {
    background: var(--yellow);
    border-radius: 999px;
    color: var(--black);
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .18em;
    margin-bottom: 16px;
    padding: 6px 14px;
    text-transform: uppercase;
}

.home-founders-title {
    color: var(--black);
    font-size: clamp(36px, 5vw, 56px);
    line-height: 1;
    margin: 0 0 24px;
}

.home-founders-text {
    color: var(--gray-700);
    font-size: clamp(15px, 1.4vw, 17px);
    line-height: 1.75;
    margin: 0;
}

.home-founders-text strong {
    color: var(--black);
    font-weight: 600;
}

/* Stöbern-Teaser: Wein-Kategorien */
.home-explore {
    background: transparent;
    padding: clamp(56px, 10vw, 120px) 16px;
    position: relative;
}

.home-explore-inner {
    margin: 0 auto;
    max-width: 1120px;
    position: relative;
    text-align: center;
    z-index: 1;
}

.home-explore-kicker {
    background: var(--yellow);
    border-radius: 999px;
    color: var(--black);
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .18em;
    margin-bottom: 16px;
    padding: 6px 14px;
    text-transform: uppercase;
}

.home-explore-title {
    color: var(--black);
    font-size: clamp(36px, 5vw, 56px);
    line-height: 1;
    margin: 0 0 16px;
}

.home-explore-text {
    color: var(--gray-700);
    font-size: clamp(15px, 1.4vw, 17px);
    line-height: 1.7;
    margin: 0 auto 48px;
    max-width: 640px;
}

.home-explore-grid {
    display: flex;
    gap: 12px;
    margin-bottom: 48px;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    overflow-x: auto;
    overscroll-behavior-x: contain;
    overscroll-behavior-y: auto;
    padding-top: 4px;
    padding-bottom: 16px;
    /* Erste Card fluchtet mit linkem Rand des 1120px-Content-Containers */
    padding-left: max(16px, calc((100vw - 1120px) / 2));
    padding-right: max(16px, calc((100vw - 1120px) / 2));
    scroll-padding-left: max(16px, calc((100vw - 1120px) / 2));
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    touch-action: pan-x;
    -webkit-overflow-scrolling: touch;
}

.home-explore-grid::-webkit-scrollbar {
    display: none;
}

.home-explore-grid > .home-explore-card {
    flex: 0 0 200px;
    scroll-snap-align: start;
}

.home-explore-card {
    align-items: flex-start;
    background: var(--card-bg, var(--gray-100));
    border-radius: var(--radius);
    color: var(--card-text, var(--black));
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-height: 160px;
    padding: 22px 22px 20px;
    position: relative;
    text-align: left;
    text-decoration: none;
    transition: transform .3s cubic-bezier(.25, 1, .5, 1);
}

.home-explore-card:hover {
    transform: translateY(-4px);
}

/* Hand-Cursor auf Grid + Cards, sobald JS Drag aktiviert hat */
.home-explore-grid.is-draggable,
.home-explore-grid.is-draggable .home-explore-card {
    cursor: grab;
}

.home-explore-grid.is-dragging,
.home-explore-grid.is-dragging .home-explore-card {
    cursor: grabbing;
}

.home-explore-grid.is-dragging .home-explore-card {
    transform: none;
}

/* Während Drag (und kurze Nachlaufzeit) Links nicht klickbar */
.home-explore-grid.is-links-disabled .home-explore-card {
    pointer-events: none;
}

.home-explore-card-label {
    font-size: clamp(28px, 4vw, 38px);
    line-height: 1;
}

.home-explore-card-sub {
    font-size: 13px;
    opacity: .8;
    padding-right: 52px;
}

.home-explore-card-arrow {
    align-items: center;
    background: rgba(0, 0, 0, .08);
    border-radius: 50%;
    bottom: 18px;
    display: flex;
    height: 40px;
    justify-content: center;
    position: absolute;
    right: 18px;
    transition: background .2s, transform .3s cubic-bezier(.25, 1, .5, 1);
    width: 40px;
}

.home-explore-card:hover .home-explore-card-arrow {
    background: rgba(0, 0, 0, .15);
    transform: translateX(4px);
}

.home-explore-cta {
    align-items: center;
    background: var(--black);
    border-radius: 999px;
    color: var(--white);
    display: inline-flex;
    font-size: 15px;
    font-weight: 600;
    gap: 10px;
    letter-spacing: .02em;
    padding: 16px 28px;
    text-decoration: none;
    transition: background .2s, transform .2s;
}

.home-explore-cta:hover {
    background: var(--yellow);
    color: var(--black);
    transform: translateY(-2px);
}

.home-explore-swipe-hint {
    align-items: center;
    color: var(--gray-700);
    display: flex;
    font-size: 13px;
    font-weight: 500;
    gap: 8px;
    justify-content: center;
    letter-spacing: .04em;
    margin: -32px auto 32px;
    opacity: .85;
}

.home-explore-swipe-hint-finger {
    animation: gluckgluck-swipe-hand 1.8s cubic-bezier(.4, 0, .2, 1) infinite;
    display: inline-block;
    font-size: 18px;
    transform-origin: center;
}

@keyframes gluckgluck-swipe-hand {
    0%, 100% { transform: translateX(-10px) rotate(-6deg); }
    50%      { transform: translateX(14px) rotate(8deg); }
}

@media (prefers-reduced-motion: reduce) {
    .home-explore-swipe-hint-finger {
        animation: none;
    }
}

@media (min-width: 600px) {
    .home-explore-grid {
        gap: 16px;
        padding-bottom: 20px;
    }

    .home-explore-grid > .home-explore-card {
        flex: 0 0 260px;
    }

    .home-explore-swipe-hint-finger {
        font-size: 22px;
    }
}

/* Ab 1920px passen alle 6 Cards nebeneinander → zentrieren, kein Swipe */
@media (min-width: 1920px) {
    .home-explore-grid {
        justify-content: center;
        overflow-x: visible;
        overscroll-behavior: auto;
        padding-left: 16px;
        padding-right: 16px;
        scroll-padding-left: 0;
        scroll-snap-type: none;
        touch-action: auto;
        cursor: default !important;
    }

    .home-explore-grid.is-draggable,
    .home-explore-grid.is-draggable .home-explore-card {
        cursor: default !important;
    }

    .home-explore-swipe-hint {
        display: none;
    }
}

@media (min-width: 900px) {
    /* Header-Icons auf Desktop +30% */
    .header-btn {
        height: 47px;
        width: 47px;
    }
    .header-btn svg {
        height: 26px;
        width: 26px;
    }
    .menu-toggle {
        height: 55px;
        width: 55px;
    }
    .menu-toggle-bar {
        width: 26px;
    }
    .menu-toggle-bar:first-child { top: 17px; }
    .menu-toggle-bar:nth-child(2) { top: 26px; }
    .menu-toggle-bar:nth-child(3) { top: 35px; }
    .menu-toggle.open .menu-toggle-bar:first-child { top: 26px; }
    .menu-toggle.open .menu-toggle-bar:nth-child(3) { top: 26px; }

    .home-hero-media {
        height: clamp(500px, 80vh, 780px);
    }

    .home-founders-grid {
        grid-template-columns: 1.1fr 1fr;
    }

    .home-hero-overlay {
        bottom: 56px;
        left: 56px;
        right: auto;
        max-width: 60%;
    }

    .home-explore-grid > .home-explore-card {
        flex: 0 0 300px;
    }

    .home-explore-card {
        min-height: 200px;
    }
}
