.promo-packs__title{
  font-size:calc(var(--font-heading-scale) * 2.64rem);
}

html:not(.is-pack-collection) .pack-collection--fallback,
html:not(.is-pack-collection) .pack-on-collections{
  display:none !important;
}
html.is-pack-collection .pack-404-default{
  display:none !important;
}
html.is-pack-collection .listing-page > .listing-page__title,
html.is-pack-collection .listing-page > .listing-toolbar,
html.is-pack-collection .listing-page .empty-page,
html.is-pack-collection .listing-page .items-grid{
  display:none !important;
}

html.is-pack-collection .listing-page{
  zoom:1;
}
.pack-collection__intro{
  margin:0 0 32px;
  padding:0;
  background:transparent;
  border:0;
}
.pack-collection__badge,
.promo-pack__tag{
  display:none !important;
}
.pack-collection__title{
  margin:0 0 10px !important;
  font-size:clamp(2rem, 3.4vw, 2.6rem) !important;
  font-weight:800 !important;
  letter-spacing:-0.02em;
  text-transform:none !important;
  color:#121212;
}
.pack-collection__kicker{
  margin:0;
  max-width:38em;
  color:#4a4453;
  font-size:1.2rem;
  line-height:1.5;
}

.promo-packs{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(200px, 1fr));
  gap:22px;
  max-width:1100px;
  margin-inline:auto;
}
.pack-collection__main .promo-packs,
.pack-collection .promo-packs{
  max-width:none;
}
.promo-pack{
  display:flex;
  flex-direction:column;
  border:1px solid #ececec;
  border-radius:16px;
  overflow:hidden;
  background:#fff;
  box-shadow:none;
  transition:transform 0.2s ease, box-shadow 0.2s ease;
}
.promo-pack:hover{
  transform:translateY(-3px);
  box-shadow:0 12px 28px rgba(18, 18, 18, 0.08);
}
.promo-pack__open{
  display:flex;
  flex-direction:column;
  width:100%;
  padding:0;
  border:0;
  background:transparent;
  color:inherit;
  text-align:start;
  text-decoration:none;
  cursor:pointer;
}
.promo-pack__media{
  position:relative;
}
.promo-pack__media img,
.promo-pack__placeholder{
  display:block;
  width:100%;
  height:200px;
  object-fit:cover;
  background:#f6f4fb;
}
.promo-pack__tag{
  position:absolute;
  inset-block-start:12px;
  inset-inline-start:12px;
  z-index:1;
  padding:4px 9px;
  border-radius:999px;
  background:#6d28d9;
  color:#fff;
  font-size:11px;
  font-weight:800;
  letter-spacing:0.03em;
  text-transform:uppercase;
}
.promo-pack__body{
  display:flex;
  flex-direction:column;
  gap:10px;
  padding:18px 18px 20px;
}
.promo-pack__title{
  margin:0;
  font-size:1.35rem;
  font-weight:700;
}
.promo-pack__price,
.promo-pack-detail__price{
  margin:0;
  font-size:1.45rem;
  font-weight:800;
  color:#121212;
}
.promo-pack__save-hint{
  color:#6d28d9;
  font-size:1.05rem;
  font-weight:600;
}
.promo-pack .yc-btn.primary{
  width:100%;
  justify-content:center;
  font-size:1.05rem;
  min-height:48px;
}
.promo-pack-compare{
  display:flex;
  flex-direction:column;
  gap:6px;
  padding:16px;
  border:1px solid var(--color-gray-300);
  border-radius:var(--button-border-radius, 8px);
  background:var(--color-gray-50);
}
.promo-pack-compare__row{
  display:flex;
  justify-content:space-between;
  gap:12px;
  font-size:var(--text-sm);
}
.promo-pack-compare__was{
  text-decoration:line-through;
  color:var(--color-gray-600);
}
.promo-pack-compare__row--pack{
  font-size:var(--text-xl);
  font-weight:700;
}
.promo-pack-compare__save{
  margin:4px 0 0;
  color:var(--color-error-500);
  font-weight:600;
}
.promo-pack-item__head{
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:baseline;
}
.promo-pack-item__price{
  margin:0;
  font-weight:600;
  white-space:nowrap;
}
.promo-pack-detail{
  max-width:720px;
  margin-inline:auto;
  display:flex;
  flex-direction:column;
  gap:16px;
}
.promo-pack-detail[hidden],
.promo-packs[hidden],
[data-promo-list-head][hidden]{
  display:none !important;
}
.promo-pack-detail__back{
  width:fit-content;
  padding:0;
  border:0;
  background:none;
  color:rgb(var(--color-primary));
  text-decoration:underline;
  cursor:pointer;
}
.promo-pack-detail__hero{
  border-radius:var(--button-border-radius, 8px);
  overflow:hidden;
  background:var(--color-gray-50);
  max-width:280px;
  margin-inline:auto;
  width:100%;
}
.promo-pack-detail__hero img{
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:1 / 1;
  max-height:280px;
  object-fit:cover;
  border-radius:0;
  background:var(--color-gray-50);
}
.promo-pack-item{
  display:flex;
  flex-direction:column;
  gap:12px;
  padding:0 0 20px;
  border-bottom:1px solid var(--color-gray-300);
}
.promo-pack-item:last-child{
  border-bottom:0;
  padding-bottom:0;
}
.promo-pack-item__media{
  position:relative;
  width:100%;
  max-width:220px;
  height:auto;
  aspect-ratio:1 / 1;
  border-radius:12px;
  overflow:hidden;
  background:var(--color-gray-50);
}
.promo-pack-item img,
.promo-pack-item__media img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:0;
  background:var(--color-gray-50);
}
.promo-pack-item__color-fill,
.promo-pack-item__color-banner{
  display:none !important;
}
.promo-pack-item h3{
  margin:0 0 8px;
  font-size:var(--text-lg);
  font-weight:600;
}
.promo-pack-item__hint{
  margin:0 0 10px;
  color:var(--color-gray-600);
  font-size:var(--text-sm);
}
.promo-pack-item__picked{
  margin:0 0 12px;
  color:#18186b;
  font-size:var(--text-lg);
  font-weight:600;
}
.promo-pack-item__variants{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.promo-pack-item__variants button{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 12px;
  border:1px solid var(--color-gray-300);
  border-radius:999px;
  background:#fff;
  cursor:pointer;
}
.promo-pack-item__hint--color{
  display:flex;
  align-items:center;
  gap:8px;
}
.promo-pack-item__variants--colors{
  align-items:center;
  gap:12px;
}
.promo-pack-item__variants button.promo-pack-item__color{
  width:42px;
  height:42px;
  min-width:42px;
  padding:0;
  border-radius:50%;
  border:2px solid #fff;
  outline:2px solid color-mix(in srgb, currentColor 20%, transparent);
  background:var(--variant-color, #ccc);
  cursor:pointer;
}
.promo-pack-item__variants button.promo-pack-item__color[aria-pressed="true"]{
  outline-color:rgb(var(--color-primary));
  background:var(--variant-color, #ccc);
  color:inherit;
}
.promo-pack-item__variants button[aria-pressed="true"]:not(.promo-pack-item__color){
  border-color:rgb(var(--color-primary));
  background:rgb(var(--color-primary));
  color:#fff;
}
.promo-pack-item__swatch{
  width:16px;
  height:16px;
  border-radius:50%;
  border:1px solid rgba(0,0,0,.2);
  flex:none;
}
.promo-pack-item__empty{
  color:var(--color-error-500);
  font-size:var(--text-sm);
}
.promo-pack-detail__note{
  margin:0;
  color:var(--color-gray-600);
  font-size:var(--text-sm);
}

@media (max-width: 640px){
  .pack-collection__title{
    font-size:1.7rem !important;
  }
  .pack-collection__kicker{
    font-size:1.05rem;
  }
  .promo-pack__title{
    font-size:1.2rem;
  }
  .promo-packs__title{
    font-size:calc(var(--font-heading-scale) * 1.87rem);
  }
  .promo-packs{
    grid-template-columns:1fr;
  }
  .promo-pack-detail__hero{
    max-width:200px;
  }
  .promo-pack-detail__hero img{
    max-height:200px;
  }
  .promo-pack-item__media{
    max-width:160px;
  }
}
