/* NG-CATALOG-03B: public package image ribbons and compact cards. */
.ng68-card .ng68-card-photo,.ngc2-card .ngc2-card-art{position:relative!important;isolation:isolate;overflow:hidden}
.ng68-card .ng68-card-photo{height:170px!important;min-height:170px!important}
.ngc2-card .ngc2-card-art{height:162px!important;min-height:162px!important}
.ng68-card .ng68-card-photo>img,.ngc2-card .ngc2-card-art>.ngc4-card-image{height:100%!important;width:100%!important;object-fit:cover!important}
.ng68-card .ng03b-badges,.ngc2-card .ng03b-badges{position:absolute!important;inset:9px 9px auto 9px;display:flex!important;align-items:flex-start;justify-content:space-between;gap:5px;z-index:12!important;pointer-events:none;text-align:left;font-family:inherit;line-height:1.15}
.ng68-card .ng03b-days,.ngc2-card .ng03b-days{display:inline-flex;align-items:center;max-width:53%;border-radius:6px;padding:7px 8px;background:rgba(7,31,61,.96);color:#fff!important;font-size:11px;font-weight:800;line-height:1.25;box-shadow:0 2px 7px rgba(0,0,0,.28);white-space:normal;overflow-wrap:normal;flex-shrink:1}
.ng68-card .ng03b-price,.ngc2-card .ng03b-price{display:flex!important;flex-direction:column;gap:3px;align-items:flex-end;max-width:58%;margin-left:auto;border-radius:7px;padding:7px 9px;background:#c52035!important;color:#fff!important;box-shadow:0 3px 10px rgba(0,0,0,.3);text-align:right;white-space:normal;overflow-wrap:anywhere;flex-shrink:1}
.ng68-card .ng03b-price strong,.ngc2-card .ng03b-price strong{display:block;color:#fff!important;font-size:clamp(11px,1.05vw,15px);line-height:1.17;font-weight:900;letter-spacing:-.015em}
.ng68-card .ng03b-price small,.ngc2-card .ng03b-price small{color:#fff!important;opacity:.94;font-size:9px;font-weight:650;line-height:1.1}
/* Leave the existing category indicator, but give it the bottom edge of the photo. */
.ng68-card .ng68-photo-chip{position:absolute!important;top:auto!important;bottom:8px!important;left:9px!important;right:auto!important;z-index:11!important;max-width:calc(100% - 18px)}
.ngc2-card .ngc2-card-art>span:not(.ng03b-badges){position:absolute;bottom:8px;left:9px;z-index:11}
/* Shorter body: price facts moved to the image; no oversized empty card rows. */
.ng68-card .ng68-card-body,.ngc2-card .ngc2-card-body{padding-top:11px!important;padding-bottom:8px!important}
.ng68-card .ng68-card-body>p:not(.ng-front-provider),.ngc2-card .ngc2-summary{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;margin-bottom:7px!important}
.ng68-card .ng-front-provider,.ngc2-card .ngc3-provider{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-bottom:6px!important}
.ng68-card .ng68-card-body h3,.ngc2-card .ngc2-card-body h3{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;margin:6px 0!important}
.ng68-card .ng68-card-meta,.ngc2-card .ngc2-card-meta{margin-bottom:3px!important}
.ng68-card .ng68-card-foot{margin-top:auto!important;padding-top:8px!important}
.ngc2-card .ngc2-card-actions{margin-top:auto!important;padding-top:8px!important}
@media(max-width:650px){.ng68-card .ng03b-price strong,.ngc2-card .ng03b-price strong{font-size:12px}.ng68-card .ng03b-days,.ngc2-card .ng03b-days{font-size:10px;padding:6px}.ng68-card .ng03b-price,.ngc2-card .ng03b-price{padding:6px 7px}}
