/* BZ_KARAM_POLISH v1 — additive only, scoped to body.tpl-karam */

/* 1) Inner pages (any page with the page-title banner): compact header.
      Hide the big delivery/support strip and the duplicate banner search. */
body.tpl-karam:has(.km-page-title) .km-header__benefits{display:none!important}
body.tpl-karam:has(.km-page-title) .km-header__panel{padding-top:8px!important;padding-bottom:8px!important}
body.tpl-karam .km-page-title .km-search{display:none!important}
body.tpl-karam .km-page-title{padding-top:14px!important;padding-bottom:14px!important;min-height:0!important}

/* 2) Redundant category filter (only "All" + one sub-category): hide and widen the grid. */
body.tpl-karam .km-listing .row:has(.km-side__list li:nth-child(2):last-child) > .col-lg-3{display:none!important}
body.tpl-karam .km-listing .row:has(.km-side__list li:nth-child(2):last-child) > .col-lg-9{flex:0 0 100%!important;max-width:100%!important}
@media(min-width:992px){
  body.tpl-karam .km-listing .row:has(.km-side__list li:nth-child(2):last-child) .km-grid > [class*="col-md-4"]{flex:0 0 25%;max-width:25%}
}

/* 3) Drawer category names: show full name instead of cutting it. */
body.tpl-karam .km-drawer__category [class*="km-drawer__category-"]:not(.km-drawer__category-media){
  white-space:normal!important;overflow:visible!important;text-overflow:clip!important;
  -webkit-line-clamp:unset!important;line-clamp:unset!important;max-height:none!important;line-height:1.35!important}

/* 4) Lazy images: neutral placeholder so unloaded cards never look broken. */
body.tpl-karam img[loading="lazy"]{background:#f3f1ec}
body.tpl-karam .km-card__img{background:#f3f1ec;min-height:120px}

/* BZ_ICON_FIX — force the icon font on every page (checkout showed empty squares) */
body.tpl-karam .bx,body.tpl-karam .bxs,body.tpl-karam .bxl,
body.tpl-karam i[class^="bx"],body.tpl-karam i[class*=" bx-"],body.tpl-karam i[class*=" bxs-"]{
  font-family:'boxicons'!important;font-style:normal!important;font-weight:400!important;
  font-variant:normal!important;text-transform:none!important;line-height:1;
  -webkit-font-smoothing:antialiased;display:inline-block}

/* BZ_AREA_SUMMARY — delivery area summary on checkout */
body.tpl-karam .bz-area-sum{display:flex;align-items:center;gap:12px;margin:0 0 14px;padding:12px 14px;border:1px solid #eadfb8;border-radius:14px;background:#fffaf0}
body.tpl-karam .bz-area-sum__pin{font-size:20px;line-height:1}
body.tpl-karam .bz-area-sum__txt{flex:1;display:flex;flex-direction:column;gap:2px;min-width:0}
body.tpl-karam .bz-area-sum__txt small{font-size:11px;opacity:.65}
body.tpl-karam .bz-area-sum__txt b{font-size:14px;font-weight:800}
body.tpl-karam .bz-area-sum__chg{font-size:12px;font-weight:700;padding:6px 12px;border-radius:999px;background:#171717;color:#fff!important;text-decoration:none}
