/* Packs: vitrina, ficha, builder y teaser de inicio */

:root {
  --pack-gold: #c9a227;
  --pack-gold-deep: #a3841c;
  --pack-ink: #16181c;
  --pack-card: #ffffff;
  --pack-glow: rgba(201, 162, 39, 0.35);
}

.packs-shell {
  margin-top: -80px;
  padding-top: 80px;
  margin-bottom: -4rem;
  padding-bottom: 4.5rem;
  background:
    radial-gradient(820px 360px at 0% 0%, rgba(220, 53, 69, 0.18), transparent 62%),
    radial-gradient(680px 320px at 100% 8%, rgba(122, 26, 40, 0.22), transparent 60%),
    linear-gradient(180deg, #1c1214 0%, #241418 46%, #1c1214 100%);
  color: #fff;
}

body.navbar-scrolled .packs-shell {
  margin-top: -60px;
  padding-top: 60px;
}

.packs-hero {
  position: relative;
  background: transparent;
  color: #fff;
  padding: 1.6rem 0 2.6rem;
  overflow: hidden;
}

.packs-hero::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #1c1214 16%, #dc3545 50%, #7a1a28 78%, transparent);
}

.packs-hero__inner {
  max-width: 760px;
}

.packs-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  font-weight: 700;
  color: #ffb3bb;
  margin-bottom: 0.75rem;
}

.packs-hero__title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}

.packs-hero__lead {
  font-size: 1.05rem;
  opacity: 0.88;
  margin: 0;
}

.packs-page {
  padding-bottom: 1rem;
}

.packs-catalog-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
  margin-top: -1.35rem;
  position: relative;
  z-index: 2;
  background:
    radial-gradient(280px 80px at 0% 0%, rgba(220, 53, 69, 0.28), transparent 70%),
    rgba(28, 18, 20, 0.82);
  border: 1px solid rgba(220, 53, 69, 0.35);
  border-radius: 18px;
  padding: 0.7rem;
  box-shadow: 0 16px 36px rgba(28, 18, 20, 0.28);
}

.packs-catalog-nav__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 48px;
  min-width: 0;
  padding: 0.55rem 0.45rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: transparent;
  color: #fff;
  font-weight: 800;
  font-size: clamp(0.82rem, 2.5vw, 0.98rem);
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
}

.packs-catalog-nav__link i {
  color: inherit;
  font-size: 1rem;
  flex-shrink: 0;
}

.packs-catalog-nav__link--offer {
  border-color: rgba(242, 93, 108, 0.7);
  color: #ffd0d6;
  background: rgba(220, 53, 69, 0.12);
}

.packs-catalog-nav__link.is-current {
  background: linear-gradient(135deg, #dc3545 0%, #7a1a28 100%);
  border-color: transparent;
  color: #fff;
}

.packs-catalog-nav__link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

.packs-catalog-nav__link--offer:hover {
  color: #fff;
  background: rgba(220, 53, 69, 0.28);
}

.packs-catalog-nav__link.is-current:hover {
  background: linear-gradient(135deg, #e04555 0%, #8f1d2c 100%);
  color: #fff;
}

.packs-catalog-nav__link:focus-visible {
  outline: 3px solid #16181c;
  outline-offset: 2px;
}

.packs-block {
  margin-top: 1.75rem;
  background: transparent;
  border-radius: 24px;
  padding: 1.15rem 0 0.4rem;
  box-shadow: none;
  color: #fff;
}

.packs-block--diy {
  margin-top: 2.2rem;
  padding: 1.4rem 1.15rem 1.35rem;
  background:
    radial-gradient(480px 200px at 100% 0%, rgba(220, 53, 69, 0.42), transparent 62%),
    radial-gradient(340px 160px at 0% 100%, rgba(201, 162, 39, 0.16), transparent 64%),
    linear-gradient(155deg, #5c1822 0%, #2a1016 46%, #1c1214 100%);
  color: #fff;
  border: 1px solid rgba(220, 53, 69, 0.5);
  box-shadow:
    0 18px 36px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 214, 214, 0.14);
}

.packs-block__kicker {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  font-weight: 800;
  color: #ffb3bb;
  margin: 0 0 0.3rem;
}

.packs-block--diy .packs-block__kicker {
  color: #e8c75a;
}

.packs-block h2 {
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 0.35rem;
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.packs-block__lead {
  color: rgba(255, 255, 255, 0.78);
  margin: 0 0 1.2rem;
  max-width: 65ch;
}

.packs-block--diy h2 {
  color: #fff;
}

.packs-block--diy .packs-block__lead {
  color: rgba(255, 255, 255, 0.78);
}

.packs-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.packs-page .packs-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 360px));
  justify-content: center;
  gap: 1rem;
}

.pack-card {
  background: var(--pack-card);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(22, 24, 28, 0.08);
  display: flex;
  flex-direction: column;
  transform: translateY(12px);
  opacity: 0;
  animation: packCardIn 0.55s ease forwards;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.packs-grid .pack-card:nth-child(2) { animation-delay: 0.08s; }
.packs-grid .pack-card:nth-child(3) { animation-delay: 0.16s; }
.packs-grid .pack-card:nth-child(4) { animation-delay: 0.24s; }

.pack-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(22, 24, 28, 0.14);
}

.pack-card--diy,
.pack-card--ready {
  border: 1px solid #1c1214;
  box-shadow: 6px 6px 0 #1c1214;
}

.pack-card--diy {
  background: #fff;
  border-color: rgba(220, 53, 69, 0.35);
  box-shadow: 6px 6px 0 #5c0e14;
}

.pack-card--ready {
  background: #fff;
}

.pack-card--diy:hover,
.pack-card--ready:hover {
  box-shadow: 8px 8px 0 #3a1820;
}

.pack-card--diy:hover {
  box-shadow: 8px 8px 0 #7a1a28;
}

.pack-card--unavailable {
  filter: grayscale(0.35);
}

.pack-card__link {
  color: inherit;
  text-decoration: none;
  display: block;
}

.pack-card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #111;
  overflow: hidden;
}

.pack-card__cover,
.pack-collage img {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  object-fit: cover;
  display: block;
}

.pack-collage {
  display: grid;
  width: 100%;
  height: 100%;
  gap: 3px;
  background: #111;
}

.pack-card__media > .pack-collage,
.pack-detail__stage > .pack-collage {
  position: absolute;
  inset: 0;
}

.pack-collage--1 { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.pack-collage--2 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr; }
.pack-collage--3 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }
.pack-collage--3 img:first-child { grid-row: 1 / span 2; }
.pack-collage--4 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }

.pack-detail__stage:has(> .pack-collage) {
  position: relative;
  aspect-ratio: 16 / 10;
}

.pack-collage--hero {
  min-height: 0;
  border-radius: 0;
  overflow: hidden;
}

.pack-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: linear-gradient(135deg, #f25d6c 0%, #7a1a28 100%);
  color: #fff;
  font-weight: 800;
  font-size: 0.78rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(122, 26, 40, 0.35);
}

.pack-card__badge--diy {
  background: linear-gradient(135deg, #e8c75a 0%, #a3841c 100%);
  color: #1c1214;
  box-shadow: 0 6px 16px rgba(163, 132, 28, 0.35);
}

.pack-card__body {
  padding: 0.75rem 0.9rem 0.15rem;
}

.pack-card__kicker {
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-size: 0.64rem;
  font-weight: 700;
  color: #ad3a4c;
  margin: 0 0 0.2rem;
}

.pack-card__title {
  color: #1c1214;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 0.3rem;
}

.pack-card__excerpt {
  color: #6f6762;
  font-size: 0.8rem;
  font-weight: 400;
  line-height: 1.4;
  margin: 0 0 0.55rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pack-card__price {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.pack-card__from {
  font-size: 0.64rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #8a817a;
}

.pack-card__was {
  text-decoration: line-through;
  color: #a39890;
  font-size: 0.78rem;
  font-weight: 500;
}

.pack-card__now {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #7a1a28;
}

.pack-card__now--lg {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
}

.pack-card__cta {
  padding: 0.6rem 0.9rem 0.85rem;
  margin-top: auto;
}

.pack-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
  border-radius: 999px;
  border: 2px solid var(--pack-ink);
  background: var(--pack-ink);
  color: var(--white);
  font-weight: 700;
  padding: 0.65rem 1rem;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.pack-card__btn:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--white);
  transform: translateY(-1px);
}

.pack-card__btn--solid {
  background: var(--primary-color);
  border-color: var(--primary-color);
}

.pack-card__btn:disabled,
.pack-card__btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.packs-page .pack-card__btn {
  padding: 0.42rem 0.75rem;
  font-size: 0.84rem;
}

.packs-block .pack-card__btn {
  background: #1c1214;
  border-color: #1c1214;
  color: #fff;
}

.packs-block .pack-card__btn:hover {
  background: #3a1820;
  border-color: #3a1820;
  color: #fff;
}

.packs-block:not(.packs-block--diy) .packs-empty {
  background: rgba(28, 18, 20, 0.4);
  color: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.packs-block--diy .packs-empty {
  background: rgba(28, 18, 20, 0.45);
  color: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(220, 53, 69, 0.35);
}

.packs-empty {
  background: var(--white);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  color: var(--text-muted);
}

.filter-btn.filter-packs {
  border-color: rgba(201, 162, 39, 0.55);
  animation: packChipPulse 2.8s ease-in-out infinite;
}

.filter-btn.filter-packs i {
  color: var(--pack-gold-deep);
}

.filter-btn.filter-packs.active {
  background: linear-gradient(135deg, var(--pack-gold), #e8c75a);
  color: #1a1404;
  border-color: var(--pack-gold);
  animation: none;
}

.filter-btn.filter-packs.active i {
  color: #1a1404;
}

.pack-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
  font-size: 0.9rem;
  margin: 0 0 1.2rem;
  color: var(--text-muted);
}

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

.pack-detail-page .pack-breadcrumb .pack-back {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  padding: 0.5rem 1rem 0.5rem 0.75rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #5c0e14 0%, #dc3545 100%);
  color: #fff;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(92, 14, 20, 0.32);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.pack-detail-page .pack-breadcrumb .pack-back i {
  font-size: 1.05rem;
}

.pack-detail-page .pack-breadcrumb .pack-back:hover,
.pack-detail-page .pack-breadcrumb .pack-back:focus-visible {
  color: #fff;
  transform: translateX(-3px);
  box-shadow: 0 10px 22px rgba(220, 53, 69, 0.4);
  filter: brightness(1.06);
}

.pack-detail-page {
  background:
    radial-gradient(720px 280px at 0% 0%, rgba(220, 53, 69, 0.16), transparent 62%),
    radial-gradient(540px 240px at 100% 8%, rgba(122, 26, 40, 0.12), transparent 58%),
    linear-gradient(180deg, #fff6f7 0%, #fff 32%, #f7eef0 100%);
  padding: 0.85rem 0 2rem;
  margin-bottom: -4rem;
}

.pack-detail {
  padding-bottom: 1.5rem;
}

.pack-detail .pack-breadcrumb a:not(.pack-back) {
  color: #7a1a28;
}

.pack-detail .pack-detail__stage {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(122, 26, 40, 0.16);
}

.pack-detail .pack-detail__kicker {
  color: #ad3a4c;
}

.pack-detail .pack-card__was {
  font-size: 0.95rem;
}

.pack-detail .pack-card__now {
  display: inline-block;
  background: linear-gradient(135deg, #dc3545 0%, #7a1a28 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.pack-detail__layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.pack-detail__stage {
  position: relative;
}

.pack-detail__cover {
  width: 100%;
  border-radius: 20px;
  object-fit: cover;
  min-height: 320px;
  max-height: 460px;
}

.pack-savings-bubble {
  position: absolute;
  right: 16px;
  bottom: 16px;
  background: var(--white);
  border-radius: 16px;
  padding: 0.7rem 1rem;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
  animation: packPop 0.6s ease 0.2s both;
}

.pack-savings-bubble strong {
  display: block;
  color: var(--primary-color);
}

.pack-savings-bubble span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.pack-detail__kicker {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--pack-gold-deep);
  margin-bottom: 0.4rem;
}

.pack-detail__title {
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.pack-detail__lead {
  font-size: 1.05rem;
  color: #3d4248;
  margin-bottom: 0.35rem;
}

.pack-detail__copy {
  margin: 0.35rem 0 0.9rem;
  color: var(--text-color);
  font-size: 1rem;
  max-width: 65ch;
}

.pack-detail__copy p:last-child {
  margin-bottom: 0;
}

.pack-detail__hint {
  margin-top: 1rem;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.pack-contents-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  margin: 2.4rem 0 1rem;
}

.pack-contents-kicker {
  margin: 0 0 0.2rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  font-weight: 800;
  color: #ad3a4c;
}

.pack-contents-title {
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.pack-guide__lead {
  margin: 0.35rem 0 0;
  max-width: 62ch;
  color: #3d2a2e;
}

.pack-guide__count {
  margin: 0;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #3a1820 0%, #1c1214 72%);
  color: #fff;
  font-weight: 800;
  white-space: nowrap;
}

.pack-guide__count:empty {
  display: none;
}

.pack-guide__steps {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding: 0.15rem 0 0.2rem;
  margin: 0 0 1rem;
}

.pack-guide__steps a {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex: 0 0 auto;
  min-height: 44px;
  padding: 0.3rem 0.85rem 0.3rem 0.3rem;
  border-radius: 999px;
  background: #fff;
  background-clip: padding-box;
  border: 1px solid rgba(122, 26, 40, 0.2);
  color: #1c1214;
  text-decoration: none;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
}

.pack-guide__num {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #f7eef0;
  color: #7a1a28;
  font-size: 0.82rem;
  line-height: 1;
  overflow: hidden;
}

.pack-guide__steps a.is-current {
  border-color: #9a3040;
  background: linear-gradient(135deg, #f25d6c 0%, #ad3a4c 100%);
  background-clip: padding-box;
  color: #fff;
}

.pack-guide__steps a.is-current .pack-guide__num {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.pack-guide__steps a.is-done .pack-guide__num {
  background: linear-gradient(135deg, #1e7e34 0%, #0e4a22 100%);
  color: #fff;
}

.pack-guide__steps a.is-done.is-current .pack-guide__num {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.pack-contents {
  list-style: none;
  display: grid;
  gap: 1rem;
  padding: 0;
  margin: 0 0 1.5rem;
}

.pack-component {
  display: grid;
  gap: 0.85rem;
  background: var(--white);
  border: 1px solid rgba(122, 26, 40, 0.1);
  border-radius: 16px;
  padding: 0.9rem;
  box-shadow: 0 6px 18px rgba(28, 18, 20, 0.06);
  scroll-margin: 96px;
}

.pack-component.is-current {
  border: 2px solid transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, #f25d6c, #7a1a28) border-box;
  background-clip: padding-box, border-box;
  box-shadow: 0 12px 28px rgba(122, 26, 40, 0.16);
}

.pack-component.is-arriving {
  animation: packArrive 0.7s ease;
}

.pack-component__main {
  display: grid;
  grid-template-columns: auto 110px 1fr;
  gap: 1rem;
  align-items: center;
}

.pack-component__slot {
  margin: 0 0 0.15rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ad3a4c;
}

.pack-component__status {
  display: inline-flex;
  align-items: center;
  margin: 0 0 0.35rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.pack-component__status.is-pending {
  background: linear-gradient(135deg, rgba(242, 93, 108, 0.16), rgba(122, 26, 40, 0.12));
  color: #7a1a28;
}

.pack-component__status.is-ready {
  background: rgba(30, 126, 52, 0.12);
  color: #0e4a22;
}

.pack-component__index {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #dc3545 0%, #7a1a28 100%);
  color: var(--white);
  display: grid;
  place-items: center;
  font-weight: 800;
}

.pack-component.is-done .pack-component__index {
  background: linear-gradient(135deg, #1e7e34 0%, #0e4a22 100%);
}

.pack-component__media img {
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: 12px;
}

.pack-component__body h3 {
  font-size: 1.05rem;
  margin: 0 0 0.25rem;
}

.pack-component__body h3 a {
  color: inherit;
  text-decoration: none;
}

.pack-component__price {
  margin: 0;
  font-weight: 700;
}

.pack-component__price span {
  font-weight: 500;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.pack-component__stock {
  margin: 0.25rem 0 0;
  color: var(--primary-color);
  font-weight: 600;
}

.pack-component__stock.is-ok {
  color: var(--success-color);
}

.pack-component.is-unavailable {
  opacity: 0.6;
}

.pack-choice-block {
  display: grid;
  gap: 0.45rem;
}

.pack-choice-hint,
.pack-variant__label {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 800;
  color: #7a1a28;
}

.pack-variant {
  display: grid;
  gap: 0.55rem;
  padding: 0.8rem;
  border-radius: 14px;
  background:
    radial-gradient(280px 80px at 0% 0%, rgba(220, 53, 69, 0.12), transparent 70%),
    linear-gradient(165deg, #fff 0%, #fff6f7 100%);
  border: 1px solid rgba(122, 26, 40, 0.16);
  scroll-margin: 120px;
}

.pack-variant__options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pack-variant-chip {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 92px;
  min-height: 48px;
  margin: 0;
  padding: 0.45rem 0.75rem;
  border-radius: 12px;
  border: 1px solid rgba(122, 26, 40, 0.22);
  background: #fff;
  cursor: pointer;
}

.pack-variant-chip__input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.pack-variant-chip__name {
  font-weight: 800;
  line-height: 1.2;
}

.pack-variant-chip__stock {
  font-size: 0.75rem;
  color: #7a1a28;
}

.pack-variant-chip:has(.pack-variant-chip__input:checked) {
  background: linear-gradient(135deg, #dc3545 0%, #7a1a28 100%);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 16px rgba(122, 26, 40, 0.24);
}

.pack-variant-chip:has(.pack-variant-chip__input:checked) .pack-variant-chip__stock {
  color: rgba(255, 255, 255, 0.86);
}

.pack-variant-chip:focus-within {
  outline: 3px solid #dc3545;
  outline-offset: 2px;
}

.pack-variant__empty {
  margin: 0;
  color: #7a1a28;
  font-weight: 700;
}

.pack-checkout {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(100%, 520px);
  margin: 1.75rem auto 0;
  scroll-margin: 96px;
}

.pack-checkout__hint {
  margin: 0 0 0.55rem;
  font-weight: 800;
  color: #7a1a28;
  text-align: center;
}

.pack-checkout.is-ready .pack-checkout__hint {
  animation: packArrive 0.7s ease;
}

.pack-pay {
  width: 100%;
  padding: 1.1rem 1.15rem 1rem;
  border-radius: 22px;
  border: 1px solid rgba(220, 53, 69, 0.35);
  background:
    radial-gradient(240px 120px at 0% 0%, rgba(220, 53, 69, 0.32), transparent 70%),
    linear-gradient(165deg, #3a1820 0%, #1c1214 78%);
  color: #fff;
  box-shadow: 0 16px 36px rgba(28, 18, 20, 0.22);
}

.pack-pay__items {
  list-style: none;
  display: grid;
  gap: 0.75rem;
  margin: 0 0 0.95rem;
  padding: 0 0 0.95rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.pack-pay__item {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  gap: 0.7rem;
  align-items: center;
}

.pack-pay__item img {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 12px;
  background: #2a1518;
}

.pack-pay__name {
  margin: 0;
  font-weight: 800;
  line-height: 1.25;
}

.pack-pay__variant,
.pack-pay__qty {
  margin: 0.1rem 0 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.72);
}

.pack-pay__variant.is-pending {
  color: #ffb3bb;
}

.pack-pay__amount {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.1rem;
}

.pack-pay__amount strong {
  font-size: 1rem;
  font-weight: 800;
  white-space: nowrap;
}

.pack-pay__was {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: line-through;
  white-space: nowrap;
}

.pack-pay__lines {
  list-style: none;
  display: grid;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
}

.pack-pay__lines li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  font-size: 0.92rem;
}

.pack-pay__lines li.is-total {
  margin-top: 0.15rem;
  font-weight: 800;
}

.pack-pay__lines strong {
  font-weight: 800;
  white-space: nowrap;
}

.pack-pay__due {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-top: 0.85rem;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.pack-pay__due span {
  font-size: 0.95rem;
  font-weight: 700;
}

.pack-pay__due strong {
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.pack-pay .pack-card__btn {
  width: 100%;
  margin-top: 0.9rem;
}

.pack-sticky-bar {
  position: sticky;
  bottom: 12px;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  background:
    radial-gradient(280px 120px at 0% 0%, rgba(220, 53, 69, 0.34), transparent 68%),
    linear-gradient(135deg, #3a1820 0%, #1c1214 72%);
  color: var(--white);
  border: 1px solid rgba(220, 53, 69, 0.35);
  border-radius: 18px;
  padding: 0.9rem 1.1rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 30px rgba(28, 18, 20, 0.28);
}

.pack-detail .pack-card__btn--solid {
  background: linear-gradient(135deg, #dc3545 0%, #7a1a28 100%);
  border-color: transparent;
  box-shadow: 0 8px 18px rgba(220, 53, 69, 0.28);
}

.pack-detail .pack-card__btn--solid:hover {
  background: linear-gradient(135deg, #e04555 0%, #8f1d2c 100%);
  border-color: transparent;
}

.pack-sticky-bar__price span {
  display: block;
  font-size: 0.8rem;
  opacity: 0.75;
}

.pack-sticky-bar__cta {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.55rem;
  min-width: min(100%, 280px);
}

.pack-sticky-bar .pack-card__btn {
  width: 100%;
  min-width: 0;
}

.pack-save-note {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin: 0;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: #fff3c4;
  color: #1a1404;
  font-weight: 800;
  font-size: 0.95rem;
  line-height: 1.2;
}

.pack-save-note.is-hidden {
  display: none;
}

.pack-save-note--inline {
  width: 100%;
}

.pack-choice-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: 0.65rem;
}

.pack-choice {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin: 0;
  padding: 0.55rem;
  border: 2px solid rgba(122, 26, 40, 0.16);
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.pack-choice:hover {
  border-color: rgba(220, 53, 69, 0.55);
  transform: translateY(-2px);
}

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

.pack-choice.is-selected,
.pack-choice:has(.pack-choice__input:checked) {
  border-color: #ad3a4c;
  background: linear-gradient(180deg, #fff 0%, #fff5f6 100%);
  box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.16);
}

.pack-choice.is-selected::after,
.pack-choice:has(.pack-choice__input:checked)::after {
  content: "✓";
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #dc3545 0%, #7a1a28 100%);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
}

.pack-choice:focus-within {
  outline: 3px solid var(--primary-color);
  outline-offset: 2px;
}

.pack-choice.is-unavailable {
  opacity: 0.5;
  cursor: not-allowed;
}

.pack-choice__img img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 10px;
}

.pack-choice__name {
  font-weight: 800;
  font-size: 0.86rem;
  line-height: 1.25;
}

.pack-choice__price {
  font-weight: 800;
  color: var(--primary-color);
  font-size: 0.9rem;
}

.pack-choice__oos {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.pack-builder {
  padding-bottom: 1.5rem;
}

.pack-builder__steps-label {
  margin: 0.75rem 0 0;
  max-width: 62ch;
  color: #3d2a2e;
}

.pack-builder__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: start;
}

.pack-slot-tabs {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding: 0.15rem 0 0.2rem;
  margin: 0 0 1.2rem;
}

.pack-slot-tab {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex: 0 0 auto;
  min-height: 44px;
  border: 1px solid rgba(122, 26, 40, 0.2);
  background: #fff;
  background-clip: padding-box;
  border-radius: 999px;
  padding: 0.3rem 0.85rem 0.3rem 0.3rem;
  color: #1c1214;
  font: inherit;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  cursor: pointer;
}

.pack-slot-tab.is-active {
  border-color: #9a3040;
  background: linear-gradient(135deg, #f25d6c 0%, #ad3a4c 100%);
  background-clip: padding-box;
  color: #fff;
}

.pack-slot-tab.is-complete .pack-slot-tab__num {
  background: linear-gradient(135deg, #1e7e34 0%, #0e4a22 100%);
  color: #fff;
}

.pack-slot-tab.is-active .pack-slot-tab__num,
.pack-slot-tab.is-active.is-complete .pack-slot-tab__num {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.pack-slot-tab__num {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border-radius: 999px;
  background: #f7eef0;
  color: #7a1a28;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.85rem;
  line-height: 1;
  overflow: hidden;
}

.pack-slot-tab__state {
  display: none;
  font-size: 0.75rem;
  opacity: 0.8;
}

.pack-slot-panel__title {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.pack-picker {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 0.85rem;
}

.pack-pick {
  border: 2px solid rgba(122, 26, 40, 0.16);
  background: #fff;
  background-clip: padding-box;
  border-radius: 14px;
  padding: 0.6rem;
  text-align: left;
  box-shadow: 0 6px 16px rgba(28, 18, 20, 0.06);
  transition: transform 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
  font: inherit;
  color: inherit;
  width: 100%;
}

.pack-pick:focus-visible,
.pack-slot-tab:focus-visible,
.pack-recap-edit:focus-visible,
.pack-recap-card__change:focus-visible {
  outline: 3px solid var(--primary-color);
  outline-offset: 2px;
}

.pack-pick:hover:not(:disabled) {
  transform: translateY(-3px);
  border-color: rgba(220, 53, 69, 0.55);
}

.pack-pick.is-selected {
  border-color: #ad3a4c;
  background: linear-gradient(180deg, #fff 0%, #fff5f6 100%);
  box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.16);
}

.pack-pick.is-unavailable {
  opacity: 0.45;
}

.pack-pick__img img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 10px;
}

.pack-pick__name {
  display: block;
  font-weight: 700;
  font-size: 0.88rem;
  margin-top: 0.45rem;
  min-height: 2.4em;
}

.pack-pick__price {
  font-weight: 800;
  color: #ad3a4c;
}

.pack-pay__slot {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffb3bb;
}

.pack-pay__change {
  display: inline-block;
  margin-top: 0.25rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: #ffb3bb;
  font-weight: 800;
  text-decoration: underline;
  cursor: pointer;
}

.pack-pay .pack-recap-edit {
  display: block;
  width: 100%;
  margin-top: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  color: #fff;
  background: transparent;
  text-align: center;
  padding: 0.55rem 0.95rem;
  font-weight: 800;
}

.pack-pick__oos {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.pack-summary-card {
  position: sticky;
  top: 84px;
  background: var(--pack-ink);
  color: var(--white);
  border-radius: 20px;
  padding: 1.2rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
}

.pack-summary-card h2 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.pack-summary-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  display: grid;
  gap: 0.7rem;
}

.pack-summary-item {
  display: grid;
  gap: 0.15rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.pack-summary-item.is-filled {
  grid-template-columns: 52px 1fr;
  column-gap: 0.65rem;
  align-items: center;
}

.pack-summary-item__thumb {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 10px;
  grid-row: 1 / span 3;
}

.pack-summary-item__variant {
  font-size: 0.82rem;
  opacity: 0.8;
}

.pack-summary-item__slot {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.65;
}

.pack-summary-item__placeholder {
  opacity: 0.45;
}

.pack-summary-item.is-filled .pack-summary-item__name {
  font-weight: 700;
}

.pack-summary-totals {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.pack-summary-row {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.92rem;
}

.pack-summary-row--save {
  color: #7dcca0;
}

.pack-summary-row--save.is-hidden {
  display: none;
}

.pack-summary-row--total {
  font-size: 1.05rem;
  padding-top: 0.4rem;
}

.home-showcase {
  position: relative;
  z-index: 0;
  isolation: isolate;
  overflow: hidden;
  margin-top: -8px;
  padding-top: 1.15rem;
  background:
    radial-gradient(720px 340px at 8% 0%, rgba(220, 53, 69, 0.48), transparent 62%),
    radial-gradient(640px 360px at 100% 100%, rgba(201, 162, 39, 0.36), transparent 58%),
    linear-gradient(165deg, #1c1214 0%, #121418 52%, #1a140c 100%);
  background-size: 140% 140%, 140% 140%, 100% 100%;
  animation: homePackGlow 16s ease-in-out infinite;
}

.home-showcase .category-banner {
  margin: 0;
  background: transparent;
}

.home-showcase .category-item {
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 8px, #000 calc(100% - 8px), transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 8px, #000 calc(100% - 8px), transparent 100%);
}

.home-packs--stage {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin: 0;
  padding: 3rem 0 3.25rem;
  color: #fff;
  background: transparent;
}

.home-packs__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 0.55rem;
  color: #e8c75a;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-packs__intro-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem;
}

.home-packs__intro h2 {
  margin: 0;
  max-width: 16ch;
  font-size: clamp(2rem, 4.6vw, 3.35rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.98;
}

.home-packs__intro h2 span {
  color: #f0d078;
}

.home-packs--stage .home-packs__all {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  flex-shrink: 0;
  width: fit-content;
  max-width: 100%;
  padding: 0.8rem 1.35rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #dc3545 0%, #7a1a28 100%);
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(220, 53, 69, 0.45);
}

.home-packs--stage .home-packs__all:hover {
  color: #fff;
  background: linear-gradient(135deg, #e04555 0%, #8f1d2c 100%);
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(220, 53, 69, 0.55);
}

.home-pack-stage {
  display: grid;
  grid-template-columns: minmax(230px, 0.78fr) minmax(0, 1.35fr);
  gap: 1.4rem 2rem;
  align-items: end;
  margin-top: 1.8rem;
  padding-top: 1.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.home-pack-stage:first-of-type {
  border-top: 0;
  margin-top: 1.6rem;
  padding-top: 0;
}

.home-pack-stage__kicker {
  margin: 0 0 0.35rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.home-pack-stage h3 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.home-pack-stage__lead {
  margin: 0 0 0.9rem;
  max-width: 36ch;
  color: rgba(255, 255, 255, 0.82);
}

.home-pack-stage__price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.45rem 0.7rem;
}

.home-pack-stage__price strong {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
}

.home-pack-stage__was,
.home-pack-stage__from {
  color: rgba(255, 255, 255, 0.62);
  font-weight: 700;
}

.home-pack-stage__was {
  text-decoration: line-through;
}

.home-pack-save {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0.75rem 0 0;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: #fff3c4;
  color: #1a1404;
  font-weight: 800;
  animation: homeSavePulse 2.6s ease-in-out infinite;
}

.home-pack-stage__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: fit-content;
  max-width: 100%;
  margin-top: 1rem;
  padding: 0.75rem 1.2rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #f25d6c 0%, #ad3a4c 100%);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(242, 93, 108, 0.4);
}

.home-pack-stage__cta:hover {
  background: linear-gradient(135deg, #ff7a86 0%, #c44d5e 100%);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(242, 93, 108, 0.5);
}

.home-pack-lineup {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-width: 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.home-pack-lineup::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.home-pack-lineup.is-hinting {
  scroll-snap-type: none;
  scroll-behavior: auto;
}

.home-pack-piece {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  max-width: 190px;
  margin: 0;
  overflow: hidden;
  border-radius: 22px;
  background: #0d0f13;
  isolation: isolate;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.38);
  animation: homePieceIn 0.7s ease both;
  animation-delay: calc(var(--piece-i, 0) * 0.12s);
}

.home-packs--single .home-pack-piece {
  max-width: 230px;
}

.home-pack-piece__link {
  display: block;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.home-pack-piece__photo {
  position: relative;
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: inherit;
  background: #0d0f13;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 16px, #000 calc(100% - 22px), transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 16px, #000 calc(100% - 22px), transparent 100%);
}

.home-pack-piece__photo img {
  display: block;
  width: calc(100% + 2px);
  height: calc(100% + 2px);
  max-width: none;
  margin: -1px;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.home-pack-piece:hover img {
  transform: scale(1.07);
}

.home-pack-piece__caption {
  position: absolute;
  top: 10px;
  left: 10px;
  max-width: calc(100% - 20px);
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  background: rgba(22, 24, 28, 0.82);
  color: #f0d078;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.home-pack-piece__name {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 1.6rem 0.6rem 0.65rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.88));
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.2;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-pack-plus {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #c9a227, #f0d078);
  color: #1a1404;
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(201, 162, 39, 0.35);
  animation: homePlusPulse 2.4s ease-in-out infinite;
}

@keyframes homePackGlow {
  0%, 100% { background-position: 0% 0%, 100% 100%, 0 0; }
  50% { background-position: 12% 8%, 88% 92%, 0 0; }
}

@keyframes homePieceIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes homePlusPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

@keyframes homeSavePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(240, 208, 120, 0.0); }
  50% { box-shadow: 0 0 0 6px rgba(240, 208, 120, 0.18); }
}

.pack-builder-recap {
  scroll-margin-top: 96px;
  background:
    radial-gradient(380px 160px at 0% 0%, rgba(201, 162, 39, 0.2), transparent 70%),
    #fff;
  border: 1px solid rgba(201, 162, 39, 0.4);
  border-radius: 20px;
  padding: 1.15rem;
}

.pack-builder-recap h2 {
  font-weight: 800;
  margin: 0 0 0.35rem;
}

.pack-builder-recap__lead {
  color: #3d4248;
  margin: 0 0 1rem;
}

.pack-slot-panel {
  scroll-margin-top: 96px;
}

.pack-recap-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.75rem;
}

.pack-recap-card {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 0.75rem;
  align-items: center;
  background: #fff;
  border: 1px solid rgba(22, 24, 28, 0.08);
  border-radius: 16px;
  padding: 0.7rem;
}

.pack-recap-card img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 12px;
}

.pack-recap-card__slot {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pack-gold-deep);
}

.pack-recap-card__name {
  margin: 0.1rem 0 0;
  font-weight: 800;
  line-height: 1.25;
}

.pack-recap-card__variant {
  margin: 0.1rem 0 0;
  color: #3d4248;
  font-size: 0.9rem;
}

.pack-recap-card__change,
.pack-recap-edit {
  border: 0;
  background: transparent;
  color: var(--primary-color);
  font-weight: 800;
  padding: 0;
  text-decoration: underline;
}

.pack-recap-card__change {
  display: inline-block;
  margin-top: 0.35rem;
}

.pack-recap-edit {
  margin-top: 0.85rem;
  border: 2px solid var(--pack-ink);
  border-radius: 999px;
  color: var(--pack-ink);
  text-decoration: none;
  padding: 0.45rem 0.95rem;
}

.pack-builder-recap .pack-save-note {
  margin-top: 0.2rem;
}

.home-packs__all {
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
}

.cart-pack {
  background: linear-gradient(180deg, #fff 0%, #fffdf6 100%);
  border: 1px solid rgba(201, 162, 39, 0.35);
  border-radius: 16px;
  padding: 0.9rem;
  margin-bottom: 1rem;
  box-shadow: 0 8px 20px rgba(201, 162, 39, 0.12);
}

.cart-pack__head {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}

.cart-pack__label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: linear-gradient(135deg, var(--pack-gold), #e8c75a);
  color: #1a1404;
  font-weight: 800;
  font-size: 0.75rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
}

.cart-pack__meta {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0.2rem 0 0;
}

.cart-pack .cart-item {
  box-shadow: none;
  background: transparent;
  margin-bottom: 0.4rem;
  padding: 0.5rem 0;
}

.cart-pack__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  border-top: 1px dashed rgba(201, 162, 39, 0.45);
  padding-top: 0.75rem;
  margin-top: 0.4rem;
}

@keyframes packCardIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes packChipPulse {
  0%, 100% { box-shadow: 0 3px 12px var(--pack-glow); }
  50% { box-shadow: 0 6px 18px rgba(201, 162, 39, 0.5); }
}

@keyframes packPop {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

@keyframes packArrive {
  0% { box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.35); }
  100% { box-shadow: 0 0 0 12px rgba(220, 53, 69, 0); }
}

@media (max-width: 991.98px) {
  .packs-grid,
  .pack-detail__layout,
  .pack-builder__layout {
    grid-template-columns: 1fr;
  }

  .pack-summary-card {
    position: static;
  }

  .pack-sticky-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .pack-sticky-bar .pack-card__btn {
    width: 100%;
    min-width: 0;
  }

  .home-pack-stage {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  .packs-hero {
    padding: 1.6rem 0 2.2rem;
  }

  .pack-contents-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .pack-component__main {
    grid-template-columns: 84px 1fr;
  }

  .pack-component__index {
    display: none;
  }

  .packs-catalog-nav {
    margin-top: 0.5rem;
  }

  .packs-page .packs-grid {
    grid-template-columns: minmax(0, min(100%, 360px));
    justify-content: center;
  }

  .pack-card__btn--inline {
    width: 100%;
  }

  .pack-component__media img {
    width: 84px;
    height: 84px;
  }

  .pack-collage--hero {
    min-height: 220px;
  }

  .home-showcase {
    padding-top: 0.75rem;
  }

  .home-packs--stage {
    padding: 2.1rem 0 2.3rem;
  }

  .home-packs__intro-row,
  .home-pack-stage {
    grid-template-columns: 1fr;
    display: grid;
  }

  .home-packs__intro h2 {
    max-width: none;
  }

  .home-pack-lineup {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 0;
    scroll-snap-type: x mandatory;
  }

  .home-pack-piece {
    flex: 0 0 132px;
    max-width: 132px;
    scroll-snap-align: start;
  }

  .home-packs--single .home-pack-piece {
    flex-basis: 148px;
    max-width: 148px;
  }

  .home-packs--stage .home-packs__all {
    justify-self: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pack-card,
  .filter-btn.filter-packs,
  .pack-savings-bubble,
  .pack-pick,
  .home-showcase,
  .pack-back,
  .home-pack-piece,
  .home-pack-plus,
  .home-pack-save,
  .pack-component.is-arriving,
  .pack-checkout.is-ready .pack-checkout__hint,
  .pack-choice {
    animation: none !important;
    transition: none !important;
    opacity: 1;
    transform: none;
  }
}
