/* mesa-px.css — «La mesa de corte» on the hubs and landings of Compras and Familia (r1850, 14-11-2026).
   ==========================================================================
   The look of /es/vidrio/ (assets/css/mesa-area.css): the site's header and the opening band in one full colour, the
   eyebrow in spaced capitals after a black dash, a big title, the badges as pills with a black edge, the tool on a white
   sheet with an ink edge and a hard shadow, pill buttons in ink, the example of a case on the black table, and the
   sections ruled by a 3 px ink line. Presentation only: no text, link, order or script changes; the pages keep
   px-tokens.css and px-landing.css, and this comes after them. Linked by tools/px-mesa.cjs (and by
   tools/build-px-landings.cjs and the apps' tools/pages/px-*.cjs when they write the pages). The band colour is each product's light colour from
   px-tokens.css (Compras violet, Familia berry), with ink on it, as the trades' colours carry ink in the mould. Light
   only, as the mould: the band, the sheets and the table are the same in a dark system theme, so the sheet sets the
   light values of the theme variables these pages use (base.css :root) on body.px.
   ========================================================================== */
@media screen{
body.px{
  --mp-ink:#0b0f0e; --mp-paper:#f4f1ea; --mp-mat:var(--px-compras-pale); --mp-edge:#0b0f0e;
  --mp-vw:calc(1vw / var(--zc,1)); --mp-gut:max(18px, calc(3.2 * var(--mp-vw)));
  --paper:#f4f1ea; --paper-2:#e9e5da; --surface:#fff; --surface-2:#faf8f3;
  --ink:#0b0f0e; --ink-2:#2a3330; --ink-3:#4a5450; --rule:#d8d3c6; --rule-2:#848a84;
  --wool-tint:#F5EAD0; --steel-tint:#DFE5E8; --warn:#935700; --fail:#B3261E; --pass:#12773A; --oak:#93561C; --heat:#B23B25; --glass:#0B7A68; --alu:#33618A;
  --e1:0 1px 0 rgba(20,38,58,.05),0 1px 2px rgba(20,38,58,.07); --e2:0 1px 0 rgba(20,38,58,.04),0 10px 28px -16px rgba(20,38,58,.32);
  --pxc:var(--px-compras-deep); --pxc-on:#fff; --pxc-band:var(--mp-mat); --pxc-band-ink:#0b0f0e; --pxc-band-ink2:#0b0f0e;
  color-scheme:light; background:var(--paper); color:var(--ink);
}
body.px.px-familia{ --mp-mat:var(--px-familia-pale); --pxc:var(--px-familia-deep); }

/* the header on the band, as on /es/vidrio/ */
:is(body.px, body.app:has(> main > :is(.sf-app[data-px], .px-plans))) .site-head{ position:relative; background:var(--mp-mat); border-bottom:0; color:#0b0f0e; box-shadow:none; }
:is(body.px, body.app:has(> main > :is(.sf-app[data-px], .px-plans))) .site-head > .wrap{ max-width:none; padding-inline:var(--mp-gut); }
:is(body.px, body.app:has(> main > :is(.sf-app[data-px], .px-plans))) .site-head :is(.nav > a, .nav-dd, .brand){ color:#0b0f0e; }
:is(body.px, body.app:has(> main > :is(.sf-app[data-px], .px-plans))) .site-head :is(.nav > a, .nav-dd):hover, :is(body.px, body.app:has(> main > :is(.sf-app[data-px], .px-plans))) .site-head .nav-drop.open > .nav-dd{ background:rgba(11,15,14,.1); }
:is(body.px, body.app:has(> main > :is(.sf-app[data-px], .px-plans))) .site-head .nav a[aria-current="page"]::after, :is(body.px, body.app:has(> main > :is(.sf-app[data-px], .px-plans))) .site-head .nav-dd.on::before{ background:#0b0f0e; }
:is(body.px, body.app:has(> main > :is(.sf-app[data-px], .px-plans))) .site-head :is(.sfp-btn, .menu-btn){ background:transparent; border-color:rgba(11,15,14,.55); color:#0b0f0e; }
:is(body.px, body.app:has(> main > :is(.sf-app[data-px], .px-plans))) .site-head .sfp-btn kbd{ border-color:rgba(11,15,14,.55); color:#0b0f0e; }
:is(body.px, body.app:has(> main > :is(.sf-app[data-px], .px-plans))) .site-head .nav > :is(a[href="/pricing/"], a[href="/es/precios/"]){ background:transparent; border:2px solid #0b0f0e; border-radius:999px; color:#0b0f0e; }
:is(body.px, body.app:has(> main > :is(.sf-app[data-px], .px-plans))) .site-head .nav > :is(a[href="/pricing/"], a[href="/es/precios/"]):hover{ background:#0b0f0e; color:#f4f1ea; }
@media (max-width:999px){ :is(body.px, body.app:has(> main > :is(.sf-app[data-px], .px-plans))) .site-head .nav > :is(a[href="/pricing/"], a[href="/es/precios/"]){ border:0; } }
:is(body.px, body.app:has(> main > :is(.sf-app[data-px], .px-plans))) .site-head :is(a, button):focus-visible{ outline:3px solid #0b0f0e; outline-offset:2px; }
:is(body.px, body.app:has(> main > :is(.sf-app[data-px], .px-plans))) :is(a, button, summary, input, textarea, select, [tabindex]):focus-visible{ outline:3px solid #0b0f0e; outline-offset:3px; }

/* the band */
body.px .px-hero{ padding:10px 0 30px; background:var(--mp-mat); color:#0b0f0e; border-bottom:3px solid #0b0f0e; isolation:auto; }
body.px .px-hero::before{ display:none; }
body.px .px-hero > .wrap, body.px .px-sec > .wrap{ max-width:1320px; padding-inline:var(--mp-gut); }
body.px .px-eyebrow{ display:flex; align-items:center; gap:12px; margin:6px 0 14px; color:#0b0f0e; font-size:.88rem; line-height:1.3; font-weight:800; font-stretch:100%; letter-spacing:.14em; text-transform:uppercase; }
body.px .px-eyebrow::before{ content:""; flex:0 0 34px; height:4px; background:currentColor; }
body.px .px-eyebrow svg{ display:none; }
body.px .px-crumbs ol{ font-weight:600; }
body.px .px-hero a:not(.px-btn){ color:#0b0f0e; text-decoration-color:currentColor; }
body.px .px-hero h1{ margin:0 0 16px; max-width:15em; color:#0b0f0e; font-weight:800; font-stretch:100%; letter-spacing:-.035em; line-height:.96; text-wrap:balance;
  font-size:clamp(2.1rem, calc(4.6 * var(--mp-vw)), 4.6rem); }
body.px .px-lead{ max-width:40em; color:#0b0f0e; font-weight:500; font-size:clamp(1.06rem, calc(1.2 * var(--mp-vw)), 1.2rem); line-height:1.4; }
body.px .px-badges li{ min-height:34px; padding:3px 13px; border:2px solid #0b0f0e; border-radius:999px; background:transparent; color:#0b0f0e; font-size:.82rem; font-weight:800; letter-spacing:.06em; text-transform:uppercase; box-shadow:none; }
body.px .px-badges svg{ display:none; }

/* the tool: a white sheet with an ink edge and a hard shadow */
body.px .px-tool{ border:3px solid #0b0f0e; border-radius:14px; box-shadow:8px 8px 0 #0b0f0e; color:#0b0f0e; }
body.px .px-tool .px-tool-h{ font-weight:800; letter-spacing:-.02em; }
body.px .px-choice{ border:2px solid #0b0f0e; border-radius:10px; background:#fff; box-shadow:none; }
body.px .px-choice:hover{ background:color-mix(in srgb, var(--mp-mat) 30%, #fff); }
body.px .px-choice:has(input:checked){ background:var(--mp-mat); border-color:#0b0f0e; box-shadow:none; }
body.px .px-choice input{ accent-color:#0b0f0e; }
body.px .px-checks li{ border-color:#0b0f0e; }
body.px .px-tool :is(textarea, select, input[type="text"]){ border:2px solid #0b0f0e; border-radius:8px; }

/* pill buttons in ink */
body.px .px-btn{ min-height:48px; border:2px solid #0b0f0e; border-radius:999px; background:#0b0f0e; color:#f4f1ea; font-weight:800; box-shadow:none; transform:none; }
body.px .px-btn:hover{ background:var(--mp-mat); color:#0b0f0e; border-color:#0b0f0e; box-shadow:none; transform:none; }
body.px .px-btn.ghost{ background:transparent; color:#0b0f0e; border-color:#0b0f0e; }
body.px .px-btn.ghost:hover{ background:#0b0f0e; color:#f4f1ea; }

/* the sections: ruled by an ink line, titles in the mould's weight */
body.px .px-sec{ margin:0; padding:36px 0 34px; border-top:3px solid #0b0f0e; }
body.px .px-hero + .px-sec{ border-top:0; }
body.px .px-sec h2{ max-width:26ch; font-weight:800; font-stretch:100%; letter-spacing:-.03em; line-height:1.02; font-size:clamp(1.6rem, calc(2.4 * var(--mp-vw)), 2.3rem); }
body.px .px-kicker{ display:flex; align-items:center; gap:12px; margin:0 0 10px; padding:0; border-radius:0; background:none; color:inherit; font-size:.82rem; font-weight:800; letter-spacing:.14em; text-transform:uppercase; }
body.px .px-kicker::before{ content:""; flex:0 0 28px; height:4px; background:currentColor; }
body.px :is(.px-solves li, .px-card, .px-faq details, .px-privacy){ border:2px solid #0b0f0e; border-radius:12px; background:#fff; box-shadow:none; }
body.px .px-card{ box-shadow:5px 5px 0 var(--mp-mat), 5px 5px 0 2px #0b0f0e; transition:transform .18s ease, box-shadow .18s ease; }
body.px .px-card:hover{ transform:translate(-2px, -2px); box-shadow:7px 7px 0 var(--mp-mat), 7px 7px 0 2px #0b0f0e; }
body.px .px-card h3{ color:#0b0f0e; font-weight:800; }
body.px .px-card-go{ color:#0b0f0e; font-weight:800; }
body.px .px-solve-ico{ background:var(--mp-mat); color:#0b0f0e; border:2px solid #0b0f0e; }
body.px .px-steps li::before{ background:#0b0f0e; color:#f4f1ea; }
body.px .px-privacy{ background:color-mix(in srgb, var(--mp-mat) 35%, #fff); }
body.px .px-privacy-ico{ background:#0b0f0e; color:#f4f1ea; }

/* the example of a case on the black table */
body.px .px-sec-ex{ background:#0b0f0e; border-top:0; }
body.px .px-sec-ex > .wrap > :is(h2, .px-kicker){ color:#f4f1ea; }
body.px .px-sec-ex .px-kicker::before{ background:var(--mp-mat); }
body.px .px-sec-ex > .wrap > .px-note{ color:#dedbd3; }
body.px .px-sec-ex :is(.px-before, .px-after){ border:2px solid #f4f1ea; border-radius:12px; box-shadow:none; color:#0b0f0e; }
body.px .px-sec-ex .px-before{ background:#e9e5da; }
body.px .px-sec-ex .px-after{ background:#fff; border-top:2px solid #f4f1ea; box-shadow:inset 0 6px 0 var(--mp-mat); }
body.px .px-sec-ex + .px-sec{ border-top:0; }

/* the closing call on the band colour */
body.px .px-next{ padding-bottom:40px; }
body.px .px-next-in{ border:3px solid #0b0f0e; border-radius:14px; background:var(--mp-mat); color:#0b0f0e; box-shadow:8px 8px 0 #0b0f0e; }
body.px .px-next p{ color:#0b0f0e; }

@media (min-width:960px){
  body.px .px-hero{ padding:8px 0 34px; }
  body.px .px-hero-in{ grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr); gap:calc(4 * var(--mp-vw)); align-items:start; }
}
/* the apps (Mis casos, Agenda, Hogar) and the plans: the header and the opening band only. The tool below keeps its
   own look and its dark theme: it is a working screen, and its colours are tested where they are written. The band
   reaches both edges by its shadows, so nothing scrolls sideways. */
body.app:has(> main > :is(.sf-app[data-px], .px-plans)){ --mp-mat:var(--px-compras-pale); --mp-vw:calc(1vw / var(--zc,1)); --mp-gut:max(18px, calc(3.2 * var(--mp-vw))); }
body.app:has(> main > .sf-app[data-px="familia"]){ --mp-mat:var(--px-familia-pale); }
body.app:has(> main > :is(.sf-app[data-px], .px-plans)) main > .hero{ position:relative; isolation:isolate; margin:0 0 26px; padding:10px 0 26px; background:var(--mp-mat); color:#0b0f0e; border:0; border-radius:0;
  box-shadow:0 0 0 100vmax var(--mp-mat), 0 3px 0 100vmax #0b0f0e; clip-path:inset(0 -100vmax -3px); color-scheme:light;
  --ink:#0b0f0e; --ink-2:#0b0f0e; --ink-3:#0b0f0e; --glass:#0b0f0e; --rule:rgba(11,15,14,.35); }
/* the area's drawing at the right (base.css, --wimg) stays, above the band */
body.app:has(> main > :is(.sf-app[data-px], .px-plans)) main > .hero::before{ display:none; }
body.app:has(> main > :is(.sf-app[data-px], .px-plans)) main > .hero > .eyebrow{ display:flex; align-items:center; gap:12px; margin:6px 0 0; color:#0b0f0e; font-size:.86rem; line-height:1.3; font-weight:800; letter-spacing:.14em; text-transform:uppercase; }
body.app:has(> main > :is(.sf-app[data-px], .px-plans)) main > .hero > .eyebrow::before{ content:""; flex:0 0 34px; height:4px; background:currentColor; }
body.app:has(> main > :is(.sf-app[data-px], .px-plans)) main > .hero > h1{ margin:14px 0 0; max-width:15em; color:#0b0f0e; font-weight:800; font-stretch:100%; letter-spacing:-.035em; line-height:.96; text-wrap:balance;
  font-size:clamp(2.1rem, calc(4.5 * var(--mp-vw)), 4.5rem); }
body.app:has(> main > :is(.sf-app[data-px], .px-plans)) main > .hero > .answer{ margin:16px 0 0; padding:0; border:0; border-radius:0; background:none; box-shadow:none; color:#0b0f0e; }
body.app:has(> main > :is(.sf-app[data-px], .px-plans)) main > .hero > .answer > p{ margin:0; max-width:44em; color:#0b0f0e; font-size:1.04rem; line-height:1.45; }
body.app:has(> main > :is(.sf-app[data-px], .px-plans)) main > .hero :is(a, .sf-more){ color:#0b0f0e; }
@media (min-width:1100px){ body.app:has(> main > :is(.sf-app[data-px], .px-plans)) main > .hero > :is(h1, .eyebrow, .answer){ max-width:min(900px, 60%); } }
@media print{ body.app main > .hero{ box-shadow:none !important; clip-path:none !important; } }
@media (prefers-reduced-motion: reduce){ body.px .px-card, body.px .px-card:hover{ transition:none; transform:none; } }
}
