/* The approved scenic direction around native WooCommerce controls. */
@font-face{font-family:'RM Sans';src:url('fonts/m2/dm-sans-latin-wght-normal.woff2') format('woff2');font-weight:100 1000;font-display:swap}
@font-face{font-family:'RM Pixel';src:url('fonts/m2/press-start-2p-latin-400-normal.woff2') format('woff2');font-weight:400;font-display:swap}
body.rm-m2{--rm-ink:#24263c;--rm-muted:#626275;--rm-red:#bc2541;--rm-line:#e6e4eb;--rm-pink:#f2dbe7;--rm-purple:#34263f;font-family:'RM Sans',sans-serif;background:#fff;color:var(--rm-ink);font-size:16px;line-height:1.6}
.rm-m2 h1,.rm-m2 h2,.rm-m2 h3,.rm-m2 h4,.rm-m2 button,.rm-m2 input,.rm-m2 select,.rm-m2 textarea{font-family:inherit}.rm-m2 h1,.rm-m2 h2,.rm-m2 h3{color:var(--rm-ink);font-weight:750;letter-spacing:-.035em}.rm-m2 a{color:inherit;text-decoration:none}.rm-m2 a:hover{color:var(--rm-red)}.rm-m2 a:focus-visible,.rm-m2 button:focus-visible,.rm-m2 input:focus-visible,.rm-m2 select:focus-visible,.rm-m2 summary:focus-visible{outline:3px solid #674579;outline-offset:4px}.rm-m2 button,.rm-m2 .button{cursor:pointer}.rm-shell{width:min(1240px,calc(100% - 64px));margin-left:auto;margin-right:auto}.rm-m2 .container{width:min(1240px,calc(100% - 64px));max-width:none;padding:0}.rm-preview{background:#222943;color:#fff;text-align:center;padding:7px 20px;font-size:10px;font-weight:700;letter-spacing:.1em}.rm-preview span{font-weight:400;letter-spacing:.03em;margin-left:20px;color:#d5d6e0}.rm-header{background:#fff;position:sticky;top:0;z-index:100;box-shadow:0 1px 0 var(--rm-line)}.rm-header-main{display:flex;align-items:center;gap:42px;min-height:88px;border-bottom:1px solid var(--rm-line)}.rm-logo{flex:0 0 245px}.rm-logo img{width:245px;height:auto;display:block}.rm-search{display:flex;flex:1;border-bottom:1px solid #bcb9ca;align-items:center;min-width:120px}.rm-search input{border:0!important;box-shadow:none!important;background:none!important;padding:12px 0!important;min-width:0;width:100%;font-size:14px}.rm-search button{background:none;border:0;color:#626275;text-transform:uppercase;letter-spacing:.08em;font-size:10px;padding:14px 8px;min-height:44px}.rm-bag{display:flex;align-items:center;gap:12px;white-space:nowrap;font-size:14px;font-weight:700;min-height:44px}.rm-bag .cart-value{display:grid;place-items:center;min-width:26px;height:26px;border-radius:50%;background:#a31d35;color:#fff;font-size:12px}.rm-nav-wrap{display:flex;align-items:center;justify-content:space-between;min-height:54px}.rm-nav-wrap #mySidenav{position:static;width:auto;height:auto;background:transparent;display:block;transform:none;overflow:visible}.rm-nav-wrap #site-navigation{display:flex;align-items:center;gap:34px}.rm-nav-wrap #site-navigation>a{font-size:13px;font-weight:650;padding:15px 0;border:0}.rm-nav-note{font-size:12px;color:var(--rm-muted)}.rm-menu-toggle,.rm-menu-close{display:none}.rm-m2 .skip-link:focus{position:fixed;top:5px;left:8px;z-index:10000;padding:12px;background:white;color:#222}
.rm-hero{display:grid;grid-template-columns:1.55fr 1fr;gap:20px;margin-top:24px}.rm-game-world{position:relative;min-height:510px;border:3px solid #263e4a;background:#acd9eb url('worlds/8bit-world.webp') center bottom/cover no-repeat;padding:38px 34px 90px;overflow:hidden;color:#203446}.rm-eyebrow{font-size:10px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;margin:0 0 20px}.rm-pixel{font-family:'RM Pixel',monospace;font-size:8px;line-height:2}.rm-game-world h1{font-family:'RM Pixel',monospace;font-weight:400;font-size:clamp(22px,2.45vw,34px);line-height:1.65;letter-spacing:-1.4px;color:#203446;text-shadow:3px 3px #fff9;margin:28px 0}.rm-game-world h1 em{color:#ac1e3a;font-style:normal}.rm-hero-copy{font-size:16px;font-weight:650;line-height:1.8;max-width:350px;margin:0 0 30px}.rm-button,.rm-m2 a.button,.rm-m2 button.button,.rm-m2 input.button,.rm-m2 a.checkout-button{display:inline-flex;justify-content:center;align-items:center;background:var(--rm-action);color:#fff;border:0;border-radius:0;min-height:46px;padding:13px 23px;font-size:14px;font-weight:700;line-height:1.3;text-decoration:none}.rm-button:hover,.rm-m2 a.button:hover,.rm-m2 button.button:hover{background:var(--rm-action-hover);color:#fff}.rm-game-world .rm-button{box-shadow:4px 4px 0 #7f2947}.rm-world-footer{position:absolute;bottom:0;left:0;right:0;display:flex;justify-content:space-around;gap:8px;padding:15px 10px;background:#253943eb;color:#fff;font-size:9px;font-weight:750;letter-spacing:.13em}.rm-card-world{min-height:510px;position:relative;overflow:hidden;background:var(--rm-pink);padding:36px 30px;color:#38253f}.rm-card-world h2{font-size:44px;line-height:1.06;letter-spacing:-2px;margin:24px 0 18px;color:#38253f}.rm-card-world>p:not(.rm-eyebrow){font-size:14px;max-width:235px}.rm-card-spread{position:absolute;right:25px;top:230px;display:flex;gap:12px;max-width:76%;height:205px}.rm-card-spread a{width:130px;display:block;background:#fff;padding:8px;transform:rotate(-9deg);box-shadow:4px 7px 0 #38253f25}.rm-card-spread a:nth-child(2){transform:rotate(8deg);margin-top:18px}.rm-card-spread img{width:100%;height:100%;object-fit:contain}.rm-card-link{position:absolute;bottom:23px;left:30px;padding:12px 0;border-bottom:1px solid #715167;font-size:14px;font-weight:700;z-index:2}.rm-strip{display:flex;justify-content:space-between;gap:20px;padding:21px 0;border-bottom:1px solid var(--rm-line);font-size:11px;color:#626275}.rm-section{padding-top:50px;padding-bottom:10px}.rm-section-title{display:flex;justify-content:space-between;gap:24px;align-items:flex-end;margin-bottom:24px}.rm-section-title .rm-eyebrow{margin-bottom:12px}.rm-section-title h2{font-size:31px;margin:0;line-height:1.15}.rm-section-title>p,.rm-section-title>a{font-size:13px;margin:0;color:#626275}.rm-section-title>a{text-decoration:underline;text-underline-offset:4px}.rm-collections{display:grid;grid-template-columns:repeat(6,1fr);gap:12px}.rm-collection{display:flex;flex-direction:column;min-height:165px;justify-content:space-between;padding:19px 16px;background:#ececf4;border-bottom:4px solid #b8b7ca}.rm-collection .rm-eyebrow{font-size:8px;margin:0}.rm-collection strong{font-size:16px;line-height:1.25;letter-spacing:-.025em}.rm-collection>span:last-child{font-size:10px}.rm-pocket,.rm-advance{background:#e5ecc5;border-color:#667844}.rm-cube{background:#e8d9ff;border-color:#854fc4}.rm-dual{background:#fde0ef;border-color:#b75d91}.rm-modern{background:#dbf2ee;border-color:#448378}.rm-inline-link{font-size:13px;margin-top:18px}.rm-inline-link a{text-decoration:underline}.rm-story{background:#f1eaf5;padding:42px;margin-top:48px;margin-bottom:56px}.rm-story h2{font-size:40px;line-height:1.12}.rm-story>p{max-width:450px}.rm-story .rm-button{background:#5c3b70}
/* Keep native loop links, forms, hooks and structured data. */
.rm-m2 ul.products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;margin:22px 0!important;padding:0!important}.rm-m2 ul.products:before,.rm-m2 ul.products:after{display:none!important}.rm-m2 ul.products li.product{float:none!important;width:auto!important;margin:0!important;padding:18px!important;display:flex;flex-direction:column;align-items:stretch;background:#faf9fb;border:1px solid #eeebf0;border-radius:2px;text-align:left!important;position:relative;min-width:0}.rm-m2 ul.products li.product .woocommerce-LoopProduct-link{display:block}.rm-m2 ul.products li.product a img{height:205px!important;width:100%!important;object-fit:contain;background:#fff;margin:0 0 18px!important}.rm-m2 ul.products li.product .woocommerce-loop-product__title{font-size:17px!important;line-height:1.3!important;letter-spacing:-.025em;padding:0!important;margin:0 0 10px!important;color:#25283b}.rm-m2 ul.products li.product .price{font-size:16px!important;font-weight:700;color:#343345!important;line-height:1.4;margin-top:8px}.rm-m2 ul.products li.product .button{font-size:12px;min-height:40px;padding:10px 12px;margin-top:13px}.rm-m2 .star-rating{color:#714765}.rm-m2 .yith-wcqv-button{font-size:11px!important}.rm-m2 .product_meta{font-size:12px;color:var(--rm-muted);border-top:1px solid var(--rm-line);padding-top:17px}.rm-m2 .product_meta>span{display:block}.rm-m2 .woocommerce-breadcrumb{font-size:12px;color:#686778;margin-bottom:25px}.rm-m2 .woocommerce-products-header{margin:10px 0 25px;padding:28px 32px;background:#f3e3ed;border-left:5px solid #8a5179}.rm-m2 .woocommerce-products-header h1{font-size:38px;line-height:1.12;margin-bottom:10px}.rm-m2 .woocommerce-products-header p{max-width:650px;margin:0}.rm-m2 .woocommerce-result-count{font-size:13px;color:#626275}.rm-m2 .woocommerce-ordering select,.rm-m2 select{min-height:44px;padding:8px 35px 8px 12px;border:1px solid #c3bdc9;border-radius:2px;background-color:#fff;color:#27233d}.rm-m2 nav.woocommerce-pagination ul{border:0;display:flex;gap:8px;justify-content:center}.rm-m2 nav.woocommerce-pagination ul li{border:1px solid #ccc5d4}.rm-m2 nav.woocommerce-pagination ul li a,.rm-m2 nav.woocommerce-pagination ul li span{padding:12px;min-width:44px}.rm-m2 div.product .product_title{font-size:38px;line-height:1.1;margin-bottom:17px;letter-spacing:-.04em}.rm-m2 div.product p.price,.rm-m2 div.product span.price{font-size:24px;color:#343345;font-weight:700}.rm-m2 div.product div.images{width:46%!important;background:#f6f4f8;padding:30px;border:1px solid var(--rm-line)}.rm-m2 div.product div.images img{max-height:490px;object-fit:contain}.rm-m2 div.product div.summary{width:49%!important}.rm-m2 div.product form.cart{margin:24px 0}.rm-m2 div.product form.cart .variations{margin-bottom:15px}.rm-m2 div.product form.cart .variations th,.rm-m2 div.product form.cart .variations td{display:block;padding:0;border:0;text-align:left}.rm-m2 div.product form.cart .variations label{font-size:13px;letter-spacing:.02em;font-weight:700;margin:0 0 6px}.rm-m2 div.product form.cart .variations select{width:100%;max-width:100%}.rm-m2 div.product .woocommerce-product-details__short-description{font-size:15px;line-height:1.7;padding-top:18px;border-top:1px solid var(--rm-line);color:#555366}.rm-m2 div.product .woocommerce-tabs{clear:both;padding-top:35px}.rm-m2 div.product .woocommerce-tabs ul.tabs{padding:0!important}.rm-m2 div.product .woocommerce-tabs ul.tabs li{background:#f2edf4;border:1px solid #d5cedc;border-radius:0}.rm-m2 div.product .woocommerce-tabs ul.tabs li:before,.rm-m2 div.product .woocommerce-tabs ul.tabs li:after{display:none}.rm-m2 .quantity .qty{min-height:46px;width:68px;border:1px solid #b7afc0;border-radius:0;padding:7px;color:#262139}.rm-m2 .retromania-m2-low-stock{font-size:13px;color:#a31d35;font-weight:750;margin:10px 0;min-height:0}.rm-m2 .retromania-m2-low-stock:empty{display:none}.rm-m2 .woocommerce-info,.rm-m2 .woocommerce-message,.rm-m2 .woocommerce-error{background:#f5f1f7;color:#30253f;border-top-color:#714765;font-size:14px}.rm-m2 .woocommerce-info:before,.rm-m2 .woocommerce-message:before{color:#714765}.rm-m2 .woocommerce-message a,.rm-m2 .woocommerce-error a,.rm-m2 .woocommerce-info a{text-decoration:underline;color:#742e50}.rm-m2 form .form-row input.input-text,.rm-m2 form .form-row textarea{border:1px solid #c5bdcd;border-radius:2px;background:#fff;color:#24263c;min-height:46px;padding:11px 13px;font-size:15px}.rm-m2 form .form-row label{font-size:13px;font-weight:650;color:#383246}.rm-m2 table.shop_table{border-color:#e0dbe5;border-radius:0;font-size:15px}.rm-m2 table.shop_table th{font-size:12px;letter-spacing:.03em;background:#f4f0f6}.rm-m2 table.shop_table td{border-color:#e6e0eb}.rm-m2 .woocommerce-cart-form .product-thumbnail img{width:70px!important;height:80px!important;object-fit:contain}.rm-m2 .cart_totals,.rm-m2 #order_review{padding:24px;border:1px solid #e2dce8;background:#fbf9fc}.rm-m2 .cart_totals h2,.rm-m2 #order_review_heading{font-size:25px}.rm-m2 #payment{background:#f1ebf5!important}.rm-m2 #payment div.payment_box{background:#e3d7ec;color:#31233e}.rm-m2 #payment div.payment_box:before{border-bottom-color:#e3d7ec}.rm-m2 .woocommerce-billing-fields h3,.rm-m2 .woocommerce-additional-fields h3{font-size:22px}.rm-m2 .select2-container .select2-selection--single{min-height:46px;border-color:#c5bdcd}.rm-m2 .select2-container--default .select2-selection--single .select2-selection__rendered{line-height:44px;padding-left:12px;color:#24263c}.rm-m2 .select2-container--default .select2-selection--single .select2-selection__arrow{height:44px}.rm-m2 .entry-content{font-size:16px}.rm-m2 .entry-title{font-size:36px}.rm-footer{border-top:1px solid var(--rm-line);padding:36px 0;background:#faf9fb;margin-top:40px}.rm-footer>.rm-shell{display:grid;grid-template-columns:1fr 1fr;gap:12px}.rm-footer img{width:245px;height:auto}.rm-footer p{font-size:13px;color:#6b6473;margin-top:14px}.rm-footer nav{display:flex;gap:23px;align-items:start;justify-content:flex-end;font-size:13px;flex-wrap:wrap}.rm-footer-note{grid-column:1/-1;padding-top:12px;border-top:1px solid var(--rm-line)}.rm-m2 #maincontent{padding-top:32px!important}.rm-m2 .rm-home#maincontent{padding-top:0!important}.rm-m2 .rm-home~.rm-footer{margin-top:0}.rm-m2 .rm-section,.rm-m2 #collections{scroll-margin-top:160px}
@media(max-width:1000px){.rm-header-main{gap:22px}.rm-logo,.rm-logo img{width:200px;flex-basis:200px}.rm-nav-note{display:none}.rm-nav-wrap{min-height:46px}.rm-menu-toggle{display:block;background:none;border:0;color:#303047;min-height:44px;font-size:13px;font-weight:650;padding:8px 0}.rm-nav-wrap #mySidenav{display:none;position:fixed!important;inset:0 0 0 auto;width:min(380px,100vw)!important;height:100dvh!important;background:#fff!important;padding:26px!important;overflow:auto!important;z-index:9999!important}.rm-nav-wrap #mySidenav.show{display:block!important}.rm-nav-wrap #site-navigation{display:flex;flex-direction:column;gap:8px;align-items:stretch}.rm-nav-wrap #site-navigation>a{padding:15px 0;font-size:16px;border-bottom:1px solid var(--rm-line)}.rm-menu-close{display:block;background:#f1edf4;border:0;min-height:46px;font-size:14px;color:#32213f}.rm-hero{grid-template-columns:1.35fr 1fr}.rm-game-world{padding:30px 23px 80px}.rm-game-world h1{font-size:23px}.rm-card-world{padding:30px 23px}.rm-card-world h2{font-size:34px}.rm-collections{grid-template-columns:repeat(3,1fr)}.rm-m2 ul.products{grid-template-columns:repeat(3,minmax(0,1fr))}.rm-m2 div.product .product_title{font-size:31px}.rm-m2 div.product div.images{padding:18px}}
@media(max-width:700px){.rm-shell,.rm-m2 .container{width:calc(100% - 32px)}.rm-preview{font-size:8px;padding:6px 5px}.rm-preview span{margin-left:8px;font-size:8px}.rm-header-main{flex-wrap:wrap;gap:10px;min-height:0;padding:17px 0 10px}.rm-logo,.rm-logo img{width:190px;flex-basis:190px}.rm-bag{margin-left:auto;font-size:12px}.rm-bag .cart-value{min-width:23px;height:23px}.rm-search{order:3;flex-basis:100%;border:1px solid #d5d0db;padding:0 10px}.rm-search input{padding:8px 0!important;font-size:13px}.rm-search button{padding:10px 5px}.rm-nav-wrap{min-height:42px}.rm-nav-wrap .rm-menu-toggle{min-height:42px;padding:5px 0}.rm-header{position:sticky}.rm-hero{display:block;margin-top:16px}.rm-game-world{min-height:490px;padding:26px 22px 95px}.rm-game-world h1{font-size:25px;line-height:1.65;margin:25px 0}.rm-hero-copy{font-size:14px;line-height:1.8}.rm-game-world .rm-button{font-size:12px;padding:13px 14px}.rm-world-footer{font-size:7px;letter-spacing:.06em;flex-wrap:wrap}.rm-card-world{min-height:390px;margin-top:16px;padding:28px 24px}.rm-card-world h2{font-size:38px}.rm-card-spread{top:175px;right:22px;height:150px;width:190px}.rm-card-spread a{width:90px}.rm-card-link{left:24px;bottom:20px;font-size:12px}.rm-strip{font-size:10px;flex-wrap:wrap;gap:9px;padding:17px 0}.rm-strip span:nth-child(2){display:none}.rm-section{padding-top:32px}.rm-section-title{display:block}.rm-section-title h2{font-size:27px}.rm-section-title>p,.rm-section-title>a{display:block;margin-top:12px}.rm-collections{grid-template-columns:repeat(2,1fr);gap:10px}.rm-collection{padding:16px 14px;min-height:145px}.rm-collection strong{font-size:16px}.rm-m2 ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.rm-m2 ul.products li.product{padding:11px!important}.rm-m2 ul.products li.product a img{height:155px!important;margin-bottom:13px!important}.rm-m2 ul.products li.product .woocommerce-loop-product__title{font-size:15px!important}.rm-m2 ul.products li.product .price{font-size:14px!important}.rm-m2 ul.products li.product .button{font-size:11px;padding:9px 8px}.rm-story{padding:26px;margin-top:30px;margin-bottom:30px}.rm-story h2{font-size:32px}.rm-m2 .woocommerce-products-header{padding:23px 20px;margin-bottom:20px}.rm-m2 .woocommerce-products-header h1{font-size:30px}.rm-m2 .woocommerce-products-header p{font-size:14px}.rm-m2 .woocommerce-ordering,.rm-m2 .woocommerce-result-count{float:none;display:block}.rm-m2 .woocommerce-ordering select{width:100%;margin-bottom:10px}.rm-m2 div.product div.images,.rm-m2 div.product div.summary{width:100%!important;float:none!important}.rm-m2 div.product div.images{padding:20px}.rm-m2 div.product div.images img{max-height:310px}.rm-m2 div.product .product_title{font-size:31px}.rm-m2 div.product div.summary{margin-top:20px}.rm-m2 div.product .woocommerce-tabs ul.tabs li{font-size:13px;padding:0 9px}.rm-m2 .cart_totals,.rm-m2 #order_review{padding:16px}.rm-m2 table.shop_table{font-size:13px}.rm-m2 table.shop_table td,.rm-m2 table.shop_table th{padding:10px 8px}.rm-m2 form .form-row{padding-left:0;padding-right:0}.rm-footer>.rm-shell{display:block}.rm-footer nav{justify-content:flex-start;gap:18px;margin-top:22px}.rm-m2 .rm-section,.rm-m2 #collections{scroll-margin-top:180px}}
@media(max-width:360px){.rm-logo,.rm-logo img{width:163px;flex-basis:163px}.rm-game-world{padding:24px 17px 95px;min-height:480px}.rm-game-world h1{font-size:21px;letter-spacing:-1px}.rm-m2 ul.products li.product a img{height:125px!important}.rm-card-spread{right:15px;height:140px}.rm-header-main{gap:7px}.rm-bag{gap:6px}}
@media(prefers-reduced-motion:reduce){.rm-m2 *{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

/* Product rows share a reading rhythm without clipping names or changing hooks. */
/* Navigation must wrap its items, rather than shrink their boxes over each other. */
body.rm-m2 nav.woocommerce-pagination ul {
 display:flex;
 flex-wrap:wrap;
 gap:8px;
 max-width:100%;
 margin:24px 0 0;
 padding:0;
}
body.rm-m2 nav.woocommerce-pagination ul li {
 flex:0 0 auto;
 float:none;
 margin:0;
 overflow:visible;
}
body.rm-m2 nav.woocommerce-pagination ul li :is(a,span) {
 display:flex;
 justify-content:center;
 align-items:center;
 box-sizing:border-box;
 width:auto;
 min-width:44px;
 min-height:44px;
 padding:10px 12px;
 font-size:14px!important;
 line-height:1.4!important;
 white-space:nowrap;
}
/* Neutralise legacy float clearing and the 45% purchase-button width. */
body.rm-m2.single-product .site-main div.product > .images { float:left!important; }
body.rm-m2.single-product .site-main div.product > .summary {
 clear:none!important;
 float:right!important;
 margin-top:0!important;
}
body.rm-m2.single-product .site-main .single_add_to_cart_button {
 width:auto!important;
 min-height:48px;
 white-space:normal;
}
body.rm-m2 .woocommerce-cart-form .coupon {
 display:grid;
 grid-template-columns:minmax(150px,1fr) auto;
 align-items:stretch;
 gap:10px;
 max-width:100%;
}
body.rm-m2 .woocommerce-cart-form .coupon::before,
body.rm-m2 .woocommerce-cart-form .coupon::after { display:none; }
body.rm-m2 .woocommerce-cart-form .coupon :is(input.input-text,button.button) {
 width:100%!important;
 float:none!important;
 min-width:0;
 min-height:48px;
 margin:0!important;
 box-sizing:border-box;
}
body.rm-m2 .woocommerce-cart-form .coupon button.button { white-space:nowrap; }
body.rm-m2.woocommerce-cart .woocommerce-cart-form table.cart td.actions .coupon #coupon_code {
 width:100%!important;
 margin:0!important;
}
body.rm-m2.woocommerce-cart .woocommerce-cart-form table.cart td.actions .coupon .coupon-error-notice {
 grid-column:1/-1;
 width:100%;
 float:none;
 clear:none;
 margin:0;
 text-align:left;
 font-size:14px!important;
 line-height:1.5;
 color:var(--rm-dark-danger,#9f2435);
}
@media(max-width:800px) {
 body.rm-m2.single-product .site-main div.product > :is(.images,.summary) {
  width:100%!important;
  float:none!important;
 }
 body.rm-m2.single-product .site-main div.product > .summary { margin-top:24px!important; }
 body.rm-m2.single-product .site-main .single_add_to_cart_button { width:100%!important; }
 body.rm-m2.single-product .site-main .woocommerce-variation-add-to-cart,
 body.rm-m2.single-product .site-main form.cart:not(.variations_form):not(.grouped_form) {
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  align-items:stretch;
 }
 body.rm-m2.single-product .site-main form.cart .quantity { float:none; margin:0; }
}
@media(min-width:701px) and (max-width:800px) {
 body.rm-m2.single-product .site-main div.product > .images img { max-height:360px; }
}
@media(max-width:480px) {
 body.rm-m2 .woocommerce-cart-form .coupon { grid-template-columns:minmax(0,1fr); padding-bottom:12px; }
 body.rm-m2 .cart_totals .woocommerce-shipping-totals td { text-align:left!important; }
 body.rm-m2 .cart_totals .woocommerce-shipping-totals td::before {
  display:block;
  float:none;
  margin-bottom:12px;
 }
 body.rm-m2 .cart_totals ul#shipping_method { margin:0 0 14px; }
 body.rm-m2 .cart_totals ul#shipping_method li {
  display:flex;
  align-items:baseline;
  gap:8px;
  margin:0 0 10px;
 }
 body.rm-m2 .cart_totals ul#shipping_method input { flex:none; margin:0; }
 body.rm-m2 .cart_totals ul#shipping_method label { margin:0; }
 body.rm-m2 .cart_totals .woocommerce-shipping-destination { line-height:1.65; }
 body.rm-m2 .cart_totals .shipping-calculator-button { font-size:14px!important; }
}
/* Inline checkout disclosures keep the notice's text scale. */
body.rm-m2.woocommerce-checkout .woocommerce-info a,
body.rm-m2 .woocommerce-breadcrumb a {
 font-size:inherit!important;
 line-height:inherit!important;
}
body.rm-m2 ul.products {
 grid-auto-rows:1fr;
 align-items:stretch;
}
body.rm-m2 ul.products li.product {
 height:100%;
 box-sizing:border-box;
}
body.rm-m2 ul.products li.product > :is(.woocommerce-LoopProduct-link,.woocommerce-loop-product__link) {
 display:flex;
 flex:1 1 auto;
 flex-direction:column;
 min-width:0;
 color:inherit;
}
body.rm-m2 ul.products li.product > :is(.woocommerce-LoopProduct-link,.woocommerce-loop-product__link) > img {
 display:block;
 flex:none;
 width:100%!important;
 height:auto!important;
 aspect-ratio:1;
 object-fit:contain;
 margin:0 0 18px!important;
}
body.rm-m2 ul.products li.product .woocommerce-loop-product__title {
 min-height:2.8em;
 font-weight:600;
 line-height:1.4!important;
 margin:0 0 14px!important;
 overflow-wrap:anywhere;
}
body.rm-m2 ul.products li.product .price {
 display:block;
 min-height:1.5em;
 margin:auto 0 0!important;
 padding-top:4px;
 line-height:1.5!important;
 text-align:left!important;
 font-variant-numeric:tabular-nums;
}
body.rm-m2 ul.products li.product .price :is(.amount,bdi,.woocommerce-Price-currencySymbol,del,ins) {
 font-size:inherit!important;
 line-height:inherit;
 color:inherit;
}
body.rm-m2 ul.products li.product .price :is(del,ins) { display:inline; }
body.rm-m2 ul.products li.product .price bdi { white-space:nowrap; }
body.rm-m2 ul.products li.product > .button {
 display:flex;
 flex:none;
 justify-content:center;
 align-items:center;
 width:100%;
 min-height:44px;
 margin:18px 0 0!important;
 padding:11px 12px;
 text-align:center!important;
 line-height:1.4;
}
body.rm-m2 ul.products li.product > .yith-wcqv-button { font-size:13px!important; }
body.rm-m2 div.product .summary .stock { text-align:left; }
/* Retire legacy floated widths only inside the existing recommendation grids. */
body.rm-m2 .site-main :is(.related.products,.upsells.products,.cross-sells) ul.products li.product {
 float:none!important;
 width:auto!important;
 margin:0!important;
}
@media(max-width:700px) {
 body.rm-m2 ul.products li.product .woocommerce-loop-product__title { min-height:4.2em; }
 body.rm-m2 ul.products li.product .price { min-height:calc(3em + 4px); }
 body.rm-m2 ul.products li.product > :is(.woocommerce-LoopProduct-link,.woocommerce-loop-product__link) > img { margin-bottom:14px!important; }
 body.rm-m2 ul.products li.product > .button { margin-top:14px!important; }
 body.rm-m2 ul.products li.product > .yith-wcqv-button { font-size:12px!important; }
}

/* The first chapter keeps native archive headings and filter submissions. */
.rm-ds-chapter{display:grid;grid-template-columns:1.6fr 1fr;gap:48px;align-items:center;background:#f5e6ee;padding:40px 48px;margin-bottom:25px;border-bottom:5px solid #b16591}.rm-m2 .rm-ds-chapter .woocommerce-products-header{background:none;padding:0;border:0;margin:0}.rm-ds-chapter .woocommerce-products-header .term-description{font-size:14px;margin-top:12px}.rm-ds-chapter .rm-eyebrow{color:#72435f}.rm-ds-intro{font-size:15px;max-width:440px;margin-top:15px}.rm-dual-screen{padding:10px 14px 14px;background:#ecb9d4;border:2px solid #985b7f;border-radius:14px;box-shadow:5px 6px 0 #d3a8bf;max-width:255px;justify-self:center;transform:rotate(5deg);width:100%}.rm-screen-top{background:#3a9be6 url('worlds/8bit-world.webp') center 65%/cover no-repeat;height:86px;border:5px solid #584552;border-radius:4px;display:grid;place-items:center}.rm-screen-top span{font-family:'RM Pixel',monospace;font-size:7px;background:#fff9;padding:5px;color:#203446}.rm-dual-screen i{height:10px;display:block}.rm-screen-bottom{height:86px;border:5px solid #584552;background:#fff6fb;border-radius:4px;text-align:center;display:flex;flex-direction:column;justify-content:center}.rm-screen-bottom span{font-size:26px;font-weight:900;letter-spacing:-2px}.rm-screen-bottom small{font-size:8px}.rm-m2 .retromania-m2-filters{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:15px 0 25px;padding:18px 20px;border:1px solid #ded6e2;background:#fcfafc}.rm-m2 .retromania-m2-filters label{font-size:13px;font-weight:700;margin:0}.rm-m2 .retromania-m2-filters button{border:0;background:#5b3b70;color:white;padding:11px 18px;min-height:44px;font-size:13px}.rm-m2 .retromania-m2-filters a{text-decoration:underline;font-size:13px;min-height:44px;display:flex;align-items:center}
@media(max-width:700px){.rm-ds-chapter{grid-template-columns:1fr;gap:16px;padding:25px 22px}.rm-dual-screen{max-width:180px;transform:rotate(3deg)}.rm-screen-top,.rm-screen-bottom{height:60px}.rm-ds-intro{font-size:14px}.rm-m2 .retromania-m2-filters{padding:14px;gap:10px}.rm-m2 .retromania-m2-filters label{width:100%}.rm-m2 .retromania-m2-filters select{max-width:100%;width:100%}}
.rm-m2 div.product .summary,.rm-m2 div.product .summary .price,.rm-m2 div.product .product_title{text-align:left}.rm-m2 .single_add_to_cart_button.button,.rm-m2 a.checkout-button.button,.rm-m2 button#place_order{background:var(--rm-action)!important;color:#fff!important;border-radius:0!important}.rm-m2 .single_add_to_cart_button.button:hover,.rm-m2 a.checkout-button.button:hover,.rm-m2 button#place_order:hover{background:var(--rm-action-hover)!important}.rm-m2 .single_variation .price{font-size:24px!important;color:#343345!important}

body.rm-m2,body.rm-m2 h1,body.rm-m2 h2,body.rm-m2 h3,body.rm-m2 h4,body.rm-m2 input,body.rm-m2 select,body.rm-m2 button{font-family:'RM Sans',sans-serif!important}body.rm-m2 .rm-game-world h1,body.rm-m2 .rm-pixel,body.rm-m2 .rm-screen-top span{font-family:'RM Pixel',monospace!important}body.rm-m2 a.rm-button,body.rm-m2 a.rm-button:visited{color:#fff!important}body.rm-m2 .rm-game-world .rm-eyebrow{font-size:9px!important}body.rm-m2 .rm-dual-screen span{font-family:inherit}
/* Clip incidental artwork without creating a scroll container that breaks sticky navigation. Native overlay inline locks still take precedence. */
body.rm-m2{overflow-x:clip;overflow-y:visible}

/* Match the approved dual-revised mock-up: two functional screens and a pink shell. */
.rm-ds-chapter{grid-template-columns:1fr 1fr;gap:50px;padding:42px;background:#f6d7e6;border:2px solid #edb3d0;border-radius:24px;color:#4d2d49}.rm-chapter-back{display:inline-block;font-size:12px;margin-bottom:26px;text-decoration:underline!important}.rm-ds-chapter .rm-eyebrow{color:#863464;font-size:8px!important;line-height:1.9}.rm-m2 .rm-ds-chapter .woocommerce-products-header h1{font-size:15px;letter-spacing:.02em;margin:0 0 14px}.rm-ds-chapter h2{font-size:61px;line-height:1.06;letter-spacing:-2.5px;color:#4d2d49;margin:16px 0}.rm-ds-intro{font-size:14px;line-height:1.8;max-width:370px;margin:20px 0 26px}.rm-ds-chapter .rm-button{background:#82346f;box-shadow:3px 3px 0 #581b4e}.rm-chapter-systems{font-size:10px;font-weight:650;margin-top:28px;letter-spacing:.05em}.rm-dual-screen{padding:21px;border-radius:20px;background:#f0aecf;box-shadow:0 6px 0 #d48ab6;border:1px solid #d08cb2;max-width:none;transform:none}.rm-screen-top{display:block;background:#fff9fd;height:auto;border:9px solid #814d6c;border-radius:8px;padding:19px;text-align:center}.rm-screen-caption{font-family:'RM Pixel',monospace!important;font-size:7px;line-height:1.9;margin:0 0 17px}.rm-featured-game{display:flex;flex-direction:column;align-items:center;gap:14px}.rm-featured-game img{height:140px;width:100%;object-fit:contain}.rm-screen-top .rm-featured-game span{font-family:'RM Sans',sans-serif!important;background:none;font-size:12px;color:#704364;font-weight:700;padding:0}.rm-dual-screen i{height:16px;background:#d18bb1;border-radius:10px;margin:13px -5px;box-shadow:inset 0 3px 0 #ffffff44}.rm-screen-bottom{padding:20px;background:#fff9fd;border:8px solid #814d6c;border-radius:8px;height:auto;text-align:left;display:block}.rm-screen-bottom>p{font-size:10px;letter-spacing:1px;font-weight:700;margin-bottom:12px}.rm-touch-options{display:flex;gap:8px}.rm-touch-options a{background:#edd9f4;border:1px solid #cfafd9;border-radius:6px;padding:13px 10px;flex:1;font-size:12px;font-weight:650;display:flex;flex-direction:column;align-items:center;gap:7px;text-align:center;color:#553654}.rm-touch-options a:hover{background:#dfc2ec}.rm-touch-options small{font-size:10px}.rm-m2 #retromania-m2-condition{scroll-margin-top:220px}
@media(max-width:1000px){.rm-ds-chapter{gap:25px;padding:30px}.rm-ds-chapter h2{font-size:46px}.rm-dual-screen{padding:14px}.rm-screen-bottom{padding:13px}}
@media(max-width:700px){.rm-ds-chapter{grid-template-columns:1fr;padding:25px 22px;gap:27px;border-radius:20px}.rm-ds-chapter h2{font-size:43px}.rm-dual-screen{width:100%;max-width:360px;padding:12px}.rm-screen-top{border-width:7px;padding:16px}.rm-featured-game img{height:125px}.rm-screen-bottom{border-width:7px}.rm-chapter-back{font-size:11px}.rm-ds-chapter .rm-eyebrow{font-size:7px!important}.rm-screen-top .rm-featured-game span{font-size:11px}.rm-touch-options a{padding:12px 8px;font-size:11px}}

body.rm-m2 .rm-screen-caption{font-size:7px!important;letter-spacing:0!important}body.rm-m2 .rm-screen-top .rm-featured-game span{font-family:'RM Sans',sans-serif!important;font-size:12px!important}body.rm-m2 .rm-ds-chapter h2{font-weight:700!important}

body.rm-m2 .rm-card-world h2{font-weight:750!important}

/* Allow each screen and its copy to shrink inside the narrow mobile column. */
.rm-ds-chapter{grid-template-columns:repeat(2,minmax(0,1fr))}.rm-ds-chapter>div,.rm-touch-options a{min-width:0}.rm-ds-chapter .rm-button{max-width:100%;white-space:normal}.rm-screen-caption{overflow-wrap:normal}
@media(max-width:700px){.rm-ds-chapter{grid-template-columns:minmax(0,1fr)}.rm-ds-chapter h2{font-size:clamp(29px,8.7vw,43px);letter-spacing:-1.2px}.rm-touch-options{flex-wrap:wrap}.rm-touch-options a{flex:1 1 65px}.rm-ds-chapter .rm-button{font-size:13px;padding:13px 15px}.rm-ds-chapter .rm-eyebrow{letter-spacing:.04em}}

/* Desktop fidelity: use the final prototype's measurements, not a reinterpretation. */
body.rm-m2{font-weight:450;font-synthesis:none;font-optical-sizing:auto;-webkit-font-smoothing:antialiased}
.rm-icon{display:inline-block;vertical-align:middle;width:20px;height:20px;flex-shrink:0;fill:currentColor}
.rm-header-main .rm-search{gap:12px}.rm-search>.rm-icon{width:22px;height:22px;color:#626275}.rm-bag>.rm-icon{width:24px;height:24px}
.rm-nav-wrap #site-navigation>a{display:flex;gap:9px;align-items:center}.rm-nav-wrap #site-navigation>a:nth-of-type(2)>.rm-icon{color:#bd527c}
.rm-nav-note{display:flex;align-items:center;gap:12px}.rm-nav-note .rm-icon{width:16px;height:16px}
.rm-card-spread{display:flex;align-items:center;justify-content:center;height:180px}.rm-card-spread a{position:absolute;display:block;background:none;padding:0;box-shadow:none;max-width:130px;height:190px;width:auto;filter:drop-shadow(4px 9px 6px #22392222)}.rm-card-spread a:first-child{transform:rotate(-13deg);left:5px;top:0}.rm-card-spread a:nth-child(2){transform:rotate(12deg);right:0;top:22px;margin:0}.rm-card-spread img{width:auto;height:100%;max-width:130px;object-fit:contain}
.rm-card-link{display:flex;align-items:center;gap:18px;width:max-content}.rm-card-link .rm-icon{width:22px;height:22px}
.rm-strip>span{display:flex;align-items:center;gap:10px}.rm-strip .rm-icon{width:19px;height:19px;color:#c73356}
.rm-chapter-back{display:flex;align-items:center;gap:8px;text-decoration:none!important}.rm-chapter-back .rm-icon{width:15px;height:15px}
.rm-chapter-note{position:absolute;bottom:18px;left:45px;font-size:9px!important;letter-spacing:1.2px;opacity:.8}
.rm-ds-chapter{position:relative}.rm-ds-chapter .woocommerce-products-header h1,.rm-ds-route .woocommerce-breadcrumb{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.rm-ds-chapter .woocommerce-products-header{margin:0!important;padding:0!important}.rm-ds-chapter .woocommerce-products-header:empty{display:none}
.rm-touch-options .rm-icon{width:24px;height:24px}
body.rm-m2 .rm-touch-options a{font-size:11px!important;color:#4d2d49!important;font-weight:650!important;text-decoration:none!important;line-height:1.5}
body.rm-m2 .rm-touch-options small{font-size:9px!important;line-height:1.5}
body.rm-m2 .rm-screen-bottom>p{font-size:10px!important;line-height:1.5;letter-spacing:1px!important;margin:0 0 12px!important}
body.rm-m2 .rm-screen-caption{font-size:8px!important;line-height:1.9!important;margin:0 0 21px!important}
body.rm-m2 .rm-screen-top .rm-featured-game span{font-size:11px!important;line-height:1.5!important}
body.rm-m2 .rm-ds-chapter .rm-eyebrow{font-size:8px!important;line-height:1.8!important;letter-spacing:1px!important;color:#a03b77;margin:0!important}
body.rm-m2 .rm-chapter-systems{font-size:10px!important;font-weight:600;line-height:1.5;letter-spacing:.5px;margin:28px 0 0!important}
@media(min-width:1001px){
 .rm-shell,.rm-m2 .container{width:min(1380px,calc(100% - 96px))}.rm-preview{height:30px;padding:0 48px;display:flex;align-items:center;justify-content:flex-start;font-size:9px;text-align:left}.rm-preview span{font-size:9px}
 .rm-header-main{height:84px;min-height:84px;gap:60px;border-bottom:1px solid #dce2ef}.rm-logo,.rm-logo img{width:266px;flex-basis:266px}.rm-search{height:45px}.rm-search input{font-size:14px!important;font-weight:450!important;padding:0!important}.rm-search button{font-size:8px!important;letter-spacing:1px;padding:0;min-height:44px}
 .rm-bag{gap:11px;font-size:13px!important;font-weight:600!important}.rm-bag .cart-value{min-width:22px;height:22px;font-size:11px;background:#a31d35}.rm-nav-wrap{height:48px;min-height:48px}.rm-nav-wrap #site-navigation{gap:38px}.rm-nav-wrap #site-navigation>a{font-size:12px!important;font-weight:600!important;padding:10px 0}.rm-nav-note{font-size:11px!important;font-weight:450}
 .rm-hero{grid-template-columns:1.6fr 1fr;gap:18px;margin-top:22px}.rm-game-world{min-height:505px;padding:42px 34px 70px;border:3px solid #233848}.rm-game-world h1{font-size:clamp(24px,2.45vw,37px)!important;line-height:1.65!important;letter-spacing:-1.4px!important;font-weight:400!important;margin:20px 0 0!important;text-shadow:3px 3px 0 #ffffffb3}.rm-game-world h1 em{color:#bc2541}.rm-game-world .rm-eyebrow{font-size:8px!important;letter-spacing:1px!important;line-height:1.8!important;margin:0!important;color:#263d49}.rm-game-world p.rm-hero-copy{font-size:13px!important;font-weight:600!important;line-height:1.7!important;max-width:235px;margin:20px 0 26px!important}
 .rm-game-world .rm-button{font-size:12px!important;line-height:1.5!important;font-weight:650;min-height:45px;padding:12px 19px;gap:20px;background:var(--rm-action);box-shadow:4px 4px 0 #802542}.rm-world-footer{height:34px;padding:0;align-items:center;font-size:7px!important;font-weight:650;letter-spacing:1.3px;border-top:1px solid #ffffff33}
 .rm-card-world{min-height:505px;background:#f4d8e5;padding:36px 30px;border:1px solid #e1b3c7;color:#3b2546}.rm-card-world .rm-eyebrow{font-size:8px!important;line-height:1.8!important;letter-spacing:1px;margin:0!important;color:#923b6c}.rm-card-world h2{font-size:43px!important;font-weight:750!important;line-height:1.03!important;letter-spacing:-1.8px!important;margin:20px 0 13px!important;color:#3b2546}.rm-card-world>p:not(.rm-eyebrow){font-size:12px!important;line-height:1.6!important;max-width:190px;margin:0!important}.rm-card-spread{top:235px;right:26px;width:210px;max-width:none}.rm-card-link{bottom:70px;left:30px;padding:0 0 6px;font-size:12px!important;font-weight:650;line-height:1.5;color:#3b2546!important}
 .rm-strip{padding:23px 0;min-height:61px;font-size:10px!important;line-height:1.5}.rm-section{padding-top:45px}.rm-section-title{margin-bottom:28px}.rm-section-title h2{font-size:28px!important;font-weight:650!important;line-height:1.2}.rm-section-title .rm-eyebrow{font-size:10px!important;line-height:1.8!important;margin-bottom:8px!important}.rm-section-title>p{font-size:12px!important}
 .rm-ds-route #maincontent{padding-top:22px!important}.rm-ds-route #maincontent>.row>.col-lg-12{padding-left:0;padding-right:0}.rm-ds-chapter{padding:42px;gap:50px;min-height:613px;margin:0 0 25px;overflow:hidden;align-items:center}.rm-chapter-back{font-size:11px!important;line-height:1.5!important;font-weight:600!important;margin:0 0 36px!important;color:#4d2d49!important}.rm-ds-chapter h2{font-size:67px!important;font-weight:700!important;line-height:1.06!important;letter-spacing:-2.8px!important;margin:20px 0!important;color:#4d2d49!important}.rm-ds-chapter .rm-ds-intro{max-width:370px;font-size:14px!important;line-height:1.8!important;margin:18px 0 26px!important;color:#4d2d49!important}.rm-ds-chapter .rm-button{font-size:12px!important;font-weight:650;line-height:1.5;min-height:45px;padding:12px 19px;gap:20px;justify-content:space-between}
 .rm-dual-screen{padding:21px}.rm-screen-top{padding:19px;border:9px solid #814d6c}.rm-featured-game{gap:15px}.rm-featured-game img{height:140px}.rm-screen-bottom{padding:20px;border:8px solid #814d6c}.rm-touch-options a{padding:13px 10px}
}
@media(max-width:700px){.rm-ds-chapter{padding-bottom:55px}.rm-chapter-note{left:22px;font-size:7px!important}.rm-bag>.rm-icon{display:none}.rm-card-spread{width:170px;height:150px}.rm-card-spread a{height:150px;max-width:98px}.rm-card-spread img{max-width:98px}.rm-touch-options a{font-size:10px!important}.rm-screen-caption{overflow-wrap:anywhere}}

.rm-franchise-links{position:absolute;bottom:0;left:0;right:0;height:44px;display:flex;background:#ebc1d5;border-top:1px solid #dba6be}.rm-franchise-links a{width:50%;display:flex;justify-content:space-between;align-items:center;padding:0 25px;font-size:10px!important;font-weight:600;color:#4a2741!important}.rm-franchise-links a+a{border-left:1px solid #dba6be}.rm-franchise-links .rm-icon{width:14px;height:14px}.rm-franchise-links a:hover{background:#e6b1cb}@media(max-width:700px){.rm-franchise-links a{padding:0 14px;font-size:9px!important}.rm-card-link{bottom:64px}}
body.rm-m2 .rm-game-world p.rm-hero-copy{color:#203446!important}
@media(max-width:1000px){.rm-nav-note{display:none}}

body.rm-ds-route .rm-nav-wrap #site-navigation>a:first-of-type{color:#c73356}
.rm-ds-chapter+.rm-chapter-strip{margin-top:-25px;margin-bottom:26px}
@media(min-width:1001px){.rm-game-world h1{margin-top:25px!important}.rm-card-world h2{margin-top:27px!important}}
/* The approved header owns persistent basket access; native add-to-cart drawer remains. */
.rm-m2 .xoo-wsc-basket{display:none!important}

/* Native field boundaries remain visible; focus and Woo validation own their states. */
body.rm-m2 input.input-text:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not(:focus):not(:where(.woocommerce-invalid, .woocommerce-invalid *, .woocommerce-validated, .woocommerce-validated *)),
body.rm-m2 input[type="password"]:not(:focus):not(:where(.woocommerce-invalid, .woocommerce-invalid *, .woocommerce-validated, .woocommerce-validated *)),
body.rm-m2 select:not(:focus):not(:where(.woocommerce-invalid, .woocommerce-invalid *, .woocommerce-validated, .woocommerce-validated *)),
body.rm-m2 textarea:not(:focus):not(:where(.woocommerce-invalid, .woocommerce-invalid *, .woocommerce-validated, .woocommerce-validated *)),
body.rm-m2 .quantity .qty:not(:focus):not(:where(.woocommerce-invalid, .woocommerce-invalid *, .woocommerce-validated, .woocommerce-validated *)),
body.rm-m2 .select2-container--default:not(.select2-container--focus) .select2-selection--single:not(:where(.woocommerce-invalid, .woocommerce-invalid *, .woocommerce-validated, .woocommerce-validated *)),
body.rm-m2 .retromania-m2-filters select:not(:focus):not(:where(.woocommerce-invalid, .woocommerce-invalid *, .woocommerce-validated, .woocommerce-validated *)),
body.rm-m2 .rm-support-search .search-field:not(:focus):not(:where(.woocommerce-invalid, .woocommerce-invalid *, .woocommerce-validated, .woocommerce-validated *)),
body.rm-m2 .rm-search:not(:focus-within):not(:where(.woocommerce-invalid, .woocommerce-invalid *, .woocommerce-validated, .woocommerce-validated *)){border-color:#867b90}
/* Woo owns commerce scroll animations; inherited CSS smoothing must not run a second one. */
html:has(body.rm-m2:is(.woocommerce-cart,.woocommerce-checkout)){scroll-behavior:auto}
/* Checkout Select2 has one text line inside its 46px control, without nested padding. */
html body.rm-m2.woocommerce-checkout .select2-container--default .select2-selection--single{
 box-sizing:border-box;height:46px;min-height:46px;padding:0;
}
html body.rm-m2.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered{
 box-sizing:border-box;height:44px;min-height:0;line-height:44px;padding:0 38px 0 12px;
}
html body.rm-m2.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow{
 top:0;height:44px;
}
/* Short windows, including browser zoom, need unobscured buying controls. */
@media(max-height:500px){
 body.rm-m2 .rm-header{position:static}
 body.rm-m2 #collections,
 body.rm-m2 #era-products,
 body.rm-m2 #card-products,
 body.rm-m2 #retromania-m2-condition,
 body.rm-m2 .rm-section,
 body.rm-m2 .rm-era-section,
 body.rm-m2 .rm-era-products,
 body.rm-m2 .rm-era-archive-products,
 body.rm-m2 .rm-card-products{scroll-margin-top:20px}
 /* A single scrolling drawer keeps products and checkout reachable when zoomed. */
 body.rm-m2 .xoo-wsc-container{display:block;overflow-x:hidden;overflow-y:auto}
 body.rm-m2 .xoo-wsc-container>.xoo-wsc-body{height:auto;max-height:none;overflow:visible}
 body.rm-m2 .xoo-wsc-container>.xoo-wsc-header,
 body.rm-m2 .xoo-wsc-container>.xoo-wsc-footer{position:static}
 /* Native notices need their own row so Undo cannot overlap the Close control. */
 body.rm-m2 .xoo-wsc-container .xoo-wsch-top>.xoo-wsc-notice-container{position:static;grid-column:1/-1;margin:0 0 12px}
}

/* Keep declared image proportions instead of the generic lazy-image placeholder. */
body.rm-m2.single-product div.product :is(.woocommerce-Tabs-panel--description,.woocommerce-product-details__short-description) img:is(.alignleft,.alignright)[width][height]{
 contain-intrinsic-size:none;
}
/* Native tab focus rings need room outside the list edge. */
body.rm-m2.single-product div.product .woocommerce-tabs ul.tabs{overflow:visible}

/* Quick View keeps native product controls inside its own responsive frame. */
body.rm-m2 #yith-quick-view-modal #yith-quick-view-content .woocommerce-product-details__short-description,
body.rm-m2 #yith-quick-view-modal #yith-quick-view-content .woocommerce-product-details__short-description :is(p,li){
 color:var(--rm-ui-ink);
}
@media(max-width:768px){
 body.rm-m2 #yith-quick-view-modal .yith-wcqv-main,
 body.rm-m2 #yith-quick-view-modal #yith-quick-view-content,
 body.rm-m2 #yith-quick-view-modal #yith-quick-view-content .product,
 body.rm-m2 #yith-quick-view-modal #yith-quick-view-content :is(.images,.summary,.summary-content){
  box-sizing:border-box;min-width:0;max-width:100%;
 }
 body.rm-m2 #yith-quick-view-modal #yith-quick-view-content :is(.images,.summary){
  width:100%!important;float:none!important;
 }
 body.rm-m2 #yith-quick-view-modal #yith-quick-view-content .summary{
  padding-inline:20px;
 }
 body.rm-m2 #yith-quick-view-modal #yith-quick-view-content .images :is(a,figure){
  box-sizing:border-box;max-width:100%;margin-inline:0;
 }
 body.rm-m2 #yith-quick-view-modal #yith-quick-view-content .images img{
  display:block;max-width:100%;height:auto;object-fit:contain;
 }
 body.rm-m2 #yith-quick-view-modal #yith-quick-view-content .woocommerce-product-details__short-description{
  overflow-wrap:anywhere;
 }
 body.rm-m2 #yith-quick-view-modal #yith-quick-view-content .woocommerce-product-details__short-description :is(.wp-video,video.wp-video-shortcode){
  /* WordPress keeps the saved player width inline; cap it to the modal's prose column. */
  box-sizing:border-box;min-width:0;max-width:100%;height:auto;
 }
 body.rm-m2 #yith-quick-view-modal #yith-quick-view-content .woocommerce-product-details__short-description img:is(.alignleft,.alignright){
  /* Saved catalogue CSS uses an important float; keep the photo above the prose. */
  float:none!important;display:block!important;clear:both;margin:0 auto 20px!important;max-width:100%;height:auto;
  contain-intrinsic-size:none;
 }
}

/* Keep narrow product descriptions full width beside legacy aligned media. */
@media(max-width:700px){
 body.rm-m2.single-product div.product :is(.woocommerce-Tabs-panel--description,.woocommerce-product-details__short-description) img:is(.alignleft,.alignright){
  /* Saved Custom CSS forces these legacy images left with !important. */
  float:none!important;display:block!important;clear:both;margin:0 auto 20px!important;max-width:100%;height:auto;
 }
}
