.feg-msw-lock {
    overflow: hidden;
}

.feg-msw-root {
    display: flex;
    background-color: transparent !important;
    background: none !important;
    border: none !important;
}

.feg-msw-trigger {
    all: unset;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: none !important;
    background-color: transparent !important;
    box-shadow: none !important;
    outline: none !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    line-height: 1;
    vertical-align: middle;
    cursor: pointer !important;
    color: #111;
}

.feg-msw-trigger:hover,
.feg-msw-trigger:focus,
.feg-msw-trigger:active {
    background: none !important;
    background-color: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.feg-msw-trigger::before,
.feg-msw-trigger::after {
    content: none !important;
}

.feg-msw-trigger svg,
.feg-msw-searchbox button svg,
.feg-msw-close svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.feg-msw-trigger .feg-msw-trigger-icon {
    stroke-width: 3.5 !important;
}

.feg-msw-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(17, 17, 17, 0.18);
    overflow-y: auto;
    padding: 20px;
}

.feg-msw-panel-card {
    width: 100%;
    margin: 0 auto;
    background: #fff;
    min-height: 100px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.12);
}

.feg-msw-panel-inner {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 34px 24px 36px;
    box-sizing: border-box;
}

.feg-msw-topbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    margin-bottom: 26px;
}

.feg-msw-searchbox {
    position: relative;
    width: 100%;
}

.feg-msw-searchbox input[type="search"] {
    width: 100%;
    height: 60px;
    border: 1px solid #e3e3e3;
    background: #f7f7f7;
    border-radius: 0;
    padding: 10px 64px 10px 20px;
    font-size: 22px;
    line-height: 1.2;
    box-sizing: border-box;
    outline: none;
}

.feg-msw-searchbox button {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    padding: 0;
    margin: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.feg-msw-close {
    border: 0;
    background: transparent;
    padding: 0;
    margin: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.feg-msw-section-title {
    margin: 0 0 14px;
    font-size: 18px;
    line-height: 1.3;
    font-weight: 500;
    color: #222;
}

.feg-msw-suggestions-wrap {
    margin-bottom: 28px;
}

.feg-msw-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.feg-msw-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 8px 16px;
    border-radius: 999px;
    background: #f3f3f3;
    color: #333;
    text-decoration: none;
    font-size: 15px;
    line-height: 1.2;
    transition: transform .18s ease, background-color .18s ease;
}

.feg-msw-chip:hover {
    transform: translateY(-1px);
    background: #ececec;
}

.feg-msw-products-grid {
    display: grid;
    grid-template-columns: repeat(var(--feg-products-per-row, 4), minmax(0, 1fr));
    gap: 18px;
}

.feg-msw-product-card {
    text-decoration: none;
    color: inherit;
}

.feg-msw-card-image {
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f8f8f8;
    margin-bottom: 10px;
}

.feg-msw-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.feg-msw-card-title {
    display: block;
    font-size: 15px;
    line-height: 1.45;
    color: #333;
    margin-bottom: 6px;
}

.feg-msw-card-price {
    display: block;
    font-size: 15px;
    line-height: 1.3;
    font-weight: 600;
    color: #111;
}

.feg-msw-empty {
    margin: 0;
}

.screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 1024px) {
    .feg-msw-panel-inner {
        padding: 28px 18px 28px;
    }

    .feg-msw-products-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .feg-msw-overlay {
        padding: 0;
    }

    .feg-msw-panel-card {
        min-height: 100dvh;
    }

    .feg-msw-panel-inner {
        padding: 18px 14px 22px;
    }

    .feg-msw-topbar {
        gap: 12px;
        margin-bottom: 20px;
    }

    .feg-msw-searchbox input[type="search"] {
        height: 54px;
        padding: 10px 56px 10px 14px;
        font-size: 18px;
    }

    .feg-msw-section-title {
        font-size: 16px;
        margin-bottom: 12px;
    }

    .feg-msw-chip {
        min-height: 36px;
        padding: 7px 14px;
        font-size: 14px;
    }

    .feg-msw-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .feg-msw-card-title,
    .feg-msw-card-price {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .feg-msw-topbar {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .feg-msw-searchbox input[type="search"] {
        height: 50px;
        font-size: 16px;
    }

    .feg-msw-products-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
}