/* =========================================
   CUSTOM OVERRIDES (JTL NOVA CHILD)
   ========================================= */


/* =========================================
   EQUAL-HEIGHT PRODUCT CARDS
   ========================================= */

.product-list.layout-gallery {
    display: flex !important;
    flex-wrap: wrap !important;
    row-gap: 2rem !important;          /* Abstand zwischen Zeilen — ersetzt margin-bottom */
}

/* WICHTIG: margin-bottom auf ALLEN Wrappern neutralisieren!
   my-nova.css setzt #product-list .product-wrapper:not(:last-child) { margin-bottom: 4rem }
   → letzte Card hat 0 Margin, andere 4rem → unterschiedliche Content-Höhen im Flex-Row.
   Wir nutzen stattdessen row-gap auf dem Container. */
#product-list .product-wrapper,
.product-list .product-wrapper {
    display: flex !important;
    margin-bottom: 0 !important;
    height: auto !important;           /* JTL-JS setzt inline height → muss überschrieben werden */
}

.product-list .productbox {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
}

.product-list .productbox > form {
    flex: 1 1 auto !important;
    display: flex !important;
    flex-direction: column !important;
}

.product-list .productbox .productbox-inner {
    flex: 1 1 auto !important;
    display: flex !important;
    flex-direction: column !important;
}

/* Row als Flex-Column statt Row+Wrap — damit flex-grow auf letzter Spalte greift */
.product-list .productbox .productbox-inner > .row {
    flex: 1 1 auto !important;
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
}

/* Bootstrap col-12 Reset: im Column-Kontext nur Content-Höhe, volle Breite */
.product-list .productbox .productbox-inner > .row > [class*="col"] {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
}

/* Letzte Spalte füllt restliche Höhe → margin-top:auto auf quickbuy greift */
.product-list .productbox .productbox-inner > .row > [class*="col"]:last-child {
    flex: 1 1 auto !important;
    display: flex !important;
    flex-direction: column !important;
}

/* Quick-Buy immer ganz unten in der Card */
.productbox-quickbuy {
    margin-top: auto !important;
    padding: 0.5rem 0 0.25rem !important;
}


/* =========================================
   QUICK-BUY: Produktübersicht
   Mobile First — alle Basis-Styles = Mobile
   ========================================= */

/* --- Varianten-Pills Container --- */
.productbox-quickbuy .quickbuy-variants {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.25rem !important;
    margin-bottom: 0.4rem !important;
    align-items: center !important;
    list-style: none !important;
    padding: 0 !important;
}

/* --- Einzelne Pill --- */
.productbox-quickbuy .quickbuy-pill {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0.15rem 0.45rem !important;
    border: 1.5px solid #dee2e6 !important;
    border-radius: 20px !important;
    font-size: 0.68rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    background: #fff !important;
    color: #333 !important;
    text-decoration: none !important;
    min-width: 1.8rem !important;
    text-align: center !important;
    line-height: 1.4 !important;
    margin: 0 !important;
    user-select: none !important;
    width: auto !important;
    float: none !important;
    box-sizing: border-box !important;
}

.productbox-quickbuy .quickbuy-pill:hover {
    border-color: var(--primary, #F8BF00) !important;
    text-decoration: none !important;
    color: #333 !important;
}

.productbox-quickbuy .quickbuy-pill.active {
    border-color: var(--primary, #F8BF00) !important;
    background: var(--primary, #F8BF00) !important;
    color: var(--dark, #333) !important;
}

.productbox-quickbuy .quickbuy-more {
    border-style: dashed !important;
    opacity: 0.6 !important;
    font-size: 0.62rem !important;
}

.productbox-quickbuy .quickbuy-more:hover {
    opacity: 1 !important;
}

/* --- Menge + Warenkorb-Zeile --- */
.productbox-quickbuy .quickbuy-row {
    display: flex !important;
    align-items: center !important;
    gap: 0.35rem !important;
    flex-wrap: nowrap !important;
}

/* --- Mengen-Stepper --- */
.productbox-quickbuy .quickbuy-qty {
    display: flex !important;
    align-items: center !important;
    border: 1.5px solid #dee2e6 !important;
    border-radius: 6px !important;
    overflow: hidden !important;
    height: 30px !important;
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
    width: auto !important;
    background: #fff !important;
}

.productbox-quickbuy .quickbuy-qty-btn {
    background: none !important;
    border: none !important;
    padding: 0 0.4rem !important;
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    color: #555 !important;
    line-height: 1 !important;
    transition: background 0.15s, color 0.15s !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    width: auto !important;
    min-width: 0 !important;
    flex-shrink: 0 !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    box-shadow: none !important;
    outline: none !important;
}

.productbox-quickbuy .quickbuy-qty-btn:hover {
    background: var(--light, #f5f7fa) !important;
    color: var(--primary, #F8BF00) !important;
}

.productbox-quickbuy .quickbuy-qty-input {
    width: 1.6rem !important;
    text-align: center !important;
    border: none !important;
    border-left: 1px solid #eee !important;
    border-right: 1px solid #eee !important;
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    padding: 0 !important;
    height: 100% !important;
    -moz-appearance: textfield !important;
    appearance: textfield !important;
    -webkit-appearance: none !important;
    background: transparent !important;
    min-width: 0 !important;
    max-width: 2rem !important;
    flex-shrink: 0 !important;
    box-shadow: none !important;
    outline: none !important;
    border-radius: 0 !important;
}

.productbox-quickbuy .quickbuy-qty-input::-webkit-inner-spin-button,
.productbox-quickbuy .quickbuy-qty-input::-webkit-outer-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
}

.productbox-quickbuy .quickbuy-qty-input:focus {
    outline: none !important;
    box-shadow: none !important;
}

/* --- Warenkorb-Button — volle Breite ausfüllen --- */
.productbox-quickbuy .quickbuy-cart {
    background: var(--primary, #F8BF00) !important;
    color: var(--dark, #333) !important;
    border: none !important;
    border-radius: 6px !important;
    height: 30px !important;
    font-size: 0.85rem !important;
    cursor: pointer !important;
    transition: opacity 0.2s, transform 0.15s !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 1 1 0% !important;
    min-width: 0 !important;
    padding: 0 0.5rem !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    box-shadow: none !important;
    outline: none !important;
}

.productbox-quickbuy .quickbuy-cart:hover {
    opacity: 0.85 !important;
    transform: scale(1.05) !important;
}

.productbox-quickbuy .quickbuy-cart:active {
    transform: scale(0.95) !important;
}

/* --- "Zum Artikel" Link-Button (Alternative) --- */
.productbox-quickbuy .quickbuy-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.35rem !important;
    background: var(--primary, #F8BF00) !important;
    color: var(--dark, #333) !important;
    border: none !important;
    border-radius: 6px !important;
    padding: 0.4rem 0.8rem !important;
    font-size: 0.72rem !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: opacity 0.2s !important;
    line-height: 1.4 !important;
}

.productbox-quickbuy .quickbuy-link:hover {
    opacity: 0.85 !important;
    color: var(--dark, #333) !important;
    text-decoration: none !important;
}

/* --- Spinner --- */
.productbox-quickbuy .quickbuy-cart .fa-spinner {
    animation: spin 0.8s linear infinite !important;
}

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


/* ===== Tablet (>=576px) ===== */
@media (min-width: 576px) {
    .productbox-quickbuy .quickbuy-pill {
        padding: 0.2rem 0.55rem !important;
        font-size: 0.72rem !important;
    }

    .productbox-quickbuy .quickbuy-qty {
        height: 32px !important;
    }

    .productbox-quickbuy .quickbuy-qty-input {
        width: 1.8rem !important;
        font-size: 0.78rem !important;
    }

    .productbox-quickbuy .quickbuy-cart {
        width: 34px !important;
        height: 32px !important;
    }

    .productbox-quickbuy .quickbuy-link {
        font-size: 0.75rem !important;
        padding: 0.4rem 1rem !important;
    }
}

/* ===== Desktop (>=992px) ===== */
@media (min-width: 992px) {
    .productbox-quickbuy .quickbuy-pill {
        padding: 0.2rem 0.65rem !important;
        font-size: 0.75rem !important;
    }

    .productbox-quickbuy .quickbuy-variants {
        gap: 0.3rem !important;
    }

    .productbox-quickbuy .quickbuy-qty {
        height: 34px !important;
    }

    .productbox-quickbuy .quickbuy-qty-btn {
        padding: 0 0.5rem !important;
    }

    .productbox-quickbuy .quickbuy-qty-input {
        width: 2rem !important;
        font-size: 0.8rem !important;
    }

    .productbox-quickbuy .quickbuy-cart {
        width: 36px !important;
        height: 34px !important;
        font-size: 0.9rem !important;
    }

    .productbox-quickbuy .quickbuy-link {
        font-size: 0.78rem !important;
        padding: 0.45rem 1.2rem !important;
    }
}


/* =========================================
   PRODUCT DETAIL PAGE — Mobile First
   Alle Farben über CSS-Variablen (--primary, --secondary, --dark, --light)
   Nur NOVAChild — NOVA Original bleibt unberührt
   ========================================= */

/* --- 1. Produkttitel --- */
.product-info-inner .product-title {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.3;
    margin-bottom: 0.6rem;
    color: var(--dark, #333);
}

/* Artikelnummer ausblenden */
.product-info-inner .info-essential .product-sku {
    display: none;
}

/* --- 2. Meta-Info (Kategorie, Hersteller) als Inline-Pills --- */
.product-info-inner .info-essential {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    padding: 0;
    margin-bottom: 0.8rem;
}

.product-info-inner .info-essential li {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    background: var(--light, #f5f7fa);
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    font-size: 0.72rem;
    color: var(--gray, #707070);
    line-height: 1.5;
}

.product-info-inner .info-essential li strong {
    font-weight: 500;
    color: var(--gray-dark, #9b9b9b);
}

.product-info-inner .info-essential li a {
    color: var(--dark, #525252);
    text-decoration: none;
}

.product-info-inner .info-essential li a:hover {
    color: var(--primary, #F8BF00);
}

/* --- 3. Kurzbeschreibung --- */
.product-info-inner .shortdesc {
    background: var(--light, #f5f7fa);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--gray-darker, #525252);
    margin-bottom: 1rem;
    border-left: 3px solid var(--primary, #F8BF00);
}

/* --- 4. Varianten-Selector — Moderne Pills --- */
.product-info-inner .variations .variation-wrapper {
    margin-bottom: 0.5rem;
}

/* Label "Stück" */
.product-info-inner .variations dt,
.product-info-inner .variations .js-btn-slider-wrapper {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gray, #707070);
    margin-bottom: 0.4rem;
}

/* Varianten-Container (swatches) */
.product-info-inner .variations dd.form-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* Fix: Slider-Wrapper Layout (form-row negative margins überschreiben) */
.product-info-inner .variations .js-slider-items,
.product-info-inner .variations .form-row.swatches {
    display: flex !important;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0;
}

.product-info-inner .variations .js-slider-item,
.product-info-inner .variations .form-row.swatches > .col-auto {
    flex: 0 0 auto;
    width: auto !important;
    padding: 0;
}

/* Variation-Label als Pill-Button (swatches-text Layout) */
.product-info-inner .variations .variation.swatches,
.product-info-inner .variations label.variation {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    padding: 0.5rem 1.2rem;
    border: 2px solid #dee2e6;
    border-radius: 24px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #fff;
    color: var(--dark, #333);
    text-align: center;
    min-width: 3.5rem;
    line-height: 1.4;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
}

/* Aufpreis-Badge + sr-only ausblenden */
.product-info-inner .variations .variation.swatches .variation-badge,
.product-info-inner .variations label.variation .variation-badge {
    display: none !important;
}

.product-info-inner .variations .variation.swatches .sr-only,
.product-info-inner .variations label.variation .sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
}

/* Hover */
.product-info-inner .variations .variation.swatches:hover,
.product-info-inner .variations label.variation:hover {
    border-color: var(--primary, #F8BF00);
    background: rgba(248, 191, 0, 0.05);
}

/* Active/Selected */
.product-info-inner .variations .variation.swatches.active,
.product-info-inner .variations label.variation.active {
    border-color: var(--primary, #F8BF00);
    background: var(--primary, #F8BF00);
    color: var(--dark, #333);
    box-shadow: 0 2px 8px rgba(248, 191, 0, 0.3);
}

/* (Badge ist ausgeblendet, Active-Styles nicht nötig) */

/* Nicht verfügbare Varianten */
.product-info-inner .variations .variation.swatches.not-available,
.product-info-inner .variations label.variation.not-available {
    opacity: 0.4;
    text-decoration: line-through;
    cursor: not-allowed;
}

/* Fallback: custom-radio Varianten (dropdown/radio Layout) */
.product-info-inner .variations .custom-radio {
    padding-left: 0;
    margin-bottom: 0;
}

.product-info-inner .variations .custom-radio .custom-control-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.4rem 1rem;
    border: 2px solid #dee2e6;
    border-radius: 24px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #fff;
    color: var(--dark, #333);
}

.product-info-inner .variations .custom-radio .custom-control-label::before,
.product-info-inner .variations .custom-radio .custom-control-label::after {
    display: none !important;
}

.product-info-inner .variations .custom-radio .custom-control-label:hover {
    border-color: var(--primary, #F8BF00);
}

.product-info-inner .variations .custom-radio .custom-control-input:checked ~ .custom-control-label {
    border-color: var(--primary, #F8BF00);
    background: var(--primary, #F8BF00);
    color: var(--dark, #333);
    box-shadow: 0 2px 8px rgba(248, 191, 0, 0.3);
}

/* --- 5. Preis — Prominent --- */
.product-info-inner .price_wrapper {
    padding: 0.8rem 0;
    margin-bottom: 0.3rem;
    border-top: 1px solid #eee;
}

.product-info-inner .price_wrapper .price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--dark, #333);
    line-height: 1.2;
}

.product-info-inner .price_wrapper .price .text-muted,
.product-info-inner .price_wrapper .price .from-price {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--gray, #707070);
}

.product-info-inner .price-note,
.product-info-inner .price_wrapper .price-note {
    font-size: 0.73rem;
    color: var(--gray-dark, #9b9b9b);
    margin-top: 0.15rem;
}

.product-info-inner .price-note a {
    color: var(--gray-dark, #9b9b9b);
    text-decoration: underline;
}

/* Streichpreis */
.product-info-inner .price_wrapper .old-price {
    font-size: 1rem;
    color: var(--gray-dark, #9b9b9b);
    text-decoration: line-through;
}

/* --- 6. Verfügbarkeit — Badge-Style --- */
.product-info-inner .delivery-status {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Grüner Status (verfügbar) */
.product-info-inner .delivery-status .status-1,
.product-info-inner .delivery-status .status-2 {
    color: #2e7d32;
}

.product-info-inner .delivery-status:has(.status-1),
.product-info-inner .delivery-status:has(.status-2) {
    background: #e8f5e9;
    color: #2e7d32;
}

/* Gelber Status (knapper Bestand) */
.product-info-inner .delivery-status .status-0 {
    color: #e65100;
}

.product-info-inner .delivery-status:has(.status-0) {
    background: #fff3e0;
    color: #e65100;
}

/* Lieferzeit-Text */
.product-info-inner .estimated-delivery {
    font-size: 0.73rem;
    color: var(--gray, #707070);
    margin-top: 0.15rem;
}

/* --- 7. Menge + Warenkorb --- */
.product-info-inner .form-counter {
    border: 2px solid #dee2e6;
    border-radius: 10px;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
}

.product-info-inner .form-counter .btn {
    border: none;
    background: transparent;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark, #525252);
    padding: 0.4rem 0.7rem;
    transition: background 0.15s;
    line-height: 1;
}

.product-info-inner .form-counter .btn:hover {
    background: var(--light, #f5f7fa);
    color: var(--primary, #F8BF00);
}

.product-info-inner .form-counter .form-control {
    border: none;
    border-left: 1px solid #eee;
    border-right: 1px solid #eee;
    text-align: center;
    font-weight: 600;
    font-size: 0.95rem;
    width: 3rem;
    padding: 0.4rem 0;
    box-shadow: none;
}

/* Warenkorb-Button (überschreibt auch .btn-primary.btn-block) */
.product-info-inner button[name="inWarenkorb"],
#buy_form .product-buy button[name="inWarenkorb"],
#buy_form .basket-form-inline .btn-primary.btn-block {
    background: var(--primary, #F8BF00) !important;
    color: var(--dark, #333) !important;
    border: none !important;
    border-radius: 10px !important;
    font-weight: 700;
    font-size: 1rem;
    padding: 0.7rem 1.5rem;
    transition: opacity 0.2s, transform 0.15s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    width: 100%;
}

.product-info-inner button[name="inWarenkorb"]:hover,
#buy_form .product-buy button[name="inWarenkorb"]:hover,
#buy_form .basket-form-inline .btn-primary.btn-block:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(248, 191, 0, 0.35);
}

.product-info-inner button[name="inWarenkorb"]:active,
#buy_form .product-buy button[name="inWarenkorb"]:active {
    transform: translateY(0);
}

/* --- 8. "Frage zum Artikel" — dezenter --- */
.product-info-inner .question-btn,
.product-info-inner [data-toggle="modal"][data-target*="question"] {
    font-size: 0.78rem;
    color: var(--gray, #707070);
    background: transparent;
    border: none;
    padding: 0.3rem 0;
    text-decoration: underline;
    transition: color 0.2s;
}

.product-info-inner .question-btn:hover,
.product-info-inner [data-toggle="modal"][data-target*="question"]:hover {
    color: var(--primary, #F8BF00);
}

/* --- 9. Beschreibungs-Tabs --- */
.tab-navigation {
    margin-top: 2rem;
}

#product-tabs {
    border-bottom: 2px solid var(--light, #f5f7fa);
    gap: 0;
}

#product-tabs .nav-link {
    border: none;
    border-bottom: 3px solid transparent;
    border-radius: 0;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--gray, #707070);
    padding: 0.75rem 1.2rem;
    transition: color 0.2s, border-color 0.2s;
    background: transparent;
}

#product-tabs .nav-link:hover {
    color: var(--dark, #333);
    border-bottom-color: var(--gray-medium, #ebebeb);
}

#product-tabs .nav-link.active {
    color: var(--dark, #333);
    border-bottom-color: var(--primary, #F8BF00);
    background: transparent;
}

/* Tab-Content */
#tab-content-product-tabs {
    padding: 1.5rem 0;
}

#tab-content-product-tabs .desc {
    font-size: 0.9rem;
    line-height: 1.75;
    color: var(--gray-darker, #525252);
}

#tab-content-product-tabs .desc p {
    margin-bottom: 0.8rem;
}

#tab-content-product-tabs .desc ul {
    padding-left: 1.2rem;
    margin-bottom: 1rem;
}

#tab-content-product-tabs .desc ul li {
    margin-bottom: 0.3rem;
    line-height: 1.6;
}

#tab-content-product-tabs .desc b,
#tab-content-product-tabs .desc strong {
    color: var(--dark, #333);
    font-weight: 700;
}

/* Scroll-Offset für Tabs (damit Header nicht verdeckt) */
.tab-navigation {
    scroll-margin-top: 80px;
}

/* --- 10. Bildgalerie --- */
#image_wrapper #gallery .product-image .inner img,
#image_wrapper .square-image .inner img {
    border-radius: 12px;
}

#image_wrapper .product-thumbnails .square-image .inner img {
    border-radius: 6px;
    transition: opacity 0.2s;
}

#image_wrapper .product-thumbnails .slick-current .square-image .inner img {
    outline: 2px solid var(--primary, #F8BF00);
    outline-offset: 2px;
    border-radius: 6px;
}

/* Wishlist/Compare Icons im Bild — prominent und immer sichtbar */
.product-gallery .product-actions {
    opacity: 1 !important;
    visibility: visible !important;
}

.product-gallery .product-actions .btn {
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.12);
    transition: all 0.2s;
    opacity: 1 !important;
    font-size: 1rem;
}

.product-gallery .product-actions .btn:hover {
    background: var(--primary, #F8BF00);
    transform: scale(1.1);
}

.product-gallery .product-actions .btn.wishlist {
    color: #e74c3c;
}

.product-gallery .product-actions .btn.wishlist:hover {
    background: #e74c3c;
    color: #fff;
}

/* --- Fix: JTL hidden validation button --- */
#buy_form .btn-hidden,
#buy_form .btn-hidden-default {
    display: none !important;
}

/* --- 11. Alert-Box (Variationshinweis) --- */
.product-info-inner .alert {
    border-radius: 10px;
    font-size: 0.82rem;
    padding: 0.6rem 1rem;
    border: none;
    background: var(--light, #f5f7fa);
    color: var(--gray-darker, #525252);
}

/* --- 12. Allgemeine Spacing & Separatoren --- */
.product-info-inner .product-offer > .row {
    margin-bottom: 0.3rem;
}

/* Breadcrumb dezenter */
.breadcrumb-container {
    font-size: 0.78rem;
}

.breadcrumb-container .breadcrumb-item a {
    color: var(--gray, #707070);
}

.breadcrumb-container .breadcrumb-item.active {
    color: var(--dark, #333);
}


/* ===== Tablet (>=576px) ===== */
@media (min-width: 576px) {
    .product-info-inner .product-title {
        font-size: 1.55rem;
    }

    .product-info-inner .price_wrapper .price {
        font-size: 2.2rem;
    }

    #buy_form button[name="inWarenkorb"] {
        width: auto;
        min-width: 200px;
    }
}


/* ===== Desktop (>=992px) ===== */
@media (min-width: 992px) {
    .product-info-inner .product-title {
        font-size: 1.8rem;
    }

    .product-info-inner .price_wrapper .price {
        font-size: 2.4rem;
    }

    .product-info-inner .variations .custom-radio .custom-control-label {
        padding: 0.45rem 1.2rem;
        font-size: 0.85rem;
    }

    #tab-content-product-tabs {
        padding: 2rem 0;
    }

    #tab-content-product-tabs .desc {
        font-size: 0.95rem;
        max-width: 800px;
    }
}


/* ===== Mobile Sticky Add-to-Cart Bar (< 992px) ===== */
@media (max-width: 991.98px) {
    .product-buy .basket-form-inline,
    #add-to-cart .basket-form-inline {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 1030;
        background: rgba(255, 255, 255, 0.96);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        box-shadow: 0 -2px 16px rgba(0, 0, 0, 0.08);
        padding: 0.6rem 1rem;
        display: flex;
        align-items: center;
        gap: 0.6rem;
        margin: 0;
    }

    .product-buy .basket-form-inline .form-counter,
    #add-to-cart .basket-form-inline .form-counter {
        flex-shrink: 0;
    }

    .product-buy .basket-form-inline .btn-primary,
    #add-to-cart .basket-form-inline .btn-primary {
        flex: 1;
        padding: 0.65rem 1rem;
        font-size: 0.95rem;
        border-radius: 10px;
        width: auto;
    }

    /* Padding unten am Body damit Content nicht vom Sticky Bar verdeckt wird */
    body:has(#buy_form) {
        padding-bottom: 70px;
    }
}


/* =========================================
   CONTACT SIDEBAR — Floating Buttons
   ========================================= */

.contact-sidebar {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1025;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.contact-sidebar-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    background: var(--primary, #F8BF00);
    color: var(--dark, #333);
    text-decoration: none;
    font-size: 1.25rem;
    border-left: 1px solid rgba(0, 0, 0, 0.08);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-sidebar-btn:first-child {
    border-radius: 8px 0 0 0;
}

.contact-sidebar-btn:last-child {
    border-radius: 0 0 0 8px;
}

.contact-sidebar-btn:only-child {
    border-radius: 8px 0 0 8px;
}

.contact-sidebar-btn:hover {
    transform: translateX(-4px);
    box-shadow: -3px 0 12px rgba(0, 0, 0, 0.15);
    color: var(--dark, #333);
    text-decoration: none;
}

.contact-sidebar-btn:focus {
    outline: none;
    color: var(--dark, #333);
    text-decoration: none;
}

/* ===== Contact Sidebar Mobile ===== */
@media (max-width: 991.98px) {
    .contact-sidebar-btn {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
}
