/* I do not know what this file does, but if it is deleted, the shop crashes. SO DON'T TOUCH THIS */

/* region Tarox Fonts (temporär) */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700;900&family=Montserrat:wght@400;600;700;800;900&display=swap');
body {
    font-family: 'Lato', sans-serif;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6,
.d1, .d2, .d3, .d4, .d5, .d6 {
    text-transform: uppercase !important;
}

/* endregion */


/* region Bootstrap Extension */
.z-1 {z-index: 1 !important;}
.z-2 {z-index: 2 !important;}
.z-3 {z-index: 3 !important;}
.z-4 {z-index: 4 !important;}
.z-5 {z-index: 5 !important;}

.w-xl-25 { @media screen and (min-width:991px){max-width:25%;}}
.w-xl-50 { @media screen and (min-width:991px){max-width:50%;}}
.w-xl-75 { @media screen and (min-width:991px){max-width:75%;}}
.w-lg-25 { @media screen and (min-width:991px){max-width:25%;}}
.w-lg-50 { @media screen and (min-width:991px){max-width:50%;}}
.w-lg-75 { @media screen and (min-width:991px){max-width:75%;}}




/* endregion */

/* region resets */

.container {
    max-width: 1450px;
}

.dzm-hl-wrapper hr {
    display: none;
}

button[data-niu-sidebar-trigger-content="accessibility"] {
    z-index: 9001 !important;
}

.fa-sup {
    background-color: var(--secondary);
}

/* endregion */

/* region Tarox Header: Single Row (Logo | Categories | Icons) */

.niu-nav-main-wrapper-type-1 {
    grid-template-columns: auto;
}

header {

    border-bottom: none;

    .tarox-header-row {
        gap: 1.5rem;
    }

    .tarox-header-categories {
        min-width: 0;
    }

    .tarox-header-categories .navbar {
        padding: 0;
    }

    .tarox-header-categories #mainNavigation {
        display: flex !important;
    }

    .tarox-header-categories .nav-mobile-header {
        display: none !important;
    }

    .tarox-header-categories .nav-scrollbar-inner {
        flex-wrap: nowrap;
        gap: 0;
        justify-content: center;
    }

    .niu-categories-color-wrap {
        display: none;
    }

    .tarox-header-icons button[data-niu-sidebar-trigger-content="search"] span {
        display: none !important;
    }

    .nav-item.active {

        span.nav-mobile-heading:after {
            content: '';
            display: inline-flex;
            height: 5px;
            width: 5px;
            background: red;
            position: absolute;
            border-radius: 51%;
            }
    }

}

.tx-sale-icon {
    display: none;
}

.niu-header-nav .tx-sale-icon {
    display: inline-block;
}


/* endregion */


/* region OPC / Portlet Styles */

.tx-hero-bg {

    position: relative;

    @media screen and (min-width:991px) {
        &:after {
            content: '';
            height: 100%;
            width: 100%;
            position: absolute;
            top: 0;
            left: 0;
            background-image: url(https://niuplus-claude.dev/media/image/opc/xl/tarox/tarox-hero-01.webp);
            background-size: cover;
            background-position: bottom center;
            background-repeat: no-repeat;
            pointer-events: none;
        }

        .tx-hero-sticky {
            position: absolute;
            top:24vh;
        }

    }


}



.tx-category-grid {
    .dzm-css-grid {
        gap:1rem;
    }
}

.tx-category-banner .dzm-itb-bgi-content-container::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
    pointer-events: none;
    z-index: 0;
}

.tx-category-banner .dzm-itb-bgi-content-container > * {
    position: relative;
    z-index: 1;
}

@media (min-width: 992px) {
    .tx-category-banner .dzm-itb-bgi-content {
        opacity: 0;
        transform: translateY(100%);
        transition: opacity 0.35s ease, transform 0.35s ease;
    }

    .tx-category-banner .dzm-itb-content-btn {
        opacity: 0;
        transform: translateY(100%);
        transition: opacity 0.35s ease 0.05s, transform 0.35s ease 0.05s;
    }

    .tx-category-banner .dzm-itb-bgi-headline {
        transform: translateY(5rem);
        transition: transform 0.35s ease;
    }

    .tx-category-banner:hover .dzm-itb-bgi-content {
        opacity: 1;
        transform: translateY(0);
    }

    .tx-category-banner:hover .dzm-itb-content-btn {
        opacity: 1;
        transform: translateY(0);
    }

    .tx-category-banner:hover .dzm-itb-bgi-headline {
        transform: translateY(0);
    }
}

@media (min-width: 992px) {
    .tx-story-content {
        padding: 3rem;
    }
}

.tx-italy {
    display: inline;
    background-image: linear-gradient(to right, #009246 33.3%, #f1f1f1 33.3%, #f1f1f1 66.6%, #ce2b37 66.6%);
    background-size: 100% 2px;
    background-position: bottom;
    background-repeat: no-repeat;
    padding-bottom: 0.35rem;
}

.tx-video-banner {
    background:url()
}

/* region tx-stagger scroll animation */
.tx-stagger-ready .tx-stagger-item {
    opacity: 0;
    transform: translateY(2rem);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.tx-stagger-ready .tx-stagger-visible {
    opacity: 1;
    transform: translateY(0);
}
/* endregion */

/* endregion */

/* region footer */

footer {
    .productlist-filter-headline {
        font-family: 'Montserrat', sans-serif !important;
        font-weight:800;
        text-transform: uppercase;
    }

    #copyright {
        color:#3d3d37;
    }


}

/* endregion */


/* region Fahrzeugsuche */

.col-4:has(#s360-vehicle-search-filter-box-category-switch) {
    display: none;
}

.tx-autosuche-horizontal {

    strong {
        display: none;
    }

    .form-control {
        background: rgba(0, 0, 0, 0.85);
        color:#9f9f9f;
    }

    .s360-vehicle-search-select-wrapper::after {
        color:#9f9f9f;
    }

    #s360-vehicle-search-filter .col-xl-2,
    #s360-vehicle-search-filter .col-xl-1 {

        @media screen and (min-width: 991px) {
            flex:1%
        }

    }
}

#tx-autosuche-horizontal #s360-vehicle-search-filter-box {
    z-index: 1;
    position: relative;
    margin: 0 2rem;
    box-shadow: 0 4px 30px rgb(0 0 0 / 12%);
    transition: box-shadow .3s ease, transform .3s ease;

    &:hover {
        box-shadow: 0 2px 15px rgb(0 0 0 / 10%) !important;
        transform: translateY(-2px);
        transition: box-shadow .3s ease, transform .3s ease;
    }

    &:before {
        content: 'Fahrzeugsuche';
        font-size: .75rem;
        font-weight: 600;
        color: #fff;
        position: absolute;
        top: -25px;
        padding: 0 1.25rem;
        left: 2rem;
        width: max-content;
        height: 24px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        z-index: 1;
        background: var(--primary);
        border-radius: 0;

        @media screen and (max-width: 991px) {
            left:0.5rem;
        }
    }

    .form-control {
        height: 2rem;
        padding: 0 .75rem;
        font-size: 0.85rem;
    }

    .input-group {
        align-items: center;
    }

    .s360-vehicle-search-hsn-tsn-help-modal {
        height: 2rem;
        width: unset;
        padding: 0 0.25rem;
    }

    #s360-vehicle-search-filter {
        padding: 1rem 2.25rem;
        color: #212121;
        justify-content: space-around;
        background: white;

        @media screen and (max-width:991px) {
            padding:2rem 1rem;
            background: white;
        }

        .btn {
            border-color: #d8d8d8 !important;
            color: #757575 !important;
        }
    }
}




#s360-vehicle-search-filter-box-category-switch {
    display: none !important;
}

.footnote-vat a {
    color: #d10f33 !important;
}

.s360-vehicle-search-hsn-tsn-help-modal {
    width: 45px;
    border-radius: 0 !important;
}

.s360-vehicle-search-hsn-tsn-help-modal .modal-header .close {
    color: white;
}

.s360-vehicle-search-hsn-tsn-help-modal:hover {
    color: white;
}

#tx-autosuche-start .s360-vehicle-search-hsn-tsn-help-wrapper button,
#tx-autosuche-start .s360-vehicle-search-hsn-tsn-help-wrapper {
    width: 100%;
}

@media screen and (max-width: 465px) {
    .s360-vehicle-search-hsn-tsn-help-wrapper button {
        width: 100% !important;
    }

    .s360-vehicle-search-hsn-tsn-help-wrapper {
        width: 100%;
    }
}

/* endregion VEHICLE SEARCH */

/* region VEHICLE SEARCH PLUGIN (PPX) */

#tx-autosuche-start #s360-vehicle-search-filter {
    flex-direction: column;
    gap: 8px;
}

#s360-vehicle-search-filter .col-xl-2,
#s360-vehicle-search-filter .col-xl-1 {
    width: 100% !important;
    max-width: 100% !important;
}

#s360-vehicle-search-filter .form-control {
    border-radius: 3px;
}

#s360-vehicle-search-filter-box-category-switch button[data-category="auto"] {
    border-radius: 3px 0 0 3px;
}

#s360-vehicle-search-filter-box-category-switch button[data-category="motorrad"] {
    border-radius: 0 3px 3px 0;
}

#s360-vehicle-search-filter .input-group {
    gap: 8px;
}

#tx-autosuche-start #s360-vehicle-search-filter .input-group input {
    width: 100%;
}

#s360-vehicle-search-filter-box-category-switch .btn.active svg {
    fill: white;
}

#s360-vehicle-search-filter select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    position: relative;
}

.s360-vehicle-search-select-wrapper {
    position: relative;
}

.s360-vehicle-search-select-wrapper::after {
    content: '\F282';
    display: inline-block;
    font-size: 10px;
    position: absolute;
    font-family: 'bootstrap-icons';
    right: 20px;
    top: calc(50% - 7px);
    pointer-events: none;
}

#tx-autosuche-start .dzm-hl-wrapper {
    padding: 0 40px;
}

#s360-vehicle-search-filter {
    /*padding: 0 40px;*/
}



#fahrzeugsucheModal {
   /* display: flex !important;
    align-items: center;
    justify-content: center;

    &:not(.show) {
        pointer-events: none !important;
    }*/



    .modal-content {
        min-width:300px;
    }
}

body:has(#fahrzeugsucheModal) .modal-backdrop {
    background-color: rgb(0 0 0 / 64%);
}
/* endregion VEHICLE SEARCH PLUGIN (PPX) */

/* region SEARCH BAR (PPX) */

#tx-search-bar {
    max-width: 1620px;
    border-radius: 50px;
    background: #FFF;
    box-shadow: 0px 10px 30px 0px rgba(0, 0, 0, 0.05);
    padding: 25px 45px;
    margin-top: 25px;
}

#s360-garage-widget .btn {
    padding: 0;
}

#tx-searchbar-cat {
    max-width: 1620px;
    border-radius: 50px;
    background: #FFF;
    box-shadow: 0px 10px 30px 0px rgba(0, 0, 0, 0.05);
    padding: 25px 45px;
    margin-top: -46px;
    z-index: 2;
}

.ppx-cat-title {
    text-transform: uppercase;
    font-weight: 900;
}

.ppx-cat-hero {
    position: relative;
}

.ppx-cat-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #00000063;
    pointer-events: none;
    z-index: 1;
}

@media screen and (max-width: 991px) {


    #s360-vehicle-search-filter .col-4 {
        max-width: 100% !important;
    }

    #tx-searchbar-cat {
        margin-top: -35px;
        padding: 25px 0;
    }
}

@media screen and (max-width: 1299px) {
    #s360-vehicle-search-filter .col-4 {
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }

    #s360-vehicle-search-filter strong {
        margin-bottom: 15px;
        white-space: nowrap;
    }
}

/* endregion */


/* region PDP */


#product-offer {
    .stock-information {
        hr {
            display: none;
        }
    }

    .product-manufacturer {
        img {
            max-height:14px;
        }
    }
}



.product-offer {
    border:1px solid var(--gray-light);
    padding:1.25rem 1rem;
}

.shortdesc ul, .desc ul {
    padding-left:0;

    li {
        list-style: none;
        position: relative;
        padding-left:1.5rem;

        &::before {
            font-family: "bootstrap-icons";
            content: "\F271";
            padding-left:0;
            color: var(--primary);
            position: absolute;
            left: 0;
        }
    }
}

.product-gallery {
    position: relative;
}

/*#image_wrapper {
    position: sticky;
    top:0;
}*/


.product-attributes td.h6 {
    font-size: .95rem;
    font-weight: 400;
    text-transform: none !important;
    font-family: var(--font-family-sans-serif);
}

.niu-cb-card .h4 {
    font-size: 1rem;
}

.niu-custom-boxes-container {
    margin-top:1rem !important;
}

.variation-wrapper {
    .dropdown-menu {

        border-width:0 1px 1px 1px;
        border-style: solid;
        border-color: var(--gray-light);

        .dropdown-item:has(.badge-danger) {
            color:var(--gray-dark)
        }

        .badge.badge-danger {
            background-color:transparent;
            margin-left:.5rem;
            color:var(--danger);
        }
    }
}

div[data-niu-sidebar-content="manufacturerInfoByAttributes"] {
    p {
        margin-bottom:.15rem;
    }
}

#add-to-cart {
    .dzm-notice-bordered {
        border: 1px solid #e5e5e5;
        padding:.75rem;
    }
}

    /* endregion */

/* region ABE / StVZO */

.stvzo-abe-icon {
    max-width: 32px;
}

.stvzo-abe-style-1 { color: #02A067; }
.stvzo-abe-style-2 { color: #D10F33; }
.stvzo-abe-style-5 { color: #00309A; }
.stvzo-abe-style-10 { color: #ffa300; }

.stvzo-abe-style-3,
.stvzo-abe-style-4,
.stvzo-abe-style-6,
.stvzo-abe-style-7,
.stvzo-abe-style-8,
.stvzo-abe-style-9,
.stvzo-abe-style-11,
.stvzo-abe-style-12 {
    color: #0071B9;
}

.stvzo-abe-container {
    padding: 6px 12px;
    border: 1px solid var(--gray-light);
    border-bottom: none;
}

#product-offer:has(.stvzo-abe-container) .product-info-inner {
    border-radius: 0 0 8px 8px !important;
    border-top: none;
}

.stvzo-abe-content,
.s360-restriction {
    font-size: 14px !important;
    font-weight: 400;
}

.s360-restriction {
    margin-top:0 !important;
    padding:8px 16px;
    border-left:1px solid var(--gray-light);
    border-right:1px solid var(--gray-light);
    gap:1rem;
}

.stvzo-abe-container:has(.stvzo-abe-style-1) { background: #02a06703; }
.stvzo-abe-container:has(.stvzo-abe-style-2),
.s360-restriction { background: rgba(209, 15, 51, 0.02); }

.stvzo-abe-container:has(.stvzo-abe-style-3, .stvzo-abe-style-4, .stvzo-abe-style-6, .stvzo-abe-style-7) {
    background: rgba(0, 113, 185, 0.06);
}

.stvzo-abe-container:has(.stvzo-abe-style-5),
.stvzo-abe-container:has(.stvzo-abe-style-9) {
    background: rgba(0, 48, 154, 0.06);
}

.stvzo-abe-container:has(.stvzo-abe-style-11) { background: #f4f6ff; }

/* endregion */


/* region PLP */

.niu-ribbon-list-container {
    height: unset !important;
    margin-bottom: .25rem;

    .ribbon {
        font-size: 10px !important;
    }
}

/* endregion */


.tx-word-fade h1 {
    visibility: hidden;
}

.tx-word-fade h1.tx-word-fade-ready {
    visibility: visible;
}


/* region Plug: OSS Lieferland */

.ws5_oss_wrapper.headerBanner {
    background: #ffffff;
    border-bottom: 1px solid #0033a012;
    box-shadow: 0px 6px 30px #0000000d;
    z-index: 2;
    position: relative;
}

.ws5_oss_button_div > button {
    width: 35px;
    padding: 5px 10px 5px 10px;
    color: #ffffff !important;
    border-radius: 5px;
    border: 1px solid #143479 !important;
    background: #0033a0;
}

/* endregion */

/* region View Transitions (MPA) */

@view-transition {
    navigation: auto;
}

::view-transition-old(root) {
    animation: vt-fade-out 0.2s ease-out;
}

::view-transition-new(root) {
    animation: vt-fade-in 0.2s ease-in;
}

@keyframes vt-fade-out {
    from { opacity: 1; }
    to { opacity: 0; }
}

@keyframes vt-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Header bleibt persistent */
.niu-nav-brand-wrapper {
    view-transition-name: header;
}

::view-transition-old(header),
::view-transition-new(header) {
    animation: none;
}

/* endregion */