/* PRO Dveri: product grids, desktop 4 / mobile 2 */
#allrecords .t-store__card-list,
#allrecords .t-catalog__card-list_style_tile {
 display:grid !important;
 grid-template-columns:repeat(4,minmax(0,1fr)) !important;
 column-gap:20px !important;
 row-gap:40px !important;
}
#allrecords .t-store__card-list > .t-store__card,
#allrecords .t-catalog__card-list_style_tile > .t-catalog__card {
 width:100% !important; max-width:100% !important; min-width:0 !important;
 margin-left:0 !important; margin-right:0 !important; box-sizing:border-box;
}
#allrecords .t-store__card-list::before,
#allrecords .t-store__card-list::after,
#allrecords .t-catalog__card-list_style_tile::before,
#allrecords .t-catalog__card-list_style_tile::after,
#allrecords .t-store__card-list > .t-clear { display:none !important; }
@media screen and (max-width:959px) {
 #allrecords .t-store__card-list,
 #allrecords .t-catalog__card-list_style_tile {
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  column-gap:15px !important; row-gap:30px !important;
 }
}

/* Entrance doors: equal photo frames on desktop and mobile, no cropping */
#allrecords:is([data-tilda-page-id="155443593"],[data-tilda-page-id="155976523"]) .t-store__card-list .t-store__card__imgwrapper {
 position:relative !important; display:block !important;
 height:0 !important; padding-bottom:153.846153846% !important;
 overflow:hidden !important;
}
#allrecords:is([data-tilda-page-id="155443593"],[data-tilda-page-id="155976523"]) .t-store__card-list .t-store__card__imgwrapper > img {
 position:absolute !important; inset:0 !important;
 width:100% !important; height:100% !important; max-width:100% !important; max-height:100% !important;
 margin:0 !important; transform:none !important;
 object-fit:contain !important; object-position:center top !important;
}

/* Interior doors: same vertical photo frame as Novyi Styl, compact rows */
#allrecords:is([data-tilda-page-id="8282365"],[data-tilda-page-id="64985919"]) .t-store__card__imgwrapper,
#allrecords:is([data-tilda-page-id="8282365"],[data-tilda-page-id="64985919"]) .t-catalog__card__imgwrapper {
 position:relative !important; display:block !important; height:0 !important;
 padding-bottom:153.846153846% !important; aspect-ratio:auto !important;
 border-radius:0 !important; overflow:hidden !important;
}
#allrecords:is([data-tilda-page-id="8282365"],[data-tilda-page-id="64985919"]) .t-store__card__imgwrapper > img,
#allrecords:is([data-tilda-page-id="8282365"],[data-tilda-page-id="64985919"]) .t-catalog__card__imgwrapper > img {
 position:absolute !important; inset:0 !important; width:100% !important; height:100% !important;
 max-width:100% !important; max-height:100% !important; margin:0 !important; transform:none !important;
 object-fit:contain !important; object-position:center top !important;
}
#allrecords:is([data-tilda-page-id="8282365"],[data-tilda-page-id="64985919"]) .t-store__card-list,
#allrecords:is([data-tilda-page-id="8282365"],[data-tilda-page-id="64985919"]) .t-catalog__card-list_style_tile {row-gap:10px !important;}
#allrecords:is([data-tilda-page-id="8282365"],[data-tilda-page-id="64985919"]) .t-store__card-list > .t-store__card,
#allrecords:is([data-tilda-page-id="8282365"],[data-tilda-page-id="64985919"]) .t-catalog__card-list_style_tile > .t-catalog__card {margin-top:0 !important;margin-bottom:0 !important;}

/* Compact spacing between interior catalogue headings and products */
#allrecords:is([data-tilda-page-id="8282365"],[data-tilda-page-id="64985919"]) > .r[data-record-type="128"] {padding-top:12px !important;padding-bottom:0 !important;}
#allrecords:is([data-tilda-page-id="8282365"],[data-tilda-page-id="64985919"]) > .r:has(.t-store__card-list),
#allrecords:is([data-tilda-page-id="8282365"],[data-tilda-page-id="64985919"]) > .r:has(.t-catalog__card-list_style_tile) {padding-top:8px !important;padding-bottom:8px !important;}
#allrecords:is([data-tilda-page-id="8282365"],[data-tilda-page-id="64985919"]) .t-section__title {margin-bottom:12px !important;}
#allrecords:is([data-tilda-page-id="8282365"],[data-tilda-page-id="64985919"]) .pd-brand-status {margin:8px auto !important;}
#allrecords:is([data-tilda-page-id="8282365"],[data-tilda-page-id="64985919"]) .pd-brand-status h2 {margin:0 !important;}
#allrecords:is([data-tilda-page-id="8282365"],[data-tilda-page-id="64985919"]) > :is(#rec143800950,#rec895892848) {padding-top:8px !important;padding-bottom:8px !important;}
#allrecords:is([data-tilda-page-id="8282365"],[data-tilda-page-id="64985919"]) > :is(#rec143798509,#rec895892845) {padding-top:100px !important;padding-bottom:0 !important;}
#allrecords:is([data-tilda-page-id="8282365"],[data-tilda-page-id="64985919"]) > :is(#rec171067047,#rec895892890) {padding:0 !important;height:0 !important;overflow:hidden !important;}
#allrecords:is([data-tilda-page-id="8282365"],[data-tilda-page-id="64985919"]) > :is(#rec261284703,#rec895892851) {padding-top:8px !important;}

/* Interior enquiry buttons match entrance doors */
#allrecords:is([data-tilda-page-id="8282365"],[data-tilda-page-id="64985919"]) :is(.t-catalog__prod-popup__btn,.t-store__prod-popup__btn,.t706 .t-submit),
:is(#rec5720934703,#rec5720963203,#rec5713782603,#rec5713656703) .t-catalog__prod-popup__btn {
 background-color:#785532 !important;color:#fff !important;border:0 !important;border-radius:5px !important;
 font-size:14px !important;font-weight:600 !important;line-height:1.4 !important;
 padding:12.7px 30px !important;min-height:45px !important;box-sizing:border-box !important;box-shadow:none !important;
}
@media(hover:hover){
 #allrecords:is([data-tilda-page-id="8282365"],[data-tilda-page-id="64985919"]) :is(.t-catalog__prod-popup__btn,.t-store__prod-popup__btn,.t706 .t-submit):hover,
 :is(#rec5720934703,#rec5720963203,#rec5713782603,#rec5713656703) .t-catalog__prod-popup__btn:hover {background-color:#2121ff !important;}
}
