/* =============================================================================
   Product Configurator Styles
   ============================================================================= */

/* --- Section --- */
.conf-section {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e7eb;
}

.conf-section-title {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #6b7280;
    margin: 0 0 12px 0;
}

/* --- Size Selector --- */
.conf-sizes {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.conf-size-option {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 8px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    transition: border-color 0.15s, background-color 0.15s;
}

.conf-size-option:hover {
    border-color: #9ca3af;
}

.conf-size-option.conf-selected {
    border-color: #111827;
    background-color: #f9fafb;
}

.conf-size-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.conf-size-label {
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    white-space: nowrap;
}

/* Custom size */
.conf-custom-size {
    margin-top: 12px;
}

.conf-custom-size-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.conf-custom-size-row label {
    font-size: 13px;
    color: #6b7280;
}

.conf-input {
    width: 80px;
    padding: 6px 10px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    text-align: center;
}

.conf-input:focus {
    outline: none;
    border-color: #111827;
    box-shadow: 0 0 0 2px rgba(17, 24, 39, 0.1);
}

.conf-size-x {
    font-size: 18px;
    color: #9ca3af;
}

/* --- Theme Selector --- */
.conf-themes {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.conf-theme-option {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    padding: 6px 12px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    transition: border-color 0.15s;
}

.conf-theme-option:hover {
    border-color: #9ca3af;
}

.conf-theme-option.conf-selected {
    border-color: #111827;
}

.conf-theme-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.conf-theme-swatch {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
}

.conf-theme-name {
    font-size: 12px;
    color: #6b7280;
    white-space: nowrap;
}

/* --- NFC Toggle --- */
.conf-nfc-toggle {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    user-select: none;
}

.conf-nfc-toggle input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.conf-nfc-slider {
    width: 44px;
    height: 24px;
    background: #d1d5db;
    border-radius: 12px;
    position: relative;
    transition: background-color 0.2s;
    flex-shrink: 0;
}

.conf-nfc-slider::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.2s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.conf-nfc-toggle input:checked + .conf-nfc-slider {
    background: #111827;
}

.conf-nfc-toggle input:checked + .conf-nfc-slider::after {
    transform: translateX(20px);
}

.conf-nfc-label {
    font-size: 14px;
    font-weight: 500;
    color: #374151;
}

.conf-nfc-desc {
    font-size: 13px;
    color: #9ca3af;
    margin: 6px 0 0 0;
}

/* --- Price Display --- */
.conf-price-display {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin: 24px 0 20px 0;
}

.conf-price-label {
    font-size: 16px;
    color: #6b7280;
}

.conf-price-value {
    font-size: 28px;
    font-weight: 700;
    color: #111827;
}

/* --- Actions --- */
.conf-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.conf-editor-btn {
    flex: 1;
    text-align: center;
}

/* Short description */
.product-short-desc {
    font-size: 15px;
    color: #6b7280;
    margin: 4px 0 16px 0;
}

/* --- Responsive --- */
@media (max-width: 640px) {
    .conf-sizes {
        gap: 6px;
    }
    .conf-size-option {
        padding: 6px 12px;
    }
    .conf-themes {
        gap: 6px;
    }
    .conf-theme-name {
        display: none;
    }
    .conf-theme-swatch {
        width: 28px;
        height: 28px;
    }
    .conf-price-value {
        font-size: 24px;
    }
    .conf-actions {
        flex-direction: column;
    }
    .conf-actions .btn {
        width: 100%;
    }
}

/* 2026-09-30: sajat rendelesi utu termek (DIY-csomag) -- nincs konfigurator, csak ar + szerkeszto link */
.sajat-ut-info { margin: 0.75rem 0 1rem; color: var(--text-muted, #a0a0b0); font-size: 0.95rem; line-height: 1.5; }
