:root {
  --bg: #0e0d0a;
  --bg-2: #13110d;
  --surface: #1a1712;
  --surface-2: #231f18;
  --line: rgb(243 236 223 / .1);
  --line-2: rgb(243 236 223 / .18);
  --ink: #f3ecdf;
  --muted: #a69c8b;
  --accent: #e9a23b;
  --accent-ink: #1a1206;
  --accent-soft: rgb(233 162 59 / .14);
  --rust: #c8561f;
  --wa: #25d366;
  --radius: 22px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --header: 64px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
/* `hidden` always wins (some components set their own display) */
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.is-locked { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; letter-spacing: -.025em; line-height: 1.02; margin: 0; }
h2 { font-size: clamp(2.2rem, 5.4vw, 4rem); }
h1 em, h2 em { font-style: italic; color: var(--accent); font-weight: 300; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--accent); color: var(--accent-ink); }

.wrap { width: min(1240px, 100%); margin-inline: auto; padding-inline: 16px; }
@media (min-width: 720px) { .wrap { padding-inline: 32px; } }

.eyebrow { margin: 0 0 14px; font-size: .74rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; }
.section-sub { color: var(--muted); max-width: 38em; margin: 16px 0 0; font-size: 1.05rem; }

/* grain */
.grain { position: fixed; inset: -50%; z-index: 100; pointer-events: none; opacity: .07; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); animation: grain 8s steps(10) infinite; }
@keyframes grain { 0%, 100% { transform: translate(0, 0); } 20% { transform: translate(-5%, 3%); } 40% { transform: translate(3%, -6%); } 60% { transform: translate(-4%, 5%); } 80% { transform: translate(6%, -2%); } }

/* reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.js-split .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .08em; margin-bottom: -.08em; }
.js-split .w > span { display: inline-block; transform: translateY(110%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--i) * 70ms + 150ms); }
.js-split.in .w > span { transform: none; }

/* buttons */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6em; border: 1px solid transparent; border-radius: 999px; padding: .95em 1.5em; font-weight: 600; font-size: .95rem; text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform .25s var(--ease), background .2s, border-color .2s, color .2s; }
.btn svg { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { background: #f3b45a; }
.btn--ghost { border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--wa { background: var(--wa); color: #06210f; }
.btn--wa svg { fill: currentColor; stroke: none; }
.btn--lg { padding: 1.1em 1.8em; font-size: 1rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.icon-btn { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; cursor: pointer; transition: background .2s, transform .2s; }
.icon-btn:hover { background: var(--surface-2); }
.icon-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

/* announce */
.announce { background: var(--accent); color: var(--accent-ink); font-size: .78rem; font-weight: 600; letter-spacing: .02em; text-align: center; padding: 8px 16px; }

/* topbar */
.topbar { position: sticky; top: 0; z-index: 50; transition: background .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; }
.topbar.is-scrolled { background: rgb(14 13 10 / .72); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); border-bottom-color: var(--line); }
.topbar__inner { display: flex; align-items: center; gap: 28px; height: var(--header); }
.brand { display: flex; align-items: baseline; gap: 10px; text-decoration: none; }
.brand__mark { font-family: var(--serif); font-style: italic; font-size: 1.5rem; font-weight: 500; letter-spacing: -.02em; }
.brand__mark i { color: var(--accent); }
@media (max-width: 559px) { .brand__mark { font-size: 1.02rem; line-height: 1.1; } }
.brand__sub { display: none; font-size: .66rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.nav { display: none; gap: 30px; }
.nav a { position: relative; text-decoration: none; font-size: .92rem; color: var(--muted); font-weight: 500; transition: color .2s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.topbar__actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.lang { display: inline-flex; border: 1px solid var(--line-2); border-radius: 999px; padding: 3px; }
.lang button { border: 0; background: none; padding: 4px 10px; border-radius: 999px; font-size: .74rem; font-weight: 600; color: var(--muted); cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.cart-btn { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--surface); cursor: pointer; transition: transform .2s, border-color .2s; }
.cart-btn:hover { border-color: var(--accent); }
.cart-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.cart-btn__count { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: .7rem; font-weight: 700; display: grid; place-items: center; transform: scale(0); transition: transform .3s var(--ease); }
.cart-btn__count.has { transform: scale(1); }
.cart-btn.bump { animation: bump .5s var(--ease); }
@keyframes bump { 30% { transform: scale(1.18) rotate(-6deg); } 60% { transform: scale(.95) rotate(3deg); } }
@media (min-width: 560px) { .brand__sub { display: inline; } }
@media (min-width: 860px) { .nav { display: flex; } }

/* hero */
.hero { position: relative; display: flex; justify-content: center; padding: clamp(36px, 7vh, 72px) 0 64px; overflow: hidden; }
.hero::before { content: ""; position: absolute; width: 900px; height: 900px; right: -300px; top: -300px; background: radial-gradient(closest-side, rgb(233 162 59 / .16), transparent); pointer-events: none; }
.hero__grid { display: grid; justify-items: center; gap: clamp(28px, 5vh, 48px); width: 100%; }
.hero__title { font-size: clamp(2.1rem, 6vw, 4.2rem); line-height: 1.02; letter-spacing: -.03em; text-align: center; max-width: 16em; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 30em; margin: 26px 0 32px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.stats { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 28px; margin: 44px 0 0; padding-top: 28px; border-top: 1px solid var(--line); --d: .3s; }
.stats div { margin: 0; }
.stats dt { font-family: var(--serif); font-size: 1.6rem; letter-spacing: -.02em; }
.stats dd { margin: 2px 0 0; font-size: .78rem; color: var(--muted); max-width: 11em; }
/* always 7:8 whatever the window size: the icons are positioned and sized in %, so a fixed
   height with a variable width made them collide on some screens */
.hero__art { position: relative; width: min(100%, 520px); aspect-ratio: 1; }
/* phone/tablet: the round icons come first, so the first screen already shows the products */

@keyframes kb { to { transform: scale(1.02) translate(-2%, -2%); } }

/* floating round "icons" (one per provider). The parallax owns `transform`;
   the bobbing uses `translate`, so both move the bubble at the same time. */
.bub { position: absolute; left: var(--x); top: var(--y); width: var(--s); display: block; text-decoration: none; will-change: transform; }
.bub--float { animation: bob var(--t, 6s) ease-in-out var(--dl, 0s) infinite; }
.bub:hover { z-index: 3; }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }
.bub__img { position: relative; display: block; width: 100%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; box-shadow: 0 30px 60px -24px rgb(0 0 0 / .85); outline: 2px solid rgb(243 236 223 / .14); outline-offset: 4px; transition: outline-color .3s, outline-offset .3s; }
.bub__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); animation: kb 18s ease-in-out infinite alternate; transition: filter .4s; filter: brightness(1.08) saturate(1.05); }
.bub__img { border: 3px solid #F3ECDF; outline-color: transparent !important; }
.bub:hover .bub__img, .subicon:hover .bub__img { border-color: var(--accent); }
.bub:hover .bub__img img { filter: brightness(1.1) saturate(1.1); }
.scroll-cue { position: absolute; left: 50%; bottom: 20px; width: 24px; height: 40px; margin-left: -12px; border: 1px solid var(--line-2); border-radius: 999px; display: none; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--accent); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

@media (max-width: 480px) { .stats { gap: 18px; } .stats dt { font-size: 1.3rem; } }

/* marquee */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 22px 0; background: var(--bg-2); }
.marquee__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee__track span { font-family: var(--serif); font-size: clamp(1.6rem, 4vw, 2.6rem); font-style: italic; font-weight: 300; padding-inline: 28px; white-space: nowrap; display: flex; align-items: center; gap: 56px; color: var(--muted); }
.marquee__track span::after { content: "✦"; font-style: normal; font-size: .5em; color: var(--accent); }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* section heads */
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }

/* shop */
.shop { padding: 110px 0 90px; }
.filters { display: flex; gap: 6px; flex-wrap: wrap; }
.filters button { border: 1px solid var(--line-2); background: transparent; color: var(--muted); padding: 9px 16px; border-radius: 999px; font-size: .88rem; font-weight: 500; cursor: pointer; transition: all .2s; }
.filters button:hover { color: var(--ink); border-color: var(--ink); }
.filters button[aria-selected="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.filters sup { font-size: .7em; margin-left: 3px; opacity: .6; }

.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: 20px; }
@media (max-width: 559px) { .products { grid-template-columns: 1fr 1fr; gap: 12px; } }

.card { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .5s var(--ease), border-color .3s, opacity .4s; transform-style: preserve-3d; --mx: 50%; --my: 50%; }
.card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(400px circle at var(--mx) var(--my), rgb(233 162 59 / .14), transparent 45%); opacity: 0; transition: opacity .3s; }
.card:hover { border-color: var(--line-2); }
.card:hover::after { opacity: 1; }
.card.is-hidden { display: none; }
.card__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; cursor: pointer; background: var(--surface-2); border: 0; padding: 0; width: 100%; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), opacity .5s; }
.card__media img + img { position: absolute; inset: 0; opacity: 0; }
.card:hover .card__media img { transform: scale(1.07); }
.card:hover .card__media img + img { opacity: 1; }
.card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgb(14 13 10 / .65), transparent 45%); pointer-events: none; }
.card__tag { position: absolute; z-index: 2; top: 12px; left: 12px; background: var(--accent); color: var(--accent-ink); font-size: .66rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; }
.card__origin { position: absolute; z-index: 2; left: 14px; bottom: 12px; font-size: .74rem; font-weight: 500; color: var(--ink); display: flex; align-items: center; gap: 6px; }
.card__origin svg { width: 12px; height: 12px; fill: var(--accent); }
.card__body { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px 18px; flex: 1; }
.card__name { font-family: var(--serif); font-size: 1.32rem; letter-spacing: -.015em; line-height: 1.15; }
.card__latin { font-size: .78rem; font-style: italic; color: var(--muted); }
.card__row { display: flex; align-items: end; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 16px; }
.price { font-family: var(--serif); font-size: 1.7rem; letter-spacing: -.02em; line-height: 1; }
.price small { font-family: var(--sans); font-size: .74rem; color: var(--muted); margin-left: 2px; letter-spacing: 0; }
.add { position: relative; display: inline-flex; align-items: center; gap: 6px; height: 42px; padding: 0 16px; border-radius: 999px; border: 0; background: var(--ink); color: var(--bg); font-weight: 600; font-size: .86rem; cursor: pointer; overflow: hidden; transition: transform .2s, background .25s; }
.add:hover { background: var(--accent); }
.add:active { transform: scale(.95); }
.add svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.add.done { background: var(--wa); color: #06210f; }
@media (max-width: 559px) {
  .card__body { padding: 12px 12px 14px; }
  .card__name { font-size: 1.05rem; }
  .card__latin { display: none; }
  .card__row { flex-direction: column; align-items: stretch; gap: 10px; padding-top: 10px; }
  .price { font-size: 1.35rem; }
  .add { justify-content: center; height: 38px; }
  .card__tag { top: 8px; left: 8px; font-size: .58rem; }
  .card__origin { left: 10px; bottom: 8px; font-size: .68rem; }
}

/* illustrated placeholder */
.illu { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(120% 80% at 30% 20%, color-mix(in srgb, var(--tone) 75%, white 8%), var(--tone) 55%, color-mix(in srgb, var(--tone) 60%, black)); overflow: hidden; }
.illu svg { width: 62%; opacity: .9; filter: drop-shadow(0 20px 30px rgb(0 0 0 / .35)); transition: transform 1.2s var(--ease); }
.card:hover .illu svg { transform: translateY(-6px) rotate(-3deg) scale(1.04); }
.illu__name { position: absolute; top: 14%; left: 0; right: 0; text-align: center; font-family: var(--serif); font-style: italic; font-size: clamp(1rem, 3vw, 1.5rem); color: rgb(255 255 255 / .2); }
.illu__soon { position: absolute; right: 12px; top: 12px; font-size: .62rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: rgb(255 255 255 / .55); }
.illu__initial { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(2.2rem, 40cqw, 7rem); line-height: 1; color: rgb(255 255 255 / .55); }
.mp__thumb .illu__initial { font-size: 2.4rem; }

.shop__note { display: flex; align-items: center; gap: 10px; margin: 28px 0 0; font-size: .85rem; color: var(--muted); }
.shop__note strong { color: var(--ink); font-weight: 600; }
.pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--wa); }
.pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--wa); animation: pulse 2s ease-out infinite; }
@keyframes pulse { to { transform: scale(3.5); opacity: 0; } }

/* providers (screen 1) */
.providers { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 18px; }
.pcard { position: relative; display: flex; flex-direction: column; text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .3s, transform .4s var(--ease); }
.pcard:hover { border-color: var(--line-2); transform: translateY(-4px); }
.pcard__media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-2); }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.pcard:hover .pcard__media img { transform: scale(1.06); }
.pcard__ph { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 6rem; color: var(--accent); background: radial-gradient(120% 90% at 30% 20%, var(--surface-2), var(--bg-2)); }
.pcard__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgb(14 13 10 / .5), transparent 50%); pointer-events: none; }
.pcard__body { display: flex; flex-direction: column; gap: 4px; padding: 18px 64px 20px 20px; }
.pcard__offer { font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.pcard__name { font-family: var(--serif); font-size: 1.7rem; letter-spacing: -.02em; line-height: 1.1; }
.pcard__meta { font-size: .85rem; color: var(--muted); }
.pcard__ask { color: var(--accent); font-weight: 600; }
.pcard__go { position: absolute; right: 18px; bottom: 22px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); transition: background .25s, border-color .25s, color .25s; }
.pcard__go svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pcard:hover .pcard__go { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }

/* provider page (opened from an icon): it replaces the home while it is open */
body.in-provider .shop { padding: 12px 0 56px; min-height: calc(100svh - var(--header)); }
.provider__home { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: .85rem; text-decoration: none; padding: 6px 0; }
.provider__home:hover { color: var(--ink); }
.provider__home svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
/* the company's logo or name is the page title */
.provider__head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 4px 0 16px; }
.provider__title { font-size: clamp(2.1rem, 7vw, 3.4rem); line-height: 1.05; }
.provider__logo { display: block; height: clamp(88px, 20vw, 128px); width: auto; max-width: min(340px, 82vw); border-radius: 14px; object-fit: contain; }
.provider__cat { margin: 6px 0 0; font-size: .74rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }
.provider__note { margin: 2px 0 0; color: var(--muted); font-size: .85rem; max-width: 36em; }
.provider__body { padding-top: 4px; border-top: 1px solid var(--line-2); }
/* small calendar button under the name (the products are already open) */
.provider__calbtn { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; border: 1px solid var(--accent); background: transparent; color: var(--accent); padding: 6px 13px; border-radius: 999px; font-size: .8rem; font-weight: 600; cursor: pointer; transition: background .2s, color .2s; }
.provider__calbtn:hover, .provider__calbtn[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); }
.provider__calbtn svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
/* sub-icons: round photos like the home, with their name (an oil brand must be readable) */
.subicons { display: flex; justify-content: center; gap: clamp(20px, 6vw, 56px); padding: 32px 0 16px; flex-wrap: wrap; }
.subicon { display: flex; flex-direction: column; align-items: center; gap: 14px; width: min(40vw, 230px); text-decoration: none; text-align: center; }
.subicon .bub__img img { animation: none; transform: none; }
.subicon__name { font-family: var(--serif); font-size: clamp(1rem, 3.6vw, 1.25rem); line-height: 1.2; }
.subicon:hover .bub__img { outline-color: var(--accent); outline-offset: 6px; }
.subicon:hover .subicon__name { color: var(--accent); }
/* the green button under every list: orders and questions, to Romà */
.provider__wa { padding: 26px 0 4px; display: flex; justify-content: center; }
/* WhatsApp: a compact capsule, big icon on the left, two lines of text */
.wa-pill { gap: 12px; padding: 11px 26px 11px 18px; border-radius: 999px; text-align: left; box-shadow: 0 10px 30px -12px rgb(37 211 102 / .55); }
.wa-pill svg { width: 30px; height: 30px; }
.wa__txt { display: flex; flex-direction: column; line-height: 1.15; }
.wa__txt small { font-size: .74rem; font-weight: 500; opacity: .85; }
.wa__txt b { font-size: 1.02rem; font-weight: 700; white-space: nowrap; }
.price--ask { font-family: var(--sans); font-size: .82rem !important; font-weight: 600; color: var(--accent); }
.provider__calcats { margin: 14px auto; width: max-content; }
.provider__soon { padding: 32px 0; color: var(--muted); text-align: center; }
.provider__empty { padding: 22px 0 4px; }
.provider__empty p { margin: 0 0 12px; color: var(--muted); font-size: .9rem; max-width: 36em; }
.btn--sm { padding: .65em 1.1em; font-size: .88rem; }
.btn--sm:hover svg { transform: none; }

/* product rows: compact, so the list needs little scrolling on a phone */
.mp { display: grid; grid-template-columns: 60px 1fr; gap: 4px 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.mp__thumb { position: relative; width: 60px; height: 60px; border-radius: 12px; overflow: hidden; padding: 0; border: 0; background: var(--surface-2); cursor: zoom-in; }
.mp__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.mp__thumb:hover img { transform: scale(1.1); }
.mp__thumb--empty { cursor: default; }
.mp__thumb--empty .illu svg { width: 70%; }
.mp__thumb .illu__initial { font-size: 1.9rem; }
.mp__count { position: absolute; right: 4px; bottom: 4px; min-width: 18px; padding: 0 5px; border-radius: 999px; background: rgb(14 13 10 / .75); font-size: .62rem; font-weight: 600; text-align: center; }
.mp__name { font-family: var(--serif); font-size: 1.08rem; letter-spacing: -.01em; line-height: 1.2; }
.mp__tag { display: inline-block; vertical-align: 2px; margin-left: 4px; font-family: var(--sans); font-size: .58rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 2px 7px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); }
.mp__sub { margin: 2px 0 0; font-size: .74rem; color: var(--muted); }
.mp__desc { margin: 3px 0 0; font-size: .8rem; line-height: 1.45; color: var(--muted); max-width: 46em; }
.mp__buy { grid-column: 2; display: grid; margin-top: 2px; }
/* shortcuts to the sections of a long list: small chips, all visible (wrapping lines) */
.mp-jump { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; padding: 14px 0 4px; }
.mp-jump a { flex: none; padding: 6px 12px; border: 1px solid var(--line-2); border-radius: 999px; font-size: .78rem; color: var(--muted); text-decoration: none; white-space: nowrap; }
.mp-jump a:hover { color: var(--ink); border-color: var(--ink); }
.mp-sec { scroll-margin-top: calc(var(--header) + 12px); }
/* caviar sheet: facts in one wrapped line, then three short texts */
.mp__ficha { margin-top: 8px; display: grid; gap: 6px; font-size: .8rem; line-height: 1.45; color: var(--muted); max-width: 46em; }
.mp__datos { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: .74rem; }
.mp__ficha b { color: var(--accent); font-weight: 600; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; margin-right: 4px; }
.mp__ficha p { margin: 0; }
/* round logo with lettering (Josep): bigger so it can be read */
.provider__logo[src$=".png"] { border-radius: 50%; height: clamp(130px, 36vw, 180px); }
/* section titles inside a long list (Verduras, Ajos, Tomates…) */
.mp-sec { margin: 26px 0 2px; padding-bottom: 6px; font-family: var(--sans); font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); border-bottom: 1px solid var(--line-2); }
/* a row without photo: just name and price, like a price list */
.mp--plain { padding: 9px 0; }
.mp.mp--plain:not(.mp--multi) { grid-template-columns: 1fr auto; }
.mp--plain .mp__name { font-family: var(--sans); font-size: .92rem; font-weight: 500; letter-spacing: 0; }
.mp--plain .mp__desc { margin-top: 1px; font-size: .76rem; }
.mp.mp--plain:not(.mp--multi) .mp__buy { grid-column: 2; }
.mp--plain .mp__opt .price { font-size: 1rem; }
/* one price: on the same line as the name, so a phone shows more products per screen */
.mp:not(.mp--multi) { grid-template-columns: 60px 1fr auto; }
.mp:not(.mp--multi) .mp__buy { grid-column: 3; grid-row: 1; align-self: start; margin: 0; }
.mp:not(.mp--multi) .mp__opt { min-height: 0; }
.mp--multi .mp__buy { grid-column: 1 / -1; margin-top: 6px; }
.mp__opt { display: flex; align-items: center; gap: 10px; min-height: 40px; }
.mp--multi .mp__opt { border-top: 1px dashed var(--line); }
.mp__fmt { flex: 1; min-width: 0; font-size: .84rem; }
.mp__opt .price { margin-left: auto; font-size: 1.12rem; white-space: nowrap; }
.mp__opt .price small { font-size: .7rem; }
.mp .add { height: 34px; padding: 0 12px; font-size: .8rem; flex: none; }
@media (max-width: 400px) { .mp .add span { display: none; } .mp .add { width: 34px; padding: 0; justify-content: center; } }
@media (min-width: 720px) {
  .mp { grid-template-columns: 72px 1fr minmax(320px, 40%); gap: 0 20px; align-items: center; }
  .mp--multi { align-items: start; }
  .mp__thumb { width: 72px; height: 72px; }
  .mp__buy, .mp--multi .mp__buy { grid-column: auto; margin: 0; }
  .mp--multi .mp__opt:first-child { border-top: 0; }
}

/* lightbox */
.lightbox { padding: 0; border: 0; background: transparent; max-width: 100vw; max-height: 100svh; width: 100vw; height: 100svh; overflow: hidden; color: var(--ink); }
.lightbox::backdrop { background: rgb(8 7 5 / .92); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.lightbox[open] { display: grid; place-items: center; animation: fade .3s; }
.lightbox__fig { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 64px 16px 24px; }
.lightbox__fig img { max-width: min(1100px, calc(100vw - 32px)); max-height: calc(100svh - 140px); object-fit: contain; border-radius: 14px; }
.lightbox__fig figcaption { display: flex; gap: 14px; font-family: var(--serif); font-size: 1.2rem; }
.lightbox__n { font-family: var(--sans); font-size: .85rem; color: var(--muted); align-self: center; }
.lightbox__close { position: fixed; top: 16px; right: 16px; background: rgb(14 13 10 / .6); }
.lightbox__nav { position: fixed; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; background: rgb(14 13 10 / .6); }
.lightbox__prev { left: 12px; }
.lightbox__next { right: 12px; }

/* feature */
.feature { position: relative; overflow: hidden; border-block: 1px solid var(--line); background: var(--bg-2); }
.feature__grid { display: grid; min-height: 560px; }
.feature__media { position: relative; overflow: hidden; min-height: 380px; }
.feature__media img { position: absolute; inset: -10% 0; width: 100%; height: 120%; object-fit: cover; will-change: transform; }
.feature__body { display: flex; flex-direction: column; justify-content: center; padding: 56px 16px; }
.feature__body h2 { font-size: clamp(2.4rem, 6vw, 4.6rem); margin-bottom: 18px; }
.feature__body p { color: var(--muted); font-size: 1.08rem; max-width: 30em; margin: 0 0 30px; }
.feature__price { display: flex; align-items: baseline; gap: 10px; margin-bottom: 28px; }
.feature__price .price { font-size: 3.4rem; color: var(--accent); }
.feature__buy { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
@media (min-width: 900px) { .feature__grid { grid-template-columns: 1.1fr 1fr; } .feature__body { padding: 80px 64px; } }

/* stepper */
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 999px; height: 48px; }
.stepper button { width: 44px; height: 100%; border: 0; background: none; cursor: pointer; font-size: 1.2rem; color: var(--ink); border-radius: 999px; transition: background .2s; }
.stepper button:hover { background: var(--surface-2); }
.stepper output { min-width: 64px; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }
.stepper--sm { height: 34px; }
.stepper--sm button { width: 32px; font-size: 1rem; }
.stepper--sm output { min-width: 52px; font-size: .88rem; }

/* season */
.season { padding: 110px 0; }
.now-panel { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 36px; }
.now-panel__col { background: var(--surface); padding: 22px; }
.now-panel h3 { font-family: var(--sans); font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.now-panel h3 .js-month-name { color: var(--ink); }
.dot { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.dot--full { background: var(--accent); }
.dot--half { background: repeating-linear-gradient(135deg, var(--accent) 0 2px, transparent 2px 4px); border: 1px solid var(--accent); }
.now-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.now-chip { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line-2); background: var(--bg-2); border-radius: 999px; padding: 7px 13px; font-size: .88rem; cursor: pointer; transition: border-color .2s, transform .2s; color: var(--ink); }
.now-chip:hover { border-color: var(--accent); transform: translateY(-1px); }
.now-chip small { color: var(--muted); font-size: .76rem; }
.now-chip .lvl { width: 8px; height: 8px; border-radius: 2px; background: var(--accent); }
.now-chip .lvl.l1 { background: repeating-linear-gradient(135deg, var(--accent) 0 2px, transparent 2px 4px); outline: 1px solid var(--accent); }
.now-chip .buy { width: 7px; height: 7px; border-radius: 50%; background: var(--wa); }
.now-empty { color: var(--muted); font-size: .9rem; }
@media (min-width: 900px) { .now-panel { grid-template-columns: 1.5fr 1fr 1fr; } .now-panel__col { padding: 28px 30px; } }

.cal-controls { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.seg { display: flex; gap: 4px; padding: 4px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); overflow-x: auto; max-width: 100%; scrollbar-width: none; }
.seg::-webkit-scrollbar { display: none; }
.seg button { flex: none; border: 0; background: none; padding: 9px 14px; border-radius: 10px; font-size: .88rem; font-weight: 500; color: var(--muted); cursor: pointer; transition: all .2s; }
.seg button[aria-selected="true"] { background: var(--ink); color: var(--bg); }
.search { position: relative; display: flex; align-items: center; width: min(100%, 320px); }
.search svg { position: absolute; left: 14px; width: 17px; height: 17px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; }
.search input { width: 100%; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); border-radius: 999px; padding: 11px 16px 11px 40px; font: inherit; font-size: .92rem; }
.search input::placeholder { color: var(--muted); }
.search input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }

/* calendar grid */
.cal { --name: 34%; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; overflow: clip; }
/* `clip` (not `hidden`) so the month header sticks to the screen, not to the table; in a provider it sits under the tabs */
.provider__body .cal__head { top: var(--header); }
.cal__head, .cal__row { display: grid; grid-template-columns: var(--name) 1fr; align-items: center; }
.cal__head { position: sticky; top: var(--header); z-index: 5; background: rgb(26 23 18 / .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.cal__months { display: grid; grid-template-columns: repeat(12, 1fr); }
.cal__months span { text-align: center; font-size: .66rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); padding: 12px 0; }
.cal__months span.is-now { color: var(--accent); }
.cal__months .l { display: none; }
@media (max-width: 519px) { .cal__months .s { display: none; } .cal__months .l { display: inline; } }
.cal__head .cal__label { padding: 12px 16px; font-size: .66rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.cal__group { padding: 18px 16px 8px; font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--accent); border-top: 1px solid var(--line); }
.cal__group:first-of-type { border-top: 0; }
.cal__item { border-top: 1px solid var(--line); }
.cal__group + .cal__item { border-top: 0; }
.cal__row { width: 100%; border: 0; background: none; text-align: left; cursor: pointer; padding: 0; min-height: 48px; transition: background .2s; }
.cal__row:hover, .cal__item.is-open .cal__row { background: var(--surface-2); }
.cal__name { padding: 10px 10px 10px 16px; font-size: .9rem; font-weight: 500; line-height: 1.25; display: flex; align-items: center; gap: 8px; min-width: 0; }
.cal__name > span { overflow: hidden; text-overflow: ellipsis; }
.cal__name .buy { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--wa); }
.cal__bars { position: relative; display: grid; grid-template-columns: repeat(12, 1fr); align-items: center; height: 100%; padding-right: 10px; }
.cal__bars::before { content: ""; position: absolute; top: 0; bottom: 0; left: calc(var(--now) * (100% - 10px) / 12); width: calc((100% - 10px) / 12); background: var(--accent-soft); pointer-events: none; }
.cell { position: relative; height: 18px; margin: 0 1px; }
.cell--0::after { content: ""; position: absolute; left: 50%; top: 50%; width: 3px; height: 3px; margin: -1.5px; border-radius: 50%; background: var(--line-2); }
.cell--1 { background: repeating-linear-gradient(135deg, rgb(233 162 59 / .85) 0 2px, rgb(233 162 59 / .25) 2px 5px); }
.cell--2 { background: var(--accent); }
.cell--1, .cell--2 { margin: 0; transform-origin: left; animation: grow .7s var(--ease) both; animation-delay: calc(var(--c) * 30ms + var(--r) * 25ms); }
.cell.s { border-top-left-radius: 9px; border-bottom-left-radius: 9px; margin-left: 2px; }
.cell.e { border-top-right-radius: 9px; border-bottom-right-radius: 9px; margin-right: 2px; }
@keyframes grow { from { transform: scaleX(0); opacity: 0; } }
.cal__detail { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.cal__item.is-open .cal__detail { grid-template-rows: 1fr; }
.cal__detail > div { overflow: hidden; }
.cal__detail-in { padding: 4px 16px 20px; display: grid; gap: 14px; }
.facts { display: flex; flex-wrap: wrap; gap: 8px; }
.fact { border: 1px solid var(--line-2); border-radius: 12px; padding: 8px 12px; min-width: 96px; }
.fact b { display: block; font-size: .66rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.fact span { font-family: var(--serif); font-size: 1.08rem; }
.fact--accent { border-color: var(--accent); }
.fact--accent span { color: var(--accent); }
.cal__note { margin: 0; color: var(--muted); font-size: .92rem; max-width: 52em; }
.cal__buy { justify-self: start; }
.cal__yearround { margin: 0; padding: 16px; border-top: 1px solid var(--line); font-size: .88rem; color: var(--muted); }
.cal__yearround b { color: var(--ink); font-weight: 600; }
@media (min-width: 720px) { .cal__yearround { padding-left: 22px; } }
.cal__empty { padding: 40px 16px; text-align: center; color: var(--muted); }
.cal-legend { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 18px; font-size: .8rem; color: var(--muted); }
.cal-legend > span { display: inline-flex; align-items: center; gap: 8px; }
.cal-legend .cell { display: inline-block; width: 22px; height: 12px; border-radius: 6px; margin: 0; animation: none; }
.cal-legend .cell--0 { border: 1px dashed var(--line-2); }
.cal-legend .cell--0::after { display: none; }
.cal-legend .cell--now { background: var(--accent-soft); border-radius: 3px; }
@media (min-width: 720px) { .cal { --name: 260px; } .cal__months span { font-size: .72rem; } .cal__name { font-size: .95rem; padding-left: 22px; } .cal__head .cal__label, .cal__group, .cal__detail-in { padding-left: 22px; } .cell { height: 22px; } .cal__bars { padding-right: 18px; } .cal__bars::before { left: calc(var(--now) * (100% - 18px) / 12); width: calc((100% - 18px) / 12); } }
@media (max-width: 400px) { .cal { --name: 31%; } .cal__name { font-size: .82rem; padding-left: 12px; padding-right: 6px; } .cal__months span { font-size: .58rem; letter-spacing: 0; } .cell { height: 15px; } .cal__bars { padding-right: 6px; } .cal__bars::before { left: calc(var(--now) * (100% - 6px) / 12); width: calc((100% - 6px) / 12); } }

/* contact */
.contact { padding: 110px 0; background: radial-gradient(80% 120% at 100% 0%, rgb(233 162 59 / .12), transparent 60%), var(--bg-2); border-top: 1px solid var(--line); }
.contact__inner { display: grid; gap: 32px; align-items: end; }
.contact p { color: var(--muted); max-width: 32em; margin: 18px 0 0; font-size: 1.08rem; }
.contact__cta { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 900px) { .contact__inner { grid-template-columns: 1.3fr 1fr; } .contact__cta { justify-content: flex-end; } }

/* footer */
.footer { padding: 36px 0 calc(36px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); font-size: .84rem; color: var(--muted); }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; }
.footer__brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.footer img { border-radius: 10px; filter: grayscale(1) invert(1); opacity: .8; }
.footer p { margin: 0; }
.footer__contact a { color: var(--ink); font-weight: 600; text-decoration: none; }
.footer__contact a:hover { color: var(--accent); }
.footer__credits { flex-basis: 100%; font-size: .72rem; opacity: .7; }

/* drawer */
.scrim { position: fixed; inset: 0; z-index: 80; background: rgb(0 0 0 / .55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); opacity: 0; transition: opacity .4s; }
.scrim.on { opacity: 1; }
.drawer { position: fixed; z-index: 90; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--surface); border-left: 1px solid var(--line); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .55s var(--ease); }
.drawer.on { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.drawer__head h2 { font-size: 1.7rem; }
.drawer__body { flex: 1; overflow-y: auto; padding: 8px 22px; overscroll-behavior: contain; }
.drawer__foot { padding: 20px 22px calc(20px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--bg-2); }
.line { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: center; animation: lineIn .5s var(--ease) both; }
@keyframes lineIn { from { opacity: 0; transform: translateX(20px); } }
.line__img { width: 72px; height: 72px; border-radius: 14px; overflow: hidden; position: relative; background: var(--surface-2); }
.line__img img { width: 100%; height: 100%; object-fit: cover; }
.line__img .illu svg { width: 70%; }
.line__img .illu__name, .line__img .illu__soon { display: none; }
.line__name { font-family: var(--serif); font-size: 1.08rem; line-height: 1.2; }
.line__meta { font-size: .78rem; color: var(--muted); margin: 2px 0 8px; }
.line__total { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.line__rm { display: block; margin-top: 8px; margin-left: auto; border: 0; background: none; color: var(--muted); font-size: .74rem; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.line__rm:hover { color: var(--ink); }
.totals { display: grid; gap: 6px; margin-bottom: 16px; font-size: .9rem; }
.totals div { display: flex; justify-content: space-between; color: var(--muted); }
.totals .grand { color: var(--ink); font-size: 1.1rem; font-weight: 600; padding-top: 8px; border-top: 1px dashed var(--line-2); margin-top: 4px; }
.totals .grand span:last-child { font-family: var(--serif); font-size: 1.6rem; font-weight: 400; }
.secure { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 12px; font-size: .74rem; color: var(--muted); text-align: center; }
.secure svg { flex: none; }
.secure svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; }
.empty { text-align: center; padding: 60px 10px; color: var(--muted); }
.empty svg { width: 64px; height: 64px; margin: 0 auto 18px; fill: none; stroke: var(--line-2); stroke-width: 1.2; }
.empty strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.5rem; color: var(--ink); margin-bottom: 6px; }

/* modals */
.modal { padding: 0; border: 1px solid var(--line); border-radius: 26px; background: var(--surface); color: var(--ink); max-width: min(960px, calc(100% - 24px)); width: 100%; max-height: calc(100svh - 24px); overflow: auto; box-shadow: 0 50px 100px -30px rgb(0 0 0 / .8); }
.modal::backdrop { background: rgb(0 0 0 / .6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.modal[open] { animation: pop .5s var(--ease); }
.modal[open]::backdrop { animation: fade .4s; }
@keyframes pop { from { opacity: 0; transform: translateY(24px) scale(.97); } }
@keyframes fade { from { opacity: 0; } }
.modal .icon-btn.js-close-modal { position: absolute; top: 14px; right: 14px; z-index: 3; background: rgb(14 13 10 / .6); backdrop-filter: blur(8px); }
.pm { display: grid; }
.pm__gallery { position: relative; background: var(--surface-2); aspect-ratio: 4/5; max-height: 70svh; overflow: hidden; }
.pm__slides { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.pm__slides::-webkit-scrollbar { display: none; }
.pm__slides > * { flex: 0 0 100%; height: 100%; scroll-snap-align: center; position: relative; }
.pm__slides img { width: 100%; height: 100%; object-fit: cover; }
.pm__dots { position: absolute; bottom: 14px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; }
.pm__dots button { width: 7px; height: 7px; padding: 0; border-radius: 999px; border: 0; background: rgb(255 255 255 / .45); cursor: pointer; transition: width .3s var(--ease), background .3s; }
.pm__dots button.on { width: 22px; background: #fff; }
.pm__body { padding: 28px 22px; display: flex; flex-direction: column; gap: 6px; }
.pm__body h2 { font-size: clamp(2rem, 5vw, 2.8rem); }
.pm__latin { font-style: italic; color: var(--muted); }
.pm__desc { color: var(--muted); margin: 14px 0 6px; }
.pm__meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 18px; }
.pm__meta span { border: 1px solid var(--line-2); border-radius: 999px; padding: 5px 12px; font-size: .8rem; }
.pm__price { display: flex; align-items: baseline; gap: 12px; margin: 6px 0 18px; }
.pm__price .price { font-size: 2.6rem; }
.pm__sum { color: var(--muted); font-size: .9rem; }
.pm__buy { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 4px; }
.pm__buy .btn { flex: 1; min-width: 160px; }
.pm__season { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.pm__season b { display: block; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; font-weight: 600; }
.mini-cal { display: grid; grid-template-columns: repeat(12, 1fr); gap: 3px; }
.mini-cal i { height: 8px; border-radius: 3px; background: var(--line); }
.mini-cal i.l1 { background: repeating-linear-gradient(135deg, rgb(233 162 59 / .9) 0 2px, rgb(233 162 59 / .25) 2px 4px); }
.mini-cal i.l2 { background: var(--accent); }
.mini-cal span { font-size: .6rem; text-align: center; color: var(--muted); }
.mini-cal span.now { color: var(--accent); font-weight: 700; }
@media (min-width: 820px) { .pm { grid-template-columns: 1.05fr 1fr; } .pm__gallery { aspect-ratio: auto; max-height: none; height: min(640px, calc(100svh - 26px)); } .pm__body { padding: 44px 40px; overflow-y: auto; max-height: min(640px, calc(100svh - 26px)); } .modal--product { overflow: hidden; } }

/* checkout */
.modal--checkout { max-width: min(520px, calc(100% - 24px)); }
.co { padding: 28px 22px 24px; }
.co__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; padding-right: 40px; }
.co h2 { font-size: 1.9rem; }
.co__demo { display: inline-flex; align-items: center; gap: 6px; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); background: var(--accent-soft); padding: 5px 10px; border-radius: 999px; }
.co__sub { color: var(--muted); font-size: .88rem; margin: 0 0 20px; }
.co__summary { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 18px; background: var(--bg-2); }
.co__summary span { color: var(--muted); font-size: .88rem; }
.co__summary strong { font-family: var(--serif); font-size: 1.7rem; font-weight: 400; }
.field { display: grid; gap: 6px; margin-bottom: 12px; }
.field label { font-size: .78rem; font-weight: 600; color: var(--muted); }
.field input, .field textarea { width: 100%; border: 1px solid var(--line-2); background: var(--bg-2); color: var(--ink); border-radius: 12px; padding: 13px 14px; font: inherit; font-size: .95rem; transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 76px; }
.field label small { font-weight: 400; opacity: .8; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 480px) { .field-row { grid-template-columns: 1fr; gap: 0; } }
/* honeypot: hidden from people, bots fill it */
.co__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.co__error { margin: 4px 0 12px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--rust); color: var(--ink); font-size: .88rem; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.co__error[hidden] { display: none; }
.success .btn { margin: 4px; }
.success__wa { font-size: .88rem; margin-top: 0 !important; }
.card-field { position: relative; }
.card-field input { padding-right: 70px; letter-spacing: .04em; }
.card-field .brands { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); display: flex; gap: 4px; }
.card-field .brands i { width: 26px; height: 17px; border-radius: 3px; background: var(--surface-2); border: 1px solid var(--line-2); }
.co__pay { margin-top: 10px; height: 54px; font-size: 1rem; }
.co__pay .spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgb(26 18 6 / .3); border-top-color: var(--accent-ink); animation: spin .7s linear infinite; display: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.co__pay.loading .spinner { display: block; }
.co__pay.loading .lbl { opacity: .7; }
.co__fine { text-align: center; font-size: .74rem; color: var(--muted); margin: 14px 0 0; }
.success { text-align: center; padding: 48px 26px 34px; }
.check { width: 84px; height: 84px; margin: 0 auto 22px; border-radius: 50%; background: var(--wa); display: grid; place-items: center; animation: popIn .6s var(--ease) both; }
.check svg { width: 40px; height: 40px; fill: none; stroke: #06210f; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .5s .35s var(--ease) forwards; }
@keyframes popIn { from { transform: scale(0); } 60% { transform: scale(1.1); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
.success h2 { font-size: 2.2rem; margin-bottom: 10px; }
.success p { color: var(--muted); margin: 0 0 6px; }
.success .order { display: inline-block; margin: 18px 0 26px; font-family: ui-monospace, monospace; font-size: .9rem; border: 1px dashed var(--line-2); padding: 8px 14px; border-radius: 10px; }

/* toast */
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 120; transform: translate(-50%, calc(100% + 40px)); visibility: hidden; background: var(--ink); color: var(--bg); padding: 12px 14px 12px 18px; border-radius: 999px; font-size: .9rem; font-weight: 500; display: flex; align-items: center; gap: 14px; box-shadow: 0 20px 40px -10px rgb(0 0 0 / .6); transition: transform .5s var(--ease), visibility 0s .5s; max-width: calc(100% - 32px); white-space: nowrap; }
.toast.on { transform: translate(-50%, 0); visibility: visible; transition: transform .5s var(--ease), visibility 0s; }
.toast button { border: 0; background: var(--accent); color: var(--accent-ink); border-radius: 999px; padding: 6px 12px; font-weight: 600; font-size: .82rem; cursor: pointer; }

/* fly-to-cart */
.fly { position: fixed; z-index: 130; border-radius: 16px; overflow: hidden; pointer-events: none; box-shadow: 0 20px 40px rgb(0 0 0 / .5); transition: transform .8s cubic-bezier(.5, -.3, .7, 1), opacity .8s, border-radius .8s; }
.fly img, .fly .illu { width: 100%; height: 100%; object-fit: cover; }

.confetti { position: fixed; inset: 0; z-index: 140; pointer-events: none; width: 100%; height: 100%; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal, .js-split .w > span { opacity: 1; transform: none; }
}
