/* Palette Girlies, product.css (V2 paper, nov 2026): what only the three small digital products have (/phone-palette, /makeup-kit, /neighbors; docs/web/SECCIONES.md "Tienda", docs/web/PAGINAS-PRODUCTO.md).
   Built by tools/product_pages.py, moved by site/js/product.js and site/js/shop.js. Loaded after site/css/shop.css (the hero, the tour, the split screens, the use blocks, the questions and the close
   are there); everything here is these pages' own: the season picker, the color check, the two seasons held to her face, the fan of the named colors. Everything works without JavaScript and with
   prefers-reduced-motion: the chips are links, each control shows its plain sentence. Motion is transform and opacity only. */

.pp-cta { margin-top: var(--s3); }
.pp-note { margin: 0; max-width: 40ch; font-size: var(--fs-2); line-height: 1.5; color: var(--ink-2); }
.pp-note:empty { display: none; }
.sl-close .pp-note { margin-top: var(--s3); }

/* ---------- the picker: the 12 seasons in one row you swipe on a phone, all of them wrapped on a wide screen ---------- */
.pp-pick { display: grid; gap: var(--s2); margin-top: var(--s2); }
.pp-pick-row { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--s1) var(--s3); }
.pp-pick-l { font: 600 12.5px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--graphite); }
.pp-pick-test { display: inline-flex; align-items: center; min-height: 44px; margin-block: -12px -8px; font: 600 15px/1.2 var(--sans); color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 4px; }
.pp-chips { list-style: none; margin: 0 calc(-1 * var(--gut)); padding: 2px var(--gut) 6px; display: flex; gap: var(--s2); overflow-x: auto; scroll-snap-type: x proximity; scroll-padding: 0 var(--gut); scrollbar-width: none; }
.pp-chips::-webkit-scrollbar { display: none; }
.pp-chips li { flex: none; scroll-snap-align: start; }
.pp-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 16px 8px 12px; border: 1px solid var(--line-2); border-radius: var(--r-pill); background: transparent; color: var(--ink); font: 500 14.5px/1.2 var(--sans); text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease); }
.pp-chip:hover { border-color: var(--ink); color: var(--ink); }
.pp-chip i { flex: none; width: 14px; height: 14px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px var(--line-2); }
.pp-chip[aria-checked="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.pp-chip[aria-checked="true"] i { box-shadow: 0 0 0 1.5px var(--paper); }
.pp-chip:focus-visible { outline: 2px solid var(--berry); outline-offset: 2px; }
.pp-nb { display: grid; gap: var(--s2); }
.pp-nb[hidden] { display: none; }
.pp-pairs-static { display: none; list-style: none; margin: 0; padding: 0; }
html:not(.js) .pp-pairs-static { display: grid; }
.pp-pairs-static a { display: inline-flex; min-height: 44px; align-items: center; color: var(--ink); }
html:not(.js) .pp-chips--nb { display: none; }
@media (min-width: 900px) { .pp-chips { flex-wrap: wrap; overflow: visible; margin: 0; padding: 2px 0 6px; } }
.pp-seeit { margin-left: 4px; font-weight: 600; white-space: nowrap; }
/* the picker again, in the close */
.sl-close .pp-pick { margin-top: var(--s4); }
.sl-close .pp-chip, .sl-close .pp-pick-test { color: var(--paper); }
.sl-close .pp-chip:hover { border-color: var(--paper); }
.sl-close .pp-chip[aria-checked="true"] { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.sl-close .pp-chip[aria-checked="true"] i { box-shadow: 0 0 0 1.5px var(--ink); }

/* ---------- the control of the Phone Palette: a color against her palette ---------- */
.pp-static { margin: 0; max-width: 40ch; font-size: var(--fs-3); line-height: 1.55; color: var(--ink-2); }
.js .pp-static, .js .pp-static[hidden], .pp-check[hidden], .pp-drape[hidden] { display: none; }
.pp-sample { margin: 0; min-height: 1.4em; font: 600 15px/1.4 var(--sans); color: var(--ink-2); }
.pp-sample:empty { display: none; }
.pp-sample a { color: var(--ink); }
.pp-fine { margin: 0; max-width: 40ch; font-size: var(--fs-2); line-height: 1.5; color: var(--ink-2); }
.pp-check { display: grid; gap: var(--s3); max-width: 680px; padding: clamp(20px, 3vw, 40px); border-radius: var(--r-lg); background: var(--paper-2); }
.pp-in { display: flex; gap: var(--s3); align-items: end; }
.pp-pickcolor input { display: block; width: 72px; height: 56px; padding: 0; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: none; cursor: pointer; }
.pp-hexrow { flex: 1; min-width: 0; display: grid; gap: 6px; }
.pp-hexrow label { font: 600 12.5px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--graphite); }
.pp-hexrow input { width: 100%; min-height: 56px; padding: 6px 14px; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: var(--paper); color: var(--ink); font: 500 20px/1 ui-monospace, "SF Mono", Menlo, Consolas, monospace; text-transform: uppercase; }
.pp-hexrow input:focus { border-color: var(--ink); }
.pp-hexrow input[aria-invalid="true"] { border-color: var(--berry); }
.pp-tries { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s2); }
.pp-try { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px 8px 12px; border: 1px solid var(--line-2); border-radius: var(--r-pill); background: var(--paper); color: var(--ink); font: 500 15px/1.2 var(--sans); cursor: pointer; transition: border-color .3s var(--ease); }
.pp-try:hover { border-color: var(--ink); }
.pp-try i { width: 16px; height: 16px; border-radius: 50%; background: var(--c); }
.pp-out { display: grid; gap: var(--s3); padding-top: var(--s4); border-top: 1px solid var(--line-2); }
.pp-pairsw { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2); }
.pp-sw { display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; height: clamp(120px, 30vw, 180px); padding: 10px; border-radius: var(--r-sm); background: var(--c, var(--paper)); box-shadow: inset 0 0 0 1px var(--line); }
.pp-sw span, .pp-sw b { display: block; max-width: 100%; padding: 4px 8px; background: var(--paper); color: var(--ink); font: 600 14px/1.25 var(--sans); }
.pp-sw b { padding-top: 0; font: 400 13px/1.25 ui-monospace, "SF Mono", Menlo, Consolas, monospace; }
.pp-stamp { margin: 0; font: 600 12.5px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--berry); }
.pp-stamp[data-tier="yes"] { color: var(--strong); }
.pp-say { margin: 0; max-width: 44ch; font-size: var(--fs-4); line-height: 1.45; color: var(--ink); }
@media (min-width: 900px) { .pp-sw { height: 200px; } }

/* ---------- the control of the Neighbors pack: two seasons held to her face ---------- */
.pp-static--pack { display: grid; gap: var(--s3); max-width: 640px; }
.pp-drape { display: grid; gap: var(--s3); max-width: 640px; }
.pp-field { position: relative; display: flex; height: clamp(250px, 66vw, 340px); border-radius: var(--r-md); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.pp-half { display: block; flex: 1 1 0; min-width: 0; background: var(--c); transition: flex-grow .55s var(--ease); }
.pp-hit { position: absolute; inset: 0; z-index: 2; padding: 0; border: 0; background: transparent; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.pp-hit:focus-visible { outline: 2px solid var(--berry); outline-offset: -4px; }
.pp-field[data-mode="a"] .pp-half:nth-child(2), .pp-field[data-mode="b"] .pp-half:nth-child(1) { flex-grow: 0; }
.pp-tag { position: absolute; left: 10px; bottom: 10px; max-width: calc(50% - 20px); padding: 8px 11px 9px; background: var(--paper); color: var(--ink); border-radius: var(--r-sm); font: 400 14.5px/1.25 var(--sans); text-align: left; box-shadow: 0 6px 14px -8px rgba(43, 34, 48, .4); }
.pp-tag b { display: block; font: 400 19px/1.1 var(--serif); }
.pp-tag--b { left: calc(50% + 10px); }
.pp-field[data-mode="a"] .pp-tag, .pp-field[data-mode="b"] .pp-tag { max-width: calc(100% - 20px); }
.pp-field[data-mode="a"] .pp-tag--b, .pp-field[data-mode="b"] .pp-tag--a { display: none; }
.pp-field[data-mode="b"] .pp-tag--b { left: 10px; }
.pp-sides { display: flex; flex-wrap: wrap; gap: var(--s2); }
.pp-side { min-height: 40px; padding: 8px 16px; border: 1px solid var(--line-2); border-radius: var(--r-pill); background: transparent; color: var(--ink); font: 500 14.5px/1.2 var(--sans); cursor: pointer; transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease); }
.pp-side:hover { border-color: var(--ink); }
.pp-side[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.pp-side:focus-visible, .pp-dpair:focus-visible { outline: 2px solid var(--berry); outline-offset: 2px; }
.pp-dpairs { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s3); margin: 0; padding: 0; }
.pp-dpair { width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: linear-gradient(135deg, var(--a) 50%, var(--b) 50%); box-shadow: inset 0 0 0 1px var(--line-2); cursor: pointer; transition: transform .45s var(--ease), box-shadow .2s; }
.pp-dpair[aria-pressed="true"] { transform: scale(1.14); box-shadow: 0 0 0 3px var(--paper), 0 0 0 5px var(--ink); }
.pp-tip { margin: 0; min-height: 2.8em; font: 600 15px/1.45 var(--sans); color: var(--ink); }
.pp-dsteps { list-style: none; counter-reset: dp; margin: 0; padding: 0; border-top: 1px solid var(--line); max-width: 40em; }
.pp-dsteps li { counter-increment: dp; position: relative; padding: 12px 0 13px 48px; border-bottom: 1px solid var(--line); font-size: var(--fs-3); line-height: 1.45; color: var(--ink); }
.pp-dsteps li::before { content: counter(dp, decimal-leading-zero); position: absolute; left: 0; top: 16px; font: 600 13px/1 var(--sans); letter-spacing: .08em; color: var(--graphite); }
.pp-dp-row { display: grid; gap: var(--s2); }
.pp-dp-n { margin: 0; font-size: var(--fs-3); line-height: 1.4; color: var(--ink-2); }
.pp-dp-n b { color: var(--ink); }
.pp-dp-sw { list-style: none; display: flex; margin: 0; padding: 0; height: 54px; overflow: hidden; border-radius: var(--r-sm); box-shadow: inset 0 0 0 1px var(--line); }
.pp-dp-sw li { flex: 1; background: var(--c); }
.pp-dp-sw li span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (min-width: 900px) { .pp-field { height: 360px; } }

/* ---------- the fan of the named colors (Phone Palette, What is inside) ---------- */
.pp-fan-wrap { margin: 0; }
.pp-fan57 { position: relative; height: clamp(150px, 40vw, 210px); max-width: 480px; margin: var(--s2) 0 0; }
.pp-fan57 i { position: absolute; left: 50%; bottom: 0; width: clamp(30px, 8vw, 44px); height: clamp(108px, 30vw, 150px); margin-left: calc(clamp(30px, 8vw, 44px) / -2); background: var(--c); border: 3px solid #FFFDF8; border-radius: 2px; transform-origin: 50% 118%; transform: rotate(var(--r)); box-shadow: 0 6px 10px -6px rgba(43, 34, 48, .5); }

@media (prefers-reduced-motion: reduce) { .pp-chip, .pp-half, .pp-dpair, .pp-side, .pp-try { transition: none; } }
