/* WooCommerce Premium Styling Overrides — Cart Styles */

/* Modern 2-Column Cart Layout Grid */
.evo-cart-container {
	margin-top: 1rem !important;
	margin-bottom: 3rem !important;
}

@media (min-width: 1024px) {
	.evo-cart-container {
		display: grid !important;
		grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
		gap: 2rem !important;
	}
}

/* Cart Items Table styling */
.woocommerce-cart-form__contents {
	border-collapse: separate !important;
	border-spacing: 0 !important;
	width: 100% !important;
	border: 1px solid #e2e8f0 !important;
	border-radius: 1rem !important;
	overflow: hidden !important;
	background: #ffffff !important;
	box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05) !important;
}

.woocommerce-cart-form__contents th {
	background: #f8fafc !important;
	color: #475569 !important;
	font-weight: 700 !important;
	text-transform: uppercase !important;
	font-size: 0.75rem !important;
	letter-spacing: 0.05em !important;
	padding: 1rem 1.25rem !important;
	border-bottom: 1px solid #e2e8f0 !important;
	text-align: left !important;
}

.woocommerce-cart-form__contents td {
	padding: 1.25rem !important;
	border-bottom: 1px solid #f1f5f9 !important;
	vertical-align: middle !important;
}

.woocommerce-cart-form__contents tr:last-child td {
	border-bottom: 0 !important;
}

.woocommerce-cart-form__contents tr.cart_item {
	transition: background-color 0.2s ease !important;
}

.woocommerce-cart-form__contents tr.cart_item:hover {
	background-color: rgba(248, 250, 252, 0.5) !important;
}

/* Round remove button styling */
.woocommerce-cart-form__contents a.remove {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 2.25rem !important;
	height: 2.25rem !important;
	border-radius: 9999px !important;
	background-color: #fef2f2 !important;
	color: #ef4444 !important;
	font-size: 1.5rem !important;
	font-weight: normal !important;
	text-decoration: none !important;
	transition: all 0.2s ease-in-out !important;
	line-height: 1 !important;
	cursor: pointer !important;
}

.woocommerce-cart-form__contents a.remove:hover {
	background-color: #ef4444 !important;
	color: #ffffff !important;
	transform: scale(1.05) !important;
}

/* Thumbnail styling */
.woocommerce-cart-form__contents td.product-thumbnail {
	padding: 0.75rem !important;
	width: 96px !important;
}
.woocommerce-cart-form__contents .product-thumbnail img {
	width: 80px !important;
	height: 80px !important;
	border-radius: 0.75rem !important;
	border: 1px solid #e2e8f0 !important;
	object-fit: cover !important;
	display: block !important;
	margin: 0 auto !important;
}

/* Product link */
.woocommerce-cart-form__contents .product-name a {
	font-size: 0.95rem !important;
	font-weight: 700 !important;
	color: #1e293b !important;
	text-decoration: none !important;
	transition: color 0.15s ease !important;
}

.woocommerce-cart-form__contents .product-name a:hover {
	color: #ed1b24 !important;
}

/* Pricing fields */
.woocommerce-cart-form__contents .product-price,
.woocommerce-cart-form__contents .product-subtotal {
	font-size: 0.95rem !important;
	font-weight: 700 !important;
	color: #0f172a !important;
}

.woocommerce-cart-form__contents .product-subtotal {
	color: #ed1b24 !important;
}

/* Custom quantity button in cart */
.woocommerce-cart-form__contents .product-quantity .quantity {
	display: inline-flex;
	align-items: center;
	height: 2.25rem;
	width: 7rem;
	background: #ffffff;
	border: 1px solid #cbd5e1;
	border-radius: 0.5rem;
	overflow: hidden;
}

.woocommerce-cart-form__contents .product-quantity .quantity-btn-minus,
.woocommerce-cart-form__contents .product-quantity .quantity-btn-plus {
	width: 2rem;
	height: 100%;
	color: #64748b;
	background: transparent;
	border: 0;
	font-size: 0.875rem;
	font-weight: 700;
	cursor: pointer;
	transition: background-color 0.15s ease;
	display: flex;
	align-items: center;
	justify-content: center;
}

.woocommerce-cart-form__contents .product-quantity .quantity-btn-minus {
	border-right: 1px solid #e2e8f0;
}

.woocommerce-cart-form__contents .product-quantity .quantity-btn-plus {
	border-left: 1px solid #e2e8f0;
}

.woocommerce-cart-form__contents .product-quantity .quantity-btn-minus:hover,
.woocommerce-cart-form__contents .product-quantity .quantity-btn-plus:hover {
	background-color: #f8fafc;
	color: #ed1b24;
}

.woocommerce-cart-form__contents .product-quantity .qty {
	width: 3rem;
	height: 100%;
	border: 0;
	text-align: center;
	font-size: 0.875rem;
	font-weight: 700;
	color: #0f172a;
	padding: 0;
	background: transparent;
}

/* Coupon & form actions styling */
.woocommerce-cart-form__contents td.actions {
	background-color: #f8fafc !important;
	padding: 1.25rem !important;
	border-top: 1px solid #e2e8f0 !important;
}

.woocommerce-cart-form__contents .coupon {
	display: flex !important;
	flex-direction: row !important;
	gap: 0.75rem !important;
	float: left !important;
	max-width: 100% !important;
	margin-bottom: 0 !important;
	padding: 0 !important;
}

.woocommerce-cart-form__contents .coupon input#coupon_code {
	width: 11rem !important;
	height: 2.5rem !important;
	padding: 0.5rem 0.75rem !important;
	border: 1px solid #cbd5e1 !important;
	border-radius: 0.5rem !important;
	font-size: 0.85rem !important;
	background-color: #ffffff !important;
	outline: none !important;
	box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05) !important;
}

.woocommerce-cart-form__contents .coupon input#coupon_code:focus {
	border-color: #ed1b24 !important;
	box-shadow: 0 0 0 3px rgba(237, 27, 36, 0.1) !important;
}

.woocommerce-cart-form__contents .coupon button[name="apply_coupon"] {
	height: 2.5rem !important;
	padding: 0 1.25rem !important;
	border-radius: 0.5rem !important;
	background-color: #0f172a !important;
	color: #ffffff !important;
	font-size: 0.85rem !important;
	font-weight: 700 !important;
	border: 0 !important;
	transition: background-color 0.2s ease !important;
	cursor: pointer !important;
}

.woocommerce-cart-form__contents .coupon button[name="apply_coupon"]:hover {
	background-color: #1e293b !important;
}

.woocommerce-cart-form__contents button[name="update_cart"] {
	float: right !important;
	height: 2.5rem !important;
	padding: 0 1.5rem !important;
	border-radius: 0.5rem !important;
	background-color: transparent !important;
	border: 1.5px solid #cbd5e1 !important;
	color: #475569 !important;
	font-size: 0.85rem !important;
	font-weight: 700 !important;
	transition: all 0.2s ease !important;
	cursor: pointer !important;
}

.woocommerce-cart-form__contents button[name="update_cart"]:hover {
	background-color: #ffffff !important;
	border-color: #ed1b24 !important;
	color: #ed1b24 !important;
}

/* Cart Collaterals / Checkout totals card */
.cart-collaterals {
	width: 100% !important;
	margin-top: 0 !important;
}

.cart-collaterals .cart_totals {
	width: 100% !important;
	max-width: 100% !important;
	background: #ffffff !important;
	border: 1px solid #e2e8f0 !important;
	border-radius: 1rem !important;
	padding: 1.75rem !important;
	box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05) !important;
}

.cart-collaterals .cart_totals h2 {
	font-size: 1.25rem !important;
	font-weight: 900 !important;
	color: #0f172a !important;
	letter-spacing: -0.025em !important;
	margin-top: 0 !important;
	margin-bottom: 1.5rem !important;
	border-bottom: 1.5px solid #f1f5f9 !important;
	padding-bottom: 0.75rem !important;
}

.cart-collaterals .cart_totals table.shop_table {
	width: 100% !important;
	border-collapse: collapse !important;
	border: 0 !important;
	border-radius: 0 !important;
	margin-bottom: 1.5rem !important;
}

.cart-collaterals .cart_totals table.shop_table tr {
	border-bottom: 1px solid #f1f5f9 !important;
}

.cart-collaterals .cart_totals table.shop_table tr.order-total {
	border-bottom: 0 !important;
}

.cart-collaterals .cart_totals table.shop_table th,
.cart-collaterals .cart_totals table.shop_table td {
	padding: 0.875rem 0 !important;
	border: 0 !important;
	background: transparent !important;
	text-align: left !important;
}

.cart-collaterals .cart_totals table.shop_table th {
	font-size: 0.85rem !important;
	font-weight: 600 !important;
	color: #64748b !important;
	width: 35% !important;
}

.cart-collaterals .cart_totals table.shop_table td {
	font-size: 0.875rem !important;
	font-weight: 700 !important;
	color: #1e293b !important;
}

.cart-collaterals .cart_totals table.shop_table tr.order-total th {
	font-size: 0.95rem !important;
	font-weight: 800 !important;
	color: #0f172a !important;
}

.cart-collaterals .cart_totals table.shop_table tr.order-total td strong {
	font-size: 1.25rem !important;
	font-weight: 900 !important;
	color: #ed1b24 !important;
}

/* Checkout button styling */
.cart-collaterals .cart_totals .wc-proceed-to-checkout a.checkout-button {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	height: 3rem !important;
	width: 100% !important;
	background: #ed1b24 !important;
	color: #ffffff !important;
	font-size: 0.95rem !important;
	font-weight: 700 !important;
	text-decoration: none !important;
	border-radius: 0.75rem !important;
	box-shadow: 0 4px 6px -1px rgba(237, 27, 36, 0.2), 0 2px 4px -1px rgba(237, 27, 36, 0.1) !important;
	transition: all 0.2s ease-in-out !important;
	border: 0 !important;
	cursor: pointer !important;
	margin: 0 !important;
}

.cart-collaterals .cart_totals .wc-proceed-to-checkout a.checkout-button:hover {
	background: #d1121b !important;
	box-shadow: 0 10px 15px -3px rgba(237, 27, 36, 0.3) !important;
	transform: translateY(-1px) !important;
}

/* Mobile responsive layout */
@media (max-width: 1023px) {
	.evo-cart-container > div:first-child {
		margin-bottom: 2rem !important;
	}
}

@media (max-width: 768px) {
	.woocommerce-cart-form__contents,
	.woocommerce-cart-form__contents thead,
	.woocommerce-cart-form__contents tbody,
	.woocommerce-cart-form__contents tr,
	.woocommerce-cart-form__contents th,
	.woocommerce-cart-form__contents td {
		display: block !important;
		width: 100% !important;
	}

	.woocommerce-cart-form__contents thead {
		display: none !important;
	}

	/*
	 * Mobile cart card — 3 columns, thumbnail anchors the entire left edge across all 3 rows:
	 *
	 *   col 1 = 72px (thumb — spans rows 1, 2, 3)
	 *   col 2 = 1fr  (name / price / qty stepper)
	 *   col 3 = auto (remove button / price cont. / subtotal)
	 *
	 *  Row 1: [img]  Nome do produto             [×]
	 *  Row 2: [img]  SKU · R$ 45,00 / unit ───────→
	 *  Row 3: [img]  [− 1 +]          R$ 45,00
	 *
	 *  Name + SKU stay glued to the image.
	 *  Qty + subtotal are compact in the same row, right of the image.
	 */
	.woocommerce-cart-form__contents tr.cart_item {
		display: grid !important;
		grid-template-columns: 72px 1fr auto !important;
		grid-template-areas:
			"thumb name    remove"
			"thumb price   price"
			"thumb qty     subtotal" !important;
		gap: 0.3rem 0.75rem !important;
		position: static !important;
		padding: 0.875rem !important;
		border-bottom: 1.5px solid #f1f5f9 !important;
	}

	.woocommerce-cart-form__contents tr.cart_item td {
		display: block !important;
		padding: 0 !important;
		border: 0 !important;
		text-align: left !important;
		width: auto !important;
	}

	.woocommerce-cart-form__contents tr.cart_item td::before {
		display: none !important;
	}

	/* Thumbnail — spans all 3 rows, image flush to top */
	.woocommerce-cart-form__contents tr.cart_item td.product-thumbnail {
		grid-area: thumb !important;
		display: flex !important;
		align-items: flex-start !important;
		justify-content: flex-start !important;
	}

	.woocommerce-cart-form__contents tr.cart_item td.product-name {
		grid-area: name !important;
		justify-self: start !important;
		text-align: left !important;
		font-size: 0.8125rem !important;
		font-weight: 700 !important;
		line-height: 1.3 !important;
		align-self: start !important;
	}

	/* SKU badge */
	.woocommerce-cart-form__contents .product-name .evo-cart-sku {
		font-size: 0.6875rem !important;
		margin-top: 0.1rem !important;
	}

	/* Brand text (mobile) */
	.woocommerce-cart-form__contents .product-name .evo-cart-brand {
		font-size: 0.625rem !important;
		margin-top: 0.15rem !important;
	}

	/* Unit price — row 2, spans cols 2-3 */
	.woocommerce-cart-form__contents tr.cart_item td.product-price {
		grid-area: price !important;
		font-size: 0.8125rem !important;
		font-weight: 600 !important;
		color: #475569 !important;
		align-self: center !important;
	}

	/* Qty stepper — row 3, col 2; compact size */
	.woocommerce-cart-form__contents tr.cart_item td.product-quantity {
		grid-area: qty !important;
		display: flex !important;
		align-items: center !important;
	}

	.woocommerce-cart-form__contents .product-quantity .quantity {
		height: 1.875rem;
		width: 6rem;
	}

	.woocommerce-cart-form__contents .product-quantity .quantity-btn-minus,
	.woocommerce-cart-form__contents .product-quantity .quantity-btn-plus {
		width: 1.625rem;
	}

	.woocommerce-cart-form__contents .product-quantity .qty {
		font-size: 0.8125rem;
	}

	/* Subtotal — row 3, col 3; right-aligned, same row as stepper */
	.woocommerce-cart-form__contents tr.cart_item td.product-subtotal {
		grid-area: subtotal !important;
		display: flex !important;
		align-items: center !important;
		justify-content: flex-end !important;
		font-size: 0.875rem !important;
		font-weight: 700 !important;
		color: #ed1b24 !important;
		white-space: nowrap !important;
	}

	.woocommerce-cart-form__contents tr.cart_item td.product-subtotal::before {
		display: none !important;
	}

	/* Remove button — row 1, col 3; in grid flow, vertically top-aligned */
	.woocommerce-cart-form__contents tr.cart_item td.product-remove {
		grid-area: remove !important;
		position: static !important;
		display: flex !important;
		align-items: flex-start !important;
		justify-content: center !important;
		width: auto !important;
	}

	.woocommerce-cart-form__contents tr.cart_item td.product-remove::before {
		display: none !important;
	}

	/* Actions cell on mobile */
	.woocommerce-cart-form__contents td.actions {
		display: flex !important;
		flex-direction: column !important;
		gap: 1rem !important;
		padding: 1.25rem !important;
	}

	.woocommerce-cart-form__contents .coupon {
		width: 100% !important;
		display: flex !important;
		flex-direction: column !important;
		gap: 0.75rem !important;
	}

	.woocommerce-cart-form__contents .coupon input#coupon_code {
		width: 100% !important;
		height: 2.75rem !important;
	}

	.woocommerce-cart-form__contents .coupon button[name="apply_coupon"] {
		width: 100% !important;
		height: 2.75rem !important;
	}

	.woocommerce-cart-form__contents button[name="update_cart"] {
		width: 100% !important;
		height: 2.75rem !important;
		float: none !important;
	}

	/* Responsive alignment for Cart Totals summary on mobile */
	.cart-collaterals .cart_totals table.shop_table,
	.cart-collaterals .cart_totals table.shop_table tbody,
	.cart-collaterals .cart_totals table.shop_table tr,
	.cart-collaterals .cart_totals table.shop_table th,
	.cart-collaterals .cart_totals table.shop_table td {
		display: block !important;
		width: 100% !important;
	}

	.cart-collaterals .cart_totals table.shop_table tr {
		display: flex !important;
		justify-content: space-between !important;
		align-items: center !important;
		padding: 0.875rem 0 !important;
		border-bottom: 1px solid #f1f5f9 !important;
	}

	.cart-collaterals .cart_totals table.shop_table th {
		width: auto !important;
		padding: 0 !important;
		margin: 0 !important;
	}

	.cart-collaterals .cart_totals table.shop_table td {
		text-align: right !important;
		width: auto !important;
		padding: 0 !important;
		margin: 0 !important;
		display: flex !important;
		align-items: center !important;
	}

	/* Hide the default data-title colon insertions from WooCommerce */
	.cart-collaterals .cart_totals table.shop_table td::before {
		display: none !important;
	}
}

/* ================================================
   Cart – Empty State
   ================================================ */
.woocommerce-cart p.cart-empty {
	display: none !important;
}

/* Single-column wrapper (no saved carts) */
.evo-cart-empty-layout {
	max-width: 480px;
	margin: 3rem auto;
}

/* Two-column wrapper (empty cart + saved carts side-by-side) */
.evo-cart-empty-layout--two-col {
	max-width: 860px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.5rem;
	align-items: start;
	margin: 0 auto;
}

.evo-cart-empty-layout--two-col .evo-cart-empty {
	max-width: none;
	margin: 0;
}

.evo-cart-empty-layout--two-col .evo-save-cart--empty-page {
	margin-top: 0;
}

@media (max-width: 640px) {
	.evo-cart-empty-layout--two-col {
		grid-template-columns: 1fr;
	}
}

.evo-cart-empty {
	max-width: 480px;
	margin: 0 auto;
	padding: 2.5rem 2rem;
	text-align: center;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
}

.evo-cart-empty__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 4rem;
	height: 4rem;
	background: #f3f4f6;
	border-radius: 50%;
	margin: 0 auto 1.25rem;
	color: #6b7280;
}

.evo-cart-empty__title {
	font-size: 1.25rem;
	font-weight: 700;
	color: #111827;
	margin-bottom: 0.5rem;
}

.evo-cart-empty__subtitle {
	font-size: 0.875rem;
	color: #6b7280;
	margin-bottom: 1.75rem;
	line-height: 1.5;
}

.evo-cart-empty .return-to-shop {
	margin: 0;
	padding: 0;
}

.evo-cart-empty .return-to-shop a.button {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	background: #000;
	color: #fff !important;
	border: none;
	border-radius: 8px;
	padding: 0.625rem 1.5rem;
	font-size: 0.875rem;
	font-weight: 600;
	text-decoration: none;
	transition: background 0.15s, transform 0.1s;
}

.evo-cart-empty .return-to-shop a.button:hover {
	background: #1f2937;
	transform: translateY(-1px);
}

/* SKU display below product name in cart */
.woocommerce-cart-form__contents .product-name .evo-cart-sku {
	display: block;
	font-size: 0.7rem;
	color: #9ca3af;
	margin-top: 0.2rem;
	font-family: monospace;
	letter-spacing: 0.02em;
}

/* Brand display below SKU in cart — mirrors SKU style, clickable when linked.
   !important needed to override the generic .product-name a rule. */
.woocommerce-cart-form__contents .product-name .evo-cart-brand {
	display: block !important;
	font-size: 0.7rem !important;
	font-weight: 400 !important;
	color: #9ca3af !important;
	font-family: monospace !important;
	letter-spacing: 0.02em !important;
	text-decoration: none !important;
}

.woocommerce-cart-form__contents .product-name a.evo-cart-brand:hover {
	color: #64748b !important;
	text-decoration: underline !important;
}

/* ================================================
   Save Cart / Saved Carts Panel
   ================================================ */

.evo-save-cart {
	margin-top: 1rem;
	border: 1px solid #e5e7eb;
	border-radius: 0.75rem;
	background: #f9fafb;
	overflow: hidden;
}

/* Top bar with the trigger button */
.evo-save-cart__bar {
	padding: 0.875rem 1.25rem;
}

.evo-save-cart__trigger-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.5rem 1rem;
	background: #ffffff;
	border: 1px solid #d1d5db;
	border-radius: 0.5rem;
	font-size: 0.8125rem;
	font-weight: 500;
	color: #374151;
	cursor: pointer;
	transition: background 0.15s, border-color 0.15s;
	line-height: 1;
}

.evo-save-cart__trigger-btn:hover {
	background: #f3f4f6;
	border-color: #9ca3af;
}

/* Inline form — hidden until trigger is clicked */
.evo-save-cart__form {
	display: none;
	padding: 0 1.25rem 1rem;
	gap: 0.5rem;
	flex-direction: column;
}

.evo-save-cart__form.is-open {
	display: flex;
}

.evo-save-cart__name-input {
	width: 100%;
	padding: 0.5rem 0.75rem;
	border: 1px solid #d1d5db;
	border-radius: 0.5rem;
	font-size: 0.875rem;
	color: #111827;
	background: #fff;
	outline: none;
	transition: border-color 0.15s, box-shadow 0.15s;
}

.evo-save-cart__name-input:focus {
	border-color: #000;
	box-shadow: 0 0 0 3px rgba(0,0,0,0.06);
}

.evo-save-cart__form-actions {
	display: flex;
	gap: 0.5rem;
}

.evo-save-cart__btn-confirm {
	padding: 0.5rem 1.25rem;
	background: #000;
	color: #fff;
	border: none;
	border-radius: 0.5rem;
	font-size: 0.8125rem;
	font-weight: 600;
	cursor: pointer;
	transition: opacity 0.15s;
}

.evo-save-cart__btn-confirm:hover { opacity: 0.85; }

.evo-save-cart__btn-confirm:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.evo-save-cart__btn-cancel {
	padding: 0.5rem 1rem;
	background: transparent;
	border: 1px solid #d1d5db;
	border-radius: 0.5rem;
	font-size: 0.8125rem;
	font-weight: 500;
	color: #6b7280;
	cursor: pointer;
	transition: background 0.15s;
}

.evo-save-cart__btn-cancel:hover { background: #f3f4f6; }

/* Saved carts list */
.evo-saved-carts {
	border-top: 1px solid #e5e7eb;
	padding: 0.875rem 1.25rem;
}

.evo-saved-carts__heading {
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #9ca3af;
	margin-bottom: 0.625rem;
}

.evo-saved-carts__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.evo-saved-carts__item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	padding: 0.625rem 0.875rem;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 0.5rem;
	transition: border-color 0.15s;
}

.evo-saved-carts__item:hover { border-color: #d1d5db; }

.evo-saved-carts__info {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.evo-saved-carts__name {
	font-size: 0.8125rem;
	font-weight: 600;
	color: #111827;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.evo-saved-carts__meta {
	font-size: 0.7rem;
	color: #9ca3af;
	margin-top: 0.1rem;
	font-family: monospace;
}

.evo-saved-carts__item-actions {
	display: flex;
	align-items: center;
	gap: 0.375rem;
	flex-shrink: 0;
}

.evo-load-cart-btn {
	padding: 0.3rem 0.75rem;
	background: #000;
	color: #fff;
	border: none;
	border-radius: 0.375rem;
	font-size: 0.75rem;
	font-weight: 600;
	cursor: pointer;
	transition: opacity 0.15s;
	white-space: nowrap;
}

.evo-load-cart-btn:hover { opacity: 0.8; }

.evo-delete-cart-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 1.75rem;
	height: 1.75rem;
	background: transparent;
	border: 1px solid #e5e7eb;
	border-radius: 0.375rem;
	color: #9ca3af;
	cursor: pointer;
	transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.evo-delete-cart-btn:hover {
	background: #fef2f2;
	border-color: #fecaca;
	color: #dc2626;
}

@media (max-width: 480px) {
	.evo-saved-carts__item {
		flex-direction: column;
		align-items: flex-start;
	}
	.evo-saved-carts__item-actions {
		width: 100%;
		justify-content: flex-end;
	}
}

/* ── Shipping methods in cart totals ── */
tr.woocommerce-shipping-totals ul.woocommerce-shipping-methods {
	list-style: none !important;
	margin: 0 0 8px !important;
	padding: 0 !important;
	display: flex !important;
	flex-direction: column !important;
	gap: 6px !important;
}

tr.woocommerce-shipping-totals ul.woocommerce-shipping-methods li {
	margin: 0 !important;
	padding: 0 !important;
}

tr.woocommerce-shipping-totals ul.woocommerce-shipping-methods input[type="radio"] {
	position: absolute !important;
	opacity: 0 !important;
	width: 1px !important;
	height: 1px !important;
}

tr.woocommerce-shipping-totals ul.woocommerce-shipping-methods label .evo-ship-icon {
	width: 28px !important;
	height: 28px !important;
	border-radius: 7px !important;
	background: #f1f5f9 !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	color: #64748b !important;
	flex-shrink: 0 !important;
	transition: background 0.15s, color 0.15s;
}

tr.woocommerce-shipping-totals ul.woocommerce-shipping-methods input:checked + label .evo-ship-icon {
	background: #fef2f2 !important;
	color: #ed1b24 !important;
}

tr.woocommerce-shipping-totals ul.woocommerce-shipping-methods label {
	display: flex !important;
	align-items: center !important;
	gap: 10px !important;
	padding: 10px 12px !important;
	border: 1.5px solid #e2e8f0 !important;
	border-radius: 10px !important;
	background: #f8fafc !important;
	cursor: pointer !important;
	font-size: 0.875rem !important;
	color: #334155 !important;
	font-weight: 500 !important;
	width: 100% !important;
	box-sizing: border-box !important;
	margin: 0 !important;
	transition: border-color 0.15s, background 0.15s;
	position: relative !important;
}

tr.woocommerce-shipping-totals ul.woocommerce-shipping-methods label::before {
	content: '' !important;
	flex-shrink: 0 !important;
	width: 16px !important;
	height: 16px !important;
	border-radius: 50% !important;
	border: 2px solid #cbd5e1 !important;
	background: #fff !important;
	transition: border-color 0.15s, border-width 0.1s;
}

tr.woocommerce-shipping-totals ul.woocommerce-shipping-methods li:hover label {
	border-color: #cbd5e1 !important;
	background: #fff !important;
}

tr.woocommerce-shipping-totals ul.woocommerce-shipping-methods input:checked + label {
	border-color: #ed1b24 !important;
	background: #fff !important;
	color: #0f172a !important;
	font-weight: 600 !important;
}

tr.woocommerce-shipping-totals ul.woocommerce-shipping-methods input:checked + label::before {
	border-color: #ed1b24 !important;
	border-width: 5px !important;
}

.woocommerce-shipping-destination {
	font-size: 0.8rem !important;
	color: #64748b !important;
	margin: 6px 0 0 !important;
}

.shipping-calculator-button {
	font-size: 0.8rem !important;
	color: #64748b !important;
	text-decoration: underline !important;
}

.evo-cart-topbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 16px;
	flex-wrap: wrap;
}
.evo-cart-topbar .evo-save-cart {
	flex: 1;
	min-width: 0;
}
.evo-cart-print-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 14px;
	background: #f1f5f9;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	font-size: 13px;
	font-weight: 600;
	color: #374151;
	cursor: pointer;
	white-space: nowrap;
	transition: background .15s;
}
.evo-cart-print-btn:hover {
	background: #e2e8f0;
}
.evo-cart-cot-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 14px;
	background: #f1f5f9;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	font-size: 13px;
	font-weight: 600;
	color: #374151;
	cursor: pointer;
	white-space: nowrap;
	transition: background .15s;
}
.evo-cart-cot-btn:hover {
	background: #e2e8f0;
}
