@font-face {
  font-family: "IBM Plex Sans Arabic";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-sans-arabic-400-ar.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}

@font-face {
  font-family: "IBM Plex Sans Arabic";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-sans-arabic-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "IBM Plex Sans Arabic";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-sans-arabic-500-ar.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}

@font-face {
  font-family: "IBM Plex Sans Arabic";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-sans-arabic-500-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "IBM Plex Sans Arabic";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-sans-arabic-600-ar.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}

@font-face {
  font-family: "IBM Plex Sans Arabic";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-sans-arabic-600-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "IBM Plex Sans Arabic";
  font-style: normal;
  font-weight: 700 900;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-sans-arabic-700-ar.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}

@font-face {
  font-family: "IBM Plex Sans Arabic";
  font-style: normal;
  font-weight: 700 900;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-sans-arabic-700-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --brand-primary: #111827;
  --brand-secondary: #1f2937;
  --brand-accent: #059669;
  --brand-accent-solid: #047857;
  --brand-accent-text-light: #047857;
  --brand-accent-text-dark: #34d399;
  --brand-soft-bg: #ecfdf5;
  --bg-page: #f9fafb;
  --bg-card: #ffffff;
  --bg-subtle: #f3f4f6;
  --account-box-bg: #f8fafc;
  --soft-surface: var(--brand-soft-bg);
  --heading-color: var(--brand-primary);
  --text-main: #111827;
  --text-muted: #4b5563;
  --border-color: #e5e7eb;
  --shadow-sm: 0 4px 14px rgba(17, 24, 39, 0.06);
  --shadow-md: 0 12px 28px rgba(17, 24, 39, 0.12);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 14px;
  --radius-sm: 11px;
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html,
body {
  margin: 0;
  padding: 0;
  max-width: 100%;
  overflow-x: clip;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: "IBM Plex Sans Arabic", -apple-system, BlinkMacSystemFont, "Segoe UI", Tahoma, sans-serif;
  background: radial-gradient(circle at top left, var(--brand-soft-bg), var(--bg-page) 48%);
  color: var(--text-main);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font-family: inherit;
}

button {
  font: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid #f2c451;
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  inset-block-start: -120px;
  inset-inline-start: 16px;
  z-index: 1200;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--brand-primary);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.9rem;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  transition: inset-block-start 0.16s ease;
}

.skip-link:focus-visible {
  inset-block-start: 14px;
}

[hidden] {
  display: none !important;
}

.sr-only-copy-helper {
  position: fixed;
  top: -9999px;
  inset-inline-start: -9999px;
  opacity: 0;
}

.demo-banner {
  margin: 0;
  padding: 9px 16px;
  background: #111827;
  color: #f9fafb;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
}

.wrap {
  width: min(100%, 540px);
  margin: 0 auto;
  padding: 20px 18px 40px;
}

.topbar-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.topbar-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.back-chip,
.portal-lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--heading-color);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease, transform 0.18s ease;
}

.hero {
  background: var(--bg-card);
  color: var(--heading-color);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 28px 20px 24px;
  text-align: center;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--brand-primary) 0%, var(--brand-accent) 55%, var(--brand-secondary) 100%);
}

.logo-wrap {
  width: 100px;
  height: 100px;
  margin: 4px auto 14px;
  border-radius: 50%;
  background: #ffffff;
  border: 2.5px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.12);
  overflow: hidden;
  transition: transform 0.25s ease;
}

.logo-wrap:hover {
  transform: scale(1.03);
}

.logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.logo-initials {
  font-size: 1.9rem;
  font-weight: 900;
  color: var(--brand-primary);
  letter-spacing: 1px;
}

.hero h1 {
  margin: 0 0 3px;
  font-size: 1.46rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--heading-color);
}

.brand-en {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--brand-accent-text-light);
  opacity: 1;
  margin-bottom: 6px;
}

.subtitle {
  margin: 0 auto 12px;
  font-size: 0.92rem;
  color: var(--text-muted);
  opacity: 1;
  max-width: 36ch;
}

.badge-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 13px;
  border-radius: 999px;
  background: #ecfdf5;
  color: #047857;
  border: 1px solid rgba(5, 150, 105, 0.24);
  font-size: 0.82rem;
  font-weight: 700;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  animation: pulse 1.8s infinite;
  flex-shrink: 0;
}

.badge-status.closed {
  background: #fef3c7;
  color: #92400e;
  border-color: rgba(217, 119, 6, 0.28);
}

.badge-status.closed .pulse-dot {
  background: #f59e0b;
  box-shadow: none;
  animation: none;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(34, 197, 94, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

.cta-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 64px;
  background: linear-gradient(135deg, #16a34a, #15803d);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 14px 16px;
  box-shadow: var(--shadow-md);
  margin-bottom: 16px;
  transition: transform 0.18s ease;
}

.cta-banner:active {
  transform: scale(0.98);
}

.cta-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.18);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.cta-text {
  flex: 1;
  min-width: 0;
}

.cta-title {
  display: block;
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 2px;
}

.cta-text p {
  margin: 0;
  font-size: 0.84rem;
  opacity: 0.92;
}

.contact-cta-banner {
  background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-secondary) 100%);
  border: 1.5px solid rgba(15, 23, 42, 0.08);
  margin: 12px 0;
  padding: 15px 16px;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.16);
}

.contact-cta-banner:hover {
  transform: translateY(-2px);
}

.cta-arrow-pill {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #22c55e;
  color: #ffffff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.38);
}

html[dir="ltr"] .cta-arrow-pill svg {
  transform: scaleX(-1);
}

/* Golden Google Review Banner */
.review-banner {
  background: linear-gradient(135deg, #fffdf7 0%, #fef3c7 100%);
  border: 2px solid #eab308;
  border-radius: var(--radius-lg);
  padding: 14px 15px;
  margin: 12px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--text-main);
  box-shadow: 0 10px 24px rgba(234, 179, 8, 0.16);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.review-banner:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(234, 179, 8, 0.24);
}

.review-banner:active {
  transform: scale(0.98);
}

.review-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #111827;
  color: #facc15;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.review-text {
  flex: 1;
  min-width: 0;
}

.review-stars {
  display: block;
  color: #b45309;
  font-size: 0.85rem;
  letter-spacing: 2px;
  line-height: 1.1;
  margin-bottom: 2px;
}

.review-title {
  display: block;
  font-size: 0.96rem;
  font-weight: 800;
  color: #111827;
}

.review-text p {
  margin: 2px 0 0;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
}

.review-cta {
  background: #111827;
  color: #ffffff;
  border-radius: 999px;
  padding: 8px 12px;
  min-height: 44px;
  font-size: 0.78rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
  white-space: nowrap;
}

.section-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 16px 0 10px;
}

.section-title {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--heading-color);
  white-space: nowrap;
}

.section-line {
  height: 2px;
  flex: 1;
  background: linear-gradient(to left, var(--border-color), transparent);
}

html[dir="ltr"] .section-line {
  background: linear-gradient(to right, var(--border-color), transparent);
}

.portal-card {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: start;
  background: var(--bg-card);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 15px 16px;
  margin-bottom: 11px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.18s ease;
}

.portal-card::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: var(--brand-accent);
  transition: width 0.2s ease;
}

.portal-card.payment-portal::before {
  background: #16a34a;
}

.portal-card:hover {
  border-color: var(--brand-accent);
  transform: translateY(-2px);
}

.portal-card:hover::before {
  width: 8px;
}

.portal-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--soft-surface);
  color: var(--heading-color);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.portal-card.payment-portal .portal-icon {
  background: #ecfdf5;
  color: #047857;
}

.portal-text {
  flex: 1;
  min-width: 0;
}

.portal-text h3 {
  margin: 0 0 2px;
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--text-main);
}

.portal-text p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.portal-arrow {
  color: var(--text-muted);
  flex-shrink: 0;
}

html[dir="ltr"] .portal-arrow,
html[dir="ltr"] .flip-chevron {
  transform: scaleX(-1);
}

.quick-bar {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 10px;
}

.quick-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 48px;
  background: var(--bg-card);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 12px 8px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-main);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform 0.18s ease, border-color 0.2s ease;
}

.quick-btn:hover {
  transform: translateY(-2px);
  border-color: var(--brand-accent);
}

.quick-btn svg {
  width: 22px;
  height: 22px;
}

/* Structured Call & WhatsApp Department Cards */
.call-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 14px 12px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
}

.call-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.call-main-icon {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.call-card-titles h3 {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--heading-color);
}

.call-card-titles span {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
}

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

.call-branches.cols-1 {
  grid-template-columns: 1fr;
}

.call-branches.cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.call-branches.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.call-branch {
  background: var(--bg-subtle);
  border: 1.5px solid var(--border-color);
  border-radius: 13px;
  padding: 10px 6px 9px;
  min-height: 48px;
  min-width: 0;
  overflow: hidden;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: transform 0.18s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.call-branch:hover {
  background: var(--soft-surface);
  border-color: var(--brand-accent);
  transform: translateY(-2px);
}

.call-branch:active {
  transform: scale(0.97);
}

.branch-role {
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--heading-color);
  line-height: 1.2;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.branch-number {
  display: block;
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--brand-accent-text-light);
  direction: ltr;
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.branch-number.is-link-label {
  font-family: inherit;
  font-weight: 700;
  direction: inherit;
}

.branch-call-badge,
.branch-wa-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border-radius: 999px;
  padding: 2px 9px;
  font-size: 0.68rem;
  font-weight: 700;
  margin-top: 2px;
}

.branch-call-badge {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid rgba(180, 83, 9, 0.3);
}

.branch-wa-badge {
  background: #eafaf1;
  color: #146c36;
  border: 1px solid rgba(20, 108, 54, 0.3);
}

/* 2-Column Interactive Tiles Grid */
.tiles-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.tile {
  background: var(--bg-card);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 15px 12px;
  min-height: 92px;
  box-shadow: var(--shadow-sm);
  color: var(--text-main);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.tile:hover {
  border-color: var(--brand-accent);
  transform: translateY(-2px);
}

.tile:active {
  transform: scale(0.97);
}

.tile.tile-span-full {
  grid-column: 1 / -1;
}

.tile-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.tile b {
  display: block;
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--heading-color);
}

.tile span {
  display: block;
  color: var(--text-muted);
  font-size: 0.76rem;
  margin-top: 2px;
  font-weight: 600;
}

.tile .tile-badge {
  display: inline-block;
  background: #eafaf1;
  color: #146c36;
  border: 1px solid rgba(20, 108, 54, 0.3);
  border-radius: 999px;
  padding: 2px 10px;
  font-size: 0.72rem;
  font-weight: 700;
  margin-top: 4px;
}

.bg-wa { background: #eafaf1; color: #16a34a; }
.bg-phone { background: #fef3c7; color: #b45309; }
.bg-fb { background: #ebf3ff; color: #1877f2; }
.bg-ig { background: #fdf0f5; color: #e1306c; }
.bg-tiktok { background: #f1f5f9; color: #0f172a; }
.bg-maps { background: #fef2f2; color: #dc2626; }
.bg-vcard { background: #eef2ff; color: #1e3a8a; }

/* Address Card */
.card-address {
  background: var(--bg-card);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 14px;
  margin: 10px 0 8px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.address-icon {
  width: 46px;
  height: 46px;
  background: #fef2f2;
  color: #dc2626;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.address-info {
  flex: 1;
  min-width: 0;
}

.address-info h2 {
  margin: 0;
  font-size: 0.96rem;
  font-weight: 800;
  color: var(--heading-color);
}

.address-info .value {
  color: var(--text-muted);
  font-size: 0.86rem;
  margin: 4px 0 0;
}

.btn-directions {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 10px;
  background: #fef3c7;
  color: #92400e;
  border: 1px solid rgba(180, 83, 9, 0.3);
  padding: 8px 16px;
  min-height: 40px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  transition: transform 0.18s ease, background-color 0.2s ease;
}

.btn-directions:hover {
  transform: translateY(-1px);
  background: #fde68a;
}

.btn-directions svg {
  flex-shrink: 0;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 46px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: none;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
  color: #ffffff;
  font-weight: 800;
  font-size: 0.94rem;
}

/* Payment Cards & Optical Scaling & Cross-Platform Fallback */
.payment-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 16px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
}

.payment-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.payment-logo-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
  flex-shrink: 0;
  overflow: hidden;
}

.payment-logo-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.payment-logo-box.logo-vodafone img {
  transform: scale(1.24);
}

.payment-logo-box.logo-bank img {
  transform: scale(1.08);
}

.payment-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-main);
}

.payment-note {
  margin: 2px 0 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.payment-account-box {
  background: var(--account-box-bg);
  border: 1.5px dashed var(--border-color);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  margin-bottom: 10px;
  cursor: pointer;
  user-select: none;
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.16s ease;
}

.payment-account-box:hover {
  border-color: var(--brand-accent);
}

.payment-account-box:active {
  transform: scale(0.99);
}

.payment-account-box.copied {
  border-color: #16a34a;
  background: #ecfdf5;
}

.payment-account-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 3px;
}

.payment-holder {
  display: block;
  font-size: 0.8rem;
  color: var(--brand-accent-text-light);
  font-weight: 700;
}

.ipa-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #eef2ff;
  color: #3730a3;
  border: 1px solid rgba(79, 70, 229, 0.28);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.2px;
  white-space: nowrap;
  flex-shrink: 0;
}

.payment-account-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.payment-number {
  display: block;
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: 1.12rem;
  font-weight: 900;
  letter-spacing: 0.6px;
  direction: ltr;
  text-align: start;
  color: var(--heading-color);
  min-width: 0;
  overflow-wrap: anywhere;
}

.payment-copy-hint {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  white-space: nowrap;
  flex-shrink: 0;
}

.payment-ipa-pill {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 12px;
  margin-bottom: 10px;
  border-radius: var(--radius-sm);
  background: #eef2ff;
  border: 1px solid rgba(79, 70, 229, 0.25);
  color: #312e81;
  font-size: 0.8rem;
  font-weight: 800;
  transition: transform 0.16s ease, border-color 0.2s ease;
}

.payment-ipa-pill:hover {
  border-color: #4f46e5;
}

.payment-ipa-pill:active {
  transform: scale(0.98);
}

.ipa-pill-tag {
  background: #4f46e5;
  color: #ffffff;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
}

.ipa-pill-val {
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: 0.82rem;
}

.payment-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.payment-actions.single-col {
  grid-template-columns: 1fr;
}

.copy-btn,
.open-app-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.86rem;
  font-weight: 800;
  border: none;
  transition: transform 0.16s ease, background-color 0.2s ease;
}

.copy-btn:active,
.open-app-btn:active {
  transform: scale(0.97);
}

.copy-btn {
  background: var(--brand-primary);
  color: #ffffff;
}

.copy-btn.copied {
  background: #15803d;
}

.open-app-btn {
  background: var(--soft-surface);
  color: var(--heading-color);
  border: 1px solid var(--border-color);
}

.payment-fallback {
  margin-top: 12px;
  padding: 12px;
  background: #fef9c3;
  border: 1px solid rgba(180, 83, 9, 0.35);
  border-radius: var(--radius-sm);
  color: #111827;
}

.payment-fallback-text {
  margin: 0 0 10px;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.5;
}

.payment-fallback-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.btn-fallback-store {
  flex: 1 1 140px;
  min-height: 44px;
  padding: 9px 12px;
  border-radius: 10px;
  background: #111827;
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.notice-box {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: var(--radius-md);
  padding: 14px;
  margin-top: 14px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: #78350f;
}

.notice-box svg {
  color: #b45309;
  flex-shrink: 0;
  margin-top: 2px;
}

.notice-box p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.55;
  font-weight: 600;
}

.wifi-modal-box {
  background: var(--soft-surface);
  border: 1.5px solid var(--brand-accent);
  border-radius: var(--radius-lg);
  padding: 15px;
  margin-top: 12px;
}

.wifi-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  margin-top: 8px;
  border: 1px solid var(--border-color);
}

.wifi-val {
  font-weight: 800;
  direction: ltr;
}

.wifi-copy-btn {
  margin-top: 10px;
}

.portal-footer {
  text-align: center;
  margin-top: 22px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.portal-footer a {
  font-weight: 700;
  color: var(--heading-color);
  text-decoration: underline;
}

.toast {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%) translateY(90px);
  background: #111827;
  color: #f9fafb;
  padding: 11px 18px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.24);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 999;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Compact Horizontal Mobile Hero for Contact & Payment Pages */
@media (max-width: 520px) {
  .wrap {
    padding: 12px 12px 30px;
  }

  body[data-page="contact"] .hero,
  body[data-page="payment"] .hero {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    grid-template-areas:
      "logo title"
      "logo en"
      "logo subtitle"
      "logo badge";
    column-gap: 12px;
    row-gap: 1px;
    align-items: center;
    padding: 14px 14px 12px;
    margin-bottom: 10px;
    border-radius: 20px;
    text-align: start;
  }

  body[data-page="contact"] .hero .logo-wrap,
  body[data-page="payment"] .hero .logo-wrap {
    grid-area: logo;
    width: 72px;
    height: 72px;
    margin: 0;
    padding: 3px;
  }

  body[data-page="contact"] .hero h1,
  body[data-page="payment"] .hero h1 {
    grid-area: title;
    font-size: 1rem;
    margin: 0;
  }

  body[data-page="contact"] .hero .brand-en,
  body[data-page="payment"] .hero .brand-en {
    grid-area: en;
    font-size: 0.72rem;
    margin: 0;
  }

  body[data-page="contact"] .hero .subtitle,
  body[data-page="payment"] .hero .subtitle {
    grid-area: subtitle;
    margin: 0;
    font-size: 0.74rem;
    max-width: none;
  }

  body[data-page="contact"] .hero .badge-status,
  body[data-page="payment"] .hero .badge-status {
    grid-area: badge;
    justify-self: start;
    margin-top: 4px;
    padding: 2px 9px;
    font-size: 0.68rem;
  }

  .call-branches.cols-3 {
    gap: 6px;
  }

  .branch-number {
    font-size: 0.7rem;
  }
}

/* Ultra-Small Viewports (< 360px) */
@media (max-width: 359px) {
  .wrap {
    padding: 10px 10px 28px;
  }

  .tiles-grid {
    gap: 8px;
  }

  .tile {
    padding: 12px 6px;
  }

  .review-cta span {
    display: none;
  }

  .review-cta {
    width: 38px;
    min-height: 38px;
    padding: 0;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .pulse-dot {
    animation: none;
    box-shadow: none;
  }

  .logo-wrap,
  .back-chip,
  .portal-lang-btn,
  .cta-banner,
  .wa-topic-chip,
  .review-banner,
  .portal-card,
  .portal-card::before,
  .quick-btn,
  .call-branch,
  .tile,
  .payment-account-box,
  .payment-ipa-pill,
  .copy-btn,
  .open-app-btn {
    transition: none;
  }

  .logo-wrap:hover,
  .wa-topic-chip:hover,
  .wa-topic-chip:active,
  .review-banner:hover,
  .review-banner:active,
  .portal-card:hover,
  .quick-btn:hover,
  .call-branch:hover,
  .call-branch:active,
  .tile:hover,
  .tile:active,
  .payment-account-box:active,
  .payment-ipa-pill:active,
  .cta-banner:active,
  .copy-btn:active,
  .open-app-btn:active {
    transform: none;
  }

  .toast,
  .toast.show {
    transition: none;
    transform: translateX(-50%);
  }
}

/* ===== Quick WhatsApp Topics ===== */
.wa-topics-wrap {
  margin: -4px 0 16px;
}

.wa-topics-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.call-card .wa-topics-wrap {
  margin: 12px 0 0;
  padding-top: 10px;
  border-top: 1px dashed var(--border-color);
}

.wa-topics-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.wa-topic-chip {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 6px 13px;
  border-radius: 999px;
  background: #eafaf1;
  color: #146c36;
  border: 1px solid rgba(20, 108, 54, 0.28);
  font-size: 0.8rem;
  font-weight: 800;
  transition: transform 0.16s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.wa-topic-chip:hover {
  border-color: #16a34a;
  background: #dcfce7;
  transform: translateY(-1px);
}

.wa-topic-chip:active {
  transform: scale(0.97);
}

/* ===== Demo Menu Page (/c/menu) ===== */
.menu-demo-note {
  margin: 0 0 14px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: var(--soft-surface);
  color: var(--heading-color);
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.5;
}

.menu-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 18px;
}

.menu-cat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: var(--shadow-sm);
  content-visibility: auto;
  contain-intrinsic-size: auto 180px;
}

.menu-cat-title {
  margin: 0 0 10px;
  font-size: 0.96rem;
  font-weight: 800;
  color: var(--heading-color);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-color);
}

.menu-item-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px dashed var(--border-color);
}

.menu-item-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.menu-item-name {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-main);
}

.menu-item-badge {
  display: inline-block;
  padding: 1px 8px;
  border-radius: 999px;
  background: rgba(5, 150, 105, 0.14);
  background: color-mix(in srgb, var(--brand-accent) 14%, transparent);
  color: var(--brand-accent-text-light);
  font-size: 0.68rem;
  font-weight: 800;
}

.menu-item-desc {
  margin: 2px 0 0;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.menu-item-price {
  flex-shrink: 0;
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--brand-accent-text-light);
  white-space: nowrap;
}

.menu-empty-note {
  margin: 0;
  padding: 18px 14px;
  text-align: center;
  background: var(--bg-card);
  border: 1px dashed var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-muted);
  font-size: 0.86rem;
  font-weight: 700;
}

/* ===== Automatic Dark Mode ===== */
@media (prefers-color-scheme: dark) {
  :root {
    --bg-page: #0f172a;
    --bg-card: #1e293b;
    --bg-subtle: #263346;
    --account-box-bg: #1e293b;
    --soft-surface: rgba(255, 255, 255, 0.08);
    --heading-color: #f8fafc;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --border-color: #334155;
    --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.28);
    --shadow-md: 0 12px 28px rgba(0, 0, 0, 0.42);
  }

  body {
    background: var(--bg-page);
    background: radial-gradient(circle at top left, color-mix(in srgb, var(--brand-primary) 26%, var(--bg-page)), var(--bg-page) 52%);
  }

  .hero {
    background: linear-gradient(155deg, color-mix(in srgb, var(--brand-primary) 88%, #0f172a), color-mix(in srgb, var(--brand-secondary) 82%, #1e293b));
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-md);
  }

  .hero .logo-wrap {
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.32);
  }

  .hero h1 {
    color: #ffffff;
  }

  .hero .brand-en {
    color: var(--brand-accent-text-dark);
  }

  .hero .subtitle {
    color: rgba(248, 250, 252, 0.86);
  }

  .hero .badge-status {
    background: rgba(16, 185, 129, 0.16);
    color: #6ee7b7;
    border-color: rgba(52, 211, 153, 0.3);
  }

  .hero .badge-status.closed {
    background: rgba(245, 158, 11, 0.16);
    color: #fcd34d;
    border-color: rgba(251, 191, 36, 0.3);
  }

  .contact-cta-banner {
    border-color: rgba(255, 255, 255, 0.14);
  }

  .payment-account-box.copied {
    background: rgba(22, 163, 74, 0.16);
    border-color: #22c55e;
  }

  .ipa-badge {
    background: rgba(99, 102, 241, 0.22);
    color: #c7d2fe;
    border-color: rgba(129, 140, 248, 0.35);
  }

  .payment-ipa-pill {
    background: rgba(99, 102, 241, 0.18);
    color: #e0e7ff;
    border-color: rgba(129, 140, 248, 0.35);
  }

  .review-banner {
    background: linear-gradient(135deg, #241f12 0%, #332910 100%);
    border-color: #ca8a04;
    color: #fef9c3;
  }

  .review-title {
    color: #fef3c7;
  }

  .review-stars {
    color: #facc15;
  }

  .review-cta {
    background: #eab308;
    color: #111827;
  }

  .notice-box {
    background: #231d12;
    border-color: #6b4e16;
    color: #fde68a;
  }

  .notice-box svg {
    color: #fbbf24;
  }

  .payment-fallback {
    background: #241e12;
    border-color: #78591c;
    color: #fef3c7;
  }

  .btn-fallback-store {
    background: #1e293b;
    color: #f8fafc;
    border: 1px solid var(--border-color);
  }

  .branch-call-badge,
  .btn-directions {
    background: rgba(245, 158, 11, 0.16);
    color: #fcd34d;
    border-color: rgba(245, 158, 11, 0.35);
  }

  .branch-wa-badge,
  .tile .tile-badge,
  .wa-topic-chip {
    background: rgba(34, 197, 94, 0.16);
    color: #86efac;
    border-color: rgba(34, 197, 94, 0.34);
  }

  .wa-topic-chip:hover {
    background: rgba(34, 197, 94, 0.24);
  }

  .bg-wa { background: rgba(34, 197, 94, 0.16); color: #4ade80; }
  .bg-phone { background: rgba(245, 158, 11, 0.16); color: #fbbf24; }
  .bg-fb { background: rgba(59, 130, 246, 0.18); color: #60a5fa; }
  .bg-ig { background: rgba(236, 72, 153, 0.18); color: #f472b6; }
  .bg-tiktok { background: rgba(148, 163, 184, 0.18); color: #e2e8f0; }
  .bg-maps { background: rgba(239, 68, 68, 0.18); color: #f87171; }
  .bg-vcard { background: rgba(99, 102, 241, 0.18); color: #a5b4fc; }

  .address-icon {
    background: rgba(239, 68, 68, 0.16);
    color: #f87171;
  }

  .branch-number,
  .payment-holder,
  .menu-item-badge,
  .menu-item-price {
    color: var(--brand-accent-text-dark);
  }

  .portal-card.payment-portal .portal-icon {
    background: rgba(16, 185, 129, 0.16);
    color: #34d399;
  }

  .copy-btn {
    background: var(--brand-accent-solid);
    color: #ffffff;
  }

  .toast {
    background: #1e293b;
    color: #f8fafc;
    border: 1px solid var(--border-color);
  }
}

/* ===== Unavailable Menu Item + Client Menu Editor (/c/menu-edit) ===== */
.menu-item-row.unavailable {
  opacity: 0.56;
}

.menu-item-row.unavailable .menu-item-name {
  text-decoration: line-through;
}

.menu-item-soldout {
  display: inline-block;
  padding: 1px 8px;
  border-radius: 999px;
  background: #fee2e2;
  color: #b91c1c;
  font-size: 0.68rem;
  font-weight: 800;
  text-decoration: none;
}

.me-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 14px;
}

.me-pin-form {
  display: grid;
  gap: 10px;
}

.me-field {
  display: grid;
  gap: 4px;
}

.me-field label {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--heading-color);
}

.me-input {
  width: 100%;
  min-height: 42px;
  padding: 8px 11px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-color);
  background: var(--bg-subtle);
  color: var(--text-main);
  font-size: 0.88rem;
}

.me-auth-msg {
  margin: 8px 0 0;
  font-size: 0.82rem;
  font-weight: 700;
  color: #b91c1c;
}

.me-status {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: var(--soft-surface);
  color: var(--heading-color);
  font-size: 0.82rem;
  font-weight: 700;
}

.me-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.me-btn-sec,
.me-btn-danger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 7px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
}

.me-btn-sec {
  background: var(--bg-card);
  color: var(--heading-color);
  border: 1.5px solid var(--border-color);
}

.me-btn-danger {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.me-sections-list {
  display: grid;
  gap: 14px;
  margin-bottom: 14px;
}

.me-section-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 14px;
  box-shadow: var(--shadow-sm);
}

.me-row-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.me-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 8px;
}

.me-items-list {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.me-item-card {
  padding: 10px;
  border-radius: var(--radius-md);
  background: var(--bg-subtle);
  border: 1px dashed var(--border-color);
}

.me-item-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.me-toggle-avail {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--heading-color);
  cursor: pointer;
}

@media (prefers-color-scheme: dark) {
  .menu-item-soldout,
  .me-btn-danger {
    background: rgba(239, 68, 68, 0.18);
    color: #fca5a5;
    border-color: rgba(239, 68, 68, 0.35);
  }

  .me-auth-msg {
    color: #fca5a5;
  }
}
