*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-family: var(--lc-font-family); background-color: var(--lc-bg-page); color: var(--lc-text-primary); }
body { min-height: 100vh; background-image: var(--lc-bg-pattern); line-height: 1.65; -webkit-font-smoothing: antialiased; }
.container { width: 100%; max-width: var(--lc-container-max); margin: 0 auto; padding: 0 16px; }

/* پرده خوش‌آمدگویی گرافیکی با انیمیشن رسم لوگوی اختصاصی LOOK */
.splash-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: radial-gradient(circle at center, #0e4747 0%, #041b1b 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  transition: opacity 0.7s ease, transform 0.7s ease, visibility 0.7s;
}
.splash-screen.fade-out {
  opacity: 0;
  transform: scale(1.03);
  visibility: hidden;
  pointer-events: none;
}

.look-svg-splash {
  width: min(270px, 72vw);
  height: auto;
  overflow: visible;
  filter: drop-shadow(0 6px 24px rgba(212, 175, 55, 0.25));
}

/* استایل خطوط و انیمیشن رسم تدریجی اجزای لوگو */
.look-stroke {
  fill: none;
  stroke: var(--lc-color-accent-light);
  stroke-width: 3.2;
  stroke-linecap: butt;
  stroke-linejoin: miter;
  stroke-dasharray: 420;
  stroke-dashoffset: 420;
  animation: drawLookStroke 1.15s cubic-bezier(0.35, 0, 0.15, 1) forwards;
}

.look-chevron {
  fill: var(--lc-color-accent);
  opacity: 0;
  transform-origin: center;
  animation: chevronReveal 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.look-chevron-top { transform: translateY(14px); animation-delay: 0.1s; }
.look-chevron-bottom { transform: translateY(-14px); animation-delay: 0.1s; }

/* ترتیب زمانی رسم حروف L - O - O - K */
.stroke-l1 { animation-delay: 0.25s; }
.stroke-l2 { animation-delay: 0.42s; }
.stroke-o1 { animation-delay: 0.55s; }
.stroke-o2 { animation-delay: 0.75s; }
.stroke-k1 { animation-delay: 0.95s; }
.stroke-k2 { animation-delay: 1.08s; }

.splash-cafe-word {
  margin-top: 6px;
  font-family: var(--lc-font-brand);
  font-size: 0.95rem;
  letter-spacing: 0.45em;
  color: rgba(252, 250, 246, 0.85);
  opacity: 0;
  animation: splashFadeText 0.65s ease 1.35s forwards;
}

@keyframes drawLookStroke {
  to { stroke-dashoffset: 0; }
}
@keyframes chevronReveal {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes splashFadeText {
  to { opacity: 1; }
}

/* هدر لوکس برند همراه با لوگوی وکتور اختصاصی */
.cafe-header {
  position: relative;
  background: radial-gradient(circle at top center, #114b4b 0%, #052222 100%);
  color: var(--lc-text-on-primary);
  padding: 26px 16px 26px;
  text-align: center;
  border-bottom: 2px solid var(--lc-color-accent);
  border-bottom-left-radius: 28px;
  border-bottom-right-radius: 28px;
  box-shadow: var(--lc-shadow-md);
}
.header-brand-svg {
  width: 145px;
  height: auto;
  margin: 0 auto 6px;
  display: block;
}
.cafe-tagline {
  font-size: var(--lc-font-size-sm);
  color: rgba(252, 250, 246, 0.82);
  margin-top: 6px;
  font-weight: 300;
}

/* نوار چسبان دسته‌بندی و جستجو */
.sticky-nav-wrapper {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--lc-bg-header);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--lc-border-subtle);
  padding: 12px 0;
}
.search-box { margin-bottom: 10px; }
.search-input {
  width: 100%;
  padding: 10px 16px;
  border-radius: var(--lc-radius-pill);
  border: 1px solid var(--lc-border-color);
  background: var(--lc-bg-surface);
  font-family: inherit;
  font-size: var(--lc-font-size-sm);
  color: var(--lc-text-primary);
  box-shadow: var(--lc-shadow-sm);
  outline: none;
  transition: border-color var(--lc-transition-fast), box-shadow var(--lc-transition-fast);
}
.search-input:focus {
  border-color: var(--lc-color-accent);
  box-shadow: var(--lc-shadow-gold);
}
.category-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 2px 0;
}
.category-tabs::-webkit-scrollbar { display: none; }
.category-tab {
  flex: 0 0 auto;
  padding: 7px 16px;
  border-radius: var(--lc-radius-pill);
  border: 1px solid var(--lc-border-subtle);
  background: var(--lc-bg-surface);
  color: var(--lc-text-secondary);
  font-size: var(--lc-font-size-sm);
  font-weight: 600;
  text-decoration: none;
  transition: all var(--lc-transition-fast);
}
.category-tab.active, .category-tab:hover {
  background: var(--lc-color-primary);
  color: var(--lc-color-accent-light);
  border-color: var(--lc-color-accent);
  box-shadow: var(--lc-shadow-sm);
}

/* بخش‌های منو */
.menu-content { padding: 24px 0 56px; }
.category-section { margin-bottom: 36px; scroll-margin-top: 125px; }
.category-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--lc-border-color);
}
.category-thumb {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--lc-color-accent);
  flex-shrink: 0;
}
.category-title {
  font-size: var(--lc-font-size-lg);
  font-weight: 800;
  color: var(--lc-color-primary);
}
.category-desc {
  font-size: var(--lc-font-size-xs);
  color: var(--lc-text-secondary);
}

/* کارت‌های محصول لوکس */
.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 640px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
}
.product-card {
  display: flex;
  gap: 14px;
  background: var(--lc-bg-surface);
  border: 1px solid var(--lc-border-subtle);
  border-radius: var(--lc-radius-md);
  padding: 13px;
  box-shadow: var(--lc-shadow-sm);
  cursor: pointer;
  transition: transform var(--lc-transition-fast), box-shadow var(--lc-transition-fast), border-color var(--lc-transition-fast);
}
.product-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--lc-shadow-md);
  border-color: var(--lc-color-accent);
}
.product-card.unavailable { opacity: 0.62; }
.product-image-wrap {
  width: 92px;
  height: 92px;
  border-radius: var(--lc-radius-sm);
  overflow: hidden;
  background: var(--lc-bg-surface-muted);
  border: 1px solid var(--lc-border-subtle);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-image-wrap img { width: 100%; height: 100%; object-fit: cover; }
.product-placeholder { font-size: 1.6rem; color: var(--lc-color-accent); }
.product-info { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: space-between; }
.product-top-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.product-title { font-size: var(--lc-font-size-base); font-weight: 700; color: var(--lc-text-primary); }
.badge-unavailable {
  font-size: 0.7rem;
  padding: 2px 9px;
  border-radius: var(--lc-radius-pill);
  background: rgba(184, 50, 39, 0.1);
  color: var(--lc-status-danger);
  font-weight: 700;
  white-space: nowrap;
}
.badge-blend {
  display: inline-block;
  margin-top: 5px;
  font-size: 0.72rem;
  padding: 2px 9px;
  border-radius: var(--lc-radius-sm);
  background: var(--lc-accent-soft);
  border: 1px solid rgba(212, 175, 55, 0.35);
  color: var(--lc-color-primary-dark);
  font-weight: 600;
}
.product-desc {
  font-size: var(--lc-font-size-xs);
  color: var(--lc-text-secondary);
  margin-top: 5px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-price-row { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.price-tag { font-size: var(--lc-font-size-sm); font-weight: 800; color: var(--lc-color-primary); }
.variant-pill { font-size: var(--lc-font-size-xs); padding: 2px 8px; border-radius: var(--lc-radius-sm); background: var(--lc-bg-surface-muted); font-weight: 600; }

/* مودال جزئیات محصول */
.modal-backdrop { position: fixed; inset: 0; background: rgba(5, 22, 22, 0.68); backdrop-filter: blur(4px); display: none; align-items: center; justify-content: center; padding: 16px; z-index: 50; }
.modal-backdrop.open { display: flex; }
.modal-card { background: var(--lc-bg-surface); border: 1px solid var(--lc-color-accent); border-radius: var(--lc-radius-lg); width: 100%; max-width: 480px; max-height: 90vh; overflow-y: auto; padding: 20px; box-shadow: var(--lc-shadow-md); }
.modal-close { float: left; border: none; background: var(--lc-bg-surface-muted); width: 34px; height: 34px; border-radius: 50%; cursor: pointer; font-weight: bold; }
.modal-main-img { width: 100%; height: 250px; object-fit: cover; border-radius: var(--lc-radius-md); margin-top: 8px; }
.modal-gallery { display: flex; gap: 8px; margin-top: 8px; overflow-x: auto; }
.modal-gallery img { width: 62px; height: 62px; border-radius: var(--lc-radius-sm); object-fit: cover; cursor: pointer; border: 2px solid transparent; }
.modal-gallery img.active { border-color: var(--lc-color-accent); }

/* فوتر */
.cafe-footer {
  background: var(--lc-color-primary-dark);
  color: rgba(252, 250, 246, 0.85);
  border-top: 2px solid var(--lc-color-accent);
  padding: 28px 16px;
  text-align: center;
  font-size: var(--lc-font-size-sm);
}
.footer-meta { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.empty-state { text-align: center; padding: 48px 16px; color: var(--lc-text-secondary); }