:root{
 --rex-color-void:#02070B;
 --rex-color-deep-teal:#03171E;
 --rex-color-petrol:#082B38;
 --rex-color-teal-shadow:#134B5D;
 --rex-color-aqua-glow:#1A899B;
 --rex-color-cyan-light:#58CAD5;
 --rex-color-gold-shadow:#694E2A;
 --rex-color-gold-dark:#886C42;
 --rex-color-gold:#AE8E5B;
 --rex-color-gold-light:#D2B278;
 --rex-color-gold-highlight:#EFD79D;
 --rex-color-text:#EDEDD6;
 --rex-color-muted:#A9B4B6;
 --rex-color-surface:#06131A;
 --rex-color-surface-2:#0A1D25;
 --rex-color-surface-3:#102833;
 --rex-color-border:rgba(210,178,120,.18);
 --rex-color-border-strong:rgba(210,178,120,.32);
 --rex-color-glass:rgba(3,20,27,.78);
 --rex-color-shadow:rgba(0,0,0,.35);
 --rex-color-shadow-soft:rgba(0,0,0,.18);
 --rex-color-overlay-heavy:rgba(2,7,11,.82);
 --rex-color-overlay-soft:rgba(2,7,11,.46);
 --rex-gradient-gold:linear-gradient(135deg,var(--rex-color-gold-highlight),var(--rex-color-gold));
 --rex-gradient-surface:linear-gradient(180deg,var(--rex-color-surface),var(--rex-color-void));
 --rex-gradient-footer:linear-gradient(180deg,rgba(3,23,30,.2),var(--rex-color-void));
 --rex-shadow-card:0 18px 36px rgba(0,0,0,.22);
 --rex-shadow-glow:0 0 60px rgba(26,137,155,.14);
 --rex-radius-xs:10px;
 --rex-radius-sm:12px;
 --rex-radius-md:16px;
 --rex-radius-lg:24px;
 --rex-radius-xl:32px;
 --rex-container:1440px;
 --rex-header-height:78px;
 --rex-header-height-mobile:68px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--rex-color-void);color:var(--rex-color-text)}
img{max-width:100%;height:auto}
a{color:inherit;transition:color .2s ease,opacity .2s ease,border-color .2s ease,transform .2s ease}
button,input,select,textarea{font:inherit}
.wp-site-blocks{overflow:hidden}
::selection{background:rgba(210,178,120,.28);color:var(--rex-color-text)}

.rex-footer{margin-top:clamp(4rem,8vw,8rem);padding-block:3rem;background:var(--rex-gradient-footer);border-top:1px solid var(--rex-color-border)}
.rex-editorial-card{overflow:hidden;border:1px solid rgba(210,178,120,.13);border-radius:var(--rex-radius-lg);background:var(--rex-color-deep-teal);padding:1rem;box-shadow:var(--rex-shadow-card)}
.rex-editorial-card img{border-radius:calc(var(--rex-radius-lg) - 6px)}
.rex-surface{background:var(--rex-color-surface)}
.rex-surface--alt{background:var(--rex-color-surface-2)}
.rex-border-gold{border:1px solid var(--rex-color-border)}
.rex-text-muted{color:var(--rex-color-muted)}
.rex-text-gold{color:var(--rex-color-gold-light)}

@media (prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}

/* REX global site background: responsive image behind transparent site sections. */
html{background:var(--rex-color-void)}
body.rex-site-background{position:relative;isolation:isolate;background:transparent}
body.rex-site-background::before,
body.rex-site-background::after{content:"";position:fixed;inset:0;pointer-events:none}
/* Keep the darkness layer in the SAME background stack as the image.
   This avoids negative-z-index stacking differences where the old ::after overlay
   could sit behind the image and make the admin darkness control appear ineffective. */
body.rex-site-background::before{
  z-index:-1;
  background-image:
    linear-gradient(rgba(2,7,11,var(--rex-site-bg-overlay,.36)),rgba(2,7,11,var(--rex-site-bg-overlay,.36))),
    var(--rex-site-bg-desktop);
  background-size:cover,cover;
  background-repeat:no-repeat,no-repeat;
  background-position:center center,var(--rex-site-bg-position,center center);
  transform:translateZ(0)
}
body.rex-site-background::after{display:none!important}
@media(max-width:980px){body.rex-site-background::before{background-image:linear-gradient(rgba(2,7,11,var(--rex-site-bg-overlay,.36)),rgba(2,7,11,var(--rex-site-bg-overlay,.36))),var(--rex-site-bg-tablet,var(--rex-site-bg-desktop))}}
@media(max-width:640px){body.rex-site-background::before{background-image:linear-gradient(rgba(2,7,11,var(--rex-site-bg-overlay,.36)),rgba(2,7,11,var(--rex-site-bg-overlay,.36))),var(--rex-site-bg-mobile,var(--rex-site-bg-tablet,var(--rex-site-bg-desktop)))}}

/* REX 2.4.0 — global background motion */
body.rex-site-background{
 --rex-site-bg-motion-scale:1.04;
 --rex-site-bg-motion-shift:18px;
 --rex-site-bg-motion-shift-neg:-18px;
 --rex-site-bg-motion-duration:28s;
 --rex-site-bg-parallax-y:0px;
}
body.rex-site-background::before{will-change:transform;transform:translate3d(0,var(--rex-site-bg-parallax-y,0px),0) scale(1.02);transition:transform .18s linear}
body.rex-site-background::after{transition:opacity .25s ease}
body.rex-site-background.has-water-light .wp-site-blocks::before{content:"";position:fixed;inset:0;pointer-events:none;z-index:0;opacity:.42;background:linear-gradient(115deg,transparent 12%,rgba(88,202,213,.08) 24%,transparent 35%),radial-gradient(circle at 22% 18%,rgba(26,137,155,.12),transparent 30%),radial-gradient(circle at 78% 0%,rgba(88,202,213,.09),transparent 22%);mix-blend-mode:screen;animation:rex-water-light 14s ease-in-out infinite}
body.rex-site-background .wp-site-blocks{position:relative;z-index:1}
body.rex-site-background.rex-site-background--motion-cinematic-zoom::before{animation:rex-site-bg-cinematic var(--rex-site-bg-motion-duration,28s) ease-in-out infinite alternate}
body.rex-site-background.rex-site-background--motion-deep-drift::before{animation:rex-site-bg-drift var(--rex-site-bg-motion-duration,28s) ease-in-out infinite alternate}
body.rex-site-background.rex-site-background--motion-ocean-float::before{animation:rex-site-bg-float var(--rex-site-bg-motion-duration,24s) ease-in-out infinite alternate}
body.rex-site-background.rex-site-background--motion-breathing-depth::before{animation:rex-site-bg-breathing calc(var(--rex-site-bg-motion-duration,30s) * .9) ease-in-out infinite}
body.rex-site-background.rex-site-background--motion-scroll-parallax::before{animation:none;transform:translate3d(0,var(--rex-site-bg-parallax-y,0px),0) scale(1.03)}
@media(max-width:640px){body.rex-site-background:not(.rex-site-background--motion-mobile)::before,body.rex-site-background:not(.rex-site-background--motion-mobile).has-water-light .wp-site-blocks::before{animation:none!important;transform:translate3d(0,0,0) scale(1.02)}}
@keyframes rex-site-bg-cinematic{0%{transform:translate3d(0,0,0) scale(1.02)}100%{transform:translate3d(0,0,0) scale(var(--rex-site-bg-motion-scale,1.06))}}
@keyframes rex-site-bg-drift{0%{transform:translate3d(var(--rex-site-bg-motion-shift-neg,-18px),0,0) scale(1.03)}50%{transform:translate3d(0,var(--rex-site-bg-motion-shift-neg,-18px),0) scale(var(--rex-site-bg-motion-scale,1.05))}100%{transform:translate3d(var(--rex-site-bg-motion-shift,18px),var(--rex-site-bg-motion-shift,18px),0) scale(1.04)}}
@keyframes rex-site-bg-float{0%{transform:translate3d(0,0,0) scale(1.025)}50%{transform:translate3d(0,var(--rex-site-bg-motion-shift-neg,-18px),0) scale(var(--rex-site-bg-motion-scale,1.045))}100%{transform:translate3d(0,var(--rex-site-bg-motion-shift,18px),0) scale(1.03)}}
@keyframes rex-site-bg-breathing{0%,100%{transform:translate3d(0,0,0) scale(1.02)}50%{transform:translate3d(0,0,0) scale(var(--rex-site-bg-motion-scale,1.05))}}
@keyframes rex-water-light{0%,100%{transform:translate3d(0,0,0);opacity:.30}50%{transform:translate3d(16px,-10px,0);opacity:.46}}

/* REX 2.4.0 — Shop by World final pass */
.rex-world__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.rex-world-card{position:relative;min-height:520px;padding:0;display:block;border:1px solid rgba(210,178,120,.16);border-radius:28px;background:linear-gradient(180deg,rgba(8,43,56,.52),rgba(2,7,11,.9));overflow:hidden;box-shadow:0 30px 60px rgba(0,0,0,.26);transition:transform .28s ease,border-color .28s ease,box-shadow .28s ease}
.rex-world-card:hover{transform:translateY(-6px);border-color:rgba(210,178,120,.45);box-shadow:0 40px 78px rgba(0,0,0,.32)}
.rex-world-card__media{position:absolute;inset:0;display:block;overflow:hidden}
.rex-world-card__img,.rex-world-card__placeholder{width:100%;height:100%;display:block;object-fit:cover}
.rex-world-card__placeholder{background:radial-gradient(circle at 50% 25%,rgba(26,137,155,.25),transparent 34%),linear-gradient(180deg,#0d313e 0,#071219 85%)}
.rex-world-card__veil{position:absolute;inset:0;background:linear-gradient(180deg,rgba(2,7,11,.06) 0,rgba(2,7,11,.16) 34%,rgba(2,7,11,.88) 100%)}
.rex-world-card__body{position:relative;z-index:1;display:flex;flex-direction:column;justify-content:flex-end;min-height:520px;padding:26px}
.rex-world-card__kicker{display:inline-flex;align-items:center;gap:8px;font-size:.76rem;letter-spacing:.16em;text-transform:uppercase;color:var(--rex-color-gold-light);opacity:.92}
.rex-world-card strong{margin-top:auto;font-size:2rem;line-height:1.08;color:var(--rex-color-text)}
.rex-world-card small{display:block;margin-top:.75rem;max-width:28ch;font-size:.95rem;line-height:1.75;color:rgba(237,237,214,.76)}
.rex-world-card__cta{display:inline-flex;align-items:center;gap:.45rem;margin-top:1.15rem;font-weight:700;color:var(--rex-color-gold-highlight)}
.rex-world-card__cta b{font-size:1rem;transform:translateY(-1px)}
@media(max-width:980px){.rex-world__grid{grid-template-columns:1fr}.rex-world-card,.rex-world-card__body{min-height:420px}}


/* REX 2.5.0 — Discus product card final */
.rex-product-grid{display:grid;grid-template-columns:repeat(var(--rex-cols,4),minmax(0,1fr));gap:24px}
@media(max-width:1024px){.rex-product-grid{grid-template-columns:repeat(min(2,var(--rex-cols,4)),minmax(0,1fr))}}
@media(max-width:640px){.rex-product-grid{grid-template-columns:1fr;gap:18px}}
.rex-product-card{position:relative;border:1px solid rgba(210,178,120,.18);border-radius:26px;overflow:hidden;background:linear-gradient(180deg,rgba(8,43,56,.38),rgba(2,7,11,.88));box-shadow:0 18px 42px rgba(0,0,0,.22);transition:transform .25s ease,border-color .25s ease,box-shadow .25s ease}
.rex-product-card:hover{transform:translateY(-5px);border-color:rgba(239,215,157,.34);box-shadow:0 28px 56px rgba(0,0,0,.28)}
.rex-card__media-wrap{position:relative}
.rex-card__image{display:block;aspect-ratio:var(--rex-card-ratio,1/1);background:rgba(2,7,11,.55);overflow:hidden}
.rex-card__image img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .35s ease}
.rex-product-card:hover .rex-card__image img{transform:scale(1.035)}
.rex-card__wishlist-wrap,.rex-card__badges{position:absolute;top:14px;z-index:2}
.rex-card__wishlist-wrap{left:14px}
.rex-card__badges{right:14px;display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end;max-width:72%}
.rex-card__wishlist{width:42px;height:42px;border-radius:999px;border:1px solid rgba(239,215,157,.28);background:rgba(2,7,11,.54);backdrop-filter:blur(10px);display:grid;place-items:center;color:var(--rex-color-text);cursor:pointer;transition:transform .2s ease,border-color .2s ease,background .2s ease,color .2s ease}
.rex-card__wishlist:hover,.rex-card__wishlist.is-active{transform:translateY(-1px);border-color:rgba(239,215,157,.55);background:rgba(105,78,42,.42);color:var(--rex-color-gold-highlight)}
.rex-card__wishlist-heart{font-size:1.3rem;line-height:1}
.rex-card__badge{display:inline-flex;align-items:center;min-height:34px;padding:0 12px;border-radius:999px;border:1px solid rgba(239,215,157,.24);background:rgba(2,7,11,.56);backdrop-filter:blur(10px);font-size:.86rem;font-weight:700;color:var(--rex-color-text)}
.rex-card__badge.is-selected{border-color:rgba(239,215,157,.38);color:var(--rex-color-gold-highlight)}
.rex-card__badge.is-sale{border-color:rgba(88,202,213,.26);color:#9fe7ee}
.rex-card__body{display:grid;gap:14px;padding:18px 18px 20px}
.rex-card__title h3{margin:0;font-size:1.35rem;line-height:1.4}
.rex-card__title a{color:var(--rex-color-text);text-decoration:none}
.rex-card__title a:hover{color:var(--rex-color-gold-highlight)}
.rex-card__meta{display:grid;gap:10px}
.rex-card__meta-item{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:10px;border-bottom:1px solid rgba(210,178,120,.12)}
.rex-card__meta-item small{font-size:.9rem;color:rgba(237,237,214,.7)}
.rex-card__meta-item b{font-size:.97rem;color:var(--rex-color-text);font-weight:700;text-align:left}
.rex-card__price{display:flex;align-items:flex-end;gap:10px;flex-wrap:wrap;padding-top:2px;font-weight:700;color:var(--rex-color-gold-highlight)}
.rex-card__price .price{display:flex;align-items:flex-end;gap:10px;flex-wrap:wrap}
.rex-card__price del{opacity:.55;font-size:.96rem;color:rgba(237,237,214,.72)}
.rex-card__price ins{text-decoration:none;color:var(--rex-color-gold-highlight)}
.rex-card__stock,.rex-card__actions{display:none!important}

/* REX 2.5.1 — WooCommerce catalog loops use the same REX cards */
.woocommerce ul.products,
.woocommerce-page ul.products{display:grid!important;grid-template-columns:repeat(var(--rex-shop-cols-desktop,4),minmax(0,1fr));gap:24px;margin:0!important;padding:0!important;list-style:none!important}
.woocommerce ul.products::before,.woocommerce ul.products::after,
.woocommerce-page ul.products::before,.woocommerce-page ul.products::after{display:none!important;content:none!important}
.woocommerce ul.products li.product.rex-wc-loop-card,
.woocommerce-page ul.products li.product.rex-wc-loop-card{float:none!important;width:auto!important;margin:0!important;padding:0!important;clear:none!important;background:transparent!important}
.woocommerce ul.products li.product.rex-wc-loop-card .rex-product-card,
.woocommerce-page ul.products li.product.rex-wc-loop-card .rex-product-card{height:100%}
.woocommerce ul.products li.product.rex-wc-loop-card .button,
.woocommerce-page ul.products li.product.rex-wc-loop-card .button{display:none!important}
@media(max-width:1024px){.woocommerce ul.products,.woocommerce-page ul.products{grid-template-columns:repeat(var(--rex-shop-cols-tablet,2),minmax(0,1fr))}}
@media(max-width:640px){.woocommerce ul.products,.woocommerce-page ul.products{grid-template-columns:repeat(var(--rex-shop-cols-mobile,1),minmax(0,1fr));gap:18px}}


/* REX 2.5.2 — WooCommerce Product Collection card bridge */
.wp-block-woocommerce-product-template{gap:24px!important}
.wp-block-woocommerce-product-template > .wc-block-product,
.wp-block-woocommerce-product-template > li{
 position:relative!important;
 min-width:0!important;
 padding:0!important;
 border:1px solid rgba(210,178,120,.18)!important;
 border-radius:26px!important;
 overflow:hidden!important;
 background:linear-gradient(180deg,rgba(8,43,56,.38),rgba(2,7,11,.88))!important;
 box-shadow:0 18px 42px rgba(0,0,0,.22)!important;
 transition:transform .25s ease,border-color .25s ease,box-shadow .25s ease!important;
}
.wp-block-woocommerce-product-template > .wc-block-product:hover,
.wp-block-woocommerce-product-template > li:hover{transform:translateY(-5px);border-color:rgba(239,215,157,.34)!important;box-shadow:0 28px 56px rgba(0,0,0,.28)!important}
.rex-collection-card__media{position:relative;display:block;overflow:hidden;background:rgba(2,7,11,.55)}
.rex-collection-card__media .wp-block-woocommerce-product-image{margin:0!important;padding:0!important;aspect-ratio:1/1!important;overflow:hidden!important}
.rex-collection-card__media .wp-block-woocommerce-product-image a{display:block!important;width:100%!important;height:100%!important}
.rex-collection-card__media .wp-block-woocommerce-product-image img,
.rex-collection-card__media .wc-block-components-product-image img{display:block!important;width:100%!important;height:100%!important;aspect-ratio:1/1!important;object-fit:cover!important;margin:0!important;border-radius:0!important;transition:transform .35s ease}
.wp-block-woocommerce-product-template > .wc-block-product:hover .rex-collection-card__media img,
.wp-block-woocommerce-product-template > li:hover .rex-collection-card__media img{transform:scale(1.035)}
.rex-collection-card__overlay{position:absolute;inset:0;z-index:4;pointer-events:none}
.rex-collection-card__overlay .rex-card__wishlist-wrap{pointer-events:auto}
.wp-block-woocommerce-product-template .wp-block-post-title,
.wp-block-woocommerce-product-template .wp-block-woocommerce-product-title{margin:0!important;padding:18px 18px 0!important;text-align:right!important;font-size:1.2rem!important;line-height:1.55!important;color:var(--rex-color-text)!important}
.wp-block-woocommerce-product-template .wp-block-post-title a,
.wp-block-woocommerce-product-template .wp-block-woocommerce-product-title a{color:var(--rex-color-text)!important;text-decoration:none!important}
.wp-block-woocommerce-product-template .rex-card__meta--collection{margin:12px 18px 0!important}
.wp-block-woocommerce-product-template .wp-block-woocommerce-product-price{margin:0!important;padding:16px 18px 20px!important;text-align:right!important;color:var(--rex-color-gold-highlight)!important;font-weight:700!important}
.wp-block-woocommerce-product-template .wp-block-woocommerce-product-price .wc-block-components-product-price{margin:0!important;color:inherit!important}
.wp-block-woocommerce-product-template .wp-block-woocommerce-product-price del{opacity:.55;color:rgba(237,237,214,.72)!important}
.wp-block-woocommerce-product-template .wp-block-woocommerce-product-price ins{text-decoration:none!important;color:var(--rex-color-gold-highlight)!important}
.wp-block-woocommerce-product-template .wp-block-woocommerce-product-button,
.wp-block-woocommerce-product-template .wc-block-components-product-button,
.wp-block-woocommerce-product-template .wp-block-woocommerce-product-rating,
.wp-block-woocommerce-product-template .wc-block-components-product-rating,
.wp-block-woocommerce-product-template .wp-block-woocommerce-product-summary,
.wp-block-woocommerce-product-template .wc-block-components-product-sale-badge{display:none!important}
@media(max-width:640px){.wp-block-woocommerce-product-template{gap:18px!important}}


/* REX 2.5.3 — product card refinement pass */
.rex-product-card{max-width:380px;margin-inline:auto}
.rex-card__media-wrap{padding:14px 14px 0}
.rex-card__image{border-radius:22px}
.rex-card__badges{right:26px;top:26px;max-width:65%}
.rex-card__wishlist-wrap{left:26px;top:26px}
.rex-card__body{gap:16px;padding:16px 18px 22px}
.rex-card__title h3{font-size:1.18rem;line-height:1.6;text-align:center}
.rex-card__meta{gap:8px}
.rex-card__meta-item{display:flex;align-items:center;justify-content:space-between;gap:14px;padding-bottom:8px}
.rex-card__meta-item b{font-size:1rem;text-align:right}
.rex-card__meta-item small{font-size:.88rem;opacity:.78}
.rex-card__price{justify-content:center;padding-top:4px;font-size:1.22rem;line-height:1.5}
.rex-card__price .price{justify-content:center;font-size:inherit}
.rex-card__price ins,.rex-card__price bdi{font-size:1.22rem}
.rex-card__price del{font-size:1rem}

.wp-block-woocommerce-product-template{gap:26px!important}
.wp-block-woocommerce-product-template > .wc-block-product,
.wp-block-woocommerce-product-template > li{max-width:380px!important;width:100%!important;justify-self:center!important}
.rex-collection-card__media{padding:14px 14px 0}
.rex-collection-card__media .wp-block-woocommerce-product-image{border-radius:22px!important}
.rex-collection-card__media .wp-block-woocommerce-product-image img,
.rex-collection-card__media .wc-block-components-product-image img{border-radius:22px!important}
.rex-collection-card__overlay{inset:14px 14px auto 14px!important;height:0!important}
.wp-block-woocommerce-product-template .wp-block-post-title,
.wp-block-woocommerce-product-template .wp-block-woocommerce-product-title{padding:16px 18px 0!important;text-align:center!important;font-size:1.14rem!important;line-height:1.65!important}
.wp-block-woocommerce-product-template .rex-card__meta--collection{margin:10px 18px 0!important}
.wp-block-woocommerce-product-template .rex-card__meta--collection .rex-card__meta-item{display:flex;align-items:center;justify-content:space-between;gap:14px;padding-bottom:8px;border-bottom:1px solid rgba(210,178,120,.12)}
.wp-block-woocommerce-product-template .rex-card__meta--collection .rex-card__meta-item b{font-size:1rem;text-align:right;color:var(--rex-color-text)!important}
.wp-block-woocommerce-product-template .rex-card__meta--collection .rex-card__meta-item small{font-size:.88rem;color:rgba(237,237,214,.76)!important}
.wp-block-woocommerce-product-template .wp-block-woocommerce-product-price{padding:14px 18px 22px!important;text-align:center!important;font-size:1.24rem!important;line-height:1.5!important}
.wp-block-woocommerce-product-template .wp-block-woocommerce-product-price .wc-block-components-product-price,
.wp-block-woocommerce-product-template .wp-block-woocommerce-product-price .price{justify-content:center!important;font-size:inherit!important}
.wp-block-woocommerce-product-template .wp-block-woocommerce-product-price .price bdi,
.wp-block-woocommerce-product-template .wp-block-woocommerce-product-price bdi{font-size:1.24rem!important}
.wp-block-woocommerce-product-template .wp-block-woocommerce-product-price del{font-size:1rem!important}
@media(max-width:640px){
 .rex-product-card,.wp-block-woocommerce-product-template > .wc-block-product,.wp-block-woocommerce-product-template > li{max-width:100%!important}
 .rex-card__media-wrap,.rex-collection-card__media{padding:12px 12px 0}
 .rex-card__wishlist-wrap{left:22px;top:22px}
 .rex-card__badges{right:22px;top:22px}
}


/* REX 2.5.4 — unify WooCommerce grid columns with REX settings */
.wp-block-woocommerce-product-template,
.wc-block-product-template,
ul.wc-block-product-template{
  display:grid!important;
  grid-template-columns:repeat(var(--rex-shop-cols-desktop,4),minmax(0,1fr))!important;
  gap:26px!important;
}
.wp-block-woocommerce-product-template > .wc-block-product,
.wp-block-woocommerce-product-template > li,
.wc-block-product-template > .wc-block-product,
ul.wc-block-product-template > li{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
}
@media(max-width:1024px){
 .wp-block-woocommerce-product-template,
 .wc-block-product-template,
 ul.wc-block-product-template{
   grid-template-columns:repeat(var(--rex-shop-cols-tablet,3),minmax(0,1fr))!important;
 }
}
@media(max-width:640px){
 .wp-block-woocommerce-product-template,
 .wc-block-product-template,
 ul.wc-block-product-template{
   grid-template-columns:repeat(var(--rex-shop-cols-mobile,2),minmax(0,1fr))!important;
   gap:18px!important;
 }
}


/* REX 2.5.5 — minimal stock status row */
.rex-card__meta,.rex-card__meta--collection{display:none!important}
.rex-card__stock-status{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:0 0 10px;border-bottom:1px solid rgba(210,178,120,.12);direction:rtl}
.rex-card__stock-label{font-size:.88rem;color:rgba(237,237,214,.7)}
.rex-card__stock-value{display:inline-flex;align-items:center;gap:8px;font-size:.96rem}
.rex-card__stock-value b{font-weight:700;color:var(--rex-color-text)}
.rex-card__stock-dot{position:relative;width:8px;height:8px;border-radius:999px;display:inline-block;flex:0 0 8px}
.rex-card__stock-status.is-in-stock .rex-card__stock-dot{background:#34c96b;box-shadow:0 0 0 4px rgba(52,201,107,.08),0 0 14px rgba(52,201,107,.25)}
.rex-card__stock-status.is-in-stock .rex-card__stock-value b{color:#9de8b8}
.rex-card__stock-status.is-out-of-stock .rex-card__stock-dot{background:#ef5350;box-shadow:0 0 0 4px rgba(239,83,80,.08)}
.rex-card__stock-status.is-out-of-stock .rex-card__stock-dot::after{content:"";position:absolute;inset:-5px;border:1px solid rgba(239,83,80,.55);border-radius:999px;animation:rex-stock-alert 1.8s ease-out infinite}
.rex-card__stock-status.is-out-of-stock .rex-card__stock-value b{color:#ffaaa7}
.wp-block-woocommerce-product-template .rex-card__stock-status--collection{margin:10px 18px 0!important;padding-bottom:10px!important}
@keyframes rex-stock-alert{0%{transform:scale(.55);opacity:.8}70%,100%{transform:scale(1.45);opacity:0}}
@media(prefers-reduced-motion:reduce){.rex-card__stock-status.is-out-of-stock .rex-card__stock-dot::after{animation:none!important;opacity:.35}}


/* REX 2.5.6 — stock row + overlay alignment */
.rex-card__stock-status{display:flex;justify-content:center;align-items:center;padding:0 0 12px!important;border-bottom:1px solid rgba(210,178,120,.12);direction:rtl;text-align:center}
.rex-card__stock-line{display:inline-flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap}
.rex-card__stock-label{font-size:.96rem;color:rgba(237,237,214,.76)}
.rex-card__stock-value{display:inline-flex;align-items:center;gap:8px;font-size:1rem}
.rex-card__stock-value b{font-weight:800}
.rex-card__stock-status--collection{margin:12px 18px 0!important}

.rex-card__wishlist-wrap{right:24px!important;left:auto!important;top:22px!important}
.rex-card__wishlist{width:auto!important;height:auto!important;padding:0!important;border:none!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;backdrop-filter:none!important;line-height:1;color:#f6efcf}
.rex-card__wishlist:hover,.rex-card__wishlist.is-active{transform:none!important;background:transparent!important;border:none!important;color:var(--rex-color-gold-highlight)}
.rex-card__wishlist-heart{font-size:1.45rem;line-height:1;text-shadow:0 2px 10px rgba(0,0,0,.8),0 0 18px rgba(0,0,0,.55)}

.rex-card__badges{left:22px!important;right:auto!important;top:auto!important;bottom:22px!important;display:flex;flex-direction:column;align-items:flex-start;gap:8px;max-width:68%}
.rex-card__badge{min-height:30px;padding:0 10px;border-radius:999px;background:rgba(28,31,37,.76);border:1px solid rgba(239,215,157,.18);backdrop-filter:blur(8px);font-size:.8rem;box-shadow:0 8px 18px rgba(0,0,0,.2)}
.rex-card__badge.is-selected{background:rgba(92,73,48,.88);color:var(--rex-color-gold-highlight)}
.rex-card__badge.is-sale{background:rgba(32,71,78,.88);color:#b7f8ff;border-color:rgba(88,202,213,.28)}

.rex-collection-card__overlay{inset:0!important;height:0!important;pointer-events:none}
.rex-collection-card__overlay .rex-card__wishlist-wrap,
.rex-collection-card__overlay .rex-card__badges{pointer-events:auto}

@media(max-width:640px){
 .rex-card__wishlist-wrap{right:18px!important;top:18px!important}
 .rex-card__badges{left:18px!important;bottom:18px!important}
}


/* REX 2.5.7 — wishlist + sale badge refinement */
.rex-card__wishlist-wrap{right:16px!important;left:auto!important;top:16px!important;z-index:4}
.rex-card__wishlist{
  width:42px!important;height:42px!important;padding:0!important;
  border-radius:999px!important;border:1px solid rgba(239,215,157,.30)!important;
  background:rgba(6,10,16,.58)!important;backdrop-filter:blur(10px)!important;
  box-shadow:0 10px 24px rgba(0,0,0,.22)!important;display:grid!important;place-items:center!important;
}
.rex-card__wishlist:hover,.rex-card__wishlist.is-active{
  transform:translateY(-1px)!important;background:rgba(38,26,18,.75)!important;
  border-color:rgba(239,215,157,.5)!important;color:var(--rex-color-gold-highlight)!important;
}
.rex-card__wishlist-heart{font-size:1.75rem!important;line-height:1;text-shadow:none!important}

.rex-card__badges{
  left:16px!important;right:auto!important;top:auto!important;bottom:16px!important;
  display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;gap:8px!important;
  align-items:flex-start!important;justify-content:flex-start!important;max-width:78%!important;z-index:4;
}
.rex-card__badge{
  min-height:32px!important;padding:0 12px!important;border-radius:999px!important;font-size:.82rem!important;
  font-weight:700!important;letter-spacing:0!important;
}
.rex-card__badge.is-selected{background:rgba(92,73,48,.92)!important;color:var(--rex-color-gold-highlight)!important;border-color:rgba(239,215,157,.24)!important}
.rex-card__badge.is-sale{background:rgba(23,74,84,.95)!important;color:#d0fbff!important;border-color:rgba(88,202,213,.36)!important}

.rex-card__stock-status{justify-content:center!important;text-align:center!important}
.rex-card__stock-line{gap:6px!important}

.rex-collection-card__overlay .rex-card__badges,
.rex-collection-card__overlay .rex-card__wishlist-wrap{position:absolute!important}

@media(max-width:640px){
  .rex-card__wishlist-wrap{right:14px!important;top:14px!important}
  .rex-card__wishlist{width:38px!important;height:38px!important}
  .rex-card__wishlist-heart{font-size:1.55rem!important}
  .rex-card__badges{left:14px!important;bottom:14px!important;max-width:82%!important}
}


/* REX 2.5.8 — collection badge visibility hotfix */
.rex-collection-card__media{position:relative!important}
.rex-collection-card__overlay{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  z-index:5!important;
  pointer-events:none!important;
}
.rex-collection-card__overlay .rex-card__wishlist-wrap,
.rex-collection-card__overlay .rex-card__badges{position:absolute!important;pointer-events:auto!important}
.rex-collection-card__overlay .rex-card__wishlist-wrap{right:16px!important;left:auto!important;top:16px!important;bottom:auto!important}
.rex-collection-card__overlay .rex-card__badges{left:16px!important;right:auto!important;bottom:16px!important;top:auto!important}


/* REX 2.5.10 — vertical badges inside image refined */
.rex-card__media-wrap,
.rex-collection-card__media{
  position:relative;
  overflow:hidden;
}
.rex-card__badges{
  left:28px !important;
  right:auto !important;
  bottom:22px !important;
  top:auto !important;
  display:flex !important;
  flex-direction:column !important;
  align-items:flex-start !important;
  justify-content:flex-end !important;
  gap:8px !important;
  max-width:44% !important;
  z-index:5 !important;
}
.rex-card__badge{
  display:inline-flex !important;
  width:auto !important;
  max-width:100% !important;
  white-space:nowrap !important;
}
.rex-collection-card__overlay .rex-card__badges,
.rex-card__media-wrap .rex-card__badges{
  position:absolute !important;
}
@media (max-width:640px){
  .rex-card__badges{
    left:20px !important;
    bottom:18px !important;
    gap:6px !important;
    max-width:52% !important;
  }
}


/* REX 2.5.11 — product selection typography + badge controls */
.rex-selection .rex-product-grid{grid-template-columns:repeat(var(--rex-cols,4),minmax(0,1fr));}
.rex-selection .rex-card__title h3{
  font-size:var(--rex-selection-title-d,1.18rem)!important;
}
.rex-selection .rex-card__price,
.rex-selection .rex-card__price .price,
.rex-selection .rex-card__price ins,
.rex-selection .rex-card__price bdi{
  font-size:var(--rex-selection-price-d,1.25rem)!important;
}
.rex-selection .rex-card__price del{
  font-size:calc(var(--rex-selection-price-d,1.25rem) * .82)!important;
}
.rex-selection .rex-card__stock-label,
.rex-selection .rex-card__stock-value{
  font-size:var(--rex-selection-stock-d,1rem)!important;
}
.rex-selection .rex-card__stock-dot{
  width:calc(var(--rex-selection-stock-d,1rem) * .52)!important;
  height:calc(var(--rex-selection-stock-d,1rem) * .52)!important;
  flex-basis:calc(var(--rex-selection-stock-d,1rem) * .52)!important;
}
.rex-selection .rex-card__badge{
  font-size:var(--rex-selection-badge-d,.82rem)!important;
}
.rex-selection .rex-card__badges{
  left:var(--rex-selection-badge-left-d,28px)!important;
  right:var(--rex-selection-badge-right-d,auto)!important;
  top:var(--rex-selection-badge-top-d,auto)!important;
  bottom:var(--rex-selection-badge-bottom-d,22px)!important;
  align-items:var(--rex-selection-badge-align-d,flex-start)!important;
}
@media(max-width:640px){
  .rex-selection .rex-card__title h3{
    font-size:var(--rex-selection-title-m,1rem)!important;
  }
  .rex-selection .rex-card__price,
  .rex-selection .rex-card__price .price,
  .rex-selection .rex-card__price ins,
  .rex-selection .rex-card__price bdi{
    font-size:var(--rex-selection-price-m,1rem)!important;
  }
  .rex-selection .rex-card__price del{
    font-size:calc(var(--rex-selection-price-m,1rem) * .82)!important;
  }
  .rex-selection .rex-card__stock-label,
  .rex-selection .rex-card__stock-value{
    font-size:var(--rex-selection-stock-m,.92rem)!important;
  }
  .rex-selection .rex-card__stock-dot{
    width:calc(var(--rex-selection-stock-m,.92rem) * .52)!important;
    height:calc(var(--rex-selection-stock-m,.92rem) * .52)!important;
    flex-basis:calc(var(--rex-selection-stock-m,.92rem) * .52)!important;
  }
  .rex-selection .rex-card__badge{
    font-size:var(--rex-selection-badge-m,.75rem)!important;
  }
  .rex-selection .rex-card__badges{
    left:var(--rex-selection-badge-left-m,20px)!important;
    right:var(--rex-selection-badge-right-m,auto)!important;
    top:var(--rex-selection-badge-top-m,auto)!important;
    bottom:var(--rex-selection-badge-bottom-m,18px)!important;
    align-items:var(--rex-selection-badge-align-m,flex-start)!important;
  }
}


/* REX 2.5.12 — global product card controls from REX Core */
.rex-card__title h3,
.wp-block-woocommerce-product-template .wp-block-post-title,
.wp-block-woocommerce-product-template .wp-block-woocommerce-product-title{
  font-size:var(--rex-card-title-d,19px)!important;
}
.rex-card__title-primary{
  font-size:var(--rex-card-title-fa-d,var(--rex-card-title-d,19px))!important;
}
.rex-card__title-secondary{
  font-size:var(--rex-card-title-en-d,17px)!important;
}
.rex-card__price,
.rex-card__price .price,
.rex-card__price ins,
.rex-card__price bdi,
.wp-block-woocommerce-product-template .wp-block-woocommerce-product-price,
.wp-block-woocommerce-product-template .wp-block-woocommerce-product-price .wc-block-components-product-price,
.wp-block-woocommerce-product-template .wp-block-woocommerce-product-price bdi{
  font-size:var(--rex-card-price-d,20px)!important;
}
.rex-card__price del,
.wp-block-woocommerce-product-template .wp-block-woocommerce-product-price del{
  font-size:calc(var(--rex-card-price-d,20px) * .82)!important;
}
.rex-card__stock-label,.rex-card__stock-value{
  font-size:var(--rex-card-stock-d,16px)!important;
}
.rex-card__stock-dot{
  width:calc(var(--rex-card-stock-d,16px) * .52)!important;
  height:calc(var(--rex-card-stock-d,16px) * .52)!important;
  flex-basis:calc(var(--rex-card-stock-d,16px) * .52)!important;
}
.rex-card__badge{font-size:var(--rex-card-badge-d,13px)!important;}
.rex-card__badges,
.rex-collection-card__overlay .rex-card__badges{
  left:var(--rex-card-badge-left-d,28px)!important;
  right:var(--rex-card-badge-right-d,auto)!important;
  top:var(--rex-card-badge-top-d,auto)!important;
  bottom:var(--rex-card-badge-bottom-d,22px)!important;
  align-items:var(--rex-card-badge-align-d,flex-start)!important;
}
@media(max-width:640px){
  .rex-card__title h3,
  .wp-block-woocommerce-product-template .wp-block-post-title,
  .wp-block-woocommerce-product-template .wp-block-woocommerce-product-title{
    font-size:var(--rex-card-title-m,16px)!important;
  }
  .rex-card__title-primary{
    font-size:var(--rex-card-title-fa-m,var(--rex-card-title-m,16px))!important;
  }
  .rex-card__title-secondary{
    font-size:var(--rex-card-title-en-m,14px)!important;
  }
  .rex-card__price,
  .rex-card__price .price,
  .rex-card__price ins,
  .rex-card__price bdi,
  .wp-block-woocommerce-product-template .wp-block-woocommerce-product-price,
  .wp-block-woocommerce-product-template .wp-block-woocommerce-product-price .wc-block-components-product-price,
  .wp-block-woocommerce-product-template .wp-block-woocommerce-product-price bdi{
    font-size:var(--rex-card-price-m,16px)!important;
  }
  .rex-card__price del,
  .wp-block-woocommerce-product-template .wp-block-woocommerce-product-price del{
    font-size:calc(var(--rex-card-price-m,16px) * .82)!important;
  }
  .rex-card__stock-label,.rex-card__stock-value{
    font-size:var(--rex-card-stock-m,14px)!important;
  }
  .rex-card__stock-dot{
    width:calc(var(--rex-card-stock-m,14px) * .52)!important;
    height:calc(var(--rex-card-stock-m,14px) * .52)!important;
    flex-basis:calc(var(--rex-card-stock-m,14px) * .52)!important;
  }
  .rex-card__badge{font-size:var(--rex-card-badge-m,12px)!important;}
  .rex-card__badges,
  .rex-collection-card__overlay .rex-card__badges{
    left:var(--rex-card-badge-left-m,20px)!important;
    right:var(--rex-card-badge-right-m,auto)!important;
    top:var(--rex-card-badge-top-m,auto)!important;
    bottom:var(--rex-card-badge-bottom-m,18px)!important;
    align-items:var(--rex-card-badge-align-m,flex-start)!important;
  }
}


/* REX 2.5.14 — badge capsule scales with font size */
.rex-card__badge{
  min-height:calc(var(--rex-card-badge-d,13px) * 2.35)!important;
  padding-block:calc(var(--rex-card-badge-d,13px) * .34)!important;
  padding-inline:calc(var(--rex-card-badge-d,13px) * .82)!important;
  line-height:1!important;
}
.rex-card__badges{
  gap:calc(var(--rex-card-badge-d,13px) * .55)!important;
}
@media(max-width:640px){
  .rex-card__badge{
    min-height:calc(var(--rex-card-badge-m,12px) * 2.35)!important;
    padding-block:calc(var(--rex-card-badge-m,12px) * .34)!important;
    padding-inline:calc(var(--rex-card-badge-m,12px) * .82)!important;
  }
  .rex-card__badges{
    gap:calc(var(--rex-card-badge-m,12px) * .55)!important;
  }
}


/* REX 2.6.0 — Equipment Glass Card */
.rex-equipment-card{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  max-width:390px;
  min-height:100%;
  border:1px solid rgba(88,202,213,.34)!important;
  border-radius:28px!important;
  background:
    linear-gradient(155deg,rgba(19,75,93,.24),rgba(3,23,30,.46) 46%,rgba(2,7,11,.66))!important;
  backdrop-filter:blur(18px) saturate(125%);
  -webkit-backdrop-filter:blur(18px) saturate(125%);
  box-shadow:inset 0 1px 0 rgba(237,237,214,.10),inset 0 -1px 0 rgba(88,202,213,.08),0 24px 54px rgba(0,0,0,.28)!important;
}
.rex-equipment-card::after{
  content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:radial-gradient(circle at 50% 30%,rgba(26,137,155,.13),transparent 38%),linear-gradient(130deg,rgba(255,255,255,.055),transparent 28%);
}
.rex-equipment-card__shine{position:absolute;inset:-40% 60% 30% -35%;z-index:0;pointer-events:none;transform:rotate(18deg);background:linear-gradient(90deg,transparent,rgba(255,255,255,.055),transparent);filter:blur(3px)}
.rex-equipment-card:hover{transform:translateY(-6px)!important;border-color:rgba(88,202,213,.62)!important;box-shadow:inset 0 1px 0 rgba(237,237,214,.12),0 30px 70px rgba(0,0,0,.34),0 0 26px rgba(26,137,155,.09)!important}
.rex-equipment-card__media{padding:20px 20px 0!important;overflow:visible!important}
.rex-equipment-card__image{
  display:grid!important;place-items:center!important;aspect-ratio:1/1!important;
  overflow:visible!important;border-radius:22px!important;background:transparent!important;
  background-image:radial-gradient(circle at 50% 58%,rgba(26,137,155,.13),transparent 42%)!important;
}
.rex-equipment-card__image img,.rex-equipment-card__product-image{
  width:88%!important;height:88%!important;object-fit:contain!important;padding:2%!important;margin:auto!important;
  filter:drop-shadow(0 22px 22px rgba(0,0,0,.38)) drop-shadow(0 0 18px rgba(26,137,155,.08));
  transition:transform .32s ease,filter .32s ease!important;
}
.rex-equipment-card:hover .rex-equipment-card__image img{transform:translateY(-4px) scale(1.025)!important;filter:drop-shadow(0 27px 24px rgba(0,0,0,.42)) drop-shadow(0 0 24px rgba(88,202,213,.12))}
.rex-equipment-card__body{display:flex!important;flex-direction:column!important;gap:14px!important;padding:10px 20px 20px!important;min-height:245px}
.rex-equipment-card__title h3{margin:0!important;text-align:center!important;font-size:var(--rex-equipment-title-d,18px)!important;line-height:1.6!important;font-weight:750!important}
.rex-equipment-features{display:flex;justify-content:center;flex-wrap:wrap;gap:7px;margin-top:2px}
.rex-equipment-chip{display:inline-flex;align-items:center;min-height:30px;padding:4px 10px;border:1px solid rgba(88,202,213,.18);border-radius:10px;background:rgba(3,23,30,.38);color:rgba(237,237,214,.78);font-size:12px;line-height:1.25;white-space:nowrap}
.rex-equipment-stock{display:flex;align-items:center;justify-content:center;gap:9px;padding:12px 0;border-bottom:1px solid rgba(210,178,120,.12);font-size:var(--rex-equipment-stock-d,14px);color:rgba(237,237,214,.76)}
.rex-equipment-stock.is-in-stock .rex-card__stock-dot{background:#34c96b;box-shadow:0 0 0 4px rgba(52,201,107,.07),0 0 14px rgba(52,201,107,.22)}
.rex-equipment-stock.is-out-of-stock .rex-card__stock-dot{background:#ef5350;box-shadow:0 0 0 4px rgba(239,83,80,.07),0 0 14px rgba(239,83,80,.18)}
.rex-equipment-card__price{margin-top:auto!important;padding-top:2px!important;justify-content:center!important;text-align:center!important;font-size:var(--rex-equipment-price-d,22px)!important;font-weight:760!important;color:var(--rex-color-gold-highlight)!important}
.rex-equipment-card__price .price,.rex-equipment-card__price bdi,.rex-equipment-card__price ins{font-size:inherit!important}
.rex-equipment-card__price del{font-size:calc(var(--rex-equipment-price-d,22px) * .72)!important;color:rgba(237,237,214,.40)!important}
.rex-equipment-card__wishlist{right:18px!important;left:auto!important;top:18px!important}
.rex-equipment-card__wishlist .rex-card__wishlist{width:38px!important;height:38px!important;border:none!important;background:rgba(2,7,11,.22)!important;box-shadow:none!important;backdrop-filter:blur(5px)!important}
.rex-equipment-card__wishlist .rex-card__wishlist-heart{font-size:1.65rem!important;color:rgba(237,237,214,.93)!important}
.rex-equipment-card__badges{top:var(--rex-equipment-badge-top,18px)!important;bottom:var(--rex-equipment-badge-bottom,auto)!important;left:var(--rex-equipment-badge-left,18px)!important;right:var(--rex-equipment-badge-right,auto)!important;flex-direction:column!important;gap:7px!important;align-items:var(--rex-equipment-badge-align,flex-start)!important;z-index:6!important}
.rex-equipment-badge{font-size:var(--rex-equipment-badge-d,12px)!important;min-height:calc(var(--rex-equipment-badge-d,12px) * 2.15)!important;padding:calc(var(--rex-equipment-badge-d,12px) * .28) calc(var(--rex-equipment-badge-d,12px) * .75)!important;border-radius:9px!important;background:rgba(2,7,11,.46)!important;box-shadow:none!important;backdrop-filter:blur(8px)!important}
.rex-equipment-badge.is-selected{color:var(--rex-color-gold-highlight)!important;border-color:rgba(239,215,157,.52)!important}
.rex-equipment-badge.is-sale{color:var(--rex-color-gold-highlight)!important;border-color:rgba(210,178,120,.48)!important}
.rex-equipment-badge.is-new{color:#a9f5ff!important;border-color:rgba(88,202,213,.52)!important}


/* WooCommerce Product Collection bridge — equipment cards. */
.wp-block-woocommerce-product-template > li:has(.rex-collection-card__media--equipment),
.wp-block-woocommerce-product-template > .wc-block-product:has(.rex-collection-card__media--equipment){
  border:1px solid rgba(88,202,213,.34)!important;border-radius:28px!important;
  background:linear-gradient(155deg,rgba(19,75,93,.24),rgba(3,23,30,.46) 46%,rgba(2,7,11,.66))!important;
  backdrop-filter:blur(18px) saturate(125%);-webkit-backdrop-filter:blur(18px) saturate(125%);
  box-shadow:inset 0 1px 0 rgba(237,237,214,.10),0 24px 54px rgba(0,0,0,.28)!important;
}
.rex-collection-card__media--equipment{padding:20px 20px 0!important;background:transparent!important;overflow:visible!important}
.rex-collection-card__media--equipment .wp-block-woocommerce-product-image{background:radial-gradient(circle at 50% 58%,rgba(26,137,155,.13),transparent 42%)!important;border-radius:22px!important;overflow:visible!important}
.rex-collection-card__media--equipment .wp-block-woocommerce-product-image img,
.rex-collection-card__media--equipment .wc-block-components-product-image img{width:88%!important;height:88%!important;object-fit:contain!important;margin:auto!important;padding:2%!important;border-radius:0!important;filter:drop-shadow(0 22px 22px rgba(0,0,0,.38))}
.wp-block-woocommerce-product-template > li:has(.rex-collection-card__media--equipment) .wp-block-post-title,
.wp-block-woocommerce-product-template > li:has(.rex-collection-card__media--equipment) .wp-block-woocommerce-product-title,
.wp-block-woocommerce-product-template > .wc-block-product:has(.rex-collection-card__media--equipment) .wp-block-post-title,
.wp-block-woocommerce-product-template > .wc-block-product:has(.rex-collection-card__media--equipment) .wp-block-woocommerce-product-title{font-size:var(--rex-equipment-title-d,18px)!important;text-align:center!important;padding-inline:20px!important}
.rex-equipment-features--collection{margin:10px 18px 0!important;padding:0!important}
.rex-equipment-stock--collection{margin:10px 18px 0!important;padding:11px 0!important}
.wp-block-woocommerce-product-template > li:has(.rex-collection-card__media--equipment) .wp-block-woocommerce-product-price,
.wp-block-woocommerce-product-template > .wc-block-product:has(.rex-collection-card__media--equipment) .wp-block-woocommerce-product-price{font-size:var(--rex-equipment-price-d,22px)!important;text-align:center!important;padding:15px 18px 20px!important}
.rex-collection-card__overlay--equipment .rex-equipment-card__wishlist{right:18px!important;top:18px!important}
.rex-collection-card__overlay--equipment .rex-equipment-card__badges{left:var(--rex-equipment-badge-left,18px)!important;right:var(--rex-equipment-badge-right,auto)!important;top:var(--rex-equipment-badge-top,18px)!important;bottom:var(--rex-equipment-badge-bottom,auto)!important;align-items:var(--rex-equipment-badge-align,flex-start)!important}

@media(max-width:640px){
  .rex-equipment-card{border-radius:20px!important}
  .rex-equipment-card__media{padding:10px 10px 0!important}
  .rex-equipment-card__image img,.rex-equipment-card__product-image{width:86%!important;height:86%!important;padding:1%!important}
  .rex-equipment-card__body{gap:9px!important;padding:8px 10px 13px!important;min-height:190px}
  .rex-equipment-card__title h3{font-size:var(--rex-equipment-title-m,15px)!important;line-height:1.5!important}
  .rex-equipment-features{gap:4px}.rex-equipment-chip{min-height:25px;padding:3px 7px;border-radius:8px;font-size:10px}
  .rex-equipment-stock{font-size:var(--rex-equipment-stock-m,12px)!important;padding:8px 0;gap:6px}
  .rex-equipment-card__price{font-size:var(--rex-equipment-price-m,18px)!important}
  .rex-equipment-card__price del{font-size:calc(var(--rex-equipment-price-m,18px) * .72)!important}
  .rex-equipment-card__wishlist{right:10px!important;top:10px!important}
  .rex-equipment-card__wishlist .rex-card__wishlist{width:32px!important;height:32px!important}
  .rex-equipment-card__wishlist .rex-card__wishlist-heart{font-size:1.35rem!important}
  .rex-equipment-card__badges{gap:5px!important}
  .rex-equipment-badge{font-size:var(--rex-equipment-badge-m,10px)!important;min-height:calc(var(--rex-equipment-badge-m,10px) * 2.15)!important;padding:calc(var(--rex-equipment-badge-m,10px) * .28) calc(var(--rex-equipment-badge-m,10px) * .75)!important}
  .rex-collection-card__media--equipment{padding:10px 10px 0!important}
  .wp-block-woocommerce-product-template > li:has(.rex-collection-card__media--equipment) .wp-block-post-title,
  .wp-block-woocommerce-product-template > li:has(.rex-collection-card__media--equipment) .wp-block-woocommerce-product-title,
  .wp-block-woocommerce-product-template > .wc-block-product:has(.rex-collection-card__media--equipment) .wp-block-post-title,
  .wp-block-woocommerce-product-template > .wc-block-product:has(.rex-collection-card__media--equipment) .wp-block-woocommerce-product-title{font-size:var(--rex-equipment-title-m,15px)!important;padding-inline:10px!important}
  .wp-block-woocommerce-product-template > li:has(.rex-collection-card__media--equipment) .wp-block-woocommerce-product-price,
  .wp-block-woocommerce-product-template > .wc-block-product:has(.rex-collection-card__media--equipment) .wp-block-woocommerce-product-price{font-size:var(--rex-equipment-price-m,18px)!important;padding:10px 10px 14px!important}
}


/* REX 2.6.1 — Equipment Glass Card visual fidelity pass */
.rex-equipment-card{
  isolation:isolate!important;
  overflow:hidden!important;
  border:1px solid rgba(128,226,239,.44)!important;
  border-radius:30px!important;
  background:
    radial-gradient(110% 70% at 50% -12%,rgba(88,202,213,.14),transparent 54%),
    radial-gradient(55% 38% at 18% 52%,rgba(19,75,93,.12),transparent 72%),
    linear-gradient(155deg,rgba(18,53,65,.46) 0%,rgba(4,24,31,.56) 38%,rgba(2,8,12,.80) 100%)!important;
  backdrop-filter:blur(24px) saturate(132%)!important;
  -webkit-backdrop-filter:blur(24px) saturate(132%)!important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.14),
    inset 1px 0 0 rgba(88,202,213,.07),
    inset -1px 0 0 rgba(239,215,157,.05),
    0 28px 70px rgba(0,0,0,.40),
    0 0 0 1px rgba(4,23,30,.35),
    0 0 28px rgba(26,137,155,.10)!important;
}
.rex-equipment-card::before{
  content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;border-radius:inherit;
  background:
    linear-gradient(112deg,rgba(255,255,255,.10) 0%,rgba(255,255,255,.025) 17%,transparent 36%),
    radial-gradient(28% 16% at 77% 1%,rgba(88,202,213,.20),transparent 72%),
    radial-gradient(24% 13% at 4% 91%,rgba(88,202,213,.13),transparent 74%);
  mix-blend-mode:screen;
}
.rex-equipment-card::after{
  content:"";position:absolute;inset:1px;z-index:-1;pointer-events:none;border-radius:calc(30px - 1px);
  box-shadow:inset 0 0 34px rgba(88,202,213,.035),inset 0 -28px 45px rgba(0,0,0,.20);
}
.rex-equipment-card__shine{
  position:absolute!important;inset:-24% -55%!important;z-index:0!important;pointer-events:none!important;
  transform:rotate(13deg)!important;
  background:linear-gradient(90deg,transparent 42%,rgba(255,255,255,.055) 50%,transparent 58%)!important;
  filter:blur(5px)!important;opacity:.68!important;
}
.rex-equipment-card:hover{
  border-color:rgba(112,224,238,.68)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.17),0 34px 80px rgba(0,0,0,.44),0 0 34px rgba(38,179,196,.16)!important;
}
.rex-equipment-card__media{position:relative!important;z-index:1!important;padding:22px 20px 0!important;overflow:visible!important}
.rex-equipment-card__media::before{
  content:"";position:absolute;left:12%;right:12%;top:17%;bottom:2%;z-index:-1;pointer-events:none;
  background:
    radial-gradient(ellipse at 50% 48%,rgba(35,181,199,.20) 0%,rgba(12,80,94,.10) 28%,transparent 66%),
    radial-gradient(ellipse at 50% 92%,rgba(88,202,213,.11),transparent 46%);
  filter:blur(15px);
}
.rex-equipment-card__image{position:relative!important;background:transparent!important;overflow:visible!important}
.rex-equipment-card__image::after{
  content:"";position:absolute;z-index:-1;left:20%;right:20%;bottom:7%;height:11%;border-radius:50%;
  background:rgba(30,178,197,.22);filter:blur(22px);opacity:.7;
}
.rex-equipment-card__image img,.rex-equipment-card__product-image{
  width:84%!important;height:84%!important;padding:0!important;
  filter:drop-shadow(0 28px 22px rgba(0,0,0,.46)) drop-shadow(0 0 12px rgba(73,208,221,.15))!important;
}
.rex-equipment-card:hover .rex-equipment-card__image img{
  transform:translateY(-5px) scale(1.027)!important;
  filter:drop-shadow(0 32px 24px rgba(0,0,0,.48)) drop-shadow(0 0 18px rgba(78,214,226,.20))!important;
}
.rex-equipment-card__body{position:relative!important;z-index:1!important;gap:13px!important;padding:8px 20px 22px!important}
.rex-equipment-card__title h3{font-weight:760!important;text-shadow:0 2px 16px rgba(237,237,214,.045)!important}
.rex-equipment-features{gap:8px!important;margin-top:2px!important}
.rex-equipment-chip{
  min-height:32px!important;padding:5px 11px!important;border-radius:11px!important;
  border:1px solid rgba(111,213,225,.18)!important;
  background:linear-gradient(180deg,rgba(15,52,62,.45),rgba(2,17,23,.38))!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.045),0 5px 14px rgba(0,0,0,.12)!important;
  backdrop-filter:blur(10px)!important;-webkit-backdrop-filter:blur(10px)!important;
}
.rex-equipment-stock{
  padding:11px 0 8px!important;border-bottom:0!important;
  color:rgba(237,237,214,.74)!important;
}
.rex-equipment-stock .rex-card__stock-dot{width:9px!important;height:9px!important;flex-basis:9px!important}
.rex-equipment-stock.is-in-stock .rex-card__stock-dot{box-shadow:0 0 0 5px rgba(52,201,107,.07),0 0 18px rgba(52,201,107,.44)!important}
.rex-equipment-stock.is-out-of-stock .rex-card__stock-dot{box-shadow:0 0 0 5px rgba(239,83,80,.07),0 0 18px rgba(239,83,80,.40)!important}
.rex-equipment-divider{
  position:relative;display:block;width:100%;height:12px;margin:0!important;flex:0 0 auto;
}
.rex-equipment-divider::before{
  content:"";position:absolute;left:0;right:0;top:50%;height:1px;transform:translateY(-50%);
  background:linear-gradient(90deg,transparent 0%,rgba(105,78,42,.24) 11%,rgba(210,178,120,.48) 48%,rgba(105,78,42,.22) 89%,transparent 100%);
  box-shadow:0 0 7px rgba(210,178,120,.13);
}
.rex-equipment-divider i{
  position:absolute;left:50%;top:50%;width:5px;height:5px;transform:translate(-50%,-50%) rotate(45deg);
  background:#efd79d;box-shadow:0 0 6px rgba(239,215,157,.85),0 0 16px rgba(210,178,120,.48);
}
.rex-equipment-card__price{
  margin-top:0!important;padding-top:3px!important;min-height:47px!important;
  text-shadow:0 0 18px rgba(210,178,120,.10)!important;
}
.rex-equipment-card__wishlist .rex-card__wishlist{
  width:42px!important;height:42px!important;border:1px solid rgba(237,237,214,.08)!important;
  background:rgba(2,10,15,.36)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.035),0 8px 20px rgba(0,0,0,.18)!important;
  backdrop-filter:blur(13px)!important;-webkit-backdrop-filter:blur(13px)!important;
}
.rex-equipment-badge{
  background:rgba(3,14,19,.48)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04),0 0 12px rgba(0,0,0,.12)!important;
  backdrop-filter:blur(13px)!important;-webkit-backdrop-filter:blur(13px)!important;
}
.rex-equipment-badge.is-new{box-shadow:inset 0 1px 0 rgba(255,255,255,.04),0 0 12px rgba(88,202,213,.10)!important}
.rex-equipment-badge.is-selected,.rex-equipment-badge.is-sale{box-shadow:inset 0 1px 0 rgba(255,255,255,.04),0 0 12px rgba(210,178,120,.09)!important}

/* Match the same visual system in WooCommerce Product Collection cards. */
.wp-block-woocommerce-product-template > li:has(.rex-collection-card__media--equipment),
.wp-block-woocommerce-product-template > .wc-block-product:has(.rex-collection-card__media--equipment){
  isolation:isolate!important;overflow:hidden!important;
  border:1px solid rgba(128,226,239,.44)!important;border-radius:30px!important;
  background:
    radial-gradient(110% 70% at 50% -12%,rgba(88,202,213,.14),transparent 54%),
    radial-gradient(55% 38% at 18% 52%,rgba(19,75,93,.12),transparent 72%),
    linear-gradient(155deg,rgba(18,53,65,.46),rgba(4,24,31,.56) 38%,rgba(2,8,12,.80))!important;
  backdrop-filter:blur(24px) saturate(132%)!important;-webkit-backdrop-filter:blur(24px) saturate(132%)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.14),0 28px 70px rgba(0,0,0,.40),0 0 28px rgba(26,137,155,.10)!important;
}
.wp-block-woocommerce-product-template > li:has(.rex-collection-card__media--equipment)::before,
.wp-block-woocommerce-product-template > .wc-block-product:has(.rex-collection-card__media--equipment)::before{
  content:"";position:absolute;inset:0;z-index:0;pointer-events:none;border-radius:inherit;
  background:linear-gradient(112deg,rgba(255,255,255,.09),rgba(255,255,255,.02) 18%,transparent 38%),radial-gradient(25% 12% at 76% 1%,rgba(88,202,213,.19),transparent 75%);
}
.rex-collection-card__media--equipment{position:relative!important;z-index:1!important;padding:22px 20px 0!important;overflow:visible!important}
.rex-collection-card__media--equipment::before{
  content:"";position:absolute;left:12%;right:12%;top:18%;bottom:3%;z-index:-1;pointer-events:none;
  background:radial-gradient(ellipse at 50% 48%,rgba(35,181,199,.20),rgba(12,80,94,.08) 30%,transparent 66%);filter:blur(15px);
}
.rex-collection-card__media--equipment .wp-block-woocommerce-product-image img,
.rex-collection-card__media--equipment .wc-block-components-product-image img{
  width:84%!important;height:84%!important;padding:0!important;
  filter:drop-shadow(0 28px 22px rgba(0,0,0,.46)) drop-shadow(0 0 12px rgba(73,208,221,.15))!important;
}
.rex-equipment-divider--collection{margin:2px 18px 0!important;width:calc(100% - 36px)!important}
.wp-block-woocommerce-product-template > li:has(.rex-collection-card__media--equipment) .wp-block-woocommerce-product-price,
.wp-block-woocommerce-product-template > .wc-block-product:has(.rex-collection-card__media--equipment) .wp-block-woocommerce-product-price{
  padding-top:5px!important;text-shadow:0 0 18px rgba(210,178,120,.10)!important;
}

@media(max-width:640px){
  .rex-equipment-card{border-radius:22px!important}
  .rex-equipment-card::after{border-radius:21px!important}
  .rex-equipment-card__media,.rex-collection-card__media--equipment{padding:12px 10px 0!important}
  .rex-equipment-card__image img,.rex-equipment-card__product-image,
  .rex-collection-card__media--equipment .wp-block-woocommerce-product-image img,
  .rex-collection-card__media--equipment .wc-block-components-product-image img{width:78%!important;height:78%!important}
  .rex-equipment-card__body{padding:6px 11px 14px!important;gap:8px!important}
  .rex-equipment-features{gap:5px!important}.rex-equipment-chip{min-height:25px!important;padding:3px 7px!important;border-radius:8px!important;font-size:10px!important}
  .rex-equipment-stock{padding:7px 0 5px!important}
  .rex-equipment-divider{height:9px!important}
  .rex-equipment-divider--collection{margin-inline:10px!important;width:calc(100% - 20px)!important}
  .rex-equipment-card__price{min-height:34px!important;padding-top:1px!important}
  .rex-equipment-card__wishlist .rex-card__wishlist{width:34px!important;height:34px!important}
}


/* REX 2.6.2 — Equipment Card reference-match pass */
.rex-equipment-card{
  position:relative!important;
  max-width:390px!important;
  min-height:0!important;
  overflow:hidden!important;
  border:1px solid rgba(105,223,238,.50)!important;
  border-radius:30px!important;
  background:
    radial-gradient(82% 46% at 50% 7%,rgba(76,207,222,.18),transparent 68%),
    radial-gradient(60% 52% at 10% 54%,rgba(18,88,103,.18),transparent 72%),
    linear-gradient(150deg,rgba(20,57,68,.52) 0%,rgba(5,29,38,.56) 34%,rgba(2,13,19,.74) 72%,rgba(1,8,12,.88) 100%)!important;
  backdrop-filter:blur(28px) saturate(142%)!important;
  -webkit-backdrop-filter:blur(28px) saturate(142%)!important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.20),
    inset 1px 0 0 rgba(109,229,241,.11),
    inset -1px 0 0 rgba(214,190,143,.06),
    inset 0 -1px 0 rgba(88,202,213,.11),
    0 24px 54px rgba(0,0,0,.42),
    0 0 18px rgba(47,188,204,.11)!important;
}
.rex-equipment-card::before{
  content:""!important;position:absolute!important;inset:5px!important;z-index:0!important;pointer-events:none!important;
  border:1px solid rgba(219,247,250,.11)!important;border-radius:24px!important;
  background:
    linear-gradient(110deg,rgba(255,255,255,.075) 0%,rgba(255,255,255,.02) 18%,transparent 38%),
    radial-gradient(40% 12% at 72% 0%,rgba(98,227,240,.18),transparent 74%)!important;
  box-shadow:inset 0 0 28px rgba(66,197,212,.028)!important;
}
.rex-equipment-card::after{
  content:""!important;position:absolute!important;inset:-1px!important;z-index:0!important;pointer-events:none!important;border-radius:inherit!important;
  background:
    radial-gradient(38% 2px at 72% 0%,rgba(117,238,249,.95),transparent 75%),
    radial-gradient(2px 20% at 0% 28%,rgba(82,221,237,.70),transparent 78%),
    radial-gradient(30% 2px at 54% 100%,rgba(86,222,237,.72),transparent 74%),
    radial-gradient(2px 14% at 100% 86%,rgba(86,222,237,.54),transparent 78%)!important;
  filter:drop-shadow(0 0 7px rgba(57,208,224,.35))!important;
}
.rex-equipment-card__shine{
  position:absolute!important;inset:0!important;z-index:0!important;pointer-events:none!important;transform:none!important;filter:none!important;opacity:1!important;
  background:
    radial-gradient(45% 24% at 50% 15%,rgba(85,218,232,.13),transparent 72%),
    linear-gradient(116deg,transparent 9%,rgba(255,255,255,.055) 20%,transparent 35%)!important;
}
.rex-equipment-card:hover{
  transform:translateY(-5px)!important;
  border-color:rgba(116,235,246,.70)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.22),0 30px 65px rgba(0,0,0,.46),0 0 25px rgba(50,202,218,.18)!important;
}

/* Compact media proportions: remove the large empty middle area. */
.rex-equipment-card__media{
  position:relative!important;z-index:2!important;
  padding:18px 18px 0!important;
  overflow:visible!important;
}
.rex-equipment-card__image{
  display:grid!important;place-items:center!important;
  aspect-ratio:1.22/1!important;
  min-height:0!important;
  overflow:visible!important;
  background:transparent!important;
  background-image:none!important;
}
.rex-equipment-card__media::before{
  content:""!important;position:absolute!important;z-index:-1!important;
  left:9%!important;right:9%!important;top:10%!important;bottom:-2%!important;
  border-radius:50%!important;
  background:
    radial-gradient(ellipse at 50% 46%,rgba(39,203,221,.25) 0%,rgba(20,118,135,.13) 29%,rgba(5,50,62,.055) 52%,transparent 74%),
    radial-gradient(ellipse at 50% 90%,rgba(62,215,230,.15),transparent 46%)!important;
  filter:blur(14px)!important;
}
.rex-equipment-card__image::before{
  content:"";position:absolute;left:22%;right:22%;bottom:8%;height:12%;border-radius:50%;
  background:rgba(50,207,224,.24);filter:blur(20px);opacity:.82;z-index:-1;
}
.rex-equipment-card__image::after{
  content:""!important;position:absolute!important;left:17%!important;right:17%!important;bottom:4%!important;height:3px!important;border-radius:50%!important;
  background:linear-gradient(90deg,transparent,rgba(82,222,237,.58),transparent)!important;filter:blur(4px)!important;opacity:.62!important;z-index:-1!important;
}
.rex-equipment-card__image img,.rex-equipment-card__product-image{
  width:98%!important;height:98%!important;max-width:none!important;max-height:none!important;
  padding:0!important;margin:auto!important;object-fit:contain!important;
  transform:scale(1.04)!important;
  filter:drop-shadow(0 24px 20px rgba(0,0,0,.48)) drop-shadow(0 0 13px rgba(72,221,235,.21))!important;
}
.rex-equipment-card:hover .rex-equipment-card__image img{
  transform:translateY(-4px) scale(1.075)!important;
  filter:drop-shadow(0 28px 22px rgba(0,0,0,.50)) drop-shadow(0 0 18px rgba(75,226,240,.28))!important;
}

.rex-equipment-card__body{
  position:relative!important;z-index:2!important;
  display:flex!important;flex-direction:column!important;
  gap:10px!important;padding:4px 18px 18px!important;min-height:0!important;
}
.rex-equipment-card__title h3{
  margin:0!important;text-align:center!important;line-height:1.45!important;font-weight:780!important;
  color:var(--rex-color-text)!important;text-shadow:0 0 14px rgba(237,237,214,.07)!important;
}
.rex-equipment-features{
  display:flex!important;justify-content:center!important;align-items:center!important;flex-wrap:wrap!important;
  gap:7px!important;margin:3px 0 0!important;
}
.rex-equipment-chip{
  min-height:31px!important;padding:5px 11px!important;border-radius:11px!important;
  border:1px solid rgba(114,220,232,.22)!important;
  background:linear-gradient(180deg,rgba(13,49,59,.58),rgba(2,18,24,.48))!important;
  color:rgba(237,237,214,.84)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.055),0 4px 14px rgba(0,0,0,.17),0 0 9px rgba(57,192,207,.035)!important;
  backdrop-filter:blur(12px)!important;-webkit-backdrop-filter:blur(12px)!important;
}
.rex-equipment-stock{
  display:flex!important;align-items:center!important;justify-content:center!important;gap:9px!important;
  padding:9px 0 5px!important;margin:0!important;border:0!important;
  color:rgba(237,237,214,.72)!important;
}
.rex-equipment-stock .rex-card__stock-dot{width:9px!important;height:9px!important;flex-basis:9px!important}
.rex-equipment-stock.is-in-stock .rex-card__stock-dot{background:#24d774!important;box-shadow:0 0 0 5px rgba(36,215,116,.08),0 0 18px rgba(36,215,116,.48)!important}
.rex-equipment-stock.is-out-of-stock .rex-card__stock-dot{background:#ff4545!important;box-shadow:0 0 0 5px rgba(255,69,69,.08),0 0 18px rgba(255,69,69,.42)!important}

/* Bright gold divider, clearly visible like the approved reference. */
.rex-equipment-divider{
  position:relative!important;display:block!important;width:100%!important;height:16px!important;margin:1px 0 0!important;flex:0 0 auto!important;
}
.rex-equipment-divider::before{
  content:""!important;position:absolute!important;left:0!important;right:0!important;top:50%!important;height:1px!important;transform:translateY(-50%)!important;
  background:linear-gradient(90deg,transparent 0%,rgba(138,100,49,.30) 8%,rgba(218,177,103,.58) 43%,rgba(248,222,166,.72) 50%,rgba(218,177,103,.58) 57%,rgba(138,100,49,.30) 92%,transparent 100%)!important;
  box-shadow:0 0 6px rgba(229,190,118,.23),0 0 15px rgba(229,190,118,.09)!important;
}
.rex-equipment-divider i{
  position:absolute!important;left:50%!important;top:50%!important;width:6px!important;height:6px!important;
  transform:translate(-50%,-50%) rotate(45deg)!important;
  background:#ffe1a2!important;
  box-shadow:0 0 7px rgba(255,225,162,.95),0 0 16px rgba(218,178,103,.62)!important;
}

/* Sale price must stay on a single elegant row. */
.rex-equipment-card__price{
  display:flex!important;align-items:baseline!important;justify-content:center!important;gap:12px!important;flex-wrap:nowrap!important;
  width:100%!important;min-height:0!important;margin:0!important;padding:1px 0 3px!important;
  color:var(--rex-color-gold-highlight)!important;text-align:center!important;
  text-shadow:0 0 18px rgba(210,178,120,.16)!important;
  white-space:nowrap!important;
}
.rex-equipment-card__price .price{
  display:flex!important;align-items:baseline!important;justify-content:center!important;gap:12px!important;flex-wrap:nowrap!important;
  white-space:nowrap!important;direction:rtl!important;
}
.rex-equipment-card__price ins{order:1!important;text-decoration:none!important;color:var(--rex-color-gold-highlight)!important;white-space:nowrap!important}
.rex-equipment-card__price del{order:2!important;opacity:.44!important;color:rgba(237,237,214,.52)!important;white-space:nowrap!important}

/* Refined overlays */
.rex-equipment-card__wishlist{right:18px!important;top:17px!important;z-index:8!important}
.rex-equipment-card__wishlist .rex-card__wishlist{
  width:42px!important;height:42px!important;border-radius:999px!important;
  border:1px solid rgba(235,239,219,.11)!important;
  background:rgba(2,13,18,.42)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.045),0 7px 19px rgba(0,0,0,.22)!important;
  backdrop-filter:blur(14px)!important;-webkit-backdrop-filter:blur(14px)!important;
}
.rex-equipment-card__badges{z-index:8!important}
.rex-equipment-badge{
  min-height:0!important;border-radius:10px!important;
  background:rgba(3,17,22,.56)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.045),0 5px 14px rgba(0,0,0,.18)!important;
}
.rex-equipment-badge.is-new{color:#b7fbff!important;border-color:rgba(73,224,239,.58)!important;text-shadow:0 0 10px rgba(73,224,239,.18)!important}
.rex-equipment-badge.is-selected,.rex-equipment-badge.is-sale{color:#f3d69a!important;border-color:rgba(224,184,110,.58)!important;text-shadow:0 0 10px rgba(224,184,110,.14)!important}
.rex-equipment-badge.is-sale{unicode-bidi:isolate!important;direction:ltr!important}

/* WooCommerce Product Collection: make it use the same geometry and glow. */
.wp-block-woocommerce-product-template > li:has(.rex-collection-card__media--equipment),
.wp-block-woocommerce-product-template > .wc-block-product:has(.rex-collection-card__media--equipment){
  min-height:0!important;overflow:hidden!important;
  border:1px solid rgba(105,223,238,.50)!important;border-radius:30px!important;
  background:
    radial-gradient(82% 46% at 50% 7%,rgba(76,207,222,.18),transparent 68%),
    radial-gradient(60% 52% at 10% 54%,rgba(18,88,103,.18),transparent 72%),
    linear-gradient(150deg,rgba(20,57,68,.52),rgba(5,29,38,.56) 34%,rgba(2,13,19,.74) 72%,rgba(1,8,12,.88))!important;
  backdrop-filter:blur(28px) saturate(142%)!important;-webkit-backdrop-filter:blur(28px) saturate(142%)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.20),0 24px 54px rgba(0,0,0,.42),0 0 18px rgba(47,188,204,.11)!important;
}
.wp-block-woocommerce-product-template > li:has(.rex-collection-card__media--equipment)::after,
.wp-block-woocommerce-product-template > .wc-block-product:has(.rex-collection-card__media--equipment)::after{
  content:"";position:absolute;inset:5px;pointer-events:none;border:1px solid rgba(219,247,250,.11);border-radius:24px;
  background:linear-gradient(110deg,rgba(255,255,255,.06),transparent 34%);z-index:0;
}
.rex-collection-card__media--equipment{
  position:relative!important;z-index:2!important;padding:18px 18px 0!important;overflow:visible!important;
}
.rex-collection-card__media--equipment .wp-block-woocommerce-product-image{
  display:grid!important;place-items:center!important;aspect-ratio:1.22/1!important;overflow:visible!important;background:transparent!important;
}
.rex-collection-card__media--equipment::before{
  content:""!important;position:absolute!important;left:9%!important;right:9%!important;top:10%!important;bottom:-2%!important;z-index:-1!important;
  border-radius:50%!important;background:radial-gradient(ellipse at 50% 46%,rgba(39,203,221,.25),rgba(20,118,135,.13) 29%,rgba(5,50,62,.055) 52%,transparent 74%)!important;filter:blur(14px)!important;
}
.rex-collection-card__media--equipment .wp-block-woocommerce-product-image img,
.rex-collection-card__media--equipment .wc-block-components-product-image img{
  width:98%!important;height:98%!important;object-fit:contain!important;padding:0!important;margin:auto!important;
  transform:scale(1.04)!important;filter:drop-shadow(0 24px 20px rgba(0,0,0,.48)) drop-shadow(0 0 13px rgba(72,221,235,.21))!important;
}
.wp-block-woocommerce-product-template > li:has(.rex-collection-card__media--equipment) .wp-block-post-title,
.wp-block-woocommerce-product-template > li:has(.rex-collection-card__media--equipment) .wp-block-woocommerce-product-title,
.wp-block-woocommerce-product-template > .wc-block-product:has(.rex-collection-card__media--equipment) .wp-block-post-title,
.wp-block-woocommerce-product-template > .wc-block-product:has(.rex-collection-card__media--equipment) .wp-block-woocommerce-product-title{
  padding-top:5px!important;line-height:1.45!important;
}
.rex-equipment-features--collection{margin:7px 18px 0!important}
.rex-equipment-stock--collection{margin:5px 18px 0!important;padding:8px 0 5px!important}
.rex-equipment-divider--collection{height:16px!important;margin:1px 18px 0!important;width:calc(100% - 36px)!important}
.wp-block-woocommerce-product-template > li:has(.rex-collection-card__media--equipment) .wp-block-woocommerce-product-price,
.wp-block-woocommerce-product-template > .wc-block-product:has(.rex-collection-card__media--equipment) .wp-block-woocommerce-product-price{
  padding:1px 18px 18px!important;text-align:center!important;white-space:nowrap!important;
}
.wp-block-woocommerce-product-template > li:has(.rex-collection-card__media--equipment) .wp-block-woocommerce-product-price .wc-block-components-product-price,
.wp-block-woocommerce-product-template > .wc-block-product:has(.rex-collection-card__media--equipment) .wp-block-woocommerce-product-price .wc-block-components-product-price{
  display:flex!important;align-items:baseline!important;justify-content:center!important;gap:12px!important;flex-wrap:nowrap!important;white-space:nowrap!important;direction:rtl!important;
}

@media(max-width:640px){
  .rex-equipment-card{border-radius:22px!important}
  .rex-equipment-card::before{inset:4px!important;border-radius:18px!important}
  .rex-equipment-card__media,.rex-collection-card__media--equipment{padding:10px 10px 0!important}
  .rex-equipment-card__image,.rex-collection-card__media--equipment .wp-block-woocommerce-product-image{aspect-ratio:1.30/1!important}
  .rex-equipment-card__image img,.rex-equipment-card__product-image,
  .rex-collection-card__media--equipment .wp-block-woocommerce-product-image img,
  .rex-collection-card__media--equipment .wc-block-components-product-image img{
    width:103%!important;height:103%!important;transform:scale(1.04)!important;
  }
  .rex-equipment-card__body{gap:7px!important;padding:2px 10px 12px!important;min-height:0!important}
  .rex-equipment-features{gap:4px!important;margin-top:1px!important}
  .rex-equipment-chip{min-height:24px!important;padding:3px 7px!important;border-radius:8px!important;font-size:9px!important}
  .rex-equipment-stock{padding:6px 0 3px!important}
  .rex-equipment-divider{height:12px!important}
  .rex-equipment-divider--collection{height:12px!important;margin-inline:10px!important;width:calc(100% - 20px)!important}
  .rex-equipment-card__price{gap:8px!important;padding-bottom:1px!important}
  .rex-equipment-card__price .price{gap:8px!important}
  .rex-equipment-card__price del{font-size:calc(var(--rex-equipment-price-m,18px) * .64)!important}
  .rex-equipment-card__wishlist{right:11px!important;top:11px!important}
  .rex-equipment-card__wishlist .rex-card__wishlist{width:34px!important;height:34px!important}
}


/* REX 2.6.3 — equipment admin typography enforcement + stacked sale price */
.rex-equipment-card__price,
.rex-equipment-card__price .price{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:2px!important;
  flex-wrap:nowrap!important;
  direction:rtl!important;
  white-space:normal!important;
}
.rex-equipment-card__price ins{
  order:1!important;
  display:block!important;
  text-decoration:none!important;
  color:var(--rex-color-gold-highlight)!important;
  font-size:inherit!important;
  font-weight:800!important;
  line-height:1.3!important;
  white-space:nowrap!important;
}
.rex-equipment-card__price del{
  order:2!important;
  display:block!important;
  font-size:calc(var(--rex-equipment-price-d,22px) * .58)!important;
  line-height:1.25!important;
  opacity:.48!important;
  color:rgba(237,237,214,.54)!important;
  white-space:nowrap!important;
}
.rex-equipment-card__price del .woocommerce-Price-amount,
.rex-equipment-card__price del bdi{
  font-size:inherit!important;
}
.rex-equipment-card__price ins .woocommerce-Price-amount,
.rex-equipment-card__price ins bdi{
  font-size:inherit!important;
}

/* Product Collection price layout must match the REX equipment card. */
.wp-block-woocommerce-product-template > li:has(.rex-collection-card__media--equipment) .wp-block-woocommerce-product-price .wc-block-components-product-price,
.wp-block-woocommerce-product-template > .wc-block-product:has(.rex-collection-card__media--equipment) .wp-block-woocommerce-product-price .wc-block-components-product-price,
.wp-block-woocommerce-product-template > li:has(.rex-collection-card__media--equipment) .wp-block-woocommerce-product-price .price,
.wp-block-woocommerce-product-template > .wc-block-product:has(.rex-collection-card__media--equipment) .wp-block-woocommerce-product-price .price{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:2px!important;
  flex-wrap:nowrap!important;
  direction:rtl!important;
}
.wp-block-woocommerce-product-template > li:has(.rex-collection-card__media--equipment) .wp-block-woocommerce-product-price ins,
.wp-block-woocommerce-product-template > .wc-block-product:has(.rex-collection-card__media--equipment) .wp-block-woocommerce-product-price ins{
  order:1!important;
  display:block!important;
  text-decoration:none!important;
  font-size:inherit!important;
  font-weight:800!important;
  line-height:1.3!important;
}
.wp-block-woocommerce-product-template > li:has(.rex-collection-card__media--equipment) .wp-block-woocommerce-product-price del,
.wp-block-woocommerce-product-template > .wc-block-product:has(.rex-collection-card__media--equipment) .wp-block-woocommerce-product-price del{
  order:2!important;
  display:block!important;
  font-size:calc(var(--rex-equipment-price-d,22px) * .58)!important;
  line-height:1.25!important;
  opacity:.48!important;
  color:rgba(237,237,214,.54)!important;
}
@media(max-width:640px){
  .rex-equipment-card__price del,
  .wp-block-woocommerce-product-template > li:has(.rex-collection-card__media--equipment) .wp-block-woocommerce-product-price del,
  .wp-block-woocommerce-product-template > .wc-block-product:has(.rex-collection-card__media--equipment) .wp-block-woocommerce-product-price del{
    font-size:calc(var(--rex-equipment-price-m,18px) * .58)!important;
  }
}


/* REX 2.6.4 — WooCommerce brand badge + informational attributes */
.rex-equipment-brand-wrap{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  margin:0 auto 4px!important;
  text-align:center!important;
}
.rex-equipment-brand{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:26px!important;
  max-width:86%!important;
  padding:4px 11px!important;
  border:1px solid rgba(91,224,235,.28)!important;
  border-radius:999px!important;
  background:linear-gradient(180deg,rgba(20,63,72,.34),rgba(3,18,24,.48))!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.06),0 0 18px rgba(60,205,220,.08)!important;
  backdrop-filter:blur(10px)!important;
  -webkit-backdrop-filter:blur(10px)!important;
  color:rgba(205,247,249,.92)!important;
  font-size:calc(var(--rex-equipment-badge-d,12px) * .92)!important;
  font-weight:700!important;
  line-height:1.2!important;
  letter-spacing:.02em!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.rex-equipment-brand--collection{
  margin:7px 18px 2px!important;
  width:calc(100% - 36px)!important;
}
.rex-equipment-brand--collection + .wp-block-post-title,
.rex-equipment-brand--collection + .wp-block-woocommerce-product-title{
  padding-top:4px!important;
}
@media(max-width:640px){
  .rex-equipment-brand{font-size:calc(var(--rex-equipment-badge-m,10px) * .92)!important;min-height:23px!important;padding:3px 9px!important}
  .rex-equipment-brand--collection{margin:5px 10px 1px!important;width:calc(100% - 20px)!important}
}

/* REX 3.0.4 — global WooCommerce loading skin. Functional blocking stays, stock Woo visuals do not. */
body.woocommerce-page .blockUI.blockOverlay,body.woocommerce-page .blockOverlay{background:rgba(2,9,13,.08)!important;background-image:none!important;opacity:1!important;cursor:progress!important}
body.woocommerce-page .blockUI.blockOverlay::before,body.woocommerce-page .blockOverlay::before{content:""!important;position:absolute!important;top:50%!important;left:50%!important;right:auto!important;width:32px!important;height:32px!important;margin:-16px 0 0 -16px!important;border:2px solid rgba(88,202,213,.18)!important;border-top-color:#58cad5!important;border-right-color:#efd79d!important;border-radius:50%!important;background:none!important;background-image:none!important;box-shadow:0 0 0 7px rgba(2,9,13,.78),0 0 24px rgba(88,202,213,.18)!important;animation:rexWooGlobalSpin .72s linear infinite!important}
body.woocommerce-page .blockUI.blockOverlay::after,body.woocommerce-page .blockOverlay::after{content:"در حال به‌روزرسانی…"!important;position:absolute!important;top:calc(50% + 29px)!important;left:50%!important;transform:translateX(-50%)!important;min-width:max-content!important;padding:6px 10px!important;border:1px solid rgba(88,202,213,.16)!important;border-radius:999px!important;background:rgba(2,9,13,.88)!important;color:#bfeff0!important;font-size:10px!important;font-weight:800!important;line-height:1.2!important}
body.woocommerce-page .woocommerce .loader,body.woocommerce-page .woocommerce .woocommerce-loader{background:none!important;background-image:none!important;opacity:1!important}
body.woocommerce-page .woocommerce .loader::before,body.woocommerce-page .woocommerce .woocommerce-loader::before{content:""!important;width:30px!important;height:30px!important;margin:-15px 0 0 -15px!important;border:2px solid rgba(88,202,213,.18)!important;border-top-color:#58cad5!important;border-right-color:#efd79d!important;border-radius:50%!important;background:none!important;background-image:none!important;animation:rexWooGlobalSpin .72s linear infinite!important}
@keyframes rexWooGlobalSpin{to{transform:rotate(360deg)}}

/* REX 3.0.6 — real DOM Woo loader retained; Checkout critical CSS prevents pre-style grey flash. */
body.woocommerce-page .blockUI.blockOverlay::before,
body.woocommerce-page .blockOverlay::before,
body.woocommerce-page .blockUI.blockOverlay::after,
body.woocommerce-page .blockOverlay::after{display:none!important;content:none!important}
.rex-woo-loader-ui{
  position:absolute;inset:0;z-index:3;display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:13px;pointer-events:none;direction:rtl;text-align:center
}
.rex-woo-loader-ui__spinner{
  display:block;width:38px;height:38px;border:3px solid rgba(88,202,213,.18);border-top-color:#58cad5;
  border-right-color:#efd79d;border-radius:50%;box-shadow:0 0 0 8px rgba(2,9,13,.82),0 0 30px rgba(88,202,213,.20);
  transform-origin:50% 50%;will-change:transform;animation:rexWooLoaderOrbit .68s linear infinite;
  -webkit-animation:rexWooLoaderOrbit .68s linear infinite
}
.rex-woo-loader-ui__label{
  display:block;padding:7px 11px;border:1px solid rgba(88,202,213,.18);border-radius:999px;background:rgba(2,9,13,.90);
  color:#bfeff0;font-size:10px;font-weight:800;line-height:1.2;box-shadow:0 10px 30px rgba(0,0,0,.28)
}
@keyframes rexWooLoaderOrbit{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}
@-webkit-keyframes rexWooLoaderOrbit{0%{-webkit-transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.rex-woo-loader-ui__spinner{animation-duration:1.25s;-webkit-animation-duration:1.25s}}

/* --------------------------------------------------------------------------
   REX 3.5.3 — Global custom scrollbar system
   Keep scrolling visible and usable everywhere while removing the native
   bright/white browser skin. Applies to page scroll, modals, drawers, lists,
   SelectWoo/Select2 results, tables and any future scrollable REX surface.
   -------------------------------------------------------------------------- */
:root{
  --rex-scrollbar-size:8px;
  --rex-scrollbar-track:#020c11;
  --rex-scrollbar-track-edge:rgba(88,202,213,.08);
  --rex-scrollbar-thumb:#9f8354;
  --rex-scrollbar-thumb-hover:#d2b278;
}
html,
body,
body *{
  scrollbar-width:thin;
  scrollbar-color:var(--rex-scrollbar-thumb) var(--rex-scrollbar-track);
}
html::-webkit-scrollbar,
body::-webkit-scrollbar,
body *::-webkit-scrollbar{
  width:var(--rex-scrollbar-size);
  height:var(--rex-scrollbar-size);
}
html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track,
body *::-webkit-scrollbar-track{
  background:linear-gradient(180deg,var(--rex-scrollbar-track),#03171e);
  box-shadow:inset 0 0 0 1px var(--rex-scrollbar-track-edge);
}
html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb,
body *::-webkit-scrollbar-thumb{
  min-height:42px;
  border:2px solid var(--rex-scrollbar-track);
  border-radius:999px;
  background:linear-gradient(180deg,#d2b278 0%,#ae8e5b 48%,#58cad5 100%);
  background-clip:padding-box;
}
html::-webkit-scrollbar-thumb:hover,
body::-webkit-scrollbar-thumb:hover,
body *::-webkit-scrollbar-thumb:hover{
  background:linear-gradient(180deg,#efd79d 0%,#d2b278 48%,#71d8df 100%);
  background-clip:padding-box;
}
html::-webkit-scrollbar-corner,
body::-webkit-scrollbar-corner,
body *::-webkit-scrollbar-corner{background:var(--rex-scrollbar-track)}
html::-webkit-scrollbar-button,
body::-webkit-scrollbar-button,
body *::-webkit-scrollbar-button{width:0;height:0;display:none;background:transparent}

@media(max-width:680px){
  :root{--rex-scrollbar-size:6px}
}

/* REX 3.8.14 — generic product → Support smart context */
.rex-product-support-context--generic{display:flex;align-items:center;justify-content:space-between;gap:18px;clear:both;margin:22px 0;padding:18px 20px;border:1px solid rgba(88,202,213,.12);border-radius:18px;background:linear-gradient(145deg,rgba(3,22,29,.78),rgba(2,12,17,.88));direction:rtl}.rex-product-support-context--generic>div{display:grid;gap:4px}.rex-product-support-context--generic>div>span{color:#58cad5;font-size:10px;font-weight:900;letter-spacing:.08em}.rex-product-support-context--generic>div>strong{color:#f2eee4;font-size:15px}.rex-product-support-context--generic>div>p{margin:0;color:#a9b4b6;font-size:11px;line-height:1.8}.rex-product-support-context--generic>a{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 15px;border:1px solid rgba(88,202,213,.24);border-radius:12px;background:rgba(88,202,213,.07);color:#77dbe4!important;font-size:11px;font-weight:900;text-decoration:none!important;white-space:nowrap}@media(max-width:640px){.rex-product-support-context--generic{align-items:stretch;flex-direction:column;padding:15px}.rex-product-support-context--generic>a{width:100%}}


/* --------------------------------------------------------------------------
   REX 3.8.22 — product-form variation validation stays outside Cart Popup
   -------------------------------------------------------------------------- */
.rex-sp-product .rex-product-selection-error{margin:10px 0 2px!important;padding:11px 13px!important;border:1px solid rgba(224,119,119,.30)!important;border-radius:12px!important;background:linear-gradient(180deg,rgba(111,37,37,.18),rgba(74,23,23,.12))!important;color:#f0aaa7!important;font-size:.82rem!important;font-weight:750!important;line-height:1.8!important;text-align:right!important}
.rex-sp-product .rex-product-selection-error[hidden]{display:none!important}
.rex-sp-product .rex-discus-variation-row.is-missing{padding:8px!important;margin-inline:-8px!important;border:1px solid rgba(224,119,119,.25)!important;border-radius:14px!important;background:rgba(111,37,37,.08)!important;box-shadow:0 0 0 3px rgba(224,119,119,.035)!important}
.rex-sp-product .rex-discus-variation-row.is-missing .rex-discus-variation-label{color:#f0aaa7!important}
.rex-sp-product .rex-discus-variation-row.is-missing .rex-variation-chip{border-color:rgba(224,119,119,.22)!important}
@media(prefers-reduced-motion:reduce){.rex-sp-product .rex-discus-variation-row{scroll-behavior:auto!important}}


/* REX 3.9.1 — world-card visual sync with Core 3.9.2.26 */
.rex-world{position:relative;overflow:hidden}
.rex-world .rex-section-head{text-align:center;margin:0 auto clamp(1.6rem,3vw,2.4rem)}
.rex-world .rex-section-head .rex-eyebrow{display:none}
.rex-world .rex-section-head h2{margin:0;font-family:Georgia,"Times New Roman",serif;font-size:clamp(2.3rem,4.4vw,4.8rem);font-weight:600;letter-spacing:.02em;color:var(--rex-color-gold-light,#e5c47d)}
.rex-world .rex-section-head .rex-lead{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:18px;margin:.7rem auto 0;color:rgba(237,237,214,.78);font-size:clamp(.95rem,1.25vw,1.25rem)}
.rex-world .rex-section-head .rex-lead::before,.rex-world .rex-section-head .rex-lead::after{content:"";display:block;width:clamp(52px,7vw,110px);height:1px;background:linear-gradient(90deg,transparent,rgba(210,178,120,.72),transparent)}
.rex-world__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;align-items:stretch}
.rex-world-card{position:relative;display:grid;grid-template-rows:minmax(320px,1fr) auto;min-height:680px;padding:0;border:1px solid rgba(210,178,120,.28);border-radius:28px;background:linear-gradient(180deg,rgba(3,14,20,.96),rgba(1,8,12,.98));overflow:hidden;box-shadow:0 30px 60px rgba(0,0,0,.28),0 0 0 1px rgba(210,178,120,.05) inset;text-decoration:none;color:inherit;transition:transform .26s ease,border-color .26s ease,box-shadow .26s ease}
.rex-world-card:hover{transform:translateY(-6px);border-color:rgba(231,194,112,.55);box-shadow:0 42px 74px rgba(0,0,0,.35),0 0 24px rgba(227,191,114,.07)}
.rex-world-card__media{position:relative;min-height:320px;overflow:hidden;background:radial-gradient(circle at 50% 20%,rgba(26,137,155,.24),transparent 35%),linear-gradient(180deg,#08202a 0%,#06131b 100%)}
.rex-world-card__img,.rex-world-card__placeholder{display:block;width:100%;height:100%;min-height:320px;object-fit:cover;object-position:center}
.rex-world-card__placeholder{background:radial-gradient(circle at 50% 20%,rgba(88,202,213,.18),transparent 34%),linear-gradient(180deg,rgba(9,43,55,.9),rgba(4,14,20,.96))}
.rex-world-card--equipment .rex-world-card__placeholder{background:radial-gradient(circle at 50% 18%,rgba(190,214,245,.14),transparent 32%),linear-gradient(180deg,rgba(10,25,33,.96),rgba(4,13,18,.98))}
.rex-world-card--care .rex-world-card__placeholder,.rex-world-card--food .rex-world-card__placeholder{background:radial-gradient(circle at 50% 20%,rgba(210,178,120,.18),transparent 32%),linear-gradient(180deg,rgba(12,24,31,.96),rgba(4,13,18,.98))}
.rex-world-card__veil{position:absolute;inset:0;background:linear-gradient(180deg,rgba(2,7,11,.02) 0%,rgba(2,7,11,.1) 38%,rgba(2,7,11,.76) 100%)}
.rex-world-card__body{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:10px;padding:0 24px 0;background:linear-gradient(180deg,rgba(2,9,14,.96),rgba(1,7,11,.99));text-align:center}
.rex-world-card__body::before{content:"";position:absolute;top:0;right:0;left:0;height:1px;background:rgba(210,178,120,.16)}
.rex-world-card__badge{position:relative;display:flex;justify-content:center;width:100%;height:0;z-index:2}
.rex-world-card__icon{display:grid;place-items:center;width:76px;height:76px;margin-top:-38px;border:1px solid rgba(210,178,120,.34);border-radius:999px;background:linear-gradient(180deg,rgba(8,22,29,.97),rgba(4,11,16,.98));box-shadow:0 12px 30px rgba(0,0,0,.28),0 0 0 5px rgba(3,9,13,.82)}
.rex-world-card__icon svg{width:30px;height:30px;color:var(--rex-color-gold-light,#e5c47d);fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.rex-world-card__title{display:block;margin-top:28px;font-size:clamp(1.7rem,2vw,2.45rem);line-height:1.12;color:var(--rex-color-gold-light,#e5c47d);font-weight:800}
.rex-world-card__subtitle{display:block;min-height:1.8em;margin:0 0 18px;font-size:clamp(.94rem,1.1vw,1.22rem);line-height:1.7;color:rgba(237,237,214,.78)}
.rex-world-card__footer{margin-top:auto;display:flex;align-items:center;justify-content:center;gap:10px;width:calc(100% + 48px);padding:22px 24px;border-top:1px solid rgba(210,178,120,.11);color:var(--rex-color-gold-light,#e5c47d)}
.rex-world-card__arrow{display:grid;place-items:center;line-height:1}
.rex-world-card__arrow svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.rex-world-card__cta{font-size:1.05rem;font-weight:800;letter-spacing:.01em}
@media(max-width:1100px){.rex-world__grid{grid-template-columns:repeat(2,minmax(0,1fr))}.rex-world-card{min-height:620px}}
@media(max-width:760px){.rex-world .rex-section-head h2{font-size:clamp(2rem,9vw,3.1rem)}.rex-world .rex-section-head .rex-lead{display:flex;font-size:.95rem;gap:12px}.rex-world__grid{grid-template-columns:1fr;gap:18px}.rex-world-card{min-height:560px;border-radius:22px}.rex-world-card__media,.rex-world-card__img,.rex-world-card__placeholder{min-height:265px}.rex-world-card__icon{width:68px;height:68px;margin-top:-34px}.rex-world-card__title{margin-top:22px;font-size:clamp(1.45rem,7vw,2rem)}.rex-world-card__subtitle{font-size:.95rem}.rex-world-card__footer{padding:18px 18px;width:calc(100% + 36px)}}


/* REX 3.9.2.27 — compact, adjustable World cards + dedicated landing pages. */
.rex-world-card{grid-template-rows:var(--rex-world-media-h,300px) minmax(0,1fr)!important;min-height:var(--rex-world-card-h,560px)!important}
.rex-world-card__media,.rex-world-card__img,.rex-world-card__placeholder{min-height:0!important;height:var(--rex-world-media-h,300px)!important}
.rex-world-card__body{min-height:0!important}
.rex-world-card__title{margin-top:24px!important}
.rex-world-card__subtitle{margin-bottom:8px!important}
.rex-world-card__footer{padding-block:17px!important}
@media(max-width:760px){
 .rex-world-card{grid-template-rows:var(--rex-world-media-h-mobile,255px) minmax(0,1fr)!important;min-height:var(--rex-world-card-h-mobile,500px)!important}
 .rex-world-card__media,.rex-world-card__img,.rex-world-card__placeholder{height:var(--rex-world-media-h-mobile,255px)!important}
}
.rex-world-landing-page main.wp-block-group{width:100%!important;max-width:none!important;margin:0!important;padding:0!important}
.rex-world-landing-page main.wp-block-group>.wp-block-post-title{display:none!important}
.rex-world-landing-page .wp-block-post-content{width:100%!important;max-width:none!important;margin:0!important;padding:0!important}
.rex-world-landing{--rex-world-page-gold:var(--rex-color-gold-light,#e5c47d);min-height:70vh;background:linear-gradient(180deg,rgba(2,10,15,.25),rgba(1,7,11,.75));color:var(--rex-color-text,#f4f0df)}
.rex-world-landing__hero{position:relative;display:grid;align-items:end;min-height:clamp(320px,42vw,560px);overflow:hidden;background:radial-gradient(circle at 50% 20%,rgba(33,139,160,.22),transparent 35%),linear-gradient(180deg,#08202a,#041017)}
.rex-world-landing__hero-media,.rex-world-landing__hero-media img,.rex-world-landing__shade{position:absolute;inset:0;width:100%;height:100%}
.rex-world-landing__hero-media img{object-fit:cover;object-position:center}
.rex-world-landing__shade{background:linear-gradient(180deg,rgba(1,7,11,.1),rgba(1,7,11,.38) 50%,rgba(1,7,11,.95))}
.rex-world-landing__hero-copy{position:relative;z-index:2;width:min(calc(100% - 40px),var(--rex-container,1440px));margin:0 auto;padding:0 0 clamp(42px,6vw,78px);text-align:right}
.rex-world-landing__hero-copy>span{display:block;margin-bottom:8px;color:var(--rex-world-page-gold);font:600 .82rem/1.3 Georgia,serif;letter-spacing:.15em}
.rex-world-landing__hero-copy h1{margin:0;color:var(--rex-world-page-gold);font-size:clamp(2.3rem,5vw,5rem);line-height:1.12}
.rex-world-landing__hero-copy p{margin:.8rem 0 0;color:rgba(237,237,214,.8);font-size:clamp(1rem,1.5vw,1.35rem)}
.rex-world-landing__inner{box-sizing:border-box;width:min(calc(100% - 40px),var(--rex-container,1440px));margin:0 auto;padding:clamp(48px,7vw,90px) 0}
.rex-world-landing__heading{text-align:center;margin-bottom:28px}.rex-world-landing__heading span{color:var(--rex-world-page-gold);font-size:.84rem}.rex-world-landing__heading h2{margin:.4rem 0 0;font-size:clamp(1.6rem,3vw,2.7rem)}
.rex-world-landing__categories{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.rex-world-category-btn{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:74px;padding:16px 20px;border:1px solid rgba(210,178,120,.22);border-radius:16px;background:linear-gradient(145deg,rgba(7,28,35,.84),rgba(2,11,16,.92));color:var(--rex-color-text,#f4f0df)!important;text-decoration:none!important;box-shadow:0 16px 34px rgba(0,0,0,.18);transition:transform .2s ease,border-color .2s ease,background .2s ease}
.rex-world-category-btn:hover{transform:translateY(-3px);border-color:rgba(229,196,125,.58);background:linear-gradient(145deg,rgba(9,38,47,.95),rgba(3,15,21,.97))}
.rex-world-category-btn span{font-size:1.05rem;font-weight:800}.rex-world-category-btn svg{width:20px;height:20px;fill:none;stroke:var(--rex-world-page-gold);stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.rex-world-landing__all{display:flex;align-items:center;justify-content:center;gap:8px;width:max-content;max-width:100%;margin:30px auto 0;padding:12px 18px;color:var(--rex-world-page-gold)!important;text-decoration:none!important}.rex-world-landing__all svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7}
@media(max-width:900px){.rex-world-landing__categories{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.rex-world-landing__hero{min-height:390px}.rex-world-landing__hero-copy,.rex-world-landing__inner{width:calc(100% - 24px)}.rex-world-landing__categories{grid-template-columns:1fr}.rex-world-category-btn{min-height:66px;padding:14px 16px}}

/* REX 3.9.3 — World landing page visual sync with Core 3.9.2.28. */
.rex-world-landing__hero-slot{position:relative;overflow:hidden}
.rex-world-landing__hero-slot>.rex-smart-hero{width:100%;max-width:none;margin:0}
.rex-world-landing__inner{box-sizing:border-box;width:min(calc(100% - 40px),var(--rex-container,1440px));margin:0 auto;padding:clamp(42px,6vw,78px) 0 clamp(60px,8vw,104px)}
.rex-world-landing__heading{display:flex;align-items:center;justify-content:flex-start;gap:14px;margin:0 0 24px;text-align:right}.rex-world-landing__heading::before{content:"";width:54px;height:1px;background:linear-gradient(90deg,transparent,var(--rex-world-page-gold,#e5c47d))}.rex-world-landing__heading h2{margin:0;color:var(--rex-world-page-gold,#e5c47d);font-size:clamp(1.5rem,2.6vw,2.35rem)}
.rex-world-landing__categories{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(165px,220px))!important;justify-content:center;gap:16px!important}
.rex-world-category-card{position:relative;display:grid;grid-template-rows:minmax(0,1fr) auto;min-width:0;aspect-ratio:.78;border:1px solid rgba(210,178,120,.24);border-radius:16px;background:linear-gradient(180deg,rgba(5,24,31,.9),rgba(2,10,15,.98));overflow:hidden;color:var(--rex-color-text,#f4f0df)!important;text-decoration:none!important;box-shadow:0 16px 36px rgba(0,0,0,.22);transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease}.rex-world-category-card:hover{transform:translateY(-5px);border-color:rgba(231,194,112,.66);box-shadow:0 24px 48px rgba(0,0,0,.3),0 0 20px rgba(227,191,114,.07)}
.rex-world-category-card__media{position:relative;display:block;min-height:0;overflow:hidden;background:radial-gradient(circle at 50% 28%,rgba(43,145,164,.19),transparent 38%),#041119}.rex-world-category-card__media::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(1,7,11,.02),rgba(1,7,11,.12) 60%,rgba(1,7,11,.72))}.rex-world-category-card__img,.rex-world-category-card__placeholder{display:block;width:100%;height:100%;object-fit:cover;object-position:center;transition:transform .3s ease}.rex-world-category-card:hover .rex-world-category-card__img{transform:scale(1.045)}.rex-world-category-card__placeholder{display:grid;place-items:center;background:radial-gradient(circle at 50% 35%,rgba(88,202,213,.17),transparent 35%),linear-gradient(180deg,#08222c,#041016)}.rex-world-category-card__placeholder b{color:rgba(229,196,125,.72);font:600 1.25rem/1 Georgia,serif;letter-spacing:.08em}.rex-world-category-card__body{display:grid;place-items:center;min-height:68px;padding:11px 10px;border-top:1px solid rgba(210,178,120,.12);background:rgba(1,8,12,.98);text-align:center}.rex-world-category-card__body strong{display:block;font-size:1rem;line-height:1.55;color:#f4f0df}
@media(max-width:760px){.rex-world-landing__inner{width:calc(100% - 20px);padding:34px 0 70px}.rex-world-landing__heading{margin-bottom:16px}.rex-world-landing__heading::before{width:30px}.rex-world-landing__heading h2{font-size:1.35rem}.rex-world-landing__categories{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;justify-content:stretch}.rex-world-category-card{width:100%;aspect-ratio:.78;border-radius:13px}.rex-world-category-card__body{min-height:55px;padding:8px 6px}.rex-world-category-card__body strong{font-size:.82rem}.rex-world-landing__hero-slot .rex-actions{display:flex!important;flex-wrap:nowrap!important;gap:8px!important;width:100%}.rex-world-landing__hero-slot .rex-actions .rex-btn{flex:1 1 0!important;min-width:0!important;padding-inline:.7rem!important;white-space:nowrap}}


/* REX 3.9.2.29 — world-card spacing/alignment polish */
.rex-world__grid{align-items:stretch!important}
.rex-world-card{
  min-height:var(--rex-world-card-h,500px)!important;
  grid-template-rows:var(--rex-world-media-h,260px) minmax(0,1fr)!important;
}
.rex-world-card__media,.rex-world-card__img,.rex-world-card__placeholder{
  height:var(--rex-world-media-h,260px)!important;
  min-height:0!important;
}
.rex-world-card__body{
  display:grid!important;
  grid-template-rows:auto auto auto 1fr auto;
  align-content:start;
  gap:10px!important;
  padding:0 22px 0!important;
}
.rex-world-card__badge{margin-bottom:0!important}
.rex-world-card__icon{
  width:72px!important;
  height:72px!important;
  margin-top:-36px!important;
}
.rex-world-card__icon svg{width:28px!important;height:28px!important}
.rex-world-card__title{
  margin:14px 0 0!important;
  font-size:clamp(1.55rem,1.9vw,2.2rem)!important;
  line-height:1.18!important;
}
.rex-world-card__subtitle{
  min-height:0!important;
  margin:0!important;
  padding-inline:8px;
  font-size:clamp(.92rem,1vw,1.06rem)!important;
  line-height:1.75!important;
}
.rex-world-card__footer{
  align-self:stretch;
  justify-content:center!important;
  gap:12px!important;
  width:calc(100% + 44px)!important;
  margin-top:14px!important;
  padding:16px 22px!important;
}
.rex-world-card__cta{font-size:1rem!important}
@media(max-width:1100px){
  .rex-world-card{min-height:var(--rex-world-card-h,500px)!important}
}
@media(max-width:760px){
  .rex-world-card{
    min-height:var(--rex-world-card-h-mobile,430px)!important;
    grid-template-rows:var(--rex-world-media-h-mobile,220px) minmax(0,1fr)!important;
    border-radius:22px!important;
  }
  .rex-world-card__media,.rex-world-card__img,.rex-world-card__placeholder{height:var(--rex-world-media-h-mobile,220px)!important}
  .rex-world-card__body{padding:0 18px 0!important;gap:8px!important}
  .rex-world-card__icon{width:64px!important;height:64px!important;margin-top:-32px!important}
  .rex-world-card__icon svg{width:24px!important;height:24px!important}
  .rex-world-card__title{margin-top:12px!important;font-size:clamp(1.35rem,6vw,1.8rem)!important}
  .rex-world-card__subtitle{font-size:.92rem!important;line-height:1.65!important}
  .rex-world-card__footer{width:calc(100% + 36px)!important;padding:14px 18px!important;margin-top:12px!important}
}


/* REX 3.9.2.30 — Home world images use a true 4:3 responsive frame. */
.rex-world-card{
  grid-template-rows:auto minmax(0,1fr)!important;
  min-height:var(--rex-world-card-h,500px)!important;
}
.rex-world-card__media{
  position:relative!important;
  display:block!important;
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  aspect-ratio:4 / 3!important;
  overflow:hidden!important;
  background:#020b10!important;
}
.rex-world-card__img,
.rex-world-card__placeholder{
  display:block!important;
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  max-width:none!important;
  object-fit:contain!important;
  object-position:center center!important;
  transform:none!important;
}
.rex-world-card:hover .rex-world-card__img{transform:none!important}
@media(max-width:760px){
  .rex-world-card{
    grid-template-rows:auto minmax(0,1fr)!important;
    min-height:var(--rex-world-card-h-mobile,430px)!important;
  }
  .rex-world-card__media,
  .rex-world-card__img,
  .rex-world-card__placeholder{
    height:auto!important;
  }
  .rex-world-card__media{aspect-ratio:4 / 3!important}
  .rex-world-card__img,.rex-world-card__placeholder{height:100%!important}
}


/* REX 3.9.2.31 — world cards centered composition fix */
.rex-world .rex-shell{max-width:min(1780px,100% - 48px);margin-inline:auto}
.rex-world__grid{
  width:100%;
  max-width:1680px;
  margin-inline:auto!important;
  justify-content:center!important;
  align-items:stretch!important;
}
.rex-world-card{
  justify-self:center!important;
  width:100%;
}
.rex-world-card__media{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  overflow:hidden!important;
}
.rex-world-card__img,
.rex-world-card__placeholder{
  margin:auto!important;
  object-position:center center!important;
}
.rex-world-card__body,
.rex-world-card__title,
.rex-world-card__subtitle,
.rex-world-card__footer{
  text-align:center!important;
  justify-items:center;
}
.rex-world-card__footer{
  justify-content:center!important;
}
@media(max-width:760px){
  .rex-world .rex-shell{max-width:min(100% - 18px, 100%)}
}


/* REX 3.9.2.32 — world-card final alignment + custom badge image */
.rex-world-card__body{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:flex-start!important;
  text-align:center!important;
}
.rex-world-card__content{
  flex:1 1 auto;
  width:100%;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:18px 0 14px;
}
.rex-world-card__title{
  width:100%;
  margin:0!important;
  text-align:center!important;
}
.rex-world-card__subtitle{
  width:100%;
  max-width:24ch;
  margin:0 auto!important;
  text-align:center!important;
}
.rex-world-card__footer{
  width:100%!important;
  margin-top:0!important;
}
.rex-world-card__icon{
  overflow:hidden;
}
.rex-world-card__badge-image{
  width:28px;
  height:28px;
  object-fit:contain;
  display:block;
}
@media(max-width:760px){
  .rex-world-card__content{padding:14px 0 12px;gap:8px}
  .rex-world-card__badge-image{width:24px;height:24px}
}


/* REX 3.9.2.33 — world-card title spacing + optional empty CTA + title size controls */
.rex-world-card__badge{margin-bottom:10px!important}
.rex-world-card__content{
  padding:34px 0 16px!important;
  gap:12px!important;
}
.rex-world-card__title{
  font-size:var(--rex-world-title-size,52px)!important;
  line-height:1.16!important;
}
.rex-world-card__footer:empty{display:none!important}
@media(max-width:760px){
  .rex-world-card__badge{margin-bottom:8px!important}
  .rex-world-card__content{padding:26px 0 12px!important;gap:10px!important}
  .rex-world-card__title{font-size:var(--rex-world-title-size-mobile,34px)!important;line-height:1.18!important}
}


/* REX 3.9.2.34 — customizable World page category-card repeater */
.rex-world-landing__categories{align-items:stretch!important}
.rex-world-category-card{display:flex!important;flex-direction:column!important;aspect-ratio:auto!important;min-height:310px}
.rex-world-category-card__media{flex:0 0 auto;aspect-ratio:1 / 1;min-height:0!important}
.rex-world-category-card__body{flex:1 1 auto;display:flex!important;flex-direction:column;align-items:center;justify-content:flex-start;gap:7px;min-height:0!important;padding:12px 10px 13px!important}
.rex-world-category-card__body strong{font-size:1rem;line-height:1.5;text-align:center}
.rex-world-category-card__body small{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:3;margin:0;color:rgba(237,237,214,.62);font-size:.78rem;line-height:1.65;text-align:center}
.rex-world-category-card__cta{display:inline-flex;align-items:center;justify-content:center;gap:5px;margin-top:auto;padding-top:5px;color:var(--rex-world-page-gold,#e5c47d);font-size:.82rem;font-weight:800}
.rex-world-category-card__cta i{font-style:normal;font-size:1.15em;line-height:1}
@media(max-width:760px){
 .rex-world-landing__categories{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
 .rex-world-category-card{min-height:250px!important;width:100%!important}
 .rex-world-category-card__media{aspect-ratio:1 / 1!important}
 .rex-world-category-card__body{padding:9px 6px 10px!important;gap:5px}
 .rex-world-category-card__body strong{font-size:.82rem!important;line-height:1.45}
 .rex-world-category-card__body small{-webkit-line-clamp:2;font-size:.67rem;line-height:1.5}
 .rex-world-category-card__cta{font-size:.72rem}
}


/* REX 3.9.2.35 — fixed circular badge frame + square custom badge images */
.rex-world-card__badge{
  width:100%!important;
  display:flex!important;
  justify-content:center!important;
}
.rex-world-card__icon{
  position:relative;
  width:84px!important;
  height:84px!important;
  min-width:84px!important;
  min-height:84px!important;
  aspect-ratio:1 / 1!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 84px!important;
  padding:0!important;
  border-radius:50%!important;
  overflow:hidden!important;
}
.rex-world-card__badge-image,
.rex-world-card__icon img.rex-world-card__badge-image{
  width:42px!important;
  height:42px!important;
  min-width:42px!important;
  min-height:42px!important;
  max-width:none!important;
  max-height:none!important;
  object-fit:contain!important;
  object-position:center center!important;
  display:block!important;
  border-radius:0!important;
  box-shadow:none!important;
  background:transparent!important;
}
@media(max-width:760px){
  .rex-world-card__icon{
    width:72px!important;
    height:72px!important;
    min-width:72px!important;
    min-height:72px!important;
    flex-basis:72px!important;
  }
  .rex-world-card__badge-image,
  .rex-world-card__icon img.rex-world-card__badge-image{
    width:36px!important;
    height:36px!important;
    min-width:36px!important;
    min-height:36px!important;
  }
}


/* REX 3.9.2.36 — larger precise 800x800 badge-image rendering */
.rex-world-card__icon{
  width:96px!important;
  height:96px!important;
  min-width:96px!important;
  min-height:96px!important;
  flex:0 0 96px!important;
  border-radius:50%!important;
}
.rex-world-card__badge-image,
.rex-world-card__icon img.rex-world-card__badge-image{
  width:64px!important;
  height:64px!important;
  min-width:64px!important;
  min-height:64px!important;
  max-width:64px!important;
  max-height:64px!important;
  object-fit:cover!important;
  object-position:center center!important;
  display:block!important;
}
@media(max-width:760px){
  .rex-world-card__icon{
    width:82px!important;
    height:82px!important;
    min-width:82px!important;
    min-height:82px!important;
    flex-basis:82px!important;
  }
  .rex-world-card__badge-image,
  .rex-world-card__icon img.rex-world-card__badge-image{
    width:56px!important;
    height:56px!important;
    min-width:56px!important;
    min-height:56px!important;
    max-width:56px!important;
    max-height:56px!important;
  }
}


/* REX 3.9.2.37 — make uploaded 800x800 badge images visibly larger */
.rex-world-card__icon{
  width:98px!important;
  height:98px!important;
  min-width:98px!important;
  min-height:98px!important;
  flex:0 0 98px!important;
}
.rex-world-card__badge-image,
.rex-world-card__icon img.rex-world-card__badge-image{
  width:82px!important;
  height:82px!important;
  min-width:82px!important;
  min-height:82px!important;
  max-width:82px!important;
  max-height:82px!important;
  object-fit:cover!important;
  object-position:center center!important;
  display:block!important;
}
@media(max-width:760px){
  .rex-world-card__icon{
    width:84px!important;
    height:84px!important;
    min-width:84px!important;
    min-height:84px!important;
    flex-basis:84px!important;
  }
  .rex-world-card__badge-image,
  .rex-world-card__icon img.rex-world-card__badge-image{
    width:70px!important;
    height:70px!important;
    min-width:70px!important;
    min-height:70px!important;
    max-width:70px!important;
    max-height:70px!important;
  }
}


/* REX Theme 3.9.13 — square mobile story image */
.rex-story__content{min-width:0}
.rex-story__media{background-repeat:no-repeat;background-position:center center}
@media(max-width:900px){
  .rex-story__media{min-height:0!important;aspect-ratio:1 / 1!important;width:min(100%,540px);margin-inline:auto}
}


/* REX 3.9.2.39 — rich story timeline rows */
.rex-story__content{min-width:0}
.rex-story__steps{list-style:none!important;margin:2rem 0 1.6rem!important;padding:0!important}
.rex-story__step{position:relative;display:grid!important;grid-template-columns:60px 56px minmax(0,1fr)!important;gap:16px!important;align-items:center!important;padding:18px 0!important;border-bottom:1px solid rgba(210,178,120,.12)!important}
.rex-story__number{display:grid!important;place-items:center!important;width:52px!important;height:52px!important;border:1px solid var(--rex-color-gold-dark)!important;border-radius:50%!important;color:var(--rex-color-gold-light)!important;font-size:1rem!important}
.rex-story__step-icon{display:grid;place-items:center;width:46px;height:46px}
.rex-story__step-icon img{display:block;width:38px;height:38px;object-fit:contain}
.rex-story__step-copy{display:flex;flex-direction:column;gap:6px;min-width:0}
.rex-story__step-copy strong{font-size:1.15rem;line-height:1.4;color:var(--rex-color-text,#f3f0dc)}
.rex-story__step-copy small{display:block;font-size:.91rem;line-height:1.85;color:rgba(237,237,214,.66)}
.rex-story__footer-note{display:flex;align-items:center;gap:14px;padding:16px 18px;border:1px solid rgba(210,178,120,.28);border-radius:12px;background:rgba(4,16,21,.54);color:var(--rex-color-gold-light,#e5c47d)}
.rex-story__footer-note p{margin:0;line-height:1.8;font-weight:600}
.rex-story__footer-icon{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px}
.rex-story__footer-icon img{width:30px;height:30px;object-fit:contain;display:block}
@media(max-width:900px){
 .rex-story__media{min-height:0!important;aspect-ratio:1 / 1!important;width:min(100%,540px);margin-inline:auto}
 .rex-story__step{grid-template-columns:52px 44px minmax(0,1fr)!important;gap:10px!important;padding:15px 0!important}
 .rex-story__number{width:46px!important;height:46px!important}
 .rex-story__step-icon{width:40px;height:40px}
 .rex-story__step-icon img{width:34px;height:34px}
 .rex-story__step-copy strong{font-size:1rem}
 .rex-story__step-copy small{font-size:.82rem;line-height:1.7}
 .rex-story__footer-note{padding:14px;gap:10px}
}
.rex-story__number{position:relative}
.rex-story__step:not(:last-child) .rex-story__number::after{content:"";position:absolute;top:100%;left:50%;width:1px;height:37px;background:linear-gradient(180deg,rgba(210,178,120,.45),rgba(210,178,120,.12));transform:translateX(-50%)}
@media(max-width:900px){.rex-story__step:not(:last-child) .rex-story__number::after{height:31px}}


/* REX 3.9.2.40 — dedicated Home shipping section */
.rex-shipping__head{text-align:center;margin:0 auto clamp(24px,4vw,46px)}
.rex-shipping__head h2{margin:.3rem 0 0;font-size:clamp(2rem,4vw,3.7rem)}
.rex-shipping__head .rex-lead{margin:.7rem auto 0;max-width:760px}
.rex-shipping__banners{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:center;justify-content:center;gap:clamp(14px,1.8vw,24px);width:100%;max-width:1480px;margin-inline:auto}
.rex-shipping-banner{position:relative;display:block;width:100%;min-width:0;aspect-ratio:1866 / 617;overflow:hidden;border:1px solid rgba(210,178,120,.28);border-radius:22px;background:#071a22;box-shadow:0 20px 50px rgba(0,0,0,.24);transition:transform .25s ease,border-color .25s ease,box-shadow .25s ease}
.rex-shipping-banner:hover{transform:translateY(-3px);border-color:rgba(229,196,125,.56);box-shadow:0 28px 64px rgba(0,0,0,.32)}
.rex-shipping-banner__image{display:block;width:100%;height:100%;object-fit:cover;object-position:center center}
@media(max-width:760px){.rex-shipping__head{margin-bottom:20px}.rex-shipping__banners{grid-template-columns:1fr;gap:12px;max-width:100%}.rex-shipping-banner{border-radius:14px;aspect-ratio:1866 / 617}.rex-shipping-banner:hover{transform:none}}


/* REX 3.9.2.41 — fix story row text collapse caused by legacy span rules */
.rex-story__content{
  min-width:0!important;
  width:100%!important;
}
.rex-story__steps{
  width:100%!important;
  max-width:none!important;
  margin:30px 0 22px!important;
  padding:0!important;
  list-style:none!important;
}
.rex-story__step{
  width:100%!important;
  display:grid!important;
  grid-template-columns:60px 56px minmax(0,1fr)!important;
  gap:16px!important;
  align-items:center!important;
  padding:17px 0!important;
  min-height:82px!important;
  border-bottom:1px solid rgba(210,178,120,.12)!important;
}
/* Important: reset the old `.rex-story li span` rule for the new copy/icon nodes. */
.rex-story__step > .rex-story__step-copy{
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  justify-content:center!important;
  place-items:initial!important;
  gap:5px!important;
  width:auto!important;
  height:auto!important;
  min-width:0!important;
  min-height:0!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  border-radius:0!important;
  color:inherit!important;
  text-align:right!important;
  overflow:visible!important;
}
.rex-story__step > .rex-story__step-icon{
  display:grid!important;
  place-items:center!important;
  width:46px!important;
  height:46px!important;
  min-width:46px!important;
  min-height:46px!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  border-radius:0!important;
  color:inherit!important;
}
.rex-story__step > .rex-story__number{
  display:grid!important;
  place-items:center!important;
  width:52px!important;
  height:52px!important;
  min-width:52px!important;
  min-height:52px!important;
  margin:0!important;
  padding:0!important;
  border:1px solid var(--rex-color-gold-dark)!important;
  border-radius:50%!important;
  color:var(--rex-color-gold-light)!important;
  font-size:1rem!important;
  line-height:1!important;
}
.rex-story__step-copy > strong{
  display:block!important;
  width:100%!important;
  margin:0!important;
  padding:0!important;
  font-size:1.18rem!important;
  line-height:1.45!important;
  color:var(--rex-color-text,#f3f0dc)!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
}
.rex-story__step-copy > small{
  display:block!important;
  width:100%!important;
  margin:0!important;
  padding:0!important;
  font-size:.9rem!important;
  line-height:1.85!important;
  color:rgba(237,237,214,.66)!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
}
.rex-story__footer-note{
  position:relative!important;
  clear:both!important;
  width:100%!important;
  margin-top:6px!important;
  z-index:1!important;
}
@media(max-width:900px){
  .rex-story__steps{margin:24px 0 18px!important}
  .rex-story__step{
    grid-template-columns:50px 42px minmax(0,1fr)!important;
    gap:10px!important;
    min-height:74px!important;
    padding:14px 0!important;
  }
  .rex-story__step > .rex-story__number{width:46px!important;height:46px!important;min-width:46px!important;min-height:46px!important}
  .rex-story__step > .rex-story__step-icon{width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important}
  .rex-story__step-copy > strong{font-size:1rem!important;line-height:1.5!important}
  .rex-story__step-copy > small{font-size:.82rem!important;line-height:1.75!important}
}


/* REX 3.9.2.42 — collection gallery carousel + fullscreen lightbox */
.rex-gallery .rex-gallery__shell{display:block!important}
.rex-gallery__grid{display:block!important}
.rex-gallery__head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:28px}
.rex-gallery__copy{max-width:720px}
.rex-gallery__copy .rex-eyebrow{margin-bottom:8px}
.rex-gallery__copy h2{margin:0;font-size:clamp(2rem,4vw,4rem);line-height:1.15}
.rex-gallery__copy .rex-lead{margin:12px 0 0;color:rgba(237,237,214,.68)}
.rex-gallery__controls{display:flex;align-items:center;gap:10px;flex:0 0 auto}
.rex-gallery__nav{width:48px;height:48px;display:grid;place-items:center;border:1px solid rgba(210,178,120,.34);border-radius:50%;background:rgba(3,15,21,.76);color:var(--rex-color-gold-light,#e5c47d);cursor:pointer;transition:border-color .2s ease,background .2s ease,transform .2s ease}
.rex-gallery__nav svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.rex-gallery__viewport{width:100%;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;scroll-snap-type:x proximity;overscroll-behavior-inline:contain;cursor:grab;padding:4px 0 14px}
.rex-gallery__viewport::-webkit-scrollbar{display:none}
.rex-gallery__viewport.is-dragging{cursor:grabbing;scroll-snap-type:none;user-select:none}
.rex-gallery__track{display:flex;gap:16px;width:max-content;min-width:100%;align-items:stretch}
.rex-gallery-card{position:relative;flex:0 0 clamp(300px,31vw,520px);padding:0;border:1px solid rgba(210,178,120,.15);border-radius:22px;overflow:hidden;background:#06171e;scroll-snap-align:center;cursor:zoom-in;text-align:inherit;appearance:none;box-shadow:none}
.rex-gallery-card__media{display:block;aspect-ratio:16 / 10;overflow:hidden}
.rex-gallery-card__media img{display:block;width:100%!important;height:100%!important;object-fit:cover!important;border-radius:0!important;transition:transform .45s ease}
.rex-gallery-card__zoom{position:absolute;left:14px;bottom:14px;width:40px;height:40px;display:grid;place-items:center;border:1px solid rgba(230,194,111,.48);border-radius:50%;background:rgba(2,12,17,.76);color:var(--rex-color-gold-light,#e5c47d);font-size:23px;line-height:1}
.rex-gallery__hint{text-align:center;margin-top:6px;font-size:.84rem;color:rgba(237,237,214,.48)}
.rex-gallery__empty{padding:70px 20px;text-align:center;border:1px dashed rgba(210,178,120,.2);border-radius:22px;color:rgba(237,237,214,.55)}
@media(hover:hover) and (pointer:fine){.rex-gallery-card:hover .rex-gallery-card__media img{transform:scale(1.035)}.rex-gallery__nav:hover{border-color:rgba(230,194,111,.78);background:rgba(15,46,55,.92);transform:translateY(-2px)}}
.rex-gallery-lightbox[hidden]{display:none!important}
.rex-gallery-lightbox{position:fixed;inset:0;z-index:999999;display:grid;place-items:center;padding:24px}
.rex-gallery-lightbox__backdrop{position:absolute;inset:0;border:0;background:rgba(0,5,8,.94);cursor:zoom-out}
.rex-gallery-lightbox__dialog{position:relative;z-index:1;width:min(94vw,1500px);max-height:92vh;display:grid;grid-template-columns:58px minmax(0,1fr) 58px;align-items:center;gap:16px}
.rex-gallery-lightbox__figure{min-width:0;margin:0;display:flex;flex-direction:column;align-items:center;justify-content:center;touch-action:pan-y}
.rex-gallery-lightbox__figure img{display:block;max-width:100%;max-height:82vh;width:auto;height:auto;object-fit:contain;border-radius:16px;border:1px solid rgba(210,178,120,.18);background:#02090d}
.rex-gallery-lightbox__figure figcaption{width:100%;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:12px 4px 0;color:rgba(237,237,214,.7);font-size:.9rem}
.rex-gallery-lightbox__figure figcaption b{color:var(--rex-color-gold-light,#e5c47d);font-variant-numeric:tabular-nums;white-space:nowrap}
.rex-gallery-lightbox__arrow,.rex-gallery-lightbox__close{display:grid;place-items:center;border:1px solid rgba(210,178,120,.34);background:rgba(4,20,26,.9);color:var(--rex-color-gold-light,#e5c47d);cursor:pointer}
.rex-gallery-lightbox__arrow{width:52px;height:52px;border-radius:50%}
.rex-gallery-lightbox__arrow svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.rex-gallery-lightbox__close{position:absolute;top:-18px;left:-4px;width:44px;height:44px;border-radius:50%;z-index:3;font-size:28px;line-height:1}
html.rex-gallery-lightbox-open{overflow:hidden}
@media(max-width:760px){
 .rex-gallery__head{align-items:flex-start;gap:16px}
 .rex-gallery__copy h2{font-size:clamp(2rem,9vw,3rem)}
 .rex-gallery__controls{gap:7px}
 .rex-gallery__nav{width:44px;height:44px}
 .rex-gallery__track{gap:10px}
 .rex-gallery-card{flex-basis:82vw;border-radius:18px}
 .rex-gallery-card__media{aspect-ratio:4 / 3}
 .rex-gallery-card__zoom{width:36px;height:36px;left:10px;bottom:10px}
 .rex-gallery-lightbox{padding:12px}
 .rex-gallery-lightbox__dialog{width:100%;grid-template-columns:44px minmax(0,1fr) 44px;gap:7px}
 .rex-gallery-lightbox__arrow{width:42px;height:42px}
 .rex-gallery-lightbox__figure img{max-height:76vh;border-radius:12px}
 .rex-gallery-lightbox__figure figcaption{font-size:.8rem}
 .rex-gallery-lightbox__close{top:-48px;left:2px}
}


/* REX 3.9.2.43 — story step cards with adjustable backdrop blur */
.rex-story .rex-story__content{
  --rex-story-card-blur:14px;
  --rex-story-card-bg:rgba(4, 16, 21, .58);
  --rex-story-card-border:rgba(210, 178, 120, .18);
  --rex-story-card-shadow:0 16px 42px rgba(0,0,0,.16);
}
.rex-story .rex-story__steps{
  display:grid!important;
  gap:16px!important;
  margin:2rem 0 1.5rem!important;
  padding:0!important;
}
.rex-story .rex-story__steps > .rex-story__step{
  position:relative;
  display:grid!important;
  grid-template-columns:56px 56px minmax(0,1fr)!important;
  gap:16px!important;
  align-items:center!important;
  padding:18px 18px!important;
  margin:0!important;
  border:1px solid var(--rex-story-card-border)!important;
  border-radius:18px!important;
  border-bottom:1px solid var(--rex-story-card-border)!important;
  background:var(--rex-story-card-bg)!important;
  -webkit-backdrop-filter:blur(var(--rex-story-card-blur));
  backdrop-filter:blur(var(--rex-story-card-blur));
  box-shadow:var(--rex-story-card-shadow)!important;
  overflow:hidden;
}
.rex-story .rex-story__steps > .rex-story__step::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,0));
  pointer-events:none;
}
.rex-story .rex-story__step:not(:last-child) .rex-story__number::after{
  display:none!important;
}
.rex-story .rex-story__step > .rex-story__number,
.rex-story .rex-story__step > .rex-story__step-icon{
  position:relative;
  z-index:1;
}
.rex-story .rex-story__step > .rex-story__number{
  width:52px!important;
  height:52px!important;
  min-width:52px!important;
  min-height:52px!important;
  border-radius:50%!important;
  background:rgba(5, 18, 24, .78)!important;
  border:1px solid rgba(210,178,120,.44)!important;
  color:var(--rex-color-gold-light)!important;
  font-size:1rem!important;
  font-variant-numeric:tabular-nums;
}
.rex-story .rex-story__step > .rex-story__step-icon{
  display:grid!important;
  place-items:center!important;
  width:46px!important;
  height:46px!important;
  min-width:46px!important;
  min-height:46px!important;
  border-radius:14px!important;
  background:rgba(5,18,24,.54)!important;
  border:1px solid rgba(210,178,120,.18)!important;
}
.rex-story .rex-story__step > .rex-story__step-icon img{
  width:30px!important;
  height:30px!important;
  object-fit:contain!important;
}
.rex-story .rex-story__step > .rex-story__step-copy{
  position:relative;
  z-index:1;
  width:100%!important;
  min-width:0!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  justify-content:center!important;
  gap:7px!important;
}
.rex-story .rex-story__step-copy > strong{
  display:block!important;
  width:100%!important;
  margin:0!important;
  font-size:1.15rem!important;
  line-height:1.45!important;
  color:var(--rex-color-text,#f3f0dc)!important;
}
.rex-story .rex-story__step-copy > small{
  display:block!important;
  width:100%!important;
  margin:0!important;
  font-size:.92rem!important;
  line-height:1.95!important;
  color:rgba(237,237,214,.72)!important;
}
.rex-story .rex-story__footer-note{
  border:1px solid rgba(210,178,120,.18)!important;
  border-radius:18px!important;
  background:var(--rex-story-card-bg)!important;
  -webkit-backdrop-filter:blur(calc(var(--rex-story-card-blur) * .85));
  backdrop-filter:blur(calc(var(--rex-story-card-blur) * .85));
  box-shadow:var(--rex-story-card-shadow)!important;
}
@media(max-width:900px){
  .rex-story .rex-story__steps > .rex-story__step{
    grid-template-columns:48px 44px minmax(0,1fr)!important;
    gap:12px!important;
    padding:15px 14px!important;
    border-radius:16px!important;
  }
  .rex-story .rex-story__step > .rex-story__number{
    width:44px!important;
    height:44px!important;
    min-width:44px!important;
    min-height:44px!important;
  }
  .rex-story .rex-story__step > .rex-story__step-icon{
    width:40px!important;
    height:40px!important;
    min-width:40px!important;
    min-height:40px!important;
    border-radius:12px!important;
  }
  .rex-story .rex-story__step > .rex-story__step-icon img{
    width:26px!important;
    height:26px!important;
  }
  .rex-story .rex-story__step-copy > strong{
    font-size:1rem!important;
  }
  .rex-story .rex-story__step-copy > small{
    font-size:.84rem!important;
    line-height:1.8!important;
  }
}


/* REX 3.9.2.44 — final story row layout: normal horizontal Persian text */
.rex-story .rex-story__steps > .rex-story__step{
  display:flex!important;
  flex-direction:row!important;
  direction:rtl!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:16px!important;
  width:100%!important;
}
.rex-story .rex-story__step > .rex-story__number{
  flex:0 0 52px!important;
  width:52px!important;
  height:52px!important;
  min-width:52px!important;
  min-height:52px!important;
}
.rex-story .rex-story__step > .rex-story__step-icon{
  flex:0 0 46px!important;
  width:46px!important;
  height:46px!important;
  min-width:46px!important;
  min-height:46px!important;
}
.rex-story .rex-story__step > .rex-story__step-copy{
  flex:1 1 auto!important;
  width:auto!important;
  max-width:none!important;
  min-width:0!important;
  height:auto!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  justify-content:center!important;
  gap:7px!important;
  text-align:right!important;
  direction:rtl!important;
  writing-mode:horizontal-tb!important;
}
.rex-story .rex-story__step-copy > strong,
.rex-story .rex-story__step-copy > small{
  width:100%!important;
  max-width:none!important;
  height:auto!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  text-align:right!important;
  direction:rtl!important;
  writing-mode:horizontal-tb!important;
  white-space:normal!important;
  word-break:normal!important;
  overflow-wrap:normal!important;
  hyphens:none!important;
}
.rex-story .rex-story__step-copy > strong{
  font-size:1.16rem!important;
  line-height:1.5!important;
}
.rex-story .rex-story__step-copy > small{
  font-size:.92rem!important;
  line-height:1.9!important;
}
@media(max-width:900px){
  .rex-story .rex-story__steps > .rex-story__step{gap:11px!important}
  .rex-story .rex-story__step > .rex-story__number{
    flex-basis:44px!important;width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;
  }
  .rex-story .rex-story__step > .rex-story__step-icon{
    flex-basis:40px!important;width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important;
  }
  .rex-story .rex-story__step-copy > strong{font-size:1rem!important;line-height:1.5!important}
  .rex-story .rex-story__step-copy > small{font-size:.84rem!important;line-height:1.8!important}
}


/* REX 3.9.2.45 — mobile story order: heading before image, centered mobile copy */
.rex-story__intro{min-width:0}
@media(max-width:900px){
  .rex-story .rex-story__grid{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:22px!important;
    align-items:start!important;
  }
  .rex-story .rex-story__content{
    display:contents!important;
  }
  .rex-story .rex-story__intro{
    order:1!important;
    width:100%!important;
    max-width:680px!important;
    margin-inline:auto!important;
    padding-inline:12px!important;
    text-align:center!important;
  }
  .rex-story .rex-story__intro .rex-eyebrow,
  .rex-story .rex-story__intro h2,
  .rex-story .rex-story__intro .rex-lead{
    width:100%!important;
    margin-left:auto!important;
    margin-right:auto!important;
    text-align:center!important;
  }
  .rex-story .rex-story__intro .rex-eyebrow{
    margin-bottom:12px!important;
  }
  .rex-story .rex-story__intro h2{
    margin-top:0!important;
    margin-bottom:4px!important;
  }
  .rex-story .rex-story__media{
    order:2!important;
    width:min(100%,680px)!important;
    margin-inline:auto!important;
  }
  .rex-story .rex-story__steps{
    order:3!important;
    width:min(100%,680px)!important;
    margin:0 auto!important;
  }
  .rex-story .rex-story__footer-note{
    order:4!important;
    width:min(100%,680px)!important;
    margin-inline:auto!important;
    justify-content:center!important;
    text-align:center!important;
  }
  .rex-story .rex-story__footer-note p{
    text-align:center!important;
  }
  .rex-story .rex-story__step > .rex-story__step-copy{
    align-items:center!important;
    text-align:center!important;
  }
  .rex-story .rex-story__step-copy > strong,
  .rex-story .rex-story__step-copy > small{
    text-align:center!important;
  }
}


/* REX 3.9.2.46 — centered gallery heading + editable responsive typography */
.rex-gallery__head{
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
  margin-inline:auto!important;
  gap:18px!important;
}
.rex-gallery__copy{
  width:min(100%,820px)!important;
  max-width:820px!important;
  margin-inline:auto!important;
  text-align:center!important;
}
.rex-gallery__copy .rex-eyebrow{
  margin:0 0 8px!important;
  text-align:center!important;
  font-size:var(--rex-gallery-eyebrow-d,16px)!important;
  line-height:1.5!important;
}
.rex-gallery__copy h2{
  margin:0!important;
  text-align:center!important;
  font-size:var(--rex-gallery-title-d,44px)!important;
  line-height:1.22!important;
}
.rex-gallery__copy .rex-lead{
  max-width:760px!important;
  margin:12px auto 0!important;
  text-align:center!important;
  font-size:var(--rex-gallery-desc-d,18px)!important;
  line-height:1.85!important;
}
.rex-gallery__controls{
  justify-content:center!important;
  margin-inline:auto!important;
}
@media(max-width:760px){
  .rex-gallery__head{
    align-items:center!important;
    text-align:center!important;
    gap:14px!important;
  }
  .rex-gallery__copy .rex-eyebrow{
    font-size:var(--rex-gallery-eyebrow-m,13px)!important;
  }
  .rex-gallery__copy h2{
    font-size:var(--rex-gallery-title-m,30px)!important;
    line-height:1.3!important;
  }
  .rex-gallery__copy .rex-lead{
    font-size:var(--rex-gallery-desc-m,15px)!important;
    line-height:1.8!important;
  }
}


/* REX 3.9.24 — gallery page integration with the native block-theme page shell */
body.rex-gallery-page main.wp-block-group{padding-top:0!important;padding-bottom:0!important}
body.rex-gallery-page .wp-block-post-content{max-width:none!important;width:100%!important;margin:0!important}
body.rex-gallery-page .wp-block-post-content>.rex-archive{max-width:none!important;width:100%!important;margin:0!important}


/* REX 3.9.2.54 — mobile lightbox close button stays inside viewport */
@media(max-width:900px){
  .rex-gallery-lightbox__close{
    position:fixed!important;
    top:max(12px, calc(env(safe-area-inset-top, 0px) + 8px))!important;
    left:max(12px, calc(env(safe-area-inset-left, 0px) + 8px))!important;
    right:auto!important;
    width:44px!important;
    height:44px!important;
    min-width:44px!important;
    min-height:44px!important;
    margin:0!important;
    z-index:1000002!important;
    transform:none!important;
  }
}
@media(max-width:560px){
  .rex-gallery-lightbox__close{
    top:max(10px, calc(env(safe-area-inset-top, 0px) + 7px))!important;
    left:max(10px, calc(env(safe-area-inset-left, 0px) + 7px))!important;
  }
}


/* REX Theme 3.9.29 — Knowledge full-width page surface */
body.rex-knowledge-page-active .wp-site-blocks>main.wp-block-group{width:100%!important;max-width:none!important;margin:0!important;padding-top:0!important;padding-bottom:0!important}
body.rex-knowledge-page-active .wp-block-post-title{display:none!important}
body.rex-knowledge-page-active .wp-block-post-content{width:100%!important;max-width:none!important;margin:0!important;padding:0!important}
body.rex-knowledge-page-active .wp-block-post-content>*{width:100%!important;max-width:none!important;margin-block-start:0!important;margin-block-end:0!important}


/* REX 3.9.31 — world landing width fix for discus/equipment/care category pages */
body.rex-world-landing-page .rex-world-landing{
  width:100%!important;
}
body.rex-world-landing-page .rex-world-landing__hero-slot,
body.rex-world-landing-page .rex-world-landing__inner{
  box-sizing:border-box!important;
  width:min(calc(100% - 48px), 1680px)!important;
  max-width:1680px!important;
  margin-inline:auto!important;
}
body.rex-world-landing-page .rex-world-landing__hero-slot{
  padding-top:18px;
}
body.rex-world-landing-page .rex-world-landing__hero-slot > .rex-smart-hero,
body.rex-world-landing-page .rex-world-landing__hero-slot > .rex-world-landing__hero{
  width:100%!important;
  max-width:none!important;
  margin:0 auto!important;
  border-radius:22px;
  overflow:hidden;
}
body.rex-world-landing-page .rex-world-landing__hero-slot > .rex-smart-hero{
  --rex-hero-responsive-ratio-desktop: 2.285714!important; /* 1920 / 840 */
  --rex-hero-responsive-ratio-mobile: 0.8!important; /* 1080 / 1350 */
  aspect-ratio:var(--rex-hero-responsive-ratio-desktop)!important;
  min-height:clamp(360px, 42vw, 760px)!important;
}
body.rex-world-landing-page .rex-world-landing__hero-slot > .rex-smart-hero .rex-hero__media img{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  object-position:center center!important;
}
body.rex-world-landing-page .rex-world-landing__hero-slot > .rex-smart-hero .rex-hero__inner{
  width:min(calc(100% - 56px), 1520px)!important;
  max-width:1520px!important;
  margin-inline:auto!important;
}
body.rex-world-landing-page .rex-world-landing__heading{
  margin:0 0 28px!important;
}
body.rex-world-landing-page .rex-world-landing__categories{
  display:grid!important;
  width:100%!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  justify-content:stretch!important;
  align-items:stretch!important;
  gap:18px!important;
}
body.rex-world-landing-page .rex-world-category-card{
  width:100%!important;
  min-width:0!important;
  min-height:340px!important;
  justify-self:stretch!important;
}
body.rex-world-landing-page .rex-world-category-card__media{
  aspect-ratio:1 / 1!important;
}
body.rex-world-landing-page .rex-world-landing__empty{
  width:100%!important;
  max-width:none!important;
}
@media (max-width: 1100px){
  body.rex-world-landing-page .rex-world-landing__hero-slot,
  body.rex-world-landing-page .rex-world-landing__inner{
    width:min(calc(100% - 28px), 100%)!important;
  }
  body.rex-world-landing-page .rex-world-landing__categories{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:14px!important;
  }
}
@media (max-width: 760px){
  body.rex-world-landing-page .rex-world-landing__hero-slot,
  body.rex-world-landing-page .rex-world-landing__inner{
    width:calc(100% - 18px)!important;
  }
  body.rex-world-landing-page .rex-world-landing__hero-slot > .rex-smart-hero{
    aspect-ratio:var(--rex-hero-responsive-ratio-mobile)!important;
    min-height:0!important;
  }
  body.rex-world-landing-page .rex-world-landing__hero-slot > .rex-smart-hero .rex-hero__media img{
    object-fit:cover!important;
  }
  body.rex-world-landing-page .rex-world-landing__categories{
    grid-template-columns:1fr!important;
    gap:12px!important;
  }
  body.rex-world-landing-page .rex-world-category-card{
    min-height:260px!important;
  }
}

/* REX 3.9.32 — World pages: true main Hero, site-width, non-square */
body.rex-world-landing-page .rex-world-landing__hero-slot{
  box-sizing:border-box!important;
  width:min(calc(100% - 48px), var(--rex-container,1440px))!important;
  max-width:var(--rex-container,1440px)!important;
  margin-inline:auto!important;
  padding-top:18px!important;
  overflow:visible!important;
}
body.rex-world-landing-page .rex-world-landing__hero-slot > .rex-smart-hero,
body.rex-world-landing-page .rex-world-landing__hero-slot > .rex-world-landing__hero{
  display:block!important;
  width:100%!important;
  max-width:none!important;
  height:auto!important;
  min-height:0!important;
  margin:0!important;
  aspect-ratio:1920 / 840!important;
  border-radius:0!important;
  overflow:hidden!important;
  background:#031018!important;
}
body.rex-world-landing-page .rex-world-landing__hero-slot > .rex-smart-hero .rex-smart-hero__viewport,
body.rex-world-landing-page .rex-world-landing__hero-slot > .rex-smart-hero .rex-smart-hero__category,
body.rex-world-landing-page .rex-world-landing__hero-slot > .rex-smart-hero .rex-smart-hero__set,
body.rex-world-landing-page .rex-world-landing__hero-slot > .rex-smart-hero .rex-smart-hero__slide{
  inset:0!important;
  width:100%!important;
  height:100%!important;
}
body.rex-world-landing-page .rex-world-landing__hero-slot > .rex-smart-hero .rex-hero__media,
body.rex-world-landing-page .rex-world-landing__hero-slot > .rex-smart-hero .rex-hero__media picture,
body.rex-world-landing-page .rex-world-landing__hero-slot > .rex-smart-hero .rex-hero__media img,
body.rex-world-landing-page .rex-world-landing__hero-slot > .rex-world-landing__hero .rex-world-landing__hero-media,
body.rex-world-landing-page .rex-world-landing__hero-slot > .rex-world-landing__hero .rex-world-landing__hero-media img{
  display:block!important;
  width:100%!important;
  height:100%!important;
}
body.rex-world-landing-page .rex-world-landing__hero-slot > .rex-smart-hero .rex-hero__media img,
body.rex-world-landing-page .rex-world-landing__hero-slot > .rex-world-landing__hero .rex-world-landing__hero-media img{
  object-fit:cover!important;
  object-position:center center!important;
}
/* The direct per-page Hero image is artwork-first: no overlay or duplicate copy. */
body.rex-world-landing-page .rex-world-landing__hero-slot.has-main-hero-image .rex-hero__shade,
body.rex-world-landing-page .rex-world-landing__hero-slot.has-main-hero-image .rex-hero__inner,
body.rex-world-landing-page .rex-world-landing__hero-slot.has-main-hero-image .rex-smart-hero__set-label,
body.rex-world-landing-page .rex-world-landing__hero-slot.has-main-hero-image .rex-smart-hero__dots,
body.rex-world-landing-page .rex-world-landing__hero-slot.has-main-hero-image .rex-smart-hero__tabs,
body.rex-world-landing-page .rex-world-landing__hero-slot.has-main-hero-image .rex-smart-hero__arrow{
  display:none!important;
}
body.rex-world-landing-page .rex-world-landing__inner{
  width:min(calc(100% - 48px), var(--rex-container,1440px))!important;
  max-width:var(--rex-container,1440px)!important;
}
@media (max-width:1100px){
  body.rex-world-landing-page .rex-world-landing__hero-slot,
  body.rex-world-landing-page .rex-world-landing__inner{
    width:calc(100% - 28px)!important;
    max-width:none!important;
  }
}
@media (max-width:760px){
  body.rex-world-landing-page .rex-world-landing__hero-slot,
  body.rex-world-landing-page .rex-world-landing__inner{
    width:calc(100% - 18px)!important;
  }
  body.rex-world-landing-page .rex-world-landing__hero-slot > .rex-smart-hero,
  body.rex-world-landing-page .rex-world-landing__hero-slot > .rex-world-landing__hero{
    aspect-ratio:1080 / 1350!important;
  }
  body.rex-world-landing-page .rex-world-landing__categories{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:10px!important;
  }
  body.rex-world-landing-page .rex-world-category-card{
    min-height:250px!important;
  }
}


/* REX 3.9.33 — definitive World-page parent width fix.
 * WordPress constrained layout was clamping the shortcode root itself to content-size. */
body.rex-world-landing-page .wp-site-blocks > main.wp-block-group,
body.rex-world-landing-page .wp-site-blocks > main.wp-block-group > .wp-block-post-content,
body.rex-world-landing-page .wp-block-post-content{
  box-sizing:border-box!important;
  width:100%!important;
  max-width:none!important;
  margin-inline:0!important;
  padding-inline:0!important;
}
body.rex-world-landing-page .wp-block-post-content > .rex-world-landing,
body.rex-world-landing-page .wp-block-post-content > .alignfull.rex-world-landing,
body.rex-world-landing-page .rex-world-landing{
  box-sizing:border-box!important;
  width:100%!important;
  max-width:none!important;
  margin-left:0!important;
  margin-right:0!important;
  align-self:stretch!important;
}
body.rex-world-landing-page .rex-world-landing__hero-slot,
body.rex-world-landing-page .rex-world-landing__inner{
  box-sizing:border-box!important;
  width:min(var(--rex-page-shell-max,1440px),calc(100vw - (var(--rex-page-shell-gutter,clamp(16px,2vw,32px)) * 2)))!important;
  max-width:none!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
body.rex-world-landing-page .rex-world-landing__categories{
  width:100%!important;
  max-width:none!important;
}
@media(max-width:760px){
  body.rex-world-landing-page .rex-world-landing__hero-slot,
  body.rex-world-landing-page .rex-world-landing__inner{
    width:calc(100vw - 18px)!important;
  }
}


/* REX 3.9.34 — World category cards stay compact inside the full-width section.
 * The section is wide; individual cards must never stretch to fill 1/3 of it. */
body.rex-world-landing-page .rex-world-landing__categories{
  display:grid!important;
  grid-template-columns:repeat(auto-fill,minmax(210px,240px))!important;
  justify-content:start!important;
  align-items:start!important;
  gap:18px!important;
  width:100%!important;
  direction:rtl!important;
}
body.rex-world-landing-page .rex-world-category-card{
  width:100%!important;
  max-width:240px!important;
  min-width:0!important;
  min-height:0!important;
  justify-self:stretch!important;
}
body.rex-world-landing-page .rex-world-category-card__media{
  flex:0 0 auto!important;
  width:100%!important;
  aspect-ratio:1 / 1!important;
}
body.rex-world-landing-page .rex-world-category-card__body{
  min-height:68px!important;
}
@media (max-width:760px){
  body.rex-world-landing-page .rex-world-landing__categories{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    justify-content:stretch!important;
    gap:10px!important;
  }
  body.rex-world-landing-page .rex-world-category-card{
    width:100%!important;
    max-width:none!important;
  }
}


/* REX 3.9.40 — World landing desktop grid: 6 cards per row, edge-aligned */
@media (min-width: 1101px){
  body.rex-world-landing-page .rex-world-landing__categories{
    grid-template-columns:repeat(6,minmax(0,1fr))!important;
    justify-content:stretch!important;
    align-items:stretch!important;
    gap:16px!important;
  }

  body.rex-world-landing-page .rex-world-category-card{
    width:100%!important;
    min-width:0!important;
    min-height:300px!important;
    justify-self:stretch!important;
    align-self:stretch!important;
    margin:0!important;
  }

  body.rex-world-landing-page .rex-world-category-card__media{
    aspect-ratio:1 / 1!important;
  }

  body.rex-world-landing-page .rex-world-category-card__body{
    padding:10px 8px 12px!important;
    gap:6px!important;
  }

  body.rex-world-landing-page .rex-world-category-card__body strong{
    font-size:.94rem!important;
    line-height:1.45!important;
  }

  body.rex-world-landing-page .rex-world-category-card__body small{
    font-size:.74rem!important;
    line-height:1.55!important;
    -webkit-line-clamp:2!important;
  }

  body.rex-world-landing-page .rex-world-category-card__cta{
    font-size:.78rem!important;
  }
}


/* --------------------------------------------------------------------------
   REX 3.9.56 — mobile wishlist launcher polish on archive cards
   -------------------------------------------------------------------------- */
@media(max-width:640px){
  .rex-product-card .rex-card__wishlist-wrap,
  .rex-collection-card__overlay .rex-card__wishlist-wrap,
  .rex-equipment-card__wishlist{
    right:12px!important;
    left:auto!important;
    top:12px!important;
    z-index:10!important;
  }
  .rex-product-card .rex-card__wishlist,
  .rex-equipment-card__wishlist .rex-card__wishlist{
    display:grid!important;
    place-items:center!important;
    width:42px!important;
    height:42px!important;
    padding:0!important;
    border-radius:15px!important;
    border:1px solid rgba(239,215,157,.28)!important;
    background:linear-gradient(145deg,rgba(4,24,31,.92),rgba(2,10,14,.96))!important;
    color:#f5edd1!important;
    box-shadow:0 12px 24px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.04)!important;
    backdrop-filter:blur(12px)!important;
  }
  .rex-product-card .rex-card__wishlist:hover,
  .rex-product-card .rex-card__wishlist.is-active,
  .rex-equipment-card__wishlist .rex-card__wishlist:hover,
  .rex-equipment-card__wishlist .rex-card__wishlist.is-active{
    transform:translateY(-1px)!important;
    border-color:rgba(239,215,157,.5)!important;
    background:linear-gradient(145deg,rgba(82,61,34,.94),rgba(14,38,46,.96))!important;
    color:#efd79d!important;
  }
  .rex-product-card .rex-card__wishlist-heart,
  .rex-equipment-card__wishlist .rex-card__wishlist-heart{
    font-size:1.28rem!important;
    line-height:1!important;
    text-shadow:none!important;
  }
}


/* --------------------------------------------------------------------------
   REX 3.9.58 — mobile wishlist: compact luxury glass icon, real vector heart
   -------------------------------------------------------------------------- */
@media(max-width:640px){
  .rex-product-card .rex-card__wishlist-wrap,
  .rex-collection-card__overlay .rex-card__wishlist-wrap,
  .rex-equipment-card__wishlist{
    top:11px!important;
    right:11px!important;
    left:auto!important;
    z-index:12!important;
  }

  .rex-product-card button.rex-card__wishlist,
  .rex-collection-card__overlay button.rex-card__wishlist,
  .rex-equipment-card__wishlist button.rex-card__wishlist{
    display:grid!important;
    place-items:center!important;
    width:36px!important;
    min-width:36px!important;
    height:36px!important;
    min-height:36px!important;
    padding:0!important;
    border:1px solid rgba(210,178,120,.30)!important;
    border-radius:12px!important;
    background:linear-gradient(145deg,rgba(5,26,34,.88),rgba(2,11,15,.96))!important;
    color:#efd79d!important;
    box-shadow:0 10px 22px rgba(0,0,0,.30),inset 0 1px 0 rgba(255,255,255,.04)!important;
    backdrop-filter:blur(12px)!important;
    -webkit-backdrop-filter:blur(12px)!important;
    transform:none!important;
  }

  .rex-product-card .rex-card__wishlist-heart,
  .rex-collection-card__overlay .rex-card__wishlist-heart,
  .rex-equipment-card__wishlist .rex-card__wishlist-heart{
    position:relative!important;
    display:block!important;
    width:19px!important;
    height:19px!important;
    overflow:hidden!important;
    font-size:0!important;
    line-height:0!important;
    color:transparent!important;
    text-shadow:none!important;
  }

  .rex-product-card .rex-card__wishlist-heart::before,
  .rex-collection-card__overlay .rex-card__wishlist-heart::before,
  .rex-equipment-card__wishlist .rex-card__wishlist-heart::before{
    content:""!important;
    position:absolute!important;
    inset:0!important;
    display:block!important;
    background:center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78L12 21.23l8.84-8.84a5.5 5.5 0 0 0 0-7.78Z' fill='none' stroke='%23EFD79D' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")!important;
  }

  .rex-product-card button.rex-card__wishlist.is-active,
  .rex-product-card button.rex-card__wishlist[aria-pressed="true"],
  .rex-equipment-card__wishlist button.rex-card__wishlist.is-active,
  .rex-equipment-card__wishlist button.rex-card__wishlist[aria-pressed="true"]{
    border-color:rgba(239,215,157,.58)!important;
    background:linear-gradient(145deg,rgba(88,65,34,.72),rgba(5,27,34,.96))!important;
    box-shadow:0 10px 22px rgba(0,0,0,.28),0 0 18px rgba(210,178,120,.08)!important;
  }

  .rex-product-card button.rex-card__wishlist.is-active .rex-card__wishlist-heart::before,
  .rex-product-card button.rex-card__wishlist[aria-pressed="true"] .rex-card__wishlist-heart::before,
  .rex-equipment-card__wishlist button.rex-card__wishlist.is-active .rex-card__wishlist-heart::before,
  .rex-equipment-card__wishlist button.rex-card__wishlist[aria-pressed="true"] .rex-card__wishlist-heart::before{
    background:center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78L12 21.23l8.84-8.84a5.5 5.5 0 0 0 0-7.78Z' fill='%23EFD79D' stroke='%23EFD79D' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")!important;
  }
}

/* REX 3.9.78 — mobile compositor safety: no persistent promoted full-screen
   background layer when background motion is disabled on mobile. */
@media(max-width:640px){
  body.rex-site-background:not(.rex-site-background--motion-mobile)::before{will-change:auto!important}
}


/* REX 3.9.98 — visual title parts emitted by REX Core 3.9.2.165+. */
.rex-card__title-primary,
.rex-card__title-secondary{display:block;min-width:0}
.rex-card__title-secondary{direction:ltr;unicode-bidi:isolate}
