/* Minimalistic Variation Selection Styles */

/* Main variation container */
.variation-section {
    margin: 24px 0;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}

.variation-section-title {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 20px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    gap: 8px;
}

.variation-section-title::before {
    display: none;
}

/* Variation group styling */
.variation-group {
    margin-bottom: 24px;
    position: relative;
}

.variation-group:last-child {
    margin-bottom: 0;
}

.variation-group-label {
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.variation-group-label::after {
    content: '*';
    color: #ef4444;
    font-size: 12px;
}

/* Minimal variation options */
.variation-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    max-height: none;
    overflow: visible;
}

/* Individual variation item */
.variation-item {
    position: relative;
    margin: 0;
}

/* Hidden radio input */
.variation-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 0;
    height: 0;
}

/* Clean, minimal variation cards */
.variation-card {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
    font-weight: 400;
    color: #374151;
    text-decoration: none;
    min-height: 36px;
    white-space: nowrap;
    position: relative;
    margin: 0;
}

.variation-card:hover:not(.disabled) {
    border-color: var(--light) !important;
    background: var(--light);
    transform: none;
    box-shadow: none;
}

/* Selected state - minimal and clean */
.variation-input:checked + .variation-card {
    background: var(--primary);
    border-color: var(--soft-primary) !important;
    color: white;
    box-shadow: none;
}

/* Remove custom radio indicator */
.variation-card::before,
.variation-card::after {
    display: none;
}

/* Variation content */
.variation-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.variation-name {
    font-weight: 400;
    font-size: 14px;
    line-height: 1.4;
}

.variation-description {
    font-size: 12px;
    opacity: 0.7;
    line-height: 1.3;
}

/* Disabled state */
.variation-disabled .variation-card,
.variation-card.disabled {
    background: #f9fafb;
    border-color: #e5e7eb;
    color: #9ca3af;
    cursor: not-allowed;
    opacity: 1;
}

.variation-disabled .variation-card:hover,
.variation-card.disabled:hover {
    background: #f9fafb;
    border-color: #e5e7eb;
    transform: none;
    box-shadow: none;
}

/* Selected combination - minimal design */
.selected-combination {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 16px;
    margin: 20px 0;
    position: relative;
    overflow: visible;
}

.selected-combination::before {
    display: none;
}

.combination-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.combination-title {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin: 0;
}

.combination-price {
    font-size: 20px;
    font-weight: 700;
    color: #6366f1;
    margin: 0;
    text-shadow: none;
}

.combination-details {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.combination-tag {
    background: #e5e7eb;
    color: #374151;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    backdrop-filter: none;
    border: none;
}

/* Quantity section styling */
.product-quantity {
    margin-top: 16px;
}

.qty-box {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

/* Modern action buttons - simplified */
.btn-modern {
    border-radius: 6px;
    border: none;
    font-weight: 500;
    text-transform: none;
    letter-spacing: normal;
    transition: all 0.2s ease;
    box-shadow: none;
    position: relative;
    overflow: visible;
    padding: 10px 20px;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-modern:hover {
    transform: none;
    box-shadow: none;
}

.btn-modern::before {
    display: none;
}

.btn-primary.btn-modern {
    background: var(--primary) !important;;
    color: white;
}

.btn-primary.btn-modern:hover {
    background: var(--soft-primary) !important;;
}

.btn-success.btn-modern {
    background: #10b981;
    color: white;
}

.btn-success.btn-modern:hover {
    background: #059669;
}

.btn-warning.btn-modern {
    background: #f59e0b;
    color: white;
}

.btn-warning.btn-modern:hover {
    background: #d97706;
}

/* Remove gap utility class conflicts */
.d-flex.gap-3 {
    gap: 12px;
}

/* Badge styling - simplified */
.variation-badge {
    background: #10b981;
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.variation-popular::after {
    display: none;
}

/* Loading state - simplified */
.variation-loading {
    position: relative;
    overflow: hidden;
    opacity: 0.6;
}

.variation-loading::after {
    display: none;
}

/* Responsive design */
@media (max-width: 768px) {
    .variation-options {
        flex-direction: column;
        align-items: stretch;
    }

    .variation-card {
        justify-content: center;
        text-align: center;
        min-height: 44px;
    }

    .variation-section {
        margin: 16px 0;
    }

    .selected-combination {
        padding: 16px;
    }

    .combination-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .combination-price {
        font-size: 18px;
    }

    .d-flex.gap-3 {
        flex-direction: column;
        gap: 8px;
    }

    .btn-modern {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .variation-section-title {
        font-size: 15px;
    }

    .variation-group-label {
        font-size: 13px;
    }

    .variation-name {
        font-size: 13px;
    }

    .combination-details {
        flex-direction: column;
        gap: 6px;
    }

    .combination-tag {
        align-self: flex-start;
    }
}

/* Remove all complex animations and effects */
* {
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

/* Ensure clean, minimal appearance */
@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}
