/* ============================================================
   Relay quick view pop-up + styled product descriptions
   ============================================================ */

/* ---------- pop-up on the main page ---------- */
.tm-qv-lock,.tm-qv-lock body{overflow:hidden!important}
.tm-qv-hover .tm-cursor{opacity:0!important;transition:opacity .15s!important}
/* over the pop-up: hand control back to the normal mouse so it never vanishes */
html.tm-qv-hover,html.tm-qv-hover *,html.tm-qv-hover.tm-cursor-on,html.tm-qv-hover.tm-cursor-on *{cursor:auto!important}
html.tm-qv-hover.tm-qv-hover .tm-qv-modal :is(a,button,[role=button],[data-qv-close]){cursor:pointer!important}
html.tm-qv-hover.tm-qv-hover .tm-qv-modal [data-qv-grab]{cursor:grab!important}
/* inside the pop-up page itself: never hide the mouse */
html.tm-qv.tm-qv,html.tm-qv.tm-qv *{cursor:revert!important}
html.tm-qv.tm-qv :is(a,button,[role=button],select,summary,label){cursor:pointer!important}
html.tm-qv .tm-cursor,html.tm-qv .tm-cursor-pulse{display:none!important}
/* while loading, the still-invisible page doesn't grab the mouse */
.tm-qv-modal__frame{pointer-events:none}
.tm-qv-modal__panel.is-ready .tm-qv-modal__frame{pointer-events:auto}
.tm-qv-modal{position:fixed;inset:0;z-index:9990;display:grid;place-items:center;padding:clamp(.75rem,3vw,2rem);--qv-ease:cubic-bezier(.2,.9,.25,1.04)}
.tm-qv-modal[hidden]{display:none}
.tm-qv-modal__bg{position:absolute;inset:0;background:radial-gradient(80% 60% at 50% 40%,rgba(20,20,20,.55),rgba(0,0,0,.82));-webkit-backdrop-filter:blur(12px) saturate(115%);backdrop-filter:blur(12px) saturate(115%);opacity:0;transition:opacity .35s ease}
.tm-qv-modal.is-open .tm-qv-modal__bg{opacity:1}
.tm-qv-modal__panel{position:relative;isolation:isolate;width:min(1140px,100%);height:min(880px,calc(100dvh - 2*clamp(.75rem,3vw,2rem)));background:#070707;border:1px solid rgba(255,255,255,.13);border-radius:30px;overflow:hidden;box-shadow:0 50px 140px -30px #000,inset 0 1px 0 rgba(255,255,255,.08),0 0 90px -40px rgba(255,255,255,.35);opacity:0;transform:translateY(28px) scale(.965);transition:opacity .3s ease,transform .55s var(--qv-ease)}
.tm-qv-modal__panel::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(70% 45% at 85% -5%,rgba(255,255,255,.09),transparent 70%),radial-gradient(50% 40% at 0% 100%,rgba(255,255,255,.04),transparent 70%)}
.tm-qv-modal.is-open .tm-qv-modal__panel{opacity:1;transform:none}

.tm-qv-modal__bar{position:absolute;top:.85rem;right:.85rem;z-index:5;display:flex;gap:.5rem}
.tm-qv-modal__btn{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;color:#fff;background:rgba(18,18,18,.78);border:1px solid rgba(255,255,255,.16);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);font-size:.95rem;cursor:pointer;transition:background .25s,color .25s,transform .35s var(--qv-ease),box-shadow .25s}
.tm-qv-modal__btn:hover{background:#fff;color:#000;box-shadow:0 0 22px -2px rgba(255,255,255,.55)}
.tm-qv-modal__x:hover{transform:rotate(90deg)}
.tm-qv-modal__btn:focus-visible{outline:2px solid #fff;outline-offset:3px}
.tm-qv-modal__grab{display:none}

.tm-qv-modal__stage{position:absolute;inset:0;z-index:2}
.tm-qv-modal__frame{display:block;width:100%;height:100%;border:0;background:transparent;opacity:0;transition:opacity .4s ease .05s}
.tm-qv-modal__panel.is-ready .tm-qv-modal__frame{opacity:1}

/* loading skeleton (shows the card's picture, name and price straight away) */
.tm-qv-modal__skel{position:absolute;inset:0;z-index:1;display:grid;grid-template-columns:minmax(0,45%) minmax(0,1fr);gap:2.25rem;padding:2rem 2rem;transition:opacity .35s ease}
.tm-qv-modal__panel.is-ready .tm-qv-modal__skel{opacity:0;pointer-events:none}
.tm-qv-sk__media{align-self:start;aspect-ratio:var(--product-page-image-aspect-ratio,16/9);border-radius:24px;background:radial-gradient(120% 70% at 80% 0%,rgba(255,255,255,.08),transparent 70%),#0c0c0c;border:1px solid rgba(255,255,255,.09);display:grid;place-items:center;overflow:hidden}
.tm-qv-sk__media img{width:100%;height:100%;object-fit:contain;animation:tmqv-breathe 1.6s ease-in-out infinite}
.tm-qv-sk__media img.is-mark{width:28%;height:auto;opacity:.5}
.tm-qv-sk__info{display:flex;flex-direction:column;gap:.75rem;padding-top:.75rem}
.tm-qv-sk__sub{font-size:.7rem;font-weight:700;letter-spacing:.18em;text-transform:uppercase;color:rgba(255,255,255,.45)}
.tm-qv-sk__name{font-family:var(--tm-display);font-size:clamp(1.8rem,3.2vw,2.6rem);font-weight:900;letter-spacing:-.04em;line-height:1;color:#fff;text-transform:capitalize}
.tm-qv-sk__price{font-size:1.35rem;font-weight:800;color:#fff;margin-bottom:.75rem;min-height:1.5em}
.tm-qv-sk{display:block;height:11px;border-radius:99px;background:linear-gradient(90deg,#121212 0%,#232323 45%,#121212 90%);background-size:220% 100%;animation:tmqv-shine 1.25s linear infinite}
.tm-qv-sk__btn{display:block;height:52px;width:100%;max-width:360px;margin-top:1rem;border-radius:16px;background:linear-gradient(90deg,#1a1a1a 0%,#2c2c2c 45%,#1a1a1a 90%);background-size:220% 100%;animation:tmqv-shine 1.25s linear infinite}
@keyframes tmqv-shine{from{background-position:120% 0}to{background-position:-100% 0}}
@keyframes tmqv-breathe{50%{opacity:.6;transform:scale(.985)}}

/* built-in view if the product page can't load in the pop-up */
.tm-qv-fb{height:100%;overflow:auto;overscroll-behavior:contain;display:grid;grid-template-columns:minmax(0,45%) minmax(0,1fr);gap:2.25rem;padding:2rem}
.tm-qv-fb__media{position:sticky;top:0;align-self:start;aspect-ratio:var(--product-page-image-aspect-ratio,16/9);border-radius:24px;background:#0c0c0c;border:1px solid rgba(255,255,255,.09);overflow:hidden;display:grid;place-items:center}
.tm-qv-fb__media img{width:100%;height:100%;object-fit:contain}
.tm-qv-fb__media img.is-mark{width:28%;height:auto;opacity:.5}
.tm-qv-fb__title{font-family:var(--tm-display);font-size:clamp(1.8rem,3.2vw,2.6rem);font-weight:900;letter-spacing:-.04em;line-height:1;color:#fff;padding-right:6rem}
.tm-qv-fb__price{font-size:1.35rem;font-weight:800;color:#fff;margin:.8rem 0 1.1rem}
.tm-qv-fb__buy{display:inline-flex;align-items:center;justify-content:center;gap:.6rem;width:100%;max-width:360px;height:52px;border-radius:16px;background:#fff;color:#000;font-weight:800;transition:transform .3s var(--qv-ease),box-shadow .3s}
.tm-qv-fb__buy:hover{transform:translateY(-2px);box-shadow:0 14px 34px -12px rgba(255,255,255,.55)}
.tm-qv-fb__req{margin-top:1.4rem}
.tm-qv-fb__desc{margin-top:1.4rem;padding-top:1.2rem;border-top:1px solid rgba(255,255,255,.08)}

@media (max-width:760px){
  .tm-qv-modal{place-items:end stretch;padding:0}
  .tm-qv-modal__panel{width:100%;height:calc(100dvh - 2.25rem);border-radius:26px 26px 0 0;border-bottom:0;transform:translateY(100%);opacity:1;transition:transform .5s var(--qv-ease)}
  .tm-qv-modal__grab{display:block;position:absolute;top:0;left:0;right:0;height:30px;z-index:4;touch-action:none}
  .tm-qv-modal__grab span{position:absolute;top:9px;left:50%;width:44px;height:5px;margin-left:-22px;border-radius:9px;background:rgba(255,255,255,.3)}
  .tm-qv-modal__stage{top:30px}
  .tm-qv-modal__bar{top:.55rem;right:.6rem}
  .tm-qv-modal__btn{width:38px;height:38px}
  .tm-qv-modal__skel,.tm-qv-fb{grid-template-columns:1fr;gap:1.25rem;padding:2.6rem 1rem 1.25rem}
  .tm-qv-modal__skel{align-content:start}
  .tm-qv-fb__media{position:relative}
}
@media (prefers-reduced-motion:reduce){
  .tm-qv-modal__bg,.tm-qv-modal__panel,.tm-qv-modal__frame,.tm-qv-modal__skel{transition:none!important}
  .tm-qv-sk,.tm-qv-sk__btn,.tm-qv-sk__media img{animation:none!important}
}

/* ---------- the product page while it's shown inside the pop-up ---------- */
html.tm-qv,html.tm-qv body{background:#070707!important;background-color:#070707!important}
html.tm-qv.tm-gift-open{overflow:auto!important}
.tm-qv :is(.fm-header,.fm-announcement,.announcement,.rx-foot,.fm-link-arrow,.tm-gift,.tm-wheel,.sa-cc,.tm-sfx-btn,.tm-totop-fab,.tm-bg,#snow,.fm-toast-wrap){display:none!important}
.tm-qv #app{max-width:none!important;padding:1.9rem 2rem 2.5rem!important;min-height:0!important}
.tm-qv .fm-section{padding-top:0!important;padding-bottom:0!important}
.tm-qv .fm-container{max-width:none!important;padding-left:0!important;padding-right:0!important}
.tm-qv .fm-pdp{grid-template-columns:minmax(0,45%) minmax(0,1fr)!important;gap:2.25rem!important}
.tm-qv .fm-pdp__side{top:0!important}
.tm-qv .fm-pdp__info{padding-right:5.5rem}
.tm-qv .fm-pdp__title{font-size:clamp(1.8rem,3.2vw,2.6rem)!important}
@media (max-width:760px){
  .tm-qv #app{padding:.75rem 1rem 6rem!important}
  .tm-qv .fm-pdp{grid-template-columns:1fr!important;gap:1.5rem!important}
  .tm-qv .fm-pdp__info{padding-right:0}
}

/* ============================================================
   Styled descriptions + custom emojis
   ============================================================ */
.rq-desc{color:rgba(255,255,255,.66);font-size:.92rem;line-height:1.75}
.rq-desc>*+*{margin-top:.85rem!important}
.rq-desc>*:first-child{margin-top:0!important}
.rq-desc strong,.rq-desc b{color:#fff;font-weight:700}
.rq-desc a{color:#fff;text-decoration:underline;text-decoration-color:rgba(255,255,255,.35);text-underline-offset:3px;transition:text-decoration-color .2s}
.rq-desc a:hover{text-decoration-color:#fff}
.rq-desc hr{border:0;height:1px;background:linear-gradient(90deg,transparent,rgba(255,255,255,.22),transparent);margin:1.5rem 0!important}
.rq-desc img{border-radius:16px}

/* the emoji badge */
.rq-emo{display:inline-grid;place-items:center;flex:none;width:1.65em;height:1.65em;margin:0 .18em;vertical-align:-.45em;border-radius:.55em;color:#fff;font-size:.86em;line-height:1;background:linear-gradient(180deg,rgba(255,255,255,.15),rgba(255,255,255,.035));border:1px solid rgba(255,255,255,.17);box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 0 16px -5px rgba(255,255,255,.45)}
.rq-emo i{font-size:.8em;filter:drop-shadow(0 0 4px rgba(255,255,255,.6))}
.rq-emo img{width:70%;height:70%;object-fit:contain;filter:drop-shadow(0 0 4px rgba(255,255,255,.5))}
.rq-emo.is-ok{background:#fff;border-color:#fff;color:#000;box-shadow:0 0 16px -3px rgba(255,255,255,.6)}
.rq-emo.is-ok i{filter:none}
.rq-emo.is-bad{color:#ff8a8a;background:rgba(255,70,70,.1);border-color:rgba(255,100,100,.35);box-shadow:0 0 16px -6px rgba(255,80,80,.6)}
.rq-emo.is-bad i{filter:drop-shadow(0 0 4px rgba(255,90,90,.6))}
.rq-emo.is-warn{color:#ffd88a;background:rgba(255,190,60,.1);border-color:rgba(255,200,90,.35);box-shadow:0 0 16px -6px rgba(255,190,60,.6)}
.rq-emo.is-warn i{filter:drop-shadow(0 0 4px rgba(255,190,60,.6))}

/* headings */
.rq-desc .rq-h{display:flex!important;align-items:center;gap:.7rem;margin-top:1.7rem!important;color:#fff;font-family:inherit;font-weight:800;font-size:1.02rem!important;line-height:1.3!important;letter-spacing:-.01em}
.rq-desc>.rq-h:first-child{margin-top:0!important}
.rq-desc .rq-h::after{content:"";flex:1;min-width:1.5rem;height:1px;background:linear-gradient(90deg,rgba(255,255,255,.2),transparent)}
.rq-desc .rq-h>.rq-emo:first-child{margin:0;font-size:.98rem;vertical-align:0}

/* bullet lists → cards */
.rq-desc ul.rq-ul{list-style:none!important;padding:0!important;margin-left:0!important;display:grid;gap:.5rem}
.rq-desc ul.rq-ul.rq-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.rq-desc .rq-li{list-style:none!important;margin:0!important;padding:.62rem .85rem!important;display:flex!important;align-items:flex-start;gap:.75rem;border-radius:14px;background:rgba(255,255,255,.028);border:1px solid rgba(255,255,255,.075);color:rgba(255,255,255,.86);line-height:1.5;transition:border-color .25s,background .25s,transform .35s cubic-bezier(.2,.9,.25,1.1)}
.rq-desc .rq-li::marker{content:none}
.rq-desc .rq-li::before{display:none!important}
.rq-desc .rq-li:hover{border-color:rgba(255,255,255,.22);background:rgba(255,255,255,.055);transform:translateX(3px)}
.rq-desc .rq-li>.rq-emo{margin:0;font-size:.86rem;vertical-align:0}
.rq-li__t{min-width:0;flex:1;padding-top:.1em}
.rq-li__t .rq-ul{margin-top:.5rem!important}

/* numbered lists → steps */
.rq-desc ol.rq-ol{list-style:none!important;counter-reset:rq;padding:0!important;margin-left:0!important;display:grid;gap:.55rem}
.rq-desc ol.rq-ol>li{counter-increment:rq;list-style:none!important;margin:0!important;display:flex;align-items:flex-start;gap:.8rem;padding:.62rem .85rem;border-radius:14px;background:rgba(255,255,255,.028);border:1px solid rgba(255,255,255,.075);color:rgba(255,255,255,.86);line-height:1.5}
.rq-desc ol.rq-ol>li::marker{content:none}
.rq-desc ol.rq-ol>li::before{content:counter(rq);flex:none;display:grid;place-items:center;width:1.7rem;height:1.7rem;border-radius:50%;background:#fff;color:#000;font-weight:800;font-size:.78rem;box-shadow:0 0 16px -3px rgba(255,255,255,.55)}

/* callouts (lines starting with ⚠️ / Note / Important / Tip …) */
.rq-desc .rq-call{display:flex;align-items:flex-start;gap:.75rem;padding:.85rem 1rem;border-radius:16px;border:1px solid rgba(255,255,255,.1);background:rgba(255,255,255,.035);color:rgba(255,255,255,.85)}
.rq-desc .rq-call--warn{border-color:rgba(255,200,90,.25);background:linear-gradient(135deg,rgba(255,190,60,.08),rgba(255,190,60,.02))}
.rq-desc .rq-call>.rq-emo{margin:0;vertical-align:0}
.rq-call__t{flex:1;min-width:0;padding-top:.1em}

/* collapsible blocks from the SellAuth editor */
.rq-desc .e-collapsible{border-radius:16px!important;border:1px solid rgba(255,255,255,.09)!important;background:rgba(255,255,255,.025)!important;overflow:hidden}

/* "About …" title */
.fm-pdp__about:has(.rq-desc) .fm-pdp__about-title{display:flex;align-items:center;gap:.6rem;color:#fff;font-size:.78rem;font-weight:800;letter-spacing:.16em;text-transform:uppercase}
.fm-pdp__about-title>.rq-emo{margin:0;font-size:.9rem;letter-spacing:0}
.fm-pdp__about:has(.rq-desc) .fm-pdp__about-body{margin-top:1rem}

/* entrance */
.rq-anim :is(.rq-h,.rq-li,.rq-ol>li,.rq-call){animation:rq-in .55s cubic-bezier(.2,.8,.2,1) both;animation-delay:calc(min(var(--i,0),14) * 45ms)}
@keyframes rq-in{from{opacity:0;transform:translateY(10px)}}

@media (max-width:560px){
  .rq-desc ul.rq-ul.rq-grid{grid-template-columns:1fr}
  .rq-desc{font-size:.9rem}
}
@media (prefers-reduced-motion:reduce){.rq-anim :is(.rq-h,.rq-li,.rq-ol>li,.rq-call){animation:none}}

/* ---- v2: line-by-line descriptions, Markdown, numbered section titles ---- */
.rq-desc,.rq-desc :is(p,li,h1,h2,h3,h4,h5,h6,span,strong,em){font-family:inherit}
.rq-desc>p.rq-line+p.rq-line{margin-top:.3rem!important}
.rq-desc .rq-h--big{font-size:1.2rem!important}
.rq-desc .rq-num{display:inline-grid;place-items:center;flex:none;min-width:2.1em;height:1.55em;padding:0 .45em;border-radius:99px;background:#fff;color:#000;font-size:.72rem;font-weight:900;letter-spacing:.02em;box-shadow:0 0 18px -4px rgba(255,255,255,.6)}
.rq-desc .rq-h__sub{color:rgba(255,255,255,.45);font-weight:600}
.rq-desc .rq-h__sub::before{content:"·";margin:0 .5em 0 .1em;color:rgba(255,255,255,.3)}
.rq-desc .rq-code{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.85em;padding:.1em .4em;border-radius:6px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.1);color:#fff}
.rq-emo--raw>span{font-size:.95em;line-height:1;filter:grayscale(1) brightness(1.35) contrast(1.1) drop-shadow(0 0 3px rgba(255,255,255,.4))}
.rq-desc del{opacity:.55}
.rq-desc .rq-h__t{min-width:0}
.rq-desc .rq-h>.rq-num{margin-left:-.15rem}
