0/* Az alábbi részen nem változtattam, feltételezve, hogy jól működik. */
html, body {
    height: 100%;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    font-family: 'Google Sans';
    color-scheme: only light !important;
    letter-spacing: 0px;
    scroll-behavior: smooth;
    background-color: #fff !important;
} 

/* hide page scrollbar */
html { scrollbar-width: none; } /* Firefox */
body { -ms-overflow-style: none; } /* IE and Edge */
body::-webkit-scrollbar, body::-webkit-scrollbar-button { display: none; } /* Chrome */
/* end hide page scrollbar */

::-webkit-scrollbar {
  width: 0;
  height: 0;
}

@view-transition {
  navigation: auto;
}

html, body { background: #fff; }

/* 1. Az animáció definiálása */
@keyframes revealUp {
    from {
        opacity: 0;
        transform: translateY(10px); /* 20 pixelről indul lentről */
    }
    to {
        opacity: 1;
        transform: translateY(0);    /* Megérkezik az eredeti helyére */
    }
}

/* 2. Az osztály, amit bármire rárakhatsz */
.reveal-in-up {
    animation: revealUp 0.2s ease-out forwards;
    /* A 'forwards' biztosítja, hogy az animáció végén ne ugorjon vissza láthatatlanba */
}

.border-bottom-rounded {
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
}

.border-switch {
  border-width: 1px;
  border-color: #EEEEEE;
  border-style: solid;
}

.products-filter-wrap {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;

  background: #fff;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;

  z-index: 19999;

  transform: translateY(100%);
  transition: transform .25s ease;
  will-change: transform;

  max-height: 85vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch; /* iOS: normális scroll */
  box-shadow: 0px 0px 20px 20px rgba(128, 128, 128, 0.15);

  overscroll-behavior: contain; /* ne rángassa a body-t */
}

.products-filter-wrap.is-active {
  transform: translateY(0);
}

.products-filter-overlay {
  position: fixed;
  inset: 0;
  background: rgba(255,255,255,0.6);
  z-index: 19990;

  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;

  overscroll-behavior: contain;
}

.products-filter-overlay.is-active {
  opacity: 1;
  pointer-events: auto;
}

/* A "fogantyú" valójában egy 18px magas touch-zóna,
   és abban van a 46x4 csík */
#filterWrap .filter-drag-handle{
  height: 14px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;

  margin: 8px 0 8px;
  cursor: grab;

  touch-action: none;         /* CSAK itt tiltjuk a gesture-t */
  -webkit-user-select: none;
  user-select: none;
}

#filterWrap .filter-drag-handle::before{
  content: "";
  width: 56px;
  height: 4px;
  border-radius: 999px;
  background: rgba(0,0,0,0.25);
}

.filters-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 18px;
  margin-left: 6px;
  padding: 0 6px;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1;
  background: #000;
  color: #fff;
}

.filters-badge.is-hidden {
  display: none;
}

.bb4-sheet.is-hidden { display: none; }

.bb4-sheet {
  position: fixed;
  inset: 0;
  z-index: 30000;
}

/* Ezt add a CSS fájlodhoz */
#no_follows_yet {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    /* Az overflow-t csak akkor kapcsoljuk be, ha már csukódik össze */
    overflow: visible; 
    max-height: 1000px;
    opacity: 1;
}

/* Amikor csukódik, akkor kell az overflow: hidden */
#no_follows_yet.shop-ntf-is-collapsed {
    max-height: 0 !important;
    opacity: 0 !important;
    overflow: hidden !important; /* Itt már vághat */
    margin: 0 !important;
    padding: 0 !important;
}

.shop-info-arrow {
    /* Adjunk egy kis felső margót, hogy a nyíl ne lógjon ki a szülőből */
    margin-top: 0.5rem; 
    margin-bottom: 1rem; 
    position: relative;
    background: #000;
    padding: 1rem;
    color: #fff;
}

.shop-info-arrow:after {
    right: 1.2rem;
    top: 0;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    border-bottom-color: #000; /* Átállítottam border-bottom-ra */
    border-width: 8px;
    margin-top: -16px; /* Pontosan a doboz tetejére ültetjük */
    /* A rotate: -90deg és border-left helyett tisztább a border-bottom */
}

.bb4-sheet-backdrop{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.25);
}

.bb4-sheet-panel{
  position: absolute;
  left: 0; right: 0; bottom: 0;
  background: #fff;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  padding: 14px 16px 18px;
  box-shadow: 0 -18px 40px rgba(0,0,0,.12);
  transform: translateY(100%);
  transition: transform .22s ease;
  max-height: 80vh;
  overflow: auto;
}

.bb4-sheet.is-open .bb4-sheet-panel{
  transform: translateY(0);
}

.bb4-sheet-handle{
  width: 44px;
  height: 5px;
  border-radius: 999px;
  background: rgba(0,0,0,0.15);
  margin: 0 auto 10px;
}

.bb4-sheet-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 12px;
}

.bb4-sheet-title-wrap{ flex:1; min-width:0; }

.bb4-alert { cursor: pointer; }
.bb4-alert:focus { outline: 2px solid rgba(0,0,0,0.15); outline-offset: 4px; }

#twa_shopcover{
  width:100%;
  height:149px;

  background-size:cover;
  background-position:center 0px;
  background-repeat:no-repeat;

  position:relative;
  overflow:hidden;
}

.twa_shopcover_overlay{
  position:absolute;
  inset:0;

  background:linear-gradient(
    to bottom,
    rgba(0,0,0,0.2),
    rgba(0,0,0,0.4)
  );

  pointer-events:none;
}

#twa_shopcover_bottom{
  position:relative;
  z-index:1;
}

#twa_productcover {
    width: 100%;
    height: 169px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    color: white;
    position: relative;
    background-color: #f9f9f9;
    position: relative;
    z-index: 1;
}

#twa_productcover_days {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    z-index: 2;
    background-color: #000;
    border-radius: 12px;
    display: flex;
    color: fff;
}

* {
    -webkit-tap-highlight-color: transparent;
}
/* ... egyéb stílusok ... */
* {
  forced-color-adjust: none !important;
}

html {
  color-scheme: light !important;
}
* {
  forced-color-adjust: none !important;
}

:root {
  color-scheme: only light;
}

img, video, canvas, svg, iframe, embed, object {
  filter: none !important;
}

/* TWA módban tiltsuk a kijelölést mindenen */
html[data-is-twa="1"] * {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

/* Ha mégis kellenek inputok / textarea-k, azokra engedheted külön: */
html[data-is-twa="1"] input,
html[data-is-twa="1"] textarea {
  -webkit-user-select: text;
  -moz-user-select: text;
  user-select: text;
}

p {
  font-family: 'Google Sans';
}

/* Alapértelmezés: web */
.is-standalone { display: none; }
#pwa__welcome { display:none; }
#web__welcome { display:block; }

/* PWA/TWA/“majdnem natív” módok */
@media (display-mode: standalone), (display-mode: fullscreen), (display-mode: minimal-ui) {
  #pwa__welcome { display:flex; }
  #web__welcome { display:none; }
  .is-standalone { display: block;; }
}

#your__favorite {
  background-color: #fff;
}

@media (display-mode: standalone), (display-mode: fullscreen), (display-mode: minimal-ui) {
  #your__favorite {
    background-color: #f0f0f0;
  }
}

.pwa--welcome-cnt {
  background-color: #F5EB29 !important;
}

/* PWA onboarding layout */
.pwa-wrap {
  height: 100vh;
  display: flex;
  background-color: #F5EB29 !important;
}
.pwa-card {
  display: block;
}
.pwa-logo { height: 32px; }
.pwa-login-cnt {
  border-width: 0px;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  background-color: #fff;
  box-shadow: 0 8px 16px 0 rgba(169, 169, 169, 0.1), 0 4px 30px 0 rgba(169, 169, 169, 0.1);
}

a {
  color: #000;
}

a:hover {
  color: #333;
}

/* alapból látszik */
#site__footer { display: block; }

/* PWA/TWA módban rejtsd el */
@media (display-mode: standalone), (display-mode: fullscreen) {
  #site__footer { display: none !important; }
}

/* Alap: legyen látható */
#page-body {
  opacity: 1;
  backface-visibility: hidden;
  overflow-anchor: none;
}

.home-fade {
  animation: bb4PageEnterHome .150s ease-in;
}

/* Csak akkor animálunk, ha a megfelelő class fenn van */
#page-body.bb4-fade-in  { animation: bb4PageEnter .20s ease forwards; will-change: opacity, transform; }
#page-body.bb4-fade-out { animation: bb4PageExit  .20s ease forwards; will-change: opacity, transform; }
#page-body.bb4-slide-in  { animation: bb4PageEnterSlide .20s ease forwards; will-change: opacity, transform; }
#page-body.bb4-slide-out { animation: bb4PageExitSlide  .20s ease forwards; will-change: opacity, transform; }

@keyframes bb4PageEnterHome {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes bb4PageEnter {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes bb4PageExit {
  from { opacity: 1; transform: translateY(0); }
  to   { opacity: 0; transform: translateY(4px); }
}

@keyframes bb4PageEnterSlide {
  from { opacity: 0; transform: translateX(6px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes bb4PageExitSlide {
  from { opacity: 1; transform: translateX(0); }
  to   { opacity: 0; transform: translateX(6px); }
}

/* Ha van még valahol “html.js #page-body { opacity:0 }”, töröld vagy kommentezd ki */
/* html.js #page-body { opacity: 0; }  */

/* Modal fixek: itt csak a transformot nullázzuk, NEM az opacitást */
.modal.is-active ~ #page-body,
html.is-clipped #page-body { transform: none !important; }

/* Alapértelmezés: böngészős nézet */
.header--app { display:none; }
.header--web { display:block;;}
.hide--pwa   { display:block; }
/* App/PWA/TWA nézet */
@media (display-mode: standalone), (display-mode: fullscreen), (display-mode: minimal-ui) {
  .header--web { display:none; }
  .header--app { display:block;}
  .header--app button { min-width:44px; min-height:44px; }
}

@media (display-mode: standalone), (display-mode: fullscreen), (display-mode: minimal-ui) {
  .hide--pwa { display:none; }
}

/* Ha JS-sel is jelzed (iOS fallback), ugyanaz a váltás osztállyal */
html.is-app .header--web { display:none; }
html.is-app .header--app { display:flex; }

#main-content {
  flex: 1; /* Kitölti a rendelkezésre álló helyet */
}


html, body {
  height: 100%;
}

body {
  margin: 0;
  display: flex;
  flex-direction: column;
}

.twa-warning {
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
}

.bb4-app-header {
  display: none;
}

#page-body {
  flex: 1 1 auto;
  padding-bottom: 64px; 
}

.bb4-shop-bottom {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 62px;
  height: auto;
}

.bb4-bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 62px;
  display: none;
  align-items: center;
  justify-content: space-around;
  border-top: 1px solid #f0f0f0;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  background: #ffffff;
  z-index: 50;
  color: #000;
}

.bb4-nav-item {
  position: relative;
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 56px;
  border-radius: 999px;
  opacity: 1;
  transform: translateY(0);
  color: #000;
  transition:
    opacity 150ms ease-out,
    transform 150ms ease-out,
    background-color 150ms ease-out;
}

.bb4-nav-item:hover {
  color: #BABABA !important;
  transition:
    opacity 150ms ease-out,
    transform 150ms ease-out,
    background-color 150ms ease-out;
}

.bb4-nav-item .bb4-nav-icon {
  width: 22px;
  height: 22px;
  margin-bottom: 2px;
  display: block;
}

.bb4-nav-item .bb4-nav-label {
  transition: color 150ms ease-out;
  line-height: 1.1;
  text-align: center;
  display: block;
  margin-top: 1px;
}

.bb4-nav-item.is-active {
  opacity: 1;
}

.bb4-nav-item.is-active .bb4-nav-label,
.bb4-nav-item.is-active .bb4-nav-icon {
  color: #ACB117;
}

.ripple {
  position: relative;
  overflow: hidden;
  background-color: #ffffff;
  cursor: pointer;
}

.ripple::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 5px;
  background: rgba(0, 0, 0, 0.1);
  opacity: 0;
  border-radius: 100%;
  transform: scale(1, 1) translate(-50%, -50%);
  transform-origin: 50% 50%;
}

@keyframes ripple-animation {
  0% {
    transform: scale(0, 0);
    opacity: 1;
  }
  100% {
    transform: scale(60, 60);
    opacity: 0;
  }
}

.ripple:hover::after {
  animation: ripple-animation 0.6s ease-out;
  color: #ACB117;
}

.bb4-nav-item.is-active-enter {
  transform: translateY(0px);
  opacity: 0;
}
.bb4-nav-item.is-active-enter.is-active {
  transform: translateY(0px);
  opacity: 1;
}

.bb4-nav-item.is-active-click {
  transform: translateY(0px);
}

.bb4-nav-item.is-inactive-leave {
  opacity: 0.4;
}
.image.is-18x18 {
  height: 22px;
  width: 22px;
}

.image.is-twa-icon {
  height: 22px;
  width: 22px;
}

.image.is-62x62 {
  height: 62px;
  width: 62px;
}

@media (display-mode: standalone), (display-mode: fullscreen) {
  .bb4-bottom-nav {
    display: flex;
  }
}

@media (display-mode: browser) {
  .bb4-bottom-nav {
    display: none;
  }
}

.rotate-y-10 {
  transform: rotateY(-30deg);
}

.main-wrapper {
  background: url('../../assets/imgs/twa_main1.png') no-repeat center top;
  background-size: 409px;
  background-repeat: no-repeat;
  position: relative;
  width: 100%;
}

.text-behind {
  position: absolute;
  top: 150px; /* ahol nagyjából a banán kezdődik */
  left: 50%;
  transform: translateX(-50%);
  z-index: 0;
  color: red;
}

.mobile--edges-margin {
  margin-left: 1.5rem;
  margin-right: 1.5rem;
}

@media (max-width: 1024px) {
  .mobile--edges-margin {
    margin-left: 1.0rem;
    margin-right: 1.0rem;
  }
}

.mobile--edges-padding {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

@media (max-width: 1024px) {
  .mobile--edges-padding {
    padding-left: 1.0rem;
    padding-right: 1.0rem;
  }
}

.bb4-catbar {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-start;

  /* desktop */
  flex-wrap: wrap;
  padding-left: 1.5rem;
  margin-bottom: 0rem;
}

.bb4-catbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1rem;
  border-radius: 9px;
  font-size: 0.9rem;
  line-height: 1;
  white-space: nowrap;
  background-color: #f9f9f9;
  color: #000;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.bb4-catbtn:hover {
  background-color: #f0f0f0;
}

.bb4-catbtn.is-active {
  background-color: #071F32;
  color: #fff;
}

.bb4-catbtn:focus {
  outline: none;
}

.bb4-catbtn:focus-visible {
  box-shadow: 0 0 0 3px rgba(7, 31, 50, 0.18);
}

@media screen and (max-width: 768px) {
  .bb4-catbar {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;

    padding-left: 1rem;
    padding-right: 1rem;

    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none; 
    scrollbar-width: none; 
  }

  .bb4-catbar::-webkit-scrollbar {
    display: none; 
  }

  .bb4-catbar .bb4-catbtn {
    flex-shrink: 0;
  }
}

.bb4-catbtn { position: relative; overflow: hidden; }
.bb4-catbtn .ripple { position: absolute; border-radius: 999px; transform: scale(0); animation: ripple .6s ease-out; }
@keyframes ripple { to { transform: scale(2.5); opacity: 0; } }


/* Alapból (mobil): nincs eltolás */
.hero-text-align-left  { margin-left: 0; }
.hero-text-align-right { margin-right: 0; }
.hero-text-align-left-offset  { margin-left: 0px; }
/* Csak 790px felett toljuk el (desktop/tablet) */
@media (min-width: 790px) {
  .hero-text-align-left-offset  { margin-left: -50px; }
  .hero-text-align-left  { margin-left: -200px; }
  .hero-text-align-right { margin-right: -130px; }
}

.hero-sizer {
  margin-top: 220px;
}

.header-sizer {
  margin-bottom: 1rem;
  padding-top: 0;
}

.header-sizer-nav {
  padding-top: 0rem;
  padding-bottom: 1.4rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.web-header-cnt {
  -webkit-box-shadow: 0px 15px 15px 0px rgba(0,0,0,0.05); 
  box-shadow: 0px 15px 15px 0px rgba(0,0,0,0.05);
}

@media screen and (max-width: 789px) {
  .header-sizer {
    margin-bottom: 0.0rem;
  }

  .header-sizer-nav {
    padding-top: 1rem;
    padding-bottom: 1rem;
    padding-left: 1.0rem;
    padding-right: 1.0rem;
  }

  .main-wrapper {
    background: url('../../assets/imgs/twa_main1.png') no-repeat center top;
    background-size: 229px;
    background-repeat: no-repeat;
    position: relative;
    width: 100%;  }

  .hero-sizer {
    margin-top: 130px;
  }

  .text-behind {
    position: absolute;
    top: 90px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 0;
    color: red; 
  }
}

.has-inline-block {
  display: inline-block;
}

.no-shrink {
  flex-shrink: 0;
}

.box-res {
  border-radius: 9px;
}

.cart-floater {
  position: fixed;
  z-index: 1000;
  right: 0;
  bottom: 0;
  display: inline-block;
}

.hover-link {
  opacity: 1;
}

.hover-link:hover {
  opacity: 0.6;
}

.user-nav-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

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

.user-nav-item{
  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  min-height: 44px;
  padding: 12px 14px;

  border-radius: 12px;
  text-decoration: none;

  background: #f0f0f0;
  color: #071F32;

  transition: background-color 120ms ease, color 120ms ease;
}

.user-nav-item:hover,
.user-nav-item:focus-visible{
  background: #071F32;
  outline: none;
  color: #fff;
}

.user-nav-item--active{
  background: #071F32;
  color: #fff;
}

.user-nav-item--active:hover,
.user-nav-item--active:focus-visible{
  background: #071F32;
}

.login-background {
  background: url('../../assets/imgs/login_bg.svg');
  background-size: 969px;
  background-position: center;
  background-repeat: no-repeat;
}

@media screen and (max-width: 789px) {
  .login-background {
    background: url('../../assets/imgs/login_bg.svg');
    background-size: 769px;
    background-position: center;
    background-repeat: no-repeat;
  }
}

@media screen and (max-width: 789px) {
  .box-res {
    border-radius: 0px;
  }
}

.horizontal-scroll-container {
    display: flex;
    overflow-x: auto;
    gap: 1rem;
    padding: 1rem 0;
    scrollbar-width: thin; 
}

.horizontal-scroll-container::-webkit-scrollbar {
    height: 8px;
}

.horizontal-scroll-container::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 4px;
}

.category-scroll-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1rem;
  margin-bottom: 0;
  padding: 0;
  margin-left: 1.5rem;
  margin-right: 1.5rem;
}

.category-card {
  position: relative;
  display: block;
  width: 100%;
  max-width: 100%;
  border-radius: 9px;
  padding: 0;
  overflow: hidden;
  background-color: #f5f5f5;
  cursor: pointer;
}

.category-card-image {
  width: 100%;
  height: 80px;
  object-fit: cover;
  display: block;
}

.category-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.65) 0%,
    rgba(0, 0, 0, 0.4) 40%,
    rgba(0, 0, 0, 0.0) 100%
  );
  pointer-events: none;
}

.category-card-title {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.4rem 0.6rem 0.5rem;
  z-index: 1;
}

.category-card-title p {
  margin: 0;
  font-size: 0.9rem;
  color: #ffffff;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media screen and (max-width: 1024px) {
  .category-scroll-container {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 0.8rem;
    margin-left: 0;
    margin-right: 0;
    padding-left: 1rem;
    padding-right: 1rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;      
    ransform: scaleX(1);
    transform-origin: center;
    will-change: transform;
  }

  .category-scroll-container::-webkit-scrollbar {
    display: none;              
  }

  .category-card {
    flex-shrink: 0;
    width: 120px;               
    max-width: 120px;
  }

  .category-card-image {
    height: 80px;
  }
}

.shop-scroll-container > *,
.product-scroll-container > *,
.category-scroll-container > *{
  backface-visibility: hidden;
}

.shop-scroll-container {
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem; 
    margin-bottom: 0rem;
    padding: 0rem 0;
    margin-left: 1.5rem;
    margin-right: 1.5rem;
    transform: scaleX(1);
    will-change: transform;
    transition: transform .22s ease-out;
}

.shop-card {
    display: block; 
    width: 100%; 
    max-width: 179px; 
    border-radius: 9px;
    padding: 0;
    overflow: hidden; 
    margin-right: 0.5rem; 
}


.shop-card-image {
    width: 100%;
    height: 109px; 
    border-radius: 9px;
    object-fit: cover; 
}

.shop-cover-image {
  width: 100%;
  height: 269px;
}

@media screen and (max-width: 1024px) {
    .shop-scroll-container {
        display: flex; 
        overflow-x: auto; 
        gap: 0.8rem;
        scrollbar-width: thin;
        margin-left: 0rem;
        margin-right: 0rem;
        padding-left: 1.0rem;
        padding-right: 1.0rem;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .shop-scroll-container::-webkit-scrollbar {
        display: none;
    }

    .shop-scroll-container::-webkit-scrollbar {
        height: 8px; 
    }

    .shop-scroll-container::-webkit-scrollbar-thumb {
        background-color: #ccc; 
        border-radius: 4px; 
    }

    .shop-card {
        flex-shrink: 0; 
        width: 159px; 
        margin-right: 0rem;
    }
}

.product-scroll-container {
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(139px, 1fr)); 
    gap: 1rem; 
    margin-bottom: 1.5rem;
    padding: 0rem 0;
    margin-left: 1.5rem;
    margin-right: 1.5rem;
}

.product-card {
    display: flex;             
    flex-direction: column;    
    justify-content: space-between; 
    height: 324px;             
    padding: 0.5rem;
    background-color: #fff;    
    border-radius: 9px;       
    overflow: hidden;          
}

.product-card, .category-card, .shop-card {
    transform: scale(1);
    /* A trükk: egy rugalmas görbe (cubic-bezier), ami "visszarúg" */
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    
    /* Mobil optimalizáció: kikapcsolja a szürke kijelölő téglalapot iOS-en */
    -webkit-tap-highlight-color: transparent;
    
    /* Megmondjuk a böngészőnek, hogy mire számítson (teljesítmény javítás) */
    will-change: transform;
}

.product-card:active, .category-card:active, .shop-card:active {
    transform: scale(0.92); /* Mobilnál legyen bátrabb az összenyomás */
    transition: transform 0.1s ease-out; /* Befelé azonnali reakció */
}

.product-top-content {
    
}

.product-bottom-content {
  padding-top: 0.3rem;
    margin-top: auto; 
    text-align: center; 
}

.product-card-image {
    display: block;
    margin: 0 auto; 
    width: auto;
    height: 129px; 
    object-fit: cover; 
    border-radius: 9px; 
}

.product-card-title {
    width: auto;
    display: -webkit-box; 
    -webkit-box-orient: vertical; 
    overflow: hidden; 
    -webkit-line-clamp: 1; 
    text-overflow: ellipsis;
    white-space: normal; 
    word-break: break-all;
    margin-top: 0.5rem;
}

.product-card-shopname {
    display: -webkit-box; 
    -webkit-box-orient: vertical; 
    overflow: hidden; 
    -webkit-line-clamp: 1; 
    text-overflow: ellipsis; 
    white-space: normal;
}

@media screen and (max-width: 1024px) {
    .product-scroll-container {
        display: flex; 
        overflow-x: auto; 
        gap: 0.8rem;
        scroll-behavior: smooth; 
        -ms-overflow-style: none; 
        scrollbar-width: none; 
        margin-left: 0rem;
        margin-right: 0rem;
        padding-left: 1.0rem;
        padding-right: 1.0rem;
        transform: scaleX(1);
        transform-origin: center;
        will-change: transform;
    }

    .horizontal-scroll-container::-webkit-scrollbar {
        display: none; 
    }

    .product-card {
        flex-shrink: 0; 
        width: 139px; 
        height: 324px;
        padding: 0.5rem;
    }
}


.skeleton {
    background: #f9f9f9;
    background-size: 200% 100%;
    border-radius: 9px;
}

.skeleton-text {
    height: 0.5em;
    margin-bottom: 0.5em;
}

.skeleton-image {
    width: 100%;
    height: 109px;
    margin-bottom: 1em;
    padding: 0;
}

.skeleton-title {
    height: 0.2em;
    width: 80%;
    margin-bottom: 0.5em;
}

.skeleton-subtitle {
    height: 0.5em;
    width: 60%;
    margin-bottom: 0.5em;
}


#notification-bar {
    position: fixed;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    min-width: 300px;
    max-width: 600px;
    padding: 15px 20px;
    border-radius: 6px;
    display: none; 
    z-index: 1000;
    text-align: center;
}

#notification-bar.is-visible {
    display: block;
}

.notification.is-success {
    background-color: #F5EB29;
    color: #000;
}

.notification.is-danger {
    background-color: #e74c3c;
    color: #fff;
}

.twa-sheet-overlay{
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(255,255,255,.78);
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding-top: env(safe-area-inset-top);
  padding-bottom: env(safe-area-inset-bottom);
  opacity: 1;
  transition: opacity 180ms ease;
}

.twa-sheet-overlay.is-hidden{
  opacity: 0;
  pointer-events: none;
}

.twa-sheet-overlay.is-opening{
  opacity: 1;
}

.twa-sheet-overlay.is-closing{
  opacity: 0;
}

.twa-sheet{
  width: 100%;
  max-width: 640px;
  background: #fff;
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
  box-shadow: 0 -12px 40px rgba(0,0,0,.18);
  max-height: calc(90vh - env(safe-area-inset-bottom));
  overflow: hidden;
  position: relative;
  transform: translateY(0);
  will-change: transform;
  overscroll-behavior: contain;
  touch-action: pan-y;
}

.twa-sheet-handle{
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;

  cursor: grab;
  touch-action: none; 
  user-select: none;
}

.twa-sheet-handle-bar{
  width: 62px;
  height: 5px;
  border-radius: 999px;
  background: rgba(0,0,0,.18);
  display: block;
}

.twa-sheet-close{
  position: absolute;
  top: 8px;
  right: 10px;
  border: 0;
  background: transparent;
  font-size: 22px;
  padding: 6px 10px;
  cursor: pointer;
}

.twa-sheet-body{
  max-height: calc(90vh - 38px - env(safe-area-inset-bottom));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 10px 16px 16px;
  overscroll-behavior: contain;
}

.twa-sheet-title{
  margin: 4px 0 12px;
  font-weight: 700;
}

.twa-sheet-overlay.is-opening .twa-sheet{
  animation: twaSheetUp 260ms cubic-bezier(.2,.9,.2,1);
}
.twa-sheet-overlay.is-closing .twa-sheet{
  animation: twaSheetDown 220ms cubic-bezier(.4,0,.2,1) forwards;
}

@keyframes twaSheetUp{
  from { transform: translateY(110%); }
  to   { transform: translateY(0); }
}

@keyframes twaSheetDown{
  from { transform: translateY(0); }
  to   { transform: translateY(110%); }
}

.twa-sheet-overlay.is-dragging .twa-sheet{
  animation: none !important;
}

.notification-panel {
        position: fixed;
        top: 0;
        right: 0;
        width: 350px;
        max-height: 100vh;
        background: #ffffff;
        box-shadow: -2px 0 8px rgba(0, 0, 0, 0.1);
        overflow-y: auto;
        z-index: 1000;
        border-left: 1px solid #ddd;
        padding: 15px;
    }

.notification-panel.is-hidden {
    display: none;
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.shop-default-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff; 
    font-size: 42px; 
    font-weight: bold; 
    text-transform: uppercase; 
    margin-bottom: -10px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 1rem; 
}

.products-item {
  padding: 0.5rem;
  scale: 1.0;
  transition: 0.2s ease-in-out;
}

.products-item:hover {
  padding: 0.5rem;
  scale: 0.95;
  transition: 0.2s ease-in-out;
}


@media (min-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(8, 1fr);
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .products-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 767px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.search-products-grid {
  display: grid;
  gap: 1rem;
}

.search-products-item {
  padding: 1rem;
}

.search-products-grid .empty-state {
  grid-column: 1 / -1;         
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  text-align: center;
}

.search-products-grid.is-loading {
  opacity: 0.7;
}

@media (min-width: 1024px) {
  .search-products-grid {
    grid-template-columns: repeat(7, 1fr);
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .search-products-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 767px) {
  .search-products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.custom-products-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0rem;
    padding-left: 1.5rem;
    justify-content: flex-start;
}

.custom-products-buttons .custom-tag {
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    cursor: pointer;
    white-space: nowrap;
    background-color: #fff;
    border: 1px solid #f0f0f0;
    color: #000;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.custom-products-buttons .custom-tag:hover {
    background-color: #f0f0f0;
    color: #000;
}

.custom-products-buttons .custom-tag.active {
    background-color: #F5EB29;
    color: #000; /* Tetszés szerint megváltoztathatod a szöveg színét is */
    border-color: transparent;
}

@media screen and (max-width: 768px) {
    .custom-products-buttons {
        display: flex;
        flex-wrap: nowrap; /* Egy sorban tartja az elemeket */
        overflow-x: auto; /* Görgetés engedélyezése vízszintesen */
        white-space: nowrap;
        gap: 0.5rem;
        padding-left: 1rem;
        padding-right: 1rem;
        -ms-overflow-style: none; /* Internet Explorer és Edge scrollbar eltüntetés */
        scrollbar-width: none; /* Firefox scrollbar eltüntetés */
    }

    .custom-products-buttons::-webkit-scrollbar {
        display: none; /* Görgetősáv eltüntetése Chrome/Safari */
    }

    .custom-products-buttons .custom-tag {
        flex-shrink: 0; /* Az elemek ne zsugorodjanak össze */
    }
}

/* Alapértelmezett stílus (asztali nézet) */
.shop-category-buttons {
    display: flex;
    flex-wrap: wrap; /* Oszlopba törés asztali nézetben */
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    justify-content: flex-start;
}

/* Egyedi kategóriagombok */
.shop-category-buttons .shop-category {
    padding: 1rem 1.5rem;
    border-radius: 9px;
    font-size: 0.9rem;
    cursor: pointer;
    white-space: nowrap;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    color: #000;
    transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

/* Hover effektus */
.shop-category-buttons .shop-category:hover {
    background-color: #f9f9f9;
    color: #000;
}

/* Aktív osztály */
.shop-category-buttons .shop-category.is-active {
    background-color: #F5EB29;
    color: #000; /* Tetszés szerint megváltoztathatod a szöveg színét is */
    border-color: transparent;
}

/* Mobil nézet: vízszintes görgetés */
@media screen and (max-width: 768px) {
    .shop-category-buttons {
        display: flex;
        flex-wrap: nowrap; /* Egy sorban tartja az elemeket */
        overflow-x: auto; /* Görgetés engedélyezése vízszintesen */
        white-space: nowrap;
        gap: 0.5rem;
        padding-left: 1rem; 
        padding-right: 1rem;
        -ms-overflow-style: none; /* Internet Explorer és Edge scrollbar eltüntetés */
        scrollbar-width: none; /* Firefox scrollbar eltüntetés */
    }

    .shop-category-buttons::-webkit-scrollbar {
        display: none; /* Görgetősáv eltüntetése Chrome/Safari */
    }

    .shop-category-buttons .shop-category {
        flex-shrink: 0; /* Az elemek ne zsugorodjanak össze */
    }

    .shop-category { 
      padding: 0.5rem 1.5rem;
    }
}

/* Toggle Switch alapstílus */
.toggle-switch {
    width: 50px;
    height: 25px;
    background-color: #ccc; /* Kikapcsolt állapot színe */
    border-radius: 25px;
    position: relative;
    cursor: pointer;
    transition: background-color 0.3s ease;
    flex-shrink: 0; /* Ne zsugorodjon a mérete */
}

/* Kör a toggle kapcsolóban */
.toggle-circle {
    width: 21px;
    height: 21px;
    background-color: #fff; /* Fehér kör */
    border-radius: 50%;
    position: absolute;
    top: 2px;
    left: 2px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

/* Bekapcsolt állapot */
.toggle-switch.active {
    background-color: #000; /* Bekapcsolt állapot színe */
}

.toggle-switch.active .toggle-circle {
    transform: translateX(25px); /* Mozgatás jobbra */
    background-color: #fff;
}

/* Szöveg stílus (label) */
.toggle-label {
    font-size: 1rem;
    color: #000;
    cursor: pointer;
    margin: 0; /* Felesleges margók eltávolítása */
    line-height: 1; /* Vertikális igazításhoz */
}

/* Konténer, ami egy sorba teszi a toggle-t és a szöveget */
.toggle-field {
    display: flex;
    align-items: center; /* Középre igazítás vertikálisan */
    gap: 10px; /* Távolság a toggle és a szöveg között */
}

/* Grid konténer stílusok */
.custom-shop-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr); /* 6 oszlopos elrendezés */
    gap: 10px; /* Távolság a boltok között */
}

/* Egyedi shop elem */
.custom-shop-item {
    display: flex;
    flex-direction: column;
    border-radius: 6px;
    overflow: hidden;
}


/* Shop kártya belső tartalma */
.custom-shop-card {
    padding: 0px;
}

.custom-shop-title {
    font-size: 1.1rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.custom-shop-details {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 10px;
}

/* 4 oszlopos elrendezés tableten */
@media screen and (max-width: 1024px) {
    .custom-shop-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* 2 oszlopos elrendezés mobilon */
@media screen and (max-width: 768px) {
    .custom-shop-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

/* 1 oszlopos elrendezés nagyon kis képernyőn */
@media screen and (max-width: 480px) {
    .custom-shop-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Háttérkép konténer */
.custom-shop-image-wrapper {
    width: 100%; /* A kártya teljes szélessége */
    background-size: cover; /* A kép kitölti a területet */
    background-position: center; /* Középre igazítja a képet */
    background-repeat: no-repeat; /* Ne ismétlődjön a kép */
    border-radius: 6px; /* Kártya felső részén kerekítés */
    overflow: hidden;
    margin-bottom: 0.5rem;
    background-color: #f9f9f9;
}

/* Magasság meghatározása különböző képernyőméreteken */
@media screen and (min-width: 1024px) {
    .custom-shop-image-wrapper {
        height: 129px; /* Magasabb kép asztali nézetben */
    }
}

@media screen and (max-width: 1024px) {
    .custom-shop-image-wrapper {
        height: 159px; /* Kisebb kép tableten */
    }
}

@media screen and (max-width: 768px) {
    .custom-shop-image-wrapper {
        height: 109px; /* Még kisebb kép mobilon */
    }
}

.product-grid {
    display: grid;
    grid-template-columns: 239px 609px 1fr; /* Fix szélességek a képnek és termékadatoknak, a bolt adatai rugalmas */
    gap: 1rem;
}

.product-image {
    display: flex;
    flex-direction: column;
}

.product-info {
    display: flex;
    flex-direction: column;
}

.shop-info {
    display: flex;
    flex-direction: column;
}

.shop-info h2 {
    margin-bottom: 1rem;
}

/* Mobil nézet */
@media screen and (max-width: 768px) {
    .product-grid {
        grid-template-columns: 1fr; /* Egy oszlop mobil nézetben */
    }

    .product-info {
        order: 2;
    }

    .product-image {
        order: 1;
    }

    .shop-info {
        order: 3;
    }
}

.other-product-scroll-container {
    display: grid; /* Alapértelmezett grid elrendezés */
    grid-template-columns: repeat(auto-fit, minmax(149px, 1fr)); /* Rugalmas oszlopok */
    gap: 1rem; /* Távolság az elemek között */
    margin-bottom: 0rem;
    padding: 1rem 0;
    margin-left: 1.5rem;
    margin-right: 1.5rem;
}

.other-product-card {
    display: flex;             /* Flexbox aktiválása */
    flex-direction: column;    /* Függőleges elrendezés */
    justify-content: space-between; /* Elem elosztás: egyik fent, másik lent */
    height: auto;             /* Fix magasság */
    padding: 1rem;
    background-color: #fff;    /* Fehér háttérszín */
    border-radius: 6px;        /* Lekerekített sarkok */
    overflow: hidden;          /* Tartalom túlcsordulásának elrejtése */
}

.other-product-top-content {
    /* Nincs szükség külön stílusra */
}

.other-product-bottom-content {
    padding-top: 0.3rem;
    margin-top: auto; /* Az aljára kényszeríti az elemet */
    text-align: center; /* Középre igazítja a szöveget */
}

.other-product-card-image {
    display: block; /* Képek blokk szintű megjelenítése */
    margin: 0 auto; /* Kép középre igazítása */
    width: auto;
    height: 129px; /* Fix magasság a kép számára */
    object-fit: cover; /* A kép arányainak megőrzése */
    border-radius: 6px; /* Lekerekített sarkok a képen */
}

.other-product-card-title {
    width: auto;
    display: -webkit-box; /* Több soros szöveg kezelése */
    -webkit-box-orient: vertical; /* A szöveg függőleges iránya */
    overflow: hidden; /* Túlcsorduló szöveg elrejtése */
    -webkit-line-clamp: 1; /* Maximum 1 sor */
    text-overflow: ellipsis; /* Három pont a túl hosszú szövegeknél */
    white-space: normal; /* Szöveg törhető legyen */
    word-break: break-all;
    margin-top: 0.5rem;
}

.other-product-card-shopname {
    display: -webkit-box; /* Több soros szöveg kezelése */
    -webkit-box-orient: vertical; /* A szöveg függőleges iránya */
    overflow: hidden; /* Túlcsorduló szöveg elrejtése */
    -webkit-line-clamp: 1; /* Maximum 1 sor */
    text-overflow: ellipsis; /* Három pont a túl hosszú szövegeknél */
    white-space: normal; /* Szöveg törhető legyen */
}

/* Media Queries */
@media screen and (max-width: 1024px) {
    .other-product-scroll-container {
        display: flex; /* Flexbox kisebb képernyőn */
        overflow-x: auto; /* Vízszintes görgetés */
        gap: 0.8rem;
        scroll-behavior: smooth; /* Simított görgetés */
        -ms-overflow-style: none; /* IE/Edge scrollbar eltüntetése */
        scrollbar-width: none; /* Firefox scrollbar eltüntetése */
        margin-left: 0rem;
        margin-right: 0rem;
        padding-left: 1.0rem;
        padding-right: 1.0rem;
    }

    .other-product-scroll-container::-webkit-scrollbar {
        display: none; /* Chrome/Safari scrollbar eltüntetése */
    }

    .other-product-card {
        flex-shrink: 0; /* Ne zsugorodjanak az elemek */
        width: 149px; /* Fixált szélesség */
    }
}

.stars {
    display: flex;
    gap: 5px;
    cursor: pointer;
}
.star {
    font-size: 24px;
    color: #ccc;
}
.star.selected {
    color: #ffcc00;
}
.review {
    border-bottom: 1px solid #ddd;
    padding: 10px 0;
}

.user-rating-edit {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: white;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 1rem;
    display: none;
}

.user-rating-edit.is-hidden {
    display: none;
}

.user-rating-edit .stars {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.user-rating-edit .star {
    font-size: 1.5rem;
    cursor: pointer;
}

.user-rating-edit .star.selected {
    color: gold;
}

.shop-image-container {
  width: 100%;
  position: relative; /* Ez szükséges az ikon helyzetének meghatározásához */
  display: inline-block; /* Tartalomhoz igazodó méret */
}

.shop-cover-image-modal {
  width: 100%; /* A kép méretének biztosítása */
  height: 249px; /* Arányos méret */
  display: block; /* Szépen igazodik a konténerhez */
}

.shop-modal-close {
  position: absolute; /* Pozíció a kép fölé */
  top: 10px; /* Távolság a konténer tetejétől */
  right: 10px; /* Távolság a konténer jobb szélétől */
  cursor: pointer; /* Mutatóváltás az ikon fölött */
  z-index: 10; /* Biztosítsuk, hogy az ikon a kép fölött jelenjen meg */
}

.shop-modal-close svg {
  width: 32px; /* Ikon mérete */
  height: 32px; /* Ikon mérete */
  fill: #000; /* Ikon színe */
}

.shop-modal-close:hover svg {
  fill: #333; /* Színváltozás hover esetén */
}

/* Chat Modal */
.custom-chat-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #f9f9f9;
    display: flex;
    flex-direction: column;
    z-index: 1000;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

/* Modal header */
.custom-chat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.custom-chat-title {
    font-size: 1.5rem;
    margin: 0;
}

.custom-chat-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Modal messages area */
.custom-chat-messages {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Bal oldali igazítás alapértelmezésként */
    padding: 15px;
    background-color: #fff;
    overflow-y: auto;
    flex: 1;
}

/* Modal footer */
.custom-chat-footer {
    display: block;
}

.custom-chat-form {
    display: flex;
    flex: 1;
}

.custom-chat-input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    resize: none;
}

.custom-chat-send {
    cursor: pointer;
}

.custom-chat-send:hover {
    background-color: #0056b3;
}

/* User üzenet */
.custom-chat-message.user {
    background-color: #f1f1f1;
    color: #333;
    align-self: flex-end;
    text-align: right; /* Szöveg igazítása jobbra */
    display: inline-block;
    max-width: 70%; /* Max szélesség az ablakhoz igazodva */
    word-wrap: break-word;
    padding: 10px 15px;
    border-radius: 15px 15px 0 15px; /* Bal felső lekerekítés */
    margin-bottom: 10px;
}

/* Bolt üzenet */
.custom-chat-message.shop {
    background-color: #F5EB29;
    color: #000;
    align-self: flex-start;
    text-align: left; /* Szöveg igazítása balra */
    display: inline-block;
    max-width: 70%; /* Max szélesség az ablakhoz igazodva */
    word-wrap: break-word;
    padding: 10px 15px;
    border-radius: 15px 15px 15px 0; /* Jobb felső lekerekítés */
    margin-bottom: 10px;
}

/* Általános szövegbuborék stílus */
.custom-chat-message {
    margin: 5px 0;
}


.custom-chat-response {
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 5px;
    font-size: 0.9rem;
    text-align: center;
    position: absolute;
    bottom: 100px; /* Az üzenetküldő form fölött helyezkedik el */
    left: 50%; /* Vízszintesen középre igazítás kezdeti pontja */
    transform: translateX(-50%); /* Középre tolás */
    z-index: 10; /* Ha szükséges, biztosítja, hogy más elemek fölött legyen */
}

.custom-chat-response.error {
    padding: 1.5rem;
}

.custom-chat-response.is-hidden {
    display: none;
}

#profileImage {
    cursor: pointer;
    transition: opacity 0.2s;
    position: relative; /* Pozicionálás alapja */
}

#profileImage:hover {
    opacity: 0.8;
}

/* Profilkép stílusa */
.profile-picture {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    width: 128px;
    height: 128px;
    position: relative;
}

/* Ha van profilkép */
.profile-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 50%;
}

/* "Módosít" gomb megjelenítése KÍVÜL a kép alatt */
.edit-label {
    position: absolute;
    bottom: 10px; /* A kép ALÁ kerül */
    right: 0px;
    background: rgba(0, 0, 0, 1);
    color: white;
    font-size: 8px;
    padding: 4px 8px;
    border-radius: 5px;
    font-family: "Outfit", sans-serif;
    font-weight: bold;
    opacity: 0.5; /* Alapból rejtett */
    transition: opacity 0.2s ease-in-out;
    white-space: nowrap; /* Ne törje a szöveget új sorba */
}

/* Hover-re megjelenik */
#profileImage:hover .edit-label {
    opacity: 1;
}


/* Ha nincs profilkép */
.profile-initial {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    font-weight: bold;
    text-transform: uppercase;
}

.search-container {
  max-width: 100%;
  margin: 0 auto;
}

.search-grid {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 10px;
  align-items: center;
}

.search-field {
  width: 100%;
}

/* Mobil nézetben a mezők egymás alá kerülnek */
@media (max-width: 600px) {
  .search-grid {
    grid-template-columns: 1fr;
  }
}

/* Dashboard Classes */

.dashboard-signup-wrap {
  display: grid;
  grid-template-columns: auto 489px;
  height: 100vh;
  position: relative;
  z-index: 1;
  background-color: #fff !important;
  padding: 0rem;
}

.dashboard-signup-item-left {
  display: flex;
  align-items: center;
  justify-content: center;
  order: 0;
}

.dashboard-signup-item-right {
  position: relative;
  overflow: hidden;

  display: flex;
  align-items: center;
  justify-content: center;
  order: 1;

  background-image:
    linear-gradient(0deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 100%),
    url('../../imgs/partner_m1.jpg');

  background-size: 200% auto;
  background-position: 50% 50%;
  background-repeat: no-repeat;

  transition: background-position 0.05s linear;
}


.dashboard-signup-form {
  width: 369px;
  max-width: 369px;
  height: auto;
  padding: 0rem;
  background-color: #fff;
  border-radius: 0px;
  padding: 0rem;
}

.dashboard-signup-logo {
  width: 159px;
  height: auto;
  margin-bottom: 1.0rem;
}

.dashboard-signup-buttons {
  right: 1.5rem;
  top: 1.5rem;
  position: absolute;
}

.dashboard-signup-text {
  width: 389px;
  position: fixed;
  display: block;
  bottom: 2.5rem;
  right: 2.5rem;
  box-sizing: content-box;
  filter: drop-shadow(2px 2px 20px rgba(0, 0, 0, 0.8)); /* X, Y, Blur, Opacity */

}

.dashboard-signup-item-image {
  width: 489px;
  height: auto;
}

.dashboard-signup-form-logo {
  position: absolute;
  left: 1.5rem;
  top: 1.5rem;
  display: block;
}

.dashboard-signup-form-account {
  position: absolute;
  left: 1.5rem;
  bottom: 1.5rem;
  display: block;
}

@media (max-width: 1229px) {
  .dashboard-signup-item-image {
    width: 489px;
  }
}

@media (max-width: 600px) {
  .dashboard-signup-wrap {
    height: auto;
    display: block;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #fff !important;
    padding: 0;
    margin: 0;
  }

  .dashboard-signup-form-account {
    position: relative;
    display: none;
    padding: 1.5rem;
  }

  .dashboard-signup-form-logo {
    display: none;
  }

  .dashboard-signup-item-left {
    width: 100%;
    padding: 0rem;
    padding-top: 0rem;
    display: block;
  }

  .dashboard-signup-form {
    width: 100%;
    max-width: none; /* Ne legyen max-width korlát */
    padding: 0;
    margin: 0;
    border-radius: 0px;
    padding: 1.5rem;
    border-top-width: 1px;
    border-bottom-width: 0px;
    border-style: solid;
    border-color: #f0f0f0;
  }

  .dashboard-signup-item-right {
    display: none;
  }

  .dashboard-signup-logo {
    width: 189px;
    display: block;
    margin-bottom: 1.5rem;
  }
}

.password-toggle {
    width: 20px; /* Nagyobb méret a jobb kattintásérzékenységért */
    height: 20px;
    cursor: pointer;
    position: absolute;
    right: 10px; /* Pozíció beállítása */
    top: 45%;
    transform: translateY(-50%);
    z-index: 10; /* Az input fölé helyezzük */
    pointer-events: auto; /* Biztosítja, hogy kattintható legyen */
    transition: opacity 0.3s ease;
    opacity: 0.5;
}

.password-toggle:hover {
    opacity: 1;
}

.has-icons-right .input {
    padding-right: 2.5rem; /* Megnöveljük az input jobb oldali paddingját, hogy az ikon ne takarja */
}

.dashboard-login-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  width: auto;
  height: 100vh;
  padding: 1.5rem;
}

.dashboard-login-form {
  display: block;
  width: 429px;
  max-width: 429px;
  padding: 1.5rem;
  margin-top: -30px;
}

.dashboard-login-logo {
  width: 209px;
  height: auto;
  margin-bottom: 1.0rem;
}

@media (max-width: 600px) {
  .dashboard-login-wrap {
    display: block;
    height: auto;
  }

  .dashboard-login-form {
    width: 100%;
    max-width: none; /* Ne legyen max-width korlát */
    padding: 0;
    margin: 0;
    border-radius: 6px;
    padding: 1.5rem;
  }

  .dashboard-login-logo {
    width: 179px;
    height: auto;
    margin-bottom: 1.0rem;
  }
}

/* User messages list container */
.usermessages-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Egy üzenet tételének stílusa */
.usermessages-item {
  position: relative;
  padding: 1rem;
  border-radius: 6px;
}

/* CSS Grid a tétel elemeihez */
.usermessages-grid {
  display: grid;
  grid-template-columns: 40px auto;
  align-items: start;
  gap: 1rem;
}

/* Bal oszlop: üzlet logó */
.usermessages-left {
  width: 42px;
  height: 42px;
}

.usermessages-left img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
}

/* Ha nincs logó, placeholder a shop név első betűjével */
.usermessages-placeholder {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ccc;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: bold;
}

/* Középső oszlop: üzlet adatai */
.usermessages-middle {
  display: flex;
  flex-direction: column;
}

.usermessages-last-message {
  font-size: 1rem;
  color: #666;
  margin: 0;
}

/* A stretched link, hogy az egész tétel kattintható legyen */
.usermessages-item .stretched-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* Mobil nézet */
@media (max-width: 768px) {
  .usermessages-grid {
    grid-template-columns: 40px auto;
    gap: 0.5rem;
  }
  .usermessages-left {
    width: 40px;
    height: 40px;
  }
  .usermessages-left img {
    width: 40px;
    height: 40px;
  }
  .usermessages-placeholder {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
}

.cart-grid {
  display: grid;
  grid-template-columns: 389px 150px 150px auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid #e8e8e8;
}

.cart-grid-item-1 {
  display: block;
}

.cart-grid-item-2 {
  display: block;
}

.cart-grid-item-3 {
  display: block;
}

.cart-grid-item-4 {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
}

@media (max-width: 768px) {

  .cart-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1rem; /* Grid elemek közötti távolság */
  }

  .cart-grid-item-1 {
    display: block;
    grid-column: span 12;
    order: 1;
  }

  .cart-grid-item-2 {
    display: block;
    grid-column: span 7;
    order: 2;
  }

  .cart-grid-item-3 {
    display: block;
    grid-column: span 12;
    order: 4;
  }

  .cart-grid-item-4 {
    display: flex;
    grid-column: span 5;
    order: 3;
    justify-content: flex-end;
    align-items: flex-start;
  }
}

.mass-reservation-items-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mass-reservation-item {
  display: grid;
  grid-template-columns: 489px 150px auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem 0;
}

.mass-grid-item-1,
.mass-grid-item-2,
.mass-grid-item-3 {
  display: block;
}

.mass-grid-item-3 {
  display: flex;
  justify-content: flex-end;
}

@media (max-width: 768px) {
  .mass-reservation-item {
    grid-template-columns: repeat(12, 1fr);
    gap: 1rem;
  }

  .mass-grid-item-1 {
    grid-column: span 12;
    order: 1;
  }

  .mass-grid-item-2 {
    grid-column: span 5;
    order: 2;
  }

  .mass-grid-item-3 {
    grid-column: span 7;
    order: 4;
    display: flex;
    justify-content: flex-end;
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: 100% auto;
  gap: 1rem;
}

/* Mobil fejléc grid */
.mobile-header-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1rem;
}

.mobile-left {
  justify-self: start;
  display: flex;
  align-items: center;
}

.mobile-center {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.mobile-right {
  justify-self: end;
  display: flex;
  align-items: center;
}

/* Asztali fejléc grid */
.desktop-header-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}

.desktop-nav-center {
  justify-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

/* Reszponzív megjelenítés */
@media (max-width: 1023px) {
  .desktop-header-grid {
    display: none;
  }

  .hero-grid {
    display: grid;
    grid-template-columns: 100% 0;
    gap: 1rem;
  }
}

@media (min-width: 1024px) {
  .mobile-header-grid {
    display: none;
  }
}

.header-cta {
  display: flex;
  align-items: center;
  border-width: 0px;
  border-radius: 8px;
  border-style: solid;
  border-color: #000;
  padding: 1rem 1.5rem 1rem 1.5rem;
  background-color: #000;
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  text-transform: uppercase;
  transition: 0.2s;
  box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2), 0 4px 30px 0 rgba(0,0,0,0.19);
  cursor: pointer;
}

.header-cta:hover {
  background: transparent;
  background-color: #333;
  transition: 0.2s;
}

.header-cta-pwa-location {
  display: flex;
  justify-content: center;
  align-items: center;
  border-width: 2px;
  border-radius: 16px;
  border-style: solid;
  border-color: #071F32;
  padding: 0.8rem 1rem 0.8rem 1rem;
  background-color: transparent;
  color: #071F32;
  font-size: 14px;
  font-weight: bold;
  text-transform: uppercase;
  transition: 0.2s;
  cursor: pointer;
}

.header-cta-pwa-location:hover {
  background: transparent;
  background-color: #fff;
  transition: 0.2s;
}

.header-cta-pwa-login {
  display: flex;
  justify-content: center;
  align-items: center;
  border-width: 2px;
  border-radius: 16px;
  border-style: solid;
  border-color: #071F32;
  padding: 0.8rem 1rem 0.8rem 1rem;
  background: #071F32;
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  text-transform: uppercase;
  transition: 0.2s;
  cursor: pointer;
}

.header-cta-pwa-login:hover {
  color: #fff;
  background-color: #444;
}

.header-cta-pwa-login:focus {
  color: #fff;
  background-color: #444;
}

a.header-subcta {
  position: relative;
  display: inline-flex;
  padding: 0.4rem 1rem;
  background: transparent;
  color: #000;
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
  border: none;
}

a.header-subcta::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60%;
  height: 2px;
  background-color: #000;
  transition: all 0.3s ease;
  color: #777;
}

a.header-subcta:hover::after {
  left: 0%;
  width: 100%;
  color: #777;
}

.bubble-wrapper {
  position: relative;
  width: 100%;
  height: 220px;
  background: transparent;
  color: #000;
}

.bubble {
  position: absolute;
  max-width: 250px;
  padding: 1rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Roboto", "Segoe UI", sans-serif;
  font-size: 0.95rem;
  color: #333;
}

.top-left {
  top: 30px;
  left: 20px;
}

.bottom-right {
  bottom: 30px;
  right: 20px;
}

.header-sizer {
  padding-top: 1.5rem;
}

@media screen and (max-width: 789px) {
  .bubble-wrapper {
    position: relative;
    width: 100%;
    height: 140px;
    background: transparent;
  }

  .bubble {
    position: absolute;
    display: none;
    max-width: 150px;
    padding: 1rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Roboto", "Segoe UI", sans-serif;
    font-size: 0.5rem;
    color: #333;
  }

  .top-left {
    top: 30px;
    left: 20px;
  }

  .bottom-right {
    bottom: 30px;
    right: 20px;
  }

  .top-left,
  .bottom-right {
    display: none !important;
  }

  .header-sizer {
    padding-top: 0rem;
  }
}

.date-grid {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 40px 0;
}

.date-box {
  width: 150px;
  height: 150px;
  background-color: #f2f2f2;
  text-align: center;
  border-radius: 12px;
  position: relative;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Roboto", "Segoe UI", sans-serif;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.date-box .month {
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  color: #777;
  margin-bottom: 4px;
}

.date-box .day {
  font-size: 48px;
  font-weight: 700;
  color: #222;
}

.date-box.today {
  background-color: #F5EB29;
  border: 2px solid #F5EB29;
}

.date-box.yesterday {
  background-color: #ACF7F0;
  border: 2px solid #ACF7F0;
}

.date-box.tomorrow {
  background-color: #6FF7EB;
  border: 2px solid #6FF7EB;
}

@keyframes locFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes locFadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}

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

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

/* Csak a helymeghatározó modál elemeinél */
#locationModal.loc-anim-in .modal-background {
  animation: locFadeIn 0.2s forwards;
}
#locationModal.loc-anim-in .modal-content {
  animation: locSlideUp 0.2s forwards;
}

#locationModal.loc-anim-out .modal-background {
  animation: locFadeOut 0.2s forwards;
}
#locationModal.loc-anim-out .modal-content {
  animation: locSlideDown 0.2s forwards;
}

#drop-zone {
  border: 2px dashed #ccc;
  border-radius: 8px;
  padding: 2rem;
  transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out;
}

#drop-zone:hover {
  border-color: #00d1b2;
  background-color: #f0fdf8;
}

#drop-zone.has-background-light {
  background-color: #f5f5f5;
}

#drop-zone p {
  font-size: 1rem;
  color: #777;
}

#image-preview img {
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  max-height: 128px;
  object-fit: cover;
}

.image-preview-container {
  position: relative;
  display: inline-block;
}

.image-preview-container img {
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  max-height: 128px;
  object-fit: cover;
}

.delete-image-button {
  position: absolute;
  top: -10px;
  right: -10px;
  background: #ff3860;
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 0.9rem;
  width: 24px;
  height: 24px;
  cursor: pointer;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}

.join-us-main {
  display: flex;
  justify-content: center;
  position: relative;
  width: max-content;
  min-height: 280px;
}


.join-us-main .ju-img1 {
  width: 300px;
  height: auto;
  display: block;
}

.join-us-main .ju-img2 {
  width: 330px;
  height: auto;
  display: block;
}

.join-us-main .ju-img2 {
  position: absolute;
  top: 130px;
  left: 130px;
  z-index: 1;
}

@media screen and (max-width: 789px) {
  .join-us-main {
    position: relative;
    width: max-content;
    min-height: 240px;
  }


  .join-us-main .ju-img1 {
    width: 220px;
    height: auto;
    display: block;
  }

  .join-us-main .ju-img2 {
    width: 260px;
    height: auto;
    display: block;
  }

  .join-us-main .ju-img2 {
    position: absolute;
    top: 90px;
    left: 90px;
    z-index: 1;
  }
}

.cookie-box {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  max-width: 449px;
  z-index: 9999;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  margin: 1rem;
}

.button-mobile {
  display: flex;
  width: auto;
}

@media screen and (max-width: 789px) {
  .button-mobile:first-child {
    display: flex;
    width: 100%;
    margin-right: 0 !important;
  }
  .button-mobile:last-child {
    display: flex;
    width: 100%;
    margin-right: 0 !important;
  }

  .cookie-box {
    position: fixed;
    bottom: 0rem;
    right: 0rem;
    max-width: 449px;
    z-index: 9999;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    margin: 0;
  }
}

.token-delete-confirm-overlay {
  position: fixed;
  inset: 0;
  background: rgba(255,255,255,.65);
  z-index: 400;
}

.token-delete-confirm-sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #000;
  color: #fff;
  z-index: 401;
  padding: 1.25rem 0;
  box-shadow: 0 -10px 30px rgba(0,0,0,.10);
  transform: translateY(100%);
  transition: transform .25s ease;
}

.token-delete-confirm-sheet .container {
  padding: 0 1.25rem;
}

.token-delete-confirm-sheet.token-active {
  transform: translateY(0);
}

.token-hidden {
  display: none !important;
}

.bb4-avatar{width:48px;height:48px;border-radius:50%;overflow:hidden;
  display:inline-flex;align-items:center;justify-content:center;background:#eee;}
.bb4-avatar__img{width:100%;height:100%;object-fit:cover;display:block;}
.bb4-avatar__ph{width:100%;height:100%;display:flex;align-items:center;justify-content:center;
  font-weight:700;line-height:1;color:#111;font-size:14px;}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;}

.slidecontainer {
  width: 100%;
}

.slider {
  -webkit-appearance: none;
  width: 100%;
  height: 25px;
  background: #d3d3d3;
  outline: none;
  opacity: 0.7;
  -webkit-transition: .2s;
  transition: opacity .2s;
}

.slider:hover {
  opacity: 1;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 25px;
  height: 25px;
  background: #04AA6D;
  cursor: pointer;
}

.slider::-moz-range-thumb {
  width: 25px;
  height: 25px;
  background: #04AA6D;
  cursor: pointer;
}

.bb4-lang-switch{position:relative;display:inline-block}
.bb4-lang-btn{
  display:inline-flex;align-items:center;gap:.4rem;
  background:#fff;border:0;border-radius:8px;padding:.35rem .5rem;
  box-shadow:0 1px 4px rgba(0,0,0,.08);cursor:pointer
}
.bb4-lang-btn:focus{outline:0px solid #3273dc33;outline-offset:2px;outline: 0;}
.bb4-chevron{width:16px;height:16px;transition:transform .15s ease;opacity:.7}
.bb4-lang-switch.is-open .bb4-chevron{transform:rotate(180deg)}
.bb4-lang-menu{
  position:absolute;top:calc(100% + .35rem);left:50%;transform:translateX(-50%);
  background:#fff;border-radius:8px;padding:.25rem .35rem;
  box-shadow:0 10px 24px rgba(0,0,0,.12),0 2px 6px rgba(0,0,0,.08);
  display:none;min-width:40px;z-index:40;
  outline: 0;
}
.bb4-lang-switch.is-open .bb4-lang-menu{display:flex;gap:.25rem}
.bb4-lang-item{
  display:inline-flex;align-items:center;justify-content:center;
  width:45px;height:25px;border-radius:8px;text-decoration:none;background:#fff
}
.bb4-lang-item:focus{outline:0px}
.bb4-lang-item img{display:block;border-radius:0%}

.page-content ul { list-style: disc; margin-left: 1.5rem; }
.page-content ol { list-style: decimal; margin-left: 1.5rem; }
.page-content p  { margin: 0 0 1em; }
.page-content h2, .page-content h3, .page-content h4 { margin-top: 1.25em; }

.page-content.content {
  max-height: none !important;
  overflow: visible !important;
  background: transparent;
  border-radius: 0;
  margin-bottom: 0;
  padding: 0;
}

.product-list-style ul,
.product-list-style ol {
  margin-left: 1.5rem;
  list-style: disc;
}

.product-list-style ol {
  list-style: decimal;
}

/* ===== Skeleton a products-grid-hez ===== */

.products-grid.is-skeleton .products-item {
  pointer-events: none;
}

.skeleton-card {
  position: relative;
  overflow: hidden;
}

/* Alap "szürke doboz" */
.skeleton-box,
.skeleton-line {
  position: relative;
  border-radius: 0.5rem;
  background: #f2f2f2;
  overflow: hidden;
}

/* Shimmer animáció */
.skeleton-box::before,
.skeleton-line::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0.7),
    rgba(255, 255, 255, 0)
  );
  animation: skeleton-shimmer 1.2s infinite;
}

@keyframes skeleton-shimmer {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* Konkrét méretek */

.skeleton-tag {
  width: 60px;
  height: 20px;
}

.skeleton-image {
  width: 100%;
  aspect-ratio: 1 / 1; /* kb. négyzetes képkártya */
  margin-bottom: 0.75rem;
}

.skeleton-line {
  height: 12px;
  margin-bottom: 0.4rem;
}

.skeleton-line-lg {
  width: 80%;
}

.skeleton-line-sm {
  width: 60%;
}

.skeleton-line-xs {
  width: 40%;
}

.skeleton-shop-image {
  width: 100%;
  height: 109px;
  margin-bottom: 0.75rem;
}

/* Shop oldal – kategória gombsor saját osztályokkal */

/* Mobil-first: vízszintes scroll, egy sorban */
.shop-cat-scroll-wrapper {
  overflow-x: auto;
}

.shop-cat-scroll-container {
  width: 100%;
}

.shop-cat-buttons {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.5rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  white-space: nowrap;
  padding-bottom: 1rem;
  padding-left: 1.0rem;
  padding-right: 1.0rem;
}

.shop-cat-buttons .tag {
  flex: 0 0 auto;
  white-space: nowrap;
}

/* Desktop: ne görgessen, törjön új sorba */
@media (min-width: 769px) {
  .shop-cat-scroll-wrapper {
    overflow-x: visible;
  }

  .shop-cat-buttons {
    flex-wrap: wrap;       /* több sor */
    overflow-x: visible;   /* nincs vízszintes scroll */
    white-space: normal;   /* szabadon törhet a szöveg is, ha hosszú */
    padding-bottom: 1rem;
    padding-left: 1.0rem;
    padding-right: 1.0rem;

  }

  .shop-cat-buttons .tag {
    margin-bottom: 0rem; /* kis függőleges térköz a sorok között */
  }
}

.precise-location {
  display: block;
}

/* A változó animálásához kell (Chrome/Edge/Firefox újabbak támogatják) */
@property --border-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

/* Maga az alert box */
.product-views-alert {
  --border-angle: 0deg;
  --pva-bg: #FF5729;         /* belső háttérszín */
  --pva-border-color: #FF5729; /* border "fénycsík" színe (Bulma danger) */
  border: 0.35rem solid transparent; /* vastagabb border, hogy látszódjon */

  /* 1. réteg: sima fehér box (padding-box)
     2. réteg: conic-gradient, ami a border-box területre rajzol */
  background:
    linear-gradient(var(--pva-bg), var(--pva-bg)) padding-box,
    conic-gradient(
      from var(--border-angle),
      var(--pva-border-color) 100deg 100deg, /* ennyi hosszú legyen a színes szakasz */
      transparent 220deg 260deg           /* a maradék legyen átlátszó */
    )
    border-box;

  animation: product-views-border-rotate 3s linear infinite;
}

/* Forgatás – óramutató járásával megegyezően */
@keyframes product-views-border-rotate {
  from {
    --border-angle: 0deg;
  }
  to {
    --border-angle: 360deg;
  }
}

/* BESTB4 – animált collapsible wrapper a login formhoz */
.bb4-collapsible {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition:
    max-height 0.25s ease,
    opacity 0.25s ease;
}

/* amikor nyitva van */
.bb4-collapsible.is-open {
  opacity: 1;
}

.has-background-white-nav {
  background-color: #f8f8f8 !important;
}

.scroll-fade{
  opacity: 0;
  transform: translateY(0px);
  will-change: opacity, transform;
  pointer-events: none;
}

/* aki nem bírja a motiont, annak se ugráljunk */
@media (prefers-reduced-motion: reduce){
  .scroll-fade{ transform: none; }
}

.bb4-tabs { width: 100%; padding: 0; margin: 0}

/* TAB BAR */
.bb4-tabs__bar{
  position: relative;
  display: flex;
  gap: 10px;
  border-bottom: 3px solid rgba(0,0,0,.05);
  padding-bottom: 6px;
}

.bb4-tab{
  appearance: none;
  border: 0;
  background: transparent;
  padding: 10px 6px;
  font: inherit;
  cursor: pointer;
  opacity: .72;
  transition: opacity 140ms ease;
  margin-top: 1rem;
}

.bb4-tab.is-active{ opacity: 1; }

/* AZ "ÁTCSÚSZÓ" FEKETE CSÍK */
.bb4-tab-indicator{
  position: absolute;
  left: 0;
  bottom: -3px;
  height: 3px;
  width: 40px;
  background: #000;
  border-radius: 999px;
  transform: translateX(0);
  transition: transform 220ms ease, width 220ms ease;
  will-change: transform, width;
}

/* PANE CONTAINER */
.bb4-tabs__panes{
  position: relative;
  overflow: hidden;
  padding-top: 12px;
  min-height: 420px; /* hogy ne ugráljon, ha egyik rövidebb */
}

/* PANE */
.bb4-pane{
  position: absolute;
  inset: 12px 0 0 0; /* felül legyen egy kis levegő */
  opacity: 0;
  transform: translateX(0);
  pointer-events: none;
}

/* alap állapot: az aktív látszik */
.bb4-pane.is-active{
  position: relative;
  inset: auto;
  opacity: 1;
  pointer-events: auto;
}

/* animációk */
.bb4-pane.is-animating{
  position: absolute;
  inset: 12px 0 0 0;
}

.bb4-pane.enter-from-right{
  opacity: 1;
  transform: translateX(100%);
}
.bb4-pane.enter-to-center{
  opacity: 1;
  transform: translateX(0);
  transition: transform 240ms ease, opacity 240ms ease;
}

.bb4-pane.exit-to-left{
  opacity: 1;
  transform: translateX(0);
  transition: transform 240ms ease, opacity 240ms ease;
}
.bb4-pane.exit-to-left.is-leaving{
  transform: translateX(-100%);
  opacity: 0;
}

.twa-welcome-size-1 {
  font-size: 2.6rem;
}

.twa-welcome-size-2 {
  font-size: 1.5rem;
}

/* Fő konténer */
.twa-welcome-container {
  display: flex;
  flex-direction: column;
  /* Fontos: min-height a sima height helyett, hogy ne vágja le a tetejét */
  min-height: 100vh;
  /* Modern böngészőkhöz, hogy a mobil címsor ne zavarjon be */
  min-height: 100dvh;
  margin: 0;
}

/* Felső rész */
.twa-content-section {
  flex: 1 0 auto; /* Engedjük, hogy nőjön, de ne menjen az alapméret alá */
  display: flex;
  flex-direction: column;
  padding: 20px;
  /* Itt vesszük ki a fix középre igazítást, ha túl sok a tartalom */
  justify-content: flex-start;
}

/* A kép trükkje */
.twa-hero-image {
  width: 100%;
  max-width: 299px; /* Vagy amennyit jónak látsz */
  height: auto;
  /* Ez a kulcs: kisebb képernyőn a kép zsugorodjon először */
  max-height: 25vh;
  object-fit: contain;
  margin: 0.5rem auto;
}

/* Alsó gombos rész */
.twa-action-bar {
  flex-shrink: 0; /* Tiltjuk meg neki, hogy összenyomódjon */
  padding: 20px;
  background-color: white; /* Vagy az app háttere */
  position: sticky;
  bottom: 0;
  width: 100%;
  box-shadow: 0 -5px 15px rgba(0,0,0,0.05); /* Egy kis árnyék, hogy elváljon */
  z-index: 10;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
}

@media screen and (max-width: 768px) {
  .twa-welcome-size-1 {
    font-size: 2.8rem;
    line-height: 48px;
  }

  .twa-welcome-size-2 {
    font-size: 1.1rem;
  }
}

.shop-header-rounded {
  height: 0;
  display: none;
}

@media (display-mode: standalone), (display-mode: fullscreen) {
  html, body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Roboto", "Segoe UI", sans-serif;
    background-color: #fff; /* app background */
  }

  .shop-header-rounded {
    height: 16px;
    display: block;
    background-color: #fff;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
  }

  .border-switch {
    border-width: 1px;
    border-color: #EEEEEE;
    border-style: solid;
  }

  .is-family-outfit {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Roboto", "Segoe UI", sans-serif;
    letter-spacing: 0px;
  }
  .has-text-weight-normal {
    font-weight: 500 !important;
  }

  .has-text-weight-bold {
    font-weight: 800 !important;
  }
  .is-size-0 {
    font-size: 2.0rem !important;
  }

  .is-size-1 {
    font-size: 1.9rem !important;
  }

  .is-size-2 {
    font-size: 1.7rem !important;
  }

  .is-size-3 {
    font-size: 28px !important;
  }

  .is-size-4 {
    font-size: 22px !important;
  }

  .is-size-5 {
    font-size: 1.1rem !important;
  }

  .is-size-6 {
    font-size: 14px !important;
  }

  .is-size-7 {
    font-size: 12px !important;
  }

  /* Alapértelmezett stílus (asztali nézet) */
  .custom-products-buttons {
      display: flex;
      flex-wrap: wrap; /* Oszlopba törés asztali nézetben */
      gap: 0.5rem;
      margin-bottom: 0rem;
      padding-left: 1.5rem;
      justify-content: flex-start;
  }

  /* Egyedi tag osztályok */
  .custom-products-buttons .custom-tag {
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    cursor: pointer;
    white-space: nowrap;
    background-color: #f9f9f9;
    border: 0px solid #e0e0e0;
    color: #000;
    transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  }

  /* Hover effektus */
  .custom-products-buttons .custom-tag:hover {
      background-color: #f0f0f0;
      color: #000;
  }

  /* Aktív osztály */
  .custom-products-buttons .custom-tag.active {
      background-color: #071F32;
      color: #fff; /* Tetszés szerint megváltoztathatod a szöveg színét is */
      border-color: transparent;
  }


  /* Mobil nézet: vízszintes görgetés */
  @media screen and (max-width: 768px) {
      .custom-products-buttons {
          display: flex;
          flex-wrap: nowrap; /* Egy sorban tartja az elemeket */
          overflow-x: auto; /* Görgetés engedélyezése vízszintesen */
          white-space: nowrap;
          gap: 0.5rem;
          padding-left: 1rem;
          padding-right: 1rem;
          -ms-overflow-style: none; /* Internet Explorer és Edge scrollbar eltüntetés */
          scrollbar-width: none; /* Firefox scrollbar eltüntetés */
      }

      .custom-products-buttons::-webkit-scrollbar {
          display: none; /* Görgetősáv eltüntetése Chrome/Safari */
      }

      .custom-products-buttons .custom-tag {
          flex-shrink: 0; /* Az elemek ne zsugorodjanak össze */
      }
  }

  /* Alapértelmezett stílus (asztali nézet) */
  .shop-category-buttons {
      display: flex;
      flex-wrap: wrap; /* Oszlopba törés asztali nézetben */
      gap: 0.5rem;
      margin-bottom: 1rem;
      padding-left: 1.5rem;
      justify-content: flex-start;
  }

  /* Egyedi kategóriagombok */
  .shop-category-buttons .shop-category {
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    cursor: pointer;
    white-space: nowrap;
    background-color: #f9f9f9;
    border: 0px solid #e0e0e0;
    color: #000;
    transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  }

  .shop-category-buttons .shop-category {
  appearance: none;
  -webkit-appearance: none;

  border: 0;
  background-color: #f9f9f9;

  font: inherit;
  font-size: 0.9rem;
  line-height: 1;          /* EZ A KULCS */

  padding: 0.5rem 1rem;
  margin: 0;

  display: inline-flex;   /* még stabilabb */
  align-items: center;    /* vertikális közép */
}
.shop-category-buttons .shop-category {
  box-sizing: border-box;
  vertical-align: middle;
}


  /* Hover effektus */
  .shop-category-buttons .shop-category:hover {
      background-color: #f9f9f9;
      color: #000;
  }

  /* Aktív osztály */
  .shop-category-buttons .shop-category.is-active {
      background-color: #071F32;
      color: #fff; /* Tetszés szerint megváltoztathatod a szöveg színét is */
      border-color: transparent;
  }

  .has-background-white-nav {
    background-color: #f9f9f9 !important;
  }

  /* Mobil nézet: vízszintes görgetés */
  @media screen and (max-width: 768px) {
      .shop-category-buttons {
          display: flex;
          flex-wrap: nowrap; /* Egy sorban tartja az elemeket */
          overflow-x: auto; /* Görgetés engedélyezése vízszintesen */
          white-space: nowrap;
          gap: 0.5rem;
          padding-left: 1rem;
          padding-right: 1rem;
          -ms-overflow-style: none; /* Internet Explorer és Edge scrollbar eltüntetés */
          scrollbar-width: none; /* Firefox scrollbar eltüntetés */
      }

      .shop-category-buttons::-webkit-scrollbar {
          display: none; /* Görgetősáv eltüntetése Chrome/Safari */
      }

      .shop-category-buttons .shop-category {
          flex-shrink: 0; /* Az elemek ne zsugorodjanak össze */
      }
  }

  .followed-shops-list {
    transform: scale(1);
    transition: 80ms;
  }

  .followed-shops-list:hover {
    transform: scale(0.98);
    transition: 80ms;
  }

  .shop-card, .product-card, .category-card, .category-card {
    transform: scale(1);
    transition: 200ms ease-in-out;
  }

  .shop-card:hover, .product-card:hover, .product-card:hover, .category-card:hover {
    transform: scale(0.98);
    transition: 200ms ease-in-out;
  }

  /* Alap modal wrapper – default: rejtve */
  .twa-reserve-modal {
    position: fixed;
    inset: 0;
    z-index: 60;

    display: flex;
    align-items: flex-end;      /* ⬅ eddig center volt */
    justify-content: center;    /* maradhat center, csak lent legyen */

    opacity: 0;
    pointer-events: none;
    transition: opacity 160ms ease-out;
  }

  /* Aktív állapot */
  .twa-reserve-modal.is-active {
    opacity: 1;
    pointer-events: auto;
  }

  /* Háttér overlay */
  .twa-reserve-modal-bg {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.7);
  }

  /* Tartalom doboz */
  .twa-reserve-modal-content {
    position: relative;
    z-index: 1;

    width: 100%;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.1);
    background: #ffffff;
    padding: 1.25rem 1.5rem 1.25rem;

    /* induljon kicsit lejjebb (kvázi "lentebbről") */
    transform: translateY(24px);
    transition:
      transform 160ms ease-out,
      opacity 160ms ease-out;
    opacity: 0;

    padding-bottom: max(1.25rem, env(safe-area-inset-bottom));
  }

  .twa-reserve-modal.is-active .twa-reserve-modal-content {
    opacity: 1;
    transform: translateY(0);
  }

  .twa-reserve-modal.is-active .twa-reserve-modal-content {
    opacity: 1;
    transform: translateY(0);
  }

  .twa-reserve-modal-title {
    margin: 0 0 0.5rem;
    font-size: 1.15rem;
    font-weight: 700;
  }

  .twa-reserve-modal-body {
    margin: 0 0 1.25rem;
    font-size: 0.95rem;
  }

  .twa-reserve-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
  }

  .twa-reserve-modal-close {
    position: absolute;
    top: 0.5rem;
    right: 0.75rem;
    border: none;
    background: transparent;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    padding: 0;
  }

/* --- Pseudo-elemek stabil háttér + kompozit (maradhat, amit használsz) --- */
::view-transition-old(root),
::view-transition-new(root) {
  background: #fff;
  backface-visibility: hidden;
  will-change: transform, opacity, filter;
}

/* ====== FORWARD (push) ======
   - régi oldal: kicsit zsugorodik + halványul
   - új oldal: jobbról becsúszik
*/
html[data-view-type="slide"]:not(.is-back)::view-transition-old(root) {
  transform-origin: 100% 50%;
  animation:
    0.35s cubic-bezier(0.4, 0, 0.2, 1) both shrink-away;
}

html[data-view-type="slide"]:not(.is-back)::view-transition-new(root) {
  animation:
    0.35s cubic-bezier(0.2, 0.9, 0.2, 1) both slide-in-from-right;
  z-index: 2;
}

/* ====== BACK (pop) ======
   - régi oldal: kimegy jobbra
   - új oldal: “visszanő” (grow) enyhe fade-del
*/
html.is-back::view-transition-old(root) {
  animation:
    0.33s cubic-bezier(0.4, 0, 0.2, 1) both slide-out-to-right;
  z-index: 10;
  background: #fff;
  mix-blend-mode: normal;
}

html.is-back::view-transition-new(root) {
  transform-origin: 100% 50%;
  animation:
    0.33s cubic-bezier(0.4, 0, 0.2, 1) both grow-in;
  z-index: 1;
}

.bb4-bottom-nav {
  view-transition-name: footer-fix;
}

/* ====== Keyframes (shrink/grow + slide) ====== */
@keyframes shrink-away {
  to {
    transform: scale(0.95);
    opacity: 0.70;
    filter: brightness(1);
  }
}

@keyframes grow-in {
  from {
    transform: scale(0.95);
    opacity: 0.70;
    filter: brightness(1);
  }
  to {
    transform: scale(1);
    opacity: 1;
    filter: brightness(1);
  }
}

@keyframes slide-in-from-right {
  from {
    transform: translateX(100vw);
  }
  to {
    transform: translateX(0);
  }
}

@keyframes slide-out-to-right {
  to {
    transform: translateX(100vw);
  }
}

/* ====== Dark mode háttér fix (maradhat) ====== */
@media (prefers-color-scheme: dark) {
  html, body { background: #121212; }
  ::view-transition-old(root),
  ::view-transition-new(root) { background: #121212; }
  html.is-back::view-transition-old(root) { background: #121212; }
}

/* ====== Reduced motion: csak fade ====== */
@media (prefers-reduced-motion: reduce) {
  html[data-view-type="slide"]::view-transition-old(root),
  html[data-view-type="slide"]::view-transition-new(root),
  html.is-back::view-transition-old(root),
  html.is-back::view-transition-new(root) {
    animation: 0.2s ease-in-out both fade-transition !important;
    transform: none !important;
    filter: none !important;
  }
  @keyframes fade-transition {
    from { opacity: 0; }
    to   { opacity: 1; }
  }
}

.profile-link {
  scale: 1;
  transition: 0.2s ease-out;
  opacity: 1;
}

.profile-link:hover {
  scale: 0.97;
  transition: 0.2s ease-out;
  opacity: 0.7;
}

/* ===== Language radio group ===== */

.lang-radio-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* natív radio elrejtése, de marad focusolható */
.lang-radio-group input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* a "kártya" */
.lang-radio {
  display: flex;
  align-items: center;
  gap: 14px;

  padding: 16px 18px;
  border-radius: 14px;

  border: 2px solid #000;
  background: #fff;

  cursor: pointer;
  transition: all .18s ease;

  font-family: inherit;
}

/* hover */
.lang-radio:hover {
  border-color: #000;
}

/* a kör */
.lang-radio-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;

  border: 2px solid #000;
  display: flex;
  align-items: center;
  justify-content: center;

  flex-shrink: 0;
}

/* belső pötty (default rejtve) */
.lang-radio-dot::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #4a90e2;
  transform: scale(0);
  transition: transform .15s ease;
}

/* szöveg */
.lang-radio-text {
  font-size: 1rem;
  font-weight: 600;
  color: #000;
}

/* ===== CHECKED STATE ===== */

.lang-radio-group input[type="radio"]:checked + .lang-radio {
  background: #F5EB29;
  border-color: #F5EB29;
}

.lang-radio-group input[type="radio"]:checked + .lang-radio
.lang-radio-text {
  color: #000;
}

.lang-radio-group input[type="radio"]:checked + .lang-radio
.lang-radio-dot {
  border-color: #000;
}

.lang-radio-group input[type="radio"]:checked + .lang-radio
.lang-radio-dot::after {
  background: #000;
  transform: scale(1);
}

/* keyboard focus */
.lang-radio-group input[type="radio"]:focus-visible + .lang-radio {
  outline: 2px solid rgba(74,144,226,.35);
  outline-offset: 1px;
}

/* Shopping list item collapse anim */
.shopping-item {
  overflow: hidden; /* hogy a csukásnál ne lógjon ki semmi */
}

/* 1) kicsi “fade/slide” + 2) magasság összecsukás */
.shopping-item.is-collapsing {
  opacity: 0;
  transform: translateX(8px);
  height: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  border-width: 0 !important;
}

/* ====== Kiegészítő list/grid "fading" osztályok ====== */
#product-grid,
#shop-list {
  transition: opacity 160ms ease;
}

#product-grid.is-fading-out,
#shop-list.is-fading-out {
  opacity: 0.15;
}

#product-grid.is-fading-in,
#shop-list.is-fading-in {
  opacity: 1;
}

.search-top-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 0.75rem;
  align-items: center;
}

.search-field-main {
  min-width: 0;
}

.search-submit-btn,
.search-filter-toggle {
  white-space: nowrap;
}

.search-filter-toggle.is-active {
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.06);
}

.search-filter-panel {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 18px;
  padding: 1rem;
  background: #fff;
}

.search-filter-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.search-recent-wrap {
  border-radius: 16px;
  padding: 0.75rem;
  background: rgba(0, 0, 0, 0.025);
}

.search-recent-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.search-recent-chip {
  max-width: 100%;
}

.search-products-grid.is-loading {
  opacity: 0.65;
  pointer-events: none;
}

#search-summary {
  min-height: 1.25rem;
}

@media (max-width: 900px) {
  .search-top-row {
    grid-template-columns: 1fr;
  }

  .search-submit-btn,
  .search-filter-toggle {
    width: 100%;
  }

  .search-filter-grid {
    grid-template-columns: 1fr;
  }
}