/* Roua Merchandising - bannere in grila si produsul BestSeller */

/* ── Produsul promovat: cardul temei, cu o rama fina aurie si o lumina discreta ── */
.rm-pin .product-miniature {
  position: relative;
  border-radius: 10px;
  box-shadow: 0 0 0 1px rgba(235, 165, 61, .55), 0 12px 26px -18px rgba(235, 165, 61, .75);
  transition: box-shadow .25s ease;
}
.rm-pin .product-miniature:hover {
  box-shadow: 0 0 0 1px rgba(235, 165, 61, .85), 0 16px 32px -18px rgba(235, 165, 61, .9);
}
.rm-pin .product-miniature::after { /* o sclipire fina care trece rar peste colt */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(115deg, transparent 40%, rgba(255, 236, 200, .35) 50%, transparent 60%) -160% 0 / 60% 100% no-repeat;
  animation: rm-shine 7s ease-in-out infinite;
}
@keyframes rm-shine { 0%, 70% { background-position: -160% 0; } 100% { background-position: 260% 0; } }

.product-flags .product-flag.rm-bestseller,
.rm-flags .rm-bestseller {
  display: inline-flex; align-items: center; gap: 4px;
  background: linear-gradient(135deg, #f5b54a, #eba53d 55%, #dc9227);
  color: #fff; font-weight: 700; letter-spacing: .03em;
  border-radius: 4px; box-shadow: 0 2px 8px -3px rgba(220, 146, 39, .7), inset 0 1px 0 rgba(255, 255, 255, .35);
  text-shadow: 0 1px 1px rgba(150, 90, 10, .35);
}
.rm-bestseller svg { flex: none; }
.rm-flags { position: absolute; top: 8px; left: 8px; z-index: 3; margin: 0; padding: 0; list-style: none; }

/* ── Bannerele: cat un card (sau doua), aceeasi inaltime cu randul ── */
.rm-banner-wrap { display: flex; margin-bottom: 1.5rem; }
.rm-banner {
  position: relative; display: block; flex: 1; min-height: 300px;
  border-radius: 10px; overflow: hidden; background: #f3f4f6;
  box-shadow: 0 10px 24px -18px rgba(15, 23, 42, .55);
  transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s;
}
.rm-banner picture, .rm-banner img { position: absolute; inset: 0; width: 100%; height: 100%; }
.rm-banner img { object-fit: cover; }
a.rm-banner:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -18px rgba(15, 23, 42, .7); }
@media (max-width: 575px) { .rm-banner { min-height: 240px; } }

@media (prefers-reduced-motion: reduce) {
  .rm-pin .product-miniature::after { animation: none; display: none; }
  a.rm-banner:hover { transform: none; }
}
