/* =====================================================================
 * Campus CODEINEP — carrito y checkout (WooCommerce clásico)
 * Según Campus-Carrito.dc.html y Campus-Checkout.dc.html.
 * Solo estilos sobre las clases estándar de WooCommerce.
 * ===================================================================== */

body.ch-shop {
	--ch-ink: #0B1B4D;
	--ch-muted: #74747c;
	--ch-violet: var(--ch-accent, #2E5BFF);
	--ch-violet-dark: var(--ch-accent-hover);
	--ch-purple: #2E5BFF;
	--ch-green: #1f9d6b;
	--ch-line: rgba(0, 0, 0, .08);
	background: #f9f8fc !important;
}
body.ch-shop #main-content,
body.ch-shop .site-content,
body.ch-shop #wrapper-container,
body.ch-shop .content-pusher { background: #f9f8fc !important; }
/* mismo ancho que el header (variables en campus-global.css) */
body.ch-shop .site-content {
	width: auto !important; max-width: var(--ch-page-max, 1160px) !important; margin: 0 auto !important;
	padding: 40px var(--ch-page-pad, 32px) 72px !important; box-sizing: border-box;
}
body.ch-shop .site-content > .row { margin: 0 !important; }
body.ch-shop .site-content > .row > .site-main { width: 100% !important; float: none !important; padding: 0 !important; }

body.ch-shop .site-content,
body.ch-shop .site-content :is(h1, h2, h3, p, a, label, input, select, textarea, button, th, td, li, span:not([class*="fa"]), strong, small) {
	font-family: 'Manrope', system-ui, sans-serif;
}
body.ch-shop .site-content { color: var(--ch-ink); -webkit-font-smoothing: antialiased; }
body.ch-shop .site-content :is(h1, h2, h3) { text-transform: none !important; letter-spacing: -.01em; }
body.ch-shop .site-content a { color: var(--ch-violet); }

/* ---------- Título ---------- */
.ch-shop-head { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 6px 20px; margin-bottom: 24px; }
.ch-shop-head__crumbs { flex: 1 0 100%; font-size: 12.5px; color: #8f8f9c; }
body.ch-shop .ch-shop-head__crumbs a { color: #8f8f9c !important; text-decoration: none; }
body.ch-shop .ch-shop-head__crumbs a:hover { color: #5c5c66 !important; }
body.ch-shop .ch-shop-head__title {
	margin: 0 !important; padding: 0 !important; font-size: 30px !important; font-weight: 800 !important;
	line-height: 1.2 !important; color: var(--ch-ink) !important;
}
.ch-shop-head__secure { margin-left: auto; display: inline-flex; gap: 8px; align-items: center; font-size: 12.5px; color: var(--ch-muted); padding-bottom: 6px; }

/* candado dibujado con CSS (no depende de ninguna fuente de íconos) */
.ch-lock {
	display: inline-block; width: 12px; height: 12px; flex: none; background: var(--ch-green);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M144 144v48h160v-48a80 80 0 0 0-160 0zm-64 48v-48a144 144 0 0 1 288 0v48h16c35 0 64 29 64 64v192c0 35-29 64-64 64H64c-35 0-64-29-64-64V256c0-35 29-64 64-64h16z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M144 144v48h160v-48a80 80 0 0 0-160 0zm-64 48v-48a144 144 0 0 1 288 0v48h16c35 0 64 29 64 64v192c0 35-29 64-64 64H64c-35 0-64-29-64-64V256c0-35 29-64 64-64h16z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ---------- Avisos del texto de la página (compra grupal, USD) ---------- */
.ch-shop-notes { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.ch-shop-note {
	display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px;
	background: #fff; border: 1px solid var(--ch-line); font-size: 13.5px; line-height: 1.55; color: #52525c;
}
.ch-shop-note p { margin: 0 !important; }
.ch-shop-note > i, .ch-shop-note p > i:first-child { color: var(--ch-purple); margin-top: 3px; }

/* Selector de moneda (CURCY) */
.ch-currency { display: flex; justify-content: flex-end; align-items: center; gap: 10px; font-size: 12.5px; color: #5c5c66; margin-bottom: 16px; }
.ch-currency .woocommerce-multi-currency { margin: 0 !important; }
.ch-currency .wmc-currency-wrapper { border-radius: 10px !important; border: 1px solid rgba(0, 0, 0, .12) !important; background: #fff !important; }

/* WooCommerce avisos */
body.ch-shop .woocommerce :is(.woocommerce-info, .woocommerce-message, .woocommerce-error) {
	border: 1px solid var(--ch-line) !important; border-top: 3px solid var(--ch-violet) !important;
	border-radius: 14px !important; background: #fff !important; color: #52525c !important;
	font-size: 13.5px; padding: 14px 18px 14px 18px !important; margin: 0 0 16px !important; list-style: none;
}
body.ch-shop .woocommerce :is(.woocommerce-info, .woocommerce-message, .woocommerce-error)::before { display: none !important; }
body.ch-shop .woocommerce .woocommerce-error { border-top-color: #d13a6b !important; }
body.ch-shop .woocommerce .woocommerce-message { border-top-color: var(--ch-green) !important; }

/* Botones */
body.ch-shop .woocommerce :is(.button, button.button, a.button, input.button) {
	display: inline-flex !important; align-items: center; justify-content: center; gap: 8px;
	padding: 12px 22px !important; border-radius: 40px !important; border: 1px solid rgba(0, 0, 0, .14) !important;
	background: #fff !important; color: var(--ch-ink) !important;
	font: 700 13.5px/1.2 'Manrope', system-ui, sans-serif !important; text-transform: none !important;
	letter-spacing: 0 !important; height: auto !important; box-shadow: none !important; text-decoration: none !important;
}
body.ch-shop .woocommerce :is(.button, button.button, a.button):hover { background: #f6f6f8 !important; }
body.ch-shop .woocommerce :is(.button.alt, a.checkout-button, #place_order) {
	width: 100%; padding: 15px 20px !important; border: 0 !important;
	background: var(--ch-violet) !important; color: #fff !important; font-size: 14px !important;
	box-shadow: 0 8px 20px rgba(var(--ch-accent-rgb), .25) !important;
}
body.ch-shop .woocommerce :is(.button.alt, a.checkout-button, #place_order):hover { background: var(--ch-violet-dark) !important; }

/* Campos */
body.ch-shop .woocommerce :is(input.input-text, textarea, select),
body.ch-shop .woocommerce .select2-container .select2-selection--single {
	box-sizing: border-box; width: 100%; min-height: 46px; padding: 12px 14px !important;
	border-radius: 10px !important; border: 1px solid rgba(0, 0, 0, .12) !important;
	background: #fff !important; font-size: 14px !important; color: var(--ch-ink) !important; box-shadow: none !important;
}
body.ch-shop .woocommerce textarea { min-height: 96px; }
body.ch-shop .woocommerce :is(input.input-text, textarea, select):focus { border-color: var(--ch-violet) !important; outline: 3px solid rgba(var(--ch-accent-rgb), .15); }
body.ch-shop .woocommerce .select2-container .select2-selection--single { display: flex; align-items: center; padding: 0 14px !important; }
body.ch-shop .woocommerce .select2-container .select2-selection__rendered { padding: 0 !important; line-height: 1.3 !important; color: var(--ch-ink) !important; }
body.ch-shop .woocommerce .select2-container .select2-selection__arrow { height: 100% !important; right: 8px !important; }
body.ch-shop .woocommerce form .form-row { margin: 0 0 14px !important; padding: 0 !important; }
body.ch-shop .woocommerce form .form-row label { display: block; font-size: 12.5px !important; font-weight: 700 !important; color: #52525c !important; margin: 0 0 6px !important; line-height: 1.3; }
body.ch-shop .woocommerce form .form-row label.checkbox,
body.ch-shop .woocommerce form .form-row label.woocommerce-form__label-for-checkbox { display: flex; gap: 8px; align-items: center; font-weight: 600 !important; }
body.ch-shop .woocommerce .required { color: #d13a6b !important; text-decoration: none; }

/* Eduma le pone margen negativo al bloque de WooCommerce en celular */
body.ch-shop .entry-content > .woocommerce { margin-left: 0 !important; margin-right: 0 !important; }

/* =====================================================================
 * CARRITO
 * ===================================================================== */
body.ch-shop--cart .entry-content > .woocommerce {
	/* !important: Eduma imprime inline un display:flex con columnas de 67% / 33% que pisaba esta grilla */
	display: grid !important; grid-template-columns: minmax(0, 1fr) 340px; column-gap: 32px; row-gap: 0; align-items: start;
	margin-top: 0 !important;
}
/* todo va a la columna izquierda, apilado; el resumen ocupa la derecha de arriba a abajo */
body.ch-shop--cart .entry-content > .woocommerce > *:not(.cart-collaterals) { grid-column: 1 !important; width: auto !important; max-width: none; margin-bottom: 16px; }
body.ch-shop--cart .entry-content > .woocommerce > :is(.woocommerce-notices-wrapper, .ch-currency, .ch-shop-notes):empty { margin-bottom: 0; }
body.ch-shop--cart .woocommerce-cart-form { margin: 0 0 16px !important; float: none !important; padding: 0 !important; }
body.ch-shop--cart .entry-content > .woocommerce > .cart-collaterals { grid-column: 2 !important; grid-row: 1 / span 12; position: sticky; top: 20px; width: auto !important; margin: 0 !important; padding: 0 !important; }
body.ch-shop--cart .entry-content > .woocommerce > .woocommerce-notices-wrapper { padding: 0 !important; }

/* tabla -> tarjetas */
body.ch-shop--cart table.shop_table.cart { display: block !important; border: 0 !important; background: none !important; margin: 0 !important; border-collapse: separate !important; border-spacing: 0 !important; width: 100% !important; }
body.ch-shop--cart table.shop_table.cart thead { display: none !important; }
body.ch-shop--cart table.shop_table.cart tbody { display: flex !important; flex-direction: column; gap: 12px; width: 100%; }
body.ch-shop--cart table.shop_table.cart tr.cart_item {
	display: grid !important; grid-template-columns: 64px minmax(0, 1fr) auto; grid-template-areas: "thumb name price" "thumb name remove";
	column-gap: 16px; align-items: center; padding: 18px; border-radius: 18px; background: #fff; border: 1px solid var(--ch-line);
}
body.ch-shop--cart table.shop_table.cart tr.cart_item td {
	display: block !important; border: 0 !important; padding: 0 !important; background: none !important; text-align: left !important; width: auto !important;
}
body.ch-shop--cart table.shop_table.cart tr.cart_item td::before { display: none !important; }
body.ch-shop--cart td.product-thumbnail { grid-area: thumb; }
body.ch-shop--cart td.product-thumbnail img { width: 64px !important; height: 64px !important; object-fit: cover; border-radius: 14px; display: block; }
body.ch-shop--cart td.product-name { grid-area: name; font-weight: 800; font-size: 15px; line-height: 1.35; }
body.ch-shop--cart td.product-name a { color: var(--ch-ink) !important; text-decoration: none; }
body.ch-shop--cart td.product-name::after { content: "Curso online"; display: block; font-size: 12.5px; font-weight: 500; color: var(--ch-muted); margin-top: 3px; }
body.ch-shop--cart table.shop_table.cart tr.cart_item td:is(.product-price, .product-quantity) { display: none !important; }
body.ch-shop--cart td.product-subtotal { grid-area: price; text-align: right !important; font-weight: 800; font-size: 16px; }
body.ch-shop--cart td.product-remove { grid-area: remove; text-align: right !important; }
body.ch-shop--cart td.product-remove a.remove {
	all: unset; cursor: pointer; font-size: 0 !important; display: inline-block;
}
body.ch-shop--cart td.product-remove a.remove::after { content: "Quitar"; font-size: 12px; font-weight: 600; color: #d13a6b; }
body.ch-shop--cart td.product-remove a.remove:hover::after { color: #a8285a; }

/* fila de acciones: cupón + volver */
body.ch-shop--cart table.shop_table.cart tr:not(.cart_item) { display: block !important; }
body.ch-shop--cart table.shop_table.cart td.actions {
	display: flex !important; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between;
	padding: 4px 0 0 !important; border: 0 !important; background: none !important;
}
body.ch-shop--cart td.actions .coupon { display: flex !important; gap: 8px; flex: 1 1 280px; float: none !important; }
body.ch-shop--cart td.actions .coupon input.input-text { flex: 1; width: auto !important; min-height: 44px; }
body.ch-shop--cart td.actions button[name="update_cart"] { display: none !important; }
body.ch-shop--cart td.actions .wc-backward { margin-left: auto; }

/* resumen */
body.ch-shop--cart .cart_totals { width: 100% !important; float: none !important; padding: 24px; border-radius: 20px; background: #fff; border: 1px solid var(--ch-line); box-sizing: border-box; }
body.ch-shop--cart .cart_totals h2 { font-size: 15.5px !important; font-weight: 800 !important; margin: 0 0 12px !important; padding: 0 !important; border: 0 !important; }
body.ch-shop--cart .cart_totals table.shop_table { border: 0 !important; margin: 0 !important; background: none !important; width: 100%; }
body.ch-shop--cart .cart_totals table.shop_table tr { display: flex; justify-content: space-between; border-bottom: 1px solid rgba(0, 0, 0, .06); }
body.ch-shop--cart .cart_totals table.shop_table :is(th, td) { border: 0 !important; padding: 10px 0 !important; background: none !important; font-size: 13.5px; font-weight: 500; color: #52525c; width: auto !important; text-align: left; }
body.ch-shop--cart .cart_totals table.shop_table td::before { display: none !important; }
body.ch-shop--cart .cart_totals tr.order-total { border-bottom: 0; }
body.ch-shop--cart .cart_totals tr.order-total :is(th, td) { font-size: 17px !important; font-weight: 800 !important; color: var(--ch-ink) !important; padding-top: 14px !important; }
body.ch-shop--cart .cart_totals tr.cart-discount :is(th, td) { color: var(--ch-green) !important; }
body.ch-shop--cart .wc-proceed-to-checkout { padding: 18px 0 0 !important; margin: 0 !important; }
body.ch-shop--cart .wc-proceed-to-checkout a.checkout-button { margin: 0 !important; }
body.ch-shop--cart .wc-proceed-to-checkout a.checkout-button::after { content: "→"; font-weight: 800; }

/* carrito vacío: una sola tarjeta con el mensaje y el botón */
body.ch-shop--cart .wc-empty-cart-message { margin: 0 !important; }
body.ch-shop--cart .woocommerce .cart-empty.woocommerce-info {
	display: block !important; width: 100% !important; box-sizing: border-box; float: none !important;
	text-align: center; margin: 0 !important; padding: 48px 24px 14px !important;
	border: 1px solid var(--ch-line) !important; border-bottom: 0 !important;
	border-radius: 18px 18px 0 0 !important; background: #fff !important;
	font-size: 16px !important; font-weight: 700; color: var(--ch-ink) !important;
}
body.ch-shop--cart .woocommerce .return-to-shop {
	display: block; width: 100%; box-sizing: border-box; text-align: center; margin: 0 !important;
	padding: 6px 24px 44px; background: #fff; border: 1px solid var(--ch-line); border-top: 0; border-radius: 0 0 18px 18px;
}
body.ch-shop--cart .woocommerce .return-to-shop a.button { background: var(--ch-violet) !important; color: #fff !important; border: 0 !important; }

/* =====================================================================
 * CHECKOUT
 * ===================================================================== */
body.ch-shop--checkout form.checkout.woocommerce-checkout {
	display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px 32px; align-items: start;
}
body.ch-shop--checkout form.checkout > * { grid-column: 1; }
body.ch-shop--checkout form.checkout > #customer_details { grid-column: 1; grid-row: 1 / span 20; }
body.ch-shop--checkout form.checkout > .col2-set:not(#customer_details) {
	grid-column: 2; grid-row: 1 / span 20; position: sticky; top: 20px; width: auto !important; margin: 0 !important; float: none !important;
}
body.ch-shop--checkout form.checkout > input[type="hidden"] { display: none; }
/* WooCommerce agrega ::before/::after de "clearfix" y un bloque de inputs
   ocultos (wc-order-attribution-inputs): en flex/grid ocupan lugar y bajaban
   el formulario respecto de "Tu pedido". */
body.ch-shop--checkout form.checkout::before,
body.ch-shop--checkout form.checkout::after,
body.ch-shop--checkout .col2-set::before,
body.ch-shop--checkout .col2-set::after,
body.ch-shop--checkout #customer_details .col-1::before,
body.ch-shop--checkout #customer_details .col-1::after { display: none !important; content: none !important; }
body.ch-shop--checkout wc-order-attribution-inputs { display: none !important; }
body.ch-shop--checkout form.checkout > #customer_details,
body.ch-shop--checkout form.checkout > .col2-set:not(#customer_details) { align-self: start; margin-top: 0 !important; }
body.ch-shop--checkout #customer_details { display: flex; flex-direction: column; gap: 24px; width: auto !important; margin: 0 !important; }
body.ch-shop--checkout #customer_details :is(.col-1, .col-2) { width: 100% !important; float: none !important; max-width: none !important; padding: 0 !important; margin: 0 !important; }
body.ch-shop--checkout #customer_details .col-2:not(:has(.form-row)) { display: none; }
body.ch-shop--checkout :is(.woocommerce-billing-fields, .woocommerce-additional-fields, .woocommerce-account-fields, .woocommerce-shipping-fields:has(.form-row)) {
	padding: 24px; border-radius: 18px; background: #fff; border: 1px solid var(--ch-line);
}
body.ch-shop--checkout .woocommerce-account-fields:not(:has(.form-row)) { display: none; }
body.ch-shop--checkout #customer_details .col-1 { display: flex; flex-direction: column; gap: 24px; }
body.ch-shop--checkout .woocommerce :is(.woocommerce-billing-fields, .woocommerce-additional-fields) h3,
body.ch-shop--checkout #order_review_heading {
	font-size: 15px !important; font-weight: 800 !important; margin: 0 0 16px !important; padding: 0 !important; border: 0 !important;
}
body.ch-shop--checkout .woocommerce-billing-fields__field-wrapper {
	display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px;
}
body.ch-shop--checkout .woocommerce-billing-fields__field-wrapper .form-row { grid-column: 1 / -1; width: auto !important; float: none !important; }
body.ch-shop--checkout .woocommerce-billing-fields__field-wrapper :is(.form-row-first, #billing_city_field, #billing_state_field) { grid-column: 1; }
body.ch-shop--checkout .woocommerce-billing-fields__field-wrapper :is(.form-row-last, #billing_postcode_field) { grid-column: 2; }

/* "Tu pedido" */
body.ch-shop--checkout .inner-col-set,
body.ch-shop--checkout form.checkout > .col2-set:not(#customer_details) > #order_review_heading ~ #order_review {
	box-sizing: border-box;
}
body.ch-shop--checkout .inner-col-set { padding: 24px; border-radius: 20px; background: #fff; border: 1px solid var(--ch-line); }
body.ch-shop--checkout table.woocommerce-checkout-review-order-table { border: 0 !important; margin: 0 0 8px !important; width: 100%; background: none !important; }
body.ch-shop--checkout table.woocommerce-checkout-review-order-table thead { display: none; }
body.ch-shop--checkout table.woocommerce-checkout-review-order-table :is(th, td) {
	border: 0 !important; border-bottom: 1px solid rgba(0, 0, 0, .06) !important; padding: 12px 0 !important; background: none !important;
	font-size: 13.5px; color: #52525c; vertical-align: top;
}
body.ch-shop--checkout table.woocommerce-checkout-review-order-table td.product-name { font-weight: 700; color: var(--ch-ink); line-height: 1.35; padding-right: 12px !important; }
body.ch-shop--checkout table.woocommerce-checkout-review-order-table td.product-total { text-align: right; font-weight: 800; color: var(--ch-ink); white-space: nowrap; }
body.ch-shop--checkout table.woocommerce-checkout-review-order-table tfoot td { text-align: right; white-space: nowrap; }
body.ch-shop--checkout table.woocommerce-checkout-review-order-table tr.order-total :is(th, td) {
	border-bottom: 0 !important; font-size: 17px !important; font-weight: 800 !important; color: var(--ch-ink) !important;
}

/* medios de pago como opciones seleccionables */
body.ch-shop--checkout #payment { background: none !important; border-radius: 0 !important; margin: 8px 0 0; }
body.ch-shop--checkout #payment ul.payment_methods { background: none !important; display: flex; flex-direction: column; gap: 10px; padding: 0 !important; margin: 0 0 16px !important; border: 0 !important; list-style: none; }
body.ch-shop--checkout #payment ul.payment_methods li.wc_payment_method {
	margin: 0 !important; padding: 14px 16px !important; border-radius: 14px; border: 1.5px solid rgba(0, 0, 0, .1);
	background: #fff; line-height: 1.4; list-style: none;
}
body.ch-shop--checkout #payment ul.payment_methods li.wc_payment_method:has(input:checked) { border-color: var(--ch-violet); background: var(--ch-accent-soft); }
body.ch-shop--checkout #payment ul.payment_methods li.wc_payment_method > input { accent-color: var(--ch-violet); margin: 0 10px 0 0 !important; vertical-align: middle; }
body.ch-shop--checkout #payment ul.payment_methods li.wc_payment_method > label { display: inline !important; font-size: 14px; font-weight: 600; color: var(--ch-ink); cursor: pointer; }
body.ch-shop--checkout #payment ul.payment_methods li.wc_payment_method > label img { max-height: 22px; width: auto; vertical-align: middle; margin-left: 6px; }
body.ch-shop--checkout #payment div.payment_box {
	margin: 12px 0 0 !important; padding: 12px 14px !important; border-radius: 10px; background: #fff !important;
	font-size: 13px; color: #52525c; line-height: 1.55;
}
body.ch-shop--checkout #payment div.payment_box::before { display: none !important; }
body.ch-shop--checkout #payment .form-row.place-order { padding: 0 !important; margin: 0 !important; background: none !important; }
body.ch-shop--checkout #payment .form-row.place-order::after {
	content: "Tus datos están protegidos y encriptados"; display: block; text-align: center;
	font-size: 11.5px; color: #8f8f9c; margin-top: 10px;
}
body.ch-shop--checkout .woocommerce-terms-and-conditions-wrapper { font-size: 12.5px; color: var(--ch-muted); margin-bottom: 12px; }

/* bloques de "¿Ya sos cliente? / ¿Tenés un cupón?" arriba del formulario */
body.ch-shop--checkout :is(form.woocommerce-form-login, form.checkout_coupon) {
	padding: 20px !important; border-radius: 16px !important; background: #fff; border: 1px solid var(--ch-line) !important; margin: 0 0 16px !important;
}

/* =====================================================================
 * MOBILE
 * ===================================================================== */
@media (max-width: 860px) {
	body.ch-shop .site-content { padding-top: 24px !important; padding-bottom: 48px !important; }
	body.ch-shop--cart .entry-content > .woocommerce,
	body.ch-shop--checkout form.checkout.woocommerce-checkout { grid-template-columns: minmax(0, 1fr); }
	body.ch-shop--cart .entry-content > .woocommerce > .cart-collaterals { grid-column: 1 !important; grid-row: auto; position: static; margin-bottom: 16px !important; }
	body.ch-shop--cart .cart-collaterals,
	body.ch-shop--checkout form.checkout > .col2-set:not(#customer_details) { grid-column: 1; grid-row: auto; position: static; }
	body.ch-shop--checkout form.checkout > #customer_details { grid-row: auto; }
	.ch-shop-head__secure { margin-left: 0; }
}
@media (max-width: 560px) {
	body.ch-shop .ch-shop-head__title { font-size: 26px !important; }
	body.ch-shop--cart table.shop_table.cart tr.cart_item { grid-template-columns: 52px minmax(0, 1fr) auto; column-gap: 12px; padding: 14px; }
	body.ch-shop--cart td.product-thumbnail img { width: 52px !important; height: 52px !important; }
	body.ch-shop--checkout .woocommerce-billing-fields__field-wrapper { grid-template-columns: minmax(0, 1fr); }
	body.ch-shop--checkout .woocommerce-billing-fields__field-wrapper .form-row { grid-column: 1 !important; }
	body.ch-shop--checkout :is(.woocommerce-billing-fields, .woocommerce-additional-fields, .inner-col-set) { padding: 18px; }
}

/* =====================================================================
 * V2 (Campus-Carrito-v2 / Campus-Checkout-v2)
 * ===================================================================== */

/* pasos Carrito → Datos y pago → Confirmación */
.ch-steps { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ch-step {
	display: inline-flex; gap: 8px; align-items: center; padding: 8px 14px 8px 8px; border-radius: 40px;
	background: rgba(255, 255, 255, .7); font-size: 12.5px; font-weight: 700; color: #5c5c66;
}
.ch-step__dot {
	width: 24px; height: 24px; border-radius: 50%; background: #fff; color: #0c0c0c;
	display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800;
}
.ch-step.is-active { background: #0B1B4D; color: #fff; }
.ch-step.is-active .ch-step__dot { background: linear-gradient(135deg, #C8F05A, #8FA8FF); }
.ch-step.is-done .ch-step__dot { background: #C8F05A; }
.ch-step__sep { width: 18px; height: 1.5px; background: rgba(11, 27, 77, .18); }

/* hero del carrito, de lado a lado */
body.ch-shop--cart .site-content { padding-top: 0 !important; }
.ch-shop-bleed { position: relative; width: var(--ch-vw, 100vw); left: 50%; margin-left: calc(var(--ch-vw, 100vw) / -2); }
.ch-shop-hero { overflow: hidden; background: linear-gradient(120deg, #e6fbf2 0%, var(--ch-accent-soft) 55%, #fbeaf5 100%); margin-bottom: 36px; }
.ch-shop-hero::before {
	content: ""; position: absolute; width: 320px; height: 320px; right: -100px; top: -160px; pointer-events: none;
	border-radius: 62% 38% 55% 45% / 48% 60% 40% 52%; background: rgba(143, 168, 255, .35);
}
.ch-shop-hero__inner {
	position: relative; max-width: var(--ch-page-max, 1160px); margin: 0 auto; padding: 34px var(--ch-page-pad, 32px) 30px;
	box-sizing: border-box; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap;
}
.ch-shop-hero__crumbs { display: flex; gap: 8px; align-items: center; font-size: 12.5px; font-weight: 600; color: #6b6b74; }
body.ch-shop .ch-shop-hero__crumbs a { color: #6b6b74 !important; text-decoration: none; }
.ch-shop-hero__crumbs span:last-child { color: var(--ch-ink); }
body.ch-shop .ch-shop-hero .ch-shop-head__title { font-size: 40px !important; letter-spacing: -.02em; margin-top: 12px !important; }

/* checkout: volver + título + pasos + pago seguro */
.ch-shop-head--checkout { display: block; }
body.ch-shop .ch-shop-back { display: inline-flex; font-size: 13px; font-weight: 700; color: #5c5c66 !important; text-decoration: none; }
body.ch-shop .ch-shop-back:hover { color: var(--ch-ink) !important; }
.ch-shop-head__row { display: flex; align-items: center; gap: 16px 24px; flex-wrap: wrap; margin-top: 12px; }
.ch-shop-head--checkout .ch-steps { margin-left: auto; }
.ch-shop-head--checkout .ch-step { background: transparent; padding: 0; }
.ch-shop-head--checkout .ch-step.is-active { background: transparent; color: var(--ch-ink); }
.ch-shop-head--checkout .ch-step.is-active .ch-step__dot { background: #0B1B4D; color: #fff; }
.ch-shop-head--checkout .ch-step:not(.is-active):not(.is-done) { color: #8f8f9c; }
.ch-shop-head--checkout .ch-step:not(.is-active):not(.is-done) .ch-step__dot { background: #ebe8f2; color: #8f8f9c; }
.ch-shop-head--checkout .ch-shop-head__secure {
	margin: 0; padding: 8px 14px; border-radius: 40px; background: #e6fbf2; color: var(--ch-green); font-weight: 700;
}
body.ch-shop--checkout .ch-shop-head__title { font-size: 36px !important; letter-spacing: -.02em; }

/* tarjeta Moneda (reemplaza la barra del selector) */
.ch-cart-card { padding: 22px; border-radius: 20px; border: 1px solid rgba(0, 0, 0, .1); background: #fff; }
.ch-cart-card__title { display: flex; gap: 10px; align-items: center; font-weight: 800; font-size: 14.5px; }
.ch-cart-card p { font-size: 12.5px; line-height: 1.55; color: var(--ch-muted); margin: 8px 0 14px; }
.ch-seg { display: flex; padding: 4px; border-radius: 40px; background: var(--ch-accent-soft); }
body.ch-shop .ch-seg a {
	flex: 1; text-align: center; padding: 10px 12px; border-radius: 40px; font-size: 13px; font-weight: 800;
	color: var(--ch-purple) !important; text-decoration: none;
}
body.ch-shop .ch-seg a.is-active { background: #fff; color: var(--ch-ink) !important; box-shadow: 0 2px 8px rgba(var(--ch-accent-rgb), .18); }
body.ch-shop--cart .entry-content > .woocommerce > .ch-cart-card { grid-column: 1; }
.ch-currency.is-replaced { display: none !important; }

/* curso en el carrito: más aire y tachito en "Quitar" */
body.ch-shop--cart table.shop_table.cart tr.cart_item { padding: 18px 20px; border-radius: 20px; border-color: rgba(0, 0, 0, .1); }
body.ch-shop--cart td.product-thumbnail img { width: 76px !important; height: 76px !important; border-radius: 16px; }
body.ch-shop--cart table.shop_table.cart tr.cart_item { grid-template-columns: 76px minmax(0, 1fr) auto; column-gap: 18px; }
body.ch-shop--cart td.product-name { font-size: 16px; }
body.ch-shop--cart td.product-subtotal { font-size: 19px; letter-spacing: -.01em; }
body.ch-shop--cart td.product-remove a.remove::after { content: "🗑 Quitar"; color: #8f8f9c; font-weight: 700; font-size: 12.5px; }
body.ch-shop--cart td.product-remove a.remove:hover::after { color: #d13a6b; }

/* "Cambiar a Pro" */
.ch-cart-pro {
	position: relative; overflow: hidden; display: flex; gap: 20px; align-items: center; flex-wrap: wrap;
	margin: 28px 0 0; padding: 26px; border-radius: 22px; color: #fff;
	background: radial-gradient(140% 120% at 10% 0%, #1c2f8a 0%, #0B1B4D 55%, #0B1B4D 100%);
}
.ch-cart-pro::before {
	content: ""; position: absolute; right: -60px; top: -80px; width: 220px; height: 220px; border-radius: 50%;
	background: radial-gradient(circle, rgba(201, 63, 232, .5), transparent 70%); pointer-events: none;
}
.ch-cart-pro__icon {
	position: relative; width: 52px; height: 52px; border-radius: 50%; flex: none; font-size: 22px;
	background: rgba(143, 168, 255, .18); color: #8FA8FF; display: flex; align-items: center; justify-content: center;
}
.ch-cart-pro__text { position: relative; flex: 1 1 260px; min-width: 0; }
.ch-cart-pro__text strong { display: block; font-size: 17px; font-weight: 800; line-height: 1.3; }
.ch-cart-pro__text span { display: block; font-size: 13.5px; color: #c2c2ca; margin-top: 4px; line-height: 1.5; }
body.ch-shop .ch-cart-pro__btn {
	position: relative; display: inline-flex; gap: 8px; align-items: center; padding: 13px 20px; border-radius: 40px;
	background: linear-gradient(90deg, #C8F05A, #8FA8FF); color: #0c0c0c !important; font-weight: 800; font-size: 13.5px; text-decoration: none;
}

/* resumen: total grande */
body.ch-shop--cart .cart_totals { padding: 26px; border-radius: 22px; box-shadow: 0 20px 40px rgba(var(--ch-accent-rgb), .10); }
body.ch-shop--cart .cart_totals h2 { font-size: 17px !important; }
body.ch-shop--cart .cart_totals tr.order-total :is(th, td) { align-items: baseline; }
body.ch-shop--cart .cart_totals tr.order-total td { font-size: 30px !important; letter-spacing: -.02em; }
body.ch-shop--cart .wc-proceed-to-checkout a.checkout-button { padding: 16px 20px !important; font-size: 15px !important; }

/* recuadro de confianza */
.ch-cart-trust { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; padding: 18px 20px; border-radius: 18px; background: #f9f8fc; font-size: 13px; color: #52525c; }
.ch-cart-trust > div { display: flex; gap: 10px; align-items: center; }
.ch-cart-trust a { font-weight: 700; }
.ch-dot { width: 16px; text-align: center; font-size: 12px; }

/* "Sumá otro curso" */
body.ch-shop--cart .entry-content > .woocommerce > .ch-cart-suggest { grid-column: 1; }
.ch-cart-suggest { margin-top: 12px; }
.ch-cart-suggest__title { font-size: 18px; font-weight: 800; margin-bottom: 14px; }
.ch-cart-suggest__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
body.ch-shop .ch-cart-suggest__card {
	display: flex; flex-direction: column; gap: 12px; padding: 16px; border-radius: 18px; background: #f9f8fc;
	border: 1px solid rgba(0, 0, 0, .05); color: var(--ch-ink) !important; text-decoration: none;
}
.ch-cart-suggest__img { width: 100%; aspect-ratio: 16 / 9; border-radius: 12px; background: #E3E9FF center / cover no-repeat; }
.ch-cart-suggest__name { font-size: 13px; font-weight: 700; line-height: 1.35; }
.ch-cart-suggest__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; margin-top: auto; }
.ch-cart-suggest__foot strong { font-size: 14.5px; font-weight: 800; white-space: nowrap; }
.ch-cart-suggest__btn { white-space: nowrap; line-height: 1.2; padding: 7px 12px; border-radius: 40px; background: #fff; border: 1px solid rgba(var(--ch-accent-rgb), .4); color: var(--ch-violet); font-size: 12px; font-weight: 800; }
body.ch-shop .ch-cart-suggest__card:hover .ch-cart-suggest__btn { background: var(--ch-violet); color: #fff; }

/* carrito vacío */
body.ch-shop--cart .return-to-shop { display: none !important; }
.ch-cart-empty {
	grid-column: 1 / -1; max-width: 560px; margin: 8px auto 0; text-align: center; padding: 56px 32px;
	border-radius: 28px; background: #f9f8fc; border: 1px solid rgba(0, 0, 0, .06); box-sizing: border-box;
}
.ch-cart-empty__icon {
	width: 72px; height: 72px; border-radius: 50%; margin: 0 auto; color: #0c0c0c;
	background: linear-gradient(135deg, #C8F05A, #8FA8FF); display: flex; align-items: center; justify-content: center;
}
.ch-cart-empty__icon .ch-ico { width: 26px; height: 26px; }
.ch-cart-empty__title { font-size: 24px; font-weight: 800; margin-top: 20px; }
.ch-cart-empty p { font-size: 15px; color: #5c5c66; margin: 10px 0 0; line-height: 1.6; }
.ch-cart-empty__actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }
body.ch-shop .ch-btn { display: inline-flex; gap: 8px; align-items: center; padding: 13px 22px; border-radius: 40px; font-weight: 700; font-size: 14px; text-decoration: none; color: #fff !important; }
.ch-btn--violet { background: var(--ch-violet); }
.ch-btn--dark { background: #0B1B4D; }

/* checkout v2: tarjetas numeradas */
body.ch-shop--checkout .woocommerce-billing-fields,
body.ch-shop--checkout .woocommerce-additional-fields,
body.ch-shop--checkout .inner-col-set { border-radius: 22px !important; padding: 26px !important; }
body.ch-shop--checkout .woocommerce-billing-fields > h3 { display: flex; align-items: center; gap: 12px; font-size: 17px !important; }
body.ch-shop--checkout .woocommerce-billing-fields > h3::before {
	content: "1"; width: 30px; height: 30px; border-radius: 50%; background: #0B1B4D; color: #fff; flex: none;
	display: flex; align-items: center; justify-content: center; font-size: 12.5px; font-weight: 800;
}
body.ch-shop--checkout .woocommerce-additional-fields > h3 { font-size: 17px !important; }
body.ch-shop--checkout #order_review_heading { font-size: 17px !important; }
body.ch-shop--checkout .inner-col-set { box-shadow: 0 20px 40px rgba(var(--ch-accent-rgb), .10); }
body.ch-shop--checkout table.woocommerce-checkout-review-order-table tr.order-total td { font-size: 30px !important; letter-spacing: -.02em; }
body.ch-shop--checkout .woocommerce :is(input.input-text, textarea, select),
body.ch-shop--checkout .woocommerce .select2-container .select2-selection--single { border-radius: 12px !important; border-width: 1.5px !important; min-height: 48px; }
body.ch-shop--checkout #place_order { padding: 16px 20px !important; font-size: 15px !important; }

/* confirmación (pedido recibido) */
body.ch-shop--thanks .ch-shop-head--thanks { justify-content: center; margin-bottom: 28px; }
body.ch-shop--thanks .woocommerce-order {
	position: relative; overflow: hidden; max-width: 680px; margin: 0 auto; padding: 48px 40px;
	border-radius: 32px; background: #fff; border: 1px solid rgba(0, 0, 0, .06); box-shadow: 0 40px 80px rgba(var(--ch-accent-rgb), .14);
}
body.ch-shop--thanks .woocommerce-order::before {
	content: ""; position: absolute; width: 320px; height: 320px; right: -120px; top: -160px; pointer-events: none;
	border-radius: 62% 38% 55% 45% / 48% 60% 40% 52%; background: rgba(143, 168, 255, .3);
}
body.ch-shop--thanks .woocommerce-thankyou-order-received,
body.ch-shop--thanks .woocommerce-notice--success {
	position: relative; text-align: center; font-size: 30px !important; font-weight: 800; line-height: 1.15;
	letter-spacing: -.02em; color: var(--ch-ink) !important; background: none !important; border: 0 !important; padding: 0 !important; margin: 0 0 24px !important;
}
body.ch-shop--thanks .woocommerce-thankyou-order-received::before {
	content: "✓"; display: flex; width: 84px; height: 84px; margin: 0 auto 20px; border-radius: 50%;
	background: linear-gradient(135deg, #C8F05A, #8FA8FF); color: #0c0c0c; font-size: 34px;
	align-items: center; justify-content: center;
}
body.ch-shop--thanks ul.woocommerce-order-overview {
	position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px;
	list-style: none; padding: 0 !important; margin: 0 0 24px !important;
}
body.ch-shop--thanks ul.woocommerce-order-overview li {
	margin: 0 !important; padding: 14px 16px !important; border: 0 !important; border-radius: 14px; background: #f9f8fc;
	font-size: 11.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #74747c; float: none !important;
}
body.ch-shop--thanks ul.woocommerce-order-overview li strong { display: block; margin-top: 4px; font-size: 14px; letter-spacing: 0; text-transform: none; color: var(--ch-ink); }
body.ch-shop--thanks .woocommerce-order-details,
body.ch-shop--thanks .woocommerce-customer-details { position: relative; margin-top: 24px; }
body.ch-shop--thanks .woocommerce-order :is(h2, h3) { font-size: 18px !important; font-weight: 800 !important; }
body.ch-shop--thanks .woocommerce-order table.shop_table { border: 1px solid rgba(0, 0, 0, .08) !important; border-radius: 16px; overflow: hidden; border-collapse: separate; }

@media (max-width: 860px) {
	body.ch-shop--cart .entry-content > .woocommerce > :is(.ch-cart-card, .ch-cart-suggest) { grid-column: 1; }
	.ch-shop-head--checkout .ch-steps { margin-left: 0; }
}
@media (max-width: 560px) {
	body.ch-shop .ch-shop-hero .ch-shop-head__title { font-size: 30px !important; }
	.ch-step { font-size: 0; padding: 4px; gap: 0; }
	.ch-step.is-active { font-size: 12.5px; padding: 6px 12px 6px 6px; gap: 8px; }
	body.ch-shop--cart table.shop_table.cart tr.cart_item { grid-template-columns: 56px minmax(0, 1fr) auto; }
	body.ch-shop--cart td.product-thumbnail img { width: 56px !important; height: 56px !important; }
	body.ch-shop--thanks .woocommerce-order { padding: 32px 20px; }
}

/* marca v2: isotipo PRO en el banner del carrito */
.ch-cart-pro__icon img { width: 30px; height: auto; display: block; }

/* CODEINEP Pro con su propio degradado (naranja → rosa, logo PRO del kit) */
.ch-cart-pro::before { background: radial-gradient(circle, rgba(255, 106, 193, .45), transparent 70%); }
.ch-cart-pro__icon { background: rgba(255, 159, 107, .18); }
body.ch-shop .ch-cart-pro__btn { background: linear-gradient(90deg, #FF9F6B, #FF6AC1) !important; box-shadow: 0 10px 24px rgba(255, 106, 193, .3); }
