/* ---- Tienda Sincrons (añadido a la demo; reutiliza sus variables) ---- */
.nav-cart{position:relative;width:44px;height:44px;border-radius:50%;background:var(--mist);border:1px solid var(--line);display:inline-flex;align-items:center;justify-content:center;transition:background .25s,transform .25s;margin-left:1rem;flex-shrink:0}
.nav-cart:hover{background:var(--sky);transform:translateY(-2px)}
.nav-cart svg{width:21px;height:21px;stroke:var(--blue-deep);fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.cart-badge{position:absolute;top:-4px;right:-4px;min-width:20px;height:20px;padding:0 5px;border-radius:20px;background:var(--gold);color:#fff;font-size:.7rem;font-weight:700;display:flex;align-items:center;justify-content:center;font-family:var(--font-b)}
.cart-badge[data-empty="1"]{display:none}
@media(max-width:900px){.nav-cart{margin-left:auto;margin-right:.6rem}}

.shop-sec{padding:3.5rem 0 5rem}
.shop-intro{max-width:760px;margin:0 auto 2.4rem;text-align:center;color:var(--text-mut)}
.shop-filters{display:flex;flex-wrap:wrap;gap:.6rem;justify-content:center;margin:0 auto 2.4rem}
.shop-filters button{font-family:var(--font-b);font-weight:600;font-size:.86rem;padding:.6rem 1.2rem;border-radius:40px;border:1.5px solid var(--line);background:#fff;color:var(--ink);cursor:pointer;transition:.25s}
.shop-filters button:hover{border-color:var(--blue)}
.shop-filters button.on{background:var(--blue);border-color:var(--blue);color:#fff}
.shop-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:1.6rem}
.shop-card{background:#fff;border-radius:var(--r);overflow:hidden;box-shadow:var(--sh-s);border:1px solid var(--line);transition:transform .3s,box-shadow .3s;display:flex;flex-direction:column}
.shop-card:hover{transform:translateY(-6px);box-shadow:var(--sh-m)}
.shop-card .ph{aspect-ratio:1/1;background:var(--mist);overflow:hidden;display:block}
.shop-card .ph img{width:100%;height:100%;object-fit:cover;transition:transform .5s}
.shop-card:hover .ph img{transform:scale(1.04)}
.shop-card .pb{padding:1.1rem 1.2rem 1.3rem;display:flex;flex-direction:column;gap:.35rem;flex:1}
.shop-card .cat-l{font-size:.7rem;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--gold)}
.shop-card h3{font-family:var(--font-h);font-weight:500;font-size:1.15rem;color:var(--ink);line-height:1.3}
.shop-card .row{display:flex;justify-content:space-between;align-items:center;margin-top:auto;padding-top:.7rem;gap:.5rem}
.shop-card .pr{font-family:var(--font-h);font-weight:600;color:var(--blue-deep);font-size:1.1rem}
.shop-card .add{font-family:var(--font-b);font-weight:600;font-size:.8rem;padding:.55rem 1rem;border-radius:30px;border:0;background:var(--blue);color:#fff;cursor:pointer;white-space:nowrap}
.shop-card .add:hover{background:var(--blue-deep)}
.shop-empty{text-align:center;max-width:580px;margin:0 auto;background:#fff;border:1px dashed var(--blue-light);border-radius:var(--r);padding:2.6rem 1.6rem}
.shop-empty h3{font-family:var(--font-h);font-weight:500;font-size:1.5rem;margin-bottom:.6rem;color:var(--ink)}
.shop-empty p{color:var(--text-mut);margin-bottom:1.4rem}

.crumb{font-size:.85rem;color:var(--text-mut);margin-bottom:1.6rem}
.crumb a{color:var(--blue)}
.pdp{display:grid;grid-template-columns:1.05fr 1fr;gap:3rem;align-items:start}
.pdp-gal .main{border-radius:var(--r);overflow:hidden;background:var(--mist);aspect-ratio:1/1;box-shadow:var(--sh-m)}
.pdp-gal .main img{width:100%;height:100%;object-fit:cover}
.pdp-gal .thumbs{display:flex;gap:.6rem;margin-top:.8rem;flex-wrap:wrap}
.pdp-gal .thumbs img{width:72px;height:72px;object-fit:cover;border-radius:10px;cursor:pointer;border:2px solid transparent}
.pdp-gal .thumbs img.on{border-color:var(--blue)}
.pdp-info h1{font-family:var(--font-h);font-weight:500;font-size:clamp(1.9rem,4vw,2.6rem);margin:.4rem 0 .8rem;color:var(--ink);line-height:1.15}
.pdp-price{font-family:var(--font-h);font-weight:600;font-size:1.8rem;color:var(--blue-deep)}
.iva{font-size:.8rem;color:var(--text-mut);font-weight:600;margin-left:.5rem}
.pdp-desc{color:var(--text);margin:1.2rem 0 1.6rem;white-space:pre-line}
.pdp-buy{display:flex;gap:.8rem;flex-wrap:wrap;align-items:center}
.qty{display:inline-flex;align-items:center;border:1.5px solid var(--line);border-radius:40px;background:#fff}
.qty button{width:40px;height:44px;border:0;background:none;font-size:1.2rem;cursor:pointer;color:var(--blue-deep);font-weight:700}
.qty input{width:44px;text-align:center;border:0;font-family:var(--font-b);font-weight:700;font-size:1rem;background:none}
.pdp-note{margin-top:1.4rem;font-size:.9rem;color:var(--text-mut)}
.pdp-note a{color:var(--blue)}
.toast{position:fixed;left:50%;bottom:28px;transform:translateX(-50%) translateY(140px);background:var(--ink);color:#fff;padding:.8rem 1.4rem;border-radius:40px;font-weight:600;font-size:.9rem;z-index:12000;transition:transform .35s}
.toast.show{transform:translateX(-50%) translateY(0)}

.cart-wrap{display:grid;grid-template-columns:1.6fr 1fr;gap:2rem;align-items:start}
.cart-list{background:#fff;border-radius:var(--r);border:1px solid var(--line);box-shadow:var(--sh-s);overflow:hidden}
.cart-item{display:grid;grid-template-columns:84px 1fr auto;gap:1rem;align-items:center;padding:1rem 1.2rem;border-bottom:1px solid var(--line)}
.cart-item:last-child{border-bottom:0}
.cart-item img{width:84px;height:84px;object-fit:cover;border-radius:10px;background:var(--mist)}
.cart-item h4{font-family:var(--font-h);font-weight:500;font-size:1.05rem;margin-bottom:.3rem;color:var(--ink)}
.cart-item .ip{color:var(--blue-deep);font-weight:700}
.cart-item .rm{background:none;border:0;color:var(--text-mut);font-weight:600;font-size:.8rem;cursor:pointer;text-decoration:underline;margin-top:.4rem}
.cart-item .qty button{width:32px;height:36px}
.cart-item .qty input{width:34px}
.summary{background:#fff;border-radius:var(--r);border:1px solid var(--line);box-shadow:var(--sh-s);padding:1.6rem}
.summary h3{font-family:var(--font-h);font-weight:500;font-size:1.35rem;margin-bottom:1rem;color:var(--ink)}
.summary .ln{display:flex;justify-content:space-between;gap:1rem;margin:.5rem 0;color:var(--text-mut)}
.summary .tot{display:flex;justify-content:space-between;align-items:baseline;border-top:1.5px dashed var(--line);margin-top:1rem;padding-top:1rem;font-family:var(--font-h);font-size:1.35rem;font-weight:600;color:var(--ink)}
.summary .btn{width:100%;justify-content:center;margin-top:1.2rem}
.summary small{display:block;color:var(--text-mut);margin-top:.8rem;font-size:.8rem}

.co-form{background:#fff;border-radius:var(--r);border:1px solid var(--line);box-shadow:var(--sh-s);padding:1.8rem}
.co-form h3{font-family:var(--font-h);font-weight:500;font-size:1.35rem;margin-bottom:1rem;color:var(--ink)}
.co-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
.co-grid .full{grid-column:1/-1}
.co-form label{display:block;font-size:.8rem;font-weight:600;color:var(--ink);margin-bottom:.35rem}
.co-form input{width:100%;padding:.8rem 1rem;border:1.5px solid var(--line);border-radius:10px;font-family:var(--font-b);font-size:.95rem;background:var(--paper)}
.co-form input:focus{outline:0;border-color:var(--blue)}
.co-form .btn{width:100%;justify-content:center;margin-top:1.4rem}
.co-err{display:none;margin-top:1rem;background:#fff4f2;border:1px solid #f0c2b8;color:#9b3324;padding:1rem;border-radius:10px;font-weight:600;font-size:.9rem}
.co-err a{text-decoration:underline}
.legal-iva{font-size:.8rem;color:var(--text-mut);margin-top:1rem}

.ok-box{max-width:620px;margin:0 auto;text-align:center;background:#fff;border-radius:var(--r);border:1px solid var(--line);box-shadow:var(--sh-m);padding:3rem 2rem}
.ok-box .ic{width:76px;height:76px;border-radius:50%;background:var(--sky);display:flex;align-items:center;justify-content:center;margin:0 auto 1.2rem;font-size:2rem;color:var(--blue-deep)}
.ok-box h1{font-family:var(--font-h);font-weight:500;font-size:clamp(1.9rem,4vw,2.5rem);margin-bottom:.8rem;color:var(--ink)}
.ok-box p{color:var(--text-mut);margin-bottom:.6rem}

@media(max-width:960px){.pdp,.cart-wrap{grid-template-columns:1fr}}
@media(max-width:640px){.shop-grid{grid-template-columns:1fr 1fr;gap:1rem}.co-grid{grid-template-columns:1fr}.cart-item{grid-template-columns:64px 1fr}.cart-item img{width:64px;height:64px}.cart-item .ir{grid-column:2}.shop-card .row{flex-direction:column;align-items:flex-start}}
