:root{
  --mauve:#B18986;      /* color principal de la marca */
  --mauve-d:#8E6764;    /* botones y textos de acento (contraste AA sobre blanco) */
  --rose:#CDB2AF;
  --blush:#DFD4CF;
  --mist:#F4EFEC;
  --grey:#CACAC8;
  --paper:#FFFFFF;
  --ink:#3B2D2B;
  --ink-2:#6E5C5A;
  --r:14px;
  --f:"Jost",system-ui,-apple-system,"Segoe UI",sans-serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important;animation:none!important}}
body{margin:0;background:var(--paper);color:var(--ink);font:400 16px/1.6 var(--f);-webkit-font-smoothing:antialiased}
img{display:block;max-width:100%}
a{color:inherit}
:focus-visible{outline:2px solid var(--mauve-d);outline-offset:3px;border-radius:4px}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.skip{position:absolute;left:-999px;top:8px;background:var(--ink);color:#fff;padding:8px 14px;border-radius:8px;z-index:50}
.skip:focus{left:8px}

/* header */
.top{display:flex;align-items:center;justify-content:space-between;padding:14px clamp(16px,4vw,48px);background:var(--blush)}
.mono{display:block;width:60px;height:46px}
.mono-h{display:block;width:100%;height:100%;background:var(--mauve-d);-webkit-mask:url(heres-h.png) center/contain no-repeat;mask:url(heres-h.png) center/contain no-repeat}
.top-links{display:flex;gap:clamp(14px,3vw,32px);font-size:15px;letter-spacing:.02em}
.top-links a{text-decoration:none;color:var(--ink)}
.top-links a:hover{color:var(--mauve-d)}
.wa-link{color:var(--mauve-d)!important;font-weight:500}

/* hero: the wordmark is the moment */
.hero{background:var(--blush);padding:clamp(28px,6vw,72px) 0 0;text-align:center;overflow:hidden}
.wordmark{margin:0 auto;width:min(980px,92vw);aspect-ratio:1400/427;background:var(--paper);-webkit-mask:url(heres-logo.png) center/contain no-repeat;mask:url(heres-logo.png) center/contain no-repeat}
.hero-sub{max-width:34ch;margin:clamp(18px,3vw,30px) auto 0;padding:0 16px;font-size:clamp(17px,2.2vw,21px);font-weight:300;color:var(--ink);line-height:1.5}
.strip{display:flex;gap:clamp(8px,1.4vw,16px);margin-top:clamp(28px,5vw,56px);padding:0 clamp(16px,4vw,48px);transform:translateY(22%);justify-content:center}
.strip img{width:clamp(110px,15vw,210px);aspect-ratio:4/5;object-fit:cover;border-radius:var(--r);background:var(--mist);flex:none}
.strip img:nth-child(even){transform:translateY(-14%)}
.strip img:nth-child(n+7){display:none}
@media (max-width:640px){.top-links a[href='#como-pedir']{display:none}main{padding-top:56px}.strip{justify-content:flex-start;overflow:hidden}.strip img:nth-child(n+4){display:none}.strip img{width:30vw}}

/* filter bar */
main{padding:clamp(64px,9vw,120px) clamp(16px,4vw,48px) 48px;max-width:1360px;margin:0 auto}
.bar{position:sticky;top:0;z-index:5;background:rgba(255,255,255,.94);backdrop-filter:blur(8px);padding:12px 0;display:flex;gap:16px;align-items:center;flex-wrap:wrap;border-bottom:1px solid var(--blush)}
.cats{display:flex;gap:8px;flex-wrap:wrap;flex:1}
.cat{font:inherit;font-size:15px;border:1px solid var(--grey);background:var(--paper);color:var(--ink);padding:7px 15px;border-radius:999px;cursor:pointer}
.cat small{color:var(--ink-2);font-size:12px;margin-left:4px}
.cat[aria-selected="true"]{background:var(--ink);border-color:var(--ink);color:#fff}
.cat[aria-selected="true"] small{color:var(--blush)}
.search input{font:inherit;font-size:15px;width:min(280px,100%);padding:9px 14px;border:1px solid var(--grey);border-radius:999px;background:var(--paper);color:var(--ink)}
@media (max-width:640px){.cats{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;margin:0 -16px;padding:0 16px}.cat{flex:none}.search{width:100%}.search input{width:100%}}
.count{color:var(--ink-2);font-size:14px;margin:16px 0 8px}

/* grid */
.grid{list-style:none;margin:0;padding:0;display:grid;gap:clamp(18px,2.4vw,32px) clamp(12px,2vw,24px);grid-template-columns:repeat(4,1fr)}
@media (max-width:1100px){.grid{grid-template-columns:repeat(3,1fr)}}
@media (max-width:700px){.grid{grid-template-columns:repeat(2,1fr)}}
.card{all:unset;display:block;cursor:pointer;width:100%}
.card:focus-visible{outline:2px solid var(--mauve-d);outline-offset:4px;border-radius:var(--r)}
.ph{aspect-ratio:4/5;border-radius:var(--r);overflow:hidden;background:var(--mist);position:relative}
.ph img{width:100%;height:100%;object-fit:cover;transition:transform .5s ease}
@media (hover:hover){.card:hover .ph img{transform:scale(1.04)}}
.ph .more{position:absolute;right:8px;bottom:8px;background:rgba(255,255,255,.9);color:var(--ink);font-size:12px;padding:2px 8px;border-radius:999px}
.ph.no{display:grid;place-items:center}
.ph.no::before{content:"";width:46%;aspect-ratio:600/456;background:var(--rose);-webkit-mask:url(heres-h.png) center/contain no-repeat;mask:url(heres-h.png) center/contain no-repeat}
.ph.no span{position:absolute;bottom:12px;left:0;right:0;text-align:center;font-size:13px;color:var(--ink-2)}
.c-t{margin:10px 0 2px;font-size:15px;line-height:1.35;font-weight:400}
.c-p{margin:0;font-size:15px;font-weight:500;color:var(--mauve-d)}
.empty{text-align:center;color:var(--ink-2);padding:40px 0}

/* how */
.how{background:var(--mist);padding:clamp(40px,6vw,72px) clamp(16px,4vw,48px)}
.how h2{font-weight:300;font-size:clamp(26px,3.4vw,36px);margin:0 auto 18px;max-width:880px}
.how ol{max-width:880px;margin:0 auto;padding-left:1.2em;display:grid;gap:10px;font-size:17px}
.how li::marker{color:var(--mauve-d)}
.how .note{max-width:880px;margin:20px auto 0;color:var(--ink-2);font-size:15px}

/* footer */
.foot{background:var(--mauve);color:#fff;text-align:center;padding:44px 16px 96px}
.foot-logo{width:min(320px,70vw);aspect-ratio:1400/427;margin:0 auto 12px;background:#fff;-webkit-mask:url(heres-logo.png) center/contain no-repeat;mask:url(heres-logo.png) center/contain no-repeat}
.foot p{margin:6px 0;font-weight:300}
.foot a{color:#fff}

/* whatsapp float */
.wa-float{position:fixed;right:18px;bottom:18px;width:56px;height:56px;border-radius:50%;background:var(--mauve-d);color:#fff;display:grid;place-items:center;box-shadow:0 8px 24px rgba(59,45,43,.25);z-index:20}
.wa-float svg{width:28px;height:28px}
.wa-off{opacity:.5;pointer-events:none}

/* product sheet */
.sheet{border:0;padding:0;max-width:min(1040px,94vw);width:100%;border-radius:20px;background:var(--paper);color:var(--ink)}
.sheet::backdrop{background:rgba(59,45,43,.55)}
.sheet-in{display:grid;grid-template-columns:1.15fr 1fr;position:relative}
.x{position:absolute;top:10px;right:10px;width:40px;height:40px;border-radius:50%;border:0;background:rgba(255,255,255,.92);font-size:26px;line-height:1;cursor:pointer;color:var(--ink);z-index:2}
.s-gal{background:var(--mist);padding:16px;display:flex;flex-direction:column;gap:10px}
.s-main{aspect-ratio:4/5;border-radius:12px;overflow:hidden;background:var(--mist)}
.s-main img{width:100%;height:100%;object-fit:contain}
.s-main.no{display:grid;place-items:center}
.s-main.no::before{content:"";width:40%;aspect-ratio:600/456;background:var(--rose);-webkit-mask:url(heres-h.png) center/contain no-repeat;mask:url(heres-h.png) center/contain no-repeat}
.s-thumbs{display:flex;gap:8px;overflow-x:auto}
.s-thumbs button{all:unset;cursor:pointer;width:64px;height:76px;border-radius:8px;overflow:hidden;flex:none;border:2px solid transparent}
.s-thumbs button[aria-current="true"]{border-color:var(--mauve-d)}
.s-thumbs img{width:100%;height:100%;object-fit:cover}
.s-info{padding:clamp(24px,4vw,44px);display:flex;flex-direction:column;gap:6px}
.s-cat{margin:0;color:var(--ink-2);font-size:14px}
.s-info h2{margin:0;font-weight:300;font-size:clamp(24px,3vw,32px);line-height:1.2}
.s-price{margin:8px 0 0;font-size:24px;font-weight:500;color:var(--mauve-d)}
.s-price small{font-size:14px;font-weight:400;color:var(--ink-2);margin-left:8px}
.s-mat{margin:14px 0 0;font-size:16px}
.s-code{margin:0;color:var(--ink-2);font-size:14px}
.btn{margin-top:22px;display:inline-flex;justify-content:center;align-items:center;gap:10px;background:var(--mauve-d);color:#fff;text-decoration:none;padding:14px 22px;border-radius:999px;font-weight:500;font-size:16px}
.btn:hover{background:var(--ink)}
.s-hint{margin:8px 0 0;font-size:14px;color:var(--ink-2)}
@media (max-width:760px){
  .sheet{max-width:100vw;width:100vw;margin:auto 0 0;border-radius:20px 20px 0 0;max-height:94vh}
  .sheet-in{grid-template-columns:1fr}
  .s-main{aspect-ratio:1}
}

/* pedido */
.cart-btn{font:inherit;font-size:15px;border:1px solid var(--mauve-d);background:var(--paper);color:var(--mauve-d);border-radius:999px;padding:5px 12px 5px 14px;cursor:pointer;display:inline-flex;gap:8px;align-items:center}
.badge{background:var(--mauve-d);color:#fff;border-radius:999px;min-width:22px;height:22px;display:inline-grid;place-items:center;font-size:12px;padding:0 6px}
.top-links{align-items:center}
.buy{display:flex;gap:10px;align-items:stretch;margin-top:22px;flex-wrap:wrap}
.buy .btn{margin-top:0;flex:1;border:0;cursor:pointer;font-family:inherit}
.qty{display:flex;align-items:center;border:1px solid var(--grey);border-radius:999px;overflow:hidden}
.qty button{all:unset;cursor:pointer;width:42px;height:46px;display:grid;place-items:center;font-size:20px;color:var(--ink)}
.qty button:hover{background:var(--mist)}
.qty output{min-width:28px;text-align:center;font-weight:500;font-variant-numeric:tabular-nums}
.s-added{margin:10px 0 0;font-size:14px;color:var(--mauve-d)}
.link{all:unset;cursor:pointer;color:var(--mauve-d);text-decoration:underline;font-size:14px}
.s-ask{margin-top:16px;font-size:14px;color:var(--ink-2)}
.qadd{position:absolute;right:8px;top:8px;width:36px;height:36px;border-radius:50%;border:0;background:rgba(255,255,255,.95);color:var(--mauve-d);font-size:22px;line-height:1;cursor:pointer;box-shadow:0 2px 8px rgba(59,45,43,.15);z-index:2}
.qadd.on{background:var(--mauve-d);color:#fff;font-size:14px;font-weight:500}
.grid li{position:relative}
.cart{border:0;padding:0;margin:0 0 0 auto;height:100%;max-height:100vh;width:min(440px,100vw);background:var(--paper);color:var(--ink)}
.cart::backdrop{background:rgba(59,45,43,.45)}
.cart-in{display:flex;flex-direction:column;height:100%}
.cart-head{display:flex;justify-content:space-between;align-items:center;padding:18px 20px;border-bottom:1px solid var(--blush)}
.cart-head h2{margin:0;font-weight:300;font-size:26px}
.cart-head .x{position:static}
.cart-list{list-style:none;margin:0;padding:8px 20px;overflow-y:auto;flex:1}
.cart-list li{display:grid;grid-template-columns:64px 1fr auto;gap:12px;align-items:center;padding:12px 0;border-bottom:1px solid var(--mist)}
.cart-list img,.cart-list .noimg{width:64px;height:80px;object-fit:cover;border-radius:8px;background:var(--mist)}
.cl-t{margin:0;font-size:15px;line-height:1.3}
.cl-p{margin:2px 0 0;font-size:13px;color:var(--ink-2)}
.cl-r{display:flex;flex-direction:column;align-items:flex-end;gap:6px}
.cl-r .qty button{width:32px;height:32px;font-size:17px}
.cl-sub{font-weight:500;color:var(--mauve-d);font-variant-numeric:tabular-nums}
.cart-empty{padding:24px 20px;color:var(--ink-2)}
.cart-foot{padding:16px 20px 22px;border-top:1px solid var(--blush);display:flex;flex-direction:column;gap:10px;background:var(--mist)}
.cart-total{display:flex;justify-content:space-between;margin:0;font-size:16px}
.cart-total strong{font-size:22px;color:var(--mauve-d);font-variant-numeric:tabular-nums}
.field{display:flex;flex-direction:column;gap:4px;font-size:14px;color:var(--ink-2)}
.field input{font:inherit;font-size:16px;padding:10px 12px;border:1px solid var(--grey);border-radius:10px;background:var(--paper);color:var(--ink)}
.btn.wide{width:100%;margin-top:4px}
.cart-foot .link{align-self:center}
.cart-bar{position:fixed;left:50%;transform:translateX(-50%);bottom:18px;z-index:21;border:0;cursor:pointer;font:inherit;background:var(--ink);color:#fff;border-radius:999px;padding:12px 20px;display:flex;gap:14px;align-items:center;box-shadow:0 10px 30px rgba(59,45,43,.3);white-space:nowrap}
.cart-bar strong{color:var(--blush);font-weight:500}
@media (max-width:640px){.cart-btn{padding:4px 10px}.top-links .wa-link{display:none}.cart-bar{left:16px;right:84px;transform:none;justify-content:space-between}}

[hidden]{display:none!important}
