.navbar .container { gap: 1.5rem; }
.navbar__logo, .navbar__actions { flex-shrink: 0; }
.navbar__nav { margin-left: auto; }
.header-search { position: relative; width: 260px; flex: 0 1 260px; margin: 0; min-width: 180px; }
.header-search__field { display: flex; align-items: center; border: 1px solid #655027; border-radius: 9px; background: #191714; transition: border-color .2s, box-shadow .2s; }
.header-search__field:focus-within { border-color: #b88a29; box-shadow: 0 0 0 3px rgb(176 118 0 / 20%); }
.header-search input { width: 100%; min-width: 0; height: 42px; border: 0; outline: 0; padding: 0 0 0 13px; background: transparent; color: #fff; font: inherit; font-size: .8rem; }
.header-search input::placeholder { color: #c1b8a9; opacity: 1; }
.header-search__field button { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; flex-shrink: 0; border: 0; border-radius: 8px; background: transparent; color: #d4a83d; cursor: pointer; }
.header-search button:focus-visible { outline: 2px solid #d4a83d; outline-offset: 2px; }
.header-search__panel { position: absolute; top: calc(100% + 10px); right: 0; width: 390px; max-width: calc(100vw - 32px); background: #fff; color: #25211a; border: 1px solid #e8e0d2; border-radius: 12px; box-shadow: 0 14px 40px #0004; overflow: hidden; z-index: 1001; }
.header-search__panel[hidden] { display: none; }
.header-search__status { margin: 0; padding: 12px 15px; font-size: .75rem; color: #6d6454; border-bottom: 1px solid #f0ebe1; }
.header-search__panel ul { list-style: none; padding: 0; margin: 0; max-height: min(390px, 55vh); overflow-y: auto; }
.header-search__result { display: flex; gap: 12px; align-items: center; padding: 10px 14px; color: #25211a; text-decoration: none; border-bottom: 1px solid #f4f0e9; }
.header-search__result:hover, .header-search__result[aria-selected="true"] { background: #faf3e5; color: #25211a; }
.header-search__image { width: 48px; height: 48px; object-fit: contain; flex-shrink: 0; border-radius: 6px; background: #f7f5f0; }
.header-search__copy { display: grid; gap: 3px; min-width: 0; }
.header-search__name { font-size: .8rem; font-weight: 600; line-height: 1.4; }
.header-search__category { font-size: .68rem; color: #766c5c; }
.header-search__price { font-size: .73rem; color: #805900; font-weight: 600; }
.header-search__all { display: flex; justify-content: space-between; width: 100%; padding: 13px 15px; border: 0; background: #f5eddd; color: #654600; font: inherit; font-size: .77rem; font-weight: 600; cursor: pointer; }
@media (min-width: 769px) and (max-width: 1100px) {
    .navbar .container { gap: 1rem; }
    .navbar__nav { gap: 1rem; }
    .header-search { flex-basis: 220px; }
    .navbar__logo img { max-width: 185px; height: auto; }
}
@media (max-width: 768px) {
    .navbar > .container { flex-wrap: wrap; height: auto; padding-top: 7px; padding-bottom: 10px; gap: 7px 12px; }
    .header-search { order: 3; flex: 1 0 100%; width: 100%; }
    .header-search__panel { width: 100%; }
    .header-search input { height: 40px; font-size: .85rem; }
    .header-search__field button { height: 40px; }
    .cat-navbar { top: 120px !important; }
}
