.ral-colors-index {
    list-style: none;
}

.ral-colors ul {
    list-style: none;
}

.ral-colors li {
    width: 18%;
    min-width: 135px;
    float: left;
    padding: 16px 0;
    box-sizing: border-box;
    margin: 8px;
    font-weight: bold;
}

.ral-colors {
    display: flex;
}

/* warenkorb berechnung */
.wc-block-components-product-details__gzd-unit-price,
.wc-block-components-product-details__gzd-units {
    display: none !important;
}

/* =====================================================
   Grundlayout Formular Kontakt
   ===================================================== */

.wpcf7-form {
    max-width: 700px;
    margin: 0 auto;
    font-family: inherit;
}

/* Formulargruppen */
.wpcf7-form p {
    margin-bottom: 1.2rem;
}

/* Labels */
.wpcf7-form label {
    display: block;
    font-size: 0.95rem;
    font-weight: 500;
    color: #333;
}

.wpcf7 form.sent .wpcf7-response-output {
    border-color: #46b450;
    padding: 20px 14px;
    font-weight: bolder;
    font-size: large;
    border-width: 3px;
}

/* =====================================================
   Eingabefelder & Select
   ===================================================== */

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form select,
.wpcf7-form textarea {
    background-color: #f7f8fa !important;
    border: 1px solid #e6e6e6 !important;
    border-radius: 6px !important;
    color: #222;
    padding: 0.7rem 0.85rem;
    font-size: 0.95rem;
    box-sizing: border-box;
}

/* Fokus-Zustand */
.wpcf7-form input:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus {
    background-color: #ffffff !important;
    border-color: #cfcfcf !important;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.04);
}

/* Textarea */
.wpcf7 form.wpcf7-form textarea {
    min-height: 150px;
    resize: vertical;
}

/* =====================================================
   Submit Button
   ===================================================== */

.wpcf7-form input[type="submit"] {
    background-color: #2c2c2c;
    color: #ffffff;
    border: none;
    padding: 0.75rem 2rem;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.wpcf7-form input[type="submit"]:hover {
    background-color: #000000;
}

/* Spinner */
.wpcf7-spinner {
    margin-left: 0.75rem;
}

/* produkt button */
div.wp-block-woocommerce-product-button a.wp-block-button__link:hover {
    color: #FFF;
}

/* =====================================================
   Fehlermeldungen & Validierung
   ===================================================== */

.wpcf7-not-valid {
    border-color: #b00020;
}

.wpcf7-not-valid-tip {
    font-size: 0.85rem;
    color: #b00020;
    margin-top: 0.3rem;
}

/* =====================================================
   Erfolgs- / Antwortmeldungen
   ===================================================== */

.wpcf7-response-output {
    margin-top: 1.5rem;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
}

.wpcf7-mail-sent-ok {
    background-color: #f2f7f2;
    border: 1px solid #9bbf9b;
    color: #2e5f2e;
}

.wpcf7-validation-errors,
.wpcf7-mail-sent-ng {
    background-color: #faf2f2;
    border: 1px solid #d4a5a5;
    color: #7a1f1f;
}

/* =====================================================
   Submit Button
   ===================================================== */

.wpcf7-form input.wpcf7-submit {
    background-color: #2A3958 !important;
    color: #ffffff !important;
    border: none !important;
    padding: 0.75rem 2rem !important;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 6px !important;
    cursor: pointer;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

/* Hover – Option 2 */
.wpcf7-form input.wpcf7-submit:hover {
    background-color: #42577A !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15) !important;
}

/* =====================================================
   Mobile Optimierung
   ===================================================== */

@media (max-width: 600px) {
    .wpcf7-form input[type="submit"] {
        width: 100%;
    }
}

/* =====================================================
   Ende Grundlayout Formular Kontakt
   ===================================================== */


/* =====================================================
   Produktbeschreibung Info zu Sonderwunsch
   ===================================================== */
.box.specialrequests {
    display: flex;
    align-items: center;
    gap: 12px;

    padding: 16px;
    border: 1px solid #000;
    border-radius: 10px;
    background-color: #E6E8F4;
    font-weight: 600;

}

.box .specialrequests-icon {
    width: 75px;
    /* Größe anpassen */
    height: auto;
    flex-shrink: 0;
    /* verhindert, dass das Bild schrumpft */
}

.box .specialrequests-text {
    line-height: 1.4;
}

.specialrequests-box-all .box.specialrequests {
    margin: 20px 0px;
}

/* =====================================================
   Ende Produktbeschreibung Info zu Sonderwunsch
   ===================================================== */


/* =====================================================
   Beschreibung Konfigurator
   ===================================================== */
.infobox_configurator {
    padding: 8px 16px;
    border: 1px solid #000;
    border-radius: 10px;
    background-color: #E6E8F4;
    font-weight: 600;
}

.infobox_configurator br {
    white-space: unset;
}

.btn_radius span.uni-cpo-option-label__text-content {
    border-radius: 5px;
}

.btn_radius span.uni-cpo-option-label__text-content {
    border-radius: 5px;
}

/* =====================================================
   Ende Beschreibung Konfigurator
   ===================================================== */
.cpo_none_display {
    display: none;
}

/* user_information*/
div#user_information {
    display: none;
}

/* end user information
/* =====================================================
   Scroll To Top (Linke Seite)
   ===================================================== */
a.wp-block-button__link:contains("Scroll to Top") {
    display: none;
}


/* =====================================================
   Anzeige Umfang Flaech im Konfogutrator
   ===================================================== */
#glass-info,
#glass-info-a,
#glass-info-b,
#glass-info-c {
    display: flex;
    gap: 32px;
    align-items: left;
    flex-wrap: wrap;
    /* mobil freundlich */
}

@media (max-width: 600px) {

    #glass-info,
    #glass-info-a,
    #glass-info-b,
    #glass-info-c {
        gap: 16px;
    }
}

/* =====================================================
   Anzeige Border um jede Anzeige
   ===================================================== */
.uni-row-content-wrap {
    color: #333333;
    margin-top: 10px;
    margin-bottom: 10px;
    border: 2px solid #0293ce;
    padding: 8px 16px;
    border-radius: 15px;
}

/* =====================================================
   Ende Anzeige Konfogutrator
   ===================================================== */



/* =====================================================
   Test Buttons im Konfogurator
   ===================================================== /* JA → grün */
/*drilling*/
#uni_cpo_glass_drilling-field-ja:checked+label .uni-cpo-option-label__text-content {
    background-color: #28a745 !important;
    border-color: #28a745 !important;
}

/*rounded_corners*/
#uni_cpo_glass_ounded_corners-field-ja:checked+label .uni-cpo-option-label__text-content {
    background-color: #28a745 !important;
    border-color: #28a745 !important;
}

/*cutout*/
#uni_cpo_glass_cutout-field-ja:checked+label .uni-cpo-option-label__text-content {
    background-color: #28a745 !important;
    border-color: #28a745 !important;
}

/*edge cutout*/
#uni_cpo_glass_edge_cutout_2-field-ja:checked+label .uni-cpo-option-label__text-content {
    background-color: #28a745 !important;
    border-color: #28a745 !important;
}

/*extra packaging*/
#uni_cpo_glass_additional_packaging2-field-ja:checked+label .uni-cpo-option-label__text-content {
    background-color: #28a745 !important;
    border-color: #28a745 !important;
}

/* NEIN → rot */
/*drilling*/
#uni_cpo_glass_drilling-field-nein:checked+label .uni-cpo-option-label__text-content {
    background-color: #dc3545 !important;
    border-color: #dc3545 !important;
}

/*rounded_corners*/
#uni_cpo_glass_ounded_corners-field-nein:checked+label .uni-cpo-option-label__text-content {
    background-color: #dc3545 !important;
    border-color: #dc3545 !important;
}

/*cutout*/
#uni_cpo_glass_cutout-field-nein:checked+label .uni-cpo-option-label__text-content {
    background-color: #dc3545 !important;
    border-color: #dc3545 !important;
}

/*edge cutout*/
#uni_cpo_glass_edge_cutout_2-field-nein:checked+label .uni-cpo-option-label__text-content {
    background-color: #dc3545 !important;
    border-color: #dc3545 !important;
}

/*extra packaging*/
#uni_cpo_glass_additional_packaging2-field-nein:checked+label .uni-cpo-option-label__text-content {
    background-color: #dc3545 !important;
    border-color: #dc3545 !important;
}

/* Allgemein fuer YesNo-Button */
/* Standardzustand */
.btn_no .uni-cpo-option-label__text-content,
.btn_yes .uni-cpo-option-label__text-content {
    background-color: #000 !important;
    border-color: #000 !important;
}

/* NEIN aktiv → rot */
input[type="radio"]:checked+label.btn_no .uni-cpo-option-label__text-content {
    background-color: #dc3545 !important;
    border-color: #dc3545 !important;
}

/* JA aktiv → grün */
input[type="radio"]:checked+label.btn_yes .uni-cpo-option-label__text-content {
    background-color: #28a745 !important;
    border-color: #28a745 !important;
}




/* =====================================================
   Ende Test Buttons im Konfogurator
   ===================================================== */


/* =====================================================
   Title Product-Drawing
   ===================================================== */
.product-line-drawing-title {
    text-align: center;
}


/* =====================================================
   Scroll to Top Text
   ===================================================== */
.wp-block-button.shopmighty-scrollto-top .wp-block-button__link.wp-element-button {
    text-indent: -6000px !important;
}



/*
-------------------------------------------------
   Green Icon in accordion title
------------------------------------------------------------ */
img.emoji[alt="✅"] {
    content: url("https://www.glas-ab-werk.de//wp-content/uploads/2026/01/righticon-1.png");
    width: 20px !important;
    height: 20px !important;
    vertical-align: middle;
}

/*
---------------------------------------------------
 Lock Icon in accordion title
-------------------------------------------------------------  */
img.emoji[alt="🔒"] {
    content: url("https://www.glas-ab-werk.de//wp-content/uploads/2026/01/lock_icon.png");
    width: 23px !important;
    height: 23px !important;
    vertical-align: middle;
}

/* =====================================================
   Search Form on Top
   ===================================================== */
form.shopmighty-header-search.wp-block-search .wp-block-search__inside-wrapper {

    background: #fff !important;
    border: 2px solid #005c80 !important;
}

/* =====================================================
   DropDownMenu
   ===================================================== */
@media (min-width: 1250px) {

    .wp-block-navigation .has-child .wp-block-navigation-submenu__toggle[aria-expanded="true"]~.wp-block-navigation__submenu-container,
    .wp-block-navigation .has-child:not(.open-on-click):hover>.wp-block-navigation__submenu-container,
    .wp-block-navigation .has-child:not(.open-on-click):not(.open-on-hover-click):focus-within>.wp-block-navigation__submenu-container {
        min-width: 350px !important;
    }
}

/* =====================================================
   h1 hyphenation
   ===================================================== */
h1 {
    hyphens: auto;
}

/* =================================================
   ul li tick
================================================= */

#tab-description ul {
    list-style: none;
    padding-left: 0;
    margin: 8px 0 24px 0;
}

#tab-description ul li {
    position: relative;
    padding-left: 32px;
    /* Platz für den Haken */
    margin-bottom: 8px;
}

#tab-description ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.2em;
    width: 20px;
    height: 20px;
    background-image: url("/wp-content/uploads/2026/02/right-chevron.png");
    background-size: contain;
    background-repeat: no-repeat;
}

/* tbl product */
.tbl_product {
    width: 100%;
    border-collapse: collapse;
    table-layout: auto;
    margin: 25px 0;
}

.tbl_product th {
    background: #f7f7f7;
    padding: 16px 20px;
    font-size: 20px;
    font-weight: 600;
    border: 1px solid #ddd;
}

.tbl_product td {
    padding: 25px;
    vertical-align: top;
    border: 1px solid #ddd;
}

.tbl_product td:first-child {
    width: 220px;
    text-align: center;
    vertical-align: middle;
}

.tbl_product td:nth-child(2) {
    width: 320px;
}

.tbl_product td:nth-child(3) {
    width: auto;
}

.tbl_product img.picture_width_200 {
    width: 180px;
    height: auto;
}

.tbl_product ul {
    margin: 0;
    padding-left: 22px;
}

.tbl_product li {
    margin-bottom: 12px;
    line-height: 1.6;
}

.tbl_product p {
    margin: 0;
    line-height: 1.8;
}

/*
-----------------------------------------------------------
spiegelbefestigung in confi
-----------------------------------------------------*/

#spiegel_befestigung ul {
    margin: 0;
    padding-left: 18px;
    /* adjust indentation if needed */
}

#spiegel_befestigung li {
    margin: 0;
    padding: 0;
    line-height: 1.3;
}

/* Remove gap above the list */
#spiegel_befestigung p {
    margin-bottom: 0;
}

#spiegel_befestigung {
    line-height: 1.3;
}

#spiegel_befestigung li+li {
    margin-top: 2px;
}

.picture_width_100 img,
img.picture_width_100 {
    width: 160px;
    height: auto;
}

.picture_width_200 img,
img.picture_width_200 {
    width: 200px;
    height: auto;
}

.picture_width_240 img,
img.picture_width_240 {
    width: 238px;
    height: auto;
}

.picture_width_360 img,
img.picture_width_360 {
    width: 360px;
    height: auto;
}

.picture_width_350 img,
img.picture_width_350 {
    width: 350px;
    height: auto;
}

.picture_halfwidth img,
img.picture_halfwidth {
    width: 46%;
    height: auto;
}

.picture_fullwidth img,
img.picture_fullwidth {
    width: 100%;
    height: auto;
}

div.clear_row {
    clear: both;
}

/*
------------------------------------------------------------
Auswahl als Produktanfrage senden
-----------------------------------------------------*/
.single_add_to_cart_button_enqrs.button {
    background-color: black;
    color: white;
    padding: 15px 35px;
    border-radius: 5px;
    margin-top: 15px;
    border: none;
    display: inline-block;
}

.single_add_to_cart_button_enqrs.button:hover {
    background-color: #0293CE;
    color: white;
}


span.uni-cpo-module-radio-label {
    display: none;
}

/* --------------------------------------------
Button fuer Option waehlen / konfigurator
 -------------------------------------------- */

.wp-block-button__link.wp-element-button.wc-block-components-product-button__button.has-font-size.has-small-font-size.has-text-align-center {
    text-decoration: none;
}




/* 1) Nur diese "Optionen wählen"-Links (a.button direkt im Produkt-LI) */
.wc-block-product-template__responsive li.wc-block-product>a.button,
.wc-block-product-template li.wc-block-product>a.button {
    /* Verhalten wie .wp-block-button__link / .wc-block-components-product-button__button */
    display: inline-flex;
    align-items: center;
    justify-content: center;

    line-height: inherit;
    overflow: hidden;
    white-space: normal;
    word-break: normal;
    width: 80%;
    margin: 0 10%;
    text-align: center;
    box-sizing: border-box;
    cursor: pointer;

    /* Optik wie :root :where(.wp-element-button, .wp-block-button__link) */
    background-color: var(--wp--preset--color--heading-color);
    border-radius: 0.375em;
    border: 0;

    color: var(--wp--preset--color--light-color);
    font-family: inherit;
    font-size: var(--wp--preset--font-size--small);
    font-style: inherit;
    font-weight: var(--wp--preset--font-weight--bold);
    letter-spacing: inherit;
    line-height: var(--wp--preset--line-height--initial);

    padding: calc(0.667em + 2px) calc(1.333em + 2px);

    /* wichtig gegen deine globale Link-Regel */
    text-decoration: none;
}

.wc-block-product-template__responsive li.wc-block-product>a.button:hover,
.wc-block-product-template li.wc-block-product>a.button:hover {
    background-color: var(--wp--preset--color--primary) !important;
}

/* 3) Optional: Fokus sichtbar (wie Button) */
.wc-block-product-template__responsive li.wc-block-product>a.button:focus-visible,
.wc-block-product-template li.wc-block-product>a.button:focus-visible {
    outline: 2px solid var(--wp--preset--color--primary);
    outline-offset: 3px;
}


/* --------------------------------------------
glossery-effect top
 -------------------------------------------- */
.top_banner_bg .wp-block-cover__background.has-custom-005-c-80-logo-bottom-background-color {
    position: relative;

    background:
        linear-gradient(180deg,
            rgba(255, 255, 255, 0.55) 0%,
            rgba(255, 255, 255, 0.15) 18%,
            rgba(255, 255, 255, 0.05) 45%,
            rgba(0, 0, 0, 0.15) 100%),
        #005c80 !important;

    border-top: 1px solid rgba(255, 255, 255, 0.7);
    border-bottom: 1px solid rgba(0, 0, 0, 0.4);

    box-shadow:
        inset 0 2px 6px rgba(255, 255, 255, 0.4),
        inset 0 -4px 12px rgba(0, 0, 0, 0.35),
        0 20px 50px rgba(0, 0, 0, 0.45);
}

.top_banner_bg {
    background-image: url("https://www.glas-ab-werk.de//wp-content/uploads/2026/02/background_glasplatten.jpg");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    width: 100%;
    opacity: 0.75;
    box-shadow: rgba(17, 17, 26, 0.1) 0px 4px 16px, rgba(17, 17, 26, 0.05) 0px 8px 32px;
    text-shadow: #333 3px 3px 8px;
}

/* --------------------------------------------
Button in der kategorieansicht in einer linie
 -------------------------------------------- */
.wc-block-product {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.wc-block-product .wp-block-post-title {
    line-height: 1.4;
    margin-bottom: 0.75rem;
}

.wc-block-product .wp-block-woocommerce-product-price {
    margin-top: auto;
    margin-bottom: 0.75rem;
}

/* --------------------------------------------
Konfigurator preis in radio klein -------------------------------------------- */
#uni_cpo_walkin_mountingtype .uni-cpo-option-label__description {
    font-size: 10px;
    font-weight: bold;
}



table.has-fixed-layout a {
    font-weight: 800 !important;
}


/* --------------------------------------------
remove the underline from button
 -------------------------------------------- */
a.wp-block-button__link.wp-element-button {
    text-decoration: none !important;
}

/* --------------------------------------------
shadow on product-pictures
 -------------------------------------------- */
.attachment-woocommerce_thumbnail.size-woocommerce_thumbnail,
figure.wp-block-image.size-full img,
figure.wp-block-video video {
    box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;
    border-radius: 10px;
    padding: 0px;
    box-shadow: rgba(0, 0, 0, 0.45) 0px 25px 20px -20px;
}



/* --------------------------------------------
all the products are alligned left side
 -------------------------------------------- */
.is-layout-constrained>.wp-block-woocommerce-product-collection {
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: 100% !important;
}


/* --------------------------------------------
underline Übersicht der RAL Farben
 -------------------------------------------- */
.ralfarbe_underline {
    text-decoration: underline !important;
}

/* --------------------------------------------
text-shadow slider
 -------------------------------------------- */
/* slider */
.wp-block-cover.is-light.swiper-slide.swiper-slide-active .wp-block-group-is-layout-constrained {
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.35) 45%, rgba(0, 0, 0, 0.15) 100%);
    padding: 10px 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.home-slider .wp-block-cover .wp-block-cover__inner-container,
.home-slider .wp-block-cover-image .wp-block-cover__inner-container {
    color: inherit;
    position: absolute;
    left: 3%;
    width: 40%;
}

.home-slider .wp-block-cover__inner-container h1,
.home-slider .wp-block-cover__inner-container p {
    text-align: unset;
}

@media (max-width: 900px) {

    .home-slider .wp-block-cover .wp-block-cover__inner-container,
    .home-slider .wp-block-cover-image .wp-block-cover__inner-container {
        color: inherit;
        position: absolute;
        left: 1%;
        width: 98%;
    }

    .home-slider .wp-block-cover__inner-container h1,
    .home-slider .wp-block-cover__inner-container p {
        letter-spacing: normal;
        text-align: unset;
    }
}

/* --------------------------------------------
product-line-drawing
 -------------------------------------------- */
@media (max-width: 400px) {
    #product-line-drawing svg {
        width: 300px
    }
}

/* --------------------------------------------
plz anzeige
 -------------------------------------------- */
#uni_cpo_glas_distance-field {
    width: 100% !important;
    max-width: 100% !important;
    height: 36px !important;
    min-height: 36px !important;
    border-top: 1px solid #d7d7d7 !important;
    border-bottom: 1px solid #d7d7d7 !important;
    border-left: 1px solid #d7d7d7 !important;
    border-right: 1px solid #d7d7d7 !important;
    border-radius: 5px !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
}

.uni-node-js34537 {
    float: left;
    width: 30%;
    margin-right: 20px;
}

.uni-node-js34535 {
    width: 61%;
    float: right;
}

/* --------------------------------------------
mobiles menü detailseite
 -------------------------------------------- */

@media (min-width: 769px) {
    .mobile-icon-nav {
        display: none;
    }
}

@media (max-width: 768px) {

    .mobile-icon-nav {
        position: fixed;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 9999;

        display: flex;
        flex-direction: column;
        gap: 14px;
    }

    .icon-btn {
        width: 52px;
        height: 52px;
        border-radius: 50%;
        background: #005C80;
        display: flex;
        align-items: center;
        justify-content: center;

        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
        transition: transform 0.2s ease;
    }

    .icon-btn:active {
        transform: scale(0.95);
    }

    .icon-btn img {
        width: 24px;
        height: 24px;
        object-fit: contain;
    }

    #showbottomcart {
        scroll-margin-top: 120px;
    }
}

/* test kann geloescht werden */
@media (max-width: 700px) {

    .attachment-woocommerce_thumbnail.size-woocommerce_thumbnail,
    figure.wp-block-image.size-full img,
    figure.wp-block-video video {
        box-shadow: none border-radius: 10px;
        padding: 0px;
        box-shadow: none
    }

}

/*extra packaging*/
#uni_cpo_glass_additional_packaging3-field-ja:checked+label .uni-cpo-option-label__text-content {
    background-color: #28a745 !important;
    border-color: #28a745 !important;
}

/*extra packaging*/
#uni_cpo_glass_additional_packaging3-field-nein:checked+label .uni-cpo-option-label__text-content {
    background-color: #dc3545 !important;
    border-color: #dc3545 !important;
}



/*Button color when ja is checked*/
#uni_cpo_walkin_glass_rounded_corners_a_001-field-ja:checked+label .uni-cpo-option-label__text-content {
    background-color: #28a745 !important;
    border-color: #28a745 !important;
}

/*Button color when nein is checked*/
#uni_cpo_walkin_glass_rounded_corners_a_001-field-nein:checked+label .uni-cpo-option-label__text-content {
    background-color: #dc3545 !important;
    border-color: #dc3545 !important;
}



/*Button color when ja is checked*/
#uni_cpo_walkin_glas_cutout_a_001-field-ja:checked+label .uni-cpo-option-label__text-content {
    background-color: #28a745 !important;
    border-color: #28a745 !important;
}

/*Button color when nein is checked*/
#uni_cpo_walkin_glas_cutout_a_001-field-nein:checked+label .uni-cpo-option-label__text-content {
    background-color: #dc3545 !important;
    border-color: #dc3545 !important;
}


/*Button color when ja is checked*/
#uni_cpo_walkin_glas_button_enter_dimensions_a_001-field-ja:checked+label .uni-cpo-option-label__text-content {
    background-color: #28a745 !important;
    border-color: #28a745 !important;
}

/*Button color when nein is checked*/
#uni_cpo_walkin_glas_button_enter_dimensions_a_001-field-nein:checked+label .uni-cpo-option-label__text-content {
    background-color: #dc3545 !important;
    border-color: #dc3545 !important;
}


/*Button color when ja is checked*/
#uni_cpo_walkin_glass_rounded_corners_b_001-field-ja:checked+label .uni-cpo-option-label__text-content {
    background-color: #28a745 !important;
    border-color: #28a745 !important;
}

/*Button color when nein is checked*/
#uni_cpo_walkin_glass_rounded_corners_b_001-field-nein:checked+label .uni-cpo-option-label__text-content {
    background-color: #dc3545 !important;
    border-color: #dc3545 !important;
}


/*Button color when ja is checked*/
#uni_cpo_walkin_glas_cutout_b_001-field-ja:checked+label .uni-cpo-option-label__text-content {
    background-color: #28a745 !important;
    border-color: #28a745 !important;
}

/*Button color when nein is checked*/
#uni_cpo_walkin_glas_cutout_b_001-field-nein:checked+label .uni-cpo-option-label__text-content {
    background-color: #dc3545 !important;
    border-color: #dc3545 !important;
}


/*Button color when ja is checked*/
#uni_cpo_walkin_glas_button_enter_dimensions_b_001-field-ja:checked+label .uni-cpo-option-label__text-content {
    background-color: #28a745 !important;
    border-color: #28a745 !important;
}

/*Button color when nein is checked*/
#uni_cpo_walkin_glas_button_enter_dimensions_b_001-field-nein:checked+label .uni-cpo-option-label__text-content {
    background-color: #dc3545 !important;
    border-color: #dc3545 !important;
}


/*Button color when ja is checked*/
#uni_cpo_walkin_glass_rounded_corners_c_001-field-ja:checked+label .uni-cpo-option-label__text-content {
    background-color: #28a745 !important;
    border-color: #28a745 !important;
}

/*Button color when nein is checked*/
#uni_cpo_walkin_glass_rounded_corners_c_001-field-nein:checked+label .uni-cpo-option-label__text-content {
    background-color: #dc3545 !important;
    border-color: #dc3545 !important;
}


/*Button color when ja is checked*/
#uni_cpo_walkin_glas_cutout_c_001-field-ja:checked+label .uni-cpo-option-label__text-content {
    background-color: #28a745 !important;
    border-color: #28a745 !important;
}

/*Button color when nein is checked*/
#uni_cpo_walkin_glas_cutout_c_001-field-nein:checked+label .uni-cpo-option-label__text-content {
    background-color: #dc3545 !important;
    border-color: #dc3545 !important;
}


/*Button color when ja is checked*/
#uni_cpo_walkin_glas_button_enter_dimensions_c_001-field-ja:checked+label .uni-cpo-option-label__text-content {
    background-color: #28a745 !important;
    border-color: #28a745 !important;
}

/*Button color when nein is checked*/
#uni_cpo_walkin_glas_button_enter_dimensions_c_001-field-nein:checked+label .uni-cpo-option-label__text-content {
    background-color: #dc3545 !important;
    border-color: #dc3545 !important;
}

/* formular datum */
/* formular datum */
/* formular datum */
.wpcf7-form input[type="date"] {
    width: 100%;
    max-width: 700px;
    height: 42px;
    padding: 10px 14px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    background: #f5f5f5;
    color: #222;
    font-size: 16px;
    line-height: 1.4;
    box-sizing: border-box;
    appearance: none;
    -webkit-appearance: none;
    font-family: inherit;
}

/* Fokus wie bei normalen Feldern */
.wpcf7-form input[type="date"]:focus {
    outline: none;
    border-color: #999;
    background: #fff;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.04);
}

/* Kalender-Icon etwas sauberer positionieren */
.wpcf7-form input[type="date"]::-webkit-calendar-picker-indicator {
    opacity: 0.8;
    cursor: pointer;
}

/* Optional: Labels schöner absetzen */
.wpcf7-form label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: #222;
}

/* Abstand zwischen den Formularblöcken */
.wpcf7-form p {
    margin-bottom: 18px;
}


/*Button color when ja is checked*/
#uni_cpo_glass_additional_packaging4-field-ja:checked+label .uni-cpo-option-label__text-content {
    background-color: #28a745 !important;
    border-color: #28a745 !important;
}

/*Button color when nein is checked*/
#uni_cpo_glass_additional_packaging4-field-nein:checked+label .uni-cpo-option-label__text-content {
    background-color: #dc3545 !important;
    border-color: #dc3545 !important;
}

/* picture without shadows */
.no_shadow img {
    box-shadow: none !important;
}

.no_shadow .is-layout-flex,
#wp--skip-link--target .wp-block-group.is-layout-constrained.wp-block-group-is-layout-constrained {
    border: none
}

/* to allign the text */
p {
    text-align: justify;
}

/* pills blog */
.wp-block-categories-list.ca-pattern__category-pills,
.taxonomy-category.ca-pattern__category-pills.wp-block-post-terms {
    &.ca-blog-28>a {
        padding: 4px 16px;
        background-color: #00719e;
        color: #FFF;
        text-decoration: none;
    }
}

#cozyBlock_cdac7b65_625e_4f31_9975_1e528a5f2a4b.layout-cover .cozy-block-advanced-categories__content-wrapper:hover .cozy-block-advanced-categories__name {
    color: #0293ce;
}



/* Hide default theme mobile menu icon */
.wp-block-navigation__responsive-container-open {
    display: none !important;
}


/* Fix bullet alignment */
ul {
    padding-left: 20px;
    margin-left: 0;
}

ul li {
    line-height: 1.6;
    margin-bottom: 6px;
}

/* Fix text wrapping alignment */
ul li::marker {
    font-size: 1em;
}


/* change the color of phone number to white */
.wp-block-template-part p:last-child {
    color: white;
}


/* form monatgae */
.form_montage .wpcf7-form label {
    color: #fff;
}

/* Hide (getöntesglas page) extra videos on mobile */
@media (max-width: 768px) {

    .video-2,
    .video-3,
    .video-4 {
        display: none;
    }
}

/* table price info */
.itbl {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #eef0f8;
    border: 1px solid #6f7280;
    border-radius: 14px;
    overflow: hidden;
    font-weight: 500;
    color: #2f3443;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

/* Kopfbereich */
.itbl thead tr:first-child th {
    background: #e4e7f2;
    padding: 20px 16px 10px;
    border-bottom: 0;
}

.itbl thead tr:first-child h3 {
    margin: 0;
    font-size: 2rem;
    line-height: 1.2;
    font-weight: 700;
    color: #111827;
}

.itbl thead tr:nth-child(2) th {
    background: #e4e7f2;
    padding: 12px 16px 14px;
    font-size: 1rem;
    font-weight: 700;
    color: #4b5563;
    border-bottom: 2px solid #0293ce;
    /* Akzent passend zur Hinweis-Box */
}

/* Zellen */
.itbl th,
.itbl td {
    padding: 12px 16px;
    text-align: left;
    vertical-align: middle;
}

/* Erste Spalte / Kategorien */
.itbl tbody td[rowspan] {
    font-weight: 700;
    color: #374151;
    background: #e8ebf5;
    border-right: 1px solid #d6dae6;
    min-width: 180px;
}

/* Normale Zeilen */
.itbl tbody td {
    border-bottom: 1px solid #d6dae6;
}

/* Letzte Zeile unten sauber */
.itbl tbody tr:last-child td {
    border-bottom: none;
}

/* Preis-Spalte hervorheben */
.itbl tbody td:last-child {
    font-weight: 700;
    color: #0293ce;
    white-space: nowrap;
}

/* Hover dezent statt schwarz */
.itbl tbody tr:hover td {
    background: #f4f6fb;
    color: #1f2937;
}

/* Saubere Rundungen */
.itbl thead tr:first-child th:first-child {
    border-top-left-radius: 14px;
}

.itbl thead tr:first-child th:last-child {
    border-top-right-radius: 14px;
}

/* Responsive */
@media (max-width: 768px) {
    .itbl thead tr:first-child h3 {
        font-size: 1.5rem;
    }

    .itbl th,
    .itbl td {
        padding: 10px 12px;
        font-size: 0.95rem;
    }

    .itbl tbody td[rowspan] {
        min-width: 130px;
    }
}

/* q and a */
li#tab-title-cr_qna {
    background: #31856c;
    padding-left: 20px;
    padding-right: 20px;
    color: #FFF;
    border-radius: 10px;
}


/* warenkorb */
dl.variation dd p {
    margin: 0px;
}

dl.variation dt {
    font-weight: 600;
}

dl.variation dt.variation-AnmerkungzudiesemProdukt {
    margin-top: 12px;
    width: 100%;
}

.wc-block-mini-cart__badge {
    color: #f4f4f4 !important;
    background: #565555 !important;
}

a:where(:not(.wp-element-button)) {
    color: #0293ce;
    text-decoration: none;
    font-weight: 600;
}

div.cart-collaterals div.cross-sells {
    display: none;
}

/* --------------------------------------------
downloadbereich in produkten
 -------------------------------------------- */

.downloadbox {
    --brand: #0d3b66;
    --brand-dark: #082945;
    --accent: #f2c94c;
    --text: #1f2937;
    --muted: #6b7280;
    --border: #d9e2ec;
    --bg-soft: #f8fafc;
    --white: #ffffff;
    --radius: 18px;
    --shadow: 0 10px 30px rgba(13, 59, 102, 0.08);

    padding: 32px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid var(--border);
    border-radius: 24px;
}

.downloadbox__header {
    margin-bottom: 24px;
}

.downloadbox__header h2 {
    margin: 0 0 6px;
    font-size: 32px;
    line-height: 1.15;
    font-weight: 700;
    color: var(--brand);
}

.downloadbox__header p {
    margin: 0;
    font-size: 15px;
    color: var(--muted);
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 320px));
    gap: 22px;
    justify-content: start;
}

.download-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    width: 100%;
    max-width: 320px;
}

.download-card:hover {
    transform: translateY(-4px);
    border-color: #bfd0e0;
    box-shadow: 0 16px 40px rgba(13, 59, 102, 0.12);
}

.download-card__image {
    position: relative;
    display: block;
    aspect-ratio: 4 / 5;
    background: #eef3f8;
    overflow: hidden;
}

.download-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.download-card:hover .download-card__image img {
    transform: scale(1.03);
}

.file-badge {
    position: absolute;
    left: 12px;
    bottom: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 54px;
    height: 30px;
    padding: 0 10px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #fff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.file-badge--pdf {
    background: var(--brand);
}

.file-badge--img {
    background: #374151;
}

.download-card__content {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 18px 18px 20px;
    flex: 1;
}

.download-card__content h3 {
    margin: 0;
    font-size: 20px;
    line-height: 1.25;
    font-weight: 700;
    color: var(--text);
}

.download-card__content p {
    margin: -6px 0 0;
    font-size: 15px;
    line-height: 1.45;
    color: var(--muted);
}

.download-card__actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
}

.btn {
    appearance: none;
    border: 0;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
    cursor: pointer;
}

.btn--primary {
    background: var(--brand);
    color: #fff;
}

.btn--primary:hover {
    background: var(--brand-dark);
}

.btn--ghost {
    background: #eef3f8;
    color: var(--brand);
}

.btn--ghost:hover {
    background: #e3ebf3;
}



@media (max-width: 767px) {
    .downloadbox {
        padding: 20px;
        border-radius: 18px;
    }

    .downloadbox__header h2 {
        font-size: 26px;
    }

    .download-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .download-card {
        max-width: none;
    }

    .download-card__content {
        padding: 14px;
    }

    .download-card__content h3 {
        font-size: 17px;
    }

    .download-card__actions {
        flex-direction: column;
    }
}

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

/* Varianten-Tabelle allgemein */
table.variations {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 0 0 20px;
}

table.variations tbody,
table.variations tr {
    display: block;
    width: 100%;
}

table.variations th.label,
table.variations td.value {
    display: block;
    width: 100%;
    padding: 0;
    text-align: left;
}

table.variations th.label {
    margin-bottom: 8px;
}

table.variations th.label label {
    display: inline-block;
    font-size: 14px;
    font-weight: 500;
    color: #1a1a1a;
    margin: 0;
}

/* Select-Feld */
table.variations td.value select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    width: 100%;
    min-height: 60px;
    padding: 0 52px 0 20px;

    border: 1px solid #d9d9d9;
    border-radius: 14px;
    background-color: #ffffff;
    color: #111111;
    font-size: 16px;
    font-weight: 500;
    line-height: 1;

    box-shadow: none;
    outline: none;
    cursor: pointer;

    /* eigener Pfeil */
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'><path d='M5 7.5l5 5 5-5' fill='none' stroke='%23666' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/></svg>");
    background-repeat: no-repeat;
    background-position: right 18px center;
    background-size: 18px;
}

table.variations td.value select:focus {
    border-color: #111111;
}

/* Reset-Link */
table.variations td.value .reset_variations {
    display: inline-block;
    margin-top: 10px;
    font-size: 13px;
    color: #666;
    text-decoration: none;
}

table.variations td.value .reset_variations:hover {
    color: #111;
    text-decoration: underline;
}

.single_variation_wrap,
.woocommerce-variation-add-to-cart {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

/* --------------------------------------------
Umfang und flaeche anzeige nov
 -------------------------------------------- */

[class*="calculation_perimeter_area"] {
    display: grid;
    grid-template-columns: 90px 55px 35px 90px 55px 25px;
    column-gap: 8px;
    align-items: baseline;
    margin-top: 18px;
    font-size: 16px;
    line-height: 1.6;
}

[class*="calculation_perimeter_area"] span {
    text-align: right;
}

/* ---------------------------------
links
--------------------------------- */

.link_orange a {
    color: #EA8A0F
}

.link_red a {
    color: #E31010;
}

input:checked+label .uni-cpo-option-label__image-wrap {
    border-color: #25d366 !important;
}

.woocommerce-shipping-totals.shipping {
    background: #0293ce;
    color: #FFF;
}

@media (max-width: 768px) {

    table.itbl,
    table.itbl>thead,
    table.itbl>tbody,
    table.itbl>thead>tr:first-child,
    table.itbl>thead>tr:first-child>th,
    table.itbl>tbody>tr,
    table.itbl>tbody>tr>td {
        display: block;
        box-sizing: border-box;
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }

    /* Spaltenüberschriften für Screenreader erhalten. */
    table.itbl>thead>tr:nth-child(2) {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip-path: inset(50%);
        white-space: nowrap;
    }

    table.itbl>thead>tr:first-child>th {
        padding: 16px;
    }

    table.itbl>thead>tr:first-child h3 {
        font-size: 1.35rem;
        line-height: 1.35;
        overflow-wrap: anywhere;
    }

    table.itbl>tbody>tr {
        border-bottom: 1px solid #d6dae6;
    }

    table.itbl>tbody>tr:last-child {
        border-bottom: 0;
    }

    table.itbl>tbody>tr>td {
        border: 0;
        padding: 12px 16px 4px;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    /* Kategorie steht einmal über ihren zugehörigen Leistungen. */
    table.itbl>tbody>tr>td[rowspan] {
        min-width: 0;
        padding: 12px 16px;
        background: #e4e7f2;
        border-top: 2px solid #0293ce;
        font-size: 1rem;
        font-weight: 700;
    }

    /* Preis direkt unter der jeweiligen Beschreibung. */
    table.itbl>tbody>tr>td:last-child {
        padding: 0 16px 12px;
        white-space: normal;
        color: #007aa9;
        font-weight: 700;
    }
}