/* Reset de estilos para el carrito dividido */

/* Contenedor principal */


/* Encabezado del vendedor */
body .vendor-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eeeeee;
}

/* Tabla de productos */
body .vendor-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

body .vendor-table thead {
    background-color: #f8f8f8;
}

body .vendor-table th {
    font-weight: 600;
    color: #333333;
    padding: 12px 10px;
    text-align: left;
    border-bottom: 2px solid #dddddd;
    font-size: 14px;
}

body .vendor-table td {
    padding: 12px 10px;
    border-bottom: 1px solid #eeeeee;
    vertical-align: middle;
    font-size: 14px;
}

/* Celdas específicas */
body .vendor-thumb-name {
    display: flex;
    align-items: center;
    gap: 12px;
}

body .vendor-thumb-name img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 4px;
}

body .qty-field {
    width: 3rem !important;
    padding: 4px !important;
    text-align: center;
    border: 1px solid #dddddd;
    border-radius: 4px;
    font-size: 14px;
}

/* Botones */
body .vendor-remove a.remove-item {
    color: #ff0000;
    font-size: 18px;
    text-decoration: none;
    display: inline-block;
    width: 24px;
    height: 24px;
    text-align: center;
    line-height: 24px;
}

/* Totales y botón de pago */
body .vendor-total-label {
    text-align: right;
    font-weight: 600;
    font-size: 16px;
    margin: 20px 0;
    color: #333333;
}

body .pay-form {
    margin-top: 25px;
        display: flex;
        justify-content: center;
}

body .pay-form .button-carrito {
    display: block;
    width: 100%;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    background-color: #000;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-align: center;
    border: solid 1px #00000;

}


/* Spinner */
body .pay-btn .spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: #ffffff;
    animation: spin 1s ease-in-out infinite;
    margin-right: 8px;
    vertical-align: middle;
}

/* Layout de grilla de carritos */
.vendor-cart-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin-top: 30px;
}


/* Responsive para tablet y celular */
@media (max-width: 1024px) {
    .vendor-cart-grid .vendor-cart {
        flex: 1 1 100%;
        max-width: 100%;
    }
}



@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 768px) {

    
    body .vendor-table th,
    body .vendor-table td {
        padding: 10px 8px;
        font-size: 13px;
    }
    
    body .vendor-thumb-name img {
        width: 50px;
        height: 50px;
    }
    
    input.qty-field {
        width: 4rem !important;
          padding: 4px !important; /* Ajusta según sea necesario */
      }
      .vendor-cart h3 {
          font-size: 1.5rem !important;
      }
    
}