.mobile-contact-options, .mobile-home-copy, .mobile-ordering, .shop-interior, .mobile-hero-photo { display: none; }

.home-order-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}
.home-order-list li { display: flex; align-items: flex-start; gap: 12px; }
.order-step-number {
  display: flex; align-items: center; justify-content: center; flex: 0 0 32px;
  width: 32px; height: 32px; border-radius: 50%; background: #e1ede2;
  color: #0e6e5c; font-size: 13px; font-weight: 700;
}
.home-order-list h3 { font-size: 18px; line-height: 1.3; margin: 3px 0 5px; }
.home-order-list p { font-size: 15px; line-height: 1.5; margin: 0; color: #506150; }

.home #shop .desktop-sauce { display: contents; }
.home #shop .photo-fresh-vegetables { background: #f7f3e9; }
.home #shop .photo-fresh-vegetables img { object-fit: contain; }

.home .shop-and-order {
  display: flex;
  flex-direction: column-reverse;
  reading-flow: flex-visual;
}

@media (max-width:650px) {
  .home .shop-and-order { display: block; }
  .home .desktop-home-copy { display: none; }
  .home .mobile-home-copy { display: inline; }
  .home .mobile-ordering { display: block; }

  .home .hero .home-search label {
    position: absolute;
    width: 1px;
    height: 1px;
    min-height: 0;
    overflow: hidden;
    margin: -1px;
    padding: 0;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .home .hero .home-search { margin: 6px 0 0; }
  .home.bee-flight-active .hero .home-search { padding-top: 48px; }

  .home .hero-title-line { display: block; }
  .home[lang=th] .hero h1 { line-height: 1.25; }
  .home .hero .mobile-browse {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-sizing: border-box;
    width: min(100%, 440px);
    min-height: 44px;
    margin: 6px 0 0;
    padding: 8px 14px;
    border: 1.5px solid #155340;
    border-radius: 12px;
    color: #155340;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
  }
  .home .hero .mobile-browse:hover { background: #edf2e9; }
  .home .hero .mobile-browse:focus-visible { outline: 3px solid #b57820; outline-offset: 2px; }

  body.home[lang] .hero { background: #f8f3e9; min-height: 0; }
  body.home[lang] .hero .wrap { padding-bottom: 8px; }
  .home[lang=en-GB] .hero .intro-shipping { font-size: 15px !important; }
  .home[lang=th] .hero .phone-intro { margin-bottom: 6px; }
  .mobile-hero-photo {
    display: block;
    width: min(100%, 440px);
    margin: 8px 0 0;
  }
  .mobile-hero-photo img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 10px;
  }
  .home .home-contact {
    padding: 26px 0 28px;
    background: #f8f3e9;
    border-top: 1px solid #ded8c9;
  }
  .home .home-contact .contact-inner { display: none; }
  .home .mobile-contact-options { display: block; }
  .home .mobile-contact-options h2 {
    margin: 0 0 14px;
    color: #164c3d;
    font-size: clamp(26px, 7vw, 32px);
    line-height: 1.15;
  }
  .contact-option-links { border-top: 1px solid #c9caba; }
  .contact-option-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 50px;
    padding: 10px 2px;
    border-bottom: 1px solid #c9caba;
    color: #1a4d3f;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
  }
  .contact-option-links a:hover { background: #eeeadf; }
  .contact-option-links a:focus-visible { outline: 2px solid #21684d; outline-offset: 3px; }
  .contact-option-links a span[aria-hidden] { font: 19px/1 Arial, sans-serif; }

  body.home[lang] #shop { padding: 21px 0 24px; }
  .home #shop .wrap, .home .ordering .wrap { width: calc(100% - 32px); }
  .home #shop .wrap { position: relative; }
  body.home[lang] #shop .section-head { display: flex; align-items: center; min-height: 0; margin-bottom: 14px; }
  .home #shop .section-head p { display: none; }
  .home #shop h2, .home .ordering h2 { font-size: clamp(26px, 7.4vw, 33px); }
  .home #shop .desktop-sauce { display: none; }
  .home #shop .category-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .home #shop .category-photo {
    height: clamp(92px, 26vw, 120px);
    padding: 5px 10px;
    background: #f7f3e9;
  }
  .home #shop .category-photo img { width: 100%; height: 100%; object-fit: contain; }
  .home #shop .category-caption {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 42px;
    padding: 6px 12px;
  }
  .home #shop .category-caption strong {
    font: 700 clamp(16px, 4.6vw, 20px)/1.25 Arial, sans-serif;
    letter-spacing: 0;
    color: #184b3d;
  }
  .home #shop .category-description { display: none; }
  .home #shop .photo-arrow { display: none; }
  .home #shop .category-browser { margin: 12px 0 0; }
  .home #shop .category-browser > summary {
    width: 100%;
    min-height: 44px;
    gap: 10px;
    background: #edf3e9;
    border: 1px solid #b7cab7;
    font-weight: 700;
  }
  .home #shop .category-directory { margin: 10px 0 0; }

  .home .story { background-color: #faf6ea; background-image: url('/assets/thai-flag.svg'); }
  .home .shop-and-order .story { padding-bottom: 10px; }
  .home .story-card { display: none; }
  .home .shop-interior { display: block; margin: 0; }
  .shop-interior img { display: block; width: 100%; height: auto; border-radius: 12px; }
  .shop-interior figcaption { margin-top: 8px; font-size: 14px; line-height: 1.45; color: #345348; }
  .shop-interior .shop-visit-caption {
    margin-top: 10px;
    color: #244e3c;
    font-size: 15px;
    line-height: 1.4;
  }
  .shop-visit-caption strong { display: block; font-weight: 700; }
  .shop-visit-call {
    display: inline-block;
    min-height: 44px;
    box-sizing: border-box;
    padding: 6px 0;
    color: #215643;
    text-decoration: none;
  }
  .shop-visit-call span {
    white-space: nowrap;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
  }
  .shop-visit-call:focus-visible {
    outline: 2px solid #215643;
    outline-offset: 2px;
  }

  .home .shop-and-order .ordering { padding: 12px 0 26px; }
  .home .ordering .more-link { margin-top: 12px; }
  .home-order-list { display: block; margin: 12px 0 0; }
  .home-order-list li { position: relative; display: grid; grid-template-columns: 26px minmax(0,1fr); gap: 10px; padding: 8px 0; }
  .home-order-list li + li { margin-top: 2px; }
  .home-order-list li:not(:last-child)::after { content: ""; position: absolute; left: 12px; top: 34px; bottom: -10px; width: 1px; background: #cddbd0; }
  .order-step-number { width: 26px; height: 26px; font: 700 13px/1 Arial,sans-serif; background: #e0ece1; color: #215742; }
  .home-order-list h3 { margin: 2px 0 3px; color: #204b38; font: 700 16px/1.35 Arial,sans-serif; }
  .home-order-list p { margin: 0; color: #526155; font-size: 14px; line-height: 1.45; }
}

@supports (background-image: image-set(url("test.avif") type("image/avif"))) {
  @media (min-width: 1201px) {
    :root { --desktop-hero-en: image-set(
      url('/assets/home-optimized/groceries-en-wide-1672.avif') type('image/avif') 1x,
      url('/assets/desktop-grocery-oriental-en.webp') type('image/webp') 1x
    ); }
    :root { --desktop-hero-th: image-set(
      url('/assets/home-optimized/groceries-th-wide-1672.avif') type('image/avif') 1x,
      url('/assets/desktop-grocery-oriental-th.webp') type('image/webp') 1x
    ); }
  }
  @media (min-width: 651px) and (max-width: 1200px) {
    :root { --desktop-hero-en: image-set(
      url('/assets/home-optimized/groceries-en-wide-1200.avif') type('image/avif') 1x,
      url('/assets/image-optimized/101a921054d96c51-w1200.webp') type('image/webp') 1x,
      url('/assets/home-optimized/groceries-en-wide-1672.avif') type('image/avif') 2x,
      url('/assets/desktop-grocery-oriental-en.webp') type('image/webp') 2x
    ); }
    :root { --desktop-hero-th: image-set(
      url('/assets/home-optimized/groceries-th-wide-1200.avif') type('image/avif') 1x,
      url('/assets/image-optimized/69882ff4a1229310-w1200.webp') type('image/webp') 1x,
      url('/assets/home-optimized/groceries-th-wide-1672.avif') type('image/avif') 2x,
      url('/assets/desktop-grocery-oriental-th.webp') type('image/webp') 2x
    ); }
  }
}

.home .story-card .appointment-call { margin: 4px 0 -6px; }
.appointment-call a { display: inline-flex; align-items: center; min-height: 44px; max-width: 100%; color: #fff; text-decoration: none; }
.appointment-call .number { white-space: nowrap; font-weight: 700; text-decoration: underline; text-underline-offset: .16em; }
.appointment-call a:hover .number { text-decoration-thickness: 2px; }
.appointment-call a:focus-visible { outline: 2px solid #fff; outline-offset: 2px; border-radius: 3px; }

.home .hero .home-postal-link {
  color: #245441;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.home-postal-link:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
