/* Große Produktsuche in Vereinsfarben, unabhängig von den Seiteninhalten. */
.site-header .shop-search-toggle {
    box-sizing: border-box;
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 44px;
    height: 44px;
    padding: 10px;
    color: #fff;
    text-decoration: none;
}
.shop-search-toggle > svg { flex-shrink: 0; width: 24px; height: 24px; }
.shop-search-label { display: none; color: #a3a3a3; font-size: 12px; font-weight: 400; line-height: 1.3; }
@media (min-width: 901px) {
    .site-header .shop-search-toggle { width: auto; }
    .shop-search-label { display: inline; }
    .site-header .site-navigation { flex: 1; }
}
@media (max-width: 359px) {
    .site-header .shop-search-toggle { width: 36px; padding-inline: 6px; }
}
.shop-search-toggle:hover svg { color: #36b779; }
.product-search {
    box-sizing: border-box;
    position: fixed;
    inset: calc(var(--site-header-height, 104px) + var(--site-header-offset, 0px) + 12px) 24px auto;
    width: min(1100px, 72vw);
    max-width: calc(100% - 48px);
    height: min(760px, calc(100dvh - var(--site-header-height, 104px) - var(--site-header-offset, 0px) - 36px));
    max-height: none;
    margin: 0 auto;
    padding: 0;
    border: 1px solid var(--homeofgrizzlys-border);
    border-top: 4px solid var(--homeofgrizzlys-green);
    background: var(--homeofgrizzlys-page-background);
    color: var(--homeofgrizzlys-white);
    overflow-y: auto;
    overscroll-behavior: contain;
}
.product-search::backdrop { background: rgb(0 0 0 / .75); }
.product-search[open] { animation: search-enter .15s ease-out; }
.product-search [hidden] { display: none !important; }
.product-search-open,
.product-search-open body { overflow: hidden; }
.product-search__top {
    position: sticky;
    top: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 32px;
    background: var(--homeofgrizzlys-page-background);
    border-bottom: 1px solid var(--homeofgrizzlys-border);
}
.product-search__form {
    display: flex;
    flex: 1;
    align-items: center;
    min-width: 0;
    background: var(--homeofgrizzlys-surface-raised);
    border: 1px solid var(--homeofgrizzlys-border);
}
.product-search .product-search__form input[type="search"] {
    flex: 1;
    width: 100%;
    min-width: 0;
    height: 44px;
    min-height: 44px;
    margin: 0;
    padding: 8px 14px;
    border: 0;
    background: transparent;
    font: inherit;
    font-size: 18px;
}
.product-search__form:focus-within { border-color: #fff; }
.product-search__field-icon { display: inline-flex; flex-shrink: 0; align-items: center; justify-content: center; width: 44px; height: 44px; }
.product-search .product-search__form input[type="search"] { padding-left: 0; }
.product-search .product-search__form input[type="search"]::placeholder { color: #a3a3a3; font-size: 14px; }
.product-search input::-webkit-search-cancel-button { display: none; }
.product-search__close,
.product-search__clear,
.product-search .product-search__submit {
    box-sizing: border-box;
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 0;
    background: var(--homeofgrizzlys-green);
    color: #fff;
    cursor: pointer;
}
.product-search__clear { width: 44px; background: transparent; font-size: 28px; }
.product-search__close:hover,
.product-search .product-search__submit:hover { background: #008c4b; }
.product-search__content { padding: 0 32px 32px; }
.product-search__status { margin: 16px 0; color: var(--homeofgrizzlys-muted); }
.product-search__status:empty { margin: 0; }
.product-search__section { margin-top: 28px; }
.product-search__heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}
.product-search__heading h3 {
    margin: 0;
    font-family: 'Sean Becker', Arial, sans-serif;
    font-size: clamp(24px, 2.5vw, 32px);
    font-weight: 800;
    font-style: italic;
    line-height: 1.15;
    text-transform: uppercase;
}
.product-search__delete {
    padding: 10px 0 10px 10px;
    border: 0;
    background: transparent;
    color: var(--homeofgrizzlys-muted);
    font: inherit;
    cursor: pointer;
}
.product-search__delete:hover { color: #fff; text-decoration: underline; }
.product-search__count {
    flex-shrink: 0;
    color: var(--homeofgrizzlys-muted);
    font-size: 14px;
    line-height: 1.4;
}
.product-search__products {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: start;
    gap: 28px 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.product-search__products li { min-width: 0; }
.product-search__product { position: relative; display: block; color: #fff; text-decoration: none; }
.product-search__product:hover { text-decoration: none; }
.product-search__image {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    container-type: inline-size;
    background: #000;
}
.product-search__image > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.product-search__name {
    display: block;
    margin: 12px 0 6px;
    font-family: 'Sean Becker', Arial, sans-serif;
    font-size: 24px;
    font-weight: 800;
    font-style: italic;
    line-height: 1.2;
    overflow-wrap: anywhere;
}
.product-search__product:hover .product-search__name { text-decoration: underline; text-decoration-color: #36b779; }
.product-search__price { display: block; font-size: 18px; }
.product-search__price del { color: var(--homeofgrizzlys-muted); }
.product-search__price ins { margin-left: 4px; font-weight: 700; text-decoration: none; }
.product-search__suggestions { display: flex; gap: 10px; margin: 0 0 24px; padding: 3px; overflow-x: auto; }
.product-search__suggestions button {
    flex-shrink: 0;
    min-height: 44px;
    padding: 8px 16px;
    border: 1px solid var(--homeofgrizzlys-border);
    background: var(--homeofgrizzlys-surface-raised);
    color: #fff;
    font: inherit;
    cursor: pointer;
}
.product-search__suggestions button:hover { border-color: #36b779; }
.product-search__all,
.product-search__retry {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 52px;
    margin: 28px auto 0;
    padding: 14px 28px;
    border: 0;
    background: var(--homeofgrizzlys-green);
    color: #fff;
    font: inherit;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
}
.product-search__all:hover,
.product-search__retry:hover { background: #008c4b; text-decoration: none; }
.product-search__error .product-search__retry { display: inline-flex; margin: 0 16px 0 0; }
@keyframes search-enter { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
@media (min-width: 901px) and (max-width: 1100px) {
    .site-header .shop-actions { gap: 0; padding-left: 12px; }
    .site-header .site-navigation > ul { gap: 12px; }
    .site-header .site-navigation a { font-size: 18px; }
    .site-header-links { gap: 12px; }
}
@media (max-width: 900px) {
    .product-search { inset-inline: 12px; width: calc(100% - 24px); max-width: none; }
    .product-search__top { gap: 12px; padding: 16px; }
    .product-search__content { padding: 0 16px 24px; }
    .product-search__products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
}
@media (max-width: 600px) {
    .product-search { inset-inline: 8px; width: calc(100% - 16px); }
    .product-search__top { gap: 8px; padding: 12px; }
    .product-search .product-search__form input[type="search"] { height: 44px; padding: 8px 12px; font-size: 16px; }
    .product-search .product-search__form input[type="search"] { padding-left: 0; }
    .product-search__close,
    .product-search__clear,
    .product-search .product-search__submit { width: 44px; height: 44px; padding: 10px; }
    .product-search__content { padding-inline: 12px; }
    .product-search__section { margin-top: 24px; }
    .product-search__products { gap: 20px 12px; }
    .product-search__products--carousel {
        grid-template-columns: none;
        grid-auto-flow: column;
        grid-auto-columns: calc((100% - 16px) / 1.3);
        gap: 16px;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        padding-bottom: 4px;
    }
    .product-search__products--carousel::-webkit-scrollbar { display: none; }
    .product-search__products--carousel > li { scroll-snap-align: start; }
    .product-search__products--carousel:has(> li:only-child) { grid-auto-columns: 100%; }
    .product-search__name { font-size: 20px; }
    .product-search__price { font-size: 16px; }
    .product-search__all { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .product-search[open] { animation: none; } }
