@import url('product.css');
@import url('products-list.css');
@import url('filter.css');
@import url('blog.css');
@import url('cart.css');
@import url('checkout.css');
@import url('termekek/partnerek.css');
@import url('page.css');
@import url('footer.css');

:root{
    --blue: black;
}
html{
    scroll-behavior: smooth;
}
body{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Nunito Sans', sans-serif;
}
a{
    text-decoration: none;
}
.cta{
    display: block;
    width: fit-content;
    padding: 20px 40px;
    background: black;
    border: none;
    border-radius: 0 20px 0 20px;
    color: white;
    font-size: 18px;
    text-decoration: none;
    margin: 0 0 0 auto;
    cursor: pointer;
}
.header{
    padding: 20px 10px;
    box-sizing: border-box;
    background: var(--blue);
    color: white;
}
.header.mobil{
    display: none;
}
.header.mobil.active{
    overflow-y: auto;
    height: 100vh;
}
.header.mobil > div{
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}
.header > div{
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 3;
}
.header.desktop nav{
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
.header.desktop nav .menu{
    display: flex;
    justify-content: flex-end;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 14px;
}
.header.desktop nav .menu li{
    padding: 5px 20px;
    position: relative;
}
.header.desktop nav a{
    color: white;
}
.header.desktop nav img{
    width: 20px;
    display: block;
    margin: 0;
}
.header.desktop nav .social-menu{
    border-left: 1px solid white;
    display: flex;
    gap: 20px;
    padding-left: 20px;
}
.header.desktop nav .menu > li > .sub-menu{
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    background: black;
    list-style: none;
    padding: 10px 0;
    margin: 0;
    z-index: 1;
}
.header.desktop nav .menu > li > .sub-menu.active{
    display: block;
}
.sub-menu{
    display: none;
}
.header.desktop .sub-menu.active .sub-menu.active {
    display: block;
    list-style: none;
    padding: 0;
    margin: 0;
}
.menu-item-has-children > a{
    display: flex;
    align-items: center;
    gap: 5px;
}
.menu-item-has-children > a:after{
    content: '';
    display: block;
    width: 4px;
    height: 4px;
    border-top: 1px solid white;
    border-left: 1px solid white;
    transform: rotate(225deg);
    margin: 0 0 0 5px;
    cursor: pointer;
}
.header-content{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.header.mobil .header-content{
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}
.header.desktop .logo{
    width: 200px;
    display: block;
    margin: 0;
}
.header.mobil .logo{
    width: 150px;
    display: block;
    margin: 0;
}
.search-button{
    display: flex;
    background: none;
    border: none;
    outline: none;
    padding: 0;
    cursor: pointer;
}
.search-button img{
    width: 24px;
    margin: 0 5px 0 0;
}
.search-input{
    width: 35%;
    background: #ffffff44;
    padding: 0 20px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.search-input input{
    width: 85%;
    height: 20px;
    margin: 10px 0;
    background: none;
    border: none;
    border-right: 1px solid #ffffff55;
    outline: none;
    color: white;
    font-size: 12px;
}
.search-input input::placeholder{
    color: #ffffff55;
}
.search-input button{
    display: flex;
    background: none;
    border: none;
    outline: none;
    cursor: pointer;
}
.search-input button img{
    width: 20px;
    opacity: 0.3;
}
.header.mobil .search-input{
    display: none;
    width: 100%;
    margin: 20px 0 0;
}
.header.mobil .search-input.visible{
    display: flex;
}
.header-content > div{
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 10px 0 0;
}
.header-content .support{
    margin: 0 30px 0 0;
}
.header-content .support span{
    display: block;
}
.header-content .support span:first-child{
    font-size: 10px;
    font-weight: 500;
    color: #ffffff55;
    text-transform: uppercase;
}
.header-content .support span:last-child{
    font-size: 16px;
    font-weight: 700;
}
.header-content .cart{
    position: relative;
    color: white;
}
.header-content .cart img{
    display: block;
    margin: 0;
}
.header-content .cart .cart-count {
    width: 20px;
    height: 20px;
    position: absolute;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background: #D92E23;
    border-radius: 50%;
    font-size: 10px;
    transform: translate(-8px, -35px);
}
.header.mobil nav {
    display: none;
    width: 100%;
    background: var(--blue);
    padding: 20px 20px 100px;
    box-sizing: border-box;
}
.header.mobil nav ul{
    list-style: none;
    padding: 0;
    margin: 0;
}
.header.mobil nav li{
    padding: 5px 0;
}
.header.mobil nav a{
    color: white;
}
.header.mobil nav .menu .sub-menu{
    display: none;
    list-style: none;
    padding: 10px 0 10px 10px;
    margin: 0;
}
.header.mobil nav .menu > li > .sub-menu.active {
    display: block;
}
.header.mobil nav .menu > li > .sub-menu.active .sub-menu.active {
    display: block;
}
.header.mobil nav img{
    width: 20px;
}
.header.mobil nav.active{
    display: block;
}
.header.mobil .nav-button-mobil{
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    cursor: pointer;
}
.header.mobil .nav-button-mobil div {
    width: 100%;
    height: 2px;
    background: #fff;
    position: relative;
    transition: 300ms ease-in-out;
}
.header.mobil .nav-button-mobil.active div {
    transform: rotate(180deg);
    background: transparent;
}
.header.mobil .nav-button-mobil div:before {
    content: "";
    position: absolute;
    width: 25px;
    height: 2px;
    background: #fff;
    top: -8px;
    left: 0;
    transition: 300ms ease-in-out;
}
.header.mobil .nav-button-mobil div:after {
    content: "";
    position: absolute;
    width: 25px;
    height: 2px;
    background: #fff;
    bottom: -8px;
    left: 0;
    transition: 300ms ease-in-out;
}
.header.mobil .nav-button-mobil.active div:before {
    transform: translateY(8px) rotate(45deg);
}
.header.mobil .nav-button-mobil.active div:after {
    transform: translateY(-8px) rotate(-45deg);
}
.header.mobil .product-cats{
    width: 100%;
}
.header.mobil .product-cats .title{
    font-size: 26px;
    font-weight: 700;
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 20px;
}
.header.mobil .product-cats .title:after {
    content: "";
    display: block;
    width: 6px;
    height: 6px;
    border-bottom: 2px solid white;
    border-right: 2px solid white;
    transform: rotate(45deg);
    transition: transform .3s ease-in-out;
}

.header.mobil .product-cats .cats, .header.mobil .product-cats .sub-cats{
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    overflow: hidden;
    visibility: hidden;
    transition: 200ms ease-in-out;
}
.header.mobil .product-cats .cats ul {
    overflow: hidden;
}
.header.mobil .product-cats .cats ul li {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    padding: 10px 0;
    font-size: 18px;
    box-sizing: border-box;
    cursor: pointer;
}
.header.mobil .product-cats.active .cats, .header.mobil .product-cats .cats li.active .sub-cats {
    grid-template-rows: 1fr;
    opacity: 1;
    visibility: visible;
}
.header.mobil .product-cats .cats img {
    width: 60px;
    height: auto;
}
.header.mobil .product-cats .cats .sub-cats{
    width: 100%;
}

/********* FŐOLDAL ******************/
.hero2{
    background: url(img/header-bg.jpg) no-repeat center center;
    background-size: cover;
    padding: 0 10px;
    min-height: 750px;
}
.hero2 > div{
    max-width: 1200px;
    min-height: 750px;
    margin: 0 auto;
    padding: 50px 0;
    display: flex;
    align-items: flex-start;
}
.hero2 .product-cats{
    width: 300px;
    background: #ffffffbb;
    padding: 30px 0;
    box-sizing: border-box;
    backdrop-filter: blur(10px);
    position: relative;
}
.hero2 .title{
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    border-bottom: 1px solid #22252944;
    padding: 0 0 20px;
    margin: 0 20px 10px;
    text-transform: uppercase;
}
.hero2 .cats > ul{
    list-style: none;
    margin: 0;
    padding: 0;
}
.hero2 .cats > ul > li{
    position: relative;
}
.hero2 .cats > ul > li:after{
    content: '';
    display: block;
    width: 5px;
    height: 5px;
    top: 50%;
    right: 40px;
    position: absolute;
    border-top: 1px solid var(--blue);
    border-left: 1px solid var(--blue);
    transform: translateY(-50%) rotate(135deg);
}
.hero2 .cats > ul > li > a{
    display: block;
    color: #555;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 15px;
    margin: 0 30px;
    text-decoration: none;
}
.hero2 .cats > ul > li:hover > a{
    background: var(--blue);
    color: white;
}
.hero2 .cats > ul > li:hover:after{
    border-color: white;
}
.hero2 .cats > ul > li > ul{
    display: none;
}
.hero2 .cats > ul > li > img{
    display: none;
}
.hero2 .sub-cats{
    display: none;
    background: #ffffffbb;
    padding: 10px 30px 30px;
    box-sizing: border-box;
    backdrop-filter: blur(10px);
    width: 260px;
    position: relative;
}
.hero2 .sub-cats.active{
    display: block;
}
.hero2 .sub-cats ul{
    list-style: none;
    padding: 0;
    margin: 0;
}
.hero2 .sub-cats li{
    width: 200px;
}
.hero2 .sub-cats li a{
    display: block;
    color: #555;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 15px;
    text-decoration: none;
}
.hero2 .sub-cats li:hover a{
    background: var(--blue);
    color: white;
}
.hero2 .sub-cats .sub-cat-img{
    min-height: 160px;
}
.hero2 .sub-cats .sub-cat-img img{
    width: auto;
    height: 160px;
    display: block;
    margin: 0 auto;
}
.hero2 .sub-cats .sub-cats-list li img{
    display: none;
}

.hero3{
    padding: 50px 10px;
    box-sizing: border-box;
}
.hero3 > div{
    max-width: 1200px;
    margin: 0 auto;
}
.hero3 h2, .products-section h2{
    font-size: 16px;
    font-weight: 700;
    margin: 0;
    padding: 0 0 10px;
    border-bottom: 1px solid #00000044;
    text-transform: uppercase;
}
.products{
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    list-style: none;
    margin: 15px 0 20px;
    padding: 0;
}
.products .product {
    width: 19%;
    margin: 0 0.5% 20px;
    background: white;
    box-shadow: 0 4px 35px #22252922;
}
.products .product > a{
    display: block;
    color: var(--blue);
    padding: 20px 20px 0 20px;
    box-sizing: border-box;
}
.products .product > a > img{
    max-width: 100%;
    max-height: 198px;
    width: auto;
    height: auto;
    display: block;
    margin: 0 auto 10px;
}
.products .details{
    min-height: 96px;
}
.product h4{
    margin: 0;
}
.product .box-info{
    font-size: 12px;
    color: #22252988;
    margin: 0 0 20px;
}
.box-price .regular-price{
    font-size: 20px;
    font-weight: 900;
}
.box-price .sale-price{
    text-decoration: line-through;
    color: red;
    font-size: 16px;
    font-weight: 700;
}
.box-price .sale-price + span{
    text-decoration: line-through;
    color: red;
    font-size: 14px;
}
.box-price .current-price,
.products .price{
    font-size: 20px !important;
    font-weight: 900 !important;
}
.currency{
    font-size: 16px;
}
.stock{
    font-size: 12px !important;
    color: #aaa;
    margin: 0 0 10px;
}
.stock span ,
.woocommerce-variation-availability p{
    display:flex;
    align-items: center;
    margin: 0 0 10px;
}
.in-stock:before{
    content: "";
    display: inline-block;
    width: 9px;
    height: 9px;
    background: #4bc700;
    border-radius: 50%;
    margin: 0 5px 0 0;
}
.out-stock:before,
.out-of-stock:before{
    content: "";
    display: inline-block;
    width: 9px;
    height: 9px;
    background: #d02c21;
    border-radius: 50%;
    margin: 0 5px 0 0;
}
.available-on-backorder:before{
    content: "";
    display: inline-block;
    width: 9px;
    height: 9px;
    background: #ffce1d;
    border-radius: 50%;
    margin: 0 5px 0 0;
}
.box-cart{
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    min-height: 50px;
    margin: 0 0 20px;
}
.add-to-cart{
    width: 100%;
    padding: 15px 0;
    background: transparent;
    color: black;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 5px;
    border: none;
    outline: none;
    border-top: 1px solid #00000044;
    cursor: pointer;
}
.add-to-cart:hover{
    background: black;
    color: white;
}
.add-to-cart img{
    width: 12px;
    display: block;
    margin: 0 0 2px 0;
    filter: invert(1);
}
.add-to-cart:hover img{
    filter: invert(0);
}

@media (max-width: 1024px){
    .header.desktop{
        display: none;
    }
    .header.mobil{
        display: block;
    }
    .products .product {
        width: 48%;
        margin: 0 0 20px;
    }
}

@media (max-width: 500px){
    .search-button img {
        margin: 0;
    }
    .hero2 > div {
        display: none;
    }
    .products .product {
        width: 100%;
    }

}
