:root {
  --red: #bf4934;
  --red-dark: #9f3525;
  --orange: #e8a545;
  --cream: #fffaf2;
  --cream-dark: #f8f0e4;
  --ink: #302821;
  --muted: #7b7168;
  --white: #ffffff;

  /* Semantic Theme Variables - Light */
  --bg-primary: #fffaf2;
  --bg-secondary: #f8f0e4;
  --bg-card: #ffffff;
  --bg-header: rgba(255, 250, 242, 0.94);
  --bg-surface: #fffdf9;
  --bg-badge: #f8e9df;
  --bg-highlight: #fff4e4;
  --bg-star: #ffedc8;
  --bg-button-sec: transparent;

  --text-primary: #302821;
  --text-secondary: #7b7168;
  --text-nav: #51483f;
  --text-star: #9e681d;
  --text-green: #46844a;
  --bg-green-badge: #e4f1df;

  --border-light: #f0ebe4;
  --border-subtle: #e9e0d6;
  --border-input: #e2d8cc;
  --border-header: rgba(72, 47, 30, 0.08);

  --shadow: 0 16px 45px rgba(75, 47, 29, 0.1);
  --shadow-card: 0 6px 20px rgba(71, 48, 30, 0.04);
  --shadow-modal: 0 24px 80px rgba(29, 20, 13, 0.3);
  --modal-backdrop: rgba(32, 24, 19, 0.68);
  --input-bg: #ffffff;
  --input-placeholder: #7b7168;
}

[data-theme="dark"] {
  /* Semantic Theme Variables - Dark (Warm, cozy, cheerful restaurant atmosphere) */
  --bg-primary: #151210;
  --bg-secondary: #1d1916;
  --bg-card: #221d19;
  --bg-header: rgba(21, 18, 16, 0.95);
  --bg-surface: #181512;
  --bg-badge: #38241c;
  --bg-highlight: #30241a;
  --bg-star: #3a2b16;
  --bg-button-sec: rgba(255, 255, 255, 0.04);

  --text-primary: #f6efe8;
  --text-secondary: #b3a69b;
  --text-nav: #ddd1c5;
  --text-star: #f5c469;
  --text-green: #7dc982;
  --bg-green-badge: #1f3322;

  --border-light: #2e2620;
  --border-subtle: #3d332c;
  --border-input: #473c33;
  --border-header: rgba(255, 245, 235, 0.08);

  --shadow: 0 16px 45px rgba(0, 0, 0, 0.5);
  --shadow-card: 0 6px 20px rgba(0, 0, 0, 0.38);
  --shadow-modal: 0 24px 80px rgba(0, 0, 0, 0.82);
  --modal-backdrop: rgba(0, 0, 0, 0.78);
  --input-bg: #1c1714;
  --input-placeholder: #8e8074;

  --cream: #151210;
  --cream-dark: #1d1916;
  --ink: #f6efe8;
  --muted: #b3a69b;
}

/* Smooth transitions for theme switching */
body,
.site-header,
section,
.features,
.menu-card,
.search-box,
.filter-button,
.button,
.theme-toggle,
.language-toggle,
.menu-preview,
.contact-panel,
.site-footer {
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 85px;
}

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

body {
  margin: 0;
  color: var(--text-primary);
  background: var(--bg-primary);
  font-family: "Kantumruy Pro", "Battambang", sans-serif;
  line-height: 1.75;
  overflow-x: clip;
  word-wrap: break-word;
  overflow-wrap: anywhere;
}

img {
  display: block;
  max-width: 100%;
}

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--bg-header);
  border-bottom: 1px solid var(--border-header);
  backdrop-filter: blur(14px);
}

.header-inner,
.main-nav,
.brand,
.hero-actions,
.features-inner,
.feature,
.footer-inner {
  display: flex;
  align-items: center;
}

.header-inner {
  min-height: 76px;
  justify-content: space-between;
}

.brand {
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
}

.brand-logo {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  object-fit: contain;
}

.brand-name strong {
  color: var(--red);
}

.main-nav {
  gap: 30px;
  color: var(--text-nav);
  font-size: 14px;
  font-weight: 600;
}

.main-nav a:not(.nav-order):hover {
  color: var(--red);
}

.nav-order {
  padding: 10px 18px;
  color: var(--white);
  background: var(--red);
  border-radius: 999px;
  transition: background 0.2s, transform 0.2s;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
  margin-right: 22px;
}

.language-toggle {
  margin: 0;
  padding: 8px 14px;
  color: var(--text-nav);
  background: var(--bg-button-sec);
  border: 1px solid var(--border-input);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.language-toggle:hover {
  color: var(--red);
  border-color: var(--red);
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  color: var(--text-primary);
  background: var(--bg-button-sec);
  border: 1px solid var(--border-input);
  border-radius: 50%;
  font-size: 19px;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.theme-toggle:hover {
  color: var(--red);
  border-color: var(--red);
  transform: scale(1.06);
}

.theme-toggle:focus-visible,
.language-toggle:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

.theme-icon {
  display: inline-block;
  line-height: 1;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.2s ease;
}

.theme-toggle:active .theme-icon {
  transform: scale(0.85) rotate(25deg);
}

.nav-order:hover,
.button-primary:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 9px;
  background: transparent;
  border: 0;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--text-primary);
  border-radius: 5px;
}

.hero {
  overflow: hidden;
  padding: 72px 0 86px;
  background:
    radial-gradient(circle at 5% 14%, rgba(232, 165, 69, 0.12), transparent 24%),
    var(--bg-primary);
}

.hero-content {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 60px;
}

.eyebrow,
.section-kicker {
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 13px;
  background: var(--bg-badge);
  border-radius: 999px;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  background: #66a56a;
  border-radius: 50%;
}

.hero h1 {
  margin: 20px 0 15px;
  font-family: "Battambang", "Kantumruy Pro", sans-serif;
  font-size: clamp(42px, 5.5vw, 66px);
  line-height: 1.35;
  letter-spacing: -1px;
}

.hero-copy > p,
.section-heading p,
.about-copy > p,
.contact-intro p {
  color: var(--text-secondary);
}

.map-link a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  margin-top: 8px;
  padding: 7px 13px;
  color: var(--white);
  background: var(--red);
  border-radius: 7px;
  font-size: 12px;
  font-weight: 700;
  transition: background 0.2s;
}

.map-link a:hover {
  color: var(--white);
  background: var(--red-dark);
}

.map-link a:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

.hero-copy > p {
  max-width: 490px;
  margin: 0;
  font-size: 16px;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 20px;
  border: 1px solid transparent;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 700;
  transition: 0.2s ease;
}

.button-primary {
  color: var(--white);
  background: var(--red);
}

.button-secondary {
  color: var(--text-primary);
  background: var(--bg-button-sec);
  border-color: var(--border-input);
}

.button-secondary:hover {
  border-color: var(--red);
  color: var(--red);
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 35px;
  color: var(--text-secondary);
  font-size: 12px;
  line-height: 1.5;
}

.hero-note strong {
  color: var(--text-primary);
  font-size: 13px;
}

.note-star {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--text-star);
  background: var(--bg-star);
  border-radius: 50%;
  font-size: 17px;
}

.hero-image-wrap {
  position: relative;
  padding: 0 15px 15px 0;
}

.hero-image {
  height: 430px;
  overflow: hidden;
  border-radius: 48% 48% 20px 20px;
  background: var(--bg-secondary);
  box-shadow: var(--shadow);
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-label {
  position: absolute;
  right: -8px;
  bottom: 42px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 18px;
  background: var(--bg-card);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.label-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  background: var(--bg-highlight);
  border-radius: 50%;
  font-size: 22px;
}

.image-label strong,
.image-label small {
  display: block;
}

.image-label strong {
  font-size: 14px;
}

.image-label small {
  color: var(--text-secondary);
  font-size: 11px;
}

.hero-decoration {
  position: absolute;
  color: var(--orange);
}

.decoration-one {
  top: 28px;
  right: -15px;
  font-size: 43px;
}

.decoration-two {
  bottom: 40px;
  left: -25px;
  font-size: 34px;
}

.features {
  background: var(--bg-card);
  border-block: 1px solid var(--border-light);
}

.features-inner {
  min-height: 106px;
  justify-content: space-between;
  gap: 20px;
}

.feature {
  gap: 13px;
}

.feature-icon {
  display: grid;
  width: 47px;
  height: 47px;
  place-items: center;
  background: var(--bg-highlight);
  border-radius: 14px;
  font-size: 21px;
}

.feature strong,
.feature small {
  display: block;
}

.feature strong {
  font-size: 13px;
}

.feature small {
  color: var(--text-secondary);
  font-size: 11px;
}

.section-padding {
  padding: 88px 0;
}

.menu-section {
  background: var(--bg-surface);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
}

.section-heading h2,
.about-copy h2,
.contact-intro h2 {
  margin: 7px 0 8px;
  font-family: "Battambang", "Kantumruy Pro", sans-serif;
  font-size: clamp(25px, 3vw, 35px);
  line-height: 1.5;
}

.section-heading p {
  margin: 0;
  font-size: 14px;
}

.search-box {
  display: flex;
  width: min(270px, 100%);
  height: 46px;
  align-items: center;
  gap: 9px;
  padding: 0 13px;
  border: 1px solid var(--border-subtle);
  background: var(--input-bg);
  border-radius: 9px;
  color: var(--text-secondary);
}

.search-box > span {
  font-size: 24px;
  line-height: 1;
}

.search-box input {
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--text-primary);
  background: transparent;
  font-size: 12px;
}

.search-box input::placeholder {
  color: var(--input-placeholder);
  opacity: 1;
}

.menu-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 28px 0 24px;
}

.filter-button {
  padding: 8px 17px;
  color: var(--text-secondary);
  background: var(--bg-button-sec);
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  font-size: 12px;
  transition: 0.2s;
}

.filter-button:hover,
.filter-button.active {
  color: var(--white);
  background: var(--red);
  border-color: var(--red);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.menu-card {
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 13px;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s, box-shadow 0.2s;
}

.menu-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.menu-card-image {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--bg-secondary);
}

.menu-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s;
}

.menu-card:hover .menu-card-image img {
  transform: scale(1.05);
}

.menu-tag {
  position: absolute;
  top: 11px;
  left: 11px;
  padding: 4px 10px;
  color: var(--red-dark);
  background: var(--bg-header);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
}

.menu-card-body {
  padding: 14px;
}

.menu-card h3 {
  margin: 0 0 5px;
  font-family: "Battambang", "Kantumruy Pro", sans-serif;
  font-size: 15px;
}

.menu-card p {
  min-height: 42px;
  margin: 0;
  color: var(--text-secondary);
  font-size: 11px;
  line-height: 1.8;
}

.menu-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin-top: 13px;
  padding-top: 11px;
  border-top: 1px solid var(--border-light);
}

.menu-price {
  color: var(--red);
  font-size: 15px;
  font-weight: 700;
}

.menu-card-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.preview-button {
  padding: 6px 9px;
  color: var(--red-dark);
  background: var(--bg-button-sec);
  border: 1px solid var(--border-input);
  border-radius: 7px;
  font-size: 11px;
  font-weight: 700;
}

.preview-button:hover {
  background: var(--bg-badge);
}

.order-button {
  padding: 7px 11px;
  color: var(--white);
  background: var(--red);
  border: 0;
  border-radius: 7px;
  font-size: 11px;
  font-weight: 700;
  transition: background 0.2s;
}

.order-button:hover {
  background: var(--red-dark);
}

.no-results {
  padding: 30px 0;
  color: var(--text-secondary);
  text-align: center;
}

.menu-preview {
  width: min(540px, calc(100% - 32px));
  max-width: none;
  max-height: min(90vh, 760px);
  padding: 0;
  overflow: auto;
  color: var(--text-primary);
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  box-shadow: var(--shadow-modal);
}

.menu-preview::backdrop {
  background: var(--modal-backdrop);
  backdrop-filter: blur(4px);
}

.menu-preview-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--bg-secondary);
  overflow: hidden;
}

.menu-preview-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.menu-preview-content {
  position: relative;
  padding: 25px 30px 30px;
}

.menu-preview-content > .section-kicker {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  color: var(--red);
  background: var(--bg-badge);
  border: 1px solid rgba(191, 73, 52, 0.25);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.menu-preview-content h2 {
  margin: 12px 0 8px;
  font-family: "Battambang", "Kantumruy Pro", sans-serif;
  font-size: 24px;
}

.menu-preview-content p {
  margin: 0 0 16px;
  color: var(--text-secondary);
  line-height: 1.8;
}

.menu-preview-ingredients {
  margin: 16px 0 20px;
  padding: 14px 16px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: 12px;
}

.menu-preview-ingredients h3 {
  display: inline-flex;
  align-items: center;
  margin: 0 0 10px;
  padding: 4px 10px;
  color: var(--text-primary);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--red);
  border-radius: 6px;
  font-family: "Battambang", "Kantumruy Pro", sans-serif;
  font-size: 13px;
  font-weight: 700;
}

.menu-preview-content > #previewPrice {
  display: inline-flex;
  align-items: center;
  margin-top: 4px;
  padding: 8px 18px;
  color: var(--red);
  background: var(--bg-badge);
  border: 1.5px solid var(--red);
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(191, 73, 52, 0.08);
}

.menu-preview-ingredients ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px 20px;
  margin: 0;
  padding-left: 20px;
  color: var(--text-secondary);
  font-size: 13px;
}

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

.menu-preview-close {
  position: absolute;
  top: 16px;
  right: 18px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: var(--text-primary);
  background: var(--bg-card);
  border: 1px solid var(--border-input);
  border-radius: 50%;
  font-size: 24px;
  line-height: 1;
}

.menu-preview-close:hover {
  color: var(--red);
  background: var(--bg-badge);
}

@media (max-width: 600px) {
  .menu-preview-image {
    aspect-ratio: 1 / 1;
    height: auto;
  }

  .menu-preview-content {
    padding: 22px 20px 24px;
  }

  .menu-preview-content h2 {
    padding-right: 34px;
    font-size: 20px;
  }

  .menu-preview-ingredients ul {
    grid-template-columns: 1fr;
  }
}

.about-section {
  background: var(--bg-secondary);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: 56px;
}

.about-image {
  position: relative;
  width: min(100%, 560px);
  height: clamp(300px, 35vw, 460px);
  margin-inline: auto;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 32px 80px 32px 32px;
  box-shadow: var(--shadow);
}

.about-stamp {
  position: absolute;
  right: -24px;
  bottom: 25px;
  display: grid;
  width: 105px;
  height: 105px;
  align-content: center;
  color: var(--white);
  background: var(--red);
  border: 5px solid var(--bg-secondary);
  border-radius: 50%;
  text-align: center;
  font-size: 12px;
  line-height: 1.6;
}

.about-stamp strong {
  font-size: 16px;
}

.about-copy h2 {
  margin-top: 9px;
}

.about-copy > p {
  font-size: 14px;
  line-height: 1.9;
}

.about-list {
  display: grid;
  gap: 11px;
  margin: 22px 0 27px;
  padding: 0;
  list-style: none;
  font-size: 13px;
  font-weight: 600;
}

.about-copy {
  max-width: 600px;
}

.about-list li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.about-list li span:first-child {
  display: grid;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  place-items: center;
  color: var(--text-green);
  background: var(--bg-green-badge);
  border-radius: 50%;
  font-size: 12px;
}

.about-list li span:last-child {
  min-width: 0;
  flex: 1 1 auto;
}

.contact-section {
  background: var(--bg-surface);
}

.contact-panel {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 48px;
  padding: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.contact-details {
  display: grid;
  gap: 20px;
}

.contact-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: start;
  column-gap: 12px;
}

.contact-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--red-dark);
  background: var(--bg-badge);
  border-radius: 12px;
  font-size: 18px;
}

.contact-item small,
.contact-item strong {
  display: block;
}

.contact-item small {
  color: var(--text-secondary);
  font-size: 12px;
}

.contact-item strong {
  font-size: 13px;
  overflow-wrap: anywhere;
}

.contact-item > .map-link {
  grid-column: 2;
}

.site-footer {
  padding: 24px 0;
  background: var(--bg-primary);
  border-top: 1px solid var(--border-light);
}

.footer-inner {
  justify-content: space-between;
  gap: 20px;
}

.footer-inner p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 13px;
}

.copyright {
  color: var(--text-secondary);
  font-size: 12px;
}

@media (max-width: 900px) {
  .header-inner {
    position: relative;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 4px;
    padding: 10px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav > a:not(.nav-order) {
    padding: 9px 10px;
  }

  .header-actions {
    margin-right: 12px;
    gap: 8px;
  }

  .nav-order {
    margin-top: 4px;
    text-align: center;
  }

  .hero-content,
  .about-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero-copy {
    max-width: 650px;
  }

  .hero-image-wrap {
    width: min(100%, 680px);
    margin-inline: auto;
  }

  .hero-image {
    height: min(60vw, 420px);
    min-height: 300px;
  }

  .image-label {
    right: 0;
  }

  .features-inner {
    flex-wrap: wrap;
    justify-content: center;
    padding: 20px 0;
  }

  .feature {
    flex: 1 1 220px;
    justify-content: center;
  }

  .section-heading {
    align-items: stretch;
    flex-direction: column;
    gap: 18px;
  }

  .search-box {
    width: min(100%, 420px);
  }

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

  .about-image {
    width: min(100%, 560px);
    height: min(65vw, 400px);
    min-height: 280px;
    margin-inline: auto;
  }

  .about-stamp {
    right: 8px;
  }

  .contact-panel {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 32px;
  }
}

@media (max-width: 600px) {
  .container {
    width: calc(100% - 32px);
  }

  .header-inner {
    min-height: 68px;
  }

  .brand {
    gap: 8px;
    font-size: 16px;
    max-width: 100%;
  }

  .brand-name {
    white-space: normal;
    line-height: 1.2;
  }

  .brand-logo {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .hero {
    padding: 44px 0 56px;
  }

  .hero h1 {
    font-size: 40px;
    line-height: 1.4;
  }

  .hero-copy > p {
    font-size: 14px;
  }

  .hero-copy,
  .about-copy,
  .contact-intro,
  .contact-item > div {
    min-width: 0;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .main-nav a,
  .button,
  .section-heading h2,
  .about-copy h2,
  .contact-intro h2,
  .contact-item strong,
  .contact-item small,
  .about-list li,
  .about-list li span:last-child {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-image-wrap {
    padding: 0 8px 8px 0;
  }

  .hero-image {
    height: 270px;
    min-height: 0;
    border-radius: 42% 42% 16px 16px;
  }

  .image-label {
    right: -4px;
    bottom: 20px;
    gap: 8px;
    padding: 9px 11px;
  }

  .label-icon {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }

  .features-inner {
    align-items: flex-start;
    gap: 16px 10px;
  }

  .feature {
    flex: 1 1 calc(50% - 10px);
    justify-content: flex-start;
    align-items: flex-start;
    gap: 8px;
  }

  .feature-icon {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    font-size: 18px;
  }

  .feature strong {
    font-size: 12px;
  }

  .feature small {
    font-size: 10px;
  }

  .about-list {
    gap: 10px;
  }

  .about-list li {
    align-items: flex-start;
  }

  .about-list li span:first-child {
    flex: 0 0 22px;
    margin-top: 2px;
  }

  .about-list li span:last-child {
    min-width: 0;
    flex: 1 1 auto;
  }

  .about-section .button {
    width: 100%;
    justify-content: space-between;
  }

  .section-padding {
    padding: 58px 0;
  }

  .section-heading h2,
  .about-copy h2,
  .contact-intro h2 {
    font-size: 25px;
  }

  .menu-filters {
    gap: 7px;
    margin: 20px 0;
  }

  .filter-button {
    padding: 8px 12px;
  }

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

  .menu-card-image {
    aspect-ratio: 1 / 1;
    height: auto;
  }

  .menu-card-body {
    padding: 16px;
  }

  .menu-card p {
    min-height: 0;
  }

  .menu-card-footer {
    flex-wrap: wrap;
  }

  .menu-price {
    font-size: 14px;
  }

  .menu-card-actions {
    margin-left: auto;
  }

  .about-grid {
    gap: 24px;
  }

  .about-image {
    height: 280px;
    min-height: 0;
  }

  .about-stamp {
    width: 88px;
    height: 88px;
    right: 6px;
    bottom: 12px;
  }

  .about-copy > p {
    font-size: 13px;
  }

  .contact-panel {
    gap: 24px;
    padding: 22px 18px;
  }

  .contact-item {
    grid-template-columns: 36px minmax(0, 1fr);
    column-gap: 10px;
  }

  .contact-icon {
    width: 36px;
    height: 36px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
}

@media (max-width: 380px) {
  .container {
    width: calc(100% - 24px);
  }

  .header-actions {
    gap: 6px;
    margin-right: 6px;
  }

  .theme-toggle {
    width: 38px;
    height: 38px;
    min-width: 38px;
    min-height: 38px;
    font-size: 16px;
  }

  .language-toggle {
    padding: 7px 10px;
    font-size: 11px;
  }

  .features-inner {
    flex-direction: column;
  }

  .feature {
    flex: 1 1 100%;
  }

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

  .menu-card-image {
    aspect-ratio: 1 / 1;
    height: auto;
  }

  .menu-card-actions {
    width: 100%;
  }

  .menu-card-actions button {
    flex: 1;
  }
}

/* Dark theme specific component enhancements */
[data-theme="dark"] .menu-tag {
  color: #f57a67;
  background: rgba(32, 26, 22, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .preview-button {
  color: #f57a67;
  border-color: var(--border-subtle);
}

[data-theme="dark"] .preview-button:hover {
  background: #38241c;
  color: #ff9180;
}

[data-theme="dark"] .menu-preview-close:hover {
  background: #38241c;
  color: #f57a67;
}

[data-theme="dark"] .contact-icon {
  color: #f57a67;
}

[data-theme="dark"] .map-link a:hover {
  background: var(--red-dark);
}

[data-theme="dark"] .menu-preview-content > .section-kicker {
  color: #f57a67;
  background: #34221a;
  border-color: rgba(245, 122, 103, 0.35);
}

[data-theme="dark"] .menu-preview-ingredients {
  background: #1c1714;
  border-color: #332a23;
}

[data-theme="dark"] .menu-preview-ingredients h3 {
  background: #251e19;
  border-color: #3d332c;
  border-left-color: #e25b44;
}

[data-theme="dark"] .menu-preview-content > #previewPrice {
  color: #ff8b77;
  background: #34221a;
  border-color: #e25b44;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}
