/**
 * Componente: Cart Summary (Desglose de Totales de Pedido)
 * Ubicación: components/cart-summary/cart-summary.css
 *
 * @package UnionnFoodFlow
 */

.uff-cart-summary {
	width: 100%;
	background: var(--uff-color-white, #ffffff);
	border: 1px solid var(--uff-color-border, rgba(37,62,102,.08));
	border-radius: var(--uff-card-radius, var(--uff-radius-lg, 18px)); /* Radio unificado */
	padding: var(--uff-card-padding, var(--uff-space-5, 20px)); /* Padding unificado */
	box-shadow: var(--uff-card-shadow, var(--uff-shadow-md)); /* Sombra unificada */
	box-sizing: border-box;
	font-family: var(--uff-font-body, sans-serif);
	display: flex;
	flex-direction: column;
	gap: var(--uff-space-4, 16px);
}

/* Filas estándar de importes (Subtotal, Envío, Impuestos) */
.uff-cart-summary__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	font-size: var(--uff-text-sm, 14px);
	color: var(--uff-color-text-light, #666666);
	line-height: 1.2;
}

.uff-cart-summary__value {
	font-weight: var(--uff-font-semibold, 600);
	color: var(--uff-color-text, #253e66);
}

/* Línea divisoria elegante */
.uff-cart-summary__divider {
	border: none;
	border-top: 1px dashed var(--uff-color-border, rgba(37,62,102,.08));
	margin: var(--uff-space-1, 4px) 0;
	width: 100%;
}

/* Fila del Gran Total Destacado */
.uff-cart-summary__row--total {
	font-size: var(--uff-text-md, 15px);
	font-weight: var(--uff-font-bold, 700);
	color: var(--uff-color-text, #253e66);
}

.uff-cart-summary__row--total .uff-cart-summary__value {
	font-size: var(--uff-text-xl, 20px);
	font-weight: var(--uff-font-bold, 700);
}