/* ══════════════════════════════════════════════════════════════════
   MH-MODERN.CSS — Modern dish-card redesign
   Loaded after style.css on every page (via seo-head.php).

   IMPORTANT SCOPING NOTE: "oh-desktop" and "services-terri" are GENERIC
   theme utility classes reused all over this site for unrelated things
   (homepage category icons, CTA banner headlines, section headings —
   not just dish cards). Targeting them directly broke those other
   sections. Every rule below is scoped with :has(> .button.button-winona)
   so it can ONLY ever match the specific dish-card pattern used on menu
   pages (a price-badge <span> immediately followed by a .services-terri
   image and a <p>) — never anything else that happens to share a class
   name.

     <div class="oh-desktop">                          ← card (only if it has the badge below as direct child)
       <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 — only divs that directly contain a price badge */
.row .oh-desktop:has(> .button.button-winona) {
  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:has(> .button.button-winona):hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(20,20,30,.16);
}

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

/* Price badge — floats over the top-left of the image */
.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 — only inside a card that has the price badge */
.row .oh-desktop:has(> .button.button-winona) > p {
  padding: 16px 18px 20px;
  margin: 0;
  font-size: .87rem;
  line-height: 1.55;
  color: #5b5b68;
  flex: 1;
}

/* Product / "Specials" carousel cards — .product is a unique class name, safe to target directly */
.product {
  border-radius: 16px;
  transition: transform .25s, box-shadow .25s;
}
.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:has(> .button.button-winona) { margin-bottom: 20px; }
  .row .oh-desktop > .button.button-winona { font-size: .7rem; padding: 6px 12px; }
}
