/*
==========================================================
GRANOVSKIY Furniture
Файл: mobile.css
Версия: 1.0
==========================================================
*/


/* ===========================
   Планшеты
=========================== */

@media (max-width: 1024px) {

    .container{
        width:94%;
    }

   .hero{
    padding:60px 0;
    text-align:center;
    background-size:75% auto;
    background-position:center center;
    background-repeat:no-repeat;
}

    .hero h1{
        font-size:42px;
    }

    .products-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .product-layout{
        grid-template-columns:1fr;
        gap:40px;
    }

    .contacts-grid{
        grid-template-columns:1fr;
    }

    .footer-top{
        grid-template-columns:1fr 1fr;
        gap:40px;
    }

}

/* ===========================
Телефоны
=========================== */

@media (max-width:768px){

    .header-inner{
        flex-direction:column;
        align-items:flex-start;
        gap:20px;
    }

    .logo-title{
        font-size:24px;
    }

    .logo-subtitle{
        font-size:11px;
        letter-spacing:3px;
    }

    .mobile-menu-button{
        display:flex;
        flex-direction:column;
        justify-content:space-between;
        width:42px;
        height:34px;
        padding:6px;
        border:none;
        background:transparent;
        cursor:pointer;
    }

    .mobile-menu-button span{
        display:block;
        width:100%;
        height:3px;
        border-radius:3px;
        background:#444;
    }

    .menu{
        display:none;
        width:100%;
        flex-direction:column;
        gap:0;
        margin-top:15px;
        padding-top:15px;
        border-top:1px solid #ece8e1;
    }

    .menu.open{
        display:flex;
    }

    .menu li{
        width:100%;
    }

    .menu a{
        display:block;
        padding:15px 0;
    }

    .hero{
        padding:0;
        height:160px;
        text-align:center;
        background:url("../img/hero.jpg") center center / 140% auto no-repeat;
    }

.hero .hero-content{
    height:100%;
    display:flex;
    align-items:flex-end;
    justify-content:center;
    padding-bottom:0;
    position:static;
}

.hero .button{
    width:auto;
    font-size:14px;
    padding:8px 14px;
    border-radius:8px;
    position:relative;
    top:115px;
}

    .hero h1{
        font-size:34px;
    }

    .hero p{
        font-size:17px;
    }

    .button{
        width:100%;
        text-align:center;
    }

    .products-grid{
        grid-template-columns:1fr;
        gap:25px;
    }

    .product-card-body{
        padding:20px;
    }

    .product-card h3{
        font-size:22px;
    }
.product-card img{
    height:350px;
}

    .product-price{
        font-size:32px;
    }

    .product-thumbnails{
        flex-wrap:wrap;
    }

    .product-thumbnails img{
        width:70px;
    }

    .page-header{
        padding:50px 0 25px;
    }

    .page-header h1{
        font-size:34px;
    }

    .contacts-info{
        padding:25px;
    }

    .footer-top{
        grid-template-columns:1fr;
        padding:45px 0;
    }

    .footer-column{
        margin-bottom:15px;
    }

}
/* ===========================
   Маленькие телефоны
=========================== */

@media (max-width:480px){

    body{
        font-size:15px;
    }

    .container{
        width:92%;
    }

    .hero h1{
        font-size:28px;
    }

    .hero p{
        font-size:16px;
    }

    .section-header h2{
        font-size:22px;
    }

    .product-price{
        font-size:28px;
    }

    .logo-title{
        font-size:21px;
        letter-spacing:2px;
    }

    .logo-subtitle{
        font-size:10px;
    }

}
