@import url('https://fonts.googleapis.com/css2?family=Urbanist:wght@400;600&display=swap');

:root {
  --main-color: #4a90e2;       /* világos, üzleties kék */
  --text-light: #ffffff;
  --text-dark: #222222;
  --accent-color: #00b894;     /* letisztult zöld a kosár gombhoz */
  --category-bg: #f1f6fb;      /* nagyon halvány kékes háttér */
}

body {
  margin: 0;
  font-family: 'Urbanist', sans-serif;
  background-color: #f9f9f9;
  color: var(--text-dark);
}

#main-header {
  background-color: var(--main-color);
  color: var(--text-light);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Felső fekete sáv */
.top-bar {
  background-color: #111;
  padding: 6px 15px;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}

.user-actions a {
  color: white;
  margin-left: 15px;
  text-decoration: none;
  font-weight: 500;
}

.user-actions i {
  margin-right: 5px;
}

.preorder {
  color: #ff3366;
  margin-left: 15px;
  font-weight: bold;
}

/* Középső rész: logó, menü, kosár */
.middle-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 30px;
  background: linear-gradient(90deg, #ffffff, #f9f9f9);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  border-radius: 0 0 16px 16px;
  position: relative;
  z-index: 10;
}

.logo img {
  height: 48px;
  margin-right: 10px; /* Itt szabályozod, mennyire tolódjon balra */
}
.logo img {
  height: 52px;
  transition: transform 0.3s ease;
}

.logo img:hover {
  transform: scale(1.08);
}

.main-nav a {
  color: var(--text-light);
  text-decoration: none;
  margin-right: 20px;
  font-size: 16px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.main-nav a:hover {
  color: #e0f0ff;
}

.main-nav i {
  margin-right: 6px;
}

.main-nav i {
  margin-right: 6px;
  transition: transform 0.3s ease;
}

.main-nav a:hover i {
  transform: scale(1.2) rotate(-5deg);
}

@media (max-width: 768px) {
  .main-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-start;
    padding-left: 10px;
  }

  .main-nav a {
    display: flex;
    align-items: center;
    font-size: 10px;
    margin-right: 10px;
    padding: 4px 8px;
  }

  .main-nav i {
    margin-right: 5px;
    font-size: 10px; /* 💡 ikon méret kisebb mobilon */
  }
}

@media (min-width: 769px) {
  .app-install-btn-mobile {
    margin-right: 20px; /* vagy amennyire szeretnéd behúzni */
  }

  .app-install-btn-mobile button {
    padding-left: 10px;
    padding-right: 10px;
  }
}



h2 {
  font-size: 22px;
  font-weight: 600;
  margin: 10px 0;
  color: var(--text-dark);
}

h3 {
  font-size: 18px;
  font-weight: 500;
  color: #666;
  margin: 8px 0;
}

.category-heading {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 8px;
 
}

.category-heading .separator {
  color: #999;
  font-weight: normal;
}

.category-heading .sub {
  color: #666;
  font-weight: 500;
}

@media (max-width: 768px) {
  .user-actions a {
    font-size: 10px;      /* kisebb szöveg */
  }

  .user-actions a i {
    font-size: 10px;      /* kisebb ikon */
  }

  .preorder {
    font-size: 10px;      /* kisebb preorder szöveg */
  }

  .preorder i {
    font-size: 10px;      /* kisebb preorder ikon */
  }
}

@media (min-width: 769px) {
  .user-actions {
    margin-right: 20px; /* jobbról kicsit beljebb tolja az egész blokkot */
  }
}



/* Kosár gomb új stílusa */
.cart-summary button {
  background-color: var(--accent-color);
  color: white;
  padding: 12px 22px;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.cart-summary button:hover {
  background-color: #00b378;
  transform: translateY(-2px);
}


.navbar-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 15px 20px;
  background-color: #ffffff;
  border-bottom: 1px solid #ddd;
  gap: 20px;
}

.search-box {
  background-color: #f9f8f6;
  padding: 8px 12px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  color: #999;
  flex-grow: 1;
  max-width: 300px;
}

.search-box i {
  margin-right: 8px;
}

.search-box input {
  border: none;
  background: transparent;
  outline: none;
  font-size: 14px;
  width: 100%;
}

.nav-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
  overflow-x: auto;
}

.nav-tabs a {
  color: #3c4f52;
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  position: relative;
  padding-bottom: 5px;
  white-space: nowrap;
}

.nav-tabs a.active {
  font-weight: 600;
}

.nav-tabs a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 100%;
  background-color: #123c3a;
  border-radius: 2px;
}

/* === BANNER === */
.header-banner {
  width: 100%;
  max-height: 300px;
  overflow: hidden;
  margin-top: 0;
  opacity: 1;
  transition:
    max-height 0.3s ease,
    opacity 0.3s ease,
    margin-top 0.3s ease;
  background-color: #fff;
  text-align: center;
  border-bottom: 1px solid #ccc;
}

.header-banner.hide {
  max-height: 0;
  opacity: 0;
  margin-top: -20px;
  pointer-events: none;
}

.header-banner img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

/* ////////////////////// kosár és pizzakártyák ////////////////////// */

/* Fő elrendezés: bal oldal = termékek, jobb oldal = kosár */
.container {
  display: flex;
  justify-content: space-between;
  padding: 5px;
  align-items: flex-start;
}

/* Bal oldal – terméklista */
.product-list {
  flex-grow: 1;
  max-width: 70%;
}

@media (max-width: 480px) {
  .product-list {
    max-width: 100%;
    margin: 0;
    padding: 0 0px;
  }
}
@media (max-width: 480px) {
  .popup-overlay,
  .product-popup {
    width: 90%;
    max-width: 400px;
    margin: 0 auto;
    border-radius: 16px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
  }

  .popup-overlay {
    background: rgba(0, 0, 0, 0.5); /* halvány háttér, hogy popup hatású legyen */
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .product-popup {
    height: auto;
    max-height: 90vh;
    overflow-y: auto;
  }
}

@media (max-width: 480px) {
  .category-products {
    padding: 0.1rem !important;
    grid-template-columns: 1fr; /* maradjon egyoszlopos */
  }
}

@media (max-width: 480px) {
  .nav-tabs {
    margin-bottom: 12px; /* vagy amennyi jól néz ki */
  }
}

/* Termékkártyák rácsban – akár 3 is elfér egymás mellett */
.product-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}

/* Egyes pizzakártyák stílusa */
.product-card {
  background-color: white;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 5px;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
}

.product-card:hover {
  transform: scale(1.01);
}

.product-info {
  flex: 1;
  margin-right: 10px;
}

.product-info h4 {
  margin: 0 0 5px;
  font-size: 16px;
}

.product-info p {
  font-size: 13px;
  color: #555;
  margin: 0 0 5px;
}

.product-info strong {
  font-size: 15px;
  color: #000;
  margin-top: 10px;
}

/* Képek a kártyákon */
.product-image {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #eee;
}

/* Jobb oldal – kosár panel */
.cart-panel {
  width: 340px;
  flex-shrink: 0;
  background-color: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-self: flex-start;
}

.cart-panel h2 {
  margin: 0;
}

.cart-summary button {
  background-color: #4a90e2;
  border: none;
  padding: 12px;
  font-weight: bold;
  border-radius: 10px;
  cursor: pointer;
  width: 100%;
  font-size: 15px;
  margin-top: 10px;
}

.cart-status {
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 23px; /* 👈 EZ az új sor */
}

.menu-category {
  margin-bottom: 60px;
}

.category-products {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#product-cards {
  display: block;
}

.category-products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
}

/* === FŐ FEJLÉC (sticky top) === */
#main-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--main-color);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.middle-bar {
  background: var(--main-color);
}

/* === STICKY CONTAINER (háttér & pozíció) === */
.sticky-container {
  position: static;
  top: 0;
  z-index: 1000;
  background: white;
}

/* === SZŰRŐNAV (pl. kategóriafülek alatti szűrő) === */
.navbar-filter {
  position: sticky;
  top: 120px;
  z-index: 999;
  background: white;
  border-bottom: 1px solid #ddd;
}

/* === NAVIGÁCIÓS FÜLEK === */
.nav-tabs {
  display: flex;
  gap: 20px;
  overflow-x: auto;
}

/* === NAV FÜL ALAP === */
.nav-tab {
  color: #3c4f52;
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  position: relative;
  padding-bottom: 5px;
  white-space: nowrap;
}

/* === NAV FÜL AKTÍV === */
.nav-tab.active {
  font-weight: 600;
  color: #123c3a;
}

.nav-tab.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 100%;
  background-color: #123c3a;
  border-radius: 2px;
}

/* === TARTALMI BLOKKOK ELŐTTI SCROLL HELYE === */
.menu-category {
  scroll-margin-top: 150px;
}

.header-banner img {
  height: auto;
}

.header-banner img {
  width: 98%;
  height: 130px;
  object-fit: cover;
  display: block;
}

#banner {
  border-radius: 16px 16px 16px 16px;
  overflow: hidden; /* fontos, hogy ne lógjon ki a tartalom */
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}


.navbar-filter {
  background: linear-gradient(90deg, #ffffff, #f9f9f9);
  border-radius: 16px;
  padding: 10px 20px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

//////////////////kosarban a törles ikon//////////////////6

.cart-item {
  padding: 8px 0;
  border-bottom: 1px solid #eee;
}

.cart-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

@media (min-width: 769px) {
  #mobile-cart-bar, #mobile-cart-modal {
    display: none;
  }
}

.cart-name {
  font-weight: 600;
  font-size: 15px;
  flex-grow: 1;
  display: flex;
  align-items: center;
  gap: 4px;
}

.cart-price {
  font-weight: bold;
  font-size: 15px;
  white-space: nowrap;
}

.remove-item-btn {
  background: none;
  border: none;
  color: #cc0000;
  font-size: 14px;
  cursor: pointer;
  margin-left: 6px;
  transition: transform 0.2s ease;
}

.remove-item-btn:hover {
  transform: scale(1.15);
}

.cart-option {
  font-size: 13px;
  color: #888;
  margin-left: 12px;
  line-height: 1.3;
}



////////////////////////////foooter////////////////////////////////

.restaurant-footer {
  background-color: #1a1a1a;
  color: #ffffff;
  padding: 40px 0 20px;
  font-family: 'Montserrat', sans-serif;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  padding: 0 20px;
}

.footer-section h3 {
  color: #4a90e2;
  font-size: 1.2rem;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-info p {
  margin: 8px 0;
  line-height: 1.6;
}

.address {
  font-style: normal;
}

.hours-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 20px;
}

.day {
  font-weight: 600;
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #333;
  color: white;
  font-size: 18px;
  transition: all 0.3s ease;
}

.social-icon:hover {
  transform: translateY(-3px);
}

.facebook:hover {
  background-color: #3b5998;
}

.instagram:hover {
  background: linear-gradient(45deg, #405de6, #5851db, #833ab4, #c13584, #e1306c, #fd1d1d);
}

.payment-methods {
  display: flex;
  gap: 15px;
  margin-top: 15px;
  flex-wrap: wrap;
}

.payment-icon {
  width: 50px;
  height: 30px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  filter: grayscale(100%) brightness(2);
  transition: filter 0.3s ease;
}

.payment-icon:hover {
  filter: none;
}

.visa {
  background-image: url('https://upload.wikimedia.org/wikipedia/commons/5/5e/Visa_Inc._logo.svg');
}

.otpszep {
  background-image: url('https://upload.wikimedia.org/wikipedia/commons/7/70/Otpszep_logo.png');
}


.mastercard {
  background-image: url('https://upload.wikimedia.org/wikipedia/commons/2/2a/Mastercard-logo.svg');
}

.simplepay {
  background-image: url('https://simplepay.hu/wp-content/themes/simplepay/build/img/logo.svg');
}

.otpszep {
  background-image: url('https://www.otpbank.hu/static/otpszep/images/logo-otpszep-white.svg');
}

.footer-bottom {
  border-top: 1px solid #333;
  margin-top: 40px;
  padding-top: 20px;
  text-align: center;
}

.footer-credits {
  margin-bottom: 15px;
}

.legal-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 10px;
}

.legal-links a {
  color: #aaa;
  text-decoration: none;
  transition: color 0.3s ease;
}

.legal-links a:hover {
  color: #f8b334;
}

.design-credit {
  color: #777;
  font-size: 0.9rem;
}

.design-credit a {
  color: #f8b334;
  text-decoration: none;
}

@media (max-width: 768px) {
  .hours-grid {
    grid-template-columns: 1fr;
  }

  .legal-links {
    flex-direction: column;
    gap: 10px;
  }
}

.restaurant-footer {
  background-color: #f2f2f2; /* Világosszürke háttér */
  color: #333;
  padding: 40px 0 20px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  padding: 0 20px;
}




.contact-info i {
  margin-right: 8px;
  color: #4a90e2;
}

.contact-info a {
  color: #4a90e2;
  text-decoration: none;
  font-weight: 500;
}

.contact-info a:hover {
  color: #ffcc66;
  text-decoration: underline;
}

/* === STICKY CONTAINER (háttér & pozíció) === */
.sticky-container {
  position: sticky;
  top: 120px; /* A fő fejléc magassága (top-bar + middle-bar + banner) */
  z-index: 1000;
  background: white;
}

/* === SZŰRŐNAV (pl. kategóriafülek alatti szűrő) === */
.navbar-filter {
  position: sticky;
  top: 120px; /* Ugyanaz, mint a sticky-container */
  z-index: 999;
  background: white;
  border-bottom: 1px solid #ddd;
}

/* Kosár panel pozíciójának módosítása */
.cart-panel {
  position: sticky;
  top: 145px; /* A fejléc + szűrősáv magassága */
  /* egyéb stílusok maradnak */
}

.product-card {
  transition: transform 0.2s ease, background-color 0.2s ease;
  position: relative; /* EZ HIÁNYZOTT! */
}

.product-card:hover {
  background-color: #9ccae9; /* halványkék háttér */
  transform: scale(1.02);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.add-btn {
  position: absolute;
  top: 10px;             /* felső sarok */
  right: 10px;
  background-color: #6da4e3;  /* kék szín */
  color: white;
  border: none;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  font-size: 10px;
  display: flex;          /* mindig látszik */
  justify-content: center;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  transition: background-color 0.3s ease;
}

.add-btn:hover {
  background-color: #357ac9; /* hover-re sötétebb kék */
}

.badge-container {
  position: absolute;
  bottom: 10px;
  right: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 2;
}

.badge {
  font-size: 10px;
  font-weight: 600;
  color: white;
  padding: 3px 6px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.badge.sold-out {
  background-color: #111;
}

.badge.popular {
  background-color: var(--main-color); /* az üzleties kéked */
}

.sold-out {
  position: absolute;
  bottom: 10px;
  right: 10px;
  font-size: 10px;
  font-weight: 600;
  color: white;
  padding: 3px 6px;
  border-radius: 4px;
  background-color: #111;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.sold-out,
.popular {
  position: absolute;
  bottom: 2px;
  right: 10px;
  font-size: 10px;
  font-weight: 600;
  color: white;
  padding: 3px 6px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

//////////////////////////////////////////////POPUP//////////////////////////////////


.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999; /* 💥 EZ FONTOS! */
}


.popup-content {
  background: #fff;
  border-radius: 16px;
  width: 90%;
  max-width: 700px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 30px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  position: relative;
  font-family: 'Urbanist', sans-serif;
}

.popup-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  border: none;
  background: none;
  color: #333;
  cursor: pointer;
}


.popup-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

.quantity-selector {
  display: flex;
  align-items: center;
  gap: 10px;
}

.quantity-selector button {
  background-color: var(--main-color);
  color: white;
  border: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
}

.add-to-cart-btn {
  background-color: var(--accent-color);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
}

.cart-item {
  border-bottom: 1px solid #ddd;
  padding: 10px 0;
}

.cart-name {
  font-weight: bold;
  margin-bottom: 4px;
}

.cart-option {
  font-size: 13px;
  color: #666;
}

.cart-price {
  font-size: 14px;
  font-weight: 600;
  margin-top: 5px;
}

.popup-overlay {
  display: flex;
  justify-content: center;
  align-items: center;
}

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.popup-overlay.hidden {
  display: none;
}

/* === POPUP OVERLAY === */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* === POPUP DOBOZ === */
.popup-content {
  background: #ffffff;
  border-radius: 20px;
  width: 95%;
  max-width: 720px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 30px 40px;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.2);
  position: relative;
  font-family: 'Urbanist', sans-serif;
  animation: popupFadeIn 0.4s ease;
}

/* === ANIMÁCIÓ === */
@keyframes popupFadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* === BEZÁRÓ GOMB === */
.popup-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 30px;
  border: none;
  background: none;
  color: #666;
  cursor: pointer;
  transition: color 0.3s ease;
}

.popup-close:hover {
  color: #000;
}

/* === CÍMEK ÉS SZÖVEGEK === */
#popup-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
}

#popup-description {
  font-size: 15px;
  color: #555;
  margin-bottom: 25px;
}

/* === OPCIÓK === */
.popup-group {
  margin-bottom: 25px;
}

.popup-group h4 {
  margin-bottom: 12px;
  font-size: 16px;
  font-weight: 600;
  color: #333;
}

.option-item {
  margin-bottom: 10px;
  font-size: 14px;
  color: #333;
}

.option-item input {
  margin-right: 8px;
}

.option-item .price {
  color: #777;
  font-weight: 500;
  margin-left: 5px;
  font-size: 13px;
}

/* === COUNTER === */
.counter {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 5px;
}

.counter button {
  width: 26px;
  height: 26px;
  border: none;
  background-color: var(--main-color, #4a90e2);
  color: white;
  font-size: 16px;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.counter button:hover {
  background-color: #357ac9;
}

.counter .count {
  font-size: 15px;
  min-width: 20px;
  text-align: center;
}

/* === LÁBLÉC: MENNYISÉG ÉS KOSÁR GOMB === */
.popup-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

.quantity-selector {
  display: flex;
  align-items: center;
  gap: 10px;
}

.quantity-selector button {
  background-color: var(--main-color, #4a90e2);
  color: white;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.quantity-selector button:hover {
  background-color: #357ac9;
}

#popup-qty {
  font-size: 16px;
  font-weight: 600;
}

/* === KOSÁRBA GOMB === */
.add-to-cart-btn {
  background-color: var(--accent-color, #00b894);
  color: white;
  border: none;
  padding: 14px 30px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.add-to-cart-btn:hover {
  background-color: #00a481;
  transform: translateY(-2px);
}


//////////////////////////////////ez lesz a rendelesi form///////////////////////////////////

/* === RENDELÉSI MODAL ALAP === */
.order-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}

.order-modal-content {
  background: #fff;
  border-radius: 16px;
  max-width: 1200px;
  width: 95%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 20px;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  font-family: 'Urbanist', sans-serif;
}

.order-modal-content h2 {
  font-size: 28px;
  margin-bottom: 30px;
  color: #123c88;
}

/* Bezárás gomb */
.order-modal-content .modal-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 28px;
  background: none;
  border: none;
  color: #555;
  cursor: pointer;
}

/* === ŰRLAP TARTALOM === */
.order-form-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Bal és jobb oldal */
.order-form-left,
.order-form-right {
  flex: 1 1 45%;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* Egy-egy blokk */
.order-form-block {
  background: #f7faff;
  padding: 10px;
  border-radius: 12px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
}

.order-form-block h3 {
  margin-bottom: 15px;
  color: #123c88;
  font-size: 18px;
}

/* Input és textarea */
.order-form-block input,
.order-form-block select,
.order-form-block textarea {
  width: 90%;
  padding: 5px 7px;
  border: 1px solid #ccc;
  border-radius: 8px;
  margin-bottom: 5px;
  font-size: 15px;
  font-family: inherit;
}

.order-form-block textarea {
  resize: vertical;
  min-height: 60px;
}

/* Több mező sorban */
.order-form-two-cols {
  display: flex;
  gap: 10px;
}

.order-form-two-cols input,
.order-form-two-cols select {
  flex: 1;
}

.order-form-four-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.order-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.order-title {
  font-size: 24px;
  color: #123c88;
  margin: 0;
}

.order-modal-close {
  font-size: 20px;
  width: 32px;
  height: 32px;
  border: 1px solid #ccc;
  background: white;
  border-radius: 6px;
  cursor: pointer;
  color: #333;
  transition: all 0.2s ease;
}

.order-modal-close:hover {
  background-color: #f5f5f5;
  transform: scale(1.05);
  color: #e60023;
}


/* Checkboxok, radiogombok */
.order-form-block label {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
  color: #444;
}

/* Kosár összegzés doboz */
#cart-summary {
  padding: 15px;
  border-radius: 8px;
  font-size: 14px;
  color: #123c88;
  padding-top: 12px;
}

#cart-summary .cart-total {
  margin-top: 24px;
  padding: 14px 16px;
  background-color: #f3f6ff;
  font-weight: 700;
  font-size: 16px;
  color: #123c88;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}


/* Megrendelés gomb */
.order-submit {
  background: #007bff;
  color: #fff;
  padding: 14px 20px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  margin-top: 20px;
  transition: background 0.3s ease;
}

.order-submit:hover {
  background: #005fc5;
}

/* Elfogadom részek */
.order-form-block a {
  color: #007bff;
  text-decoration: underline;
  font-weight: 500;
}

.order-form-block a:hover {
  color: #004ea1;
}

.order-modal-overlay.hidden {
  display: none !important;
}

///////////////////////////////rendelsei formon levo kosar///////////6

.cart-item {
  padding: 12px 16px;
  border-bottom: 1px solid #ddd;
  background-color: #e9f4ff;
  border-radius: 8px;
  margin-bottom: 10px;
}

.cart-left {
  width: 100%;
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-name {
  font-weight: bold;
  font-size: 16px;
}

.cart-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cart-price {
  font-weight: bold;
  color: #123c88;
  white-space: nowrap;
}

.remove-item-btn {
  background: none;
  border: none;
  color: #111;
  cursor: pointer;
  font-size: 16px;
  transition: transform 0.2s ease;
}

.remove-item-btn:hover {
  transform: scale(1.2);
}

.cart-option {
  font-size: 13px;
  color: #444;
  margin-left: 10px;
}

.cart-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.cart-name {
  font-weight: bold;
}

.cart-meta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-price {
  font-weight: bold;
  color: #123c88;
  white-space: nowrap;
}

.remove-item-btn {
  background: none;
  border: none;
  color: #111;
  font-size: 14px;
  cursor: pointer;
}

.remove-item-btn:hover {
  transform: scale(1.2);
}

.cart-option {
  font-size: 0.85rem;
  color: #555;
  margin-left: 1.5rem;
}


.payment-method label,
.checkbox-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 15px;
  cursor: pointer;
}

.checkbox-group a {
  color: #007bff;
  text-decoration: underline;
}


.small-section label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
}

.checkbox-group label {
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
}

.checkbox-group a {
  color: #007bff;
  text-decoration: underline;
}
.radio-line {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 14px;
}

.order-form-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}


.payment-options label {
  display: flex;
  flex-direction: row-reverse; /* EZ a kulcs! 👑 */
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  margin-bottom: 5px;
  gap: 5px;
  cursor: pointer;
}

.payment-options input[type="radio"] {
  transform: scale(1.1);
  cursor: pointer;
}

.small-section {
  max-width: 255px;
  flex: 1 1 300px;
  background-color: #f7faff;
  border-radius: 5px;
  padding: 5px;
  margin-bottom: 10px;
}

/* MODAL FIX: középre igazított, nem teljes képernyős */
.order-modal-overlay {
  position: static; /* 💥 Ez a kulcs! Ne legyen fixed! */
  display: flex;
  justify-content: center;
  padding-bottom: 60px;
  background: transparent; /* Ne legyen sötét overlay */
}

.order-modal-content {
  max-width: 1100px;
  width: 100%;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  padding: 40px;
}
/* Címadatok szűkítés */
.order-form-two-cols input,
.order-form-two-cols select {
  flex: 1 1 48%; /* Kisebb szélesség, hogy elférjenek */
}

/* Címadatok a következő mezőkhöz */
.order-form-four-cols input {
  width: 48%;  /* A Ház sz. mellett az Emelet, Ajtó, Csengő a másik sorban, kisebb méret */
}

.order-form-four-cols {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

/* textarea a Cím megjegyzéshez */
.order-form-block textarea {
  width: 93%; /* Teljes szélesség */
  padding: 8px;
}

.order-form-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.order-form-left,
.order-form-right {
  flex: 1 1 45%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.order-form-block {
  background: #f7faff;
  padding: 15px;
  border-radius: 10px;
}

.order-form-two-cols,
.order-form-three-cols {
  display: flex;
  gap: 10px;
}

.order-form-three-cols input {
  flex: 1;
}

.order-modal-content {
  max-height: none;
  overflow: visible;
}
.banner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
}

.terms-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 10px;
}

.terms-row label {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.terms-row a {
  color: #007bff;
  text-decoration: underline;
  font-weight: 500;
}

.terms-row a:hover {
  color: #004ea1;
}

////////////////////////////////popup, ha üres a kosár/////////////6

.popup-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.popup-overlay.hidden {
  display: none;
}

.popup-box {
  background: #fff;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 0 20px rgba(0,0,0,0.2);
  text-align: center;
  max-width: 300px;
}

.popup-box h3 {
  margin-top: 0;
  color: #d63031;
}

.popup-box button {
  margin-top: 20px;
  padding: 10px 20px;
  background: #3498db;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
}

.popup-box button:hover {
  background: #2980b9;
}
//////////////////////////rendelesi form elvitel hazhozszallitas/

.pickup-options {
  display: flex;
  justify-content: space-between;
  max-width: 400px;
  margin-bottom: 10px;
}

.delivery-fields {
  transition: max-height 0.3s ease, opacity 0.3s ease;
}

.delivery-fields.hidden {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* Popup kép */
.popup-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px 12px 0 0;
}

/* Popup részletek */
.popup-details {
  padding: 0 20px 15px;
}

.popup-title {
  font-size: 1.4rem;
  color: #123c88;
  margin: 12px 0 5px;
}

.popup-price {
  color: #e91e63;
  font-weight: bold;
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.popup-description {
  color: #555;
  font-size: 0.9rem;
  margin-bottom: 20px;
  line-height: 1.4;
}

/* Opció csoportok */
.popup-group {
  margin-bottom: 15px;
}

.popup-group h4 {
  color: #123c88;
  font-size: 1rem;
  margin-bottom: 8px;
}

.option-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #eee;
}

.option-name {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
}

.option-price {
  color: #4a90e2;
  font-weight: bold;
  font-size: 0.9rem;
}

/* Speciális kérés mező */
.special-request {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 0.9rem;
}

/* Tojás mennyiségválasztó */
.egg-counter {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: 8px;
}

.egg-counter button {
  width: 22px;
  height: 22px;
  border: 1px solid #ddd;
  background: #f5f5f5;
  border-radius: 4px;
  cursor: pointer;
}

.egg-quantity {
  min-width: 20px;
  text-align: center;
}

  /* Popup stílusok */
    .popup-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
      background: rgba(0, 0, 0, 0.5);
      backdrop-filter: blur(4px);
      display: flex;
      justify-content: center;
      align-items: center;
      z-index: 9999;
    }

    .popup-content {
      background: #ffffff;
      border-radius: 16px;
      width: 95%;
      max-width: 450px;
      max-height: 90vh;
      overflow-y: auto;
      box-shadow: 0 16px 50px rgba(0, 0, 0, 0.2);
      position: relative;
      font-family: 'Urbanist', sans-serif;
      animation: popupFadeIn 0.4s ease;
    }

    @keyframes popupFadeIn {
      from { opacity: 0; transform: scale(0.95); }
      to { opacity: 1; transform: scale(1); }
    }

    .popup-close {
      position: absolute;
      top: 12px;
      right: 15px;
      font-size: 26px;
      border: none;
      background: none;
      color: #666;
      cursor: pointer;
      transition: color 0.3s ease;
      padding: 5px;
    }

    .popup-close:hover {
      color: #000;
    }

    .popup-image {
      width: 100%;
      height: 160px;
      object-fit: cover;
      display: block;
    }

    .popup-details {
      padding: 15px 20px 20px;
    }

    .popup-title {
      font-size: 20px;
      font-weight: 700;
      margin-bottom: 4px;
      color: #123c88;
    }

    .popup-price {
      font-size: 22px;
      color: #4a90e2;
      font-weight: bold;
      margin-bottom: 12px;
    }

    .popup-description {
      font-size: 14px;
      color: #4a90e2;
      margin-bottom: 18px;
      line-height: 1.4;
    }

    .popup-group {
      margin-bottom: 18px;
    }

    .popup-group h4 {
      margin-bottom: 8px;
      font-size: 15px;
      font-weight: 600;
      color: #123c88;
    }

    .option-item {
      display: flex;
      justify-content: space-between;
      padding: 8px 0;
      align-items: center;
    }

    .option-name {
      color: #444;
      font-size: 14px;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .option-price {
      color: #4a90e2;
      font-weight: bold;
      font-size: 14px;
      white-space: nowrap;
    }

    .popup-footer {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-top: 20px;
      padding-top: 16px;
      border-top: 1px solid #eee;
    }

    .quantity-selector {
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .quantity-selector button {
      background-color: #4a90e2;
      color: white;
      border: none;
      width: 28px;
      height: 28px;
      border-radius: 50%;
      font-size: 16px;
      cursor: pointer;
      transition: background-color 0.3s ease;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 0;
    }

    .quantity-selector button:hover {
      background-color: #357ac9;
    }

    .quantity-display {
      font-size: 15px;
      font-weight: 600;
      min-width: 20px;
      text-align: center;
    }

    .add-to-cart-btn {
      background-color: #4a90e2;
      color: white;
      border: none;
      padding: 10px 18px;
      border-radius: 10px;
      font-size: 15px;
      font-weight: 600;
      cursor: pointer;
      transition: background-color 0.3s ease, transform 0.2s ease;
    }

    .add-to-cart-btn:hover {
      background-color: #357ac9;
      transform: translateY(-1px);
    }

    /* Radio button és checkbox stílusok */
    input[type="radio"],
    input[type="checkbox"] {
      accent-color: #4a90e2;
      width: 16px;
      height: 14px;
      margin: 0;
    }

    /* Tojás mennyiségválasztó */
    .egg-counter {
      display: flex;
      align-items: center;
      gap: 6px;
      margin-left: 8px;
    }

    .egg-counter button {
      background-color: #f0f0f0;
      color: #333;
      border: none;
      width: 22px;
      height: 22px;
      border-radius: 4px;
      font-size: 14px;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 0;
    }

    .egg-counter button:hover {
      background-color: #e0e0e0;
    }

    .egg-quantity {
      font-size: 14px;
      min-width: 20px;
      text-align: center;
    }

    /* Speciális kérés mező */
    .special-request {
      width: 100%;
      padding: 8px 10px;
      border: 1px solid #ddd;
      border-radius: 6px;
      font-size: 14px;
      margin-top: 5px;
    }

#popup-image, .popup-image {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 50%;
  margin: 24px auto 16px;
  display: block;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.counter {
  display: inline-flex;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 20px;
  overflow: hidden;
  height: 36px;
}

.counter button {
  background: transparent;
  border: none;
  padding: 0 14px;
  font-size: 20px;
  color: #2196f3;
  cursor: pointer;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.counter button:hover {
  background-color: #f5f5f5;
}

.counter .count {
  width: 35px;
  text-align: center;
  font-weight: 500;
  font-size: 16px;
  user-select: none;
}

.popup-footer {
  position: sticky;
  bottom: 0;
  background: #fff;
  padding: 16px 20px;
  border-top: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
}
.popup-footer {
  box-shadow: 0 -2px 8px rgba(0,0,0,0.05);
}

.option-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.popup-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background-color: white;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #eee;
}

.popup-header h2 {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

.popup-close {
  background: #f2f2f2;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 20px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.popup-close:hover {
  background: #ddd;
}

.popup-content {
  background: #ffffff;
  border-radius: 16px;
  width: 95%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.2);
  position: relative;
  font-family: 'Urbanist', sans-serif;
  animation: popupFadeIn 0.4s ease;
  display: flex;
  flex-direction: column;
}



.popup-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}
.popup-content {
  background: white;
  border-radius: 16px;
  width: 95%;
  max-width: 500px;
  height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden; /* fontos! */
}

.popup-header {
  flex-shrink: 0;
  height: 72px;
  background: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  border-bottom: 1px solid #eee;
  z-index: 10;
}

.popup-scroll {
  overflow-y: auto;
  flex-grow: 1;
  padding: 10px;
}

.popup-footer {
  flex-shrink: 0;
  padding: 16px 20px;
  background: white;
  border-top: 1px solid #eee;
}
.cart-summary button {
  background-color: #4a90e2;
  border: none;
  padding: 12px;
  font-weight: bold;
  border-radius: 10px;
  cursor: pointer;
  width: 100%;
  font-size: 15px;
  margin-top: 10px;
  color: white;
  transition: background-color 0.3s ease, transform 0.15s ease;
}

.cart-summary button:hover {
  background-color: #357ac9; /* Szebb sötétebb kék */
}

.cart-summary button:active {
  background-color: #2e6bb3; /* Még sötétebb kék kattintásra */
  transform: scale(0.98);
}
#delivery-fields.hidden {
  display: none;
}

.footer-bottom-bar {
  background-color: #f0f5ff;
  color: #123c88;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  font-size: 14px;
  border-top: 1px solid #dcdcdc;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-bottom-bar .footer-info {
  display: flex;
  align-items: center;
  gap: 5px;
}

.footer-bottom-bar a {
  color: #1a3fa3;
  text-decoration: none;
}

.footer-bottom-bar a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .footer-bottom-bar {
    flex-direction: column;
    text-align: center;
  }
}

.order-summary-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
  }

  .order-summary-content {
    background: #d2e5ff;
    border-radius: 16px;
    max-width: 500px;
    width: 95%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    padding: 20px;
    position: relative;
    font-family: 'Segoe UI', sans-serif;
  }

  .summary-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
  }

  .summary-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
  }

  .summary-header h2 {
    font-size: 18px;
    color: #123c88;
    flex-grow: 1;
    margin-left: 12px;
  }

  .close-summary {
    font-size: 22px;
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
  }

  .summary-body {
    border-top: 1px solid #eee;
    padding-top: 10px;
  }

  .summary-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
  }

  .summary-item .item-details {
    font-size: 14px;
  }

  .summary-item .item-price {
    font-weight: bold;
    color: #123c88;
  }

  .summary-options {
    font-size: 12px;
    color: #666;
    margin-top: 4px;
  }

  .summary-total {
    font-weight: 700;
    font-size: 16px;
    color: #123c88;
    margin-top: 16px;
    text-align: right;
  }

  .summary-footer {
    margin-top: 20px;
    text-align: right;
  }

  .btn-primary {
    background-color: #4a90e2;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s ease;
  }

  .btn-primary:hover {
    background-color: #357ac9;
  }
.popup-overlay.hidden {
  display: none;
}
.order-summary-overlay.hidden {
  display: none !important;
}

.navbar-filter.scrolled-navbar {
  background-color: #e6f0ff !important;
  transition: background-color 0.3s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}
/* 💡 Alap gombstílus */
.app-install-btn {
  background-color: #03c2fc; /* Szép élénk kék */
  color: white;
  font-size: 15px;
  font-weight: 600;
  padding: 10px 18px;
  border: none;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  z-index: 1000;
}
/* 🚀 Hover effekt */
.app-install-btn:hover {
  background-color: #0056b3;
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
}

.app-install-btn {
    background-color: #03bafc;
    color: white;
    font-weight: 600;
    font-size: 14px;
    padding: 12px 10px;
    border: none;
    border-radius: 16px;
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.25);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
  }

  .app-install-btn:hover {
    background: linear-gradient(135deg, #339dff, #66bfff);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 123, 255, 0.3);
  }

  .app-install-btn:active {
    transform: scale(0.98);
  }
}

////////////////////////////////////////////////////////mobil

/* ======= RESET & ALAPOK ======= */
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
  background-color: #f8f8f8; /* Alap háttérszín */
  font-family: 'Urbanist', sans-serif;
}

/* ======= FEJLÉC RÉSZEK ======= */
/* Sticky header: minden része fix marad görgetéskor, kivéve a banner */
#main-header,
.top-bar,
.middle-bar,
.main-nav,
.navbar-filter {
  width: 100vw;
  max-width: 100vw;
  box-sizing: border-box;
  position: sticky;
  top: 0;
  z-index: 999;
  overflow-x: hidden;
}

/* === TOP BAR === */
.top-bar {
  background-color: #000; /* fekete */
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 12px;
  font-size: 14px;
}

.top-bar .user-actions {
  display: flex;
  gap: 10px;
}

.preorder {
  color: rgb(8, 141, 250);
  font-weight: bold;
}

/* === MIDDLE BAR === */
.middle-bar {
  background-color: #3498db; /* világoskék */
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  padding: 8px 16px;
}

.logo img {
  height: 40px;
}

/* === HEADER BANNER (csak ez nem sticky) === */
.header-banner {
  width: 100%;
  max-width: 100%;
  position: relative;
  overflow: hidden;
}

/* === NAVBAR SZŰRŐ ÉS KERESŐ === */
.navbar-filter {
  background: white;
  display: flex;
  align-items: center;
  gap: 5px 5px;
  padding: 12px;
}

.search-box {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

/* === NAVIGATION TABS === */
.nav-tabs {
  display: flex;
  overflow-x: auto;
  white-space: nowrap;
  scroll-behavior: smooth;
  gap: 10px;
  justify-content: flex-start;
}

.nav-tabs a {
  flex: 0 0 auto;
  min-width: max-content;
  border-radius: 8px;
  background: #9ccae9;
  text-decoration: none;
  color: black;
}

/* ======= TERMÉKLISTA – KÁRTYÁK ======= */
.category-products {
  display: grid;
  grid-template-columns: 1fr;
  justify-content: center;
  padding: 1rem;
}

.product-card {
  width: 97%;
  box-sizing: border-box;
}

/* Tablet */
@media (min-width: 600px) {
  .category-products {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .category-products {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ======= KOSÁR RÉSZ ======= */
/* Asztali */
.cart-panel {
  display: block;
}

/* Mobil */
@media (max-width: 768px) {
  .cart-panel {
    display: none;
  }

  #mobile-cart-bar,
  #mobile-cart-modal {
    display: block;
  }

 
}

/* Mobil alsó kosársáv */
#mobile-cart-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #007bff;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  z-index: 9999;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.15);
}

/* Kosár modal (mobil) */
#mobile-cart-modal {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  max-height: 90%;
  background: #fff;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.2);
  z-index: 10000;
  display: none;
  flex-direction: column;
}

#mobile-cart-modal.active {
  display: flex;
}
/* ======= KOSÁR MEGJELENÉS ======= */
/* Asztali */
.cart-panel {
  display: block;
}

/* Mobil */
@media (max-width: 768px) {
  .cart-panel {
    display: none;
  }

  #mobile-cart-bar,
  #mobile-cart-modal {
    display: block;
  }

 
}

#mobile-cart-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #007bff;
  color: white;
  display: flex;
  justify-content: space-between;
  padding: 12px 16px;
  z-index: 9999;
}

/* ===== KOSÁR GOMB STÍLUSOK ===== */

/* Asztali kosár panel gombja */
.cart-summary button {
  background-color: #000000;
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  margin-top: 15px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.cart-summary button:hover {
  background-color: #357ac9;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.cart-summary button:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Mobil alsó kosársáv gombja */
#mobile-cart-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #4a90e2;
  color: white;
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 9999;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

#mobile-cart-bar:hover {
  background: #357ac9;
}

#mobile-cart-bar .mobile-cart-info {
  display: flex;
  justify-content: space-between;
  width: 100%;
  align-items: center;
  font-size: 16px;
  font-weight: 600;
}

#mobile-cart-bar .mobile-cart-info i {
  font-size: 18px;
}

/* Kosár modal gombja */
.mobile-cart-footer button {
  background-color: #4a90e2;
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  transition: all 0.3s ease;
}

.mobile-cart-footer button:hover {
  background-color: #357ac9;
}

/* Reszponzív beállítások */
@media (max-width: 768px) {
  .cart-panel {
    display: none;
  }
 
  #mobile-cart-bar,
  #mobile-cart-modal {
    display: block;
  }
 
 
}

@media (min-width: 769px) {
  #mobile-cart-bar,
  #mobile-cart-modal {
    display: none;
  }
 
  .cart-panel {
    display: block;
  }
}

/* Alsó mobilos lebegő kosársáv */
/* ======= MOBIL KOSÁRSÁV (Wolt stílus) ======= */
#mobile-cart-bar {
  position: fixed;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  border-radius: 50px;
  padding: 10px 20px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #007bff;
  font-weight: bold;
  font-size: 16px;
  max-width: 90%;
  z-index: 9999;
  cursor: pointer;
  transition: all 0.3s ease;
}
.hidden {
  display: none !important;
}


//////////////////////////////////////////////////////////poupmobil

/* Mobilos termék popup teljes képernyőn */
@media (max-width: 768px) {
  #product-popup {
    position: fixed;
    inset: 0;
    background: white;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    border-radius: 0 !important;
    box-shadow: none;
  }

  .popup-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 0;
  }

  .popup-header,
  .popup-footer {
    padding: 12px 16px;
    background-color: #f8f8f8;
    border-bottom: 1px solid #ddd;
  }

  .popup-scroll {
    padding: 16px;
    overflow-y: auto;
    flex-grow: 1;
  }

  .popup-image {
    width: 100%;
    height: auto;
    max-height: 250px;
    object-fit: cover;
    border-radius: 0;
  }

  .popup-footer {
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .add-to-cart-btn {
    flex-grow: 1;
    background-color: #007bff;
    color: white;
    font-weight: bold;
    border: none;
    padding: 12px;
    border-radius: 8px;
    margin-left: 10px;
  }

  .quantity-selector {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .quantity-selector button {
    background-color: #eee;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    font-weight: bold;
  }

  .hidden {
    display: none !important;
  }
}
#mobile-cart-modal {
  z-index: 9999;
}

#product-popup {
  z-index: 10000;
}
@media (max-width: 768px) {
  .menu-item {
    width: 90%;
    max-width: 360px;
    margin: 0 auto 20px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-radius: 12px;
    padding: 16px;
    background-color: #fff;
  }

  .menu-item img.menu-item-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
  }

  .menu-item h3 {
    text-align: center;
    font-size: 1.1rem;
    margin-top: 10px;
  }

  .menu-item p {
    font-size: 1rem;
    text-align: center;
    color: #444;
  }

  .menu-item button {
    margin-top: 10px;
    width: 100%;
    padding: 10px;
    border: none;
    background: var(--main-color);
    color: white;
    font-weight: bold;
    border-radius: 8px;
  }
}

.search-bar {
  width: 50%;
  margin: 0 auto; /* középre igazítja */
  background-color: #e6e6e6;
}

@media (min-width: 769px) {
  .search-bar {
    width: 60%;
    margin: 0 auto;
  }
}
@media (min-width: 769px) {
  .navbar-filter {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;              /* tér a kereső és gombok között */
    padding: 0 40px;        /* balra igazítás */
    flex-wrap: wrap;        /* ha nem fér ki, törjön lejjebb */
    padding: 20px 0; /* belső tér felül és alul */
    flex-direction: row;
    display: flex;
    align-items: center;
    padding-left: 30px;
  }

  .search-bar {
    max-width: 200px;
    width: 100%;
  }

  .nav-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }

  .nav-tab {
    white-space: nowrap;
    padding: 8px 12px;
    border-radius: 8px;
  }
}

@media (max-width: 480px) {
  .popup-overlay {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px; /* 👈 szabályos belső térköz minden irányba */
    box-sizing: border-box;
  }

  .popup-content {
    width: 100%;
    max-width: 500px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    padding: 15px;
    display: flex;
    flex-direction: column;
    height: 80vh;
  }
}

 /* === PRÉMIUM GOMB STÍLUS === */
    .app-install-btn-container {
      margin: 10px 0;
    }
   
    .app-install-btn {
      background: linear-gradient(135deg, #03a9f4, #007bff);
      color: white;
      font-size: 12px;
      font-weight: 600;
      padding: 10px 16px;
      border: none;
      box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 12px;
      transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
      position: relative;
      overflow: hidden;
      z-index: 1;
      min-width: 260px;
      text-transform: uppercase;
      letter-spacing: 0.8px;
    }
   
    /* Hover effektus */
    .app-install-btn:hover {
      background: linear-gradient(135deg, #007bff, #03a9f4);
      box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
      transform: translateY(-3px);
    }
   
    /* Active állapot */
    .app-install-btn:active {
      transform: translateY(1px);
      box-shadow: 0 2px 10px rgba(0, 123, 255, 0.3);
    }
   
    /* Ripple effektus */
    .app-install-btn::after {
      content: '';
      position: absolute;
      top: 50%;
      left: 50%;
      width: 5px;
      height: 5px;
      background: #111;
      opacity: 0;
      border-radius: 100%;
      transform: scale(1, 1) translate(-50%);
      transform-origin: 50% 50%;
      z-index: -1;
    }
   
    .app-install-btn:focus:not(:active)::after {
      animation: ripple 0.8s ease-out;
    }
   
    @keyframes ripple {
      0% {
        transform: scale(0, 0);
        opacity: 0.5;
      }
      100% {
        transform: scale(25, 25);
        opacity: 0;
      }
    }
   
    /* Ikon stílus */
    .app-install-btn i {
      font-size: 10px;
      transition: transform 0.3s ease;
    }
   
    .app-install-btn:hover i {
      transform: scale(1.15) rotate(90deg);
    }
   
    /* Reszponzív változatok */
    @media (max-width: 768px) {
      .app-install-btn {
        font-size: 10px;
        padding: 10px 26px;
        min-width: 100%;
        width: 100%;
      }
     
     
    }

/* MOBILOS alsó kosársáv */
@media (max-width: 768px) {
  .cart-toggle-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #000000;
    padding: 14px 20px;
    font-weight: bold;
    color: #ffffff;
    text-align: center;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
    border-top: 1px solid #eee;
    z-index: 99999;
    font-size: 16px;
    cursor: pointer;
    transition: transform 0.3s ease;
  }

  /* Ha valami miatt el kell rejteni */
  .cart-toggle-bar.hidden {
    transform: translateY(100%);
  }

  /* Body padding alul, hogy ne takarjon ki tartalmat */
  body {
    padding-bottom: 35px;
  }
}
@media (max-width: 768px) {
  .mobile-cart {
    display: none !important;
  }
}
.mobile-cart {
  display: none; /* alapból sosem látszik */
  position: fixed;
  left: 0;
  right: 0;
  bottom: 50px; /* kb. a .cart-toggle-bar felett jelenik meg */
  background: #8ac1e6;
  padding: 16px;
  box-shadow: 0 -4px 12px rgba(0,0,0,0.1);
  z-index: 99998; /* a .cart-toggle-bar z-index: 99999 legyen */
  border-top: 1px solid #eee;
  transition: transform 0.3s ease;
}
.mobile-cart.open {
  display: block;
}
/* Mobilos elrejtés alapból */
@media (max-width: 768px) {
  .cart-panel {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 10px; /* a toggle bar fölé essen */
    background: #8ac1e6;
    padding: 16px;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.15);
    z-index: 99998;
    max-height: 60vh;
    overflow-y: auto;
    border-top: 1px solid #eee;
  }

  .cart-panel.open {
    display: block;
  }
}

/* Mobil nézetben az X gomb látható */
@media (max-width: 768px) {
  .close-cart {
    display: block;
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 20px;
    color: #000;
  }
}

/* Asztali nézetben ne legyen látható */
@media (min-width: 769px) {
  .close-cart {
    display: none;
  }
}

@media (min-width: 768px) {
  .product-card {
    max-width: unset; /* 💥 EZ a kulcs */
  }
}
@media (max-width: 768px) {
  .cart-panel {
    position: fixed;
    left: 50%;
    transform: translate(-50%, -50%);
    overflow-y: auto;
    max-height: 84vh;

    background: #9ccae9;
    padding: 16px;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15);
    z-index: 99998;

    max-height: 80vh;
    width: 70vw;
    border-radius: 16px;
    overflow-y: auto;
    border: 1px solid #eee;
  }
}
/* Overlay stílusai */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--overlay-bg);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  display: none;
  backdrop-filter: blur(3px);
}

.overlay-content {
  background-color: white;
  padding: 40px;
  border-radius: 15px;
  max-width: 500px;
  text-align: center;
  position: relative;
  animation: fadeIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  border: none;
}

.overlay-content h2 {
  color: var(--primary-dark);
  margin-top: 0;
  margin-bottom: 20px;
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.overlay-content p {
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 1.6;
  color: #555;
}

.contact-info {
  background-color: var(--light-color);
  padding: 20px;
  border-radius: 10px;
  margin-top: 0px;
}

.contact-info a {
  color: var(--primary-dark);
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  display: inline-block;
  margin-top: 10px;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.contact-info a:hover {
  color: var(--secondary-color);
  transform: scale(1.05);
}

.close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 24px;
  cursor: pointer;
  color: #95a5a6;
  transition: all 0.3s;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.close-btn:hover {
  color: var(--danger-color);
  background-color: #f5f5f5;
}

.opening-hours {
  text-align: left;
  margin: 20px 0;
}

.opening-hours p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 12px 0;
  color: var(--secondary-color);
}

.opening-hours i {
  width: 20px;
  color: var(--primary-color);
}

.demo-banner {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
  padding: 15px;
  text-align: center;
  margin-bottom: 20px;
  border-radius: 8px;
  font-weight: 500;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-30px); }
  to { opacity: 1; transform: translateY(0); }
}

.pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}
/* Rázkódás */
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  50% { transform: translateX(4px); }
  75% { transform: translateX(-2px); }
}
.shake {
  animation: shake 0.4s ease;
}

/* Szöveg pulzálása */
@keyframes grow-text {
  0% { transform: scale(1); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}
.grow {
  animation: grow-text 0.4s ease;
}
.product-info {
  margin-left: 12px; /* vagy több, pl. 16px */
  display: flex;
  flex-direction: column;
  justify-content: center; /* szebb vertikálisan */
}
@media (max-width: 600px) {
  .auth-buttons {
    flex-wrap: wrap;
    gap: 6px;
  }
}
@media (max-width: 768px) {
  .cart-panel {
    position: fixed;
    left: 50%;
    bottom: 50px; /* a kosársáv felett legyen egy kis tér */
    transform: translateX(-50%);
    max-height: calc(110vh - 95px); /* az egész képernyőt majdnem kitölti */
    width: 80vw;
    overflow-y: auto;
    background: #9ccae9;
    padding: 16px;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 16px;
    border: 1px solid #eee;
    z-index: 99998;
  }
}
#order-form-modal {
  z-index: 100000; /* legyen magasabb, mint a .cart-toggle-bar */
}
#order-summary-popup {
  z-index: 100000;
}
#order-form-modal,
#order-summary-popup {
  position: absolute;   /* fix helyett absolute */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  z-index: 100000;      /* fontos, hogy nagyobb legyen, mint a .cart-toggle-bar */
  background-color: white; /* ha átlátszó volt */
}
@media (max-width: 768px) {
  .order-submit {
    background-color: #000 !important;
    color: #fff !important;
    margin-top: 10px !important;
    margin-bottom: 20px !important;
  }
}
@media (max-width: 768px) {
  .close-cart {
    display: block;
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 20px;
    color: #000;
    z-index: 10001; /* ✅ EZ AZ, AMI HIÁNYZIK */
  }

  .cart-panel {
    z-index: 10000;
  }

  .cart-toggle-bar {
    z-index: 9999; /* ennél magasabb legyen az előző kettő */
  }
}
#empty-cart-popup {
  z-index: 100010; /* legyen magasabb, mint a .cart-panel vagy order-form-modal */
  position: fixed; /* vagy absolute, ha máshogy működik */
}
@media (max-width: 768px) {
  .cart-panel {
    position: fixed;
    left: 50%;
    bottom: 0; /* EZ A FONTOS! */
    transform: translateX(-50%);
    max-height: calc(100vh - 0px); /* vagy 100vh simán */
    width: 80vw;
    overflow-y: auto;
    background: #9ccae9;
    padding: 16px;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15);
    border: 1px solid #eee;
    z-index: 10000;
    bottom: 0;
    min-height: 260px;
    min-height: 360px !important;


  }
}
.required-note {
  font-size: 0.9em;
  color: #666;
  margin: 0 0 10px 0;
  padding-left: 5px;
}

input[required],
textarea[required],
select[required] {
  border: 1.5px solid rgba(6, 110, 255, 0.3);
  outline: none;
  transition: border-color 0.3s ease;
}

input[required]:focus,
textarea[required]:focus,
select[required]:focus {
  border-color: #a0bad6;
}
input[required], select[required], textarea[required] {
  background-color: #e4f1ff; /* világos szürke háttér */
  border: 1px solid #011735; /* világos szürke keret */
}

input[required]:focus, select[required]:focus, textarea[required]:focus {
  background-color: #e0e0e0; /* sötétebb szürke fókuszáláskor */
  border-color: #67b7df; /* sötétebb szürke keret fókuszáláskor */
}

@media (max-width: 768px) {
  .cart-panel {
    transform: translateX(-50%) translateY(100vh); /* teljesen lecsúsztatja */
    transition: transform 0.3s ease;
  }

  .cart-panel.open {
    transform: translateX(-50%) translateY(-50%); /* láthatóvá teszi */
  }
}
.success-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #28a745; /* Bootstrap green */
  font-size: 1.2em;
  margin-bottom: 10px;
}

.success-icon i {
  font-size: 1.5em;
  animation: pop 0.4s ease;
}

@keyframes pop {
  0% { transform: scale(0.5); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
.success-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  color: #28a745;
  font-size: 1.2em;
  margin-top: 20px;
  margin-bottom: 10px;
}

.success-icon i {
  font-size: 1.6em;
  animation: pop 0.4s ease;
}

@keyframes pop {
  0% { transform: scale(0.5); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.summary-body .summary-item {
  display: flex;
  justify-content: space-between;
  margin: 10px 0;
  font-size: 1.1em;
}

.summary-body .summary-total {
  font-weight: bold;
  text-align: right;
  margin-top: 15px;
  font-size: 1.2em;
  color: #003366;
}
.nav-tabs {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 12px;
  padding: 0.5em 1em;
  scroll-behavior: smooth;
}

.nav-tab {
  flex-shrink: 0;
  white-space: nowrap;
  background: #f5f5f5;
  border: 1px solid #ccc;
  padding: 6px 12px;
  border-radius: 20px;
  cursor: pointer;
  transition: background 0.3s;
}

.nav-tab:hover {
  background: #e0e0e0;
}

.nav-tab.active {
  background: #007bff;
  color: white;
  font-weight: bold;
}
@media (max-width: 600px) {
  .nav-tabs {
    padding: 0.5em 0.5em;
    gap: 8px;
  }

  .nav-tab {
    padding: 5px 10px;
    font-size: 14px;
  }
}
.category-search-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0.5em 1em;
  overflow-x: auto;
}

.nav-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  overflow-x: auto;
  flex: 1;
  min-width: 0;
}

.search-box {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  border: 1px solid #ccc;
  border-radius: 20px;
  padding: 4px 8px;
  background: #fff;
  max-width: 180px;
}

.search-box i {
  color: #888;
  font-size: 14px;
}

.search-box input {
  border: none;
  outline: none;
  font-size: 13px;
  padding: 2px 4px;
  width: 100px;
  background: transparent;
}
/* Rejtés mobilon / desktopon */
.desktop-only {
  display: none;
}

.mobile-only {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  background-color: #fff;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

@media (min-width: 768px) {
  .desktop-only {
    display: flex;
  }
  .mobile-only {
    display: none;
  }
}

/* Overlay kereső */
.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.95);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}

.search-overlay.hidden {
  display: none;
}

.search-inner {
  position: relative;
  width: 90%;
  max-width: 500px;
}

.search-inner input {
  width: 100%;
  padding: 14px 50px 14px 20px;
  font-size: 18px;
  border: 2px solid #ccc;
  border-radius: 999px;
}

.close-search {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
}
.search-box i {
  color: #333 !important; /* vagy bármilyen jól látható sötét szín */
}
.navbar-filter .fa-search {
  color: #333 !important;
}
.navbar-filter .search-box {
  background-color: #f0f0f0 !important; /* világosabb szürke */
  border-radius: 999px;
  padding: 8px 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.navbar-filter .search-box input {
  background: transparent;
  border: none;
  outline: none;
  font-size: 1rem;
  color: #333;
  width: 100%;
}

.navbar-filter .search-box i {
  color: #333 !important;
  margin-right: 8px;
}
.nav-tabs {
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none;  /* IE 10+ */
}

.nav-tabs::-webkit-scrollbar {
  display: none; /* Chrome, Safari */
}
.navbar-filter {
  background: white;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px; /* kisebb margók */
}
.category-search-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 16px 16px 16px 16px;
}
.navbar-filter {
  height: 60px; /* vagy 40px */
  padding: 0 8px;
}
.live-results {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  z-index: 1000;
  max-height: 200px;
  overflow-y: auto;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.live-results div {
  padding: 8px 12px;
  cursor: pointer;
}

.live-results div:hover {
  background-color: #f3f3f3;
}

.hidden {
  display: none;
}
.toast-message {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  background: #333;
  color: white;
  padding: 10px 18px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  z-index: 9999;
  opacity: 0.95;
}
/* Csak asztali nézetben (768px és nagyobb képernyőkön) */
@media (min-width: 768px) {
  .search-box.desktop-only input {
    width: 600px;  /* állítsd be a kívánt szélességet */
  }
}
.product-info h4 {
  font-size: 16px;
  margin: 0 0 5px;
  line-height: 1.2;
  max-height: 2.4em; /* max 2 sor */
  overflow: hidden;
  text-overflow: ellipsis;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
#popup-image, .popup-image {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 12px; /* csak enyhe lekerekítés */
  margin: 24px auto 16px;
  display: block;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
#popup-description,
.popup-description {
  font-size: 15px;
  color: #555;
  margin-bottom: 25px;
  line-height: 1.4;
  white-space: normal;          /* normál sortörés */
  overflow-wrap: break-word;    /* hosszú szavak törése */
  word-break: break-word;       /* ha nagyon muszáj, törje a szót is */
}
.popup-content {
  max-width: 95vw;
  width: 100%;
}
.required-star {
  color: red;
  font-weight: bold;
  margin-left: 4px;
}
.required-label {
  color: red;
  font-size: 0.85em;
  margin-left: 6px;
  font-weight: normal;
}

.group-name {
  font-weight: bold;
}
/* ✅ Overlay - középre igazított háttér */
.popup-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  padding: 20px;
  box-sizing: border-box;
}

/* ✅ Popup doboz */
.popup-content {
  background: white;
  border-radius: 16px;
  width: 95%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.2);
  padding: 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  animation: popupFadeIn 0.3s ease;
}

/* ✅ Animáció */
@keyframes popupFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 769px) {
  .cart-toggle-bar {
    display: none !important;
  }
}
/* MODERN WOLT-STYLE ORDER FORM CSS */
:root {
  --primary-color: #3073dd;
  --primary-dark: #2ba7d8;
  --secondary-color: #ff8000;
  --text-dark: #2e3333;
  --text-medium: #585c5c;
  --text-light: #828585;
  --border-color: #e8ebeb;
  --background-light: #f9f9f9;
  --error-color: #d23c3c;
  --success-color: #2e7d32;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.12);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
}

/* Base Modal Styles */
.order-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0,0,0,0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  padding: 16px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.order-modal-overlay.order-modal-hidden {
  display: none;
}

.order-modal-overlay:not(.order-modal-hidden) {
  opacity: 1;
}

.order-modal-container {
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-md);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.order-modal-overlay:not(.order-modal-hidden) .order-modal-container {
  transform: translateY(0);
}

/* Header Styles */
.order-modal-header {
  padding: 20px;
  background: #d2e5ff;
  color: white;
  position: relative;
  text-align: center;
}

.order-modal-header h1 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.order-modal-header p {
  margin: 4px 0 0;
  font-size: 14px;
  opacity: 0.9;
}

.order-modal-logo {
  width: 24px;
  height: 24px;
}

/* Progress Bar */
.order-modal-progress-container {
  padding: 16px 20px;
  background-color: var(--background-light);
  border-bottom: 1px solid var(--border-color);
}

.order-modal-progress-bar {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin: 0 20px;
}

.order-modal-progress-bar::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--border-color);
  transform: translateY(-50%);
  z-index: 1;
}

.order-modal-progress-fill {
  position: absolute;
  top: 50%;
  left: 0;
  height: 2px;
  background-color: var(--primary-color);
  transform: translateY(-50%);
  z-index: 2;
  transition: width 0.3s ease;
}

.order-modal-progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 3;
  position: relative;
}

.order-modal-step-number {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: white;
  border: 2px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 6px;
  transition: all 0.3s ease;
}

.order-modal-progress-step.order-modal-completed .order-modal-step-number,
.order-modal-progress-step.order-modal-active .order-modal-step-number {
  border-color: var(--primary-color);
  background-color: var(--primary-color);
  color: white;
}

.order-modal-step-name {
  font-size: 12px;
  color: var(--text-light);
  font-weight: 500;
  white-space: nowrap;
}

.order-modal-progress-step.order-modal-completed .order-modal-step-name,
.order-modal-progress-step.order-modal-active .order-modal-step-name {
  color: var(--text-dark);
}

/* Form Sections */
.order-modal-form-section {
  padding: 20px;
  display: none;
  flex-direction: column;
  flex: 1;
  overflow-y: auto;
}

.order-modal-form-section.order-modal-active {
  display: flex;
}

.order-modal-section-title {
  font-size: 18px;
  margin: 0 0 16px;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 8px;
}

.order-modal-section-title i {
  color: var(--primary-color);
}

/* Form Elements */
.order-modal-form-group {
  margin-bottom: 16px;
  position: relative;
}

.order-modal-form-row {
  display: flex;
  gap: 12px;
}

.order-modal-form-row .order-modal-form-group {
  flex: 1;
  margin-bottom: 0;
}

.order-modal-required::after {
  content: '*';
  color: var(--error-color);
  margin-left: 4px;
}

.order-modal-form-control {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 14px;
  transition: border-color 0.2s;
}

.order-modal-form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(0,204,188,0.2);
}

.order-modal-error-message {
  color: var(--error-color);
  font-size: 12px;
  margin-top: 4px;
  display: none;
}

.order-modal-form-group.error .order-modal-error-message {
  display: block;
}

.order-modal-form-group.error .order-modal-form-control {
  border-color: var(--error-color);
}

/* Radio & Checkbox Styles */
.order-modal-radio-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.order-modal-radio-option {
  display: flex;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s;
}

.order-modal-radio-option input {
  display: none;
}

.order-modal-radio-option input:checked + .order-modal-option-content {
  color: var(--primary-color);
}

.order-modal-radio-option input:checked + .order-modal-option-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 2px solid var(--primary-color);
  border-radius: var(--radius-sm);
  pointer-events: none;
}

.order-modal-option-content {
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  padding-left: 24px;
}

.order-modal-option-content::after {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  border: 2px solid var(--border-color);
  border-radius: 50%;
}

.order-modal-radio-option input:checked + .order-modal-option-content::after {
  border-color: var(--primary-color);
  background: radial-gradient(var(--primary-color) 0%, var(--primary-color) 40%, transparent 50%);
}

.order-modal-option-price {
  color: var(--text-medium);
  font-weight: 500;
}

.order-modal-checkbox-option {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  cursor: pointer;
}

.order-modal-checkbox-option input {
  min-width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: var(--primary-color);
}

/* Button Styles */
.order-modal-btn-group {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
}

.order-modal-btn {
  flex: 1;
  padding: 12px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.order-modal-btn-primary {
  background-color: var(--primary-color);
  color: white;
  border: none;
}

.order-modal-btn-primary:hover {
  background-color: var(--primary-dark);
}

.order-modal-btn-outline {
  background-color: white;
  border: 1px solid var(--border-color);
  color: var(--text-dark);
}

.order-modal-btn-outline:hover {
  border-color: var(--text-light);
}

.order-modal-btn-lg {
  padding: 16px;
  font-size: 16px;
}

.order-modal-btn-block {
  width: 100%;
}

/* Cart Items */
.order-modal-cart-items {
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 16px;
}

/* Summary Styles */
.order-modal-summary {
  margin: 16px 0;
}

.order-modal-summary-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-weight: 500;
}

.order-modal-summary-title a {
  color: var(--primary-color);
  font-size: 14px;
  text-decoration: none;
}

.order-modal-summary-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--text-medium);
}

.order-modal-summary-total {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 16px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border-color);
}

/* Time Picker */
.order-modal-time-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.order-modal-time-slot {
  padding: 8px 12px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
}

.order-modal-time-slot:hover {
  border-color: var(--primary-color);
}

.order-modal-time-slot.order-modal-selected {
  background-color: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.order-modal-time-slot.order-modal-time-slot-disabled {
  opacity: 0.5;
  cursor: not-allowed;
  text-decoration: line-through;
}

/* Success Message */
.order-modal-success-message {
  text-align: center;
  padding: 24px 0;
}

.order-modal-success-icon {
  color: var(--success-color);
  font-size: 48px;
  margin-bottom: 16px;
}

.order-modal-success-message h2 {
  color: var(--text-dark);
  margin-bottom: 12px;
}

.order-modal-success-message p {
  color: var(--text-medium);
  margin-bottom: 16px;
  line-height: 1.5;
}

.order-modal-order-number {
  background-color: var(--background-light);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  display: inline-block;
  margin-bottom: 20px;
  font-weight: 500;
}

.order-modal-delivery-estimate {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
  padding: 12px;
  background-color: var(--background-light);
  border-radius: var(--radius-sm);
}

.order-modal-delivery-icon {
  color: var(--primary-color);
  font-size: 20px;
}

.order-modal-order-details-btn {
  margin-top: 24px;
}

/* Responsive Adjustments */
@media (max-width: 480px) {
  .order-modal-container {
    max-height: 95vh;
  }
  
  .order-modal-form-row {
    flex-direction: column;
    gap: 16px;
  }
  
  .order-modal-progress-step .order-modal-step-name {
    display: none;
  }
}
/* MODAL STYLES */
.order-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  padding: 20px;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.order-modal-hidden {
  opacity: 0;
  pointer-events: none;
}

.order-modal-container {
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  animation: modalFadeIn 0.3s ease-out;
}

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

.order-modal-header {
  background:#3498db;
  color: white;
  padding: 20px;
  border-radius: 12px 12px 0 0;
  text-align: center;
}

.order-modal-header h1 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.order-modal-header p {
  font-size: 14px;
  opacity: 0.9;
}

.order-modal-logo {
  width: 24px;
  height: 24px;
}

.order-modal-progress-container {
  padding: 16px 20px;
  background: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.order-modal-progress-bar {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin: 0 10px;
}

.order-modal-progress-bar::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--light-gray);
  z-index: 1;
  border-radius: 3px;
}

.order-modal-progress-fill {
  position: absolute;
  top: 12px;
  left: 0;
  height: 3px;
  background: var(--primary-color);
  z-index: 2;
  border-radius: 3px;
  transition: width 0.4s ease;
}

.order-modal-progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 3;
}

.order-modal-step-number {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--light-gray);
  color: var(--medium-gray);
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 600;
  font-size: 12px;
  margin-bottom: 6px;
  border: 2px solid var(--light-gray);
  transition: var(--transition);
}

.order-modal-step-name {
  font-size: 12px;
  font-weight: 500;
  color: var(--medium-gray);
  white-space: nowrap;
  transition: var(--transition);
}

.order-modal-progress-step.order-modal-completed .order-modal-step-number {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
}

.order-modal-form-section {
  display: none;
  padding: 20px;
  animation: fadeIn 0.4s ease-out;
}

.order-modal-form-section.order-modal-active {
  display: block;
}

.order-modal-section-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--dark-color);
  display: flex;
  align-items: center;
  gap: 8px;
}

.order-modal-section-title i {
  font-size: 20px;
  color: var(--primary-color);
}

.order-modal-form-group {
  margin-bottom: 20px;
}

.order-modal-form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 14px;
  color: var(--darker-gray);
}

.order-modal-form-group label.order-modal-required::after {
  content: '*';
  color: var(--error-color);
  margin-left: 4px;
}

.order-modal-form-control {
  width: 93%;
  padding: 14px 16px;
  border: 1px solid var(--light-gray);
  border-radius: var(--border-radius-sm);
  font-size: 15px;
  transition: var(--transition);
  background-color: white;
}

.order-modal-form-control:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.order-modal-form-control::placeholder {
  color: #aaa;
}

.order-modal-form-row {
  display: flex;
  gap: 15px;
}

.order-modal-form-row .order-modal-form-group {
  flex: 1;
}

.order-modal-radio-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.order-modal-radio-option {
  display: flex;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid var(--light-gray);
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  transition: var(--transition);
  background: white;
}

.order-modal-radio-option:hover {
  border-color: var(--primary-color);
  box-shadow: var(--shadow-sm);
}

.order-modal-radio-option input {
  margin-right: 12px;
  accent-color: var(--primary-color);
  width: 18px;
  height: 18px;
}

.order-modal-option-content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.order-modal-option-price {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 15px;
}

.order-modal-checkbox-option {
  display: flex;
  align-items: flex-start;
  padding: 10px;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.order-modal-checkbox-option input {
  margin-right: 12px;
  accent-color: var(--primary-color);
  width: 18px;
  height: 18px;
  margin-top: 3px;
}

.order-modal-btn {
  padding: 14px 24px;
  border: none;
  border-radius: var(--border-radius-sm);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.order-modal-btn-primary {
  background-color: #4a90e2;
  color: white;
}

.order-modal-btn-primary:hover {
  background: #0052a3;
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.order-modal-btn-outline {
  background: none;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
}

.order-modal-btn-outline:hover {
  background: var(--primary-light);
  box-shadow: var(--shadow-sm);
}

.order-modal-btn-lg {
  padding: 16px 24px;
  font-size: 16px;
}

.order-modal-btn-block {
  display: block;
  width: 100%;
}

.order-modal-btn-group {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
  gap: 15px;
}

.order-modal-summary {
  background: var(--lighter-gray);
  padding: 20px;
  border-radius: var(--border-radius-sm);
  margin-bottom: 20px;
}

.order-modal-summary-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.order-modal-summary-title a {
  font-size: 14px;
  font-weight: 500;
  color: var(--primary-color);
  text-decoration: none;
}

.order-modal-summary-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 14px;
}

.order-modal-summary-total {
  font-weight: 700;
  font-size: 16px;
  border-top: 1px solid var(--light-gray);
  padding-top: 12px;
  margin-top: 12px;
}

.order-modal-success-message {
  text-align: center;
  padding: 40px 20px;
}

.order-modal-success-icon {
  font-size: 72px;
  color: var(--success-color);
  margin-bottom: 20px;
  animation: bounce 1s;
}

.order-modal-success-message h2 {
  color: var(--success-color);
  margin-bottom: 12px;
  font-size: 24px;
}

.order-modal-success-message p {
  margin-bottom: 8px;
  font-size: 15px;
  color: var(--darker-gray);
}

.order-modal-order-number {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark-color);
  margin: 16px 0;
  padding: 12px;
  background: var(--lighter-gray);
  border-radius: var(--border-radius-sm);
  display: inline-block;
}

.order-modal-delivery-estimate {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 20px 0;
  padding: 12px;
  background: var(--primary-light);
  border-radius: var(--border-radius-sm);
}

.order-modal-delivery-icon {
  color: var(--primary-color);
  font-size: 20px;
}

.order-modal-delivery-text {
  font-weight: 600;
  color: var(--primary-color);
}

.order-modal-order-details-btn {
  margin-top: 30px;
}

.order-modal-cart-items {
  margin-bottom: 20px;
}

.order-modal-cart-item {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--light-gray);
}

.order-modal-cart-item-name {
  font-weight: 500;
}

.order-modal-cart-item-price {
  font-weight: 600;
}

.order-modal-cart-item-modifiers {
  font-size: 13px;
  color: var(--medium-gray);
  margin-top: 4px;
}

.order-modal-cart-item-quantity {
  color: var(--medium-gray);
  font-size: 14px;
}

.order-modal-time-picker {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 20px;
}

.order-modal-time-slot {
  min-width: 80px;
  padding: 10px;
  border: 1px solid var(--light-gray);
  border-radius: var(--border-radius-sm);
  text-align: center;
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition);
  background: white;
}

.order-modal-time-slot:hover {
  border-color: var(--primary-color);
}

.order-modal-time-slot.order-modal-selected {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.order-modal-time-slot-disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: var(--lighter-gray);
}

.order-modal-error-message {
  color: var(--error-color);
  font-size: 13px;
  margin-top: 6px;
  display: none;
}

.order-modal-form-group.error .order-modal-error-message {
  display: block;
}

.order-modal-form-group.error .order-modal-form-control {
  border-color: var(--error-color);
}

/* Responsive styles */
@media (max-width: 768px) {
  .order-modal-container {
      max-height: 95vh;
  }
  
  .order-modal-form-row {
      flex-direction: column;
      gap: 0;
  }
  
  .order-modal-btn-group {
      flex-direction: column-reverse;
      gap: 12px;
  }
  
  .order-modal-btn {
      width: 100%;
  }
  
  .order-modal-header {
      padding: 16px;
  }
  
  .order-modal-header h1 {
      font-size: 20px;
  }
  
  .order-modal-section-title {
      font-size: 17px;
  }
}

@media (max-width: 480px) {
  .order-modal-form-section {
      padding: 16px;
  }
  
  .order-modal-progress-container {
      padding: 12px 16px;
  }
  
  .order-modal-step-name {
      font-size: 11px;
  }
  
  .order-modal-success-message {
      padding: 30px 16px;
  }
  
  .order-modal-success-icon {
      font-size: 60px;
  }
  
  .order-modal-success-message h2 {
      font-size: 20px;
  }
}
.order-modal-overlay {
  position: fixed; /* 💥 lefogja az egész képernyőt */
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6); /* félátlátszó háttér */
  z-index: 100000;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow-y: auto;
}
body.modal-open {
  overflow: hidden;
  height: 100vh;
}
/* 🧾 Vevői adatok doboz */
.order-modal-customer-details {
  background-color: #f0f8ff; /* halványkék */
  border-radius: 12px;
  padding: 24px;
  margin-top: 30px;
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.1);
  font-family: 'Segoe UI', sans-serif;
  color: #1c3e6e;
  text-align: left;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* 🧾 Címsor */
.order-modal-customer-details h3 {
  font-size: 20px;
  margin-bottom: 16px;
  color: #0056b3;
  border-bottom: 1px solid #cce5ff;
  padding-bottom: 8px;
}

/* 🧾 Egyes sorok */
.order-modal-customer-details p {
  margin: 8px 0;
  font-size: 16px;
}

/* 🧾 Félkövér kiemelések */
.order-modal-customer-details strong {
  color: #003366;
}
/* Kosárösszegzés blokk */
.order-modal-confirmation-cart {
  background-color: #f0f8ff;
  border-radius: 16px;
  padding: 24px;
  margin-top: 30px;
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.08);
  font-family: 'Segoe UI', sans-serif;
}

/* Egy termék */
.order-modal-confirmation-cart .cart-item {
  border-bottom: 1px solid #d6e9ff;
  padding: 12px 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  font-size: 16px;
}

/* Terméknév és mennyiség */
.cart-item .cart-name {
  font-weight: 600;
  color: #002d80;
}

/* Ár */
.cart-item .cart-price {
  color: #0046b3;
  font-weight: bold;
}

/* Opciók */
.cart-item .cart-option {
  margin-top: 4px;
  margin-left: 8px;
  font-size: 14px;
  color: #555;
}

/* Végösszeg */
.order-modal-confirmation-cart .cart-total {
  text-align: right;
  font-size: 18px;
  margin-top: 16px;
  font-weight: bold;
  color: #001e62;
}
.order-modal-cart-option {
  font-size: 0.9em;
  color: #666;
  margin-left: 10px;
}
/* Modern Radio Option Styles */
.order-modal-confirmation-cart .cart-total {
  text-align: right;
  font-size: 1.375rem;
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid #f0f4f9;
  font-weight: 700;
  color: #1a365d;
  letter-spacing: 0.25px;
  font-family: 'Segoe UI', system-ui, sans-serif;
}

.order-modal-cart-option {
  font-size: 0.875rem;
  color: #718096;
  margin-left: 12px;
  font-weight: 500;
}

.order-modal-radio-option {
  display: block;
  margin-bottom: 1.25rem;
  border: 2px solid #e6edf7;
  border-radius: 14px;
  padding: 1.5rem;
  cursor: pointer;
  background: linear-gradient(to bottom, #ffffff, #f9fbfe);
  position: relative;
  transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow: 0 4px 12px -2px rgba(0, 30, 98, 0.08);
  overflow: hidden;
}

.order-modal-radio-option::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, #4299e1, #3182ce);
  transform: scaleY(0);
  transition: transform 0.4s ease-out;
}

.order-modal-radio-option:hover {
  border-color: #c3dafe;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px -4px rgba(0, 30, 98, 0.12);
}

.order-modal-radio-option input[type="radio"] {
  display: none;
}

.order-modal-radio-option .order-modal-option-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.0625rem;
  font-weight: 500;
  color: #2d3748;
  transition: all 0.35s ease;
  position: relative;
  z-index: 1;
  font-family: 'Segoe UI', system-ui, sans-serif;
}

.order-modal-radio-option input[type="radio"]:checked + .order-modal-option-content {
  color: #1a4e8a;
}

.order-modal-radio-option input[type="radio"]:checked ~ .order-modal-option-price {
  color: #2b6cb0;
}

.order-modal-radio-option input[type="radio"]:checked + .order-modal-option-content::before {
  content: '';
  position: absolute;
  top: -1.5rem;
  left: -1.5rem;
  right: -1.5rem;
  bottom: -1.5rem;
  background: rgba(66, 153, 225, 0.06);
  border-radius: 14px;
  z-index: -1;
}

.order-modal-radio-option input[type="radio"]:checked::before {
  transform: scaleY(1);
}

.order-modal-option-price {
  font-weight: 600;
  color: #4299e1;
  font-size: 1.125rem;
  letter-spacing: 0.25px;
  transition: all 0.35s ease;
}

/* Checkmark animation */
.order-modal-radio-option input[type="radio"]:checked + .order-modal-option-content::after {
  content: '✓';
  position: absolute;
  left: -8px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  background-color: #3182ce;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  animation: checkIn 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55) both;
}

@keyframes checkIn {
  0% {
    opacity: 0;
    transform: translateY(-50%) scale(0);
  }
  100% {
    opacity: 1;
    transform: translateY(-50%) scale(1);
  }
}

/* Focus state for accessibility */
.order-modal-radio-option:has(input[type="radio"]:focus-visible) {
  outline: 2px solid #4299e1;
  outline-offset: 2px;
}

.order-modal-active-step .order-modal-step-number {
  background: var(--primary-color);/* zöld, vagy amit szeretnél */
  color: #fff;
}

/* 🌐 Régió mező testreszabása */
#region {
  appearance: none;
  background-color: #e7f1ff;
  border: 2px solid #ccc;
  border-radius: 6px;
  padding: 0.75em 2.5em 0.75em 1em;
  font-size: 16px;
  width: 100%;
  background-image: url("data:image/svg+xml;utf8,<svg fill='%23007bff' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 1em center;
  background-size: 1em;
  transition: border-color 0.3s, box-shadow 0.3s;
}

#region:focus {
  border-color: #007bff;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
  outline: none;
}

/* 🔴 Hibás választás esetén */
#region.required-error {
  border-color: #dc3545;
  background-color: #ffe6e6;
  animation: shake 0.3s;
}

/* 🚨 Animáció */
@keyframes shake {
  0% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  50% { transform: translateX(4px); }
  75% { transform: translateX(-4px); }
  100% { transform: translateX(0); }
}

/* Hibaüzenet stílusa */
#region-group .order-modal-error-message {
  color: #dc3545;
  font-size: 14px;
  margin-top: 0.5em;
  display: none;
}

#region-group.error .order-modal-error-message {
  display: block;
}
#region.required-error {
  border: 2px solid #dc3545 !important;
  background-color: #fff1f1 !important;
  box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.3);
  animation: shake 0.3s ease;
  color: #212529;
}
:root {
  --primary: #4a90e2;
  --primary-dark: #2a6fc9;
  --primary-light: #e6f0fd;
  --bg: #f2f2f2;
  --text: #333;
  --text-light: #666;
  --white: #ffffff;
  --border: rgba(0,0,0,0.1);
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.footer-wave {
  position: absolute;
  top: -5px;
  left: 0;
  width: 100%;
  height: 100px;
  background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1200 120" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" fill="%23f2f2f2" opacity=".25"/><path d="M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z" fill="%23f2f2f2" opacity=".5"/><path d="M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z" fill="%23f2f2f2"/></svg>') no-repeat;
  background-size: cover;
  z-index: 1;
}

.footer-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  position: relative;
  z-index: 2;
}

.footer-section {
  margin-bottom: 2rem;
  transition: var(--transition);
}

.footer-section:hover {
  transform: translateY(-5px);
}

.footer-section h3 {
  color: var(--primary);
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  position: relative;
  display: inline-block;
  font-weight: 600;
}

.footer-section h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), rgba(74,144,226,0.3));
  border-radius: 3px;
}

.contact-info p {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: var(--transition);
}

.contact-info p:hover {
  color: var(--primary-dark);
}

.contact-info i {
  width: 36px;
  height: 36px;
  background-color: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
  transition: var(--transition);
}

.contact-info p:hover i {
  background-color: var(--primary);
  color: white;
  transform: rotate(10deg);
}

.contact-email {
  color: var(--primary);
  text-decoration: none;
  position: relative;
}

.contact-email::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: width 0.3s ease;
}

.contact-email:hover::after {
  width: 100%;
}

.hours-grid {
  display: grid;
  grid-template-columns: auto auto;
  gap: 0.75rem 1.5rem;
}

.footer-bottom-bar {
  background-color: var(--primary);
  color: white;
  padding: 1.5rem 2rem;
  margin-top: 3rem;
  text-align: center;
}
/* Frissített színek */
:root {
  --primary: #4a90e2;
  --primary-dark: #2a6fc9;
  --primary-light: #e6f0fd;
  --bg: #f2f2f2;
  --text: #333;
  --text-light: #f8f9fa;
  --border: #e0e0e0;
  --transition: all 0.3s ease;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Footer fő stílusok */
.restaurant-footer {
  background-color: var(--bg);
  color: var(--text);
  padding: 3rem 0 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  border-top: 1px solid var(--border);
  position: relative;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2.5rem;
}

/* Footer szekciók */
.footer-section {
  padding: 1rem;
  position: relative;
  background-color: white;
  border-radius: 10px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.footer-section:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(74, 144, 226, 0.15);
}

.footer-section h3 {
  color: var(--primary-dark);
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
  font-weight: 600;
}

.footer-section h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: var(--primary);
  border-radius: 3px;
}

.footer-name {
  font-size: 1.8rem;
  color: var(--primary-dark);
  margin-bottom: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  background: linear-gradient(to right, var(--primary), var(--primary-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Kapcsolat információk */
.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 0.8rem;
  transition: var(--transition);
  padding: 0.6rem;
  border-radius: 6px;
}

.contact-item:hover {
  background-color: var(--primary-light);
}

.contact-item i {
  margin-right: 1rem;
  color: var(--primary);
  font-size: 1.1rem;
  min-width: 20px;
  text-align: center;
}

.contact-item span, 
.contact-item a {
  color: var(--text);
  text-decoration: none;
  transition: var(--transition);
}

.contact-item a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.delivery-info {
  display: flex;
  align-items: center;
  margin-top: 1.5rem;
  padding: 0.8rem;
  background-color: var(--primary-light);
  border-radius: 8px;
  font-size: 0.9rem;
  color: var(--primary-dark);
  border: 1px solid rgba(74, 144, 226, 0.2);
}

.delivery-info i {
  margin-right: 1rem;
  color: var(--primary);
}

/* Nyitvatartás */
.hours-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.hours-grid div {
  padding: 0.4rem 0;
}

.hours-grid div:nth-child(odd) {
  font-weight: 600;
  color: var(--primary-dark);
}

/* Social ikonok */
.social-icons {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: var(--transition);
  font-size: 1.2rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.social-icon.facebook {
  background-color: #3b5998;
}

.social-icon.instagram {
  background: linear-gradient(45deg, #405de6, #5851db, #833ab4, #c13584, #e1306c, #fd1d1d);
}

.social-icon:hover {
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Fizetési módok */
.payment-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1rem;
}

.payment-icon {
  width: 50px;
  height: 30px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  filter: grayscale(30%);
  transition: var(--transition);
  opacity: 0.8;
  border-radius: 4px;
  background-color: white;
  padding: 0.2rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.payment-icon:hover {
  filter: grayscale(0);
  opacity: 1;
  transform: scale(1.1);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.payment-icon.visa {
  background-image: url('https://cdn-icons-png.flaticon.com/512/196/196578.png');
}

.payment-icon.mastercard {
  background-image: url('https://cdn-icons-png.flaticon.com/512/196/196561.png');
}

.payment-icon.simplepay {
  background-image: url('https://simplepay.hu/wp-content/uploads/2020/09/simplepay-logo-1.png');
  background-size: 80%;
}

.payment-icon.otpszep {
  background-image: url('https://www.otpbank.hu/static/portal/images/logo/szep_kartya.png');
  background-size: 80%;
}

/* Alsó sáv */
.footer-bottom-bar {
  background-color: white;
  padding: 1.5rem 0;
  margin-top: 3rem;
  border-top: 1px solid var(--border);
}

.footer-bottom-bar .footer-info {
  text-align: center;
  color: var(--text);
  font-size: 0.9rem;
  padding: 0.3rem 0;
}

.footer-bottom-bar a {
  color: var(--primary-dark);
  text-decoration: none;
  transition: var(--transition);
  font-weight: 500;
}

.footer-bottom-bar a:hover {
  color: var(--primary);
  text-decoration: underline;
}

/* Reszponzív */
@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .footer-section {
    padding: 1.5rem;
  }
  
  .footer-name {
    font-size: 1.6rem;
  }
  
  .footer-bottom-bar .footer-info {
    padding: 0.5rem 1.5rem;
    text-align: left;
  }
}
.social-icons {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
  padding: 1.5rem;
  perspective: 1000px;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  color: white !important; /* Az ikon színe mindig fehér */
  font-size: 1.8rem;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transform-style: preserve-3d;
  box-shadow: 
    0 8px 20px rgba(0, 0, 0, 0.15),
    inset 0 2px 0 rgba(255, 255, 255, 0.2);
  border: none;
}

/* 🌈 Platform-specifikus színek ALAPBÓL */
.social-icon.facebook {
  background: linear-gradient(to bottom, #1877f2, #0a5ac2);
}

.social-icon.twitter {
  background: linear-gradient(to bottom, #1da1f2, #0d8ecf);
}

.social-icon.instagram {
  background: linear-gradient(45deg, #f09433, #dc2743, #bc1888);
}

.social-icon.youtube {
  background: linear-gradient(to bottom, #ff0000, #cc0000);
}

.social-icon.linkedin {
  background: linear-gradient(to bottom, #0a66c2, #084a8e);
}

.social-icon.tiktok {
  background: linear-gradient(to bottom, #000000, #333333);
}

.social-icon.pinterest {
  background: linear-gradient(to bottom, #e60023, #b3001b);
}

.social-icon.whatsapp {
  background: linear-gradient(to bottom, #25d366, #128c7e);
}

.social-icon.discord {
  background: linear-gradient(to bottom, #5865f2, #4752c4);
}

.social-icon.reddit {
  background: linear-gradient(to bottom, #ff5700, #e04a00);
}

.social-icon.twitch {
  background: linear-gradient(to bottom, #9146ff, #772ce8);
}

.social-icon.messenger {
  background: linear-gradient(to bottom, #0084ff, #006fe0);
}

/* Fénycsík animáció hoverkor */
.social-icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: 0.6s;
}

/* Hover hatás: mélyítés + fényerő növelés */
.social-icon:hover {
  transform: translateY(-8px) rotateY(15deg) scale(1.05);
  filter: brightness(1.1);
  box-shadow: 
    0 12px 25px rgba(0, 0, 0, 0.25),
    inset 0 4px 0 rgba(255, 255, 255, 0.3);
}

.social-icon:hover::before {
  left: 100%;
}

/* Pulsáló animáció kattintáskor */
@keyframes pulse {
  0% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-5px) scale(1.1); }
  100% { transform: translateY(0) scale(1); }
}

.social-icon:active {
  animation: pulse 0.4s ease;
}

/* Reszponzivitás */
@media (max-width: 768px) {
  .social-icons {
    gap: 1rem;
  }
  .social-icon {
    width: 48px;
    height: 48px;
    font-size: 1.5rem;
  }
}
.opening-hours-box {
  background: white;
  border-radius: 16px;
  padding: 25px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  font-family: 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
  color: #2d3748;
  max-width: 380px;
  margin: auto;
  border: 1px solid #f0f0f0;
}

.header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.header i {
  font-size: 22px;
  color: #3b82f6;
  background: #eff6ff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header h3 {
  font-size: 22px;
  margin: 0;
  color: #1e40af;
  font-weight: 600;
}

.opening-hours-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.opening-hours-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #f3f4f6;
  font-size: 15px;
}

.opening-hours-list li:last-child {
  border-bottom: none;
}

.opening-hours-list li span {
  font-weight: 500;
  color: #4b5563;
}

.time-badge {
  font-weight: 600;
  color: #111827;
  background: #f9fafb;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 14px;
}

.time-badge.highlight {
  background: #3b82f6;
  color: white;
}

.highlight-day span {
  font-weight: 600;
  color: #1e40af;
}

.delivery-note {
  background: #f8fafc;
  border-radius: 12px;
  padding: 15px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-left: 4px solid #3b82f6;
}

.icon-circle {
  background: #3b82f6;
  color: white;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.delivery-note .title {
  font-weight: 600;
  color: #1e40af;
  margin: 0 0 2px 0;
  font-size: 14px;
}

.delivery-note .details {
  color: #6b7280;
  margin: 0;
  font-size: 13px;
}
#banner {
  width: 100%;
  overflow: hidden;
  position: relative;
}

#banner {
  height: auto;             /* Ezt a JS állítja be dinamikusan */
  max-height: 300px;        /* ✅ Ez korlátozza a maximum magasságot */
  overflow: hidden;         /* ✅ Ne lógjon ki a kép */
}

#banner img {
  display: block;
  width: 100%;
  height: 100%;             /* 👉 kitölti a szülő (banner) magasságát */
  object-fit: cover;        /* ✅ kitöltés aránytartással, levágással */
  object-position: center 50%; /* ➕ JS ezt majd állítja be */
  margin: 0;
  padding: 0;
}
#banner {
  max-height: 300px;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.4s ease;
  opacity: 1;
}

#banner.hide {
  max-height: 0;
  opacity: 0;
}
#banner {
  transition: transform 0.4s ease, opacity 0.4s ease;
  transform: translateY(0);
  opacity: 1;
  will-change: transform, opacity;
}

#banner.hide {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}
.header-banner {
  overflow: hidden;
  max-height: 300px;
  opacity: 1;
  transition: max-height 0.4s ease, opacity 0.3s ease;
}

.header-banner.hide {
  max-height: 0;
  opacity: 0;
  pointer-events: none;
}
.header-banner {
  transform-origin: top;
  transform: scaleY(1);
  opacity: 1;
  height: var(--banner-height, 300px);
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(0.65, 0, 0.35, 1),
              opacity 0.3s ease-out,
              height 0.5s ease 0.3s;
  will-change: transform, opacity, height;
  background-color: #f1f1f1;
}

.header-banner.hide {
  transform: scaleY(0);
  opacity: 0;
  height: 0;
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(0.65, 0, 0.35, 1),
              opacity 0.2s ease,
              height 0.5s ease;
}
@media (max-width: 768px) {
  .cart-panel {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(90vw, 500px); /* garantált, hogy sosem lóg ki */
    max-width: 100%;
    padding: 16px;
    box-sizing: border-box;
    z-index: 9999999;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    background: white;
    transition: transform 0.3s ease;
  }
}
.order-modal-container {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  padding: 16px;
  box-sizing: border-box;
}
@media (max-width: 600px) {
  .order-modal-container {
    padding: 12px;
  }
}
.cart-toggle-bar {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 800px;
  padding: 12px 16px;
  background: #000;
  color: #fff;
  font-weight: bold;
  text-align: center;
  font-size: 16px;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
  border-top: 1px solid #eee;
  z-index: 999999; /* itt legyen nagy, hogy minden fölött maradjon */
  box-sizing: border-box;
}
.close-cart {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 10001;
}
.category-heading {
  background-color: #e9f1f8;
  border-radius: 20px;
  padding: 15px 20px;
  margin: 40px 0 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.category-heading .main {
  font-size: 1.5rem;
  font-weight: bold;
  color: #0b63ce;
  display: flex;
  align-items: center;
  gap: 10px;
}

.category-heading .main::before {
  content: "\f2e7";
font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 1.5rem;
  color: #0b63ce;
}
.order-modal-container {
  max-width: 700px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding: 24px;
  box-sizing: border-box;
}
.order-modal-overlay {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0px;
}
.popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
}
.popup-content {
  background: white;
  border-radius: 16px;
  width: auto;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.2);
  padding: 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  animation: popupFadeIn 0.3s ease;
  width: min(100%, 500px);
  align-items: center;
  justify-content: center;
  overflow-y: auto;
  margin: 0 16px; /* Ez a lényeges mobil margin! */
}
@media (min-width: 1024px) {
  .cart-panel {
    width: 380px;
  }
}
.cart-total,
.cart-subtotal,
.cart-delivery-fee,
.cart-discount {
  display: flex;
  justify-content: space-between;
  margin-top: 5px;
  font-size: 16px;
}
.cart-total {
  font-weight: bold;
  border-top: 1px solid #ccc;
  padding-top: 8px;
}

body.modal-open {
  overflow: hidden;
  height: 100vh;
}
body.modal-open footer {
  display: none !important;
}
body.modal-open {
  overscroll-behavior-y: none;
  height: 100vh;
  overflow: hidden;
  position: fixed;
  width: 100%;
}

.order-modal-buttons {
  padding-bottom: 2rem;
}
.order-modal-btn-group {
  padding-bottom: env(safe-area-inset-bottom, 2rem);
}
.order-modal-btn-group {
  position: sticky;
  bottom: 0;
  background: white;
  z-index: 10;
  padding: 3rem;
}

#payment-section {
  overflow-y: auto;
  max-height: calc(100vh - 120px); /* vagy több, ha túl rövid */
  padding-bottom: 6rem;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 768px) {
  .auth-wrapper .modal-content {
    max-height: 75vh; /* 🔽 csak a képernyő 75%-át foglalja el */
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 1.5rem 1rem;
    box-sizing: border-box;
  }
}

@media (max-width: 767px) {
  .cart-panel {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-height: 90vh;
    background: white;
    z-index: 9999;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    overflow-y: auto;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
  }

  .cart-panel.open {
    display: block;
    transform: translateY(0);
  }
}


@media (min-width: 768px) {
  .cart-panel {
    display: flex;
    flex-direction: column;
    max-height: calc(75vh - 70px); /* vagy ami a headered */
    overflow: hidden;
  }

  #cart-items {
    flex: 1;
    overflow-y: auto;
    padding-right: 10px;
  }

  .cart-summary {
    position: sticky;
    bottom: 0;
    background: white;
    padding: 10px 0;
    box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.05);
    z-index: 10;
  }

  #checkout-btn {
    width: 100%;
    background-color: black;
    color: white;
    padding: 12px;
    font-size: 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s ease;
  }

  #checkout-btn:hover {
    background-color: #333;
  }
}

///////////////////////////////////////////////////////////////////////////////////////innenprobalkozok
@media (min-width: 768px) {
  .cart-panel {
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 100px;
    height: calc(95vh - 20px);
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    box-sizing: border-box;
    overflow: hidden;
  }

  .cart-scrollable {
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow: hidden;
  }

  #cart-items {
    flex: 1;
    overflow-y: auto;
    padding-right: 10px;
  }

  .cart-summary {
    position: sticky;
    bottom: 0;
    background: white;
    padding: 10px 0;
    box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.05);
    z-index: 10;
  }

  #checkout-btn {
    width: 100%;
    background-color: black;
    color: white;
    padding: 12px;
    font-size: 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
  }

  #checkout-btn:hover {
    background-color: #333;
  }

  .cart-status {
    margin-top: 10px;
    font-size: 14px;
    color: #666;
  }

  .close-cart {
    position: absolute;
    top: 10px;
    right: 10px;
    background: transparent;
    border: none;
    font-size: 18px;
    cursor: pointer;
  }
}
#cart-items {
  display: flex;
  flex-direction: column-reverse; /* 🔁 ez fordítja meg a sorrendet */
  overflow-y: auto;
  flex: 1;
  margin-bottom: 10px;
  padding-right: 10px;
}

.cart-empty i {
  font-size: 40px;
  margin-bottom: 15px;
  color: #ddd;
}

.cart-empty {
  text-align: center;
  padding: 2rem 1rem;
  color: #777;
  font-size: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}

.cart-empty i {
  font-size: 2.5rem;
  color: #ccc;
  margin-bottom: 0.5rem;
}
.cart-scrollable {
  overflow-y: auto;
  max-height: calc(92vh - 160px); /* fejléc + footer + padding levonása */
  padding: 1rem;
}

///////////////////////////////////safari miatt
.cart-panel {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100dvh; /* ✅ Safari és Chrome mobil barát */
  background: white;
  display: flex;
  flex-direction: column;
  border-radius: 16px 16px 0 0;
  z-index: 9999;
  overflow: hidden;
}

.cart-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
}

.cart-footer {
  padding: 12px 16px calc(env(safe-area-inset-bottom, 16px) + 12px);
  background: white;
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  bottom: 0;
  z-index: 10;
}

.cart-summary {
  font-size: 15px;
  margin-bottom: 10px;
}

#checkout-btn {
  width: 100%;
  padding: 14px;
  font-size: 16px;
  font-weight: bold;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 10px;
  cursor: pointer;
}

/* 🛟 Safari safe-area támogatás */
@supports (-webkit-touch-callout: none) {
  .cart-footer {
    padding-bottom: calc(env(safe-area-inset-bottom) + 16px);
  }
}

@media (max-width: 767px) {
  .cart-panel {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100dvh;
    max-height: 100dvh;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 16px 16px 0 0;
    z-index: 9999;
    overflow: hidden;
  }

  .cart-header {
    padding: 16px;
    font-size: 18px;
    font-weight: bold;
    border-bottom: 1px solid #eee;
  }

  .cart-scrollable {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 1rem;
  }

  .cart-footer {
    padding: 12px 16px calc(env(safe-area-inset-bottom, 16px) + 12px);
    background: white;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 10;
  }

  .cart-summary {
    font-size: 15px;
    margin-bottom: 10px;
  }

  #checkout-btn {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    font-weight: bold;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
  }
}

@media (max-width: 767px) {
  .cart-panel {
    flex-direction: column-reverse; /* 🔁 Panel tartalma alulról épül */
    min-height: 250px;
  }

  .cart-scrollable {
    overflow-y: auto;
    padding: 1rem 1rem 0 1rem; /* felső padding, az alsót a footer veszi át */
  }

  .cart-footer {
    padding: 16px;
    padding-bottom: calc(env(safe-area-inset-bottom, 16px) + 16px);
    background: white;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  }
}

@media (min-width: 768px) {
  .cart-panel {
    display: flex !important;
    flex-direction: column;
    position: sticky;
    top: 140px;
    height: calc(68vh - 40px);
    min-height: 300px;
    overflow: hidden;
  }

  .cart-scrollable {
    flex: 1;
    overflow-y: auto;
    padding-right: 10px;
  }

  .cart-footer {
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid #eee;
  }
}

@media (max-width: 767px) {
  .cart-panel {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    height: 100dvh;
    min-height: 100dvh;
    background: white;
    border-radius: 16px 16px 0 0;
    z-index: 9999;
    overflow: hidden;
  }

  .cart-scrollable {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding: 16px;
    box-sizing: border-box;
  }

  .cart-footer {
    background: white;
    padding: 16px;
    padding-bottom: calc(env(safe-area-inset-bottom, 16px) + 16px);
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.08);
    z-index: 10;
  }

  #checkout-btn {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    font-weight: bold;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
  }
}
@media (max-width: 767px) {
  .cart-panel.open {
    display: flex !important;
    flex-direction: column;
  }
}
///////////////////////////////////////////////////////////////////////////////////////

