* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  overflow: hidden;
  font-family: sans-serif;
  background: #f4f4f4;
}

/* ===== Desktop Slider Layout ===== */
.scroller-container {
  display: flex;
  align-items: center;
  width: 100vw;
  height: 100vh;
  position: relative;
  overflow: hidden;
}

.scroller {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  height: 100%;
  padding: 0 50px;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  align-items: center;
  scroll-padding-inline: 50px;
}

.menu-card {
  flex: 0 0 auto;
  scroll-snap-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.menu-card img {
  height: 100vh;
  width: auto;
  max-width: 100vw;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background-color: rgba(255, 255, 255, 0.9);
  border: none;
  font-size: 2.2rem;
  padding: 10px;
  cursor: pointer;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.scroll-btn.left {
  left: 10px;
}

.scroll-btn.right {
  right: 10px;
}

/* ===== Mobile Vertical Stack ===== */
.stacked-container {
  display: none;
  flex-direction: column;
  gap: 10px;
  padding: 10px;
  overflow-y: auto;
  height: 100vh;
}

.stacked-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* ===== Responsive Switch ===== */
@media (max-width: 767px) {
  .scroller-container {
    display: none;
  }

  .stacked-container {
    display: flex;
  }

  html, body {
    overflow: auto;
  }
}