/**
 * PFConcept Form Styles
 */

.pfconcept-configurator {
    max-width: 600px;
    margin: 20px 0;
}

.pfc-field-group {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    gap: 15px;
}

.pfc-field-group label {
    min-width: 160px;
    font-weight: 600;
    color: #333;
    font-size: 14px !important; /* Dimensione uniforme */
}

.pfc-select,
.pfc-input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.pfc-select:disabled,
.pfc-input:disabled {
    background-color: #f5f5f5;
    cursor: not-allowed;
}

/* Shipping Fields */
.pfc-shipping-fields {
    display: flex;
    gap: 10px;
    flex: 1;
}

.pfc-select-small {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    min-width: 120px;
}

/* Packaging Slider */
.pfc-packaging-container {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.pfc-packaging-slider {
    flex: 1;
    overflow-x: hidden;
    max-width: 400px;
}

.pfc-packaging-options {
    display: flex;
    gap: 10px;
    transition: transform 0.3s ease;
}

.pfc-package-option {
    min-width: 80px;
    height: 80px;
    border: 2px solid #ddd;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: white;
    transition: all 0.2s ease;
}

.pfc-package-option:hover {
    border-color: #e07a5f;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.pfc-package-option.selected {
    border-color: #e07a5f;
    background: #faf3e0;
}

.pfc-package-option img {
    max-width: 60px;
    max-height: 60px;
    object-fit: contain;
}

.pfc-package-icon {
    font-size: 32px;
    color: #999;
}

/* Arrows */
.pfc-arrow {
    background: #faf3e0;
    border: 1px solid #6f4e37;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    color: #6f4e37;
    transition: all 0.2s ease;
}

.pfc-arrow:hover:not(:disabled) {
    background: #6f4e37;
    color: #faf3e0;
}

.pfc-arrow:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Pricing Display */
.pfc-pricing-display {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.pfc-price-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 14px !important; /* Uniformato a 14px */
}

.pfc-price-row:last-child {
    margin-bottom: 0;
    font-weight: bold;
    font-size: 14px !important; /* Uniformato a 14px invece di 18px */
}

.pfc-price-row label {
    color: #333;
    font-size: 14px !important; /* Dimensione uniforme */
    font-weight: 600 !important; /* Peso uniforme */
}

.pfc-price-row span {
    color: #e07a5f;
}

/* Add to Cart Button */
.pfconcept-form .single_add_to_cart_button {
    width: 100%;
    padding: 15px;
    font-size: 16px;
    margin-top: 20px;
}

.pfconcept-form .single_add_to_cart_button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ===== UNIFORMAZIONE DIMENSIONE TESTI - TASK-022 ===== */

/* Tutti i labels nel form devono avere la stessa dimensione */
.pfconcept-configurator label,
.pfconcept-form label,
.pfc-field-group label,
#pfconcept-customization-form label,
form.variations_form label,
.woocommerce-variation label {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #333 !important;
    line-height: 1.5 !important;
}

/* Forza dimensione uniforme su tutti i possibili label */
body .woocommerce label,
body .woocommerce-page label,
body .single-product label,
body form label {
    font-size: 14px !important;
    font-weight: 600 !important;
}

/* Unit Price e Total specifici */
.pfc-pricing-display label,
.pfc-price-row label,
label:contains("Unit Price"),
label:contains("Total"),
*[class*="price"] label,
*[class*="total"] label {
    font-size: 14px !important;
    font-weight: 600 !important;
}

/* Rimuovi stili inline che potrebbero sovrascrivere */
label[style*="font-size"],
label[style*="font-weight"] {
    font-size: 14px !important;
    font-weight: 600 !important;
}

/* Specifico per i campi del form personalizzato */
label[for="pfc_print"],
label[for="pfc_side"],
label[for="pfc_colors"],
label[for="pfc_packaging"],
label[for="pfc_leadtime"] {
    font-size: 14px !important;
    font-weight: 600 !important;
    min-width: 150px;
}

/* Se ci sono elementi strong dentro label */
label strong {
    font-size: inherit !important;
    font-weight: inherit !important;
}

/* Reset margini per uniformità */
.pfc-field-group label,
.pfc-price-row label {
    margin: 0;
    padding: 0;
}

/* Valore dei prezzi - opzionale, stesso size per coerenza */
.pfc-price-row span,
#pfc_unit_price,
#pfc_total_price {
    font-size: 14px !important;
}