/* ============================================================
   Phase 75 — Buffet page: right-sized, friendly, unique UI
   ------------------------------------------------------------
   The buffet window inherited the full-bleed menu-board hero and
   unconstrained section widths, so it sprawled edge-to-edge on PCs
   and overwhelmed phones. This sheet:
     • centers the whole buffet in a comfortable max-width column,
     • tames the hero (padding, headline, price pill, actions),
     • compacts section headers + tap-tiles so more fits per screen,
     • caps the buffet photo tiles so cards stay a decent height,
     • keeps the virtual-plate bar/sheet a sensible size,
     • applies a warm cream/terracotta "buffet" identity that is
       distinct from the teal menu board but still on-brand.
   Loaded LAST on buffet-menu.php (after customer-header.php) and
   scoped to .sk-buffet-body so it wins the cascade on this page only.
   ============================================================ */

/* ---------- Page canvas: warm, friendly, centered ---------- */
.sk-buffet-body{
  background:linear-gradient(180deg,#fffaf3 0%,#fffdf9 40%,#ffffff 100%);
}
.sk-buffet-body .sk-buffet-wrap{
  max-width:1200px;
  margin:0 auto;
  padding:0 clamp(12px,2.5vw,28px) 110px; /* bottom room for the plate bar */
}

/* ---------- Hero: compact banner, not a full-screen takeover ---------- */
.sk-buffet-body .sk43-hero.sk-buffet-hero{
  margin:16px 0 18px;
  padding:clamp(18px,3vw,34px);
  border-radius:26px;
}
.sk-buffet-body .sk-buffet-hero .sk43-hero-copy{max-width:720px;}
.sk-buffet-body .sk-buffet-hero h1{
  font-size:clamp(24px,3.2vw,42px)!important;
  line-height:1.08!important;
  margin:10px 0 10px!important;
  letter-spacing:-.02em!important;
}
.sk-buffet-body .sk-buffet-hero p{
  font-size:clamp(13.5px,1.5vw,16.5px)!important;
  line-height:1.6!important;
}
.sk-buffet-body .sk-buffet-price-pill{padding:8px 14px;margin-top:12px;border-radius:14px;}
.sk-buffet-body .sk-buffet-price-pill b{font-size:clamp(17px,2.4vw,22px);}
.sk-buffet-body .sk-buffet-price-pill span{font-size:11.5px;}
.sk-buffet-body .sk43-hero-actions{margin-top:14px;gap:10px;}
.sk-buffet-body .sk43-hero-actions .sk43-btn{padding:10px 16px;font-size:14px;}
.sk-buffet-body .sk-buffet-reserve{margin-top:14px;gap:10px;}
.sk-buffet-body .sk-buffet-reserve-label{font-size:13px;}
.sk-buffet-body .sk-buffet-reserve .sk-widget-badge{width:40px;height:40px;border-radius:12px;}
.sk-buffet-body .sk-buffet-reserve .sk-widget-badge svg{width:24px;height:24px;}

/* ---------- Sections: carded, warm, comfortable ---------- */
.sk-buffet-body .sk-buffet-sections{margin:0 0 18px;gap:clamp(14px,2.4vw,24px);}
.sk-buffet-body .sk-buffet-section{
  background:#fff;
  border:1px solid #f0e2d2;
  border-radius:20px;
  padding:clamp(12px,2vw,20px);
  box-shadow:0 10px 26px rgba(168,62,34,.07);
}
.sk-buffet-body .sk-buffet-section-head{margin-bottom:10px;gap:10px;}
.sk-buffet-body .sk-buffet-section-icon{width:36px;height:36px;border-radius:11px;font-size:19px;}
.sk-buffet-body .sk-buffet-section-head h2{font-size:clamp(16px,2vw,20px);}
.sk-buffet-body .sk-buffet-limit{font-size:11.5px;}
.sk-buffet-body .sk-buffet-section-count{font-size:11.5px;padding:3px 9px;}

/* ---------- Tap tiles: decent, uniform, thumb-friendly ---------- */
.sk-buffet-body .sk-buffet-grid{
  grid-template-columns:repeat(auto-fill,minmax(148px,1fr));
  gap:10px;
}
.sk-buffet-body .sk-buffet-item{
  padding:10px 10px 10px;
  border-radius:16px;
  gap:7px;
  border-color:#eadfd2;
  min-height:44px; /* comfortable tap target */
}
.sk-buffet-body .sk-buffet-item:hover{transform:translateY(-2px);}
/* Cap the photo banner so tiles stay a reasonable height */
.sk-buffet-body .sk-buffet-item-visual{
  width:100%;
  height:auto;
  aspect-ratio:4/3;
  max-height:120px;
  border-radius:12px;
  font-size:30px;
}
.sk-buffet-body .sk-buffet-item-visual img{width:100%;height:100%;object-fit:cover;}
.sk-buffet-body .sk-buffet-item-name{font-size:12.5px;}
.sk-buffet-body .sk-buffet-item-price{font-size:10.5px;padding:2px 7px;top:6px;left:6px;}
.sk-buffet-body .sk-buffet-tick{width:22px;height:22px;font-size:13px;top:6px;right:6px;}

/* ---------- Virtual plate bar / sheet: sensible footprint ---------- */
.sk-buffet-body .sk-plate-bar{width:min(520px,calc(100% - 20px));padding:8px 10px;}
.sk-buffet-body .sk-plate-bar-text{font-size:13.5px;}
.sk-buffet-body .sk-plate-bar-price{font-size:13.5px;}
.sk-buffet-body .sk-plate-panel{
  width:min(560px,calc(100% - 20px));
  max-height:min(70vh,600px);
  border-radius:18px;
}
.sk-buffet-body .sk-plate-head{padding:12px 16px;}
.sk-buffet-body .sk-plate-head h2{font-size:16px;}

/* ---------- Empty state: friendly, not cavernous ---------- */
.sk-buffet-body .sk-buffet-empty{padding:clamp(20px,4vw,34px) clamp(16px,3vw,28px);border-radius:20px;}
.sk-buffet-body .sk-buffet-empty-icon{font-size:clamp(38px,7vw,54px);}
.sk-buffet-body .sk-buffet-empty h2{font-size:clamp(18px,3vw,24px);}

/* ==========================================================
   Responsive breakpoints
   ========================================================== */
@media(max-width:900px){
  .sk-buffet-body .sk-buffet-grid{grid-template-columns:repeat(3,minmax(0,1fr));}
}
@media(max-width:640px){
  .sk-buffet-body .sk-buffet-wrap{padding:0 12px 96px;}
  .sk-buffet-body .sk43-hero.sk-buffet-hero{margin:12px 0 14px;padding:16px;border-radius:20px;}
  .sk-buffet-body .sk-buffet-hero h1{font-size:clamp(21px,6vw,28px)!important;}
  .sk-buffet-body .sk-buffet-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;}
  .sk-buffet-body .sk-buffet-item-visual{max-height:104px;}
  .sk-buffet-body .sk-buffet-section{padding:12px;border-radius:16px;}
  .sk-buffet-body .sk-plate-panel{max-height:74vh;}
}
@media(max-width:380px){
  .sk-buffet-body .sk-buffet-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  .sk-buffet-body .sk-buffet-item-name{font-size:11.5px;}
  .sk-buffet-body .sk-buffet-item-visual{max-height:92px;}
}

/* ---------- Reduced motion ---------- */
@media(prefers-reduced-motion:reduce){
  .sk-buffet-body .sk-buffet-item,
  .sk-buffet-body .sk-buffet-item:hover{transition:none!important;transform:none!important;}
}

/* ---------- Print ---------- */
@media print{
  .sk-buffet-body .sk-plate-bar,
  .sk-buffet-body .sk-plate-panel{display:none!important;}
  .sk-buffet-body .sk-buffet-wrap{padding-bottom:0;}
}
