/*
 Theme Name:   Schwarzwaldkind
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

@font-face {
    font-family: 'LeOsler';  /* Du kannst diesen Namen frei wählen */
    src: url('fonts/LeOsler-RoughRegular.woff2') format('woff2'),
         url('fonts/LeOsler-RoughRegular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap; /* Sorgt dafür, dass Text sofort sichtbar ist, auch wenn die Schrift noch lädt */
}


/* martel-sans-200 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Martel Sans';
  font-style: normal;
  font-weight: 200;
  src: url('/fonts/martel-sans-v14-latin-200.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* martel-sans-300 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Martel Sans';
  font-style: normal;
  font-weight: 300;
  src: url('/fonts/martel-sans-v14-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* martel-sans-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Martel Sans';
  font-style: normal;
  font-weight: 400;
  src: url('/fonts/martel-sans-v14-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* martel-sans-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Martel Sans';
  font-style: normal;
  font-weight: 600;
  src: url('/fonts/martel-sans-v14-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* martel-sans-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Martel Sans';
  font-style: normal;
  font-weight: 700;
  src: url('/fonts/martel-sans-v14-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* martel-sans-800 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Martel Sans';
  font-style: normal;
  font-weight: 800;
  src: url('/fonts/martel-sans-v14-latin-800.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}


.archive .product {
    background-color: #ffffff;
    border-radius: 10px;
    padding-left: 10px;
    padding-right: 10px;
}

.archive .product .button {
    margin-bottom: 10px;
}

.archive .inside-wc-product-image {
    /* padding-top:10px; */
}

#wc-column-container .product {
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 20px;
}

#wc-column-container .product:hover {
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

#wc-column-container .wc-product-image {
    padding-top: 10px;
}

#wc-column-container .wc-product-image img {
    border-radius: 5px;
}

.footer-widgets .widget {
    margin-bottom: 0px;
}

.archive .variations th {
    display: none;
}

.archive .variations td,
.variations th,
.variations table {
    border: none;
}

.archive .merchant-product-swatches table {
    border-width: 0px 0 0 0px !important;
}

/* Container for the title and logo */
.product_title_logo_container {
    display: grid;
    grid-template-columns: auto auto;
    /* Flexible columns for title and logo */
    align-items: start;
    /* Align title and logo to the top */
    gap: 20px;
    /* Space between the title and logo */
}

/* Title styling */
.product_title.entry-title {
    font-size: 2.1em;
    /* Adjust font size as needed */
    line-height: 1.1em;
    margin: 0;
    white-space: normal;
    /* Allow the title to wrap onto multiple lines */
    overflow: visible;
    /* Ensure no part of the title is hidden */
    word-wrap: break-word;
    /* Prevent long words from overflowing the container */
}

/* Logo styling */
.brand-logo {
    display: flex;
    /* Use flexbox for alignment */
    align-items: start;
    /* Align logo to the top of its container */
    justify-content: center;
    /* Optionally center the logo horizontally if needed */
}

.brand-logo img {
    width: 80px;
    /* Adjust logo size as necessary */
    height: auto;
    border: 0.5px solid #b5b5b5;
    padding: 10px 5px;
    /* Adjust padding around the logo */
}

/* Media query for smaller screens */
@media (max-width: 768px) {
    .product_title_logo_container {
        grid-template-columns: 100%;
        /* Title and logo take up full width, stacked vertically */
        gap: 10px;
        /* Adjust gap between title and logo when stacked */
    }

    .brand-logo {
        text-align: left;
        /* Align logo to the left on smaller screens */
        margin-top: 10px;
        /* Add spacing between title and logo when stacked */
    }
}


/* Accordion auf Produktseiten stylen */

.product-accordions {
    margin: 20px 0;
}

.inside-article .accordion-item {
    border: 1px solid #5d7975;
    margin-bottom: 5px;
}

.inside-article .accordion-header {
    width: 100%;
    padding: 15px;
    background: #f7f7f7;
    border: none;
    text-align: left;
    cursor: pointer;
    position: relative;
    font-weight: normal;
    color: #5d7975;

}

.inside-article .accordion-icon {
    position: absolute;
    right: 15px;
}

.inside-article .accordion-content {
    display: none;
    padding: 15px;
}

.inside-article .accordion-item.active .accordion-content {
    display: block;
}

.inside-article .accordion-item.active .accordion-icon {
    transform: rotate(45deg);
}


.single-product .price,
.single-product .legal-price-info p {
    margin-bottom: 0px;
}

.single-product .wc-gzd-additional-info {
    margin-bottom: 0px !important;
    font-size: 12px !important;
}

.woocommerce-product-details__short-description {
    margin-top: 30px;
    font-size: 14px;
    color: #645d59 !important;
}



/* .amazon-style-price {
    text-align: left; 
    margin: 0;
}

.amazon-style-price .price-row {
    display: flex;
    align-items: center; 
    gap: 10px; 
}

.amazon-style-price .discount {
    color: #b62501;
    font-size: 1.7em;
    font-weight: 300;
    white-space: nowrap; 

.amazon-style-price .main-price {
    display: flex;
    align-items: baseline;
    color: #5A2C06;
    font-weight: bold;
    font-size: 0.5em;
    line-height: 1;
}

.amazon-style-price .price-int {
    font-size: 3.8em; 
}

.amazon-style-price .price-decimals {
    font-size: 1.8em;
    margin-left: 2px;
    position: relative;
    top: -0.8em; 
}

.amazon-style-price .price-currency {
    font-size: 1.8em;
    margin-left: 2px;
    position: relative;
    top: -0.8em; 
}

.amazon-style-price .regular-price {
    font-size: 1.2em;
    color: #B79B8C;
    margin-top: 5px; 
    text-align: left; 
}

.amazon-style-price .regular-price del {
   color:#000;
} */


/* Stil für Hauptpreis, aber nicht für durchgestrichene Preise */
/* .price span.woocommerce-Price-amount {
    font-size: 1.1em; 
    line-height: 1;
    color: #5A2C06;
} */

/* Dezimalstellen, Komma und Währungssymbol hochstellen */
/* .price:not(del) span.woocommerce-Price-amount bdi {
    display: inline-flex;
    align-items: baseline; 
    
} */

/* .single .price:not(del) span.woocommerce-Price-amount bdi {
    font-size: 1.5em;
}

.archive .price:not(del) span.woocommerce-Price-amount bdi {
    font-size: 1.3em;
} */

/* Dezimalstellen und Komma kleiner und hochgestellt */
/* .price:not(del) span.woocommerce-Price-amount bdi sup {
    font-size: 0.4em; 
    vertical-align: super; 
} */

/* Dezimalstellen und Komma kleiner und hochgestellt */
/* .single .price:not(del) span.woocommerce-Price-amount bdi sup {
    font-size: 0.4em; 
    top: -1em !important;
} */

/* Dezimalstellen und Komma kleiner und hochgestellt */
/* .archive .price:not(del) span.woocommerce-Price-amount bdi sup {
    font-size: 0.6em; 
    top: -0.5em !important;
} */

/* Währungssymbol kleiner und hochstellen */
/* .price:not(del) span.woocommerce-Price-currencySymbol {
    font-size: 0.7em; 
    vertical-align: super; 
} */


/* Logo mittig positionieren */
@media screen and (min-width: 1024px) {
    .inside-header {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .site-logo {
        width: 100%;
        text-align: center;
    }

    /* Mobile Menu Control Wrapper nach rechts verschieben */
    .mobile-menu-control-wrapper {
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
    }

    /* Hauptnavigation (Deals) nach rechts verschieben */
    .wc-menu-cart-activated.main-navigation {
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
    }
}

/* Base Styles */
.sk-mega-menu {
    position: relative;
    z-index: 9900;
    background: none;
}

.sk-mega-menu__container {
    max-width: var(--sk-container-width, 1200px);
    margin: 0 auto;
    padding: 0 var(--sk-spacing-container, 20px);
    display: flex;
    justify-content: center;
    /* Centers the menu items horizontally */
}

.sk-mega-menu__list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: center;
    /* Centers the menu items within their container */
}

/* Trigger Button Styles */
.sk-mega-menu__trigger {
    display: flex;
    align-items: center;
    gap: 0.5em;
    padding: 1rem;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: inherit;
    color: inherit;
}

/* Panel Styles */
.sk-mega-menu__panel {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    width: 100%;
    background: var(--sk-color-white, #ffffff);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease-in-out;
}

/* Grid Layout */
.sk-mega-menu__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* Changed to exactly 4 columns */
    gap: 2rem;
    padding: 2rem;
    max-width: var(--sk-container-width, 1200px);
    margin: 0 auto;

}

/* New styles for the image column */
.sk-mega-menu__image-column {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    border-radius: 8px;
}

.sk-mega-menu__image-column img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.sk-mega-menu__image-column:hover img {
    transform: scale(1.05);
}


/* Remove bullet points */
.sk-mega-menu__sublist {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Remove link underlines */
.sk-mega-menu__sublist a {
    text-decoration: none;
}

/* Style the headlines with underline */
.sk-mega-menu__title {
    text-transform: uppercase;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding-bottom: 0.75rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid #e5e5e5;
    color: #333;
}

/* Mobile Hide */
@media (max-width: 767px) {
    .sk-mega-menu {
        display: none;
    }
}

.merchant-wishlist-button {
    z-index: 998 !important;
}


.delivery-scope-list {
    list-style-type: disc;
    margin-left: 1.2em;
    margin-bottom: 0;
}

.delivery-scope-list li {
    margin-bottom: 0.5em;
}

.delivery-scope-list li:last-child {
    margin-bottom: 0;
}


/* Produktinfo Tab stylen */

#tab-additional_information .woocommerce-product-attributes {
    font-size: 14px;
    text-align: left;
}

#tab-additional_information .woocommerce-product-attributes-item__value {
    font-style: normal;
    padding-left: 10px !important;
}

.woocommerce-product-attributes-item__label::after {
    content: ":";
    margin-right: 15px;
}

#tab-description h3 {
    font-weight: 800;
    color: var(--super-dark-brown);
    font-size: 2.1em;
}

.woocommerce-product-details__short-description li {
    margin-bottom: 10px;
}


.woocommerce div.product .woocommerce-tabs ul.tabs {
    border-bottom: 0.5px solid #5d7975;
}

.menu-item-7838 a::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 8px;
    vertical-align: middle;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M416.667 80.333c8.28 0 15 6.72 15 15s-6.72 15-15 15-15-6.72-15-15 6.72-15 15-15'/%3E%3Cpath d='M487.585 249.348c6.033-6.033 9.415-14.203 9.415-22.727V47.134c0-8.524-3.382-16.694-9.415-22.719-6.025-6.033-14.194-9.415-22.718-9.415H285.379c-8.523 0-16.693 3.382-22.727 9.415L24.417 262.651c-12.556 12.556-12.556 32.896 0 45.444l179.488 179.488c12.548 12.557 32.888 12.557 45.445 0L487.585 249.348z' fill='none' stroke='currentColor' stroke-width='30' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M256.001 132.977c17.737 0 32.133 14.404 32.133 32.133 0 17.738-14.396 32.134-32.133 32.134-17.737 0-32.133-14.396-32.133-32.134 0-17.729 14.396-32.133 32.133-32.133zm0 181.777c17.737 0 32.133 14.396 32.133 32.133 0 17.73-14.396 32.134-32.133 32.134-17.737 0-32.133-14.404-32.133-32.134 0-17.737 14.396-32.133 32.133-32.133zM159.602 256.001h192.799' fill='none' stroke='currentColor' stroke-width='30' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}


.facetwp-checkbox {
    font-size: 13px;
}

.single-product .summary {
    padding-left: 45px;
}

.woocommerce-product-gallery {
    padding-right: 45px;
}

.woocommerce div.product .woocommerce-product-rating {
    margin-top: 0px !important;
    margin-bottom: 30px !important;
}

.single-product .woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
    margin: 0 2.8% 2.992em 0;
}


.archive .woobt-wrap {
    display: none;
}




.single-product .woobt-products {
    border: 1px solid #5d7975;
    background-color: #fff;
    padding-left: 10px;
    padding-right: 10px;
}

/* Basis-Styling für die Checkbox */
.woobt-checkbox {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #333;
    border-radius: 3px;
    background: #fff;
    cursor: pointer;
    position: relative;
    margin: 0;
    margin-top: 10px;
    padding: 0;
}

/* Das Häkchen mit ::after erstellen */
.woobt-checkbox:checked::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid #333;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    display: block;
}

/* Hover-Effekt */
.woobt-checkbox:hover {
    border-color: #666;
}

/* Focus-Zustand für Accessibility */
.woobt-checkbox:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}



.woobt-products .woobt-product .woobt-thumb {
    width: 80px;
    flex: 0 0 80px;
}

.woobt-qty-num {
    display: none;
}

.woobt-title-inner {
    font-weight: bold;
    font-size: 15px;
}

.woobt-before-text {
    font-weight: bold;
}

.woobt-checkbox {
    border: 1px solid #5d7975;
}

.shopcategory-header .rank-math-breadcrumb,
.shopcategory-header .rank-math-breadcrumb a {
    font-size: 12px;
    color: #fff;
}

.product-manufacturer {
    font-size: 0.8em;
    color: #795e48;
    margin-top: 15px;
}

.woocommerce ul.products li.product .woocommerce-loop-category__title,
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h3 {
    font-size: 1.1em;
    font-family: 'Martel Sans';
    font-weight: bolder;
    margin-top: 0px !important;
}

.woocommerce-LoopProduct-link .woocommerce-Price-amount {
    font-size: 0.9em !important;
    font-weight: normal !important;
    color: #795e48 !important;
}


.entry-summary .woocommerce-Price-amount {
    font-size: 1.3em;
}

.rank-math-breadcrumb {
    font-size: 12px;
}

.facetwp-selections ul {
    margin-left: 0px;
}

.facetwp-selections li {
    border: 0.5px solid #5d7975;
    border-radius: 5px;
    background-color: #bad1ce;
    padding: 10px 15px 10px 15px;
    margin-right: 5px;
    margin-bottom: 5px;
    font-size: 13px;
    color: #4f6b67;
}

.facetwp-selection-label {
    font-weight: bold;
}


/* Markenshops */

.marke-custom-layout {
    width: 100%;
}

.marke-hero-section .hero-image {
    width: 100%;
    height: 300px;
    /* Adjust height as needed */
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.marke-hero-section .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    /* Semi-transparent overlay */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    padding: 20px;
    box-sizing: border-box;
}

.marke-hero-section .hero-title {
    font-size: 2.5rem;
    margin: 0;
}

.marke-hero-section .hero-description {
    font-size: 1.25rem;
    margin: 10px 0 0;
}


.marke-core-products {
    margin: 40px 0;
    padding: 20px;
    text-align: center;
}

.marke-core-products h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.core-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: start;
}

.core-product-item {
    text-align: center;
    padding: 10px;
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.core-product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

.core-product-image {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 10px;
}

.core-product-title {
    font-size: 1rem;
    margin: 10px 0 0;
    color: #333;
}

@media (max-width: 768px) {
    .core-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .core-products-grid {
        grid-template-columns: 1fr;
    }
}

.woocommerce div.product .product_title {
    padding-top: 4px;
}

.merchant-sticky-add-to-cart-item .quantity {
    display: none;
}

.product-description h3 {
    font-weight: 700;
    color: #5A2C06;
}


.single-product .related-products-clean {
    background-color: #ffffff;
    padding-top: 40px;
    padding-left: 40px;
    border-radius: 10px;
    height: 100%;
}

.single-product .related-products-clean .woocommerce-loop-product__title {
    padding-top: 15px !important;
}

.single-product .related-products-clean li {
    border: 1px solid #ccd7d5;
    text-align: center;
    padding: 20px;
    height: 100%;
    border-radius: 10px;
}

.single-product .related-products-clean .price {
    margin-top: 20px;
}

.single-product .delivery-time-info {
    margin-bottom: 10px !important;
}

.summary .price {
    margin-top: 30px;
}

.variations td,
.variations tr {
    border: transparent !important;

}

.variations {
    border-width: 0px !important;
}

.woocommerce-product-attributes {
    text-align: left;
    font-size: 14px;

}

.woocommerce-product-attributes th::after {
    content: ":";
}


.product p.wc-gzd-additional-info {
    margin-bottom: 0.3rem !important;
}

.woocommerce-pagination ul li {
    font-family: leosler;
    font-size: 18px;
    border: transparent !important;
    border-right: 0px;
    font-weight: normal;
}

/* Product Page Trust Info */
.product-trust-info {
    margin-top: 30px;
    font-size: 15px;
    color: #5A2C06;
    /* Dark brown */
    font-weight: bold;
}

.product-trust-info .trust-item {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.product-trust-info .trust-item.align-start {
    align-items: flex-start;
}

.product-trust-info .trust-icon {
    color: inherit;
    margin-right: 8px;
}

.product-trust-info .trust-icon.line-height-fix {
    line-height: 1.4;
}

.product-trust-info .trust-subtext {
    font-size: 13px;
    opacity: 0.8;
    font-weight: normal;
}

.woocommerce-pagination li {
    border: transparent;
}

.woocommerce nav.woocommerce-pagination ul {
    border: none !important;
}

.woocommerce nav.woocommerce-pagination ul li a:focus,
.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li span.current {
    background-color: #4f6b67;
    color: #fff;
}

/* Mobile Produktfilter */
.accordion-content {
    display: none;
    padding: 10px;
    background: #f8f8f8;
    border-radius: 5px;
}

.accordion-btn {
    background: #4f6b67;
    color: white;
    padding: 10px;
    width: 100%;
    border: none;
    cursor: pointer;
}

/* Mobile sticky footer nav */

@media screen and (max-width: 768px) {
    .mobile-bottom-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: #fff;
        display: flex;
        justify-content: space-around;
        padding: 10px 0;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
        border-top: 1px solid #ddd;
        z-index: 999;
    }

    .mobile-bottom-nav .nav-item {
        text-align: center;
        flex-grow: 1;
        font-size: 12px;
        color: #333;
        text-decoration: none;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .mobile-bottom-nav .nav-item svg {
        width: 24px;
        height: 24px;
        fill: #666;
        transition: fill 0.2s ease;
    }

    .mobile-bottom-nav .nav-item span {
        margin-top: 2px;
        font-size: 12px;
    }

    .mobile-bottom-nav .nav-item:hover svg,
    .mobile-bottom-nav .nav-item:focus svg {
        fill: #000;
    }
}

@media screen and (min-width: 769px) {
    .mobile-bottom-nav {
        display: none;
    }
}


.wc-block-cart__submit-button {
    color: #fff !important;
}


.related-categories {
    margin: 2em 0;
    padding: 1em;
    border-top: 1px solid #eee;
}

.related-categories ul.product-categories {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
}

.related-categories ul.product-categories li {
    margin: 0;
}

.related-categories ul.product-categories li a {
    display: inline-block;
    padding: 0.5em 1em;
    background: #f5f5f5;
    border-radius: 4px;
    text-decoration: none;
}

.related-categories ul.product-categories li a:hover {
    background: #e5e5e5;
}

.single-product .summary .merchant-wishlist-button {
    background-color: #ded0c8;
    color: #795b4b;
    padding-top: 14px;
    padding-bottom: 14px;
    padding-left: auto;
    display: flex;
    /* Enables flexbox */
    align-items: center;
    /* Vertically centers items */
    justify-content: center;
    /* Horizontally centers items */
    text-align: center;
    /* Ensures text inside is centered */
    gap: 8px;
    /* Adds some space between the icon and text */
    /* border: 1px solid #795b4b; */
    width: 100%;
    /* Ensures the button wraps its content */
    white-space: nowrap;
    /* Prevents text from breaking */
}

.single-product .summary .merchant-wishlist-button:hover {
    background-color: #795b4b;
    color: #fff;
}


.cart {
    display: flex;
    /* Enables flexbox layout */
    align-items: center;
    /* Aligns items vertically */
    gap: 10px;
    /* Adds spacing between quantity selector and button */
    flex-wrap: wrap;
    /* Ensures proper wrapping on smaller screens */
}

.single_add_to_cart_button {
    flex-grow: 1;
    /* Makes the button expand to take up remaining space */
    width: auto;
    /* Prevents unnecessary shrinking */
    text-align: center;
    /* Ensures text remains centered */
}

.woocommerce div.product form.cart .button {
    padding-top: 14px !important;
    padding-bottom: 14px !important;

}


/* button.single_add_to_cart_button::before {
    content: "";
    display: inline-block;
    width: 18px;
    height: 18px;
    margin-right: 8px;
    background-image: url('data:image/svg+xml,<svg clip-rule="evenodd" fill-rule="evenodd" height="512" stroke-linejoin="round" stroke-miterlimit="2" viewBox="0 0 24 24" width="512" xmlns="http://www.w3.org/2000/svg"><g id="Icon"><path d="m16.25 7c0 .414-.336.75-.75.75s-.75-.336-.75-.75v-1.5c0-1.519-1.231-2.75-2.75-2.75s-2.75 1.231-2.75 2.75v1.5c0 .414-.336.75-.75.75s-.75-.336-.75-.75v-1.5c0-2.347 1.903-4.25 4.25-4.25s4.25 1.903 4.25 4.25z"/><path d="m19.342 8.35.8 12c.041.622-.177 1.232-.602 1.687-.426.455-1.021.713-1.643.713h-11.794c-.622 0-1.217-.258-1.643-.713-.425-.455-.643-1.065-.602-1.687l.8-12c.079-1.182 1.061-2.1 2.245-2.1h10.194c1.184 0 2.166.918 2.245 2.1zm-4.856 2.328c-.442.929-1.389 1.572-2.486 1.572s-2.044-.643-2.486-1.572c-.177-.374-.625-.533-.999-.355-.374.177-.533.625-.356.999.682 1.436 2.146 2.428 3.841 2.428s3.159-.992 3.841-2.428c.177-.374.018-.822-.356-.999-.374-.178-.822-.019-.999.355z"/></g></svg>'); 
    background-size: contain;
} 
*/




.woocommerce .single_add_to_cart_button:before {
    content: "";
    background-image: url('/wp-content/uploads/shopping-bag.svg');
    background-size: contain;
    width: 16px;
    /* Adjust to your icon’s size */
    height: 16px;
    display: inline-block;
    margin-right: 8px;
    vertical-align: middle;
}

/* Produktdaten schöner darstellen */

.key-features-section {
    background-color: #f7f7f7;
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 8px;
    border: 1px solid #e5e5e5;
}

.key-features-section h4 {
    font-size: 16px;
    margin-bottom: 15px;
    color: #333;
    font-weight: 600;
}

.key-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

@media (min-width: 768px) {
    .key-features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.feature-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: white;
    padding: 15px 10px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.feature-icon {
    font-size: 24px;
    color: #4a90e2;
    margin-bottom: 8px;
}

.feature-title {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 4px;
}

.feature-value {
    font-size: 13px;
    color: #666;
}


#rank-math-faq .rank-math-list-item {
    margin-bottom: 1em;
    margin-top: 1em;
    border-bottom: 1px solid #fff;
}

.rank-math-question {
    cursor: pointer;
    position: relative;
    display: block;
    padding-right: 1em;
    margin-right: 1em;
    font-weight: 300;
    margin-top: 30px;
}

.rank-math-question:after {
    position: absolute;
    right: 5px;
    top: 0;
    content: "\2715";
    transform: rotate(-45deg);
    transition: all 150ms ease-in-out;
}

.rank-math-question.collapse:after {
    transform: rotate(0deg);
}

.rank-math-question:hover {
    opacity: 0.8;
}

.rankmathtitle {
    font-size: 1.2em;
}



.product-features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    background: #f8f4ef;
    /* Dein Container-Hintergrund */
    border: 1px solid #e2ddd7;
    border-radius: 8px;
    overflow: hidden;
}

.product-features li {
    padding: 12px 16px;
    display: flex;
    gap: 8px;
    border-bottom: 1px solid #e2ddd7;
    background: #fdfbf8;
    /* Sehr hell, sauber */
}

.product-features li:nth-child(odd) {
    background: #f7f3ee;
    /* leicht dunkler Ton für Wirkung */
}

.product-features li:last-child {
    border-bottom: none;
}

.product-features li strong {
    width: 200px;
    min-width: 200px;
    font-weight: 600;
    color: #3a342e;
    /* dunkler Braun-/Grauton */
}

.product-features li {
    font-size: 15px;
    line-height: 1.4;
    color: #4b463f;
    /* warmes Dunkelgrau */
}

@media (max-width: 600px) {
    .product-features li {
        flex-direction: column;
    }

    .product-features li strong {
        width: auto;
        min-width: 0;
        margin-bottom: 3px;
        display: block;
    }
}

/* =========================================
   Product FAQ Accordion Styles
   ========================================= */

.product-faq-section {
    margin: 40px 0;
    border-top: 1px solid #e0e0e0;
    padding-top: 30px;
}

.faq-headline {
    font-size: 1.5em;
    font-weight: 700;
    color: #5A2C06;
    /* Matching existing theme headers */
    margin-bottom: 20px;
}

details.hk-faq-item {
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 0;
}

details.hk-faq-item:first-of-type {
    border-top: 1px solid #e0e0e0;
}

details.hk-faq-item summary {
    padding: 15px 0;
    cursor: pointer;
    font-weight: 600;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #333;
    transition: color 0.2s ease;
}

/* Hide default marker in Safari/Chrome */
details.hk-faq-item summary::-webkit-details-marker {
    display: none;
}

details.hk-faq-item summary:hover {
    color: #5d7975;
    /* Theme accent color */
}

details.hk-faq-item[open] summary {
    color: #5d7975;
    padding-bottom: 10px;
}

.faq-icon {
    font-size: 1.5em;
    font-weight: 300;
    line-height: 1;
    transition: transform 0.3s ease;
    color: #5d7975;
}

details.hk-faq-item[open] .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding-bottom: 20px;
    color: #4b463f;
    line-height: 1.6;
    font-size: 0.95em;
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.widget-area .widget {
    padding: 10px;
}

.wpc-term-item-content-wrapper a {
    font-size: 0.8rem;
}

.wpc-filter-title {
    font-weight: bold;
    color: #5e311b;
    font-size: 1rem;
    padding-bottom: 5px;
}


/* CSS für die SEO-Snack-Box */
.seo-snack-box-item {
    /* Wichtig: Damit die Box nicht als Produkt formatiert wird, 
       hebeln wir WooCommerce-Standard-Styles teilweise aus */
    list-style: none;
    margin-bottom: 20px; /* An dein Theme anpassen */
}

.seo-snack-box-content {
    background-color: #f8fafc; /* Heller Hintergrund */
    border: 1px solid #e2e8f0; /* Sanfter Rand */
    border-radius: 8px; /* Abgerundete Ecken */
    padding: 20px;
    height: 100%; /* Füllt die Höhe der Produktkacheln aus */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Inhalt vertikal zentrieren */
}

/* Für Desktop-Layouts mit Grid (z.B. 4 Spalten) */
@media (min-width: 768px) {
    .seo-snack-box-item {
        /* Die Box nimmt die Breite von 3 Spalten im Grid ein */
        grid-column: span 3; 
    }
}

/* Mobile: Auf Smartphones sollte die Box eine eigene volle Reihe sein */
@media (max-width: 767px) {
    .seo-snack-box-item {
        grid-column: span 1; /* Oder volle Breite, je nach Grid-System */
        width: 100%;
    }
}

/* Styles für den Inhalt der Box (Überschrift, Icons, Bulletpoints) */
.seo-snack-box-content h2 {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: #1e293b;
}

.seo-snack-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.seo-snack-list-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.seo-snack-icon {
    width: 24px;
    height: 24px;
    margin-right: 10px;
    fill: #008c9e; /* Akzentfarbe aus der Skizze */
}

.seo-snack-text {
    font-size: 0.9rem;
    color: #475569;
}

/* Zwingt die Box auf 100% Breite, egal welches Grid das Theme nutzt */
li.seo-snack-box-item {
    list-style: none !important;
    width: 100% !important; 
    flex: 0 0 100% !important; /* Für Flexbox-Themes */
    clear: both !important; /* Für alte Float-Themes */
    margin: 30px 0 !important; /* Etwas Luft nach oben und unten */
    grid-column: 1 / -1 !important; /* Für moderne CSS-Grid-Themes */
}

/* Das Design der Box selbst */
.seo-snack-box-content {
    background-color: #faf9f7; /* Sehr helles Grau/Blau, unaufdringlich */
    /* border: 1px dashed #cbd5e1;  */
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    color: #334155;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05); /* Leichter Schatten für Tiefe */
}

/* Bereinigung für das erste Produkt NACH unserer Box (falls das Theme Floats nutzt) */
li.seo-snack-box-item + li.product {
    clear: left !important;
}