:root {
    --ascopes-search-primary: #ff4b00;
    --ascopes-search-dark: #111827;
    --ascopes-search-panel-bg: #ffffff;
    --ascopes-search-side-bg: #fbfbfc;
    --ascopes-search-border: #e5e7eb;
    --ascopes-search-muted: #667085;
    --ascopes-search-product-name: #09927f;
    --ascopes-search-price: #111827;
    --ascopes-search-button-bg: #ff4b00;
    --ascopes-search-button-text: #ffffff;
    --ascopes-search-stock-in: #16a34a;
    --ascopes-search-stock-out: #dc2626;
    --ascopes-search-overlay: rgba(17,24,39,.28);
    --ascopes-search-width: 920px;
    --ascopes-search-radius: 16px;
}
.ascopes-xsearch-panel,
.ascopes-xsearch-panel * {
    box-sizing: border-box;
}
body.ascopes-xsearch-open {
    overflow: hidden;
}
.ascopes-xsearch-overlay {
    position: fixed;
    inset: 0;
    display: none;
    background: var(--ascopes-search-overlay);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    z-index: 8998;
}
.ascopes-xsearch-panel {
    position: absolute;
    z-index: 8999;
    max-width: calc(100vw - 30px);
    color: var(--ascopes-search-dark);
    background: var(--ascopes-search-panel-bg);
    border: 1px solid var(--ascopes-search-border);
    border-top: 3px solid var(--ascopes-search-primary);
    box-shadow: 0 24px 70px rgba(17,24,39,.24);
    border-radius: 0 0 var(--ascopes-search-radius) var(--ascopes-search-radius);
    overflow: hidden;
    font-family: inherit;
    text-align: start;
    isolation: isolate;
}
.ascopes-xsearch-panel.no-shadow {
    box-shadow: none;
}
.ascopes-xsearch-panel.is-full-results {
    height: calc(100vh - 32px);
    display: flex;
    flex-direction: column;
    max-height: 920px;
    border-top-width: 1px;
    border-radius: var(--ascopes-search-radius);
    box-shadow: 0 30px 90px rgba(17,24,39,.34);
}
.ascopes-xsearch-panel.is-loading:before,
.ascopes-xsearch-main.is-loading-more:before {
    content: '';
    position: absolute;
    inset-inline: 0;
    top: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--ascopes-search-primary), transparent);
    animation: ascopesSearchLoading 1s infinite linear;
    z-index: 8;
}
@keyframes ascopesSearchLoading {
    from { transform: translateX(-100%); }
    to { transform: translateX(100%); }
}
.ascopes-xsearch-loading {
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 9px;
    padding: 28px;
}
.ascopes-xsearch-panel.is-full-results .ascopes-xsearch-loading {
    min-height: 100%;
}
.ascopes-xsearch-loading span {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: var(--ascopes-search-primary);
    opacity: .35;
    animation: ascopesSearchDot .9s infinite alternate;
}
.ascopes-xsearch-loading span:nth-child(2) { animation-delay: .15s; }
.ascopes-xsearch-loading span:nth-child(3) { animation-delay: .3s; }
.ascopes-xsearch-loading strong {
    flex-basis: 100%;
    color: var(--ascopes-search-muted);
    font-size: 13px;
    text-align: center;
}
@keyframes ascopesSearchDot {
    from { transform: translateY(0); opacity: .3; }
    to { transform: translateY(-8px); opacity: 1; }
}
.ascopes-xsearch-notices {
    position: absolute;
    inset-inline: 16px;
    top: 14px;
    z-index: 20;
    pointer-events: none;
}
.ascopes-xsearch-notice {
    width: min(560px, 100%);
    margin-inline: auto;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 14px;
    color: #ffffff;
    background: #1f7a4f;
    border-radius: 12px;
    box-shadow: 0 16px 34px rgba(17,24,39,.22);
    pointer-events: auto;
    animation: ascopesSearchNoticeIn .22s ease both;
    transition: opacity .2s ease, transform .2s ease;
}
.ascopes-xsearch-notice.is-error {
    background: #b42318;
}
.ascopes-xsearch-notice.is-hiding {
    opacity: 0;
    transform: translateY(-8px);
}
.ascopes-xsearch-notice div {
    min-width: 0;
    flex: 1;
}
.ascopes-xsearch-notice strong,
.ascopes-xsearch-notice span {
    display: block;
    color: inherit;
}
.ascopes-xsearch-notice strong {
    font-size: 13px;
    line-height: 1.35;
}
.ascopes-xsearch-notice span {
    margin-top: 2px;
    font-size: 12px;
    opacity: .88;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ascopes-xsearch-notice a {
    flex: 0 0 auto;
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    text-decoration: underline;
}
.ascopes-xsearch-notice-close {
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(255,255,255,.14);
    font-size: 21px;
    line-height: 1;
    cursor: pointer;
}
@keyframes ascopesSearchNoticeIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}
.ascopes-xsearch-shell {
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(210px, 245px) minmax(0, 1fr);
    min-height: 300px;
    max-height: min(680px, calc(100vh - 115px));
}
.ascopes-xsearch-panel[dir="rtl"] .ascopes-xsearch-shell {
    direction: rtl;
}
.ascopes-xsearch-panel[dir="ltr"] .ascopes-xsearch-shell {
    direction: ltr;
}
.ascopes-xsearch-panel.is-full-results .ascopes-xsearch-shell {
    height: 100%;
    min-height: 0;
    flex: 1 1 auto;
    max-height: none;
    grid-template-columns: minmax(230px, 270px) minmax(0, 1fr);
}
.ascopes-xsearch-shell.no-side {
    grid-template-columns: minmax(0, 1fr);
}
.ascopes-xsearch-side {
    min-width: 0;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 20px 17px 18px;
    background: var(--ascopes-search-side-bg);
    border-inline-end: 1px solid var(--ascopes-search-border);
    scrollbar-width: thin;
    scrollbar-color: rgba(102,112,133,.35) transparent;
}
.ascopes-xsearch-side::-webkit-scrollbar,
.ascopes-xsearch-main::-webkit-scrollbar {
    width: 7px;
    height: 7px;
}
.ascopes-xsearch-side::-webkit-scrollbar-thumb,
.ascopes-xsearch-main::-webkit-scrollbar-thumb {
    background: rgba(102,112,133,.3);
    border-radius: 999px;
}
.ascopes-xsearch-side-section {
    min-width: 0;
}
.ascopes-xsearch-side-section + .ascopes-xsearch-side-section {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid var(--ascopes-search-border);
}
.ascopes-xsearch-side-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 0 0 11px;
}
.ascopes-xsearch-side-title h4 {
    min-width: 0;
    margin: 0;
    color: var(--ascopes-search-dark);
    font-size: 14px;
    line-height: 1.3;
    font-weight: 900;
}
.ascopes-xsearch-clear-recent {
    flex: 0 0 auto;
    padding: 2px 0;
    border: 0;
    color: var(--ascopes-search-primary);
    background: transparent;
    font-size: 12px;
    line-height: 1;
    cursor: pointer;
}
.ascopes-xsearch-clear-recent:hover,
.ascopes-xsearch-clear-recent:focus {
    color: var(--ascopes-search-primary);
    text-decoration: underline;
}
.ascopes-xsearch-side-items {
    min-width: 0;
    display: grid;
    gap: 8px;
}
.ascopes-xsearch-term,
.ascopes-xsearch-category {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 8px 11px;
    margin: 0;
    border: 1px solid transparent;
    border-radius: 10px;
    color: #526b68;
    background: #eef3f5;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
    text-align: start;
    text-decoration: none;
    cursor: pointer;
    overflow: hidden;
    transition: border-color .16s ease, background .16s ease, color .16s ease, transform .16s ease;
}
.ascopes-xsearch-term span,
.ascopes-xsearch-category span {
    min-width: 0;
    max-width: 100%;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    overflow-wrap: anywhere;
    word-break: break-word;
}
.ascopes-xsearch-term:hover,
.ascopes-xsearch-category:hover,
.ascopes-xsearch-term:focus,
.ascopes-xsearch-category:focus {
    color: var(--ascopes-search-button-text);
    background: var(--ascopes-search-primary);
    border-color: var(--ascopes-search-primary);
    text-decoration: none;
    transform: translateY(-1px);
    outline: none;
}
.ascopes-xsearch-main {
    position: relative;
    min-width: 0;
    min-height: 0;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    touch-action: pan-y;
    scrollbar-gutter: stable;
    padding: 20px 22px 24px;
    background: var(--ascopes-search-panel-bg);
    scrollbar-width: thin;
    scrollbar-color: rgba(102,112,133,.35) transparent;
}
.ascopes-xsearch-shell.no-side .ascopes-xsearch-main {
    padding-inline: 26px;
}
.ascopes-xsearch-head {
    position: sticky;
    top: -20px;
    z-index: 5;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: -2px 0 18px;
    padding: 4px 0 12px;
    background: var(--ascopes-search-panel-bg);
}
.ascopes-xsearch-head-copy {
    min-width: 0;
}
.ascopes-xsearch-query {
    min-width: 0;
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 4px;
    color: var(--ascopes-search-muted);
    font-size: 12px;
}
.ascopes-xsearch-query strong {
    min-width: 0;
    color: var(--ascopes-search-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ascopes-xsearch-title-row {
    min-width: 0;
    display: flex;
    align-items: baseline;
    gap: 10px;
}
.ascopes-xsearch-title-row > strong {
    color: var(--ascopes-search-dark);
    font-size: 16px;
    line-height: 1.25;
    font-weight: 900;
}
.ascopes-xsearch-total {
    color: var(--ascopes-search-muted);
    font-weight: 600;
}
.ascopes-xsearch-progress {
    color: var(--ascopes-search-muted);
    font-size: 11px;
    font-weight: 600;
}
.ascopes-xsearch-head-actions {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 9px;
}
.ascopes-xsearch-view-all {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 12px;
    border: 1px solid var(--ascopes-search-primary);
    border-radius: 9px;
    color: var(--ascopes-search-primary);
    background: transparent;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}
.ascopes-xsearch-view-all:hover,
.ascopes-xsearch-view-all:focus {
    color: var(--ascopes-search-button-text);
    background: var(--ascopes-search-primary);
    border-color: var(--ascopes-search-primary);
    text-decoration: none;
}
.ascopes-xsearch-close {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid var(--ascopes-search-border);
    border-radius: 9px;
    color: var(--ascopes-search-dark);
    background: #ffffff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}
.ascopes-xsearch-close:hover,
.ascopes-xsearch-close:focus {
    color: var(--ascopes-search-primary);
    border-color: var(--ascopes-search-primary);
    outline: none;
}
.ascopes-xsearch-products {
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 17px;
}
.ascopes-xsearch-shell.no-side .ascopes-xsearch-products {
    grid-template-columns: repeat(auto-fill, minmax(155px, 1fr));
}
.ascopes-xsearch-panel.is-full-results .ascopes-xsearch-products {
    grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
    gap: 18px;
}
.ascopes-xsearch-product {
    min-width: 0;
    display: flex;
    flex-direction: column;
    padding: 10px;
    border: 1px solid #edf0f4;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 4px 13px rgba(17,24,39,.035);
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.ascopes-xsearch-product:hover {
    border-color: var(--ascopes-search-primary);
    box-shadow: 0 12px 26px rgba(17,24,39,.09);
    transform: translateY(-3px);
}
.ascopes-xsearch-product-image {
    width: 100%;
    height: 126px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    border: 0;
    border-radius: 10px;
    background: #ffffff;
    overflow: hidden;
    text-decoration: none;
}
.ascopes-xsearch-panel.is-full-results .ascopes-xsearch-product-image {
    height: 150px;
}
.ascopes-xsearch-product-image img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform .22s ease;
}
.ascopes-xsearch-product:hover .ascopes-xsearch-product-image img {
    transform: scale(1.04);
}
.ascopes-xsearch-product-content {
    min-width: 0;
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
}
.ascopes-xsearch-product-name {
    width: 100%;
    min-width: 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    color: var(--ascopes-search-product-name);
    font-size: 13px;
    font-weight: 900;
    line-height: 1.4;
    min-height: 54px;
    text-decoration: none;
    overflow-wrap: anywhere;
}
.ascopes-xsearch-product-name:hover,
.ascopes-xsearch-product-name:focus {
    color: var(--ascopes-search-primary);
    text-decoration: none;
}
.ascopes-xsearch-brand,
.ascopes-xsearch-product-category,
.ascopes-xsearch-desc {
    width: 100%;
    min-width: 0;
    margin-top: 5px;
    color: var(--ascopes-search-muted);
    font-size: 11px;
    line-height: 1.4;
    overflow-wrap: anywhere;
}
.ascopes-xsearch-brand {
    color: var(--ascopes-search-dark);
    font-weight: 800;
}
.ascopes-xsearch-product-category {
    font-style: italic;
}
.ascopes-xsearch-desc {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}
.ascopes-xsearch-stock {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 7px;
    font-size: 11px;
    font-weight: 900;
}
.ascopes-xsearch-stock:before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: currentColor;
}
.ascopes-xsearch-stock.is-in {
    color: var(--ascopes-search-stock-in);
}
.ascopes-xsearch-stock.is-out {
    color: var(--ascopes-search-stock-out);
}
.ascopes-xsearch-price {
    width: 100%;
    margin: 7px 0 9px;
    color: var(--ascopes-search-price);
    font-size: 14px;
    font-weight: 900;
}
.ascopes-xsearch-cart,
.ascopes-xsearch-view {
    width: 100%;
    margin-top: auto;
}
.ascopes-xsearch-cart button,
.ascopes-xsearch-view {
    width: 100%;
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 12px;
    border: 1px solid var(--ascopes-search-button-bg);
    border-radius: 9px;
    color: var(--ascopes-search-button-text);
    background: var(--ascopes-search-button-bg);
    font-family: inherit;
    font-size: 12px;
    font-weight: 900;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: opacity .15s ease, transform .15s ease, filter .15s ease;
}
.ascopes-xsearch-cart button:hover,
.ascopes-xsearch-view:hover,
.ascopes-xsearch-cart button:focus,
.ascopes-xsearch-view:focus {
    color: var(--ascopes-search-button-text);
    text-decoration: none;
    filter: brightness(.96);
    transform: translateY(-1px);
    outline: none;
}
.ascopes-xsearch-cart button:disabled {
    cursor: wait;
    opacity: .78;
}
.ascopes-xsearch-cart button.is-added {
    background: var(--ascopes-search-stock-in);
    border-color: var(--ascopes-search-stock-in);
}
.ascopes-xsearch-cart-spinner {
    width: 14px;
    height: 14px;
    display: none;
    border: 2px solid rgba(255,255,255,.45);
    border-top-color: #ffffff;
    border-radius: 999px;
    animation: ascopesSearchSpin .65s linear infinite;
}
.ascopes-xsearch-cart button.is-loading .ascopes-xsearch-cart-spinner {
    display: inline-block;
}
@keyframes ascopesSearchSpin {
    to { transform: rotate(360deg); }
}
.ascopes-xsearch-empty {
    grid-column: 1 / -1;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 28px;
    color: var(--ascopes-search-muted);
    background: #f8fafc;
    border: 1px dashed #d0d5dd;
    border-radius: 14px;
    text-align: center;
}
.ascopes-xsearch-empty strong {
    color: var(--ascopes-search-dark);
    font-size: 15px;
}
.ascopes-xsearch-empty span {
    max-width: 520px;
    font-size: 12px;
    overflow-wrap: anywhere;
}
.ascopes-xsearch-more-wrap {
    display: flex;
    justify-content: center;
    padding: 22px 0 4px;
}
.ascopes-xsearch-load-more {
    min-width: 190px;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 9px 16px;
    border: 1px solid var(--ascopes-search-primary);
    border-radius: 10px;
    color: var(--ascopes-search-primary);
    background: #ffffff;
    font-family: inherit;
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
}
.ascopes-xsearch-load-more:hover,
.ascopes-xsearch-load-more:focus {
    color: var(--ascopes-search-button-text);
    background: var(--ascopes-search-primary);
    outline: none;
}
.ascopes-xsearch-load-more:disabled {
    opacity: .72;
    cursor: wait;
}
.ascopes-xsearch-load-more i {
    width: 14px;
    height: 14px;
    display: none;
    border: 2px solid currentColor;
    border-top-color: transparent;
    border-radius: 999px;
    animation: ascopesSearchSpin .65s linear infinite;
}
.ascopes-xsearch-main.is-loading-more .ascopes-xsearch-load-more i {
    display: block;
}
@media (max-width: 1050px) {
    .ascopes-xsearch-products {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .ascopes-xsearch-panel.is-full-results .ascopes-xsearch-products {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
@media (max-width: 820px) {
    .ascopes-xsearch-shell,
    .ascopes-xsearch-panel.is-full-results .ascopes-xsearch-shell {
        grid-template-columns: minmax(190px, 220px) minmax(0, 1fr);
    }
    .ascopes-xsearch-products,
    .ascopes-xsearch-panel.is-full-results .ascopes-xsearch-products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .ascopes-xsearch-main {
        padding-inline: 16px;
    }
}
@media (max-width: 640px) {
    body.ascopes-xsearch-open {
        overflow: hidden;
    }
    .ascopes-xsearch-overlay {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
    .ascopes-xsearch-panel,
    .ascopes-xsearch-panel.is-full-results {
        position: fixed !important;
        height: calc(100vh - 16px);
        max-height: none;
        max-width: none;
        border-width: 1px;
        border-radius: 14px;
    }
    .ascopes-xsearch-panel:not(.is-full-results) {
        height: auto;
        max-height: calc(100vh - 78px);
    }
    .ascopes-xsearch-shell,
    .ascopes-xsearch-panel.is-full-results .ascopes-xsearch-shell,
    .ascopes-xsearch-shell.no-side {
        height: 100%;
        max-height: none;
        grid-template-columns: minmax(0, 1fr);
    }
    .ascopes-xsearch-panel:not(.is-full-results) .ascopes-xsearch-shell {
        max-height: calc(100vh - 80px);
    }
    .ascopes-xsearch-side {
        max-height: 190px;
        padding: 13px;
        border-inline-end: 0;
        border-bottom: 1px solid var(--ascopes-search-border);
    }
    .ascopes-xsearch-side-section + .ascopes-xsearch-side-section {
        margin-top: 12px;
        padding-top: 12px;
    }
    .ascopes-xsearch-side-items {
        display: flex;
        flex-wrap: wrap;
        gap: 7px;
    }
    .ascopes-xsearch-term,
    .ascopes-xsearch-category {
        width: auto;
        max-width: min(100%, 250px);
        padding: 7px 10px;
        border-radius: 999px;
    }
    .ascopes-xsearch-term span,
    .ascopes-xsearch-category span {
        display: block;
        max-width: 220px;
        white-space: nowrap;
        text-overflow: ellipsis;
    }
    .ascopes-xsearch-main,
    .ascopes-xsearch-shell.no-side .ascopes-xsearch-main {
        padding: 14px;
    }
    .ascopes-xsearch-head {
        top: -14px;
        gap: 9px;
        margin-bottom: 13px;
        padding-top: 3px;
    }
    .ascopes-xsearch-query {
        display: block;
    }
    .ascopes-xsearch-query strong {
        display: block;
        margin-top: 2px;
        max-width: 56vw;
    }
    .ascopes-xsearch-progress {
        display: none;
    }
    .ascopes-xsearch-products,
    .ascopes-xsearch-shell.no-side .ascopes-xsearch-products,
    .ascopes-xsearch-panel.is-full-results .ascopes-xsearch-products {
        grid-template-columns: minmax(0, 1fr);
        gap: 11px;
    }
    .ascopes-xsearch-product {
        display: grid;
        grid-template-columns: 100px minmax(0, 1fr);
        gap: 12px;
        padding: 9px;
    }
    .ascopes-xsearch-product-image,
    .ascopes-xsearch-panel.is-full-results .ascopes-xsearch-product-image {
        width: 100px;
        height: 112px;
        margin: 0;
    }
    .ascopes-xsearch-product-name {
        min-height: 0;
        -webkit-line-clamp: 2;
    }
    .ascopes-xsearch-price {
        margin-block: 6px;
    }
    .ascopes-xsearch-cart,
    .ascopes-xsearch-view {
        width: auto;
        align-self: stretch;
    }
    .ascopes-xsearch-cart button,
    .ascopes-xsearch-view {
        min-height: 34px;
    }
    .ascopes-xsearch-notices {
        inset-inline: 8px;
        top: 8px;
    }
    .ascopes-xsearch-notice {
        gap: 8px;
        padding: 10px;
    }
    .ascopes-xsearch-notice a {
        display: none;
    }
}
@media (prefers-reduced-motion: reduce) {
    .ascopes-xsearch-panel *,
    .ascopes-xsearch-panel *:before,
    .ascopes-xsearch-panel *:after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}

body.ascopes-xsearch-open {
    overflow: hidden !important;
    overscroll-behavior: none;
}
.ascopes-xsearch-panel.is-full-results {
    height: calc(100vh - 24px);
    height: calc(100dvh - 24px);
    max-height: none;
    overflow: hidden !important;
}
.ascopes-xsearch-panel.is-full-results .ascopes-xsearch-shell {
    height: 100%;
    min-height: 0;
    max-height: none;
    overflow: hidden;
}
.ascopes-xsearch-panel.is-full-results .ascopes-xsearch-main {
    height: 100%;
    min-height: 0;
    max-height: 100%;
    overflow-x: hidden !important;
    overflow-y: scroll !important;
    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-gutter: stable both-edges;
}
.ascopes-xsearch-panel.is-full-results .ascopes-xsearch-side {
    height: 100%;
    min-height: 0;
    max-height: 100%;
    overflow-y: auto !important;
    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;
}
.ascopes-xsearch-main:focus {
    outline: none;
}
.ascopes-xsearch-side::-webkit-scrollbar,
.ascopes-xsearch-main::-webkit-scrollbar {
    width: 10px;
}
.ascopes-xsearch-side::-webkit-scrollbar-thumb,
.ascopes-xsearch-main::-webkit-scrollbar-thumb {
    background: rgba(102,112,133,.5);
    border: 2px solid transparent;
    background-clip: padding-box;
}
button.ascopes-xsearch-view-all {
    margin: 0;
    font-family: inherit;
    line-height: 1.2;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}
@media (max-width: 640px) {
    .ascopes-xsearch-panel.is-full-results {
        height: calc(100vh - 16px);
        height: calc(100dvh - 16px);
    }
    .ascopes-xsearch-panel.is-full-results .ascopes-xsearch-shell {
        overflow: hidden;
    }
    .ascopes-xsearch-panel.is-full-results .ascopes-xsearch-main {
        height: 100%;
        max-height: 100%;
        overflow-y: scroll !important;
    }
}
