




.marketplace-card-image{position:relative;min-height:220px;overflow:hidden;background:var(--cream-2)}.marketplace-card-image img{display:block;width:100%;height:220px;object-fit:cover;transition:transform .25s ease}.seller-card:hover .marketplace-card-image img{transform:scale(1.025)}
.marketplace-status{display:inline-flex;align-items:center;gap:6px;border-radius: var(--eetza-pill-radius, 12px);padding:7px 10px;background:rgba(255,255,255,.92);border:1px solid var(--line);font-size:12px;font-weight:900}.marketplace-status::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--muted)}.marketplace-status.is-open::before{background:var(--sage)}.marketplace-status.is-closed::before{background:var(--orange-dark)}











.marketplace-menu-meta{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0}.marketplace-menu-meta span{font-size:12px;font-weight:800;padding:6px 9px;border:1px solid var(--line);border-radius: var(--eetza-pill-radius, 12px);background:#fff}.marketplace-menu-meta .is-unavailable{color:var(--orange-dark);background:#fff6f6}.marketplace-price-row{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}.marketplace-old-price{text-decoration:line-through;color:var(--muted);font-size:13px}



.marketplace-stock-note{font-size:12px;color:var(--muted)}








.marketplace-network-status{position:fixed;left:14px;right:14px;top:14px;z-index:200;padding:12px 16px;border-radius:16px;background:#2d241d;color:#fff;text-align:center;font-weight:800;box-shadow:var(--shadow)}.marketplace-install-button{position:fixed;right:16px;bottom:84px;z-index:90;border:0;border-radius: var(--eetza-pill-radius, 12px);padding:11px 16px;background:linear-gradient(135deg,var(--orange),var(--orange-dark));color:#fff;font-weight:900;box-shadow:0 12px 24px rgba(185,35,47,.28)}.marketplace-no-menu{padding:24px;text-align:center}
.marketplace-seller-hero-image{background-position:center;background-size:cover}



.marketplace-offline form[action="/cart.php"] button,.marketplace-offline form[action="/favorite.php"] button{opacity:.55}

@media(max-width:700px){





.marketplace-install-button{bottom:88px;left:16px;right:16px}.marketplace-card-image,.marketplace-card-image img{height:190px;min-height:190px}

}
@media(prefers-reduced-motion:reduce){.marketplace-card-image img{transition:none}.seller-card:hover .marketplace-card-image img{transform:none}}
.marketplace-order-card .marketplace-card-image img{object-position:center}

.marketplace-order-builder{width:100%;margin-top:4px}.marketplace-order-builder>summary{display:flex;align-items:center;justify-content:center;min-height:38px;padding:8px 12px;border:1px solid var(--orange);border-radius:11px;background:linear-gradient(135deg,var(--orange),var(--orange-dark));color:#fff;font-size:12px;font-weight:900;cursor:pointer;list-style:none}.marketplace-order-builder>summary::-webkit-details-marker{display:none}.marketplace-order-builder[open]>summary{border-bottom-left-radius:0;border-bottom-right-radius:0}.marketplace-order-form{display:grid;gap:10px;padding:10px;border:1px solid var(--line);border-top:0;border-radius:0 0 12px 12px;background:#fff}.marketplace-order-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.marketplace-order-form label,.marketplace-choice-fieldset legend{display:grid;gap:4px;color:var(--muted);font-size:11px;font-weight:850}.marketplace-order-form input,.marketplace-order-form textarea{box-sizing:border-box;width:100%;padding:7px 9px;border:1px solid var(--line);border-radius:9px;background:#fff;color:var(--ink);font:inherit;font-size:12px}
.marketplace-order-form textarea {
  min-height: 38px;
}
.marketplace-order-form input {
  min-height: var(--eetza-control-height-max,34px);
}.marketplace-choice-fieldset{margin:0;padding:0;border:0}.marketplace-choice-fieldset legend{display:flex;align-items:baseline;justify-content:space-between;width:100%;margin-bottom:6px;color:var(--ink)}.marketplace-choice-fieldset legend small{color:var(--muted);font-size:9px}.marketplace-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.marketplace-choice-grid label{display:flex;align-items:center;gap:7px;min-height:38px;padding:7px 8px;border:1px solid var(--line);border-radius: var(--eetza-pill-radius, 12px);background:#f8fcfe;color:var(--ink);font-size:11px}.marketplace-choice-grid input{flex:0 0 auto;width:16px;height:16px;min-height:0;padding:0;accent-color:var(--orange)}.marketplace-choice-grid span{display:flex;align-items:center;justify-content:space-between;gap:5px;width:100%}.marketplace-choice-grid small{color:var(--orange-dark);font-size:9px}.marketplace-instructions textarea{resize:vertical}.menu-card-footer .marketplace-order-builder{flex:1}
@media(max-width:700px){.marketplace-order-grid,.marketplace-choice-grid{grid-template-columns:1fr}.marketplace-order-form{padding:9px}.marketplace-order-builder>summary{min-height:36px}}
.marketplace-fixed-date{display:flex;align-items:center;min-height:42px;padding:9px 10px;border:1px solid #dedee2;border-radius:10px;background:#f7f7f8;color:#2c2c31;font-weight:800}







@media (max-width: 760px) {
  /* Keep the existing two-row mobile header, but do not place the full
     marketplace filter form inside it. */
  body.marketplace-home-page .site-header.live-style-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 100 !important;
    overflow: visible !important;
    background: rgba(255, 255, 255, .97) !important;
    border-bottom: 1px solid var(--line) !important;
    box-shadow: 0 4px 16px rgba(86,20,23, .05) !important;
  }









  /* Homepage shell and hero. */
  body.marketplace-home-page .page-shell {
    width: min(100% - 20px, 720px) !important;
    max-width: 720px !important;
    padding: 12px 0 84px !important;
    overflow: visible !important;
  }

  body.marketplace-home-page .hero,
  body.marketplace-home-page .hero.hero-grid {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    min-height: 0 !important;
    height: auto !important;
    margin: 0 !important;
    padding: 19px 17px !important;
    border-radius: 24px !important;
    overflow: hidden !important;
    background: radial-gradient(circle at top left, #fff 0, var(--cream-2) 48%, #ffc9cc 100%) !important;
    border: 1px solid rgba(240,217,220, .95) !important;
    box-shadow: 0 12px 30px rgba(86,20,23, .08) !important;
  }





  body.marketplace-home-page .hero-actions {
    position: static !important;
    display: flex !important;
    flex-flow: row wrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 7px !important;
    width: 100% !important;
    margin: 0 !important;
  }

  body.marketplace-home-page .hero-actions .btn,
  body.marketplace-home-page .marketplace-filter-actions .btn,
  body.marketplace-home-page .marketplace-empty-actions .btn {
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: 0 !important;
    min-height: var(--eetza-control-height-max,34px) !important;
    height: auto !important;
    padding: 8px 13px !important;
    border-radius: var(--eetza-pill-radius, 12px) !important;
    font-size: 12.5px !important;
    line-height: 1.1 !important;
    box-shadow: none !important;
    white-space: nowrap !important;
  }




  /* Compact, readable search and filters. */
  body.marketplace-home-page .search-panel {
    position: static !important;
    width: 100% !important;
    min-height: 0 !important;
    height: auto !important;
    margin: 14px 0 0 !important;
    padding: 14px !important;
    border-radius: 20px !important;
    background: var(--paper) !important;
    border: 1px solid var(--line) !important;
    box-shadow: 0 8px 22px rgba(86,20,23, .05) !important;
    overflow: visible !important;
  }











  body.marketplace-home-page .section-heading {
    display: block !important;
    margin: 0 0 12px !important;
    padding: 0 !important;
  }

  body.marketplace-home-page .section-heading h2 {
    font-size: 27px !important;
    line-height: 1.05 !important;
  }

  body.marketplace-home-page .section-heading p {
    margin: 5px 0 0 !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
  }

  body.marketplace-home-page .split-heading {
    display: flex !important;
    align-items: flex-end !important;
    justify-content: space-between !important;
    gap: 10px !important;
  }


  body.marketplace-home-page .marketplace-card-image,
  body.marketplace-home-page .marketplace-card-image img {
    height: 172px !important;
    min-height: 172px !important;
  }






  body.marketplace-home-page .site-footer {
    padding-bottom: 80px !important;
  }
}

@media (max-width: 380px) {
  body.marketplace-home-page .page-shell {
    width: min(100% - 16px, 720px) !important;
  }

  body.marketplace-home-page .hero,
  body.marketplace-home-page .hero.hero-grid {
    padding: 17px 14px !important;
  }


  body.marketplace-home-page .hero-actions .btn,
  body.marketplace-home-page .marketplace-filter-actions .btn {
    padding-inline: 11px !important;
    font-size: 12px !important;
  }


}

@media (prefers-reduced-motion: reduce) {
  body.marketplace-home-page *,
  body.marketplace-home-page *::before,
  body.marketplace-home-page *::after {
    scroll-behavior: auto !important;
  }
}

/* Source: step11b-homepage.css */
/*
 * eetZA Step 11B — compact mobile homepage hero
 * Loaded after Step 11A. Only the public marketplace homepage is affected.
 */

@media (max-width: 760px) {
  /* The opening card should introduce the marketplace, not dominate it. */
  body.marketplace-home-page .hero,
  body.marketplace-home-page .hero.hero-grid {
    min-height: 0 !important;
    max-height: none !important;
    height: auto !important;
    padding: 15px 15px 14px !important;
    border-radius: 19px !important;
    box-shadow: 0 7px 18px rgba(86,20,23, .055) !important;
  }






  body.marketplace-home-page .hero-actions {
    display: flex !important;
    flex-flow: row wrap !important;
    align-items: center !important;
    gap: 6px !important;
    margin: 0 !important;
  }

  body.marketplace-home-page .hero-actions .btn {
    min-height: 32px !important;
    height: 32px !important;
    padding: 0 11px !important;
    border-radius: var(--eetza-pill-radius, 12px) !important;
    font-size: 11px !important;
    line-height: 1 !important;
    font-weight: 850 !important;
  }

  /* Favourites remains available but does not need a third large pill. */
  body.marketplace-home-page .hero-actions .btn:nth-child(3) {
    min-height: 28px !important;
    height: 28px !important;
    padding: 0 5px !important;
    border: 0 !important;
    background: transparent !important;
    color: var(--orange-dark) !important;
    box-shadow: none !important;
  }


  body.marketplace-home-page .search-panel {
    margin-top: 11px !important;
    padding: 12px !important;
    border-radius: 17px !important;
  }





}


/* Step 14A performance containment and stable image layout. */
.marketplace-card-image img { aspect-ratio: 16 / 9; }
.seller-card:nth-child(n+7),
.menu-section:nth-of-type(n+4),
.marketplace-review:nth-child(n+5) {
  content-visibility: auto;
  contain-intrinsic-size: 1px 420px;
} .seller-card, .menu-card { contain: layout paint style; }
@media (max-width: 700px) {
  .seller-card:nth-child(n+5), .menu-section:nth-of-type(n+3) {
    content-visibility: auto;
    contain-intrinsic-size: 1px 360px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .marketplace-card-image img { transition: none !important; }
}
