:root {
  /* Likeyou — cool royal blue */
  --bg: #f3f7fc;
  --paper: #ffffff;
  --ink: #0e1a2b;
  --muted: #5b6d82;
  --accent: #1a6fd4;
  --accent-dark: #0d4f9c;
  --accent-light: #e7f1fb;
  --line: #d5e4f4;
  --shadow: 0 8px 26px rgba(13, 79, 156, 0.1);
  --shadow-strong: 0 16px 30px rgba(13, 79, 156, 0.16);
  --header-bg: rgba(243, 247, 252, 0.94);
  --hero-overlay: rgba(8, 24, 48, 0.52);
  --sale: #e53935;
  --float-edge: 20px;
  --wa-float-size: 56px;
  --float-stack-gap: 12px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(26, 111, 212, 0.08), transparent 60%),
    radial-gradient(900px 400px at 90% 0%, rgba(13, 79, 156, 0.06), transparent 55%),
    var(--bg);
  color: var(--ink);
  line-height: 1.7;
}

h1,
h2,
h3,
h4 {
  font-family: "Manrope", "Segoe UI", sans-serif;
  letter-spacing: -0.02em;
  font-weight: 700;
}

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

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

.site-header {
  --header-h: 58px;
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 20px rgba(13, 79, 156, 0.06);
  transition: background 0.22s ease, box-shadow 0.22s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.99);
  box-shadow:
    0 1px 0 var(--line),
    0 10px 28px rgba(13, 79, 156, 0.1);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: 1.28rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--accent-dark);
  line-height: 1;
}

.brand-logo {
  height: 44px;
  width: 44px;
  display: block;
  border-radius: 50%;
  flex-shrink: 0;
  object-fit: cover;
  background: #0e1b26;
  box-shadow:
    0 0 0 1.5px rgba(195, 164, 100, 0.7),
    0 2px 8px rgba(14, 27, 38, 0.22);
}

.brand-text {
  color: var(--accent-dark);
}

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
  justify-content: center;
  flex: 1 1 auto;
  flex-wrap: nowrap;
  min-width: 0;
}

.nav a {
  position: relative;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--ink);
  padding: 8px 12px;
  border-radius: 8px;
  transition: color 0.18s ease, background 0.18s ease;
}

.nav-item--dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-drop-trigger {
  appearance: none;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--ink);
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.18s ease, background 0.18s ease;
}

.nav-drop-trigger::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: 0.7;
  margin-left: 2px;
}

.nav-drop-trigger:hover,
.nav-item--dropdown.is-open .nav-drop-trigger {
  color: var(--accent-dark);
  background: var(--accent-light);
}

.nav-drop-trigger[aria-expanded="true"]::after {
  transform: rotate(180deg);
}

.nav-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  transform: none;
  min-width: 240px;
  max-width: min(300px, calc(100vw - 24px));
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  box-shadow: 0 16px 32px rgba(13, 79, 156, 0.14);
  z-index: 60;
}

.nav-dropdown[hidden] {
  display: none !important;
}

.nav-item--dropdown:hover > .nav-dropdown:not([hidden]),
.nav-item--dropdown:focus-within > .nav-dropdown:not([hidden]),
.nav-item--dropdown.is-open > .nav-dropdown:not([hidden]) {
  display: block !important;
}

.nav-dropdown__all {
  display: block;
  padding: 10px 12px !important;
  margin-bottom: 4px;
  border-radius: 8px !important;
  font-weight: 700 !important;
  color: var(--accent-dark) !important;
  background: var(--accent-light);
}

.nav-dropdown__brands {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  max-height: 320px;
  overflow: auto;
}

.nav-dropdown__brands a {
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 12px !important;
  border-radius: 8px !important;
  color: var(--ink) !important;
  background: transparent !important;
  font-weight: 600 !important;
}

.nav-dropdown__brands a:hover {
  background: var(--accent-light) !important;
  color: var(--accent-dark) !important;
}

.nav-dropdown__count {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
}

.nav-tool-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  color: var(--accent-dark);
  flex-shrink: 0;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.nav-tool-btn:hover {
  background: var(--accent-light);
  border-color: var(--accent);
  color: var(--accent-dark);
}

.nav-tool-btn--wa {
  background: #25d366;
  border-color: #1ebe57;
  color: #fff;
}

.nav-tool-btn--wa:hover {
  background: #1ebe57;
  border-color: #189e4a;
  color: #fff;
}

.nav-tool-btn__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.65rem;
  line-height: 1;
}

.nav-tool-btn svg.nav-tool-btn__icon,
.nav-tool-btn .wa-icon {
  width: 24px;
  height: 24px;
  display: block;
  flex-shrink: 0;
}

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

.nav a.is-active:not(.nav-shop) {
  color: var(--accent-dark);
}

.nav a.is-active:not(.nav-shop)::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
}

.nav-drop-trigger.is-active {
  color: var(--accent-dark);
  background: var(--accent-light);
}

.nav a.nav-shop {
  margin-left: 4px;
  padding: 8px 16px;
  border-radius: 999px;
  color: #fff;
  background: var(--accent);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.nav a.nav-shop:hover,
.nav a.nav-shop.is-active {
  color: #fff;
  background: var(--accent-dark);
}

.nav a.nav-shop::after {
  display: none;
}

.nav-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  margin-left: auto;
}

.menu-toggle {
  display: none;
  position: relative;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 10px;
  width: 40px;
  height: 40px;
  padding: 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.menu-toggle__bars,
.menu-toggle__bars::before,
.menu-toggle__bars::after {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle__bars {
  position: relative;
}

.menu-toggle__bars::before,
.menu-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle__bars::before {
  top: -5px;
}

.menu-toggle__bars::after {
  top: 5px;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bars {
  background: transparent;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after {
  top: 0;
  transform: rotate(-45deg);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  gap: 2px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
}

.lang-btn {
  border: 0;
  background: transparent;
  color: var(--muted);
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.18s ease, color 0.18s ease;
}

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

.lang-btn.active {
  background: var(--paper);
  color: var(--accent-dark);
  box-shadow: 0 1px 3px rgba(13, 79, 156, 0.12);
}

.nav-backdrop {
  display: none;
}

.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;
}

/* Homepage hero — three slides, copy on the image */
.hero-swiper-section {
  width: 100%;
  overflow: hidden;
  background: #0e1a2b;
}

.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: #0e1a2b;
}

.hero-slide__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: #0e1a2b;
  background-size: cover;
  background-position: var(--hero-pos, 70% 50%);
  background-repeat: no-repeat;
}

.hero-slide__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--hero-pos, 70% 50%);
  display: block;
  background-color: #0e1a2b;
}

.hero-slide--1 { --hero-pos: 50% 50%; }
.hero-slide--2 { --hero-pos: 78% 46%; }
.hero-slide--3 { --hero-pos: 100% 48%; }

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

.hero-slide__overlay--warm {
  background:
    linear-gradient(90deg, rgba(6, 16, 36, 0.72) 0%, rgba(8, 24, 48, 0.32) 38%, rgba(8, 24, 48, 0.08) 68%, transparent 100%),
    linear-gradient(180deg, rgba(8, 24, 48, 0.16) 0%, rgba(8, 24, 48, 0.28) 100%);
}

.hero-slide__overlay--gold {
  background:
    linear-gradient(90deg, rgba(6, 20, 44, 0.74) 0%, rgba(13, 79, 156, 0.28) 40%, rgba(8, 24, 48, 0.08) 70%, transparent 100%),
    linear-gradient(180deg, rgba(8, 24, 48, 0.14) 0%, rgba(8, 24, 48, 0.26) 100%);
}

.hero-slide__overlay--rose {
  background:
    linear-gradient(90deg, rgba(8, 22, 48, 0.72) 0%, rgba(26, 111, 212, 0.26) 42%, rgba(8, 24, 48, 0.08) 70%, transparent 100%),
    linear-gradient(180deg, rgba(8, 24, 48, 0.14) 0%, rgba(8, 24, 48, 0.26) 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: #d6e6f8;
  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 10px;
  color: #fff;
  line-height: 1.2;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
  max-width: 38rem;
}

.hero-slide__desc {
  margin: 0 0 18px;
  max-width: 34rem;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

.hero-swiper-pagination {
  bottom: 16px !important;
}

.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: #fff;
  width: 28px;
  border-radius: 999px;
}

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

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

.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;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 0;
}

.hero-slide .hero-actions {
  margin-top: 0;
}

.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;
}

.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;
}

/* Equal-height cards: photo stays put, body fills the row, actions sit on one line */
.product-grid > .product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-grid > .product-card > .product-card-media-wrap,
.product-grid > .product-card > .product-card-media {
  flex: 0 0 auto;
}

.product-grid > .product-card > .card-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.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-grid .watch-card .product-name {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  line-height: 1.3;
  min-height: calc(2 * 1.3em);
  height: calc(2 * 1.3em);
}

.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;
}

/* Product card CTAs — compact bars, not circular pills */
.product-card .card-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
}

.product-card .card-actions .btn-card {
  width: auto;
  min-width: 0;
  min-height: 36px;
  padding: 0 10px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
  white-space: nowrap;
  gap: 6px;
}

.product-card .card-actions .btn-card--details {
  border: 1px solid var(--line);
  color: var(--ink);
  background: #fff;
}

.product-card .card-actions .btn-card--details:hover {
  border-color: var(--accent);
  color: var(--accent-dark);
  background: var(--accent-light);
}

.product-card .card-actions .btn-card--wa {
  border: 1px solid #1ebe5a;
  background: #25d366;
  color: #fff;
  width: 36px;
  min-width: 36px;
  padding: 0;
  justify-content: center;
}

.product-card .card-actions .btn-card--wa:hover {
  background: #1ebe5a;
  border-color: #18a850;
}

.product-card .btn-card__wa-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.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;
}

#contact,
#privacy {
  scroll-margin-top: 74px;
}

.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;
  background: #0e1a2b;
  color: #c5d4e6;
  border-top: 1px solid rgba(195, 164, 100, 0.28);
  padding: 40px 0 22px;
}

.site-footer h4 {
  margin: 0 0 12px;
  color: #f4f7fb;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer .brand,
.site-footer .brand-text {
  color: #fff;
}

.site-footer .brand-logo {
  box-shadow: 0 0 0 1.5px rgba(195, 164, 100, 0.85);
}

.footer-about {
  margin: 12px 0 0;
  max-width: 26ch;
  font-size: 0.9rem;
  line-height: 1.55;
  color: #b7c7da;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr 0.9fr 1.15fr;
  gap: 28px 24px;
  align-items: start;
}

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

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  color: #b7c7da;
  font-size: 0.9rem;
  font-weight: 600;
}

.footer-links a:hover {
  color: #fff;
}

.footer-wa {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  margin: 0 0 12px;
  padding: 0;
  width: auto;
  max-width: none;
  background: transparent;
  border: 0;
  border-radius: 0;
  color: #e7eef8;
  font-weight: 600;
  line-height: 1.35;
  text-align: left;
}

.footer-wa:hover {
  color: #fff;
}

.footer-contact__name {
  color: #f4f7fb;
  font-size: 0.95rem;
  font-weight: 700;
}

.footer-contact__phone {
  color: #e7eef8;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.footer-wa:hover .footer-contact__name,
.footer-wa:hover .footer-contact__phone {
  color: #fff;
}

.footer-email {
  display: inline-block;
  color: #e7eef8;
  font-size: 0.9rem;
  font-weight: 600;
  word-break: break-all;
}

.footer-email:hover {
  color: #fff;
}

.footer-social {
  margin-top: 14px;
}

.footer-social:not(:has(a:not([hidden]))) {
  display: none;
}

.site-footer .social-icon {
  border-color: rgba(213, 228, 244, 0.28);
  color: #e7eef8;
}

.site-footer .social-icon:hover {
  border-color: #c3a464;
  color: #c3a464;
}

.footer-bottom {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid rgba(213, 228, 244, 0.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  color: #8fa3bb;
  font-size: 0.84rem;
}

.footer-bottom a {
  color: #b7c7da;
}

.footer-bottom a:hover {
  color: #fff;
}

.faq-lead {
  color: var(--muted);
  margin-top: 0;
  max-width: 640px;
}

.faq-list {
  display: grid;
  gap: 10px;
  max-width: 820px;
}

.faq-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0;
  box-shadow: none;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  padding: 16px 44px 16px 18px;
  position: relative;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 14px;
  color: var(--accent);
  font-size: 1.25rem;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item .faq-a,
.faq-q {
  font-weight: 700;
}

.faq-item .faq-a {
  margin: 0;
  padding: 0 18px 16px;
  color: var(--muted);
  font-weight: 500;
}

.faq-cta {
  margin-top: 22px;
}

.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.about-facts {
  display: grid;
  gap: 14px;
}

.about-fact {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 18px;
  min-width: 0;
}

.about-steps {
  --step-gap: 40px;
  display: flex;
  align-items: stretch;
  gap: var(--step-gap);
}

.about-step {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  padding: 18px 12px 16px;
  text-align: center;
  background: var(--paper);
  border: 1.5px solid #b7d0ea;
  border-radius: 16px;
  box-shadow: 0 8px 18px rgba(13, 79, 156, 0.06);
}

.about-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 100%;
  width: var(--step-gap);
  height: 22px;
  transform: translateY(-50%);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 16'%3E%3Cpath d='M1 8h17' fill='none' stroke='%231a6fd4' stroke-width='3.4' stroke-linecap='round'/%3E%3Cpath d='M15 2 26 8 15 14' fill='none' stroke='%231a6fd4' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 26px 15px no-repeat;
  pointer-events: none;
  z-index: 1;
}

.about-step__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 8px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  background: var(--paper);
  color: var(--accent-dark);
  position: relative;
  z-index: 1;
}

.about-step--decision .about-step__icon {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.about-step__icon svg {
  display: block;
}

.about-step__num {
  display: block;
  margin: 0 0 2px;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.about-fact h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
}

.about-step h3 {
  margin: 0 0 6px;
  font-size: 0.98rem;
  line-height: 1.3;
}

.about-step h3,
.about-step p,
.about-fact h3,
.about-fact p {
  overflow-wrap: break-word;
}

.about-step p,
.about-fact p {
  margin: 0;
  color: var(--muted);
}

.about-step p {
  font-size: 0.82rem;
  line-height: 1.45;
}

.about-step p.about-step__branch {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 6px;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px dashed var(--accent);
  color: var(--accent-dark);
  font-weight: 700;
  text-align: left;
}

.about-step__branch-icon {
  flex: 0 0 auto;
  margin-top: 1px;
}

@media (max-width: 1100px) {
  .about-steps {
    --step-gap: 28px;
  }

  .about-step {
    padding: 16px 10px 14px;
  }
}

@media (max-width: 900px) {
  .about-steps {
    --step-gap: 36px;
    flex-direction: column;
    max-width: 520px;
    margin-inline: auto;
  }

  .about-step:not(:last-child)::after {
    top: 100%;
    left: 50%;
    width: 22px;
    height: var(--step-gap);
    transform: translateX(-50%);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 28'%3E%3Cpath d='M8 1v17' fill='none' stroke='%231a6fd4' stroke-width='3.4' stroke-linecap='round'/%3E%3Cpath d='M2 15 8 26 14 15' fill='none' stroke='%231a6fd4' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-size: 15px 26px;
  }
}

.top-announce {
  background: var(--accent-dark);
  color: #fff;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.35;
  padding: 7px 14px;
}

.top-announce p {
  margin: 0;
  overflow-wrap: anywhere;
}

.contact-wa-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
}

.contact-sales-name {
  font-weight: 700;
}

.wa-notice {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(14, 26, 43, 0.48);
}

.wa-notice[hidden] {
  display: none !important;
}

.wa-notice__panel {
  width: min(520px, 100%);
  max-height: min(90vh, 640px);
  overflow: auto;
  margin: 0;
}

.wa-notice__panel h2 {
  margin: 0 0 8px;
  font-size: 1.25rem;
}

.wa-notice__sales {
  margin: 0 0 12px;
  font-weight: 700;
}

.wa-notice__list {
  margin: 0 0 16px;
  padding-left: 1.2rem;
  color: var(--muted);
}

.wa-notice__list li + li {
  margin-top: 8px;
}

.wa-notice__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.wa-float .wa-icon {
  display: block;
  width: 32px;
  height: 32px;
}

.about-facts {
  grid-template-columns: 1fr 1fr;
}

.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: var(--float-edge);
  bottom: calc(
    var(--float-edge) + var(--wa-float-size) + var(--float-stack-gap) + env(safe-area-inset-bottom, 0px)
  );
  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;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  height: 3px;
  padding: 0;
  background: transparent;
  display: block;
  overflow: hidden;
  pointer-events: none;
  color: transparent;
  font-size: 0;
}
.page-loader .loader-dot {
  position: absolute;
  top: 0;
  left: 0;
  width: 35%;
  height: 3px;
  border-radius: 0;
  margin: 0;
  animation: loader-slide 0.9s ease-in-out infinite;
}
.page-loader > span:not(.loader-dot) {
  display: none;
}
@keyframes loader-slide {
  0% { left: -35%; width: 35%; }
  50% { left: 30%; width: 40%; }
  100% { left: 100%; width: 35%; }
}
body.is-booting .home-featured-grid,
body.is-booting #brandStrip {
  opacity: 0.55;
}

.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,
  .about-facts {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-col--brand,
  .footer-col--contact {
    grid-column: 1 / -1;
  }

  .footer-col--brand {
    order: 1;
  }

  .footer-col--contact {
    order: 2;
  }

  .footer-col:not(.footer-col--brand):not(.footer-col--contact) {
    order: 3;
  }

  .footer-about {
    max-width: none;
  }
}

@media (max-width: 860px) {
  .nav {
    gap: 2px;
  }

  .nav a {
    padding: 8px 9px;
    font-size: 0.84rem;
  }

  .nav a.nav-shop {
    padding: 7px 12px;
  }
}

@media (max-width: 720px) {
  .site-header {
    --header-h: 56px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav-wrap {
    display: flex;
    position: relative;
    gap: 12px;
  }

  .brand-logo {
    height: 38px;
    width: 38px;
  }

  .brand-text {
    font-size: 1.12rem;
  }

  .nav {
    display: none;
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    z-index: 45;
    justify-content: flex-start;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 0 0 14px 14px;
    box-shadow: 0 16px 28px rgba(13, 79, 156, 0.1);
    padding: 10px;
    flex-direction: column;
    gap: 4px;
  }

  .nav-tools {
    margin-left: auto;
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    display: block;
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 0.95rem;
  }

  .nav a.is-active:not(.nav-shop)::after {
    display: none;
  }

  .nav a.is-active:not(.nav-shop) {
    background: var(--accent-light);
    color: var(--accent-dark);
  }

  .nav a.nav-shop {
    margin: 4px 0 2px;
    text-align: center;
  }

  .nav-item--dropdown {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .nav-drop-trigger {
    width: 100%;
    justify-content: space-between;
    padding: 12px 14px;
    font-size: 0.95rem;
  }

  .nav-dropdown {
    position: static;
    left: auto;
    transform: none;
    min-width: 0;
    max-width: none;
    margin: 0 0 6px;
    box-shadow: none;
    border-radius: 10px;
    background: var(--bg);
  }

  /* Mobile: only expand when user opens Brands */
  .nav-item--dropdown > .nav-dropdown {
    display: none !important;
  }

  .nav-item--dropdown.is-open > .nav-dropdown:not([hidden]) {
    display: block !important;
  }

  .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 35;
    background: rgba(14, 26, 43, 0.28);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
  }

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

  body.nav-open {
    overflow: hidden;
  }
  .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;
  }

  .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-spec-preview {
  margin: 10px 0 0;
  display: grid;
  gap: 6px;
}

.pd-spec-preview-row {
  display: grid;
  grid-template-columns: minmax(96px, 38%) 1fr;
  gap: 8px 12px;
  align-items: baseline;
  font-size: 0.88rem;
  line-height: 1.35;
}

.pd-spec-preview dt {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.pd-spec-preview dd {
  margin: 0;
  color: var(--ink);
}

.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: 110px 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-sku {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  cursor: help;
}

.pd-chip-groups {
  margin: 4px 0 2px;
}

.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,
.pd-spec-chip {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 0.82rem;
  padding: 7px 12px;
}

.pd-option-btn {
  cursor: pointer;
}

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

.pd-details-lead {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.95rem;
}

.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-preview-row {
    grid-template-columns: minmax(88px, 36%) 1fr;
  }
  .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;
  align-items: stretch;
}

.news-grid > .news-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.news-grid > .news-card > .product-card-media {
  flex: 0 0 auto;
}

.news-grid > .news-card > .card-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

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

.news-date {
  display: block;
}

.news-grid .product-name {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  line-height: 1.3;
  min-height: calc(2 * 1.3em);
}

.news-excerpt {
  margin: 8px 0 0;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  min-height: calc(3 * 1.55em);
}

.news-read-more {
  margin-top: auto;
  padding-top: 14px;
  align-self: flex-start;
  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;
  }
}

/* ===== Likeyou 商城风格 ===== */
/* 产品网格：4 列 */
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;
  object-fit: cover;
  background: #f5f5f5;
}
body[data-page="products"] .card-body { padding: 10px 12px 14px; }
body[data-page="products"] .product-name {
  font-size: 0.82rem;
  line-height: 1.3;
  margin: 2px 0 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(2 * 1.3em);
  height: calc(2 * 1.3em);
}
body[data-page="products"] .product-card .card-actions {
  grid-template-columns: 1fr auto;
  gap: 6px;
  margin-top: auto;
  padding-top: 10px;
}
body[data-page="products"] .product-card .card-actions .btn-card {
  min-height: 32px;
  font-size: 0.72rem;
  padding: 0 8px;
}
body[data-page="products"] .product-card .card-actions .btn-card--wa {
  width: 32px;
  min-width: 32px;
  min-height: 32px;
  padding: 0;
  justify-content: center;
}

/* SALE 标签 */
.sale-badge {
  position: absolute;
  top: 8px; left: 8px;
  background: #e53935;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 3px 8px;
  border-radius: 3px;
  z-index: 2;
}

/* 品牌标签 */
.product-brand {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #888;
}

/* 价格行 */
.product-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 4px 0 8px;
}
html:not([data-show-prices="1"]) .product-price-row,
html:not([data-show-prices="1"]) .pd-price-box,
html:not([data-show-prices="1"]) .sale-badge {
  display: none;
}
.product-price-now {
  font-size: 1.05rem;
  font-weight: 700;
  color: #e53935;
}
.product-price-old {
  font-size: 0.85rem;
  color: #aaa;
  text-decoration: line-through;
}

/* WhatsApp 按钮 */
.btn-wa {
  background: #25d366;
  color: #fff !important;
  border: none;
}
.btn-wa:hover { background: #1ebe5a; }

/* WhatsApp 浮动按钮 */
.wa-float {
  position: fixed;
  right: var(--float-edge);
  bottom: calc(var(--float-edge) + env(safe-area-inset-bottom, 0px));
  width: var(--wa-float-size);
  height: var(--wa-float-size);
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(37,211,102,0.5);
  z-index: 999;
  text-decoration: none;
  transition: transform 0.2s;
}
.wa-float:hover { transform: scale(1.08); }

/* 信任区块 — flat blue strip (not dashboard cards) */
.trust-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px 20px;
  margin: 0 auto;
  padding: 22px 0;
  text-align: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-bar--hero {
  margin: 0 auto 8px;
  padding: 18px 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), transparent);
}
.trust-item {
  padding: 8px 6px;
  background: transparent;
  border: none;
  border-radius: 0;
}
.trust-item .ti-icon { font-size: 1.55rem; display: block; margin-bottom: 4px; }
.trust-item .ti-title {
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 4px;
  color: var(--accent-dark);
}
.trust-item .ti-desc { font-size: 0.78rem; color: var(--muted); line-height: 1.4; }

/* 无图占位 */
.watch-card .product-card-media img { background: #f0f0f0; }

/* 搜索框 */
#searchFilter {
  flex: 1;
  max-width: 260px;
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 0.9rem;
}

/* 响应式 */
@media (max-width: 1100px) {
  body[data-page="products"] .product-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  body[data-page="products"] .product-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-bar { grid-template-columns: repeat(2, 1fr); }
}

/* ===== Likeyou blue refinements ===== */
.hero-slide__outline-btn {
  border-color: rgba(255,255,255,0.75) !important;
  color: #fff !important;
  background: rgba(255,255,255,0.08);
}
.hero-slide__outline-btn:hover {
  background: rgba(255,255,255,0.18) !important;
}

@media (max-width: 640px) {
  .hero-slide__title {
    max-width: none;
  }
  .hero-slide__desc {
    margin-bottom: 18px;
  }
  .hero-slide--1 {
    --hero-pos: 50% 50%;
  }
  .hero-slide--2 {
    --hero-pos: 86% 42%;
  }
  .hero-slide--3 {
    --hero-pos: 100% 50%;
  }
}

.brand-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin: 8px 0 8px;
}
.brand-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  min-height: 118px;
  padding: 14px 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  color: var(--accent-dark);
  font-weight: 700;
  font-size: 0.84rem;
  letter-spacing: 0.02em;
  text-align: center;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.brand-chip:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.brand-chip__logo {
  display: block;
  width: min(100%, 168px);
  height: 64px;
  object-fit: contain;
  object-position: center;
}
.brand-chip__name {
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  line-height: 1.2;
}
.brand-chip__count {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.01em;
  line-height: 1.2;
}
@media (max-width: 780px) {
  .brand-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .brand-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.home-featured-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

.sale-badge { background: var(--sale); }
.product-price-now { color: var(--accent-dark); }

@media (max-width: 900px) {
  .home-featured-grid { grid-template-columns: repeat(2, 1fr) !important; }
}

/* Blog article figures */
.article-figure {
  margin: 1.25rem 0 1.5rem;
  border-radius: 12px;
  overflow: hidden;
  background: #e8eef6;
}
.article-figure img {
  display: block;
  width: 100%;
  max-height: 420px;
  object-fit: cover;
}
.article-figure .img-caption {
  margin: 0;
  padding: 8px 12px 12px;
  font-size: 0.85rem;
  color: var(--muted);
  background: var(--paper);
}
.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.5rem;
  font-size: 0.92rem;
}
.article-body th,
.article-body td {
  border: 1px solid var(--line);
  padding: 8px 10px;
  text-align: left;
}
.article-body th {
  background: var(--accent-light);
  color: var(--accent-dark);
}


.featured-skeleton {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  min-height: 220px;
}
.featured-skeleton span {
  display: block;
  border-radius: 12px;
  background: linear-gradient(90deg, #e8eef6 25%, #f5f8fc 50%, #e8eef6 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.2s ease-in-out infinite;
  min-height: 220px;
}
@keyframes skeleton-shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}
@media (max-width: 900px) {
  .featured-skeleton { grid-template-columns: repeat(2, 1fr); }
}
