/* Carrito — minimalista, compatible con WooCommerce nativo. */

body.llw-cart-page {
	background: #f3f4f6;
}

body.llw-cart-page .entry-title,
body.llw-cart-page .page-title,
body.llw-cart-page .woocommerce-breadcrumb {
	display: none !important;
}

body.llw-cart-page .site-main,
body.llw-cart-page .content-area,
body.llw-cart-page .elementor-section-wrap {
	padding-top: 0;
}

.llw-cart-shell {
	max-width: 1080px;
	margin: 0 auto 3rem;
	padding: 0 1rem;
	font-family: inherit;
}

.llw-cart-shell__head {
	text-align: center;
	margin: 0 0 1.75rem;
}

.llw-cart-shell__title {
	margin: 0 0 0.35rem;
	font-size: 1.75rem;
	font-weight: 800;
	color: #111827;
}

.llw-cart-shell__sub {
	margin: 0;
	color: #64748b;
	font-size: 0.95rem;
}

.llw-cart-empty {
	max-width: 420px;
	margin: 2.5rem auto 3rem;
	padding: 2.5rem 2rem;
	text-align: center;
	background: #fff;
	border-radius: 20px;
	box-shadow: 0 8px 32px rgba(15, 23, 42, 0.07);
}

.llw-cart-empty__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 72px;
	height: 72px;
	margin-bottom: 1.25rem;
	border-radius: 999px;
	background: #f8fafc;
	color: #94a3b8;
}

.llw-cart-empty__title {
	margin: 0 0 0.5rem;
	font-size: 1.15rem;
	font-weight: 700;
	color: #1f2937;
}

.llw-cart-empty__text {
	margin: 0 0 1.5rem;
	color: #64748b;
	font-size: 0.92rem;
	line-height: 1.55;
}

.llw-cart-shell .woocommerce-cart-form {
	background: #fff;
	border-radius: 20px;
	padding: 1.25rem 1.5rem;
	box-shadow: 0 8px 32px rgba(15, 23, 42, 0.07);
	margin-bottom: 1.25rem;
}

.llw-cart-shell table.shop_table {
	border: 0 !important;
	margin: 0 !important;
}

.llw-cart-shell table.shop_table th,
.llw-cart-shell table.shop_table td {
	border-top: 1px solid #eef2f7 !important;
	padding: 1rem 0.5rem !important;
	vertical-align: middle !important;
}

.llw-cart-shell table.shop_table thead th {
	border-top: 0 !important;
	font-size: 0.78rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #64748b;
	font-weight: 700;
}

.llw-cart-shell .product-thumbnail img {
	width: 72px;
	height: auto;
	border-radius: 10px;
}

.llw-cart-shell .product-name a {
	color: #111827 !important;
	font-weight: 600;
	text-decoration: none !important;
}

.llw-cart-shell .product-remove a {
	color: #94a3b8 !important;
	font-size: 1.4rem;
	line-height: 1;
	text-decoration: none !important;
}

.llw-cart-shell .product-remove a:hover {
	color: #e30613 !important;
}

.llw-cart-shell .quantity .qty {
	width: 4rem;
	padding: 0.45rem 0.5rem;
	border: 1px solid #e2e8f0;
	border-radius: 999px;
	text-align: center;
}

.llw-cart-shell .actions .coupon {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
	align-items: center;
}

.llw-cart-shell .actions .coupon .input-text {
	border-radius: 999px;
	border: 1px solid #e2e8f0;
	padding: 0.65rem 1rem;
	min-width: 180px;
}

.llw-cart-shell .actions .button,
.llw-cart-shell .wc-proceed-to-checkout .checkout-button {
	border-radius: 999px !important;
	font-weight: 700 !important;
}

.llw-cart-shell .cart-collaterals {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
}

.llw-cart-shell .cart_totals {
	background: #fff;
	border-radius: 20px;
	padding: 1.5rem;
	box-shadow: 0 8px 32px rgba(15, 23, 42, 0.07);
	width: 100% !important;
	float: none !important;
}

.llw-cart-shell .cart_totals h2 {
	font-size: 1.05rem;
	font-weight: 700;
	margin: 0 0 1rem;
	color: #111827;
}

.llw-cart-shell .cart_totals table {
	border: 0 !important;
}

.llw-cart-shell .cart_totals th,
.llw-cart-shell .cart_totals td {
	border-top: 1px solid #eef2f7 !important;
	padding: 0.75rem 0 !important;
}

.llw-cart-shell .wc-proceed-to-checkout .checkout-button {
	display: block;
	width: 100%;
	text-align: center;
	background: #e30613 !important;
	color: #fff !important;
	padding: 0.95rem 1.5rem !important;
	border: none !important;
}

.llw-cart-shell .wc-proceed-to-checkout .checkout-button:hover {
	background: #c50511 !important;
}

.llw-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.85rem 1.75rem;
	border-radius: 999px;
	font-weight: 700;
	font-size: 0.92rem;
	text-decoration: none !important;
	transition: background 0.2s ease, transform 0.15s ease;
}

.llw-btn--primary {
	background: #e30613;
	color: #fff !important;
	border: none;
}

.llw-btn--primary:hover {
	background: #c50511;
	color: #fff !important;
	transform: translateY(-1px);
}

@media (min-width: 900px) {
	.llw-cart-shell .cart-collaterals {
		grid-template-columns: 1fr minmax(280px, 340px);
		align-items: start;
	}

	.llw-cart-shell .cart_totals {
		grid-column: 2;
	}
}

@media (max-width: 768px) {
	.llw-cart-shell {
		padding: 0 0.75rem;
		margin-bottom: 2rem;
	}

	.llw-cart-shell__title {
		font-size: 1.45rem;
	}

	.llw-cart-shell .woocommerce-cart-form {
		padding: 0.85rem;
		overflow-x: visible;
	}

	.llw-cart-shell table.shop_table {
		display: block;
		width: 100%;
	}

	.llw-cart-shell table.shop_table thead {
		display: none;
	}

	.llw-cart-shell table.shop_table tbody,
	.llw-cart-shell table.shop_table tr,
	.llw-cart-shell table.shop_table td {
		display: block;
		width: 100%;
	}

	.llw-cart-shell table.shop_table tr {
		position: relative;
		padding: 1rem 0;
		border-bottom: 1px solid #eef2f7;
	}

	.llw-cart-shell table.shop_table tr:last-child {
		border-bottom: 0;
	}

	.llw-cart-shell table.shop_table td {
		border: 0 !important;
		padding: 0.35rem 0 !important;
		text-align: left !important;
	}

	.llw-cart-shell table.shop_table .product-remove {
		position: absolute;
		top: 0.75rem;
		right: 0;
	}

	.llw-cart-shell table.shop_table .product-thumbnail {
		margin-bottom: 0.5rem;
	}

	.llw-cart-shell table.shop_table .product-name {
		font-size: 0.95rem;
		padding-right: 2rem !important;
	}

	.llw-cart-shell .actions .coupon {
		flex-direction: column;
		align-items: stretch;
	}

	.llw-cart-shell .actions .coupon .input-text {
		width: 100%;
		min-width: 0;
	}

	.llw-cart-shell .actions .button {
		width: 100%;
	}
}
