/* ==========================================================================
   Quick Quote Pro — iturri2 theme
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Widget de cabecera: botón / contador de presupuesto
   -------------------------------------------------------------------------- */
#presupuesto_cabecera {
    position: relative;
}

.quote-buttons {
    margin: 0;
}



span.qq-total:empty {
    display: none;
}
.checkout_quote {
    position: relative;
}
/* --------------------------------------------------------------------------
   2. Layout principal
   -------------------------------------------------------------------------- */

body#module-hsquickquotepro-quote{
    background-color: var(--neutral-dark);
}

.section-quote,
.section-quote .card-block{
    display: flex;
    flex-direction: column;
    gap: var(--spacing-3)
}

.section-quote{
     gap: var(--spacing-1)
}
.page-title__content{
    display: flex;
    justify-content: space-between;
}
.page-title__content .btn{
    width: auto;
}
.page-title__content span:first-child{
    display: flex;
    justify-content: flex-start;
    align-items: center;

}
/* --------------------------------------------------------------------------
   3. Formulario de búsqueda de productos
   -------------------------------------------------------------------------- */
form.search-quote {
    display: flex;
    flex-direction: column;
    gap: .75rem;
    padding: 1.25rem 1.5rem;
    background-color: var(--section-color);
    border: 1px solid var(--border-box);
    border-radius: var(--border-radius-sm);
    gap: var(--spacing-3)
}

.search-quote__content {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .75rem;
    width: 100%;
}

.sq-form-element {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.sq-form-element label {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    color: var(--primary);
    white-space: nowrap;
    margin: 0;
}

/* Inputs y selects del buscador */
.section-quote select.sq-search-field,
.section-quote input#sqre,
#sqref.form-control-div {
    height: 44px;
    padding: .5rem 1rem;
    font-family: var(--font-family-base);
    font-size: var(--font-size-sm);
    color: var(--primary);
    background-color: var(--white);
}


/* Badge "Solo empresas"*/
.badge {
    font-size: var(--font-size-xs);
    font-family: var(--font-family-base);

} 


/* --------------------------------------------------------------------------
   4. Áreas de resultados dinámicos (feedback vía JS)
   -------------------------------------------------------------------------- */


/* Contenedor de resultados */
.sq-results {
    padding-top: 2.75rem;
    position: relative;
    overflow: hidden;
  
}

/* Botón cerrar */
a.sq-close {
    position: absolute;
    top:0;
    right: .5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height:40px;
    border-radius: var(--border-radius-sm);
    color: var(--neutral-700);
    text-decoration: none;
    transition: color .2s ease, background-color .2s ease;
    z-index: 1;
}

a.sq-close:hover {
    color: var(--brand);
    background-color: #fff3f4;
}


/* Lista de resultados */
.sq-results ul {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 520px;
    overflow-y: auto;

    background-color: var(--white);
    border: 1px solid var(--border-box);
    border-radius: var(--border-radius-sm);
    box-shadow: 0 4px 16px rgba(55, 69, 86, .1);
    
}

/* Separador entre items */
.sq-results ul li + li {
    border-top: 1px solid var(--border-box);
}

/* Item de producto */
.sq-results ul li[data-id] {
    display: flex;
    align-items: center;
    gap: .875rem;
    padding: .75rem 1rem;
    transition: background-color .15s ease;
}

.sq-results ul li[data-id]:hover {
    background-color: var(--section-color);
}

/* Imagen del producto */
.sq-results ul li[data-id] > img {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    object-fit: contain;
    border-radius: 4px;
    mix-blend-mode: darken;
    border: 1px solid var(--border-box);
    background-color: var(--white);
}

/* Info: nombre + referencia */
.sq-results .sq-info {
    flex: 1 1 auto;
    font-size: var(--font-size-sm);
    color: var(--primary);
    line-height: 1.4;
    min-width: 0;
}

.sq-results .sq-info br + * {
    display: block;
}

/* Acciones: select combinaciones, cantidad, botones */
.sq-results .sq-actions {
    display: flex;
    align-items: center;
    gap: .375rem;
  
}

/* Select de combinaciones */
.section-quote select.comb-select {
    height: 36px;
    padding: .25rem .75rem;
    font-family: var(--font-family-base);
    font-size: var(--font-size-xs);
    color: var(--primary);
    background-color: var(--white);
    border: 1px solid var(--input-border-color);
    border-radius: var(--border-radius-sm);
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    max-width: 160px;
    transition: border-color .2s ease;
}

.section-quote select.comb-select:focus {
    outline: none;
    border-color: var(--primary);
}

/* Input de cantidad */
.section-quote input.sq-qty {
    width: 52px;
    height: 36px;
    padding: .25rem .4rem;
    text-align: center;
    font-size: var(--font-size-sm);
    font-family: var(--font-family-base);
    color: var(--primary);
    background-color: var(--white);
    border: 1px solid var(--border-box);
    border-radius: var(--border-radius-sm);
    -moz-appearance: textfield;
    appearance: textfield;
}

.section-quote input.sq-qty::-webkit-inner-spin-button,
.section-quote input.sq-qty::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.section-quote input.sq-qty:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(55, 69, 86, .12);
}

/* Botón añadir */
.section-quote button.sq-add {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    padding: 0 1rem;
    background-color: var(--brand);
    color: var(--white);
    font-family: var(--font-family-base);
    font-weight: var(--font-weight-semibold);
    font-size: var(--font-size-xs);
    border: none;
    border-radius: var(--btn-border-radius-xl);
    cursor: pointer;
    white-space: nowrap;
    transition: background-color .2s ease, transform .15s ease;
}

.section-quote button.sq-add:hover {
    background-color: var(--primary);
    transform: translateY(1px);
}

/* Enlace ver producto */
a.sq-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    padding: 0 .875rem;
    background-color: transparent;
    color: var(--primary);
    font-family: var(--font-family-base);
    font-weight: var(--font-weight-semibold);
    font-size: var(--font-size-xs);
    border: 1px solid var(--border-box);
    border-radius: var(--btn-border-radius-xl);
    text-decoration: none;
    white-space: nowrap;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

a.sq-link:hover {
    background-color: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* Botón "Cargar más resultados" */
.sq-results ul li:has(> .sq-load-more) {
    padding: .5rem 1rem;
    border-top: 1px solid var(--border-box);
    background-color: var(--section-color);
    text-align: center;
}

.section-quote button.sq-load-more {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    background: none;
    border: none;
    padding: .25rem 0;
    font-size: var(--font-size-xs);
    font-family: var(--font-family-base);
    font-weight: var(--font-weight-semibold);
    color: var(--neutral-700);
    cursor: pointer;
    transition: color .2s ease;
}

.section-quote button.sq-load-more:hover {
    color: var(--brand);
}

.section-quote button.sq-load-more .fa {
    font-size: .75rem;
}

/* Responsive */
@media (max-width: 767.98px) {
    .sq-results ul li[data-id] {
        flex-wrap: wrap;
        gap: .6rem;
    }

    .sq-results .sq-actions {
        width: 100%;
        flex-wrap: wrap;
  
    }
    .sq-results .sq-comb-wrapper{
        min-width: 100%;
        display: block;
        clear: both;
    }


    .section-quote select.comb-select {
        max-width: 100%;
        width: 100%;
    }

    .section-quote input.sq-qty {
        width: 48px;
    }

    .section-quote button.sq-add,
    .section-quote a.sq-link {
        flex: 1 1 auto;
        justify-content: center;
    }
}

/* --------------------------------------------------------------------------
   5. Tabla de productos del presupuesto
   -------------------------------------------------------------------------- */

.content_quote_block{
    margin-top: var(--spacing-2);
}
#order-detail-content.table_block,
#quote_comment.quote-main-block  {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid var(--border-box);
    border-radius: var(--border-radius-sm);
    contain: layout style;
    margin-bottom: var(--spacing-2);

}

#order-detail-content table,
.element_quote table.std {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--font-size-sm);
    background-color: var(--white);
    table-layout: auto;
    margin-bottom: 0;
}

#order-detail-content table thead,
.element_quote table.std thead,
#quote_comment .std thead tr {
    background-color: var(--primary);
    color: var(--white);
}

#order-detail-content table thead th,
.element_quote table.std thead th,
#quote_comment .std thead th  {
    padding: .75rem 1rem;
    font-family: var(--font-family-title);
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-xs);
    text-transform: uppercase;
    letter-spacing: var(--letter-spacing-small);
    border: none;
    white-space: nowrap;
}

#order-detail-content table tbody tr,
.element_quote table.std tbody tr {
    border-bottom: 1px solid var(--border-box);
    transition: background-color .15s ease;
}

#order-detail-content table tbody tr:last-child,
.element_quote table.std tbody tr:last-child {
    border-bottom: none;
}

#order-detail-content table tbody tr:hover,
.element_quote table.std tbody tr:hover {
    background-color: var(--section-color);
}

#order-detail-content table tbody td,
.element_quote table.std tbody td,
#quote_comment .std tbody td{
    padding: .75rem 1rem;
    vertical-align: middle;
    color: var(--primary);
    border: none;
}


#quote_comment .std tfoot td {
    padding: .6rem 1rem;
    border-top: 1px solid var(--border-box);
}

@media (max-width:1200px){
   #order-detail-content table tbody td,
    .element_quote table.std tbody td {
        vertical-align: top;
    }
}



/* Imagen del producto */
td.image {
    width: 64px;
}

td.image img {
    display: block;
    width: 56px;
    height: 56px;
    object-fit: contain;
    border-radius: 4px;
    mix-blend-mode: darken;
}

/* Nombre del producto */
td.product_name .product-name,
td.product_name p {
    margin: 0 0 .2rem;
}

td.product_name a.quote_product_name {
    font-weight: var(--font-weight-semibold);
    color: var(--primary);
    text-decoration: none;
    transition: color .2s ease;
}

td.product_name a.quote_product_name:hover {
    color: var(--brand);
    text-decoration: underline;
}

td.product_name small {
    color: var(--neutral-700);
    font-size: var(--font-size-xs);
}

/* Precios */
td span.price,
td .price {
    font-weight: var(--font-weight-bold);
    color: var(--primary);
}

/* --------------------------------------------------------------------------
   6. Control de cantidad
   -------------------------------------------------------------------------- */
td.quote_quantity {
    white-space: nowrap;
    display: flex;
    gap: .5rem;
    position: relative;
}

.quote-qty-loading {
    position: absolute;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.75);
    z-index: 2;
}

.quote-qty-loading i {
    display: block !important;
}

td.quote_quantity.is-loading .quote-qty-loading {
    display: flex;
}

.section-quote .quote_quantity_input {
    width: 52px;
    height: 36px;
    padding: .25rem .5rem;
    text-align: center;
    font-size: var(--font-size-sm);
    font-family: var(--font-family-base);
    color: var(--primary);
    background-color: var(--white);
    border: 1px solid var(--border-box);
    border-radius: var(--border-radius-sm);
    -moz-appearance: textfield;
    appearance: textfield;
}

.section-quote .quote_quantity_input::-webkit-inner-spin-button,
.section-quote .quote_quantity_input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.section-quote .quote_quantity_input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(55, 69, 86, .12);
}

.section-quote .change_product_quote.quote_quantity_button {
    display: inline-flex;
    gap: .25rem;
    margin-top: .35rem;
    
}

.section-quote .quote_quantity_down,
.section-quote .quote_quantity_up {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 100%;
    padding: 0 !important;
    background-color: var(--neutral-300);
    border: 1px solid var(--border-box);
    border-radius: var(--border-radius-sm);
    transition: background-color .2s ease, color .2s ease, border-color .2s ease;
    cursor: pointer;
}

.section-quote .quote_quantity_down:hover,
.section-quote .quote_quantity_up:hover {
    background-color: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}


@media (min-width:1200px){


   .content_quote.quick_quote #order-detail-content table tbody td.quote_quantity{
    display: table-cell;
    text-align: center;
    }
}


/* Eliminar producto */
td.quote_delete {
    width: 40px;
    text-align: center;
}

a.hs_delete_quote {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    color: var(--neutral-700);
    border-radius: var(--border-radius-sm);
    transition: color .2s ease, background-color .2s ease;
    text-decoration: none;
}

a.hs_delete_quote:hover {
    color: var(--brand);
    background-color: #fff3f4;
}

a.hs_delete_quote .material-icons {
    font-size: 1.1rem;
}

/* --------------------------------------------------------------------------
   7. Tfoot: totales, descuentos y nota de envío
   -------------------------------------------------------------------------- */
#order-detail-content table tfoot tr,
.std tfoot tr {
    border-top: 1px solid var(--border-box);
}

#order-detail-content table tfoot td,
.std tfoot td {
    padding: .6rem 1rem;
    font-size: var(--font-size-sm);
    
    border: none;
    vertical-align: middle;
}

.total_detail {
    text-align: right;
    font-weight: var(--font-weight-semibold);
    color: var(--neutral-700);
}

.total_detail_discound {
    text-align: right;
    font-weight: var(--font-weight-bold);
    color: var(--brand);
}

tfoot .price {
    font-weight: var(--font-weight-bold);

}
/*
tfoot td[colspan="7"] {
    font-size: var(--font-size-xs);
    color: var(--neutral-700);
    font-style: italic;
    text-align: right;
    
}*/
tr.border-0 td{
    border: 0 !important
}

/* --------------------------------------------------------------------------
   8. Selector de modo de presupuesto (radios)
   -------------------------------------------------------------------------- */
.quote_mode {
    display: flex;
    gap: 1.5rem;
    padding: 1rem 1.25rem;
    background-color: var(--section-color);
    border: 1px solid var(--border-box);
    border-radius: var(--border-radius-sm);
    margin-bottom: 1rem;
}

.section-quote .radio-inline {
    display: flex;
    align-items: center;
}

.section-quote .radio-inline label.top {
    display: flex;
    align-items: center;
    gap: .5rem;
    cursor: pointer;
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    
    margin: 0;
}

/* --------------------------------------------------------------------------
   9. Confirmación / envío del presupuesto
   -------------------------------------------------------------------------- */
.quote_submit {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .75rem;
    padding-top: 1rem;
}

button#submit_quote,
input#submit_quote,
.quote_submit .btn-primary,
.quote_submit .exclusive {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .75rem 2rem;
    min-width: 200px;
    background-color: var(--brand);
    color: var(--white);
    font-family: var(--font-family-title);
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-base);
    border: none;
    border-radius: var(--btn-border-radius-xl);
    cursor: pointer;
    text-decoration: none;
    transition: background-color .25s ease, transform .2s ease;
    width: auto;
}

button#submit_quote:hover,
input#submit_quote:hover,
.quote_submit .btn-primary:hover,
.quote_submit .exclusive:hover {
    background-color: var(--primary);
    transform: translateY(1px);
}

#message_total_quote_alert_content {
    font-size: var(--font-size-xs);
    color: var(--neutral-700);
    background-color: var(--section-color);
    border: 1px solid var(--border-box);
    border-radius: var(--border-radius-sm);
    padding: .5rem .75rem;
}

#message_total_quote_alert_content p {
    margin: 0;
}

/* --------------------------------------------------------------------------
   10. Enlace de ayuda inferior
   -------------------------------------------------------------------------- */
.block-help-quote {
    padding-top: .75rem;
    padding-bottom: .25rem;
    text-align: center;
}

#button-help-quote .fa {
    font-size: .85rem;
}

/* --------------------------------------------------------------------------
   11. Botones de acción del detalle de presupuesto
   -------------------------------------------------------------------------- */
#new-quote-button-container {
    display: flex;
    gap: .75rem;
    padding: 0 0 var(--spacing-3);
}

#new-quote-submit {
    padding: 1rem 0;
}
#new-quote-button-container .btn{
    width: auto;
    padding: 0.5rem 1.5rem;
}

/* --------------------------------------------------------------------------
   12. Listado de presupuestos del cliente
   -------------------------------------------------------------------------- */

.label.quote_status {
    display: inline-block;
    padding: .25em .65em;
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-semibold);
    border-radius: var(--border-radius-xs);
    letter-spacing: var(--letter-spacing-small);
    white-space: nowrap;
}

.section-quote .img_view_detail {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: var(--border-radius-sm);
    background-color: var(--neutral-300);
    transition: background-color .2s ease;
    margin: 0 2px;
    padding: 0;
}

.section-quote .img_view_detail:hover {
    background-color: var(--primary);
    color:var(--white);
}

.section-quote .img_view_detail i{
  margin: 0;
}

/* --------------------------------------------------------------------------
   13. Historial de comentarios y mensajes
   -------------------------------------------------------------------------- */

   #quote_comment .std {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--font-size-sm);
}

/* --------------------------------------------------------------------------
   16. Responsive — breakpoint 767.98px
   -------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
    .page-title__content{
        flex-direction: column;
        align-items: flex-start;
    }


    /* Formulario de búsqueda */
    form.search-quote {
        padding: 1rem;
    }

    .search-quote__content {
        flex-direction: column;
        align-items: stretch;
    }

    .sq-form-element {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }

    .sq-form-element label {
        margin-bottom: .2rem;
    }

    select.sq-search-field,
    input#sqref {
        width: 100%;
    }

    /* Tabla de productos */
    .section-quote #order-detail-content table,
    .element_quote table.std {
        font-size: var(--font-size-xs);
        
    }

    .section-quote #order-detail-content table thead th,
    .element_quote table.std thead th {
        padding: .5rem .6rem;
    }

    .section-quote #order-detail-content table tbody td,
    .element_quote table.std tbody td {
        padding: .5rem .6rem;

    }
  

   .section-quote  td.image {
        width: 44px;
    }

    .section-quote td.image img {
        width: 36px;
        height: 36px;
    }

    /* Selector de modo */
    .quote_mode {
        flex-direction: column;
        gap: .75rem;
    }

    /* Confirmación del presupuesto */
    button#submit_quote,
    .section-quote input#submit_quote {
        width: 100%;
        min-width: 0;
        justify-content: center;
    }

    /* Bloque cuenta */
    .card.hsqq_block_account {
        padding: 1rem;
    }

    .section-quote button#submit_account {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    /* btn-cta gestiona centrado; solo forzar ancho completo en móvil */
    .section-quote button#submit_login {
        width: 100%;
    }

    /* Historial de comentarios */
    #quote_comment.quote-main-block {
        padding: 1rem;
    }

    #quote_comment .std {
        font-size: var(--font-size-xs);
    }

    #quote_comment .std thead th,
    #quote_comment .std tbody td,
    #quote_comment .std tfoot td {
        padding: .5rem .6rem;
    }

    #new-quote-button-container{
        flex-direction: column;
    }
    input#submit_quote{
        width: 100%;
    }
}


@media (max-width: 1199.98px) {    

    .table_block .quick_quote .element_quote  table.table-iturri tbody tr td.quantity:first-child{
        background-color:#fff;
    }

    
        
}

@media (max-width: 991.98px) {    
    .section-quote #order-detail-content .table-iturri.table-striped tbody tr  td:first-child{
        background-color: #fff;
    }
    .section-quote #order-detail-content .table-iturri.table-striped tbody tr:nth-of-type(2n+1)  td:first-child{
        background-color: var(--neutral-light);
        }

        .section-account .table-iturri tbody tr  td:first-child{
             background-color: #fff;
        }
      

}

@media (max-width: 575.98px) {    

        .section-account .table-iturri tbody tr td:first-child{
            width:auto !important;
        }
            .table_block .quick_quote  table.std.table-iturri  thead tr th:first-child{
      
          width:65px !important;
          max-width: 65px !important;
          overflow: hidden;
          word-break: break-word;
         }

       /*
        .table_block .quick_quote .element_quote table.table-iturri tbody tr td.quantity:first-child{
            background-color: green !important;
          width: 1% !important;
          overflow: hidden;
          word-break: break-word;
        }
        .table_block .quick_quote  table.std.table-iturri  thead tr th:first-child{
          background-color: green !important;
          width: 1% !important;
          overflow: hidden;
          word-break: break-word;
         }*/

     
}



/* --------------------------------------------------------------------------
   16. Aviso seleccionar opción
   -------------------------------------------------------------------------- */
.sq-comb-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.comb-select-error {
  display: none;
  margin-top: .375rem;
  font-size: .875rem;
  line-height: 1.3;
  color: var(--brand)
}

.comb-select.is-invalid {
  border: 2px solid var(--brand);
  box-shadow: 0 0 0 1px #212529;
  position: relative;
  z-index: 1;
  animation: halo-move 2s linear infinite;
}

@keyframes halo-move {
  0% {
    box-shadow:
      0 0 0 1px #212529,
      0 0 0 0 rgba(231, 26, 60, 0.4);
  }
  50% {
    box-shadow:
      0 0 0 1px #212529,
      0 0 0 6px rgba(231, 26, 60, 0);
  }
  100% {
    box-shadow:
      0 0 0 1px #212529,
      0 0 0 0 rgba(231, 26, 60, 0);
  }
}

.sq-comb-wrapper.has-error .comb-select-error {
  display: block;
}

/* --------------------------------------------------------------------------
   Mensaje para usuarios particulares (sin acceso a presupuestos)
   -------------------------------------------------------------------------- */
.quote-restricted {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--spacing-2);
  max-width: 560px;
  padding: var(--space-4);

  border-radius: var(--border-radius-sm);
/*background-color: var(--section-color);
  border: 1px solid var(--border-box);
  margin: 0 auto;*/
}

.quote-restricted__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--brand);
  color: var(--white);
  font-size: 2rem;
  flex-shrink: 0;
}

.quote-restricted__title {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  color: var(--primary);
  margin: 0;
  line-height: 1.3;
}

.quote-restricted__body {
  margin: 0;
  line-height: 1.65;
}

.quote-restricted__cta {
  margin-top: var(--spacing-1);
}

@media (max-width:575.98px){
    .btn.quote-restricted__cta {
        white-space: wrap;
        text-align: left;
    }
}

/* --------------------------------------------------------------------------
   17. Barra sticky de confirmación de presupuesto (escritorio)
   -------------------------------------------------------------------------- */
@media (min-width: 992px) {
    .quote_submit--sticky {
        position: sticky;
        bottom: 0;
        z-index: 100;
        flex-direction: row;
        align-items: center;
        gap: 1.5rem;
        padding: 1rem 1.5rem;
        background-color: var(--white);
        border-top: 1px solid transparent;
        box-shadow: none;
        transition: box-shadow .2s ease, border-color .2s ease;
    }

    .quote_submit--sticky.is-stuck {
        border-top-color: var(--border-box);
        box-shadow: 0 -6px 24px rgba(55, 69, 86, .18);
        border-radius: var(--border-radius-sm) var(--border-radius-sm) 0 0;
    }

    .quote_submit__sentinel {
        height: 0;
        pointer-events: none;
    }

    .quote_submit__info {
        flex: 1 1 auto;
        margin: 0;
        font-size: var(--font-size-sm);
        color: var(--neutral-700);
        line-height: 1.5;
    }

    .quote_submit--sticky button#submit_quote,
    .quote_submit--sticky input#submit_quote {
        flex-shrink: 0;
    }
}

@media (max-width: 991.98px) {
    .quote_submit__info {
        margin: 0;
        font-size: var(--font-size-sm);
        color: var(--neutral-700);
        line-height: 1.5;
    }
}