/* Rutriven shell — header, its sheet and panels, drawers, footer.
   Approved as the storefront direction on 2026-10-10. Builds on tokens.css
   and base.css beside it. Unlayered, like every stylesheet a page carries
   (base.css says why); every rule is scoped by an rv- class.

   "Printed on the counter", with a hierarchy (tokens.css): printed objects
   only where you move forward, inked edges on what you pick among, soft
   paper for the big surfaces, and plain type for lists. Every device has to
   say something: a department's colour says which one is open, dashes say
   "not yet", a tilted sticker is a moment that happened. */



/* ── the bookend strip: shipping line and help ──────────────────────────── */
.rv-bar { background: var(--cocoa); color: var(--on-cocoa-2); font-size: var(--fs-cap); --ring: var(--amber); }
.rv-bar__in {
  max-width: var(--shell-max); margin: 0 auto; padding: 0 var(--gutter);
  min-height: var(--bar-h); display: flex; align-items: center; gap: var(--s6);
}
.rv-bar__ship { display: inline-flex; align-items: center; gap: 10px; font-variant-numeric: tabular-nums; }
.rv-bar__ship b { color: var(--amber); font-weight: 600; }
.rv-bar__ship[data-state="free"] b { color: var(--green-mint); }
/* The basket's free-shipping track in miniature, drawn the same way: dashed
   where it is "not yet", solid as far as the basket reaches. */
.rv-mini {
  position: relative; flex: none; width: 40px; height: 10px; border-radius: var(--r-pill);
  border: 1.5px dashed var(--on-cocoa-2);
}
.rv-mini i {
  position: absolute; top: -1.5px; bottom: -1.5px; left: -1.5px; border-radius: inherit; background: var(--amber);
  width: calc(10px + var(--p, 0) * (100% + 3px - 10px)); transition: width 600ms var(--ease-out), background-color var(--t-base) ease;
}
.rv-bar__ship:not([data-state]) .rv-mini { display: none; }
.rv-bar__ship .rv-i { display: inline-block; vertical-align: -2px; margin-right: 5px; color: var(--green-mint); }
/* Once free, the check says it; the finished track would only repeat it. */
.rv-bar__ship[data-state="free"] .rv-mini { display: none; }
.rv-bar__help { margin-left: auto; display: flex; gap: var(--s5); }
.rv-bar__help a { text-decoration: none; padding: 2px var(--s1); border-radius: 6px; }
.rv-bar__help a:focus-visible { outline-offset: 0; }
@media (hover: hover) and (pointer: fine) { .rv-bar__help a:hover { color: var(--on-cocoa); text-decoration: underline; } }

/* ── the header: the top of the counter ─────────────────────────────────── */
.rv-head { position: sticky; top: 0; z-index: var(--z-head); background: var(--cream); }
/* Once the strip has scrolled away the header floats over the page, and a
   printed ink rule marks its edge. */
.rv-head::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: var(--line);
  background: var(--cocoa); opacity: 0; transition: opacity var(--t-base) ease; pointer-events: none;
}
.rv-head[data-stuck]::after { opacity: 1; }

.rv-head__in {
  position: relative; max-width: var(--shell-max); height: var(--head-h); margin: 0 auto;
  display: flex; align-items: center; gap: var(--s4); padding: 0 var(--gutter);
}
.rv-mark {
  flex: none; display: inline-flex; align-items: center; min-height: var(--tap);
  font: 400 34px/1 var(--font-display); text-transform: uppercase; letter-spacing: .012em;
  color: var(--ink); text-decoration: none; white-space: nowrap;
}
.rv-mark b, .rv-foot__mark b { color: var(--coral); font-weight: 400; }

/* The two ways in. Termékek is inked (an outline you press); Célpakk wears
   its own green. Open, a key is filled and pressed. */
.rv-nav { display: flex; align-items: center; gap: var(--s3); margin-left: var(--s5); }
.rv-nav__item {
  position: relative; display: inline-flex; align-items: center; gap: var(--s2);
  height: 44px; padding: 1px 18px 0 20px; border: var(--line) solid var(--cocoa); border-radius: var(--r-pill);
  background: var(--paper); color: var(--ink); text-decoration: none; white-space: nowrap;
  font: 400 15px/1 var(--font-display); text-transform: uppercase; letter-spacing: .04em;
  transition: background-color var(--t-fast) ease, color var(--t-fast) ease;
}
.rv-nav__item[aria-expanded="true"] { background: var(--cocoa); color: var(--paper); }
.rv-nav__caret { margin-top: -1px; transition: rotate var(--t-base) var(--ease-out); }
.rv-nav__item[aria-expanded="true"] .rv-nav__caret { rotate: 180deg; }
.rv-nav__item--guide { padding-left: 15px; background: var(--green); color: var(--paper); }
.rv-nav__item--guide[aria-expanded="true"] { background: var(--green-block); }
@media (hover: hover) and (pointer: fine) {
  .rv-nav__item:not([aria-expanded="true"]):hover { background: var(--sand); }
  .rv-nav__item--guide:not([aria-expanded="true"]):hover { background: var(--green-2); }
}

/* Search: the header's one printed field, as on Pult. */
.rv-find { position: relative; flex: 1 1 auto; max-width: 520px; margin-left: auto; }
.rv-find > input[type="search"] {
  width: 100%; height: 48px; padding: 0 92px 0 48px;
  border: var(--line) solid var(--cocoa); border-radius: var(--r-pill);
  background: var(--paper); color: var(--ink); font-size: var(--fs-md);
  box-shadow: var(--pop-sm);
  transition: box-shadow var(--t-fast) var(--ease-out);
}
.rv-find > input::placeholder { color: var(--ink-2); opacity: 1; }
.rv-find > input::-webkit-search-cancel-button { display: none; }
.rv-find > input:focus-visible { outline: none; }
.rv-find > input:focus { box-shadow: var(--pop); }
.rv-find__ic { position: absolute; left: 18px; top: 15px; color: var(--ink); pointer-events: none; }
.rv-find__clear, .rv-find__go {
  position: absolute; top: 6px; width: 36px; height: 36px; border: 0; border-radius: 50%;
  display: grid; place-items: center; background: none; color: var(--ink);
  transition: background-color var(--t-fast) ease, transform var(--t-press) var(--ease-out);
}
.rv-find__clear { right: 46px; color: var(--ink-2); }
.rv-find__go { right: 6px; background: var(--cocoa); color: var(--paper); }
.rv-find__go:active, .rv-find__clear:active { transform: scale(.88); }
@media (hover: hover) and (pointer: fine) {
  .rv-find__clear:hover { background: var(--sand); }
  .rv-find__go:hover { background: var(--cocoa-3); }
}

.rv-head__acts { display: flex; align-items: center; gap: var(--s3); flex: none; margin-left: var(--s2); }
.rv-act {
  display: inline-flex; align-items: center; gap: 10px; height: var(--tap); min-width: var(--tap);
  justify-content: center; color: var(--ink); text-decoration: none; font-weight: 600;
}
.rv-act--search { display: none; }
.rv-act__label { padding-right: 2px; }

/* The shopper, round: their own picture, tilted a little as if stuck on by
   hand, or their initial. Signed out, an inked circle with the person icon.
   Pointing straightens it; open, its ring is drawn. */
.rv-ava {
  position: relative; flex: none; display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%; overflow: hidden;
  border: var(--line) solid var(--cocoa); background: var(--paper); color: var(--ink);
  transition: rotate var(--t-base) var(--ease-out), box-shadow var(--t-fast) ease;
}
.rv-ava img { width: 100%; height: 100%; object-fit: cover; }
.rv-ava__i { font: 400 20px/1 var(--font-display); padding-top: 2px; }
.rv-act--in .rv-ava, .rv-menubtn .rv-ava { rotate: -5deg; background: var(--green-wash); color: var(--green-ink); }
.rv-act--in .rv-ava:has(img) { background: var(--paper); }
.rv-act[data-open] .rv-ava { rotate: 0deg; box-shadow: 0 0 0 3px var(--cream), 0 0 0 5px var(--cocoa); }
@media (hover: hover) and (pointer: fine) {
  .rv-act:not([data-open]):hover .rv-ava { rotate: 0deg; }
  .rv-act:hover .rv-act__label { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .25em; }
}
/* Just signed in: the picture arrives in the header. */
[data-hello] .rv-act--in .rv-ava, [data-hello] .rv-menubtn .rv-ava { animation: rv-hello 720ms var(--ease-out) 250ms backwards; }
@keyframes rv-hello {
  0% { opacity: 0; translate: 0 -22px; rotate: -24deg; scale: .5; }
  55% { opacity: 1; translate: 0 2px; rotate: 2deg; scale: 1.08; }
  100% { translate: 0 0; rotate: -5deg; scale: 1; }
}

/* The basket is the header's printed object: amber, where buying happens.
   When something arrives it hops and lands, and its count pops. */
.rv-cart {
  position: relative; display: grid; place-items: center; flex: none;
  width: 50px; height: 50px; border-radius: 50%;
  border: var(--line) solid var(--cocoa); background: var(--amber); color: var(--cocoa);
  box-shadow: var(--pop);
  transition: translate var(--t-press) var(--ease-out), box-shadow var(--t-press) var(--ease-out), background-color var(--t-fast) ease;
}
.rv-cart:active, .rv-cart[data-open] { translate: var(--pop-x) var(--pop-y); box-shadow: 0 0 0 0 var(--cocoa); }
.rv-cart[data-got] { animation: rv-got 560ms var(--ease-out); }
@keyframes rv-got {
  0% { translate: 0 0; rotate: 0deg; }
  30% { translate: 0 -8px; rotate: -10deg; }
  58% { translate: 0 1px; rotate: 4deg; }
  78% { translate: 0 0; rotate: -1.5deg; }
  100% { translate: 0 0; rotate: 0deg; }
}
.rv-cart__count { position: absolute; top: -9px; right: -11px; overflow: hidden; box-shadow: 0 0 0 2px var(--cream); }
.rv-cart[data-got] .rv-cart__count { animation: rv-badge 420ms var(--ease-out) 120ms backwards; }
@keyframes rv-badge { 0% { scale: .4; } 55% { scale: 1.3; } 100% { scale: 1; } }
.rv-count__n { display: block; }
/* An amount that changed rolls in from the side it moved to — once, then still. */
.rv-roll { display: inline-block; }
.rv-roll[data-roll="up"] { animation: rv-tick-up 260ms var(--ease-out); }
.rv-roll[data-roll="down"] { animation: rv-tick-down 260ms var(--ease-out); }
@keyframes rv-tick-up { from { translate: 0 .5em; opacity: 0; } }
@keyframes rv-tick-down { from { translate: 0 -.5em; opacity: 0; } }
.rv-count__n[data-roll="up"] { animation: rv-roll-up 300ms var(--ease-out); }
.rv-count__n[data-roll="down"] { animation: rv-roll-down 300ms var(--ease-out); }
@keyframes rv-roll-up { from { translate: 0 90%; opacity: 0; } }
@keyframes rv-roll-down { from { translate: 0 -90%; opacity: 0; } }
@media (hover: hover) and (pointer: fine) {
  .rv-cart:not([data-open]):hover { translate: -1px -1px; box-shadow: var(--pop-lift); background: var(--amber-hi); }
}
/* Free shipping on this basket: a small green badge, for as long as the
   store says so. It arrives after the tag has been reeled in. */
.rv-cart__free {
  position: absolute; left: -9px; bottom: -7px; width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center; background: var(--green); color: var(--paper);
  border: var(--line) solid var(--cocoa); box-shadow: 0 0 0 2px var(--cream);
  opacity: 0; scale: .4; transition: opacity 140ms ease, scale 360ms var(--ease-out);
}
.rv-cart__free .rv-i { width: 11px; height: 11px; }
.rv-cart[data-free]:not([data-hanging]) .rv-cart__free { opacity: 1; scale: 1; transition-delay: 0ms, 0ms; }

/* The moment free shipping arrives outside the basket: the tag drops from
   the basket on its string, swings, settles, and is reeled back in. */
.rv-hang { position: absolute; left: 4px; top: calc(100% - 11px); width: 0; height: 0; z-index: 3; pointer-events: none; }
.rv-hang__string { position: absolute; left: -1px; top: 0; width: 2px; height: 26px; border-radius: 1px; background: var(--cocoa); transform-origin: top; animation: rv-string 240ms var(--ease-out) backwards; }
.rv-hang__tag {
  position: absolute; left: -49px; top: 9px; width: 98px; height: 66px; padding-top: 18px;
  transform-origin: 49px 17px; animation: rv-dangle 1500ms backwards;
}
.rv-hang .rv-tag__edge { fill: var(--green); stroke: var(--cocoa); stroke-dasharray: none; }
.rv-hang .rv-tag__shape { filter: drop-shadow(2px 3px 0 var(--cocoa)); }
.rv-hang .rv-tag__hole { fill: var(--cream); }
.rv-hang .rv-tag__t { flex-wrap: wrap; justify-content: center; text-align: center; color: var(--paper); font-size: 12px; line-height: 1.12; letter-spacing: .03em; }
.rv-hang .rv-tag__t .rv-i { width: 13px; height: 13px; }
@keyframes rv-string { from { scale: 1 0; } }
@keyframes rv-dangle {
  0% { opacity: 0; translate: 0 -34px; rotate: 30deg; animation-timing-function: cubic-bezier(.3, .7, .4, 1); }
  14% { opacity: 1; translate: 0 2px; rotate: 22deg; animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
  20% { translate: 0 0; }
  36% { rotate: -13deg; animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
  54% { rotate: 8deg; animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
  70% { rotate: -4deg; animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
  86% { rotate: 1.5deg; }
  100% { rotate: -1deg; }
}
.rv-hang__tag { rotate: -1deg; }
.rv-hang[data-reel] .rv-hang__tag { opacity: 0; translate: 0 -30px; scale: .5; transition: opacity 200ms ease, translate 260ms var(--ease-out), scale 260ms var(--ease-out); }
.rv-hang[data-reel] .rv-hang__string { scale: 1 0; transition: scale 220ms var(--ease-out); }

.rv-menubtn {
  display: none; align-items: center; gap: 6px; height: 42px;
  padding: 0 14px 0 10px; border: var(--line) solid var(--cocoa); border-radius: var(--r-pill);
  background: var(--paper); color: var(--ink); text-decoration: none; font-weight: 600; font-size: var(--fs-sm);
  transition: background-color var(--t-fast) ease;
}
.rv-menubtn:active { background: var(--sand-2); }

/* phone search row; it scrolls away with the page */
.rv-findrow { display: none; padding: var(--s1) var(--gutter) var(--s5); }
.rv-findrow a {
  display: flex; align-items: center; gap: var(--s3); height: 50px; padding: 0 var(--s5);
  border: var(--line) solid var(--cocoa); border-radius: var(--r-pill); background: var(--paper);
  color: var(--ink-2); text-decoration: none; box-shadow: var(--pop-sm);
}
.rv-findrow a:active { background: var(--sand); }
.rv-findrow .rv-i { color: var(--ink); }
.rv-findrow a span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ── the header's sheet ─────────────────────────────────────────────────────
   One sheet of soft paper under the header, lifted off the counter by a warm
   cast — no ink edge: the big surfaces are paper, as Pult's hero card is. It
   is dealt in, keeps itself and morphs its height when switching panels, and
   turns green for Célpakk. */
.rv-tray {
  position: absolute; left: 0; right: 0; top: calc(100% + 6px);
  width: min(calc(var(--shell-max) - 2 * var(--gutter)), calc(100% - 2 * var(--gutter))); margin: 0 auto;
  background: var(--paper); color: var(--ink);
  border-radius: 24px; box-shadow: var(--lift);
  overflow: clip;
  /* Height, deliberately, and only while switching: the header's own height
     is fixed, so the page never re-lays out. */
  transition: height var(--t-deal) var(--ease-deal), background-color var(--t-deal) ease;
}
.rv-tray[data-dealt] { animation: rv-deal var(--t-deal) var(--ease-deal); }
@keyframes rv-deal { from { opacity: 0; translate: 0 -10px; } }
.rv-tray[data-closing] { opacity: 0; translate: 0 -6px; transition: opacity 160ms ease, translate 160ms ease; }
.rv-tray[data-open="guide"] { background: var(--green-block); }

.rv-panel { position: relative; transition: opacity 140ms ease; }
.rv-panel:not([hidden]) > * { animation: rv-in 200ms var(--ease-out) 30ms backwards; }
.rv-panel[data-leaving] { position: absolute; left: 0; right: 0; top: 0; z-index: 4; opacity: 0; pointer-events: none; }
@keyframes rv-in { from { opacity: 0; } }
@keyframes rv-rise { from { opacity: 0; translate: 0 6px; } }

.rv-scrim {
  position: fixed; inset: 0; z-index: calc(var(--z-head) - 1);
  background: var(--scrim); opacity: 0; transition: opacity 220ms var(--ease-out);
}
.rv-scrim[data-shown] { opacity: 1; }

/* ── catalogue ──────────────────────────────────────────────────────────── */
.rv-cat {
  position: relative; display: grid; grid-template-columns: 268px minmax(0, 1fr); grid-template-rows: minmax(0, 1fr);
  min-height: 400px;
}
.rv-cat__rail {
  grid-column: 1; position: relative; display: flex; flex-direction: column;
  overflow-y: auto; overscroll-behavior: contain; padding: 18px 12px 0 16px;
  scroll-padding-block: var(--s3) 190px;   /* a focused row never hides behind the pinned rows; catalogue.js measures it */
}
/* The open department's marker: a flat pill in its own colour, the same
   colour as its card's tab. It slides from row to row. */
.rv-cat__ind {
  position: absolute; left: 16px; right: 12px; top: 0; z-index: 0;
  height: var(--h, 0); transform: translateY(var(--y, 0));
  border-radius: var(--r-md); background: var(--bg, var(--sand-2));
  transition: transform 300ms var(--ease-out), height 300ms var(--ease-out), background-color 300ms ease, opacity var(--t-fast) ease;
}
.rv-cat__ind[data-instant] { transition: none; }
.rv-cat__ind[data-off] { opacity: 0; }
.rv-cat__group { position: relative; padding: 14px var(--s4) 6px; font-size: var(--fs-cap); font-weight: 600; color: var(--ink-2); }
.rv-cat__group:first-of-type { padding-top: var(--s1); }
.rv-cat__list { list-style: none; margin: 0; padding: 0; }
.rv-dep__link {
  position: relative; z-index: 1; display: flex; align-items: center; gap: var(--s3);
  min-height: 44px; padding: 6px var(--s4); border-radius: var(--r-md);
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: 17px; line-height: 1.25;
  transition: background-color var(--t-fast) ease;
}
button.rv-dep__link { width: 100%; border: 0; background: none; text-align: left; font-family: inherit; }
.rv-dep__link > .rv-i--sm { color: var(--ink); }
.rv-dep__link > .rv-i--xs { margin-left: auto; opacity: 0; translate: -4px 0; transition: opacity var(--t-fast) ease, translate var(--t-base) var(--ease-out); }
.rv-dep[data-active] > .rv-dep__link > .rv-i--xs { opacity: 1; translate: 0 0; }
.rv-dep--util[data-active] > .rv-dep__link { background: var(--sand); }
@media (hover: hover) and (pointer: fine) {
  .rv-dep:not([data-active]) > .rv-dep__link:hover, .rv-dep--util > .rv-dep__link:hover { background: var(--sand); }
}
.rv-cat__rail .rv-dep { --ring: var(--cocoa); }
.rv-cat__more { position: sticky; bottom: 0; z-index: 2; margin-top: auto; padding: 18px 0 var(--s4); background: var(--paper); }
.rv-cat__more::before { content: ""; position: absolute; left: var(--s4); right: var(--s2); top: 0; border-top: 1.5px solid var(--rule-2); }
.rv-cat__more::after { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 24px; background: linear-gradient(rgba(255, 252, 246, 0), var(--paper)); pointer-events: none; }
.rv-cat__more .rv-dep__link { min-height: 40px; font-size: 15px; font-weight: 500; }
/* "Még 2 lent": departments below the fold, a small note on the fold. */
.rv-cat__cue {
  position: absolute; left: 50%; top: 0; z-index: 3; translate: -50% -50%;
  display: inline-flex; align-items: center; gap: 4px; height: 26px; padding: 0 10px 0 12px;
  border: var(--line-thin) solid var(--cocoa); border-radius: var(--r-pill); background: var(--paper);
  color: var(--ink); font-size: 12.5px; font-weight: 600; cursor: pointer;
}
.rv-cat__cue[hidden] { display: none; }

.rv-cat__views { grid-column: 2; position: relative; min-width: 0; }
.rv-dep__view {
  display: none; position: absolute; inset: 0; overflow: auto; overscroll-behavior: contain;
  padding: 18px 18px 18px 6px;
}
.rv-dep__view[data-active] { display: block; }
/* catalogue.js measures each card at its natural height to size the sheet */
.rv-dep__view[data-measure] { display: block; visibility: hidden; bottom: auto; }
.rv-dep__view[data-measure] .rv-card { min-height: 0; }

/* The index card. The department's name is its folder tab, in its own colour,
   and "Összes …" stands right beside the tab — name first, then the way to
   everything in it. The body is the department's wash. */
.rv-card { position: relative; min-height: 100%; display: flex; flex-direction: column; --ring: var(--cocoa); }
.rv-card--plain { --accent: var(--sand-2); --wash: var(--sand); }
.rv-card__head { display: flex; align-items: center; gap: var(--s5); }
.rv-card__tab {
  display: inline-flex; align-items: center; height: 48px; padding: 3px 24px 0 22px;
  background: var(--accent, var(--sand-2)); color: var(--ink);
  border-radius: 14px 14px 0 0;
  font: 400 26px/1 var(--font-display); text-transform: uppercase; letter-spacing: var(--track-display); white-space: nowrap;
}
.rv-card__all {
  display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 2px;
  color: var(--ink); font-weight: 600; font-size: var(--fs-md); text-decoration: underline;
  text-decoration-thickness: 2px; text-underline-offset: .28em; text-decoration-color: rgba(46, 28, 21, .3);
  transition: text-decoration-color var(--t-fast) ease;
}
.rv-card__all .rv-i { transition: translate var(--t-base) var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .rv-card__all:hover { text-decoration-color: currentColor; }
  .rv-card__all:hover .rv-i { translate: 3px 0; }
}
.rv-card__body {
  flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: var(--s7);
  padding: 26px 28px 26px 28px; background: var(--wash, var(--sand));
  border-radius: 0 22px 22px 22px;
}
.rv-card--bare .rv-card__body { grid-template-columns: minmax(0, 1fr); }
.rv-dep__view[data-active] .rv-card__tab { animation: rv-tab 280ms var(--ease-out) backwards; }
@keyframes rv-tab { from { translate: 0 10px; } }
.rv-dep__view[data-active] .rv-card__body { animation: rv-in 220ms var(--ease-out) 30ms backwards; }

.rv-card__main { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.rv-card__note { font-size: var(--fs-xl); font-weight: 500; line-height: 1.3; color: var(--dink, var(--ink)); max-width: 34ch; }
.rv-card__sec h3 { font-size: var(--fs-cap); font-weight: 600; color: var(--ink-2); margin-bottom: 6px; }
/* Kinds: a list of words, not a row of buttons. */
.rv-kinds { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 var(--s7); max-width: 620px; }
.rv-kinds a {
  display: flex; align-items: center; gap: 6px; min-height: 40px; color: var(--ink); text-decoration: none;
  font-size: 17px; font-weight: 600;
}
.rv-kinds a::after {
  content: ""; width: 14px; height: 14px; flex: none; opacity: 0; translate: -4px 0;
  background: currentColor; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M224.49,136.49l-72,72a12,12,0,0,1-17-17L187,140H40a12,12,0,0,1,0-24H187L135.51,64.48a12,12,0,0,1,17-17l72,72A12,12,0,0,1,224.49,136.49Z'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: opacity var(--t-fast) ease, translate var(--t-base) var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .rv-kinds a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .25em; }
  .rv-kinds a:hover::after { opacity: 1; translate: 0 0; }
}
.rv-card__guides { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.rv-card__guides a {
  display: inline-flex; align-items: center; gap: var(--s2); min-height: 36px; color: var(--ink); font-weight: 500;
  text-decoration: underline; text-decoration-color: transparent; text-underline-offset: .3em; text-decoration-thickness: 2px;
  transition: text-decoration-color var(--t-fast) ease;
}
@media (hover: hover) and (pointer: fine) { .rv-card__guides a:hover { text-decoration-color: currentColor; } }

/* Makers: a wall of their own logos, in their own colours, on paper tiles;
   the name in Rutriven's type where a maker has no logo. */
.rv-brands { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s2); }
.rv-brands > li[hidden] { display: none; }
.rv-brand {
  display: grid; place-items: center; align-content: center; gap: 4px; width: 116px; height: 60px; padding: 6px 10px;
  border: var(--line-thin) solid transparent; border-radius: var(--r-md); background: var(--paper);
  color: var(--ink); text-decoration: none; text-align: center;
  transition: border-color var(--t-fast) ease, background-color var(--t-fast) ease;
}
.rv-brand:active { background: var(--sand); }
/* The logo sits in a box of one height in every tile, so the names a symbol
   needs share a line whatever the logo's shape. */
.rv-brand__logo { display: grid; place-items: center; height: 40px; max-width: 100%; }
.rv-brand .rv-logo { transition: translate var(--t-base) var(--ease-out); }
/* A logo the maker publishes only for a dark ground, on its own small black
   plate, as on the maker's packs. */
.rv-logo--plate { box-sizing: content-box; padding: 5px 8px; border-radius: 6px; background: #000; }
@media (hover: hover) and (pointer: fine) {
  .rv-brand:hover { border-color: var(--cocoa); }
  .rv-brand:hover .rv-logo { translate: 0 -1px; }
}
.rv-brands__more {
  display: inline-flex; align-items: center; gap: 6px; min-height: 40px; margin-top: 4px; color: var(--ink); font-size: var(--fs-sm); font-weight: 600;
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .28em; text-decoration-color: rgba(46, 28, 21, .3);
}
@media (hover: hover) and (pointer: fine) { .rv-brands__more:hover { text-decoration-color: currentColor; } }
.rv-brand__name { font-size: 12px; font-weight: 500; color: var(--ink-2); line-height: 1.2; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rv-logo { display: block; flex: none; max-width: 100%; object-fit: contain; }
.rv-logo--word {
  font: 600 15px/1.15 var(--font-ui); color: var(--ink);
  max-width: 100%; overflow-wrap: anywhere; text-wrap: balance;
}

/* Picks: products as they are — the pack upright on a small paper tile — in
   plain lines beside the department's words. */
.rv-card__picks { min-width: 0; }
.rv-card__picks h3 { font-size: var(--fs-cap); font-weight: 600; color: var(--ink-2); margin-bottom: var(--s2); }
.rv-card__picks ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s2); }
.rv-pick {
  display: flex; align-items: center; gap: var(--s3); padding: 6px; border-radius: var(--r-md);
  color: var(--ink); text-decoration: none; line-height: 1.25; transition: background-color var(--t-fast) ease;
}
.rv-pick .rv-pack { --wash: var(--paper); width: 64px; }
.rv-pick__t { display: grid; gap: 1px; min-width: 0; }
.rv-pick small { font-size: 12.5px; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rv-pick b { font-size: var(--fs-sm); font-weight: 600; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rv-pick .rv-price { font-size: var(--fs-sm); }
@media (hover: hover) and (pointer: fine) {
  .rv-pick:hover { background: rgba(255, 252, 246, .7); }
  .rv-pick:hover b { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .2em; }
}

/* Márkák: the wall of logos (most of the range first), then — once there are
   more makers than a dozen — every name in plain alphabetical columns. One
   field narrows both. */
.rv-bw { display: flex; flex-direction: column; gap: var(--s5); }
.rv-bw__filter { width: min(320px, 100%); min-height: 46px; }
.rv-brands--wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(136px, 1fr)); gap: 10px; }
.rv-brands--wall .rv-brand { width: auto; height: 84px; gap: 6px; padding: 10px; align-content: center; }
.rv-brands--wall .rv-brand__logo { height: 44px; }
.rv-brands--wall .rv-logo--word { font-size: 16px; }
.rv-bw__all { padding-top: var(--s4); border-top: 1.5px solid var(--rule-2); }
.rv-bw__all h3 { display: flex; align-items: center; gap: var(--s2); margin-bottom: var(--s2); font-size: var(--fs-cap); font-weight: 600; color: var(--ink-2); }
.rv-bw__all h3 span { padding: 2px 8px 1px; border-radius: var(--r-pill); background: var(--sand-2); color: var(--ink); font-variant-numeric: tabular-nums; }
.rv-bw__all[data-filtered] h3 { visibility: hidden; height: 0; margin: 0; }
.rv-bw__names { list-style: none; margin: 0; padding: 0; columns: 4 170px; column-gap: var(--s7); }
.rv-bw__names li { break-inside: avoid; }
.rv-bw__names a {
  display: inline-flex; align-items: center; min-height: 34px; color: var(--ink); font-weight: 500; text-decoration: underline;
  text-decoration-color: transparent; text-decoration-thickness: 2px; text-underline-offset: .25em; transition: text-decoration-color var(--t-fast) ease;
}
@media (hover: hover) and (pointer: fine) { .rv-bw__names a:hover { text-decoration-color: currentColor; } }
.rv-bw__none { color: var(--ink-2); }

/* ── Célpakk ────────────────────────────────────────────────────────────────
   Its own green block, the colour of the approved Célpakk band, on desktop
   (the header's sheet turns green) and on phones (the menu turns green).
   The purposes are this surface's one printed choice: four equal paper
   stickers, each with a glyph of the shopper's own situation. */
.rv-cp-title { font: 400 clamp(3rem, 2.3rem + 1.8vw, 4.25rem)/.92 var(--font-display); text-transform: uppercase; letter-spacing: var(--track-display); color: var(--paper); }
.rv-cp-title:focus { outline: none; }
.rv-cp-lead { font-size: 21px; line-height: 1.4; max-width: 24ch; color: var(--paper); }
.rv-cp-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s2); font-size: var(--fs-sm); font-weight: 500; color: var(--green-mint); }
.rv-cp-facts li { display: flex; align-items: center; gap: var(--s2); }
.rv-cp-facts .rv-i { color: var(--green-mint); }
.rv-cp-ask { position: relative; font: 700 26px/1.1 var(--font-ui); color: var(--paper); }
.rv-cp-doodle {
  position: absolute; width: 112px; height: 64px; overflow: visible; pointer-events: none;
  fill: none; stroke: var(--green-mint); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round;
}
.rv-cp-doodle path { stroke-dasharray: 240; }
.rv-cp-answers { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: var(--s4); }
.rv-cp-a {
  display: flex; align-items: center; gap: var(--s4);
  height: 100%; min-height: 88px; padding: var(--s4) var(--s4) var(--s4) var(--s4);
  border: var(--line) solid var(--cocoa); border-radius: 18px; background: var(--paper); color: var(--ink);
  text-decoration: none; font-size: 18px; font-weight: 600; line-height: 1.3;
  box-shadow: var(--pop); --ring: var(--amber);
  transition: translate var(--t-press) var(--ease-out), box-shadow var(--t-press) var(--ease-out);
}
.rv-cp-a__g { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--green-wash); color: var(--green-ink); }
.rv-cp-a__g .rv-i { width: 26px; height: 26px; }
.rv-cp-a__t { flex: 1; min-width: 0; }
.rv-cp-a__go { flex: none; color: var(--green); transition: translate var(--t-base) var(--ease-out); }
.rv-cp-a:active { translate: var(--pop-x) var(--pop-y); box-shadow: 0 0 0 0 var(--cocoa); }
@media (hover: hover) and (pointer: fine) {
  .rv-cp-a:hover { translate: -1px -1px; box-shadow: var(--pop-lift); }
  .rv-cp-a:hover .rv-cp-a__go { translate: 3px 0; }
}
.rv-cp-alt { list-style: none; margin: var(--s5) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s3); }
.rv-cp-alt__a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--s5); border-radius: var(--r-pill);
  border: 2px dashed var(--green-mint); color: var(--paper); font-weight: 600; text-decoration: none; --ring: var(--amber);
  transition: background-color var(--t-fast) ease, border-color var(--t-fast) ease;
}
@media (hover: hover) and (pointer: fine) { .rv-cp-alt__a:hover { border-style: solid; background: var(--green-block-2); } }

/* desktop panel */
.rv-gp {
  display: grid; grid-template-columns: minmax(280px, 4fr) minmax(0, 7fr); gap: var(--s9);
  padding: 40px 44px 42px; color: var(--paper); --ring: var(--amber);
}
.rv-gp__intro { display: flex; flex-direction: column; gap: var(--s4); }
.rv-gp__intro .rv-cp-facts { margin-top: var(--s4); padding-top: var(--s4); border-top: 1.5px solid rgba(191, 227, 201, .35); }
.rv-panel:not([hidden]) .rv-gp > * { animation: rv-rise 300ms var(--ease-out) backwards; }
.rv-panel:not([hidden]) .rv-gp > .rv-gp__q { animation-delay: 60ms; }
.rv-gp__q { position: relative; min-width: 0; }
.rv-gp__q .rv-cp-ask { margin: 2px 0 var(--s6); }
.rv-gp__q .rv-cp-doodle { left: 168px; top: -18px; }
.rv-panel:not([hidden]) .rv-cp-doodle path { animation: rv-draw 620ms var(--ease-out) 160ms backwards; }
@keyframes rv-draw { from { stroke-dashoffset: 240; } }

/* phones and the Célpakk page: the first question, composed for a thumb */
.rv-cpe { display: flex; flex-direction: column; gap: var(--s4); color: var(--paper); --ring: var(--amber); container-type: inline-size; }
.rv-cpe .rv-cp-title { font-size: 46px; }
.rv-cpe .rv-cp-lead { font-size: 18px; color: var(--green-mint); max-width: 28ch; }
.rv-cpe__q { position: relative; margin-top: var(--s3); }
.rv-cpe .rv-cp-ask { font-size: 24px; margin-bottom: var(--s5); }
.rv-cpe .rv-cp-doodle { left: 150px; top: -26px; width: 92px; height: 52px; }
.rv-cpe .rv-cp-answers { gap: 14px; }
.rv-cpe .rv-cp-a {
  display: grid; grid-template-columns: 1fr; grid-template-rows: auto 1fr; align-items: start; gap: var(--s3);
  min-height: 150px; padding: 14px 14px 14px; border-radius: 20px; font-size: 15.5px; line-height: 1.25;
}
.rv-cpe .rv-cp-a__g { width: 44px; height: 44px; }
.rv-cpe .rv-cp-a__t { grid-column: 1; text-wrap: pretty; }
.rv-cpe .rv-cp-a__go { display: none; }
.rv-cpe .rv-cp-alt { margin-top: var(--s2); flex-direction: column; align-items: stretch; gap: var(--s2); }
/* An answer that needs two lines stays a rounded box with balanced lines,
   not a stretched pill with one word left over. */
.rv-cpe .rv-cp-alt__a { justify-content: center; min-height: 48px; padding: 10px var(--s4); border-radius: 24px; font-size: 15px; line-height: 1.25; text-align: center; text-wrap: balance; }
.rv-cpe .rv-cp-facts { margin-top: var(--s4); padding-top: var(--s4); border-top: 1.5px solid rgba(191, 227, 201, .35); }
/* The deck is dealt when the question opens: one moment, then still. */
[data-dealt] .rv-cpe .rv-cp-answers > li { animation: rv-card-in 420ms var(--ease-deal) calc(80ms + var(--i, 0) * 55ms) backwards; }
[data-dealt] .rv-cpe .rv-cp-answers > li:nth-child(odd) { --tilt: -3deg; }
[data-dealt] .rv-cpe .rv-cp-answers > li:nth-child(even) { --tilt: 3deg; }
@keyframes rv-card-in { from { opacity: 0; translate: 0 22px; rotate: var(--tilt, 0deg); } }
[data-dealt] .rv-cpe .rv-cp-doodle path { animation: rv-draw 620ms var(--ease-out) 360ms backwards; }

/* ── search results ─────────────────────────────────────────────────────── */
.rv-sr { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: var(--s2) var(--s7); padding: var(--s5) var(--s6) var(--s6); }
.rv-sr--one { grid-template-columns: minmax(0, 1fr); }
/* Before a word is typed: recent searches (when there are any) beside the
   departments, each shown by a pack of its own, and the makers' logos. */
.rv-sr--entry { grid-template-columns: minmax(0, 1fr); gap: var(--s5); }
.rv-sr--entry.rv-sr--recent { grid-template-columns: 300px minmax(0, 1fr); grid-template-areas: "recent deps" "recent brands"; column-gap: var(--s7); }
.rv-sr__recent { grid-area: recent; align-self: start; }
.rv-sr--recent .rv-sr__deps { grid-area: deps; }
.rv-sr--recent .rv-sr__brands { grid-area: brands; }
.rv-sr__deplist { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 2px var(--s4); }
.rv-opt--dep { gap: var(--s4); padding: 6px var(--s3) 6px 6px; }
.rv-opt--dep .rv-pack { width: 60px; }
.rv-opt--dep .rv-opt__t span { font-size: 17px; }
.rv-opt--dep .rv-opt__t small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rv-sr__logos { display: grid; grid-template-columns: repeat(8, minmax(0, 120px)); gap: var(--s2); padding: 0 var(--s1); }
/* Beside recent searches, or in a narrower sheet, two even rows of four. */
.rv-sr--recent .rv-sr__logos { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.rv-sr__logos > .rv-opt--logo {
  width: auto; min-height: 0; height: 58px; padding: 6px 10px; justify-content: center;
  border-radius: var(--r-md); box-shadow: inset 0 0 0 1.5px var(--rule-2);
}
.rv-opt--logo .rv-logo--word { font-size: 14px; text-align: center; }
.rv-opt--logo .rv-logo { transition: translate var(--t-base) var(--ease-out); }
.rv-opt--logo[aria-selected="true"] { background: var(--paper); box-shadow: inset 0 0 0 2px var(--cocoa); }
@media (hover: hover) and (pointer: fine) {
  .rv-opt--logo:not([aria-selected="true"]):hover { background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--cocoa); }
  .rv-opt--logo:hover .rv-logo { translate: 0 -1px; }
  .rv-opt--dep:hover .rv-pack img, .rv-opt--prod:hover .rv-pack img { translate: 0 -2px; }
}
.rv-opt--dep .rv-pack img, .rv-opt--prod .rv-pack img { transition: translate var(--t-base) var(--ease-out); }
.rv-pack--xs { width: 32px !important; border-radius: 8px; }
.rv-pack--xs.rv-pack--none::after { border-width: 1.5px; }
.rv-pack--blank { background: none; }
.rv-sr__col { display: grid; gap: var(--s4); align-content: start; min-width: 0; }
.rv-sr__h {
  display: flex; justify-content: space-between; align-items: center; gap: var(--s4); min-height: 32px;
  padding: 0 var(--s3); margin-bottom: 2px; font-size: var(--fs-cap); font-weight: 600; color: var(--ink-2);
}
.rv-sr__clear { display: inline-flex; align-items: center; min-height: 32px; margin: 2px 0 0 var(--s1); padding: 0 var(--s2); border-radius: 6px; font-size: var(--fs-cap); font-weight: 500; color: var(--ink-2); text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }
.rv-sr__clear[aria-selected="true"] { background: var(--sand); color: var(--ink); box-shadow: inset 0 0 0 2px var(--cocoa); }
@media (hover: hover) and (pointer: fine) { .rv-sr__clear:hover { color: var(--ink); } }
.rv-opt {
  display: flex; align-items: center; gap: var(--s3); width: 100%; min-height: 44px; padding: var(--s2) var(--s3);
  border-radius: var(--r-md); color: var(--ink); text-decoration: none; cursor: pointer;
  transition: background-color var(--t-fast) ease;
}
.rv-opt[aria-selected="true"] { background: var(--sand); box-shadow: inset 0 0 0 2px var(--cocoa); }
@media (hover: hover) and (pointer: fine) { .rv-opt:not([aria-selected="true"]):hover { background: var(--sand); } }
.rv-opt > .rv-i { color: var(--ink-2); }
.rv-opt__q { flex: 1; min-width: 0; }
.rv-opt__q b { font-weight: 700; }
/* A category or maker says what it is in a quieter voice beside its name. */
.rv-opt__q small { margin-left: var(--s2); font-size: var(--fs-cap); font-weight: 500; color: var(--ink-2); white-space: nowrap; }
.rv-opt--scope .rv-opt__q, .rv-opt--brand .rv-opt__q { font-weight: 600; }
.rv-opt__mark { flex: none; display: grid; place-items: center; width: 44px; height: 28px; color: var(--ink); }
.rv-opt__mark .rv-logo--plate { padding: 3px 5px; border-radius: 4px; }
.rv-opt__fill { margin-left: auto; width: 36px; height: 36px; margin-block: -6px; border-radius: 50%; display: grid; place-items: center; color: var(--ink-2); }
/* "Put it in the field" stays out of sight until the suggestion is pointed at
   or chosen; on touch it is always there, being the only way to reach it. */
@media (hover: hover) and (pointer: fine) {
  .rv-opt__fill { opacity: 0; transition: opacity var(--t-fast) ease; }
  .rv-opt:hover .rv-opt__fill, .rv-opt[aria-selected="true"] .rv-opt__fill { opacity: 1; }
  .rv-opt__fill:hover { background: var(--paper); color: var(--ink); }
}
/* Products: lines, each the pack on its department's wash, maker, name, price.
   The way to every result sits on the products' own heading. */
.rv-sr__prods { display: grid; gap: 2px; align-content: start; }
.rv-opt--prod { gap: var(--s3); padding: 6px var(--s3) 6px 6px; }
.rv-opt--prod .rv-pack { width: 60px; }
.rv-opt__t { flex: 1; min-width: 0; display: grid; gap: 1px; line-height: 1.3; }
.rv-opt__t small { font-size: var(--fs-cap); color: var(--ink-2); }
.rv-opt__t span { font-weight: 600; }
.rv-opt__p { text-align: right; display: grid; gap: 1px; padding-left: var(--s2); }
.rv-opt__p small { font-size: var(--fs-cap); color: var(--ink-2); font-weight: 400; font-variant-numeric: tabular-nums; }
/* Out of stock, said plainly. */
.rv-opt__p em { justify-self: end; font-style: normal; font-size: var(--fs-cap); font-weight: 600; color: var(--alert); }
.rv-opt--all {
  width: auto; min-height: 36px; margin-block: -4px; padding: 0 var(--s2) 0 var(--s3); gap: 6px; flex: none;
  color: var(--ink); font-size: var(--fs-sm); font-weight: 600;
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .25em; text-decoration-color: rgba(46, 28, 21, .3);
}
.rv-opt--all[aria-selected="true"] { box-shadow: none; text-decoration-color: currentColor; }
@media (hover: hover) and (pointer: fine) { .rv-opt--all:hover { text-decoration-color: currentColor; } }
.rv-sr__note { display: flex; gap: var(--s2); align-items: flex-start; margin: 0 var(--s3); padding: var(--s3) var(--s4); border-radius: var(--r-md); background: var(--sand); font-size: var(--fs-sm); }
.rv-sr__note .rv-i { margin-top: 2px; color: var(--ink-2); }
.rv-sr__empty { padding: var(--s2) var(--s3) var(--s1); display: grid; gap: var(--s2); }
.rv-sr__empty h3 { font: 400 var(--fs-d2)/1 var(--font-display); text-transform: uppercase; letter-spacing: var(--track-display); }
.rv-sr__empty p { color: var(--ink-2); max-width: 60ch; }
.rv-sr__guide { color: var(--green-ink); font-weight: 500; }
.rv-sr__guide > .rv-i { color: var(--green); }
.rv-sr__guide b { font-weight: 700; color: var(--green); }
.rv-sr__help { padding: var(--s2) var(--s3) 0; font-size: var(--fs-sm); color: var(--ink-2); }

/* ── sheets (native dialogs) ────────────────────────────────────────────── */
/* The lock is set on <body>, whose overflow is the one the window takes.
   Set on the root it would take that role from <body>: a page that clips
   <body> sideways (home, Célpakk) then turns <body> into a scroll box of its
   own, the sticky header sticks to that unscrolled box instead of the
   window, and Firefox drops the scroll position when the lock lifts. */
html.rv-locked body { overflow: hidden; }
html { scrollbar-gutter: stable; }
.rv-sheet {
  position: fixed; margin: 0; padding: 0; border: 0; max-width: none; max-height: none;
  display: none; flex-direction: column; overflow: hidden;
  background: var(--paper); color: var(--ink);
  --ring: var(--cocoa);
  timeline-scope: --rv-body;
}
.rv-sheet[open] { display: flex; }
.rv-sheet::backdrop { background: var(--scrim); opacity: 0; transition: opacity 260ms var(--ease-out); }
.rv-sheet[data-shown]::backdrop { opacity: 1; }
.rv-sheet__bar { position: relative; z-index: 2; flex: none; display: flex; align-items: center; gap: var(--s3); min-height: 66px; padding: var(--s2) var(--s3) var(--s2) var(--s6); background: var(--paper); }
.rv-sheet__title {
  display: flex; align-items: center; gap: 12px; margin-right: auto;
  font: 400 var(--fs-d3)/1 var(--font-display); text-transform: uppercase; letter-spacing: var(--track-display);
}
.rv-sheet__title:focus { outline: none; }
.rv-sheet__sub {
  padding: 4px 10px 3px; border-radius: var(--r-pill); background: var(--sand-2); color: var(--ink);
  font: 600 var(--fs-cap)/1.2 var(--font-ui); text-transform: none; letter-spacing: 0; font-variant-numeric: tabular-nums;
}
.rv-sheet__sub:empty { display: none; }
.rv-sheet__body { flex: 1 1 auto; min-height: 0; overflow: auto; overscroll-behavior: contain; scroll-timeline: --rv-body y; background: var(--paper); }
.rv-sheet__foot { position: relative; z-index: 2; flex: none; }
.rv-sheet__grab { display: none; }
/* Scroll edge: once content passes under the bar, a rule appears. */
@supports (animation-timeline: scroll()) {
  .rv-sheet__bar { animation: rv-edge-top linear both; animation-timeline: --rv-body; animation-range: 0 24px; }
  @keyframes rv-edge-top { to { box-shadow: 0 1.5px 0 var(--rule-2); } }
}

/* The basket, on computers and tablets: a drawer on the screen's right edge,
   the full height of the window — edge-attached, so it never floats; full
   height, so a long basket has room and checkout stays in reach. Paper with
   a warm cast, no ink edge: it is a surface, its buttons are the objects. */
.rv-sheet--cart {
  --d-w: min(460px, 100vw);
  /* Placed from the left in vw, so its outer edge is the window's edge even
     while the page's scrollbar gutter is reserved under a modal. */
  inset: var(--d-top, 0px) auto 0 calc(100vw - var(--d-w)); width: var(--d-w); height: calc(100dvh - var(--d-top, 0px));
  box-shadow: var(--lift);
  translate: 100% 0; transition: translate var(--t-sheet) var(--ease-sheet);
}
.rv-sheet--cart[data-shown] { translate: 0 0; }

/* The account panel — a short menu — hangs from its button: aligned to the
   header's edge, a notch pointing at the button. */
.rv-sheet--pop {
  --d-w: min(400px, calc(100vw - 32px));
  inset: calc(var(--d-top, 80px) + 12px) auto auto calc(var(--d-edge, calc(100vw - var(--gutter))) - var(--d-w));
  width: var(--d-w); height: auto;
  max-height: calc(100dvh - var(--d-top, 80px) - 12px - 20px);
  border-radius: var(--r-xl); overflow: visible; box-shadow: var(--lift);
  transform-origin: calc(100% - var(--d-notch, 25px)) -12px;
  opacity: 0; scale: .96; translate: 0 -8px;
  transition: opacity 160ms ease, scale var(--t-deal) var(--ease-deal), translate var(--t-deal) var(--ease-deal);
}
.rv-sheet--pop[data-shown] { opacity: 1; scale: 1; translate: 0 0; }
.rv-sheet--pop::before {
  content: ""; position: absolute; z-index: 3; top: -7px; right: calc(var(--d-notch, 25px) - 8px);
  width: 16px; height: 16px; background: var(--paper); border-radius: 3px 0 0 0; rotate: 45deg;
}
.rv-sheet--pop > .rv-sheet__bar { border-radius: 22px 22px 0 0; }
.rv-sheet--pop > :last-child { border-radius: 0 0 22px 22px; }
.rv-sheet--pop::backdrop { background: linear-gradient(transparent var(--d-top, 0px), var(--scrim) var(--d-top, 0px)); }

/* the phone menu: paper, from the left where its button is, leaving a strip
   of the page visible so you know where you are */
.rv-sheet--menu {
  inset: 0 auto 0 0; width: min(400px, calc(100vw - 36px)); height: 100dvh;
  border-radius: 0 24px 24px 0; box-shadow: var(--lift);
  translate: calc(-100% - 12px) 0; transition: translate var(--t-sheet) var(--ease-sheet), background-color var(--t-deal) ease;
}
.rv-sheet--menu[data-shown] { translate: 0 0; }
.rv-sheet--menu .rv-sheet__bar { padding-left: var(--s5); transition: background-color var(--t-deal) ease; }
.rv-sheet--menu .rv-sheet__body { transition: background-color var(--t-deal) ease; }
/* Célpakk in the menu: the whole sheet turns green, as the desktop sheet does. */
.rv-sheet--menu[data-celpakk], .rv-sheet--menu[data-celpakk] .rv-sheet__bar, .rv-sheet--menu[data-celpakk] .rv-sheet__body { background: var(--green-block); color: var(--paper); --ring: var(--amber); }
.rv-sheet--menu[data-celpakk] .rv-sheet__title { visibility: hidden; }
.rv-sheet--menu[data-celpakk] .rv-iconbtn { color: var(--paper); }
@media (hover: hover) and (pointer: fine) { .rv-sheet--menu[data-celpakk] .rv-iconbtn:hover { background: var(--green-block-2); } }

/* search on phones: the whole screen, because the keyboard takes half of it.
   It appears in place — no slide — so the field doesn't travel. */
.rv-sheet--search {
  inset: 0; width: 100vw; height: 100dvh;
  opacity: 0; transition: opacity 160ms var(--ease-out);
}
.rv-sheet--search[data-shown] { opacity: 1; }
.rv-sheet--search::backdrop { display: none; }

/* ── phone menu content ─────────────────────────────────────────────────── */
.rv-mm { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; padding: var(--s1) var(--s4) var(--s8); }
.rv-mm__me {
  display: flex; align-items: center; gap: var(--s3); margin: 0 0 var(--s3); padding: 10px var(--s3) 10px 10px;
  border-radius: 18px; background: var(--sand); color: var(--ink); text-decoration: none;
}
.rv-mm__me-t { flex: 1; display: grid; line-height: 1.25; }
.rv-mm__me-t b { font: 400 20px/1.1 var(--font-display); text-transform: uppercase; letter-spacing: var(--track-display); }
.rv-mm__me-t small { font-size: var(--fs-sm); color: var(--ink-2); }
.rv-ava--md { width: 48px; height: 48px; rotate: -5deg; }
.rv-ava--md .rv-ava__i { font-size: 22px; }
.rv-mm__guide {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: var(--s3);
  margin: 4px 4px var(--s4) 0; padding: 18px 16px 18px 20px; border-radius: 20px;
  border: var(--line) solid var(--cocoa); background: var(--green-block); color: var(--paper);
  box-shadow: var(--pop); text-decoration: none; --ring: var(--amber);
  transition: translate var(--t-press) var(--ease-out), box-shadow var(--t-press) var(--ease-out);
}
.rv-mm__guide:active { translate: var(--pop-x) var(--pop-y); box-shadow: 0 0 0 0 var(--cocoa); }
.rv-mm__guide-t { display: grid; gap: 4px; }
.rv-mm__guide b { font: 400 30px/1 var(--font-display); text-transform: uppercase; letter-spacing: var(--track-display); }
.rv-mm__guide-t span { font-size: var(--fs-sm); line-height: 1.4; color: var(--green-mint); }
.rv-mm__guide i { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); color: var(--ink); }
.rv-mm__row {
  display: flex; align-items: center; gap: var(--s3); min-height: 52px; padding: 0 var(--s3);
  border-radius: var(--r-md); color: var(--ink); text-decoration: none; font-size: 17px; font-weight: 600;
  transition: background-color var(--t-fast) ease;
}
.rv-mm__end { margin-left: auto; color: var(--ink-2); }
.rv-mm__row:active, .rv-mm__dep > summary:active { background: var(--sand); }
.rv-mm__row .rv-i { color: var(--ink); }
.rv-mm__row .rv-mm__end { color: var(--ink-2); }
.rv-mm__group { padding: var(--s5) var(--s3) var(--s1); font-size: var(--fs-cap); font-weight: 600; color: var(--ink-2); }
.rv-mm__list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; }
.rv-mm__list--util { margin-top: var(--s4); padding-top: var(--s3); border-top: 1.5px solid var(--rule-2); }
.rv-mm__dep { border-radius: 16px; transition: background-color var(--t-base) ease; }
.rv-mm__dep > summary {
  display: flex; align-items: center; gap: var(--s3); min-height: 52px; padding: 0 var(--s3);
  border-radius: 16px; color: var(--ink); font-size: 17px; font-weight: 600; list-style: none; cursor: pointer;
}
.rv-mm__dep > summary::-webkit-details-marker { display: none; }
.rv-mm__dep > summary > .rv-i:last-child { margin-left: auto; color: var(--ink); transition: rotate var(--t-base) var(--ease-out); }
.rv-mm__dep[open] { background: var(--wash, var(--sand)); }
.rv-mm__dep[open] > summary > .rv-i:last-child { rotate: 180deg; }
.rv-mm__dep[open] > summary .rv-mm__name { font: 400 21px/1 var(--font-display); text-transform: uppercase; letter-spacing: var(--track-display); padding-top: 3px; }
.rv-mm__open { display: grid; gap: var(--s1); padding: 0 var(--s3) var(--s3); }
.rv-mm__all {
  display: flex; align-items: center; gap: 6px; min-height: 44px; color: var(--ink); font-weight: 600;
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .28em; text-decoration-color: rgba(46, 28, 21, .3);
}
.rv-mm__kinds { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--s3); }
.rv-mm__kinds a { display: flex; align-items: center; min-height: 44px; color: var(--ink); text-decoration: none; font-weight: 500; line-height: 1.2; }
.rv-mm__kinds a:active { text-decoration: underline; }
/* Two to a row on a phone: logos are wide, and a third column would print a
   wordmark like Body Attack's at 7 px. */
.rv-mm__dep--brands .rv-brands { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s2); margin: var(--s1) 0 var(--s2); }
.rv-mm__dep--brands .rv-brand { width: auto; height: 60px; gap: 2px; padding: 5px 10px; }
.rv-mm__dep--brands .rv-brand__logo { height: 30px; }
.rv-mm__help { margin-top: var(--s4); padding-top: var(--s3); border-top: 1.5px solid var(--rule-2); display: grid; gap: 2px; }
.rv-mm__quiet { font-size: var(--fs-md); font-weight: 500; color: var(--ink); min-height: 48px; }
.rv-mm-cp { padding: var(--s2) var(--s5) var(--s8); }
.rv-mm-cp__back {
  position: absolute; top: 12px; left: 12px; z-index: 3;
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px 0 10px;
  border: var(--line-thin) solid var(--green-mint); border-radius: var(--r-pill); background: transparent; color: var(--paper); font-weight: 600;
}
.rv-mm-cp__back:active { background: var(--green-block-2); }
@supports (interpolate-size: allow-keywords) {
  .rv-mm { interpolate-size: allow-keywords; }
  .rv-mm__dep::details-content { block-size: 0; overflow: clip; transition: block-size 260ms var(--ease-out), content-visibility 260ms allow-discrete; }
  .rv-mm__dep[open]::details-content { block-size: auto; }
}

/* ── phone search sheet ─────────────────────────────────────────────────── */
.rv-msearch { flex: none; display: flex; align-items: center; gap: var(--s2); padding: var(--s3) var(--s3) var(--s3) var(--s2); border-bottom: 1.5px solid var(--rule-2); }
.rv-msearch__field { flex: 1; min-width: 0; padding-left: var(--s4); }
/* The sheet's one field: focus thickens its own edge instead of drawing a
   second ring around it. */
.rv-msearch__field:focus-within { outline: none; box-shadow: 0 0 0 1.5px var(--cocoa); }
.rv-msearch__field .rv-find__clear { position: static; }
.rv-msearch__go {
  flex: none; width: 48px; height: 48px; border: var(--line) solid var(--cocoa); border-radius: 50%; display: grid; place-items: center;
  background: var(--cocoa); color: var(--paper);
}
.rv-msearch__go:active { background: var(--cocoa-3); }
.rv-msearch__body .rv-sr { grid-template-columns: minmax(0, 1fr); padding: var(--s3) var(--s2); }
.rv-msearch__body .rv-sr--entry { gap: var(--s4); }
.rv-msearch__body .rv-sr__deplist { grid-template-columns: minmax(0, 1fr); }
.rv-msearch__body .rv-opt--dep .rv-pack { width: 56px; }
.rv-msearch__body .rv-sr__logos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 0 var(--s2); }
.rv-msearch__body .rv-sr__logos > .rv-opt--logo { width: auto; height: 60px; }
.rv-msearch__body .rv-opt--prod .rv-pack { width: 56px; }

/* ── basket ─────────────────────────────────────────────────────────────── */
.rv-lines { position: relative; z-index: 0; list-style: none; margin: 0; padding: 0 var(--s6); }
.rv-line {
  position: relative; display: grid; grid-template-columns: 68px minmax(0, 1fr) auto; gap: 2px var(--s4);
  padding: 14px 0; border-bottom: 1.5px solid var(--rule);
  transition: opacity var(--t-base) ease, transform 260ms var(--ease-out);
}
.rv-line:last-child { border-bottom: 0; }
.rv-line .rv-pack { width: 68px; grid-row: span 2; align-self: start; }
.rv-line__t { display: grid; gap: 2px; line-height: 1.3; min-width: 0; justify-items: start; }
.rv-line__t small { font-size: var(--fs-cap); color: var(--ink-2); }
.rv-line__t a { font-weight: 600; text-decoration: none; color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .rv-line__t a:hover { text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 2px; } }
.rv-line__v { font-size: var(--fs-sm); color: var(--ink-2); }
/* What just arrived wears the live drawer's words as a small amber tag. */
.rv-line__new {
  display: inline-flex; align-items: center; margin: 0 0 5px -2px; padding: 3px 10px 2px;
  border: var(--line-thin) solid var(--cocoa); border-radius: var(--r-pill); background: var(--amber); color: var(--cocoa);
  font-size: 12px; font-weight: 600; rotate: -2deg; animation: rv-tag 420ms var(--ease-out) 120ms backwards;
}
@keyframes rv-tag { from { opacity: 0; scale: .6; rotate: -10deg; } }
.rv-line__p { text-align: right; display: grid; gap: 2px; align-content: start; }
.rv-line__p small { font-size: var(--fs-cap); color: var(--ink-2); font-variant-numeric: tabular-nums; }
.rv-line__acts { grid-column: 2 / -1; display: flex; align-items: center; justify-content: space-between; gap: var(--s3); margin-top: 6px; }
.rv-line__rm {
  display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px 0 10px;
  border: 0; border-radius: var(--r-pill); background: none; color: var(--ink-2); font-size: var(--fs-sm); font-weight: 500;
  transition: background-color var(--t-fast) ease, color var(--t-fast) ease;
}
.rv-line__rm:active { background: var(--sand-2); }
@media (hover: hover) and (pointer: fine) { .rv-line__rm:hover { background: var(--sand); color: var(--ink); } }
.rv-line[aria-busy="true"] { opacity: .6; }
.rv-line[data-leaving] { opacity: .32; transform: translateX(10px); }
.rv-line[data-new] { animation: rv-line-in 420ms var(--ease-out); }
@keyframes rv-line-in { from { opacity: 0; translate: 0 -8px; } }
.rv-line__err { grid-column: 2 / -1; display: flex; gap: var(--s2); align-items: flex-start; margin-top: var(--s2); padding: var(--s2) var(--s3); border-radius: var(--r-sm); background: var(--alert-wash); color: var(--alert); font-size: var(--fs-sm); }
.rv-line__err .rv-i { margin-top: 1px; }
/* The line just removed: one quiet row in its place, with the way back. A
   hairline under it runs out with the time to undo. */
.rv-gone {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: var(--s3);
  margin: 8px 0; padding: 8px 6px 8px 16px; border-radius: var(--r-md);
  background: var(--sand); color: var(--ink-2); font-size: var(--fs-sm); line-height: 1.35;
  transition: opacity 200ms ease;
}
.rv-gone[data-fresh] { animation: rv-in 240ms var(--ease-out); }
.rv-gone[data-leaving] { opacity: 0; }
.rv-gone b { color: var(--ink); font-weight: 600; }
.rv-gone[data-fresh]::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 0; height: 2px; border-radius: 1px; background: rgba(46, 28, 21, .28);
  transform-origin: left; animation: rv-run-out 8000ms linear forwards;
}
@keyframes rv-run-out { to { scale: 0 1; } }
.rv-gone[data-held]::after { animation-play-state: paused; }
.rv-gone__undo {
  flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px 0 11px;
  border: var(--line-thin) solid var(--cocoa); border-radius: var(--r-pill); background: var(--paper); color: var(--ink); font-weight: 600;
  transition: background-color var(--t-fast) ease;
}
.rv-gone__undo:active { background: var(--sand-2); }
.rv-gone__undo .rv-i { transition: rotate var(--t-base) var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .rv-gone__undo:hover { background: var(--sand-2); } .rv-gone__undo:hover .rv-i { rotate: -40deg; } }

/* Regular delivery on a line (round 3): "Rendszeresen kérem", then its rhythm. */
.rv-line__sub { grid-column: 2 / -1; margin-top: 6px; }
.rv-subopt {
  display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 0 2px;
  border: 0; background: none; color: var(--ink); font-weight: 600; font-size: var(--fs-sm);
  text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: .28em; text-decoration-color: rgba(46, 28, 21, .45);
}
.rv-subopt .rv-i { width: 15px; height: 15px; }
@media (hover: hover) and (pointer: fine) { .rv-subopt:hover { text-decoration-color: var(--coral); } }
.rv-plan {
  position: relative; display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 0 12px;
  border: var(--line-thin) solid var(--cocoa); border-radius: var(--r-pill); background: var(--paper); color: var(--ink);
  font-weight: 600; font-size: var(--fs-sm);
}
.rv-plan select { appearance: none; min-height: 40px; border: 0; background: none; font: inherit; color: inherit; padding: 0 18px 0 0; margin-right: -18px; cursor: pointer; }
.rv-plan select:focus { outline: none; }
.rv-plan:focus-within { outline: 2.5px solid var(--ring, var(--cocoa)); outline-offset: 3px; }
.rv-plan > .rv-i:last-child { pointer-events: none; }
.rv-plan.is-on { background: var(--sand); }
.rv-subfoot { display: flex; gap: 8px; margin: 0 0 10px; padding: 8px 12px; border-radius: 14px; background: var(--sand); font-size: var(--fs-cap); line-height: 1.45; }
.rv-subfoot .rv-i { flex: none; margin-top: 1px; }
.rv-subfoot .rv-link { font-weight: 600; }
.rv-subtwo { display: flex; gap: 8px; margin: 0 var(--s6) var(--s5); padding: 12px 14px; border-radius: 14px; background: var(--sand); font-size: var(--fs-sm); line-height: 1.45; }
.rv-subtwo .rv-i { flex: none; margin-top: 2px; }
.rv-subtwo p { margin: 0; }
.rv-subtwo ul { margin: 4px 0 0; padding-left: 16px; }
.rv-subtwo li span { color: var(--ink-2); }
@media (max-width: 1023.98px) { .rv-subtwo { margin: 0 var(--s4) var(--s5); } }
@media (forced-colors: active) { .rv-plan.is-on, .rv-subfoot, .rv-subtwo { border: 1px solid CanvasText; } }

.rv-after { display: grid; gap: 2px; justify-items: start; padding: var(--s2) var(--s6) var(--s5); font-size: var(--fs-sm); color: var(--ink-2); }
.rv-after .rv-link { display: inline-flex; align-items: center; min-height: var(--tap); color: var(--ink); }

/* The summary, pinned: free shipping, the subtotal and checkout together,
   where the shopper decides. */
.rv-sum {
  display: grid; gap: var(--s3); padding: var(--s4) var(--s6) calc(var(--s5) + env(safe-area-inset-bottom, 0px));
  background: var(--paper); box-shadow: 0 -1.5px 0 var(--rule-2); border-radius: inherit;
}
.rv-sum__row { display: flex; justify-content: space-between; align-items: baseline; }
.rv-sum__row > span:first-child { color: var(--ink); font-weight: 600; }
.rv-sum__row .rv-price { font: 400 28px/1 var(--font-display); }

/* Free shipping: the sentence says it in money; the track draws it — dashed
   where it is "not yet", solid amber as far as the basket reaches — and ends
   in a paper tag on a short string, showing the store's threshold. When the
   store says shipping is free, the track is whole and green, and the tag is
   pressed on in green and swings on its string. */
.rv-ship { display: grid; gap: 10px; padding-bottom: var(--s3); border-bottom: 1.5px solid var(--rule); }
.rv-ship__line { display: flex; align-items: center; gap: var(--s2); font-size: var(--fs-md); color: var(--ink); font-variant-numeric: tabular-nums; }
.rv-ship__amt { font: 400 21px/1 var(--font-display); letter-spacing: .01em; }
.rv-ship[data-state="free"] .rv-ship__line { color: var(--green-ink); }
.rv-ship[data-state="free"] .rv-ship__line > .rv-i { color: var(--green); }
.rv-meter { display: flex; align-items: center; padding-right: 2px; }
.rv-meter__track {
  position: relative; flex: 1; min-width: 0; height: 18px; border-radius: var(--r-pill);
  border: var(--line) dashed rgba(46, 28, 21, .42); background: var(--cream);
}
.rv-meter__fill {
  position: absolute; top: -2px; bottom: -2px; left: -2px; border-radius: inherit;
  width: calc(18px + var(--p, 0) * (100% + 4px - 18px));
  border: var(--line) solid var(--cocoa); background: var(--amber);
  transition: width 900ms var(--ease-out), background-color var(--t-base) ease;
}
.rv-meter__string { flex: none; width: 9px; height: 2px; background: rgba(46, 28, 21, .42); }
.rv-tag { position: relative; flex: none; display: grid; place-items: center; }
.rv-tag__shape { position: absolute; inset: 0; overflow: visible; }
.rv-tag__edge { fill: var(--paper); stroke: rgba(46, 28, 21, .5); stroke-width: 2; stroke-dasharray: 4 3; stroke-linejoin: round; }
.rv-tag__hole { fill: var(--paper); stroke: var(--cocoa); stroke-width: 1.5; }
.rv-tag__t {
  position: relative; display: inline-flex; align-items: center; gap: 3px;
  font: 400 13px/1 var(--font-display); letter-spacing: .02em;
  white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--ink);
}
.rv-tag__now, .rv-hang .rv-tag__t { text-transform: uppercase; }
.rv-meter__tag { width: 104px; height: 30px; padding: 1px 0 0 13px; transform-origin: 10px 50%; }
.rv-ship[data-state="free"] .rv-meter__track { border-style: solid; border-color: var(--cocoa); }
.rv-ship[data-state="free"] .rv-meter__fill { background: var(--green); }
.rv-ship[data-state="free"] .rv-meter__string { background: var(--cocoa); }
.rv-ship[data-state="free"] .rv-meter__tag { rotate: -5deg; }
.rv-ship[data-state="free"] .rv-tag__edge { fill: var(--green); stroke: var(--cocoa); stroke-dasharray: none; }
.rv-ship[data-state="free"] .rv-tag__t { color: var(--paper); }
/* The moment, only when the store's answer changes to free: the fill runs to
   the end in amber and turns green; the tag, still showing the threshold
   until then, is pressed on in green and swings on its string. */
.rv-ship[data-unlocks] .rv-meter__fill { animation: rv-turn 1ms step-end 780ms backwards; }
@keyframes rv-turn { from { background: var(--amber); } }
.rv-ship[data-unlocks] .rv-meter__track { animation: rv-track-was 1ms step-end 780ms backwards; }
@keyframes rv-track-was { from { border-style: dashed; border-color: rgba(46, 28, 21, .42); } }
.rv-ship[data-unlocks] .rv-meter__string { animation: rv-string-was 1ms step-end 780ms backwards; }
@keyframes rv-string-was { from { background: rgba(46, 28, 21, .42); } }
.rv-ship[data-unlocks] .rv-tag__edge { animation: rv-tag-was 1ms step-end 780ms backwards; }
@keyframes rv-tag-was { from { fill: var(--paper); stroke: rgba(46, 28, 21, .5); stroke-dasharray: 4 3; } }
.rv-ship[data-unlocks] .rv-meter__tag { animation: rv-swing 1200ms 780ms backwards; }
@keyframes rv-swing {
  0% { rotate: 0deg; scale: 1; animation-timing-function: cubic-bezier(.2, .8, .3, 1); }
  9% { rotate: -18deg; scale: 1.2; animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
  30% { rotate: 10deg; scale: .98; animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
  52% { rotate: -12deg; scale: 1; animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
  74% { rotate: -2deg; animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
  100% { rotate: -5deg; }
}
.rv-ship[data-unlocks] .rv-ship__line { animation: rv-in 300ms ease 700ms backwards; }
/* Until it is pressed on, the tag still shows the threshold. */
.rv-tag__was { position: absolute; inset: 0; padding: 1px 0 0 13px; display: grid; place-items: center; opacity: 0; color: var(--ink) !important; }
.rv-ship[data-unlocks] .rv-tag__was { animation: rv-was 780ms step-end backwards; }
.rv-ship[data-unlocks] .rv-tag__now { animation: rv-now 780ms step-end backwards; }
@keyframes rv-was { from { opacity: 1; } }
@keyframes rv-now { from { opacity: 0; } }

/* the empty basket: the amber basket itself, waiting */
.rv-empty { display: grid; gap: var(--s3); padding: var(--s2) var(--s6) var(--s6); justify-items: start; }
.rv-empty__art {
  display: grid; place-items: center; width: 84px; height: 84px; margin: var(--s2) 0 var(--s2) 4px;
  border: var(--line) solid var(--cocoa); border-radius: 50%; background: var(--amber); color: var(--cocoa);
  box-shadow: var(--pop); rotate: -9deg;
}
.rv-empty__art .rv-i { width: 40px; height: 40px; }
.rv-empty__h { font: 400 var(--fs-d2)/1 var(--font-display); text-transform: uppercase; letter-spacing: var(--track-display); }
.rv-empty p { color: var(--ink-2); max-width: 34ch; }
.rv-empty__acts { display: flex; flex-wrap: wrap; gap: var(--s3); margin: var(--s2) 0 var(--s3); }
.rv-empty__ship { display: flex; align-items: center; gap: var(--s2); width: 100%; padding-top: var(--s4); border-top: 1.5px solid var(--rule); font-size: var(--fs-sm); }
.rv-empty__ship b { color: var(--ink); font-weight: 700; }

/* ── account ────────────────────────────────────────────────────────────── */
/* The panel's own display line ("Lépj be…", "Szia, Anna!") is its title; the
   bar's "Fiók" stays as the dialog's name for assistive tech only. */
.rv-sheet--pop .rv-sheet__title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.rv-sheet--pop .rv-sheet__bar { position: absolute; top: 10px; right: 10px; min-height: 0; padding: 0; background: none; animation: none; }
.rv-sheet--pop .rv-acc { padding-top: var(--s6); }
.rv-sheet--pop .rv-acc__h, .rv-sheet--pop .rv-acc__hello { padding-right: 44px; }
.rv-acc { display: grid; gap: var(--s4); padding: var(--s1) var(--s6) calc(var(--s6) + env(safe-area-inset-bottom, 0px)); }
.rv-acc__h { font: 400 var(--fs-d2)/1 var(--font-display); text-transform: uppercase; letter-spacing: var(--track-display); }
.rv-acc__hello { display: flex; align-items: center; gap: var(--s4); padding: var(--s1) 0 var(--s2); }
.rv-acc__hi { display: grid; gap: 6px; justify-items: start; }
.rv-ava--lg { width: 76px; height: 76px; rotate: -5deg; background: var(--green-wash); color: var(--green-ink); }
.rv-ava--lg:has(img) { background: var(--paper); }
.rv-ava--lg .rv-ava__i { font-size: 34px; }
.rv-acc__pic { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; color: var(--ink); font-size: var(--fs-sm); font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .25em; text-decoration-color: rgba(46, 28, 21, .3); }
.rv-acc__lead { color: var(--ink-2); }
.rv-acc__acts { display: grid; gap: var(--s3); margin-top: var(--s1); }
.rv-acc__guest { display: grid; gap: var(--s1); margin-top: var(--s2); padding: var(--s4); border-radius: var(--r-md); background: var(--sand); font-size: var(--fs-sm); color: var(--ink-2); }
.rv-acc__guest b { font-weight: 600; color: var(--ink); }
.rv-order {
  display: grid; grid-template-columns: 1fr auto; gap: 3px var(--s4); padding: var(--s4) var(--s4) var(--s4) var(--s5);
  border: var(--line) solid var(--cocoa); border-radius: var(--r-lg); background: var(--paper);
  text-decoration: none; color: var(--ink);
  transition: background-color var(--t-fast) ease;
}
.rv-order:active { background: var(--sand); }
@media (hover: hover) and (pointer: fine) { .rv-order:hover { background: var(--sand); } }
.rv-order small { color: var(--ink-2); font-size: var(--fs-cap); }
.rv-order b { font-size: var(--fs-lg); font-weight: 700; }
/* The store's order status, printed on the card; dashed while it is still under way. */
.rv-order__st {
  justify-self: start; margin-top: var(--s2); padding: 4px 10px 2px; border: 2px dashed var(--green); border-radius: 8px;
  color: var(--green-ink); font: 400 13px/1.2 var(--font-display); text-transform: uppercase; letter-spacing: .04em;
}
.rv-order > .rv-i { grid-column: 2; grid-row: 1 / span 3; align-self: center; color: var(--ink); }
.rv-acc__menu { list-style: none; margin: 0; padding: 0; display: grid; }
.rv-acc__row {
  display: flex; align-items: center; gap: var(--s3); min-height: 48px; padding: 0 var(--s2);
  border-radius: var(--r-md); color: var(--ink); text-decoration: none; font-weight: 600;
  transition: background-color var(--t-fast) ease;
}
.rv-acc__row > .rv-i--xs { margin-left: auto; color: var(--ink-2); }
.rv-acc__row:active { background: var(--sand); }
@media (hover: hover) and (pointer: fine) { .rv-acc__row:hover { background: var(--sand); } }
.rv-acc__out { justify-self: start; display: inline-flex; align-items: center; gap: var(--s2); min-height: var(--tap); padding: 0 var(--s2); color: var(--ink-2); font-weight: 500; text-decoration: none; border-top: 0; }
@media (hover: hover) and (pointer: fine) { .rv-acc__out:hover { color: var(--ink); text-decoration: underline; text-underline-offset: .25em; } }

/* ── footer ─────────────────────────────────────────────────────────────── */
.rv-foot { margin-top: var(--s10); }
.rv-foot__in { max-width: var(--shell-max); margin: 0 auto; padding: 0 var(--gutter) var(--s9); display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s9); }
.rv-news {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: var(--s5) var(--s9);
  padding: var(--s8); border-radius: 28px; background: var(--paper); box-shadow: var(--lift);
}
.rv-news__copy { display: grid; gap: var(--s3); }
.rv-news__h { font: 400 clamp(2rem, 1.5rem + 1.2vw, 2.75rem)/.98 var(--font-display); text-transform: uppercase; letter-spacing: var(--track-display); }
.rv-news__p { color: var(--ink-2); max-width: 40ch; }
.rv-news__f { display: grid; gap: var(--s3); }
.rv-news__row { display: flex; gap: var(--s3); }
.rv-news__in {
  flex: 1; min-width: 0; width: 100%; height: 54px; padding: 0 var(--s5);
  border: var(--line) solid var(--cocoa); border-radius: var(--r-pill);
  background: var(--paper); color: var(--ink); font-size: var(--fs-md);
}
.rv-news__in::placeholder { color: var(--ink-2); opacity: 1; }
.rv-news__go { min-height: 54px; }
.rv-news__ok { color: var(--ink-2); }
.rv-news__hp { position: absolute; left: -9999px; }
.rv-news__msg:empty { display: none; }
.rv-news__msg { font-size: var(--fs-sm); color: var(--ink); }

.rv-foot__nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s6); padding: 0 var(--s2); }
.rv-foot__col h2 { font: 400 15px/1 var(--font-display); text-transform: uppercase; letter-spacing: .05em; color: var(--ink); }
.rv-foot__col > h2, .rv-foot__col > summary { margin-bottom: var(--s3); }
.rv-foot__col > summary { display: flex; align-items: center; list-style: none; cursor: pointer; }
.rv-foot__col > summary::-webkit-details-marker { display: none; }
.rv-foot__col > summary > .rv-i { display: none; }
.rv-foot__col ul { list-style: none; margin: 0; padding: 0; display: grid; }
.rv-foot__col a { display: inline-flex; align-items: center; min-height: 32px; padding-block: 4px; line-height: 1.3; color: var(--ink-2); text-decoration: none; border-radius: 4px; }
@media (hover: hover) and (pointer: fine) { .rv-foot__col a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: .25em; text-decoration-thickness: 2px; } }
.rv-foot__col a:focus-visible { outline-offset: 2px; }
.rv-foot__col--help a { color: var(--ink); font-weight: 500; }

/* the bottom bookend: the same cocoa strip the page opened with */
.rv-foot__base { background: var(--cocoa); color: var(--on-cocoa-2); --ring: var(--amber); }
.rv-foot__base-in {
  max-width: var(--shell-max); margin: 0 auto; padding: var(--s5) var(--gutter) calc(var(--s5) + env(safe-area-inset-bottom, 0px));
  display: flex; align-items: center; flex-wrap: wrap; gap: var(--s2) var(--s6); font-size: var(--fs-cap);
}
.rv-foot__mark { font: 400 24px/1 var(--font-display); text-transform: uppercase; letter-spacing: .012em; color: var(--on-cocoa); text-decoration: none; }
.rv-foot__legal { list-style: none; margin: 0 auto 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 var(--s4); }
.rv-foot__legal a { display: inline-flex; align-items: center; min-height: 32px; color: var(--on-cocoa); text-decoration: none; font-weight: 500; }
@media (hover: hover) and (pointer: fine) { .rv-foot__legal a:hover { text-decoration: underline; text-underline-offset: .25em; } }
.rv-foot__fine { display: flex; flex-wrap: wrap; gap: var(--s1) var(--s5); }

/* ── below desktop: the phone and small-tablet frame ────────────────────── */
@media (max-width: 1023.98px) {
  .rv-bar__in { justify-content: center; }
  .rv-bar__help { display: none; }
  .rv-head__in { gap: var(--s2); padding: 0 var(--gutter); }
  .rv-menubtn { display: inline-flex; }
  .rv-mark { font-size: 26px; margin-right: auto; margin-left: var(--s2); }
  .rv-nav, .rv-find, .rv-tray, .rv-scrim { display: none !important; }
  .rv-act--search { display: inline-flex; transition: opacity var(--t-base) var(--ease-out), scale var(--t-base) var(--ease-out); }
  /* while the row's own field is on screen, the header doesn't repeat it */
  .rv-head[data-findrow-visible] .rv-act--search { opacity: 0; scale: .8; pointer-events: none; visibility: hidden; }
  /* the account shows in the phone header once signed in: the picture alone */
  .rv-act--account:not(.rv-act--in) { display: none; }
  .rv-menubtn .rv-ava { display: none; }
  .rv-act__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .rv-head__acts { gap: var(--s2); margin-left: 0; }
  .rv-ava { width: 40px; height: 40px; }
  .rv-cart { width: 46px; height: 46px; }
  .rv-findrow { display: block; }
  .rv-findrow[hidden] { display: none; }

  .rv-sheet--cart .rv-sheet__bar, .rv-sheet--pop .rv-sheet__bar { padding-left: var(--s5); }
  .rv-lines, .rv-acc, .rv-after { padding-left: var(--s5); padding-right: var(--s5); }
  .rv-sum { padding-inline: var(--s5); }

  /* the footer, for a phone: help first and never folded; the longer lists
     fold under their headings; legal links in one line at the bottom */
  .rv-foot { margin-top: var(--s9); }
  .rv-foot__in { gap: var(--s6); padding-bottom: var(--s6); }
  .rv-news { grid-template-columns: 1fr; padding: var(--s6) var(--s5); gap: var(--s4); border-radius: 22px; }
  .rv-news__h { font-size: 1.75rem; }
  .rv-foot__nav { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 0; }
  .rv-foot__col--help { padding-bottom: var(--s4); }
  .rv-foot__col--help > h2 { margin-bottom: var(--s1); }
  .rv-foot__col--help a { min-height: 48px; font-size: var(--fs-md); }
  .rv-foot__col--help li + li { border-top: 1.5px solid var(--rule); }
  details.rv-foot__col { border-top: 1.5px solid var(--rule-2); }
  details.rv-foot__col:last-child { border-bottom: 1.5px solid var(--rule-2); }
  .rv-foot__col > summary { min-height: 52px; margin: 0; }
  .rv-foot__col > summary > .rv-i { display: block; margin-left: auto; transition: rotate var(--t-base) var(--ease-out); }
  .rv-foot__col[open] > summary > .rv-i { rotate: 180deg; }
  details.rv-foot__col ul { padding-bottom: var(--s3); grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s4); }
  details.rv-foot__col a { min-height: 44px; }
  .rv-foot__base-in { display: grid; gap: var(--s3); padding-top: var(--s6); }
  .rv-foot__legal { margin: 0; gap: 0 var(--s5); }
  .rv-foot__legal a { min-height: 44px; }
  .rv-foot__fine { display: grid; gap: var(--s1); }
}
@media (max-width: 419.98px) {
  .rv-news__row { flex-direction: column; }
  .rv-news__row .rv-news__in { flex: none; }
  .rv-news__go { width: 100%; }
  /* the narrow bar: Menü, the wordmark, search and the basket must all fit */
  .rv-head__in { gap: 6px; }
  .rv-head__acts { gap: 6px; }
  .rv-mark { font-size: 22px; margin-left: 4px; }
  .rv-menubtn { gap: 4px; padding: 0 12px 0 8px; font-size: 13.5px; }
  .rv-cart { width: 44px; height: 44px; }
  details.rv-foot__col ul { grid-template-columns: minmax(0, 1fr); }
}

/* Phones. The basket is a task with a typed quantity, so it rises to nearly
   the whole screen whatever its length — the page's top edge still shows, a
   close button and Back always work, and dragging the bar down is a bonus.
   The short account panel rises only as tall as it is. */
@media (max-width: 639.98px) {
  /* Small phones have no room for a fourth thing in the bar: signed in, the
     shopper's picture takes the menu button's icon instead — your menu, with
     your account in it. */
  .rv-act--account.rv-act--in { display: none; }
  .rv-menubtn:has(.rv-ava) { padding-left: 5px; }
  .rv-menubtn:has(.rv-ava) > .rv-i { display: none; }
  .rv-menubtn .rv-ava { display: grid; width: 30px; height: 30px; border-width: 1.5px; }
  .rv-menubtn .rv-ava__i { font-size: 14px; }
  /* A little smaller on a phone. Under the stuck header it hangs on a short
     string over the page. While the search row is on screen the tag hangs
     below the row, its string passing behind it: on a 360–375 px phone a
     short string would lay the tag over the row's words. Measured from the
     basket's hook: the row's edge at 25 px, clear of its shadow at 78 px,
     the eyelet at 98 px. */
  .rv-hang { left: 2px; }
  .rv-hang__string { height: 18px; }
  .rv-hang__tag { scale: .84; transform-origin: 49px 17px; top: 1px; }
  .rv-hang[data-long] .rv-hang__string { height: 25px; }
  .rv-hang[data-long] .rv-hang__string--low { top: 78px; height: 20px; }
  .rv-hang[data-long] .rv-hang__tag { top: 81px; }

  .rv-sheet--cart, .rv-sheet--pop {
    inset: auto 0 0 0; width: 100vw; height: calc(100dvh - 12px - env(safe-area-inset-top, 0px)); max-height: none;
    border-radius: 24px 24px 0 0; overflow: hidden; box-shadow: none;
    opacity: 1; scale: 1; translate: 0 100%;
    transition: translate var(--t-sheet) var(--ease-sheet);
  }
  .rv-sheet--pop, .rv-sheet--cart:has(.rv-empty) { height: auto; max-height: calc(100dvh - 28px); }
  .rv-sheet--cart[data-shown], .rv-sheet--pop[data-shown] { translate: 0 0; }
  .rv-sheet--pop::before { display: none; }
  .rv-sheet--cart::backdrop, .rv-sheet--pop::backdrop { background: var(--scrim); }
  .rv-sheet--cart > .rv-sheet__bar, .rv-sheet--pop > .rv-sheet__bar { border-radius: 0; }
  .rv-sheet--pop > :last-child { border-radius: 0; }
  .rv-sheet[data-dragging] { transition: none; }
  .rv-sheet__grab { display: block; flex: none; height: 18px; position: relative; touch-action: none; cursor: grab; background: var(--paper); }
  .rv-sheet__grab::after { content: ""; position: absolute; left: 50%; top: 8px; width: 40px; height: 5px; margin-left: -20px; border-radius: var(--r-pill); background: var(--cocoa); opacity: .35; }
  .rv-sheet--cart .rv-sheet__bar { min-height: 54px; padding-top: 0; touch-action: none; }
  .rv-sheet--pop .rv-sheet__bar { top: 14px; right: 10px; touch-action: none; }
  .rv-sheet--pop .rv-acc { padding-top: var(--s4); }
  .rv-lines { padding-inline: var(--s4); }
  .rv-sum { padding-inline: var(--s4); }
}
/* Short screens: the summary keeps the sentence and drops the track, so the
   lines keep their room; the fact is in the words, and the tag — the
   threshold, and the moment it is pressed on — stays beside them. */
@media (max-height: 760px) {
  .rv-sum { gap: 10px; padding-top: var(--s3); }
  .rv-ship { grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: var(--s3); padding-bottom: 10px; }
  .rv-ship .rv-meter { padding: 0 4px 0 0; }
  .rv-ship .rv-meter__track, .rv-ship .rv-meter__string { display: none; }
  .rv-ship__line { line-height: 1.3; }
  .rv-sum .rv-btn--lg { min-height: 52px; }
  .rv-sum__row .rv-price { font-size: 24px; }
}
/* Landscape phones and other short screens: one scroll for the whole sheet,
   so lines are never squeezed out by the pinned total. */
@media (max-height: 500px) {
  .rv-sheet--cart, .rv-sheet--pop { overflow-y: auto; overscroll-behavior: contain; }
  .rv-sheet--cart .rv-sheet__body, .rv-sheet--pop .rv-sheet__body { flex: none; overflow: visible; }
}

/* Short laptop screens: a lower card rather than a sheet past the fold. */
@media (min-width: 1024px) and (max-height: 820px) {
  .rv-cat { min-height: 360px; }
  .rv-dep__link { min-height: 40px; padding-block: 5px; }
  .rv-cat__group { padding-top: var(--s3); }
  .rv-card__body { padding-block: var(--s5); }
  .rv-card__main { gap: var(--s4); }
}
@media (min-width: 1024px) and (max-width: 1239.98px) {
  .rv-cat { grid-template-columns: 228px minmax(0, 1fr); }
  .rv-card__body { grid-template-columns: minmax(0, 1fr) 220px; gap: var(--s5); padding: var(--s5); }
  .rv-card--bare .rv-card__body { grid-template-columns: minmax(0, 1fr); }
  .rv-card__tab { font-size: 22px; height: 44px; }
  .rv-brand { width: 92px; height: 54px; }
  .rv-brands--wall { grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); }
  .rv-bw__names { columns: 3 160px; }
  .rv-gp { grid-template-columns: minmax(0, 1fr); gap: var(--s6); padding: var(--s7) var(--s6) var(--s6); }
  .rv-gp__intro { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: var(--s7); align-items: end; }
  .rv-gp__intro .rv-cp-facts { grid-column: 1 / -1; grid-template-columns: repeat(3, auto); justify-content: start; gap: var(--s5); margin-top: var(--s2); }
  .rv-mark { font-size: 27px; }
  .rv-head__in { gap: var(--s3); }
  .rv-nav { margin-left: var(--s2); gap: var(--s2); }
  .rv-nav__item { padding: 1px 14px 0 15px; font-size: 14px; }
  .rv-act__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .rv-sr { grid-template-columns: 280px minmax(0, 1fr); }
}

/* ── privacy: the banner, the settings and their mark ──────────────────
   One small authored thing gives these surfaces their face: a biscuit printed
   on paper (rtv_privacy_mark) — the ink edge, cocoa chips, one coral chip for
   the wordmark's full stop, and a bite out of it. Everything else is the
   shell's. The banner is soft paper, like the newsletter and the account
   panel: a surface waiting at the shop's edge, never over what is being
   bought, and only while something that measures or advertises is switched on
   and undecided. Its two answers are the same inked button, side by side —
   neither is "the way forward". The settings are a list on paper, not a stack
   of cards: a category you choose is an inked switch, the necessary one is
   stated in words, and categories the store does not use are one quiet line
   rather than dead controls. One printed cocoa "Mentés" saves. On phones the
   settings are the basket's bottom sheet; on larger screens a card in the
   banner's own corner, so "Beállítások" opens where the shopper is looking. */
.rv-cookie { display: block; flex: none; width: 44px; height: 44px; overflow: visible; }
.rv-cookie__b, .rv-cookie__crumb { fill: var(--sand-2); stroke: var(--cocoa); stroke-width: 2; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.rv-cookie__crumb { stroke-width: 1.5; }
.rv-cookie__c { fill: var(--cocoa); }
.rv-cookie__dot { fill: var(--coral); stroke: var(--cocoa); stroke-width: 1.5; vector-effect: non-scaling-stroke; }

.rv-consent {
  position: fixed; z-index: 40; left: var(--gutter); bottom: var(--s6);
  width: min(420px, calc(100vw - 2 * var(--gutter)));
  padding: var(--s3) var(--s3) var(--s3) var(--s4);
  border-radius: var(--r-xl); background: var(--paper); box-shadow: var(--lift);
  animation: rv-consent-in var(--t-sheet) var(--ease-sheet) 400ms backwards;
}
@keyframes rv-consent-in { from { opacity: 0; translate: 0 18px; } }
/* The mark sits in the sentence: the text wraps around the biscuit. */
.rv-consent .rv-cookie {
  float: left; width: 34px; height: 34px; margin: 2px 10px 0 -3px; rotate: -10deg;
  shape-outside: circle(50%); shape-margin: 4px;
  animation: rv-cookie-in 460ms var(--ease-deal) 520ms backwards;
}
@keyframes rv-cookie-in { from { opacity: 0; rotate: -48deg; scale: .55; } }
.rv-consent__text { margin: 0; font-size: var(--fs-sm); line-height: 1.42; color: var(--ink-2); text-wrap: wrap; }
.rv-consent__more {
  font-weight: 600; color: var(--ink); white-space: nowrap;
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .22em;
  transition: text-decoration-color var(--t-fast) ease;
}
@media (hover: hover) and (pointer: fine) { .rv-consent__more:hover { text-decoration-color: var(--coral); } }
.rv-consent__acts { clear: both; display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2); margin-top: 10px; }
.rv-consent__acts .rv-btn { min-height: var(--tap); padding-inline: var(--s3); }

/* the sheet: the mark beside its title, the lead, the list, one way forward */
.rv-sheet--privacy .rv-sheet__title .rv-cookie { width: 32px; height: 32px; margin: -4px -2px -4px -2px; rotate: -10deg; }
.rv-sheet--privacy .rv-sheet__body { padding: 0 var(--s6); }
.rv-pv__lead { margin: 0 0 var(--s4); font-size: var(--fs-sm); line-height: 1.45; color: var(--ink-2); }
.rv-pv__lead .rv-link { color: var(--ink); font-weight: 600; white-space: nowrap; }

/* The form, the same on the sheet and on the cookie page. Scoped under .rv-pv
   so a reading page's prose rules (read.css) never reach into it. */
.rv-pv { display: grid; }
.rv-pv .rv-pv__cats { margin: 0; padding: 0; list-style: none; }
.rv-pv .rv-pv__cat { margin: 0; padding: var(--s3) 0 var(--s4); border-top: var(--line-thin) solid var(--rule); }
.rv-pv .rv-pv__row { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); min-height: var(--tap); }
.rv-pv label.rv-pv__row { cursor: pointer; }
.rv-pv .rv-pv__name { font-size: var(--fs-md); font-weight: 600; line-height: 1.3; }
.rv-pv .rv-pv__state {
  flex: none; padding: 4px 10px 3px; border-radius: var(--r-pill); background: var(--sand-2);
  font-size: var(--fs-cap); font-weight: 600; color: var(--ink); white-space: nowrap;
}
.rv-pv .rv-pv__text { max-width: 52ch; margin: 2px 0 0; font-size: var(--fs-sm); line-height: 1.45; color: var(--ink-2); }

/* The switch: an inked pill with a cocoa knob; on, it is filled with ink and
   the knob, now paper, has moved across. A checkbox underneath (role=switch),
   so it posts without JavaScript and every assistive tool knows it. */
.rv-switch {
  appearance: none; -webkit-appearance: none; flex: none; width: 52px; height: 32px; margin: 0 2px 0 0;
  border: var(--line) solid var(--cocoa); border-radius: var(--r-pill);
  background: radial-gradient(circle closest-side, var(--cocoa) calc(100% - 1px), transparent) 4px 50% / 20px 20px no-repeat var(--paper);
  cursor: pointer;
  transition: background-position var(--t-base) var(--ease-out);
}
.rv-switch:checked { background-color: var(--cocoa); background-image: radial-gradient(circle closest-side, var(--paper) calc(100% - 1px), transparent); background-position: calc(100% - 4px) 50%; }
@media (hover: hover) and (pointer: fine) { .rv-pv label.rv-pv__row:hover .rv-switch:not(:checked) { background-color: var(--sand); } }
@media (forced-colors: active) { .rv-switch { appearance: auto; -webkit-appearance: auto; width: 22px; height: 22px; } }

.rv-pv .rv-pv__more { max-width: none; margin: var(--s1) 0 0; border: 0; font-size: var(--fs-sm); }
.rv-pv .rv-pv__more > summary {
  display: inline-flex; align-items: center; gap: var(--s2); min-height: 36px; padding: 0; margin: 0;
  font-weight: 600; color: var(--ink); cursor: pointer; list-style: none;
}
.rv-pv .rv-pv__more > summary::-webkit-details-marker { display: none; }
.rv-pv .rv-pv__more > summary::after {
  content: ""; width: 7px; height: 7px; margin: -3px 0 0 2px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; rotate: 45deg;
  transition: rotate var(--t-base) var(--ease-out), margin var(--t-base) var(--ease-out);
}
.rv-pv .rv-pv__more[open] > summary::after { rotate: -135deg; margin-top: 3px; }
.rv-pv .rv-pv__n {
  display: inline-grid; place-items: center; min-width: 22px; height: 20px; padding: 0 6px; border-radius: var(--r-pill);
  background: var(--sand-2); font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums;
}
@media (hover: hover) and (pointer: fine) { .rv-pv .rv-pv__more > summary:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .24em; } }
:is(.rv-pv, .rv-pv-list) .rv-pv__techs { margin: var(--s2) 0 0; padding: 0; list-style: none; display: grid; gap: var(--s2); }
:is(.rv-pv, .rv-pv-list) .rv-pv__tech { margin: 0; padding: var(--s3) var(--s3) var(--s3) var(--s4); border-radius: var(--r-md); background: var(--sand); }
:is(.rv-pv, .rv-pv-list) .rv-pv__tech p { max-width: none; margin: 0; font-size: var(--fs-sm); line-height: 1.4; color: var(--ink-2); }
:is(.rv-pv, .rv-pv-list) .rv-pv__tn { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 var(--s2); margin-bottom: 2px; }
:is(.rv-pv, .rv-pv-list) .rv-pv__tn b { color: var(--ink); font-weight: 600; }
:is(.rv-pv, .rv-pv-list) .rv-pv__tn span { font-size: var(--fs-cap); }
:is(.rv-pv, .rv-pv-list) .rv-pv__items { margin: var(--s2) 0 0; padding: 0; list-style: none; display: grid; gap: 3px; }
:is(.rv-pv, .rv-pv-list) .rv-pv__items li { display: flex; flex-wrap: wrap; gap: 0 var(--s2); margin: 0; font-size: var(--fs-cap); line-height: 1.4; color: var(--ink-2); }
:is(.rv-pv, .rv-pv-list) .rv-pv__items code { font: 600 var(--fs-cap)/1.4 var(--font-ui); color: var(--ink); overflow-wrap: anywhere; }

.rv-pv .rv-pv__none { max-width: none; margin: 0; padding: var(--s4) 0; border-top: var(--line-thin) solid var(--rule); font-size: var(--fs-sm); color: var(--ink-2); }
.rv-pv .rv-pv__acts { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2) var(--s4); padding-top: var(--s4); border-top: var(--line-thin) solid var(--rule); }
.rv-pv .rv-pv__save { min-width: 168px; }
.rv-pv .rv-pv__when { margin: 0; font-size: var(--fs-cap); color: var(--ink-2); font-variant-numeric: tabular-nums; }
.rv-sheet--privacy .rv-pv__acts {
  position: sticky; bottom: 0; z-index: 1; margin: 0 calc(-1 * var(--s6));
  padding: var(--s4) var(--s6) calc(var(--s5) + env(safe-area-inset-bottom, 0px)); background: var(--paper);
}

/* Saved: a short confirmation where the shopper was looking, spoken too. */
.rv-pv-done {
  position: fixed; z-index: 45; left: var(--gutter); bottom: var(--s6);
  display: inline-flex; align-items: center; gap: var(--s2); margin: 0;
  padding: 11px var(--s5) 11px var(--s4); border-radius: var(--r-pill);
  background: var(--paper); color: var(--green-ink); box-shadow: var(--lift);
  font: 600 var(--fs-sm)/1.2 var(--font-ui);
  opacity: 0; translate: 0 12px; pointer-events: none;
  transition: opacity var(--t-base) ease, translate var(--t-deal) var(--ease-deal);
}
.rv-pv-done:empty { display: none; }
.rv-pv-done[data-shown] { opacity: 1; translate: 0 0; }
.rv-pv-done .rv-i { color: var(--green); }

@media (min-width: 640px) {
  .rv-sheet--cart.rv-sheet--privacy {
    --d-w: min(440px, calc(100vw - 2 * var(--gutter)));
    inset: auto auto var(--s6) var(--gutter); width: var(--d-w); height: auto; max-height: calc(100dvh - 2 * var(--s6));
    border-radius: var(--r-xl); box-shadow: var(--lift);
    opacity: 0; translate: 0 16px;
    transition: opacity 160ms ease, translate var(--t-deal) var(--ease-deal);
  }
  .rv-sheet--cart.rv-sheet--privacy[data-shown] { opacity: 1; translate: 0 0; }
  .rv-sheet--privacy > .rv-sheet__bar { padding-left: var(--s6); }
  .rv-sheet--privacy .rv-pv__acts { padding-bottom: var(--s6); }
}
@media (max-width: 639.98px) {
  .rv-consent { left: var(--s2); right: var(--s2); bottom: calc(var(--s2) + env(safe-area-inset-bottom, 0px)); width: auto; padding: var(--s3) var(--s3) var(--s3) var(--s4); }
  .rv-sheet--privacy { height: auto; max-height: calc(100dvh - 28px); }
  .rv-sheet--privacy .rv-sheet__bar { padding-left: var(--s4); }
  .rv-sheet--privacy .rv-sheet__body { padding: 0 var(--s4); }
  .rv-sheet--privacy .rv-pv__acts { margin-inline: calc(-1 * var(--s4)); padding-inline: var(--s4); }
  .rv-sheet--privacy .rv-pv__save { flex: 1; }
  /* At the top on phones: the bottom belongs to the pages' own docks and buy bars. */
  .rv-pv-done { left: 50%; top: calc(var(--s3) + env(safe-area-inset-top, 0px)); bottom: auto; translate: -50% -12px; white-space: nowrap; }
  .rv-pv-done[data-shown] { translate: -50% 0; }
}
/* The narrowest phones: the title gives way so the close button stays whole. */
@media (max-width: 359.98px) {
  .rv-sheet--privacy .rv-sheet__title { min-width: 0; gap: var(--s2); font-size: 19px; }
}
@media (max-width: 299.98px) {
  .rv-consent__acts { grid-template-columns: 1fr; }
}

/* The EU's guarantee notice: its own file, unedited, at a width where its
   text reads at default size; the link under it is the QR code's address. */
.rv-sheet--guarantee { --d-w: min(640px, 100vw); }
.rv-sheet--guarantee .rv-sheet__body { padding: 0 var(--s6) var(--s6); }
.rv-guarantee__img { display: block; width: 100%; height: auto; }
.rv-guarantee__link { margin: var(--s3) 0 0; font-size: var(--fs-sm); }
.rtv-guarantee-line { margin: 0 0 var(--s3); font-size: var(--fs-sm); }
@media (max-width: 639.98px) {
  .rv-sheet--guarantee .rv-sheet__body { padding: 0 var(--s3) var(--s5); }
}

@media (prefers-reduced-motion: reduce) {
  .rv-dep__view[data-active] *, .rv-tray[data-dealt], [data-dealt] .rv-cpe .rv-cp-answers > li { animation: rv-in 120ms linear backwards !important; }
  .rv-cat__ind, .rv-sheet--cart, .rv-sheet--pop, .rv-sheet--menu, .rv-sheet--search { translate: none !important; scale: none !important; opacity: 0; transition: opacity var(--t-fast) linear; }
  .rv-sheet[data-shown] { opacity: 1; }
  .rv-cart[data-got], .rv-cart[data-got] .rv-cart__count, .rv-count__n[data-roll], .rv-roll[data-roll], .rv-ship[data-unlocks] *, .rv-line__new, [data-hello] .rv-ava { animation: none !important; }
  .rv-meter__fill { transition: none !important; }
  .rv-consent, .rv-consent .rv-cookie { animation: none; }
  .rv-hang__tag, .rv-hang__string { animation: rv-in 200ms linear backwards !important; }
  .rv-hang[data-reel] .rv-hang__tag { translate: none; scale: none; }
  .rv-gone[data-fresh]::after { animation: none; scale: 0 1; }
  .rv-panel:not([hidden]) .rv-cp-doodle path, [data-dealt] .rv-cpe .rv-cp-doodle path { animation: none; }
}

/* ── small parts shared with pages ──────────────────────────────────────── */
.rv-step__in { width: 3ch; height: 36px; border: 0; padding: 0; background: none; text-align: center; font-size: 16px; font-weight: 700; font-variant-numeric: tabular-nums; }
.rv-step__in:focus-visible { outline-offset: 0; border-radius: var(--r-sm); }
.rv-buy-err { margin-top: var(--s2); font-size: var(--fs-sm); color: var(--alert); }
.rv-buy-need { margin: 0; font-size: var(--fs-sm); color: var(--alert); display: flex; gap: var(--s2); align-items: center; }
/* Listing adds confirm in place: persistent, not a modal and not a toast. */
.rv-buy-ok { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s1) var(--s2); margin: var(--s2) 0 0; font-size: var(--fs-sm); color: var(--green); font-weight: 600; animation: rv-rise 260ms var(--ease-out); }
.rv-buy-ok a { display: inline-flex; align-items: center; min-height: var(--tap); color: var(--ink); text-underline-offset: .2em; text-decoration-thickness: 2px; }
.rv-nw { white-space: nowrap; }

/* The narrowest phones (320px): the menu keeps its accessible name but drops
   the visible word, so the basket never leaves the screen. */
@media (max-width: 359.98px) {
  .rv-menubtn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .rv-menubtn { padding: 0 9px; }
  .rv-mark { font-size: 22px; }
  /* the row's words fit on one line: a little less inner room */
  .rv-findrow a { padding: 0 var(--s4); gap: var(--s2); }
}
/* The Célpakk deck stays the 2 × 2 the owner chose wherever its answers
   read in whole words. Measured with the live advisor's purposes
   (2026-10-10): at 360 px the cards are 135 px and every answer takes two or
   three lines; at 320 px (a deck of 244 px) two answers break into one word
   per line ("Napi / vitamin- / alap"). There, and only there, the same four
   printed cards stack, the glyph beside the words. Rows stay equal: no
   purpose looks bigger than another. */
@container (max-width: 260px) {
  .rv-cpe .rv-cp-answers { grid-template-columns: minmax(0, 1fr); }
  .rv-cpe .rv-cp-a { min-height: 0; grid-template-columns: auto 1fr; grid-template-rows: auto; align-items: center; }
  .rv-cpe .rv-cp-a__t { grid-column: 2; }
}

/* Touch: every target at least 44px (CONTEXT.md). */
@media (pointer: coarse) {
  .rv-opt__fill { width: var(--tap); height: var(--tap); margin-block: -10px; }
  .rv-chip { min-height: var(--tap); }
  .rv-find__clear { width: var(--tap); height: var(--tap); }
  .rv-sr__clear { min-height: var(--tap); }
  .rv-opt--all { min-height: var(--tap); margin-block: -6px; }
  .rv-step { height: var(--tap); }
  .rv-step button { width: 40px; height: 40px; }
  .rv-step__in { height: 40px; }
  .rv-line__rm, .rv-gone__undo { min-height: var(--tap); }
  .rv-line__t a { display: inline-block; padding-block: 11px; margin-block: -11px; }
  .rv-news__ok { min-height: var(--tap); align-items: center; }
  .rv-cp-alt__a { min-height: var(--tap); }
  .rv-menubtn { height: var(--tap); }
}

/* ── production additions (2026-10-10) ───────────────────────────────────── */

/* The checkout keeps a focused header: the wordmark and this order's
   shipping line, without the catalogue, search, menu or drawers competing
   with paying — the rule the live checkout already had. */
.rv-focused :is(.rv-menubtn, .rv-nav, .rv-find, .rv-head__acts, .rv-bar__help, .rv-findrow) { display: none !important; }
.rv-focused .rv-mark { margin: 0 auto 0 0; }

/* Its short footer: the way back to the basket, help, the legal pages. */
.rv-foot--checkout .rv-foot__base-in { padding-block: var(--s6); }
.rv-foot--checkout nav { margin-right: auto; }

/* The account panel: the sign-in providers the store has configured, each
   with its own mark; and the store's payment link for an order awaiting it. */
.rv-acc__provider { gap: var(--s3); }
.rv-acc__provider svg { width: 20px; height: 20px; flex: none; }
.rv-order__note { grid-column: 1; }
.rv-acc__pay { margin-top: calc(var(--s2) * -1); }

/* A line the store sells only one of at a time. */
.rv-step--fixed { display: inline-flex; align-items: center; padding: 0 var(--s3); font-weight: 600; font-variant-numeric: tabular-nums; }

/* A signed-in administrator's WordPress toolbar is fixed at the top; the
   stuck header stops under it rather than sliding beneath it. */
body.admin-bar .rv-head { top: var(--wp-admin--admin-bar--height, 0px); }

/* A refused add from a page, said at the top of the basket. */
.rv-basket__err { margin: var(--s3) var(--s4) 0; }
