.mkl_pc .mkl_pc_container .mkl_pc_toolbar section.choices .layer_choices li.choices-list {
    padding-top: 5px !important;
    padding-bottom: 5px !important;
}

.mkl_pc .mkl_pc_container .mkl_pc_toolbar section.choices .layer_choices li.choices-list .swiper.pc-as-swiper {
    --pc-slide-minw: 180px;
}

.mkl_pc .mkl_pc_container .mkl_pc_toolbar section.choices .layer_choices li.choices-list .swiper.pc-as-swiper .swiper-slide>* {
    width: 100%;
}

.mkl_pc .mkl_pc_container .mkl_pc_toolbar section.choices .layer_choices li.choices-list .mkl-pc-choice-list,
.mkl_pc .mkl_pc_container .mkl_pc_toolbar section.choices .layer_choices li.choices-list .mkl-pc-choices,
.mkl_pc .mkl_pc_container .mkl_pc_toolbar section.choices .layer_choices li.choices-list .mkl-pc-grid {
    display: block !important;
}

.mkl_pc .mkl_pc_container .mkl_pc_toolbar section.choices .layer_choices li.choices-list .swiper.pc-as-swiper .swiper-pagination {
    margin-top: 6px;
}

.mkl_pc .mkl_pc_container .mkl_pc_toolbar section.choices .layer_choices li.choices-list .swiper.pc-as-swiper .swiper-slide {
    min-width: var(--pc-slide-minw);
}

.mkl_pc .mkl_pc_container .mkl_pc_toolbar section.choices .layer_choices li.choices-list .pc-swiperized .swiper {
    position: relative;
    padding-bottom: 26px;
    --swiper-navigation-color: #bf1a14;
    --swiper-pagination-color: #bf1a14;
}

.mkl_pc .mkl_pc_container .mkl_pc_toolbar section.choices .layer_choices li.choices-list .pc-swiperized .swiper .swiper-wrapper {
    align-items: stretch;
}

.mkl_pc .mkl_pc_container .mkl_pc_toolbar section.choices .layer_choices li.choices-list .pc-swiperized .swiper .swiper-slide {
    min-width: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.mkl_pc .mkl_pc_container .mkl_pc_toolbar section.choices .layer_choices li.choices-list .pc-swiperized .swiper .swiper-slide .choice,
.mkl_pc .mkl_pc_container .mkl_pc_toolbar section.choices .layer_choices li.choices-list .pc-swiperized .swiper .swiper-slide .choice-item,
.mkl_pc .mkl_pc_container .mkl_pc_toolbar section.choices .layer_choices li.choices-list .pc-swiperized .swiper .swiper-slide .choice-item * {
    writing-mode: horizontal-tb !important;
    transform: none !important;
    rotate: 0 !important;
    white-space: nowrap !important;
    letter-spacing: normal !important;
}

.mkl_pc .mkl_pc_container .mkl_pc_toolbar section.choices .layer_choices li.choices-list .pc-swiperized .swiper .swiper-slide .choice,
.mkl_pc .mkl_pc_container .mkl_pc_toolbar section.choices .layer_choices li.choices-list .pc-swiperized .swiper .swiper-slide .choice-item {
    width: 100% !important;
    max-width: none !important;
}

.mkl_pc .mkl_pc_container .mkl_pc_toolbar section.choices .layer_choices li.choices-list .pc-swiperized .swiper .swiper-slide .choice-item {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    padding: 8px 12px !important;
    min-height: 40px !important;
    font-size: 14px !important;
    border-radius: 12px !important;
}

.mkl_pc .mkl_pc_container .mkl_pc_toolbar section.choices .layer_choices li.choices-list .pc-swiperized .choices-list {
    overflow: visible !important;
}

.mkl_pc .mkl_pc_container .mkl_pc_toolbar section.choices .layer_choices li.choices-list .pc-swiperized .swiper .swiper-pagination {
    position: absolute !important;
    left: 0;
    right: 0;
    bottom: 2px;
    margin: 0 !important;
}

.mkl_pc .mkl_pc_container .mkl_pc_toolbar section.choices .layer_choices li.choices-list .pc-swiperized .swiper .swiper-button-prev,
.mkl_pc .mkl_pc_container .mkl_pc_toolbar section.choices .layer_choices li.choices-list .pc-swiperized .swiper .swiper-button-next {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
    top: 50%;
    transform: translateY(-50%);
    opacity: 1 !important;
    z-index: 2;
}

.mkl_pc .mkl_pc_container .mkl_pc_toolbar section.choices .layer_choices li.choices-list .pc-swiperized .swiper .swiper-button-prev::after,
.mkl_pc .mkl_pc_container .mkl_pc_toolbar section.choices .layer_choices li.choices-list .pc-swiperized .swiper .swiper-button-next::after {
    font-size: 16px;
    font-weight: 700;
}

.mkl_pc .mkl_pc_container .mkl_pc_toolbar section.choices .layer_choices li.choices-list .pc-swiperized .swiper .swiper-button-prev {
    left: 6px;
}

.mkl_pc .mkl_pc_container .mkl_pc_toolbar section.choices .layer_choices li.choices-list .pc-swiperized .swiper .swiper-button-next {
    right: 6px;
}

.mkl_pc .mkl_pc_container .mkl_pc_toolbar section.choices .layer_choices li.choices-list .pc-swiperized .swiper .swiper-button-prev:hover,
.mkl_pc .mkl_pc_container .mkl_pc_toolbar section.choices .layer_choices li.choices-list .pc-swiperized .swiper .swiper-button-next:hover,
.mkl_pc .mkl_pc_container .mkl_pc_toolbar section.choices .layer_choices li.choices-list .pc-swiperized .swiper .swiper-button-prev:focus-visible,
.mkl_pc .mkl_pc_container .mkl_pc_toolbar section.choices .layer_choices li.choices-list .pc-swiperized .swiper .swiper-button-next:focus-visible {
    box-shadow: 0 4px 14px rgba(0, 0, 0, .14);
}

.mkl_pc .mkl_pc_container .mkl_pc_toolbar section.choices .layer_choices li.choices-list .pc-swiperized .swiper .swiper-button-disabled {
    opacity: .35;
    pointer-events: none;
}

.mkl_pc .mkl_pc_container .mkl_pc_toolbar section.choices .layer_choices li.choices-list .pc-swiperized .choices-list,
.mkl_pc .mkl_pc_container .mkl_pc_toolbar section.choices .layer_choices li.choices-list .pc-swiperized .choices-list>ul[data-layer-id] {
    display: block !important;
}

.single-product form.cart {
    display: flex;
    align-items: center;
    justify-content: flex-start !important;
    gap: 18px;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin-top: 18px;
}

.single-product form.cart .single_add_to_cart_button {
    border: none;
    border-radius: 999px;
    padding: 12px 32px;
    background: var(--bk-red);
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
    transition: background 0.16s ease, box-shadow 0.16s ease, transform 0.12s ease;
}

.single-product form.cart .single_add_to_cart_button:hover {
    background: #f52525;
    transform: translateY(-1px);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.22);
}

.single-product form.cart .single_add_to_cart_button:active {
    transform: translateY(0);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.18);
}

img.wp-image-150 {
    display: none !important;
}

.mx-hersteller-popup {
    opacity: 0;
    visibility: hidden;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease, opacity 0.2s ease;
    background: transparent;
    border-radius: 0;
    width: 980px;
    max-width: 96vw;
    min-width: 280px;
    box-sizing: border-box;
    padding: 0;
    overflow: visible;
}

/* ── Anti-Flash Fix ──────────────────────────────────────────────────────────
 * Elementor setzt beim Popup-Öffnen inline opacity/visibility/display — das
 * überschreibt unsere Basis-CSS. Mit !important blockieren wir das komplett
 * bis unser JS mx-popup-ready setzt (nach korrekter Positionierung).
 * Gilt für ALLE Fälle: mit und ohne Hersteller im Cookie.
 * ────────────────────────────────────────────────────────────────────────── */
.mx-hersteller-popup:not(.mx-popup-ready) {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: none !important;
}

/* Wenn Hersteller im Cookie: Popup bereits in Slideout-Position vorsetzen
   damit nach mx-popup-ready kein Positions-Sprung sichtbar ist. */
html.mx-has-manufacturer .mx-hersteller-popup:not(.mx-popup-ready) {
    transform: translateY(-50%) translateX(100%) !important;
}

@media (max-width: 768px) {
    html.mx-has-manufacturer .mx-hersteller-popup:not(.mx-popup-ready) {
        transform: translate(-50%, 150%) !important;
    }
}

.mx-hersteller-popup.mx-popup-ready {
    opacity: 1;
    visibility: visible;
}

/* ── Neues Popup: Elementor-Dialog transparent machen ── */
.mx-hersteller-popup .dialog-widget-content {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
    overflow: visible !important;
    max-width: 980px !important;
    width: 96vw !important;
    max-height: none !important;
    height: auto !important;
}
.mx-hersteller-popup .dialog-lightbox-close-button {
    display: none !important;
}
.mx-hersteller-popup .dialog-message {
    padding: 0 !important;
    overflow: visible !important;
    width: 100% !important;
    max-height: none !important;
    height: auto !important;
}
.mx-hersteller-popup .dialog-content {
    overflow: visible !important;
    max-height: none !important;
}
.mx-hersteller-popup .dialog-header {
    display: none !important;
}
.mx-hersteller-popup.mx-center-popup {
    width: 980px !important;
    max-width: 96vw !important;
    background: transparent !important;
}

.mx-hersteller-popup.mx-slideout::before,
.mx-hersteller-popup.mx-slideout::after {
    display: none !important;
    content: none !important;
}

.mx-hersteller-popup.mx-center-popup {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    right: auto !important;
    bottom: auto !important;
    transform: translate(-50%, -50%) !important;
    margin: 0 !important;
    max-height: none !important;
    overflow-y: visible !important;
    overflow: visible !important;
    border-radius: 0 !important;
    padding: 0 !important;
}

/* ── Elementor-Container innerhalb Popup transparent + overflow visible ── */
.mx-hersteller-popup .elementor-section-wrap,
.mx-hersteller-popup .elementor-section,
.mx-hersteller-popup .elementor-container,
.mx-hersteller-popup .elementor-column,
.mx-hersteller-popup .elementor-widget-wrap,
.mx-hersteller-popup .elementor-widget-container {
    overflow: visible !important;
    max-height: none !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
}

.mx-hersteller-popup .dialog-widget-content {
    border-radius: 0 !important;
}

.mx-hersteller-popup.mx-slideout {
    position: fixed !important;
    top: 50% !important;
    right: 0 !important;
    left: auto !important;
    transform: translateY(-50%) translateX(100%) !important;
    z-index: 99999 !important;
    margin-right: 0;
    /* ── FIX: Prevent Elementor's fullscreen dark backdrop in slideout mode ── */
    background: transparent !important;
    width: 980px !important;
    max-width: 96vw !important;
    height: auto !important;
    pointer-events: auto !important;
    overflow: hidden !important;
}

.mx-hersteller-popup.mx-slideout.mx-popup-open {
    transform: translateY(-50%) translateX(0) !important;
    overflow: visible !important;
}

/* ── FIX: Remove dark backdrop from inner overlay in slideout mode ── */
.mx-hersteller-popup.mx-slideout .mx-new-popup-overlay {
    background: transparent !important;
    background-color: transparent !important;
}

.mx-hersteller-popup .mx-popup-tab-handle {
    position: fixed !important;
    right: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 45px;
    height: 120px;
    background: linear-gradient(180deg, var(--bk-red) 0%, #b01510 100%);
    border-radius: 14px 0 0 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s ease;
    box-shadow: -3px 0 15px rgba(0, 0, 0, 0.2);
}

.mx-popup-tab-handle::after {
    content: '‹';
    font-size: 32px;
    font-weight: bold;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    animation: mx-arrow-pulse 2s ease-in-out infinite;
}

@keyframes mx-arrow-pulse {

    0%,
    100% {
        opacity: 1;
        transform: translateX(0);
    }

    50% {
        opacity: 0.6;
        transform: translateX(-5px);
    }
}

.mx-popup-tab-handle:hover {
    width: 55px;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.3);
}

.mx-popup-tab-handle:hover::after {
    animation: mx-arrow-wiggle 0.25s ease-in-out infinite;
}

@keyframes mx-arrow-wiggle {

    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(-8px);
    }
}

.mx-popup-tab-handle:focus {
    outline: 3px solid rgba(255, 255, 255, 0.5);
    outline-offset: -3px;
}

body>.mx-popup-tab-handle {
    position: fixed !important;
    right: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 30px;
    height: 120px;
    background: linear-gradient(180deg, var(--bk-red) 0%, #b01510 100%);
    border-radius: 14px 0 0 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    box-shadow: -3px 0 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.mx-hersteller-popup .mx-popup-close-btn {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 32px;
    height: 32px;
    background: #f3f4f6;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    line-height: 1;
    color: #666;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.2s ease;
    z-index: 101;
}

.mx-hersteller-popup.mx-slideout.mx-popup-open .mx-popup-close-btn {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mx-hersteller-popup .mx-popup-close-btn:hover {
    background: #fee2e2;
    color: var(--bk-red);
    transform: scale(1.1);
}

.mx-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 99998;
}

.mx-popup-overlay.mx-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

@supports (backdrop-filter: blur(3px)) {
    .mx-popup-overlay.mx-active {
        backdrop-filter: blur(3px);
    }
}

#mx-reset-manufacturer {
    display: inline-flex !important;
    align-items: center;
    justify-content: center !important;
    width: auto;
    min-width: auto;
    max-width: none;
    background: #FFFFFF;
    border: 2px solid var(--bk-red);
    border-radius: 16px;
    color: var(--bk-red);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(211, 47, 47, 0.15);
    white-space: nowrap;
    margin-left: 0 !important;
}

#mx-reset-manufacturer:hover {
    background: #FFF5F5;
    border-color: #B71C1C;
    color: #B71C1C;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(211, 47, 47, 0.25);
}

#mx-reset-manufacturer:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(211, 47, 47, 0.2);
}

.post-type-archive-product #main-content.wd-content-layout .wd-content-area.wd-grid-col,
.tax-product_cat #main-content.wd-content-layout .wd-content-area.wd-grid-col,
.tax-product_tag #main-content.wd-content-layout .wd-content-area.wd-grid-col {
    --wd-col-lg: 12 !important;
    --wd-col-md: 12 !important;
    --wd-col-sm: 12 !important;
}

.post-type-archive-product .wd-content-layout,
.post-type-archive-product .content-layout-wrapper,
.tax-product_cat .wd-content-layout,
.tax-product_cat .content-layout-wrapper {
    max-width: 1294px !important;
    --wd-container-w: 1294px !important;
    width: 100% !important;
}

.post-type-archive-product .boeck-product-overview,
.post-type-archive-product .wd-content-area,
.tax-product_cat .wd-content-area {
    max-width: 100% !important;
    width: 100% !important;
}

.single-product .elementor-element-0cb55f1 > .elementor-container {
    max-width: 1260px !important;
    width: 100% !important;
    --wd-container-w: 1260px !important;
}


.boeck-product-overview {
    width: 100%;
    padding: 16px 0 40px;
}

.boeck-overview-header {
    max-width: 1400px;
    margin: 0 auto;
}

.boeck-overview-header .wd-el-breadcrumbs {
    margin-bottom: 20px;
}

.boeck-overview-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
}

.boeck-category-page {
    width: 100%;
    padding: 16px 0 40px;
}

.boeck-category-page .wd-el-breadcrumbs {
    margin-bottom: 28px;
}

.boeck-category-section {
    max-width: 1400px;
    margin: 40px auto 50px;
    padding: 0 40px;
}

.boeck-category-hero-section,
.boeck-category-hero {
    position: relative;
    width: 100%;
    cursor: pointer;
}

.boeck-hero-image-wrapper {
    position: relative;
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    transition: border-bottom-left-radius 0.1s ease, border-bottom-right-radius 0.1s ease;
}

/* Wenn Section offen: untere Ecken des Bildes eckig → nahtloser Übergang zur Products-Area */
.boeck-category-section.is-open .boeck-hero-image-wrapper {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.boeck-category-hero-section picture,
.boeck-category-hero picture {
    display: block;
    width: 100%;
}

.boeck-category-hero-section img,
.boeck-category-hero img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 2950 / 658;
}

@media (max-width: 600px) {

    .boeck-category-hero-section img,
    .boeck-category-hero img {
        aspect-ratio: unset;
        height: auto;
        min-height: unset;
        object-fit: unset;
    }
}

/* ── Kategoriename: Overlay oben links im roten Bereich ─────────── */
.boeck-hero-label-overlay {
    position: absolute;
    top: 5%;
    left: 54%;
    right: 0;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 10px 16px;
    pointer-events: none;
}

.boeck-hero-label-text {
    display: inline-block;
    background-color: #ffffff;
    color: var(--bk-red);
    font-size: clamp(0.65rem, 1.4vw, 1.1rem);
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1.2;
    text-transform: uppercase;
    padding: 6px 12px;
}

/* Mobile: Label unter dem Bild als eigener Block */
@media (max-width: 660px) {
    .boeck-hero-label-overlay {
        position: static;
        display: block;
        padding: 0;
        margin-top: 0;
        margin-bottom: 8px;
        /* Abstand UNTER dem Label, VOR dem Bild */
    }

    .boeck-hero-label-text {
        display: block;
        width: 100%;
        background-color: var(--bk-red);
        color: #ffffff;
        font-size: 0.85rem;
        padding: 10px 16px;
        text-align: center;
        border-radius: 4px;
    }

    /* Bild-Wrapper als Flex-Column, Label kommt zuerst */
    .boeck-hero-image-wrapper {
        display: flex;
        flex-direction: column;
    }

    .boeck-hero-image-wrapper picture {
        order: 2;
    }

    .boeck-hero-label-overlay {
        order: 1;
    }
}

.boeck-category-toggle-btn,
.boeck-toggle-btn {
    position: absolute !important;
    right: 2% !important;
    bottom: 10% !important;
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
    background: transparent !important;
    border: 1.5px solid #fff !important;
    color: #fff !important;
    padding: 6px 12px !important;
    font-size: 10px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    border-radius: 4px !important;
    transition: all 0.3s ease !important;
    white-space: nowrap !important;
    z-index: 10 !important;
    box-shadow: none !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    line-height: 1 !important;
}

.boeck-category-toggle-btn:hover,
.boeck-toggle-btn:hover {
    background: #fff;
    color: var(--bk-red);
}

.boeck-arrow {
    width: 14px;
    height: 14px;
    transition: transform 0.3s ease;
}

.boeck-category-toggle-btn.open .boeck-arrow,
.boeck-toggle-btn.open .boeck-arrow {
    transform: rotate(180deg);
}

/* Products Area – Slide-Down Animation vom Hero-Bild */
.boeck-category-products-area,
.boeck-products-area {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: #e8edf2;
    padding: 0 28px;
    gap: 14px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    /* Hero-Bild hat keine border-radius → area startet nahtlos darunter */
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    /* Slide-Down via max-height + clip */
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform-origin: top center;
    transition:
        max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1),
        opacity    0.35s ease 0.05s,
        padding    0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.boeck-category-products-area.is-open,
.boeck-products-area.is-open,
.boeck-category-section.is-open .boeck-products-area {
    max-height: 2000px;
    opacity: 1;
    padding: 28px;
}

.boeck-category-tile,
.boeck-tile {
    display: block;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border-radius: 10px;
    outline: none;
    /* FIX Mobile: Grid-Kind darf nicht breiter werden als seine Zelle */
    min-width: 0;
    overflow: hidden;
}

.boeck-category-tile:hover,
.boeck-tile:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    border-radius: 10px;
}

/* Tile: weißer Rahmen + Trennlinie + Bild + Text */
.boeck-tile__inner {
    display: flex;
    align-items: center;
    background: #ffffff;
    border-radius: 10px;
    border: 1px solid #e2e6eb;
    overflow: hidden;
    height: 100%;
    box-sizing: border-box;
    min-height: 70px;
    padding: 8px 0;
}

.boeck-tile__img {
    width: 75px !important;
    height: 60px !important;
    object-fit: contain !important;
    flex-shrink: 0;
    display: block;
    padding: 4px 10px;
    box-sizing: border-box;
}

/* Vertikale Trennlinie — nur 60% Höhe, zentriert */
.boeck-tile__divider {
    width: 1px;
    height: 55%;
    background: #c8cdd6;
    flex-shrink: 0;
    align-self: center;
}

.boeck-tile__name {
    flex: 1;
    padding: 8px 14px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: #2B3A67;
    line-height: 1.3;
    text-transform: uppercase;
    /* FIX Mobile: langer Text soll umbrechen statt den Container aufzublasen */
    word-break: break-word;
    overflow-wrap: break-word;
    min-width: 0;
}

/* Alte category-tile img Regel beibehalten */
.boeck-category-tile img {
    width: 100%;
    height: auto;
    display: block;
}

.boeck-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
}

@media (max-width: 1024px) {

    .boeck-category-toggle-btn,
    .boeck-toggle-btn {
        position: static !important;
        width: 100% !important;
        margin-top: 10px !important;
        justify-content: center !important;
        padding: 12px 20px !important;
        font-size: 12px !important;
        background: var(--bk-red) !important;
        border: 2px solid var(--bk-red) !important;
        color: #fff !important;
        border-radius: 6px !important;
        right: auto !important;
        bottom: auto !important;
    }

    .boeck-category-toggle-btn:hover,
    .boeck-toggle-btn:hover {
        background: var(--bk-red) !important;
        border-color: var(--bk-red) !important;
        color: #fff !important;
    }

    .boeck-arrow {
        width: 16px;
        height: 16px;
    }

    .boeck-category-hero-section,
    .boeck-category-hero {
        display: flex;
        flex-direction: column;
    }

    /* Overlay bleibt sichtbar auf Tablet (Bild noch groß genug) */

    .mx-hersteller-popup {
        width: 96vw;
        max-width: 980px;
    }

    .mx-hersteller-popup.mx-center-popup {
        width: 96vw;
        max-width: 980px;
        max-height: none;
        padding: 0;
        overflow: visible;
    }

    body>.mx-popup-tab-handle {
        width: 35px;
        height: 100px;
    }

    body>.mx-popup-tab-handle::after {
        font-size: 28px;
    }

    #elementor-popup-modal-6079585 .dialog-message {
        width: 100%;
    }

    /* FIX: Bei 1014px greift die Sidebar-Layout schon, aber das Grid
       lief noch auf repeat(3, 1fr) → letzte Tile brach aus dem Viewport.
       Breakpoint von 992px auf 1024px angehoben. */
    .boeck-category-products-area,
    .boeck-products-area {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .boeck-category-products-area.is-open,
    .boeck-products-area.is-open,
    .boeck-category-section.is-open .boeck-products-area {
        padding: 24px;
    }
}

@media (max-width: 768px) {
    body>.mx-popup-tab-handle {
        position: fixed !important;
        right: 0 !important;
        left: auto !important;
        top: 50% !important;
        bottom: auto !important;
        transform: translateY(-50%) !important;
        width: 24px !important;
        height: 60px !important;
        border-radius: 12px 0 0 12px;
        background: var(--bk-red);
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 99999 !important;
    }

    body>.mx-popup-tab-handle::after {
        content: '‹';
        font-size: 20px;
        color: #fff;
        display: block;
        line-height: 1;
        transform: none;
        animation: mx-arrow-pulse-mobile 2s ease-in-out infinite;
    }

    @keyframes mx-arrow-pulse-mobile {

        0%,
        100% {
            opacity: 1;
            transform: translateX(0px);
        }

        50% {
            opacity: 0.6;
            transform: translateX(-3px);
        }
    }

    body>.mx-popup-tab-handle:hover::after {
        animation: mx-arrow-wiggle-mobile 0.25s ease-in-out infinite;
    }

    @keyframes mx-arrow-wiggle-mobile {

        0%,
        100% {
            transform: translateX(0px);
        }

        50% {
            transform: translateX(-5px);
        }
    }

    #elementor-popup-modal-6079585 .dialog-message {
        width: 100%;
    }

    .mx-hersteller-popup.mx-slideout {
        position: fixed !important;
        top: 50% !important;
        bottom: auto !important;
        right: 0 !important;
        left: auto !important;
        width: 96vw !important;
        max-width: 500px !important;
        transform: translateY(-50%) translateX(100%) !important;
        background: transparent !important;
        height: auto !important;
        border-radius: 12px !important;
    }

    .mx-hersteller-popup.mx-slideout.mx-popup-open {
        transform: translateY(-50%) translateX(0) !important;
    }
}

@media (max-width: 600px) {

    .boeck-category-products-area,
    .boeck-products-area {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .boeck-category-products-area.is-open,
    .boeck-products-area.is-open,
    .boeck-category-section.is-open .boeck-products-area {
        padding: 20px;
    }

    .boeck-category-page {
        padding: 20px 15px;
    }

    .boeck-overview-header,
    .boeck-category-section {
        padding: 0 15px;
    }

    .boeck-category-toggle-btn,
    .boeck-toggle-btn {
        padding: 10px 16px;
        font-size: 11px;
        margin-top: 8px;
    }
}

@media (max-width: 399px) {
    .boeck-category-page {
        padding: 15px 10px;
    }

    .boeck-overview-header,
    .boeck-category-section {
        padding: 0 10px;
    }

    .boeck-category-toggle-btn,
    .boeck-toggle-btn {
        padding: 8px 12px;
        font-size: 10px;
        gap: 4px;
    }

    .boeck-arrow {
        width: 14px;
        height: 14px;
    }
}

.boeck-hero-image-wrapper.js-boeck-hero-toggle {
    cursor: pointer;
}

.single-product .elementor-232135,
.single-product .elementor-232135 .elementor-element.elementor-element-e0643f9 {
    background: transparent !important;
}

.single-product .elementor-40721 .elementor-element.elementor-element-0cb55f1:not(.elementor-motion-effects-element-type-background) {
    background-color: #fff;
    padding-top: 0;
    padding-bottom: 50px;
}

.elementor-40721 .elementor-element.elementor-element-0cb55f1:not(.elementor-motion-effects-element-type-background) {
    background-color: #F2F2F4;
}

.single-product .elementor-section>.elementor-container {
    max-width: 1330px !important;
}

.elementor-232135 .elementor-element.elementor-element-6914475>.elementor-container {
    max-width: 1260px !important;
}

.single-product .elementor-232135 .elementor-element.elementor-element-bba704e:not(.elementor-motion-effects-element-type-background) {
    background-color: #fff;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

.single-product .wd-page-content {
    background-color: #fff !important;
}

.single-product .wd-prefooter {
    padding-bottom: 0 !important;
}

.single-product .elementor-element.elementor-element-4d0888c>.elementor-widget-wrap {
    padding: 0 !important;
}

.single-product .elementor-column-gap-default>.elementor-column>.elementor-element-populated {
    padding: 0;
}

.elementor-6061290 .elementor-element-a331e29.e-con,
.elementor-6061910 .elementor-element-da69594.e-con,
.elementor-6073765 .elementor-element-a39d8c5.e-con {
    padding-left: 10px !important;
    padding-right: 10px !important;

    max-width: none !important;
    width: calc(100% + 30px) !important;
    margin-left: -15px !important;
    margin-right: -15px !important;

    box-sizing: border-box !important;
}

.elementor-6061290 .elementor-element-a331e29 .boeck-category-section,
.elementor-6061910 .elementor-element-da69594 .boeck-category-section,
.elementor-6073765 .elementor-element-a39d8c5 .boeck-category-section {
    width: 100% !important;
    max-width: 1260px !important;
    margin-left: auto !important;
    margin-right: auto !important;

    padding: 0 !important;
    box-sizing: border-box !important;
}

.elementor-background-video-container {
    overflow: hidden !important;
}

.elementor-background-video-container iframe.elementor-background-video-embed {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;

    width: 100% !important;
    height: 100% !important;

    min-width: 177.78vh !important;
    min-height: 56.25vw !important;
}

@media (max-width: 767px) {
    .elementor-element-3639bd5 {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
}
.elementor-menu-cart__container.elementor-lightbox {
    right: 10px !important;
    left: auto !important;
    max-width: calc(100vw - 20px) !important;
    transform: none !important;
}

.elementor-menu-cart__container.elementor-lightbox[aria-hidden="true"] {
    pointer-events: none !important;
}

.elementor-menu-cart__container.elementor-lightbox[aria-hidden="false"] {
    pointer-events: auto !important;
}

.elementor-menu-cart__main {
    max-height: calc(100vh - 20px) !important;
    overflow: auto !important;
}

#trp-floater-ls {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: opacity .10s ease !important;
    transform: none !important;
}

#trp-floater-ls.mx-trp-ready {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}


@media (max-width: 480px) {

    #trp-floater-ls {
        padding: 2px 6px !important;
        min-height: 0 !important;
        height: auto !important;

        font-size: 12px !important;
        line-height: 1 !important;

        display: inline-flex !important;
        align-items: center !important;

        border-radius: 8px !important;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15) !important;
    }

    #trp-floater-ls img {
        width: 28px !important;
        height: 28px !important;
    }

    #trp-floater-ls * {
        padding: 0 !important;
        margin: 3px 0 3px 0 !important;
        line-height: 1 !important;
    }

    #trp-floater-ls.trp-floater-ls-codes #trp-floater-ls-current-language a {
        gap: 10px;
    }
}

@media (min-width: 767px) and (max-width: 950px) {
    header.elementor-location-header .elementor-menu-cart__wrapper {
        transform: translateX(-24px);
    }
}

.mx-manufacturer-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #1e3a8a;
}

.mx-manufacturer-item:last-child {
    border-bottom: none;
}

.mx-manufacturer-name {
    font-weight: 600;
    color: #1e3a8a;
    font-size: 15px;
}

.mx-manufacturer-label {
    color: #1e3a8a;
    font-size: 14px;
}

.mx-manufacturers-loading {
    padding: 20px;
    text-align: center;
    color: #6b7280;
}

.mx-manufacturers-error {
    padding: 20px;
    text-align: center;
    color: var(--bk-red);
}

.mx-manufacturers-empty {
    padding: 20px;
    text-align: center;
    color: #6b7280;
}

.mx-tech-details-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 24px 0;
    width: 100%;
    box-sizing: border-box;
}

.mx-tech-details-wrapper.mx-tech-full-width {
    grid-template-columns: 1fr;
}

.mx-tech-details-wrapper.mx-tech-full-width .mx-tech-specs {
    max-width: 100%;
    padding-right: 0;
}

.mx-tech-specs {
    padding-right: 0;
    min-width: 0;
    overflow: hidden;
}

.mx-tech-specs h2 {
    font-size: 18px;
    color: #1e3a8a;
    margin-bottom: 20px;
    font-weight: 600;
}

.mx-spec-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #1e3a8a;
    gap: 12px;
    flex-wrap: wrap;
    min-width: 0;
}

.mx-spec-item:last-child {
    border-bottom: none;
}

.mx-spec-label {
    font-weight: 600;
    color: #1e3a8a;
    font-size: 15px;
    flex: 0 1 auto;
    min-width: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.mx-spec-value {
    color: #1e3a8a;
    text-align: right;
    font-size: 15px;
    flex: 0 1 auto;
    min-width: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
    margin-left: auto;
}

/* Right Column - Blech Konturen & Stärke */
.mx-blech-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    min-width: 0;
    overflow: hidden;
}

.mx-blech-section h3 {
    font-size: 16px;
    color: #1e3a8a;
    margin-bottom: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    word-wrap: break-word;
}

/* Green/Orange/Red Boxes */
.mx-blech-boxes {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mx-blech-box {
    border-radius: 12px;
    padding: 24px;
    position: relative;
    transition: all 0.3s ease;
    min-width: 0;
    overflow: hidden;
    box-sizing: border-box;
}

.mx-blech-box.green {
    background: linear-gradient(135deg, #84cc16 0%, #65a30d 100%);
}

.mx-blech-box.orange {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.mx-blech-box.red {
    background: linear-gradient(135deg, var(--bk-red) 0%, var(--bk-red) 100%);
}

.mx-box-title {
    color: white;
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 16px;
    text-transform: capitalize;
    word-wrap: break-word;
}

.mx-box-images {
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
}

.mx-blech-img {
    height: 50px;
    width: auto;
    max-width: 100%;
    filter: brightness(0) invert(1);
    /* White SVGs */
    transition: opacity 0.3s ease;
}

/* Responsive */
@media (max-width: 1024px) {
    .mx-tech-details-wrapper {
        gap: 30px;
    }

    .mx-blech-container {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .mx-tech-details-wrapper {
        padding: 16px 0;
        gap: 24px;
    }

    .mx-spec-item {
        padding: 10px 0;
        gap: 8px;
    }

    .mx-spec-label,
    .mx-spec-value {
        font-size: 14px;
    }

    .mx-blech-box {
        padding: 18px;
    }

    .mx-blech-section h3 {
        font-size: 14px;
    }

    .mx-box-title {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .mx-tech-details-wrapper {
        padding: 12px 0;
        gap: 20px;
    }

    .mx-tech-specs h2 {
        font-size: 16px;
        margin-bottom: 16px;
    }

    .mx-spec-item {
        padding: 8px 0;
        gap: 6px;
        flex-direction: column;
        align-items: flex-start;
    }

    .mx-spec-label,
    .mx-spec-value {
        font-size: 13px;
        width: 100%;
        text-align: left;
    }

    .mx-spec-value {
        margin-left: 0;
        padding-left: 12px;
        font-weight: 400;
    }

    .mx-blech-container {
        gap: 20px;
    }

    .mx-blech-section h3 {
        font-size: 13px;
        margin-bottom: 12px;
    }

    .mx-blech-box {
        padding: 16px;
    }

    .mx-box-title {
        font-size: 13px;
        margin-bottom: 12px;
    }
}

@media (max-width: 360px) {

    .mx-spec-label,
    .mx-spec-value {
        font-size: 12px;
    }

    .mx-blech-section h3 {
        font-size: 12px;
    }

    .mx-box-title {
        font-size: 12px;
    }

    .mx-blech-box {
        padding: 14px;
    }
}

.mx-blech-box {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.mx-box-title {
    flex: 0 0 auto;
}

.mx-box-images {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 8px;
}

.mx-blech-box .mx-blech-img {
    width: auto;
    height: 50px;
    max-width: 53px;
    flex: 0 1 auto;
    display: block;
    margin: 0 !important;
}

@media (max-width: 600px) {
    .mx-box-images {
        gap: 10px;
    }

    .mx-blech-box .mx-blech-img {
        height: 42px;
        max-width: 56px;
    }
}

@media (max-width: 480px) {
    .mx-box-images {
        justify-content: space-around;
        gap: 8px;
    }

    .mx-blech-box .mx-blech-img {
        height: 36px;
        max-width: 48px;
    }
}

@media (max-width: 400px) {
    .mx-box-images {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        justify-items: center;
    }

    .mx-blech-box .mx-blech-img {
        height: 40px;
        max-width: 100%;
        width: auto;
    }
}

@media (max-width: 360px) {
    .mx-blech-box .mx-blech-img {
        height: 36px;
    }
}

#mx-manufacturer-bar {
    display: flex;
    align-items: center;
    gap: 12px;

    width: calc(var(--mx-grid-max) - 10px);
    max-width: calc(var(--mx-grid-max) - 10px);
    margin-left: auto;
    margin-right: auto;

    box-sizing: border-box;
}

#mx-selected-manufacturer-label {
    white-space: normal;
    overflow: visible;
    text-overflow: unset;

    flex: 0 1 auto;
    min-width: 0;
    max-width: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;
    line-height: 1.05;
    padding: 8px 16px;
}

@media (min-width: 661px) and (max-width: 760px) {

    #mx-manufacturer-bar {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    #mx-selected-manufacturer-label {
        width: 100%;
        max-width: 100%;
        min-width: 0;

        display: flex;
        justify-content: center;
        align-items: center;

        text-align: center;
        padding: 10px 16px;
    }
}

:root {
    --mx-img-h: clamp(220px, 25vh, 360px);
    --mx-img-maxw: 760px;
}

.mkl_pc_container .mkl_pc_viewer {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: center !important;

    padding-top: clamp(120px, 20vw, 280px);
}

.mkl_pc_container .mkl_pc_viewer #mx_variant_image,
.mkl_pc_container .mkl_pc_viewer .mkl_pc_layers img.simple {
    height: var(--mx-img-h) !important;
    max-height: var(--mx-img-h) !important;

    width: auto !important;
    max-width: min(100%, var(--mx-img-maxw)) !important;

    object-fit: contain !important;
    object-position: center center !important;

    display: block !important;
    margin: 0 auto !important;

    flex: 0 0 var(--mx-img-h) !important;
}

@media (max-width: 1024px) {
    :root {
        --mx-img-h: clamp(180px, 25vh, 280px);
    }

    .mkl_pc_container .mkl_pc_viewer {
        padding-top: clamp(100px, 15vw, 180px);
    }
}

@media (max-width: 660px) {
    :root {
        --mx-img-h: clamp(140px, 18vh, 200px);
    }

    .mkl_pc_container .mkl_pc_viewer {
        padding-top: 0 !important;
        margin-top: 0 !important;
        position: relative !important;
    }

    .mkl_pc_container .mkl_pc_viewer .mx-variant-header {
        order: 1 !important;
        position: relative !important;
        width: 100% !important;
        margin-bottom: 30px !important;
        z-index: 15 !important;
    }

    .mkl_pc_container .mkl_pc_viewer #mx_variant_image,
    .mkl_pc_container .mkl_pc_viewer .mkl_pc_layers img.simple {
        order: 2 !important;
        position: relative !important;
        z-index: 10 !important;
        margin: 0 auto 20px auto !important;
        max-width: 90% !important;
    }

    .mkl_pc_container .mkl_pc_viewer .reset-configuration.mx-reset-in-viewer {
        order: 1 !important;
        position: absolute !important;
        top: 10px !important;
        right: 10px !important;
        z-index: 20 !important;
    }

    .mkl_pc_container .mkl_pc_viewer .mkl_pc_layers {
        order: 2 !important;
    }

    .mkl_pc_container .mkl_pc_configurator,
    .mkl_pc_container .mx-wc-description {
        order: 3 !important;
        position: relative !important;
        z-index: 5 !important;
    }
}

@media (max-width: 480px) {
    :root {
        --mx-img-h: clamp(120px, 16vh, 180px);
    }

    .mkl_pc_container .mkl_pc_viewer .mx-variant-header {
        margin-bottom: 40px !important;
    }

    .mkl_pc_container .mkl_pc_viewer #mx_variant_image,
    .mkl_pc_container .mkl_pc_viewer .mkl_pc_layers img.simple {
        margin-bottom: 15px !important;
        max-width: 95% !important;
    }
}

.mkl_pc_container .mkl_pc_viewer .mx-variant-header {
    align-self: flex-start !important;
    text-align: left !important;
    padding-left: 16px !important;
}

.is_configurable .wd-content-layout,
.is_configurable .content-layout-wrapper {
    max-width: 1320px !important;
    --wd-container-w: 1320px !important;
}

.elementor-232135 .elementor-element.elementor-element-6914475:not(.elementor-motion-effects-element-type-background) {
    background-color: #fff;
}

/* ═══════════════════════════════════════════════════════════════
   PRODUKTÜBERSICHT – Sidebar-Layout & Welten-Filter
   ═══════════════════════════════════════════════════════════════ */

/* Outer layout: sidebar + main */
.boeck-overview-layout {
    display: flex;
    align-items: flex-start;
    gap: 0;
    max-width: 1320px;
    margin: 0 auto;
}

/* ── Sidebar ────────────────────────────────────────────────────── */
/* ── Sidebar ────────────────────────────────────────────────────── */
.boeck-overview-sidebar {
    flex: 0 0 230px;
    width: 230px;
    padding: 0 20px 40px 0;
    position: sticky;
    top: 100px;
    /* gleiche Oberkante wie der Hauptinhalt */
    margin-top: 0;
    align-self: flex-start;
}

.boeck-overview-main {
    flex: 1 1 0;
    min-width: 0;
    padding-top: 0;
}

.boeck-overview-main .boeck-category-section {
    max-width: none;
    padding: 0;
    margin-left: 0;
    margin-right: 0;
}

.boeck-sidebar-breadcrumbs {
    margin-bottom: 16px;
    font-size: 13px;
    padding-bottom: 12px;
    border-bottom: 1px solid #d0d7e8;
}

/* ── Sidebar Nav Box ────────────────────────────────────────────── */
.boeck-world-nav {
    background: #eef1f8;
    border-radius: 10px;
    padding: 18px 16px 14px;
    margin-top: 0;
}

.boeck-world-nav__title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #2B3A67;
    margin: 0 0 12px;
    padding-bottom: 10px;
    border-bottom: 2px solid #d0d7e8;
    text-transform: uppercase;
}

.boeck-world-nav__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* ── Haupt-Welt-Buttons (Dropdown) ──────────────────────────────── */
.boeck-world-nav__btn {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    padding: 10px 14px !important;
    background: var(--bk-red) !important;
    background-color: var(--bk-red) !important;
    border: none !important;
    border-radius: 6px !important;
    box-shadow: none !important;
    text-align: left !important;
    cursor: pointer !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 0.06em !important;
    color: #fff !important;
    transition: background 0.15s !important;
    text-transform: uppercase !important;
    line-height: 1.2 !important;
}

.boeck-world-nav__btn:hover {
    background: #b91710 !important;
    background-color: #b91710 !important;
    color: #fff !important;
}

.boeck-world-nav__btn.is-active {
    background: var(--bk-red) !important;
    background-color: var(--bk-red) !important;
    color: #fff !important;
}

.boeck-world-nav__btn.is-active .boeck-world-nav__chevron {
    transform: rotate(180deg);
}

.boeck-world-nav__chevron {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    transition: transform 0.2s ease;
    color: #fff;
}

/* ── Pretitle (über dem Layout) ─────────────────────────────────── */
.boeck-overview-pretitle {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px 18px;
}

.boeck-overview-pretitle .boeck-overview-title {
    font-size: 28px;
    font-weight: 700;
    margin: 0;
}

/* ── Unterkategorie-Links: weißer Hintergrund, roter Text ────────── */
.boeck-world-nav__subcats {
    list-style: none;
    margin: 6px 0 6px 0;
    padding: 8px 6px;
    display: none;
    flex-direction: column;
    gap: 3px;
    background: #ffffff;
    border-radius: 6px;
}

.boeck-world-nav__subcats.is-open {
    display: flex;
}

.boeck-world-nav__subcats li {
    margin: 0;
    padding: 0;
}

.boeck-world-nav__subcat-link {
    display: block;
    padding: 6px 10px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--bk-red) !important;
    text-decoration: none !important;
    border-radius: 4px;
    transition: color 0.15s, background 0.15s;
    text-transform: uppercase;
    line-height: 1.3;
}

.boeck-world-nav__subcat-link:hover {
    color: #b91710 !important;
    background: #fff5f5;
}

.boeck-world-nav__subcat-link.is-active {
    color: var(--bk-red) !important;
    font-weight: 700;
}


/* ── Main content ───────────────────────────────────────────────── */
.boeck-overview-main {
    flex: 1 1 0;
    min-width: 0;
}

/* ── Weltcontainer ──────────────────────────────────────────────── */
.boeck-world-container {
    display: block;
}

.boeck-world-hidden {
    display: none !important;
}

/* ── Ladeindikator ──────────────────────────────────────────────── */
.boeck-world-loader {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 60px 20px;
    font-size: 14px;
    color: #666;
}

.boeck-world-loader__spinner {
    display: inline-block;
    width: 28px;
    height: 28px;
    border: 3px solid #e0e0e0;
    border-top-color: var(--bk-red);
    border-radius: 50%;
    animation: boeck-spin 0.7s linear infinite;
    flex-shrink: 0;
}

@keyframes boeck-spin {
    to {
        transform: rotate(360deg);
    }
}

/* ── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 1100px) {
    .boeck-overview-sidebar {
        flex: 0 0 210px;
        width: 210px;
    }
}

@media (max-width: 860px) {
    .boeck-overview-layout {
        flex-direction: column;
        padding: 0 15px;
        overflow: clip; /* verhindert horizontalen Ueberlauf ohne Scroll-Container zu erzeugen */
    }

    .boeck-overview-main {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    /* Sections: kein eigenes padding/margin/max-width — das Layout gibt den Rahmen vor */
    .boeck-overview-main .boeck-category-section,
    .boeck-category-page .boeck-category-section {
        padding: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        max-width: 100% !important;
    }

    .boeck-overview-sidebar {
        flex: none;
        width: 100%;
        position: static;
        padding: 0 0 20px;
        margin-bottom: 24px;
    }

    .boeck-world-nav {
        padding: 12px 14px 12px;
        border-radius: 8px;
        margin-top: 0;
    }

    .boeck-world-nav__list {
        flex-direction: column;
        gap: 6px;
        overflow-x: visible;
    }

    .boeck-world-nav__item {
        width: 100%;
        position: static;
    }

    .boeck-world-nav__btn {
        font-size: 12px !important;
        padding: 10px 14px !important;
        white-space: normal;
    }

    .boeck-world-nav__subcats {
        position: static;
        box-shadow: none;
        min-width: unset;
        background: #ffffff;
    }

    .boeck-world-nav__chevron {
        display: block;
    }

    .boeck-overview-main .boeck-overview-header,
    .boeck-overview-main .boeck-category-section {
        padding: 0;
    }
}


/* ============================================
   CART PAGE - BOECK DESIGN v4 (final)
   ============================================ */

:root {
    --bk-red: #d90f16;
    --bk-red-dark: #d90f16;
    --bk-blue: #2B3A67;
    --bk-bg: #eef1f8;
}

/* ════════════════════════════════════════
   BOECK CART - Target Style (Image 2)
   ════════════════════════════════════════ */

/* ── Tabelle ── */
.woocommerce-cart-form .shop_table {
    border: none !important;
    border-collapse: collapse !important;
    border-spacing: 0 !important;
    width: 100% !important;
}

/* ── Header ── */
.woocommerce-cart-form .shop_table thead th {
    border: none !important;
    background: transparent !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    color: var(--bk-blue) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    padding: 0 16px 14px 16px !important;
    vertical-align: bottom !important;
}

.woocommerce-cart-form .shop_table thead th.product-name {
    text-align: left !important;
    width: auto !important;
    /* align "PRODUKT" with product title text:
       cell-padding(16) + remove-btn(24) + gap(20) + thumb(80) + gap(20) = 160px */
    padding-left: 210px !important;
}

.woocommerce-cart-form .shop_table thead th.product-quantity {
    text-align: left !important;
    width: 360px !important;
    padding-left: 42px !important;
    visibility: visible !important;
}

.woocommerce-cart-form .shop_table thead th.product-subtotal {
    visibility: hidden !important;
    width: 160px !important;
}

/* ── Zeilen ── */
.woocommerce-cart-form .shop_table tbody tr.cart_item {
    border: none !important;
}

.woocommerce-cart-form .shop_table tbody tr.cart_item td {
    background: #eef1f6 !important;
    border: none !important;
    padding: 20px 16px !important;
    vertical-align: middle !important;
    border-radius: 0 !important;
}

/* Abgerundete Ecken: erste Zeile oben, letzte Zeile unten */
.woocommerce-cart-form .shop_table tbody tr.cart_item:first-child td:first-child {
    border-radius: 10px 0 0 0 !important;
}

.woocommerce-cart-form .shop_table tbody tr.cart_item:first-child td:last-child {
    border-radius: 0 10px 0 0 !important;
}

.woocommerce-cart-form .shop_table tbody tr.cart_item:last-child td:first-child {
    border-radius: 0 0 0 10px !important;
}

.woocommerce-cart-form .shop_table tbody tr.cart_item:last-child td:last-child {
    border-radius: 0 0 10px 0 !important;
}

/* Trennlinie volle Breite zwischen Produkten */
.woocommerce-cart-form .shop_table tbody tr.cart_item+tr.cart_item td {
    border-top: 1px solid #c4c9d4 !important;
}

/* Mobile: keine Trennlinie — Cards haben eigene border-radius */
@media (max-width: 768px) {
    .woocommerce-cart-form .shop_table tbody tr.cart_item+tr.cart_item td {
        border-top: none !important;
    }
}

/* ── Produkt-Zelle: X + Bild + Info nebeneinander ── */
td.boeck-product-cell {
    padding: 20px 16px !important;
}

.boeck-product-inner {
    display: flex !important;
    align-items: center !important;
    gap: 20px !important;
}

/* X Button */
a.boeck-remove {
    flex-shrink: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #555 !important;
    font-size: 20px !important;
    font-weight: 300 !important;
    line-height: 1 !important;
    text-decoration: none !important;
    background: none !important;
    border: none !important;
    width: 24px !important;
    text-align: center !important;
    transition: color .15s ease !important;
}

a.boeck-remove:hover {
    color: var(--bk-red) !important;
}

.boeck-remove {
    flex-shrink: 0 !important;
    width: 24px !important;
}

/* Thumbnail */
.boeck-thumb {
    flex-shrink: 0 !important;
    width: 80px !important;
}

.boeck-thumb img {
    width: 80px !important;
    height: 80px !important;
    object-fit: contain !important;
    display: block !important;
}

/* Produktname + Varianten */
.boeck-product-info {
    flex: 1 !important;
    min-width: 0 !important;
    padding-left: 30px;
}

a.boeck-product-title,
span.boeck-product-title {
    display: block !important;
    font-weight: 800 !important;
    font-size: 15px !important;
    color: var(--bk-blue) !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    margin-bottom: 8px !important;
    letter-spacing: 0.04em !important;
}

/* Varianten-Liste */
.boeck-product-info ul.variation {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.boeck-product-info ul.variation li {
    font-size: 13px !important;
    font-weight: 400 !important;
    color: var(--bk-blue) !important;
    text-transform: none !important;
    line-height: 1.7 !important;
    display: block !important;
    margin: 0 !important;
}

.boeck-product-info ul.variation li .item-variation-name {
    font-weight: 700 !important;
    color: var(--bk-blue) !important;
}

.boeck-product-info ul.variation li .item-variation-value p {
    display: inline !important;
    margin: 0 !important;
    font-weight: 400 !important;
    color: var(--bk-blue) !important;
}

/* ── Quantity ── */
/* ── Qty + Preisanfrage: eine TD, flex space-between ── */
td.boeck-qty-preis-cell {
    vertical-align: middle !important;
    padding-left: 40px !important;
    padding-right: 20px !important;
    width: 360px !important;
}

.boeck-qty-preis-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 16px !important;
}

.boeck-qty-wrapper {
    flex-shrink: 0 !important;
}

.boeck-preisanfrage-label {
    font-weight: 700 !important;
    font-size: 13px !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
    color: var(--bk-blue) !important;
    white-space: nowrap !important;
}

/* Quantity widget */
td.boeck-qty-preis-cell .quantity {
    display: inline-grid !important;
    grid-template-columns: 44px 1fr 44px !important;
    align-items: center !important;
    background: var(--bk-red) !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    box-shadow: 0 10px 22px rgba(0, 0, 0, .18) !important;
    height: 52px !important;
    width: 120px !important;
}

td.boeck-qty-preis-cell .quantity input.qty {
    width: 100% !important;
    height: 52px !important;
    border: 0 !important;
    background: transparent !important;
    color: #fff !important;
    text-align: center !important;
    font-weight: 800 !important;
    font-size: 17px !important;
    padding: 0 !important;
    -moz-appearance: textfield !important;
}

td.boeck-qty-preis-cell .quantity input.qty::-webkit-outer-spin-button,
td.boeck-qty-preis-cell .quantity input.qty::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
}

td.boeck-qty-preis-cell .quantity .minus,
td.boeck-qty-preis-cell .quantity .plus {
    width: 44px !important;
    height: 52px !important;
    border: 0 !important;
    background: transparent !important;
    color: #fff !important;
    font-weight: 900 !important;
    font-size: 20px !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

td.boeck-qty-preis-cell .quantity .minus:hover,
td.boeck-qty-preis-cell .quantity .plus:hover {
    background: rgba(255, 255, 255, .15) !important;
}

/* ── ALLE 3 BUTTONS IN EINER REIHE ── */
.boeck-cart-actions {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 12px !important;
    margin-top: 28px !important;
    width: 100% !important;
}

.boeck-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 52px !important;
    min-height: 52px !important;
    padding: 0 28px !important;
    border: 0 !important;
    border-radius: 16px !important;
    background: var(--bk-red) !important;
    color: #fff !important;
    text-transform: uppercase !important;
    letter-spacing: .06em !important;
    font-weight: 800 !important;
    font-size: 14px !important;
    box-shadow: 0 10px 22px rgba(0, 0, 0, .18) !important;
    transition: transform .12s ease, box-shadow .12s ease, background .12s ease !important;
    cursor: pointer !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    font-family: inherit !important;
}

.boeck-btn:hover {
    background: #f52525 !important;
    box-shadow: 0 14px 28px rgba(0, 0, 0, .22) !important;
    transform: translateY(-1px) !important;
    color: #fff !important;
}

.boeck-cart-actions .mx-forward-request {
    margin-left: auto !important;
}

/* Cart page title "Anfragekorb" → blue */
.woocommerce-cart h1,
.woocommerce-cart h2,
.woocommerce-cart .entry-title,
.woocommerce-cart .page-title,
.woocommerce-cart .elementor-heading-title {
    color: var(--bk-blue) !important;
}

/* ── FIX: "wurde deinem Warenkorb hinzugefügt" Banner ausblenden ── */
.woocommerce-cart .woocommerce-message,
.woocommerce-cart .woocommerce-notices-wrapper .woocommerce-message {
    display: none !important;
}

/* ── FIX: Produktname im Warenkorb fetter + größer ── */
a.boeck-product-title,
span.boeck-product-title {
    font-weight: 900 !important;
    font-size: 16px !important;
}

/* ── FIX: Varianten-Zeilen enger zusammen ── */
.boeck-product-info ul.variation li {
    line-height: 1.35 !important;
    margin-bottom: 1px !important;
}

/* ════════════════════════════════════════
   BOECK CART - Mobile / Responsive (≤ 768px)
   ════════════════════════════════════════ */
@media (max-width: 768px) {

    .woocommerce-cart-form .shop_table,
    .woocommerce-cart-form .shop_table tbody {
        display: block !important;
        width: 100% !important;
    }

    .woocommerce-cart-form .shop_table thead {
        display: none !important;
    }

    .woocommerce-cart-form .shop_table td::before,
    .woocommerce-cart-form .shop_table td[data-title]::before {
        display: none !important;
        content: none !important;
    }

    .woocommerce-cart-form .shop_table tbody tr.cart_item {
        display: block !important;
        background: #eef1f6 !important;
        border-radius: 10px !important;
        margin-bottom: 12px !important;
        padding: 16px !important;
        border: none !important;
    }

    .woocommerce-cart-form .shop_table tbody tr.cart_item+tr.cart_item {
        border-top: none !important;
    }

    .woocommerce-cart-form .shop_table tbody tr.cart_item td {
        display: block !important;
        background: transparent !important;
        padding: 0 !important;
        border: none !important;
        border-radius: 0 !important;
        width: 100% !important;
    }

    td.boeck-product-cell {
        padding: 0 0 14px 0 !important;
    }

    .boeck-product-inner {
        gap: 10px !important;
    }

    .boeck-thumb {
        width: 56px !important;
    }

    .boeck-thumb img {
        width: 56px !important;
        height: 56px !important;
    }

    a.boeck-product-title,
    span.boeck-product-title {
        font-size: 13px !important;
    }

    .boeck-product-info ul.variation li {
        font-size: 12px !important;
        line-height: 1.5 !important;
    }

    /* Qty+Preis auf Mobile: volle Breite, button links, text rechts */
    td.boeck-qty-preis-cell {
        padding: 0 !important;
        width: 100% !important;
    }

    .boeck-qty-preis-inner {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
    }

    td.boeck-qty-preis-cell .quantity {
        width: 110px !important;
        height: 40px !important;
    }

    td.boeck-qty-preis-cell .quantity input.qty {
        height: 40px !important;
        font-size: 15px !important;
    }

    td.boeck-qty-preis-cell .quantity .minus,
    td.boeck-qty-preis-cell .quantity .plus {
        width: 36px !important;
        height: 40px !important;
        font-size: 18px !important;
    }

    .boeck-preisanfrage-label {
        font-size: 12px !important;
    }

    /* Buttons */
    .boeck-cart-actions {
        flex-wrap: wrap !important;
        gap: 10px !important;
    }

    .boeck-btn {
        flex: 1 1 calc(50% - 5px) !important;
        min-width: 130px !important;
        font-size: 11px !important;
        padding: 0 14px !important;
    }

    .boeck-cart-actions .mx-forward-request {
        margin-left: 0 !important;
        width: 100% !important;
        flex: 1 1 100% !important;
    }
}

@media (max-width: 400px) {
    .boeck-btn {
        flex: 1 1 100% !important;
    }

    a.boeck-product-title,
    span.boeck-product-title {
        font-size: 12px !important;
        letter-spacing: 0.02em !important;
    }
}

.wpmc-tabs-wrapper {
    background: var(--bk-red) !important;
    border-radius: 10px !important;
}

.wpmc-tabs-wrapper .wpmc-tab-item .wpmc-tab-text {
    color: white !important;
}

.wpmc-tabs-wrapper .wpmc-tab-item .wpmc-tab-number {
    color: var(--bk-red) !important;
}

.wpmc-tabs-wrapper .wpmc-tab-item:before {
    border-bottom-color: #c9c9c9 !important;
}

.woocommerce-billing-fields>h3 {
    display: none;
}

.wpmc-steps-wrapper {
    background-color: #24367A0D !important;
    border-radius: 10px !important;
    padding: 12px 16px !important;
}

/* ── Warenkorb-Zusammenfassung ausblenden (Zwischensumme, Versand, Gesamtsumme) ── */
tr.cart-subtotal,
tr.woocommerce-shipping-totals.shipping,
tr.order-total {
    display: none !important;
}

table.woocommerce-checkout-review-order-table tr.cart_item td.wd-checkout-prod {
    width: 100% !important;
    max-width: 100% !important;
}

/* ── Checkout: Produktname (cart-product-label) 1:1 wie cart boeck-product-title ── */
table.woocommerce-checkout-review-order-table span.cart-product-label,
table.woocommerce-checkout-review-order-table .wd-checkout-prod-title span.cart-product-label {
    font-weight: 800 !important;
    font-size: 15px !important;
    color: var(--bk-blue) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.04em !important;
}

/* ── Checkout: Menge "× 1" wie cart ── */
table.woocommerce-checkout-review-order-table strong.product-quantity {
    font-weight: 800 !important;
    font-size: 15px !important;
    color: var(--bk-blue) !important;
}

/* ── Checkout: Varianten-Liste 1:1 wie .boeck-product-info ul.variation ── */
table.woocommerce-checkout-review-order-table ul.variation li {
    font-size: 13px !important;
    font-weight: 400 !important;
    color: var(--bk-blue) !important;
    line-height: 1.7 !important;
}

table.woocommerce-checkout-review-order-table ul.variation li .item-variation-name,
table.woocommerce-checkout-review-order-table ul.variation li p.item-variation-name {
    font-weight: 700 !important;
    color: var(--bk-blue) !important;
}

table.woocommerce-checkout-review-order-table ul.variation li .item-variation-value p,
table.woocommerce-checkout-review-order-table ul.variation li span.item-variation-value {
    font-weight: 400 !important;
    color: var(--bk-blue) !important;
}

.mx_preisaufanfrage {
    font-weight: 700 !important;
    font-size: 13px !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
    color: var(--bk-blue) !important;
    white-space: nowrap !important;
}

.product-name {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: var(--bk-blue) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
}

/* ── Checkout: "PREISANFRAGE ABSENDEN" Button 1:1 wie .boeck-btn ── */
button#place_order {
    height: 52px !important;
    min-height: 52px !important;
    padding: 0 28px !important;
    border: 0 !important;
    border-radius: 16px !important;
    background: var(--bk-red) !important;
    color: #fff !important;
    text-transform: uppercase !important;
    letter-spacing: .06em !important;
    font-weight: 800 !important;
    font-size: 14px !important;
    box-shadow: 0 10px 22px rgba(0, 0, 0, .18) !important;
    transition: transform .12s ease, box-shadow .12s ease, background .12s ease !important;
    cursor: pointer !important;
    white-space: nowrap !important;
    font-family: inherit !important;
    margin: 0 !important;
    vertical-align: middle !important;
}

/* Center place_order vertically inside its wpmc step wrapper */
div.wpmc-step-item.wpmc-step:has(#place_order),
.woocommerce-checkout #payment,
.woocommerce-checkout #payment div.place-order {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    margin: 0 !important;
    padding: 0 !important;
}

button#place_order:hover {
    background: #f52525 !important;
    box-shadow: 0 14px 28px rgba(0, 0, 0, .22) !important;
    transform: translateY(-1px) !important;
    color: #fff !important;
}

/* ── Cart: "WARENKORB AKTUALISIEREN" Button 1:1 wie .boeck-btn ── */
button.boeck-btn.mx-update-cart-trigger {
    height: 52px !important;
    min-height: 52px !important;
    padding: 0 28px !important;
    border: 0 !important;
    border-radius: 16px !important;
    background: var(--bk-red) !important;
    color: #fff !important;
    text-transform: uppercase !important;
    letter-spacing: .06em !important;
    font-weight: 800 !important;
    font-size: 14px !important;
    box-shadow: 0 10px 22px rgba(0, 0, 0, .18) !important;
    transition: transform .12s ease, box-shadow .12s ease, background .12s ease !important;
    cursor: pointer !important;
    white-space: nowrap !important;
    font-family: inherit !important;
}

button.boeck-btn.mx-update-cart-trigger:hover {
    background: #f52525 !important;
    box-shadow: 0 14px 28px rgba(0, 0, 0, .22) !important;
    transform: translateY(-1px) !important;
    color: #fff !important;
}

/* ── Checkout: "ZURÜCK ZUM ANFRAGEKORB" + "ZURÜCK" Buttons 1:1 wie .boeck-btn ── */
button#wpmc-back-to-cart,
button#wpmc-prev,
button#wpmc-next {
    border: 0 !important;
    border-radius: 16px !important;
    background: var(--bk-red) !important;
    color: #fff !important;
    text-transform: uppercase !important;
    letter-spacing: .06em !important;
    font-weight: 800 !important;
    font-size: 14px !important;
    box-shadow: 0 10px 22px rgba(0, 0, 0, .18) !important;
    transition: transform .12s ease, box-shadow .12s ease, background .12s ease !important;
    cursor: pointer !important;
    white-space: nowrap !important;
    font-family: inherit !important;
}

button#wpmc-back-to-cart:hover,
button#wpmc-prev:hover,
button#wpmc-next:hover {
    background: #f52525 !important;
    box-shadow: 0 14px 28px rgba(0, 0, 0, .22) !important;
    transform: translateY(-1px) !important;
    color: #fff !important;
}

#order_review_heading { 
    display: none;
}

.woocommerce-checkout .elementor-widget-heading .elementor-heading-title { 
    color: var(--bk-blue) !important;
}

@media (max-width: 576px) {
    .wd-checkout-prod-total {
        text-align: end !important;
    }
}

/* ══════════════════════════════════════════════════════════════════
   MX POPUP – POINTER-EVENTS FIX (alle Modi)
   
   Problem: #mxNewPopupOverlay ist position:fixed + inset:0 (voller
   Viewport) ODER 980×492px groß und blockiert Klicks auf die Seite.
   Gilt für beide Modi: mx-center-popup (kein Hersteller) und
   mx-slideout (Hersteller ausgewählt).
   ══════════════════════════════════════════════════════════════════ */

/* 1. Elementor Modal Wrapper (voller Viewport, fixed) */
#elementor-popup-modal-6079585 {
    pointer-events: none !important;
}
#elementor-popup-modal-6079585 .dialog-widget-content {
    pointer-events: auto !important;
}

/* 2. Das custom Overlay (#mxNewPopupOverlay) – immer nicht klickbar */
.mx-new-popup-overlay,
#mxNewPopupOverlay {
    pointer-events: none !important;
}

/* 3. Das Popup-Fenster selbst klickbar */
.mx-new-popup {
    pointer-events: auto !important;
}

/* 4. Bild-Bereich (ragt mit width:115% raus) → nicht klickbar */
.mx-new-popup__image,
.mx-new-popup__image * {
    pointer-events: none !important;
}

/* 5. Nur der Formular-Bereich → klickbar */
.mx-new-popup__content,
.mx-new-popup__content * {
    pointer-events: auto !important;
}

/* 6. Scroll-Lock für zentriertes Popup (kein Hersteller) */
html.mx-lock-scroll,
body.mx-lock-scroll {
    overflow: hidden !important;
}

/* ── taxonomy-product_cat: Kategorie-Seite Sidebar-Overrides ─────────── */

.boeck-category-page .boeck-world-nav {
    padding-top: 8px;
}

.boeck-category-page .boeck-world-nav__title {
    background: var(--bk-red);
    color: #fff !important;
    border-bottom: none;
    border-radius: 6px;
    padding: 10px 14px;
    margin-bottom: 0;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
}

/* Wenn Hersteller-Filter aktiv: Titel wie auf Produktübersicht (kleiner blauer Text) */
.boeck-category-page .boeck-world-nav--has-filter .boeck-world-nav__title {
    background: transparent !important;
    color: #2B3A67 !important;
    border-bottom: 2px solid #d0d7e8;
    border-radius: 0;
    padding-bottom: 10px;
    padding-left: 2px;
    padding-right: 2px;
    margin-bottom: 12px;
    font-size: 11px;
    letter-spacing: 0.12em;
}

.boeck-category-page .boeck-world-nav__subcats {
    margin-top: 0;
    border-radius: 0 0 6px 6px;
    background: #fff;
    padding: 8px 6px;
}

.boeck-category-page .boeck-world-nav__subcat-link {
    color: #2B3A67 !important;
    font-weight: 600;
}

.boeck-category-page .boeck-world-nav__subcat-link:hover,
.boeck-category-page .boeck-world-nav__subcat-link.is-active {
    color: var(--bk-red) !important;
    background: #fff5f5;
}

.boeck-world-nav__back-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 12px;
    padding: 12px 16px;
    background: var(--bk-red);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
    text-decoration: none;
    border-radius: 6px;
    transition: background .2s;
    text-transform: uppercase;
    width: 100%;
    box-sizing: border-box;
}
.boeck-world-nav__back-btn:hover {
    background: #b91710;
    color: #fff;
}
.boeck-world-nav__back-btn svg {
    fill: currentColor;
    color: #fff;
    flex-shrink: 0;
}

/* Produktübersicht-Links: blau, hover rot – kommt nach category-page Regeln */
.boeck-product-overview .boeck-world-nav__subcat-link {
    color: #2B3A67 !important;
}
.boeck-product-overview .boeck-world-nav__subcat-link:hover,
.boeck-product-overview .boeck-world-nav__subcat-link.is-active {
    color: var(--bk-red) !important;
    background: #fff5f5;
}

.boeck-newsletter-container {
    max-width: 100% !important;
}

@media (max-width: 1024px) {
    .wd-page-wrapper,
    .website-wrapper {
        width: 100% !important;
        max-width: 100vw !important;
        /* overflow-x: hidden würde implizit overflow-y: auto setzen        */
        /* und damit position:sticky in Kind-Elementen komplett brechen.    */
        /* overflow-x: clip hat denselben visuellen Effekt (kein horizontales*/
        /* Scrollen), erzeugt aber keinen Scroll-Container → Sticky läuft.  */
        overflow-x: clip !important;
    }
}

#wpmc-prev {
    margin-right: auto !important;
}

button#fake-place-order {
    border: 0 !important;
    border-radius: 16px !important;
    background: var(--bk-red) !important;
    color: #fff !important;
    text-transform: uppercase !important;
    letter-spacing: .06em !important;
    font-weight: 800 !important;
    font-size: 14px !important;
    box-shadow: 0 10px 22px rgba(0, 0, 0, .18) !important;
    transition: transform .12s ease, box-shadow .12s ease, background .12s ease !important;
    cursor: pointer !important;
    white-space: nowrap !important;
    font-family: inherit !important;
}

button#fake-place-order:hover {
    background: #f52525 !important;
    box-shadow: 0 14px 28px rgba(0, 0, 0, .22) !important;
    transform: translateY(-1px) !important;
    color: #fff !important;
}

nav.wd-breadcrumbs.woocommerce-breadcrumb {
    padding-left: 16px;
    padding-right: 16px;
    box-sizing: border-box;
}

@media (min-width: 1270px) {
    nav.wd-breadcrumbs.woocommerce-breadcrumb {
        padding-left: 0;
        padding-right: 0;
    }
}

.boeck-newsletter-section {
    max-width: 1270px !important;
    margin: 0 auto !important;
}

.elementor-section.elementor-section-stretched {
    position: relative !important;
    left: calc(-1 * ((100vw - 100%) / 2)) !important;
    width: 100vw !important;
    max-width: none !important;
    box-sizing: border-box !important;
}

* {
    touch-action: pan-y !important;
}

a, button, [role="button"], input, select, textarea, label,
.boeck-world-nav__btn, .boeck-toggle-btn,
.woodmart-nav-btn, .wd-header-cart {
    touch-action: manipulation !important;
}

.pswp[aria-hidden="false"],
.pswp[aria-hidden="false"] .pswp__container,
.pswp[aria-hidden="false"] * {
    touch-action: none !important;
}

.pswp[aria-hidden="true"],
.pswp[aria-hidden="true"] * {
    touch-action: pan-y !important;
    pointer-events: none !important;
}

/* ── Hersteller-Filter: Text-Reset-Link in Sidebar ─────────────── */
.boeck-manufacturer-text-reset {
    display: block;
    margin-top: 10px;
    padding: 8px 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--bk-red) !important;
    text-decoration: none !important;
    text-transform: uppercase;
    border-top: 1px solid #d0d7e8;
}

.boeck-manufacturer-text-reset:hover {
    color: #b91710 !important;
    text-decoration: underline !important;
}

.boeck-world-nav__manufacturer-label {
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    background: var(--bk-red);
    margin: 4px 0 0;
    padding: 6px 14px;
    border-radius: 0 0 6px 6px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    display: block;
}

.boeck-world-nav__manufacturer-label strong {
    color: #fff;
    font-weight: 900;
}

.boeck-category-page .boeck-category-section {
    margin-top: 65px;
}

@media (min-width: 861px) and (max-width: 1024px) {
    .boeck-category-section { 
        margin-top: 55px;
    }

    .boeck-category-page .boeck-category-section {
    margin-top: 80px;
    }

        .boeck-overview-sidebar {
        position: sticky;
        top: 100px;
        align-self: flex-start;
    }

    /* Falls ein Elternelement overflow blockt: */
    .boeck-overview-layout,
    .boeck-product-overview,
    .wd-content-area {
        overflow: visible !important;
    }
}