/* =========================================================
   Plan B Cafe – Responsive Stylesheet
   ========================================================= */

/* ── TABLET  ( ≤ 1024px ) ──────────────────────────────────── */
@media (max-width: 1024px) {
  :root { --header-h: 72px; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .order-layout { grid-template-columns: 1fr; }
  .order-sticky { position: static; }

  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }

  .hero { min-height: 80vh; }
  .hero-title { font-size: clamp(2rem, 5.5vw, 3.5rem); }
}

/* ── TABLET SMALL  ( ≤ 900px ) ─────────────────────────────── */
@media (max-width: 900px) {
  .main-nav, .header-actions .btn { display: none; }
  .hamburger { display: flex; }

  .section-pad { padding-block: 3.5rem; }
}

/* ── MOBILE LARGE  ( ≤ 768px ) ─────────────────────────────── */
@media (max-width: 768px) {
  :root { --header-h: 68px; }

  .hero { min-height: 100svh; }
  .hero-actions { gap: .625rem; }
  .hero-actions .btn { font-size: .875rem; padding: .7rem 1.25rem; }
  .hero-stats { gap: 1.25rem; }

  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 1rem; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; gap: .625rem; }

  .section-title { font-size: clamp(1.5rem, 5vw, 2rem); }

  .search-bar { max-width: 100%; }

  .menu-card-img { height: 180px; }
  .deal-card-img { height: 200px; }

  .filter-tabs { gap: .375rem; }
  .filter-btn { font-size: .75rem; padding: .4rem .9rem; }

  .location-card + .location-card { margin-top: 1.5rem; }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: .625rem; }

  .wa-float-btn span { display: none; }
  .wa-float-btn { padding: 1rem; }
  .wa-float { bottom: 1.25rem; left: 1.25rem; }

  .breadcrumb { font-size: .8125rem; }

  .about-img-wrapper { max-height: 320px; }
  .about-badge { bottom: 1rem; left: 1rem; }
}

/* ── MOBILE SMALL  ( ≤ 480px ) ─────────────────────────────── */
@media (max-width: 480px) {
  :root { --header-h: 64px; }

  .container { padding-inline: 1rem; }

  .hero-title { font-size: 1.75rem; }
  .hero-subtitle { font-size: .9375rem; }
  .hero-actions { flex-direction: column; gap: .5rem; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  .grid-4 { grid-template-columns: 1fr; }

  .deal-actions { flex-direction: column; }
  .deal-actions .btn { flex: none; }

  .menu-card-img { height: 160px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }

  .cart-sidebar { width: 100%; }

  .section-pad { padding-block: 2.75rem; }
  .section-pad-sm { padding-block: 2rem; }

  .btn-lg { padding: .875rem 1.75rem; font-size: .9375rem; }

  .page-hero { padding: 5rem 0 3rem; }
  .page-hero-content h1 { font-size: 1.75rem; }
}

/* ── PRINT ─────────────────────────────────────────────────── */
@media print {
  .site-header, .site-footer, .wa-float, .scroll-top, .cart-sidebar, .cart-backdrop { display: none !important; }
  .page-content { padding-top: 0; }
  body { background: white; color: black; }
  a { color: black; text-decoration: underline; }
}

/* ── HIGH CONTRAST / FOCUS ─────────────────────────────────── */
:focus-visible {
  outline: 3px solid var(--mustard);
  outline-offset: 2px;
  border-radius: 2px;
}
