/* Hero search — chips + autocomplete */
.mt-hero__search-input { position: relative; }

.mt-hero__search-toggle {
display: flex;
gap: 10px;
flex-wrap: wrap;
justify-content: flex-start;
}
.mt-hero__search-toggle label {
flex: 1 1 140px;
display: inline-flex;
align-items: center;
justify-content: center;
gap: 6px;
padding: 8px 18px;
min-height: 40px;
border-radius: 999px;
border: 1px solid rgba(255,255,255,0.6);
background: rgba(255,255,255,0.12);
backdrop-filter: blur(2px);
color: #fff;
font-size: 14px;
font-weight: 500;
cursor: pointer;
transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.mt-hero__search-toggle input[type="radio"] {
accent-color: var(--gold, #c19a4b);
}
.mt-hero__search-toggle label:has(input:checked) {
background: var(--gold, #c19a4b);
border-color: var(--gold, #c19a4b);
color: #fff;
font-weight: 700;
}

/* Autocomplete dropdown */
.mt-search-suggest {
position: fixed;
background: #fff;
border-radius: 14px;
box-shadow: 0 12px 34px rgba(0,0,0,0.22);
max-height: 340px;
overflow-y: auto;
overflow-x: hidden;
z-index: 9999;
text-align: left;
-webkit-overflow-scrolling: touch;
}
.mt-search-suggest[hidden] { display: none; }

.mt-search-suggest__group-label {
padding: 10px 16px 4px;
font-size: 12px;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.04em;
color: #8a94a3;
}
.mt-search-suggest__item {
display: block;
padding: 10px 16px;
color: var(--navy, #12325b);
text-decoration: none;
font-size: 15px;
font-weight: 500;
cursor: pointer;
}
.mt-search-suggest__item:hover,
.mt-search-suggest__item.is-active {
background: var(--bg, #faf8f4);
}

/* Search results page */
.mt-search-results { max-width: 1200px; margin: 0 auto; padding: 40px 16px; }
.mt-search-notice {
margin-top: 8px;
padding: 12px 16px;
background: var(--bg, #faf8f4);
border-left: 3px solid var(--gold, #c19a4b);
border-radius: 8px;
font-size: 15px;
color: var(--navy, #12325b);
}
.mt-cards-grid { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 24px; }
@media (min-width: 640px) { .mt-cards-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .mt-cards-grid { grid-template-columns: repeat(3, 1fr); } }
.mt-search-empty { padding: 40px 0; font-size: 17px; line-height: 1.7; }
.mt-search-empty a { color: var(--gold-d, #a8842f); font-weight: 600; }

/* Mobile: give the input more room, button becomes compact */
@media (max-width: 480px) {
.mt-hero__search-input input {
font-size: 0.9rem;
}
.mt-hero__search-btn {
padding: 0;
width: 44px;
height: 44px;
border-radius: 50%;
font-size: 0;
}
.mt-hero__search-btn::after {
content: '→';
font-size: 1.1rem;
}
}
