* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background: #fff7f1;
  color: #222;
}

header {
  background: white;
  box-shadow: 0 2px 12px rgba(40, 24, 14, 0.08);
  position: sticky;
  top: 0;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  z-index: 100;
}

.header-top {
  align-items: center;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  min-height: 82px;
  padding: 12px 8%;
  transition: min-height 0.2s ease, padding 0.2s ease;
}

.header-tools {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  min-width: 0;
}

header.header-compact {
  box-shadow: 0 6px 22px rgba(40, 24, 14, 0.12);
}

header.header-compact .header-top {
  min-height: 62px;
  padding-bottom: 8px;
  padding-top: 8px;
}

header.header-compact .logo {
  font-size: 27px;
}

header.header-compact .site-announcements,
header.header-compact nav,
header.header-compact .top-icon {
  display: none;
}

header.header-compact .header-tools {
  gap: 10px;
}

@media (max-width: 900px) {
  header.header-compact .header-top {
    min-height: 72px;
    padding: 12px 5%;
  }

  header.header-compact .logo {
    font-size: 26px;
  }

  header.header-compact .site-announcements,
  header.header-compact nav,
  header.header-compact .top-icon {
    display: revert;
  }
}

.top-icon {
  align-items: center;
  background: #fff;
  border: 1px solid #f0e5dc;
  border-radius: 50%;
  color: #222;
  display: inline-flex;
  font-size: 20px;
  height: 44px;
  justify-content: center;
  text-decoration: none;
  transition: 0.2s;
  width: 44px;
}

.top-icon:hover {
  background: #fff1eb;
  border-color: #ffd1bf;
  color: #ff5722;
}

.site-announcements {
  background: #263241;
  border-bottom: 0;
  color: #fff;
  font-size: 14px;
  padding: 5px 8%;
}

.announcement-shell {
  align-items: center;
  display: flex;
  justify-content: center;
  margin: 0 auto;
  max-width: 1180px;
}

.public-announcements {
  height: 28px;
  overflow: hidden;
  position: relative;
  text-align: center;
  width: 100%;
}

.announcement-track {
  will-change: transform;
}

.announcement-item {
  align-items: center;
  color: #fff;
  display: flex;
  font-size: 14px;
  font-weight: 400;
  gap: 8px;
  height: 28px;
  min-width: 0;
  overflow: hidden;
  justify-content: center;
  text-decoration: none;
  white-space: nowrap;
}

.announcement-item:hover {
  color: #ffd6c8;
}

.announcement-title {
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
}

.announcement-item small {
  color: rgba(255, 255, 255, 0.82);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.announcement-empty {
  align-items: center;
  color: rgba(255, 255, 255, 0.82);
  display: flex;
  min-height: 28px;
}

.announcements-page {
  padding: 34px 8% 64px;
}

.announcements-hero {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0.18)),
    url("https://images.unsplash.com/photo-1557804506-669a67965ba0") center/cover;
  border-radius: 8px;
  color: #fff;
  margin: 0 auto 28px;
  max-width: 1180px;
  min-height: 260px;
  padding: 46px;
}

.announcements-hero h1 {
  font-size: 46px;
  line-height: 1.05;
  margin: 18px 0 12px;
}

.announcements-hero p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  max-width: 680px;
}

.announcement-archive-panel {
  background: #fff;
  border: 1px solid #f0e0d6;
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(42, 24, 12, 0.08);
  margin: 0 auto;
  max-width: 1180px;
  padding: 28px;
}

.announcement-filters {
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(220px, 1fr) 190px 170px 130px;
  margin: 0 0 20px;
}

.announcement-filters input,
.announcement-filters select {
  background: #fff;
  border: 1px solid #ded5cf;
  border-radius: 8px;
  color: #222;
  font-size: 15px;
  min-height: 46px;
  padding: 0 14px;
  width: 100%;
}

.announcement-filters input:focus,
.announcement-filters select:focus {
  border-color: #ff9b78;
  box-shadow: 0 0 0 4px rgba(255, 87, 34, 0.1);
  outline: none;
}

.announcement-archive-list {
  display: grid;
  gap: 14px;
}

.archive-announcement {
  align-items: start;
  border: 1px solid #f1e2d8;
  border-radius: 8px;
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 1fr) 280px;
  padding: 20px;
}

.archive-announcement h2 {
  color: #222;
  font-size: 22px;
  margin: 10px 0 8px;
}

.archive-announcement p {
  color: #5f5350;
  line-height: 1.65;
}

.archive-status {
  border-radius: 999px;
  display: inline-flex;
  font-size: 13px;
  font-weight: 800;
  padding: 7px 12px;
}

.archive-status.active {
  background: #e5f8ed;
  color: #087b3f;
}

.archive-status.hidden {
  background: #f3f4f6;
  color: #4b5563;
}

.archive-status.expired {
  background: #fff0e6;
  color: #b74708;
}

.archive-status.scheduled {
  background: #e8f0ff;
  color: #1d4ed8;
}

.archive-announcement dl {
  background: #fff7f1;
  border-radius: 8px;
  display: grid;
  gap: 12px;
  padding: 16px;
}

.archive-announcement dt {
  color: #7a6b64;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.archive-announcement dd {
  color: #222;
  font-weight: 700;
  margin-top: 4px;
}

.announcement-archive-pager {
  align-items: center;
  color: #5f5350;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin-top: 20px;
}

.archive-pager-buttons {
  display: flex;
  gap: 6px;
}

.archive-pager-buttons button {
  background: #fff;
  border: 1px solid #e5d8cf;
  border-radius: 8px;
  color: #333;
  cursor: pointer;
  font-size: 15px;
  font-weight: 800;
  height: 38px;
  min-width: 38px;
  padding: 0 12px;
}

.archive-pager-buttons button.active {
  background: #ff5722;
  border-color: #ff5722;
  color: #fff;
}

.archive-pager-buttons button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.floating-ads {
  pointer-events: none;
}

.floating-ad {
  background: #fff7f2;
  border: 1px solid rgba(255, 79, 37, 0.24);
  border-radius: 14px;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.14);
  display: block;
  height: clamp(210px, 14vw, 270px);
  overflow: hidden;
  pointer-events: auto;
  position: fixed;
  top: 62%;
  transform: translateY(-50%);
  transition: opacity 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
  width: clamp(66px, 4.2vw, 84px);
  z-index: 80;
}

.floating-ad-left {
  left: 26px;
}

.floating-ad-right {
  right: 26px;
}

.floating-ad img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.floating-ad:hover {
  box-shadow: 0 20px 44px rgba(15, 23, 42, 0.18);
  transform: translateY(-50%) scale(1.025);
}

.floating-ad.is-switching {
  opacity: 0.4;
}

.floating-ad[hidden],
.floating-ads[hidden] {
  display: none;
}

@media (max-width: 1180px), (max-height: 620px) {
  .floating-ad {
    display: none;
  }
}

.logo {
  font-size: 26px;
  font-weight: bold;
  color: #ff5722;
  flex: 0 0 auto;
  text-decoration: none;
}

nav {
  align-items: center;
  display: flex;
  background: #cf1f1f;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.12);
  gap: 4px;
  justify-content: center;
  padding: 0 8%;
}

nav a,
.nav-dropdown-toggle {
  border-radius: 0;
  color: #fff;
  display: inline-flex;
  font-size: 16px;
  line-height: 1;
  min-height: 46px;
  padding: 0 16px;
  align-items: center;
  text-decoration: none;
  font-weight: 700;
  white-space: nowrap;
}

nav a:hover,
.nav-dropdown:hover .nav-dropdown-toggle,
.nav-dropdown:focus-within .nav-dropdown-toggle {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  gap: 8px;
}

.nav-dropdown-toggle span {
  font-size: 15px;
  line-height: 1;
  transition: transform 0.18s ease;
}

.nav-dropdown:hover .nav-dropdown-toggle span,
.nav-dropdown:focus-within .nav-dropdown-toggle span {
  transform: rotate(180deg);
}

.nav-dropdown-panel {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #f3d7cf;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 18px 36px rgba(62, 29, 14, 0.16);
  display: grid;
  gap: 2px;
  left: 0;
  min-width: 230px;
  opacity: 0;
  padding: 8px;
  pointer-events: none;
  position: absolute;
  top: 100%;
  transform: translateY(8px);
  transition: 0.18s ease;
  z-index: 40;
}

.nav-dropdown:hover .nav-dropdown-panel,
.nav-dropdown:focus-within .nav-dropdown-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-dropdown-panel a {
  border-radius: 8px;
  color: #334155;
  justify-content: flex-start;
  min-height: 40px;
  padding: 0 12px;
}

.nav-dropdown-panel a:hover {
  background: #fff1eb;
  color: #ff5722;
}

.cart-btn {
  align-items: center;
  background: #fff1eb;
  border: 1px solid #ffd7c8;
  color: #ff5722;
  display: inline-flex;
  gap: 8px;
  justify-content: center;
  min-height: 44px;
  text-decoration: none;
  padding: 0 14px;
  border-radius: 999px;
  font-weight: bold;
  white-space: nowrap;
}

#cart-count {
  background: #ff5722;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  padding: 0 7px;
  border-radius: 50%;
}

.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 70px 8%;
  gap: 40px;
}

.hero-text {
  flex: 1;
}

.badge {
  display: inline-block;
  background: #ffe2d5;
  color: #ff5722;
  padding: 8px 16px;
  border-radius: 20px;
  margin-bottom: 18px;
  font-weight: bold;
}

.hero-text h1 {
  font-size: 54px;
  margin-bottom: 20px;
}

.hero-text p {
  font-size: 18px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 28px;
}

.btn,
.food-card button,
.qty-btn,
.remove-btn {
  background: #ff5722;
  color: white;
  border: none;
  padding: 11px 22px;
  border-radius: 25px;
  cursor: pointer;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
}

.btn:hover,
.food-card button:hover {
  background: #e64a19;
}

.hero-img {
  flex: 1;
}

.hero-img img {
  width: 100%;
  border-radius: 30px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.page-title {
  padding: 54px 8% 22px;
  text-align: center;
}

.page-title h1 {
  font-size: 44px;
  margin-bottom: 12px;
}

.page-title p {
  color: #555;
  font-size: 18px;
  line-height: 1.6;
}

.menu-page {
  padding: 34px 8% 58px;
}

.menu-hero {
  background:
    linear-gradient(90deg, rgba(34, 28, 23, 0.78), rgba(34, 28, 23, 0.15)),
    url("https://images.unsplash.com/photo-1543352634-a1c51d9f1fa7") center/cover;
  border-radius: 8px;
  color: white;
  min-height: 260px;
  padding: 42px;
  display: flex;
  align-items: end;
  margin-bottom: 28px;
}

.menu-hero .badge {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.menu-hero h1 {
  font-size: 44px;
  line-height: 1.12;
  margin-bottom: 12px;
  max-width: 650px;
}

.menu-hero p {
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
  line-height: 1.6;
  max-width: 620px;
}

.menu-panel {
  background: white;
  border: 1px solid #f0e5dc;
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(78, 45, 25, 0.08);
  padding: 26px;
}

.menu-toolbar {
  align-items: end;
  border-bottom: 1px solid #f0e5dc;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 20px;
  text-align: left;
}

.menu-toolbar h2 {
  font-size: 30px;
  margin-bottom: 8px;
}

.menu-toolbar p {
  color: #666;
}

.categories,
.menu,
.cart-section,
.order-section,
.track-section,
.about,
.contact {
  padding: 50px 8%;
  text-align: center;
}

h2 {
  font-size: 34px;
  margin-bottom: 30px;
}

.filter-box {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.filter-box input,
.filter-box select,
.order-section input,
.order-section textarea {
  background: #fff;
  padding: 13px 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  outline: none;
  font-size: 16px;
}

.filter-box input {
  width: 320px;
}

.food-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.food-card {
  background: white;
  border: 1px solid #f0e5dc;
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(78, 45, 25, 0.08);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
  text-align: left;
  transition: 0.2s;
}

.food-card:hover {
  box-shadow: 0 16px 34px rgba(78, 45, 25, 0.13);
  transform: translateY(-3px);
}

.food-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.food-card h3 {
  font-size: 21px;
  margin: 0 0 8px;
  padding: 18px 18px 0;
}

.food-card p {
  color: #666;
  flex: 1;
  line-height: 1.5;
  min-height: 48px;
  padding: 0 18px;
}

.food-card span {
  display: block;
  margin: 16px 18px;
  color: #ff5722;
  font-size: 20px;
  font-weight: bold;
}

.food-card button {
  border-radius: 0;
  margin-top: auto;
  padding: 14px 18px;
  width: 100%;
}

.cart-section {
  background: white;
}

.checkout-page,
.track-page,
.contact-page,
.profile-page {
  padding: 34px 8% 58px;
}

.checkout-hero,
.track-hero,
.contact-hero,
.profile-hero {
  background:
    linear-gradient(90deg, rgba(34, 28, 23, 0.82), rgba(34, 28, 23, 0.18)),
    url("https://images.unsplash.com/photo-1498837167922-ddd27525d352") center/cover;
  border-radius: 8px;
  color: white;
  margin-bottom: 28px;
  min-height: 230px;
  padding: 38px;
  display: flex;
  flex-direction: column;
  justify-content: end;
}

.track-hero {
  background:
    linear-gradient(90deg, rgba(34, 28, 23, 0.8), rgba(34, 28, 23, 0.18)),
    url("https://images.unsplash.com/photo-1556742049-0cfed4f6a45d") center/cover;
}

.contact-hero {
  background:
    linear-gradient(90deg, rgba(34, 28, 23, 0.82), rgba(34, 28, 23, 0.12)),
    url("https://images.unsplash.com/photo-1521737604893-d14cc237f11d") center/cover;
}

.profile-hero {
  background:
    linear-gradient(90deg, rgba(34, 28, 23, 0.82), rgba(34, 28, 23, 0.14)),
    url("https://images.unsplash.com/photo-1556740758-90de374c12ad") center/cover;
}

.checkout-hero .badge,
.track-hero .badge,
.contact-hero .badge,
.profile-hero .badge {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  width: fit-content;
}

.checkout-hero h1,
.track-hero h1,
.contact-hero h1,
.profile-hero h1 {
  font-size: 42px;
  line-height: 1.15;
  margin-bottom: 12px;
}

.checkout-hero p,
.track-hero p,
.contact-hero p,
.profile-hero p {
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
  line-height: 1.6;
  max-width: 680px;
}

.checkout-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  align-items: start;
}

.checkout-card,
.track-card-shell,
.profile-card {
  background: #fff;
  border: 1px solid #f0e5dc;
  border-radius: 8px;
  box-shadow: 0 16px 42px rgba(78, 45, 25, 0.08);
  padding: 24px;
}

.profile-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.profile-card {
  display: grid;
  gap: 16px;
  text-align: left;
}

.profile-card label {
  color: #444;
  display: grid;
  font-weight: 700;
  gap: 8px;
}

.profile-card input {
  border: 1px solid #ddd;
  border-radius: 12px;
  font-size: 16px;
  min-height: 50px;
  outline: none;
  padding: 0 15px;
  width: 100%;
}

.profile-card input:focus {
  border-color: #ff8a65;
  box-shadow: 0 0 0 4px rgba(255, 87, 34, 0.12);
}

.verify-status {
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.5;
  margin-top: -4px;
  padding: 10px 12px;
}

.verify-status.verified {
  background: #e8f8ef;
  color: #15803d;
}

.verify-status.pending {
  background: #fff1eb;
  color: #d9480f;
}

.profile-card .btn {
  border-radius: 12px;
  justify-self: start;
  min-height: 48px;
  padding: 0 22px;
}

.social-link-card {
  grid-column: 1 / -1;
}

.social-account-list {
  display: grid;
  gap: 12px;
}

.social-account-item {
  align-items: center;
  background: #fff8f0;
  border: 1px solid #f0e5dc;
  border-radius: 8px;
  display: flex;
  gap: 14px;
  justify-content: space-between;
  padding: 14px 16px;
}

.social-account-name {
  align-items: center;
  display: flex;
  gap: 12px;
  font-weight: 800;
}

.social-account-icon {
  align-items: center;
  background: #fff;
  border-radius: 50%;
  color: #ff5722;
  display: inline-flex;
  font-weight: 900;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.social-account-meta {
  color: #666;
  font-size: 14px;
  margin-top: 3px;
}

.social-account-status {
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  padding: 7px 11px;
}

.social-account-status.linked {
  background: #e8f8ef;
  color: #15803d;
}

.social-account-status.missing {
  background: #fff1eb;
  color: #ff5722;
}

.social-link-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.social-link-btn {
  align-items: center;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
  cursor: pointer;
  display: inline-flex;
  font-size: 16px;
  font-weight: 800;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
}

.social-link-btn.google {
  color: #d93025;
}

.social-link-btn.facebook {
  color: #1877f2;
}

.section-heading {
  align-items: start;
  border-bottom: 1px solid #f0e5dc;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 16px;
  text-align: left;
}

.section-heading h2 {
  font-size: 26px;
  margin-bottom: 6px;
}

.section-heading p {
  color: #666;
}

.text-link {
  color: #ff5722;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.cart-item {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  align-items: center;
  gap: 15px;
  background: #fff8f0;
  border: 1px solid #f0e5dc;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 12px;
  text-align: left;
}

.cart-item h4 {
  margin-bottom: 5px;
}

.qty-box {
  display: flex;
  align-items: center;
  gap: 8px;
}

.qty-btn {
  padding: 6px 12px;
  border-radius: 8px;
}

.remove-btn {
  background: #333;
  padding: 8px 14px;
  border-radius: 8px;
}

.cart-total {
  background: #fff1eb;
  border-radius: 8px;
  font-size: 24px;
  font-weight: bold;
  margin-top: 20px;
  padding: 16px;
  text-align: right;
  color: #ff5722;
}

.order-form {
  display: grid;
  gap: 15px;
  text-align: left;
}

.order-form label {
  color: #444;
  display: grid;
  font-weight: 700;
  gap: 8px;
}

.order-section textarea,
.order-form textarea {
  height: 120px;
  resize: none;
}

.track-form {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin: 0 auto 24px;
  max-width: 720px;
}

.history-filter {
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(220px, 1fr) 180px auto auto;
  margin-bottom: 22px;
}

.track-form input,
.history-filter input {
  border: 1px solid #ddd;
  border-radius: 12px;
  font-size: 16px;
  min-width: 0;
  outline: none;
  padding: 13px 16px;
}

.muted-btn {
  background: #333;
}

.track-result {
  margin: 0 auto;
  max-width: 820px;
  text-align: left;
}

.track-card {
  background: #fff8f0;
  border: 1px solid #f0e5dc;
  border-radius: 8px;
  padding: 22px;
}

.track-card h3 {
  margin-bottom: 12px;
}

.order-history-top {
  align-items: start;
  border-bottom: 1px solid #f0e5dc;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 12px;
}

.order-history-top p,
.history-info p {
  color: #555;
  line-height: 1.5;
}

.status-pill {
  background: #fff1eb;
  border-radius: 999px;
  color: #ff5722;
  flex: 0 0 auto;
  font-size: 14px;
  font-weight: 900;
  padding: 8px 12px;
}

.history-info {
  display: grid;
  gap: 4px;
  margin-bottom: 12px;
}

.history-items {
  border-top: 1px solid #f0e5dc;
  padding-top: 4px;
}

.track-line {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 10px;
}

.empty-history {
  background: #fff8f0;
  border: 1px solid #f0e5dc;
  border-radius: 8px;
  padding: 24px;
  text-align: center;
}

.empty-history h3 {
  margin-bottom: 8px;
}

.empty-history p {
  color: #666;
  margin-bottom: 16px;
}

.contact-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.contact-card {
  background: #fff;
  border: 1px solid #f0e5dc;
  border-radius: 8px;
  box-shadow: 0 16px 42px rgba(78, 45, 25, 0.08);
  padding: 26px;
  text-align: left;
}

.contact-icon {
  align-items: center;
  background: #fff1eb;
  border-radius: 8px;
  color: #ff5722;
  display: inline-flex;
  font-size: 24px;
  font-weight: 800;
  height: 48px;
  justify-content: center;
  margin-bottom: 18px;
  width: 48px;
}

.contact-card h2 {
  font-size: 24px;
  margin-bottom: 10px;
}

.contact-card p {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 8px;
}

.contact-card small {
  color: #666;
  line-height: 1.5;
}

.about {
  background: #fff8f0;
}

.about-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.about-list div {
  background: white;
  padding: 25px;
  border-radius: 18px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.about-list h3 {
  margin-bottom: 12px;
}

.contact {
  background: white;
}

.contact p {
  margin: 8px 0;
  font-size: 18px;
}

footer {
  text-align: center;
  padding: 25px;
  background: #222;
  color: white;
}

.site-toast {
  background: #222;
  border-radius: 8px;
  bottom: 24px;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.22);
  color: #fff;
  font-weight: 800;
  left: 50%;
  max-width: min(420px, calc(100vw - 32px));
  opacity: 0;
  padding: 14px 16px;
  pointer-events: none;
  position: fixed;
  transform: translate(-50%, 14px);
  transition: 0.22s;
  z-index: 200;
}

.site-toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.site-toast.success {
  background: #15803d;
}

.support-widget {
  bottom: 22px;
  position: fixed;
  right: 22px;
  z-index: 180;
}

.support-toggle {
  align-items: center;
  background: linear-gradient(145deg, #ff5a28 0%, #f0341f 100%);
  border: 4px solid rgba(255, 255, 255, 0.88);
  border-radius: 50%;
  box-shadow: 0 16px 34px rgba(255, 87, 34, 0.32), 0 4px 12px rgba(30, 15, 8, 0.14);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-size: 0;
  font-weight: 900;
  height: 62px;
  justify-content: center;
  min-height: 62px;
  padding: 0;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  width: 62px;
}

.support-toggle:hover {
  box-shadow: 0 20px 42px rgba(255, 87, 34, 0.38), 0 6px 16px rgba(30, 15, 8, 0.16);
  transform: translateY(-2px);
}

.support-toggle span {
  align-items: center;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: inline-flex;
  height: 44px;
  justify-content: center;
  width: 44px;
}

.support-robot-icon {
  display: block;
  height: 38px;
  width: 38px;
}

.robot-face {
  fill: #fff;
}

.robot-antenna,
.robot-mouth {
  fill: none;
  stroke: #ff5722;
  stroke-linecap: round;
  stroke-width: 4;
}

.robot-dot,
.robot-eye {
  fill: #ff5722;
}

.support-panel {
  background: #fff;
  border: 1px solid #f0e5dc;
  border-radius: 8px;
  bottom: 76px;
  box-shadow: 0 18px 48px rgba(39, 24, 15, 0.18);
  display: grid;
  gap: 8px;
  min-width: 210px;
  opacity: 0;
  padding: 10px;
  pointer-events: none;
  position: absolute;
  right: 0;
  transform: translateY(10px);
  transition: 0.2s ease;
}

.support-widget.open .support-panel {
  bottom: 0;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.support-widget.open .support-toggle {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.84);
}

.chat-panel {
  display: flex;
  flex-direction: column;
  gap: 0;
  height: min(430px, calc(100vh - 44px));
  min-width: 340px;
  overflow: hidden;
  padding: 0;
  width: min(360px, calc(100vw - 28px));
}

.chat-header {
  align-items: center;
  background: #ff5722;
  color: #fff;
  display: flex;
  justify-content: space-between;
  min-height: 78px;
  padding: 14px 16px;
}

.chat-agent {
  align-items: center;
  display: flex;
  gap: 11px;
  min-width: 0;
}

.chat-avatar {
  align-items: center;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  display: inline-flex;
  flex: 0 0 44px;
  height: 44px;
  justify-content: center;
  width: 44px;
}

.chat-avatar svg {
  height: 34px;
  width: 34px;
}

.chat-avatar rect {
  fill: #fff;
}

.chat-avatar path {
  fill: none;
  stroke: #ff5722;
  stroke-linecap: round;
  stroke-width: 4;
}

.chat-avatar circle {
  fill: #ff5722;
}

.chat-header-actions {
  align-items: center;
  display: flex;
  gap: 8px;
}

.chat-header strong,
.chat-header small {
  display: block;
}

.chat-header small {
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  margin-top: 2px;
}

.chat-close {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-size: 24px;
  font-weight: 800;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.chat-menu {
  align-items: center;
  background: transparent;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  height: 34px;
  justify-content: center;
  padding: 0;
  width: 34px;
}

.chat-menu span {
  background: #fff;
  border-radius: 999px;
  display: block;
  height: 3px;
  width: 18px;
}

.chat-quick-menu {
  background: #fff7f1;
  border-bottom: 1px solid #f0e5dc;
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, 1fr);
  padding: 8px;
}

.chat-quick-menu[hidden] {
  display: none;
}

.chat-quick-menu a {
  align-items: center;
  background: #fff;
  border: 1px solid #f0e5dc;
  border-radius: 6px;
  color: #332822;
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  justify-content: center;
  min-height: 36px;
  padding: 6px;
  text-align: center;
  text-decoration: none;
}

.chat-quick-menu a:hover {
  border-color: #ffb196;
  color: #ff5722;
}

.chat-messages {
  align-content: start;
  background: #fff;
  display: grid;
  flex: 1 1 auto;
  gap: 12px;
  max-height: none;
  min-height: 0;
  overflow-y: auto;
  padding: 18px 18px 16px;
}

.chat-message {
  border-radius: 6px;
  font-size: 14px;
  line-height: 1.45;
  max-width: 86%;
  padding: 10px 12px;
}

.chat-message.bot {
  background: #f5f5f5;
  border: 0;
  color: #332822;
  justify-self: start;
}

.chat-message.user {
  background: #ff5722;
  color: #fff;
  justify-self: end;
}

.chat-message.muted {
  color: #6b5d57;
}

.chat-form {
  background: #fff;
  border-top: 1px solid #f0e5dc;
  display: block;
  flex: 0 0 auto;
  min-height: 64px;
  padding: 0;
  position: relative;
}

.chat-form-main {
  align-items: center;
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 10px 12px;
}

.chat-input {
  border: 0;
  border-radius: 0;
  font-size: 14px;
  min-height: 42px;
  padding: 0 6px;
}

.chat-input:focus {
  outline: none;
}

.chat-tools {
  align-items: center;
  display: flex;
  gap: 3px;
}

.chat-tool,
.chat-send {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 50%;
  color: #777;
  cursor: pointer;
  display: inline-flex;
  height: 34px;
  justify-content: center;
  padding: 0;
  width: 34px;
}

.chat-tool:hover,
.chat-send:hover {
  background: #fff1ea;
  color: #ff5722;
}

.chat-tool svg,
.chat-send svg {
  height: 22px;
  width: 22px;
}

.chat-tool path,
.chat-tool circle,
.chat-send path {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.chat-send path {
  fill: currentColor;
  stroke: none;
}

.chat-like svg path {
  fill: currentColor;
  stroke: none;
}

.chat-send {
  border-radius: 50%;
  color: #ff5722;
  padding: 0;
  width: 34px;
}

.chat-emoji-picker {
  background: #fff;
  border: 1px solid #ecd7cc;
  border-radius: 999px;
  bottom: 58px;
  box-shadow: 0 12px 28px rgba(39, 24, 15, 0.14);
  display: flex;
  gap: 2px;
  padding: 5px;
  position: absolute;
  right: 42px;
}

.chat-emoji-picker[hidden] {
  display: none;
}

.chat-emoji-picker button {
  background: transparent;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  height: 30px;
  width: 30px;
}

.chat-emoji-picker button:hover {
  background: #fff1ea;
}

.support-link {
  align-items: center;
  border-radius: 8px;
  color: #222;
  display: flex;
  gap: 10px;
  min-height: 44px;
  padding: 8px 10px;
  text-decoration: none;
}

.support-link:hover {
  background: #fff7f1;
}

.support-link span {
  align-items: center;
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  flex: 0 0 auto;
  font-weight: 900;
  height: 30px;
  justify-content: center;
  width: 30px;
}

.support-link.zalo span {
  background: #0068ff;
}

.support-link.messenger span {
  background: #1877f2;
  font-family: Georgia, serif;
}

.support-link.phone span {
  background: #16a34a;
}

.support-link.email span {
  background: #dc2626;
}

.empty-cart {
  color: #777;
  font-size: 18px;
}

.mobile-menu-toggle,
.mobile-menu-overlay {
  display: none;
}

@media (max-width: 900px) {
  .header-top {
    flex-wrap: wrap;
    gap: 12px;
    min-height: 72px;
    padding: 12px 5%;
  }

  nav {
    flex-wrap: wrap;
    justify-content: center;
    padding: 0 5%;
  }

  #user-area {
    flex-wrap: wrap;
    justify-content: center;
  }

  .cart-btn,
  .header-action,
  .logout-btn {
    min-height: 40px;
  }

  .hero {
    flex-direction: column;
    text-align: center;
  }

  .hero-text h1 {
    font-size: 38px;
  }

  .food-list,
  .about-list,
  .checkout-grid,
  .contact-grid,
  .profile-grid {
    grid-template-columns: 1fr;
  }

  .announcement-shell {
    grid-template-columns: 1fr;
  }

  .checkout-page,
  .track-page,
  .contact-page,
  .profile-page,
  .announcements-page {
    padding: 22px 5% 44px;
  }

  .checkout-hero,
  .track-hero,
  .contact-hero,
  .profile-hero,
  .announcements-hero {
    min-height: 220px;
    padding: 28px;
  }

  .checkout-hero h1,
  .track-hero h1,
  .contact-hero h1,
  .profile-hero h1,
  .announcements-hero h1 {
    font-size: 34px;
  }

  .archive-announcement {
    grid-template-columns: 1fr;
  }

  .announcement-filters {
    grid-template-columns: 1fr 1fr;
  }

  .section-heading {
    flex-direction: column;
  }

  .menu-page {
    padding: 22px 5% 44px;
  }

  .menu-hero {
    min-height: 220px;
    padding: 28px;
  }

  .menu-hero h1 {
    font-size: 34px;
  }

  .menu-panel {
    padding: 18px;
  }

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

  .filter-box {
    flex-direction: column;
    align-items: stretch;
  }

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

  .history-filter {
    grid-template-columns: 1fr;
  }

  .filter-box input {
    width: 100%;
  }

  .cart-item {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .support-widget {
    bottom: 16px;
    right: 16px;
  }

  .support-panel {
    max-width: calc(100vw - 32px);
  }
}

@media (max-width: 560px) {
  body {
    font-size: 15px;
  }

  header {
    display: block;
  }

  .header-top {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    gap: 10px;
    min-height: 66px;
    padding: 10px 14px;
  }

  .logo {
    font-size: 23px;
    line-height: 1;
    min-width: 0;
    overflow: hidden;
    text-align: left;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .header-tools {
    gap: 8px;
    min-width: 0;
  }

  .header-tools .top-icon:not([href="announcements.html"]) {
    display: none;
  }

  .top-icon {
    font-size: 18px;
    height: 40px;
    width: 40px;
  }

  .site-announcements {
    padding: 4px 14px;
  }

  .mobile-menu-toggle {
    align-items: center;
    background: #fff7f1;
    border: 1px solid #f4e5dc;
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
    flex-direction: column;
    gap: 5px;
    height: 42px;
    justify-content: center;
    width: 42px;
    z-index: 135;
  }

  .mobile-menu-toggle span {
    background: #222;
    border-radius: 999px;
    display: block;
    height: 2px;
    width: 19px;
  }

  .mobile-menu-overlay {
    background: rgba(0, 0, 0, 0.38);
    bottom: 0;
    display: block;
    left: 0;
    opacity: 0;
    pointer-events: none;
    position: fixed;
    right: 0;
    top: 0;
    transition: 0.2s ease;
    z-index: 118;
  }

  nav {
    align-items: stretch;
    background: #fff;
    box-shadow: 18px 0 40px rgba(35, 20, 12, 0.18);
    display: flex;
    flex-direction: column;
    gap: 8px;
    height: 100vh;
    justify-content: flex-start;
    left: 0;
    max-width: 310px;
    padding: 88px 18px 18px;
    position: fixed;
    top: 0;
    transform: translateX(-105%);
    transition: 0.24s ease;
    width: min(82vw, 310px);
    z-index: 130;
  }

  nav a,
  .nav-dropdown-toggle {
    align-items: center;
    background: #fff7f1;
    border: 1px solid #f4e5dc;
    color: #333;
    font-size: 16px;
    justify-content: flex-start;
    min-height: 46px;
    padding: 0 14px;
    width: 100%;
  }

  nav a:hover,
  .nav-dropdown:hover .nav-dropdown-toggle,
  .nav-dropdown:focus-within .nav-dropdown-toggle {
    background: #fff1eb;
    color: #ff5722;
  }

  .nav-dropdown {
    display: grid;
    gap: 6px;
  }

  .nav-dropdown-panel {
    background: transparent;
    border: 0;
    border-left: 1px solid #f2d6c9;
    border-radius: 0;
    box-shadow: none;
    display: grid;
    margin-left: 18px;
    min-width: 0;
    opacity: 1;
    padding: 0 0 0 12px;
    pointer-events: auto;
    position: static;
    transform: none;
  }

  .nav-dropdown-panel a {
    background: #fff;
    border-color: #f4e5dc;
    color: #475569;
    font-size: 15px;
    min-height: 40px;
  }

  .nav-dropdown-toggle span {
    margin-left: auto;
  }

  header.mobile-menu-open nav {
    transform: translateX(0);
  }

  header.mobile-menu-open .mobile-menu-overlay {
    opacity: 1;
    pointer-events: auto;
  }

  #user-area {
    align-items: stretch;
    background: #fff;
    border-top: 1px solid #f0e5dc;
    bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    left: 0;
    max-width: 310px;
    padding: 14px 18px 18px;
    position: fixed;
    transform: translateX(-105%);
    transition: 0.24s ease;
    width: min(82vw, 310px);
    z-index: 132;
  }

  header.mobile-menu-open #user-area {
    transform: translateX(0);
  }

  .user-name {
    background: #fff7f1;
    border-radius: 999px;
    max-width: 100%;
    padding: 10px 12px;
    text-align: center;
  }

  .header-action,
  .logout-btn {
    font-size: 14px;
    min-height: 42px;
    padding: 0 14px;
  }

  .header-action,
  .logout-btn {
    width: 100%;
  }

  .cart-btn {
    border-radius: 50%;
    font-size: 20px;
    gap: 0;
    height: 40px;
    justify-self: end;
    margin-top: 0;
    min-height: 40px;
    padding: 0;
    position: relative;
    width: 40px;
  }

  .cart-btn span {
    display: none;
  }
  #cart-count {
    font-size: 12px;
    height: 22px;
    min-width: 22px;
    position: absolute;
    right: -7px;
    top: -7px;
  }

  body.menu-lock {
    overflow: hidden;
  }

  .hero,
  .menu-page,
  .checkout-page,
  .track-page,
  .contact-page,
  .profile-page {
    padding: 18px 16px 34px;
  }

  .hero {
    gap: 22px;
  }

  .hero-text h1 {
    font-size: 34px;
    line-height: 1.12;
  }

  .hero-text p,
  .menu-hero p,
  .checkout-hero p,
  .track-hero p,
  .contact-hero p,
  .profile-hero p {
    font-size: 16px;
    line-height: 1.5;
  }

  .menu-hero,
  .checkout-hero,
  .track-hero,
  .contact-hero,
  .profile-hero {
    border-radius: 8px;
    margin-bottom: 18px;
    min-height: 0;
    padding: 22px;
  }

  .menu-hero h1,
  .checkout-hero h1,
  .track-hero h1,
  .contact-hero h1,
  .profile-hero h1 {
    font-size: 31px;
    line-height: 1.12;
  }

  .badge {
    font-size: 14px;
    margin-bottom: 14px;
    padding: 7px 12px;
  }

  .menu-panel,
  .checkout-card,
  .track-card-shell,
  .contact-card,
  .profile-card {
    padding: 18px;
  }

  .section-heading {
    gap: 10px;
    margin-bottom: 16px;
  }

  .section-heading h2,
  .menu-toolbar h2 {
    font-size: 26px;
  }

  .history-filter {
    gap: 10px;
  }

  .history-filter input,
  .track-form input,
  .filter-box input,
  .filter-box select,
  .order-form input,
  .order-form textarea,
  .profile-card input {
    font-size: 15px;
    padding: 12px 13px;
    width: 100%;
  }

  .history-filter .btn,
  .order-form .btn,
  .track-form .btn,
  .profile-card .btn {
    text-align: center;
    width: 100%;
  }

  .social-account-item {
    align-items: stretch;
    flex-direction: column;
  }

  .social-account-status {
    width: fit-content;
  }

  .social-link-actions {
    flex-direction: column;
  }

  .social-link-btn {
    justify-content: center;
    width: 100%;
  }

  .track-result {
    max-width: 100%;
  }

  .track-card {
    padding: 16px;
  }

  .order-history-top {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }

  .status-pill {
    width: fit-content;
  }

  .track-line {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .food-card img {
    height: 190px;
  }

  .support-widget {
    bottom: 18px;
    right: 14px;
  }

  .support-toggle {
    border-radius: 50%;
    box-shadow: 0 12px 28px rgba(255, 87, 34, 0.32);
    font-size: 0;
    height: 58px;
    justify-content: center;
    min-height: 58px;
    padding: 0;
    width: 58px;
  }

  .support-toggle span {
    height: 42px;
    width: 42px;
  }

  .support-panel {
    bottom: 64px;
    right: 0;
  }

  .announcement-filters,
  .announcement-archive-pager {
    grid-template-columns: 1fr;
  }

  .announcement-archive-pager {
    align-items: stretch;
    flex-direction: column;
  }

  .archive-pager-buttons {
    flex-wrap: wrap;
  }

  .site-toast {
    bottom: 84px;
  }
}
#user-area {
  align-items: center;
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
  position: relative;
}

.user-name {
  color: #333;
  font-weight: 700;
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.header-action,
.logout-btn {
  align-items: center;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  font-size: 15px;
  font-weight: 800;
  justify-content: center;
  line-height: 1;
  min-height: 44px;
  padding: 0 16px;
  text-decoration: none;
  transition: 0.2s;
  white-space: nowrap;
}

.header-action.primary,
.logout-btn {
  background: #ff5722;
  color: white;
}

.header-action.secondary {
  background: #fff1eb;
  color: #ff5722;
}

.header-action:hover,
.logout-btn:hover {
  transform: translateY(-1px);
}

.account-menu {
  position: relative;
}

.account-toggle {
  align-items: center;
  background: #fff1eb;
  border: 1px solid #ffd8ca;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  height: 46px;
  justify-content: center;
  padding: 0;
  transition: 0.2s ease;
  width: 46px;
}

.account-toggle:hover,
.account-menu.open .account-toggle {
  background: #ff5722;
  border-color: #ff5722;
  box-shadow: 0 12px 24px rgba(255, 87, 34, 0.18);
  transform: translateY(-1px);
}

.account-avatar {
  align-items: center;
  background: #fff;
  border-radius: 50%;
  color: #ff5722;
  display: inline-flex;
  font-size: 18px;
  font-weight: 800;
  height: 34px;
  justify-content: center;
  text-transform: uppercase;
  width: 34px;
}

.account-menu.open .account-avatar {
  color: #ff5722;
}

.account-dropdown {
  background: #fff;
  border: 1px solid #f0dfd5;
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(35, 20, 12, 0.16);
  min-width: 220px;
  opacity: 0;
  padding: 8px;
  pointer-events: none;
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  transform: translateY(8px);
  transition: 0.18s ease;
  z-index: 180;
}

.account-menu.open .account-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.account-summary {
  border-bottom: 1px solid #f3e6de;
  margin-bottom: 6px;
  padding: 8px 10px 10px;
}

.account-summary strong,
.account-summary small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-summary strong {
  color: #222;
  font-size: 15px;
}

.account-summary small {
  color: #7a6b64;
  font-size: 13px;
  margin-top: 3px;
}

.account-menu-link {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 6px;
  color: #333;
  cursor: pointer;
  display: flex;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  min-height: 40px;
  padding: 0 10px;
  text-align: left;
  text-decoration: none;
  width: 100%;
}

.account-menu-link:hover {
  background: #fff1eb;
  color: #ff5722;
}

.account-menu-link.danger {
  color: #d7332b;
}

@media (max-width: 560px) {
  header #user-area {
    align-items: center;
    background: transparent;
    border: 0;
    bottom: auto;
    display: flex;
    flex-direction: row;
    gap: 0;
    left: auto;
    max-width: none;
    padding: 0;
    position: relative;
    transform: none;
    transition: none;
    width: auto;
    z-index: 140;
  }

  header.mobile-menu-open #user-area {
    transform: none;
  }

  header .user-name {
    max-width: 100%;
    text-align: center;
  }

  .account-toggle {
    height: 40px;
    width: 40px;
  }

  .account-avatar {
    font-size: 16px;
    height: 30px;
    width: 30px;
  }

  .account-dropdown {
    min-width: 210px;
    right: -46px;
  }
}
