﻿/* Tiered PC header + desktop search (header.php) â€” restored */

:root {
    --storefront-nav-row-h: 4.75rem;
    --storefront-header-main-h: 5rem;
    --storefront-header-sub-h: 3rem;
    --storefront-announcement-h: 2rem;
    --storefront-header-h: calc(var(--storefront-nav-row-h) + var(--storefront-announcement-h));
    --storefront-sticky-gap: 0.75rem;
    --storefront-sticky-top: calc(var(--storefront-header-h) + var(--storefront-sticky-gap));
}

@media (min-width: 1024px) {
    .storefront-site-header--tiered {
        --storefront-nav-row-h: calc(var(--storefront-header-main-h) + var(--storefront-header-sub-h));
        --storefront-header-h: calc(var(--storefront-nav-row-h) + var(--storefront-announcement-h));
    }
}

@media (min-width: 1024px) {
    .storefront-site-header__bar--main {
        display: grid;
        grid-template-columns: auto minmax(280px, 1fr) auto;
        align-items: center;
        column-gap: 2rem;
        min-height: var(--storefront-header-main-h);
        padding-top: 0.85rem;
        padding-bottom: 0.85rem;
    }

    .storefront-site-header__logo {
        justify-self: start;
        line-height: 1;
        min-width: 0;
    }

    .storefront-site-header__search {
        justify-self: center;
        width: 100%;
        max-width: 36rem;
        min-width: 0;
        position: relative;
    }

    .storefront-site-header__search-field {
        display: flex;
        align-items: stretch;
        gap: 0;
        min-height: 3rem;
        max-width: 100%;
        overflow: hidden;
        padding: 0;
        border-radius: 9999px;
        border: none;
        background: #ffffff;
        box-shadow:
            0 4px 18px rgb(99 102 241 / 0.14),
            0 2px 8px rgb(15 23 42 / 0.06);
        transition: box-shadow 0.15s ease;
    }

    .storefront-site-header__search-field:focus-within,
    .storefront-site-header__search-field.is-open {
        box-shadow:
            0 6px 24px rgb(99 102 241 / 0.2),
            0 2px 10px rgb(15 23 42 / 0.08);
    }

    .dark .storefront-site-header__search-field {
        background: #18181b;
        box-shadow:
            0 4px 18px rgb(0 0 0 / 0.35),
            0 2px 8px rgb(0 0 0 / 0.2);
    }

    .dark .storefront-site-header__search-field:focus-within,
    .dark .storefront-site-header__search-field.is-open {
        box-shadow:
            0 6px 24px rgb(99 102 241 / 0.28),
            0 2px 10px rgb(0 0 0 / 0.25);
    }

    .storefront-site-header__search-input {
        flex: 1 1 auto;
        min-width: 0;
        width: 0;
        border: 0;
        background: transparent;
        padding: 0.85rem 0.35rem 0.85rem 1.35rem;
        font-size: 0.9375rem;
        font-weight: 500;
        color: #3f3f46;
        outline: none;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        scroll-margin: 0;
        scroll-margin-top: 0;
    }

    .dark .storefront-site-header__search-input {
        color: #fafafa;
    }

    .storefront-site-header__search-input::placeholder {
        color: #71717a;
        font-weight: 400;
    }

    .dark .storefront-site-header__search-input::placeholder {
        color: #a1a1aa;
    }

    .storefront-site-header__search-submit {
        flex-shrink: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 3.25rem;
        min-height: 3rem;
        padding: 0;
        border: 0;
        border-radius: 0 9999px 9999px 0;
        background: linear-gradient(135deg, #5b21b6 0%, #6d28d9 38%, #7c3aed 72%, #8b5cf6 100%);
        color: #fff;
        cursor: pointer;
        transition: filter 0.15s ease, opacity 0.15s ease;
    }

    .storefront-site-header__search-submit-icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .storefront-site-header__search-submit-icon .ui-icon {
        width: 1.15rem;
        height: 1.15rem;
        stroke-width: 2.25;
    }

    .storefront-site-header__search-submit:hover:not(:disabled) {
        filter: brightness(1.06);
    }

    .storefront-site-header__search-submit:disabled {
        opacity: 0.75;
        cursor: wait;
    }

    .storefront-site-header__search-spinner {
        display: inline-block;
        width: 1rem;
        height: 1rem;
        border: 2px solid rgb(255 255 255 / 0.35);
        border-top-color: #fff;
        border-radius: 50%;
        animation: storefront-search-spin 0.65s linear infinite;
    }

    .storefront-site-header__search-panel {
        position: absolute;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        width: min(52rem, 100%);
        max-width: calc(100vw - 2rem);
        box-sizing: border-box;
        top: calc(100% + 0.5rem);
        z-index: 650;
        max-height: min(24rem, 55vh);
        overflow-y: auto;
        padding: 0.65rem;
        border-radius: 1rem;
        border: 1px solid #e4e4e7;
        background: #fff;
        box-shadow: 0 16px 40px rgb(15 23 42 / 0.12);
    }

    .dark .storefront-site-header__search-panel {
        border-color: #3f3f46;
        background: #18181b;
        box-shadow: 0 16px 40px rgb(0 0 0 / 0.45);
    }

    .storefront-site-header__search-hint {
        margin: 0;
        padding: 0.5rem 0.75rem;
        font-size: 0.8125rem;
        color: #71717a;
    }

    .storefront-site-header__search-results {
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .storefront-site-header__search-result {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem;
        padding: 0.55rem 0.75rem;
        border-radius: 0.65rem;
        text-decoration: none;
        color: inherit;
        transition: background 0.12s ease;
    }

    .storefront-site-header__search-result:hover {
        background: #f4f4f5;
    }

    .dark .storefront-site-header__search-result:hover {
        background: #27272a;
    }

    .storefront-site-header__search-result-title {
        font-size: 0.875rem;
        font-weight: 600;
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .storefront-site-header__search-result-price {
        flex-shrink: 0;
        font-size: 0.8125rem;
        font-weight: 700;
        color: #4f46e5;
    }

    .storefront-site-header__search-more {
        display: block;
        margin-top: 0.35rem;
        padding: 0.55rem 0.75rem;
        text-align: center;
        font-size: 0.75rem;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        color: #4f46e5;
        text-decoration: none;
    }

    .storefront-site-header__actions {
        justify-self: end;
        display: inline-flex;
        align-items: center;
        gap: 0.35rem;
        min-width: 0;
    }

    .storefront-site-header__action {
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.2rem;
        min-width: 3.25rem;
        padding: 0.35rem 0.5rem;
        border: 0;
        background: transparent;
        color: #3f3f46;
        text-decoration: none;
        cursor: pointer;
        border-radius: 0.75rem;
        transition: color 0.15s ease, background 0.15s ease;
    }

    .storefront-site-header__action:hover {
        color: #4f46e5;
        background: rgb(99 102 241 / 0.06);
    }

    .dark .storefront-site-header__action {
        color: #d4d4d8;
    }

    .dark .storefront-site-header__action:hover {
        color: #a5b4fc;
        background: rgb(99 102 241 / 0.12);
    }

    .storefront-site-header__action-icon {
        width: 1.25rem;
        height: 1.25rem;
    }

    .storefront-site-header__action-label {
        font-size: 0.6875rem;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        line-height: 1.1;
        white-space: nowrap;
    }

    .storefront-site-header__bar--sub {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        column-gap: 2rem;
        min-height: var(--storefront-header-sub-h);
        padding-top: 0.35rem;
        padding-bottom: 0.35rem;
        border-top: 1px solid rgb(228 228 231 / 0.85);
    }

    .dark .storefront-site-header__bar--sub {
        border-top-color: rgb(63 63 70 / 0.9);
    }

    .storefront-site-header__nav {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        gap: clamp(1.25rem, 1.1vw, 2rem);
        min-width: 0;
        overflow: visible;
    }

    .storefront-site-header__nav::-webkit-scrollbar {
        display: none;
    }

    .storefront-site-header__nav-scroll {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        gap: clamp(1.25rem, 1.1vw, 2rem);
        min-width: 0;
        flex: 1 1 auto;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .storefront-site-header__nav-scroll::-webkit-scrollbar {
        display: none;
    }

    .storefront-site-header__nav-more {
        position: relative;
        flex-shrink: 0;
    }

    .storefront-site-header__nav-more-trigger {
        display: inline-flex;
        align-items: center;
        gap: 0.35rem;
        border: 0;
        background: transparent;
        cursor: pointer;
        padding: 0;
    }

    .storefront-site-header__nav-link--sale {
        flex-shrink: 0;
    }

    .storefront-site-header__nav-link {
        flex-shrink: 0;
        font-size: 0.8125rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        color: #3f3f46;
        text-decoration: none;
        white-space: nowrap;
        transition: color 0.15s ease;
    }

    .storefront-site-header__nav-link:hover {
        color: #4f46e5;
    }

    .storefront-site-header__nav-link--more {
        color: #4f46e5;
    }

    .storefront-site-header__nav-link--sale {
        color: #dc2626;
    }

    .storefront-site-header__nav-link--sale:hover {
        color: #b91c1c;
    }

    .dark .storefront-site-header__nav-link {
        color: #e4e4e7;
    }

    .dark .storefront-site-header__nav-link:hover {
        color: #a5b4fc;
    }

    .dark .storefront-site-header__nav-link--sale {
        color: #f87171;
    }

    .storefront-site-header__quick {
        display: inline-flex;
        align-items: center;
        flex-shrink: 0;
        gap: clamp(0.85rem, 1vw, 1.5rem);
    }

    .storefront-site-header__quick-link {
        font-size: 0.8125rem;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 0.06em;
        color: #18181b;
        text-decoration: none;
        white-space: nowrap;
        transition: color 0.15s ease;
    }

    .storefront-site-header__quick-link:hover {
        color: #4f46e5;
    }

    .dark .storefront-site-header__quick-link {
        color: #fafafa;
    }

    .dark .storefront-site-header__quick-link:hover {
        color: #a5b4fc;
    }
}

@media (min-width: 1440px) {
    .storefront-site-header__bar--main,
    .storefront-site-header__bar--sub {
        max-width: 96rem;
        padding-inline: clamp(2rem, 3vw, 2.75rem);
    }

    .storefront-site-header__search {
        max-width: min(36rem, 100%);
    }

    .storefront-site-header__bar--main {
        grid-template-columns: auto minmax(520px, 600px) auto;
        column-gap: 2.25rem;
    }

    .storefront-site-header__nav {
        gap: clamp(1.5rem, 1.25vw, 2.25rem);
    }
}

@media (min-width: 1920px) {
    .storefront-site-header__bar--main,
    .storefront-site-header__bar--sub {
        max-width: min(100rem, calc(100vw - 4rem));
        padding-inline: 3rem;
    }

    .storefront-site-header__bar--main {
        column-gap: 2.5rem;
    }

    .storefront-site-header__bar--sub {
        column-gap: 2.5rem;
    }

    .storefront-site-header__nav {
        gap: 2.5rem;
    }

    .storefront-site-header__quick {
        gap: 1.75rem;
    }
}

.storefront-site-header__desktop {
    display: none;
}

@media (min-width: 1024px) {
    .storefront-site-header__bar--mobile {
        display: none !important;
    }

    .storefront-site-header__desktop {
        display: block;
        width: 100%;
        overflow: visible;
    }
}

@media (min-width: 1024px) {
.storefront-site-header__search-clear {
        flex-shrink: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        align-self: center;
        width: 1.75rem;
        height: 1.75rem;
        margin-right: 0.1rem;
        border: 0;
        border-radius: 9999px;
        background: transparent;
        color: #71717a;
        cursor: pointer;
        transition: background 0.12s ease, color 0.12s ease;
    }

    .storefront-site-header__search-clear:hover {
        background: #f4f4f5;
        color: #18181b;
    }

    .dark .storefront-site-header__search-clear:hover {
        background: #27272a;
        color: #fafafa;
    }

    .storefront-site-header__search-panel {
        position: absolute;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        width: min(52rem, 100%);
        max-width: calc(100vw - 2rem);
        top: calc(100% + 0.55rem);
        z-index: 650;
        max-height: min(32rem, 70vh);
        overflow-y: auto;
        padding: 1.15rem 1.25rem 1rem;
        border-radius: 1rem;
        border: 1px solid #e4e4e7;
        background: #fff;
        box-shadow: 0 20px 48px rgb(15 23 42 / 0.14);
        box-sizing: border-box;
    }

    .dark .storefront-site-header__search-panel {
        border-color: #3f3f46;
        background: #18181b;
        box-shadow: 0 20px 48px rgb(0 0 0 / 0.5);
    }

    .storefront-site-header__search-hint {
        margin: 0;
        padding: 0.5rem 0.25rem;
        font-size: 0.8125rem;
        color: #71717a;
    }

    .storefront-site-header__search-rich {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .storefront-site-header__search-columns {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
        gap: 1.25rem;
        padding-bottom: 1rem;
        border-bottom: 1px solid #f4f4f5;
    }

    .dark .storefront-site-header__search-columns {
        border-bottom-color: #27272a;
    }

    .storefront-site-header__search-heading {
        margin: 0 0 0.65rem;
        font-size: 0.6875rem;
        font-weight: 800;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        color: #18181b;
    }

    .dark .storefront-site-header__search-heading {
        color: #fafafa;
    }

    .storefront-site-header__search-suggestions {
        margin: 0;
        padding: 0;
        list-style: none;
        display: flex;
        flex-direction: column;
        gap: 0.45rem;
    }

    .storefront-site-header__search-suggestion {
        display: block;
        width: 100%;
        text-align: left;
        padding: 0.55rem 0.85rem;
        border: 1px solid #e4e4e7;
        border-radius: 0.65rem;
        background: #fafafa;
        font-size: 0.875rem;
        font-weight: 600;
        color: #3f3f46;
        cursor: pointer;
        transition: border-color 0.12s ease, background 0.12s ease, color 0.12s ease;
    }

    .storefront-site-header__search-suggestion:hover {
        border-color: #c7d2fe;
        background: #eef2ff;
        color: #4338ca;
    }

    .dark .storefront-site-header__search-suggestion {
        border-color: #3f3f46;
        background: #27272a;
        color: #e4e4e7;
    }

    .storefront-site-header__search-products {
        margin: 0;
        padding: 0;
        list-style: none;
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

    .storefront-site-header__search-product {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        padding: 0.35rem 0.25rem;
        border-radius: 0.65rem;
        text-decoration: none;
        color: inherit;
        transition: background 0.12s ease;
    }

    .storefront-site-header__search-product:hover {
        background: #f4f4f5;
    }

    .dark .storefront-site-header__search-product:hover {
        background: #27272a;
    }

    .storefront-site-header__search-product-thumb {
        flex-shrink: 0;
        width: 3.5rem;
        height: 3.5rem;
        border-radius: 0.55rem;
        overflow: hidden;
        background: #f4f4f5;
    }

    .storefront-site-header__search-product-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .storefront-site-header__search-product-body {
        min-width: 0;
        display: flex;
        flex-direction: column;
        gap: 0.2rem;
    }

    .storefront-site-header__search-product-title {
        font-size: 0.875rem;
        font-weight: 600;
        color: #18181b;
        line-height: 1.35;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .dark .storefront-site-header__search-product-title {
        color: #fafafa;
    }

    .storefront-site-header__search-product-price {
        font-size: 0.875rem;
        font-weight: 800;
        color: #18181b;
    }

    .dark .storefront-site-header__search-product-price {
        color: #fafafa;
    }

    .storefront-site-header__search-section {
        padding-top: 0.15rem;
    }

    .storefront-site-header__search-brands {
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .storefront-site-header__search-brand {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        padding: 0.65rem 0.25rem;
        text-decoration: none;
        color: inherit;
        border-radius: 0.65rem;
        transition: background 0.12s ease;
    }

    .storefront-site-header__search-brand:hover {
        background: #f4f4f5;
    }

    .dark .storefront-site-header__search-brand:hover {
        background: #27272a;
    }

    .storefront-site-header__search-brand-logo {
        flex-shrink: 0;
        width: 2.5rem;
        height: 2.5rem;
        border-radius: 0.5rem;
        overflow: hidden;
        background: #f4f4f5;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .storefront-site-header__search-brand-logo img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
    }

    .storefront-site-header__search-brand-name {
        flex: 1 1 auto;
        font-size: 0.9375rem;
        font-weight: 700;
        color: #18181b;
    }

    .dark .storefront-site-header__search-brand-name {
        color: #fafafa;
    }

    .storefront-site-header__search-brand-chevron {
        flex-shrink: 0;
        width: 1rem;
        height: 1rem;
        color: #a1a1aa;
    }

    .storefront-site-header__search-categories {
        margin: 0;
        padding: 0;
        list-style: none;
        display: flex;
        flex-wrap: wrap;
        gap: 0.65rem 1.25rem;
    }

    .storefront-site-header__search-category {
        display: inline-flex;
        align-items: center;
        gap: 0.55rem;
        text-decoration: none;
        color: inherit;
        padding: 0.25rem 0;
        transition: opacity 0.12s ease;
    }

    .storefront-site-header__search-category:hover {
        opacity: 0.85;
    }

    .storefront-site-header__search-category-icon {
        flex-shrink: 0;
        width: 2.35rem;
        height: 2.35rem;
        border-radius: 0.5rem;
        overflow: hidden;
        background: #f4f4f5;
    }

    .storefront-site-header__search-category-icon img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .storefront-site-header__search-category-text {
        font-size: 0.8125rem;
        font-weight: 600;
        color: #3f3f46;
        white-space: nowrap;
    }

    .dark .storefront-site-header__search-category-text {
        color: #d4d4d8;
    }

    .storefront-site-header__search-category-count {
        font-weight: 500;
        color: #71717a;
    }

    .storefront-site-header__search-more {
        display: inline-flex;
        align-items: center;
        gap: 0.35rem;
        margin-top: 0.15rem;
        padding: 0.25rem 0;
        font-size: 0.8125rem;
        font-weight: 700;
        color: #4f46e5;
        text-decoration: none;
    }

    .storefront-site-header__search-more:hover {
        color: #4338ca;
    }

    .storefront-site-header__search-loading {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.65rem;
        padding: 1.5rem 0.5rem;
        font-size: 0.875rem;
        font-weight: 600;
        color: #71717a;
    }

    .storefront-site-header__search-spinner--panel {
        width: 1.25rem;
        height: 1.25rem;
        border-width: 2px;
        border-color: #e4e4e7;
        border-top-color: #4f46e5;
    }

    .storefront-site-header__actions {
        justify-self: end;
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        min-width: 0;
    }

    .storefront-site-header__action {
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.3rem;
        min-width: 4.25rem;
        padding: 0.4rem 0.55rem;
        border: 0;
        background: transparent;
        color: #3f3f46;
        text-decoration: none;
        cursor: pointer;
        border-radius: 0.75rem;
        transition: color 0.15s ease, background 0.15s ease;
    }

    .storefront-site-header__action-icon {
        width: 1.5rem;
        height: 1.5rem;
    }

    .storefront-site-header__action-label {
        font-size: 0.75rem;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        line-height: 1.15;
        white-space: nowrap;
        color: #52525b;
    }

    .dark .storefront-site-header__action-label {
        color: #d4d4d8;
    }

    .storefront-site-header__search-rich {
        display: flex;
        flex-direction: column;
        gap: 0.85rem;
    }

    .storefront-site-header__search-meta {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        padding-bottom: 0.85rem;
        border-bottom: 1px solid #f4f4f5;
    }

    .dark .storefront-site-header__search-meta {
        border-bottom-color: #27272a;
    }

    .storefront-site-header__search-meta-query {
        display: flex;
        align-items: baseline;
        gap: 0.45rem;
        min-width: 0;
    }

    .storefront-site-header__search-meta-label {
        font-size: 0.75rem;
        font-weight: 600;
        color: #71717a;
        text-transform: uppercase;
        letter-spacing: 0.06em;
    }

    .storefront-site-header__search-meta-query strong {
        font-size: 1rem;
        font-weight: 800;
        color: #18181b;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .dark .storefront-site-header__search-meta-query strong {
        color: #fafafa;
    }

    .storefront-site-header__search-meta-count {
        flex-shrink: 0;
        font-size: 0.75rem;
        font-weight: 700;
        color: #4f46e5;
        white-space: nowrap;
    }

    .storefront-site-header__search-layout {
        display: grid;
        grid-template-columns: minmax(10.5rem, 12.5rem) minmax(0, 1fr);
        gap: 1.35rem;
        align-items: start;
    }

    .storefront-site-header__search-main--full {
        grid-column: 1 / -1;
    }

    .storefront-site-header__search-aside {
        min-width: 0;
    }

    .storefront-site-header__search-main {
        min-width: 0;
    }

    .storefront-site-header__search-products-wrap {
        min-width: 0;
    }

    .storefront-site-header__search-heading--products {
        margin-bottom: 0.75rem;
    }

    .storefront-site-header__search-products {
        margin: 0;
        padding: 0;
        list-style: none;
        display: flex;
        flex-direction: column;
        gap: 0.35rem;
        max-height: min(22rem, 52vh);
        overflow-y: auto;
        scrollbar-width: thin;
    }

    .storefront-site-header__search-products--loading {
        opacity: 0.55;
        pointer-events: none;
    }

    .storefront-site-header__search-product {
        display: flex;
        align-items: center;
        gap: 0.85rem;
        padding: 0.55rem 0.5rem;
        border-radius: 0.75rem;
        text-decoration: none;
        color: inherit;
        border: 1px solid transparent;
        transition: background 0.12s ease, border-color 0.12s ease;
    }

    .storefront-site-header__search-product:hover {
        background: #f8fafc;
        border-color: #e4e4e7;
    }

    .dark .storefront-site-header__search-product:hover {
        background: #27272a;
        border-color: #3f3f46;
    }

    .storefront-site-header__search-product-thumb {
        position: relative;
        flex-shrink: 0;
        width: 4.5rem;
        height: 4.5rem;
        border-radius: 0.65rem;
        overflow: hidden;
        background: #f4f4f5;
        border: 1px solid #f4f4f5;
    }

    .storefront-site-header__search-product-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .storefront-site-header__search-product-badge {
        position: absolute;
        top: 0.25rem;
        left: 0.25rem;
        padding: 0.12rem 0.35rem;
        border-radius: 0.35rem;
        background: #dc2626;
        color: #fff;
        font-size: 0.625rem;
        font-weight: 800;
        line-height: 1.2;
    }

    .storefront-site-header__search-product-body {
        flex: 1 1 auto;
        min-width: 0;
        display: flex;
        flex-direction: column;
        gap: 0.25rem;
    }

    .storefront-site-header__search-product-title {
        font-size: 0.9375rem;
        font-weight: 700;
        color: #18181b;
        line-height: 1.35;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .dark .storefront-site-header__search-product-title {
        color: #fafafa;
    }

    .storefront-site-header__search-product-subtitle {
        font-size: 0.75rem;
        font-weight: 500;
        color: #71717a;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .storefront-site-header__search-product-meta {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 0.35rem 0.55rem;
    }

    .storefront-site-header__search-product-price {
        font-size: 0.9375rem;
        font-weight: 800;
        color: #18181b;
    }

    .dark .storefront-site-header__search-product-price {
        color: #fafafa;
    }

    .storefront-site-header__search-product-old {
        font-size: 0.8125rem;
        font-weight: 600;
        color: #a1a1aa;
        text-decoration: line-through;
    }

    .storefront-site-header__search-product-oos {
        font-size: 0.6875rem;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        color: #dc2626;
    }

    .storefront-site-header__search-product-arrow {
        flex-shrink: 0;
        width: 1rem;
        height: 1rem;
        color: #d4d4d8;
    }

    .storefront-site-header__search-product:hover .storefront-site-header__search-product-arrow {
        color: #4f46e5;
    }

    .storefront-site-header__search-section {
        padding-top: 0.65rem;
        border-top: 1px solid #f4f4f5;
    }

    .dark .storefront-site-header__search-section {
        border-top-color: #27272a;
    }

    .storefront-site-header__search-empty {
        margin: 0;
        padding: 1.25rem 0.5rem;
        text-align: center;
        font-size: 0.875rem;
        color: #71717a;
    }

    .storefront-site-header__search-footer {
        padding-top: 0.5rem;
        border-top: 1px solid #f4f4f5;
    }

    .dark .storefront-site-header__search-footer {
        border-top-color: #27272a;
    }

    .storefront-site-header__search-more {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.45rem;
        width: 100%;
        padding: 0.7rem 1rem;
        border-radius: 0.65rem;
        font-size: 0.8125rem;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 0.06em;
        color: #4f46e5;
        background: rgb(99 102 241 / 0.08);
        text-decoration: none;
        transition: background 0.12s ease, color 0.12s ease;
    }

    .storefront-site-header__search-more:hover {
        color: #4338ca;
        background: rgb(99 102 241 / 0.14);
    }

    .storefront-site-header__search-layout--single {
        grid-template-columns: minmax(0, 1fr);
    }

    .storefront-site-header__search-aside {
        min-width: 0;
    }

    .storefront-site-header__search {
        justify-self: center;
        width: 100%;
        max-width: 36rem;
        min-width: 0;
        position: relative;
        z-index: 1;
    }

    .storefront-site-header__search:has(.storefront-site-header__search-field.is-open) {
        z-index: 652;
    }

    .storefront-site-header__search-panel {
        position: absolute;
        left: 0;
        right: 0;
        transform: none;
        width: 100%;
        top: calc(100% + 0.7rem);
        bottom: auto;
        z-index: 650;
        max-height: none;
        overflow: visible;
        overflow-anchor: none;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        padding: 0 0 0.5rem;
        border-radius: 0.75rem;
        border: 1px solid #e4e4e7;
        background: #fff;
        box-shadow: 0 16px 40px rgb(15 23 42 / 0.12), 0 0 0 1px rgb(15 23 42 / 0.04);
    }

    .storefront-site-header__search-panel .storefront-site-header__search-rich,
    .storefront-site-header__search-panel .storefront-site-header__search-hint,
    .storefront-site-header__search-panel .storefront-site-header__search-loading {
        padding-left: 1.125rem;
        padding-right: 1.125rem;
    }

    .storefront-site-header__search-panel .storefront-site-header__search-rich {
        padding-top: 0.75rem;
        padding-bottom: 0.65rem;
        overflow: visible;
        overflow-anchor: none;
        flex: 0 0 auto;
        min-height: 0;
        display: flex;
        flex-direction: column;
        gap: 0.55rem;
    }

    .storefront-site-header__search-panel .storefront-site-header__search-footer--panel {
        flex-shrink: 0;
        margin-top: 0;
    }

    .storefront-site-header__search-panel .storefront-site-header__search-hint,
    .storefront-site-header__search-panel .storefront-site-header__search-loading {
        padding-top: 0.75rem;
        padding-bottom: 0.75rem;
    }

    .storefront-site-header__search-rich {
        display: flex;
        flex-direction: column;
        gap: 0.7rem;
    }

    .storefront-site-header__search-meta {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem;
        padding-bottom: 0.65rem;
        margin-bottom: 0.1rem;
        border-bottom: 1px solid #f4f4f5;
    }

    .storefront-site-header__search-meta-label {
        font-size: 0.6875rem;
        font-weight: 700;
        color: #a1a1aa;
        text-transform: uppercase;
        letter-spacing: 0.08em;
    }

    .storefront-site-header__search-meta-query strong {
        font-size: 0.9375rem;
        font-weight: 800;
        color: #18181b;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .storefront-site-header__search-meta-count {
        flex-shrink: 0;
        padding: 0.2rem 0.55rem;
        border-radius: 9999px;
        font-size: 0.6875rem;
        font-weight: 800;
        color: #4338ca;
        background: rgb(99 102 241 / 0.1);
        white-space: nowrap;
    }

    .storefront-site-header__search-layout {
        display: grid;
        grid-template-columns: 11.75rem minmax(0, 1fr);
        gap: 0;
        align-items: stretch;
        border: 1px solid #f4f4f5;
        border-radius: 0.65rem;
        overflow: hidden;
        background: #fafafa;
    }

    .dark .storefront-site-header__search-layout {
        border-color: #3f3f46;
        background: #27272a;
    }

    .storefront-site-header__search-layout--single {
        grid-template-columns: minmax(0, 1fr);
    }

    .storefront-site-header__search-aside {
        min-width: 0;
        padding: 0.75rem 0.8rem;
        border-right: 1px solid #f4f4f5;
        background: #fff;
    }

    .dark .storefront-site-header__search-aside {
        border-right-color: #3f3f46;
        background: #18181b;
    }

    .storefront-site-header__search-layout--single .storefront-site-header__search-aside {
        border-right: 0;
    }

    .storefront-site-header__search-main {
        min-width: 0;
        padding: 0.75rem 0.85rem;
        background: #fff;
    }

    .dark .storefront-site-header__search-main {
        background: #18181b;
    }

    .storefront-site-header__search-products-wrap {
        min-width: 0;
    }

    .storefront-site-header__search-heading--products {
        margin-bottom: 0.5rem;
    }

    .storefront-site-header__search-heading {
        margin: 0 0 0.5rem;
        font-size: 0.625rem;
        font-weight: 800;
        letter-spacing: 0.11em;
        text-transform: uppercase;
        color: #71717a;
    }

    .dark .storefront-site-header__search-heading {
        color: #a1a1aa;
    }

    .storefront-site-header__search-suggestions {
        margin: 0;
        padding: 0;
        list-style: none;
        display: flex;
        flex-direction: column;
        gap: 0.3rem;
    }

    .storefront-site-header__search-suggestion {
        display: block;
        width: 100%;
        text-align: left;
        padding: 0.42rem 0.65rem;
        border: 1px solid #e4e4e7;
        border-radius: 0.5rem;
        background: #f4f4f5;
        font-size: 0.8125rem;
        font-weight: 600;
        color: #3f3f46;
        line-height: 1.25;
        cursor: pointer;
        transition: border-color 0.12s ease, background 0.12s ease, color 0.12s ease;
    }

    .storefront-site-header__search-products {
        margin: 0;
        padding: 0;
        list-style: none;
        display: flex;
        flex-direction: column;
        gap: 0.15rem;
        max-height: min(19rem, 48vh);
        overflow-y: auto;
        scrollbar-width: thin;
        scrollbar-color: #d4d4d8 transparent;
    }

    .storefront-site-header__search-product {
        display: grid;
        grid-template-columns: 3.25rem minmax(0, 1fr) auto;
        align-items: center;
        gap: 0.65rem;
        padding: 0.4rem 0.35rem;
        border-radius: 0.5rem;
        text-decoration: none;
        color: inherit;
        transition: background 0.12s ease;
    }

    .storefront-site-header__search-product:hover {
        background: #f4f4f5;
    }

    .dark .storefront-site-header__search-product:hover {
        background: #27272a;
    }

    .storefront-site-header__search-product-thumb {
        position: relative;
        flex-shrink: 0;
        width: 3.25rem;
        height: 3.25rem;
        border-radius: 0.45rem;
        overflow: hidden;
        background: #fff;
        border: 1px solid #ececec;
    }

    .dark .storefront-site-header__search-product-thumb {
        background: #27272a;
        border-color: #3f3f46;
    }

    .storefront-site-header__search-product-body {
        min-width: 0;
        display: grid;
        grid-template-rows: auto auto;
        gap: 0.1rem;
        align-content: center;
    }

    .storefront-site-header__search-product-title {
        font-size: 0.8125rem;
        font-weight: 700;
        color: #18181b;
        line-height: 1.3;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .storefront-site-header__search-product-subtitle {
        font-size: 0.6875rem;
        font-weight: 500;
        color: #a1a1aa;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .storefront-site-header__search-product-meta {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        gap: 0.35rem;
        min-width: 0;
    }

    .storefront-site-header__search-product-price {
        font-size: 0.8125rem;
        font-weight: 800;
        color: #18181b;
        white-space: nowrap;
    }

    .storefront-site-header__search-product-old {
        font-size: 0.6875rem;
        font-weight: 600;
        color: #a1a1aa;
        text-decoration: line-through;
        white-space: nowrap;
    }

    .storefront-site-header__search-product-oos {
        margin-left: 0.15rem;
        padding: 0.1rem 0.35rem;
        border-radius: 0.25rem;
        font-size: 0.5625rem;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 0.03em;
        color: #b91c1c;
        background: rgb(254 226 226 / 0.85);
        white-space: nowrap;
    }

    .storefront-site-header__search-product-arrow {
        grid-column: 3;
        grid-row: 1 / span 2;
        align-self: center;
        flex-shrink: 0;
        width: 0.875rem;
        height: 0.875rem;
        color: #d4d4d8;
    }

    .storefront-site-header__search-section {
        padding-top: 0.55rem;
        margin-top: 0.15rem;
        border-top: 1px solid #f4f4f5;
    }

    .storefront-site-header__search-categories {
        margin: 0;
        padding: 0;
        list-style: none;
        display: flex;
        flex-wrap: wrap;
        gap: 0.4rem 0.85rem;
    }

    .storefront-site-header__search-category {
        display: inline-flex;
        align-items: center;
        gap: 0.45rem;
        text-decoration: none;
        color: inherit;
        padding: 0.2rem 0;
        transition: opacity 0.12s ease;
    }

    .storefront-site-header__search-category:hover {
        opacity: 0.85;
    }

    .storefront-site-header__search-category-icon {
        flex-shrink: 0;
        width: 2rem;
        height: 2rem;
        border-radius: 0.4rem;
        overflow: hidden;
        background: #f4f4f5;
        border: 1px solid #ececec;
    }

    .storefront-site-header__search-category-text {
        font-size: 0.75rem;
        font-weight: 600;
        color: #3f3f46;
        white-space: nowrap;
    }

    .storefront-site-header__search-footer {
        padding-top: 0.45rem;
        margin-top: 0.1rem;
        border-top: 1px solid #f4f4f5;
    }

    .storefront-site-header__search {
        max-width: min(40rem, 100%);
    }

    .storefront-site-header__search-panel {
        width: 100%;
        max-width: 100%;
    }

    .storefront-site-header__bar--main {
        column-gap: 2.5rem;
    }

    .storefront-site-header__bar--sub {
        column-gap: 2.5rem;
    }

    .storefront-site-header__search-more {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.4rem;
        width: 100%;
        padding: 0.55rem 0.85rem;
        border-radius: 0.5rem;
        font-size: 0.75rem;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 0.06em;
        color: #4f46e5;
        background: rgb(99 102 241 / 0.08);
        text-decoration: none;
        transition: background 0.12s ease, color 0.12s ease;
    }

    .storefront-site-header__search-more:hover {
        color: #4338ca;
        background: rgb(99 102 241 / 0.14);
    }

    .dark .storefront-site-header__search-heading {
        color: #a1a1aa;
    }

    .storefront-site-header__search-suggestion {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.5rem;
        width: 100%;
        text-align: left;
        padding: 0.42rem 0.65rem;
        border: 1px solid #e4e4e7;
        border-radius: 0.5rem;
        background: #f4f4f5;
        font-size: 0.8125rem;
        font-weight: 600;
        color: #3f3f46;
        line-height: 1.25;
        cursor: pointer;
        transition: border-color 0.12s ease, background 0.12s ease, color 0.12s ease;
    }

    .storefront-site-header__search-suggestion-text {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .storefront-site-header__search-suggestion-tag {
        flex-shrink: 0;
        padding: 0.1rem 0.4rem;
        border-radius: 9999px;
        font-size: 0.5625rem;
        font-weight: 800;
        letter-spacing: 0.04em;
        text-transform: uppercase;
        color: #4338ca;
        background: rgb(99 102 241 / 0.12);
    }

    .storefront-site-header__search-dym {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 0.35rem 0.5rem;
        padding: 0.5rem 0.65rem;
        margin-bottom: 0.35rem;
        border-radius: 0.5rem;
        font-size: 0.75rem;
        color: #52525b;
        background: #fef9c3;
        border: 1px solid #fde047;
    }

    .dark .storefront-site-header__search-dym {
        color: #e4e4e7;
        background: rgb(113 63 18 / 0.35);
        border-color: #854d0e;
    }

    .storefront-site-header__search-dym-btn {
        padding: 0.15rem 0.45rem;
        border: 0;
        border-radius: 0.35rem;
        font-size: 0.8125rem;
        font-weight: 800;
        color: #4338ca;
        background: #fff;
        cursor: pointer;
    }

    .storefront-site-header__search-dym-btn:hover {
        color: #312e81;
    }

    .storefront-site-header__search-quick {
        display: flex;
        flex-wrap: wrap;
        gap: 0.35rem;
        margin-bottom: 0.5rem;
    }

    .storefront-site-header__search-quick-link {
        display: inline-flex;
        align-items: center;
        padding: 0.3rem 0.65rem;
        border-radius: 9999px;
        border: 1px solid #e4e4e7;
        font-size: 0.6875rem;
        font-weight: 700;
        color: #3f3f46;
        text-decoration: none;
        background: #fff;
        transition: border-color 0.12s ease, color 0.12s ease;
    }

    .storefront-site-header__search-quick-link:hover {
        border-color: #c7d2fe;
        color: #4338ca;
    }

    .dark .storefront-site-header__search-quick-link {
        border-color: #3f3f46;
        color: #e4e4e7;
        background: #27272a;
    }

    .storefront-site-header__search-meta-stock {
        flex-shrink: 0;
        font-size: 0.6875rem;
        font-weight: 700;
        color: #15803d;
        white-space: nowrap;
    }

    .storefront-site-header__search-recent {
        padding: 0.9rem 1.125rem 0.85rem;
    }

    .storefront-site-header__search-recent-list {
        margin: 0;
        padding: 0;
        list-style: none;
        display: flex;
        flex-direction: column;
        gap: 0.25rem;
    }

    .storefront-site-header__search-recent-btn {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        width: 100%;
        padding: 0.45rem 0.5rem;
        border: 0;
        border-radius: 0.45rem;
        background: transparent;
        font-size: 0.8125rem;
        font-weight: 600;
        color: #3f3f46;
        text-align: left;
        cursor: pointer;
        transition: background 0.12s ease;
    }

    .storefront-site-header__search-recent-btn:hover {
        background: #f4f4f5;
    }

    .dark .storefront-site-header__search-recent-btn {
        color: #e4e4e7;
    }

    .dark .storefront-site-header__search-recent-btn:hover {
        background: #27272a;
    }

    .storefront-site-header__search-recent-icon {
        flex-shrink: 0;
        width: 0.875rem;
        height: 0.875rem;
        color: #a1a1aa;
    }

    .storefront-site-header__search-layout {
        display: grid;
        grid-template-columns: 15.5rem minmax(0, 1fr);
        gap: 0;
        align-items: stretch;
        border: 1px solid #f4f4f5;
        border-radius: 0.65rem;
        overflow: hidden;
        background: #fafafa;
    }

    .storefront-site-header__search-aside {
        min-width: 0;
        padding: 0.9rem 1rem;
        border-right: 1px solid #f4f4f5;
        background: #fff;
    }

    .storefront-site-header__search-aside .storefront-site-header__search-heading {
        margin-bottom: 0.75rem;
    }

    .storefront-site-header__search-suggestions {
        margin: 0;
        padding: 0;
        list-style: none;
        display: flex;
        flex-direction: column;
        gap: 0.55rem;
    }

    .storefront-site-header__search-suggestions > li {
        min-width: 0;
    }

    .storefront-site-header__search-suggestion {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.35rem;
        width: 100%;
        text-align: left;
        padding: 0.6rem 0.75rem;
        border: 1px solid #e4e4e7;
        border-radius: 0.6rem;
        background: #f4f4f5;
        font-size: 0.8125rem;
        font-weight: 600;
        color: #3f3f46;
        line-height: 1.35;
        cursor: pointer;
        transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
    }

    .storefront-site-header__search-suggestion-text {
        display: block;
        width: 100%;
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: 0.875rem;
        font-weight: 700;
        line-height: 1.3;
    }

    .storefront-site-header__search-suggestion-tag {
        flex-shrink: 0;
        padding: 0.15rem 0.45rem;
        border-radius: 9999px;
        font-size: 0.5625rem;
        font-weight: 800;
        letter-spacing: 0.05em;
        text-transform: uppercase;
        color: #4338ca;
        background: rgb(99 102 241 / 0.12);
    }

    .storefront-site-header__search-products {
        margin: 0;
        padding: 0;
        list-style: none;
        display: flex;
        flex-direction: column;
        gap: 0.1rem;
        max-height: min(20.5rem, 52vh);
        overflow-y: auto;
        overflow-x: visible;
        scrollbar-width: thin;
        scrollbar-color: #d4d4d8 transparent;
    }

    .storefront-site-header__search-products > li {
        overflow: visible;
    }

    .storefront-site-header__search-product {
        display: grid;
        grid-template-columns: 3rem minmax(0, 1fr) auto;
        align-items: start;
        gap: 0.65rem;
        padding: 0.45rem 0.5rem;
        border-radius: 0.5rem;
        text-decoration: none;
        color: inherit;
        position: relative;
        overflow: visible;
        transition: background 0.15s ease;
    }

    .storefront-site-header__search-product:hover {
        background: #f4f4f5;
        z-index: 2;
    }

    .dark .storefront-site-header__search-product:hover {
        background: #27272a;
    }

    .storefront-site-header__search-products:not(.storefront-site-header__search-products--wide) .storefront-site-header__search-product-thumb {
        position: relative;
        grid-column: 1;
        grid-row: 1;
        align-self: center;
        flex-shrink: 0;
        width: 3rem;
        height: 3rem;
        border-radius: 0.5rem;
        overflow: hidden;
        background: #fff;
        border: 1px solid #ececec;
        box-shadow: 0 1px 3px rgb(15 23 42 / 0.06);
        transition: width 0.22s ease, height 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
        transform-origin: left center;
        z-index: 1;
    }

    .storefront-site-header__search-product:hover .storefront-site-header__search-product-thumb {
        width: 4.75rem;
        height: 4.75rem;
        transform: scale(1.02);
        border-color: #c7d2fe;
        box-shadow: 0 10px 28px rgb(15 23 42 / 0.14), 0 0 0 1px rgb(99 102 241 / 0.12);
        z-index: 5;
    }

    .dark .storefront-site-header__search-product-thumb {
        background: #27272a;
        border-color: #3f3f46;
    }

    .dark .storefront-site-header__search-product:hover .storefront-site-header__search-product-thumb {
        border-color: #6366f1;
        box-shadow: 0 12px 32px rgb(0 0 0 / 0.45), 0 0 0 1px rgb(99 102 241 / 0.25);
    }

    .storefront-site-header__search-product-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.22s ease;
    }

    .storefront-site-header__search-product:hover .storefront-site-header__search-product-thumb img {
        transform: scale(1.06);
    }

    .storefront-site-header__search-products-wrap {
        min-width: 0;
        padding: 0.15rem 0.25rem 0.15rem 0.15rem;
    }

    .storefront-site-header__search-products:not(.storefront-site-header__search-products--wide) .storefront-site-header__search-product-thumb {
        position: relative;
        grid-column: 1;
        grid-row: 1;
        align-self: center;
        flex-shrink: 0;
        width: 3.25rem;
        height: 3.25rem;
        border-radius: 0.5rem;
        overflow: hidden;
        background: #fff;
        border: 1px solid #ececec;
        box-shadow: 0 1px 3px rgb(15 23 42 / 0.06);
        transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.22s ease, border-color 0.22s ease;
        transform-origin: center center;
        z-index: 1;
    }

    .storefront-site-header__search-products:not(.storefront-site-header__search-products--wide) .storefront-site-header__search-product:hover .storefront-site-header__search-product-thumb {
        transform: scale(1.65);
        border-color: #c7d2fe;
        box-shadow: 0 12px 32px rgb(15 23 42 / 0.16), 0 0 0 1px rgb(99 102 241 / 0.15);
        z-index: 8;
    }

    .storefront-site-header__search-product {
        display: grid;
        grid-template-columns: 3.5rem minmax(0, 1fr) auto;
        align-items: center;
        gap: 0.75rem;
        padding: 0.55rem 0.6rem;
        border-radius: 0.65rem;
        border: 1px solid transparent;
        text-decoration: none;
        color: inherit;
        position: relative;
        overflow: visible;
        transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
    }

    .storefront-site-header__search-product:hover {
        background: #fafafa;
        border-color: #e4e4e7;
        box-shadow: 0 4px 14px rgb(15 23 42 / 0.06);
        z-index: 2;
    }

    .dark .storefront-site-header__search-product:hover {
        background: #27272a;
        border-color: #3f3f46;
        box-shadow: 0 6px 18px rgb(0 0 0 / 0.25);
    }

    .storefront-site-header__search-product-info {
        grid-column: 2;
        min-width: 0;
        display: flex;
        flex-direction: column;
        gap: 0.4rem;
    }

    .storefront-site-header__search-product-copy {
        display: flex;
        flex-direction: column;
        gap: 0.15rem;
        min-width: 0;
    }

    .storefront-site-header__search-product-title {
        font-size: 0.875rem;
        font-weight: 700;
        color: #18181b;
        line-height: 1.35;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .dark .storefront-site-header__search-product-title {
        color: #fafafa;
    }

    .storefront-site-header__search-product-subtitle {
        font-size: 0.75rem;
        font-weight: 500;
        color: #71717a;
        line-height: 1.3;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .dark .storefront-site-header__search-product-subtitle {
        color: #a1a1aa;
    }

    .storefront-site-header__search-product-foot {
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
        gap: 0.5rem;
        min-width: 0;
    }

    .storefront-site-header__search-product-pricing {
        display: flex;
        flex-wrap: wrap;
        align-items: baseline;
        gap: 0.3rem 0.45rem;
        min-width: 0;
    }

    .storefront-site-header__search-product-price {
        font-size: 0.9375rem;
        font-weight: 800;
        color: #4338ca;
        white-space: nowrap;
        font-variant-numeric: tabular-nums;
        letter-spacing: -0.02em;
    }

    .dark .storefront-site-header__search-product-price {
        color: #a5b4fc;
    }

    .storefront-site-header__search-product-old {
        font-size: 0.75rem;
        font-weight: 600;
        color: #a1a1aa;
        text-decoration: line-through;
        white-space: nowrap;
        font-variant-numeric: tabular-nums;
    }

    .storefront-site-header__search-product-status {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: flex-end;
        gap: 0.25rem;
        flex-shrink: 0;
    }

    .storefront-site-header__search-product-discount {
        padding: 0.12rem 0.4rem;
        border-radius: 9999px;
        font-size: 0.5625rem;
        font-weight: 800;
        letter-spacing: 0.02em;
        color: #fff;
        background: linear-gradient(135deg, #6366f1 0%, #7c3aed 100%);
        white-space: nowrap;
    }

    .storefront-site-header__search-product-stock {
        padding: 0.12rem 0.4rem;
        border-radius: 9999px;
        font-size: 0.5625rem;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        color: #15803d;
        background: rgb(220 252 231 / 0.95);
        white-space: nowrap;
    }

    .dark .storefront-site-header__search-product-stock {
        color: #86efac;
        background: rgb(20 83 45 / 0.45);
    }

    .storefront-site-header__search-product-oos {
        padding: 0.12rem 0.4rem;
        border-radius: 9999px;
        font-size: 0.5625rem;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        color: #b91c1c;
        background: rgb(254 226 226 / 0.95);
        white-space: nowrap;
    }

    .dark .storefront-site-header__search-product-oos {
        color: #fca5a5;
        background: rgb(127 29 29 / 0.4);
    }

    .storefront-site-header__search-empty-state {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin: 0.35rem 0 0.25rem;
        padding: 1.75rem 1.25rem 1.5rem;
        border-radius: 0.85rem;
        border: 1px dashed #e4e4e7;
        background: linear-gradient(180deg, #fafafa 0%, #fff 100%);
    }

    .dark .storefront-site-header__search-empty-state {
        border-color: #3f3f46;
        background: linear-gradient(180deg, #27272a 0%, #18181b 100%);
    }

    .storefront-site-header__search-empty-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 3.25rem;
        height: 3.25rem;
        margin-bottom: 0.85rem;
        border-radius: 9999px;
        color: #6366f1;
        background: rgb(99 102 241 / 0.1);
        box-shadow: 0 0 0 6px rgb(99 102 241 / 0.06);
    }

    .storefront-site-header__search-empty-icon .ui-icon {
        width: 1.35rem;
        height: 1.35rem;
    }

    .storefront-site-header__search-empty-title {
        margin: 0 0 0.4rem;
        font-size: 1.0625rem;
        font-weight: 800;
        letter-spacing: -0.02em;
        color: #18181b;
    }

    .dark .storefront-site-header__search-empty-title {
        color: #fafafa;
    }

    .storefront-site-header__search-empty-desc {
        margin: 0 0 0.35rem;
        max-width: 22rem;
        font-size: 0.8125rem;
        line-height: 1.5;
        color: #52525b;
    }

    .storefront-site-header__search-empty-desc strong {
        color: #18181b;
        font-weight: 800;
    }

    .dark .storefront-site-header__search-empty-desc {
        color: #a1a1aa;
    }

    .dark .storefront-site-header__search-empty-desc strong {
        color: #fafafa;
    }

    .storefront-site-header__search-empty-hint {
        margin: 0 0 1rem;
        max-width: 20rem;
        font-size: 0.75rem;
        line-height: 1.45;
        color: #a1a1aa;
    }

    .storefront-site-header__search-empty-actions {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        width: 100%;
    }

    .storefront-site-header__search-empty-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 2.25rem;
        padding: 0.45rem 0.9rem;
        border-radius: 9999px;
        font-size: 0.75rem;
        font-weight: 700;
        text-decoration: none;
        cursor: pointer;
        transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
    }

    .storefront-site-header__search-empty-btn--ghost {
        border: 1px solid #e4e4e7;
        color: #3f3f46;
        background: #fff;
    }

    .storefront-site-header__search-empty-btn--ghost:hover {
        border-color: #d4d4d8;
        background: #f4f4f5;
    }

    .storefront-site-header__search-empty-btn--primary {
        border: 1px solid transparent;
        color: #fff;
        background: linear-gradient(135deg, #6366f1 0%, #7c3aed 100%);
        box-shadow: 0 6px 16px -8px rgb(99 102 241 / 0.65);
    }

    .storefront-site-header__search-empty-btn--primary:hover {
        filter: brightness(1.05);
        transform: translateY(-1px);
    }

    .dark .storefront-site-header__search-empty-btn--ghost {
        border-color: #3f3f46;
        color: #e4e4e7;
        background: #27272a;
    }

    .storefront-site-header__search-products {
        margin: 0;
        padding: 0;
        list-style: none;
        display: flex;
        flex-direction: column;
        gap: 0.2rem;
    }

    .storefront-site-header__nav-more-chevron {
        display: inline-flex;
        transition: transform 0.2s ease;
    }

    .storefront-site-header__nav-more-chevron.is-open {
        transform: rotate(180deg);
    }

    .storefront-site-header__nav-more .storefront-site-header__nav-more-panel {
        position: absolute;
        top: calc(100% + 0.5rem);
        left: 0;
        z-index: 700;
        margin: 0;
    }

    .storefront-site-header__bar--sub {
        overflow: visible;
    }

    .storefront-site-header__desktop {
        display: block;
        width: 100%;
        overflow: visible;
    }

    .storefront-site-header__search-empty-hint {
        margin: 0 0 0.85rem;
        max-width: 20rem;
        font-size: 0.75rem;
        line-height: 1.45;
        color: #a1a1aa;
    }

    .storefront-site-header__search-popular {
        width: 100%;
        max-width: 22rem;
        margin: 0 0 1rem;
        text-align: center;
    }

    .storefront-site-header__search-popular-label {
        display: block;
        margin-bottom: 0.55rem;
        font-size: 0.6875rem;
        font-weight: 800;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        color: #71717a;
    }

    .storefront-site-header__search-block .storefront-site-header__search-popular-chips {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: flex-start;
        gap: 0.4rem;
    }

    .storefront-site-header__search-popular-chip {
        display: inline-flex;
        align-items: center;
        padding: 0.4rem 0.85rem;
        border: 1px solid #e4e4e7;
        border-radius: 9999px;
        background: #fff;
        font-size: 0.8125rem;
        font-weight: 700;
        color: #3f3f46;
        cursor: pointer;
        transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
    }

    .storefront-site-header__search-popular-chip:hover {
        border-color: #c7d2fe;
        color: #4338ca;
        background: #eef2ff;
        box-shadow: 0 4px 12px rgb(99 102 241 / 0.12);
    }

    .storefront-site-header__search-popular-chip--link {
        text-decoration: none;
    }

    .dark .storefront-site-header__search-popular-chip {
        border-color: #3f3f46;
        background: #27272a;
        color: #e4e4e7;
    }

    .dark .storefront-site-header__search-popular-chip:hover {
        border-color: #6366f1;
        color: #a5b4fc;
        background: rgb(49 46 129 / 0.35);
    }

    .storefront-site-header__search-popular {
        margin: 0 0 1rem;
        text-align: center;
    }

    .storefront-site-header__search-popular-label {
        display: block;
        margin-bottom: 0.5rem;
        font-size: 0.6875rem;
        font-weight: 800;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        color: #71717a;
    }

    .storefront-site-header__search-popular-chips {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.45rem;
    }

    .storefront-site-header__search-popular-chip {
        display: inline-flex;
        align-items: center;
        padding: 0.35rem 0.75rem;
        border-radius: 9999px;
        border: 1px solid #e4e4e7;
        background: #fff;
        font-size: 0.75rem;
        font-weight: 700;
        color: #3f3f46;
        cursor: pointer;
        transition: border-color 0.12s ease, color 0.12s ease;
    }

    .storefront-site-header__search-popular-chip:hover {
        border-color: #c7d2fe;
        color: #4338ca;
    }

    .storefront-site-header__search-empty-state {
        padding: 1.25rem 1.5rem 1.5rem;
        text-align: center;
    }

    .storefront-site-header__nav-more-panel {
        min-width: 14rem;
        max-width: min(100vw - 2rem, 20rem);
        max-height: min(70vh, 22rem);
        overflow-y: auto;
        padding: 0.35rem 0;
        border-radius: 0.85rem;
        border: 1px solid #e4e4e7;
        background: #fff;
        box-shadow: 0 18px 40px rgb(15 23 42 / 0.14), 0 0 0 1px rgb(15 23 42 / 0.04);
    }

    .storefront-site-header__nav-more-panel[x-cloak] {
        display: none !important;
    }

    .dark .storefront-site-header__nav-more-panel {
        border-color: #3f3f46;
        background: #18181b;
        box-shadow: 0 20px 48px rgb(0 0 0 / 0.5);
    }

    .storefront-site-header__nav-more-item {
        display: block;
        padding: 0.55rem 1rem;
        font-size: 0.8125rem;
        font-weight: 600;
        color: #3f3f46;
        text-decoration: none;
    }

    .storefront-site-header__nav-more-item:hover {
        background: #f4f4f5;
        color: #4338ca;
    }

    .storefront-site-header__nav-more-divider {
        margin: 0.35rem 0;
        border-top: 1px solid #f4f4f5;
    }

    /* Arama paneli — kompakt dropdown */
    .storefront-site-header__search-panel .storefront-site-header__search-rich {
        gap: 0.5rem;
        padding-top: 0.65rem;
        padding-bottom: 0.35rem;
    }

    .storefront-site-header__search-block {
        padding-bottom: 0.1rem;
        flex-shrink: 0;
    }

    .storefront-site-header__search-block--products {
        padding-bottom: 0.45rem;
        margin-bottom: 0.2rem;
        overflow: hidden;
    }

    .storefront-site-header__search-block + .storefront-site-header__search-block {
        padding-top: 0.15rem;
        border-top: 1px solid #f4f4f5;
    }

    .dark .storefront-site-header__search-block + .storefront-site-header__search-block {
        border-top-color: #3f3f46;
    }

    .storefront-site-header__search-corrected {
        margin: 0;
        font-size: 0.75rem;
        color: #52525b;
    }

    .storefront-site-header__search-corrected strong {
        color: #4f46e5;
        font-weight: 700;
    }

    .storefront-site-header__search-brand-rows {
        margin: 0;
        padding: 0;
        list-style: none;
        display: flex;
        flex-direction: column;
        gap: 0.25rem;
    }

    .storefront-site-header__search-brand-row {
        display: flex;
        align-items: center;
        gap: 0.65rem;
        padding: 0.4rem 0.35rem;
        border-radius: 0.5rem;
        text-decoration: none;
        color: inherit;
        transition: background 0.12s ease;
    }

    .storefront-site-header__search-brand-row:hover {
        background: #f4f4f5;
    }

    .dark .storefront-site-header__search-brand-row:hover {
        background: #27272a;
    }

    .storefront-site-header__search-brand-row-icon {
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 2rem;
        height: 2rem;
        border-radius: 9999px;
        overflow: hidden;
        background: #fff;
        border: 1px solid #ececec;
    }

    .storefront-site-header__search-brand-row-icon img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .storefront-site-header__search-brand-row-name {
        flex: 1 1 auto;
        min-width: 0;
        font-size: 0.875rem;
        font-weight: 600;
        color: #18181b;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .dark .storefront-site-header__search-brand-row-name {
        color: #fafafa;
    }

    .storefront-site-header__search-brand-row-arrow {
        flex-shrink: 0;
        width: 0.75rem;
        height: 0.75rem;
        color: #a1a1aa;
    }

    .storefront-site-header__search-suggest-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.5rem;
        margin-bottom: 0.35rem;
    }

    .storefront-site-header__search-suggest-head .storefront-site-header__search-heading {
        margin-bottom: 0;
    }

    .storefront-site-header__search-suggest-nav {
        display: inline-flex;
        flex-shrink: 0;
        gap: 0.25rem;
    }

    .storefront-site-header__search-suggest-nav-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 1.85rem;
        height: 1.85rem;
        padding: 0;
        border: 1px solid #e4e4e7;
        border-radius: 9999px;
        background: #fff;
        color: #52525b;
        cursor: pointer;
        transition: border-color 0.12s ease, color 0.12s ease, background 0.12s ease;
    }

    .storefront-site-header__search-suggest-nav-btn:hover {
        border-color: #c7d2fe;
        color: #4f46e5;
        background: #f8fafc;
    }

    .dark .storefront-site-header__search-suggest-nav-btn {
        border-color: #3f3f46;
        background: #27272a;
        color: #d4d4d8;
    }

    .storefront-site-header__search-suggest-viewport {
        overflow-x: auto;
        overflow-y: hidden;
        height: 12.15rem;
        margin: 0 -0.15rem;
        padding: 0 0.15rem 0.55rem;
        scroll-snap-type: x proximity;
        scrollbar-width: thin;
        scrollbar-color: #cbd5e1 transparent;
        -webkit-overflow-scrolling: touch;
    }

    .storefront-site-header__search-suggest-viewport::-webkit-scrollbar {
        height: 3px;
    }

    .storefront-site-header__search-suggest-viewport::-webkit-scrollbar-button {
        display: none;
        width: 0;
        height: 0;
    }

    .storefront-site-header__search-suggest-viewport::-webkit-scrollbar-track {
        margin-top: 0.4rem;
        background: transparent;
        border-radius: 9999px;
    }

    .storefront-site-header__search-suggest-viewport::-webkit-scrollbar-thumb {
        background: #cbd5e1;
        border-radius: 9999px;
    }

    .storefront-site-header__search-suggest-viewport::-webkit-scrollbar-thumb:hover {
        background: #94a3b8;
    }

    .dark .storefront-site-header__search-suggest-viewport {
        scrollbar-color: #52525b transparent;
    }

    .dark .storefront-site-header__search-suggest-viewport::-webkit-scrollbar-thumb {
        background: #52525b;
    }

    .dark .storefront-site-header__search-suggest-viewport::-webkit-scrollbar-thumb:hover {
        background: #71717a;
    }

    .storefront-site-header__search-suggest-viewport:focus {
        outline: none;
    }

    .storefront-site-header__search-suggest-track {
        margin: 0 0 0.35rem;
        padding: 0;
        list-style: none;
        display: flex;
        align-items: flex-start;
        gap: 0.7rem;
        height: 11.35rem;
        overflow: visible;
    }

    .storefront-site-header__search-suggest-card {
        box-sizing: border-box;
        flex: 0 0 7.25rem;
        width: 7.25rem;
        height: 11.35rem;
        min-height: 11.35rem;
        max-height: 11.35rem;
        display: flex;
        flex-direction: column;
        gap: 0.35rem;
        text-decoration: none;
        color: inherit;
        scroll-snap-align: start;
        overflow: hidden;
    }

    .storefront-site-header__search-suggest-card:hover .storefront-site-header__search-suggest-card-title {
        color: #4f46e5;
    }

    .storefront-site-header__search-suggest-card-img {
        display: block;
        width: 7.25rem;
        height: 7.25rem;
        min-height: 7.25rem;
        max-height: 7.25rem;
        flex: 0 0 7.25rem;
        border-radius: 0.55rem;
        overflow: hidden;
        background: #f4f4f5;
        border: 1px solid #ececec;
    }

    .storefront-site-header__search-suggest-card-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .storefront-site-header__search-suggest-card-title {
        font-size: 0.75rem;
        font-weight: 600;
        line-height: 1.25;
        height: 2.5em;
        min-height: 2.5em;
        max-height: 2.5em;
        color: #3f3f46;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
        flex: 0 0 2.5em;
    }

    .dark .storefront-site-header__search-suggest-card-title {
        color: #d4d4d8;
    }

    .storefront-site-header__search-suggest-card-price {
        font-size: 0.75rem;
        font-weight: 800;
        line-height: 1.15;
        height: 1.15em;
        color: #18181b;
        font-variant-numeric: tabular-nums;
        flex: 0 0 auto;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .dark .storefront-site-header__search-suggest-card-price {
        color: #fafafa;
    }

    .storefront-site-header__search-footer--compact {
        padding: 0.55rem 1.125rem 0.7rem;
        margin: 0;
        border-top: 1px solid #f4f4f5;
        background: #fff;
    }

    .storefront-site-header__search-panel .storefront-site-header__search-footer--compact {
        background: #fafafa;
        border-radius: 0 0 0.65rem 0.65rem;
    }

    .storefront-site-header__search-panel .storefront-site-header__search-all-link {
        padding: 0.5rem 0.45rem;
        font-size: 0.8125rem;
    }

    .dark .storefront-site-header__search-footer--compact {
        border-top-color: #3f3f46;
    }

    .storefront-site-header__search-all-link {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.35rem;
        width: 100%;
        padding: 0.55rem 0.5rem;
        font-size: 0.8125rem;
        font-weight: 600;
        color: #52525b;
        text-decoration: none;
        transition: color 0.12s ease;
    }

    .storefront-site-header__search-all-link:hover {
        color: #4f46e5;
    }

    .dark .storefront-site-header__search-all-link {
        color: #a1a1aa;
    }

    .dark .storefront-site-header__search-all-link:hover {
        color: #a5b4fc;
    }

    .storefront-site-header__search-meta {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem;
        margin-bottom: 0;
        padding: 0.6rem 0.75rem;
        border: 1px solid #e4e4e7;
        border-radius: 0.6rem;
        background: linear-gradient(180deg, #fafafa 0%, #fff 100%);
    }

    .dark .storefront-site-header__search-meta {
        border-color: #3f3f46;
        background: linear-gradient(180deg, #27272a 0%, #18181b 100%);
    }

    .storefront-site-header__search-meta-stats {
        display: inline-flex;
        align-items: center;
        flex-wrap: wrap;
        justify-content: flex-end;
        gap: 0.35rem;
        flex-shrink: 0;
    }

    .storefront-site-header__search-meta-count {
        padding: 0.25rem 0.6rem;
        border-radius: 9999px;
        font-size: 0.6875rem;
        font-weight: 800;
        color: #4338ca;
        background: rgb(99 102 241 / 0.12);
        border: 1px solid rgb(99 102 241 / 0.18);
    }

    .storefront-site-header__search-meta-stock {
        padding: 0.25rem 0.6rem;
        border-radius: 9999px;
        font-size: 0.6875rem;
        font-weight: 800;
        color: #166534;
        background: rgb(220 252 231 / 0.9);
        border: 1px solid rgb(134 239 172 / 0.65);
    }

    .dark .storefront-site-header__search-meta-stock {
        color: #86efac;
        background: rgb(20 83 45 / 0.45);
        border-color: rgb(34 197 94 / 0.35);
    }

    .storefront-site-header__search-quick {
        margin-bottom: 0.35rem;
        gap: 0.4rem;
    }

    .storefront-site-header__search-layout--dual {
        display: grid;
        grid-template-columns: minmax(13rem, 15rem) minmax(0, 1fr);
        grid-template-rows: minmax(0, 1fr);
        gap: 0;
        align-items: stretch;
        flex: 1 1 auto;
        min-height: 0;
        max-height: min(28rem, 62vh);
        border: 1px solid #e4e4e7;
        border-radius: 0.7rem;
        overflow: hidden;
        background: #fafafa;
    }

    .dark .storefront-site-header__search-layout--dual {
        border-color: #3f3f46;
        background: #27272a;
    }

    .storefront-site-header__search-layout--single {
        display: block;
        flex: 1 1 auto;
        min-height: 0;
        max-height: min(28rem, 62vh);
        border: 1px solid #e4e4e7;
        border-radius: 0.7rem;
        overflow: hidden;
        background: #fff;
    }

    .dark .storefront-site-header__search-layout--single {
        border-color: #3f3f46;
        background: #18181b;
    }

    .storefront-site-header__search-layout--single .storefront-site-header__search-main {
        width: 100%;
    }

    .storefront-site-header__search-layout--single .storefront-site-header__search-products-wrap {
        padding: 0;
    }

    .storefront-site-header__search-layout--single .storefront-site-header__search-products:not(.storefront-site-header__search-products--wide) {
        gap: 0.35rem;
    }

    .storefront-site-header__search-layout--single .storefront-site-header__search-product {
        grid-template-columns: 4.25rem minmax(0, 1fr) auto;
        gap: 0.85rem;
        padding: 0.7rem 0.85rem;
        border: 1px solid #f4f4f5;
        border-radius: 0.65rem;
        background: #fafafa;
    }

    .dark .storefront-site-header__search-layout--single .storefront-site-header__search-product {
        border-color: #3f3f46;
        background: #27272a;
    }

    .storefront-site-header__search-layout--single .storefront-site-header__search-product:hover {
        background: #fff;
        border-color: #e4e4e7;
        box-shadow: 0 6px 18px rgb(15 23 42 / 0.08);
    }

    .storefront-site-header__search-layout--single .storefront-site-header__search-product-foot {
        flex-wrap: wrap;
        row-gap: 0.35rem;
    }

    .storefront-site-header__search-layout--single .storefront-site-header__search-product-status {
        flex-wrap: wrap;
        justify-content: flex-start;
        max-width: 100%;
    }

    .storefront-site-header__search-layout--single .storefront-site-header__search-product-discount,
    .storefront-site-header__search-layout--single .storefront-site-header__search-product-stock,
    .storefront-site-header__search-layout--single .storefront-site-header__search-product-oos {
        max-width: 100%;
        overflow: visible;
        white-space: nowrap;
    }

    .storefront-site-header__search-layout--dual .storefront-site-header__search-products:not(.storefront-site-header__search-products--wide) {
        max-height: min(22rem, 52vh);
        overflow-y: auto;
    }

    .storefront-site-header__search-suggestion {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 0.5rem;
        padding: 0.55rem 0.7rem;
        background: #fff;
        border-color: #e4e4e7;
    }

    .storefront-site-header__search-suggestion:hover {
        border-color: #c7d2fe;
        background: #f8fafc;
        box-shadow: 0 4px 12px rgb(99 102 241 / 0.1);
    }

    .dark .storefront-site-header__search-suggestion {
        background: #27272a;
        border-color: #3f3f46;
    }

    .storefront-site-header__search-suggestion-text {
        width: auto;
        flex: 1 1 auto;
    }

    .storefront-site-header__search-products {
        gap: 0.2rem;
        padding-right: 0.15rem;
        scrollbar-width: thin;
        scrollbar-color: #c7d2fe #f4f4f5;
    }

    .storefront-site-header__search-products::-webkit-scrollbar {
        width: 6px;
    }

    .storefront-site-header__search-products::-webkit-scrollbar-track {
        background: transparent;
        border-radius: 9999px;
    }

    .storefront-site-header__search-products::-webkit-scrollbar-thumb {
        background: #d4d4d8;
        border-radius: 9999px;
    }

    .storefront-site-header__search-products::-webkit-scrollbar-thumb:hover {
        background: #a1a1aa;
    }

    .storefront-site-header__search-product-thumb {
        width: 3.25rem;
        height: 3.25rem;
        transition: border-color 0.15s ease, box-shadow 0.15s ease;
    }

    .storefront-site-header__search-product:hover .storefront-site-header__search-product-thumb {
        width: 3.25rem;
        height: 3.25rem;
        transform: none;
        border-color: #c7d2fe;
        box-shadow: 0 4px 14px rgb(99 102 241 / 0.15);
        z-index: 2;
    }

    .storefront-site-header__search-product:hover .storefront-site-header__search-product-thumb img {
        transform: none;
    }

    .storefront-site-header__search-product-oos {
        color: #9f1239;
        background: rgb(255 241 242 / 0.95);
        border: 1px solid rgb(254 202 202 / 0.9);
        font-size: 0.5625rem;
        font-weight: 700;
        letter-spacing: 0.03em;
    }

    .dark .storefront-site-header__search-product-oos {
        color: #fda4af;
        background: rgb(76 5 25 / 0.35);
        border-color: rgb(190 18 60 / 0.35);
    }

    .storefront-site-header__search-product-discount {
        font-size: 0.5625rem;
        font-weight: 700;
        background: #4f46e5;
    }

    .storefront-site-header__search-panel .storefront-site-header__search-footer {
        padding: 0.55rem 1.125rem 0.65rem;
        margin-top: 0.2rem;
        border-top: 1px solid #f4f4f5;
        background: #fafafa;
    }

    .dark .storefront-site-header__search-panel .storefront-site-header__search-footer {
        border-top-color: #3f3f46;
        background: #18181b;
    }

    .storefront-site-header__search-more {
        min-height: 2.65rem;
        padding: 0.7rem 1rem;
        border-radius: 0.6rem;
        font-size: 0.75rem;
        font-weight: 800;
        letter-spacing: 0.07em;
        color: #fff;
        background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
        box-shadow: 0 8px 20px -10px rgb(79 70 229 / 0.65);
    }

    .storefront-site-header__search-more:hover {
        color: #fff;
        background: linear-gradient(135deg, #4338ca 0%, #4f46e5 100%);
        box-shadow: 0 10px 24px -8px rgb(79 70 229 / 0.55);
    }

    .storefront-site-header__search-section {
        padding-top: 0.75rem;
        margin-top: 0.35rem;
    }

    .storefront-site-header__search-categories {
        gap: 0.5rem 1rem;
    }

    .storefront-site-header__search-category {
        padding: 0.35rem 0.5rem 0.35rem 0.35rem;
        border: 1px solid #e4e4e7;
        border-radius: 0.6rem;
        background: #fff;
        transition: border-color 0.15s ease, box-shadow 0.15s ease;
    }

    .storefront-site-header__search-category:hover {
        opacity: 1;
        border-color: #c7d2fe;
        box-shadow: 0 4px 12px rgb(99 102 241 / 0.1);
    }

    .dark .storefront-site-header__search-category {
        border-color: #3f3f46;
        background: #27272a;
    }

    .storefront-site-header__search-category-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 2.75rem;
        height: 2.75rem;
        padding: 0.35rem;
        border-radius: 0.5rem;
        background: #fff;
        border: 1px solid #ececec;
    }

    .storefront-site-header__search-category-icon img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .storefront-site-header__search-category-text {
        display: flex;
        flex-direction: column;
        gap: 0.1rem;
        line-height: 1.25;
        white-space: normal;
    }

    .storefront-site-header__search-category-name {
        font-size: 0.8125rem;
        font-weight: 700;
        color: #18181b;
    }

    .dark .storefront-site-header__search-category-name {
        color: #fafafa;
    }

    .storefront-site-header__search-heading--products {
        font-size: 0.6875rem;
        margin-bottom: 0;
    }

    .storefront-site-header__search-products-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.65rem;
        margin-bottom: 0;
    }

    .storefront-site-header__search-products-view {
        display: inline-flex;
        flex-shrink: 0;
        border: 1px solid #e4e4e7;
        border-radius: 0.5rem;
        overflow: hidden;
        background: #fff;
    }

    .dark .storefront-site-header__search-products-view {
        border-color: #3f3f46;
        background: #27272a;
    }

    .storefront-site-header__search-products-view-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 2.15rem;
        height: 2.15rem;
        border: 0;
        background: transparent;
        color: #71717a;
        cursor: pointer;
        transition: background 0.12s ease, color 0.12s ease;
    }

    .storefront-site-header__search-products-view-btn.is-active {
        background: #4f46e5;
        color: #fff;
    }

    .storefront-site-header__search-products-view-btn:hover:not(.is-active) {
        background: #f4f4f5;
        color: #3f3f46;
    }

    .storefront-site-header__search-products--wide {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.6rem;
        overflow: visible;
        max-height: none;
        padding-right: 0;
    }

    .storefront-site-header__search-products--wide > li {
        min-width: 0;
        height: auto;
        overflow: visible;
    }

    .storefront-site-header__search-products--wide .storefront-site-header__search-product {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        height: auto;
        min-height: 0;
        gap: 0;
        padding: 0;
        overflow: visible;
        border: 1px solid #e4e4e7;
        border-radius: 0.65rem;
        background: #fff;
    }

    .dark .storefront-site-header__search-products--wide .storefront-site-header__search-product {
        border-color: #3f3f46;
        background: #18181b;
    }

    .storefront-site-header__search-products--wide .storefront-site-header__search-product:hover {
        border-color: #c7d2fe;
        box-shadow: 0 8px 22px rgb(99 102 241 / 0.12);
    }

    .storefront-site-header__search-products--wide .storefront-site-header__search-product-thumb {
        position: relative;
        flex: 0 0 auto;
        width: 100%;
        height: auto;
        min-height: 0;
        max-height: none;
        aspect-ratio: 1 / 1;
        border-radius: 0;
        border: 0;
        border-bottom: 1px solid #f4f4f5;
        box-shadow: none;
        overflow: hidden;
        grid-column: auto;
        grid-row: auto;
    }

    .storefront-site-header__search-products--wide .storefront-site-header__search-product-thumb img {
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
        object-fit: cover;
        display: block;
    }

    .dark .storefront-site-header__search-products--wide .storefront-site-header__search-product-thumb {
        border-bottom-color: #3f3f46;
    }

    .storefront-site-header__search-products--wide .storefront-site-header__search-product:hover .storefront-site-header__search-product-thumb {
        width: 100%;
        height: auto;
        transform: none;
        box-shadow: none;
    }

    .storefront-site-header__search-products--wide .storefront-site-header__search-product-info {
        display: flex;
        flex-direction: column;
        flex: 0 0 auto;
        width: 100%;
        grid-column: auto;
        grid-row: auto;
        padding: 0.55rem 0.6rem 0.65rem;
        gap: 0.4rem;
        overflow: visible;
        visibility: visible;
    }

    .storefront-site-header__search-products--wide .storefront-site-header__search-product-copy,
    .storefront-site-header__search-products--wide .storefront-site-header__search-product-foot {
        display: flex;
        flex-direction: column;
        min-width: 0;
        width: 100%;
    }

    .storefront-site-header__search-products--wide .storefront-site-header__search-product-title {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
        color: #18181b;
    }

    .dark .storefront-site-header__search-products--wide .storefront-site-header__search-product-title {
        color: #fafafa;
    }

    .storefront-site-header__search-products--wide .storefront-site-header__search-product-price {
        color: #4338ca;
    }

    .storefront-site-header__search-products--wide .storefront-site-header__search-product-title {
        font-size: 0.8125rem;
        -webkit-line-clamp: 2;
        white-space: normal;
    }

    .storefront-site-header__search-products--wide .storefront-site-header__search-product-foot {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.35rem;
    }

    .storefront-site-header__search-products--wide .storefront-site-header__search-product-status {
        justify-content: flex-start;
        width: 100%;
    }

    .storefront-site-header__search-products--wide .storefront-site-header__search-product-arrow {
        display: none;
    }

    .storefront-site-header__search-meta-correct {
        margin-left: 0.35rem;
        font-size: 0.8125rem;
        font-weight: 700;
        color: #4f46e5;
        white-space: nowrap;
    }

    .dark .storefront-site-header__search-meta-correct {
        color: #a5b4fc;
    }

    .storefront-site-header__search-layout--dual .storefront-site-header__search-aside {
        min-height: 0;
        max-height: 100%;
        overflow-y: auto;
        scrollbar-width: thin;
    }

    .storefront-site-header__search-layout--dual .storefront-site-header__search-main,
    .storefront-site-header__search-layout--single .storefront-site-header__search-main {
        display: flex;
        flex-direction: column;
        min-width: 0;
        min-height: 0;
        max-height: 100%;
        padding: 0;
        overflow-x: hidden;
        overflow-y: auto;
        background: #fff;
    }

    .dark .storefront-site-header__search-layout--dual .storefront-site-header__search-main,
    .dark .storefront-site-header__search-layout--single .storefront-site-header__search-main {
        background: #18181b;
    }

    .storefront-site-header__search-products-wrap {
        display: flex;
        flex-direction: column;
        flex: 1 1 auto;
        min-height: 0;
        overflow: visible;
    }

    .storefront-site-header__search-products {
        flex: 1 1 auto;
        min-height: 0;
        overflow-y: auto;
        scrollbar-width: thin;
        scrollbar-color: #d4d4d8 transparent;
        padding: 0 0.85rem 0.85rem;
    }

    .storefront-site-header__search-layout--dual .storefront-site-header__search-products:not(.storefront-site-header__search-products--wide) {
        max-height: none;
        overflow: visible;
    }

    .storefront-site-header__search-products--wide .storefront-site-header__search-product-thumb {
        flex: 0 0 auto;
        width: 100%;
        height: auto;
        min-height: 0;
        max-height: none;
        aspect-ratio: 1 / 1;
        grid-column: auto;
        grid-row: auto;
    }

    .storefront-site-header__search-products--wide .storefront-site-header__search-product-thumb img {
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
        object-fit: cover;
        display: block;
    }

    .storefront-site-header__search-products-head {
        flex-shrink: 0;
        margin: 0;
        padding: 0.6rem 0.85rem 0.5rem;
        background: #fff;
        border-bottom: 1px solid #f4f4f5;
    }

    .dark .storefront-site-header__search-products-head {
        background: #18181b;
        border-bottom-color: #3f3f46;
    }

    .storefront-site-header__search-layout--dual .storefront-site-header__search-products-head {
        background: #fff;
    }

    .dark .storefront-site-header__search-layout--dual .storefront-site-header__search-products-head {
        background: #18181b;
    }

    .storefront-site-header__search-suggestion {
        align-items: center;
    }

    .storefront-site-header__search-suggestion-text {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        white-space: normal;
        line-height: 1.35;
    }

    .storefront-site-header__search-suggestion-tag {
        flex-shrink: 0;
        margin-left: 0.35rem;
    }

    .storefront-site-header__search-meta-query {
        align-items: center;
        flex-wrap: wrap;
    }

    /* Liste gÃ¶rÃ¼nÃ¼mÃ¼: gÃ¶rsel solda, isim/fiyat saÄŸda (alt satÄ±ra dÃ¼ÅŸmesin) */
    .storefront-site-header__search-products:not(.storefront-site-header__search-products--wide) .storefront-site-header__search-product {
        display: grid;
        grid-template-columns: 3.25rem minmax(0, 1fr) auto;
        grid-template-rows: auto;
        align-items: center;
        gap: 0.65rem;
        padding: 0.5rem 0.4rem;
    }

    .storefront-site-header__search-products:not(.storefront-site-header__search-products--wide) .storefront-site-header__search-product-thumb {
        grid-column: 1;
        grid-row: 1;
        align-self: center;
        width: 3.25rem;
        height: 3.25rem;
        min-width: 3.25rem;
        min-height: 3.25rem;
        max-width: 3.25rem;
        max-height: 3.25rem;
    }

    .storefront-site-header__search-products:not(.storefront-site-header__search-products--wide) .storefront-site-header__search-product:hover .storefront-site-header__search-product-thumb {
        width: 3.25rem;
        height: 3.25rem;
        min-width: 3.25rem;
        min-height: 3.25rem;
        max-width: 3.25rem;
        max-height: 3.25rem;
        transform: none;
        box-shadow: 0 2px 8px rgb(15 23 42 / 0.08);
    }

    .storefront-site-header__search-products:not(.storefront-site-header__search-products--wide) .storefront-site-header__search-product-thumb img {
        transform: none;
    }

    .storefront-site-header__search-products:not(.storefront-site-header__search-products--wide) .storefront-site-header__search-product-info {
        grid-column: 2;
        grid-row: 1;
        align-self: center;
        min-width: 0;
    }

    .storefront-site-header__search-products:not(.storefront-site-header__search-products--wide) .storefront-site-header__search-product-arrow {
        grid-column: 3;
        grid-row: 1;
        align-self: center;
    }

    .storefront-site-header__search-products--wide {
        grid-auto-rows: auto;
        align-items: start;
        overflow-y: auto;
    }
}
