.isb-root {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: none;
}
.isb-root.isb-open {
    display: block;
}
.isb-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 18, 22, 0.35);
}
.isb-panel {
    position: relative;
    z-index: 1;
    width: min(1180px, calc(100% - 24px));
    margin: 16px auto 0;
    background: #fff;
    border-radius: 28px;
    box-shadow: 0 18px 60px rgba(20, 24, 32, 0.18);
    padding: 16px 18px 20px;
    max-height: calc(100vh - 32px);
    overflow: auto;
}
.isb-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f4f6f8;
    border-radius: 999px;
    padding: 6px 6px 6px 8px;
    min-height: 52px;
    position: sticky;
    top: -16px;
    z-index: 4;
    box-shadow: 0 12px 16px #fff;
}
.isb-scope {
    position: relative;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    height: 40px;
}
.isb-root .isb-scope select {
    appearance: none !important;
    -webkit-appearance: none !important;
    box-sizing: border-box !important;
    display: block;
    height: 40px !important;
    min-height: 40px !important;
    max-height: 40px !important;
    line-height: 40px !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    font-size: 14px !important;
    font-family: inherit;
    color: #1b1f24 !important;
    padding: 0 22px 0 10px !important;
    margin: 0 !important;
    cursor: pointer;
    outline: none !important;
    border-radius: 0 !important;
    max-width: 120px;
}
.isb-scope:after {
    content: "";
    position: absolute;
    right: 8px;
    top: 50%;
    width: 0;
    height: 0;
    margin-top: -2px;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid #6b7280;
    pointer-events: none;
}
.isb-root .isb-input {
    flex: 1 1 auto;
    box-sizing: border-box !important;
    height: 40px !important;
    min-height: 40px !important;
    max-height: 40px !important;
    line-height: 40px !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    font-size: 16px !important;
    font-family: inherit;
    padding: 0 8px !important;
    margin: 0 !important;
    outline: none !important;
    min-width: 0;
    border-radius: 0 !important;
    appearance: none !important;
    -webkit-appearance: none !important;
}
.isb-root .isb-input::-webkit-search-decoration,
.isb-root .isb-input::-webkit-search-cancel-button,
.isb-root .isb-input::-webkit-search-results-button {
    -webkit-appearance: none;
    display: none;
}
.isb-root .isb-voice,
.isb-root .isb-submit,
.isb-root .isb-close,
.isb-root .isb-suggest-del {
    box-sizing: border-box;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    flex: 0 0 40px;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 1 !important;
    border: 0 !important;
    border-radius: 50% !important;
    box-shadow: none !important;
    background: transparent !important;
    color: #6b7280 !important;
    font-size: 22px !important;
    font-weight: 400;
    opacity: 1 !important;
    overflow: hidden;
    appearance: none;
    -webkit-appearance: none;
    white-space: nowrap;
}
.isb-root .isb-voice:hover,
.isb-root .isb-submit:hover,
.isb-root .isb-close:hover,
.isb-root .isb-suggest-del:hover,
.isb-root .isb-voice:hover:active,
.isb-root .isb-submit:hover:active,
.isb-root .isb-close:hover:active {
    opacity: 1 !important;
    box-shadow: none !important;
}
.isb-root .isb-voice.isb-hidden {
    display: none !important;
}
.isb-root .isb-submit {
    flex-basis: 42px;
    width: 42px !important;
    height: 42px !important;
    background: #1b1f24 !important;
    color: #fff !important;
}
.isb-root .isb-ico {
    width: 18px !important;
    height: 18px !important;
    display: block;
    flex: 0 0 18px;
    fill: none !important;
    stroke: currentColor;
    stroke-width: 2;
    overflow: visible;
}
.isb-body {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) minmax(280px, 1.1fr);
    gap: 8px 28px;
    margin-top: 18px;
    min-height: 220px;
}
.isb-suggest-row,
.isb-product {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    border-radius: 14px;
    padding: 8px 6px;
}
.isb-suggest-row:hover,
.isb-product:hover {
    background: #f6f7f9;
}
.isb-suggest-ico {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    color: #9aa3ad;
}
.isb-suggest-text {
    flex: 1 1 auto;
    font-size: 15px;
}
.isb-suggest-del {
    border: 0;
    background: transparent;
    color: #b0b7c0;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    padding: 4px 8px;
}
.isb-hidden {
    display: none !important;
}
.isb-section {
    margin: 0 0 18px;
}
.isb-section:last-child {
    margin-bottom: 0;
}
.isb-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 10px;
}
.isb-section-title {
    margin: 0 0 10px;
    color: #8b939c;
    font-size: 13px;
}
.isb-section-head .isb-section-title {
    margin: 0;
}
.isb-history-clear {
    appearance: none;
    border: 0;
    background: transparent;
    color: #9aa3ad;
    font-size: 13px;
    padding: 0;
    cursor: pointer;
    font-family: inherit;
}
.isb-history-clear:hover {
    color: #1b1f24;
}
.isb-history {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.isb-hist-chip {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    max-width: 100%;
    padding: 0 4px 0 14px;
    border-radius: 999px;
    background: #f2f4f7;
}
.isb-hist-chip-text {
    color: #1b1f24;
    text-decoration: none;
    font-size: 14px;
    line-height: 32px;
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.isb-hist-del {
    box-sizing: border-box;
    width: 28px;
    height: 28px;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #9aa3ad;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
}
.isb-hist-del:hover {
    color: #1b1f24;
    background: #e7eaee;
}
.isb-brands-title {
    margin: 18px 0 10px;
    color: #8b939c;
    font-size: 13px;
}
.isb-brands {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.isb-chip {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: #f2f4f7;
    color: #1b1f24;
    text-decoration: none;
    font-size: 14px;
}
.isb-chip:hover {
    background: #e7eaee;
}
.isb-product {
    padding: 10px 8px;
}
.isb-product-img {
    width: 72px;
    height: 72px;
    border-radius: 12px;
    object-fit: contain;
    background: #fafafa;
    flex: 0 0 72px;
}
.isb-product-body {
    flex: 1 1 auto;
    min-width: 0;
}
.isb-product-name {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 8px;
}
.isb-product-price {
    color: #4b5563;
    font-size: 15px;
}
.isb-price-na {
    color: #9ca3af;
}
.isb-product-go {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid #e5e7eb;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #111;
    flex: 0 0 42px;
}
.isb-empty {
    color: #8b939c;
    font-size: 14px;
    padding: 12px 6px;
}
body.isb-lock {
    overflow: hidden;
}
.isb-results {
    display: none;
    margin-top: 14px;
}
.isb-root.isb-has-results .isb-body {
    display: none;
}
.isb-root.isb-has-results .isb-results {
    display: block;
}
.isb-result-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 16px;
}
.isb-root .isb-line-chip {
    appearance: none !important;
    -webkit-appearance: none !important;
    box-sizing: border-box !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 36px !important;
    min-height: 36px !important;
    max-height: 36px !important;
    margin: 0 !important;
    padding: 0 16px !important;
    line-height: 1 !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: #eef1f4 !important;
    box-shadow: none !important;
    color: #5b6470 !important;
    font-size: 13px !important;
    font-family: inherit !important;
    font-weight: 500 !important;
    text-align: center !important;
    white-space: nowrap !important;
    cursor: pointer;
}
.isb-root .isb-line-chip:hover,
.isb-root .isb-line-chip-on {
    background: #e4e8ee !important;
    color: #1b1f24 !important;
}
.isb-result-layout {
    display: grid;
    grid-template-columns: 196px minmax(0, 1fr);
    gap: 36px;
    align-items: start;
}
.isb-filters {
    position: sticky;
    top: 56px;
}
.isb-filter-group {
    margin: 0 0 18px;
}
.isb-filter-title {
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 8px;
}
.isb-check {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 6px;
    font-size: 14px;
    line-height: 1.3;
    color: #1b1f24;
    cursor: pointer;
}
.isb-check input {
    margin-top: 3px;
}
.isb-price-slider {
    position: relative;
    height: 28px;
    margin: 0 0 10px;
}
.isb-price-slider input[type="range"] {
    position: absolute;
    left: 0;
    right: 0;
    width: 100%;
    pointer-events: none;
    appearance: none;
    background: transparent;
    height: 28px;
    margin: 0;
}
.isb-price-slider input[type="range"]::-webkit-slider-runnable-track {
    height: 4px;
    background: #d8dee6;
    border-radius: 999px;
}
.isb-price-slider input[type="range"]::-webkit-slider-thumb {
    appearance: none;
    pointer-events: auto;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #22c55e;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px #22c55e;
    margin-top: -6px;
}
.isb-price-slider input[type="range"]::-moz-range-track {
    height: 4px;
    background: #d8dee6;
    border-radius: 999px;
}
.isb-price-slider input[type="range"]::-moz-range-thumb {
    pointer-events: auto;
    width: 16px;
    height: 16px;
    border: 0;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 2px #fff, 0 0 0 3px #22c55e;
}
.isb-price-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    font-size: 13px;
    color: #6b7280;
}
.isb-price-fields input {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 8px 10px;
    font: inherit;
    color: #1b1f24;
}
.isb-result-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin: 0 0 16px;
}
.isb-result-count {
    color: #8b939c;
    font-size: 14px;
}
.isb-result-sort-wrap {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #8b939c;
    font-size: 14px;
}
.isb-result-sort {
    border: 0;
    background: transparent;
    font: inherit;
    color: #1b1f24;
    cursor: pointer;
}
.isb-result-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}
.isb-tile {
    background: #fff;
    border: 1px solid #eef0f3;
    border-radius: 22px;
    padding: 14px 14px 16px;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    box-shadow: 0 1px 0 rgba(20, 24, 32, 0.02);
}
.isb-tile-media {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 170px;
    margin: 0 0 12px;
}
.isb-tile-img {
    max-width: 100%;
    max-height: 170px;
    object-fit: contain;
}
.isb-tile-name {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
    min-height: 40px;
    margin: 0 0 8px;
}
.isb-tile-price {
    color: #4b5563;
    font-size: 14px;
    margin: 0 0 12px;
}
.isb-tile-btn {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    border-radius: 999px;
    border: 1px solid #e5e7eb;
    color: #1b1f24;
    text-decoration: none;
    font-size: 14px;
}
.isb-tile-btn:hover {
    background: #f6f7f9;
}
.isb-result-status {
    min-height: 18px;
    color: #8b939c;
    font-size: 13px;
    padding: 12px 0 4px;
    text-align: center;
}
@media (max-width: 1100px) {
    .isb-result-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
@media (max-width: 800px) {
    .isb-panel {
        width: calc(100% - 16px);
        margin: 8px auto 0;
        border-radius: 20px;
        padding: 12px;
        max-height: calc(100vh - 16px);
    }
    .isb-body {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .isb-right {
        order: -1;
    }
    .isb-history-section {
        order: 1;
    }
    .isb-left {
        display: flex;
        flex-direction: column;
    }
    .isb-hist-chip-text {
        max-width: 140px;
    }
    .isb-scope select {
        max-width: 88px;
    }
    .isb-result-layout {
        grid-template-columns: 1fr;
    }
    .isb-result-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
    .isb-tile {
        border-radius: 16px;
        padding: 10px;
    }
    .isb-tile-media {
        height: 130px;
    }
    .isb-bar {
        top: -12px;
    }
}
