/* Roua Landing Pages — design: mobil întâi, sticlă + accente luminoase, temă de Crăciun opțională (.rl-xmas) */
.rl {
  --rl-accent: #e30613;
  /* culorile site-ului (butonul „Adaugă în coș” din liste, pretul, albastrul din antet) */
  --rl-cta: #eba53d;
  --rl-cta-h: #dc9227;
  --rl-cta-glow: rgba(235, 165, 61, .55);
  --rl-price: #e8192c;
  --rl-blue: #1a81c4;
  --rl-ink: #0f172a;
  --rl-muted: #64748b;
  --rl-line: rgba(15, 23, 42, .08);
  --rl-card: #fff;
  --rl-glow: color-mix(in srgb, var(--rl-accent) 35%, transparent);
  --rl-grad: linear-gradient(120deg, var(--rl-accent), #7c3aed 55%, #06b6d4);
  --rl-radius: 18px;
  --rl-top: 0px;
  position: relative;
  color: var(--rl-ink);
  font-feature-settings: "tnum";
  padding-bottom: 96px;
}
.rl *, .rl *::before, .rl *::after { box-sizing: border-box; }
.rl-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ───────── Antet ───────── */
.rl-hero { position: relative; margin: 0 0 18px; }
.rl-hero-pic, .rl-hero-pic img { display: block; width: 100%; height: auto; }
.rl-hero-pic img { border-radius: var(--rl-radius); box-shadow: 0 18px 50px -20px rgba(15, 23, 42, .45); }
.rl-snow { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; border-radius: var(--rl-radius); }

.rl-hero--text {
  overflow: hidden; border-radius: var(--rl-radius); padding: 42px 20px 22px; text-align: center; color: #fff;
  background:
    radial-gradient(600px 300px at 10% 0%, color-mix(in srgb, var(--rl-accent) 70%, transparent), transparent 70%),
    radial-gradient(500px 300px at 100% 100%, rgba(124, 58, 237, .55), transparent 70%),
    linear-gradient(160deg, #0b1020, #111a33);
}
.rl-hero--text::before { /* grila fina „futurista” */
  content: ""; position: absolute; inset: 0; opacity: .14; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.5) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.5) 1px, transparent 1px);
  background-size: 28px 28px; mask-image: radial-gradient(circle at 50% 30%, #000, transparent 75%); -webkit-mask-image: radial-gradient(circle at 50% 30%, #000, transparent 75%);
}
.rl-hero-text { position: relative; z-index: 3; }
.rl-hero-kicker { display: inline-block; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; opacity: .85; margin-bottom: 8px; }
.rl-hero-title { margin: 0; font-size: clamp(26px, 6.5vw, 52px); line-height: 1.05; font-weight: 800; letter-spacing: -.02em; color: #fff; }
.rl-hero-sub { margin: 10px auto 0; max-width: 640px; font-size: clamp(14px, 3.6vw, 18px); opacity: .85; }

.rl-offer {
  position: relative; z-index: 3; margin: -34px 12px 0; padding: 14px 16px;
  border-radius: calc(var(--rl-radius) - 4px);
  background: rgba(255, 255, 255, .78); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, .7);
  box-shadow: 0 12px 40px -12px rgba(15, 23, 42, .35);
}
.rl-offer::before { /* margine luminoasa in degrade */
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: var(--rl-grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: .7;
}
.rl-hero--text .rl-offer { margin: 22px 0 0; color: var(--rl-ink); text-align: left; }
.rl-offer-text { font-size: 15px; line-height: 1.45; }
.rl-offer-text strong, .rl-offer-text b { color: var(--rl-accent); }
.rl-offer-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 10px; }
.rl-offer-text:empty + .rl-offer-meta { margin-top: 0; }
.rl-offer--ended { margin-top: 12px; text-align: center; color: var(--rl-muted); font-size: 14px; }
.rl-pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 99px; font-size: 13px; font-weight: 600; background: rgba(15, 23, 42, .06); }

.rl-countdown { display: flex; align-items: center; gap: 6px; }
.rl-cd-lbl { font-size: 12px; color: var(--rl-muted); margin-right: 2px; }
.rl-cd { display: inline-flex; flex-direction: column; align-items: center; min-width: 42px; padding: 4px 4px 3px; border-radius: 10px; background: var(--rl-ink); color: #fff; line-height: 1; }
.rl-cd b { font-size: 17px; font-weight: 800; }
.rl-cd i { font-style: normal; font-size: 9px; text-transform: uppercase; letter-spacing: .08em; opacity: .7; margin-top: 2px; }

/* ───────── Bara de filtre ───────── */
.rl-bar {
  position: sticky; top: var(--rl-top); z-index: 30; margin: 0 -15px 6px; padding: 8px 15px;
  background: rgba(255, 255, 255, .82); backdrop-filter: blur(14px) saturate(1.5); -webkit-backdrop-filter: blur(14px) saturate(1.5);
  border-bottom: 1px solid var(--rl-line); transition: box-shadow .2s;
}
.rl-bar.is-stuck { box-shadow: 0 10px 30px -18px rgba(15, 23, 42, .5); }
.rl-row { display: flex; align-items: center; gap: 8px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding: 2px 0; scroll-snap-type: x proximity; }
.rl-row::-webkit-scrollbar { display: none; }
.rl-row + .rl-row { margin-top: 6px; }
.rl-row-lbl { flex: none; font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: var(--rl-muted); font-weight: 700; }

.rl-chip {
  flex: none; display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: 99px;
  border: 1px solid var(--rl-line); background: #fff; color: var(--rl-ink); font-size: 13px; font-weight: 600; line-height: 1;
  cursor: pointer; white-space: nowrap; text-decoration: none !important; scroll-snap-align: start;
  transition: background .18s, color .18s, border-color .18s, box-shadow .18s, transform .12s;
}
.rl a.rl-chip, .rl a.rl-chip:hover, .rl a.rl-chip:focus { color: var(--rl-ink) !important; }
.rl-chip small { font-size: 11px; font-weight: 700; color: var(--rl-muted); }
.rl-chip:hover { border-color: color-mix(in srgb, var(--rl-accent) 45%, transparent); color: var(--rl-ink); }
.rl-chip:active { transform: scale(.96); }
.rl .rl-chip.is-on, .rl a.rl-chip.is-on, .rl a.rl-chip.is-on:hover { background: var(--rl-blue); border-color: var(--rl-blue); color: #fff !important; box-shadow: 0 6px 18px -8px rgba(26, 129, 196, .8); }
.rl-chip.is-on small { color: rgba(255, 255, 255, .7); }
.rl .rl-brand-chip.is-on { background: var(--rl-accent); border-color: var(--rl-accent); box-shadow: 0 6px 18px -6px var(--rl-glow); }

/* ───────── Secțiuni ───────── */
.rl-sections { transition: opacity .2s; }
.rl-sections.is-loading { opacity: .45; pointer-events: none; }
.rl-sec { padding: 22px 0 6px; scroll-margin-top: calc(var(--rl-top) + 110px); animation: rl-in .5s both; animation-delay: calc(var(--rl-i, 0) * 60ms); }
@keyframes rl-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.rl-sec + .rl-sec { border-top: 1px solid var(--rl-line); }
.rl-sec-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin-bottom: 10px; }
.rl-sec-title { margin: 0; font-size: clamp(19px, 4.8vw, 26px); font-weight: 800; letter-spacing: -.01em; color: var(--rl-ink); position: relative; padding-left: 14px; }
.rl-sec-title::before { content: ""; position: absolute; left: 0; top: .18em; bottom: .18em; width: 4px; border-radius: 4px; background: var(--rl-grad); }
.rl-sec-count { font-size: 13px; color: var(--rl-muted); }
.rl-sec-all { margin-left: auto; font-size: 14px; font-weight: 700; color: var(--rl-accent) !important; white-space: nowrap; }
.rl-sec-all span { display: inline-block; transition: transform .2s; }
.rl-sec-all:hover span { transform: translateX(4px); }
.rl-subs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 0 12px; }
.rl-subs::-webkit-scrollbar { display: none; }
.rl-subs .rl-chip { height: 30px; font-size: 12.5px; padding: 0 12px; }

/* carusel pe telefon, grila pe calculator */
.rl-track-wrap { position: relative; }
.rl-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: 46%; gap: 12px;
  grid-template-rows: repeat(2, auto); /* doua randuri de produse, derulate impreuna */ overflow-x: auto; scroll-snap-type: x mandatory;
  margin: 0 -15px; padding: 4px 15px 14px; scroll-padding: 0 15px; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  transition: opacity .2s;
}
.rl-track::-webkit-scrollbar { display: none; }
.rl-track.is-one { grid-template-rows: auto; } /* produsele incap pe un rand → fara al doilea rand */
.rl-more[hidden] { display: none !important; }
.rl-track.is-loading { opacity: .4; }
.rl-arrow { display: none; }
.rl-empty { padding: 40px 10px; text-align: center; color: var(--rl-muted); }

/* ───────── Cardul ───────── */
.rl-card {
  scroll-snap-align: start; display: flex; flex-direction: column; min-width: 0; background: var(--rl-card);
  border-radius: var(--rl-radius); border: 1px solid var(--rl-line); overflow: hidden;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 8px 24px -16px rgba(15, 23, 42, .25);
  transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s, border-color .25s;
}
.rl-card-img { position: relative; display: block; aspect-ratio: 236 / 260; background: #f6f7fb; overflow: hidden; }
.rl-card-img img { width: 100%; height: 100%; object-fit: contain; padding: 8px; mix-blend-mode: multiply; transition: transform .4s cubic-bezier(.2, .8, .2, 1); }
.rl-badge {
  position: absolute; top: 8px; left: 8px; padding: 4px 8px; border-radius: 8px; font-size: 12px; font-weight: 800; color: #fff;
  background: var(--rl-accent); box-shadow: 0 6px 14px -6px var(--rl-glow);
}
.rl-incart {
  position: absolute; top: 8px; right: 8px; min-width: 26px; height: 26px; padding: 0 7px; border-radius: 99px; display: none;
  align-items: center; justify-content: center; font-size: 12px; font-weight: 800; color: #fff; background: #16a34a;
  box-shadow: 0 6px 14px -6px rgba(22, 163, 74, .8);
}
.rl-card.in-cart .rl-incart { display: inline-flex; }
.rl-card.in-cart .rl-incart::before { content: "✓ "; margin-right: 2px; }
.rl-card-body { display: flex; flex-direction: column; flex: 1; padding: 10px 12px 12px; gap: 4px; }
.rl-brand { font-size: 10.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--rl-muted); }
.rl-name {
  color: var(--rl-ink) !important; font-size: 13.5px; line-height: 1.3; font-weight: 600; min-height: 2.6em;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.rl-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 8px; margin-top: auto; padding-top: 4px; }
.rl-price strong { font-size: 17px; font-weight: 800; color: var(--rl-price); }
.rl-price s { font-size: 12.5px; color: var(--rl-muted); }

.rl-buy { position: relative; height: 40px; margin-top: 8px; }
.rl-add {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 40px;
  border: 0; border-radius: 12px; cursor: pointer; font-size: 14px; font-weight: 700; color: #fff !important; text-decoration: none !important;
  background: var(--rl-cta); transition: background .2s, box-shadow .2s, transform .12s, opacity .2s;
}
.rl-add:hover, .rl-add:focus { background: var(--rl-cta-h); box-shadow: 0 10px 22px -10px var(--rl-cta-glow); }
.rl-add:active { transform: scale(.97); }
.rl-add--view { position: static; margin-top: 8px; background: rgba(15, 23, 42, .06); color: var(--rl-ink) !important; }
.rl-add--view:hover { background: var(--rl-blue); color: #fff !important; }
.rl-step {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: space-between; padding: 3px;
  border-radius: 12px; background: #fdf3e4; border: 1px solid rgba(235, 165, 61, .6);
  opacity: 0; visibility: hidden; transform: scale(.94); transition: opacity .2s, transform .2s, visibility .2s;
}
.rl-step button {
  width: 34px; height: 32px; border: 0; border-radius: 9px; background: #fff; color: var(--rl-ink); font-size: 18px; font-weight: 700; cursor: pointer;
  box-shadow: 0 1px 3px rgba(15, 23, 42, .12); line-height: 1;
}
.rl-step button:active { transform: scale(.92); }
.rl-q { font-size: 15px; font-weight: 800; min-width: 28px; text-align: center; }
.rl-card.in-cart .rl-add { opacity: 0; visibility: hidden; }
.rl-card.in-cart .rl-step { opacity: 1; visibility: visible; transform: none; }
.rl-card.is-busy .rl-buy { pointer-events: none; }
.rl-card.is-busy .rl-buy::after {
  content: ""; position: absolute; top: 50%; left: 50%; width: 18px; height: 18px; margin: -9px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .5); border-top-color: #fff; animation: rl-spin .7s linear infinite; z-index: 2;
}
.rl-card.is-busy.in-cart .rl-buy::after { border-color: rgba(15, 23, 42, .15); border-top-color: var(--rl-cta); }
.rl-card.is-busy .rl-add span, .rl-card.is-busy .rl-add svg { opacity: 0; }
@keyframes rl-spin { to { transform: rotate(360deg); } }
.rl-card.is-pop { animation: rl-pop .45s; }
@keyframes rl-pop { 40% { transform: scale(1.03); box-shadow: 0 0 0 3px var(--rl-glow), 0 18px 40px -18px var(--rl-glow); } }

@media (hover: hover) {
  .rl-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--rl-accent) 30%, transparent); box-shadow: 0 22px 44px -22px rgba(15, 23, 42, .45); }
  .rl-card:hover .rl-card-img img { transform: scale(1.05); }
}

/* ───────── Bara de coș ───────── */
.rl-cartbar {
  position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 1040;
  display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 10px; border-radius: 18px; color: #fff;
  background: rgba(15, 23, 42, .9); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: 0 18px 40px -12px rgba(15, 23, 42, .6), inset 0 0 0 1px rgba(255, 255, 255, .08);
  transform: translateY(140%); opacity: 0; transition: transform .35s cubic-bezier(.2, .8, .2, 1), opacity .35s;
}
.rl-cartbar.is-on { transform: none; opacity: 1; }
.rl-cartbar.is-bump { animation: rl-bump .5s; }
@keyframes rl-bump { 30% { transform: translateY(-6px); } }
.rl-cb-cart { position: relative; flex: none; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 14px; background: rgba(255, 255, 255, .1); color: #fff !important; }
.rl-cb-count {
  position: absolute; top: -5px; right: -5px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 99px; background: var(--rl-accent);
  font-size: 11px; font-weight: 800; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 2px #0f172a;
}
.rl-cb-info { flex: 1; min-width: 0; }
.rl-cb-msg { font-size: 12.5px; line-height: 1.3; }
.rl-cb-msg strong, .rl-cb-msg b { color: #fff; }
.rl-cb-bar { height: 6px; margin-top: 6px; border-radius: 99px; background: rgba(255, 255, 255, .15); overflow: hidden; }
.rl-cb-bar span { display: block; height: 100%; border-radius: inherit; background: var(--rl-grad); box-shadow: 0 0 12px var(--rl-glow); transition: width .6s cubic-bezier(.2, .8, .2, 1); }
.rl-cartbar.is-done .rl-cb-bar span { background: linear-gradient(90deg, #16a34a, #4ade80); box-shadow: 0 0 12px rgba(74, 222, 128, .6); }
.rl-cb-go {
  flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 6px 14px; min-height: 44px; border-radius: 14px;
  background: var(--rl-cta); color: #fff !important; font-size: 13px; font-weight: 800; line-height: 1.15; text-decoration: none !important;
  box-shadow: 0 10px 22px -10px var(--rl-cta-glow); transition: background .2s;
}
.rl-cb-go:hover { background: var(--rl-cta-h); }
.rl-cb-go .rl-cb-total { font-size: 11px; font-weight: 600; opacity: .85; }
.rl-cb-go > span[aria-hidden] { display: none; }

.rl-toast {
  position: fixed; left: 50%; bottom: calc(86px + env(safe-area-inset-bottom)); z-index: 1041; transform: translate(-50%, 20px); opacity: 0;
  padding: 10px 16px; border-radius: 12px; background: #16a34a; color: #fff; font-size: 13px; font-weight: 700; pointer-events: none;
  box-shadow: 0 12px 30px -10px rgba(22, 163, 74, .7); transition: opacity .25s, transform .25s; max-width: calc(100% - 30px); text-align: center;
}
.rl-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.rl-toast.is-err { background: #dc2626; box-shadow: 0 12px 30px -10px rgba(220, 38, 38, .7); }

/* ───────── Tabletă / calculator ───────── */
@media (min-width: 576px) {
  .rl-track { grid-auto-columns: 31%; }
}
@media (min-width: 768px) {
  .rl-hero { margin-bottom: 26px; }
  .rl-offer { margin: -60px auto 0; max-width: 880px; padding: 18px 22px; display: flex; align-items: center; gap: 22px; }
  .rl-offer-text { flex: 1; font-size: 16px; }
  .rl-offer-meta { margin-top: 0; flex-direction: column; align-items: flex-end; }
  .rl-hero--text { padding: 70px 30px 34px; }
  .rl-hero--text .rl-offer { margin: 30px auto 0; }
  .rl-bar { margin: 0 0 6px; border-radius: 16px; border: 1px solid var(--rl-line); }
  .rl-sec { padding-top: 30px; }
  .rl-track { grid-auto-columns: calc((100% - 36px) / 4); margin: 0; padding: 4px 0 16px; scroll-padding: 0; }
  .rl-arrow {
    display: flex; align-items: center; justify-content: center; position: absolute; top: 38%; z-index: 3; width: 42px; height: 42px;
    border-radius: 50%; border: 1px solid var(--rl-line); background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px);
    font-size: 26px; line-height: 1; color: var(--rl-ink); cursor: pointer; box-shadow: 0 10px 24px -12px rgba(15, 23, 42, .5);
    transition: opacity .2s, transform .2s;
  }
  .rl-arrow:hover { transform: scale(1.08); }
  .rl-arrow--prev { left: -16px; }
  .rl-arrow--next { right: -16px; }
  .rl-arrow[disabled] { opacity: 0; pointer-events: none; }
  .rl-cartbar { left: 50%; right: auto; width: min(640px, calc(100% - 40px)); transform: translate(-50%, 140%); bottom: 18px; padding: 10px 10px 10px 12px; }
  .rl-cartbar.is-on { transform: translate(-50%, 0); }
  @keyframes rl-bump { 30% { transform: translate(-50%, -6px); } }
  .rl-cb-go { flex-direction: row; gap: 8px; padding: 0 18px; font-size: 14px; }
  .rl-cb-go:hover { background: var(--rl-cta-h); }
.rl-cb-go .rl-cb-total { font-size: 13px; }
  .rl-cb-go > span[aria-hidden] { display: inline; }
  .rl-cb-msg { font-size: 13.5px; }
}
@media (min-width: 1200px) {
  .rl-track { grid-auto-columns: calc((100% - 60px) / 6); }
}

/* ───────── Temă de Crăciun ───────── */
.rl-xmas { --rl-gold: #d4a64a; --rl-grad: linear-gradient(120deg, var(--rl-accent), #b91c1c 45%, var(--rl-gold)); }
.rl-xmas .rl-hero--text {
  background:
    radial-gradient(500px 260px at 15% 0%, rgba(227, 6, 19, .65), transparent 70%),
    radial-gradient(420px 260px at 100% 100%, rgba(22, 101, 52, .7), transparent 70%),
    linear-gradient(160deg, #0b1324, #13203d);
}
.rl-garland {
  position: relative; display: flex; justify-content: space-between; height: 26px; margin: -4px 6px 6px; padding: 0 4px;
}
.rl-garland::before { /* firul */
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 14px; border-bottom: 2px solid rgba(22, 101, 52, .55); border-radius: 0 0 50% 50% / 0 0 100% 100%;
}
.rl-garland i {
  position: relative; top: 10px; width: 9px; height: 13px; border-radius: 50% 50% 45% 45%; background: var(--c, #ef4444);
  box-shadow: 0 0 10px 2px var(--c, #ef4444); animation: rl-blink 1.8s ease-in-out infinite; animation-delay: calc(var(--d, 0) * 1s);
}
.rl-garland i::before { content: ""; position: absolute; top: -4px; left: 2px; width: 5px; height: 4px; border-radius: 1px; background: #334155; }
.rl-garland i:nth-child(4n+1) { --c: #ef4444; --d: 0; }
.rl-garland i:nth-child(4n+2) { --c: #facc15; --d: .45; }
.rl-garland i:nth-child(4n+3) { --c: #22c55e; --d: .9; }
.rl-garland i:nth-child(4n+4) { --c: #38bdf8; --d: 1.35; }
.rl-garland i:nth-child(n+13) { display: none; }
@media (min-width: 768px) { .rl-garland i:nth-child(n+13) { display: block; } }
@keyframes rl-blink { 0%, 100% { opacity: 1; } 50% { opacity: .35; box-shadow: none; } }
.rl-xmas .rl-sec-title::after { content: "✦"; margin-left: 8px; font-size: .6em; vertical-align: middle; color: var(--rl-gold); }
.rl-xmas .rl-cd { background: linear-gradient(160deg, #b91c1c, #7f1d1d); }
.rl-xmas .rl-card { border-color: rgba(212, 166, 74, .25); }
@media (hover: hover) { .rl-xmas .rl-card:hover { border-color: var(--rl-gold); box-shadow: 0 22px 44px -22px rgba(185, 28, 28, .55); } }
.rl-xmas .rl-cartbar { background: linear-gradient(135deg, rgba(127, 29, 29, .95), rgba(15, 23, 42, .95)); }
.rl-xmas .rl-cb-cart::after { content: "🎁"; position: absolute; left: -6px; bottom: -6px; font-size: 15px; }
.rl-xmas .rl-more { border-color: rgba(212, 166, 74, .5); }

@media (prefers-reduced-motion: reduce) {
  .rl *, .rl *::before, .rl *::after { animation: none !important; transition: none !important; }
  .rl-snow { display: none; }
}

/* ───────── Butonul mic de coș, în dreapta prețului (ca în pagina de categorie) ───────── */
.rl-buyrow { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 6px; }
.rl-buyrow .rl-price { margin-top: 0; padding-top: 0; flex-direction: column; align-items: flex-start; gap: 0; min-width: 0; }
.rl-buyrow .rl-price s { order: -1; }
.rl-cartbtn {
  position: relative; flex: none; display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border: 0; border-radius: 10px; padding: 0; cursor: pointer;
  background: var(--rl-cta); color: #fff !important; text-decoration: none !important;
  transition: background .2s, box-shadow .2s, transform .12s;
}
.rl-cartbtn:hover, .rl-cartbtn:focus { background: var(--rl-cta-h); box-shadow: 0 8px 18px -8px var(--rl-cta-glow); outline: none; }
.rl-cartbtn:active { transform: scale(.92); }
.rl-cartbtn--view { background: rgba(15, 23, 42, .07); color: var(--rl-ink) !important; }
.rl-cartbtn--view:hover { background: var(--rl-blue); color: #fff !important; }
.rl-cartbtn .rl-ico-ok { display: none; }
.rl-cartbtn .rl-q {
  position: absolute; top: -7px; right: -7px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 99px;
  display: none; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; line-height: 1;
  background: #fff; color: #16a34a; box-shadow: 0 0 0 2px #16a34a;
}
/* deja în coș: bifă verde (clic = încă o bucată); cantitatea în bulină, de la 2 bucăți */
.rl-card.in-cart .rl-cartbtn { background: #16a34a; box-shadow: 0 8px 18px -8px rgba(22, 163, 74, .8); }
.rl-card.in-cart .rl-cartbtn:hover { background: #15803d; }
.rl-card.in-cart .rl-cartbtn .rl-ico-cart { display: none; }
.rl-card.in-cart .rl-cartbtn .rl-ico-ok { display: block; }
.rl-card.in-cart.has-more .rl-cartbtn .rl-q { display: flex; }
.rl-card .rl-incart { display: none !important; }
.rl-card.in-cart { border-color: rgba(22, 163, 74, .35); }
/* se încarcă */
.rl-card.is-busy .rl-cartbtn { pointer-events: none; }
.rl-card.is-busy .rl-cartbtn svg { opacity: 0; }
.rl-card.is-busy .rl-cartbtn::after {
  content: ""; position: absolute; top: 50%; left: 50%; width: 18px; height: 18px; margin: -9px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .45); border-top-color: #fff; animation: rl-spin .7s linear infinite;
}
@media (max-width: 575px) {
  .rl-cartbtn { width: 40px; height: 40px; }
  .rl-price strong { font-size: 16px; }
}

/* ───────── Îndemnul „Vezi mai multe produse” (după cele 2 rânduri) ───────── */
.rl-more {
  position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; gap: 14px;
  margin: 4px 0 10px; padding: 14px 14px 14px 16px; border-radius: 20px; text-decoration: none !important;
  color: #e2e8f0 !important; background: #0b1020;
  box-shadow: 0 20px 40px -24px rgba(11, 16, 32, .8), inset 0 0 0 1px rgba(255, 255, 255, .07);
  transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s;
}
.rl-more::before { /* aurora */
  content: ""; position: absolute; inset: -40%; z-index: -2; opacity: .75;
  background:
    radial-gradient(35% 60% at 15% 50%, rgba(26, 129, 196, .55), transparent 70%),
    radial-gradient(30% 70% at 85% 40%, rgba(124, 58, 237, .45), transparent 70%),
    radial-gradient(25% 50% at 55% 90%, rgba(6, 182, 212, .35), transparent 70%);
  animation: rl-aurora 14s ease-in-out infinite alternate;
}
.rl-more::after { /* grilă fină + reflexie care trece la hover */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .09) 45%, transparent 55%) -150% 0 / 60% 100% no-repeat,
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px) 0 0 / 22px 22px,
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px) 0 0 / 22px 22px;
}
.rl-more:hover::after { background-position: 250% 0, 0 0, 0 0; transition: background-position 1.1s ease; }
@keyframes rl-aurora { 0% { transform: translate3d(-4%, -2%, 0) rotate(0deg); } 100% { transform: translate3d(4%, 3%, 0) rotate(8deg); } }
.rl-more:hover { transform: translateY(-2px); box-shadow: 0 28px 50px -24px rgba(11, 16, 32, .9), inset 0 0 0 1px rgba(255, 255, 255, .12); }

.rl-more-ico {
  flex: none; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 14px;
  color: #fff; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), 0 0 24px -6px rgba(26, 129, 196, .9);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.rl-more-ico-xmas { display: none; }
.rl-more-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.rl-more-kicker { font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: #7dd3fc; }
.rl-more-title { font-size: 15px; font-weight: 600; line-height: 1.3; color: #f8fafc; }
.rl-more-title b { font-weight: 800; color: #fbbf24; }

.rl-more-btn { /* buton alb cu inel luminos care se rotește */
  position: relative; flex: none; display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 20px;
  border-radius: 99px; font-size: 14px; font-weight: 800; color: #0b1020; isolation: isolate;
  box-shadow: 0 10px 30px -10px rgba(235, 165, 61, .9);
}
.rl-more-btn::before {
  content: ""; position: absolute; inset: -2px; z-index: -2; border-radius: inherit;
  background: conic-gradient(from var(--rl-ang, 0deg), var(--rl-cta), #fde68a, var(--rl-blue), #a78bfa, var(--rl-cta));
  animation: rl-ring 4s linear infinite;
}
.rl-more-btn::after { content: ""; position: absolute; inset: 1px; z-index: -1; border-radius: inherit; background: linear-gradient(180deg, #fff, #fff7ed); }
@property --rl-ang { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes rl-ring { to { --rl-ang: 360deg; } }
.rl-more-btn svg { transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
.rl-more:hover .rl-more-btn svg { transform: translateX(5px); }

@media (max-width: 575px) {
  .rl-more { flex-wrap: wrap; gap: 12px; padding: 14px; }
  .rl-more-ico { width: 42px; height: 42px; }
  .rl-more-text { flex-basis: calc(100% - 56px); }
  .rl-more-btn { width: 100%; justify-content: center; }
}
@media (min-width: 768px) {
  .rl-more { padding: 18px 18px 18px 22px; gap: 18px; margin-top: 8px; }
  .rl-more-title { font-size: 17px; }
}

/* Crăciun: în culorile bannerului — roșu aprins, alb, auriu cald, ninsoare fină */
.rl-xmas .rl-more {
  background: linear-gradient(115deg, #b00d1f 0%, #e3101f 45%, #c40c1c 100%);
  box-shadow: 0 22px 44px -22px rgba(176, 13, 31, .75), inset 0 0 0 1px rgba(255, 255, 255, .18);
  color: #fff !important;
}
.rl-xmas .rl-more:hover { box-shadow: 0 28px 52px -22px rgba(176, 13, 31, .85), inset 0 0 0 1px rgba(255, 255, 255, .28); }
.rl-xmas .rl-more::before { /* lumină caldă, ca luminițele din banner */
  opacity: 1; animation: rl-aurora 16s ease-in-out infinite alternate;
  background:
    radial-gradient(28% 70% at 10% 30%, rgba(255, 214, 120, .38), transparent 70%),
    radial-gradient(30% 80% at 92% 70%, rgba(255, 236, 200, .22), transparent 70%),
    radial-gradient(40% 60% at 55% 120%, rgba(120, 6, 16, .55), transparent 70%);
}
.rl-xmas .rl-more::after { /* fulgi mici care cad */
  background:
    radial-gradient(circle, rgba(255, 255, 255, .85) 0 1.1px, transparent 1.6px) 0 0 / 38px 38px,
    radial-gradient(circle, rgba(255, 255, 255, .5) 0 .8px, transparent 1.3px) 19px 13px / 26px 26px,
    radial-gradient(circle, rgba(255, 244, 214, .7) 0 1.4px, transparent 2px) 7px 21px / 61px 61px;
  animation: rl-sparkle 14s linear infinite;
}
.rl-xmas .rl-more:hover::after { transition: none; }
@keyframes rl-sparkle { to { background-position: 38px 380px, 19px 273px, -54px 631px; } }
.rl-xmas .rl-more-ico {
  color: #fff; background: rgba(255, 255, 255, .14);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45), 0 0 22px -4px rgba(255, 230, 170, .8);
}
.rl-xmas .rl-more-ico-std { display: none; }
.rl-xmas .rl-more-ico-xmas { display: block; filter: drop-shadow(0 0 4px rgba(255, 255, 255, .7)); animation: rl-flake 18s linear infinite; }
@keyframes rl-flake { to { transform: rotate(360deg); } }
.rl-xmas .rl-more-kicker { color: #ffe3a3; }
.rl-xmas .rl-more-kicker::before { content: "❄ "; color: #fff; }
.rl-xmas .rl-more-title { color: #fff; }
.rl-xmas .rl-more-title b { color: #ffd66b; text-shadow: 0 0 12px rgba(255, 214, 107, .5); }
.rl-xmas .rl-more-btn { color: #c40c1c; box-shadow: 0 10px 26px -10px rgba(60, 0, 6, .7); }
.rl-xmas .rl-more-btn::before { /* inel ca bastonașul de bomboană: roșu-alb, cu sclipire aurie */
  background: conic-gradient(from var(--rl-ang, 0deg), #fff, #ffd66b, #fff, #ffffff 40%, #ffe3a3, #fff);
}
.rl-xmas .rl-more-btn::after { background: linear-gradient(180deg, #fff, #fff8ec); }

/* ───────── Regulamentul campaniei ───────── */
.rl-pill--rules { color: var(--rl-ink) !important; text-decoration: none !important; background: rgba(26, 129, 196, .1); transition: background .2s; }
.rl-pill--rules:hover { background: rgba(26, 129, 196, .2); }
.rl-rules { margin: 26px 0 10px; scroll-margin-top: 90px; }
.rl-rules-box {
  display: block; border-radius: 20px; background: #fff; border: 1px solid var(--rl-line); overflow: hidden;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 14px 34px -22px rgba(15, 23, 42, .35);
}
.rl-rules-box > summary, .rl-rules-box--link {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px; cursor: pointer; list-style: none; text-decoration: none !important; color: var(--rl-ink) !important;
}
.rl-rules-box > summary::-webkit-details-marker { display: none; }
.rl-rules-box > summary:hover { background: rgba(15, 23, 42, .025); }
.rl-rules-ico {
  flex: none; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 13px; color: #fff;
  background: linear-gradient(135deg, var(--rl-blue), #7c3aed); box-shadow: 0 8px 18px -8px rgba(26, 129, 196, .8);
}
.rl-rules-head { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.rl-rules-title { font-size: 16px; font-weight: 800; letter-spacing: -.01em; }
.rl-rules-sub { font-size: 12.5px; color: var(--rl-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rl-rules-chev {
  flex: none; width: 34px; height: 34px; border-radius: 50%; background: rgba(15, 23, 42, .05); position: relative; transition: transform .3s, background .2s;
}
.rl-rules-chev::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; margin: -6px 0 0 -4px;
  border-right: 2px solid var(--rl-ink); border-bottom: 2px solid var(--rl-ink); transform: rotate(45deg);
}
.rl-rules-chev--out::before { margin: -4px 0 0 -6px; transform: rotate(-45deg); }
.rl-rules-box[open] .rl-rules-chev { transform: rotate(180deg); background: rgba(26, 129, 196, .12); }
.rl-rules-body {
  padding: 4px 22px 22px 76px; font-size: 14px; line-height: 1.65; color: #334155; max-height: 70vh; overflow: auto;
  border-top: 1px solid var(--rl-line); padding-top: 16px; animation: rl-in .35s both;
}
.rl-rules-body h3, .rl-rules-body h4 { margin: 18px 0 6px; font-size: 15px; font-weight: 800; color: var(--rl-ink); }
.rl-rules-body h3:first-child, .rl-rules-body h4:first-child, .rl-rules-body p:first-child { margin-top: 0; }
.rl-rules-body p { margin: 0 0 10px; }
.rl-rules-body ul, .rl-rules-body ol { margin: 0 0 12px; padding-left: 20px; }
.rl-rules-body li { margin-bottom: 4px; }
.rl-rules-body a { color: var(--rl-blue); text-decoration: underline; }
.rl-rules-body table { width: 100%; border-collapse: collapse; margin: 8px 0 14px; font-size: 13px; }
.rl-rules-body td, .rl-rules-body th { border: 1px solid var(--rl-line); padding: 6px 8px; text-align: left; }
.rl-rules-dl {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; padding: 10px 16px; border-radius: 12px;
  background: var(--rl-blue); color: #fff !important; font-weight: 700; text-decoration: none !important;
}
.rl-rules-dl:hover { background: #156aa1; }
@media (max-width: 575px) {
  .rl-rules-body { padding: 14px 16px 18px; max-height: 60vh; }
  .rl-rules-box > summary, .rl-rules-box--link { padding: 14px; gap: 12px; }
}
.rl-xmas .rl-rules-ico { background: linear-gradient(135deg, #b91c1c, #14532d); box-shadow: 0 8px 18px -8px rgba(185, 28, 28, .8); }
.rl-xmas .rl-rules-box { border-color: rgba(212, 166, 74, .35); }
