/* ============================================
   Store page — product catalog
   ============================================ */
.store-hero {
  padding: 60px 0 40px;
  background: radial-gradient(circle at 80% 20%, var(--teal-light), transparent 60%);
  text-align: center;
}
.store-hero h1 {
  font-size: clamp(2rem, 4vw, 2.6rem);
  line-height: 1.2;
  margin-bottom: 12px;
  font-weight: 800;
}
.store-hero p {
  font-size: 1.08rem;
  color: var(--text-body);
  max-width: 600px;
  margin: 0 auto 24px;
}
.hero-rule { width: 64px; height: 4px; background: var(--orange); border-radius: 4px; margin-bottom: 18px; }

.store-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 30px;
  margin: 40px auto 80px;
  max-width: 1120px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border: 1px solid var(--border-soft);
  position: relative;
  cursor: pointer;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
}

.product-image-container {
  width: 100%;
  height: 240px;
  background: var(--bg-lighter);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.product-card:hover .product-image {
  transform: scale(1.03);
}

.product-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--teal);
  color: var(--white);
  padding: 6px 12px;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 99px;
  z-index: 2;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}
.product-badge.guide {
  background: var(--orange);
}
.product-badge.free {
  background: var(--teal);
}

.product-info {
  padding: 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.3;
}

.product-desc {
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 24px;
  flex: 1;
}

.product-footer {
  border-top: 1px solid var(--border-soft);
  padding-top: 18px;
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.product-price {
  display: flex;
  flex-direction: column;
}
.price-amount {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--navy);
}
.price-label {
  font-size: 0.76rem;
  color: var(--text-muted);
  font-weight: 500;
}

.product-enrollment {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 14px;
  padding: 10px 12px;
  border-left: 3px solid var(--orange);
  background: rgba(233, 78, 60, 0.06);
  color: var(--navy-mid);
  font-size: 0.8rem;
  line-height: 1.4;
}

.product-enrollment span { color: var(--text-muted); }

@media (max-width: 480px) {
  .store-hero { padding: 42px 0 28px; }
  .store-grid { gap: 24px; margin: 30px auto 56px; }
  .product-info { padding: 22px; }
  .product-image-container { height: auto; aspect-ratio: 1.42 / 1; }
}

@media (max-width: 350px) {
  .product-footer { align-items: stretch; flex-direction: column; }
  .product-footer .btn { width: 100%; }
}
