/* shop.css — Styles for /shop ("The Crate Dig")
   Shared styles (.site-header, .site-footer, :root vars) are in style.css */

/* ── Hero ── */
.shop-hero {
  background: linear-gradient(135deg, var(--wu-red) 0%, #a82a00 60%, #1a1a1a 100%);
  padding: 3.5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.shop-hero::before {
  content: '';
  position: absolute;
  right: -60px;
  top: 50%;
  transform: translateY(-50%);
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 40px solid rgba(255,255,255,0.04);
  pointer-events: none;
}
.shop-hero::after {
  content: '';
  position: absolute;
  right: 60px;
  top: 50%;
  transform: translateY(-50%);
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
  pointer-events: none;
}
.shop-hero-title {
  font-size: 2.8rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 1;
}
.shop-hero-subtitle {
  font-size: 1.05rem;
  font-weight: 400;
  color: rgba(255,255,255,0.8);
  max-width: 420px;
  margin: 0 auto;
  line-height: 1.5;
  position: relative;
  z-index: 1;
}

/* ── Carousel Sections ── */
.carousel-section {
  padding: 2rem 0 0.5rem;
}
.carousel-section:nth-child(even) {
  background: var(--bg-cream);
}
.carousel-section:nth-child(odd) {
  background: #ffffff;
}
.carousel-header {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem 1rem;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}
.carousel-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
}
.carousel-viewall {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--wu-red);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: gap 0.2s ease;
}
.carousel-viewall:hover {
  gap: 0.5rem;
  text-decoration: underline;
}
.carousel-viewall::after {
  content: '\2192';
}

/* ── Carousel Track ── */
.carousel-track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 0 2rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  scrollbar-width: thin;
  scrollbar-color: var(--border-light) transparent;
}
.carousel-track::-webkit-scrollbar {
  height: 6px;
}
.carousel-track::-webkit-scrollbar-track {
  background: transparent;
}
.carousel-track::-webkit-scrollbar-thumb {
  background: var(--border-light);
  border-radius: 3px;
}

/* ── Carousel Product Card ── */
.crate-card {
  flex: 0 0 200px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  color: var(--text-dark);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.carousel-section:nth-child(even) .crate-card {
  background: #ffffff;
}
.crate-card:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.12);
  transform: translateY(-3px) scale(1.02);
}
.crate-card-image {
  width: 100%;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: #ffffff;
}
.crate-card-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.crate-card-body {
  padding: 0.6rem 0.8rem 0.8rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.crate-card-title {
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.crate-card-cta {
  display: block;
  text-align: center;
  padding: 0.4rem 0.5rem;
  background: var(--wu-red);
  color: #ffffff;
  font-family: 'Rubik', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s ease;
}
.crate-card:hover .crate-card-cta {
  background: #a82a00;
}

/* ── Staff Pick Spotlight ── */
.spotlight {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 2rem;
}
.spotlight-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  background: linear-gradient(135deg, var(--wu-red) 0%, #a82a00 100%);
  border-radius: 12px;
  padding: 2rem;
  color: #ffffff;
}
.spotlight-badge {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 0.5rem;
}
.spotlight-image {
  flex: 0 0 180px;
  width: 180px;
  height: 180px;
  background: #ffffff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.spotlight-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.spotlight-text {
  flex: 1;
}
.spotlight-title {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
  line-height: 1.25;
}
.spotlight-desc {
  font-size: 0.88rem;
  font-weight: 400;
  color: rgba(255,255,255,0.85);
  line-height: 1.5;
  margin-bottom: 1rem;
  max-width: 400px;
}
.spotlight-cta {
  display: inline-block;
  padding: 0.55rem 1.5rem;
  background: #ffffff;
  color: var(--wu-red);
  font-family: 'Rubik', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-radius: 5px;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
.spotlight-cta:hover {
  background: #fafafa;
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

/* ── Disclosure ── */
.shop-disclosure {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 2rem 2rem;
  font-size: 0.7rem;
  color: #888888;
  text-align: center;
  line-height: 1.5;
}

/* ── Responsive ── */
@media (max-width: 700px) {
  .shop-hero {
    padding: 2.5rem 1.5rem;
  }
  .shop-hero-title {
    font-size: 2rem;
  }
  .carousel-header {
    padding: 0 1.5rem 0.75rem;
  }
  .carousel-track {
    padding: 0 1.5rem 1.5rem;
  }
  .crate-card {
    flex: 0 0 170px;
  }
  .spotlight {
    padding: 1.5rem 1.5rem;
  }
  .spotlight-inner {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
  }
  .spotlight-image {
    flex: 0 0 140px;
    width: 140px;
    height: 140px;
  }
  .spotlight-desc {
    margin-left: auto;
    margin-right: auto;
  }
}
@media (max-width: 500px) {
  .shop-hero-title {
    font-size: 1.6rem;
  }
  .crate-card {
    flex: 0 0 150px;
  }
}
