/* Compact phone layout; desktop sizes stay unchanged. */
@media(max-width:767px){
 body.matjarkom-next{font-size:13px;line-height:1.65}
 body.matjarkom-next .container{width:100%;padding-inline:14px}
 body.matjarkom-next header{padding:10px 0}
 body.matjarkom-next header .col-sm-5{padding-top:10px}
 body.matjarkom-next #logo img{max-height:46px;max-width:105px}
 body.matjarkom-next #search .form-control,body.matjarkom-next #search .btn,body.matjarkom-next #cart>.btn{height:44px}
 body.matjarkom-next #search .btn{padding:8px 15px}
 body.matjarkom-next #top{padding:3px 0}
 body.matjarkom-next #top-links li{padding-inline:7px}
 body.matjarkom-next #top-links li>a{display:inline-flex;align-items:center;min-height:36px}
 body.matjarkom-next #menu{min-height:44px;margin-bottom:10px;padding:0 10px}
 body.matjarkom-next #menu #category{font-size:15px;padding-block:10px}
 body.matjarkom-next #menu .btn-navbar{padding:7px 12px;margin-block:5px;min-height:34px}
 body.matjarkom-next h1{font-size:21px;margin:12px 0 16px}
 body.matjarkom-next h2{font-size:19px}
 body.matjarkom-next .breadcrumb{margin:3px 0 12px;padding-block:5px;line-height:1.8}
 body.matjarkom-next .breadcrumb>li{font-size:11px;padding-inline:8px}
 body.matjarkom-next .btn{padding:9px 13px;font-size:13px;min-height:42px;border-radius:8px}
 body.matjarkom-next .form-control{height:44px;font-size:16px}
 body.matjarkom-next textarea.form-control{height:auto;min-height:80px;font-size:14px}
 body.matjarkom-next .form-group{margin-bottom:13px}
 body.matjarkom-next label{margin-bottom:4px}
 body.matjarkom-next legend{padding-bottom:8px;margin-bottom:14px;font-size:16px}
 body.matjarkom-next .well,body.matjarkom-next .panel-body{padding:16px;border-radius:12px}
 body.matjarkom-next .well{margin-bottom:14px}
 body.matjarkom-next .well h2{font-size:20px;margin-bottom:12px}
 body.matjarkom-next .buttons{margin:16px 0}
 body.matjarkom-next .panel-default>.panel-heading{padding:12px 15px}
 body.matjarkom-next .list-group-item{padding:11px 14px}
 body.matjarkom-next .product-thumb .caption{padding:10px;min-height:112px}
 body.matjarkom-next .product-thumb h4{margin-bottom:7px}
 body.matjarkom-next .product-thumb .image img{height:145px}
 body.matjarkom-next .product-thumb .button-group button{min-height:42px;line-height:42px}
 body.matjarkom-next #product-product #content>.row{padding:12px 0;margin-bottom:16px}
 body.matjarkom-next #product-product #product{margin-top:16px}
 body.matjarkom-next #button-cart{min-height:46px}
 body.matjarkom-next #product-product .nav-tabs{margin-top:16px}
 body.matjarkom-next #product-product .nav-tabs>li>a{padding:10px 12px}
 body.matjarkom-next .tab-content{padding:16px 0;line-height:1.85}
 body.matjarkom-next #information-information #content{padding:16px;line-height:1.9}
 body.matjarkom-next footer{margin-top:24px;padding-top:24px}
 body.matjarkom-next footer h5{font-size:14px;margin-bottom:10px}
 body.matjarkom-next footer a{line-height:2.2;font-size:12px}
 body.matjarkom-next footer .col-sm-3{min-height:155px}
 body.matjarkom-next .next-home .hero{margin-top:10px;border-radius:16px;min-height:0}
 body.matjarkom-next .next-home .hero-copy{padding:20px}
 body.matjarkom-next .next-home .hero h1{font-size:29px;line-height:1.4;margin:10px 0 12px}
 body.matjarkom-next .next-home .hero p{font-size:12px;line-height:1.8;margin-bottom:8px}
 body.matjarkom-next .next-home .hero-buttons{gap:12px;margin-top:16px;flex-wrap:wrap}
 body.matjarkom-next .next-home .button{padding:10px 14px;min-height:42px;font-size:12px;gap:8px;border-radius:9px}
 body.matjarkom-next .next-home .hero-foot{margin-top:18px;gap:9px}
 body.matjarkom-next .next-home .hero-visual{padding:12px 40px 58px;min-height:230px}
 body.matjarkom-next .next-home .hero-product{max-width:205px}
 body.matjarkom-next .next-home .hero-circle{width:215px;height:215px}
 body.matjarkom-next .next-home .hero-product-label{bottom:14px;inset-inline:16px;padding:10px 12px;gap:10px}
 body.matjarkom-next .next-home .section{padding-top:24px}
 body.matjarkom-next .next-home .section-head{margin-bottom:14px;gap:10px}
 body.matjarkom-next .next-home .section-head h2{font-size:19px;margin-top:5px}
 body.matjarkom-next .next-home .categories{gap:12px 8px}
 body.matjarkom-next .next-home .category-art{height:80px;margin-bottom:7px}
 body.matjarkom-next .next-home .category-art img{width:70px;height:70px}
 body.matjarkom-next .next-home .product-grid{gap:9px}
 body.matjarkom-next .next-home .product-image{padding:8px}
 body.matjarkom-next .next-home .product-content{padding:2px 9px 10px}
 body.matjarkom-next .next-home .product-content h3{font-size:12px;line-height:1.6;height:40px;margin:5px 0 8px}
 body.matjarkom-next .next-home .card-open{width:42px;height:42px}
 body.matjarkom-next .next-home .editorial{padding:20px;gap:12px;margin-top:24px;border-radius:14px}
 body.matjarkom-next .next-home .editorial h2{font-size:20px;margin-bottom:10px}
 body.matjarkom-next .next-home .app-strip{padding:18px;margin:24px 0;gap:14px}
 body.matjarkom-next .next-checkout-layout{gap:14px}
 body.matjarkom-next .next-checkout-summary{padding:13px 15px}
 body.matjarkom-next .next-checkout-heading{margin-bottom:16px}
 body.matjarkom-next .next-checkout-section{padding:17px 0}
 body.matjarkom-next .next-checkout-section h2{font-size:16px;margin-bottom:14px}
 body.matjarkom-next .next-method{padding:11px 12px!important;margin:7px 0!important;gap:9px;min-height:44px}
 body.matjarkom-next .next-onepage #next-place-order{padding:12px;font-size:15px;min-height:46px;margin:12px 0 18px}
 body.matjarkom-next .next-onepage #next-checkout-agreement{margin-top:14px}
 body.matjarkom-next .next-onepage .next-address-grid{column-gap:10px}
}

@media(max-width:767px){
 body.matjarkom-next #product-product .next-product-buybar{position:fixed;bottom:0;left:0;right:0;z-index:1030;background:#fff;border-top:1px solid #e4e9e5;box-shadow:0 -4px 18px #18342d12;padding:10px 14px calc(10px + env(safe-area-inset-bottom,0px));}
 body.matjarkom-next #product-product .next-product-buybar #button-cart{margin:0;min-height:46px;width:100%;font-size:15px;border-radius:10px;}
 body.matjarkom-next #product-product~footer{padding-bottom:calc(90px + env(safe-area-inset-bottom,0px));}
}

.next-buy-quantity{margin-bottom:15px}.next-quantity-step{display:none}
@media(max-width:767px){
 body.matjarkom-next #product-product .next-product-buybar{display:flex;align-items:center;gap:10px;}
 body.matjarkom-next #product-product .next-product-buybar #button-cart{flex:1;min-width:0;width:auto;font-size:14px;padding-inline:10px;}
 body.matjarkom-next .next-buy-quantity{flex:0 0 132px;width:132px;margin:0;}
 body.matjarkom-next .next-buy-quantity>label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;}
 body.matjarkom-next .next-quantity-controls{display:flex;align-items:center;height:46px;border:1px solid #dbe3dc;border-radius:10px;overflow:hidden;background:#f6f8f5;}
 body.matjarkom-next .next-quantity-step{display:flex;align-items:center;justify-content:center;flex:0 0 42px;width:42px;height:44px;padding:0;border:0;background:transparent;color:#d6601d;font-size:23px;line-height:1;touch-action:manipulation;}
 body.matjarkom-next .next-quantity-step:disabled{color:#a3aca5;cursor:default;}
 body.matjarkom-next .next-buy-quantity #input-quantity{flex:1;min-width:0;width:46px;height:44px;padding:0 2px;margin:0;text-align:center;border:0;border-radius:0;background:#fff;font-size:16px;font-weight:700;box-shadow:none;}
}
