/* ==========================================================================
   锦囊AI · Apple-Inspired Clean E-Commerce Storefront
   Airy white & #F5F5F7 studio surfaces, generous whitespace, crisp typography,
   subtle motion curve cubic-bezier(0.22, 1, 0.36, 1)
   ========================================================================== */

:root {
  --bg: #ffffff;
  --surface: #f5f5f7;
  --surface-hover: #eceef2;
  --card-bg: #ffffff;
  --ink: #1d1d1f;
  --ink-secondary: #6e6e73;
  --ink-muted: #86868b;
  --border: #e5e5ea;
  --border-strong: #d2d2d7;

  --primary: #0071e3;
  --primary-hover: #0077ed;
  --primary-soft: #eef6ff;
  --accent: #bf4800;
  --accent-soft: #fff5ed;
  --success: #047857;
  --success-soft: #ecfdf5;

  --space-25: 2px;
  --space-50: 4px;
  --space-75: 8px;
  --space-100: 12px;
  --space-200: 16px;
  --space-300: 24px;
  --space-400: 32px;
  --space-500: 40px;
  --space-600: 48px;
  --space-700: 64px;
  --space-800: 80px;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
a { color: inherit; text-decoration: none; }
button, input { font-family: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 var(--space-300);
}

/* ==========================================================================
   Top Sticky Translucent Header (Apple style)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.header-inner {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-300);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  object-fit: cover;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-300);
  font-size: 14px;
  color: var(--ink-secondary);
}

.nav-links a,
.nav-links button {
  white-space: nowrap;
  flex-shrink: 0;
  transition: color 250ms var(--ease);
}

.nav-links a:hover,
.nav-links a.active,
.nav-links button:hover {
  color: var(--ink);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-100);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: background-color 250ms var(--ease), color 250ms var(--ease), border-color 250ms var(--ease), transform 250ms var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--primary); color: #ffffff; }
.btn-primary:hover { background: var(--primary-hover); }
.btn-dark { background: var(--ink); color: #ffffff; }
.btn-dark:hover { background: #333336; }
.btn-outline { background: var(--bg); color: var(--ink); border-color: var(--border-strong); }
.btn-outline:hover { background: var(--surface); }
.btn-sm { padding: 6px 14px; font-size: 13px; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }

/* ==========================================================================
   Announcement Strip (Clean Apple ribbon)
   ========================================================================== */
.announcement-strip {
  background: var(--surface);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding: 10px 0;
}

.announcement-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 13px;
  color: var(--ink);
  text-align: center;
  flex-wrap: wrap;
}

.ann-pill {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  background: var(--ink);
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.ann-more-btn {
  background: transparent;
  border: none;
  color: var(--primary);
  font-size: 13px;
  font-weight: 500;
  padding: 0;
}
.ann-more-btn:hover { text-decoration: underline; }

/* ==========================================================================
   Apple-Style Hero & Direct Visual Shortcut Dock (with subtle pointer hand)
   ========================================================================== */
.store-hero {
  padding: var(--space-400) 0 var(--space-300);
  background: var(--bg);
}

.header-consult-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: var(--radius-full);
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  transition: background-color 250ms var(--ease), border-color 250ms var(--ease);
}

.header-consult-btn:hover {
  background: var(--surface-hover);
  border-color: var(--border-strong);
}

.header-consult-btn span.link-blue {
  color: var(--primary);
  font-weight: 600;
}

.order-form-box {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 14px;
  margin: 14px 0;
  display: grid;
  gap: 10px;
}

.order-input {
  width: 100%;
  padding: 9px 12px;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: #ffffff;
  font-size: 13px;
  color: var(--ink);
  outline: none;
}

.order-input:focus { border-color: var(--primary); }

.order-success-box {
  background: var(--success-soft);
  border: 1px solid #a7f3d0;
  border-radius: var(--radius-lg);
  padding: 16px;
  margin-bottom: 14px;
}

.order-no-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 600;
  color: var(--success);
  margin-top: 4px;
}

.qr-box {
  margin-top: 14px;
  text-align: center;
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 14px;
}

.qr-box img {
  width: min(100%, 300px);
  height: auto;
  max-height: 420px;
  object-fit: contain;
  margin: 0 auto 10px;
  border-radius: 12px;
  background: #ffffff;
}

.qr-box-pay {
  padding: 16px 12px;
}

.qr-box-pay img {
  width: min(100%, 360px);
  height: auto;
  max-height: 520px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.my-order-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px;
  background: #fafafa;
  margin-bottom: 10px;
}

.status-tag {
  display: inline-block;
  padding: 2px 9px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
}
.status-pending_wechat { background: #fff5ed; color: #bf4800; }
.status-payment_reported { background: #fffbeb; color: #92400e; }
.status-paid { background: #eef6ff; color: #0071e3; }
.status-delivered { background: #ecfdf5; color: #047857; }
.status-cancelled { background: #f1f5f9; color: #64748b; }

.order-payment-action:not([hidden]) {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--surface);
}
.order-payment-action p { margin: 0; color: var(--ink-secondary); font-size: 14px; line-height: 20px; }
.order-payment-action button[hidden] { display: none; }

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  background: var(--surface);
  padding: 4px;
  border-radius: var(--radius-md);
  margin-bottom: 16px;
}
.auth-tab {
  border: none;
  background: transparent;
  padding: 8px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-secondary);
}
.auth-tab.active {
  background: #ffffff;
  color: var(--ink);
  font-weight: 600;
}

.hero-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-300);
  margin-bottom: var(--space-500);
  flex-wrap: wrap;
}

.hero-title {
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.hero-sub {
  font-size: 18px;
  line-height: 1.5;
  color: var(--ink-secondary);
  margin-top: var(--space-100);
  max-width: 540px;
}

.hero-contact-mini {
  display: flex;
  align-items: center;
  gap: var(--space-100);
  padding: 10px 14px;
  background: var(--surface);
  border-radius: var(--radius-lg);
}

.hero-contact-mini img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
}

.hero-contact-mini strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
}

.hero-contact-mini span {
  display: block;
  font-size: 12px;
  color: var(--primary);
}

/* Apple Mac-style Horizontal Shortcut Dock */
.shortcut-dock {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: var(--space-300);
  max-width: 760px;
  margin: 0 auto;
  overflow-x: auto;
  padding: var(--space-100) var(--space-50) var(--space-400);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.shortcut-dock::-webkit-scrollbar { display: none; }

.shortcut-item {
  position: relative;
  flex: 1;
  min-width: 112px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: var(--space-200) var(--space-100);
  border-radius: var(--radius-lg);
  border: 1px solid transparent;
  background: transparent;
  text-align: center;
  transition: transform 350ms var(--ease), background-color 250ms var(--ease), border-color 250ms var(--ease);
}

.shortcut-item:hover {
  background: var(--surface);
  transform: translateY(-2px);
}

.shortcut-item.active {
  background: var(--surface);
  border-color: var(--border);
}

.shortcut-thumb {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  object-fit: cover;
  background: var(--surface);
}

.shortcut-icon-box {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: var(--surface);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}

.shortcut-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.shortcut-tag {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  line-height: 1;
}

/* Subtle Marketing Pointer Hand Cue (inspired by Apple screenshot) */
.pointer-cue {
  position: absolute;
  bottom: -18px;
  left: 50%;
  transform: translateX(-30%);
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  animation: gentleTap 2.4s var(--ease) infinite;
}

@keyframes gentleTap {
  0%, 100% { transform: translateX(-30%) translateY(0) scale(1); opacity: 0.92; }
  45% { transform: translateX(-30%) translateY(-6px) scale(0.94); opacity: 1; }
  60% { transform: translateX(-30%) translateY(-2px) scale(0.98); opacity: 0.95; }
}

/* ==========================================================================
   Unified Storefront Product Grid
   ========================================================================== */
.catalog-section {
  background: var(--surface);
  padding: var(--space-600) 0 var(--space-700);
}

.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-200);
  margin-bottom: var(--space-400);
  flex-wrap: wrap;
}

.filter-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}
.filter-pills::-webkit-scrollbar { display: none; }

.filter-pill {
  padding: 8px 16px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-strong);
  background: var(--bg);
  color: var(--ink-secondary);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: all 250ms var(--ease);
}

.filter-pill:hover { color: var(--ink); border-color: var(--ink); }
.filter-pill.active { background: var(--ink); color: #ffffff; border-color: var(--ink); }

.search-wrap {
  position: relative;
  width: 100%;
  max-width: 280px;
}

.search-input {
  width: 100%;
  padding: 9px 14px 9px 36px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-strong);
  background: var(--bg);
  font-size: 14px;
  color: var(--ink);
  outline: none;
}
.search-input:focus { border-color: var(--primary); }
.search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-muted);
  display: inline-flex;
  pointer-events: none;
}

/* Product Cards Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-300);
}

.product-card {
  background: var(--card-bg);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: transform 450ms var(--ease), box-shadow 450ms var(--ease);
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.12);
}

.product-media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #f5f5f7;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease);
}

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

.product-badges {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.p-badge {
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(8px);
  color: var(--ink);
}

.p-stock {
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 600;
  background: var(--success-soft);
  color: var(--success);
}

.p-stock.inquiry {
  background: var(--primary-soft);
  color: var(--primary);
}

.product-body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 8px;
}

.product-name {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.product-sub {
  font-size: 13px;
  color: var(--ink-secondary);
  flex: 1;
}

.product-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--surface);
}

.product-price {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
}

.product-price small {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 400;
  color: var(--ink-muted);
  margin-left: 2px;
}

/* Custom Inquiry Compact Bar */
.custom-strip {
  margin-top: var(--space-400);
  background: var(--bg);
  border-radius: var(--radius-xl);
  padding: var(--space-300);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-300);
  flex-wrap: wrap;
}

.custom-strip-items {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.custom-chip {
  padding: 6px 12px;
  border-radius: var(--radius-full);
  background: var(--surface);
  font-size: 13px;
  color: var(--ink-secondary);
}

/* Empty State */
.empty-box {
  display: none;
  background: var(--bg);
  border-radius: var(--radius-xl);
  padding: var(--space-600) var(--space-300);
  text-align: center;
}
.empty-box.show { display: block; }
.empty-box p { color: var(--ink-secondary); margin: 8px 0 18px; font-size: 14px; }

/* ==========================================================================
   Affiliate / Distribution Section (分销招代理)
   ========================================================================== */
.affiliate-section {
  background: var(--bg);
  padding: var(--space-700) 0;
}

.affiliate-card {
  background: var(--ink);
  color: #ffffff;
  border-radius: var(--radius-xl);
  padding: var(--space-600);
}

.aff-head {
  max-width: 640px;
  margin-bottom: var(--space-500);
}

.aff-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 14px;
}

.aff-title {
  font-size: clamp(26px, 3.6vw, 38px);
  line-height: 1.18;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.aff-sub {
  font-size: 15px;
  color: #a1a1a6;
  margin-top: 12px;
}

.aff-perks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-300);
  margin-bottom: var(--space-500);
}

.aff-perk {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: var(--space-300);
}

.aff-perk h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.aff-perk p { font-size: 13px; color: #a1a1a6; line-height: 1.6; }

.aff-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-200);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: var(--space-500) 0 var(--space-600);
  font-size: 13px;
  color: var(--ink-secondary);
}

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

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-300);
}

.footer-links a:hover { color: var(--ink); }

.footer-bottom {
  padding-top: var(--space-300);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--ink-muted);
  font-size: 12px;
}

/* ==========================================================================
   Modals (Product Sheet / Announcement / Contact)
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.44);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-200);
  opacity: 0;
  pointer-events: none;
  transition: opacity 260ms var(--ease);
}

.modal-backdrop.open { opacity: 1; pointer-events: auto; }

.modal-sheet {
  width: 100%;
  max-width: 540px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--bg);
  border-radius: var(--radius-xl);
  padding: var(--space-400);
  transform: translateY(16px) scale(0.98);
  transition: transform 350ms var(--ease);
}

.modal-backdrop.open .modal-sheet { transform: translateY(0) scale(1); }

.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: var(--space-200);
}

.modal-close {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  border: none;
  background: var(--surface);
  color: var(--ink);
  font-size: 18px;
  flex-shrink: 0;
}

.sheet-media {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius-lg);
  background: var(--surface);
  margin-bottom: var(--space-200);
}

.sheet-highlights {
  list-style: none;
  display: grid;
  gap: 8px;
  margin: var(--space-200) 0;
  font-size: 14px;
  color: var(--ink-secondary);
}

.sheet-highlights li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.sheet-dot {
  width: 6px;
  height: 6px;
  border-radius: var(--radius-full);
  background: var(--primary);
  margin-top: 8px;
  flex-shrink: 0;
}

.sheet-inline-link {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
  word-break: break-all;
}
.sheet-inline-link:hover { color: var(--primary-hover); }

.sheet-guide-box {
  margin: var(--space-200) 0;
  padding: 10px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
}

.sheet-guide-box img {
  width: 100%;
  border-radius: var(--radius-md);
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: #ffffff;
}

.sheet-guide-caption {
  margin-top: 8px;
  font-size: 12px;
  color: var(--ink-secondary);
  line-height: 1.55;
}

/* IP Cycle Box inside Product Sheet */
.ip-calc-box {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 14px;
  margin: var(--space-200) 0;
}

.cycle-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin-bottom: 12px;
}

.cycle-opt {
  padding: 8px 6px;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: var(--bg);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink);
  text-align: center;
}

.cycle-opt.active {
  background: var(--ink);
  color: #ffffff;
  border-color: var(--ink);
}

.relay-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ink);
  cursor: pointer;
}

.relay-check input { width: 16px; height: 16px; accent-color: var(--primary); }

.sheet-notice {
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  font-size: 13px;
  margin: var(--space-200) 0;
}

.confirm-box {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: var(--ink);
  margin: 12px 0;
  cursor: pointer;
}
.confirm-box input { width: 16px; height: 16px; margin-top: 2px; accent-color: var(--primary); }

.contact-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  margin-top: 10px;
}

.contact-row span { display: block; font-size: 12px; color: var(--ink-muted); }
.contact-row strong { font-family: var(--font-mono); font-size: 15px; color: var(--ink); }

.copy-tip {
  min-height: 20px;
  margin-top: 10px;
  font-size: 13px;
  color: var(--success);
}

/* ==========================================================================
   Mobile Bottom Tab Bar
   ========================================================================== */
.mobile-tabbar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 55;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
}

.mobile-tabbar-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px;
}

.tabbar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 4px 0;
  font-size: 11px;
  color: var(--ink-secondary);
  background: transparent;
  border: none;
}

.tabbar-item.active { color: var(--primary); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 960px) {
  .header-inner { gap: var(--space-200); }
  .nav-links { gap: 18px; }
  .header-consult-btn .consult-prefix { display: none; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .aff-perks { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  body { padding-bottom: 64px; }
  .header-inner {
    height: auto;
    flex-wrap: wrap;
    row-gap: 0;
    column-gap: 10px;
    padding-top: 10px;
    padding-bottom: 0;
  }
  .brand {
    font-size: 17px;
    gap: 8px;
    padding-bottom: 10px;
  }
  .brand-logo {
    width: 34px;
    height: 34px;
    border-radius: 9px;
  }
  .header-actions {
    gap: 8px;
    padding-bottom: 10px;
  }
  .header-actions .btn-sm {
    padding: 6px 11px;
    font-size: 12px;
  }
  .header-consult-btn {
    font-size: 12px;
  }
  .nav-links {
    display: flex;
    order: 3;
    flex: 0 0 100%;
    width: 100%;
    justify-content: space-around;
    gap: 12px;
    padding: 9px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    font-size: 13px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .nav-links::-webkit-scrollbar { display: none; }
  .nav-links a,
  .nav-links button {
    padding: 2px 4px;
    font-size: 13px !important;
  }
  .header-consult-btn .consult-prefix { display: none; }
  .mobile-tabbar { display: block; }
  .product-grid { grid-template-columns: 1fr; }
  .container { padding: 0 var(--space-200); }
  .store-hero { padding: var(--space-300) 0 var(--space-200); }
  .modal-sheet { padding: var(--space-300); }
  .cycle-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  .pointer-cue { animation: none; }
}
