/* ==========================================================================
   مطعم أبو وليد | Abu Al-Walid - Modern Responsive Engine & Mobile Experience
   Optimized for Desktop, Tablet, and Mobile (iOS / Android)
   ========================================================================== */

/* --------------------------------------------------------------------------
   Mobile App-Like Bottom Navigation Bar
   -------------------------------------------------------------------------- */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: calc(66px + env(safe-area-inset-bottom, 0px));
  padding-bottom: max(4px, env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(224, 90, 27, 0.14);
  box-shadow: 0 -4px 24px rgba(38, 28, 20, 0.09);
  z-index: 950;
}

.mobile-bottom-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-around;
  height: 66px;
  max-width: 500px;
  margin: 0 auto;
  padding: 0 12px;
}

.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: #7C6D60;
  font-family: var(--font-heading);
  font-size: 0.74rem;
  font-weight: 700;
  position: relative;
  width: 60px;
  height: 52px;
  border-radius: var(--radius-md);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.mobile-nav-item:active {
  transform: scale(0.9);
}

.mobile-nav-item.active {
  color: var(--color-primary);
}

.mobile-nav-item.active::before {
  content: '';
  position: absolute;
  top: 2px;
  width: 24px;
  height: 3px;
  background: var(--color-primary);
  border-radius: var(--radius-full);
}

.mobile-nav-icon {
  width: 22px;
  height: 22px;
  stroke-width: 2.3;
}

.mobile-nav-badge {
  position: absolute;
  top: 4px;
  left: 10px;
  background-color: var(--color-primary);
  color: #FFFFFF;
  font-size: 0.68rem;
  font-weight: 900;
  min-width: 18px;
  height: 18px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #FFFFFF;
  box-shadow: 0 2px 6px rgba(224, 90, 27, 0.4);
}

/* --------------------------------------------------------------------------
   Breakpoint: Large Tablets & Small Desktops (<= 1100px)
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .food-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 22px;
  }

  .nav-link {
    padding: 7px 12px;
    font-size: 0.88rem;
  }
}

/* --------------------------------------------------------------------------
   Breakpoint: Tablets (<= 960px)
   -------------------------------------------------------------------------- */
@media (max-width: 960px) {
  .hero-section {
    padding: clamp(24px, 5vh, 52px) 0;
    box-sizing: border-box;
    height: calc(100vh - 74px);
    height: calc(100dvh - 74px);
    min-height: 0;
  }

  .hero-features-list {
    display: none;
  }

  .hero-container-cinematic {
    padding: 0 14px;
  }

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

  .story-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

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

  .sub-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 20px auto 0;
  }

  .sub-card.featured {
    transform: none;
  }

  .checkout-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

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

  .calc-step-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* --------------------------------------------------------------------------
   Breakpoint: Mobile Landscape & Tablet Vertical (<= 860px)
   -------------------------------------------------------------------------- */
@media (max-width: 860px) {
  .hero-section {
    height: calc(100vh - 66px);
    height: calc(100dvh - 66px);
    min-height: 0;
  }

  .top-bar-links {
    display: none;
  }

  .top-bar-inner {
    justify-content: center;
    text-align: center;
    font-size: 0.82rem;
  }

  .site-header {
    height: 66px;
  }

  .header-inner {
    height: 66px;
  }

  .nav-links {
    display: none;
  }

  .header-order-btn {
    display: inline-flex;
    height: 38px;
    padding: 0 14px;
    font-size: 0.82rem;
  }

  .cart-trigger-btn {
    display: none;
  }

  .mobile-nav-toggle {
    display: flex;
  }

  .mobile-bottom-nav {
    display: none;
  }

  body {
    padding-bottom: 0;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
  }

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

/* --------------------------------------------------------------------------
   Breakpoint: Smartphones (<= 640px)
   -------------------------------------------------------------------------- */
@media (max-width: 640px) {
  .mobile-drawer {
    top: 0;
    right: 0;
    bottom: auto;
    left: 0;
    width: 100vw;
    max-width: none;
    height: auto;
    max-height: 100vh;
    max-height: 100dvh;
    border-radius: 0;
    transform: translateY(-110%);
    box-shadow: 0 14px 42px rgba(38, 28, 20, 0.3);
  }

  .mobile-drawer-backdrop.open .mobile-drawer {
    transform: translateY(0);
  }

  .mobile-drawer-header {
    padding: calc(12px + env(safe-area-inset-top, 0px)) 16px 12px;
    direction: ltr;
  }

  .mobile-drawer-body {
    padding: 18px 16px calc(20px + env(safe-area-inset-bottom, 0px));
    gap: 16px;
    flex-grow: 0;
  }

  .mobile-drawer-links {
    gap: 5px;
  }

  .mobile-drawer-link {
    padding: 11px 12px;
    font-size: 1rem;
  }

  .mobile-drawer-link:hover,
  .mobile-drawer-link.active {
    padding-right: 16px;
  }

  .mobile-drawer-contact {
    margin-top: 0;
    padding-top: 16px;
    gap: 10px;
  }

  .story-floating-card {
    display: none;
  }

  .container {
    padding: 0 16px;
  }

  .section {
    padding: 50px 0;
  }

  /* Header Brand on Mobile */
  .logo-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 15px;
  }

  .brand-name {
    font-size: 1.45rem;
  }

  .brand-badge-egypt {
    display: none;
  }

  .brand-tagline {
    font-size: 0.7rem;
  }

  /* Hero Section */
  .hero-section {
    box-sizing: border-box;
    height: calc(100vh - 66px);
    height: calc(100dvh - 66px);
    height: calc(100dvh - 66px - env(safe-area-inset-top, 0px));
    min-height: 0;
    padding: clamp(16px, 3dvh, 28px) 0;
  }

  .hero-container-cinematic {
    height: 100%;
    justify-content: center;
  }

  .hero-badge-strip {
    width: fit-content;
    min-width: 0;
    max-width: calc(100vw - 32px);
    padding: 2px 6px;
    margin-bottom: 12px;
    font-size: 1.02rem;
    white-space: nowrap;
  }

  .hero-title {
    width: 100%;
    max-width: 100%;
    font-size: clamp(2.25rem, 9vw, 2.85rem);
    line-height: 1.22;
    margin-bottom: 14px;
  }

  .hero-desc {
    font-size: 0.98rem;
    line-height: 1.7;
    margin-bottom: 22px;
  }

  .hero-search-bar {
    flex-direction: row;
    max-width: 360px;
    padding: 5px 6px;
    gap: 4px;
    border-width: 1px;
    border-radius: var(--radius-full);
  }

  .search-input-wrap {
    min-width: 0;
    padding-right: 6px;
    gap: 6px;
  }

  .search-icon {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
  }

  .hero-search-input {
    min-width: 0;
    font-size: 0.78rem;
    text-overflow: ellipsis;
  }

  .hero-search-btn {
    width: auto;
    min-width: 104px;
    justify-content: center;
    height: 40px;
    padding: 8px 12px;
    font-size: 0.82rem;
    gap: 5px;
  }

  .hero-ctas {
    width: 100%;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
  }

  .hero-btn-primary,
  .hero-btn-secondary {
    width: fit-content;
    max-width: calc(100% - 32px);
    justify-content: center;
    min-height: 44px;
    padding: 9px 18px;
    font-size: 0.9rem;
  }

  .hero-features-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    width: min(100%, 360px);
    gap: 6px;
    margin: 2px auto 0;
  }

  .hero-feature-item {
    justify-content: center;
    min-width: 0;
    min-height: 40px;
    padding: 6px 5px;
    font-size: 0.66rem;
    line-height: 1.3;
    text-align: center;
    border-radius: var(--radius-md);
  }

  .hero-feature-item span {
    display: block;
  }

  .hero-feature-item .feature-icon {
    font-size: 0.9rem;
    flex-shrink: 0;
  }

  .catering-banner-title {
    max-width: 100%;
    margin: 0 auto 16px;
    font-size: clamp(1.12rem, 5.25vw, 1.45rem);
    line-height: 1.35;
    text-align: center;
  }

  .catering-banner-highlight {
    max-width: 330px;
    margin-inline: auto;
  }

  .catering-banner-actions {
    width: 100%;
    gap: 8px;
  }

  .catering-banner-actions .btn {
    min-height: 48px;
    padding: 9px 7px;
    font-size: 0.74rem;
    line-height: 1.35;
    white-space: normal;
    text-align: center;
  }

  .catering-banner-image {
    border-radius: 18px;
  }

  .section-title {
    font-size: 1.85rem;
  }

  .section-desc {
    font-size: 0.95rem;
  }

  .trust-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  /* Single Column Food Cards on Mobile */
  .food-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .food-card-img-wrap {
    height: 210px;
  }

  .food-card-body {
    padding: 20px 18px;
  }

  .food-card-title {
    font-size: 1.22rem;
  }

  .food-card-desc {
    font-size: 0.92rem;
    margin-bottom: 16px;
  }

  .price-val {
    font-size: 1.45rem;
  }

  /* Touch-friendly Category Tabs Carousel */
  .filter-tabs {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    justify-content: flex-start !important;
    padding: 6px 16px 16px !important;
    gap: 10px !important;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
  }

  .filter-tabs::-webkit-scrollbar {
    display: none;
  }

  .tab-btn {
    flex-shrink: 0 !important;
    white-space: nowrap !important;
    scroll-snap-align: start;
    padding: 10px 18px !important;
    font-size: 0.9rem !important;
  }

  /* Catering Page & Calculator on Mobile - Compact Cards & Centered Content */
  .catering-page .section {
    padding: 16px 0 14px;
    text-align: center;
  }

  .catering-page .section-header {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 14px;
  }

  .catering-page .section-tag {
    display: inline-block;
    margin: 0 auto 6px;
    font-size: 0.78rem;
    padding: 4px 12px;
  }

  .catering-page .section-title {
    text-align: center;
    width: 100%;
    max-width: 100%;
    margin: 0 auto 6px;
    padding-inline: 2px;
    font-size: clamp(1.28rem, 5.7vw, 1.55rem);
    line-height: 1.35;
    text-wrap: balance;
    word-break: normal;
    overflow-wrap: normal;
  }

  .catering-page .catering-title-line {
    display: block;
  }

  .catering-page .section-desc {
    text-align: center;
    margin: 0 auto 12px;
    font-size: 0.85rem;
    max-width: 340px;
    line-height: 1.65;
  }

  .catering-page .catering-hero {
    min-height: calc(100vh - 66px);
    min-height: calc(100svh - 66px);
    display: flex;
    align-items: center;
    padding: 24px 0 !important;
    background:
      linear-gradient(180deg, rgba(27, 17, 10, 0.58), rgba(27, 17, 10, 0.82)),
      url('../assets/images/abu_alwalid_royal_tray.jpg') center / cover no-repeat;
  }

  .catering-page .catering-hero .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .catering-page .catering-hero .section-tag {
    color: #FFFFFF;
    background: rgba(224, 90, 27, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.28);
    padding: 6px 14px;
    font-size: 0.82rem;
  }

  .catering-page .catering-hero .section-title {
    inline-size: 100%;
    max-inline-size: 100%;
    min-inline-size: 0;
    color: #FFFFFF;
    font-size: clamp(1.85rem, 7.8vw, 2.2rem);
    line-height: 1.3;
    white-space: normal !important;
    text-wrap: wrap;
    text-shadow: 0 3px 18px rgba(0, 0, 0, 0.8);
  }

  .catering-page .catering-hero .section-desc {
    max-width: 360px !important;
    margin: 8px auto 18px !important;
    color: #FFF8F2;
    font-size: 1.02rem;
    line-height: 1.7;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
  }

  .catering-page .catering-hero-cta {
    min-width: 210px;
    min-height: 46px;
    justify-content: center;
    font-size: 0.96rem;
  }

  /* Compact & Centered Calculator Card */
  .catering-calc-card {
    max-width: 420px;
    margin: 0 auto 8px;
    padding: 16px 14px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  }

  .calc-control-group {
    text-align: center;
    margin-bottom: 18px;
  }

  .calc-label {
    text-align: center;
    display: block;
    font-size: 1rem;
    margin-bottom: 10px;
  }

  .guest-slider-wrap {
    max-width: 360px;
    margin: 0 auto;
    text-align: center;
  }

  .guest-count-display {
    justify-content: center;
    gap: 8px;
    text-align: center;
    margin-bottom: 8px;
  }

  .guest-number {
    font-size: 1.5rem;
  }

  /* Event Type Pills - Compact Cards Centered */
  .event-type-grid {
    grid-template-columns: 1fr;
    gap: 8px;
    max-width: 340px;
    margin: 0 auto;
  }

  .event-type-pill {
    padding: 10px 12px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 0.88rem;
    border-radius: var(--radius-md);
  }

  .event-type-pill div:first-child {
    font-size: 1.25rem !important;
    margin-bottom: 2px !important;
  }

  /* Perks Card - Compact & Centered */
  .catering-perks-box {
    max-width: 360px !important;
    margin: 14px auto 0 !important;
    padding: 12px 14px !important;
    text-align: center;
    border-radius: var(--radius-md) !important;
  }

  .catering-perks-box h4 {
    text-align: center !important;
    font-size: 0.86rem !important;
    margin-bottom: 6px !important;
  }

  .catering-perks-box ul {
    text-align: center !important;
    padding: 0 !important;
    font-size: 0.78rem !important;
    line-height: 1.6 !important;
  }

  .catering-perks-box li {
    text-align: center !important;
  }

  /* Result Box - Compact & Centered */
  .calc-result-box {
    max-width: 380px;
    margin: 16px auto 0;
    padding: 14px 12px;
    border-radius: var(--radius-md);
    text-align: center;
  }

  .calc-result-title {
    justify-content: center;
    text-align: center;
    font-size: 1.05rem;
    gap: 6px;
    margin-bottom: 12px;
  }

  .suggested-items-list {
    margin-bottom: 14px;
    padding: 0;
  }

  .suggested-item {
    font-size: 0.82rem;
    padding: 7px 4px;
    justify-content: space-between;
  }

  .calc-total-row {
    flex-direction: column;
    gap: 4px;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 10px;
    margin-bottom: 14px;
  }

  .total-label {
    text-align: center;
    font-size: 0.92rem;
  }

  .total-amount {
    text-align: center;
    font-size: 1.55rem;
  }

  #cateringPerPersonDisplay {
    text-align: center;
    font-size: 0.8rem;
  }

  #addCateringToCartBtn,
  .calc-result-box .btn-secondary {
    max-width: 310px;
    margin: 0 auto;
    justify-content: center;
    text-align: center;
    font-size: 0.86rem;
    padding: 10px 14px;
  }

  .portion-options-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  /* Catering Page Food Cards - Compact, Balanced & Centered */
  .catering-page .food-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    width: calc(100vw - 32px);
    max-width: 400px;
    margin-inline: auto;
  }

  .catering-page .food-card {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    border-radius: var(--radius-md);
    overflow: hidden;
    text-align: center;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
  }

  .catering-page .food-card .card-badge {
    max-width: calc(100% - 28px);
    padding-inline: 10px;
    font-size: 0.74rem;
    text-align: center;
  }

  .catering-page .food-card-img-wrap {
    height: 190px !important;
  }

  .catering-page .food-card-body {
    padding: 12px 14px 14px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .catering-page .food-card-meta {
    justify-content: center;
    gap: 8px;
    font-size: 0.76rem;
    margin-bottom: 6px;
    text-align: center;
  }

  .catering-page .food-card-title {
    width: 100%;
    font-size: 1.12rem;
    text-align: center;
    margin-bottom: 6px;
    line-height: 1.45;
    text-wrap: balance;
    word-break: normal;
    overflow-wrap: normal;
  }

  .catering-page .food-card-desc {
    font-size: 0.8rem;
    line-height: 1.45;
    text-align: center;
    max-width: 290px;
    margin: 0 auto 10px;
    color: var(--color-text-muted);
  }

  .catering-page .food-card-footer {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    border-top: 1px dashed var(--color-border);
    padding-top: 10px;
    margin-top: auto;
  }

  .catering-page .food-price-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1px;
  }

  .catering-page .price-currency {
    font-size: 0.72rem;
    text-align: center;
  }

  .catering-page .price-val {
    font-size: 1.25rem;
    text-align: center;
  }

  .catering-page .food-card-footer .btn {
    width: 100%;
    max-width: 220px;
    margin: 0 auto;
    justify-content: center;
    font-size: 0.84rem;
    padding: 8px 14px;
  }

  /* Checkout Forms on Mobile (Prevent iOS Auto-zoom) */
  .form-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .form-input, 
  .form-select, 
  .form-textarea {
    font-size: 16px !important; /* Prevents iOS Safari input auto-zoom */
    padding: 14px 16px;
    height: 48px;
  }

  .form-textarea {
    height: auto;
  }

  .checkout-card {
    padding: 22px 18px;
    border-radius: var(--radius-lg);
  }

  .payment-methods-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .order-summary-sidebar {
    padding: 22px 18px;
    border-radius: var(--radius-lg);
  }

  /* Compact Mobile Footer */
  .site-footer {
    padding: 28px 0 16px !important;
  }

  .footer-channels-bar {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
    margin-bottom: 20px !important;
    padding-bottom: 16px !important;
  }

  .footer-channel-card {
    padding: 9px 11px !important;
    gap: 9px !important;
    border-radius: var(--radius-sm) !important;
  }

  .channel-icon-wrap {
    width: 34px !important;
    height: 34px !important;
    border-radius: 9px !important;
  }

  .channel-icon-wrap svg {
    width: 17px !important;
    height: 17px !important;
  }

  .channel-subtitle {
    font-size: 0.65rem !important;
    margin-bottom: 1px !important;
  }

  .channel-title {
    font-size: 0.8rem !important;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 18px 12px !important;
    margin-bottom: 18px !important;
  }

  .footer-grid > :first-child {
    grid-column: span 2;
  }

  .footer-grid > :last-child {
    grid-column: span 2;
  }

  .footer-about p {
    font-size: 0.84rem !important;
    margin: 6px 0 12px !important;
    max-width: 100% !important;
    line-height: 1.5 !important;
  }

  .footer-column h4 {
    font-size: 0.95rem !important;
    margin-bottom: 10px !important;
  }

  .footer-column h4::after {
    width: 20px !important;
    height: 2px !important;
    bottom: -4px !important;
  }

  .footer-links-list li {
    margin-bottom: 7px !important;
  }

  .footer-links-list a {
    font-size: 0.82rem !important;
  }

  .footer-contact-item {
    font-size: 0.82rem !important;
    margin-bottom: 6px !important;
    gap: 6px !important;
  }

  .social-icon-btn {
    width: 34px !important;
    height: 34px !important;
  }

  .social-icon-btn svg {
    width: 16px !important;
    height: 16px !important;
  }

  .footer-bottom {
    padding-top: 14px !important;
    font-size: 0.76rem !important;
    line-height: 1.5 !important;
  }

  /* Timeline on Mobile */
  .timeline-track {
    flex-direction: column;
    gap: 26px;
    align-items: flex-start;
    padding-right: 16px;
  }

  .timeline-track::before {
    display: none;
  }

  .timeline-progress-bar {
    display: none;
  }

  .timeline-step {
    flex-direction: row;
    align-items: center;
    gap: 16px;
    text-align: right;
    width: 100%;
  }

  .timeline-step .step-circle {
    margin-bottom: 0;
    flex-shrink: 0;
  }

  /* Responsive Cart Drawer */
  .cart-drawer {
    max-width: 100% !important;
  }

  .menu-results-status {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  /* Floating Action Buttons on Mobile - Icon Only */
  .floating-whatsapp-btn {
    bottom: calc(18px + env(safe-area-inset-bottom, 0px));
    left: 16px;
    width: 54px;
    height: 54px;
    padding: 0;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  }

  .whatsapp-icon {
    width: 30px;
    height: 30px;
  }

  .back-to-top-btn {
    bottom: calc(84px + env(safe-area-inset-bottom, 0px));
    left: 23px;
    width: 40px;
    height: 40px;
  }
}

/* --------------------------------------------------------------------------
   Breakpoint: Ultra-compact Smartphones (<= 380px)
   -------------------------------------------------------------------------- */
@media (max-width: 380px) {
  .brand-name {
    font-size: 1.28rem;
  }
  
  .brand-tagline {
    display: none;
  }

  .hero-title {
    font-size: 2.15rem;
  }

  .food-card-img-wrap {
    height: 180px;
  }

  .food-card-body {
    padding: 16px 14px;
  }

  .food-card-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .food-card-footer .btn {
    width: 100%;
    justify-content: center;
  }

  /* Catering Page for Extra Small Smartphones */
  .catering-page .food-card {
    max-width: 100%;
  }

  .catering-page .food-card-img-wrap {
    height: 175px !important;
  }

  .catering-page .catering-calc-card,
  .catering-page .calc-result-box {
    max-width: 295px;
    padding: 12px 10px;
  }

  .catering-page .food-card-title {
    font-size: 0.95rem;
  }

  .mobile-bottom-nav .mobile-nav-label {
    font-size: 0.68rem;
  }

  .mobile-bottom-nav .mobile-nav-icon {
    width: 20px;
    height: 20px;
  }

  .footer-channel-card {
    padding: 7px 9px !important;
    gap: 6px !important;
  }
  
  .channel-title {
    font-size: 0.72rem !important;
  }

  .channel-subtitle {
    display: none !important;
  }
}

/* --------------------------------------------------------------------------
   Touch Target & Safe Area Accessibility Enhancements (WCAG 2.2 Standards)
   -------------------------------------------------------------------------- */
@supports (padding: max(0px)) {
  .site-header {
    padding-top: env(safe-area-inset-top, 0px);
    padding-left: max(16px, env(safe-area-inset-left, 16px));
    padding-right: max(16px, env(safe-area-inset-right, 16px));
  }

  .mobile-bottom-nav {
    padding-bottom: env(safe-area-inset-bottom, 0px);
    height: calc(64px + env(safe-area-inset-bottom, 0px));
  }

  .cart-drawer-footer {
    padding-bottom: max(20px, calc(14px + env(safe-area-inset-bottom, 0px)));
  }
}

/* Minimum 44px touch targets for mobile accessibility */
@media (max-width: 860px) {
  .tab-btn,
  .btn,
  .mobile-nav-item,
  .social-icon-btn,
  .cart-trigger-btn {
    min-height: 44px;
  }

  .qty-btn {
    width: 36px;
    height: 36px;
    min-height: 36px;
    min-width: 36px;
  }

  /* Prevent text selection when rapid tapping on mobile */
  .qty-btn,
  .tab-btn,
  .mobile-nav-item,
  .btn-add-cart {
    -webkit-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
  }
}
