/* Promo hero slide: second slide of the home hero (see includes/partials/PromoHeroSlide.php).
   Layered over the hero photo; the main hero (and its H1) stays in the page underneath.
   Themes come from includes/holiday-promo.php: blackfriday, thanksgiving, christmas, bonus. */

.promo-hero-slide,
.promo-hero-controls {
  --a: #e11d2a;      /* accent */
  --d1: #070405;     /* dark base */
  --d2: #2a070b;     /* dark tint toward the right edge */
  --glow: rgba(225, 29, 42, 0.5);
}
.theme-thanksgiving { --a: #f2a24a; --d1: #1c0f05; --d2: #4a2608; --glow: rgba(242, 162, 74, 0.45); }
.theme-christmas    { --a: #ef4444; --d1: #06180f; --d2: #1c3d28; --glow: rgba(239, 68, 68, 0.42); }
.theme-bonus        { --a: #6fb2ff; --d1: #07121e; --d2: #12355c; --glow: rgba(111, 178, 255, 0.42); }

/* ── Layer: sits over the hero (not over the info strip), fades in and out ── */
.si-HeroSection.hero-section > .promo-hero-slide.promo-hero-slide {
  position: absolute;
  inset: 0 0 161px 0;
  z-index: 5;
}
.si-HeroSection.m-hero > .promo-hero-slide.promo-hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--phs-top-h, 820px);
  z-index: 6;
}
.promo-hero-slide {
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  color: #fff;
  transition: opacity 0.7s ease, visibility 0s linear 0.7s;
  font-family: 'Plus Jakarta Sans', 'Roboto', sans-serif;
}
.is-promo-active > .promo-hero-slide {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.7s ease, visibility 0s;
}

/* The gradient is an overlay on the hero photo. */
.phs-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 76% 46%, var(--glow) 0%, rgba(0, 0, 0, 0) 52%),
    linear-gradient(100deg, var(--d1) 0%, color-mix(in srgb, var(--d1) 90%, transparent) 46%, color-mix(in srgb, var(--d2) 82%, transparent) 100%),
    url('/Hero%20bottom%20layer.webp') center / cover no-repeat;
}

.phs-reticle {
  position: absolute;
  color: var(--a);
  opacity: 0.3;
  pointer-events: none;
}
.phs-reticle-a { width: 380px; left: 47%; top: -70px; }
.phs-reticle-b { width: 320px; right: -60px; bottom: -110px; }

/* Caution tape (Black Friday / Cyber Monday) */
.phs-tape {
  position: absolute;
  top: 40px;
  right: -150px;
  width: 860px;
  height: 52px;
  transform: rotate(13deg);
  background: #f6c20a;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  z-index: 3;
}
.phs-tape::before,
.phs-tape::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 7px;
  background: repeating-linear-gradient(135deg, #111 0 8px, transparent 8px 16px);
}
.phs-tape::before { top: 0; }
.phs-tape::after { bottom: 0; }
.phs-tape span {
  display: block;
  line-height: 52px;
  white-space: nowrap;
  font-weight: 800;
  font-style: italic;
  font-size: 28px;
  letter-spacing: 0.02em;
  color: #111;
}

.phs-confetti { position: absolute; width: 22px; height: 10px; background: var(--a); transform: rotate(35deg); opacity: 0.9; z-index: 2; }
.phs-c1 { left: 51%; top: 14%; }
.phs-c2 { left: 57%; top: 62%; width: 16px; height: 8px; background: #fff; transform: rotate(-30deg); opacity: 0.8; }
.phs-c3 { right: 22%; top: 12%; width: 14px; height: 7px; background: #fff; transform: rotate(60deg); opacity: 0.7; }
.phs-c4 { right: 7%; top: 44%; width: 18px; height: 8px; transform: rotate(-50deg); }

/* ── Content ── */
.phs-content {
  position: relative;
  z-index: 4;
  height: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 22px 52px 56px;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  align-items: center;
  box-sizing: border-box;
}
.phs-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
}
.phs-brand {
  position: relative;
  margin: 0 0 6px;
  padding-bottom: 12px;
  font-size: 30px;
  line-height: 1;
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.phs-brand::after { content: ''; position: absolute; left: 0; bottom: 0; width: 150px; height: 5px; background: var(--a); }
.phs-brand-a { color: var(--a); }
.phs-brand-b { color: #fff; }

.phs-title {
  margin: 0;
  display: flex;
  flex-direction: column;
  font-size: clamp(56px, 7vw, 102px);
  line-height: 0.88;
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: -0.035em;
  text-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
}
.phs-title-long { font-size: clamp(44px, 5.3vw, 78px); }
.phs-l1 { color: #fff; }
.phs-l2 { color: var(--a); }

.phs-tagline {
  margin: 4px 0 2px;
  font-size: clamp(22px, 2.6vw, 38px);
  line-height: 1;
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  color: #fff;
}

.phs-pill {
  display: inline-block;
  max-width: 100%;
  background: var(--a);
  clip-path: polygon(3% 0, 100% 0, 97% 100%, 0 100%);
  padding: 10px 52px 12px 34px;
  color: #fff;
  text-decoration: none;
  font-size: clamp(20px, 2.5vw, 36px);
  line-height: 1.1;
  font-weight: 800;
  font-style: italic;
  transition: filter 0.15s ease;
}
.phs-pill:hover,
.phs-pill:focus-visible { filter: brightness(1.12); }
.theme-thanksgiving .phs-pill { color: #1c0f05; }

.phs-box {
  display: inline-grid;
  grid-template-columns: auto auto auto;
  align-items: center;
  gap: 22px;
  margin-top: 4px;
  padding: 10px 28px;
  border: 3px solid var(--a);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  text-decoration: none;
  transition: background 0.15s ease;
}
.phs-box:hover,
.phs-box:focus-visible { background: rgba(0, 0, 0, 0.75); }
.phs-box-label {
  font-size: clamp(16px, 1.9vw, 27px);
  line-height: 1;
  font-weight: 800;
  text-transform: uppercase;
  padding-right: 22px;
  border-right: 2px solid color-mix(in srgb, var(--a) 70%, transparent);
  max-width: 7.5em;
}
.phs-box-price { font-size: clamp(34px, 4.4vw, 64px); line-height: 1; font-weight: 800; color: var(--a); }
.phs-box-note { font-size: clamp(14px, 1.6vw, 23px); line-height: 1.1; font-weight: 700; font-style: italic; max-width: 6em; }

.phs-fine {
  position: absolute;
  left: 52px;
  bottom: 10px;
  z-index: 4;
  margin: 0;
  max-width: 62%;
  font-family: 'Roboto', sans-serif;
  font-size: 11px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.6);
}

/* ── Art: gift cards ── */
.phs-art { position: relative; height: 100%; min-height: 280px; min-width: 0; }
.phs-art-giftcards::before {
  content: '';
  position: absolute;
  inset: 8% 0 4% 6%;
  background: radial-gradient(circle, var(--glow) 0%, rgba(0, 0, 0, 0) 66%);
  filter: blur(8px);
}

/* ── Art: info tiles (Thanksgiving hours) ── */
.phs-art-cards { display: grid; align-content: center; gap: 16px; }
.phs-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px 28px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-left: 5px solid var(--a);
  background: rgba(0, 0, 0, 0.45);
}
.phs-info-label { font-family: 'Roboto', sans-serif; font-weight: 700; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--a); }
.phs-info-title { font-size: clamp(30px, 3.6vw, 52px); line-height: 1; font-weight: 800; font-style: italic; text-transform: uppercase; }
.phs-info-text { font-family: 'Roboto', sans-serif; font-size: 16px; color: rgba(255, 255, 255, 0.82); }

/* ── Slide controls (dots + pause) ── */
.promo-hero-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.6);
  z-index: 7;
}
.si-HeroSection.hero-section > .promo-hero-controls.promo-hero-controls {
  position: absolute;
  right: 52px;
  bottom: 174px;
  z-index: 7;
}
.si-HeroSection.m-hero > .promo-hero-controls.promo-hero-controls {
  position: absolute;
  left: 50%;
  top: calc(var(--phs-top-h, 820px) - 50px);
  transform: translateX(-50%);
  z-index: 8;
}
.phs-dot {
  width: 12px;
  height: 12px;
  padding: 0;
  border-radius: 50%;
  border: 2px solid #fff;
  background: transparent;
  cursor: pointer;
}
.phs-dot.is-on { background: #fff; }
.phs-pause {
  width: 24px;
  height: 22px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -1px;
  cursor: pointer;
}
.phs-dot:focus-visible,
.phs-pause:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  .promo-hero-slide { transition: none; }
}

/* ── Mobile (site also flags it with html.is-mobile) ── */
.phs-mobile .phs-content,
.phs-mobile.promo-hero-slide .phs-content {
  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr;
  padding: 22px 20px 70px;
  align-items: start;
  gap: 8px;
}
.phs-mobile .phs-brand { font-size: 22px; padding-bottom: 9px; }
.phs-mobile .phs-brand::after { width: 110px; height: 4px; }
.phs-mobile .phs-title { font-size: 66px; }
.phs-mobile .phs-title-long { font-size: 44px; }
.phs-mobile .phs-tagline { font-size: 26px; }
.phs-mobile .phs-pill { font-size: 22px; padding: 9px 36px 11px 24px; }
.phs-mobile .phs-box { gap: 12px; padding: 8px 16px; }
.phs-mobile .phs-box-label { font-size: 16px; padding-right: 12px; }
.phs-mobile .phs-box-price { font-size: 38px; }
.phs-mobile .phs-box-note { font-size: 14px; }
.phs-mobile .phs-art { min-height: 210px; height: 230px; }
.phs-mobile .phs-fine { left: 20px; right: 20px; max-width: none; bottom: 8px; font-size: 10px; }
.phs-mobile .phs-tape { top: 12px; right: -230px; width: 640px; height: 36px; }
.phs-mobile .phs-tape span { line-height: 36px; font-size: 19px; }
.phs-mobile .phs-tape::before, .phs-mobile .phs-tape::after { height: 5px; }
.phs-mobile .phs-reticle-a { left: 40%; top: -40px; width: 260px; }
.phs-mobile .phs-art-cards { min-height: 0; height: auto; }
.phs-mobile .phs-info { padding: 14px 18px; }
.phs-mobile .phs-info-title { font-size: 28px; }

/* Two copies of the one card, stacked and tilted opposite ways. The front card sits low-left so it
   only covers the back card's lower-left corner, never its lettering. */
.phs-giftimg { position: absolute; display: block; height: auto; max-width: none; filter: drop-shadow(0 20px 24px rgba(0, 0, 0, 0.55)); }
.phs-card-back  { right: -2%; top: 1%;  width: 62%; transform: rotate(7deg);  z-index: 1; }
.phs-card-front { left: 2%;   top: 47%; width: 60%; transform: rotate(-5deg); z-index: 2; }
.phs-mobile .phs-card-back  { width: 58%; top: 1%; right: -4%; }
.phs-mobile .phs-card-front { width: 60%; top: 34%; left: 2%; }
