.eif-tile-badges{display:flex;flex-wrap:wrap;align-items:center;gap:5px;margin:6px 0 8px;font-family:Arial,sans-serif}
.eif-tile-energy{display:inline-flex;align-items:center;height:22px;position:relative;margin-right:4px;background:var(--eif-color);color:#fff;padding:0 8px 0 0;gap:5px;font-weight:800;line-height:1}
.eif-tile-energy:after{content:"";position:absolute;left:100%;top:0;border-top:11px solid transparent;border-bottom:11px solid transparent;border-left:9px solid var(--eif-color)}
.eif-tile-energy .eif-scale{width:16px;height:22px;background:#fff;color:#222;border:1px solid #666;border-right:none;display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:6px;line-height:6px;font-weight:800;box-sizing:border-box;margin-right:4px}
.eif-tile-energy .eif-class{display:inline-block;min-width:14px;text-align:center;font-size:14px;text-shadow:0 1px 1px rgba(0,0,0,.2)}
.eif-tile-score{display:inline-flex;border:1.5px solid var(--eif-color);border-radius:4px;overflow:hidden;align-items:center;height:22px;background:#fff;color:#111}
.eif-tile-score .eif-symbol{background:var(--eif-color);color:#fff;height:100%;width:18px;display:flex;justify-content:center;align-items:center;font-size:12px;line-height:1}
.eif-tile-score b{font-size:12px;padding:0 4px;white-space:nowrap;line-height:1}
.eif-tile-score small{font-size:8px;margin-left:1px}

/* Atlas-style category cards: badges below title and above price, not beneath photo */
.eif-tile-badges--atlas{display:flex!important;flex-wrap:wrap;align-items:center;gap:7px;margin:7px 0 8px;max-width:100%;min-height:22px;clear:both}
.eif-tile-badges--atlas .eif-tile-energy{height:26px;min-width:48px;max-width:85px;box-sizing:border-box}
.eif-tile-badges--atlas .eif-tile-energy:after{border-top-width:13px;border-bottom-width:13px}
.eif-tile-badges--atlas .eif-tile-energy .eif-scale{height:26px}
.eif-tile-badges--atlas .eif-tile-energy .eif-class{font-size:17px;line-height:1}
.eif-tile-badges--atlas .eif-tile-score{height:27px;box-sizing:border-box}
.eif-tile-badges--atlas .eif-tile-score .eif-symbol{width:23px;font-size:15px}
.eif-tile-badges--atlas .eif-tile-score b{font-size:15px;line-height:1}
.eif-tile-badges--atlas .eif-tile-score small{font-size:9px}
