label {
    font-weight: 400;
    color: black;
}
fieldset legend {
    color: black!important;
}
.dropdown-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    margin-bottom: 5px; 
    margin-top: 5px; 
    background-color: white;
}
.dropdown-icon {
    margin-left: 10px;   
    font-size: 16px;     
    color: #888;         
}
.dropdown-options{
  display:none;
  position:absolute;
  top:100%;
  left:0;
  background-color:#ffffff;
  border:1px solid #aad4e5;     
  border-radius:0 0 5px 5px;
  box-shadow:0 4px 6px rgba(0,0,0,0.1);
  padding:10px 0;
  width:100%;
  z-index:9999;                 
  position:relative;            
}
.titulo-opcion{ font-weight:bold; font-size:16px; text-align:center; color:#003d5b; }
fieldset {
    margin: 10px 0; 
    padding: 0; 
    border: none; 
    background-color: none!important;
}
.dropdown-selected {
    background-color: #fff; 
    color: #333;
    border: 1px solid #ddd; 
    border-radius: 5px; 
    padding: 10px; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    cursor: pointer; 
    transition: background-color 0.2s ease, color 0.2s ease; 
}
.dropdown-icon {
    font-size: 16px; 
    color: #333;
    margin-left: 10px; 
}
.dropdown-text {
    display: flex;
    flex-direction: column; 
    gap: 2px; 
}
.dropdown-container {
    position: relative;
    max-width: 100%;
    margin: 10px 0;
}
#selected-option {
    background-color: #f7f7f7; 
    border: 0; 
    border-radius: 5px; 
    padding: 15px; 
    display: flex;
    align-items: center; 
    justify-content: space-between; 
    cursor: pointer; 
    transition: background-color 0.2s ease; 
    text-align: left; 
}
#selected-option:hover {
    background-color: #f7f7f7; 
}
.text-container {
    display: flex;
    flex-direction: column; 
    gap: 5px; 
}
.cantidad-principal {
    font-size: 20px; 
    font-weight: bold; 
    color: #000; 
    text-align: left; 
}
.cantidad-secundaria {
    display: flex; 
    gap: 15px; 
    align-items: center; 
    flex-wrap: wrap; 
}
.precio-unitario {
    font-size: 24px; 
    font-weight: bold; 
    color: #007BFF; 
    margin-right: 10px; 
}
.subtotal {
    font-size: 16px; 
    font-weight: normal; 
    color: #555; 
}
.iva-note {
    font-size: 12px;
    font-weight: normal;
    color: #777;
    line-height: 1.2;
}
.dropdown-icon{ margin-left:10px; font-size:16px; color:#007BFF; }
.selected-icon {
    width: 10px;
    height: 10px;
    border-radius: 50%; 
    background-color: #007BFF; 
    visibility: hidden; 
}
.selected-item .selected-icon {
    visibility: visible; 
}
.delete-icon {
    font-size: 14px;
    color: #bbb; 
    cursor: pointer;
    text-align: center;
    transition: color 0.2s;
}
.delete-icon:hover {
    color: #888; 
}
.selected-item {
    background-color: #e8f4ff; 
    font-weight: bold; 
    color: #007BFF; 
}
.manual-input-container {
    display: flex;
    align-items: center; 
    margin: 0 15px; 
    margin: 20px 15px; 
}
.manual-input-container input {
    flex: 1;
    padding: 8px;
    font-size: 1em;
    font-weight: 200;
    border: 2px solid #007bff;
    border-radius: 5px;
    background-color: #f0f4f8;
    color: #333;
    outline: none;
    transition: border-color 0.3s ease;
    min-width: 0;
    margin-right: 10px;
    text-align: left !important;
    height: 50px;
}
.manual-input-container input:focus {
    border-color: #0056b3; 
}
.manual-input-container button {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    background-color: #009fe3;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    flex-shrink: 0;
    height: 30px;
    padding: 15px;
    display: flex;
    margin: 0px;
    width: auto;
    align-items: center;
}
.manual-input-container button:hover {
    background-color: gray; 
    transform: scale(1.05); 
}
.manual-input-container button:active {
    transform: scale(0.95); 
}
.fila-materiales {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 50px;
    padding: 10px 0;
    max-width: 800px;
    margin: 0 auto;
}
.fila-materiales-3-columnas .columna {
    flex: 1; 
    display: flex;
    flex-direction: column; 
    gap: 8px; 
}
.fila-materiales-2-columnas .columna {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.opcion {
    display: flex;
    align-items: center;
    gap: 8px; 
    font-size: 1em;
    color: #003d5b; 
    text-align: left;
}
.opcion input[type="radio"]:checked + label,
.opcion input[type="checkbox"]:checked + label {
    font-weight: bold;
    color: #007BFF; 
}
#dropdown-material-options {
    background-color: #ffffff;
    border: 1px solid #ccc;
    border-radius: 0 0 5px 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 10px 20px;
    max-width: 800px; 
    gap:0px;
    margin: 0 auto;
}
#dropdown-material .dropdown-selected {
    background-color: transparent;
    border: none;
    border-bottom: 1px solid #ededed;
    color: #333;
    padding: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}
#dropdown-material .dropdown-icon {
    font-size: 16px;
    color: #007BFF; 
}
#dropdown-impresion .dropdown-selected {
    background-color: transparent; 
    border: none; 
    border-bottom: 1px solid #ededed;
    color: #333; 
    font-weight: normal; 
    padding: 8px; 
    display: flex;
    justify-content: space-between; 
    align-items: center; 
    cursor: pointer; 
    transition: background-color 0.2s ease, border-bottom 0.2s ease; 
}
#dropdown-impresion .dropdown-icon {
    font-size: 16px;
    color: #007BFF; 
}
#dropdown-impresion-options {
    display: none; 
    background-color: #ffffff; 
    border: 1px solid #aad4e5; 
    border-radius: 0 0 5px 5px; 
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); 
    padding: 10px 20px; 
    z-index: 10; 
    position: relative;
}
.fila-impresion {
    display: flex; 
    justify-content: center; 
    gap: 40px; 
}
#dropdown-impresion .columna {
    display: flex;
    flex-direction: column; 
    gap: 10px; 
}
#dropdown-impresion .opcion {
    display: flex;
    align-items: center; 
    gap: 5px; 
    font-size: 14px;
    color: #003d5b; 
}
#dropdown-impresion .opcion input[type="radio"]:checked + label {
    background-color: #dff5ff; 
    color: #003d5b; 
    font-weight: bold; 
    padding: 2px 4px;
    border-radius: 3px;
}
#dropdown-terminaciones .dropdown-selected {
    background-color: transparent; 
    border: none; 
    border-bottom: 1px solid #ededed;
    color: #333; 
    font-weight: normal; 
    padding: 8px; 
    display: flex;
    justify-content: space-between; 
    align-items: center; 
    cursor: pointer; 
    transition: background-color 0.2s ease, border-bottom 0.2s ease; 
}
#dropdown-terminaciones .dropdown-icon {
    font-size: 16px;
    color: #007BFF; 
}
#dropdown-terminaciones-options {
    display: none; 
    background-color: #ffffff; 
    border: 1px solid #aad4e5; 
    border-radius: 0 0 5px 5px; 
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); 
    padding: 10px 20px; 
    z-index: 9999; 
    position:relative;
}
.fila-terminaciones {
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 30px; 
    justify-content: center; 
    align-items: start; 
}
#dropdown-terminaciones {
    position: relative; 
    overflow: visible !important; 
}
#dropdown-terminaciones .columna {
    display: flex;
    flex-direction: column; 
    gap: 10px; 
}
#dropdown-terminaciones .opcion {
    display: flex;
    align-items: center; 
    gap: 5px; 
    font-size: 14px; 
    color: #003d5b; 
    text-align: left; 
}
#dropdown-terminaciones .opcion input[type="radio"]:checked + label,
#dropdown-terminaciones .opcion input[type="checkbox"]:checked + label {
    background-color: #dff5ff; 
    color: #003d5b; 
    font-weight: bold; 
    padding: 2px 4px; 
    border-radius: 3px; 
}
.form-header {
    display: flex;
    justify-content: space-between; 
    align-items: center; 
    margin-bottom: 20px; 
    border-bottom: 1px solid #ddd; 
    padding-bottom: 10px; 
}
.form-header h2 {
    font-size: 16px; 
    font-weight: 600; 
    color: black; 
    margin: 0; 
}
.btn-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: #3AAA35 !important;
    color: #fff !important;
    border: 0;
    padding: 5px 15px;
    font-size: 1em;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .12);
    transition: filter .15s ease, transform .06s ease;
    width: auto;
    text-align: center;
    height: 35px;
}
.btn-download-icon{
  display: block;
  width: 25px;
  height: 25px;
  object-fit: contain;
  flex-shrink: 0;
}
.btn-download:hover { filter: brightness(1.08); }
.btn-download:active { transform: translateY(1px); }
.form-header .btn-download {
  margin-left: auto;                 
}
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}
.modal-overlay.active {
  display: flex;
}
body.modal-open {
  overflow: hidden;
}
.modal-content {
    background: #e1e1e1f8;
    padding: 2rem;
    border-radius: 15px;
    max-width: 550px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}
.close-modal {
  position: absolute;
  top: 0.5rem;
  right: 0.75rem;
  background: transparent;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  margin-right:0!important;
}
.modal-description {
    color: #666;
    font-size: 1em;
    margin-top: 0px !important;
    margin-bottom: 22px;
    padding: 0;
    text-align: center;
    margin-left: 25px;
    margin-right: 25px;
}
.modal-text h4 {
    font-weight: 600;
    color: #333;
    font-size: 1em;
    margin-bottom: 0px;
    text-align: left;
}
.modal-text h3 {
    font-weight: 200;
    font-size: 14px;
    margin-bottom: 5px;
    text-align: left!important;
}
.modal-text p {
    color: black;
    text-align: left;
    font-size:0.9em;
    font-weight: 100;
    margin-bottom: 0px;
}
.modal-option {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    width: 100%;
    margin-bottom: 16px;
    padding: 18px;
    border: 1px solid #d9e3ee;
    border-radius: 12px;
    background: #ffffff;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    text-align: left;
}
.modal-option:hover {
    transform: scale(1.02);
    border-color: #a9cfff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.10);
}
.modal-option:focus-visible {
    outline: 2px solid #009fe3;
    outline-offset: 2px;
    border-color: #009fe3;
}
.modal-option .modal-icon {
    width: 60px;
    height: 60px;
    margin-right: 0;
    flex-shrink: 0;
}
.modal-option .modal-text {
    flex: 1;
}
.input-container {
    position: relative;
    margin-top: 5px;
}
.input-container input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
    box-sizing: border-box;
    background-color: #f9f9f9; 
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}
.input-container input:focus {
    border-color: #007bff; 
    background-color: #fff; 
    outline: none;
    box-shadow: 0 0 4px rgba(0, 123, 255, 0.5);
}
input.invalid {
    border-color: #dc3545; 
    box-shadow: 0 0 4px rgba(220, 53, 69, 0.5);
}
input.valid {
  border-color: #28a745 !important;
  background-color: #e6f8eb !important;
  box-shadow: 0 0 4px rgba(40, 167, 69, 0.5) !important;
}
.modal-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    height: auto;
    background-color: #009fe3  !important;
    color: white !important;
    margin-left: 0;
    margin-right: auto !important;
    width: auto;
    min-width: 220px;
    padding: 12px 22px;
    margin-top: 15px;
}
.modal-button:not(:disabled) {
    background-color: #007bff; 
    color: white;
}
.modal-button:disabled {
    background-color: #e0e0e0!important; 
    color: #888!important; 
    cursor: not-allowed;
}
.modal-option-container {
    display: flex;
    flex-direction: column;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin-left: 10px;
    margin-right: 10px;
}
body.modal-open {
    overflow: hidden;
}
.form-footer button {
    flex: 1 1 100%;
    max-width: 50%;
    box-sizing: border-box;
    height: 40px;
    background: unset;
    color: inherit;
    padding: 0;           
    border-radius: 0;     
    font-size: 16px;
    font-weight: 600;
}
.quantity-input.valid {
    border-color: #28a745; 
    background-color: #e6f8eb; 
}
.quantity-input.invalid {
    border-color: #dc3545; 
}
.confirm-button.disabled {
    color: gray;
    cursor: not-allowed;
}
.share-link-row{
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 10px;
    margin-bottom: 18px;
}
#current-share-url{
    flex: 1;
    padding: 10px 12px;
    border: 1px solid #d7e9fb;
    border-radius: 8px;
    background: #f7fbff;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.12s ease;
}
#current-share-url:hover{
    background: #eef7ff;
    border-color: #9ecbff;
}
#current-share-url:focus-visible{
    outline: 2px solid #009fe3;
    outline-offset: 2px;
}
.copy-link-icon-btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    min-width: 42px;
    height: 42px;
    padding: 0;
    margin: 0;
    border: 1px solid #d7e9fb;
    border-radius: 8px;
    background: #ffffff;
    color: #007bff;
    cursor: pointer;
    box-shadow: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.12s ease;
}
.copy-link-icon-btn:hover{
    background: #f2f8ff;
    border-color: #9ecbff;
}
.copy-link-icon-btn:focus-visible{
    outline: 2px solid #009fe3;
    outline-offset: 2px;
}
.copy-link-icon-btn span{
    font-size: 18px;
    line-height: 1;
}
.copy-link-tooltip{
    position: absolute;
    top: -34px;
    right: 0;
    padding: 6px 10px;
    border-radius: 6px;
    background: rgba(20, 20, 20, 0.92);
    color: #fff;
    font-size: 12px;
    line-height: 1;
    opacity: 0;
    transform: translateY(4px);
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
    white-space: nowrap;
    z-index: 2;
}
.copy-link-tooltip.visible{
    opacity: 1;
    transform: translateY(0);
}
.share-action-panel{
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(460px, calc(100vw - 32px));
    padding: 22px;
    border: 1px solid #d9e3ee;
    border-radius: 14px;
    background: #ffffff;
    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.28),
        0 0 0 9999px rgba(0, 0, 0, 0.42);
    z-index: 10020;
}
.share-action-panel.active{
    display: block;
}
.share-action-panel-title{
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
    text-align: left;
}
.share-action-panel-label{
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}
.share-action-panel-input{
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 14px;
    box-sizing: border-box;
    background-color: #f9f9f9;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.share-action-panel-input:focus{
    border-color: #007bff;
    background-color: #fff;
    outline: none;
    box-shadow: 0 0 4px rgba(0, 123, 255, 0.35);
}
.share-action-panel-buttons{
    display: flex;
    justify-content: center;
    margin-top: 14px;
}
.share-action-panel-buttons .modal-button{
    margin-top: 0;
    margin-right: 0 !important;
}
.share-action-error{
    display: none;
    margin-top: 8px;
    color: #c62828;
    font-size: 0.9rem;
}
.checkbox-container {
    margin-top: 0px;
    margin-bottom: 0px;
    padding: 5px;
    max-width: 100%;
}
.checkbox-group {
    display: flex;
    justify-content: space-between; 
    gap: 10px;
    flex-wrap: wrap;
    width: 100%;
}
.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
    flex: 1; 
    justify-content: center; 
}
.checkbox-group input[type="radio"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
}
.bloque-interactivo-producto h1.product_title {
     font-size: clamp(1.5rem, 2.5vw + 1rem, 2.5rem);
    font-weight: 700;
    color: #000000;
    line-height: 1.2;
    margin-bottom: 1rem;
}
.bloque-interactivo-producto .woocommerce-product-details__short-description {
    margin-bottom: 20px;
}
.boton-carrito{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  background:#007BFF !important;
  color:#fff !important;
  border:0;
  border-radius:8px!important;
  padding:10px 14px;
  font-weight:600!important;
  text-decoration:none;
  cursor:pointer;
  box-shadow:0 6px 18px rgba(0,0,0,.12);
  transition:filter .15s ease, transform .06s ease;
  flex:1 1 0;       
  width:auto;
  height:auto;
  margin:0;
}
.boton-carrito:hover{ filter:brightness(1.03); }
.boton-carrito:active{ transform:translateY(1px); }
.boton-carrito .btn-texto{ white-space: nowrap; }
.form-footer{
    display:flex;
    flex-direction:row;         
    align-items:stretch;
    gap:8px;
    margin-top:50px;
    border-top:1px solid #ddd;
    padding-top:12px;
    margin-bottom:5px;
}
.bloque-interactivo-producto {
    border: none;
    box-shadow: none;
    padding: 0;
}
#formulario-presupuesto.custom-formulario {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    height: auto; 
}
.etiqueta {
 padding: 10px 18px;
  font-size: 1.1em;
  background-color: #f1f1f1;
  border: 1px solid #ccc;
  border-radius: 25px;
  color: #333;
  cursor: pointer;
  transition: all 0.3s ease;
}
.etiqueta:hover {
    background-color: #f5f5f5;
}
.contenedor-etiquetas-general {
    background-color: #e6e6e6;
    padding: 15px;
    border-radius: 10px;
    line-height:3rem;
}
#contenedor-etiquetas-preguntas {
    background-color: #f1eee7;
}
.titulo-etiquetas {
    display: block;
    font-weight: 600;
    font-size: 1.05rem;
    color: black;
    text-align: left;
}
.contenedor-preguntas-frecuentes {
  flex: 1 1 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  background: transparent;
  border: none;
  padding: 0px;
}
.etiqueta-faq {
    display: inline-flex;
    min-height: 34px;
    margin: 0;
    align-items: center;
    justify-content: center;
    padding: 6px 11px;
    border: 1px solid #c4c7c9;
    border-radius: 2px;
    background: transparent;
    color: #20262d;
    font: inherit;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.2;
    cursor: pointer;
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}
.etiqueta-faq:hover,
.etiqueta-faq:focus-visible {
    border-color: #20262d;
}
.etiqueta-faq:focus-visible {
    outline: 2px solid #009fe3;
    outline-offset: 2px;
}
.bloque-anuncio {
    background-color: #009fe37d;
    padding: 25px;
    border-radius: 10px;
    margin-top: 15px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    text-align: left;
    color: #000;
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.bloque-anuncio.oculto {
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
}
.bloque-anuncio h3 {
    font-size: 1.1em;
    font-weight: bold;
    margin-bottom: 10px;
}
.bloque-anuncio p {
    margin-bottom: 15px;
    line-height: 1.4;
    color: #333;
    font-weight: 400;
}
.boton-anuncio {
    display: inline-block;
    padding: 8px 16px;
    background-color: #000;
    color: #fff;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.2s ease-in-out;
}
.boton-anuncio:hover {
    background-color: #333;
}
.galeria-producto {
    flex: 1; 
    display: flex;
    flex-direction: column;
    justify-content: space-between; 
    max-height: 628px;
}
.galeria-imagen-principal {
  width: 100%;
  height: 100%; 
  background-color: transparent;
  border-radius: 8px;
  overflow: hidden;
  position: relative;  
  display: flex;
  align-items: center;
  justify-content: center;
}
.galeria-imagen-principal img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
.skeleton-imagen-principal.hidden {
  display: none;
}
.columns-skeleton li.skeleton-producto {
  height: 200px;
  background-color: #f2f2f2;
  border-radius: 4px;
  margin: 0 10px 20px 0;
  flex: 0 0 calc(25% - 10px); 
}
.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}
.producto-avanzado{
  width: 100%;
  max-width: 1800px;
  box-sizing: border-box;
  margin-left:auto;
  margin-right:auto;
}
.bloque-descripcion-contenedor {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 3rem;
    margin-top: 20px;
}
.columna-descripcion {
  flex: 1 1 60%;
  min-width: 300px;
}
.columna-informativa {
  flex: 1 1 35%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.bloque-sustentabilidad  {
  margin-left: 20px;
  margin-right: 20px;
}
.bloque-sustentabilidad ul.lista-sustentabilidad {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.lista-sustentabilidad li {
  display: inline-flex; 
  align-items: center;
  background: #f4f4f4;
  border-radius: 1rem;
  padding: 0.4rem 0.8rem;
  gap: 0.5rem;
  border: 1px solid #ccc;
  white-space: nowrap; 
  color: #333;
}
.lista-sustentabilidad img {
  width: 40px;
  height: auto;
}
.bloque-certificaciones .certificaciones-imagenes {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
  margin-left:20px;
  margin-right:20px;
  margin-bottom:20px;
}
.bloque-certificaciones img {
    max-width: 50px;
    height: auto;
    padding: 2px;
}
.bloque-certificaciones {
  margin-top: 20px;
  margin-left:20px;
  margin-right:20px;
}
.titulo-certificaciones{
    margin-top:10px;
    margin-bottom:4px;
    font-size:1em;
    color: #333;
}
.texto-descripcion-larga {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #444;
    margin-left: 20px;
    margin-right:20px;
}
.relacionados-grid {
    margin-top: 20px;
    margin-right: 20px;
    margin-bottom: clamp(36px, 4.5vw, 64px);
    margin-left: 20px;
}
#cantidad-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 300px;
    overflow-y: auto;
}
#cantidad-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    background-color: #f9f9f9;
    transition: background-color 0.2s ease;
    font-size: 1em;
    color: #333;
}
#cantidad-list li:hover {
    background-color: #eaeaea;
}
#cantidad-list .selected-item {
    background-color: #d0f0d0;
    font-weight: bold;
}
#dropdown-material-options input[type="radio"] {
       font-size: 100%;
    margin: 0;
    border: 1px;
    border-color: black;
    border-radius: 10px;
    height: 30px;
    text-align: center !important;
    color: #0073AA;
    margin-right: 10px;
    margin-left: 5px;
}
.skeleton-imagen-principal {
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #eee 25%, #f4f4f4 50%, #eee 75%);
    background-size: 200% 100%;
    animation: shimmer 1.2s infinite;
    border-radius: 8px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 5;
}
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}
.product_title {
    font-size: clamp(1.5rem, 2.5vw + 1rem, 2.5rem)!important;
    font-weight: 700;
    color: #000000;
    line-height: 1.2;
    margin-bottom: 1rem;
}
#quote-modal {
  display: none;
}
#quote-modal.active {
  display: flex; 
}
.modal-subtitle {
    margin-top: 28px;
    color: #333;
    text-align: center;
    font-size: 1.2rem;
}
.modal-bloque-link .modal-subtitle{
    margin-top: 0;
}
.modal-bloque-datos {
    background-color: #d7e9fb;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}
.titulo-datos {
  margin-top: 0;
  margin-bottom: 15px;
  font-size: 1.2rem;
  color: #333;
  text-align: center;
}
.texto-precio-azul {
    color: #007bff;
    margin-bottom: 5px !important;
    font-size: 1.1rem;
}
.hidden {
    display: none !important;
}
.tooltip-pregunta .tooltip-content {
  position: relative;
}
.tooltip-pregunta button#cerrar-tooltip {
  position: absolute;
  top: 5px;
  right: 10px;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: #007BFF;
  cursor: pointer;
}
.tooltip-pregunta p {
    margin: 0;
    color: #20262d;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.55;
    margin-left: auto;
    margin-right: auto;
}
.tooltip-pregunta {
    position: relative;
    padding: 14px 16px;
    margin-top: 10px;
    background-color: #f1eee7;
    border: 1px solid #c4c7c9;
    border-radius: 2px;
    box-shadow: none;
}
.tooltip-pregunta.oculto {
  display: none;
}
.tooltip-pregunta button {
  position: absolute;
  top: 5px;
  right: 10px;
  background: none;
  border: none;
  font-size: 1.2em;
  cursor: pointer;
}
.etiqueta-faq.activa {
  border-color: #20262d;
  background: #20262d;
  color: #fff;
}
.bloque-anuncio.oculto-final {
  display: none;
}
.fila-input-boton {
    display: flex;
    align-items: center;
    gap: 6px;
    justify-content: center;
}
.grupo-input-un {
    display: flex;
    align-items: center;
    padding: 0px;
    background-color: #f9f9f9;
    justify-content: space-around;
    width: 150px;
}
.input-cantidad-base{
    margin: 0px;
    width: 120px;
}
.boton-oculto {
  display: none !important;
}
.single-product .columna-galeria { position: relative; }
.single-product #btn-dieline-postal.button.wpa-action{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: absolute;                
  top: 10px;
  right: 10px;
  z-index: 1000;
  background: #009fe3 !important;   
  color: #fff !important;            
  border: 0;
  border-radius: 8px;
  padding: 6px 12px;
  font-weight: 700;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0,0,0,.12);
  transition: filter .15s ease, transform .06s ease;
}
.single-product #btn-dieline-postal.button.wpa-action:hover{ filter: brightness(1.03); }
.single-product #btn-dieline-postal.button.wpa-action:active{ transform: translateY(1px); }
.single-product #btn-dieline-postal.button.wpa-action:disabled{
  opacity: .6 !important;            
}
.single-product #btn-cambiar-medida.button.wpa-action{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #009fe3 !important;
  color: #fff !important;
  border: 0;
  border-radius: 8px;
  padding: 6px 12px;
  font-weight: 700;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0,0,0,.12);
  transition: filter .15s ease, transform .06s ease;
}
.single-product #btn-cambiar-medida.button.wpa-action:hover{ filter: brightness(1.03); }
.single-product #btn-cambiar-medida.button.wpa-action:active{ transform: translateY(1px); }
.single-product #btn-cambiar-medida.button.wpa-action:disabled{
  opacity: .6 !important;
}
@media (max-width: 480px) {
    #selected-option {
        padding: 10px; 
    }
    .cantidad-principal {
        font-size: 16px; 
    }
    .precio-unitario {
        font-size: 18px; 
    }
    .subtotal {
        font-size: 12px; 
    }
    .iva-note {
        font-size: 11px;
    }
    .cantidad-secundaria {
        gap: 5px; 
    }
    .fila-materiales {
        flex-wrap: nowrap; 
        gap: 10px; 
    }
    .fila-materiales-3-columnas .columna {
        flex: 1; 
    }
    .opcion label {
        font-size: 11px; 
    }
    .opcion input[type="radio"],
    .opcion input[type="checkbox"] {
        width: 12px; 
        height: 12px; 
    }
    #dropdown-impresion .fila-impresion {
        gap: 15px; 
    }
    #dropdown-impresion .opcion label {
        font-size: 11px; 
    }
    #dropdown-impresion .dropdown-selected {
        padding: 5px; 
    }
    #dropdown-terminaciones .fila-terminaciones {
        grid-template-columns: 1.5fr 1fr; 
        gap: 10px; 
    }
    #dropdown-terminaciones .opcion label {
        font-size: 11px; 
    }
    #dropdown-terminaciones .dropdown-selected {
        padding: 5px; 
    }
    .checkbox-group {
        display: grid;
        grid-template-columns: repeat(3, 1fr); 
        gap: 10px;
        justify-content: center;
    }
    .checkbox-group label {
        justify-content: center;
    }
    .checkbox-group label.manija-no-disponible-mobile {
        display: none;
    }
}
@media (max-width:600px){
  .form-footer{
    flex-direction: column;
    align-items: center;            
  }
  .form-footer .boton-carrito:disabled,
  .form-footer .boton-carrito.disabled { filter:none; }
  .form-footer .boton-carrito{
    flex: 0 0 auto;                 
    width: 80%;
    margin: 0 auto;                 
  }
  .form-footer button {
    max-width: none;    
    }
}
@media (max-width: 768px) {
    #selected-option {
        padding: 12px; 
    }
    .cantidad-principal {
        font-size: 18px; 
    }
    .precio-unitario {
        font-size: 20px; 
    }
    .subtotal {
        font-size: 14px; 
    }
    .iva-note {
        font-size: 11px;
    }
    .cantidad-secundaria {
        gap: 10px; 
        flex-wrap: wrap; 
    }
    .manual-input-container {
        gap: 5px; 
    }
    .manual-input-container input {
        width: 100%; 
    }
    .manual-input-container button {
        padding: 6px 10px; 
        font-size: 12px; 
    }
    #dropdown-terminaciones .fila-terminaciones {
        grid-template-columns: 1.2fr 1fr; 
        gap: 15px; 
    }
    #dropdown-terminaciones .opcion label {
        font-size: 12px; 
    }
    #dropdown-terminaciones .dropdown-selected {
        padding: 6px; 
    }
    .fila-materiales {
        flex-wrap: nowrap; 
        gap: 15px; 
    }
    .fila-materiales-3-columnas .columna {
        flex: 1; 
    }
    .opcion label {
        font-size: 12px; 
    }
    .opcion input[type="radio"],
    .opcion input[type="checkbox"] {
        width: 14px; 
        height: 14px; 
    }
    #dropdown-impresion .fila-impresion {
        gap: 20px; 
    }
    #dropdown-impresion .opcion label {
        font-size: 12px; 
    }
    #dropdown-impresion .dropdown-selected {
        padding: 6px; 
    }
    .form-header {
        justify-content: space-between; 
    } 
    .modal-option {
        flex-direction: column; 
        align-items: center; 
        text-align: center; 
    }
    .modal-option .modal-icon {
        margin-right: 0; 
        margin-bottom: 10px; 
    }
    .modal-option .modal-text {
        width: 100%; 
        text-align: center; 
    }
}
@media (max-width: 850px){  
  .single-product #btn-dieline-postal.button.wpa-action{
    position: absolute;              
    left: 50%;
    transform: translateX(-50%);
    bottom: -45px;                    
    top: auto;
    right: auto;
    z-index: 1002;
    padding: 10px 16px;
    margin: 0px;
    height: auto;
    width: 80%;
  }
}
.galeria-nav{
  position:absolute;top:50%;transform:translateY(-50%);
  background:rgba(0,0,0,0.4);color:#fff;border:0;width:3.5em;height:3.5em;
  font-size:15px;display:flex;align-items:center;justify-content:center;cursor:pointer;border-radius:50%;
}
.galeria-prev{left:10px;}
.galeria-next{right:10px;}
.galeria-thumbnails{display:flex;justify-content:center;flex-wrap:wrap;padding:10px 0;}
.galeria-thumbnail{
  flex:0 0 auto;width:clamp(48px,8vw,80px);height:clamp(48px,8vw,80px);
  object-fit:cover;cursor:pointer;transition:border .2s ease-in-out;
}
.galeria-thumbnail.activa{border:2px solid #007cba;border-radius:4px;}
.bloque-medidas{
  background:#fff;border:1px solid #e9eef3;border-radius:10px;padding:14px 16px;margin-bottom:14px;
  box-shadow:0 2px 10px rgba(0,0,0,.03);
}
.bloque-medidas__titulo{font-size:18px;font-weight:700;margin:0 0 6px;}
.bloque-medidas__valor{font-size:16px;font-weight:600;margin:0 0 8px;}
.bloque-medidas__leyenda{font-size:14px;color:#555;margin:0 0 10px;line-height:1.35;}
.bloque-medidas__boton{
  display:inline-block;font-weight:700;border:0;border-radius:8px;padding:6px 12px;
  text-decoration:none;cursor:pointer;box-shadow:0 6px 18px rgba(0,0,0,.08);
}
body.fp-init-pending .dropdown-trigger,
body.fp-init-pending #selected-option,
body.fp-init-pending #selected-material,
body.fp-init-pending #selected-impresion,
body.fp-init-pending #selected-terminaciones {
  opacity: .55;
  filter: saturate(.2);
  pointer-events: none;           
  transition: opacity .2s ease, filter .2s ease;
}
body.fp-init-pending .dropdown-icon { color: #9aa3ad; }
body.fp-ready .dropdown-icon { color: #009fe3; }
body.fp-init-pending #dropdown-options,
body.fp-init-pending #dropdown-material-options,
body.fp-init-pending #dropdown-impresion-options,
body.fp-init-pending #dropdown-terminaciones-options {
  display: none !important;
}
#btn-add-to-cart[disabled] {
  background: #d7dbe0 !important;
  color: #6b7380 !important;
  cursor: not-allowed !important;
  box-shadow: none !important;
  opacity: .9;
}
body.fp-ready #btn-add-to-cart:not([disabled]) {
  background: #009fe3 !important;
  color: #fff !important;
  transition: filter .15s ease, transform .06s ease;
}
body.fp-ready #btn-add-to-cart:not([disabled]):hover { filter: brightness(1.05); }
.boton-secundario[disabled] {
  background: #eceff3 !important;
  color: #8a93a0 !important;
  cursor: not-allowed !important;
}
body.fp-price-pending  #selected-option .precio-unitario,
body.fp-price-pending  #selected-option .subtotal {
  color:#b3b3b3 !important; 
}
body.fp-price-updated  #selected-option .precio-unitario { color:#007BFF !important; } 
body.fp-price-updated  #selected-option .subtotal       { color:#555 !important; }     

/* Deslizable cartulina: material cerrado con check de caras invertidas */
#dropdown-material #selected-material {
  position: relative;
  justify-content: center !important;
  text-align: center;
}

#dropdown-material #selected-material > span:not(.dropdown-icon) {
  flex: 1 1 auto;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: left;
  gap: 20px;
  flex-wrap: wrap;
  text-align: center;
}

#dropdown-material #selected-material .dropdown-icon {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  margin-left: 0;
}

#dropdown-material #selected-material .material-caras-invertidas-mini {
  margin-left: 0 !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 4px;
  white-space: nowrap;
}

#dropdown-material #selected-material .material-caras-invertidas-mini input {
  margin: 0;
  width: 13px;
  height: 13px;
}

.opcion-caras-invertidas{
    padding-left:35px;
}

/* Deslizable cartulina: el mini check cerrado no bloquea apertura del desplegable */
#dropdown-material #selected-material .material-caras-invertidas-mini,
#dropdown-material #selected-material .material-caras-invertidas-mini * {
  pointer-events: none;
}
