:root {
  /* Alibaba-style brand orange */
  --bg: #fff8f3;
  --paper: #ffffff;
  --ink: #2b241e;
  --muted: #8a7568;
  --accent: #ff6600;
  --accent-dark: #e55a00;
  --accent-light: #fff0e6;
  --line: #ffe4d1;
  --shadow: 0 8px 26px rgba(255, 102, 0, 0.1);
  --shadow-strong: 0 16px 30px rgba(255, 102, 0, 0.14);
  --header-bg: rgba(255, 248, 243, 0.95);
  --hero-overlay: rgba(255, 248, 243, 0.78);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Lato", Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
}

h1,
h2,
h3,
h4 {
  font-family: "Playfair Display", Georgia, serif;
  letter-spacing: 0.02em;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--header-bg);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 16px;
}

.brand {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.28rem;
  font-weight: 700;
  color: var(--accent);
}

.nav {
  display: flex;
  gap: 22px;
}

.nav a {
  font-size: 0.95rem;
  font-weight: 600;
  transition: color 0.22s ease;
}

.nav a:hover {
  color: var(--accent-dark);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 10px;
  width: 42px;
  height: 42px;
  font-size: 20px;
}

.lang-switch {
  display: flex;
  gap: 8px;
}

.lang-btn {
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--muted);
  border-radius: 999px;
  padding: 6px 11px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}

.lang-btn.active {
  border-color: var(--accent);
  color: var(--accent-dark);
}

.hero {
  padding: 92px 0 84px;
  background:
    linear-gradient(var(--hero-overlay), var(--hero-overlay)),
    url("https://images.unsplash.com/photo-1617038220319-276d3cfab638?auto=format&fit=crop&w=1700&q=80") center / cover;
}

/* Hero Swiper carousel — 1920×1280 (3:2), match pet-site banner */
.hero-swiper-section {
  width: 100%;
  overflow: hidden;
  background: #2b241e;
}

.hero-swiper {
  width: 100%;
  height: min(88.89vw, 77vh);
  min-height: 293px;
  max-height: 1137px;
}

@media (max-width: 767px) {
  .hero-swiper {
    height: min(100vw, 64vh);
    min-height: 267px;
    max-height: none;
  }
}

.hero-swiper .swiper-wrapper,
.hero-slide {
  height: 100%;
}

.hero-slide {
  position: relative;
  overflow: hidden;
  background: #2b241e;
}

.hero-slide__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: #2b241e;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  transform: scale(1);
  transition: transform 8s ease;
}

.hero-slide__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transform: scale(1);
  transition: transform 8s ease;
  background-color: #2b241e;
}

.swiper-slide-active .hero-slide__bg,
.swiper-slide-active .hero-slide__media {
  transform: scale(1.03);
}

.hero-slide__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-slide__overlay--warm {
  background: linear-gradient(105deg, rgba(43, 36, 30, 0.72) 0%, rgba(255, 102, 0, 0.35) 55%, rgba(255, 102, 0, 0.1) 100%);
}

.hero-slide__overlay--gold {
  background: linear-gradient(105deg, rgba(35, 28, 20, 0.74) 0%, rgba(180, 120, 40, 0.38) 55%, rgba(255, 180, 80, 0.12) 100%);
}

.hero-slide__overlay--rose {
  background: linear-gradient(105deg, rgba(40, 30, 32, 0.74) 0%, rgba(180, 90, 70, 0.34) 55%, rgba(255, 140, 120, 0.1) 100%);
}

.hero-slide__content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  color: #fff;
  pointer-events: none;
}

.hero-slide__inner {
  max-width: 640px;
  pointer-events: auto;
}

.hero-slide__eyebrow {
  color: #ffd4b8;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

.hero-slide__title {
  font-size: clamp(1.5rem, 3.2vw, 3rem);
  margin: 12px 0 18px;
  color: #fff;
  line-height: 1.2;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
  max-width: 38rem;
}

.hero-slide__outline-btn {
  border-color: rgba(255, 255, 255, 0.85);
  color: #fff;
}

.hero-slide__outline-btn:hover {
  background: rgba(255, 255, 255, 0.12);
}

.hero-swiper-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.45);
  opacity: 1;
}

.hero-swiper-pagination .swiper-pagination-bullet-active {
  background: var(--accent);
  width: 28px;
  border-radius: 999px;
}

.hero-swiper--static .swiper-slide:not(:first-child) {
  display: none;
}

.hero-swiper--static .hero-swiper-pagination {
  display: none;
}

.hero-swiper:not(.swiper-initialized) .swiper-slide {
  opacity: 1 !important;
}

.product-card-media-wrap {
  position: relative;
}

.compare-add-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  box-shadow: var(--shadow);
  cursor: pointer;
  font-size: 0.95rem;
  line-height: 1;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.compare-add-btn:hover {
  background: var(--accent-light);
  color: var(--accent-dark);
  transform: scale(1.05);
}

.compare-add-btn.is-active {
  background: var(--accent);
  color: #fff;
}

.compare-bar {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 45;
  background: #2b241e;
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.18);
  padding: 12px 0;
}

.compare-bar.hidden {
  display: none;
}

.compare-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.compare-bar-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  min-width: 0;
}

.compare-bar-label {
  font-size: 0.92rem;
  font-weight: 700;
  white-space: nowrap;
}

.compare-bar-items {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.compare-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.78rem;
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.compare-chip button {
  border: none;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  padding: 0;
}

.compare-bar-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.compare-bar-btn {
  font-size: 0.88rem;
  padding: 9px 16px;
}

.compare-bar .btn-outline {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.compare-bar .btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
}

.compare-page-head {
  align-items: flex-start;
  margin-bottom: 24px;
}

.compare-table-wrap {
  overflow-x: auto;
}

.compare-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
}

.compare-table th,
.compare-table td {
  border: 1px solid var(--line);
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
}

.compare-table thead th {
  background: var(--accent-light);
}

.compare-feature-col {
  width: 160px;
  min-width: 140px;
}

.compare-thumb {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
  margin-bottom: 8px;
}

.compare-product-name {
  display: block;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--accent-dark);
}

.compare-remove-link {
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 0.82rem;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
}

.compare-empty {
  text-align: center;
  padding: 48px 24px;
}

.compare-empty p {
  color: var(--muted);
  margin-bottom: 20px;
}

.compare-inquiry-btn {
  white-space: nowrap;
}

.hero-content {
  max-width: 640px;
}

.eyebrow {
  color: var(--accent-dark);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 700;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin: 12px 0;
}

.hero p {
  color: var(--muted);
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 700;
  padding: 11px 20px;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-dark);
}

.btn-outline {
  border-color: var(--accent);
  color: var(--accent-dark);
  background: transparent;
}

.btn-outline:hover {
  background: var(--accent-light);
}

.section {
  padding: 84px 0;
}

.section-soft {
  background: var(--accent-light);
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.text-link {
  color: var(--accent-dark);
  font-weight: 700;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

/* Products listing: 4 columns × 4 rows per page */
body[data-page="products"] .product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

body[data-page="products"] .product-card img {
  aspect-ratio: 1 / 1;
}

body[data-page="products"] .card-body {
  padding: 12px;
}

body[data-page="products"] .product-name {
  font-size: 1rem;
}

body[data-page="products"] .card-actions {
  flex-direction: column;
  gap: 8px;
}

body[data-page="products"] .card-actions .btn {
  padding: 8px 10px;
  font-size: 0.82rem;
}

.product-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}

.product-pagination .page-btn {
  min-width: 40px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.product-pagination .page-btn:hover:not(:disabled) {
  border-color: var(--accent);
  color: var(--accent-dark);
  background: var(--accent-light);
}

.product-pagination .page-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.product-pagination .page-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.product-pagination .page-info {
  margin: 0 8px;
  color: var(--muted);
  font-size: 0.9rem;
}

.product-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-strong);
}

.product-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.product-card:hover img {
  transform: scale(1.03);
}

.product-card-media {
  display: block;
  color: inherit;
}

.product-card-media:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.card-body {
  padding: 15px;
}

.product-meta {
  font-size: 0.82rem;
  color: var(--muted);
}

.product-name {
  margin: 8px 0 4px;
  font-size: 1.12rem;
}

.product-name a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.product-name a:hover {
  color: var(--accent-dark);
}

.product-price {
  color: var(--accent-dark);
  font-weight: 700;
}

.card-actions {
  margin-top: 12px;
  display: flex;
  gap: 10px;
}

.card-actions .btn {
  width: 100%;
  font-size: 0.9rem;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  align-items: center;
}

.cover-image {
  width: 100%;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.filter-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.filter-row select {
  min-width: 190px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  background: var(--paper);
}

.empty-note {
  margin: 8px 0 0;
  color: var(--muted);
}

.detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.detail-gallery img {
  width: 100%;
  border-radius: 16px;
  margin-bottom: 12px;
}

.chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 14px 0;
}

.chip {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 12px;
  color: var(--muted);
  font-size: 0.8rem;
}

.panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 18px;
}

form {
  display: grid;
  gap: 12px;
}

label {
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  font-family: inherit;
  background: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.social-row {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

.social-icon {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
}

.social-icon:hover {
  border-color: var(--accent);
  color: var(--accent-dark);
}

.breadcrumb-wrap {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 0.84rem;
  color: var(--muted);
}

.breadcrumb a {
  color: var(--accent-dark);
}

.crumb-sep {
  color: #c9a88a;
}

.site-footer {
  margin-top: 64px;
  border-top: 1px solid var(--line);
  padding: 32px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 20px;
}

.footer-links-col {
  display: grid;
  gap: 8px;
}

.footer-links {
  display: flex;
  gap: 16px;
}

.footer-bottom {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

.faq-item + .faq-item {
  margin-top: 12px;
}

.faq-q {
  font-weight: 700;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(47, 43, 40, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 14px;
  z-index: 40;
}

.modal.open {
  display: flex;
}

.modal-card {
  width: min(620px, 100%);
  max-height: 90vh;
  overflow: auto;
}

.toast-panel h3 {
  margin-top: 0;
}

.back-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  border: 1px solid var(--accent);
  background: var(--paper);
  color: var(--accent-dark);
  border-radius: 999px;
  padding: 9px 14px;
  font-size: 0.82rem;
  font-weight: 700;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 35;
}

.back-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: var(--header-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  color: var(--accent-dark);
}

.hidden {
  display: none !important;
}

.page-loader.hidden {
  display: none;
}

.loader-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--accent);
  animation: pulse 1s infinite ease-in-out;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(0.8);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.15);
    opacity: 1;
  }
}

.privacy-panel {
  margin-top: 14px;
}

@media (max-width: 1200px) {
  body[data-page="products"] .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body[data-page="products"] .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .two-col,
  .detail-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 4%;
    right: 4%;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow);
    padding: 12px;
    flex-direction: column;
    gap: 12px;
  }
  .nav.open {
    display: flex;
  }
  .lang-switch {
    margin-left: auto;
  }
  .product-grid {
    grid-template-columns: 1fr;
  }

  body[data-page="products"] .product-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-swiper {
    height: min(100vw, 64vh);
    min-height: 320px;
    max-height: none;
  }

  .compare-bar-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .compare-bar-actions {
    width: 100%;
  }

  .compare-bar-actions .compare-bar-btn {
    flex: 1;
    text-align: center;
  }
}

.section-detail {
  padding-top: 36px;
}

@media (prefers-reduced-motion: no-preference) {
  html:has(body.detail-page) {
    scroll-behavior: smooth;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide__bg,
  .hero-slide__media,
  .swiper-slide-active .hero-slide__bg,
  .swiper-slide-active .hero-slide__media {
    transform: none;
    transition: none;
  }
}

.detail-page .detail-layout {
  display: block;
}

.pd-top {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 22px;
  align-items: start;
}

.pd-gallery-card,
.pd-summary-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 16px;
}

/* 缩略图在窄屏全宽时易与右下角固定在线客服叠层；抬高图库区保证可点 */
body.detail-page .pd-gallery-card {
  position: relative;
  z-index: 37;
}

.pd-main-media-wrap {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 12px;
}

.pd-main-media {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: var(--accent-light);
  border: 1px solid var(--line);
  min-height: 420px;
  cursor: crosshair;
}

.pd-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pd-lens {
  position: absolute;
  width: 96px;
  height: 96px;
  left: 0;
  top: 0;
  box-sizing: border-box;
  border: 2px solid var(--accent);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.22);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55);
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  z-index: 2;
  transition: opacity 0.08s ease;
}

.pd-main-media.is-zooming .pd-lens {
  opacity: 1;
  visibility: visible;
}

.pd-zoom-pane {
  border-radius: 14px;
  border: 1px solid var(--line);
  background-color: #fff;
  background-repeat: no-repeat;
  display: none;
  align-self: stretch;
  min-height: 280px;
}

.pd-zoom-pane.active {
  display: block;
}

.pd-thumbs {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.pd-thumb {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  padding: 0;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.pd-thumb img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.pd-thumb.active,
.pd-thumb:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
}

.pd-title {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2rem);
}

.pd-subline {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.pd-price-box {
  margin: 14px 0;
  background: var(--accent-light);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
}

.pd-price {
  color: var(--accent-dark);
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0;
}

.pd-meta-grid {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 10px 12px;
  margin: 12px 0;
  font-size: 0.92rem;
}

.pd-meta-grid dt {
  color: var(--muted);
  font-weight: 700;
}

.pd-meta-grid dd {
  margin: 0;
}

.pd-option-group + .pd-option-group {
  margin-top: 11px;
}

.pd-option-label {
  display: block;
  font-size: 0.86rem;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 7px;
}

.pd-option-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pd-option-btn {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 0.82rem;
  padding: 7px 12px;
  cursor: pointer;
}

.pd-option-btn.active {
  border-color: var(--accent);
  color: var(--accent-dark);
  background: var(--accent-light);
}

.pd-cta-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}

.pd-bottom {
  margin-top: 18px;
  display: grid;
  gap: 14px;
}

.pd-anchor-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  padding: 10px 14px;
  margin: 16px 0 0;
  position: sticky;
  top: 71px;
  z-index: 19;
  background: var(--header-bg);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(255, 102, 0, 0.08);
}

.pd-anchor-nav a {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--muted);
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.pd-anchor-nav a:hover {
  color: var(--accent-dark);
}

.pd-anchor-nav a.active {
  color: var(--accent-dark);
  background: var(--accent-light);
  border-color: var(--accent);
}

.pd-module {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 16px;
}

.pd-module[id] {
  scroll-margin-top: 120px;
}

.pd-module h3 {
  margin-top: 0;
}

.pd-spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.pd-spec-table th,
.pd-spec-table td {
  border-top: 1px solid var(--line);
  padding: 9px 8px;
  text-align: left;
}

.pd-spec-table th {
  width: 230px;
  color: var(--muted);
  font-weight: 700;
}

.pd-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.pd-detail-grid img {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--line);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.pd-faq-item + .pd-faq-item {
  margin-top: 8px;
}

.pd-faq-q {
  margin: 0;
  font-weight: 700;
}

.pd-faq-a {
  margin: 4px 0 0;
  color: var(--muted);
}

.live-chat-backdrop {
  position: fixed;
  inset: 0;
  z-index: 33;
  background: rgba(47, 43, 40, 0.34);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.live-chat-backdrop.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.live-chat-widget {
  position: fixed;
  right: 18px;
  bottom: 86px;
  z-index: 36;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.live-chat-toggle {
  border: 0;
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  padding: 11px 18px;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

.live-chat-toggle:hover {
  background: var(--accent-dark);
}

.live-chat-widget.is-open .live-chat-toggle {
  background: var(--ink);
}

.live-chat-panel {
  width: min(320px, calc(100vw - 36px));
  max-height: min(460px, 72vh);
  overflow: auto;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 14px 14px 16px;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.live-chat-widget.is-open .live-chat-panel {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  visibility: visible;
}

.live-chat-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.live-chat-panel-head h3 {
  margin: 0;
  font-size: 1.15rem;
}

.live-chat-close {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
  margin: -4px 0 0;
}

.live-chat-close:hover {
  color: var(--ink);
}

.live-chat-intro {
  margin: 8px 0 12px;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.55;
}

.live-chat-rows p {
  margin: 0 0 6px;
  font-size: 0.9rem;
}

.live-chat-rows p + p {
  margin-top: 2px;
}

.live-chat-link {
  color: var(--accent-dark);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.live-chat-hours-line {
  margin-top: 10px !important;
  font-size: 0.86rem;
  color: var(--ink);
}

.live-chat-muted {
  color: var(--muted);
  font-weight: 600;
  margin-right: 4px;
}

.live-chat-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 14px;
}

.live-chat-actions .btn {
  width: 100%;
  justify-content: center;
  text-align: center;
}

@media (max-width: 1020px) {
  .pd-top {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .pd-main-media-wrap {
    grid-template-columns: 1fr;
  }
  .pd-main-media {
    cursor: default;
  }
  .pd-zoom-pane {
    display: none !important;
  }
  .pd-lens {
    display: none !important;
  }
  .pd-anchor-nav {
    top: 71px;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }
  .pd-anchor-nav a {
    flex: 0 0 auto;
  }
  .pd-detail-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .pd-main-media {
    min-height: 320px;
  }
  .pd-thumbs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .pd-meta-grid {
    grid-template-columns: 1fr;
    gap: 5px;
  }
  .pd-spec-table th {
    width: 40%;
  }
  .pd-detail-grid {
    grid-template-columns: 1fr;
  }
  .pd-cta-row {
    grid-template-columns: 1fr;
  }
  .live-chat-widget {
    right: 12px;
    bottom: 78px;
  }
}

/* News & articles */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.news-card img {
  aspect-ratio: 16 / 10;
}

.news-date {
  display: block;
}

.news-excerpt {
  margin: 8px 0 12px;
  line-height: 1.55;
}

.news-read-more {
  font-size: 0.92rem;
}

.news-empty {
  color: var(--muted);
  padding: 24px 0;
}

.article-page {
  max-width: 820px;
  margin: 0 auto;
}

.article-header time {
  color: var(--muted);
  font-size: 0.9rem;
}

.article-header h1 {
  margin: 10px 0 0;
  font-family: var(--serif);
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  line-height: 1.25;
}

.article-hero {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 16px;
  margin: 28px 0 0;
}

.article-body {
  margin-top: 28px;
  line-height: 1.75;
  color: var(--ink);
}

.article-body h2,
.article-body h3 {
  margin: 1.4em 0 0.5em;
  font-family: var(--serif);
}

.article-body p {
  margin: 0 0 1em;
}

.article-body img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

.article-back {
  display: inline-block;
  margin-top: 36px;
  font-weight: 700;
  color: var(--accent-dark);
}

.article-empty {
  text-align: center;
  padding: 48px 20px;
}

.comments-section {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.comments-section h2 {
  font-family: var(--serif);
  font-size: 1.35rem;
}

.comments-note {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 8px 0 18px;
}

.comment-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}

.comment-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
}

.comment-author {
  font-weight: 700;
  margin: 0 0 6px;
}

.comment-body {
  margin: 0;
  line-height: 1.55;
}

.comment-time {
  margin: 8px 0 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.comment-form {
  background: var(--accent-light);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
}

.comment-form .form-row {
  margin-bottom: 14px;
}

.comment-form label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.comment-form input,
.comment-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
}

.comment-feedback {
  font-size: 0.92rem;
  margin-top: 10px;
}

.comment-feedback.is-ok {
  color: #1a6b45;
}

.comment-feedback.is-error {
  color: #b42318;
}

@media (max-width: 920px) {
  .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .news-grid {
    grid-template-columns: 1fr;
  }
}
