/* Stremly Showroom — «الصالة». Loaded after brand.css, only when body has .sx-on */
@view-transition{navigation:auto}
::view-transition-group(sx-cover){animation-duration:.45s;animation-timing-function:cubic-bezier(.2,.8,.2,1)}

html{background:#080B10}
html body.sx-on{background:transparent!important;overflow-x:clip;
  --bg:#080B10;--card:rgba(24,31,41,.66);--card2:rgba(38,48,62,.7);--line:rgba(255,255,255,.09);--line2:rgba(255,255,255,.16);--glass:blur(18px) saturate(1.4)}
.sx-on a{text-decoration:none!important}
.sx-on .royo-topbar,.sx-on .storefront-handheld-footer-bar{display:none!important}

/* ---------- ambient light ---------- */
.sx-amb{position:fixed;inset:0;z-index:-1;overflow:hidden;pointer-events:none;background:#080B10}
.sx-amb::before,.sx-amb::after{content:"";position:absolute;width:70vmax;height:70vmax;border-radius:50%;filter:blur(90px);opacity:.34;animation:sx-drift 26s ease-in-out infinite alternate}
.sx-amb::before{background:#2B3FD6;top:-34vmax;right:-22vmax}
.sx-amb::after{background:#12A56B;bottom:-44vmax;left:-26vmax;animation-delay:-13s;opacity:.22}
.sx-amb i{position:absolute;inset:-140px -140px auto;height:calc(86vh + 140px);background-size:cover;background-position:center;filter:blur(90px) saturate(1.8);opacity:.6;-webkit-mask-image:linear-gradient(#000 30%,transparent);mask-image:linear-gradient(#000 30%,transparent)}
.sx-amb:has(i)::before{opacity:.12}
@keyframes sx-drift{to{transform:translate3d(-9vmax,7vmax,0) scale(1.15)}}

/* ---------- floating console bar ---------- */
html body.sx-on .site-header{background:transparent!important;border:0!important;position:sticky;top:0;z-index:999;padding:12px 16px 0!important}
.sxh{max-width:1180px;margin:0 auto;display:flex;align-items:center;gap:14px;padding:8px 10px 8px 8px;border-radius:22px;background:rgba(14,19,26,.66);border:1px solid var(--line2);-webkit-backdrop-filter:var(--glass);backdrop-filter:var(--glass);box-shadow:0 14px 40px -18px rgba(0,0,0,.8)}
.sxh-logo{display:flex;align-items:center;gap:10px;padding-inline-start:6px;color:#fff!important;font-family:var(--fh);font-weight:800;font-size:22px;line-height:1}
.sxh-logo svg{flex:none}
.sxh-nav{display:flex;gap:2px;flex:1 1 auto;justify-content:center;font-size:15px}
.sxh-nav a{position:relative;color:#B9C4CF!important;padding:10px 14px;border-radius:12px;font-weight:500;white-space:nowrap;transition:color .15s,background .15s}
.sxh-nav a:hover{color:#fff!important;background:rgba(255,255,255,.07)}
.sxh-nav a.on{color:#fff!important}
.sxh-nav a.on::after{content:"";position:absolute;inset-inline:14px;bottom:3px;height:3px;border-radius:3px;background:var(--p);box-shadow:0 0 14px var(--p)}
.sxh-act{display:flex;gap:8px;align-items:center;margin-inline-start:auto}
.sxh-my{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 16px;border-radius:14px;background:var(--p);color:var(--on)!important;font-weight:600;font-size:15px}
.sxh-my:hover{background:var(--pd)}
.sxh-cart{display:grid;place-items:center;width:44px;height:44px;border-radius:14px;border:1px solid var(--line2);color:#fff!important}
.sxh-cart:hover{border-color:#fff}

/* ---------- mobile dock ---------- */
.sxd{display:none}
@media(max-width:900px){
  .sxh-nav,.sxh-my{display:none}
  .sxd{position:fixed;z-index:998;inset-inline:12px;bottom:calc(10px + env(safe-area-inset-bottom));display:flex;justify-content:space-around;padding:6px;border-radius:22px;background:rgba(14,19,26,.8);border:1px solid var(--line2);-webkit-backdrop-filter:var(--glass);backdrop-filter:var(--glass);box-shadow:0 18px 40px -12px rgba(0,0,0,.9)}
  .sxd a{flex:1 1 0;display:flex;flex-direction:column;align-items:center;gap:2px;padding:7px 2px 5px;border-radius:16px;color:#9FACB9!important;font-size:11.5px;font-weight:500;line-height:1.4}
  .sxd a.on{color:#fff!important;background:rgba(255,255,255,.09)}
  .sxd a.on svg{color:var(--p);filter:drop-shadow(0 0 8px var(--p))}
  html body.sx-on .site-footer{padding-bottom:96px!important}
  .sx-on.single-product .sxd{display:none}
}

/* ---------- shared surfaces ---------- */
.sx-on .st-ps-card,.sx-on ul.products li.product,.sx-on .royo-features .f,.sx-on .royo-steps .s,.sx-on .royo-faq details,.sx-on .royo-pp-feat,.sx-on .woocommerce-tabs .panel,.sx-on .stremly-cat-below details{-webkit-backdrop-filter:var(--glass);backdrop-filter:var(--glass)}
.sx-on .royo-sec-title,.sx-on .stremly-cat-below h2{font-size:clamp(24px,3vw,34px)}
.sx-rise{opacity:0;transform:translateY(24px);transition:opacity .6s ease,transform .6s ease}
.sx-rise.in{opacity:1;transform:none}

/* ---------- product tiles (home shelves + category grids) ---------- */
.sx-on .st-ps-card,.sx-on ul.products li.product{transition:transform .25s ease,border-color .25s,box-shadow .25s}
.sx-on .st-ps-img img,.sx-on ul.products li.product a img{transition:transform .5s ease}
.sx-on ul.products li.product a img{border-radius:14px}
@media(hover:hover){
  .sx-on .st-ps-card:hover,.sx-on ul.products li.product:hover{transform:translateY(-8px);border-color:rgba(255,255,255,.42);box-shadow:0 28px 48px -20px rgba(0,0,0,.9)}
  .sx-on .st-ps-card:hover .st-ps-img img,.sx-on ul.products li.product:hover a img{transform:scale(1.06)}
}
html body.sx-on ul.products li.product .button{background:transparent!important;border:1px solid var(--line2)!important;color:#fff!important;transition:background .15s,color .15s,border-color .15s}
html body.sx-on ul.products li.product .button:hover,html body.sx-on ul.products li.product:hover .button{background:var(--p)!important;border-color:var(--p)!important;color:var(--on)!important}
html body.sx-on ul.products li.product .price{color:#fff!important}

/* ---------- home ---------- */
.home.sx-on .entry-content{display:flex;flex-direction:column}
.home.sx-on .entry-content>*{order:5}
.home.sx-on .entry-content>.sx{order:0}
.home.sx-on .entry-content>.st-cats{display:none}
.home.sx-on .entry-content>.st-ps{order:2;margin-top:0;padding-top:8px}
.home.sx-on .entry-content>.royo-block:nth-child(6){order:3}
.home.sx-on .entry-content>.royo-block:nth-child(4){order:4}
.home.sx-on .entry-content>.royo-block:nth-child(8){order:8}
.home.sx-on .entry-content>.royo-block:nth-child(9){order:9}
.home.sx-on .royo-seo-text{color:var(--mut)!important}
.home.sx-on .royo-seo-text p{color:inherit}

.sx{position:relative;isolation:isolate;margin:-78px calc(50% - 50vw) 34px;padding:118px max(24px,calc(50vw - 566px)) 0}
.sx-bg{position:absolute;inset:0;z-index:-2;overflow:hidden;-webkit-mask-image:linear-gradient(#000 62%,transparent);mask-image:linear-gradient(#000 62%,transparent)}
.sx-bg i{position:absolute;inset:-90px;background-size:cover;background-position:center;filter:blur(64px) saturate(1.7);opacity:0;transition:opacity .9s ease}
.sx-bg i.on{opacity:.85}
.sx::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(8,11,16,.1) 0%,rgba(8,11,16,.4) 60%,transparent 100%)}
.sx-in{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,440px);align-items:center;gap:48px;min-height:440px}
.sx-copy{min-width:0}
html body .sx .sx-h1{font-size:15px;font-weight:700;line-height:1.6;color:var(--p)!important;margin:0 0 18px;display:inline-block;padding:6px 14px;border-radius:999px;background:rgba(8,11,16,.55);border:1px solid rgba(255,255,255,.14);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
.sx-now{transition:opacity .28s ease,transform .28s ease}
.sx-now.out{opacity:0;transform:translateY(10px)}
html body .sx .sx-name{font-family:var(--fh);font-weight:800;font-size:clamp(34px,5.2vw,64px);line-height:1.25;color:#fff;margin:0;text-wrap:balance;text-shadow:0 2px 30px rgba(0,0,0,.35)}
html body .sx .sx-sub{font-size:17px;font-weight:500;color:rgba(255,255,255,.75);margin:10px 0 0;text-align:right;min-height:1.6em}
html body .sx .sx-price{font-family:var(--fh);font-weight:800;font-size:30px;color:#fff;margin:18px 0 0;line-height:1.3}
.sx-btns{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}
html body .sx a.sx-cta{display:inline-flex;align-items:center;min-height:54px;padding:0 34px;border-radius:14px;background:#fff;color:#080B10!important;font-weight:700;font-size:17px;transition:transform .15s,box-shadow .15s}
html body .sx a.sx-cta:hover{transform:translateY(-2px);box-shadow:0 14px 34px rgba(0,0,0,.4)}
html body .sx a.sx-alt{display:inline-flex;align-items:center;min-height:54px;padding:0 22px;border-radius:14px;background:rgba(8,11,16,.5);border:1px solid rgba(255,255,255,.22);color:#fff!important;font-weight:500;font-size:15px;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);transition:border-color .15s,background .15s}
html body .sx a.sx-alt:hover{border-color:#fff;background:rgba(8,11,16,.7)}
html body .sx .sx-note{font-size:14px;color:rgba(255,255,255,.7);margin:16px 0 0}
.sx-art{display:block;perspective:1100px;justify-self:center;width:100%;max-width:420px}
.sx-tilt{display:block;border-radius:30px;transform:rotateY(var(--ry,9deg)) rotateX(var(--rx,3deg));transform-style:preserve-3d;transition:transform .25s ease-out;box-shadow:0 40px 80px -20px rgba(0,0,0,.7),0 0 0 1px rgba(255,255,255,.12);animation:sx-float 6s ease-in-out infinite}
.sx-tilt img{display:block;width:100%;height:auto;aspect-ratio:1/1;object-fit:cover;border-radius:30px;transition:opacity .3s ease}
.sx-tilt.out img{opacity:0}
@keyframes sx-float{0%,100%{translate:0 0}50%{translate:0 -10px}}
.sx-railwrap{display:flex;align-items:center;gap:18px;margin-top:26px}
.sx-rail{flex:1 1 auto;min-width:0;display:flex;gap:14px;overflow-x:auto;padding:14px 6px 30px;scrollbar-width:none;scroll-behavior:smooth}
.sx-rail::-webkit-scrollbar{display:none}
.sx-tile{position:relative;flex:none;width:92px;height:92px;border-radius:18px;opacity:.5;transition:opacity .25s,transform .25s,box-shadow .25s;outline-offset:4px}
.sx-tile img{display:block;width:100%;height:100%;object-fit:cover;border-radius:18px}
.sx-tile:hover{opacity:.9}
.sx-tile.on{opacity:1;transform:scale(1.12);box-shadow:0 0 0 2px #fff,0 16px 30px rgba(0,0,0,.5)}
.sx-tile b{position:absolute;left:10px;right:10px;bottom:-14px;height:3px;border-radius:3px;background:rgba(255,255,255,.2);overflow:hidden;opacity:0}
.sx-tile.on b{opacity:1}
.sx-tile b::after{content:"";position:absolute;inset:0;background:#fff;transform:scaleX(0);transform-origin:right center}
.sx.play .sx-tile.on b::after{animation:sx-bar var(--sx-t,6s) linear forwards}
@keyframes sx-bar{to{transform:scaleX(1)}}
.sx-count{flex:none;font-family:var(--fh);font-size:14px;color:rgba(255,255,255,.6);padding-bottom:16px;font-variant-numeric:tabular-nums}
.sx-count b{color:#fff;font-size:22px;font-weight:800}

/* home shelves: both panels visible, each a horizontal shelf */
.home.sx-on .st-ps .st-ps-tabs,.home.sx-on .st-ps .st-ps-r{display:none!important}
.home.sx-on .st-ps .royo-sec-title,.home.sx-on .st-ps .royo-sec-sub{text-align:right}
.home.sx-on .st-ps .st-ps-panel{display:block!important;position:relative}
.home.sx-on .st-ps .st-ps-panel+.st-ps-panel{margin-top:34px}
.home.sx-on .st-ps .st-ps-panel+.st-ps-panel::before{content:"اشتراكات بلس";display:block;font-family:var(--fh);font-weight:800;color:#fff;font-size:clamp(24px,3vw,34px);margin-bottom:6px}
.home.sx-on .st-ps-grid{display:flex;gap:16px;overflow-x:auto;scroll-snap-type:x proximity;padding:18px 4px 26px;margin:0 -4px;scrollbar-width:none;scroll-behavior:smooth}
.home.sx-on .st-ps-grid::-webkit-scrollbar{display:none}
.home.sx-on .st-ps-card{flex:none;width:236px;scroll-snap-align:start}
.home.sx-on .st-ps-more{text-align:right;margin-top:0}
.sx-arrows{position:absolute;top:-52px;left:0;display:flex;gap:8px}
.st-ps-panel+.st-ps-panel .sx-arrows{top:2px}
.sx-arrows button{width:42px;height:42px;border-radius:50%;border:1px solid var(--line2);background:rgba(14,19,26,.6);color:#fff;font-size:20px;line-height:1;cursor:pointer;display:grid;place-items:center;padding:0;transition:border-color .15s,background .15s}
.sx-arrows button:hover{border-color:#fff;background:rgba(255,255,255,.1)}

/* ---------- category / shop ---------- */
.sx-on .storefront-breadcrumb{margin:0!important;padding:14px 0 0!important;background:transparent!important}
.sx-on .woocommerce-products-header{padding:26px 0 6px;text-align:right}
html body.sx-on .woocommerce-products-header__title{font-size:clamp(32px,5vw,58px)!important;line-height:1.3;margin:0 0 8px;color:#fff!important;text-wrap:balance}
.sx-on .term-description{margin:0!important}
.sx-on .term-description p{font-size:17px;color:#C6D0DA;margin:0;max-width:720px}
.sx-on .storefront-sorting{margin:18px 0 22px!important;padding:0!important}
.sx-on .woocommerce-result-count{display:none}

/* ---------- product: the game screen ---------- */
.sx-on.single-product .woocommerce-product-gallery{perspective:1100px}
.sx-on.single-product .woocommerce-product-gallery__wrapper{border-radius:30px;transform:rotateY(var(--ry,0deg)) rotateX(var(--rx,0deg));transition:transform .25s ease-out;box-shadow:0 44px 90px -24px rgba(0,0,0,.85),0 0 0 1px rgba(255,255,255,.12)}
.sx-on.single-product .woocommerce-product-gallery__image,.sx-on.single-product .woocommerce-product-gallery__image img{border-radius:30px;overflow:hidden}
.sx-on.single-product .woocommerce-product-gallery__image:first-child img{view-transition-name:sx-cover}
html body.sx-on.single-product .product_title{font-size:clamp(30px,3.6vw,48px)!important;line-height:1.3;color:#fff!important;text-wrap:balance;text-shadow:0 2px 30px rgba(0,0,0,.4)}
html body.sx-on.single-product .summary p.price,html body.sx-on.single-product .summary p.price .amount{color:#fff!important;font-size:38px}
.sx-on.single-product .summary form.cart,.sx-on.single-product .royo-pp-feat{-webkit-backdrop-filter:var(--glass);backdrop-filter:var(--glass)}
.sx-on.single-product .woocommerce-tabs .panel li,.sx-on.single-product .woocommerce-tabs .panel p{color:var(--ink2)}

@media(max-width:860px){
  .sx{margin-top:-70px;padding-top:92px}
  .sx-in{grid-template-columns:1fr;gap:22px;min-height:0;text-align:center}
  .sx-art{order:-1;max-width:250px}
  .sx-tilt{--ry:0deg;--rx:0deg;border-radius:24px}
  .sx-tilt img{border-radius:24px}
  html body .sx .sx-sub{text-align:center;font-size:14px}
  html body .sx .sx-price{font-size:26px;margin-top:10px}
  .sx-btns{justify-content:center;margin-top:16px}
  html body .sx a.sx-cta{flex:1 1 100%;justify-content:center}
  html body .sx a.sx-alt{flex:1 1 0;justify-content:center;min-height:48px;padding:0 10px;white-space:nowrap}
  .sx-railwrap{margin-top:14px}
  .sx-count,.sx-arrows{display:none}
  .sx-tile{width:72px;height:72px;border-radius:14px}
  .sx-tile img{border-radius:14px}
  .sx-rail{gap:12px;padding-inline:8px}
  .home.sx-on .st-ps-card{width:172px}
  .home.sx-on .st-ps-grid{gap:12px}
}
@media(prefers-reduced-motion:reduce){
  @view-transition{navigation:none}
  .sx-tilt,.sx-amb::before,.sx-amb::after{animation:none}
  .sx-bg i,.sx-now,.sx-tilt img,.sx-tile{transition:none}
  .sx-rise{opacity:1;transform:none}
}

/* ---------- round 2 fixes ---------- */
html body.sx-on .sx-arrows button{width:42px!important;height:42px!important;min-height:0!important;border-radius:50%!important;border:1px solid var(--line2)!important;background:rgba(14,19,26,.6)!important;color:#fff!important;padding:0!important;font-size:22px!important;box-shadow:none!important}
html body.sx-on .sx-arrows button:hover{border-color:#fff!important;background:rgba(255,255,255,.12)!important}
.sx-on .storefront-product-pagination,.sx-on .woocommerce-product-gallery__trigger,.sx-on.single-product .woocommerce-product-gallery>.royo-pp-badge,.sx-on.single-product .storefront-sticky-add-to-cart{display:none!important}
html body.sx-on.single-product .woocommerce-product-gallery{background:transparent!important;border:0!important;padding:0!important;box-shadow:none!important;overflow:visible!important}
.sx-on.single-product .woocommerce-product-gallery__wrapper{overflow:hidden;margin:0!important}
.sx-on.single-product .woocommerce-product-gallery__image a{display:block}
.sx-on.single-product .product_title .sx-en{display:block;font-size:.5em;font-weight:500;color:rgba(255,255,255,.72);margin-top:8px;font-family:var(--fb)}
.sx-on.single-product .summary p.price{margin-top:14px!important}
.sx-on .royo-pp-badge{display:none!important}
html body.sx-on.single-product div.product div.woocommerce-product-gallery.images{background:transparent!important;border:0!important;padding:0!important;box-shadow:none!important;overflow:visible!important}
.sx-on ul.products li.product .woocommerce-loop-product__title .sx-en{display:block;font-family:var(--fb);font-weight:500;font-size:.82em;color:var(--mut);margin-top:4px}

/* =====================================================================
   Round 3 — light motion, product page, cart and checkout
   ===================================================================== */
@keyframes sx-up{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none}}
@keyframes sx-shine{0%,70%{transform:translateX(120%) skewX(-20deg)}100%{transform:translateX(-220%) skewX(-20deg)}}
.sx-on .sxh{animation:sx-up .5s ease both}
.sx-on a.button:active,.sx-on button:active,.sx-on .sx-cta:active,.sx-on .royo-pp-buynow:active,.sx-on .st-ps-card:active{transform:scale(.97)}
.sx .sx-copy>*{animation:sx-up .6s ease both}
.sx .sx-copy>*:nth-child(2){animation-delay:.08s}
.sx .sx-copy>*:nth-child(3){animation-delay:.16s}
.sx .sx-copy>*:nth-child(4){animation-delay:.24s}
.sx .sx-art{animation:sx-up .7s .1s ease both}
.sx .sx-railwrap{animation:sx-up .6s .3s ease both}

/* ---------- product ---------- */
.sx-on.single-product .summary>*{animation:sx-up .55s ease both}
.sx-on.single-product .summary>*:nth-child(2){animation-delay:.05s}
.sx-on.single-product .summary>*:nth-child(3){animation-delay:.1s}
.sx-on.single-product .summary>*:nth-child(4){animation-delay:.15s}
.sx-on.single-product .summary>*:nth-child(5){animation-delay:.2s}
.sx-on.single-product .summary>*:nth-child(n+6){animation-delay:.25s}
html body.sx-on.single-product .summary p.price{display:flex;align-items:baseline;gap:8px;margin:14px 0 6px!important;font-family:var(--fh);font-weight:800;line-height:1.2}
html body.sx-on.single-product .summary p.price .amount{font-size:44px}
html body.sx-on.single-product .summary p.price .woocommerce-Price-currencySymbol{font-size:.5em;color:rgba(255,255,255,.75)!important;font-weight:600}
html body.sx-on.single-product .summary form.cart{border-radius:22px!important;border:1px solid var(--line2)!important;background:rgba(14,19,26,.55)!important;padding:16px!important}
html body.sx-on.single-product .royo-pp-buynow{position:relative;overflow:hidden;min-height:58px;font-size:18px!important;font-weight:700!important;border-radius:16px!important;box-shadow:0 14px 34px -12px rgba(61,220,151,.7)!important;transition:transform .15s,box-shadow .15s}
html body.sx-on.single-product .royo-pp-buynow::after{content:"";position:absolute;top:0;bottom:0;left:0;width:40%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.45),transparent);animation:sx-shine 5s ease-in-out infinite;pointer-events:none}
html body.sx-on.single-product .royo-pp-buynow:hover{transform:translateY(-2px)}
html body.sx-on.single-product .single_add_to_cart_button{min-height:58px;border-radius:16px!important}
.sx-on.single-product .product_meta{display:none}
/* facts as a stats sheet */
.sx-on.single-product .royo-pp-feats{gap:0!important;border:1px solid var(--line2);border-radius:22px;overflow:hidden;background:rgba(14,19,26,.5);-webkit-backdrop-filter:var(--glass);backdrop-filter:var(--glass);margin-top:16px!important}
html body.sx-on.single-product .royo-pp-feat{background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;padding:14px 18px!important;display:block!important;border-bottom:1px solid var(--line)!important;-webkit-backdrop-filter:none;backdrop-filter:none}
html body.sx-on.single-product .royo-pp-feat:nth-child(odd){border-inline-end:1px solid var(--line)!important}
.sx-on.single-product .royo-pp-feat .ic{display:none!important}
.sx-on.single-product .royo-pp-feat small{display:block;font-size:12.5px;color:var(--mut);margin-bottom:2px}
.sx-on.single-product .royo-pp-feat b{display:block;font-weight:600;font-size:15px;color:#fff;line-height:1.7}
/* description */
html body.sx-on.single-product .woocommerce-tabs{width:100%!important;float:none!important;max-width:900px;margin:44px auto 0!important;padding:0!important}
html body.sx-on.single-product .woocommerce-tabs .woocommerce-Tabs-panel{border-radius:26px!important;padding:34px clamp(18px,4vw,44px)!important;margin-top:0!important;width:100%!important;float:none!important}
.sx-on.single-product #tab-description>h2:first-child{display:none}
html body.sx-on.single-product .woocommerce-Tabs-panel h2{font-size:24px!important;margin:30px 0 10px!important;line-height:1.5}
html body.sx-on.single-product .woocommerce-Tabs-panel h3{font-size:17.5px!important;font-weight:700;margin:0!important;padding:16px 0 4px;border-top:1px solid var(--line);line-height:1.7}
html body.sx-on.single-product .woocommerce-Tabs-panel h3+p{margin:0 0 14px;color:#C6D0DA}
html body.sx-on.single-product .woocommerce-Tabs-panel p{line-height:2}
.sx-on.single-product .royo-pp-steps{max-width:900px;margin:22px auto 0!important}
html body.sx-on.single-product .royo-pp-step{background:var(--card)!important;border:1px solid var(--line)!important;box-shadow:none!important;border-radius:20px!important}
html body.sx-on.single-product .royo-pp-step b{color:#fff!important}
html body.sx-on.single-product .royo-pp-step span{color:var(--mut)!important}
html body.sx-on.single-product .royo-pp-step .n{background:var(--p)!important;color:var(--on)!important;box-shadow:0 0 22px rgba(61,220,151,.5)!important}
.sx-on.single-product section.related{margin-top:54px}
.sx-on.single-product section.related>h2{text-align:right;font-size:clamp(24px,3vw,32px);margin-bottom:18px}
html body.sx-on .royo-pp-sticky{background:rgba(14,19,26,.86)!important;border:1px solid var(--line2)!important;border-radius:22px;inset:auto 12px calc(10px + env(safe-area-inset-bottom)) 12px!important;-webkit-backdrop-filter:var(--glass);backdrop-filter:var(--glass);box-shadow:0 18px 40px -12px rgba(0,0,0,.9)!important}
html body.sx-on .royo-pp-sticky .sp b,html body.sx-on .royo-pp-sticky .sp b .amount{color:#fff!important;font-size:18px}
html body.sx-on .royo-pp-sticky .sp span{color:var(--mut)!important}
html body.sx-on .royo-pp-sticky .sbtn{background:var(--p)!important;color:var(--on)!important;border-radius:14px!important;box-shadow:none!important;font-weight:700!important}
@media(max-width:760px){
  html body.sx-on.single-product .royo-pp-feat{border-inline-end:0!important}
  html body.sx-on.single-product .summary p.price .amount{font-size:38px}
}

/* ---------- cart + checkout ---------- */
.sx-on.woocommerce-cart .site-content>.col-full,.sx-on.woocommerce-checkout .site-content>.col-full{max-width:1080px}
html body.sx-on.woocommerce-cart .entry-title,html body.sx-on.woocommerce-checkout .entry-title{text-align:right!important;font-size:clamp(28px,4vw,40px)!important;margin:10px 0 18px!important;padding:0!important}
.sx-on.woocommerce-cart .entry-header,.sx-on.woocommerce-checkout .entry-header{margin:0!important;padding:0!important}
.sx-on .wc-block-components-product-metadata__description,.sx-on .wc-block-cart-items__header,.sx-on .wc-block-cart-item__prices,.sx-on .wc-block-checkout__add-note,.sx-on .wc-block-components-address-form__country,.sx-on .wc-block-components-checkout-step__description{display:none!important}
.sx-on .wc-block-cart-item__image img,.sx-on .wc-block-components-order-summary-item__image img{border-radius:14px}
.sx-on .wc-block-cart-item__image{width:110px!important}
.sx-on .wc-block-cart-item__image img{width:96px!important;max-width:none}
.sx-on .wc-block-components-product-name{font-family:var(--fh);font-weight:700;font-size:17px!important;color:#fff!important}
.sx-on table.wc-block-cart-items,.sx-on table.wc-block-cart-items td{border-color:var(--line)!important}
.sx-on .wc-block-cart-items{background:var(--card);border:1px solid var(--line)!important;border-radius:22px;padding:6px 16px;-webkit-backdrop-filter:var(--glass);backdrop-filter:var(--glass)}
.sx-on .wc-block-cart__sidebar,.sx-on .wc-block-checkout__sidebar{background:var(--card);border:1px solid var(--line2);border-radius:22px;padding:18px!important;-webkit-backdrop-filter:var(--glass);backdrop-filter:var(--glass)}
.sx-on .wc-block-components-totals-footer-item{align-items:baseline}
.sx-on .wc-block-components-totals-footer-item .wc-block-components-totals-item__label{font-size:17px!important;font-weight:600;color:var(--ink2)}
.sx-on .wc-block-components-totals-footer-item .wc-block-components-totals-item__value{font-family:var(--fh);font-weight:800;font-size:34px!important;color:#fff!important;line-height:1.2}
html body.sx-on .wc-block-cart__submit-button,html body.sx-on .wc-block-components-checkout-place-order-button{min-height:60px!important;border-radius:16px!important;font-size:18px!important;font-weight:700!important;box-shadow:0 14px 34px -12px rgba(61,220,151,.7)!important;transition:transform .15s}
html body.sx-on .wc-block-cart__submit-button:hover,html body.sx-on .wc-block-components-checkout-place-order-button:hover{transform:translateY(-2px)}
.sx-on .wc-block-checkout__contact-fields .wc-block-components-checkout-step__title,.sx-on .wc-block-checkout__billing-fields .wc-block-components-checkout-step__title,.sx-on .wc-block-checkout__payment-method .wc-block-components-checkout-step__title{font-size:0!important}
.sx-on .wc-block-components-checkout-step__title::after{font-size:20px;font-family:var(--fh);font-weight:800;color:#fff}
.sx-on .wc-block-checkout__contact-fields .wc-block-components-checkout-step__title::after{content:"بريدك الإلكتروني"}
.sx-on .wc-block-checkout__billing-fields .wc-block-components-checkout-step__title::after{content:"الاسم ورقم الجوال"}
.sx-on .wc-block-checkout__payment-method .wc-block-components-checkout-step__title::after{content:"طريقة الدفع"}
.sx-on .wc-block-components-address-form{display:grid!important;grid-template-columns:1fr 1fr;gap:12px}
.sx-on .wc-block-components-address-form>*{margin:0!important;width:auto!important;flex:none!important}
@media(max-width:560px){.sx-on .wc-block-components-address-form{grid-template-columns:1fr}}
.sx-on .wc-block-components-text-input input{border-radius:14px!important;min-height:56px}
.sx-on .wc-block-components-text-input input:focus{border-color:var(--p)!important;box-shadow:0 0 0 3px rgba(61,220,151,.22)!important}
.sx-on .wc-block-checkout__main .wc-block-components-checkout-step{background:var(--card);border:1px solid var(--line);border-radius:22px;padding:18px!important;margin-bottom:14px!important;-webkit-backdrop-filter:var(--glass);backdrop-filter:var(--glass)}
.sx-on .wc-block-checkout__terms{font-size:13.5px;color:var(--mut)}

@media(prefers-reduced-motion:reduce){
  .sx-on .sxh,.sx .sx-copy>*,.sx .sx-art,.sx .sx-railwrap,.sx-on.single-product .summary>*{animation:none}
  html body.sx-on.single-product .royo-pp-buynow::after{display:none}
}

/* ---------- round 4 ---------- */
.sx-on .wc-block-checkout__order-notes,.sx-on .wc-block-checkout__guest-checkout-notice,.sx-on .wc-block-components-checkout-step__heading-content{display:none!important}
.sx-on .wc-block-checkout__contact-fields .wc-block-components-checkout-step__content>*,.sx-on .wc-block-checkout__contact-fields .wc-block-components-text-input{width:100%!important;max-width:none!important;flex:1 1 100%!important}
html body.sx-on .wc-block-cart__submit-container,html body.sx-on .wc-block-cart__submit{background:transparent!important;box-shadow:none!important}
html body.sx-on .wc-block-cart__submit-container::before{display:none!important}
.sx-on.single-product .woocommerce-product-gallery__image img{width:100%!important;height:auto;display:block}
.sx-on.single-product .woocommerce-product-gallery__image{width:100%!important}
.sx-on.single-product .royo-pp-feat:last-child:nth-child(odd){grid-column:1/-1;border-inline-end:0!important}
html body.sx-on.single-product .royo-pp-feat:nth-last-child(-n+1){border-bottom:0!important}
.sx-on .wc-block-components-radio-control__label,.sx-on .wc-block-components-payment-method-label{font-weight:600;color:#fff}
.sx-on .wc-block-checkout__contact-fields .wc-block-components-address-form{grid-template-columns:1fr!important}

/* ---------- round 5: review pass ---------- */
/* home is now written in its final order */
.home.sx-on .entry-content>*{order:0!important}
.home.sx-on .royo-seo-text,.home.sx-on .royo-seo-text p{color:var(--mut)!important}
/* product grids: even columns on every screen */
html body.sx-on ul.products{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:18px;margin:0 0 24px!important;padding:0!important}
html body.sx-on ul.products::before,html body.sx-on ul.products::after{display:none!important}
html body.sx-on ul.products li.product{width:auto!important;margin:0!important;float:none!important}
@media(max-width:600px){
  html body.sx-on ul.products{grid-template-columns:1fr 1fr;gap:10px}
  html body.sx-on ul.products li.product{padding:10px!important}
  html body.sx-on ul.products li.product .woocommerce-loop-product__title{font-size:.92em!important}
  html body.sx-on ul.products li.product .price{font-size:1.1em!important;margin:.3em 0 .6em}
  html body.sx-on ul.products li.product .button{font-size:13px!important;padding:10px 6px!important;min-height:0!important}
}
/* blog */
html body.sx-on.blog .entry-title a,html body.sx-on.archive .entry-title a,html body.sx-on.blog .entry-title,html body.sx-on.archive .entry-title{color:#fff!important}
html body.sx-on .entry-title a:hover{color:var(--p)!important}
html body.sx-on .posted-on a,html body.sx-on .post-author a,html body.sx-on .entry-meta a,html body.sx-on .entry-header .posted-on,html body.sx-on .entry-header .post-author{color:var(--mut)!important}
html body.sx-on.single-post .entry-content strong,html body.sx-on.single-post .entry-content li strong{color:#fff!important}
html body.sx-on.single-post .entry-content h3{font-size:19px!important;line-height:1.7;margin:22px 0 4px!important}

/* ---------- round 6: policy and about pages read as one centered column ---------- */
.sx-on.page-id-16 .site-main,.sx-on.page-id-17 .site-main,.sx-on.page-id-18 .site-main,.sx-on.page-id-19 .site-main,.sx-on.page-id-20 .site-main,.sx-on.page-id-101 .site-main{max-width:880px;margin-inline:auto}
.sx-on.page-id-16 .storefront-breadcrumb .col-full,.sx-on.page-id-17 .storefront-breadcrumb .col-full,.sx-on.page-id-18 .storefront-breadcrumb .col-full,.sx-on.page-id-19 .storefront-breadcrumb .col-full,.sx-on.page-id-20 .storefront-breadcrumb .col-full,.sx-on.page-id-101 .storefront-breadcrumb .col-full{max-width:880px}
html body.sx-on.page:not(.home) .entry-header .entry-title{font-size:clamp(28px,4vw,42px)!important;line-height:1.35;margin:10px 0 16px!important;text-wrap:balance}
html body.sx-on.page:not(.home) .entry-content h2{font-size:22px!important;margin:28px 0 8px!important;line-height:1.5}
html body.sx-on.page:not(.home) .entry-content p,html body.sx-on.page:not(.home) .entry-content li{line-height:2}
