@media (max-width:1100px){
.categories-grid{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:900px){
h1[data-head-title]{font-family:"Lobster",sans-serif;font-weight:400;font-style:normal;text-align:center}
.product-container{flex-direction:column;gap:25px}
.product-info h1{text-align:center}
.product-thumbnails{justify-content:center;margin-bottom:50px}
}
@media (max-width:800px){
.categories-grid{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:768px){
header{justify-content:center;padding:0 20px}
.burger{display:flex;position:absolute;left:20px;z-index:2000}
.contacts {display:none;}
.logo{text-align:center;display:none;}
nav{position:absolute;top:85px;left:0;width:100%;background:#f5f5f5;border-bottom:1px solid #ddd;overflow:hidden;max-height:0;flex-direction:column;align-items:center;transition:max-height 0.4s ease,padding 0.4s ease}
nav.active{max-height:300px;padding:15px 0}
nav ul{flex-direction:column;gap:15px}
.middle{flex-direction:column;align-items:center;height:auto}
.middle .item{width:100%;height:400px;margin-bottom:15px;border:none}
.middle .item a{font-size:16px;bottom:15px;left:20px;right:20px;padding:12px;}
.bottom-left,.bottom-right{width:100%}
.bottom-right .item{width:48%;height:400px;}
.bottom-right .item-element{font-size: 40px;}
.hero h1{font-size:28px}
.hero p{font-size:16px;padding: 0 30px;}
.notification{font-size:12px !important;clear:both;margin:4px 0% 4px 0%;padding:20px 20px 20px 60px;border-radius:5px}
.extra-blocks{display:block}
.extra-block{width:100%;margin-bottom:15px}
.slider-item{min-width:100%}
.popular-product-box{flex-direction:column;align-items:center;gap:10px;max-width:100%}
.popular-info{align-items:center;text-align:center}
.product-slider-image{width:80px;height:80px}
h1 { font-size: 28px; }
h2 { font-size: 24px; }
h3 { font-size: 20px; }
h4 { font-size: 18px; }
h5 { font-size: 15px; }
h6 { font-size: 13px; }
.catalog-wrapper{flex-direction:column}
.catalog-filters{width:100%;position:relative}
.catalog-filters .filters-toggle{display:block}
.catalog-filters form{display:none;flex-direction:column;gap:10px;background:#f5f5f5;padding:15px;border-radius:6px;position:absolute;top:40px;left:0;width:100%;z-index:10;box-shadow:0 2px 10px rgba(0,0,0,0.15)}
.catalog-filters form.active{display:flex}
.product-list{grid-template-columns:1fr}
.product-container{flex-direction:column}
.product-info h1{order:0}
.product-gallery{order:2}
.product-card{max-width: 100%;}
.product-info{order:3}
.product-gallery,.product-info{width:100%}
.product-main-image img{width:100%;height:auto;}
.product-thumbnails{justify-content:center;}
.product-description{font-size:22px}
.product-category{font-size:26px}
.bottom {flex-direction: column; /* нормальный порядок сверху вниз */ }
.bottom-left { order: 2; }
.bottom-right { order: 1; }
.bottom-left, .bottom-right { width: 100%;  }
.bottom-inner.grid {grid-template-columns: 1fr; /* 1 в ряд */}
.bottom-inner {padding: 10px; /* уменьшаем отступы */}
.contact-bar {position: fixed; bottom: 0; left: 0;right: 0; display: flex; height: 60px; z-index: 999;}
.contact-call {flex: 1; background: #28a745; color: #fff; display: flex; align-items: center; justify-content: center; text-decoration: none; font-weight: bold;}
.contact-menu {position: relative; width: 70px;}
.contact-toggle {width: 100%; height: 100%; background: #222; color: #fff;  border: none; font-size: 20px;}
.contact-dropdown { position: absolute; bottom: 60px; right: 0; background: #fff; display: none; flex-direction: column; min-width: 150px; box-shadow: 0 0 10px rgba(0,0,0,0.2);}
.contact-dropdown a { padding: 10px; text-decoration: none; color: #333;}
.contact-dropdown a:hover { background: #f0f0f0;}
}
@media (max-width:720px){.cart-table thead{display:none}
.cart-table,.cart-table tbody,.cart-table tr,.cart-table td{display:block;width:100%}
.cart-table tr{margin-bottom:12px;border-bottom:1px solid #eee;padding-bottom:8px}
.cart-table td{text-align:left;padding:8px 6px}
.cart-table td:before{content:attr(data-label);display:block;font-weight:600;color:#777;margin-bottom:6px}
.cart-table img{max-width:120px}
}
@media (max-width:600px){.order-container{padding:20px}
.order-item{flex-direction:column;text-align:center}
.order-item-img img{width:160px;height:160px}
.order-item{border-bottom:1px solid #eee;padding-bottom:20px}
}
@media (max-width:480px){
.bottom-right .item{width:100%;height:300px}
.middle .item{height:400px}
.product-image{height:250px}
.product-title{font-size:18px}
.categories-grid{grid-template-columns:1fr}
}
