/* Menu Lady Lee - estilos del menú */

.menu-container {
  font-family: "Inter", sans-serif;
  color: #fff;
}

/* TOGGLE */
.sticky-toggle,
.menu-toggle.sticky {
  position: sticky;
  top: 0;
  z-index: 10;
  padding: 8px 0;
  background: none !important;
}

.menu-toggle {
  display: flex;
  gap: 4px;
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
}

.toggle-btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  cursor: pointer;
  background: #fff;
  color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
}

.toggle-btn.active {
  background: #000;
  color: #fff;
  border-color: #000;
}

.items-container {
  transition: opacity 0.2s ease, transform 0.2s ease;
  padding: 8px 0;
}

.items-container.is-transitioning {
  opacity: 0;
  transform: translateY(6px);
}

/* CATEGORY */
.categories-container {
  padding: 1rem 0 8px 0;
}

.category-block {
}

.category-title {
  font-size: 24px;
  font-weight: 500;
  cursor: pointer;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.32);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
}

.category-icon {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 12px;
  opacity: 0.7;
}

.category-icon.open {
  transform: rotate(180deg);
}

/* VIEWS */
.items-container.grid-view {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
}

.items-container.grid-view .menu-card {
  min-width: 0;
  overflow: hidden;
}

.items-container.list-view {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* CARD */
.menu-card {
  padding: 8px;
  border-radius: 8px;
  background: var(--ladylee-card-bg);
  opacity: 0;
  transform: translateY(10px);
  animation: menuFadeInUp 0.4s ease forwards;
}

.menu-card.list {
  display: flex;
}

.items-wrapper.open .menu-card:nth-child(1) { animation-delay: 0.05s; }
.items-wrapper.open .menu-card:nth-child(2) { animation-delay: 0.1s; }
.items-wrapper.open .menu-card:nth-child(3) { animation-delay: 0.15s; }
.items-wrapper.open .menu-card:nth-child(4) { animation-delay: 0.2s; }
.items-wrapper.open .menu-card:nth-child(5) { animation-delay: 0.25s; }
.items-wrapper.open .menu-card:nth-child(6) { animation-delay: 0.3s; }
.items-wrapper.open .menu-card:nth-child(7) { animation-delay: 0.35s; }
.items-wrapper.open .menu-card:nth-child(8) { animation-delay: 0.4s; }

@keyframes menuFadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.menu-image {
  width: 167px;
  height: 167px;
  object-fit: cover;
  border-radius: 12px;
}

.menu-card.grid .menu-image {
  width: 100%;
}

/* CONTENT */
.menu-content {
  padding: 8px;
}

.menu-title {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 0;
}

.menu-description {
  font-size: 13px;
  opacity: 0.6;
  margin-bottom: 12px;
  line-height: 1.4;
}

.menu-price {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.menu-price1,
.menu-price2 {
  display: flex;
  flex-direction: row;
  gap: 4px;
}

.price1-label,
.price2-label {
  display: flex;
  gap: 4px;
  opacity: 0.6;
}

.price1-number,
.price2-number {
  font-weight: 600;
}

/* ACCORDION */
.items-wrapper {
  padding: 0;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transform: translateY(-8px);
  transition:
    max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.35s ease,
    transform 0.35s ease;
}

.items-wrapper.open {
  max-height: 2000px;
  opacity: 1;
  transform: translateY(0);
}
