/* Warenkorb-Fenster „Meine Trünke“ (öffnet am Horn unten rechts) - unverändert aus inc/odin-cart-popup.php der alten Seite.
   Live liegen die Bilder im Uploads-Ordner, hier in bilder/. */
/* =========================================================================
   ODIN PREMIUM CART STYLING
   ========================================================================= */

/* Houdini property for animated border angle */
@property --border-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}
@keyframes rotate-border {
    to { --border-angle: 360deg; }
}

/* Panel Container */
.odin-cart-panel {
    position: fixed;
    bottom: 100px;
    right: 20px;
    width: 100%;
    max-width: 540px;
    height: auto;
    background: rgba(12, 9, 7, 0.98);
    background-image:
        radial-gradient(circle at center, rgba(0, 0, 0, 0.1) 60%, rgba(0, 0, 0, 0.45) 100%),
        url('bilder/bg_odin_web_16.jpg');
    background-size: 400px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 2px solid #5e3e1c;
    /* Darker Bronze Border */
    border-radius: 16px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.9);
    z-index: 999999;
    /* HIGHER Z-INDEX FOR MOBILE OVERLAY */
    transform: translateY(20px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* GLOBAL STYLES FOR ACTIVE HORN */
/* Active Glow for Sticky Horn (High Specificity to override !important defaults) */
/* AKTIVER RING - NUR FÜR STICKY HORN, NICHT FÜR HEADER HORN! */
#odin-sticky-dock #odin-sticky-horn.odin-horn-active,
#odin-sticky-horn.odin-horn-active,
#odin-cart-widget-cloned.odin-horn-active {
    box-shadow: 0 0 25px rgba(197, 160, 89, 0.7) !important;
    transform: none !important;
    cursor: pointer !important;
    border-radius: 50% !important;
    transition: box-shadow 0.3s ease;
}

/* Header Horn bekommt KEINEN aktiven Ring! */
#odin-horn-icon.odin-horn-active {
    box-shadow: none !important;
    border-radius: 0 !important;
}

#odin-sticky-dock #odin-sticky-horn.odin-horn-active img,
#odin-sticky-horn.odin-horn-active img,
#odin-cart-widget-cloned.odin-horn-active img,
#odin-cart-widget-cloned.odin-horn-active svg {
    filter: none !important;
}

/* ── ALL SCREENS: Flexbox-basiertes Layout ──
     Panel = flex column, Content scrollt, Footer bleibt immer sichtbar ── */
.odin-cart-panel {
    max-height: calc(100vh - 110px);
}
:where(#odin-custom-cart-modal) .odin-cart-content-wrapper{
    overflow-y: auto;
    flex: 1 1 auto;
    min-height: 0;
    /* Scrollbar Styling */
    scrollbar-width: thin;
    scrollbar-color: #5e3e1c transparent;
}
:where(#odin-custom-cart-modal) .odin-cart-content-wrapper::-webkit-scrollbar{
    width: 6px;
}
:where(#odin-custom-cart-modal) .odin-cart-content-wrapper::-webkit-scrollbar-thumb{
    background: #5e3e1c;
    border-radius: 3px;
}

/* ── PHONE (< 769px) — proportional skaliert, Bild groß, Buttons kompakt ── */
@media screen and (max-width: 768px) {
    .odin-cart-panel {
        bottom: 100px !important;
        right: 2.5%;
        width: 95%;
        max-width: 420px !important;
        padding: 0 6px !important;
    }
    :where(#odin-custom-cart-modal) .odin-cart-header-row{
        padding: 18px 18px 8px 18px !important;
    }
    :where(#odin-custom-cart-modal) .odin-cart-panel-title{
        font-size: 1.7rem !important;
    }
    :where(#odin-custom-cart-modal) #odin-custom-cart-body{
        padding: 6px 16px !important;
    }
    :where(#odin-custom-cart-modal) .odin-cart-footer{
        padding-left: 4px !important;
        padding-right: 4px !important;
    }
    /* Bild bleibt groß — 85px */
    :where(#odin-custom-cart-modal) .odin-cart-item{
        grid-template-columns: 85px 1fr auto !important;
        gap: 10px !important;
        padding: 12px 0 !important;
    }
    :where(#odin-custom-cart-modal) .odin-item-img{
        width: 85px !important;
        height: 85px !important;
    }
    :where(#odin-custom-cart-modal) .odin-popup-badge{
        min-width: 27px !important;
        height: 27px !important;
        font-size: 16px !important;
    }
    :where(#odin-custom-cart-modal) .odin-item-name{
        font-size: 1.35rem !important;
    }
    /* Qty Controls — +/- kleiner, Circle größer */
    :where(#odin-custom-cart-modal) .odin-item-qty-row{
        height: 54px !important;
    }
    :where(#odin-custom-cart-modal) .odin-mini-circle-wrap{
        width: 50px !important;
        height: 50px !important;
    }
    :where(#odin-custom-cart-modal) .odin-mini-qty-btn{
        width: 24px !important;
        height: 24px !important;
        min-width: 22px !important;
        min-height: 22px !important;
    }
    :where(#odin-custom-cart-modal) .odin-mini-qty-btn::before{
        width: 13px !important;
        height: 2px !important;
    }
    :where(#odin-custom-cart-modal) .odin-mini-qty-btn.odin-qty-plus::after{
        width: 2px !important;
        height: 13px !important;
    }
    :where(#odin-custom-cart-modal) .odin-mini-qty-display{
        font-size: 1.5rem !important;
    }
    :where(#odin-custom-cart-modal) .odin-cart-actions{
        flex-direction: row !important;
        align-items: center !important;
        padding: 0 4px !important;
    }
    :where(#odin-custom-cart-modal) .odin-cart-btn{
        font-size: 1rem !important;
    }
    /* Keine Hover-Animationen auf Touch */
    :where(#odin-custom-cart-modal) .odin-mini-qty-btn,
    :where(#odin-custom-cart-modal) .odin-mini-qty-btn:hover{
        transition: none !important;
    }
}

/* ── KLEINE PHONES (< 414px — iPhone SE 375, Galaxy S8 360) ── */
@media screen and (max-width: 414px) {
    .odin-cart-panel {
        right: 1.5% !important;
        width: 97% !important;
        max-width: none !important;
        padding: 0 4px !important;
    }
    :where(#odin-custom-cart-modal) .odin-cart-header-row{
        padding: 14px 14px 6px 14px !important;
    }
    :where(#odin-custom-cart-modal) .odin-cart-panel-title{
        font-size: 1.4rem !important;
    }
    :where(#odin-custom-cart-modal) #odin-custom-cart-body{
        padding: 5px 12px !important;
    }
    :where(#odin-custom-cart-modal) .odin-cart-footer{
        padding-left: 2px !important;
        padding-right: 2px !important;
    }
    /* Bild: 74px — groß genug, lässt Platz für Text */
    :where(#odin-custom-cart-modal) .odin-cart-item{
        grid-template-columns: 74px 1fr auto !important;
        gap: 8px !important;
        padding: 10px 0 !important;
    }
    :where(#odin-custom-cart-modal) .odin-item-img{
        width: 74px !important;
        height: 74px !important;
    }
    :where(#odin-custom-cart-modal) .odin-popup-badge{
        min-width: 25px !important;
        height: 25px !important;
        font-size: 15px !important;
    }
    :where(#odin-custom-cart-modal) .odin-item-name{
        font-size: 1.15rem !important;
    }
    :where(#odin-custom-cart-modal) .odin-small-variant{
        font-size: 0.8rem !important;
    }
    :where(#odin-custom-cart-modal) .odin-item-meta{
        font-size: 0.8rem !important;
    }
    :where(#odin-custom-cart-modal) .odin-item-price{
        font-size: 0.85rem !important;
    }
    :where(#odin-custom-cart-modal) .odin-item-liter{
        font-size: 0.7rem !important;
    }
    /* Qty Controls — +/- klein, Circle größer */
    :where(#odin-custom-cart-modal) .odin-item-qty-row{
        height: 48px !important;
    }
    :where(#odin-custom-cart-modal) .odin-mini-circle-wrap{
        width: 44px !important;
        height: 44px !important;
    }
    :where(#odin-custom-cart-modal) .odin-mini-qty-btn{
        width: 20px !important;
        height: 20px !important;
        min-width: 18px !important;
        min-height: 18px !important;
    }
    :where(#odin-custom-cart-modal) .odin-mini-qty-btn::before{
        width: 11px !important;
        height: 2px !important;
    }
    :where(#odin-custom-cart-modal) .odin-mini-qty-btn.odin-qty-plus::after{
        width: 2px !important;
        height: 11px !important;
    }
    :where(#odin-custom-cart-modal) .odin-mini-qty-display{
        font-size: 1.3rem !important;
    }
    :where(#odin-custom-cart-modal) .odin-entleeren-x{
        font-size: 0.75rem !important;
    }
    :where(#odin-custom-cart-modal) .odin-entleeren-text{
        font-size: 0.55rem !important;
    }
    :where(#odin-custom-cart-modal) .odin-cart-btn{
        height: 44px !important;
        font-size: 0.88rem !important;
    }
    :where(#odin-custom-cart-modal) .odin-cart-actions{
        padding: 0 2px !important;
    }
}

/* ── PHONE LANDSCAPE (kurzes Viewport) ── */
@media screen and (max-height: 500px) {
    .odin-cart-panel {
        bottom: 80px !important;
        max-height: calc(100vh - 90px) !important;
    }
}

.odin-cart-panel.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    border-color: #c5a059;
    /* Glows Gold when active */
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.9), 0 0 20px rgba(197, 160, 89, 0.2);
}

/* Close Button — 1:1 wie Mehr-Erfahren Popup (.odin-info-close) */
:where(#odin-custom-cart-modal) .odin-cart-close-btn{
    background: none !important;
    border: none !important;
    font-size: clamp(1.5rem, 2vw, 1.8rem);
    cursor: pointer;
    padding: 6px;
    line-height: 1;
    color: #ffe3a0;
    text-shadow: none;
    transition: text-shadow 0.3s, color 0.3s;
    z-index: 10;
    margin-left: 15px;
}

:where(#odin-custom-cart-modal) .odin-cart-close-btn:hover{
    color: #fff0c4;
    text-shadow: 0 0 12px rgba(244,192,100,0.7), 0 0 24px rgba(244,192,100,0.4), 0 0 40px rgba(241,198,91,0.25);
}

/* Header Row */
:where(#odin-custom-cart-modal) .odin-cart-header-row{
    padding: clamp(24px, 3vw, 32px) clamp(18px, 2vw, 22px) clamp(10px, 1.2vw, 14px) clamp(18px, 2vw, 22px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(197, 160, 89, 0.15);
    position: relative;
    overflow: visible;
}

/* HEADER TITLE: Odin Font II + Gold Shimmer, Left Aligned */
:where(#odin-custom-cart-modal) .odin-cart-panel-title{
    font-family: 'ITC Odin Con', serif !important;
    font-size: clamp(1.8rem, 2.6vw, 2.3rem);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    line-height: 1.1;
    flex-grow: 1;
    text-align: left;
    padding: 0 10px 0 18px;
    /* Gold Shimmer Effect — lighter/more yellow */
    color: #F4C064 !important;
    background: linear-gradient(135deg, #ffe3a0 0%, #fff4d0 50%, #ffe8a0 100%) !important;
    background-size: 180% auto !important;
    animation: odinShimmer 8s ease-in-out infinite !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    filter: drop-shadow(0 0 6px rgba(244, 192, 100, 0.4));
    padding: 8px 6px;
}

/* Shimmer Animation */
@keyframes odinShimmer {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Body */
:where(#odin-custom-cart-modal) #odin-custom-cart-body{
    padding: clamp(8px, 1vw, 10px) clamp(16px, 1.8vw, 20px);
}

/* List Items */
:where(#odin-custom-cart-modal) .odin-cart-list{
    list-style: none;
    padding: 0;
    margin: 0;
}

/* === CART ITEM: Grid Layout 1:1 wie Trunklager === */
:where(#odin-custom-cart-modal) .odin-cart-item{
    display: grid;
    grid-template-columns: clamp(90px, 9vw, 120px) 1fr auto;
    gap: clamp(10px, 1.2vw, 15px);
    align-items: center;
    padding: clamp(8px, 1vw, 12px) 0;
    border-bottom: 1px solid rgba(197, 160, 89, 0.1);
}

/* Remove border from last item */
:where(#odin-custom-cart-modal) .odin-cart-item:last-child{
    border-bottom: none !important;
}

:where(#odin-custom-cart-modal) .odin-item-img{
    position: relative;
    width: clamp(90px, 9vw, 120px);
    height: clamp(90px, 9vw, 120px);
    flex-shrink: 0;
    border-radius: clamp(6px, 0.8vw, 10px);
    overflow: visible;
    border: 1px solid rgba(197, 160, 89, 0.2);
    background: #000;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.6));
    flex-shrink: 0;
}

:where(#odin-custom-cart-modal) .odin-item-img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: clamp(6px, 0.8vw, 10px);
}

/* Qty Badge on Image — 1:1 wie Trunklager .odin-cart-qty-badge */
:where(#odin-custom-cart-modal) .odin-popup-badge{
    position: absolute;
    top: -6px;
    left: -6px;
    min-width: clamp(25px, 2.9vw, 32px);
    height: clamp(25px, 2.9vw, 32px);
    padding: 0;
    border-radius: 50%;
    aspect-ratio: 1;
    background: #ffffff;
    color: #BF8139;
    font-family: 'ITC Odin Con', serif !important;
    font-size: 18px;
    font-weight: 600;
    padding-bottom: 2px;
    line-height: 1;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

:where(#odin-custom-cart-modal) .odin-item-details{
    display: flex;
    flex-direction: column;
    gap: 1px;
    text-align: left;
    padding-top: 0;
    align-self: center;
    overflow: visible;
    min-width: 0;
}

/* PRODUCT NAME: Gold Gradient — Odin Font I 1:1 wie Trunklager */
:where(#odin-custom-cart-modal) .odin-item-name{
    font-family: 'ITC Odin Con', serif !important;
    font-size: clamp(1.6rem, 2.1vw, 2rem);
    font-weight: normal !important;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    line-height: 1.2;
    margin-bottom: 0;
    color: #ffda99 !important;
    background: linear-gradient(120deg, #f5db9a 0%, #fffbf1 40%, #fff0c4 70%, #eed8a2 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    text-shadow: none !important;
    filter: drop-shadow(0 0 10px rgba(244, 192, 100, 0.45));
}

/* The small variant part (e.g. 20 X 0,5L) */
:where(#odin-custom-cart-modal) .odin-small-variant{
    display: block;
    font-size: clamp(0.9rem, 1.15vw, 1rem);
    margin-top: 0;
    color: #d6be9f;
    font-family: 'ITC Odin Con', serif !important;
    font-weight: normal !important;
    letter-spacing: 0.03em;
    text-shadow: none;
    -webkit-text-fill-color: #d6be9f !important;
    background: none !important;
}

:where(#odin-custom-cart-modal) .odin-item-options{
    font-family: 'ITC Odin Con', serif !important;
    font-size: 0.8rem;
    color: #d6be9f;
    display: flex;
    flex-direction: column;
}

/* QUANTITY & UNIT PRICE */
:where(#odin-custom-cart-modal) .odin-item-meta{
    font-family: 'ITC Odin Con', serif !important;
    letter-spacing: 0.02em;
    font-weight: normal;
    font-size: clamp(0.9rem, 1.15vw, 1rem) !important;
    color: #d6be9f !important;
    margin-top: 2px;
    opacity: 1;
    white-space: nowrap;
}

/* ACTION COLUMN (counter + entleeren) — rechte Spalte */
:where(#odin-custom-cart-modal) .odin-item-action-col{
    display: flex;
    flex-direction: column;
    align-items: center;
    align-self: center;
    flex-shrink: 0;
    gap: 8px;
    padding-left: 8px;
}

/* Legacy fallback */
:where(#odin-custom-cart-modal) .odin-item-price-col{
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    align-self: center;
    flex-shrink: 0;
    gap: 3px;
    min-width: clamp(100px, 11vw, 140px);
}


/* ITEM TOTAL PRICE — jetzt in Details-Spalte (links) */
:where(#odin-custom-cart-modal) .odin-item-price{
    font-family: 'ITC Odin Con', serif !important;
    font-size: clamp(0.95rem, 1.2vw, 1.1rem);
    font-weight: 500;
    color: #d6be9f !important;
    -webkit-text-fill-color: #d6be9f !important;
    background: none !important;
    text-shadow: none;
    padding-top: 2px;
    line-height: 1;
}

/* Literpreis unter dem Preis */
:where(#odin-custom-cart-modal) .odin-item-liter{
    font-family: 'ITC Odin Con', serif !important;
    font-size: clamp(0.8rem, 1.1vw, 0.95rem) !important;
    font-weight: normal;
    color: #d6be9f !important;
    -webkit-text-fill-color: #d6be9f !important;
    background: none !important;
    white-space: nowrap;
    margin: 0 !important;
    line-height: 1.2;
}

/* Footer Area */
:where(#odin-custom-cart-modal) .odin-cart-footer{
    margin-top: 5px;
    padding-top: 10px;
    border-top: 1px solid rgba(197, 160, 89, 0.2);
}

:where(#odin-custom-cart-modal) .odin-cart-total-row{
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3px;
}
:where(#odin-custom-cart-modal) .odin-cart-total-row:first-child{
    margin-top: 0;
}
:where(#odin-custom-cart-modal) .odin-cart-total-row:last-of-type{
    margin-bottom: 0;
}

/* LABELS: ekl. MwSt / inkl. MwSt labels */
:where(#odin-custom-cart-modal) .odin-cart-total-row span:first-child{
    font-family: 'ITC Odin Con', serif !important;
    font-size: clamp(0.9rem, 1.15vw, 1rem) !important;
    font-weight: normal !important;
    text-transform: none !important;
    color: #d6be9f;
    letter-spacing: 0.5px;
}

/* VALUES: ekl. MwSt / inkl. MwSt values */
:where(#odin-custom-cart-modal) .odin-cart-total-row span:last-child{
    font-family: 'ITC Odin Con', serif !important;
    font-size: clamp(1.05rem, 1.35vw, 1.2rem);
    font-weight: normal;
    color: #d6be9f;
}

/* Subtotal & VAT specifics */
:where(#odin-custom-cart-modal) .odin-vat{
    margin-bottom: 5px;
}

/* GRAND TOTAL ROW: More Space */
:where(#odin-custom-cart-modal) .odin-total-gross{
    margin-top: 15px;
    padding-top: 12px;
    padding-bottom: 5px;
    border-top: 1px dashed rgba(197, 160, 89, 0.3);
}

/* GRAND TOTAL LABEL "SUMME" */
:where(#odin-custom-cart-modal) .odin-total-gross span:first-child{
    font-family: 'ITC Odin Con', serif !important;
    font-size: clamp(1rem, 1.35vw, 1.15rem) !important;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #d6be9f;
}

/* GRAND TOTAL VALUE: Gold Gradient */
:where(#odin-custom-cart-modal) .odin-total-gross span:last-child{
    font-family: 'ITC Odin Con', serif !important;
    font-size: clamp(1.8rem, 2.4vw, 2.16rem);
    white-space: nowrap;
    font-weight: 500;
    padding: 6px 0;
    background: linear-gradient(120deg, #f3d895 0%, #ffe3a0 40%, #fff0c4 70%, #ffe3a0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 6px rgba(244, 192, 100, 0.4));
}

/* =========================================================================
   INTERACTIVE CONTROLS: Qty +/- & Entleeren
   (Mini-Version vom Produktseiten-Counter)
   ========================================================================= */

/* Qty Controls Row — now inside price-col (right side) */
:where(#odin-custom-cart-modal) .odin-item-qty-row{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(3px, 0.5vw, 5px);
    margin-top: 0;
    height: clamp(50px, 5.5vw, 66px);
}

/* +/- Buttons — 1:1 wie Produktseite (CSS ::before/::after Gold-Linien) */
:where(#odin-custom-cart-modal) .odin-mini-qty-btn{
    appearance: none !important;
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    cursor: pointer;
    width: 36px !important;
    height: 36px !important;
    min-width: 32px !important;
    min-height: 32px !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    outline: none !important;
    transform: none !important;
    transition: filter 0.3s ease;
    touch-action: manipulation;
    user-select: none;
    -webkit-user-select: none;
    -webkit-tap-highlight-color: transparent;
    filter: drop-shadow(0 0 5px rgba(255, 230, 160, .4)) !important;
    overflow: visible !important;
    font-size: 0 !important;
    line-height: 0 !important;
    color: transparent !important;
    -webkit-text-fill-color: transparent !important;
}
/* SVG verstecken — CSS-Linien stattdessen */
:where(#odin-custom-cart-modal) .odin-mini-qty-btn .odin-pm-icon{
    display: none !important;
}
/* Horizontale Linie (Minus) — beide Buttons */
:where(#odin-custom-cart-modal) .odin-mini-qty-btn::before{
    content: '' !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: 18px !important;
    height: 2px !important;
    transform: translate(-50%, -50%) !important;
    background: linear-gradient(90deg, #f3d895, #ffe3a0, #fff0c4, #ffe3a0, #f3d895) !important;
    border-radius: 2px !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}
/* Vertikale Linie (Plus) — nur Plus-Button */
:where(#odin-custom-cart-modal) .odin-mini-qty-btn.odin-qty-plus::after{
    content: '' !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: 2px !important;
    height: 18px !important;
    transform: translate(-50%, -50%) !important;
    background: linear-gradient(180deg, #f3d895, #ffe3a0, #fff0c4, #ffe3a0, #f3d895) !important;
    border-radius: 2px !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}
:where(#odin-custom-cart-modal) .odin-mini-qty-btn:hover,
:where(#odin-custom-cart-modal) .odin-mini-qty-btn:focus{
    transform: none !important;
    filter: drop-shadow(0 0 10px rgba(244, 192, 100, 0.5)) !important;
}
:where(#odin-custom-cart-modal) .odin-mini-qty-btn.is-pressed{
    transform: none !important;
    filter: brightness(0.7) saturate(0.8) drop-shadow(0 0 3px rgba(255,230,160,.2)) !important;
    transition: filter 0.08s ease;
}

/* Kreis-Wrap mit Odin-Circle-Bild (1:1 wie Produktseite) */
:where(#odin-custom-cart-modal) .odin-mini-circle-wrap{
    display: flex;
    justify-content: center;
    align-items: center;
    width: clamp(60px, 5.6vw, 68px);   /* größer – Ring + Zahl waren zu klein */
    height: clamp(60px, 5.6vw, 68px);
    filter: drop-shadow(0 0 4px rgba(255, 215, 130, 0.12));
    position: relative;
}
:where(#odin-custom-cart-modal) .odin-mini-circle-wrap .odin-knot-ring{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140%;
    height: 140%;
    pointer-events: none;
    object-fit: contain;
    user-select: none;
    -webkit-user-drag: none;
}
/* Lottie Bienen-Ring — etwas kleiner als PNG, alle einheitlich */
:where(#odin-custom-cart-modal) .odin-mini-circle-wrap .odin-lottie-ring{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 118%;
    height: 118%;
    pointer-events: none;
}
:where(#odin-custom-cart-modal) .odin-mini-circle-wrap .odin-lottie-ring svg{
    width: 100% !important;
    height: 100% !important;
    overflow: visible !important;
}

/* Qty Display Number — Gold Gradient wie Input */
:where(#odin-custom-cart-modal) .odin-mini-qty-display{
    font-family: 'ITC Odin Con', serif !important;
    font-size: clamp(2rem, 2.4vw, 2.5rem);
    font-weight: 400;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(120deg, #f5db9a 0%, #fffbf1 40%, #fff0c4 70%, #eed8a2 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    filter: brightness(1.06) saturate(1.05) drop-shadow(0 0 5px rgba(255, 230, 160, .4));
    line-height: 1;
    user-select: none;
}

/* Entleeren Button — RED 1:1 wie Trunklager .odin-entleeren-btn */
:where(#odin-custom-cart-modal) .odin-item-remove-link{
    display: inline-flex;
    align-items: center;
    align-self: center;
    gap: 3px;
    margin-top: 0;
    font-family: 'ITC Odin Con', serif !important;
    background: none !important;
    text-decoration: none;
    cursor: pointer;
    transition: filter 0.2s ease;
    border: none;
    padding: 0;
    line-height: 1;
    user-select: none !important;
    -webkit-user-select: none !important;
    -webkit-touch-callout: none !important;
}
:where(#odin-custom-cart-modal) .odin-item-remove-link:hover{
    filter: drop-shadow(0 0 8px rgba(255, 100, 100, 0.5));
}
/* X Symbol */
:where(#odin-custom-cart-modal) .odin-entleeren-x{
    font-family: 'ITC Odin Con', serif !important;
    font-size: 1.15rem;
    font-weight: 400;
    color: #e35555 !important;
    -webkit-text-fill-color: #e35555 !important;
    line-height: 1;
    margin-top: -2px;
    user-select: none !important;
    -webkit-user-select: none !important;
}
/* Text */
:where(#odin-custom-cart-modal) .odin-entleeren-text{
    font-family: 'ITC Odin Con', serif !important;
    font-weight: 500;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #e35555 !important;
    -webkit-text-fill-color: #e35555 !important;
    user-select: none !important;
    -webkit-user-select: none !important;
}

/* ── PHONE (< 769px) — Panel zentriert, Controls kompakt ── */
@media screen and (max-width: 768px) {
    .odin-cart-panel {
        right: 2.5% !important;
        left: 2.5% !important;
        width: 95% !important;
        max-width: 420px !important;
        margin: 0 auto !important;
    }
    :where(#odin-custom-cart-modal) .odin-item-qty-row{
        height: 62px !important;
    }
    :where(#odin-custom-cart-modal) .odin-mini-qty-btn{
        width: 24px !important;
        height: 24px !important;
        min-width: 20px !important;
        min-height: 20px !important;
        margin: 0 3px !important;
    }
    :where(#odin-custom-cart-modal) .odin-mini-qty-btn::before{
        width: 14px !important;
    }
    :where(#odin-custom-cart-modal) .odin-mini-qty-btn.odin-qty-plus::after{
        height: 14px !important;
    }
    /* Ring + Zahl größer (vorher 42px / 1.3rem – am Handy zu klein) */
    :where(#odin-custom-cart-modal) .odin-mini-circle-wrap{
        width: 58px !important;
        height: 58px !important;
    }
    :where(#odin-custom-cart-modal) .odin-mini-qty-display{
        font-size: 1.5rem !important;   /* Zahl passt ins Ringloch (2rem war zu groß) */
    }
    :where(#odin-custom-cart-modal) .odin-entleeren-x{
        font-size: 0.85rem !important;
    }
    :where(#odin-custom-cart-modal) .odin-entleeren-text{
        font-size: 0.65rem !important;
    }
    /* Keine Hover-Animationen auf Touch */
    :where(#odin-custom-cart-modal) .odin-mini-qty-btn,
    :where(#odin-custom-cart-modal) .odin-mini-qty-btn:hover{
        transition: none !important;
    }
}

/* ── Handy: Panel nie abgeschnitten (Rand mitgerechnet, sichtbare Höhe statt 100vh) + leeres Horn kompakt ── */
@media screen and (max-width: 768px) {
    .odin-cart-panel {
        box-sizing: border-box !important;
        max-height: calc(100vh - 116px) !important;
        max-height: calc(100svh - 116px) !important;
    }
    :where(#odin-custom-cart-modal) .odin-cart-empty{ padding: 18px 0 26px !important; }
    :where(#odin-custom-cart-modal) .odin-cart-empty .odin-horn-wrap{ width: 170px !important; height: 170px !important; }
    :where(#odin-custom-cart-modal) .odin-cart-empty p{
        padding: 0 12px !important;
        font-size: 2.6rem !important;
        line-height: 1.08 !important;
        margin: 6px 0 12px !important;
    }
}

/* ── KLEINE PHONES (< 414px) ── */
@media screen and (max-width: 414px) {
    .odin-cart-panel {
        right: 1.5% !important;
        left: 1.5% !important;
        width: 97% !important;
        max-width: none !important;
    }
    :where(#odin-custom-cart-modal) .odin-mini-qty-btn{
        width: 20px !important;
        height: 20px !important;
        min-width: 18px !important;
        min-height: 18px !important;
    }
    :where(#odin-custom-cart-modal) .odin-mini-qty-btn::before{
        width: 11px !important;
    }
    :where(#odin-custom-cart-modal) .odin-mini-qty-btn.odin-qty-plus::after{
        height: 11px !important;
    }
    /* vorher 36px / 1.1rem – zu klein */
    :where(#odin-custom-cart-modal) .odin-mini-circle-wrap{
        width: 54px !important;
        height: 54px !important;
    }
    :where(#odin-custom-cart-modal) .odin-mini-qty-display{
        font-size: 1.4rem !important;
    }
}

/* Checkout Button Group */
:where(#odin-custom-cart-modal) .odin-cart-actions{
    display: flex;
    flex-direction: row !important;
    /* Force side-by-side on Desktop */
    gap: 15px;
    margin-top: 25px;
    margin-bottom: 10px;
    width: 100%;
}

/* CART BUTTONS: Sammeln-style mask-composite ring */
:where(#odin-custom-cart-modal) .odin-cart-btn{
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    max-width: 220px;
    height: clamp(50px, 4.25vw, 60px);
    padding: 0 clamp(16px, 1.55vw, 22px) 2px;
    border-radius: 999px !important;
    border: none !important;
    background: linear-gradient(120deg, #f3d895 0%, #ffe3a0 40%, #fff0c4 70%, #ffe3a0 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-color: transparent !important;
    font-family: 'ITC Odin Con', serif !important;
    font-size: clamp(1rem, 1.35vw, 1.2rem);
    font-weight: 500 !important;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    line-height: 1;
    text-decoration: none !important;
    text-shadow: none !important;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: 0 0 4px rgba(230, 168, 91, 0.15) !important;
    transition: box-shadow 0.5s ease !important;
    transform: none !important;
    overflow: visible;
}
:where(#odin-custom-cart-modal) .odin-cart-btn::before{
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 999px;
    padding: 2px;
    background: linear-gradient(120deg, #c5a059, #d4b06a, #f3d895, #ffe3a0, #f3d895, #d4b06a, #c5a059);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
    /* statischer Gradient-Ring, keine Animation */
}
/* Mobile: keine Animation, nur statischer Gradient-Ring */
@media screen and (max-width: 768px) {
    :where(#odin-custom-cart-modal) .odin-cart-btn::before,
    :where(#odin-custom-cart-modal) .odin-cart-fallback-btn::before{
        animation: none !important;
        background: linear-gradient(120deg, #c5a059, #d4b06a, #f3d895, #ffe3a0, #f3d895, #d4b06a, #c5a059) !important;
    }
    /* Besiegeln grün auch auf Mobile */
    :where(#odin-custom-cart-modal) .odin-cart-btn.odin-btn-right::before{
        background: linear-gradient(120deg, #3a9a3a, #5bc55b, #7ae07a, #a0ffb0, #7ae07a, #5bc55b, #3a9a3a) !important;
    }
    /* Mobile: KEINE Animationen auf Buttons — NUR Gradient */
    :where(#odin-custom-cart-modal) .odin-cart-btn,
    :where(#odin-custom-cart-modal) .odin-cart-btn:hover,
    :where(#odin-custom-cart-modal) .odin-cart-btn:active,
    :where(#odin-custom-cart-modal) .odin-cart-fallback-btn,
    :where(#odin-custom-cart-modal) .odin-cart-fallback-btn:hover,
    :where(#odin-custom-cart-modal) .odin-cart-fallback-btn:active{
        transition: none !important;
        animation: none !important;
        transform: none !important;
        box-shadow: none !important;
    }
}
:where(#odin-custom-cart-modal) .odin-cart-btn:hover{
    box-shadow: 0 0 14px rgba(230, 168, 91, 0.7), 0 0 28px rgba(230, 168, 91, 0.35) !important;
    text-decoration: none;
}

/* BESIEGELN: Grüner Button — 1:1 wie Produktseite */
:where(#odin-custom-cart-modal) .odin-cart-btn.odin-btn-right{
    background: linear-gradient(120deg, #5bc55b 0%, #7ae07a 40%, #a0ffb0 70%, #7ae07a 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    box-shadow: 0 0 12px rgba(90, 220, 90, 0.5), 0 0 28px rgba(90, 220, 90, 0.25), inset 0 0 8px rgba(90, 220, 90, 0.1) !important;
}
:where(#odin-custom-cart-modal) .odin-cart-btn.odin-btn-right::before{
    background: linear-gradient(120deg, #3a9a3a, #5bc55b, #7ae07a, #a0ffb0, #7ae07a, #5bc55b, #3a9a3a) !important;
}
:where(#odin-custom-cart-modal) .odin-cart-btn.odin-btn-right:hover{
    box-shadow: 0 0 14px rgba(90, 220, 90, 0.7), 0 0 28px rgba(90, 220, 90, 0.35) !important;
}

/* Fallback btn - 1:1 wie Sammeln (.odin-grid-btn) */
:where(#odin-custom-cart-modal) .odin-cart-fallback-btn{
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: clamp(140px, 16vw, 180px);
    height: 60px;
    margin-top: 15px;
    padding: 0 clamp(18px, 2vw, 28px) 5px;
    border-radius: 999px !important;
    border: none !important;
    background: linear-gradient(120deg, #f3d895 0%, #ffe3a0 40%, #fff0c4 70%, #ffe3a0 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    font-family: 'ITC Odin Con', serif;
    font-size: 1.35rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    text-align: center;
    text-decoration: none;
    text-shadow: none;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: 0 0 4px rgba(230, 168, 91, 0.15);
    transition: box-shadow 0.5s ease;
    overflow: visible;
}
:where(#odin-custom-cart-modal) .odin-cart-fallback-btn::before{
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 999px;
    padding: 2px;
    background: linear-gradient(120deg, #c5a059, #d4b06a, #f3d895, #ffe3a0, #f3d895, #d4b06a, #c5a059);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
    /* statischer Gradient-Ring, keine Animation */
}
:where(#odin-custom-cart-modal) .odin-cart-fallback-btn:hover{
    box-shadow: 0 0 14px rgba(230, 168, 91, 0.7), 0 0 28px rgba(230, 168, 91, 0.35) !important;
    text-decoration: none !important;
    -webkit-text-fill-color: transparent !important;
    background: linear-gradient(120deg, #f3d895 0%, #ffe3a0 40%, #fff0c4 70%, #ffe3a0 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
}

/* Empty/Loader */
:where(#odin-custom-cart-modal) .odin-cart-empty,
:where(#odin-custom-cart-modal) .odin-cart-loader{
    text-align: center;
    padding: 40px 0;
    color: #888;
    font-family: 'ITC Odin Con', serif;
    display: flex;
    flex-direction: column;
    align-items: center;
}
:where(#odin-custom-cart-modal) .odin-cart-empty p{
    font-family: 'ITC Odin Con', serif;
    font-size: 3rem;
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    background: linear-gradient(120deg, #f3d895 0%, #ffe3a0 40%, #fff0c4 70%, #ffe3a0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #f3d895;
    margin: 0 0 20px 0;
    line-height: 3rem;
    padding: 0 100px;
}
:where(#odin-custom-cart-modal) .odin-cart-empty::before{
    content: none;
    display: none;
}

/* Horn Fill-Animation */
:where(#odin-custom-cart-modal) .odin-horn-wrap{
    position: relative;
    width: 220px;
    height: 220px;
    filter: drop-shadow(0 0 10px rgba(191, 129, 57, 0.4));
}
:where(#odin-custom-cart-modal) .odin-horn-wrap img{
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: contain;
    transform: none !important;
}
:where(#odin-custom-cart-modal) .odin-horn-wrap{
    transition: filter 0.4s ease;
}
/* Kein Glow-Hover auf dem Horn-Bild selbst */
:where(#odin-custom-cart-modal) .odin-horn-empty{ z-index: 1; }
/* Zurück-Transition: 2s leeren */
:where(#odin-custom-cart-modal) .odin-horn-full{
    z-index: 2;
    clip-path: inset(100% 0 0 0);
    transition: clip-path 2s ease-out;
}
/* 3s smooth füllen, sofort starten */
:where(#odin-custom-cart-modal) .odin-horn-wrap.is-filling .odin-horn-full{
    clip-path: inset(0 0 0 0);
    transition: clip-path 3s ease;
}

/* Ecwid-eigene Teile ausblenden, die die Seite ersetzt (live in css/edits.css, auf jeder Seite): schwebender
   Warenkorb (dafür das Horn) und Ecwids Cookie-Hinweis. */

/* D) HORN WIDGET (Ausblenden Original) */
.ec-minicart,
.ec-cart-widget,
.ec-minicart--floating,
.ec-minicart--fixed,
.ec-minicart__popup {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}
/* =========================================
   COOKIE BANNER KILLER (Version 2.0)
   Versteckt das Banner basierend auf deinem Screenshot
   ========================================= */

/* Wir greifen den Container direkt am Klassennamen */
.ec-notice.ec-notice--cookie,
.ec-notice--cookie,
.ec-notice__message,
div[class*="ec-notice--cookie"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;

    /* Zur Sicherheit schieben wir es aus dem Bild */
    position: absolute !important;
    top: -9999px !important;
    left: -9999px !important;
    z-index: -1 !important;
    height: 0 !important;
    width: 0 !important;
}

/* Falls noch ein Wrapper drumherum ist */
.ec-notices_wrap .ec-notice--cookie {
    display: none !important;
}

/* BeTheme-Grundlagen, die das Fenster live mitbekommt (be.min.css): Maße ohne Innenabstand (content-box) und Knöpfe mit
   den BeTheme-Werten - wie am Ende von spiel.css, nur für das Fenster. */
:where(#odin-custom-cart-modal) { box-sizing: content-box; }
:where(#odin-custom-cart-modal) :where(*, :where(#odin-custom-cart-modal) *::before, :where(#odin-custom-cart-modal) *::after){ box-sizing: inherit; }
:where(#odin-custom-cart-modal) button {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px; position: relative; box-sizing: border-box;
    font-family: "Norse Bold"; font-size: 24px; font-style: inherit; letter-spacing: 0px; line-height: 1.2; padding: 20px 32px;
    border-width: 0; border-style: none; border-radius: 0; outline: unset; text-decoration: none; cursor: pointer; overflow: hidden;
    transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out, border-color 0.2s ease-in-out;
}
/* BeTheme-Grundschrift nach Breite (wie .odin-inhalt--voll in sorten.css) */
:where(#odin-custom-cart-modal) { font-size: 16px; line-height: 26px; }
@media only screen and (min-width: 768px) and (max-width: 959px) { :where(#odin-custom-cart-modal) { font-size: 14px; line-height: 22px; } }
@media only screen and (min-width: 480px) and (max-width: 767px) { :where(#odin-custom-cart-modal) { font-size: 13px; line-height: 20px; } }
@media only screen and (max-width: 479px) { :where(#odin-custom-cart-modal) { font-size: 13px; line-height: 19px; } }

/* Blumenkranz (Kirschbier) ist duenner als der Knoten-Ring und wirkte zu klein: groesser zeigen,
   +/- etwas weiter weg, damit nichts ueberlappt (Gonto 30.11.2026) */
:where(#odin-custom-cart-modal) .odin-mini-circle-wrap .odin-knot-ring[src*="kirsch_ring"]{
    width: 160%;
    height: 160%;
}
:where(#odin-custom-cart-modal) .odin-item-action-col:has(.odin-knot-ring[src*="kirsch_ring"]) .odin-item-remove-link{
    margin-top: 9px;
}
:where(#odin-custom-cart-modal) .odin-mini-circle-wrap:has(.odin-knot-ring[src*="kirsch_ring"]){
    margin: 0 9px;
}
