.mainHeader {
    position: sticky;
    top: 0;
    z-index: 999;
    padding: 10px 0;
    flex: 0 0 auto;
}

.headerInner {
    background: #154746;
    border-radius: 20px;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.headerLeft {
    display: flex;
    align-items: center;
    gap: 30px;
}

.logo{
    transition: .4s;
}

.logo img {
    height: 65px;
}

.logo:hover{
    transform: translateY(-5px);
}

.workTime {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #333;
    font-size: 14px;
}

.workTime img {
    height: 18px;
}

.menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.menu a {
    text-decoration: none;
    color: #FFFFFF;
    transition: color 0.3s;
    font-size: 14px;
}

.menu a:hover {
    color: #f56800;
}

.headerRight {
    display: flex;
    align-items: center;
    gap: 20px;
}

.headerPhone {
    display: flex;
    gap: 5px;
    align-items: center;
    color: #f56800;
    text-decoration: none;
    border-radius: 20px;
    background: #FFE6D3;
    padding: 8px 16px;
    font-size: 16px;
    transition: .4s;
}

.headerPhone img {
    width: 25px;
}

.headerPhone:hover{
    background: #ffd8ba;
}

.headerCart {
    position: relative;
    font-size: 20px;
    cursor: pointer;
}

.headerCart img {
    width: 30px;
}

.headerCartCount {
    position: absolute;
    top: -8px;
    right: -10px;
    background: #f56800;
    color: #fff;
    border-radius: 10px;
    padding: 2px 6px;
    font-size: 12px;
}

.burgerBtn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 22px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.burgerBtn span {
    display: block;
    height: 2px;
    width: 100%;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.burgerBtn.open span:nth-child(1){
    transform: translateY(9px) rotate(45deg);
}

.burgerBtn.open span:nth-child(2){
    opacity: 0;
}

.burgerBtn.open span:nth-child(3){
    transform: translateY(-9px) rotate(-45deg);
}

.mobileMenu {
    position: absolute;
    top: 100%;
    left: 2%;
    right: 2%;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;

    max-height: 0;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.4s ease;
    z-index: 998;
    display: flex;
    flex-direction: column;
    pointer-events: none;
}

.mobileMenu.open {
    max-height: 500px;
    opacity: 1;
    pointer-events: auto;
}

.mobileMenu nav {
    display: flex;
    flex-direction: column;
    padding: 15px;
    gap: 12px;
}

.mobileMenu nav a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    text-align: center;
}

@media (max-width: 1320px) {
    .menu,
    .workTime,
    .headerPhone {
        display: none;
    }

    .burgerBtn {
        display: flex;
    }

    .headerInner {
        flex-wrap: nowrap;
        gap: 0;
        padding: 5px 15px;
    }

    .mobileMenu .headerPhone{
        display: flex;
        justify-content: center;
        align-items: center;
    }
}

/* footer */

footer{
    margin-top: 45px;
}

.footerTop{
    display: flex;
    justify-content: center;
    align-items: center;
    background: #FFF7E4;
    padding: 10px 0;
}

.footerTopContainer{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footerLogo{
    transition: .4s;
}

.footerLogo img{
    height: 60px;
}

.footerLogo:hover{
    transform: translateY(-5px);
}

.footerMenu{
    display: flex;
    align-items: center;
    gap: 25px;
}

.footerMenu li a{
    color: #3D1F14;
    font-size: 14px;
    transition: .4s;
}

.footerMenu li a:hover{
    color: #F56800;
}

.footerSocial{
    display: flex;
    align-items: center;
    gap: 10px;
}

.footerSocialItem{
    display: flex;
    justify-content: center;
    align-items: center;
    background: #F56800;
    width: 35px;
    height: 35px;
    border-radius: 30px;
    transition: .4s;
}

.footerSocialItem img{
    width: 16px;
}

.footerSocialItem:hover{
    transform: translateY(-5px);
}

.footerBottom{
    display: flex;
    justify-content: center;
    background: #154746;
    padding: 10px 0;
}

.footerBottomContainer{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footerBottomLeft{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    width: 50%;
}

.footerBottomLeft p, .footerBottomLeft a{
    color: #fff;
    font-size: 12px;
}

.footerBottomRight p{
    color: #fff;
    font-size: 12px;
}

.footerBottomRight p a{
    color: #fff;
    text-decoration: underline;
}

.footerBottomRight p a:hover{
    text-decoration: none;
}

@media(min-width: 320px) and (max-width: 980px){
    .footerTopContainer{
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }

    .footerLogo{
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .footerLogo img{
        height: 80px;
    }

    .footerMenu{
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 15px;
        margin: 40px 0;
        width: 100%;
    }

    .footerMenu li{
        width: 100%;
    }

    .footerMenu li a{
        display: inline-block;
        width: 100%;
        text-align: center;
    }

    .footerSocial{
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 20px;
    }

    .footerBottomContainer{
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }

    .footerBottomLeft{
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        width: 100%;
        gap: 10px;
    }

    .footerBottomLeft p, .footerBottomLeft a{
        display: inline-block;
        text-align: center;
        width: 100%;
    }

    .footerBottomRight p{
        color: #fff;
        font-size: 12px;
    }

    .footerBottomRight p a{
        color: #fff;
        text-decoration: underline;
    }

    .footerBottomRight p a:hover{
        text-decoration: none;
    }
}

/* products */

.productsGridThree{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 35px;
}

.productsGridTwo{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 38px;
}

.smallProductCard{
    background: #f5eedd;
    border: 2px solid #f5eedd;
    padding: 15px;
    border-radius: 10px;
    transition: .4s;
}

.smallProductCardPhotoContent{
    position: relative;
}

.productTag{
    position: absolute;
    left: 15px;
    top: 15px;
    display: inline-block;
    padding: 5px 10px;
    background: #F56800;
    border-radius: 20px;
    color: #fff;
    font-size: 12px;
    z-index: 2;
    transition: .4s;
}

.smallProductCardPhotoContent{
    aspect-ratio: 3/2;
    overflow: hidden;
    border-radius: 10px;
}

.smallProductCardPhotoContent img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .4s;
}

.smallProductCardStructure{
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
}

.smallProductCardStructureItem{
    display: flex;
    align-items: center;
    gap: 3px;
}

.smallProductCardStructureItem img{
    width: 20px;
}

.smallProductCardStructureItem p{
    color: #999999;
    font-size: 12px;
}

.smallProductCardTitle{
    font-size: 16px;
    color: #F56800;
    margin-top: 10px;
    transition: .4s;
}

.smallProductCardPriceContainer{
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 5px;
}

.smallProductCardPrice{
    font-size: 20px;
    color: #3D1F14;
    font-weight: 500;
    transition: .4s;
}

.smallProductCardPriceOld{
    font-size: 16px;
    color: #999;
    text-decoration: line-through;    
}

.smallProductCardAdd{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    font-size: 14px;
    padding: 10px 0;
    background: #FFE6D3;
    height: 46px;
    color: #F56800;
    border-radius: 10px;
    transition: .4s;
}

.smallProductCardAdd:hover{
    background: #F56800;
    color: #fff;
}

.smallProductCard:hover{
    border: 2px solid #F56800;
}

.smallProductCard:hover .smallProductCardPhotoContent img{
    transform: scale(1.1, 1.1);
}

.smallProductCard:hover .productTag{
    transform: translateX(-5px);
}

.smallProductCard:hover .smallProductCardTitle{
    color: #3D1F14;
}

.smallProductCard:hover .smallProductCardPrice{
    color: #F56800;
}

@media(min-width: 320px) and (max-width: 550px){
    .productsGridThree{
        grid-template-columns: repeat(1, 1fr);
        gap: 20px;
    }

    .productsGridTwo{
        grid-template-columns: repeat(1, 1fr);
        gap: 20px;
    }
}

@media(min-width: 550px) and (max-width: 960px){
    .productsGridThree{
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .productsGridTwo{
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}