/* ==========================================================================
   Cluck'IZ — live API components
   --------------------------------------------------------------------------
   Shared by every page: the status strip, opening-hours blocks, the menu
   grid, and the homepage category cards.

   Deliberately sized in px (not rem) so these stay legible on the homepage,
   whose root font-size is tied to the 1280px design canvas.
   ========================================================================== */

:root{
  --cz-yellow:#fac01f;
  --cz-red:#bc1823;
  --cz-ink:#0b0b0b;
  --cz-paper:#efefef;
}

/* ------------------------------ status strip ---------------------------- */
.status-strip{
  background:#111;
  color:#fff;
  font-family:"Cluckiz Sans",-apple-system,BlinkMacSystemFont,sans-serif;
  font-size:14px;
  line-height:1.35;
  letter-spacing:.01em;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.status-strip-inner{
  max-width:1180px;
  margin:0 auto;
  padding:9px 20px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  text-align:center;
}
.status-strip-dot{
  width:9px;height:9px;border-radius:50%;
  background:#9aa0a6;
  flex:0 0 auto;
}
.status-strip.open   .status-strip-dot{background:#22c55e;box-shadow:0 0 0 3px rgba(34,197,94,.22)}
.status-strip.closed .status-strip-dot{background:#ef4444;box-shadow:0 0 0 3px rgba(239,68,68,.22)}
.status-strip.error  .status-strip-dot{background:#f59e0b}
.status-strip.open{background:#0f1a12}
.status-strip.closed{background:#1a0f0f}
.status-strip-text{font-weight:500}
.countdown-timer{font-variant-numeric:tabular-nums;font-weight:700;color:var(--cz-yellow)}

/* ------------------------------ opening hours ---------------------------
   .hours-row  → wide two-column table (contact page)
   .hours-line → stacked, for narrow columns (homepage sidebar)          */
.hours-row{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
  padding:10px 0;
  border-bottom:1px solid rgba(255,255,255,.09);
}
.hours-row:last-child{border-bottom:0}
.hours-row .day{font-weight:700;white-space:nowrap}
.hours-row .time{text-align:right;opacity:.92}

.hours-line{display:block}
.hours-line + .hours-line{margin-top:.6em}
.hours-line .day{font-weight:800;text-transform:uppercase;letter-spacing:.02em}
.hours-line .time{display:block;opacity:.88}

.hours-row .closed-day,
.hours-line .closed-day{color:#ff8f8f;opacity:1}
.hours-row.today,
.hours-line.today{color:var(--cz-yellow)}
.hours-row.today .day::after,
.hours-line.today .day::after{content:" · today";font-weight:400;opacity:.7;font-size:.85em}

/* ------------------------------ menu grid ------------------------------- */
.menu-tabs{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  justify-content:center;
  margin:0 0 34px;
}
.menu-tab{
  font-family:"Cluckiz Sans",sans-serif;
  font-weight:700;
  font-size:14px;
  letter-spacing:.02em;
  text-transform:uppercase;
  color:#fff;
  background:rgba(255,255,255,.07);
  border:1px solid rgba(255,255,255,.14);
  border-radius:999px;
  padding:10px 20px;
  cursor:pointer;
  transition:background .18s ease,color .18s ease,border-color .18s ease;
}
.menu-tab:hover{background:rgba(250,192,31,.18);border-color:rgba(250,192,31,.45)}
.menu-tab.active{background:var(--cz-yellow);border-color:var(--cz-yellow);color:#111}

.menu-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(280px,1fr));
  gap:24px;
}
.menu-card{
  background:#fff;
  border-radius:20px;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  color:#111;
  box-shadow:0 10px 30px rgba(0,0,0,.28);
}
.menu-card-img{
  aspect-ratio:4/3;
  background:#f4f4f4;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}
.menu-card-img img{width:100%;height:100%;object-fit:cover}
.menu-card-noimg{font-size:44px;opacity:.25}
.menu-card-body{
  padding:18px 20px 20px;
  display:flex;
  flex-direction:column;
  flex:1;
  gap:8px;
}
.menu-card-body h3{
  font-family:"Cluckiz Sans",sans-serif;
  font-weight:800;
  font-size:17px;
  line-height:1.3;
  margin:0;
  text-transform:uppercase;
}
.menu-card-body p{
  font-size:14px;
  line-height:1.5;
  color:#555;
  margin:0;
}
.menu-card-foot{
  margin-top:auto;
  padding-top:12px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.menu-card-foot .price{
  font-family:"Cluckiz Sans",sans-serif;
  font-weight:800;
  font-size:19px;
  color:var(--cz-red);
}
.order-link{
  font-family:"Cluckiz Sans",sans-serif;
  font-weight:700;
  font-size:13px;
  text-transform:uppercase;
  letter-spacing:.03em;
  background:var(--cz-red);
  color:#fff;
  text-decoration:none;
  padding:9px 18px;
  border-radius:999px;
  white-space:nowrap;
  transition:background .18s ease,transform .18s ease;
}
.order-link:hover{background:#a2141d;transform:translateY(-1px)}
.menu-empty{
  grid-column:1/-1;
  text-align:center;
  padding:40px 20px;
  color:rgba(255,255,255,.75);
}
.menu-empty a{color:var(--cz-yellow)}
.menu-loading{
  text-align:center;
  padding:50px 20px;
  color:rgba(255,255,255,.6);
  font-size:15px;
}

/* --------------------- homepage category tiles --------------------------
   Transparent hit-areas laid exactly over the three designed menu cards,
   so the artwork is untouched but each tile links into the live menu. */
.card-hit{
  position:absolute;
  top:21.7039rem;
  width:29.2179rem;
  height:33.1131rem;
  border-radius:2.0297rem;
  z-index:2;
  display:block;
  text-indent:-9999px;
  overflow:hidden;
  outline-offset:3px;
}
.card-hit-1{left:12.4402rem}
.card-hit-2{left:48.6414rem}
.card-hit-3{left:84.8426rem}

/* ------------------------------ mobile ---------------------------------- */
@media (max-width:767px){
  .status-strip-inner{padding:8px 14px;font-size:13px}
  .status-strip{font-size:13px}
  .menu-grid{grid-template-columns:1fr;gap:18px}
  .menu-tab{font-size:13px;padding:9px 16px}

  /* not enough width for two columns — stack day above its times */
  .hours-row{flex-direction:column;gap:2px}
  .hours-row .time{text-align:left}
}

/* ======================= floating order button ==========================
   Fixed bottom-right on every page. Icon-only on phones to save space,
   icon + label on desktop. */
.fab-order{
  position:fixed;
  right:18px;bottom:18px;
  z-index:60;
  display:inline-flex;
  align-items:center;
  gap:10px;
  height:58px;
  padding:0 24px;
  border-radius:999px;
  background:var(--cz-red);
  color:#fff;
  font-family:"Cluckiz Sans",-apple-system,BlinkMacSystemFont,sans-serif;
  font-weight:800;
  font-size:15px;
  letter-spacing:.03em;
  text-transform:uppercase;
  text-decoration:none;
  white-space:nowrap;
  box-shadow:0 10px 26px rgba(0,0,0,.45);
  transition:background .18s ease,transform .18s ease,box-shadow .18s ease;
}
.fab-order:hover{background:#a2141d;transform:translateY(-2px);box-shadow:0 14px 30px rgba(0,0,0,.5)}
.fab-order:active{transform:translateY(0)}
.fab-order svg{width:22px;height:22px;flex:0 0 auto}

@media (max-width:767px){
  /* phones: symbol only */
  .fab-order{
    right:14px;bottom:14px;
    width:56px;height:56px;
    padding:0;
    justify-content:center;
    gap:0;
  }
  .fab-order .fab-label{
    position:absolute;
    width:1px;height:1px;
    margin:-1px;padding:0;
    overflow:hidden;
    clip-path:inset(50%);
    white-space:nowrap;
  }
  .fab-order svg{width:26px;height:26px}
}

@media (prefers-reduced-motion:reduce){
  .fab-order{transition:none}
}
