/* Compact phone presentation, based on the owner's actual mobile screenshots. */
@media (max-width: 767px) {
  /* Reuse the real language control in the header; no duplicate WPML menu. */
  html.sino-mobile-header-ready .sino-block-theme .utility-bar { display: none; }
  html.sino-mobile-header-ready .sino-block-theme .header-inner { height: 66px; gap: 8px; }
  html.sino-mobile-header-ready .sino-block-theme .header-inner > .brand { flex: 1 1 auto; min-width: 0; }
  html.sino-mobile-header-ready .sino-block-theme .header-inner .brand-logo { width: 150px; max-height: 58px; object-fit: contain; }
  html.sino-mobile-header-ready .sino-block-theme .header-inner > .sino-language-switcher { flex: 0 0 auto; }
  html.sino-mobile-header-ready .sino-block-theme .header-inner .sino-language-trigger {
    gap: 4px; padding: 8px 6px; min-height: 44px; box-shadow: none; font-size: 13px;
  }
  html.sino-mobile-header-ready .sino-block-theme .header-inner .sino-language-current-code { font-size: 13px; }
  html.sino-mobile-header-ready .sino-block-theme .header-inner img.sino-language-flag { width: 20px; height: 14px; flex-basis: 20px; }
  html.sino-mobile-header-ready .sino-block-theme .header-inner .sino-language-chevron { width: 10px; height: 10px; }
  html.sino-mobile-header-ready .sino-block-theme .header-inner .sino-language-panel { z-index: 220; max-width: calc(100vw - 32px); }
  .sino-block-theme.home .hero.home-hero { padding-block: 30px 32px; }
  .sino-block-theme.home .hero-content .eyebrow { font-size: 10px; line-height: 1.5; letter-spacing: .07em; margin-bottom: 14px; }
  .sino-block-theme.home .hero h1 { font-size: clamp(27px, 7.2vw, 34px); line-height: 1.14; letter-spacing: -.035em; }
  .sino-block-theme.home .home-hero p.home-hero-description { font-size: 15px; line-height: 1.6; margin-top: 16px; }
  .sino-block-theme.home .hero-actions { flex-direction: row; flex-wrap: nowrap; align-items: stretch; gap: 10px; margin-top: 22px; }
  .sino-block-theme.home .hero-actions > a {
    display: flex; flex: 1 1 0; align-items: center; justify-content: center; align-self: stretch;
    min-width: 0; min-height: 48px; width: auto; padding: 10px; gap: 8px;
    font-size: 13px; line-height: 1.4; font-weight: 700; text-align: center;
  }
  .sino-block-theme.home .hero-actions .hero-secondary { border: 1px solid #bfc5bb; }
  .sino-block-theme.home .hero-actions svg { width: 18px; height: 18px; }
  .sino-block-theme.home .hero-actions .hero-secondary > span { font-size: 18px; }
  .sino-block-theme.home .hero-bottom { display: none; }
  .sino-block-theme.home .home-value-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding-block: 16px; }
  .sino-block-theme.home .home-value-grid > div { display: block; padding: 0; text-align: center; }
  .sino-block-theme.home .home-value-grid > div + div { border-left: 1px solid var(--agri-line); padding-left: 10px; }
  .sino-block-theme.home .home-value-grid .value-icon { display: none; }
  .sino-block-theme.home .home-value-grid strong { font-size: 12px; font-weight: 600; line-height: 1.5; overflow-wrap: anywhere; }

  /* Compact rows keep the actual titles, descriptions, images and links. */
  .sino-block-theme.home .section { padding-block: 34px; }
  .sino-block-theme.home .section-heading,
  .sino-block-theme.home .application-copy { text-align: left; }
  .sino-block-theme.home .section-heading { margin-bottom: 20px; }
  .sino-block-theme.home .section-heading h2,
  .sino-block-theme.home .application-copy h2,
  .sino-block-theme.home .custom-copy h2 { font-size: 26px; line-height: 1.22; }
  .sino-block-theme.home .section-heading .eyebrow { font-size: 10px; margin-bottom: 10px; }
  .sino-block-theme.home .section-heading p,
  .sino-block-theme.home .application-copy > p { font-size: 15px; line-height: 1.65; margin-top: 12px; max-width: none; }
  .sino-block-theme.home .section-heading p { margin-inline: 0; }
  .sino-block-theme .category-grid { gap: 12px; }
  .sino-block-theme .category-grid > .category-card {
    display: grid; grid-template-columns: 96px minmax(0, 1fr); align-items: stretch;
    gap: 0; min-width: 0; overflow: hidden;
  }
  .sino-block-theme .category-grid > .category-card > .card-image {
    grid-column: 1; grid-row: 1; width: 96px; height: 100%; min-height: 132px; aspect-ratio: auto;
    position: relative;
  }
  .sino-block-theme .category-grid > .category-card > .card-image img {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  }
  .sino-block-theme .category-grid > .category-card > span:not([class]) { display: none; }
  .sino-block-theme .category-grid .card-number { display: none; }
  .sino-block-theme .category-grid > .category-card > .card-content {
    grid-column: 2; grid-row: 1; display: block; min-width: 0; padding: 14px;
  }
  .sino-block-theme .category-grid .card-content h3 { font-size: 18px; line-height: 1.3; min-height: 0; max-width: none; letter-spacing: -.025em; }
  .sino-block-theme .category-grid .card-content p { font-size: 14px; line-height: 1.5; min-height: 0; margin-top: 7px; }
  .sino-block-theme .category-grid .card-content .text-link { font-size: 13px; line-height: 1.5; margin-top: 9px; padding-top: 0; gap: 8px; }
  .sino-block-theme .category-grid .card-content .text-link svg { width: 17px; height: 17px; }

  /* Native details is added only when JS can preserve every existing product. */
  .sino-block-theme #product-range .sino-mobile-products { margin-top: 16px; border: 1px solid var(--agri-line); background: #fff; }
  .sino-block-theme #product-range .sino-mobile-products > summary {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    min-height: 48px; padding: 12px 14px; font-size: 14px; font-weight: 700;
    line-height: 1.5; list-style: none; cursor: pointer; color: var(--agri-green);
  }
  .sino-block-theme #product-range .sino-mobile-products > summary::-webkit-details-marker { display: none; }
  .sino-block-theme #product-range .sino-mobile-products > summary::marker { content: ''; }
  .sino-block-theme #product-range .sino-mobile-products > summary::after { content: '+'; font-size: 22px; flex: 0 0 auto; }
  .sino-block-theme #product-range .sino-mobile-products[open] > summary::after { content: '−'; }
  .sino-block-theme #product-range .sino-mobile-products > summary:focus-visible { outline: 3px solid #183d32; outline-offset: -3px; }
  .sino-block-theme #product-range .sino-mobile-products .product-link-row {
    display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; margin: 0; padding: 0 14px 8px;
  }
  .sino-block-theme #product-range .sino-mobile-products:not([open]) > .product-link-row { display: none; }
  .sino-block-theme #product-range .sino-mobile-products .product-link-row a {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    width: 100%; min-width: 0; min-height: 44px; padding: 10px 0;
    border: 0; border-top: 1px solid var(--agri-line); font-size: 14px; font-weight: 500; line-height: 1.5;
    text-align: left; overflow-wrap: anywhere;
  }
  .sino-block-theme #product-range .sino-mobile-products .product-link-row a::after { content: '›'; font-size: 20px; flex-shrink: 0; }

  .sino-block-theme.home .applications-layout { gap: 22px; }
  .sino-block-theme.home .scene-grid > .scene-card { min-height: 0; height: auto; aspect-ratio: auto; }
  .sino-block-theme.home .scene-grid { gap: 12px; }
  .sino-block-theme.home .scene-card::after { background: linear-gradient(90deg, #252a27ef, #252a27b8); }
  .sino-block-theme.home .scene-card > .scene-caption { padding: 20px 18px; gap: 14px; }
  .sino-block-theme.home .scene-icon { flex-basis: 42px; padding-right: 12px; }
  .sino-block-theme.home .scene-icon > svg { width: 30px; height: 38px; }
  .sino-block-theme.home .scene-copy h3 { font-size: 19px; line-height: 1.3; }
  .sino-block-theme.home .scene-copy h3 > svg { width: 19px; height: 19px; flex-basis: 19px; }
  .sino-block-theme.home .scene-subtitle { font-size: 14px; line-height: 1.45; margin-top: 4px; }
  .sino-block-theme.home .scene-copy p { font-size: 14px; line-height: 1.55; margin-top: 6px; }
  .sino-block-theme.home .custom-section { gap: 22px; }
  .sino-block-theme.home .custom-copy > p { font-size: 15px; line-height: 1.65; margin-top: 14px; }
  .sino-block-theme.home .custom-image { height: 210px; }
  .sino-block-theme.home .custom-copy .button { margin-top: 18px; }
  .sino-block-theme.home .home-process-grid { gap: 0; }
  .sino-block-theme.home .home-process-grid > a,
  .sino-block-theme.home .home-process-grid > a + a { padding-block: 18px; }
  .sino-block-theme.home .home-process-grid .process-number { font-size: 11px; margin-bottom: 7px; }
  .sino-block-theme.home .home-process-grid h3 { font-size: 21px; line-height: 1.3; }
  .sino-block-theme.home .home-process-grid p { font-size: 14px; line-height: 1.65; margin-block: 8px 12px; }
  .sino-block-theme.home .resource-grid { gap: 12px; }
  .sino-block-theme.home .resource-card { padding: 18px; }
  .sino-block-theme.home .resource-card .eyebrow { font-size: 10px; margin-bottom: 8px; }
  .sino-block-theme.home .resource-card h3 { font-size: 21px; line-height: 1.3; }
  .sino-block-theme.home .resource-card p { font-size: 14px; line-height: 1.6; margin-top: 8px; }
  .sino-block-theme.home .resource-card .text-link { margin-top: 14px; padding-top: 0; font-size: 13px; }
  .sino-block-theme.home .quote-band { padding-block: 30px; }
  .sino-block-theme.home .quote-band h2 { font-size: 26px; }
  .sino-block-theme:has(.quote-form:focus-within) .sino-contact-dock { visibility: hidden; }
}

@media (max-width: 359px) {
  html.sino-mobile-header-ready .sino-block-theme .header-inner .brand-logo { width: 140px; }
  .sino-block-theme .category-grid > .category-card { grid-template-columns: 82px minmax(0, 1fr); }
  .sino-block-theme .category-grid > .category-card > .card-image { width: 82px; }
  .sino-block-theme .category-grid > .category-card > .card-content { padding: 12px; }
  .sino-block-theme .category-grid .card-content h3 { font-size: 17px; }
  .sino-block-theme.home .hero-actions { gap: 8px; }
  .sino-block-theme.home .hero-actions > a { padding-inline: 8px; gap: 6px; }
}
