/* UygunFiyata v17.4 — one permanent price-search field, two equal discovery buttons.
   This stylesheet is intentionally last so earlier mobile/grid rules cannot
   collapse the budget control or conceal the comparison input. */
#hero {
  display: block !important;
  visibility: visible !important;
}
#hero :is(.uf171-main-search-label,.uf171-search-head,.uf171-checkpoints,.uf171-search-annotations) {
  display: none !important;
}
#hero .uf171-main-search,
#hero .uf171-compare-surface {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: relative !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: clamp(14px,2.5vw,22px) 0 20px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
}
#hero #linkForm,
body.budget-mode #hero #linkForm,
body.deals-mode #hero #linkForm,
body.budget-show-results #hero #linkForm,
body.workspace-open #hero #linkForm {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: relative !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: visible !important;
  pointer-events: auto !important;
  margin: 0 !important;
}
#hero #linkForm .search-row {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  border: 1px solid #dbe5f1 !important;
  border-radius: 18px !important;
  min-height: 66px;
  background: #fff !important;
  box-shadow: 0 9px 26px rgba(26,55,100,.073) !important;
}
#hero #productUrl {
  flex: 1 1 0 !important;
  min-width: 0 !important;
  max-width: 100% !important;
}
#hero #linkSubmit {
  flex: 0 0 auto !important;
  min-width: 76px;
}
#hero .home-modes {
  display: grid !important;
  grid-template-columns: repeat(2,minmax(0,1fr)) !important;
  grid-auto-flow: row !important;
  align-items: stretch !important;
  width: 100% !important;
  max-width: 100% !important;
  gap: 12px !important;
  margin: 0 !important;
}
#hero .home-modes #modePrice { display: none !important; }
#hero .home-modes #modeBudget,
#hero .home-modes #dealsToggle {
  display: flex !important;
  grid-column: auto !important;
  grid-row: auto !important;
  align-self: stretch !important;
  justify-self: stretch !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  min-height: 84px !important;
  height: 100% !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  padding: 15px 17px !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 12px !important;
  border-radius: 18px !important;
}
#hero .home-modes :is(#modeBudget,#dealsToggle) .uf137-mode-copy {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  white-space: normal !important;
}
#hero .home-modes :is(#modeBudget,#dealsToggle) .uf137-mode-copy strong {
  font-size: clamp(13px,1.5vw,17px) !important;
  line-height: 1.3 !important;
  white-space: normal !important;
}
#hero .home-modes :is(#modeBudget,#dealsToggle) .uf137-mode-icon {
  flex: 0 0 42px !important;
  width: 42px !important;
  height: 42px !important;
}
@media (max-width: 700px) {
  /* Full-width stacked controls: guaranteed identical widths on phones. */
  #hero .home-modes {
    grid-template-columns: minmax(0,1fr) !important;
    gap: 10px !important;
  }
  #hero .home-modes #modeBudget,
  #hero .home-modes #dealsToggle {
    grid-column: 1 / -1 !important;
    grid-row: auto !important;
    min-height: 72px !important;
    height: 100% !important;
    padding: 12px 14px !important;
    gap: 12px !important;
  }
  #hero .home-modes :is(#modeBudget,#dealsToggle) .uf137-mode-copy strong {
    font-size: 14px !important;
  }
  #hero #linkForm .search-row {min-height: 58px !important; border-radius: 15px !important;}
  #hero #linkSubmit {min-width: 72px !important;}
}
@media (min-width: 701px) {
  #hero .home-modes {
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
  }
}
