/**
 * Plugin Receita - Seleção de Óculos
 * Estilos para interface de seleção
 */

.pr-oculos-selection-wrapper {
    margin: 20px 0;
    width: 100%;
    clear: both;
    display: block;
}

.pr-oculos-selection {
    width: 100%;
}

.pr-oculos-question {
    font-size: 18px;
    font-weight: 600;
    color: #211D1D;
    margin: 0 0 15px 0;
    text-align: center;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.pr-oculos-options {
    display: flex;
    gap: 12px;
    width: 100%;
    flex-wrap: wrap;
}

.pr-oculos-option {
    flex: 1;
    min-width: 0;
    height: auto;
    min-height: 31px;
    background-color: #DFDFDF;
    border-radius: 4px;
    display: flex;
    align-items: center;
    padding: 7px 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    border: none;
    box-sizing: border-box;
}

.pr-oculos-option:hover {
    opacity: 0.9;
}

.pr-oculos-option.selected {
    background-color: #DFDFDF;
}

.pr-oculos-checkbox {
    width: 17px;
    height: 16px;
    min-width: 17px;
    border: 1px solid #211D1D;
    background-color: #DFDFDF;
    border-radius: 2px;
    display: inline-block;
    margin-right: 12px;
    flex-shrink: 0;
    position: relative;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.pr-oculos-option.selected .pr-oculos-checkbox {
    background-color: #FF4545;
    border-color: #FF4545;
}

.pr-oculos-option.selected .pr-oculos-checkbox::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 4px;
    height: 8px;
    border: solid #FFFFFF;
    border-width: 0 2px 2px 0;
    border-radius: 0;
}

.pr-oculos-label {
    font-size: 14px;
    font-weight: 400;
    color: #211D1D;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.2;
    word-wrap: break-word;
    overflow-wrap: break-word;
    flex: 1;
    min-width: 0;
}

.pr-oculos-option.selected .pr-oculos-label {
    color: #211D1D;
}

/* Estilos Mobile - Botões lado a lado */
@media (max-width: 767px) {
    .pr-oculos-options {
        flex-direction: row;
        gap: 8px;
        flex-wrap: nowrap;
    }
    
    .pr-oculos-option {
        flex: 1;
        min-width: 0;
        padding: 8px 8px;
        min-height: 40px;
        align-items: center;
    }
    
    .pr-oculos-label {
        font-size: 14px;
        line-height: 1.2;
        white-space: normal;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .pr-oculos-checkbox {
        margin-right: 6px;
        flex-shrink: 0;
        align-self: center;
        width: 15px;
        height: 15px;
        min-width: 15px;
    }
    
    .pr-oculos-question {
        font-size: 16px;
        margin-bottom: 12px;
    }
}

/* Estilos para Desktop */
@media (min-width: 768px) {
    .pr-oculos-selection-wrapper {
        width: 100%;
        float: none;
        margin: 20px 0;
        clear: both;
    }
    
    .pr-oculos-question {
        text-align: left;
        font-size: 20px;
        margin-bottom: 15px;
    }
    
    .pr-oculos-options {
        flex-wrap: nowrap;
        gap: 12px;
    }
    
    .pr-oculos-option {
        flex: 1;
        min-width: 0;
        padding: 7px 18.5px;
        min-height: 31px;
    }
    
    .pr-oculos-label {
        font-size: 14px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .pr-oculos-checkbox {
        margin-right: 18.5px;
    }
}

/* Esconde o formulário de adicionar ao carrinho inicialmente */
.woocommerce div.product form.cart {
    clear: both;
    display: none !important;
    width: 100%;
    margin-top: 20px;
}

.woocommerce div.product form.cart.pr-cart-enabled {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.woocommerce div.product form.cart.pr-cart-enabled .quantity,
.woocommerce div.product form.cart.pr-cart-enabled .single_add_to_cart_button {
    display: block;
    visibility: visible !important;
}

/* Ajustes para garantir que não interfira com outros elementos */
.woocommerce div.product .summary {
    position: relative;
    overflow: visible;
}

/* Garante que o wrapper não interfira com o fluxo do documento */
.pr-oculos-selection-wrapper {
    position: relative;
    z-index: 1;
}

/* ============================================
   FORMULÁRIO DE RECEITA
   ============================================ */

.pr-receita-wrapper {
    margin: 30px 0;
    width: 100%;
    clear: both;
    display: block;
}

.pr-receita-form {
    width: 100%;
}

.pr-receita-title {
    font-size: 18px;
    font-weight: 600;
    color: #211D1D;
    margin: 0 0 20px 0;
    text-align: center;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.pr-receita-container {
    display: flex;
    gap: 12px;
    width: 100%;
    margin-bottom: 12px;
}

.pr-receita-column {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.pr-receita-header {
    background-color: #DFDFDF;
    border: 1px solid #A2A2A2;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 400;
    color: #211D1D;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    margin-bottom: 0;
    border-radius: 0;
}

.pr-receita-field {
    display: flex;
    align-items: center;
    background-color: #DFDFDF;
    border: 1px solid #A2A2A2;
    height: 30px;
    margin-top: 0;
    margin-bottom: 0;
    overflow: visible;
    position: relative;
}

/* Espaçamento entre campos dentro de cada coluna (exceto o primeiro) */
.pr-receita-column .pr-receita-field:not(:first-child) {
    margin-top: 12px;
}

.pr-receita-label {
    background-color: #DFDFDF;
    padding: 0 10px;
    font-size: 14px;
    font-weight: 400;
    color: #211D1D;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    flex: 1;
    min-width: 80px;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    position: relative;
    z-index: 1;
}

.pr-receita-input {
    background-color: #FFFFFF;
    border: none;
    padding: 0 8px;
    font-size: 14px;
    color: #211D1D;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    height: 100%;
    cursor: text;
    outline: none;
    width: 70px;
    min-width: 70px;
    max-width: 70px;
    flex-shrink: 0;
    flex-grow: 0;
    pointer-events: auto !important;
    box-sizing: border-box;
    overflow: visible !important;
    text-overflow: clip !important;
    white-space: nowrap;
    position: relative;
    z-index: 2;
}

/* Estilos do Dropdown de Receita */
.pr-receita-dropdown {
    position: fixed !important;
    background-color: #FFFFFF !important;
    border: 1px solid #A2A2A2 !important;
    border-radius: 4px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
    max-height: 300px !important;
    overflow-y: auto !important;
    z-index: 99999 !important;
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

.pr-receita-dropdown.pr-receita-dropdown-allowed {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    width: auto !important;
}

/* Estilos para o combobox nativo (select com size) */
#pr-receita-combobox {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    /* Remove a seta do select */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: none !important;
}

/* Remove a seta em navegadores específicos */
#pr-receita-combobox::-ms-expand {
    display: none;
}

#pr-receita-combobox option {
    padding: 6px 8px;
    font-size: 14px;
    color: #211D1D;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    cursor: pointer;
}

#pr-receita-combobox option:hover {
    background-color: #F5F5F5;
}

#pr-receita-combobox option:checked {
    background-color: #FF4545;
    color: #FFFFFF;
}

/* Estilo especial para opção "Limpar" */
#pr-receita-combobox option[value=""] {
    font-weight: 600;
    color: #FF4545;
}

.pr-receita-dropdown-item {
    padding: 8px 10px;
    font-size: 14px;
    color: #211D1D;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    cursor: pointer;
    border-bottom: 1px solid #F0F0F0;
    transition: background-color 0.2s;
}

.pr-receita-dropdown-item:last-child {
    border-bottom: none;
}

.pr-receita-dropdown-item:hover {
    background-color: #F5F5F5;
}

.pr-receita-dropdown-item:first-child {
    font-weight: 600;
    color: #FF4545;
}

.pr-receita-input:focus {
    outline: 2px solid #FF4545;
    outline-offset: -2px;
}

.pr-receita-add-container {
    width: 100%;
    margin-top: 12px;
    margin-bottom: 12px;
    display: flex;
    gap: 12px;
}

.pr-receita-add-field,
.pr-receita-pd-field {
    flex: 1;
    min-width: 0;
}

.pr-receita-input-text {
    cursor: text;
    background-color: #FFFFFF;
}

.pr-receita-input-text:focus {
    outline: 2px solid #FF4545;
    outline-offset: -2px;
}

.pr-receita-note {
    font-size: 12px;
    color: #666;
    margin: 15px 0;
    text-align: center;
    font-style: italic;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* Container para centralizar os botões */
.pr-receita-buttons-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 20px 0;
    gap: 15px;
}

.pr-receita-upload-btn {
    width: 100%;
    height: 31px;
    background: #FF4545 !important;
    background-color: #FF4545 !important;
    border: 1px solid #A2A2A2;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 400;
    color: #FFFFFF !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin: 0;
    max-width: 300px;
    opacity: 1 !important;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding: 0;
    padding-top: 4px;
    line-height: 1;
    vertical-align: middle;
}

.pr-receita-upload-btn * {
    margin-top: -10px;
}

.pr-receita-upload-btn:hover {
    background: #E03E3E !important;
    background-color: #E03E3E !important;
    color: #FFFFFF !important;
    opacity: 1 !important;
}

.pr-receita-upload-btn:active,
.pr-receita-upload-btn:focus {
    background: #FF4545 !important;
    background-color: #FF4545 !important;
    color: #FFFFFF !important;
    outline: none;
}

.pr-receita-continue-btn {
    width: 100%;
    height: 31px;
    background: #FF4545 !important;
    background-color: #FF4545 !important;
    border: 1px solid #A2A2A2;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 400;
    color: #FFFFFF !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin: 0;
    max-width: 300px;
    opacity: 1 !important;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding: 0;
    padding-top: 4px;
    line-height: 1;
    vertical-align: middle;
}

.pr-receita-continue-btn * {
    margin-top: -10px;
}

/* Botão de Captura de Foto (funciona como label para input file) */
.pr-receita-capture-btn {
    width: 100%;
    height: 31px;
    background: #0073aa !important;
    background-color: #0073aa !important;
    border: 1px solid #A2A2A2;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 400;
    color: #FFFFFF !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin: 10px 0 0 0;
    max-width: 300px;
    opacity: 1 !important;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding: 0;
    padding-top: 4px;
    line-height: 1;
    vertical-align: middle;
}

.pr-receita-capture-btn:hover {
    background: #005a87 !important;
    background-color: #005a87 !important;
    color: #FFFFFF !important;
    opacity: 1 !important;
}

/* Preview da Imagem da Receita */
#pr-receita-image-preview {
    margin: 15px 0;
    text-align: center;
    padding: 15px;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 4px;
}

#pr-receita-preview-img {
    max-width: 300px;
    max-height: 300px;
    border: 2px solid #ddd;
    border-radius: 4px;
    display: block;
    margin: 0 auto;
}

.pr-receita-continue-btn:hover {
    background: #E03E3E !important;
    background-color: #E03E3E !important;
    color: #FFFFFF !important;
    opacity: 1 !important;
}

.pr-receita-continue-btn:active,
.pr-receita-continue-btn:focus {
    background: #FF4545 !important;
    background-color: #FF4545 !important;
    color: #FFFFFF !important;
    outline: none;
}

.pr-receita-edit-btn {
    width: 100%;
    height: 31px;
    background: #4A90E2 !important;
    background-color: #4A90E2 !important;
    border: 1px solid #A2A2A2;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 400;
    color: #FFFFFF !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin: 0;
    max-width: 300px;
    opacity: 1 !important;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding: 0;
    padding-top: 4px;
    line-height: 1;
    vertical-align: middle;
}

.pr-receita-edit-btn * {
    margin-top: -10px;
}

.pr-receita-edit-btn:hover {
    background: #357ABD !important;
    background-color: #357ABD !important;
    color: #FFFFFF !important;
    opacity: 1 !important;
}

.pr-receita-edit-btn:active,
.pr-receita-edit-btn:focus {
    background: #4A90E2 !important;
    background-color: #4A90E2 !important;
    color: #FFFFFF !important;
    outline: none;
}

/* Campos bloqueados */
.pr-receita-input:disabled {
    background-color: #E0E0E0 !important;
    cursor: not-allowed !important;
    opacity: 0.7;
}


/* Estilos Mobile - Formulário de Receita */
@media (max-width: 767px) {
    .pr-receita-container {
        flex-direction: row;
        gap: 8px;
    }
    
    .pr-receita-column {
        flex: 1;
        min-width: 0;
    }
    
    .pr-receita-title {
        font-size: 16px;
    }
    
    .pr-receita-buttons-container {
        gap: 10px;
        margin: 15px 0;
    }
    
    .pr-receita-upload-btn {
        max-width: 100%;
    }
    
    .pr-receita-continue-btn {
        max-width: 100%;
    }
    
    .pr-receita-edit-btn {
        max-width: 100%;
    }
    
    .pr-receita-label {
        min-width: 60px;
        max-width: none;
        padding: 0 4px;
        font-size: 12px;
        flex-shrink: 1;
        flex: 1;
        overflow: hidden;
        text-overflow: ellipsis;
        position: relative;
        z-index: 1;
    }
    
    .pr-receita-input {
        padding: 0 6px;
        font-size: 12px;
        width: 65px;
        min-width: 65px;
        max-width: 65px;
        flex-shrink: 0;
        flex-grow: 0;
        box-sizing: border-box;
        overflow: visible !important;
        text-overflow: clip !important;
        white-space: nowrap;
        position: relative;
        z-index: 2;
    }
    
    .pr-receita-header {
        font-size: 12px;
        padding: 0 2px;
        height: 28px;
    }
    
    .pr-receita-field {
        height: 28px;
    }
    
    .pr-receita-column {
        display: flex;
        flex-direction: column;
    }
    
    /* Espaçamento entre campos no mobile */
    .pr-receita-column .pr-receita-field:not(:first-child) {
        margin-top: 8px;
    }
    
}

/* Estilos Desktop - Formulário de Receita */
@media (min-width: 768px) {
    .pr-receita-title {
        text-align: left;
        font-size: 20px;
    }
    
    .pr-receita-container {
        flex-direction: row;
    }
}

/* ============================================
   MENU DE ESCOLHA DE TIPO DE LENTE
   ============================================ */

.pr-tipo-lente-wrapper {
    margin: 30px 0;
    width: 100%;
    clear: both;
    display: block;
}

.pr-tipo-lente-selection {
    width: 100%;
}

.pr-tipo-lente-aviso {
    font-size: 16px;
    font-weight: 400;
    color: #211D1D;
    margin: 0 0 20px 0;
    text-align: center;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.5;
    padding: 15px;
    background-color: #F5F5F5;
    border-radius: 4px;
}

.pr-tipo-lente-options {
    display: flex;
    gap: 12px;
    width: 100%;
    flex-wrap: wrap;
}

.pr-tipo-lente-option {
    flex: 1;
    min-width: 0;
    height: auto;
    min-height: 31px;
    background-color: #DFDFDF;
    border-radius: 4px;
    display: flex;
    align-items: center;
    padding: 7px 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    border: none;
    box-sizing: border-box;
}

.pr-tipo-lente-option:hover {
    opacity: 0.9;
}

.pr-tipo-lente-option.selected {
    background-color: #DFDFDF;
}

.pr-tipo-lente-checkbox {
    width: 17px;
    height: 16px;
    min-width: 17px;
    border: 1px solid #211D1D;
    background-color: #DFDFDF;
    border-radius: 2px;
    display: inline-block;
    margin-right: 12px;
    flex-shrink: 0;
    position: relative;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.pr-tipo-lente-option.selected .pr-tipo-lente-checkbox {
    background-color: #FF4545;
    border-color: #FF4545;
}

.pr-tipo-lente-option.selected .pr-tipo-lente-checkbox::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 4px;
    height: 8px;
    border: solid #FFFFFF;
    border-width: 0 2px 2px 0;
    border-radius: 0;
}

.pr-tipo-lente-label {
    font-size: 14px;
    font-weight: 400;
    color: #211D1D;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.2;
    word-wrap: break-word;
    overflow-wrap: break-word;
    flex: 1;
    min-width: 0;
}

.pr-tipo-lente-option.selected .pr-tipo-lente-label {
    color: #211D1D;
}

/* Estilos Mobile - Menu Tipo de Lente */
@media (max-width: 767px) {
    .pr-tipo-lente-options {
        flex-direction: row;
        gap: 8px;
        flex-wrap: nowrap;
    }
    
    .pr-tipo-lente-option {
        flex: 1;
        min-width: 0;
        padding: 8px 8px;
        min-height: 40px;
        align-items: center;
    }
    
    .pr-tipo-lente-label {
        font-size: 14px;
        line-height: 1.2;
        white-space: normal;
        word-wrap: break-word;
        overflow-wrap: break-word;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .pr-tipo-lente-checkbox {
        margin-right: 6px;
        flex-shrink: 0;
        align-self: center;
        width: 15px;
        height: 15px;
        min-width: 15px;
    }
    
    .pr-tipo-lente-aviso {
        font-size: 14px;
        padding: 12px;
    }
}

/* Estilos Desktop - Menu Tipo de Lente */
@media (min-width: 768px) {
    .pr-tipo-lente-aviso {
        text-align: left;
        font-size: 18px;
    }
    
    .pr-tipo-lente-options {
        flex-wrap: nowrap;
        gap: 12px;
    }
    
    .pr-tipo-lente-option {
        flex: 1;
        min-width: 0;
        padding: 7px 18.5px;
        min-height: 31px;
    }
    
    .pr-tipo-lente-label {
        font-size: 14px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .pr-tipo-lente-checkbox {
        margin-right: 18.5px;
    }
}

/* ============================================
   MENU DE ESCOLHA DE MODELO DE LENTE
   ============================================ */

.pr-modelo-lente-wrapper {
    margin: 30px 0;
    width: 100%;
    clear: both;
    display: block;
}

.pr-modelo-lente-selection {
    width: 100%;
}

.pr-modelo-lente-title {
    font-size: 18px;
    font-weight: 600;
    color: #211D1D;
    margin: 0 0 20px 0;
    text-align: center;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.pr-modelo-lente-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    width: 100%;
    margin-bottom: 20px;
}

.pr-modelo-lente-option {
    height: auto;
    min-height: 31px;
    background-color: #DFDFDF;
    border-radius: 4px;
    display: flex;
    align-items: center;
    padding: 7px 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    border: none;
    box-sizing: border-box;
}

.pr-modelo-lente-option:hover {
    opacity: 0.9;
}

.pr-modelo-lente-option.selected {
    background-color: #DFDFDF;
}

.pr-modelo-lente-option-center {
    grid-column: 1 / -1;
    justify-self: center;
    max-width: calc(50% - 6px);
}

.pr-modelo-lente-checkbox {
    width: 17px;
    height: 16px;
    min-width: 17px;
    border: 1px solid #211D1D;
    background-color: #DFDFDF;
    border-radius: 2px;
    display: inline-block;
    margin-right: 12px;
    flex-shrink: 0;
    position: relative;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.pr-modelo-lente-option.selected .pr-modelo-lente-checkbox {
    background-color: #FF4545;
    border-color: #FF4545;
}

.pr-modelo-lente-option.selected .pr-modelo-lente-checkbox::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 4px;
    height: 8px;
    border: solid #FFFFFF;
    border-width: 0 2px 2px 0;
    border-radius: 0;
}

.pr-modelo-lente-label {
    font-size: 14px;
    font-weight: 400;
    color: #211D1D;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.2;
    word-wrap: break-word;
    overflow-wrap: break-word;
    flex: 1;
    min-width: 0;
}

.pr-modelo-lente-option.selected .pr-modelo-lente-label {
    color: #211D1D;
}

.pr-modelo-lente-link {
    display: block;
    text-align: center;
    color: #211D1D;
    text-decoration: underline;
    font-size: 14px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    margin: 15px auto;
    cursor: pointer;
    transition: color 0.3s ease;
    width: 100%;
}

.pr-modelo-lente-link:hover {
    color: #FF4545;
}

/* Estilos Mobile - Menu Modelo de Lente */
@media (max-width: 767px) {
    .pr-modelo-lente-title {
        font-size: 16px;
    }
    
    .pr-modelo-lente-options {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
    
    .pr-modelo-lente-option {
        padding: 8px 8px;
        min-height: 40px;
    }
    
    .pr-modelo-lente-label {
        font-size: 14px;
    }
    
    .pr-modelo-lente-checkbox {
        margin-right: 6px;
        width: 15px;
        height: 15px;
        min-width: 15px;
    }
    
    .pr-modelo-lente-option-center {
        max-width: calc(50% - 4px);
    }
    
    .pr-modelo-lente-link {
        font-size: 14px;
    }
}

/* Estilos Desktop - Menu Modelo de Lente */
@media (min-width: 768px) {
    .pr-modelo-lente-title {
        text-align: left;
        font-size: 20px;
    }
    
    .pr-modelo-lente-options {
        gap: 12px;
    }
    
    .pr-modelo-lente-option {
        padding: 7px 18.5px;
        min-height: 31px;
    }
    
    .pr-modelo-lente-label {
        font-size: 14px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .pr-modelo-lente-checkbox {
        margin-right: 18.5px;
    }
    
    .pr-modelo-lente-option-center {
        max-width: calc(50% - 6px);
    }
    
    .pr-modelo-lente-link {
        text-align: center;
        font-size: 16px;
    }
}

/* ============================================
   MENU DE ESCOLHA DE MATERIAL
   ============================================ */

.pr-material-wrapper {
    margin: 30px 0;
    width: 100%;
    clear: both;
    display: block;
}

.pr-material-selection {
    width: 100%;
}

.pr-material-title {
    font-size: 18px;
    font-weight: 600;
    color: #211D1D;
    margin: 0 0 20px 0;
    text-align: center;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.pr-material-options {
    display: grid;
    gap: 12px;
    width: 100%;
    margin-bottom: 20px;
    grid-template-columns: 1fr 1fr; /* Layout padrão: 2 colunas */
}

/* 5 opções: 2 colunas, 2 linhas, 5ª centralizada na 3ª linha */
.pr-material-options.pr-material-5-options {
    grid-template-columns: 1fr 1fr;
}

.pr-material-options.pr-material-5-options .pr-material-option:nth-child(5) {
    grid-column: 1 / -1;
    justify-self: center;
    max-width: calc(50% - 6px);
}

/* 4 opções: 2 colunas, 2 linhas */
.pr-material-options.pr-material-4-options {
    grid-template-columns: 1fr 1fr;
}

/* 3 opções: 2 colunas, 1 linha, 3ª centralizada na 2ª linha */
.pr-material-options.pr-material-3-options {
    grid-template-columns: 1fr 1fr;
}

.pr-material-options.pr-material-3-options .pr-material-option:nth-child(3) {
    grid-column: 1 / -1;
    justify-self: center;
    max-width: calc(50% - 6px);
}

/* 2 opções: 2 colunas, 1 linha */
.pr-material-options.pr-material-2-options {
    grid-template-columns: 1fr 1fr;
}

/* 1 opção: centralizada */
.pr-material-options.pr-material-1-option {
    grid-template-columns: 1fr;
    justify-items: center;
}

.pr-material-options.pr-material-1-option .pr-material-option {
    max-width: calc(50% - 6px);
}

.pr-material-option {
    height: auto;
    min-height: 31px;
    background-color: #DFDFDF;
    border-radius: 4px;
    display: flex;
    align-items: center;
    padding: 7px 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    border: none;
    box-sizing: border-box;
}

.pr-material-option:hover {
    opacity: 0.9;
}

.pr-material-option.selected {
    background-color: #DFDFDF;
}

.pr-material-checkbox {
    width: 17px;
    height: 16px;
    min-width: 17px;
    border: 1px solid #211D1D;
    background-color: #DFDFDF;
    border-radius: 2px;
    display: inline-block;
    margin-right: 12px;
    flex-shrink: 0;
    position: relative;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.pr-material-option.selected .pr-material-checkbox {
    background-color: #FF4545;
    border-color: #FF4545;
}

.pr-material-option.selected .pr-material-checkbox::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 4px;
    height: 8px;
    border: solid #FFFFFF;
    border-width: 0 2px 2px 0;
    border-radius: 0;
}

.pr-material-label {
    font-size: 14px;
    font-weight: 400;
    color: #211D1D;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.2;
    word-wrap: break-word;
    overflow-wrap: break-word;
    flex: 1;
    min-width: 0;
}

.pr-material-option.selected .pr-material-label {
    color: #211D1D;
}

.pr-material-link {
    display: block;
    text-align: center;
    color: #211D1D;
    text-decoration: underline;
    font-size: 14px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    margin: 15px auto;
    cursor: pointer;
    transition: color 0.3s ease;
    width: 100%;
    max-width: 100%;
}

.pr-material-link:hover {
    color: #FF4545;
}

/* Estilos Mobile - Menu Material */
@media (max-width: 767px) {
    .pr-material-title {
        font-size: 16px;
    }
    
    .pr-material-options {
        gap: 8px;
    }
    
    .pr-material-option {
        padding: 8px 8px;
        min-height: 40px;
    }
    
    .pr-material-label {
        font-size: 14px;
    }
    
    .pr-material-checkbox {
        margin-right: 6px;
        width: 15px;
        height: 15px;
        min-width: 15px;
    }
    
    .pr-material-link {
        font-size: 14px;
    }
}

/* Estilos Desktop - Menu Material */
@media (min-width: 768px) {
    .pr-material-title {
        text-align: left;
        font-size: 20px;
    }
    
    .pr-material-options {
        gap: 12px;
    }
    
    .pr-material-option {
        padding: 7px 18.5px;
        min-height: 31px;
    }
    
    .pr-material-label {
        font-size: 14px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .pr-material-checkbox {
        margin-right: 18.5px;
    }
    
    .pr-material-link {
        text-align: center;
        font-size: 16px;
    }
}

/* ============================================
   MENU DE ESCOLHA DE MATERIAL SIMPLES
   ============================================ */

/* ============================================
   Estilos - Menu de Tipo de Visão
   ============================================ */

.pr-tipo-visao-wrapper {
    margin: 30px 0;
    width: 100%;
    clear: both;
    display: block;
}

.pr-tipo-visao-selection {
    width: 100%;
}

.pr-tipo-visao-title {
    font-size: 18px;
    font-weight: 600;
    color: #211D1D;
    margin: 0 0 20px 0;
    text-align: center;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.pr-tipo-visao-options {
    display: flex;
    gap: 12px;
    width: 100%;
    flex-wrap: wrap;
}

.pr-tipo-visao-option {
    flex: 1;
    min-width: 0;
    height: auto;
    min-height: 31px;
    background-color: #DFDFDF;
    border-radius: 4px;
    display: flex;
    align-items: center;
    padding: 7px 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    border: none;
    box-sizing: border-box;
}

.pr-tipo-visao-option:hover {
    opacity: 0.9;
}

.pr-tipo-visao-option.selected {
    background-color: #DFDFDF; /* Mantém o fundo cinza */
}

.pr-tipo-visao-option.selected .pr-tipo-visao-checkbox {
    background-color: #FF4545; /* Checkbox fica vermelho */
    border-color: #FF4545;
}

.pr-tipo-visao-option.selected .pr-tipo-visao-checkbox::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 4px;
    height: 8px;
    border: solid #FFFFFF;
    border-width: 0 2px 2px 0;
}

.pr-tipo-visao-checkbox {
    width: 18px;
    height: 18px;
    border: 2px solid #A2A2A2;
    border-radius: 4px;
    margin-right: 12px;
    flex-shrink: 0;
    position: relative;
    background-color: #FFFFFF;
}

.pr-tipo-visao-label {
    font-size: 16px;
    color: #211D1D;
    cursor: pointer;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* Estilos Mobile - Menu de Tipo de Visão */
@media (max-width: 767px) {
    .pr-tipo-visao-options {
        flex-direction: row;
        gap: 8px;
        flex-wrap: nowrap;
    }
    
    .pr-tipo-visao-option {
        flex: 1;
        min-width: 0;
        padding: 8px 8px;
        min-height: 40px;
        align-items: center;
    }
    
    .pr-tipo-visao-label {
        font-size: 14px;
        line-height: 1.2;
        white-space: normal;
        word-wrap: break-word;
        overflow-wrap: break-word;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .pr-tipo-visao-checkbox {
        margin-right: 6px;
        flex-shrink: 0;
        align-self: center;
        width: 15px;
        height: 15px;
        min-width: 15px;
    }
}

/* Estilos Desktop - Menu de Tipo de Visão */
@media (min-width: 768px) {
    .pr-tipo-visao-options {
        flex-wrap: nowrap;
        gap: 12px;
    }
    
    .pr-tipo-visao-option {
        flex: 1;
        min-width: 0;
        padding: 7px 18.5px;
        min-height: 31px;
    }
    
    .pr-tipo-visao-label {
        font-size: 14px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .pr-tipo-visao-checkbox {
        margin-right: 18.5px;
    }
}

/* ============================================
   Estilos - Menu de Material Lente Simples
   ============================================ */

.pr-material-simples-wrapper {
    margin: 30px 0;
    width: 100%;
    clear: both;
    display: block;
}

.pr-material-simples-selection {
    width: 100%;
}

.pr-material-simples-title {
    font-size: 18px;
    font-weight: 600;
    color: #211D1D;
    margin: 0 0 20px 0;
    text-align: center;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.pr-material-simples-options {
    display: grid;
    gap: 12px;
    width: 100%;
    margin-bottom: 20px;
    grid-template-columns: 1fr 1fr; /* Layout padrão: 2 colunas */
}

/* 5 opções: 2 colunas, 2 linhas, 5ª centralizada na 3ª linha */
.pr-material-simples-options.pr-material-simples-5-options {
    grid-template-columns: 1fr 1fr;
}

.pr-material-simples-options.pr-material-simples-5-options .pr-material-simples-option:nth-child(5) {
    grid-column: 1 / -1;
    justify-self: center;
    max-width: calc(50% - 6px);
}

/* 4 opções: 2 colunas, 2 linhas */
.pr-material-simples-options.pr-material-simples-4-options {
    grid-template-columns: 1fr 1fr;
}

/* 3 opções: 2 colunas, 1 linha, 3ª centralizada na 2ª linha */
.pr-material-simples-options.pr-material-simples-3-options {
    grid-template-columns: 1fr 1fr;
}

.pr-material-simples-options.pr-material-simples-3-options .pr-material-simples-option:nth-child(3) {
    grid-column: 1 / -1;
    justify-self: center;
    max-width: calc(50% - 6px);
}

/* 2 opções: 2 colunas, 1 linha */
.pr-material-simples-options.pr-material-simples-2-options {
    grid-template-columns: 1fr 1fr;
}

/* 1 opção: centralizada */
.pr-material-simples-options.pr-material-simples-1-option {
    grid-template-columns: 1fr;
    justify-items: center;
}

.pr-material-simples-options.pr-material-simples-1-option .pr-material-simples-option {
    max-width: calc(50% - 6px);
}

.pr-material-simples-option {
    height: auto;
    min-height: 31px;
    background-color: #DFDFDF;
    border-radius: 4px;
    display: flex;
    align-items: center;
    padding: 7px 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    border: none;
}

.pr-material-simples-option:hover {
    background-color: #D0D0D0;
}

.pr-material-simples-option.selected {
    background-color: #DFDFDF; /* Mantém o fundo cinza */
}

.pr-material-simples-option.selected .pr-material-simples-checkbox {
    background-color: #FF4545; /* Checkbox fica vermelho */
    border-color: #FF4545;
}

.pr-material-simples-option.selected .pr-material-simples-checkbox::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 4px;
    height: 8px;
    border: solid #FFFFFF;
    border-width: 0 2px 2px 0;
}

.pr-material-simples-checkbox {
    width: 18px;
    height: 18px;
    border: 2px solid #A2A2A2;
    border-radius: 4px;
    margin-right: 12px;
    flex-shrink: 0;
    position: relative;
    background-color: #FFFFFF;
}

.pr-material-simples-label {
    font-size: 16px;
    color: #211D1D;
    cursor: pointer;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* Estilos Mobile - Menu de Material Simples */
@media (max-width: 767px) {
    .pr-material-simples-options {
        gap: 12px;
    }
    
    .pr-material-simples-option {
        padding: 7px 18.5px;
        min-height: 31px;
    }
    
    .pr-material-simples-label {
        font-size: 14px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .pr-material-simples-checkbox {
        margin-right: 18.5px;
    }
}

/* Link do iframe - Material Simples */
.pr-material-simples-link {
    display: block;
    text-align: center;
    margin-top: 20px;
    color: #211D1D;
    text-decoration: none;
    font-size: 16px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    transition: opacity 0.3s ease;
}

.pr-material-simples-link:hover {
    opacity: 0.7;
    text-decoration: underline;
}

/* Estilos Mobile - Link do iframe Material Simples */
@media (max-width: 767px) {
    .pr-material-simples-link {
        font-size: 14px;
        margin-top: 15px;
    }
}

/* ============================================
   Menu de Tratamento Lente Simples
   ============================================ */
.pr-trata-simples-wrapper {
    margin-top: 30px;
    padding: 20px;
    background-color: #F5F5F5;
    border-radius: 8px;
    display: none;
}

.pr-trata-simples-selection {
    width: 100%;
}

.pr-trata-simples-title {
    font-size: 18px;
    font-weight: 600;
    color: #211D1D;
    margin-bottom: 20px;
    text-align: left;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.pr-trata-simples-options {
    display: grid;
    gap: 12px;
    width: 100%;
    margin-bottom: 20px;
    grid-template-columns: 1fr 1fr; /* Layout padrão: 2 colunas */
}

/* 4 opções: 2 colunas, 2 linhas */
.pr-trata-simples-options.pr-trata-simples-4 {
    grid-template-columns: 1fr 1fr;
}

/* 2 opções: 2 colunas, 1 linha */
.pr-trata-simples-options.pr-trata-simples-2 {
    grid-template-columns: 1fr 1fr;
}

/* 1 opção: centralizada */
.pr-trata-simples-options.pr-trata-simples-1 {
    grid-template-columns: 1fr;
    justify-items: center;
}

.pr-trata-simples-options.pr-trata-simples-1 .pr-trata-simples-option {
    max-width: calc(50% - 6px);
}

.pr-trata-simples-option {
    height: auto;
    min-height: 31px;
    background-color: #DFDFDF;
    border-radius: 4px;
    display: flex;
    align-items: center;
    padding: 7px 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    border: none;
}

.pr-trata-simples-option:hover {
    background-color: #D0D0D0;
}

.pr-trata-simples-option.selected {
    background-color: #DFDFDF; /* Mantém o fundo cinza */
}

.pr-trata-simples-option.selected .pr-trata-simples-checkbox {
    background-color: #FF4545; /* Checkbox fica vermelho */
    border-color: #FF4545;
}

.pr-trata-simples-option.selected .pr-trata-simples-checkbox::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 4px;
    height: 8px;
    border: solid #FFFFFF;
    border-width: 0 2px 2px 0;
}

.pr-trata-simples-checkbox {
    width: 18px;
    height: 18px;
    border: 2px solid #A2A2A2;
    border-radius: 4px;
    margin-right: 12px;
    flex-shrink: 0;
    position: relative;
    background-color: #FFFFFF;
}

.pr-trata-simples-label {
    font-size: 16px;
    color: #211D1D;
    cursor: pointer;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.4;
}

/* Estilos Mobile - Menu de Tratamento Simples */
@media (max-width: 767px) {
    .pr-trata-simples-options {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
    
    .pr-trata-simples-options.pr-trata-simples-1,
    .pr-trata-simples-options.pr-trata-simples-2,
    .pr-trata-simples-options.pr-trata-simples-4 {
        display: flex;
        flex-direction: column;
    }
    
    .pr-trata-simples-options.pr-trata-simples-1 .pr-trata-simples-option {
        max-width: 100%;
    }
    
    .pr-trata-simples-option {
        padding: 7px 18.5px;
        min-height: 31px;
    }
    
    .pr-trata-simples-label {
        font-size: 14px;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .pr-trata-simples-checkbox {
        margin-right: 18.5px;
    }
}

/* Link do iframe - Tratamento Simples */
.pr-trata-simples-link {
    display: block;
    text-align: center;
    margin-top: 20px;
    color: #211D1D;
    text-decoration: none;
    font-size: 16px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    transition: opacity 0.3s ease;
}

.pr-trata-simples-link:hover {
    opacity: 0.7;
    text-decoration: underline;
}

/* Estilos Mobile - Link do iframe Tratamento Simples */
@media (max-width: 767px) {
    .pr-trata-simples-link {
        font-size: 14px;
        margin-top: 15px;
    }
}

/* ============================================
   Menu de Preço Lente Simples
   ============================================ */
.pr-preco-simples-wrapper {
    margin-top: 30px;
    padding: 20px;
    background-color: #F5F5F5;
    border-radius: 8px;
    display: none;
}

.pr-preco-simples-selection {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pr-preco-simples-title {
    font-size: 18px;
    font-weight: 600;
    color: #211D1D;
    margin-bottom: 20px;
    text-align: center;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    width: 100%;
}

.pr-preco-simples-value {
    margin-bottom: 20px;
    text-align: center;
}

.pr-preco-valor {
    font-size: 32px;
    font-weight: 700;
    color: #211D1D;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.pr-preco-simples-confirm-btn {
    width: 100%;
    height: 31px;
    background: #FF4545 !important;
    background-color: #FF4545 !important;
    color: #FFFFFF !important;
    border: 1px solid #A2A2A2;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin: 0 auto;
    max-width: 300px;
    opacity: 1 !important;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding: 0;
    padding-top: 4px;
    line-height: 1;
    vertical-align: middle;
}

.pr-preco-simples-confirm-btn * {
    margin-top: -10px;
}

.pr-preco-simples-confirm-btn:hover {
    background: #E03E3E !important;
    background-color: #E03E3E !important;
    color: #FFFFFF !important;
    opacity: 1 !important;
    transform: none;
    box-shadow: none;
}

.pr-preco-simples-confirm-btn:active,
.pr-preco-simples-confirm-btn:focus {
    background: #FF4545 !important;
    background-color: #FF4545 !important;
    color: #FFFFFF !important;
    outline: none;
    transform: none;
    box-shadow: none;
}

/* Estilos Mobile - Menu de Preço Simples */
@media (max-width: 767px) {
    .pr-preco-valor {
        font-size: 28px;
    }
    
    .pr-preco-simples-confirm-btn {
        padding: 12px 25px;
        font-size: 16px;
    }
}

/* ============================================
   Estilos - Menu Solar
   ============================================ */

.pr-solar-wrapper {
    margin: 30px 0;
    width: 100%;
    clear: both;
    display: block;
}

.pr-solar-selection {
    width: 100%;
}

.pr-solar-title {
    font-size: 18px;
    font-weight: 600;
    color: #211D1D;
    margin: 0 0 20px 0;
    text-align: center;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.pr-solar-table {
    width: 100%;
    margin-bottom: 20px;
    border: 1px solid #DFDFDF;
    border-radius: 4px;
    overflow: hidden;
}

.pr-solar-header {
    display: grid;
    grid-template-columns: auto 1fr 1fr;
    background-color: #DFDFDF;
    border-bottom: 1px solid #DFDFDF;
    padding: 7px 12px;
    align-items: center;
}

.pr-solar-header-cell {
    padding: 0;
    font-size: 14px;
    font-weight: 600;
    color: #211D1D;
    text-align: center;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.pr-solar-header-cell:first-child {
    width: 17px;
    margin-right: 12px;
}

.pr-solar-header-cell:nth-child(2) {
    border-right: 1px solid #DFDFDF;
    padding-right: 15px;
}

.pr-solar-header-cell:nth-child(3) {
    padding-left: 15px;
}

.pr-solar-rows {
    display: flex;
    flex-direction: column;
}

.pr-solar-row {
    display: grid;
    grid-template-columns: auto 1fr 1fr;
    border-bottom: 1px solid #DFDFDF;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #FFFFFF;
    align-items: center;
    padding: 7px 12px;
}

.pr-solar-row:last-child {
    border-bottom: none;
}

.pr-solar-row:hover {
    background-color: #F5F5F5;
}

.pr-solar-row.selected {
    background-color: #DFDFDF;
}

.pr-solar-checkbox {
    width: 17px;
    height: 16px;
    min-width: 17px;
    border: 1px solid #211D1D;
    background-color: #DFDFDF;
    border-radius: 2px;
    display: inline-block;
    margin-right: 12px;
    flex-shrink: 0;
    position: relative;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.pr-solar-row.selected .pr-solar-checkbox {
    background-color: #FF4545;
    border-color: #FF4545;
}

.pr-solar-row.selected .pr-solar-checkbox::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 4px;
    height: 8px;
    border: solid #FFFFFF;
    border-width: 0 2px 2px 0;
    border-radius: 0;
}

.pr-solar-cell {
    padding: 0;
    font-size: 14px;
    color: #211D1D;
    text-align: center;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pr-solar-cell:nth-child(2) {
    border-right: 1px solid #DFDFDF;
    padding-right: 15px;
}

.pr-solar-cell:nth-child(3) {
    padding-left: 15px;
}

.pr-solar-link {
    display: block;
    text-align: center;
    margin-top: 20px;
    color: #211D1D;
    text-decoration: underline;
    font-size: 14px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    transition: all 0.3s ease;
}

.pr-solar-link:hover {
    color: #FF4545;
}

/* Estilos Mobile - Menu Solar */
@media (max-width: 767px) {
    .pr-solar-header {
        grid-template-columns: auto 1fr 1fr;
    }
    
    .pr-solar-row {
        grid-template-columns: auto 1fr 1fr;
        padding: 7px 8px;
    }
    
    .pr-solar-checkbox {
        width: 15px;
        height: 15px;
        min-width: 15px;
        margin-right: 6px;
    }
    
    .pr-solar-cell {
        font-size: 13px;
    }
    
    .pr-solar-cell:nth-child(2) {
        padding-right: 8px;
    }
    
    .pr-solar-cell:nth-child(3) {
        padding-left: 8px;
    }
    
    .pr-solar-header-cell:first-child {
        width: 15px;
        margin-right: 6px;
    }
    
    .pr-solar-header-cell:nth-child(2) {
        padding-right: 8px;
    }
    
    .pr-solar-header-cell:nth-child(3) {
        padding-left: 8px;
    }
}

/* ============================================
   Estilos - Menu de Tratamento
   ============================================ */

.pr-tratamento-wrapper {
    margin: 30px 0;
    width: 100%;
    clear: both;
    display: block;
}

.pr-tratamento-selection {
    width: 100%;
}

.pr-tratamento-title {
    font-size: 18px;
    font-weight: 600;
    color: #211D1D;
    margin: 0 0 20px 0;
    text-align: center;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.pr-tratamento-options {
    display: grid;
    gap: 12px;
    width: 100%;
    margin-bottom: 20px;
    grid-template-columns: 1fr 1fr; /* Layout padrão: 2 colunas */
}

/* 4 opções: 2 colunas, 2 linhas */
.pr-tratamento-options.pr-tratamento-4-options {
    grid-template-columns: 1fr 1fr;
}

/* 3 opções: 2 colunas, 1 linha, 3ª centralizada na 2ª linha */
.pr-tratamento-options.pr-tratamento-3-options {
    grid-template-columns: 1fr 1fr;
}

.pr-tratamento-options.pr-tratamento-3-options .pr-tratamento-option:nth-child(3) {
    grid-column: 1 / -1;
    justify-self: center;
    max-width: calc(50% - 6px);
}

/* 2 opções: 2 colunas, 1 linha */
.pr-tratamento-options.pr-tratamento-2-options {
    grid-template-columns: 1fr 1fr;
}

/* 1 opção: centralizada */
.pr-tratamento-options.pr-tratamento-1-option {
    grid-template-columns: 1fr;
    justify-items: center;
}

.pr-tratamento-options.pr-tratamento-1-option .pr-tratamento-option {
    max-width: calc(50% - 6px);
}

.pr-tratamento-option {
    height: auto;
    min-height: 31px;
    background-color: #DFDFDF;
    border-radius: 4px;
    display: flex;
    align-items: center;
    padding: 7px 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    border: none;
    box-sizing: border-box;
}

.pr-tratamento-option:hover {
    opacity: 0.9;
}

.pr-tratamento-option.selected {
    background-color: #DFDFDF;
}

.pr-tratamento-checkbox {
    width: 17px;
    height: 16px;
    min-width: 17px;
    border: 1px solid #211D1D;
    background-color: #DFDFDF;
    border-radius: 2px;
    display: inline-block;
    margin-right: 12px;
    flex-shrink: 0;
    position: relative;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.pr-tratamento-option.selected .pr-tratamento-checkbox {
    background-color: #FF4545;
    border-color: #FF4545;
}

.pr-tratamento-option.selected .pr-tratamento-checkbox::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 4px;
    height: 8px;
    border: solid #FFFFFF;
    border-width: 0 2px 2px 0;
    border-radius: 0;
}

.pr-tratamento-label {
    font-size: 14px;
    font-weight: 400;
    color: #211D1D;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.2;
    word-wrap: break-word;
    overflow-wrap: break-word;
    flex: 1;
    min-width: 0;
}

.pr-tratamento-option.selected .pr-tratamento-label {
    color: #211D1D;
}

.pr-tratamento-link {
    display: block;
    text-align: center;
    color: #211D1D;
    text-decoration: underline;
    font-size: 14px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    margin: 15px auto;
    cursor: pointer;
    transition: color 0.3s ease;
    width: 100%;
    max-width: 100%;
}

.pr-tratamento-link:hover {
    color: #FF4545;
}

/* Estilos Mobile - Menu Tratamento */
@media (max-width: 767px) {
    .pr-tratamento-title {
        font-size: 16px;
    }
    
    .pr-tratamento-options {
        gap: 8px;
    }
    
    .pr-tratamento-option {
        padding: 8px 8px;
        min-height: 40px;
    }
    
    .pr-tratamento-label {
        font-size: 14px;
    }
    
    .pr-tratamento-checkbox {
        margin-right: 6px;
        width: 15px;
        height: 15px;
        min-width: 15px;
    }
    
    .pr-tratamento-link {
        font-size: 14px;
    }
}

/* Estilos Desktop - Menu Tratamento */
@media (min-width: 768px) {
    .pr-tratamento-title {
        text-align: left;
        font-size: 20px;
    }
    
    .pr-tratamento-options {
        gap: 12px;
    }
    
    .pr-tratamento-option {
        padding: 7px 18.5px;
        min-height: 31px;
    }
    
    .pr-tratamento-label {
        font-size: 14px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .pr-tratamento-checkbox {
        margin-right: 18.5px;
    }
    
    .pr-tratamento-link {
        text-align: center;
        font-size: 16px;
    }
}

/* ============================================
   Estilos - Menu de Preços (Matriz)
   ============================================ */

.pr-precos-wrapper {
    margin: 30px 0;
    width: 100%;
    clear: both;
    display: block;
}

.pr-precos-selection {
    width: 100%;
}

.pr-precos-title {
    font-size: 18px;
    font-weight: 600;
    color: #211D1D;
    margin: 0 0 20px 0;
    text-align: center;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.pr-precos-matrix {
    width: 100%;
    margin-bottom: 20px;
}

.pr-precos-table {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
}

.pr-precos-row {
    display: flex;
    width: 100%;
}

.pr-precos-header-row {
    margin-bottom: 0;
}

.pr-precos-data-row {
    margin-top: 0;
}

.pr-precos-cell {
    flex: 1;
    min-width: 0;
    padding: 10px;
    background-color: #DFDFDF;
    border: 1px solid #A2A2A2;
    font-size: 14px;
    color: #211D1D;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pr-precos-header-cell {
    background-color: #DFDFDF;
    font-weight: 600;
    cursor: default;
}

.pr-precos-label-cell {
    background-color: #DFDFDF;
    font-weight: 600;
    cursor: default;
}

.pr-precos-data-cell {
    background-color: #FFFFFF;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pr-precos-data-cell:hover {
    background-color: #F5F5F5;
    outline: 2px solid #FF4545;
    outline-offset: -2px;
}

.pr-precos-data-cell.selected {
    background-color: #FF4545;
    color: #FFFFFF;
    font-weight: 600;
}

.pr-precos-note {
    font-size: 12px;
    color: #211D1D;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    margin-top: 15px;
    line-height: 1.6;
    text-align: left;
}

/* Estilos Mobile - Menu Preços */
@media (max-width: 767px) {
    .pr-precos-title {
        font-size: 16px;
    }
    
    .pr-precos-cell {
        padding: 8px 4px;
        font-size: 12px;
    }
    
    .pr-precos-note {
        font-size: 11px;
        margin-top: 12px;
    }
}

/* Estilos Desktop - Menu Preços */
@media (min-width: 768px) {
    .pr-precos-title {
        text-align: left;
        font-size: 20px;
    }
    
    .pr-precos-cell {
        padding: 12px;
        font-size: 14px;
    }
}

