/* Vietnam Quiet Luxury palette, aligned to the active Mộc Sinh Fruit system tokens. */
.market-site {
  --green: #1f5a43;
  --forest: #1b3a2e;
  --ink: #1f1e1b;
  --muted: #6b655b;
  --mint: #e6eee8;
  --paper: #f7f4ee;
  --line: #e4ded2;
  --orange: #b4532a;
  background: var(--paper);
  color: var(--ink);
}
.market-site .market-topbar { background: var(--forest); color: #f6f2e9; }
.market-site .market-header { background: #fff; border-color: #e4ded2; }
.market-site .market-brand > span, .market-site .market-footer-brand { color: var(--green); }
.market-site .market-search input { background: #fffef9; border-color: #e4ded2; color: var(--ink); }
.market-site .market-search-icon, .market-site .basket-button { background: var(--green); }
.market-site .market-nav-wrap, .market-site .market-nav-wrap nav { background: var(--forest); }
.market-site .market-banner { background: #e6eee8; }
.market-site .market-banner > div > span { color: var(--green); }
.market-site .market-banner p, .market-site .market-sidebar p { color: #6b655b; }
.market-site .market-banner > img { filter: drop-shadow(0 15px 10px rgb(27 58 46 / 0.13)); }
.market-site .market-category-tiles > a { background: #f3efe7; border-color: #e4ded2; }
.market-site .market-category-tiles span { color: #1f5a43; }
.market-site .market-categories button, .market-site .market-segments button { color: #48443d; }
.market-site .market-categories [aria-pressed="true"] { color: #1f5a43; }
.market-site .market-segments [aria-pressed="true"] { background: #e6eee8; border-color: #1f5a43; color: #1f5a43; }
.market-site .market-breadcrumb { color: #6b655b; border-color: #e4ded2; }
.market-site .market-breadcrumb > span:last-child { color: #1f5a43; }
.market-site .store-card { background: #fff; border-color: #e4ded2; }
.market-site .store-image-button, .market-site .store-product-dialog > img, .market-site .store-cart-list img { background: #f3efe7; }
.market-site .store-contact-strip { background: #e6eee8; }
.market-site .store-contact-strip p, .market-site .store-sku span, .market-site .store-card .store-price { color: #6b655b; }
.market-site .site-footer { background: #f3efe7; }
.market-site :focus-visible { outline-color: #2d5fae; }

.wholesale-fruit {
  margin: 0 var(--gutter) 34px;
  padding: 25px 0 30px;
  border-top: 1px solid #e4ded2;
}
.wholesale-fruit__heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 14px; }
.wholesale-fruit__heading > div { max-width: 640px; }
.wholesale-fruit__heading h2 { margin: 0; color: #1f5a43; font: 400 clamp(27px, 2.8vw, 36px)/1.15 var(--serif); letter-spacing: -.025em; }
.wholesale-fruit__heading > div > p:last-child { margin: 8px 0 0; max-width: 62ch; color: #6b655b; font-size: 13px; line-height: 1.65; }
.wholesale-fruit__heading > .button { min-height: 44px; flex: none; }
.wholesale-fruit__status { margin: 0 0 15px; color: #6b655b; font-size: 12px; line-height: 1.6; }
.wholesale-fruit__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.wholesale-fruit__empty { grid-column: 1 / -1; padding: 18px 20px; border: 1px solid #e4ded2; background: #f3efe7; color: #6b655b; font-size: 13px; line-height: 1.65; }
.wholesale-fruit-card { min-width: 0; overflow: hidden; border: 1px solid #e4ded2; border-radius: 4px; background: #fff; }
.wholesale-fruit-card__image { display: grid; aspect-ratio: 1.18; place-items: center; overflow: hidden; background: #f3efe7; }
.wholesale-fruit-card__image img { width: 100%; height: 100%; object-fit: cover; }
.wholesale-fruit-card__copy { padding: 14px; }
.wholesale-fruit-card__category { display: block; overflow: hidden; color: #6b655b; font-size: 11px; line-height: 1.45; text-overflow: ellipsis; white-space: nowrap; }
.wholesale-fruit-card h3 { margin: 6px 0; color: #1b3a2e; font: 400 clamp(16px, 1.3vw, 19px)/1.3 var(--serif); }
.wholesale-fruit-card__unit { margin: 0; color: #6b655b; font-size: 12px; line-height: 1.5; }
.wholesale-fruit-card__footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 12px; padding-top: 9px; border-top: 1px solid #e4ded2; }
.wholesale-fruit-card__status { color: #1f5a43; font-size: 12px; font-weight: 600; }
.wholesale-fruit-card__contact { min-height: 44px; padding: 6px 0 6px 10px; border: 0; background: transparent; color: #1f5a43; font: inherit; font-size: 12px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.wholesale-fruit-card__contact:focus-visible, #wholesale-contact:focus-visible { outline: 3px solid #2d5fae; outline-offset: 3px; }
@media (max-width: 1100px) { .wholesale-fruit__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; } }
@media (max-width: 560px) {
  .wholesale-fruit { padding-top: 20px; margin-bottom: 26px; }
  .wholesale-fruit__heading { align-items: flex-start; flex-direction: column; gap: 13px; }
  .wholesale-fruit__heading h2 { font-size: 27px; }
  .wholesale-fruit__heading > div > p:last-child { font-size: 12px; }
  .wholesale-fruit__heading > .button { width: 100%; }
  .wholesale-fruit__grid { gap: 12px; }
  .wholesale-fruit-card__copy { padding: 10px; }
  .wholesale-fruit-card h3 { font-size: 15px; }
  .wholesale-fruit-card__category, .wholesale-fruit-card__unit { font-size: 11px; }
  .wholesale-fruit-card__footer { align-items: flex-start; flex-direction: column; gap: 0; }
  .wholesale-fruit-card__contact { padding-left: 0; }
}

/* Keep the brand controls and category navigation together while scrolling. */
.market-sticky-header { position: sticky; top: 0; z-index: 30; background: #fff; }
.market-sticky-header .market-nav-wrap { position: relative; top: auto; }
html:has(.market-site) { scroll-padding-top: calc(var(--market-sticky-height, 160px) + 16px); }
@media (max-width: 760px) {
 .market-sticky-header #primary-nav { max-height: calc(100dvh - var(--market-sticky-height, 195px)); overflow-y: auto; overscroll-behavior: contain; }
}
