/* Vista Zanzibar V15 — visible live search, centered hero assurance, non-overlapping search label */

/* The V11 stylesheet hid the homepage header search with !important. V15 deliberately restores it on desktop. */
.vista-home-v11 .v3-header-search{
  display:flex!important;
  align-items:center!important;
  width:clamp(170px,15vw,230px)!important;
  min-width:170px!important;
  opacity:1!important;
  visibility:visible!important;
}
.vista-home-v11 .v3-header-search input{
  min-width:0!important;
  width:100%!important;
  opacity:1!important;
}
.vista-home-v11 .v3-header-search input::placeholder{
  color:rgba(255,255,255,.92)!important;
  opacity:1!important;
}

/* Keep the three reassurance points visually centered as one balanced line. */
.vista-home-v11 .v11-hero-assurance{
  width:100%!important;
  display:flex!important;
  justify-content:center!important;
  align-items:center!important;
  text-align:center!important;
  gap:14px 28px!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
.vista-home-v11 .v11-hero-assurance span{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  white-space:nowrap;
}

/* V15 creates a clean normal-flow label outside the legacy smart-search card. */
.v11-discovery-search .v15-smart-search-label{
  position:relative!important;
  inset:auto!important;
  transform:none!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:14px!important;
  width:max-content!important;
  max-width:calc(100% - 32px)!important;
  margin:0 auto 16px!important;
  padding:11px 24px!important;
  background:#07264b!important;
  color:#fff!important;
  border:1px solid rgba(217,166,60,.58)!important;
  border-radius:999px!important;
  box-shadow:0 12px 30px rgba(7,38,75,.14)!important;
  font:800 11px/1.2 Inter,Arial,sans-serif!important;
  letter-spacing:.19em!important;
  text-transform:uppercase!important;
  opacity:1!important;
  visibility:visible!important;
  z-index:2!important;
  pointer-events:none!important;
}
.v11-discovery-search .v15-smart-search-label::before,
.v11-discovery-search .v15-smart-search-label::after{
  content:"";
  width:30px;
  height:1px;
  flex:0 0 30px;
  background:#d9a63c;
  opacity:.96;
}

/* Never allow the legacy floating label to overlap the section copy again. */
.v11-discovery-search .lux-smart-search .v14-smart-search-badge,
.v11-discovery-search .lux-smart-search [data-v15-legacy-search-label]{
  display:none!important;
}

/* The animated smart-search placeholder must stay readable without hover. */
.v11-discovery-search .lux-smart-search input[data-v15-smart-typewriter]::placeholder{
  color:#647286!important;
  opacity:1!important;
  transition:none!important;
}

/* Keep the section compact after moving the label into normal flow. */
.v11-discovery-search .v11-section-intro{margin-bottom:16px!important}
.v11-discovery-search .lux-smart-search{margin-top:0!important;overflow:visible!important}

@media(max-width:1180px){
  .vista-home-v11 .v3-header-search{width:180px!important;min-width:150px!important}
}
@media(max-width:980px){
  /* On smaller navigation widths, preserve the clean mobile/tablet header. */
  .vista-home-v11 .v3-header-search{display:none!important}
}
@media(max-width:720px){
  .vista-home-v11 .v11-hero-assurance{gap:9px 16px!important}
  .vista-home-v11 .v11-hero-assurance span{white-space:normal}
  .v11-discovery-search .v15-smart-search-label{
    gap:8px!important;
    padding:10px 15px!important;
    font-size:9px!important;
    letter-spacing:.11em!important;
  }
  .v11-discovery-search .v15-smart-search-label::before,
  .v11-discovery-search .v15-smart-search-label::after{
    width:16px;
    flex-basis:16px;
  }
}
@media(prefers-reduced-motion:reduce){
  .v11-discovery-search .lux-smart-search input[data-v15-smart-typewriter]::placeholder{transition:none!important}
}
