/* Sales-event header decorations: dimensions and interactive controls stay native. */
body.kangoo-event-theme--black_friday {
  --kangoo-sales-accent: #ff7900;
  --kangoo-sales-glow: rgba(255, 121, 0, .28);
}

body.kangoo-event-theme--cyber_monday {
  --kangoo-sales-accent: #00d8ef;
  --kangoo-sales-glow: rgba(0, 216, 239, .3);
}

body:is(.kangoo-event-theme--black_friday, .kangoo-event-theme--cyber_monday) .site-header__inner {
  position: relative;
  isolation: isolate;
}

body:is(.kangoo-event-theme--black_friday, .kangoo-event-theme--cyber_monday) .site-header__inner > .container {
  position: relative;
  z-index: 2;
}

.kangoo-sales-header {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  overflow: hidden;
  contain: layout paint;
  pointer-events: none;
  user-select: none;
}

.kangoo-sales-header *,
.kangoo-sales-header *::before,
.kangoo-sales-header *::after {
  pointer-events: none;
}

.kangoo-sales-header::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  opacity: .35;
  background: linear-gradient(90deg, transparent, var(--kangoo-sales-accent), transparent);
}

.kangoo-sales-header svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.kangoo-sales-header__tag {
  position: absolute;
  top: 0;
  left: var(--kangoo-sales-tag-x, 50%);
  width: var(--kangoo-sales-tag-width, 88px);
  transform: translateX(-50%) rotate(-8deg);
  transform-origin: 50% 0;
  filter: drop-shadow(0 2px 5px var(--kangoo-sales-glow));
}

.kangoo-sales-header[data-safe-tag="false"] .kangoo-sales-header__tag {
  display: none;
}

.kangoo-sales-header__tag-face {
  fill: #11131a;
  stroke: var(--kangoo-sales-accent);
  stroke-width: 2.5;
}

.kangoo-sales-header__string {
  stroke: var(--kangoo-sales-accent);
  stroke-width: 2;
}

.kangoo-sales-header__tag-hole {
  fill: #11131a;
  stroke: var(--kangoo-sales-accent);
  stroke-width: 2;
}

.kangoo-sales-header__tag text {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 900;
  font-size: 18px;
  fill: #fff;
}

.kangoo-sales-header__tag .kangoo-sales-header__tag-event {
  fill: var(--kangoo-sales-accent);
  font-size: 19px;
}

.kangoo-sales-header__tag .kangoo-sales-header__tag-mobile {
  display: none;
  fill: var(--kangoo-sales-accent);
  font-size: 29px;
}

.kangoo-sales-header__particle {
  position: absolute;
  top: -30px;
  left: var(--kangoo-sales-x, 50%);
  width: var(--kangoo-sales-size, 20px);
  opacity: 0;
  color: var(--kangoo-sales-accent);
  filter: drop-shadow(0 1px 3px var(--kangoo-sales-glow));
}

.kangoo-sales-header__particle[hidden] {
  display: none;
}

.kangoo-sales-header.is-ready[data-kangoo-sales-motion="on"] .kangoo-sales-header__particle:not([hidden]) {
  animation: kangoo-sales-header-fall var(--kangoo-sales-duration, 16s) var(--kangoo-sales-delay, 0s) linear infinite;
}

.kangoo-sales-header__particle--percent text {
  fill: currentColor;
  font: 900 44px Arial, Helvetica, sans-serif;
}

.kangoo-sales-header__small-tag {
  fill: #11131a;
  stroke: currentColor;
  stroke-width: 3;
}

.kangoo-sales-header__small-hole {
  fill: currentColor;
}

.kangoo-sales-header__particle--tag text {
  fill: currentColor;
  font: 900 18px Arial, Helvetica, sans-serif;
}

.kangoo-sales-header__particle--spark path {
  fill: currentColor;
}

.kangoo-sales-header__particle--spark .kangoo-sales-header__spark-shine {
  fill: #fff;
  opacity: .7;
}

.kangoo-sales-header__particle.is-small-spark svg {
  display: none;
}

.kangoo-sales-header__particle.is-small-spark::before {
  content: "";
  display: block;
  width: 100%;
  aspect-ratio: .6;
  background: currentColor;
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

.kangoo-seasonal-effects-paused .kangoo-sales-header__particle {
  animation-play-state: paused !important;
}

@keyframes kangoo-sales-header-fall {
  0% { opacity: 0; transform: translate3d(0, 0, 0) rotate(-16deg); }
  14% { opacity: .8; }
  52% { opacity: .8; transform: translate3d(var(--kangoo-sales-drift, 16px), calc(var(--kangoo-sales-fall, 128px) * .52), 0) rotate(14deg); }
  88% { opacity: .65; }
  100% { opacity: 0; transform: translate3d(0, var(--kangoo-sales-fall, 128px), 0) rotate(var(--kangoo-sales-rotation, 32deg)); }
}

@media (max-width: 767px) {
  .kangoo-sales-header__tag {
    display: none;
    top: 1px;
    filter: drop-shadow(0 1px 3px var(--kangoo-sales-glow));
  }

  .kangoo-sales-header[data-safe-tag="true"] .kangoo-sales-header__tag {
    display: block;
  }

  .kangoo-sales-header__tag-title,
  .kangoo-sales-header__tag-event {
    display: none;
  }

  .kangoo-sales-header__tag .kangoo-sales-header__tag-mobile {
    display: block;
  }
}

@media (prefers-reduced-motion: reduce) {
  .kangoo-sales-header__particle {
    display: none !important;
    animation: none !important;
  }
}

@media (forced-colors: active) {
  .kangoo-sales-header {
    display: none;
  }
}


/* Event-only hero. Normal homepage hero styles and markup remain unchanged. */
.kp-sales-hero {
  --sale-accent: #ff850a;
  --sale-rgb: 255, 116, 0;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background: radial-gradient(ellipse at 82% 40%, rgba(var(--sale-rgb), .13), transparent 51%), #08090c;
}
.kp-sales-hero--cyber-monday { --sale-accent: #16dcff; --sale-rgb: 0, 199, 255; background-color: #030b12; }
.kp-sales-hero *, .kp-sales-hero *::before, .kp-sales-hero *::after { box-sizing: border-box; }
.kp-sales-hero__atmosphere { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.kp-sales-hero__ribbon { position: absolute; display: block; width: 136%; height: 66%; border: 1px solid rgba(var(--sale-rgb), .72); border-radius: 50%; box-shadow: 0 0 5px rgba(var(--sale-rgb), .8), 0 0 28px rgba(var(--sale-rgb), .2); transform: rotate(-17deg); }
.kp-sales-hero__ribbon--one { left: -18%; bottom: -43%; }
.kp-sales-hero__ribbon--two { width: 95%; height: 85%; top: -76%; right: -26%; opacity: .55; }
.kp-sales-hero__spark { position: absolute; width: 5px; height: 10px; border-radius: 1px; background: var(--sale-accent); transform: rotate(38deg); box-shadow: 0 0 11px rgba(var(--sale-rgb), .6); }
.kp-sales-hero__spark--one { top: 10%; left: 8%; opacity: .6; }
.kp-sales-hero__spark--two { top: 20%; right: 4%; }
.kp-sales-hero__spark--three { top: 71%; left: 48%; width: 3px; height: 7px; opacity: .6; }
.kp-sales-hero__spark--four { bottom: 11%; right: 14%; width: 3px; height: 6px; opacity: .6; }
.kp-sales-hero__spark--five { top: 54%; left: 2%; width: 3px; height: 7px; opacity: .5; }
.kp-sales-hero__sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.kp-sales-hero__wrap { width: min(100% - 96px, 1440px); margin-inline: auto; padding-bottom: 28px; }
.kp-sales-hero__main { position: relative; display: grid; grid-template-columns: minmax(0, 1.38fr) minmax(0, 1fr); align-items: center; min-height: 540px; gap: 22px; }
.kp-sales-hero__copy { position: relative; z-index: 2; padding-block: 72px 64px; }
.kp-sales-hero .kp-sales-hero__eyebrow { display: block; margin-bottom: 24px; color: var(--sale-accent); font-size: 14px; font-weight: 800; line-height: 1.5; letter-spacing: .16em; text-transform: uppercase; }
.kp-sales-hero #kp-sales-hero-title { margin: 0; color: #fff; font-size: clamp(42px, 4.4vw, 72px); font-weight: 800; line-height: 1.09; letter-spacing: -.045em; text-wrap: balance; }
.kp-sales-hero #kp-sales-hero-title > span { display: block; }
.kp-sales-hero .kp-sales-hero__description { max-width: 620px; margin: 26px 0 0; color: #c6cbd2; font-size: clamp(16px, 1.45vw, 21px); line-height: 1.65; }
.kp-sales-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.kp-sales-hero .kp-sales-hero__button { display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 58px; padding: 17px 23px; border: 2px solid #ff7900; border-radius: 11px; color: #fff; font-size: 15px; font-weight: 800; line-height: 1.25; text-decoration: none; box-shadow: none; transition: background .18s ease, border-color .18s ease, box-shadow .18s ease; }
.kp-sales-hero .kp-sales-hero__button--primary { background: linear-gradient(110deg, #ff8a00, #ff6800); }
.kp-sales-hero .kp-sales-hero__button--secondary { background: rgba(7, 10, 15, .62); }
.kp-sales-hero .kp-sales-hero__button:hover { color: #fff; border-color: #ffa33b; background: #e76400; box-shadow: 0 5px 24px rgba(255, 121, 0, .18); }
.kp-sales-hero .kp-sales-hero__button--secondary:hover { background: rgba(255, 121, 0, .13); }
.kp-sales-hero .kp-sales-hero__button:focus-visible { outline: 3px solid #fff; outline-offset: 5px; }
.kp-sales-hero__button svg { width: 20px; height: 20px; flex: 0 0 20px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.kp-sales-hero__art { position: relative; min-height: 500px; align-self: stretch; color: var(--sale-accent); pointer-events: none; user-select: none; }
.kp-sales-hero__halo { position: absolute; width: 90%; aspect-ratio: 1; right: 3%; top: 15%; background: radial-gradient(circle, rgba(var(--sale-rgb), .18), rgba(var(--sale-rgb), .05) 40%, transparent 68%); }
.kp-sales-hero__tag { position: absolute; width: min(82%, 360px); height: auto; top: 45px; right: 50px; overflow: visible; transform: rotate(-11deg); filter: drop-shadow(0 0 8px rgba(var(--sale-rgb), .4)) drop-shadow(0 12px 24px rgba(0, 0, 0, .45)); }
.kp-sales-hero__tag-edge { fill: url(#kp-sales-tag-fill); stroke: currentColor; stroke-width: 2.7; }
.kp-sales-hero__cord { fill: none; stroke: currentColor; stroke-width: 3; }
.kp-sales-hero__cord--glow { stroke-width: 13; opacity: .12; }
.kp-sales-hero__eyelet { fill: #060b0f; stroke: currentColor; stroke-width: 3; }
.kp-sales-hero__ring { fill: none; stroke: currentColor; stroke-width: 6; stroke-linecap: round; }
.kp-sales-hero__tag-shine { fill: none; stroke: #fff; stroke-width: 1; opacity: .1; }
.kp-sales-hero__tag-word { fill: #fff; font: 900 53px/1 Arial, sans-serif; text-anchor: middle; letter-spacing: -1.5px; }
.kp-sales-hero__tag-word--accent { fill: var(--sale-accent); }
.kp-sales-hero__mini { position: absolute; overflow: visible; filter: drop-shadow(0 0 8px rgba(var(--sale-rgb), .35)); }
.kp-sales-hero__mini--sale { width: 150px; top: 43px; right: -5px; transform: rotate(13deg); }
.kp-sales-hero__mini--percent { width: 108px; bottom: 41px; right: 2px; transform: rotate(12deg); }
.kp-sales-hero__mini-cord { fill: none; stroke: currentColor; stroke-width: 2; opacity: .6; }
.kp-sales-hero__mini-edge { fill: var(--sale-accent); stroke: #ffbd62; stroke-width: 1.5; }
.kp-sales-hero__mini-word { fill: #0a0d11; font: 900 32px/1 Arial, sans-serif; text-anchor: middle; }
.kp-sales-hero__percent-edge { fill: #080d13; stroke: currentColor; stroke-width: 2; }
.kp-sales-hero__mini--percent circle { fill: #03080e; stroke: currentColor; stroke-width: 2; }
.kp-sales-hero__percent-word { fill: currentColor; font: 900 56px/1 Arial, sans-serif; text-anchor: middle; }
.kp-sales-hero__loose-percent { position: absolute; top: 72px; left: 10px; font: 800 62px/1 Arial, sans-serif; transform: rotate(-15deg); opacity: .8; text-shadow: 0 0 18px rgba(var(--sale-rgb), .6); }
.kp-sales-hero--cyber-monday .kp-sales-hero__mini-edge { fill: #07141e; stroke: var(--sale-accent); stroke-width: 2; }
.kp-sales-hero--cyber-monday .kp-sales-hero__mini-word { fill: #fff; }
.kp-sales-hero--cyber-monday .kp-sales-hero__mini--sale circle { fill: #031019; stroke: var(--sale-accent); stroke-width: 1.5; }
.kp-sales-hero__promises { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid rgba(255, 255, 255, .13); border-radius: 14px; background: rgba(7, 11, 17, .78); padding: 24px 0; }
.kp-sales-hero__promise { display: flex; align-items: center; gap: 18px; min-width: 0; padding: 0 28px; }
.kp-sales-hero__promise + .kp-sales-hero__promise { border-left: 1px solid rgba(255, 255, 255, .16); }
.kp-sales-hero__promise > svg { flex: 0 0 39px; width: 39px; height: 39px; stroke: var(--sale-accent); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.kp-sales-hero .kp-sales-hero__promise p { margin: 0; color: #b6bdc8; font-size: 13px; line-height: 1.6; }
.kp-sales-hero .kp-sales-hero__promise strong { display: block; margin-bottom: 3px; color: #fff; font-size: 15px; font-weight: 750; }
.kp-sales-hero .kp-sales-hero__mobile { display: none; }
@media (min-width: 1024px) and (prefers-reduced-motion: no-preference) {
  .kp-sales-hero__tag { animation: kp-sales-tag-sway 9s ease-in-out infinite; transform-origin: 28% 0; }
  @keyframes kp-sales-tag-sway { 0%, 100% { transform: rotate(-11deg); } 50% { transform: rotate(-8deg); } }
}
@media (min-width: 768px) and (max-width: 1100px) {
  .kp-sales-hero__wrap { width: calc(100% - 48px); }
  .kp-sales-hero__main { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); min-height: 480px; gap: 0; }
  .kp-sales-hero__copy { padding-block: 55px; }
  .kp-sales-hero__art { min-height: 460px; }
  .kp-sales-hero__tag { right: 15px; top: 95px; width: 93%; }
  .kp-sales-hero__mini--sale { right: 0; top: 38px; width: 115px; }
  .kp-sales-hero__mini--percent { width: 77px; bottom: 25px; }
  .kp-sales-hero__loose-percent { top: 100px; left: 10px; font-size: 44px; }
  .kp-sales-hero__actions { gap: 10px; }
  .kp-sales-hero .kp-sales-hero__button { font-size: 13px; padding: 15px; gap: 16px; }
  .kp-sales-hero__promise { gap: 12px; padding: 0 17px; }
  .kp-sales-hero .kp-sales-hero__promise strong { font-size: 13px; }
  .kp-sales-hero .kp-sales-hero__promise p { font-size: 11px; }
}
@media (max-width: 767px) {
  .kp-sales-hero { background-image: radial-gradient(ellipse at 78% 14%, rgba(var(--sale-rgb), .16), transparent 49%); }
  .kp-sales-hero__wrap { width: calc(100% - 40px); padding-bottom: 22px; }
  .kp-sales-hero__main { display: flex; flex-direction: column; min-height: 0; gap: 0; align-items: stretch; }
  .kp-sales-hero__art { order: -1; min-height: 0; height: 152px; width: 100%; }
  .kp-sales-hero__halo { width: 230px; height: 190px; right: -35px; top: -17px; }
  .kp-sales-hero__tag { width: 146px; top: -35px; right: 22px; transform: rotate(-12deg); filter: drop-shadow(0 0 7px rgba(var(--sale-rgb), .4)); }
  .kp-sales-hero__mini--sale { width: 112px; top: 49px; left: 10px; right: auto; transform: rotate(-9deg); }
  .kp-sales-hero__mini--percent { display: none; }
  .kp-sales-hero__loose-percent { font-size: 33px; left: 42%; top: 34px; opacity: .55; }
  .kp-sales-hero__copy { padding: 2px 0 28px; }
  .kp-sales-hero .kp-sales-hero__eyebrow { margin-bottom: 13px; font-size: 10px; line-height: 1.6; letter-spacing: .13em; }
  .kp-sales-hero #kp-sales-hero-title { font-size: clamp(31px, 8.7vw, 44px); line-height: 1.08; letter-spacing: -.04em; text-wrap: pretty; }
  .kp-sales-hero .kp-sales-hero__description { max-width: 480px; margin-top: 17px; color: #c3cad2; font-size: 14px; line-height: 1.65; }
  .kp-sales-hero__actions { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 22px; }
  .kp-sales-hero .kp-sales-hero__button { width: 100%; min-height: 51px; padding: 14px 17px; border-radius: 10px; font-size: 14px; }
  .kp-sales-hero__ribbon--one { width: 230%; height: 45%; bottom: -24%; left: -83%; transform: rotate(-26deg); opacity: .7; }
  .kp-sales-hero__ribbon--two { width: 130%; height: 36%; top: -31%; right: -19%; }
  .kp-sales-hero__spark--one { top: 12px; left: 8px; }
  .kp-sales-hero__spark--two { top: 138px; right: 10px; height: 7px; width: 3px; }
  .kp-sales-hero__spark--three { top: auto; bottom: 98px; left: 47%; opacity: .2; }
  .kp-sales-hero__spark--five { display: none; }
  .kp-sales-hero__promises { border-radius: 11px; padding: 16px 0; }
  .kp-sales-hero__promise { display: block; padding: 0 7px; text-align: center; }
  .kp-sales-hero__promise > svg { width: 25px; height: 25px; margin: 0 auto 7px; }
  .kp-sales-hero .kp-sales-hero__promise p { font-size: 9px; line-height: 1.5; }
  .kp-sales-hero .kp-sales-hero__promise strong { font-size: 10px; line-height: 1.4; margin-bottom: 4px; }
  .kp-sales-hero .kp-sales-hero__desktop { display: none; }
  .kp-sales-hero .kp-sales-hero__mobile { display: inline; }
}
@media (max-width: 359px) {
  .kp-sales-hero__wrap { width: calc(100% - 32px); }
  .kp-sales-hero__art { height: 137px; }
  .kp-sales-hero__tag { width: 132px; right: 5px; }
  .kp-sales-hero__mini--sale { width: 100px; left: 0; top: 43px; }
  .kp-sales-hero #kp-sales-hero-title { font-size: 30px; }
  .kp-sales-hero .kp-sales-hero__eyebrow { font-size: 9px; }
  .kp-sales-hero .kp-sales-hero__description { font-size: 13px; }
  .kp-sales-hero .kp-sales-hero__promise strong { font-size: 9px; }
  .kp-sales-hero .kp-sales-hero__promise p { font-size: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .kp-sales-hero *, .kp-sales-hero *::before, .kp-sales-hero *::after { animation: none !important; transition: none !important; }
}
html.kangoo-a11y-reduce-motion .kp-sales-hero *,
html.kangoo-a11y-reduce-motion .kp-sales-hero *::before,
html.kangoo-a11y-reduce-motion .kp-sales-hero *::after,
html.kangoo-a11y-stop-animations .kp-sales-hero *,
html.kangoo-a11y-stop-animations .kp-sales-hero *::before,
html.kangoo-a11y-stop-animations .kp-sales-hero *::after { animation: none !important; transition: none !important; }
html.kangoo-a11y-high-contrast .kp-sales-hero { background: #000; }
html.kangoo-a11y-high-contrast .kp-sales-hero__atmosphere,
html.kangoo-a11y-high-contrast .kp-sales-hero__art { display: none; }
html.kangoo-a11y-high-contrast .kp-sales-hero__main { grid-template-columns: 1fr; }
html.kangoo-a11y-high-contrast .kp-sales-hero__copy { padding-top: 40px; }


/* Keep the event content below the fixed header despite WordPress global body padding. */
body:is(.kangoo-event-theme--black_friday, .kangoo-event-theme--cyber_monday) {
  --kangoo-sales-header-height: 76px;
  padding-top: var(--kangoo-mobile-drawer-header-bottom, var(--kangoo-sales-header-height));
}

body:is(.kangoo-event-theme--black_friday, .kangoo-event-theme--cyber_monday).kangoo-has-campaign-sale-banner {
  --kangoo-sales-header-height: 106px;
}

/* WordPress already reserves the admin bar above body; do not count it twice. */
body:is(.kangoo-event-theme--black_friday, .kangoo-event-theme--cyber_monday).admin-bar {
  padding-top: var(--kangoo-sales-header-height);
}

@media (max-width: 480px) {
  body:is(.kangoo-event-theme--black_friday, .kangoo-event-theme--cyber_monday).kangoo-has-campaign-sale-banner {
    --kangoo-sales-header-height: 104px;
  }
}

html.kangoo-seasonal-effects-paused .kp-sales-hero__tag {
  animation-play-state: paused !important;
}

/* The sales theme decorates the header and hero, not individual product prices. */
body:is(.kangoo-event-theme--black_friday, .kangoo-event-theme--cyber_monday) .product-card .kangoo-event-decor {
  display: none;
}

/* Match the normal homepage's paired mobile shopping actions. */
@media (max-width: 767px) {
  .kp-sales-hero__actions { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .kp-sales-hero .kp-sales-hero__button { min-width: 0; min-height: 48px; padding: 8px 2px; border-radius: 8px; font-size: clamp(0.68rem, 2.9vw, 0.8rem); line-height: 1.2; gap: 6px; justify-content: center; }
  .kp-sales-hero__button svg { width: 18px; height: 18px; flex-basis: 18px; margin-left: auto; }
  .kp-sales-hero__button span { flex: 1; white-space: nowrap; text-align: center; }
}
@media (max-width: 767px) and (prefers-reduced-motion: no-preference) {
  .kp-sales-hero__tag { animation: kp-sales-mobile-tag-sway 10s ease-in-out infinite; transform-origin: 28% 0; }
  @keyframes kp-sales-mobile-tag-sway { 0%, 100% { transform: rotate(-12deg); } 50% { transform: rotate(-9deg); } }
}
/* These preferences take precedence over responsive motion rules. */
html.kangoo-a11y-reduce-motion .kp-sales-hero__tag,
html.kangoo-a11y-stop-animations .kp-sales-hero__tag { animation: none !important; }

/* Preserve the one-line labels even on narrow 320px phones. */
@media (max-width: 359px) {
  .kp-sales-hero .kp-sales-hero__button { font-size: 10px; gap: 4px; }
  .kp-sales-hero__button svg { width: 16px; height: 16px; flex-basis: 16px; }
}
.site-header__sale-banner.kangoo-sales-announcement {
  background: var(--kangoo-sales-accent);
  color: #09121b;
  font-variant-numeric: tabular-nums;
}
@media (max-width: 480px) {
  .site-header__sale-banner.kangoo-sales-announcement { font-size: clamp(10px, 2.8vw, 11.5px); letter-spacing: .015em; }
}
