/* Developer: Uzeyir | System Key: xandar | Stylesheet integrity marker */
@font-face {
  font-family: "Magnolia Script";
  src: url("Tahmisçi_Logo/Fontlar/Magnolia_Script_Ana_Font/Magnolia Script.otf") format("opentype");
  font-display: swap;
}

@font-face {
  font-family: "Tahmisci Poppins";
  src: url("Tahmisçi_Logo/Fontlar/Poppins_Font/Poppins-Regular.ttf") format("truetype");
  font-display: swap;
  font-weight: 400;
}

@font-face {
  font-family: "Tahmisci Poppins";
  src: url("Tahmisçi_Logo/Fontlar/Poppins_Font/Poppins-SemiBold.ttf") format("truetype");
  font-display: swap;
  font-weight: 600;
}

@font-face {
  font-family: "Tahmisci Poppins";
  src: url("Tahmisçi_Logo/Fontlar/Poppins_Font/Poppins-Bold.ttf") format("truetype");
  font-display: swap;
  font-weight: 700;
}

:root {
  --bg-color: #f3faef;
  --dark-bg-color: #020704;
  --accent-color: #2f6a45;
  --text-color: #243c2c;
  --btn-text: #ffffff;
  --card-bg: rgba(232, 243, 222, 0.82);
  --product-card-bg: #ffffff;
  --category-card-bg: #e0edd7;
  --menu-header-bg: color-mix(in srgb, var(--bg-color) 92%, transparent);
  --social-icon-color: var(--accent-color);
  --social-icon-size: 30px;
  --title-font: "Tahmisci Poppins", Poppins, Arial, sans-serif;
  --category-font: "Tahmisci Poppins", Poppins, Arial, sans-serif;
  --product-font: "Tahmisci Poppins", Poppins, Arial, sans-serif;
  --menu-title-size: 36px;
  --category-title-size: 24px;
  --product-title-size: 13px;
  --product-desc-size: 10px;
  --product-ingredients-size: 10px;
  --product-price-size: 10px;
  --panel-safe-bottom: env(safe-area-inset-bottom, 0px);
}

body.dark-mode {
  --bg-color: var(--dark-bg-color);
  --accent-color: #e4f2c9;
  --text-color: #fafff5;
  --btn-text: #304332;
  --card-bg: rgba(248, 255, 236, 0.12);
  --product-card-bg: #07170f;
  --category-card-bg: rgba(7, 23, 15, 0.88);
}

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

[hidden] {
  display: none !important;
}

html,
body {
  width: 100%;
  min-height: 100%;
  overflow-x: hidden;
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: "Tahmisci Poppins", Poppins, Arial, sans-serif;
  scroll-behavior: smooth;
  touch-action: manipulation;
}

body {
  min-height: 100dvh;
  transition: background 0.3s ease, color 0.3s ease;
}

body.dark-mode {
  background:
    radial-gradient(circle at 18% 12%, rgba(12, 70, 39, 0.46), transparent 34%),
    radial-gradient(circle at 82% 76%, rgba(4, 42, 24, 0.5), transparent 38%),
    linear-gradient(145deg, #010302 0%, #031108 48%, #062817 100%);
}

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

button {
  border: 0;
  cursor: pointer;
}

.main-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100dvh;
  padding: 6px;
}

.container {
  width: 100%;
  height: 100%;
  border: 1px solid color-mix(in srgb, var(--accent-color) 72%, #ffffff 12%);
  border-radius: 3px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: clamp(12px, 2.4vh, 22px) 15px 26px;
  position: relative;
  transition: border-color 0.3s ease;
  overflow: hidden;
}

.about-link {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 10;
  background: transparent;
  color: var(--text-color);
  font-size: 10px;
  font-weight: 500;
  text-decoration: underline;
  letter-spacing: 1px;
}

.theme-toggle {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 10;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: transparent;
}

.theme-toggle img {
  width: 25px;
  height: 25px;
  filter: invert(32%) sepia(30%) saturate(822%) hue-rotate(86deg) brightness(86%) contrast(86%);
}

body.dark-mode .theme-toggle img {
  filter: invert(94%) sepia(18%) saturate(420%) hue-rotate(40deg) brightness(102%) contrast(90%);
}

.secret-face {
  order: 2;
  width: 44px;
  height: 44px;
  position: relative;
  z-index: 11;
  top: 0;
  margin: -2px 0 0;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 -6px 0 rgba(0, 0, 0, 0.08);
  color: var(--text-color);
  touch-action: none;
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
}

.secret-eye {
  position: absolute;
  top: 13px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.secret-eye-left {
  left: 13px;
}

.secret-eye-right {
  right: 13px;
}

.secret-smile {
  position: absolute;
  left: 12px;
  top: 22px;
  width: 20px;
  height: 10px;
  border-bottom: 2px solid currentColor;
  border-radius: 0 0 18px 18px;
}

.secret-face.is-armed {
  animation: facePulse 0.7s ease-in-out infinite;
}

@keyframes facePulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.08);
  }
}

.logo-area {
  position: absolute;
  top: clamp(52px, 7vh, 72px);
  left: 50%;
  z-index: 2;
  width: min(82vw, 430px);
  height: clamp(218px, 42vh, 390px);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 0;
  transform: translateX(-50%);
}

.logo-area img {
  width: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transform: scale(1.51);
  user-select: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
}

.brand-logo {
  filter: drop-shadow(0 12px 22px rgba(47, 106, 69, 0.16));
  transition: filter 0.3s ease, transform 0.3s ease;
}

body.dark-mode .brand-logo {
  filter: drop-shadow(0 14px 26px rgba(26, 43, 29, 0.28));
}

.content-center {
  position: absolute;
  top: clamp(318px, 51vh, 476px);
  bottom: auto;
  left: 50%;
  width: min(100%, 520px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(8px, 1.25vh, 12px);
  transform: translateX(-50%);
  padding: 0 18px;
  user-select: none;
  -webkit-user-select: none;
}

.welcome-text {
  order: 1;
  font-family: var(--title-font);
  font-size: clamp(1rem, 2.1vw, 1.28rem);
  font-weight: 400;
  line-height: 1.05;
  text-align: center;
  letter-spacing: 0;
  color: var(--text-color);
}

.menu-button {
  order: 3;
  width: min(78%, 360px);
  min-height: clamp(48px, 6.6vh, 58px);
  padding: 10px 0;
  border: 1px solid color-mix(in srgb, var(--accent-color) 36%, #ffffff 48%);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(245, 244, 229, 0.88)),
    color-mix(in srgb, var(--bg-color) 72%, #ffffff 28%);
  color: #243c2c;
  font-family: var(--title-font);
  font-size: clamp(1.85rem, 5vw, 2.35rem);
  font-weight: 800;
  line-height: 1;
  text-align: center;
  box-shadow:
    0 0 22px rgba(247, 238, 194, 0.72),
    inset 0 0 18px rgba(255, 255, 255, 0.68);
}

.footer-social {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5px;
}

.footer-social a {
  width: var(--social-icon-size);
  height: var(--social-icon-size);
  flex: 0 0 var(--social-icon-size);
  display: block;
  background: var(--social-icon-color);
  mask: var(--icon-mask) center / contain no-repeat;
  -webkit-mask: var(--icon-mask) center / contain no-repeat;
}

.footer-text {
  flex: 1;
  padding: 0 10px;
  font-family: var(--title-font);
  font-size: 11px;
  font-style: italic;
  text-align: center;
}

.icon {
  display: none;
}

.footer-social a[aria-label="Instagram"] {
  --icon-mask: url("https://cdn-icons-png.flaticon.com/512/174/174855.png");
}

.footer-social a[aria-label="TikTok"] {
  --icon-mask: url("https://cdn-icons-png.flaticon.com/512/3046/3046121.png");
}

.alternative-home .content-center {
  top: clamp(318px, 51vh, 476px);
  bottom: auto;
}

.social-follow-card {
  order: 4;
  position: relative;
  width: min(78%, 360px);
  min-height: 50px;
  display: grid;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--accent-color) 55%, transparent);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(245, 244, 229, 0.88)),
    var(--card-bg);
  color: #243c2c;
  padding: 8px 54px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(36, 60, 44, 0.14);
}

.social-follow-text {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.social-follow-text strong {
  font-family: "Tahmisci Poppins", Poppins, Arial, sans-serif;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.1;
}

.social-follow-text span {
  font-size: 9px;
  font-weight: 600;
  opacity: 0.76;
}

.social-follow-icons {
  position: absolute;
  inset: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}

.social-follow-icons a {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--accent-color) 38%, transparent);
  border-radius: 7px;
  background: color-mix(in srgb, #ffffff 78%, var(--bg-color) 22%);
  pointer-events: auto;
}

.social-follow-icons .icon {
  width: 22px;
  height: 22px;
  display: block;
  object-fit: contain;
}

.footer-spacer {
  min-height: 42px;
}

.alternative-home-2 .content-center {
  top: 67%;
}

.social-channel-grid {
  width: min(85%, 360px);
  display: grid;
  grid-template-columns: repeat(2, 58px);
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.social-channel-card {
  position: relative;
  width: 58px;
  height: 58px;
  min-height: 58px;
  display: grid;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--accent-color) 55%, transparent);
  border-radius: 50%;
  background: var(--accent-color);
  color: var(--text-color);
  padding: 0;
  text-align: center;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.18);
}

.social-channel-card .icon {
  width: 23px;
  height: 23px;
  display: block;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

body.dark-mode .social-channel-card .icon {
  filter: brightness(0) invert(1);
}

.social-channel-card span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.social-channel-card:first-child {
  grid-column: auto;
}

.social-channel-card:nth-child(2) {
  grid-column: auto;
}

.feedback-channel-card {
  order: 5;
  width: min(78%, 360px);
  min-height: 52px;
  display: grid;
  align-content: center;
  gap: 2px;
  border: 1px solid color-mix(in srgb, var(--accent-color) 55%, transparent);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(245, 244, 229, 0.88)),
    color-mix(in srgb, var(--bg-color) 84%, #ffffff 10%);
  color: #243c2c;
  padding: 8px 14px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(36, 60, 44, 0.14);
}

.feedback-channel-card strong {
  font-family: "Tahmisci Poppins", Poppins, Arial, sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.1;
}

.feedback-channel-card span {
  font-size: 9px;
  font-weight: 650;
  opacity: 0.76;
}

.feedback-open-button {
  width: min(178px, 100%);
  min-height: 48px;
  border: 1px solid color-mix(in srgb, var(--accent-color) 55%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--bg-color) 84%, #ffffff 10%);
  color: var(--text-color);
  font-size: 12px;
  font-weight: 850;
}

@media (max-height: 640px) {
  .logo-area {
    top: 44px;
    width: min(74vw, 320px);
    height: clamp(190px, 39vh, 250px);
  }

  .logo-area img {
    transform: scale(1.4);
  }

  .content-center,
  .alternative-home .content-center {
    top: clamp(292px, 50vh, 334px);
    bottom: auto;
    gap: 7px;
  }

  .secret-face {
    width: 40px;
    height: 40px;
    top: 0;
    margin-top: -2px;
    margin-bottom: 0;
  }

  .secret-eye {
    top: 12px;
  }

  .secret-eye-left {
    left: 12px;
  }

  .secret-eye-right {
    right: 12px;
  }

  .secret-smile {
    left: 11px;
    top: 20px;
    width: 18px;
  }

  .welcome-text {
    font-size: 0.98rem;
  }

  .menu-button {
    min-height: 44px;
    font-size: 1.72rem;
  }

  .social-follow-card {
    min-height: 46px;
    padding-block: 6px;
  }

  .social-follow-icons a {
    width: 31px;
    height: 31px;
  }

  .social-follow-icons .icon {
    width: 20px;
    height: 20px;
  }

  .feedback-channel-card {
    min-height: 46px;
    padding-block: 6px;
  }
}

.menu-page {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  overflow-y: auto;
  background-color: var(--bg-color);
  background-position: center;
  background-size: cover;
  color: var(--text-color);
  padding: 0 20px calc(136px + var(--panel-safe-bottom));
}

body:not(.dark-mode) .menu-page,
body:not(.dark-mode) .menu-page .cat-button,
body:not(.dark-mode) .menu-page .product-item,
body:not(.dark-mode) .menu-page .tab-item,
body:not(.dark-mode) .menu-page .menu-search input,
body:not(.dark-mode) .menu-page .suggestion-item,
body:not(.dark-mode) .menu-page .sheet-box {
  color: #243c2c;
}

body.dark-mode .menu-page,
body.dark-mode .menu-page .cat-button,
body.dark-mode .menu-page .product-item,
body.dark-mode .menu-page .tab-item,
body.dark-mode .menu-page .menu-search input,
body.dark-mode .menu-page .suggestion-item,
body.dark-mode .menu-page .sheet-box {
  color: #fafff5;
}

body.dark-mode .menu-page .tab-item.active {
  color: #ffffff;
}

.menu-page.is-open {
  display: block;
}

.menu-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(32, 61, 38, 0.04), rgba(32, 61, 38, 0.13));
  pointer-events: none;
}

body.dark-mode .menu-page::before {
  background:
    radial-gradient(circle at 20% 10%, rgba(12, 70, 39, 0.38), transparent 34%),
    radial-gradient(circle at 82% 82%, rgba(4, 42, 24, 0.42), transparent 38%),
    linear-gradient(145deg, rgba(1, 3, 2, 0.88), rgba(3, 17, 8, 0.66));
}

.menu-header {
  position: sticky;
  top: 0;
  z-index: 120;
  margin: 0 -20px 18px;
  padding: calc(12px + env(safe-area-inset-top, 0px)) 20px 12px;
  background: var(--menu-header-bg);
  backdrop-filter: blur(14px);
  isolation: isolate;
  overflow: visible;
}

.showcase-stage {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: 960px;
  aspect-ratio: 16 / 9;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  margin: 0 auto 20px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--accent-color) 38%, transparent);
  border-radius: 8px;
  background: linear-gradient(145deg, #2f6a45 0%, #5f8f60 64%, #8aa36c 100%);
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.16);
  padding: clamp(18px, 4vw, 52px);
  color: #ffffff;
}

.showcase-stage.is-video {
  max-width: 960px;
  aspect-ratio: 16 / 9;
  min-height: 0;
  padding: 0;
}

.showcase-stage.is-video::before,
.showcase-stage.is-video::after {
  display: none;
}

.showcase-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--showcase-image, none) center / cover no-repeat;
  transform: scale(1.01);
}

.showcase-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(36, 60, 44, 0.76) 0%, rgba(36, 60, 44, 0.36) 46%, rgba(36, 60, 44, 0.08) 100%),
    linear-gradient(180deg, rgba(24, 52, 36, 0.08), rgba(24, 52, 36, 0.28));
  pointer-events: none;
}

.showcase-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  max-width: min(430px, 64%);
  min-width: 0;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.46);
}

.showcase-copy span {
  width: max-content;
  max-width: 100%;
  border: 1px solid color-mix(in srgb, var(--accent-color) 36%, transparent);
  border-radius: 999px;
  padding: 7px 12px;
  background: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.92);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
  white-space: nowrap;
}

.showcase-copy h2 {
  font-family: var(--title-font);
  font-size: 3.35rem;
  line-height: 0.98;
  word-break: break-word;
}

.showcase-copy p {
  max-width: 44ch;
  font-size: clamp(0.86rem, 1.35vw, 1.1rem);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.86);
}

.showcase-copy strong {
  color: #ffffff;
  font-size: clamp(1rem, 2.2vw, 1.55rem);
}

.showcase-media {
  display: none;
}

.showcase-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 28px 34px rgba(0, 0, 0, 0.28));
}

.showcase-media img.is-logo-fallback {
  width: 48%;
  height: 48%;
  opacity: 0.88;
}

.showcase-video,
.showcase-video-embed {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

.showcase-loading {
  position: relative;
  z-index: 1;
  place-self: center;
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
}

.menu-topbar {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: minmax(128px, 1fr) minmax(0, auto) minmax(42px, 1fr);
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.menu-header-logo-box {
  width: min(390px, 58vw);
  min-width: 0;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  justify-self: center;
  align-self: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.menu-header-logo {
  width: 58px;
  height: 44px;
  flex: 0 0 auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 6px 14px rgba(47, 106, 69, 0.14));
}

.menu-header-brand-name {
  min-width: 0;
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: 0.25em;
  color: var(--text-color);
  font-family: "Tahmisci Poppins", Poppins, Arial, sans-serif;
  font-size: clamp(0.74rem, 2.15vw, 1.02rem);
  font-weight: 800;
  line-height: 1.12;
  text-align: center;
  overflow: visible;
  overflow-wrap: normal;
  white-space: normal;
}

.menu-header-brand-name span {
  white-space: nowrap;
}

.menu-header-brand-name span:first-child {
  font-family: "Magnolia Script", "Dancing Script", cursive;
  font-size: clamp(1.35rem, 3.4vw, 1.95rem);
  font-weight: 400;
  line-height: 0.95;
}

.menu-header-brand-name span:last-child {
  font-family: "Tahmisci Poppins", Poppins, Arial, sans-serif;
  font-size: 0.72em;
  letter-spacing: 0.04em;
}

body.dark-mode .menu-header-logo {
  filter: drop-shadow(0 8px 18px rgba(27, 42, 29, 0.28));
}

.menu-title {
  display: none;
}

.category-tabs {
  position: relative;
  z-index: 2;
}

.menu-theme-toggle {
  position: static;
  justify-self: end;
  width: 42px;
  height: 42px;
  background: var(--card-bg);
  border: 1px solid color-mix(in srgb, var(--accent-color) 60%, transparent);
}

.menu-search {
  position: relative;
  z-index: 10;
  min-width: 0;
  max-width: 280px;
}

.menu-search input {
  width: 100%;
  min-height: 42px;
  border: 1px solid color-mix(in srgb, var(--accent-color) 55%, transparent);
  border-radius: 999px;
  background: var(--card-bg);
  color: var(--text-color);
  outline: none;
  padding: 0 14px 0 42px;
  font-size: 13px;
}

.menu-search input::placeholder {
  color: color-mix(in srgb, var(--text-color) 72%, transparent);
}

.search-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  width: 13px;
  height: 13px;
  border: 2px solid var(--accent-color);
  border-radius: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.search-icon::after {
  content: "";
  position: absolute;
  right: -7px;
  bottom: -5px;
  width: 8px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent-color);
  transform: rotate(45deg);
}

.search-suggestions {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 60;
  width: min(420px, calc(100vw - 40px));
  display: grid;
  gap: 6px;
  max-height: min(320px, calc(100dvh - 190px));
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 8px;
  border: 1px solid var(--accent-color);
  border-radius: 14px;
  background: color-mix(in srgb, var(--bg-color) 94%, #ffffff 6%);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
}

.search-suggestions[hidden] {
  display: none !important;
}

.suggestion-item {
  display: grid;
  gap: 2px;
  padding: 9px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-color);
  text-align: left;
}

.suggestion-item strong {
  font-size: 13px;
}

.suggestion-item span {
  font-size: 10px;
  opacity: 0.76;
}

.category-tabs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.category-tabs::-webkit-scrollbar {
  display: none;
}

.tab-item {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid color-mix(in srgb, #2f6a45 34%, transparent);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.58), rgba(224, 237, 215, 0.86)),
    #e0edd7;
  color: #243c2c;
  font-size: 11px;
  font-family: var(--category-font);
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: nowrap;
}

.tab-item small {
  margin-left: 6px;
  opacity: 0.68;
  font-size: 10px;
}

.tab-item.active {
  border-color: #2f6a45;
  background: linear-gradient(145deg, #2f6a45, #1f4d31);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(47, 106, 69, 0.18);
}

body.dark-mode .tab-item {
  border-color: rgba(228, 242, 201, 0.28);
  background: linear-gradient(145deg, #07170f, #0d2b1a);
  color: #fafff5;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.22);
}

body.dark-mode .tab-item.active {
  border-color: #e4f2c9;
  background: linear-gradient(145deg, #e4f2c9, #9fcf7b);
  color: #07170f;
  text-shadow: none;
}

body:not(.dark-mode) .menu-page .tab-item.active {
  border-color: #2f6a45;
  background: linear-gradient(145deg, #2f6a45, #1f4d31);
  color: #ffffff;
}

body.dark-mode .menu-page .tab-item.active {
  border-color: #e4f2c9;
  background: linear-gradient(145deg, #e4f2c9, #9fcf7b);
  color: #07170f;
  text-shadow: none;
}

.category-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 820px;
  margin: 0 auto;
}

.cat-card {
  position: relative;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--accent-color) 54%, transparent);
  border-left-width: 5px;
  border-radius: 8px;
  background-color: var(--category-card-bg);
  background-position: center;
  background-size: cover;
  scroll-margin-top: 130px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

body:not(.dark-mode) .cat-card {
  border-color: color-mix(in srgb, #2f6a45 48%, transparent);
  box-shadow: 0 14px 32px rgba(47, 106, 69, 0.08);
}

body.dark-mode .cat-card {
  border-color: rgba(228, 242, 201, 0.32);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
}

.cat-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, calc(0.06 + var(--card-overlay, 0) * 0.12)), rgba(255, 255, 255, 0));
  pointer-events: none;
}

body.dark-mode .cat-card::before {
  background: linear-gradient(90deg, rgba(0, 0, 0, calc(0.2 + var(--card-overlay, 0))), rgba(0, 0, 0, 0.02));
}

.cat-card.is-open {
  transform: translateY(-1px);
}

.cat-button {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 20px;
  background: transparent;
  color: var(--text-color);
  text-align: left;
}

.cat-info h3 {
  font-family: var(--category-font);
  font-size: var(--category-title-size);
  line-height: 1.1;
}

.cat-info span {
  display: inline-block;
  margin-top: 5px;
  font-size: 12px;
  opacity: 0.75;
}

.arrow-icon {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--accent-color) 70%, transparent);
  transition: transform 0.22s ease;
}

.cat-card.is-open .arrow-icon {
  transform: rotate(180deg);
}

.product-details {
  position: relative;
  z-index: 1;
  display: none;
  padding: 0 14px 16px;
}

.cat-card.is-open .product-details {
  display: block;
}

.product-grid,
.popular-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.product-item {
  position: relative;
  min-width: 0;
  min-height: 190px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  border: 1px solid color-mix(in srgb, var(--accent-color) 28%, transparent);
  border-radius: 8px;
  background: var(--product-card-bg);
  color: var(--text-color);
  padding: 10px;
  text-align: center;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.product-item.is-highlighted {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-color) 28%, transparent);
  transform: translateY(-2px);
}

.prod-img {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 0;
  max-height: none;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 8px;
  background: color-mix(in srgb, var(--bg-color) 72%, #ffffff 12%);
  margin-bottom: 8px;
}

.prod-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.prod-img.is-theme-logo-frame {
  background: color-mix(in srgb, var(--product-card-bg) 86%, #ffffff 14%);
}

.prod-img img.is-theme-logo {
  width: 74%;
  height: 74%;
  object-fit: contain;
  filter: drop-shadow(0 6px 12px rgba(47, 106, 69, 0.18));
}

body.dark-mode .prod-img.is-theme-logo-frame {
  background: color-mix(in srgb, var(--product-card-bg) 82%, #e4f2c9 18%);
}

body.dark-mode .prod-img img.is-theme-logo {
  filter: drop-shadow(0 8px 16px rgba(37, 58, 39, 0.26));
}

.media-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.prod-img .image-fallback {
  width: 74%;
  height: 74%;
  object-fit: contain;
}

.price-container {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
}

.price-container h4 {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--product-font);
  font-size: var(--product-title-size);
  line-height: 1.18;
  word-break: break-word;
}

.product-desc {
  font-size: var(--product-desc-size);
  line-height: 1.35;
  opacity: 0.72;
}

.product-ingredients {
  border-top: 1px solid color-mix(in srgb, var(--accent-color) 24%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--accent-color) 18%, transparent);
  padding: 6px 0;
  font-size: var(--product-ingredients-size);
  font-weight: 600;
  line-height: 1.35;
  opacity: 0.84;
  word-break: break-word;
}

.product-meta {
  display: grid;
  gap: 2px;
  font-size: 8.5px;
  line-height: 1.25;
  opacity: 0.72;
}

.price-row-inline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: var(--product-price-size);
  font-weight: 700;
  line-height: 1.3;
}

.price-divider {
  opacity: 0.36;
}

.popular-star {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.48);
  color: #f8d56b;
  font-size: 17px;
  line-height: 1;
}

.empty-state {
  max-width: 620px;
  margin: 18px auto;
  border: 1px dashed var(--accent-color);
  border-radius: 12px;
  padding: 18px;
  text-align: center;
  font-size: 13px;
}

.bottom-menu-bar {
  position: fixed;
  left: 50%;
  right: auto;
  bottom: calc(12px + var(--panel-safe-bottom));
  z-index: 140;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 74px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: center;
  gap: 8px;
  row-gap: 6px;
  width: min(820px, calc(100vw - 40px));
  isolation: isolate;
  transform: translateX(-50%);
}

.bottom-menu-bar::before {
  content: "";
  position: absolute;
  left: 50%;
  right: auto;
  top: -12px;
  bottom: calc(-12px - var(--panel-safe-bottom));
  z-index: -1;
  width: 100vw;
  border-radius: 0;
  border-top: 1px solid color-mix(in srgb, var(--accent-color) 26%, transparent);
  background: var(--bg-color);
  pointer-events: none;
  transform: translateX(-50%);
}

body.dark-mode .bottom-menu-bar::before {
  background: linear-gradient(145deg, #010302 0%, #031108 58%, #062817 100%);
}

.dock-button {
  position: relative;
  overflow: hidden;
  min-height: 64px;
  border: 1px solid rgba(228, 242, 201, 0.46);
  border-radius: 0 0 12px 12px;
  background:
    linear-gradient(145deg, rgba(9, 52, 29, 0.98) 0%, rgba(4, 28, 16, 0.98) 54%, rgba(16, 74, 43, 0.98) 100%) !important;
  background-position: center;
  background-size: cover;
  color: #fafff5;
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.25);
  font-size: 12px;
  font-weight: 700;
  isolation: isolate;
  padding: 0 12px;
}

.dock-button::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(0, 0, 0, var(--card-overlay, 0));
  pointer-events: none;
}

.dock-button:first-child {
  margin-right: 0;
}

.dock-button:last-child {
  margin-left: 0;
}

.dock-home {
  position: relative;
  z-index: 2;
  width: 74px;
  height: 74px;
  justify-self: center;
  border: 2px solid rgba(228, 242, 201, 0.58);
  border-radius: 50%;
  background:
    linear-gradient(145deg, rgba(9, 52, 29, 0.98) 0%, rgba(4, 28, 16, 0.98) 54%, rgba(16, 74, 43, 0.98) 100%) !important;
  color: #fafff5;
  box-shadow: 0 12px 38px rgba(0, 0, 0, 0.32);
  font-family: var(--title-font);
  font-size: 15px;
  font-weight: 700;
}

.menu-update-line {
  grid-column: 1 / -1;
  min-height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid color-mix(in srgb, var(--accent-color) 42%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--bg-color) 88%, #ffffff 8%);
  color: var(--text-color);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.1;
  padding: 4px 10px;
  white-space: nowrap;
}

.menu-update-line[hidden] {
  display: none !important;
}

.modal-overlay,
.sheet-overlay {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: none;
  justify-content: center;
  align-items: center;
  padding: 18px;
  background: rgba(0, 0, 0, 0.7);
}

.modal-overlay.is-open,
.sheet-overlay.is-open {
  display: flex;
}

.modal-box {
  position: relative;
  width: min(84vw, 380px);
  border: 2px solid var(--accent-color);
  border-radius: 15px;
  background-color: var(--bg-color);
  color: var(--text-color);
  padding: 30px 20px;
  text-align: center;
}

.modal-box h3 {
  margin-bottom: 15px;
  font-family: var(--title-font);
}

.modal-box p {
  font-size: 14px;
  line-height: 1.5;
}

.feedback-box {
  position: relative;
  width: min(92vw, 430px);
  max-height: min(88dvh, 720px);
  overflow-y: auto;
  border: 1px solid var(--accent-color);
  border-radius: 14px;
  background: color-mix(in srgb, var(--bg-color) 94%, #ffffff 6%);
  color: var(--text-color);
  padding: 22px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.feedback-box h3 {
  margin: 0 0 14px;
  font-family: var(--title-font);
  font-size: 1.25rem;
}

.feedback-form-grid,
.favorite-field {
  display: grid;
  gap: 10px;
}

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

.feedback-type-grid label {
  position: relative;
}

.feedback-type-grid input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.feedback-type-grid span,
.feedback-submit,
.feedback-reset,
.favorite-send {
  min-height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--accent-color) 55%, transparent);
  border-radius: 10px;
  background: var(--card-bg);
  color: var(--text-color);
  font-size: 12px;
  font-weight: 800;
}

.feedback-type-grid input:checked + span,
.feedback-submit,
.favorite-send {
  background: var(--accent-color);
  color: var(--btn-text);
}

.feedback-actions {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: 8px;
}

.feedback-reset {
  background: color-mix(in srgb, var(--bg-color) 82%, #ffffff 10%);
}

.feedback-box textarea,
.favorite-field input {
  width: 100%;
  border: 1px solid color-mix(in srgb, var(--accent-color) 55%, transparent);
  border-radius: 10px;
  background: var(--card-bg);
  color: var(--text-color);
  outline: none;
}

.feedback-box textarea {
  min-height: 112px;
  resize: vertical;
  padding: 12px;
  line-height: 1.45;
}

.rating-row {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 4px 0 2px;
}

.rating-row span,
.favorite-field label {
  font-size: 12px;
  font-weight: 800;
  opacity: 0.84;
}

.rating-star {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--bg-color) 78%, #ffffff 10%);
  color: color-mix(in srgb, var(--text-color) 60%, transparent);
  font-size: 19px;
}

.rating-star.is-active {
  color: #f8d56b;
}

.favorite-input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.favorite-field input {
  min-height: 42px;
  padding: 0 12px;
}

.favorite-suggestions {
  display: grid;
  gap: 6px;
}

.favorite-suggestion {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid color-mix(in srgb, var(--accent-color) 38%, transparent);
  border-radius: 9px;
  background: color-mix(in srgb, var(--bg-color) 88%, #ffffff 8%);
  color: var(--text-color);
  padding: 8px 10px;
  text-align: left;
}

.favorite-suggestion span {
  opacity: 0.7;
  font-size: 11px;
}

.feedback-status {
  min-height: 18px;
  font-size: 12px;
  font-weight: 750;
  opacity: 0.82;
}

.about-copy {
  display: grid;
  gap: 12px;
}

.about-copy p {
  text-align: justify;
  text-align-last: left;
  hyphens: auto;
}

.about-copy .about-signature {
  text-align: center;
  text-align-last: center;
  font-family: var(--title-font);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.close-btn,
.sheet-close {
  color: var(--text-color);
  background: transparent;
  font-size: 26px;
  line-height: 1;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
}

.sheet-box {
  width: min(620px, 100%);
  max-height: min(76dvh, 720px);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--accent-color);
  border-radius: 18px;
  background: color-mix(in srgb, var(--bg-color) 94%, #ffffff 6%);
  color: var(--text-color);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid color-mix(in srgb, var(--accent-color) 48%, transparent);
}

.sheet-head h2 {
  font-family: var(--title-font);
  font-size: 1.15rem;
}

.sheet-body {
  overflow-y: auto;
  padding: 16px;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.choice-btn {
  min-height: 88px;
  border: 1px solid var(--accent-color);
  border-radius: 14px;
  background: var(--card-bg);
  color: var(--text-color);
  font-weight: 700;
}

.recommendation-card {
  width: min(260px, 78vw);
  min-height: min(260px, 78vw);
  display: grid;
  place-items: center;
  margin: 8px auto;
  border: 2px solid var(--accent-color);
  border-radius: 50%;
  background: var(--card-bg);
  padding: 28px;
  text-align: center;
}

.recommendation-card h3 {
  font-family: var(--product-font);
  font-size: 1.05rem;
  line-height: 1.2;
}

.recommendation-card p {
  margin-top: 10px;
  font-size: 12px;
  opacity: 0.78;
}

@media (min-width: 680px) {
  .menu-page {
    padding-left: max(20px, calc((100vw - 1180px) / 2));
    padding-right: max(20px, calc((100vw - 1180px) / 2));
  }

  .menu-header {
    margin-left: calc(max(20px, calc((100vw - 1180px) / 2)) * -1);
    margin-right: calc(max(20px, calc((100vw - 1180px) / 2)) * -1);
    padding-left: max(20px, calc((100vw - 1180px) / 2));
    padding-right: max(20px, calc((100vw - 1180px) / 2));
  }
}

@media (min-width: 900px) {
  .product-grid,
  .popular-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .menu-topbar {
    grid-template-columns: minmax(0, 1fr) minmax(0, 120px) 42px;
    gap: 8px;
  }

  .menu-header-logo-box {
    width: auto;
    min-height: 42px;
    gap: 0;
    justify-self: center;
    overflow: visible;
  }

  .menu-header-logo {
    display: none;
  }

  .menu-header-brand-name {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 1rem;
    line-height: 1;
    white-space: normal;
  }

  .menu-header-brand-name span:first-child {
    font-size: clamp(1.55rem, 7vw, 1.9rem);
  }

  .menu-header-brand-name span:last-child {
    display: block;
    margin-top: 2px;
    font-size: clamp(0.44rem, 1.8vw, 0.56rem);
    line-height: 1;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .menu-theme-toggle {
    justify-self: end;
    width: 42px;
    height: 42px;
  }

  .showcase-stage {
    aspect-ratio: 16 / 9;
    min-height: 0;
    grid-template-columns: 1fr;
    align-items: end;
    padding: 18px;
  }

  .showcase-stage.is-video {
    aspect-ratio: 16 / 9;
    min-height: 0;
    align-items: end;
  }

  .showcase-copy {
    max-width: 82%;
    gap: 8px;
  }

  .showcase-copy h2 {
    font-size: 2.15rem;
  }

  .showcase-copy p {
    font-size: 0.88rem;
  }

  .showcase-media {
    display: none;
  }

  .bottom-menu-bar {
    width: min(820px, calc(100vw - 40px));
    grid-template-columns: minmax(0, 1fr) 68px minmax(0, 1fr);
    gap: 6px;
  }

  .dock-button {
    min-height: 58px;
    border-radius: 0 0 10px 10px;
    font-size: 11px;
    line-height: 1.15;
    padding: 0 8px;
  }

  .dock-home {
    width: 68px;
    height: 68px;
    font-size: 13px;
  }
}

@media (max-width: 360px) {
  .menu-topbar {
    grid-template-columns: minmax(0, 1fr) minmax(0, 106px) 38px;
    gap: 6px;
  }

  .menu-header-logo-box {
    width: auto;
  }

  .menu-header-brand-name {
    font-size: 1rem;
  }

  .menu-header-brand-name span:first-child {
    font-size: 1.5rem;
  }

  .menu-header-brand-name span:last-child {
    font-size: 0.46rem;
    letter-spacing: 0.06em;
  }

  .menu-title {
    font-size: var(--menu-title-size);
  }

  .menu-search input {
    font-size: 12px;
    padding-left: 36px;
  }

  .tab-item {
    padding-inline: 11px;
  }

  .product-grid,
  .popular-grid {
    gap: 8px;
  }

  .product-item {
    padding: 8px;
  }

  .price-row-inline {
    font-size: 9px;
  }

  .bottom-menu-bar {
    width: calc(100vw - 40px);
    grid-template-columns: minmax(0, 1fr) 62px minmax(0, 1fr);
  }

  .dock-button {
    min-height: 54px;
    font-size: 10px;
  }

  .dock-home {
    width: 62px;
    height: 62px;
    font-size: 12px;
  }
}

@supports not (background: color-mix(in srgb, #000 50%, #fff 50%)) {
  .menu-header,
  .dock-button,
  .sheet-box {
    background: var(--bg-color);
  }

  .menu-search input,
  .menu-theme-toggle {
    border-color: var(--accent-color);
  }
}
