/* Compact live-search shopping controls. */
.bb-quick-search-results,
.bb-quick-search-results.show {
    border: 1px solid rgba(15, 23, 42, .12) !important;
    border-radius: 0 0 8px 8px !important;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .11) !important;
}

.bb-quick-search-item {
    align-items: center !important;
    border-bottom: 1px solid rgba(15, 23, 42, .08) !important;
    display: flex !important;
    gap: 6px !important;
    padding: 4px 8px !important;
    transition: background-color .18s ease, border-color .18s ease !important;
}

.bb-quick-search-item:hover,
.bb-quick-search-item:focus-within {
    background: #fffaf2 !important;
    border-color: rgba(255, 156, 0, .2) !important;
}

.bb-quick-search-product {
    align-items: center;
    color: inherit;
    display: flex;
    flex: 1 1 auto;
    gap: 7px;
    min-width: 0;
    text-decoration: none;
}

.bb-quick-search-product .bb-quick-search-item-info {
    min-width: 0;
}

.bb-quick-search-cart-actions {
    align-items: center;
    display: flex;
    flex: 0 0 auto;
    gap: 4px;
}

.bb-quick-search-quantity {
    align-items: center;
    background: #fff;
    border: 1px solid #ccd3dc;
    border-radius: 5px;
    display: flex;
    height: 24px;
    overflow: hidden;
}

.bb-quick-search-quantity button {
    align-items: center;
    background: transparent;
    border: 0;
    color: #334155;
    display: flex;
    font-size: 13px;
    height: 22px;
    justify-content: center;
    padding: 0;
    transition: background-color .15s ease, color .15s ease;
    width: 18px;
}

.bb-quick-search-quantity button:hover,
.bb-quick-search-quantity button:focus-visible {
    background: #eef1f5;
    color: #0f172a;
}

.bb-quick-search-quantity input {
    background: transparent;
    border: 0;
    box-shadow: none;
    color: #0f172a;
    font-size: 10px;
    font-weight: 700;
    height: 22px;
    outline: 0;
    padding: 0;
    text-align: center;
    width: 22px;
}

.bb-quick-search-cart-button {
    align-items: center;
    background: linear-gradient(180deg, #ffb332 0%, #ff9c00 100%) !important;
    border: 1px solid #ff9c00 !important;
    border-radius: 5px !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 2px 5px rgba(255, 156, 0, .14) !important;
    color: #171717 !important;
    display: inline-flex;
    font-size: 9px;
    font-weight: 700;
    height: 24px;
    justify-content: center;
    line-height: 1;
    min-width: 56px;
    padding: 0 7px;
    text-decoration: none !important;
    transition: background .18s ease, box-shadow .18s ease, transform .18s ease !important;
    white-space: nowrap;
}

.bb-quick-search-cart-button:hover,
.bb-quick-search-cart-button:focus-visible {
    background: #e98f00 !important;
    border-color: #e98f00 !important;
    box-shadow: 0 3px 8px rgba(255, 156, 0, .2) !important;
    color: #111 !important;
    transform: translateY(-1px);
}

html.pk-store-dark .bb-quick-search-results,
html.pk-store-dark .bb-quick-search-results.show {
    border-color: rgba(203, 213, 225, .24) !important;
    box-shadow: 0 16px 38px rgba(0, 0, 0, .34) !important;
}

html.pk-store-dark .bb-quick-search-item {
    border-bottom-color: rgba(203, 213, 225, .12) !important;
}

html.pk-store-dark .bb-quick-search-item:hover,
html.pk-store-dark .bb-quick-search-item:focus-within {
    background: #2d3137 !important;
    border-color: rgba(255, 156, 0, .3) !important;
}

html.pk-store-dark .bb-quick-search-quantity {
    background: #1d2633;
    border-color: #667386;
}

html.pk-store-dark .bb-quick-search-quantity button,
html.pk-store-dark .bb-quick-search-quantity input {
    color: #f3f4f6;
}

html.pk-store-dark .bb-quick-search-quantity button:hover,
html.pk-store-dark .bb-quick-search-quantity button:focus-visible {
    background: #3a4656;
    color: #fff;
}

@media (max-width: 767px) {
    .bb-quick-search-cart-actions {
        gap: 3px;
    }

    .bb-quick-search-cart-button {
        min-width: 50px;
        padding: 0 5px;
    }
}
