/* =====Page-scoped CSS (move to /css/pages/menu.css αν θέλεις)===== */
:root {
  --ink: #141515;
  --petrol: #1a6a68;
  --cream: #fff8f2;
  --muted: #6a6a6a;
  --line: #e6e6e6;
  --card: #ffffff;
  --accent-1: #df763f;
  /* breakfast/brunch */
  --accent-2: #269594;
  /* lunch */
  --price: #a8842a;
  --scroll-bg: #2b2b2b;
  --scroll-fg: #ffffff;
  --category: #1a6a68;
}

/* Grid */
.mycols {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width:992px) {
  .mycols {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width:1400px) {
  .mycols {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Premium cards */
.mnu-item {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid #d8d8d8;
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, .08);
  transition: transform .25s, box-shadow .25s, border-color .25s;
  display: flex;
  flex-direction: column;
  height: 100%;
  text-align: center;
}

.mnu-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, .12);
  border-color: #cfcfcf;
}

/* Περιεχόμενο */
.mnu-content {
  order: 1;
  flex: 1 1 auto;
  padding: 10px 0 0;
  display: flex;
  flex-direction: column;
}

.mnu-content h5:not(.hm_price) {
  margin: 0 0 6px;
  font-weight: 600;
  letter-spacing: .2px;
  min-height: 2.8em;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.hm_content {
  color: #6a6a6a;
  font-size: .95rem;
  line-height: 1.4;
  flex: 1 1 auto;
}

.hm_price {
  margin-top: 12px;
  margin-bottom: 0;
  font-weight: 700;
  color: var(--price);
  font-size: 1.05rem;
}

/* Εικόνα με σωστό crop και κέντρο */
.mnu-image {
  order: 2;
  width: 100%;
  margin-top: auto;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 4/3;
  flex-shrink: 0;
}

.mnu-image a {
  display: block;
  width: 100%;
  height: 100%;
}

.mnu-image img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover;
  object-position: center;
  display: block;
}

.empty-image {
  background: rgba(0, 0, 0, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
}

.empty-image img {
  width: 40% !important;
  height: auto !important;
  object-fit: contain;
  opacity: 0.15;
}

/* Τίτλοι κατηγοριών */
.menu-section h2,
.menu-section h3,
.menu-section h4 {
  color: var(--category);
  font-weight: 600;
  text-align: center;
  margin: 0 0 .5rem;
}

.menu-section {
  padding-top: 30px;
  scroll-margin-top: calc(var(--header-offset, 88px) + 10px);
}

html {
  scroll-padding-top: calc(var(--header-offset, 88px) + 10px);
}

/* Scrollmenu πάντα ορατό και sticky κάτω από το header */
#scrollmenu {
  position: sticky;
  top: var(--header-offset, 88px);
  z-index: 8000;
  display: block;
  background: var(--cream);
  overflow: auto;
  white-space: nowrap;
  border-bottom: 1px solid var(--line);
}

#scrollmenu a {
  position: relative;
  display: inline-block;
  color: var(--category);
  padding: 12px 14px;
  text-decoration: none;
  font-weight: 600;
}

#scrollmenu a.active {
  color: var(--category);
}

#scrollmenu a.active:after {
  position: absolute;
  content: "";
  left: 13px;
  right: 13px;
  bottom: 11px;
  border-bottom: 2px solid var(--category);
}

@media (max-width: 991px) {
  #scrollmenu {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--scroll-bg, #2b2b2b);
    /* ή ό,τι χρώμα θες */
    padding: 6px 2px;
  }
}


/* Χρωματικά accents */
.break_color {
  color: var(--accent-1);
}

.lunch_color {
  color: var(--accent-2);
}

#breakfast h5.hm_price {
  color: var(--accent-1) !important;
}

#lunch h5.hm_price {
  color: var(--accent-2) !important;
}

/* Modal εικόνας */
#img-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, .82);
}

#img-modal.open {
  display: flex;
}

#img-modal .modal-box {
  position: relative;
  max-width: 92vw;
  max-height: 92vh;
}

#img-modal img {
  display: block;
  max-width: 92vw;
  max-height: 92vh;
  object-fit: contain;
  background: #000;
  border-radius: 10px;
}

#img-modal button.close {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: #fff;
  color: #000;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .35);
}