/* =========================================================
   WAVELAND — merchandise.css
   ========================================================= */

.merch-lead {
  margin-top: 4.0625rem;
  padding: 0 5.625rem 0 13rem;
}
.merch-lead + .wave {
  margin-top: 3.0625rem;
}

/* ---------- New arrivals ---------- */
.arrivals {
  margin-top: 7.375rem;
  padding: 4.5625rem 0;
  border: 2px solid var(--pink);
}
.arrivals__title {
  font-family: var(--font-display); /* New arrivals: Candu */
  font-weight: 400;
  font-size: 2.625rem;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-align: center;
}
.product-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 24.1875rem));
  column-gap: 2rem;
  justify-content: space-between;
  margin-top: 2.625rem;
  padding: 0 2.75rem;
}
.product img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
.product__body {
  padding: 0.625rem 1.1875rem 1.125rem;
  background: var(--card);
  text-align: center;
}
.product__name {
  font-size: 1.625rem;
  font-weight: 500;
  line-height: 2rem;
}
.product__price {
  margin-top: 0.75rem;
  font-size: 2rem;
  font-weight: 500;
  line-height: 2.5rem;
}
.product__btn {
  display: block;
  height: 2.1875rem;
  margin-top: 0.75rem;
  border-radius: 1.25rem;
  background: var(--white);
  color: #c43ac9;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 2.1875rem;
  text-transform: uppercase;
}
.product__btn:hover {
  background: #fbe3fd;
}

/* ---------- Feature-billede ---------- */
.merch-feature {
  padding: 5.8125rem 4.875rem 5.625rem 5.125rem;
}
.merch-feature__media {
  position: relative;
}
.merch-feature__media img {
  width: 100%;
  aspect-ratio: 1536 / 1024;
  object-fit: cover;
}
.merch-feature__bubble {
  position: absolute;
  top: 3.25rem;
  right: 1.1875rem;
  width: 25.25rem;
  min-height: 15.75rem;
  padding: 2.5625rem 1.25rem 1.875rem 1.8125rem;
  border-radius: 2.5625rem;
  background: linear-gradient(180deg, #f948ff 0%, #5e45bd 100%);
  font-size: 2rem;
  line-height: 2.625rem;
}
.merch-feature__btn {
  margin-top: 2.6875rem;
}

@media (max-width: 1200px) {
  .product-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
  .merch-feature__bubble {
    width: 21.25rem;
    min-height: 0;
    font-size: 1.625rem;
    line-height: 2.125rem;
  }
}

@media (max-width: 900px) {
  .merch-lead {
    margin-top: 1.25rem;
    padding: 0 1.5rem;
  }
  .merch-lead + .wave {
    margin-top: 1.75rem;
  }
  .arrivals {
    margin-top: 2.5rem;
    padding: 3rem 0;
    border-left: 0;
    border-right: 0;
  }
  .arrivals__title {
    font-size: 1.625rem;
  }
  .product-row {
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 26.25rem;
    margin: 2rem auto 0;
    padding: 0 1.5rem;
  }
  .product__name {
    font-size: 1.25rem;
  }
  .product__price {
    font-size: 1.5rem;
    margin-top: 0.25rem;
  }
  .product__btn {
    font-size: 1.125rem;
  }
  .merch-feature {
    padding: 3rem 1.5rem 3.5rem;
  }
  /* Boblen skalerer med billedets bredde (cqw = % af billedets bredde) */
  .merch-feature__media {
    container-type: inline-size;
  }
  /* Boblen skalerer med billedets bredde (cqw = % af billedets bredde) */
  .merch-feature__media {
    container-type: inline-size;
  }
  .merch-feature__bubble {
    top: 4cqw;
    right: 1.3cqw;
    width: 34cqw;
    min-height: 0;
    padding: 3cqw 2.25cqw;
    border-radius: 2.9cqw;
    font-size: max(2.4cqw, 0.5625rem); /* mindst 9px */
    line-height: 1.4;
  }
  /* Smalleste telefoner (ned til 320px) */
  @media (max-width: 380px) {
    .btn {
      font-size: 1.125rem;
      padding: 0 1rem;
    }
  }
}
