/* Product page — leet-cheats clone */

.page-product {
  min-height: 100vh;
  background: var(--bg);
}

.page-product .page-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page-product .container.nav-shell {
  margin-top: 12px;
}

.page-product .nav {
  margin: 0;
}

.product-hero {
  padding: 40px 0 24px;
}

.product-hero-title {
  margin: 0 0 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.product-hero-badges {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  max-width: 100%;
}

.product-hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: none;
  line-height: 1.2;
  white-space: nowrap;
  background: rgba(239, 22, 41, 0.12);
  color: #ff6b7a;
  vertical-align: middle;
}

.product-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 32px;
  align-items: start;
}

.product-desc {
  margin-top: 0;
}

.product-desc-accent {
  color: var(--accent, #ef4444);
  font-weight: 600;
}

.product-copy p {
  margin: 0 0 14px;
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 0.98rem;
}

.product-price--hero {
  margin: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: 1;
}

.product-price-current {
  font-size: clamp(2.75rem, 5.5vw, 3.5rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1;
  text-align: center;
}
.product-purchase {
  margin: 0 0 18px;
  padding: 0 0 18px;
  border-top: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
  width: min(100%, 520px);
  max-width: 100%;
}

.product-term {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  width: 100%;
  height: 46px;
  gap: 0;
  margin-bottom: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  overflow: hidden;
  box-sizing: border-box;
}

.product-term-btn {
  width: 100%;
  min-width: 0;
  height: 46px;
  padding: 0 14px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  line-height: 46px;
}

.product-term-btn + .product-term-btn {
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.product-term-btn.is-active {
  background: var(--bg-elevated);
  color: #fff;
}

.product-term-btn:hover:not(.is-active) {
  color: #fff;
}

.product-buy-row {
  display: flex;
  align-items: stretch;
  width: 100%;
  box-sizing: border-box;
  min-height: 56px;
  padding: 0;
  border-radius: 12px;
  background: transparent;
  overflow: hidden;
}

.product-price {
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
}

.product-price-old {
  grid-column: 3;
  justify-self: start;
  align-self: center;
  margin-left: 12px;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-dim);
  text-decoration: line-through;
  letter-spacing: 0;
  line-height: 1;
}

.product-buy-row .btn,
.product-checkout-btn {
  margin: 0;
  width: 100%;
  min-width: 0;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.product-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-elevated);
  min-height: 320px;
  aspect-ratio: 16 / 10;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.product-functional {
  padding: 28px 0 64px;
}

.product-functional h2 {
  margin: 0 0 18px;
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
}

.func-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.func-card {
  padding: 18px 16px;
  border-radius: var(--radius);
  background: var(--bg-card);
}

.func-card h3 {
  margin: 0 0 12px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
}

.func-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.func-card li {
  position: relative;
  padding-left: 14px;
  margin-bottom: 6px;
  color: #fff;
  font-size: 0.92rem;
  line-height: 1.35;
}

.func-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff;
}

.page-product .footer {
  margin-top: auto;
}

@media (max-width: 980px) {
  .product-hero-grid {
    grid-template-columns: 1fr;
  }

  .func-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .func-grid {
    grid-template-columns: 1fr;
  }

  .product-buy-row {
  display: flex;
  align-items: stretch;
  width: 100%;
  box-sizing: border-box;
  min-height: 56px;
  padding: 0;
  border-radius: 12px;
  background: transparent;
  overflow: hidden;
}
}

