.kvp-notice { clear:both; margin:12px 0; padding:10px 12px; border:1px solid #b9dbe3; background:#f4fafb; color:#234; line-height:1.45; overflow-wrap:anywhere; }
.kvp-error { border-color:#c66; background:#fff3f3; color:#8c1717; }
.kvp-policy { clear:both; margin:10px 0; padding:6px 0; line-height:1.5; }
.kvp-policy select { display:block; max-width:100%; width:auto; height:auto; min-height:32px; }
.kvp-mode { display:block; width:100%; max-width:100%; height:auto; min-height:30px; margin:5px 0; box-sizing:border-box; font-size:14px; }
.cal-price-row .kvp-mode { flex:0 0 100%; }
.cal_cen_right .cal-price-row { flex-wrap:wrap; height:auto; }
.cal_cen_right p:has(.kvp-mode) { height:auto; overflow:visible; }
.kvp-price-condition { display:block; font-size:12px; line-height:1.25; font-weight:normal; white-space:normal; }
.kvp-calendar-help { clear:both; font-size:14px; line-height:1.45; margin:10px 0; }
@media (max-width:767px) {
  .kvp-mode,.kvp-policy select { font-size:16px; }
  .kvp-policy { width:100%; box-sizing:border-box; }
  .kvp-notice { max-width:100%; box-sizing:border-box; }
}
/* Long labels must grow with their text, including the 320px layout. */
.cal-price-row { display:flex; flex-wrap:wrap; align-items:center; gap:6px; height:auto!important; min-height:0; }
.cal-price-row .cc { flex:1 1 130px; width:auto!important; height:auto!important; min-height:0; margin:0; float:none!important; line-height:1.35!important; white-space:normal; }
.cal-price-row input { flex:0 1 110px; max-width:100%; margin:0!important; float:none!important; box-sizing:border-box; }
.cal-price-row .kvp-mode { flex:0 0 100%; margin:0 0 6px; }
.kvp-policy label { display:block; height:auto!important; line-height:1.4!important; white-space:normal; }
/* Desktop cards grow only when price conditions need the space. Mobile is unchanged. */
.catalog-items > .item-l.kvp-priced-desktop { display:flex; height:auto; min-height:270px; align-items:stretch; }
.catalog-items > .item-l.kvp-priced-desktop > .iteminfo { position:relative; left:auto; top:auto; bottom:auto; height:auto; flex:0 0 570px; }
.catalog-items > .item-l.kvp-priced-desktop > .kv_imgs { flex:0 0 320px; height:auto; min-height:260px; max-height:none; align-self:stretch; }
.catalog-items > .item-l.kvp-priced-desktop > .kv_imgs img { height:100%; object-fit:cover; }
.catalog-items > .item-l.kvp-priced-desktop .itemceny .cena { vertical-align:top; }
