/* ══════════════════════════════════════════════════════════════════
   MH-MODERN.CSS — Modern dish-card redesign
   Loaded after style.css on every page (via seo-head.php), so these
   rules take over the old flat card look without touching the HTML
   markup on 20+ menu pages. Uses the exact same DOM structure that's
   already on every page:

     <div class="oh-desktop">                     ← becomes the card
       <span class="button ... button-winona">     ← becomes floating price badge
       <article class="services-terri">            ← image
         <div class="services-terri-figure"><img></div>
       </article>
       <p>...</p>                                  ← becomes card body text
     </div>
   ══════════════════════════════════════════════════════════════════ */

/* Card container */
.row .oh-desktop {
  position: relative;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 3px 14px rgba(20,20,30,.08);
  transition: transform .28s cubic-bezier(.2,.8,.2,1), box-shadow .28s;
  margin-bottom: 26px;
  height: calc(100% - 26px);
  display: flex;
  flex-direction: column;
}
.row .oh-desktop:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(20,20,30,.16);
}

/* Image */
.row .oh-desktop .services-terri {
  text-align: left;
  margin: 0;
}
.row .oh-desktop .services-terri::before { display: none; } /* remove old flat tint overlay */
.row .oh-desktop .services-terri-figure {
  border-radius: 0;
  aspect-ratio: 4 / 3;
}
.row .oh-desktop .services-terri-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s cubic-bezier(.2,.8,.2,1);
}
.row .oh-desktop:hover .services-terri-figure img {
  transform: scale(1.08);
}

/* Price badge — floats over the top-left of the image (DOM order already
   places the <span> before the <article>, so this just repositions it) */
.row .oh-desktop > .button.button-winona {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 5;
  display: inline-block;
  background: rgba(20,20,30,.82);
  backdrop-filter: blur(3px);
  color: #fff !important;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .01em;
  padding: 7px 14px;
  border-radius: 30px;
  box-shadow: 0 4px 14px rgba(0,0,0,.18);
  text-transform: none;
  border: none;
  line-height: 1.35;
  max-width: calc(100% - 24px);
  white-space: normal;
}
.row .oh-desktop > .button.button-winona s {
  opacity: .65;
  margin-left: 4px;
  font-weight: 500;
}

/* Body text below the image */
.row .oh-desktop p {
  padding: 16px 18px 20px;
  margin: 0;
  font-size: .87rem;
  line-height: 1.55;
  color: #5b5b68;
  flex: 1;
}

/* Section heading polish (the "Starters Menu Near You" style headings) */
.section h4.oh-desktop,
h4.oh-desktop {
  background: none;
  box-shadow: none;
  border-radius: 0;
  height: auto;
  display: block;
  margin-bottom: 6px !important;
}
h4.oh-desktop span {
  font-size: 1.9rem;
  font-weight: 800;
  color: #1a1a2e;
  letter-spacing: -.01em;
}

/* ── Product / "Specials" carousel cards (top-selling widget) ── */
.product-card, .product {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 3px 14px rgba(20,20,30,.08);
  transition: transform .25s, box-shadow .25s;
}
.product-card:hover, .product:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 32px rgba(20,20,30,.14);
}
.product-price {
  font-weight: 800 !important;
  color: #d56b31 !important;
}
.product-title, .product-title a {
  font-weight: 700 !important;
}

/* Mobile tweaks */
@media (max-width: 767px) {
  .row .oh-desktop { margin-bottom: 20px; }
  .row .oh-desktop > .button.button-winona { font-size: .7rem; padding: 6px 12px; }
  h4.oh-desktop span { font-size: 1.5rem; }
}
