/* ===================================================
   Product Overview Pages — product.css
   Extends styles.css — same design tokens apply
   =================================================== */

/* --- Hero overrides for product pages --- */
.hero-brand-link {
  text-decoration: none;
  display: block;
}

.product-hero {
  padding: 80px 20px 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.product-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,235,59,0.18);
  border: 1px solid rgba(255,235,59,0.45);
  color: var(--es-yellow);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 999px;
}

.diy-badge {
  background: rgba(204,34,34,0.18);
  border-color: rgba(204,34,34,0.45);
  color: #ff7070;
}

.hero-sub {
  color: rgba(255,255,255,0.80) !important;
  font-size: 17px !important;
  max-width: 520px;
  line-height: 1.55;
  opacity: 1 !important;
}

.hero-price-pill {
  display: inline-block;
  background: var(--es-yellow);
  color: #042C53;
  font-size: 15px;
  font-weight: 800;
  padding: 8px 24px;
  border-radius: 999px;
  margin-top: 4px;
  letter-spacing: 0.5px;
}

.diy-hero {
  background: linear-gradient(135deg, rgba(140,20,20,0.88) 0%, rgba(4,44,83,0.97) 100%),
              url('https://images.unsplash.com/photo-1554224155-6726b3ff858f?q=80&w=2070');
  background-size: cover;
  background-position: center;
}

.diy-pill {
  background: var(--es-red);
  color: #fff;
}

/* --- Overview Stats Strip --- */
.overview-strip {
  background: var(--es-blue);
  padding: 28px 24px;
  display: flex;
  justify-content: center;
}

.diy-strip { background: var(--es-red); }

.overview-strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  max-width: 860px;
  width: 100%;
}

.overview-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: #fff;
}

.overview-stat i {
  font-size: 20px;
  color: var(--es-yellow);
  margin-bottom: 4px;
}

.stat-num {
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
}

.stat-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
}

.overview-divider {
  width: 1px;
  height: 44px;
  background: rgba(255,255,255,0.2);
}

@media (max-width: 600px) {
  .overview-divider { display: none; }
  .overview-strip-inner { gap: 20px; }
}

/* --- Main Product Content --- */
.product-content-section {
  padding: 72px 24px 80px;
  max-width: 1100px;
  margin: 0 auto;
}

.product-content-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 56px;
  align-items: start;
}

@media (max-width: 900px) {
  .product-content-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* --- Media Column (left) --- */
.product-media-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: 28px;
}

@media (max-width: 900px) {
  .product-media-col { position: static; }
}

.product-img-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  height: 260px;
  box-shadow: 0 12px 40px rgba(24,95,165,0.18);
}

.diy-img-card {
  box-shadow: 0 12px 40px rgba(204,34,34,0.18);
}

.product-img-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-img-card .card-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(4,44,83,0.80) 0%, rgba(4,44,83,0.10) 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
}

.product-img-card .card-img-overlay h2 {
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 4px;
}

.product-img-card .card-img-overlay .price-tag {
  color: rgba(255,255,255,0.85);
  font-size: 15px;
  font-weight: 500;
}

.product-img-card .img-divider {
  width: 40px;
  height: 2px;
  background: rgba(255,255,255,0.5);
  margin-bottom: 8px;
}

/* --- CTA Card --- */
.cta-card {
  background: #fff;
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 8px 32px rgba(24,95,165,0.12);
  border-top: 4px solid var(--es-blue);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.diy-cta-card { border-top-color: var(--es-red); }

.cta-price {
  display: flex;
  flex-direction: column;
}

.cta-price-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #999;
}

.cta-price-amount {
  font-size: 42px;
  font-weight: 800;
  color: var(--es-blue);
  line-height: 1.1;
}

.diy-cta-card .cta-price-amount { color: var(--es-red); }

.cta-perks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cta-perks li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #444;
  font-weight: 500;
}

.cta-perks li i {
  color: var(--es-blue);
  font-size: 13px;
  flex-shrink: 0;
}

.diy-cta-card .cta-perks li i { color: var(--es-red); }

.btn-register-large {
  padding: 16px 24px;
  font-size: 16px;
  border-radius: 12px;
}

.course-card-featured-btn {
  background: var(--es-red) !important;
  color: #fff !important;
  box-shadow: 0 6px 20px rgba(204,34,34,0.30);
}

.course-card-featured-btn:hover {
  box-shadow: 0 10px 30px rgba(204,34,34,0.45) !important;
}

.cta-note {
  font-size: 12px;
  color: #999;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* --- Details Column (right) --- */
.product-section-label {
  display: inline-block;
  background: #E6F1FB;
  color: var(--es-blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.diy-label {
  background: #fde8e8;
  color: var(--es-red);
}

.product-section-title {
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 800;
  color: var(--es-blue);
  line-height: 1.2;
  margin-bottom: 16px;
}

.product-section-desc {
  font-size: 16px;
  color: #555;
  line-height: 1.75;
  margin-bottom: 36px;
}

/* --- Feature List (detail) --- */
.product-features {
  background: #fff;
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 4px 20px rgba(24,95,165,0.08);
  margin-bottom: 32px;
}

.features-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--es-blue);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.features-title i { color: var(--es-red); }

.feature-list-detail {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.feature-list-detail li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid #f0f4fb;
}

.feature-list-detail li:last-child { border-bottom: none; }

.feature-icon-wrap {
  width: 40px;
  height: 40px;
  background: #E6F1FB;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--es-blue);
  font-size: 16px;
  flex-shrink: 0;
}

.diy-icon-wrap {
  background: #fde8e8;
  color: var(--es-red);
}

.feature-list-detail li strong {
  display: block;
  font-size: 15px;
  color: var(--es-text);
  margin-bottom: 4px;
}

.feature-list-detail li p {
  font-size: 13px;
  color: #777;
  line-height: 1.55;
  margin: 0;
}

/* --- Who Qualifies Card (DIY) --- */
.who-card {
  background: #fff;
  border-radius: 20px;
  padding: 28px 32px;
  box-shadow: 0 4px 20px rgba(24,95,165,0.08);
  margin-bottom: 32px;
}

.who-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 4px;
}

@media (max-width: 600px) {
  .who-grid { grid-template-columns: repeat(2, 1fr); }
}

.who-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: #fde8e8;
  border-radius: 12px;
  padding: 14px 8px;
  text-align: center;
}

.who-item i {
  font-size: 20px;
  color: var(--es-red);
}

.who-item span {
  font-size: 12px;
  font-weight: 600;
  color: #555;
  line-height: 1.3;
}

/* --- Mini Steps --- */
.product-steps-mini {
  background: #fff;
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 4px 20px rgba(24,95,165,0.08);
  margin-bottom: 32px;
}

.steps-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 8px;
}

@media (max-width: 600px) {
  .steps-mini-grid { grid-template-columns: 1fr; }
}

.step-mini {
  text-align: center;
}

.step-mini .step-number {
  width: 44px;
  height: 44px;
  background: var(--es-blue);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 17px;
  margin: 0 auto 12px;
  box-shadow: 0 6px 20px rgba(24,95,165,0.25);
}

.diy-step .step-number {
  background: var(--es-red);
  box-shadow: 0 6px 20px rgba(204,34,34,0.25);
}

.step-mini h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--es-blue);
  margin-bottom: 6px;
}

.diy-step h4 { color: var(--es-red); }

.step-mini p {
  font-size: 13px;
  color: #777;
  line-height: 1.5;
}

/* --- Mobile CTA button (shows only on small) --- */
.btn-register-mobile {
  display: none;
  margin-top: 4px;
}

@media (max-width: 900px) {
  .btn-register-mobile { display: flex; }
}

/* --- Back to Home --- */
.back-to-home {
  display: flex;
  justify-content: center;
  padding: 0 24px 60px;
}

.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 24px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  background: #E6F1FB;
  color: var(--es-blue);
  transition: transform 0.2s, box-shadow 0.2s;
  letter-spacing: 0.3px;
}

.btn-back:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(24,95,165,0.18);
}

/* ==============================================
   TRACKER THEME — Tax Deduction Tracker page
   Uses teal/gold to distinguish from other pages
   ============================================== */
:root { --es-teal: #0d7a6b; --es-gold: #e6a817; }

.tracker-hero {
  background: linear-gradient(135deg, rgba(13,122,107,0.90) 0%, rgba(4,44,83,0.97) 100%),
              url('https://images.unsplash.com/photo-1554224155-6726b3ff858f?q=80&w=2070');
  background-size: cover;
  background-position: center;
}

.tracker-badge {
  background: rgba(230,168,23,0.18);
  border-color: rgba(230,168,23,0.45);
  color: var(--es-gold);
}

.tracker-pill { background: var(--es-gold); color: #042C53; }

.tracker-strip { background: var(--es-teal); }

.tracker-img-card { box-shadow: 0 12px 40px rgba(13,122,107,0.20); }

.tracker-cta-card { border-top-color: var(--es-teal); }

.tracker-price { color: var(--es-teal); }

.tracker-cta-card .cta-perks li i { color: var(--es-teal); }

.tracker-btn {
  background: var(--es-teal) !important;
  color: #fff !important;
  box-shadow: 0 6px 20px rgba(13,122,107,0.30);
}
.tracker-btn:hover { box-shadow: 0 10px 30px rgba(13,122,107,0.45) !important; }

.tracker-label { background: #d4f0eb; color: var(--es-teal); }

.tracker-icon-wrap { background: #d4f0eb; color: var(--es-teal); }

.tracker-who .who-item { background: #d4f0eb; }
.tracker-who-item i { color: var(--es-teal) !important; }

.tracker-step .step-number {
  background: var(--es-teal);
  box-shadow: 0 6px 20px rgba(13,122,107,0.25);
}
.tracker-step h4 { color: var(--es-teal); }
