.mh-domains,
.mh-domains button,
.mh-domains input,
.mh-domains a {
  font-family: "OpenSans", sans-serif;
}

.mh-domains {
  position: relative;
  color: #1a1a1a;
  background: #fff;
  border-radius: 24px;
  padding: 24px;
}

.mh-domains .sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.mh-search {
  display: flex;
  gap: 4px;
  align-items: center;
  background: #fff;
  border: 1px solid #e4e6ea;
  box-shadow: 0 10px 28px rgba(26, 26, 26, .05);
  border-radius: 16px;
  padding: 6px 6px 6px 18px;
}

.mh-search input {
  flex: 1;
  border: 0;
  background: transparent;
  font-family: "OpenSans", sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: #1a1a1a;
  padding: 10px 0;
  min-width: 0;
}

.mh-search input::placeholder { color: #a1a5ab; }
.mh-search input:focus { outline: none; }

.mh-zones-btn {
  border: 0;
  border-left: 1px solid #e4e6ea;
  background: transparent;
  color: #1a1a1a;
  font-family: "OpenSans", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
  padding: 10px 16px;
  cursor: pointer;
  white-space: nowrap;
}

.mh-zones-btn[aria-expanded="true"] { color: #175fcc; }

.mh-go,
.mh-order {
  border: 0;
  border-radius: 12px;
  background: #175fcc;
  color: #fff;
  font-family: "OpenSans", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
  padding: 14px 22px;
  cursor: pointer;
  text-decoration: none;
}

.mh-go:hover,
.mh-order:hover { background: #1b4d98; }
.mh-order { display: block; text-align: center; }

.mh-zones-back {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(26, 26, 26, .38);
}

.mh-zones-back[hidden] { display: none; }

.mh-zones {
  position: fixed;
  z-index: 80;
  top: 7vh;
  left: 50%;
  transform: translateX(-50%);
  width: min(1120px, 88vw);
  height: min(820px, 84vh);
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e4e6ea;
  border-radius: 16px;
  box-shadow: 0 18px 48px rgba(26, 26, 26, .16);
  padding: 4px 0 12px;
}

.mh-zones[hidden] { display: none; }

.mh-zones-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px 0;
}

.mh-zones-head strong { font-size: 16px; font-weight: 600; }

.mh-zones-x {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: #f6f7f9;
  color: #1a1a1a;
  font-family: "OpenSans", sans-serif;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.mh-zone-find {
  display: block;
  width: calc(100% - 28px);
  box-sizing: border-box;
  margin: 12px 14px 0;
  border: 0;
  background: #f6f7f9;
  border-radius: 10px;
  padding: 10px 12px;
  font-family: "OpenSans", sans-serif;
  font-size: 15px;
  color: #1a1a1a;
}

.mh-zone-find:focus { outline: 2px solid #175fcc; }

.mh-zone-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 12px 14px 0;
}

.mh-zone-tab {
  border: 1px solid #e4e6ea;
  background: #fff;
  border-radius: 999px;
  padding: 6px 12px;
  font-family: "OpenSans", sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #525b69;
  cursor: pointer;
}

.mh-zone-tab.active,
.mh-zone-tab:hover { border-color: #175fcc; color: #175fcc; }
.mh-zone-tab.active { background: #f3f7fd; }

.mh-zone-tools { display: flex; justify-content: space-between; align-items: center; margin: 10px 14px; }

.mh-zones-done {
  display: block;
  width: calc(100% - 28px);
  margin: 8px 14px 0;
  border: 0;
  border-radius: 10px;
  background: #175fcc;
  color: #fff;
  font-family: "OpenSans", sans-serif;
  font-size: 15px;
  font-weight: 400;
  padding: 12px;
  cursor: pointer;
}

.mh-zones-done:hover { background: #1b4d98; }

.mh-zone-reset,
.mh-textbtn {
  border: 0;
  background: none;
  color: #175fcc;
  padding: 0;
  cursor: pointer;
  font-family: "OpenSans", sans-serif;
  font-size: 14px;
  font-weight: 600;
}

.mh-zone-hint { color: #525b69; font-size: 13px; }

.mh-zone-list {
  flex: 1;
  min-height: 0;
  overflow: auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 2px 8px;
  align-content: start;
  padding: 0 8px 4px;
}

.mh-zone-head {
  grid-column: 1 / -1;
  margin: 8px 8px 2px;
  font-size: 13px;
  font-weight: 600;
  color: #525b69;
}

.mh-zone-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  background: transparent;
  border-radius: 10px;
  padding: 8px 8px;
  cursor: pointer;
}

.mh-zone-row:hover { background: #f6f7f9; }

.mh-zone-row input { accent-color: #175fcc; width: 16px; height: 16px; }
.mh-zone-name { font-weight: 600; }
.mh-zone-price { color: #525b69; font-size: 14px; }

.mh-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: start;
  margin-top: 18px;
}

.mh-idle { color: #525b69; margin: 8px 0 14px; font-size: 16px; }

.mh-feature {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}

.mh-feature-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 220px;
  padding: 16px;
  background: #f6f7f9;
  border-radius: 16px;
}

.mh-feature-card.accent { background: #175fcc; color: #fff; }
.mh-feature-card.picked { box-shadow: inset 0 0 0 2px #175fcc; }
.mh-feature-card.accent.picked { box-shadow: inset 0 0 0 2px #fff; }

.mh-zone-label { font-size: 28px; font-weight: 600; letter-spacing: -0.03em; }
.mh-feature-card p { margin: 0; color: #525b69; font-size: 14px; line-height: 1.4; flex: 1; }
.mh-feature-card.accent p,
.mh-feature-card.accent .mh-card-renew { color: rgba(255, 255, 255, .82); }
.mh-feature-card.accent .mh-strike {
  color: rgba(255, 255, 255, .75);
  text-decoration-color: rgba(255, 255, 255, .9);
}
.mh-feature-card.accent .mh-now { color: #fff; }

.mh-card-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.mh-card-renew { font-size: 13px; color: #525b69; }

.mh-choose {
  margin-top: auto;
  border: 0;
  border-radius: 10px;
  background: #1a1a1a;
  color: #fff;
  font-family: "OpenSans", sans-serif;
  font-size: 15px;
  font-weight: 400;
  padding: 12px;
  cursor: pointer;
}

.mh-feature-card.accent .mh-choose { background: #fff; color: #175fcc; }
.mh-choose:hover { background: #333; }
.mh-feature-card.accent .mh-choose:hover { background: #f3f7fd; }

.mh-cheap {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin-top: 12px;
  padding: 14px;
  background: #f6f7f9;
  border-radius: 16px;
}

.mh-cheap-title { font-size: 16px; font-weight: 600; line-height: 1.3; }

.mh-cheap-tiles {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.mh-cheap-tile {
  border: 0;
  border-radius: 12px;
  background: #fff;
  padding: 10px;
  text-align: left;
  cursor: pointer;
  font-family: "OpenSans", sans-serif;
  color: #1a1a1a;
}

.mh-cheap-tile strong { display: block; font-size: 16px; font-weight: 600; }
.mh-cheap-tile .mh-card-price { font-size: 15px; margin-top: 6px; }
.mh-cheap-tile small { display: block; margin-top: 2px; color: #525b69; font-size: 12px; }
.mh-cheap-tile:hover { box-shadow: inset 0 0 0 1px #175fcc; }
.mh-cheap-tile.picked { box-shadow: inset 0 0 0 2px #175fcc; }

.mh-ideas {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 4px 0 16px;
}

.mh-ideas-title { font-size: 16px; font-weight: 600; }
.mh-ideas-sub { color: #525b69; font-size: 13px; margin-top: 2px; }

.mh-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.mh-examples { justify-content: flex-start; }

.mh-chip {
  border: 1px solid #e4e6ea;
  background: #fff;
  border-radius: 999px;
  padding: 8px 14px;
  font-family: "OpenSans", sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: #1a1a1a;
  cursor: pointer;
}

.mh-chip:hover { border-color: #175fcc; color: #175fcc; }
.mh-chip.active { background: #175fcc; border-color: #175fcc; color: #fff; }

.mh-section {
  margin: 22px 0 8px;
  font-size: 20px;
  font-weight: 600;
}

#mh-main > .mh-section:first-child,
.mh-ideas + .mh-section { margin-top: 0; }

.mh-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 6px 20px;
  align-items: center;
  min-height: 76px;
  padding: 16px 18px;
  margin-top: 8px;
  background: #f6f7f9;
  border-radius: 14px;
  cursor: pointer;
  box-shadow: inset 0 0 0 0 #175fcc;
}

.mh-row:hover {
  background: #eef3fc;
  box-shadow: inset 0 0 0 2px #175fcc;
}

.mh-row.taken,
.mh-row.taken:hover {
  cursor: default;
  background: #f6f7f9;
  box-shadow: none;
}

.mh-row.added,
.mh-row.added:hover {
  background: #175fcc;
  color: #fff;
  box-shadow: inset 0 0 0 2px #175fcc;
}

.mh-row.added .mh-domain-name,
.mh-row.added .mh-quiet,
.mh-row.added .mh-status,
.mh-row.added .mh-now,
.mh-row.added .mh-whois-btn { color: #fff; }

.mh-row.added .mh-strike {
  color: rgba(255, 255, 255, .78);
  text-decoration-color: #ffb4b0;
}

.mh-row.added .mh-add,
.mh-row.added .mh-add.added {
  background: #fff;
  border-color: #fff;
  color: #175fcc;
}

.mh-domain-name {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.mh-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 4px; }

.mh-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 400;
}

.mh-status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.mh-status.free { color: #018d4a; }
.mh-status.busy { color: #8b919a; }
.mh-status.wait { color: #175fcc; }
.mh-status.unknown { color: #a1a5ab; }

.mh-price-col { text-align: right; }
.mh-price {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: baseline;
  gap: 4px 8px;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: -0.02em;
}
.mh-now { font-weight: 700; letter-spacing: -0.02em; }
.mh-strike {
  color: #6e7582;
  font-size: 0.92em;
  font-weight: 500;
  text-decoration: line-through;
  text-decoration-color: #e23d3d;
  text-decoration-thickness: 2px;
  text-decoration-skip-ink: none;
}
.mh-quiet { color: #525b69; font-size: 13px; margin-top: 2px; }

.mh-add {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #d5d8de;
  background: #fff;
  color: #1a1a1a;
  font-family: "OpenSans", sans-serif;
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
  padding: 0;
  cursor: pointer;
}

.mh-add:hover { border-color: #175fcc; color: #175fcc; }
.mh-add.added { background: #175fcc; border-color: #175fcc; color: #fff; }
.mh-add.locked,
.mh-add:disabled {
  background: #f3f4f6;
  border-color: #e4e6ea;
  color: #c5c8ce;
  cursor: default;
}
.mh-add.locked:hover,
.mh-add:disabled:hover { border-color: #e4e6ea; color: #c5c8ce; }

.mh-whois-btn {
  border: 0;
  background: none;
  color: #175fcc;
  padding: 0;
  cursor: pointer;
  font-family: "OpenSans", sans-serif;
  font-size: 14px;
  font-weight: 600;
}

.mh-whois {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  gap: 8px 16px;
  margin-top: 8px;
  padding: 14px 16px;
  background: #fff;
  border-radius: 12px;
}

.mh-whois[hidden] { display: none; }
.mh-whois-k { color: #525b69; font-size: 13px; padding-top: 2px; }
.mh-whois-v { font-size: 14px; font-weight: 600; word-break: break-word; }
.mh-whois-raw { grid-column: 1 / -1; margin: 0; white-space: pre-wrap; font-size: 14px; }

.mh-textbtn { display: inline-block; margin-top: 14px; }

.mh-more {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 16px;
  border: 1px solid #175fcc;
  border-radius: 12px;
  background: #fff;
  color: #175fcc;
  font-family: "OpenSans", sans-serif;
  font-size: 16px;
  font-weight: 400;
  padding: 14px 22px;
  cursor: pointer;
}

.mh-more:hover { background: #f3f7fd; }

.mh-cart {
  padding: 16px;
  position: sticky;
  top: 16px;
  background: #f6f7f9;
  border-radius: 16px;
}

.mh-cart-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.mh-cart h2 { margin: 0; font-size: 18px; font-weight: 600; }
.mh-count {
  background: #fff;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 13px;
  color: #525b69;
}
.mh-cart-empty { color: #525b69; margin: 12px 0 0; font-size: 15px; }
.mh-cart-item {
  background: #fff;
  border-radius: 12px;
  padding: 12px 14px;
  margin-top: 8px;
}
.mh-cart-line { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.mh-cart-line > div:first-child { min-width: 0; overflow-wrap: anywhere; font-weight: 600; }
.mh-cart-side { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.mh-cart-prices { display: inline-flex; align-items: baseline; gap: 8px; font-size: 16px; }
.mh-cart-prices .mh-now { font-size: 16px; }
.mh-cart-item button {
  border: 0;
  background: none;
  color: #8b919a;
  cursor: pointer;
  font-family: "OpenSans", sans-serif;
  font-size: 18px;
  line-height: 1;
  padding: 0;
}
.mh-cart-renew { text-align: right; color: #525b69; font-size: 13px; margin-top: 4px; }
.mh-cart-extra,
.mh-cart-save,
.mh-pay {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin: 8px 2px 0;
}
.mh-cart-extra { color: #525b69; font-size: 14px; margin-top: 14px; }
.mh-cart-save { color: #018d4a; font-weight: 600; }
.mh-pay { font-weight: 700; font-size: 18px; margin-top: 8px; margin-bottom: 10px; }
.mh-pay .mh-now { font-size: 18px; }
.mh-note { color: #525b69; font-size: 13px; margin: 10px 0 0; }

@media (max-width: 900px) {
  .mh-domains { padding: 16px; }
  .mh-layout { grid-template-columns: 1fr; }
  .mh-search { flex-wrap: wrap; padding: 10px; }
  .mh-search input { flex: 1 0 100%; }
  .mh-zones-btn { border-left: 0; padding-left: 8px; }
  .mh-zones {
    top: 4vh;
    left: 12px;
    right: 12px;
    transform: none;
    width: auto;
    height: 88vh;
  }
  .mh-feature,
  .mh-cheap { grid-template-columns: 1fr; }
  .mh-cheap-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mh-go { margin-left: auto; }
  .mh-ideas { flex-direction: column; align-items: stretch; }
  .mh-chips { justify-content: flex-start; }
  .mh-row { grid-template-columns: minmax(0, 1fr) auto; }
  .mh-price-col { grid-column: 1; text-align: left; }
  .mh-add { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
  .mh-cart { position: static; }
  .mh-whois { grid-template-columns: 1fr; gap: 2px 0; }
  .mh-whois-v { margin-bottom: 8px; }
}
