/* ============================================
   Retro Haven - Retro Naive Storefront
   White background, bold outlines, hard shadows
   ============================================ */

:root {
  --paper: #fffaf0;
  --paper-2: #fff3dd;
  --ink: #221d2b;
  --sun: #ffc23c;
  --coral: #ff6f59;
  --teal: #2ec4b6;
  --sky: #5bc8f5;
  --pink: #ff8fb1;
  --purple: #8b5cf6;
  --muted: #6f6878;
  --text: #221d2b;

  --bd: 3px solid var(--ink);
  --bd-thin: 2px solid var(--ink);
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 6px 6px 0 var(--ink);
  --shadow-sm: 4px 4px 0 var(--ink);
  --bar-h: 40px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  background: var(--paper);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  padding-top: var(--bar-h);
}

img {
  max-width: 100%;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Decorative background confetti */
.starburst {
  position: fixed;
  z-index: 0;
  width: 90px;
  height: 90px;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  opacity: 0.5;
  pointer-events: none;
}

.starburst--1 { top: 18%; left: 4%; background: var(--sun); }
.starburst--2 { top: 55%; right: 5%; background: var(--teal); border-radius: 50%; }
.starburst--3 { bottom: 10%; left: 8%; background: var(--pink); border-radius: 50% 50% 50% 0; }

main,
.header,
.footer {
  position: relative;
  z-index: 1;
}

/* Announcement bar */
.announce-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 101;
  height: var(--bar-h);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1rem;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  background: var(--coral);
  border-bottom: var(--bd);
  overflow: hidden;
  white-space: nowrap;
}

.announce-bar__sep {
  margin: 0 0.7rem;
  opacity: 0.7;
}

@media (max-width: 600px) {
  .announce-bar { font-size: 0.72rem; }
  .announce-bar__sep { margin: 0 0.45rem; }
}

/* Header / nav */
.header {
  position: sticky;
  top: var(--bar-h);
  z-index: 100;
  padding: 0.85rem 2rem;
  background: var(--paper);
  border-bottom: var(--bd);
}

.nav {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Righteous', cursive;
  font-size: 1.5rem;
  color: var(--ink);
  text-decoration: none;
}

.logo__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.6rem;
  height: 1.6rem;
  background: var(--sun);
  color: var(--ink);
  border: var(--bd-thin);
  border-radius: 50%;
  font-size: 0.9rem;
}

.nav__links {
  display: flex;
  gap: 1.75rem;
  list-style: none;
}

.nav__links a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
}

.nav__links a:hover {
  color: var(--coral);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav__action {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.05rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ink);
  background: var(--paper);
  border: var(--bd-thin);
  box-shadow: var(--shadow-sm);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.nav__action:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--ink);
}

.nav__action--primary {
  background: var(--sun);
}

.nav__cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--coral);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  border: 2px solid var(--ink);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  font-family: 'Righteous', cursive;
  font-size: 1rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  border: var(--bd);
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.btn:hover {
  transform: translate(2px, 2px);
  box-shadow: 4px 4px 0 var(--ink);
}

.btn:active {
  transform: translate(5px, 5px);
  box-shadow: 1px 1px 0 var(--ink);
}

.btn--primary {
  background: var(--sun);
}

.btn--ghost {
  background: var(--paper);
}

.btn--large {
  padding: 1.05rem 2.25rem;
  font-size: 1.15rem;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: var(--paper);
  border: var(--bd-thin);
  font-size: 0.8rem;
  font-weight: 700;
}

/* Section header */
.section-header {
  max-width: 760px;
  margin: 0 auto 2.5rem;
  text-align: center;
  padding: 0 1.5rem;
}

.section-header__tag {
  display: inline-block;
  padding: 0.35rem 1rem;
  margin-bottom: 1rem;
  background: var(--teal);
  color: var(--ink);
  border: var(--bd-thin);
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.8rem;
  box-shadow: var(--shadow-sm);
}

.section-header h2 {
  font-family: 'Righteous', cursive;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
  margin-bottom: 0.75rem;
}

.section-header p {
  color: var(--muted);
  font-size: 1.05rem;
}

/* Hero */
.hero {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 3rem;
  padding: 4.5rem 2rem 3.5rem;
}

.hero__eyebrow {
  display: inline-block;
  font-weight: 700;
  color: var(--coral);
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}

.hero__title {
  font-family: 'Righteous', cursive;
  font-size: clamp(2.8rem, 6vw, 4.75rem);
  line-height: 0.98;
  margin-bottom: 1.75rem;
}

.hero__title--accent {
  display: inline-block;
  background: var(--sun);
  border: var(--bd);
  border-radius: 14px;
  padding: 0 0.4rem;
  transform: rotate(-2deg);
  box-shadow: var(--shadow-sm);
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.hero__visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__visual picture {
  display: block;
  width: 100%;
  max-width: 440px;
}

.hero__visual img {
  display: block;
  width: 100%;
  height: auto;
  border: var(--bd);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transform: rotate(2deg);
  background: var(--paper);
}

@media (min-width: 901px) {
  .hero__visual picture {
    max-width: 520px;
  }
}

/* Press marquee */
.press {
  border-top: var(--bd);
  border-bottom: var(--bd);
  background: var(--paper-2);
  padding: 2rem 0;
}

.press__label {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 1.1rem;
}

.press__marquee {
  max-width: 1100px;
  margin: 0 auto;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.press__track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: press-scroll 22s linear infinite;
}

.press__group {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding-right: 2.5rem;
  flex: 0 0 auto;
}

.press__logo {
  width: auto;
  height: 26px;
  opacity: 0.8;
  flex: 0 0 auto;
}

.press__logo--gq { height: 42px; }
.press__logo--vogue { height: 22px; }

.press__dot {
  color: var(--coral);
  font-size: 1rem;
}

@keyframes press-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .press__track {
    animation: none;
    justify-content: center;
    width: 100%;
  }
}

/* Catalog grid */
.catalog {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4.5rem 2rem;
}

.catalog__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: var(--bd);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

a.product-card:hover {
  transform: translate(3px, 3px);
  box-shadow: 3px 3px 0 var(--ink);
}

.product-card__media {
  position: relative;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: var(--bd);
  background: #e8e8e8;
  overflow: hidden;
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card__media img.product-card__hover {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.product-card:hover .product-card__media img.product-card__hover,
.product-card:focus-visible .product-card__media img.product-card__hover {
  opacity: 1;
}

.carousel__viewport {
  aspect-ratio: 1 / 1;
  position: relative;
}

.carousel__image--hover {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.carousel__viewport:hover .carousel__image--hover,
.carousel__viewport:focus-within .carousel__image--hover {
  opacity: 1;
}

.pdp__swatch {
  position: relative;
}

.pdp__swatch img.pdp__swatch-hover {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.pdp__swatch:hover img.pdp__swatch-hover,
.pdp__swatch:focus-visible img.pdp__swatch-hover {
  opacity: 1;
}

.product-card__media--a { background: #ffe2c2; }
.product-card__media--b { background: #cdeede; }
.product-card__media--c { background: #d9e3ff; }
.product-card__media--d { background: #ffd9e6; }

.product-card__emoji {
  font-size: 4.5rem;
}

.product-card__tag {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  background: var(--coral);
  color: #fff;
  border: var(--bd-thin);
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
  font-size: 0.72rem;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
  z-index: 2;
}

.product-card__badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  z-index: 2;
  background: var(--coral);
  color: #fff;
  border: var(--bd-thin);
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  box-shadow: var(--shadow-sm);
  pointer-events: none;
}

.product-card__tag--soon { background: var(--purple); }

.product-card__body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.product-card__name {
  font-family: 'Righteous', cursive;
  font-size: 1.3rem;
}

.product-card__price {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  font-weight: 700;
  color: var(--muted);
}

.product-card__now {
  font-family: 'Righteous', cursive;
  font-size: 1.4rem;
  color: var(--ink);
}

.product-card__was {
  text-decoration: line-through;
  color: var(--muted);
  font-size: 0.95rem;
}

.product-card__cta {
  margin-top: auto;
  align-self: flex-start;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  background: var(--sun);
  border: var(--bd-thin);
  box-shadow: var(--shadow-sm);
  font-weight: 700;
  font-size: 0.9rem;
}

.product-card__cta--ghost {
  background: var(--paper);
  color: var(--muted);
}

.product-card--soon {
  opacity: 0.96;
}

/* Vibe / About */
.vibe {
  background: var(--paper-2);
  border-top: var(--bd);
  border-bottom: var(--bd);
  padding: 4.5rem 2rem;
}

.vibe__inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.vibe__text h2 {
  font-family: 'Righteous', cursive;
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin: 0.75rem 0 1.25rem;
}

.vibe__text p {
  color: var(--muted);
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

/* Reviews */
.reviews {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4.5rem 2rem;
}

.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.review-card {
  background: var(--paper);
  border: var(--bd);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.75rem;
}

.review-card:nth-child(2) { transform: rotate(-1.5deg); }
.review-card:nth-child(3) { transform: rotate(1.5deg); }

.review-card__stars {
  color: var(--sun);
  -webkit-text-stroke: 1px var(--ink);
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  letter-spacing: 0.1em;
}

.review-card p {
  margin-bottom: 1rem;
}

.review-card cite {
  font-style: normal;
  font-weight: 700;
  color: var(--muted);
}

/* Featured / CTA buy */
.cta {
  max-width: 1000px;
  margin: 0 auto 4.5rem;
  padding: 0 2rem;
}

.cta__inner {
  text-align: center;
  padding: 3rem 2rem;
  background: var(--teal);
  border: var(--bd);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.cta__content h2 {
  font-family: 'Righteous', cursive;
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  margin-bottom: 0.5rem;
}

.cta__content p {
  color: var(--ink);
  margin-bottom: 1.75rem;
  font-weight: 600;
}

.cta__form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.pack-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  width: 100%;
  max-width: 640px;
  margin: 0 auto 0.5rem;
}

.pack {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
  padding: 1.1rem 0.9rem 0.9rem;
  border-radius: var(--radius-sm);
  border: var(--bd-thin);
  background: var(--paper);
  color: var(--ink);
  font-family: inherit;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.pack:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--ink);
}

.pack--active {
  background: var(--sun);
}

.pack__badge {
  position: absolute;
  top: -12px;
  right: 8px;
  background: var(--coral);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  border: 2px solid var(--ink);
}

.pack__name {
  font-weight: 700;
  font-size: 1rem;
}

.pack__price {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}

.pack__now {
  font-family: 'Righteous', cursive;
  font-size: 1.4rem;
}

.pack__was {
  text-decoration: line-through;
  color: var(--muted);
  font-size: 0.85rem;
}

.cta__note {
  font-size: 0.8rem;
  color: var(--ink);
  font-weight: 600;
}

/* Feature list (product detail) */
.product {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4.5rem 2rem;
}

.product__details--wide {
  max-width: 900px;
  margin: 0 auto;
}

.feature-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.feature-list li {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--paper);
  border: var(--bd-thin);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

.feature-list__icon {
  font-size: 1.6rem;
  flex: 0 0 auto;
}

.feature-list strong {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 1.05rem;
}

.feature-list p {
  color: var(--muted);
  font-size: 0.95rem;
}

.product__lifestyle {
  max-width: 1000px;
  margin: 0 auto 3rem;
  border: var(--bd);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.product__lifestyle img {
  display: block;
  width: 100%;
  height: auto;
}

.product__lifestyle-link {
  display: block;
}

.product__lifestyle-link img {
  transition: transform 0.4s ease;
}

.product__lifestyle-link:hover img {
  transform: scale(1.03);
}

.product__more {
  text-align: center;
  margin-top: 2.5rem;
}

/* Breadcrumb */
.breadcrumb {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 2rem 0;
  display: flex;
  gap: 0.6rem;
  align-items: center;
  font-size: 0.85rem;
  color: var(--muted);
}

.breadcrumb a {
  color: var(--coral);
  text-decoration: none;
  font-weight: 600;
}

.breadcrumb a:hover { text-decoration: underline; }

/* Product detail page */
.pdp {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.pdp__inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 3rem;
  align-items: start;
}

.pdp__gallery {
  scroll-margin-top: 7rem;
}

/* Carousel */
.carousel {
  position: relative;
  border: var(--bd);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--paper-2);
}

.carousel__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel__image--hover {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.carousel__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--ink);
  background: var(--paper);
  border: var(--bd-thin);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.carousel__arrow:hover { background: var(--sun); }
.carousel__arrow--prev { left: 0.85rem; }
.carousel__arrow--next { right: 0.85rem; }

.carousel__counter {
  position: absolute;
  bottom: 0.85rem;
  right: 0.85rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ink);
  background: var(--paper);
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  border: var(--bd-thin);
}

.carousel__thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
  gap: 0.5rem;
  margin-top: 0.85rem;
  max-height: 220px;
  overflow-y: auto;
  padding-right: 0.15rem;
}

.carousel__thumbs--poses {
  grid-template-columns: repeat(2, 72px);
  justify-content: start;
  max-height: none;
  overflow: visible;
  gap: 0.45rem;
  margin-top: 0.65rem;
}

.carousel__thumbs--poses .carousel__thumb {
  padding: 0.2rem;
  background: var(--paper);
  opacity: 0.72;
  border-radius: 8px;
}

.carousel__thumbs--poses .carousel__thumb.is-active {
  opacity: 1;
  background: var(--sun);
}

.carousel__thumb {
  padding: 0;
  border: var(--bd-thin);
  border-radius: 10px;
  overflow: hidden;
  background: none;
  cursor: pointer;
  aspect-ratio: 1 / 1;
  opacity: 0.55;
  transition: opacity 0.15s ease;
}

.carousel__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel__thumb:hover { opacity: 1; }

.carousel__thumb.is-active {
  opacity: 1;
  box-shadow: var(--shadow-sm);
}

.pdp__title {
  font-family: 'Righteous', cursive;
  font-size: clamp(2rem, 4vw, 2.6rem);
  line-height: 1.05;
  margin: 0.75rem 0 0.6rem;
}

.pdp__rating {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.pdp__stars {
  color: var(--sun);
  -webkit-text-stroke: 1px var(--ink);
  letter-spacing: 0.1em;
}

.pdp__rating-text {
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 600;
}

.pdp__desc {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.pdp__price {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.pdp__price-new {
  font-family: 'Righteous', cursive;
  font-size: 2.4rem;
}

.pdp__price-old {
  text-decoration: line-through;
  color: var(--muted);
  font-size: 1.2rem;
}

.pdp__price-save,
.pdp__price-tag {
  background: var(--coral);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  border: 2px solid var(--ink);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* Bundle & Save selector */
.bundle {
  margin: 1.4rem 0 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.bundle__heading {
  text-align: center;
  font-family: 'Righteous', cursive;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 0.2rem;
  position: relative;
}

.bundle__tier {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.1rem;
  border: var(--bd-thin);
  border-radius: 12px;
  background: var(--paper);
  cursor: pointer;
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

.bundle__tier.is-active {
  border: var(--bd);
  box-shadow: var(--shadow-sm);
  background: #fff;
}

.bundle__input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.bundle__radio {
  width: 1.25rem;
  height: 1.25rem;
  border: 2px solid var(--ink);
  border-radius: 50%;
  display: inline-block;
  position: relative;
  flex: none;
}

.bundle__tier.is-active .bundle__radio {
  background: var(--ink);
  box-shadow: inset 0 0 0 3px #fff;
}

.bundle__main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.6rem;
}

.bundle__title {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--ink);
}

.bundle__save-pill {
  background: var(--coral);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  border: 2px solid var(--ink);
}

.bundle__save-sub {
  flex-basis: 100%;
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 600;
}

.bundle__price {
  text-align: right;
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.bundle__unit {
  font-family: 'Righteous', cursive;
  font-size: 1.25rem;
  color: var(--ink);
}

.bundle__was {
  font-size: 0.8rem;
  color: var(--muted);
  text-decoration: line-through;
}

.bundle__ribbon {
  position: absolute;
  top: -0.7rem;
  right: 0.8rem;
  background: var(--ink);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 0.25rem 0.55rem;
  border-radius: 6px;
}

.bundle__pairs {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.4rem;
  padding-top: 0.7rem;
  border-top: var(--bd-thin);
}

.bundle__pair {
  display: grid;
  grid-template-columns: auto 1fr 1fr;
  align-items: center;
  gap: 0.5rem;
}

.bundle__pair-label {
  font-weight: 800;
  color: var(--muted);
  font-size: 0.85rem;
}

.bundle__select {
  padding: 0.5rem 0.6rem;
  border: var(--bd-thin);
  border-radius: 8px;
  background: var(--paper);
  font: inherit;
  font-size: 0.85rem;
  color: var(--ink);
  cursor: pointer;
}

/* Payment method badges */
.pdp__payments {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: center;
  margin-top: 0.9rem;
}

.pay-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  padding: 0 0.5rem;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 6px;
  box-sizing: border-box;
}

.pay-badge svg {
  display: block;
  width: auto;
}

.pdp__urgency {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--coral);
  margin: 0 0 0.4rem;
}

.pdp__urgency-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--coral);
  border: 1px solid var(--ink);
  animation: pdp-pulse 1.4s ease-in-out infinite;
}

@keyframes pdp-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}

@media (prefers-reduced-motion: reduce) {
  .pdp__urgency-dot { animation: none; }
}

.pdp__buy {
  align-items: stretch;
  width: 100%;
}

.pdp__buy .pdp__variant-label {
  align-self: flex-start;
  text-align: left;
  width: 100%;
}

.pdp__buy .pack-options { max-width: none; }

.pdp__buy .btn--large { width: 100%; }

.pdp__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.5rem;
}

/* Specs */
.specs {
  max-width: 900px;
  margin: 0 auto;
  padding: 4.5rem 2rem;
}

.specs__list { margin: 0; }

.specs__row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: var(--bd-thin);
}

.specs__row dt { font-weight: 700; }
.specs__row dd { margin: 0; color: var(--muted); }

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(34, 29, 43, 0.45);
}

.modal.is-open { display: flex; }

.modal__dialog {
  position: relative;
  width: 100%;
  max-width: 520px;
  max-height: 85vh;
  overflow-y: auto;
  padding: 2.5rem 2rem 2rem;
  border: var(--bd);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
  animation: modal-in 0.2s ease;
}

@keyframes modal-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.modal__close {
  position: absolute;
  top: 0.9rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--ink);
  background: var(--paper);
  border: var(--bd-thin);
  border-radius: 50%;
  cursor: pointer;
}

.modal__close:hover { background: var(--coral); color: #fff; }

.modal__title {
  font-family: 'Righteous', cursive;
  font-size: 1.7rem;
  margin-bottom: 1rem;
  padding-right: 2rem;
}

.modal__body p {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 0.9rem;
}

.modal__body a { color: var(--coral); }

/* Cart drawer */
.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 120;
  visibility: hidden;
  pointer-events: none;
}

.cart-drawer.is-open {
  visibility: visible;
  pointer-events: auto;
}

.cart-drawer__overlay {
  position: absolute;
  inset: 0;
  background: rgba(34, 29, 43, 0.45);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cart-drawer.is-open .cart-drawer__overlay { opacity: 1; }

.cart-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border-left: var(--bd);
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.cart-drawer.is-open .cart-drawer__panel { transform: translateX(0); }

.cart-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  border-bottom: var(--bd);
}

.cart-drawer__header h2 {
  font-family: 'Righteous', cursive;
  font-size: 1.4rem;
}

.cart-drawer__close {
  width: 36px;
  height: 36px;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--ink);
  background: var(--paper);
  border: var(--bd-thin);
  border-radius: 50%;
  cursor: pointer;
}

.cart-drawer__close:hover { background: var(--coral); color: #fff; }

.cart-drawer__items {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.5rem;
}

.cart-drawer__empty {
  color: var(--muted);
  text-align: center;
  padding: 2.5rem 0;
}

.cart-item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 1rem;
  align-items: start;
  padding: 1rem 0;
  border-bottom: var(--bd-thin);
}

.cart-item__img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 10px;
  border: var(--bd-thin);
}

.cart-item__info {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.cart-item__name {
  font-weight: 700;
  font-size: 0.95rem;
}

.cart-item__price {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  font-weight: 700;
}

.cart-item__price-was {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: line-through;
}

.cart-item__price-now {
  color: var(--coral);
  font-size: 0.95rem;
}

.cart-item__qty {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.25rem;
}

.cart-item__qty button {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  border: var(--bd-thin);
  background: var(--paper);
  color: var(--ink);
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
}

.cart-item__qty button:hover { background: var(--sun); }

.cart-item__remove {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 0.8rem;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
}

.cart-item__remove:hover { color: var(--coral); }

.cart-drawer__footer {
  padding: 1.5rem;
  border-top: var(--bd);
}

.cart-drawer__discounts {
  margin-bottom: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: var(--bd-thin);
}

.cart-drawer__discounts-heading {
  margin: 0 0 0.45rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.cart-drawer__discount-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink);
}

.cart-drawer__discount-row [data-cart-discount-amount] {
  color: var(--coral);
  font-weight: 800;
  white-space: nowrap;
}

.cart-drawer__subtotal {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.cart-drawer__discount {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--coral);
  margin-bottom: 0.4rem;
}

.cart-drawer__total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.cart-drawer__total { font-family: 'Righteous', cursive; }

.cart-drawer__nudge {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--coral);
  margin-bottom: 0.75rem;
}

.cart-drawer__note {
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.cart-drawer__checkout { width: 100%; }

.cart-drawer__checkout:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.cart-drawer__continue {
  display: block;
  width: 100%;
  margin-top: 0.75rem;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 0.85rem;
  cursor: pointer;
  text-decoration: underline;
}

/* Footer */
.footer {
  padding: 3rem 2rem;
  border-top: var(--bd);
  background: var(--paper-2);
}

.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.footer__brand {
  margin-bottom: 1.5rem;
  font-family: 'Righteous', cursive;
  font-size: 1.4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.footer__brand p {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--muted);
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.footer__links a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
}

.footer__links a:hover { color: var(--coral); }

.footer__copy {
  font-size: 0.85rem;
  color: var(--muted);
}

/* Variant selector (PDP) */
.pdp__variant-label {
  width: 100%;
  max-width: 340px;
  margin: 0 auto -0.5rem;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

.pdp__variant {
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
  padding: 0.85rem 2.6rem 0.85rem 1.1rem;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  background-color: var(--paper);
  border: var(--bd);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23221d2b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.1rem center;
}

.pdp__variant:focus {
  outline: none;
  box-shadow: var(--shadow);
}

.pdp__size-note {
  width: 100%;
  max-width: 340px;
  margin: -0.35rem auto 0;
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 500;
  line-height: 1.35;
}

/* Sock PDP — full colorway grid, no inner scroll */
.pdp__swatches[data-sock-picker] {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.4rem;
  overflow: visible;
  padding: 0;
}

.pdp__swatches[data-sock-picker] .pdp__swatch {
  width: 100%;
  padding: 0.15rem;
}

.pdp__swatches[data-sock-picker] .pdp__swatch img,
.pdp__swatches[data-sock-picker] .pdp__swatch-chip {
  border-radius: 8px;
}

@media (max-width: 900px) {
  .pdp__swatches[data-sock-picker] {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .pdp__swatches[data-sock-picker] {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Variant swatch picker (small image tiles in rows) */
.pdp__swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  width: 100%;
  padding: 0.2rem 0.3rem 0.4rem 0.2rem;
}

.pdp__swatch {
  flex: 0 0 auto;
  width: 58px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  padding: 0.2rem;
  background: var(--paper);
  border: var(--bd-thin);
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  font-family: inherit;
  cursor: pointer;
  transition: transform 0.1s ease, box-shadow 0.1s ease, background 0.1s ease;
}

.pdp__swatch:hover {
  transform: translate(1px, 1px);
  box-shadow: 2px 2px 0 var(--ink);
}

.pdp__swatch.is-active {
  background: var(--sun);
  border: var(--bd-thin);
  box-shadow: 3px 3px 0 var(--ink);
}

.pdp__swatch-name {
  order: -1;
  font-size: 0.52rem;
  font-weight: 700;
  line-height: 1.05;
  text-align: center;
  min-height: 2.1em;
  display: flex;
  align-items: center;
}

.pdp__swatch img,
.pdp__swatch-chip {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  border: 1px solid var(--ink);
  border-radius: 6px;
}

.product-card__media--placeholder {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--coral), var(--gold));
  min-height: 100%;
}

.product-card__all-colors {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--paper);
  text-align: center;
  padding: 1rem;
}

.pdp__gallery-extra {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 1rem;
  border: var(--bd);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--paper-2);
}

.pdp__gallery-hint {
  margin-top: 0.9rem;
  text-align: center;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--muted);
}

.cart-item__variant {
  display: block;
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 500;
}

/* Newsletter */
.newsletter {
  max-width: 1000px;
  margin: 0 auto 4.5rem;
  padding: 0 2rem;
}

.newsletter__inner {
  text-align: center;
  padding: 3rem 2rem;
  background: var(--sun);
  border: var(--bd);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.newsletter__inner h2 {
  font-family: 'Righteous', cursive;
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  margin: 0.75rem 0 0.5rem;
}

.newsletter__inner p {
  color: var(--ink);
  max-width: 540px;
  margin: 0 auto 1.75rem;
  font-weight: 600;
}

.newsletter__form {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0.6rem;
  max-width: 520px;
  margin: 0 auto;
}

.newsletter__input {
  flex: 1;
  min-width: 0;
  padding: 0.95rem 1.4rem;
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--paper);
  border: var(--bd);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.12s ease;
}

.newsletter__input::placeholder {
  color: var(--muted);
}

.newsletter__input:focus {
  outline: none;
  box-shadow: var(--shadow);
}

.newsletter__input[aria-invalid='true'] {
  background: #fff0ec;
}

.newsletter__form .btn {
  flex-shrink: 0;
  background: var(--coral);
  color: #fff;
}

.newsletter__honey {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.newsletter__status {
  min-height: 1.4rem;
  margin: 1rem auto 0;
  max-width: 540px;
  font-weight: 700;
}

.newsletter__status.is-success { color: var(--ink); }
.newsletter__status.is-error { color: var(--coral); }

/* Responsive */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 3rem;
  }
  .hero__actions { justify-content: center; }
  .hero__badges { justify-content: center; }
  .hero__visual { order: -1; }
  .pdp__inner { grid-template-columns: 1fr; gap: 2rem; }
  .catalog__grid { grid-template-columns: repeat(2, 1fr); }
  .reviews__grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav__links { display: none; }
  .pdp__title { font-size: 2rem; }
  .specs__row { grid-template-columns: 1fr; gap: 0.25rem; }
  .feature-list { grid-template-columns: 1fr; }
  .hero__visual picture {
    max-width: none;
  }

  .hero__visual img {
    width: auto;
    max-width: 100%;
    max-height: 320px;
  }
}

@media (max-width: 480px) {
  .hero__visual img { max-height: 250px; }
}

@media (max-width: 560px) {
  .catalog__grid { grid-template-columns: 1fr; }
  .header { padding: 0.85rem 1rem; }
  .nav__action { padding: 0.5rem 0.8rem; font-size: 0.82rem; }
  .newsletter__form { flex-direction: column; }
  .newsletter__form .btn { width: 100%; }
}
