/* Container for swatches */
.petsphere-variation-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 5px;
    margin-bottom: 15px;
}

/* The buttons */
.petsphere-swatch-btn {
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 8px 15px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #333;
    outline: none;
}

.petsphere-swatch-btn:hover {
    border-color: #1a5d48; /* Primary color */
    color: #1a5d48;
}

/* Selected state */
.petsphere-swatch-btn.selected {
    background: #1a5d48;
    color: #fff;
    border-color: #1a5d48;
}

/* Disabled state */
.petsphere-swatch-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #f9f9f9;
    border-color: #eee;
    color: #aaa;
    text-decoration: line-through;
}

/* Hide the "Clear" link usually shown by WC, or style it better */
.reset_variations {
    display: inline-block;
    margin-left: 10px;
    font-size: 0.9em;
    color: #a00;
    text-decoration: none;
}

/* Adjust label spacing */
.variations label {
    font-weight: 600;
    margin-bottom: 5px;
    display: block;
    color: #333;
}

/* Ensure the table layout of variations doesn't break */
.variations td {
    padding-bottom: 10px;
    vertical-align: top;
}

.variations .label {
    padding-top: 10px; /* Align label with buttons */
}
