/* ==============================================
   EKONYHA LITE – Témakezelő CSS
   Stílusok: "lite" (alapértelmezett) | "revolution"
   ============================================== */

/* --------------------------------------
   CSS Custom Properties (változók)
   -------------------------------------- */

/* Lite téma – alapértelmezett, jelenlegi megjelenés megőrzése */
:root,
[data-theme="lite"] {
  --theme-header-bg: #ffffff;
  --theme-header-text: #374151;
  --theme-header-border: #e5e7eb;
  --theme-nav-text: #374151;
  --theme-nav-hover: #16a34a;
  --theme-overlay-color: rgba(255, 255, 255, 0.81);
  --theme-heading-font: var(--app-font);
  --theme-heading-color: #15803d;
  --theme-card-bg: rgba(255, 255, 255, 0.90);
  --theme-footer-bg: #1f2937;
  --theme-footer-text: #ffffff;
  --theme-mobile-nav-bg: #16a34a;
  --theme-mobile-nav-text: #ffffff;
  --theme-mobile-nav-border: rgba(255, 255, 255, 0.4);
  --theme-mobile-nav-active-bg: #ffffff;
  --theme-mobile-nav-active-text: #16a34a;
  --theme-accent-dot: #16a34a;
}

/* Revolution téma – "Forest Table" prémium fine-dining stílus
   Erdei sötétzöld + meleg arany + krémfehér paletta
   Inter (fejlécek + szövegtörzs) */
[data-theme="revolution"] {
  --theme-header-bg: #1a3a2a;
  --theme-header-text: #ffffff;
  --theme-header-border: rgba(255, 255, 255, 0.12);
  --theme-nav-text: rgba(255, 255, 255, 0.85);
  --theme-nav-hover: #d4a853;
  --theme-overlay-color: rgba(245, 238, 220, 0.78);
  --theme-heading-font: var(--app-font);
  --theme-heading-color: #1a3a2a;
  --theme-card-bg: rgba(255, 253, 248, 0.97);
  --theme-footer-bg: #0f2219;
  --theme-footer-text: #e8e0d0;
  --theme-mobile-nav-bg: #1a3a2a;
  --theme-mobile-nav-text: #ffffff;
  --theme-mobile-nav-border: rgba(255, 255, 255, 0.3);
  --theme-mobile-nav-active-bg: #ffffff;
  --theme-mobile-nav-active-text: #1a3a2a;
  --theme-accent-dot: #d4a853;
}

/* Revolution 2 téma – „Tavaszi Rét"
   Réti zöld (#226e34) + Tavaszi arany (#e0c850)
   Inter (fejlécek + szövegtörzs) */
[data-theme="revolution2"] {
  --theme-header-bg: #226e34;
  --theme-header-text: #ffffff;
  --theme-header-border: rgba(255, 255, 255, 0.12);
  --theme-nav-text: rgba(255, 255, 255, 0.85);
  --theme-nav-hover: #e0c850;
  --theme-overlay-color: rgba(235, 248, 238, 0.76);
  --theme-heading-font: var(--app-font);
  --theme-heading-color: #1a5228;
  --theme-card-bg: rgba(250, 253, 250, 0.97);
  --theme-footer-bg: #164424;
  --theme-footer-text: #ddeedd;
  --theme-mobile-nav-bg: #226e34;
  --theme-mobile-nav-text: #ffffff;
  --theme-mobile-nav-border: rgba(255, 255, 255, 0.3);
  --theme-mobile-nav-active-bg: #ffffff;
  --theme-mobile-nav-active-text: #226e34;
  --theme-accent-dot: #e0c850;
}

/* Lovable téma – „EgészségKonyha Lovable"
   Forrás: easy-eats-evolution design system – eredeti színek átvéve
   Erdőzöld (#228B22) + Narancs CTA (#E8622A) + Beige háttér
   Plus Jakarta Sans (fejlécek) + DM Sans (szövegtörzs) */
[data-theme="lovable"] {
  --theme-header-bg:              hsl(130 65% 38%);
  --theme-header-text:            #ffffff;
  --theme-header-border:          rgba(255, 255, 255, 0.12);
  --theme-nav-text:               rgba(255, 255, 255, 0.85);
  --theme-nav-hover:              hsl(18 85% 55%);
  --theme-overlay-color:          rgba(248, 246, 240, 0.80);
  --theme-heading-font:           'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --theme-heading-color:          hsl(130 65% 18%);
  --theme-card-bg:                rgba(255, 255, 255, 0.97);
  --theme-footer-bg:              hsl(200 15% 12%);
  --theme-footer-text:            hsl(45 25% 88%);
  --theme-mobile-nav-bg:          hsl(130 65% 38%);
  --theme-mobile-nav-text:        #ffffff;
  --theme-mobile-nav-border:      rgba(255, 255, 255, 0.30);
  --theme-mobile-nav-active-bg:   #ffffff;
  --theme-mobile-nav-active-text: hsl(130 65% 38%);
  --theme-accent-dot:             hsl(18 85% 55%);
  --app-font: 'DM Sans', system-ui, -apple-system, sans-serif;
}

[data-theme="lovable"] body {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
}

/* --------------------------------------
   Header
   -------------------------------------- */

.theme-header {
  background-color: var(--theme-header-bg) !important;
  color: var(--theme-header-text) !important;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Nav button reset – böngésző alapértelmezések eltávolítása,
   hogy a button vizuálisan azonos legyen az a elemekkel */
#main-header nav button {
  background: none;
  border-top: 0 none;
  border-right: 0 none;
  border-bottom: 0 none;
  font: inherit;
  cursor: pointer;
}

/* Revolution: sötétzöld + enyhe rétegezett gradiens textúra */
[data-theme="revolution"] #main-header {
  background-image:
    radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(212, 168, 83, 0.06) 0%, transparent 40%);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.35) !important;
}

/* Logó sor: CSS Grid biztosítja a pontos középre igazítást
   a témaválasztótól függetlenül (1fr – logo – 1fr) */
[data-theme="revolution"] #logo-row {
  display: grid !important;
  grid-template-columns: 1fr auto 1fr !important;
  align-items: center !important;
}

/* Logó – teljes tartalom lekerekített téglalapban, több fehér szegély
   logo_1: 962×508 px → scale 82/508=0.161 → 155×82 px
   Minimális inset: csak a renderelési szélek miatt 1px */
[data-theme="revolution"] #logo-row a {
  background: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  display: inline-block;
}

[data-theme="revolution"] #header-logo {
  max-height: 82px;
  clip-path: inset(1px 1px 1px 1px round 10px);
  filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.5))
          drop-shadow(0 0 5px rgba(212, 168, 83, 0.18));
  transition: filter 0.2s ease;
}

[data-theme="revolution"] #header-logo:hover {
  filter: drop-shadow(0 3px 12px rgba(0, 0, 0, 0.55))
          drop-shadow(0 0 8px rgba(212, 168, 83, 0.35));
}

/* Navigáció linkek */
[data-theme="revolution"] #main-header nav a,
[data-theme="revolution"] #main-header nav a span,
[data-theme="revolution"] #main-header nav button,
[data-theme="revolution"] #main-header nav button span {
  color: var(--theme-nav-text) !important;
}

[data-theme="revolution"] #main-header nav a:hover,
[data-theme="revolution"] #main-header nav a:hover span,
[data-theme="revolution"] #main-header nav button:hover,
[data-theme="revolution"] #main-header nav button:hover span {
  color: var(--theme-nav-hover) !important;
}

/* Nav span pre-allokálás: minden elemnek azonos magasság → kijelöléskor nincs ugrás
   A border-bottom transparent helyfoglalás meggátolja, hogy az aktív border
   szélességet adjon hozzá és eltoljon más elemeket. */
[data-theme="revolution"] #main-header nav a span,
[data-theme="revolution"] #main-header nav button span {
  display: inline-block;
  padding-top: 5px !important;
  padding-bottom: 5px !important;
  border-bottom: 2px solid transparent;
}

/* Aktív nav link – ecsetvonás-szerű arany alávonás
   border: none felülírja az árcédula-szabály véletlenszerű 1px top/side kereté.
   padding szimmetrikus (5px fent/lent) → egyenlő távolság a szöveg és mindkét vonal közt. */
[data-theme="revolution"] #main-header nav .bg-green-100 {
  background-color: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  color: #d4a853 !important;
  border-bottom: 2px solid transparent !important;
  border-image: linear-gradient(to right,
    transparent 0%,
    rgba(212, 168, 83, 0.5) 15%,
    #d4a853 35%,
    #d4a853 65%,
    rgba(212, 168, 83, 0.5) 85%,
    transparent 100%
  ) 1 !important;
  padding-top: 5px !important;
  padding-bottom: 5px !important;
  box-shadow: none !important;
  font-weight: 500 !important;
}

/* Hét választó: aktuális hét szövege ne legyen zöld Revolution módban */
[data-theme="revolution"] .current-week-btn.btn-unselected {
  color: #1f2937 !important;
}

/* Kijelentkezés link */
[data-theme="revolution"] #main-header .text-red-600 {
  color: #fca5a5 !important;
}

[data-theme="revolution"] #main-header .text-red-600:hover {
  color: #fecaca !important;
}

/* Bejelentkezés link */
[data-theme="revolution"] #main-header .text-blue-600 {
  color: #93c5fd !important;
}

/* Menü elválasztó vonal */
[data-theme="revolution"] #menu-divider {
  border-top-color: var(--theme-header-border) !important;
}

/* Hamburger ikon – fehér nyíl sötét háttéren */
[data-theme="revolution"] #mobile-menu-button svg {
  stroke: rgba(255, 255, 255, 0.85);
}

[data-theme="revolution"] #mobile-menu-button:hover {
  background-color: rgba(255, 255, 255, 0.08) !important;
}

[data-theme="revolution"] #mobile-menu-button:hover svg {
  stroke: #d4a853;
}

/* Mobil menü dropdown */
[data-theme="revolution"] #mobile-menu {
  background-color: #1a3a2a !important;
  border-top-color: rgba(255, 255, 255, 0.12) !important;
}

[data-theme="revolution"] #mobile-menu a {
  color: rgba(255, 255, 255, 0.85) !important;
}

[data-theme="revolution"] #mobile-menu a:hover {
  background-color: rgba(255, 255, 255, 0.08) !important;
  color: #d4a853 !important;
}

[data-theme="revolution"] #mobile-menu .text-red-600 {
  color: #fca5a5 !important;
}

[data-theme="revolution"] #mobile-menu .text-red-600:hover {
  color: #fecaca !important;
}

[data-theme="revolution"] #mobile-menu .text-blue-600 {
  color: #93c5fd !important;
}

[data-theme="revolution"] #mobile-menu .border-t {
  border-color: rgba(255, 255, 255, 0.12) !important;
}

/* --------------------------------------
   Stílusválasztó (csak admin felhasználóknak)
   -------------------------------------- */

.theme-switcher-select {
  background-color: white;
  border-color: #d1d5db;
  color: #374151;
}

[data-theme="revolution"] .theme-switcher-select {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(255, 255, 255, 0.30) !important;
  color: #ffffff !important;
  padding: 5px 8px 6px 8px !important;
  line-height: 1.4 !important;
}

[data-theme="revolution"] .theme-switcher-select option {
  background-color: #1a3a2a;
  color: #ffffff;
}

[data-theme="revolution"] .theme-label-text {
  color: rgba(255, 255, 255, 0.60);
}

/* --------------------------------------
   Háttér overlay és háttérkép
   -------------------------------------- */

body.with-background::before {
  background-color: var(--theme-overlay-color, rgba(255, 255, 255, 0.81)) !important;
  transition: background-color 0.4s ease;
}

/* Revolution háttérkép – sötétebb, elegáns ételkép */
[data-theme="revolution"] body.with-background {
  background-image: url("../bg-revolution.3a1adb88081e.jpg") !important; /* fallback régi böngészőkhöz */
  background-image: -webkit-image-set(url("../bg-revolution.bb5c59ce73db.webp") 1x, url("../bg-revolution.3a1adb88081e.jpg") 1x) !important;
  background-image: image-set(
    url("../bg-revolution.bb5c59ce73db.webp") type('image/webp'),
    url("../bg-revolution.3a1adb88081e.jpg") type('image/jpeg')
  ) !important;
}

/* --------------------------------------
   Kártyák
   -------------------------------------- */

[data-theme="revolution"] div.rounded-lg.shadow-lg,
[data-theme="revolution"] div.rounded-lg.shadow-md {
  background-color: var(--theme-card-bg) !important;
  border-top: 3px solid transparent;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.18s ease;
}

[data-theme="revolution"] div.rounded-lg.shadow-lg:hover,
[data-theme="revolution"] div.rounded-lg.shadow-md:hover {
  border-top-color: #d4a853;
  box-shadow: 0 8px 32px rgba(26, 58, 42, 0.14) !important;
  transform: translateY(-2px);
}

/* Kártya belépő animáció – staggered */
@keyframes ek-cardFadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

[data-theme="revolution"] .max-w-7xl > div.rounded-lg.shadow-lg,
[data-theme="revolution"] .max-w-6xl > div.rounded-lg.shadow-lg,
[data-theme="revolution"] .max-w-4xl > div.rounded-lg.shadow-lg,
[data-theme="revolution"] .space-y-4 > div.rounded-lg,
[data-theme="revolution"] .space-y-6 > div.rounded-lg {
  animation: ek-cardFadeUp 0.4s ease both;
}

[data-theme="revolution"] .max-w-7xl > div.rounded-lg.shadow-lg:nth-child(2),
[data-theme="revolution"] .max-w-7xl > div.rounded-lg:nth-child(2),
[data-theme="revolution"] .space-y-4 > div.rounded-lg:nth-child(2),
[data-theme="revolution"] .space-y-6 > div.rounded-lg:nth-child(2) {
  animation-delay: 0.06s;
}

[data-theme="revolution"] .max-w-7xl > div.rounded-lg.shadow-lg:nth-child(3),
[data-theme="revolution"] .max-w-7xl > div.rounded-lg:nth-child(3),
[data-theme="revolution"] .space-y-4 > div.rounded-lg:nth-child(3),
[data-theme="revolution"] .space-y-6 > div.rounded-lg:nth-child(3) {
  animation-delay: 0.12s;
}

[data-theme="revolution"] .max-w-7xl > div.rounded-lg.shadow-lg:nth-child(4),
[data-theme="revolution"] .max-w-7xl > div.rounded-lg:nth-child(4),
[data-theme="revolution"] .space-y-4 > div.rounded-lg:nth-child(4),
[data-theme="revolution"] .space-y-6 > div.rounded-lg:nth-child(4) {
  animation-delay: 0.18s;
}

/* Átvevő pontok kártyái */
[data-theme="revolution"] .border-2.border-green-200.rounded-lg {
  background-color: rgba(255, 253, 248, 0.95) !important;
  border-color: rgba(212, 168, 83, 0.4) !important;
  transition: border-color 0.2s ease;
}

[data-theme="revolution"] .border-2.border-green-200.rounded-lg:hover {
  border-color: #d4a853 !important;
}

/* --------------------------------------
   Tipográfia (Revolution)
   -------------------------------------- */

/* Fejlécek – Playfair Display */
[data-theme="revolution"] .max-w-7xl h1,
[data-theme="revolution"] .max-w-7xl h2,
[data-theme="revolution"] .max-w-6xl h1,
[data-theme="revolution"] .max-w-6xl h2,
[data-theme="revolution"] .max-w-4xl h1,
[data-theme="revolution"] .max-w-4xl h2,
[data-theme="revolution"] .max-w-3xl h1,
[data-theme="revolution"] .max-w-3xl h2 {
  font-family: var(--theme-heading-font);
}

/* Zöld fejléc szín – sötétzöldre váltás révolution módban */
[data-theme="revolution"] h1.text-green-700,
[data-theme="revolution"] h2.text-green-700,
[data-theme="revolution"] h3.text-green-700 {
  color: var(--theme-heading-color) !important;
  font-family: var(--theme-heading-font) !important;
}

/* Szekció-fejléc arany dekoráció */
[data-theme="revolution"] h2.text-green-700 {
  position: relative;
  padding-bottom: 0.6rem;
}

[data-theme="revolution"] h2.text-green-700::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 42px;
  height: 2px;
  background: linear-gradient(90deg, #d4a853, transparent);
  border-radius: 2px;
}

/* Body font revolution módban */
[data-theme="revolution"] body {
  font-family: var(--app-font);
}

/* --------------------------------------
   Footer
   -------------------------------------- */

.theme-footer {
  background-color: var(--theme-footer-bg);
  color: var(--theme-footer-text);
  transition: background-color 0.3s ease, color 0.3s ease;
}

[data-theme="revolution"] .theme-footer h3 {
  color: #d4a853;
  letter-spacing: 0.05em;
  font-size: 0.85rem;
  text-transform: uppercase;
}

[data-theme="revolution"] .theme-footer a {
  color: var(--theme-footer-text);
  opacity: 0.75;
  transition: color 0.2s ease, opacity 0.2s ease;
}

[data-theme="revolution"] .theme-footer a:hover {
  color: #d4a853 !important;
  opacity: 1;
}

[data-theme="revolution"] .theme-footer .text-gray-400 {
  color: rgba(232, 224, 208, 0.45) !important;
}

/* --------------------------------------
   Lebegő kosár gomb
   -------------------------------------- */

[data-theme="revolution"] #floating-cart-btn,
[data-theme="revolution"] #back-to-top-btn {
  background-color: #1a3a2a !important;
  border-color: #d4a853 !important;
  box-shadow: 0 4px 20px rgba(212, 168, 83, 0.3) !important;
}

[data-theme="revolution"] #floating-cart-btn:hover,
[data-theme="revolution"] #back-to-top-btn:hover {
  background-color: #0f2219 !important;
  box-shadow: 0 6px 24px rgba(212, 168, 83, 0.4) !important;
}

[data-theme="revolution"] #floating-cart-badge {
  background: rgba(212, 168, 83, 0.18) !important;
  border-color: rgba(212, 168, 83, 0.45) !important;
  color: rgba(212, 168, 83, 0.97) !important;
}

/* --------------------------------------
   Zöld/kék gombok és anchorok Revolution módban
   Minden bg-green-600 és bg-blue-600 elem egységesen:
     alap  → var(--zold-gomb) = #3c9e1d (brand zöld)
     hover → #b8882f (arany/amber)
   -------------------------------------- */

[data-theme="revolution"] button.bg-green-600,
[data-theme="revolution"] a.bg-green-600,
[data-theme="revolution"] button.bg-blue-600,
[data-theme="revolution"] a.bg-blue-600 {
  background-color: var(--zold-gomb) !important;
}

[data-theme="revolution"] button.bg-green-600:hover,
[data-theme="revolution"] a.bg-green-600:hover,
[data-theme="revolution"] button.bg-blue-600:hover,
[data-theme="revolution"] a.bg-blue-600:hover {
  background-color: #b8882f !important;
}

/* Hét-kiválasztó aktív gomb */
[data-theme="revolution"] .btn-selected {
  background-color: #1a3a2a !important;
  box-shadow: 0 4px 8px rgba(26, 58, 42, 0.25) !important;
}

/* --------------------------------------
   Rendelési előzmények – állapot badge-ek
   (Revolution módban meleg tónusú árnyékkal)
   -------------------------------------- */

[data-theme="revolution"] .space-y-4 > div:hover {
  border-color: #d4a853 !important;
}

/* --------------------------------------
   Étel info modal fejléc – Revolution
   -------------------------------------- */

[data-theme="revolution"] .bg-green-600.modal-header {
  background-color: #1a3a2a !important;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(212, 168, 83, 0.06) 0%, transparent 40%) !important;
}

/* Modal bezárás gomb */
[data-theme="revolution"] .bg-gray-300.hover\:bg-gray-400 {
  background-color: #1a3a2a !important;
  color: #d4a853 !important;
  border: 1px solid rgba(212, 168, 83, 0.4) !important;
}
[data-theme="revolution"] .bg-gray-300.hover\:bg-gray-400:hover {
  background-color: #0f2219 !important;
  color: #e8c06a !important;
}

/* Modal alsó lábléc sáv */
[data-theme="revolution"] .bg-gray-50.rounded-b-lg {
  background-color: rgba(245, 238, 220, 0.5) !important;
}

/* --------------------------------------
   Árcímkék (price badges) – Revolution
   -------------------------------------- */

[data-theme="revolution"] span.bg-green-100 {
  background-color: rgba(212, 168, 83, 0.22) !important;
  border: 1px solid rgba(196, 154, 48, 0.45) !important;
  border-radius: 4px !important;
}
[data-theme="revolution"] span.bg-green-100.text-green-700 {
  color: #8b6500 !important;
  font-weight: 700 !important;
}

/* --------------------------------------
   +/- gombok – Revolution
   -------------------------------------- */

[data-theme="revolution"] button[class*="btn-plus"]:not(:disabled):not(.btn-expired) {
  background-color: #3d7a52 !important;
  color: white !important;
}
[data-theme="revolution"] button[class*="btn-plus"]:not(:disabled):not(.btn-expired):hover {
  background-color: #2d5a3d !important;
  color: white !important;
}

[data-theme="revolution"] button[class*="btn-minus"]:not(:disabled):not(.btn-expired) {
  background-color: #b33a3a !important;
  color: white !important;
}
[data-theme="revolution"] button[class*="btn-minus"]:not(:disabled):not(.btn-expired):hover {
  background-color: #8c2a2a !important;
  color: white !important;
}

[data-theme="revolution"] .counter-display,
[data-theme="revolution"] span.text-green-700[id^="table-qty"] {
  color: #1a3a2a !important;
  font-weight: 700;
}

/* --------------------------------------
   „Megrendelés leadása" gomb – Revolution
   -------------------------------------- */

[data-theme="revolution"] #megrendeles-gomb:not(:disabled),
[data-theme="revolution"] #profil-mentes-gomb:not(:disabled) {
  background-color: #2d5a3d !important;
  border: 2px solid rgba(212, 168, 83, 0.55) !important;
}
[data-theme="revolution"] #megrendeles-gomb:not(:disabled):hover,
[data-theme="revolution"] #profil-mentes-gomb:not(:disabled):hover {
  background-color: #1a3a2a !important;
  border-color: rgba(212, 168, 83, 0.80) !important;
}

/* --------------------------------------
   Rendelési előzmények + Rendelés részletek
   -------------------------------------- */

/* Oldal főcím: text-gray-600 → sötéterdőzöld */
[data-theme="revolution"] h1.text-gray-600 {
  color: #1a3a2a !important;
}

/* Kártya hover keret: green-400 → arany */
[data-theme="revolution"] .hover\:border-green-400:hover {
  border-color: #d4a853 !important;
}

/* Összegek, átvevőkódok, zöld text-green-700 szövegek – borostyán tónus
   (a span.bg-green-100.text-green-700 és span[id^="table-qty"]
    specifikusabb szabályai felülírják saját céljaikhoz) */
[data-theme="revolution"] .text-green-700 {
  color: #a67c32 !important;
}

/* .text-green-600 – kosár összesítő, árak */
[data-theme="revolution"] .text-green-600 {
  color: #c49a30 !important;
}

/* „Lemondás" gomb – meleg mély burgundi tónus */
[data-theme="revolution"] button.bg-red-50 {
  background-color: rgba(120, 28, 28, 0.07) !important;
  color: #7c2020 !important;
  border-color: rgba(120, 28, 28, 0.28) !important;
}
[data-theme="revolution"] button.bg-red-50:hover {
  background-color: rgba(120, 28, 28, 0.14) !important;
}

/* a.bg-green-600 alap/hover az egyesített szabályban van feljebb */

/* --------------------------------------
   Emoji → SVG Heroicons ikonok Revolution módban
   data-icon attribútum alapján background-image SVG betöltéssel
   -------------------------------------- */

[data-theme="revolution"] .ek-icon {
  filter: none !important;
  font-size: 0 !important;
  line-height: 0 !important;
  display: inline-block;
  width: 18px;
  height: 18px;
  vertical-align: middle;
  background-size: 18px 18px;
  background-repeat: no-repeat;
  background-position: center;
  margin-right: 1px;
}

/* Naptár (📅) */
[data-theme="revolution"] .ek-icon[data-icon="calendar"] {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23c49a30' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M8 7V3m8 4V3m-9 8h10M5 21h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z'/%3E%3C/svg%3E");
}

/* Helyszín / tűző (📍) */
[data-theme="revolution"] .ek-icon[data-icon="location"] {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23c49a30' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M17.657 16.657L13.414 20.9a1.998 1.998 0 01-2.827 0l-4.244-4.243a8 8 0 1111.314 0z'/%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M15 11a3 3 0 11-6 0 3 3 0 016 0z'/%3E%3C/svg%3E");
}

/* Telefon (📞) */
[data-theme="revolution"] .ek-icon[data-icon="phone"] {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23c49a30' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M3 5a2 2 0 012-2h3.28a1 1 0 01.948.684l1.498 4.493a1 1 0 01-.502 1.21l-2.257 1.13a11.042 11.042 0 005.516 5.516l1.13-2.257a1 1 0 011.21-.502l4.493 1.498a1 1 0 01.684.949V19a2 2 0 01-2 2h-1C9.716 21 3 14.284 3 6V5z'/%3E%3C/svg%3E");
}

/* Óra / nyitvatartás (⏰) */
[data-theme="revolution"] .ek-icon[data-icon="clock"] {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23c49a30' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z'/%3E%3C/svg%3E");
}

/* Étel / rendelési tételek (🍽️) */
[data-theme="revolution"] .ek-icon[data-icon="food"] {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23c49a30' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-3 7h3m-3 4h3m-6-4h.01M9 16h.01'/%3E%3C/svg%3E");
}

/* Pénz / összeg (💰) */
[data-theme="revolution"] .ek-icon[data-icon="money"] {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23c49a30' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M17 9V7a2 2 0 00-2-2H5a2 2 0 00-2 2v6a2 2 0 002 2h2m2 4h10a2 2 0 002-2v-6a2 2 0 00-2-2H9a2 2 0 00-2 2v6a2 2 0 002 2zm7-5a2 2 0 11-4 0 2 2 0 014 0z'/%3E%3C/svg%3E");
}

/* Figyelmeztetés / lemondás (⚠️) */
[data-theme="revolution"] .ek-icon[data-icon="warning"] {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23c49a30' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z'/%3E%3C/svg%3E");
}

/* Üzenet / megjegyzés (💬) */
[data-theme="revolution"] .ek-icon[data-icon="message"] {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23c49a30' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M8 12h.01M12 12h.01M16 12h.01M21 12c0 4.418-4.03 8-9 8a9.863 9.863 0 01-4.255-.949L3 20l1.395-3.72C3.512 15.042 3 13.574 3 12c0-4.418 4.03-8 9-8s9 3.582 9 8z'/%3E%3C/svg%3E");
}

/* Mentés / letöltés (💾) */
[data-theme="revolution"] .ek-icon[data-icon="save"] {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23c49a30' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M4 16v1a3 3 0 003 3h10a3 3 0 003-3v-1m-4-4l-4 4m0 0l-4-4m4 4V4'/%3E%3C/svg%3E");
}

/* --------------------------------------
   Nagyobb ételfotók az étlapon – Revolution módban
   -------------------------------------- */

[data-theme="revolution"] img.ek-etel-thumb {
  width: 64px !important;
  height: 40px !important;
}

/* ==============================================
   Revolution 2 – „Tavaszi Rét"
   Réti zöld (#226e34) + Terrakotta réz (#e0c850)
   ============================================== */

/* --------------------------------------
   Header
   -------------------------------------- */

.theme-header {
  background-color: var(--theme-header-bg) !important;
  color: var(--theme-header-text) !important;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Revolution: sötétzöld + enyhe rétegezett gradiens textúra */
[data-theme="revolution2"] #main-header {
  background-image:
    radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(224, 200, 80, 0.06) 0%, transparent 40%);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.35) !important;
}

/* Logó sor: CSS Grid biztosítja a pontos középre igazítást
   a témaválasztótól függetlenül (1fr – logo – 1fr) */
[data-theme="revolution2"] #logo-row {
  display: grid !important;
  grid-template-columns: 1fr auto 1fr !important;
  align-items: center !important;
}

/* Logó – teljes tartalom lekerekített téglalapban, több fehér szegély
   logo_1: 962×508 px → scale 82/508=0.161 → 155×82 px
   Minimális inset: csak a renderelési szélek miatt 1px */
[data-theme="revolution2"] #logo-row a {
  background: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  display: inline-block;
}

[data-theme="revolution2"] #header-logo {
  max-height: 82px;
  clip-path: inset(1px 1px 1px 1px round 10px);
  filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.5))
          drop-shadow(0 0 5px rgba(224, 200, 80, 0.18));
  transition: filter 0.2s ease;
}

[data-theme="revolution2"] #header-logo:hover {
  filter: drop-shadow(0 3px 12px rgba(0, 0, 0, 0.55))
          drop-shadow(0 0 8px rgba(224, 200, 80, 0.35));
}

/* Navigáció linkek */
[data-theme="revolution2"] #main-header nav a,
[data-theme="revolution2"] #main-header nav a span,
[data-theme="revolution2"] #main-header nav button,
[data-theme="revolution2"] #main-header nav button span {
  color: var(--theme-nav-text) !important;
}

[data-theme="revolution2"] #main-header nav a:hover,
[data-theme="revolution2"] #main-header nav a:hover span,
[data-theme="revolution2"] #main-header nav button:hover,
[data-theme="revolution2"] #main-header nav button:hover span {
  color: var(--theme-nav-hover) !important;
}

/* Nav span pre-allokálás: minden elemnek azonos magasság → kijelöléskor nincs ugrás
   A border-bottom transparent helyfoglalás meggátolja, hogy az aktív border
   szélességet adjon hozzá és eltoljon más elemeket. */
[data-theme="revolution2"] #main-header nav a span,
[data-theme="revolution2"] #main-header nav button span {
  display: inline-block;
  padding-top: 5px !important;
  padding-bottom: 5px !important;
  border-bottom: 2px solid transparent;
}

/* Aktív nav link – ecsetvonás-szerű arany alávonás
   border: none felülírja az árcédula-szabály véletlenszerű 1px top/side kereté.
   padding szimmetrikus (5px fent/lent) → egyenlő távolság a szöveg és mindkét vonal közt. */
[data-theme="revolution2"] #main-header nav .bg-green-100 {
  background-color: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  color: #e0c850 !important;
  border-bottom: 2px solid transparent !important;
  border-image: linear-gradient(to right,
    transparent 0%,
    rgba(224, 200, 80, 0.5) 15%,
    #e0c850 35%,
    #e0c850 65%,
    rgba(224, 200, 80, 0.5) 85%,
    transparent 100%
  ) 1 !important;
  padding-top: 5px !important;
  padding-bottom: 5px !important;
  box-shadow: none !important;
  font-weight: 500 !important;
}

/* Hét választó: aktuális hét szövege ne legyen zöld Revolution módban */
[data-theme="revolution2"] .current-week-btn.btn-unselected {
  color: #1f2937 !important;
}

/* Kijelentkezés link */
[data-theme="revolution2"] #main-header .text-red-600 {
  color: #fca5a5 !important;
}

[data-theme="revolution2"] #main-header .text-red-600:hover {
  color: #fecaca !important;
}

/* Bejelentkezés link */
[data-theme="revolution2"] #main-header .text-blue-600 {
  color: #93c5fd !important;
}

/* Menü elválasztó vonal */
[data-theme="revolution2"] #menu-divider {
  border-top-color: var(--theme-header-border) !important;
}

/* Hamburger ikon – fehér nyíl sötét háttéren */
[data-theme="revolution2"] #mobile-menu-button svg {
  stroke: rgba(255, 255, 255, 0.85);
}

[data-theme="revolution2"] #mobile-menu-button:hover {
  background-color: rgba(255, 255, 255, 0.08) !important;
}

[data-theme="revolution2"] #mobile-menu-button:hover svg {
  stroke: #e0c850;
}

/* Mobil menü dropdown */
[data-theme="revolution2"] #mobile-menu {
  background-color: #226e34 !important;
  border-top-color: rgba(255, 255, 255, 0.12) !important;
}

[data-theme="revolution2"] #mobile-menu a {
  color: rgba(255, 255, 255, 0.85) !important;
}

[data-theme="revolution2"] #mobile-menu a:hover {
  background-color: rgba(255, 255, 255, 0.08) !important;
  color: #e0c850 !important;
}

[data-theme="revolution2"] #mobile-menu .text-red-600 {
  color: #fca5a5 !important;
}

[data-theme="revolution2"] #mobile-menu .text-red-600:hover {
  color: #fecaca !important;
}

[data-theme="revolution2"] #mobile-menu .text-blue-600 {
  color: #93c5fd !important;
}

[data-theme="revolution2"] #mobile-menu .border-t {
  border-color: rgba(255, 255, 255, 0.12) !important;
}

/* --------------------------------------
   Stílusválasztó (csak admin felhasználóknak)
   -------------------------------------- */

.theme-switcher-select {
  background-color: white;
  border-color: #d1d5db;
  color: #374151;
}

[data-theme="revolution2"] .theme-switcher-select {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(255, 255, 255, 0.30) !important;
  color: #ffffff !important;
  padding: 5px 8px 6px 8px !important;
  line-height: 1.4 !important;
}

[data-theme="revolution2"] .theme-switcher-select option {
  background-color: #226e34;
  color: #ffffff;
}

[data-theme="revolution2"] .theme-label-text {
  color: rgba(255, 255, 255, 0.60);
}

/* --------------------------------------
   Háttér overlay és háttérkép
   -------------------------------------- */

body.with-background::before {
  background-color: var(--theme-overlay-color, rgba(255, 255, 255, 0.81)) !important;
  transition: background-color 0.4s ease;
}

/* Revolution háttérkép – sötétebb, elegáns ételkép */
[data-theme="revolution2"] body.with-background {
  background-image: url("../bg-revolution.3a1adb88081e.jpg") !important; /* fallback régi böngészőkhöz */
  background-image: -webkit-image-set(url("../bg-revolution.bb5c59ce73db.webp") 1x, url("../bg-revolution.3a1adb88081e.jpg") 1x) !important;
  background-image: image-set(
    url("../bg-revolution.bb5c59ce73db.webp") type('image/webp'),
    url("../bg-revolution.3a1adb88081e.jpg") type('image/jpeg')
  ) !important;
}

/* --------------------------------------
   Kártyák
   -------------------------------------- */

[data-theme="revolution2"] div.rounded-lg.shadow-lg,
[data-theme="revolution2"] div.rounded-lg.shadow-md {
  background-color: var(--theme-card-bg) !important;
  border-top: 3px solid transparent;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.18s ease;
}

[data-theme="revolution2"] div.rounded-lg.shadow-lg:hover,
[data-theme="revolution2"] div.rounded-lg.shadow-md:hover {
  border-top-color: #e0c850;
  box-shadow: 0 8px 32px rgba(34, 110, 52, 0.14) !important;
  transform: translateY(-2px);
}

/* Kártya belépő animáció – staggered */
@keyframes ek-cardFadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

[data-theme="revolution2"] .max-w-7xl > div.rounded-lg.shadow-lg,
[data-theme="revolution2"] .max-w-6xl > div.rounded-lg.shadow-lg,
[data-theme="revolution2"] .max-w-4xl > div.rounded-lg.shadow-lg,
[data-theme="revolution2"] .space-y-4 > div.rounded-lg,
[data-theme="revolution2"] .space-y-6 > div.rounded-lg {
  animation: ek-cardFadeUp 0.4s ease both;
}

[data-theme="revolution2"] .max-w-7xl > div.rounded-lg.shadow-lg:nth-child(2),
[data-theme="revolution2"] .max-w-7xl > div.rounded-lg:nth-child(2),
[data-theme="revolution2"] .space-y-4 > div.rounded-lg:nth-child(2),
[data-theme="revolution2"] .space-y-6 > div.rounded-lg:nth-child(2) {
  animation-delay: 0.06s;
}

[data-theme="revolution2"] .max-w-7xl > div.rounded-lg.shadow-lg:nth-child(3),
[data-theme="revolution2"] .max-w-7xl > div.rounded-lg:nth-child(3),
[data-theme="revolution2"] .space-y-4 > div.rounded-lg:nth-child(3),
[data-theme="revolution2"] .space-y-6 > div.rounded-lg:nth-child(3) {
  animation-delay: 0.12s;
}

[data-theme="revolution2"] .max-w-7xl > div.rounded-lg.shadow-lg:nth-child(4),
[data-theme="revolution2"] .max-w-7xl > div.rounded-lg:nth-child(4),
[data-theme="revolution2"] .space-y-4 > div.rounded-lg:nth-child(4),
[data-theme="revolution2"] .space-y-6 > div.rounded-lg:nth-child(4) {
  animation-delay: 0.18s;
}

/* Átvevő pontok kártyái */
[data-theme="revolution2"] .border-2.border-green-200.rounded-lg {
  background-color: rgba(250, 253, 250, 0.95) !important;
  border-color: rgba(224, 200, 80, 0.4) !important;
  transition: border-color 0.2s ease;
}

[data-theme="revolution2"] .border-2.border-green-200.rounded-lg:hover {
  border-color: #e0c850 !important;
}

/* --------------------------------------
   Tipográfia (Revolution)
   -------------------------------------- */

/* Fejlécek – Playfair Display */
[data-theme="revolution2"] .max-w-7xl h1,
[data-theme="revolution2"] .max-w-7xl h2,
[data-theme="revolution2"] .max-w-6xl h1,
[data-theme="revolution2"] .max-w-6xl h2,
[data-theme="revolution2"] .max-w-4xl h1,
[data-theme="revolution2"] .max-w-4xl h2,
[data-theme="revolution2"] .max-w-3xl h1,
[data-theme="revolution2"] .max-w-3xl h2 {
  font-family: var(--theme-heading-font);
}

/* Zöld fejléc szín – sötétzöldre váltás révolution módban */
[data-theme="revolution2"] h1.text-green-700,
[data-theme="revolution2"] h2.text-green-700,
[data-theme="revolution2"] h3.text-green-700 {
  color: var(--theme-heading-color) !important;
  font-family: var(--theme-heading-font) !important;
}

/* Szekció-fejléc arany dekoráció */
[data-theme="revolution2"] h2.text-green-700 {
  position: relative;
  padding-bottom: 0.6rem;
}

[data-theme="revolution2"] h2.text-green-700::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 42px;
  height: 2px;
  background: linear-gradient(90deg, #e0c850, transparent);
  border-radius: 2px;
}

/* Body font revolution módban */
[data-theme="revolution2"] body {
  font-family: var(--app-font);
}

/* --------------------------------------
   Footer
   -------------------------------------- */

.theme-footer {
  background-color: var(--theme-footer-bg);
  color: var(--theme-footer-text);
  transition: background-color 0.3s ease, color 0.3s ease;
}

[data-theme="revolution2"] .theme-footer h3 {
  color: #e0c850;
  letter-spacing: 0.05em;
  font-size: 0.85rem;
  text-transform: uppercase;
}

[data-theme="revolution2"] .theme-footer a {
  color: var(--theme-footer-text);
  opacity: 0.75;
  transition: color 0.2s ease, opacity 0.2s ease;
}

[data-theme="revolution2"] .theme-footer a:hover {
  color: #e0c850 !important;
  opacity: 1;
}

[data-theme="revolution2"] .theme-footer .text-gray-400 {
  color: rgba(221, 238, 221, 0.45) !important;
}

/* --------------------------------------
   Lebegő kosár gomb
   -------------------------------------- */

[data-theme="revolution2"] #floating-cart-btn,
[data-theme="revolution2"] #back-to-top-btn {
  background-color: #226e34 !important;
  border-color: #e0c850 !important;
  box-shadow: 0 4px 20px rgba(224, 200, 80, 0.3) !important;
}

[data-theme="revolution2"] #floating-cart-btn:hover,
[data-theme="revolution2"] #back-to-top-btn:hover {
  background-color: #164424 !important;
  box-shadow: 0 6px 24px rgba(224, 200, 80, 0.4) !important;
}

[data-theme="revolution2"] #floating-cart-badge {
  background: rgba(224, 200, 80, 0.18) !important;
  border-color: rgba(224, 200, 80, 0.45) !important;
  color: rgba(224, 200, 80, 0.97) !important;
}

/* --------------------------------------
   Zöld/kék gombok és anchorok Revolution módban
   Minden bg-green-600 és bg-blue-600 elem egységesen:
     alap  → var(--zold-gomb) = #3c9e1d (brand zöld)
     hover → #c0a030 (arany/amber)
   -------------------------------------- */

[data-theme="revolution2"] button.bg-green-600,
[data-theme="revolution2"] a.bg-green-600,
[data-theme="revolution2"] button.bg-blue-600,
[data-theme="revolution2"] a.bg-blue-600 {
  background-color: var(--zold-gomb) !important;
}

[data-theme="revolution2"] button.bg-green-600:hover,
[data-theme="revolution2"] a.bg-green-600:hover,
[data-theme="revolution2"] button.bg-blue-600:hover,
[data-theme="revolution2"] a.bg-blue-600:hover {
  background-color: #c0a030 !important;
}

/* Hét-kiválasztó aktív gomb */
[data-theme="revolution2"] .btn-selected {
  background-color: #226e34 !important;
  box-shadow: 0 4px 8px rgba(34, 110, 52, 0.25) !important;
}

/* --------------------------------------
   Rendelési előzmények – állapot badge-ek
   (Revolution módban meleg tónusú árnyékkal)
   -------------------------------------- */

[data-theme="revolution2"] .space-y-4 > div:hover {
  border-color: #e0c850 !important;
}

/* --------------------------------------
   Étel info modal fejléc – Revolution
   -------------------------------------- */

[data-theme="revolution2"] .bg-green-600.modal-header {
  background-color: #226e34 !important;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(224, 200, 80, 0.06) 0%, transparent 40%) !important;
}

/* Modal bezárás gomb */
[data-theme="revolution2"] .bg-gray-300.hover\:bg-gray-400 {
  background-color: #226e34 !important;
  color: #e0c850 !important;
  border: 1px solid rgba(224, 200, 80, 0.4) !important;
}
[data-theme="revolution2"] .bg-gray-300.hover\:bg-gray-400:hover {
  background-color: #164424 !important;
  color: #e8d060 !important;
}

/* Modal alsó lábléc sáv */
[data-theme="revolution2"] .bg-gray-50.rounded-b-lg {
  background-color: rgba(235, 248, 238, 0.5) !important;
}

/* --------------------------------------
   Árcímkék (price badges) – Revolution
   -------------------------------------- */

[data-theme="revolution2"] span.bg-green-100 {
  background-color: rgba(224, 200, 80, 0.22) !important;
  border: 1px solid rgba(160, 136, 32, 0.45) !important;
  border-radius: 4px !important;
}
[data-theme="revolution2"] span.bg-green-100.text-green-700 {
  color: #7a6c00 !important;
  font-weight: 700 !important;
}

/* --------------------------------------
   +/- gombok – Revolution
   -------------------------------------- */

[data-theme="revolution2"] button[class*="btn-plus"]:not(:disabled):not(.btn-expired) {
  background-color: #2e8045 !important;
  color: white !important;
}
[data-theme="revolution2"] button[class*="btn-plus"]:not(:disabled):not(.btn-expired):hover {
  background-color: #1e6033 !important;
  color: white !important;
}

[data-theme="revolution2"] button[class*="btn-minus"]:not(:disabled):not(.btn-expired) {
  background-color: #b33a3a !important;
  color: white !important;
}
[data-theme="revolution2"] button[class*="btn-minus"]:not(:disabled):not(.btn-expired):hover {
  background-color: #8c2a2a !important;
  color: white !important;
}

[data-theme="revolution2"] .counter-display,
[data-theme="revolution2"] span.text-green-700[id^="table-qty"] {
  color: #226e34 !important;
  font-weight: 700;
}

/* --------------------------------------
   „Megrendelés leadása" gomb – Revolution
   -------------------------------------- */

[data-theme="revolution2"] #megrendeles-gomb:not(:disabled),
[data-theme="revolution2"] #profil-mentes-gomb:not(:disabled) {
  background-color: #1e6033 !important;
  border: 2px solid rgba(224, 200, 80, 0.55) !important;
}
[data-theme="revolution2"] #megrendeles-gomb:not(:disabled):hover,
[data-theme="revolution2"] #profil-mentes-gomb:not(:disabled):hover {
  background-color: #226e34 !important;
  border-color: rgba(224, 200, 80, 0.80) !important;
}

/* --------------------------------------
   Rendelési előzmények + Rendelés részletek
   -------------------------------------- */

/* Oldal főcím: text-gray-600 → sötéterdőzöld */
[data-theme="revolution2"] h1.text-gray-600 {
  color: #226e34 !important;
}

/* Kártya hover keret: green-400 → arany */
[data-theme="revolution2"] .hover\:border-green-400:hover {
  border-color: #e0c850 !important;
}

/* Összegek, átvevőkódok, zöld text-green-700 szövegek – borostyán tónus
   (a span.bg-green-100.text-green-700 és span[id^="table-qty"]
    specifikusabb szabályai felülírják saját céljaikhoz) */
[data-theme="revolution2"] .text-green-700 {
  color: #1a5228 !important;
}

/* .text-green-600 – kosár összesítő, árak */
[data-theme="revolution2"] .text-green-600 {
  color: #a08820 !important;
}

/* „Lemondás" gomb – meleg mély burgundi tónus */
[data-theme="revolution2"] button.bg-red-50 {
  background-color: rgba(120, 28, 28, 0.07) !important;
  color: #7c2020 !important;
  border-color: rgba(120, 28, 28, 0.28) !important;
}
[data-theme="revolution2"] button.bg-red-50:hover {
  background-color: rgba(120, 28, 28, 0.14) !important;
}

/* a.bg-green-600 alap/hover az egyesített szabályban van feljebb */

/* --------------------------------------
   Emoji → SVG Heroicons ikonok Revolution módban
   data-icon attribútum alapján background-image SVG betöltéssel
   -------------------------------------- */

[data-theme="revolution2"] .ek-icon {
  filter: none !important;
  font-size: 0 !important;
  line-height: 0 !important;
  display: inline-block;
  width: 18px;
  height: 18px;
  vertical-align: middle;
  background-size: 18px 18px;
  background-repeat: no-repeat;
  background-position: center;
  margin-right: 1px;
}

/* Naptár (📅) */
[data-theme="revolution2"] .ek-icon[data-icon="calendar"] {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23a08820' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M8 7V3m8 4V3m-9 8h10M5 21h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z'/%3E%3C/svg%3E");
}

/* Helyszín / tűző (📍) */
[data-theme="revolution2"] .ek-icon[data-icon="location"] {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23a08820' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M17.657 16.657L13.414 20.9a1.998 1.998 0 01-2.827 0l-4.244-4.243a8 8 0 1111.314 0z'/%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M15 11a3 3 0 11-6 0 3 3 0 016 0z'/%3E%3C/svg%3E");
}

/* Telefon (📞) */
[data-theme="revolution2"] .ek-icon[data-icon="phone"] {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23a08820' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M3 5a2 2 0 012-2h3.28a1 1 0 01.948.684l1.498 4.493a1 1 0 01-.502 1.21l-2.257 1.13a11.042 11.042 0 005.516 5.516l1.13-2.257a1 1 0 011.21-.502l4.493 1.498a1 1 0 01.684.949V19a2 2 0 01-2 2h-1C9.716 21 3 14.284 3 6V5z'/%3E%3C/svg%3E");
}

/* Óra / nyitvatartás (⏰) */
[data-theme="revolution2"] .ek-icon[data-icon="clock"] {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23a08820' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z'/%3E%3C/svg%3E");
}

/* Étel / rendelési tételek (🍽️) */
[data-theme="revolution2"] .ek-icon[data-icon="food"] {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23a08820' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-3 7h3m-3 4h3m-6-4h.01M9 16h.01'/%3E%3C/svg%3E");
}

/* Pénz / összeg (💰) */
[data-theme="revolution2"] .ek-icon[data-icon="money"] {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23a08820' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M17 9V7a2 2 0 00-2-2H5a2 2 0 00-2 2v6a2 2 0 002 2h2m2 4h10a2 2 0 002-2v-6a2 2 0 00-2-2H9a2 2 0 00-2 2v6a2 2 0 002 2zm7-5a2 2 0 11-4 0 2 2 0 014 0z'/%3E%3C/svg%3E");
}

/* Figyelmeztetés / lemondás (⚠️) */
[data-theme="revolution2"] .ek-icon[data-icon="warning"] {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23a08820' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z'/%3E%3C/svg%3E");
}

/* Üzenet / megjegyzés (💬) */
[data-theme="revolution2"] .ek-icon[data-icon="message"] {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23a08820' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M8 12h.01M12 12h.01M16 12h.01M21 12c0 4.418-4.03 8-9 8a9.863 9.863 0 01-4.255-.949L3 20l1.395-3.72C3.512 15.042 3 13.574 3 12c0-4.418 4.03-8 9-8s9 3.582 9 8z'/%3E%3C/svg%3E");
}

/* Mentés / letöltés (💾) */
[data-theme="revolution2"] .ek-icon[data-icon="save"] {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23a08820' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M4 16v1a3 3 0 003 3h10a3 3 0 003-3v-1m-4-4l-4 4m0 0l-4-4m4 4V4'/%3E%3C/svg%3E");
}

/* --------------------------------------
   Nagyobb ételfotók az étlapon – Revolution módban
   -------------------------------------- */

[data-theme="revolution2"] img.ek-etel-thumb {
  width: 64px !important;
  height: 40px !important;
}

/* ==============================================
   Lovable téma
   Erdőzöld (hsl(130 65% 38%)) + Narancs CTA (hsl(18 85% 55%))
   ============================================== */

/* --------------------------------------
   Header
   -------------------------------------- */

.theme-header {
  background-color: var(--theme-header-bg) !important;
  color: var(--theme-header-text) !important;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Revolution: sötétzöld + enyhe rétegezett gradiens textúra */
[data-theme="lovable"] #main-header {
  background-image:
    radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(232, 98, 42, 0.06) 0%, transparent 40%);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.35) !important;
}

/* Logó sor: CSS Grid biztosítja a pontos középre igazítást
   a témaválasztótól függetlenül (1fr – logo – 1fr) */
[data-theme="lovable"] #logo-row {
  display: grid !important;
  grid-template-columns: 1fr auto 1fr !important;
  align-items: center !important;
}

/* Logó – teljes tartalom lekerekített téglalapban, több fehér szegély
   logo_1: 962×508 px → scale 82/508=0.161 → 155×82 px
   Minimális inset: csak a renderelési szélek miatt 1px */
[data-theme="lovable"] #logo-row a {
  background: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  display: inline-block;
}

[data-theme="lovable"] #header-logo {
  max-height: 82px;
  clip-path: inset(1px 1px 1px 1px round 10px);
  filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.5))
          drop-shadow(0 0 5px rgba(232, 98, 42, 0.18));
  transition: filter 0.2s ease;
}

[data-theme="lovable"] #header-logo:hover {
  filter: drop-shadow(0 3px 12px rgba(0, 0, 0, 0.55))
          drop-shadow(0 0 8px rgba(232, 98, 42, 0.35));
}

/* Navigáció linkek */
[data-theme="lovable"] #main-header nav a,
[data-theme="lovable"] #main-header nav a span,
[data-theme="lovable"] #main-header nav button,
[data-theme="lovable"] #main-header nav button span {
  color: var(--theme-nav-text) !important;
}

[data-theme="lovable"] #main-header nav a:hover,
[data-theme="lovable"] #main-header nav a:hover span,
[data-theme="lovable"] #main-header nav button:hover,
[data-theme="lovable"] #main-header nav button:hover span {
  color: #ffffff !important;
}

/* Nav span pre-allokálás: minden elemnek azonos magasság → kijelöléskor nincs ugrás
   A border-bottom transparent helyfoglalás meggátolja, hogy az aktív border
   szélességet adjon hozzá és eltoljon más elemeket. */
[data-theme="lovable"] #main-header nav a span,
[data-theme="lovable"] #main-header nav button span {
  display: inline-block;
  padding-top: 5px !important;
  padding-bottom: 5px !important;
  border-bottom: 2px solid transparent;
}

/* Aktív nav link – ecsetvonás-szerű arany alávonás
   border: none felülírja az árcédula-szabály véletlenszerű 1px top/side kereté.
   padding szimmetrikus (5px fent/lent) → egyenlő távolság a szöveg és mindkét vonal közt. */
/* Aktív nav link – narancs háttér + fehér szöveg */
[data-theme="lovable"] #main-header nav .bg-green-100 {
  background-color: hsl(18 85% 55%) !important;
  border: none !important;
  border-bottom: none !important;
  border-image: none !important;
  border-radius: 6px !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  padding-top: 5px !important;
  padding-bottom: 5px !important;
  padding-left: 10px !important;
  padding-right: 10px !important;
  box-shadow: 0 2px 8px hsl(18 85% 55% / 0.35) !important;
}

/* Hét választó: aktuális hét szövege ne legyen zöld Revolution módban */
[data-theme="lovable"] .current-week-btn.btn-unselected {
  color: #1f2937 !important;
}

/* Kijelentkezés link */
[data-theme="lovable"] #main-header .text-red-600 {
  color: #fca5a5 !important;
}

[data-theme="lovable"] #main-header .text-red-600:hover {
  color: #fecaca !important;
}

/* Bejelentkezés link */
[data-theme="lovable"] #main-header .text-blue-600 {
  color: hsl(18 85% 88%) !important;
}

/* Menü elválasztó vonal */
[data-theme="lovable"] #menu-divider {
  border-top-color: var(--theme-header-border) !important;
}

/* Hamburger ikon – fehér nyíl sötét háttéren */
[data-theme="lovable"] #mobile-menu-button svg {
  stroke: rgba(255, 255, 255, 0.85);
}

[data-theme="lovable"] #mobile-menu-button:hover {
  background-color: rgba(255, 255, 255, 0.08) !important;
}

[data-theme="lovable"] #mobile-menu-button:hover svg {
  stroke: hsl(18 85% 55%);
}

/* Mobil menü dropdown */
[data-theme="lovable"] #mobile-menu {
  background-color: hsl(130 65% 38%) !important;
  border-top-color: rgba(255, 255, 255, 0.12) !important;
}

[data-theme="lovable"] #mobile-menu a {
  color: rgba(255, 255, 255, 0.85) !important;
}

[data-theme="lovable"] #mobile-menu a:hover {
  background-color: rgba(255, 255, 255, 0.08) !important;
  color: hsl(18 85% 55%) !important;
}

[data-theme="lovable"] #mobile-menu .text-red-600 {
  color: #fca5a5 !important;
}

[data-theme="lovable"] #mobile-menu .text-red-600:hover {
  color: #fecaca !important;
}

[data-theme="lovable"] #mobile-menu .text-blue-600 {
  color: hsl(18 85% 88%) !important;
}

[data-theme="lovable"] #mobile-menu .border-t {
  border-color: rgba(255, 255, 255, 0.12) !important;
}

/* --------------------------------------
   Stílusválasztó (csak admin felhasználóknak)
   -------------------------------------- */

.theme-switcher-select {
  background-color: white;
  border-color: #d1d5db;
  color: #374151;
}

[data-theme="lovable"] .theme-switcher-select {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(255, 255, 255, 0.30) !important;
  color: #ffffff !important;
  padding: 5px 8px 6px 8px !important;
  line-height: 1.4 !important;
}

[data-theme="lovable"] .theme-switcher-select option {
  background-color: hsl(130 65% 38%);
  color: #ffffff;
}

[data-theme="lovable"] .theme-label-text {
  color: rgba(255, 255, 255, 0.75);
}

/* --------------------------------------
   Háttér overlay és háttérkép
   -------------------------------------- */

body.with-background::before {
  background-color: var(--theme-overlay-color, rgba(255, 255, 255, 0.81)) !important;
  transition: background-color 0.4s ease;
}

/* Lovable: nincs háttérkép – a design system beige háttérszínt használ */
[data-theme="lovable"] body.with-background {
  background-image: none !important;
  background-color: hsl(45 25% 97%) !important;
}

/* --------------------------------------
   Kártyák
   -------------------------------------- */

[data-theme="lovable"] div.rounded-lg.shadow-lg,
[data-theme="lovable"] div.rounded-lg.shadow-md {
  background-color: var(--theme-card-bg) !important;
  border-top: 3px solid transparent;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.18s ease;
}

[data-theme="lovable"] div.rounded-lg.shadow-lg:hover,
[data-theme="lovable"] div.rounded-lg.shadow-md:hover {
  border-top-color: hsl(18 85% 55%);
  box-shadow: 0 8px 32px rgba(34, 139, 34, 0.14) !important;
  transform: translateY(-2px);
}

/* Kártya belépő animáció – staggered */
@keyframes ek-cardFadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

[data-theme="lovable"] .max-w-7xl > div.rounded-lg.shadow-lg,
[data-theme="lovable"] .max-w-6xl > div.rounded-lg.shadow-lg,
[data-theme="lovable"] .max-w-4xl > div.rounded-lg.shadow-lg,
[data-theme="lovable"] .space-y-4 > div.rounded-lg,
[data-theme="lovable"] .space-y-6 > div.rounded-lg {
  animation: ek-cardFadeUp 0.4s ease both;
}

[data-theme="lovable"] .max-w-7xl > div.rounded-lg.shadow-lg:nth-child(2),
[data-theme="lovable"] .max-w-7xl > div.rounded-lg:nth-child(2),
[data-theme="lovable"] .space-y-4 > div.rounded-lg:nth-child(2),
[data-theme="lovable"] .space-y-6 > div.rounded-lg:nth-child(2) {
  animation-delay: 0.06s;
}

[data-theme="lovable"] .max-w-7xl > div.rounded-lg.shadow-lg:nth-child(3),
[data-theme="lovable"] .max-w-7xl > div.rounded-lg:nth-child(3),
[data-theme="lovable"] .space-y-4 > div.rounded-lg:nth-child(3),
[data-theme="lovable"] .space-y-6 > div.rounded-lg:nth-child(3) {
  animation-delay: 0.12s;
}

[data-theme="lovable"] .max-w-7xl > div.rounded-lg.shadow-lg:nth-child(4),
[data-theme="lovable"] .max-w-7xl > div.rounded-lg:nth-child(4),
[data-theme="lovable"] .space-y-4 > div.rounded-lg:nth-child(4),
[data-theme="lovable"] .space-y-6 > div.rounded-lg:nth-child(4) {
  animation-delay: 0.18s;
}

/* Átvevő pontok kártyái */
[data-theme="lovable"] .border-2.border-green-200.rounded-lg {
  background-color: rgba(248, 252, 251, 0.95) !important;
  border-color: rgba(232, 98, 42, 0.4) !important;
  transition: border-color 0.2s ease;
}

[data-theme="lovable"] .border-2.border-green-200.rounded-lg:hover {
  border-color: hsl(18 85% 55%) !important;
}

/* --------------------------------------
   Tipográfia (Revolution)
   -------------------------------------- */

/* Fejlécek – Playfair Display */
[data-theme="lovable"] .max-w-7xl h1,
[data-theme="lovable"] .max-w-7xl h2,
[data-theme="lovable"] .max-w-6xl h1,
[data-theme="lovable"] .max-w-6xl h2,
[data-theme="lovable"] .max-w-4xl h1,
[data-theme="lovable"] .max-w-4xl h2,
[data-theme="lovable"] .max-w-3xl h1,
[data-theme="lovable"] .max-w-3xl h2 {
  font-family: var(--theme-heading-font);
}

/* Zöld fejléc szín – sötétzöldre váltás révolution módban */
[data-theme="lovable"] h1.text-green-700,
[data-theme="lovable"] h2.text-green-700,
[data-theme="lovable"] h3.text-green-700 {
  color: var(--theme-heading-color) !important;
  font-family: var(--theme-heading-font) !important;
}

/* Szekció-fejléc arany dekoráció */
[data-theme="lovable"] h2.text-green-700 {
  position: relative;
  padding-bottom: 0.6rem;
}

[data-theme="lovable"] h2.text-green-700::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 42px;
  height: 2px;
  background: linear-gradient(90deg, hsl(18 85% 55%), transparent);
  border-radius: 2px;
}


/* --------------------------------------
   Footer
   -------------------------------------- */

.theme-footer {
  background-color: var(--theme-footer-bg);
  color: var(--theme-footer-text);
  transition: background-color 0.3s ease, color 0.3s ease;
}

[data-theme="lovable"] .theme-footer h3 {
  color: hsl(18 85% 55%);
  letter-spacing: 0.05em;
  font-size: 0.85rem;
  text-transform: uppercase;
}

[data-theme="lovable"] .theme-footer a {
  color: var(--theme-footer-text);
  opacity: 0.75;
  transition: color 0.2s ease, opacity 0.2s ease;
}

[data-theme="lovable"] .theme-footer a:hover {
  color: hsl(18 85% 55%) !important;
  opacity: 1;
}

[data-theme="lovable"] .theme-footer .text-gray-400 {
  color: rgba(200, 225, 200, 0.45) !important;
}

/* --------------------------------------
   Lebegő kosár gomb
   -------------------------------------- */

[data-theme="lovable"] #floating-cart-btn,
[data-theme="lovable"] #back-to-top-btn {
  background-color: hsl(130 65% 28%) !important;
  border-color: rgba(255, 255, 255, 0.30) !important;
  box-shadow: 0 4px 20px rgba(25, 118, 40, 0.45) !important;
}

[data-theme="lovable"] #floating-cart-btn:hover,
[data-theme="lovable"] #back-to-top-btn:hover {
  background-color: hsl(130 65% 38%) !important;
  border-color: rgba(255, 255, 255, 0.50) !important;
  box-shadow: 0 6px 24px rgba(25, 118, 40, 0.55) !important;
}

[data-theme="lovable"] #floating-cart-badge {
  background: hsl(18 85% 55%) !important;
  border-color: hsl(18 85% 45%) !important;
  color: #ffffff !important;
}

/* --------------------------------------
   Zöld/kék gombok és anchorok Lovable módban
   Minden bg-green-600 és bg-blue-600 elem egységesen:
     alap  → var(--zold-gomb)
     hover → hsl(18 85% 35%) (narancs CTA)
   -------------------------------------- */

[data-theme="lovable"] button.bg-green-600,
[data-theme="lovable"] a.bg-green-600,
[data-theme="lovable"] button.bg-blue-600,
[data-theme="lovable"] a.bg-blue-600 {
  background-color: var(--zold-gomb) !important;
}

[data-theme="lovable"] button.bg-green-600:hover,
[data-theme="lovable"] a.bg-green-600:hover,
[data-theme="lovable"] button.bg-blue-600:hover,
[data-theme="lovable"] a.bg-blue-600:hover {
  background-color: hsl(18 85% 35%) !important;
}

/* Hét-kiválasztó aktív gomb */
[data-theme="lovable"] .btn-selected {
  background-color: hsl(130 65% 38%) !important;
  box-shadow: 0 4px 8px rgba(34, 139, 34, 0.25) !important;
}

/* --------------------------------------
   Rendelési előzmények – állapot badge-ek
   (Revolution módban meleg tónusú árnyékkal)
   -------------------------------------- */

[data-theme="lovable"] .space-y-4 > div:hover {
  border-color: hsl(18 85% 55%) !important;
}

/* --------------------------------------
   Étel info modal fejléc – Revolution
   -------------------------------------- */

[data-theme="lovable"] .bg-green-600.modal-header {
  background-color: hsl(130 65% 38%) !important;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(232, 98, 42, 0.06) 0%, transparent 40%) !important;
}

/* Modal bezárás gomb */
[data-theme="lovable"] .bg-gray-300.hover\:bg-gray-400 {
  background-color: hsl(130 65% 38%) !important;
  color: hsl(18 85% 55%) !important;
  border: 1px solid rgba(232, 98, 42, 0.4) !important;
}
[data-theme="lovable"] .bg-gray-300.hover\:bg-gray-400:hover {
  background-color: hsl(130 65% 20%) !important;
  color: hsl(18 85% 65%) !important;
}

/* Modal alsó lábléc sáv */
[data-theme="lovable"] .bg-gray-50.rounded-b-lg {
  background-color: rgba(240, 252, 235, 0.5) !important;
}

/* --------------------------------------
   Árcímkék (price badges) – Revolution
   -------------------------------------- */

[data-theme="lovable"] span.bg-green-100 {
  background-color: rgba(232, 98, 42, 0.22) !important;
  border: 1px solid rgba(185, 74, 30, 0.45) !important;
  border-radius: 4px !important;
}
[data-theme="lovable"] span.bg-green-100.text-green-700 {
  color: hsl(18 85% 22%) !important;
  font-weight: 700 !important;
}

/* --------------------------------------
   +/- gombok – Revolution
   -------------------------------------- */

[data-theme="lovable"] button[class*="btn-plus"]:not(:disabled):not(.btn-expired) {
  background-color: hsl(130 65% 28%) !important;
  color: white !important;
}
[data-theme="lovable"] button[class*="btn-plus"]:not(:disabled):not(.btn-expired):hover {
  background-color: hsl(130 65% 38%) !important;
  color: white !important;
}

[data-theme="lovable"] button[class*="btn-minus"]:not(:disabled):not(.btn-expired) {
  background-color: #e8a0a0 !important;
  color: white !important;
}
[data-theme="lovable"] button[class*="btn-minus"]:not(:disabled):not(.btn-expired):hover {
  background-color: #d97070 !important;
  color: white !important;
}

[data-theme="lovable"] .counter-display,
[data-theme="lovable"] span.text-green-700[id^="table-qty"] {
  color: hsl(130 65% 38%) !important;
  font-weight: 700;
}

/* --------------------------------------
   „Megrendelés leadása" gomb – Revolution
   -------------------------------------- */

[data-theme="lovable"] #megrendeles-gomb:not(:disabled),
[data-theme="lovable"] #profil-mentes-gomb:not(:disabled) {
  background-color: hsl(130 65% 28%) !important;
  border: 2px solid rgba(232, 98, 42, 0.55) !important;
}
[data-theme="lovable"] #megrendeles-gomb:not(:disabled):hover,
[data-theme="lovable"] #profil-mentes-gomb:not(:disabled):hover {
  background-color: hsl(130 65% 38%) !important;
  border-color: rgba(232, 98, 42, 0.80) !important;
}

/* --------------------------------------
   Rendelési előzmények + Rendelés részletek
   -------------------------------------- */

/* Oldal főcím: text-gray-600 → sötéterdőzöld */
[data-theme="lovable"] h1.text-gray-600 {
  color: hsl(130 65% 38%) !important;
}

/* Kártya hover keret: green-400 → arany */
[data-theme="lovable"] .hover\:border-green-400:hover {
  border-color: hsl(18 85% 55%) !important;
}

/* Összegek, átvevőkódok, zöld text-green-700 szövegek – borostyán tónus
   (a span.bg-green-100.text-green-700 és span[id^="table-qty"]
    specifikusabb szabályai felülírják saját céljaikhoz) */
[data-theme="lovable"] .text-green-700 {
  color: hsl(130 65% 15%) !important;
}

/* .text-green-600 – kosár összesítő, árak */
[data-theme="lovable"] .text-green-600 {
  color: #a07022 !important;
}

/* „Lemondás" gomb – meleg mély burgundi tónus */
[data-theme="lovable"] button.bg-red-50 {
  background-color: rgba(120, 28, 28, 0.07) !important;
  color: #7c2020 !important;
  border-color: rgba(120, 28, 28, 0.28) !important;
}
[data-theme="lovable"] button.bg-red-50:hover {
  background-color: rgba(120, 28, 28, 0.14) !important;
}

/* a.bg-green-600 alap/hover az egyesített szabályban van feljebb */

/* --------------------------------------
   Emoji → SVG Heroicons ikonok Revolution módban
   data-icon attribútum alapján background-image SVG betöltéssel
   -------------------------------------- */

[data-theme="lovable"] .ek-icon {
  filter: none !important;
  font-size: 0 !important;
  line-height: 0 !important;
  display: inline-block;
  width: 18px;
  height: 18px;
  vertical-align: middle;
  background-size: 18px 18px;
  background-repeat: no-repeat;
  background-position: center;
  margin-right: 1px;
}

/* Naptár (📅) */
[data-theme="lovable"] .ek-icon[data-icon="calendar"] {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23a07022' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M8 7V3m8 4V3m-9 8h10M5 21h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z'/%3E%3C/svg%3E");
}

/* Helyszín / tűző (📍) */
[data-theme="lovable"] .ek-icon[data-icon="location"] {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23a07022' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M17.657 16.657L13.414 20.9a1.998 1.998 0 01-2.827 0l-4.244-4.243a8 8 0 1111.314 0z'/%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M15 11a3 3 0 11-6 0 3 3 0 016 0z'/%3E%3C/svg%3E");
}

/* Telefon (📞) */
[data-theme="lovable"] .ek-icon[data-icon="phone"] {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23a07022' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M3 5a2 2 0 012-2h3.28a1 1 0 01.948.684l1.498 4.493a1 1 0 01-.502 1.21l-2.257 1.13a11.042 11.042 0 005.516 5.516l1.13-2.257a1 1 0 011.21-.502l4.493 1.498a1 1 0 01.684.949V19a2 2 0 01-2 2h-1C9.716 21 3 14.284 3 6V5z'/%3E%3C/svg%3E");
}

/* Óra / nyitvatartás (⏰) */
[data-theme="lovable"] .ek-icon[data-icon="clock"] {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23a07022' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z'/%3E%3C/svg%3E");
}

/* Étel / rendelési tételek (🍽️) */
[data-theme="lovable"] .ek-icon[data-icon="food"] {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23a07022' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-3 7h3m-3 4h3m-6-4h.01M9 16h.01'/%3E%3C/svg%3E");
}

/* Pénz / összeg (💰) */
[data-theme="lovable"] .ek-icon[data-icon="money"] {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23a07022' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M17 9V7a2 2 0 00-2-2H5a2 2 0 00-2 2v6a2 2 0 002 2h2m2 4h10a2 2 0 002-2v-6a2 2 0 00-2-2H9a2 2 0 00-2 2v6a2 2 0 002 2zm7-5a2 2 0 11-4 0 2 2 0 014 0z'/%3E%3C/svg%3E");
}

/* Figyelmeztetés / lemondás (⚠️) */
[data-theme="lovable"] .ek-icon[data-icon="warning"] {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23a07022' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z'/%3E%3C/svg%3E");
}

/* Üzenet / megjegyzés (💬) */
[data-theme="lovable"] .ek-icon[data-icon="message"] {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23a07022' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M8 12h.01M12 12h.01M16 12h.01M21 12c0 4.418-4.03 8-9 8a9.863 9.863 0 01-4.255-.949L3 20l1.395-3.72C3.512 15.042 3 13.574 3 12c0-4.418 4.03-8 9-8s9 3.582 9 8z'/%3E%3C/svg%3E");
}

/* Mentés / letöltés (💾) */
[data-theme="lovable"] .ek-icon[data-icon="save"] {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23a07022' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M4 16v1a3 3 0 003 3h10a3 3 0 003-3v-1m-4-4l-4 4m0 0l-4-4m4 4V4'/%3E%3C/svg%3E");
}

/* --------------------------------------
   Nagyobb ételfotók az étlapon – Revolution módban
   -------------------------------------- */

[data-theme="lovable"] img.ek-etel-thumb {
  width: 64px !important;
  height: 40px !important;
}

/* ==============================================
   Mobil sticky navigáció – téma-független stílus
   (#mobile-week-nav, #mobile-day-nav, #mobile-menu-nav)
   Minden témában fehér háttér, zöld szöveg/border – design szándék szerint
   ============================================== */

#mobile-week-nav,
#mobile-day-nav,
#mobile-menu-nav {
  background-color: var(--theme-mobile-nav-bg, #16a34a) !important;
  border-top-color: var(--theme-mobile-nav-border, rgba(255, 255, 255, 0.4)) !important;
}

/* Nav gombok alapértelmezett szín (JS interakció előtt is helyes) */
#mobile-week-nav .week-nav-btn,
#mobile-day-nav .day-nav-btn,
#mobile-menu-nav .menu-nav-btn {
  background-color: transparent !important;
  color: var(--theme-mobile-nav-text, #ffffff) !important;
}

/* Aktív nav gomb – magasabb specificitás + !important, hogy a JS class elegendő legyen */
#mobile-week-nav .week-nav-btn.active,
#mobile-day-nav .day-nav-btn.active,
#mobile-menu-nav .menu-nav-btn.active {
  background-color: var(--theme-mobile-nav-active-bg, #ffffff) !important;
  color: var(--theme-mobile-nav-active-text, #16a34a) !important;
}

/* Lovable étlap kártya: Revolution theme override */
[data-theme="revolution"] .etlap-food-card,
[data-theme="revolution2"] .etlap-food-card,
[data-theme="lovable"] .etlap-food-card {
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(26, 58, 42, 0.12);
}
[data-theme="revolution"] .etlap-food-label,
[data-theme="revolution2"] .etlap-food-label,
[data-theme="lovable"] .etlap-food-label {
  background: rgba(26, 58, 42, 0.7);
}

/* ==============================================
   LANDING PAGE DESIGN SYSTEM
   Téma-független globális osztályok
   Forrás: easy-eats-evolution (Lovable design)
   ============================================== */

:root {
  --ld-primary:    hsl(130 65% 38%);
  --ld-accent:     hsl(18 85% 55%);
  --ld-foreground: hsl(200 15% 12%);
  --ld-background: hsl(45 25% 97%);
  --ld-muted:      hsl(45 15% 94%);
  --ld-muted-fg:   hsl(200 8% 48%);
  --ld-border:     hsl(45 10% 90%);
  --ld-card:       #ffffff;
}

.gradient-primary {
  background: linear-gradient(135deg, hsl(130 65% 38%), hsl(120 70% 45%));
}
.gradient-accent {
  background: linear-gradient(135deg, hsl(18 85% 55%), hsl(24 90% 60%));
}
.gradient-hero {
  background: linear-gradient(160deg, hsl(130 65% 18%), hsl(130 60% 28%), hsl(120 60% 35%));
}
.text-gradient {
  background: linear-gradient(135deg, hsl(18 85% 55%), hsl(24 90% 60%));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.glass {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.glass-strong {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.font-heading {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}
.font-body {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
}
.shadow-glow-accent {
  box-shadow: 0 6px 24px -6px hsl(18 85% 55% / 0.25);
}
.shadow-glow-primary {
  box-shadow: 0 6px 24px -6px hsl(130 65% 38% / 0.2);
}
.btn-premium {
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.3s ease, transform 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
}
.btn-premium::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 45%;
  height: 100%;
  background: linear-gradient(105deg, transparent 20%, rgba(255, 255, 255, 0.35) 50%, transparent 80%);
  transform: translateX(-120%) skewX(-15deg);
  pointer-events: none;
  z-index: 1;
}
.btn-premium:hover::before {
  animation: ld-shimmer 0.7s ease-out forwards;
}
.btn-premium:hover {
  box-shadow: 0 8px 32px -8px hsl(18 85% 55% / 0.4);
  transform: translateY(-1px);
}

/* Landing Keyframes */
@keyframes ld-shimmer {
  0%   { transform: translateX(-120%) skewX(-15deg); }
  100% { transform: translateX(320%) skewX(-15deg); }
}
@keyframes ld-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}
@keyframes ld-pulse-glow {
  0%, 100% { box-shadow: 0 0 16px 0 hsl(18 85% 55% / 0.15); }
  50%       { box-shadow: 0 0 28px 4px hsl(18 85% 55% / 0.3); }
}
@keyframes ld-slide-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes ld-scroll-indicator {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50%       { transform: translateY(6px); opacity: 0.4; }
}

/* Landing FAQ accordion */
.ld-faq-chevron {
  transition: transform 0.3s ease;
  flex-shrink: 0;
}
.ld-faq-details[open] .ld-faq-chevron {
  transform: rotate(180deg);
}
.ld-faq-details summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-weight: 600;
  color: var(--ld-foreground, hsl(200 15% 12%));
  gap: 1rem;
}
.ld-faq-details summary::-webkit-details-marker {
  display: none;
}
.ld-faq-details {
  border-radius: 1rem;
  border: 1px solid var(--ld-border, hsl(45 10% 90%));
  background: var(--ld-card, #ffffff);
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}
.ld-faq-details[open] {
  border-color: hsl(130 65% 38% / 0.2);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}
.ld-faq-body {
  padding: 0 1.5rem 1.25rem;
  color: var(--ld-muted-fg, hsl(200 8% 48%));
  line-height: 1.6;
  font-size: 0.9375rem;
}
.ld-faq-details[open] .ld-faq-body {
  animation: ld-slide-up 0.2s ease;
}

/* Landing contact form input */
.ld-input {
  width: 100%;
  background: var(--ld-background, hsl(45 25% 97%));
  border: 1px solid var(--ld-border, hsl(45 10% 90%));
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  color: var(--ld-foreground, hsl(200 15% 12%));
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 0.9375rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}
.ld-input:focus {
  outline: none;
  border-color: hsl(130 65% 38%);
  box-shadow: 0 0 0 3px hsl(130 65% 38% / 0.1);
}
.ld-input::placeholder {
  color: var(--ld-muted-fg, hsl(200 8% 48%));
}

/* Landing page responsive grid helpers */
.ld-benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px) {
  .ld-benefits-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}
@media (min-width: 1024px) {
  .ld-benefits-grid {
    grid-template-columns: repeat(12, 1fr);
    gap: 1.25rem;
  }
  .ld-bento-hero    { grid-column: span 5; grid-row: span 2; }
  .ld-bento-sm3     { grid-column: span 3; }
  .ld-bento-sm4     { grid-column: span 4; }
  .ld-bento-cta8    { grid-column: span 8; }
  .ld-bento-full    { grid-column: span 12; }
}
