/* Merchant-inspired theme (no proprietary assets) */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Inter:wght@400;600;700&display=swap');

:root{
  --bg:#0f1115;          /* deep charcoal */
  --surface:#171a20;     /* dark surface */
  --cream:#f5efe6;       /* light text */
  --muted:#b7b3ac;       /* muted text */
  --gold:#c8a96a;        /* accent */
  --gold-2:#b8903f;
  --divider:#2a2f3a;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0;background:var(--bg);color:var(--cream)}
body{font-family:Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; line-height:1.5}

/* Top navigation */
.nav{
  position:sticky; top:0; z-index:50; backdrop-filter: blur(8px);
  background: linear-gradient(180deg, rgba(15,17,21,.85), rgba(15,17,21,.5) 60%, transparent);
  border-bottom:1px solid var(--divider);
}
.nav-inner{max-width:1100px; margin:0 auto; padding:14px 20px; display:flex; align-items:center; justify-content:space-between}
.brand{display:flex; align-items:center; gap:12px}
.brand-mark{width:36px; height:36px; border-radius:50%; background:radial-gradient(circle at 30% 30%, #fff2, transparent 60%), var(--gold)}
.brand-name{font-family:'Playfair Display', serif; font-weight:700; letter-spacing:.5px}
.menu-links a{color:var(--cream); text-decoration:none; margin-left:18px; opacity:.9}
.menu-links a:hover{opacity:1}

/* Hero */
.hero{position:relative; overflow:hidden;}
.hero .inner{max-width:1100px; margin:0 auto; padding:80px 20px; display:grid; grid-template-columns: 1.1fr .9fr; gap:28px; align-items:center}
.hero h1{font-family:'Playfair Display', serif; font-size:52px; line-height:1.05; margin:0 0 10px}
.hero p{color:var(--muted); margin:0 0 18px}
.cta-row{display:flex; gap:12px; flex-wrap:wrap}
.btn{appearance:none; border:0; outline:0; cursor:pointer; text-decoration:none; padding:12px 18px; border-radius:999px; font-weight:700}
.btn-primary{background:var(--gold); color:#111}
.btn-primary:hover{background:var(--gold-2)}
.btn-ghost{background:transparent; border:1px solid var(--divider); color:var(--cream)}
.btn-ghost:hover{border-color:var(--gold)}

.hero-visual{border-radius:16px; overflow:hidden; box-shadow:0 30px 60px rgba(0,0,0,.45); border:1px solid #ffffff14}
.hero-visual img{display:block; width:100%; height:auto}

/* Sections */
.section{max-width:1100px; margin:0 auto; padding:50px 20px; border-top:1px solid var(--divider)}
.section h2{font-family:'Playfair Display', serif; font-size:28px; margin:0 0 12px}
.section p{color:var(--muted); margin:0}

/* Menu grid/cards */
.menu-grid{max-width:1100px; margin:30px auto; padding:0 20px; display:grid; gap:18px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));}
.card{position:relative; background:var(--surface); border:1px solid var(--divider); border-radius:16px; padding:16px; box-shadow: 0 10px 30px rgba(0,0,0,.28)}
.card h3{font-family:'Playfair Display', serif; margin:0 0 8px}
.card p{color:var(--muted); margin:0 0 12px}
.card .img-wrap{position:relative; border-radius:12px; overflow:hidden; aspect-ratio: 4/3; margin-bottom:10px; background:#000}
/* Warm tone + gentle clarity on all images */
.card .img-wrap img{width:100%; height:100%; object-fit:cover; display:block; opacity:.97; filter: sepia(.12) saturate(1.12) contrast(1.05) hue-rotate(-6deg) brightness(1.03)}
/* Subtle vignette overlay for cohesion */
.card .img-wrap::before{content:""; position:absolute; inset:0; pointer-events:none;
  background:
    radial-gradient(120% 90% at 50% 20%, rgba(0,0,0,0.00) 0%, rgba(0,0,0,0.08) 60%, rgba(0,0,0,0.16) 100%),
    linear-gradient(180deg, rgba(200,169,106,0.10) 0%, rgba(0,0,0,0.00) 60%);
}
/* Gentle hover lift */
.card .img-wrap:hover img{transform: scale(1.01); transition: transform .35s ease}

/* Footer */
.footer{border-top:1px solid var(--divider);}
.footer-inner{max-width:1100px; margin:0 auto; padding:26px 20px; color:var(--muted)}

/* Buttons inside cards */
.order-btn{background:var(--gold); color:#111; padding:10px 14px; border-radius:999px; font-weight:800; text-decoration:none; display:inline-flex; align-items:center; gap:8px; box-shadow: 0 10px 24px rgba(200,169,106,.25); line-height:1}
.order-btn.disabled{background:#444; color:#888; box-shadow:none; cursor:not-allowed}
.order-btn + .order-btn{margin-left:8px}

/* WhatsApp button icon styling */
.order-btn.whatsapp-btn img {
  height: 16px;
  filter: brightness(0) invert(1); /* make icon white so it blends with gold button */
}

/* Improve badge readability */
.badge {
  box-shadow: 0 2px 6px rgba(0,0,0,.4);
  letter-spacing: .3px;
}

/* Refine card footer alignment */
.card-footer {
  align-items: flex-end;
}
.card-footer .stock-info {
  flex-grow: 1;
  text-align: left;
}
.card-footer .actions {
  flex-shrink: 0;
}

.badge{
  position:absolute;
  top:12px;
  right:12px;
  background:#8b1d1d;
  color:#fff;
  font-weight:700;
  padding:6px 10px;
  border-radius:999px;
  font-size:.8rem;
  z-index:5;
}
.badge.low{
  background:#7a5a20;
  z-index:5;
}

/* Optional small kicker text (header note) */
.kicker{color:var(--muted); font-weight:600}

/* Utilities */
.center{max-width:1100px; margin:0 auto; padding:0 20px}
.muted{color:var(--muted)}

/* Aligned footer row inside each card */
.card-footer{display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:12px; flex-wrap:wrap}
.card-footer .stock-info{color:var(--muted); font-weight:700; opacity:.95}
.card-footer .actions{display:flex; align-items:center; gap:8px}
.card-footer .actions .order-btn{min-height:40px; padding:10px 14px}

/* Mobile-friendly stacking */
@media (max-width: 520px){
  .card-footer{flex-direction:column; align-items:stretch; gap:10px}
  .card-footer .actions{display:grid; grid-template-columns: 1fr 1fr; gap:8px}
  .card-footer .actions .order-btn{width:100%; justify-content:center}
}
