/**
 * Neway tokens — 寵物好物第2票（全站）
 * 來源：/workspace/haowupet-neway-demo/tailwind.config.js
 * 不改結帳／COD／GMC／訂單業務。非營運占位文案不進生產。
 */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");

:root {
  /* brand */
  --nw-brand-50: #FDF6EF;
  --nw-brand-100: #FAE8D6;
  --nw-brand-200: #F3CFA8;
  --nw-brand-300: #E9AE72;
  --nw-brand-400: #DC8B45;
  --nw-brand-500: #C9721F;
  --nw-brand-600: #A85A16;
  --nw-brand-700: #854612;
  --nw-brand-800: #633310;
  --nw-brand-900: #41220B;

  /* fresh */
  --nw-fresh-50: #F2F7EC;
  --nw-fresh-100: #E3EFD6;
  --nw-fresh-200: #C6DFAC;
  --nw-fresh-300: #A3C97C;
  --nw-fresh-400: #7FAF52;
  --nw-fresh-500: #5F8F38;
  --nw-fresh-600: #4A7229;
  --nw-fresh-700: #3A5A21;
  --nw-fresh-800: #2B4319;
  --nw-fresh-900: #1D2E11;

  /* ink / surface */
  --nw-ink: #181818;
  --nw-ink-2: #1F1F1F;
  --nw-ink-muted: #5a5a5a;
  --nw-surface: #ffffff;
  --nw-surface-soft: #FDF6EF;
  --nw-line: rgba(24,24,24,.08);

  /* type */
  --nw-font: system-ui, Inter, "PingFang TC", "Microsoft JhengHei", "微軟正黑體", "Noto Sans TC", sans-serif;
  --nw-font-display: system-ui, Inter, "PingFang TC", "Microsoft JhengHei", "微軟正黑體", "Noto Sans TC", sans-serif; /* t7 fonts-c: system 黑體棧；字標仍 Open Huninn */

  /* radius / space / motion */
  --nw-r-btn: 999px;
  --nw-r-card: 1rem;
  --nw-r-input: 0.75rem;
  --nw-sec-y: 64px;
  --nw-ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* aliases used by legacy chrome */
  --nw-cta: var(--nw-brand-600);
  --nw-cta-hover: var(--nw-brand-700);
  --nw-line-green: #06C755;
}

@media (min-width: 900px) {
  :root { --nw-sec-y: 96px; }
}

@media (prefers-reduced-motion: reduce) {
  :root { --nw-ease: linear; }
}

/* —— base utility classes —— */
.nw-btn,
.nw-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4em;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: var(--nw-r-btn);
  background: var(--nw-cta);
  color: #fff !important;
  font: 600 1rem/1.2 var(--nw-font);
  text-decoration: none;
  cursor: pointer;
  transition: background .2s var(--nw-ease), transform .15s var(--nw-ease);
}
.nw-btn:hover, .nw-btn-primary:hover { background: var(--nw-cta-hover); }
.nw-btn:active, .nw-btn-primary:active { transform: scale(.98); }
.nw-btn-outline {
  display: inline-flex; align-items: center; justify-content: center; gap: .4em;
  min-height: 48px; padding: 0 22px; border-radius: var(--nw-r-btn);
  border: 1.5px solid var(--nw-brand-600); background: transparent;
  color: var(--nw-brand-700) !important; font: 600 1rem/1.2 var(--nw-font);
  text-decoration: none; transition: background .2s var(--nw-ease);
}
.nw-btn-outline:hover { background: var(--nw-brand-50); }
.nw-card {
  background: var(--nw-surface);
  border: 1px solid var(--nw-line);
  border-radius: var(--nw-r-card);
  box-shadow: 0 10px 28px rgba(24,24,24,.06);
}
.nw-input {
  width: 100%;
  border: 1px solid #e5e5e5;
  border-radius: var(--nw-r-input);
  padding: 12px 14px;
  font: 400 .9375rem/1.4 var(--nw-font);
  color: var(--nw-ink);
  background: #fff;
  outline: none;
  transition: border-color .2s var(--nw-ease), box-shadow .2s var(--nw-ease);
}
.nw-input:focus {
  border-color: var(--nw-brand-500);
  box-shadow: 0 0 0 3px rgba(168,90,22,.18);
}
.nw-section-title {
  font-family: var(--nw-font-display, var(--nw-font));
  font-weight: 600;
  font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem);
  color: var(--nw-ink);
  letter-spacing: -.01em;
  line-height: 1.2;
}
.nw-eyebrow {
  font: 600 .8125rem/1.3 var(--nw-font);
  color: var(--nw-brand-600);
  letter-spacing: .04em;
}
.nw-float-panel {
  border-radius: calc(var(--nw-r-card) + 4px);
  border: 1px solid rgba(24,24,24,.08);
  background: #fff;
  box-shadow: 0 18px 48px rgba(24,24,24,.16);
  overflow: hidden;
}


/* t4 utilities */
.nw-section-subtitle, .nw-shop-sub, .nw-cart-sub {
  color: var(--nw-ink-muted, #5a5a5a);
  font-size: .95rem;
  line-height: 1.5;
}
.nw-empty {
  text-align: center;
  border: 1px solid var(--nw-line);
  background: #fafafa;
  border-radius: var(--nw-r-card);
  padding: 56px 24px;
}
