/* Boutique da Preta - fechamento dos painéis e remoção do espaço da sacola. */

.bp-minicart #header-cart .minicart-wrapper,
.bp-minicart #header-cart .bp-bag-panel {
    bottom: auto;
    top: 0;
}

/* O painel deve abrir somente com a classe controlada pelo RWD. */
.bp-account-menu .bp-account-panel:not(.skip-active) {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px) scale(.985);
    visibility: hidden;
}

.bp-account-menu .bp-account-panel.skip-active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
    visibility: visible;
}

#header-account .bp-panel-heading {
    align-items: flex-start;
    display: flex;
    gap: 12px;
    justify-content: space-between;
}

#header-account .bp-panel-heading > div {
    min-width: 0;
}

.bp-account-close {
    align-items: center;
    background: var(--bp-soft);
    border: 0;
    border-radius: 50%;
    color: var(--bp-text);
    cursor: pointer;
    display: inline-flex;
    flex: 0 0 36px;
    height: 36px;
    justify-content: center;
    margin: -2px -2px 0 0;
    min-height: 36px;
    padding: 0;
    transition: background .15s ease, color .15s ease, transform .15s ease;
    width: 36px;
}

.bp-account-close:hover,
.bp-account-close:focus {
    background: var(--bp-primary);
    color: var(--bp-on-primary);
    outline: 0;
    transform: rotate(3deg);
}

.bp-account-close svg {
    fill: none;
    height: 18px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-width: 1.8;
    width: 18px;
}

@media (max-width: 770px) {
    .bp-account-close {
        flex-basis: 38px;
        height: 38px;
        min-height: 38px;
        width: 38px;
    }
}
