/* Drawer styles */
.view-all-swatches {
    background: #333;
    color: #fff;
    border: none;
    padding: 8px 16px;
    margin-top: 10px;
    cursor: pointer;
    border-radius: 4px;
}

.color-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 10000;
}

.color-drawer {
    position: fixed;
    right: 0;
    top: 0;
    width: 400px;
    height: 100%;
    background: #fff;
    overflow-y: auto;
    padding: 20px;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.3);
}

.color-drawer .close-drawer {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    border: none;
    background: none;
    cursor: pointer;
    color: #000;
    box-shadow: none;
}

.color-drawer .all-swatches {
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* Hide swatches with a class, not display:none inline */
.swatch-hidden {
    display: none !important;
}
.color-drawer-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 10000;
    display: none;
}

.color-drawer {
    position: absolute;
    right: 0;
    top: 0;
    width: 350px;
    height: 100%;
    background: #fff;
    padding: 20px;
    overflow-y: auto;
    box-shadow: -4px 0 15px rgba(0, 0, 0, 0.3);
}

.all-swatches .variable-items-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
