/*
Theme Name: HappyMenu Theme
Theme URI: https://abzarwp.com
Author: AbzarWP.Com
Author URI: https://abzarwp.com
Description: قالب وردپرس اختصاصی و فوق‌مدرن هپی منو برای منوی دیجیتال هوشمند رستوران و کافه
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: happymenu-theme
Tags: dark-mode, rtl-language-support, custom-menu, custom-header, theme-options, landing-page, restaurant, cafe
*/

@layer base {
  html {
    scroll-behavior: smooth;
    font-feature-settings: "ss01" 1;
    -webkit-font-feature-settings: "ss01" 1;
  }
  body {
    margin: 0;
    padding: 0;
    font-family: 'Vazirmatn', 'Plus Jakarta Sans', sans-serif;
    font-feature-settings: "ss01" 1;
    -webkit-font-feature-settings: "ss01" 1;
    background-color: #090D16;
    color: #DFE2F1;
    overflow-x: hidden;
    min-height: 100vh;
  }
  img {
    max-width: 100%;
    height: auto;
  }
}

/* Persian Digits & Unified Number Styling */
.font-mono-code,
.price-tag,
.metric-num,
.pricing-num {
  font-family: 'Vazirmatn', sans-serif !important;
  font-feature-settings: "ss01" 1, "tnum" 1 !important;
  -webkit-font-feature-settings: "ss01" 1, "tnum" 1 !important;
}

@supports (padding-top: env(safe-area-inset-top)) {
  header {
    top: calc(env(safe-area-inset-top) + 0.75rem);
  }
}
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #090D16;
}
::-webkit-scrollbar-thumb {
  background: #1c2438;
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: #10b981;
}
.neon-glow {
  box-shadow: 0 0 50px -10px rgba(16, 185, 129, 0.25);
}
.neon-glow-amber {
  box-shadow: 0 0 45px -10px rgba(245, 166, 35, 0.22);
}
.glass-card {
  background: rgba(23, 27, 38, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.07);
}
.glass-card:hover {
  border-color: rgba(78, 222, 163, 0.35);
}

/* Custom Logo Constraints */
.custom-logo-link {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.custom-logo,
.custom-logo-link img,
.header-custom-logo-wrapper img {
  max-height: 48px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  display: block;
}

@media (max-width: 640px) {
  .custom-logo,
  .custom-logo-link img,
  .header-custom-logo-wrapper img {
    max-height: 38px;
    max-width: 110px;
  }
}
