/* ==========================================
   HighPass Store — product catalog & detail
   ========================================== */

.hp-store__hero {
  background: linear-gradient(201deg, #120028 0%, #2c055c 100%);
  color: #f8fafc;
  padding: 64px 0 56px;
  text-align: center;
}

.hp-store__eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #7dd3fc;
  margin-bottom: 14px;
}

.hp-store__title {
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 800;
  line-height: 1.25;
  margin: 0 auto 14px;
  max-width: 780px;
  color: #ffffff;
}

.hp-store__subtitle {
  font-size: 17px;
  color: rgba(248, 250, 252, 0.78);
  margin: 0 auto;
  max-width: 560px;
}

.hp-store__grid-wrap { padding: 56px 0 72px; }

.hp-store__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 24px;
}

.hp-store__empty { text-align: center; color: #64748b; padding: 40px 0; }

.hp-product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #e5e9f2;
  border-radius: 16px;
  padding: 26px 24px 22px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 1px 2px rgba(20, 24, 45, 0.03);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.hp-product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px -14px rgba(18, 0, 40, 0.25);
  border-color: #cfe6f7;
}

.hp-product-card__badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: #eaf6fd;
  color: #0077ad;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 999px;
}

.hp-product-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, #0096d9 0%, #1e88c7 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  overflow: hidden;
}

.hp-product-card__icon img { width: 100%; height: 100%; object-fit: cover; }
.hp-product-card__icon span { color: #fff; font-size: 22px; font-weight: 800; }

.hp-product-card__category {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #0096d9;
  margin-bottom: 8px;
}

.hp-product-card__name { font-size: 19px; font-weight: 800; margin: 0 0 8px; color: #0f172a; }
.hp-product-card__tagline { font-size: 14.5px; line-height: 1.55; color: #64748b; margin: 0 0 20px; flex: 1; }

.hp-product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid #eef1f8;
}

.hp-product-card__cta { font-size: 13px; font-weight: 700; color: #0096d9; }

.hp-price { font-size: 17px; font-weight: 800; color: #0f172a; }
.hp-price--lg { font-size: 26px; }
.hp-price__was { font-size: 14px; font-weight: 500; color: #94a3b8; margin-right: 4px; }
.hp-price__period { font-size: 13px; font-weight: 500; color: #64748b; }

/* ---------- Product detail ---------- */

.hp-store__hero--product { text-align: left; padding: 56px 0; }

.hp-product-hero {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.hp-product-hero__icon {
  width: 92px;
  height: 92px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.hp-product-hero__icon img { width: 100%; height: 100%; object-fit: cover; }
.hp-product-hero__icon span { color: #fff; font-size: 34px; font-weight: 800; }

.hp-product-hero__info { flex: 1; min-width: 260px; }
.hp-product-hero__name { font-size: clamp(26px, 3vw, 38px); font-weight: 800; margin: 4px 0 10px; color: #fff; }
.hp-product-hero__tagline { font-size: 16px; color: rgba(248, 250, 252, 0.78); margin: 0 0 18px; }

.hp-product-hero__actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.hp-product-hero__actions .hp-price { color: #ffffff; }
.hp-product-hero__actions .hp-price__period { color: rgba(248, 250, 252, 0.65); }

.hp-product-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  padding: 40px 0 0;
}

.hp-product-gallery__item {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #e5e9f2;
  aspect-ratio: 16 / 10;
  background: #f5f7fb;
}

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

.hp-product-body {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  align-items: start;
  padding: 56px 0 80px;
}

.hp-product-body__main { min-width: 0; }

.hp-product-description { font-size: 15.5px; line-height: 1.8; color: #334155; }
.hp-product-description p { margin: 0 0 1.1em; }
.hp-product-description ul, .hp-product-description ol { padding-left: 1.4em; margin: 0 0 1.1em; }

.hp-product-section-title { font-size: 22px; font-weight: 800; color: #0f172a; margin: 40px 0 16px; }
.hp-product-changelog { background: #f8fafc; border: 1px solid #e5e9f2; border-radius: 14px; padding: 20px 24px; }

.hp-product-buybox {
  position: sticky;
  top: 24px;
  background: #ffffff;
  border: 1px solid #e5e9f2;
  border-radius: 18px;
  padding: 26px;
  box-shadow: 0 12px 30px -18px rgba(18, 0, 40, 0.25);
}

.hp-product-buybox__cta { display: block; width: 100%; text-align: center; margin: 16px 0 10px; }
.hp-product-buybox__note { font-size: 12.5px; color: #94a3b8; margin: 0 0 18px; line-height: 1.5; }

.hp-product-buybox__row {
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  color: #475569;
  padding: 10px 0;
  border-top: 1px solid #eef1f8;
}

@media (max-width: 860px) {
  .hp-product-body { grid-template-columns: 1fr; }
  .hp-product-buybox { position: static; }
}
