/* ==========================================================================
   PRODUCT PAGE STYLES
   ========================================================================== */

/* ---- CUSTOM PRODUCT VARIATIONS ---- */

.variations-wrapper {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 8px;
    margin: 25px 0;
    border: 1px solid #e0e0e0;
}

.variation-attribute {
    margin-bottom: 25px;
}

.variation-attribute:last-child {
    margin-bottom: 0;
}

.variation-label {
    display: block;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.variation-label .required {
    color: #d00;
    font-weight: bold;
}

/* Hide default select */
.variation-select {
    display: none !important;
}

/* Button-based selector */
.variation-buttons-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.variation-button {
    flex: 0 1 auto;
    padding: 12px 20px;
    min-width: 100px;
    border: 2px solid #ddd;
    background: #fff;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 5px;
    text-align: center;
    position: relative;
}

.variation-button:hover {
    border-color: #0073aa;
    color: #0073aa;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 115, 170, 0.15);
}

.variation-button.selected {
    border-color: #0073aa;
    background: #0073aa;
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 115, 170, 0.3);
}

.variation-button.selected::after {
    content: '✓';
    position: absolute;
    top: -8px;
    right: -8px;
    width: 20px;
    height: 20px;
    background: #46b450;
    color: #fff;
    border-radius: 50%;
    font-size: 12px;
    line-height: 20px;
    text-align: center;
}

.variation-button.disabled,
.variation-button:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

/* Focus states */
.variation-button:focus {
    outline: 3px solid #0073aa;
    outline-offset: 2px;
}

/* Reset button */
.reset_variations_wrapper {
    margin-top: 15px;
    text-align: right;
}

.reset_variations {
    font-size: 13px;
    color: #666;
    text-decoration: none;
    border-bottom: 1px dashed #666;
    transition: color 0.2s ease;
}

.reset_variations:hover {
    color: #d00;
    border-bottom-color: #d00;
}

.reset_variations:focus {
    outline: 2px solid #0073aa;
    outline-offset: 3px;
}


/* ---- END CUSTOM PRODUCT VARIATIONS ---- */


