/* Boutique da Preta - acabamento de contraste dark e seletor de quantidade. */

/* Quantidade compacta, atualizada automaticamente pelo minicart. */
.bp-bag-item-footer .bp-qty-control {
    align-items: center;
    display: inline-flex;
    flex: 0 0 auto;
    gap: 7px;
}

.bp-bag-item-footer .bp-qty-step {
    align-items: center;
    appearance: none;
    background: var(--bp-soft);
    border: 1px solid color-mix(in srgb, var(--bp-primary) 24%, var(--bp-border));
    border-radius: 50%;
    color: var(--bp-primary);
    cursor: pointer;
    display: inline-flex;
    font-family: Arial, sans-serif;
    font-size: 20px;
    font-weight: 500;
    height: 32px;
    justify-content: center;
    line-height: 1;
    padding: 0;
    transition: background-color .16s ease, border-color .16s ease, color .16s ease, transform .16s ease;
    width: 32px;
}

.bp-bag-item-footer .bp-qty-step:hover,
.bp-bag-item-footer .bp-qty-step:focus {
    background: var(--bp-primary);
    border-color: var(--bp-primary);
    color: var(--bp-on-primary);
    outline: none;
    transform: translateY(-1px);
}

.bp-bag-item-footer .bp-qty-step:focus-visible {
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--bp-primary) 22%, transparent);
}

.bp-bag-item-footer .bp-qty-step:disabled,
.bp-bag-item-footer .bp-qty-control.is-updating .bp-qty-step {
    cursor: default;
    opacity: .38;
    transform: none;
}

.bp-bag-item-footer .bp-qty-control .cart-item-quantity {
    appearance: textfield;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    color: var(--bp-text);
    font-size: .92rem;
    font-weight: 700;
    height: 32px;
    padding: 0;
    pointer-events: none;
    text-align: center;
    width: 26px;
}

.bp-bag-item-footer .bp-qty-control .cart-item-quantity:focus {
    border: 0;
    box-shadow: none;
    outline: none;
}

.bp-bag-item-footer .quantity-button.bp-qty-native-update {
    display: none !important;
}

/* Dark confortável: reduz brilho sem sacrificar legibilidade. */
html.bp-theme-dark body,
body.bp-theme-dark {
    --bp-text: #d2c8cc;
    --bp-muted: #aa9fa3;
    --bp-border: rgba(210, 200, 204, .10);
    --bp-on-accent: #ded5d8;
}

body.bp-theme-dark #header.bp-header:not(.bp-header--scrolled) {
    border-bottom-color: transparent;
}

body.bp-theme-dark #header.bp-header.bp-header--scrolled {
    border-bottom-color: rgba(210, 200, 204, .08);
}

body.bp-theme-dark .bp-announcement {
    color: #ded5d8;
}

body.bp-theme-dark .bp-header-actions a,
body.bp-theme-dark .bp-header-actions button,
body.bp-theme-dark .bp-minicart .skip-cart {
    color: #d0c6ca;
}

body.bp-theme-dark .bp-header-actions .bp-icon-link > span,
body.bp-theme-dark .bp-minicart .skip-cart .label {
    color: #aaa0a4;
}

body.bp-theme-dark .bp-nav-wrap {
    border-top-color: rgba(210, 200, 204, .08);
}

body.bp-theme-dark #header-nav,
body.bp-theme-dark .bp-nav #nav,
body.bp-theme-dark .bp-nav .nav-primary {
    border-bottom: 0 !important;
    box-shadow: none;
}

body.bp-theme-dark .bp-nav .nav-primary > li.level0 > a {
    color: #d8ced2;
    text-shadow: none;
}

body.bp-theme-dark .bp-search #search {
    color: #d2c8cc;
}

body.bp-theme-dark .bp-search #search::placeholder {
    color: #9f9599;
    opacity: 1;
}

body.bp-theme-dark h1,
body.bp-theme-dark h2,
body.bp-theme-dark h3,
body.bp-theme-dark .page-title h1,
body.bp-theme-dark .page-title h2,
body.bp-theme-dark .product-name h1 {
    color: #e0d7da;
}

@media (max-width: 770px) {
    .bp-bag-item-footer .bp-qty-control {
        gap: 6px;
    }

    .bp-bag-item-footer .bp-qty-step {
        height: 36px;
        width: 36px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bp-bag-item-footer .bp-qty-step {
        transition: none;
    }
}
