/**
 * Copyright © Caravel. All rights reserved.
 *
 * Pickup-stores drawer shared by the campaign widgets (templates/widget/pickup-drawer.phtml): the product page
 * "Opções de retirada" panel in the tones of the dark mini cart. Loaded by the cassol_blackfriday_active layout
 * handle next to black-friday.css, whose tokens (--bf-*) it reuses.
 */

.bf-drawer__icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

.bf-drawer__backdrop {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: var(--bf-overlay);
}

.bf-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 101;
    width: 100%;
    max-width: 28rem;
    padding: 1rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: var(--bf-bg);
    color: var(--bf-text);
    box-shadow: var(--bf-shadow);
}

.bf-drawer__head {
    border-bottom: 1px solid var(--bf-line-2);
    padding-bottom: 1rem;
}

.bf-drawer__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.bf-drawer__title {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.75rem;
    color: var(--bf-text);
}

.bf-drawer__close {
    color: var(--bf-text);
    background: transparent;
    border: 0;
    cursor: pointer;
}

.bf-drawer__note {
    margin: .25rem 0 0;
    font-size: 12px;
    color: var(--bf-muted);
}

.bf-drawer__loading,
.bf-drawer__empty {
    margin: 1rem 0 0;
    padding: 1rem;
    font-size: 14px;
    line-height: 1.5;
    color: var(--bf-muted);
}

.bf-drawer__empty {
    display: flex;
    gap: .75rem;
    align-items: flex-start;
    color: var(--bf-text);
    border: 1px solid var(--bf-line-2);
    border-radius: .5rem;
    background: var(--bf-surface-2);
}

.bf-drawer__empty-pin {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--bf-muted-cool);
}

.bf-drawer__empty-text {
    display: flex;
    flex-direction: column;
    gap: .25rem;
}

.bf-drawer__empty-text b {
    font-weight: 600;
}

.bf-drawer__empty-text span {
    color: var(--bf-muted);
}

.bf-drawer__stores {
    list-style: none;
    margin: 1rem 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    overflow-y: auto;
    flex: 1;
}

.bf-drawer__store {
    display: flex;
    gap: .75rem;
    padding: 1rem;
    border: 1px solid var(--bf-line-2);
    border-radius: .5rem;
    background: var(--bf-surface-2);
}

.bf-drawer__store-pin {
    color: var(--bf-red);
    margin-top: 2px;
}

.bf-drawer__store-text {
    display: flex;
    flex-direction: column;
    font-size: 14px;
    color: var(--bf-muted-cool);
}

.bf-drawer__store-name {
    color: var(--bf-text);
    font-weight: 600;
    margin-bottom: .25rem;
}
