/*
Theme Name:  emenucomvn-theme
Theme URI:   https://dev.com.vn
Description: Theme cho eMenu.com.vn – Tìm quán, xem menu, đặt bàn
Version:     1.0.7
Author:      dev.com.vn
Author URI:  https://dev.com.vn
Text Domain: emenucomvn-theme
Tags:        restaurant, food, menu, directory
*/

/* Inter font */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --em-primary:      #e8420a;
  --em-primary-dark: #c23508;
  --em-accent:       #ff9500;
  --em-green:        #27ae60;
  --em-bg:           #fff8f4;
  --em-card-bg:      #ffffff;
  --em-text:         #1a1a1a;
  --em-muted:        #777;
  --em-border:       #f0e4da;
  --em-radius:       16px;
  --em-shadow:       0 4px 24px rgba(232,66,10,0.09);
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--em-bg);
  color: var(--em-text);
  font-size: 16px;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; }
a   { color: var(--em-primary); }

/* ── Header ── */
.em-header {
  background: #fff;
  border-bottom: 2px solid var(--em-border);
  position: sticky; top: 0; z-index: 100;
  padding: 0 32px;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.em-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: 0 0 auto; }
.em-logo__image { display: block; width: auto; max-width: 190px; height: 42px; object-fit: contain; }
.em-logo-text { font-size: 21px; font-weight: 600; color: var(--em-primary); letter-spacing: -0.5px; white-space: nowrap; }
.em-nav { display: flex; gap: 28px; list-style: none; }
.em-nav a { text-decoration: none; color: var(--em-muted); font-weight: 600; font-size: 14px; transition: color .2s; }
.em-nav a:hover, .em-nav .current-menu-item a { color: var(--em-primary); }
.em-header-cta {
  background: var(--em-primary); color: #fff; border: none;
  padding: 9px 22px; border-radius: 50px; font-weight: 600; font-size: 14px;
  cursor: pointer; transition: background .2s; font-family: 'Inter', sans-serif;
  text-decoration: none; display: inline-block;
}
.em-header-cta:hover { background: var(--em-primary-dark); color: #fff; }

.em-header-hamburger { display: none; background: none; border: none; font-size: 24px; cursor: pointer; padding: 8px; }
@media (max-width: 768px) {
  .em-header { padding: 0 16px; }
  .em-logo__image { max-width: 150px; height: 36px; }
  .em-nav, .em-header-cta { display: none; }
  .em-header-hamburger { display: block; }
}

/* ── Hero ── */
.em-hero {
  background-image:
    linear-gradient(90deg, rgba(24,18,12,0.72) 0%, rgba(24,18,12,0.55) 36%, rgba(24,18,12,0.38) 58%, rgba(24,18,12,0.28) 100%),
    linear-gradient(135deg, rgba(232,66,10,0.25) 0%, rgba(255,149,0,0.18) 100%),
    url("assets/images/home-hero-banner.webp");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  padding: 74px 32px;
  position: relative;
  overflow: hidden;
}
.em-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.03) 0%, rgba(0,0,0,0.08) 100%);
  pointer-events: none;
}
.em-hero__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr);
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.em-hero__content { text-align: left; }
.em-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.28);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}
.em-hero__title {
  max-width: 640px;
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 600;
  color: #fff;
  line-height: 1.08;
  letter-spacing: -1.2px;
  margin-bottom: 16px;
}
.em-hero__sub {
  max-width: 540px;
  font-size: 18px;
  color: rgba(255,255,255,0.9);
  margin-bottom: 0;
  font-weight: 500;
}
.em-hero__panel {
  background: rgba(255,255,255,0.95);
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: 28px;
  padding: 24px;
  box-shadow: 0 20px 60px rgba(93,31,0,0.18);
  backdrop-filter: blur(10px);
}
.em-hero .em-search-form { position: relative; z-index: 1; }
.em-hero .em-search-wrapper {
  max-width: none;
  margin: 0;
  box-shadow: 0 10px 34px rgba(232,66,10,0.14);
  border: 1px solid var(--em-border);
}
.em-hero__chips {
  display: flex;
  gap: 10px;
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-top: 18px;
  position: relative;
  z-index: 1;
}
.em-quick-chip {
  background: #fff;
  border: 1.5px solid #ffd5c0;
  color: var(--em-primary);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  line-height: 1.2;
}
.em-quick-chip:hover, .em-quick-chip.active {
  background: var(--em-primary);
  color: #fff;
  border-color: var(--em-primary);
}
@media (max-width: 900px) {
  .em-hero { padding: 56px 18px; }
  .em-hero__inner { grid-template-columns: 1fr; gap: 28px; }
  .em-hero__content { text-align: center; }
  .em-hero__title, .em-hero__sub { margin-left: auto; margin-right: auto; }
  .em-hero__chips { justify-content: center; }
}

/* ── Container ── */
.em-container { max-width: 1200px; margin: 0 auto; padding: 52px 32px; }
@media (max-width: 768px) { .em-container { padding: 32px 16px; } }

.em-section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.em-section-h2     { font-size: 24px; font-weight: 600; }
.em-section-h2 span { color: var(--em-primary); }
.em-see-all { color: var(--em-primary); font-weight: 600; font-size: 14px; text-decoration: none; }
.em-see-all:hover { text-decoration: underline; }

/* ── Footer ── */
.em-footer { background: #1a1a1a; color: #ccc; padding: 48px 32px 24px; }
.em-footer-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px;
}
@media (max-width: 900px) { .em-footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px)  { .em-footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; } }

.em-footer__brand { display: inline-flex; align-items: center; text-decoration: none; margin-bottom: 10px; }
.em-footer__logo-image { display: block; width: auto; max-width: 210px; height: 46px; object-fit: contain; }
.em-footer__logo-text { font-size: 22px; font-weight: 600; color: var(--em-primary); }
.em-footer__desc { font-size: 14px; line-height: 1.65; margin-bottom: 16px; color: #999; }
.em-footer__socials { display: flex; gap: 10px; }
.em-footer__social { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.08); color: #ccc; text-decoration: none; font-size: 16px; transition: background .2s; }
.em-footer__social:hover { background: var(--em-primary); color: #fff; }
.em-footer-col h4 { font-size: 14px; font-weight: 600; color: #fff; margin-bottom: 14px; text-transform: uppercase; letter-spacing: .5px; }
.em-footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.em-footer-col li a { color: #999; text-decoration: none; font-size: 14px; transition: color .2s; }
.em-footer-col li a:hover { color: var(--em-accent); }
.em-footer-bottom { max-width: 1200px; margin: 0 auto; border-top: 1px solid rgba(255,255,255,0.08); padding-top: 20px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 13px; color: #666; }

/* ── Content (pages / posts) ── */
.em-content-wrap { max-width: 900px; margin: 0 auto; }
.em-content { background: #fff; border-radius: var(--em-radius); padding: 36px 40px; box-shadow: var(--em-shadow); }
@media (max-width: 600px) { .em-content { padding: 24px 18px; } }
.em-content h1,.em-content h2,.em-content h3 { color: var(--em-text); margin-bottom: 12px; font-weight: 600; }
.em-content p  { margin-bottom: 16px; line-height: 1.75; }
.em-content ul,.em-content ol { padding-left: 24px; margin-bottom: 16px; }
.em-content li { margin-bottom: 6px; }

/* ── Pagination ── */
.em-pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; flex-wrap: wrap; }
.em-pagination a, .em-pagination span {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 10px; border: 1.5px solid var(--em-border);
  font-weight: 600; font-size: 14px; text-decoration: none; color: var(--em-text); transition: all .2s;
}
.em-pagination .current, .em-pagination a:hover { background: var(--em-primary); color: #fff; border-color: var(--em-primary); }

/* ── Section alt background ── */
.em-section-alt {
  background: #fff;
  border-top: 2px solid var(--em-border);
  border-bottom: 2px solid var(--em-border);
}
.em-section-alt .em-container { padding-top: 44px; padding-bottom: 44px; }


/* ── Update v1.0.4: compact hero + inline SVG section icons ── */
.em-hero__title {
  font-size: clamp(24px, 3.5vw, 41px);
  line-height: 1.12;
  letter-spacing: -0.7px;
}
.em-section-h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.em-section-icon {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff0ea;
  color: var(--em-primary);
  flex: 0 0 34px;
}
.em-section-icon .em-svg-icon {
  width: 19px;
  height: 19px;
  display: block;
}
@media (max-width: 900px) {
  .em-hero__title { font-size: clamp(23px, 7vw, 34px); }
  .em-section-header { align-items: flex-start; gap: 12px; }
}

/* ── Update v1.0.5: header search + fixed mobile menu ── */
.em-header {
  gap: 16px;
}
.em-header nav {
  flex: 1 1 auto;
  min-width: 0;
}
.em-header .em-nav {
  justify-content: center;
  gap: 20px;
}
.em-header-search {
  display: flex;
  align-items: center;
  gap: 7px;
  width: clamp(190px, 23vw, 310px);
  min-width: 190px;
  background: #fff8f4;
  border: 1.5px solid var(--em-border);
  border-radius: 999px;
  padding: 5px 6px 5px 12px;
  transition: border-color .2s, box-shadow .2s;
}
.em-header-search:focus-within {
  border-color: var(--em-primary);
  box-shadow: 0 4px 18px rgba(232,66,10,.12);
}
.em-header-search__icon {
  font-size: 14px;
  line-height: 1;
  flex: 0 0 auto;
}
.em-header-search__input {
  min-width: 0;
  flex: 1 1 auto;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--em-text);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
}
.em-header-search__input::placeholder {
  color: #a7a7a7;
  font-weight: 400;
}
.em-header-search__btn {
  border: 0;
  border-radius: 999px;
  background: var(--em-primary);
  color: #fff;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  padding: 8px 12px;
}
.em-header-search__btn:hover {
  background: var(--em-primary-dark);
}
.em-mobile-header-search {
  display: none;
}

@media (max-width: 1180px) {
  .em-header .em-nav { gap: 14px; }
  .em-header-search { width: 220px; min-width: 180px; }
}
@media (max-width: 1024px) and (min-width: 769px) {
  .em-header-search { display: none; }
}
@media (max-width: 768px) {
  .em-header {
    height: 64px;
    padding: 0 16px;
    overflow: visible;
  }
  .em-header nav {
    position: absolute;
    top: 122px;
    left: 0;
    right: 0;
    z-index: 70;
    min-width: 0;
    pointer-events: none;
  }
  .em-header .em-nav {
    display: none !important;
    flex-direction: column !important;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    width: 100%;
    background: #fff;
    padding: 8px 16px 14px;
    border-bottom: 1.5px solid var(--em-border);
    box-shadow: 0 14px 30px rgba(0,0,0,.08);
    list-style: none;
  }
  .em-header.is-open .em-nav {
    display: flex !important;
    pointer-events: auto;
  }
  .em-header .em-nav li {
    width: 100%;
  }
  .em-header .em-nav a {
    display: block;
    width: 100%;
    padding: 11px 4px;
    border-bottom: 1px solid var(--em-border);
    font-size: 14px;
  }
  .em-header .em-nav li:last-child a {
    border-bottom: 0;
  }
  .em-header-search,
  .em-header-cta {
    display: none !important;
  }
  .em-header-hamburger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    color: var(--em-primary);
  }
  .em-header-hamburger:hover {
    background: #fff0ea;
  }
  .em-header.is-open .em-mobile-header-search {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    z-index: 71;
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    padding: 10px 16px;
    border-bottom: 1.5px solid var(--em-border);
    box-shadow: 0 10px 24px rgba(0,0,0,.06);
  }
  .em-mobile-header-search__input {
    min-width: 0;
    flex: 1;
    border: 1.5px solid var(--em-border);
    border-radius: 999px;
    padding: 10px 14px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    outline: none;
  }
  .em-mobile-header-search__input:focus {
    border-color: var(--em-primary);
  }
  .em-mobile-header-search__btn {
    border: 0;
    border-radius: 999px;
    background: var(--em-primary);
    color: #fff;
    padding: 11px 16px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
  }
}

/* ── Update v1.0.6: standard WordPress post + news/category pages ── */
.em-post-container,
.em-blog-container {
  padding-top: 28px;
}
.em-single-post {
  max-width: 880px;
  margin: 0 auto;
  background: #fff;
  border-radius: 24px;
  box-shadow: var(--em-shadow);
  overflow: hidden;
}
.em-single-post__header {
  padding: 42px 44px 24px;
}
.em-single-post__title {
  margin: 12px 0 14px;
  color: var(--em-text);
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.8px;
}
.em-single-post__excerpt {
  color: var(--em-muted);
  font-size: 17px;
  line-height: 1.7;
  margin: 0;
}
.em-single-post__thumb {
  margin: 0;
  background: #fff8f4;
}
.em-single-post__thumb img {
  display: block;
  width: 100%;
  max-height: 520px;
  object-fit: cover;
}
.em-single-post__content {
  padding: 34px 44px 42px;
}
.em-content-body {
  color: var(--em-text);
  font-size: 17px;
  line-height: 1.82;
}
.em-content-body > *:first-child { margin-top: 0; }
.em-content-body > *:last-child { margin-bottom: 0; }
.em-content-body p,
.em-content-body ul,
.em-content-body ol,
.em-content-body blockquote,
.em-content-body table,
.em-content-body figure,
.em-content-body h2,
.em-content-body h3,
.em-content-body h4 {
  margin-bottom: 18px;
}
.em-content-body h2,
.em-content-body h3,
.em-content-body h4 {
  margin-top: 28px;
  color: var(--em-text);
  font-weight: 600;
  line-height: 1.3;
}
.em-content-body h2 { font-size: 28px; }
.em-content-body h3 { font-size: 22px; }
.em-content-body h4 { font-size: 18px; }
.em-content-body ul,
.em-content-body ol { padding-left: 24px; }
.em-content-body a { font-weight: 600; }
.em-content-body img {
  border-radius: 18px;
  box-shadow: 0 8px 28px rgba(0,0,0,.07);
}
.em-content-body blockquote {
  border-left: 4px solid var(--em-primary);
  background: #fff8f4;
  border-radius: 0 16px 16px 0;
  padding: 18px 20px;
  color: #4b4b4b;
}
.em-content-body table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 14px;
}
.em-content-body th,
.em-content-body td {
  border: 1px solid var(--em-border);
  padding: 10px 12px;
  text-align: left;
}
.em-content-body th {
  background: #fff8f4;
  font-weight: 600;
}
.em-post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
  color: var(--em-muted);
  font-size: 13px;
  font-weight: 500;
}
.em-post-meta__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.em-post-meta .em-svg-icon {
  width: 15px;
  height: 15px;
  color: var(--em-primary);
  flex: 0 0 15px;
}
.em-post-meta a {
  color: var(--em-primary);
  text-decoration: none;
  font-weight: 600;
}
.em-post-meta a:hover { text-decoration: underline; }
.em-single-post__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 0 44px 42px;
}
.em-single-post__tags span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--em-muted);
  font-size: 13px;
  font-weight: 600;
}
.em-single-post__tags .em-svg-icon {
  width: 15px;
  height: 15px;
  color: var(--em-primary);
}
.em-single-post__tags a,
.em-blog-catbar a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border: 1.5px solid var(--em-border);
  border-radius: 999px;
  padding: 7px 13px;
  background: #fff;
  color: var(--em-text);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all .2s;
}
.em-single-post__tags a:hover,
.em-blog-catbar a:hover,
.em-blog-catbar a.is-active {
  border-color: var(--em-primary);
  background: var(--em-primary);
  color: #fff;
}
.em-related-posts {
  max-width: 1200px;
  margin: 38px auto 0;
}
.em-blog-archive-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 20px;
  padding: 28px;
  border-radius: 24px;
  background: linear-gradient(135deg, #fff 0%, #fff8f4 100%);
  border: 1.5px solid var(--em-border);
  box-shadow: var(--em-shadow);
}
.em-blog-archive-head__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  color: var(--em-primary);
  font-size: 14px;
  font-weight: 600;
}
.em-blog-archive-head__title {
  margin: 0;
  color: var(--em-text);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.8px;
}
.em-blog-archive-head__desc {
  max-width: 720px;
  margin-top: 10px;
  color: var(--em-muted);
  font-size: 15px;
  line-height: 1.7;
}
.em-blog-count {
  flex: 0 0 auto;
  border-radius: 999px;
  background: #fff;
  border: 1.5px solid var(--em-border);
  padding: 9px 14px;
  color: var(--em-primary);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.em-blog-catbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 24px;
}
.em-post-grid,
.em-search-results-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.em-post-card {
  min-width: 0;
  overflow: hidden;
  border-radius: 20px;
  background: #fff;
  border: 1.5px solid var(--em-border);
  box-shadow: var(--em-shadow);
  transition: transform .2s, box-shadow .2s;
}
.em-post-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(232,66,10,.12);
}
.em-post-card__thumb {
  display: block;
  aspect-ratio: 16 / 10;
  background: #fff8f4;
  color: var(--em-primary);
  overflow: hidden;
}
.em-post-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .25s;
}
.em-post-card:hover .em-post-card__thumb img { transform: scale(1.04); }
.em-post-card__placeholder {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
}
.em-post-card__placeholder .em-svg-icon {
  width: 46px;
  height: 46px;
}
.em-post-card__body {
  padding: 18px;
}
.em-post-card__title {
  margin: 10px 0 8px;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 600;
}
.em-post-card__title a {
  color: var(--em-text);
  text-decoration: none;
}
.em-post-card__title a:hover { color: var(--em-primary); }
.em-post-card__excerpt {
  margin: 0 0 12px;
  color: var(--em-muted);
  font-size: 14px;
  line-height: 1.65;
}
.em-post-card__more {
  color: var(--em-primary);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}
.em-post-card__more:hover { text-decoration: underline; }
.em-page-links {
  margin-top: 24px;
  font-weight: 600;
}
@media (max-width: 900px) {
  .em-post-grid,
  .em-search-results-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .em-blog-archive-head { align-items: flex-start; flex-direction: column; padding: 22px; }
  .em-single-post__header,
  .em-single-post__content { padding-left: 22px; padding-right: 22px; }
  .em-single-post__tags { padding-left: 22px; padding-right: 22px; }
}
@media (max-width: 560px) {
  .em-post-container,
  .em-blog-container { padding-top: 20px; }
  .em-single-post { border-radius: 18px; }
  .em-single-post__header { padding-top: 26px; padding-bottom: 18px; }
  .em-single-post__title { font-size: 25px; letter-spacing: -0.4px; }
  .em-single-post__excerpt,
  .em-content-body { font-size: 15px; }
  .em-content-body h2 { font-size: 22px; }
  .em-content-body h3 { font-size: 19px; }
  .em-post-card__body { padding: 13px; }
  .em-post-card__title { font-size: 15px; }
  .em-post-card__excerpt { display: none; }
  .em-post-meta { font-size: 11.5px; gap: 7px; }
  .em-post-meta__item .em-svg-icon { width: 13px; height: 13px; }
  .em-blog-archive-head__title { font-size: 27px; }
  .em-blog-catbar { gap: 8px; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
  .em-blog-catbar a { flex: 0 0 auto; }
}


/* ── Restaurant single: prominent PDF / eMenu buttons (theme fallback) ── */
.em-menu-cta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0 22px;
}
.em-menu-cta__btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 76px;
  padding: 14px 16px;
  border: 0;
  border-radius: 18px;
  color: #fff !important;
  text-decoration: none !important;
  box-shadow: 0 12px 28px rgba(15,23,42,.13);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.em-menu-cta__btn::after {
  content: "";
  position: absolute;
  width: 100px;
  height: 100px;
  right: -34px;
  top: -52px;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  pointer-events: none;
}
.em-menu-cta__btn:only-child { grid-column: 1 / -1; }
.em-menu-cta__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(15,23,42,.19);
  filter: saturate(1.06);
}
.em-menu-cta__btn--pdf { background: linear-gradient(135deg,#dc2626 0%,#f43f5e 100%); }
.em-menu-cta__btn--online { background: linear-gradient(135deg,#f97316 0%,#fb923c 58%,#f59e0b 100%); }
.em-menu-cta__icon-wrap {
  position: relative;
  z-index: 1;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(255,255,255,.18);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18);
}
.em-menu-cta__icon { width: 25px; height: 25px; }
.em-menu-cta__text {
  position: relative;
  z-index: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.em-menu-cta__text strong { color: inherit; font-size: 16px; font-weight: 700; line-height: 1.25; }
.em-menu-cta__text small { color: rgba(255,255,255,.84); font-size: 12px; line-height: 1.3; }
.em-menu-cta__arrow { position: relative; z-index: 1; margin-left: auto; font-size: 18px; line-height: 1; opacity: .9; }
@media (max-width: 640px) {
  .em-menu-cta { grid-template-columns: 1fr; gap: 10px; margin: 14px 0 18px; }
  .em-menu-cta__btn { min-height: 68px; padding: 11px 13px; border-radius: 16px; }
  .em-menu-cta__icon-wrap { width: 42px; height: 42px; flex-basis: 42px; border-radius: 13px; }
  .em-menu-cta__icon { width: 23px; height: 23px; }
  .em-menu-cta__text strong { font-size: 15px; }
}


/* ── Update v1.0.4: force 2-column cuisine/category grid on mobile ── */
@media (max-width: 768px) {
  .em-container .em-category-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    width: 100%;
  }
  .em-container .em-category-card {
    width: 100%;
    min-width: 0;
    min-height: 88px;
    padding: 12px 10px;
    border-radius: 14px;
    overflow: hidden;
  }
  .em-container .em-cat-head {
    width: 100%;
    min-width: 0;
    gap: 8px;
    align-items: center;
  }
  .em-container .em-cat-icon {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    border-radius: 10px;
  }
  .em-container .em-cat-icon .em-svg-icon {
    width: 18px;
    height: 18px;
  }
  .em-container .em-cat-name {
    min-width: 0;
    font-size: 12.5px;
    line-height: 1.25;
    overflow-wrap: anywhere;
  }
  .em-container .em-cat-count {
    margin-top: 6px;
    margin-left: 40px;
    font-size: 10.5px;
    line-height: 1.2;
    white-space: nowrap;
  }
}

@media (max-width: 380px) {
  .em-container .em-category-grid {
    gap: 8px !important;
  }
  .em-container .em-category-card {
    padding: 10px 8px;
  }
  .em-container .em-cat-name {
    font-size: 12px;
  }
}
