/* IranicaServer Domain UI V7 overrides - loaded AFTER V6 */

#order-standard_cart{
  width:calc(100% - 36px)!important;
  max-width:1120px!important;
  margin:0 auto!important;
  padding:0 0 34px!important;
  box-sizing:border-box!important;
}

/* Search/result a little narrower */
#order-standard_cart .domain-checker-container,
#order-standard_cart #DomainSearchResults{
  max-width:930px!important;
  margin-left:auto!important;
  margin-right:auto!important;
}

/* Compact spotlight grid */
#order-standard_cart .spotlight-tlds{
  max-width:980px!important;
  margin:18px auto 22px!important;
}

#order-standard_cart .spotlight-tlds-container{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:11px!important;
}

#order-standard_cart .spotlight-tld-container{
  width:auto!important;
  max-width:none!important;
  float:none!important;
  padding:0!important;
}

#order-standard_cart .spotlight-tld{
  position:relative!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:flex-start!important;
  min-height:148px!important;
  height:100%!important;
  padding:13px 12px!important;
  border-radius:14px!important;
  border:1px solid #dfe7f2!important;
  background:#fff!important;
  overflow:hidden!important;
  box-shadow:0 4px 14px rgba(15,23,42,.04)!important;
}

#order-standard_cart .spotlight-tld.ir-available{
  background:#fbfffc!important;
  border-color:#bbf7d0!important;
}

#order-standard_cart .spotlight-tld.ir-unavailable{
  background:#fffafa!important;
  border-color:#fecaca!important;
}

#order-standard_cart .spotlight-tld.ir-error{
  background:#fffdf7!important;
  border-color:#fde68a!important;
}

/* Existing V6 visual pieces */
#order-standard_cart .spotlight-tld .ir-spotlight-icon{
  width:30px!important;
  height:30px!important;
  min-width:30px!important;
  margin:0 auto 5px!important;
  border-radius:9px!important;
  font-size:11px!important;
}

#order-standard_cart .spotlight-tld .ir-spotlight-label{
  display:block!important;
  width:100%!important;
  margin:0 0 3px!important;
  direction:ltr!important;
  color:#0f172a!important;
  font-size:17px!important;
  font-weight:950!important;
  line-height:1.2!important;
  text-align:center!important;
}

#order-standard_cart .spotlight-tld .ir-spotlight-domain{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  margin:0 0 5px!important;
  overflow:hidden!important;
  direction:ltr!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  color:#64748b!important;
  font-size:9.5px!important;
  font-weight:700!important;
  text-align:center!important;
}

#order-standard_cart .spotlight-tld .ir-spotlight-status{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:4px!important;
  min-height:23px!important;
  margin:0 auto 6px!important;
  padding:4px 8px!important;
  border-radius:999px!important;
  white-space:nowrap!important;
  font-size:8.8px!important;
  font-weight:900!important;
  line-height:1!important;
}

#order-standard_cart .spotlight-tld .domain-lookup-result{
  display:flex!important;
  flex:1 1 auto!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:flex-end!important;
  width:100%!important;
  min-height:42px!important;
  gap:5px!important;
  margin:0!important;
}

#order-standard_cart .spotlight-tld .available.price{
  display:block;
  margin:0!important;
  color:#236BFF!important;
  font-size:11px!important;
  font-weight:950!important;
  line-height:1.3!important;
}

#order-standard_cart .spotlight-tld .btn-add-to-cart{
  width:100%!important;
  max-width:142px!important;
  min-height:32px!important;
  padding:6px 8px!important;
  border:0!important;
  border-radius:9px!important;
  background:#236BFF!important;
  color:#fff!important;
  box-shadow:0 5px 12px rgba(35,107,255,.14)!important;
  font-size:9.5px!important;
  font-weight:900!important;
  line-height:1.2!important;
}

#order-standard_cart .spotlight-tld .btn-add-to-cart:hover{
  background:#174fd1!important;
}

#order-standard_cart .btn-add-to-cart.ir-v7-adding{
  opacity:.72!important;
  cursor:wait!important;
}

#order-standard_cart .btn-add-to-cart.ir-v7-added{
  background:#16a34a!important;
  box-shadow:0 5px 12px rgba(22,163,74,.15)!important;
}

#order-standard_cart .spotlight-tld .btn.unavailable,
#order-standard_cart .spotlight-tld .btn.invalid{
  min-height:29px!important;
  padding:5px 9px!important;
  border:0!important;
  border-radius:9px!important;
  background:#fee2e2!important;
  color:#b91c1c!important;
  font-size:8.8px!important;
  font-weight:900!important;
}

/* Hot label smaller */
#order-standard_cart .spotlight-tld-hot{
  top:8px!important;
  right:auto!important;
  left:8px!important;
  padding:3px 6px!important;
  border-radius:999px!important;
  font-size:7.5px!important;
}

/* Main available domain button */
#order-standard_cart #primaryLookupResult .btn-add-to-cart{
  min-height:38px!important;
  padding:8px 14px!important;
  border:0!important;
  border-radius:10px!important;
  background:#236BFF!important;
  color:#fff!important;
  font-size:10.5px!important;
  font-weight:900!important;
  box-shadow:0 6px 14px rgba(35,107,255,.14)!important;
}

/* Pricing/table */
#order-standard_cart .domain-pricing{
  max-width:1040px!important;
  margin:0 auto 22px!important;
  padding:16px!important;
  border-radius:16px!important;
}

#order-standard_cart .tld-pricing-header{
  min-height:60px!important;
  padding:4px!important;
}

#order-standard_cart .tld-pricing-header > .tld-column{
  margin:3px!important;
  border-radius:10px!important;
  font-size:11.5px!important;
}

#order-standard_cart .tld-pricing-header .col-md-8 .col-4{
  margin:3px!important;
  padding:11px 5px!important;
  border-radius:10px!important;
  font-size:10.5px!important;
}

#order-standard_cart .tld-row[data-category]{
  min-height:64px!important;
}

#order-standard_cart .tld-row[data-category] > .col-md-4{
  gap:9px!important;
  padding:9px 14px!important;
}

#order-standard_cart .ir-tld-icon{
  width:34px!important;
  height:34px!important;
  flex-basis:34px!important;
  border-radius:9px!important;
  font-size:12px!important;
}

#order-standard_cart .tld-row[data-category] strong{
  font-size:15px!important;
}

#order-standard_cart .tld-row[data-category] .col-md-8 .col-4{
  min-height:63px!important;
  padding:6px 4px!important;
  font-size:10.5px!important;
}

/* Promo cards */
#order-standard_cart .domain-promo-box{
  min-height:210px!important;
  padding:20px!important;
  border-radius:17px!important;
  box-shadow:0 7px 20px rgba(15,23,42,.045)!important;
}

#order-standard_cart .domain-promo-box .fa-4x{
  width:48px!important;
  height:48px!important;
  margin:0 0 10px 13px!important;
  border-radius:13px!important;
  font-size:19px!important;
}

#order-standard_cart .domain-promo-box h3{
  font-size:16px!important;
}

#order-standard_cart .domain-promo-box p{
  font-size:11px!important;
}

/* Responsive */
@media(max-width:1050px){
  #order-standard_cart{
    width:calc(100% - 24px)!important;
  }
  #order-standard_cart .spotlight-tlds-container{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}

@media(max-width:720px){
  #order-standard_cart{
    width:calc(100% - 16px)!important;
  }
  #order-standard_cart .domain-pricing{
    padding:10px!important;
  }
  #order-standard_cart .domain-promo-box{
    min-height:0!important;
    margin-bottom:12px!important;
  }
}

@media(max-width:520px){
  #order-standard_cart .spotlight-tlds-container{
    grid-template-columns:1fr!important;
  }
  #order-standard_cart .spotlight-tld{
    min-height:138px!important;
  }
}
