/*
 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');
}

:root {
    --primary-blue: #173865;
    --secondary-orange: #e95f2b;
    --light-gray: #f5f5f5;
    --text-dark: #333;
    --white: #fff;
}


* {
    font-size: 1rem;
    margin: 0;
    margin-bottom: 0px;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body {
    background-color: var(--light-gray);
    color: var(--text-dark);
}

a {
    text-decoration: none;
    color: var(--text-dark);
    transition: color 0.3s;
    font-size: 16px;
}

p {
    margin: 0 0 30px;
    margin-top: 0px;
    margin-bottom: 30px;
    font-size: 16px;
}

ul, li {
    font-size: 16px;
    margin: 10px;
    padding: 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;
}


/* 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: 50px 0 50px;
}
#featured-title .main-title {
    font-family: "Roboto Slab";
}

.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;
}



.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%;
    }



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

@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;
}

.product-overview-page .pdf-icon {
    width: 18px;
    height: 18px;
    background-color: white;
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'%3E%3Cpath d='M320 464C328.8 464 336 456.8 336 448V416H384V448C384 483.3 355.3 512 320 512H64C28.65 512 0 483.3 0 448V416H48V448C48 456.8 55.16 464 64 464H320zM256 160C238.3 160 224 145.7 224 128V48H64C55.16 48 48 55.16 48 64V192H0V64C0 28.65 28.65 0 64 0H229.5C246.5 0 262.7 6.743 274.7 18.75L365.3 109.3C377.3 121.3 384 137.5 384 154.5V192H336V160H256zM88 224C118.9 224 144 249.1 144 280C144 310.9 118.9 336 88 336H80V368H88C136.6 368 176 328.6 176 280C176 231.4 136.6 192 88 192H56C42.75 192 32 202.8 32 216V408C32 421.3 42.75 432 56 432H72V400H56V224H88zM280 224V288H328V224H280zM280 320V368H328V320H280zM280 400V432H328C341.3 432 352 421.3 352 408V400H280zM328 192C354.5 192 376 213.5 376 240V408C376 434.5 354.5 456 328 456H256V192H328zM224 400H208V224H160V432H208V432C215.4 432 222.6 430 229.1 425.4L224 400zM208 368H215.4C221.8 368 227.2 362.6 227.2 356.1C227.2 349.7 221.8 344.2 215.4 344.2H208V368z'/%3E%3C/svg%3E");
    mask-repeat: no-repeat;
    mask-position: center;
}

.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 .shop-icon {
    width: 20px;
    height: 20px;

}

.product-overview-page .shop-icon::before {
    content: "\1F3EC";
    display: block;
    width: 20px;
    height: 20px;
    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;
    gap: 40px;
}

.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:first-of-type {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    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: 14px;
    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 .gallery-thumbnails {
    display: flex;
    gap: 10px;
}

.product-single-page .gallery-thumbnail {
    width: 80px;
    height: 80px;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.2s;
}

.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;
}

.product-single-page .product-info {
    display: flex;
    flex-direction: column;
}

.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;
}

.product-single-page .shop-button-container {
    display: flex;
    justify-content: flex-end; /* 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;
    margin-top: 0px;
    transition: background-color 0.2s;
    width: auto;
    max-width: fit-content;
}

.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;
    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);
}

/* 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: 1.4rem;
    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;
    }

    .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;
    }
}

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