:root{
  --bg: #0b0d10;
  --panel: rgba(255,255,255,.06);
  --panel-2: rgba(255,255,255,.09);
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.68);
  --muted-2: rgba(255,255,255,.52);
  --stroke: rgba(255,255,255,.10);
  --stroke-2: rgba(255,255,255,.14);
  --shadow: 0 18px 50px rgba(0,0,0,.55);
  --accent: #FF5733;
  --accent-2: #ff7a5f;
  --good: #23d160;
  --bad: #ff4d4d;

  --radius: 18px;
  --radius-sm: 14px;
  --max: 1120px;
  --pad: 20px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color:var(--text);
  background:
    radial-gradient(900px 500px at 20% -10%, rgba(255,87,51,.16), transparent 60%),
    radial-gradient(800px 500px at 90% 10%, rgba(255,122,95,.10), transparent 55%),
    linear-gradient(180deg, #07080a, var(--bg) 40%, #050608);
  overflow-x:hidden;
}

a{color:inherit; text-decoration:none}
strong{color:rgba(255,255,255,.96)}

.container{
  width:min(var(--max), calc(100% - (var(--pad) * 2)));
  margin-inline:auto;
}

.skip-link{
  position:absolute;
  left:-9999px;
  top:12px;
  background:#fff;
  color:#000;
  padding:10px 12px;
  border-radius:10px;
  z-index:999;
}
.skip-link:focus{left:12px}

/* Header */
.site-header{
  position:sticky;
  top:0;
  z-index:50;
  backdrop-filter: blur(14px);
  background: rgba(10,12,16,.65);
  border-bottom:1px solid var(--stroke);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 0;
  gap:14px;
}
.brand{display:flex; align-items:center; gap:12px; min-width:0}
.brand-mark{
  width:42px;height:42px;border-radius:14px;
  display:grid;place-items:center;
  background: linear-gradient(135deg, rgba(255,87,51,.22), rgba(255,255,255,.06));
  border:1px solid var(--stroke-2);
  font-weight:800;
  letter-spacing:.5px;
  overflow:hidden;
}
.brand-mark img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
}
.brand-name{font-weight:800; line-height:1.1}
.brand-sub{font-size:12px; color:var(--muted); margin-top:2px}
.brand-text{min-width:0}
.header-actions{display:flex; gap:10px; align-items:center}

/* Buttons */
.btn{
  border:1px solid var(--stroke);
  background: rgba(255,255,255,.04);
  color:var(--text);
  padding:10px 14px;
  border-radius:999px;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  font-weight:700;
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
  user-select:none;
}
.btn:hover{transform: translateY(-1px); border-color: var(--stroke-2); background: rgba(255,255,255,.06)}
.btn:active{transform: translateY(0)}
.btn:focus{outline:2px solid rgba(255,87,51,.35); outline-offset:3px}

.btn-primary{
  background: linear-gradient(180deg, var(--accent), #ff3f15);
  border-color: rgba(255,87,51,.55);
  box-shadow: 0 12px 30px rgba(255,87,51,.20);
}
.btn-primary:hover{background: linear-gradient(180deg, var(--accent-2), var(--accent)); border-color: rgba(255,87,51,.75)}
.btn-ghost{
  background: rgba(255,255,255,.03);
}
.btn-lg{padding:12px 16px; font-size:15px}

/* Sections */
.section{padding:44px 0}
.section-head{display:flex; align-items:flex-end; justify-content:space-between; gap:18px; margin-bottom:18px}
.section-title{
  margin:0;
  font-size:28px;
  letter-spacing:-.02em;
}
.section-subtitle{
  margin:0;
  color:var(--muted);
  max-width:56ch;
  line-height:1.4;
}

/* Hero */
.hero{position:relative; padding:54px 0 24px}
.hero-bg{
  position:absolute; inset:0; overflow:hidden;
}
.hero-media{
  position:absolute;
  inset:0;
  border-bottom:1px solid var(--stroke);
  transform: scale(1.03);
  border-radius:0;
}
.hero-media img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
}
.hero-gradient{
  position:absolute; inset:0;
  background:
    radial-gradient(900px 500px at 22% 25%, rgba(255,87,51,.22), transparent 60%),
    linear-gradient(90deg, rgba(0,0,0,.86) 0%, rgba(0,0,0,.74) 36%, rgba(0,0,0,.45) 68%, rgba(0,0,0,.70) 100%),
    linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.95));
}
.hero-inner{
  position:relative;
  display:grid;
  grid-template-columns: 1.3fr .9fr;
  gap:22px;
  align-items:stretch;
}
.hero-copy{padding:18px 0 0}
.pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid var(--stroke);
  background: rgba(255,255,255,.04);
  margin:0 0 14px;
  color:var(--muted);
  font-weight:700;
}
.hero-title{
  margin:0 0 10px;
  font-size:52px;
  line-height:1.02;
  letter-spacing:-.03em;
}
.hero-subtitle{
  margin:0 0 16px;
  color:var(--muted);
  font-size:17px;
  line-height:1.5;
  max-width:60ch;
}
.hero-ctas{display:flex; gap:12px; flex-wrap:wrap; margin-bottom:16px}

.deal-card{
  position:relative;
  padding:16px;
  border-radius: var(--radius);
  border:1px solid var(--stroke-2);
  background: rgba(0,0,0,.35);
  box-shadow: var(--shadow);
}
.deal-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.deal-title{font-weight:800}
.deal-sub{color:var(--muted); margin-top:4px}
.code-chip{
  display:flex; align-items:center; gap:10px;
  padding:10px 12px;
  border-radius:999px;
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.14);
  font-weight:900;
  letter-spacing:.06em;
}
.code-chip-kbd{color:var(--muted-2); font-weight:700; letter-spacing:0}
.toast{
  position:absolute;
  left:16px;
  bottom:16px;
  padding:10px 12px;
  border-radius:999px;
  border:1px solid var(--stroke);
  background: rgba(10,12,16,.85);
  color:var(--text);
  font-weight:700;
  opacity:0;
  transform: translateY(6px);
  pointer-events:none;
  transition: opacity .18s ease, transform .18s ease;
}
.toast.show{opacity:1; transform: translateY(0)}

.hero-side{
  align-self:stretch;
  display:flex;
  flex-direction:column;
  gap:12px;
  padding-top:18px;
}
.hero-stats{
  display:grid;
  grid-template-columns: 1fr;
  gap:10px;
}
.stat{
  padding:14px;
  border-radius: var(--radius);
  border:1px solid var(--stroke);
  background: rgba(255,255,255,.03);
}
.stat-title{color:var(--muted); font-weight:700; font-size:13px}
.stat-value{margin-top:6px; font-weight:900; letter-spacing:-.01em}

.conversion-copy{
  padding:16px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,87,51,.18), rgba(255,255,255,.03));
  border:1px solid rgba(255,87,51,.25);
}
.conversion-title{font-weight:900; font-size:18px}
.conversion-body{margin-top:8px; color:var(--text); line-height:1.45}
.conversion-foot{margin-top:10px; color:var(--muted); line-height:1.45}

/* Placeholders */
.placeholder-media{
  background:
    radial-gradient(420px 220px at 20% 40%, rgba(255,87,51,.22), transparent 62%),
    radial-gradient(420px 220px at 75% 35%, rgba(255,255,255,.08), transparent 55%),
    linear-gradient(135deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border:1px solid var(--stroke);
  border-radius: var(--radius);
  position:relative;
  overflow:hidden;
}
.placeholder-badge{
  position:absolute;
  top:14px; left:14px;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.16);
  background: rgba(0,0,0,.45);
  font-weight:900;
  font-size:12px;
  letter-spacing:.08em;
}
.placeholder-caption{
  position:absolute;
  left:14px; bottom:14px;
  right:14px;
  color:var(--muted);
  font-weight:700;
  line-height:1.35;
  background: rgba(0,0,0,.35);
  border:1px solid rgba(255,255,255,.10);
  border-radius: 14px;
  padding:10px 12px;
}

/* Chips scroll */
.chips-scroll{
  display:flex;
  gap:12px;
  overflow:auto;
  padding:6px 2px 10px;
  scroll-snap-type: x mandatory;
}
.chips-scroll::-webkit-scrollbar{height:10px}
.chips-scroll::-webkit-scrollbar-thumb{background: rgba(255,255,255,.10); border-radius:999px}
.chip{
  scroll-snap-align:start;
  min-width: 220px;
  padding:16px 16px;
  border-radius: var(--radius);
  border:1px solid var(--stroke);
  background: rgba(255,255,255,.03);
  display:flex;
  align-items:center;
  gap:12px;
  transition: transform .12s ease, border-color .12s ease, background .12s ease;
}
.chip:hover{transform: translateY(-1px); border-color: rgba(255,87,51,.35); background: rgba(255,255,255,.05)}
.chip-emoji{font-size:22px}
.chip-title{font-weight:900}

/* Products grid */
.grid{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap:14px;
}
.product-card{
  grid-column: span 6;
  border-radius: var(--radius);
  border:1px solid var(--stroke);
  background: rgba(255,255,255,.03);
  overflow:hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
  display:flex;
  flex-direction:column;
  transition: transform .14s ease, box-shadow .14s ease, border-color .14s ease;
  will-change: transform;
}
.product-card:hover{
  transform: translateY(-3px) scale(1.01);
  border-color: rgba(255,87,51,.38);
  box-shadow:
    0 18px 46px rgba(0,0,0,.45),
    0 0 0 1px rgba(255,87,51,.10),
    0 0 38px rgba(255,87,51,.10);
}
.product-card:focus-within{
  border-color: rgba(255,87,51,.48);
  box-shadow:
    0 18px 46px rgba(0,0,0,.45),
    0 0 0 3px rgba(255,87,51,.18);
}
.product-media{
  height: 210px;
  border:0;
  border-bottom:1px solid var(--stroke);
  border-radius:0;
  position:relative;
  overflow:hidden;
}
.product-media img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
}
.product-body{
  padding:16px;
  display:flex;
  flex-direction:column;
  gap:0;
  flex:1;
}
.product-top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
}
.product-title{margin:0; font-size:18px; letter-spacing:-.01em}
.price{
  font-weight:900;
  color: rgba(255,255,255,.92);
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  padding:8px 10px;
  border-radius:999px;
  white-space:nowrap;
}
.product-desc{
  margin:10px 0 14px;
  color:var(--muted);
  line-height:1.45;
  display:-webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow:hidden;
}
.product-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:auto; /* mantiene “foot” (botones) visible siempre */
}

/* Carta completa */
.accordion{display:flex; flex-direction:column; gap:10px}
details{
  border-radius: var(--radius);
  border:1px solid var(--stroke);
  background: rgba(255,255,255,.03);
  overflow:hidden;
}
summary{
  list-style:none;
  cursor:pointer;
  padding:14px 14px;
  font-weight:900;
  border-bottom:1px solid rgba(255,255,255,.06);
}
summary::-webkit-details-marker{display:none}
details[open] summary{border-bottom:1px solid rgba(255,255,255,.08)}
.menu-note{
  padding:12px 14px 0;
  color: var(--muted);
  line-height:1.45;
}
.menu-list{padding:12px 14px 14px; display:flex; flex-direction:column; gap:10px}
.menu-item{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  padding:12px;
  border-radius: 16px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.18);
}
.menu-title{font-weight:900}
.menu-desc{margin-top:6px; color: var(--muted); line-height:1.4}
.menu-right{display:flex; align-items:center; gap:10px; flex-wrap:wrap; justify-content:flex-end; min-width: 160px}
.menu-price{
  font-weight:900;
  color: rgba(255,255,255,.92);
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  padding:8px 10px;
  border-radius:999px;
  white-space:nowrap;
}

/* Trust */
.trust-grid{
  display:grid;
  grid-template-columns: 1fr 1.2fr;
  gap:14px;
}
.trust-card, .quote-card{
  padding:16px;
  border-radius: var(--radius);
  border:1px solid var(--stroke);
  background: rgba(255,255,255,.03);
}
.trust-title{font-weight:900}
.trust-stars{
  display:flex; align-items:center; gap:10px;
  margin-top:10px;
  font-size:18px;
}
.trust-rating{font-weight:900; color:var(--accent)}
.trust-note{margin-top:10px; color:var(--muted); line-height:1.45}
.quote{margin:0; font-size:18px; line-height:1.45; letter-spacing:-.01em}
.quote-by{margin-top:12px; color:var(--muted)}

/* Footer top: map + info */
.footer-top{padding-top:22px}
.footer-grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:14px;
  align-items:stretch;
}
.map-card, .info-card{
  border-radius: var(--radius);
  border:1px solid var(--stroke);
  background: rgba(255,255,255,.03);
  overflow:hidden;
}
.map-head{padding:16px 16px 0}
.map-embed{
  margin:14px 16px 0;
  border-radius: var(--radius);
  overflow:hidden;
  border:1px solid var(--stroke);
  height: 340px;
  background: rgba(255,255,255,.02);
}
.map-embed iframe{width:100%; height:100%; border:0}
.map-actions{display:flex; gap:10px; padding:16px; flex-wrap:wrap}

.info-card{padding:16px}
.open-now{
  margin-top:10px;
  display:flex;
  align-items:center;
  gap:10px;
  padding:12px 12px;
  border-radius: 999px;
  border:1px solid var(--stroke);
  background: rgba(0,0,0,.25);
  font-weight:900;
}
.dot{
  width:10px; height:10px; border-radius:999px;
  background: var(--muted-2);
  box-shadow: 0 0 0 4px rgba(255,255,255,.06);
}
.open-now.open .dot{background: var(--good); box-shadow: 0 0 0 4px rgba(35,209,96,.15)}
.open-now.closed .dot{background: var(--bad); box-shadow: 0 0 0 4px rgba(255,77,77,.12)}
.open-text{color: rgba(255,255,255,.92)}

.hours{margin-top:14px}
.hours-row{display:flex; justify-content:space-between; gap:12px; padding:10px 0; border-top:1px solid var(--stroke)}
.hours-day{color:var(--muted); font-weight:700}
.hours-time{font-weight:900}
.hours-hint{color:var(--muted-2); margin-top:10px; line-height:1.35}

.seo-card{
  margin-top:14px;
  border-radius: var(--radius);
  padding:14px;
  background: linear-gradient(180deg, rgba(255,87,51,.16), rgba(255,255,255,.03));
  border:1px solid rgba(255,87,51,.22);
}
.seo-title{font-weight:900}
.seo-body{margin-top:8px; color:var(--muted); line-height:1.45}

/* Order section */
.order-card{
  border-radius: var(--radius);
  border:1px solid var(--stroke);
  background: rgba(255,255,255,.03);
  padding:16px;
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:14px;
}
.order-actions{display:flex; gap:10px; flex-wrap:wrap; margin-top:12px}
.order-mini-cart{
  border-radius: var(--radius);
  border:1px solid var(--stroke);
  background: rgba(0,0,0,.25);
  padding:14px;
  display:flex;
  flex-direction:column;
  min-height: 220px;
}
.mini-title{font-weight:900}
.mini-items{margin-top:10px; flex:1; display:flex; flex-direction:column; gap:8px}
.mini-empty{color:var(--muted)}
.mini-item{
  display:flex; justify-content:space-between; gap:10px;
  padding:10px 10px;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
}
.mini-name{font-weight:800}
.mini-qty{color:var(--muted); font-weight:700}
.mini-foot{
  margin-top:12px;
  border-top:1px solid var(--stroke);
  padding-top:12px;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.mini-total{display:flex; justify-content:space-between; font-weight:900}

/* Assistant widget + form */
/* Mini promo (carrito) */
.mini-promo{display:flex; flex-direction:column; gap:8px}
.mini-promo-row{display:flex; gap:10px}
.mini-promo-input{
  flex:1;
  padding:12px 12px;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.03);
  color: var(--text);
  font-weight:800;
  text-transform: uppercase;
  letter-spacing:.04em;
}
.mini-promo-input:focus{
  outline:2px solid rgba(255,87,51,.30);
  outline-offset:3px;
  border-color: rgba(255,87,51,.35);
}
.mini-promo-hint{color: var(--muted-2); line-height:1.3}
.mini-summary{display:flex; flex-direction:column; gap:8px}
.mini-line{display:flex; justify-content:space-between; font-weight:900}
.mini-discount{color: rgba(255,255,255,.86)}

/* Asistente flotante (widget externo) */
.assistant-avatar{
  width:38px;
  height:38px;
  border-radius: 14px;
  object-fit: cover;
  border:1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.04);
}
.assistant-fab{
  position:fixed;
  right:16px;
  bottom:16px;
  z-index:120;
}
.assistant-fab-btn{
  border:1px solid rgba(255,87,51,.32);
  background: rgba(10,12,16,.86);
  backdrop-filter: blur(12px);
  color: var(--text);
  border-radius: 999px;
  padding:10px 12px;
  display:flex;
  align-items:center;
  gap:10px;
  cursor:pointer;
  box-shadow: 0 18px 50px rgba(0,0,0,.55), 0 0 40px rgba(255,87,51,.10);
  transition: transform .14s ease, border-color .14s ease, background .14s ease;
}
.assistant-fab-btn:hover{transform: translateY(-1px); border-color: rgba(255,87,51,.55); background: rgba(10,12,16,.92)}
.assistant-fab-text{display:flex; flex-direction:column; gap:2px; text-align:left}
.assistant-fab-title{font-weight:900; line-height:1.1}
.assistant-fab-sub{font-weight:800; color: rgba(255,255,255,.70); font-size:12px}

.assistant-panel{
  position:fixed;
  right:16px;
  bottom:76px;
  width:min(380px, calc(100vw - 32px));
  z-index:121;
  border-radius: var(--radius);
  border:1px solid rgba(255,255,255,.12);
  background: rgba(10,12,16,.92);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.assistant-panel-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:12px;
  border-bottom:1px solid rgba(255,255,255,.08);
  background: linear-gradient(180deg, rgba(255,87,51,.12), rgba(255,255,255,.02));
}
.assistant-panel-left{display:flex; align-items:center; gap:10px}
.assistant-panel-title{font-weight:900}
.assistant-panel-sub{color: var(--muted-2); font-weight:800; font-size:12px; margin-top:2px}
.assistant-panel-body{
  padding:12px;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.assistant-bubble{
  max-width: 52ch;
  padding:10px 12px;
  border-radius: 16px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  color: rgba(255,255,255,.82);
  line-height:1.45;
}
.assistant-bot{
  border-color: rgba(255,87,51,.18);
  background: rgba(255,87,51,.06);
}
.assistant-panel-foot{
  padding:12px;
  border-top:1px solid rgba(255,255,255,.08);
  display:flex;
  flex-direction:column;
  gap:10px;
}
.assistant-note{color: var(--muted-2); line-height:1.35}

.form-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:12px;
}
.field{display:flex; flex-direction:column; gap:8px}
.field-wide{grid-column: 1 / -1}
.field-label{font-weight:800; color: rgba(255,255,255,.80); font-size:13px}
.field-input{
  width:100%;
  padding:12px 12px;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.03);
  color: var(--text);
  font-weight:700;
}
.field-input:focus{
  outline:2px solid rgba(255,87,51,.30);
  outline-offset:3px;
  border-color: rgba(255,87,51,.35);
}
.assistant-status{
  margin-top:12px;
  color: rgba(255,255,255,.78);
  background: rgba(0,0,0,.22);
  border:1px solid rgba(255,255,255,.10);
  border-radius: 14px;
  padding:10px 12px;
  line-height:1.45;
}

@media (max-width: 740px){
  .form-grid{grid-template-columns: 1fr}
}

/* Footer */
.site-footer{
  border-top:1px solid var(--stroke);
  background: rgba(0,0,0,.35);
  padding:26px 0;
}
.footer-bottom{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:14px;
}
.footer-brand{font-weight:900}
.footer-note{margin-top:8px; color:var(--muted); max-width:60ch; line-height:1.45}
.footer-right{display:flex; gap:14px; flex-wrap:wrap}
.footer-link{color:var(--muted); font-weight:800}
.footer-link:hover{color:rgba(255,255,255,.90)}

/* Dialog */
.dialog::backdrop{background: rgba(0,0,0,.65)}
.dialog{
  border:0;
  padding:0;
  background: transparent;
}
.dialog-card{
  width:min(560px, calc(100vw - 28px));
  border-radius: var(--radius);
  border:1px solid var(--stroke-2);
  background: rgba(10,12,16,.92);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.dialog-head{
  display:flex; justify-content:space-between; align-items:center;
  gap:10px;
  padding:14px;
  border-bottom:1px solid var(--stroke);
}
.dialog-title{font-weight:900}
.dialog-body{padding:14px; color:var(--muted); line-height:1.55}
.dialog-actions{padding:14px; border-top:1px solid var(--stroke); display:flex; justify-content:flex-end}

/* Responsive */
@media (max-width: 980px){
  .hero-inner{grid-template-columns: 1fr; gap:10px}
  .hero-title{font-size:42px}
  .hero-side{padding-top:0}
  .trust-grid{grid-template-columns: 1fr}
  .footer-grid{grid-template-columns: 1fr}
  .order-card{grid-template-columns: 1fr}
  .product-card{grid-column: span 12}
}

@media (max-width: 520px){
  .hero{padding-top:44px}
  .hero-title{font-size:36px}
  .section-title{font-size:24px}
  .header-actions .btn-ghost{display:none}
}
