/* ============================================================
   PAWLY — Home page layout (Petfairs-inspired)
   Navy + orange marketplace style. Scoped to body.home only.
   ============================================================ */
:root {
  --navy: #0B2E7B;
  --navy-dark: #082360;
  --orange: #FF6B00;
  --orange-dark: #E85F00;
  --sky: #E8F1FF;
}

/* ---- Top announcement bar ---- */
.topbar { background: var(--sky); color: var(--navy); font-size: 13px; text-align: center; padding: 7px 0; font-weight: 600; }
.topbar .container { padding: 0 24px; }

/* ---- Header (navy, two rows) ---- */
.home-header { position: sticky; top: 0; z-index: 100; background: var(--navy); border: 0; }
.home-header-main { background: var(--navy); }
.home-header-row { display: flex; align-items: center; gap: 22px; padding: 12px 24px; }
.home-brand { color: #fff; font-size: 24px; font-weight: 800; letter-spacing: -0.5px; flex-shrink: 0; }
.home-brand img { width: 36px; height: 36px; border-radius: 8px; }
.home-brand small { display: block; font-size: 9px; font-weight: 600; letter-spacing: 3px; opacity: .85; margin-top: -4px; text-transform: uppercase; }
.home-search { display: flex; flex: 1; max-width: 560px; background: #fff; border-radius: 999px; overflow: hidden; height: 42px; }
.home-search input { flex: 1; border: 0; outline: 0; padding: 0 20px; font-size: 14px; font-family: var(--font); min-width: 0; color: var(--ink); }
.home-search input::placeholder { color: #9a938d; }
.home-search button { width: 62px; border: 0; background: var(--orange); color: #fff; cursor: pointer; font-size: 17px; transition: background .15s; }
.home-search button:hover { background: var(--orange-dark); }
.home-header-actions { display: flex; align-items: center; gap: 18px; margin-left: auto; color: #fff; font-size: 14px; flex-shrink: 0; }
.home-header-actions a { color: #fff; font-weight: 600; white-space: nowrap; }
.hh-currency { opacity: .9; }
.hh-login:hover { text-decoration: underline; }
.hh-signup { background: var(--orange); padding: 10px 18px; border-radius: 999px; transition: background .15s; }
.hh-signup:hover { background: var(--orange-dark); }
.home-header .menu-toggle { color: #fff; display: none; }

.home-subnav { background: var(--navy); border-top: 1px solid rgba(255,255,255,.16); }
.home-subnav-row { display: flex; align-items: center; gap: 26px; padding: 0 24px; height: 44px; overflow-x: auto; }
.home-subnav a { color: #fff; font-size: 14px; font-weight: 500; white-space: nowrap; opacity: .92; }
.home-subnav a:hover { opacity: 1; text-decoration: underline; }
.home-subnav .sn-categories { font-weight: 700; display: flex; align-items: center; gap: 6px; }
.home-subnav .sn-right { margin-left: auto; }
.home-subnav .sn-right + .sn-right { margin-left: 0; }

/* ---- Hero banner ---- */
.home-hero { background: var(--navy); padding: 0; }
.home-hero .hero-inner {
  max-width: var(--max); margin: 0 auto; padding: 46px 24px 54px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center;
}
.hero-tag { display: inline-block; background: rgba(255,255,255,.14); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 1.4px; padding: 6px 12px; border-radius: 6px; margin-bottom: 18px; }
.hero-copy h1 { color: #fff; font-size: clamp(40px, 5.2vw, 64px); line-height: 1.06; letter-spacing: -2px; margin: 0 0 26px; font-weight: 800; }
.hero-copy h1 .accent { color: var(--orange); }
.promo-cards { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.promo-card { background: #fff; border-radius: 10px; padding: 12px 16px; min-width: 132px; box-shadow: 0 6px 20px rgba(0,0,0,.12); }
.promo-card strong { display: block; color: var(--navy); font-size: 21px; font-weight: 800; line-height: 1.2; }
.promo-card span { display: block; color: #6E6660; font-size: 11px; margin-top: 2px; }
.hero-shop { background: var(--orange); color: #fff; border-radius: 999px; font-weight: 700; }
.hero-shop:hover { background: var(--orange-dark); }

/* Hero product collage from real photos */
.hero-collage { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(2, 1fr); gap: 10px; aspect-ratio: 1.18 / 1; }
.collage-item { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 8px 24px rgba(0,0,0,.18); }
.collage-item img { width: 100%; height: 100%; object-fit: cover; }
.collage-item.c0 { grid-column: span 2; grid-row: span 2; }
.collage-item.c0 img { object-fit: cover; }

/* ---- Info cards ---- */
.info-cards { background: #F2F6FC; border-bottom: 1px solid #DCE6F5; }
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; padding-top: 30px; padding-bottom: 30px; }
.info-card { display: flex; gap: 16px; align-items: flex-start; }
.info-ic { width: 44px; height: 44px; border-radius: 10px; background: #fff; border: 1px solid #DCE6F5; display: grid; place-items: center; font-size: 22px; flex-shrink: 0; }
.info-card strong { display: block; color: var(--navy); font-size: 16px; margin-bottom: 3px; }
.info-card span { display: block; color: #5c6472; font-size: 13px; line-height: 1.5; }

/* ---- Section head left align + round categories ---- */
.section-head.left { text-align: left; margin-left: 0; }
.cat-label { font-size: 15px; color: var(--muted); margin: 0 0 18px; font-weight: 600; }
.round-cats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; }
.round-cat { text-align: center; }
.round-img {
  width: 100%; aspect-ratio: 1 / 1; border-radius: 50%; background-size: cover; background-position: center;
  background-color: var(--sky); border: 3px solid #fff; box-shadow: 0 4px 16px rgba(11,46,123,.12);
  display: grid; place-items: center; font-size: 42px; transition: transform .2s, border-color .2s;
}
.round-cat:hover .round-img { transform: translateY(-4px); border-color: var(--orange); }
.round-cat strong { display: block; margin-top: 12px; font-size: 15px; color: var(--ink); }
.round-cat small { display: block; font-size: 12px; color: var(--muted); }

/* ---- Responsive ---- */
@media (max-width: 980px) {
  .home-hero .hero-inner { grid-template-columns: 1fr; gap: 34px; }
  .hero-collage { max-width: 560px; margin: 0 auto; width: 100%; }
  .info-grid { grid-template-columns: 1fr; gap: 18px; }
  .round-cats { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .home-header-row { flex-wrap: wrap; gap: 10px; padding: 10px 16px; }
  .home-search { order: 3; max-width: none; width: 100%; flex-basis: 100%; }
  .home-header-actions { gap: 12px; }
  .hh-login, .hh-currency { display: none; }
  .home-header .menu-toggle { display: block; }
  .home-subnav-row { padding: 0 16px; gap: 18px; }
  .hero-copy h1 { font-size: 40px; }
  .promo-card { min-width: 108px; padding: 10px 12px; }
  .promo-card strong { font-size: 17px; }
  .round-cats { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .topbar { font-size: 11px; }
}

/* ============================================================
   Petfairs-style product sections, cards, carousels, reviews
   ============================================================ */
.pf-product-section { padding: 52px 0 8px; background: #fff; }
.pf-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; }
.pf-section-head h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 700; letter-spacing: -0.8px; margin: 0; color: #16151A; }
.pf-viewall { color: var(--navy); font-size: 14px; font-weight: 700; white-space: nowrap; }
.pf-viewall:hover { text-decoration: underline; }
.pf-section-sub { color: #6E6660; font-size: 14px; margin: 8px 0 26px; }

/* Carousel */
.pf-carousel { position: relative; margin-bottom: 20px; }
.pf-carousel-track { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 8px; }
.pf-carousel-track::-webkit-scrollbar { display: none; }
.pf-carousel-track > * { flex: 0 0 226px; scroll-snap-align: start; }
.pf-carousel-nav {
  position: absolute; top: 38%; width: 40px; height: 40px; border-radius: 50%;
  border: 0; background: var(--navy); color: #fff; font-size: 26px; line-height: 1;
  cursor: pointer; box-shadow: 0 4px 14px rgba(11,46,123,.3); z-index: 3;
}
.pf-carousel-nav:hover { background: var(--navy-dark); }
.pf-carousel-nav.prev { left: -14px; }
.pf-carousel-nav.next { right: -14px; }
.carousel-banner {
  background: linear-gradient(160deg,#EAF2FF 0%,#D8E7FF 100%);
  border-radius: 14px; padding: 26px 22px; display: flex; flex-direction: column;
  justify-content: flex-end; min-height: 300px; border: 1px solid #DCE6F5;
}
.cb-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 1.3px; color: var(--navy); margin-bottom: 10px; text-transform: uppercase; }
.carousel-banner strong { font-size: 26px; line-height: 1.15; color: var(--navy); letter-spacing: -0.8px; }
.carousel-banner em { font-style: normal; font-size: 12px; color: #5c6472; margin: 10px 0 18px; }
.cb-btn { align-self: flex-start; background: var(--orange); color: #fff; font-size: 12px; font-weight: 700; padding: 9px 16px; border-radius: 999px; }
.cb-btn:hover { background: var(--orange-dark); }

/* Petfairs-style card */
.pf-card { border: 1px solid #E3E8F0; border-radius: 12px; background: #fff; }
.pf-card:hover { box-shadow: 0 8px 24px rgba(11,46,123,.12); }
.pf-card .card-media { aspect-ratio: 1/1; background: #fff; border-radius: 12px 12px 0 0; }
.pf-card .card-media img { object-fit: contain; }
.pf-tags { position: absolute; top: 8px; left: 8px; display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.pf-tag { font-size: 10px; font-weight: 700; padding: 3px 7px; border-radius: 4px; line-height: 1.2; }
.pf-tag-blue { background: #E8F1FF; color: var(--navy); }
.pf-tag-green { background: #E6F6EE; color: #0B7A4B; }
.pf-tag-orange { background: #FFF0E5; color: #C45500; }
.pf-card .card-body { padding: 14px; }
.pf-price { font-size: 20px; font-weight: 800; color: #16151A; letter-spacing: -0.5px; }
.pf-card .card-title { font-size: 13px; font-weight: 600; line-height: 1.4; margin: 8px 0 6px; color: #24212E; min-height: 36px; }
.pf-card .card-title a:hover { color: var(--navy); text-decoration: underline; }
.pf-moq { font-size: 11px; color: #6E6660; }
.pf-added { font-size: 11px; color: #6E6660; margin: 6px 0 12px; }
.pf-card .card-bottom { gap: 8px; }
.pf-enquire { border: 1.5px solid var(--navy); color: var(--navy); background: #fff; border-radius: 6px; padding: 8px 12px; font-size: 12px; font-weight: 700; flex: 1; }
.pf-enquire:hover { background: var(--navy); color: #fff; }
.pf-card .btn-cart { border: 1.5px solid var(--line); background: #fff; border-radius: 6px; padding: 8px 10px; font-size: 12px; font-weight: 700; color: var(--navy); }

/* 6-column grid (You may also like) */
.grid-6 { grid-template-columns: repeat(6, 1fr); gap: 12px; }
.grid-6 .pf-card .card-title { font-size: 12px; }

/* Reviews */
.pf-reviews { background: #EDF3FA; padding: 64px 0; margin-top: 60px; }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review-card { background: #fff; border-radius: 12px; padding: 24px; box-shadow: 0 2px 10px rgba(11,46,123,.05); }
.rv-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.rv-avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.rv-head strong { font-size: 14px; }
.rv-role { font-size: 11px; color: #6E6660; }
.rv-stars { color: #F5A623; font-size: 15px; margin: 12px 0 8px; letter-spacing: 2px; }
.review-card p { font-size: 13px; color: #4a4a52; line-height: 1.6; margin: 0 0 14px; }
.review-card small { font-size: 11px; color: #8a8a92; }

@media (max-width: 1100px) {
  .grid-6 { grid-template-columns: repeat(3, 1fr); }
  .review-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .grid-6 { grid-template-columns: repeat(2, 1fr); }
  .pf-carousel-track > * { flex-basis: 180px; }
  .pf-section-head h2 { font-size: 22px; }
}

/* Petfairs-style deep navy 5-column footer */
.pf-footer { background: var(--navy); color: rgba(255,255,255,.75); padding: 56px 0 28px; }
.pf-footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1.1fr; gap: 34px; }
.pf-footer .brand { color: #fff; font-size: 24px; font-weight: 800; }
.pf-footer .brand img { width: 34px; height: 34px; border-radius: 8px; }
.pf-footer-line { width: 88px; height: 2px; background: var(--orange); margin: 10px 0 16px; }
.pf-footer-brand strong { display: block; color: #fff; font-style: italic; font-size: 14px; margin-bottom: 8px; }
.pf-footer-brand p { font-size: 12px; line-height: 1.6; margin: 0; max-width: 200px; }
.pf-social { display: flex; gap: 10px; margin-top: 18px; }
.pf-social span { width: 26px; height: 26px; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 700; }
.pf-footer-col h4 { color: #fff; font-size: 14px; margin: 2px 0 16px; font-weight: 700; }
.pf-footer-col a, .pf-footer-col p { display: block; color: rgba(255,255,255,.72); font-size: 12px; margin: 0 0 10px; line-height: 1.5; }
.pf-footer-col a:hover { color: var(--orange); text-decoration: underline; }
.pf-footer .footer-bottom { border-top: 1px solid rgba(255,255,255,.14); margin-top: 36px; padding-top: 20px; text-align: center; font-size: 12px; color: rgba(255,255,255,.6); }
@media (max-width: 980px) { .pf-footer-grid { grid-template-columns: repeat(2,1fr); gap: 24px; } }
@media (max-width: 640px) { .pf-footer-grid { grid-template-columns: 1fr 1fr; } .pf-footer-brand { grid-column: 1 / -1; } }

/* ============================================================
   Inner pages (products / product / about / contact) — Petfairs skin
   ============================================================ */
.pf-page-hero { background: #EDF3FA; border-bottom: 1px solid #DCE6F5; padding: 40px 0 34px; }
.pf-page-hero h1 { color: var(--navy); font-size: clamp(28px,3.4vw,38px); letter-spacing: -1px; }
.pf-page-hero p { color: #5c6472; font-size: 15px; }
.pf-page-hero .breadcrumb { color: #7a8290; margin-bottom: 12px; font-size: 13px; }
.pf-page-hero .breadcrumb a { color: var(--navy); }

/* catalog filters + sort */
.sidebar { background: #fff; border: 1px solid #E3E8F0; border-radius: 12px; padding: 20px; }
.sidebar-head h3 { color: var(--navy); font-size: 19px; }
.sidebar-head button { color: var(--orange); font-weight: 700; }
.filter-group h4 { color: #16151A; font-size: 14px; }
.filter-opt:hover { color: var(--navy); }
.filter-opt input:checked + span { color: var(--navy); font-weight: 700; }
/* 静态类目页侧栏链接 */
.cat-side-list { display: flex; flex-direction: column; gap: 2px; }
.cat-side-link { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 7px 10px; border-radius: 8px; font-size: 14px; color: var(--navy); text-decoration: none; }
.cat-side-link:hover { background: var(--sky); }
.cat-side-link.active { background: var(--sky); color: var(--orange-dark); font-weight: 700; }
.cat-side-link .num { color: #7a86a0; font-size: 12px; flex-shrink: 0; }
.cat-sidebar .filter-group h4 a { color: inherit; text-decoration: none; }
.cat-sidebar .filter-group h4 a:hover { color: var(--orange); }

/* 侧栏可折叠分类树 */
.sidebar .ft-node { border-bottom: 1px solid #f1f3f7; }
.sidebar .ft-node:last-child { border-bottom: 0; }
.sidebar .ft-row { display: flex; align-items: center; }
.sidebar .ft-row .filter-opt { flex: 1; min-width: 0; }
.sidebar .ft-toggle {
  flex: 0 0 22px; height: 22px; border: 0; background: #f4f7fc; color: #6b7893;
  border-radius: 5px; cursor: pointer; font-size: 14px; line-height: 1; padding: 0;
}
.sidebar .ft-toggle:hover, .sidebar .ft-toggle.open { background: var(--orange); color: #fff; }
.sidebar .ft-children { padding: 2px 0 8px 26px; }
.sidebar .ft-children a {
  display: flex; align-items: center; gap: 6px; padding: 5px 0;
  font-size: 12.5px; color: #5a6780; text-decoration: none;
}
.sidebar .ft-children a:hover { color: var(--orange); }
.sidebar .ft-children a .num { margin-left: auto; color: #a3adc0; font-size: 11px; }
.catalog-title-row h1 { color: var(--navy); font-size: 26px; letter-spacing: -0.6px; }
.count { color: #6E6660; }
.sort-bar { background: #F6F8FB; border: 1px solid #E3E8F0; border-radius: 10px; padding: 10px 14px; }
.sort-bar select { border: 1px solid #DCE6F5; border-radius: 6px; color: var(--navy); font-weight: 600; }
.view-toggle button { border: 1px solid #DCE6F5; background: #fff; color: var(--navy); border-radius: 6px; }
.view-toggle button.active { background: var(--navy); color: #fff; }
.pagination button { border: 1px solid #DCE6F5; color: var(--navy); border-radius: 6px; }
.pagination button.active, .pagination button:hover { background: var(--navy); color: #fff; }
.catalog-grid { gap: 14px; }

/* buttons primary -> navy across inner pages */
body:not(.home) .btn-primary, body:not(.home) .cta-band .btn { background: var(--orange); color: #fff; }
body:not(.home) .btn-primary:hover { background: var(--orange-dark); }
body:not(.home) .features { background: var(--navy); }
body:not(.home) .cta-band { background: var(--navy); }

/* detail page */
body:not(.home) .detail-price { color: var(--navy); }
body:not(.home) .card-cat { color: var(--orange); }
body:not(.home) .detail-features li::before { color: var(--orange); }

/* mobile subnav toggle */
@media (max-width: 640px) {
  .home-subnav-row { display: none; flex-wrap: wrap; height: auto; padding: 10px 16px; gap: 12px; }
  .home-subnav-row.open { display: flex; }
  .home-subnav .sn-right { margin-left: 0; }
}

/* ---------- Categories mega menu (Petfairs style) ---------- */
.home-subnav-row { overflow: visible; }
.mm-wrap { position: relative; height: 100%; display: flex; align-items: center; }
.home-subnav .sn-categories { cursor: pointer; position: relative; z-index: 2; }

.mega-menu {
  position: absolute; top: 100%; left: 0; z-index: 100;
  width: min(1080px, calc(100vw - 48px));
  background: #fff; color: #1a2340;
  border: 1px solid #e2e8f2; border-radius: 0 0 16px 16px;
  box-shadow: 0 24px 60px rgba(11,46,123,.18);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .18s, transform .18s, visibility .18s;
}
.mm-wrap.open .mega-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.mm-inner { display: grid; grid-template-columns: 210px 1fr; min-height: 380px; }

.mm-side {
  background: #f4f7fc; border-right: 1px solid #e2e8f2;
  padding: 18px 0; border-radius: 0 0 0 16px;
}
.mm-side-title, .mm-main-title {
  font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--orange); padding: 0 20px 12px;
}
.home-subnav .mega-menu .mm-pet {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 20px; font-size: 14px; font-weight: 600; color: #1a2340;
  text-decoration: none; border-left: 3px solid transparent; opacity: 1;
}
.home-subnav .mega-menu .mm-pet:hover { background: #fff; border-left-color: var(--orange); color: var(--navy); text-decoration: none; }
.mm-pet-num { margin-left: auto; font-size: 11px; font-weight: 500; color: #8a97b0; }
.mm-pet b { color: #b8c2d6; font-weight: 400; }
.mm-all { margin-top: 10px; border-top: 1px solid #e2e8f2; padding-top: 14px; }

.mm-main { padding: 18px 24px 22px; }
.mm-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px 22px; }
.mm-col { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.home-subnav .mega-menu .mm-col-title {
  display: flex; align-items: center; gap: 4px;
  font-size: 14px; font-weight: 700; color: var(--navy); text-decoration: none; opacity: 1;
  padding-bottom: 6px; border-bottom: 1px solid #eef1f6; margin-bottom: 2px;
}
.mm-col-title b { margin-left: auto; color: var(--orange); }
.home-subnav .mega-menu .mm-col-title:hover { color: var(--orange); text-decoration: none; }
.home-subnav .mega-menu .mm-col > a:not(.mm-col-title):not(.mm-viewall) {
  font-size: 12.5px; color: #5a6780; text-decoration: none; line-height: 1.35; opacity: 1;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.home-subnav .mega-menu .mm-col > a:not(.mm-col-title):not(.mm-viewall):hover { color: var(--orange); text-decoration: underline; }
.home-subnav .mega-menu .mm-viewall { font-size: 12px; font-weight: 700; color: var(--orange); text-decoration: none; margin-top: 2px; opacity: 1; }
.home-subnav .mega-menu .mm-viewall:hover { text-decoration: underline; }
/* Categories 下拉二级子类 */
.home-subnav .mega-menu .mm-sub {
  display: flex; align-items: center; font-size: 12px; color: #5a6780;
  text-decoration: none; padding: 2px 0; opacity: 1;
}
.home-subnav .mega-menu .mm-sub span { margin-left: auto; font-size: 10.5px; color: #a3adc0; }
.home-subnav .mega-menu .mm-sub:hover { color: var(--orange); text-decoration: none; }
.home-subnav .mega-menu .mm-feat {
  font-size: 11px; color: #93a0b8; text-decoration: none; opacity: 1;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin: 3px 0 1px;
}
.home-subnav .mega-menu .mm-feat:hover { color: var(--orange); text-decoration: underline; }

@media (max-width: 900px) {
  .mega-menu { width: calc(100vw - 24px); left: -8px; }
  .mm-inner { grid-template-columns: 1fr; }
  .mm-side { display: none; }
  .mm-cols { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .home-subnav-row { overflow-x: auto; }
  .mega-menu { position: static; width: 100%; box-shadow: none; border-radius: 0; border: 0; }
  .mm-wrap { width: 100%; }
}

/* ===== 商品规格 SKU 选择器（详情页） ===== */
.variant-picker { margin: 22px 0 26px; padding: 18px; background: #f7f9fc; border: 1px solid #dbe4f0; border-radius: 10px; }
.variant-label { font-size: 14px; font-weight: 700; color: #0B2E7B; margin-bottom: 12px; display: flex; justify-content: space-between; align-items: center; }
.variant-label span { font-size: 12px; font-weight: 500; color: #64748b; background: #e8eef7; padding: 3px 9px; border-radius: 12px; }
.variant-options { display: grid; grid-template-columns: repeat(auto-fill, minmax(155px, 1fr)); gap: 9px; }
.variant-opt {
  display: flex; flex-direction: column; align-items: flex-start; gap: 3px;
  padding: 10px 12px; background: #fff; border: 1.5px solid #dbe4f0; border-radius: 8px;
  cursor: pointer; text-align: left; font-family: inherit; transition: all .15s;
}
.variant-opt:hover { border-color: #FF6B00; }
.variant-opt.active { border-color: #FF6B00; background: #fff8f2; box-shadow: 0 0 0 2px rgba(255,107,0,.12); }
.variant-opt .v-spec { font-size: 13px; font-weight: 600; color: #1e293b; }
.variant-opt .v-price { font-size: 15px; font-weight: 700; color: #0B2E7B; }
.variant-opt.active .v-price { color: #FF6B00; }
.variant-opt .v-moq { font-size: 11px; color: #64748b; }
.variant-note { font-size: 12px; color: #64748b; margin-top: 12px; line-height: 1.5; }
@media (max-width: 640px) {
  .variant-options { grid-template-columns: repeat(2, 1fr); }
  .variant-picker { padding: 14px; }
}

/* Dog/Cat 下拉：单栏「按类别选购」列表 */
.home-subnav .mega-menu.mm-pet-menu .mm-inner.mm-cat-single { display: block; min-height: 0; }
.home-subnav .mega-menu.mm-pet-menu .mm-inner.mm-cat-single .mm-main { padding: 16px 0 14px; }
.home-subnav .mega-menu.mm-pet-menu .mm-side-title { padding: 0 20px 10px; color: var(--orange); font-size: 12px; font-weight: 700; letter-spacing: .5px; }
.home-subnav .mega-menu.mm-pet-menu .mm-cols { display: block; }
.home-subnav .mega-menu.mm-pet-menu .mm-cat-row {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 20px; text-decoration: none; font-size: 15px; font-weight: 600;
  color: #1e293b; opacity: 1; border-left: 3px solid transparent;
}
.home-subnav .mega-menu.mm-pet-menu .mm-cat-row:hover { background: #fff; border-left-color: var(--orange); color: var(--navy); text-decoration: none; }
.home-subnav .mega-menu.mm-pet-menu .mm-cat-row .mm-cat-num { margin-left: auto; font-size: 13px; font-weight: 500; color: #8a97b0; }
.home-subnav .mega-menu.mm-pet-menu .mm-cat-row b { color: #b8c2d6; font-weight: 400; }
/* Dog/Cat 下拉二级子类（箭头展开） */
.home-subnav .mega-menu.mm-pet-menu .mm-cat-group { border-bottom: 1px solid #f1f3f7; }
.home-subnav .mega-menu.mm-pet-menu .mm-cat-group:last-child { border-bottom: 0; }
.home-subnav .mega-menu.mm-pet-menu .mm-cat-arrow {
  display: inline-flex; align-items: center; justify-content: center;
  width: 20px; height: 20px; margin-left: 6px; border-radius: 4px;
  font-size: 15px; cursor: pointer;
}
.home-subnav .mega-menu.mm-pet-menu .mm-cat-arrow:hover { background: #ffede0; color: var(--orange); }
.home-subnav .mega-menu.mm-pet-menu .mm-subrow {
  display: none; padding: 2px 20px 10px 34px; background: #fafbfd;
}
.home-subnav .mega-menu.mm-pet-menu .mm-cat-group.open .mm-subrow { display: block; }
.home-subnav .mega-menu.mm-pet-menu .mm-subrow a {
  display: flex; align-items: center; gap: 6px; padding: 5px 0;
  font-size: 12.5px; color: #5a6780; text-decoration: none;
}
.home-subnav .mega-menu.mm-pet-menu .mm-subrow a:hover { color: var(--orange); text-decoration: none; }
.home-subnav .mega-menu.mm-pet-menu .mm-subrow a span { margin-left: auto; font-size: 11px; color: #a3adc0; }
@media (max-width: 900px) {
  .home-subnav .mega-menu.mm-pet-menu .mm-cat-row { padding: 11px 14px; font-size: 14px; }
  .home-subnav .mega-menu.mm-pet-menu .mm-subrow { padding-left: 24px; }
}
.home-subnav .mega-menu.mm-pet-menu { width: 340px; }
@media (max-width: 900px) { .home-subnav .mega-menu.mm-pet-menu { width: 100%; } }

/* ===== 全站统一询价表单弹层 + contact 内嵌表单 ===== */
#inq-modal { display: none; }
#inq-modal.open { display: block; }
.inq-backdrop { position: fixed; inset: 0; background: rgba(11,26,54,.55); z-index: 900; }
.inq-card {
  position: fixed; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: min(480px, calc(100vw - 24px)); max-height: calc(100vh - 40px); overflow-y: auto;
  background: #fff; border-radius: 16px; padding: 26px 26px 22px; z-index: 901;
  box-shadow: 0 24px 60px rgba(11,46,123,.28);
}
.inq-card h3 { margin: 0 0 6px; color: var(--navy); font-size: 20px; }
.inq-sub { font-size: 13px; color: #5a6780; margin: 0 0 16px; line-height: 1.5; }
.inq-sub strong { color: var(--navy); }
.inq-close {
  position: absolute; top: 12px; right: 12px; width: 32px; height: 32px;
  border: 1px solid #dce6f5; background: #fff; border-radius: 8px;
  font-size: 18px; color: #64748b; cursor: pointer; line-height: 1;
}
.inq-close:hover { background: var(--orange); border-color: var(--orange); color: #fff; }
#inq-form input, #inq-form textarea, .contact-form input, .contact-form textarea {
  width: 100%; padding: 11px 13px; border: 1px solid #dce6f5; border-radius: 8px;
  font-family: inherit; font-size: 14px; margin-bottom: 10px; outline: none; color: #1e293b;
}
#inq-form input:focus, #inq-form textarea:focus, .contact-form input:focus, .contact-form textarea:focus { border-color: var(--orange); }
.inq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.inq-grid input { margin-bottom: 10px; }
.inq-hint { display: block; margin-top: 10px; font-size: 12px; color: #8a97b0; text-align: center; }
.inq-success { text-align: center; padding: 18px 6px; }
.inq-success .ic { font-size: 42px; margin-bottom: 10px; }
.inq-success h3 { color: var(--navy); }
.inq-success p { font-size: 14px; color: #5a6780; line-height: 1.6; }
.contact-form { margin: 6px 0 18px; }
@media (max-width: 640px) {
  .inq-card { padding: 20px 16px 16px; }
  .inq-grid { grid-template-columns: 1fr; }
}
