/* Only the shop's decorative image overlays; stock and prices stay in the product information. */
body:lang(de) .berocket_alabel_id_519,
body:lang(de) .berocket_alabel_id_520 { display: none !important; }
.berocket_better_labels_image { pointer-events: none; }
.woocommerce ul.products li.product .jfl-shopstatus {
    margin: .25rem 0 .5rem; color: #44594d;
    font-size: .85rem; font-weight: 500; line-height: 1.4; text-transform: none;
}
.woocommerce ul.products li.product .loop-thumb-wrapper { overflow: hidden; }
.woocommerce .product .summary .stock { font-size: .95rem; font-weight: 500; }
.woocommerce .summary:has(.stock.out-of-stock) .delivery-time-ca-48-hours,
.woocommerce .summary:has(.stock.out-of-stock) .wgm-info.shipping_de_string { display: none; }
.woocommerce .woocommerce-Tabs-panel--description li { margin-bottom: .35em; }
.woocommerce .woocommerce-Tabs-panel--description p { max-width: 65ch; }
body :is(.menu-toggle, .mobile-search-toggle, .mobile-menu-close, .search-cancel, .wvg-slider-next-arrow, .wvg-slider-prev-arrow):focus-visible {
    outline: 2px solid currentColor; outline-offset: 3px;
}
@media (max-width: 700px) {
    .sidebar-cart .product_list_widget li.woocommerce-mini-cart-item {
        padding-left: 64px; padding-right: 44px;
    }
    .sidebar-cart .product_list_widget li.woocommerce-mini-cart-item img {
        left: 0;
    }
    .sidebar-cart .product_list_widget li.woocommerce-mini-cart-item > a.remove {
        display: grid; place-items: center; top: 2px; right: 0; left: auto;
        width: 44px; min-width: 44px; max-width: none; height: 44px; line-height: 1;
    }
    .sidebar-cart .product_list_widget a.remove:focus-visible {
        outline: 2px solid currentColor; outline-offset: -2px;
    }
    .mobile-header :is(.menu-toggle, .mobile-menu-close, a.mobile-search-toggle, .search-cancel),
    .woocommerce :is(.wvg-slider-next-arrow, .wvg-slider-prev-arrow) {
        min-width: 44px; min-height: 44px;
    }
    .woocommerce ul.products li.product .button,
    .woocommerce .single_add_to_cart_button,
    .woocommerce .wc-proceed-to-checkout a {
        display: inline-flex; min-height: 44px; align-items: center; justify-content: center;
        line-height: 1.35; white-space: normal; padding: .65em .85em;
    }
    .woocommerce ul.products li.product .woocommerce-loop-product__title {
        font-size: clamp(1rem, 3.6vw, 1.2rem); line-height: 1.3; word-break: normal;
    }
}

/* Shopix typefaces, served from the shop. */
@font-face {
  font-family: 'Spectral';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(./jfl-spectral-400-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Spectral';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(./jfl-spectral-400-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Spectral';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(./jfl-spectral-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Spectral';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(./jfl-spectral-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Spectral';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(./jfl-spectral-600-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Spectral';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(./jfl-spectral-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Spectral SC';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(./jfl-spectral-sc-400-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Spectral SC';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(./jfl-spectral-sc-400-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Spectral SC';
  font-style: normal;
  font-weight: 200;
  font-display: swap;
  src: url(./jfl-spectral-sc-200-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Spectral SC';
  font-style: normal;
  font-weight: 200;
  font-display: swap;
  src: url(./jfl-spectral-sc-200-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Image surfaces use the shop's existing warm neutral palette. */
:is(.woocommerce-shop, .tax-product_cat, .single-product) ul.products li.product {
    min-width: 0;
}

.woocommerce ul.products li.product .loop-thumb-wrapper {
    position: relative;
    aspect-ratio: 1;
    margin-bottom: .8rem;
    background: #f4f0e8;
    border: 1px solid #e8e0d4;
}

.woocommerce ul.products li.product .loop-thumb-wrapper > a.woocommerce-LoopProduct-link {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template: minmax(0, 1fr) / minmax(0, 1fr);
    padding: clamp(.5rem, 1.4vw, .95rem);
}

.woocommerce ul.products li.product .loop-thumb-wrapper .ibfw_square_data_main {
    display: grid;
    grid-template: minmax(0, 1fr) / minmax(0, 1fr);
    width: 100%;
    min-height: 0;
}

.woocommerce ul.products li.product .loop-thumb-wrapper img:not(.hover-swap) {
    display: block;
    width: 100%;
    height: 100%;
    max-height: 100%;
    aspect-ratio: auto;
    object-fit: contain;
}

.woocommerce ul.products li.product .loop-thumb-wrapper > a:focus-visible {
    outline: 2px solid #674f32;
    outline-offset: -3px;
}

body.woocommerce:is(.woocommerce-shop, .tax-product_cat) ul.products {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: clamp(1rem, 2.35vw, 2rem);
}

body.woocommerce:is(.woocommerce-shop, .tax-product_cat) ul.products::before,
body.woocommerce:is(.woocommerce-shop, .tax-product_cat) ul.products::after {
    display: none;
}

body.woocommerce:is(.woocommerce-shop, .tax-product_cat) ul.products li.product {
    display: flex;
    flex-direction: column;
    float: none;
    clear: none;
    width: auto !important;
    margin: 0 0 .65rem !important;
    text-align: start;
}

body.woocommerce:is(.woocommerce-shop, .tax-product_cat) ul.products li.product > a.button {
    align-self: flex-start;
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    margin-top: auto;
    padding: .65em .9em;
    line-height: 1.35;
    text-transform: none;
}

.woocommerce ul.products li.product .loop-product-cats {
    margin: 0 0 .3rem;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    margin: 0;
    padding: 0 0 .45rem;
    text-wrap: pretty;
}

.woocommerce ul.products li.product .jfl-card-facts {
    justify-content: flex-start;
    gap: .25rem .85rem;
    margin-block: .4rem .85rem;
}

.single-product .product .single-product-top .wvg-single-gallery-image-container {
    display: grid;
    grid-template: minmax(0, 1fr) / minmax(0, 1fr);
    box-sizing: border-box;
    height: clamp(17rem, 48vw, 34rem);
    padding: clamp(.7rem, 2vw, 1.45rem);
    background: #f4f0e8;
    border: 1px solid #e8e0d4;
}

.single-product .single-product-top .wvg-single-gallery-image-container img.wvg-post-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.single-product .single-product-top .woo-variation-gallery-trigger {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    background: #faf8f4;
    color: #2c2823;
    border: 1px solid #e8e0d4;
    border-radius: 50%;
    opacity: 1;
}

.single-product .single-product-top .woo-variation-gallery-trigger:focus-visible {
    outline: 2px solid #674f32;
    outline-offset: 2px;
}

/* The first photo can paint while the slider script initializes. */
.single-product .single-product-top .woo-variation-gallery-slider:not(.slick-initialized) > .wvg-gallery-image:first-child {
    display: block;
    opacity: 1;
    filter: none;
}

.single-product .jfl-wa-tile__frame .jfl-wa-tile__media > img.jfl-foto-wohnansicht {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    object-fit: contain;
    object-position: center;
}

.home .jfl-home .jfl-hero figure picture {
    display: block;
}

body.home.page-id-70 .elementor-section-boxed > .elementor-container:has(.jfl-home) {
    max-width: 1140px;
    margin-inline: auto;
}

body.home.page-id-70 .elementor-column-gap-default .elementor-widget-wrap:has(.jfl-home) {
    padding: 10px;
}

.home .jfl-home .jfl-wa-teaser--home .jfl-wa-teaser__image > img {
    aspect-ratio: 7 / 5;
    object-fit: contain;
    object-position: center;
}

.home .jfl-home .jfl-instagram__heading {
    border-bottom: 1px solid #d7cdbd;
    padding-bottom: .35rem;
}

.home .jfl-home .jfl-instagram__link:hover {
    color: #2c2923;
}

@media (max-width: 900px) {
    body.woocommerce:is(.woocommerce-shop, .tax-product_cat) ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .home .jfl-home {
        padding-top: 1.15rem;
    }

    .home .jfl-home .jfl-hero {
        gap: 1rem;
    }

    .home .jfl-home .jfl-instagram__heading {
        display: grid;
        gap: .15rem;
    }

    .single-product .product .single-product-top .wvg-single-gallery-image-container {
        height: clamp(15rem, 89vw, 27rem);
    }
}

@media (max-width: 490px) {
    body.woocommerce:is(.woocommerce-shop, .tax-product_cat) ul.products {
        grid-template-columns: minmax(0, 1fr);
    }
}
