/**
 * Retail Experience Theme v1.9.8 — authoritative gradient palette contract.
 * Loads after every framework storefront stylesheet. The commissioned primary
 * colour remains the source colour, while premium surfaces use derived
 * gradients instead of flat fills.
 */
:root{
  --retail-gradient-deep:var(--retail-primary-deep,color-mix(in srgb,var(--retail-primary,#2023a9) 42%,#000));
  --retail-gradient-mid:var(--retail-primary-mid,color-mix(in srgb,var(--retail-primary,#2023a9) 72%,#000));
  --retail-gradient-bright:var(--retail-primary-bright,color-mix(in srgb,var(--retail-primary,#2023a9) 82%,#fff));
  --retail-gradient-primary:var(--retail-primary-gradient,linear-gradient(135deg,var(--retail-gradient-deep) 0%,var(--retail-gradient-mid) 56%,var(--retail-primary,#2023a9) 100%));
  --retail-gradient-primary-bright:var(--retail-primary-gradient-bright,linear-gradient(135deg,var(--retail-gradient-mid) 0%,var(--retail-primary,#2023a9) 62%,var(--retail-gradient-bright) 100%));
  --retail-gradient-primary-soft:var(--retail-primary-gradient-soft,linear-gradient(145deg,#fff,color-mix(in srgb,var(--retail-primary,#2023a9) 8%,#fff)));
  --retail-gradient-shadow:color-mix(in srgb,var(--retail-primary,#2023a9) 28%,transparent);
  --retail-gradient-line:color-mix(in srgb,var(--retail-primary,#2023a9) 34%,transparent);
}

/* Map historic framework tokens to the same commissioned gradient family. */
body.retail-experience-theme{
  --ref-gradient:var(--retail-gradient-primary-bright)!important;
  --ref-v5-gradient:var(--retail-gradient-primary-bright)!important;
  --lv-gradient:var(--retail-gradient-primary-bright)!important;
  --lv-button-gradient:var(--retail-gradient-primary-bright)!important;
  --lv-button-gradient-hover:var(--retail-gradient-primary)!important;
  --wp--preset--gradient--midnight:var(--retail-gradient-primary)!important;
  --wp--preset--gradient--signature-night:var(--retail-gradient-primary)!important;
}

/* Category heroes — authoritative override for both native and compatibility markup. */
body.retail-experience-theme .ref-category-hero,
body.retail-experience-theme .ref-adaptive-category-hero,
body.retail-experience-theme .ref-cx-hero,
body.retail-experience-theme .ref-cx2-hero,
body.retail-experience-theme .category-page-title,
body.retail-experience-theme .ref-v18-category-hero,
body.retail-experience-theme .retail-v120-category-hero,
body.retail-experience-theme .woocommerce-products-header,
body.retail-experience-theme.ref-premium-storefront-v2070 .ref-category-hero,
body.retail-experience-theme.ref-premium-storefront-v2070 .ref-cx-hero,
body.retail-experience-theme.ref-premium-storefront-v2070 .ref-cx2-hero,
body.retail-experience-theme.ref-premium-storefront-v2070 .category-page-title,
body.retail-experience-theme.ref-premium-storefront-v2070 .ref-v18-category-hero,
body.retail-experience-theme.ref-premium-storefront-v2070 .retail-v120-category-hero,
body.retail-experience-theme.ref-premium-storefront-v2070 .woocommerce-products-header{
  border-color:var(--retail-gradient-line)!important;
  background:var(--retail-gradient-primary)!important;
  box-shadow:0 28px 72px var(--retail-gradient-shadow)!important;
}
body.retail-experience-theme .ref-category-hero,
body.retail-experience-theme .ref-category-hero h1,
body.retail-experience-theme .ref-category-hero h2,
body.retail-experience-theme .ref-category-hero p,
body.retail-experience-theme .ref-category-hero a,
body.retail-experience-theme .ref-category-hero__breadcrumb,
body.retail-experience-theme .ref-category-hero__eyebrow,
body.retail-experience-theme .ref-category-hero__meta,
body.retail-experience-theme .ref-cx-hero,
body.retail-experience-theme .ref-cx-hero h1,
body.retail-experience-theme .ref-cx-hero p,
body.retail-experience-theme .ref-cx2-hero,
body.retail-experience-theme .ref-cx2-hero h1,
body.retail-experience-theme .ref-cx2-hero h2,
body.retail-experience-theme .ref-cx2-hero p,
body.retail-experience-theme .ref-cx2-hero a,
body.retail-experience-theme .ref-v18-category-hero,
body.retail-experience-theme .ref-v18-category-hero h1,
body.retail-experience-theme .ref-v18-category-hero h2,
body.retail-experience-theme .ref-v18-category-hero p,
body.retail-experience-theme .ref-v18-category-hero a,
body.retail-experience-theme .retail-v120-category-hero,
body.retail-experience-theme .retail-v120-category-hero h1,
body.retail-experience-theme .retail-v120-category-hero h2,
body.retail-experience-theme .retail-v120-category-hero p,
body.retail-experience-theme .retail-v120-category-hero a,
body.retail-experience-theme .woocommerce-products-header,
body.retail-experience-theme .woocommerce-products-header h1,
body.retail-experience-theme .woocommerce-products-header p{
  color:#fff!important;
}
body.retail-experience-theme .ref-category-hero__copy>p,
body.retail-experience-theme .ref-category-hero__breadcrumb,
body.retail-experience-theme .ref-category-hero__eyebrow,
body.retail-experience-theme .ref-category-hero__meta,
body.retail-experience-theme .ref-cx2-description,
body.retail-experience-theme .ref-cx2-eyebrow{
  color:rgba(255,255,255,.76)!important;
}
body.retail-experience-theme .ref-category-hero__visual,
body.retail-experience-theme .ref-cx2-hero-media,
body.retail-experience-theme .ref-cx2-hero-image,
body.retail-experience-theme .ref-v18-category-hero__media,
body.retail-experience-theme .retail-v120-category-hero__visual{
  background:
    radial-gradient(circle at 66% 34%,rgba(255,255,255,.19),transparent 42%),
    linear-gradient(145deg,color-mix(in srgb,var(--retail-primary,#2023a9) 72%,transparent),color-mix(in srgb,var(--retail-night,#171929) 70%,transparent))!important;
}
body.retail-experience-theme .ref-category-hero__visual:after,
body.retail-experience-theme .ref-cx2-hero-media:after,
body.retail-experience-theme .ref-cx2-hero-image:after,
body.retail-experience-theme .ref-v18-category-hero__media:after,
body.retail-experience-theme .retail-v120-category-hero__visual:after{
  background:linear-gradient(90deg,var(--retail-primary-deep,var(--retail-night,#171929)),transparent 48%)!important;
}
body.retail-experience-theme .ref-category-hero__subcategories a,
body.retail-experience-theme .ref-cx2-hero-meta span{
  border-color:rgba(255,255,255,.28)!important;
  background:rgba(255,255,255,.10)!important;
  backdrop-filter:blur(10px);
}
body.retail-experience-theme .ref-category-hero__subcategories a:hover,
body.retail-experience-theme .ref-cx2-hero-meta span:hover{
  background:#fff!important;
  color:var(--retail-primary-deep,var(--retail-night,#171929))!important;
}

/* Hero and campaign surfaces. */
body.retail-experience-theme .ref-adaptive-hero,
body.retail-experience-theme .ref-signature-hero,
body.retail-experience-theme .ref-brand-hero--tone-brand,
body.retail-experience-theme .ref-signature-hero--tone-brand,
body.retail-experience-theme .ref-editorial-banner--tone-brand,
body.retail-experience-theme .retail-v170-info__hero,
body.retail-experience-theme .retail-v175-journal__hero,
body.retail-experience-theme .retail-404__panel,
body.retail-experience-theme .ref-v2010-private-cta,
body.retail-experience-theme.ref-premium-storefront-v2070 .ref-v2010-private-cta{
  background:var(--retail-gradient-primary)!important;
  box-shadow:0 28px 72px var(--retail-gradient-shadow)!important;
}
body.retail-experience-theme .retail-v170-info__hero,
body.retail-experience-theme .retail-v175-journal__hero{
  background:
    radial-gradient(circle at 84% 14%,color-mix(in srgb,var(--retail-primary-bright,var(--retail-primary,#2023a9)) 55%,transparent),transparent 28rem),
    radial-gradient(circle at 18% 100%,rgba(255,255,255,.12),transparent 24rem),
    var(--retail-gradient-primary)!important;
}

/* Header, navigation and footer use the same branded gradient family. */
body.retail-experience-theme .ref-native-announcement,
body.retail-experience-theme .header-top,
body.retail-experience-theme.ref-premium-storefront-v2070 .header-top,
body.retail-experience-theme .retail-site-header .ref-native-navigation,
body.retail-experience-theme .retail-site-header .ref-native-navigation__bar{
  background:var(--retail-gradient-primary)!important;
}
body.retail-experience-theme .retail-footer,
body.retail-experience-theme .ref-v2003-footer,
body.retail-experience-theme .site-footer{
  background:
    radial-gradient(circle at 12% 0%,color-mix(in srgb,var(--retail-primary,#2023a9) 30%,transparent),transparent 34rem),
    var(--retail-gradient-primary)!important;
}
body.retail-experience-theme .retail-v160-footer-conversion__card--dark,
body.retail-experience-theme .retail-v163-footer-conversion__card--dark{
  background:var(--retail-gradient-primary)!important;
}

/* Primary actions change from flat colour to the commissioned gradient. */
body.retail-experience-theme .wp-element-button:not([class*="clearpay"]):not([class*="afterpay"]):not([class*="klarna"]),
body.retail-experience-theme .button.primary:not([class*="clearpay"]):not([class*="afterpay"]):not([class*="klarna"]),
body.retail-experience-theme button.button.alt:not([class*="clearpay"]):not([class*="afterpay"]):not([class*="klarna"]),
body.retail-experience-theme .single_add_to_cart_button,
body.retail-experience-theme .checkout-button,
body.retail-experience-theme #place_order,
body.retail-experience-theme .wc-block-components-button,
body.retail-experience-theme .ref-native-action-link--primary,
body.retail-experience-theme .ref-adaptive-discovery-card>.button,
body.retail-experience-theme .woocommerce ul.products li.product .button,
body.retail-experience-theme .woocommerce ul.products li.product .added_to_cart,
body.retail-experience-theme .retail-search .wp-block-search__button,
body.retail-experience-theme #masthead .cart-item>a,
body.retail-experience-theme.ref-premium-storefront-v2070 #masthead .cart-item>a,
body.retail-experience-theme .ref-v2010-newsletter-action>a{
  border-color:transparent!important;
  background:var(--retail-gradient-primary-bright)!important;
  color:#fff!important;
  box-shadow:0 12px 28px var(--retail-gradient-shadow)!important;
}
body.retail-experience-theme .wp-element-button:not([class*="clearpay"]):not([class*="afterpay"]):not([class*="klarna"]):hover,
body.retail-experience-theme .button.primary:not([class*="clearpay"]):not([class*="afterpay"]):not([class*="klarna"]):hover,
body.retail-experience-theme button.button.alt:not([class*="clearpay"]):not([class*="afterpay"]):not([class*="klarna"]):hover,
body.retail-experience-theme .single_add_to_cart_button:hover,
body.retail-experience-theme .checkout-button:hover,
body.retail-experience-theme #place_order:hover,
body.retail-experience-theme .wc-block-components-button:hover,
body.retail-experience-theme .ref-native-action-link--primary:hover,
body.retail-experience-theme .ref-adaptive-discovery-card>.button:hover,
body.retail-experience-theme .woocommerce ul.products li.product .button:hover{
  filter:brightness(1.06) saturate(1.06);
  transform:translateY(-2px);
  box-shadow:0 16px 34px color-mix(in srgb,var(--retail-primary,#2023a9) 36%,transparent)!important;
}

/* Badges, current states and compact primary accents. */
body.retail-experience-theme .retail-site-header .wc-block-mini-cart__badge,
body.retail-experience-theme .ref-v2010-product-badge,
body.retail-experience-theme .badge-container .badge,
body.retail-experience-theme .woocommerce nav.woocommerce-pagination ul li span.current,
body.retail-experience-theme .woocommerce nav.woocommerce-pagination ul li a:hover,
body.retail-experience-theme .woocommerce-tabs ul.tabs li.active a,
body.retail-experience-theme .ref-px2-highlight i,
body.retail-experience-theme .ref-px2-reassurance>div>span,
body.retail-experience-theme .ref-native-brand-rail__items a:hover,
body.retail-experience-theme .ref-native-navigation--curated .ref-native-navigation__shop-all>a:hover{
  border-color:transparent!important;
  background:var(--retail-gradient-primary-bright)!important;
  color:#fff!important;
}

/* Dark/support cards and mega-menu features retain depth rather than a flat block. */
body.retail-experience-theme .ref-adaptive-discovery__guide,
body.retail-experience-theme .ref-native-mega-menu__feature:not(.has-image),
body.retail-experience-theme .retail-v175-shop-cta,
body.retail-experience-theme .retail-v175-help-card,
body.retail-experience-theme .retail-v170-help-card,
body.retail-experience-theme .is-style-retail-dark-panel{
  background:var(--retail-gradient-primary)!important;
  box-shadow:0 24px 60px var(--retail-gradient-shadow)!important;
}
body.retail-experience-theme .ref-adaptive-discovery__guide,
body.retail-experience-theme .ref-adaptive-discovery__guide h3,
body.retail-experience-theme .ref-adaptive-discovery__guide p,
body.retail-experience-theme .ref-adaptive-discovery__guide a,
body.retail-experience-theme .ref-native-mega-menu__feature:not(.has-image),
body.retail-experience-theme .ref-native-mega-menu__feature:not(.has-image) h3,
body.retail-experience-theme .ref-native-mega-menu__feature:not(.has-image) p{
  color:#fff!important;
}
body.retail-experience-theme .ref-adaptive-discovery__guide p{
  color:rgba(255,255,255,.76)!important;
}
body.retail-experience-theme .ref-native-mega-menu__feature-shade{
  background:linear-gradient(180deg,
    color-mix(in srgb,var(--retail-primary-deep,var(--retail-night,#171929)) 16%,transparent) 0%,
    color-mix(in srgb,var(--retail-primary-mid,var(--retail-primary,#2023a9)) 48%,transparent) 45%,
    color-mix(in srgb,var(--retail-primary-deep,var(--retail-night,#171929)) 96%,transparent) 100%)!important;
}

/* Soft surfaces use a subtle tint of the same primary colour. */
body.retail-experience-theme .retail-v160-footer-conversion,
body.retail-experience-theme .retail-v163-footer-conversion,
body.retail-experience-theme .retail-v160-footer-conversion__card:not(.retail-v160-footer-conversion__card--dark),
body.retail-experience-theme .retail-v163-footer-conversion__card:not(.retail-v163-footer-conversion__card--dark),
body.retail-experience-theme .ref-adaptive-discovery-card__image,
body.retail-experience-theme .woocommerce ul.products li.product .box-image{
  background:var(--retail-gradient-primary-soft)!important;
}

/* Generated WordPress primary background classes should carry depth too. */
body.retail-experience-theme .has-primary-background-color,
body.retail-experience-theme .has-signature-night-gradient-background,
body.retail-experience-theme .has-midnight-gradient-background{
  background:var(--retail-gradient-primary)!important;
  color:#fff!important;
}
body.retail-experience-theme .has-primary-background-color a,
body.retail-experience-theme .has-signature-night-gradient-background a,
body.retail-experience-theme .has-midnight-gradient-background a{
  color:inherit!important;
}

/* Preserve third-party payment brand colours. */
body.retail-experience-theme [class*="clearpay"],
body.retail-experience-theme [class*="afterpay"],
body.retail-experience-theme [class*="klarna"]{
  filter:none!important;
}

@media(max-width:900px){
  body.retail-experience-theme .ref-category-hero__visual:after,
  body.retail-experience-theme .ref-cx2-hero-media:after,
  body.retail-experience-theme .ref-cx2-hero-image:after,
body.retail-experience-theme .ref-v18-category-hero__media:after,
body.retail-experience-theme .retail-v120-category-hero__visual:after{
    background:linear-gradient(180deg,var(--retail-primary-deep,var(--retail-night,#171929)),transparent 52%)!important;
  }
}


/* v1.9.8: catalogue and brand archives use the same dimensional brand family. */
body.retail-experience-theme .retail-v120-category-hero__visual--abstract{
  background:
    radial-gradient(circle at 70% 28%,rgba(255,255,255,.23),transparent 28%),
    radial-gradient(circle at 28% 90%,color-mix(in srgb,var(--retail-gradient-bright) 32%,transparent),transparent 36%),
    linear-gradient(145deg,var(--retail-gradient-mid),var(--retail-gradient-deep))!important;
}
body.retail-experience-theme .retail-v120-category-hero.has-image .retail-v120-category-hero__visual:after{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg,var(--retail-gradient-deep),color-mix(in srgb,var(--retail-gradient-deep) 42%,transparent) 44%,transparent 72%),
    linear-gradient(0deg,color-mix(in srgb,var(--retail-gradient-deep) 35%,transparent),transparent 55%)!important;
}


/* v1.9.8: real taxonomy images survive CSS optimisers and lazy-load layers. */
body.retail-experience-theme .retail-v120-category-hero__visual{
  position:relative!important;
  overflow:hidden!important;
}
body.retail-experience-theme .retail-v120-category-hero__visual>.retail-v196-taxonomy-hero-image{
  display:block!important;
  width:100%!important;
  height:100%!important;
  min-height:100%!important;
  object-fit:cover!important;
  object-position:center!important;
  opacity:1!important;
  visibility:visible!important;
}

/* Image-led advice cards must never inherit dark global heading colours. */
body.retail-experience-theme .ref-native-advice-card.has-image{position:relative!important;isolation:isolate!important;color:#fff!important}
body.retail-experience-theme .ref-native-advice-card.has-image:before{content:"";position:absolute;inset:0;z-index:0;border-radius:inherit;pointer-events:none;background:linear-gradient(180deg,rgba(5,6,18,.05),rgba(5,6,18,.18) 38%,rgba(5,6,18,.70) 70%,rgba(5,6,18,.96))!important}
body.retail-experience-theme .ref-native-advice-card.has-image>*{position:relative!important;z-index:1!important}
body.retail-experience-theme .ref-native-advice-card.has-image :is(span,h3,h3 a,p,.ref-native-advice-card__link){color:#fff!important;text-shadow:0 2px 16px rgba(0,0,0,.52)!important}

/* Last-resort gallery visibility while the recovery runtime hydrates a lazy source. */
body.retail-route-product .woocommerce-product-gallery__image.is-retail-gallery-active img,
body.retail-route-product .woocommerce-product-gallery__image:first-child img{opacity:1!important;visibility:visible!important}


/* v1.9.8: exact chrome surfaces; duplicated background-image declarations
 * survive CSS shorthand rewriting and are then reinforced by the runtime. */
body.retail-experience-theme .ref-native-announcement,
body.retail-experience-theme .header-top,
body.retail-experience-theme #top-bar,
body.retail-experience-theme .top-bar{
  background-color:var(--retail-primary-deep,var(--retail-primary,#2023a9))!important;
  background-image:var(--retail-gradient-dark,var(--retail-gradient-primary))!important;
}
body.retail-experience-theme .retail-site-header__nav,
body.retail-experience-theme .retail-site-header .ref-native-navigation,
body.retail-experience-theme .ref-native-navigation__bar,
body.retail-experience-theme #wide-nav,
body.retail-experience-theme .header-bottom,
body.retail-experience-theme .main-navigation{
  background-color:var(--retail-primary-deep,var(--retail-primary,#2023a9))!important;
  background-image:var(--retail-gradient-primary)!important;
}
body.retail-experience-theme .retail-footer,
body.retail-experience-theme .site-footer,
body.retail-experience-theme #colophon,
body.retail-experience-theme .ref-v2003-footer,
body.retail-experience-theme #ref-intelligent-footer{
  background-color:var(--retail-primary-deep,var(--retail-primary,#2023a9))!important;
  background-image:var(--retail-gradient-dark,var(--retail-gradient-primary))!important;
}


/* v1.9.8: scoped chrome, legible actions and stable navigation. */
body.retail-experience-theme .retail-site-header__nav>.ref-native-navigation{
  border:0!important;background:transparent!important;background-image:none!important;box-shadow:none!important;
}
body.retail-experience-theme .retail-site-header__nav .ref-native-navigation__list>li.ref-native-navigation__shop-all>a,
body.retail-experience-theme header .ref-native-navigation--primary .ref-native-navigation__list>li.ref-native-navigation__shop-all>a{
  display:inline-flex!important;min-width:92px!important;align-items:center!important;justify-content:center!important;
  border:1px solid rgba(255,255,255,.78)!important;border-radius:999px!important;background:#fff!important;background-image:none!important;
  color:var(--retail-brand-deep,var(--retail-primary-deep,#171929))!important;opacity:1!important;visibility:visible!important;
  text-indent:0!important;font-size:.78rem!important;line-height:1.2!important;box-shadow:0 7px 18px rgba(0,0,0,.12)!important;
}
body.retail-experience-theme .retail-site-header__nav .ref-native-navigation__list>li.ref-native-navigation__shop-all>a *{color:inherit!important;opacity:1!important;visibility:visible!important}

body.retail-experience-theme .ref-adaptive-hero__actions>a:first-child,
body.retail-experience-theme .ref-adaptive-hero .ref-signature-button--primary,
body.retail-experience-theme .ref-signature-hero:not(.ref-signature-hero--tone-light) .ref-signature-button--primary{
  display:inline-flex!important;min-width:140px!important;align-items:center!important;justify-content:center!important;
  border:1px solid rgba(255,255,255,.86)!important;background:#fff!important;background-image:none!important;
  color:var(--retail-brand-deep,var(--retail-primary-deep,#171929))!important;opacity:1!important;visibility:visible!important;
  text-indent:0!important;font-size:.78rem!important;line-height:1.2!important;box-shadow:0 12px 28px rgba(0,0,0,.18)!important;
}
body.retail-experience-theme .ref-adaptive-hero__actions>a:first-child *,
body.retail-experience-theme .ref-adaptive-hero .ref-signature-button--primary *{color:inherit!important;opacity:1!important;visibility:visible!important}

body.retail-experience-theme .retail-footer .ref-native-navigation,
body.retail-experience-theme .retail-footer .ref-native-navigation__panel,
body.retail-experience-theme .retail-footer .ref-native-navigation__list,
body.retail-experience-theme .site-footer .ref-native-navigation,
body.retail-experience-theme .site-footer .ref-native-navigation__panel,
body.retail-experience-theme .site-footer .ref-native-navigation__list{
  border:0!important;background:transparent!important;background-image:none!important;box-shadow:none!important;filter:none!important;
}
body.retail-experience-theme .retail-footer .ref-native-navigation__list>li>a,
body.retail-experience-theme .site-footer .ref-native-navigation__list>li>a{
  background:transparent!important;background-image:none!important;box-shadow:none!important;color:#fff!important;
}

@media(min-width:851px){
  body.retail-experience-theme .retail-site-header__nav .ref-native-mega-menu,
  body.retail-experience-theme header .ref-native-mega-menu{
    box-sizing:border-box!important;width:min(960px,calc(100vw - 3rem))!important;
    grid-template-columns:minmax(0,1fr) minmax(280px,32%)!important;align-items:stretch!important;overflow:hidden!important;
    border:1px solid var(--retail-gradient-line)!important;border-radius:22px!important;background:#fff!important;background-image:none!important;
    color:var(--retail-brand-deep,var(--retail-primary-deep,#171929))!important;box-shadow:0 28px 72px rgba(12,8,22,.20)!important;z-index:10000!important;
  }
  body.retail-experience-theme .retail-site-header__nav .ref-native-mega-menu__content,
  body.retail-experience-theme header .ref-native-mega-menu__content{min-width:0!important;background:#fff!important;color:var(--retail-brand-deep,var(--retail-primary-deep,#171929))!important}
  body.retail-experience-theme .retail-site-header__nav .ref-native-mega-menu__content a,
  body.retail-experience-theme header .ref-native-mega-menu__content a{color:var(--retail-brand-deep,var(--retail-primary-deep,#171929))!important}
  body.retail-experience-theme .retail-site-header__nav .ref-native-mega-menu__feature,
  body.retail-experience-theme header .ref-native-mega-menu__feature{min-height:360px!important}
  body.retail-experience-theme .retail-site-header__nav .ref-native-mega-menu__feature-copy a,
  body.retail-experience-theme header .ref-native-mega-menu__feature-copy a{color:#fff!important}
}
