@import url("/templates/NOVAChild/css/wtb-content.css");

/* ===================================== */
/* HEADER / NAVBAR */
/* ===================================== */

header.sticky-top,
#jtl-nav-wrapper.sticky-top {
    position: relative !important;
    top: auto !important;
}

header .menu-center-space-between,
header #mainNavigation,
header #mainNavigation .navbar-nav,
header #mainNavigation .nav-scrollbar-inner {
    background-color: #4B95CA !important;
}

/* Schrift im Top-Menü */
header #mainNavigation .nav-link {
    color: #ffffff !important;
}

/* Kein Hover-Farbwechsel im Top-Menü */
header #mainNavigation > .navbar-nav > .nav-item > .nav-link:hover {
    color: #ffffff !important;
}

/* ===================================== */
/* NAVIGATION */
/* ===================================== */

@media (min-width: 992px) {
    #mainNavigation .navbar-nav {
        display: flex;
        width: 100% !important;
        min-width: 750px;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: auto !important;
        flex-wrap: nowrap !important;
        overflow: hidden;
    }

    #mainNavigation .navbar-nav > .nav-item {
        flex: 1 1 0;
        min-width: 200px;
        text-align: center;
        white-space: nowrap;
    }

    #mainNavigation .navbar-nav > .nav-item > .nav-link {
        width: 100%;
        justify-content: center;
        padding: 1rem 0;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    #mainNavigation .navbar-nav > .nav-item:not(:last-child) {
        border-right: 1px solid rgba(255,255,255,0.25);
    }
}

#shop-nav .nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ===================================== */
/* MEGA MENU */
/* ===================================== */

@media (min-width: 992px) {
    header .menu-center-space-between {
        position: relative !important;
    }

    #mainNavigation {
        position: static !important;
        display: block !important;
        width: 100% !important;
    }

    #mainNavigation .dropdown-full {
        position: static !important;
    }

    #mainNavigation .dropdown-menu {
        position: absolute !important;
        left: 0 !important;
        right: 0 !important;
        top: 100% !important;
        width: 100% !important;
        max-width: none !important;
        background: #ffffff !important;
        overflow-x: hidden;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    	border-top: 1px solid rgba(0,0,0,0.05);
    }

    #mainNavigation .dropdown-body {
        background: #ffffff !important;
        width: 100% !important;
    }

    #mainNavigation .dropdown-menu .container,
    #mainNavigation .subcategory-wrapper {
    	width: 100% !important;
     	max-width: 1250px !important;
    	margin-left: auto !important;
    	margin-right: auto !important;
    	padding-left: 14px !important;
    	padding-right: 14px !important;
}
    #mainNavigation .subcategory-wrapper .row {
        margin-left: -8px !important;
        margin-right: -8px !important;
    }

    #mainNavigation .dropdown-menu .nav-item-lg-m {
        display: flex;
        box-sizing: border-box;
        padding-left: 8px !important;
        padding-right: 8px !important;
        margin-bottom: 24px;
    }
}

/* ===================================== */
/* KATEGORIE KARTEN */
/* ===================================== */

.wtb-mega-category-card {
    width: 100%;
    border: 1px solid #d7e6f2;
    background: #ffffff;
    padding: 10px;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    border-radius: 2px;
    overflow: hidden;
}

.wtb-mega-category-card:hover {
    border-color: #ffbf00;

    box-shadow:
        0 0 0 0px #ffbf00,                 /* dünner innerer Rand */
        0 0 0 6px rgba(255,191,0,0.18);   /* weicher äußerer Glow */

    background: #fffdf5;
}

/* Überschrift: blauer Balken, weiße Schrift, gelber Akzent */
.wtb-mega-category-title {
    display: block;
    background: #4B95CA !important;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 15px;
    line-height: 1.3;
    padding: 8px 10px;
    margin-bottom: 10px;
    text-align: left;
    text-decoration: none;
    border-left: 9px solid #ffbf00;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wtb-mega-category-title:hover,
.wtb-mega-category-card:hover .wtb-mega-category-title {
    background: #3f86b8 !important;
    color: #ffffff !important;
}

/* Bild */
.wtb-mega-category-image {
    display: block;
    margin-bottom: 8px;
}

.wtb-mega-category-image img {
    display: block;
    width: 100%;
    height: 180px;
    object-fit: contain;
    transition: transform 0.25s ease;
}

/* ===================================== */
/* UNTERKATEGORIEN */
/* ===================================== */

.wtb-mega-subcategories {
    list-style: none;
    padding: 0;
    margin: 0;
}

.wtb-mega-subcategories li {
    font-size: 14px;
    line-height: 1.35;
    margin: 4px 0;
    display: flex;
    align-items: center;
    min-width: 0;
}

.wtb-mega-subcategories li::before {
    content: "";
    flex: 0 0 auto;
    width: 6px;
    height: 6px;
    background: #ffbf00;
    margin-right: 10px;
    margin-top: 2px;
}

/* Links bleiben Blau */
.wtb-mega-subcategories a {
    color: #4B95CA !important;
    text-decoration: none;
    display: block;
    min-width: 0;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Hover Orange */
.wtb-mega-subcategories a:hover {
    color: #ffbf00 !important;
}

/* weitere */
.wtb-mega-more {
    margin-top: 6px !important;
    font-weight: 600;
}

/* ===================================== */
/* SUCHE – sauberer Fokus + Button Fix */
/* ===================================== */

/* Wrapper */
header .input-group {
    position: relative;
    border-radius: 2px;
    overflow: hidden; /* verhindert unsaubere Kanten */
}

/* Fokus auf gesamtes Feld */
header .input-group:focus-within {
    box-shadow:
        0 0 0 0px #ffbf00,
        0 0 0 5px rgba(255,191,0,0.15);
}

/* Input */
header .input-group input {
    border-right: none;
    border-radius: 2px 0 0 2px;
    box-shadow: none !important;
    outline: none !important;
}

/* Button (Lupe) */
header .input-group .btn {
    border-left: none;
    border-radius: 0 2px 2px 0;
    margin-left: -1px; /* entfernt doppelte Kante */
}

/* Button im Fokus einfärben */
header .input-group:focus-within .btn {
    background: #ffbf00;
    border-color: #ffbf00;
    color: #333;
}

header .input-group input:focus {
    outline: none !important;
    box-shadow: none !important;
}

/* ===================================== */
/* Dunkles Overlay beim Mega-Menü entfernen */
/* ===================================== */

@media (min-width: 992px) {
    .modal-backdrop,
    .modal-backdrop.show,
    .modal-backdrop.fade,
    .dropdown-backdrop,
    .nav-backdrop,
    .mega-menu-backdrop,
    .megamenu-backdrop {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
        background: transparent !important;
    }

    body.modal-open,
    body.nav-open,
    body.dropdown-open {
        overflow: auto !important;
        padding-right: 0 !important;
    }
}

/* Desktop: Home-Icon im Hauptmenü sicher ausblenden */
@media (min-width: 992px) {
    header #mainNavigation .navbar-nav > li.nav-home-button,
    header #mainNavigation .navbar-nav > .nav-home-button,
    header #mainNavigation .nav-home-button {
        display: none !important;
        width: 0 !important;
        min-width: 0 !important;
        max-width: 0 !important;
        flex: 0 0 0 !important;
        overflow: hidden !important;
    }
}
/* Kategorieansicht auf gleiche Breite wie Contentseiten begrenzen */
body[data-page="2"] #content-wrapper.is-item-list.container-fluid-xl {
    max-width: 1250px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Sidebar-Layout-Rest entfernen */
body[data-page="2"] #content-wrapper.has-left-sidebar {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
}

/* Breadcrumb in Kategorieansicht wie Contentseiten */
body[data-page="2"] #content-wrapper .breadcrumb-container {
    max-width: 1250px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Kategorieübersicht im Stil des Mega-Menüs, aber mit Beschreibung */
.wtb-category-overview {
    margin-top: 2rem;
}

.wtb-list-category-card {
    display: block;
    height: 100%;
    border: 1px solid #d7e6f2;
    background: #ffffff;
    padding: 10px;
    box-sizing: border-box;
    text-decoration: none !important;
    color: #525252;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    border-radius: 2px; /* oder 6px wenn du es etwas weicher willst */
    overflow: hidden;   /* wichtig für saubere Kanten */
}

.wtb-list-category-card:hover {
    border-color: #ffbf00;
    box-shadow: 0 0 0 6px rgba(255,191,0,0.18);
    background: #fffdf5;
}

.wtb-list-category-title {
    display: block;
    background: #4B95CA;
    color: #ffffff;
    font-weight: 700;
    font-size: 15px;
    line-height: 1.3;
    padding: 8px 10px;
    margin-bottom: 10px;
    text-align: left;
    border-left: 9px solid #ffbf00;
}

.wtb-list-category-image {
    margin-bottom: 12px;
    text-align: center;
}

.wtb-list-category-image img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    display: block;
}

.wtb-list-category-desc {
    font-size: 14px;
    line-height: 1.45;
    color: #525252;
    text-align: justify;

    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Hover auf komplette Karte wirkt auch auf Titel */
.wtb-list-category-card:hover .wtb-list-category-title {
    background: #3f86b8 !important; /* etwas dunkleres Blau */
    color: #ffffff !important;
}

/* Direktes Hover auf den Titel (falls man genau drauf geht) */
.wtb-list-category-title:hover {
    background: #3f86b8 !important;
    color: #ffffff !important;
}

/* ===================================== */
/* KATEGORIEKOPF / KONTAKTFELD */
/* ===================================== */

/* NOVA-Container innerhalb des Rahmens dürfen die Maximalbreite nutzen */
#content-wrapper .container,
#content-wrapper .container-fluid,
#content-wrapper .container-xl,
#content-wrapper .container-lg {
    max-width: 100% !important;
}

.wtb-category-top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 30px;
    align-items: start;
}

.wtb-category-heading {
    min-width: 0;
}

.wtb-category-heading h1 {
    margin-bottom: 10px;
    text-align: justify;
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
}

.wtb-contact-box {
    width: 100%;
    max-width: 320px;
    justify-self: end;
    margin: 0;
    transform: none;

    background: #fafafa;
    border: 1px solid #ccc;
    border-radius: 0 0 2px 2px;
    overflow: hidden;
}

.wtb-contact-header {
    background: #ccc;
    color: #333;
    font-weight: 700;
    font-size: 15px;
    padding: 8px 10px;
}

.wtb-contact-body {
    padding: 14px;
}

.wtb-contact-person {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.wtb-contact-person img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 50%;
    border: 1px solid #e3eef7;
}

.wtb-contact-name {
    font-weight: 700;
    font-size: 14px;
    color: #333;
}

.wtb-contact-role {
    font-size: 12px;
    color: #777;
}

.wtb-contact-data {
    font-size: 13px;
    line-height: 1.5;
}

.wtb-contact-data a {
    color: #4B95CA;
    text-decoration: none;
}

.wtb-contact-data a:hover {
    color: #ffbf00;
}

.wtb-contact-box:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

@media (max-width: 991.98px) {
    .wtb-category-top {
        display: block;
    }

    .wtb-category-contact {
        margin-top: 20px;
    }

    .wtb-contact-box {
        max-width: none;
        width: 100%;
        margin-top: 20px;
    }
}

/* Abstand zwischen Menü und Inhalt feinjustieren */
@media (min-width: 992px) {
    body #main-wrapper #content-wrapper:not(.has-fluid) {
        padding-top: 20px !important;
        padding-bottom: 20px !important;
    }
}

/* Text "Startseite" ausblenden */
.breadcrumb-item.first span {
    display: none;
}

/* Haus-Icon anzeigen */
.breadcrumb-item.first .breadcrumb-link::before {
    content: "\f015";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 13px;
    color: #666;
}

/* Hover */
.breadcrumb-item.first .breadcrumb-link:hover::before {
    color: #4B95CA;
}

/* ===================================== */
/* Artikeltabelle */
/* ===================================== */

table.artikelliste {
    width: 100%;
    border-collapse: separate;
    table-layout: fixed;
    border-spacing: 0;
    font-size: 0.85em;
    margin-top:20px	
}

table.artikelliste thead {
    position: static;
    border: 1px solid #fff;
}

table.artikelliste th {
    background-color: #4B95CA;
    padding: 5px 0;
    line-height: 14px;
    border: 0;
    border-left: 1px solid #fff;
    border-bottom: 1px solid #fff;
    color: #fff;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 999;
    height: 38px;
}

table.artikelliste td {
    position: relative;
    min-height: 32px;

    border: 0;
    border-left: 1px solid #ccc;
    border-bottom: 1px solid #ccc;

    padding: 6px 0 !important;
    text-align: center;
}

table.artikelliste td:last-child {
    border-right: 1px solid #ccc;
}

@media only screen and (max-width: 600px) {
    table.artikelliste td {
        padding: 0 !important;
    }
}

/* ===================================== */
/* Werkstoffe */
/* ===================================== */

td.stahl {
    background-color: #f5f7fa;
}

table.artikelliste td.stahl:hover {
    background-color: #b3b0b0;
}

table.artikelliste td.werkstoff-messing {
    background-color: #fff7e1;
}

table.artikelliste td.werkstoff-messing:hover {
    background-color: #ffde46;
}

table.artikelliste td.werkstoff-edelstahl-v2a {
    background-color: #edf6e5;
}

table.artikelliste td.werkstoff-edelstahl-v2a:hover {
    background-color: #689a40;
}

table.artikelliste td.werkstoff-edelstahl-v4a {
    background-color: #ffdede;
}

table.artikelliste td.werkstoff-edelstahl-v4a:hover {
    background-color: #ff3030;
}

table.artikelliste td.werkstoff-messing-vernickelt {
    background-color: #fff7e1;
}

table.artikelliste td.werkstoff-messing-vernickelt:hover {
    background-color: #ffde46;
}

/* ===================================== */
/* Spaltenformatierungen */
/* ===================================== */

@media only screen and (min-width: 992px) {

    table.artikelliste td.gewinde,
    table.artikelliste td.aussengewinde-zapfendurchmesser {
        white-space: nowrap;
        text-align: left;
    }

    table.artikelliste td.schluesselweite {
        white-space: nowrap;
        text-align: left;
        padding-left: 40px;
    }
}

table.artikelliste td.schluesselweite span.vierkant {
    font-size: 1.6rem;
    color: #f39932;
}

table.artikelliste td.schluesselweite span.sechskant {
    font-size: 1.3rem;
    color: #f39932;
}

table.artikelliste td.inhalt {
    text-align: left;
}

table.artikelliste td.kategorietext {
    text-align: left;
    font-weight: bold;
    border-left: none;
}
table.artikelliste th:first-child {
    border-left: 1px solid #ccc !important;
}

table.artikelliste th:last-child {
    border-right: 1px solid #ccc !important;
}

/* ===================================== */
/* Tabellen-Zwischenüberschrift */
/* ===================================== */

table.artikelliste td.table-headline {
    border-left: 0;
    border-right: 0;
    padding-top: 4em;
    text-align: left;
}

table.artikelliste td.table-headline h2 {
    font-size: 12px;
    height: 15px;
    background-image: url(table_h2.gif);
    background-repeat: no-repeat;
    background-size: 10px 15px;
    margin: 0 0 0 10px;
    padding: 2px 0 0 15px;
}


/* ===================================== */
/* Hinweisbox Artikeltabelle */
/* ===================================== */

.artikelliste-info {
    display: flex;
    align-items: center;
    gap: 22px;
background: #fff8e8;
border: 1px solid #f4c66a;
    border-radius: 2px;
    padding: 18px 22px;
    margin: 20px 0 24px 0;
}

.artikelliste-info-icon {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #f0ad2c;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    line-height: 1;
}

.artikelliste-info-icon i {
    line-height: 1;
}

.artikelliste-info-image {
    flex: 0 0 220px;
}

.artikelliste-info-image img {
    max-width: 220px;
    height: auto;
    display: block;
}

.artikelliste-info-text strong {
    display: block;
color: #c68400;
    font-size: 1.2rem;
    margin-bottom: 6px;
}

.artikelliste-info-text p {
    margin: 0;
    line-height: 1.5;
}

@media only screen and (max-width: 768px) {
    .artikelliste-info {
        flex-direction: column;
        align-items: flex-start;
    }

    .artikelliste-info-image {
        flex: none;
        width: 100%;
    }

    .artikelliste-info-image img {
        max-width: 100%;
    }
}

/* Ganze Tabellenzelle klickbar */

/* Vollflächiger Link */

table.artikelliste td a.table-dot-link {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    z-index: 2;
}

/* Punkt */

table.artikelliste td a.table-dot-link .table-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #444;
    transition: all 0.15s ease;
}

/* Hover */

table.artikelliste td:hover a.table-dot-link {
    background: rgba(75, 149, 202, 0.08);
}

table.artikelliste td:hover a.table-dot-link .table-dot {
    background: #000;
}

/* Artikelansicht */

div.product-right {
    background-color:#ebebeb;
    padding:20px;
}

div.slick-active {
    border-color:#9b9b9b !important;
}

.artikelliste_header img {
    float:left;
    width:35%;
}

.artikelliste_header p {
    margin-top:30px;
}

@media only screen and (max-width: 768px) {
    h1.artikelansicht {
        margin-top:30px;
    }
}

ul.info-essential {
    background-color:#f5f7fa !important;
    padding:20px;
}

li.product-manufacturer strong {
    display:none;
}

ul.info-essential li {
    clear:left;
    float:left;
}

ul.info-essential li.product-manufacturer {
    float:right;
}

ul.info-essential li.info-essential-end {
    clear:both;
    float:none;
    height:1px !important;
}

.bulk-prices table thead {
    background-color:#f5f7fa;
}

.bulk-prices table td {
    width:50%;
}

div.price.h1 {
    text-align:right;
    margin-bottom:0px;
    color:#2e6e9c;
    font-weight:800;
}

div.price-note span.vat_info {
    clear:right;
    float:right;
    margin-bottom:15px;
}

#tab-description .row {
    margin-right:0;
    margin-left:0;
}

.productdetails-tab-right h3 {
    color:#2e6e9c;
}

.productdetails-tab-right table td {
    line-height:1.2;
    padding-left:0;
}

.productdetails-tab-right table tr {
    border-color:#f5f7fa !important;
}

.productdetails-tab-left {
    margin-top:20px;
    padding-left:0;
}

.productdetails-tab-left table td {
    border-color:#b4b4b4;
    padding:5px;
}

.productdetails-tab-left table {
    border-color:#b4b4b4;
    padding:5px;
}

.productdetails-tab-left table th {
    background-color:#f5f7fa;
    border-color:#b4b4b4;
    padding:5px;
}

#tab-description .mediafiles {
    columns:1;
}

#tab-description .media {
    display:inline;
}

#tab-description .media a {
    display:block;
    margin-bottom:5px;
}

/* Artikelansicht Crossselling */

#slider-xsell-group-1 {
    display:none;
}

#tab-description #slider-xsell-group-1 {
    display:inline;
}

#tab-description .hr-sect::before {
    display:none;
}

#tab-description .hr-sect::after {
    display:none;
}

#tab-description .hr-sect {
    justify-content:left;
    margin-bottom: 0.4rem;
    font-size: 1rem;
    font-family: Montserrat, sans-serif;
    font-weight: 400;
    line-height: 1.2;
}

#tab-description .slick-track {
    margin-left:20px;
    margin-right:10px;
    width:100% !important;
}

#tab-description .slick-track .product-wrapper {
    width:33% !important;
    background-color:#f5f7fa;
    margin-right:10px;
    padding:3%;
    text-align:left;
}

#tab-description .slick-track .product-wrapper:hover {
    background-color:#cce3f3 !important;
}

#tab-description .slick-track .product-wrapper img {
    width:100%;
}

#tab-description #slider-xsell-group-1 .row {
    margin:0;
}

#tab-description #slider-xsell-group-1 .item-slider-price {
    display:none;
}

/* Pfeile rechts ausblenden */
.product-navigation,
.product-prev,
.product-next,
.article-navigation {
    display: none !important;
}

/* "Zurück zur Liste" */
.breadcrumb-backtolist .breadcrumb-link {
    color: #4B95CA !important;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

/* Icon/Pfeil davor */
.breadcrumb-backtolist::before {
    color: #4B95CA !important;
    transition: color 0.2s ease;
}

/* Hover im gewohnten Orangeton */
.breadcrumb-backtolist:hover .breadcrumb-link,
.breadcrumb-backtolist .breadcrumb-link:hover {
    color: #f0ad00 !important;
    text-decoration: underline;
}

.breadcrumb-backtolist:hover::before {
    color: #f0ad00 !important;
}

/* Nur den blauen Artikelpreis nach rechts setzen */
.product-offer .price_wrapper {
    width: 100%;
    display: block;
    text-align: right !important;
}

/* Preis selbst */
.product-offer .price_wrapper .price {
    display: block;
    width: 100%;
}

/* Artikelinfo Box */
.info-essential,
.product-info .info-essential {
    background: #fafafa;
    border: 1px solid #ccc;
    border-radius: 2px;
    overflow: hidden;

    padding: 0.6rem 1rem !important;
    margin: 0 0 20px 0 !important;
    line-height: 1.5;
}

.info-essential a {
    color: #4B95CA !important;
    text-decoration: none;
}

.info-essential a:hover {
    color: #f0ad00 !important;
    text-decoration: underline;
}

.info-essential ul,
.product-info .info-essential ul {
    padding-left: 1rem !important;
    margin-left: 0 !important;
}

.info-essential li,
.product-info .info-essential li {
    padding-left: 0.2rem;
}

/* Staffelpreise dezenter grau */
.product-offer .table,
.product-offer table {
    background: #fafafa;
}

/* Tabellenkopf */
.product-offer .table thead th,
.product-offer table thead th {
    background: #f1f3f5;
    color: #444;
    border-bottom: 1px solid #ccc;
    border-top: 1px solid #ccc;
}

/* Tabellenzeilen */
.product-offer .table td,
.product-offer table td {
    background: #fafafa;
    border-color: #ccc;
}

/* Hover leicht */
.product-offer .table tbody tr:hover,
.product-offer table tbody tr:hover {
    background: #f5f5f5;
}

/* Versandlink blau */
.price-note a,
.tax-shipping-info a {
    color: #4B95CA !important;
    text-decoration: none;
}

/* Hover orange */
.price-note a:hover,
.tax-shipping-info a:hover {
    color: #f0ad00 !important;
    text-decoration: underline;
}


/* Lieferzeit */
.delivery-status .delivery-time {
    color: #4b4b4b;
    margin-top: 0.2rem;
}

/* Links */
.delivery-status a {
    color: #4B95CA;
}

.delivery-status a:hover {
    color: #f0ad00;
}

/* LKW Icon entfernen */
.stock-information .fa-truck,
.stock-information .icon-truck,
.stock-information [class*="truck"]::before {
    display: none !important;
}

/* Lieferzeit Links */
.stock-information a {
    color: #4B95CA !important;
    text-decoration: none !important;
}

/* Hover */
.stock-information a:hover {
    color: #f0ad00 !important;
    text-decoration: underline !important;
}

/* Linien beim Lieferstatus entfernen */
#product-offer .product-info .stock-information {
    border-top: none !important;
    border-bottom: none !important;
}

/* Lieferstatus kompakter */
#product-offer .product-info .stock-information.stock-information-p {
    padding-top: 0.10rem !important;
    padding-bottom: 0.10rem !important;
    margin-top: 0rem !important;
    margin-bottom: 0rem !important;
}

.price_wrapper .bulk-prices {
  margin-top: 0.15rem;
}

/* ===================================== */
/* Mengeneingabe – Fokus wie Suchfeld */
/* ===================================== */

#quantity-grp {
    position: relative;
    border-radius: 2px;
    overflow: hidden;
}

/* Gelber Fokusrahmen wie beim Suchfeld */
#quantity-grp:focus-within {
    box-shadow:
        0 0 0 0px #ffbf00,
        0 0 0 5px rgba(255,191,0,0.15);
}

/* Eingabefeld */
#quantity-grp .quantity,
#quantity-grp input {
    box-shadow: none !important;
    outline: none !important;
}

/* Minus und Plus Button im Fokus gelb */
#quantity-grp:focus-within .btn {
    background: #ffbf00;
    border-color: #ffbf00;
    color: #333;
}

/* Keine doppelten Kanten */
#quantity-grp .input-group-prepend .btn {
    border-radius: 2px 0 0 2px;
}

#quantity-grp .input-group-append .btn {
    border-radius: 0 2px 2px 0;
}

/* Mengeneingabe: innerer Rahmen beim Fokus orange */
#quantity-grp:focus-within,
#quantity-grp:focus-within .form-control,
#quantity-grp:focus-within .btn {
    border-color: #ffbf00 !important;
}

/* Schwarze Standardkante entfernen */
#quantity-grp .form-control:focus {
    border-color: #ffbf00 !important;
    box-shadow: none !important;
    outline: none !important;
}

/* Info-Box Einträge wieder zeilenweise */
.info-essential li {
    clear: left !important;
    float: left !important;
}

/* Frage zum Artikel als eigene Zeile */
.info-essential li.product-question-link {
    clear: left !important;
    float: left !important;
    width: 100% !important;
    margin-top: 0.15rem !important;
    margin-bottom: 0 !important;
    padding-left: 0.2rem !important;
}

/* Button wie normaler Link */
.info-essential li.product-question-link .btn-link {
    padding: 0 !important;
    margin: 0 !important;
    line-height: 1.5 !important;
    vertical-align: baseline !important;
}

/* Einzelne Zeilen enger */
.info-essential li {
    margin-bottom: 0.25rem !important;
    line-height: 1.3 !important;
}

/* Frage-Link noch etwas näher */
.info-essential li.product-question-link {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Frage zum Artikel als normaler Link */
.product-question-link .btn-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;

    padding: 0 !important;
    margin-top: 2px !important;

    color: #4B95CA !important;
    font-size: 0.92rem;
    font-weight: 500;
    text-decoration: none !important;

    box-shadow: none !important;
    transition: color 0.18s ease;
}

.product-question-link .btn-link::before {
    content: "\f0e0";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 3px;
    color: #4B95CA !important;
}

.product-question-link .btn-link:hover {
    color: #f0ad00 !important;
    text-decoration: none !important;

    background-image: linear-gradient(currentColor, currentColor);
    background-repeat: no-repeat;
    background-size: calc(100% - 24px) 1px;
    background-position: 24px 100%;
}

/* Kategorie-Link schwarz */
.info-essential .product-category a {
    color: #525252 !important;
}

/* Hover weiterhin orange */
.info-essential .product-category a:hover {
    color: #f0ad00 !important;
}

.product-info .info-essential {
    position: relative;
    padding-right: 140px;
}

.product-manufacturer-logo-right {
    position: absolute;
    right: 32px;
    top: 22px;
    list-style: none;
}

.product-manufacturer-logo-right img {
    display: block;
    max-width: 120px;
    max-height: 55px;
    width: auto;
    height: auto;
    margin-top: -5px;
}

/* Lieferstatus Box */
.delivery-status {
    padding: 0.6rem 1rem !important;
    margin: 0 !important;

    border-radius: 6px;
    border: 1px solid #d6e9c6;
    background: #f4fbf0;
}

/* Grün */
.delivery-status:has(.status-2) {
    background: #f4fbf0 !important;
    border-color: #d6e9c6 !important;
}

/* Orange */
.delivery-status:has(.status-1) {
    background: #fff8e8 !important;
    border-color: #f0cf7a !important;
}

/* Rot */
.delivery-status:has(.status-0) {
    background: #fff1f1 !important;
    border-color: #e3b1b1 !important;
}

/* Textfarben */
.delivery-status .status-2,
.delivery-status .a2 {
    color: #2e7d32 !important;
    font-weight: 600;
}

.delivery-status .status-1,
.delivery-status .a1 {
    color: #c27a00 !important;
    font-weight: 600;
}

.delivery-status .status-0,
.delivery-status .a0 {
    color: #b42323 !important;
    font-weight: 600;
}

/* Lieferzeit wie Standard NOVA */
.delivery-status .a2,
.delivery-status .a1,
.delivery-status .a0 {
    font-size: 0.75rem !important;
    font-weight: 400 !important;
    color: #707070 !important;
    line-height: 1.5 !important;
}
/* Technische Daten Box wie Lieferstatus */
.productdetails-tab-right {
    padding: 20px;
    background: #fafafa;
    border: 1px solid #ccc;
    border-radius: 2px;
}

/* Innere Box neutral machen */
.productdetails-tab-right .product-attributes {
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    background: transparent !important;
}

/* Tabelle neutral */
.productdetails-tab-right .product-attributes table,
.productdetails-tab-right .product-attributes tbody,
.productdetails-tab-right .product-attributes tr,
.productdetails-tab-right .product-attributes td,
.productdetails-tab-right .product-attributes th {
    background: transparent !important;
    border: none !important;
}

/* Überschrift */
.productdetails-tab-right .product-attributes caption,
.productdetails-tab-right .product-attributes h3 {
    color: #525252 !important;
    font-weight: 700;
    text-align: left;
    caption-side: top;
    padding-bottom: 0.2rem;
}

/* Tabellenabstände */
.productdetails-tab-right .product-attributes th,
.productdetails-tab-right .product-attributes td {
    padding: 0.35rem 0 !important;
}

/* Linke Spalte */
.productdetails-tab-right .product-attributes th,
.productdetails-tab-right .product-attributes td:first-child {
    font-weight: 600;
    width: 48%;
}

/* Rechte Spalte */
.productdetails-tab-right .product-attributes td:last-child {
    color: #525252;
}

/* Überschrift Technische Daten */
.productdetails-tab-right .product-attributes-heading {
    font-weight: 700;
    text-align: left;
    padding-bottom: 0.9rem;
    margin-bottom: 0.7rem;
    font-size: 1.05rem;
}

/* Icon vor Technische Daten */
.productdetails-tab-right .product-attributes-heading::before {
    content: "\f085";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 0.5rem;
    color: #4B95CA;
}

/* ===================================== */
/* STARTSEITE SLIDER */
/* ===================================== */

body[data-page="18"] .slider-wrapper {
    margin-top: 18px;
    margin-bottom: 35px;
}

body[data-page="18"] .nivoSlider {
    position: relative;
    box-shadow: none !important;
    border: 1px solid #d7dce2;
    background: #ffffff;
}

body[data-page="18"] .nivoSlider img,
body[data-page="18"] .nivo-main-image {
    box-shadow: none !important;
}

body[data-page="18"] .slider-pause-controls {
    display: none !important;
}

/* ===================================== */
/* FINALE KORREKTUR: EINHEITLICHE SEITENBREITE */
/* ===================================== */

/*
   Ziel:
   Startseite, Kategorieansicht und Artikelseite nutzen denselben äußeren Rahmen
   und denselben Innenabstand. Dadurch sitzt der Inhalt überall gleich.
*/

body #main-wrapper #content-wrapper {
    width: 100% !important;
    max-width: 1250px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    background: #ffffff !important;
    border-left: 1px solid #d7e6f2 !important;
    border-right: 1px solid #d7e6f2 !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04) !important;
    box-sizing: border-box !important;
}

/* Der eigentliche Innenabstand kommt ausschließlich vom content-wrapper */
@media (min-width: 992px) {
    body #main-wrapper #content-wrapper {
        padding-left: 20px !important;
        padding-right: 20px !important;
        padding-top: 20px !important;
        padding-bottom: 20px !important;
    }
}

/* Mobile etwas schmaler halten */
@media (max-width: 991.98px) {
    body #main-wrapper #content-wrapper {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}

/* JTL/NOVA Container innerhalb des Rahmens dürfen keinen zusätzlichen Seitenabstand erzeugen */
body #main-wrapper #content-wrapper > .container,
body #main-wrapper #content-wrapper #content > .container,
body #main-wrapper #content-wrapper #content > .container-fluid,
body #main-wrapper #content-wrapper .breadcrumb-container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
}

/* Kategorieansicht: JTL setzt hier eigene Klassen, diese werden neutralisiert */
body[data-page="2"] #content-wrapper,
body[data-page="2"] #content-wrapper.is-item-list,
body[data-page="2"] #content-wrapper.has-left-sidebar,
body[data-page="2"] #content-wrapper.is-item-list.container-fluid-xl {
    max-width: 1250px !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Kategorieansicht: keine zweite Einrückung im Content */
body[data-page="2"] #content,
body[data-page="2"] #result-wrapper,
body[data-page="2"] .wtb-category-top,
body[data-page="2"] .wtb-category-overview {
    width: 100% !important;
    max-width: 100% !important;
}

/* Startseite und Artikelseite: gleiche Logik wie Kategorie */
body[data-page="1"] #content-wrapper,
body[data-page="18"] #content-wrapper {
    max-width: 1250px !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Navigation oben bleibt auf derselben Breite wie der Seitenrahmen */
header .menu-center-space-between,
header .hide-navbar.container,
header > .container {
    max-width: 1250px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
}

/* Blaue Hauptnavigation füllt die komplette Rahmenbreite */
header .menu-center-space-between {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Verhindert horizontales Überlaufen durch Bootstrap-Reihen */
body #main-wrapper #content-wrapper .row {
    box-sizing: border-box;
}

/* ===================================== */
/* ARTIKELSEITE: Innenabstand wie Kategorien */
/* ===================================== */

body[data-page="1"] #content-wrapper > .container,
body[data-page="1"] #content > .container,
body[data-page="1"] #result-wrapper > .container {
    padding-left: 0rem !important;
    padding-right: 0rem !important;
}

/* Mobile wieder normaler Abstand */
@media (max-width: 767.98px) {
    body[data-page="1"] #content-wrapper > .container,
    body[data-page="1"] #content > .container,
    body[data-page="1"] #result-wrapper > .container {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
}
/* Slider Textfeld komplett ausblenden */

.nivo-caption,
.nivo-caption-wrap,
.theme-default .nivo-caption,
.slider-wrapper .nivo-caption {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}
.slider-wrapper.ken-burns-active {
    animation: none !important;
}

.slider-wrapper.ken-burns-active * {
    animation-name: none !important;
}
