.packs {
  position: relative;
  overflow: hidden;
  padding: clamp(86px, 8vw, 128px) 44px;
  background: #fffdfa;
}

.packs::before {
  content: "packs";
  position: absolute;
  right: -0.08em;
  top: 0.08em;
  font-family: var(--ff-serif);
  font-size: clamp(8rem, 18vw, 22rem);
  line-height: 0.8;
  color: rgba(23, 34, 57, 0.04);
  letter-spacing: -0.07em;
  pointer-events: none;
}

.packs .container {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
}

.packs .section-head {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: end;
  margin-bottom: 38px;
}

.packs .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #c56535;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.packs .eyebrow::before {
  content: "";
  width: 30px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
}

.packs h2 {
  margin: 0;
  color: #172239;
  font-family: var(--ff-serif);
  font-size: clamp(3rem, 6vw, 6.2rem);
  line-height: 0.9;
  letter-spacing: -0.065em;
}

.packs .section-head p {
  max-width: 620px;
  margin: 0;
  color: #6f756d;
  font-size: 1.06rem;
  line-height: 1.76;
}

.pack-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(250px, 292px);
  gap: 20px;
  overflow-x: auto;
  padding: 8px 4px 24px;
  scroll-snap-type: x proximity;
}

.pack-rail::-webkit-scrollbar {
  height: 10px;
}

.pack-rail::-webkit-scrollbar-track {
  background: #f7f1e6;
  border-radius: 999px;
}

.pack-rail::-webkit-scrollbar-thumb {
  background: #c9c0af;
  border-radius: 999px;
}

.pack-card {
  min-width: 0;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid rgba(230, 222, 206, 0.95);
  border-radius: 30px;
  background: rgba(255, 253, 250, 0.84);
  box-shadow: 0 24px 70px rgba(23, 34, 57, 0.085);
  backdrop-filter: blur(10px);
}

.pack-card__image {
  aspect-ratio: 3 / 3.5;
  overflow: hidden;
  background: #f7f1e6;
  border-bottom: 1px solid #e6dece;
}

.pack-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.pack-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px 22px 24px;
}

.pack-card__tag {
  display: inline-block;
  margin-bottom: 10px;
  color: #788766;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.pack-card h3 {
  margin: 0 0 10px;
  color: #172239;
  font-size: 1.12rem;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.pack-card p {
  margin: 0 0 20px;
  color: #6f756d;
  font-size: 0.92rem;
  line-height: 1.56;
}

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  color: #c56535;
  font-size: 0.86rem;
  font-weight: 900;
  text-decoration: none;
}

.arrow-link:hover {
  color: #a95028;
}

.arrow-link--disabled {
  color: #6f756d;
  opacity: 0.72;
}

@media (max-width: 980px) {
  .packs {
    padding: 72px 24px;
  }

  .packs .section-head {
    display: block;
  }

  .packs .section-head p {
    margin-top: 18px;
    max-width: 720px;
  }
}

@media (max-width: 620px) {
  .packs h2 {
    font-size: clamp(3rem, 14vw, 4.7rem);
  }

  .pack-rail {
    grid-auto-columns: minmax(245px, 82vw);
  }
}
