﻿* {
      box-sizing: border-box;
    }

    html {
      display: flex;
      justify-content: center;
      align-items: flex-start;
      min-height: 100%;
      background: #e0e0e0;
    }

    html {
      scroll-behavior: smooth;
    }
    body {
      margin: 0;
      width: 100%;
      min-height: 100vh;
      background: #f6f8f3;
      color: #151915;
      font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Segoe UI, Arial, Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft Yahei", sans-serif;
      -webkit-font-smoothing: antialiased;
      -webkit-tap-highlight-color: transparent;
      overflow-x: hidden;
      position: relative;
      box-shadow: 0 0 40px rgba(0, 0, 0, .18), 0 0 0 1px rgba(0, 0, 0, .06);
    }

    *:focus {
      outline: none;
    }
    *:focus-visible {
      outline: 2px solid rgba(42, 105, 49, 0.35);
      outline-offset: 2px;
      border-radius: 2px;
    }

    button, a, input, select, textarea {
      -webkit-tap-highlight-color: transparent;
      transition-timing-function: cubic-bezier(0.34, 1.56, 0.64, 1);
    }

    input,
    select,
    textarea {
      font-size: 16px !important;
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    img {
      display: block;
      max-width: 100%;
    }

    .mobile-shell {
      width: 100%;
      min-height: 100vh;
      margin: 0 auto;
      background: linear-gradient(180deg, #ffffff 0%, #fbfcf8 56%, #f5f7f1 100%);
      padding-bottom: calc(60px + env(safe-area-inset-bottom));
      overflow: hidden;
    }

    .site-header {
      padding: 8px 12px 10px;
      background: #ffffff;
      position: fixed;
      top: 0;
      left: 50%;
      transform: translateX(-50%);
      width: 100%;
      max-width: 480px;
      z-index: 100;
      box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    }

    .header-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 18px;
      margin-bottom: 10px;
    }

    .brand-logo {
      width: 100px;
      height: 40px;
      object-fit: contain;
      object-position: left center;
      margin-left: 20px;
    }

    .icon-btn {
      display: inline-flex;
      width: 38px;
      height: 38px;
      align-items: center;
      justify-content: center;
      border: 0;
      background: transparent;
      color: #151515;
      padding: 0;
    }

    .icon-btn img {
      width: 28px;
      height: 28px;
      object-fit: contain;
    }

    .search-box {
      display: flex;
      align-items: center;
      height: 40px;
      gap: 10px;
      padding: 0 15px;
      border-radius: 999px;
      background: #f2f3ef;
      color: #6f736d;
      font-size: 15px;
      line-height: 1;
    }

    .search-box svg {
      width: 22px;
      height: 22px;
      color: #a8afa8;
      flex: 0 0 auto;
    }

    .search-box input {
      flex: 1;
      min-width: 0;
      border: 0;
      padding: 0;
      background: transparent;
      color: inherit;
      font: inherit;
      line-height: 1;
      outline: none;
    }

    .search-box input::placeholder {
      color: #6f736d;
      opacity: 1;
    }

    .page-content {
      padding-top: 110px; /* 鐣欏嚭 header 鐨勭┖闂?*/
      padding-bottom: 16px;
    }

    .hero-swiper {
      width: 100%;
      height: 240px;
      background: #edf3e8;
      overflow: hidden;
    }

    .hero-swiper .swiper-wrapper {
      display: flex;
      width: 100%;
      height: 100%;
    }

    .hero-swiper .swiper-slide {
      flex: 0 0 100%;
      width: 100%;
    }

    .hero-slide {
      position: relative;
      height: 100%;
      overflow: hidden;
    }

    .hero-slide img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .hero-slide::after {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(90deg, rgba(255, 255, 255, .9) 0%, rgba(255, 255, 255, .72) 32%, rgba(255, 255, 255, .14) 72%, rgba(255, 255, 255, .02) 100%);
    }

    .hero-copy {
      position: absolute;
      z-index: 2;
      left: 28px;
      top: 36px;
      max-width: 240px;
      color: #0d4c19;
    }

    .hero-copy h1 {
      margin: 0;
      font-size: 30px;
      line-height: 1.22;
      letter-spacing: 0;
      font-weight: 900;
    }

    .hero-copy p {
      margin: 22px 0 0;
      color: #5b6059;
      font-size: 16px;
      line-height: 1.65;
      font-weight: 700;
    }

    .hero-swiper .swiper-pagination {
      bottom: 12px;
    }

    .hero-swiper .swiper-pagination-bullet {
      width: 7px;
      height: 7px;
      background: rgba(255, 255, 255, .9);
      opacity: 1;
    }

    .hero-swiper .swiper-pagination-bullet-active {
      width: 18px;
      border-radius: 999px;
      background: #1f7b2b;
    }

    .quick-services {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      background: #ffffff;
      padding: 20px 18px 20px;
      border-bottom: 1px solid #edf0ea;
    }

    .service-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 10px;
      color: #60635f;
      font-size: 14px;
    }

    .service-icon {
      display: inline-flex;
      width: 30px;
      height: 22px;
      align-items: center;
      justify-content: center;
      border-radius: 50%;
      color: #11611c;
    }

    .service-icon img,
    .service-icon svg {
      width: 24px;
      height: 24px;
      object-fit: contain;
    }

    .section-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 22px 26px 14px;
    }

    .section-head h2 {
      margin: 0;
      color: #060806;
      font-size: 20px;
      line-height: 1;
      letter-spacing: 0;
      font-weight: 400;
    }

    .more-link {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      color: #61635f;
      font-size: 14px;
      white-space: nowrap;
    }

    .more-link svg {
      width: 16px;
      height: 16px;
    }

    .product-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 14px;
      padding: 0 16px 28px;
    }

    .product-card {
      min-width: 0;
      overflow: hidden;
      border-radius: 14px;
      background: #fff;
      box-shadow: 0 10px 26px rgba(25, 49, 28, 0.06);
    }

    .product-thumb {
      width: 100%;
      overflow: hidden;
      border-radius: 0;
      background: #f4f7ef;
      box-shadow: none;
      aspect-ratio: 1 / 1;
    }

    .product-thumb img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .product-name {
      margin: 12px 12px 5px;
      color: #111411;
      font-size: 14px;
      line-height: 1.25;
      font-weight: 800;
    }

    .product-price {
      margin: 0 12px 14px;
      color: #2a6931;
      font-size: 15px;
      line-height: 1.2;
      font-weight: 900;
    }

    .farm-banner {
      position: relative;
      margin: 5px 26px 5px;
      min-height: 116px;
      overflow: hidden;
      border-radius: 4px;
      color: #ffffff;
      background: #174d20;
    }

    .farm-banner img {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .farm-banner::after {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(90deg, rgba(16, 62, 25, .88), rgba(16, 62, 25, .26));
    }

    .farm-banner-text {
      position: relative;
      z-index: 1;
      padding: 20px 22px;
    }

    .farm-banner-text strong {
      display: block;
      margin-bottom: 7px;
      font-size:19px;
      line-height: 1.2;
    }

    .farm-banner-text span {
      display: block;
      margin-bottom: 10px;
      color: rgba(255, 255, 255, .88);
      font-size: 12px;
    }

    .farm-banner-text em {
      display: inline-flex;
      align-items: center;
      height: 25px;
      padding: 0 12px;
      border-radius: 999px;
      background: #118b2b;
      color: #ffffff;
      font-size: 10px;
      font-style: normal;
    }

    @media (max-width: 360px) {
      .site-header {
        padding-left: 18px;
        padding-right: 18px;
      }

      .brand-logo {
        width: 132px;
      }

      .hero-copy h1 {
        font-size: 32px;
      }

      .product-grid {
        gap: 16px;
        padding-left: 18px;
        padding-right: 18px;
      }
    }

/* --- Refined Interactions --- */

.product-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.product-card:hover {
  transform: translateY(-2px);
}
.product-card:hover .product-thumb {
  box-shadow: 0 12px 28px rgba(31, 73, 37, .12);
}
.product-thumb {
  transition: box-shadow 0.3s ease;
}
.product-thumb img {
  transition: transform 0.4s ease;
}
.product-card:hover .product-thumb img {
  transform: scale(1.03);
}
.more-link {
  transition: color 0.2s ease;
}
.more-link:hover {
  color: #2a6931;
}
.more-link svg {
  transition: transform 0.2s ease;
}
.more-link:hover svg {
  transform: translateX(3px);
}
.service-item {
  transition: color 0.2s ease, transform 0.2s ease;
}
.service-item:hover {
  color: #2a6931;
  transform: translateY(-1px);
}
.farm-banner-text em {
  transition: background 0.2s ease, transform 0.2s ease;
}
.farm-banner-text em:hover {
  background: #0f7324;
  transform: scale(1.04);
}

    .site-modal {
      position: fixed;
      inset: 0;
      z-index: 999;
      display: flex;
      align-items: center;
      justify-content: center;
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
      transition: opacity 0.24s ease, visibility 0.24s ease;
    }

    .site-modal[aria-hidden="false"] {
      opacity: 1;
      visibility: visible;
      pointer-events: auto;
    }

    .site-modal-mask {
      position: absolute;
      inset: 0;
      background: rgba(16, 34, 18, 0.38);
      backdrop-filter: blur(8px);
    }

    .site-modal-panel {
      position: relative;
      width: calc(100% - 36px);
      max-width: 340px;
      padding: 22px 22px 20px;
      border-radius: 24px;
      background:
        radial-gradient(circle at top right, rgba(118, 200, 135, 0.26), transparent 32%),
        linear-gradient(180deg, #ffffff 0%, #f8fbf4 100%);
      box-shadow: 0 24px 50px rgba(25, 49, 28, 0.22);
      overflow: hidden;
      transform: translateY(16px) scale(0.96);
      transition: transform 0.24s ease;
    }

    .site-modal[aria-hidden="false"] .site-modal-panel {
      transform: translateY(0) scale(1);
    }

    .site-modal-glow {
      position: absolute;
      top: -40px;
      right: -24px;
      width: 140px;
      height: 140px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(113, 198, 113, 0.22), transparent 68%);
    }
.site-modal-title {
      position: relative;
      font-size: 17px;
      font-weight: 800;
      color: #152017;
      margin-bottom: 8px;
    }

    .site-modal-message {
      position: relative;
      font-size: 14px;
      line-height: 1.7;
      color: #5f695f;
      margin-bottom: 18px;
    }

    .site-modal-actions {
      display: grid;
      grid-template-columns: 1fr;
      gap: 10px;
    }

    .site-modal.has-cancel .site-modal-actions {
      grid-template-columns: 1fr 1fr;
    }

    .site-modal-btn {
      height: 42px;
      border: none;
      border-radius: 999px;
      font-size: 14px;
      font-weight: 700;
      cursor: pointer;
    }

    .site-modal-btn.ghost {
      display: none;
      background: #f2f4ee;
      color: #5d655d;
    }

    .site-modal.has-cancel .site-modal-btn.ghost {
      display: inline-flex;
      align-items: center;
      justify-content: center;
    }

    .site-modal-btn.solid {
      background: linear-gradient(135deg, #2a6931 0%, #4b8b4f 100%);
      color: #fff;
      box-shadow: 0 12px 24px rgba(42, 105, 49, 0.22);
    }
.icon-btn {
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.icon-btn:hover {
  opacity: 0.7;
}
.icon-btn:active {
  transform: scale(0.92);
}
.site-header {
  transition: box-shadow 0.3s ease;
}

.mobile-shell { max-width: 480px !important; margin: 0 auto !important; box-shadow: 0 0 20px rgba(0,0,0,0.1); position: relative; }
body { background: #e0e0e0 !important; }


