/*
 * Zhanzheng Pets — premium mobile presentation layer
 * Mobile only. Desktop styles remain untouched.
 * Version: 3.0.20260912
 */

/* The email shortcut is injected for mobile only. */
.zzfloat-contact .zzfloat-email {
  display: none !important;
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 72px;
  }

  html body {
    overflow-x: hidden;
    color: #173f36;
    background: #fff;
    -webkit-font-smoothing: antialiased;
  }

  html body,
  html body p,
  html body li,
  html body a,
  html body button,
  html body input,
  html body select,
  html body textarea {
    overflow-wrap: normal !important;
    word-break: normal !important;
  }

  /* Header */
  html body .site-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
    background: rgba(255, 255, 255, 0.97) !important;
    border-bottom: 1px solid #e4ece8 !important;
    box-shadow: 0 3px 16px rgba(13, 72, 56, 0.06) !important;
    backdrop-filter: blur(12px);
  }

  html body .site-header .header-inner {
    min-height: 64px !important;
    height: 64px !important;
    padding: 0 16px !important;
    gap: 10px !important;
  }

  html body .site-header .brand-logo-image {
    width: auto !important;
    max-width: 154px !important;
    height: 38px !important;
    object-fit: contain !important;
  }

  html body .site-header .menu-toggle {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    padding: 9px !important;
    border: 1px solid #d7e3de !important;
    border-radius: 10px !important;
    background: #fff !important;
    color: #0b4b39 !important;
  }

  html body .site-header .header-cta {
    display: none !important;
  }

  html body .site-header .main-nav {
    top: 64px !important;
    max-height: calc(100dvh - 64px) !important;
    padding: 12px 16px 22px !important;
    background: #fff !important;
    border-top: 1px solid #e4ece8 !important;
    box-shadow: 0 16px 28px rgba(13, 72, 56, 0.12) !important;
  }

  html body .site-header .main-nav a {
    min-height: 48px !important;
    padding: 13px 4px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
  }

  /* Shared mobile rhythm */
  html body .container,
  html body .zzhome-shell,
  html body .zzpd-shell {
    width: 100% !important;
    max-width: none !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  /* Home */
  html body .zzhome-page {
    background: #fff !important;
  }

  html body .zzhome-page .zzhome-section {
    padding-top: 48px !important;
    padding-bottom: 48px !important;
  }

  html body .zzhome-page .zzhome-hero {
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 32px 0 40px !important;
    background: #f2f7f4 !important;
  }

  html body .zzhome-page .zzhome-hero-inner {
    order: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 26px !important;
  }

  html body .zzhome-page .zzhome-hero-copy {
    order: 1 !important;
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
  }

  html body .zzhome-page .zzhero-slides {
    order: 2 !important;
    position: relative !important;
    inset: auto !important;
    width: calc(100% - 32px) !important;
    height: 310px !important;
    min-height: 310px !important;
    margin: 26px 16px 0 !important;
    overflow: hidden !important;
    border-radius: 14px !important;
    box-shadow: 0 12px 30px rgba(12, 68, 52, 0.12) !important;
  }

  html body .zzhome-page .zzhero-slide {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-position: center center !important;
  }

  html body .zzhome-page .zzhero-dots-main {
    order: 3 !important;
    position: relative !important;
    inset: auto !important;
    transform: none !important;
    margin: 12px auto 0 !important;
  }

  html body .zzhome-page .zzhome-hero-bg,
  html body .zzhome-page .zzhome-hero-media {
    order: 2 !important;
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    height: 310px !important;
    min-height: 310px !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    box-shadow: 0 12px 30px rgba(12, 68, 52, 0.12) !important;
  }

  html body .zzhome-page .zzhome-hero-bg img,
  html body .zzhome-page .zzhome-hero-media img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
  }

  html body .zzhome-page .zzhome-kicker {
    margin-bottom: 12px !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    letter-spacing: 0.11em !important;
    line-height: 1.35 !important;
  }

  html body .zzhome-page .zzhome-hero h1 {
    margin: 0 0 16px !important;
    font-size: clamp(34px, 9.5vw, 42px) !important;
    line-height: 1.08 !important;
    letter-spacing: -0.035em !important;
    color: #0b4b39 !important;
  }

  html body .zzhome-page .zzhome-hero p {
    margin: 0 !important;
    max-width: 38rem !important;
    font-size: 16px !important;
    line-height: 1.7 !important;
    color: #48675f !important;
  }

  html body .zzhome-page .zzhome-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    margin-top: 22px !important;
  }

  html body .zzhome-page .zzhome-btn {
    width: 100% !important;
    min-height: 50px !important;
    padding: 13px 18px !important;
    border-radius: 9px !important;
    font-size: 15px !important;
    font-weight: 800 !important;
  }

  html body .zzhome-page .zzhome-cap-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  html body .zzhome-page .zzhome-capabilities article,
  html body .zzhome-page .zzhome-cap-grid > * {
    min-height: 142px !important;
    padding: 18px 14px !important;
    border: 1px solid #e0e9e5 !important;
    border-radius: 12px !important;
    box-shadow: none !important;
  }

  html body .zzhome-page .zzhome-cap-icon {
    width: 38px !important;
    height: 38px !important;
    margin-bottom: 12px !important;
  }

  html body .zzhome-page .zzhome-cap-grid h3 {
    font-size: 15px !important;
    line-height: 1.3 !important;
  }

  html body .zzhome-page .zzhome-cap-grid p {
    font-size: 13px !important;
    line-height: 1.55 !important;
  }

  html body .zzhome-page .zzhome-category-head {
    display: block !important;
    margin-bottom: 22px !important;
  }

  html body .zzhome-page .zzhome-category-head h2,
  html body .zzhome-page .zzhome-oem h2,
  html body .zzhome-page .zzhome-why h2,
  html body .zzhome-page .zzhome-business h2,
  html body .zzhome-page .zzhome-logistics h2 {
    font-size: 29px !important;
    line-height: 1.16 !important;
    letter-spacing: -0.025em !important;
  }

  html body .zzhome-page .zzhome-category-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  html body .zzhome-page .zzhome-category-card {
    min-height: 210px !important;
    border-radius: 12px !important;
  }

  html body .zzhome-page .zzhome-category-card img {
    object-fit: cover !important;
  }

  html body .zzhome-page .zzhome-category-shade {
    padding: 14px !important;
  }

  html body .zzhome-page .zzhome-category-shade h3 {
    font-size: 17px !important;
    line-height: 1.2 !important;
  }

  html body .zzhome-page .zzhome-oem-grid,
  html body .zzhome-page .zzhome-why-grid,
  html body .zzhome-page .zzhome-business-grid,
  html body .zzhome-page .zzhome-logistics-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  html body .zzhome-page .zzhome-oem-card,
  html body .zzhome-page .zzhome-logistics-card {
    padding: 20px !important;
    border-radius: 12px !important;
  }

  html body .zzhome-page .zzhome-business-copy {
    order: 1 !important;
  }

  html body .zzhome-page .zzhome-business-media {
    order: 2 !important;
    min-height: 270px !important;
    border-radius: 12px !important;
    overflow: hidden !important;
  }

  /* Products page */
  html body .products-hero.products-hero-v36 {
    padding: 30px 0 28px !important;
    min-height: 0 !important;
    background: linear-gradient(145deg, #0b4b39, #12664e) !important;
  }

  html body .products-hero .products-hero-grid {
    display: block !important;
  }

  html body .products-hero .products-hero-copy-v36 {
    width: 100% !important;
    max-width: none !important;
  }

  html body .products-hero .products-hero-image-v44 {
    display: none !important;
  }

  html body .products-hero h1 {
    margin-bottom: 10px !important;
    font-size: 34px !important;
    line-height: 1.1 !important;
    letter-spacing: -0.03em !important;
  }

  html body .products-hero p {
    max-width: 34rem !important;
    font-size: 15px !important;
    line-height: 1.65 !important;
  }

  html body .catalog-section.catalog-section-v39 {
    padding: 24px 0 54px !important;
  }

  html body .catalog-layout-v40 {
    display: block !important;
  }

  html body .catalog-sidebar-v40 {
    position: static !important;
    width: 100% !important;
    max-height: none !important;
    margin: 0 0 16px !important;
    padding: 0 !important;
    overflow: visible !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  html body .catalog-sidebar-head-v40 {
    display: none !important;
  }

  html body .category-tree-v41 {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    align-items: stretch !important;
    gap: 8px !important;
    width: 100% !important;
    padding: 1px 0 8px !important;
    overflow: visible !important;
  }

  html body .category-all-v41 {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 44px !important;
    margin: 0 !important;
    padding: 11px 14px !important;
    border: 1px solid #d7e3de !important;
    border-radius: 9px !important;
    background: #fff !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    text-align: left !important;
    box-shadow: none !important;
  }

  html body .category-group-v41 {
    display: block !important;
    align-self: start !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  html body .category-group-v41.selected,
  html body .category-group-v41.zzmobile-expanded {
    grid-column: 1 / -1 !important;
  }

  html body .category-parent-v41 {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 34px !important;
    align-items: center !important;
    width: 100% !important;
    min-height: 44px !important;
    overflow: hidden !important;
    border: 1px solid #d7e3de !important;
    border-radius: 9px !important;
    background: #fff !important;
    box-shadow: none !important;
  }

  html body .category-parent-filter-v41 {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 42px !important;
    margin: 0 !important;
    padding: 10px 6px 10px 12px !important;
    overflow: hidden !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    font-size: 13px !important;
    font-weight: 750 !important;
    line-height: 1.25 !important;
    text-align: left !important;
    box-shadow: none !important;
  }

  html body .category-toggle-v41 {
    width: 34px !important;
    min-width: 34px !important;
    height: 42px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-left: 1px solid #e2e9e6 !important;
    border-radius: 0 !important;
    background: transparent !important;
  }

  html body .category-all-v41.active,
  html body .category-parent-v41.active {
    color: #fff !important;
    border-color: #0b4b39 !important;
    background: #0b4b39 !important;
  }

  html body .category-parent-v41.active .category-parent-filter-v41,
  html body .category-parent-v41.active .category-toggle-v41 {
    color: #fff !important;
  }

  html body .category-parent-v41.active .category-toggle-v41 {
    border-left-color: rgba(255, 255, 255, 0.24) !important;
  }

  html body .category-children-v41 {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px !important;
    width: 100% !important;
    margin: 8px 0 0 !important;
    padding: 0 !important;
  }

  html body .category-children-v41 button,
  html body .category-children-v41 a {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 42px !important;
    padding: 9px 6px !important;
    border: 1px solid #d7e3de !important;
    border-radius: 8px !important;
    background: #fff !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    text-align: center !important;
  }

  html body .category-children-v41 button.active,
  html body .category-children-v41 a.active {
    color: #fff !important;
    border-color: #0b4b39 !important;
    background: #0b4b39 !important;
  }

  html body .catalog-toolbar-v39 {
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    gap: 10px !important;
    margin: 0 0 18px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
  }

  html body .catalog-count-v39 {
    grid-column: 1 / -1 !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
  }

  html body .catalog-search-v39 {
    width: 100% !important;
    min-width: 0 !important;
  }

  html body .catalog-search-v39 input,
  html body .catalog-sort-v39,
  html body .catalog-sort-v39 select {
    min-height: 44px !important;
    border-radius: 9px !important;
    font-size: 14px !important;
  }

  html body .catalog-grid.catalog-grid-v39 {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  html body .catalog-card-v39 {
    min-width: 0 !important;
    overflow: hidden !important;
    border: 1px solid #dfe8e4 !important;
    border-radius: 11px !important;
    background: #fff !important;
    box-shadow: none !important;
  }

  html body .catalog-card-v39 .catalog-image-v36 {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
    padding: 8px !important;
    background: #f6f8f7 !important;
  }

  html body .catalog-card-v39 .catalog-image-v36 img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
  }

  html body .catalog-card-v39 .catalog-copy-v39 {
    display: flex !important;
    flex-direction: column !important;
    min-height: 164px !important;
    padding: 13px 12px 14px !important;
  }

  html body .catalog-card-v39 .catalog-category-v36 {
    margin-bottom: 7px !important;
    font-size: 11.5px !important;
    line-height: 1.3 !important;
  }

  html body .catalog-card-v39 h2,
  html body .catalog-card-v39 h3 {
    display: -webkit-box !important;
    min-height: 58px !important;
    margin: 0 0 10px !important;
    overflow: hidden !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    font-size: 16px !important;
    line-height: 1.22 !important;
    letter-spacing: -0.01em !important;
  }

  html body .catalog-card-v39 .catalog-copy-v39 > p {
    display: none !important;
  }

  html body .catalog-card-v39 .catalog-view-v36 {
    min-height: 38px !important;
    margin-top: auto !important;
    padding: 9px 11px !important;
    border-radius: 7px !important;
    font-size: 12.5px !important;
    font-weight: 800 !important;
  }

  /* Product detail */
  html body .zzpd-page {
    padding-top: 22px !important;
    padding-bottom: 54px !important;
  }

  html body .zzpd-page .zzpd-hero {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 22px !important;
  }

  html body .zzpd-page .zzpd-gallery,
  html body .zzpd-page .zzpd-summary,
  html body .zzpd-page .zzpd-description-card,
  html body .zzpd-page .zzpd-product-spec-card,
  html body .zzpd-page .zzpd-service-wide,
  html body .zzpd-page .zzpd-faq-wide,
  html body .zzpd-page .zzpd-related-wide {
    border: 1px solid #dfe8e4 !important;
    border-radius: 12px !important;
    box-shadow: none !important;
  }

  html body .zzpd-page .zzpd-main-wrap {
    border-radius: 10px !important;
    background: #f6f8f7 !important;
  }

  html body .zzpd-page .zzpd-main-image {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: contain !important;
    padding: 10px !important;
  }

  html body .zzpd-page .zzpd-summary {
    padding: 20px !important;
  }

  html body .zzpd-page .zzpd-summary h1 {
    font-size: 28px !important;
    line-height: 1.16 !important;
    letter-spacing: -0.025em !important;
  }

  html body .zzpd-page .zzpd-summary p,
  html body .zzpd-page .zzpd-description-card p,
  html body .zzpd-page .zzpd-service-wide p,
  html body .zzpd-page .zzpd-faq-wide p {
    font-size: 15px !important;
    line-height: 1.68 !important;
  }

  html body .zzpd-page .zzpd-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  html body .zzpd-page .zzpd-btn {
    width: 100% !important;
    min-height: 50px !important;
    border-radius: 9px !important;
    font-size: 15px !important;
  }

  html body .zzpd-page .zzpd-description-card,
  html body .zzpd-page .zzpd-product-spec-card,
  html body .zzpd-page .zzpd-service-wide,
  html body .zzpd-page .zzpd-faq-wide,
  html body .zzpd-page .zzpd-related-wide {
    padding: 20px 16px !important;
  }

  html body .zzpd-page .zzpd-spec-table-row {
    grid-template-columns: 38% 62% !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
  }

  /* Mobile contact actions: quote + WhatsApp + email. */
  html body .zzfloat-contact {
    right: 14px !important;
    bottom: calc(14px + env(safe-area-inset-bottom)) !important;
    flex-direction: row !important;
    gap: 6px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  html body .zzfloat-contact .zzfloat-action {
    display: none !important;
  }

  html body .zzfloat-contact .zzfloat-action:first-child {
    display: inline-flex !important;
    width: auto !important;
    height: 46px !important;
    min-width: 112px !important;
    padding: 0 14px !important;
    gap: 7px !important;
    border: 1px solid rgba(255, 255, 255, 0.35) !important;
    border-radius: 999px !important;
    color: #fff !important;
    background: #0b4b39 !important;
    box-shadow: 0 10px 25px rgba(7, 65, 48, 0.26) !important;
  }

  html body .zzfloat-contact .zzfloat-action[aria-label="WhatsApp"],
  html body .zzfloat-contact .zzfloat-email {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 46px !important;
    height: 46px !important;
    min-width: 46px !important;
    flex: 0 0 46px !important;
    padding: 0 !important;
    border: 1px solid rgba(255, 255, 255, 0.35) !important;
    border-radius: 50% !important;
    color: #fff !important;
    background: #0b4b39 !important;
    box-shadow: 0 10px 25px rgba(7, 65, 48, 0.24) !important;
  }

  html body .zzfloat-contact .zzfloat-action:first-child::after {
    content: "Quick Quote";
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
  }

  html body .zzfloat-contact .zzfloat-icon {
    width: 20px !important;
    height: 20px !important;
  }

  html body .zzfloat-contact .zzfloat-email svg {
    display: block !important;
    width: 20px !important;
    height: 20px !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 1.8 !important;
  }

  html body .zzfloat-contact .zzfloat-tooltip {
    display: none !important;
  }

  /* Footer */
  html body .prefooter-cta-v36 {
    padding: 42px 16px !important;
  }

  html body .prefooter-cta-v36 h2 {
    font-size: 28px !important;
    line-height: 1.16 !important;
  }

  html body .site-footer-v36 {
    padding-bottom: 84px !important;
  }

  html body .site-footer-v36 .footer-grid-v36 > div:not(.footer-brand) > h4 {
    touch-action: manipulation !important;
    -webkit-tap-highlight-color: transparent !important;
  }

  html body .site-footer-v36 .footer-grid-v36 > div.zzmobile-open > h4 {
    color: #f7c873 !important;
  }
}

@media (max-width: 370px) {
  html body .catalog-grid.catalog-grid-v39 {
    grid-template-columns: 1fr !important;
  }

  html body .catalog-card-v39 .catalog-copy-v39 {
    min-height: 0 !important;
  }

  html body .catalog-card-v39 h2,
  html body .catalog-card-v39 h3 {
    min-height: 0 !important;
  }
}
