/* Ionix Design Controls 1.0.3. Only enabled controls match; text is never faded with images. */
@media (min-width: 992px) {
  html body[data-sdc-search="1"] .st-header .st-header__search {
    flex: 0 1 var(--sdc-search-width) !important;
    width: var(--sdc-search-width) !important;
    max-width: var(--sdc-search-width) !important;
    min-width: 120px !important;
  }
  html body[data-sdc-search="1"] .st-header .st-search,
  html body[data-sdc-search="1"] .st-header .st-search__input { width: 100%; min-width: 0; }
  /* Share the free space on both sides instead of giving it all to the actions. */
  html body[data-sdc-search="1"][data-sdc-search-center="1"] .st-header .st-header__search {
    margin-inline: auto !important;
  }
  html body[data-sdc-search="1"][data-sdc-search-center="1"] .st-header .st-header__actions {
    margin-inline: 0 !important;
  }
  html body[data-sdc-desktop-logo="1"] .st-header .st-header__logo {
    max-width: var(--sdc-desktop-logo-max-width) !important;
    min-width: 0;
  }
  html body[data-sdc-desktop-logo="1"] .st-header .st-header__logo img {
    height: var(--sdc-desktop-logo-height) !important;
    max-height: var(--sdc-desktop-logo-height) !important;
    width: auto !important;
    max-width: 100% !important;
    object-fit: contain;
  }
}
@media (max-width: 991.98px) {
  html body[data-sdc-mobile-logo="1"] .st-header .st-header__logo {
    max-width: min(var(--sdc-mobile-logo-max-width), 42vw) !important;
  }
  html body[data-sdc-mobile-logo="1"] .st-header .st-header__mlogo {
    max-width: min(var(--sdc-mobile-logo-max-width), 28vw) !important;
  }
  html body[data-sdc-mobile-logo="1"] .st-header .st-header__logo img,
  html body[data-sdc-mobile-logo="1"] .st-header .st-header__mlogo img {
    height: var(--sdc-mobile-logo-height) !important;
    max-height: var(--sdc-mobile-logo-height) !important;
    width: auto !important;
    max-width: 100% !important;
    object-fit: contain;
  }
  html body[data-sdc-mobile-logo="1"] .st-header .st-header__inner {
    height: auto !important;
    min-height: max(var(--header-h, 56px), calc(var(--sdc-mobile-logo-height) + 12px)) !important;
  }
}
html body[data-sdc-footer-logo="1"] .st-footer .st-footer__brand .st-logo {
  max-width: min(var(--sdc-footer-logo-max-width), 100%) !important;
}
html body[data-sdc-footer-logo="1"] .st-footer .st-footer__brand .st-logo img {
  height: var(--sdc-footer-logo-height) !important;
  max-height: var(--sdc-footer-logo-height) !important;
  max-width: 100% !important;
  width: auto !important;
  object-fit: contain;
}

html body[data-sdc-slideshow="1"] .st-hero-slider .st-hero-slide__bg::after {
  opacity: var(--sdc-slideshow-opacity) !important;
}
html body[data-sdc-hero="1"] .st-hero.ix-hero-banner {
  --ix-hero-shade-alpha: var(--sdc-hero-opacity) !important;
}
html body[data-sdc-duo="1"] .st-banner-2up .st-banner__media::after {
  opacity: var(--sdc-duo-opacity) !important;
}
html body[data-sdc-sale="1"] .st-mega-banner::after {
  opacity: var(--sdc-sale-opacity) !important;
}
html body[data-sdc-tiles="1"] .st-promo--overlay .st-promo__card::after {
  opacity: var(--sdc-tiles-opacity) !important;
}
html body[data-sdc-cards="1"] .st-promo-grid .st-promo-banner__bg img {
  opacity: var(--sdc-cards-opacity) !important;
}
html body[data-sdc-strip="1"] .st-promo-strip .st-promo-strip__cutout {
  opacity: var(--sdc-strip-image-opacity) !important;
  -webkit-mask-image: radial-gradient(circle at 80% 80%, #000 50%, rgba(0,0,0,calc(1 - var(--sdc-strip-fade))) 75%) !important;
  mask-image: radial-gradient(circle at 80% 80%, #000 50%, rgba(0,0,0,calc(1 - var(--sdc-strip-fade))) 75%) !important;
}
html body[data-sdc-strip="1"] .st-promo-strip .st-promo-strip__cutout::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #0a0e1a;
  opacity: var(--sdc-strip-shade);
  pointer-events: none;
}

/* Shared checkout/cart buttons were being treated as ordinary links by site-colors.css. */
html body[data-sdc-buttons="1"] .btn-st-buy,
html body[data-sdc-buttons="1"] #custom-customer a.st-auth-links__btn {
  background: var(--ix-site-cta-bg, var(--btn-bg, #005fff)) !important;
  color: var(--ix-site-cta-text, var(--btn-fg, #fff)) !important;
  border-color: var(--ix-site-cta-bg, var(--btn-bd, #005fff)) !important;
  -webkit-text-fill-color: currentColor !important;
}
html body[data-sdc-buttons="1"] .btn-st-buy:is(:hover,:focus-visible),
html body[data-sdc-buttons="1"] #custom-customer a.st-auth-links__btn:is(:hover,:focus-visible) {
  background: var(--ix-site-cta-hover-bg, var(--btn-bg, #0050e0)) !important;
  color: var(--ix-site-cta-hover-text, var(--btn-fg, #fff)) !important;
  border-color: var(--ix-site-cta-hover-bg, var(--btn-bd, #0050e0)) !important;
}
/* Modern primary anchors keep their own foreground, including after visiting a link. */
html body[data-sdc-buttons="1"] a.st-btn:not(.st-btn--secondary):not(.st-btn--ghost):not(.st-btn--soft):not(.st-btn--danger):not(.st-btn--link) {
  color: var(--ix-site-cta-text, var(--ix-on-primary, #fff)) !important;
  -webkit-text-fill-color: currentColor !important;
}
html body[data-sdc-buttons="1"] a.st-btn:not(.st-btn--secondary):not(.st-btn--ghost):not(.st-btn--soft):not(.st-btn--danger):not(.st-btn--link):is(:hover,:focus-visible) {
  color: var(--ix-site-cta-hover-text, var(--ix-on-primary, #fff)) !important;
}
html body[data-sdc-buttons="1"] a.st-btn:is(.st-btn--secondary,.st-btn--ghost,.st-btn--soft),
html body[data-sdc-buttons="1"] a.btn-st-ghost {
  color: var(--ix-site-secondary-text, var(--st-btn-fg, var(--btn-fg, #005fff))) !important;
  -webkit-text-fill-color: currentColor !important;
}
html body[data-sdc-buttons="1"] a.st-btn:is(.st-btn--secondary,.st-btn--ghost,.st-btn--soft):is(:hover,:focus-visible),
html body[data-sdc-buttons="1"] a.btn-st-ghost:is(:hover,:focus-visible) {
  color: var(--ix-site-secondary-hover-text, var(--st-btn-fg, var(--btn-fg, #fff))) !important;
}
html body[data-sdc-buttons="1"] .btn-st-buy:focus-visible,
html body[data-sdc-buttons="1"] a.st-btn:focus-visible {
  outline: 2px solid var(--ix-site-cta-bg, var(--ix-primary, #005fff));
  outline-offset: 3px;
}

/* Centred newsletter: explicit local colours in every interactive state. */
html body[data-sdc-newsletter="1"] .st-newsletter,
html body[data-sdc-newsletter="1"] .st-newsletter:hover,
html body[data-sdc-newsletter="1"] .st-newsletter:focus-within {
  background: var(--sdc-newsletter-bg) !important;
  color: var(--sdc-newsletter-text) !important;
  --ix-site-heading: var(--sdc-newsletter-heading);
  --ix-site-text: var(--sdc-newsletter-text);
  --ix-site-muted: var(--sdc-newsletter-text);
  --ix-site-link: var(--sdc-newsletter-link);
  --ix-site-link-hover: var(--sdc-newsletter-link);
}
html body[data-sdc-newsletter="1"] .st-newsletter .st-section-head__title,
html body[data-sdc-newsletter="1"] .st-newsletter .st-section-head__title :is(em,strong,span),
html body[data-sdc-newsletter="1"] .st-newsletter :is(h1,h2,h3) {
  color: var(--sdc-newsletter-heading) !important;
  -webkit-text-fill-color: currentColor !important;
}
html body[data-sdc-newsletter="1"] .st-newsletter :is(.st-section-head__lead,.st-newsletter__agree,.st-newsletter__privacy) {
  color: var(--sdc-newsletter-text) !important;
}
html body[data-sdc-newsletter="1"] .st-newsletter :is(.st-eyebrow,.st-newsletter__agree a,.st-newsletter__privacy a),
html body[data-sdc-newsletter="1"] .st-newsletter :is(.st-newsletter__agree a,.st-newsletter__privacy a):is(:hover,:focus-visible) {
  color: var(--sdc-newsletter-link) !important;
}
html body[data-sdc-newsletter="1"] .st-newsletter input[type="email"],
html body[data-sdc-newsletter="1"] .st-newsletter input[type="email"]:is(:hover,:focus) {
  background: var(--sdc-newsletter-input-bg) !important;
  color: var(--sdc-newsletter-input-text) !important;
  -webkit-text-fill-color: var(--sdc-newsletter-input-text) !important;
  caret-color: var(--sdc-newsletter-input-text);
}
html body[data-sdc-newsletter="1"] .st-newsletter input[type="email"]::placeholder {
  color: var(--sdc-newsletter-input-text) !important;
  opacity: .7;
}
html body[data-sdc-newsletter="1"] .st-newsletter input[type="email"]:-webkit-autofill,
html body[data-sdc-newsletter="1"] .st-newsletter input[type="email"]:-webkit-autofill:is(:hover,:focus) {
  -webkit-box-shadow: 0 0 0 1000px var(--sdc-newsletter-input-bg) inset !important;
  -webkit-text-fill-color: var(--sdc-newsletter-input-text) !important;
  caret-color: var(--sdc-newsletter-input-text);
}
