/* ============================================================================
 * css/buyer.css — LUXURY ROYAL CAFÉ BUYER PORTAL (PC, TABLET & SMARTPHONE FIT) (V6.1)
 * ============================================================================ */

html, body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', sans-serif;
  background:
    radial-gradient(circle at 8% 6%, rgba(245, 158, 11, 0.30) 0%, transparent 40%),
    radial-gradient(circle at 92% 14%, rgba(234, 88, 12, 0.22) 0%, transparent 45%),
    radial-gradient(circle at 50% 95%, rgba(217, 119, 6, 0.20) 0%, transparent 52%),
    linear-gradient(155deg, #fffdf7 0%, #fef3c7 46%, #ffedd5 100%);
  background-attachment: fixed;
}

.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

/* Crisp Google Photo / Drive Image Fitting across Smartphone, Tablet & PC */
.img-fit-square {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-banner-frame {
  width: 100%;
  aspect-ratio: 16 / 7;
  min-height: 155px;
  max-height: 320px;
}

@media (min-width: 768px) {
  .hero-banner-frame {
    aspect-ratio: 16 / 5;
    min-height: 210px;
    max-height: 340px;
  }
}

.hero-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

header {
  box-shadow: 0 12px 32px -10px rgba(36, 19, 12, 0.65);
}

#buyer-menu-grid > div {
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.22s ease, border-color 0.22s ease;
  background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(255,251,235,0.94) 100%);
}

#buyer-menu-grid > div:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px -12px rgba(180, 83, 9, 0.25);
}

#buyer-order-tray-panel {
  background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(254,249,235,0.96) 100%);
  box-shadow: 0 22px 44px -15px rgba(120, 53, 15, 0.20);
}

@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}
.banner-slide-anim { animation: fadeSlideIn 0.35s ease-out; }

@media print {
  body * { visibility: hidden !important; }
  #receipt-printable, #receipt-printable * { visibility: visible !important; }
  #receipt-printable {
    position: fixed !important; left: 0 !important; top: 0 !important;
    width: 100% !important; max-width: 340px !important; margin: 0 auto !important;
    padding: 14px !important; background: #ffffff !important; color: #000000 !important;
    border: none !important; box-shadow: none !important; font-size: 12px !important;
  }
  .no-print { display: none !important; }
}
