/* Цементно-песчаная черепица: локальные дополнения к дизайну натуральной черепицы. */
html:has(#cement-page){height:auto!important;overflow-x:clip!important;overflow-y:auto!important;scroll-padding-top:80px}
body:has(#cement-page){height:auto!important;overflow:visible!important}
#lk-material-category .flow-hero__image .cement-hero-mosaic img{height:auto;aspect-ratio:1/1;object-fit:cover}
#lk-material-category .flow-hero__image:has(.cement-hero-mosaic){background:#173b51;border-color:#173b51}
#lk-material-category .cement-hero-mosaic{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:6px;background:#173b51}
#lk-material-category .cement-hero-mosaic figure{position:relative;margin:0;min-width:0;overflow:hidden;border-radius:6px;background:#0f2a3a}
#lk-material-category .cement-hero-mosaic img{display:block;width:100%;height:auto;aspect-ratio:1/1;object-fit:cover}
#lk-material-category .cement-hero-mosaic figcaption{position:absolute;left:0;right:0;bottom:0;padding:24px 10px 9px;background:linear-gradient(180deg,#0b223000,#0b2230e6);color:#fff;font-size:13px;line-height:1.35}
#lk-material-category .cement-hero-mosaic figcaption strong{display:block;font-size:14px}
#lk-material-category .cement-hero-note{margin:0;padding:9px 12px 10px;background:#173b51;color:#d7e6ee;font-size:14px}
#lk-material-category .cement-hero-note a{color:#ffd2b8;font-weight:700}
#lk-material-category #selection h1 .cement-h1-city{white-space:nowrap}
#lk-material-category .cement-color-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:26px 0 10px}
#lk-material-category .cement-color-card{margin:0;border:1px solid #c3d5df;border-radius:12px;overflow:hidden;background:#fff;box-shadow:0 4px 0 #d7e4ea}
#lk-material-category .cement-color-card img{display:block;width:100%;height:auto;aspect-ratio:1/1;object-fit:cover;background:#e8eff3}
#lk-material-category .cement-color-card figcaption{padding:10px 11px 12px;font-size:14px;line-height:1.4;color:#254b61}
#lk-material-category .cement-color-card figcaption strong{display:block;color:#173b51;font-size:15px}
#lk-material-category .cement-color-note{margin:16px 0 0;color:#456477;font-size:15px}
#lk-material-category .cement-filter-hidden{display:none}
#lk-material-category #natural-catalog.natural-product-grid{grid-template-columns:repeat(auto-fit,minmax(280px,340px));justify-content:center}
#lk-material-category .cement-accessory .natural-card__surface{padding:0;overflow:hidden}
#lk-material-category .cement-accessory .cement-accessory__image{display:flex;align-items:center;justify-content:center;height:170px;background:#eef4f7;overflow:hidden}
#lk-material-category .cement-accessory .cement-accessory__image img{display:block;width:100%;height:170px;object-fit:contain;padding:10px;box-sizing:border-box}
#lk-material-category .cement-accessory .cement-accessory__image--empty{color:#668c9d;background:linear-gradient(135deg,#eef4f7,#dfeaf0)}
#lk-material-category .cement-accessory .cement-accessory__image--empty svg{width:88px;height:88px}
#lk-material-category .cement-accessory .cement-accessory__body{padding:18px 20px 20px}
#lk-material-category .cement-accessory h3{margin:0 0 7px;font-size:17px;line-height:1.35;color:#173b51}
#lk-material-category .cement-accessory p{margin:0 0 10px;font-size:14px;line-height:1.55;color:#3c5c6d}
#lk-material-category .cement-accessory .cement-accessory__price{font-size:19px;font-weight:700;color:#173b51;margin:0 0 10px}
#lk-material-category .cement-accessory .cement-accessory__price small{font-size:13px;font-weight:400;color:#527183}
#lk-material-category .cement-accessory .cement-accessory__link{font-weight:700;color:#b4480f;text-decoration:none}
#lk-material-category .cement-accessory .cement-accessory__link:hover{text-decoration:underline}
#lk-material-category .closing.cement-cta{background:linear-gradient(120deg,#9c3411 0%,#bd4b17 55%,#d06825 100%);color:#fff;border-radius:18px;margin:34px auto;padding:34px 36px;box-shadow:0 18px 40px -24px #6d2508}
#lk-material-category .closing.cement-cta .eyebrow{color:#ffd8c4}
#lk-material-category .closing.cement-cta h2,#lk-material-category .closing.cement-cta p{color:#fff}
#lk-material-category .closing.cement-cta .muted{color:#ffe3d4}
#lk-material-category .closing.cement-cta .button.primary{background:#fff!important;color:#8d2f0d!important;border-color:#fff!important}
#lk-material-category .closing.cement-cta .button.primary:hover{background:#ffe9dc!important;border-color:#ffe9dc!important}
#lk-material-category #appearance .natural-toolbar .primary-button.lk-category-lead__cta{background:#c84d0d!important;color:#fff!important;border-color:#c84d0d!important}
#lk-material-category #appearance .natural-toolbar .primary-button.lk-category-lead__cta:hover{background:#a83c0b!important;color:#fff!important;border-color:#a83c0b!important}
#lk-material-category #appearance .natural-toolbar .primary-button.lk-category-lead__cta:focus-visible{outline:3px solid #ffd2b8;outline-offset:2px;background:#a83c0b!important;color:#fff!important;border-color:#a83c0b!important}
#lk-material-category .cement-source-note{font-size:13px;line-height:1.5;color:#5b7483;margin:14px 0 0}
/* Вводные абзацы: в natural.css им задано max-width:960px; на цементной
   растягиваем на всю ширину контента, чтобы справа не оставалось пустого поля. */
#lk-material-category .natural-intro{max-width:100%}
@media(max-width:900px){
 #lk-material-category .cement-color-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
 #lk-material-category .closing.cement-cta{padding:26px 22px}
}
@media(max-width:600px){
 #lk-material-category .breadcrumb{white-space:normal;overflow:visible;height:auto;line-height:1.45;padding-bottom:2px}
 #lk-material-category .breadcrumb a{white-space:normal}
 #lk-material-category .cement-hero-mosaic{grid-template-columns:1fr 1fr}
 #lk-material-category .cement-hero-mosaic figure:first-child{grid-column:1/-1}
 #lk-material-category .cement-hero-mosaic img{aspect-ratio:4/3}
 #lk-material-category .cement-hero-mosaic figure:first-child img{aspect-ratio:16/9}
 #lk-material-category #natural-catalog.natural-product-grid{grid-template-columns:1fr}
 #lk-material-category .cement-hero-mosaic figcaption{font-size:11px;padding:18px 7px 7px}
 #lk-material-category .cement-hero-mosaic figcaption strong{font-size:12px}
 #lk-material-category .cement-color-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 #lk-material-category .cement-color-card figcaption{padding:8px 9px 10px;font-size:13px}
}
