/* Mobile usability fixes, 2026-11-29. Native table and form data are preserved. */
.msd-price-cards__label{display:none}
.msd-consent-row{display:grid;grid-template-columns:44px minmax(0,1fr);gap:8px;align-items:start;margin:16px 0 0;min-width:0;font-size:13px;line-height:1.5}
.msd-consent-row .msd-consent-toggle{display:flex;align-items:center;justify-content:center;width:44px;height:44px;margin:0;padding:0;cursor:pointer}
.msd-consent-row input[name=conf]{position:static!important;float:none!important;width:18px!important;height:18px!important;min-width:18px;margin:0!important;flex:none;cursor:pointer}
.msd-consent-copy{min-width:0;padding:12px 0 0}.msd-consent-copy label{display:inline-block;max-width:100%;vertical-align:top;margin:0;font:inherit;cursor:pointer}
.msd-consent-copy a{white-space:normal!important;overflow-wrap:anywhere;text-underline-offset:3px}
.msd-consent-toggle:focus-within{outline:2px solid #2767c5;outline-offset:-2px;border-radius:4px}
#formModal .btn-close,#cookieMessageContainer .btn-close{box-sizing:border-box;width:44px;height:44px;padding:0;flex:0 0 44px;background-size:16px}
#carouselUslugaTop .carousel-control-prev,#carouselUslugaTop .carousel-control-next{min-width:44px;min-height:44px}
.msd-reviews{min-width:0;max-width:100%;overflow-x:clip}
.msd-reviews__track,.msd-reviews__own-grid{min-width:0;max-width:100%}
.msd-reviews__controls{flex-wrap:wrap}.msd-reviews__dots{gap:8px;flex-wrap:wrap;min-width:0;max-width:100%}
.msd-reviews__dots button{flex:0 0 44px;width:44px;height:44px}
[data-msd-mobile-page="stati/kleshch"] main ol li{max-width:100%;overflow-wrap:anywhere;display:flow-root}
[data-msd-mobile-page="stati/kleshch"] main ol li :is(div,p){max-width:100%;box-sizing:border-box}
[data-msd-mobile-page="stati/kleshch"] main ol li img{max-width:calc(100% - 20px)!important;height:auto!important;box-sizing:border-box}
@media(max-width:768px){
 #cookieMessageContainer .cookie-notice{padding:8px!important;max-width:100%;z-index:1050}
 #cookieMessageContainer .cookie-notice .cn-body{display:grid;grid-template-columns:minmax(0,1fr) auto 44px;gap:8px;align-items:center;padding:8px!important}
 #cookieMessageContainer .cookie-notice .cn-body p{grid-column:1;grid-row:1;margin:0!important;font-size:12px!important;line-height:1.35;font-weight:400!important}
 #cookieMessageContainer .cookie-notice .cn-body a{white-space:normal}
 #cookieMessageContainer .cookie-notice__ok-btn{grid-column:2;grid-row:1;min-height:44px;padding:8px!important;font-size:13px!important;line-height:1.2}
 #cookieMessageContainer .cookie-notice .cn-body .close{position:static;grid-column:3;grid-row:1;margin:0}
}
@media(max-width:576px){
 [data-msd-mobile-page=tseny] .cena-table:not(.msd-price-cards){width:100%;table-layout:fixed}
 [data-msd-mobile-page=tseny] .cena-table:not(.msd-price-cards) :is(th,td){overflow-wrap:anywhere}
 table.msd-price-cards{display:block;width:100%;max-width:100%;border:0;margin:0 0 24px}
 table.msd-price-cards :is(tbody,thead){display:block;width:100%}
 table.msd-price-cards .msd-price-cards__head{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
 table.msd-price-cards tr:not(.msd-price-cards__head){display:block;margin:0 0 16px;border:1px solid #ddd;border-radius:8px;overflow:hidden;background:#fff}
 table.msd-price-cards tr:not(.msd-price-cards__head)>:is(td,th){display:block;width:auto;border:0;border-bottom:1px solid #eee;padding:12px 16px;background:#fff;color:#292929;text-align:left!important;overflow-wrap:anywhere}
 table.msd-price-cards tr:not(.msd-price-cards__head)>:first-child{background:#f6f6f6;font-weight:600}
 table.msd-price-cards tr:not(.msd-price-cards__head)>:last-child{border-bottom:0}
 table.msd-price-cards td p{margin:0;text-align:left!important;color:inherit!important}
 table.msd-price-cards .msd-price-cards__label{display:block;margin:0 0 4px;font-size:13px;line-height:1.4;font-weight:400;color:#626262}
}
@media(max-width:576px){body[data-msd-mobile-page=tseny] table.msd-price-cards tr:not(.msd-price-cards__head) td p{color:#292929!important}}
/* The legacy roof-drying gallery arrows must stay inside the page bounds. */
[data-msd-mobile-page="sushka-krovli"] .fotogalery-layout #myCarousel_181 .f-button.is-prev{left:0}
[data-msd-mobile-page="sushka-krovli"] .fotogalery-layout #myCarousel_181 .f-button.is-next{right:0}
