@font-face {
  font-family: "Ayandeh";
  src: url("/fonts/Ayandeh-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Ayandeh";
  src: url("/fonts/Ayandeh-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Ayandeh";
  src: url("/fonts/Ayandeh-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Ayandeh";
  src: url("/fonts/Ayandeh-Black.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "OakNum";
  src: url("/fonts/iranyekanwebboldfanum.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --oak-bg: #f5eadc;
  --oak-primary: #be762e;
  --oak-primary-soft: hsl(30, 53%, 57%);
  --oak-ink: #3a2412;
  --oak-muted: #9a7a5c;
  --oak-white: #ffffff;
  --oak-shadow: rgba(174, 121, 62, 0.2);
  --oak-radius: 14px;
  --oak-max: 504px;
  --font-brand: "Ayandeh", "Segoe UI", Tahoma, sans-serif;
  --font-num: "OakNum", "Ayandeh", sans-serif;
}

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

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

html {
  background:
    radial-gradient(120% 80% at 50% -10%, rgba(190, 118, 46, 0.12), transparent 55%),
    linear-gradient(180deg, #f8f0e4 0%, var(--oak-bg) 40%, #efe0cc 100%);
}

body {
  font-family: var(--font-brand);
  color: var(--oak-ink);
  background: transparent;
  -webkit-font-smoothing: antialiased;
}

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

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

button {
  font: inherit;
  border: 0;
  background: none;
  cursor: pointer;
  color: inherit;
}

.app-shell {
  width: min(100%, var(--oak-max));
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  padding: 12px 10px 28px;
}

.brand-header {
  position: relative;
  overflow: hidden;
  background-color: var(--oak-white);
  background-image: url("/img/pattern.png");
  background-repeat: repeat;
  border-radius: var(--oak-radius);
  box-shadow: 0 0 20px var(--oak-shadow);
  padding: 12px 14px 14px;
  animation: rise 0.7s ease both;
  scroll-margin-top: 12px;
}

.brand-header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand-header__identity {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: inherit;
}

.brand-logo {
  width: 64px;
  height: auto;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 6px rgba(190, 118, 46, 0.18));
}

.brand-name {
  margin: 0;
  font-size: clamp(0.95rem, 3.6vw, 1.15rem);
  font-weight: 900;
  line-height: 1.35;
  color: var(--oak-primary);
  letter-spacing: -0.01em;
}

.watermark {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 2px 0 12px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--oak-primary);
}

.watermark::before,
.watermark::after {
  content: "";
  width: 52px;
  height: 10px;
  background: url("/img/horizontal-pattern.png") center / contain no-repeat;
  opacity: 0.9;
}

.hamburger {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  display: grid;
  place-content: center;
  gap: 5px;
  border-radius: 10px;
  background: rgba(190, 118, 46, 0.08);
  transition: background 0.2s ease;
}

.hamburger:hover {
  background: rgba(190, 118, 46, 0.14);
}

.hamburger span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--oak-primary);
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.hamburger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.is-open span:nth-child(2) {
  opacity: 0;
}

.hamburger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(58, 36, 18, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.menu-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.side-menu {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 50;
  width: min(78vw, 280px);
  height: 100%;
  height: 100dvh;
  padding: 88px 28px 32px;
  background: var(--oak-white);
  box-shadow: -12px 0 40px rgba(90, 55, 20, 0.16);
  transform: translateX(0);
}

.side-menu__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.side-menu__list a {
  display: block;
  padding: 12px 4px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--oak-primary);
  border-bottom: 1px solid rgba(190, 118, 46, 0.12);
  transition: color 0.2s ease, padding-right 0.2s ease;
}

.side-menu__list a:hover {
  color: var(--oak-ink);
  padding-right: 6px;
}

.category-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  margin: 12px 0 8px;
  padding: 8px 0 10px;
  background: color-mix(in srgb, var(--oak-bg) 92%, white);
  backdrop-filter: blur(8px);
  animation: fade-in 0.7s ease 0.2s both;
}

.category-scroller {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 2px;
}

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

.category-btn {
  flex-shrink: 0;
  padding: 6px 0;
  font-size: 0.9rem;
  color: var(--oak-primary-soft);
  border-bottom: 2px solid transparent;
  transition: color 0.25s ease, border-color 0.25s ease;
  white-space: nowrap;
}

.category-btn:hover {
  color: var(--oak-primary);
}

.category-btn.is-active {
  color: var(--oak-primary);
  border-bottom-color: var(--oak-primary);
  font-weight: 700;
}

.category-section {
  scroll-margin-top: 58px;
  padding-top: 8px;
  margin-bottom: 18px;
}

.category-section__title {
  margin: 0 4px 10px;
  font-size: 1rem;
  font-weight: 900;
  color: var(--oak-primary);
}

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

.info-section {
  scroll-margin-top: 72px;
  margin-top: 8px;
  padding: 22px 8px 10px;
  border-top: 1px solid rgba(190, 118, 46, 0.16);
}

.info-section h2 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--oak-primary);
}

.info-section p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--oak-muted);
}

.product-card {
  border-radius: var(--oak-radius);
  animation: rise 0.55s ease both;
}

.product-card__button {
  display: block;
  width: 100%;
  padding: 6px;
  text-align: inherit;
  border-radius: var(--oak-radius);
  transition: transform 0.25s ease, background 0.2s ease;
}

.product-card__button:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.35);
}

.product-card__button:focus-visible {
  outline: 2px solid var(--oak-primary);
  outline-offset: 2px;
}

.product-card__media {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 8px;
  background: #efe2cf;
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.product-card:hover .product-card__media img {
  transform: scale(1.04);
}

.product-card__title {
  margin: 8px 2px 0;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--oak-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-card__title-en {
  margin: 3px 2px 8px;
  font-family: var(--font-en), "Fraunces", Georgia, serif;
  font-size: 0.62rem;
  font-weight: 500;
  font-style: italic;
  line-height: 1.2;
  letter-spacing: 0.03em;
  color: var(--oak-muted);
  text-align: right;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-card__price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: 0 2px 2px;
  color: var(--oak-primary);
}

.product-card__price-value {
  font-family: var(--font-num);
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1;
}

.product-card__price-unit {
  font-size: 0.65rem;
  font-weight: 700;
}

.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px 12px;
  color: var(--oak-muted);
  font-size: 0.95rem;
}

.product-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 18px 12px;
}

.product-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(58, 36, 18, 0.45);
  backdrop-filter: blur(3px);
}

.product-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 420px);
  max-height: min(92dvh, 720px);
  overflow: auto;
  background: var(--oak-white);
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(58, 36, 18, 0.28);
  animation: rise 0.28s ease both;
}

.product-modal__close {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--oak-primary);
  box-shadow: 0 4px 14px rgba(90, 55, 20, 0.16);
}

.product-modal__close svg,
.product-modal__nav svg {
  width: 16px;
  height: 16px;
  display: block;
}

.product-modal__gallery {
  position: relative;
}

.product-modal__media {
  aspect-ratio: 1;
  background: #efe2cf;
  overflow: hidden;
}

.product-modal__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-modal__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--oak-primary);
  box-shadow: 0 4px 14px rgba(90, 55, 20, 0.16);
}

.product-modal__nav--prev {
  right: 10px;
}

.product-modal__nav--next {
  left: 10px;
}

.product-modal__dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}

.product-modal__dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  transition: background 0.2s ease, transform 0.2s ease;
}

.product-modal__dot.is-active {
  background: var(--oak-primary);
  transform: scale(1.15);
}

.product-modal__body {
  padding: 16px 18px 22px;
}

.product-modal__title {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--oak-primary);
}

.product-modal__title-en {
  margin: 4px 0 0;
  font-family: var(--font-en), "Fraunces", Georgia, serif;
  font-size: 0.78rem;
  font-weight: 500;
  font-style: italic;
  letter-spacing: 0.03em;
  color: var(--oak-muted);
  text-align: right;
}

.product-modal__price {
  display: flex;
  align-items: baseline;
  gap: 5px;
  margin: 12px 0 0;
  color: var(--oak-primary);
}

.product-modal__price-value {
  font-family: var(--font-num);
  font-size: 1.35rem;
  font-weight: 900;
}

.product-modal__price-unit {
  font-size: 0.75rem;
  font-weight: 700;
}

.product-modal__desc {
  margin: 12px 0 0;
  font-size: 0.92rem;
  line-height: 1.85;
  color: var(--oak-ink);
}

.page-main {
  padding: 8px 2px 20px;
  animation: fade-in 0.55s ease both;
}

.page-hero {
  padding: 10px 4px 18px;
}

.page-kicker {
  margin: 0 0 6px;
  font-family: var(--font-en), "Fraunces", Georgia, serif;
  font-size: 0.72rem;
  font-style: italic;
  letter-spacing: 0.06em;
  color: var(--oak-muted);
  text-align: right;
}

.page-title {
  margin: 0;
  font-size: clamp(1.35rem, 5vw, 1.7rem);
  font-weight: 900;
  color: var(--oak-primary);
  line-height: 1.25;
}

.page-lead {
  margin: 10px 0 0;
  font-size: 0.98rem;
  line-height: 1.9;
  color: var(--oak-ink);
}

.page-block {
  padding: 8px 4px 18px;
}

.page-subtitle {
  margin: 0 0 10px;
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--oak-primary);
}

.page-text {
  margin: 0 0 12px;
  font-size: 0.94rem;
  line-height: 1.95;
  color: var(--oak-ink);
}

.page-text--soft {
  color: var(--oak-muted);
}

.about-highlights {
  display: grid;
  gap: 12px;
  padding: 4px 0 10px;
}

.about-highlight {
  padding: 14px 4px 12px;
  border-top: 1px solid rgba(190, 118, 46, 0.18);
  animation: rise 0.5s ease both;
}

.about-highlight h3 {
  margin: 0 0 6px;
  font-size: 1rem;
  font-weight: 900;
  color: var(--oak-primary);
}

.about-highlight p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--oak-muted);
}

.contact-details {
  display: grid;
  gap: 12px;
  padding: 4px 0 10px;
}

.contact-line {
  display: grid;
  gap: 4px;
  padding: 12px 4px;
  border-top: 1px solid rgba(190, 118, 46, 0.18);
  transition: color 0.2s ease;
}

a.contact-line:hover .contact-line__value {
  color: var(--oak-primary);
}

.contact-line__label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--oak-muted);
}

.contact-line__value {
  font-size: 1rem;
  font-weight: 700;
  color: var(--oak-ink);
}

.contact-line__hint {
  font-size: 0.82rem;
  color: var(--oak-muted);
  line-height: 1.6;
}

.hours-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.hours-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--oak-ink);
}

.hours-list__time {
  font-family: var(--font-num);
  font-weight: 700;
  color: var(--oak-primary);
  white-space: nowrap;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.social-links a {
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(190, 118, 46, 0.1);
  color: var(--oak-primary);
  font-size: 0.88rem;
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease;
}

.social-links a:hover {
  background: var(--oak-primary);
  color: var(--oak-white);
}

.contact-form {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.contact-form__field {
  display: grid;
  gap: 6px;
}

.contact-form__field span {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--oak-muted);
}

.contact-form__field input,
.contact-form__field textarea {
  width: 100%;
  border: 1px solid rgba(190, 118, 46, 0.22);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
  padding: 12px 14px;
  font: inherit;
  color: var(--oak-ink);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form__field input:focus,
.contact-form__field textarea:focus {
  border-color: var(--oak-primary);
  box-shadow: 0 0 0 3px rgba(190, 118, 46, 0.12);
}

.contact-form__field textarea {
  resize: vertical;
  min-height: 110px;
}

.contact-form__submit {
  margin-top: 4px;
  padding: 12px 18px;
  border-radius: 12px;
  background: var(--oak-primary);
  color: var(--oak-white);
  font-size: 0.95rem;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease;
}

.contact-form__submit:hover {
  background: #a86628;
  transform: translateY(-1px);
}

.contact-form__success {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--oak-primary);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media (min-width: 640px) {
  html {
    display: grid;
    place-items: start center;
  }

  .app-shell {
    margin-block: 18px;
    min-height: calc(100vh - 36px);
    border-radius: 22px;
    box-shadow: 0 18px 50px rgba(90, 55, 20, 0.12);
    background: var(--oak-bg);
    border: 1px solid rgba(190, 118, 46, 0.12);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
