/* Full path: /wp-content/plugins/me-woo-store-layout/assets/css/me-wsl-domain-search.css */

.me-wsl-domain-hero{
  background: #eef4f6;
  border-radius: 0;
  padding: 55px 18px;
}

.me-wsl-domain-hero__inner{
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 26px;
  align-items: center;
}

.me-wsl-domain-hero__left{
  display: flex;
  justify-content: center;
  align-items: center;
}

.me-wsl-domain-hero__img{
  max-width: 100%;
  height: auto;
  display: block;
}

.me-wsl-domain-hero__title{
  margin: 0 0 14px;
  font-size: 44px;
  line-height: 1.05;
  font-weight: 800;
  color: #0b0f14;
}

.me-wsl-domain-hero__notice{
  margin: 0 0 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #fff3cd;
  border: 1px solid #ffe69c;
  color: #664d03;
  font-size: 13px;
}

.me-wsl-domain-hero__form{
  display: grid;
  grid-template-columns: 1fr 150px;
  gap: 14px;
  align-items: center;
}

.me-wsl-domain-hero__input{
  height: 54px;
  border-radius: 4px;
  border: 1px solid #b9c6cf;
  background: #fff;
  padding: 0 14px;
  font-size: 15px;
  outline: none;
}

.me-wsl-domain-hero__input:focus{
  border-color: #7f93a1;
}

.me-wsl-domain-hero__btn{
  height: 54px;
  border-radius: 4px;
  border: 1px solid #2b1bbf;
  background: #2b1bbf;
  color: #fff;
  font-size: 15px;
  text-transform: lowercase;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(0,0,0,.15);
  position: relative;
}

.me-wsl-domain-hero__btn[disabled]{
  opacity: .75;
  cursor: not-allowed;
}

.me-wsl-domain-hero__tlds{
  margin-top: 18px;
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  align-items: flex-end;
}

.me-wsl-domain-hero__tld{
  display: grid;
  justify-items: center;
  gap: 6px;
  min-width: 78px;
  cursor: pointer;
  user-select: none;
}

.me-wsl-domain-hero__tld:hover{
  transform: translateY(-1px);
}

.me-wsl-domain-hero__tldimg{
  height: 18px;
  width: auto;
  display: block;
  opacity: .95;
}

.me-wsl-domain-hero__tldtext{
  font-weight: 700;
  font-size: 18px;
  color: #0b0f14;
}

.me-wsl-domain-hero__tldprice{
  font-size: 13px;
  color: #6c7a84;
}

.me-wsl-domain-hero__result{
  margin-top: 16px;
}

/* Result card */
.me-wsl-domain-hero__resultCard{
  border-radius: 10px;
  border: 1px solid #d7e0e6;
  background: #fff;
  overflow: hidden;
}

.me-wsl-domain-hero__resultTop{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  background: #f7fafb;
  border-bottom: 1px solid #e7eef2;
}

.me-wsl-domain-hero__resultDomain{
  font-weight: 800;
  font-size: 15px;
  color: #0b0f14;
}

.me-wsl-domain-hero__resultBadge{
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid #d3dbe0;
  background: #fff;
}

.me-wsl-domain-hero__resultBadge.ok{
  border-color: #b7e3c0;
  background: #eaf7ee;
}

.me-wsl-domain-hero__resultBadge.no{
  border-color: #f1c2c2;
  background: #fdecec;
}

.me-wsl-domain-hero__resultBody{
  padding: 12px 14px;
}

.me-wsl-domain-hero__resultRow{
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed #e7eef2;
}

.me-wsl-domain-hero__resultLabel{
  font-size: 13px;
  color: #42505a;
}

.me-wsl-domain-hero__resultRight{
  font-size: 13px;
  color: #0b0f14;
}

.me-wsl-domain-hero__yearsSelect{
  border: 1px solid #cfd9df;
  border-radius: 8px;
  padding: 8px 10px;
  background: #fff;
  font-size: 13px;
}

.me-wsl-domain-hero__actions{
  margin-top: 12px;
}

.me-wsl-domain-hero__addBtn{
  border-radius: 8px;
  padding: 10px 14px;
  border: 1px solid #2b1bbf;
  background: #2b1bbf;
  color: #fff;
  cursor: pointer;
}

.me-wsl-domain-hero__addBtn[disabled]{
  opacity: .55;
  cursor: not-allowed;
}

.me-wsl-domain-hero__note{
  margin-top: 10px;
  font-size: 12px;
  color: #6c7a84;
}

.me-wsl-domain-hero__error{
  border: 1px solid #f1c2c2;
  background: #fdecec;
  padding: 10px 12px;
  border-radius: 10px;
  color: #7b2c2c;
  font-size: 13px;
}

.me-wsl-domain-hero__hint{
  border: 1px solid #d7e0e6;
  background: #ffffff;
  padding: 10px 12px;
  border-radius: 10px;
  color: #42505a;
  font-size: 13px;
}

/* Loading (don’t lock the entire hero; just show visual feedback + disable button) */
.me-wsl-domain-hero.is-loading .me-wsl-domain-hero__btn{
  opacity: .85;
  pointer-events: none;
}

.me-wsl-domain-hero.is-loading .me-wsl-domain-hero__btn::after{
  content: "";
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.55);
  border-top-color: rgba(255,255,255,1);
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  animation: me_wsl_spin 0.8s linear infinite;
}

@keyframes me_wsl_spin{
  from { transform: translateY(-50%) rotate(0deg); }
  to { transform: translateY(-50%) rotate(360deg); }
}

/* Responsive */
@media (max-width: 900px){
  .me-wsl-domain-hero__inner{
    grid-template-columns: 1fr;
  }
  .me-wsl-domain-hero__title{
    font-size: 34px;
  }
  .me-wsl-domain-hero__form{
    grid-template-columns: 1fr;
  }
  .me-wsl-domain-hero__btn{
    width: 100%;
  }
}


.me-wsl-domain-hero__suggestions{margin-top:18px;padding-top:14px;border-top:1px solid rgba(28,35,57,.10);}
.me-wsl-domain-hero__suggestionsTitle{font-size:18px;font-weight:700;color:#1f2240;margin:0 0 12px;}
.me-wsl-domain-hero__suggestionsList{display:flex;flex-direction:column;gap:10px;}
.me-wsl-domain-hero__suggestionRow{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:14px 16px;background:#fff;border:1px solid rgba(44,24,170,.10);border-radius:14px;box-shadow:0 8px 18px rgba(17,24,39,.06);}
.me-wsl-domain-hero__suggestionMain{display:flex;flex-direction:column;gap:3px;min-width:0;}
.me-wsl-domain-hero__suggestionDomain{font-size:18px;font-weight:700;color:#1f2240;word-break:break-word;}
.me-wsl-domain-hero__suggestionPrice{font-size:14px;color:#667085;}
.me-wsl-domain-hero__addBtn--small{padding:10px 16px;min-width:140px;}
@media (max-width: 767px){.me-wsl-domain-hero__suggestionRow{flex-direction:column;align-items:flex-start;}.me-wsl-domain-hero__suggestionAction{width:100%;}.me-wsl-domain-hero__addBtn--small{width:100%;}}
