/* Experimental catalog refresh. Native Alpine controls, descriptions, images,
   product data, cart actions and outer mouse-tilt transforms stay untouched. */
body.ray-exp-pages :is(.ray-catalog,.sa-products-page) {
  --ray-card-edge:rgba(95,222,227,.24);
  --ray-card-ink:#edfcfc;
  --ray-card-muted:#9bb7be;
}
body.ray-exp-pages .ray-catalog-top {
  position:relative;display:flex;justify-content:space-between;align-items:end;
  width:100%;gap:24px;padding-bottom:26px;border-bottom:1px solid rgba(100,218,225,.16);margin-bottom:22px;
}
body.ray-exp-pages .ray-catalog-heading { align-items:flex-start;text-align:left!important;gap:12px; }
body.ray-exp-pages .ray-catalog-heading h2 { font-size:clamp(36px,4.5vw,58px)!important;letter-spacing:-.05em; }
body.ray-exp-pages .ray-catalog-heading p { font-size:14px!important;line-height:1.65;max-width:600px; }
body.ray-exp-pages .ray-catalog-all { position:static;flex:none;white-space:nowrap;margin-bottom:5px;padding:11px 0; }
body.ray-exp-pages .ray-catalog-grid { gap:24px!important; }
body.ray-exp-pages .ray-category-item {
  border:0!important;background:transparent!important;box-shadow:none!important;
  overflow:visible;border-radius:18px!important;
}
body.ray-exp-pages :is(.ray-catalog,.sa-products-page,.ray-group-modal) .ray-shop-card {
  display:flex;flex-direction:column;position:relative;isolation:isolate;min-width:0;height:100%;
  overflow:hidden;border:1px solid var(--ray-card-edge,rgba(95,222,227,.24))!important;
  border-radius:18px!important;background:linear-gradient(145deg,rgba(7,31,38,.96),rgba(2,14,19,.96))!important;
  box-shadow:inset 0 1px rgba(200,255,255,.035),0 12px 36px #0003;
  transition:border-color .25s,box-shadow .25s,background .25s;
}
body.ray-exp-pages :is(.ray-catalog,.sa-products-page,.ray-group-modal) .ray-shop-card::after {
  content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;z-index:3;
  box-shadow:inset 0 0 0 1px rgba(91,255,249,0);transition:box-shadow .25s;
}
body.ray-exp-pages :is(.ray-catalog,.sa-products-page,.ray-group-modal) .ray-shop-card:focus-visible {
  outline:2px solid #71fffa;outline-offset:5px;
}
body.ray-exp-pages :is(.ray-catalog,.sa-products-page,.ray-group-modal) .ray-shop-card__media {
  position:relative;padding:0!important;margin:0!important;flex:none;border-bottom:1px solid rgba(75,202,210,.15);
  background:#021114;overflow:hidden;
}
body.ray-exp-pages :is(.ray-catalog,.sa-products-page,.ray-group-modal) .ray-shop-card__media > img {
  display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:contain!important;
  border:0;border-radius:0!important;background:#021114;transition:filter .25s;
}
body.ray-exp-pages :is(.ray-catalog,.sa-products-page,.ray-group-modal) .ray-shop-card__body {
  display:flex;flex-direction:column;flex:1;gap:0;padding:22px!important;min-width:0;
}
body.ray-exp-pages :is(.ray-catalog,.sa-products-page,.ray-group-modal) .ray-shop-card__title {
  margin:0 0 12px!important;min-height:2.6em;font-size:18px!important;font-weight:750;
  line-height:1.3!important;letter-spacing:-.025em;color:var(--ray-card-ink,#edfcfc);
  white-space:normal!important;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;
  text-overflow:initial;overflow:hidden;
}
body.ray-exp-pages :is(.ray-catalog,.sa-products-page,.ray-group-modal) .ray-shop-card__meta {
  margin:0 0 20px!important;color:var(--ray-card-muted,#9bb7be)!important;
  font-size:12px!important;line-height:1.5;
}
body.ray-exp-pages :is(.ray-catalog,.sa-products-page,.ray-group-modal) .ray-shop-card__footer {
  margin-top:auto;padding-top:17px;border-top:1px solid rgba(101,211,219,.13);gap:15px;
}
body.ray-exp-pages :is(.ray-catalog,.sa-products-page,.ray-group-modal) .ray-shop-card__price {
  align-items:flex-start;flex-direction:column;gap:5px;min-width:0;
}
body.ray-exp-pages :is(.ray-catalog,.sa-products-page,.ray-group-modal) .ray-shop-card__price-label {font-size:10px!important;line-height:1.2;color:#8eabb3;}
body.ray-exp-pages :is(.ray-catalog,.sa-products-page,.ray-group-modal) .ray-shop-card__price-value {
  white-space:normal!important;overflow:visible;text-overflow:clip;font-size:18px!important;
  color:#acfffc;line-height:1.35;font-weight:700;letter-spacing:-.025em;
}
body.ray-exp-pages :is(.ray-catalog,.sa-products-page,.ray-group-modal) .ray-shop-card__arrow {
  display:grid;place-items:center;width:36px;height:36px;border-radius:50%;border:1px solid rgba(84,218,225,.35);
  color:#8ef9f6;background:rgba(0,200,210,.035);flex:none;transition:color .25s,background .25s,box-shadow .25s;
}
body.ray-exp-pages :is(.ray-catalog,.sa-products-page,.ray-group-modal) .ray-shop-card__arrow svg { width:23px;height:23px; }
body.ray-exp-pages .ray-group-modal .ray-group-modal-content { padding:24px; }
body.ray-exp-pages .ray-group-modal .ray-group-modal-header { padding:24px;border-bottom:1px solid rgba(96,221,226,.18); }
body.ray-exp-pages .ray-group-modal .ray-group-modal-panel {border-radius:22px!important;background:rgba(3,18,23,.97)!important;}

/* Product index: a compact title and a legible, separate filter rail. */
body.ray-exp-pages .ray-shop-index-heading { padding-block:64px 48px!important; }
body.ray-exp-pages .ray-shop-index-heading h1 {font-size:clamp(38px,4.6vw,62px);line-height:1.08;letter-spacing:-.05em;}
body.ray-exp-pages .ray-shop-index-content {margin-bottom:92px!important;}
body.ray-exp-pages .ray-shop-filter-panel {
  border:1px solid rgba(100,218,225,.23)!important;border-radius:18px!important;
  background:linear-gradient(150deg,rgba(6,30,37,.94),rgba(2,15,21,.94))!important;padding:17px!important;
  box-shadow:0 16px 42px #0002;
}
body.ray-exp-pages .ray-shop-filter-panel .sa-products-page-link { min-height:43px;border-radius:9px;line-height:1.45; }
body.ray-exp-pages .ray-shop-filter-panel :is(input,select) { min-height:42px; }
body.ray-exp-pages .sa-products-page-items { gap:23px; }
body.ray-exp-pages .sa-products-page-item { min-width:0; }

/* Horizontal modal cards keep their native hit area, purchase route and metadata. */
body.ray-exp-pages :is(.ray-catalog,.sa-products-page) .ray-shop-horizontal {
  border-radius:15px!important;border-color:rgba(89,212,221,.25)!important;
  background:linear-gradient(130deg,rgba(7,32,39,.95),rgba(3,17,23,.96))!important;
  padding:7px;gap:17px;min-width:0;
}
body.ray-exp-pages :is(.ray-catalog,.sa-products-page) .ray-shop-horizontal h3 {
  white-space:normal!important;line-height:1.35;font-size:16px;letter-spacing:-.02em;
  overflow-wrap:anywhere;
}
body.ray-exp-pages :is(.ray-catalog,.sa-products-page) .ray-shop-horizontal img {object-fit:contain!important;}

/* Product detail: refine the existing gallery, tabs and native purchase stack.
   Desktop layout and every native control are retained. Mobile purchase follows the gallery. */
body.ray-exp-pages .ray-product-page .ray-product-container { padding-top:38px; }
body.ray-exp-pages .ray-product-page h1 {font-size:clamp(30px,3.2vw,48px);line-height:1.15;letter-spacing:-.04em;}
body.ray-exp-pages .ray-product-page .ray-product-gallery {margin-bottom:24px;}
body.ray-exp-pages .ray-product-page .ray-product-gallery :is(.ray-product-gallery-slide,.ray-product-gallery-single) {
  border-radius:18px!important;border-color:rgba(95,222,227,.29)!important;
  box-shadow:0 20px 50px #0004,0 0 32px #00d9dc09;
}
body.ray-exp-pages .ray-product-page .ray-product-tabs {justify-content:flex-start;gap:8px;padding:0 0 14px;border-bottom:1px solid rgba(95,222,227,.17);margin-bottom:20px;}
body.ray-exp-pages .ray-product-page .ray-product-tabs button {
  min-height:41px;border-radius:9px!important;padding:10px 16px!important;
  font-size:12px!important;border-color:rgba(89,212,221,.2)!important;background:rgba(3,20,26,.82)!important;
}
body.ray-exp-pages .ray-product-page .ray-product-tabs button[data-ray-selected="true"] {
  border-color:#32dbe0!important;color:#bcfffb!important;background:rgba(0,208,215,.11)!important;
  box-shadow:inset 0 -2px rgba(40,237,233,.55),0 0 18px #00dfe50b;
}
body.ray-exp-pages .ray-product-page .ray-product-description-card {
  border-radius:17px!important;padding:28px!important;
  border-color:rgba(95,222,227,.19)!important;background:linear-gradient(150deg,rgba(5,27,34,.94),rgba(2,15,20,.91))!important;
}
body.ray-exp-pages .ray-product-page .ray-product-form {
  padding:16px;border-radius:19px;border-color:rgba(95,222,227,.3);
  background:linear-gradient(145deg,rgba(7,33,40,.96),rgba(2,15,21,.97));
  box-shadow:0 18px 50px #0004,inset 0 1px #bcffff08;
}
body.ray-exp-pages .ray-product-page .ray-product-price-card {
  border-radius:13px!important;padding:22px!important;background:rgba(3,21,27,.85)!important;
  border-color:rgba(82,212,221,.22)!important;margin-bottom:16px!important;
}
body.ray-exp-pages .ray-product-page .ray-price-values > div:first-child {font-size:clamp(27px,2.5vw,34px);letter-spacing:-.04em;font-weight:760;}
body.ray-exp-pages .ray-product-page .ray-price-stock {font-size:12px;color:#b5ddd8;}
body.ray-exp-pages .ray-product-page .ray-product-form-controls .ray-purchase-inner {
  border-radius:13px!important;border-color:rgba(82,212,221,.19)!important;background:rgba(2,17,23,.57)!important;padding:17px!important;
}
body.ray-exp-pages .ray-product-page .ray-variant-choice { min-height:76px;padding:12px!important;border-radius:10px!important; }
body.ray-exp-pages .ray-product-page .ray-variant-choice[aria-pressed="true"] {
  border-color:#45eff0!important;box-shadow:inset 0 0 0 1px rgba(81,244,238,.11),0 0 20px rgba(0,221,224,.07);
}
body.ray-exp-pages .ray-product-page .ray-purchase-add {min-height:44px;}

@media(hover:hover) and (pointer:fine) {
  body.ray-exp-pages :is(.ray-catalog,.sa-products-page,.ray-group-modal) .ray-shop-card:hover {
    border-color:rgba(59,235,234,.7)!important;box-shadow:0 20px 46px #0005,0 0 28px #00e3dc15;
  }
  body.ray-exp-pages :is(.ray-catalog,.sa-products-page,.ray-group-modal) .ray-shop-card:hover::after {box-shadow:inset 0 0 0 1px rgba(91,255,249,.08);}
  body.ray-exp-pages :is(.ray-catalog,.sa-products-page,.ray-group-modal) .ray-shop-card:hover .ray-shop-card__arrow {color:#002329;background:#4be6e3;box-shadow:0 0 20px #00e3dc28;}
  body.ray-exp-pages :is(.ray-catalog,.sa-products-page) .ray-shop-horizontal:hover {border-color:rgba(59,235,234,.65)!important;box-shadow:0 8px 30px #00e3dc0b;}
}
@media(min-width:1024px) {
  body.ray-exp-pages .ray-catalog-grid {grid-template-columns:repeat(3,minmax(0,1fr))!important;}
}
@media(min-width:640px) and (max-width:1023px) {
  body.ray-exp-pages .ray-catalog-grid {grid-template-columns:repeat(2,minmax(0,1fr))!important;}
}
@media(max-width:767px) {
  body.ray-exp-pages .ray-catalog-top {gap:16px;align-items:flex-start;flex-direction:column;padding-bottom:20px;margin-bottom:22px;}
  body.ray-exp-pages .ray-catalog-all {margin:0;padding:0;}
  body.ray-exp-pages .ray-catalog-grid {gap:20px!important;}
  body.ray-exp-pages :is(.ray-catalog,.sa-products-page,.ray-group-modal) .ray-shop-card__body {padding:19px!important;}
  body.ray-exp-pages :is(.ray-catalog,.sa-products-page,.ray-group-modal) .ray-shop-card__title {font-size:18px!important;}
  body.ray-exp-pages .ray-shop-index-heading {padding-block:40px 32px!important;}
  body.ray-exp-pages .ray-shop-index-content {margin-bottom:64px!important;}
  body.ray-exp-pages .ray-group-modal .ray-group-modal-content {padding:16px;}
  body.ray-exp-pages .ray-group-modal .ray-group-modal-header {padding:19px;}
  body.ray-exp-pages .ray-product-page .ray-product-description-card {padding:20px!important;}
  body.ray-exp-pages .ray-product-page .ray-product-form {padding:11px;}
  body.ray-exp-pages .ray-product-page .ray-product-price-card {padding:18px!important;}
  body.ray-exp-pages .ray-product-page .ray-product-form-controls .ray-purchase-inner {padding:13px!important;}
}
@media(max-width:639px) {
  body.ray-exp-pages .ray-catalog-grid {grid-template-columns:minmax(0,1fr)!important;}
}
/* Keep a long description from pushing purchase choices to the bottom on mobile.
   Only layout boxes change: Alpine scopes and all description nodes stay in place. */
@media(max-width:1023px) {
  body.ray-exp-pages .ray-product-page .ray-product-layout {display:flex!important;flex-direction:column;gap:25px;}
  body.ray-exp-pages .ray-product-page .ray-product-media-column {display:contents!important;}
  body.ray-exp-pages .ray-product-page .ray-product-gallery {order:0;width:100%;margin:0!important;min-width:0;}
  body.ray-exp-pages .ray-product-page .ray-product-purchase-column {order:1;width:100%;padding-inline:0;min-width:0;}
  body.ray-exp-pages .ray-product-page .ray-product-details {order:2;width:100%;margin:0;min-width:0;}
}
@media(prefers-reduced-motion:reduce) {
  body.ray-exp-pages :is(.ray-catalog,.sa-products-page,.ray-group-modal) .ray-shop-card,
  body.ray-exp-pages :is(.ray-catalog,.sa-products-page,.ray-group-modal) .ray-shop-card::after,
  body.ray-exp-pages :is(.ray-catalog,.sa-products-page,.ray-group-modal) .ray-shop-card__arrow {transition:none;}
}

/* Experimental only: existing live-stat content and cart quantity controls.
   No dimensions, buttons, counters, totals, checkout or purchase logic change. */

/* One continuous purchase-panel colour. Remove both the old neutral fill and
   any glass/gradient layer without removing the existing top divider. */
body.ray-exp-pages .ray-balanced-product-page.sa-product-page .ray-product-form.ray-purchase-refine .ray-product-live-stats {
  background:none!important;
  background-color:transparent!important;
  background-image:none!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
  color:#bdd4dc!important;
}
body.ray-exp-pages .ray-balanced-product-page.sa-product-page .ray-product-form.ray-purchase-refine .ray-product-live-stats::before,
body.ray-exp-pages .ray-balanced-product-page.sa-product-page .ray-product-form.ray-purchase-refine .ray-product-live-stats::after,
body.ray-exp-pages .ray-balanced-product-page.sa-product-page .ray-product-form.ray-purchase-refine .ray-product-live-stats > div {
  background:none!important;
  background-color:transparent!important;
  background-image:none!important;
  box-shadow:none!important;
}
body.ray-exp-pages .ray-balanced-product-page.sa-product-page .ray-product-form.ray-purchase-refine .ray-product-live-stats p {
  color:#bdd4dc!important;
}
body.ray-exp-pages .ray-balanced-product-page.sa-product-page .ray-product-form.ray-purchase-refine .ray-product-live-stats .font-semibold {
  color:#e4f5f7!important;
}
body.ray-exp-pages .ray-balanced-product-page.sa-product-page .ray-product-form.ray-purchase-refine .ray-product-live-stats svg {
  color:#55e8ec!important;
}

/* Current cart centre is a span, not an input. Cover both presentations while
   keeping the native +/- buttons and every quantity handler unchanged. */
body.ray-exp-pages .sa-cart-panel .ray-cart-quantity {
  background:#0a2630!important;
  background-image:none!important;
  border-color:rgba(83,221,232,.38)!important;
}
body.ray-exp-pages .sa-cart-panel .ray-cart-quantity > :is(span,input) {
  background:#0a2630!important;
  background-image:none!important;
  box-shadow:none!important;
  color:#e9fbff!important;
  -webkit-text-fill-color:#e9fbff!important;
}

/* Experimental product viewers: equal spacing between the two dividers.
   Native content, counts, payment icons and all actions remain untouched. */
body.ray-exp-pages .ray-balanced-product-page.sa-product-page .ray-product-form.ray-purchase-refine .ray-product-live-stats {
  margin-bottom:0!important;
}
body.ray-exp-pages .ray-balanced-product-page.sa-product-page .ray-product-form.ray-purchase-refine .ray-product-live-stats + .ray-product-payment-strip {
  margin-top:0!important;
}

/* Only the existing payment-logo row of the Experimental global footer. */
body.ray-exp-pages .ray-footer .ray-footer-payments.ray-footer-brand-marks {
  flex:1 1 auto;min-width:0;gap:12px 18px;
}
body.ray-exp-pages .ray-footer-brand-marks .ray-footer-brand-row {
  display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:12px 17px;
}
body.ray-exp-pages .ray-footer-brand-marks .ray-footer-mark {
  display:flex;align-items:center;justify-content:center;flex:none;height:28px;overflow:hidden;
  color:#f2f8fa;background:none;border:0;border-radius:0;box-shadow:none;
}
body.ray-exp-pages .ray-footer-brand-marks .ray-footer-mark svg {
  display:block;flex:none;width:100%;height:auto;max-height:none;fill:currentColor;
}
body.ray-exp-pages .ray-footer-brand-marks .ray-footer-visa {width:44px;}
body.ray-exp-pages .ray-footer-brand-marks .ray-footer-mastercard {width:35px;}
body.ray-exp-pages .ray-footer-brand-marks .ray-footer-paypal {
  display:flex;align-items:center;gap:5px;color:#edf9fb;
  font:700 italic 16px/1 Arial,sans-serif;letter-spacing:-.5px;
}
body.ray-exp-pages .ray-footer-brand-marks .ray-footer-paypal .ray-footer-mark {width:19px;height:26px;overflow:visible;}
body.ray-exp-pages .ray-footer-brand-marks .ray-footer-apple {width:50px;}
body.ray-exp-pages .ray-footer-brand-marks .ray-footer-google {width:48px;}
body.ray-exp-pages .ray-footer-brand-marks .ray-footer-original {height:auto;overflow:visible;}
body.ray-exp-pages .ray-footer-brand-marks .ray-footer-klarna {width:69px;}
body.ray-exp-pages .ray-footer-brand-marks .ray-footer-bitcoin {width:88px;}
body.ray-exp-pages .ray-footer-brand-marks .ray-footer-litecoin {width:88px;}
@media(max-width:767px) {
  body.ray-exp-pages .ray-footer .ray-footer-payments.ray-footer-brand-marks {width:100%;}
  body.ray-exp-pages .ray-footer-brand-marks .ray-footer-brand-row {gap:14px 17px;}
}

/* Experimental only: colour the native reviews pagination, retaining every
   href, page label, active/disabled state, responsive rule and route. */
body.ray-exp-pages .ray-feedback-page .sa-pagination a[href] {
  background:#071b23!important;
  background-image:none!important;
  border-color:rgba(80,207,221,.32)!important;
  color:#c4e9ef!important;
  box-shadow:inset 0 1px rgba(180,255,255,.025);
}
body.ray-exp-pages .ray-feedback-page .sa-pagination a[href]:not([aria-disabled="true"]):hover,
body.ray-exp-pages .ray-feedback-page .sa-pagination a[href]:not([aria-disabled="true"]):focus-visible {
  background:#0c303a!important;
  background-image:none!important;
  border-color:#56e4e9!important;
  color:#8bfffa!important;
  box-shadow:0 0 15px rgba(0,216,225,.1);
}
body.ray-exp-pages .ray-feedback-page .sa-pagination a[href]:focus-visible {
  outline:2px solid #8bfffa;
  outline-offset:3px;
}
body.ray-exp-pages .ray-feedback-page .sa-pagination [aria-current="page"] {
  background:#0a3943!important;
  background-image:none!important;
  border-color:#54e6e9!important;
  color:#a3fffb!important;
  box-shadow:inset 0 0 0 1px rgba(94,255,250,.08),0 0 17px rgba(0,215,223,.12)!important;
}
body.ray-exp-pages .ray-feedback-page .sa-pagination span.cursor-default,
body.ray-exp-pages .ray-feedback-page .sa-pagination [aria-disabled="true"] {
  background:#06151b!important;
  background-image:none!important;
  border-color:rgba(75,148,164,.23)!important;
  color:#60858e!important;
  box-shadow:none!important;
}
body.ray-exp-pages .ray-feedback-page .sa-pagination span.select-none {
  color:#79a9b3!important;
}

/* Only the real currency list scrolls. The mobile navigation dialog is
   teleported to body, so include that surface separately from the navbar.
   No list height, selection, trigger, menu layout or currency logic changes. */
body.ray-exp-pages :is(.ray-navbar,.ray-navigation-panel) .sa-currency-selector .ray-currency-list {
  scrollbar-width:thin;
  scrollbar-color:#48cfd9 #06181f!important;
}
body.ray-exp-pages :is(.ray-navbar,.ray-navigation-panel) .sa-currency-selector .ray-currency-list::-webkit-scrollbar {
  width:6px;
}
body.ray-exp-pages :is(.ray-navbar,.ray-navigation-panel) .sa-currency-selector .ray-currency-list::-webkit-scrollbar-track {
  background:#06181f;
  border-radius:999px;
}
body.ray-exp-pages :is(.ray-navbar,.ray-navigation-panel) .sa-currency-selector .ray-currency-list::-webkit-scrollbar-thumb {
  background:#48cfd9;
  border:1px solid #06181f;
  border-radius:999px;
}
body.ray-exp-pages :is(.ray-navbar,.ray-navigation-panel) .sa-currency-selector .ray-currency-list::-webkit-scrollbar-thumb:hover {
  background:#7df5f2;
}