body.tienda{display:block;background:#f7f3ee}
.t-wrap{max-width:1200px;margin:0 auto;padding:0 1rem}
.t-hero{background:linear-gradient(135deg,var(--vino-3),var(--vino-2));color:#fff;padding:2rem 0 1.6rem;position:relative;text-align:center}
.t-brand{font-size:2rem;font-weight:800;letter-spacing:-.01em}
.t-tag{margin:.4rem 0 0;font-size:1.05rem;opacity:.95}
.t-info{margin:.3rem 0 0;font-size:.85rem;opacity:.75}
.t-cartbtn{position:fixed;right:1rem;top:1rem;z-index:60;background:var(--oro);color:#2a1a00;border:0;border-radius:99px;padding:.6rem 1rem;font:inherit;font-weight:700;font-size:1rem;cursor:pointer;box-shadow:0 4px 14px rgba(0,0,0,.3)}
.t-cartbtn.bump{animation:bump .3s}
@keyframes bump{50%{transform:scale(1.15)}}
.t-filters{display:flex;gap:.8rem;align-items:center;flex-wrap:wrap;margin:1.2rem 0}
.t-filters input{max-width:340px}
.t-cats{display:flex;gap:.4rem;flex-wrap:wrap}
.t-cat{background:#fff;border:1px solid var(--line);border-radius:99px;padding:.35rem .8rem;font:inherit;font-size:.85rem;cursor:pointer}
.t-cat.active{background:var(--vino);color:#fff;border-color:var(--vino)}
.t-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:1rem;margin-bottom:3rem}
.t-prod{background:#fff;border-radius:12px;box-shadow:var(--sh);overflow:hidden;display:flex;flex-direction:column;transition:.15s}
.t-prod:hover{transform:translateY(-2px);box-shadow:0 8px 22px rgba(60,20,30,.14)}
.t-img{aspect-ratio:1;background:#f3ece6;display:flex;align-items:center;justify-content:center;font-size:4rem}
.t-img img{width:100%;height:100%;object-fit:cover}
.t-body{padding:.8rem .9rem 1rem;display:flex;flex-direction:column;gap:.25rem;flex:1}
.t-cat-lbl{font-size:.7rem;text-transform:uppercase;letter-spacing:.06em;color:var(--oro);font-weight:700}
.t-body h3{margin:0;font-size:1.02rem;line-height:1.25}
.t-meta{font-size:.8rem;color:var(--muted)}
.t-desc{font-size:.85rem;color:#4a3a40;margin:.3rem 0 0;line-height:1.4}
.t-foot{display:flex;justify-content:space-between;align-items:center;margin-top:auto;padding-top:.6rem}
.t-price{font-weight:800;color:var(--vino);font-size:1.1rem}
.t-last{color:var(--err);font-weight:600;font-size:.75rem}
.t-overlay{position:fixed;inset:0;background:rgba(0,0,0,.45);z-index:70;opacity:0;pointer-events:none;transition:.2s}
.t-cart{position:fixed;top:0;right:0;bottom:0;width:min(420px,100%);background:#fff;z-index:80;transform:translateX(100%);transition:.25s;display:flex;flex-direction:column;box-shadow:-6px 0 24px rgba(0,0,0,.2)}
body.cart-open .t-overlay{opacity:1;pointer-events:auto}
body.cart-open .t-cart{transform:none}
.t-cart-head{display:flex;justify-content:space-between;align-items:center;padding:1rem 1.2rem;background:var(--vino);color:#fff}
.t-cart-head h2{margin:0;font-size:1.1rem}
.t-close{background:none;border:0;color:#fff;font-size:1.3rem;cursor:pointer}
.t-cart-items{padding:.6rem 1.2rem;overflow:auto;flex:1;min-height:80px}
.t-line{display:flex;align-items:center;gap:.6rem;padding:.5rem 0;border-bottom:1px solid var(--line)}
.t-line .n{flex:1;font-size:.9rem;font-weight:600;line-height:1.2}
.t-line .n small{display:block;font-weight:400;color:var(--muted)}
.t-qty{display:flex;align-items:center;border:1px solid var(--line);border-radius:7px}
.t-qty button{background:none;border:0;width:28px;height:28px;font-size:1.1rem;cursor:pointer;color:var(--vino)}
.t-qty span{min-width:22px;text-align:center;font-weight:700}
.t-line .s{font-weight:700;min-width:80px;text-align:right;font-size:.9rem}
.t-cart-form{padding:.8rem 1.2rem 1rem;border-top:1px solid var(--line);background:#fbf8f4;overflow:auto}
.t-cart-form .field{margin-bottom:.5rem}
.t-cart-tot{display:flex;justify-content:space-between;padding:.15rem 0}
.t-cart-total{font-size:1.25rem;color:var(--vino);font-weight:800;border-top:2px solid var(--line);margin-top:.3rem;padding-top:.4rem}
.t-ok{text-align:center;max-width:560px;margin:2rem auto;padding:2rem}
.t-ok .btn{margin:.5rem .3rem}
@media(max-width:600px){.t-brand{font-size:1.5rem}.t-hero{padding:1.4rem 3.5rem 1.2rem 1rem;text-align:left}.t-grid{grid-template-columns:repeat(2,1fr);gap:.6rem}.t-body{padding:.6rem .6rem .8rem}.t-body h3{font-size:.9rem}.t-price{font-size:1rem}.t-foot{flex-direction:column;align-items:stretch;gap:.4rem}.t-desc{display:none}}

/* ===== Landing pública ===== */
html{scroll-behavior:smooth}
.t-nav{position:sticky;top:0;z-index:60;display:flex;align-items:center;gap:1.5rem;padding:.6rem 1.2rem;background:rgba(63,15,28,.96);backdrop-filter:blur(6px);color:#fff;box-shadow:0 2px 10px rgba(0,0,0,.25)}
.t-nav-brand{color:#fff;text-decoration:none;font-weight:800;font-size:1.15rem;white-space:nowrap}
.t-nav-links{display:flex;gap:1.2rem;margin-left:auto;margin-right:1rem}
.t-nav-links a{color:#f3e8ea;text-decoration:none;font-size:.92rem;font-weight:500;opacity:.9}
.t-nav-links a:hover{opacity:1;text-decoration:underline}
.t-nav .t-cartbtn{position:static;box-shadow:none;padding:.45rem .9rem;font-size:.95rem}
.t-hero2{background:radial-gradient(1200px 600px at 80% 20%,rgba(201,162,77,.25),transparent 60%),linear-gradient(135deg,#2a0a14,#5c1a2b 60%,#7a2438);color:#fff;overflow:hidden}
.t-hero2-in{max-width:1200px;margin:0 auto;padding:4rem 1rem 3.5rem;display:grid;grid-template-columns:1.15fr 1fr;gap:2rem;align-items:center;min-height:min(78vh,640px)}
.t-kicker{font-size:.8rem;letter-spacing:.14em;text-transform:uppercase;color:var(--oro);font-weight:700;margin-bottom:.8rem}
.t-hero2 h1{font-size:clamp(2rem,4.5vw,3.6rem);line-height:1.05;margin:0 0 1rem;letter-spacing:-.01em}
.t-hero2 p{font-size:1.15rem;opacity:.92;max-width:34rem;margin:0 0 1.5rem}
.t-hero2-cta{display:flex;gap:.7rem;flex-wrap:wrap}
.t-btn-wa{background:#25d366;color:#0b3d1f}.t-btn-wa:hover{background:#1ebe5b}
.t-hero2-badges{display:flex;gap:1rem;flex-wrap:wrap;margin-top:1.6rem;font-size:.88rem;opacity:.9}
.t-hero2-badges span{background:rgba(255,255,255,.1);padding:.35rem .7rem;border-radius:99px}
.t-hero2-img{position:relative;height:420px}
.t-hero2-img img{position:absolute;width:46%;border-radius:16px;box-shadow:0 24px 50px rgba(0,0,0,.45);object-fit:cover;aspect-ratio:1;transition:transform .3s}
.t-hero2-img .h0{left:0;top:8%;transform:rotate(-6deg);z-index:1}
.t-hero2-img .h1{left:30%;top:0;z-index:3;width:50%}
.t-hero2-img .h2{right:0;top:22%;transform:rotate(6deg);z-index:2}
.t-hero2-img img:hover{transform:scale(1.04) rotate(0)}
.t-hero2-emoji{font-size:9rem;text-align:center;line-height:420px}
.t-section{padding:3.5rem 0}
.t-section-alt{background:#fff}
.t-section-dark{background:var(--vino-3);color:#fff}
.t-sec-head{text-align:center;margin-bottom:2rem}
.t-sec-head h2{font-size:clamp(1.5rem,3vw,2.2rem);margin:0 0 .3rem;color:var(--vino)}
.t-section-dark .t-sec-head h2{color:#fff}
.t-sec-head p{color:var(--muted);margin:0}
.t-grid-4{grid-template-columns:repeat(auto-fill,minmax(230px,1fr))}
.t-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem}
.t-step{text-align:center;padding:1.5rem 1rem;background:var(--crema);border-radius:14px}
.t-step-n{width:52px;height:52px;border-radius:50%;background:var(--vino);color:var(--oro);font-weight:800;font-size:1.4rem;display:flex;align-items:center;justify-content:center;margin:0 auto .8rem}
.t-step h3{margin:0 0 .4rem;font-size:1.15rem;color:var(--vino)}
.t-step p{margin:0;color:#5a4a50;font-size:.95rem}
.t-bodega{display:grid;grid-template-columns:1.3fr 1fr;gap:3rem;align-items:start}
.t-bodega h2{font-size:2rem;margin:0 0 1rem;color:var(--oro)}
.t-sobre{font-size:1.05rem;line-height:1.6;opacity:.92}
.t-social{display:flex;gap:1rem;margin-top:1rem}
.t-social a{color:#fff;text-decoration:none;background:rgba(255,255,255,.1);padding:.4rem .8rem;border-radius:99px;font-size:.9rem}
.t-contact{display:grid;gap:1.2rem;background:rgba(255,255,255,.07);padding:1.5rem;border-radius:14px;line-height:1.5}
.t-contact a{color:var(--oro)}
.t-wa-float{position:fixed;left:1rem;bottom:1rem;z-index:55;width:56px;height:56px;border-radius:50%;background:#25d366;color:#fff;display:flex;align-items:center;justify-content:center;font-size:1.7rem;text-decoration:none;box-shadow:0 6px 18px rgba(0,0,0,.3)}
.t-footer{padding:1.5rem 1rem}
.t-footer-in{display:flex;flex-direction:column;gap:.5rem;align-items:center}
.t-footer-legal{font-size:.78rem;opacity:.7}
.t-grid{margin-bottom:0}
@media(max-width:900px){
  .t-hero2-in{grid-template-columns:1fr;padding:2.5rem 1rem 2rem;min-height:0}
  .t-hero2-img{height:260px;max-width:420px;margin:0 auto;width:100%}
  .t-steps{grid-template-columns:1fr}
  .t-bodega{grid-template-columns:1fr;gap:1.5rem}
  .t-nav-links{display:none}
  .t-section{padding:2.5rem 0}
}
@media(max-width:600px){.t-hero2 h1{font-size:2rem}.t-hero2 p{font-size:1rem}.t-hero2-img{height:200px}.t-grid-4{grid-template-columns:repeat(2,1fr)}}
/* Cuenta de cliente */
.t-nav-user{font-size:.85rem;opacity:.9;white-space:nowrap}.t-nav-user a{color:var(--oro)}
.t-nav-login{background:transparent;border:1px solid rgba(255,255,255,.5);color:#fff;border-radius:99px;padding:.4rem .9rem;font:inherit;font-weight:600;cursor:pointer}
.t-nav-login:hover{background:rgba(255,255,255,.12)}
.t-cli-box{background:#f3ece6;border-radius:8px;padding:.6rem .8rem;font-size:.9rem;margin-bottom:.6rem;line-height:1.35}
.t-cli-need{background:#fdf0d5;color:#5a3a00}.t-cli-need a{color:var(--vino);font-weight:700}
.t-modal{position:fixed;inset:0;background:rgba(20,5,10,.6);z-index:90;display:none;align-items:center;justify-content:center;padding:1rem;overflow:auto}
.t-modal[data-open],.t-modal.open{display:flex}
.t-modal-box{background:#fff;border-radius:14px;padding:1.5rem;width:100%;max-width:400px;position:relative;box-shadow:0 20px 60px rgba(0,0,0,.4);max-height:95vh;overflow:auto}
.t-modal-lg{max-width:640px}
.t-modal-box h2{margin:0 0 .3rem;color:var(--vino)}
.t-modal-x{position:absolute;right:.8rem;top:.8rem;background:none;border:0;font-size:1.2rem;cursor:pointer;color:var(--muted)}
@media(max-width:600px){.t-nav-user{display:none}.t-nav-login{padding:.35rem .7rem;font-size:.85rem}}
/* Modo simple (solo catálogo) */
.t-nav-info{font-size:.85rem;opacity:.8}
.t-simple-head{background:linear-gradient(135deg,#2a0a14,#5c1a2b 60%,#7a2438);color:#fff;padding:1.6rem 0 1.4rem;text-align:center}
.t-simple-head h1{margin:0 0 .3rem;font-size:clamp(1.5rem,3.5vw,2.2rem)}
.t-simple-head p{margin:0;opacity:.92}
.t-simple-cta{margin-top:.8rem!important}
.t-simple-cta .btn{margin:.2rem}
/* Modales en celular: una sola columna, sin desborde */
.t-modal-box{box-sizing:border-box}
@media(max-width:600px){
  .t-modal{padding:.5rem;align-items:flex-start}
  .t-modal-box{padding:1.1rem 1rem;max-height:calc(100vh - 1rem)}
  .t-modal .form-grid{grid-template-columns:1fr}
  .t-modal .form-grid .field{grid-column:auto!important}
  .t-modal-box h2{font-size:1.25rem;padding-right:1.5rem}
}
