/* EUSUK Market storefront overrides. Loaded after the theme CSS. */
:root {
    --eu-blue: #2056E6;
    --eu-blue-dark: #1844B8;
    --eu-ink: #0F1222;
    --eu-muted: #7A8195;
    --eu-line: #E3E7EF;
    --eu-yellow: #FFC400;
}

/* ---------- Modern search bar ---------- */
.sh-header .sh-search {
    max-inline-size: 640px;
}

.sh-header .sh-search__control {
    block-size: 50px;
    padding: 5px;
    gap: 6px;
    border: 1.5px solid var(--eu-line);
    border-radius: 999px;
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(15, 18, 34, 0.06);
    overflow: visible;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.sh-header .sh-search__control:hover {
    border-color: #CDD4E2;
    box-shadow: 0 4px 16px rgba(15, 18, 34, 0.08);
}

.sh-header .sh-search__control:focus-within {
    border-color: var(--eu-blue);
    box-shadow: 0 0 0 4px rgba(32, 86, 230, 0.14), 0 8px 24px rgba(32, 86, 230, 0.12);
}

.sh-header .sh-search__field {
    padding-inline: 18px 8px;
    font-size: 15px;
    font-weight: 500;
    color: var(--eu-ink);
    letter-spacing: .1px;
}

.sh-header .sh-search__field::placeholder {
    color: var(--eu-muted);
    font-weight: 400;
}

.sh-header .sh-search__submit {
    inline-size: 40px;
    block-size: 40px;
    align-self: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--eu-blue) 0%, #4C7BFF 100%);
    color: #ffffff;
    font-size: 16px;
    box-shadow: 0 4px 12px rgba(32, 86, 230, 0.35);
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.sh-header .sh-search__submit:hover,
.sh-header .sh-search__submit:focus {
    background: linear-gradient(135deg, var(--eu-blue-dark) 0%, var(--eu-blue) 100%);
    color: #ffffff;
    filter: none;
    transform: scale(1.06);
    box-shadow: 0 6px 16px rgba(32, 86, 230, 0.45);
}

.sh-header .sh-search__submit:active {
    transform: scale(.96);
}

.sh-header .sh-search__submit i {
    transform: translateY(1px);
}

/* suggestions dropdown */
.sh-header .sh-search__panel,
.sh-header .search-card {
    margin-top: 10px;
    border: 1px solid var(--eu-line);
    border-radius: 18px;
    box-shadow: 0 16px 40px rgba(15, 18, 34, 0.14);
    overflow: hidden;
}

/* mobile search overlay keeps the same look */
@media (max-width: 767px) {
    .sh-header .sh-search__control {
        block-size: 46px;
    }

    .sh-header .sh-search__submit {
        inline-size: 36px;
        block-size: 36px;
    }
}
