/*
Theme Name: Teppich Online
Theme URI: https://nach-druck.de
Template: Divi
Author: Marcel Grewe
Author URI: https://nach-druck.de
Description: Smart. Flexible. Beautiful. Divi is the most powerful theme in our collection.
Version: 4.27.3.1732300002
Updated: 2024-11-22 19:26:42

*/

/* Ermöglicht das Scrollen im mobilen Menü */
.et_mobile_menu {
    max-height: 80vh; /* Beschränkt die maximale Höhe des Menüs */
    overflow-y: auto; /* Aktiviert vertikales Scrollen */
    -webkit-overflow-scrolling: touch; /* Für sanftes Scrollen auf mobilen Geräten */
}

/* Optional: Verhindert Überlagerungen durch Menüelemente */
.et_mobile_menu li {
    word-wrap: break-word;
}

.et_pb_menu--with-logo .et_pb_menu__menu>nav>ul>li>a {
    padding:20px 0;
}

/* Rahmen und Abstand für Produkte */
.woocommerce ul.products li.product {
    border: 1px solid #ddd; /* Rahmenfarbe */
    border-radius: 8px; /* Abgerundete Ecken */
    padding: 15px; /* Innenabstand */
    margin: 15px; /* Außenabstand zwischen den Produkten */
    background-color: #fff; /* Hintergrundfarbe */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Leichter Schatten */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Animation */
}

/* Hover-Effekt für Produkte */
.woocommerce ul.products li.product:hover {
    transform: translateY(-5px); /* Produkt hebt sich leicht an */
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15); /* Stärkerer Schatten */
}

/* Titel-Hover-Effekt */
.woocommerce ul.products li.product h2.woocommerce-loop-product__title:hover {
    color: #0073aa; /* Farbe beim Hover */
}


/* Stil für den Warenkorb-Button */
.woocommerce ul.products li.product .button {
    display: block;
    background-color: #0073aa; /* Hintergrundfarbe */
    color: #fff; /* Textfarbe */
    text-align: center;
    padding: 10px 15px; /* Innenabstand */
    border-radius: 5px; /* Abgerundete Ecken */
    margin: 10px auto 0; /* Zentrierung und Abstand */
    transition: background-color 0.3s ease; /* Animation */
}

/* Hover-Effekt für den Button */
.woocommerce ul.products li.product .button:hover {
    background-color: #005a8c; /* Dunklere Farbe beim Hover */
}

/* Hover-Effekt für Produktbilder */
.woocommerce ul.products li.product img {
    transition: transform 0.3s ease; /* Animation */
}

.woocommerce ul.products li.product:hover img {
    transform: scale(1.05); /* Vergrößern */
}

.product p.wc-gzd-additional-info {
    clear: left;
    font-size: 10px;
    line-height: 12px;
    margin:0px !important;
}

.custom-teppich-fields {
    border-top:1px solid #ccc;
    border-bottom:1px solid #ccc;
    background:#fff;
    padding: 5px 10px;
    margin-bottom: 15px;
}

h4.konfigUeberschrift {
  color:#179746;
}

.custom-teppich-fields-inner {
    margin-bottom:10px;
}

.custom-teppich-fields-inner label {
    display:block;
}

.custom-teppich-fields-inner input {
    padding: 7px;
    border: 1px solid #ccc;
    width: 100%;
}

.custom-teppich-fields-minmax {
    font-size:10px;
}

/* Muster bestellen */

     /* Formular-Styling */
 .sample-order-section {
     margin: 0 auto;
     font-family: Arial, sans-serif;
 }

.sample-order-section h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #333;
    text-align: center;
}

.sample-order-section form {
    
}

.sample-order-section form div {
    margin-bottom: 15px;
}

.sample-order-section form label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    color: #555;
}

.sample-order-section form input[type="text"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.sample-order-section form button {
    width: 100%;
    padding: 10px 15px;
    font-size: 16px;
    color: #fff;
    background-color: #0073aa;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.sample-order-section form button:hover {
    background-color: #005580;
}

/* Fehlermeldungen */
#sample-order-error, #sample-order-success {
    font-size: 14px;
    text-align: center;
    margin-top: 15px;
    padding: 10px;
    border-radius: 4px;
}

#sample-order-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

#sample-order-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.z-index-io .et_pb_column:hover {
    position: relative;
    z-index:50;
}

.z-index-io .et_pb_column .et_pb_module:hover {
    position: relative;
    z-index:50;
}

.woocommerce div.product div.images .flex-control-thumbs li {
    width: 15% !important;
    margin-right: 2% !important;
    margin-bottom: 2% !important;
}

.woocommerce div.product .woocommerce-product-gallery--columns-4 .flex-control-thumbs li:nth-child(4n+1) {
    clear:none !important;
}

.woocommerce div.product div.images .flex-control-thumbs li:nth-of-type(6n) {
    margin-right:0px !important;
}

.woocommerce div.product .woocommerce-product-gallery--columns-4 .flex-control-thumbs li:nth-child(6n+1) {
    clear:left !important;
}

.musterbestellung {
    cursor: pointer;
}

    /*

individuellONLINE
Shop Zeile
Spalten 2
 */

.io-kat-zeile ul.columns-2 li.product {
    width:48% !important;
    margin-right:1% !important;
    margin-left:1% !important;
}

.io-kat-zeile ul.columns-2 .woocommerce-loop-product__title {
    height:50px !important;
}

.woocommerce a.button.alt, .woocommerce-page a.button.alt {
    border-color:#139944 !important;
}

/* Remove arrows from number inputs */
input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
}

.woocommerce a.button:hover, .woocommerce-page a.button:hover {
    color:#139944 !important;
}

@media (min-width: 981px) {
    .io-shop-zeilen ul.columns-2 li.product {
        width: 22% !important;
        margin-right: 1% !important;
    }
}

@media (min-width: 1042px) {
    .io-shop-zeilen ul.columns-2 li.product {
        margin-right: 1.2% !important;
    }
}

@media (min-width: 1250px) {
    .io-shop-zeilen ul.columns-2 li.product {
        width: 22% !important;
        margin-right: 1.4% !important;
    }
}

/*
individuellONLINE
Shop Zeile
Spalten 3
 */

.io-kat-zeile ul.columns-3 li.product {
    width:31% !important;
    margin-right:1.15% !important;
    margin-left:1.15% !important;
}

.io-kat-zeile ul.columns-3 .woocommerce-loop-product__title {
    height:50px !important;
}

@media (min-width: 981px) {
    .io-shop-zeilen ul.columns-3 li.product {
        width: 22% !important;
        margin-right: 1% !important;
    }
}

@media (min-width: 1042px) {
    .io-shop-zeilen ul.columns-3 li.product {
        margin-right: 1.2% !important;
    }
}

@media (min-width: 1250px) {
    .io-shop-zeilen ul.columns-3 li.product {
        width: 22% !important;
        margin-right: 1.4% !important;
    }
}

/*
individuellONLINE
Shop Zeile
Spalten 4
 */

.io-kat-zeile ul.columns-4 li.product {
    width:31% !important;
    margin-right:1.15% !important;
    margin-left:1.15% !important;
}

.io-kat-zeile ul.columns-4 .woocommerce-loop-product__title {
    height:50px !important;
}

@media (min-width: 981px) {
    .io-shop-zeilen ul.columns-4 li.product {
        width: 22% !important;
        margin-right: 1% !important;
    }
}

@media (min-width: 1042px) {
    .io-shop-zeilen ul.columns-4 li.product {
        margin-right: 1.2% !important;
    }
}

@media (min-width: 1250px) {
    .io-shop-zeilen ul.columns-4 li.product {
        width: 22% !important;
        margin-right: 1.4% !important;
    }
}
