  #tabla-precios {
    /* font-family: 'Roboto', sans-serif; */
    margin-top: 24px;
  }

  #tabla-precios table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 16px; /* Más aire entre celdas */
    background-color: transparent;
  }
table {
    max-width: 100%!important;
    height: auto!important;
}
  #tabla-precios th {
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    color: #4c85ee;
    border-bottom: 0px solid #C5CAE9;
    padding-bottom: 8px;
  }

  #tabla-precios td {
    text-align: center;
  }
td{
    border: none !important;
    padding: 5px !important;
}

th{
    border: none !important;
    padding: 5px 5px 5px 5px !important;

}
tr{
    border: none !important;
     background-color: #ffffff00 !important;

}
  #tabla-precios td button {
    display: block;
    width: 100%;
    padding: 16px;
    background-color: transparent;
    border: 2px solid #3F51B5; /* Azul pastel suave */
    color: #4c85ee;
    font-weight: 500;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 0px!important; /* Rectangular total */
    box-shadow: none;
  }
  #tabla-precios th button {
    display: block;
    width: 100%;
    padding: 16px;
    background-color: transparent;
    border: 2px solid #3F51B5; /* Azul pastel suave */
    color: #000000;
    font-weight: 500;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 0px!important; /* Rectangular total */
    box-shadow: none;
        padding: 5px !important;

  }

    /* Estilos para tooltip de incompatibilidades */
.info-tooltip {
    display: none;
    position: absolute;
    background-color: #f0f8ff;
    border: 1px solid #1a3c6c;
    padding: 10px;
    border-radius: 4px;
    font-size: 12px;
    z-index: 1000;
    top: 100%;
    left: 0;
    margin-top: 5px;
}

.info-tooltip div {
    margin: 5px 0;
}

/* Estilos para mensajes toast */
.incompatibilidad-toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 15px;
    background: #ff6b6b;
    color: white;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 10000;
    max-width: 300px;
    animation: fadeInOut 3s forwards;
}
body:not(.woocommerce-cart) .main-content table {
    border-top: none !important;
        padding: 5px !important;

}
@keyframes fadeInOut {
    0% { opacity: 0; transform: translateY(20px); }
    10% { opacity: 1; transform: translateY(0); }
    90% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(20px); }
}
      .selectable-attribute.bloqueado {
            position: relative;
            opacity: 0.6;
            cursor: not-allowed;
        }
        .selectable-attribute.bloqueado::after {
    content: "⚠️ Incompatible con: " attr(data-incompatible-with);
            position: absolute;
            top: -8px;
            right: -8px;
            background: #f44336;
            color: white;
            font-size: 9px;
            padding: 2px 5px;
            border-radius: 3px;
        } 
  #tabla-precios td button:hover {
    background-color: rgba(255, 255, 255, 0.08); /* Hover suave */
    border-color: #4cc1ee;
  }
.price-table th {
    background-color: #ffffff00 !important;
}
body:not(.woocommerce-cart) .main-content table tr:nth-child(2n+1) {
    background-color: #ffffff00;
}
  .btn-cantidad{
  background-color: #ffffff!important;
    color: rgb(0, 0, 0)!important;
    border: 1px solid #a7a7a7!important;
    padding: 15px !important;

  }     
  .btn-envio{
    background-color: #ffffff!important;
    color: rgb(0, 0, 0)!important;
    border: 1px solid #4cc1ee!important;
        padding: 15px !important;

  }

.btn-envio.selected {
    background-color: #4cc1ee!important;
    color: white!important;
    border: 1px solid #4cc1ee!important;
        font-weight: 700!important;

}
.btn-cantidad.selected {
    background-color: #ffffff!important;
    color: #4cc1ee!important;
    font-weight: 700!important;
    border: 1px solid #4cc1ee!important;
}

.btn-metodo-envio{
    background-color: #ffffff!important;
    color: rgb(0, 0, 0)!important;
    border: 1px solid #a7a7a7!important;
}
.btn-metodo-envio.selected {
    background-color: #ffffff!important;
    color: #4cc1ee!important;
    font-weight: 700!important;
    border: 1px solid #4cc1ee!important;
}
.container-wrap input[type=number]{
    width: 100% !important;
}
    .bloqueado {
    opacity: 0.4;
    filter: grayscale(100%);
    cursor: not-allowed !important;
}
/* Contenedor general de atributos */
.attributes-list {
    margin: 20px 0;
    padding: 20px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(3px);
    /* font-family: inherit; */
}
/* Clearfix para el contenedor */
.attributes-list:after {
    content: "";
    display: table;
    clear: both;
}

/* Título de categoría */
.category-title {
    font-size: 16px;
    margin-bottom: 12px;
    font-weight: 500;
    color: #202124;
    text-transform: uppercase;
    letter-spacing: 0.5px;
      display: block;
    width: 100%;
}
.attribute-chip.selectable-attribute {
   display: inline-block;
    box-sizing: border-box;
    vertical-align: top;
    text-align: center;
    margin: 5px ;
    padding: 10px;
    word-break: break-word;
    background-color: transparent;
    color: #202124;
    border: 2px solid rgb(95, 192, 238);
    border-radius: 8px!important; /* Bordes ligeramente redondeados */
    transition: all 0.2s ease-in-out;
    position: relative;
        font-size: 14px; /* Restablece el tamaño de fuente */

}
/* Tamaño para desktop - 1/4 del ancho (4 columnas) */
.attribute-chip.selectable-attribute {
    width: calc(25% - 15px);
}
/* Tamaño para móvil - 1/2 del ancho (2 columnas) */
@media (max-width: 768px) {
    .attribute-chip.selectable-attribute {
        width: calc(50% - 15px);
    }
}


.attribute-chip:has(img) img {
    border-radius: 2px; /* Mismo radio que el contenedor */
/*     display: block;
    width: 100%;
    height: 100%; */
    max-width: 25%;
    max-height: 80px;   
    object-fit: contain;
    margin-bottom: 8px;
}
.attribute-chip.selectable-attribute:has(img) {
    padding: 15px 10px;
    min-height: 100%!important;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Imágenes dentro de los chips */
.attribute-chip.selectable-attribute img {
    max-width: 100%;
    max-height: 100px;
    height: auto;
    object-fit: contain;
    margin-bottom: 8px;
    display: block;
}
/* Chips de atributos */
.attribute-chip:has(img) {
    display: inline-block;
    background-color: transparent;
    color: #202124;  
    border: 2px solid rgb(95 192 238);
/*     padding: 2px; /* Añadido pequeño padding */
    margin: 4px 8px 12px 0;
    font-size: 16px;
    font-weight: lighter;
    text-align: center;
    border-radius: 16px!important;
    transition: all 0.2s ease-in-out;
    line-height: 20px!important;
     padding: 0; /* Sin padding */
    overflow: hidden;
}
/* Para chips sin imágenes (solo texto) */
.attribute-chip.selectable-attribute:not(:has(img)) {
    min-height: 60px;
    justify-content: center;
}
.attribute-chip.selectable-attribute > span {
    display: block;
    width: 100%;
    font-size: 14px;
    line-height: 1.3;
}
/* Texto dentro de los chips */
.attribute-chip.selectable-attribute > span:not([style]) {
    margin-top: 5px;
    font-size: 14px;
    line-height: 1.3;
}
.attribute-chip:has(img) img {
    border-radius: 2px; /* Mismo radio que el contenedor */
/*     display: block;
    width: 100%;
    height: 100%; */
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
    margin-bottom: 8px;
}

.attribute-chip:not(:has(img)){
    display: inline-block;
    background-color: transparent;
    color: #202124;
    border: 2px solid rgb(95 192 238);
    padding: 0.4em 1em 0.4em;
    margin: 4px 8px 12px 0;
    font-size: 16px;
    font-weight: lighter;
    border-radius: 24px!important; /* Rectangular total */
    transition: all 0.2s ease-in-out;
        width: 8.5em;
    text-align: center;
    line-height: 20px!important;
}
.numeric-chip {
    display: inline-block;
    background-color: transparent;
    color: #202124;
    border: 0px solid rgb(95 192 238);
    padding: 6px 12px;
    margin: 4px 8px 12px 0;
    font-size: 13px;
    font-weight: 400;
    border-radius: 0px!important; /* Rectangular total */
    transition: all 0.2s ease-in-out;
}
.attribute-chip:hover {
    background-color: #e8f0fe;
    border-color: #4285f4;
    color: #1a73e8;
}

/* Cuando está seleccionado */
.attribute-chip.selected {
    background-color: #d2e3fc;
    border-color: #1a73e8;
    color: #1a73e8;
}

/* Tabla de precios */
.price-table {
    margin-top: 30px;
    /* font-family: 'Roboto', sans-serif; */
}

.price-table table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 14px;
}

.price-table th,
.price-table td {
    border-bottom: 1px solid #e0e0e0;
    padding: 12px 8px;
}

.price-table th {
    background-color: #f8f9fa;
    font-weight: 500;
    color: #5f6368;
    text-transform: uppercase;
    font-size: 12px;
}

.price-table td {
    background-color: transparent;
    color: #3c4043;
}

.price-table tr:hover td {
    background-color: #f1f3f4;
}
.numeric-chip.quantity {
    display: inline-flex;
    align-items: center;
    border: 0px ;
    border-radius: 90px;
    overflow: hidden;
    /* background-color: #f9f9f9; */
    padding: 4px;
    gap: 0;
}

.numeric-chip.quantity input[type="button"] {
    background-color: #f9f9f9;
    border: none;
    padding: 10px 18px;
    font-size: 16px;
    cursor: pointer;
    color: #333;
    transition: background-color 0.3s;
    height: 100%;
}

.numeric-chip.quantity input[type="button"]:hover {
    background-color: #d0d0d0;
}

.numeric-chip.quantity .qty {
    border: none;
    width: 60px;
    text-align: center;
    font-size: 16px;
    padding: 8px;
    outline: none;
    background-color: white;
}

.woocommerce div.product .summary p.price {
    display: none!important;
    }

