:root {
  --bg: #f9e8d2;
  --bg-deep: #4a0404;
  --bg-mid: #f7e1c8;
  --header-bg: #4a0404;
  --ink: #2d1410;
  --ink-soft: #5c4540;
  --line: rgba(45, 20, 16, 0.12);
  --accent: #a51c1c;
  --accent-hover: #8a1818;
  --accent-rgb: 165, 28, 28;
  --accent-soft: rgba(var(--accent-rgb), 0.12);
  --accent-softer: rgba(var(--accent-rgb), 0.06);
  --surface: rgba(253, 245, 230, 0.72);
  --surface-solid: #fdf5e6;
  --text-on-dark: #f9f0e8;
  --text-on-dark-soft: rgba(249, 240, 232, 0.78);
  --danger: #9b3b3b;
  --ok: #2f6b45;
  --shadow: 0 16px 40px rgba(0, 0, 0, 0.16);
  --radius: 22px;
  --radius-sm: 14px;
  --font-display: "Zen Maru Gothic", "Manrope", sans-serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
  --font-menu-title: "Pattaya", "Zen Maru Gothic", cursive;
  --container: 1140px;
  --header-h: 76px;
  --nav-frame-gold: #c5a059;
  --nav-frame-gold-bright: #e2c878;
  --nav-frame-gold-deep: #9a7840;
  --nav-frame-chamfer: 9px;
  --nav-frame-clip: polygon(
    var(--nav-frame-chamfer) 0%,
    calc(100% - var(--nav-frame-chamfer)) 0%,
    100% var(--nav-frame-chamfer),
    100% calc(100% - var(--nav-frame-chamfer)),
    calc(100% - var(--nav-frame-chamfer)) 100%,
    var(--nav-frame-chamfer) 100%,
    0% calc(100% - var(--nav-frame-chamfer)),
    0% var(--nav-frame-chamfer)
  );
  --nav-frame-clip-inner: polygon(
    calc(var(--nav-frame-chamfer) - 2px) 0%,
    calc(100% - var(--nav-frame-chamfer) + 2px) 0%,
    100% calc(var(--nav-frame-chamfer) - 2px),
    100% calc(100% - var(--nav-frame-chamfer) + 2px),
    calc(100% - var(--nav-frame-chamfer) + 2px) 100%,
    calc(var(--nav-frame-chamfer) - 2px) 100%,
    0% calc(100% - var(--nav-frame-chamfer) + 2px),
    0% calc(var(--nav-frame-chamfer) - 2px)
  );
  --product-card-bg: #fcf5ec;
  --product-card-border: #c9a057;
  --product-card-ink: #4a2b29;
  --product-card-ink-soft: #7a5c52;
  --product-card-ribbon: #8b0000;
  --product-corner-tl: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56' fill='none'%3E%3Cg stroke='%23c9a057' stroke-width='1.55' stroke-linecap='square' stroke-linejoin='miter'%3E%3Cpath d='M5 36V5h31'/%3E%3Cpath d='M5 24h11V13h11V5'/%3E%3Cpath d='M16 13v11h11'/%3E%3Cpath d='M16 24v12M27 13h12'/%3E%3C/g%3E%3C/svg%3E");
  --product-corner-tr: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56' fill='none'%3E%3Cg stroke='%23c9a057' stroke-width='1.55' stroke-linecap='square' stroke-linejoin='miter' transform='translate(56 0) scale(-1 1)'%3E%3Cpath d='M5 36V5h31'/%3E%3Cpath d='M5 24h11V13h11V5'/%3E%3Cpath d='M16 13v11h11'/%3E%3Cpath d='M16 24v12M27 13h12'/%3E%3C/g%3E%3C/svg%3E");
  --product-corner-bl: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56' fill='none'%3E%3Cg stroke='%23c9a057' stroke-width='1.55' stroke-linecap='square' stroke-linejoin='miter' transform='translate(0 56) scale(1 -1)'%3E%3Cpath d='M5 36V5h31'/%3E%3Cpath d='M5 24h11V13h11V5'/%3E%3Cpath d='M16 13v11h11'/%3E%3Cpath d='M16 24v12M27 13h12'/%3E%3C/g%3E%3C/svg%3E");
  --product-corner-br: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56' fill='none'%3E%3Cg stroke='%23c9a057' stroke-width='1.55' stroke-linecap='square' stroke-linejoin='miter' transform='translate(56 56) scale(-1 -1)'%3E%3Cpath d='M5 36V5h31'/%3E%3Cpath d='M5 24h11V13h11V5'/%3E%3Cpath d='M16 13v11h11'/%3E%3Cpath d='M16 24v12M27 13h12'/%3E%3C/g%3E%3C/svg%3E");
  --product-cloud: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='60' viewBox='0 0 120 60' fill='none'%3E%3Cpath d='M10 42c8-8 18-8 26 0s18 8 26 0 18-8 26 0' stroke='%23d2b48c' stroke-width='1' opacity='0.35'/%3E%3Cpath d='M0 50c10-6 20-6 30 0s20 6 30 0 20-6 30 0' stroke='%23d2b48c' stroke-width='0.8' opacity='0.22'/%3E%3C/svg%3E");
  --product-wave-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0 0h100v78c-8 10-18 12-28 6s-20-6-32 2-22 4-32-4-8-10-8-10V0z' fill='white'/%3E%3C/svg%3E");
  --category-frame-bg: #f9f3e8;
  --category-frame-border: #c5a373;
  --category-frame-ink: #3a2a28;
  --category-frame-chamfer: 8px;
  --category-frame-clip: polygon(
    var(--category-frame-chamfer) 0%,
    calc(100% - var(--category-frame-chamfer)) 0%,
    100% var(--category-frame-chamfer),
    100% calc(100% - var(--category-frame-chamfer)),
    calc(100% - var(--category-frame-chamfer)) 100%,
    var(--category-frame-chamfer) 100%,
    0% calc(100% - var(--category-frame-chamfer)),
    0% var(--category-frame-chamfer)
  );
  --category-frame-clip-inner: polygon(
    calc(var(--category-frame-chamfer) - 2px) 0%,
    calc(100% - var(--category-frame-chamfer) + 2px) 0%,
    100% calc(var(--category-frame-chamfer) - 2px),
    100% calc(100% - var(--category-frame-chamfer) + 2px),
    calc(100% - var(--category-frame-chamfer) + 2px) 100%,
    calc(var(--category-frame-chamfer) - 2px) 100%,
    0% calc(100% - var(--category-frame-chamfer) + 2px),
    0% calc(var(--category-frame-chamfer) - 2px)
  );
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
  background-color: var(--bg);
  color-scheme: light;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-body);
  color: var(--ink);
  background-color: var(--bg);
  background:
    radial-gradient(900px 420px at 8% 0%, rgba(249, 232, 210, 0.9), transparent 55%),
    radial-gradient(700px 380px at 100% 10%, rgba(247, 225, 200, 0.7), transparent 50%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-mid) 100%);
  line-height: 1.55;
  overflow-x: hidden;
}

body > main {
  flex: 1 0 auto;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

/* Decor � sakura (?????? ???? ????????) */
.hero-decor {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.decor-sakura {
  position: absolute;
  max-width: none;
  max-height: 100%;
  width: min(520px, 44vw);
  height: auto;
  object-fit: contain;
  opacity: 1;
}

.decor-sakura--left {
  top: 0;
  left: 0;
  object-position: left top;
  transform-origin: left top;
  animation: sway 8s ease-in-out infinite;
}

.decor-sakura--right {
  top: 0;
  right: 0;
  object-position: right top;
  transform-origin: right top;
  animation: sway 8s ease-in-out infinite;
  animation-delay: -3s;
}

@keyframes sway {
  0%,
  100% { transform: rotate(-1deg) translateY(0); }
  50% { transform: rotate(1deg) translateY(4px); }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  background: var(--header-bg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  overflow: visible;
}

.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1.5rem;
}

.logo {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.2vw, 3.25rem);
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1;
  color: var(--text-on-dark);
  flex-shrink: 0;
}

.logo-footer {
  font-size: 1.45rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  overflow: visible;
}

.nav-link,
.cart-nav-btn {
  position: relative;
  z-index: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 38px;
  padding: 0.5rem 1.15rem;
  border: none;
  border-radius: 0;
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff;
  background: transparent;
  clip-path: var(--nav-frame-clip);
  transition: color 0.2s ease, filter 0.2s ease;
}

.nav-link::before,
.cart-nav-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  clip-path: var(--nav-frame-clip);
  background: linear-gradient(
    155deg,
    var(--nav-frame-gold-bright) 0%,
    var(--nav-frame-gold) 42%,
    var(--nav-frame-gold-deep) 100%
  );
  transition: background 0.2s ease, filter 0.2s ease;
}

.nav-link::after,
.cart-nav-btn::after {
  content: "";
  position: absolute;
  inset: 2px;
  z-index: -1;
  clip-path: var(--nav-frame-clip-inner);
  background: var(--header-bg);
  box-shadow: inset 0 0 0 1px rgba(197, 160, 89, 0.58);
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.nav-link:hover::before,
.cart-nav-btn:hover::before,
.nav-link.is-active::before,
.cart-nav-btn:focus-visible::before {
  background: linear-gradient(
    155deg,
    #f0dfa0 0%,
    var(--nav-frame-gold-bright) 40%,
    var(--nav-frame-gold) 100%
  );
}

.nav-link:hover::after,
.cart-nav-btn:hover::after {
  background: #5c0a0a;
  box-shadow: inset 0 0 0 1px rgba(226, 200, 120, 0.72);
}

.nav-link.is-active::after {
  background: var(--accent);
  box-shadow: inset 0 0 0 1px rgba(226, 200, 120, 0.78);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(249, 240, 232, 0.28);
  background: transparent;
  padding: 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--text-on-dark);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

body.nav-open .nav-toggle span:first-child {
  transform: translateY(3.75px) rotate(45deg);
}

body.nav-open .nav-toggle span:last-child {
  transform: translateY(-3.75px) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  z-index: 1;
  min-height: auto;
  display: grid;
  align-items: center;
  padding: 2rem 0 1rem;
  overflow: hidden;
  background-color: var(--bg);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.5rem 2rem;
  align-items: center;
}

.hero-copy {
  min-width: 0;
  animation: rise-in 0.8s ease both;
}

.hero h1 {
  margin: 0 0 1.1rem;
  font-size: inherit;
  font-weight: inherit;
  max-width: none;
}

.hero-line1,
.hero-line2 {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
}

.hero-line1 {
  font-size: clamp(1.75rem, 3.4vw, 2.55rem);
}

.hero-line2 {
  margin-top: 0.2rem;
  font-size: clamp(1.75rem, 3.4vw, 2.55rem);
}

.hero-brand {
  display: inline;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.2vw, 3.8rem);
  font-weight: 900;
  color: var(--accent);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.hero-lead {
  margin: 0;
  max-width: 42ch;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.hero-art {
  position: relative;
  min-height: 380px;
  display: grid;
  place-items: center;
  animation: float-in 1s ease both 0.15s;
}

.hero-art-frame {
  width: min(100%, 560px);
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  overflow: visible;
  background: transparent;
}

.hero-cat-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 18px 30px rgba(74, 4, 4, 0.22));
  animation: bob 4.5s ease-in-out infinite;
}

/* Menu categories */
.menu-section {
  position: relative;
  z-index: 1;
  padding: 1.25rem 0 2rem;
  background: #4a0404;
  color: var(--text-on-dark);
}

.menu-section .section-head h2 {
  color: var(--text-on-dark);
}

.menu-section .section-line {
  background: var(--accent);
}

/* Catalog page � same bg as �???? ????� */
.catalog-menu {
  position: relative;
  overflow: hidden;
  background: #4a0404;
}

.catalog-menu-decor {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.decor-sakura--menu-left {
  top: 0;
  left: 0;
  width: min(420px, 48vw);
  max-height: min(720px, 90vh);
  object-position: left top;
  transform-origin: left top;
  animation: sway 8s ease-in-out infinite;
}

.decor-lantern {
  position: absolute;
  top: -0.35rem;
  max-width: none;
  height: auto;
  object-fit: contain;
  pointer-events: none;
  mix-blend-mode: screen;
  transform-origin: 50% 0%;
}

.decor-lantern--big {
  right: 4.5rem;
  width: min(150px, 22vw);
  z-index: 1;
  animation:
    lantern-sway 5.2s ease-in-out infinite,
    lantern-glow 3.1s ease-in-out infinite;
}

.decor-lantern--small {
  right: 0.4rem;
  top: 0;
  width: min(98px, 15vw);
  z-index: 2;
  animation:
    lantern-sway 4.4s ease-in-out infinite reverse,
    lantern-glow 2.4s ease-in-out infinite 0.6s;
}

.catalog-menu .page-intro,
.catalog-menu .section {
  position: relative;
  z-index: 1;
}

.catalog-menu .page-intro {
  text-align: center;
  padding: 2.5rem 0 1.25rem;
}

.catalog-menu .page-intro h1 {
  margin: 0;
  font-family: var(--font-menu-title);
  font-size: clamp(3.6rem, 9vw, 6.5rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.02em;
  color: #f3e4d4;
  text-shadow:
    0 1px 0 rgba(74, 4, 4, 0.35),
    0 8px 24px rgba(0, 0, 0, 0.28);
}

.catalog-menu .filter-btn {
  color: var(--category-frame-ink);
  border: none;
  background: transparent;
}

.catalog-menu .filter-btn:hover,
.catalog-menu .filter-btn.is-active {
  color: #fff;
}

.catalog-menu .filter-btn:hover::after,
.catalog-menu .filter-btn.is-active::after {
  background: var(--accent);
  box-shadow: inset 0 0 0 1px rgba(197, 163, 115, 0.55);
}

.catalog-menu .filter-btn:hover::before,
.catalog-menu .filter-btn.is-active::before {
  background: linear-gradient(155deg, #e2c878 0%, #c5a373 50%, #a67c52 100%);
}

.catalog-menu .catalog-empty {
  color: var(--text-on-dark-soft);
  background: rgba(253, 245, 230, 0.12);
  border-color: rgba(249, 240, 232, 0.28);
}

.catalog-menu .menu-search-input {
  border-color: rgba(249, 240, 232, 0.35);
  background: rgba(253, 245, 230, 0.92);
  color: #3b241c;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.catalog-menu .menu-search-input::placeholder {
  color: rgba(59, 36, 28, 0.5);
}

.catalog-menu .menu-search-input:focus {
  border-color: rgba(226, 200, 120, 0.9);
  box-shadow: 0 0 0 3px rgba(226, 200, 120, 0.28);
}

.section-head--center {
  text-align: center;
  max-width: none;
  margin-inline: auto;
}

.section-line {
  display: block;
  width: 56px;
  height: 3px;
  margin: 0.75rem auto 0;
  border-radius: 999px;
  background: var(--accent);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.menu-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  padding: 1.25rem 1rem 1.15rem;
  border-radius: var(--radius);
  background: var(--surface-solid);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.menu-card:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--accent-rgb), 0.35);
}

.menu-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  color: var(--accent);
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  background: var(--accent-softer);
}

.menu-icon svg {
  width: 30px;
  height: 30px;
}

.menu-title {
  position: relative;
  z-index: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 40px;
  padding: 0.45rem 0.95rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.2;
  text-align: center;
  color: var(--category-frame-ink);
  background: transparent;
  border: none;
  border-radius: 0;
  clip-path: var(--category-frame-clip);
}

.menu-title::before,
.filter-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  clip-path: var(--category-frame-clip);
  background: linear-gradient(
    155deg,
    #e2c878 0%,
    var(--category-frame-border) 45%,
    #a67c52 100%
  );
}

.menu-title::after,
.filter-btn::after {
  content: "";
  position: absolute;
  inset: 2px;
  z-index: -1;
  clip-path: var(--category-frame-clip-inner);
  background: var(--category-frame-bg);
  box-shadow: inset 0 0 0 1px rgba(197, 163, 115, 0.55);
}

.menu-card:hover .menu-title::before {
  background: linear-gradient(
    155deg,
    #f0dfa0 0%,
    #e2c878 40%,
    var(--category-frame-border) 100%
  );
}

.menu-btn {
  width: 100%;
  min-height: 110px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
  border: 1.5px dashed rgba(var(--accent-rgb), 0.45);
  background: linear-gradient(180deg, var(--accent-softer), rgba(255, 255, 255, 0.4));
  color: var(--accent);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.menu-card:hover .menu-btn {
  border-style: solid;
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.menu-btn--photo {
  padding: 0;
  overflow: hidden;
  border-style: solid;
  border-color: rgba(var(--accent-rgb), 0.2);
  background: #fff;
}

.menu-btn--photo img {
  width: 100%;
  height: 100%;
  min-height: 110px;
  object-fit: cover;
  display: block;
}

.menu-card:hover .menu-btn--photo {
  background: #fff;
}

/* Buttons � ? ????? ????????? �???????� */
.btn {
  position: relative;
  z-index: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 38px;
  padding: 0.5rem 1.15rem;
  border: none;
  border-radius: 0;
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff;
  background: transparent;
  clip-path: var(--nav-frame-clip);
  transition: color 0.2s ease, filter 0.2s ease, opacity 0.2s ease;
}

.btn-primary,
.btn-ghost {
  color: #fff;
  background: transparent;
  border: none;
}

.btn-primary::before,
.btn-ghost::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  clip-path: var(--nav-frame-clip);
  background: linear-gradient(
    155deg,
    var(--nav-frame-gold-bright) 0%,
    var(--nav-frame-gold) 42%,
    var(--nav-frame-gold-deep) 100%
  );
  transition: background 0.2s ease, filter 0.2s ease;
}

.btn-primary::after,
.btn-ghost::after {
  content: "";
  position: absolute;
  inset: 2px;
  z-index: -1;
  clip-path: var(--nav-frame-clip-inner);
  background: var(--header-bg);
  box-shadow: inset 0 0 0 1px rgba(197, 160, 89, 0.58);
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover,
.btn-ghost:hover,
.btn-primary:focus-visible,
.btn-ghost:focus-visible {
  color: #fff;
  background: transparent;
  border: none;
  outline: none;
}

.btn-primary:hover::before,
.btn-ghost:hover::before,
.btn-primary:focus-visible::before,
.btn-ghost:focus-visible::before {
  background: linear-gradient(
    155deg,
    #f0dfa0 0%,
    var(--nav-frame-gold-bright) 40%,
    var(--nav-frame-gold) 100%
  );
}

.btn-primary:hover::after,
.btn-ghost:hover::after,
.btn-primary:focus-visible::after,
.btn-ghost:focus-visible::after {
  background: #5c0a0a;
  box-shadow: inset 0 0 0 1px rgba(226, 200, 120, 0.72);
}

.btn:disabled,
.btn-primary:disabled,
.btn-ghost:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}

/* Sections */
.section {
  position: relative;
  z-index: 1;
  padding: 4rem 0;
}

.products-section {
  background: #5a1010;
}

.products-section .section-head h2,
.products-section .section-head p {
  color: var(--text-on-dark);
}

.section-head {
  margin-bottom: 2.25rem;
  max-width: 36rem;
  animation: rise-in 0.8s ease both;
}

.section-head h2,
.page-intro h1,
.profile-block h3 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.01em;
}

.section-head h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.section-head p,
.page-intro p {
  margin: 0;
  color: var(--ink-soft);
}

.page-intro {
  position: relative;
  z-index: 1;
  padding: 3.25rem 0 0.5rem;
}

.page-intro h1 {
  font-size: clamp(2rem, 4vw, 3rem);
}

/* Products */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.product-card {
  animation: rise-in 0.7s ease both;
  cursor: pointer;
}

.product-card:nth-child(2) { animation-delay: 0.08s; }
.product-card:nth-child(3) { animation-delay: 0.16s; }
.product-card:nth-child(4) { animation-delay: 0.24s; }
.product-card:nth-child(5) { animation-delay: 0.32s; }
.product-card:nth-child(6) { animation-delay: 0.4s; }

.product-card-frame {
  position: relative;
  display: grid;
  gap: 0;
  min-height: 100%;
  padding: 1.15rem 1.1rem 1.2rem;
  border: none;
  border-radius: 0;
  background-color: var(--product-card-bg);
  background-image: none;
  box-shadow: 0 10px 28px rgba(74, 43, 41, 0.14);
  overflow: hidden;
}

.product-card-frame::before,
.product-card-frame::after {
  content: none;
}

.product-visual {
  position: relative;
  z-index: 1;
  aspect-ratio: 5 / 3.6;
  margin-bottom: 0.85rem;
  border: none;
  border-radius: 0;
  clip-path: none;
  overflow: hidden;
  background-color: #e8cfc2;
  background-image: none;
}

.product-visual::before {
  content: none;
}

.product-visual.has-image {
  background-color: #e8cfc2;
  background-image: none;
}

.product-badge {
  position: absolute;
  top: 0;
  left: 14px;
  z-index: 3;
  width: 34px;
  height: 46px;
  display: grid;
  place-items: center;
  padding-bottom: 6px;
  color: #f0dfa0;
  background: var(--product-card-ribbon);
  clip-path: polygon(0 0, 100% 0, 100% 72%, 50% 100%, 0 72%);
  box-shadow: 0 4px 10px rgba(74, 4, 4, 0.22);
}

.product-badge svg {
  width: 18px;
  height: 18px;
}

.product-badge--img {
  top: 6%;
  left: 7%;
  width: 36px;
  height: 54px;
  padding: 0;
  background: transparent;
  clip-path: none;
  box-shadow: none;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.product-badge--img img {
  width: 36px;
  height: 54px;
  max-height: none;
  display: block;
  object-fit: contain;
  object-position: top center;
  filter: drop-shadow(0 2px 4px rgba(74, 4, 4, 0.35));
}

.product-visual-inner {
  position: absolute;
  inset: 10% 8% 8% 8%;
  display: grid;
  place-items: end center;
  padding: 0;
  -webkit-mask-image: none;
  mask-image: none;
}

.product-visual img {
  width: min(100%, 280px);
  height: auto;
  max-height: 92%;
  object-fit: contain;
  object-position: center bottom;
  display: block;
  filter: drop-shadow(0 8px 16px rgba(74, 43, 41, 0.18));
}

.product-visual::after {
  content: attr(data-label);
  position: absolute;
  inset: auto 1rem 1.25rem 1rem;
  z-index: 2;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  text-align: center;
  color: rgba(74, 43, 41, 0.45);
}

.product-visual.has-image::after {
  content: none;
}

.product-body {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.45rem;
  padding: 0 0.15rem 0.2rem;
}

.product-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--product-card-ink);
}

.product-desc {
  margin: 0;
  min-height: 2.6em;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--product-card-ink-soft);
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.35rem;
}

.product-price {
  margin-left: 0.55rem;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.4vw, 1.75rem);
  font-weight: 800;
  line-height: 1;
  color: var(--product-card-ink);
}

.product-actions {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
}

.product-actions .btn {
  position: relative;
  z-index: 0;
  min-height: 34px;
  padding: 0.45rem 0.9rem;
  font-size: 0.82rem;
  border: none;
  border-radius: 0;
  clip-path: var(--category-frame-clip);
  transition: color 0.2s ease;
}

.product-actions .btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  clip-path: var(--category-frame-clip);
  background: linear-gradient(
    155deg,
    #e2c878 0%,
    var(--category-frame-border) 45%,
    #a67c52 100%
  );
}

.product-actions .btn::after {
  content: "";
  position: absolute;
  inset: 2px;
  z-index: -1;
  clip-path: var(--category-frame-clip-inner);
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.btn-product-primary {
  color: #fff;
  background: transparent;
}

.btn-product-primary::after {
  background: var(--product-card-ribbon);
  box-shadow: inset 0 0 0 1px rgba(226, 200, 120, 0.45);
}

.btn-product-primary:hover::before {
  background: linear-gradient(155deg, #f0dfa0 0%, #e2c878 40%, #c5a373 100%);
}

.btn-product-primary:hover::after {
  background: #a01010;
}

.btn-product-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--product-card-ink);
  background: transparent;
}

.btn-product-outline::after {
  background: var(--product-card-bg);
  box-shadow: inset 0 0 0 1px rgba(197, 163, 115, 0.55);
}

.btn-product-outline:hover::before {
  background: linear-gradient(155deg, #f0dfa0 0%, #e2c878 40%, #c5a373 100%);
}

.btn-product-outline:hover::after {
  background: #fff8ef;
}

.btn-product-outline:hover {
  color: var(--product-card-ink);
}

.btn-cart-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.btn-cart.is-added {
  color: var(--product-card-ribbon);
}

.btn-cart.is-added::after {
  background: rgba(139, 0, 0, 0.08);
  box-shadow: inset 0 0 0 1px var(--product-card-ribbon);
}

.cart-nav-btn {
  cursor: pointer;
  flex-shrink: 0;
}

.order-timer {
  margin-left: auto;
  flex-shrink: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.12rem;
  padding: 0.28rem 0.7rem 0.35rem;
  background: var(--header-bg);
  border: 1.5px dashed rgba(255, 255, 255, 0.55);
  border-radius: 10px;
  color: #fff;
  line-height: 1.1;
  text-align: center;
}

.order-timer-title {
  margin: 0;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.order-timer-clock {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0.2rem;
}

.order-timer-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 1.7rem;
}

.order-timer-value {
  font-size: 0.95rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.order-timer-sep {
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.15;
  padding-top: 0.02rem;
}

.order-timer-label {
  font-size: 0.52rem;
  font-weight: 500;
  opacity: 0.9;
  margin-top: 0.05rem;
}

/* Contacts popover */
.contacts-popover {
  position: fixed;
  z-index: 1200;
  width: min(280px, calc(100vw - 24px));
  filter: drop-shadow(0 12px 28px rgba(45, 20, 16, 0.22));
}

.contacts-popover[hidden] {
  display: none !important;
}

.contacts-popover-arrow {
  position: absolute;
  top: -9px;
  left: var(--arrow-left, 50%);
  width: 16px;
  height: 16px;
  background: #fcf8f1;
  border-left: 1px solid #d4b896;
  border-top: 1px solid #d4b896;
  transform: translateX(-50%) rotate(45deg);
}

.contacts-popover.is-above .contacts-popover-arrow {
  top: auto;
  bottom: -9px;
  border-left: 0;
  border-top: 0;
  border-right: 1px solid #d4b896;
  border-bottom: 1px solid #d4b896;
}

.contacts-popover-card {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 0.65rem;
  padding: 1.15rem 1.1rem 1.2rem;
  background: #fcf8f1;
  border: 1px solid #d4b896;
  border-radius: 14px;
}

.contacts-phone-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #b8925a;
}

.contacts-phone-icon svg {
  width: 36px;
  height: 36px;
}

.contacts-title-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
}

.contacts-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: #3a2a28;
  line-height: 1;
}

.contacts-ornament {
  display: block;
  height: 1px;
  background: linear-gradient(90deg, transparent, #c5a373 18%, #c5a373 82%, transparent);
  position: relative;
}

.contacts-ornament::before,
.contacts-ornament::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 7px;
  height: 7px;
  border: 1.2px solid #c5a373;
  transform: translateY(-50%) rotate(45deg);
  background: #fcf8f1;
}

.contacts-title-row .contacts-ornament:first-child::before {
  left: 0;
}

.contacts-title-row .contacts-ornament:first-child::after {
  display: none;
}

.contacts-title-row .contacts-ornament:last-child::after {
  right: 0;
}

.contacts-title-row .contacts-ornament:last-child::before {
  display: none;
}

.contacts-phone-frame {
  position: relative;
  z-index: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  padding: 0.55rem 1rem;
  clip-path: var(--category-frame-clip);
  color: #3a2a28;
  font-weight: 700;
  font-size: 0.98rem;
  text-align: center;
}

.contacts-phone-frame + .contacts-phone-frame {
  margin-top: 0.45rem;
}

.contacts-phone-frame[hidden] {
  display: none;
}

.contacts-phone-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  clip-path: var(--category-frame-clip);
  background: linear-gradient(155deg, #e2c878 0%, #c5a373 45%, #a67c52 100%);
}

.contacts-phone-frame::after {
  content: "";
  position: absolute;
  inset: 2px;
  z-index: -1;
  clip-path: var(--category-frame-clip-inner);
  background: #fffdf8;
}

.contacts-phone-value {
  position: relative;
  z-index: 1;
  color: inherit;
  text-decoration: none;
}

a.contacts-phone-value:hover {
  color: var(--accent);
}

.cart-nav-icon {
  width: 16px;
  height: 16px;
  object-fit: contain;
  flex-shrink: 0;
  filter: brightness(0) invert(1);
}

.cart-count {
  display: inline-grid;
  place-items: center;
  min-width: 1.35rem;
  height: 1.35rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
}

.cart-nav-btn:hover .cart-count {
  background: #fff;
  color: var(--accent);
}

.cart-nav-btn:focus-visible {
  outline: none;
}

.cart-count[hidden] {
  display: none !important;
}

.cart-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  background: rgba(18, 24, 22, 0.55);
  backdrop-filter: blur(4px);
  cursor: pointer;
}

.cart-modal[hidden] {
  display: none !important;
}

.cart-dialog {
  width: min(100%, 520px);
  max-height: min(88vh, 720px);
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border-radius: 20px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
  overflow: hidden;
  cursor: default;
}

.cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  border-bottom: 1px solid var(--line);
}

.cart-head-main {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  flex-wrap: wrap;
  min-width: 0;
  flex: 1;
}

.cart-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.55rem;
}

.cart-order-note {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--accent);
  line-height: 1.3;
}

.cart-order-note[hidden] {
  display: none !important;
}

.cart-close {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.cart-close:hover {
  background: rgba(var(--accent-rgb), 0.1);
  color: var(--accent);
}

.cart-body {
  flex: 1;
  overflow: auto;
  padding: 1rem 1.25rem;
  display: grid;
  gap: 0.85rem;
}

.cart-empty {
  margin: 1.5rem 0;
  text-align: center;
  color: var(--ink-soft);
}

.cart-item {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) auto;
  gap: 0.85rem;
  align-items: start;
  padding: 0.85rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.cart-item-media {
  width: 88px;
  height: 88px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--tone, #f0d5cf);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.cart-item-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.25rem;
}

.cart-item-media--empty {
  background: linear-gradient(160deg, color-mix(in srgb, var(--tone, #f0d5cf) 70%, #fff), var(--tone, #f0d5cf));
}

.cart-item-main {
  display: grid;
  gap: 0.65rem;
  align-content: start;
  min-width: 0;
  padding-top: 0.15rem;
}

.cart-item-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.3;
  color: var(--ink);
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.cart-item-controls--readonly .cart-qty {
  min-width: 1.5rem;
  padding: 0.35rem 0.55rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.7);
}

.cart-item--packaging {
  background: #fffdf9;
}

.cart-item-side {
  display: grid;
  gap: 0.55rem;
  justify-items: stretch;
  min-width: 7.5rem;
}

.cart-item-price-block {
  display: grid;
  gap: 0.35rem;
}

.cart-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.2;
}

.cart-price-label {
  letter-spacing: 0.01em;
}

.cart-price-value {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.cart-qty-btn {
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
}

.cart-qty {
  min-width: 1.5rem;
  text-align: center;
  font-weight: 700;
}

.cart-remove {
  justify-self: end;
  border: 0;
  background: transparent;
  color: var(--accent);
  font-weight: 600;
  cursor: pointer;
  font-size: 0.9rem;
  padding: 0;
}

.cart-remove:hover {
  text-decoration: underline;
}

.cart-foot {
  display: grid;
  gap: 0.75rem;
  padding: 1rem 1.25rem 1.25rem;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.1rem;
}

.cart-total strong {
  font-size: 1.25rem;
  color: var(--accent);
}

.cart-checkout:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

/* Checkout */
.checkout-modal {
  position: fixed;
  inset: 0;
  z-index: 1150;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(18, 24, 22, 0.55);
  backdrop-filter: blur(4px);
  cursor: pointer;
  overflow: auto;
}

.checkout-modal[hidden] {
  display: none !important;
}

.checkout-dialog {
  width: min(100%, 1080px);
  max-height: min(92vh, 900px);
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border-radius: 20px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
  overflow: hidden;
  cursor: default;
  margin: auto;
}

.checkout-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.35rem;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}

.checkout-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.55rem;
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 0;
  min-height: 0;
  flex: 1;
  overflow: hidden;
}

.checkout-form-col {
  padding: 1.15rem 1.35rem 1.5rem;
  overflow: auto;
  display: grid;
  gap: 1.35rem;
  align-content: start;
  border-right: 1px solid var(--line);
}

.checkout-order-col {
  padding: 1.15rem 1.25rem 1.4rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  background: var(--surface-solid);
  min-height: 0;
}

.checkout-order-col > .checkout-section-title {
  flex-shrink: 0;
}

.checkout-section {
  display: grid;
  gap: 0.75rem;
}

.checkout-section-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--ink);
}

.checkout-fields {
  display: grid;
  gap: 0.75rem;
}

.checkout-field {
  display: grid;
  gap: 0.35rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.checkout-field input,
.checkout-comment {
  width: 100%;
  min-height: 46px;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  outline: none;
  font: inherit;
  transition: border-color 0.2s ease;
}

.checkout-field input::placeholder,
.checkout-comment::placeholder {
  color: #9a9590;
}

.checkout-comment {
  min-height: 88px;
  resize: vertical;
  margin-top: 0.15rem;
}

.checkout-field input:focus,
.checkout-comment:focus {
  border-color: var(--accent);
}

.checkout-delivery-note {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--accent);
  line-height: 1.45;
}

.checkout-address-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: stretch;
}

.checkout-add-address {
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 0.25rem;
  width: 118px;
  min-height: 88px;
  padding: 0.55rem 0.45rem;
  border: 1px solid #d5d0cb;
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
  flex: 0 0 auto;
}

.checkout-add-address:hover {
  border-color: rgba(var(--accent-rgb), 0.45);
  background: var(--accent-softer);
}

.checkout-add-address-plus {
  font-size: 1.55rem;
  line-height: 1;
  font-weight: 400;
  color: var(--ink);
}

.checkout-deliver-here {
  display: grid;
  align-content: center;
  gap: 0.2rem;
  width: max-content;
  max-width: min(220px, 100%);
  min-height: 88px;
  padding: 0.55rem 0.75rem;
  text-align: left;
  border: 1.5px solid var(--accent);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  flex: 0 0 auto;
}

.checkout-deliver-here:hover {
  box-shadow: 0 0 0 2px rgba(var(--accent-rgb), 0.18);
}

.checkout-deliver-here[hidden] {
  display: none !important;
}

.checkout-deliver-here-label {
  color: var(--accent);
  font-size: 0.86rem;
  font-weight: 500;
}

.checkout-deliver-here-address {
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.3;
  word-break: break-word;
}

.checkout-cabinet-address {
  display: block;
}

.checkout-cabinet-address[hidden] {
  display: none !important;
}

.checkout-saved-select {
  width: 100%;
  min-height: 46px;
  padding: 0.65rem 2.2rem 0.65rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%235c4540' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 0.9rem center;
  background-size: 12px 8px;
  color: var(--ink);
  font: inherit;
  outline: none;
  appearance: none;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.checkout-saved-select:invalid,
.checkout-saved-select.has-placeholder {
  color: #9a9590;
}

.checkout-saved-select:focus {
  border-color: var(--accent);
}

.checkout-payment {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.checkout-pay-option {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.55rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-solid);
  cursor: pointer;
  font-weight: 600;
  color: var(--ink);
}

.checkout-pay-option:has(input:checked) {
  border-color: var(--accent);
  background: var(--accent-softer);
  color: var(--accent);
}

.checkout-pay-option input {
  accent-color: var(--accent);
}

.checkout-order-items {
  display: grid;
  gap: 0.65rem;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding-right: 0.2rem;
  align-content: start;
}

.checkout-order-item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  gap: 0.65rem;
  align-items: center;
  padding: 0.55rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.checkout-order-media {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--tone, #f0d5cf);
}

.checkout-order-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.checkout-order-media--empty {
  background: var(--tone, #ebe0d6);
}

.checkout-order-main {
  display: grid;
  gap: 0.15rem;
  min-width: 0;
}

.checkout-order-main strong {
  font-size: 0.95rem;
  line-height: 1.25;
}

.checkout-order-main span {
  font-size: 0.82rem;
  color: var(--ink-soft);
}

.checkout-order-line {
  font-weight: 700;
  white-space: nowrap;
}

.checkout-totals {
  display: grid;
  gap: 0.4rem;
  padding-top: 0.55rem;
  border-top: 1px solid var(--line);
  flex-shrink: 0;
  background: var(--surface-solid);
}

.checkout-submit,
.checkout-agree,
#checkout-message {
  flex-shrink: 0;
}

.checkout-total-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.checkout-total-row--grand {
  margin-top: 0.2rem;
  font-size: 1.05rem;
  color: var(--ink);
}

.checkout-total-row--grand strong {
  color: var(--accent);
}

.checkout-submit {
  width: 100%;
  min-height: 48px;
}

.checkout-submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.checkout-agree {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.65rem;
  align-items: start;
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--ink-soft);
  cursor: pointer;
}

.checkout-agree input {
  margin-top: 0.2rem;
  accent-color: var(--accent);
}

.checkout-legal-link {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--accent);
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}

.checkout-legal-link:hover {
  color: var(--accent-hover);
}

.checkout-legal-modal {
  z-index: 1250;
}

.checkout-legal-card {
  width: min(100%, 480px);
  text-align: left;
  position: relative;
  padding-top: 2.5rem;
}

.checkout-legal-close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
}

.checkout-legal-body {
  display: grid;
  gap: 0.75rem;
  margin: 0 0 1.15rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.5;
}

.checkout-legal-body p {
  margin: 0;
}

.cart-confirm-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.cart-confirm-modal[hidden] {
  display: none !important;
}

.cart-confirm-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 24, 22, 0.55);
  backdrop-filter: blur(2px);
}

.cart-confirm-card {
  position: relative;
  z-index: 1;
  width: min(100%, 360px);
  padding: 1.4rem 1.35rem 1.25rem;
  border-radius: var(--radius);
  background: var(--surface-solid);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  text-align: center;
}

.cart-confirm-title {
  margin: 0 0 1.2rem;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.6vw, 1.4rem);
  color: var(--ink);
}

.product-modal {
  position: fixed;
  inset: 0;
  z-index: 1120;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  background: rgba(18, 24, 22, 0.55);
  backdrop-filter: blur(4px);
  cursor: pointer;
}

.product-modal[hidden] {
  display: none !important;
}

.product-dialog {
  position: relative;
  width: min(100%, 520px);
  max-height: min(90vh, 760px);
  display: flex;
  flex-direction: column;
  overflow: auto;
  background: var(--product-card-bg);
  border: 1.5px solid var(--product-card-border);
  border-radius: 20px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
  cursor: default;
  animation: product-modal-in 0.28s ease;
}

@keyframes product-modal-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.product-modal-close {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(252, 245, 236, 0.92);
  color: var(--product-card-ink);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.product-modal-close:hover {
  background: #fff;
  color: var(--product-card-ribbon);
}

.product-modal-media {
  padding: 1.15rem 1.15rem 0;
}

.product-modal-visual {
  position: relative;
  aspect-ratio: 16 / 11;
  border-radius: 14px;
  overflow: hidden;
  background:
    linear-gradient(160deg, color-mix(in srgb, var(--tone, #f0d5cf) 70%, #fff) 0%, var(--tone, #f0d5cf) 100%);
}

.product-modal-visual.has-image {
  background-color: #f7ebe0;
}

.product-modal-visual-inner {
  position: absolute;
  inset: 8%;
  display: grid;
  place-items: center;
}

.product-modal-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(74, 43, 41, 0.18));
}

.product-modal-visual .product-badge {
  z-index: 1;
}

.product-modal-content {
  display: grid;
  gap: 0.85rem;
  padding: 1.1rem 1.35rem 1.4rem;
}

.product-modal-content h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.7rem);
  color: var(--product-card-ink);
  line-height: 1.25;
  padding-right: 2rem;
}

.product-modal-desc {
  margin: 0;
  color: var(--product-card-ink-soft);
  font-size: 1rem;
  line-height: 1.5;
}

.product-modal-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.product-modal-price {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--product-card-ink);
  line-height: 1;
}

.product-modal-qty {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  width: fit-content;
  max-width: 100%;
  padding: 0.4rem 0.45rem 0.4rem 0.85rem;
  border: 1px solid rgba(201, 160, 87, 0.5);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45);
}

.product-modal-qty-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--product-card-ink-soft);
  white-space: nowrap;
}

.product-modal-qty-controls {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.15rem;
  border-radius: 999px;
  background: rgba(139, 0, 0, 0.06);
}

.product-modal-qty-btn {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--product-card-ink);
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(74, 43, 41, 0.12);
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.product-modal-qty-btn:hover {
  background: var(--product-card-ribbon);
  color: #fff;
  transform: scale(1.04);
}

.product-modal-qty-value {
  min-width: 1.4rem;
  text-align: center;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--product-card-ink);
}

.product-modal-cart {
  position: relative;
  z-index: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: 100%;
  min-height: 52px;
  margin-top: 0.15rem;
  padding: 0.75rem 1.1rem;
  font-size: 1.05rem;
  font-weight: 600;
  border: none;
  border-radius: 0;
  clip-path: var(--category-frame-clip);
  color: #fff;
  background: transparent;
  cursor: pointer;
  transition: color 0.2s ease;
}

.product-modal-cart::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  clip-path: var(--category-frame-clip);
  background: linear-gradient(
    155deg,
    #e2c878 0%,
    var(--category-frame-border) 45%,
    #a67c52 100%
  );
}

.product-modal-cart::after {
  content: "";
  position: absolute;
  inset: 2px;
  z-index: -1;
  clip-path: var(--category-frame-clip-inner);
  background: var(--product-card-ribbon);
  box-shadow: inset 0 0 0 1px rgba(226, 200, 120, 0.45);
  transition: background 0.2s ease;
}

.product-modal-cart:hover::before {
  background: linear-gradient(155deg, #f0dfa0 0%, #e2c878 40%, #c5a373 100%);
}

.product-modal-cart:hover::after {
  background: #a01010;
}

.product-modal-cart .btn-cart-icon {
  width: 1.15rem;
  height: 1.15rem;
}

.product-modal-cart.is-added {
  color: var(--product-card-ribbon);
}

.product-modal-cart.is-added::after {
  background: var(--product-card-bg);
  box-shadow: inset 0 0 0 1px var(--product-card-ribbon);
}

.filters {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 2.25rem;
}

.catalog-toolbar {
  display: flex;
  justify-content: center;
  margin: 0 0 1.35rem;
}

.menu-search {
  display: block;
  width: min(100%, 420px);
}

.menu-search-input {
  width: 100%;
  min-height: 52px;
  padding: 0.85rem 1.15rem;
  border: 1.5px solid rgba(45, 20, 16, 0.18);
  border-radius: 16px;
  background: var(--surface-solid, #fff);
  color: var(--ink, #2d1410);
  font-size: 1.05rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.menu-search-input::placeholder {
  color: rgba(45, 20, 16, 0.45);
}

.menu-search-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft, rgba(165, 28, 28, 0.16));
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.filters-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.filter-btn {
  position: relative;
  z-index: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  min-width: 7.5rem;
  padding: 0.65rem 1.45rem;
  border: none;
  border-radius: 0;
  background: transparent;
  color: var(--category-frame-ink);
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 700;
  clip-path: var(--category-frame-clip);
  transition: color 0.2s ease;
}

.filter-btn:hover,
.filter-btn.is-active {
  color: #fff;
}

.filter-btn:hover::after,
.filter-btn.is-active::after {
  background: var(--accent);
  box-shadow: inset 0 0 0 1px rgba(197, 163, 115, 0.55);
}

.filter-btn:hover::before,
.filter-btn.is-active::before {
  background: linear-gradient(155deg, #e2c878 0%, #c5a373 50%, #a67c52 100%);
}

.catalog-empty {
  grid-column: 1 / -1;
  margin: 1.5rem 0;
  padding: 1.5rem;
  text-align: center;
  color: var(--ink-soft);
  background: rgba(253, 245, 230, 0.55);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}

/* Account */
.account-layout {
  max-width: 920px;
}

.account-layout--editor,
.account-layout--admin-profile,
.account-layout--kitchen,
.account-layout--stats {
  max-width: none;
  width: min(100% - 2rem, 1440px);
}

.container.account-layout.account-layout--editor,
.container.account-layout.account-layout--admin-profile,
.container.account-layout.account-layout--stats,
body.page-account--kitchen .container.account-layout {
  width: min(100% - 2rem, 1440px);
}

.account-layout--kitchen .account-panel {
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - var(--header-h) - 5rem);
}

.account-tab-panel--kitchen {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

body.page-account--kitchen .account-section {
  padding-bottom: 2rem;
}

body.page-account--kitchen .profile-head {
  margin-bottom: 0.35rem;
}

body.page-account--kitchen .account-panel {
  padding-top: 0.85rem;
  padding-bottom: 1rem;
}

body.page-account--kitchen .account-tabs {
  margin-bottom: 0.75rem;
}

.kitchen-orders {
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: minmax(12rem, 14rem) minmax(0, 1fr);
  gap: 1rem;
  min-height: calc(100vh - var(--header-h) - 12rem);
  padding: 0.85rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: color-mix(in srgb, var(--accent-softer) 35%, var(--surface-solid));
}

.kitchen-orders-nav {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-width: 0;
}

.kitchen-orders-nav-btn {
  position: relative;
  border: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
  background: var(--surface-solid);
  text-align: left;
  padding: 0.75rem 0.65rem 0.75rem 0.7rem;
  border-radius: 12px;
  color: var(--ink-soft);
  font: inherit;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.kitchen-orders-nav-btn::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  bottom: 0.55rem;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: transparent;
  transition: background 0.2s ease;
}

.kitchen-orders-nav-btn:hover {
  color: var(--ink);
  border-color: color-mix(in srgb, var(--accent) 25%, var(--line));
  background: color-mix(in srgb, var(--accent-softer) 50%, var(--surface-solid));
}

.kitchen-orders-nav-btn.is-active {
  color: var(--ink);
  border-color: color-mix(in srgb, var(--accent) 35%, var(--line));
  background: color-mix(in srgb, var(--accent-soft) 70%, var(--surface-solid));
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.kitchen-orders-nav-btn.is-active::before {
  background: var(--accent);
}

.kitchen-orders-nav-swatch {
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 4px;
  border: 1px solid color-mix(in srgb, var(--ink) 12%, transparent);
  flex-shrink: 0;
}

.kitchen-orders-nav-swatch--all {
  background: linear-gradient(135deg, #fde68a 0 24%, #fff 24% 49%, #86efac 49% 74%, #fecaca 74% 100%);
}

.kitchen-orders-nav-swatch--pending {
  background: #fde68a;
  border-color: #fbbf24;
}

.kitchen-orders-nav-swatch--cooking {
  background: #fff;
}

.kitchen-orders-nav-swatch--courier {
  background: #86efac;
  border-color: #4ade80;
}

.kitchen-orders-nav-swatch--mod_cancelled {
  background: #fecaca;
  border-color: #f87171;
}

.kitchen-orders-nav-swatch--history {
  background: linear-gradient(135deg, #dbeafe 0%, #e0e7ff 100%);
  border-color: #93c5fd;
}

.kitchen-orders-nav-btn--history {
  margin-top: 0.35rem;
  padding-top: 0.85rem;
  border-top: 1px solid color-mix(in srgb, var(--ink) 10%, transparent);
}

.kitchen-order-card--readonly {
  opacity: 0.97;
}

.order-delivery-readonly {
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
}

.order-delivery-readonly-meta {
  margin: 0;
  grid-template-columns: 7.5rem 1fr;
}

.kitchen-orders-nav-text {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  min-width: 0;
}

.kitchen-orders-nav-title {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--ink);
  line-height: 1.25;
}

.kitchen-orders-nav-count {
  flex-shrink: 0;
  min-width: 1.35rem;
  padding: 0.1rem 0.4rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--ink) 8%, transparent);
  color: var(--ink-soft);
  font-size: 0.72rem;
  font-weight: 800;
  text-align: center;
}

.kitchen-orders-nav-btn.is-active .kitchen-orders-nav-count {
  background: color-mix(in srgb, var(--accent) 18%, transparent);
  color: var(--accent);
}

.kitchen-orders-pane {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-width: 0;
  min-height: 0;
}

.kitchen-orders-pane-head {
  display: grid;
  gap: 0.2rem;
}

.kitchen-orders-pane-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--ink);
}

.kitchen-orders-pane-lead {
  margin: 0;
  font-size: 0.86rem;
  color: var(--ink-soft);
  line-height: 1.4;
}

.kitchen-board-empty {
  margin: 0;
}

.kitchen-board {
  list-style: none;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  align-content: start;
  flex: 1 1 auto;
  min-height: 8rem;
  padding: 0.15rem;
}

.kitchen-order-card {
  border-width: 1px;
  border-style: solid;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.kitchen-order-card .order-card-head {
  border-bottom-color: color-mix(in srgb, var(--ink) 8%, transparent);
}

.kitchen-order-card .order-card-meta span {
  min-width: 4.5rem;
}

.kitchen-order-card .order-card-items ul {
  max-height: 7.5rem;
  overflow: auto;
}

@media (max-width: 1100px) {
  .kitchen-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .kitchen-orders {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding: 0.65rem;
    min-height: calc(100vh - var(--header-h) - 14rem);
  }

  .kitchen-orders-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.4rem;
  }

  .kitchen-orders-nav-btn {
    padding: 0.65rem 0.55rem;
  }

  .kitchen-board {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }
}

.account-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(1.25rem, 3vw, 2rem);
  animation: rise-in 0.7s ease both;
}

.tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}

.tab {
  border: 0;
  background: transparent;
  padding: 0.75rem 1rem;
  color: var(--ink-soft);
  cursor: pointer;
  position: relative;
  font-weight: 600;
}

.tab.is-active {
  color: var(--accent);
}

.tab.is-active::after {
  content: "";
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: -1px;
  height: 2px;
  background: var(--accent);
}

.auth-form {
  display: grid;
  gap: 1rem;
  max-width: 420px;
}

.auth-form label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.auth-form .field-caption {
  display: inline;
  white-space: nowrap;
}

.auth-form .field-caption .req {
  display: inline;
}

.auth-form label[hidden] {
  display: none !important;
}

.auth-form input {
  width: 100%;
  min-height: 46px;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-solid);
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s ease;
}

.auth-form input:focus {
  border-color: var(--accent);
}

.profile-form-placeholders input::placeholder {
  color: #9a9590;
}

.profile-birthday-field {
  position: relative;
}

.profile-birthday-field.is-empty::before {
  content: "\0414\0430\0442\0430\0020\0440\043E\0436\0434\0435\043D\0438\044F";
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: #9a9590;
  font-size: 1rem;
  pointer-events: none;
  z-index: 1;
}

.profile-birthday-field.is-empty input[type="date"] {
  color: transparent;
}

.profile-birthday-field.is-empty input[type="date"]:focus {
  color: var(--ink);
}

.profile-birthday-field.is-empty:focus-within::before {
  display: none;
}

.form-message {
  margin: 0;
  font-size: 0.9rem;
  color: var(--danger);
}

.form-message-ok {
  color: var(--ok);
}

/* ???? ??? �?????? ?????????� � ?????? ?? ??????? */
#profile-message {
  min-height: 1.4em;
  line-height: 1.4;
}

#profile-message[hidden] {
  display: block !important;
  visibility: hidden;
  pointer-events: none;
}

.profile-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}

.profile-greeting {
  margin: 0 0 0.35rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.profile-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.profile-email {
  margin: 0.35rem 0 0;
  color: var(--ink-soft);
}

.profile-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
  align-items: start;
}

.profile-grid--single {
  grid-template-columns: minmax(0, 28rem);
}

.profile-grid-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  min-width: 0;
}

.profile-grid-col--side .profile-block {
  margin-top: 0;
}

.profile-block-lead {
  margin: 0 0 1rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.55;
}

.profile-block--archive {
  margin-top: 0;
}

.profile-block--staff-manage {
  margin-top: 0.25rem;
}

.staff-role-section + .staff-role-section {
  margin-top: 1.35rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--line);
}

.staff-role-section-title {
  margin: 0 0 0.45rem;
  font-size: 1rem;
}

.staff-role-form {
  display: grid;
  gap: 0.75rem;
  max-width: 28rem;
}

.staff-role-phone {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  background: var(--surface);
  color: var(--ink);
}

.staff-role-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.45;
}

.staff-role-checkbox input {
  margin-top: 0.15rem;
}

.staff-role-list-wrap {
  margin-top: 1.35rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--line);
}

.staff-role-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.staff-role-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  background: var(--surface);
}

.staff-role-list-info {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  align-items: baseline;
  flex: 1;
  min-width: 0;
}

.staff-role-revoke-btn {
  flex-shrink: 0;
  white-space: nowrap;
}

.staff-role-list-phone {
  font-weight: 600;
}

.staff-role-list-meta {
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.profile-archive-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.85rem;
}

.archive-export-filters {
  margin-bottom: 0;
}

.archive-export-date-fields:not([hidden]),
.archive-export-range-fields:not([hidden]) {
  display: contents;
}

.archive-export-date-fields[hidden],
.archive-export-range-fields[hidden],
.archive-export-filters .stats-filter[hidden] {
  display: none !important;
}

.archive-export-filters .archive-export-summary-only {
  flex: 1 1 100%;
  margin-top: 0.15rem;
}

.archive-export-filters input[type="date"] {
  appearance: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-solid);
  color: var(--ink);
  font: inherit;
  padding: 0.55rem 0.75rem;
  min-height: 2.65rem;
  width: 100%;
}

.archive-export-filters input[type="date"]:focus {
  outline: 2px solid color-mix(in srgb, var(--accent) 45%, transparent);
  border-color: var(--accent);
}

#export-orders-archive-msg {
  margin-top: 0.85rem;
}

.account-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: -0.5rem 0 1.5rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--line);
}

.account-tab {
  border: 0;
  background: transparent;
  padding: 0.65rem 0.9rem;
  color: var(--ink-soft);
  cursor: pointer;
  font-weight: 600;
  font-family: inherit;
  font-size: 0.95rem;
  border-radius: 10px;
  transition: color 0.2s ease, background 0.2s ease;
}

.account-tab:hover {
  color: var(--ink);
  background: var(--accent-softer);
}

.account-tab.is-active {
  color: var(--accent);
  background: var(--accent-soft);
}

.account-tab[hidden] {
  display: none !important;
}

.account-tab-panel[hidden] {
  display: none !important;
}

#auth-view[hidden],
#temp-cook-view[hidden],
#profile-view[hidden] {
  display: none !important;
}

.site-editor {
  display: grid;
  grid-template-columns: minmax(14.5rem, 16.5rem) minmax(0, 1fr);
  gap: 1rem;
  min-height: 22rem;
  padding: 0.85rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: color-mix(in srgb, var(--accent-softer) 35%, var(--surface-solid));
}

.admin-profile-profile-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

.admin-profile-profile-col--style .profile-block > h3:first-child {
  display: block;
  margin: 0 0 0.75rem;
  font-size: 1.15rem;
}

#admin-profile-form-slot .profile-block > h3:first-child {
  display: none;
}

.admin-profile-panel .profile-block {
  margin-top: 0;
}

.admin-profile-panel[data-admin-profile-panel="archive"] .profile-block > h3:first-child,
.admin-profile-panel[data-admin-profile-panel="access"] .profile-block > h3:first-child {
  display: none;
}

.admin-profile-editor[hidden] {
  display: none !important;
}

.site-editor-nav {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-width: 0;
}

.site-editor-nav-btn {
  position: relative;
  border: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
  background: var(--surface-solid);
  text-align: left;
  padding: 0.75rem 0.65rem 0.75rem 0.7rem;
  border-radius: 12px;
  color: var(--ink-soft);
  font: inherit;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.site-editor-nav-btn::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  bottom: 0.55rem;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: transparent;
  transition: background 0.2s ease;
}

.site-editor-nav-btn:hover {
  color: var(--ink);
  border-color: color-mix(in srgb, var(--accent) 25%, var(--line));
  background: color-mix(in srgb, var(--accent-softer) 50%, var(--surface-solid));
}

.site-editor-nav-btn.is-active {
  color: var(--ink);
  border-color: color-mix(in srgb, var(--accent) 35%, var(--line));
  background: color-mix(in srgb, var(--accent-soft) 70%, var(--surface-solid));
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.site-editor-nav-btn.is-active::before {
  background: var(--accent);
}

.site-editor-nav-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  color: color-mix(in srgb, var(--accent) 75%, var(--ink));
}

.site-editor-nav-btn.is-active .site-editor-nav-icon {
  color: var(--accent);
}

.site-editor-nav-text {
  display: grid;
  gap: 0.12rem;
  min-width: 0;
}

.site-editor-nav-title {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.25rem;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--ink);
  line-height: 1.3;
}

.site-editor-nav-desc {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
  line-height: 1.3;
}

.site-editor-nav-chevron {
  flex-shrink: 0;
  color: color-mix(in srgb, var(--ink-soft) 70%, transparent);
  font-size: 1.15rem;
  line-height: 1;
  font-weight: 400;
}

.site-editor-pane {
  padding: 1.35rem 1.5rem 1.6rem;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-solid);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.site-editor-pane-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.site-editor-pane-title {
  margin: 0 0 0.25rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
}

.site-editor-pane-lead {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.86rem;
  line-height: 1.4;
}

.site-editor-preview-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
  white-space: nowrap;
  padding: 0.62rem 1rem;
  font-size: 0.88rem;
}

.site-editor-preview-icon {
  flex-shrink: 0;
}

.site-preview-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10060;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  padding: 0.65rem 1rem;
  background: linear-gradient(90deg, #6b1717 0%, #8b1515 55%, #6b1717 100%);
  color: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.22);
}

.site-preview-banner-text {
  font-size: 0.88rem;
  font-weight: 600;
  text-align: center;
}

.site-preview-banner-close {
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

.site-preview-banner-close:hover {
  background: rgba(255, 255, 255, 0.22);
}

body.has-site-preview-banner .site-header {
  top: 2.75rem;
}

.site-editor-block-title {
  margin: 0 0 1.15rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
}

.feedback-nav-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.2rem;
  height: 1.2rem;
  margin-left: 0.1rem;
  padding: 0 0.3rem;
  border-radius: 999px;
  background: #8b1515;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1;
  vertical-align: middle;
}

/* ??????????? ??? ??????? �???????� (?????????) */
.nav-link--cabinet {
  overflow: visible;
}

.cabinet-notify {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 2px);
  transform: translateX(-50%);
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.28rem;
  pointer-events: none;
}

.cabinet-notify-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.2rem;
  height: 1.2rem;
  padding: 0 0.32rem;
  border-radius: 999px;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.28);
  animation: cabinet-notify-pop 0.35s ease;
}

.cabinet-notify-badge[hidden] {
  display: none !important;
}

.cabinet-notify-badge--msg {
  background: #c62828;
}

.cabinet-notify-badge--order {
  background: #2e7d32;
}

@keyframes cabinet-notify-pop {
  from {
    transform: scale(0.55);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.account-tab-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.15rem;
  height: 1.15rem;
  margin-left: 0.35rem;
  padding: 0 0.3rem;
  border-radius: 999px;
  background: #2e7d32;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1;
  vertical-align: middle;
}

.account-tab-badge[hidden] {
  display: none !important;
}

.kitchen-order-toast {
  position: fixed;
  top: calc(var(--header-h) + 0.85rem);
  right: max(0.85rem, env(safe-area-inset-right, 0px));
  left: auto;
  z-index: 10050;
  transform: none;
  min-width: min(16rem, calc(100vw - 1.75rem));
  max-width: min(18rem, calc(100vw - 1.75rem));
  padding: 1rem 1.25rem;
  border-radius: 12px;
  background: linear-gradient(160deg, #1b5e20 0%, #2e7d32 55%, #388e3c 100%);
  color: #fff;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 3vw, 1.65rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  animation: kitchen-order-toast-in 0.4s ease;
  pointer-events: none;
}

.kitchen-order-toast[hidden] {
  display: none !important;
}

.order-placed-toast {
  position: fixed;
  top: 18%;
  left: 50%;
  z-index: 10050;
  transform: translateX(-50%);
  min-width: min(92vw, 26rem);
  max-width: min(92vw, 34rem);
  padding: 1rem 1.25rem;
  border-radius: 12px;
  background: #fff4ec;
  border: 1px solid #f0d0bc;
  color: var(--ink);
  text-align: center;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.45;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
  animation: kitchen-toast-in 0.4s ease;
  pointer-events: none;
}

.order-placed-toast[hidden] {
  display: none !important;
}

.order-placed-toast.is-out {
  animation: kitchen-toast-out 0.35s ease forwards;
}

.kitchen-order-toast.is-out {
  animation: kitchen-order-toast-out 0.35s ease forwards;
}

@keyframes kitchen-order-toast-in {
  from {
    opacity: 0;
    transform: translateX(16px) scale(0.92);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes kitchen-order-toast-out {
  to {
    opacity: 0;
    transform: translateX(16px) scale(0.95);
  }
}

@keyframes kitchen-toast-in {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-12px) scale(0.92);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1);
  }
}

@keyframes kitchen-toast-out {
  to {
    opacity: 0;
    transform: translateX(-50%) translateY(-8px) scale(0.96);
  }
}

.feedback-inbox-list {
  list-style: none;
  margin: 0.35rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}

.feedback-card {
  padding: 1rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-solid);
}

.feedback-card.is-new {
  border-color: rgba(139, 21, 21, 0.28);
  box-shadow: inset 3px 0 0 #8b1515;
}

.feedback-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 0.75rem;
}

.feedback-card-name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
}

.feedback-card-email {
  display: inline-block;
  margin-top: 0.2rem;
  color: var(--accent);
  font-size: 0.9rem;
  text-decoration: none;
}

.feedback-card-email:hover {
  text-decoration: underline;
}

.feedback-card-meta {
  display: grid;
  justify-items: end;
  gap: 0.35rem;
}

.feedback-card-date {
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.feedback-status-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(74, 4, 4, 0.08);
  color: var(--ink-soft);
}

.feedback-status-badge--new {
  background: rgba(139, 21, 21, 0.12);
  color: #8b1515;
}

.feedback-card-body {
  margin: 0 0 0.9rem;
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.55;
  white-space: normal;
}

.feedback-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

@media (max-width: 700px) {
  .feedback-card-head {
    flex-direction: column;
  }

  .feedback-card-meta {
    justify-items: start;
  }
}

.site-editor-field {
  display: grid;
  gap: 0.55rem;
  margin: 0 0 1.5rem;
  padding-bottom: 1.35rem;
  border-bottom: 1px dashed var(--line);
}

.site-editor-field:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.site-editor-field--group {
  gap: 0.65rem;
}

.site-editor-subtitle {
  margin: 0 0 0.15rem;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--ink);
}

.site-editor-hint {
  margin: 0 0 0.35rem;
  font-size: 0.86rem;
  line-height: 1.4;
  color: var(--ink-soft);
  font-weight: 500;
}

.site-editor-label {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--ink);
}

.site-editor-required {
  color: #c45c3e;
  font-weight: 700;
}

.site-editor-textarea {
  width: 100%;
  min-height: 3.2rem;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
  font: inherit;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.45;
}

.site-editor-textarea--tall {
  min-height: 7rem;
}

.site-editor-textarea:focus {
  outline: 2px solid color-mix(in srgb, var(--accent) 45%, transparent);
  outline-offset: 1px;
  border-color: var(--accent);
}

.site-editor-field .btn {
  justify-self: start;
}

.site-editor-field .form-message {
  margin: 0;
}

.site-editor-nav-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.site-editor-submenu {
  display: grid;
  gap: 0.2rem;
  padding: 0 0 0.15rem 2.75rem;
}

.site-editor-submenu[hidden] {
  display: none !important;
}

.site-editor-submenu-btn {
  border: 0;
  background: transparent;
  text-align: left;
  padding: 0.4rem 0.65rem;
  border-radius: 8px;
  color: var(--ink-soft);
  font: inherit;
  font-weight: 600;
  font-size: 0.82rem;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
}

.site-editor-submenu-btn:hover,
.site-editor-submenu-btn.is-active {
  color: var(--accent);
  background: var(--accent-soft);
}

.site-editor-input,
.site-editor-file {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.7rem 0.9rem;
  font: inherit;
  color: var(--ink);
  background: var(--bg);
}

.site-editor-input:focus {
  outline: 2px solid color-mix(in srgb, var(--accent) 45%, transparent);
  outline-offset: 1px;
  border-color: var(--accent);
}

.site-editor-file {
  padding: 0.55rem 0.75rem;
}

.menu-editor-head {
  margin-bottom: 0.85rem;
}

.menu-editor-head .site-editor-block-title {
  margin-bottom: 0.35rem;
}

.menu-editor-filter-note {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.menu-editor-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.menu-category-tiles {
  list-style: none;
  margin: 0.85rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr));
  gap: 0.65rem;
}

.menu-editor-item {
  width: 100%;
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  gap: 0.85rem;
  align-items: center;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.65rem;
  background: var(--bg);
  cursor: pointer;
  font: inherit;
  color: inherit;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.menu-editor-item:hover {
  border-color: color-mix(in srgb, var(--accent) 45%, var(--line));
  background: var(--accent-softer);
}

.menu-editor-item-photo {
  width: 4.5rem;
  height: 4.5rem;
  object-fit: cover;
  border-radius: 10px;
  background: var(--accent-softer);
}

.menu-editor-item-photo--empty {
  display: block;
}

.menu-editor-item-body {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
}

.menu-editor-item-name {
  font-size: 1rem;
}

.menu-editor-item-desc {
  color: var(--ink-soft);
  font-size: 0.88rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.menu-editor-item-price {
  font-weight: 700;
  color: var(--accent);
  font-size: 0.95rem;
}

.menu-category-tile {
  display: grid;
  gap: 0.45rem;
  align-content: start;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  padding: 0.65rem;
  min-height: 5.5rem;
}

.menu-category-tile.is-active {
  border-color: color-mix(in srgb, var(--accent) 45%, var(--line));
  background: var(--accent-soft);
}

.menu-category-tile-open {
  display: grid;
  gap: 0.2rem;
  width: 100%;
  border: 0;
  background: transparent;
  padding: 0;
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
}

.menu-category-tile-name {
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1.25;
  color: var(--ink);
  word-break: break-word;
}

.menu-category-tile-hint {
  display: block;
  margin-top: 0.15rem;
  color: var(--ink-soft);
  font-size: 0.72rem;
  font-weight: 500;
}

.menu-category-tile--reserve {
  border-style: dashed;
}

.menu-category-tile.is-active .menu-category-tile-name {
  color: var(--accent);
}

.menu-category-tile-delete {
  justify-self: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  color: var(--ink-soft);
  font: inherit;
  font-size: 0.78rem;
  padding: 0.28rem 0.55rem;
  cursor: pointer;
}

.menu-category-tile-delete:hover {
  border-color: color-mix(in srgb, var(--accent) 40%, var(--line));
  color: var(--accent);
  background: var(--accent-softer);
}

.menu-category-add {
  display: grid;
  gap: 0.45rem;
  margin: 0 0 0.35rem;
  max-width: 28rem;
}

.menu-category-add .menu-editor-actions {
  margin-top: 0.35rem;
}

.menu-dish-form {
  display: grid;
  gap: 0.55rem;
  max-width: 32rem;
}

.menu-dish-form .site-editor-label {
  margin-top: 0.35rem;
}

.menu-editor-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.75rem;
}

.menu-dish-photo-preview {
  position: relative;
  width: min(100%, 12rem);
  aspect-ratio: 1;
  margin-top: 0.5rem;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--accent-softer);
}

.menu-dish-photo-preview img:not(.menu-dish-spicy-badge) {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.menu-editor-back {
  border: 0;
  background: transparent;
  color: var(--accent);
  font: inherit;
  font-weight: 600;
  padding: 0;
  margin: 0 0 1rem;
  cursor: pointer;
}

.menu-dish-card {
  display: grid;
  grid-template-columns: minmax(8rem, 12rem) minmax(0, 1fr);
  gap: 1.1rem;
  align-items: start;
}

.menu-dish-card-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--accent-softer);
  display: grid;
  place-items: center;
}

.menu-dish-card-photo img:not(.menu-dish-spicy-badge) {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.menu-dish-card-photo-empty {
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.menu-dish-card-body {
  display: grid;
  gap: 0.85rem;
  min-width: 0;
}

.menu-dish-card-meta {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 600;
}

.menu-dish-field {
  display: grid;
  gap: 0.35rem;
}

.menu-dish-check {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin-top: 0.35rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
}

.menu-dish-check input {
  margin-top: 0.2rem;
  width: 1.05rem;
  height: 1.05rem;
  accent-color: var(--accent, #c45c3e);
  flex: 0 0 auto;
}

.menu-dish-check-hint {
  margin: 0.2rem 0 0;
  font-size: 0.82rem;
  line-height: 1.35;
  color: var(--muted, #7a6f68);
}

.menu-dish-spicy-badge {
  position: absolute;
  top: 6%;
  left: 7%;
  width: 28px;
  height: 42px;
  object-fit: contain;
  pointer-events: none;
  z-index: 2;
}

.menu-dish-spicy-badge[hidden] {
  display: none !important;
}

.menu-dish-spicy-btn {
  justify-self: start;
  width: auto;
}

.menu-dish-spicy-btn.is-active::after {
  background: #5c0a0a;
  box-shadow: inset 0 0 0 1px rgba(226, 200, 120, 0.72);
}

.menu-dish-system-note {
  margin: 0 0 0.75rem;
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  background: rgba(196, 92, 62, 0.08);
  border: 1px solid rgba(196, 92, 62, 0.18);
  font-size: 0.88rem;
  line-height: 1.4;
  color: var(--text);
}

.menu-dish-extras-field {
  margin-top: 0.35rem;
}

.menu-extras-list {
  list-style: none;
  margin: 0.35rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.menu-extras-item .menu-dish-check {
  width: 100%;
}

.menu-extras-price {
  font-style: normal;
  color: var(--muted);
  font-size: 0.92em;
}

.menu-extras-empty {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.menu-extras-create {
  margin-top: 0.65rem;
}

.menu-extras-create-form {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.55rem;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--accent-softer);
}

.product-modal-extras {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.15rem;
}

.product-modal-extras-title {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
}

.product-modal-extras-list {
  display: grid;
  gap: 0.4rem;
}

.product-modal-extra {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}

.product-modal-extra input {
  flex-shrink: 0;
}

.product-modal-extra-name {
  flex: 1;
  min-width: 0;
}

.product-modal-extra-price {
  color: var(--muted);
  font-size: 0.92rem;
  white-space: nowrap;
}

.cart-item-extras {
  display: block;
  margin-top: 0.15rem;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.35;
}

.menu-editor-item-tag {
  display: inline-block;
  margin-top: 0.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: lowercase;
  color: var(--muted, #7a6f68);
}

.menu-editor-item--packaging {
  border-style: dashed;
}

@media (max-width: 900px) {
  .admin-profile-profile-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .site-editor {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding: 0.65rem;
  }

  .site-editor-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.4rem;
  }

  .site-editor-nav-group {
    grid-column: 1 / -1;
  }

  .site-editor-nav-btn {
    padding: 0.65rem 0.55rem;
  }

  .site-editor-nav-desc {
    display: none;
  }

  .site-editor-nav-chevron {
    display: none;
  }

  .site-editor-submenu {
    padding-left: 0.5rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .site-editor-submenu-btn {
    text-align: center;
    font-size: 0.78rem;
    padding: 0.45rem 0.35rem;
  }

  .site-editor-pane {
    padding: 1rem 1.1rem 1.25rem;
  }

  .site-editor-pane-head {
    flex-direction: column;
    align-items: stretch;
  }

  .site-editor-preview-btn {
    justify-content: center;
    width: 100%;
  }

  .menu-dish-card {
    grid-template-columns: 1fr;
  }

  .menu-dish-card-photo {
    max-width: 14rem;
  }
}

.account-section-title {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.4vw, 1.55rem);
}

.account-section-lead {
  margin: 0 0 1.15rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.stats-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin: 0 0 1.25rem;
  align-items: flex-end;
}

.stats-filter {
  display: grid;
  gap: 0.35rem;
  min-width: 8.5rem;
}

.stats-filter-label {
  font-size: 0.8rem;
  color: var(--ink-soft);
  font-weight: 600;
}

.stats-filter select {
  appearance: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-solid);
  color: var(--ink);
  font: inherit;
  padding: 0.55rem 2rem 0.55rem 0.75rem;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-soft) 50%),
    linear-gradient(135deg, var(--ink-soft) 50%, transparent 50%);
  background-position: calc(100% - 14px) 55%, calc(100% - 9px) 55%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  cursor: pointer;
}

.stats-filter select:focus {
  outline: 2px solid var(--accent-soft);
  border-color: var(--accent);
}

.stats-kpi {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0 0 1.5rem;
}

.stats-kpi-card {
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-solid);
  display: grid;
  gap: 0.35rem;
}

.stats-kpi-label {
  font-size: 0.8rem;
  color: var(--ink-soft);
  font-weight: 600;
}

.stats-kpi-value {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.01em;
}

.stats-block {
  margin: 0 0 1.5rem;
}

.stats-block-title {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
}

.stats-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-solid);
}

.stats-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.stats-table th,
.stats-table td {
  padding: 0.7rem 0.85rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.stats-table th {
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.82rem;
  background: var(--accent-softer);
}

.stats-table tbody tr:last-child td {
  border-bottom: 0;
}

.stats-table td:nth-child(1) {
  color: var(--ink-soft);
  width: 2.5rem;
}

.stats-table#stats-dishes-table td:nth-child(2),
.stats-table#stats-months-table td:nth-child(1) {
  color: var(--ink);
  font-weight: 600;
  white-space: normal;
}

@media (max-width: 780px) {
  .stats-kpi {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .stats-filters {
    flex-direction: column;
    align-items: stretch;
  }

  .stats-filter {
    min-width: 0;
  }
}

.order-history-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.order-card {
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-solid);
}

.kitchen-board .order-card.kitchen-order-card--pending {
  background: #fde68a;
  border-color: #fbbf24;
}

.kitchen-board .order-card.kitchen-order-card--cooking {
  background: #fff;
  border-color: color-mix(in srgb, var(--line) 80%, transparent);
}

.kitchen-board .order-card.kitchen-order-card--courier {
  background: #86efac;
  border-color: #4ade80;
}

.kitchen-board .order-card.kitchen-order-card--mod_cancelled {
  background: #fecaca;
  border-color: #f87171;
}

.order-card-head {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.25rem;
  margin-bottom: 0.9rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--line);
}

.order-card-head-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.85rem;
  width: 100%;
}

.order-card-id {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
  min-width: 0;
}

.order-card-number {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.02em;
}

.order-card-date {
  margin: 0;
  width: 100%;
  max-width: 100%;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.35;
}

.order-card-total {
  margin: 0.25rem 0 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
}

.order-status-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
  background: var(--accent-soft);
  color: var(--accent);
}

.order-status-badge--pending {
  background: rgba(165, 120, 28, 0.14);
  color: #8a5a12;
}

.order-status-badge--cooking {
  background: rgba(165, 28, 28, 0.12);
  color: var(--accent);
}

.order-status-badge--courier {
  background: rgba(47, 107, 69, 0.14);
  color: var(--ok);
}

.order-status-badge--mod_cancelled {
  background: rgba(220, 38, 38, 0.14);
  color: #b91c1c;
}

.order-card--mod_cancelled {
  background: #fecaca;
  border-color: #f87171;
}

.order-card--mod_cancelled .order-status-badge--mod_cancelled {
  background: rgba(185, 28, 28, 0.18);
  color: #991b1b;
}

.order-moderator-comment span {
  color: #b91c1c;
}

.order-moderator-comment-edit {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.15rem;
  padding: 0.75rem 0.85rem;
  border: 1px dashed rgba(220, 38, 38, 0.35);
  border-radius: var(--radius-sm);
  background: rgba(254, 202, 202, 0.35);
}

.order-moderator-comment-edit-label {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.35rem 0.75rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: #991b1b;
}

.order-moderator-comment-edit--pending {
  border-color: rgba(220, 38, 38, 0.5);
  box-shadow: 0 0 0 1px rgba(220, 38, 38, 0.08);
}

.order-moderator-comment-edit-hint {
  font-size: 0.78rem;
  font-weight: 600;
  color: #b91c1c;
}

.kitchen-order-card--mod-cancel-pending {
  box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.18);
}

.order-moderator-comment-input {
  width: 100%;
  min-height: 4.5rem;
  padding: 0.55rem 0.65rem;
  border: 1px solid rgba(220, 38, 38, 0.28);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  line-height: 1.4;
  resize: vertical;
}

.order-moderator-comment-input:focus {
  outline: 2px solid rgba(220, 38, 38, 0.25);
  outline-offset: 1px;
}

.order-moderator-comment-edit-row {
  display: flex;
  justify-content: flex-end;
}

.order-moderator-comment-edit-msg {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 600;
}

.order-moderator-comment-edit-msg.is-ok {
  color: var(--ok);
}

.order-moderator-comment-edit-msg.is-error {
  color: #b91c1c;
}

.order-status-control select {
  min-height: 40px;
  padding: 0.4rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-solid);
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.order-card-body {
  display: grid;
  gap: 0.45rem;
}

.order-card-meta {
  margin: 0;
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 0.5rem;
  font-size: 0.92rem;
  color: var(--ink);
  line-height: 1.4;
}

.order-card-meta span {
  color: var(--ink-soft);
}

.order-card-meta .order-phone-note {
  color: #ed1c24 !important;
  font-weight: 500;
}

.order-delivery-edit {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.35rem;
  padding: 0.75rem 0.85rem;
  border: 1px dashed rgba(var(--accent-rgb), 0.28);
  border-radius: var(--radius-sm);
  background: var(--accent-softer);
}

.order-delivery-edit-label {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.65rem;
  margin: 0;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink);
}

.order-delivery-edit-label > span:first-child {
  color: var(--ink-soft);
  font-weight: 600;
}

.order-delivery-zone-hint {
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 500;
}

.order-delivery-edit-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
}

.order-delivery-input {
  flex: 1 1 9rem;
  min-width: 0;
  min-height: 42px;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-solid);
  color: var(--ink);
  font: inherit;
  font-weight: 600;
}

.order-delivery-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(var(--accent-rgb), 0.16);
}

.order-delivery-save {
  flex: 0 0 auto;
  min-height: 42px;
}

.order-delivery-edit-msg {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.35;
}

.order-delivery-edit-msg.is-ok {
  color: var(--ok);
}

.order-delivery-edit-msg.is-error {
  color: var(--danger);
}

.order-card-meta--address .order-card-address-value {
  font-weight: 700;
  color: #1a1a1a;
}

.order-card-items {
  margin-bottom: 0.55rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px dashed var(--line);
}

.order-card-items-title {
  margin: 0 0 0.45rem;
  font-weight: 700;
  font-size: 0.92rem;
}

.order-card-items ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.order-card-items li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: #1a1a1a;
}

.order-card-items li span,
.order-card-items li strong {
  color: #1a1a1a;
  font-weight: 700;
}

.profile-block {
  padding-top: 0.25rem;
}

.account-address {
  margin: 0 0 1rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

.address-block-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
}

.address-block-head h3 {
  margin: 0;
}

.address-hint {
  margin: 0 0 1rem;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.45;
}

.saved-address-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.saved-address-item {
  display: grid;
  gap: 0.75rem;
  padding: 0.95rem 1rem;
  border: 1.5px solid rgba(45, 20, 16, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.55);
}

.saved-address-item.is-default {
  border-color: rgba(165, 28, 28, 0.45);
  background: rgba(255, 255, 255, 0.78);
}

.saved-address-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.65rem;
}

.saved-address-label {
  font-size: 1.05rem;
  color: var(--ink);
}

.saved-address-default {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--accent);
}

.saved-address-facts {
  margin: 0.35rem 0 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.45;
}

.saved-address-note {
  margin: 0.4rem 0 0;
  color: var(--ink-soft);
  font-size: 0.78rem;
  line-height: 1.35;
  opacity: 0.9;
}

.saved-address-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.empty-note {
  margin: 0.25rem 0 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.address-label-facts {
  margin: 0.35rem 0 0.85rem;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  background: rgba(45, 20, 16, 0.05);
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.45;
}

.profile-block--addresses #address-required-hint {
  margin-top: 0.75rem;
}

.account-section {
  padding-top: 2.5rem;
  padding-bottom: 4rem;
  flex: 1 0 auto;
  min-height: calc(100vh - var(--header-h));
  background: transparent;
}

body.page-account {
  position: relative;
  background: #e5d5bc;
}

body.page-account::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-color: #e5d5bc;
  background-image: none;
}

body.page-account > main {
  display: flex;
  flex-direction: column;
}

.auth-card {
  max-width: 440px;
  margin: 0 auto;
  text-align: center;
}

.auth-title {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.2vw, 1.9rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
}

.auth-subtitle {
  margin: 0 0 1.5rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.45;
}

.auth-eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.temp-cook-card {
  margin-bottom: 1.25rem;
}

.temp-cook-card .auth-subtitle {
  margin-bottom: 1.25rem;
}

.auth-form-wide {
  max-width: none;
  text-align: left;
}

.field-float {
  position: relative;
  display: block;
  margin-top: 0.55rem;
}

.field-float-label {
  position: absolute;
  left: 0.85rem;
  top: 0;
  transform: translateY(calc(-100% - 0.2rem));
  padding: 0;
  background: transparent;
  color: var(--ink-soft);
  font-size: 0.78rem;
  line-height: 1;
  pointer-events: none;
}

.field-float input {
  width: 100%;
  min-height: 52px;
  padding: 0.85rem 0.95rem;
  border: 1.5px solid var(--ink);
  border-radius: 14px;
  background: var(--surface-solid);
  color: var(--ink);
  font-size: 1.05rem;
  outline: none;
}

.field-float input:focus {
  border-color: var(--accent);
}

.field-float--password input {
  padding-right: 3rem;
}

.field-float--placeholder {
  margin-top: 1.15rem;
}

.field-float input::placeholder {
  color: var(--ink-soft);
  opacity: 0.72;
}

.password-toggle {
  position: absolute;
  right: 0.35rem;
  bottom: 0;
  top: auto;
  width: 2.6rem;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
}

.password-toggle:hover,
.password-toggle:focus-visible {
  color: var(--accent);
  background: var(--accent-softer);
  outline: none;
}

.password-toggle-icon {
  width: 1.25rem;
  height: 1.25rem;
  fill: currentColor;
  display: block;
}

.password-toggle-icon[hidden] {
  display: none;
}

.btn-block {
  width: 100%;
}

/* �?????� / �??????????????????� � ??????? ??????????? ??? */
#auth-submit-btn.btn-primary {
  min-height: 46px;
  padding: 0.7rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 999px;
  clip-path: none;
  background: var(--accent);
  color: #fff;
  transition: background 0.25s ease, transform 0.25s ease;
}

#auth-submit-btn.btn-primary::before,
#auth-submit-btn.btn-primary::after {
  content: none;
  display: none;
}

#auth-submit-btn.btn-primary:hover,
#auth-submit-btn.btn-primary:focus-visible {
  background: var(--accent-hover);
  color: #fff;
  transform: translateY(-1px);
}

.btn-sm {
  min-height: 36px;
  padding: 0.4rem 0.9rem;
  font-size: 0.85rem;
}

.auth-legal {
  margin: 0.25rem 0 0;
  color: var(--ink-soft);
  font-size: 0.78rem;
  line-height: 1.4;
  text-align: center;
}

.auth-legal a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.auth-legal a:hover {
  color: var(--accent-hover);
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
  margin: 0 0 1.25rem;
  padding: 0.3rem;
  border-radius: 14px;
  background: rgba(45, 20, 16, 0.06);
}

.auth-tab {
  border: 0;
  border-radius: 11px;
  min-height: 42px;
  background: transparent;
  color: var(--ink-soft);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.auth-tab.is-active {
  background: var(--surface-solid);
  color: var(--accent);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.auth-form label.remember-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  color: var(--ink);
  font-size: 0.95rem;
  cursor: pointer;
  user-select: none;
}

.auth-form label.remember-row input {
  width: 18px;
  height: 18px;
  min-height: 18px;
  flex-shrink: 0;
  margin: 0;
  padding: 0;
  accent-color: var(--accent);
  cursor: pointer;
}

.auth-form label.remember-row span {
  line-height: 1.2;
}

.auth-forgot {
  display: block;
  width: 100%;
  margin: 0.15rem 0 0;
  text-align: center;
}

.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.auth-modal[hidden] {
  display: none;
}

.auth-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(45, 20, 16, 0.45);
}

.auth-modal-card {
  position: relative;
  z-index: 1;
  width: min(100%, 420px);
  padding: clamp(1.25rem, 3vw, 1.75rem);
  border-radius: var(--radius);
  background: var(--surface-solid);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  text-align: center;
  animation: float-in 0.35s ease both;
}

.auth-modal-card--confirm {
  width: min(100%, 380px);
}

.auth-modal-card--confirm .auth-title {
  margin-bottom: 1.25rem;
  font-size: clamp(1.2rem, 2.6vw, 1.45rem);
}

.confirm-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.confirm-actions .btn {
  width: 100%;
}

.auth-modal-close {
  position: absolute;
  top: 0.65rem;
  right: 0.75rem;
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.auth-modal-close:hover {
  color: var(--accent);
}

body.auth-modal-open {
  overflow: hidden;
}

.auth-demo-note,
.auth-demo-code {
  margin: 0;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  background: var(--accent-softer);
  border: 1px solid rgba(var(--accent-rgb), 0.18);
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.4;
  text-align: left;
}

.auth-demo-code {
  text-align: center;
  letter-spacing: 0.02em;
}

.auth-demo-code strong {
  color: var(--accent);
  font-size: 1.15rem;
  letter-spacing: 0.12em;
}

.auth-demo-ttl {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.8rem;
  color: var(--ink-soft);
}

.auth-link {
  display: inline-block;
  margin: -0.75rem 0 1.25rem;
  border: 0;
  background: none;
  color: var(--accent);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.auth-link:hover {
  color: var(--accent-hover);
}

.req {
  color: var(--accent);
  font-weight: 700;
}

.account-address.is-missing {
  color: var(--danger);
}

#profile-phone-input[readonly] {
  background: rgba(45, 20, 16, 0.04);
  color: var(--ink-soft);
  cursor: default;
}

/* Footer */
.site-footer {
  position: relative;
  z-index: 1;
  margin-top: auto;
  flex-shrink: 0;
  padding: 2.4rem 0 2.5rem;
  background: var(--bg-deep);
  color: var(--text-on-dark);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.footer-main {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem 2.5rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  flex: 0 0 auto;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(140px, 1fr));
  gap: 1.5rem 2rem;
  flex: 1 1 420px;
  min-width: min(100%, 420px);
}

.footer-col-title {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-on-dark);
}

.footer-col-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0;
  border: 0;
  background: none;
  color: rgba(249, 240, 232, 0.82);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 500;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s ease;
}

.footer-link::before {
  content: "\2022";
  color: var(--nav-frame-gold);
  font-weight: 700;
  line-height: 1;
}

.footer-link:hover {
  color: #fff;
}

.socials {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.75rem;
}

.social {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(249, 240, 232, 0.14);
  color: var(--text-on-dark);
  overflow: hidden;
  transition: background 0.25s ease, transform 0.25s ease;
}

.social svg,
.social img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.social--review {
  width: auto;
  height: auto;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.15rem 0.7rem 0.15rem 0.15rem;
  border-radius: 999px;
  overflow: visible;
  text-decoration: none;
  color: var(--text-on-dark);
}

.social--text {
  width: auto;
  height: auto;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.15rem;
  border-radius: 0;
  background: transparent;
  overflow: visible;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  color: var(--text-on-dark);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.25;
  white-space: nowrap;
}

.social--text:hover {
  background: transparent;
  color: #fff;
  transform: none;
}

.social-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  display: grid;
  place-items: center;
}

.social-caption {
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}

.social:hover {
  background: var(--accent);
  transform: translateY(-2px);
}

.social--review:hover {
  color: #fff;
}

.footer-copy,
.footer-inner > p {
  margin: 0;
  color: var(--text-on-dark-soft);
  font-size: 0.92rem;
}

.footer-dev {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem 0.4rem;
  margin-top: -0.35rem;
  padding-top: 0.95rem;
  border-top: 1px solid rgba(249, 240, 232, 0.12);
  color: var(--text-on-dark-soft);
  font-size: 10px;
  line-height: 1.4;
}

.footer-dev-label {
  color: var(--text-on-dark-soft);
}

.footer-dev-link {
  color: var(--text-on-dark-soft);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-dev-link:hover {
  color: #fff;
}

.site-footer .logo-footer {
  color: var(--text-on-dark);
}

.checkout-legal-body ul {
  margin: 0.35rem 0 0.85rem;
  padding-left: 1.15rem;
}

.checkout-legal-body li {
  margin: 0.25rem 0;
}

/* About page */
.page-about {
  background:
    radial-gradient(900px 420px at 8% 0%, rgba(249, 232, 210, 0.95), transparent 55%),
    radial-gradient(700px 380px at 100% 8%, rgba(247, 225, 200, 0.75), transparent 50%),
    linear-gradient(180deg, #f8ead6 0%, var(--bg) 40%, #f4dfc4 100%);
}

.about-page {
  position: relative;
  overflow: hidden;
  padding-bottom: 3rem;
}

.about-decor {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.about-decor .decor-sakura {
  width: min(420px, 38vw);
  opacity: 0.92;
  filter: drop-shadow(0 8px 18px rgba(74, 4, 4, 0.12));
}

.about-hero {
  position: relative;
  z-index: 1;
  padding: 2rem 0 1.25rem;
}

.about-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 1.5rem 2rem;
  align-items: center;
}

.about-hero-copy {
  position: relative;
  z-index: 2;
  max-width: 34rem;
  animation: rise-in 0.75s ease both;
}

.about-hero-title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.1;
  color: #8b1515;
}

.about-hero-title-text {
  display: inline-block;
  padding-bottom: 0.45rem;
  border-bottom: 3px solid #8b1515;
}

.about-hero-lead {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.3;
}

.about-hero-text {
  margin: 0 0 1rem;
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.65;
  max-width: 42ch;
}

.about-hero-thanks {
  margin: 0;
  color: #6b1a1a;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.5;
}

.about-hero-art {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: min(48vw, 420px);
  animation: float-in 1s ease both 0.12s;
}

.about-cat-img {
  width: min(100%, 460px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 18px 30px rgba(74, 4, 4, 0.22));
  animation: bob 4.5s ease-in-out infinite;
}

.about-bottom {
  position: relative;
  z-index: 1;
  padding: 0.5rem 0 1rem;
}

.about-bottom-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}

.about-history {
  min-width: 0;
  animation: float-in 0.9s ease 0.1s both;
}

.about-history-banner {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(280px, 1.05fr);
  align-items: stretch;
  overflow: hidden;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(74, 4, 4, 0.12);
}

.about-history-photo {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  object-position: center;
}

.about-history-media {
  position: relative;
  min-width: 0;
  min-height: 340px;
  background: #f3ebe3;
}

.about-history-carousel {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 340px;
  overflow: hidden;
}

.about-history-carousel-viewport {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 340px;
}

.about-history-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.about-history-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}

.about-history-carousel-btn {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 2.35rem;
  height: 2.35rem;
  border: 0;
  border-radius: 999px;
  background: rgba(74, 4, 4, 0.72);
  color: #fff;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 0.2s ease, transform 0.2s ease;
}

.about-history-carousel-btn::before {
  content: "";
  display: block;
  width: 0.55rem;
  height: 0.55rem;
  margin: 0 auto;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
}

.about-history-carousel-btn--prev {
  left: 0.75rem;
}

.about-history-carousel-btn--prev::before {
  transform: translateX(0.12rem) rotate(135deg);
}

.about-history-carousel-btn--next {
  right: 0.75rem;
}

.about-history-carousel-btn--next::before {
  transform: translateX(-0.12rem) rotate(-45deg);
}

.about-history-carousel-btn:hover {
  background: rgba(74, 4, 4, 0.9);
}

.about-history-carousel-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.85rem;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 0.4rem;
}

.about-history-dot {
  width: 0.55rem;
  height: 0.55rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.about-history-dot.is-active {
  background: #fff;
  transform: scale(1.15);
}

.about-editor-photos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 0.65rem;
  margin: 0.75rem 0 0.35rem;
}

.about-editor-photo-item {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 12px;
  background: #efe6dc;
  box-shadow: inset 0 0 0 1px rgba(74, 4, 4, 0.08);
}

.about-editor-photo-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-editor-photo-remove {
  position: absolute;
  top: 0.3rem;
  right: 0.3rem;
  width: 1.55rem;
  height: 1.55rem;
  border: 0;
  border-radius: 999px;
  background: rgba(74, 4, 4, 0.82);
  color: #fff;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
}

.about-editor-photo-index {
  position: absolute;
  left: 0.35rem;
  bottom: 0.35rem;
  min-width: 1.25rem;
  padding: 0.1rem 0.35rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: #4a0404;
  font-size: 0.72rem;
  font-weight: 700;
  text-align: center;
}

.about-history-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.75rem 1.5rem 1.75rem 1.85rem;
  background: #fff;
}

.about-history-copy::after {
  content: "";
  position: absolute;
  top: 0;
  right: -4.5rem;
  bottom: 0;
  width: 5rem;
  pointer-events: none;
  background: linear-gradient(
    to right,
    #fff 0%,
    rgba(255, 255, 255, 0.72) 42%,
    rgba(255, 255, 255, 0) 100%
  );
}

.about-history-title {
  margin: 0 0 0.9rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 900;
  color: #8b1515;
  line-height: 1.15;
}

.about-history-title-text {
  display: inline-block;
  padding-bottom: 0.4rem;
  border-bottom: 2.5px solid #8b1515;
}

.about-history-copy p {
  margin: 0 0 0.75rem;
  max-width: 36ch;
  color: var(--ink);
  font-size: 0.92rem;
  line-height: 1.55;
}

.about-history-copy p:last-child {
  margin-bottom: 0;
}

@media (max-width: 980px) {
  .about-hero-inner,
  .about-bottom-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .about-hero-copy {
    max-width: none;
    text-align: center;
  }

  .about-hero-text {
    max-width: 40rem;
    margin-left: auto;
    margin-right: auto;
  }

  .about-hero-art {
    min-height: 280px;
    order: -1;
  }

  .about-history-banner {
    grid-template-columns: 1fr;
  }

  .about-history-media,
  .about-history-carousel,
  .about-history-carousel-viewport,
  .about-history-photo {
    min-height: 240px;
    height: 260px;
  }

  .about-history-media {
    order: -1;
  }

  .about-history-copy {
    padding: 1.4rem 1.35rem 1.5rem;
  }

  .about-history-copy::after {
    display: none;
  }
}

@media (max-width: 700px) {
  .about-history-media,
  .about-history-carousel,
  .about-history-carousel-viewport,
  .about-history-photo {
    height: 210px;
    min-height: 210px;
  }

  .about-history-copy {
    padding: 1.2rem 1.1rem;
  }

  .about-history-copy p {
    max-width: none;
  }

  .about-decor .decor-sakura {
    width: min(280px, 55vw);
    opacity: 0.7;
  }
}

/* Motion */
@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float-in {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes bob {
  0%,
  100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes lantern-sway {
  0%,
  100% { transform: rotate(-4deg); }
  50% { transform: rotate(4deg); }
}

@keyframes lantern-glow {
  0%,
  100% {
    filter: drop-shadow(0 0 8px rgba(255, 170, 60, 0.28)) brightness(0.96);
    opacity: 0.92;
  }
  50% {
    filter: drop-shadow(0 0 18px rgba(255, 200, 90, 0.55)) brightness(1.08);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* Responsive */
@media (max-width: 1200px) {
  .header-inner {
    gap: 0.75rem;
  }

  .order-timer {
    padding: 0.22rem 0.5rem 0.28rem;
  }

  .order-timer-title {
    font-size: 0.55rem;
  }

  .order-timer-value {
    font-size: 0.85rem;
  }

  .order-timer-label {
    font-size: 0.48rem;
  }

  .cart-nav-btn {
    margin-left: 0;
  }
}

@media (max-width: 980px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-lead {
    margin-inline: auto;
  }

  .hero-art {
    order: -1;
    min-height: 240px;
  }

  .hero-art-frame {
    width: min(320px, 70vw);
  }

  .menu-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .profile-grid {
    grid-template-columns: 1fr;
  }

  .profile-block:first-child {
    grid-row: auto;
  }

  .checkout-layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(260px, 1fr);
    overflow: hidden;
  }

  .checkout-form-col {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    max-height: 42vh;
  }

  .checkout-order-col {
    min-height: 0;
  }

  .checkout-address-cards {
    gap: 0.5rem;
  }

  .checkout-dialog {
    max-height: min(92vh, 900px);
  }
}

@media (max-width: 720px) {
  :root {
    --header-h: 58px;
  }

  .logo {
    margin-right: auto;
    font-size: 1.85rem;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .cart-nav-btn {
    margin-left: 0;
    min-height: 38px;
    padding: 0.4rem 0.7rem;
    font-size: 0.85rem;
  }

  .order-timer {
    order: 3;
    width: 100%;
    margin-left: 0;
    margin-top: 0.15rem;
  }

  .header-inner {
    flex-wrap: wrap;
    gap: 0.45rem 0.65rem;
    min-height: var(--header-h);
  }

  .hero {
    padding: 0.75rem 0 0.35rem;
  }

  .hero-art {
    min-height: 0;
  }

  .hero-art-frame {
    width: min(230px, 62vw);
  }

  .decor-sakura {
    width: min(170px, 40vw);
    opacity: 0.8;
  }

  .catalog-menu {
    background-attachment: scroll;
  }

  .cart-item {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .cart-item-media {
    width: 72px;
    height: 72px;
  }

  .cart-item-side {
    grid-column: 1 / -1;
    grid-template-columns: 1fr auto;
    align-items: center;
    min-width: 0;
  }

  .cart-item-price-block {
    min-width: 0;
  }

  .cart-remove {
    justify-self: end;
    align-self: center;
  }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    display: grid;
    gap: 0;
    padding: 0.5rem 1rem 1rem;
    background: var(--header-bg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  body.nav-open .nav {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-link {
    justify-content: flex-start;
    min-height: 44px;
    padding: 0.65rem 1rem;
  }

  .menu-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-modal {
    padding: 0.75rem;
    align-items: end;
  }

  .product-dialog {
    width: 100%;
    max-height: min(92vh, 720px);
    border-radius: 18px 18px 14px 14px;
  }

  .product-modal-media {
    padding: 0.9rem 0.9rem 0;
  }

  .product-modal-content {
    padding: 1rem 1.05rem 1.2rem;
  }

  .profile-head {
    flex-direction: column;
  }

  .order-card-head {
    flex-direction: column;
  }

  .order-card-meta {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }

  .footer-inner {
    align-items: stretch;
  }

  .footer-nav {
    grid-template-columns: 1fr 1fr;
    min-width: 0;
  }
}

@media (max-width: 480px) {
  .menu-grid {
    grid-template-columns: 1fr;
  }

  .menu-btn {
    min-height: 88px;
  }

  .footer-nav {
    grid-template-columns: 1fr;
  }

  .hero-line1,
  .hero-line2 {
    font-size: 1.45rem;
  }

  .hero-brand {
    font-size: 2rem;
  }

  .hero-lead {
    font-size: 0.95rem;
  }

  .container {
    width: min(100% - 1.25rem, var(--container));
  }
}

/* Delivery info page */
.page-delivery {
  background: #4a0404;
}

.delivery-page {
  position: relative;
  overflow: hidden;
  padding-bottom: 2.5rem;
  min-height: calc(100vh - var(--header-h));
}

.delivery-decor {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.delivery-decor .decor-sakura {
  width: min(420px, 38vw);
  opacity: 0.92;
  filter: drop-shadow(0 8px 18px rgba(74, 4, 4, 0.12));
}

.delivery-hero {
  position: relative;
  z-index: 1;
  padding: 2rem 0 1.25rem;
}

.delivery-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 1.5rem 2rem;
  align-items: center;
}

.delivery-hero-copy {
  position: relative;
  z-index: 2;
  max-width: 34rem;
  animation: deliveryFadeUp 0.7s ease both;
}

.delivery-hero-copy h1 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.4vw, 2.65rem);
  font-weight: 900;
  line-height: 1.15;
  color: #4a0404;
}

.delivery-hero-lead {
  margin: 0 0 0.65rem;
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  font-weight: 700;
  color: #6b1a1a;
  line-height: 1.4;
}

.delivery-hero-text {
  margin: 0 0 1.35rem;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 28rem;
}

.delivery-hero-cta {
  min-width: 220px;
}

.delivery-hero-art {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: min(52vw, 420px);
  animation: deliveryFadeIn 0.85s ease 0.12s both;
}

.delivery-fox-img {
  position: relative;
  z-index: 3;
  width: min(100%, 460px);
  height: auto;
  object-fit: contain;
  mix-blend-mode: lighten;
  filter: drop-shadow(0 18px 24px rgba(74, 4, 4, 0.22));
  animation: bob 4.5s ease-in-out infinite;
}

.delivery-body {
  position: relative;
  z-index: 1;
  padding: 0.5rem 0 1.5rem;
}

.delivery-features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.delivery-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  padding: 1.15rem 0.9rem 1.2rem;
  border-radius: 18px;
  background: rgba(253, 245, 230, 0.88);
  border: 1px solid rgba(165, 28, 28, 0.1);
  box-shadow: 0 10px 24px rgba(74, 4, 4, 0.08);
  animation: deliveryFadeUp 0.65s ease both;
}

.delivery-card > p:last-child {
  margin-top: 0.55rem;
  padding-top: 0;
}

.delivery-card > .delivery-card-tag {
  margin-top: 0;
}

.delivery-card > .delivery-card-tag + p {
  margin-top: 0.45rem;
  padding-top: 0;
}

.delivery-card > .delivery-card-tag[hidden] + p {
  margin-top: 0.55rem;
  padding-top: 0;
}

.delivery-card:nth-child(1) { animation-delay: 0.05s; }
.delivery-card:nth-child(2) { animation-delay: 0.1s; }
.delivery-card:nth-child(3) { animation-delay: 0.15s; }
.delivery-card:nth-child(4) { animation-delay: 0.2s; }

.delivery-card-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 0.7rem;
  border-radius: 50%;
  background: rgba(165, 28, 28, 0.1);
  color: #7a1010;
}

.delivery-card-icon svg {
  width: 26px;
  height: 26px;
}

.delivery-card h2 {
  margin: 0 0 0.4rem;
  width: 100%;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 800;
  color: #4a0404;
  line-height: 1.25;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.delivery-card-tag {
  margin: 0 0 0.55rem;
  max-width: 100%;
  padding: 0.35rem 0.65rem;
  border-radius: 12px;
  background: rgba(165, 28, 28, 0.1);
  color: #8a1818;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.35;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.delivery-card p {
  margin: 0;
  width: 100%;
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.delivery-notice-wrap {
  position: relative;
  z-index: 1;
  padding: 0.35rem 0 1rem;
}

.delivery-notice {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.35rem;
  border-radius: 16px;
  background: rgba(253, 245, 230, 0.78);
  border: 2px dotted rgba(165, 28, 28, 0.45);
  box-shadow: 0 8px 20px rgba(74, 4, 4, 0.06);
  animation: deliveryFadeUp 0.7s ease 0.28s both;
}

.delivery-notice p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.5;
  text-align: center;
}

.delivery-notice strong {
  color: #4a0404;
  font-weight: 800;
}

@keyframes deliveryFadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes deliveryFadeIn {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

@media (max-width: 1000px) {
  .delivery-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .delivery-hero-inner {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .delivery-hero-copy {
    max-width: none;
    text-align: center;
  }

  .delivery-hero-text {
    max-width: 34rem;
    margin-left: auto;
    margin-right: auto;
  }

  .delivery-hero-art {
    min-height: 300px;
    order: -1;
  }
}

@media (max-width: 640px) {
  .delivery-features {
    grid-template-columns: 1fr;
  }

  .delivery-decor .decor-sakura {
    width: min(280px, 55vw);
    opacity: 0.7;
  }

  .page-delivery {
    background-attachment: scroll;
  }
}

/* Legal document pages */
.page-legal {
  background:
    radial-gradient(900px 420px at 8% 0%, rgba(249, 232, 210, 0.95), transparent 55%),
    radial-gradient(700px 380px at 100% 8%, rgba(247, 225, 200, 0.75), transparent 50%),
    linear-gradient(180deg, #f8efe3 0%, #f3e4d2 48%, #efe0cd 100%);
}

.legal-page {
  position: relative;
  padding: 1.5rem 0 3rem;
  overflow: hidden;
}

.legal-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.legal-decor .decor-sakura {
  position: absolute;
  width: min(340px, 42vw);
  opacity: 0.55;
}

.legal-decor .decor-sakura--left {
  top: 2rem;
  left: -4rem;
}

.legal-decor .decor-sakura--right {
  top: 8rem;
  right: -5rem;
}

.legal-doc {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  padding: 1.75rem 1.6rem 2rem;
  border-radius: 22px;
  background: rgba(255, 252, 247, 0.92);
  border: 1px solid rgba(165, 28, 28, 0.08);
  box-shadow: 0 16px 40px rgba(74, 4, 4, 0.08);
}

.legal-doc-head {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(165, 28, 28, 0.12);
}

.legal-doc-head h1 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3vw, 2rem);
  font-weight: 900;
  color: #8b1515;
  line-height: 1.15;
}

.legal-doc-lead {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.legal-section {
  margin: 0 0 1.35rem;
}

.legal-section:last-child {
  margin-bottom: 0;
}

.legal-section h2 {
  margin: 0 0 0.7rem;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 800;
  color: #8b1515;
  line-height: 1.3;
}

.legal-section p {
  margin: 0 0 0.65rem;
  color: var(--ink);
  font-size: 0.92rem;
  line-height: 1.6;
}

.legal-section p:last-child {
  margin-bottom: 0;
}

@media (max-width: 700px) {
  .legal-doc {
    padding: 1.25rem 1.05rem 1.5rem;
    border-radius: 18px;
  }

  .legal-decor .decor-sakura {
    width: min(260px, 55vw);
    opacity: 0.45;
  }
}

/* Contacts page */
.page-contacts {
  background:
    radial-gradient(900px 420px at 8% 0%, rgba(249, 232, 210, 0.95), transparent 55%),
    radial-gradient(700px 380px at 100% 8%, rgba(247, 225, 200, 0.75), transparent 50%),
    linear-gradient(180deg, #f8efe3 0%, #f3e4d2 48%, #efe0cd 100%);
}

.contacts-page {
  position: relative;
  padding: 1.5rem 0 3rem;
  overflow: hidden;
}

.contacts-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.contacts-decor .decor-sakura {
  position: absolute;
  width: min(340px, 42vw);
  opacity: 0.5;
}

.contacts-decor .decor-sakura--left {
  top: 1.5rem;
  left: -4rem;
}

.contacts-decor .decor-sakura--right {
  top: 10rem;
  right: -5rem;
}

.contacts-inner {
  position: relative;
  z-index: 1;
}

.contacts-page-head {
  margin-bottom: 1.25rem;
}

.contacts-page-head h1 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.2vw, 2.25rem);
  font-weight: 900;
  color: #8b1515;
  line-height: 1.15;
}

.contacts-page-lead {
  margin: 0;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 600;
}

.contacts-location {
  margin-bottom: 2rem;
  padding: 1rem;
  border-radius: 18px;
  background: rgba(255, 252, 247, 0.92);
  border: 1px solid rgba(165, 28, 28, 0.1);
  box-shadow: 0 14px 36px rgba(74, 4, 4, 0.07);
}

.contacts-map-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(165, 28, 28, 0.12);
  background: #e8dfd2;
}

.contacts-map {
  display: block;
  width: 100%;
  height: min(52vw, 420px);
  min-height: 280px;
  border: 0;
}

.contacts-map-open {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2;
  padding: 0.4rem 0.7rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.contacts-map-open:hover {
  color: #8b1515;
}

.contacts-info-grid {
  display: grid;
  grid-template-columns: max-content minmax(9.5rem, 1fr) minmax(9.5rem, 1fr) minmax(10rem, 1.1fr);
  gap: 1.25rem 2.25rem;
  margin-top: 1.1rem;
  padding: 0.35rem 0.25rem 0.2rem;
  align-items: start;
}

.contacts-info-item {
  min-width: 0;
}

.contacts-info-title {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.25;
}

.contacts-info-text {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.45;
}

.contacts-address-line {
  display: block;
  white-space: nowrap;
}

.contacts-info-phone {
  color: #8b1515;
  font-weight: 700;
  text-decoration: none;
}

.contacts-info-phone:hover {
  text-decoration: underline;
}

.contacts-feedback {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.contacts-feedback h2 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.4vw, 1.55rem);
  font-weight: 900;
  color: #8b1515;
  text-align: center;
}

.contacts-feedback-form {
  display: grid;
  gap: 0.9rem;
}

.contacts-field {
  display: grid;
  gap: 0.4rem;
}

.contacts-field-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
}

.contacts-field-label .req {
  color: #8b1515;
}

.contacts-field input,
.contacts-field textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid rgba(165, 28, 28, 0.18);
  border-radius: 10px;
  background: rgba(255, 252, 247, 0.95);
  color: var(--ink);
  font: inherit;
  font-size: 0.95rem;
  resize: vertical;
}

.contacts-field input:focus,
.contacts-field textarea:focus {
  outline: 2px solid rgba(139, 21, 21, 0.28);
  outline-offset: 1px;
  border-color: rgba(139, 21, 21, 0.45);
}

.contacts-feedback-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.25rem;
}

.form-message-error {
  color: var(--danger);
}

@media (max-width: 1100px) {
  .contacts-info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.15rem 1.75rem;
  }
}

@media (max-width: 900px) {
  .contacts-info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .contacts-location {
    padding: 0.75rem;
  }

  .contacts-map {
    min-height: 240px;
    height: 260px;
  }

  .contacts-info-grid {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }

  .contacts-feedback-actions {
    justify-content: stretch;
  }

  .contacts-feedback-actions .btn {
    width: 100%;
  }

  .contacts-decor .decor-sakura {
    width: min(260px, 55vw);
    opacity: 0.4;
  }
}

/* ===== Light theme (chef profile toggle) ===== */
[data-theme="light"] {
  --bg: #ffffff;
  --bg-deep: #ffffff;
  --bg-mid: #ffffff;
  --header-bg: #ffffff;
  --ink: #1a1514;
  --ink-soft: #5c4540;
  --line: rgba(26, 21, 20, 0.12);
  --accent: #1a1514;
  --accent-hover: #333333;
  --accent-rgb: 26, 21, 20;
  --accent-soft: rgba(26, 21, 20, 0.08);
  --accent-softer: rgba(26, 21, 20, 0.04);
  --surface: #ffffff;
  --surface-solid: #ffffff;
  --text-on-dark: #1a1514;
  --text-on-dark-soft: rgba(26, 21, 20, 0.72);
  --product-card-bg: #ffffff;
  --product-card-border: rgba(26, 21, 20, 0.15);
  --product-card-ink: #1a1514;
  --product-card-ink-soft: #5c4540;
  --product-card-ribbon: transparent;
  --category-frame-bg: #ffffff;
  --category-frame-border: rgba(26, 21, 20, 0.15);
  --category-frame-ink: #1a1514;
  --product-corner-tl: none;
  --product-corner-tr: none;
  --product-corner-bl: none;
  --product-corner-br: none;
  --product-cloud: none;
}

[data-theme="light"] body {
  background: #ffffff;
  color: var(--ink);
}

[data-theme="light"] body.page-account {
  background: #ffffff;
}

[data-theme="light"] body.page-account::before {
  background: #ffffff;
  background-image: none;
}

[data-theme="light"] .site-header {
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

[data-theme="light"] .logo,
[data-theme="light"] .site-footer .logo-footer {
  color: var(--ink);
}

[data-theme="light"] .nav-link,
[data-theme="light"] .cart-nav-btn,
[data-theme="light"] .btn,
[data-theme="light"] .btn-primary,
[data-theme="light"] .btn-ghost {
  color: var(--ink);
  clip-path: none;
  background: transparent;
}

[data-theme="light"] .nav-link::before,
[data-theme="light"] .nav-link::after,
[data-theme="light"] .cart-nav-btn::before,
[data-theme="light"] .cart-nav-btn::after,
[data-theme="light"] .btn-primary::before,
[data-theme="light"] .btn-primary::after,
[data-theme="light"] .btn-ghost::before,
[data-theme="light"] .btn-ghost::after {
  content: none;
}

[data-theme="light"] .nav-link:hover,
[data-theme="light"] .nav-link.is-active,
[data-theme="light"] .cart-nav-btn:hover,
[data-theme="light"] .btn-primary:hover,
[data-theme="light"] .btn-ghost:hover {
  color: var(--ink);
  background: rgba(26, 21, 20, 0.06);
  border-radius: 8px;
}

[data-theme="light"] .nav-toggle {
  border-color: var(--line);
}

[data-theme="light"] .nav-toggle span {
  background: var(--ink);
}

[data-theme="light"] .order-timer {
  background: #ffffff;
  border: 1px solid var(--line);
  color: var(--ink);
}

[data-theme="light"] .hero,
[data-theme="light"] .menu-section,
[data-theme="light"] .catalog-menu,
[data-theme="light"] .products-section,
[data-theme="light"] .account-section,
[data-theme="light"] .page-delivery,
[data-theme="light"] .page-about {
  background: #ffffff !important;
  background-image: none !important;
  color: var(--ink);
}

[data-theme="light"] .menu-section .section-head h2,
[data-theme="light"] .products-section .section-head h2,
[data-theme="light"] .products-section .section-head p {
  color: var(--ink);
}

[data-theme="light"] .menu-section .section-line {
  background: var(--ink);
}

[data-theme="light"] .hero-brand {
  color: var(--ink);
}

[data-theme="light"] .hero-decor,
[data-theme="light"] .catalog-menu-decor,
[data-theme="light"] .delivery-decor,
[data-theme="light"] .about-decor,
[data-theme="light"] .contacts-decor,
[data-theme="light"] .decor-lantern,
[data-theme="light"] .decor-sakura {
  display: none !important;
}

[data-theme="light"] .product-card-frame {
  background-color: #ffffff;
  background-image: none;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--line);
}

[data-theme="light"] .product-visual,
[data-theme="light"] .product-visual.has-image,
[data-theme="light"] .product-modal-visual.has-image {
  background-color: #f5f5f5;
  background-image: none !important;
}

[data-theme="light"] .product-badge {
  background: transparent;
  clip-path: none;
  box-shadow: none;
  color: transparent;
}

[data-theme="light"] .product-badge img {
  display: block;
}

[data-theme="light"] .menu-title {
  clip-path: none;
  color: var(--ink);
  background: transparent;
}

[data-theme="light"] .menu-title::before,
[data-theme="light"] .menu-title::after,
[data-theme="light"] .filter-btn::before,
[data-theme="light"] .filter-btn::after {
  content: none;
}

[data-theme="light"] .filter-btn {
  clip-path: none;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
}

[data-theme="light"] .filter-btn:hover,
[data-theme="light"] .filter-btn.is-active,
[data-theme="light"] .catalog-menu .filter-btn:hover,
[data-theme="light"] .catalog-menu .filter-btn.is-active {
  color: var(--ink);
  background: rgba(26, 21, 20, 0.06);
  border-color: rgba(26, 21, 20, 0.25);
}

[data-theme="light"] .catalog-menu .filter-btn {
  color: var(--ink);
}

[data-theme="light"] .menu-icon {
  color: var(--ink);
  border-color: var(--line);
  background: rgba(26, 21, 20, 0.04);
}

[data-theme="light"] .site-footer {
  background: #ffffff;
  color: var(--ink);
  border-top: 1px solid var(--line);
}

[data-theme="light"] .footer-col-title,
[data-theme="light"] .footer-nav a,
[data-theme="light"] .footer-link,
[data-theme="light"] .footer-copy,
[data-theme="light"] .footer-inner > p,
[data-theme="light"] .footer-dev,
[data-theme="light"] .footer-dev-label,
[data-theme="light"] .footer-dev-link {
  color: var(--ink-soft);
}

[data-theme="light"] .footer-dev {
  border-top-color: var(--line);
}

[data-theme="light"] .footer-dev-link:hover,
[data-theme="light"] .footer-nav a:hover,
[data-theme="light"] .footer-link:hover {
  color: var(--ink);
}

[data-theme="light"] .social {
  border-color: var(--line);
  color: var(--ink);
}

[data-theme="light"] .social:hover {
  background: rgba(26, 21, 20, 0.06);
  color: var(--ink);
}

[data-theme="light"] .delivery-hero-copy h1,
[data-theme="light"] .delivery-info-card h2,
[data-theme="light"] .delivery-info-card h3,
[data-theme="light"] .delivery-notice,
[data-theme="light"] .about-hero-copy h1,
[data-theme="light"] .about-history h2,
[data-theme="light"] .legal-page h1,
[data-theme="light"] .legal-page h2,
[data-theme="light"] .contacts-page h1,
[data-theme="light"] .contacts-info-card h2 {
  color: var(--ink);
}

[data-theme="light"] .delivery-hero-copy p,
[data-theme="light"] .delivery-info-card p,
[data-theme="light"] .about-hero-copy p,
[data-theme="light"] .about-history p,
[data-theme="light"] .legal-page p,
[data-theme="light"] .legal-page li,
[data-theme="light"] .contacts-info-card p {
  color: var(--ink-soft);
}

[data-theme="light"] .delivery-info-card,
[data-theme="light"] .delivery-notice-box,
[data-theme="light"] .about-history-card,
[data-theme="light"] .contacts-info-card,
[data-theme="light"] .contacts-feedback-card,
[data-theme="light"] .profile-block,
[data-theme="light"] .auth-card,
[data-theme="light"] .account-panel,
[data-theme="light"] .kitchen-order-card,
[data-theme="light"] .site-editor-pane,
[data-theme="light"] .feedback-inbox-item {
  background: #ffffff;
  border-color: var(--line);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .account-tab.is-active {
  color: var(--ink);
  background: rgba(26, 21, 20, 0.08);
}

[data-theme="light"] .req,
[data-theme="light"] .auth-eyebrow {
  color: var(--ink);
}

[data-theme="light"] .contacts-phone-frame::before,
[data-theme="light"] .contacts-phone-frame::after {
  content: none;
}

[data-theme="light"] .contacts-phone-frame {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  clip-path: none;
}

[data-theme="light"] .contacts-popover-card {
  background: #ffffff;
  border: 1px solid var(--line);
}

[data-theme="light"] .contacts-title,
[data-theme="light"] .contacts-phone-value {
  color: var(--ink);
}

[data-theme="light"] .contacts-ornament::before,
[data-theme="light"] .contacts-ornament::after {
  background: var(--line);
}

[data-theme="light"] .cart-count {
  background: var(--ink);
  color: #ffffff;
}

[data-theme="light"] .btn-cart.is-added {
  color: var(--ink);
}

[data-theme="light"] .btn-cart.is-added::after {
  background: rgba(26, 21, 20, 0.06);
  box-shadow: none;
}

[data-theme="light"] .profile-style-actions,
[data-theme="light"] .profile-archive-actions {
  margin-top: 0.5rem;
}

[data-theme="light"] .page-about {
  background: #ffffff !important;
}

[data-theme="light"] .legal-page,
[data-theme="light"] .contacts-page,
[data-theme="light"] .delivery-page {
  background: transparent;
}

[data-theme="light"] .hero-cat-img {
  filter: none;
}

[data-theme="light"] .menu-card {
  background: #ffffff;
  border-color: var(--line);
}

[data-theme="light"] .menu-card:hover {
  border-color: rgba(26, 21, 20, 0.25);
}

[data-theme="light"] .checkout-overlay,
[data-theme="light"] .cart-drawer,
[data-theme="light"] .product-modal-card {
  background: #ffffff;
}

[data-theme="light"] .site-preview-banner {
  background: #ffffff;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

[data-theme="light"] .delivery-hero-copy h1,
[data-theme="light"] .delivery-widget-tag,
[data-theme="light"] .delivery-notice-box strong,
[data-theme="light"] .about-hero-copy h1 {
  color: var(--ink) !important;
}

[data-theme="light"] .delivery-hero-lead,
[data-theme="light"] .delivery-widget h3 {
  color: var(--ink-soft) !important;
}

[data-theme="light"] .delivery-widget,
[data-theme="light"] .delivery-notice-box {
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .delivery-fox-img {
  filter: none;
}

[data-theme="light"] .about-history-media,
[data-theme="light"] .about-history-photo {
  /* about-history.png остаётся */
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .about-history-copy::after {
  display: none;
}

[data-theme="light"] .legal-content,
[data-theme="light"] .page-intro {
  color: var(--ink);
}

[data-theme="light"] .legal-content h2,
[data-theme="light"] .legal-content h3 {
  color: var(--ink);
}

[data-theme="light"] .stats-card,
[data-theme="light"] .stats-metric {
  background: #ffffff;
  border: 1px solid var(--line);
}

[data-theme="light"] .product-modal-visual::before,
[data-theme="light"] .product-modal-visual::after {
  content: none;
}

[data-theme="light"] .menu-btn--text {
  color: var(--ink);
}

[data-theme="light"] .menu-btn--text::before,
[data-theme="light"] .menu-btn--text::after {
  content: none;
}

[data-theme="light"] .menu-btn--text {
  clip-path: none;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

[data-theme="light"] .menu-btn--text:hover {
  background: rgba(26, 21, 20, 0.04);
}

[data-theme="light"] .page-legal {
  background: #ffffff !important;
}

[data-theme="light"] .legal-decor {
  display: none !important;
}

[data-theme="light"] .product-modal-qty-btn:hover {
  background: var(--ink);
  color: #ffffff;
}

[data-theme="light"] .product-modal-cart {
  clip-path: none;
  color: #ffffff;
  background: var(--ink);
  border-radius: 10px;
}

[data-theme="light"] .product-modal-cart::before,
[data-theme="light"] .product-modal-cart::after {
  content: none;
}

[data-theme="light"] .btn-cart {
  clip-path: none;
}

[data-theme="light"] .btn-cart::before,
[data-theme="light"] .btn-cart::after {
  content: none;
}

.is-inapp-browser .site-header,
.is-inapp-browser .cart-overlay,
.is-inapp-browser .product-modal,
.is-inapp-browser .checkout-modal {
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.is-inapp-browser .hero-copy,
.is-inapp-browser .hero-art,
.is-inapp-browser .menu-card,
.is-inapp-browser .product-card,
.is-inapp-browser .decor-sakura,
.is-inapp-browser .decor-lantern,
.is-inapp-browser .hero-cat-img {
  animation: none !important;
}

@media (min-width: 901px) {
  .hero {
    background-image: url("../images/hero-bg.png");
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
  }

  .menu-section,
  .catalog-menu {
    background:
      linear-gradient(rgba(74, 4, 4, 0.2), rgba(74, 4, 4, 0.2)),
      url("../images/menu-section-bg.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }

  .catalog-menu {
    background-attachment: fixed;
  }

  .products-section {
    background:
      linear-gradient(rgba(74, 4, 4, 0.18), rgba(74, 4, 4, 0.18)),
      url("../images/section-bg.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }

  .page-delivery {
    background: url("../images/menu-section-bg.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
  }

  .product-card-frame {
    background-color: transparent;
    background-image: url("../images/product-card-bg.png?v=20260720cardbg");
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
  }

  .product-visual,
  .product-visual.has-image {
    background-image: url("../images/product-visual-frame.png?v=20260720frame");
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
  }

  .product-modal-visual,
  .product-modal-visual.has-image {
    background-image: url("../images/product-visual-frame.png?v=20260720frame");
    background-size: cover;
    background-position: center;
  }

  body.page-account::before {
    background-image: url("../images/account-bg.png");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
  }
}

