/* Wrapper for all swatches of one attribute */
.mp-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

/* Pill style buttons (works for color, size, etc.) */
.mp-swatch-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    border: 2px solid #222;
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
    background: #111;
    color: #fff;
    letter-spacing: 0.02em;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
    white-space: nowrap;
}

/* Selected state */
.mp-swatch-btn.is-selected {
    background: #fff;
    color: #000;
    border-color: #ff3b3b;
    box-shadow: 0 0 0 2px rgba(255, 59, 59, 0.35);
}

/* Hover */
.mp-swatch-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* Hidden swatches (>6 initially) */
.mp-swatch-hidden {
    display: none;
}

/* "More" button */
.mp-swatch-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px dashed #555;
    background: #1b1b1b;
    color: #f5f5f5;
    cursor: pointer;
    font-size: 11px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.mp-swatch-more:hover {
    transform: translateY(-1px);
    border-color: #ff3b3b;
    background: #111;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* Fully hide original select (dropdown) when swatches added */
.mp-has-swatches {
    display: none !important;
}

/* A little spacing under attribute label */
.variations tr td.label {
    padding-bottom: 4px;
}
