/* ===========================
   DOMAINS PAGE – STYLES
   =========================== */

/* Active nav link for current page */
.nav__link--active-page {
  color: var(--primary) !important;
  background: rgba(12,12,11,.07) !important;
}

/* ===========================
   DOMAIN HERO
   =========================== */
.domain-hero {
  position: relative;
  padding-top: calc(var(--header-h) + 80px);
  padding-bottom: 80px;
  overflow: hidden;
  background: linear-gradient(180deg, #f9f9f9 0%, #f2f2f2 50%, #fff 100%);
}

.domain-hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.domain-hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .3;
}

.domain-hero__orb--1 {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, #c8c8c6, transparent 70%);
  top: -200px;
  right: -150px;
}

.domain-hero__orb--2 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, #6ee7f7, transparent 70%);
  bottom: -100px;
  left: -80px;
}

.domain-hero__inner {
  position: relative;
  text-align: center;
}

/* ===========================
   UPMIND WIDGET WRAPPER
   =========================== */
.domain-widget-wrap {
  margin: 40px auto 0;
  max-width: 780px;
}

/* ===========================
   DOMAIN SEARCH BAR (legacy — kept for reference)
   =========================== */
.domain-search-wrap {
  margin: 40px auto 0;
  max-width: 720px;
}

.domain-search {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 2px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 6px 6px 6px 20px;
  box-shadow: var(--shadow-lg);
  transition: border-color .2s, box-shadow .2s;
}

.domain-search:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(12,12,11,.12), var(--shadow-lg);
}

.domain-search__input-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}

.domain-search__icon {
  color: var(--text-muted);
  font-size: 16px;
  flex-shrink: 0;
}

.domain-search__input {
  flex: 1;
  border: none;
  outline: none;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  background: transparent;
  min-width: 0;
}

.domain-search__input::placeholder { color: var(--text-light); font-weight: 400; }

.domain-search__btn { flex-shrink: 0; }

.domain-search__popular {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
  justify-content: center;
}

.domain-search__popular span {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

.ext-tag {
  padding: 4px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: #fff;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all .15s;
}

.ext-tag:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(12,12,11,.05);
}

/* ===========================
   DOMAIN SEARCH RESULTS
   =========================== */
.domain-results {
  margin-top: 24px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.domain-results__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.result-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: var(--shadow-sm);
  animation: fadeInUp .3s ease both;
}

.result-item--available { border-color: rgba(16,185,129,.3); background: rgba(16,185,129,.03); }
.result-item--taken { opacity: .65; }

.result-item__name {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.result-item__name .ext { color: var(--primary); }

.result-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.result-status--available { color: var(--success); }
.result-status--taken { color: var(--danger); }

.result-item__price {
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
  white-space: nowrap;
}

.result-item__price .per { font-size: 12px; font-weight: 500; color: var(--text-muted); }

/* ===========================
   EXTENSION PRICING TABLE
   =========================== */
.ext-filter {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 32px;
}

.ext-filter__btn {
  padding: 8px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: #fff;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all .15s;
}

.ext-filter__btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.ext-filter__btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.ext-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.ext-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: #fff;
}

.ext-table thead th {
  padding: 14px 18px;
  text-align: left;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--text-muted);
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}

.ext-table thead th:first-child { border-radius: var(--radius-lg) 0 0 0; }
.ext-table thead th:last-child { border-radius: 0 var(--radius-lg) 0 0; }

.ext-table tbody tr { transition: background .15s; }
.ext-table tbody tr:hover { background: var(--bg-alt); }

.ext-table tbody td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-subtle);
  vertical-align: middle;
}

.ext-table tbody tr:last-child td { border-bottom: none; }

.ext-name {
  font-size: 16px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -.3px;
}

.ext-desc { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

.ext-price { font-weight: 700; color: var(--text); }
.ext-price .sale { color: var(--success); font-weight: 800; }
.ext-price .orig { text-decoration: line-through; color: var(--text-muted); font-size: 12px; margin-left: 4px; }

.ext-free { color: var(--success); font-size: 13px; font-weight: 600; }
.ext-free i { margin-right: 4px; }

.ext-table [hidden] { display: none; }

/* ===========================
   BUNDLE CARDS
   =========================== */
.bundle-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 880px;
  margin: 0 auto;
}

.bundle-card {
  background: #fff;
  border: 2px solid var(--primary);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
  transition: all var(--transition);
}

.bundle-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.bundle-card--wp { border-color: var(--wp-blue); }

.bundle-card__badge {
  position: absolute;
  top: -14px;
  left: 32px;
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
}

.bundle-card__icon {
  font-size: 36px;
  color: var(--primary);
  margin-bottom: 16px;
}

.bundle-card__icon.wp-icon { color: var(--wp-blue); }

.bundle-card h3 { font-size: 22px; font-weight: 800; margin-bottom: 8px; }

.bundle-card__desc { font-size: 15px; color: var(--text-muted); margin-bottom: 20px; line-height: 1.6; }

.bundle-card__price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 8px;
}

.bundle-from { font-size: 14px; color: var(--text-muted); }
.bundle-amount { font-size: 40px; font-weight: 900; letter-spacing: -1.5px; }
.bundle-per { font-size: 15px; color: var(--text-muted); align-self: flex-end; padding-bottom: 5px; }

.bundle-card__saving {
  font-size: 13px;
  font-weight: 700;
  color: var(--success);
  background: rgba(16,185,129,.1);
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
}

.bundle-card__saving--wp { color: var(--wp-blue); background: rgba(33,117,155,.1); }

.bundle-card .btn { width: 100%; justify-content: center; margin-bottom: 20px; }

.bundle-card__features {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bundle-card__features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

.bundle-card__features .fa-check { color: var(--success); }

/* ===========================
   TRANSFER SPLIT
   =========================== */
.transfer-split {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 60px;
  align-items: center;
}

.transfer-benefits {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.transfer-benefits li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--text);
}

.transfer-benefits .fa-check { color: var(--success); font-size: 14px; flex-shrink: 0; }

.transfer-form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-lg);
}

.transfer-form h3 {
  font-size: 20px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  color: var(--primary);
}

.transfer-form > p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.transfer-form__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.transfer-form__field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.transfer-form__field input {
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 14px;
  color: var(--text);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}

.transfer-form__field input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(12,12,11,.1);
}

.transfer-form__field input::placeholder { color: var(--text-light); }

.transfer-form__note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 16px;
  line-height: 1.5;
}

.transfer-form__note i { color: var(--primary); flex-shrink: 0; margin-top: 2px; }

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 900px) {
  .transfer-split { grid-template-columns: 1fr; }
  .transfer-split__card { max-width: 540px; }
  .bundle-cards { grid-template-columns: 1fr; max-width: 500px; }
}

@media (max-width: 600px) {
  .domain-search {
    flex-direction: column;
    align-items: stretch;
    border-radius: var(--radius-lg);
    padding: 12px;
    gap: 8px;
  }
  .domain-search__btn { border-radius: var(--radius); justify-content: center; }
  .result-item { flex-wrap: wrap; gap: 8px; }
  .result-item__name { flex: 1 0 100%; }
}
