/*
 Theme Name: Covision
 Theme URI: http://example.com/covision
 Description: Child theme for the Ametok theme.
 Author: Your Name
 Author URI: http://example.com
 Template: ametok
 Version: 1.0.0
*/

/* You can add your custom CSS below this line */
@font-face {
    font-family: "Roboto Slab";
    font-weight: 700;
    src: url('../covision/assets/Roboto_Slab/static/RobotoSlab-Bold.ttf') format('truetype');
}

@font-face {
    font-family: "Roboto";
    font-weight: 400;
    src: url('../covision/assets/Roboto_Slab/static/Roboto-Regular.ttf') format('truetype');
}

#main-content {
    padding: 20px 0;
}
#featured-title #breadcrumbs .breadcrumb-trail > span {
    font-size: 16px;
}

/* Master Slider */
.master-slider .text-wrap {
    white-space: break-spaces!important;
}
.master-slider p {
    font-size: 20px!important;
}

#site-logo-inner > a > img {
    max-width: 150px;
}

.elementor-widget-container p, .elementor-widget-container ul, .elementor-widget-container li, .elementor-widget-container a, .elementor-widget-container h4, .elementor-widget-container h5, .elementor-widget-container h6 {
    font-size: 1.8rem;
}

.elementor .headline-2 {
    font-family: inherit!important;
    font-weight: 700;
    font-size: 26px!important;
}

.elementor-widget-container p {
    margin: 0 0 30px;
    line-height: 26px;
}

@media (max-width: 768px) {
    .elementor-widget-container p {
        margin: 0 0 30px;
        line-height: 22px;
    }
    .master-slider .slide .title {
        font-size: 50px;
        line-height: 1;
        font-weight: 800;
        color: #fff;
    }
    .master-slider p {
        font-size: 20px !important;
        line-height: 30px!important;
    }
    .elementor-widget-container p, .elementor-widget-container ul, .elementor-widget-container li, .elementor-widget-container a, .elementor-widget-container h4, .elementor-widget-container h5, .elementor-widget-container h6 {
        font-size: 1.6rem;
    }
    .headline-2 {
        font-family: "Roboto Slab", Roboto;
        font-size: 20px;
        font-weight: 700;
    }


}

.master-copyright p, .master-copyright a {
    font-size: 1rem;
}

/* ametok styles */
#site-header .ametok-menu {
    justify-content: right;
}

.ametok-menu > ul > li > a > span {
    color: var( --e-global-color-ametok_primary );
}
.ametok-menu > ul > li > a > span:hover {
    color: #e95f2b;
}

.page-title, #featured-title {
    background-color: var(--primary-blue);
    color: var(--white);
    margin-bottom: 30px;
}
#featured-title .inner-wrap {
    position: relative;
}
#featured-title .inner-wrap {
    overflow: hidden;
    width: 100%;
    padding: 70px 0 70px;
}
#featured-title .main-title {
    font-family: "Roboto Slab";
}

#featured-title .main-title {
    font-size: 45px;
}

.card-title {
    font-family: "Roboto";
}



header {
    background-color: var(--white);
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-blue);
}



.contact-button {
    background-color: var(--secondary-orange);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    display: flex;
    align-items: center;
}

.phone-icon {
    width: 20px;
    height: 20px;
    background-color: var(--white);
    border-radius: 50%;
    margin-right: 10px;
}

.page-title {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 50px 0;
    margin-bottom: 30px;
}

.page-title h1 {
    font-size: 36px;
    text-align: center;
}

/* Base grid layouts */
.vollmer-product-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.vollmer-product-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.vollmer-product-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.vollmer-product-grid-1 {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

/* Tablet view: max-width 1024px */
@media (max-width: 1024px) {
    .vollmer-product-grid-4 {
        grid-template-columns: repeat(3, 1fr);
    }

    .vollmer-product-grid-3,
    .vollmer-product-grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile view: max-width 768px */
@media (max-width: 768px) {
    .vollmer-product-grid-4,
    .vollmer-product-grid-3,
    .vollmer-product-grid-2 {
        grid-template-columns: repeat(1, 1fr);
    }
}


/* overview styles */

.product-overview-page .product-filters {
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-overview-page .category-title {
    font-size: 24px;
    color: var(--primary-blue);
    margin-bottom: 20px;
    margin-right: 20px;
    white-space: nowrap;
}

.sort-options label {
    white-space: nowrap;
}

.product-overview-page .sort-options {
    display: flex;
    gap: 15px;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.product-overview-page .sort-options select {
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 150px;
}

.product-overview-page .sort-options input {
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 170px;
    padding: 9px;
    margin-top: 18px;
    font-size: 14px;
}
.clear-farbe {
    position: absolute;
    right: 8px;
    top: 48%;
    transform: translateY(-50%);
    cursor: pointer;
}

@media (max-width: 768px) {
    .product-overview-page .product-filters,  .product-overview-page .sort-options {
        display: block;
        font-size: 14px;
    }
    .product-overview-page .sort-options select {
        width: 100%;
    }

    #featured-title #breadcrumbs {
        padding: 0 30px;
    }

    #featured-title #breadcrumbs .breadcrumb-trail > a {
        font-size: 11px;
        line-height: 18px;
    }

    #featured-title #breadcrumbs .breadcrumb-trail > a:not(:last-child)::before {
        top: 2px;
    }

    #featured-title #breadcrumbs .breadcrumb-trail > span {
        font-size: 11px;
        line-height: 16px;
    }

    .sort-options label {
        margin-bottom: 10px;
        font-size: 16px;
    }

    .product-single-page .shop-button {
        padding: 0 12px;
        font-size: 12px;
    }

    .product-single-page .shop-button .shop-icon {
        display: block;
        width: 20px;
        height: 20px;
        color: white;
        margin: -35px 0 0 -2px;
    }
}

@media (max-width: 576px) {
    .product-overview-page .sort-options {
        display: block;
    }
}

.product-overview-page .product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.product-overview-page .product-grid a.productLink, .product-grid a.productLink:hover {
    text-decoration: none;
    color: var(--text-dark);
    display: block;
}

.product-overview-page .product-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.product-overview-page .product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.product-overview-page .product-image {
    height: max-content;
    background-color: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 200px;
    margin-bottom: 10px;
}

.product-overview-page .product-image img {
    mix-blend-mode: multiply;
}

.product-overview-page .pdf-button {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--secondary-orange);
    color: white;
    border: none;
    border-radius: 4px;
    padding: 6px 12px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 2;
    transition: background-color 0.3s;
}

.product-overview-page .pdf-button:hover {
    background-color: #d24a1a;
}

.pdf-badge.has-tooltip {
    position: relative;
}

.pdf-badge.has-tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    left: 50%;
    bottom: 100%;             /* place above */
    transform: translateX(-50%) translateY(-8px);
    white-space: nowrap;
    padding: 6px 10px;
    background: #d24a1a;
    color: #fff;
    font-size: 12px;
    line-height: 1.3;
    border-radius: 4px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .15s ease, transform .15s ease;
    z-index: 10;
}

.pdf-badge.has-tooltip::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 100%;
    transform: translateX(-50%) translateY(0);
    border: 6px solid transparent;
    border-top-color: #000;   /* little arrow pointing down */
    opacity: 0;
    transition: opacity .15s ease;
    z-index: 9;
}

.pdf-badge.has-tooltip:hover::after,
.pdf-badge.has-tooltip:hover::before,
.pdf-badge.has-tooltip:focus::after,
.pdf-badge.has-tooltip:focus::before {
    opacity: 1;
    transform: translateX(-50%) translateY(-12px);
}


.product-overview-page .pdf-button .shop-icon {
    display: block;
    width: 16px;
    height: 16px;
    color: white;
    margin: -5px 0 0 -8px;
}

.product-overview-page .pdf-button .shop-icon img {
    mix-blend-mode: normal;
    display: block;
    width: 16px;
    height: auto;
    color: white;
}

.product-overview-page .product-short-description {
    padding: 10px;
    min-height: 90px;
}
.product-overview-page .product-grid .product-card .product-title, .product-overview-page .product-grid .product-card  p {
    font-size: 18px;
    margin-bottom: 0;
    color: var(--primary-blue);
    min-height: max-content;
    font-weight: 700;
}

.product-overview-page .product-price {
    font-weight: bold;
    color: var(--secondary-orange);
}

.product-overview-page .product-variants {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: 10px;
    font-size: 14px;
}

.product-overview-page .product-variants span {
    color: var(--primary-blue);
}

.product-overview-page .categories-sidebar {
    background-color: var(--white);
    padding: 20px;
    border-radius: 8px;
    margin-left: 20px;
}

.product-overview-page .categories-sidebar h3 {
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.product-overview-page .categories-sidebar ul {
    list-style: none;
}

.product-overview-page .categories-sidebar ul li {
    margin-bottom: 10px;
}

.product-overview-page .categories-sidebar ul li a {
    text-decoration: none;
    color: var(--text-dark);
    transition: color 0.3s;
}

.product-overview-page .categories-sidebar ul li a:hover {
    color: var(--secondary-orange);
}

.product-overview-page .newsletter {
    background-color: var(--light-gray);
    padding: 30px 0;
    margin: 40px 0;
}

.product-overview-page .newsletter-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.product-overview-page .newsletter h3 {
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.product-overview-page .newsletter form {
    display: flex;
    max-width: 500px;
    width: 100%;
}

.product-overview-page .newsletter input[type="email"] {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
}

.product-overview-page .newsletter button {
    background-color: var(--secondary-orange);
    color: var(--white);
    border: none;
    padding: 10px 20px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
}

.product-overview-page.main-content {
    display: flex;
    margin-top: 30px;
}

.product-overview-page .products-section {
    flex: 3;
}

.product-overview-page .sidebar {
    flex: 1;
}



@media (max-width: 1200px) {
    .product-overview-page .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .product-overview-page .category-title {
        width: 100%;
        display: block;
        margin-bottom: 10px;
        white-space: nowrap;
    }
}

@media (max-width: 992px) {
    .product-overview-page.main-content {
        flex-direction: column;
    }

    .product-overview-page .sidebar {
        margin-top: 30px;
        margin-left: 0;
    }

    .product-overview-page .categories-sidebar {
        margin-left: 0;
    }

    .product-overview-page .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-overview-page .product-filters {
        display: block;
    }


}

@media (max-width: 768px) {
    .product-overview-page .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .product-overview-page .product-grid {
        grid-template-columns: 1fr;
    }

    .product-overview-page .newsletter form {
        flex-direction: column;
    }

    .product-overview-page .newsletter input[type="email"] {
        border-radius: 4px;
        margin-bottom: 10px;
    }

    .product-overview-page .newsletter button {
        border-radius: 4px;
        width: 100%;
    }
}

.product-overview-page .shop-button-container {
    display: flex;
    justify-content: flex-end; /* Schiebt den Button nach rechts */
}


.product-overview-page .shop-button {
    display: inline-flex; /* Stellt sicher, dass sich die Breite anpasst */
    align-items: center;
    gap: 8px;
    background-color: var(--secondary-orange);
    color: var(--white);
    padding: 10px 20px;
    margin-right: 0;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.7rem;
    margin-top: 0px;
    transition: background-color 0.2s;
    width: auto; /* Stellt sicher, dass die Breite nicht die ganze Seite einnimmt */
    max-width: fit-content; /* Verhindert ungewolltes Strecken */
}


.product-overview-page .shop-button:hover {
    background-color: #d04718;
    color: white;
}

.product-overview-page .pdf-button .shop-icon {
    display: block;
    width: 16px;
    height: 16px;
    color: white;
    margin: -5px 0 0 0;
}

.product-overview-page .pdf-button .shop-icon img {
    mix-blend-mode: normal!important;
    display: block;
    width: 16px;
    height: auto;
    color: white;
}


.product-overview-page .contact-button {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: var(--secondary-orange);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
}



/* Product Detail */


:root {
    --primary-blue: #173865;
    --secondary-blue: #0068b4;
    --secondary-orange: #e95f2b;
    --light-bg: #f7f9fc;
    --text-dark: #333;
    --text-light: #718096;
    --white: #fff;
    --border-color: #ddd;
    --table-header-bg: #f2f2f2;
}

.product-single-page .product-detail {
    margin: 40px 0;
}

.product-single-page .product-main-section {
    display: grid;
    grid-template-columns: 1fr 1fr 0.4fr;
    gap: 40px;
}

.product-single-page .product-main-section.not-has-sidebar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.product-single-page .related-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    width: 100%;
}

.product-single-page .related-title h4 {
    color: var(--primary-blue);
    font-size: 16px;
    font-weight: 600;
    text-align: center;
}

.product-single-page .product-main-section .related-product-image {
    background-color: #e5e5e5;
    display: block;
    margin: 10px 0;
}

.product-single-page .product-main-section .related-product-image img {
    object-fit: contain;
    display: block;
    mix-blend-mode: multiply;

}
.product-single-page .product-gallery {
    position: relative;
}

.product-single-page .gallery-main {
    width: 100%;
    height: 400px;
    background-color: #E5E5E5;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
}
.product-single-page .gallery-main img {
    display: none;
    mix-blend-mode: multiply;
}

.product-single-page .gallery-main img {
    display: none;
    mix-blend-mode: multiply;
    width: 100%;
    height: 100%;
    object-fit: contain; /* fills area without distortion */
    object-position: center; /* keeps important part centered */
}
.product-single-page .gallery-main img:first-of-type {
    display: block;
}

.product-single-page .pdf-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background-color: var(--secondary-orange);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    z-index: 5;
    transition: transform 0.2s, background-color 0.2s;
}

.product-single-page .pdf-badge:hover {
    background-color: #d04718;
    transform: translateY(-2px);
    color: white;
}

.product-single-page .pdf-badge .shop-icon {
    display: block;
    height: 18px;
    color: white;
    margin: -3px 0 0 -4px;
}

.product-single-page .pdf-badge .shop-icon img {
    mix-blend-mode: normal!important;
    display: block;
    width: 16px;
    height: auto;
    color: white;
}

.product-single-page .gallery-thumbnails {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.product-single-page .gallery-thumbnail {
    flex: 0 0 calc((100% - 40px) / 5); /* 4 per row with 10px gaps */
    box-sizing: border-box;
    height: 88px;
    background-color: #E5E5E5;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color 0.2s;
    border: solid 1px lightgrey;
}



.product-single-page .gallery-thumbnail.active {
    border-color: var(--secondary-blue);
}

.product-single-page .gallery-thumbnail img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;

    mix-blend-mode: multiply;
}

.product-single-page .product-info {
    display: flex;
    flex-direction: column;
}
.gallery-more-btn {
    display: block;
    margin: 10px auto;
    padding: 4px 10px;
    background: #ccc;
    border: 1px solid #aaa;
    cursor: pointer;
    font-size: 14px;
    border-radius: 0;
}

.product-single-page .product-title-section {
    margin-bottom: 20px;
}
.product-single-page.product-detail .product-title {
    color: var(--primary-blue);
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 5px;
}

.content-title {
    color: var(--primary-blue);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 5px;
}

.product-single-page .product-subtitle {
    color: var(--primary-blue);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 5px;
}

.product-single-page .product-type {
    color: var(--primary-blue);
    font-size: 16px;
}

.product-single-page .highlight {
    font-weight: bold;
    color: #d14124;
}

.product-single-page .specs-table-container {
    margin-bottom: 10px;
}

.product-single-page .specs-table {
    width: 100%;
    border-collapse: collapse;
    border-width: 0;
    font-size: 1.7rem;
}

.product-single-page .specs-table tr {
    border-bottom: 1px solid lightgray;
    border-width: 1;
}

.product-single-page .specs-table tr:last-child {
    border-bottom: none;
}

.product-single-page .specs-table th, .specs-table td {
    padding: 10px 5px;
    text-align: left;
    font-size: 16px;
}

.product-single-page .specs-table th {
    width: 40%;
    font-weight: 600;
}

.product-single-page .specs-table th, .specs-table td {
    padding: 10px 5px;
    text-align: left;
    color: black;
}

/* farbtabelle */

/* container wrapper */
.farben-wrapper {
    font-size: 12px;
    margin: 10px 0 0 0;
    width: 100%;
    border: none;
}

/* heading inside wrapper */
.farbgruppen {
    line-height: 1;
    font-size: 14px;
    white-space: nowrap; /* replaces <nobr> */
}
h5.farbgruppen {
    font-size: 24px;
}

h6.farbgruppen {
    font-size: 14px;
}

/* clear floats */
.farben-clear {
    clear: both;
    height: 1px;
}

/* table reset + layout */
.farben-table {
    width: 100%;
    margin: 0;
    border: none;
    padding: 0;
    border-collapse: collapse;
    table-layout: fixed;
}

/* each color cell */
.farben-cell {
    padding: 6px 2px;
    border: none;
    line-height: 1.4;
    text-align: center;
    vertical-align: middle;
    color: #C2C2C2;
}

/* empty padding override */
.farben-cell--empty {
    padding: 2px;
}

/* the color swatch block */
.swatch {
    width: 100%;
    height: 30px;
    font-size: 12px;
    padding: 7px 0 0 0;
    vertical-align: middle;
}

/* the term name text below swatch */
.term-name {
    font-size: 14px;
    font-weight: 300;
    font-family: DejaVuSans, sans-serif;
    color: #292929;
    vertical-align: top;
    line-height: 1.4;
}

/* 1) always allow horizontal scroll on very small viewports */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* keep the normal table styling on desktop */
.farben-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

/* —— Tablet (≤768px): 4 cols —— */
@media (max-width: 768px) {
    .farben-table,
    .farben-table tbody,
    .farben-table tr {
        display: flex;
        flex-wrap: wrap;
        align-items: flex-start;
        margin: 0;
        padding: 0;
        width: 100%;
    }

    /* hide placeholders */
    .farben-cell--empty {
        display: none !important;
    }

    /* override inline 12.5% */
    .farben-cell {
        flex: 0 0 50% !important;
        max-width: 50% !important;
        width: auto !important;
        box-sizing: border-box;
        padding: 8px 2px;
    }

    .swatch {
        width: 100% !important;
        aspect-ratio: 1/1;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 30px;
    }
}

/* —— Phone (≤480px): 2 cols —— */
@media (max-width: 480px) {
    .farben-cell {
        flex: 0 0 50% !important;
        max-width: 50% !important;
        width: 50% !important;
    }
}

/* make sure container doesn’t clip the tooltip */
.color-links {
    position: relative;
}

/* base styles for your color swatch */
.color-tab {
    position: relative;
    display: inline-block;
    width: 1.5em;
    height: 1.5em;
    cursor: pointer;
}

/* the tooltip itself */
.color-tab::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;               /* position above the swatch */
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 6px;         /* gap between swatch and tooltip */
    white-space: nowrap;
    padding: 4px 8px;
    font-size: 0.75rem;
    color: #fff;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 4px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease-in-out;
    pointer-events: none;
    z-index: 10;
}

/* show on hover or keyboard focus */
.color-tab:hover::after,
.color-tab:focus::after {
    opacity: 1;
    visibility: visible;
}


.product-single-page .shop-button-container {
    display: flex;
    justify-content: flex-start; /* Schiebt den Button nach rechts */
}

.product-single-page .shop-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--secondary-orange);
    color: var(--white);
    padding: 10px 20px;
    margin-right: 30px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.2s;
    width: auto;
    max-width: fit-content;
    font-size: 16px;
    margin-top: 10px;
    margin-bottom: 50px;
}

.product-single-page .kontakt-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--secondary-orange);
    color: var(--white);
    padding: 10px 20px;
    margin-right: 30px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 0;
    transition: background-color 0.2s;
    width: auto;
    max-width: fit-content;
    font-size: 16px;
}

.product-single-page .shop-button .shop-icon {
    display: block;
    width: 20px;
    height: 20px;
    color: white;
    margin: -5px 0 0 -8px;
}

.product-single-page .color-links a {
    color: var(--secondary-blue);
    text-decoration: none;
    display: inline-block;
    margin-right: 10px;
}

.product-single-page .color-links .tab-color {
    height: 20px;
    width: 20px;
    border: solid 1px #292929;
}

.product-single-page .color-links a:hover {
    text-decoration: underline;
}

.product-single-page .product-description {
    margin-bottom: 0;
    font-size: 16px;
}

.product-single-page .product-description p {
    margin-bottom: 15px;
}

.product-single-page .feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 24px;
    margin: 42px 0;
}

.product-single-page .feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.product-single-page .feature-icon {
    width: 24px;
    height: 24px;
    background-color: rgba(23, 56, 101, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
    margin-top: 4px;
}

.product-single-page .feature-text h4 {
    font-weight: 600;
    margin-bottom: 4px;
}

.product-single-page .feature-text p {
    margin: 0;
    font-size: 14px;
    color: var(--text-light);
}

/* Page lock when open */
body.no-scroll { overflow: hidden; }

/* Root container: transparent so we see the dimmed backdrop */
.product-single-page .product-lightbox {
    position: fixed; inset: 0; z-index: 9999; display: none; background: transparent;
}
.product-single-page .product-lightbox.open { display: block; }

/* Backdrop: grey with opacity */
.product-single-page .product-lightbox .lightbox-backdrop {
    position: absolute; inset: 0; background: rgba(0,0,0,0.6); z-index: 0;
}

/* White panel (the "layer") */
.product-single-page .product-lightbox .lightbox-dialog {
    position: relative; z-index: 1;
    width: 50vw; max-width: 50vw;
    max-height: 90vh;               /* <= cap total height */
    margin: 5vh auto;               /* center vertically a bit */
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.35);
    display: flex; flex-direction: column;
    overflow: hidden;               /* keep internals tidy */
}

/* Top bar with actions on the right: Prev | Next | Close */
.product-single-page .product-lightbox .lightbox-topbar {
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    background: #fff;
}
.product-single-page .product-lightbox .lightbox-topbar .actions {
    display: flex; align-items: center; gap: 8px;
}

/* Circle buttons */
/* Hide nav + close buttons by default */
.product-single-page .product-lightbox .lightbox-prev,
.product-single-page .product-lightbox .lightbox-next,
.product-single-page .product-lightbox .lightbox-close {
    display: none;
}

/* Show them only when the lightbox is open */
.product-single-page .product-lightbox.open .lightbox-prev,
.product-single-page .product-lightbox.open .lightbox-next,
.product-single-page .product-lightbox.open .lightbox-close {
    display: inline-flex; /* flex so they keep circle centering */
}

.product-single-page .product-lightbox .lightbox-close {
    background: rgba(255,255,255,0.95); color: #000;
}
.product-single-page .product-lightbox .lightbox-close:hover {
    background: rgba(0,0,0,0.85); color: #fff;
}

/* Scrollable content area inside the panel */
.product-single-page .product-lightbox .lightbox-content {
    overflow: auto; -webkit-overflow-scrolling: touch;
    padding: 16px 16px 20px;
    display: flex; flex-direction: column; align-items: center;
    gap: 12px;
}

/* Make Querschnitt show "a little above" main image, always visible */
.product-single-page .product-lightbox .lightbox-querschnitt img {
    display: block; max-width: 100%;
    max-height: 22vh;              /* <= small header-like preview */
    height: auto; margin: 0 auto;
}

/* Main gallery image below; plenty of room within 90vh total */
.product-single-page .product-lightbox .lightbox-main img {
    display: block; max-width: 100%;
    max-height: 60vh;              /* <= fits with topbar + querschnitt */
    height: auto; margin: 0 auto;
}

/* Optional: constrain querschnitt width a bit for aesthetics */
.product-single-page .product-lightbox .lightbox-querschnitt {
    max-width: 60%; margin: 0 auto; text-align: center;
}

@media (max-width: 768px) {
    .product-single-page .product-lightbox .lightbox-dialog { width: 92vw; max-width: 92vw; margin: 4vh auto; }
    .product-single-page .product-lightbox .lightbox-prev,
    .product-single-page .product-lightbox .lightbox-next,
    .product-single-page .product-lightbox .lightbox-close { width: 36px; height: 36px; font-size: 20px; }
    .product-single-page .product-lightbox .lightbox-querschnitt img { max-height: 20vh; }
    .product-single-page .product-lightbox .lightbox-main img { max-height: 58vh; }
}
/* Lightbox closed by default */
.product-single-page .product-lightbox { display: none; }
.product-single-page .product-lightbox.open { display: block; }

/* Top bar: hidden by default, visible only when open; not sticky */
.product-single-page .product-lightbox .lightbox-topbar {
    display: none;                /* hide when not open */
    position: relative;           /* no sticky */
    top: auto;
    z-index: 1;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    background: #fff;
}
.product-single-page .product-lightbox.open .lightbox-topbar {
    display: flex;                /* show only when open */
}

/* Circle button visuals */
.product-single-page .product-lightbox .lightbox-prev,
.product-single-page .product-lightbox .lightbox-next,
.product-single-page .product-lightbox .lightbox-close {
    width: 40px;
    height: 40px;
    border-radius: 50%;             /* force circle */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    padding: 0;                      /* IMPORTANT: remove default padding */
    box-sizing: border-box;          /* include border in size */
    background: rgba(24,24,24,0.92);
    color: #fff;
    font-size: 22px;
    line-height: 1;
    box-shadow: 0 2px 10px rgba(0,0,0,0.25);
}

/* Close button variant */
.product-single-page .product-lightbox .lightbox-close {
    background: rgba(255,255,255,0.95);
    color: #000;
}
.product-single-page .product-lightbox .lightbox-close:hover {
    background: rgba(0,0,0,0.85);
    color: #fff;
}



/* Tabs Section */
.product-single-page .product-tabs {
    margin-top: 60px;
    max-width: 1280px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.product-single-page .tabs-header {
    display: flex;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 20px;
}

.product-single-page .tab-btn {
    padding: 12px 20px;
    background: none;
    border: none;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}

.product-single-page .tab-btn:after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--primary-blue);
    transition: width 0.2s;
}

.product-single-page .tab-btn.active {
    color: var(--primary-blue);
}



.product-single-page .tab-btn.active:after {
    width: 100%;
}

.product-single-page .tab-content {
    display: none;
    font-size: 16px;
    animation: fadeIn 0.5s ease;
}

.product-single-page .tab-content ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.product-single-page .tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.product-single-page .tab-content h3 {
    color: var(--primary-blue);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
}

.product-single-page .tab-content p {
    margin-bottom: 15px;
}

.product-single-page .tab-content ul {
    list-style-type: none;
    margin-bottom: 20px;
}

.product-single-page .tab-content ul li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 15px;
}

.product-single-page .tab-content ul li:before {
    content: "-";
    position: absolute;
    left: 0;
}

.product-single-page .logo-bar {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
    margin-top: 40px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.product-single-page .certification-logo {
    height: 50px;
    width: auto;
}

.product-single-page .footnote {
    font-size: 12px;
    color: var(--text-light);
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
    text-align: right;
}

/* Responsive */
@media (max-width: 1024px) {
    .product-single-page .product-main-section {
        grid-template-columns: 1fr 1fr;
    }

    .product-single-page .product-main-section.not-has-sidebar {
        grid-template-columns: 1fr;
    }
    .product-single-page .related-product-image {
        background-color: #e5e5e5;
        display: block;
        margin: 10px 0;
    }

    .product-single-page .feature-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .product-single-page .feature-list {
        grid-template-columns: 1fr;
    }

    .product-single-page .tabs-header {
        flex-wrap: wrap;
    }

    .product-single-page .tab-btn {
        padding: 10px 15px;
        font-size: 14px;
    }

    .product-single-page .product-main-section, .product-single-page .product-main-section.not-has-sidebar {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .product-single-page .gallery-thumbnails {
        justify-content: center;
    }
}

.hinweise-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    width: 100%;
}

.hinweis-item {
    position: relative;
    text-align: center;
}
.titel-hinweis {
    font-size: 12px;
    font-weight: 600;
    padding-bottom: 0;
    position: absolute;
    bottom: 60px;
    left: 0;
    right: -8px;
    margin-left: auto;
    margin-right: auto;
    width: 68%;
    color: var(--primary-blue);
    text-align: center;
    background-color: white;
    height: 28px;
}

.hinweis-image {
    max-width: 100%;
    height: auto;
}

.hinweis-text {
    margin-top: 10px;
}

/* Verfügbare Komponenten */

.komponenten-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
}

.komponenten-item {
    position: relative;
    text-align: center;
}


.komponenten-image {
    max-width: 100%;
    width: 40px;
    height: 40px;
    float: left;
}

.komponenten-beschreibung {
    float: left;
    padding: 10px;
    font-size: 16px;
}

.product-single-page .product-main-section.not-has-sidebar .komponenten-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 0;
    width: 100%;
}

/* Responsive Table */

/* Wrapper provides horizontal scroll on small screens */
.table-wrapper {
    width: 100%;
    overflow-x: auto;
    margin: 25px 0;
}

/* Base table styling */
.acf-table {
    width: 100%;
    border-collapse: collapse;
    font-family: sans-serif;
    font-size: 16px; /* ~8pt */
    color: #222;
}

.acf-table th,
.acf-table td {
    border: 1px solid #ddd;
    padding: 8px;
    vertical-align: top;
}

.acf-table th {
    font-weight: 700;
    background: #f8f8f8;
}

/* Optional zebra striping */
.acf-table tbody tr:nth-child(even) {
    background: #fafafa;
}

/* Stack cells on very small screens (optional pattern) */
@media (max-width: 600px) {
    .acf-table,
    .acf-table thead,
    .acf-table tbody,
    .acf-table th,
    .acf-table td,
    .acf-table tr {
        display: block;
    }

    .acf-table thead {
        display: none;
    }

    .acf-table tr {
        margin-bottom: 1rem;
        border: 1px solid #ddd;
    }

    .acf-table td {
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 45%;
        min-height: 2.2em;
    }

    .acf-table td::before {
        content: attr(data-label);
        position: absolute;
        left: 8px;
        top: 8px;
        width: 40%;
        font-weight: 600;
        white-space: nowrap;
    }
}


/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .hinweise-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .hinweise-grid {
        grid-template-columns: 1fr;
    }

    #featured-title .main-title {
        font-size: 22px;
        padding: 0 0 50px 0;
    }
}

@media (max-width: 768px) {

    .product-single-page .shop-button {
        padding: 5px 12px;
        font-size: 12px;
    }

    .product-single-page .shop-button .shop-icon {
        display: block;
        width: 15px;
        height: 15px;
        color: white;
        margin: -10px 0 0 -2px;
    }

    .product-single-page .product-description p {
        margin-bottom: 15px;
        line-height: 24px;
    }
    .elementor-kit-9 {
        --e-global-typography-primary-line-height: 1.2em!important;
    }
}


/* accordion */

.product-single-page .accordion {
    max-width: 100%;
    margin: 0 auto;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.product-single-page .accordion > div {
    border-bottom: 1px solid #e0e0e0;
}

.product-single-page .accordion > div:last-child {
    border-bottom: none;
}

/* Hide the radio buttons */
.product-single-page .accordion input[type="radio"] {
    display: none;
}

/* Label styling */
.product-single-page .accordion label {
    display: flex;
    align-items: center;
    padding: 20px 24px;
    background: #ffffff;
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-blue);
    transition: background-color 0.3s ease;
    position: relative;
}

.product-single-page .accordion label:hover {
    background: var(--primary-blue);
}

/* Icon styling - menu-right by default */
.product-single-page .accordion label::before {
    content: '\27E9';
    margin-right: 16px;
    font-size: 20px;
    color: var(--primary-blue);
    transition: transform 0.3s ease;
    display: inline-block;
}

/* Menu-down icon when active */
.product-single-page .accordion input[type="radio"]:checked + label::before {
    transform: rotate(90deg);
}

/* Panel styling */
.product-single-page .panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    background: #fafbfc;
    padding: 0 24px;
}

/* Show panel when radio is checked */
.product-single-page .accordion input[type="radio"]:checked ~ .panel {
    max-height: 1000px;
    padding: 24px;
}

/* Panel content styling */
.product-single-page .panel-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary-blue);
}

.product-single-page .panel-text {
    font-size: 15px;
    line-height: 1.7;
    color: #333;
    margin-bottom: 16px;
}

.product-single-page .panel-text:last-child {
    margin-bottom: 0;
}

/* Active label styling */
.product-single-page .accordion input[type="radio"]:checked + label {
    background: #FFFFFF;
    color: var(--primary-blue);
}