/*
 * PF Tienda — carrito, checkout, gracias, mi cuenta, acceso/registro.
 * Sistema visual PF sobre el markup de WooCommerce (bloques en carrito y
 * checkout; plantillas clásicas en mi cuenta). Todo va bajo body.pf-tienda
 * para ganarle a hello-commerce-woocommerce.css sin !important.
 */

body.pf-tienda {
	--pf-ink: #12173a;
	--pf-navy: #1e2a6e;
	--pf-orange: #ff6a2b;
	--pf-orange-dark: #e0551a;
	--pf-text: #3a3e56;
	--pf-text-2: #5a5e75;
	--pf-text-3: #7a7e91;
	--pf-muted: #9498a8;
	--pf-line: #edeef3;
	--pf-line-2: #e4e5ee;
	--pf-soft: #f7f7fa;
	--pf-tint: #f2f4ff;
	--pf-ok: #12805c;
	--pf-ok-bg: #e8f6f0;
	--pf-err: #c0392b;
	--pf-err-bg: #fdecea;
	--pf-font-display: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
	--pf-font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
	--pf-radius: 16px;
	--pf-focus: 0 0 0 3px rgba(30, 42, 110, 0.14);

	background: var(--pf-soft);
	color: var(--pf-ink);
	font-family: var(--pf-font-body);
	-webkit-font-smoothing: antialiased;
}

body.pf-tienda .site-main {
	width: 100%;
	max-width: 1240px;
	margin: 0 auto;
	padding: 28px 24px 64px;
}

body.pf-tienda .page-content > .alignwide,
body.pf-tienda .page-content > .alignfull {
	width: auto;
	max-width: none;
	margin-left: 0;
	margin-right: 0;
}

body.pf-tienda .page-header,
body.pf-tienda .site-main > .page-header {
	display: none; /* Título del tema: lo reemplaza .pf-tpage__head. */
}

body.pf-tienda :where(h1, h2, h3, h4) {
	font-family: var(--pf-font-display);
	color: var(--pf-ink);
	letter-spacing: -0.01em;
}


body.pf-tienda :focus-visible {
	outline: 2px solid var(--pf-orange);
	outline-offset: 2px;
}

/* ================= Cabecera de página y pasos ================= */

.pf-tpage__head {
	margin: 0 0 24px;
}

.pf-tpage__kicker {
	margin: 0 0 4px;
	font-size: 13px;
	font-weight: 600;
	color: var(--pf-text-3);
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

body.pf-tienda .pf-tpage__title {
	margin: 0;
	font-size: clamp(24px, 3vw, 32px);
	font-weight: 800;
	line-height: 1.15;
}

.pf-steps {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 0 0 18px;
	padding: 0;
	list-style: none;
	counter-reset: none;
}

.pf-steps__item {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	font-size: 13px;
	font-weight: 600;
	color: var(--pf-muted);
}

.pf-steps__item + .pf-steps__item::before {
	content: "";
	width: 28px;
	height: 2px;
	margin-right: 4px;
	border-radius: 2px;
	background: var(--pf-line-2);
}

.pf-steps__num {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	border: 1.5px solid var(--pf-line-2);
	background: #fff;
	font-size: 12px;
	font-weight: 800;
	color: var(--pf-muted);
}

.pf-steps__item.is-current {
	color: var(--pf-ink);
}

.pf-steps__item.is-current .pf-steps__num {
	border-color: var(--pf-navy);
	background: var(--pf-navy);
	color: #fff;
}

.pf-steps__item.is-done {
	color: var(--pf-text);
}

.pf-steps__item.is-done .pf-steps__num {
	border-color: var(--pf-ok);
	background: var(--pf-ok);
	color: #fff;
}

.pf-steps__item.is-done + .pf-steps__item::before {
	background: var(--pf-ok);
}

/* ================= Controles comunes ================= */

/* Botón principal: bloques y clásico. */
body.pf-tienda .wc-block-components-button:where(:not(.is-link, .wc-block-components-quantity-selector__button, .wc-block-components-panel__button)),
body.pf-tienda .woocommerce .button:where(:not(.wc-forward, .woocommerce-Button--previous, .woocommerce-Button--next)),
body.pf-tienda .woocommerce button[type="submit"],
body.pf-tienda .woocommerce-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 50px;
	padding: 12px 26px;
	border: 0;
	border-radius: 10px;
	background-color: var(--pf-orange);
	color: #fff;
	font-family: var(--pf-font-display);
	font-size: 15px;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: 0.01em;
	text-transform: none;
	text-decoration: none;
	box-shadow: none;
	cursor: pointer;
	transition: background-color 0.15s ease, transform 0.15s ease;
}

body.pf-tienda .wc-block-components-button:where(:not(.is-link, .wc-block-components-quantity-selector__button, .wc-block-components-panel__button)):hover,
body.pf-tienda .woocommerce .button:where(:not(.wc-forward, .woocommerce-Button--previous, .woocommerce-Button--next)):hover,
body.pf-tienda .woocommerce button[type="submit"]:hover,
body.pf-tienda .woocommerce-button:hover {
	background-color: var(--pf-orange-dark);
	color: #fff;
}

body.pf-tienda .wc-block-components-button:disabled,
body.pf-tienda .woocommerce .button:disabled {
	opacity: 0.55;
	cursor: not-allowed;
}

/* Botón secundario (ver pedido, pagar, etc. en tablas). */
body.pf-tienda .woocommerce .woocommerce-orders-table .button,
body.pf-tienda .woocommerce .wc-forward,
body.pf-tienda .woocommerce .woocommerce-Button--previous,
body.pf-tienda .woocommerce .woocommerce-Button--next {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding: 8px 16px;
	border: 1.5px solid var(--pf-line-2);
	border-radius: 9px;
	background: #fff;
	color: var(--pf-ink);
	font-family: var(--pf-font-body);
	font-size: 13.5px;
	font-weight: 600;
	text-decoration: none;
}

body.pf-tienda .woocommerce .woocommerce-orders-table .button:hover,
body.pf-tienda .woocommerce .wc-forward:hover {
	border-color: var(--pf-navy);
	background: #fff;
	color: var(--pf-navy);
}

/* Campos: bloques + clásico. */
body.pf-tienda .wc-block-components-text-input input,
body.pf-tienda .wc-block-components-textarea,
body.pf-tienda .wc-blocks-components-select .wc-blocks-components-select__select,
body.pf-tienda .wc-block-components-combobox .wc-block-components-combobox-control input.components-combobox-control__input,
body.pf-tienda .woocommerce form .input-text,
body.pf-tienda .woocommerce form select,
body.pf-tienda .woocommerce form textarea,
body.pf-tienda .select2-container--default .select2-selection--single {
	min-height: 52px;
	border: 1.5px solid var(--pf-line-2);
	border-radius: 10px;
	background-color: #fff;
	color: var(--pf-ink);
	font-family: var(--pf-font-body);
	font-size: 15px;
	box-shadow: none;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

body.pf-tienda .woocommerce form .input-text,
body.pf-tienda .woocommerce form select,
body.pf-tienda .woocommerce form textarea {
	width: 100%;
	padding: 12px 14px;
}

body.pf-tienda .wc-block-components-text-input input:focus,
body.pf-tienda .wc-block-components-textarea:focus,
body.pf-tienda .wc-blocks-components-select .wc-blocks-components-select__select:focus,
body.pf-tienda .wc-block-components-combobox .wc-block-components-combobox-control input.components-combobox-control__input:focus,
body.pf-tienda .woocommerce form .input-text:focus,
body.pf-tienda .woocommerce form select:focus,
body.pf-tienda .woocommerce form textarea:focus {
	border-color: var(--pf-navy);
	box-shadow: var(--pf-focus);
	outline: none;
}

body.pf-tienda .wc-block-components-text-input label,
body.pf-tienda .wc-blocks-components-select .wc-blocks-components-select__label,
body.pf-tienda .wc-block-components-combobox .wc-block-components-combobox-control label {
	color: var(--pf-text-3);
}

body.pf-tienda .woocommerce form .form-row label {
	margin-bottom: 6px;
	font-size: 13.5px;
	font-weight: 600;
	color: var(--pf-text);
}

body.pf-tienda .woocommerce form .form-row .required {
	color: var(--pf-orange);
	text-decoration: none;
}

body.pf-tienda .wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"],
body.pf-tienda .woocommerce input[type="checkbox"] {
	border-radius: 5px;
	accent-color: var(--pf-navy);
}

body.pf-tienda .wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"]:checked {
	border-color: var(--pf-navy);
	background: var(--pf-navy);
}

body.pf-tienda .wc-block-components-checkbox .wc-block-components-checkbox__mark {
	fill: #fff;
}

/* Avisos: bloques + clásico. */
body.pf-tienda .wc-block-components-notice-banner,
body.pf-tienda .woocommerce-message,
body.pf-tienda .woocommerce-info,
body.pf-tienda .woocommerce-error {
	margin: 0 0 18px;
	padding: 14px 18px;
	border: 1px solid var(--pf-line);
	border-left: 4px solid var(--pf-navy);
	border-radius: 12px;
	background: #fff;
	color: var(--pf-ink);
	font-size: 14px;
	box-shadow: none;
}

body.pf-tienda .wc-block-components-notice-banner.is-success,
body.pf-tienda .woocommerce-message {
	border-left-color: var(--pf-ok);
}

body.pf-tienda .wc-block-components-notice-banner.is-error,
body.pf-tienda .woocommerce-error {
	border-left-color: var(--pf-err);
}

body.pf-tienda .woocommerce-message::before,
body.pf-tienda .woocommerce-info::before,
body.pf-tienda .woocommerce-error::before {
	display: none;
}

/* ================= Tarjeta genérica ================= */

body.pf-tienda .wc-block-cart .wc-block-components-main,
body.pf-tienda .wc-block-components-sidebar,
body.pf-tienda .wc-block-components-checkout-step,
body.pf-tienda .woocommerce-MyAccount-content,
body.pf-tienda .woocommerce-MyAccount-navigation,
body.pf-tienda .wp-block-woocommerce-empty-cart-block,
body.pf-tienda .woocommerce-order {
	border: 1px solid var(--pf-line);
	border-radius: var(--pf-radius);
	background: #fff;
}

/* ================= Carrito (bloque) ================= */

body.pf-tienda .wc-block-components-sidebar-layout {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 28px;
	margin: 0;
}

body.pf-tienda .wc-block-cart .wc-block-components-main {
	flex: 1 1 560px;
	min-width: 0;
	width: auto;
	padding: 8px 24px;
}

body.pf-tienda .wc-block-components-sidebar {
	flex: 0 1 380px;
	width: auto;
	min-width: 0;
	margin: 0;
	padding: 24px;
	position: sticky;
	top: calc(24px + var(--wp-admin--admin-bar--height, 0px));
}

body.pf-tienda.pf-tienda--carrito .wc-block-components-sidebar {
	top: calc(150px + var(--wp-admin--admin-bar--height, 0px)); /* Debajo de la cabecera fija. */
}

body.pf-tienda .wc-block-cart-items {
	margin: 0;
	border: 0;
}

body.pf-tienda .wc-block-cart-items__header {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--pf-muted);
}

body.pf-tienda .wc-block-cart-items__header th {
	padding: 14px 0;
	border-bottom: 1px solid var(--pf-line);
}

body.pf-tienda .wc-block-cart-items__row {
	border-bottom: 1px solid var(--pf-line);
}

body.pf-tienda .wc-block-cart-items__row:last-child {
	border-bottom: 0;
}

body.pf-tienda .wc-block-cart-items__row td {
	padding-top: 20px;
	padding-bottom: 20px;
	border: 0;
}

body.pf-tienda .wc-block-cart-item__image img,
body.pf-tienda .wc-block-components-order-summary-item__image img {
	border: 1px solid var(--pf-line);
	border-radius: 10px;
	background: #fff;
	object-fit: contain;
}

body.pf-tienda .wc-block-components-product-name {
	color: var(--pf-ink);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.35;
	text-decoration: none;
}

body.pf-tienda .wc-block-components-product-name:hover {
	color: var(--pf-orange);
}

body.pf-tienda .wc-block-cart-item__prices,
body.pf-tienda .wc-block-components-product-metadata {
	font-size: 13px;
	color: var(--pf-text-3);
}

body.pf-tienda .wc-block-cart-item__total,
body.pf-tienda .wc-block-cart-item__total .wc-block-components-formatted-money-amount {
	font-family: var(--pf-font-display);
	font-weight: 800;
	color: var(--pf-ink);
}

body.pf-tienda .wc-block-components-quantity-selector {
	border: 1.5px solid var(--pf-line-2);
	border-radius: 10px;
	overflow: hidden;
}

body.pf-tienda .wc-block-components-quantity-selector::after {
	display: none;
}

body.pf-tienda .wc-block-components-quantity-selector input.wc-block-components-quantity-selector__input {
	min-height: 38px;
	border: 0;
	font-weight: 700;
	color: var(--pf-ink);
	box-shadow: none;
}

body.pf-tienda .wc-block-components-quantity-selector .wc-block-components-quantity-selector__button {
	min-width: 36px;
	border: 0;
	background: var(--pf-soft);
	color: var(--pf-ink);
	font-size: 16px;
}

body.pf-tienda .wc-block-components-quantity-selector .wc-block-components-quantity-selector__button:hover {
	background: var(--pf-tint);
	color: var(--pf-navy);
}

body.pf-tienda .wc-block-cart-item__remove-link {
	font-size: 13px;
	color: var(--pf-muted);
	text-decoration: underline;
}

body.pf-tienda .wc-block-cart-item__remove-link:hover {
	color: var(--pf-err);
}

body.pf-tienda .wc-block-cart__totals-title,
body.pf-tienda .wc-block-components-checkout-order-summary__title-text {
	margin: 0 0 8px;
	padding: 0;
	font-family: var(--pf-font-display);
	font-size: 18px;
	font-weight: 800;
	text-transform: none;
	letter-spacing: -0.01em;
	color: var(--pf-ink);
}

body.pf-tienda .wc-block-components-totals-wrapper {
	padding: 14px 0;
	border-top: 1px solid var(--pf-line);
}

body.pf-tienda .wc-block-components-totals-item {
	font-size: 14px;
	color: var(--pf-text);
}

body.pf-tienda .wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
body.pf-tienda .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
	font-family: var(--pf-font-display);
	font-size: 20px;
	font-weight: 800;
	color: var(--pf-ink);
}

body.pf-tienda .wc-block-components-panel__button {
	font-size: 14px;
	font-weight: 600;
	color: var(--pf-navy);
}

body.pf-tienda .wc-block-cart__submit-container {
	padding-top: 6px;
}

body.pf-tienda .wc-block-cart__submit-button {
	width: 100%;
	min-height: 54px;
}

body.pf-tienda .wc-block-cart__payment-options {
	padding: 10px 0 0;
	text-align: center;
	font-size: 12px;
	color: var(--pf-muted);
}

/* Carrito vacío. */
body.pf-tienda .wp-block-woocommerce-empty-cart-block {
	max-width: 720px;
	margin: 0 auto;
	padding: 40px 24px;
	text-align: center;
}

body.pf-tienda .wc-block-cart__empty-cart__title {
	font-size: 22px;
	font-weight: 800;
}

body.pf-tienda .wp-block-woocommerce-empty-cart-block .wp-block-separator {
	margin: 28px auto;
	border-color: var(--pf-line);
}

/* Productos sugeridos del bloque (ventas cruzadas / nuevos): tarjetas PF. */
body.pf-tienda .wc-block-grid__product,
body.pf-tienda .wc-block-product {
	padding: 14px;
	border: 1px solid var(--pf-line);
	border-radius: 14px;
	background: #fff;
}

/* ================= Checkout (bloque) ================= */

/* Barra y pie mínimos. */
.pf-co {
	position: sticky;
	top: 0;
	z-index: 50;
	background: #fff;
	border-bottom: 1px solid var(--pf-line);
}

body.admin-bar .pf-co {
	top: var(--wp-admin--admin-bar--height, 32px);
}

.pf-co__in,
.pf-cof__in {
	display: flex;
	align-items: center;
	gap: 16px;
	max-width: 1240px;
	margin: 0 auto;
	padding: 14px 24px;
}

.pf-co__logo {
	line-height: 0;
}

.pf-co__logo-img {
	width: auto;
	height: 38px;
	max-width: 180px;
	object-fit: contain;
}

.pf-co__logo-text {
	font-family: var(--pf-font-display);
	font-weight: 800;
	font-size: 20px;
	color: var(--pf-ink);
}

.pf-co__secure {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-left: auto;
	padding: 6px 12px;
	border-radius: 100px;
	background: var(--pf-ok-bg);
	color: var(--pf-ok);
	font-size: 13px;
	font-weight: 700;
}

body.pf-tienda a.pf-co__back {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	min-height: 44px;
	font-size: 14px;
	font-weight: 600;
	color: var(--pf-text);
	text-decoration: none;
}

body.pf-tienda a.pf-co__back:hover {
	color: var(--pf-orange);
}

.pf-cof {
	border-top: 1px solid var(--pf-line);
	background: #fff;
}

.pf-cof__in {
	flex-wrap: wrap;
	justify-content: space-between;
	font-size: 13px;
	color: var(--pf-text-3);
}

.pf-cof__help a {
	font-weight: 700;
}

body.pf-tienda .wc-block-checkout .wc-block-components-main {
	flex: 1 1 600px;
	min-width: 0;
	width: auto;
	padding: 0;
	border: 0;
	background: none;
}

body.pf-tienda .wc-block-components-checkout-step {
	margin: 0 0 16px;
	padding: 22px 24px 24px;
}

/* Números y líneas de pasos de Woo: los reemplazan las tarjetas. */
body.pf-tienda .wc-block-components-checkout-step::after,
body.pf-tienda .wc-block-components-checkout-step--with-step-number .wc-block-components-checkout-step__title::before {
	display: none;
}

body.pf-tienda .wc-block-components-checkout-step--with-step-number .wc-block-components-checkout-step__container,
body.pf-tienda .wc-block-components-checkout-step--with-step-number .wc-block-components-checkout-step__heading {
	padding-left: 0;
	margin-left: 0;
}

body.pf-tienda .wc-block-components-checkout-step__title {
	font-family: var(--pf-font-display);
	font-size: 18px;
	font-weight: 800;
	color: var(--pf-ink);
}

body.pf-tienda .wc-block-components-checkout-step__description {
	font-size: 13.5px;
	color: var(--pf-text-3);
}

/* Opciones de envío y de pago como tarjetas seleccionables. */
body.pf-tienda .wc-block-components-radio-control--highlight-checked,
body.pf-tienda .wc-block-components-radio-control-accordion-option {
	border: 0;
	box-shadow: none;
}

body.pf-tienda .wc-block-components-radio-control--highlight-checked::after,
body.pf-tienda .wc-block-components-radio-control-accordion-option::after,
body.pf-tienda .wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control__option::after {
	display: none;
}

body.pf-tienda .wc-block-components-radio-control__option,
body.pf-tienda .wc-block-components-radio-control-accordion-option {
	margin: 0 0 10px;
	border: 1.5px solid var(--pf-line-2);
	border-radius: 12px;
	background: #fff;
}

body.pf-tienda .wc-block-components-radio-control__option {
	padding: 16px 16px 16px 52px;
}

body.pf-tienda .wc-block-components-radio-control-accordion-option .wc-block-components-radio-control__option {
	margin: 0;
	border: 0;
}

body.pf-tienda .wc-block-components-radio-control__option--checked-option-highlighted,
body.pf-tienda .wc-block-components-radio-control-accordion-option--checked-option-highlighted,
body.pf-tienda .wc-block-components-radio-control__option:has(input:checked),
body.pf-tienda .wc-block-components-radio-control-accordion-option:has(> .wc-block-components-radio-control__option input:checked) {
	border-color: var(--pf-navy);
	background: var(--pf-tint);
}

body.pf-tienda .wc-block-components-radio-control-accordion-option:has(> .wc-block-components-radio-control__option input:checked) .wc-block-components-radio-control__option {
	background: transparent;
}

body.pf-tienda .wc-block-components-radio-control__input {
	border: 1.5px solid var(--pf-muted);
}

body.pf-tienda .wc-block-components-radio-control__input:checked {
	border-color: var(--pf-navy);
}

body.pf-tienda .wc-block-components-radio-control__input:checked::before {
	background: var(--pf-navy);
}

body.pf-tienda .wc-block-components-radio-control__label,
body.pf-tienda .wc-block-components-radio-control__label-group {
	font-weight: 600;
	color: var(--pf-ink);
}

body.pf-tienda .wc-block-components-radio-control-accordion-content {
	padding: 0 16px 16px 52px;
	font-size: 13.5px;
	color: var(--pf-text-2);
}

/* Resumen del pedido. */
body.pf-tienda .wc-block-checkout .wc-block-components-sidebar {
	top: calc(96px + var(--wp-admin--admin-bar--height, 0px));
}

body.pf-tienda .wc-block-components-order-summary .wc-block-components-order-summary-item {
	padding: 12px 0;
	border-bottom: 1px solid var(--pf-line);
}

body.pf-tienda .wc-block-components-order-summary-item__quantity {
	border: 2px solid #fff;
	background: var(--pf-navy);
	color: #fff;
	font-weight: 700;
	box-shadow: none;
}

body.pf-tienda .wc-block-components-order-summary-item__description .wc-block-components-product-name {
	font-size: 14px;
}

body.pf-tienda .wc-block-components-order-summary-item__total-price {
	font-weight: 700;
	color: var(--pf-ink);
}

body.pf-tienda .wc-block-checkout__actions {
	padding: 4px 0 0;
}

body.pf-tienda .wc-block-checkout__actions_row {
	display: flex;
	flex-direction: row-reverse;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
}

body.pf-tienda .wc-block-components-checkout-place-order-button {
	flex: 1 1 auto;
	max-width: 360px;
	min-height: 56px;
	font-size: 16px;
}

body.pf-tienda .wc-block-components-checkout-return-to-cart-button {
	font-size: 14px;
	font-weight: 600;
	color: var(--pf-text-2);
	text-decoration: none;
}

body.pf-tienda .wc-block-checkout__terms {
	margin: 0 0 16px;
	font-size: 13px;
	color: var(--pf-text-3);
}

/* ================= Checkout clásico (shortcode dentro de la plantilla de Elementor) ================= */

body.pf-tienda form.checkout.woocommerce-checkout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(320px, 400px);
	grid-template-areas:
		"notices notices"
		"details heading"
		"details review";
	grid-template-rows: auto auto 1fr;
	gap: 0 28px;
	align-items: start;
	margin: 0;
}

body.pf-tienda form.checkout > .woocommerce-NoticeGroup {
	grid-area: notices;
}

body.pf-tienda form.checkout > #customer_details {
	grid-area: details;
	padding: 24px;
	border: 1px solid var(--pf-line);
	border-radius: var(--pf-radius);
	background: #fff;
}

body.pf-tienda form.checkout > #order_review_heading {
	grid-area: heading;
	margin: 0;
	padding: 22px 24px 0;
	border: 1px solid var(--pf-line);
	border-bottom: 0;
	border-radius: var(--pf-radius) var(--pf-radius) 0 0;
	background: #fff;
	font-size: 18px;
	font-weight: 800;
}

body.pf-tienda form.checkout > #order_review {
	grid-area: review;
	padding: 8px 24px 24px;
	border: 1px solid var(--pf-line);
	border-top: 0;
	border-radius: 0 0 var(--pf-radius) var(--pf-radius);
	background: #fff;
}

body.pf-tienda #customer_details .col-1,
body.pf-tienda #customer_details .col-2 {
	float: none;
	width: 100%;
	max-width: none;
}

body.pf-tienda #customer_details .col-2 {
	margin-top: 8px;
}

body.pf-tienda #customer_details h3,
body.pf-tienda .woocommerce-checkout h3 {
	margin: 0 0 16px;
	font-size: 18px;
	font-weight: 800;
	text-transform: none;
}

/* La plantilla de Elementor pone etiquetas en mayúsculas y campos grises:
   doble clase para ganarle sin !important. */
body.pf-tienda.pf-tienda .woocommerce-checkout .form-row label {
	text-transform: none;
	letter-spacing: 0;
}

body.pf-tienda.pf-tienda .woocommerce-checkout .form-row .input-text,
body.pf-tienda.pf-tienda .woocommerce-checkout .form-row select {
	min-height: 50px;
	border: 1.5px solid var(--pf-line-2);
	border-radius: 10px;
	background: #fff;
}

body.pf-tienda.pf-tienda .woocommerce-checkout .form-row .input-text:focus {
	border-color: var(--pf-navy);
	box-shadow: var(--pf-focus);
}

body.pf-tienda .woocommerce-checkout .form-row-first,
body.pf-tienda .woocommerce-checkout .form-row-last {
	width: calc(50% - 8px);
}

body.pf-tienda.pf-tienda .woocommerce-checkout-review-order-table {
	border: 0;
	border-radius: 0;
}

body.pf-tienda.pf-tienda .woocommerce-checkout-review-order-table th,
body.pf-tienda.pf-tienda .woocommerce-checkout-review-order-table td {
	padding: 10px 0;
	background: #fff;
	border-top: 1px solid var(--pf-line);
	font-size: 14px;
	text-transform: none;
	letter-spacing: 0;
	color: var(--pf-ink);
}

body.pf-tienda.pf-tienda .woocommerce-checkout-review-order-table thead th {
	border-top: 0;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--pf-muted);
}

body.pf-tienda .woocommerce-checkout-review-order-table .product-total,
body.pf-tienda .woocommerce-checkout-review-order-table td:last-child {
	text-align: right;
}

body.pf-tienda .woocommerce-checkout-review-order-table .product-quantity {
	color: var(--pf-text-3);
	font-weight: 600;
}

body.pf-tienda.pf-tienda .woocommerce-checkout-review-order-table .order-total th,
body.pf-tienda.pf-tienda .woocommerce-checkout-review-order-table .order-total td {
	padding-top: 14px;
	font-family: var(--pf-font-display);
	font-size: 19px;
	font-weight: 800;
}

body.pf-tienda .woocommerce-checkout-review-order-table #shipping_method {
	margin: 0;
	padding: 0;
	list-style: none;
	text-align: left;
}

body.pf-tienda .woocommerce-checkout-review-order-table #shipping_method li {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin: 0 0 6px;
	font-weight: 600;
}

body.pf-tienda.pf-tienda #payment {
	margin-top: 16px;
	border-radius: 0;
	background: none;
}

body.pf-tienda #payment ul.payment_methods {
	margin: 0 0 16px;
	padding: 0;
	border: 0;
	list-style: none;
}

body.pf-tienda #payment ul.payment_methods li {
	margin: 0 0 10px;
	padding: 14px 16px;
	border: 1.5px solid var(--pf-line-2);
	border-radius: 12px;
	background: #fff;
	font-weight: 600;
	color: var(--pf-ink);
}

body.pf-tienda #payment ul.payment_methods li:has(input:checked) {
	border-color: var(--pf-navy);
	background: var(--pf-tint);
}

body.pf-tienda #payment ul.payment_methods li input[type="radio"] {
	margin-right: 8px;
	accent-color: var(--pf-navy);
}

body.pf-tienda.pf-tienda #payment div.payment_box {
	margin: 10px 0 0;
	padding: 12px 14px;
	border-radius: 10px;
	background: #fff;
	font-size: 13.5px;
	font-weight: 400;
	color: var(--pf-text-2);
}

body.pf-tienda.pf-tienda #payment div.payment_box::before {
	display: none;
}

body.pf-tienda #payment .place-order {
	margin: 0;
	padding: 0;
}

body.pf-tienda .woocommerce-terms-and-conditions-wrapper {
	font-size: 12.5px;
	line-height: 1.5;
	color: var(--pf-text-3);
}

body.pf-tienda.pf-tienda #place_order {
	width: 100%;
	min-height: 56px;
	margin-top: 12px;
	border-radius: 10px;
	background-color: var(--pf-orange);
	font-family: var(--pf-font-display);
	font-size: 16px;
	font-weight: 800;
	color: #fff;
}

body.pf-tienda.pf-tienda #place_order:hover {
	background-color: var(--pf-orange-dark);
}

body.pf-tienda .woocommerce-form-coupon-toggle .woocommerce-info {
	margin: 0 0 16px;
}

body.pf-tienda form.checkout_coupon {
	margin: 0 0 16px;
	padding: 16px;
	border: 1px solid var(--pf-line);
	border-radius: 12px;
	background: #fff;
}

/* ================= Pedido recibido (gracias) ================= */

body.pf-tienda .woocommerce-order {
	max-width: 860px;
	margin: 0 auto;
	padding: 32px;
}

body.pf-tienda .woocommerce-order .woocommerce-notice--success {
	position: relative;
	margin: 0 0 24px;
	padding: 0 0 0 64px;
	border: 0;
	background: none;
	font-family: var(--pf-font-display);
	font-size: clamp(20px, 2.6vw, 26px);
	font-weight: 800;
	line-height: 1.25;
	color: var(--pf-ink);
}

body.pf-tienda .woocommerce-order .woocommerce-notice--success::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	width: 48px;
	height: 48px;
	margin-top: -24px;
	border-radius: 50%;
	background: var(--pf-ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 24px no-repeat;
}

body.pf-tienda ul.woocommerce-order-overview {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 12px;
	margin: 0 0 28px;
	padding: 0;
	list-style: none;
}

body.pf-tienda ul.woocommerce-order-overview li {
	margin: 0;
	padding: 14px 16px;
	border: 0;
	border-radius: 12px;
	background: var(--pf-soft);
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--pf-text-3);
}

body.pf-tienda ul.woocommerce-order-overview li strong {
	display: block;
	margin-top: 4px;
	font-family: var(--pf-font-display);
	font-size: 15px;
	font-weight: 800;
	text-transform: none;
	letter-spacing: 0;
	color: var(--pf-ink);
}

/* ================= Tablas clásicas ================= */

body.pf-tienda .woocommerce table.shop_table {
	width: 100%;
	margin: 0 0 20px;
	border: 1px solid var(--pf-line);
	border-collapse: separate;
	border-spacing: 0;
	border-radius: 12px;
	overflow: hidden;
	font-size: 14px;
}

body.pf-tienda .woocommerce table.shop_table th {
	padding: 12px 16px;
	background: var(--pf-soft);
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--pf-text-3);
	border: 0;
}

body.pf-tienda .woocommerce table.shop_table td {
	padding: 14px 16px;
	border-top: 1px solid var(--pf-line);
	color: var(--pf-ink);
}

body.pf-tienda .woocommerce table.shop_table tfoot th,
body.pf-tienda .woocommerce table.shop_table tfoot td {
	background: #fff;
	text-transform: none;
	letter-spacing: 0;
	font-size: 14px;
}

body.pf-tienda .woocommerce-orders-table__cell-order-number a {
	font-weight: 700;
}

body.pf-tienda .woocommerce mark.order-status,
body.pf-tienda .woocommerce mark {
	padding: 2px 8px;
	border-radius: 100px;
	background: var(--pf-tint);
	color: var(--pf-navy);
	font-weight: 600;
}

/* ================= Mi cuenta (clásico) ================= */

body.pf-tienda--cuenta .woocommerce {
	display: grid;
	grid-template-columns: 260px minmax(0, 1fr);
	gap: 24px;
	align-items: start;
}

body.pf-tienda--cuenta .woocommerce > .woocommerce-notices-wrapper {
	grid-column: 1 / -1;
}

/* El tema reordena nav/contenido: se fijan columna, fila y orden. */
body.pf-tienda--cuenta .woocommerce > .woocommerce-MyAccount-navigation {
	grid-column: 1;
	grid-row: 1;
	order: 0;
}

body.pf-tienda--cuenta .woocommerce > .woocommerce-MyAccount-content {
	grid-column: 2;
	grid-row: 1;
	order: 0;
}

body.pf-tienda .woocommerce-MyAccount-navigation {
	float: none;
	width: auto;
	padding: 8px;
	position: sticky;
	top: calc(150px + var(--wp-admin--admin-bar--height, 0px));
}

body.pf-tienda .woocommerce-MyAccount-navigation ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

body.pf-tienda .woocommerce-MyAccount-navigation li {
	margin: 0;
	padding: 0;
	border: 0;
}

body.pf-tienda .woocommerce-MyAccount-navigation li a {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 46px;
	padding: 0 14px;
	border-radius: 10px;
	color: var(--pf-text);
	font-size: 14.5px;
	font-weight: 600;
	text-decoration: none;
}

body.pf-tienda .woocommerce-MyAccount-navigation li a::before {
	content: "";
	flex: none;
	width: 20px;
	height: 20px;
	background: currentColor;
	-webkit-mask: var(--pf-ico) center / contain no-repeat;
	mask: var(--pf-ico) center / contain no-repeat;
	opacity: 0.85;
}

body.pf-tienda .woocommerce-MyAccount-navigation li a:hover {
	background: var(--pf-soft);
	color: var(--pf-ink);
}

body.pf-tienda .woocommerce-MyAccount-navigation li.is-active a {
	background: var(--pf-tint);
	color: var(--pf-navy);
	font-weight: 700;
	box-shadow: inset 3px 0 0 var(--pf-orange);
}

/* Íconos del menú (máscaras SVG). */
body.pf-tienda .woocommerce-MyAccount-navigation li a {
	--pf-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3C/svg%3E");
}
body.pf-tienda .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--dashboard a {
	--pf-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M3 10.5 12 3l9 7.5V21h-6v-6H9v6H3z'/%3E%3C/svg%3E");
}
body.pf-tienda .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--orders a {
	--pf-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M21 8 12 3 3 8v8l9 5 9-5z'/%3E%3Cpath d='M3 8l9 5 9-5M12 13v8'/%3E%3C/svg%3E");
}
body.pf-tienda .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--downloads a {
	--pf-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 3v12M7 10l5 5 5-5M4 21h16'/%3E%3C/svg%3E");
}
body.pf-tienda .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--edit-address a {
	--pf-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
}
body.pf-tienda .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--payment-methods a {
	--pf-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Crect x='2' y='5' width='20' height='14' rx='2'/%3E%3Cpath d='M2 10h20'/%3E%3C/svg%3E");
}
body.pf-tienda .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--edit-account a {
	--pf-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c0-4.4 3.6-7 8-7s8 2.6 8 7'/%3E%3C/svg%3E");
}
body.pf-tienda .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout a {
	--pf-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4M16 17l5-5-5-5M21 12H9'/%3E%3C/svg%3E");
}

body.pf-tienda .woocommerce-MyAccount-navigation-link--customer-logout {
	margin-top: 6px;
	padding-top: 6px;
	border-top: 1px solid var(--pf-line);
}

body.pf-tienda .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout a {
	color: var(--pf-text-3);
}

body.pf-tienda .woocommerce-MyAccount-content {
	float: none;
	width: auto;
	min-width: 0;
	padding: 28px;
	font-size: 15px;
	line-height: 1.6;
	color: var(--pf-text);
}

body.pf-tienda .woocommerce-MyAccount-content > p:first-child {
	margin-top: 0;
}

body.pf-tienda .woocommerce-MyAccount-content h2,
body.pf-tienda .woocommerce-MyAccount-content h3 {
	font-size: 20px;
	font-weight: 800;
}

/* Accesos rápidos del inicio. */
.pf-dash {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
	gap: 14px;
	margin: 22px 0 0;
	padding: 0;
	list-style: none;
}

.pf-dash li {
	margin: 0;
}

body.pf-tienda a.pf-dash__card {
	display: flex;
	flex-direction: column;
	gap: 4px;
	height: 100%;
	padding: 18px;
	border: 1px solid var(--pf-line);
	border-radius: 14px;
	background: #fff;
	color: var(--pf-ink);
	text-decoration: none;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

body.pf-tienda a.pf-dash__card:hover {
	border-color: var(--pf-navy);
	box-shadow: 0 8px 24px rgba(18, 23, 58, 0.08);
	color: var(--pf-ink);
}

.pf-dash__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	margin-bottom: 8px;
	border-radius: 12px;
	background: var(--pf-tint);
	color: var(--pf-navy);
}

.pf-dash__title {
	font-family: var(--pf-font-display);
	font-size: 15.5px;
	font-weight: 800;
}

.pf-dash__text {
	font-size: 13px;
	color: var(--pf-text-3);
}

/* Direcciones. */
body.pf-tienda .woocommerce-Addresses {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 16px;
}

body.pf-tienda .woocommerce-Addresses::before,
body.pf-tienda .woocommerce-Addresses::after {
	display: none;
}

body.pf-tienda .woocommerce-Addresses .woocommerce-Address {
	float: none;
	width: auto;
	padding: 18px;
	border: 1px solid var(--pf-line);
	border-radius: 14px;
	background: var(--pf-soft);
}

body.pf-tienda .woocommerce-Address-title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

body.pf-tienda .woocommerce-Address-title h2,
body.pf-tienda .woocommerce-Address-title h3 {
	margin: 0;
	font-size: 16px;
}

body.pf-tienda .woocommerce-Address address {
	margin-top: 10px;
	font-style: normal;
	line-height: 1.6;
}

/* Formularios de la cuenta en dos columnas. */
body.pf-tienda .woocommerce-MyAccount-content form .form-row-first,
body.pf-tienda .woocommerce-MyAccount-content form .form-row-last {
	width: calc(50% - 8px);
}

body.pf-tienda .woocommerce-MyAccount-content fieldset {
	margin: 24px 0 0;
	padding: 18px;
	border: 1px solid var(--pf-line);
	border-radius: 12px;
}

body.pf-tienda .woocommerce-MyAccount-content legend {
	padding: 0 6px;
	font-family: var(--pf-font-display);
	font-weight: 800;
	color: var(--pf-ink);
}

/* ================= Acceso / registro ================= */

body.pf-tienda--acceso .page-content {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
	max-width: 1040px;
	margin: 0 auto;
	border: 1px solid var(--pf-line);
	border-radius: 20px;
	background: #fff;
	overflow: hidden;
	box-shadow: 0 24px 60px rgba(18, 23, 58, 0.08);
}

.pf-auth__aside {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 48px 40px;
	background: linear-gradient(150deg, #12173a 0%, #1e2a6e 70%, #2c3a8c 100%);
	color: #cdd3f0;
}

.pf-auth__kicker {
	margin: 0 0 8px;
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #ffb088;
}

body.pf-tienda .pf-auth__title {
	margin: 0 0 10px;
	font-size: clamp(26px, 3vw, 34px);
	font-weight: 800;
	color: #fff;
}

.pf-auth__lead {
	margin: 0 0 24px;
	font-size: 15px;
	line-height: 1.55;
}

.pf-auth__list {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.pf-auth__list li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 0;
	font-size: 14.5px;
	line-height: 1.45;
	color: #e6e9f7;
}

.pf-auth__list svg {
	flex: none;
	margin-top: 1px;
	color: #ffb088;
}

body.pf-tienda--acceso .page-content > .woocommerce {
	padding: 40px;
}

body.pf-tienda--acceso .woocommerce h2 {
	margin: 0 0 18px;
	font-size: 22px;
	font-weight: 800;
}

body.pf-tienda--acceso .woocommerce .u-columns {
	display: block;
}

body.pf-tienda--acceso .woocommerce .u-columns .u-column1,
body.pf-tienda--acceso .woocommerce .u-columns .u-column2 {
	float: none;
	width: 100%;
}

body.pf-tienda--acceso .woocommerce form.login,
body.pf-tienda--acceso .woocommerce form.register,
body.pf-tienda--acceso .woocommerce form.lost_reset_password {
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
}

body.pf-tienda--acceso .woocommerce form .form-row {
	margin: 0 0 16px;
	padding: 0;
}

body.pf-tienda--acceso .woocommerce .woocommerce-form-login__rememberme {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 14px;
	font-size: 14px;
	font-weight: 500;
}

body.pf-tienda--acceso .woocommerce .woocommerce-form-login__submit,
body.pf-tienda--acceso .woocommerce .woocommerce-form-register__submit,
body.pf-tienda--acceso .woocommerce form.lost_reset_password button {
	width: 100%;
	float: none;
	margin: 0;
}

body.pf-tienda--acceso .woocommerce .lost_password {
	margin: 14px 0 0;
	font-size: 14px;
	text-align: center;
}

body.pf-tienda--acceso .woocommerce-privacy-policy-text {
	font-size: 12.5px;
	line-height: 1.5;
	color: var(--pf-text-3);
}

/* Pestañas (las pone pf-tienda.js si hay registro). */
.pf-auth__tabs {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4px;
	margin: 0 0 24px;
	padding: 4px;
	border-radius: 12px;
	background: var(--pf-soft);
}

body.pf-tienda .pf-auth__tab {
	min-height: 44px;
	padding: 0 12px;
	border: 0;
	border-radius: 9px;
	background: transparent;
	color: var(--pf-text-2);
	font-family: var(--pf-font-display);
	font-size: 14.5px;
	font-weight: 700;
	cursor: pointer;
}

body.pf-tienda .pf-auth__tab:hover,
body.pf-tienda .pf-auth__tab:focus {
	background: transparent;
	color: var(--pf-ink);
}

body.pf-tienda .pf-auth__tab[aria-selected="true"] {
	background: #fff;
	color: var(--pf-ink);
	box-shadow: 0 1px 3px rgba(18, 23, 58, 0.12);
}

.pf-auth--tabs .u-columns > [hidden] {
	display: none;
}

.pf-auth--tabs .u-columns h2 {
	display: none; /* El título lo da la pestaña. */
}

/* ================= Tablet y teléfono ================= */

@media (max-width: 1024px) {
	body.pf-tienda .wc-block-components-sidebar,
	body.pf-tienda.pf-tienda--carrito .wc-block-components-sidebar,
	body.pf-tienda .wc-block-checkout .wc-block-components-sidebar {
		position: static;
		flex-basis: 100%;
	}

	body.pf-tienda form.checkout.woocommerce-checkout {
		grid-template-columns: minmax(0, 1fr);
		grid-template-areas:
			"notices"
			"details"
			"heading"
			"review";
		grid-template-rows: auto;
		gap: 0;
	}

	body.pf-tienda form.checkout > #order_review_heading {
		margin-top: 16px;
	}
	body.pf-tienda--cuenta .woocommerce {
		grid-template-columns: minmax(0, 1fr);
	}

	body.pf-tienda--cuenta .woocommerce > .woocommerce-MyAccount-navigation,
	body.pf-tienda--cuenta .woocommerce > .woocommerce-MyAccount-content {
		grid-column: 1;
		grid-row: auto;
	}

	/* Menú de la cuenta: fila desplazable de pastillas. */
	body.pf-tienda .woocommerce-MyAccount-navigation {
		position: static;
		padding: 6px;
		overflow-x: auto;
		scrollbar-width: none;
	}

	body.pf-tienda .woocommerce-MyAccount-navigation ul {
		display: flex;
		gap: 4px;
		width: max-content;
	}

	body.pf-tienda .woocommerce-MyAccount-navigation li a {
		min-height: 44px;
		white-space: nowrap;
	}

	body.pf-tienda .woocommerce-MyAccount-navigation-link--customer-logout {
		margin: 0;
		padding: 0;
		border: 0;
	}

	body.pf-tienda .woocommerce-MyAccount-navigation li.is-active a {
		box-shadow: inset 0 -3px 0 var(--pf-orange);
	}

	body.pf-tienda--acceso .page-content {
		grid-template-columns: minmax(0, 1fr);
	}

	.pf-auth__aside {
		padding: 28px 24px;
	}

	.pf-auth__list {
		display: none; /* Menos scroll antes del formulario. */
	}
}

@media (max-width: 600px) {
	body.pf-tienda .site-main {
		padding: 18px 12px 40px;
	}

	.pf-steps__label {
		font-size: 12px;
	}

	.pf-steps__item:not(.is-current) .pf-steps__label {
		display: none; /* En teléfono: solo el nombre del paso actual. */
	}

	.pf-steps__item + .pf-steps__item::before {
		width: 16px;
	}

	body.pf-tienda .wc-block-cart .wc-block-components-main {
		padding: 4px 14px;
	}

	body.pf-tienda .wc-block-components-sidebar,
	body.pf-tienda .wc-block-components-checkout-step,
	body.pf-tienda .woocommerce-MyAccount-content {
		padding: 18px 16px;
	}

	body.pf-tienda .wc-block-checkout__actions_row {
		flex-direction: column;
		align-items: stretch;
	}

	body.pf-tienda .wc-block-components-checkout-place-order-button {
		max-width: none;
	}

	body.pf-tienda .wc-block-components-checkout-return-to-cart-button {
		text-align: center;
	}

	.pf-co__in {
		padding: 10px 12px;
		gap: 10px;
	}

	.pf-co__logo-img {
		height: 30px;
		max-width: 120px;
	}

	.pf-co__secure {
		padding: 5px 10px;
		font-size: 12px;
	}

	body.pf-tienda a.pf-co__back {
		font-size: 0; /* Solo la flecha: el texto no cabe junto al logo. */
		min-width: 44px;
		justify-content: center;
	}

	body.pf-tienda a.pf-co__back svg {
		width: 22px;
		height: 22px;
	}

	.pf-cof__in {
		flex-direction: column;
		align-items: flex-start;
		gap: 6px;
		padding: 16px 12px calc(16px + env(safe-area-inset-bottom, 0));
	}

	body.pf-tienda .woocommerce-order {
		padding: 22px 16px;
	}

	body.pf-tienda .woocommerce-MyAccount-content form .form-row-first,
	body.pf-tienda .woocommerce-MyAccount-content form .form-row-last,
	body.pf-tienda .woocommerce-checkout .form-row-first,
	body.pf-tienda .woocommerce-checkout .form-row-last {
		width: 100%;
	}

	body.pf-tienda form.checkout > #customer_details,
	body.pf-tienda form.checkout > #order_review_heading,
	body.pf-tienda form.checkout > #order_review {
		padding-left: 16px;
		padding-right: 16px;
	}

	/* Tabla de pedidos → tarjetas (Woo ya pone data-title en cada celda). */
	body.pf-tienda .woocommerce table.shop_table_responsive thead {
		display: none;
	}

	body.pf-tienda .woocommerce table.shop_table_responsive tr {
		display: block;
		padding: 10px 14px;
		border-top: 1px solid var(--pf-line);
	}

	body.pf-tienda .woocommerce table.shop_table_responsive tr:first-child {
		border-top: 0;
	}

	body.pf-tienda .woocommerce table.shop_table_responsive td {
		display: flex;
		justify-content: space-between;
		gap: 12px;
		padding: 6px 0;
		border: 0;
		text-align: right;
	}

	body.pf-tienda .woocommerce table.shop_table_responsive td::before {
		content: attr(data-title);
		font-weight: 600;
		color: var(--pf-text-3);
		text-align: left;
	}

	body.pf-tienda .woocommerce table.shop_table_responsive td.woocommerce-orders-table__cell-order-actions::before {
		display: none;
	}

	body.pf-tienda .woocommerce table.shop_table_responsive td.woocommerce-orders-table__cell-order-actions {
		justify-content: flex-start;
	}

	body.pf-tienda--acceso .page-content {
		border-radius: 16px;
	}

	body.pf-tienda--acceso .page-content > .woocommerce {
		padding: 24px 18px;
	}

	.pf-auth__aside {
		padding: 22px 18px;
	}

	.pf-auth__lead {
		margin: 0;
		font-size: 14px;
	}
}

@media (prefers-reduced-motion: reduce) {
	body.pf-tienda * {
		transition: none;
	}
}

/* ================= Ajustes 1.10.2 ================= */

/* El tema hijo pinta .woocommerce del checkout como tarjeta blanca de 1100 px:
   aquí las tarjetas son las del formulario y el resumen. */
body.pf-tienda.pf-tienda--checkout .elementor-widget-wc-elements .woocommerce,
body.pf-tienda.pf-tienda--gracias .elementor-widget-wc-elements .woocommerce {
	max-width: none;
	margin: 0;
	padding: 0;
	background: transparent;
	box-shadow: none;
	border: 0;
}

.pf-co .pf-co__logo-img {
	width: auto;
	height: 38px;
	max-width: 180px;
}

/* Enlaces azules solo en el contenido (no en el pie oscuro del sitio).
   Con :where() pesa como un «a» a secas: le gana al rosa del tema pero no a
   los componentes con clase (botón «Ir a Pagar» del mini-carrito, que con
   el peso anterior salía con texto azul sobre fondo azul). */
:where(body.pf-tienda) a {
	color: inherit;
}

body.pf-tienda :where(.site-main, .elementor-location-single) a {
	color: var(--pf-navy);
}

body.pf-tienda :where(.site-main, .elementor-location-single) a:hover {
	color: var(--pf-orange);
}

/* Menú de la cuenta: el tema le pone bordes al activo. */
body.pf-tienda .woocommerce-MyAccount-navigation li,
body.pf-tienda .woocommerce-MyAccount-navigation li a {
	border: 0;
	background-image: none;
}

body.pf-tienda .woocommerce-MyAccount-navigation li::before,
body.pf-tienda .woocommerce-MyAccount-navigation li::after,
body.pf-tienda .woocommerce-MyAccount-navigation li a::after {
	display: none;
}

@media (max-width: 600px) {

	.pf-co .pf-co__logo-img {
		height: 30px;
		max-width: 120px;
	}
}

.elementor-widget-wc-elements .pf-tpage__head {
	margin-top: 24px;
}

body.pf-tienda .woocommerce-checkout-review-order-table .woocommerce-shipping-totals td {
	text-align: left;
}

body.pf-tienda--acceso .woocommerce form.register > p:not(.form-row):not(.woocommerce-privacy-policy-text) {
	margin: 0 0 14px;
	font-size: 13.5px;
	line-height: 1.5;
	color: var(--pf-text-2);
}

/* Plantilla del checkout (Theme Builder): los contenedores de primer nivel
   (aviso «Importante» y el checkout) van a la misma caja que el resto, y sus
   widgets ocupan todo el ancho (en teléfono el aviso se encogía a 120 px). */
body.pf-tienda:is(.pf-tienda--checkout, .pf-tienda--gracias) .elementor-location-single > .e-con {
	width: 100%;
	max-width: 1240px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 24px;
	padding-right: 24px;
}

body.pf-tienda:is(.pf-tienda--checkout, .pf-tienda--gracias) .elementor-location-single :is(.e-con, .e-con-inner) > .elementor-widget {
	width: 100%;
	max-width: 100%;
	align-self: stretch;
}

@media (max-width: 1024px) {
	/* El tema pone flex-direction: column a la lista. */
	body.pf-tienda.pf-tienda .woocommerce-MyAccount-navigation ul {
		display: flex;
		flex-direction: row;
		flex-wrap: nowrap;
	}
}

@media (max-width: 600px) {
	body.pf-tienda:is(.pf-tienda--checkout, .pf-tienda--gracias) .elementor-location-single > .e-con {
		padding-left: 12px;
		padding-right: 12px;
	}
}

/* El tema pinta de negro el li activo del menú de la cuenta. */
body.pf-tienda.pf-tienda .woocommerce-MyAccount-navigation li,
body.pf-tienda.pf-tienda .woocommerce-MyAccount-navigation li.is-active {
	background: transparent;
}
