/* Danzante menu v10 — cocktail photography framing pass.
   Goal: preserve the actual glass silhouette and garnish using only real restaurant photos. */

/* Shared treatment for vertical cocktail photos placed inside wide cards.
   The same real photo is used as a soft backdrop while the foreground keeps the full glass visible. */
.menu-v10-drink-media,
.menu-v10-drink-hero {
  position: relative;
  isolation: isolate;
  background: #210934;
}

.menu-v10-drink-media::before,
.menu-v10-drink-hero::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: -18px;
  background-image: linear-gradient(rgba(28, 5, 44, .28), rgba(28, 5, 44, .5)), var(--drink-photo);
  background-size: cover;
  background-position: center;
  filter: blur(13px) saturate(.9) brightness(.72);
  transform: scale(1.1);
  pointer-events: none;
}

.menu-v10-drink-media::after,
.menu-v10-drink-hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  background: linear-gradient(90deg, rgba(38, 1, 63, .16), rgba(255,255,255,.015) 50%, rgba(38, 1, 63, .16));
  pointer-events: none;
}

.menu-v10-drink-media > img,
.menu-v10-drink-hero > img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  object-position: center center !important;
  padding: 7px 10px;
  transform: none !important;
  filter: drop-shadow(0 9px 12px rgba(0,0,0,.22));
}

.menu-v10-drink-media .menu-v3-badges,
.menu-v10-drink-hero figcaption {
  z-index: 3;
}

/* Never zoom portrait drinks on hover: cropping the rim/base hurts presentation. */
.menu-v10-drink-card:hover .menu-v10-drink-media > img,
.menu-v10-drink-hero:hover > img {
  transform: none !important;
}

/* Hero cocktail: preserve the full signature glass instead of treating it like a landscape food shot. */
.menu-v10-drink-hero > img {
  padding: 5px 8px 38px;
}

/* Popular Picks stays visually aligned with the food cards while giving the portrait drink more breathing room. */
.menu-v4-featured .menu-v10-drink-media {
  aspect-ratio: 4 / 3;
}

/* Dedicated cocktail gallery: portrait imagery is part of the product presentation. */
#cocktails .menu-v10-drink-media {
  aspect-ratio: 4 / 5;
  min-height: 0;
}
#cocktails .menu-v10-drink-media > img {
  padding: 10px 14px;
}

/* On phones, drinks become a swipeable portrait gallery rather than cramped horizontal food cards. */
@media (max-width: 767px) {
  #cocktails .menu-v8-five-grid {
    display: flex !important;
    grid-template-columns: none !important;
    gap: 13px;
    overflow-x: auto;
    padding: 2px 20px 13px 0;
    margin-right: -15px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  #cocktails .menu-v8-five-grid::-webkit-scrollbar { display: none; }
  #cocktails .menu-v10-drink-card {
    display: flex !important;
    flex-direction: column;
    grid-template-columns: none !important;
    flex: 0 0 min(72vw, 290px);
    min-height: 0 !important;
    scroll-snap-align: start;
  }
  #cocktails .menu-v10-drink-media {
    width: 100%;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 4 / 5 !important;
  }
  #cocktails .menu-v10-drink-card .menu-v3-card-body {
    padding: 13px 14px 15px;
  }
  #cocktails .menu-v10-drink-card p {
    -webkit-line-clamp: 4;
  }

  .menu-v4-featured .menu-v10-drink-media {
    aspect-ratio: 4 / 3 !important;
  }
}

@media (max-width: 430px) {
  #cocktails .menu-v10-drink-card {
    flex-basis: min(76vw, 285px);
  }
}
