.rmqs{border:0!important;padding:0!important;margin:auto!important;width:min(900px,calc(100vw - 48px));max-width:none;max-height:90dvh;background:#fff;color:#181818;border-radius:8px;overflow:auto;box-shadow:none;font-family:Inter,Arial,sans-serif;overscroll-behavior:contain}.rmqs::backdrop{background:rgba(0,0,0,.52)}.rmqs[open]{animation:rmqs-in .28s cubic-bezier(.2,.8,.2,1)}@keyframes rmqs-in{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:translateY(0)}}.rmqs *{box-sizing:border-box}.rmqs-panel{position:relative}.rmqs-close{position:absolute!important;z-index:3;top:12px;right:12px;width:40px;height:40px;padding:0!important;border:0!important;background:#fff!important;color:#181818!important;border-radius:50%!important;font:300 30px/1 Inter,Arial,sans-serif!important;cursor:pointer;transition:transform .25s}.rmqs-close:hover{transform:rotate(90deg)}.rmqs-body{display:grid;grid-template-columns:1fr 1fr;align-items:stretch}.rmqs-image{background:#f8f8f8;display:flex;align-items:center;justify-content:center;min-height:320px}.rmqs-image img{width:100%;height:auto;max-height:65dvh;object-fit:contain;display:block}.rmqs-info{padding:56px 32px 32px;display:flex;flex-direction:column;gap:14px;text-align:center}.rmqs-info h2{font:300 34px/1.15 Spectral,Georgia,serif!important;letter-spacing:-.02em;color:#181818!important;margin:0!important;text-transform:none!important}.rmqs-desc{font:300 14px/1.65 Inter,Arial,sans-serif!important;color:#444;margin:0!important}.rmqs-field{padding:0!important;margin:0!important;border:0!important;min-width:0}.rmqs-field legend{font:400 11px/1.5 Inter,Arial,sans-serif;color:#666;margin:0 auto 7px}.rmqs-options,.rmqs-features{display:flex;flex-wrap:wrap;justify-content:center;gap:7px}.rmqs-option,.rmqs-feature{border:1px solid #d5d5d5!important;border-radius:4px!important;background:#fff!important;color:#181818!important;padding:10px 14px!important;font:400 13px/1.4 Inter,Arial,sans-serif!important;text-transform:none!important;min-height:44px}.rmqs-option[aria-pressed=true]{border-color:#181818!important;background:#f8f8f8!important}.rmqs-option:disabled{opacity:.35}.rmqs-feature{display:flex;flex-direction:column;justify-content:center;gap:3px;flex:0 1 auto}.rmqs-feature small{font-size:10px;color:#666}.rmqs-buy{display:flex!important;justify-content:space-between;align-items:center;gap:10px;min-height:50px;padding:14px 16px!important;background:#111!important;color:white!important;border:1px solid #111!important;border-radius:6px!important;font:400 13px/1.4 Inter,Arial,sans-serif!important;text-transform:none!important;margin-top:auto;cursor:pointer}.rmqs-buy[hidden]{display:none!important}.rmqs-buy:disabled{opacity:.5;cursor:default}.rmqs-price,.rmqs-price *{color:#fff!important;white-space:normal}.rmqs-details{color:#444!important;font-size:12px;text-align:center;text-decoration:underline!important}.rmqs-status{font-size:12px;color:#444;margin:0!important}.rmqs-status:empty{display:none}.rmqs-loading{padding:45px 24px;grid-column:1/-1;text-align:center}.rmqs-intensity{display:flex;align-items:center;justify-content:center;gap:8px;font-size:11px;color:#666}.rmqs-intensity .rm-pg-intensity-bars{display:flex;gap:5px}.rmqs-intensity .rm-pg-intensity-bars span{display:block;width:6px;height:6px;border-radius:50%;background:#d4d4d4}.rmqs-intensity .rm-pg-intensity-bars .is-active{background:#222}.rmqs button:focus-visible,.rmqs a:focus-visible{outline:2px solid #777;outline-offset:3px}@media(max-width:767px){.rmqs{width:calc(100vw - 24px);max-height:92dvh}.rmqs-body{grid-template-columns:1fr}.rmqs-image{min-height:0;height:min(37dvh,310px)}.rmqs-image img{height:100%;max-height:none;width:100%;object-fit:contain}.rmqs-info{padding:22px 18px 24px;gap:11px}.rmqs-info h2{font-size:28px!important}.rmqs-close{top:8px;right:8px}.rmqs-desc{font-size:13px!important}}@media(prefers-reduced-motion:reduce){.rmqs[open]{animation:none}.rmqs-close{transition:none}}

/* V2 — editorial layout, isolated from Rey and global button rules. */
body dialog.rmqs{width:min(980px,calc(100vw - 40px))!important;max-height:calc(100dvh - 32px)!important;border-radius:6px!important;padding:0!important;outline:none!important;box-shadow:none!important;background:#fff!important;overflow:auto!important;color:#181818!important}
body dialog.rmqs::backdrop{background:rgba(0,0,0,.32)}
body dialog.rmqs .rmqs-panel{padding:48px 20px 20px!important;background:#fff!important}
body dialog.rmqs button.rmqs-close{position:absolute!important;inset:7px 12px auto auto!important;display:grid!important;place-items:center!important;width:38px!important;height:38px!important;min-width:0!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;outline:none!important;color:#333!important;line-height:1!important;transform:none;}
body dialog.rmqs button.rmqs-close::before,body dialog.rmqs button.rmqs-close::after{content:none!important;display:none!important}
body dialog.rmqs button.rmqs-close svg{display:block!important;width:18px!important;height:18px!important;margin:0!important;padding:0!important;fill:none!important;transform:none!important;pointer-events:none}
body dialog.rmqs button.rmqs-close:focus-visible{outline:1px solid #777!important;outline-offset:2px!important}
@media(hover:hover){body dialog.rmqs button.rmqs-close:hover{transform:rotate(90deg)!important}}
body dialog.rmqs .rmqs-body{gap:28px;align-items:center}
body dialog.rmqs .rmqs-image{width:100%;aspect-ratio:2048/2240;height:auto!important;min-height:0!important;max-height:62dvh;background:#f8f8f8!important;overflow:hidden}
body dialog.rmqs .rmqs-image img{width:100%!important;height:100%!important;max-height:62dvh!important;object-fit:contain!important;margin:0!important;padding:0!important}
body dialog.rmqs .rmqs-info{padding:16px 8px!important;gap:16px!important;min-width:0}
body dialog.rmqs .rmqs-info h2{font:300 36px/1.16 Spectral,Georgia,serif!important;letter-spacing:-.02em!important;margin:0!important}
body dialog.rmqs .rmqs-desc{font:400 14px/1.55 Inter,Arial,sans-serif!important;color:#333!important;margin:0!important}
body dialog.rmqs .rmqs-feature,body dialog.rmqs button.rmqs-option{min-height:44px!important;padding:10px 14px!important;border-radius:5px!important;font:500 14px/1.3 Inter,Arial,sans-serif!important;box-shadow:none!important;outline-offset:2px!important}
body dialog.rmqs .rmqs-feature{border:1px solid #181818!important}
body dialog.rmqs .rmqs-features{margin:4px 0!important}
body dialog.rmqs button.rmqs-buy{display:flex!important;justify-content:space-between!important;align-items:center!important;width:100%!important;min-height:48px!important;padding:12px 18px!important;margin:0!important;border:1px solid #111!important;border-radius:5px!important;background:#111!important;color:#fff!important;box-shadow:none!important;text-align:left!important;font:500 14px/1.35 Inter,Arial,sans-serif!important;gap:10px!important}
body dialog.rmqs button.rmqs-buy[hidden]{display:none!important}
body dialog.rmqs .rmqs-buy>span:first-child{flex:1 1 auto!important;text-align:left!important;margin:0!important;color:#fff!important}
body dialog.rmqs .rmqs-buy>.rmqs-price{flex:0 1 auto!important;text-align:right!important;margin:0!important;color:#fff!important}
body dialog.rmqs .rmqs-buy::before,body dialog.rmqs .rmqs-buy::after{content:none!important;display:none!important}
body dialog.rmqs .rmqs-details{font:300 11px/1.4 Inter,Arial,sans-serif!important;color:#666!important;margin:0!important;text-underline-offset:3px}
@media(max-width:767px){body dialog.rmqs{width:calc(100vw - 30px)!important;max-height:calc(100dvh - 30px)!important}body dialog.rmqs .rmqs-panel{padding:40px 15px 15px!important}body dialog.rmqs .rmqs-body{gap:0!important;grid-template-columns:1fr!important}body dialog.rmqs .rmqs-image{aspect-ratio:2048/2240;max-height:47dvh!important}body dialog.rmqs .rmqs-image img{max-height:47dvh!important}body dialog.rmqs .rmqs-info{padding:19px 0 0!important;gap:12px!important}body dialog.rmqs .rmqs-info h2{font-size:30px!important}body dialog.rmqs .rmqs-desc{font-size:13px!important}body dialog.rmqs button.rmqs-close{right:9px!important;top:2px!important}body dialog.rmqs .rmqs-features{margin:2px 0!important}}

/* V2.1: enter only after data is ready; keep close control inside the viewport. */
body dialog.rmqs[open]{animation:rmqs-rise .42s cubic-bezier(.22,1,.36,1) both!important;position:fixed!important;inset:0!important;margin:auto!important;height:fit-content!important;max-height:calc(100dvh - 40px)!important}
body dialog.rmqs[open]::backdrop{animation:rmqs-backdrop .32s ease both}
@keyframes rmqs-rise{from{opacity:0;transform:translateY(64px)}to{opacity:1;transform:translateY(0)}}
@keyframes rmqs-backdrop{from{opacity:0}to{opacity:1}}
body dialog.rmqs .rmqs-panel{position:relative!important;padding-top:48px!important}
body dialog.rmqs button.rmqs-close{top:5px!important;right:10px!important}
body dialog.rmqs .rmqs-field legend{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;overflow:hidden!important;clip-path:inset(50%);white-space:nowrap!important}
@media(max-width:767px){body dialog.rmqs[open]{max-height:calc(100dvh - 32px)!important}body dialog.rmqs .rmqs-image,body dialog.rmqs .rmqs-image img{max-height:40dvh!important}body dialog.rmqs .rmqs-panel{padding-top:46px!important}}
@media(prefers-reduced-motion:reduce){body dialog.rmqs[open],body dialog.rmqs[open]::backdrop{animation:none!important}}

/* V2.2 — white editorial stage, original proportions and responsive spacing. */
body dialog.rmqs .rmqs-image{background:transparent!important;aspect-ratio:auto!important;height:clamp(280px,49dvh,560px)!important;max-height:none!important;padding:12px 10px 18px!important;overflow:visible!important}
body dialog.rmqs .rmqs-image img{background:transparent!important;width:100%!important;height:100%!important;max-height:none!important;object-fit:contain!important;object-position:center!important;flex:0 1 auto!important;min-height:0!important;min-width:0!important;box-shadow:none!important;border:0!important}
body dialog.rmqs button.rmqs-close{width:44px!important;height:44px!important;top:3px!important;right:7px!important;border:0!important;outline:none!important;box-shadow:none!important;background:transparent!important;-webkit-tap-highlight-color:transparent!important}
body dialog.rmqs button.rmqs-close svg{width:18px!important;height:18px!important;stroke-width:1.15!important}
body dialog.rmqs button.rmqs-close:focus:not(:focus-visible){outline:none!important;box-shadow:none!important;border:0!important}
body dialog.rmqs.rmqs-keyboard button.rmqs-close:focus-visible{outline:1px solid #777!important;outline-offset:1px!important}
body dialog.rmqs .rmqs-price .rmqs-price-separator{display:inline!important;visibility:visible!important;opacity:1!important;font-size:inherit!important;color:#fff!important}
body dialog.rmqs .rmqs-price del{text-decoration:line-through!important;opacity:.7}
body dialog.rmqs .rmqs-price ins{text-decoration:none!important}
@media(max-width:767px){
 body dialog.rmqs .rmqs-panel{padding:42px 15px 20px!important}
 body dialog.rmqs .rmqs-image{height:clamp(190px,42dvh,420px)!important;max-height:none!important;padding:12px 8px 18px!important}
 body dialog.rmqs .rmqs-image img{max-height:none!important}
 body dialog.rmqs .rmqs-info{padding:14px 0 0!important;gap:14px!important}
 body dialog.rmqs .rmqs-info h2{font-size:29px!important;line-height:1.13!important}
 body dialog.rmqs .rmqs-desc{line-height:1.5!important}
 body dialog.rmqs button.rmqs-buy{margin-top:3px!important}
 body dialog.rmqs .rmqs-details{margin-top:2px!important}
}
@media(max-width:767px) and (max-height:700px){
 body dialog.rmqs .rmqs-image{height:clamp(140px,34dvh,260px)!important;padding:6px 6px 10px!important}
 body dialog.rmqs .rmqs-panel{padding:40px 15px 15px!important}
 body dialog.rmqs .rmqs-info{gap:10px!important;padding-top:10px!important}
 body dialog.rmqs .rmqs-info h2{font-size:26px!important}
}

/* V2.3 - deeper backdrop and touch-safe close control. */
body dialog.rmqs::backdrop{background:rgba(0,0,0,.53)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
html body dialog.rmqs button.rmqs-close:is(:focus,:focus-visible,:active,:hover),html body dialog.rmqs button.rmqs-close{border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;-webkit-tap-highlight-color:transparent!important}
html body dialog.rmqs.rmqs-keyboard button.rmqs-close:focus-visible{outline:1px solid #777!important;outline-offset:2px!important}
html body dialog.rmqs button.rmqs-close svg{width:18px!important;height:18px!important;border:0!important;outline:0!important;box-shadow:none!important}

/* V2.4 — seamless editorial stage and measured entrance. */
body dialog.rmqs[open]{animation:rmqs-editorial-enter 650ms cubic-bezier(.16,1,.3,1) both!important}
body dialog.rmqs[open]::backdrop{animation:rmqs-backdrop 440ms ease-out both}
@keyframes rmqs-editorial-enter{0%{opacity:0;transform:translateY(min(24dvh,180px))}30%{opacity:1}100%{opacity:1;transform:translateY(0)}}
@keyframes rmqs-editorial-info{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}
body dialog.rmqs[open] .rmqs-info{animation:rmqs-editorial-info 430ms cubic-bezier(.2,.8,.2,1) 100ms both}
body dialog.rmqs .rmqs-image{background:radial-gradient(ellipse at 50% 49%,#eaeaea 0%,#f3f3f3 33%,#fafafa 56%,#fff 74%)!important;height:clamp(280px,54dvh,610px)!important}
body dialog.rmqs .rmqs-feature,body dialog.rmqs .rmqs-feature span,body dialog.rmqs button.rmqs-option,body dialog.rmqs button.rmqs-buy,body dialog.rmqs button.rmqs-buy span{font-weight:500!important}
@media(max-width:767px){
 body dialog.rmqs[open]{height:auto!important;max-height:calc(100dvh - 24px)!important;width:calc(100vw - 30px)!important}
 body dialog.rmqs .rmqs-panel{min-height:calc(100dvh - 24px);display:flex;flex-direction:column;padding:42px 15px 19px!important}
 body dialog.rmqs .rmqs-body{flex:1 0 auto;display:flex!important;flex-direction:column;justify-content:center;align-items:stretch!important;gap:0!important}
 body dialog.rmqs .rmqs-image{flex:1 0 auto;height:clamp(200px,46dvh,460px)!important;padding:9px 5px 15px!important}
 body dialog.rmqs .rmqs-info{flex:0 0 auto;padding-top:16px!important;gap:14px!important}
}
@media(max-width:767px) and (max-height:700px){
 body dialog.rmqs .rmqs-panel{padding:40px 15px 15px!important}
 body dialog.rmqs .rmqs-image{height:clamp(145px,36dvh,270px)!important;padding:6px 6px 10px!important}
 body dialog.rmqs .rmqs-info{gap:10px!important;padding-top:10px!important}
}
@media(prefers-reduced-motion:reduce){body dialog.rmqs[open],body dialog.rmqs[open]::backdrop,body dialog.rmqs[open] .rmqs-info{animation:none!important}}

/* V2.5 — optical product sizing, confined to the existing editorial stage. */
body dialog.rmqs .rmqs-image{overflow:hidden!important;isolation:isolate}
body dialog.rmqs .rmqs-image img{transform:scale(var(--rmqs-optical-scale,1))!important;transform-origin:50% 50%!important}
/* Short viewports retain extra clearance for the purchase controls. */
@media(max-width:767px) and (max-height:700px){body dialog.rmqs .rmqs-image img{transform:scale(min(var(--rmqs-optical-scale,1),1.12))!important}}

/* V2.6 — defined editorial product stage; compact buying controls. */
body dialog.rmqs .rmqs-image{background:#f2f2f2!important; padding:12px!important;}
body dialog.rmqs .rmqs-image-link{display:flex!important;align-items:center;justify-content:center;width:100%;height:100%;min-height:0;min-width:0;text-decoration:none!important;overflow:hidden;}
body dialog.rmqs .rmqs-title-link{font:inherit!important;color:inherit!important;text-decoration:none!important;}
body dialog.rmqs .rmqs-feature,body dialog.rmqs button.rmqs-option{padding:9px 10px!important;min-height:44px!important;font-weight:600!important;}
body dialog.rmqs .rmqs-feature span{font-weight:600!important;}
body dialog.rmqs .rmqs-details[hidden]{display:none!important;}
body dialog.rmqs .rmqs-desc{color:#222!important;font-weight:400!important;}
@media(max-width:767px){
 body dialog.rmqs .rmqs-panel{min-height:0!important;padding:42px 15px 16px!important;}
 body dialog.rmqs .rmqs-body{justify-content:flex-start!important;}
 body dialog.rmqs .rmqs-image{flex:0 0 auto!important;height:clamp(175px,44dvh,440px)!important;padding:12px!important;}
 body dialog.rmqs .rmqs-info{gap:12px!important;padding-top:18px!important;}
 body dialog.rmqs button.rmqs-buy{margin-top:5px!important;}
}
@media(max-width:767px) and (max-height:700px){
 body dialog.rmqs .rmqs-image{height:clamp(140px,34dvh,270px)!important;}
 body dialog.rmqs .rmqs-info{gap:10px!important;padding-top:12px!important;}
}

/* V2.7 — balanced editorial layout, light quantity typography. */
body dialog.rmqs::backdrop{background:rgba(0,0,0,.46)!important;}
body dialog.rmqs .rmqs-feature,
body dialog.rmqs .rmqs-feature span,
body dialog.rmqs button.rmqs-option{
 font-weight:300!important;
}
body dialog.rmqs .rmqs-feature,
body dialog.rmqs button.rmqs-option{
 padding:10px 12px!important;
 min-height:44px!important;
}
body dialog.rmqs .rmqs-desc{
 max-width:42ch!important;
 margin:0 auto!important;
 padding:0 10px!important;
}
@media(max-width:767px){
 body dialog.rmqs[open]{height:calc(100dvh - 24px)!important;max-height:calc(100dvh - 24px)!important;overflow:auto!important;}
 body dialog.rmqs .rmqs-panel{
  min-height:100%!important;
  display:flex!important;
  flex-direction:column!important;
  padding:42px 15px 16px!important;
 }
 body dialog.rmqs .rmqs-body{
  display:flex!important;
  flex-direction:column!important;
  flex:1 0 auto!important;
  justify-content:flex-start!important;
  align-items:stretch!important;
  gap:0!important;
 }
 body dialog.rmqs .rmqs-image{
  flex:1 0 170px!important;
  height:0!important;
  min-height:170px!important;
  max-height:none!important;
  aspect-ratio:auto!important;
  padding:14px!important;
 }
 body dialog.rmqs .rmqs-image-link{position:relative!important;}
 body dialog.rmqs .rmqs-image img{position:absolute!important;inset:0!important;}
 body dialog.rmqs .rmqs-info{
  flex:0 0 auto!important;
  padding:20px 0 0!important;
  gap:16px!important;
 }
 body dialog.rmqs .rmqs-features{margin:2px 0!important;}
 body dialog.rmqs button.rmqs-buy{margin-top:5px!important;}
}
@media(max-width:767px) and (max-height:700px){
 body dialog.rmqs .rmqs-panel{padding-top:40px!important;}
 body dialog.rmqs .rmqs-image{flex-basis:140px!important;min-height:140px!important;padding:10px!important;}
 body dialog.rmqs .rmqs-info{gap:10px!important;padding-top:12px!important;}
}

/* V2.8 — use the actual stage dimensions, not a zero-height flex basis. */
body dialog.rmqs .rmqs-feature,body dialog.rmqs .rmqs-feature span,body dialog.rmqs button.rmqs-option{font-weight:300!important;}
@media(max-width:767px){
 body dialog.rmqs .rmqs-image{position:relative!important;padding:0!important;}
 body dialog.rmqs .rmqs-image-link{position:absolute!important;inset:14px!important;width:auto!important;height:auto!important;display:block!important;overflow:visible!important;}
 body dialog.rmqs .rmqs-image img{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;object-fit:contain!important;}
}
