/* Four additional product photos per row on every screen size. */
#image-block [data-product-gallery] .dg-product-thumbnails{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;width:100%;margin-top:10px;box-sizing:border-box}
#image-block [data-product-gallery] .dg-product-thumbnails>a.small_img{display:block;float:none;clear:none;width:100%;max-width:none;min-width:0;margin:0;box-sizing:border-box}
#image-block [data-product-gallery] .dg-product-thumbnails>a.small_img img{display:block;width:100%!important;height:auto!important;box-sizing:border-box}
#image-block [data-product-gallery] .dg-product-thumbnails>.clear{display:none}
.dg-product-mobile-bar,.dg-product-mobile-space{display:none}
@media(max-width:760px){
 [data-product-gallery]{display:flow-root;width:100%;min-width:0}
 form[data-product-mobile]{display:block;clear:both;width:100%;min-width:0;box-sizing:border-box;margin:16px 0 20px}
 form[data-product-mobile] .params_holder{box-sizing:border-box;margin:0 0 16px;padding:18px 14px;border:1px solid #e5e7eb;border-radius:14px;box-shadow:0 4px 18px #20263212}
 form[data-product-mobile] .params_title{font-size:18px;font-weight:700}
 form[data-product-mobile] select{box-sizing:border-box;width:100%;max-width:100%;min-height:46px;font-size:16px}
 form[data-product-mobile] .buttons_bottom_block{float:none!important;width:100%;clear:both}
 form[data-product-mobile] [name=add_to_cart]{box-sizing:border-box;width:100%;max-width:100%;min-height:46px;font-size:16px;white-space:normal}
 form[data-product-mobile] .dg-product-mobile-attention{outline:3px solid #f27624;outline-offset:3px}
 .dg-product-mobile-bar:not([hidden]){position:fixed;z-index:11000;bottom:0;left:0;right:0;display:block;box-sizing:border-box;padding:10px 14px calc(10px + env(safe-area-inset-bottom,0px));background:#fff;border-top:1px solid #f0dccb;box-shadow:0 -5px 24px #2026321a}
 .dg-product-mobile-add{display:block;box-sizing:border-box;width:100%;min-height:46px;border:0;border-radius:11px;padding:12px 16px;background:linear-gradient(115deg,#fa862c,#f36812);color:#fff;font:700 16px/1.3 Arial,sans-serif;text-align:center;cursor:pointer}
 .dg-product-mobile-add:disabled{opacity:.6;cursor:wait}
 html.dg-product-mobile-bar-visible .dg-product-mobile-space{display:block;height:var(--dg-product-mobile-bar-height,66px)}
 html.dg-product-mobile-bar-visible #back-top{bottom:calc(var(--dg-product-mobile-bar-height,66px) + 16px)!important}
}
@media print{.dg-product-mobile-bar,.dg-product-mobile-space{display:none!important}}

.dg-product-mobile-price{display:none}
@media(max-width:760px){
 .dg-product-mobile-price:not([hidden]){position:fixed;z-index:11000;left:0;right:0;display:flex;align-items:center;gap:10px;box-sizing:border-box;min-height:58px;padding:8px 14px;background:#fff;border-bottom:1px solid #f0dccb;box-shadow:0 4px 12px #20263212;color:#202632;font-family:Arial,sans-serif}
 .dg-product-mobile-price img{display:block;flex:0 0 40px;width:40px;height:40px;object-fit:contain;border:1px solid #e4e7ec;border-radius:7px;background:#fff}
 .dg-product-mobile-price>div{min-width:0}
 .dg-product-mobile-price-label{display:block;font-size:11px;line-height:1.3;color:#657080}
 .dg-product-mobile-price-value{display:block;font-size:20px;line-height:1.25;font-weight:800;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
}
@media print{.dg-product-mobile-price{display:none!important}}

.dg-product-mobile-price img[hidden]{display:none}

@media(max-width:760px){
 .dg-product-mobile-price>div{flex:1 1 auto}
 .dg-product-mobile-price-buy{flex:0 0 auto;min-width:60px;min-height:40px;box-sizing:border-box;padding:9px 12px;border:1px solid #ed6d16;border-radius:9px;background:linear-gradient(115deg,#fa862c,#f36812);color:#fff;font:700 14px/1.25 Arial,sans-serif;cursor:pointer}
 .dg-product-mobile-price-buy:focus-visible{outline:3px solid #9d430c;outline-offset:2px}
 .dg-product-mobile-price-buy:disabled{opacity:.5;cursor:wait}
}
