.elementor-location-popup .elementor-widget-search.ssd-header-search-enhanced search.e-search {
    display: none !important;
}

.elementor-widget-elementskit-header-search.ssd-header-search-enhanced .ekit-search-group {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
    width: 0 !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    overflow: hidden !important;
}

.elementor-location-popup .elementor-widget-search.ssd-header-search-enhanced {
    width: min(960px, 100%);
    margin: 0 auto;
}

.elementor-widget-elementskit-header-search.ssd-header-search-enhanced .ekit-search-panel {
    width: min(960px, calc(100vw - 40px));
    max-width: 960px !important;
    margin: 4vh auto 0 !important;
}

.elementor-widget-elementskit-header-search.ssd-header-search-enhanced .ekit-search-panel > .ekit-search-group {
    display: none !important;
}

.ssd-header-search-shell {
    width: 100%;
    color: #ffffff;
}

.ssd-header-search-shell__form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
    align-items: start;
}

.ssd-header-search-shell__field {
    position: relative;
}

.ssd-header-search-shell__icon {
    position: absolute;
    top: 50%;
    left: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    color: rgba(255, 255, 255, 0.78);
    transform: translateY(-50%);
    pointer-events: none;
}

.ssd-header-search-shell__icon svg {
    width: 20px;
    height: 20px;
}

.ssd-header-search-shell__input {
    width: 100%;
    min-height: 72px;
    padding: 0 62px 0 58px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 28px;
    background: rgba(17, 12, 24, 0.78);
    box-shadow: 0 20px 50px rgba(10, 8, 14, 0.22);
    color: #ffffff;
    font-size: 18px;
    font-weight: 500;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.ssd-header-search-shell__input::placeholder {
    color: rgba(255, 255, 255, 0.68);
}

.ssd-header-search-shell__input:focus {
    outline: none;
    border-color: rgba(204, 165, 235, 0.88);
    background: rgba(20, 14, 29, 0.9);
    box-shadow: 0 0 0 4px rgba(177, 138, 199, 0.18), 0 24px 54px rgba(10, 8, 14, 0.26);
}

.ssd-header-search-shell__clear {
    position: absolute;
    top: 50%;
    right: 18px;
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-size: 20px;
    line-height: 1;
    transform: translateY(-50%);
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.ssd-header-search-shell__clear:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.03);
}

.ssd-header-search-shell__submit {
    min-width: 160px;
    min-height: 72px;
    padding: 0 28px;
    border: none;
    border-radius: 24px;
    background: linear-gradient(135deg, #c79ee2 0%, #a877c8 100%);
    box-shadow: 0 18px 40px rgba(119, 80, 150, 0.32);
    color: #ffffff;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.ssd-header-search-shell__submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 22px 48px rgba(119, 80, 150, 0.38);
    filter: brightness(1.03);
}

.ssd-header-search-shell__results {
    margin-top: 18px;
    padding: 22px;
    border: 1px solid rgba(224, 217, 232, 0.95);
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, #faf7fd 100%);
    box-shadow: 0 24px 60px rgba(28, 18, 38, 0.24);
    color: #2d2435;
}

.ssd-header-search-results__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.ssd-header-search-results__summary {
    color: #3b3046;
    font-size: 15px;
    font-weight: 600;
}

.ssd-header-search-results__summary span {
    color: #8c63ad;
}

.ssd-header-search-results__filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ssd-header-search-results__filter {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    border: 1px solid #e6ddef;
    border-radius: 999px;
    background: #ffffff;
    color: #53485f;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.ssd-header-search-results__filter strong {
    min-width: 20px;
    color: #8c63ad;
    text-align: center;
}

.ssd-header-search-results__filter:hover:not(:disabled),
.ssd-header-search-results__filter.is-active {
    border-color: #b18ac7;
    background: #f1e8f8;
    color: #422f53;
    transform: translateY(-1px);
}

.ssd-header-search-results__filter:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.ssd-header-search-results__body {
    display: grid;
    gap: 18px;
    max-height: min(52vh, 460px);
    padding-right: 6px;
    overflow-y: auto;
}

.ssd-header-search-results__body::-webkit-scrollbar {
    width: 8px;
}

.ssd-header-search-results__body::-webkit-scrollbar-thumb {
    background: rgba(177, 138, 199, 0.45);
    border-radius: 999px;
}

.ssd-header-search-results__group {
    display: grid;
    gap: 14px;
}

.ssd-header-search-results__group-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.ssd-header-search-results__group-header h3 {
    margin: 0;
    color: #3d3250;
    font-size: 17px;
    font-weight: 800;
}

.ssd-header-search-results__group-header span {
    min-width: 30px;
    padding: 5px 10px;
    border-radius: 999px;
    background: #efe7f7;
    color: #8c63ad;
    font-size: 12px;
    font-weight: 800;
    text-align: center;
}

.ssd-header-search-results__group-list {
    display: grid;
    gap: 12px;
}

.ssd-header-search-card {
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    padding: 14px;
    border: 1px solid #ece4f3;
    border-radius: 20px;
    background: #ffffff;
    color: #2d2435;
    text-decoration: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.ssd-header-search-card:hover {
    border-color: #b18ac7;
    box-shadow: 0 18px 36px rgba(103, 74, 132, 0.12);
    transform: translateY(-1px);
}

.ssd-header-search-card__thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 74px;
    height: 74px;
    border-radius: 18px;
    background: linear-gradient(180deg, #faf4ff 0%, #f0e8f7 100%);
    overflow: hidden;
}

.ssd-header-search-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.ssd-header-search-card__meta {
    display: grid;
    gap: 5px;
    min-width: 0;
}

.ssd-header-search-card__meta strong {
    overflow: hidden;
    color: #2f243a;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.35;
    text-overflow: ellipsis;
}

.ssd-header-search-card__eyebrow,
.ssd-header-search-card__subline,
.ssd-header-search-card__price {
    color: #7b6f89;
    font-size: 13px;
    line-height: 1.4;
}

.ssd-header-search-card__eyebrow {
    color: #8c63ad;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.ssd-header-search-card__price {
    font-weight: 700;
}

.ssd-header-search-card__price .amount,
.ssd-header-search-card__price .woocommerce-Price-amount {
    color: #3b3046;
    font-weight: 800;
}

.ssd-header-search-card__arrow {
    color: #a37cc0;
    font-size: 28px;
    line-height: 1;
}

.ssd-header-search-results__group-empty,
.ssd-header-search-results__empty {
    padding: 18px 20px;
    border-radius: 22px;
    background: #ffffff;
    color: #5b5067;
}

.ssd-header-search-results__empty strong,
.ssd-header-search-results__group-empty {
    display: block;
    color: #362b40;
    font-size: 15px;
    font-weight: 700;
}

.ssd-header-search-results__empty p {
    margin: 8px 0 0;
    font-size: 14px;
    line-height: 1.6;
}

.ssd-header-search-results__footer {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

.ssd-header-search-results__footer-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    border: 1px solid #d7c8e4;
    border-radius: 999px;
    background: #ffffff;
    color: #5b446d;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.ssd-header-search-results__footer-link:hover {
    border-color: #b18ac7;
    background: #f6effb;
    transform: translateY(-1px);
}

.ssd-header-search-results__footer-link.is-accent {
    border-color: transparent;
    background: linear-gradient(135deg, #c79ee2 0%, #a877c8 100%);
    color: #ffffff;
}

.ssd-header-search-results__footer-link.is-accent:hover {
    background: linear-gradient(135deg, #bd91dc 0%, #9f6fc1 100%);
}

@media (max-width: 767px) {
    .ssd-header-search-shell__form {
        grid-template-columns: 1fr;
    }

    .ssd-header-search-shell__submit {
        width: 100%;
        min-height: 58px;
    }

    .ssd-header-search-shell__input {
        min-height: 62px;
        padding-left: 52px;
        font-size: 16px;
    }

    .ssd-header-search-shell__results {
        padding: 18px;
        border-radius: 22px;
    }

    .ssd-header-search-card {
        grid-template-columns: 60px minmax(0, 1fr);
    }

    .ssd-header-search-card__thumb {
        width: 60px;
        height: 60px;
        border-radius: 16px;
    }

    .ssd-header-search-card__arrow {
        display: none;
    }
}
