/*brand landing*/

/*milwaukee brand*/
body.brand {
    --brand-primary-color: #000000;
    --brand-secondary-color: #000;
    --text-on-primary: #fff;
    --text-on-secondary: #fff;
    --border-color: #fff;
    --btn-primary-bg: var(--brand-primary-color);
    --btn-primary-text: var(--text-on-primary);
    --btn-primary-hover-bg: #fff;
    --btn-primary-hover-text: var(--brand-primary-color);
    --btn-secondary-bg: var(--brand-secondary-color);
    --btn-secondary-text: var(--text-on-secondary);
    --btn-secondary-hover-bg: #fff;
    --btn-secondary-hover-text: var(--brand-secondary-color);
}

/*prebaceno u min-width 1200 zbog overlay nav mobitelima*/
/*.brand_landing .main-menu-wrapper {
    background: var(--brand-primary-color);
}*/


.brand_traka_logotipovi {
    border-top: 2px solid var(--border-color);
    background: var(--brand-primary-color);
}

.brand_traka_logotipovi_wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 11px;
}

.brand_traka_logotipovi_wrapper img {
    max-width: 200px;
}

.brand_traka_logotipovi_wrapper .brand-logo {
    max-width: 300px;
}

.brand_landing .main-content-wrapper {
    margin-top: 270px;
}

.brand_landing.brand_landing-inner .main-content-wrapper {
    margin-top: 180px;
}


.brand_landing .home-slider-wrapper picture, .brand_landing .home-slider-wrapper img, .brand_landing .home-slider-wrapper source {
    max-height: 600px;
    object-fit: cover;
}

.brand_landing .slide-content {
    max-width: 900px;
    left: 10%;
    background: rgba(0,0,0,0.7);
    padding: 30px 20px 20px;
    border-radius: 10px;
}

.brand_landing .slide-content h1 {
    color: #fff;
    text-transform: uppercase;
    font-size: 3rem;
    margin: 20px 0 10px 0;
}

.brand_landing .slide_opis {
    font-size: 1.1rem;
    color: #fff;
}

.brand_landing .home-slider-wrapper .btn {
    border-radius: 5px;
    padding: 15px 60px;
    margin: 20px 0 0 0;
    color: var(--text-on-primary);
    background: var(--brand-primary-color);
    text-transform: uppercase;
    border-color: var(--brand-primary-color);
}

.brand_landing .home-slider-wrapper .btn:hover {
    background: var(--btn-primary-hover-bg);
    color: var(--btn-primary-hover-text);
    border-color: var(--brand-primary-color);
}

.brand_landing .home-slider-wrapper .swiper-horizontal > .swiper-pagination-bullets {
    background: transparent;
    bottom: 50px;
}

.brand_landing .home-slider-wrapper .swiper-horizontal > .swiper-pagination-bullets .swiper-pagination-bullet {
    border-radius: 50px;
    border: 2px solid var(--brand-primary-color);
    background: #fff;
    width: 100px;
    padding: 4px;
}

.brand_landing .home-slider-wrapper .swiper-horizontal > .swiper-pagination-bullets .swiper-pagination-bullet-active {
    background: var(--brand-primary-color);
}

.brands-box {
    background: var(--brand-primary-color);
}

.brand-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 24px;
    padding: 30px 60px;
    max-width: 1300px;
    margin: 0 auto;
}

.brand-card {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 10px;
    text-decoration: none;
    color: #fff;
    aspect-ratio: 1/1;
}

.brand-card-hero {
    /*grid-column: 1 / span 3;*/
    grid-column: 1 / -1;
    aspect-ratio: 21/8;
    max-height: 600px;
    width: 100%;
}

.brand-card img {
    width: 100%;
    height: 100% !important;
    display: block;
    object-fit: cover;
    transition: .4s;
}

.brand-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.35);
}

.brand-card-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 18px;
    z-index: 2;
    text-align: center;
    padding: 20px;
}

.brand-card h2 {
    margin: 0;
    text-transform: uppercase;
    color: #fff;
    font-size: 1.5rem;
}

.brand-card .btn {
    border-radius: 5px;
    padding: 15px 60px;
    margin: 20px 0 0 0;
    color: var(--text-on-primary);
    background: var(--brand-primary-color);
    text-transform: uppercase;
    border-color: var(--brand-primary-color);
    position: absolute;
    bottom: 20px;
}

.brand-card .btn:hover {
    background: var(--btn-primary-hover-bg);
    color: var(--btn-primary-hover-text);
    border-color: var(--brand-primary-color);
}

.brand-card:hover img {
    transform: scale(1.05);
}

.brand-card:hover::after {
    background: rgba(0,0,0,.25);
}

.sustavi {
    background: var(--brand-secondary-color);
    position: relative;
    padding: 20px 0 40px;
}

.unutarnji-container {
    position: relative;
    z-index: 3;
    left: 10%;
    max-width: 80%;
}

.unutarnji-container h2 {
    color: var(--text-on-secondary);
    text-transform: uppercase;
    margin-bottom: 20px;
}

.sustavi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.sustavi-item {
    overflow: hidden;
    position: relative;
}

.sustavi_img_wrapper {
    overflow: hidden;
}

.sustavi-item img {
    border-radius: 10px 10px 0 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: 0.4s;
}

.sustavi-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.25);
}

.sustavi-item:hover::after {
    background: rgba(0,0,0,.15);
}

.sustavi-item:hover img {
    transform: scale(1.05);
}

.sustavi_btn_box {
    background: var(--brand-primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 10px 10px;
    border-radius: 0 0 10px 10px;
    position: relative;
}

.sustavi_btn_box .sustavi_logo {
    position: absolute;
    max-width: 120px;
    width: auto;
    height: auto;
    object-fit: unset;
    top: -20px;
}

.sustavi_btn_box .sustavi_logo.mx_fuel {
    top: -35px;
    max-width: 100px;
}

.sustavi_btn_box .sustavi_logo.red_lithium {
    max-width: 160px;
}

.sustavi_btn_box .btn {
    border-radius: 5px;
    padding: 15px 60px;
    margin: 20px 0;
    background: var(--brand-secondary-color);
    color: var(--text-on-secondary);
    text-transform: uppercase;
    border-color: var(--brand-secondary-color);
    transition: .4s;
}

.sustavi-item:hover .sustavi_btn_box .btn {
    background: var( --btn-secondary-hover-bg);
    color: var(--btn-secondary-hover-text);
    border-color: var(--brand-secondary-color);
}

.brand_landing .quick-add-basket-btn-vue {
    background: var(--brand-primary-color) url(../img/cart-ico-white.svg) 50% 50% no-repeat;
}

.brand_landing .newsletter-wrapper {
    background: var(--brand-primary-color);
}

.brand_landing .newsletter-form {
    background: var(--brand-primary-color);
}


.super-cat {
    background: var(--brand-primary-color);
}

.nav-tabs > li > a.active, .nav-tabs > li > a.active:hover, .nav-tabs > li > a.active:focus, .nav-tabs .nav-link.active, .nav-tabs .nav-item.show .nav-link {
    background: var(--brand-primary-color);
}

.package-piece-wrapper a:hover, .package-piece-wrapper a:active, .package-piece-wrapper a:focus, .package-piece-wrapper .active {
    background: color-mix(in srgb, var(--brand-primary-color) 5%, transparent);
    border: 1px solid var(--brand-primary-color);
    color: var(--brand-primary-color);
}

.btn {
    color: var(--brand-primary-color);
}

.package-piece-wrapper a {
    border: 1px solid var(--brand-primary-color);
}

.selected-filters ul li ul li {
    background: var(--brand-primary-color);
}

.recently-viewed > .btn, .recently-viewed > .btn:focus {
    background: var(--brand-primary-color);
    border-color: var(--brand-primary-color);
}

.toggle-filters a, .toggle-filters a:focus, .toggle-filters a:hover, .toggle-filters a:active {
    background: var(--brand-primary-color);
    border-color: var(--brand-primary-color);
}

.package-type .btn.active, .package-type .btn:hover {
    background: var(--brand-primary-color);
    border-color: var(--brand-primary-color);
}

.gd-selected, .add-input-wrapper .action-handle, .add-input-wrapper, .prod-modal .add-input-wrapper {
    background: color-mix(in srgb, var(--brand-primary-color) 5%, transparent);
    color: var(--brand-primary-color);
}

.company-register, .out-of-stock, .product-description .nav-tabs {
    background: color-mix(in srgb, var(--brand-primary-color) 5%, transparent);
}

.btn-primary, .btn-secondary:hover {
    background: var(--brand-primary-color);
    border-color: var(--brand-primary-color);
}

.quick-add-basket-btn, .quick-add-basket-btn-vue {
    background-color: var(--brand-primary-color);
}

.package-type .btn {
    background: color-mix(in srgb, var(--brand-primary-color) 5%, transparent);
}

.breadcrumbs ul li::after {
    background: var(--brand-primary-color);
}

/*responsive*/
@media screen and (min-width: 1200px) {
    .brand_landing .main-menu-wrapper {
        background: var(--brand-primary-color);
    }

    .brand-grid {
        grid-template-columns: repeat(6, 1fr);
        grid-template-rows: repeat(2, 1fr);
        padding: 30px 0;
        max-width: 100%;
    }

    .brand-card-hero {
        grid-column: span 3;
        grid-row: span 2;
        aspect-ratio: auto;
    }

    .brand-card h2 {
        font-size: 22px;
    }

    .brand-card .btn {
        font-size: 14px;
        padding: 11px 40px;
    }

    .brand-card-content {
        padding: 10px;
    }

    .brand-card:not(.brand-card-hero) h2 {
        font-size: 15px;
    }

    .brand-card:not(.brand-card-hero) .btn {
        padding: 10px 30px;
        font-size: 10px;
    }

    .brand-card-hero .btn {
        position: static;
    }

}

@media screen and (min-width: 1300px) {
    .brand-card:not(.brand-card-hero) h2 {
        font-size: 16px;
    }

    .brand-card:not(.brand-card-hero) .btn {
        font-size: 11px;
    }
}

@media screen and (min-width: 1500px) {

    .brand-card h2 {
        font-size: 24px;
    }

    .brand-card .btn {
        font-size: 15px;
    }

    .brand-card:not(.brand-card-hero) h2 {
        font-size: 19px;
    }

    .brand-card:not(.brand-card-hero) .btn {
        font-size: 14px;
    }
}

@media screen and (max-width: 1600px) {
    /*brand landing max1600*/
    .brand_landing .slide-content {
        padding: 10px 20px 20px;
    }

    .brand_landing .slide-content h1 {
        font-size: 3.3rem;
    }

    .brand_landing .slide_opis {
        font-size: 1.1rem;
    }

    .brand_landing .home-slider-wrapper .btn,
    .brand-card .btn {
        padding: 12px 50px;
    }

    .sustavi_btn_box .btn {
        padding: 10px 40px;
    }
}


@media screen and (max-width: 1600px) {

    /*brand landing max1459*/
    .brand_landing .main-content-wrapper {
        margin-top: 268px;
    }

    .brand_landing .slide-content {
        padding: 10px 15px 15px;
        max-width: 720px;
        left: 7%;
    }

    .brand_landing .slide-content h1 {
        font-size: 2.5rem;
        margin: 10px 0 10px 0;
    }

    .brand_landing .slide_opis {
        font-size: 1rem;
    }

    .brand_landing .home-slider-wrapper .btn, .brand-card .btn {
        font-size: 15px;
    }

    .unutarnji-container {
        left: 7%;
        max-width: 86%;
    }
}

@media screen and (max-width: 1199px) {
    /*brand max 1199*/
    .brand_landing .main-content-wrapper {
        margin-top: 132px;
    }

    .brand_landing .slide-content h1 {
        font-size: 2rem;
    }

    .brand_landing .slide_opis {
        font-size: 15px;
    }

    .brand_landing .home-slider-wrapper .btn, .brand-card .btn {
        padding: 10px 40px;
    }

    .brand-grid {
        gap: 12px;
    }

    .brand-card h2 {
        font-size: 22px;
    }

    .sustavi-grid {
        grid-template-columns: repeat(2,1fr);
    }
}


@media screen and (max-width: 1199px) {
    .brand_landing .main-content-wrapper {
        margin-top: 209px;
    }
}

@media screen and (max-width: 991px) {
    /*brand landing max 991*/
    .brand_traka_logotipovi {
        margin-top: 90px;
    }

    .brand_landing .main-content-wrapper {
        margin-top: 248px;
    }

    .brand_landing .slide-content {
        max-width: 100%;
        left: 15px;
        right: 15px;
    }

    .brand-grid {
        padding: 15px 0px;
        max-width: 100%;
    }

    .brand-card h2 {
        font-size: 20px;
    }

    .unutarnji-container {
        max-width: 100%;
        position: static;
        padding: 0 15px;
    }
}

@media screen and (max-width: 767px) {
    /*brand landing max767*/
    .brand_traka_logotipovi {
        margin-top: 55px;
    }

    .brand_traka_logotipovi_wrapper img {
        max-width: 140px;
    }

    .brand_traka_logotipovi_wrapper .brand-logo {
        max-width: 230px;
    }

    .brand_landing .main-content-wrapper {
        margin-top: 194px;
    }

    .brand-grid {
        grid-template-columns: repeat(2,1fr);
    }

    /*   .brand-card-hero {
        grid-column: 1/ span 2;
    }*/

    .brand-card h2 {
        font-size: 18px;
    }

    .unutarnji-container h2 {
        font-size: 28px;
    }
}

@media screen and (max-width: 575px) {
    /*brand landing max 575*/
    .brand_traka_logotipovi_wrapper img,
    .brand_traka_logotipovi_wrapper .brand-logo {
        max-width: 100px;
    }

    .brand_landing .main-content-wrapper {
        margin-top: 187px;
    }

 /*   .brand_landing .slide-content {
        display: block;
        position: static;
        margin: 0;
        border-radius: 0;
    }*/

    .brand_landing .slide-content {
        display: block;
        position: absolute;
        margin: 0;
        border-radius: 0;
        top: 50%;
        transform: translateY(-50%);
    }

    .brand_landing .slide-content h1 {
        font-size: 22px;
    }

    .brand_landing .slide_opis {
        font-size: 14px;
    }

    .brand_landing .home-slider-wrapper .btn,
    .brand-card .btn,
    .sustavi_btn_box .btn {
        padding: 9px 30px;
        font-size: 13px;
    }

    .unutarnji-container h2 {
        font-size: 24px;
    }
}

@media screen and (max-width: 479px) {

    /*brand landing max 479*/
    .brand-grid {
        grid-template-columns: repeat(1,1fr);
    }

    .brand-card-hero {
        aspect-ratio: 10/10;
        max-height: unset;
    }

    .brand-card .btn {
        position: static;
        margin-top: 0;
    }

    .sustavi-grid {
        grid-template-columns: repeat(1,1fr);
    }
}