/* RF FULL BLEED BANNER - EXTERNAL STYLESHEET */
/* Host this file in the footer of your website */

/* ---------- @font-face — self-hosted brand fonts from GCS ---------- */
@font-face {
  font-family: "DIN2014-Regular";
  src: url("https://storage.googleapis.com/builder-nextjs-bucket/uploads/prodv/fonts/DIN2014-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "DIN2014-Demi";
  src: url("https://storage.googleapis.com/builder-nextjs-bucket/uploads/prodv/fonts/DIN2014-Demi.otf") format("opentype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --header-white: #fff;
  --header-black: #000;
  --safe-area-bottom: env(safe-area-inset-bottom, 0px);
  --safe-area-left: env(safe-area-inset-left, 0px);
  --safe-area-right: env(safe-area-inset-right, 0px);
}

body {
  overflow-x: hidden;
  padding-top: 0 !important;
}

/* Force navigation to overlay on banner */
:is(
  body > header,
  body > .site-header,
  header.site-header,
  .yCmsContentSlot.header-primarynav-component,
  .site-top-nav,
  .top-navigation,
  .top-nav,
  #top-nav
) {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 9999 !important;
}

.promo-banner-component.rf__promo-banner-component,
article.promo-banner-component.rf__promo-banner-component {
  position: relative !important;
  z-index: 9998 !important;
}

/* Ensure global search overlay sits above promo banner */
.rf__global-search-overlay,
.global-search-overlay {
  z-index: 10002 !important;
}

/* Ensure country/locale selector overlay sits above promo banner */
.rf__locale-selector-overlay,
.locale-selector-overlay,
.country-language-modal,
.rf__country-selector,
.country-selector,
.language-selector-modal,
.language-selector,
.global-language-selector-modal__wrapper,
.modal__wrapper,
.medium_modal {
  z-index: 10002 !important;
}

/* Ensure sign-in/account modal sits above promo banner */
#cboxOverlay,
#colorbox,
.cboxIframe,
.account-modal,
.login-modal,
.sign-in-modal {
  z-index: 10002 !important;
}

/* When search overlay is visible, temporarily raise header above promo */
:is(
  body > header,
  body > .site-header,
  header.site-header,
  .yCmsContentSlot.header-primarynav-component,
  .site-top-nav,
  .top-navigation,
  .top-nav,
  #top-nav
):has(.rf__global-search-overlay:not(.hide), .global-search-overlay:not(.hide)) {
  z-index: 10004 !important;
}

/* Raise header when country/locale overlay is visible */
:is(
  body > header,
  body > .site-header,
  header.site-header,
  .yCmsContentSlot.header-primarynav-component,
  .site-top-nav,
  .top-navigation,
  .top-nav,
  #top-nav
):has(
  .rf__locale-selector-overlay:not(.hide),
  .locale-selector-overlay:not(.hide),
  .country-language-modal:not(.hide),
  .rf__country-selector:not(.hide),
  .country-selector:not(.hide),
  .language-selector-modal:not(.hide),
  .language-selector:not(.hide)
) {
  z-index: 10004 !important;
}

/* When promo banner is present, move navigation below it (JS overrides top on scroll) */
body.has-promo-banner :is(
  > header,
  > .site-header,
  header.site-header,
  .yCmsContentSlot.header-primarynav-component,
  .site-top-nav,
  .top-navigation,
  .top-nav,
  #top-nav
) {
  top: var(--promo-banner-height, 0px) !important;
}

/* Fallback: on scroll, move navigation to top (JS also handles this directly) */
body.has-promo-banner.scrolled :is(
  > header,
  > .site-header,
  header.site-header,
  .yCmsContentSlot.header-primarynav-component,
  .site-top-nav,
  .top-navigation,
  .top-nav,
  #top-nav
) {
  top: 0 !important;
}

/* Header color options (use currentColor to reduce duplication) */
.header-color-white { color: var(--header-white) !important; }
.header-color-black { color: var(--header-black) !important; }

:is(.header-color-white, .header-color-black)
  *:not(.mini-cart-flyout):not(.mini-cart-flyout *):not(.rf__mini-cart-flyout):not(.rf__mini-cart-flyout *):not(.cart-notification):not(.cart-notification *):not(.rf__global-search-overlay):not(.rf__global-search-overlay *):not(.global-search-overlay):not(.global-search-overlay *):not(.rf__locale-selector-overlay):not(.rf__locale-selector-overlay *):not(.locale-selector-overlay):not(.locale-selector-overlay *):not(.country-language-modal):not(.country-language-modal *):not(.rf__country-selector):not(.rf__country-selector *):not(.country-selector):not(.country-selector *):not(.language-selector-modal):not(.language-selector-modal *):not(.language-selector):not(.language-selector *):not(.global-language-selector-modal__wrapper):not(.global-language-selector-modal__wrapper *):not(.modal__wrapper):not(.modal__wrapper *):not(.medium_modal):not(.medium_modal *):not(#cboxOverlay):not(#cboxOverlay *):not(#colorbox):not(#colorbox *):not(.account-modal):not(.account-modal *):not(.login-modal):not(.login-modal *):not(.sign-in-modal):not(.sign-in-modal *) {
  color: currentColor !important;
}

:is(.header-color-white, .header-color-black) svg {
  fill: currentColor !important;
  stroke: currentColor !important;
}

.header-color-white img[src*="logo"] { filter: brightness(0) invert(1) !important; }
:is(.header-color-white, .header-color-black) .search-icon.show-desktop-new { border-color: currentColor !important; }

/* Cart notification styling */
.cart-notification,
.cart-notification * {
  color: var(--header-white) !important;
  background-color: transparent !important;
}

/* White header: switch to black on hover and scroll */
.header-color-white:hover,
.header-color-white.scrolled {
  color: var(--header-black) !important;
  background-color: var(--header-white) !important;
  position: relative;
}

.header-color-white:hover::before,
.header-color-white.scrolled::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--header-white) !important;
  z-index: -1;
}

.header-color-white:hover *:not(.mini-cart-flyout):not(.mini-cart-flyout *):not(.rf__mini-cart-flyout):not(.rf__mini-cart-flyout *):not(.cart-notification):not(.cart-notification *):not(.rf__global-search-overlay):not(.rf__global-search-overlay *):not(.global-search-overlay):not(.global-search-overlay *):not(.rf__locale-selector-overlay):not(.rf__locale-selector-overlay *):not(.locale-selector-overlay):not(.locale-selector-overlay *):not(.country-language-modal):not(.country-language-modal *):not(.rf__country-selector):not(.rf__country-selector *):not(.country-selector):not(.country-selector *):not(.language-selector-modal):not(.language-selector-modal *):not(.language-selector):not(.language-selector *):not(.global-language-selector-modal__wrapper):not(.global-language-selector-modal__wrapper *):not(.modal__wrapper):not(.modal__wrapper *):not(.medium_modal):not(.medium_modal *):not(#cboxOverlay):not(#cboxOverlay *):not(#colorbox):not(#colorbox *):not(.account-modal):not(.account-modal *):not(.login-modal):not(.login-modal *):not(.sign-in-modal):not(.sign-in-modal *),
.header-color-white.scrolled *:not(.mini-cart-flyout):not(.mini-cart-flyout *):not(.rf__mini-cart-flyout):not(.rf__mini-cart-flyout *):not(.cart-notification):not(.cart-notification *):not(.rf__global-search-overlay):not(.rf__global-search-overlay *):not(.global-search-overlay):not(.global-search-overlay *):not(.rf__locale-selector-overlay):not(.rf__locale-selector-overlay *):not(.locale-selector-overlay):not(.locale-selector-overlay *):not(.country-language-modal):not(.country-language-modal *):not(.rf__country-selector):not(.rf__country-selector *):not(.country-selector):not(.country-selector *):not(.language-selector-modal):not(.language-selector-modal *):not(.language-selector):not(.language-selector *):not(.global-language-selector-modal__wrapper):not(.global-language-selector-modal__wrapper *):not(.modal__wrapper):not(.modal__wrapper *):not(.medium_modal):not(.medium_modal *):not(#cboxOverlay):not(#cboxOverlay *):not(#colorbox):not(#colorbox *):not(.account-modal):not(.account-modal *):not(.login-modal):not(.login-modal *):not(.sign-in-modal):not(.sign-in-modal *) {
  color: var(--header-black) !important;
}

.header-color-white:hover svg,
.header-color-white.scrolled svg {
  fill: var(--header-black) !important;
  stroke: var(--header-black) !important;
}

.header-color-white:hover img[src*="logo"],
.header-color-white.scrolled img[src*="logo"] {
  filter: none !important;
}

/* Mobile menu active state - prevent hover styles from affecting open menu */
@media (max-width: 1023px) {
  /* Ensure mobile menu appears above all elements including promo banner */
  .menu-navigation.is-menu-active {
    z-index: 10002 !important;
    position: relative !important;
  }

  /* When nav drawer is open, drop the promo banner below it so the drawer
     fully overlays the pencil banner */
  body:has(.menu-navigation.is-menu-active) :is(
    .promo-banner-component.rf__promo-banner-component,
    article.promo-banner-component.rf__promo-banner-component
  ) {
    z-index: 1 !important;
  }

  /* Also raise the header stacking context above the promo banner */
  :is(
    body > header,
    body > .site-header,
    header.site-header,
    .yCmsContentSlot.header-primarynav-component,
    .site-top-nav,
    .top-navigation,
    .top-nav,
    #top-nav
  ):has(.menu-navigation.is-menu-active) {
    z-index: 10004 !important;
  }

  /* Ensure Gigya sign-in modal appears above mobile menu */
  .gigya-signin-modal,
  .gigya-screen-dialog,
  [id*="gigya"],
  .gigya-composite-control-overlay {
    z-index: 10003 !important;
  }

  .header-color-white:has(.menu-navigation.is-menu-active),
  .header-color-white:has(.menu-navigation.is-menu-active):hover {
    color: var(--header-black) !important;
    background-color: transparent !important;
    z-index: 10002 !important;
  }

  .header-color-white:has(.menu-navigation.is-menu-active)::before,
  .header-color-white:has(.menu-navigation.is-menu-active):hover::before {
    display: none !important;
  }

  .header-color-white:has(.menu-navigation.is-menu-active) *:not(.mini-cart-flyout):not(.mini-cart-flyout *):not(.rf__mini-cart-flyout):not(.rf__mini-cart-flyout *):not(.rf__global-search-overlay):not(.rf__global-search-overlay *):not(.global-search-overlay):not(.global-search-overlay *):not(.rf__locale-selector-overlay):not(.rf__locale-selector-overlay *):not(.locale-selector-overlay):not(.locale-selector-overlay *):not(.country-language-modal):not(.country-language-modal *):not(.rf__country-selector):not(.rf__country-selector *):not(.country-selector):not(.country-selector *):not(.language-selector-modal):not(.language-selector-modal *):not(.language-selector):not(.language-selector *):not(.global-language-selector-modal__wrapper):not(.global-language-selector-modal__wrapper *):not(.modal__wrapper):not(.modal__wrapper *):not(.medium_modal):not(.medium_modal *):not(#cboxOverlay):not(#cboxOverlay *):not(#colorbox):not(#colorbox *):not(.account-modal):not(.account-modal *):not(.login-modal):not(.login-modal *):not(.sign-in-modal):not(.sign-in-modal *),
  .header-color-white:has(.menu-navigation.is-menu-active):hover *:not(.mini-cart-flyout):not(.mini-cart-flyout *):not(.rf__mini-cart-flyout):not(.rf__mini-cart-flyout *):not(.rf__global-search-overlay):not(.rf__global-search-overlay *):not(.global-search-overlay):not(.global-search-overlay *):not(.rf__locale-selector-overlay):not(.rf__locale-selector-overlay *):not(.locale-selector-overlay):not(.locale-selector-overlay *):not(.country-language-modal):not(.country-language-modal *):not(.rf__country-selector):not(.rf__country-selector *):not(.country-selector):not(.country-selector *):not(.language-selector-modal):not(.language-selector-modal *):not(.language-selector):not(.language-selector *):not(.global-language-selector-modal__wrapper):not(.global-language-selector-modal__wrapper *):not(.modal__wrapper):not(.modal__wrapper *):not(.medium_modal):not(.medium_modal *):not(#cboxOverlay):not(#cboxOverlay *):not(#colorbox):not(#colorbox *):not(.account-modal):not(.account-modal *):not(.login-modal):not(.login-modal *):not(.sign-in-modal):not(.sign-in-modal *) {
    color: var(--header-black) !important;
  }

  .header-color-white:has(.menu-navigation.is-menu-active) svg,
  .header-color-white:has(.menu-navigation.is-menu-active):hover svg {
    fill: var(--header-black) !important;
    stroke: var(--header-black) !important;
  }

  .header-color-white:has(.menu-navigation.is-menu-active) img[src*="logo"],
  .header-color-white:has(.menu-navigation.is-menu-active):hover img[src*="logo"] {
    filter: none !important;
  }
}

/* Black header logo remains normal */
.header-color-black img[src*="logo"] { filter: none !important; }

.yCmsContentSlot.header-primarynav-component + *,
body > header + *,
body > .site-header + * {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.full-bleed-banner {
  width: 100%;
  max-width: 100vw;
  height: 100dvh;
  min-height: 100dvh;
  position: relative;
  overflow: hidden;
  margin: 0 0 28px 0;
  margin-top: calc(-1 * var(--promo-banner-height, 0px));
  left: 0;
  right: 0;
  font-family: "DIN2014-Demi", Arial, sans-serif;
}

.full-bleed-banner *,
.full-bleed-banner *::before,
.full-bleed-banner *::after {
  box-sizing: border-box;
}

/* Media Background */
.full-bleed-banner .banner-media {
  position: absolute;
  inset: 0;
  transition: bottom 240ms ease;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.full-bleed-banner .banner-media-link {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  cursor: pointer;
  pointer-events: auto;
}

.full-bleed-banner .banner-media-link.disabled {
  pointer-events: none;
  cursor: default;
}

.full-bleed-banner .banner-media img,
.full-bleed-banner .banner-media video {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: calc(100dvh + var(--safe-area-bottom));
  min-height: calc(100vh + var(--safe-area-bottom));
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  will-change: transform;
}

/* Content Container */
.full-bleed-banner .banner-content {
  position: relative;
  z-index: 10;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 2rem 1.5rem;
  pointer-events: none;
}

/* Text Shadow for Readability (disabled when .no-shadow is applied) */
.full-bleed-banner .content-inner:not(.no-shadow) .subheadline,
.full-bleed-banner .content-inner:not(.no-shadow) .headline,
.full-bleed-banner .content-inner:not(.no-shadow) .body-copy,
.full-bleed-banner .content-inner:not(.no-shadow) .disclaimer,
.full-bleed-banner .content-inner:not(.no-shadow) .countdown-label,
.full-bleed-banner .content-inner:not(.no-shadow) .countdown-value,
.full-bleed-banner .content-inner:not(.no-shadow) .countdown-label-small {
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3),
              0 2px 6px rgba(0, 0, 0, 0.2);
}

/* Explicitly remove shadow when .no-shadow is applied */
.full-bleed-banner .content-inner.no-shadow .subheadline,
.full-bleed-banner .content-inner.no-shadow .headline,
.full-bleed-banner .content-inner.no-shadow .body-copy,
.full-bleed-banner .content-inner.no-shadow .disclaimer,
.full-bleed-banner .content-inner.no-shadow .countdown-label,
.full-bleed-banner .content-inner.no-shadow .countdown-value,
.full-bleed-banner .content-inner.no-shadow .countdown-label-small {
  text-shadow: none !important;
}

/* Ensure NO shadow on all text elements when no-shadow is applied */
.rf-full-bleed-banner-component .content-inner.no-shadow .subheadline,
.rf-full-bleed-banner-component .content-inner.no-shadow .headline,
.rf-full-bleed-banner-component .content-inner.no-shadow .body-copy,
.rf-full-bleed-banner-component .content-inner.no-shadow .disclaimer,
.rf-full-bleed-banner-component .content-inner.no-shadow .countdown-label,
.rf-full-bleed-banner-component .content-inner.no-shadow .countdown-value,
.rf-full-bleed-banner-component .content-inner.no-shadow .countdown-label-small {
  text-shadow: none !important;
}

.full-bleed-banner .content-wrapper {
  width: 100%;
  max-width: 1536px;
  margin: 0 auto;
}

.full-bleed-banner .content-inner {
  max-width: 42rem;
  color: var(--fbb-color, #fff);
}

/* Typography */
.full-bleed-banner .subheadline {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
  font-weight: 300;
  margin-top: 0;
  padding: 0;
  line-height: 1.2;
}

/* SmartEdit specific fix for subheadline spacing */
.rf-full-bleed-banner-component .full-bleed-banner .subheadline {
  margin-bottom: 1rem !important;
  margin-top: 0 !important;
  padding-bottom: 0 !important;
}

.full-bleed-banner .headline {
  font-size: 28px;
  font-weight: 300;
  margin-bottom: 1.5rem;
  line-height: 1.05;
  margin-top: 0;
  padding: 0;
}

/* Headline Size Options - Mobile (Base) */
.full-bleed-banner .headline.headline-small {
  font-size: 20px;
}

.full-bleed-banner .headline.headline-medium {
  font-size: 24px;
}

.full-bleed-banner .headline.headline-large {
  font-size: 28px;
}

.full-bleed-banner .body-copy {
  font-size: 18px;
  margin-bottom: 2rem;
  line-height: 1.55;
  max-width: 36rem;
}

/* ========================================== */
/* COUNTDOWN TIMER STYLES                     */
/* ========================================== */
.full-bleed-banner .countdown-container {
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  font-family: "DIN2014-Demi", Arial, sans-serif;
}

.full-bleed-banner .countdown-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: none;
  opacity: 0.9;
  margin: 0;
  padding: 0;
  white-space: nowrap;
}

.full-bleed-banner .countdown-display {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.full-bleed-banner .countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.full-bleed-banner .countdown-value {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
  min-width: 2.5rem;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.full-bleed-banner .countdown-label-small {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0.8;
  margin: 0;
  padding: 0;
  line-height: 1;
}

.full-bleed-banner .countdown-separator {
  font-size: 16px;
  font-weight: 300;
  opacity: 0.7;
  margin: 0 0.25rem;
  padding-bottom: 1.5rem;
}

/* Mobile countdown responsive styles */
@media (max-width: 639px) {
  .full-bleed-banner .countdown-container {
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
  }

  .full-bleed-banner .countdown-label {
    font-size: 12px;
  }

  .full-bleed-banner .countdown-display {
    gap: 0.5rem;
  }

  .full-bleed-banner .countdown-value {
    font-size: 20px;
    min-width: 2.75rem;
  }

  .full-bleed-banner .countdown-label-small {
    font-size: 10px;
  }

  .full-bleed-banner .countdown-separator {
    font-size: 16px;
    margin: 0 0.25rem;
    padding-bottom: 1.75rem;
  }
}

/* Tablet countdown responsive styles */
@media (min-width: 640px) and (max-width: 1023px) {
  .full-bleed-banner .countdown-container {
    gap: 0.875rem;
    margin-bottom: 1.75rem;
  }

  .full-bleed-banner .countdown-label {
    font-size: 14px;
  }

  .full-bleed-banner .countdown-value {
    font-size: 24px;
    min-width: 3rem;
  }

  .full-bleed-banner .countdown-label-small {
    font-size: 11px;
  }

  .full-bleed-banner .countdown-separator {
    font-size: 18px;
    padding-bottom: 2rem;
  }
}

/* Desktop countdown responsive styles */
@media (min-width: 1024px) {
  .full-bleed-banner .countdown-container {
    gap: 1.125rem;
    margin-bottom: 2rem;
  }

  .full-bleed-banner .countdown-label {
    font-size: 16px;
  }

  .full-bleed-banner .countdown-value {
    font-size: 28px;
    min-width: 3.5rem;
  }

  .full-bleed-banner .countdown-label-small {
    font-size: 12px;
  }

  .full-bleed-banner .countdown-separator {
    font-size: 20px;
    padding-bottom: 2.25rem;
  }
}

/* CTA Buttons */
.full-bleed-banner .cta-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.full-bleed-banner .cta-button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  height: 48px;
  line-height: normal;
  padding: 0 16px;
  text-align: center;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  pointer-events: auto;
  border: 2px solid var(--header-black);
  border-radius: 0;
  box-sizing: border-box;
  width: auto !important;          /* prevent full-width buttons */
  max-width: 100% !important;      /* stay within container */
  margin-left: auto;               /* center horizontally */
  margin-right: auto;
  white-space: nowrap;             /* avoid edge overflow on long labels */
}

.full-bleed-banner .cta-primary {
  background-color: var(--header-black);
  color: var(--header-white);
}

/* Hover disabled: keep base styles on hover */
.full-bleed-banner .cta-primary:hover {
  background-color: var(--header-black);
  color: var(--header-white);
}

.full-bleed-banner .cta-secondary {
  background-color: var(--header-white);
  color: var(--header-black);
}

/* Hover disabled: keep base styles on hover */
.full-bleed-banner .cta-secondary:hover {
  background-color: var(--header-white);
  color: var(--header-black);
}

/* Disclaimer */
.full-bleed-banner .disclaimer {
  font-size: 12px;
}

.full-bleed-banner .disclaimer a {
  color: inherit;
  text-decoration: underline;
  transition: opacity 0.3s ease;
  pointer-events: auto;
}

/* Responsive Styles */
@media (min-width: 640px) {
  .full-bleed-banner .cta-container {
    flex-direction: row;
  }
  /* Equal widths in row layout */
  .full-bleed-banner .cta-button {
    flex: 1 1 0 !important;
    width: auto !important;
    margin-left: 0;
    margin-right: 0;
  }

  /* Single CTA: fixed 300px width */
  .full-bleed-banner .cta-button:only-child {
    flex: 0 0 300px !important;
    width: 300px !important;
    max-width: 100%;
  }

  .full-bleed-banner .subheadline {
    font-size: 14px;
  }

  .full-bleed-banner .headline {
    font-size: 40px;
  }

  /* Headline Size Options - Tablet */
  .full-bleed-banner .headline.headline-small {
    font-size: 28px;
  }

  .full-bleed-banner .headline.headline-medium {
    font-size: 34px;
  }

  .full-bleed-banner .headline.headline-large {
    font-size: 40px;
  }

  .full-bleed-banner .body-copy {
    font-size: 18px;
  }

  .full-bleed-banner .cta-button {
    height: 48px;
    line-height: normal;
    font-size: 16px;
    padding: 0 16px;
  }
}

/* Mobile edge safety: add horizontal padding and cap button width */
@media (max-width: 639px) {
  .full-bleed-banner .cta-container {
    padding-left: calc(16px + var(--safe-area-left));
    padding-right: calc(16px + var(--safe-area-right));
  }
  /* Equal widths in column layout: fill padded container */
  .full-bleed-banner .cta-button {
    width: 100% !important;
    margin-left: 0;
    margin-right: 0;
  }

  /* Single CTA: fixed 300px width on mobile */
  .full-bleed-banner .cta-button:only-child {
    width: 300px !important;
    max-width: 100%;
  }
}

/* Mobile-left-bottom alignment: unify left edge for copy, disclaimer, CTAs */
@media (max-width: 639px) {
  /* Apply edge-safe padding to the whole copy block */
  .full-bleed-banner .banner-content.mobile-left-bottom .content-inner:not(.center-all) {
    padding-left: calc(16px + var(--safe-area-left)) !important;
    padding-right: calc(16px + var(--safe-area-right)) !important;
  }

  /* Remove extra inner padding on the CTA container to prevent double inset */
  .full-bleed-banner .banner-content.mobile-left-bottom .cta-container {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* Ensure CTAs remain flush with the text edge */
  .full-bleed-banner .banner-content.mobile-left-bottom .cta-button {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

/* Mobile-left-top & mobile-left-middle: unify left edge like bottom */
@media (max-width: 639px) {
  /* Apply edge-safe padding to the whole copy block */
  .full-bleed-banner .banner-content.mobile-left-top .content-inner:not(.center-all),
  .full-bleed-banner .banner-content.mobile-left-middle .content-inner:not(.center-all) {
    padding-left: calc(16px + var(--safe-area-left)) !important;
    padding-right: calc(16px + var(--safe-area-right)) !important;
  }

  /* Remove extra inner padding on the CTA container to prevent double inset */
  .full-bleed-banner .banner-content.mobile-left-top .cta-container,
  .full-bleed-banner .banner-content.mobile-left-middle .cta-container {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* Ensure CTAs remain flush with the text edge */
  .full-bleed-banner .banner-content.mobile-left-top .cta-button,
  .full-bleed-banner .banner-content.mobile-left-middle .cta-button {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

@media (min-width: 768px) {
  .full-bleed-banner .banner-content {
    padding: 3rem;
  }

  /* Desktop-left alignment: copy block sits 50px from the left margin */
  .full-bleed-banner .banner-content.desktop-align-left {
    padding-left: 50px !important;
  }

  .full-bleed-banner .banner-content.desktop-align-left .content-wrapper {
    margin-left: 0 !important;
    margin-right: auto !important;
  }
}

@media (min-width: 1024px) {
  .full-bleed-banner .banner-content {
    padding: 5rem;
  }

  .full-bleed-banner .subheadline {
    font-size: 16px;
  }

  .full-bleed-banner .headline {
    font-size: 56px;
  }

  /* Headline Size Options - Desktop */
  .full-bleed-banner .headline.headline-small {
    font-size: 36px;
  }

  .full-bleed-banner .headline.headline-medium {
    font-size: 46px;
  }

  .full-bleed-banner .headline.headline-large {
    font-size: 56px;
  }

  .full-bleed-banner .body-copy {
    font-size: 18px;
  }

  .full-bleed-banner .cta-button {
    height: 48px;
    line-height: normal;
    font-size: 16px;
    padding: 0 16px;
  }
}

/* ========================================== */
/* MOBILE POSITIONING CLASSES                 */
/* ========================================== */

/* Mobile: Left Align + Top */
.full-bleed-banner .banner-content.mobile-left-top {
  align-items: flex-start;
  justify-content: flex-start;
  padding-top: 8rem;
}

.full-bleed-banner .mobile-left-top .content-inner {
  text-align: left;
}

.full-bleed-banner .mobile-left-top .cta-container {
  justify-content: flex-start;
}

/* Mobile: Left Align + Middle */
.full-bleed-banner .banner-content.mobile-left-middle {
  align-items: flex-start;
  justify-content: center;
}

.full-bleed-banner .mobile-left-middle .content-inner {
  text-align: left;
}

.full-bleed-banner .mobile-left-middle .cta-container {
  justify-content: flex-start;
}

/* Mobile: Left Align + Bottom */
.full-bleed-banner .banner-content.mobile-left-bottom {
  align-items: flex-start;
  justify-content: flex-end;
  padding-bottom: calc(18px + var(--safe-area-bottom)) !important;
}

.full-bleed-banner .mobile-left-bottom .content-inner {
  text-align: left;
}

.full-bleed-banner .mobile-left-bottom .cta-container {
  justify-content: flex-start;
}

/* Mobile: Center Align + Top */
.full-bleed-banner .banner-content.mobile-center-top {
  align-items: center;
  justify-content: flex-start;
  padding-top: 6rem;
}

.full-bleed-banner .mobile-center-top .content-inner {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.full-bleed-banner .mobile-center-top .cta-container {
  justify-content: center;
}

/* Mobile: Center Align + Middle */
.full-bleed-banner .banner-content.mobile-center-middle {
  align-items: center;
  justify-content: center;
}

.full-bleed-banner .mobile-center-middle .content-inner {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.full-bleed-banner .mobile-center-middle .cta-container {
  justify-content: center;
}

/* Mobile: Center Align + Bottom */
.full-bleed-banner .banner-content.mobile-center-bottom {
  align-items: center;
  justify-content: flex-end;
  padding-bottom: calc(20px + var(--safe-area-bottom)) !important;
}

.full-bleed-banner .mobile-center-bottom .content-inner {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.full-bleed-banner .mobile-center-bottom .cta-container {
  justify-content: center;
}

/* ========================================== */
/* TABLET POSITIONING CLASSES                 */
/* ========================================== */
@media (min-width: 640px) and (max-width: 1023px) {
  /* Tablet: Left Align + Top */
  .full-bleed-banner .banner-content.tablet-left-top {
    align-items: flex-start !important;
    justify-content: flex-start !important;
    padding-top: 10rem !important;
    padding-bottom: 2rem !important;
  }

  .full-bleed-banner .tablet-left-top .content-inner {
    text-align: left;
    margin-left: 0 !important;
    padding-left: 20px;
  }

  .full-bleed-banner .tablet-left-top .content-wrapper {
    margin-left: 0 !important;
    margin-right: auto !important;
  }

  .full-bleed-banner .tablet-left-top .cta-container {
    justify-content: flex-start;
  }

  /* Tablet: Left Align + Middle */
  .full-bleed-banner .banner-content.tablet-left-middle {
    align-items: flex-start !important;
    justify-content: center !important;
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }

  .full-bleed-banner .tablet-left-middle .content-inner {
    text-align: left;
    margin-left: 0 !important;
    padding-left: 20px;
  }

  .full-bleed-banner .tablet-left-middle .content-wrapper {
    margin-left: 0 !important;
    margin-right: auto !important;
  }

  .full-bleed-banner .tablet-left-middle .cta-container {
    justify-content: flex-start;
  }

  /* Tablet: Left Align + Bottom */
  .full-bleed-banner .banner-content.tablet-left-bottom {
    align-items: flex-start !important;
    justify-content: flex-end !important;
    padding-top: 2rem !important;
    padding-bottom: calc(50px + var(--safe-area-bottom)) !important;
  }

  .full-bleed-banner .tablet-left-bottom .content-inner {
    text-align: left;
    margin-left: 0 !important;
    padding-left: 20px;
  }

  .full-bleed-banner .tablet-left-bottom .content-wrapper {
    margin-left: 0 !important;
    margin-right: auto !important;
  }

  .full-bleed-banner .tablet-left-bottom .cta-container {
    justify-content: flex-start;
  }

  /* Tablet: Center Align + Top */
  .full-bleed-banner .banner-content.tablet-center-top {
    align-items: center !important;
    justify-content: flex-start !important;
    padding-top: 8rem !important;
    padding-bottom: 2rem !important;
  }

  .full-bleed-banner .tablet-center-top .content-inner {
    text-align: center;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .full-bleed-banner .tablet-center-top .cta-container {
    justify-content: center;
  }

  /* Tablet: Center Align + Middle */
  .full-bleed-banner .banner-content.tablet-center-middle {
    align-items: center !important;
    justify-content: center !important;
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }

  .full-bleed-banner .tablet-center-middle .content-inner {
    text-align: center;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .full-bleed-banner .tablet-center-middle .cta-container {
    justify-content: center;
  }

  /* Tablet: Center Align + Bottom */
  .full-bleed-banner .banner-content.tablet-center-bottom {
    align-items: center !important;
    justify-content: flex-end !important;
    padding-top: 2rem !important;
    padding-bottom: calc(50px + var(--safe-area-bottom)) !important;
  }

  .full-bleed-banner .tablet-center-bottom .content-inner {
    text-align: center;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .full-bleed-banner .tablet-center-bottom .cta-container {
    justify-content: center;
  }
}

/* ========================================== */
/* DESKTOP POSITIONING CLASSES                */
/* ========================================== */
@media (min-width: 1024px) {
  /* Desktop: Left Align + Top */
  .full-bleed-banner .banner-content.desktop-left-top {
    align-items: flex-start !important;
    justify-content: flex-start !important;
    padding-top: 12rem !important;
    padding-bottom: 2rem !important;
  }

  .full-bleed-banner .desktop-left-top .content-inner {
    text-align: left;
    margin-left: 0 !important;
    padding-left: 20px;
  }

  .full-bleed-banner .desktop-left-top .content-wrapper {
    margin-left: 0 !important;
    margin-right: auto !important;
  }

  .full-bleed-banner .desktop-left-top .cta-container {
    justify-content: flex-start;
  }

  /* Desktop: Left Align + Middle */
  .full-bleed-banner .banner-content.desktop-left-middle {
    align-items: flex-start !important;
    justify-content: center !important;
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }

  .full-bleed-banner .desktop-left-middle .content-inner {
    text-align: left;
    margin-left: 0 !important;
    padding-left: 20px;
  }

  .full-bleed-banner .desktop-left-middle .content-wrapper {
    margin-left: 0 !important;
    margin-right: auto !important;
  }

  .full-bleed-banner .desktop-left-middle .cta-container {
    justify-content: flex-start;
  }

  /* Desktop: Left Align + Bottom */
  .full-bleed-banner .banner-content.desktop-left-bottom {
    align-items: flex-start !important;
    justify-content: flex-end !important;
    padding-top: 2rem !important;
    padding-bottom: calc(75px + var(--safe-area-bottom)) !important;
  }

  .full-bleed-banner .desktop-left-bottom .content-inner {
    text-align: left;
    margin-left: 0 !important;
    padding-left: 20px;
  }

  .full-bleed-banner .desktop-left-bottom .content-wrapper {
    margin-left: 0 !important;
    margin-right: auto !important;
  }

  .full-bleed-banner .desktop-left-bottom .cta-container {
    justify-content: flex-start;
  }

  /* Desktop: Center Align + Top */
  .full-bleed-banner .banner-content.desktop-center-top {
    align-items: center !important;
    justify-content: flex-start !important;
    padding-top: 10rem !important;
    padding-bottom: 2rem !important;
  }

  .full-bleed-banner .desktop-center-top .content-inner {
    text-align: center;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .full-bleed-banner .desktop-center-top .cta-container {
    justify-content: center;
  }

  /* Desktop: Center Align + Middle */
  .full-bleed-banner .banner-content.desktop-center-middle {
    align-items: center !important;
    justify-content: center !important;
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }

  .full-bleed-banner .desktop-center-middle .content-inner {
    text-align: center;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .full-bleed-banner .desktop-center-middle .cta-container {
    justify-content: center;
  }

  /* Desktop: Center Align + Bottom */
  .full-bleed-banner .banner-content.desktop-center-bottom {
    align-items: center !important;
    justify-content: flex-end !important;
    padding-top: 2rem !important;
    padding-bottom: calc(75px + var(--safe-area-bottom)) !important;
  }

  .full-bleed-banner .desktop-center-bottom .content-inner {
    text-align: center;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .full-bleed-banner .desktop-center-bottom .cta-container {
    justify-content: center;
  }
}

/* ========================================== */
/* CENTER-ALL OVERRIDE (All Devices)          */
/* ========================================== */
/* Prefer applying to content-inner; also support banner-content */
.full-bleed-banner .content-inner.center-all,
.full-bleed-banner .banner-content.center-all .content-inner {
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
}

/* Ensure CTAs are centered regardless of other classes */
.full-bleed-banner .content-inner.center-all .cta-container,
.full-bleed-banner .banner-content.center-all .cta-container,
.full-bleed-banner .banner-content:has(.center-all) .cta-container {
  justify-content: center !important;
}

/* Ensure the countdown is centered regardless of other classes */
.full-bleed-banner .content-inner.center-all .countdown-container,
.full-bleed-banner .banner-content.center-all .countdown-container,
.full-bleed-banner .banner-content:has(.center-all) .countdown-container {
  justify-content: center !important;
}

/* Force container centering and neutralize positional paddings */
.full-bleed-banner .banner-content.center-all,
.full-bleed-banner .banner-content:has(.center-all) {
  align-items: center !important;
  justify-content: center !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Reset wrapper margins to avoid left-biased layouts */
.full-bleed-banner .banner-content.center-all .content-wrapper,
.full-bleed-banner .banner-content:has(.center-all) .content-wrapper {
  margin-left: auto !important;
  margin-right: auto !important;
}

/* ========================================== */
/* PROMO BANNER OFFSET FOR TOP POSITIONING    */
/* ========================================== */
/* When the pencil/promo banner is visible the full-bleed-banner is pulled
   up by --promo-banner-height (negative margin-top). Top-positioned copy
   must compensate so it clears the combined promo + nav height. */

body.has-promo-banner .full-bleed-banner .banner-content.mobile-left-top {
  padding-top: calc(8rem + var(--promo-banner-height, 0px)) !important;
}

body.has-promo-banner .full-bleed-banner .banner-content.mobile-center-top {
  padding-top: calc(6rem + var(--promo-banner-height, 0px)) !important;
}

@media (min-width: 640px) and (max-width: 1023px) {
  body.has-promo-banner .full-bleed-banner .banner-content.tablet-left-top {
    padding-top: calc(10rem + var(--promo-banner-height, 0px)) !important;
  }

  body.has-promo-banner .full-bleed-banner .banner-content.tablet-center-top {
    padding-top: calc(8rem + var(--promo-banner-height, 0px)) !important;
  }
}

/* ==================== SmartEdit-safe overrides ==================== */
/* 1) Layout resets */
html.rf-smartedit body { padding-top: 0 !important; }
html.rf-smartedit .full-bleed-banner { margin-top: 0 !important; }

/* 2) Header positioning (disable forced fixed) */
html.rf-smartedit :is(
  body > header,
  body > .site-header,
  header.site-header,
  .yCmsContentSlot.header-primarynav-component,
  .site-top-nav,
  .top-navigation,
  .top-nav,
  #top-nav
) {
  position: static !important;
  top: 0 !important;
  left: auto !important;
  right: auto !important;
  width: 100% !important;
  z-index: 10 !important;
}

/* 3) Promo-banner header offsets (neutralize) */
html.rf-smartedit body.has-promo-banner :is(
  > header,
  > .site-header,
  header.site-header,
  .yCmsContentSlot.header-primarynav-component,
  .site-top-nav,
  .top-navigation,
  .top-nav,
  #top-nav
),
html.rf-smartedit body.has-promo-banner.scrolled :is(
  > header,
  > .site-header,
  header.site-header,
  .yCmsContentSlot.header-primarynav-component,
  .site-top-nav,
  .top-navigation,
  .top-nav,
  #top-nav
) { top: 0 !important; }

/* 4) Layering (z-index) */
/* Banner itself under everything while editing */
html.rf-smartedit .full-bleed-banner .banner-media { z-index: 0 !important; }
html.rf-smartedit .full-bleed-banner .banner-content { z-index: 1 !important; }
/* Promo banner and menus modestly layered */
html.rf-smartedit .promo-banner-component.rf__promo-banner-component,
html.rf-smartedit article.promo-banner-component.rf__promo-banner-component { position: relative !important; z-index: 20 !important; }
html.rf-smartedit .menu-navigation.is-menu-active { position: relative !important; z-index: 30 !important; }
/* Auth and overlays */
html.rf-smartedit .gigya-signin-modal,
html.rf-smartedit .gigya-screen-dialog,
html.rf-smartedit [id*="gigya"],
html.rf-smartedit .gigya-composite-control-overlay { z-index: 40 !important; }
/* Ensure top-nav menus overlay banner content/media */
html.rf-smartedit :is(.site-top-nav, .top-navigation, .top-nav, #top-nav) { position: relative !important; z-index: 100 !important; }
html.rf-smartedit :is(
  .site-top-nav .mega-menu,
  .top-navigation .mega-menu,
  .top-nav .mega-menu,
  #top-nav .mega-menu,
  .site-top-nav .submenu,
  .top-navigation .submenu,
  .top-nav .submenu,
  #top-nav .submenu,
  .site-top-nav .dropdown-menu,
  .top-navigation .dropdown-menu,
  .top-nav .dropdown-menu,
  #top-nav .dropdown-menu
) { position: absolute !important; z-index: 101 !important; }

/* SmartEdit: ensure overlays sit above menus and promo */
html.rf-smartedit :is(
  .rf__global-search-overlay,
  .global-search-overlay,
  .rf__locale-selector-overlay,
  .locale-selector-overlay,
  .country-language-modal,
  .rf__country-selector,
  .country-selector,
  .language-selector-modal,
  .language-selector,
  .global-language-selector-modal__wrapper,
  .modal__wrapper,
  .medium_modal
) { z-index: 110 !important; }

/* 5) Top-nav typography (force black while editing) */
html.rf-smartedit .header-color-white,
html.rf-smartedit .header-color-black { color: var(--header-black) !important; }
html.rf-smartedit .header-color-white *:not(.mini-cart-flyout):not(.mini-cart-flyout *):not(.rf__mini-cart-flyout):not(.rf__mini-cart-flyout *):not(.cart-notification):not(.cart-notification *):not(.rf__global-search-overlay):not(.rf__global-search-overlay *):not(.global-search-overlay):not(.global-search-overlay *):not(.rf__locale-selector-overlay):not(.rf__locale-selector-overlay *):not(.locale-selector-overlay):not(.locale-selector-overlay *):not(.country-language-modal):not(.country-language-modal *):not(.rf__country-selector):not(.rf__country-selector *):not(.country-selector):not(.country-selector *):not(.language-selector-modal):not(.language-selector-modal *):not(.language-selector):not(.language-selector *):not(.global-language-selector-modal__wrapper):not(.global-language-selector-modal__wrapper *):not(.modal__wrapper):not(.modal__wrapper *):not(.medium_modal):not(.medium_modal *):not(#cboxOverlay):not(#cboxOverlay *):not(#colorbox):not(#colorbox *):not(.account-modal):not(.account-modal *):not(.login-modal):not(.login-modal *):not(.sign-in-modal):not(.sign-in-modal *),
html.rf-smartedit .header-color-black *:not(.mini-cart-flyout):not(.mini-cart-flyout *):not(.rf__mini-cart-flyout):not(.rf__mini-cart-flyout *):not(.cart-notification):not(.cart-notification *):not(.rf__global-search-overlay):not(.rf__global-search-overlay *):not(.global-search-overlay):not(.global-search-overlay *):not(.rf__locale-selector-overlay):not(.rf__locale-selector-overlay *):not(.locale-selector-overlay):not(.locale-selector-overlay *):not(.country-language-modal):not(.country-language-modal *):not(.rf__country-selector):not(.rf__country-selector *):not(.country-selector):not(.country-selector *):not(.language-selector-modal):not(.language-selector-modal *):not(.language-selector):not(.language-selector *):not(.global-language-selector-modal__wrapper):not(.global-language-selector-modal__wrapper *):not(.modal__wrapper):not(.modal__wrapper *):not(.medium_modal):not(.medium_modal *):not(#cboxOverlay):not(#cboxOverlay *):not(#colorbox):not(#colorbox *):not(.account-modal):not(.account-modal *):not(.login-modal):not(.login-modal *):not(.sign-in-modal):not(.sign-in-modal *) { color: var(--header-black) !important; }
html.rf-smartedit .header-color-white svg,
html.rf-smartedit .header-color-black svg { fill: var(--header-black) !important; stroke: var(--header-black) !important; }
html.rf-smartedit .header-color-white img[src*="logo"] { filter: none !important; }
html.rf-smartedit .header-color-white .search-icon.show-desktop-new,
html.rf-smartedit .header-color-black .search-icon.show-desktop-new { border-color: var(--header-black) !important; }

/* 6) Hover/scroll neutralization */
html.rf-smartedit .header-color-white:hover,
html.rf-smartedit .header-color-white.scrolled { color: var(--header-black) !important; background-color: transparent !important; }
html.rf-smartedit .header-color-white:hover::before,
html.rf-smartedit .header-color-white.scrolled::before { display: none !important; }
