/* Boxis TLD detail — OVH-inspired, Boxis navy/orange */
.bx-td {
  --bx-navy: #071736;
  --bx-navy-2: #0b2a5a;
  --bx-orange: #ff8b3d;
  --bx-ink: #0f172a;
  --bx-muted: #64748b;
  --bx-line: #e2e8f0;
  --bx-soft: #f1f5f9;
  --bx-ok: #16a34a;
  --bx-ok-soft: #dcfce7;
  --bx-best: #1d4ed8;
  --bx-best-soft: #dbeafe;
  font-family: Rubik, "Segoe UI", sans-serif;
  color: var(--bx-ink);
  background: #fff;
}

.bx-td .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.bx-td-wrap {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.bx-td-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 80% at 90% 10%, rgba(255, 139, 61, 0.22), transparent 55%),
    linear-gradient(165deg, var(--bx-navy) 0%, var(--bx-navy-2) 100%);
  color: #fff;
  padding: 2.5rem 0 3rem;
}

.bx-td-crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  margin-bottom: 1.25rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.65);
}

.bx-td-crumb a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

.bx-td-crumb a:hover {
  color: #fff;
  text-decoration: underline;
}

.bx-td-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(240px, 0.8fr);
  gap: 1.75rem;
  align-items: start;
}

.bx-td-kicker {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.bx-td .bx-td-hero h1,
.bx-td-hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.85rem, 3.4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #fff !important;
}

.bx-td-lead {
  margin: 0;
  max-width: 38rem;
  font-size: 1.05rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
}

.bx-td-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1rem;
}

.bx-td-badge {
  display: inline-flex;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
}

.bx-td-badge.is-promo {
  background: var(--bx-ok-soft);
  color: #166534;
}

.bx-td-badge.is-best {
  background: var(--bx-best-soft);
  color: var(--bx-best);
}

.bx-td-price-card {
  background: #fff;
  color: var(--bx-ink);
  border-radius: 1rem;
  padding: 1.25rem 1.35rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}

.bx-td-price-label {
  margin: 0 0 0.35rem;
  font-size: 0.8rem;
  font-weight: 650;
  color: var(--bx-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.bx-td-price-old {
  margin: 0;
  font-size: 0.9rem;
  color: var(--bx-muted);
  text-decoration: line-through;
}

.bx-td-price-now {
  margin: 0.15rem 0 0.85rem;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--bx-navy);
}

.bx-td-price-now small {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--bx-muted);
}

.bx-td-price-meta {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--bx-line);
}

.bx-td-price-meta li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.9rem;
}

.bx-td-price-meta span {
  color: var(--bx-muted);
}

.bx-td-vat {
  margin: 0.75rem 0 0;
  font-size: 0.75rem;
  color: var(--bx-muted);
}

.bx-td-searchbar {
  background: #e8eef8;
  padding: 1.35rem 0 1.15rem;
  border-bottom: 1px solid #d5deee;
}

.bx-td-search-form {
  display: flex;
  gap: 0.65rem;
  max-width: 720px;
  margin: 0 auto;
}

.bx-td-search-shell {
  flex: 1;
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 0.65rem;
  border: 1px solid #dbe3f0;
  box-shadow: 0 8px 24px rgba(7, 23, 54, 0.06);
  overflow: hidden;
}

.bx-td-search-shell input {
  flex: 1;
  border: 0;
  outline: 0;
  padding: 0.85rem 1rem;
  font: inherit;
  font-size: 1rem;
  min-width: 0;
  background: transparent;
}

.bx-td-suffix {
  padding: 0 1rem 0 0.25rem;
  font-weight: 750;
  color: var(--bx-navy);
  white-space: nowrap;
}

.bx-td-search-form button {
  border: 0;
  border-radius: 0.55rem;
  background: var(--bx-orange);
  color: #fff;
  font: inherit;
  font-weight: 700;
  padding: 0.85rem 1.35rem;
  cursor: pointer;
  white-space: nowrap;
}

.bx-td-search-form button:hover {
  filter: brightness(0.96);
}

.bx-td-search-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 0.85rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.bx-td-search-links a {
  color: var(--bx-navy);
  text-decoration: none;
}

.bx-td-search-links a:hover {
  color: var(--bx-orange);
}

.bx-td-included,
.bx-td-about,
.bx-td-specs,
.bx-td-related,
.bx-td-faq {
  padding: 3rem 0;
}

.bx-td-included {
  background: #fafbfc;
}

.bx-td-included h2,
.bx-td-about h2,
.bx-td-specs h2,
.bx-td-related h2,
.bx-td-faq h2,
.bx-td-cta h2 {
  margin: 0 0 1.25rem;
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 800;
  color: var(--bx-ink);
}

.bx-td-included-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.bx-td-included-grid article,
.bx-td-specs-grid article {
  background: #fff;
  border: 1px solid var(--bx-line);
  border-radius: 0.85rem;
  padding: 1.15rem 1.2rem;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.03);
}

.bx-td-included-grid h3,
.bx-td-specs-grid h3,
.bx-td-about h3 {
  margin: 0 0 0.45rem;
  font-size: 1.02rem;
  font-weight: 750;
}

.bx-td-included-grid p,
.bx-td-about p {
  margin: 0 0 1rem;
  color: var(--bx-muted);
  line-height: 1.55;
}

.bx-td-about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
}

.bx-td-why {
  margin: 0;
  padding: 0;
  list-style: none;
}

.bx-td-why li {
  position: relative;
  padding: 0.55rem 0 0.55rem 1.5rem;
  border-bottom: 1px solid var(--bx-line);
  color: var(--bx-ink);
  line-height: 1.45;
}

.bx-td-why li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--bx-orange);
  font-weight: 700;
}

.bx-td-specs {
  background: #fafbfc;
}

.bx-td-specs-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.bx-td-specs table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.bx-td-specs th,
.bx-td-specs td {
  padding: 0.55rem 0;
  border-bottom: 1px solid #f1f5f9;
  text-align: left;
  vertical-align: top;
}

.bx-td-specs th {
  color: var(--bx-muted);
  font-weight: 600;
  padding-right: 0.75rem;
  width: 55%;
}

.bx-td-spec-cta {
  margin: 0.85rem 0 0;
}

.bx-td-spec-cta a {
  color: var(--bx-navy);
  font-weight: 700;
  text-decoration: none;
}

.bx-td-spec-cta a:hover {
  color: var(--bx-orange);
}

.bx-td-related-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.bx-td-related-head h2 {
  margin: 0;
}

.bx-td-related-head a {
  color: var(--bx-navy);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.bx-td-related-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.bx-td-related-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.95rem 1rem;
  border: 1px solid var(--bx-line);
  border-radius: 0.75rem;
  text-decoration: none;
  color: var(--bx-ink);
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.bx-td-related-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.bx-td-related-card strong {
  font-size: 1.05rem;
}

.bx-td-related-card span {
  font-weight: 650;
  color: var(--bx-muted);
  font-size: 0.88rem;
}

.bx-td-faq-list {
  max-width: 52rem;
}

.bx-td-faq-list details {
  border-bottom: 1px solid var(--bx-line);
}

.bx-td-faq-list summary {
  list-style: none;
  cursor: pointer;
  padding: 1.05rem 1.75rem 1.05rem 0;
  font-weight: 650;
  position: relative;
}

.bx-td-faq-list summary::-webkit-details-marker {
  display: none;
}

.bx-td-faq-list summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--bx-muted);
  font-size: 1.25rem;
}

.bx-td-faq-list details[open] summary::after {
  content: "−";
}

.bx-td-faq-list p {
  margin: 0 0 1.1rem;
  color: var(--bx-muted);
  line-height: 1.55;
}

.bx-td-cta {
  padding: 0 0 3.5rem;
}

.bx-td-cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.5rem 1.75rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, var(--bx-navy), var(--bx-navy-2));
  color: #fff;
}

.bx-td-cta-inner h2 {
  color: #fff;
  margin: 0 0 0.35rem;
}

.bx-td-cta-inner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
}

.bx-td-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  border-radius: 0.55rem;
  background: var(--bx-orange);
  color: #fff;
  font-weight: 750;
  text-decoration: none;
}

.bx-td-cta-btn:hover {
  filter: brightness(0.96);
  color: #fff;
}

/* Price history accordion + chart */
.bx-td-history {
  padding: 0 0 1.5rem;
  background: #fff;
}

.bx-td-history-panel {
  border: 1px solid #dbeafe;
  border-radius: 10px;
  background: #f8fafc;
  overflow: hidden;
}

.bx-td-history-toggle {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.95rem 1.1rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--bx-ink);
  cursor: pointer;
  list-style: none;
  border-bottom: 1px solid transparent;
}

.bx-td-history-toggle::-webkit-details-marker {
  display: none;
}

.bx-td-history-panel[open] .bx-td-history-toggle {
  border-bottom-color: #dbeafe;
  background: #f1f5f9;
}

.bx-td-history-chevron {
  width: 0.45rem;
  height: 0.45rem;
  border-right: 2px solid #475569;
  border-bottom: 2px solid #475569;
  transform: rotate(-45deg);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.bx-td-history-panel[open] .bx-td-history-chevron {
  transform: rotate(45deg);
}

.bx-td-history-body {
  padding: 1rem 1.1rem 1.25rem;
  background: #fff;
}

.bx-td-history-lead {
  margin: 0 0 0.85rem;
  font-size: 0.92rem;
  color: var(--bx-muted);
  line-height: 1.5;
}

.bx-td-history-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.85rem;
}

.bx-td-history-metric {
  padding: 0.35rem 0.7rem;
  border: 1px solid var(--bx-line);
  border-radius: 999px;
  background: #fff;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--bx-muted);
  cursor: pointer;
}

.bx-td-history-metric.is-active {
  border-color: #bfdbfe;
  background: #eff6ff;
  color: #1d4ed8;
}

.bx-td-history-tabs {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid var(--bx-line);
}

.bx-td-history-tab {
  position: relative;
  padding: 0.45rem 0 0.65rem;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--bx-muted);
  cursor: pointer;
}

.bx-td-history-tab.is-active {
  color: var(--bx-ink);
}

.bx-td-history-tab.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: #2563eb;
}

.bx-td-history-chart-wrap {
  position: relative;
  height: 220px;
  margin-top: 0.35rem;
}

@media (max-width: 900px) {
  .bx-td-hero-grid,
  .bx-td-about-grid,
  .bx-td-specs-grid {
    grid-template-columns: 1fr;
  }

  .bx-td-included-grid,
  .bx-td-related-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .bx-td-search-form {
    flex-direction: column;
  }

  .bx-td-included-grid,
  .bx-td-related-grid {
    grid-template-columns: 1fr;
  }
}
