/* Netlab_Cashback — brand cashback box on the product page. Colours per promotion via --ncb-* (admin). */
.netlab-cashback { clear: both; display: flex; gap: 12px; align-items: center; margin: 16px 0; padding: 12px 16px; border: 1px solid var(--ncb-box-border, #e2e2e2); border-radius: 8px; background: var(--ncb-box-bg, #f7f7f7); color: var(--ncb-text, inherit); font-size: var(--text-small, 13px); line-height: 1.5; }
.netlab-cashback + .netlab-cashback { margin-top: 8px; }
.netlab-cashback__image { flex: 0 0 auto; width: 96px; height: auto; max-height: 80px; object-fit: contain; }
.netlab-cashback__content { flex: 1 1 auto; min-width: 0; }
.netlab-cashback__badge { display: inline-block; margin-bottom: 6px; padding: 4px 10px; border-radius: 999px; background: var(--ncb-badge-bg, #000); color: var(--ncb-badge-fg, #fff); font-weight: 600; text-transform: uppercase; letter-spacing: .03em; font-size: var(--text-tiny, 11px); }
.netlab-cashback__text { margin: 0; }
.netlab-cashback__text a { color: inherit; text-decoration: underline; }
.netlab-cashback__period { margin: 4px 0 0; opacity: .75; }
@media (max-width: 480px) { .netlab-cashback--image { align-items: flex-start; } .netlab-cashback__image { width: 64px; } }

/* Cashback label on product photos (PDP) and tiles (PLP), in the promotion's badge colours */
.ncb-chip { position: absolute; z-index: 3; max-width: calc(100% - 16px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 3px 9px; border-radius: 999px; background: var(--ncb-badge-bg, #000); color: var(--ncb-badge-fg, #fff); font-size: var(--text-tiny, 11px); font-weight: 700; line-height: 1.4; letter-spacing: .02em; pointer-events: none; }
.ncb-chip--tile { right: 8px; bottom: 8px; }
.ncb-chip--media { left: 16px; bottom: 16px; font-size: var(--text-small, 13px); padding: 4px 12px; }
.product-image-area, .product-card__image-container, .media-grid-item, .product-gallery-main .slide-item { position: relative; }
/* Trend PDP: the label sits outside the Flickity carousel (else it becomes a slide); top right of the main photo */
.product__media > .ncb-chip--media { top: 16px; right: 16px; left: auto; bottom: auto; }
/* Trend search popup: small 120px thumbnail, so a compact label */
.searchautocomlete-image { position: relative; }
.searchautocomlete-image .ncb-chip { right: 4px; bottom: 4px; max-width: calc(100% - 8px); padding: 2px 6px; font-size: 10px; }
