/* Kreuzacker Live-Auktion v2.4 – Shop-, Eichenfass-, Karussell- & 4-Wochen-Vorlauf-Optik */
.ka-wrap {
    max-width: 860px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    color: #2c2c2c;
    box-sizing: border-box;
    position: relative;
}
.ka-wrap *, .ka-wrap *::before, .ka-wrap *::after {
    box-sizing: inherit;
}

/* Leer- / Vorlauf-Hinweisbox (wenn innerhalb der kommenden 4 Wochen keine Auktion stattfindet) */
.ka-empty-notice {
    background: #2c2c2c;
    color: #f3efe6;
    border: 1px solid #c5a059;
    border-radius: 6px;
    padding: 20px 22px;
    font-size: 14.5px;
    line-height: 1.6;
    margin: 8px 0 14px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.ka-empty-notice a {
    color: #e6d690;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.ka-empty-notice a:hover {
    color: #ffffff;
}

/* Listen-Modus (Standard: untereinander) */
.ka-lots-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 8px 0 14px 0;
}

/* Reduzierter 3er-Karussell-Modus mit Autoplay (nur zukünftige Termine) */
.ka-wrap.is-carousel-mode {
    max-width: 1180px;
}
.ka-carousel-nav {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-bottom: 10px;
}
.ka-nav-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid #c5a059;
    background: #2c2c2c;
    color: #e6d690;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease;
}
.ka-nav-btn:hover {
    background: #1a1a1a;
}
.ka-lots-list.ka-carousel-track {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: 24px;
    padding: 6px 4px 18px 4px;
    scrollbar-width: none;
}
.ka-lots-list.ka-carousel-track::-webkit-scrollbar {
    display: none;
}
.ka-mini-card {
    flex: 0 0 calc((100% - 48px) / 3);
    min-width: 260px;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: transparent;
}
.ka-mini-poster {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    min-height: 225px;
    background: radial-gradient(circle at 55% 48%, #5e3c24 0%, #372011 55%, #1d1008 100%);
    border: 2px solid #c9ab59;
    outline: 3px solid #1f1712;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18), inset 0 0 38px rgba(0, 0, 0, 0.65);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 16px 12px 12px 12px;
    color: #f3ead0;
}
/* Holzfass-Dauben & Maserung im Hintergrund */
.ka-mini-poster::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(
            98deg,
            rgba(0, 0, 0, 0.32) 0px,
            rgba(0, 0, 0, 0.32) 2px,
            transparent 2px,
            transparent 54px
        ),
        linear-gradient(0deg, rgba(112, 76, 46, 0.45) 0%, rgba(112, 76, 46, 0.18) 22%, transparent 25%);
    pointer-events: none;
    z-index: 1;
}
.ka-mini-poster-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 100%;
}
.ka-mini-kicker {
    font-size: 16px;
    font-weight: 400;
    color: #e6d690;
    letter-spacing: 0.3px;
    margin-bottom: 4px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.75);
}
.ka-mini-kicker strong {
    font-weight: 700;
}
.ka-mini-bigdate {
    font-size: clamp(24px, 2.5vw, 32px);
    font-weight: 400;
    color: #f0e3ad;
    line-height: 1.1;
    letter-spacing: 0.8px;
    margin: 2px 0 5px 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}
.ka-mini-subline {
    font-size: 12px;
    color: #e5dcc2;
    line-height: 1.35;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.85);
}
.ka-mini-subline strong {
    color: #ffffff;
    font-weight: 700;
}
.ka-mini-subprice {
    font-size: 11px;
    color: #d6cbb0;
    margin-top: 1px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.85);
}
.ka-mini-bottle-wrap {
    margin-top: auto;
    padding-top: 6px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}
.ka-mini-bottle-wrap .ka-product-img {
    max-height: 112px;
    width: auto;
    filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.85));
}

/* Kategorie-Stempel unten links (z. B. Zeitumstellung Frühling / Sommerzeit) */
.ka-mini-badge {
    position: absolute;
    left: 12px;
    bottom: 12px;
    z-index: 3;
    background: #e6d690;
    color: #2b2416;
    font-size: 10.5px;
    font-weight: 700;
    line-height: 1.2;
    padding: 5px 9px;
    border-radius: 3px;
    border: 1px solid #9e7e38;
    transform: rotate(-3deg);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.5);
    max-width: 115px;
}

/* Echtes Kreuzacker Logo unten rechts */
.ka-mini-seal {
    position: absolute;
    right: 10px;
    bottom: 10px;
    z-index: 3;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}
.ka-mini-seal img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.75));
}

/* Unterer weißer Bereich unter dem Bild (Datum, Titel & Button "Erinnerung setzen") */
.ka-mini-below {
    padding: 18px 12px 6px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}
.ka-mini-date-heading {
    font-size: 20px;
    font-weight: 700;
    color: #262626;
    letter-spacing: 0.4px;
    margin: 0 0 10px 0;
}
.ka-mini-caption {
    font-size: 16px;
    color: #2c2c2c;
    line-height: 1.5;
    margin: 0 0 16px 0;
    max-width: 320px;
}
.ka-mini-reminder-wrap {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
}
.ka-mini-btn {
    background: #e6d690;
    color: #222222;
    border: 1px solid #333333;
    border-radius: 999px;
    padding: 10px 26px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.16);
    transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
    text-decoration: none;
    display: inline-block;
}
.ka-mini-btn:hover {
    background: #dcc873;
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.22);
    color: #111111;
}
.ka-mini-btn.is-live-btn {
    background: #2e6f40;
    color: #ffffff;
    border-color: #1f4f2c;
}
.ka-cal-menu {
    margin-top: 8px;
    background: #2c2c2c;
    border: 1px solid #c5a059;
    border-radius: 6px;
    padding: 6px;
    display: none;
    flex-direction: column;
    gap: 4px;
    min-width: 210px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    z-index: 20;
}
.ka-cal-menu.is-open {
    display: flex;
}
.ka-cal-link {
    color: #f3efe6;
    text-decoration: none;
    font-size: 13px;
    padding: 7px 10px;
    border-radius: 4px;
    text-align: left;
    transition: background 0.12s ease;
}
.ka-cal-link:hover {
    background: #3e3a32;
    color: #e6d690;
}

/* Produktkarte */
.ka-card {
    display: flex;
    flex-direction: row;
    background: #ffffff;
    border: 1px solid #e2dfd7;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

/* Linke Bildbox – Kompakte halbe Höhe in Eichenfass-Optik */
.ka-card-media {
    position: relative;
    width: 210px;
    min-height: 225px;
    flex-shrink: 0;
    background: linear-gradient(160deg, #3b2416 0%, #24140b 55%, #190d07 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
    overflow: hidden;
}
.ka-card-media::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.28) 0px,
        rgba(0, 0, 0, 0.28) 2px,
        transparent 2px,
        transparent 42px
    );
    pointer-events: none;
    z-index: 1;
}
.ka-wood-grain {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.16;
    pointer-events: none;
    z-index: 1;
}
.ka-product-img {
    position: relative;
    z-index: 2;
    max-height: 195px;
    max-width: 100%;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.55));
}

/* Rechte Shop-Spalte */
.ka-card-body {
    flex: 1;
    padding: 14px 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 10px;
}

.ka-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.ka-lot-tag {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #8c6d2e;
}
.ka-status-pill {
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 3px;
    background: #f0ece1;
    color: #5c4b26;
    font-variant-numeric: tabular-nums;
}
.ka-status-pill.is-live {
    background: #2e6f40;
    color: #ffffff;
}
.ka-status-pill.is-ended {
    background: #e5e5e5;
    color: #555555;
}

.ka-title {
    margin: 3px 0 6px 0;
    font-size: 16.5px;
    font-weight: 700;
    color: #222222;
    line-height: 1.25;
}

/* Spiegelstrich-Key-Facts */
.ka-facts {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 13px;
    color: #4a4a4a;
    line-height: 1.45;
}
.ka-facts li {
    position: relative;
    padding-left: 14px;
}
.ka-facts li::before {
    content: "–";
    position: absolute;
    left: 0;
    color: #9e7e38;
    font-weight: 600;
}

/* Preis & Gebotschance */
.ka-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f8f6f0;
    border: 1px solid #ebe6d8;
    border-radius: 4px;
    padding: 8px 12px;
    gap: 12px;
}
.ka-price-box {
    display: flex;
    flex-direction: column;
}
.ka-label-xs {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: #6e6a61;
}
.ka-price-val {
    font-size: 19px;
    font-weight: 700;
    color: #1f1f1f;
    line-height: 1.15;
}
.ka-base-price {
    font-size: 11px;
    color: #777777;
}
.ka-chance-box {
    text-align: right;
}
.ka-chance-pill {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 9px;
    border-radius: 4px;
    background: #ede9dc;
    color: #4a412a;
}
.ka-chance-pill.is-leading {
    background: #e3f3e8;
    color: #1e5c31;
    border: 1px solid #b8dfc4;
}
.ka-chance-pill.is-outbid {
    background: #fdecea;
    color: #8f241e;
    border: 1px solid #f3c2be;
}

/* Schlankes Biet-Formular */
.ka-bid-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.ka-input-grid {
    display: grid;
    grid-template-columns: 115px 1fr 1fr;
    gap: 8px;
}
.ka-input {
    width: 100%;
    padding: 7px 10px;
    font-size: 13px;
    border: 1px solid #ccc7ba;
    border-radius: 4px;
    background: #ffffff;
    color: #222222;
}
.ka-input:focus {
    outline: none;
    border-color: #9e7e38;
}
.ka-form-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}
.ka-age-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #444444;
    cursor: pointer;
    user-select: none;
}
.ka-submit-btn {
    background: #333333;
    color: #e6d690;
    border: 1px solid #333333;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.15s ease;
    white-space: nowrap;
}
.ka-submit-btn:hover {
    background: #1f1f1f;
}
.ka-submit-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}
.ka-feedback {
    font-size: 12px;
}
.ka-feedback.is-error {
    color: #a12620;
}
.ka-feedback.is-success {
    color: #1e5c31;
}

/* Fußzeile */
.ka-footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 11.5px;
    color: #666666;
    padding-top: 6px;
    border-top: 1px solid #e5e2da;
}
.ka-footer-legal a {
    color: #5a4822;
    text-decoration: underline;
}

@media (max-width: 980px) {
    .ka-mini-card {
        flex: 0 0 calc((100% - 24px) / 2);
        min-width: 260px;
    }
}

@media (max-width: 680px) {
    .ka-mini-card {
        flex: 0 0 100%;
        min-width: 100%;
    }
    .ka-card {
        flex-direction: column;
    }
    .ka-card-media {
        width: 100%;
        min-height: 150px;
    }
    .ka-product-img {
        max-height: 130px;
    }
    .ka-input-grid {
        grid-template-columns: 1fr;
    }
}


/* YouTube-Livestream-Box oberhalb der Gebote */
.ka-livestream-box {
    background: #2c2c2c;
    border: 1px solid #c5a059;
    border-radius: 6px;
    overflow: hidden;
    margin: 8px 0 18px 0;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.14);
}
.ka-livestream-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 9px 14px;
    background: #222222;
    border-bottom: 1px solid #3f3a30;
    color: #f3efe6;
    font-size: 13px;
}
.ka-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-weight: 700;
    letter-spacing: 0.4px;
    color: #e6d690;
    text-transform: uppercase;
    font-size: 11.5px;
}
.ka-live-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #d93829;
    box-shadow: 0 0 0 3px rgba(217, 56, 41, 0.25);
    animation: kaPulseDot 1.6s infinite ease-in-out;
}
@keyframes kaPulseDot {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.25); opacity: 0.7; }
}
.ka-livestream-note {
    font-size: 12px;
    color: #c9c3b5;
}
.ka-livestream-ratio {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    background: #111111;
}
.ka-livestream-ratio iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
