/* Papimko — cálido: crema, tinta café, rojo Papimko de acento y titulares en Fraunces. Lo que theme.json no cubre. */
:root {
	--pk-ink: var(--wp--preset--color--contrast, #2b211c);
	--pk-muted: var(--wp--preset--color--muted, #76675a);
	--pk-cream: var(--wp--preset--color--base, #f6f1ea);
	--pk-paper: var(--wp--preset--color--paper, #fffaf3);
	--pk-soft: var(--wp--preset--color--soft, #ece3d6);
	--pk-line: var(--wp--preset--color--line, #dccfbe);
	--pk-night: var(--wp--preset--color--night, #1f1814);
	--pk-red: var(--wp--preset--color--accent, #ad1917);
	--pk-red-dark: var(--wp--preset--color--accent-dark, #7d120f);
	--pk-select: var(--wp--preset--color--select, #2b211c);
	--pk-serif: var(--wp--preset--font-family--fraunces, Georgia, serif);
	--pk-radius: 6px;
	--pk-ease: cubic-bezier(.2, .7, .2, 1);
}
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; background: var(--pk-cream); }
img { max-width: 100%; height: auto; }
:where(a, button, input, select, textarea, summary):focus-visible { outline: 2px solid var(--pk-ink); outline-offset: 3px; }
.num, .price, .amount { font-variant-numeric: tabular-nums; }
::selection { background: var(--pk-ink); color: var(--pk-cream); }

/* ── Cabecera: franja de envíos que se va al bajar + barra fija ── */
.pk-header { position: sticky; top: calc(var(--wp-admin--admin-bar--height, 0px) - 34px); z-index: 1000; }
.wp-site-blocks > .pk-header + *, .wp-site-blocks > .pk-header + * + main { margin-block-start: 0; }
.pk-promo { background: var(--pk-night); color: var(--pk-cream); height: 34px; display: flex; align-items: center; justify-content: center; font-size: 12.5px; letter-spacing: .03em; padding: 0 16px; }
.pk-promo p { margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pk-promo a { color: inherit; text-decoration: underline; text-underline-offset: 3px; margin-left: 6px; }
.pk-bar-top {
	display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; margin: 0 !important;
	padding: 12px max(16px, 3vw); background: rgba(246, 241, 234, .9); -webkit-backdrop-filter: saturate(160%) blur(18px); backdrop-filter: saturate(160%) blur(18px);
	border-bottom: 1px solid rgba(43, 33, 28, .1); transition: background .2s;
}
.pk-mega-open .pk-bar-top { background: var(--pk-cream); }
.pk-logo { margin: 0 !important; justify-self: center; }
.pk-logo img { max-height: 34px; width: auto; mix-blend-mode: multiply; } /* el PNG trae fondo blanco */
.pk-tools { justify-self: end; margin: 0 !important; }
.pk-tools .wp-block-search__button { background: none; color: var(--pk-ink); padding: 8px; border: 0; }
.pk-tools :is(.wc-block-mini-cart__button, .wc-block-customer-account__account-icon) { color: var(--pk-ink); }
.pk-tools .wc-block-mini-cart__badge { background: var(--pk-red); color: #fff; }
.pk-nav { display: flex; align-items: center; gap: 28px; }
.pk-nav__toggle, .pk-nav__link { font: inherit; font-size: 14px; font-weight: 500; letter-spacing: .01em; color: var(--pk-ink); background: none; border: 0; padding: 8px 0; cursor: pointer; text-decoration: none; position: relative; display: inline-flex; align-items: center; gap: 10px; }
.pk-nav__toggle::after, .pk-nav__link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .25s var(--pk-ease); }
.pk-nav__toggle:hover::after, .pk-nav__toggle[aria-expanded="true"]::after, .pk-nav__link:hover::after { transform: scaleX(1); }
.pk-nav__link:hover { text-decoration: none; color: var(--pk-ink); }
.pk-burger { display: none; }

/* Megamenú: panel oscuro a todo el ancho */
.pk-mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--pk-night); color: var(--pk-cream); max-height: calc(100vh - 70px - var(--wp-admin--admin-bar--height, 0px)); overflow-y: auto; animation: pk-drop .28s var(--pk-ease); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .5); }
.pk-mega[hidden] { display: none; }
@keyframes pk-drop { from { opacity: 0; transform: translateY(-8px); } }
.pk-mega__inner { display: grid; grid-template-columns: minmax(0, 1fr) 240px 280px; gap: 48px; padding: 48px max(16px, 3vw) 56px; max-width: 1440px; margin: 0 auto; }
.pk-mega__cols { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 28px; }
.pk-mega__title { font-family: var(--pk-serif); font-size: 21px; letter-spacing: -.01em; margin: 0 0 18px; color: var(--pk-cream); }
.pk-mega ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.pk-mega ul a { color: rgba(246, 241, 234, .66); font-size: 15px; text-decoration: none; transition: color .15s; }
.pk-mega ul a:hover { color: var(--pk-cream); text-decoration: underline; text-underline-offset: 4px; }
.pk-mega__feature { display: block; color: var(--pk-cream); text-decoration: none; }
.pk-mega__feature img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--pk-radius); display: block; transition: transform .6s var(--pk-ease); }
.pk-mega__feature:hover img { transform: scale(1.02); }
.pk-mega__feature span { display: block; margin-top: 12px; font-size: 14px; }
.pk-mega__help { border: 1px solid rgba(246, 241, 234, .22); border-radius: var(--pk-radius); padding: 28px; align-self: start; }
.pk-mega__help-title { font-family: var(--pk-serif); font-size: 26px; line-height: 1.1; margin: 0 0 10px; }
.pk-mega__help p { color: rgba(246, 241, 234, .7); font-size: 14px; }
.pk-btn-ghost { display: inline-block; margin-top: 10px; border: 1px solid currentColor; border-radius: 999px; padding: 11px 22px; font-size: 14px; color: var(--pk-cream); text-decoration: none; transition: background .2s, color .2s; }
.pk-btn-ghost:hover { background: var(--pk-cream); color: var(--pk-night); text-decoration: none; }

@media (max-width: 1240px) {
	.pk-mega__inner { grid-template-columns: minmax(0, 1fr) 260px; }
	.pk-mega__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 32px; }
	.pk-mega__feature { display: none; }
}
@media (max-width: 960px) {
	.pk-bar-top { grid-template-columns: auto 1fr auto; padding: 10px 16px; }
	.pk-logo { justify-self: center; }
	.pk-logo img { max-height: 28px; }
	.pk-nav__link { display: none; }
	.pk-nav__toggle > span:last-child { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.pk-nav__toggle::after { display: none; }
	.pk-burger { display: block; width: 22px; height: 12px; position: relative; border-top: 1.5px solid; border-bottom: 1.5px solid; transition: border-color .2s; }
	.pk-burger::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1.5px solid; transform: translateY(-50%); transition: transform .25s var(--pk-ease); }
	.pk-nav__toggle[aria-expanded="true"] .pk-burger { border-color: transparent; }
	.pk-nav__toggle[aria-expanded="true"] .pk-burger::before { transform: translateY(-50%) rotate(45deg); box-shadow: 0 0 0 0 transparent; }
	.pk-nav__toggle[aria-expanded="true"] .pk-burger::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1.5px solid; transform: translateY(-50%) rotate(-45deg); }
	.pk-tools .wp-block-search, .pk-tools .wp-block-woocommerce-customer-account { display: none; }
	.pk-mega { position: fixed; top: calc(var(--wp-admin--admin-bar--height, 0px) + 54px); bottom: 0; max-height: none; overscroll-behavior: contain; }
	.pk-mega__inner { grid-template-columns: 1fr; gap: 32px; padding: 28px 20px 48px; }
	.pk-mega__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
	.pk-mega__feature { display: none; }
	.pk-mega-open body { overflow: hidden; }
}

/* ── Botones ── */
.wp-block-button.is-style-outline > .wp-block-button__link { border: 1px solid currentColor; background: transparent; color: var(--pk-ink); }
.wp-block-button.is-style-outline > .wp-block-button__link:hover { background: var(--pk-ink); color: var(--pk-cream); }
.wp-element-button, .wp-block-button__link { transition: background .2s, color .2s; }

/* ── Tarjetas de la portada ── */
.pk-card { border-radius: var(--pk-radius); overflow: hidden; }
.pk-card img { border-radius: var(--pk-radius); }
.pk-tile img { aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--pk-radius); background: var(--pk-soft); transition: transform .6s var(--pk-ease); }
.pk-tile { overflow: hidden; }
.pk-tile:hover img { transform: scale(1.025); }
.pk-tile a { color: inherit; }
.pk-tile p { margin: 0; }
.pk-tile :is(h3, p:first-of-type) { font-family: var(--pk-serif); }
.pk-feature-media img { width: 100%; height: 340px; object-fit: cover; border-radius: var(--pk-radius) var(--pk-radius) 0 0; display: block; }
.pk-step-num { font-family: var(--pk-serif); font-size: 64px; font-weight: 300; color: var(--pk-red); letter-spacing: -.04em; line-height: 1; }
.pk-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--pk-red); }
.has-soft-background-color.pk-card, .pk-card.has-background { border-radius: var(--pk-radius); }

/* ── Páginas: titular grande centrado y texto a medida de lectura ── */
.pk-page-head { text-align: center; padding-block: clamp(48px, 8vw, 112px) clamp(28px, 4vw, 56px); }
.pk-page-head .wp-block-post-title { font-size: clamp(44px, 7vw, 96px); letter-spacing: -.035em; line-height: .98; max-width: 14ch; margin-inline: auto; }
body:has(.pk-tiles) .pk-page-head .wp-block-post-title { margin-inline: 0; max-width: none; }
body:has(.pk-tiles) .pk-page-head { text-align: left; padding-bottom: 20px; }
.pk-page-head::after { content: ""; display: block; width: 56px; height: 1px; background: var(--pk-red); margin: 32px auto 0; }
.wp-block-post-content { font-size: 18px; line-height: 1.6; }
.wp-block-post-content h2 { font-size: clamp(30px, 3.6vw, 46px); margin-top: 1.8em; letter-spacing: -.025em; }
.wp-block-post-content h3 { font-size: clamp(22px, 2.2vw, 28px); margin-top: 1.5em; }
.wp-block-post-content h4 { font-family: inherit; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--pk-red); }
.wp-block-post-content :is(h2, h3) + p { margin-top: .6em; }
.wp-block-post-content p a, .wp-block-post-content li a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.wp-block-post-content .wp-block-image img { border-radius: var(--pk-radius); }
.wp-block-post-content .wp-block-image.alignwide img, .wp-block-post-content .wp-block-image.alignfull img { width: 100%; max-height: 72vh; object-fit: cover; }
.wp-block-post-content .wp-block-details { border-top: 1px solid var(--pk-line); padding: 20px 0; margin: 0; }
.wp-block-post-content .wp-block-details:last-of-type { border-bottom: 1px solid var(--pk-line); }
.wp-block-post-content .wp-block-details summary { font-family: var(--pk-serif); font-size: 21px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.wp-block-post-content .wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-post-content .wp-block-details summary::after { content: "+"; font-family: var(--pk-serif); font-weight: 300; transition: transform .25s var(--pk-ease); }
.wp-block-post-content .wp-block-details[open] summary::after { transform: rotate(45deg); }
.wp-block-post-content .wp-block-group.has-background { border-radius: var(--pk-radius); padding: clamp(24px, 3vw, 40px); }
.wp-block-post-content .wp-block-separator { border-color: var(--pk-line); }
.wp-block-post-content .wp-block-columns { gap: clamp(20px, 3vw, 40px); }
.wp-block-post-content iframe { border-radius: var(--pk-radius); width: 100%; }

/* Formularios de FormCraft con el aspecto del tema */
.formcraft-css .fc-form { background: none !important; box-shadow: none !important; }
.formcraft-css .fc-form input:not([type="checkbox"]):not([type="radio"]), .formcraft-css .fc-form textarea, .formcraft-css .fc-form select { border: 1px solid var(--pk-line) !important; border-radius: var(--pk-radius) !important; background: var(--pk-paper) !important; font-family: inherit !important; font-size: 16px !important; box-shadow: none !important; }
.formcraft-css .fc-form .submit-button { background: var(--pk-ink) !important; border-radius: 999px !important; text-shadow: none !important; box-shadow: none !important; font-family: inherit !important; }

/* ── Pie oscuro ── */
.pk-footer { font-size: 14px; color: rgba(246, 241, 234, .66); }
.pk-footer a { color: rgba(246, 241, 234, .85); text-decoration: none; }
.pk-footer a:hover { color: var(--pk-cream); text-decoration: underline; text-underline-offset: 4px; }
.pk-footer h2 { font-family: var(--pk-serif); font-size: 21px; font-weight: 400; letter-spacing: -.01em; color: var(--pk-cream); }
.pk-footer .wp-block-separator { border-color: rgba(246, 241, 234, .16); }
.pk-footer .wp-block-social-links .wp-social-link { color: var(--pk-cream) !important; }

/* ═══ WooCommerce ═══ */
.woocommerce .woocommerce-breadcrumb { font-size: 13px; color: var(--pk-muted); margin: 0 0 18px; }
.woocommerce .woocommerce-breadcrumb a { color: var(--pk-muted); }
.woocommerce-store-notice, p.demo_store { background: var(--pk-night); }
.woocommerce-message, .woocommerce-info, .woocommerce-error { border: 0; border-radius: var(--pk-radius); background: var(--pk-paper); color: var(--pk-ink); }
.woocommerce-message::before, .woocommerce-info::before { color: var(--wp--preset--color--ok, #2f6b3c); }

.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit,
.woocommerce a.button.alt, .woocommerce button.button.alt {
	background: var(--pk-ink); color: var(--pk-cream); border: 0; border-radius: 999px; padding: 13px 26px; font-weight: 500; font-size: 15px; letter-spacing: .01em; transition: background .2s;
}
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover { background: var(--pk-red); color: #fff; }

/* Tienda y categorías: rejilla ancha, títulos en palo seco que nunca parten palabras */
.woocommerce .woocommerce-products-header { text-align: left; padding: clamp(24px, 4vw, 56px) 0 clamp(8px, 2vw, 20px); }
.woocommerce .woocommerce-products-header__title { font-size: clamp(40px, 5.5vw, 72px); letter-spacing: -.03em; line-height: 1; margin: 0 0 12px; }
.woocommerce .term-description, .woocommerce .page-description { color: var(--pk-muted); font-size: 17px; line-height: 1.55; max-width: 680px; margin: 0; }
.woocommerce .woocommerce-result-count { color: var(--pk-muted); font-size: 14px; margin: 0 !important; float: none !important; }
.woocommerce .woocommerce-ordering { float: none !important; margin: 0 !important; }
.woocommerce .woocommerce-result-count + .woocommerce-ordering, .woocommerce .woocommerce-ordering:has(+ .woocommerce-result-count) { margin: 0; }
.woocommerce .woocommerce-ordering select { border: 1px solid var(--pk-line); border-radius: 999px; padding: 10px 40px 10px 18px; font: inherit; font-size: 14px; background-color: var(--pk-paper); min-height: 44px; }
.pk-shop-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 16px 0; border-top: 1px solid var(--pk-line); border-bottom: 1px solid var(--pk-line); margin: 8px 0 32px; }
.woocommerce ul.products { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px 24px; margin: 0 0 40px !important; padding: 0; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none !important; }
.woocommerce ul.products li.product { width: auto !important; margin: 0 !important; float: none !important; padding: 0; background: none; display: flex; flex-direction: column; text-align: left; min-width: 0; }
.woocommerce ul.products li.product a img { border-radius: var(--pk-radius); aspect-ratio: 4 / 5; object-fit: cover; margin: 0 0 16px; background: var(--pk-paper); transition: transform .6s var(--pk-ease); width: 100%; }
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link { display: flex; flex-direction: column; overflow: hidden; color: var(--pk-ink); text-decoration: none; flex: 1; }
.woocommerce ul.products li.product:hover a img { transform: scale(1.02); }
.woocommerce ul.products li.product .woocommerce-loop-product__title {
	font-family: var(--wp--preset--font-family--inter, inherit); font-size: 16px; font-weight: 500; line-height: 1.35; letter-spacing: -.005em; color: var(--pk-ink); padding: 0; margin: 0 0 6px;
	overflow-wrap: normal; word-break: normal; hyphens: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.woocommerce ul.products li.product .price { color: var(--pk-muted); font-size: 14px; font-weight: 400; margin: 0; }
.woocommerce ul.products li.product .price .pmk-desde, .woocommerce ul.products li.product .price .amount { color: var(--pk-ink); }
.woocommerce ul.products li.product .price small, .woocommerce ul.products li.product .price .woocommerce-price-suffix { font-size: 12px; color: var(--pk-muted); }
.woocommerce ul.products li.product .button { margin-top: 14px; align-self: flex-start; padding: 10px 18px; min-height: 40px; font-size: 13.5px; line-height: 1.2; white-space: nowrap; background: transparent; color: var(--pk-ink); border: 1px solid var(--pk-line); }
.woocommerce ul.products li.product .button:hover { background: var(--pk-ink); color: var(--pk-cream); border-color: var(--pk-ink); }
.woocommerce ul.products li.product .woocommerce-loop-product__title ~ :not(.price):not(.star-rating) { font-size: 14px; color: var(--pk-muted); }
.woocommerce nav.woocommerce-pagination ul { border: 0; display: flex; gap: 6px; justify-content: center; }
.woocommerce nav.woocommerce-pagination ul li { border: 0; }
.woocommerce nav.woocommerce-pagination ul li :is(a, span) { min-width: 44px; min-height: 44px; display: grid; place-items: center; border-radius: 999px; border: 1px solid var(--pk-line); font-size: 14px; }
.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--pk-ink); color: var(--pk-cream); border-color: var(--pk-ink); }
@media (max-width: 1200px) { .woocommerce ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.woocommerce span.onsale { background: var(--pk-red); border-radius: 999px; min-height: 0; line-height: 1; padding: 7px 11px; font-size: 12px; }

/* Ficha: fotos apiladas a la izquierda que se desplazan, configurador fijo a la derecha */
.single-product main { padding-top: 0 !important; }
.single-product .wp-block-woocommerce-legacy-template { max-width: none !important; }
.woocommerce div.product { padding: 0 max(16px, 3vw); }
.pk-product-top { position: relative; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(360px, 480px); gap: 0 clamp(32px, 5vw, 80px); align-items: start; }
.pk-product-top > * { grid-column: 1 / -1; }
.woocommerce div.product div.images, .woocommerce div.product .woocommerce-product-gallery {
	grid-column: 1; grid-row: 1; float: none !important; width: auto !important; margin: 0 !important; position: sticky !important; top: 0; padding: 0; background: none;
}
.pk-stack .woocommerce-product-gallery__wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; }
.pk-stack .woocommerce-product-gallery__image { width: auto !important; display: block !important; margin: 0 !important; background: var(--pk-paper); border-radius: var(--pk-radius); overflow: hidden; }
.pk-stack .woocommerce-product-gallery__image:nth-child(3n + 1), .pk-stack .woocommerce-product-gallery__image:last-child:nth-child(3n + 2) { grid-column: 1 / -1; }
.pk-stack .woocommerce-product-gallery__image img { width: 100%; display: block; border-radius: 0 !important; }
.pk-stack .woocommerce-product-gallery__image:not(:first-child) img { aspect-ratio: 4 / 5; object-fit: cover; }
.woocommerce div.product div.images .woocommerce-product-gallery__trigger { top: 16px; right: 16px; background: var(--pk-paper); }
.woocommerce div.product div.summary { grid-column: 2; grid-row: 1; float: none !important; width: auto !important; margin: 0 !important; position: sticky; top: 0; padding: clamp(8px, 2vw, 24px) 0 40px; }
.woocommerce div.product .woocommerce-breadcrumb { grid-column: 2; }
.woocommerce div.product .product_title { font-size: clamp(36px, 3.8vw, 56px); letter-spacing: -.03em; line-height: 1; margin: 0 0 14px; }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--pk-ink); font-size: 18px; font-weight: 500; }
.woocommerce div.product .woocommerce-product-details__short-description { color: var(--pk-muted); font-size: 16px; padding-bottom: 20px; border-bottom: 1px solid var(--pk-line); margin-bottom: 20px; }
.woocommerce div.product form.cart { margin: 0; }
.woocommerce div.product form.cart .button { width: 100%; padding: 17px 28px; font-size: 16px; font-weight: 500; }
.woocommerce div.product .woocommerce-tabs { margin-top: clamp(56px, 8vw, 120px); grid-column: 1 / -1; }
.woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0; margin: 0 0 32px; border-bottom: 1px solid var(--pk-line); display: flex; gap: 32px; justify-content: center; }
.woocommerce div.product .woocommerce-tabs ul.tabs::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { background: none; border: 0; border-radius: 0; margin: 0; padding: 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { padding: 14px 0; font-weight: 500; color: var(--pk-muted); }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--pk-ink); box-shadow: inset 0 -1px 0 var(--pk-ink); }
.woocommerce div.product .woocommerce-tabs .panel { max-width: 760px; margin: 0 auto; font-size: 17px; }
.woocommerce div.product .woocommerce-tabs .panel > h2:first-child { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: 0; } /* oculto a la vista, no al lector: el orden h1 → h2 → h3 se mantiene */
.woocommerce .related.products, .woocommerce .upsells.products { grid-column: 1 / -1; }
.woocommerce .related.products > h2, .woocommerce .upsells.products > h2 { font-size: clamp(32px, 4vw, 48px); letter-spacing: -.025em; text-align: center; margin: 80px 0 24px; }
.woocommerce .related ul.products, .woocommerce .upsells ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* Complementos de producto con el aspecto del tema (sus variables llegan inline: !important) */
.woocommerce div.product .cp-addons {
	--cp-bg: transparent !important; --cp-section-bg: transparent !important; --cp-control-bg: var(--pk-paper) !important;
	--cp-accent: var(--pk-ink) !important; --cp-text: var(--pk-ink) !important; --cp-border: var(--pk-line) !important;
	--cp-radius: 6px !important; --cp-gap: 14px !important; --cp-font: inherit !important;
	background: none !important; box-shadow: none !important; padding: 0 !important; margin: 8px 0 20px !important;
}
.woocommerce div.product .cp-addons > *, .woocommerce div.product .cp-addons .cp-section { background: none !important; box-shadow: none !important; border: 0 !important; padding: 0 !important; }
.woocommerce div.product .cp-addons .cp-field { grid-column: 1 / -1 !important; min-width: 0; }
.woocommerce div.product .cp-addons :is(select, input[type="text"], input[type="number"], input[type="email"], input[type="date"], textarea):not(.wccp-copies) { /* el contador de copias de Carga PRO tiene su propio estilo */
	width: 100% !important; box-sizing: border-box; border: 1px solid var(--pk-line) !important; border-radius: 6px !important; padding: 12px 14px !important; font: inherit; font-size: 16px; background: var(--pk-paper);
}
.woocommerce div.product .cp-addons .cp-option label { border-radius: 6px !important; background: var(--pk-paper); }
.woocommerce div.product .cp-addons .cp-option label:has(input:checked) { border-color: var(--pk-ink) !important; box-shadow: 0 0 0 1px var(--pk-ink) inset !important; }
.woocommerce div.product .quantity .qty { border: 1px solid var(--pk-line); border-radius: 6px; padding: 12px 8px; min-height: 48px; font: inherit; background: var(--pk-paper); }

@media (max-width: 960px) {
	.woocommerce div.product { padding: 0; }
	.pk-product-top { grid-template-columns: minmax(0, 1fr); }
	.woocommerce div.product div.images, .woocommerce div.product .woocommerce-product-gallery, .woocommerce div.product div.summary, .woocommerce div.product .woocommerce-breadcrumb { grid-column: 1; grid-row: auto; position: static !important; }
	/* Móvil: las fotos en carrusel horizontal con imán, a sangre */
	.pk-stack { margin: 0 calc(-1 * max(16px, 4vw)) 8px !important; }
	.pk-stack .woocommerce-product-gallery__wrapper { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 6px; padding: 0 max(16px, 4vw); scrollbar-width: none; }
	.pk-stack .woocommerce-product-gallery__wrapper::-webkit-scrollbar { display: none; }
	.pk-stack .woocommerce-product-gallery__image { flex: 0 0 86%; scroll-snap-align: center; }
	.pk-stack .woocommerce-product-gallery__image:only-child { flex-basis: 100%; }
	.pk-stack .woocommerce-product-gallery__image img { aspect-ratio: 4 / 5; object-fit: cover; }
	.woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 14px; }
	.woocommerce .related ul.products, .woocommerce .upsells ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 15px; }
	.woocommerce ul.products li.product .button { white-space: normal; }
}

/* ═══ Bolsa (carrito clásico) ═══ */
.pk-cart .woocommerce { margin-top: 32px; }
.pk-cart table.shop_table.cart { border: 0; border-collapse: collapse; border-top: 1px solid var(--pk-line); border-radius: 0; margin: 0; }
.pk-cart table.cart thead { display: none; }
.pk-cart table.cart tr.cart_item { display: grid; grid-template-columns: 140px minmax(0, 1fr) auto; grid-template-areas: "img name subtotal" "img meta subtotal" "img qty remove"; column-gap: 28px; row-gap: 6px; padding: 28px 0; border-bottom: 1px solid #e8e8ed; }
.pk-cart table.cart td { border: 0 !important; padding: 0 !important; background: none !important; text-align: left; }
.pk-cart table.cart td::before { display: none !important; } /* etiquetas de la tabla en móvil */
.pk-cart td.product-thumbnail { grid-area: img; }
.pk-cart td.product-thumbnail img { width: 140px !important; height: 140px; object-fit: cover; border-radius: var(--pk-radius); background: var(--pk-soft); }
.pk-cart td.product-name { grid-area: name / name / meta / meta; }
.pk-cart td.product-name > a { font-size: 22px; font-weight: 700; letter-spacing: -.02em; color: var(--pk-ink); }
.pk-cart td.product-price { display: none; }
.pk-cart td.product-quantity { grid-area: qty; color: var(--pk-muted); font-size: 15px; }
.pk-cart td.product-subtotal { grid-area: subtotal; text-align: right; font-size: 21px; font-weight: 600; }
.pk-cart td.product-remove { grid-area: remove; text-align: right; align-self: end; }
.pk-cart td.product-remove a.remove { width: auto !important; height: auto !important; font-size: 0 !important; color: var(--pk-red) !important; background: none !important; }
.pk-cart td.product-remove a.remove::after { content: "Eliminar"; font-size: 14px; font-weight: 400; }
.pk-cart dl.variation { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 10px; margin: 10px 0 0; font-size: 14px; color: var(--pk-muted); }
.pk-cart dl.variation dt { font-weight: 500; color: var(--pk-ink); margin: 0; }
.pk-cart dl.variation dd { margin: 0; }
.pk-cart dl.variation dd p { margin: 0; }
dl.variation dt.variation- { display: none !important; } /* etiqueta vacía de «Editar opciones» (carrito, pago y minicarrito) */
.pk-cart dl.variation dd.variation- { grid-column: 1 / -1; }
.pk-cart dl.variation dd img { border: 0 !important; border-radius: 10px !important; }
.pk-cart dl.variation dd span[style*="#6c63ff"] { background: var(--pk-ink) !important; } /* copias de Carga PRO */
.pk-cart td.actions { display: flex !important; justify-content: space-between; align-items: center; gap: 12px; padding: 20px 0 !important; }
.pk-cart td.actions .coupon { display: flex; gap: 8px; }
.pk-cart td.actions .coupon input.input-text { width: 200px !important; border: 1px solid var(--pk-line); border-radius: 999px; padding: 10px 16px; font: inherit; font-size: 14px; }
.pk-cart td.actions .coupon .button, .pk-cart td.actions > .button { background: var(--pk-soft) !important; color: var(--pk-ink) !important; font-size: 14px; }
.pk-cart .cart-collaterals { display: flex; justify-content: flex-end; margin-top: 8px; }
.pk-cart .cart-collaterals .cart_totals { float: none; width: 100%; max-width: 420px; }
.pk-cart .cart_totals h2 { font-size: 21px; letter-spacing: -.015em; }
.pk-cart .cart_totals table.shop_table { border: 0; }
.pk-cart .cart_totals table th, .pk-cart .cart_totals table td { border: 0 !important; padding: 8px 0 !important; background: none !important; font-weight: 400; }
.pk-cart .cart_totals tr.order-total { border-top: 1px solid var(--pk-line); }
.pk-cart .cart_totals tr.order-total th, .pk-cart .cart_totals tr.order-total td { border-top: 0 !important; padding-top: 14px !important; font-size: 22px; font-weight: 700; }
.pk-cart .cart_totals tr.order-total small { font-size: 12px; font-weight: 400; color: var(--pk-muted); display: block; }
.pk-cart .wc-proceed-to-checkout a.checkout-button { display: block; text-align: center; border-radius: var(--pk-radius); padding: 16px; font-size: 17px; font-weight: 600; }

/* Envíos (carrito y pago): cada método como una tarjeta */
ul#shipping_method { margin: 0; padding: 0; display: grid; gap: 8px; }
ul#shipping_method li { list-style: none; margin: 0 !important; padding: 12px 14px; border: 1px solid var(--pk-line); border-radius: var(--pk-radius); font-size: 14px; display: flex; align-items: center; gap: 10px; }
ul#shipping_method li:has(input:checked) { border: 2px solid var(--pk-select); padding: 11px 13px; }
ul#shipping_method li input { margin: 0 !important; accent-color: var(--pk-select); }
.woocommerce-shipping-destination, .woocommerce-shipping-calculator { font-size: 13px; color: var(--pk-muted); }

/* ═══ Pago (checkout clásico) ═══ */
.pk-checkout form.checkout { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 0 48px; align-items: start; margin-top: 32px; }
.pk-checkout form.checkout > * { grid-column: 1; }
.pk-checkout #customer_details { grid-column: 1; width: auto; }
.pk-checkout #customer_details .col-1, .pk-checkout #customer_details .col-2 { float: none; width: 100%; }
.pk-checkout #order_review_heading, .pk-checkout #order_review { grid-column: 2; }
.pk-checkout #order_review_heading { grid-row: 1; font-size: 21px; margin: 0 0 12px; }
.pk-checkout #order_review { grid-row: 2 / span 20; position: sticky; top: calc(var(--wp-admin--admin-bar--height, 0px) + 80px); background: var(--pk-soft); border-radius: var(--pk-radius); padding: 24px; }
.pk-checkout h3 { font-size: 21px; letter-spacing: -.015em; margin: 8px 0 14px; }
.pk-checkout .form-row { margin: 0 0 14px; padding: 0; }
.pk-checkout .form-row label { font-size: 13px; font-weight: 500; color: var(--pk-ink); margin-bottom: 6px; display: block; }
.pk-checkout .form-row :is(input.input-text, textarea, select), .pk-checkout .select2-container .select2-selection--single {
	border: 1px solid var(--pk-line) !important; border-radius: 12px !important; padding: 12px 14px; font: inherit; font-size: 16px; background: var(--pk-paper); min-height: 48px; box-sizing: border-box; width: 100%;
}
.pk-checkout .select2-container .select2-selection--single .select2-selection__rendered { line-height: 22px; padding: 0; }
.pk-checkout .select2-container .select2-selection--single .select2-selection__arrow { top: 11px; right: 8px; }
.pk-checkout .form-row :is(input.input-text, textarea):focus { border-color: var(--pk-select) !important; outline: 0; box-shadow: 0 0 0 3px rgba(43, 33, 28, .12); }
.pk-checkout .form-row-first, .pk-checkout .form-row-last { width: calc(50% - 7px); }
.pk-checkout table.shop_table { border: 0; margin: 0 0 16px; }
.pk-checkout table.shop_table th, .pk-checkout table.shop_table td { border: 0 !important; padding: 8px 0 !important; background: none !important; font-size: 14px; }
.pk-checkout table.shop_table thead { display: none; }
.pk-checkout table.shop_table .cart_item td.product-name { font-weight: 600; }
.pk-checkout table.shop_table dl.variation { font-weight: 400; color: var(--pk-muted); font-size: 13px; margin: 4px 0 0; }
.pk-checkout table.shop_table dl.variation dd img { width: 40px !important; height: 40px !important; border: 0 !important; }
.pk-checkout table.shop_table dl.variation dd span[style*="#6c63ff"] { background: var(--pk-ink) !important; }
.pk-checkout table.shop_table tr.order-total { border-top: 1px solid var(--pk-line); }
.pk-checkout table.shop_table tr.order-total th, .pk-checkout table.shop_table tr.order-total td { border-top: 0 !important; padding-top: 14px !important; font-size: 20px; font-weight: 700; }
/* Resumen del pedido en filas: producto y precio arriba, opciones debajo, envío a todo el ancho */
.pk-checkout table.woocommerce-checkout-review-order-table, .pk-checkout table.woocommerce-checkout-review-order-table :is(tbody, tfoot) { display: block; width: 100%; }
.pk-checkout table.woocommerce-checkout-review-order-table tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; padding: 10px 0; border-bottom: 1px solid #e3e3e8; }
.pk-checkout table.woocommerce-checkout-review-order-table :is(th, td) { display: block; padding: 0 !important; text-align: left; }
.pk-checkout table.woocommerce-checkout-review-order-table td.product-total, .pk-checkout table.woocommerce-checkout-review-order-table tfoot td { text-align: right; }
.pk-checkout table.woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals { grid-template-columns: 1fr; }
.pk-checkout table.woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals td { text-align: left; }
.pk-checkout table.woocommerce-checkout-review-order-table tr.order-total { border-bottom: 0; }
.pk-checkout table.shop_table dl.variation { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 8px; }
.pk-checkout table.shop_table dl.variation :is(dt, dd) { margin: 0; float: none; }
.pk-checkout table.shop_table dl.variation dd p { margin: 0; }
.pk-checkout table.shop_table dl.variation dd > div { margin-top: 0 !important; gap: 6px !important; }
.pk-checkout #payment { background: none !important; border-radius: 0; }
.pk-checkout #payment ul.payment_methods { border: 0 !important; padding: 0 !important; display: grid; gap: 8px; }
.pk-checkout #payment ul.payment_methods li { background: var(--pk-paper); border: 1px solid var(--pk-line); border-radius: var(--pk-radius); padding: 12px 14px !important; list-style: none; margin: 0 !important; }
.pk-checkout #payment ul.payment_methods li:has(> input:checked) { border: 2px solid var(--pk-select); padding: 11px 13px !important; }
.pk-checkout #payment div.payment_box { background: var(--pk-soft) !important; border-radius: 10px; font-size: 13px; margin: 10px 0 0 !important; }
.pk-checkout #payment div.payment_box::before { display: none; }
.pk-checkout #payment div.place-order { padding: 16px 0 0 !important; }
.pk-checkout #place_order { width: 100%; float: none; border-radius: var(--pk-radius); padding: 16px; font-size: 17px; font-weight: 600; }
.pk-checkout .woocommerce-terms-and-conditions-wrapper { font-size: 13px; color: var(--pk-muted); }
.pk-checkout .woocommerce-form-coupon-toggle .woocommerce-info { font-size: 14px; }

@media (max-width: 960px) {
	.pk-checkout form.checkout { grid-template-columns: 1fr; }
	.pk-checkout #order_review_heading, .pk-checkout #order_review { grid-column: 1; grid-row: auto; position: static; }
	.pk-cart table.cart tr.cart_item { grid-template-columns: 88px minmax(0, 1fr); grid-template-areas: "img name" "img meta" "qty subtotal" "remove remove"; column-gap: 16px; }
	.pk-cart td.product-thumbnail img { width: 88px !important; height: 88px; }
	/* WooCommerce convierte la tabla en filas con etiqueta en móvil (woocommerce-smallscreen): se anula */
	.pk-cart table.cart tr.cart_item td { display: block !important; text-align: left !important; }
	.pk-cart table.cart tr.cart_item td.product-thumbnail { display: block !important; }
	.pk-cart table.cart tr.cart_item td.product-price { display: none !important; }
	.pk-cart table.cart tr.cart_item td.product-subtotal { text-align: right !important; align-self: center; }
	.pk-cart table.cart tr.cart_item td.product-remove { text-align: left !important; }
	.pk-cart td.product-remove a.remove { display: inline !important; margin: 0 !important; }
	.pk-cart .cart_totals table.shop_table tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px; }
	.pk-cart .cart_totals table.shop_table tr.woocommerce-shipping-totals { grid-template-columns: 1fr; }
	.pk-cart .cart_totals table.shop_table :is(th, td) { display: block !important; text-align: left !important; }
	.pk-cart .cart_totals table.shop_table td::before { display: none !important; }
	.pk-cart .cart_totals table.shop_table tr:not(.woocommerce-shipping-totals) td { text-align: right !important; }
	.pk-cart td.product-name > a { font-size: 19px; }
	.pk-cart dl.variation { font-size: 13px; }
	.pk-cart td.actions { flex-direction: column; align-items: stretch; }
	.pk-cart td.actions .coupon { width: 100%; }
	.pk-cart td.actions .coupon input.input-text { flex: 1; width: auto !important; }
}

/* La barra fija de papimko-fichas, bajo la cabecera del tema */
/* Como en la tienda de Apple: al aparecer la barra del producto, el menú sube y la barra ocupa su sitio arriba (en vez de montarse encima) */
.pmk-bar { top: var(--wp-admin--admin-bar--height, 0px) !important; background: rgba(246, 241, 234, .96) !important; }
.pk-header { transition: transform .28s var(--pk-ease); }
@media (min-width: 761px) {
	body.pmk-bar-on .pk-header { transform: translateY(-100%); pointer-events: none; }
	body.pmk-bar-on.pk-mega-open .pk-header, .pk-mega-open body.pmk-bar-on .pk-header { transform: none; pointer-events: auto; }
}
@media (max-width: 760px) {
	.pmk-bar { top: auto !important; }
}

/* Contenido convertido de Divi: columnas e imágenes más anchas que el texto, y las palabras destacadas en rojo cursiva */
.wp-block-post-content > :is(.wp-block-columns, .wp-block-image, .wp-block-gallery) { max-width: 1080px !important; }
.wp-block-post-content :is(h1, h2, h3) :is(em, i, span[style*="color"]) { color: var(--pk-red) !important; font-style: italic; font-weight: 300 !important; }
.woocommerce div.product .pk-stack { opacity: 1 !important; } /* sin carrusel no hay que esperar a que WooCommerce lo monte: la foto sale al momento */

/* ═══ Portada ═══ */
.pk-hero { padding: clamp(24px, 5vw, 72px) max(16px, 4vw) !important; margin-top: 0 !important; }
.pk-hero .wp-block-cover__background { opacity: 1 !important; background-color: transparent !important; background: linear-gradient(90deg, rgba(31, 24, 20, .82) 0%, rgba(31, 24, 20, .55) 42%, rgba(31, 24, 20, 0) 72%), linear-gradient(180deg, rgba(31, 24, 20, 0) 55%, rgba(31, 24, 20, .5) 100%); }
.pk-hero .wp-block-cover__image-background { object-position: 50% 45%; }
@media (max-width: 960px) { .pk-hero .wp-block-cover__background { background: linear-gradient(180deg, rgba(31, 24, 20, .1) 20%, rgba(31, 24, 20, .85) 85%); } }
.pk-hero .wp-block-cover__inner-container { max-width: 760px !important; margin: 0 !important; color: var(--pk-cream); }
.pk-hero h1 { color: var(--pk-cream); font-size: clamp(52px, 8.4vw, 128px); line-height: .92; letter-spacing: -.04em; margin: 10px 0 18px; }
.pk-hero p { font-size: clamp(17px, 1.5vw, 20px); max-width: 560px; color: rgba(246, 241, 234, .86); }
.pk-hero .pk-eyebrow { color: var(--pk-cream); opacity: .85; }
.pk-hero .wp-block-buttons { margin-top: 28px; gap: 12px; }
.pk-btn-cream .wp-block-button__link { background: var(--pk-cream); color: var(--pk-ink); }
.pk-btn-cream .wp-block-button__link:hover { background: #fff; color: var(--pk-ink); }
.pk-btn-line .wp-block-button__link { color: var(--pk-cream) !important; border-color: rgba(246, 241, 234, .7) !important; }
.pk-btn-line .wp-block-button__link:hover { background: var(--pk-cream) !important; color: var(--pk-ink) !important; }

/* Categorías: fotos grandes, nombre en serif */
.pk-tile { gap: 4px !important; }
.pk-tile .wp-block-image { margin: 0 0 12px; overflow: hidden; border-radius: var(--pk-radius); }
.pk-tile .wp-block-image img { width: 100%; aspect-ratio: 4 / 5; }
.pk-tile p.has-medium-font-size { font-family: var(--pk-serif); font-weight: 400 !important; font-size: clamp(22px, 2vw, 28px) !important; letter-spacing: -.01em; }

/* Ventajas: una fila con líneas, sin cajas */
.pk-ventajas { border-top: 1px solid var(--pk-line); border-bottom: 1px solid var(--pk-line); padding-block: 36px !important; margin-top: var(--wp--preset--spacing--60) !important; gap: 0 !important; }
.pk-ventajas > .wp-block-group { background: none !important; border-radius: 0 !important; padding: 4px 28px !important; }
.pk-ventajas > .wp-block-group + .wp-block-group { border-left: 1px solid var(--pk-line); }
.pk-ventajas p.has-large-font-size { font-family: var(--pk-serif); font-weight: 400 !important; font-size: 22px !important; }

/* Tarjetas de «Lo más pedido» con el radio del tema */
.pk-card { border-radius: var(--pk-radius) !important; }

/* El taller: foto a sangre y texto sobre fondo noche */
.pk-taller { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; margin-top: var(--wp--preset--spacing--60) !important; padding: 0 !important; }
.pk-taller__media { margin: 0; height: 100%; }
.pk-taller__media img { width: 100%; height: 100%; min-height: 520px; object-fit: cover; display: block; }
.pk-taller__text { padding: clamp(40px, 6vw, 96px) !important; max-width: 560px; }
.pk-taller h2 { color: var(--pk-cream); font-size: clamp(40px, 5vw, 72px); line-height: .98; letter-spacing: -.035em; margin: 12px 0 20px; }
.pk-taller p:not(.pk-eyebrow) { color: rgba(246, 241, 234, .75); font-size: 18px; }
.pk-taller .pk-eyebrow { color: #e4a29a; }
.pk-taller .pk-btn-ghost { margin-top: 18px; }

/* ═══ Tienda: subcategorías como tarjetas editoriales ═══ */
.woocommerce ul.products li.product-category a { color: var(--pk-ink); text-decoration: none; display: block; }
.woocommerce ul.products li.product-category img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--pk-radius); margin: 0 0 14px !important; background: var(--pk-paper); transition: transform .6s var(--pk-ease); }
.woocommerce ul.products li.product-category:hover img { transform: scale(1.02); }
.woocommerce ul.products li.product-category h2.woocommerce-loop-category__title { font-family: var(--pk-serif); font-weight: 400; font-size: clamp(22px, 2vw, 28px); letter-spacing: -.01em; padding: 0; display: flex; align-items: baseline; gap: 8px; text-transform: none; }
.woocommerce ul.products li.product-category h2 .count { background: none; color: var(--pk-muted); font-family: var(--wp--preset--font-family--inter); font-size: 13px; padding: 0; }
.woocommerce .term-description p { margin: 0; }
.woocommerce .term-description a { text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 960px) {
	.pk-hero { min-height: 82vh !important; }
	.pk-ventajas { grid-template-columns: 1fr 1fr !important; padding-block: 8px !important; }
	.pk-ventajas > .wp-block-group { padding: 20px 12px !important; border-left: 0 !important; }
	.pk-taller { grid-template-columns: 1fr; }
	.pk-taller__media img { min-height: 0; aspect-ratio: 4 / 3; }
	.pk-tile p.has-medium-font-size { font-size: 20px !important; }
}
@media (max-width: 760px) {
	.pk-tile { min-width: 0; }
	.wp-block-group:has(> .pk-tile) { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 24px 12px !important; }
}

/* Contador de copias de Carga PRO: compacto y entero dentro de la tarjeta */
.wccp-copies-wrap { flex-wrap: wrap; gap: 6px 8px; min-width: 0; } /* en tarjetas estrechas el contador baja debajo de «Copias» en vez de salirse */
.wccp-copies-stepper { flex: 1 1 110px; max-width: 100%; justify-content: space-between; display: inline-flex; border: 1px solid var(--pk-line) !important; border-radius: 999px !important; overflow: hidden; background: var(--pk-paper); }
.wccp-copies-stepper button { width: 34px; height: 34px; flex: 0 0 34px; background: none !important; color: var(--pk-ink) !important; border: 0 !important; }
.wccp-copies-stepper button:hover { background: var(--pk-ink) !important; color: var(--pk-cream) !important; }
.wccp-copies-stepper input.wccp-copies { flex: 1 1 auto; width: 40px !important; min-width: 0 !important; height: 34px; padding: 0 !important; border: 0 !important; text-align: center; font: inherit; font-weight: 600; background: none; -moz-appearance: textfield; }

/* papimko-fichas y Carga PRO con la paleta cálida del tema */
body.pmk-ficha { --pmk-ground: var(--pk-soft); --pmk-red-soft: #f1e2d8; --pmk-line: var(--pk-line); --pmk-ink: var(--pk-ink); --pmk-muted: var(--pk-muted); --pmk-dark: var(--pk-night); }
.pmk-ficha .wccp-drop-zone { background: var(--pk-paper) !important; border: 1.5px dashed var(--pk-line) !important; border-radius: var(--pk-radius) !important; }
.pmk-ficha .wccp-drop-zone:hover, .pmk-ficha .wccp-drop-zone.wccp-drag-over { background: #f8ece4 !important; }
.pmk-ficha .wccp-preview-card { background: var(--pk-paper) !important; border-radius: var(--pk-radius) !important; box-shadow: none !important; border: 1px solid var(--pk-line) !important; }
.pmk-ficha .pmk-box { border-radius: var(--pk-radius) !important; }
.pmk-ficha .cp-addons :is(.cp-label, .cp-field-label, legend) { letter-spacing: .12em; }

/* Títulos del megamenú: enlazan a la página de aterrizaje de cada sección */
.pk-mega__title a { color: inherit; text-decoration: none; }
.pk-mega__title a::after { content: " →"; opacity: 0; transition: opacity .2s; }
.pk-mega__title a:hover::after { opacity: .6; }
@media (min-width: 961px) and (max-width: 1600px) { .pk-mega__feature { display: none; } .pk-mega__inner { grid-template-columns: minmax(0, 1fr) 260px; } }
@media (max-width: 1180px) { .pk-nav__link--wide { display: none; } }
.pk-mega__title { min-height: 2.3em; } /* las listas empiezan a la misma altura aunque un título ocupe dos líneas */
@media (max-width: 960px) { .pk-mega__title { min-height: 0; } }

/* ═══ Opciones de producto: un solo sistema para Complementos, botones visuales (fragmento 20), producción urgente y cantidad ═══ */
/* Fondos: las fotos de producto con fondo blanco se funden con el crema en vez de verse como recuadros blancos */
.pk-stack img, .woocommerce ul.products li.product a img, .pk-tile img, .cp-option-image img, .wp-block-post-content .wp-block-image img { mix-blend-mode: multiply; }
.pk-stack .woocommerce-product-gallery__image, .woocommerce ul.products li.product a img { background: var(--pk-cream) !important; }
.pk-stack .woocommerce-product-gallery__image img.zoomImg { mix-blend-mode: normal; background: #fff; }

/* Ritmo vertical: el mismo espacio entre todos los bloques del configurador */
.summary form.cart > * + *, .summary .cp-grid > * { margin-top: 0; }
.summary .cp-grid { row-gap: 26px !important; column-gap: 12px !important; }
.summary form.cart { display: flex; flex-wrap: wrap; gap: 26px 12px; align-items: stretch; }
.summary form.cart > * { flex: 1 1 100%; min-width: 0; margin: 0 !important; }
.summary form.cart > input[type="hidden"] { display: none; }

/* Etiqueta de cada opción: como «TAMAÑO» del revelado */
.summary .cp-label, .pmk-sw-on table.variations th label {
	font-family: inherit !important; font-size: 12px !important; font-weight: 600 !important; letter-spacing: .12em !important; text-transform: uppercase;
	color: var(--pk-muted) !important; margin: 0 0 12px !important; display: block;
}
.summary .cp-description, .summary .cp-file-hint { color: var(--pk-muted); font-size: 13px; }

/* Opciones (imagen, texto, radio): misma tarjeta, mismo seleccionado */
.summary .cp-field--image_group.cp-options-grid .cp-options { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 10px !important; }
.summary .cp-option > label, .pmk-sw button {
	background: var(--pk-paper) !important; border: 1px solid var(--pk-line) !important; border-radius: var(--pk-radius) !important; box-shadow: none !important;
	transition: border-color .15s, box-shadow .15s; color: var(--pk-ink) !important;
}
.summary .cp-option > label:hover, .pmk-sw button:hover { border-color: var(--pk-ink) !important; }
.summary .cp-option > label:has(input:checked), .pmk-sw button[aria-pressed="true"] { border-color: var(--pk-ink) !important; box-shadow: 0 0 0 1px var(--pk-ink) inset !important; background: var(--pk-paper) !important; }
.summary .cp-option-image { background: transparent !important; border-radius: 4px; overflow: hidden; }
.summary .cp-option-label { font-size: 14px; font-weight: 500; letter-spacing: .01em; }

/* Colores: solo el círculo, sin tarjeta */
.summary .cp-field--color_group .cp-options { gap: 14px !important; }
.summary .cp-field--color_group .cp-option > label { background: transparent !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.summary .cp-field--color_group .cp-swatch { width: 40px !important; height: 40px !important; border-radius: 50% !important; box-shadow: 0 0 0 1px rgba(43, 33, 28, .18) inset; }
.summary .cp-field--color_group .cp-option > label:has(input:checked) .cp-swatch { box-shadow: 0 0 0 2px var(--pk-cream), 0 0 0 3.5px var(--pk-ink) !important; }
.summary .cp-field--color_group .cp-option-label { font-size: 12.5px; color: var(--pk-muted); }

/* Botones visuales de variaciones (planos…): a todo el ancho y en rejilla */
.pmk-sw-on table.variations, .pmk-sw-on table.variations :is(tbody, tr) { display: block; width: 100%; margin: 0; }
.pmk-sw-on table.variations tr + tr { margin-top: 26px; }
.pmk-sw { grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)) !important; gap: 10px !important; }
.pmk-sw button small { color: var(--pk-muted) !important; }
.pmk-info { gap: 10px !important; }
.pmk-info div { background: var(--pk-paper) !important; border: 1px solid var(--pk-line); border-radius: var(--pk-radius) !important; }

/* Subida de archivos de Complementos y textos */
.summary .cp-file-drop { background: var(--pk-paper) !important; border: 1.5px dashed var(--pk-line) !important; border-radius: var(--pk-radius) !important; }
.summary .cp-file-drop:hover { border-color: var(--pk-ink) !important; }
.summary .cp-file-icon, .summary .cp-file-drop svg { color: var(--pk-ink) !important; }

/* Producción urgente */
.summary .pu-box { background: var(--pk-paper) !important; border: 1px solid var(--pk-line) !important; border-radius: var(--pk-radius) !important; padding: 14px 16px !important; font-size: 15px; box-shadow: none !important; }
.summary .pu-box label { display: flex; align-items: center; gap: 10px; font-weight: 600; cursor: pointer; margin: 0; }
.summary .pu-box input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--pk-ink); margin: 0; }
.summary .pu-box #pu-text { color: var(--pk-muted); font-size: 13.5px; margin: 4px 0 0 28px; }

/* Cantidad y botón en la misma fila */
.summary form.cart > .quantity, .summary .woocommerce-variation-add-to-cart > .quantity { flex: 0 0 92px !important; }
.summary form.cart > .single_add_to_cart_button { flex: 1 1 0 !important; width: auto !important; }
.summary .woocommerce-variation-add-to-cart { display: flex; gap: 12px; }
.summary .woocommerce-variation-add-to-cart .single_add_to_cart_button { flex: 1 1 0; width: auto !important; }
.woocommerce div.product .summary .quantity .qty { width: 100% !important; height: 54px; min-height: 0; padding: 0 8px; text-align: center; border-radius: 999px; font-weight: 600; background: var(--pk-paper); }
.summary .single_add_to_cart_button { min-height: 54px; }
.summary .single_add_to_cart_button.disabled, .summary .single_add_to_cart_button:disabled { background: var(--pk-line) !important; color: var(--pk-muted) !important; opacity: 1 !important; }
.woocommerce div.product .summary .cp-addons { margin: 0 !important; }
.summary .woocommerce-variation-add-to-cart { flex-wrap: wrap; gap: 26px 12px; }
.summary .woocommerce-variation-add-to-cart > * { flex: 1 1 100%; min-width: 0; margin: 0 !important; }
.summary .woocommerce-variation-add-to-cart > .quantity { flex: 0 0 92px; }
.summary .woocommerce-variation-add-to-cart > .single_add_to_cart_button { flex: 1 1 0; }
.summary .woocommerce-variation-add-to-cart > input[type="hidden"] { display: none; }
/* Todas las tarjetas de imagen del mismo alto */
.summary .cp-field--image_group .cp-option > label { height: 100%; display: flex; flex-direction: column; }
.summary .cp-field--image_group .cp-option-image { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; }
.summary .cp-field--image_group .cp-option-image img { width: 100%; height: 100%; object-fit: contain; }
.summary .cp-field--image_group .cp-option-label { margin-top: auto; }
/* Sin selector de cantidad (venta individual): el botón ocupa toda la fila */
.summary form.cart:not(:has(> .quantity input[type="number"])) > .single_add_to_cart_button { flex-basis: 100% !important; }
/* Desplegables de variaciones de WooCommerce con el mismo aspecto que los de Complementos */
.summary table.variations { width: 100%; border: 0; margin: 0; }
.summary table.variations :is(th, td) { display: block; padding: 0 !important; border: 0 !important; background: none !important; text-align: left; }
.summary table.variations th label { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--pk-muted); margin: 0 0 10px; display: block; }
.summary table.variations select { width: 100% !important; min-height: 48px; border: 1px solid var(--pk-line); border-radius: var(--pk-radius); background-color: var(--pk-paper); padding: 0 14px; font: inherit; font-size: 16px; }
.summary .reset_variations { font-size: 13px; color: var(--pk-muted); }

/* Contenido de páginas: tarjetas enlazadas y botones proporcionados (Catálogos, Empresas…) */
.wp-block-post-content :is(h2, h3, h4) a { color: inherit; text-decoration: none; }
.wp-block-post-content :is(h2, h3, h4) a:hover { color: var(--pk-red); }
.wp-block-post-content .wp-block-image a { display: block; overflow: hidden; border-radius: var(--pk-radius); }
.wp-block-post-content .wp-block-image a img { transition: transform .6s var(--pk-ease); }
.wp-block-post-content .wp-block-image a:hover img { transform: scale(1.02); }
.wp-block-post-content .wp-block-buttons { gap: 8px; margin-top: 12px; }
.wp-block-post-content .wp-block-button__link { font-size: 13px; letter-spacing: .06em; padding: 11px 20px; white-space: nowrap; line-height: 1.2; }
.wp-block-post-content .wp-block-buttons > .wp-block-button + .wp-block-button .wp-block-button__link { background: transparent; color: var(--pk-ink); box-shadow: inset 0 0 0 1px var(--pk-ink); }
.wp-block-post-content .wp-block-buttons > .wp-block-button + .wp-block-button .wp-block-button__link:hover { background: var(--pk-ink); color: var(--pk-cream); }
.wp-block-post-content .wp-block-column > :is(h2, h3, h4, p):not(.has-text-align-center) { text-wrap: balance; }
.wp-block-post-content .wp-block-group > .wp-block-columns, .wp-block-post-content > .wp-block-columns { max-width: 1080px !important; }
/* Nombre encima de los botones (Catálogos): en serif y sin gritar en mayúsculas */
.wp-block-post-content .wp-block-column > p:has(+ .wp-block-buttons) { font-family: var(--pk-serif); font-size: 22px; line-height: 1.15; text-transform: lowercase; margin: 14px 0 0; }
.wp-block-post-content .wp-block-column > p:has(+ .wp-block-buttons)::first-letter { text-transform: uppercase; }

/* Cantidad: pastilla − 1 + que no se sale (WooCommerce le mete padding desde legacy-template.css) */
.summary form.cart > .quantity, .summary .woocommerce-variation-add-to-cart > .quantity { flex: 0 0 132px !important; display: flex !important; align-items: center; border: 1px solid var(--pk-line); border-radius: 999px; background: var(--pk-paper); overflow: hidden; height: 54px; }
.woocommerce div.product .summary .quantity .qty { flex: 1 1 auto; width: 40px !important; min-width: 0; height: 100%; padding: 0 !important; border: 0 !important; background: none; box-sizing: border-box !important; -moz-appearance: textfield; }
.summary .quantity .qty::-webkit-outer-spin-button, .summary .quantity .qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.summary .pk-qty-btn { flex: 0 0 44px; height: 100%; border: 0; background: none; color: var(--pk-ink); font-size: 20px; line-height: 1; cursor: pointer; }
.summary .pk-qty-btn:hover { background: var(--pk-soft); }
.summary .single_add_to_cart_button { height: 54px !important; min-height: 0 !important; padding-block: 0 !important; }
.summary .cp-addons :is(.cp-form, .cp-section, .cp-section-body) { margin-bottom: 0 !important; padding-bottom: 0 !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active { background: none !important; }

/* El taller como bloque «Medios y texto» (se edita en el editor: foto, textos y botón) */
.pk-taller-mt { margin-top: var(--wp--preset--spacing--60) !important; min-height: 560px; }
.pk-taller-mt .wp-block-media-text__content { padding: clamp(40px, 6vw, 96px) !important; max-width: 620px; }
.pk-taller-mt h2 { color: var(--pk-cream); font-size: clamp(40px, 5vw, 72px); line-height: .98; letter-spacing: -.035em; margin: 12px 0 20px; }
.pk-taller-mt p:not(.pk-eyebrow) { color: rgba(246, 241, 234, .75); font-size: 18px; }
.pk-taller-mt .pk-eyebrow { color: #e4a29a; }
.pk-taller-mt .wp-block-buttons { margin-top: 24px; }
@media (max-width: 600px) { .pk-taller-mt .wp-block-media-text__media { min-height: 280px; } .pk-taller-mt .wp-block-media-text__content { padding: 36px 20px 44px !important; } }
.pk-card-text { color: var(--pk-muted); } .has-contrast-background-color .pk-card-text, .has-night-background-color .pk-card-text { color: rgba(246, 241, 234, .72); }
.wp-block-post-content .pk-tile a, .wp-block-post-content .pk-card a { text-decoration: none; }

/* Iconos de «Ventajas»: los pone el tema (en el editor solo se cambian los textos) */
.pk-ventajas > .wp-block-group::before { content: ""; width: 30px; height: 30px; background: var(--pk-red); -webkit-mask: var(--pk-ico) center / contain no-repeat; mask: var(--pk-ico) center / contain no-repeat; }
.pk-ventajas > .wp-block-group:nth-child(4n+1) { --pk-ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%2012l5%205L20%206%22/%3E%3C/svg%3E"); }
.pk-ventajas > .wp-block-group:nth-child(4n+2) { --pk-ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%2010l8-6%208%206v10H4z%22/%3E%3Cpath%20d%3D%22M9%2020v-6h6v6%22/%3E%3C/svg%3E"); }
.pk-ventajas > .wp-block-group:nth-child(4n+3) { --pk-ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M2%207h12v9H2z%22/%3E%3Cpath%20d%3D%22M14%2010h4l3%203v3h-7%22/%3E%3Ccircle%20cx%3D%226%22%20cy%3D%2218%22%20r%3D%221.6%22/%3E%3Ccircle%20cx%3D%2217%22%20cy%3D%2218%22%20r%3D%221.6%22/%3E%3C/svg%3E"); }
.pk-ventajas > .wp-block-group:nth-child(4n+4) { --pk-ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%2021s-7-6.2-7-11a7%207%200%200%201%2014%200c0%204.8-7%2011-7%2011z%22/%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2210%22%20r%3D%222.5%22/%3E%3C/svg%3E"); }

/* Fotos en tarjetas oscuras: sin fundir (sobre fondo oscuro el efecto las ennegrece) */
:is(.has-contrast-background-color, .has-night-background-color, .pk-taller-mt) img { mix-blend-mode: normal !important; }

/* ═══ Bloque «Lo más pedido» (según pedidos reales) ═══ */
.pk-top { margin-block: var(--wp--preset--spacing--60) 0; }
.pk-top__title { font-size: var(--wp--preset--font-size--x-large); margin: 0 0 8px; }
.pk-top__sub { color: var(--pk-muted); margin: 0 0 24px; }
.pk-top__list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 28px 20px; }
.pk-top__link { display: grid; gap: 6px; color: inherit; text-decoration: none !important; }
.pk-top__media { display: block; overflow: hidden; border-radius: var(--pk-radius); background: var(--pk-cream); margin-bottom: 8px; }
.pk-top__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; mix-blend-mode: multiply; transition: transform .6s var(--pk-ease); }
.pk-top__link:hover img { transform: scale(1.03); }
.pk-top__rank { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--pk-red); }
.pk-top__name { font-family: var(--pk-serif); font-size: 22px; line-height: 1.15; letter-spacing: -.01em; }
.pk-top__price { color: var(--pk-muted); font-size: 15px; }
@media (max-width: 760px) { .pk-top__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; } .pk-top__name { font-size: 18px; } }

/* ═══ Pie (patrón papimko/pie) ═══ */
.pk-pie { background: var(--pk-night); color: rgba(246, 241, 234, .7); font-size: 14px; margin-top: var(--wp--preset--spacing--60); padding: 56px max(16px, 4vw) 28px; }
.pk-pie a { color: rgba(246, 241, 234, .88); text-decoration: none; }
.pk-pie a:hover { color: var(--pk-cream); text-decoration: underline; text-underline-offset: 4px; }
.pk-pie__cols { max-width: var(--wp--style--global--wide-size, 1320px); margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 32px; }
.pk-pie__title { font-family: var(--pk-serif); font-size: 21px; color: var(--pk-cream); margin: 0 0 14px; }
.pk-pie ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pk-pie address { font-style: normal; line-height: 1.7; margin-top: 12px; }
.pk-pie__redes { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 12px; }
.pk-pie__base { max-width: var(--wp--style--global--wide-size, 1320px); margin: 40px auto 0; padding-top: 20px; border-top: 1px solid rgba(246, 241, 234, .16); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 13px; }
.pk-pie__base p { margin: 0; }

/* Botón de WhatsApp propio */
.pk-wa { position: fixed; right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 9990; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px -8px rgba(0, 0, 0, .35); transition: transform .2s var(--pk-ease); }
.pk-wa:hover { transform: scale(1.06); }
body:has(.cky-consent-container:not(.cky-hide)) .pk-wa, body.pmk-bar-on .pk-wa { display: none; }
@media (max-width: 760px) { body.single-product .pk-wa { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); } }

/* Barra de envío gratis en la bolsa */
.pk-envio-bar { background: var(--pk-paper); border: 1px solid var(--pk-line); border-radius: var(--pk-radius); padding: 14px 16px; margin-bottom: 18px; font-size: 14px; }
.pk-envio-bar p { margin: 0 0 8px; }

.pk-envio-bar__track i { display: block; height: 100%; background: var(--wp--preset--color--ok, #2f6b3c); }

/* ═══ Envío gratis: claro y con una pequeña celebración ═══ */
.pk-gratis { display: inline-block; margin-left: 6px; padding: 2px 9px; border-radius: 999px; background: color-mix(in srgb, var(--wp--preset--color--ok, #2f6b3c) 12%, transparent); color: var(--wp--preset--color--ok, #2f6b3c); font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; vertical-align: 1px; }
.pk-envio-bar__track { display: block; height: 6px; border-radius: 99px; background: var(--pk-soft); overflow: hidden; }
.pk-envio-bar.is-free { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 10px 12px; border-color: color-mix(in srgb, var(--wp--preset--color--ok, #2f6b3c) 35%, var(--pk-line)); background: color-mix(in srgb, var(--wp--preset--color--ok, #2f6b3c) 6%, var(--pk-paper)); }
.pk-envio-bar.is-free p { margin: 0; }
.pk-envio-bar.is-free p strong { color: var(--wp--preset--color--ok, #2f6b3c); }
.pk-envio-bar.is-free .pk-envio-bar__track { grid-column: 1 / -1; }
.pk-envio-bar__ok { position: relative; width: 28px; height: 28px; display: block; }
.pk-envio-bar__ok svg { width: 100%; height: 100%; fill: none; stroke: var(--wp--preset--color--ok, #2f6b3c); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.pk-envio-bar__ok b { position: absolute; left: 50%; top: 50%; width: 5px; height: 5px; margin: -2.5px; border-radius: 50%; background: var(--pk-red); opacity: 0; }
.pk-envio-bar__ok b:nth-child(even) { background: var(--wp--preset--color--ok, #2f6b3c); width: 4px; height: 4px; margin: -2px; }
.pk-envio-bar__ok b:nth-child(3n) { background: #c9a227; }
.pk-envio-bar__ok b:nth-child(1) { --a: 0deg; } .pk-envio-bar__ok b:nth-child(2) { --a: 45deg; } .pk-envio-bar__ok b:nth-child(3) { --a: 90deg; } .pk-envio-bar__ok b:nth-child(4) { --a: 135deg; }
.pk-envio-bar__ok b:nth-child(5) { --a: 180deg; } .pk-envio-bar__ok b:nth-child(6) { --a: 225deg; } .pk-envio-bar__ok b:nth-child(7) { --a: 270deg; } .pk-envio-bar__ok b:nth-child(8) { --a: 315deg; }
@media (prefers-reduced-motion: no-preference) {
	.pk-celebra .pk-envio-bar__ok circle { stroke-dasharray: 66; stroke-dashoffset: 66; animation: pk-draw .55s cubic-bezier(.2, .7, .2, 1) forwards; }
	.pk-celebra .pk-envio-bar__ok path { stroke-dasharray: 16; stroke-dashoffset: 16; animation: pk-draw .3s .45s cubic-bezier(.2, .7, .2, 1) forwards; }
	.pk-celebra .pk-envio-bar__ok b { animation: pk-burst .75s .6s cubic-bezier(.15, .7, .2, 1) forwards; }
	.pk-celebra .pk-envio-bar__track i { animation: pk-fill .9s cubic-bezier(.2, .7, .2, 1) both; }
	.pk-celebra p { animation: pk-rise .45s .5s cubic-bezier(.2, .7, .2, 1) both; }
}
@keyframes pk-draw { to { stroke-dashoffset: 0; } }
@keyframes pk-burst { 0% { opacity: 1; transform: rotate(var(--a)) translateY(0) scale(1); } 100% { opacity: 0; transform: rotate(var(--a)) translateY(-22px) scale(.3); } }
@keyframes pk-fill { from { width: 72%; } }
@keyframes pk-rise { from { opacity: 0; transform: translateY(4px); } }
.woocommerce div.product, .single-product .woocommerce-breadcrumb { max-width: var(--wp--style--global--wide-size, 1320px); margin-inline: auto; } /* ancho de la web: Papimko → Colores, letras y anchos */
/* Pago: los datos ocupan las dos filas de la izquierda y el resumen se queda a su lado, arriba */
.pk-checkout form.checkout { grid-template-rows: auto 1fr; }
.pk-checkout #customer_details { grid-row: 1 / span 2; }
.pk-checkout #order_review { grid-row: 2; align-self: start; }
.pk-checkout form.checkout > wc-order-attribution-inputs { display: none; }
@media (max-width: 960px) { .pk-checkout #customer_details { grid-row: auto; } }

/* Avisos de WooCommerce (bloques y clásicos) con los colores del tema, no en azul */
.wc-block-components-notice-banner, .woocommerce-info, .woocommerce-message, .woocommerce-error, .woocommerce-notice {
	background: var(--pk-paper) !important; border: 1px solid var(--pk-line) !important; border-radius: var(--pk-radius) !important;
	color: var(--pk-ink) !important; box-shadow: none !important; padding: 14px 16px !important; font-size: 14.5px;
}
.wc-block-components-notice-banner > svg { fill: var(--pk-ink) !important; background: var(--pk-soft) !important; border-radius: 50%; }
.wc-block-components-notice-banner.is-error { border-color: color-mix(in srgb, var(--pk-red) 45%, var(--pk-line)) !important; }
.wc-block-components-notice-banner.is-error > svg { background: var(--pk-red) !important; fill: #fff !important; }
.wc-block-components-notice-banner.is-success > svg { background: var(--wp--preset--color--ok, #2f6b3c) !important; fill: #fff !important; }
.wc-block-components-notice-banner a, .woocommerce-info a { color: var(--pk-ink) !important; text-decoration: underline; text-underline-offset: 3px; }

/* Opciones de texto (antes variaciones): tarjetas con el mismo alto y aire que las de imagen */
.summary .cp-field--radio.cp-options-grid .cp-options, .summary .cp-field--checkbox_group.cp-options-grid .cp-options { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px !important; }
.summary .cp-field--radio .cp-option > label, .summary .cp-field--checkbox_group .cp-option > label {
	display: flex !important; align-items: center; gap: 10px; min-height: 52px; padding: 12px 14px !important; margin: 0 !important; cursor: pointer; font-size: 15px; font-weight: 500; line-height: 1.25;
}
.summary .cp-option input[type="radio"], .summary .cp-option input[type="checkbox"] { accent-color: var(--pk-ink); width: 18px; height: 18px; flex: none; margin: 0; }
.summary .cp-option .cp-option-price { margin-left: auto; color: var(--pk-muted); font-size: 13px; font-weight: 400; white-space: nowrap; }

/* Botones: mismo alto, mismo aire y separación en toda la web */
.wp-element-button, .wp-block-button__link, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button { min-height: 48px; display: inline-flex !important; align-items: center; justify-content: center; gap: 8px; line-height: 1.2 !important; }
.wp-block-buttons { gap: 12px !important; }
.woocommerce-MyAccount-content .button + .button, .woocommerce table.my_account_orders .button + .button { margin-left: 8px; }

/* ═══ Mi cuenta ═══ */
.pk-cuenta .pk-page-head { display: none; }
.woocommerce-account .woocommerce { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 16px 56px; align-items: start; max-width: var(--wp--style--global--wide-size, 1320px); margin: 0 auto; padding-block: clamp(32px, 5vw, 72px) 24px; }
.woocommerce-account .woocommerce > .pk-cuenta__hola { grid-column: 1 / -1; margin-bottom: 16px; }
.pk-cuenta__hola h1 { font-size: clamp(40px, 5.5vw, 72px); line-height: 1; letter-spacing: -.035em; margin: 8px 0 12px; }
.pk-cuenta__hola p:last-child { color: var(--pk-muted); font-size: 18px; margin: 0; }
.woocommerce-account .woocommerce-MyAccount-navigation, .woocommerce-account .woocommerce-MyAccount-content { float: none !important; width: auto !important; }
.woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; position: sticky; top: calc(var(--wp-admin--admin-bar--height, 0px) + 100px); }
.woocommerce-MyAccount-navigation a { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 999px; color: var(--pk-ink); text-decoration: none; font-size: 15px; transition: background .15s; }
.woocommerce-MyAccount-navigation a::before, .pk-cuenta__acceso::before { content: ""; width: 20px; height: 20px; flex: none; background: currentColor; -webkit-mask: var(--pk-ico) center / contain no-repeat; mask: var(--pk-ico) center / contain no-repeat; }
.woocommerce-MyAccount-navigation a:hover { background: var(--pk-soft); }
.woocommerce-MyAccount-navigation .is-active a { background: var(--pk-ink); color: var(--pk-cream); }
.woocommerce-MyAccount-navigation-link--customer-logout a { color: var(--pk-muted); }
.pk-cuenta__ultimo { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; background: var(--pk-night); color: var(--pk-cream); border-radius: var(--pk-radius); padding: 24px 28px; margin-bottom: 20px; }
.pk-cuenta__ultimo p { margin: 0; }
.pk-cuenta__ultimo .pk-eyebrow { color: #e4a29a; }
.pk-cuenta__num { font-family: var(--pk-serif); font-size: 26px; margin: 6px 0 8px !important; }
.pk-cuenta__ultimo .wp-element-button { background: var(--pk-cream); color: var(--pk-ink); }
.pk-estado { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; background: rgba(246, 241, 234, .14); margin-right: 8px; }
.pk-cuenta__accesos { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.pk-cuenta__acceso { display: grid; grid-template-columns: auto 1fr; gap: 2px 14px; align-items: center; padding: 20px; border: 1px solid var(--pk-line); border-radius: var(--pk-radius); background: var(--pk-paper); color: var(--pk-ink); text-decoration: none !important; transition: border-color .15s, transform .2s var(--pk-ease); }
.pk-cuenta__acceso::before { grid-row: 1 / span 2; width: 26px; height: 26px; color: var(--pk-red); }
.pk-cuenta__acceso strong { font-family: var(--pk-serif); font-weight: 400; font-size: 21px; }
.pk-cuenta__acceso span { color: var(--pk-muted); font-size: 14px; }
.pk-cuenta__acceso:hover { border-color: var(--pk-ink); transform: translateY(-2px); }
/* Tabla de pedidos en tarjetas */
.woocommerce-orders-table { border: 0 !important; border-collapse: separate !important; border-spacing: 0 10px !important; }
.woocommerce-orders-table thead { display: none; }
.woocommerce-orders-table tr { background: var(--pk-paper); }
.woocommerce-orders-table td, .woocommerce-orders-table th { border: 0 !important; padding: 16px 14px !important; vertical-align: middle; font-size: 15px; }
.woocommerce-orders-table tr td:first-child, .woocommerce-orders-table tr th:first-child { border-radius: var(--pk-radius) 0 0 var(--pk-radius); }
.woocommerce-orders-table tr td:last-child { border-radius: 0 var(--pk-radius) var(--pk-radius) 0; text-align: right; white-space: nowrap; }
.woocommerce-orders-table .button { min-height: 40px !important; padding: 8px 16px !important; font-size: 13px !important; }
.woocommerce-orders-table .button + .button { background: transparent !important; color: var(--pk-ink) !important; box-shadow: inset 0 0 0 1px var(--pk-ink); }
@media (max-width: 860px) {
	.woocommerce-account .woocommerce { grid-template-columns: 1fr; }
	.woocommerce-MyAccount-navigation ul { position: static; display: flex; overflow-x: auto; gap: 6px; padding-bottom: 6px; }
	.woocommerce-MyAccount-navigation a { white-space: nowrap; border: 1px solid var(--pk-line); }
	.woocommerce-orders-table tr { display: grid; grid-template-columns: 1fr auto; border-radius: var(--pk-radius); margin-bottom: 10px; }
	.woocommerce-orders-table td, .woocommerce-orders-table th { padding: 8px 14px !important; text-align: left !important; }
	.woocommerce-orders-table td::before { display: none; }
}
.woocommerce-MyAccount-navigation-link--dashboard a, .pk-ico--dashboard { --pk-ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%223%22%20width%3D%227%22%20height%3D%227%22%20rx%3D%221.5%22/%3E%3Crect%20x%3D%2214%22%20y%3D%223%22%20width%3D%227%22%20height%3D%227%22%20rx%3D%221.5%22/%3E%3Crect%20x%3D%223%22%20y%3D%2214%22%20width%3D%227%22%20height%3D%227%22%20rx%3D%221.5%22/%3E%3Crect%20x%3D%2214%22%20y%3D%2214%22%20width%3D%227%22%20height%3D%227%22%20rx%3D%221.5%22/%3E%3C/svg%3E"); }
.woocommerce-MyAccount-navigation-link--orders a, .pk-ico--orders { --pk-ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M5%207h14l-1%2013H6z%22/%3E%3Cpath%20d%3D%22M9%207a3%203%200%200%201%206%200%22/%3E%3C/svg%3E"); }
.woocommerce-MyAccount-navigation-link--edit-address a, .pk-ico--edit-address { --pk-ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%2021s-7-6.2-7-11a7%207%200%200%201%2014%200c0%204.8-7%2011-7%2011z%22/%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2210%22%20r%3D%222.5%22/%3E%3C/svg%3E"); }
.woocommerce-MyAccount-navigation-link--edit-account a, .pk-ico--edit-account { --pk-ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%228%22%20r%3D%224%22/%3E%3Cpath%20d%3D%22M4%2021a8%208%200%200%201%2016%200%22/%3E%3C/svg%3E"); }
.woocommerce-MyAccount-navigation-link--mis-fotos a, .pk-ico--mis-fotos { --pk-ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%225%22%20width%3D%2218%22%20height%3D%2214%22%20rx%3D%222%22/%3E%3Ccircle%20cx%3D%229%22%20cy%3D%2210%22%20r%3D%221.8%22/%3E%3Cpath%20d%3D%22M21%2016l-5-5-8%208%22/%3E%3C/svg%3E"); }
.woocommerce-MyAccount-navigation-link--customer-logout a, .pk-ico--customer-logout { --pk-ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M15%204h3a2%202%200%200%201%202%202v12a2%202%200%200%201-2%202h-3%22/%3E%3Cpath%20d%3D%22M10%2016l-4-4%204-4M6%2012h10%22/%3E%3C/svg%3E"); }
.woocommerce-account .wp-block-post-content > .woocommerce { max-width: var(--wp--style--global--wide-size, 1320px) !important; width: 100%; }
.woocommerce-MyAccount-navigation li { margin: 0 !important; padding: 0 !important; line-height: 1.3; }
.woocommerce-MyAccount-navigation a { text-decoration: none !important; }
.pk-cuenta__ultimo .wp-element-button { min-height: 44px; padding: 10px 22px; }
.woocommerce-account .wp-block-post-content > * { max-width: var(--wp--style--global--wide-size, 1320px) !important; }
.woocommerce-orders-table .button { min-width: 84px; }
.woocommerce-account main .wp-block-post-content { max-width: var(--wp--style--global--wide-size, 1320px) !important; }

/* ═══ Contacto ═══ */
.pk-contacto-intro { font-size: 19px; color: var(--pk-muted); max-width: 560px; margin: -8px auto 40px !important; }
.pk-contacto-vias { gap: 14px !important; margin-bottom: clamp(40px, 6vw, 72px) !important; }
.pk-via { background: var(--pk-paper); border: 1px solid var(--pk-line); border-radius: var(--pk-radius); padding: 24px !important; display: grid; gap: 6px; align-content: start; }
.pk-via::before { content: ""; width: 28px; height: 28px; background: var(--pk-red); -webkit-mask: var(--pk-ico) center / contain no-repeat; mask: var(--pk-ico) center / contain no-repeat; margin-bottom: 8px; }
.pk-via h3 { margin: 0 !important; font-size: 22px !important; }
.pk-via p { margin: 0; color: var(--pk-muted); font-size: 15.5px; }
.pk-via a { color: var(--pk-ink); font-weight: 500; }
.pk-contacto-main { gap: clamp(28px, 5vw, 72px) !important; align-items: flex-start; }
.pk-contacto-main h2 { margin-top: 0 !important; }
.pk-contacto-horario { background: var(--pk-night); color: rgba(246, 241, 234, .8); border-radius: var(--pk-radius); padding: 32px !important; }
.pk-contacto-horario h2, .pk-contacto-horario strong { color: var(--pk-cream); }
.pk-contacto-horario p { font-size: 16px; }
.pk-contacto-horario iframe { border-radius: var(--pk-radius); margin-top: 16px; filter: grayscale(.35) contrast(1.05); }
@media (max-width: 781px) { .pk-contacto-horario { padding: 24px !important; } }
.pk-via--tel { --pk-ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M5%204h4l2%205-2.5%201.5a11%2011%200%200%200%205%205L15%2013l5%202v4a2%202%200%200%201-2%202A16%2016%200%200%201%203%206a2%202%200%200%201%202-2%22/%3E%3C/svg%3E"); }
.pk-via--wa { --pk-ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%2021l1.7-5A9%209%200%201%201%208%2019.4z%22/%3E%3Cpath%20d%3D%22M9%209.5c0%203%202.5%205.5%205.5%205.5%22/%3E%3C/svg%3E"); }
.pk-via--mail { --pk-ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%225%22%20width%3D%2218%22%20height%3D%2214%22%20rx%3D%222%22/%3E%3Cpath%20d%3D%22M3%207l9%206%209-6%22/%3E%3C/svg%3E"); }
.pk-via--tienda { --pk-ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%2021s-7-6.2-7-11a7%207%200%200%201%2014%200c0%204.8-7%2011-7%2011z%22/%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2210%22%20r%3D%222.5%22/%3E%3C/svg%3E"); }
/* FormCraft: campos a todo el ancho de su columna, con el aspecto del tema */
.formcraft-css .fc-form { width: 100% !important; max-width: none !important; padding: 0 !important; }
.formcraft-css .fc-form .form-page-content { padding: 0 !important; }
.formcraft-css .fc-form .form-element { padding-inline: 0 !important; }
.formcraft-css .fc-form .field-cover > span, .formcraft-css .fc-form .main-label { font-family: inherit !important; font-size: 13px !important; font-weight: 600 !important; color: var(--pk-muted) !important; letter-spacing: .02em; }
.formcraft-css .fc-form input:not([type="checkbox"]):not([type="radio"]), .formcraft-css .fc-form textarea { min-height: 48px; padding: 12px 14px !important; }
.pk-contacto-vias { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
.wp-block-post-content > .pk-contacto-main { max-width: var(--wp--style--global--wide-size, 1320px) !important; }
.formcraft-css .fc-form, .formcraft-css .fc-form * { font-family: var(--wp--preset--font-family--inter), sans-serif !important; }
@media (max-width: 960px) { .pk-contacto-vias { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
@media (max-width: 520px) { .pk-contacto-vias { grid-template-columns: 1fr !important; } }

/* ═══ Bolsa equilibrada: artículos a la izquierda, resumen fijo a la derecha ═══ */
.pk-cart h1 { letter-spacing: -.03em; margin-bottom: 0; }
.pk-cart .woocommerce { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 0 56px; align-items: start; margin-top: 28px; }
.pk-cart .woocommerce > :not(.woocommerce-cart-form):not(.cart-collaterals) { grid-column: 1 / -1; }
.pk-cart .woocommerce-cart-form { grid-column: 1; min-width: 0; }
.pk-cart .cart-collaterals { grid-column: 2; grid-row: span 3; display: block; margin: 0; position: sticky; top: calc(var(--wp-admin--admin-bar--height, 0px) + 88px); }
.pk-cart .cart-collaterals .cart_totals { max-width: none; background: var(--pk-paper); border: 1px solid var(--pk-line); border-radius: calc(var(--pk-radius) * 1.5); padding: 24px 24px 20px; box-sizing: border-box; }
.pk-cart .cart-collaterals > *:not(.cart_totals) { margin-bottom: 14px; }
.pk-cart .cart_totals h2 { font-size: 20px; margin: 0 0 8px; }
.pk-cart .cart_totals table th { width: 34%; vertical-align: top; color: var(--pk-muted); font-size: 14px; }
.pk-cart .cart_totals table td { text-align: right; }
.pk-cart .cart_totals ul#shipping_method li { text-align: left; }
.pk-cart .cart_totals .woocommerce-shipping-destination { text-align: left; }
.pk-cart .cart_totals tr.woocommerce-shipping-totals th, .pk-cart .cart_totals tr.woocommerce-shipping-totals td { display: block; width: 100%; text-align: left; }
.pk-cart table.cart tr.cart_item { grid-template-columns: 112px minmax(0, 1fr) auto; column-gap: 24px; padding: 24px 0; border-bottom-color: var(--pk-line); }
.pk-cart td.product-thumbnail img { width: 112px !important; height: 112px; }
.pk-cart td.product-name > a { font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.pk-cart td.product-subtotal { font-size: 17px; }
.pk-cart dl.variation { grid-template-columns: max-content minmax(0, 1fr); gap: 5px 14px; font-size: 13.5px; }
.pk-cart dl.variation dt { font-weight: 400; color: var(--pk-muted); }
.pk-cart dl.variation dd { color: var(--pk-ink); }
.pk-cart dl.variation dt::after { content: ""; }
.pk-cart td.product-quantity .quantity .qty { min-height: 40px; width: 72px; padding: 6px 10px; border-radius: 999px; text-align: center; }
.pk-cart a.cp-cart-edit { font-size: 13px; color: var(--pk-ink); text-decoration: underline; text-underline-offset: 3px; }
.pk-cart td.actions { border-top: 0; }
.pk-cart td.actions .coupon .button, .pk-cart td.actions > .button { min-height: 44px; }
.pk-cart .pmk-bf-bar, .pk-cart .woocommerce-notices-wrapper { margin-bottom: 8px; }
@media (max-width: 960px) {
	.pk-cart .woocommerce { grid-template-columns: minmax(0, 1fr); }
	.pk-cart .cart-collaterals { grid-column: 1; grid-row: auto; position: static; margin-top: 24px; }
	.pk-cart table.cart tr.cart_item { grid-template-columns: 84px minmax(0, 1fr) auto; column-gap: 14px; }
	.pk-cart td.product-thumbnail img { width: 84px !important; height: 84px; }
	.pk-cart td.actions { flex-direction: column; align-items: stretch; }
	.pk-cart td.actions .coupon input.input-text { width: auto !important; flex: 1; }
}
@media (min-width: 961px) {
	.pk-cart .woocommerce { grid-template-rows: auto auto 1fr; }
	.pk-cart .woocommerce > .woocommerce-notices-wrapper { grid-row: 1; }
	.pk-cart .woocommerce > .pmk-bf-bar.pmk-bf-bar { grid-column: 2; grid-row: 2; margin: 0 0 14px; } /* doble clase: gana a la regla general de ancho completo */
	.pk-cart .woocommerce-cart-form { grid-row: 2 / span 2; }
	.pk-cart .cart-collaterals { grid-row: 3; }
}
.pk-cart .woocommerce { max-width: 1200px !important; margin-left: auto !important; margin-right: auto !important; }
.pk-cart .wc-proceed-to-checkout a.checkout-button { width: 100%; box-sizing: border-box; border-radius: 999px; margin-bottom: 0; }
.pk-cart .cart_totals table.shop_table, .pk-cart .cart_totals table tbody { display: block; width: 100%; }
.pk-cart .cart_totals table tr { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.pk-cart .cart_totals table th, .pk-cart .cart_totals table td { width: auto !important; }
.pk-cart .cart_totals tr.woocommerce-shipping-totals { display: block; }
.pk-cart .cart_totals tr.woocommerce-shipping-totals th, .pk-cart .cart_totals tr.woocommerce-shipping-totals td { display: block; width: 100% !important; padding-bottom: 4px !important; }
.pk-cart .cart_totals tr.order-total { border-top: 1px solid var(--pk-line); margin-top: 6px; }

/* Listas con icono de línea (sustituyen a los emojis): check fino, del color del texto */
ul.pk-list { list-style: none; padding: 0; margin: 12px 0 20px; display: grid; gap: 10px; }
ul.pk-list > li { position: relative; padding-left: 30px; line-height: 1.5; }
ul.pk-list > li::before { content: ""; position: absolute; left: 0; top: .2em; width: 18px; height: 18px; background: var(--pk-red, #ad1917);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9.25'/%3E%3Cpath d='m8.25 12.25 2.5 2.5 5-5.5'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9.25'/%3E%3Cpath d='m8.25 12.25 2.5 2.5 5-5.5'/%3E%3C/svg%3E") center / contain no-repeat; }
/* Descripción de producto: medida de lectura cómoda */
.woocommerce div.product .woocommerce-tabs .panel { line-height: 1.65; }
.woocommerce div.product .woocommerce-tabs .panel :is(h2, h3, h4) { font-family: var(--pk-serif); font-weight: 400; letter-spacing: -.015em; line-height: 1.15; margin: 40px 0 12px; }
.woocommerce div.product .woocommerce-tabs .panel h2 { font-size: 32px; }
.woocommerce div.product .woocommerce-tabs .panel h3 { font-size: 25px; }
.woocommerce div.product .woocommerce-tabs .panel h4 { font-size: 20px; }
.woocommerce div.product .woocommerce-tabs .panel table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 16px 0 24px; }
.woocommerce div.product .woocommerce-tabs .panel :is(th, td) { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--pk-line); }
.woocommerce div.product .woocommerce-tabs .panel th { font-weight: 500; color: var(--pk-muted); }

/* Rejillas de tarjetas de las páginas de aterrizaje: palabras enteras, tamaños según el número de columnas */
.pk-tiles { margin-top: 20px !important; margin-bottom: 56px !important; }
.pk-tile p, .pk-tile h3 { overflow-wrap: normal; word-break: normal; hyphens: none; }
.pk-tile p.has-medium-font-size { line-height: 1.15; margin-top: 2px !important; }
.pk-tiles:has(> .pk-tile:nth-child(5)) .pk-tile p.has-medium-font-size { font-size: clamp(18px, 1.5vw, 21px) !important; }
.pk-tile--img .wp-block-image img { aspect-ratio: auto !important; object-fit: contain; }
.pk-tile .wp-block-image a { display: block; }
.pk-tile p a:hover { text-decoration: underline; text-underline-offset: 4px; }
.wp-block-post-content > .wp-block-group > h2.wp-block-heading, .wp-block-post-content h2.has-x-large-font-size { margin-top: clamp(48px, 6vw, 80px); letter-spacing: -.025em; }
@media (max-width: 760px) {
	.pk-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 24px 12px !important; }
	.pk-tile p.has-medium-font-size { font-size: 18px !important; }
}
.wp-block-post-content > .wp-block-group:has(> .pk-tiles) { max-width: var(--wp--style--global--wide-size) !important; }
.wp-block-group:has(> .pk-tiles) > :not(.pk-tiles) { max-width: var(--wp--style--global--wide-size) !important; }
.wp-block-group:has(> .pk-tiles) > :is(p, ul, ol) { max-width: 68ch !important; margin-left: 0 !important; }
/* Páginas de aterrizaje (con tarjetas): título alineado a la izquierda con la rejilla */
body:has(.pk-tiles) .pk-page-head { max-width: var(--wp--style--global--wide-size) !important; }
body:has(.pk-tiles) .pk-page-head .wp-block-post-title { text-align: left !important; }
body:has(.pk-tiles) .pk-page-head::after, body:has(.pk-tiles) .pk-page-head .wp-block-post-title::after { margin-left: 0 !important; }
.wp-block-post-content > .wp-block-group:has(> .pk-tiles) + .wp-block-group, .wp-block-post-content > .pk-intro { max-width: var(--wp--style--global--wide-size) !important; }
.pk-intro p { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.5; color: var(--pk-muted); max-width: 62ch !important; margin: 0 !important; }
/* Avisos con icono de línea (sustituyen a las imágenes de iconos antiguas) */
.pk-note { max-width: var(--wp--style--global--wide-size) !important; display: flex; align-items: center; gap: 16px; padding: 18px 22px !important; border: 1px solid var(--pk-line); border-radius: calc(var(--pk-radius) * 1.5); background: var(--pk-paper); margin-block: 32px !important; }
.pk-note::before { content: ""; flex: 0 0 28px; height: 28px; background: var(--pk-red);
	-webkit-mask: var(--pk-note-icon) center / contain no-repeat; mask: var(--pk-note-icon) center / contain no-repeat; }
.pk-note > p { margin: 0 !important; max-width: none !important; }
.pk-note--envio { --pk-note-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6.5h10.5v9H3zM13.5 9.5h3.8l3.2 3.4v2.6h-7'/%3E%3Ccircle cx='7' cy='17' r='1.8'/%3E%3Ccircle cx='17' cy='17' r='1.8'/%3E%3C/svg%3E"); }
.fc-form .formcraft-icon { display: none !important; } /* iconos de fuente antiguos de FormCraft */
/* Un h2 seguido de otro h2 (restos de Divi): pasa a ser la etiqueta pequeña del título */
.wp-block-post-content h2.wp-block-heading:has(+ h2.wp-block-heading) { font-family: var(--wp--preset--font-family--inter, inherit) !important; font-size: 12px !important; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--pk-red); margin: 8px 0 -8px !important; }
.wp-block-post-content h2.wp-block-heading + h2.wp-block-heading { margin-top: 0 !important; }
/* Páginas con [products]: la rejilla de productos a todo el ancho de la web, como la tienda */
.wp-block-post-content > :is(.wp-block-group, .woocommerce):has(ul.products) { max-width: var(--wp--style--global--wide-size) !important; }
.wp-block-post-content > .wp-block-group:has(ul.products) > :is(.woocommerce, .wp-block-shortcode) { max-width: none !important; }
body:has(.wp-block-post-content ul.products) .pk-page-head { max-width: var(--wp--style--global--wide-size) !important; text-align: left; }
body:has(.wp-block-post-content ul.products) .pk-page-head .wp-block-post-title { text-align: left !important; margin-inline: 0; max-width: none; }
body:has(.wp-block-post-content ul.products) .pk-page-head::after { margin-left: 0; }
body:has(.pk-tiles) .wp-block-post-content > .wp-block-group { max-width: var(--wp--style--global--wide-size) !important; }
body:has(.pk-tiles) .wp-block-post-content > .wp-block-group > :is(h2, h3, h4, .wp-block-image, .wp-block-group, .wp-block-buttons, .wp-block-details, .wp-block-shortcode) { max-width: var(--wp--style--global--wide-size) !important; }
body:has(.pk-tiles) .wp-block-post-content > .wp-block-group > :is(p, ul, ol) { max-width: 68ch !important; margin-left: 0 !important; }
body:has(.pk-tiles) .wp-block-post-content > .wp-block-group > .wp-block-image.alignwide img { width: 100%; border-radius: var(--pk-radius); }
/* Rejilla con una sola tarjeta: ocupa la fila entera, foto a un lado y texto al otro */
.wp-block-post-content .is-layout-grid:not(.pk-tiles):has(> :only-child) { grid-template-columns: minmax(0, 1fr) !important; }
@media (min-width: 900px) {
	.wp-block-post-content .is-layout-grid:not(.pk-tiles) > .wp-block-group:only-child:has(> .wp-block-image) { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(32px, 5vw, 72px); align-items: center; align-content: center; padding: clamp(24px, 3vw, 40px) !important; }
	.wp-block-post-content .is-layout-grid:not(.pk-tiles) > .wp-block-group:only-child:has(> .wp-block-image) > .wp-block-image { grid-row: 1 / span 9; margin: 0 !important; }
	.wp-block-post-content .is-layout-grid:not(.pk-tiles) > .wp-block-group:only-child:has(> .wp-block-image) > :not(.wp-block-image) { grid-column: 2; margin: 0 0 12px !important; max-width: 52ch; }
}
body:has(.pk-tiles) .wp-block-post-content > .wp-block-group > .pmk-catalog-wrapper { max-width: var(--wp--style--global--wide-size) !important; }
@media (max-width: 600px) {
	.pk-cart dl.variation { grid-template-columns: minmax(0, 1fr); gap: 0; }
	.pk-cart dl.variation dt { font-size: 12px; margin-top: 8px; }
	.pk-cart dl.variation dd { overflow-wrap: anywhere; }
	.pk-cart td.product-name > a, .pk-cart td.product-name { font-weight: 600; }
}
/* Páginas con listado de productos: mismas reglas de ancho que las de tarjetas */
body:has(.wp-block-post-content ul.products) .wp-block-post-content > .wp-block-group { max-width: var(--wp--style--global--wide-size) !important; }
body:has(.wp-block-post-content ul.products) .wp-block-post-content > .wp-block-group > :is(h2, h3, h4, .wp-block-image, .wp-block-group, .wp-block-buttons, .wp-block-columns, .woocommerce) { max-width: var(--wp--style--global--wide-size) !important; }
body:has(.wp-block-post-content ul.products) .wp-block-post-content > .wp-block-group > :is(p, ul:not(.products), ol) { max-width: 68ch !important; margin-left: 0 !important; }
body:has(.wp-block-post-content ul.products) .wp-block-post-content .wp-block-image img { border-radius: var(--pk-radius); }
.wp-block-post-content > .wp-block-group:first-child > .wp-block-image:first-child img, .wp-block-post-content > .wp-block-image:first-child img { width: 100%; max-height: min(460px, 52vh); object-fit: cover; border-radius: var(--pk-radius); }
body:has(.wp-block-post-content ul.products) .wp-block-post-content > .pk-intro, body:has(.pk-tiles) .wp-block-post-content > .pk-intro { max-width: var(--wp--style--global--wide-size) !important; margin-bottom: 32px; }
.wp-block-post-content > .pk-intro + .wp-block-group > .wp-block-image:first-child img { width: 100%; max-height: min(460px, 52vh); object-fit: cover; border-radius: var(--pk-radius); }
/* Contenido clásico (sin grupos) en páginas con productos o tarjetas: texto alineado con el borde de la rejilla */
:is(body:has(.wp-block-post-content ul.products), body:has(.pk-tiles)) .wp-block-post-content > :is(p, h2, h3, h4, ul, ol, table, .wp-block-heading, .wp-block-list, .wp-block-paragraph, .wp-block-details) {
	max-width: 68ch !important; margin-left: max(0px, calc((100% - var(--wp--style--global--wide-size)) / 2)) !important; }
:is(body:has(.wp-block-post-content ul.products), body:has(.pk-tiles)) .wp-block-post-content > :is(h2, .wp-block-heading) { max-width: 30ch !important; }
@media (min-width: 761px) { .pk-top__list { grid-template-columns: repeat(var(--pk-n, 4), minmax(0, 1fr)); } }
@media (min-width: 761px) and (max-width: 1100px) { .pk-top__list { grid-template-columns: repeat(min(3, var(--pk-n, 4)), minmax(0, 1fr)); } }

/* Preguntas desplegables (bloque Detalles): línea fina y un + que gira */
.wp-block-details { border-bottom: 1px solid var(--pk-line); padding: 0; margin: 0 !important; }
.wp-block-details:first-of-type, :not(.wp-block-details) + .wp-block-details { border-top: 1px solid var(--pk-line); margin-top: 24px !important; }
.wp-block-details summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 20px 0; font-size: 18px; font-weight: 500; line-height: 1.35; }
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after { content: ""; flex: 0 0 18px; height: 18px; background: currentColor; opacity: .7; transition: transform .25s var(--pk-ease);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / contain no-repeat; }
.wp-block-details[open] summary::after { transform: rotate(45deg); }
.wp-block-details summary:hover { color: var(--pk-red); }
.wp-block-details > :not(summary) { margin: 0 0 20px !important; color: var(--pk-muted); max-width: 64ch; }
.wp-block-details { padding: 0 !important; } .wp-block-details summary { font-family: var(--wp--preset--font-family--inter, inherit) !important; }
/* Títulos pequeños (h5/h6, p. ej. textos legales): legibles y con aire */
.wp-block-post-content :is(h5, h6) { font-family: var(--wp--preset--font-family--inter, inherit); font-size: 16px; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--pk-ink); margin: 40px 0 10px; line-height: 1.35; }
.wp-block-post-content table:not(.shop_table) { width: 100%; border-collapse: collapse; font-size: 15px; margin: 16px 0 28px; }
.wp-block-post-content table:not(.shop_table) :is(th, td) { text-align: left; padding: 10px 12px; border: 0; border-bottom: 1px solid var(--pk-line); vertical-align: top; }
.wp-block-post-content table:not(.shop_table) th, .wp-block-post-content table:not(.shop_table) thead td { font-weight: 600; }
.pk-intro .has-text-align-center { margin-inline: auto !important; }
.wp-block-post-content > :last-child { margin-bottom: clamp(56px, 8vw, 112px) !important; }
/* Botón de ampliar foto: lupa de línea en lugar del emoji de WooCommerce */
.woocommerce-product-gallery__trigger { font-size: 0 !important; width: 40px !important; height: 40px !important; border-radius: 50% !important; display: grid !important; place-items: center; }
.woocommerce-product-gallery__trigger > span, .woocommerce-product-gallery__trigger::before { display: none !important; }
.woocommerce-product-gallery__trigger::after { content: "" !important; position: static !important; width: 18px !important; height: 18px !important; border: 0 !important; background: var(--pk-ink) !important; transform: none !important;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6'/%3E%3Cpath d='m15 15 4.5 4.5'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6'/%3E%3Cpath d='m15 15 4.5 4.5'/%3E%3C/svg%3E") center / contain no-repeat; }
/* Bloque «Medios y texto» con la foto rellenando: la imagen no se sale aunque Smush la cargue tarde */
.wp-block-media-text.is-image-fill-element > .wp-block-media-text__media { position: relative; overflow: hidden; }
.wp-block-media-text.is-image-fill-element > .wp-block-media-text__media img { position: absolute !important; inset: 0; width: 100% !important; height: 100% !important; max-width: none; object-fit: cover; }
/* Tablas largas en el móvil: se desplazan dentro de su caja, no la página */
@media (max-width: 760px) { .wp-block-post-content table:not(.shop_table) { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; } }
/* Cantidad oculta por un plugin (productos que se venden de uno en uno, packs…): no dejar la píldora vacía */
body .summary form.cart > .quantity:is([style*="display: none"], [style*="display:none"], :has(> input[type="hidden"])) { display: none !important; }

/* ═══ Animaciones suaves ═══ Solo lo que está por debajo de la primera pantalla y solo si el sistema no pide reducir el movimiento */
@media (prefers-reduced-motion: no-preference) {
	.pk-reveal { opacity: 0; transform: translateY(14px); transition: opacity .55s var(--pk-ease), transform .55s var(--pk-ease); transition-delay: calc(var(--pk-i, 0) * 60ms); }
	.pk-reveal.is-in { opacity: 1; transform: none; }
	.woocommerce a.button, .woocommerce button.button, .wp-element-button, .pmk-bar__cta { transition: background .2s, color .2s, transform .15s var(--pk-ease), box-shadow .2s; }
	.woocommerce a.button:active, .woocommerce button.button:active, .wp-element-button:active, .pmk-bar__cta:active { transform: scale(.97); }
	.pk-tile .wp-block-image img, .woocommerce ul.products li.product a img { transition: transform .6s var(--pk-ease), filter .4s; }
	.wp-block-details[open] > :not(summary) { animation: pk-fade .35s var(--pk-ease); }
	@keyframes pk-fade { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
}

/* Iconos de fuente antiguos de WooCommerce (camión de «Cambiar dirección», etc.): fuera */
.woocommerce a.shipping-calculator-button::after, .woocommerce-shipping-calculator a::after { content: none !important; display: none !important; }
.woocommerce a.shipping-calculator-button { text-decoration: underline; text-underline-offset: 3px; color: var(--pk-ink); }
/* Botón flotante de cookies (CookieYes): círculo oscuro con un icono de línea, discreto */
.cky-btn-revisit-wrapper { background: var(--pk-ink) !important; width: 40px !important; height: 40px !important; box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .4); opacity: .85; transition: opacity .2s; }
.cky-btn-revisit-wrapper:hover { opacity: 1; }
.cky-btn-revisit-wrapper .cky-btn-revisit img { display: none !important; }
.cky-btn-revisit-wrapper .cky-btn-revisit { width: 100%; height: 100%; display: grid; place-items: center; }
.cky-btn-revisit-wrapper .cky-btn-revisit::before { content: ""; width: 18px; height: 18px; background: var(--pk-cream, #f6f1ea);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3a9 9 0 1 0 9 9 3 3 0 0 1-3-3 3 3 0 0 1-3-3 3 3 0 0 1-3-3Z'/%3E%3Cpath d='M8.5 11.5h.01M12.5 15.5h.01M8 16h.01'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3a9 9 0 1 0 9 9 3 3 0 0 1-3-3 3 3 0 0 1-3-3 3 3 0 0 1-3-3Z'/%3E%3Cpath d='M8.5 11.5h.01M12.5 15.5h.01M8 16h.01'/%3E%3C/svg%3E") center / contain no-repeat; }
.fc-form img:not([src]), .fc-form img[src=""] { display: none !important; } /* FormCraft deja <img> vacías en las opciones con imagen */

/* Elegir diseño/modelo por foto (fichas unificadas): tarjeta con la foto grande, el nombre y el precio */
.cp-field.cp-options-grid:is([data-cp-key="pmk_diseno"], [data-cp-key="pmk_modelo"], [data-cp-key="pmk_tipo"]) .cp-options { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)) !important; gap: 10px !important; }
.cp-field:is([data-cp-key="pmk_diseno"], [data-cp-key="pmk_modelo"], [data-cp-key="pmk_tipo"]) .cp-option label { display: flex !important; flex-direction: column; align-items: stretch !important; gap: 6px; padding: 8px 8px 10px !important; height: 100%; text-align: left; position: relative; }
.cp-field:is([data-cp-key="pmk_diseno"], [data-cp-key="pmk_modelo"], [data-cp-key="pmk_tipo"]) .cp-option input { position: absolute; opacity: 0; pointer-events: none; }
.cp-field:is([data-cp-key="pmk_diseno"], [data-cp-key="pmk_modelo"], [data-cp-key="pmk_tipo"]) .cp-option-image { width: 100% !important; height: auto !important; max-width: none !important; aspect-ratio: 1; object-fit: cover; border-radius: 6px; margin: 0 !important; mix-blend-mode: multiply; background: var(--pk-cream); }
.cp-field:is([data-cp-key="pmk_diseno"], [data-cp-key="pmk_modelo"], [data-cp-key="pmk_tipo"]) .cp-option-label { font-size: 13.5px; font-weight: 500; line-height: 1.25; }
.cp-field:is([data-cp-key="pmk_diseno"], [data-cp-key="pmk_modelo"], [data-cp-key="pmk_tipo"]) .cp-option-price { font-size: 12.5px; color: var(--pk-muted); margin: 0 !important; }

/* Texto al pie de las categorías: lectura cómoda, alineado con la rejilla */
.pk-cat-texto { max-width: 68ch; margin: clamp(48px, 7vw, 96px) 0 24px; padding-top: 40px; border-top: 1px solid var(--pk-line); font-size: 17px; line-height: 1.65; color: var(--pk-ink); }
.pk-cat-texto h2 { font-family: var(--pk-serif); font-weight: 400; font-size: clamp(28px, 3vw, 36px); letter-spacing: -.02em; line-height: 1.1; margin: 0 0 16px; }
.pk-cat-texto h3 { font-size: 18px; font-weight: 600; margin: 32px 0 8px; }
.pk-cat-texto p { margin: 0 0 14px; }
.pk-cat-texto a { color: var(--pk-red); text-underline-offset: 3px; }
.woocommerce .term-description p { margin: 0 0 8px; }
.pk-cat-texto { margin-bottom: clamp(56px, 8vw, 96px); }
.woocommerce div.product div.images.woocommerce-product-gallery, .woocommerce-product-gallery { opacity: 1 !important; } /* sin slider: la galería se ve desde el principio, sin esperar al JavaScript */

/* Descuentos por cantidad de Dynamic Pricing (wdp_table): tarjetas como las de «Precio por cantidad» */
.wdp_table_outter { margin: 8px 0 20px; }
.wdp_table_outter .wdp_table, .wdp_table_outter .wdp_table tbody { display: block; border: 0 !important; width: 100%; margin: 0; }
.wdp_table_outter .wdp_table thead { display: none; }
.wdp_table_outter .wdp_table tbody { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.wdp_table_outter .wdp_table tr { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border: 1px solid var(--pk-line); border-radius: 10px; background: var(--pk-paper); }
.wdp_table_outter .wdp_table td { border: 0 !important; padding: 0 !important; background: none !important; text-align: left !important; font-size: 13px; color: var(--pk-muted); text-transform: none; }
.wdp_table_outter .wdp_table td + td { font-size: 15px; font-weight: 600; color: var(--pk-ink); text-transform: lowercase; }
.wdp_table_outter .wdp_table td + td::first-letter { text-transform: uppercase; }
.wdp_table_outter > :is(h2, h3, h4, p, strong):first-child, .wdp_table_title { font-family: var(--pk-serif) !important; font-weight: 400 !important; font-size: 18px !important; margin: 0 0 10px !important; }

/* Complementos: «En línea» = una al lado de otra (anchas según su texto); «Lista» = una debajo de otra. Solo «Cuadrícula» usa rejilla. */
.summary .cp-field.cp-options-inline .cp-options { display: flex !important; flex-direction: row !important; flex-wrap: wrap !important; gap: 8px !important; }
.summary .cp-field.cp-options-inline .cp-option { flex: 0 0 auto; }
.summary .cp-field.cp-options-list .cp-options { display: flex !important; flex-direction: column !important; gap: 8px !important; }
.summary .cp-field.cp-options-grid .cp-option > label { height: 100%; box-sizing: border-box; }
/* Calendario de las fechas de Complementos: fondo propio (el tema deja transparentes las secciones) */
.woocommerce div.product .cp-addons .cp-cal-sheet { background: var(--pk-paper) !important; box-shadow: 0 24px 60px -16px rgba(43, 33, 28, .35), 0 4px 12px rgba(43, 33, 28, .08) !important; border-color: var(--pk-line) !important; }
body:has(.cp-cal) :is(.pmk-bar, .pk-wa, .cky-btn-revisit-wrapper, .ht-ctc) { display: none !important; } /* con el calendario abierto no se tapa nada */

/* Estrellas de valoración: dibujo de línea propio en vez de la fuente de iconos de WooCommerce */
:root { --pk-estrella: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m12 3.5 2.6 5.3 5.9.9-4.3 4.1 1 5.8L12 16.8l-5.2 2.8 1-5.8-4.3-4.1 5.9-.9Z'/%3E%3C/svg%3E"); }
.star-rating { font-family: inherit !important; width: 85px !important; height: 16px !important; line-height: 16px; position: relative; overflow: hidden; font-size: 0 !important; letter-spacing: 0; }
.star-rating::before, .star-rating span::before { content: "" !important; position: absolute; top: 0; left: 0; width: 85px; height: 16px; -webkit-mask: var(--pk-estrella) left center / 17px 16px repeat-x; mask: var(--pk-estrella) left center / 17px 16px repeat-x; }
.star-rating::before { background: #d9cfc3; }
.star-rating span { position: absolute; top: 0; left: 0; height: 16px; overflow: hidden; padding: 0 !important; color: transparent; }
.star-rating span::before { background: #c9a227; }
.woocommerce-product-rating { display: flex; align-items: center; gap: 8px; }
.woocommerce-product-rating .woocommerce-review-link { font-size: 13px; color: var(--pk-muted, #76675a); }
p.stars a { font-family: inherit !important; width: 26px !important; height: 26px; text-indent: -999em; }
p.stars a::before { content: "" !important; position: absolute; inset: 0; background: #d9cfc3; -webkit-mask: var(--pk-estrella) center / contain no-repeat; mask: var(--pk-estrella) center / contain no-repeat; }
p.stars:hover a::before, p.stars.selected a::before { background: #c9a227; }
p.stars a:hover ~ a::before, p.stars.selected a.active ~ a::before { background: #d9cfc3; }
.pkpv-foto-opinion img { display: block; margin-top: 10px; max-width: 160px; height: auto; border-radius: 10px; }

/* Buscador de la cabecera: una sola línea fina en píldora, sin doble borde ni contorno grueso al escribir */
.pk-tools .wp-block-search__inside-wrapper { border: 1px solid rgba(43, 33, 28, .14) !important; border-radius: 999px; padding: 0 4px 0 14px !important; background: rgba(255, 255, 255, .7); transition: border-color .2s, background .2s, box-shadow .2s; }
.pk-tools .wp-block-search__inside-wrapper:focus-within { border-color: rgba(43, 33, 28, .35) !important; background: #fff; box-shadow: 0 0 0 4px rgba(43, 33, 28, .06); }
.pk-tools .wp-block-search__input { border: 0 !important; outline: 0 !important; box-shadow: none !important; background: transparent !important; font-size: 14px; padding: 8px 4px !important; min-height: 0; color: var(--pk-ink); }
.pk-tools .wp-block-search__input::placeholder { color: #9a8d80; }
.pk-tools .wp-block-search__input:focus-visible { outline: 0 !important; }
.pk-tools .wp-block-search__button svg { width: 20px; height: 20px; stroke-width: 1.6; }

/* Sin ampliar la foto al pulsarla (zoom quitado) */
.woocommerce-product-gallery__image > a { pointer-events: none; cursor: default; }

/* Tabla «Precio por cantidad»: mismo lenguaje que las tarjetas de opciones (línea fina, tinta, sin rojos) */
body .pmk-tp { color: var(--pk-ink); margin: 22px 0 26px; }
body .pmk-tp h4 { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--pk-ink); margin: 0 0 6px; }
body .pmk-tp .pmk-help { font-size: 14px; color: var(--pk-muted, #76675a); }
body .pmk-tp .pmk-ask { background: #fff; border: 1px solid var(--pk-line, #dccfbe); border-radius: 16px; padding: 14px 16px; }
body .pmk-tp .pmk-ask label { font-weight: 500; font-size: 15px; }
body .pmk-tp .pmk-ask small { color: var(--pk-muted, #76675a); }
body .pmk-tp .pmk-qty { border: 1px solid var(--pk-line, #dccfbe); border-radius: 999px; }
body .pmk-tp .pmk-qty button { color: var(--pk-ink); width: 40px; height: 40px; font-size: 18px; background: transparent; }
body .pmk-tp .pmk-qty input { height: 40px; font-size: 17px; font-weight: 600; border-color: var(--pk-line, #dccfbe); background: transparent; }
body .pmk-tp .pmk-c { border: 1px solid var(--pk-line, #dccfbe); border-radius: 14px; padding: 16px 10px 12px; }
body .pmk-tp .pmk-c:hover { border-color: var(--pk-ink); }
body .pmk-tp .pmk-c .p { font-weight: 700; font-size: 20px; }
body .pmk-tp .pmk-c .q, body .pmk-tp .pmk-c .t, body .pmk-tp .pmk-c .p span { color: var(--pk-muted, #76675a); }
body .pmk-tp .pmk-c .b { background: var(--pk-ink); font-weight: 600; letter-spacing: .02em; }
body .pmk-tp .pmk-c.best .b { background: #1d6b36; }
body .pmk-tp .pmk-c.sel { border: 2px solid var(--pk-ink); background: #fff; }
body .pmk-tp .pmk-c.sel .t { color: var(--pk-ink); }
body .pmk-tp .pmk-sum, body .pmk-tp .pmk-wait { background: var(--pk-paper, #fffaf3); border: 1px solid var(--pk-line, #dccfbe); }
body .pmk-tp .pmk-save { color: #1d6b36; }
body .pmk-tp .pmk-nudge { border: 1px solid var(--pk-line, #dccfbe); color: var(--pk-ink); font-weight: 500; background: #fff; }
body .pmk-tp .pmk-nudge.good { border-color: #1d6b36; color: #1d6b36; background: #f3faf4; }

/* Dentro de la rejilla de campos de Complementos ocupa todo el ancho */
body .pmk-tp { grid-column: 1 / -1; width: 100%; min-width: 0; flex-basis: 100%; }

/* Portadas de categorías en la tienda */
.pk-cats { margin: 0 0 28px; }
.pk-cats ul { list-style: none; margin: 0; padding: 2px 2px 10px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(130px, 160px); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.pk-cats li { scroll-snap-align: start; }
.pk-cats a { display: block; text-decoration: none; color: var(--pk-ink); }
.pk-cats img, .pk-cats__vacio { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 14px; background: var(--pk-paper, #f6f1ea); transition: transform .3s; }
.pk-cats a:hover img { transform: scale(1.03); }
.pk-cats span:last-child { display: block; margin-top: 8px; font-size: 13.5px; font-weight: 500; text-align: center; }

/* Sugerencias del buscador y búsqueda sin resultados */
.pk-sug { position: absolute; top: calc(100% + 8px); right: 0; width: min(360px, 90vw); background: #fff; border: 1px solid rgba(43, 33, 28, .12); border-radius: 16px; box-shadow: 0 18px 40px -20px rgba(43, 33, 28, .35); padding: 6px; z-index: 100; }
.pk-sug a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; color: var(--pk-ink); text-decoration: none; font-size: 14px; }
.pk-sug a:hover, .pk-sug a:focus { background: var(--pk-paper, #f6f1ea); }
.pk-sug img, .pk-sug a > span:first-child { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; flex: none; background: var(--pk-paper, #f6f1ea); }
.pk-sin-resultados { margin-top: 12px; color: var(--pk-muted); }
.pk-chip { display: inline-block; margin: 4px 6px 4px 0; padding: 6px 14px; border: 1px solid var(--pk-line, #dccfbe); border-radius: 999px; color: var(--pk-ink); text-decoration: none; font-size: 14px; }
.pk-chip:hover { border-color: var(--pk-ink); }


/* Total de la bolsa y del pago: etiqueta y cifra en la misma línea, el IVA debajo y alineado; sin agrandar */
.pk-cart .cart_totals tr.order-total, .pk-checkout table.woocommerce-checkout-review-order-table tr.order-total { display: grid !important; grid-template-columns: auto 1fr; align-items: baseline; column-gap: 16px; margin-top: 10px; padding: 16px 0 4px; border-top: 1px solid var(--pk-line); }
.pk-cart .cart_totals tr.order-total th, .pk-cart .cart_totals tr.order-total td,
.pk-checkout table.woocommerce-checkout-review-order-table tr.order-total th, .pk-checkout table.woocommerce-checkout-review-order-table tr.order-total td { display: block !important; width: auto !important; padding: 0 !important; border: 0 !important; background: none !important; }
.pk-cart .cart_totals tr.order-total th, .pk-checkout table.woocommerce-checkout-review-order-table tr.order-total th { font-size: 15px; font-weight: 600; letter-spacing: .02em; color: var(--pk-ink); }
.pk-cart .cart_totals tr.order-total td, .pk-checkout table.woocommerce-checkout-review-order-table tr.order-total td { text-align: right !important; font-size: 22px; font-weight: 700; color: var(--pk-ink); font-variant-numeric: tabular-nums; }
.pk-cart .cart_totals tr.order-total td small, .pk-checkout table.woocommerce-checkout-review-order-table tr.order-total td small { display: block; margin-top: 4px; font-size: 12px; font-weight: 400; color: var(--pk-muted); }

/* Movimiento más suave: transiciones algo más largas y con curva de salida suave */
:root { --pk-ease: cubic-bezier(.22, .61, .36, 1); }
.pk-reveal { transition-duration: .8s !important; transform: translateY(8px); }
ul#shipping_method li, .pk-envio-bar, .pk-envio-bar__track i, .cp-field label, .pmk-box, .wp-element-button, .pk-chip { transition: border-color .3s var(--pk-ease), background-color .3s var(--pk-ease), box-shadow .3s var(--pk-ease), width .6s var(--pk-ease), opacity .3s var(--pk-ease); }
.woocommerce .blockUI.blockOverlay { background: rgba(246, 241, 234, .55) !important; opacity: 1 !important; animation: pk-fade .3s var(--pk-ease); }
@keyframes pk-fade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; } }

/* Buscador cerrado: solo la lupa, centrada y a la altura de los demás iconos; abierto: la píldora */
.pk-tools .wp-block-search { display: flex; align-items: center; }
.pk-tools .wp-block-search__searchfield-hidden .wp-block-search__inside-wrapper { border-color: transparent !important; background: none; padding: 0 !important; box-shadow: none; }
.pk-tools .wp-block-search__inside-wrapper { min-height: 40px; align-items: center; }
.pk-tools .wp-block-search__button { width: 40px; height: 40px; padding: 0 !important; margin: 0 !important; display: grid; place-items: center; flex: none; border-radius: 50%; }
.pk-tools .wp-block-search__button svg { display: block; margin: 0; }
