.tdm-product-page {
  overflow-x: hidden;
  background: #f8fafc;
  color: #172033;
}

.tdm-product-main {
  min-width: 0;
}

.tdm-product-hero {
  padding: 28px 0 64px;
  background:
    radial-gradient(circle at 88% 12%, rgba(13, 148, 136, 0.12), transparent 31%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.tdm-product-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  margin-top: 34px;
}

.tdm-product-hero-copy,
.tdm-product-preview-card,
.tdm-product-benefit-grid > *,
.tdm-product-data-grid > *,
.tdm-product-license-grid > * {
  min-width: 0;
}

.tdm-product-hero-copy h1 {
  max-width: 720px;
  margin: 0;
  color: #172033;
  font-size: clamp(2.2rem, 4.5vw, 4.15rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.tdm-product-lead {
  max-width: 680px;
  margin: 24px 0 0;
  color: #526173;
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.72;
}

.tdm-product-proof-list {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.tdm-product-proof-list li {
  position: relative;
  padding-left: 30px;
  color: #223047;
  line-height: 1.55;
}

.tdm-product-proof-list li::before {
  position: absolute;
  top: 0.15em;
  left: 0;
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border: 1px solid #0f766e;
  border-radius: 6px;
  color: #0f766e;
  content: "✓";
  font-size: 0.78rem;
  font-weight: 800;
}

.tdm-product-answer-block {
  margin: 28px 0 0;
  padding: 18px 20px;
  border: 1px solid #b9ded9;
  border-radius: 16px;
  background: #ecfdf5;
  color: #164e63;
  font-weight: 650;
  line-height: 1.65;
}

.tdm-product-hero-actions {
  margin-top: 26px;
}

.tdm-product-offer {
  display: grid;
  gap: 14px;
  margin-top: 34px;
}

.tdm-product-offer > strong {
  color: #0f766e;
  font-size: clamp(2.3rem, 4vw, 3.25rem);
  letter-spacing: -0.035em;
}

.tdm-product-offer button,
.tdm-product-repeat-offer button {
  min-height: 52px;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  background: #e5e7eb;
  color: #64748b;
  font: inherit;
  font-weight: 800;
  cursor: not-allowed;
}

.tdm-product-offer button:not([disabled]),
.tdm-product-repeat-offer button:not([disabled]) {
  border-color: #0f766e;
  background: #0f766e;
  color: #ffffff;
  cursor: pointer;
}

.tdm-product-page [data-product-breadcrumb-link],
.tdm-product-source-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}

.tdm-product-offer p {
  margin: 0;
  color: #64748b;
  font-size: 0.94rem;
  line-height: 1.55;
}

.tdm-product-preview-card {
  overflow: hidden;
  border: 1px solid #d9e2ec;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.13);
}

.tdm-product-preview-card figure {
  margin: 0;
}

.tdm-product-preview-card figure[hidden] {
  display: none;
}

.tdm-product-preview-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1600 / 1132;
  object-fit: contain;
  background: #f7f2e8;
}

.tdm-product-preview-card figcaption {
  padding: 16px 20px;
  border-top: 1px solid #e2e8f0;
  color: #334155;
  font-weight: 750;
}

.tdm-product-editions {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: 32px;
  align-items: center;
  margin-top: clamp(42px, 6vw, 72px);
  padding: 28px;
  border: 1px solid #dce5ec;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
}

.tdm-product-editions h2,
.tdm-product-section h2,
.tdm-product-dashboard-cta h2 {
  margin: 0;
  color: #172033;
  font-size: clamp(1.55rem, 2.6vw, 2.25rem);
  letter-spacing: -0.025em;
}

.tdm-product-editions p,
.tdm-product-section-heading p {
  margin: 10px 0 0;
  color: #64748b;
  line-height: 1.65;
}

.tdm-product-edition-buttons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.tdm-product-edition-buttons button {
  display: grid;
  min-height: 64px;
  gap: 4px;
  padding: 12px 18px;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  background: #ffffff;
  color: #334155;
  text-align: left;
  font: inherit;
  cursor: pointer;
}

.tdm-product-edition-buttons button[aria-pressed="true"] {
  border-color: #0f766e;
  background: #0f766e;
  color: #ffffff;
}

.tdm-product-edition-buttons button:focus-visible,
.tdm-product-faq summary:focus-visible {
  outline: 3px solid #2dd4bf;
  outline-offset: 3px;
}

.tdm-product-edition-buttons span {
  font-size: 0.88rem;
  opacity: 0.82;
}

.tdm-product-section {
  padding-top: clamp(64px, 8vw, 104px);
}

.tdm-product-source-summary {
  padding-top: clamp(44px, 6vw, 72px);
}

.tdm-product-source-summary .tdm-product-section-heading,
.tdm-product-pdf-offer {
  padding: 28px;
  border: 1px solid #dce5ec;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
}

.tdm-product-pdf-offer {
  margin-top: 22px;
  background:
    linear-gradient(135deg, rgba(240, 253, 250, 0.92), rgba(255, 255, 255, 0.98));
}

.tdm-product-source-kicker {
  margin: 0 0 8px;
  color: #0f766e;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tdm-product-source-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.tdm-product-source-card-grid a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  margin-top: 12px;
  color: #0f766e;
  font-weight: 800;
  text-decoration: none;
}

.tdm-product-source-card-grid a:hover {
  text-decoration: underline;
}

.tdm-product-source-card-grid article {
  padding: 18px;
  border: 1px solid #dce5ec;
  border-radius: 16px;
  background: #f8fafc;
}

.tdm-product-source-card-grid h3 {
  margin: 0 0 8px;
  color: #172033;
  font-size: 1rem;
}

.tdm-product-source-card-grid p,
.tdm-product-source-disclaimer {
  margin: 0;
  color: #526173;
  line-height: 1.6;
}

.tdm-product-source-disclaimer {
  margin-top: 14px;
  font-size: 0.94rem;
}

.tdm-product-checklist {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.tdm-product-checklist li {
  position: relative;
  padding-left: 30px;
  color: #334155;
  line-height: 1.6;
}

.tdm-product-checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.08em;
  display: inline-grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 999px;
  background: #0f766e;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 900;
}

.tdm-product-map-section {
  margin-top: clamp(48px, 7vw, 82px);
}

.tdm-product-map-explorer .bd-map-canvas {
  min-height: clamp(520px, 62vw, 760px);
}

.tdm-product-directory {
  margin-top: clamp(42px, 6vw, 72px);
}

.tdm-product-directory-tools {
  display: grid;
  gap: 10px;
  margin: 24px 0 22px;
  padding: 18px;
  border: 1px solid #dce5ec;
  border-radius: 16px;
  background: #ffffff;
}

.tdm-product-directory-tools label {
  color: #172033;
  font-weight: 800;
}

.tdm-product-directory-tools > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.tdm-product-directory-tools input,
.tdm-product-directory-tools button {
  min-height: 44px;
  border-radius: 12px;
  font: inherit;
}

.tdm-product-directory-tools input {
  min-width: 0;
  border: 1px solid #cbd5e1;
  padding: 10px 14px;
  background: #f8fafc;
  color: #172033;
}

.tdm-product-directory-tools button {
  border: 1px solid #0f766e;
  padding: 10px 16px;
  background: #ffffff;
  color: #0f766e;
  font-weight: 800;
  cursor: pointer;
}

.tdm-product-directory-tools p,
.tdm-product-search-empty {
  margin: 0;
  color: #526173;
  line-height: 1.55;
}

.tdm-product-derived-badge {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  margin-top: 10px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #fff7ed;
  color: #9a3412;
  font-size: 0.78rem;
  font-weight: 800;
}

.tdm-product-section-heading {
  max-width: 780px;
}

.tdm-product-benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.tdm-product-benefit-grid article,
.tdm-product-data-grid article,
.tdm-product-license-grid article {
  padding: 26px;
  border: 1px solid #dce5ec;
  border-radius: 16px;
  background: #ffffff;
}

.tdm-product-benefit-grid h3,
.tdm-product-data-grid h3 {
  margin: 0;
  color: #172033;
  font-size: 1.06rem;
  line-height: 1.4;
}

.tdm-product-benefit-grid p,
.tdm-product-data-grid p,
.tdm-product-license-grid p {
  margin: 12px 0 0;
  color: #526173;
  line-height: 1.65;
}

.tdm-product-data-grid,
.tdm-product-license-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.tdm-product-note {
  display: flex;
  gap: 12px;
  margin-top: 18px;
  padding: 20px 22px;
  border-left: 4px solid #0f766e;
  border-radius: 0 12px 12px 0;
  background: #e8f7f5;
  color: #284253;
  line-height: 1.6;
}

.tdm-product-license-grid article {
  background: linear-gradient(145deg, #ffffff 0%, #f5faf9 100%);
}

.tdm-product-license-grid a {
  color: #0f766e;
  font-weight: 750;
}

.tdm-product-faq-list {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.tdm-product-faq details {
  overflow: hidden;
  border: 1px solid #dce5ec;
  border-radius: 12px;
  background: #ffffff;
}

.tdm-product-faq summary {
  min-height: 52px;
  padding: 15px 20px;
  color: #172033;
  font-weight: 750;
  cursor: pointer;
}

.tdm-product-faq details p {
  margin: 0;
  padding: 0 20px 20px;
  color: #526173;
  line-height: 1.65;
}

.tdm-product-dashboard-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  margin-top: clamp(64px, 8vw, 104px);
  margin-bottom: 72px;
  padding: 30px;
  border: 1px solid #b9ded9;
  border-radius: 18px;
  background: linear-gradient(135deg, #edf9f7 0%, #f8fafc 100%);
}

.tdm-product-repeat-offer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.35fr);
  gap: 28px;
  align-items: center;
  margin-top: clamp(64px, 8vw, 104px);
  padding: 30px;
  border: 1px solid #dce5ec;
  border-radius: 18px;
  background: #ffffff;
}

.tdm-product-repeat-offer h2 {
  margin: 0;
  color: #172033;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
}

.tdm-product-repeat-offer p {
  margin: 10px 0 0;
  color: #526173;
  line-height: 1.65;
}

.tdm-product-dashboard-cta p {
  max-width: 720px;
  margin: 10px 0 0;
  color: #526173;
  line-height: 1.65;
}

.tdm-product-dashboard-cta .seo-button {
  min-height: 48px;
  white-space: nowrap;
}

.tdm-product-agent-data {
  padding-top: 0;
  padding-bottom: 72px;
}

.tdm-product-agent-data ul {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding-left: 20px;
}

.tdm-product-agent-data li {
  color: #334155;
  line-height: 1.6;
}

.tdm-product-agent-data code {
  border-radius: 6px;
  background: #e2e8f0;
  padding: 2px 5px;
  color: #172033;
  font-size: 0.92em;
}

.tdm-order-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 15% 18%, rgba(13, 148, 136, 0.11), transparent 26rem),
    #f8fafc;
}

.tdm-order-shell {
  width: min(100% - 32px, 760px);
  padding-top: clamp(36px, 7vw, 72px);
  padding-bottom: 72px;
}

.tdm-order-heading {
  text-align: center;
}

.tdm-order-heading h1 {
  max-width: 680px;
  margin: 24px auto 0;
  color: #172033;
  font-size: clamp(2rem, 5vw, 3.35rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.tdm-order-heading > p {
  max-width: 630px;
  margin: 18px auto 0;
  color: #526173;
  font-size: 1.04rem;
  line-height: 1.7;
}

.tdm-order-back {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: #0f766e;
  font-weight: 750;
  text-decoration: none;
}

.tdm-order-card {
  overflow: hidden;
  margin-top: 34px;
  border: 1px solid #d5e1e8;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.1);
}

.tdm-order-summary {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid #e2e8f0;
  background: #f3faf8;
  color: #334155;
}

.tdm-order-summary strong {
  flex: 0 0 auto;
  color: #0f766e;
  font-size: 1.15rem;
}

.tdm-order-live {
  display: grid;
  justify-items: center;
  padding: clamp(28px, 6vw, 48px) clamp(20px, 6vw, 52px);
  text-align: center;
}

.tdm-order-announcement {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  margin: -1px;
  padding: 0;
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.tdm-order-live h2 {
  margin: 14px 0 0;
  color: #172033;
  font-size: clamp(1.45rem, 4vw, 2rem);
}

.tdm-order-live > p {
  max-width: 520px;
  margin: 12px 0 0;
  color: #526173;
  line-height: 1.6;
}

.tdm-order-status-mark {
  width: 42px;
  height: 42px;
  border: 4px solid #cbd5e1;
  border-top-color: #0f766e;
  border-radius: 50%;
  animation: tdm-order-spin 0.9s linear infinite;
}

.tdm-order-live[data-state="paid"] .tdm-order-status-mark {
  display: grid;
  border: 0;
  background: #dff7ef;
  color: #087f5b;
  animation: none;
  place-items: center;
}

.tdm-order-live[data-state="paid"] .tdm-order-status-mark::after {
  content: "✓";
  font-size: 1.5rem;
  font-weight: 900;
}

.tdm-order-live[data-state="expired"] .tdm-order-status-mark,
.tdm-order-live[data-state="cancelled"] .tdm-order-status-mark,
.tdm-order-live[data-state="payment_review"] .tdm-order-status-mark,
.tdm-order-live[data-state="unavailable"] .tdm-order-status-mark {
  border: 0;
  background: #fff3d6;
  animation: none;
}

.tdm-order-qr {
  width: min(78vw, 296px);
  margin-top: 24px;
  padding: 10px;
  border: 1px solid #d9e2ec;
  border-radius: 16px;
  background: #ffffff;
}

.tdm-order-qr img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
}

.tdm-order-amount {
  margin-top: 20px;
  color: #0f766e;
  font-size: clamp(1.9rem, 5vw, 2.5rem);
  letter-spacing: -0.035em;
}

.tdm-order-label,
.tdm-order-countdown,
.tdm-order-expiry,
.tdm-order-public-id {
  overflow-wrap: anywhere;
}

.tdm-order-countdown {
  font-variant-numeric: tabular-nums;
  font-weight: 750;
}

.tdm-order-actions {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 26px;
}

.tdm-order-primary,
.tdm-order-secondary {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 11px 20px;
  border-radius: 12px;
  font: inherit;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.tdm-order-primary {
  border: 1px solid #0f766e;
  background: #0f766e;
  color: #ffffff;
}

.tdm-order-secondary {
  border: 1px solid #b9c8d3;
  background: #ffffff;
  color: #26364d;
}

.tdm-order-back:focus-visible,
.tdm-order-primary:focus-visible,
.tdm-order-secondary:focus-visible {
  outline: 3px solid #2dd4bf;
  outline-offset: 3px;
}

.tdm-order-note {
  padding: 20px 24px;
  border-top: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #526173;
  line-height: 1.55;
}

.tdm-order-note strong {
  color: #26364d;
}

.tdm-order-note p {
  margin: 6px 0 0;
}

.tdm-order-noscript {
  margin-top: 18px;
  padding: 16px;
  border-radius: 12px;
  background: #fff3d6;
  color: #6b4f12;
}

@keyframes tdm-order-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 960px) {
  .tdm-product-hero-grid,
  .tdm-product-editions {
    grid-template-columns: 1fr;
  }

  .tdm-product-benefit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .tdm-product-hero {
    padding: 18px 0 48px;
  }

  .tdm-product-hero-grid {
    gap: 32px;
    margin-top: 24px;
  }

  .tdm-product-editions {
    margin-top: 0;
    padding: 20px;
  }

  .tdm-product-edition-buttons,
  .tdm-product-benefit-grid,
  .tdm-product-data-grid,
  .tdm-product-license-grid,
  .tdm-product-repeat-offer,
  .tdm-product-source-card-grid,
  .tdm-product-dashboard-cta {
    grid-template-columns: 1fr;
  }

  .tdm-product-dashboard-cta {
    margin-bottom: 48px;
    padding: 24px 20px;
  }

  .tdm-product-dashboard-cta .seo-button {
    width: 100%;
    white-space: normal;
    text-align: center;
  }

  .tdm-product-directory-tools > div {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .tdm-product-proof-list li {
    padding-left: 28px;
  }

  .tdm-product-benefit-grid article,
  .tdm-product-data-grid article,
  .tdm-product-license-grid article {
    padding: 22px 18px;
  }

  .tdm-product-note {
    display: grid;
  }

  .tdm-order-shell {
    width: min(100% - 24px, 760px);
  }

  .tdm-order-summary {
    align-items: flex-start;
    padding: 16px 18px;
  }

  .tdm-order-actions {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tdm-order-status-mark {
    animation: none;
  }
}
