/* BC Add to Cart (v4.3.5) */
.bc-add-to-cart {
    display: flex;
    align-items: stretch;
    gap: 8px;
    width: 100%;
    margin-top: 16px;
}
.bc-atc__qty {
    display: flex;
    align-items: center;
    border: 1px solid var(--bc-border);
    border-radius: var(--bc-atc-radius, 0px);
    overflow: hidden;
    flex-shrink: 0;
}
.bc-atc__qty-btn {
    width: 36px;
    height: 48px;
    border: none;
    background: transparent;
    font-size: 18px;
    font-weight: 600;
    color: var(--bc-text, #1a1a1a);
    cursor: pointer;
    transition: color var(--bc-transition), background var(--bc-transition);
    line-height: 1;
    font-family: var(--bc-body-font);
}
.bc-atc__qty-btn:hover {
    background: transparent;
    color: var(--bc-hover-accent, #C75E3D);
}
.bc-atc__qty-input {
    width: 36px;
    text-align: center;
    border: none;
    border-left: 1px solid var(--bc-border);
    border-right: 1px solid var(--bc-border);
    font-size: 14px;
    color: var(--bc-text, #1a1a1a);
    background: transparent;
    height: 48px;
    -moz-appearance: textfield;
    font-family: var(--bc-body-font);
}
.bc-atc__qty-input::-webkit-outer-spin-button,
.bc-atc__qty-input::-webkit-inner-spin-button { -webkit-appearance: none; }

.bc-atc__button {
    flex: 1;
    height: 48px;
    padding: 0 18px;
    background: var(--bc-atc-bg, #000000);
    color: var(--bc-atc-text, #ffffff);
    border: 2px solid var(--bc-atc-bg, #000000);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: color var(--bc-transition), background var(--bc-transition), border-color var(--bc-transition), opacity var(--bc-transition);
    border-radius: var(--bc-atc-radius, 0px);
    font-family: var(--bc-body-font);
    appearance: none;
    -webkit-appearance: none;
    box-shadow: none;
    text-decoration: none;
    line-height: 1;
}
.bc-atc__button svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    transition: transform var(--bc-transition);
}
.bc-atc__button:hover:not(:disabled) {
    background: transparent;
    color: var(--bc-hover-accent, #C75E3D);
    border-color: var(--bc-hover-accent, #C75E3D);
    opacity: 1;
}
.bc-atc__button:hover:not(:disabled) svg {
    transform: translateY(-1px);
}
.bc-atc__button:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}
/* Prevent focus/active dimming after size selection */
.bc-atc__button:focus:not(:disabled),
.bc-atc__button:active:not(:disabled) {
    opacity: 1;
    background: var(--bc-atc-bg, #000000);
    color: var(--bc-atc-text, #ffffff);
    border-color: var(--bc-atc-bg, #000000);
}

/* Stock message */
.bc-atc__stock-msg {
    width: 100%;
    font-family: var(--bc-body-font);
}

/* BC Wishlist */
.bc-wishlist { width: 100%; margin-top: 8px; }
.bc-wishlist__button {
    width: 100%;
    height: 48px;
    padding: 0 18px;
    background: transparent;
    color: var(--bc-wish-text, #1a1a1a);
    border: 1px solid var(--bc-wish-border, #e5e5e5);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: color var(--bc-transition), border-color var(--bc-transition), background var(--bc-transition);
    border-radius: var(--bc-wish-radius, 0px);
    font-family: var(--bc-body-font);
    appearance: none;
    -webkit-appearance: none;
    box-shadow: none;
    text-decoration: none;
    line-height: 1;
}
.bc-wishlist__button svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}
.bc-wishlist__button:hover {
    border-color: var(--bc-hover-accent, #C75E3D);
    color: var(--bc-hover-accent, #C75E3D);
    background: transparent !important;
}
/* Prevent grey background on focus/active after adding */
.bc-wishlist__button:focus,
.bc-wishlist__button:active {
    background: transparent !important;
    outline: none;
    box-shadow: none;
}
.bc-wishlist__button.bc-wishlist--active:hover {
    background: transparent !important;
}
.bc-atc__button:focus,
.bc-wishlist__button:focus,
.bc-atc__button:active,
.bc-wishlist__button:active {
    outline: none;
    box-shadow: none;
}
/* Normal state icon */
.bc-wishlist__icon {
    fill: none;
    stroke: var(--bc-wish-icon-normal, #1a1a1a);
    transition: all var(--bc-transition);
}
.bc-wishlist__button:hover .bc-wishlist__icon {
    stroke: var(--bc-hover-accent, #C75E3D);
}
.bc-wishlist__button.bc-wishlist--active {
    border-color: var(--bc-wish-icon-active, #e74c3c);
    color: var(--bc-wish-icon-active, #e74c3c);
}
/* Active state: filled red heart */
.bc-wishlist__button.bc-wishlist--active .bc-wishlist__icon {
    fill: var(--bc-wish-icon-active, #e74c3c);
    stroke: var(--bc-wish-icon-active, #e74c3c);
}

/* ─── BC Wishlist sync: map .bcw-btn active class to our styles ─── */
.bc-wishlist__button.bcw-btn.active {
    border-color: var(--bc-wish-icon-active, #e74c3c);
    color: var(--bc-wish-icon-active, #e74c3c);
}
.bc-wishlist__button.bcw-btn.active .bc-wishlist__icon {
    fill: var(--bc-wish-icon-active, #e74c3c);
    stroke: var(--bc-wish-icon-active, #e74c3c);
}
/* Hide BC Wishlist's own heart SVG if it injects one */
.bc-wishlist__button.bcw-btn .bcw-heart { display: none; }
