/* ================================================================
   WSU BrandShop — Homepage front
   Brand: Ochre Oxide #551516 | Accent #CB892C
   Structure nods to Phoenix e-commerce landing; photography-led.
================================================================ */

:root {
  --wsu-oxide: #551516;
  --wsu-amber: #CB892C;
  --wsu-amber-dark: #a06b1e;
  --wsu-earth: #496049; /* logo Ochre Earth green */
  --wsu-earth-soft: #7a9a7a;
  /* Use the same Phoenix body text colour as the products catalogue. */
  --wsu-ink: var(--phoenix-body-color, #31374a);
  /* Match Phoenix theme font stack */
  --wsu-home-sans: var(--phoenix-font-sans-serif, "Nunito Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);
  --wsu-nav-gap: 1.25rem; /* same as category ↔ Deals ↔ banner */
}

/* Phoenix Nunito Sans across homepage */
.wsu-home-front,
.wsu-home-front p,
.wsu-home-front a,
.wsu-home-front .btn,
.wsu-home-front .product-card,
.wsu-home-front .nav-label,
.wsu-home-front h1,
.wsu-home-front h2,
.wsu-home-front h3,
.wsu-home-front h4,
.wsu-home-front h5,
.wsu-home-front h6 {
  font-family: var(--wsu-home-sans) !important;
}

.wsu-home-front {
  color: var(--phoenix-body-color, #31374a);
}

/* Full-bleed breakout from page padding */
.wsu-home-bleed {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

/* ── Hero carousel (compact) ── */
.wsu-home-hero-carousel {
  position: relative;
  margin: 0;
}

.wsu-hero-swiper {
  position: relative;
  overflow: hidden;
}

.wsu-home-hero {
  position: relative;
  height: clamp(220px, 32vw, 360px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #2a1010;
}

.wsu-home-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  cursor: pointer;
}

.wsu-home-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .55s ease;
}

.wsu-home-hero:hover .wsu-home-hero__media img {
  transform: scale(1.03);
}

.wsu-home-hero__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(105deg, rgba(85, 21, 22, 0.90) 0%, rgba(85, 21, 22, 0.62) 40%, rgba(26, 18, 18, 0.12) 72%, transparent 100%),
    linear-gradient(0deg, rgba(26, 18, 18, 0.45) 0%, transparent 50%);
  pointer-events: none;
}

.wsu-home-hero__inner {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 52%;
  padding: clamp(1.25rem, 3vw, 2rem) clamp(1.25rem, 3vw, 2rem) clamp(1.6rem, 3.5vw, 2.25rem);
}

/* ── Logo-green circle deco + floating category chips ── */
.wsu-home-hero__deco {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.wsu-home-hero__deco .wsu-hero-graphic,
.wsu-home-hero__deco .wsu-hero-icon-wrap,
.wsu-home-hero__deco .wsu-hero-float {
  pointer-events: auto;
}

.wsu-home-hero__orbs {
  position: absolute;
  inset: 0;
}

.wsu-home-hero__orb {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(73, 96, 73, 0.28);
  background: rgba(73, 96, 73, 0.14);
  animation: wsuOrbPulse 4.8s ease-in-out infinite;
}

.wsu-home-hero__orb--lg {
  width: clamp(180px, 26vw, 280px);
  height: clamp(180px, 26vw, 280px);
  top: 50%;
  right: 6%;
  transform: translateY(-50%);
  animation-name: wsuOrbPulseLg;
  animation-delay: 0s;
}

.wsu-home-hero__orb--md {
  width: clamp(110px, 15vw, 170px);
  height: clamp(110px, 15vw, 170px);
  top: 12%;
  right: 28%;
  background: rgba(73, 96, 73, 0.1);
  animation-delay: 0.9s;
}

.wsu-home-hero__orb--sm {
  width: clamp(64px, 9vw, 96px);
  height: clamp(64px, 9vw, 96px);
  bottom: 14%;
  right: 34%;
  background: rgba(122, 154, 122, 0.16);
  animation-delay: 1.8s;
}

.wsu-home-hero .wsu-hero-graphic {
  position: absolute;
  top: 50%;
  right: clamp(0.75rem, 4vw, 2.5rem);
  transform: translateY(-50%);
  width: clamp(180px, 24vw, 250px);
  height: clamp(180px, 24vw, 250px);
  margin: 0;
}

.wsu-home-hero .wsu-hero-ring-1 {
  width: 92%;
  height: 92%;
  top: 4%;
  left: 4%;
  animation: wsuRingZoom 5.2s ease-in-out infinite;
}

.wsu-home-hero .wsu-hero-ring-2 {
  width: 68%;
  height: 68%;
  top: 16%;
  left: 16%;
  animation: wsuRingZoom 5.2s ease-in-out infinite reverse;
}

.wsu-home-hero .wsu-hero-icon-wrap {
  width: clamp(68px, 9vw, 96px);
  height: clamp(68px, 9vw, 96px);
  font-size: clamp(1.6rem, 2.4vw, 2.35rem);
  animation: wsuIconZoom 3.6s ease-in-out infinite;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.wsu-home-hero .wsu-hero-icon-wrap:hover,
.wsu-home-hero .wsu-hero-icon-wrap:focus-visible {
  color: inherit;
  filter: brightness(1.12);
  box-shadow: 0 .35rem 1.1rem rgba(73, 96, 73, 0.35);
  outline: none;
}

.wsu-home-hero .wsu-hero-float {
  text-decoration: none;
  color: #fff;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

.wsu-home-hero .wsu-hero-float:hover,
.wsu-home-hero .wsu-hero-float:focus-visible {
  color: #fff;
  background: rgba(73, 96, 73, 0.55);
  border-color: rgba(168, 212, 168, 0.65);
  outline: none;
}

/* Logo earth green theme */
.wsu-home-hero .wsu-graphic-earth .wsu-hero-ring {
  border-color: rgba(168, 212, 168, 0.32);
}

.wsu-home-hero .wsu-graphic-earth .wsu-hero-ring-2 {
  background: rgba(73, 96, 73, 0.16);
  border-color: rgba(168, 212, 168, 0.24);
}

.wsu-home-hero .wsu-graphic-earth .wsu-hero-icon-wrap {
  background: rgba(73, 96, 73, 0.32);
  border-color: rgba(168, 212, 168, 0.45);
  color: #c8e6c8;
}

.wsu-home-hero .wsu-graphic-earth .wsu-hero-float {
  background: rgba(26, 36, 26, 0.42);
  border-color: rgba(168, 212, 168, 0.35);
  backdrop-filter: blur(8px);
  animation: wsuFloatZoom 3.2s ease-in-out infinite;
}

.wsu-home-hero .wsu-graphic-earth .wsu-hero-float i {
  color: #a8d4a8;
}

.wsu-home-hero .wsu-float-1 { top: 4%; right: -2%; animation-delay: 0s; }
.wsu-home-hero .wsu-float-2 { bottom: 10%; left: -6%; animation-delay: 1s; }
.wsu-home-hero .wsu-float-3 { bottom: 38%; right: -8%; animation-delay: 2s; }

@keyframes wsuOrbPulse {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50% { opacity: 0.9; transform: scale(1.07); }
}

@keyframes wsuOrbPulseLg {
  0%, 100% { opacity: 0.55; transform: translateY(-50%) scale(1); }
  50% { opacity: 0.9; transform: translateY(-50%) scale(1.07); }
}

@keyframes wsuRingZoom {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  50% { transform: scale(1.08); opacity: 1; }
}

@keyframes wsuIconZoom {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

@keyframes wsuFloatZoom {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-7px) scale(1.07); }
}

@media (max-width: 767.98px) {
  .wsu-home-hero__inner {
    max-width: 100%;
  }

  .wsu-home-hero .wsu-hero-graphic {
    opacity: 0.55;
    right: -0.5rem;
    width: 150px;
    height: 150px;
  }

  .wsu-home-hero .wsu-hero-float {
    display: none;
  }

  .wsu-home-hero__orb--md,
  .wsu-home-hero__orb--sm {
    display: none;
  }
}

.wsu-home-hero__brand {
  font-family: var(--wsu-home-sans) !important;
  font-weight: 800;
  /* Phoenix h1 scale */
  font-size: calc(1.369140625rem + 1.4296875vw);
  line-height: 1.1;
  letter-spacing: normal;
  color: #fff;
  margin: 0 0 0.45rem;
  max-width: 16ch;
}
@media (min-width: 1200px) {
  .wsu-home-hero__brand { font-size: 2.44140625rem; }
}

.wsu-home-hero__brand span {
  display: inline;
  color: var(--wsu-amber);
  font-style: normal;
  font-weight: 700;
  margin-left: 0.2em;
}

.wsu-home-hero__lead {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 36ch;
  margin: 0 0 1rem;
  font-weight: 500;
  line-height: 1.4;
}

.wsu-home-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  background: var(--wsu-amber);
  color: #1a1212 !important;
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none !important;
  border: 0;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
  transition: transform 0.2s ease, background 0.2s ease;
}

.wsu-home-hero__cta:hover {
  background: #e0a045;
  color: #1a1212 !important;
  transform: translateY(-1px);
}

.wsu-hero-pagination {
  position: absolute !important;
  left: 50% !important;
  bottom: 0.65rem !important;
  transform: translateX(-50%);
  z-index: 5;
  width: auto !important;
}

.wsu-hero-pagination .swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.55);
  opacity: 1;
  width: 8px;
  height: 8px;
}

.wsu-hero-pagination .swiper-pagination-bullet-active {
  background: var(--wsu-amber);
  width: 22px;
  border-radius: 999px;
}

@media (max-width: 575px) {
  .wsu-home-hero {
    height: 240px;
  }
  .wsu-home-hero__brand span {
    display: block;
    margin-left: 0;
  }
}

/* ── Look tiles (photo panels, not cards) ── */
.wsu-home-looks {
  padding: 0 0 0.5rem;
}

.wsu-home-looks__grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 0.85rem;
  min-height: 280px;
}

@media (max-width: 991px) {
  .wsu-home-looks__grid {
    grid-template-columns: 1fr 1fr;
  }
  .wsu-home-looks__grid .wsu-home-look:first-child {
    grid-column: 1 / -1;
    min-height: 260px;
  }
}

@media (max-width: 575px) {
  .wsu-home-looks__grid {
    grid-template-columns: 1fr;
  }
}

.wsu-home-look {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 1rem;
  min-height: 300px;
  text-decoration: none !important;
  color: #fff !important;
  isolation: isolate;
}

.wsu-home-look img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.wsu-home-look::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 35%, rgba(26, 18, 18, 0.78) 100%);
}

.wsu-home-look__copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 1.35rem 1.4rem;
}

.wsu-home-look__copy h3 {
  font-family: var(--wsu-home-sans) !important;
  /* Phoenix h3 scale */
  font-size: calc(1.28125rem + 0.375vw);
  font-weight: 700;
  margin: 0 0 0.2rem;
  color: #fff;
}
@media (min-width: 1200px) {
  .wsu-home-look__copy h3 { font-size: 1.5625rem; }
}

.wsu-home-look__copy p {
  margin: 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 600;
}

.wsu-home-look:hover img {
  transform: scale(1.06);
}

/* ── Section heads ── */
.wsu-home-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.15rem;
}

.wsu-home-section-head h3 {
  font-family: var(--wsu-home-sans) !important;
  /* Phoenix h3 — matches template “Top Deals today” */
  font-size: calc(1.28125rem + 0.375vw);
  font-weight: 700;
  margin: 0;
  color: var(--wsu-ink);
  letter-spacing: normal;
}
@media (min-width: 1200px) {
  .wsu-home-section-head h3 { font-size: 1.5625rem; }
}

.wsu-home-section-head .wsu-home-explore {
  font-weight: 700;
  font-size: 1rem;
  color: var(--wsu-oxide) !important;
  text-decoration: none !important;
  white-space: nowrap;
}

.wsu-home-section-head .wsu-home-explore:hover {
  color: var(--wsu-amber) !important;
}

/* Soft wrap for product rails so they sit in the photo-led page */
.wsu-home-rail {
  padding-top: 0.5rem;
  margin-bottom: 2.75rem;
}

/* Product rail arrows — mid of the carousel (Phoenix default is ~25% for image-only bias) */
.wsu-home-rail .products-slider .swiper-nav [class*=swiper-button-] {
  top: 50% !important;
  margin-top: 0 !important;
  transform: translateY(-50%) !important;
}

.wsu-home-rail .product-card .product-img-link {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block;
  text-decoration: none;
}

.wsu-home-rail .product-card a.stretched-link,
.wsu-home-rail .product-card a.stretched-link:visited,
.wsu-home-rail .product-card .product-name {
  color: var(--wsu-amber, #CB892C) !important;
  text-decoration: none !important;
}

.wsu-home-rail .product-card a.stretched-link:hover,
.wsu-home-rail .product-card a.stretched-link:focus,
.wsu-home-rail .product-card:hover .product-name {
  color: var(--wsu-amber-dark, #a06b1e) !important;
}

.wsu-home-rail .product-card .product-name {
  font-family: var(--wsu-home-sans) !important;
  font-weight: 600;
  line-height: 1.2;
}

/* ── Mosaic story band ── */
.wsu-home-mosaic {
  padding: 1rem 0 2.5rem;
}

.wsu-home-mosaic__band {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 1.1fr;
  gap: 0.75rem;
  border-radius: 1.15rem;
  overflow: hidden;
}

.wsu-home-mosaic__cell {
  position: relative;
  min-height: 220px;
  overflow: hidden;
}

.wsu-home-mosaic__cell--tall {
  min-height: 320px;
}

.wsu-home-mosaic__cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 767px) {
  .wsu-home-mosaic__band {
    grid-template-columns: 1fr;
  }
  .wsu-home-mosaic__cell,
  .wsu-home-mosaic__cell--tall {
    min-height: 200px;
  }
}

.wsu-home-mosaic__caption {
  margin-top: 1rem;
  max-width: 42rem;
}

.wsu-home-mosaic__caption h3 {
  font-family: var(--wsu-home-sans) !important;
  font-size: calc(1.28125rem + 0.375vw);
  font-weight: 700;
  margin: 0 0 0.4rem;
  color: var(--wsu-ink);
}
@media (min-width: 1200px) {
  .wsu-home-mosaic__caption h3 { font-size: 1.5625rem; }
}

.wsu-home-mosaic__caption p {
  margin: 0;
  color: var(--phoenix-body-secondary-color, #525b75);
  font-size: 1rem;
  line-height: 1.5;
}

/* ── Member strip ── */
.wsu-home-member {
  position: relative;
  border-radius: 1.15rem;
  overflow: hidden;
  min-height: 280px;
  display: flex;
  align-items: center;
  margin: 1rem 0 3rem;
  background: var(--wsu-oxide);
}

.wsu-home-member__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.35;
  pointer-events: none;
}

.wsu-home-member__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.2);
  pointer-events: none;
}

.wsu-home-member__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(85, 21, 22, 0.95) 0%, rgba(85, 21, 22, 0.78) 50%, rgba(85, 21, 22, 0.55) 100%);
  pointer-events: none;
}

.wsu-home-member__inner {
  position: relative;
  z-index: 2;
  padding: clamp(2rem, 4vw, 3.25rem);
  max-width: 34rem;
}

.wsu-home-member__inner h2 {
  font-family: var(--wsu-home-sans) !important;
  /* Phoenix h2 scale */
  font-size: calc(1.3203125rem + 0.84375vw);
  font-weight: 800;
  color: #fff;
  margin: 0 0 0.65rem;
  line-height: 1.2;
}
@media (min-width: 1200px) {
  .wsu-home-member__inner h2 { font-size: 1.953125rem; }
}

.wsu-home-member__inner h2 em {
  font-style: normal;
  color: var(--wsu-amber);
  font-weight: 700;
}

.wsu-home-member__inner p {
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 1.35rem;
  font-size: 1rem;
}

.wsu-home-member__inner .btn,
.wsu-home-member__cta {
  position: relative;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-weight: 700;
  padding: 0.75rem 1.5rem;
  background: var(--wsu-amber);
  border-color: var(--wsu-amber);
  color: #1a1212;
  text-decoration: none;
  pointer-events: auto;
  cursor: pointer;
}

.wsu-home-member__inner .btn:hover,
.wsu-home-member__cta:hover {
  background: #e0a045;
  border-color: #e0a045;
  color: #1a1212;
}

/* Soft page rhythm */
.ecommerce-homepage.wsu-home-front {
  padding-top: 0;
}

/* Pull banner up tight under the Deals / category strip */
.wsu-cat-icon-wrap {
  --wsu-nav-gap: 0.65rem;
  padding-bottom: 0;
}
.wsu-home-front .wsu-home-hero-section {
  margin-top: -0.35rem;
}
.wsu-home-front .wsu-home-hero-carousel {
  margin-top: 0;
}

.wsu-home-front .wsu-home-hero-carousel + .wsu-home-looks {
  padding-top: 1rem;
}
