body.woocommerce-cart {
	--fstp-cart-azul: #000f9f;
	--fstp-cart-gris-texto: #4c545f;
	--fstp-cart-gris-borde: #e2e5ea;
}

/* --------------------------------------------------------------------------
   1) Encabezado de la tabla (PRODUCTO / PRECIO / SUBTOTAL)
   -------------------------------------------------------------------------- */
body.woocommerce-cart table.woocommerce-cart-form__contents thead th {
	padding: 18px 16px !important;
	color: var(--fstp-cart-azul) !important;
	font-weight: 700 !important;
	letter-spacing: .4px;
	border-bottom: 2px solid var(--fstp-cart-gris-borde) !important;
}

body.woocommerce-cart table.woocommerce-cart-form__contents thead th.product-price,
body.woocommerce-cart table.woocommerce-cart-form__contents thead th.product-subtotal,
body.woocommerce-cart table.woocommerce-cart-form__contents tbody td.product-price,
body.woocommerce-cart table.woocommerce-cart-form__contents tbody td.product-subtotal {
	padding-left: 28px !important; 
}

body.woocommerce-cart table.woocommerce-cart-form__contents thead th.product-subtotal,
body.woocommerce-cart table.woocommerce-cart-form__contents tbody td.product-subtotal {
	padding-right: 24px !important;
}

/* --------------------------------------------------------------------------
   2) Filas de producto: más aire vertical y miniatura con esquinas suaves
   -------------------------------------------------------------------------- */
body.woocommerce-cart table.woocommerce-cart-form__contents tbody td {
	padding-top: 22px !important;
	padding-bottom: 22px !important;
	vertical-align: middle !important;
}

body.woocommerce-cart table.woocommerce-cart-form__contents tbody tr.cart_item {
	border-bottom: 1px solid var(--fstp-cart-gris-borde);
}

body.woocommerce-cart table.woocommerce-cart-form__contents td.product-thumbnail img {
	border-radius: 8px;
}

body.woocommerce-cart table.woocommerce-cart-form__contents .woocommerce-Price-amount {
	color: var(--fstp-cart-azul) !important;
}

body.woocommerce-cart table.woocommerce-cart-form__contents {
	border-collapse: separate;
	border-spacing: 0;
}

body.woocommerce-cart table.woocommerce-cart-form__contents thead th,
body.woocommerce-cart table.woocommerce-cart-form__contents tbody tr.cart_item td {
	background: #fff;
}

body.woocommerce-cart table.woocommerce-cart-form__contents thead th {
	border-top: 1px solid var(--fstp-cart-gris-borde);
}

body.woocommerce-cart table.woocommerce-cart-form__contents thead th:first-child,
body.woocommerce-cart table.woocommerce-cart-form__contents tbody tr.cart_item td:first-child {
	border-left: 1px solid var(--fstp-cart-gris-borde);
}

body.woocommerce-cart table.woocommerce-cart-form__contents thead th:last-child,
body.woocommerce-cart table.woocommerce-cart-form__contents tbody tr.cart_item td:last-child {
	border-right: 1px solid var(--fstp-cart-gris-borde);
}

body.woocommerce-cart table.woocommerce-cart-form__contents thead th:first-child {
	border-top-left-radius: 12px;
}

body.woocommerce-cart table.woocommerce-cart-form__contents thead th:last-child {
	border-top-right-radius: 12px;
}

body.woocommerce-cart table.woocommerce-cart-form__contents tbody tr.cart_item:has(+ tr.wd-cart-action-row) td {
	border-bottom: 1px solid var(--fstp-cart-gris-borde);
}

body.woocommerce-cart table.woocommerce-cart-form__contents tbody tr.cart_item:has(+ tr.wd-cart-action-row) td:first-child {
	border-bottom-left-radius: 12px;
}

body.woocommerce-cart table.woocommerce-cart-form__contents tbody tr.cart_item:has(+ tr.wd-cart-action-row) td:last-child {
	border-bottom-right-radius: 12px;
}

body.woocommerce-cart table.woocommerce-cart-form__contents tr.wd-cart-action-row td {
	background: transparent !important;
	border: none !important;
	padding-top: 24px !important;
}

body.woocommerce-cart table.woocommerce-cart-form__contents tr.wd-cart-action-row input#coupon_code,
body.woocommerce-cart table.woocommerce-cart-form__contents tr.wd-cart-action-row button[name="apply_coupon"],
body.woocommerce-cart table.woocommerce-cart-form__contents tr.wd-cart-action-row button[name="update_cart"] {
	border-radius: 12px !important;
}

body.woocommerce-cart .elementor-column:has(> .elementor-widget-wrap .wd-cart-table) > .elementor-widget-wrap {
      padding: 0px 15px 15px 15px !important;
}

body.woocommerce-cart section.elementor-inner-section:has(.elementor-widget-wd_cart_totals) {
	border-width: 1px !important;
	border-color: var(--fstp-cart-gris-borde) !important;
	border-radius: 12px !important;
	box-shadow: none !important;
	padding-top: 18px !important;
}

body.woocommerce-cart .elementor-column:has(.elementor-widget-wd_cart_totals) > .elementor-widget-wrap {
	margin-top: 0 !important;
	padding-top: 0 !important;
}

body.woocommerce-cart .cart_totals h2 {
	color: var(--fstp-cart-azul) !important;
	font-weight: 800 !important;
	text-align: left;
	margin-bottom: 18px !important;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--fstp-cart-gris-borde);
}

/* Filas Subtotal / Matrícula / Total: más separación vertical */
body.woocommerce-cart .cart_totals table.shop_table tr th,
body.woocommerce-cart .cart_totals table.shop_table tr td {
	padding: 14px 4px !important;
	font-size: 15px;
}

body.woocommerce-cart .cart_totals table.shop_table tr.order-total {
	border-top: 4px double var(--fstp-cart-gris-borde);
}

body.woocommerce-cart .cart_totals table.shop_table tr.order-total th,
body.woocommerce-cart .cart_totals table.shop_table tr.order-total td {
	font-size: 18px !important;
	font-weight: 800 !important;
	padding-top: 18px !important;
}

body.woocommerce-cart .cart_totals .woocommerce-Price-amount {
	color: var(--fstp-cart-azul) !important;
}

/* --------------------------------------------------------------------------
   4) Botón "Finalizar compra": un poco más de tamaño/peso + micro-aviso
      de confianza debajo (solo texto vía CSS, no agrega ningún elemento
      nuevo al DOM ni cambia el link/acción del botón).
   -------------------------------------------------------------------------- */
body.woocommerce-cart .wc-proceed-to-checkout {
	display: flex;
	flex-direction: column;
	align-items: center;
}

body.woocommerce-cart .wc-proceed-to-checkout .checkout-button {
	padding: 16px 24px !important;
	height: auto !important;
	font-size: 15px !important;
	font-weight: 700 !important;
	letter-spacing: .3px;
	border-radius: 6px !important;
}

body.woocommerce-cart .wc-proceed-to-checkout::after {
	content: "🔒 Pago seguro · SSL encriptado";
	margin-top: 10px;
	font-size: 12px;
	color: var(--fstp-cart-gris-texto);
}

body.woocommerce-cart .entry-content {
	padding-bottom: 48px !important;
}

body.woocommerce-cart .wd-section-stretch-content:has(.wd-page-title) {
	position: static !important;
	left: auto !important;
	right: auto !important;
	width: auto !important;
	min-width: 0 !important;
	border-radius: 12px !important;
	margin-top: 30px !important;
	overflow: hidden;
}

body.woocommerce-cart .wd-page-title-el {
	flex: 1 1 100% !important;
	width: 100% !important;
}

body.woocommerce-cart .wd-page-title.wd-section-stretch {
	position: static !important;
	left: auto !important;
	right: auto !important;
	width: auto !important;
	min-width: 0 !important;
	margin-left: 24px !important;
	margin-right: 24px !important;
	border-radius: 14px !important;
	overflow: hidden;
}

@media (max-width: 767px) {
	body.woocommerce-cart .wd-page-title.wd-section-stretch {
		margin-left: 12px !important;
		margin-right: 12px !important;
		border-radius: 10px !important;
	}

body.woocommerce-cart .wd-section-stretch-content:has(.wd-page-title) {
	margin-bottom: 10px !important;
	margin-left: 10px !important;
	margin-right: 10px !important; 
 }
 body.woocommerce-cart table.woocommerce-cart-form__contents tbody tr.cart_item {
	padding-right: 20px;
 }
}

@media (max-width: 767px) {
	body.woocommerce-cart table.woocommerce-cart-form__contents thead th.product-price,
	body.woocommerce-cart table.woocommerce-cart-form__contents thead th.product-subtotal,
	body.woocommerce-cart table.woocommerce-cart-form__contents tbody td.product-price,
	body.woocommerce-cart table.woocommerce-cart-form__contents tbody td.product-subtotal {
		padding-left: 0 !important;
		padding-right: 0 !important;
	}

	body.woocommerce-cart table.woocommerce-cart-form__contents thead th:first-child,
	body.woocommerce-cart table.woocommerce-cart-form__contents thead th:last-child,
	body.woocommerce-cart table.woocommerce-cart-form__contents tbody tr.cart_item td:first-child,
	body.woocommerce-cart table.woocommerce-cart-form__contents tbody tr.cart_item td:last-child {
		border-left: none !important;
		border-right: none !important;
		border-radius: 0 !important;
	}
	body.woocommerce-cart table.woocommerce-cart-form__contents tbody tr.cart_item td {
		border-bottom: none !important;
	}

	body.woocommerce-cart table.woocommerce-cart-form__contents tbody tr.cart_item td.product-price {
		border-bottom: 1px dashed var(--fstp-cart-gris-borde) !important;
		padding-bottom: 14px !important;
	}

	body.woocommerce-cart table.woocommerce-cart-form__contents tbody tr.cart_item td.product-subtotal {
		padding-top: 14px !important;
	}
	body.woocommerce-cart table.woocommerce-cart-form__contents {
		border: 1px solid var(--fstp-cart-gris-borde);
		border-radius: 12px;
		overflow: hidden;
	}
	body.woocommerce-cart .wc-proceed-to-checkout {
		width: 100%;
	}

	body.woocommerce-cart .wc-proceed-to-checkout > *,
	body.woocommerce-cart .wc-proceed-to-checkout span {
		display: block !important;
		width: 100% !important;
	}

	body.woocommerce-cart .wc-proceed-to-checkout .checkout-button {
		width: calc(100% - 20px) !important;
		margin: 0 10px 10px !important;
		text-align: center;
	}
	body.woocommerce-cart table.woocommerce-cart-form__contents tr.wd-cart-action-row td.actions {
		padding-left: 15px !important;
		padding-right: 15px !important;
	}
	body.woocommerce-cart table.woocommerce-cart-form__contents thead th:first-child,
    body.woocommerce-cart table.woocommerce-cart-form__contents tbody tr.cart_item td:first-child {
	    padding-right: 20px;
}
    .shop-table-with-img td.product-thumbnail img {
		min-width: auto!important;
        max-width: 80px!important;
        margin-left: 20px!important;
	}
}
.elementor-362913 .elementor-element.elementor-element-98263af > .elementor-widget-container {margin: 0px!important;}
