/*
Theme Name: pet-1.4.4.20260614.10
Theme URI: https://example.com/pawnova-b2b-pet-supplies
Author: ZY
Author URI: https://example.com
Description: Clean B2B pet supplies WordPress theme for Haoyao Trading.
Version: 1.4.4.20260614.10
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pawnova-b2b
*/

:root {
  --green: #386719;
  --green-dark: #183c08;
  --ink: #17191d;
  --muted: #5d6259;
  --paper: #f5f3ec;
  --card: rgba(255, 255, 255, 0.78);
  --line: rgba(71, 87, 50, 0.16);
  --shadow: 0 18px 36px rgba(45, 48, 35, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }

.container {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.hao-wrap {
  width: min(1672px, 100%);
  margin: 0 auto;
  background: #f6f4ee;
}

.s1-hero {
  position: relative;
  width: min(1672px, 100vw);
  aspect-ratio: 1672 / 850;
  min-height: 760px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 0 0 24px 24px;
  color: var(--ink);
  background: url("assets/haoyao-parts/hero-banner-warehouse-pet-supplies.png") center / cover no-repeat;
  box-shadow: 0 0 0 1px rgba(167, 170, 152, 0.35) inset;
}

.s1-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.9) 26%, rgba(255, 255, 255, 0.34) 48%, rgba(255, 255, 255, 0) 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0) 34%);
}

.s1-top,
.s1-nav,
.s1-copy,
.s1-stats { position: absolute; }

.s1-top {
  z-index: 5;
  top: 0;
  left: 4%;
  right: 4%;
  height: 6%;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(10px, 0.78vw, 13px);
  font-weight: 650;
  line-height: 1;
}
.s1-top b {
  width: 1px;
  height: 16px;
  background: rgba(20, 22, 18, 0.55);
}
.s1-top em { flex: 1; }
.s1-top a,
.s1-top span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.s1-top a,
.s1-top span:last-child {
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.56);
  box-shadow: 0 1px 8px rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.s1-top i {
  width: 14px;
  height: 14px;
  stroke-width: 2.1;
}

.s1-nav {
  z-index: 6;
  top: 6.9%;
  left: 1.35%;
  right: 1.35%;
  height: 9.8%;
  min-height: 76px;
  padding: 0 2.1%;
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 24px;
  display: flex;
  align-items: center;
  gap: 2.1%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(246, 245, 238, 0.78));
  box-shadow: var(--shadow), 0 0 0 1px rgba(205, 207, 190, 0.45) inset;
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
}

.s1-brand {
  min-width: 34%;
  display: flex;
  align-items: center;
  gap: 18px;
}
.s1-brand > img {
  width: clamp(42px, 3.5vw, 58px);
  height: clamp(42px, 3.5vw, 58px);
  object-fit: contain;
}
.s1-brand strong {
  display: block;
  font-size: clamp(15px, 1.32vw, 22px);
  line-height: 1.05;
  font-weight: 950;
}
.s1-brand small {
  display: block;
  margin-top: 5px;
  color: #363a34;
  font-size: clamp(12px, 1vw, 16px);
  line-height: 1.1;
  font-weight: 500;
}

.s1-nav nav {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2.6vw, 42px);
  font-size: clamp(12px, 1vw, 16px);
  font-weight: 850;
}
.s1-nav nav a {
  position: relative;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.s1-nav nav .active { color: var(--green); }
.s1-nav nav .active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -20px;
  height: 3px;
  border-radius: 999px;
  background: var(--green);
}

.s1-copy {
  z-index: 4;
  top: 27.5%;
  left: 4%;
  width: 48%;
}
.s1-copy h1 {
  margin: 0 0 18px;
  color: #202228;
  font-size: clamp(42px, 4.35vw, 72px);
  line-height: 1.14;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
  filter: drop-shadow(0 2px 0 rgba(255, 255, 255, 0.54));
}
.s1-copy h1 span {
  display: block;
  color: #356516;
}
.s1-copy p {
  margin: 0 0 22px;
  color: #17191d;
  font-size: clamp(15px, 1.36vw, 22px);
  line-height: 1.7;
  font-weight: 520;
}
.s1-copy p b {
  width: 4px;
  height: 4px;
  margin: 0 12px;
  border-radius: 50%;
  display: inline-block;
  vertical-align: middle;
  background: #111;
}
.s1-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}

.s1-btn,
.hr-btn,
.btn {
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid rgba(226, 244, 190, 0.72);
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #fff;
  font-size: clamp(13px, 1.04vw, 17px);
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
  background:
    radial-gradient(ellipse at 28% 12%, rgba(255, 255, 255, 0.48), transparent 30%),
    linear-gradient(180deg, #94b854 0%, #567d22 52%, #214807 100%);
  box-shadow: 0 12px 20px rgba(38, 65, 13, 0.25), 0 2px 6px rgba(255, 255, 255, 0.52) inset;
}
.s1-btn img {
  width: 21px;
  height: 21px;
  object-fit: contain;
}
.s1-nav > .s1-btn {
  min-width: 120px;
  min-height: 44px;
  padding: 0 22px;
}
.s1-menu-toggle {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 14px;
  display: none;
  place-items: center;
  color: var(--green-dark);
  background: rgba(255, 255, 255, 0.66);
  box-shadow: 0 8px 18px rgba(41, 55, 22, 0.12);
  cursor: pointer;
}
.s1-menu-toggle i {
  width: 22px;
  height: 22px;
}
.s1-btn-clear,
.hr-btn.clear,
.btn-outline {
  color: #355d16;
  text-shadow: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(246, 246, 239, 0.76));
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 18px rgba(80, 80, 64, 0.12), 0 2px 7px rgba(255, 255, 255, 0.96) inset;
}

.s1-stats {
  z-index: 3;
  left: 1.35%;
  bottom: 4.1%;
  width: 42.5%;
  height: 11%;
  min-height: 86px;
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 22px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(248, 247, 241, 0.68));
  box-shadow: var(--shadow), 0 2px 8px rgba(255, 255, 255, 0.9) inset;
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
}
.s1-stats div {
  height: 68%;
  padding: 0 6%;
  border-right: 1px solid rgba(96, 101, 75, 0.22);
  display: grid;
  grid-template-columns: 26% 1fr;
  column-gap: 10%;
  align-items: center;
}
.s1-stats div:last-child { border-right: 0; }
.s1-stats img {
  grid-row: span 2;
  width: clamp(28px, 2.3vw, 39px);
  height: clamp(28px, 2.3vw, 39px);
  object-fit: contain;
}
.s1-stats strong {
  color: var(--green);
  font-size: clamp(17px, 1.45vw, 24px);
  line-height: 1;
  font-weight: 950;
}
.s1-stats span {
  color: #17191d;
  font-size: clamp(9px, 0.78vw, 13px);
  line-height: 1.1;
  font-weight: 500;
}

.hr-section,
.hr-split,
.hr-duo,
.hr-work,
.hr-lower,
.hr-bottom,
.hr-footer {
  width: min(1420px, calc(100% - 40px));
  margin: 56px auto 0;
}
.hr-title,
.hr-block-title {
  margin: 0 0 24px;
  color: #1f2a18;
  font-size: clamp(28px, 2.4vw, 42px);
  line-height: 1.1;
  font-weight: 900;
}
.hr-block-title.center { text-align: center; }
.liquid {
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 14px 34px rgba(42, 50, 28, 0.1), 0 1px 8px rgba(255, 255, 255, 0.9) inset;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
}
.hr-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.hr-benefits article,
.hr-solutions article,
.hr-work article,
.hr-bottom article {
  padding: 24px;
}
.hr-benefits i,
.hr-solutions span {
  width: 42px;
  height: 42px;
  color: var(--green);
}
.hr-benefits h3,
.hr-solutions h3,
.hr-work h3,
.hr-bottom h2,
.hr-lower h2,
.hr-duo h2 {
  margin: 0 0 10px;
  color: #1e2b15;
}
.hr-benefits p,
.hr-solutions p,
.hr-work p,
.hr-ready p,
.hr-catalog p {
  margin: 0;
  color: var(--muted);
}

.hr-split,
.hr-duo,
.hr-lower,
.hr-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.hr-cats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.hr-cats a,
.hr-product-row a {
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 800;
}
.hr-cats img,
.hr-product-row img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}
.hr-solutions {
  display: grid;
  gap: 14px;
}
.hr-solutions article {
  display: grid;
  grid-template-columns: auto 1fr 96px;
  align-items: center;
  gap: 14px;
}
.hr-solutions img { height: 86px; object-fit: contain; }
.hr-text-link {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green);
  font-weight: 850;
}
.hr-oem,
.hr-products,
.hr-ready {
  padding: 28px;
  position: relative;
  overflow: hidden;
}
.hr-oem {
  display: grid;
  grid-template-columns: 1fr 42%;
  gap: 20px;
  align-items: center;
}
.hr-oem ul {
  margin: 0 0 22px;
  padding-left: 18px;
  color: var(--muted);
}
.hr-product-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.hr-product-row a {
  flex-direction: column;
  text-align: center;
}
.hr-product-row span { color: var(--muted); font-size: 13px; }
.hr-arrow { display: none; }
.hr-work-row {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.hr-work-row::before {
  content: "";
  position: absolute;
  left: 7%;
  right: 7%;
  top: 42px;
  border-top: 2px dashed rgba(61, 96, 26, 0.55);
}
.hr-work article {
  position: relative;
  z-index: 1;
  text-align: center;
}
.hr-work b {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  color: #fff;
  background: var(--green);
}
.hr-factory-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.hr-factory-grid figure { margin: 0; }
.hr-factory-grid img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; }
.hr-factory-grid figcaption { margin-top: 8px; font-weight: 750; }
.hr-map,
.hr-blog { padding: 24px; }
.hr-map div {
  margin: 16px 0;
  display: flex;
  gap: 16px;
}
.hr-map strong {
  color: var(--green);
  font-size: 24px;
}
.hr-map span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}
.hr-blog a {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 12px;
  align-items: center;
}
.hr-blog img {
  width: 76px;
  height: 58px;
  border-radius: 10px;
  object-fit: cover;
}
.hr-blog small { display: block; color: var(--muted); }
.hr-faq button {
  width: 100%;
  padding: 15px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  background: transparent;
  cursor: pointer;
  text-align: left;
  font-weight: 750;
}
.faq-item p {
  max-height: 0;
  margin: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 14px;
  transition: max-height 0.22s ease, padding 0.22s ease;
}
.faq-item.open p {
  max-height: 120px;
  padding: 0 0 14px;
}
.faq-item.open button i {
  transform: rotate(45deg);
}
.faq-item button i {
  transition: transform 0.2s ease;
}
.hr-ready {
  display: grid;
  grid-template-columns: 1fr 38%;
  gap: 18px;
  align-items: center;
}
.hr-catalog { padding: 24px; text-align: center; }
.hr-catalog img { max-height: 180px; margin: 0 auto 16px; object-fit: contain; }
.hr-footer {
  margin-bottom: 40px;
  padding: 32px;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr 1fr;
  gap: 28px;
}
.hr-footer h2,
.hr-footer h3 { margin: 0 0 14px; }
.hr-footer a,
.hr-footer p {
  margin: 0 0 8px;
  display: block;
  color: var(--muted);
}
.hr-footer address { font-style: normal; }

.site-top {
  padding: 8px 0;
  background: #eef4e8;
  font-size: 13px;
}
.top-inner,
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.navbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.nav-inner { min-height: 74px; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
}
.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  color: #fff;
  background: var(--green);
}
.brand small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-weight: 800;
}
.nav-links .active { color: var(--green); }
.menu-btn { display: none; }

.woo-hero,
.article-detail-hero {
  padding: 78px 0;
  background: linear-gradient(135deg, #eef6e8, #fff);
}
.woo-hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 28px;
  align-items: center;
}
.woo-hero h1,
.article-detail-hero h1 {
  margin: 0;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.05;
}
.eyebrow {
  color: var(--green);
  font-weight: 850;
  text-transform: uppercase;
}
.woo-hero-panel {
  padding: 24px;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
}
.article-list-section,
.article-content-section,
.contact-main-section,
.contact-process-section {
  padding: 56px 0;
}
.article-grid,
.contact-process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.article-content,
.contact-form-card,
.contact-method-card {
  padding: 24px;
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 24px;
}
.contact-inquiry-form {
  display: grid;
  gap: 14px;
}
.contact-inquiry-form input,
.contact-inquiry-form textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.wide-field { grid-column: 1 / -1; }

@media (max-width: 980px) {
  .s1-hero {
    aspect-ratio: auto;
    min-height: 760px;
    background-position: 58% center;
  }
  .s1-top {
    left: 18px;
    right: 18px;
    height: auto;
    min-height: 48px;
    flex-wrap: wrap;
    gap: 8px;
  }
  .s1-top em,
  .s1-top b { display: none; }
  .s1-nav {
    top: 62px;
    left: 14px;
    right: 14px;
    height: auto;
    min-height: 82px;
    padding: 14px;
  }
  .s1-brand { min-width: 0; }
  .s1-menu-toggle { display: grid; }
  .s1-nav nav {
    position: absolute;
    left: 14px;
    right: 14px;
    top: calc(100% + 10px);
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.78);
    border-radius: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }
  .s1-nav.open nav { display: flex; }
  .s1-nav nav a {
    min-height: 40px;
    padding: 0 10px;
  }
  .s1-nav nav .active::after { display: none; }
  .s1-copy {
    top: 190px;
    left: 22px;
    right: 22px;
    width: auto;
  }
  .s1-copy h1 { font-size: clamp(38px, 11vw, 62px); }
  .s1-actions { flex-wrap: wrap; }
  .s1-stats {
    left: 18px;
    right: 18px;
    bottom: 22px;
    width: auto;
    height: auto;
    min-height: 106px;
  }
  .hr-benefits,
  .hr-split,
  .hr-duo,
  .hr-lower,
  .hr-bottom,
  .hr-footer,
  .woo-hero-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .hr-work-row,
  .article-grid,
  .contact-process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hr-work-row::before { display: none; }
}

@media (max-width: 640px) {
  .s1-hero { min-height: 820px; }
  .s1-nav > .s1-btn { display: none; }
  .s1-brand strong { font-size: 15px; }
  .s1-brand small { font-size: 12px; }
  .s1-copy p { font-size: 14px; }
  .s1-stats {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 12px;
  }
  .s1-stats div {
    height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .s1-stats div:last-child { border-bottom: 0; }
  .hr-cats,
  .hr-product-row,
  .hr-work-row,
  .article-grid,
  .contact-process-grid {
    grid-template-columns: 1fr;
  }
}
