﻿/* Cart + Checkout Pro — tokens y look de Product Page Pro */

body.woocommerce-cart .l-canvas,
body.woocommerce-cart .l-main,
body.woocommerce-cart .l-section,
body.woocommerce-cart .l-section-h,
body.woocommerce-cart .l-content,
body.woocommerce-cart .l-content-h,
body.woocommerce-checkout .l-canvas,
body.woocommerce-checkout .l-main,
body.woocommerce-checkout .l-section,
body.woocommerce-checkout .l-section-h,
body.woocommerce-checkout .l-content,
body.woocommerce-checkout .l-content-h,
body.woocommerce-order-received .l-canvas,
body.woocommerce-order-received .l-main,
body.woocommerce-order-received .l-section,
body.woocommerce-order-received .l-section-h,
body.woocommerce-order-received .l-content,
body.woocommerce-order-received .l-content-h {
	background: transparent !important;
}

body.woocommerce-cart,
body.woocommerce-checkout,
body.woocommerce-order-received {
	background-color: #FFFFFF;
	background-image:
		radial-gradient(circle at 8% 12%, rgba(128, 24, 224, 0.18) 0%, transparent 42%),
		radial-gradient(circle at 92% 88%, rgba(209, 255, 0, 0.14) 0%, transparent 46%),
		radial-gradient(circle at 70% 20%, rgba(128, 24, 224, 0.06) 0%, transparent 35%),
		linear-gradient(180deg, #FAF9FF 0%, #FFFFFF 45%, #F7FFF0 100%);
	background-attachment: fixed;
}

body.woocommerce-cart .l-section,
body.woocommerce-checkout .l-section,
body.woocommerce-order-received .l-section {
	overflow: visible !important;
}

.cart-page-pro,
.checkout-page-pro,
.thankyou-page-pro {
	--violeta-claro: #8018e0;
	--violeta-oscuro: #1A102E;
	--verde-neon: #D1FF00;
	--blanco-puro: #FFFFFF;
	--verde-whatsapp: #25D366;
	--bg-card: #F4F4F9;
	--text-main: var(--violeta-oscuro);
	--text-muted: #6B6B80;
	--radius-pill: 50px;
	--radius-xl: 24px;
	--radius-lg: 16px;
	--radius-md: 12px;
	--shadow-glass: 0 10px 30px rgba(26, 16, 46, 0.08);
	--shadow-hover: 0 15px 30px rgba(128, 24, 224, 0.2);
	--shadow-neon: 0 0 20px rgba(209, 255, 0, 0.25);
	--ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);

	font-family: 'Inter', sans-serif;
	color: var(--text-main);
	position: relative;
	padding: 4vh 2vw 6vh;
	overflow: visible;
	isolation: isolate;
	background: transparent;
}

.cart-page-pro .ambient-bg,
.cart-page-pro .ambient-bg-2,
.checkout-page-pro .ambient-bg,
.checkout-page-pro .ambient-bg-2,
.thankyou-page-pro .ambient-bg,
.thankyou-page-pro .ambient-bg-2 {
	position: fixed;
	border-radius: 50%;
	z-index: 0;
	pointer-events: none;
	filter: blur(80px);
}

.cart-page-pro .ambient-bg,
.checkout-page-pro .ambient-bg,
.thankyou-page-pro .ambient-bg {
	top: -10%;
	left: -5%;
	width: 42vw;
	height: 42vw;
	min-width: 320px;
	min-height: 320px;
	background: radial-gradient(circle, rgba(128, 24, 224, 0.28) 0%, rgba(128, 24, 224, 0.08) 45%, transparent 70%);
	animation: ccp-float-slow 10s infinite alternate ease-in-out;
}

.cart-page-pro .ambient-bg-2,
.checkout-page-pro .ambient-bg-2,
.thankyou-page-pro .ambient-bg-2 {
	bottom: -15%;
	right: -10%;
	width: 52vw;
	height: 52vw;
	min-width: 360px;
	min-height: 360px;
	background: radial-gradient(circle, rgba(209, 255, 0, 0.22) 0%, rgba(209, 255, 0, 0.06) 40%, transparent 65%);
	filter: blur(70px);
	animation: ccp-float-slow 12s infinite alternate-reverse ease-in-out;
}

@keyframes ccp-float-slow {
	from { transform: translate(0, 0); }
	to { transform: translate(20px, 30px); }
}

.ccp-container {
	max-width: 1350px;
	width: 100%;
	margin: 0 auto;
	position: relative;
	z-index: 10;
}

.ccp-container--narrow {
	max-width: 640px;
}

.ccp-page-head {
	margin-bottom: 24px;
}

.ccp-page-head__title,
.ccp-checkout-step__title,
.ccp-cart-totals__title,
.ccp-checkout-summary__title,
.ccp-review-block__title,
.ccp-review-terms__title {
	font-family: 'Space Grotesk', sans-serif;
	font-weight: 700;
	color: var(--violeta-oscuro);
	margin: 0 0 8px;
}

.ccp-page-head__title {
	font-size: 2rem;
	font-weight: 900;
}

.ccp-checkout-step__title {
	font-size: 1.35rem;
	margin-bottom: 18px;
}

.ccp-checkout-step__subtitle {
	font-family: 'Space Grotesk', sans-serif;
	font-size: 0.95rem;
	font-weight: 700;
	margin: 20px 0 12px;
	color: var(--violeta-oscuro);
}

.ccp-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: none;
	border-radius: var(--radius-md);
	font-family: 'Space Grotesk', sans-serif;
	font-size: 1rem;
	font-weight: 800;
	height: 55px;
	padding: 0 22px;
	cursor: pointer;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	transition: all 0.3s ease;
	line-height: 1;
	box-sizing: border-box;
}

.ccp-btn--primary,
.ccp-btn.ccp-btn--primary {
	background: var(--violeta-claro) !important;
	color: var(--blanco-puro) !important;
	box-shadow: 0 5px 15px rgba(128, 24, 224, 0.3);
}

.ccp-btn--primary:hover,
.ccp-btn.ccp-btn--primary:hover {
	transform: translateY(-2px);
	background: #3A00A6 !important;
	box-shadow: var(--shadow-hover);
	color: var(--blanco-puro) !important;
}

.ccp-btn--outline {
	background: transparent !important;
	color: var(--violeta-oscuro) !important;
	border: 2px solid rgba(26, 16, 46, 0.12) !important;
}

.ccp-btn--outline:hover {
	border-color: var(--violeta-claro) !important;
	color: var(--violeta-claro) !important;
	transform: translateY(-2px);
}

.ccp-btn.is-disabled,
.ccp-btn:disabled {
	opacity: 0.55;
	pointer-events: none;
	transform: none !important;
}

/* Cart layout */
.ccp-cart-layout,
.ccp-checkout-layout {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.75fr);
	gap: 28px;
	align-items: start;
}

.ccp-cart-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.ccp-cart-item {
	display: grid;
	grid-template-columns: 96px minmax(0, 1fr) auto;
	gap: 16px;
	align-items: start;
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: blur(8px);
	border: 2px solid rgba(26, 16, 46, 0.05);
	border-radius: var(--radius-xl);
	padding: 18px 20px;
	box-shadow: var(--shadow-glass);
}

.ccp-cart-item__thumb img {
	width: 96px;
	height: 96px;
	object-fit: contain;
	border-radius: var(--radius-md);
	background: var(--bg-card);
}

.ccp-cart-item__title {
	margin: 0 0 10px;
	font-family: 'Space Grotesk', sans-serif;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.35;
}

.ccp-cart-item__title a {
	color: var(--violeta-oscuro);
	text-decoration: none;
}

.ccp-cart-item__title a:hover {
	color: var(--violeta-claro);
}

.ccp-cart-item__actions {
	display: flex;
	align-items: center;
	gap: 12px;
}

.ccp-cart-item__qty-wrap .quantity {
	display: flex;
	align-items: center;
	background: var(--bg-card);
	border: 2px solid rgba(26, 16, 46, 0.08);
	border-radius: var(--radius-md);
	padding: 4px 8px;
	height: 48px;
	margin: 0;
}

.ccp-qty-btn {
	width: 30px;
	height: 40px;
	background: transparent;
	border: none;
	color: var(--violeta-oscuro);
	font-size: 1.1rem;
	font-weight: 800;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	user-select: none;
	padding: 0;
}

.ccp-qty-btn:hover {
	background: rgba(128, 24, 224, 0.08);
	color: var(--violeta-claro);
	border-radius: 8px;
}

.ccp-cart-item__qty-wrap .qty {
	width: 36px;
	border: none;
	background: transparent;
	text-align: center;
	font-family: 'Space Grotesk', sans-serif;
	font-size: 0.95rem;
	font-weight: 800;
	color: var(--violeta-oscuro);
	height: 40px;
	-moz-appearance: textfield;
}

.ccp-cart-item__qty-wrap .qty::-webkit-outer-spin-button,
.ccp-cart-item__qty-wrap .qty::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.ccp-cart-item__remove {
	width: 42px;
	height: 42px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--text-muted);
	border-radius: var(--radius-md);
	text-decoration: none;
}

.ccp-cart-item__remove:hover {
	color: var(--violeta-claro);
	background: rgba(128, 24, 224, 0.08);
}

.ccp-cart-item__price {
	font-family: 'Space Grotesk', sans-serif;
	font-weight: 800;
	font-size: 1.05rem;
	color: var(--violeta-oscuro);
	white-space: nowrap;
}

.ccp-cart-form-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
	margin-top: 18px;
}

.ccp-cart-coupon {
	display: flex;
	gap: 8px;
	flex: 1;
	min-width: 240px;
}

.ccp-cart-coupon .input-text,
.ccp-checkout-coupon .input-text,
.ccp-checkout-form input.input-text,
.ccp-checkout-form select,
.ccp-checkout-form textarea {
	background: var(--bg-card);
	border: 2px solid rgba(26, 16, 46, 0.08);
	border-radius: var(--radius-md);
	height: 55px;
	padding: 0 14px;
	font-family: 'Inter', sans-serif;
	color: var(--violeta-oscuro);
	box-shadow: none;
}

.ccp-checkout-form textarea {
	height: auto;
	min-height: 90px;
	padding: 12px 14px;
}

.ccp-cart-coupon .input-text:focus,
.ccp-checkout-form input.input-text:focus,
.ccp-checkout-form select:focus,
.ccp-checkout-form textarea:focus {
	border-color: var(--violeta-claro);
	outline: none;
}

.ccp-cart-update {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
}

.ccp-cart-layout__summary,
.ccp-checkout-summary,
.ccp-checkout-main {
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	border: 2px solid rgba(26, 16, 46, 0.05);
	border-radius: var(--radius-xl);
	padding: 28px;
	box-shadow: var(--shadow-glass), 0 20px 60px rgba(128, 24, 224, 0.06);
}

.ccp-cart-totals__title,
.ccp-checkout-summary__title {
	font-size: 1.15rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	margin-bottom: 16px;
}

.ccp-cart-totals__rows,
.ccp-review-order__totals {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.ccp-cart-totals__row,
.ccp-review-order__row {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	font-size: 0.95rem;
	color: var(--text-muted);
}

.ccp-cart-totals__row--total,
.ccp-review-order__row--total {
	margin-top: 8px;
	padding-top: 12px;
	border-top: 2px solid rgba(26, 16, 46, 0.06);
	font-family: 'Space Grotesk', sans-serif;
	font-size: 1.15rem;
	font-weight: 800;
	color: var(--violeta-oscuro);
}

.ccp-cart-totals__value--total,
.ccp-review-order__total-value {
	color: var(--violeta-claro);
}

.ccp-cart-totals__note,
.ccp-review-order__note {
	margin: 14px 0 0;
	font-size: 0.82rem;
	color: var(--text-muted);
}

.ccp-cart-totals__actions {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 20px;
}

.ccp-cart-totals__checkout {
	width: 100%;
}

.ccp-shipping-table {
	width: 100%;
	border: none;
	margin: 8px 0;
}

.ccp-shipping-table th,
.ccp-shipping-table td {
	border: none;
	padding: 6px 0;
	background: transparent;
	text-align: left;
	font-weight: 500;
}

.ccp-shipping-table ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ccp-cart-empty {
	text-align: center;
	background: rgba(255, 255, 255, 0.92);
	border-radius: var(--radius-xl);
	padding: 60px 32px;
	box-shadow: var(--shadow-glass);
}

.ccp-cart-empty__text {
	font-family: 'Space Grotesk', sans-serif;
	font-size: 1.4rem;
	font-weight: 700;
	margin: 0 0 24px;
}

/* Stepper */
.ccp-checkout-stepper {
	margin-bottom: 28px;
}

.ccp-checkout-stepper__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	justify-content: space-between;
	gap: 8px;
}

.ccp-checkout-stepper__item {
	flex: 1;
	text-align: center;
	position: relative;
	color: #aaa;
}

.ccp-checkout-stepper__item:not(:last-child)::after {
	content: '';
	position: absolute;
	top: 18px;
	left: calc(50% + 22px);
	right: calc(-50% + 22px);
	height: 2px;
	background: rgba(26, 16, 46, 0.08);
}

.ccp-checkout-stepper__item--done:not(:last-child)::after,
.ccp-checkout-stepper__item--active:not(:last-child)::after {
	background: var(--violeta-claro);
}

.ccp-checkout-stepper__btn {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	width: 100%;
	margin: 0;
	padding: 4px 2px;
	border: none;
	background: transparent;
	color: inherit;
	font: inherit;
	cursor: pointer;
	box-shadow: none;
	transform: none;
}

.ccp-checkout-form .ccp-checkout-stepper__btn:hover,
.ccp-checkout-form .ccp-checkout-stepper__btn:focus {
	background: transparent !important;
	box-shadow: none !important;
	transform: none !important;
}

.ccp-checkout-stepper__icon {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--bg-card);
	color: #aaa;
	position: relative;
	z-index: 1;
}

.ccp-checkout-stepper__item--active .ccp-checkout-stepper__icon {
	background: var(--violeta-claro);
	color: #fff;
	box-shadow: 0 5px 15px rgba(128, 24, 224, 0.3);
}

.ccp-checkout-stepper__item--done .ccp-checkout-stepper__icon {
	background: var(--verde-neon);
	color: var(--violeta-oscuro);
}

.ccp-checkout-stepper__label {
	font-family: 'Space Grotesk', sans-serif;
	font-size: 0.75rem;
	font-weight: 700;
}

.ccp-checkout-stepper__item--active .ccp-checkout-stepper__label {
	color: var(--violeta-claro);
}

.ccp-checkout-stepper__item--done .ccp-checkout-stepper__label {
	color: var(--violeta-oscuro);
}

.ccp-checkout-step[hidden] {
	display: none !important;
}

.ccp-checkout-errors {
	background: #fff3f3;
	border: 2px solid rgba(180, 40, 40, 0.15);
	border-radius: var(--radius-md);
	padding: 12px 16px;
	margin-bottom: 16px;
	color: #8a1f1f;
	font-size: 0.92rem;
}

.ccp-checkout-errors[hidden] {
	display: none !important;
}

.ccp-hint {
	color: var(--text-muted);
	font-size: 0.92rem;
}

.ccp-shipping-rates,
.ccp-checkout-payment .wc_payment_methods {
	list-style: none;
	margin: 0 0 20px;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.ccp-shipping-rate,
.ccp-checkout-payment .wc_payment_method {
	margin: 0;
	background: var(--bg-card);
	border: 2px solid rgba(26, 16, 46, 0.06);
	border-radius: var(--radius-lg);
	overflow: visible;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ccp-shipping-rate.is-selected,
.ccp-checkout-payment .wc_payment_method.is-selected {
	border-color: var(--violeta-claro);
	box-shadow: 0 0 0 1px var(--violeta-claro), var(--shadow-glass);
}

.ccp-shipping-rate__label,
.ccp-payment-method {
	display: flex !important;
	align-items: center;
	gap: 12px;
	padding: 16px 18px;
	cursor: pointer !important;
	margin: 0;
	width: 100% !important;
	box-sizing: border-box;
	pointer-events: auto !important;
}

.ccp-checkout-payment .wc_payment_method,
.ccp-shipping-rate {
	cursor: pointer;
}

.ccp-payment-method__input,
.ccp-shipping-rate__input {
	width: 20px;
	height: 20px;
	min-width: 20px;
	flex-shrink: 0;
	accent-color: var(--violeta-claro);
	pointer-events: none;
}

.ccp-payment-method__body,
.ccp-payment-method__title,
.ccp-payment-method__icon,
.ccp-shipping-rate__name {
	pointer-events: none;
}

.ccp-shipping-rate__name,
.ccp-payment-method__title {
	font-family: 'Space Grotesk', sans-serif;
	font-weight: 700;
	flex: 1;
}

.ccp-payment-method__body {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	width: 100%;
}

.ccp-payment-method__icon img {
	max-height: 28px;
	width: auto;
}

.ccp-checkout-payment .payment_box {
	padding: 0 16px 16px;
	background: transparent;
	border: none;
}

.ccp-place-order-hidden {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
}

.ccp-checkout-form .form-row {
	margin-bottom: 14px;
	float: none !important;
	width: 100% !important;
	clear: none !important;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
}

.ccp-checkout-form .woocommerce-shipping-fields__field-wrapper,
.ccp-checkout-form .woocommerce-billing-fields__field-wrapper {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	column-gap: 14px;
	align-items: end;
}

.ccp-checkout-form .woocommerce-shipping-fields__field-wrapper .form-row,
.ccp-checkout-form .woocommerce-billing-fields__field-wrapper .form-row {
	margin-bottom: 14px;
}

.ccp-checkout-form #billing_country_field,
.ccp-checkout-form #shipping_country_field,
.ccp-checkout-form #billing_email_field,
.ccp-checkout-form #shipping_email_field,
.ccp-checkout-form #billing_dni_field,
.ccp-checkout-form #billing_cuit_field,
.ccp-checkout-form #billing_condicion_iva_field,
.ccp-checkout-form #billing_iva_field,
.ccp-checkout-form #billing_postcode_field,
.ccp-checkout-form #shipping_postcode_field,
.ccp-checkout-form #billing_phone_field,
.ccp-checkout-form #shipping_phone_field,
.ccp-checkout-form .woocommerce-additional-fields .form-row,
.ccp-checkout-form .form-row-wide:has(textarea) {
	grid-column: 1 / -1;
}

.ccp-checkout-form .form-row label {
	font-weight: 600;
	font-size: 0.85rem;
	color: var(--text-muted);
	margin-bottom: 6px;
	display: block;
	min-height: 1.2em;
}

.ccp-checkout-form .form-row label.screen-reader-text,
.ccp-checkout-form .form-row .screen-reader-text {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
}

.ccp-checkout-form .form-row.woocommerce-invalid input,
.ccp-checkout-form .form-row.woocommerce-invalid select,
.ccp-checkout-form .ccp-field--error input {
	border-color: #c0392b;
}

.ccp-checkout-form .shipping_address {
	display: block !important;
}

.ccp-checkout-form .woocommerce-billing-fields > h3 {
	display: none;
}

.ccp-checkout-nav {
	display: flex;
	gap: 12px;
	margin-top: 24px;
	flex-wrap: wrap;
}

.ccp-checkout-nav .ccp-btn {
	flex: 1;
	min-width: 140px;
}

.ccp-checkout-coupon {
	margin-top: 18px;
}

.ccp-checkout-coupon__label {
	display: block;
	font-weight: 600;
	font-size: 0.85rem;
	color: var(--text-muted);
	margin-bottom: 8px;
}

.ccp-checkout-coupon__row {
	display: flex;
	gap: 8px;
}

.ccp-checkout-coupon__row .input-text {
	flex: 1;
}

.ccp-review-order__products {
	list-style: none;
	margin: 0 0 16px;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.ccp-review-order__product {
	display: grid;
	grid-template-columns: 56px minmax(0, 1fr) auto;
	gap: 10px;
	align-items: center;
}

.ccp-review-order__thumb img {
	width: 56px;
	height: 56px;
	object-fit: contain;
	border-radius: 10px;
	background: var(--bg-card);
}

.ccp-review-order__name {
	display: block;
	font-weight: 700;
	font-size: 0.88rem;
	line-height: 1.3;
}

.ccp-review-order__qty {
	font-size: 0.78rem;
	color: var(--text-muted);
}

.ccp-review-order__price {
	font-family: 'Space Grotesk', sans-serif;
	font-weight: 800;
	font-size: 0.9rem;
}

.ccp-review-blocks {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin-bottom: 20px;
}

.ccp-review-block {
	background: var(--bg-card);
	border-radius: var(--radius-lg);
	padding: 16px 18px;
}

.ccp-review-block__head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	margin-bottom: 8px;
}

.ccp-review-block__edit {
	background: none;
	border: none;
	color: var(--violeta-claro);
	font-family: 'Space Grotesk', sans-serif;
	font-weight: 700;
	font-size: 0.82rem;
	cursor: pointer;
	padding: 0;
	box-shadow: none;
}

.ccp-review-block__body p {
	margin: 0 0 6px;
	font-size: 0.92rem;
}

.ccp-review-terms {
	background: var(--bg-card);
	border-radius: var(--radius-lg);
	padding: 16px 18px;
}

.ccp-field-checkbox {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	cursor: pointer;
	font-size: 0.92rem;
	line-height: 1.4;
	position: relative;
}

.ccp-field-checkbox input[type="checkbox"],
.ccp-terms-wrapper input[type="checkbox"],
.checkout-page-pro #terms {
	appearance: none !important;
	-webkit-appearance: none !important;
	position: relative !important;
	width: 22px !important;
	height: 22px !important;
	min-width: 22px !important;
	min-height: 22px !important;
	margin: 1px 0 0 !important;
	padding: 0 !important;
	flex-shrink: 0;
	opacity: 1 !important;
	clip: auto !important;
	clip-path: none !important;
	overflow: visible !important;
	float: none !important;
	left: auto !important;
	top: auto !important;
	border: 2px solid var(--violeta-oscuro) !important;
	border-radius: 6px !important;
	background: #fff !important;
	cursor: pointer;
	accent-color: var(--violeta-claro);
}

.ccp-field-checkbox input[type="checkbox"]:checked,
.checkout-page-pro #terms:checked {
	background: var(--violeta-claro) !important;
	border-color: var(--violeta-claro) !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2.4' d='M3 8.2l3.2 3.2L13 4.5'/%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important;
	background-position: center !important;
	background-size: 14px 14px !important;
}

.ccp-checkout-step .cuotas-mp-inyectadas,
.ccp-checkout-form > .cuotas-mp-inyectadas {
	display: none !important;
}

.ccp-checkout-payment .cuotas-mp-destino,
.ccp-checkout-payment .cuotas-mp-inyectadas {
	padding: 0 16px 16px;
	border-top: none;
	margin: 0;
}

.ccp-checkout-payment .cuotas-mp-destino h4,
.ccp-checkout-payment #title-cuotas {
	font-family: 'Space Grotesk', sans-serif;
	font-size: 0.9rem;
	font-weight: 700;
	margin: 0 0 8px;
	color: var(--violeta-oscuro);
}

.ccp-checkout-payment select#cuotas_mp,
.ccp-checkout-payment .cuotas-mp-selector {
	width: 100%;
	height: 48px;
	background: #fff;
	border: 2px solid rgba(26, 16, 46, 0.08);
	border-radius: var(--radius-md);
	padding: 0 12px;
	font-family: 'Inter', sans-serif;
	font-weight: 600;
	color: var(--violeta-oscuro);
}

.ccp-review-order tr.cuotas-preview,
.ccp-review-order .cuotas-preview {
	display: flex !important;
	justify-content: space-between;
	gap: 12px;
	width: 100%;
	font-family: 'Space Grotesk', sans-serif;
	font-weight: 700;
	font-size: 0.95rem !important;
	color: var(--violeta-claro);
	padding: 6px 0;
	border: none;
}

.ccp-review-order tr.cuotas-preview th,
.ccp-review-order tr.cuotas-preview td {
	display: block;
	padding: 0;
	border: none;
	background: transparent;
	font-size: inherit;
}

.ccp-terms-link {
	color: var(--violeta-claro);
	font-weight: 700;
}

.ccp-checkout-form .woocommerce-form-login-toggle,
.checkout-page-pro .woocommerce-info,
.checkout-page-pro .woocommerce-form-login {
	background: var(--bg-card);
	border: none;
	border-radius: var(--radius-md);
	color: var(--text-main);
	padding: 16px 18px;
	margin-bottom: 20px;
}

.checkout-page-pro .woocommerce-form-login .form-row {
	margin-bottom: 12px;
}

.checkout-page-pro #ship-to-different-address {
	display: none !important;
}

/* Impreza/Woo flotan #order_review al ~40%: el resumen queda en una columna estrecha */
.woocommerce-checkout .ccp-checkout-form #customer_details,
.woocommerce-checkout .ccp-checkout-form #order_review,
.woocommerce-checkout .ccp-checkout-form #order_review_heading,
.checkout-page-pro #customer_details,
.checkout-page-pro #order_review,
.checkout-page-pro #order_review_heading,
.ccp-checkout-summary,
.ccp-checkout-summary #order_review,
.ccp-checkout-main {
	float: none !important;
	width: 100% !important;
	max-width: none !important;
	clear: none !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

.ccp-checkout-layout,
.ccp-checkout-main,
.ccp-checkout-summary,
.ccp-review-order,
.ccp-review-order * {
	box-sizing: border-box;
}

.ccp-checkout-layout {
	display: grid !important;
	float: none !important;
	width: 100% !important;
}

.ccp-review-order,
.ccp-review-order.shop_table,
.ccp-review-order.woocommerce-checkout-review-order-table,
.woocommerce .ccp-review-order.shop_table {
	display: block !important;
	width: 100% !important;
	float: none !important;
	table-layout: auto !important;
	border: none !important;
	text-align: left !important;
	background: transparent !important;
}

.ccp-review-order__products {
	display: flex !important;
	flex-direction: column !important;
	width: 100% !important;
	float: none !important;
	list-style: none !important;
	margin: 0 0 16px !important;
	padding: 0 !important;
}

.ccp-review-order__product,
.ccp-review-order__product.cart_item,
.woocommerce .ccp-review-order .cart_item {
	display: grid !important;
	grid-template-columns: 56px minmax(0, 1fr) auto !important;
	gap: 10px !important;
	align-items: center !important;
	width: 100% !important;
	float: none !important;
	margin: 0 !important;
	padding: 0 0 12px !important;
	border: none !important;
	background: transparent !important;
}

.ccp-review-order__thumb,
.ccp-review-order__info,
.ccp-review-order__price {
	display: block !important;
	float: none !important;
	width: auto !important;
	max-width: none !important;
}

.ccp-review-order__info {
	min-width: 0 !important;
}

.ccp-review-order__name,
.ccp-review-order__name a {
	display: block !important;
	overflow-wrap: anywhere;
	word-break: break-word;
	white-space: normal !important;
	text-align: left !important;
}

.ccp-review-order__price,
.ccp-review-order__price .amount,
.ccp-review-order__price .woocommerce-Price-amount {
	white-space: nowrap !important;
	text-align: right !important;
}

.ccp-review-order__row {
	display: flex !important;
	justify-content: space-between !important;
	align-items: flex-start !important;
	gap: 12px !important;
	width: 100% !important;
	float: none !important;
	text-align: left !important;
}

.ccp-review-order__row > span:last-child {
	white-space: nowrap;
	text-align: right;
}

.ccp-btn[hidden],
.ccp-checkout-step[hidden],
.ccp-checkout-errors[hidden],
.ccp-checkout-nav__confirm[hidden],
.ccp-checkout-nav__next[hidden] {
	display: none !important;
}

.ccp-place-order-hidden,
.checkout-page-pro .ccp-place-order-hidden,
.checkout-page-pro #place_order,
.woocommerce-checkout .ccp-checkout-form #place_order {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	margin: -1px !important;
	padding: 0 !important;
	border: 0 !important;
}

/* Thank you / order received — layout del carrito */
.ccp-thankyou {
	margin: 0;
}

.ccp-thankyou-hero {
	display: flex;
	align-items: center;
	gap: 18px;
	margin: 0 0 28px;
}

.ccp-thankyou-hero__icon {
	flex: 0 0 56px;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--violeta-claro);
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 0 0 6px rgba(209, 255, 0, 0.28), 0 10px 24px rgba(128, 24, 224, 0.28);
}

.ccp-thankyou-hero__order {
	margin: 0 0 4px;
	font-family: 'Space Grotesk', sans-serif;
	font-size: 0.92rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--violeta-claro);
}

.ccp-thankyou-hero__title {
	margin: 0;
}

.ccp-thankyou-hero__notice {
	margin: 8px 0 0;
	font-size: 0.98rem;
	line-height: 1.5;
	color: var(--text-muted);
}

.ccp-thankyou-layout {
	display: grid !important;
	grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.75fr);
	gap: 28px;
	align-items: start;
	float: none !important;
	width: 100% !important;
}

.ccp-thankyou-main {
	display: flex;
	flex-direction: column;
	gap: 22px;
	min-width: 0;
}

.ccp-thankyou-section__title {
	font-family: 'Space Grotesk', sans-serif;
	font-size: 1.15rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--violeta-oscuro);
	margin: 0 0 14px;
}

.ccp-thankyou-item__qty {
	margin: 8px 0 0;
	font-size: 0.88rem;
	font-weight: 600;
	color: var(--text-muted);
}

.ccp-thankyou-item--note {
	grid-template-columns: 1fr;
	font-size: 0.9rem;
	color: var(--text-muted);
}

.ccp-thankyou-info {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.ccp-thankyou-card,
.ccp-thankyou-summary__card {
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	border: 2px solid rgba(26, 16, 46, 0.05);
	border-radius: var(--radius-xl);
	padding: 28px;
	box-shadow: var(--shadow-glass), 0 20px 60px rgba(128, 24, 224, 0.06);
}

.ccp-thankyou-card__title {
	font-family: 'Space Grotesk', sans-serif;
	font-size: 1.15rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--violeta-oscuro);
	margin: 0 0 16px;
}

.ccp-thankyou-dl {
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.ccp-thankyou-dl__row {
	margin: 0;
}

.ccp-thankyou-dl dt {
	display: block;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--text-muted);
	margin: 0 0 4px;
}

.ccp-thankyou-dl dd,
.ccp-thankyou-dl address {
	margin: 0;
	font-style: normal;
	font-size: 0.98rem;
	line-height: 1.55;
	color: var(--violeta-oscuro);
}

.ccp-thankyou-dl a {
	color: var(--violeta-claro);
	text-decoration: none;
	font-weight: 600;
}

.ccp-thankyou-dl a:hover {
	text-decoration: underline;
}

.ccp-thankyou-summary {
	position: sticky;
	top: 24px;
}

.ccp-thankyou-facts {
	margin: 0 0 18px;
	padding: 0 0 16px;
	border-bottom: 2px solid rgba(26, 16, 46, 0.06);
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.ccp-thankyou-facts__row {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 12px;
	margin: 0;
}

.ccp-thankyou-facts dt {
	font-size: 0.92rem;
	color: var(--text-muted);
}

.ccp-thankyou-facts dd {
	margin: 0;
	text-align: right;
	font-weight: 600;
	color: var(--violeta-oscuro);
	overflow-wrap: anywhere;
}

.ccp-status-pill {
	display: inline-flex;
	align-items: center;
	padding: 4px 10px;
	border-radius: 50px;
	font-family: 'Space Grotesk', sans-serif;
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.02em;
	background: var(--bg-card);
	color: var(--violeta-oscuro);
}

.ccp-status-pill--ok {
	background: rgba(209, 255, 0, 0.45);
	color: var(--violeta-oscuro);
}

.ccp-status-pill--pending {
	background: rgba(128, 24, 224, 0.12);
	color: var(--violeta-claro);
}

.ccp-status-pill--warn {
	background: rgba(220, 38, 38, 0.12);
	color: #b42318;
}

.ccp-thankyou-totals {
	margin: 0;
	padding: 0;
	border: none;
}

.ccp-thankyou-note {
	margin-top: 16px;
	padding: 14px 16px;
	background: var(--bg-card);
	border-radius: var(--radius-md);
}

.ccp-thankyou-note__label {
	display: block;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--text-muted);
	margin-bottom: 4px;
}

.ccp-thankyou-note__text {
	margin: 0;
	font-size: 0.92rem;
	line-height: 1.5;
	color: var(--violeta-oscuro);
}

.ccp-thankyou-pay {
	margin-top: 20px;
	padding-top: 16px;
	border-top: 2px solid rgba(26, 16, 46, 0.06);
}

.ccp-thankyou-pay h2,
.ccp-thankyou-pay h3,
.ccp-thankyou-pay .woocommerce-bacs-bank-details-heading {
	font-family: 'Space Grotesk', sans-serif;
	font-size: 1rem;
	font-weight: 800;
	color: var(--violeta-oscuro);
	margin: 0 0 12px;
}

.ccp-thankyou-pay p,
.ccp-thankyou-pay li {
	font-size: 0.92rem;
	line-height: 1.55;
	color: var(--text-muted);
}

.ccp-thankyou-pay .copy {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	background: var(--bg-card);
	border: 2px solid rgba(26, 16, 46, 0.06);
	border-radius: var(--radius-md);
	padding: 12px 14px;
	margin: 8px 0;
	font-family: 'Space Grotesk', sans-serif;
	font-size: 0.92rem;
	font-weight: 700;
	color: var(--violeta-oscuro);
}

.ccp-thankyou-pay .copy-img {
	flex: 0 0 auto;
	opacity: 0.7;
}

.ccp-thankyou-pay .copy:hover .copy-img {
	opacity: 1;
}

.ccp-thankyou-pay #tmp-msg {
	color: var(--violeta-claro);
	font-size: 0.75rem;
	font-weight: 800;
}

.ccp-thankyou-pay .button,
.ccp-thankyou-pay button,
.ccp-thankyou-pay input[type="submit"],
.ccp-thankyou-pay .ccp-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	margin-top: 16px;
	border: none;
	border-radius: var(--radius-md);
	background: var(--violeta-claro) !important;
	color: #fff !important;
	font-family: 'Space Grotesk', sans-serif;
	font-size: 1rem;
	font-weight: 800;
	height: 55px;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	cursor: pointer;
	box-shadow: 0 5px 15px rgba(128, 24, 224, 0.3);
}

.ccp-thankyou-pay .button:hover,
.ccp-thankyou-pay button:hover,
.ccp-thankyou-pay input[type="submit"]:hover {
	background: #3A00A6 !important;
	transform: translateY(-2px);
}

.ccp-thankyou-pay ul,
.ccp-thankyou-pay ol {
	padding-left: 1.1em;
}

.ccp-thankyou-pay table {
	width: 100%;
	border: none;
}

.ccp-thankyou-pay table th,
.ccp-thankyou-pay table td {
	border: none;
	padding: 6px 0;
	background: transparent;
	text-align: left;
}

.ccp-thankyou-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 16px;
}

.ccp-thankyou-card--error {
	max-width: 720px;
}

.thankyou-page-pro,
.thankyou-page-pro * {
	box-sizing: border-box;
}

.thankyou-page-pro .woocommerce-order,
.thankyou-page-pro .ccp-thankyou-layout,
.thankyou-page-pro .ccp-thankyou-main,
.thankyou-page-pro .ccp-thankyou-summary,
.thankyou-page-pro .ccp-thankyou-pay {
	float: none !important;
	width: 100% !important;
}

.ccp-thankyou-main .woocommerce-table--custom-fields,
.ccp-thankyou-main .custom-fields {
	width: 100%;
	border: none;
	margin-top: 16px;
}

.ccp-thankyou-main .woocommerce-table--custom-fields th,
.ccp-thankyou-main .woocommerce-table--custom-fields td,
.ccp-thankyou-main .custom-fields th,
.ccp-thankyou-main .custom-fields td {
	border: none;
	padding: 6px 0;
	background: transparent;
	text-align: left;
}

.ccp-thankyou-item .wc-item-meta {
	margin: 6px 0 0;
	padding: 0;
	list-style: none;
	font-size: 0.8rem;
	color: var(--text-muted);
}

/* Blocks fallback (si Woo usa order-confirmation) */
body.woocommerce-order-received .wc-block-order-confirmation-status,
body.woocommerce-order-received .wc-block-order-confirmation-totals-wrapper,
body.woocommerce-order-received .wc-block-order-confirmation-additional-information,
body.woocommerce-order-received .wc-block-order-confirmation-billing-wrapper,
body.woocommerce-order-received .wc-block-order-confirmation-shipping-wrapper {
	background: rgba(255, 255, 255, 0.92);
	border: 2px solid rgba(26, 16, 46, 0.05);
	border-radius: 24px;
	padding: 24px;
	box-shadow: 0 10px 30px rgba(26, 16, 46, 0.08);
	margin-bottom: 20px;
}

body.woocommerce-order-received .woocommerce-order-overview {
	display: none;
}

@media (max-width: 900px) {
	.ccp-cart-layout,
	.ccp-checkout-layout,
	.ccp-thankyou-layout {
		grid-template-columns: 1fr;
	}

	.ccp-thankyou-summary {
		position: static;
	}

	.ccp-thankyou-info {
		grid-template-columns: 1fr;
	}

	.ccp-thankyou-hero {
		align-items: flex-start;
	}

	.ccp-thankyou-hero__title {
		font-size: 1.55rem;
	}

	.ccp-cart-item {
		grid-template-columns: 72px minmax(0, 1fr);
	}

	.ccp-cart-item__price {
		grid-column: 2;
	}

	.ccp-checkout-stepper__label {
		display: none;
	}

	.ccp-checkout-summary {
		order: -1;
	}

	.ccp-checkout-form .woocommerce-shipping-fields__field-wrapper,
	.ccp-checkout-form .woocommerce-billing-fields__field-wrapper {
		grid-template-columns: 1fr;
	}
}
