.gscg-search { position: relative; width: 100%; color: #252525; font-family: inherit; }
.gscg-search__panel { position: relative; z-index: 10002; background: #fff; }
.gscg-search__bar { position: relative; display: flex; align-items: center; min-height: 40px; border: 1px solid #bdb9b1; background: #fff; }
.gscg-search__input { width: 100%; min-width: 0; height: 38px; padding: 0 13px; border: 0; background: transparent; color: #252525; font: inherit; font-size: 14px; line-height: 1.4; letter-spacing: .01em; }
.gscg-search .gscg-search__input { height: 38px !important; padding: 0 13px !important; border: 0 !important; color: #252525 !important; font-size: 14px !important; font-weight: 400 !important; line-height: 1.4 !important; }
.gscg-search__input::placeholder { color: #4f4b45; opacity: 1; }
.gscg-search__input:focus { outline: 1px solid #c58d00; outline-offset: -1px; }
.gscg-search__submit, .gscg-search__close, .gscg-search__trigger { display: inline-grid; place-items: center; flex: 0 0 40px; width: 40px; height: 40px; border: 0; background: #252525; color: #fff; cursor: pointer; transition: background-color .16s ease-out, opacity .16s ease-out; }
.gscg-search .gscg-search__submit, .gscg-search .gscg-search__close, .gscg-search .gscg-search__trigger { flex: 0 0 40px !important; width: 40px !important; min-width: 40px !important; height: 40px !important; padding: 0 !important; line-height: 1 !important; }
.gscg-search__submit:hover, .gscg-search__close:hover, .gscg-search__trigger:hover { background: #343434; }
.gscg-icon { display: block; width: 18px; height: 18px; }
.gscg-search__submit:focus-visible, .gscg-search__close:focus-visible, .gscg-search__trigger:focus-visible, .gscg-result__link:focus-visible, .gscg-result__phone:focus-visible { outline: 2px solid #c58d00; outline-offset: 2px; }
.gscg-search__status { min-height: 0; padding: 9px 13px 3px; color: #4f4b45; font-size: 13px; font-weight: 400; line-height: 1.4; }
.gscg-search__status[hidden] { display: none !important; }
.gscg-search__results { max-height: min(52vh, 420px); margin: 0; padding: 0 13px 4px; overflow: auto; list-style: none; scrollbar-color: #aaa49b #f4f1ec; scrollbar-width: thin; }
.gscg-search__more { display: block; padding: 11px 13px; border-top: 1px solid #ebe7e1; color: #252525; font-size: 13px; font-weight: 600; line-height: 1.4; text-align: center; text-decoration: none; }
.gscg-search__more[hidden], .gscg-search:not(.is-open) .gscg-search__status, .gscg-search:not(.is-open) .gscg-search__results, .gscg-search:not(.is-open) .gscg-search__more { display: none !important; }
.gscg-search ::selection { background: #dfb344; color: #1f1b13; }
.gscg-result { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px; border-bottom: 1px solid #ebe7e1; }
.gscg-result:last-child { border-bottom: 0; }
.gscg-result__link { display: grid; grid-template-columns: 56px minmax(0, 1fr); align-items: center; gap: 11px; min-width: 0; padding: 10px 0; color: inherit; text-decoration: none; }
.gscg-result__image { width: 56px; height: 50px; object-fit: contain; background: #f7f5f1; }
.gscg-result__body, .gscg-result__store { display: grid; min-width: 0; gap: 1px; }
.gscg-result__type { color: #74550f; font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.gscg-result__title { overflow: hidden; color: #252525; font-size: 16px; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
.gscg-result__availability { display: flex; align-items: center; min-width: 0; gap: 4px; overflow: hidden; white-space: nowrap; }
.gscg-result__state, .gscg-result__detail, .gscg-result__location, .gscg-result__date { overflow: hidden; color: #3f3d39; font-size: 13px; font-weight: 400 !important; line-height: 1.4; text-overflow: ellipsis; white-space: nowrap; }
.gscg-result__state, .gscg-result__detail { flex: 0 0 auto; }
.gscg-result__separator { color: #6a665f; font-size: 13px; line-height: 1.4; }
.gscg-result__location { display: inline-flex; align-items: center; gap: 5px; }
.gscg-result__location-label { overflow: hidden; text-overflow: ellipsis; }
.gscg-result__state::before { display: inline-block; width: 6px; height: 6px; margin-right: 5px; border-radius: 50%; background: #888; content: ''; }
.gscg-result__state.is-open::before { background: #2c8a4b; }
.gscg-result__state.is-closed::before { background: #bc3f37; }
.gscg-result__state.is-coming-soon::before { background: #8a8a8a; }
.gscg-result__phones { display: grid; gap: 3px; padding: 8px 0 8px 7px; }
.gscg-result__phone { display: inline-flex; align-items: center; gap: 5px; color: #252525; font-size: 13px; font-weight: 600; line-height: 1.35; text-decoration: none; white-space: nowrap; }
.gscg-result__phone:hover { color: #8b6813; }
.gscg-meta-icon { flex: 0 0 auto; width: 13px; height: 13px; color: #4a4742; }

.gscg-search--home { min-height: 40px; max-width: 480px; margin: 0 auto; }
.gscg-search-host { overflow: visible !important; z-index: 10000; }
.gscg-search-host .bg-gray { float: none !important; width: min(500px, calc(100vw - 28px)) !important; max-width: calc(100vw - 28px); margin-right: auto !important; margin-left: auto !important; padding: 6px !important; }
.gscg-search-host .bg-gray .gscg-search--home { max-width: none; margin: 0; }
.gscg-search--home .gscg-search__panel { position: absolute; top: 0; right: 0; left: 0; box-shadow: 0 10px 24px rgba(28, 25, 20, .12); }
.gscg-search--home:not(.is-open) .gscg-search__panel { box-shadow: none; }
.gscg-search--home .gscg-search__input { padding-right: 46px !important; }
.gscg-search--home .gscg-search__submit { position: absolute; top: 50%; right: 0; height: 38px !important; background: transparent !important; color: #252525; transform: translateY(-50%); }
.gscg-search--home .gscg-search__submit:hover { background: #f3f1ed !important; }

.gscg-search--floating { position: fixed; top: 38%; right: 0; z-index: 10001; width: min(320px, calc(100vw - 16px)); }
.gscg-search--floating .gscg-search__trigger { position: absolute; top: 0; right: 0; flex-basis: 38px !important; width: 38px !important; min-width: 38px !important; height: 38px !important; background: #252525 !important; transform: translateY(-100%); }
.gscg-search--floating.is-panel-open .gscg-search__trigger { visibility: hidden; opacity: 0; pointer-events: none; }
.gscg-search--floating .gscg-search__panel { position: absolute; top: -38px; right: 0; width: 100%; box-shadow: 0 10px 26px rgba(20, 20, 20, .16); transform-origin: right center; animation: gscg-panel-in .2s cubic-bezier(.22, 1, .36, 1) both; }
.gscg-search--floating .gscg-search__bar { background: #252525; border-color: #252525; }
.gscg-search--floating .gscg-search__input { background: #252525 !important; color: #fff !important; }
.gscg-search--floating .gscg-search__input::placeholder { color: #cbc7c0; }
.gscg-search--floating .gscg-search__close { background: #252525 !important; }
.gscg-search--floating .gscg-search__trigger:hover, .gscg-search--floating .gscg-search__close:hover { background: #343434 !important; }
.gscg-search--floating .gscg-result { grid-template-columns: 1fr; }
.gscg-search--floating .gscg-result__phones { display: flex; flex-wrap: wrap; padding: 0 0 9px 67px; }
@keyframes gscg-panel-in { from { opacity: 0; clip-path: inset(0 0 0 calc(100% - 38px)); } to { opacity: 1; clip-path: inset(0); } }

@media (max-width: 680px) {
	.gscg-search--home { max-width: calc(100vw - 28px); }
	.gscg-search--floating { top: 64px; right: 8px; width: min(320px, calc(100vw - 16px)); }
	.gscg-search--floating .gscg-search__results { max-height: min(58vh, 360px); }
}
@media (prefers-reduced-motion: reduce) { .gscg-search--floating .gscg-search__panel { animation: none; } }
