/* Cruzial · Tienda editorial + cesta. Reutiliza variables y componentes de v2/v6/v7. */

/* ---------- Cabecera: botón de cesta ---------- */
.site-header .cart-btn{order:5;position:relative;flex:none;display:grid;place-items:center;width:40px;height:40px;margin-left:-6px;border:0;border-radius:50%;background:transparent;color:#f5f5f7;transition:background .3s var(--ease-apple)}
.site-header .cart-btn:hover{background:#ffffff1a}
.site-header .cart-btn svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linejoin:round;stroke-linecap:round}
.cart-count{position:absolute;top:2px;right:0;min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:#fff;color:#0a1020;font:600 11px/18px var(--sans);text-align:center;transform:scale(0);transition:transform .35s var(--ease-soft)}
.cart-btn.has-items .cart-count{transform:scale(1)}
.cart-btn.bump .cart-count{animation:cartBump .5s var(--ease-soft)}
@keyframes cartBump{0%{transform:scale(1)}40%{transform:scale(1.35);background:#9cc3ff}100%{transform:scale(1)}}
@media(max-width:900px){.site-header .cart-btn{order:0;width:44px;height:44px;margin:0}.site-header .mobile-cta+.cart-btn{margin-left:2px}}
html.cesta-open{overflow:hidden}

/* ---------- Panel lateral ---------- */
.cesta-wrap{position:fixed;inset:0;z-index:80}
.cesta-backdrop{position:absolute;inset:0;background:#0a102066;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);opacity:0;transition:opacity .38s var(--ease-apple)}
.cesta{position:absolute;top:0;right:0;bottom:0;width:min(440px,100vw);background:#fff;color:#1d1d1f;display:flex;flex-direction:column;box-shadow:-30px 0 60px -30px #0a102080;transform:translateX(100%);transition:transform .38s var(--ease-soft);outline:none}
.cesta-wrap.is-open .cesta{transform:none}.cesta-wrap.is-open .cesta-backdrop{opacity:1}
.cesta-head{display:flex;align-items:center;justify-content:space-between;padding:22px 24px 6px}
.cesta-head h2{font-size:26px;margin:0;letter-spacing:-.03em;color:#1d1d1f}
.cesta-close{width:44px;height:44px;border-radius:50%;border:0;background:#f0f0f3;color:#1d1d1f;display:grid;place-items:center}
.cesta-close:hover{background:#e3e3e8}
.cesta-close svg,.qty svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
.cesta-demo{margin:0 24px 6px;font-size:12px;color:#6e6e73}
.cesta-body{flex:1;overflow:auto;padding:4px 24px;overscroll-behavior:contain}
.cesta-empty{padding:48px 0;text-align:center;color:#515154}
.cesta-lines{list-style:none;margin:0;padding:0}
.cesta-line{display:grid;grid-template-columns:64px 1fr auto;gap:16px;padding:18px 0;border-bottom:1px solid #e5e5ea;align-items:start}
.cesta-line img{width:64px;height:88px;object-fit:contain;object-position:center top;background:#f5f5f7;border-radius:6px}
.cl-t{margin:0;font-size:16px;font-weight:600;letter-spacing:-.01em}
.cl-p{margin:2px 0 10px;font-size:13px;color:#6e6e73}.cl-p span{font-size:12px}
.cl-row{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.cl-sum{margin:0;font-size:15px;font-weight:600;white-space:nowrap}
.cl-remove{border:0;background:none;padding:10px 2px;min-height:44px;color:#0a4fb4;font-size:13px}
.cl-remove:hover{text-decoration:underline;text-underline-offset:4px}
.cesta-foot{padding:16px 24px 22px;border-top:1px solid #e5e5ea;background:#fbfbfd}
.cesta-foot:empty{display:none}
.cesta-tot{margin:0 0 10px}
.cesta-tot div{display:flex;justify-content:space-between;gap:12px;padding:5px 0;font-size:14px;color:#3a3a3c}
.cesta-tot dt span{color:#6e6e73;font-size:12px}.cesta-tot dd{margin:0;white-space:nowrap}
.cesta-tot .tot{border-top:1px solid #e5e5ea;margin-top:6px;padding-top:12px;font-size:18px;font-weight:600;color:#1d1d1f}
.cesta-note{font-size:12px;color:#6e6e73;margin:0 0 14px}
.cesta-go{width:100%}
.cesta-keep{display:block;width:100%;margin-top:6px;min-height:44px;border:0;background:none;color:#0a4fb4;font-size:14px}
.cesta .btn,.shop-page .btn,.cesta-empty .btn{background:var(--azul);border-color:var(--azul);color:#fff!important;font-size:15px;min-height:48px}
.cesta .btn:hover,.shop-page .btn:hover{background:var(--tinta);border-color:var(--tinta)}

/* Selector de cantidad */
.qty{display:inline-flex;align-items:center;border:1px solid #d2d2d7;border-radius:999px;background:#fff;height:44px}
.qty button{width:42px;height:42px;border:0;border-radius:50%;background:none;color:#1d1d1f;display:grid;place-items:center}
.qty button:hover:not(:disabled){background:#f0f0f3}
.qty button:disabled{opacity:.3;cursor:default}
.qty output,.qty input{width:34px;text-align:center;font:600 15px var(--sans);color:#1d1d1f;border:0;background:none;padding:0;-moz-appearance:textfield;appearance:textfield}
.qty input::-webkit-outer-spin-button,.qty input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.qty input:focus-visible{outline:2px solid var(--azul);outline-offset:2px;border-radius:6px}

/* Aviso flotante */
.shop-toast{position:fixed;left:50%;bottom:24px;z-index:90;transform:translate(-50%,20px);opacity:0;pointer-events:none;max-width:min(92vw,520px);padding:12px 20px;border-radius:999px;background:#1d1d1fe6;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);color:#fff;font-size:14px;text-align:center;transition:opacity .35s,transform .35s var(--ease-soft)}
.shop-toast.is-on{opacity:1;transform:translate(-50%,0)}
html.cesta-open .shop-toast{opacity:0}

/* ---------- Editorial (inicio): enlaces de compra ---------- */
.ed-bar{flex-wrap:wrap}
.ed-shop{margin-left:auto;margin-right:8px;display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:0 20px;border-radius:999px;background:var(--azul);color:#fff!important;font-size:14px;font-weight:500;text-decoration:none!important;transition:background .3s}
.ed-shop:hover{background:var(--tinta)}
.ed-book .ed-buy{display:inline-flex;width:auto;align-items:center;gap:4px;min-height:32px;margin-top:2px;padding:0 14px;border:1px solid #c7d5ea;border-radius:999px;font-size:13px;font-weight:500;color:var(--azul);text-decoration:none!important;background:#fff;transition:background .3s,border-color .3s}
.ed-book .ed-buy:hover{background:#edf3fc;border-color:var(--azul)}
.ed-book .ed-buy:focus-visible{outline:2px solid var(--azul);outline-offset:3px;box-shadow:none;border-radius:999px}
@media(max-width:640px){.ed-shop{margin-left:0;order:3}}

/* ---------- Página de tienda ---------- */
.shop-page{background:#fff}
.shop-page h1{font-size:clamp(44px,6vw,84px);font-weight:600;letter-spacing:-.05em;line-height:1.02;color:#1d1d1f;margin:0 0 20px}
.shop-page h1 em,.shop-page h2 em{color:var(--azul)}
.shop-hero{padding:72px var(--gutter) 28px;background:#fff}
.shop-hero .eyebrow,.co-page .eyebrow{color:var(--azul);font:500 14px/1.3 var(--sans);letter-spacing:0;text-transform:none;margin-bottom:14px}
.shop-lead{max-width:600px;font-size:clamp(17px,1.4vw,20px);line-height:1.5;color:#515154}
.shop-flags{list-style:none;padding:0;margin:26px 0 0;display:flex;flex-wrap:wrap;gap:10px}
.shop-flags li{display:inline-flex;align-items:center;gap:8px;padding:8px 14px;border-radius:14px;background:#f0f0f3;font-size:13px;color:#3a3a3c;max-width:100%;text-wrap:balance}
.shop-flags .flag-warn{background:#fff4e0;color:#7a4b00;font-weight:600}
.flag-dot{width:7px;height:7px;border-radius:50%;background:#e08a00}
.shop-list{padding:28px 0 90px;background:#fff}
.shop-list .wrap,.shop-how .wrap,.co-page .wrap,.shop-hero .wrap{max-width:calc(1280px + 2*var(--gutter));padding-left:var(--gutter);padding-right:var(--gutter)}
.shop-hero .wrap{padding:0}
.shop-bar{display:flex;justify-content:space-between;align-items:baseline;gap:20px;flex-wrap:wrap;border-top:1px solid #e5e5ea;padding-top:24px;margin-bottom:28px}
.shop-bar h2{font-size:22px;margin:0;letter-spacing:-.02em}
.shop-bar p{margin:0;font-size:14px;color:#6e6e73}.shop-bar a{color:#0a4fb4;text-decoration:underline;text-underline-offset:3px}
.shop-grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:40px 24px}
.shop-item{display:flex;flex-direction:column;border-radius:22px;scroll-margin-top:120px}
.shop-stage{aspect-ratio:4/5;background:#f5f5f7;border-radius:20px;display:grid;place-items:center;padding:13% 16%;overflow:hidden}
.shop-stage img{max-height:100%;width:auto;max-width:100%;object-fit:contain;border-radius:2px 4px 4px 2px;box-shadow:-1px 0 0 #0000001a,16px 22px 30px -16px #0a1a4a73,3px 5px 9px -4px #0003;transition:transform .8s var(--ease-apple)}
.shop-item[data-kind=foto] .shop-stage{padding:10%}
.shop-item[data-kind=foto] .shop-stage img{border-radius:10px}
.shop-item:hover .shop-stage img{transform:translateY(-6px) scale(1.02)}
.shop-info{padding:18px 4px 0;display:flex;flex-direction:column;flex:1}
.shop-t{font-size:21px;margin:0;letter-spacing:-.02em;color:#1d1d1f}
.shop-ed{margin:4px 0 10px;font-size:13px;color:#6e6e73}
.shop-price{margin:0 0 16px;font-size:17px;font-weight:600;color:#1d1d1f;display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.shop-ex{font-size:11px;font-weight:600;color:#7a4b00;background:#fff4e0;border-radius:999px;padding:3px 9px}
.shop-buy{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:auto}
.shop-add{flex:1;min-width:150px;min-height:44px!important;padding:10px 18px!important;font-size:14px!important;gap:8px!important}
.shop-add.is-added{background:#1d7a3a!important;border-color:#1d7a3a!important}
.shop-in{min-height:20px;margin:10px 0 0;font-size:13px;color:#1d7a3a;font-weight:500}
.shop-item.is-target .shop-stage{animation:shopTarget 1.6s var(--ease-soft)}
@keyframes shopTarget{0%,40%{box-shadow:0 0 0 3px var(--azul)}100%{box-shadow:0 0 0 3px #1a4d9400}}
.shop-nojs{padding:20px;background:#fff4e0;border-radius:12px}
.shop-how{background:#f5f5f7;padding:80px 0}
.shop-how h2{font-size:clamp(30px,3.4vw,48px);margin:0 0 36px}
.how-steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}
.how-steps li{display:flex;flex-direction:column;gap:8px}
.how-steps strong{font-size:19px;letter-spacing:-.02em;color:#1d1d1f;font-weight:600}
.how-steps li>span:last-child{font-size:15px;color:#515154;line-height:1.55}
@media(max-width:1100px){.shop-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.shop-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:32px 14px}.how-steps{grid-template-columns:1fr}.shop-t{font-size:17px}.shop-stage{border-radius:16px}.shop-buy{flex-direction:column;align-items:stretch}.shop-buy .qty{justify-content:space-between}.shop-add{min-width:0}.shop-hero{padding-top:48px}}

/* ---------- Pedido ---------- */
.co-page{padding:48px 0 96px;background:#fff}
.co-back{display:inline-flex;align-items:center;gap:6px;min-height:44px;font-size:14px;color:#0a4fb4;margin-bottom:12px}
.co-demo{max-width:760px;padding:14px 18px;border-radius:14px;background:#fff4e0;color:#5c3900;font-size:14px;line-height:1.5;margin:0 0 36px}
.co-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:56px;align-items:start}
.co-form fieldset{border:0;padding:0;margin:0 0 30px}
.co-form legend{font-size:22px;font-weight:600;letter-spacing:-.02em;color:#1d1d1f;margin-bottom:16px;padding:0}
.field{display:flex;flex-direction:column;gap:6px;margin-bottom:14px;flex:1;min-width:0}
.field label{font-size:13px;font-weight:500;color:#3a3a3c}
.field input{min-height:48px;padding:10px 14px;border:1px solid #c7c7cc;border-radius:12px;font:16px var(--sans);color:#1d1d1f;background:#fff;transition:border-color .2s,box-shadow .2s}
.field input:focus{outline:none;border-color:var(--azul);box-shadow:0 0 0 3px #1a4d9433}
.field input[aria-invalid=true]{border-color:#c4271b;box-shadow:0 0 0 3px #c4271b22}
.field-row{display:flex;gap:14px}
.opts{display:grid;gap:10px;margin-bottom:18px}
.opt{display:flex;gap:14px;align-items:flex-start;padding:16px 18px;border:1px solid #d2d2d7;border-radius:14px;cursor:pointer;transition:border-color .2s,background .2s}
.opt:has(input:checked){border-color:var(--azul);background:#f4f8fe}
.opt input{margin:3px 0 0;width:18px;height:18px;accent-color:var(--azul);flex:none}
.opt strong{display:block;font-size:16px;color:#1d1d1f}.opt small{display:block;font-size:13px;color:#6e6e73;margin-top:2px}
.co-pay{font-size:14px;color:#515154;background:#f5f5f7;border-radius:14px;padding:14px 18px;margin:0}
.co-req{font-size:12px;color:#6e6e73;margin:0 0 18px}
.co-submit{width:100%;font-size:17px!important}
.co-small{font-size:12px;color:#6e6e73;text-align:center;margin:10px 0 0}
.co-errors{border:1px solid #c4271b;background:#fdf1f0;border-radius:14px;padding:14px 18px;margin-bottom:24px;color:#8a1c13;font-size:14px}
.co-errors p{margin:0 0 6px}.co-errors ul{margin:0;padding-left:18px}.co-errors a{color:#8a1c13;text-decoration:underline}
.co-aside{position:sticky;top:calc(var(--hh) + 56px);background:#f5f5f7;border-radius:22px;padding:26px}
.co-aside h2{font-size:22px;margin:0 0 12px;letter-spacing:-.02em}
.sum-lines{list-style:none;margin:0 0 12px;padding:0}
.sum-lines li{display:grid;grid-template-columns:44px 1fr auto;gap:14px;align-items:center;padding:10px 0;border-bottom:1px solid #e1e1e6}
.sum-lines img{width:44px;height:60px;object-fit:contain;background:#fff;border-radius:4px}
.sl-t{font-size:15px;font-weight:600;color:#1d1d1f}.sl-t small{display:block;font-weight:400;font-size:13px;color:#6e6e73}
.sl-p{font-size:15px;font-weight:600}
.text-btn{border:0;background:none;padding:10px 0;min-height:44px;color:#0a4fb4;font-size:14px}
.text-btn:hover{text-decoration:underline;text-underline-offset:4px}
.co-empty{padding:40px 0;font-size:18px}
.co-done{max-width:680px}
.co-check{display:grid;place-items:center;width:64px;height:64px;border-radius:50%;background:#1d7a3a;margin-bottom:20px}
.co-check svg{width:30px;height:30px;fill:none;stroke:#fff;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.co-done h2{font-size:clamp(24px,2.4vw,32px);margin:0 0 16px}
#co-title:focus{outline:none}
.co-done-demo{padding:14px 18px;border-radius:14px;background:#fff4e0;color:#5c3900;font-size:16px}
.co-done p{color:#3a3a3c}
.co-ref{font-size:14px}
.co-done-sum{background:#f5f5f7;border-radius:22px;padding:20px 24px;margin:20px 0 28px}
@media(max-width:900px){.co-grid{grid-template-columns:1fr;gap:36px}.co-aside{position:static;order:-1}}
@media(max-width:640px){.field-row{flex-direction:column;gap:0}.co-page{padding-top:28px}.cesta-head{padding:16px 18px 4px}.cesta-demo,.cesta-body,.cesta-foot{padding-left:18px;padding-right:18px}.cesta-demo{margin-left:18px;margin-right:18px;padding:0}}

@media(prefers-reduced-motion:reduce){
.cesta,.cesta-backdrop,.shop-toast,.cart-count,.shop-stage img{transition:none!important}
.cart-btn.bump .cart-count,.shop-item.is-target .shop-stage{animation:none!important}
.shop-item:hover .shop-stage img{transform:none}
}

/* Corrección: el fieldset de entrega se salía de la columna (min-content de 3 inputs) */
.co-form fieldset{min-width:0}
.field input{width:100%;min-width:0}


/* ---------- Pestañas de la tienda (ropa / libros) ---------- */
.shop-tabs-wrap{background:#fff;padding:0}
.shop-tabs-wrap .wrap{max-width:calc(1280px + 2*var(--gutter));padding-left:var(--gutter);padding-right:var(--gutter)}
.shop-tabs{display:flex;gap:0;border-bottom:1px solid #e5e5ea;overflow-x:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
.shop-tab{flex:none;min-height:48px;padding:12px 4px;margin-right:28px;border:0;border-bottom:2px solid transparent;background:none;color:#6e6e73;font:600 16px/1.2 var(--sans);letter-spacing:-.02em;border-radius:0}
.shop-tab:hover{color:#1d1d1f;text-decoration:none}
.shop-tab[aria-selected=true]{color:var(--azul);border-bottom-color:var(--azul)}
.shop-tab:focus-visible{outline-offset:2px}
.shop-ropa{padding-top:8px}
.roly-note{margin:0 0 22px;padding:14px 18px;border-radius:14px;background:#fff4e0;color:#5c3900;font-size:14px;line-height:1.5;max-width:920px}
.roly-tools{display:flex;flex-direction:column;gap:16px;margin-bottom:22px}
.roly-search label{display:block;font-size:13px;font-weight:500;color:#3a3a3c;margin-bottom:6px}
.roly-search input{width:100%;max-width:420px;min-height:48px;padding:10px 16px;border:1px solid #c7c7cc;border-radius:12px;font:16px var(--sans);color:#1d1d1f;background:#fff}
.roly-search input:focus{outline:none;border-color:var(--azul);box-shadow:0 0 0 3px #1a4d9433}
.roly-filters{display:flex;flex-wrap:nowrap;gap:8px;overflow-x:auto;padding:2px 2px 8px;margin:0 -2px;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scrollbar-width:thin}
.roly-chip{flex:none;min-height:44px;padding:8px 16px;border:1px solid #d2d2d7;border-radius:999px;background:#fff;color:#1d1d1f;font:500 14px var(--sans);white-space:nowrap}
.roly-chip:hover{border-color:var(--azul);background:#f4f8fe}
.roly-chip[aria-pressed=true]{background:var(--azul);border-color:var(--azul);color:#fff}
.roly-chip:focus-visible{outline:2px solid var(--azul);outline-offset:2px}
.roly-status{min-height:20px;margin:0 0 16px;font-size:14px;color:#6e6e73}
.roly-empty{padding:28px 18px;border-radius:14px;background:#f5f5f7;color:#3a3a3c}
.roly-grid .shop-item{min-width:0}
.roly-stage{aspect-ratio:1/1;padding:10%}
.roly-stage img{max-height:100%;width:auto;max-width:100%;object-fit:contain;border-radius:8px;box-shadow:none}
.roly-item:hover .roly-stage img{transform:none}
.roly-open{display:flex;flex-direction:column;align-items:stretch;width:100%;padding:0;border:0;background:none;color:inherit;text-align:left;cursor:pointer;border-radius:16px;font:inherit}
.roly-open:hover{text-decoration:none}
.roly-open:focus-visible{outline:2px solid var(--azul);outline-offset:4px}
.roly-ref{margin:10px 0 2px;font-size:12px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:#6e6e73}
.roly-item .shop-t{font-size:19px}
.roly-item .shop-price{margin:10px 0 0;font-size:15px;font-weight:600;align-items:flex-start;line-height:1.35}
.roly-item .shop-price .desde{font-weight:500;color:#3a3a3c}
.roly-consult{color:var(--azul)}
.roly-iva{display:block;font-size:12px;font-weight:500;color:#6e6e73}

/* ---------- Ficha de producto (modal) ---------- */
.roly-modal-wrap{position:fixed;inset:0;z-index:85}
.roly-modal-back{position:absolute;inset:0;background:#0a102066;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
.roly-modal{position:absolute;inset:auto 0 0;max-height:min(92dvh,920px);width:min(1080px,100%);margin:0 auto;background:#fff;color:#1d1d1f;border-radius:22px 22px 0 0;box-shadow:0 -20px 60px -20px #0a102080;display:flex;flex-direction:column;outline:none;overflow:hidden}
@media(min-width:880px){
  .roly-modal{inset:50% auto auto 50%;transform:translate(-50%,-50%);max-height:min(86vh,840px);border-radius:22px;width:min(1000px,calc(100vw - 48px))}
}
html.roly-modal-open{overflow:hidden}
.roly-modal-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 20px 8px;flex:none}
.roly-modal-head h2{font-size:22px;margin:0;letter-spacing:-.03em;color:#1d1d1f;min-width:0}
.roly-modal-brand{margin:0;font-size:13px;color:#6e6e73;font-weight:500}
.roly-modal-close{width:44px;height:44px;border-radius:50%;border:0;background:#f0f0f3;color:#1d1d1f;display:grid;place-items:center;flex:none}
.roly-modal-close:hover{background:#e3e3e8}
.roly-modal-close svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
.roly-modal-body{display:grid;grid-template-columns:minmax(0,1fr);gap:8px 40px;padding:0 20px 28px;overflow:auto;overscroll-behavior:contain;min-height:0}
@media(min-width:880px){.roly-modal-body{grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);padding:8px 28px 32px;align-items:start}}
.roly-photo{background:#f5f5f7;border-radius:18px;aspect-ratio:1/1;display:grid;place-items:center;padding:8%;position:relative}
.roly-photo img{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain}
.roly-color-name{margin:10px 0 0;font-size:13px;color:#3a3a3c;text-align:center}
.roly-desc{margin:0 0 14px;font-size:15px;line-height:1.55;color:#3a3a3c}
.roly-meta{margin:0 0 18px;font-size:13px;color:#6e6e73}
.roly-price-box{margin:0 0 18px;font-size:18px;font-weight:600;color:#1d1d1f}
.roly-price-box .roly-iva{margin-top:4px}
.roly-swatches{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 18px;padding:0;list-style:none}
.roly-swatch{width:36px;height:36px;border-radius:50%;border:1px solid #00000022;padding:0;box-shadow:inset 0 0 0 1px #fff9;position:relative}
.roly-swatch[aria-pressed=true]{box-shadow:0 0 0 2px #fff,0 0 0 4px var(--azul)}
.roly-swatch:focus-visible{outline:2px solid var(--azul);outline-offset:3px}
.roly-swatch.is-light{border-color:#c7c7cc;box-shadow:inset 0 0 0 1px #d2d2d7}
.roly-swatch.is-light[aria-pressed=true]{box-shadow:0 0 0 2px #fff,0 0 0 4px var(--azul)}
.roly-label{display:block;font-size:13px;font-weight:600;color:#1d1d1f;margin:0 0 8px}
.roly-sizes{list-style:none;margin:0 0 22px;padding:0;display:flex;flex-direction:column;gap:6px;max-height:280px;overflow:auto}
.roly-size{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;min-height:44px;padding:4px 0;border-bottom:1px solid #f0f0f3}
.roly-size span{font-size:14px;font-weight:500;color:#1d1d1f;overflow-wrap:anywhere}
.roly-ficha{display:inline-flex;align-items:center;min-height:44px;margin:0 0 18px;font-size:14px;color:#0a4fb4}
.roly-add{width:100%;font-size:16px!important}
.roly-add:disabled{opacity:.45;cursor:default}
.roly-hint{margin:10px 0 0;font-size:12px;color:#6e6e73}

/* ---------- Cesta: sección de solicitud ---------- */
.cesta-sec{font-size:13px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:#6e6e73;margin:18px 0 4px}
.cesta-sec:first-child{margin-top:8px}
.cesta-line.cesta-pq-line{grid-template-columns:64px 1fr}
.cesta-line.cesta-pq-line img{width:64px;height:64px;object-fit:contain;background:#f5f5f7;border-radius:8px}
.cesta-empty .btn + .cesta-keep{margin-top:8px}
.cesta-pq-go{margin-top:10px}
.cesta-orient{font-size:12px;color:#6e6e73;margin:0 0 10px}

/* ---------- Solicitud de presupuesto (página) ---------- */
.field textarea{min-height:120px;padding:12px 14px;border:1px solid #c7c7cc;border-radius:12px;font:16px/1.5 var(--sans);color:#1d1d1f;background:#fff;resize:vertical;width:100%;min-width:0}
.field textarea:focus{outline:none;border-color:var(--azul);box-shadow:0 0 0 3px #1a4d9433}
.field textarea[aria-invalid=true]{border-color:#c4271b;box-shadow:0 0 0 3px #c4271b22}
.pq-logo{margin-top:8px;padding:20px 18px;border:1px dashed #b4b4bb;border-radius:16px;background:#f8f8fa;text-align:center;color:#3a3a3c}
.pq-logo-ico{display:grid;place-items:center;width:48px;height:48px;margin:0 auto 10px;border-radius:50%;background:#fff;border:1px solid #e5e5ea}
.pq-logo-ico svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.pq-logo p{margin:0 0 6px;font-size:15px}
.pq-logo-note{font-size:13px;color:#6e6e73;margin:0!important}
.sum-lines .sl-roly img{width:44px;height:44px;object-fit:contain;border-radius:6px}
.pq-line-meta{display:block;font-weight:400;font-size:13px;color:#6e6e73}

@media(max-width:760px){
  .shop-tab{margin-right:18px;font-size:15px}
  .roly-item .shop-t{font-size:16px}
  .roly-modal-head{padding:12px 16px 4px}
  .roly-modal-body{padding:0 16px 24px}
  .roly-filters{margin-inline:calc(var(--gutter) * -1);padding-inline:var(--gutter)}
}
@media(prefers-reduced-motion:reduce){
  .roly-modal-back,.roly-modal{transition:none!important}
  .roly-item:hover .roly-stage img{transform:none}
}

.roly-filter-block{min-width:0}
.roly-filter-block .roly-label{margin-bottom:8px}
.roly-filters-cats{flex-wrap:wrap;overflow:visible;padding-bottom:2px}
.roly-filter-h{flex:none;display:flex;align-items:center;margin:4px 6px 4px 0;padding:0 2px 0 8px;font-size:11px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:#6e6e73;border-left:2px solid #d2d2d7;min-height:44px}
.roly-filter-h:first-of-type{border-left:0;padding-left:0}
.roly-more-wrap{display:flex;justify-content:center;margin:36px 0 8px}
.roly-more{min-width:min(280px,100%)}
.roly-stage img[src$="placeholder.svg"]{opacity:.9;box-shadow:none}
@media(max-width:760px){
  .roly-filters-cats{flex-wrap:nowrap;overflow-x:auto;padding-bottom:8px}
  .roly-filter-h{min-height:36px}
}
