:root{
  --bg:#0f0f14;
  --card:#171724;
  --muted:#c8c8d6;     /* ✅ más claro */
  --text:#ffffff;      /* ✅ blanco real */
  --brand:#ff5a3d;
  --brand2:#7c3aed;
  --gold1:#ffd98a;
  --gold2:#ffb14a;
}

*{
  box-sizing:border-box;
  margin:0;
  padding:0;
}

body{
  font-family:system-ui, -apple-system, Segoe UI, Roboto, Arial;
  color:var(--text);

  /* ✅ Fondo efecto fuego + moderno */
  background:
    radial-gradient(900px 420px at 12% 6%, rgba(255,120,30,.18), transparent 60%),
    radial-gradient(800px 380px at 90% 18%, rgba(255,210,120,.10), transparent 55%),
    radial-gradient(900px 420px at 55% 100%, rgba(120,60,255,.10), transparent 60%),
    linear-gradient(180deg, #07070b, #0c0c14 45%, #101022);
}

/* ===============================
   GENERAL
================================ */

a{
  text-decoration:none;
  color:inherit;
}

img{
  max-width:100%;
  height:auto;
  display:block;
}

.muted, .brand-sub, label, small{
  color:var(--muted);
}

/* ===============================
   TOPBAR / HEADER
================================ */

.topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 22px;
  position:sticky;
  top:0;
  z-index:100;

  /* ✅ metalizado gold + glow */
  background:
    radial-gradient(900px 220px at 15% 0%, rgba(255,190,100,.18), transparent 55%),
    linear-gradient(180deg, rgba(18,18,28,.86), rgba(10,10,16,.72));
  border-bottom:1px solid rgba(255,205,120,.16);
  backdrop-filter: blur(12px);
  box-shadow:0 16px 50px rgba(0,0,0,.55);
}

/* ===============================
   LOGO
================================ */

.brand{
  display:flex;
  align-items:center;
  gap:12px;
}

.brand-logo{
  width:70px;              /* ✅ más grande */
  height:70px;
  object-fit:contain;
  border-radius:16px;
  background:rgba(0,0,0,.25);
  border:1px solid rgba(255,255,255,.12);
  box-shadow:0 14px 40px rgba(0,0,0,.45);
}

.brand-title{
  font-weight:900;
  letter-spacing:.5px;
}

.brand-sub{
  font-size:12px;
}

/* ===============================
   ADMIN LINK (premium)
================================ */

.admin-link{
  padding:8px 14px;
  border-radius:999px;
  border:1px solid rgba(255,205,120,.22);
  background:rgba(0,0,0,.25);
  color:#fff;
  font-weight:700;
  transition:.25s;
}

.admin-link:hover{
  border-color:rgba(255,205,120,.55);
  box-shadow:0 0 0 3px rgba(255,205,120,.12);
}

/* ===============================
   MENU ADMIN
================================ */

.menu-admin{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.menu-admin a{
  padding:8px 16px;
  border-radius:999px;
  border:1px solid rgba(255,205,120,.22);
  background:rgba(0,0,0,.22);
  font-size:14px;
  transition:.25s;
  color:#fff;
}

.menu-admin a:hover{
  border-color:rgba(255,205,120,.55);
  box-shadow:0 0 0 3px rgba(255,205,120,.12);
}

/* ===============================
   CONTENEDOR
================================ */

.container{
  width:min(1100px,92vw);
  margin:20px auto 80px;
  position:relative;
}

/* ===============================
   SECCIONES / TITULOS (ICONO + LINEA)
================================ */

.section-title{
  display:flex;
  align-items:center;
  gap:10px;
  margin:26px 2px 12px;
  font-size:20px;
  font-weight:900;
  letter-spacing:.3px;
}

.section-title::before{
  content:"🔥";
  font-size:18px;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.45));
}

.section-title::after{
  content:"";
  flex:1;
  height:1px;
  margin-left:10px;
  background: linear-gradient(90deg,
    rgba(255,220,140,.65),
    rgba(255,170,80,.25),
    rgba(255,220,140,0)
  );
}

/* ===============================
   PANELES
================================ */

.panel{
  background:
    radial-gradient(900px 320px at 18% 0%, rgba(255,200,120,.06), transparent 60%),
    linear-gradient(180deg, rgba(24,24,36,.72), rgba(12,12,18,.72));
  border:1px solid rgba(255,205,120,.12);
  border-radius:18px;
  padding:16px;
  margin-bottom:20px;
  box-shadow:0 14px 55px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.05);
}

/* Layout helpers (si los usas en tu HTML) */
.row{ display:flex; gap:12px; flex-wrap:wrap; }
.col{ flex:1; min-width:220px; }

label{
  display:block;
  font-size:12px;
  margin-bottom:6px;
}

input, select{
  width:100%;
  padding:10px 12px;
  border-radius:14px;
  border:1px solid rgba(255,205,120,.18);
  background:rgba(0,0,0,.30);
  color:var(--text);
  outline:none;
}

input:focus, select:focus{
  border-color:rgba(255,205,120,.45);
  box-shadow:0 0 0 3px rgba(255,205,120,.12);
}

.paybox{
  font-size:13px;
  line-height:1.5;
}

/* ===============================
   GRID PRODUCTOS
================================ */

.grid{
  display:grid;
  grid-template-columns:repeat(auto-fill, minmax(220px, 1fr));
  gap:14px;
}

/* ✅ Tarjetas metalizadas modernas */
.card{
  border-radius:22px;
  overflow:hidden;
  background:
    radial-gradient(800px 260px at 20% 0%, rgba(255,200,120,.10), transparent 60%),
    linear-gradient(180deg, rgba(24,24,36,.72), rgba(12,12,18,.72));
  border:1px solid rgba(255,205,120,.14);
  box-shadow:0 18px 60px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.06);
  transition: transform .18s ease, border-color .18s ease;
}

.card:hover{
  transform: translateY(-3px);
  border-color: rgba(255,205,120,.30);
}

.imgwrap{
  padding:12px;
  background:rgba(0,0,0,.18);
  border-bottom:1px solid rgba(255,205,120,.10);
}

.product-img{
  width:100%;
  height:190px;
  object-fit:contain;
  border-radius:16px;
  background:rgba(0,0,0,.22);
}

.card-body{
  padding:12px;
}

.name{
  font-size:15px;
  font-weight:900;
}

.desc{
  font-size:12px;
  color:var(--muted);
  margin-top:4px;
  min-height:32px;
}

.price{
  margin-top:10px;
  font-weight:900;
  color: rgba(255,225,160,.95);
}

/* ===============================
   BOTONES
================================ */

.btn{
  border:1px solid rgba(255,205,120,.18);
  background:rgba(0,0,0,.25);
  color:var(--text);
  border-radius:12px;
  padding:10px 14px;
  cursor:pointer;
}

.btn.small{
  border-radius:12px;
  padding:7px 12px;
  border:1px solid rgba(255,205,120,.18);
  background:rgba(0,0,0,.25);
}

.btn.small:hover{
  border-color: rgba(255,205,120,.45);
}

/* ✅ Botón WhatsApp Premium con brillo */
.btn.primary{
  position:relative;
  overflow:hidden;
  background: linear-gradient(90deg, var(--brand), var(--brand2));
  border:none;
  font-weight:900;
  width:100%;
  margin-top:10px;
  border-radius:16px;
  letter-spacing:.2px;
  box-shadow:0 18px 55px rgba(0,0,0,.55);
}

.btn.primary::after{
  content:"";
  position:absolute;
  top:-60%;
  left:-30%;
  width:60%;
  height:220%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.22), transparent);
  transform: rotate(20deg);
  animation: shine 4s infinite;
}

@keyframes shine{
  0%{ transform: translateX(-120%) rotate(20deg); opacity: 0; }
  15%{ opacity: .9; }
  35%{ opacity: .4; }
  60%{ transform: translateX(260%) rotate(20deg); opacity: 0; }
  100%{ opacity: 0; }
}

/* =========================================================
   CART / TU PEDIDO - GOLD METALIZADO + MAS VISUAL
========================================================= */

.panel.cart{
  position: relative;
  padding: 18px;
  border-radius: 22px;
  background:
    radial-gradient(1200px 500px at 15% 0%, rgba(255, 200, 120, .10), transparent 60%),
    radial-gradient(900px 400px at 90% 30%, rgba(255, 160, 60, .08), transparent 55%),
    linear-gradient(180deg, rgba(24,24,36,.92), rgba(12,12,18,.92));
  border: 1px solid rgba(255, 205, 120, .18);
  box-shadow:
    0 10px 40px rgba(0,0,0,.45),
    inset 0 1px 0 rgba(255,255,255,.06);
}

.panel.cart::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:22px;
  padding:1px;
  background: linear-gradient(135deg,
    rgba(255,220,140,.85),
    rgba(255,170,80,.35),
    rgba(140,90,20,.25),
    rgba(255,220,140,.55)
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events:none;
}

.panel.cart h3{
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: .3px;
  display:flex;
  align-items:center;
  gap:10px;
}

.panel.cart h3::before{
  content:"🛒";
  font-size: 18px;
  filter: drop-shadow(0 6px 10px rgba(0,0,0,.35));
}

/* Lista del carrito */
.cartlist{
  margin: 10px 0 14px;
  padding: 12px;
  border-radius: 16px;
  background: rgba(0,0,0,.20);
  border: 1px solid rgba(255, 205, 120, .12);
}

.cartrow{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding: 10px 6px;
  border-bottom: 1px dashed rgba(255, 220, 160, .18);
}

.cartrow:last-child{
  border-bottom:none;
}

.cartrow .muted{
  opacity:.95;
}

/* Inputs / selects más pro */
.panel.cart input,
.panel.cart select{
  border-radius: 14px;
  border: 1px solid rgba(255, 205, 120, .18);
  background: rgba(0,0,0,.30);
  color: var(--text);
}

.panel.cart input:focus,
.panel.cart select:focus{
  border-color: rgba(255, 205, 120, .45);
  box-shadow: 0 0 0 3px rgba(255, 205, 120, .12);
}

/* Totales más claros */
.totals{
  margin-top: 12px;
  padding: 12px;
  border-radius: 16px;
  background: rgba(0,0,0,.22);
  border: 1px solid rgba(255, 205, 120, .12);
  display:flex;
  flex-direction:column;
  gap: 8px;
}

.totals b{
  color: rgba(255, 225, 160, .95);
}

.totals .grand{
  margin-top: 6px;
  padding-top: 10px;
  border-top: 1px dashed rgba(255, 220, 160, .22);
  font-size: 18px;
}

.section-arepas::before{ content:"🫓"; }
.section-empanadas::before{ content:"🥟"; }
.section-postres::before{ content:"🍰"; }


/* =========================================================
   FIX: INPUTS Y SELECTS (TEXTO BLANCO + PLACEHOLDER CLARO)
========================================================= */
input, select, textarea{
  color:#fff !important;
  background: rgba(0,0,0,.35) !important;
  border: 1px solid rgba(255,205,120,.22) !important;
}

input::placeholder, textarea::placeholder{
  color: rgba(255,255,255,.60) !important;
}

select option{
  background: #0b0b10 !important;
  color: #fff !important;
}
