/* WIE · Parafarmacia DermoMedic — estilos de la sección (solo dentro de /parafarmacia/ y páginas WooCommerce)
   Tokens del diseño de referencia (v2): Raleway; texto #6b6470; títulos #4e4754; morado #a64bc8 (hover #8a35ad / #7a2a9e,
   enlaces #9b3fc0); franja hero #f7f3f9; bordes #ece6ef / #ddd2e3 / #e6e3e8; secundarios #8a8590 / #7b7480 / #a49dab. */

:root {
	--pf-text: #6b6470;
	--pf-text-strong: #4e4754;
	--pf-text-soft: #7b7480;
	--pf-muted: #8a8590;
	--pf-muted-2: #a49dab;
	--pf-purple: #a64bc8;
	--pf-purple-hover: #8a35ad;
	--pf-purple-dark: #7a2a9e;
	--pf-link: #9b3fc0;
	--pf-band: #f7f3f9;
	--pf-tint: #f4edf7;
	--pf-tint-2: #faf6fc;
	--pf-line: #ece6ef;
	--pf-line-2: #e6e3e8;
	--pf-line-strong: #ddd2e3;
	--pf-badge-line: #e3d6ea;
	--pf-green: #3c8a5c;
	--pf-error: #b3261e;
	--pf-wrap: 1320px;
	--pf-gutter: 40px;
	--pf-font: 'Raleway', sans-serif;
}

/* ---------- Base de la sección ---------- */
body.pf-page { color: var(--pf-text); }
body.pf-page #qodef-page-inner.qodef-content-grid,
body.pf-page.pf-sec-productos #qodef-page-inner,
body.pf-page.pf-sec-producto #qodef-page-inner { width: 100%; max-width: none; margin: 0; padding: 0; }
body.pf-page #qodef-page-inner { padding-top: 0; }
.pf-wrap { max-width: var(--pf-wrap); margin: 0 auto; padding-left: var(--pf-gutter); padding-right: var(--pf-gutter); box-sizing: border-box; }
.pf-page a { color: var(--pf-link); text-decoration: none; }
.pf-page a:hover { color: var(--pf-purple-dark); }
.pf-page h1, .pf-page h2, .pf-page h3 { font-family: var(--pf-font); }

/* Botones */
.pf-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	font-family: var(--pf-font); font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase;
	padding: 14px 26px; border-radius: 999px; border: 1.5px solid var(--pf-purple); line-height: 1.2;
	cursor: pointer; transition: background 120ms, color 120ms, border-color 120ms; text-decoration: none; box-sizing: border-box;
}
.pf-page .pf-btn--fill, .pf-page .pf-btn--fill:visited { background: var(--pf-purple); color: #fff; }
.pf-page .pf-btn--fill:hover { background: var(--pf-purple-hover); border-color: var(--pf-purple-hover); color: #fff; }
.pf-page .pf-btn--outline, .pf-page .pf-btn--outline:visited { background: transparent; color: var(--pf-purple); padding: 12.5px 26px; }
.pf-page .pf-btn--outline:hover { background: var(--pf-purple); color: #fff; }
.pf-btn--sm { font-size: 12.5px; letter-spacing: .06em; padding: 9px 14px; }
.pf-page .pf-btn.is-added, .pf-page .pf-btn.added { background: var(--pf-purple); color: #fff; }
.pf-page .pf-btn.is-disabled, .pf-page .pf-btn:disabled { background: #cdbcd6; border-color: #cdbcd6; color: #fff; cursor: not-allowed; }
.pf-page .button.pf-btn { height: auto; }

/* ---------- Subnav ---------- */
.pf-section-header { font-family: var(--pf-font); }
.pf-subnav { background: #fff; border-bottom: 1px solid var(--pf-line); }
.pf-subnav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 24px; overflow-x: auto; scrollbar-width: none; }
.pf-subnav__list::-webkit-scrollbar { display: none; }
.pf-subnav__item { flex: 0 0 auto; }
.pf-subnav__item a {
	display: block; padding: 16px 0 14px; font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
	color: var(--pf-text); border-bottom: 2px solid transparent; white-space: nowrap; transition: color 120ms;
}
.pf-subnav__item a:hover { color: var(--pf-purple); }
.pf-subnav__item.is-active a { color: var(--pf-purple); border-bottom-color: var(--pf-purple); }

/* ---------- Franja hero y migas ---------- */
.pf-band { background: var(--pf-band); border-bottom: 1px solid var(--pf-line); }
.pf-band--slim .pf-wrap { padding-top: 22px; padding-bottom: 22px; }
.pf-band--slim .pf-breadcrumb ol { margin-bottom: 0; }
.pf-sec-producto .pf-band--slim { background: #fff; border-bottom: 0; }
.pf-sec-producto .pf-band--slim .pf-wrap { padding-top: 28px; padding-bottom: 0; }
.pf-hero .pf-wrap { padding-top: 44px; padding-bottom: 56px; }
.pf-breadcrumb ol { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--pf-muted); }
.pf-breadcrumb li + li::before { content: "/"; margin-right: 8px; color: #b9aec0; }
.pf-breadcrumb a { color: var(--pf-muted); }
.pf-breadcrumb a:hover { color: var(--pf-purple); }
.pf-breadcrumb [aria-current] { color: var(--pf-purple); }
.pf-hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.pf-hero--split .pf-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 64px; align-items: end; }
.pf-hero--compact .pf-hero__grid { grid-template-columns: 1fr; }
.pf-hero--compact .pf-wrap { padding-top: 28px; padding-bottom: 32px; }
.pf-hero__title { margin: 0; font-weight: 400; font-size: 48px; line-height: 1.15; letter-spacing: -.01em; color: var(--pf-purple); }
.pf-hero--split .pf-hero__title { font-size: 44px; }
.pf-hero--compact .pf-hero__title { font-size: 36px; }
.pf-hero__l1 { display: block; color: var(--pf-text); font-weight: 600; }
.pf-hero__l2 { display: block; color: var(--pf-purple); font-weight: 400; }
.pf-hero__text { margin: 24px 0 0; font-size: 17px; line-height: 1.7; color: var(--pf-text); max-width: 560px; text-wrap: pretty; }
.pf-hero__aside .pf-hero__text { margin: 0; font-size: 16px; line-height: 1.65; max-width: none; }
.pf-hero__text a { color: var(--pf-link); font-weight: 600; }
.pf-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.pf-hero__media { position: relative; min-height: 400px; border-radius: 10px; overflow: hidden; }
.pf-hero__media img.pf-hero__img { width: 100%; height: 100%; min-height: 400px; object-fit: cover; display: block; border-radius: 10px; }
.pf-hero__placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: #ece2f1; border-radius: 10px; }
.pf-hero__placeholder-logo { font-size: 30px; font-weight: 300; color: #b998c8; letter-spacing: -.01em; }

/* ---------- Tienda: argumentos ---------- */
.pf-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; padding: 64px 0 72px; }
.pf-value { border-top: 2px solid var(--pf-purple); padding-top: 20px; }
.pf-value h3 { margin: 0 0 10px; font-size: 19px; font-weight: 600; color: var(--pf-text-strong); }
.pf-value p { margin: 0; font-size: 15px; line-height: 1.65; color: var(--pf-text-soft); }
.pf-page-content { padding: 0 0 64px; }

/* ---------- Listado ---------- */
.pf-archive { padding-top: 34px; padding-bottom: 72px; }
.pf-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 26px; }
.pf-toolbar__left, .pf-toolbar__right { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.pf-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pf-pill {
	display: inline-flex; align-items: center; font-family: var(--pf-font); font-size: 12.5px; font-weight: 600; color: #5a5360;
	background: #fff; border: 1.5px solid var(--pf-line-strong); border-radius: 999px; padding: 7px 14px; cursor: pointer; line-height: 1.3;
	transition: border-color 120ms, color 120ms, background 120ms;
}
.pf-pill:hover { border-color: var(--pf-purple); color: var(--pf-purple); }
.pf-pill.is-active { background: var(--pf-purple); border-color: var(--pf-purple); color: #fff; }
.pf-results .woocommerce-result-count { margin: 0; font-size: 13.5px; color: var(--pf-muted); }
.pf-order-label { font-size: 13.5px; color: var(--pf-muted); }
.pf-toolbar .woocommerce-ordering { margin: 0; }
.pf-toolbar .woocommerce-ordering select {
	font-family: var(--pf-font); font-size: 14px; color: #5a5360; border: 1.5px solid var(--pf-line-strong); border-radius: 6px;
	padding: 8px 32px 8px 12px; background: #fff; height: auto; line-height: 1.4;
}
.pf-grid, .pf-page ul.products { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.pf-page ul.products::before, .pf-page ul.products::after { display: none; }
.pf-page ul.products li.product { width: auto; margin: 0; float: none; }
.pf-card {
	display: flex; flex-direction: column; border: 1px solid var(--pf-line); border-radius: 10px; overflow: hidden; background: #fff;
	transition: box-shadow 200ms;
}
.pf-card:hover { box-shadow: 0 12px 32px rgba(74, 40, 90, .10); }
.pf-card__media { position: relative; display: block; aspect-ratio: 1 / 1; background: var(--pf-band); overflow: hidden; }
.pf-card__media img { position: absolute; inset: 20px; width: calc(100% - 40px); height: calc(100% - 40px); object-fit: contain; display: block; mix-blend-mode: multiply; }
.pf-badge {
	position: absolute; top: 14px; left: 14px; z-index: 2; background: #fff; color: var(--pf-link); border: 1px solid var(--pf-badge-line);
	font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; line-height: 1.2;
}
.pf-badge--out { color: var(--pf-muted); }
.pf-card__body { display: flex; flex-direction: column; gap: 8px; padding: 18px 18px 20px; flex: 1; }
.pf-card__meta, .pf-rcard__meta { font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--pf-muted); }
.pf-card__title { margin: 0; font-size: 17px; font-weight: 600; line-height: 1.3; color: var(--pf-text-strong); }
.pf-card__title a { color: inherit; }
.pf-card__title a:hover { color: var(--pf-purple); }
.pf-card__short { margin: 0; font-size: 13.5px; line-height: 1.55; color: var(--pf-text-soft); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pf-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 10px; }
.pf-price, .pf-card .price { font-size: 17px; font-weight: 700; color: var(--pf-purple); margin: 0; }
.pf-card .price del, .pf-pdp__amount del, .pf-rcard__price del { color: var(--pf-muted); font-weight: 400; font-size: .85em; margin-right: 6px; }
.pf-card .price ins, .pf-pdp__amount ins, .pf-rcard__price ins { text-decoration: none; }
.pf-card .added_to_cart { display: none; }
.pf-pagination .woocommerce-pagination { margin-top: 40px; text-align: center; }
.pf-pagination .page-numbers { display: inline-flex; gap: 6px; list-style: none; padding: 0; margin: 0; }
.pf-pagination .page-numbers li a, .pf-pagination .page-numbers li span { display: inline-block; min-width: 38px; padding: 8px 10px; border: 1.5px solid var(--pf-line-strong); border-radius: 999px; font-size: 13px; color: #5a5360; text-align: center; }
.pf-pagination .page-numbers li span.current { background: var(--pf-purple); border-color: var(--pf-purple); color: #fff; }
.pf-empty { padding: 40px 0; font-size: 16px; }

/* ---------- Ficha de producto (v2) ---------- */
.pf-pdp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 72px; align-items: start; padding-top: 28px; padding-bottom: 64px; }
.pf-pdp__gallery { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 16px; position: sticky; top: 120px; }
.pf-pdp__gallery:has(.pf-pdp__thumbs:empty), .pf-pdp__gallery:not(:has(.pf-pdp__thumbs)) { grid-template-columns: minmax(0, 1fr); }
.pf-pdp__thumbs { display: flex; flex-direction: column; gap: 12px; }
.pf-pdp__thumb { position: relative; display: block; aspect-ratio: 1 / 1; width: 100%; border-radius: 8px; background: #fff; border: 1.5px solid var(--pf-line-2); overflow: hidden; padding: 0; cursor: pointer; transition: border-color 120ms; }
.pf-pdp__thumb.is-active, .pf-pdp__thumb:hover { border-color: var(--pf-purple); }
.pf-pdp__thumb img { position: absolute; inset: 8px; width: calc(100% - 16px); height: calc(100% - 16px); object-fit: contain; mix-blend-mode: multiply; }
.pf-pdp__main { position: relative; aspect-ratio: 1 / 1; border-radius: 10px; background: #fff; border: 1px solid var(--pf-line-2); overflow: hidden; }
.pf-pdp__main .pf-badge { top: 18px; left: 18px; border-color: var(--pf-line-2); }
.pf-pdp__main img.pf-pdp__img { position: absolute; inset: 48px; width: calc(100% - 96px); height: calc(100% - 96px); object-fit: contain; mix-blend-mode: multiply; }
.pf-pdp__summary { display: flex; flex-direction: column; gap: 28px; }
.pf-pdp__head { display: flex; flex-direction: column; gap: 14px; }
.pf-pdp__title { margin: 0; font-size: 40px; font-weight: 600; line-height: 1.15; color: var(--pf-text-strong); letter-spacing: -.01em; text-wrap: balance; }
.pf-pdp__short, .pf-pdp__short p { margin: 0; font-size: 16.5px; line-height: 1.65; color: var(--pf-text); text-wrap: pretty; }
.pf-pdp__price { display: flex; align-items: baseline; gap: 12px; }
.pf-pdp__amount, .pf-pdp__amount .price, .pf-pdp__amount .amount { font-size: 32px; font-weight: 600; color: var(--pf-purple); line-height: 1.1; }
.pf-pdp__vat { font-size: 13px; color: var(--pf-muted); }
.pf-pdp__buy { display: flex; flex-direction: column; gap: 16px; padding: 24px 0; border-top: 1px solid var(--pf-line-2); border-bottom: 1px solid var(--pf-line-2); }
.pf-pdp__stock { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--pf-green); }
.pf-pdp__stock--low { color: var(--pf-link); }
.pf-pdp__stock--out { color: var(--pf-muted); }
.pf-pdp__dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.pf-pdp__buy form.cart { display: flex; flex-wrap: wrap; align-items: stretch; gap: 12px; margin: 0; }
.pf-pdp__buy form.cart .variations, .pf-pdp__buy form.cart .single_variation_wrap, .pf-pdp__buy form.cart .woocommerce-variation { flex: 1 1 100%; }
.pf-pdp__buy form.cart .woocommerce-variation-add-to-cart { display: flex; gap: 12px; align-items: stretch; }
.pf-pdp__buy .variations { margin: 0 0 6px; border: 0; }
.pf-pdp__buy .variations td, .pf-pdp__buy .variations th { padding: 6px 0; border: 0; display: block; }
.pf-pdp__buy .variations label { font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--pf-link); }
.pf-pdp__buy .variations select { font-family: var(--pf-font); font-size: 14px; color: #5a5360; border: 1.5px solid var(--pf-line-strong); border-radius: 999px; padding: 10px 36px 10px 20px; background: #fff; }
.pf-pdp__buy .reset_variations { font-size: 12px; margin-left: 10px; }
.pf-pdp__buy .woocommerce-variation-price .price { font-size: 20px; font-weight: 600; color: var(--pf-purple); }
.pf-pdp__buy .single_add_to_cart_button { flex: 1; height: 48px; padding: 0 28px; display: inline-flex; align-items: center; justify-content: center; line-height: 1; background: var(--pf-purple); border: 1.5px solid var(--pf-purple); color: #fff; border-radius: 999px; font-family: var(--pf-font); font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; text-align: center; }
.pf-pdp__buy .single_add_to_cart_button:hover { background: var(--pf-purple-hover, #8a35ad); border-color: var(--pf-purple-hover, #8a35ad); color: #fff; }
/* Cantidad − N +: se usan los botones del tema (.qodef-quantity-minus/plus, que gestiona su JS) con estilo pf.
   No depende de JS: WP Rocket retrasa los scripts hasta la primera interacción y antes la píldora salía rota. */
.pf-pdp__buy .quantity { display: inline-flex; align-items: center; flex: 0 0 auto; width: auto; margin: 0; padding: 0; border: 1.5px solid #dcd9de; border-radius: 999px; overflow: hidden; height: 48px; line-height: normal; box-sizing: border-box; background: #fff; }
.pf-pdp__buy .quantity .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); }
.pf-pdp__buy .quantity .qodef-quantity-buttons-holder { display: flex; align-items: center; float: none; width: auto; height: 100%; margin: 0; padding: 0; border: 0; }
.pf-pdp__buy .quantity input.qty, .pf-pdp__buy .quantity .qodef-quantity-input { position: static; top: auto; width: 40px; min-width: 28px; height: 100%; margin: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; text-align: center; vertical-align: middle; font-family: var(--pf-font); font-size: 15px; font-weight: 600; line-height: normal; letter-spacing: 0; color: var(--pf-text-strong); padding: 0; -moz-appearance: textfield; }
.pf-pdp__buy .quantity input.qty::-webkit-outer-spin-button, .pf-pdp__buy .quantity input.qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pf-pdp__buy .quantity .qodef-quantity-minus, .pf-pdp__buy .quantity .qodef-quantity-plus { position: static; top: auto; display: flex !important; align-items: center; justify-content: center; flex: 0 0 42px; width: 42px; height: 100%; margin: 0; padding: 0; border: 0; background: transparent; font-size: 0; line-height: 1; letter-spacing: 0; color: #5a5360; cursor: pointer; -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; transition: color 120ms; }
.pf-pdp__buy .quantity .qodef-quantity-minus::before, .pf-pdp__buy .quantity .qodef-quantity-plus::before { font-family: var(--pf-font); font-size: 18px; font-weight: 400; line-height: 1; }
.pf-pdp__buy .quantity .qodef-quantity-minus::before { content: "\2212"; }
.pf-pdp__buy .quantity .qodef-quantity-plus::before { content: "+"; }
.pf-pdp__buy .quantity .qodef-quantity-minus:hover, .pf-pdp__buy .quantity .qodef-quantity-plus:hover { color: var(--pf-purple); }
.pf-pdp__buy .quantity:has(input.qty[type="hidden"]) { display: none; } /* producto de venta individual */
.pf-pdp__buy .pf-qty__btn { display: none !important; } /* stepper antiguo inyectado por JS (por si queda en alguna caché) */
.pf-pdp__buy .single_add_to_cart_button.disabled, .pf-pdp__buy .single_add_to_cart_button:disabled { background: var(--pf-line-2); border-color: var(--pf-line-2); color: var(--pf-muted); cursor: not-allowed; }
.pf-pdp__unavailable { display: flex; align-items: center; justify-content: center; height: 48px; padding: 0 28px; border-radius: 999px; background: var(--pf-line-2); color: var(--pf-muted); font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.pf-pdp__help { margin: 0; font-size: 13.5px; line-height: 1.55; color: var(--pf-text-soft); }
.pf-pdp__help a { font-weight: 600; }
.pf-pdp__facts { margin: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px 28px; font-size: 14px; line-height: 1.5; }
.pf-pdp__facts dt { color: var(--pf-muted); }
.pf-pdp__facts dd { margin: 0; color: var(--pf-text-strong); font-weight: 500; }
.pf-pdp-info { background: #fff; border-top: 1px solid var(--pf-line-2); }
.pf-pdp-info__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 72px; padding-top: 64px; padding-bottom: 80px; }
.pf-pdp-info__main { max-width: 720px; }
.pf-pdp-info__aside { align-self: start; }
.pf-acc { display: flex; flex-direction: column; border-top: 1px solid var(--pf-line-2); }
.pf-acc__item { border-bottom: 1px solid var(--pf-line-2); }
.pf-acc__item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; padding: 22px 16px; margin: 0 -16px; border-radius: 8px; font-size: 18px; font-weight: 600; color: var(--pf-text-strong); transition: background 120ms; }
.pf-acc__item summary::-webkit-details-marker { display: none; }
.pf-acc__item summary:hover { background: #f4f3f5; }
.pf-acc__sign { width: 20px; text-align: center; font-size: 22px; font-weight: 400; color: var(--pf-purple); }
.pf-acc__sign::before { content: "+"; }
.pf-acc__item[open] .pf-acc__sign::before { content: "−"; }
.pf-acc__body { padding: 0 0 26px; font-size: 15.5px; line-height: 1.75; color: #5a5360; text-wrap: pretty; }
.pf-acc__body p { margin: 0 0 12px; }
.pf-acc__body p:last-child { margin-bottom: 0; }
.pf-related { display: flex; flex-direction: column; gap: 28px; padding-top: 72px; padding-bottom: 96px; }
.pf-related__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.pf-related__head h2 { margin: 0; font-weight: 600; font-size: 32px; color: var(--pf-text); }
.pf-related__all { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.pf-related__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.pf-rcard { display: flex; flex-direction: column; border: 1px solid var(--pf-line-2); border-radius: 10px; overflow: hidden; background: #fff; color: inherit; transition: box-shadow 200ms; }
.pf-rcard:hover { box-shadow: 0 10px 28px rgba(110, 60, 140, .12); color: inherit; }
.pf-rcard__media { position: relative; aspect-ratio: 1 / 1; background: #fff; border-bottom: 1px solid var(--pf-line-2); }
.pf-rcard__media img { position: absolute; inset: 20px; width: calc(100% - 40px); height: calc(100% - 40px); object-fit: contain; mix-blend-mode: multiply; }
.pf-rcard__body { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 20px; flex: 1; }
.pf-rcard__meta { font-size: 11.5px; letter-spacing: .1em; color: var(--pf-muted-2); }
.pf-rcard__title { margin: 0; font-size: 17px; font-weight: 600; line-height: 1.3; color: var(--pf-text-strong); }
.pf-rcard__price, .pf-rcard__price .amount { font-size: 20px; font-weight: 600; color: var(--pf-purple); margin-top: auto; padding-top: 8px; }

/* ---------- Tarjeta regalo (v2) ---------- */
.pf-regala { padding-top: 56px; padding-bottom: 96px; }
.pf-regala__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: start; }
.pf-giftcard {
	position: relative; aspect-ratio: 1.586 / 1; border-radius: 16px; background: var(--pf-purple); color: #fff; padding: 36px;
	display: flex; flex-direction: column; justify-content: space-between; box-shadow: 0 18px 40px rgba(110, 60, 140, .22); box-sizing: border-box;
}
.pf-giftcard__top { display: flex; justify-content: space-between; align-items: flex-start; }
.pf-giftcard__logo { font-size: 30px; font-weight: 300; letter-spacing: -.01em; line-height: 1; }
.pf-giftcard__logo::first-letter { font-weight: 600; }
.pf-giftcard__label { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.pf-giftcard__bottom { display: flex; flex-direction: column; gap: 10px; }
.pf-giftcard__name { font-size: 20px; font-weight: 500; line-height: 1.3; }
.pf-giftcard__amount { font-size: 56px; font-weight: 300; line-height: 1; }
.pf-gift-form { display: flex; flex-direction: column; gap: 28px; }
.pf-gift-block { display: flex; flex-direction: column; gap: 12px; }
.pf-label { margin: 0; font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--pf-link); }
.pf-gift-options { display: flex; flex-direction: column; gap: 10px; }
.pf-gift-option { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 10px; border: 1.5px solid var(--pf-line); background: #fff; color: var(--pf-text-strong); cursor: pointer; transition: border-color 120ms, background 120ms; margin: 0; }
.pf-gift-option:hover { border-color: #d9c3e4; }
.pf-gift-option.is-active { border-color: var(--pf-purple); background: var(--pf-tint-2); }
.pf-gift-option input[type="radio"] { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.pf-radio { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid #c9b6d3; background: #fff; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; box-sizing: border-box; }
.pf-radio::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: transparent; }
.pf-gift-option.is-active .pf-radio { border-color: var(--pf-purple); }
.pf-gift-option.is-active .pf-radio::after { background: var(--pf-purple); }
.pf-gift-option input:focus-visible + .pf-radio { outline: 2px solid var(--pf-purple); outline-offset: 2px; }
.pf-gift-option__name { flex: 1; font-size: 15.5px; font-weight: 600; }
.pf-gift-option__price, .pf-gift-option__price .amount { font-size: 16px; font-weight: 600; color: var(--pf-purple); white-space: nowrap; }
.pf-gift-option--custom { flex-direction: column; align-items: stretch; gap: 12px; }
.pf-gift-option__head { display: flex; align-items: center; gap: 14px; cursor: pointer; margin: 0; }
.pf-gift-option__text { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.pf-gift-option__hint { font-size: 13px; font-weight: 400; color: var(--pf-muted); }
.pf-gift-custom { display: flex; flex-direction: column; gap: 6px; padding-left: 32px; }
.pf-gift-custom[hidden] { display: none; }
.pf-gift-custom__row { display: flex; align-items: center; gap: 8px; }
.pf-gift-custom__row input[type="number"] { width: 140px; font-family: var(--pf-font); font-size: 16px; font-weight: 600; color: var(--pf-text-strong); border: 1.5px solid var(--pf-line-strong); border-radius: 6px; padding: 10px 12px; background: #fff; height: auto; }
.pf-gift-custom__row input.is-error { border-color: var(--pf-error); }
.pf-gift-custom__eur { font-size: 16px; font-weight: 600; color: var(--pf-text); }
.pf-gift-custom__error { font-size: 13px; font-weight: 600; color: var(--pf-error); }
.pf-gift-custom__error[hidden] { display: none; }
.pf-gift-form .pf-field { margin: 0; }
.pf-gift-form .pf-field--submit { margin-top: -8px; }
.pf-gift-form .pf-btn--fill { align-self: flex-start; padding: 14px 28px; }
.pf-gift-note { margin: -14px 0 0; font-size: 13px; line-height: 1.6; color: var(--pf-muted); }
.pf-notice { padding: 24px 0; font-size: 16px; }

/* ---------- Formularios (asesoramiento, tarjeta, CF7) ---------- */
.pf-asesoramiento { padding-top: 48px; padding-bottom: 72px; }
.pf-form-wrap { max-width: 880px; margin: 0 auto; }
.pf-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; }
.pf-field { margin: 0; }
.pf-field--full { grid-column: 1 / -1; }
.pf-field label, .pf-form .wpcf7 label { display: block; margin: 0 0 8px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--pf-link); }
.pf-field input[type="text"], .pf-field input[type="email"], .pf-field input[type="tel"], .pf-field select, .pf-field textarea,
.pf-form .wpcf7 input[type="text"], .pf-form .wpcf7 input[type="email"], .pf-form .wpcf7 input[type="tel"], .pf-form .wpcf7 select, .pf-form .wpcf7 textarea {
	width: 100%; box-sizing: border-box; font-family: var(--pf-font); font-size: 15px; color: #5a5360; background: #fff;
	border: 1.5px solid var(--pf-line-strong); border-radius: 6px; padding: 12px 14px; height: auto; line-height: 1.4; outline: none; transition: border-color 120ms;
}
.pf-field input:focus, .pf-field select:focus, .pf-field textarea:focus, .pf-form .wpcf7 input:focus, .pf-form .wpcf7 textarea:focus { border-color: var(--pf-purple); }
.pf-field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235a5360' stroke-width='2'><polyline points='6 9 12 15 18 9'/></svg>"); background-repeat: no-repeat; background-position: right 12px center; background-size: 14px; padding-right: 36px; }
.pf-field textarea { min-height: 120px; resize: vertical; }
.pf-gift-form .pf-field textarea { min-height: 90px; }
.pf-field--check label { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--pf-muted); }
.pf-field--check input { width: 16px; height: 16px; margin: 0; accent-color: var(--pf-purple); }
.pf-field--check a { color: var(--pf-link); font-weight: 600; }
.pf-field--hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.pf-field--submit { padding-top: 6px; }
.pf-form__success { text-align: center; padding: 40px 20px; }
.pf-form__success h2 { font-size: 26px; font-weight: 600; color: var(--pf-text-strong); margin: 0 0 10px; }
.pf-form__success p { font-size: 16px; color: var(--pf-text); margin: 0; }
.pf-form__error { grid-column: 1 / -1; background: #fdf0f2; border: 1px solid #f1c4cc; color: #b00020; border-radius: 6px; padding: 12px 16px; font-size: 14px; margin-bottom: 16px; }
.pf-form .wpcf7 .wpcf7-form p { margin: 0; }
.pf-form .wpcf7 input.wpcf7-submit { font-family: var(--pf-font); font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; padding: 14px 26px; border-radius: 999px; border: 1.5px solid var(--pf-purple); background: var(--pf-purple); color: #fff; cursor: pointer; }
.pf-form .wpcf7 input.wpcf7-submit:hover { background: var(--pf-purple-hover); }

/* ---------- Carrito, checkout, mi cuenta: retoques sobre el estilo de WooCommerce ---------- */
.pf-sec-carrito #qodef-page-inner, .pf-sec-checkout #qodef-page-inner, .pf-sec-cuenta #qodef-page-inner { padding-top: 40px; padding-bottom: 72px; }
.pf-page .woocommerce .button, .pf-page .wc-block-components-button, .pf-page .woocommerce button.button, .pf-page .woocommerce a.button, .pf-page .woocommerce input.button {
	font-family: var(--pf-font); font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; border-radius: 999px; background: var(--pf-purple); color: #fff; border: 1.5px solid var(--pf-purple); padding: 12px 24px; line-height: 1.2;
}
.pf-page .woocommerce .button:hover, .pf-page .woocommerce button.button:hover, .pf-page .woocommerce a.button:hover { background: var(--pf-purple-hover); border-color: var(--pf-purple-hover); color: #fff; }
.pf-page .woocommerce-message, .pf-page .woocommerce-info, .pf-page .woocommerce-error { border-top-color: var(--pf-purple); font-size: 14px; }
.pf-page .woocommerce-message::before, .pf-page .woocommerce-info::before { color: var(--pf-purple); }
.pf-page .wc-block-components-notice-banner { font-family: var(--pf-font); }
.pf-page .woocommerce-notices-wrapper { margin-bottom: 20px; }
.pf-pdp-page > .woocommerce-notices-wrapper, .pf-pdp-page > .woocommerce-message, .pf-pdp-page > .woocommerce-error { max-width: var(--pf-wrap); margin: 20px auto 0; padding-left: var(--pf-gutter); padding-right: var(--pf-gutter); box-sizing: border-box; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	:root { --pf-gutter: 28px; }
	.pf-grid, .pf-page ul.products { grid-template-columns: repeat(3, 1fr); gap: 18px; }
	.pf-hero__title, .pf-hero--split .pf-hero__title { font-size: 40px; }
	.pf-values { gap: 28px; }
	.pf-pdp { gap: 40px; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); }
	.pf-pdp__title { font-size: 34px; }
	.pf-pdp-info__grid { gap: 40px; grid-template-columns: minmax(0, 1fr) minmax(0, 360px); }
	.pf-related__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.pf-regala__grid { gap: 40px; }
}
@media (max-width: 860px) {
	.pf-hero__grid, .pf-hero--split .pf-hero__grid, .pf-regala__grid, .pf-pdp, .pf-pdp-info__grid { grid-template-columns: 1fr; gap: 28px; }
	.pf-hero .pf-wrap { padding-top: 28px; padding-bottom: 36px; }
	.pf-hero__title, .pf-hero--split .pf-hero__title { font-size: 34px; }
	.pf-hero__media { min-height: 240px; }
	.pf-hero__media img.pf-hero__img { min-height: 240px; }
	.pf-values { grid-template-columns: 1fr; padding: 44px 0 52px; }
	.pf-grid, .pf-page ul.products { grid-template-columns: repeat(2, 1fr); gap: 14px; }
	.pf-toolbar { align-items: flex-start; }
	.pf-pdp__gallery { position: static; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; }
	.pf-pdp__main img.pf-pdp__img { inset: 28px; width: calc(100% - 56px); height: calc(100% - 56px); }
	.pf-pdp__title { font-size: 28px; }
	.pf-pdp__amount, .pf-pdp__amount .price, .pf-pdp__amount .amount { font-size: 28px; }
	.pf-pdp-info__grid { padding-top: 44px; padding-bottom: 56px; }
	.pf-related { padding-top: 48px; padding-bottom: 64px; }
	.pf-related__head h2 { font-size: 26px; }
	.pf-related__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
	.pf-form__grid { grid-template-columns: 1fr; }
	.pf-giftcard { padding: 24px; }
	.pf-giftcard__amount { font-size: 44px; }
	.pf-regala { padding-top: 36px; padding-bottom: 64px; }
}
@media (max-width: 480px) {
	:root { --pf-gutter: 16px; }
	.pf-hero__title, .pf-hero--split .pf-hero__title { font-size: 29px; }
	.pf-hero__text { font-size: 15.5px; }
	.pf-hero__actions .pf-btn { width: 100%; }
	.pf-card__body { padding: 14px 14px 16px; }
	.pf-card__title { font-size: 15px; }
	.pf-card__foot { flex-direction: column; align-items: flex-start; gap: 10px; }
	.pf-card__foot .pf-btn { width: 100%; }
	.pf-subnav__list { gap: 18px; }
	.pf-pdp__gallery { grid-template-columns: 1fr; }
	.pf-pdp__thumbs { flex-direction: row; order: 2; }
	.pf-pdp__thumb { width: 64px; flex: 0 0 64px; }
	.pf-pdp__buy form.cart .single_add_to_cart_button { flex: 1 1 100%; height: 48px !important; min-height: 48px; line-height: 1 !important; padding: 0 20px !important; }
	.pf-pdp__buy .quantity { height: 48px !important; }
	.pf-acc__item summary { font-size: 16px; padding: 18px 12px; margin: 0 -12px; }
	.pf-related__grid { grid-template-columns: 1fr; }
	.pf-giftcard { aspect-ratio: auto; min-height: 200px; gap: 28px; }
	.pf-giftcard__amount { font-size: 38px; }
	.pf-gift-form .pf-btn--fill { align-self: stretch; }
	.pf-gift-custom { padding-left: 0; }
}
/* Logo real en blanco dentro de la tarjeta regalo (el PNG es morado/gris → filtro a blanco) */
.pf-giftcard__logo--img { display: block; width: auto; height: 30px; max-width: 60%; filter: brightness(0) invert(1); object-fit: contain; object-position: left center; }
@media (max-width: 480px) { .pf-giftcard__logo--img { height: 22px; } }

/* Carrito y checkout en bloques: ancho del contenedor */
/* La regla base `body.pf-page #qodef-page-inner.qodef-content-grid { width:100%; max-width:none; padding:0 }` quita el
   contenedor de Marity (.qodef-content-grid { width:1200px; margin:0 auto }) en TODA la tienda, y en carrito, checkout y
   mi cuenta no hay .pf-wrap por dentro: el bloque ocupaba el viewport entero. Aquí se restituye un contenedor con las
   mismas medidas que .pf-wrap (más especificidad que la regla base: (1,3,1) > (1,2,1), sin !important). */
body.pf-page.pf-sec-carrito #qodef-page-inner,
body.pf-page.pf-sec-carrito #qodef-page-inner.qodef-content-grid,
body.pf-page.pf-sec-checkout #qodef-page-inner,
body.pf-page.pf-sec-checkout #qodef-page-inner.qodef-content-grid,
body.pf-page.pf-sec-cuenta #qodef-page-inner,
body.pf-page.pf-sec-cuenta #qodef-page-inner.qodef-content-grid {
	width: 100%; max-width: var(--pf-wrap); margin: 0 auto; padding: 40px var(--pf-gutter) 72px; box-sizing: border-box;
}
/* Por si algún CSS da a .alignwide un ancho/margen negativo: el bloque llena su contenedor y nada más */
body.pf-page .wp-block-woocommerce-cart.alignwide,
body.pf-page .wp-block-woocommerce-checkout.alignwide { width: 100%; max-width: 100%; margin-left: 0; margin-right: 0; }

/* Tarjeta regalo: logo en blanco, 30 px de alto (22 px en móvil), sin pisar la etiqueta.
   Refuerzo de especificidad frente a `img { height:auto; max-width:100% }` de Marity y a width="500" height="64" del markup. */
body.pf-page .pf-giftcard .pf-giftcard__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-width: 0; }
body.pf-page .pf-giftcard .pf-giftcard__logo--img { display: block; flex: 0 1 auto; width: auto; height: 30px; max-width: 60%; min-width: 0; object-fit: contain; object-position: left center; filter: brightness(0) invert(1); }
body.pf-page .pf-giftcard .pf-giftcard__label { flex: 0 0 auto; white-space: nowrap; }
@media (max-width: 480px) { body.pf-page .pf-giftcard .pf-giftcard__logo--img { height: 22px; } }

/* Tabla del carrito (bloque): Marity pinta `table tr { border:1px solid #e1e1e1 }` → caja alrededor de cada fila con muesca en la cabecera.
   Se anulan todos los bordes y se dejan solo separadores: línea bajo la cabecera y entre filas. */
body.pf-page table.wc-block-cart-items, body.pf-page table.wc-block-cart-items thead, body.pf-page table.wc-block-cart-items tbody,
body.pf-page table.wc-block-cart-items tr, body.pf-page table.wc-block-cart-items th, body.pf-page table.wc-block-cart-items td { border: 0; background: transparent; }
body.pf-page table.wc-block-cart-items { border-collapse: collapse; width: 100%; }
body.pf-page table.wc-block-cart-items thead th { border-bottom: 1px solid var(--pf-line-strong, #ddd2e3); padding: 0 0 14px; font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--pf-link, #9b3fc0); }
body.pf-page table.wc-block-cart-items tbody td { border-bottom: 1px solid var(--pf-line, #ece6ef); padding: 24px 0; vertical-align: top; }
body.pf-page table.wc-block-cart-items tbody tr:last-child td { border-bottom: 0; }



/* Selector de variaciones en la ficha (p. ej. Tono): Marity pinta bordes en table/tr/td → se quitan. */
body.pf-page .pf-pdp__buy table.variations, body.pf-page .pf-pdp__buy table.variations tbody, body.pf-page .pf-pdp__buy table.variations tr,
body.pf-page .pf-pdp__buy table.variations th, body.pf-page .pf-pdp__buy table.variations td { border: 0; background: transparent; }
body.pf-page .pf-pdp__buy table.variations { width: 100%; border-collapse: collapse; margin: 0 0 4px; }
body.pf-page .pf-pdp__buy table.variations th.label, body.pf-page .pf-pdp__buy table.variations td.label { padding: 0 0 8px; }
body.pf-page .pf-pdp__buy table.variations td.value { padding: 0; }

/* ===== Ficha: selector de tono nativo (sin select2; el CSS usado de WP Rocket le quitaba el desplegable) ===== */
body.pf-page .pf-pdp__buy .variations select,
body.pf-page .pf-pdp__buy .variations select.pf-variation-select {
  display: block; width: 100%; max-width: 100%; height: 50px; margin: 0; box-sizing: border-box;
  font-family: var(--pf-font); font-size: 14px; font-weight: 500; letter-spacing: .02em; color: var(--pf-text-strong);
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%237a6f80' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 20px center; background-size: 12px 8px;
  border: 1.5px solid var(--pf-line-strong); border-radius: 999px; padding: 0 48px 0 22px;
  -webkit-appearance: none; -moz-appearance: none; appearance: none; cursor: pointer; box-shadow: none; outline: 0;
  transition: border-color .2s ease, box-shadow .2s ease;
}
body.pf-page .pf-pdp__buy .variations select:hover { border-color: var(--pf-purple); }
body.pf-page .pf-pdp__buy .variations select:focus-visible { border-color: var(--pf-purple); box-shadow: 0 0 0 3px rgba(142, 68, 173, .15); }
body.pf-page .pf-pdp__buy .variations select::-ms-expand { display: none; }
body.pf-page .pf-pdp__buy .variations .select2-container { display: none !important; }
body.pf-page .pf-pdp__buy .variations td.value { position: relative; }
body.pf-page .pf-pdp__buy .variations .reset_variations { display: inline-block; visibility: hidden; margin: 8px 0 0 4px; font-size: 12px; color: var(--pf-muted); text-decoration: underline; } /* el JS de Woo lo muestra con style inline al elegir */
