/* =========================================================
   OH MAMI — Listas de nacimiento
   Sección, planificador, vista familiar e impresión
   ========================================================= */

/* ---------- Sección ---------- */
.lists { background: linear-gradient(180deg, var(--blush-soft) 0%, #FDF5F1 55%, var(--cream) 100%); }
.lists__hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(36px, 6vw, 96px); align-items: center; margin-bottom: clamp(48px, 6vw, 84px); }
.lists__benefits { display: grid; gap: 12px; margin: 26px 0 32px; }
.lists__benefits li { display: flex; align-items: flex-start; gap: 12px; font-weight: 600; color: var(--forest); }
.lists__benefits span { flex: none; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--accent-deep); font-size: .78rem; font-weight: 800; box-shadow: var(--shadow-sm); }
.lists__cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* Vista previa tipo "lista en portapapeles" */
.lists__preview { position: relative; max-width: 480px; width: 100%; justify-self: center; padding-top: 18px; }
.lists__preview::before { content: ''; position: absolute; inset: 34px -14px -14px 14px; border-radius: 30px; background: var(--blush); rotate: 4deg; box-shadow: var(--shadow-sm); }
.lp { position: relative; background: #fff; border-radius: 30px; padding: 34px 26px 24px; box-shadow: var(--shadow-lg); rotate: -1.5deg; transition: rotate .7s var(--ease-spring); }
.lists__preview:hover .lp { rotate: 0deg; }
.lp__clip { position: absolute; left: 50%; top: -16px; width: 116px; height: 36px; translate: -50% 0; border-radius: 12px 12px 16px 16px; background: linear-gradient(180deg, var(--sage-400), var(--sage-600)); box-shadow: 0 8px 14px -6px rgba(31, 58, 51, .5); }
.lp__clip::after { content: ''; position: absolute; left: 50%; top: 8px; width: 40px; height: 9px; margin-left: -20px; border-radius: 9px; background: rgba(255, 255, 255, .35); }
.lp__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 16px; border-bottom: 2px dashed var(--sage-100); }
.lp__head .script { display: block; font-size: 2.1rem; line-height: 1; color: var(--forest); }
.lp__head small { display: block; margin-top: 4px; color: var(--muted); font-size: .84rem; }
.lp__items { margin-top: 6px; }
.lp__items li { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--sage-50); animation: swap .5s var(--ease) both; }
.lp__items img { width: 46px; height: 46px; object-fit: contain; border-radius: 12px; background: var(--sage-50); mix-blend-mode: multiply; }
.lp__items span { font-size: .9rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp__items i { display: inline-block; vertical-align: -2px; margin-right: 4px; color: var(--accent); }
.lp__items i svg { width: 14px; height: 14px; }
.lp__items b { font-family: var(--ff-display); font-weight: 500; color: var(--forest); }
.lp__more { padding-top: 8px; font-size: .85rem; color: var(--muted); }
.lp__ess { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; margin: 16px 0; padding: 12px 14px; border-radius: 16px; background: var(--cream); }
.lp__ess small { font-size: .8rem; font-weight: 700; color: var(--sage-700); }
.lp__dots { display: flex; gap: 4px; }
.lp__dots span { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: #fff; font-size: .85rem; filter: grayscale(1); opacity: .45; transition: opacity .4s, filter .4s, box-shadow .4s; }
.lp__dots span.ok { filter: none; opacity: 1; background: var(--sage-100); box-shadow: inset 0 0 0 2px var(--sage-400); }
.lp__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.lp__foot small { display: block; font-size: .8rem; color: var(--muted); }
.lp__foot strong { font-family: var(--ff-display); font-weight: 400; font-size: 1.7rem; color: var(--forest); }
.lp__slots li { height: 56px; margin-top: 10px; border-radius: 14px; border: 2px dashed var(--sage-200); background: linear-gradient(100deg, transparent 30%, var(--sage-50) 50%, transparent 70%) 0 0 / 250% 100%; animation: shimmer 2.2s linear infinite; }
.lp__slots li:nth-child(2) { width: 86%; animation-delay: .2s; } .lp__slots li:nth-child(3) { width: 70%; animation-delay: .4s; }
.lp__empty { margin-top: 18px; color: var(--muted); }
.lp__empty b { color: var(--forest); }

/* Anillo */
.ring { width: 82px; height: 82px; }
.ring--lg { width: 96px; height: 96px; }
.ring--sm { width: 66px; height: 66px; }
.ring--sm b { font-size: 1.35rem; }
.ring--sm small { font-size: .62rem; }
.ring--done .ring__fg { stroke: var(--sage-600); }

/* Cómo funciona: 4 pasos */
.lists__sub { text-align: center; font-size: clamp(1.6rem, 2.6vw, 2.2rem); color: var(--forest); margin-bottom: clamp(26px, 4vw, 44px); }
@media (min-width: 961px) {
  .lists .timeline { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lists .timeline__line { left: 12.5%; right: 12.5%; }
}
.lists .timeline { margin-bottom: 0; }

/* Plantillas */
.lists__tplHead { margin-top: clamp(48px, 6vw, 84px); }
.tpl-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); align-items: start; }
.tpl { display: flex; flex-direction: column; background: #fff; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid rgba(31, 58, 51, .05); transition: translate .5s var(--ease), box-shadow .5s var(--ease); }
.tpl:hover { translate: 0 -6px; box-shadow: var(--shadow-lg); }
.tpl__fan { --spread: 1; position: relative; height: 196px; background: var(--tc); overflow: hidden; }
.tpl__fan::after { content: '♥'; position: absolute; right: -14px; bottom: -46px; font-size: 8rem; line-height: 1; color: rgba(255, 255, 255, .45); }
.tpl:hover .tpl__fan { --spread: 1.32; }
.tpl__ph { position: absolute; z-index: 1; left: 50%; top: 50%; width: 112px; height: 112px; margin: -56px 0 0 -56px; padding: 8px; border-radius: 20px; background: #fff; box-shadow: 0 14px 26px -14px rgba(31, 58, 51, .5); transform: translate(calc(var(--x) * var(--spread)), var(--y)) rotate(var(--r)); transition: transform .7s var(--ease-spring); }
.tpl__ph:nth-child(1) { --x: -80px; --y: 16px; --r: -11deg; }
.tpl__ph:nth-child(2) { --x: -27px; --y: -2px; --r: -4deg; z-index: 2; }
.tpl__ph:nth-child(3) { --x: 27px; --y: -2px; --r: 4deg; z-index: 2; }
.tpl__ph:nth-child(4) { --x: 80px; --y: 16px; --r: 11deg; }
.tpl:hover .tpl__ph { --y: -6px; }
.tpl__ph img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.tpl__body { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 22px 22px 24px; }
.tpl__count { align-self: flex-start; padding: 5px 12px; border-radius: 99px; background: var(--cream); font-size: .76rem; font-weight: 800; color: var(--sage-700); }
.tpl h3 { font-size: 1.65rem; color: var(--forest); }
.tpl p { color: var(--muted); font-size: .96rem; }
.tpl__peek { border-top: 1px dashed var(--sage-200); margin-top: 4px; padding-top: 10px; }
.tpl__peek summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .88rem; color: var(--sage-700); }
.tpl__peek summary::-webkit-details-marker { display: none; }
.tpl__peek summary::after { content: '+'; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--sage-100); font-size: .9rem; transition: rotate .4s var(--ease); }
.tpl__peek[open] summary::after { rotate: 45deg; }
.tpl__peek ul { margin-top: 10px; display: grid; }
.tpl__peek li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px solid var(--sage-50); font-size: .85rem; }
.tpl__peek li b { font-weight: 600; color: var(--sage-700); white-space: nowrap; }
.tpl__go { margin-top: 8px; width: 100%; }
.tpl--compact { border-radius: 22px; }
.tpl--compact .tpl__fan { height: 124px; }
.tpl--compact .tpl__ph { width: 72px; height: 72px; margin: -36px 0 0 -36px; padding: 6px; border-radius: 14px; }
.tpl--compact .tpl__ph:nth-child(1) { --x: -52px; --y: 10px; } .tpl--compact .tpl__ph:nth-child(2) { --x: -17px; } .tpl--compact .tpl__ph:nth-child(3) { --x: 17px; } .tpl--compact .tpl__ph:nth-child(4) { --x: 52px; --y: 10px; }
.tpl--compact .tpl__body { padding: 14px 16px 16px; gap: 6px; }
.tpl--compact h3 { font-size: 1.2rem; }
.tpl--compact p { font-size: .84rem; }
.tpl--compact .tpl__go { padding: 12px 18px; font-size: .9rem; }

/* Condiciones */
.rules { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: clamp(40px, 5vw, 68px); }
.rule { display: grid; align-content: start; gap: 8px; padding: 22px 22px 24px; border-radius: 24px; background: #fff; box-shadow: var(--shadow-sm); }
.rule b { font-family: var(--ff-display); font-weight: 400; font-size: clamp(2.2rem, 3.4vw, 2.9rem); line-height: 1; color: var(--accent-deep); }
.rule b small { font-size: .45em; }
.rule span { color: var(--muted); font-size: .94rem; line-height: 1.4; }
.rules__fine { margin-top: 14px; text-align: center; font-size: .8rem; color: var(--muted); }

/* =========================================================
   PLANIFICADOR (diálogo)
   ========================================================= */
.planner {
  margin: auto; width: min(1200px, calc(100vw - 32px)); height: min(92dvh, 920px); max-width: none; max-height: none;
  border-radius: 32px; background: var(--cream); box-shadow: var(--shadow-lg); overflow: hidden;
  scale: .96; opacity: 0; transition: scale .55s var(--ease), opacity .4s, overlay .55s allow-discrete, display .55s allow-discrete;
}
.planner[open] { display: flex; flex-direction: column; scale: 1; opacity: 1; }
@starting-style { .planner[open] { scale: .96; opacity: 0; } }
.planner__head { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 18px 14px 28px; background: #fff; border-bottom: 1px solid var(--sage-100); }
.planner__title .script { display: block; font-size: 1.3rem; line-height: 1; color: var(--accent-deep); }
.planner__title h2 { font-size: clamp(1.5rem, 2.6vw, 2.2rem); color: var(--forest); }
.planner__headActs { display: flex; align-items: center; gap: 6px; }
.planner__grid { flex: 1; min-height: 0; display: grid; grid-template-columns: 372px minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; grid-template-areas: "side main" "acts main"; }
.planner__side { grid-area: side; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; gap: 12px; padding: 18px; background: linear-gradient(180deg, var(--blush-soft), var(--cream) 70%); border-right: 1px solid var(--sage-100); }
.planner__main { grid-area: main; overflow-y: auto; overscroll-behavior: contain; padding: 22px 28px 36px; }
.planner__acts { grid-area: acts; display: grid; gap: 8px; padding: 14px 18px 16px; background: #fff; border-top: 1px solid var(--sage-100); border-right: 1px solid var(--sage-100); }
.planner__acts[hidden] { display: none; }
.planner__acts .btn { width: 100%; padding: 14px 20px; }
.planner__more { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px; }
.planner__more .btn-text { padding: 8px 10px; font-size: .86rem; }
.btn-text--danger { color: var(--accent-deep); }
.btn-text--danger:hover { background: var(--blush); }

.pl-card { padding: 18px; border-radius: 22px; background: #fff; box-shadow: var(--shadow-sm); border: 1px solid rgba(31, 58, 51, .04); }
.pl-card h3 { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; font-size: 1.2rem; color: var(--forest); margin-bottom: 12px; }
.pl-card h3 span { font-family: var(--ff-body); font-size: .82rem; font-weight: 800; color: var(--sage-700); }
.pl-progress__top { display: flex; align-items: center; gap: 16px; }
.pl-progress__txt { display: grid; gap: 4px; min-width: 0; }
.pl-progress__top .ring { flex: none; }
.pl-progress__txt strong { font-family: var(--ff-display); font-weight: 500; font-size: 1.2rem; line-height: 1.2; color: var(--forest); }
.pl-progress__txt span { font-size: .86rem; color: var(--muted); line-height: 1.4; }
.pl-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 16px 0 0; }
.pl-stats div { padding: 10px 8px; border-radius: 14px; background: var(--cream); text-align: center; }
.pl-stats dt { font-size: .6rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.pl-stats dd { margin: 2px 0 0; font-family: var(--ff-display); font-size: clamp(.95rem, 1.4vw, 1.15rem); color: var(--forest); white-space: nowrap; }

.pl-baby__fields { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
@media (max-width: 760px) { .pl-baby__fields { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.fld input[type="month"] { padding-inline: 10px 6px; font-size: .9rem; }
.fld { display: grid; gap: 6px; min-width: 0; }
.fld > span { font-size: .8rem; font-weight: 700; color: var(--forest); }
.fld small { font-weight: 500; color: var(--muted); }
.fld input { width: 100%; min-width: 0; height: 44px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--sage-200); background: var(--cream); font: inherit; font-size: .95rem; color: var(--ink); transition: border-color .3s, box-shadow .3s; }
.fld input:focus { outline: none; border-color: var(--sage-500); box-shadow: 0 0 0 4px var(--sage-100); }
.fld__why { margin-top: 10px; font-size: .76rem; color: var(--muted); line-height: 1.4; }
.pl-when { margin-top: 14px; padding: 14px; border-radius: 16px; background: var(--sage-50); animation: swap .45s var(--ease) both; }
.pl-when__top b { display: block; font-family: var(--ff-display); font-weight: 500; font-size: 1.2rem; color: var(--forest); }
.pl-when__top small { font-size: .8rem; color: var(--muted); }
.pl-when__steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 12px 0 10px; counter-reset: st; }
.pl-when__steps li { position: relative; display: grid; justify-items: center; gap: 4px; font-size: .66rem; font-weight: 700; color: var(--muted); text-align: center; line-height: 1.2; }
.pl-when__steps li::before { content: ''; position: relative; z-index: 1; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 2px solid var(--sage-300); }
.pl-when__steps li::after { content: ''; position: absolute; top: 6px; left: 50%; width: 100%; height: 2px; background: var(--sage-200); }
.pl-when__steps li:last-child::after { display: none; }
.pl-when__steps li.done::before { background: var(--sage-500); border-color: var(--sage-500); }
.pl-when__steps li.done::after { background: var(--sage-500); }
.pl-when__steps li.now { color: var(--forest); }
.pl-when__steps li.now::before { border-color: var(--accent); background: var(--accent); box-shadow: 0 0 0 4px rgba(224, 134, 111, .25); }
.pl-when p { font-size: .86rem; color: var(--forest-2); }

.ess-bar { height: 6px; border-radius: 6px; background: var(--sage-100); overflow: hidden; margin: -4px 0 12px; }
.ess-bar span { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--sage-500), var(--accent)); transform-origin: left; transition: transform .7s var(--ease); }
.ess { display: grid; gap: 6px; }
.ess__i { display: block; }
.ess__btn { width: 100%; display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 7px 8px 7px 7px; border-radius: 14px; border: 1.5px dashed var(--sage-200); background: var(--cream); text-align: left; font: inherit; color: inherit; cursor: pointer; transition: background .3s, border-color .3s, box-shadow .3s, translate .3s var(--ease); }
.ess__btn:hover { border-color: var(--sage-400); background: #fff; translate: 3px 0; }
.ess__btn:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 2px; }
.ess__i.ok .ess__btn { border-style: solid; border-color: transparent; background: var(--sage-50); }
.ess__i.ok .ess__btn:hover { background: #fff; border-color: var(--sage-200); }
.ess__btn.is-active, .ess__i.ok .ess__btn.is-active { border: 1.5px solid var(--forest); background: #fff; box-shadow: 0 8px 20px -12px rgba(31, 58, 51, .5); translate: 0 0; }
.ess__btn.is-active .ess__add { background: var(--accent); }
.ess__e { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: #fff; font-size: 1.05rem; box-shadow: var(--shadow-sm); }
.emo-svg { width: 1.25em; height: 1.25em; display: block; }
.ess__i:not(.ok) .ess__e { filter: grayscale(1); opacity: .6; transition: filter .3s, opacity .3s; }
.ess__btn:hover .ess__e, .ess__btn.is-active .ess__e { filter: none; opacity: 1; }
.ess__t { font-size: .88rem; font-weight: 700; color: var(--forest); line-height: 1.25; min-width: 0; }
.ess__t small { display: block; font-size: .72rem; font-weight: 500; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ess__i.ok .ess__t small { color: var(--sage-600); font-weight: 700; }
.ess__ok { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--sage-600); color: #fff; animation: pop .5s var(--ease-spring); }
.ess__ok svg { width: 14px; height: 14px; }
.ess__add { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--forest); color: #fff; transition: background .3s, rotate .45s var(--ease-spring); }
.ess__add svg { width: 16px; height: 16px; }
.ess__btn:hover .ess__add { background: var(--accent); translate: 2px 0; }
.ess__add { transition: background .3s, translate .3s var(--ease); }

/* Zona de artículos */
.pl-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.pl-tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 99px; background: #fff; border: 1px solid var(--sage-100); box-shadow: var(--shadow-sm); }
.pl-tabs button { display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: 99px; font-size: .88rem; font-weight: 700; color: var(--muted); transition: background .3s, color .3s; }
.pl-tabs button svg { width: 14px; height: 14px; }
.pl-tabs small { opacity: .6; }
.pl-tabs [aria-selected="true"] { background: var(--forest); color: #fff; }
.pl-hint { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; padding: 10px 14px; border-radius: 14px; background: var(--butter); font-size: .88rem; color: var(--forest); }
.pl-hint svg { width: 18px; height: 18px; color: var(--accent-deep); }
.pl-group { margin-bottom: 26px; }
.pl-group__head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.pl-group__e { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); font-size: 1.1rem; }
.pl-group__head h3 { font-size: 1.35rem; color: var(--forest); }
.pl-group__head small { margin-left: auto; font-size: .82rem; font-weight: 700; color: var(--muted); }
.pl-items { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 10px; }

.pli { container-type: inline-size; animation: swap .45s var(--ease) both; }
.pli__in { display: grid; grid-template-columns: 76px minmax(0, 1fr); grid-template-areas: "img main" "acts acts"; gap: 10px 14px; height: 100%; padding: 12px; border-radius: 20px; background: #fff; border: 1.5px solid var(--sage-100); transition: border-color .4s, box-shadow .4s; }
.pli.is-top .pli__in { border-color: rgba(224, 134, 111, .55); box-shadow: 0 0 0 4px rgba(224, 134, 111, .1); }
.pli__img { grid-area: img; width: 76px; height: 76px; border-radius: 14px; background: var(--sage-50); overflow: hidden; display: grid; place-items: center; }
.pli__img img { width: 100%; height: 100%; object-fit: contain; padding: 6%; mix-blend-mode: multiply; transition: transform .6s var(--ease); }
.pli__img:hover img { transform: scale(1.08); }
.pli__main { grid-area: main; min-width: 0; }
.pli__main h4 { font-size: .95rem; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pli__main > small { display: block; margin-top: 2px; font-size: .76rem; color: var(--muted); }
.pli__main i { font-style: normal; font-weight: 700; color: var(--sage-700); }
.pli__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; }
.pli__price { font-family: var(--ff-display); font-size: 1.15rem; color: var(--forest); line-height: 1.1; }
.pli__price small { display: block; font-family: var(--ff-body); font-size: .7rem; color: var(--muted); }
.qty--sm { margin: 0; }
.qty--sm button { width: 28px; height: 28px; }
.pli__acts { grid-area: acts; display: flex; align-items: center; gap: 6px; padding-top: 10px; border-top: 1px dashed var(--sage-100); }
.pli__star { margin-right: auto; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 99px; background: var(--cream); font-size: .8rem; font-weight: 700; color: var(--muted); transition: background .3s, color .3s; }
.pli__star svg { width: 15px; height: 15px; color: var(--sage-300); transition: color .3s, scale .4s var(--ease-spring); }
.pli__star:hover { background: var(--blush-soft); }
.pli__star[aria-pressed="true"] { background: var(--blush); color: var(--accent-deep); }
.pli__star[aria-pressed="true"] svg { color: var(--accent); animation: pop .55s var(--ease-spring); }
.pli__ico { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; color: var(--forest); transition: background .3s, color .3s; }
.pli__ico svg { width: 18px; height: 18px; }
.pli__ico:hover { background: var(--sage-100); }
.pli__rm:hover { background: var(--blush); color: var(--accent-deep); }
@container (min-width: 520px) {
  .pli__in { grid-template-columns: 88px minmax(0, 1fr) auto; grid-template-areas: "img main acts"; }
  .pli__img { width: 88px; height: 88px; }
  .pli__acts { flex-direction: column; align-items: flex-end; padding: 0 0 0 12px; border-top: 0; border-left: 1px dashed var(--sage-100); }
  .pli__star { margin: 0 0 auto; }
}

.pl-ideas { margin-top: 8px; padding: 18px; border-radius: 22px; background: var(--sage-50); }
.pl-ideas h3 { display: flex; align-items: center; gap: 8px; font-size: 1.15rem; color: var(--forest); margin-bottom: 12px; }
.pl-ideas h3 svg { width: 16px; height: 16px; color: var(--accent); }
.pl-ideas__row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.pl-ideas .mini { background: #fff; }
.pl-none { padding: 30px 20px; border-radius: 20px; border: 1.5px dashed var(--sage-200); background: #fff; text-align: center; color: var(--muted); }
.pl-none svg { display: inline; width: 14px; height: 14px; vertical-align: -2px; color: var(--accent); }

/* Lista vacía */
.pl-empty { display: grid; justify-items: center; text-align: center; padding: 10px 0 20px; }
.pl-empty__art { display: flex; gap: 10px; margin-bottom: 14px; }
.pl-empty__art span { width: 62px; height: 62px; display: grid; place-items: center; border-radius: 50%; background: #fff; font-size: 1.7rem; box-shadow: var(--shadow); animation: bob 4s ease-in-out infinite; }
.pl-empty__art span:nth-child(2) { animation-delay: -1.3s; translate: 0 -10px; background: var(--blush); }
.pl-empty__art span:nth-child(3) { animation-delay: -2.6s; background: var(--sage-100); }
.pl-empty h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); color: var(--forest); }
.pl-empty > p { color: var(--muted); margin-top: 6px; }
.pl-start { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; width: 100%; max-width: 620px; margin-top: 22px; }
.pl-start__c { display: grid; justify-items: start; gap: 2px; padding: 18px; border-radius: 20px; background: #fff; border: 1.5px solid var(--sage-100); text-align: left; transition: border-color .3s, translate .4s var(--ease), box-shadow .4s; }
.pl-start__c:hover { border-color: var(--sage-400); translate: 0 -3px; box-shadow: var(--shadow); }
.pl-start__e { font-size: 1.5rem; color: var(--accent); margin-bottom: 6px; }
.pl-start__c b { font-family: var(--ff-display); font-weight: 500; font-size: 1.15rem; color: var(--forest); }
.pl-start__c small { color: var(--muted); font-size: .84rem; }
.pl-empty__sub { margin: 30px 0 14px; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--sage-700); }
.pl-tpls { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; width: 100%; text-align: left; }

/* =========================================================
   VISTA FAMILIAR
   ========================================================= */
.fam__head { position: relative; overflow: hidden; padding-block: 22px; background: linear-gradient(120deg, var(--blush-soft), var(--sage-50)); }
.fam__head::after { content: '♥'; position: absolute; right: 70px; top: -40px; font-size: 9rem; line-height: 1; color: rgba(224, 134, 111, .14); pointer-events: none; }
.fam__when { margin-top: 4px; font-weight: 600; color: var(--sage-700); }
.fam__head .icon-btn { position: relative; z-index: 1; background: rgba(255, 255, 255, .7); }
.fam__body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 22px 28px 30px; }
.fam__intro { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 16px 30px; margin-bottom: 18px; }
.fam__intro > p { color: var(--forest-2); max-width: 56ch; }
.fam__steps { display: flex; flex-wrap: wrap; gap: 8px; }
.fam__steps li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 8px; border-radius: 99px; background: #fff; font-size: .84rem; font-weight: 700; color: var(--forest); box-shadow: var(--shadow-sm); }
.fam__steps span { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: #fff; font-size: .78rem; }
.fam__tabs { margin-bottom: 18px; }
.fam__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
.famc { position: relative; display: flex; flex-direction: column; border-radius: 22px; background: #fff; border: 1.5px solid var(--sage-100); overflow: hidden; animation: swap .5s var(--ease) both; animation-delay: calc(min(var(--i, 0), 12) * 40ms); transition: translate .45s var(--ease), box-shadow .45s; }
.famc:hover { translate: 0 -4px; box-shadow: var(--shadow); }
.famc.is-top { border-color: rgba(224, 134, 111, .55); }
.famc__img { display: grid; place-items: center; aspect-ratio: 1 / .9; background: var(--sage-50); overflow: hidden; }
.famc__img img { width: 100%; height: 100%; object-fit: contain; padding: 10%; mix-blend-mode: multiply; transition: transform .7s var(--ease); }
.famc:hover .famc__img img { transform: scale(1.06); }
.famc__top { position: absolute; left: 10px; top: 10px; display: inline-flex; align-items: center; gap: 4px; padding: 5px 10px; border-radius: 99px; background: var(--accent); color: #fff; font-size: .7rem; font-weight: 800; letter-spacing: .04em; }
.famc__top svg { width: 12px; height: 12px; }
.famc__body { flex: 1; display: flex; flex-direction: column; gap: 4px; padding: 14px; }
.famc__body small { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--sage-600); }
.famc__body h3 { font-family: var(--ff-body); font-size: .95rem; font-weight: 600; letter-spacing: 0; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.famc__row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 6px; }
.famc__row .price { font-size: 1.2rem; }
.famc__q { padding: 3px 9px; border-radius: 99px; background: var(--butter); font-size: .74rem; font-weight: 800; color: var(--forest); }
.famc__go { margin-top: 10px; width: 100%; padding: 12px 16px; font-size: .9rem; }
.fam__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 24px; padding: 16px 18px; border-radius: 20px; background: #fff; box-shadow: var(--shadow-sm); }
.fam__shop { display: flex; align-items: center; gap: 12px; }
.fam__shop > svg { width: 40px; height: 40px; padding: 10px; border-radius: 50%; background: var(--sage-100); color: var(--sage-700); }
.fam__shop b { display: block; font-family: var(--ff-display); font-weight: 500; }
.fam__shop span { font-size: .86rem; color: var(--muted); }
.fam__shop a { color: var(--forest); font-weight: 700; }


/* =========================================================
   SELECTOR POR CATEGORÍA (dentro de la lista)
   ========================================================= */
.planner { --side: 372px; }
.pl-picker {
  position: absolute; z-index: 6; top: var(--ph, 0px); right: 0; bottom: 0; width: calc(100% - var(--side));
  display: flex; flex-direction: column; background: var(--cream); border-left: 1px solid var(--sage-100);
  box-shadow: -30px 0 60px -30px rgba(31, 58, 51, .35); container: pk / inline-size;
  translate: 104% 0; visibility: hidden; transition: translate .5s var(--ease), visibility 0s .5s;
}
.pl-picker.open { translate: 0 0; visibility: visible; transition: translate .5s var(--ease), visibility 0s; }
.pk__head { flex: none; display: flex; align-items: center; gap: 12px; padding: 14px 22px 12px 16px; background: #fff; }
.pk__back { flex: none; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--sage-50); color: var(--forest); transition: background .3s, translate .3s var(--ease); }
.pk__back:hover { background: var(--sage-100); translate: -2px 0; }
.pk__back svg { width: 20px; height: 20px; }
.pk__ic { flex: none; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 16px; background: var(--blush-soft); font-size: 1.5rem; animation: pop .5s var(--ease-spring); }
.pk__ttl { min-width: 0; flex: 1; }
.pk__ttl .script { display: block; font-size: 1.15rem; line-height: 1; color: var(--accent-deep); }
.pk__ttl h3 { font-size: clamp(1.25rem, 2.2vw, 1.7rem); color: var(--forest); line-height: 1.15; overflow-wrap: anywhere; }
.pk__state { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: var(--cream-2); color: var(--muted); font-size: .8rem; font-weight: 700; }
.pk__state.ok { background: var(--sage-100); color: var(--sage-700); }
.pk__state svg { width: 14px; height: 14px; }
.pk__steps { flex: none; display: grid; grid-auto-flow: column; gap: 4px; padding: 0 22px 12px 16px; background: #fff; border-bottom: 1px solid var(--sage-100); }
.pk__steps span { height: 4px; border-radius: 4px; background: var(--sage-100); transition: background .4s; }
.pk__steps .ok { background: var(--sage-500); }
.pk__steps .now { background: var(--accent); }
.pk__scroll { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 18px 22px 28px; }

.pk__guide { position: relative; padding: 16px 18px; border-radius: 20px; background: linear-gradient(135deg, var(--blush-soft), var(--butter)); margin-bottom: 16px; overflow: hidden; }
.pk__guide h4 { display: flex; align-items: center; gap: 8px; font: 800 .74rem var(--ff-body); letter-spacing: .14em; text-transform: uppercase; color: var(--accent-deep); margin-bottom: 8px; }
.pk__guide h4 svg { width: 14px; height: 14px; }
.pk__guide ol { display: grid; gap: 6px; counter-reset: t; list-style: none; padding: 0; margin: 0; }
.pk__guide li { counter-increment: t; display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 8px; font-size: .9rem; color: var(--ink); line-height: 1.4; }
.pk__guide li::before { content: counter(t); width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--forest); font: 800 .74rem var(--ff-body); }
.pk__svc { display: flex; align-items: center; gap: 8px; margin-top: 12px; padding-top: 10px; border-top: 1px dashed rgba(201, 107, 84, .35); font-size: .86rem; font-weight: 700; color: var(--forest); }
.pk__svc svg { flex: none; width: 15px; height: 15px; color: var(--accent); }
@container pk (min-width: 640px) { .pk__guide ol { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; } .pk__guide li { grid-template-columns: minmax(0, 1fr); } }

.pk__tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.pk__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.pk__chips button { display: inline-flex; align-items: center; gap: 6px; padding: 8px 13px; border-radius: 999px; background: #fff; border: 1.5px solid var(--sage-100); font-size: .84rem; font-weight: 700; color: var(--forest); transition: background .25s, border-color .25s, color .25s; }
.pk__chips button small { font-size: .72rem; color: var(--muted); }
.pk__chips button:hover { border-color: var(--sage-400); }
.pk__chips button[aria-pressed="true"] { background: var(--forest); border-color: var(--forest); color: #fff; }
.pk__chips button[aria-pressed="true"] small { color: var(--sage-200); }
.pk__n { font-size: .86rem; color: var(--muted); font-weight: 600; }
.pk__sort select { appearance: none; padding: 9px 34px 9px 14px; border-radius: 999px; border: 1.5px solid var(--sage-100); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%231F3A33' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 13px center; font: 700 .84rem var(--ff-body); color: var(--forest); cursor: pointer; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.pk__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 14px; }
.pkc { position: relative; display: flex; flex-direction: column; border-radius: 22px; background: #fff; box-shadow: var(--shadow-sm); border: 2px solid transparent; overflow: hidden; animation: swap .45s var(--ease) both; transition: border-color .3s, box-shadow .3s, translate .3s var(--ease); }
.pkc:hover { box-shadow: var(--shadow); translate: 0 -3px; }
.pkc.is-in { border-color: var(--sage-500); }
.pkc__img { position: relative; display: block; width: 100%; aspect-ratio: 1; background: var(--sage-50); cursor: zoom-in; overflow: hidden; }
.pkc__img img { width: 100%; height: 100%; object-fit: contain; padding: 10px; mix-blend-mode: multiply; transition: scale .5s var(--ease); }
.pkc:hover .pkc__img img { scale: 1.06; }
.pkc__rec { position: absolute; top: 10px; left: 10px; display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 999px; background: var(--forest); color: #fff; font-size: .7rem; font-weight: 800; letter-spacing: .02em; }
.pkc__rec svg { width: 11px; height: 11px; color: var(--butter); }
.pkc__rec--new { background: var(--accent); }
.pkc__zoom { position: absolute; inset: auto 10px 10px; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 8px; border-radius: 12px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(6px); font-size: .78rem; font-weight: 700; color: var(--forest); opacity: 0; translate: 0 8px; transition: opacity .3s, translate .3s var(--ease); }
.pkc__zoom svg { width: 15px; height: 15px; }
.pkc:hover .pkc__zoom, .pkc__img:focus-visible .pkc__zoom { opacity: 1; translate: 0 0; }
.pkc__cmp { position: absolute; top: 10px; right: 10px; display: inline-flex; align-items: center; gap: 5px; padding: 5px 9px 5px 6px; border-radius: 999px; background: rgba(255, 255, 255, .92); font-size: .72rem; font-weight: 700; color: var(--forest); cursor: pointer; box-shadow: var(--shadow-sm); }
.pkc__cmp input { width: 15px; height: 15px; margin: 0; accent-color: var(--forest); cursor: pointer; }
.pkc__cmp:has(input:disabled) { opacity: .45; cursor: not-allowed; }
.pkc__cmp:has(input:checked) { background: var(--forest); color: #fff; }
.pkc__body { flex: 1; display: flex; flex-direction: column; gap: 4px; padding: 12px 14px 14px; }
.pkc__body small { font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--sage-600); }
.pkc__body h4 { font-family: var(--ff-body); font-size: .95rem; font-weight: 700; color: var(--forest); line-height: 1.3; }
.pkc__perk { display: inline-flex; align-items: center; gap: 5px; align-self: start; padding: 3px 9px; border-radius: 999px; background: var(--butter); font-size: .72rem; font-weight: 700; color: var(--forest); }
.pkc__perk svg { width: 12px; height: 12px; }
.pkc__foot { margin-top: auto; padding-top: 8px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.pkc__foot .price { font-size: 1.05rem; font-weight: 800; color: var(--forest); }
.pkc__add { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 999px; background: var(--forest); color: #fff; font: 700 .82rem var(--ff-body); transition: background .25s, scale .3s var(--ease-spring); }
.pkc__add svg { width: 15px; height: 15px; }
.pkc__add:hover { background: var(--accent); }
.pkc__add:active { scale: .94; }
.pkc__add[aria-pressed="true"] { background: var(--sage-100); color: var(--sage-700); }
.pkc__add[aria-pressed="true"] svg { animation: pop .45s var(--ease-spring); }
.pkc__add .t2 { display: none; }
.pkc__add[aria-pressed="true"]:hover { background: var(--blush); color: var(--accent-deep); }
.pkc__add[aria-pressed="true"]:hover .t1 { display: none; }
.pkc__add[aria-pressed="true"]:hover .t2 { display: inline; }
.pk__ask { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 6px; padding: 22px; border-radius: 22px; border: 2px dashed var(--sage-300); background: var(--sage-50); color: var(--forest); text-decoration: none; transition: background .3s, border-color .3s; }
.pk__ask:hover { background: #fff; border-color: var(--sage-500); }
.pk__askE { font-size: 1.8rem; }
.pk__ask b { font-family: var(--ff-display); font-size: 1.2rem; font-weight: 500; }
.pk__ask small { font-size: .84rem; color: var(--muted); line-height: 1.4; }
.pk__ask .link-arrow { margin-top: 6px; font-weight: 800; font-size: .86rem; display: inline-flex; align-items: center; gap: 6px; }
.pk__ask .link-arrow svg { width: 16px; height: 16px; transition: translate .3s var(--ease); }
.pk__ask:hover .link-arrow svg { translate: 4px 0; }

.pk__foot { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 22px calc(12px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--sage-100); }
.pk__sum { font-size: .86rem; color: var(--muted); min-width: 0; }
.pk__sum b { color: var(--forest); }
.pk__footR { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.pk__next { display: inline-flex; align-items: center; gap: 6px; font-size: .88rem; white-space: nowrap; }
.pk__next svg { width: 16px; height: 16px; }
.pk__done { display: inline-flex; align-items: center; gap: 6px; font-size: .86rem; font-weight: 700; color: var(--sage-700); }
.pk__done svg { width: 16px; height: 16px; }
.pk__foot .btn { padding: 12px 22px; }
.pk__cmpBtn:disabled { opacity: .55; cursor: default; }

/* detalle */
.pkd { display: grid; gap: 22px; }
@container pk (min-width: 620px) { .pkd { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; } }
.pkd__media { position: relative; aspect-ratio: 1; border-radius: 24px; background: #fff; box-shadow: var(--shadow-sm); padding: 14px; animation: swap .45s var(--ease) both; }
.pkd__media img { width: 100%; height: 100%; object-fit: contain; }
.pkd__media .pkc__rec { top: 16px; left: 16px; }
.pkd__info { display: flex; flex-direction: column; gap: 12px; animation: swap .45s .06s var(--ease) both; }
.pkd__cat { font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--sage-600); }
.pkd__price { font-family: var(--ff-display); font-size: 2rem; color: var(--forest); line-height: 1; display: flex; align-items: baseline; gap: 8px; }
.pkd__price small { font: 600 .78rem var(--ff-body); color: var(--muted); }
.pkd__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.pkd__tags:empty { display: none; }
.pkd__top { display: inline-flex; align-items: center; gap: 4px; background: var(--butter) !important; color: var(--forest) !important; }
.pkd__top svg { width: 12px; height: 12px; color: var(--accent); }
.pkd__info p { color: var(--ink); line-height: 1.6; font-size: .95rem; }
.pkd__tips { display: grid; gap: 4px; padding: 12px 14px; border-radius: 16px; background: var(--blush-soft); font-size: .88rem; line-height: 1.45; }
.pkd__tips b { display: inline-flex; align-items: center; gap: 6px; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-deep); }
.pkd__tips b svg { width: 13px; height: 13px; }
.pkd__acts { display: grid; gap: 8px; margin-top: 4px; }
.pkd__acts > .btn { width: 100%; padding: 15px 22px; }
.pkd__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 14px; }
.pkd__links .btn-text { display: inline-flex; align-items: center; gap: 6px; font-size: .88rem; }
.pkd__links svg { width: 16px; height: 16px; }
.pkd__more { margin-top: 26px; }
.pkd__more h4 { font-size: 1.1rem; color: var(--forest); margin-bottom: 10px; }
.pkd__row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(140px, 1fr); gap: 10px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.pkd__o { position: relative; display: flex; flex-direction: column; gap: 3px; padding: 8px 8px 10px; border-radius: 16px; background: #fff; box-shadow: var(--shadow-sm); text-align: left; scroll-snap-align: start; border: 2px solid transparent; transition: translate .3s var(--ease), box-shadow .3s; }
.pkd__o:hover { translate: 0 -3px; box-shadow: var(--shadow); }
.pkd__o.is-in { border-color: var(--sage-400); }
.pkd__oimg { aspect-ratio: 1; border-radius: 12px; background: var(--sage-50); overflow: hidden; }
.pkd__oimg img { width: 100%; height: 100%; object-fit: contain; padding: 6px; mix-blend-mode: multiply; }
.pkd__o b { font-size: .8rem; color: var(--forest); line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pkd__o small { font-size: .8rem; font-weight: 800; color: var(--sage-700); }
.pkd__o i { position: absolute; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 3px; padding: 3px 7px; border-radius: 999px; background: var(--sage-600); color: #fff; font: 700 .66rem var(--ff-body); }
.pkd__o i svg { width: 10px; height: 10px; }

/* comparativa */
.pkx { display: grid; grid-template-columns: repeat(var(--n), minmax(170px, 1fr)); gap: 12px; overflow-x: auto; padding-bottom: 6px; }
.pkx__col { position: relative; display: grid; grid-template-rows: subgrid; grid-row: span 7; gap: 0; padding: 12px; border-radius: 22px; background: #fff; box-shadow: var(--shadow-sm); border: 2px solid transparent; animation: swap .45s var(--ease) both; }
@supports not (grid-template-rows: subgrid) { .pkx__col { display: flex; flex-direction: column; } }
.pkx__col.is-in { border-color: var(--sage-500); }
.pkx__x { position: absolute; z-index: 1; top: 8px; right: 8px; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .9); color: var(--muted); box-shadow: var(--shadow-sm); }
.pkx__x svg { width: 14px; height: 14px; }
.pkx__img { aspect-ratio: 1; border-radius: 16px; background: var(--sage-50); overflow: hidden; cursor: zoom-in; }
.pkx__img img { width: 100%; height: 100%; object-fit: contain; padding: 8px; mix-blend-mode: multiply; }
.pkx__col h4 { font-family: var(--ff-body); font-size: .95rem; font-weight: 700; color: var(--forest); line-height: 1.3; padding: 12px 2px 8px; }
.pkx__cell { display: flex; flex-direction: column; gap: 2px; padding: 9px 2px; border-top: 1px solid var(--sage-100); font-size: .86rem; color: var(--ink); }
.pkx__cell small { font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.pkx__cell .price { font-size: 1.15rem; font-weight: 800; color: var(--forest); }
.pkx__cell svg { width: 12px; height: 12px; color: var(--accent); }
.pkx__best { align-self: start; padding: 2px 8px; border-radius: 999px; background: var(--butter); font-size: .7rem; font-weight: 800; color: var(--forest); }
.pkx__add { justify-self: stretch; justify-content: center; margin-top: 10px; align-self: end; }
.pk__note { display: flex; align-items: center; gap: 8px; margin-top: 16px; font-size: .88rem; color: var(--muted); }
.pk__note svg { flex: none; width: 15px; height: 15px; color: var(--accent); }

@media (max-width: 1100px) { .planner { --side: 330px; } }
@media (max-width: 760px) {
  .pl-picker { width: 100%; top: 0; border-left: 0; z-index: 8; }
  .pk__head { padding: 10px 14px 10px 10px; gap: 10px; }
  .pk__ic { width: 40px; height: 40px; font-size: 1.25rem; border-radius: 13px; }
  .pk__state { display: none; }
  .pk__steps { padding: 0 14px 10px; }
  .pk__scroll { padding: 14px 14px 22px; }
  .pk__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .pkc__body { padding: 10px 11px 12px; }
  .pkc__body h4 { font-size: .86rem; }
  .pkc__foot { flex-direction: column; align-items: stretch; }
  .pkc__add { justify-content: center; }
  .pkc__zoom { display: none; }
  .pkc__rec { top: auto; bottom: 8px; left: 8px; }
  .pkc__cmp { top: 8px; right: 8px; }
  .pk__ask { grid-column: 1 / -1; padding: 18px; }
  .pk__foot { padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); }
  .pk__sum { display: none; }
  .pk__footR { width: 100%; justify-content: space-between; }
  .pk__foot:has(.pk__cmpBtn) { flex-wrap: wrap; }
  .pk__foot:has(.pk__cmpBtn) .pk__cmpBtn { width: 100%; }
  .pkx { grid-template-columns: repeat(var(--n), minmax(150px, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  .pl-picker, .pl-picker.open { transition: none; }
  .pkc, .pkd__media, .pkd__info, .pkx__col, .pk__ic { animation: none; }
}


/* iconos de línea en listas */
.ess__e, .pl-group__e, .lp__dots span, .pk__ic { color: var(--forest); }
.ess__e .ico { width: 19px; height: 19px; }
.pl-group__e .ico { width: 20px; height: 20px; }
.lp__dots .ico { width: 15px; height: 15px; }
.pk__ic { color: var(--accent-deep); }
.pk__ic .ico { width: 26px; height: 26px; }
.pl-empty__art span { color: var(--forest); }
.pl-empty__art .ico { width: 28px; height: 28px; }
.pl-start__e .ico { width: 26px; height: 26px; }
.pk__askE { color: var(--sage-700); }
.pk__askE .ico { width: 30px; height: 30px; }
.fld__why .ico { display: inline-block; width: 13px; height: 13px; vertical-align: -2px; margin-right: 3px; color: var(--sage-600); }
@media (max-width: 760px) { .pk__ic .ico { width: 22px; height: 22px; } }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  .planner__grid { grid-template-columns: 330px minmax(0, 1fr); }
  .pl-ideas__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pl-tpls { grid-template-columns: minmax(0, 1fr); max-width: 420px; }
  .rules { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .lists__hero { grid-template-columns: minmax(0, 1fr); }
  .tpl-grid { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin-inline: auto; }
  .fam__intro { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .planner { width: 100vw; height: 100dvh; margin: 0; border-radius: 0; }
  .planner__head { padding: 12px 12px 12px 18px; }
  .planner__headActs .btn-text span { display: none; }
  .planner__grid { display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain; }
  .planner__side { display: contents; }
  .planner__side > .pl-card { margin: 12px 14px 0; }
  .pl-progress { order: 1; }
  .pl-ess { order: 2; }
  .planner__main { order: 3; }
  .pl-baby { order: 4; margin-bottom: 18px !important; }
  .planner__acts { order: 5; }
  .planner__acts .xl { display: none; }
  .planner__main { overflow: visible; padding: 14px 14px 24px; }
  .planner__acts { position: sticky; bottom: 0; z-index: 3; border-right: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); box-shadow: 0 -12px 30px -16px rgba(31, 58, 51, .35); }
  .planner__acts .btn { padding: 12px 10px; font-size: .86rem; gap: 6px; }
  .planner__acts .btn svg { width: 18px; height: 18px; }
  .planner__more { grid-column: 1 / -1; }
  .ess { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: -18px; padding-inline: 18px; }
  .ess::-webkit-scrollbar { display: none; }
  .ess__i { flex: none; width: 230px; scroll-snap-align: start; }
  .ess__btn:hover { translate: 0 0; }
  .pl-start { grid-template-columns: minmax(0, 1fr); }
  .fam__body { padding: 16px 14px 24px; }
  .fam__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .famc__body { padding: 10px; }
  .famc__go { padding: 10px; font-size: .82rem; }
  .famc__go svg { display: none; }
  .lp { padding: 30px 18px 20px; }
  .lp__head .script { font-size: 1.7rem; }
}
@media (max-width: 480px) {
  .pl-baby__fields { grid-template-columns: minmax(0, 1fr); }
  .rules { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .rule { padding: 16px; }
  .lp__foot .btn { width: 100%; }
  .tpl__fan { height: 170px; }
  .tpl__ph { width: 92px; height: 92px; margin: -46px 0 0 -46px; }
  .tpl__ph:nth-child(1) { --x: -64px; } .tpl__ph:nth-child(2) { --x: -22px; } .tpl__ph:nth-child(3) { --x: 22px; } .tpl__ph:nth-child(4) { --x: 64px; }
}
@media (prefers-reduced-motion: reduce) {
  .pl-empty__art span, .lp__slots li { animation: none; }
}

/* =========================================================
   LISTA DE LA TIENDA (pestaña con casillas, como en papel)
   ========================================================= */
.pl-start { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); max-width: 760px; }
button.pl-start__c { font: inherit; color: inherit; cursor: pointer; }

.chkl { display: grid; gap: 18px; }
.chkl__intro { display: flex; gap: 12px; align-items: flex-start; margin: 0; padding: 14px 16px; border-radius: 18px; background: #fff; border: 1.5px solid var(--sage-100); font-size: .92rem; line-height: 1.5; color: var(--muted); }
.chkl__intro b { color: var(--forest); }
.chkl__intro .ico { flex: none; width: 22px; height: 22px; color: var(--accent); margin-top: 1px; }
.chkl__grid { columns: 2 280px; column-gap: 16px; }
.chk-sec { break-inside: avoid; margin: 0 0 16px; padding: 16px 14px 12px; border-radius: 20px; background: #fff; border: 1.5px solid var(--sage-100); transition: border-color .3s; }
.chk-sec.has-on { border-color: var(--sage-200); }
.chk-sec__h { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 0 6px; }
.chk-sec__h h3 { margin: 0; font-family: var(--ff-display); font-weight: 500; font-size: 1.1rem; color: var(--forest); }
.chk-sec__h small { font-size: .8rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.chk-sec__bar { height: 4px; margin: 8px 6px 6px; border-radius: 4px; background: var(--sage-100); overflow: hidden; }
.chk-sec__bar span { display: block; height: 100%; border-radius: inherit; background: var(--sage-500); transform-origin: left; transition: transform .5s var(--ease); }
.chk-sec ul { list-style: none; margin: 0; padding: 0; }
.chk-l { display: flex; align-items: flex-start; gap: 10px; width: 100%; padding: 7px 6px; border: 0; border-radius: 10px; background: none; font: inherit; font-size: .92rem; line-height: 1.35; color: var(--ink); text-align: left; transition: background .2s; }
button.chk-l { cursor: pointer; }
button.chk-l:hover { background: var(--sage-50); }
.chk-l:focus-visible { outline: 2px solid var(--sage-500); outline-offset: 1px; }
.chk-c { flex: none; display: grid; place-items: center; width: 20px; height: 20px; margin-top: 0; border-radius: 50%; border: 1.5px solid var(--sage-400); background: #fff; transition: background .25s, border-color .25s; }
.chk-c svg { width: 12px; height: 12px; color: #fff; stroke-width: 3; opacity: 0; transform: scale(.4); transition: opacity .2s, transform .35s var(--ease-spring); }
.chk-l.is-on .chk-c { background: var(--sage-600); border-color: var(--sage-600); }
.chk-l.is-on .chk-c svg { opacity: 1; transform: none; }
.chk-l.is-auto .chk-c { background: var(--accent); border-color: var(--accent); }
.chk-l.is-custom .chk-c { background: var(--sage-700); border-color: var(--sage-700); }
button.chk-l.is-auto { cursor: default; }
button.chk-l.is-auto:hover { background: none; }
.chk-l__t { display: grid; min-width: 0; }
.chk-l__t small { font-size: .78rem; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.chk-l.is-auto .chk-l__t small { color: var(--accent-deep); }
.chk-rm { flex: none; margin-left: auto; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; color: var(--muted); transition: background .2s, color .2s; }
.chk-rm svg { width: 14px; height: 14px; }
.chk-rm:hover { background: var(--blush); color: var(--accent-deep); }
.chk-add { display: flex; gap: 6px; margin: 6px 6px 2px; }
.chk-add input { flex: 1; min-width: 0; padding: 7px 10px; border: 1.5px dashed var(--sage-200); border-radius: 10px; background: var(--sage-50); font: inherit; font-size: .88rem; color: var(--ink); }
.chk-add input:focus { outline: none; border-style: solid; border-color: var(--sage-500); background: #fff; }
.chk-add button { flex: none; display: grid; place-items: center; width: 34px; border-radius: 10px; background: var(--sage-100); color: var(--forest); transition: background .2s; }
.chk-add button:hover { background: var(--sage-200); }
.chk-add button svg { width: 16px; height: 16px; }

/* =========================================================
   PDF DE LA LISTA (mismo diseño que la lista en papel)
   Páginas A4 a 96 ppp: 793 × 1122 px
   ========================================================= */
.omp-render { position: fixed; left: 0; top: 0; z-index: -1; width: 793px; opacity: 0; pointer-events: none; }
.omp-page {
  position: relative; width: 793px; height: 1122px; overflow: hidden; background: #fff;
  font-family: Questrial, var(--ff-body); color: #3D4743; line-height: 1.3; text-align: left;
  -webkit-print-color-adjust: exact; print-color-adjust: exact;
}
.omp-page * { box-sizing: border-box; }

/* Cabecera: óvalo con el título, cigüeña, fecha y logotipo */
.omp-oval { position: absolute; left: 58px; top: 50px; width: 300px; height: 172px; border: 1.3px solid #9AA9A1; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; }
.omp-ttl { font: 300 27px/1.2 'Josefin Sans', var(--ff-body); letter-spacing: .16em; text-align: center; color: #4A5550; padding-left: .16em; }
.omp-name { width: 190px; height: 32px; border-bottom: 1px solid #8E9C96; text-align: center; font: 700 26px/32px Caveat, cursive; color: #44685D; white-space: nowrap; overflow: hidden; }
.omp-stork { position: absolute; left: 368px; top: 74px; width: 196px; height: 120px; }
.omp-due { position: absolute; left: 66px; top: 244px; display: flex; align-items: baseline; gap: 12px; font: 300 15px 'Josefin Sans', var(--ff-body); letter-spacing: .18em; color: #4A5550; }
.omp-due b { min-width: 190px; padding: 0 6px 2px; border-bottom: 1px solid #8E9C96; font: 700 21px Caveat, cursive; letter-spacing: 0; color: #44685D; }
.omp-logo { position: absolute; display: block; height: auto; }
.omp-logo--hero { right: 48px; top: 80px; width: 172px; }
.omp-logo--top { right: 56px; top: 44px; width: 150px; }
.omp-logo--sel { right: 56px; top: 44px; width: 150px; }

/* Columnas y paneles */
.omp-cols { position: absolute; left: 50px; right: 50px; top: 296px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px; align-items: start; }
.omp-p2 .omp-cols, .omp-p3 .omp-cols { top: 150px; }
.omp-col { min-width: 0; }
.omp-sec { margin-bottom: 24px; }
.omp-h { margin: 0 0 8px 4px; font: 300 17px 'Josefin Sans', var(--ff-body); letter-spacing: .16em; color: #4A5550; }
.omp-panel { position: relative; padding: 12px 16px 14px; border-radius: 14px; background: linear-gradient(180deg, #C9D5CE, #B4C5BB); }
.omp-l { display: flex; align-items: center; gap: 9px; min-height: 26px; font-size: 13.5px; color: #2F3A35; }
.omp-c { flex: none; display: grid; place-items: center; width: 15px; height: 15px; border: 1.2px solid #FFFFFF; border-radius: 50%; }
.omp-l.on .omp-c { background: #5B7A6D; border-color: #5B7A6D; }
.omp-c svg { width: 10px; height: 10px; display: block; }
.omp-t { flex: none; white-space: nowrap; }
.omp-p { flex: 1; min-width: 0; padding-left: 8px; text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 12.5px; color: #35574B; }
.omp-l--sub { flex-wrap: wrap; row-gap: 0; padding: 2px 0; }
.omp-s { flex-basis: 100%; padding-left: 24px; margin-top: -3px; font-size: 12px; line-height: 1.35; color: #35574B; }
.omp-s.soft { font-style: italic; color: #4F6B60; }
.omp-l--blank .omp-w { flex: 1; height: 16px; border-bottom: 1px solid rgba(255, 255, 255, .95); }
.omp-l--more .omp-t { padding-left: 24px; font-size: 12px; font-style: italic; color: #35574B; }
.omp-col.tight .omp-l { min-height: 22px; font-size: 12.5px; }
.omp-col.tight .omp-sec { margin-bottom: 16px; }
.omp-col.tight .omp-panel { padding-block: 9px 10px; }
.omp-col.nosub .omp-s { display: none; }
.omp-foot { position: absolute; left: 0; right: 0; bottom: 34px; display: flex; align-items: center; justify-content: center; gap: 8px; font: 300 13px 'Josefin Sans', var(--ff-body); letter-spacing: .22em; color: #9AA9A1; }

/* Dibujos */
.omp-deco { position: absolute; pointer-events: none; }
.omp-deco--clip { right: 0; bottom: -52px; width: 190px; height: auto; }
.omp-deco--bib { right: 26px; bottom: -176px; width: 112px; height: auto; }
.omp-deco--bunny { right: -36px; bottom: -58px; width: 96px; height: auto; }
.omp-deco--crib { right: -14px; bottom: -158px; width: 168px; height: auto; }
.omp-ropa { position: relative; margin-top: 150px; }
.omp-deco--booties { right: 18px; top: -48px; width: 96px; height: auto; }
.omp-deco--dress { left: 64px; bottom: 92px; width: 120px; height: auto; }
.omp-deco--flowers { right: -14px; bottom: 54px; width: 210px; height: auto; opacity: .9; }
.omp-sec--canastilla { margin-bottom: 40px; }

/* Página de la selección (productos con precio) */
.omp-selh { position: absolute; left: 56px; top: 58px; }
.omp-ttl2 { font: 300 28px 'Josefin Sans', var(--ff-body); letter-spacing: .16em; color: #4A5550; }
.omp-selmeta { margin-top: 6px; font: 700 22px Caveat, cursive; color: #44685D; min-height: 26px; }
.omp-flow { position: absolute; left: 50px; right: 50px; top: 170px; }
.omp-row { display: grid; grid-template-columns: 1fr 52px 96px; gap: 12px; align-items: center; padding: 8px 14px; border-bottom: 1px solid #DCE4DF; font-size: 13px; color: #2F3A35; }
.omp-row > span:nth-child(n+2) { text-align: right; font-variant-numeric: tabular-nums; }
.omp-row b { font-weight: 400; display: block; }
.omp-row small { display: block; margin-top: 2px; font: 300 10.5px 'Josefin Sans', var(--ff-body); letter-spacing: .14em; text-transform: uppercase; color: #7B8A83; }
.omp-row--h { border: 0; border-radius: 10px; background: linear-gradient(180deg, #C9D5CE, #B4C5BB); font: 300 12px 'Josefin Sans', var(--ff-body); letter-spacing: .16em; text-transform: uppercase; color: #3D4743; }
.omp-tail { display: grid; gap: 14px; margin-top: 20px; }
.omp-total { display: grid; grid-template-columns: 1fr auto; align-items: center; row-gap: 2px; padding: 14px 18px; border-radius: 14px; background: linear-gradient(180deg, #C9D5CE, #B4C5BB); }
.omp-total span { font: 300 15px 'Josefin Sans', var(--ff-body); letter-spacing: .16em; color: #3D4743; }
.omp-total b { font-weight: 400; font-size: 22px; color: #22332E; }
.omp-total small { grid-column: 1 / -1; font-size: 11.5px; color: #4F6B60; }
.omp-qrbox { display: flex; align-items: center; gap: 18px; padding: 14px 18px; border: 1.3px solid #C9D5CE; border-radius: 14px; }
.omp-qr { flex: none; line-height: 0; }
.omp-qrbox > div:last-child, .omp-gift > div:last-child { flex: 1; min-width: 0; }
.omp-qrbox .omp-qr svg { width: 104px; height: 104px; }
.omp-gift .omp-qr svg { width: 118px; height: 118px; }
.omp-foot svg { width: 22px; height: 22px; }
.omp-qrbox b, .omp-gift b { font: 300 15px 'Josefin Sans', var(--ff-body); letter-spacing: .16em; color: #3D4743; }
.omp-qrbox p { margin: 5px 0 0; font-size: 12.5px; line-height: 1.45; color: #3D4743; }
.omp-qrbox .omp-stamp { color: #44685D; }
.omp-shop { margin: 8px 0 0 !important; font-size: 11px !important; color: #8A968F !important; }

/* Versión para regalar */
.omp-intro { position: absolute; left: 66px; right: 66px; top: 300px; margin: 0; font-size: 13.5px; line-height: 1.55; color: #3D4743; }
.omp-pfr .omp-cols--fr { top: 392px; }
.omp-pfr .omp-cols--more { top: 150px; }
.omp-cols--empty { height: 0; }
.omp-pfr .omp-sec { margin-bottom: 20px; }
.omp-pfr .omp-l--sub { padding: 4px 0; }
.omp-gift { position: absolute; left: 50px; right: 50px; display: flex; align-items: center; gap: 22px; padding: 18px 22px; border-radius: 16px; background: #F3F6F4; border: 1.3px solid #C9D5CE; }
.omp-gift ol { margin: 6px 0 0; padding-left: 18px; font-size: 13px; line-height: 1.5; color: #2F3A35; }

/* =========================================================
   Ventana del PDF
   ========================================================= */
.omp-dlg {
  width: min(1060px, calc(100vw - 32px)); max-width: none; max-height: calc(100dvh - 32px);
  padding: 0; border: 0; border-radius: var(--r); background: var(--cream); color: var(--ink);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.omp-dlg[open] { display: flex; flex-direction: column; animation: omp-in .45s var(--ease); }
.omp-dlg::backdrop { background: rgba(31, 58, 51, .45); backdrop-filter: blur(4px); }
@keyframes omp-in { from { opacity: 0; transform: translateY(14px) scale(.985); } }
.omp-dlg__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px 16px 26px; border-bottom: 1px solid var(--sage-100); background: #fff; }
.omp-dlg__head .script { display: block; font-size: 1.35rem; line-height: 1; color: var(--accent-deep); }
.omp-dlg__head h2 { margin: 2px 0 0; font-family: var(--ff-display); font-weight: 400; font-size: 1.55rem; line-height: 1.15; color: var(--forest); }
.omp-dlg__grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; min-height: 0; height: min(700px, calc(100dvh - 120px)); }
.omp-prev { min-height: 0; overflow: auto; overscroll-behavior: contain; padding: 26px; background: var(--sage-100); }
.omp-prev__in { --k: .5; position: relative; display: grid; gap: 22px; max-width: 470px; margin-inline: auto; }
.omp-prev__in.is-busy { min-height: 420px; }
.omp-prev__in.is-busy::before { content: ''; position: absolute; inset: 0 0 auto; aspect-ratio: 793 / 1122; border-radius: 6px; background: linear-gradient(100deg, #fff 30%, var(--sage-50) 50%, #fff 70%) 0 0 / 220% 100%; box-shadow: var(--shadow-sm); animation: omp-shim 1.4s linear infinite; }
.omp-prev__in.is-busy > * { opacity: .35; }
@keyframes omp-shim { to { background-position: -220% 0; } }
.omp-thumb { margin: 0; }
.omp-thumb__pg { position: relative; width: 100%; aspect-ratio: 793 / 1122; overflow: hidden; border-radius: 6px; background: #fff; box-shadow: 0 10px 30px -14px rgba(31, 58, 51, .4); }
.omp-thumb__pg .omp-page { position: absolute; left: 0; top: 0; transform: scale(var(--k)); transform-origin: 0 0; }
.omp-thumb figcaption { margin-top: 8px; text-align: center; font-size: .8rem; color: var(--muted); }
.omp-side { display: flex; flex-direction: column; gap: 18px; min-height: 0; overflow: auto; padding: 24px; background: var(--cream); }
.omp-desc { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.55; }
.omp-langw { display: grid; gap: 8px; }
.omp-langw > span { font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--sage-700); }
.omp-lang { display: inline-flex; justify-self: start; gap: 4px; padding: 4px; border-radius: 99px; background: #fff; border: 1.5px solid var(--sage-100); }
.omp-lang button { padding: 8px 16px; border-radius: 99px; font-weight: 700; font-size: .88rem; color: var(--forest); transition: background .25s, color .25s; }
.omp-lang button:hover { background: var(--sage-50); }
.omp-lang button[aria-checked="true"] { background: var(--forest); color: #fff; }
.omp-acts { display: grid; gap: 10px; }
.omp-acts .btn { width: 100%; }
.omp-acts .btn[disabled], .omp-acts .btn-text[disabled] { opacity: .45; pointer-events: none; box-shadow: none; }
.omp-acts .btn-text { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-size: .9rem; }
.omp-acts .btn-text svg { width: 18px; height: 18px; }
.omp-status { display: flex; align-items: center; gap: 8px; margin: 0; min-height: 1.4em; font-size: .9rem; color: var(--muted); }
.omp-status[data-s="ok"] { color: var(--sage-700); }
.omp-status[data-s="err"] { color: var(--accent-deep); }
.omp-status svg { flex: none; width: 18px; height: 18px; }
.omp-spin { flex: none; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--sage-300); border-top-color: var(--sage-700); animation: omp-spin .8s linear infinite; }
@keyframes omp-spin { to { transform: rotate(1turn); } }
.omp-help { margin: 0; padding: 12px 14px; border-radius: 14px; background: #fff; border: 1.5px solid var(--sage-100); font-size: .88rem; line-height: 1.5; color: var(--ink); }
.omp-help:empty { display: none; }

@media (max-width: 820px) {
  .omp-dlg { width: 100vw; max-height: 100dvh; height: 100dvh; border-radius: 0; margin: 0; }
  .omp-dlg__grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; height: auto; flex: 1; }
  .omp-prev { padding: 16px; }
  .omp-prev__in { max-width: 340px; }
  .omp-side { padding: 16px 18px calc(16px + env(safe-area-inset-bottom)); gap: 12px; border-top: 1px solid var(--sage-200); box-shadow: 0 -12px 30px -18px rgba(31, 58, 51, .35); }
  .omp-desc { display: none; }
  .omp-dlg__head { padding: 14px 16px 12px 20px; }
  .omp-dlg__head h2 { font-size: 1.3rem; }
}
@media (prefers-reduced-motion: reduce) {
  .omp-dlg[open], .omp-prev__in.is-busy::before, .omp-spin { animation: none; }
  .chk-c svg, .chk-sec__bar span { transition: none; }
}

/* =========================================================
   IMPRESIÓN (las mismas páginas del PDF)
   ========================================================= */
.print-sheet { display: none; }
@media print {
  @page { size: A4; margin: 0; }
  html.omp-printing, html.omp-printing body { margin: 0; padding: 0; background: #fff; }
  html.omp-printing body > *:not(.omp-printroot) { display: none !important; }
  html.omp-printing .omp-printroot { display: block; }
  .omp-printroot .omp-page { break-after: page; page-break-after: always; }
  .omp-printroot .omp-page:last-child { break-after: auto; page-break-after: auto; }
}

/* =========================================================
   LISTA GUARDADA EN LA WEB (cuenta, guardar, regalar)
   ========================================================= */
.btn.is-busy { opacity: .7; pointer-events: none; cursor: progress; }
.pl-save { display: grid; gap: 10px; border-color: rgba(224, 134, 111, .35); background: linear-gradient(160deg, #fff 55%, var(--blush-soft)); }
.pl-save[hidden] { display: none; }
.pl-save h3 { margin-bottom: 0; }
.pl-save p { font-size: .88rem; line-height: 1.45; color: var(--forest-2); }
.pl-save > .btn { width: 100%; justify-content: center; }
.pl-save > small { font-size: .76rem; color: var(--muted); text-align: center; }
.pl-save.is-saved { background: #fff; border-color: rgba(31, 58, 51, .04); }
.pl-save__row { display: flex; align-items: center; gap: 12px; }
.pl-save__row b { display: block; font-family: var(--ff-display); font-weight: 500; font-size: 1.05rem; color: var(--forest); }
.pl-save__row small { font-size: .8rem; color: var(--muted); }
.pl-save__ic { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--sage-100); color: var(--sage-700); }
.pl-save__ic .ico { width: 16px; height: 16px; }
.pl-save__ic.is-err { background: var(--blush); color: var(--accent-deep); }
.pl-save__acts { display: flex; flex-wrap: wrap; gap: 4px 10px; }
.pl-save__acts .btn-text { display: inline-flex; align-items: center; gap: 6px; padding: 6px 8px; font-size: .86rem; }
.pl-save__acts svg { width: 15px; height: 15px; }

.acc-dlg { width: min(480px, calc(100vw - 32px)); max-width: none; max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: var(--r); background: var(--cream); color: var(--ink); box-shadow: var(--shadow-lg); overflow: auto; overscroll-behavior: contain; }
.acc-dlg[open] { animation: omp-in .45s var(--ease); }
.acc-dlg::backdrop { background: rgba(31, 58, 51, .45); backdrop-filter: blur(4px); }
.acc__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px 16px 24px; border-bottom: 1px solid var(--sage-100); background: #fff; }
.acc__head .script { display: block; font-size: 1.35rem; line-height: 1; color: var(--accent-deep); }
.acc__head h2 { margin: 2px 0 0; font-family: var(--ff-display); font-weight: 400; font-size: 1.55rem; line-height: 1.15; color: var(--forest); }
.acc__body { display: grid; gap: 16px; padding: 20px 24px 24px; }
.acc__lead { font-size: .92rem; line-height: 1.5; color: var(--forest-2); }
.acc__tabs { justify-self: start; }
.acc__form { display: grid; gap: 12px; }
.acc__two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.acc__form .fld input { background: #fff; }
.acc__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.acc__lost { justify-self: start; font-size: .84rem; font-weight: 700; color: var(--forest); text-decoration: underline; text-underline-offset: 3px; }
.acc__err { padding: 10px 12px; border-radius: 12px; background: var(--blush-soft); font-size: .86rem; font-weight: 600; color: var(--accent-deep); }
.acc__err[hidden] { display: none; }
.acc__go { width: 100%; justify-content: center; margin-top: 4px; }
.acc__legal { font-size: .76rem; line-height: 1.45; color: var(--muted); }
.acc__legal svg { width: 13px; height: 13px; vertical-align: -2px; margin-right: 2px; color: var(--sage-600); }
.acc__legal a { color: var(--forest); font-weight: 700; }
@media (max-width: 520px) {
  .acc-dlg { width: 100vw; max-height: 100dvh; height: 100dvh; margin: 0; border-radius: 0; }
  .acc__two { grid-template-columns: minmax(0, 1fr); }
  .acc__body { padding: 18px 18px calc(24px + env(safe-area-inset-bottom)); }
}

.famc.is-done { opacity: .62; }
.famc.is-done:hover { translate: none; box-shadow: none; }
.famc__q--ok { background: var(--sage-100); color: var(--sage-700); }
.famc__done { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 10px; padding: 11px; border-radius: 99px; background: var(--sage-50); font-size: .86rem; font-weight: 700; color: var(--sage-700); }
.famc__done svg { width: 15px; height: 15px; }
.famc__wa { display: inline-flex; align-items: center; justify-content: center; gap: 6px; margin-top: 8px; font-size: .84rem; font-weight: 700; color: var(--forest); }
.famc__wa svg { width: 15px; height: 15px; }
@media (max-width: 760px) { .pl-save { order: 1; } }
@media (prefers-reduced-motion: reduce) { .acc-dlg[open] { animation: none; } }
/* Regalar eligiendo talla o color */
.famc__opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 8px; margin-top: 10px; }
.famc__opt { display: grid; gap: 4px; min-width: 0; font-size: .72rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--sage-700); }
.famc__opt select { width: 100%; min-width: 0; height: 40px; padding: 0 30px 0 12px; border-radius: 99px; border: 1.5px solid var(--sage-100); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12'%3E%3Cpath d='m2 4.5 4 4 4-4' fill='none' stroke='%231F3A33' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 12px center; appearance: none; font: 600 .86rem var(--ff-body); letter-spacing: 0; text-transform: none; color: var(--forest); cursor: pointer; }
.famc__opt select:focus-visible { outline: 2px solid var(--forest); outline-offset: 2px; }
.famc__row .price small { font-size: .72em; font-weight: 600; color: var(--sage-700); }

/* Móvil: el panel de la lista no puede ser más ancho que la pantalla
   (las tarjetas de inicio iban a tres columnas y «Lo imprescindible» se salía por la derecha) */
@media (max-width: 760px) {
  .pl-empty { grid-template-columns: minmax(0, 1fr); justify-items: stretch; }
  .pl-empty__art { justify-content: center; }
  .pl-start { grid-template-columns: minmax(0, 1fr); }
  .pl-tpls { max-width: none; }
  .ess { display: grid; overflow: visible; margin-inline: 0; padding-inline: 0; }
  .ess__i { width: auto; }
}

/* =========================================================
   Página de una lista de nacimiento (la que se comparte)
   ========================================================= */
.lpg { --lpg-r: 28px; }
.lpg__hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: clamp(24px, 5vw, 70px); padding-block: clamp(6px, 2vw, 22px) clamp(28px, 4vw, 52px); }
.lpg__kick { display: block; font-size: clamp(1.5rem, 2.4vw, 1.9rem); color: var(--accent); line-height: 1; margin-bottom: 10px; }
.lpg__title { font-size: clamp(2.5rem, 6vw, 5rem); }
.lpg__title em { font-style: italic; font-weight: 400; color: var(--sage-600); }
.lpg__by { margin-top: 14px; font-size: clamp(1rem, 1.3vw, 1.12rem); color: var(--muted); }
.lpg__by b { color: var(--forest); font-weight: 700; }
.lpg__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.lpg__meta li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 99px; background: #fff; box-shadow: var(--shadow-sm); font-size: .9rem; font-weight: 700; color: var(--forest); }
.lpg__meta svg { width: 16px; height: 16px; color: var(--sage-600); }
.lpg__prog { margin-top: 22px; max-width: 460px; }
.lpg__track { height: 12px; border-radius: 99px; background: var(--sage-100); overflow: hidden; }
.lpg__track i { display: block; height: 100%; width: var(--p); min-width: 12px; border-radius: inherit; background: linear-gradient(90deg, var(--sage-500), var(--accent)); transform-origin: left; animation: lpgBar 1.2s .3s var(--ease) both; }
@keyframes lpgBar { from { transform: scaleX(0); } }
.lpg__prog p { margin-top: 10px; font-size: .95rem; color: var(--muted); }
.lpg__prog b { color: var(--forest); }
.lpg__prog.is-full .lpg__track i { background: var(--accent); }
.lpg__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 26px; }
.lpg__copy { display: inline-flex; align-items: center; gap: 7px; padding: 10px 4px; font-weight: 700; font-size: .92rem; color: var(--forest); border-bottom: 1.5px dashed color-mix(in srgb, var(--forest) 35%, transparent); }
.lpg__copy svg { width: 16px; height: 16px; }
.lpg__copy:hover { color: var(--accent-deep); }

/* Composición de fotos de la lista */
.lpg__art { position: relative; aspect-ratio: 1 / .86; max-width: 560px; justify-self: center; width: 100%; }
.lpg__blob { position: absolute; inset: 6% 4% 2% 6%; border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%; background: radial-gradient(circle at 30% 30%, var(--blush-soft), var(--blush) 55%, var(--peach)); animation: lpgBlob 14s ease-in-out infinite alternate; }
@keyframes lpgBlob { to { border-radius: 56% 44% 52% 48% / 42% 58% 44% 56%; } }
.lpg__pic { position: absolute; width: 46%; aspect-ratio: 1; display: grid; place-items: center; padding: 6%; border-radius: var(--lpg-r); background: #fff; box-shadow: var(--shadow); animation: lpgPic .9s calc(.15s + var(--k) * .12s) var(--ease-spring) both; }
.lpg__pic img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.lpg__pic[style*="--k:0"] { left: 4%; top: 10%; rotate: -6deg; width: 52%; z-index: 2; }
.lpg__pic[style*="--k:1"] { right: 3%; top: 2%; rotate: 5deg; width: 40%; }
.lpg__pic[style*="--k:2"] { right: 10%; bottom: 2%; rotate: -3deg; width: 42%; z-index: 3; }
@keyframes lpgPic { from { opacity: 0; translate: 0 30px; scale: .9; } }
.lpg__heart { position: absolute; left: 8%; bottom: 8%; z-index: 4; width: 62px; height: 62px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: #fff; box-shadow: var(--shadow); animation: lpgBeat 2.4s ease-in-out infinite; }
.lpg__heart svg { width: 28px; height: 28px; }
@keyframes lpgBeat { 0%, 100% { scale: 1; } 12% { scale: 1.12; } 24% { scale: 1; } 36% { scale: 1.08; } }
.lpg__note { position: absolute; left: 24%; bottom: -2%; z-index: 4; font-size: clamp(1.6rem, 2.6vw, 2.2rem); color: var(--forest); rotate: -4deg; }

/* Cómo regalar */
.lpg__how { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; counter-reset: none; }
.lpg__how li { display: flex; align-items: flex-start; gap: 14px; padding: 18px 20px; border-radius: 22px; background: #fff; box-shadow: var(--shadow-sm); }
.lpg__how li > span { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--sage-100); color: var(--forest); font-family: var(--ff-display); font-weight: 600; }
.lpg__how b { display: block; color: var(--forest); font-size: 1rem; }
.lpg__how small { display: block; margin-top: 2px; color: var(--muted); font-size: .88rem; line-height: 1.45; }

/* Regalos */
.lpg__gifts { margin-top: clamp(30px, 4vw, 50px); scroll-margin-top: calc(var(--pdp-top, 80px) + 12px); }
.lpg__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.lpg__sort { display: inline-flex; align-items: center; gap: 10px; font-size: .86rem; font-weight: 700; color: var(--muted); }
.lpg__sort select { height: 42px; padding: 0 36px 0 16px; border-radius: 99px; border: 1px solid var(--sage-100); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12'%3E%3Cpath d='m2 4.5 4 4 4-4' fill='none' stroke='%231F3A33' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 14px center; appearance: none; box-shadow: var(--shadow-sm); font: 600 .9rem var(--ff-body); color: var(--forest); cursor: pointer; }
.lpg__sort select:focus-visible { outline: 2px solid var(--forest); outline-offset: 2px; }
.lpg__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.lgc { border-radius: var(--lpg-r); border: 0; box-shadow: var(--shadow-sm); }
.lgc.is-top { box-shadow: 0 0 0 1.5px rgba(224, 134, 111, .5), var(--shadow-sm); }
.lgc .famc__img { aspect-ratio: 1; background: linear-gradient(160deg, var(--sage-50), #fff 70%); position: relative; }
.lgc .famc__body { padding: 16px 18px 18px; gap: 6px; }
.lgc .famc__body h3 { font-size: 1.02rem; }
.lgc .famc__row .price { font-family: var(--ff-display); font-size: 1.35rem; font-weight: 500; color: var(--forest); }
.lgc .famc__go { margin-top: 12px; }
.lgc .famc__wa { align-self: center; }
.lgc.is-done { opacity: 1; }
.lgc.is-done .famc__img img { filter: grayscale(.7); opacity: .45; }
.lgc.is-done h3, .lgc.is-done .price { color: var(--muted); }
.lgc__stamp { position: absolute; inset: auto 50% 50% auto; translate: 50% 50%; rotate: -8deg; display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 99px; background: #fff; color: var(--accent-deep); box-shadow: var(--shadow); font-family: var(--ff-script); font-size: 1.6rem; line-height: 1; }
.lgc__stamp svg { width: 20px; height: 20px; }
.lgc__stamp b { font-weight: 700; }
.lpg__none { grid-column: 1 / -1; }

/* Pie: tienda y «haced la vuestra» */
.lpg__foot { display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; margin-top: clamp(40px, 5vw, 70px); }
.lpg__box { display: flex; align-items: flex-start; gap: 18px; padding: clamp(22px, 3vw, 34px); border-radius: var(--lpg-r); background: #fff; box-shadow: var(--shadow-sm); }
.lpg__mine { background: linear-gradient(140deg, var(--blush-soft), var(--butter)); box-shadow: none; }
.lpg__ico { flex: none; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: var(--sage-100); color: var(--forest); }
.lpg__mine .lpg__ico { background: #fff; color: var(--accent); }
.lpg__ico svg { width: 24px; height: 24px; }
.lpg__box h2 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); color: var(--forest); }
.lpg__box p { margin-top: 8px; color: var(--muted); max-width: 52ch; }
.lpg__addr { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: .9rem; }
.lpg__addr svg { width: 15px; height: 15px; color: var(--sage-600); }
.lpg__addr a { color: var(--forest); font-weight: 700; }
.lpg__box .lpg__cta { margin-top: 18px; }

/* Cargando */
.lpg--load .lpg__txt { display: grid; gap: 14px; align-content: center; }
.sk { display: block; border-radius: 16px; background: linear-gradient(90deg, var(--sage-50), var(--sage-100), var(--sage-50)); background-size: 200% 100%; animation: lpgSk 1.3s linear infinite; }
.sk--s { width: 180px; height: 26px; } .sk--t { width: 80%; height: 64px; } .sk--m { width: 55%; height: 22px; } .sk--b { width: 340px; max-width: 100%; height: 50px; border-radius: 99px; }
.sk--art { width: 100%; height: 100%; border-radius: 40%; }
.sk--card { aspect-ratio: .72; border-radius: var(--lpg-r); }
@keyframes lpgSk { to { background-position: -200% 0; } }
.lpg--load .lpg__grid { margin-top: 30px; }
.lpg__err { margin-top: 10px; }
.lpg__err .lpg__cta { justify-content: center; }

@media (max-width: 980px) {
  .lpg__hero { grid-template-columns: minmax(0, 1fr); }
  .lpg__art { order: -1; max-width: 420px; }
  .lpg__foot { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .lpg__hero { gap: 10px; padding-top: 0; }
  .lpg__art { max-width: 280px; aspect-ratio: 1 / .74; margin-top: 4px; }
  .lpg__note { font-size: 1.4rem; bottom: -4%; }
  .lpg__title { font-size: clamp(2.3rem, 11vw, 3rem); }
  .lpg__meta li { padding: 7px 12px; font-size: .84rem; }
  .lpg__heart { width: 48px; height: 48px; } .lpg__heart svg { width: 22px; height: 22px; }
  .lpg__how { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .lpg__how li { padding: 14px 16px; }
  .lpg__bar { flex-direction: column; align-items: stretch; min-width: 0; }
  .lpg__bar > * { min-width: 0; max-width: 100%; }
  .lpg__gifts { min-width: 0; }
  .lpg__tabs { display: flex; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; border-radius: 99px; }
  .lpg__tabs button { flex: none; padding: 9px 13px; }
  .lpg__sort { justify-content: space-between; }
  .lpg__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .lgc .famc__body { padding: 12px; }
  .lgc .famc__body h3 { font-size: .9rem; }
  .lgc .famc__row .price { font-size: 1.1rem; }
  .lgc__stamp { font-size: 1.2rem; padding: 7px 12px; }
  .lpg__cta .btn { flex: 1 1 auto; justify-content: center; }
  .lpg__box { flex-direction: column; gap: 12px; }
  .sk--card:nth-child(n+3) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .lpg__blob, .lpg__heart, .lpg__pic, .lpg__track i, .sk { animation: none; }
}

/* Acceso a la lista desde cualquier móvil */
.pl-save--in { background: linear-gradient(160deg, #fff 55%, var(--cream-2, #f4efe6)); }
.pl-save__out { opacity: .75; }

/* Lista: quien la creó ve lo regalado (v0.1.28) */
.lpg__owner { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; padding: 14px 18px; border-radius: 18px; background: #fff; box-shadow: var(--shadow-sm); font-size: .92rem; color: var(--muted); }
.lpg__owner svg { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--forest); }
.lpg__owner b { color: var(--forest); }
.famc__libre { display: flex; flex-direction: column; gap: 2px; margin-top: auto; padding: 10px 14px; border-radius: 14px; background: rgba(0, 0, 0, .035); font-size: .86rem; }
.famc__libre b { color: var(--forest); font-weight: 700; }
.famc__libre small { color: var(--muted); font-size: .76rem; }
.pli__got { display: inline-flex; align-items: center; gap: 5px; margin-top: 6px; padding: 3px 9px; border-radius: 99px; background: rgba(0, 0, 0, .045); color: var(--muted); font-size: .72rem; font-weight: 600; }
.pli__got.is-done { background: var(--forest); color: #fff; }
.pli__got svg { width: 12px; height: 12px; }
/* El «CSS adicional» de WordPress oculta las tarjetas regaladas con !important (de cuando la lista pública las enseñaba).
   Ahora solo le llegan a quien creó la lista, que sí las tiene que ver. */
#lpgGrid .famc.lgc.is-done { display: flex !important; }
