/* «Новинка»: flag on cards and product page, band under the category hero (inc/new-arrivals.php).
   Turquoise is the news accent: magenta stays for the one primary action per screen. */

.em26-new-flag {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 99rem;
  background: #129a9a;
  color: #fffefa;
  font-family: var(--em26-font-mono, "IBM Plex Mono", monospace);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.3;
  text-transform: uppercase;
}

/* Only cards that carry the flag get a positioning context: other cards stay exactly as they are. */
ul.products li.product a:has(> .em26-new-flag) { position: relative; }
ul.products li.product a > .em26-new-flag {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  z-index: 2;
}

.em26-new-flag--single { margin: 0 0 0.5rem; }

.em26-new-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 1rem 1.5rem;
  margin: 1.25rem 0 0;
  padding: 0.9rem 1.1rem;
  border: 1px solid #129a9a;
  border-left-width: 0.35rem;
  border-radius: var(--em26-radius-card, 0.5rem);
  background: #fffefa;
  color: #16353d;
}
.em26-new-band__text { margin: 0; }
.em26-new-band__text .em26-new-flag { margin-right: 0.35rem; vertical-align: 0.1em; }
.em26-new-band__items { display: flex; gap: 0.75rem; margin: 0; padding: 0; list-style: none; }
.em26-new-band__items a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  max-width: 14rem;
  min-height: 44px;
  color: #16353d;
  font-size: 0.875rem;
  line-height: 1.3;
  text-decoration: none;
}
.em26-new-band__items a:hover span,
.em26-new-band__items a:focus-visible span { text-decoration: underline; }
.em26-new-band__items img { flex: 0 0 auto; width: 3rem; height: 3rem; object-fit: cover; border-radius: 0.35rem; background: #efebe1; }
.em26-new-band__more {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #0b6e6e;
  font-weight: 600;
  white-space: nowrap;
}

@media (max-width: 63.99rem) {
  .em26-new-band { grid-template-columns: minmax(0, 1fr); }
  .em26-new-band__items { flex-wrap: wrap; }
}
