/* Pepfine: piezas de interfaz en todas las páginas: panel de búsqueda y carrito lateral vacío. */

/* ---------- búsqueda ---------- */
html.pfs2-open { overflow: hidden; }
.pfs2 { position: fixed; inset: 0; z-index: 99980; }
.pfs2[hidden] { display: none; }
.pfs2-ov { position: absolute; inset: 0; background: rgb(20 20 20 / .35); animation: pfs2-in .18s ease; }
.pfs2-box { position: absolute; top: clamp(16px, 13vh, 140px); left: 50%; transform: translateX(-50%); width: min(760px, calc(100% - 32px)); max-height: calc(100dvh - clamp(32px, 16vh, 170px)); display: flex; flex-direction: column; border-radius: 16px; background: #fff; box-shadow: 0 30px 80px -20px rgb(0 0 0 / .4); overflow: hidden; animation: pfs2-up .22s cubic-bezier(.2, .9, .3, 1); }
@keyframes pfs2-in { from { opacity: 0; } }
@keyframes pfs2-up { from { opacity: 0; transform: translate(-50%, 10px); } }
.pfs2-bar { display: flex; align-items: center; gap: 12px; margin: 0; padding: 0 14px 0 20px; border-bottom: 1px solid #e8e8e6; }
.pfs2-bar svg { flex: none; width: 20px; height: 20px; fill: none; stroke: #555; stroke-width: 1.8; }
.pfs2-bar input[type=search] { flex: 1; min-width: 0; height: 62px; border: 0; background: none; font: inherit; font-size: 19px; color: #1d1d1b; outline: 0; }
.pfs2-bar input::-webkit-search-cancel-button { display: none; }
.pfs2-x { flex: none; width: 40px; height: 40px; border: 0; border-radius: 50%; background: none; color: #1d1d1b; font-size: 15px; cursor: pointer; }
.pfs2-x:hover { background: #f2f2f0; }
.pfs2-body { overflow: auto; padding: 18px 22px 24px; display: grid; gap: 18px; overscroll-behavior: contain; }
.pfs2-body section[hidden] { display: none; }
.pfs2-h { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 12px; }
.pfs2-h h3 { margin: 0; font-size: 16px; font-weight: 600; letter-spacing: 0; color: #1d1d1b; }
.pfs2-clear, .pfs2-all { padding: 0; border: 0; background: none; color: #5f5f5a; font: inherit; font-size: 15px; text-decoration: none; cursor: pointer; }
.pfs2-clear:hover, .pfs2-all:hover { color: #1d1d1b; text-decoration: underline; }
.pfs2-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.pfs2-card { display: grid; gap: 6px; align-content: start; color: #1d1d1b; text-decoration: none; min-width: 0; }
.pfs2-img { display: block; aspect-ratio: 4 / 5; border-radius: 4px; background: #eef1f4; overflow: hidden; }
.pfs2-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.pfs2-card:hover .pfs2-img img { transform: scale(1.04); }
.pfs2-n { font-size: 15.5px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pfs2-p { font-size: 15.5px; }
.pfs2-p del { color: #707070; margin-right: 4px; }
.pfs2-p ins { text-decoration: none; }
.pfs2-empty { margin: 0; color: #5f5f5a; }
.pfs2-card.is-skel .pfs2-n, .pfs2-card.is-skel .pfs2-p { display: block; border-radius: 6px; height: 1em; }
.pfs2 .pfc-skel { background: linear-gradient(100deg, #eef1f4 30%, #f8f9fb 50%, #eef1f4 70%) 0 0 / 300% 100%; animation: pfs2-sh 1.3s ease-in-out infinite; }
@keyframes pfs2-sh { from { background-position: 100% 0; } to { background-position: 0 0; } }
@media (max-width: 700px) {
	.pfs2-box { top: 0; left: 0; transform: none; width: 100%; max-height: none; height: 100%; border-radius: 0; animation-name: pfs2-in; }
	.pfs2-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; }
	.pfs2-body { padding: 16px; }
}

/* ---------- carrito lateral vacío ---------- */
.pf-mce { display: grid; gap: 10px; width: min(300px, 100%); margin: 0 auto; padding: 40px 0 24px; color: #14212c; }
.pf-mce__t { margin: 0; font-size: 26px; font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; text-align: center; }
.pf-mce__k { margin: 0 0 4px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.pf-mce__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pf-mce__list a { display: flex; align-items: center; gap: 14px; padding: 8px 14px 8px 8px; border-radius: 12px; background: #fff; box-shadow: 0 6px 20px -10px rgb(20 33 44 / .3); color: #14212c; text-decoration: none; font-size: 17px; font-weight: 600; transition: transform .15s, box-shadow .15s; }
.pf-mce__list a:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -10px rgb(20 33 44 / .4); }
.pf-mce__list img { flex: none; width: 72px; height: 72px; border-radius: 8px; object-fit: cover; background: #eef1f4; }
.pf-mce__list span { flex: 1; }
.pf-mce__list i { font-style: normal; font-size: 22px; transition: transform .15s; }
.pf-mce__list a:hover i { transform: translateX(3px); }
.pf-mce__all { display: flex; align-items: center; justify-content: center; min-height: 56px; margin-top: 8px; border-radius: 99px; background: #14212c; color: #fff !important; font-size: 18px; font-weight: 700; text-decoration: none; }
.pf-mce__all:hover { background: #000; }
.pf-mce__rating { margin: 6px 0 0; text-align: center; font-size: 15px; }
.pf-mce__rating span { color: #e0a526; letter-spacing: 1px; }
.wp-block-woocommerce-empty-mini-cart-contents-block { display: grid; align-content: center; min-height: 100%; }
.pfs2 .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- selector país, idioma y moneda (navbar) ---------- */
details.pfl { position: relative; display: inline-flex; align-items: center; }
details.pfl[open] { z-index: 10000; }
details.pfl > summary { list-style: none; outline: 0; }
details.pfl > summary::-webkit-details-marker { display: none; }
details.pfl > summary::marker { display: none; }

.pfl__btn { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 12px; border-radius: 99px; background: #f3f4f6; color: #14212c; font-size: 13.5px; font-weight: 550; cursor: pointer; user-select: none; transition: background .15s, transform .1s; }
.pfl__btn:hover { background: #e5e7eb; }
.pfl__btn img, .pfl-flag { display: inline-block; vertical-align: middle; border-radius: 50%; object-fit: cover; }
.pfl__btn span { display: inline-block; }
.pfl__btn i { font-style: normal; opacity: .45; margin: 0 1px; }
.pfl__chev { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; opacity: .7; transition: transform .2s ease; }
details.pfl[open] .pfl__chev { transform: rotate(180deg); }

.pfl__menu { position: absolute; top: calc(100% + 10px); right: 0; width: 340px; padding: 22px; border-radius: 20px; background: #fff; border: 1px solid #e2e8f0; box-shadow: 0 20px 45px -12px rgba(20, 33, 44, 0.35); z-index: 99999; color: #14212c; animation: pfl-up .18s cubic-bezier(.2, .9, .3, 1); }
@keyframes pfl-up { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }

.pfl__title { margin: 0 0 18px; font-size: 17px; font-weight: 700; color: #14212c; letter-spacing: -0.01em; }
.pfl__field { margin-bottom: 16px; position: relative; }
.pfl__l { display: block; margin: 0 0 6px; font-size: 12.5px; font-weight: 650; color: #475569; text-transform: uppercase; letter-spacing: 0.05em; }

.pfl__dd { width: 100%; min-height: 46px; display: flex; align-items: center; justify-content: space-between; padding: 0 14px; border: 1.5px solid #cbd5e1; border-radius: 12px; background: #fff; font-size: 14.5px; font-weight: 500; color: #14212c; cursor: pointer; text-align: left; transition: border-color .15s; }
.pfl__dd:hover, .pfl__dd:focus-visible { border-color: #14212c; outline: none; }
.pfl__dd span { display: inline-flex; align-items: center; gap: 10px; }

.pfl__pop { position: absolute; top: calc(100% + 6px); left: 0; right: 0; max-height: 250px; border-radius: 14px; background: #fff; border: 1.5px solid #cbd5e1; box-shadow: 0 14px 34px -10px rgba(0,0,0,0.25); z-index: 1000; overflow: hidden; display: flex; flex-direction: column; }
.pfl__pop[hidden] { display: none !important; }
.pfl__search { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-bottom: 1px solid #e2e8f0; background: #f8fafc; }
.pfl__search svg { width: 16px; height: 16px; stroke: #64748b; stroke-width: 2; fill: none; }
.pfl__search input { flex: 1; border: 0; background: none; font-size: 13.5px; outline: none; color: #14212c; }
.pfl__list { overflow-y: auto; max-height: 190px; }
.pfl__opt { width: 100%; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border: 0; background: none; font-size: 14px; color: #14212c; cursor: pointer; text-align: left; }
.pfl__opt:hover { background: #f1f5f9; }
.pfl__opt[aria-selected="true"] { background: #f1f5f9; font-weight: 600; }
.pfl__opt svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; margin-left: auto; opacity: 0; }
.pfl__opt[aria-selected="true"] svg { opacity: 1; color: #1f6b3a; }
.pfl__tag { font-size: 11px; padding: 2px 6px; border-radius: 6px; background: #e2e8f0; color: #334155; font-style: normal; margin-left: 6px; }
.pfl__none { margin: 16px; font-size: 13px; color: #64748b; text-align: center; }

.pfl__sel { width: 100%; min-height: 46px; padding: 0 14px; border: 1.5px solid #cbd5e1; border-radius: 12px; background: #fff; font-size: 14.5px; font-weight: 500; color: #14212c; cursor: pointer; transition: border-color .15s; }
.pfl__sel:focus { outline: none; border-color: #14212c; }
.pfl__note { margin: 6px 0 0; font-size: 12px; color: #64748b; }

.pfl__acts { display: flex; gap: 10px; margin-top: 20px; }
.pfl__cancel { flex: 1; min-height: 44px; border: 1.5px solid #cbd5e1; border-radius: 99px; background: #fff; color: #475569; font-size: 14.5px; font-weight: 600; cursor: pointer; }
.pfl__cancel:hover { background: #f8fafc; color: #14212c; }
.pfl__save { flex: 1; min-height: 44px; border: 0; border-radius: 99px; background: #14212c; color: #fff; font-size: 14.5px; font-weight: 650; cursor: pointer; }
.pfl__save:hover { background: #000; }

@media (max-width: 600px) {
	.pfl__menu { position: fixed; top: auto; bottom: 0; left: 0; right: 0; width: 100%; border-radius: 24px 24px 0 0; max-height: 85vh; overflow-y: auto; }
}

/* Carrito lateral: esqueleto mientras carga y brillo en los totales mientras se actualizan */
.pf-mc-skel { display: grid; gap: 22px; padding: 24px 20px; }
.pf-mc-skel i { display: block; height: 14px; border-radius: 8px; background: linear-gradient(100deg, #eef1f4 30%, #f8f9fb 50%, #eef1f4 70%) 0 0 / 300% 100%; animation: pf-mc-shine 1.2s ease-in-out infinite; }
.pf-mc-skel__row { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 16px; align-items: start; }
.pf-mc-skel__row > div { display: grid; gap: 10px; padding-top: 4px; }
.pf-mc-skel .pf-mc-skel__img { width: 80px; height: 80px; border-radius: 12px; }
.pf-mc-skel i.s { width: 55%; }
.pf-mc-skel i.xs { width: 30%; height: 34px; border-radius: 8px; }
.pf-mc-skel__foot { display: grid; gap: 14px; margin-top: 18px; }
.pf-mc-skel__foot i.btn { height: 54px; border-radius: 999px; }
.pf-mc-loading .wc-block-components-drawer__content > :not(.pf-mc-skel) { visibility: hidden; }
.wc-block-mini-cart__drawer .wc-block-components-loading-mask { position: relative; }
.wc-block-mini-cart__drawer .wc-block-components-loading-mask::after { content: ""; position: absolute; inset: 0; border-radius: 8px; background: linear-gradient(100deg, transparent 30%, rgb(255 255 255 / .75) 50%, transparent 70%) 0 0 / 300% 100%; animation: pf-mc-shine 1s ease-in-out infinite; pointer-events: none; }
@keyframes pf-mc-shine { from { background-position: 100% 0; } to { background-position: 0 0; } }
@media (prefers-reduced-motion: reduce) { .pf-mc-skel i, .wc-block-mini-cart__drawer .wc-block-components-loading-mask::after { animation: none; } }

/* Línea del paquete del sérum: el precio por frasco dice «c/u», y no se muestra «1 frasco» (lo dice el paquete). */
.wc-block-cart-item__product:is(:has(.wc-block-components-product-details__oferta),:has(.wc-block-components-product-details__offer)) .wc-block-components-product-metadata > .wc-block-components-product-details:not(:has(.wc-block-components-product-details__oferta,.wc-block-components-product-details__offer)) { display: none; }
.wc-block-cart-item__product:is(:has(.wc-block-components-product-details__oferta),:has(.wc-block-components-product-details__offer)) .wc-block-cart-item__prices .wc-block-components-product-price__value::after { content: " c/u"; font-size: .85em; color: #627282; }
html[lang^="en"] .wc-block-cart-item__product:is(:has(.wc-block-components-product-details__oferta),:has(.wc-block-components-product-details__offer)) .wc-block-cart-item__prices .wc-block-components-product-price__value::after { content: " each"; }
.wc-block-components-product-details__oferta .wc-block-components-product-details__value, .wc-block-components-product-details__offer .wc-block-components-product-details__value { color: #1f6f43; font-weight: 600; }

/* /lab/: aviso de 21+ y bloqueo para no verificados */
.pflab-age { position: fixed; inset: 0; z-index: 100000; display: grid; place-items: center; padding: 16px; background: rgb(15 15 15 / .72); }
.pflab-age[hidden] { display: none; }
.pflab-age__box { width: min(460px, 100%); padding: 28px 24px; border-radius: 20px; background: #fff; color: #1d1d1b; text-align: center; font-size: 16px; line-height: 1.55; }
.pflab-age__box h3 { margin: 0 0 10px; font-size: 24px; }
.pflab-age__fine { font-size: 13px; color: #5f5f5a; }
.pflab-age .pflab__btn { display: inline-flex; align-items: center; justify-content: center; width: 100%; min-height: 50px; margin-top: 8px; border: 0; border-radius: 999px; background: #1d1d1b; color: #fff; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; }
.pflab-age__no { width: 100%; min-height: 46px; margin-top: 8px; border: 1.5px solid #1d1d1b; border-radius: 999px; background: #fff; font: inherit; cursor: pointer; }
.pflab-tip { position: fixed; z-index: 100001; width: min(300px, calc(100vw - 24px)); display: grid; gap: 4px; padding: 14px 16px; border-radius: 14px; background: #1d1d1b; color: #fff; font-size: 14px; line-height: 1.45; box-shadow: 0 12px 32px rgb(0 0 0 / .22); }
.pflab-tip[hidden] { display: none; }
.pflab-tip b { font-size: 15px; }
.pflab-tip span { color: #d9d9d4; }
.pflab-tip button { justify-self: start; margin-top: 6px; padding: 8px 14px; border: 0; border-radius: 999px; background: #fff; color: #1d1d1b; font: inherit; font-weight: 600; font-size: 14px; cursor: pointer; }
.pflab-m { position: fixed; inset: 0; z-index: 100002; display: grid; place-items: center; padding: 16px; background: rgb(15 15 15 / .6); overflow-y: auto; }
.pflab-m[hidden] { display: none; }
.pflab-m__box { position: relative; width: min(620px, 100%); max-height: calc(100dvh - 32px); overflow-y: auto; padding: 28px 26px 22px; border-radius: 22px; background: #fff; color: #1d1d1b; font-size: 15px; line-height: 1.5; box-shadow: 0 24px 60px rgb(0 0 0 / .25); }
.pflab-m__x { position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; border: 0; border-radius: 50%; background: #f2f1ee; font-size: 22px; line-height: 1; cursor: pointer; }
.pflab-m__k { margin: 0 0 4px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #6b6b66; }
.pflab-m .pflab-m__box h3 { margin: 0 0 6px; font-size: 28px; font-weight: 500; line-height: 1.15; letter-spacing: -.01em; }
.pflab-m .pflab-m__lead { margin: 0 0 20px; color: #5f5f5a; }
.pflab-m .pflab-m__k { margin: 0 0 6px; }
.pflab-m__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; }
.pflab-m__f { margin: 0; display: grid; gap: 4px; }
.pflab-m__f label { font-size: 14px; font-weight: 600; }
.pflab-m__f small { font-weight: 400; color: #6b6b66; }
.pflab-m__f input, .pflab-m__f select { width: 100%; min-height: 46px; padding: 9px 13px; border: 1.5px solid #d6d5d0; border-radius: 12px; background: #fff; font: inherit; font-size: 16px; color: inherit; }
.pflab-m__f input:focus, .pflab-m__f select:focus { outline: 0; border-color: #1d1d1b; }
.pflab-m__f:last-child:nth-child(odd) { grid-column: 1 / -1; }
.pflab-m__drop { display: grid; gap: 2px; margin: 14px 0 0; padding: 16px; border: 1.5px dashed #c9c8c2; border-radius: 14px; background: #faf9f6; cursor: pointer; }
.pflab-m__drop span { font-size: 13px; color: #6b6b66; }
.pflab-m__drop input { margin-top: 8px; font-size: 14px; }
.pflab-m__chk { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 0; font-size: 13.5px; line-height: 1.5; color: #3d3d3a; }
.pflab-m__chk input { flex: none; width: 18px; height: 18px; margin-top: 2px; }
.pflab-m__chk a { color: inherit; }
.pflab-m__btn { width: 100%; min-height: 52px; margin-top: 16px; border: 0; border-radius: 999px; background: #1d1d1b; color: #fff; font: inherit; font-weight: 600; font-size: 16px; cursor: pointer; }
.pflab-m__fine { margin: 8px 0 0; text-align: center; font-size: 13px; color: #6b6b66; }
.pflab-m__err { margin: 0 0 14px; padding: 10px 14px; border-radius: 12px; background: #fdecea; color: #8a1f17; font-weight: 600; }
@media (max-width: 560px) { .pflab-m__grid { grid-template-columns: 1fr; } .pflab-m__box { padding: 24px 18px 18px; } .pflab-m__box h3 { font-size: 22px; } }
.pflab-off { opacity: .45 !important; cursor: not-allowed !important; }

/* Nota pequeña de uso exclusivo de laboratorio (/lab/ y Mi cuenta → Lab) */
.pflab-note { margin: 28px 0 8px; padding: 14px 18px; border-radius: 14px; background: #f1f1ee; color: #5f5f5a; font-size: 13px; line-height: 1.55; }
.pflab-note p { margin: 0 0 6px; }
.pflab-note p:last-child { margin: 0; }
.pflab-note__t { font-weight: 700; color: #3d3d3a; font-size: 13.5px; }
.pflab-note ul { margin: 4px 0 6px; padding-left: 18px; }
.pflab-note a { color: #3d3d3a; }

/* «Por qué elegir Pepfine»: tarjetas centradas, sea cual sea su número */
.pepfine-story .ps-why { grid-template-columns: repeat(auto-fit, minmax(210px, 260px)); justify-content: center; }
.pepfine-story .ps-why li { text-align: left; }

/* Ficha de producto: Envío y entrega · Devoluciones · ¿Dudas? como acordeón */
.pf-pinfo { padding: 28px 16px 40px; }
.pf-pinfo .pd-wrap { max-width: 860px; margin: 0 auto; }
.pf-pinfo .pd-faq { border: 1px solid #e6e6e1; border-radius: 20px; background: #fff; overflow: hidden; max-width: none; }
.pf-pinfo .pd-faq details { border: 0; border-bottom: 1px solid #ecece8; margin: 0; }
.pf-pinfo .pd-faq details:last-child { border-bottom: 0; }
.pf-pinfo .pd-faq summary { position: relative; list-style: none; display: flex; align-items: center; justify-content: flex-start; text-align: left; gap: 14px; padding: 20px 56px 20px 22px; font-size: 17px; font-weight: 600; color: #1d1d1b; cursor: pointer; }
.pf-pinfo .pd-faq summary::-webkit-details-marker { display: none; }
.pf-pinfo .pd-faq summary::before { content: ""; flex: none; width: 36px; height: 36px; border-radius: 10px; background: #f1f1ee center / 20px no-repeat; }
.pf-pinfo .pd-faq details:nth-child(1) summary::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d1d1b' stroke-width='1.7' stroke-linejoin='round'%3E%3Cpath d='M2 6h12v10H2zM14 10h4l3 3v3h-7'/%3E%3Ccircle cx='6' cy='17.5' r='1.8'/%3E%3Ccircle cx='17' cy='17.5' r='1.8'/%3E%3C/svg%3E"); }
.pf-pinfo .pd-faq details:nth-child(2) summary::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d1d1b' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12a8 8 0 1 0 2.3-5.6L4 8.7M4 4v4.7h4.7'/%3E%3C/svg%3E"); }
.pf-pinfo .pd-faq details:nth-child(3) summary::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d1d1b' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12a8.5 8.5 0 0 1-12.6 7.4L3 21l1.6-5.2A8.5 8.5 0 1 1 21 12z'/%3E%3C/svg%3E"); }
.pf-pinfo .pd-faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; border-right: 2px solid #1d1d1b; border-bottom: 2px solid #1d1d1b; transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.pf-pinfo .pd-faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.pf-pinfo .pd-faq summary:hover { background: #fafaf8; }
.pf-pinfo .pd-faq summary i { display: none; }
.pf-pinfo .pd-faq details > p, .pf-pinfo .pd-faq details > *:not(summary) { margin: 0; padding: 0 22px 20px 72px; color: #4a4a46; font-size: 15.5px; line-height: 1.6; }
.pf-pinfo .pd-faq a { color: #1d1d1b; font-weight: 600; }
@media (max-width: 560px) { .pf-pinfo .pd-faq details > *:not(summary) { padding-left: 22px; } }

/* Ficha del vial: «Conoce tu producto» */
.pflab-desc { max-width: 880px; margin: 0 auto; font-size: 17px; line-height: 1.7; color: #3d3d3a; }
.pflab-desc > p:first-child { font-size: 19px; color: #1d1d1b; }
.pflab-desc h2, .pflab-desc h3 { position: relative; margin: 36px 0 14px; padding-top: 22px; border-top: 1px solid #e6e6e1; font-size: clamp(22px, 2.6vw, 28px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; color: #1d1d1b; }
.pflab-desc ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; margin: 16px 0 6px; padding: 0; list-style: none; }
.pflab-desc ul li { margin: 0; padding: 18px 18px 18px 52px; position: relative; border: 1px solid #e6e6e1; border-radius: 16px; background: #fff; font-size: 15.5px; line-height: 1.55; }
.pflab-desc ul li::before { content: ""; position: absolute; left: 18px; top: 20px; width: 22px; height: 22px; border-radius: 7px; background: #eaf1f7 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d3a52' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 3h6M10 3v6l-5 9a2 2 0 0 0 1.8 3h10.4A2 2 0 0 0 19 18l-5-9V3'/%3E%3C/svg%3E") center / 14px no-repeat; }
.pflab-desc ul li strong, .pflab-desc ul li b { display: block; margin-bottom: 4px; color: #1d1d1b; font-size: 16px; }
.pflab-desc table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 15px; background: #fff; border-radius: 14px; overflow: hidden; }
.pflab-desc td, .pflab-desc th { padding: 10px 14px; border-bottom: 1px solid #ecece8; text-align: left; }
.pflab-ugc { max-width: 1120px; margin: 48px auto 8px; padding: 0 16px; text-align: center; overflow: hidden; }
.pflab-ugc h2 { margin: 0; font-size: clamp(28px, 4vw, 42px); font-weight: 500; letter-spacing: -0.035em; line-height: 1.05; color: #1d1d1b; }
.pflab-ugc h2 em { font-family: "Instrument Serif", Georgia, serif; font-weight: 400; }
.pflab-ugc > p { margin: 8px 0 0; color: #5f5f5a; font-size: 15px; }
.pflab-ugc__track { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 26px 16px 14px; margin: 0 -16px; scrollbar-width: none; }
.pflab-ugc__track::-webkit-scrollbar { display: none; }
.pflab-ugc__card { position: relative; flex: 0 0 min(240px, 64vw); aspect-ratio: 3 / 4; margin: 0; border-radius: 18px; overflow: hidden; scroll-snap-align: center; background: #dcdcd8; box-shadow: 0 10px 28px rgb(0 0 0 / .12); text-align: left; }
.pflab-ugc__card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pflab-ugc__card::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(transparent, rgb(0 0 0 / .65)); }
.pflab-ugc__card figcaption { position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 1; color: #fff; }
.pflab-ugc__card strong { display: flex; align-items: center; gap: 5px; font-size: 15px; }
.pflab-ugc__card strong i { width: 14px; height: 14px; border-radius: 50%; background: #5aa7e6; display: inline-grid; place-items: center; font-style: normal; font-size: 8px; }
.pflab-ugc__card small { display: block; font-size: 12px; opacity: .85; }
@media (min-width: 1100px) { .pflab-ugc__track { justify-content: center; flex-wrap: nowrap; } }
/* Vial PDP: size, then Buy 1 / 3 / 5 / 10 (as on Shopify) */
.pdl { margin: 6px 0 14px; }
.pdl-lbl { margin: 0 0 10px; font-size: 13px; letter-spacing: .08em; color: #5f5f5a; }
.pdl-lbl b { margin-left: 4px; letter-spacing: 0; color: #1d1d1b; font-weight: 600; font-size: 15px; }
.pdl-sizes { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.pdl-size { position: relative; cursor: pointer; }
.pdl-size input { position: absolute; opacity: 0; pointer-events: none; }
.pdl-size span { display: inline-grid; justify-items: center; min-width: 76px; padding: 11px 18px; border: 1.5px solid #cfcfca; border-radius: 10px; background: #fff; font-size: 15px; font-weight: 500; line-height: 1.15; color: #1d1d1b; transition: border-color .15s, box-shadow .15s; }
.pdl-size:hover span { border-color: #1d1d1b; }
.pdl-size input:checked + span { border-color: #1d1d1b; box-shadow: inset 0 0 0 1px #1d1d1b; }
.pdl-size input:focus-visible + span { outline: 2px solid #1d1d1b; outline-offset: 2px; }
.pdl-size.is-out { cursor: not-allowed; }
.pdl-size.is-out span { position: relative; color: #9a9a95; background: #f4f4f2; border-style: dashed; }
.pdl-size.is-out span::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(to top right, transparent calc(50% - .75px), #b4b4af calc(50% - .75px), #b4b4af calc(50% + .75px), transparent calc(50% + .75px)); }
.pdl-size small { font-size: 10px; font-weight: 500; }
.pdl-tiers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; padding-top: 10px; }
.pdl-tier { position: relative; display: grid; justify-items: center; align-content: start; gap: 2px; padding: 16px 8px 14px; border: 1.5px solid #dcdcd8; border-radius: 14px; background: #fff; text-align: center; cursor: pointer; transition: border-color .15s, background .15s; }
.pdl-tier:hover { border-color: #9a9a95; }
.pdl-tier input { position: absolute; opacity: 0; pointer-events: none; }
.pdl-dot { width: 22px; height: 22px; margin-bottom: 8px; border: 1.5px solid #9a9a95; border-radius: 50%; background: #fff; }
.pdl-tier input:checked ~ .pdl-dot { border-color: #1d1d1b; box-shadow: inset 0 0 0 5px #fff; background: #1d1d1b; }
.pdl-tier:has(input:checked) { border-color: #1d1d1b; box-shadow: inset 0 0 0 1px #1d1d1b; background: #f7f7f5; }
.pdl-tier input:focus-visible ~ .pdl-dot { outline: 2px solid #1d1d1b; outline-offset: 2px; }
.pdl-tier b { font-size: 17px; font-weight: 500; color: #1d1d1b; }
.pdl-tier small { font-size: 12.5px; color: #6b6b66; }
.pdl-now { margin-top: 8px; font-size: 16px; font-weight: 600; color: #1d1d1b; font-variant-numeric: tabular-nums; }
.pdl-tier s { min-height: 1.2em; font-size: 12.5px; color: #9a9a95; font-variant-numeric: tabular-nums; }
.pdl-tag { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); padding: 3px 10px; border-radius: 999px; background: #c9dbea; color: #1d1d1b; font-size: 11.5px; font-weight: 600; white-space: nowrap; }
.pdl-tag--best { background: #1d1d1b; color: #fff; }
@media (max-width: 560px) { .pdl-tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 10px; } }
.pflab-ugc__nav { display: flex; justify-content: center; gap: 8px; margin-top: 12px; }
.pflab-ugc__nav button { width: 42px; height: 42px; border: 1px solid #cfcfca; border-radius: 50%; background: #fff; color: #1d1d1b; font-size: 16px; cursor: pointer; }
.pflab-ugc__nav button:hover { border-color: #1d1d1b; }
/* Side cart: placeholders for «Escogido para ti» and the totals while they load. */
.pfc-skel i { display: block; height: 14px; border-radius: 8px; background: linear-gradient(100deg, #eef1f4 30%, #f8f9fb 50%, #eef1f4 70%) 0 0 / 300% 100%; animation: pf-mc-shine 1.2s ease-in-out infinite; }
.pfc-skel--rec { padding: 18px 16px 6px; display: grid; gap: 12px; }
.pfc-skel--rec i.t { width: 45%; height: 16px; }
.pfc-skel--rec > div { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.pfc-skel--rec > div i { height: 150px; border-radius: 12px; }
.pfc-skel--foot { display: grid; gap: 10px; padding: 4px 0 12px; }
.pfc-skel--foot i { height: 40px; border-radius: 10px; }
.pfc-skel--foot i.s { width: 60%; height: 16px; }
.pfx-code-note { margin: -4px 0 6px; padding: 10px 14px; border-radius: 12px; background: #eef4f9; color: #24425c; font-size: 14px; line-height: 1.5; }
.pfx-code-note b { font-family: ui-monospace, Menlo, monospace; letter-spacing: .04em; color: #14212c; }
/* Vial PDP: research product, so none of the serum's marketing sections. */
.pf-lab-pdp .pepfine-obj, .pf-lab-pdp .pepfine-story, .pf-lab-pdp .psave, .pf-lab-pdp .pfr, .pf-lab-pdp .lp-faq, .pf-lab-pdp .pf-related { display: none !important; }
/* Login: WooCommerce adds its own eye on top of ours. */
.pfx-pw .show-password-input, .password-input:has(.pfx-eye) .show-password-input, form:has(.pfx-eye) .show-password-input { display: none !important; }
.screen-reader-text.pf-h1 { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }
