/* Boxis TLD pricing — OVH-inspired layout, Boxis brand */
.bx-tld {
  --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-tld .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

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

.bx-tld-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--bx-navy);
  color: #fff;
  padding: 2.25rem 0 4.75rem;
}

.bx-tld-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background:
    linear-gradient(165deg, var(--bx-navy) 0%, var(--bx-navy-2) 55%, #0a1f42 100%);
}

.bx-tld-hero-mesh {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 28px 28px, 52px 52px, 52px 52px;
  mask-image: radial-gradient(ellipse 80% 70% at 42% 35%, #000 15%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 42% 35%, #000 15%, transparent 78%);
}

.bx-tld-hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
}

.bx-tld-hero-glow--a {
  top: -28%;
  right: -8%;
  width: min(58vw, 560px);
  height: min(42vw, 380px);
  background: radial-gradient(ellipse at center, rgba(255, 139, 61, 0.34) 0%, rgba(255, 139, 61, 0.06) 45%, transparent 72%);
  animation: bx-tld-glow-pulse 10s ease-in-out infinite;
}

.bx-tld-hero-glow--b {
  bottom: -36%;
  left: -14%;
  width: min(48vw, 440px);
  height: min(48vw, 440px);
  background: radial-gradient(circle at center, rgba(56, 189, 248, 0.16) 0%, transparent 68%);
  animation: bx-tld-glow-drift 14s ease-in-out infinite;
}

.bx-tld-hero-floaters {
  position: absolute;
  inset: 0;
}

.bx-tld-floater {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.32rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  backdrop-filter: blur(6px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
  animation: bx-tld-floater-bob 7.5s ease-in-out infinite;
}

.bx-tld-floater--1 { top: 22%; right: 18%; animation-delay: 0s; }
.bx-tld-floater--2 { top: 38%; right: 6%; animation-delay: 1.1s; }
.bx-tld-floater--3 { bottom: 34%; right: 16%; animation-delay: 2s; }
.bx-tld-floater--4 { top: 48%; right: 28%; animation-delay: 0.5s; opacity: 0.8; }
.bx-tld-floater--5 { bottom: 28%; right: 4%; animation-delay: 1.6s; opacity: 0.72; }

@keyframes bx-tld-glow-pulse {
  0%, 100% { opacity: 0.85; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.06); }
}

@keyframes bx-tld-glow-drift {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(16px, -18px, 0); }
}

@keyframes bx-tld-floater-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

@keyframes bx-tld-hero-rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.bx-tld-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 40rem;
  animation: bx-tld-hero-rise 0.55s ease-out both;
}

.bx-tld-crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
  margin: 0 0 1.15rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
}

.bx-tld-crumb__sep {
  opacity: 0.55;
}

.bx-tld-crumb a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  transition: color 0.15s ease;
}

.bx-tld-crumb a:hover {
  color: #fff;
}

.bx-tld-crumb [aria-current="page"] {
  color: rgba(255, 255, 255, 0.92);
}

/* Theme globals paint h1/p dark — force readable hero title */
.bx-tld .bx-tld-hero h1,
.bx-tld-hero h1 {
  margin: 0 0 0.85rem;
  max-width: 16ch;
  font-size: clamp(1.9rem, 3.6vw, 2.75rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: #fff !important;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.28);
}

.bx-tld .bx-tld-hero .bx-tld-lead,
.bx-tld-hero .bx-tld-lead {
  margin: 0;
  max-width: 36rem;
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  line-height: 1.55;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.84) !important;
}

.bx-tld-searchbar {
  position: relative;
  z-index: 20;
  margin-top: -2.75rem;
  padding: 0 0 1.25rem;
  background: transparent;
  border: 0;
}

.bx-tld-searchbar.is-stuck {
  position: sticky;
  top: 0.65rem;
  margin-top: 0;
  padding-top: 0.35rem;
  padding-bottom: 0.65rem;
}

.bx-tld-searchbar.is-stuck .bx-tld-search-form {
  box-shadow: 0 12px 32px rgba(7, 23, 54, 0.14);
}

.bx-tld-searchbar.is-stuck .bx-tld-search-links {
  display: none;
}

.bx-tld-search-form {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: #fff;
  border-radius: 0.85rem;
  padding: 0.4rem 0.4rem 0.4rem 0.85rem;
  box-shadow: 0 14px 36px rgba(7, 23, 54, 0.16);
  max-width: 720px;
  border: 1px solid rgba(255, 255, 255, 0.65);
}

.bx-tld-search-ico {
  color: var(--bx-muted);
  font-size: 1.35rem !important;
  line-height: 1;
  flex-shrink: 0;
}

.bx-tld-search-form input {
  flex: 1;
  border: 0;
  outline: 0;
  padding: 0.75rem 0.55rem;
  font: inherit;
  font-size: 1rem;
  background: transparent;
  color: var(--bx-ink);
  min-width: 0;
}

.bx-tld-search-form input::placeholder {
  color: #94a3b8;
}

.bx-tld-search-form button {
  border: 0;
  border-radius: 0.65rem;
  background: var(--bx-orange);
  color: #fff;
  font: inherit;
  font-weight: 700;
  padding: 0.75rem 1.35rem;
  cursor: pointer;
  white-space: nowrap;
  transition: filter 0.15s ease, transform 0.15s ease;
}

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

.bx-tld-search-form button:active {
  transform: translateY(1px);
}

.bx-tld-search-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.15rem;
  margin-top: 0.9rem;
  max-width: 720px;
  font-size: 0.9rem;
  font-weight: 600;
}

.bx-tld-search-links a {
  color: var(--bx-navy);
  text-decoration: none;
  transition: color 0.15s ease;
}

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

.bx-tld-search-links a:first-child {
  color: var(--bx-orange);
}

.bx-tld-search-links a:first-child:hover {
  filter: brightness(0.92);
}

.bx-tld-main {
  padding: 2rem 0 3rem;
  background: #fafbfc;
}

.bx-tld-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.bx-tld-filters {
  background: #fff;
  border: 1px solid var(--bx-line);
  border-radius: 0.85rem;
  padding: 0.35rem 0;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
  position: sticky;
  top: 5.5rem;
  max-height: calc(100vh - 6.5rem);
  overflow: auto;
}

.bx-tld-filter-block {
  padding: 1rem 1.1rem;
  border-bottom: 1px solid var(--bx-line);
}

.bx-tld-filter-block:last-child {
  border-bottom: 0;
}

.bx-tld-filter-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.bx-tld-filter-block h2,
.bx-tld-filter-head h2 {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--bx-ink);
}

.bx-tld-filter-reset {
  border: 0;
  background: transparent;
  color: var(--bx-muted);
  font: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
}

.bx-tld-filter-reset:hover {
  color: var(--bx-orange);
}

.bx-tld-filter-search {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid var(--bx-line);
  border-radius: 0.5rem;
  padding: 0.35rem 0.55rem;
  background: #fff;
}

.bx-tld-filter-search:focus-within {
  border-color: #94a3b8;
  box-shadow: 0 0 0 3px rgba(7, 23, 54, 0.06);
}

.bx-tld-filter-search .material-icons {
  font-size: 1.1rem;
  color: var(--bx-muted);
}

.bx-tld-filter-search input {
  border: 0;
  outline: 0;
  width: 100%;
  font: inherit;
  font-size: 0.88rem;
  background: transparent;
}

.bx-tld-price-vals {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--bx-muted);
  margin-bottom: 0.45rem;
}

.bx-tld-price-range input[type="range"] {
  width: 100%;
  accent-color: var(--bx-navy);
}

.bx-tld-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.45rem;
  font-size: 0.88rem;
  color: var(--bx-ink);
  cursor: pointer;
}

.bx-tld-check input {
  accent-color: var(--bx-navy);
  flex-shrink: 0;
}

.bx-tld-table-panel {
  min-width: 0;
}

.bx-tld-table-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.bx-tld-count {
  margin: 0;
  font-size: 0.92rem;
  color: var(--bx-muted);
}

.bx-tld-count strong {
  color: var(--bx-ink);
  font-weight: 750;
}

.bx-tld-price-mode {
  display: inline-flex;
  background: #fff;
  border: 1px solid var(--bx-line);
  border-radius: 999px;
  padding: 0.2rem;
  gap: 0.15rem;
}

.bx-tld-price-mode button {
  border: 0;
  background: transparent;
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 650;
  color: var(--bx-muted);
  cursor: pointer;
}

.bx-tld-price-mode button.is-active {
  background: var(--bx-navy);
  color: #fff;
}

.bx-tld-table-wrap {
  background: #fff;
  border: 1px solid var(--bx-line);
  border-radius: 0.85rem;
  overflow: auto;
  max-height: min(70vh, 820px);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.bx-tld-table {
  width: 100%;
  border-collapse: collapse;
}

.bx-tld-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #fff;
  border-bottom: 1px solid var(--bx-line);
  padding: 0.85rem 1.1rem;
  text-align: left;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--bx-muted);
}

.bx-tld-th-price {
  text-align: right !important;
}

.bx-tld-th-price .bx-tld-sort {
  margin-left: auto;
}

.bx-tld-th-action {
  width: 3.5rem;
}

.bx-tld-sort {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
  cursor: pointer;
  padding: 0;
}

.bx-tld-sort.is-active {
  color: var(--bx-navy);
}

.bx-tld-sort .material-icons {
  font-size: 1rem;
}

.bx-tld-table tbody tr {
  border-bottom: 1px solid #f1f5f9;
}

.bx-tld-table tbody tr:hover {
  background: #f8fafc;
}

.bx-tld-table td {
  padding: 0.95rem 1.1rem;
  vertical-align: middle;
}

.bx-tld-ext {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--bx-ink);
}

.bx-tld-ext-link {
  color: inherit;
  text-decoration: none;
}

.bx-tld-ext-link:hover {
  color: var(--bx-orange);
}

.bx-tld-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.2;
}

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

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

.bx-tld-price-cell {
  text-align: right;
  white-space: nowrap;
}

.bx-tld-price-now {
  font-size: 1rem;
  font-weight: 750;
  color: var(--bx-ink);
}

.bx-tld-price-old {
  display: block;
  font-size: 0.78rem;
  color: var(--bx-muted);
  text-decoration: line-through;
}

.bx-tld-price-na {
  color: var(--bx-muted);
  font-weight: 600;
}

.bx-tld-cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  border: 1px solid var(--bx-line);
  background: #fff;
  color: var(--bx-navy);
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.bx-tld-cart:hover {
  background: var(--bx-orange);
  border-color: var(--bx-orange);
  color: #fff;
}

.bx-tld-cart .material-icons {
  font-size: 1.15rem;
}

.bx-tld-empty {
  margin: 0;
  padding: 2rem 1.25rem;
  text-align: center;
  color: var(--bx-muted);
}

.bx-tld-note {
  margin: 0.75rem 0 0;
  font-size: 0.8rem;
  color: var(--bx-muted);
}

.bx-tld-faq {
  padding: 3rem 0;
  background: #fff;
  border-top: 1px solid var(--bx-line);
}

.bx-tld-faq h2 {
  margin: 0 0 1.25rem;
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--bx-ink);
}

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

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

.bx-tld-faq-list summary {
  list-style: none;
  cursor: pointer;
  padding: 1.05rem 1.75rem 1.05rem 0;
  font-weight: 650;
  position: relative;
  color: var(--bx-ink);
}

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

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

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

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

.bx-tld-info {
  padding: 0 0 3.5rem;
  background: #fff;
}

.bx-tld-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.bx-tld-info h2 {
  margin: 0 0 0.65rem;
  font-size: 1.2rem;
  font-weight: 750;
  color: var(--bx-ink);
}

.bx-tld-info p {
  margin: 0;
  color: var(--bx-muted);
  line-height: 1.6;
}

@media (max-width: 900px) {
  .bx-tld-layout {
    grid-template-columns: 1fr;
  }

  .bx-tld-filters {
    position: static;
    max-height: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .bx-tld-filter-block:first-child,
  .bx-tld-filter-block:nth-child(2),
  .bx-tld-filter-block:last-child {
    grid-column: 1 / -1;
  }

  .bx-tld-searchbar {
    margin-top: -2.25rem;
  }

  .bx-tld-searchbar.is-stuck {
    position: static;
    margin-top: -2.25rem;
    padding-top: 0;
  }

  .bx-tld-searchbar.is-stuck .bx-tld-search-links {
    display: flex;
  }

  .bx-tld-info-grid {
    grid-template-columns: 1fr;
  }

  .bx-tld-floater--3,
  .bx-tld-floater--4,
  .bx-tld-floater--5 {
    display: none;
  }
}

@media (max-width: 640px) {
  .bx-tld-filters {
    grid-template-columns: 1fr;
  }

  .bx-tld-hero {
    padding: 1.75rem 0 4.25rem;
  }

  .bx-tld-hero-inner {
    max-width: none;
  }

  .bx-tld-hero h1,
  .bx-tld .bx-tld-hero h1 {
    max-width: none;
  }

  .bx-tld-floater {
    display: none;
  }

  .bx-tld-table-wrap {
    max-height: none;
  }

  .bx-tld-price-mode {
    width: 100%;
  }

  .bx-tld-price-mode button {
    flex: 1;
    text-align: center;
  }

  .bx-tld-search-form {
    flex-wrap: wrap;
    padding: 0.55rem;
  }

  .bx-tld-search-ico {
    display: none;
  }

  .bx-tld-search-form input {
    flex: 1 1 100%;
    padding-left: 0.65rem;
  }

  .bx-tld-search-form button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bx-tld-search-form button,
  .bx-tld-cart,
  .bx-tld-hero-glow,
  .bx-tld-floater,
  .bx-tld-hero-inner {
    animation: none !important;
    transition: none;
  }
}
