@font-face{font-family:"Inter";font-weight:400;font-style:normal;font-display:swap;src:url(../fonts/inter-latin-400-normal.woff2) format("woff2")}
@font-face{font-family:"Inter";font-weight:500;font-style:normal;font-display:swap;src:url(../fonts/inter-latin-500-normal.woff2) format("woff2")}
@font-face{font-family:"Inter";font-weight:600;font-style:normal;font-display:swap;src:url(../fonts/inter-latin-600-normal.woff2) format("woff2")}
@font-face{font-family:"Inter";font-weight:700;font-style:normal;font-display:swap;src:url(../fonts/inter-latin-700-normal.woff2) format("woff2")}
@font-face{font-family:"Inter";font-weight:900;font-style:normal;font-display:swap;src:url(../fonts/inter-latin-900-normal.woff2) format("woff2")}

:root{--ease:cubic-bezier(.2,.8,.2,1);--sans:"Inter",system-ui,-apple-system,"Segoe UI",sans-serif;
  --MH:min(78vh,62vw);--CW:min(14.8vw,33vh);--gs:1;--pad:max(18px,1.8vw)}
*{box-sizing:border-box;margin:0;padding:0}
html,body{height:100%}
body{font-family:var(--sans);color:#fff;overflow:hidden;-webkit-font-smoothing:antialiased;user-select:none;
  /* fondo beige grisáceo (greige) */
  background:radial-gradient(95% 75% at 50% 36%,rgba(240,236,228,.95) 0%,rgba(240,236,228,0) 72%),
             linear-gradient(180deg,#cbc5ba 0%,#d4cfc4 42%,#ddd9d0 72%,#e5e1d9 100%)}
button{font:inherit;color:inherit;background:none;border:0;cursor:pointer}
a{color:inherit;text-decoration:none}
@media (pointer:fine){html,body,button,a,.card{cursor:none}}

/* vidrio */
.glass{background:linear-gradient(155deg,rgba(250,248,245,.30),rgba(150,144,136,.20) 48%,rgba(205,200,192,.24));
  -webkit-backdrop-filter:blur(22px) saturate(1.5);backdrop-filter:blur(22px) saturate(1.5);border:1px solid rgba(255,255,255,.5);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.7),inset 0 -1px 0 rgba(255,255,255,.12),0 20px 50px -24px rgba(40,30,20,.45)}

.ghost{position:fixed;left:50%;top:calc(50% - var(--MH)*.42);z-index:2;transform:translateX(-50%);pointer-events:none;white-space:nowrap;
  font-weight:900;font-size:calc(var(--MH)*.42*var(--gs));line-height:.8;letter-spacing:-.04em;color:rgba(255,255,255,.3);-webkit-text-stroke:1px rgba(255,255,255,.35);text-shadow:0 1px 0 rgba(255,255,255,.35)}
.ghost span{display:inline-block}

.brand{position:fixed;left:var(--pad);top:3.2vh;z-index:31}
.brand img{height:34px;width:auto;display:block;filter:drop-shadow(0 1px 6px rgba(0,0,0,.25))}

/* tabs */
.tabs{position:fixed;left:50%;top:4.2vh;transform:translateX(-50%);z-index:30;display:flex;gap:2px;padding:5px;border-radius:999px}
.tabs>button,.tabs>a{position:relative;z-index:1;height:38px;padding:0 22px;display:inline-flex;align-items:center;font-weight:500;font-size:14px;color:rgba(30,30,32,.72);white-space:nowrap;border-radius:999px;transition:color .4s var(--ease)}
.tabs>.on{color:#111}
.pill{position:absolute;left:0;top:5px;height:38px;width:0;border-radius:999px;background:rgba(255,255,255,.92);box-shadow:0 4px 14px -6px rgba(0,0,0,.3);transition:transform .6s var(--ease),width .6s var(--ease)}

/* rail */
.rail{position:fixed;left:var(--pad);top:50%;transform:translateY(-50%);z-index:30;display:flex;flex-direction:column;gap:10px;padding:8px;border-radius:999px}
.rail button{position:relative;width:42px;height:42px;border-radius:50%;display:grid;place-items:center;color:rgba(30,30,32,.8);transition:background .35s var(--ease)}
.rail button svg{width:20px;height:20px}
.rail button:hover{background:rgba(255,255,255,.35)}
.rail button.on{background:rgba(255,255,255,.9);color:#111}
.badge{position:absolute;right:-2px;top:-2px;min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:#111;color:#fff;font-size:10px;font-weight:700;display:grid;place-items:center}
.badge[hidden]{display:none}

/* escenario */
.stage{position:fixed;inset:0;z-index:10;touch-action:none;-webkit-user-select:none;user-select:none}
.arc{position:absolute;left:50%;top:47%;width:0;height:0}
.card{position:absolute;left:calc(var(--CW)/-2);top:calc(var(--CW)*-.71);width:var(--CW);height:calc(var(--CW)*1.42);border-radius:22px;overflow:hidden;will-change:transform,opacity;color:#fff}
.card .g{position:absolute;left:8%;right:8%;top:5%;height:66%;width:84%;object-fit:contain;filter:drop-shadow(0 14px 14px rgba(40,30,20,.22));pointer-events:none;-webkit-user-drag:none}
.card .g.photo{left:8px;right:8px;top:8px;width:calc(100% - 16px);height:66%;object-fit:cover;border-radius:15px;filter:none}
.card .nm{position:absolute;left:0;right:0;bottom:17%;text-align:center;font-weight:500;font-size:calc(var(--CW)*.068);text-shadow:0 1px 8px rgba(0,0,0,.18);padding:0 6%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.card .pr{position:absolute;left:0;right:0;bottom:7%;text-align:center;font-weight:700;font-size:calc(var(--CW)*.095);text-shadow:0 1px 8px rgba(0,0,0,.18)}
.card .sheen{position:absolute;inset:0;background:linear-gradient(105deg,transparent 40%,rgba(255,255,255,.5) 50%,transparent 60%);transform:translateX(-120%);pointer-events:none}
.card .sheen.go{animation:sheen 1s var(--ease)}
@keyframes sheen{to{transform:translateX(120%)}}

/* modelo */
.model{position:fixed;left:50%;bottom:0;height:var(--MH);aspect-ratio:var(--MA,595/1130);transform:translateX(-50%);z-index:50;pointer-events:none}
.ml{position:absolute;inset:0;background:center bottom/100% 100% no-repeat}
#mNext{clip-path:inset(0 0 100% 0)}
.scgrid{position:absolute;inset:0;background:repeating-linear-gradient(0deg,transparent 0 5px,rgba(255,255,255,.22) 5px 6px);mix-blend-mode:screen;clip-path:inset(0 0 100% 0)}
.scan{position:absolute;left:-14%;right:-14%;top:0;height:2px;opacity:0;background:linear-gradient(90deg,transparent,#fff 18%,#fff 82%,transparent);box-shadow:0 0 18px 4px rgba(255,255,255,.75),0 0 60px 10px rgba(190,225,255,.45)}
.scan::after{content:"";position:absolute;left:0;right:0;bottom:2px;height:calc(var(--MH)*.12);background:linear-gradient(to top,rgba(220,238,255,.32),transparent)}

/* flechas */
.arrow{position:fixed;top:50%;margin-top:-23px;width:46px;height:46px;border-radius:50%;z-index:40;display:grid;place-items:center}
.arrow.l{left:calc(var(--pad) + 76px)}.arrow.r{right:var(--pad)}

/* tarjeta de compra */
.buy{position:fixed;left:50%;bottom:4.6vh;transform:translateX(-50%);z-index:60;width:min(780px,100vw - 32px);display:flex;align-items:center;gap:22px;padding:12px 22px 12px 12px;border-radius:24px;color:#fff;text-shadow:0 1px 6px rgba(0,0,0,.18)}
.thumb{flex:none;width:64px;height:64px;border-radius:14px;background:rgba(255,255,255,.3);overflow:hidden;position:relative}
.thumb img{position:absolute;inset:6px;width:calc(100% - 12px);height:calc(100% - 12px);object-fit:contain}
.thumb img.photo{inset:0;width:100%;height:100%;object-fit:cover}
.info{min-width:120px;flex:1}
.ln{position:relative;overflow:hidden;display:block;height:1.15em}
.ln>span{display:block;white-space:nowrap}
.info .ln:first-child{font-weight:600;font-size:16px}
.info .ln.p{font-weight:500;font-size:14px;opacity:.9;margin-top:2px}
.info .ln.s{font-weight:500;font-size:11px;opacity:.8;letter-spacing:.08em;text-transform:uppercase;margin-top:3px}
.sizes{display:flex;align-items:center;gap:10px;flex:none}
.sizes .lab{font-weight:500;font-size:12px;opacity:.85}
.chips{display:flex;gap:6px}
.chips button{width:30px;height:30px;border-radius:50%;font-weight:500;font-size:12px;background:rgba(255,255,255,.22);color:#fff;transition:transform .25s var(--ease),background .3s}
.chips button.on{background:#fff;color:#111}
.chips button:active{transform:scale(.9)}
.chips button:disabled{opacity:.4;text-decoration:line-through}
.chips.shake{animation:shake .4s}
@keyframes shake{25%{transform:translateX(-5px)}75%{transform:translateX(5px)}}
.acts{display:flex;flex-direction:column;gap:6px;flex:none}
.add{background:#111;color:#fff;border-radius:999px;padding:10px 18px;font-weight:600;font-size:12px;letter-spacing:.04em;text-shadow:none;transition:transform .3s var(--ease)}
.add:hover{transform:translateY(-1px)}.add.full{width:100%}
.more{font-weight:600;font-size:11px;letter-spacing:.1em;text-transform:uppercase;opacity:.9}

.legal-links{position:fixed;right:var(--pad);bottom:1.6vh;z-index:20;display:flex;gap:14px;font-size:11px;color:rgba(30,30,32,.65)}
.legal-links a:hover{color:#111}

.social-links{position:fixed;right:var(--pad);top:max(14px,3.2vh);z-index:80;display:inline-flex;align-items:center;transition:all .3s var(--ease)}
.soc-burger{display:none}
.soc-list{display:inline-flex;align-items:center;gap:6px;padding:4px 8px;border-radius:999px;background:rgba(250,248,245,.45);-webkit-backdrop-filter:blur(20px) saturate(1.6);backdrop-filter:blur(20px) saturate(1.6);border:1px solid rgba(255,255,255,.65);box-shadow:inset 0 1px 0 rgba(255,255,255,.8),0 10px 30px -10px rgba(40,30,20,.2);transition:all .3s var(--ease)}
.soc-btn{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:transparent;border:0;color:#111;text-decoration:none;transition:transform .25s var(--ease),color .2s,background .2s}
.soc-btn:hover{transform:scale(1.15);color:#007aff;background:rgba(255,255,255,.8)}
.soc-btn:active{transform:scale(.92)}
.soc-btn svg{display:block;flex-shrink:0}
.soc-name,.soc-arrow{display:none}

@media (max-width:768px){
  .social-links{top:max(12px,2.2vh);right:12px;flex-direction:column;align-items:flex-end}
  .soc-burger{
    display:flex;flex-direction:column;justify-content:center;align-items:center;gap:4.5px;
    width:38px;height:38px;border-radius:50%;
    background:rgba(250,248,245,.82);
    -webkit-backdrop-filter:blur(20px) saturate(1.6);
    backdrop-filter:blur(20px) saturate(1.6);
    border:1px solid rgba(255,255,255,.85);
    box-shadow:0 6px 22px -6px rgba(40,30,20,.28);
    cursor:pointer;padding:0;
    transition:all .25s var(--ease);
  }
  .soc-burger span{
    display:block;width:17px;height:2px;background:#111;border-radius:2px;
    transition:transform .28s var(--ease),opacity .2s;
  }
  .social-links.open .soc-burger{
    background:#ffffff;box-shadow:0 8px 24px -4px rgba(0,122,255,.35);
    border-color:rgba(0,122,255,.4);
  }
  .social-links.open .soc-burger span:nth-child(1){transform:translateY(6.5px) rotate(45deg);background:#007aff}
  .social-links.open .soc-burger span:nth-child(2){opacity:0;transform:scaleX(0)}
  .social-links.open .soc-burger span:nth-child(3){transform:translateY(-6.5px) rotate(-45deg);background:#007aff}

  .soc-list{
    display:none;position:absolute;top:calc(100% + 10px);right:0;
    flex-direction:column;align-items:stretch;gap:3px;
    min-width:185px;padding:8px;border-radius:20px;
    background:rgba(252,250,248,.96);
    -webkit-backdrop-filter:blur(28px) saturate(1.8);
    backdrop-filter:blur(28px) saturate(1.8);
    border:1px solid rgba(255,255,255,.95);
    box-shadow:0 16px 40px -12px rgba(40,30,20,.38);
    animation:cardIn .25s var(--ease) both;
  }
  .social-links.open .soc-list{display:flex}
  .soc-list .soc-btn{
    width:100%;height:40px;border-radius:12px;
    display:flex;align-items:center;justify-content:flex-start;
    padding:0 12px;gap:11px;font-size:13px;font-weight:600;
    color:#111;background:transparent;
    transition:background .2s,color .2s;
  }
  .soc-list .soc-btn:hover,
  .soc-list .soc-btn:active{
    background:rgba(0,122,255,.1);color:#007aff;transform:none;
  }
  .soc-list .soc-name{display:inline;flex:1;text-align:left;font-size:13px}
  .soc-list .soc-arrow{display:inline;font-size:12px;color:rgba(0,0,0,.32)}
}

/* cursor */
.cur{position:fixed;left:0;top:0;width:58px;height:58px;margin:-29px 0 0 -29px;z-index:200;pointer-events:none;display:none}
@media (pointer:fine){.cur{display:block}}
.cur .ring{position:absolute;inset:0;border-radius:50%;border:1.5px solid rgba(255,255,255,.95);background:rgba(255,255,255,.14);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);box-shadow:0 6px 20px -8px rgba(0,0,0,.35);transition:transform .5s var(--ease),background .4s var(--ease)}
.cur .dotc{position:absolute;left:26px;top:26px;width:6px;height:6px;border-radius:50%;background:#fff;transition:transform .4s var(--ease)}
.cur .t{position:absolute;inset:0;display:grid;place-items:center;font-weight:700;font-size:10px;letter-spacing:.12em;opacity:0;transform:scale(.6);transition:opacity .45s var(--ease),transform .45s var(--ease)}
.cur .try{color:#111}.cur .drag{color:#fff}
.cur.try .ring{transform:scale(1.5);background:rgba(255,255,255,.92)}.cur.try .try{opacity:1;transform:scale(1)}.cur.try .dotc{transform:scale(0)}
.cur.drag .ring{transform:scale(1.2)}.cur.drag .drag{opacity:1;transform:scale(1)}.cur.drag .dotc{transform:scale(0)}
.cur.btn .ring{transform:scale(.6)}.cur.down .ring{transform:scale(1.05)}

/* ficha */
.detail{position:fixed;inset:0;z-index:150;background:#ece9e2;color:#0a0a0b;visibility:hidden;overflow:hidden}
.detail.on{visibility:visible}
.closeb{position:absolute;left:36px;top:28px;z-index:3;border:1px solid #0a0a0b;border-radius:3px;height:21px;padding:0 8px;font-weight:600;font-size:10.5px;letter-spacing:.14em}
.dbrand{position:absolute;right:36px;top:22px;height:34px;width:auto;filter:invert(1);z-index:3}
.dgrid{display:grid;grid-template-columns:1fr 1fr;gap:4vw;padding:110px 6vw 56px 7vw;height:100%}
.dtext{align-self:center;max-width:520px;display:grid;gap:18px;justify-items:start}
.dtext .ln{height:auto;overflow:hidden}.dtext .ln>*{display:block;will-change:transform;white-space:normal}
.lbl{font-weight:600;font-size:10.5px;letter-spacing:.14em;text-transform:uppercase}
.dtext h1{font-weight:600;font-size:clamp(44px,5.2vw,80px);letter-spacing:-.03em;line-height:1}
.meta{font-weight:500;font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:#5d5a54}
.dprice{font-size:clamp(32px,4vw,52px);font-weight:900;letter-spacing:-.03em;color:#007aff;line-height:1;margin:4px 0 6px;text-shadow:0 2px 14px rgba(0,122,255,.2)}
.syn{font-size:17px;line-height:1.5;max-width:42ch;font-family:Georgia,"Times New Roman",serif}
.dsizes{display:flex;gap:8px}
.dsizes button{height:36px;min-width:44px;border:1px solid #0a0a0b;font-weight:600;font-size:11px;letter-spacing:.1em}
.dsizes button[aria-checked=true]{background:#0a0a0b;color:#ece9e2}
.dsizes button:disabled{opacity:.35;text-decoration:line-through}
.dbtn{height:44px;padding:0 18px;background:#0a0a0b;color:#ece9e2;font-weight:600;font-size:10.5px;letter-spacing:.14em}
.dlink{border-bottom:1px solid #0a0a0b;padding-bottom:3px;font-weight:600;font-size:10.5px;letter-spacing:.14em}
.dmedia{position:relative;display:grid;place-items:center;height:100%;min-height:0}
#poster{height:min(100%,74vh);width:auto;max-width:100%}
.vid{position:absolute;height:min(100%,74vh);aspect-ratio:9/16;max-width:100%;object-fit:cover;display:none;background:#000}
.dmedia.vidon .vid{display:block}.dmedia.vidon #poster{visibility:hidden}
.thumbs{position:absolute;bottom:-4px;display:flex;gap:8px}
.thumbs button{width:48px;height:48px;border:1px solid #0a0a0b;overflow:hidden;opacity:.6}.thumbs button.on{opacity:1}
.thumbs img{width:100%;height:100%;object-fit:cover;display:block}

/* diálogos (carrito, checkout, guía, derechos) */
.sdlg{margin:auto;width:min(94vw,560px);max-height:92vh;overflow:auto;border:0;background:#ece9e2;color:#0a0a0b;padding:24px;user-select:text;border-radius:6px}
.sdlg.wide{width:min(94vw,720px)}
.sdlg::backdrop{background:rgba(30,20,10,.55);backdrop-filter:blur(4px)}
.shead{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}
.shead h2{font-size:22px;font-weight:600;letter-spacing:-.02em}
.xbtn{font-weight:600;font-size:11px;letter-spacing:.1em;color:#0a0a0b}
.sdlg h3{font-size:15px;margin:16px 0 8px}
.sdlg label{display:grid;gap:5px;font-size:11px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;margin-bottom:10px}
.sdlg input:not([type=checkbox]),.sdlg textarea,.sdlg select{font:inherit;font-size:14px;letter-spacing:0;text-transform:none;font-weight:400;padding:10px;border:1px solid #0a0a0b;background:#fff;color:#0a0a0b;border-radius:0;width:100%}
.sdlg .chk{display:flex;gap:10px;align-items:flex-start;text-transform:none;letter-spacing:0;font-weight:400;font-size:12px;line-height:1.4}
.sdlg .chk a{text-decoration:underline}
.sdlg .hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.sdlg .add{background:#0a0a0b;color:#ece9e2;border-radius:0;padding:12px 20px}
.sdlg .add.outline{background:transparent;color:#0a0a0b;border:1px solid #0a0a0b}
.sdlg .add[disabled]{opacity:.5}
.fsum,.eta{font-size:13px;color:#5d5a54;margin-bottom:12px}
.ferr{min-height:1.2em;font-size:13px;font-weight:600;margin:4px 0}.ferr.ok{color:#17692b}.ferr.bad{color:#a4161a}
.row2{display:grid;grid-template-columns:1fr 1fr;gap:0 12px}
.cartn{display:flex;gap:12px;align-items:center;padding:10px;background:#0a0a0b;color:#fff;margin-bottom:12px;flex-wrap:wrap}
.cartn b{font-size:15px}.cartn span{font-size:12px;opacity:.85}
.ci{display:grid;grid-template-columns:56px 1fr auto;gap:12px;align-items:center;padding:10px 0;border-bottom:1px solid #d3cfc5}
.ci img{width:56px;height:70px;object-fit:contain;background:#d9d6cf}
.ci .nm{font-weight:600;font-size:14px}.ci .sz{font-size:12px;color:#5d5a54}
.qty{display:inline-flex;align-items:center;gap:8px;margin-top:6px}
.qty button{width:26px;height:26px;border:1px solid #0a0a0b;font-weight:700}
.ci .rm{font-size:11px;text-decoration:underline;margin-left:8px}
.ci .pp{font-weight:600;font-size:14px;text-align:right}
.tot{margin:14px 0;font-size:14px}.tot div{display:flex;justify-content:space-between;padding:3px 0}.tot .grand{font-weight:700;font-size:17px;border-top:1px solid #0a0a0b;margin-top:6px;padding-top:8px}
.note{font-size:12px;color:#5d5a54;margin-top:8px}
.gsteps{list-style:none;counter-reset:s;display:grid;gap:0;margin:8px 0 18px;position:relative}
.gsteps li{counter-increment:s;position:relative;padding:0 0 16px 46px;min-height:46px}
.gsteps li::before{content:counter(s);position:absolute;left:0;top:0;width:32px;height:32px;border-radius:50%;background:#0a0a0b;color:#fff;display:grid;place-items:center;font-weight:700;font-size:13px}
.gsteps li::after{content:"";position:absolute;left:15px;top:34px;bottom:2px;width:2px;background:#cfcabd}
.gsteps li:last-child::after{display:none}
.gsteps b{display:block;font-size:14px}.gsteps span{font-size:13px;color:#5d5a54}
.gtrack{border-top:1px solid #0a0a0b;padding-top:6px}
.tstages{display:flex;gap:4px;margin:12px 0}
.tstages div{flex:1;text-align:center;font-size:11px;font-weight:600;padding:10px 4px;border:1px solid #cfcabd;color:#8a8780}
.tstages div.done{background:#0a0a0b;color:#fff;border-color:#0a0a0b}.tstages div.cur2{border-color:#0a0a0b;color:#0a0a0b}
.tev{border-left:2px solid #cfcabd;padding:2px 0 8px 10px;margin-left:4px;font-size:13px}.tev span{color:#5d5a54}
.wa{display:inline-block;margin-top:14px;font-weight:600;font-size:13px;text-decoration:underline}
.toast{position:fixed;left:50%;bottom:20vh;transform:translateX(-50%) translateY(10px);z-index:300;background:#111;color:#fff;padding:10px 18px;border-radius:999px;font-size:13px;opacity:0;pointer-events:none;transition:opacity .3s,transform .3s var(--ease);max-width:90vw;text-align:center}
.toast.on{opacity:1;transform:translateX(-50%) translateY(0)}

/* páginas legales y pedido (fondo claro simple) */
body.legalbody{overflow:auto;user-select:text;background:#14110f;color:#fff}
.legalbody,.legalbody a,.legalbody button{cursor:auto!important}
.legalbody .top{position:fixed;inset:0 0 auto 0;height:70px;padding:0 28px;display:flex;justify-content:space-between;align-items:center;background:rgba(20,17,15,.9);z-index:5}
.legalbody .top-l,.legalbody .top-r{display:flex;align-items:center}.legalbody .brand{position:static}
.legalbody .lbl{font-size:10.5px;letter-spacing:.14em}
.legalwrap{max-width:820px;margin:0 auto;padding:110px 24px 80px}
.legalwrap h1{font-size:clamp(32px,5vw,52px);letter-spacing:-.03em;margin-bottom:8px}
.legalwrap h2{font-size:20px;margin:34px 0 10px}
.legalwrap p,.legalwrap li{line-height:1.65;color:#ddd8cf;margin-bottom:10px}
.legalwrap ul{padding-left:22px}
.legalwrap a{color:#d7ff3a;text-decoration:underline}
.legalwrap table{width:100%;border-collapse:collapse;margin:12px 0}
.legalwrap td,.legalwrap th{border:1px solid #3a342e;padding:8px;text-align:left;font-size:14px;color:#ddd8cf}
.legalwrap .note,.legalwrap p.note{border-left:3px solid #d7ff3a;padding:8px 14px;background:#1d1915;color:#ddd8cf;margin-top:0}
.pedido{max-width:640px;margin:0 auto;padding:110px 24px;color:#0a0a0b}
body.pedidobody{overflow:auto;user-select:text;background:#ece9e2;color:#0a0a0b}
.pedido h1{font-size:34px;letter-spacing:-.03em;margin-bottom:6px}
.pedido .add{display:inline-block;margin-top:16px;background:#0a0a0b;color:#fff;padding:12px 20px}

/* teléfonos */
@media (max-width:767px){
  :root{--MH:min(62vh,128vw);--CW:min(30vw,170px)}
  .brand img{height:26px}.brand{top:2.4vh}
  .tabs{top:calc(4.2vh + 34px);max-width:calc(100vw - 24px);overflow-x:auto;scrollbar-width:none}
  .tabs>button,.tabs>a{height:32px;padding:0 13px;font-size:12px}.pill{height:32px}
  .rail{left:10px;top:auto;bottom:calc(4.6vh + 150px);transform:none;flex-direction:row;gap:6px;padding:6px}
  .rail button{width:34px;height:34px}.rail button svg{width:17px;height:17px}
  .arrow{display:none}
  .buy{flex-wrap:wrap;gap:12px;padding:12px;bottom:2vh}
  .info{flex:1 1 140px}.acts{flex-direction:row;width:100%}.acts .add{flex:1}
  .legal-links{display:none}
  .dgrid{grid-template-columns:1fr;overflow:auto;padding:90px 22px 40px;display:flex;flex-direction:column;gap:24px}
  .dmedia{order:-1;height:46svh;flex:none}.detail{overflow:auto}.dtext h1{font-size:42px}
  .closeb{left:16px;top:18px}.dbrand{right:16px;top:16px;height:26px}
  .row2{grid-template-columns:1fr}
}
@media (prefers-reduced-motion:reduce){*{transition-duration:1ms!important;animation-duration:1ms!important}}
.qty .rm{border:0;width:auto;height:auto;font-weight:500;font-size:11px;text-decoration:underline;margin-left:6px}
#vCart .tot{margin-bottom:8px}#vCart .note{margin-bottom:12px}
.sdlg .add.outline.full{margin-top:8px;width:100%;display:block}
.wa[hidden]{display:none}
@media (max-width:767px){.rail{bottom:calc(2vh + 215px)}}

/* ================= iOS ================= */
:root{--sans:-apple-system,BlinkMacSystemFont,"SF Pro Text","SF Pro Display","Inter",system-ui,sans-serif;--blue:#007aff;--red:#ff3b30;--bg2:#f2f2f7;--sep:rgba(60,60,67,.18);--spring:cubic-bezier(.32,.72,0,1);--sab:env(safe-area-inset-bottom,0px)}
html{-webkit-tap-highlight-color:transparent}
body{font-family:var(--sans);letter-spacing:-.01em;overscroll-behavior:none}
html,body,button,a,.card{cursor:auto!important}.cur{display:none!important}
.brand{top:max(14px,env(safe-area-inset-top))}
/* barra de pestañas inferior */
.tabs{top:auto;bottom:calc(var(--sab) + 10px);width:min(420px,100vw - 24px);justify-content:space-around;gap:0;padding:6px 8px;border-radius:26px;overflow:visible;max-width:none;
  background:rgba(249,249,249,.74);border:.5px solid rgba(255,255,255,.65)}
.tabs>button{flex:1;flex-direction:column;justify-content:center;gap:2px;height:50px;padding:0;font-size:10px;font-weight:500;color:#8e8e93;letter-spacing:0;position:relative}
.tabs>button svg{width:25px;height:25px}.tabs>button.on{color:var(--blue)}.pill{display:none}
.badge{background:var(--red);right:calc(50% - 22px);top:1px}
/* tarjeta de compra */
.buy{bottom:calc(var(--sab) + 88px);width:min(780px,100vw - 24px);border-radius:22px}
.info .ln.s,.more{text-transform:none;letter-spacing:0}.more{font-size:13px;font-weight:600}
.sizes .chips{background:rgba(120,120,128,.28);border-radius:9px;padding:2px;gap:0}
.chips button{width:auto;min-width:36px;height:30px;padding:0 6px;border-radius:7px;background:transparent;font-size:13px}
.chips button.on{background:#fff;color:#000;box-shadow:0 3px 8px rgba(0,0,0,.14)}
.add{background:var(--blue);border-radius:14px;font-size:15px;letter-spacing:0;padding:12px 18px}
.arrow.l{left:var(--pad)}.legal-links{bottom:calc(var(--sab) + 26px)}
.toast{bottom:calc(var(--sab) + 170px);background:rgba(40,40,42,.88);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);border-radius:14px}
/* hojas (bottom sheets) */
.sdlg{margin:auto auto 0;width:min(100vw,560px);max-width:100vw;max-height:calc(100dvh - max(14px,env(safe-area-inset-top)));border-radius:14px 14px 0 0;background:var(--bg2);padding:22px 16px calc(var(--sab) + 18px);overscroll-behavior:contain}
.sdlg.wide{width:min(100vw,640px)}
.sdlg[open]{animation:sheet .5s var(--spring)}
.sdlg::backdrop{background:rgba(0,0,0,.4);-webkit-backdrop-filter:none;backdrop-filter:none;animation:fade .35s}
.sdlg::before{content:"";display:block;width:36px;height:5px;border-radius:3px;background:rgba(60,60,67,.3);margin:-12px auto 10px}
@keyframes sheet{from{transform:translateY(100%)}}@keyframes fade{from{opacity:0}}
.shead{touch-action:none}.shead h2{font-size:20px;font-weight:700}
.xbtn{font-size:17px;font-weight:600;letter-spacing:0;color:var(--blue)}
.sdlg label{font-size:13px;font-weight:400;letter-spacing:0;text-transform:none;color:#6c6c70}
.sdlg input:not([type=checkbox]),.sdlg textarea,.sdlg select{font-size:17px;border:0;border-radius:10px;padding:12px;background:#fff;-webkit-appearance:none;appearance:none}
.sdlg input:focus,.sdlg textarea:focus,.sdlg select:focus{outline:2px solid var(--blue)}
.sdlg .add{background:var(--blue);color:#fff;border-radius:14px;padding:14px 20px;font-size:17px;letter-spacing:0}
.sdlg .add.outline{background:rgba(0,122,255,.12);color:var(--blue);border:0}
.cartn,.ci{background:#fff;border-radius:12px;border-bottom:0}.cartn{color:#000}.ci{padding:10px 12px;margin-bottom:8px}.ci img{border-radius:8px;background:var(--bg2)}
.qty button{border:0;border-radius:50%;background:rgba(120,120,128,.16)}
.tot .grand{border-top:.5px solid var(--sep)}.gtrack{border-top:.5px solid var(--sep)}
.gsteps li::before{background:var(--blue)}.tstages div{border-radius:8px}.tstages div.done{background:var(--blue);border-color:var(--blue)}
.glist{background:#fff;border-radius:12px;overflow:hidden;margin:14px 0 4px}
.glist a,.glist button{display:flex;justify-content:space-between;align-items:center;width:100%;padding:13px 16px;font-size:17px;text-align:left;color:#000;border-top:.5px solid var(--sep)}
.glist>:first-child{border-top:0}.glist a::after,.glist button::after{content:"›";color:#c7c7cc;font-size:22px}
/* ficha */
.detail{background:var(--bg2)}
.closeb{border:0;background:rgba(120,120,128,.16);border-radius:999px;height:34px;padding:0 14px;font-size:15px;letter-spacing:0;text-transform:none;color:var(--blue)}
.dbtn{background:var(--blue);color:#fff;border-radius:14px;height:52px;padding:0 26px;font-size:17px;font-weight:700;letter-spacing:0;box-shadow:0 6px 20px -4px rgba(0,122,255,.45);transition:transform .25s var(--ease),background .2s,box-shadow .25s}
.dbtn:hover{background:#0066d6;transform:translateY(-1px) scale(1.02);box-shadow:0 8px 24px -4px rgba(0,122,255,.55)}
.dbtn:active{transform:scale(.97)}
.dsizes button{border:0;border-radius:10px;background:rgba(120,120,128,.16);font-size:15px;letter-spacing:0}.dsizes button[aria-checked=true]{background:var(--blue);color:#fff}
.dlink{border:0;color:var(--blue);font-size:15px;letter-spacing:0;text-transform:none}
.lbl,.meta{letter-spacing:0;text-transform:none;font-size:13px}.syn{font-family:var(--sans)}.dtext h1{font-weight:700;letter-spacing:-.04em}
#poster{border-radius:22px}
body.pedidobody .pedido .add{background:var(--blue);border-radius:14px}
.tabs{z-index:70}

/* ===== camiseta seleccionada al centro + adaptable a cualquier pantalla ===== */
:root{--SH:min(46vh,540px)}
.model{height:var(--SH);aspect-ratio:1151/1366;bottom:calc(var(--sab) + 196px);filter:drop-shadow(0 22px 24px rgba(60,40,25,.28))}
.ml{background-size:contain!important;background-position:center!important}
.dots{position:fixed;left:50%;transform:translateX(-50%);bottom:calc(var(--sab) + 180px);z-index:55;display:flex;gap:8px;padding:6px 10px;border-radius:999px;background:rgba(255,255,255,.35);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}
.dots button{width:8px;height:8px;padding:0;border-radius:4px;background:rgba(0,0,0,.28);transition:width .35s var(--spring),background .25s}.dots button.on{width:22px;background:#111}
a.add{display:block;text-align:center}.wa-btn{background:#25d366!important;color:#06361a!important}
.arrow{width:48px;height:48px}
@media (min-width:1600px){:root{--SH:min(52vh,680px)}}
@media (max-width:767px){
  :root{--SH:min(42dvh,calc((100vw - 64px)*1.187))}
  .model{bottom:calc(var(--sab) + 322px)}.dots{bottom:calc(var(--sab) + 296px)}
  .card{display:none!important}
  .arrow{display:grid!important;width:42px;height:42px;margin-top:0;top:calc(50% - 90px)}.arrow.l{left:8px}.arrow.r{right:8px}
  .buy{gap:10px 12px;padding:12px}.buy .sizes{width:100%;justify-content:space-between}.buy .chips{flex:1}.buy .chips button{flex:1}
}
@media (max-width:360px){.tabs>button span{font-size:9px}.buy .info .ln:first-child{font-size:15px}}
@media (pointer:coarse){
  .chips button{min-width:44px;height:40px}.tabs>button{height:54px}.add{min-height:48px}.more{min-height:44px;padding:0 10px}
  .xbtn{padding:10px}.qty button{width:38px;height:38px}.closeb{height:42px}.dsizes button{height:44px;min-width:52px}.glist a,.glist button{min-height:50px}
}
@media (max-height:560px) and (orientation:landscape){
  .ghost,.dots{display:none}:root{--SH:min(62dvh,300px)}
  .model{left:28%;bottom:calc(var(--sab) + 84px)}
  .buy{left:auto;right:12px;transform:none;width:min(430px,52vw);bottom:calc(var(--sab) + 84px);flex-wrap:wrap}
  .tabs{width:min(420px,60vw)}.brand img{height:22px}.arrow{display:none!important}
}
@media (min-width:768px) and (orientation:portrait){
  :root{--SH:min(46dvh,620px);--CW:min(19vw,200px)}
  .arc{top:calc(100% - var(--sab) - 196px - var(--SH)/2)}
}
@media (min-width:768px) and (orientation:portrait){
  .card,.legal-links{display:none!important}
  .model{bottom:calc(var(--sab) + 238px)}.dots{bottom:calc(var(--sab) + 214px)}
}

/* ======================================================================
   v3 · fondo beige grisáceo · menú arriba · ventanas centradas · tallas móvil
   ====================================================================== */
:root{--sat:env(safe-area-inset-top,0px);--bb:calc(var(--sab) + 40px)}

/* texto oscuro sobre el fondo claro */
.buy{color:#1d1c1a;text-shadow:none;background:linear-gradient(155deg,rgba(255,255,255,.66),rgba(255,255,255,.40));border-color:rgba(255,255,255,.75)}
.thumb{background:rgba(255,255,255,.6)}
.card,.card .nm,.card .pr{color:#1d1c1a;text-shadow:none}
.ghost{color:rgba(255,255,255,.5);-webkit-text-stroke:1px rgba(255,255,255,.65);text-shadow:none}
.brand img{filter:brightness(0) opacity(.88);transition:none}
.arrow{color:#1d1c1a}
.chips button{color:#1d1c1a}.chips button.on{color:#000}

/* ---------- MENÚ SUPERIOR: Camisetas · Carrito · Envíos · Búsqueda ---------- */
.tabs{top:calc(var(--sat) + 12px);bottom:auto;left:50%;transform:translateX(-50%);width:auto;min-width:min(430px,100vw - 24px);max-width:calc(100vw - 24px);
  border-radius:999px;padding:5px;gap:2px;justify-content:center;z-index:70;background:rgba(250,248,244,.72);border:1px solid rgba(255,255,255,.8)}
.tabs>button{flex:1 1 auto;flex-direction:row;gap:8px;height:42px;padding:0 20px;border-radius:999px;font-size:14px;font-weight:600;color:#55534e;letter-spacing:-.005em}
.tabs>button svg{width:20px;height:20px;flex:none}
.tabs>button.on{color:#fff;background:#1d1c1a}
.tabs>button:not(.on):hover{background:rgba(255,255,255,.7);color:#111}
.badge{right:auto;left:31px;top:2px;min-width:17px;height:17px;font-size:10px}
.brand{top:calc(var(--sat) + 22px);left:var(--pad)}
.brand img{height:30px}

/* posiciones inferiores (el menú ya no ocupa la parte baja) */
.buy{bottom:var(--bb)}
.model{bottom:calc(var(--bb) + 112px)}
.dots{bottom:calc(var(--bb) + 92px)}
.legal-links{left:50%;right:auto;transform:translateX(-50%);bottom:calc(var(--sab) + 12px);white-space:nowrap;font-size:11px}
.toast{bottom:auto;top:calc(var(--sat) + 80px)}
.arc{top:46%}

/* ---------- VENTANAS (carrito, guía, derechos): al CENTRO ---------- */
.sdlg{margin:auto;width:min(calc(100vw - 24px),560px);max-width:calc(100vw - 24px);max-height:min(88dvh,860px);border-radius:22px;
  padding:20px 20px 20px;background:var(--bg2);box-shadow:0 30px 80px -20px rgba(0,0,0,.5)}
.sdlg.wide{width:min(calc(100vw - 24px),640px)}
.sdlg::before{display:none}
.sdlg[open]{animation:pop .3s var(--spring)}
@keyframes pop{from{opacity:0;transform:scale(.94) translateY(8px)}}
.sdlg::backdrop{background:rgba(40,34,26,.5);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}
.shead{touch-action:auto;position:sticky;top:-20px;z-index:2;margin:-20px -20px 12px;padding:18px 20px 10px;background:var(--bg2)}
.xbtn{background:rgba(0,122,255,.1);border-radius:999px;padding:7px 14px;font-size:15px}
/* totales + botón de pago siempre visibles al pie de la ventana */
.sfoot{position:sticky;bottom:-20px;z-index:2;margin:12px -20px -20px;padding:12px 20px 20px;background:var(--bg2);border-top:.5px solid var(--sep);box-shadow:0 -12px 18px -14px rgba(0,0,0,.18)}
.sfoot .tot{margin:0 0 8px}.sfoot .tot div{padding:2px 0}.sfoot .note{margin:0 0 10px}
.sfoot .add{display:block;width:100%}.sfoot .add+.add{margin-top:8px}
.sfoot .ferr{margin:0 0 6px;min-height:0}
.sdlg .add.pay{font-weight:700}

/* ---------- Guía de envío: enlaces legales PEQUEÑOS (como el pie de página) ---------- */
.glist{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:4px 14px;background:none;border-radius:0;overflow:visible;margin:18px 0 2px;padding-top:12px;border-top:.5px solid var(--sep)}
.sdlg .glist a,.sdlg .glist button{display:inline;width:auto;min-height:0;padding:4px 2px;border:0;font-size:11px;line-height:1.3;color:rgba(30,30,32,.65);background:none;text-align:center;letter-spacing:0}
.sdlg .glist a::after,.sdlg .glist button::after{display:none}
.sdlg .glist a:hover,.sdlg .glist button:hover{color:#111;text-decoration:underline}
.wa{display:block;text-align:center;font-size:13px}

/* ---------- TALLAS: selector adaptable ---------- */
.chips{flex-wrap:nowrap}
.chips button:disabled{opacity:.35;text-decoration:line-through}
.dsizes{flex-wrap:wrap}

@media (min-width:768px) and (orientation:portrait){
  .model{bottom:calc(var(--bb) + 150px)}.dots{bottom:calc(var(--bb) + 126px)}
  .legal-links{display:flex!important}
}

/* ---------- TELÉFONOS ---------- */
@media (max-width:767px){
  :root{--bb:calc(var(--sab) + 40px);--SH:max(150px,min(42dvh,calc((100vw - 64px)*1.187),calc(100dvh - var(--sat) - var(--sab) - 392px)))}
  .brand{left:50%;transform:translateX(-50%);top:calc(var(--sat) + 10px)}.brand img{height:24px}
  .tabs{top:calc(var(--sat) + 44px);width:calc(100vw - 20px);min-width:0;max-width:440px;padding:4px;border-radius:22px}
  .tabs>button{flex-direction:column;gap:1px;height:46px;padding:0 4px;font-size:10.5px;font-weight:600;border-radius:18px}
  .tabs>button svg{width:22px;height:22px}
  .badge{left:auto;right:calc(50% - 22px);top:1px}
  .toast{top:calc(var(--sat) + 108px)}

  /* tarjeta de compra compacta */
  .buy{display:grid;grid-template-columns:52px minmax(0,1fr);gap:10px 12px;padding:12px;width:min(calc(100vw - 20px),520px);bottom:var(--bb);border-radius:22px}
  .thumb{width:52px;height:52px}
  .buy .info{min-width:0}
  .info .ln:first-child{font-size:15px}
  /* selector de tallas a todo el ancho, botones grandes y táctiles */
  .buy .sizes{grid-column:1/-1;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:10px;width:100%}
  .buy .sizes .lab{font-size:13px;font-weight:600;opacity:.75}
  .buy .sizes .chips{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:3px;padding:3px;border-radius:12px;background:rgba(120,120,128,.2);width:100%}
  .buy .chips button{width:100%;min-width:0;height:42px;padding:0;border-radius:9px;font-size:15px;font-weight:600}
  .buy .chips button.on{background:#1d1c1a;color:#fff;box-shadow:0 3px 8px rgba(0,0,0,.2)}
  .buy .acts{grid-column:1/-1;flex-direction:row;align-items:center;gap:8px;width:100%}
  .buy .acts .add{flex:1;min-height:46px}
  .buy .more{flex:none;min-height:46px;padding:0 12px}
  .model{bottom:calc(var(--bb) + 224px)}
  .dots{bottom:calc(var(--bb) + 198px)}
  .arrow{top:calc(100dvh - var(--bb) - 224px - var(--SH)/2 - 21px)}
  .legal-links{display:flex;bottom:calc(var(--sab) + 12px)}

  /* ficha: tallas en cuadrícula */
  .dtext{justify-items:stretch}.dtext .ln{width:100%}
  .dsizes{display:grid;grid-template-columns:repeat(auto-fit,minmax(58px,1fr));gap:8px;width:100%}
  .dsizes button{height:46px;font-size:16px;font-weight:600}
  .dbtn{width:100%}

  /* ventanas centradas */
  .sdlg,.sdlg.wide{width:calc(100vw - 20px);max-width:calc(100vw - 20px);max-height:86dvh;padding:18px 16px 16px;border-radius:20px}
  .shead{top:-18px;margin:-18px -16px 10px;padding:16px 16px 10px}
  .sfoot{bottom:-16px;margin:12px -16px -16px;padding:12px 16px 16px}
}
@media (max-width:360px){
  .tabs>button{font-size:9.5px}
  .buy .sizes{gap:8px}.buy .sizes .lab{font-size:12px}
}
@media (max-width:767px) and (max-height:640px){
  .buy .acts .add{min-height:42px}.buy .chips button{height:38px}
}

/* ---------- celular en horizontal ---------- */
@media (max-height:560px) and (orientation:landscape){
  :root{--SH:min(56dvh,250px);--bb:calc(var(--sab) + 14px)}
  .brand{left:var(--pad);top:calc(var(--sat) + 16px);transform:none}.brand img{height:22px}
  .tabs{top:calc(var(--sat) + 6px);width:min(440px,56vw);min-width:0;padding:3px}
  .tabs>button{flex-direction:row;height:38px;gap:6px;font-size:12.5px;padding:0 10px}.tabs>button svg{width:18px;height:18px}
  .badge{left:auto;right:6px;top:2px}
  .model{left:27%;bottom:var(--bb)}
  .buy{display:flex;left:auto;right:12px;transform:none;width:min(440px,54vw);bottom:var(--bb)}
  .buy .sizes{display:flex}.buy .sizes .chips{display:flex;width:auto;flex:1}
  .arrow{display:none!important}.legal-links,.ghost,.dots{display:none!important}
  .sdlg,.sdlg.wide{max-height:92dvh}
}

/* ======================================================================
   v5 · azul en botones y transiciones · tallas · formulario compacto
   ====================================================================== */
:root{--blue:#007aff}
:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
/* botones y selecciones en azul */
.tabs>button.on{background:var(--blue);color:#fff;box-shadow:0 6px 16px -6px rgba(0,122,255,.6)}
.tabs>button:not(.on):hover{background:rgba(0,122,255,.12);color:var(--blue)}
.chips button.on,.buy .chips button.on{background:var(--blue);color:#fff;box-shadow:0 3px 10px rgba(0,122,255,.4)}
.dots button.on{background:var(--blue)}
.badge{background:var(--blue)}
.arrow svg{stroke:var(--blue)}
.thumbs button.on{border-color:var(--blue);box-shadow:0 0 0 2px var(--blue)}
.add{background:var(--blue)}.add:hover{background:#0a6be0}
.sdlg .add{background:var(--blue)}
.sdlg .add.outline{background:rgba(0,122,255,.12);color:var(--blue)}
.qty button{color:var(--blue)}
.toast{background:rgba(0,98,214,.94)}
/* transiciones azules */
.sheen{background:linear-gradient(105deg,transparent 40%,rgba(90,170,255,.5) 50%,transparent 60%)!important}
.scan{background:linear-gradient(90deg,transparent,#4da3ff 18%,#4da3ff 82%,transparent);box-shadow:0 0 18px 4px rgba(0,122,255,.7),0 0 60px 10px rgba(0,122,255,.4)}
.scan::after{background:linear-gradient(to top,rgba(0,122,255,.28),transparent)}
.scgrid{background:repeating-linear-gradient(0deg,transparent 0 5px,rgba(40,140,255,.3) 5px 6px)}
.sdlg::backdrop{background:rgba(6,28,66,.5)}
@keyframes pop{from{opacity:0;transform:scale(.94) translateY(8px)}}
.sdlg[open]{animation:pop .32s var(--spring)}
.tabs>button,.chips button,.add,.dots button{transition:background .3s var(--ease),color .3s var(--ease),box-shadow .3s var(--ease),transform .25s var(--ease),width .35s var(--spring)}

/* acceso al administrador */
.adminlink{position:fixed;right:var(--pad);top:calc(var(--sat) + 18px);z-index:71;width:42px;height:42px;border-radius:50%;display:grid;place-items:center;color:var(--blue)}
.adminlink svg{width:20px;height:20px}
.adminlink:hover{background:rgba(0,122,255,.14)}

/* tarjeta de compra: "Ver ficha" junto a la información; botón agregar centrado */
.buy .info{display:flex;align-items:center;gap:10px;min-width:0}
.buy .itx{flex:1;min-width:0}
.buy .more{flex:none;min-height:34px;padding:0 12px;border-radius:999px;background:rgba(0,122,255,.12);color:var(--blue);font-size:13px;font-weight:600;white-space:nowrap}
.buy .acts{align-items:stretch}
.buy .acts .add{display:flex;align-items:center;justify-content:center;text-align:center;white-space:nowrap}
@media (max-width:767px){
  .adminlink{top:calc(var(--sat) + 6px);right:10px;width:34px;height:34px}.adminlink svg{width:17px;height:17px}
  .buy .acts{display:flex;justify-content:center;width:100%}
  .buy .acts .add{flex:1;width:100%;margin:0 auto}
}
@media (max-height:560px) and (orientation:landscape){.adminlink{top:calc(var(--sat) + 8px)}}
.legal-links a[href="admin/"]{opacity:.8}

/* ---------- Datos de compra y envío: todo visible, sin scroll ---------- */
.sdlg.cwide{width:min(calc(100vw - 24px),760px)}
.cgrid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:0 10px}
.cgrid label{margin-bottom:7px;gap:3px;font-size:11.5px}
.cgrid .c2{grid-column:span 2}.cgrid .c3{grid-column:span 3}.cgrid .c4{grid-column:span 4}
.sdlg .cgrid input:not([type=checkbox]),.sdlg .cgrid select{font-size:15px;padding:8px 10px;border-radius:9px;min-height:38px}
.sdlg.cwide .chk{font-size:11.5px;line-height:1.35;margin:2px 0 4px}
.sdlg.cwide .shead{margin-bottom:8px;padding-bottom:6px}
.cfoot{display:grid;grid-template-columns:1fr auto;gap:6px 16px;align-items:center;margin-top:8px}
.cfoot .tot{margin:0;display:grid;grid-template-columns:repeat(3,auto);gap:0 18px;justify-content:start}
.cfoot .tot div,.cfoot .tot .grand{display:grid;gap:0;padding:0;margin:0;border:0;font-size:12px;font-weight:400}
.cfoot .tot span{color:#6c6c70;font-size:11px}.cfoot .tot b{font-size:15px}.cfoot .tot .grand b{font-size:18px}
.cfoot .pay{width:auto;min-width:220px;margin:0}
.cfoot .ferr{grid-column:1/-1;margin:0;min-height:0}
@media (max-width:767px){
  .cgrid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .cgrid .c2,.cgrid .c3,.cgrid .c4{grid-column:span 1}.cgrid .mf{grid-column:1/-1}
  .cgrid label{margin-bottom:5px;font-size:11px}
  .sdlg .cgrid input:not([type=checkbox]),.sdlg .cgrid select{font-size:16px;padding:7px 10px;min-height:38px}
  .sdlg.cwide .chk{font-size:10.5px}
  .cfoot{grid-template-columns:1fr;gap:6px}.cfoot .tot{justify-content:space-between}.cfoot .pay{width:100%}
}
@media (max-width:767px) and (max-height:780px){
  .cgrid label{margin-bottom:3px;gap:2px}
  .sdlg .cgrid input:not([type=checkbox]),.sdlg .cgrid select{padding:5px 10px;min-height:34px}
  .sdlg.cwide{padding-top:14px}.sdlg.cwide .shead{top:-14px;margin-top:-14px;padding-top:12px}
  .sdlg.cwide .shead h2{font-size:18px}
}


/* ---------- Instrucciones de pago colombiano (checkout) ---------- */
.co-pay-boxes{margin:12px 0 4px;display:grid;gap:8px}
.co-pay-info{background:rgba(0,122,255,.07);border:1px solid rgba(0,122,255,.18);border-radius:12px;padding:12px 14px;font-size:13px;line-height:1.5}
.co-pay-info b{display:block;margin-bottom:2px;font-size:14px}
@media(max-width:600px){.co-pay-info{font-size:12.5px}}

/* ---------- Performance ---------- */
.stage{contain:layout style;will-change:transform}
@media(max-width:767px){
  .glass{-webkit-backdrop-filter:none;backdrop-filter:none;background:rgba(220,215,205,.92)}
}
