/**
 * PradhiCA — ABC product / payment pages (pricing + Razorpay)
 * Scope: body.pg-abc-product (uses .abc-hero from abc-series-hub-premium.css)
 */
.pg-abc-product {
  background: #f8fafc;
}

/* Mode-specific hero (overrides pg-abc-home--final amber) */
.pg-abc-product--online .abc-hero {
  background: linear-gradient(128deg, #042f2e 0%, #0f766e 38%, #115e59 62%, #0d9488 100%);
}

.pg-abc-product--online .abc-hero::before {
  background:
    radial-gradient(ellipse 70% 55% at 88% 8%, rgba(45, 212, 191, 0.28), transparent 55%),
    radial-gradient(circle at 12% 85%, rgba(255, 255, 255, 0.06), transparent 42%);
}

.pg-abc-product--online .abc-trust i {
  color: #5eead4;
}

.pg-abc-product--direct .abc-hero {
  background: linear-gradient(128deg, #0c1222 0%, #1e1b4b 32%, #312e81 58%, #1d4ed8 100%);
}

.pg-abc-product--direct .abc-hero::before {
  background:
    radial-gradient(ellipse 75% 55% at 10% 25%, rgba(129, 140, 248, 0.35), transparent 55%),
    radial-gradient(circle at 85% 90%, rgba(255, 255, 255, 0.05), transparent 42%);
}

.pg-abc-product--direct .abc-trust i {
  color: #a5b4fc;
}

.pg-abc-product .abc-trust__link {
  color: inherit;
  text-decoration: none;
  font-weight: 700;
}

.pg-abc-product .abc-pricing {
  padding: clamp(2.5rem, 5vw, 3.5rem) 0 calc(3rem + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, #fffbeb 0%, #f8fafc 18%, #fff 45%);
  border-bottom: 1px solid #fde68a;
}

.pg-abc-product--direct .abc-pricing {
  background: linear-gradient(180deg, #eef2ff 0%, #f8fafc 18%, #fff 45%);
  border-bottom-color: #c7d2fe;
}

.pg-abc-product--online .abc-pricing {
  background: linear-gradient(180deg, #eff6ff 0%, #f8fafc 18%, #fff 45%);
  border-bottom-color: #bfdbfe;
}

.pg-abc-product--online .abc-back-link {
  color: #2563eb !important;
  border-color: #bfdbfe;
}

.pg-abc-product--online .abc-back-link:hover {
  background: #eff6ff;
  border-color: #93c5fd;
  color: #1d4ed8 !important;
}

.pg-abc-product--direct .abc-back-link {
  color: #4f46e5 !important;
  border-color: #c7d2fe;
}

.pg-abc-product--direct .abc-back-link:hover {
  background: #eef2ff;
  border-color: #a5b4fc;
  color: #4338ca !important;
}

.pg-abc-product .abc-pricing__head {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2rem;
}

.pg-abc-product .abc-pricing__head h2 {
  font-family: "DM Sans", "Maven Pro", sans-serif;
  font-weight: 800;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  color: #0f172a;
  margin: 0 0 0.5rem;
}

.pg-abc-product .abc-pricing__head p {
  margin: 0;
  color: #64748b;
  font-size: 1rem;
  line-height: 1.6;
}

.pg-abc-product .abc-pricing__back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0;
  font-weight: 700;
  font-size: 0.88rem;
  border-radius: 999px;
  padding: 0.45rem 1rem;
}

.pg-abc-product .abc-product-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.pg-abc-product .abc-product-actions__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #475569 !important;
  background: #fff;
  border: 1.5px solid #e2e8f0;
  text-decoration: none !important;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.pg-abc-product--online .abc-product-actions__pill:hover {
  background: #eff6ff;
  border-color: #93c5fd;
  color: #1d4ed8 !important;
  transform: translateY(-1px);
}

.pg-abc-product--direct .abc-product-actions__pill:hover {
  background: #eef2ff;
  border-color: #a5b4fc;
  color: #4338ca !important;
  transform: translateY(-1px);
}

.pg-abc-product .pg-single__features {
  max-width: 960px;
  margin: 0 auto 2rem;
  padding: 1.25rem 1.35rem;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem 1.15rem;
  background: #fff;
  border-radius: 16px;
  border: 1px solid #fde68a;
  box-shadow: 0 4px 24px rgba(180, 83, 9, 0.1);
}

.pg-abc-product--online .pg-single__features {
  border-color: #bfdbfe;
  box-shadow: 0 4px 24px rgba(37, 99, 235, 0.1);
}

@media (min-width: 992px) {
  .pg-abc-product .pg-single__features {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.pg-abc-product .pg-single__features li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  color: #475569;
  font-size: 0.9rem;
  margin: 0;
}

.pg-abc-product .pg-single__features i {
  flex-shrink: 0;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  color: #fff !important;
  background: linear-gradient(135deg, #b45309, #d97706);
  margin: 0.1rem 0 0 !important;
}

.pg-abc-product--online .pg-single__features i {
  background: linear-gradient(135deg, #2563eb, #3b82f6);
}

.pg-abc-product .abc-price-block {
  width: 100%;
  margin: 2rem 0 1rem;
  text-align: center;
}

.pg-abc-product .abc-price-block__title {
  font-family: "DM Sans", sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  color: #0f172a;
  margin: 0;
  padding-bottom: 0.65rem;
  border-bottom: 2px solid #e2e8f0;
  display: inline-block;
  min-width: min(100%, 20rem);
}

.pg-abc-product .abc-price-block__title .text-primary {
  color: #b45309 !important;
}

.pg-abc-product--online .abc-price-block__title .text-primary {
  color: #2563eb !important;
}

.pg-abc-product .abc-price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
  width: 100%;
}

.pg-abc-product .abc-price-tier {
  margin-bottom: 0.5rem;
}

.pg-abc-product .abc-price-grid > .abc-price-card,
.pg-abc-product .abc-price-grid > .col-md-4 {
  max-width: 100%;
  flex: none;
  width: 100%;
  padding: 0;
  margin: 0 !important;
}

.pg-abc-product .card {
  border: none !important;
  border-radius: 18px !important;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.09) !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #fff;
}

.pg-abc-product .card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.14) !important;
}

.pg-abc-product .card .card-header:first-child {
  background: linear-gradient(135deg, #0f172a, #1e3a5f) !important;
  border-bottom: none !important;
  padding: 1rem 1.15rem !important;
}

.pg-abc-product--online .card .card-header:first-child {
  background: linear-gradient(135deg, #1e3a8a, #2563eb) !important;
}

.pg-abc-product .card .card-header:first-child h3 {
  color: #fff !important;
  font-family: "DM Sans", sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
}

.pg-abc-product .card .badge {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.35em 0.65em;
}

.pg-abc-product .card .card-header.py-5 {
  background: #fff !important;
  padding: 1.75rem 1.15rem !important;
  border-bottom: 1px solid #f1f5f9 !important;
}

.pg-abc-product .card .display-4 {
  font-family: "DM Sans", sans-serif;
  font-weight: 800 !important;
  font-size: clamp(1.75rem, 4vw, 2.25rem) !important;
  color: #059669 !important;
  letter-spacing: -0.02em;
}

.pg-abc-product .card .card-header.py-5 p {
  font-size: 0.82rem;
  color: #64748b;
  margin-bottom: 0.25rem;
}

.pg-abc-product .card-footer {
  background: linear-gradient(180deg, #fafafa, #f4f4f5) !important;
  border-top: 1px solid #e4e4e7 !important;
  padding: 1.15rem !important;
  margin-top: auto;
}

.pg-abc-product .card-footer .razorpay-embed-btn {
  display: block;
  width: 100%;
}

.pg-abc-product .col-md-4:nth-of-type(3) .card,
.pg-abc-product .abc-price-card--popular .card {
  border: 2px solid #fcd34d !important;
  box-shadow: 0 16px 48px rgba(217, 119, 6, 0.15) !important;
}

.pg-abc-product--online .col-md-4:nth-of-type(3) .card,
.pg-abc-product--online .abc-price-card--popular .card {
  border-color: #93c5fd !important;
  box-shadow: 0 16px 48px rgba(37, 99, 235, 0.15) !important;
}

.pg-abc-product .abc-pricing__note {
  text-align: center;
  margin-top: 2rem;
  padding: 1.25rem;
  background: #fff;
  border-radius: 12px;
  border: 1px dashed #cbd5e1;
  color: #64748b;
  font-size: 0.9rem;
}

.pg-abc-product .abc-pricing__note a {
  font-weight: 700;
  color: #b45309;
}

.pg-abc-product--online .abc-pricing__note a {
  color: #2563eb;
}

.pg-abc-product .abc-product-sticky {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1025;
  padding: 0.65rem 1rem calc(0.65rem + env(safe-area-inset-bottom));
  background: rgba(15, 23, 42, 0.97);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.2);
  gap: 0.5rem;
  justify-content: center;
}

@media (max-width: 767.98px) {
  .pg-abc-product .abc-product-sticky {
    display: flex;
  }

  .pg-abc-product {
    padding-bottom: 72px;
  }
}

.pg-abc-product .abc-product-sticky a {
  flex: 1;
  text-align: center;
  padding: 0.55rem 0.65rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.78rem;
  text-decoration: none !important;
}

.pg-abc-product .abc-product-sticky .abc-product-sticky--gold {
  background: #fbbf24;
  color: #1c1917 !important;
}

.pg-abc-product--direct .pg-single__features {
  border-color: #c7d2fe;
  box-shadow: 0 4px 24px rgba(79, 70, 229, 0.1);
}

.pg-abc-product--direct .pg-single__features i {
  background: linear-gradient(135deg, #4f46e5, #6366f1);
}

.pg-abc-product--direct .abc-price-block__title .text-primary {
  color: #4f46e5 !important;
}

.pg-abc-product--direct .abc-pricing__note a {
  color: #4f46e5;
}

.pg-abc-product .abc-product-sticky .abc-product-sticky--outline {
  background: transparent;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

/* Venue / online info blocks */
.pg-abc-product .pg-venue-block,
.pg-abc-product .pg-online-block {
  margin-top: 2.5rem;
  padding: 0;
  background: transparent;
  border: none;
}

.pg-abc-product .pg-venue-block__inner {
  padding: 2rem 1.75rem;
  border-radius: 24px;
  color: #fff;
  background: linear-gradient(135deg, #1e1b4b 0%, #4c1d95 40%, #1d4ed8 100%);
  box-shadow: 0 20px 60px rgba(76, 29, 149, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.12);
  position: relative;
  overflow: hidden;
}

.pg-abc-product .pg-venue-block__inner::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -20%;
  width: 55%;
  height: 120%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, transparent 65%);
  pointer-events: none;
}

.pg-abc-product .pg-venue-block__inner > * {
  position: relative;
  z-index: 1;
}

.pg-abc-product .pg-venue-block__label {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88) !important;
  margin-bottom: 0.5rem;
}

.pg-abc-product .pg-venue-block__title {
  font-family: "DM Sans", sans-serif;
  font-size: clamp(1.35rem, 3vw, 1.65rem);
  font-weight: 800;
  margin: 0 0 1rem;
  line-height: 1.25;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  color: #fff !important;
}

.pg-abc-product .pg-venue-block__title i {
  color: #c4b5fd !important;
}

.pg-abc-product .pg-venue-block__brand {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
  color: #e0e7ff;
}

.pg-abc-product .pg-venue-block__address {
  font-size: 1.02rem;
  line-height: 1.65;
  font-weight: 600;
  margin: 0 0 1.35rem;
  max-width: 40rem;
  color: rgba(255, 255, 255, 0.94);
}

.pg-abc-product .pg-venue-block__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  padding: 0.9rem 1.65rem;
  border-radius: 999px;
  background: #fff;
  color: #4c1d95 !important;
  text-decoration: none !important;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pg-abc-product .pg-venue-block__btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.22);
  color: #1e1b4b !important;
}

.pg-abc-product .pg-online-block__inner {
  padding: 2rem 1.75rem;
  border-radius: 24px;
  color: #fff;
  background: linear-gradient(135deg, #042f2e 0%, #0f766e 45%, #0d9488 100%);
  box-shadow: 0 20px 60px rgba(13, 148, 136, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.12);
  position: relative;
  overflow: hidden;
}

.pg-abc-product .pg-online-block__inner::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -20%;
  width: 55%;
  height: 120%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 65%);
  pointer-events: none;
}

.pg-abc-product .pg-online-block__inner > * {
  position: relative;
  z-index: 1;
}

.pg-abc-product .pg-online-block__label {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88) !important;
  margin-bottom: 0.5rem;
}

.pg-abc-product .pg-online-block__title {
  font-family: "DM Sans", sans-serif;
  font-size: clamp(1.25rem, 3vw, 1.55rem);
  font-weight: 800;
  margin: 0 0 1rem;
  line-height: 1.25;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  color: #fff !important;
}

.pg-abc-product .pg-online-block__title i {
  color: #99f6e4;
}

.pg-abc-product .pg-online-block__text {
  font-size: 1.02rem;
  line-height: 1.65;
  margin: 0 0 1.25rem;
  max-width: 42rem;
  color: rgba(255, 255, 255, 0.92);
}

.pg-abc-product .pg-online-block__text a {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pg-abc-product .pg-online-block__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  padding: 0.9rem 1.65rem;
  border-radius: 999px;
  background: #fff;
  color: #042f2e !important;
  text-decoration: none !important;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pg-abc-product .pg-online-block__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.2);
  color: #042f2e !important;
}

@media (min-width: 768px) {
  .pg-abc-product .pg-venue-block__inner,
  .pg-abc-product .pg-online-block__inner {
    padding: 2.25rem 2.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pg-abc-product .card,
  .pg-abc-product .abc-product-actions__pill,
  .pg-abc-product .pg-venue-block__btn,
  .pg-abc-product .pg-online-block__btn {
    transition: none;
  }

  .pg-abc-product .card:hover {
    transform: none;
  }
}
