/**
 * Frontend Styles for Custom Product Buttons
 * WooCommerce Custom Options
 */

.wc-custom-product-buttons-wrapper {
    margin: 0 0 20px 0;
}

.wc-custom-buttons-title {
    font-size: 20px;
    font-weight: 800;
    margin: 0 0 5px 0;
    padding: 0;
    color: #282828;
}

.wc-custom-product-buttons {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

a.wc-custom-product-button.button.alt {
    display: inline-block;
    padding: 6px 15px;
    font-size: 18px !important;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    white-space: nowrap;
    width: auto !important;
}

a.wc-custom-product-button.button.alt:hover {
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

a.wc-custom-product-button.button.alt:active {
    transform: translateY(0);
}

/* Current button styling */
a.wc-custom-product-button.button.alt.is-current {
    opacity: 0.6;
    cursor: default;
    pointer-events: none;
    position: relative;
}

a.wc-custom-product-button.button.alt.is-current:after {
    content: " ✓";
    font-weight: bold;
}


/* Responsive adjustments */
@media (max-width: 768px) {
    .wc-custom-product-buttons {
        flex-direction: row;
        align-items: stretch;
    }
    
    .wc-custom-product-button {
        width: 100%;
        text-align: center;
    }
}