/* =========================================================
   CARRITO LATERAL FLOTANTE (mini-cart)
   ========================================================= */
.pc-cart-fab {
	position: fixed;
	left: 22px;
	bottom: 22px;
	z-index: 9990;
	width: 60px;
	height: 60px;
	border: 0;
	border-radius: 50%;
	background: var(--pc-azul, #1668b0);
	color: #fff;
	cursor: pointer;
	box-shadow: 0 12px 30px -8px rgba(22, 104, 176, .6);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background .2s ease, transform .2s ease;
}
.pc-cart-fab:hover { background: var(--pc-azul-oscuro, #0d4a80); transform: translateY(-2px); }

.pc-cart-fab__contador {
	position: absolute;
	top: -4px;
	right: -4px;
	min-width: 22px;
	height: 22px;
	padding: 0 5px;
	background: #e35731;
	color: #fff;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 700;
	line-height: 22px;
	text-align: center;
	border: 2px solid #fff;
}
.pc-cart-fab:not(.tiene-items) .pc-cart-fab__contador { display: none; }

.pc-cart-panel {
	position: fixed;
	top: 0;
	right: 0;
	width: 400px;
	max-width: 90vw;
	height: 100%;
	background: #fff;
	z-index: 10000;
	box-shadow: -18px 0 50px -20px rgba(0, 0, 0, .4);
	transform: translateX(100%);
	transition: transform .32s cubic-bezier(.4, 0, .2, 1);
	display: flex;
	flex-direction: column;
}
.pc-cart-panel.esta-abierto { transform: translateX(0); }

.pc-cart-panel__cabecera {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 20px 24px;
	background: var(--pc-navy, #0d2b45);
	color: #fff;
}
.pc-cart-panel__cabecera h3 { margin: 0; color: #fff; font-size: 1.25rem; }
.pc-cart-panel__cerrar {
	background: none; border: 0; color: #fff; font-size: 30px;
	line-height: 1; cursor: pointer; opacity: .8;
}
.pc-cart-panel__cerrar:hover { opacity: 1; }

.pc-cart-panel__cuerpo { flex: 1; overflow-y: auto; padding: 18px 22px; }

.pc-cart-items { list-style: none; margin: 0; padding: 0; }
.pc-cart-item {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 14px 0;
	border-bottom: 1px solid var(--pc-borde, #e2e8ec);
	position: relative;
}
.pc-cart-item__img img { width: 60px; height: 60px; object-fit: cover; border-radius: 8px; display: block; }
.pc-cart-item__info { flex: 1; display: flex; flex-direction: column; gap: 3px; padding-right: 20px; }
.pc-cart-item__nombre { font-weight: 700; font-size: .95rem; color: var(--pc-tinta, #1a2b3c); line-height: 1.25; }
.pc-cart-item__meta { font-size: .8rem; color: #667; }
.pc-cart-item__precio { font-weight: 700; color: var(--pc-azul-oscuro, #0d4a80); }
.pc-cart-item__quitar {
	position: absolute; top: 14px; right: 0;
	width: 22px; height: 22px; border-radius: 50%;
	background: #f3d6d6; color: #b32d2e;
	text-align: center; line-height: 22px; font-size: 15px;
	text-decoration: none; transition: background .15s ease, color .15s ease;
}
.pc-cart-item__quitar:hover { background: #b32d2e; color: #fff; }

.pc-cart-panel__total {
	display: flex; justify-content: space-between; align-items: center;
	padding: 16px 0; margin-top: 4px;
	border-top: 2px solid var(--pc-borde, #e2e8ec);
	font-size: 1.05rem;
}
.pc-cart-panel__total strong { font-size: 1.35rem; color: var(--pc-azul-oscuro, #0d4a80); }

.pc-cart-panel__acciones { display: flex; flex-direction: column; gap: 10px; padding-bottom: 10px; }
.pc-cart-btn {
	display: block; text-align: center; padding: 14px;
	border-radius: 10px; font-weight: 700; text-decoration: none;
	transition: background .18s ease, transform .18s ease;
}
.pc-cart-btn--pri { background: var(--pc-azul, #1668b0); color: #fff; }
.pc-cart-btn--pri:hover { background: var(--pc-azul-oscuro, #0d4a80); color: #fff; }
.pc-cart-btn--sec { background: var(--pc-arena, #f7f1e8); color: var(--pc-tinta, #1a2b3c); }
.pc-cart-btn--sec:hover { background: #ece2d2; }

.pc-cart-vacio { text-align: center; padding: 40px 10px; color: #889; }
.pc-cart-vacio p { margin: 14px 0 20px; }

.pc-cart-fondo {
	position: fixed; inset: 0; background: rgba(10, 20, 28, .5);
	z-index: 9999; opacity: 0; visibility: hidden;
	transition: opacity .28s ease, visibility .28s;
}
.pc-cart-fondo.esta-visible { opacity: 1; visibility: visible; }

@media (max-width: 640px) {
	.pc-cart-fab { left: 16px; bottom: 16px; width: 54px; height: 54px; }
	.pc-cart-panel { width: 100%; max-width: 100%; }
}

/* =========================================================
   CARRITO CLÁSICO — datos de reserva en dos columnas
   ========================================================= */
.woocommerce table.shop_table dl.variation {
	display: grid;
	grid-template-columns: max-content 1fr;
	column-gap: 14px;
	row-gap: 4px;
	margin: 12px 0 0;
	font-size: .88rem;
	line-height: 1.4;
}
.woocommerce table.shop_table dl.variation dt {
	font-weight: 700;
	color: var(--pc-tinta, #1a2b3c);
	margin: 0;
	float: none;
	clear: none;
}
.woocommerce table.shop_table dl.variation dd { margin: 0; color: #667; }
.woocommerce table.shop_table dl.variation dd p { margin: 0; }

/* =========================================================
   CHECKOUT CLÁSICO — dos columnas con resumen sticky
   ========================================================= */
@media (min-width: 981px) {
	.woocommerce-checkout form.checkout.woocommerce-checkout {
		display: grid;
		grid-template-columns: 1fr 420px;
		gap: 40px;
		align-items: start;
	}
	.woocommerce-checkout #customer_details { grid-column: 1; }
	.woocommerce-checkout .woocommerce-checkout-review-order,
	.woocommerce-checkout h3#order_review_heading {
		grid-column: 2;
		margin-top: 0;
	}
	.woocommerce-checkout .woocommerce-checkout-review-order { position: sticky; top: 24px; }
}
.woocommerce-checkout #order_review_heading { margin-top: 0; }

.woocommerce-checkout #order_review dl.variation {
	display: grid;
	grid-template-columns: max-content 1fr;
	column-gap: 10px;
	row-gap: 2px;
	font-size: .8rem;
	margin: 6px 0 0;
}
.woocommerce-checkout #order_review dl.variation dt { font-weight: 700; margin: 0; }
.woocommerce-checkout #order_review dl.variation dd { margin: 0; color: #667; }
.woocommerce-checkout #order_review dl.variation dd p { margin: 0; }
