/* ==========================================================================
   BURGORA — RESPONSIVE STYLES (responsive.css)
   Breakpoints: 1200px, 992px, 768px, 576px
   ========================================================================== */

/* Large Screens & Tablets (max-width: 1200px) */
@media (max-width: 1200px) {
  :root {
    --header-height: 74px;
  }

  .hero-grid {
    gap: 30px;
  }

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

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

/* Tablet Screens (max-width: 992px) */
@media (max-width: 992px) {
  .nav-menu,
  .nav-actions .auth-btn,
  .nav-actions .btn-header-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 50px;
  }

  .hero-content {
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .hero-stats-row {
    justify-content: center;
  }

  .hero-media-wrapper {
    max-width: 480px;
    margin: 0 auto;
  }

  .floating-card-1 {
    left: 0;
  }

  .floating-card-2 {
    right: 0;
  }

  .promo-banner {
    grid-template-columns: 1fr;
    padding: 40px 30px;
    text-align: center;
  }

  .promo-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .product-detail-grid {
    grid-template-columns: 1fr;
  }

  .product-gallery {
    position: static;
    max-width: 540px;
    margin: 0 auto 30px auto;
  }

  .cart-layout,
  .checkout-layout,
  .reservation-layout {
    grid-template-columns: 1fr;
  }

  .order-summary-card {
    position: static;
  }

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

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

/* Mobile Devices (max-width: 768px) */
@media (max-width: 768px) {
  .section-py {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .card-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
  }

  .hero-stats-row {
    gap: 20px;
  }

  .hero-stat-item .stat-num {
    font-size: 1.25rem;
  }

  .menu-controls {
    flex-direction: column;
    align-items: stretch;
  }

  .menu-search-sort {
    flex-direction: column;
    width: 100%;
  }

  .search-box {
    width: 100%;
  }

  .sort-select {
    width: 100%;
  }

  .filter-pills {
    overflow-x: auto;
    padding-bottom: 8px;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
  }

  .filter-btn {
    white-space: nowrap;
  }

  .cart-item-row {
    grid-template-columns: 70px 1fr 30px;
    gap: 12px;
    position: relative;
  }

  .cart-item-thumb {
    width: 70px;
    height: 60px;
  }

  .cart-item-info {
    grid-column: 2 / 3;
  }

  .cart-item-delete {
    grid-column: 3 / 4;
    grid-row: 1 / 2;
  }

  .cart-item-stepper-wrap {
    grid-column: 1 / 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 8px;
  }

  .cart-item-price {
    grid-column: 2 / 4;
    text-align: right;
  }

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

  .seating-options-row {
    grid-template-columns: 1fr;
  }

  .payment-options-grid {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .toast-container {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }

  .toast {
    min-width: unset;
    width: 100%;
  }
}

/* Small Phones (max-width: 576px) */
@media (max-width: 576px) {
  .container {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }

  .hero-cta-group .btn {
    width: 100%;
  }

  .hero-stats-row {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }

  .floating-card {
    display: none; /* Hide floating cards on very small phones to prevent layout overlap */
  }

  .product-main-img-box img {
    height: 280px;
  }

  .product-action-btns {
    grid-template-columns: 1fr;
  }

  .modal-box {
    padding: 24px 18px;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form .btn {
    width: 100%;
  }
}
