.s49-promo{display:inline-flex;flex-direction:column;align-items:flex-start;gap:4px;line-height:1.15;vertical-align:middle;white-space:nowrap}
.s49-promo__badge{display:inline-block;background:#b42318;color:#fff!important;padding:4px 9px;border-radius:999px;font:700 11px/1.1 Arial,sans-serif;letter-spacing:.02em;text-transform:none}
.s49-promo__old{color:#777;font-size:.85em;font-weight:400;text-decoration:line-through;text-decoration-thickness:1px}
.s49-promo__new{color:#29251f;font-size:1.08em;font-weight:800}
:is(.rem_property,.rem-results-box) .landz-box-property.box-list{display:grid!important;grid-template-columns:minmax(170px,1.3fr) minmax(230px,1.5fr) minmax(145px,1fr) minmax(125px,1fr) 100px;gap:12px;align-items:center;min-height:64px;height:auto!important;padding:12px!important}
:is(.rem_property,.rem-results-box) .landz-box-property.box-list>a{grid-column:1;grid-row:1;min-width:0}
:is(.rem_property,.rem-results-box) .landz-box-property.box-list .title{position:static!important;display:block!important;width:auto!important;height:auto!important;float:none!important;margin:0!important;line-height:1.3!important;font-size:22px!important}
:is(.rem_property,.rem-results-box) .landz-box-property.box-list>.detail.inline-property-icons{grid-column:2;grid-row:1;position:static!important;display:grid;grid-template-columns:minmax(60px,1fr) minmax(60px,1fr) minmax(90px,1.5fr);align-items:center;width:auto!important;margin:0!important;float:none}
:is(.rem_property,.rem-results-box) .landz-box-property.box-list>.detail.inline-property-icons .rem-info{display:block;width:auto!important;margin:0;padding:0 7px;min-width:0;text-align:center}
:is(.rem_property,.rem-results-box) .landz-box-property.box-list .inline-property-icons :is(.box-field-label,.box-field-value){display:block;line-height:1.4}
:is(.rem_property,.rem-results-box) .landz-box-property.box-list>span.price{grid-column:3;grid-row:1;position:static!important;height:auto!important;width:auto!important;padding:0!important;margin:0!important;transform:none!important;color:#555!important;background:transparent!important;text-align:left!important;font-size:15px!important;line-height:1.2!important;white-space:normal}
:is(.rem_property,.rem-results-box) .landz-box-property.box-list>span.price:before{display:block;content:'Cena brutto:';font-size:12px;line-height:1.2;white-space:normal;margin-bottom:5px}
:is(.rem_property,.rem-results-box) .landz-box-property.box-list>.rem-sale-ribbon-2{grid-column:4;grid-row:1;position:static!important;width:100%!important;max-width:100%;height:auto!important;margin:0!important;transform:none!important}
:is(.rem_property,.rem-results-box) .landz-box-property.box-list>.footer-buttons{grid-column:5;grid-row:1;position:static!important;margin:0!important;float:none!important}
:is(.rem_property,.rem-results-box) .landz-box-property.box-list>.footer-buttons .btn{white-space:nowrap;padding-left:12px;padding-right:12px}
:is(.rem_property,.rem-results-box) .landz-box-property.box-list:has(.s49-promo){min-height:112px}
#property-content .large-price:has(.s49-promo){position:static!important;display:block;width:auto;height:auto;margin:10px 0 18px;padding:0;background:transparent!important;color:#555;line-height:1.25;float:none}
#property-content .large-price:has(.s49-promo):before{display:block;font-size:14px;margin-bottom:6px}
@media(max-width:1023px){
:is(.rem_property,.rem-results-box) .landz-box-property.box-list{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px!important;min-height:0!important;margin-bottom:16px!important}
:is(.rem_property,.rem-results-box) .landz-box-property.box-list>a{grid-column:1/-1;grid-row:1}
:is(.rem_property,.rem-results-box) .landz-box-property.box-list>.detail.inline-property-icons{grid-column:1/-1;grid-row:2;justify-content:flex-start}
:is(.rem_property,.rem-results-box) .landz-box-property.box-list>span.price{grid-column:1;grid-row:3}
:is(.rem_property,.rem-results-box) .landz-box-property.box-list>.rem-sale-ribbon-2{grid-column:2;grid-row:3}
:is(.rem_property,.rem-results-box) .landz-box-property.box-list>.footer-buttons{grid-column:1/-1;grid-row:4;justify-self:start}
:is(.rem_property,.rem-results-box).rem_property.type-rem_property{margin-bottom:16px!important}
}
@media(max-width:400px){:is(.rem_property,.rem-results-box) .landz-box-property.box-list{gap:12px 8px!important}:is(.rem_property,.rem-results-box) .landz-box-property.box-list>.detail.inline-property-icons .rem-info{padding:0 6px;font-size:14px}:is(.rem_property,.rem-results-box) .landz-box-property.box-list .title{font-size:21px!important}}

/* Grid cards: keep both prices and the details link within an expanding footer. */
.landz-box-property.box-home.s49-grid-card>.footer{display:flex!important;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:14px 10px;background:#9b8c7a!important;height:auto!important;min-height:124px;padding:16px!important}
.landz-box-property.box-home.s49-grid-card>.footer>.price{position:static!important;float:none!important;display:block!important;width:auto!important;height:auto!important;margin:0!important;padding:0!important;background:transparent!important;font-size:20px!important;line-height:1.2!important;transform:none!important}
.landz-box-property.box-home.s49-grid-card>.footer>.price:before,.landz-box-property.box-home.s49-grid-card>.footer>.price:after{display:none!important}
.landz-box-property.box-home.s49-grid-card .s49-promo__old{color:#fff;font-size:16px}
.landz-box-property.box-home.s49-grid-card .s49-promo__new{color:#fff;font-size:22px}
.landz-box-property.box-home.s49-grid-card>.footer>.footer-buttons{position:static!important;float:none!important;margin:0!important;padding:0!important;flex-shrink:0}
.landz-box-property.box-home.s49-grid-card>.footer>.footer-buttons .btn{white-space:nowrap;padding:8px 0!important}

/* Mixed sold/available cards use aligned rows instead of floating around taller cards. */
.ich-settings-main-wrap .row:has(>.rem_property>.s49-grid-card),.row:has(>.rem-results-box>.s49-grid-card){display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));align-items:stretch;row-gap:30px;height:auto!important}
.ich-settings-main-wrap .row:has(>.rem_property>.s49-grid-card)::before,.ich-settings-main-wrap .row:has(>.rem_property>.s49-grid-card)::after,.row:has(>.rem-results-box>.s49-grid-card)::before,.row:has(>.rem-results-box>.s49-grid-card)::after{display:none!important}
:is(.rem_property,.rem-results-box):has(>.s49-grid-card){width:100%!important;float:none!important;position:relative!important;left:auto!important;top:auto!important;transform:none!important;margin-bottom:0!important;display:flex!important;min-width:0}
.landz-box-property.box-home.s49-grid-card{display:flex;flex-direction:column;flex:1;min-width:0;margin-bottom:0!important;padding-bottom:0!important}
.landz-box-property.box-home.s49-grid-card>.image{flex-shrink:0}
.landz-box-property.box-home.s49-grid-card>.footer{margin-top:auto!important;flex-shrink:0}
@media(min-width:768px) and (max-width:1199px){.ich-settings-main-wrap .row:has(>.rem_property>.s49-grid-card),.row:has(>.rem-results-box>.s49-grid-card){grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:767px){.ich-settings-main-wrap .row:has(>.rem_property>.s49-grid-card),.row:has(>.rem-results-box>.s49-grid-card){grid-template-columns:minmax(0,1fr)}}
.landz-box-property.box-home.s49-grid-card>.footer>.footer-buttons{margin-left:auto!important}
