/**
* Template :: ew_evelations
*
* Global stylesheet for adjustment of design
*
*/

/* Plotterprint: Hintergrund der beiden Seitenleisten-Ueberschriften. */
#box_xt_last_viewed_products > .panel-heading, #box-categories > .panel-heading { background: #5c1810 !important; border-color: #5c1810 !important; }

/* Aktive Kategorien: gleicher Gruenton wie Vertrag widerrufen. */
#main-navigation .navbar-nav > li.active > a,
#main-navigation .navbar-nav > li > a:focus,
#main-navigation .navbar-nav > li > a:active,
#box-categories li.active > a,
#box-categories a:focus,
#box-categories a:active,
#mobile-menu li.active > a,
#mobile-menu a:focus,
#mobile-menu a:active { background: #197c45 !important; border-color: #197c45 !important; color: #fff !important; }

/* Keine helle Klickwelle ueber den Kategoriefarben. */
#main-navigation .ink-ripple, #mobile-menu .ink-ripple, #box-categories .ink-ripple { display: none !important; animation: none !important; }

/* Geoeffnetes Desktop-Menue darf den gruenen Hintergrund nicht invertieren. */
#main-navigation .navbar-nav > li > a, #main-navigation .mega-visible, #mobile-menu a, #box-categories a { filter: none !important; }
#main-navigation .navbar-nav > li > a.mega-visible { background: #197c45 !important; color: #fff !important; }

/* Mengenrabatt als klar erkennbare Ueberschrift. */
.graduated-prices > h4 { background: #5c1810; color: #fff; padding: 12px 15px; display: block; width: 100%; box-sizing: border-box; }

/* Plotterprint: Neue Artikel wie die weiteren Seitenleisten-Bloecke. */
#box_xt_new_products > .panel-heading { background: #5c1810 !important; border-color: #5c1810 !important; }

/* Plotterprint: Preisbeträge auf Produktseiten, in Listen und Staffeltabellen. */
.product-price,
.product-price :is(.price, .price-new, .price-old),
.price-new,
.price-old,
#product-graduated-price-table tbody td:nth-child(2),
#product-graduated-price-table tbody td:nth-child(4) {
    font-weight: 700;
}

/* Angebote in der Seitenleiste */
#box_xt_special_products > .panel-heading {
    background: #5c1810 !important;
    border-color: #5c1810 !important;
    color: #fff;
}
#box_xt_special_products > .panel-heading .panel-title a {
    color: inherit;
}

/* Entfernen-Schaltflaeche im Warenkorb */
#cart-table label.btn-danger:has(> input[name="cart_delete[]"]) {
    background-color: #5c1810;
    border-color: #5c1810;
}

/* Kaufbox: lange Buttontexte bei wenig Platz in eine eigene Zeile setzen. */
#product-infos .add-to-cart .pp-product-actions {
    display: flex;
    flex-wrap: wrap;
}
#product-infos .pp-product-actions > .input-group {
    flex: 0 0 77px;
}
#product-infos .pp-product-actions > a.btn {
    flex: 0 0 38px;
}
#product-infos .pp-product-actions > button.submit {
    flex: 1 1 max-content;
    width: auto;
    max-width: 100%;
    height: auto;
    min-height: 38px;
    padding-inline: 10px;
    white-space: normal;
    overflow-wrap: anywhere;
}
