/* BC Color Swatches (v4.3.4) */
.bc-color-swatches {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
}
.bc-swatches__label {
    font-size: 13px;
    color: var(--bc-muted);
    font-family: var(--bc-body-font);
}
.bc-swatches__list {
    display: flex;
    gap: 8px;
}
.bc-swatch__circle {
    width: var(--bc-swatch-size, 28px);
    height: var(--bc-swatch-size, 28px);
    border-radius: var(--bc-swatch-shape, 50%);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--bc-transition);
    padding: 0;
    outline: none;
}
.bc-swatch__circle:hover {
    border-color: rgba(0,0,0,0.3);
    transform: scale(1.1);
}
.bc-swatch__circle.bc-swatch--active {
    border-color: var(--bc-swatch-active-border, #000000);
    transform: scale(1.15);
}
.bc-swatches__name {
    font-size: 13px;
    font-weight: 500;
    font-family: var(--bc-body-font);
}
.bc-swatches__name.bc-hidden { display: none; }

/* BC Size Selector */
.bc-size-selector {
    padding: 8px 0;
}
.bc-size__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}
.bc-size__label {
    font-size: 13px;
    color: var(--bc-muted);
    font-family: var(--bc-body-font);
}

/* Size Guide link/button — keep background transparent on all states */
.bc-size__guide-link {
    font-size: var(--bc-sg-font-size, 12px);
    color: var(--bc-sg-text, var(--bc-muted));
    text-decoration: underline;
    cursor: pointer;
    background: none;
    background-color: transparent;
    border: none;
    font-family: var(--bc-body-font);
    transition: color var(--bc-transition);
    padding: 0;
    margin: 0;
}
.bc-size__guide-link:hover {
    color: var(--bc-sg-hover-color, var(--bc-text));
    background: none;
    background-color: transparent;
}
.bc-size__guide-link:focus {
    background: none;
    background-color: transparent;
    outline: none;
}

.bc-size__list {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

/* Perfect circles for size buttons */
.bc-size__btn {
    width: 44px;
    height: 44px;
    min-width: 44px;
    padding: 0;
    border: 1px solid var(--bc-border);
    background: var(--bc-bg);
    color: var(--bc-text);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all var(--bc-transition);
    border-radius: var(--bc-size-shape, 50%);
    font-family: var(--bc-body-font);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    box-sizing: border-box;
}
.bc-size__btn:hover {
    border-color: var(--bc-size-hover-border, #000000);
}
.bc-size__btn.bc-size--active {
    background: var(--bc-size-active-bg, #000000);
    color: var(--bc-size-active-text, #ffffff);
    border-color: var(--bc-size-active-bg, #000000);
}
.bc-size__btn.bc-size--disabled {
    opacity: 0.3;
    cursor: not-allowed;
    text-decoration: line-through;
}
.bc-size__btn.bc-size--last-one::after {
    content: '1';
    position: absolute;
    top: -6px;
    right: -6px;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background: var(--bc-primary, #000);
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* Size Guide Modal */
.bc-size-guide-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.bc-size-guide-overlay.bc-active {
    opacity: 1;
    visibility: visible;
}
.bc-size-guide-modal {
    background: #fff;
    padding: 30px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}
.bc-size-guide-modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: none;
    background-color: transparent;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #1a1a1a;
    line-height: 1;
}
.bc-size-guide-modal__close:hover,
.bc-size-guide-modal__close:focus {
    background: none;
    background-color: transparent;
}
.bc-size-guide-modal h3 {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}