.elementor-widget-container .eael-protected-content-message{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-size:var( --e-global-typography-secondary-font-size );font-weight:var( --e-global-typography-secondary-font-weight );}.elementor-widget-container .protected-content-error-msg{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-size:var( --e-global-typography-secondary-font-size );font-weight:var( --e-global-typography-secondary-font-weight );}.elementor-2097 .elementor-element.elementor-element-8444cac{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-widget-heading .eael-protected-content-message{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-size:var( --e-global-typography-secondary-font-size );font-weight:var( --e-global-typography-secondary-font-weight );}.elementor-widget-heading .protected-content-error-msg{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-size:var( --e-global-typography-secondary-font-size );font-weight:var( --e-global-typography-secondary-font-weight );}.elementor-widget-heading .elementor-heading-title{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-size:var( --e-global-typography-primary-font-size );font-weight:var( --e-global-typography-primary-font-weight );letter-spacing:var( --e-global-typography-primary-letter-spacing );color:var( --e-global-color-primary );}.elementor-2097 .elementor-element.elementor-element-67e91d6{text-align:center;}.elementor-2097 .elementor-element.elementor-element-9604574{--display:flex;}.elementor-widget-html .eael-protected-content-message{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-size:var( --e-global-typography-secondary-font-size );font-weight:var( --e-global-typography-secondary-font-weight );}.elementor-widget-html .protected-content-error-msg{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-size:var( --e-global-typography-secondary-font-size );font-weight:var( --e-global-typography-secondary-font-weight );}.eael-reading-progress-wrap .eael-reading-progress{height:5px !important;}.eael-reading-progress-wrap .eael-reading-progress .eael-reading-progress-fill{height:5px !important;background-color:#11AA11;transition:width 50ms ease;}:root{--page-title-display:none;}@media(max-width:1024px){.elementor-widget-container .eael-protected-content-message{font-size:var( --e-global-typography-secondary-font-size );}.elementor-widget-container .protected-content-error-msg{font-size:var( --e-global-typography-secondary-font-size );}.elementor-widget-heading .eael-protected-content-message{font-size:var( --e-global-typography-secondary-font-size );}.elementor-widget-heading .protected-content-error-msg{font-size:var( --e-global-typography-secondary-font-size );}.elementor-widget-heading .elementor-heading-title{font-size:var( --e-global-typography-primary-font-size );letter-spacing:var( --e-global-typography-primary-letter-spacing );}.elementor-widget-html .eael-protected-content-message{font-size:var( --e-global-typography-secondary-font-size );}.elementor-widget-html .protected-content-error-msg{font-size:var( --e-global-typography-secondary-font-size );}}@media(max-width:767px){.elementor-widget-container .eael-protected-content-message{font-size:var( --e-global-typography-secondary-font-size );}.elementor-widget-container .protected-content-error-msg{font-size:var( --e-global-typography-secondary-font-size );}.elementor-widget-heading .eael-protected-content-message{font-size:var( --e-global-typography-secondary-font-size );}.elementor-widget-heading .protected-content-error-msg{font-size:var( --e-global-typography-secondary-font-size );}.elementor-widget-heading .elementor-heading-title{font-size:var( --e-global-typography-primary-font-size );letter-spacing:var( --e-global-typography-primary-letter-spacing );}.elementor-widget-html .eael-protected-content-message{font-size:var( --e-global-typography-secondary-font-size );}.elementor-widget-html .protected-content-error-msg{font-size:var( --e-global-typography-secondary-font-size );}}/* Start custom CSS for html, class: .elementor-element-28ab389 */.variant-link {
    color: #2d5a87;
    font-size: 13px;
    text-decoration: none;
    position: relative;
    display: inline-block;
}

.variant-link[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    left: 0;
    top: calc(100% + 10px);
    background: #1e3a5f;
    color: white;
    padding: 12px 16px;
    border-radius: 12px;
    width: 300px;
    font-size: 13px;
    line-height: 1.5;
    z-index: 9999;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    white-space: normal;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.variant-link[data-tooltip]:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.variant-link[data-tooltip]::before {
    content: '';
    position: absolute;
    left: 20px;
    top: calc(100% + 4px);
    border: 6px solid transparent;
    border-bottom-color: #1e3a5f;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.variant-link[data-tooltip]:hover::before {
    opacity: 1;
    visibility: visible;
}

/* Solo para MÓVIL centramos */
@media (max-width: 768px) {
    .variant-link[data-tooltip]::after {
        left: 100%;
        transform: translateX(-150%) translateY(-10px);
        max-width: 85vw;
        width: 280px;
    }
    
    .variant-link[data-tooltip]:hover::after,
    .variant-link[data-tooltip].active::after {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
    }
    
    .variant-link[data-tooltip]::before {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .variant-link[data-tooltip]:hover::before,
    .variant-link[data-tooltip].active::before {
        opacity: 1;
        visibility: visible;
    }
}

.product-card {
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    user-select: none;
}


.product-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    pointer-events: none;
}

.product-card:hover {
    border-color: #2d5a87;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(45, 90, 135, 0.2);
}

.product-card.selected {
    border-color: #2d5a87;
    background: #f0f7ff;
    box-shadow: 0 5px 20px rgba(45, 90, 135, 0.3);
}

.calc-container {
    max-width: 900px;
    margin: 0 auto;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Indicador de pasos */
.calc-steps {
    display: flex;
    justify-content: space-between;
    background: linear-gradient(135deg, #1e3a5f 0%, #2d5a87 100%);
    padding: 25px 40px;
    border-radius: 15px;
    margin-bottom: 30px;
}

.calc-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: rgba(255,255,255,0.5);
    position: relative;
    flex: 1;
}

.calc-step::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 60%;
    width: 80%;
    height: 2px;
    background: rgba(255,255,255,0.3);
}

.calc-step:last-child::after {
    display: none;
}

.calc-step.active {
    color: #fff;
}

.calc-step.completed {
    color: #4CAF50;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid currentColor;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 8px;
    background: transparent;
    z-index: 1;
}

.calc-step.active .step-number {
   background: #2563eb;
    color: #fff;
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.2);
}

.calc-step.completed .step-number {
    background: #4CAF50;
    border-color: #4CAF50;
    color: #fff;
}

.step-label {
    font-size: 12px;
    text-align: center;
}

/* Secciones de pasos */
.calc-section {
    display: none;
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.1);
}

.calc-section.active {
    display: block;
}

.section-title {
    font-size: 24px;
    color: #1e3a5f;
    margin-bottom: 10px;
}

.section-subtitle {
    color: #666;
    margin-bottom: 25px;
}

/* Tarjetas de productos */
.product-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.product-card {
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.product-card:hover {
    border-color: #2d5a87;
    transform: translateY(-3px);
}

.product-card.selected {
    border-color: #2d5a87;
    background: #f0f7ff;
}

.product-card h3 {
    margin: 0 0 10px 0;
    color: #1e3a5f;
}

.product-card p {
    margin: 0 0 10px 0;
    color: #666;
    font-size: 14px;
}

.product-card .price {
    color: #2d5a87;
    font-weight: bold;
}

/* Variantes de producto */
.variants-section {
    display: none;
    margin-top: 20px;
}

.variants-section.show {
    display: block;
}

.variant-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.variant-option:hover {
    border-color: #2d5a87;
}

.variant-option.selected {
    border-color: #2d5a87;
    background: #f0f7ff;
}

.variant-option input[type="radio"] {
    margin-right: 15px;
}

.variant-info {
    flex: 1;
}

.variant-name {
    font-weight: 600;
    color: #1e3a5f;
}

.variant-link {
    color: #2d5a87;
    font-size: 13px;
    text-decoration: none;
}

.variant-price {
    color: #2d5a87;
    font-weight: bold;
    font-size: 18px;
}

/* Selector de unidades */
.unit-.elementor-2097 .elementor-element.elementor-element-28ab389 {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 25px;
}

.unit-.elementor-2097 .elementor-element.elementor-element-28ab389 label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    color: #1e3a5f;
}

.unit-.elementor-2097 .elementor-element.elementor-element-28ab389 select {
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    background: #fff;
    min-width: 150px;
}

#measurement-unit {
    margin-bottom: 20px;
}
/* Paneles de dimensiones */
.panel-container {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 15px;
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    
}

.panel-title {
    font-weight: 600;
    color: #1e3a5f;
    font-size: 18px;
}

.remove-panel {
    background: #ff5252;
    color: #fff;
    border: none;
    padding: 5px 12px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 12px;
    margin-left: 20px;
}

.panel-fields {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}


.panel-type-.elementor-2097 .elementor-element.elementor-element-28ab389 {
    padding: 10px 15px;
    border: 2px solid #2d5a87;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    color: #1e3a5f;
    background: #fff;
    width: 100%;
    max-width: 350px;
    cursor: pointer;
    
}

.panel-type-.elementor-2097 .elementor-element.elementor-element-28ab389:focus {
    outline: none;
    border-color: #1e3a5f;
    box-shadow: 0 0 0 3px rgba(45, 90, 135, 0.1);
}


.panels-detail {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.panel-detail-item {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
}

.panel-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.panel-detail-title {
    font-weight: 600;
    color: #1e3a5f;
    font-size: 15px;
}

.panel-detail-area {
    color: #2d5a87;
    font-weight: 600;
    font-size: 15px;
}

.panel-detail-dimensions {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

.area-total-row {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 2px solid #1e3a5f;
    display: flex;
    justify-content: space-between;
    font-weight: bold;
    font-size: 16px;
    color: #1e3a5f;
}

.field-group {
    display: flex;
    flex-direction: column;
}

.field-group label {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

.field-group input {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
}

.field-group input:focus {
    outline: none;
    border-color: #2d5a87;
}

.total-area {
    background: #e8f4f8;
    padding: 12px 15px;
    border-radius: 8px;
    font-weight: 500;
    color: #1e3a5f;
}

/* Botón agregar panel */
.add-panel-btn {
    width: 100%;
    padding: 15px;
    border: 2px dashed #ccc;
    border-radius: 10px;
    background: transparent;
    color: #666;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.add-panel-btn:hover {
    border-color: #2d5a87;
    color: #ffffff;
}

/* Resumen del proyecto */
.project-summary {
    background: #e8f4f8;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 25px;
}

.summary-title {
    font-weight: 600;
    color: #1e3a5f;
    margin-bottom: 10px;
}

.summary-total {
    font-size: 24px;
    color: #2d5a87;
    font-weight: bold;
}

/* Formulario de contacto */
.contact-form {
    display: grid;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

.form-group label .required {
    color: #ff5252;
}

.form-group input,
.form-group select {
    padding: 6px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #2d5a87;
}

.form-group.error input,
.form-group.error select {
    border-color: #ff5252;
}

.error-message {
    color: #ff5252;
    font-size: 12px;
    margin-top: 5px;
    display: none;
}

.form-group.error .error-message {
    display: block;
}

/* Info box */
.info-box {
    background: #fff8e1;
    border-left: 4px solid #ffc107;
    padding: 15px 20px;
    border-radius: 0 8px 8px 0;
    margin-top: 20px;
}

.info-box h4 {
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-box p {
    color: #666;
    margin: 0;
    font-size: 14px;
}

.info-box p strong {
    color: #1e3a5f;
}


/* Botones de navegación */
.calc-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.btn {
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-secondary {
    background: #fff;
    color: #666;
    border: 1px solid #ddd;
}

.btn-secondary:hover {
    background: #333;
}

.btn-primary {
    background: linear-gradient(135deg, #1e3a5f 0%, #2d5a87 100%);
    color: #fff;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(30, 58, 95, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Resumen final */
.quote-summary {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
}

.summary-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.summary-section h4 {
    color: #1e3a5f;
    margin: 0 0 15px 0;
    font-size: 16px;
    word-wrap: break-word;
}


.summary-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}


.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 14px;
}

.summary-item .label {
    color: #666;
}

.summary-item .value {
    color: #1e3a5f;
    font-weight: 500;
}

.grand-total {
    background: #1e3a5f;
    color: #fff;
    padding: 20px;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 20px;
}

.summary-row-two-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}



/* Mensaje de éxito */
.success-message {
    text-align: center;
    padding: 40px;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: #4CAF50;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 40px;
    color: #fff;
}

.success-message h2 {
    color: #1e3a5f;
    margin-bottom: 15px;
}

.success-message p {
    color: #666;
    margin-bottom: 25px;
}


/* Sección de Accesorios */
.accessories-section {
    background: #f0f7ff;
    border: 2px solid #2d5a87;
}

.accessories-section h4 {
    color: #1e3a5f;
    border-bottom: 2px solid #2d5a87;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.accessories-detail {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.accessory-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: #fff;
    border-radius: 8px;
    border-left: 4px solid #2d5a87;
}

.accessory-name {
    color: #1e3a5f;
    font-weight: 500;
    font-size: 14px;
}

.accessory-price {
    color: #2d5a87;
    font-weight: 600;
    font-size: 15px;
}

/* Desglose de totales con estilo de línea naranja */
.totals-breakdown {
    background: #fff;
    padding: 0;
    margin-top: 20px;
    margin-bottom: 15px;
}

.total-line-styled {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    font-size: 16px;
    font-weight: 600;
    color: #1e3a5f;
    border-bottom: 3px solid #f5a623;
    background: #fff;
    margin-bottom: 10px;
}

.total-line-styled:last-child {
    margin-bottom: 0;
}

.total-line-styled span:last-child {
    color: #2d5a87;
    font-size: 18px;
}

/* Responsive para accesorios */
@media (max-width: 768px) {
    .accessory-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .accessory-price {
        align-self: flex-end;
    }
    
    .total-line-styled {
        padding: 12px 15px;
        font-size: 14px;
    }
    
    .total-line-styled span:last-child {
        font-size: 16px;
    }
}

/* Animación para nuevos accesorios */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.accessory-item {
    animation: slideIn 0.3s ease-out;
}

/* Responsive para accesorios */
@media (max-width: 768px) {
    .accessory-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .accessory-price {
        align-self: flex-end;
    }
    
    .totals-breakdown {
        padding: 12px 15px;
    }
    
    .total-line {
        font-size: 14px;
    }
}

/* Animación para nuevos accesorios */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.accessory-item {
    animation: slideIn 0.3s ease-out;
}

/* Indicador visual para puerta corrediza */
.panel-type-.elementor-2097 .elementor-element.elementor-element-28ab389 option[value="puerta-corrediza"] {
    background: #fff8e1;
}

/* Tooltip informativo para accesorios de puerta corrediza */
.accessory-item[data-type="corrediza"]::before {
    content: "🚪";
    margin-right: 5px;
}

/* Responsive */
@media (max-width: 768px) {
    .calc-steps {
        padding: 15px;
    }
    
    .step-label {
        font-size: 10px;
    }
    
    .panel-fields {
        grid-template-columns: 1fr;
    }
    
    .panel-detail-item {
        padding: 8px;
    }
    
    .calc-navigation {
        flex-direction: column;
        gap: 10px;
    }
    
     .calc-section {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    .summary-row-two-cols {
        grid-template-columns: 1fr;
    }
    
    .quote-summary {
        margin-left: -10px;
        margin-right: -10px;
        padding: 10px 10px;
    }
    
    .summary-item .value {
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
    }

    .summary-section {
        padding: 15px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .summary-item {
        display: flex;
        justify-content: space-between;
        gap: 10px;
        font-size: 13px;
        flex-wrap: wrap;
    }
    
    .summary-item .value {
        text-align: right;
        flex: 1;
        min-width: 0;
        word-break: break-word;
    }
}



.measurement-notice {
    background-color: #E6F2FF;
    border-left: 4px solid #1a365d;
    padding: 16px 20px;
    margin: 16px 0 24px 0;
    border-radius: 0 8px 8px 0;
    font-size: 14px;
    line-height: 1.5;
    color: #1e3a5f;
}/* End custom CSS */