/* Home = single product. Mobile-first, 16–17px body, 48px+ targets, no layout shift.
   On mobile the first screen is only title + product photo + buy (fits 360×640 without scrolling). */
.rl-hero{padding:8px 0 12px}
.rl-hero-grid{display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:10px;align-items:stretch;height:calc(100vh - 38px - var(--hdr) - 20px);height:calc(100svh - 38px - var(--hdr) - 20px);max-height:calc(100svh - 38px - var(--hdr) - 20px)}
.rl-hero-title{grid-row:1;font-size:clamp(28px,8.4vw,36px);line-height:1.06;letter-spacing:-.04em;margin:0;text-wrap:balance;text-wrap:pretty}
.rl-hero-title .serif{display:inline;letter-spacing:-.02em;background:linear-gradient(transparent 62%,var(--gold) 62%,var(--gold) 92%,transparent 92%);padding:0 .06em}
.rl-hero-visual{grid-row:2;margin:0 auto;width:100%;max-width:540px;min-height:0;height:100%;display:flex;align-items:center;justify-content:center}
.rl-hero-visual img,.rl-hero-img{display:block;width:auto;height:auto;max-width:100%;max-height:100%;aspect-ratio:1200/1350;object-fit:contain;border-radius:var(--r3);box-shadow:var(--sh2);background:var(--sand)}
.rl-buy{grid-row:3;max-width:none;margin:0}
.rl-buy .btn{min-height:56px}
.rl-hero-note{display:none;margin:0;font-size:17px;font-weight:650;color:var(--ink2);line-height:1.4;max-width:24em}

.rl-sec-lead{margin:10px 0 0;font-size:17.5px;line-height:1.5;color:var(--ink2);max-width:38em}
.rl-steps{padding-top:40px}
.rl-steps-grid{list-style:none;margin:0;padding:0;display:grid;gap:14px}
.rl-step{background:var(--card);border:1px solid var(--line);border-radius:var(--r2);padding:24px 22px;box-shadow:var(--sh1)}
.rl-step-n{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;background:var(--gold);color:var(--ink);font-weight:800;font-size:17px;margin-bottom:14px}
.rl-step h3{font-size:21px;margin:0 0 8px;line-height:1.2}
.rl-step p{margin:0;color:var(--ink2);font-size:17px;line-height:1.5}

.rl-stats{background:var(--card);border-block:1px solid var(--line)}
.rl-stats-grid{list-style:none;margin:0;padding:0;display:grid;gap:14px}
.rl-stat{background:var(--paper);border:1px solid var(--line);border-radius:var(--r2);padding:24px 22px}
.rl-stat-n{margin:0 0 8px;font-size:clamp(42px,10vw,64px);font-weight:800;letter-spacing:-.05em;line-height:1;color:var(--ink)}
.rl-stat-t{margin:0 0 14px;font-size:17.5px;line-height:1.45;color:var(--ink);font-weight:600}
.rl-stat-src{margin:0;font-size:14.5px;line-height:1.45;color:var(--muted)}
.rl-stat-src a{text-decoration:underline;text-underline-offset:2px;color:inherit}
.rl-stat-src a:hover{color:var(--ink)}

.rl-ben-grid{list-style:none;margin:0;padding:0;display:grid;gap:14px}
.rl-ben{background:var(--card);border:1px solid var(--line);border-radius:var(--r2);padding:24px 22px;box-shadow:var(--sh1)}
.rl-ben-ic{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:12px;background:var(--gold-soft);color:var(--gold-ink);margin-bottom:12px}
.rl-ben-ic .ic{width:22px;height:22px}
.rl-ben h3{font-size:20px;margin:0 0 8px;line-height:1.2}
.rl-ben p{margin:0;color:var(--ink2);font-size:17px;line-height:1.5}

.rl-about-grid{display:grid;gap:28px;align-items:center}
.rl-about-photo img{border-radius:var(--r3);box-shadow:var(--sh1);background:var(--sand);width:100%;height:auto;aspect-ratio:1;object-fit:cover}
.rl-prose{font-size:17.5px;color:var(--ink2);line-height:1.6}
.rl-prose p{margin:0 0 1em}
.rl-prose p:last-child{margin-bottom:0}
.rl-inbox{margin-top:24px}
.rl-inbox h3{font-size:20px;margin:0 0 12px}
.rl-inbox ul{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.rl-inbox li{display:flex;gap:10px;align-items:flex-start;font-size:17px;color:var(--ink2);line-height:1.45}
.rl-inbox .ic{width:22px;height:22px;color:var(--ok);margin-top:3px;flex:none}

.rl-gal-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.rl-gal-item{margin:0;border-radius:var(--r2);overflow:hidden;background:var(--sand)}
.rl-gal-item.is-wide{grid-column:1 / -1}
.rl-gal-item img{width:100%;height:auto;display:block}


.rl-life-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.rl-life-item{margin:0;border-radius:var(--r2);overflow:hidden;background:var(--sand)}
.rl-life-item.is-wide{grid-column:1 / -1}
.rl-life-item img{width:100%;height:auto;display:block;aspect-ratio:4/3;object-fit:cover}
.rl-life-item figcaption{margin:0;padding:12px 14px 14px;font-size:15.5px;font-weight:650;letter-spacing:-.01em;color:var(--ink)}

.rl-gua-grid{list-style:none;margin:0;padding:0;display:grid;gap:14px}
.rl-gua{background:var(--card);border:1px solid var(--line);border-radius:var(--r2);padding:24px 22px}
.rl-gua h3{font-size:20px;margin:0 0 8px;line-height:1.2}
.rl-gua p{margin:0;font-size:17px;line-height:1.5;color:var(--ink2)}
.rl-gua-note{margin:18px 0 0;font-size:15.5px;color:var(--muted);line-height:1.45}
.rl-gua-note a{text-decoration:underline;text-underline-offset:2px}

.rl-spec-wrap{display:grid;gap:24px}
.rl-specs{margin:0;display:grid;border:1px solid var(--line);border-radius:var(--r2);overflow:hidden;background:var(--card)}
.rl-specs > div{display:grid;grid-template-columns:minmax(118px,36%) 1fr;gap:12px;padding:16px 18px;border-top:1px solid var(--line);align-items:start}
.rl-specs > div:first-child{border-top:0}
.rl-specs dt{font-weight:750;font-size:16px;color:var(--ink);line-height:1.4}
.rl-specs dd{margin:0;color:var(--ink2);font-size:16.5px;line-height:1.45}

.rl-faq{background:var(--card);border-block:1px solid var(--line)}
.rl-faq .acc details summary,.rl-faq .ans{font-size:17px;line-height:1.5}
.rl-faq .acc details summary{min-height:52px;padding-top:14px;padding-bottom:14px;align-items:center}

.rl-cta{display:flex;flex-direction:column;align-items:flex-start;gap:20px}
.rl-cta h2{margin:0;font-size:clamp(28px,6.5vw,42px);line-height:1.12}
.rl-cta p{margin:10px 0 0;font-size:18px;font-weight:650;line-height:1.4}
.rl-cta .btn{min-height:56px;min-width:200px}

.rl-sticky{display:none;position:fixed;left:0;right:0;bottom:0;z-index:30;background:rgba(251,250,247,.96);-webkit-backdrop-filter:saturate(1.6) blur(14px);backdrop-filter:saturate(1.6) blur(14px);border-top:1px solid var(--line);padding:10px 0 calc(10px + env(safe-area-inset-bottom));transform:translateY(0);transition:transform .22s var(--ease)}
.rl-sticky[hidden]{display:none !important}
.rl-sticky .wrap{display:flex;align-items:center;justify-content:space-between;gap:12px}
.rl-sticky-info{display:flex;flex-direction:column;min-width:0}
.rl-sticky-info b{font-size:16px;letter-spacing:-.02em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:58vw}
.rl-sticky-info span{font-size:14.5px;font-weight:650;color:var(--ink2);white-space:nowrap}
.rl-sticky .btn{flex:none;min-width:120px;height:48px;font-size:17px;padding:0 22px}

@media(max-width:899px){
  .rl-sticky:not([hidden]){display:block}
  body.rl-home .ftr{padding-bottom:calc(96px + env(safe-area-inset-bottom,0px))}
  .h2{font-size:clamp(28px,7.4vw,40px)}
}

@media(max-width:359px){
  .rl-hero-title{font-size:26px}
  .rl-buy .btn{min-height:52px;font-size:17px}
}

@media(min-width:700px){
  .rl-steps-grid{grid-template-columns:repeat(3,1fr);gap:16px}
  .rl-stats-grid{grid-template-columns:repeat(3,1fr);gap:16px}
  .rl-ben-grid{grid-template-columns:repeat(2,1fr);gap:16px}
  .rl-gua-grid{grid-template-columns:repeat(2,1fr);gap:16px}
}

@media(min-width:900px){
  .rl-hero{padding:36px 0 16px}
  .rl-hero-grid{grid-template-columns:1.08fr .92fr;grid-template-rows:auto auto auto 1fr;grid-template-areas:"title visual" "buy visual" "note visual" ". visual";gap:18px 56px;align-items:center;min-height:0;height:auto;max-height:none}
  .rl-hero-title{grid-area:title;font-size:clamp(48px,5.6vw,72px);line-height:1.02}
  .rl-hero-visual{grid-area:visual;max-width:none}
  .rl-hero-visual img,.rl-hero-img{object-fit:cover;max-height:none}
  .rl-buy{grid-area:buy;max-width:400px;margin:8px 0 0}
  .rl-hero-note{display:block;grid-area:note}
  .rl-about-grid{grid-template-columns:1fr 1fr;gap:56px}
  .rl-ben-grid{grid-template-columns:repeat(3,1fr)}
  .rl-gal-grid{grid-template-columns:1.2fr 1fr 1fr;gap:16px}
  .rl-gal-item.is-wide{grid-column:auto;grid-row:1 / span 2}
  .rl-life-grid{grid-template-columns:1.2fr 1fr;gap:16px}
  .rl-life-item.is-wide{grid-column:1;grid-row:1 / span 2}
  .rl-spec-wrap{grid-template-columns:.8fr 1.4fr;align-items:start;gap:40px}
  .rl-cta{flex-direction:row;align-items:center;justify-content:space-between}
}
@media(min-width:1280px){
  .rl-hero-title{font-size:72px}
}

.rl-rating{display:inline-flex;align-items:center;gap:8px;margin:-6px 0 18px;font-size:16px;font-weight:650;color:var(--ink2);text-decoration:none;line-height:1.3}
.rl-rating .stars{--s:16px}
.rl-rating:hover{color:var(--ink)}
.rl-reviews .rsum{margin:0 0 22px}
.rl-reviews .rlist{margin:0}
.rl-reviews .disclosure{margin-top:18px}
@media(min-width:900px){
  .rl-reviews .rsum{margin-bottom:28px}
}

/* ---- Hero gallery (swipe) ---- */
.rl-gal{position:relative;width:100%;max-width:100%;max-height:100%;aspect-ratio:1200/1350;height:auto;display:flex;flex-direction:column;min-height:0;min-width:0}
.rl-gal-viewport{position:relative;flex:1;min-height:0;min-width:0;height:100%;border-radius:var(--r3);overflow:hidden;background:var(--sand);box-shadow:var(--sh2)}
.rl-gal-track{display:flex;height:100%;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scroll-behavior:smooth;scrollbar-width:none;-webkit-overflow-scrolling:touch;outline:none}
.rl-gal-track::-webkit-scrollbar{display:none}
.rl-gal-slide{flex:0 0 100%;width:100%;height:100%;margin:0;scroll-snap-align:center;scroll-snap-stop:always;position:relative;background:var(--sand);display:flex;align-items:center;justify-content:center}
.rl-gal-slide picture,.rl-gal-slide .rl-hero-img{display:block;width:100%;height:100%}
.rl-gal-slide img,.rl-gal-slide .rl-hero-img{width:100%;height:100%;max-width:none;max-height:none;object-fit:contain;aspect-ratio:auto;box-shadow:none;border-radius:0;background:var(--sand)}
.rl-gal-dots{display:flex;justify-content:center;align-items:center;gap:0;position:absolute;left:0;right:0;bottom:6px;z-index:3;pointer-events:none;padding:0 48px}
.rl-gal-dots button{pointer-events:auto;width:44px;height:44px;display:grid;place-items:center;padding:0;background:none;border:0}
.rl-gal-dots button::before{content:"";width:8px;height:8px;border-radius:4px;background:#14161b59;box-shadow:0 0 0 2px #fff8;transition:width .2s var(--ease),background .2s}
.rl-gal-dots button.on::before{width:22px;background:var(--ink)}
.rl-gal-arrow{display:none;position:absolute;top:50%;transform:translateY(-50%);z-index:3;width:48px;height:48px;border-radius:50%;background:#fffc;color:var(--ink);box-shadow:var(--sh1);border:1px solid var(--line);align-items:center;justify-content:center;transition:background .15s,opacity .15s}
.rl-gal-arrow:hover{background:#fff}
.rl-gal-arrow:disabled{opacity:.3;pointer-events:none}
.rl-gal-arrow.is-prev{left:10px}
.rl-gal-arrow.is-next{right:10px}
.rl-gal-arrow .ic{width:24px;height:24px}
.rl-gal-track:focus-visible{outline:3px solid #2F6BFF;outline-offset:-3px;border-radius:var(--r3)}

@media(max-width:899px){
  /* Keep the first screen as title + photo + buy: dots sit on the photo, arrows hidden (swipe). */
  .rl-hero-visual .rl-gal{height:100%;width:auto;margin:0 auto}
}
@media(min-width:900px){
  .rl-gal{max-width:none;height:auto;aspect-ratio:1200/1350}
  .rl-gal-arrow{display:flex}
  .rl-gal-dots{bottom:12px}
  .rl-hero-visual img,.rl-hero-img{object-fit:contain;max-height:none}
}
@media(prefers-reduced-motion:reduce){
  .rl-gal-track{scroll-behavior:auto}
}

/* ===== Ottimizzazione 13 nov 2026 (TASK 1–5, 11) ===== */

/* Bundle selector (TASK 1.3) — CSS copied from the brief */
.rl-bundle{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:0 0 10px}
.rl-bundle-opt{position:relative}
.rl-bundle label{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;
  min-height:64px;padding:8px 4px;border:1.5px solid var(--line2);border-radius:var(--r1);background:var(--card);
  font-size:14px;line-height:1.2;color:var(--ink2);cursor:pointer;transition:border-color .15s var(--ease),background .15s var(--ease)}
.rl-bundle label b{font-size:17px;color:var(--ink)}
.rl-bundle label small{font-size:11.5px;font-weight:700;color:var(--ok)}
.rl-bundle input{position:absolute;opacity:0;inset:0;cursor:pointer;margin:0}
.rl-bundle input:checked+label{border-color:var(--ink);background:var(--gold-soft);box-shadow:inset 0 0 0 1px var(--ink)}
.rl-bundle input:focus-visible+label{outline:2px solid var(--ink);outline-offset:2px}
.rl-bundle-note{margin:0 0 10px;font-size:13px;line-height:1.4;color:var(--muted)}
.rl-bundle-note a{color:inherit;text-decoration:underline;text-underline-offset:2px}

/* Hero (TASK 2) */
.rl-hero{padding-top:14px;padding-bottom:28px;background:var(--paper)}
.rl-eyebrow{display:block;font:700 11.5px/1 var(--font);letter-spacing:.08em;color:var(--gold-ink);margin-bottom:8px;text-transform:uppercase}
.rl-hero-title{font-size:clamp(34px,9.4vw,44px);line-height:1.02;letter-spacing:-.03em;margin:0 0 8px}
.rl-hero-sub{font-size:16px;line-height:1.4;color:var(--ink2);margin:0 0 12px;max-width:34ch}
.rl-hero-grid{display:grid;gap:12px}
.rl-hero-copy{min-width:0}
.rl-gal-viewport{height:auto;aspect-ratio:4/5;border-radius:var(--r3);overflow:hidden}
.rl-gal-slide img,.rl-gal-slide video{width:100%;height:100%;object-fit:contain;object-position:center center}
#rl-hero-buy{min-height:58px;box-shadow:0 10px 24px rgba(251,188,4,.35)}
#rl-hero-buy:active{transform:scale(.98)}
.rl-gal-dots button{min-width:28px;min-height:28px}
.rl-buy{margin:0}
.rl-hero-foot{display:grid;gap:10px}
.rl-trust{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:6px 14px;justify-content:center;font-size:13px;color:var(--ink2);line-height:1.3}
.rl-trust li{display:inline-flex;align-items:center;gap:6px}
.rl-trust .rl-ok{color:var(--ok);flex:none}
.rl-hero-meta{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:10px 16px}
.rl-rating{display:inline-flex;align-items:center;gap:4px;font-size:14px;font-weight:700;color:var(--ink);text-decoration:none}
.rl-rating:hover{text-decoration:underline}
.rl-pay{list-style:none;margin:0;padding:0;display:flex;align-items:center;gap:10px;color:var(--muted)}
.rl-pay svg{display:block;height:18px;width:auto}

/* Video */
.rl-hero-video{display:block;width:100%;height:100%;object-fit:cover;background:var(--sand);border:0}

@media(min-width:1024px){
  .rl-hero{padding:36px 0 48px}
  .rl-hero-grid{grid-template-columns:1.05fr .95fr;grid-template-areas:"copy visual" "buy visual" "foot visual";gap:16px 56px;align-items:start}
  .rl-hero-copy{grid-area:copy}
  .rl-hero-title{font-size:clamp(52px,5vw,72px);margin-bottom:12px}
  .rl-hero-sub{font-size:20px;max-width:44ch;margin-bottom:20px}
  .rl-hero-visual{grid-area:visual;position:sticky;top:calc(var(--hdr) + 24px)}
  .rl-gal{aspect-ratio:4/5;height:auto}
  .rl-gal-viewport{height:auto;aspect-ratio:4/5}
  .rl-buy{grid-area:buy;max-width:none}
  #rl-hero-buy{width:auto;min-width:320px;max-width:100%}
  .rl-hero-foot{grid-area:foot;justify-items:start}
  .rl-trust{justify-content:flex-start}
  .rl-hero-meta{justify-content:flex-start}
}

/* Section rhythm (TASK 4) */
body.rl-home .sec{padding:52px 0}
body.rl-home .h2,body.rl-home .rl-cta h2,body.rl-home .rl-offer-box .h2{
  font-size:clamp(26px,7vw,34px);line-height:1.08;letter-spacing:-.02em;margin:0 0 20px
}
@media(min-width:900px){
  body.rl-home .sec{padding:96px 0}
  body.rl-home .h2,body.rl-home .rl-cta h2,body.rl-home .rl-offer-box .h2{margin-bottom:32px}
}

/* Demo (4.1) — ink background, light text */
.rl-demo{background:var(--ink);color:#fff}
.rl-demo .h2{color:#fff}
.rl-demo-media{position:relative;border-radius:var(--r3);overflow:hidden;max-width:420px;margin:0 auto 24px;aspect-ratio:4/5;background:#000}
.rl-demo-media video{width:100%;height:100%;object-fit:cover}
.rl-demo-steps{list-style:none;margin:0;padding:0;display:grid;gap:14px}
.rl-demo-steps li{display:flex;align-items:center;gap:12px;font-size:17px;font-weight:650;line-height:1.3}
.rl-demo-n{flex:none;width:28px;height:28px;border-radius:50%;background:var(--gold);color:var(--ink);font-weight:800;font-size:14px;display:flex;align-items:center;justify-content:center}
.rl-demo-note{margin:18px 0 0;font-size:14px;line-height:1.45;color:rgba(255,255,255,.7)}
@media(min-width:700px){
  .rl-demo .wrap{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:center}
  .rl-demo .h2{grid-column:1/-1;margin-bottom:0}
  .rl-demo-media{margin:0;max-width:none}
}

/* Problem (4.2) */
.rl-problem{background:var(--paper)}
.rl-prob-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.rl-prob{border-radius:var(--r2);padding:16px 14px}
.rl-prob h3{margin:0 0 12px;font-size:15px;letter-spacing:-.01em}
.rl-prob ol{list-style:none;margin:0;padding:0;display:grid;gap:0}
.rl-prob li{font-size:13.5px;line-height:1.35;font-weight:650;padding:8px 0}
.rl-prob.is-today li:not(:last-child)::after{content:"↓";display:block;text-align:center;color:var(--muted);font-weight:400;padding-top:6px;line-height:1}
.rl-prob.is-today{background:var(--sand);color:var(--muted)}
.rl-prob.is-today .is-out{text-decoration:line-through}
.rl-prob.is-tv{background:var(--gold-soft);border:1.5px solid var(--gold);color:var(--ink);font-weight:700}
.rl-prob.is-tv li{font-weight:800}

/* Reviews (4.3) */
.rl-reviews{background:var(--sand)}
@media(max-width:899px){
  .rl-reviews .bars{display:none}
  /* Beat main.css `.rlist{display:grid}` which otherwise stacks cards after async CSS (CLS). */
  .rl-reviews .rlist.rl-rev-carousel{
    display:flex;
    grid-template-columns:none;
    overflow-x:auto;
    scroll-snap-type:x mandatory;
    gap:12px;
    padding-inline:20px;
    margin-inline:-20px;
    scrollbar-width:none;
    -webkit-overflow-scrolling:touch;
  }
  .rl-rev-carousel::-webkit-scrollbar{display:none}
  .rl-reviews .rlist.rl-rev-carousel > *{flex:0 0 84%;scroll-snap-align:start}
}

/* Lifestyle carousel (4.4) */
.rl-life{background:var(--paper)}
.rl-life-carousel{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:12px;padding-inline:20px;margin-inline:-20px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.rl-life-carousel::-webkit-scrollbar{display:none}
.rl-life-item{flex:0 0 84%;scroll-snap-align:start;margin:0;border-radius:var(--r2);overflow:hidden;background:var(--sand)}
.rl-life-item img{width:100%;height:auto;display:block;aspect-ratio:4/3;object-fit:cover}
.rl-life-item figcaption{margin:0;padding:12px 14px 14px;font-size:15.5px;font-weight:650;letter-spacing:-.01em;color:var(--ink)}
@media(min-width:900px){
  .rl-life-carousel{margin-inline:0;padding-inline:0;gap:16px}
  .rl-life-item{flex:0 0 320px}
}

/* Comparison (4.5) */
.rl-compare{background:var(--sand)}
.rl-table-wrap{overflow:visible}
.rl-table{width:100%;border-collapse:collapse;font-size:14px;background:var(--card);border-radius:var(--r2);overflow:hidden}
.rl-table th,.rl-table td{padding:10px 8px;text-align:left;vertical-align:top;border-bottom:1px solid var(--line);line-height:1.35}
.rl-table thead th{font-weight:750;background:var(--paper)}
.rl-table th[scope=row]{font-weight:750;color:var(--ink)}
.rl-table .is-tv{background:var(--gold-soft)}
.rl-table tbody tr:last-child th,.rl-table tbody tr:last-child td{border-bottom:0}
@media(min-width:700px){
  .rl-table{font-size:15.5px}
  .rl-table th,.rl-table td{padding:14px 16px}
}

/* Offer (4.6) */
.rl-offer{background:var(--gold-soft)}
.rl-offer-box{background:var(--card);border-radius:var(--r3);box-shadow:var(--sh2);padding:24px 20px}
.rl-offer-box .rl-eyebrow{margin-bottom:8px}
.rl-offer-list{list-style:none;margin:0 0 16px;padding:0;display:grid;gap:10px}
.rl-offer-list li{display:flex;gap:10px;align-items:flex-start;font-size:16px;line-height:1.4;color:var(--ink2)}
.rl-offer-list .ic{width:20px;height:20px;color:var(--ok);flex:none;margin-top:2px}
.rl-offer-value{margin:0 0 16px;font-size:18px;font-weight:750;letter-spacing:-.02em;line-height:1.3}
.rl-offer-icons{list-style:none;margin:16px 0 12px;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:12px 10px}
.rl-offer-icons li{display:flex;align-items:flex-start;gap:8px;font-size:13px;line-height:1.3;color:var(--ink2)}
.rl-offer-icons .ic{width:18px;height:18px;flex:none;color:var(--ink);margin-top:1px}
.rl-offer-legal{margin:0;font-size:13px;color:var(--muted);line-height:1.4}
.rl-offer-legal a{color:inherit;text-decoration:underline;text-underline-offset:2px}

/* Stats (4.7) */
.rl-stats{background:var(--paper);border:0}
.rl-stats-grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.rl-stat{background:transparent;border:0;padding:0;text-align:center}
.rl-stat-n{margin:0 0 6px;font-size:34px;font-weight:800;letter-spacing:-.04em;line-height:1;color:var(--ink)}
.rl-stat-t{margin:0;font-size:13.5px;line-height:1.35;color:var(--ink2);font-weight:600}
.rl-stat-src{margin:16px 0 0;font-size:12px;line-height:1.4;color:var(--muted);text-align:center}
.rl-stat-src a{color:inherit;text-decoration:underline;text-underline-offset:2px}

/* FAQ (4.8) — --card so it does not share a background with the stats section above */
.rl-faq{background:var(--card);border-block:1px solid var(--line)}
.rl-faq .acc details summary{min-height:52px;padding-top:14px;padding-bottom:14px;align-items:center}
.rl-faq-specs{width:100%;border-collapse:collapse;font-size:15px}
.rl-faq-specs th,.rl-faq-specs td{text-align:left;vertical-align:top;padding:8px 0;border-bottom:1px solid var(--line)}
.rl-faq-specs th{width:38%;font-weight:750;padding-right:10px}
.rl-faq-specs tr:last-child th,.rl-faq-specs tr:last-child td{border:0}

/* Final CTA (4.9) */
.rl-cta-sec{background:var(--ink);padding:56px 0}
@media(min-width:900px){.rl-cta-sec{padding:96px 0}}
.rl-cta{display:flex;flex-direction:column;align-items:flex-start;gap:16px;background:transparent;color:#fff;padding:0;box-shadow:none;border:0}
.rl-cta h2{margin:0;color:#fff}
.rl-cta p{margin:10px 0 0;font-size:18px;font-weight:650;line-height:1.4;color:rgba(255,255,255,.85)}
.rl-cta .rl-trust{justify-content:flex-start;color:rgba(255,255,255,.85)}
.rl-cta .rl-ok{color:var(--gold)}
.rl-cta .btn{min-height:56px;min-width:200px}

/* Sticky (4.10) */
.rl-sticky{display:none;position:fixed;left:0;right:0;bottom:0;z-index:30;background:rgba(251,250,247,.96);-webkit-backdrop-filter:saturate(1.6) blur(14px);backdrop-filter:saturate(1.6) blur(14px);border-top:1px solid var(--line);padding:10px 0 max(10px,env(safe-area-inset-bottom));transform:translateY(0);transition:transform .22s var(--ease)}
.rl-sticky[hidden]{display:none !important}
.rl-sticky .wrap{display:flex;align-items:center;justify-content:space-between;gap:12px}
.rl-sticky-info{display:flex;flex-direction:column;min-width:0}
.rl-sticky-info b{font-size:16px;letter-spacing:-.02em;white-space:nowrap}
.rl-sticky-info span{font-size:12.5px;font-weight:650;color:var(--muted);white-space:nowrap}
.rl-sticky .btn{flex:none;min-width:120px;height:48px;font-size:17px;padding:0 22px}
@media(max-width:899px){
  .rl-sticky:not([hidden]){display:block}
  body.rl-home .ftr{padding-bottom:calc(96px + env(safe-area-inset-bottom,0px))}
}

/* Reduced motion */
@media(prefers-reduced-motion:reduce){
  .rv,.rl-gal-track,.rl-sticky{transition:none;animation:none}
  .rv{opacity:1;transform:none}
}

/* Ad landing: reduced header (TASK 5) */
.is-ad .hdr nav,.is-ad .hdr [href="/account/accedi"],.is-ad .hdr [href="/account/pannello"],.is-ad .hdr .menu-btn,.is-ad .hdr [data-open="search"],.is-ad .hdr [data-open="menu"],.is-ad .announce,.is-ad .announce-slot{display:none !important}
.is-ad .hdr .wrap{justify-content:space-between}
.is-ad .hdr{/* logo + cart only */}

/* Scroll-reveal: titles and cards only, once, 400ms (TASK 11) */
.rv{opacity:0;transform:translateY(12px);transition:opacity .4s var(--ease),transform .4s var(--ease)}
.rv.in{opacity:1;transform:none}
@media(prefers-reduced-motion:reduce){.rv{opacity:1;transform:none;transition:none}}

/* One solid-gold element per screen: the buy button. Soft gold is allowed (gold-soft). */

/* Override the old 100svh first-screen lock, which crushed the gallery. */
@media(max-width:1023px){
  .rl-hero{padding-top:14px;padding-bottom:24px}
  .rl-hero-grid{
    display:grid;
    grid-template-rows:auto;
    grid-template-columns:1fr;
    height:auto !important;
    max-height:none !important;
    align-items:start;
    gap:12px;
  }
  .rl-hero-copy,.rl-hero-title{grid-row:auto}
  .rl-hero-visual{
    grid-row:auto;
    height:auto;
    width:100%;
    max-width:100%;
    min-height:0;
    display:block;
  }
  .rl-hero-visual .rl-gal,
  .rl-gal{
    height:auto;
    width:100%;
    max-height:none;
    aspect-ratio:auto;
  }
  .rl-gal-viewport{
    height:auto !important;
    flex:none;
    aspect-ratio:4/5;
  }
  .rl-buy{grid-row:auto}
}

/* TASK 6: long sector H1s must still fit 390×660 with buy button */
.rl-hero-title.is-long{font-size:clamp(22px,5.8vw,30px);line-height:1.18;letter-spacing:-.02em;max-width:22ch}
@media(min-width:1024px){.rl-hero-title.is-long{font-size:clamp(32px,3.4vw,48px);max-width:28ch}}
.ind-pain p{margin:8px 0 0;font-size:15px;line-height:1.4;color:var(--ink2)}
.acc summary{min-height:52px}

/* TASK 4.4: blurred 24px placeholder behind lazy images */
.rl-lqip{display:block;width:100%;height:100%;overflow:hidden}
.rl-lqip img,.rl-lqip picture{display:block;width:100%;height:100%;object-fit:cover}

/* TASK 11: 44×44 tap targets */
.rl-gal-dots button{min-width:44px;min-height:44px}
.cookie .btn{min-height:44px;min-width:44px;padding:10px 16px}

/* Industry long H1: keep buy in the first 660px */
@media(max-width:480px){
  .rl-hero-title.is-long{font-size:clamp(20px,5.2vw,26px);line-height:1.15;margin-bottom:6px}
  .rl-hero:has(.rl-hero-title.is-long) .rl-gal-viewport{height:clamp(120px,20svh,170px)!important}
  .rl-hero:has(.rl-hero-title.is-long){padding-top:8px;padding-bottom:16px}
}

/* LCP is the preloaded poster; the video fades in only once a frame is ready (no extra motion, instant swap).
   The poster is position:absolute; it MUST stay inside a positioned box. Without that, the copy in
   .rl-demo-media (home "come funziona") escaped to the viewport and covered the whole page. */
.rl-tap{position:relative;display:block;width:100%;height:100%;overflow:hidden;background-color:var(--sand);background-image:url(/assets/video/tap-hero-poster.avif);background-position:center center;background-size:contain;background-repeat:no-repeat}
@supports (background-image:image-set(url("/assets/video/tap-hero-poster.avif") type("image/avif"))){
  .rl-tap{background-image:image-set(url("/assets/video/tap-hero-poster-480.avif") type("image/avif") 1x,url("/assets/video/tap-hero-poster.avif") type("image/avif") 2x,url("/assets/video/tap-hero-poster-480.webp") type("image/webp") 1x,url("/assets/video/tap-hero-poster.webp") type("image/webp") 2x)}
}
.rl-gal-viewport,.rl-gal-slide,.rl-demo-media{position:relative}
.rl-hero-poster-img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;object-position:center center;z-index:1;pointer-events:none}
.rl-hero-video{position:absolute;inset:0;z-index:2;width:100%;height:100%;object-fit:contain;object-position:center center;opacity:0;visibility:hidden;display:block}
.rl-tap.is-playing .rl-hero-video,
.rl-hero-video.is-on{display:block;visibility:visible;opacity:1}
.rl-tap.is-playing .rl-hero-poster-img{opacity:0}
@media(prefers-reduced-motion:reduce){
  .rl-hero-video{display:none!important;opacity:0!important;visibility:hidden!important}
  .rl-tap.is-playing .rl-hero-poster-img{opacity:1}
}

/* ===== STAGE 2 13 nov 2026 ===== */

/* A2 13 nov 2026 — cookie banner: top on mobile, bottom-left on desktop.
   Every page, not only body.rl-home. Max 56px on mobile, 13px text,
   Rifiuta and Accetta equal and side by side. */
body .cookie{
  --cookie-h: 56px;
  position:fixed;
  z-index:90;
  display:none;
  box-sizing:border-box;
  background:var(--card);
  border:1px solid var(--line);
  box-shadow:var(--sh2);
  color:var(--ink);
}
body .cookie.on{display:flex}
body .cookie a{text-decoration:underline;text-underline-offset:2px}
body .cookie p{margin:0;color:var(--ink2);min-width:0}

/* Mobile: one row, fixed to the top, above the black announce bar. */
@media (max-width:639px){
  body .cookie{
    top:0; bottom:auto; left:0; right:0;
    inset:0 0 auto 0;
    width:100%;
    max-width:none;
    max-height:56px;
    height:56px;
    margin:0;
    border-radius:0;
    border-width:0 0 1px;
    padding:0 10px;
    font-size:13px;
    line-height:1.2;
    flex-direction:row;
    align-items:center;
    gap:8px;
    box-shadow:0 2px 10px rgba(20,22,27,.08);
  }
  body .cookie p{
    flex:1 1 auto;
    font-size:13px;
    line-height:1.25;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
  }
  body .cookie .row{
    display:flex;
    flex:none;
    flex-direction:row;
    align-items:center;
    gap:6px;
    width:auto;
    margin:0;
  }
  /* Equal width, side by side. Tight enough to keep the bar at 56px. */
  body .cookie .btn{
    --h:36px;
    flex:1 1 0;
    width:5.6em;
    min-width:5.6em;
    max-width:5.6em;
    min-height:36px;
    height:36px;
    padding:0;
    font-size:13px;
    margin:0;
  }
  /* Push the black announce bar and the rest of the page below the banner. */
  body.has-cookie,body:has(.cookie.on){
    padding-top:56px;
  }
  /* Announce stays just under the banner (it is the «barra nera»). */
  /* Cookie banner offset: tighter hero paddings only. Do NOT shrink the
     gallery — that cropped the stand into a short rectangle (t402u). */
  body.has-cookie .rl-hero,body:has(.cookie.on) .rl-hero{padding-top:6px;padding-bottom:8px}
  body.has-cookie .rl-hero-title,body:has(.cookie.on) .rl-hero-title{margin-bottom:4px}
  body.has-cookie .rl-hero-sub,body:has(.cookie.on) .rl-hero-sub{margin-bottom:6px}
}

/* Desktop: bottom-left, max 420px. */
@media (min-width:640px){
  body .cookie{
    top:auto; right:auto;
    left:20px;
    bottom:20px;
    inset:auto auto 20px 20px;
    width:min(420px, calc(100% - 40px));
    max-width:420px;
    height:auto;
    max-height:none;
    margin:0;
    padding:10px 12px;
    border-radius:14px;
    font-size:13px;
    line-height:1.35;
    flex-direction:row;
    align-items:center;
    gap:10px;
  }
  body .cookie p{flex:1;display:block;white-space:normal;overflow:visible;font-size:13px}
  body .cookie .row{display:flex;flex-wrap:nowrap;gap:6px;flex:none;margin:0}
  body .cookie .btn{--h:40px;min-height:40px;min-width:72px;padding:0 14px;font-size:13px;flex:1 1 0}
  body.has-cookie .rl-sticky,body:has(.cookie.on) .rl-sticky{bottom:20px}
}

/* Mobile gallery: show the WHOLE stand (contain), not a mid-crop. */
@media(max-width:1023px){
  .rl-gal-viewport{
    height:auto !important;
    aspect-ratio:4/5;
    max-height:min(42svh, 380px);
    background:var(--sand);
  }
  .rl-gal,
  .rl-hero-visual .rl-gal{
    aspect-ratio:auto;
    height:auto;
    max-height:min(42svh, 380px);
  }
  .rl-gal-slide,
  .rl-lqip{
    background-color:var(--sand);
  }
  .rl-tap{
    background-color:var(--sand);
  }
  .rl-gal-slide img,
  .rl-gal-slide video,
  .rl-gal-slide .rl-hero-img,
  .rl-hero-poster-img,
  .rl-hero-video{
    object-fit:contain !important;
    object-position:center center !important;
    background:var(--sand);
  }
  .rl-gal-slide .rl-tap,
  .rl-tap{
    background-size:contain;
    background-position:center center;
  }
  .rl-hero:has(.rl-hero-title.is-long) .rl-gal-viewport{
    height:auto !important;
    max-height:min(36svh, 320px);
  }
}

/* Payment marks: readable size, not squeezed. */
.rl-pay{gap:12px;align-items:center}
.rl-pay li{display:flex;align-items:center;height:24px}
.rl-pay svg{height:22px;width:auto;display:block;color:var(--ink2)}

/* Guide hub: every title is a clear, clickable card. */
.gd-list{display:grid;gap:12px;margin:28px 0 40px}
.gd-card{
  display:grid;gap:6px;
  padding:20px 22px;
  background:var(--card);
  border:1px solid var(--line);
  border-radius:var(--r2);
  text-decoration:none;
  color:inherit;
  transition:transform .18s var(--ease), box-shadow .18s, border-color .18s;
}
.gd-card:hover,.gd-card:focus-visible{
  transform:translateY(-2px);
  box-shadow:var(--sh2);
  border-color:var(--ink);
  outline:none;
}
.gd-card h2{font-size:22px;line-height:1.25;letter-spacing:-.02em;margin:0;color:var(--ink);text-decoration:none}
.gd-card p{margin:0;font-size:15.5px;line-height:1.45;color:var(--ink2);font-weight:500}
.gd-card .gd-go{display:inline-flex;align-items:center;gap:6px;margin-top:6px;font-size:14.5px;font-weight:750;color:var(--ink)}
.gd-card .gd-go .ic{width:16px;height:16px}
.gd-land{margin:8px 0 40px;padding-left:20px}
.gd-land a{font-weight:700;text-decoration:underline;text-underline-offset:3px}

/* Traccia ordine */
.trk-page{max-width:560px;margin:0 auto;padding:12px 0 64px}
.trk-page h1{font-size:clamp(32px,7vw,44px);letter-spacing:-.03em;margin:8px 0 10px}
.trk-page .lead{margin:0 0 24px;color:var(--ink2)}
.trk-form{display:grid;gap:14px;background:var(--card);border:1px solid var(--line);border-radius:var(--r3);padding:24px 22px}
.trk-form .btn{width:100%}
.trk-err{margin:0 0 18px;padding:14px 16px;border-radius:14px;background:#f6f3ec;color:var(--ink);font-weight:650;font-size:15px;line-height:1.45}
.trk-result{background:var(--card);border:1px solid var(--line);border-radius:var(--r3);padding:24px 22px;display:grid;gap:16px}
.trk-result h2{font-size:22px;margin:0}
.trk-kv{display:grid;grid-template-columns:auto 1fr;gap:8px 18px;margin:0;font-size:15.5px}
.trk-kv dt{color:var(--muted);font-weight:650}
.trk-kv dd{margin:0;font-weight:700;word-break:break-word}
.trk-actions{display:flex;flex-wrap:wrap;gap:10px}

/* Settori hub — mobile first cards */
.sec-hub{padding-bottom:56px}
.sec-hub .phead{padding-top:4px}
.sec-grid{display:grid;gap:14px;grid-template-columns:1fr}
.sec-card{
  display:flex;flex-direction:column;
  background:var(--card);
  border:1px solid var(--line);
  border-radius:var(--r3);
  overflow:hidden;
  color:inherit;
  min-width:0;
}
.sec-card-img{display:block;aspect-ratio:16/10;overflow:hidden;background:var(--sand)}
.sec-card-img img,.sec-card-img picture,.sec-card-img picture img{
  width:100%;height:100%;object-fit:cover;object-position:center;display:block;
}
.sec-card-b{display:flex;flex-direction:column;gap:8px;padding:16px 18px 18px;flex:1}
.sec-card-b h2{font-size:22px;letter-spacing:-.02em;margin:0;line-height:1.2}
.sec-card-b h2 a{color:inherit;text-decoration:none}
.sec-card-b p{margin:0;font-size:15.5px;line-height:1.4;color:var(--ink2)}
.sec-card-cta{display:flex;flex-wrap:wrap;gap:8px;margin-top:6px}
.sec-card-cta .btn{--h:44px;font-size:14.5px;padding:0 16px}
@media(min-width:640px){
  .sec-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
}
@media(min-width:1024px){
  .sec-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
  .sec-card-img{aspect-ratio:16/11}
}

/* Admin: compact banners */
.adm-hero-note{display:flex;flex-wrap:wrap;gap:10px 18px;align-items:center;padding:14px 18px;border-radius:var(--r2);background:var(--gold-soft);border:1px solid rgba(251,188,4,.45);margin:0 0 16px;font-size:14.5px;line-height:1.4}
.adm-hero-note b{font-weight:800}
.fin-missing{color:var(--muted);font-style:normal;font-weight:650}
.fin-missing:before{content:"da inserire"}

/* ===== PRIORITY 13 nov 2026 t377u: gallery, Tre secondi, payment marks ===== */

/* Payment marks: official-color SVGs, never shrink or squash (global svg{max-width:100%;height:auto}
   was clipping them into “Gete” / “R”). */
.rl-pay{
  list-style:none;margin:8px 0 0;padding:0;
  display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px;
  width:100%;max-width:100%;min-width:0;overflow:visible;
}
.rl-pay li{
  flex:none;display:flex;align-items:center;justify-content:center;
  height:28px;line-height:0;
}
.rl-pay svg{
  display:block;
  height:24px !important;
  width:auto !important;
  max-width:none !important;
  max-height:24px !important;
  flex:none;
  color:unset;
  overflow:visible;
}
.rl-hero-meta, .rl-hero-foot{
  display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;
  margin-top:8px;
  width:100%;max-width:100%;min-width:0;overflow:visible;
}
footer .ftr-bottom{
  display:grid !important;
  grid-template-columns:1fr;
  gap:14px;
  align-items:center;
}
@media(min-width:768px){
  footer .ftr-bottom{grid-template-columns:auto 1fr;gap:18px 24px}
  footer .ftr-bottom .rl-pay{justify-content:flex-end}
}
footer .ftr-bottom .rl-pay, .ftr .rl-pay, footer ul.rl-pay{
  /* .ftr ul {display:grid} in main.css is more specific than .rl-pay — force a row. */
  display:flex !important;
  flex-direction:row !important;
  flex-wrap:wrap !important;
  align-items:center;
  margin:0 !important;
  width:100%;
  max-width:100%;
  flex:none;
  justify-content:flex-start;
  gap:8px 10px;
}
/* White chip so black/dark marks (Apple Pay, Amazon Pay, Mastercard) stay visible on the dark footer. */
footer .rl-pay li{
  background:#fff;
  border-radius:5px;
  padding:2px;
}
footer .rl-pay, .pay-icons.rl-pay, .drawer .rl-pay, .cart-page .rl-pay{
  margin:8px 0 0;
}

/* Gallery: EVERY slide fills the gallery WIDTH, same 4:5 aspect, whole stand visible
   (object-fit:contain, centered), sharp, straight. Kills earlier 24svh/210px clamps
   that reduced the first slide to a short cropped rectangle. */
.rl-hero-visual,
.rl-hero-visual .rl-gal,
.rl-gal{
  width:100% !important;
  max-width:100%;
  height:auto !important;
  max-height:none !important;
  aspect-ratio:4/5;
  min-height:0;
}
.rl-gal-viewport{
  width:100%;
  height:auto !important;
  max-height:none !important;
  aspect-ratio:4/5;
  flex:none;
  background:var(--sand);
  position:relative;
  overflow:hidden;
}
.rl-gal-track{
  display:flex;height:100%;width:100%;
}
.rl-gal-slide,
.rl-gal-slide .rl-tap,
.rl-gal-slide .rl-lqip,
.rl-gal-slide picture{
  width:100%;
  height:100%;
  background-color:var(--sand);
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}
.rl-gal-slide img,
.rl-gal-slide video,
.rl-gal-slide .rl-hero-img,
.rl-gal-slide .rl-hero-poster-img,
.rl-gal-slide .rl-hero-video,
.rl-gal-slide .rl-lqip img,
.rl-gal-slide picture img{
  width:100% !important;
  height:100% !important;
  max-width:100% !important;
  max-height:100% !important;
  object-fit:contain !important;
  object-position:center center !important;
  background:var(--sand);
  border-radius:0;
  box-shadow:none;
  aspect-ratio:auto;
}
/* Long sector titles must NOT shrink the gallery and crop the stand. */
@media(max-width:1023px){
  .rl-hero:has(.rl-hero-title.is-long) .rl-gal-viewport,
  .rl-hero:has(.rl-hero-title.is-long) .rl-gal,
  .rl-hero:has(.rl-hero-title.is-long) .rl-hero-visual .rl-gal{
    height:auto !important;
    max-height:none !important;
    aspect-ratio:4/5;
  }
}
@media(min-width:900px){
  .rl-hero-visual,
  .rl-hero-visual .rl-gal,
  .rl-gal{
    width:100% !important;
    max-width:100%;
  }
}

/* Tre secondi: the 4:5 clip fills the 4:5 frame (cover = exact fit).
   Poster stays visible (JPEG) until the video paints a real frame (.is-on).
   Scoped so gallery contain rules never leak into this section. */
.rl-demo-media{
  position:relative;
  background:#111;
  aspect-ratio:4/5;
  overflow:hidden;
}
.rl-demo-media .rl-tap{
  position:relative;
  width:100%;
  height:100%;
  overflow:hidden;
  background-color:#111;
}
.rl-demo-media .rl-hero-poster-img,
.rl-demo-media picture,
.rl-demo-media picture img{
  position:absolute;inset:0;
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  object-position:center center !important;
  z-index:1;
  pointer-events:none;
  background:#111;
}
.rl-demo-media .rl-hero-video{
  position:relative;
  z-index:2;
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  object-position:center center !important;
  background:transparent;
  opacity:0;
}
.rl-demo-media .rl-hero-video.is-on{opacity:1}

/* ===== official payment pills (t383u) ===== */
/* Uniform 28px pills: white background, light border, official SVG marks, crisp on retina. */
.rl-pay,
footer .ftr-bottom .rl-pay,
.ftr .rl-pay,
footer ul.rl-pay,
.pay-icons.rl-pay,
.drawer .rl-pay,
.cart-page .rl-pay{
  list-style:none;
  margin:8px 0 0;
  padding:0;
  display:flex !important;
  flex-direction:row !important;
  flex-wrap:wrap !important;
  align-items:center;
  gap:8px;
  width:100%;
  max-width:100%;
  min-width:0;
  overflow:visible;
}
footer .ftr-bottom .rl-pay,
.ftr .rl-pay,
footer ul.rl-pay{ margin:0 !important }
@media(min-width:768px){
  footer .ftr-bottom .rl-pay{ justify-content:flex-end }
}
.rl-pay li,
footer .rl-pay li,
.ftr .rl-pay li{
  flex:none;
  display:flex;
  align-items:center;
  justify-content:center;
  height:28px;
  padding:2px 6px;
  background:#fff;
  border:1px solid #E5E7EB;
  border-radius:5px;
  box-sizing:border-box;
  line-height:0;
}
.rl-pay img.rl-pay-mark,
.rl-pay img,
footer .rl-pay img{
  display:block;
  height:22px !important;
  width:33px !important;
  max-height:22px !important;
  max-width:33px !important;
  aspect-ratio:36 / 24;
  object-fit:contain;
  image-rendering:auto;
}
/* Satispay is a wide official wordmark (128×30), not a 120×80 card — keep it a bit shorter so the pill matches. */
.rl-pay img[alt="Satispay"]{
  height:16px !important;
  max-height:16px !important;
}



/* ===== A1 13 nov 2026 — compact first-screen copy on mobile =====
   Title/sub/bundle stay tight. The gallery is NOT shortened or cropped:
   t402u requires the whole stand and the hero animation to be visible. */
@media (max-width:480px){
  .rl-hero{padding-top:10px}
  .rl-hero-title{margin-bottom:6px}
  .rl-hero-sub{margin-bottom:10px}
  .rl-gal-dots{position:absolute;left:0;right:0;bottom:8px;margin:0;z-index:3}
  .rl-bundle{margin:10px 0 8px}
  .rl-hero-foot .rl-bundle-note{margin:8px 0 0}

  /* SEO landings: buy form sits under a compact H1. "In breve", lead and
     "Come funziona" stay on the page, just below the button, so #rl-hero-buy
     fits the first screen. */
  .seo-hero > div{display:flex;flex-direction:column}
  .seo-hero > div h1{order:1;margin:0 0 8px;font-size:clamp(26px,7vw,34px);line-height:1.15}
  .seo-hero > div #buyform{order:2}
  .seo-hero > div .rl-trust{order:3}
  .seo-hero > div .rl-bundle-note{order:4;margin:8px 0 0}
  .seo-hero > div .rl-inbreve{order:5;margin-top:14px}
  .seo-hero > div .lead{order:6}
  .seo-hero > div .hero-ctas{order:7}
}

/* A2: elementFromPoint at the button center must return the button itself, not a child. */
#rl-hero-buy > *{pointer-events:none}


/* A3 — sticky buy bar: two untruncated rows, hidden while hero buy or final CTA is on screen. */
.rl-sticky{display:none;position:fixed;left:0;right:0;bottom:0;z-index:30;background:rgba(251,250,247,.96);-webkit-backdrop-filter:saturate(1.6) blur(14px);backdrop-filter:saturate(1.6) blur(14px);border-top:1px solid var(--line);padding:8px 0 calc(8px + env(safe-area-inset-bottom,0px))}
.rl-sticky[hidden]{display:none !important}
.rl-sticky:not([hidden]){display:block}
.rl-sticky .wrap{display:flex;align-items:center;justify-content:space-between;gap:10px;overflow:hidden}
.rl-sticky-info{display:flex;flex-direction:column;justify-content:center;min-width:0;flex:1 1 auto;overflow:visible}
.rl-sticky-info b{font-size:16px;font-weight:700;letter-spacing:-.02em;white-space:nowrap;overflow:visible;text-overflow:clip;max-width:none;line-height:1.2}
.rl-sticky-info span{font-size:12.5px;font-weight:650;color:var(--muted);white-space:nowrap;overflow:visible;line-height:1.25;margin-top:1px}
.rl-sticky .btn{flex:none;min-width:0;height:48px;font-size:16px;padding:0 16px;white-space:nowrap}
@media(max-width:379px){
  .rl-sticky .btn{font-size:15px;padding:0 12px;height:46px}
}


/* A6 — product box inside guides, TOC, figure */
.rl-guidebox{display:grid;grid-template-columns:96px 1fr;gap:16px;align-items:center;margin:32px 0;padding:18px 20px;
  background:var(--gold-soft);border:1.5px solid var(--gold);border-radius:var(--r2)}
.rl-guidebox b{display:block;font-size:18px;line-height:1.2;margin:2px 0 6px;color:var(--ink)}
.rl-guidebox p{margin:0 0 12px;font-size:15.5px;color:var(--ink2)}
.rl-guidebox .rl-guidebox-label{display:block;font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--gold-ink);margin:0}
@media (max-width:480px){.rl-guidebox{grid-template-columns:1fr}}
.rl-guide-toc{margin:22px 0 28px;padding:0;list-style:none}
.rl-guide-toc-label{font-size:13px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--gold-ink);margin:18px 0 8px}
.rl-guide-toc li{margin:0;padding:0}
.rl-guide-toc a{display:block;padding:8px 0;border-bottom:1px solid var(--line);font-weight:650;font-size:16px;line-height:1.35}
.rl-guide-fig{margin:0 0 28px;border-radius:var(--r2);overflow:hidden;background:var(--sand)}
.rl-guide-fig img{width:100%;height:auto;display:block}
.rl-fonti{margin:32px 0 8px}
.rl-fonti ul{margin:8px 0 0;padding:0 0 0 1.2em}
.rl-fonti li{margin:6px 0}
.rl-guide-by{font-size:14.5px;color:var(--muted);margin:8px 0 0}
.rl-guide-by a{text-decoration:underline;text-underline-offset:2px}

/* A9 — touch targets ≥44px (rating + footer links) */
a.rl-rating{display:inline-flex;align-items:center;padding:13px 4px;margin:-13px -4px;min-height:18px;box-sizing:content-box}
.ftr a,.ftr-bottom a,.ftr button[data-cookie-reset]{display:inline-block;padding:13px 4px;margin:-13px -4px;min-height:18px;box-sizing:content-box;line-height:1.2}
/* A9 — home length: demo padding 56 → 44 */
.rl-demo{padding-top:44px;padding-bottom:44px}

/* A9 — no horizontal scroll: tables and wide buttons */
@media (max-width:430px){
  .seo-art, .legal, .help-cards, .howto { max-width:100%; }
  .seo-art table, article table, .legal table { font-size:13px; }
  .seo-art th, .seo-art td, article th, article td { padding:8px 5px; word-break:break-word; }
  .tw { overflow-x:auto; max-width:100%; -webkit-overflow-scrolling:touch; }
}
.ftr button[data-cookie-reset], .ftr-cookie-reset{
  display:inline-block;padding:13px 4px;margin:-13px -4px;min-height:18px;box-sizing:content-box;line-height:1.2;
}

/* ===== t402u 13 nov 2026 — whole stand + hero animation, no crop =====
   Earlier A1 / cookie / 24svh rules forced a short rectangle with
   object-fit:cover, which cropped the product photos and the opening
   animation. The gallery is a 4:5 frame (same as the 720×900 clip and
   poster). Images and video use contain so the stand is never cut.
   The sticky buy bar covers the CTA if it drops below the fold. */
.rl-hero-visual,
.rl-hero-visual .rl-gal,
.rl-hero .rl-gal,
.rl-hero .rl-gal-viewport,
.rl-hero:has(.rl-hero-title.is-long) .rl-gal-viewport,
.rl-hero:has(.rl-hero-title.is-long) .rl-gal,
.rl-hero:has(.rl-hero-title.is-long) .rl-hero-visual .rl-gal,
.seo-hero .rl-gal-viewport,
.seo-hero figure.rl-gal-viewport,
.seo-hero .rl-gal,
body.has-cookie .rl-hero-visual,body:has(.cookie.on) .rl-hero-visual,
body.has-cookie .rl-hero-visual .rl-gal,body:has(.cookie.on) .rl-hero-visual .rl-gal,
body.has-cookie .rl-hero .rl-gal,body:has(.cookie.on) .rl-hero .rl-gal,
body.has-cookie .rl-hero .rl-gal-viewport,body:has(.cookie.on) .rl-hero .rl-gal-viewport,
body.has-cookie .rl-hero:has(.rl-hero-title.is-long) .rl-gal-viewport,body:has(.cookie.on) .rl-hero:has(.rl-hero-title.is-long) .rl-gal-viewport,
body.has-cookie .rl-hero:has(.rl-hero-title.is-long) .rl-gal,body:has(.cookie.on) .rl-hero:has(.rl-hero-title.is-long) .rl-gal,
body.has-cookie .seo-hero .rl-gal-viewport,body:has(.cookie.on) .seo-hero .rl-gal-viewport,
body.has-cookie .seo-hero figure.rl-gal-viewport,body:has(.cookie.on) .seo-hero figure.rl-gal-viewport{
  aspect-ratio:4/5 !important;
  height:auto !important;
  max-height:none !important;
  width:100% !important;
}
@media(min-width:1024px){
  .rl-hero-visual,
  .rl-hero-visual .rl-gal,
  .rl-hero .rl-gal,
  .rl-hero .rl-gal-viewport{
    width:100% !important;
    max-width:100%;
  }
}
.rl-hero .rl-gal-viewport img,
.rl-hero .rl-gal-viewport video,
.rl-hero .rl-gal-slide img,
.rl-hero .rl-gal-slide video,
.rl-hero .rl-gal-slide .rl-hero-img,
.rl-hero .rl-hero-poster-img,
.rl-hero .rl-hero-video,
.seo-hero .rl-gal-viewport img,
.seo-hero .rl-gal-viewport video,
.seo-hero .rl-hero-poster-img,
.seo-hero .rl-hero-video{
  width:100% !important;
  height:100% !important;
  max-width:100% !important;
  max-height:100% !important;
  object-fit:contain !important;
  object-position:center center !important;
}
.rl-hero .rl-tap,
.seo-hero .rl-tap{
  background-size:contain !important;
  background-position:center center !important;
}
/* Come funziona: the 4:5 clip fills its 4:5 frame exactly (cover = contain). */
.rl-demo-media .rl-hero-video,
.rl-demo-media .rl-hero-poster-img,
.rl-demo-media picture img{
  object-fit:cover !important;
  object-position:center center !important;
}

/* TVQA-20261113-171 — 360×780: lo sticky «Acquista» copriva l'opzione «3 stand».
   Si compattano solo spazi del copy e del selettore, a ≤360px.
   Gallery: aspect-ratio, dimensioni e object-fit restano quelli già definiti (t402u). */
@media (max-width:360px){
  .rl-hero{padding-top:8px;padding-bottom:16px}
  .rl-hero-grid{gap:8px}
  .rl-hero-title{margin-bottom:4px;font-size:clamp(28px,8.4vw,36px);line-height:1.06}
  .rl-hero-sub{margin-bottom:6px}
  .rl-bundle{margin:6px 0 6px}
  .rl-bundle label{padding:6px 2px;min-height:60px}
  .rl-bundle label small{white-space:nowrap}
}

/* 13 nov 2026 batch2 — M03+M10: footer clearance = sticky height when the bar is visible.
   M04: comparison table fits the 360 viewport without horizontal overflow. */
@media (max-width: 899px) {
  /* Always on (even if the bar is still hidden): avoids the scrollTo race
     where padding is added after landing at the old document end. */
  body:has(#rl-sticky) footer.ftr {
    padding-bottom: var(--rl-sticky-pad, 120px);
  }
}
@media (max-width: 399px) {
  .rl-table-wrap { max-width: 100%; overflow: visible; }
  .rl-table {
    table-layout: fixed;
    width: 100%;
    max-width: 100%;
    font-size: 12px;
  }
  .rl-table th,
  .rl-table td {
    padding: 8px 4px;
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
  }
}

/* 13 nov 2026 visual P1 — carousel gutter (scroll-snap was eating padding-inline)
   and flush dark CTA into dark footer (no paper strip from footer margin-top). */
@media (max-width: 899px) {
  .rl-reviews .rlist.rl-rev-carousel,
  .rl-life-carousel {
    scroll-padding-inline: var(--gut, 20px);
  }
}
/* Flush CTA to footer ONLY when the CTA is the last section in main
   (home, landings). On /per/* a cream "Tapvero anche per" block follows
   the CTA: keep footer margin and pad that block so the title is not stuck. */
body:has(main > section.rl-cta-sec:last-of-type) footer.ftr {
  margin-top: 0;
}
section.sec.rl-cta-sec {
  padding-bottom: 0;
}
section.sec.ind-other,
section.sec:has(.ind-other-t) {
  padding-top: 52px;
  padding-bottom: 52px;
  background: var(--paper);
}
@media (min-width: 900px) {
  section.sec.ind-other,
  section.sec:has(.ind-other-t) {
    padding-top: 72px;
    padding-bottom: 72px;
  }
}

/* 14 nov 2026 batch3 PX013 — no 40 px paper strip after the last cream
   block (/per/* .ind-other) or the 404. Legal pages keep main.css
   footer margin-top 40px, so /cookie height stays 2726 px.
   The CTA-last rule and .ind-other padding above are unchanged. */
body:has(main > section.sec.ind-other:last-of-type) footer.ftr,
body:has(main .err-404) footer.ftr {
  margin-top: 0;
}

/* ===== Giro fix 14/11 04:41 (PX014, PX016, PX017, PX010) =====
   Nota: questo file viene inlinato da $tv_inline_css, che toglie gli spazi
   attorno a : , > + ~. Quindi: niente spazio prima di ":" nei selettori,
   niente calc() con "+". Pagine legali non toccate (.tw esiste solo in seo_page.php). */

/* PX014: tabelle delle guide (3-4 colonne) a <=430px. Niente parole spezzate,
   la tabella scorre nel suo riquadro .tw (overflow-x:auto già presente). */
@media (max-width:430px){
  .tw>table:has(tr>:nth-child(3)) th,.tw>table:has(tr>:nth-child(3)) td{word-break:normal;overflow-wrap:normal;hyphens:manual}
  .tw>table:has(tr>:nth-child(3)) code{white-space:nowrap;word-break:normal;overflow-wrap:normal}
  .tw>table:has(tr>:nth-child(3)){min-width:440px}
  .tw>table:has(tr>:nth-child(4)){min-width:540px}
}

/* PX016: H1 lungo dei /per/* almeno 24px su mobile. Lo spazio in più
   si recupera da occhiello e sottotitolo: galleria e selettore invariati. */
@media (max-width:480px){
  .rl-hero-title.is-long{font-size:clamp(24px,6.4vw,26px);line-height:1.1;max-width:none}
  .rl-hero-title.is-long .rl-eyebrow{margin-bottom:5px}
  .rl-hero:has(.rl-hero-title.is-long) .rl-hero-sub{margin-bottom:0}
}

/* PX017: placeholder del codice su /attiva, 4,86:1 su bianco. */
.act-code::placeholder{color:#767166;opacity:1}

/* PX010: banner cookie mobile, testo intero su massimo 3 righe dentro i 56px. */
@media (max-width:639px){
  body .cookie p{white-space:normal;text-overflow:clip;line-height:1.15;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;max-height:3.45em}
}

/* Giro fix 14/11 07:40 */
/* CLS: crumbs nascosti sotto 900px gia nel CSS inline (prima arrivava solo con main.css async) */
@media (max-width:899px){.crumbs{display:none}}
/* M05: CTA finale tutta allineata a sinistra (main.css .cta-band centrava solo titolo e testo) */
.rl-cta-sec .cta-band.rl-cta{text-align:left}
.rl-cta-sec .cta-band.rl-cta p{margin-left:0;margin-right:0}
/* CLS: utility di margine gia nel CSS inline (stessi valori di main.css, che arriva async) */
.mt0{margin-top:0}.mt1{margin-top:10px}.mt2{margin-top:20px}.mt3{margin-top:32px}

/* Giro fix 14/11 10:44 */
/* P3 UX: breadcrumb compatto «Home / Guide» su mobile solo nelle guide profonde
   (il titolo e gia nell'H1 sotto, niente testo tagliato).
   Inline dal primo paint, specificita 0,2,1 sopra .pp .crumbs di main.css: niente CLS. */
@media (max-width:899px){
  .crumbs:has(>a[href="/guide"]){display:flex;height:44px;padding:0;margin:0 0 4px}
  .crumbs:has(>a[href="/guide"])>a{flex:none;padding:0 4px;min-width:44px;justify-content:center}
  .crumbs:has(>a[href="/guide"])>span[aria-hidden]{flex:none}
  .crumbs:has(>a[href="/guide"])>span[aria-current],.crumbs>a[href="/guide"]~span[aria-hidden]{display:none}
}
/* PX022: /per a 3 colonne, la decima card al centro dell'ultima riga. */
@media(min-width:1024px){.sec-grid>.sec-card:last-child:nth-child(3n+1){grid-column:2}}
/* Final band on pages that load relaunch.css after main.css (guides, chi-siamo): restore padding */
.rl-cta-sec .cta-band.rl-cta{padding:40px 24px}
@media(min-width:900px){.rl-cta-sec .cta-band.rl-cta{padding:80px 40px}}
/* A10: compact buy link in the header on pages without a visible buy form */
.hdr-buy{min-height:36px;padding:0 12px;font-size:13px;font-weight:750;white-space:nowrap;align-self:center;margin-right:4px}
@media(max-width:359px){.hdr-buy{padding:0 8px;font-size:12px}}
.is-ad .hdr .hdr-buy{display:none !important}
/* A11: trust row must not touch the buy button */
#buyform + .rl-trust{margin-top:16px}
/* A11: keyword landings on phones show the product right under the H1, then picker, button, trust */
@media(max-width:899px){
  .seo-hero:not(.rl-hero){display:flex;flex-direction:column}
  .seo-hero:not(.rl-hero) > div{display:contents}
  .seo-hero > figure.rl-gal-viewport{order:1;margin:4px 0 14px}
}
/* A13: sticky bar count + offer hint; bundle cards of equal height with unit price */
.rl-sticky-info{flex:1 1 auto;min-width:0}
.rl-sticky-info b{max-width:100%;overflow:hidden;text-overflow:ellipsis}
.rl-sticky-info span{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis}
.rl-sticky-info span a{color:var(--ink);text-decoration:underline;text-underline-offset:2px;padding:6px 0}
@media(max-width:360px){.rl-sticky .btn{min-width:0;padding:0 14px;font-size:15px}.rl-sticky-info b{font-size:15px}}
.rl-bundle{align-items:stretch}
.rl-bundle-opt{display:flex}
.rl-bundle-opt label{width:100%;height:100%}
.rl-bundle label small.rl-unit{color:var(--muted);font-weight:650;font-size:11px}
/* CRO-1 (15 nov 2026): price in the first screen, delivery date under the buy buttons, trust tiles on phones */
.rl-hero-price{margin:2px 0 12px;font-size:15px;line-height:1.5;color:var(--ink2)}
.rl-hero-price b{display:inline-block;margin-right:6px;font-size:20px;font-weight:800;line-height:1.25;color:var(--ink);background:#FFE9A8;border-radius:999px;padding:1px 10px;letter-spacing:-.01em;vertical-align:-1px}
.rl-eta{display:flex;align-items:flex-start;gap:8px;margin:10px 0 0;font-size:14px;line-height:1.35;font-weight:600;color:var(--ink)}
.rl-eta[hidden]{display:none}
.rl-eta svg{flex:none;margin-top:1px;color:var(--ok)}
.rl-cta .rl-eta{color:#fff}
.rl-cta .rl-eta svg{color:var(--gold)}
@media (max-width:899px){
  .rl-hero-foot .rl-trust,.seo-hero .rl-trust{display:grid;grid-template-columns:1fr 1fr;gap:8px;width:100%}
  .rl-hero-foot .rl-trust li,.seo-hero .rl-trust li{display:flex;align-items:flex-start;gap:8px;background:#fff;border:1px solid rgba(20,22,27,.08);border-radius:12px;padding:9px 10px;font-size:13px;font-weight:650;line-height:1.3;color:var(--ink)}
  .rl-hero-foot .rl-trust li svg,.seo-hero .rl-trust li svg{margin-top:1px}
  .rl-hero-foot .rl-trust li:last-child:nth-child(odd),.seo-hero .rl-trust li:last-child:nth-child(odd){grid-column:1/-1}
  .seo-hero .rl-hero-price{order:1}
}
/* A21: header below a top cookie banner; sticky bar above a bottom cookie banner */
.has-cookie .hdr{top:var(--cookie-h,0px)}
@media(min-width:900px){body.has-cookie .rl-sticky{bottom:var(--cookie-bh,20px)!important}}
/* A22: "Preferenze cookie" gets its own 44px row and stays on top of the next link's padding */
.ftr li:has(> button[data-cookie-reset]){display:block;min-height:44px}
.ftr button[data-cookie-reset]{position:relative;z-index:1;display:inline-flex;align-items:center;min-height:44px;padding:0 4px;margin:0 -4px}
/* A27: spinner in the tapped buy button */
.rl-spin{display:inline-block;width:14px;height:14px;margin-right:8px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;vertical-align:-2px;animation:rlspin .7s linear infinite}
@keyframes rlspin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.rl-spin{animation:none}}
/* A32: terms line under the hero and final buttons */
.rl-terms{margin:8px 0 0;font-size:12.5px;line-height:1.4;color:var(--muted)}
.rl-terms a{color:inherit;text-decoration:underline;text-underline-offset:2px}
.rl-cta .rl-terms{color:rgba(255,255,255,.75)}
/* A24: gallery captions not clipped; all five cards reachable with a mouse */
.rl-life-item .rl-lqip{height:auto}
.rl-life-item .rl-lqip img,.rl-life-item img{height:auto;aspect-ratio:4/3}
@media(min-width:1024px){
  .rl-life-carousel{display:grid !important;grid-template-columns:repeat(3,1fr);gap:16px;overflow:visible !important}
  .rl-life-carousel .rl-life-item{width:auto !important;min-width:0 !important;flex:none !important}
}
/* A23: comparison tables fit the phone width (no hidden column) */
@media(max-width:639px){.seo-art .tw>table,.seo-art table{min-width:0 !important;width:100% !important;table-layout:fixed}.seo-art .tw>table th,.seo-art .tw>table td{overflow-wrap:anywhere !important;word-break:normal !important;hyphens:auto}}
/* A10: room for the header buy link on small phones */
@media(max-width:400px){.hdr:has(.hdr-buy) .logo span{display:none}.hdr .hdr-buy{padding:0 10px}}
/* A29b: the "Con Tapvero" card keeps its natural height */
.rl-prob-grid{align-items:start}
/* A40a: links inside running text are recognisable */
.legal p a:not(.btn),.legal li a:not(.btn),.legal td a:not(.btn),.seo-art p a:not(.btn),.seo-art li a:not(.btn),.acc .ans a:not(.btn),.ind-seo p a:not(.btn){text-decoration:underline;text-underline-offset:2px}
/* A40b: 44px hit areas on small controls */
.legal-nav a{min-height:44px;display:inline-flex;align-items:center}
.seo-art nav a,.rl-toc a{min-height:44px;display:inline-flex;align-items:center}
/* A40c: cookie tables on phones: one small card per row */
@media(max-width:639px){
  .tbl-legal,.tbl-legal tbody,.tbl-legal tr,.tbl-legal td{display:block;width:100%}
  .tbl-legal thead{display:none}
  .tbl-legal tr{border:1px solid var(--line);border-radius:12px;padding:10px 12px;margin:0 0 10px;background:var(--card)}
  .tbl-legal td{border:0 !important;padding:4px 0 !important}
  .tbl-legal td:nth-child(1)::before{content:"Nome";display:block;font-size:12px;font-weight:700;color:var(--muted)}
  .tbl-legal td:nth-child(2)::before{content:"A cosa serve";display:block;font-size:12px;font-weight:700;color:var(--muted)}
  .tbl-legal td:nth-child(3)::before{content:"Durata";display:block;font-size:12px;font-weight:700;color:var(--muted)}
}
/* A41b: desktop picks the same poster file as the preload (720w), so it is not downloaded twice */
@supports (background-image:image-set(url("/assets/video/tap-hero-poster.avif") type("image/avif"))){
  @media (min-width:640px){.rl-tap{background-image:image-set(url("/assets/video/tap-hero-poster.avif") type("image/avif") 1x,url("/assets/video/tap-hero-poster.webp") type("image/webp") 1x)}}
}
