.wcf-fabric-section {
    width: 100%;
    margin: 28px 0;
    box-sizing: border-box;
}
.wcf-heading {
    margin: 0 0 14px;
    font-size: 20px;
    line-height: 1.3;
    font-weight: 400;
    letter-spacing: .02em;
    color: #222;
}
.wcf-slider-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}
.wcf-swatches {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    gap: 14px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 5px 2px 8px;
}
.wcf-swatches::-webkit-scrollbar {
    display: none;
}
.wcf-swatch {
    position: relative;
    flex: 0 0 94px;
    min-width: 94px;
}
.wcf-radio-label {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 0 0 7px;
    cursor: pointer;
    min-height: 20px;
}
.wcf-radio-label input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.wcf-radio {
    width: 15px;
    height: 15px;
    border: 1px solid #777;
    border-radius: 50%;
    box-sizing: border-box;
    position: relative;
    flex: 0 0 15px;
}
.wcf-swatch.is-selected .wcf-radio {
    border-color: #222;
}
.wcf-swatch.is-selected .wcf-radio::after {
    content: "";
    position: absolute;
    width: 7px;
    height: 7px;
    left: 3px;
    top: 3px;
    border-radius: 50%;
    background: #222;
}
.wcf-radio-text {
    font-size: 12px;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}
.wcf-image-button {
    position: relative;
    display: block;
    width: 94px;
    height: 94px;
    padding: 0;
    border: 1px solid #d8d8d8;
    border-radius: 10px !important;
    background: #fff;
    overflow: hidden;
    cursor: pointer;
    box-sizing: border-box;
}
.wcf-image-button img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.wcf-swatch.is-selected .wcf-image-button {
    border: 2px solid #222;
    border-radius: 10px !important;
}
.wcf-zoom {
    position: absolute;
    right: 5px;
    bottom: 5px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(255,255,255,.92);
    color: #222;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    line-height: 1;
}
.wcf-name {
    display: none !important;
}
.wcf-arrow {
    flex: 0 0 40px;
    width: 40px !important;
    height: 40px !important;
    padding: 0;
    border: 1px solid #ddd;
    border-radius: 50%;
    background: #fff;
    color: #222;
    cursor: pointer;
    font-size: 30px;
    line-height: 1;
}
.wcf-arrow:hover {
    background: #f7f7f7;
}
.wcf-lightbox {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: none;
}
.wcf-lightbox.is-open {
    display: flex;
    align-items: center;
    justify-content: center;
}
.wcf-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.78);
}
.wcf-lightbox-dialog {
    position: relative;
    z-index: 2;
    max-width: min(92vw, 1100px);
    max-height: 92vh;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.wcf-lightbox-image {
    display: block;
    max-width: 100%;
    max-height: 78vh;
    width: auto;
    height: auto;
    object-fit: contain;
    background: #fff;
}
.wcf-lightbox-caption {
    margin-top: 10px;
    color: #fff;
    font-size: 14px;
    text-align: center;
}
.wcf-lightbox-close {
    position: absolute;
    top: -4px;
    right: -4px;
    z-index: 3;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: #222;
    font-size: 28px;
    line-height: 38px;
    cursor: pointer;
}
.wcf-no-scroll {
    overflow: hidden !important;
}
@media (max-width: 767px) {
    .wcf-heading {
        font-size: 17px;
    }
    .wcf-swatch,
    .wcf-image-button {
        width: 76px;
        min-width: 76px;
        flex-basis: 76px;
    }
    .wcf-image-button {
        height: 76px;
    }
    .wcf-arrow {
        flex-basis: 30px;
        width: 30px;
        font-size: 26px;
    }
}

.wcf-slider-wrap.no-arrows .wcf-swatches {
    justify-content: center;
    overflow-x: visible;
}
