/* Lista de desejos por contato — drawer compartilhado */

.blc-wishlist-trigger {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 999px;
    background: #fff;
    color: inherit;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
    z-index: 2;
}

.blc-wishlist-trigger__badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: #e11d48;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
}

.blc-wishlist-trigger__badge[hidden] {
    display: none;
}

.blc-catalog-wishlist-trigger .blc-wishlist-trigger__badge {
    top: -4px;
    right: -4px;
}

.blc-wishlist[hidden] {
    display: none;
}

.blc-wishlist {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    justify-content: flex-end;
}

.blc-wishlist__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.blc-wishlist__drawer {
    position: relative;
    width: min(100%, 380px);
    max-width: 100%;
    height: 100%;
    background: #faf8f5;
    display: flex;
    flex-direction: column;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.12);
    animation: blc-wishlist-slide-in 0.25s ease;
}

@keyframes blc-wishlist-slide-in {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}

.blc-wishlist__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: calc(14px + env(safe-area-inset-top, 0)) 16px 12px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    background: #fff;
}

.blc-wishlist__title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
}

.blc-wishlist__close {
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #fff;
    color: inherit;
    flex-shrink: 0;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.blc-wishlist__close.blc-nav-btn:hover {
    background: #fff;
    border-color: transparent;
}

.blc-wishlist__body {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
}

.blc-wishlist__label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #666;
}

.blc-wishlist__contact-row {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 16px;
}

.blc-wishlist__contact-select {
    flex: 1;
    min-width: 0;
    height: 40px;
    padding: 0 12px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 10px;
    background: #fff;
    font: inherit;
}

.blc-wishlist__contact-delete {
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #fff;
    color: inherit;
    flex-shrink: 0;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.blc-wishlist__contact-delete.blc-nav-btn:hover {
    background: #fff;
    border-color: transparent;
}

.blc-wishlist__contact-delete[hidden] {
    display: none;
}

.blc-wishlist__contact-form[hidden] {
    display: none;
}

.blc-wishlist__contact-form {
    padding: 14px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    margin-bottom: 20px;
}

.blc-wishlist__form-title {
    margin: 0 0 10px;
    font-size: 0.85rem;
    font-weight: 600;
}

.blc-wishlist__input {
    width: 100%;
    height: 40px;
    margin-bottom: 8px;
    padding: 0 12px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 10px;
    font: inherit;
    box-sizing: border-box;
}

.blc-wishlist__items-heading {
    margin: 0 0 10px;
    font-size: 0.85rem;
    font-weight: 600;
}

.blc-wishlist__no-contact,
.blc-wishlist__empty {
    margin: 0;
    font-size: 0.85rem;
    color: #666;
}

.blc-wishlist__no-contact[hidden],
.blc-wishlist__empty[hidden] {
    display: none;
}

.blc-wishlist__items {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.blc-wishlist__item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 10px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.blc-wishlist__item-check {
    margin-top: 14px;
    flex-shrink: 0;
}

.blc-wishlist__item-media {
    width: 52px;
    height: 52px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
    background: #f3f3f3;
}

.blc-wishlist__item-body {
    flex: 1;
    min-width: 0;
}

.blc-wishlist__item-name {
    margin: 0 0 4px;
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.3;
    color: #000;
}

.blc-wishlist__item-price {
    margin: 0;
    font-size: 0.8rem;
    color: #666;
}

.blc-wishlist__item-remove {
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #999;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
}

.blc-wishlist__footer {
    padding: 14px 16px calc(14px + env(safe-area-inset-bottom, 0));
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    background: #fff;
}

.blc-wishlist__total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-weight: 600;
}

.blc-wishlist__total-value {
    font-size: 1.05rem;
}

.blc-wishlist__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 44px;
    padding: 0 16px;
    border: 0;
    border-radius: 12px;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    box-sizing: border-box;
}

.blc-wishlist__btn--secondary {
    background: var(--blc-v2-color-accent, var(--blc-color-accent, #7a212e));
    color: #fff;
    border: 0;
    box-shadow: 0 4px 14px color-mix(in srgb, var(--blc-v2-color-accent, var(--blc-color-accent, #7a212e)) 35%, transparent);
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.blc-wishlist__btn--secondary:hover {
    filter: brightness(1.06);
    box-shadow: 0 6px 18px color-mix(in srgb, var(--blc-v2-color-accent, var(--blc-color-accent, #7a212e)) 42%, transparent);
}

.blc-wishlist__btn--secondary:active {
    transform: scale(0.98);
}

.blc-wishlist__btn--whatsapp {
    background: #25d366;
    color: #fff;
}

.blc-wishlist__btn--whatsapp[aria-disabled="true"] {
    opacity: 0.45;
    pointer-events: none;
}

/* Coração nos cards / reels */
.blc-reel-wish {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    padding: 0;
    z-index: 3;
    pointer-events: auto;
}

.blc-reel-slide {
    position: relative;
}
