.cart-container {
    background-color: #f7f3f0;
    background-image: url("images/paper-back.png");
    padding: 30px 5%;
    font-family: 'MuseoSansRounded300', sans-serif;
}

.cart-title {
    font-family: 'MuseoSansRounded700', sans-serif;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 30px;
}

/* --- Encabezado del Listado --- */
.cart-list-header {
    display: flex;
    justify-content: flex-end; /* Alinea los títulos a la derecha */
    padding: 10px 20px;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 10px;
    font-family: 'MuseoSansRounded500', sans-serif;
    color: #666;
    font-size: 0.9rem;
}

.header-product { flex-grow: 1; }
.header-price { width: 100px; text-align: center; }
.header-qty { width: 120px; text-align: center; }
.header-remove { width: 40px; }

/* --- Contenedor de la Imagen --- */
.product-img-container {
    width: 60px; /* Tamaño compacto según captura */
    height: 60px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- Control de la Imagen Propiamente --- */
.img-fluid-cart {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* --- Ajuste del Item para coincidir con Encabezado --- */
.cart-item {
    background: white;
    border-radius: 12px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.product-details {
    flex-grow: 1; /* El nombre del producto ocupa el espacio restante */
}

.product-name {
    font-family: 'MuseoSansRounded700', sans-serif;
    font-size: 16px;
    color: #333;
    margin: 0;
}

.product-info {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-grow: 1;
}

.product-price {
    width: 100px;
    text-align: center;
    font-family: 'MuseoSansRounded700', sans-serif;
}

.quantity-control-wrapper {
    width: 120px;
    display: flex;
    justify-content: center;
}

.remove-btn {
    width: 40px;
    background: none;
    border: none;
    color: #333; /* Color oscuro según prototipo */
    font-size: 1.2rem;
    cursor: pointer;
}

.remove-btn:hover {
    color: #e74c3c; /* Rojo suave al pasar el mouse */
}

/* --- Contenedor Principal (Grisáceo) --- */
.trust-banner-content {
    /* Fondo grisáceo muy suave */
    background-color: #f5f5f5; 
    /* Padding para que respire, pero horizontalmente alineado */
    padding: 20px 25px; 
    border-radius: 12px;
    border: 1px solid #e0e0e0; /* Borde sutil */
    margin-bottom: 30px; /* Separación con el siguiente elemento */
}

/* --- Disposición Horizontal de Cada Item --- */
.trust-item-horizontal {
    display: flex;
    align-items: center; /* Centrado vertical del icono con el texto */
    justify-content: center; /* Centrado horizontal del conjunto en la columna */
    gap: 12px; /* Espacio exacto entre icono y texto */
    text-align: left; /* El texto se alinea a la izquierda de su bloque */
}

/* --- Íconos Pequeños y Minimalistas --- */
.trust-icon-small {
    display: flex;
    align-items: center;
    justify-content: center;
    /* Color de los iconos: El mismo verde de los botones */
    color: #2b4d06; 
    font-size: 20px; /* Tamaño reducido según prototipo */
    /* SE ELIMINAN: background-color, border-radius, width, height, shadow */
}

/* --- Texto del Banner --- */
.trust-text {
    font-family: 'MuseoSansRounded500', sans-serif;
    color: #4a4a4a; /* Texto oscuro sutil */
    font-size: 15px; /* Tamaño de fuente según prototipo */
    line-height: 1.2; /* Ajuste de línea para alineación */
}

/* Ajustes para Móvil */
@media (max-width: 768px) {
    .trust-item-horizontal {
        justify-content: flex-start; /* En móvil, alinear a la izquierda */
        padding-left: 20px; /* Pequeño padding de seguridad */
    }
}

/* Panel de Resumen */
.summary-panel {
    background: white;
    padding: 30px;
    border-radius: 15px;
    border: 1px solid #eee;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.summary-row.total {
    font-family: 'MuseoSansRounded700', sans-serif;
    font-size: 1.2rem;
}

/* Botones con degradado */
.btn-checkout, .btn-calculate, .btn-whatsapp-help {
    width: 100%;
    border: none;
    border-radius: 8px;
    padding: 12px;
    font-family: 'MuseoSansRounded700', sans-serif;
    color: white;
    background: linear-gradient(to bottom, #76b82a 0%, #2b4d06 100%);
    font-weight: bold;
    transition: filter 0.3s ease;
    text-decoration-line: none;
    box-shadow: -3px 3px 10px rgba(0,0,0,0.4);
}

.btn-whatsapp-help {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 0.9rem;
}

.btn-continue-shopping {
    display: block;
    text-align: center;
    padding: 12px;
    border: 1px solid #2d5a3a;
    border-radius: 8px;
    color: #2d5a3a;
    text-decoration: none;
    font-family: 'MuseoSansRounded700', sans-serif;
}

/* --- Control de Cantidad Estilizado --- */
.quantity-control {
    display: flex;
    align-items: center;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.quantity-control button {
    border: none;
    background: none;
    padding: 5px 10px;
    font-size: 1.1rem;
}

.quantity-control input {
    width: 35px;
    border: none;
    background: transparent;
    text-align: center;
    font-family: 'MuseoSansRounded700', sans-serif;
}