:root {
  --bg: #fbf7f2;
  --bg-soft: #fff8f0;
  --surface: #ffffff;
  --text: #2c2a28;
  --text-soft: #6b6560;
  --coral: #e8927c;
  --coral-deep: #d4745c;
  --sage: #7bae8e;
  --sage-deep: #5a9a72;
  --teal: #2d6a6a;
  --teal-soft: #3d8a8a;
  --gold: #d4a574;
  --border: rgba(44, 42, 38, 0.08);
  --shadow: 0 12px 40px rgba(45, 106, 106, 0.08);
  --shadow-hover: 0 20px 50px rgba(45, 106, 106, 0.14);
  --radius: 20px;
  --radius-sm: 12px;
  --font: "Outfit", "Noto Sans TC", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; transition: color 0.25s var(--ease); }
a:hover { color: var(--teal-soft); }

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 9999;
  padding: 8px 16px;
  background: var(--teal);
  color: #fff;
}
.skip:focus { left: 8px; top: 8px; }

/* Announce */
.announce {
  background: linear-gradient(90deg, var(--teal), var(--sage-deep));
  color: #fff;
  text-align: center;
  font-size: 0.8rem;
  padding: 8px 16px;
  letter-spacing: 0.04em;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(251, 247, 242, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand img { height: 44px; width: auto; object-fit: contain; }

.brand-text strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--teal);
  letter-spacing: 0.02em;
}

.brand-text span {
  font-size: 0.72rem;
  color: var(--text-soft);
  letter-spacing: 0.08em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-soft);
  position: relative;
}

.site-nav a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--coral);
  border-radius: 2px;
  transition: width 0.3s var(--ease);
}

.site-nav a:hover::after,
.site-nav a.is-active::after { width: 100%; }

.site-nav a:hover,
.site-nav a.is-active { color: var(--teal); }

.header-actions { display: flex; align-items: center; gap: 12px; }

.btn-cart {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: none;
  border-radius: 999px;
  background: var(--teal);
  color: #fff;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s;
}

.btn-cart:hover { background: var(--teal-soft); transform: translateY(-1px); }

.cart-count {
  background: var(--coral);
  color: #fff;
  font-size: 0.72rem;
  min-width: 20px;
  height: 20px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  cursor: pointer;
  font-size: 1.2rem;
  color: var(--teal);
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 24px 88px;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.45;
  pointer-events: none;
}

.hero-blob--1 {
  width: 420px;
  height: 420px;
  background: #f5d4c8;
  top: -120px;
  right: -80px;
}

.hero-blob--2 {
  width: 300px;
  height: 300px;
  background: #c8e8d4;
  bottom: -60px;
  left: -60px;
}

.hero-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(123, 174, 142, 0.15);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--sage-deep);
  letter-spacing: 0.06em;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--teal);
  margin-bottom: 18px;
}

.hero h1 em {
  font-style: normal;
  color: var(--coral-deep);
}

.hero-lead {
  font-size: 1.05rem;
  color: var(--text-soft);
  max-width: 520px;
  margin-bottom: 32px;
}

.hero-cta-group { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--coral), var(--coral-deep));
  color: #fff;
  border: none;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(232, 146, 124, 0.35);
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(232, 146, 124, 0.45);
  color: #fff;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 14px 24px;
  border: 2px solid var(--teal);
  color: var(--teal);
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.25s, color 0.25s;
}

.btn-ghost:hover {
  background: var(--teal);
  color: #fff;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-card {
  background: var(--surface);
  border-radius: 32px;
  padding: 32px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  text-align: center;
}

.hero-card img {
  max-height: 280px;
  margin: 0 auto 20px;
  object-fit: contain;
}

.hero-card .pill {
  display: inline-block;
  padding: 4px 14px;
  background: var(--bg-soft);
  border-radius: 999px;
  font-size: 0.78rem;
  color: var(--teal);
  font-weight: 500;
}

.hero-stats {
  display: flex;
  gap: 20px;
  margin-top: 28px;
  justify-content: center;
}

.hero-stats div {
  text-align: center;
  padding: 12px 16px;
  background: var(--bg-soft);
  border-radius: var(--radius-sm);
  min-width: 90px;
}

.hero-stats strong {
  display: block;
  font-size: 1.1rem;
  color: var(--teal);
}

.hero-stats span { font-size: 0.72rem; color: var(--text-soft); }

/* Sections */
.section {
  padding: 72px 24px;
}

.section--alt { background: var(--bg-soft); }

.container {
  max-width: 1180px;
  margin: 0 auto;
}

.section-head {
  text-align: center;
  margin-bottom: 48px;
}

.section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 10px;
}

.section-head p {
  color: var(--text-soft);
  font-size: 0.95rem;
  max-width: 560px;
  margin: 0 auto;
}

.section-label {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral);
  font-weight: 600;
  margin-bottom: 8px;
}

/* Product grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
}

.product-card {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
  display: flex;
  flex-direction: column;
}

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

.product-card__img {
  aspect-ratio: 1;
  background: linear-gradient(160deg, #fff8f0, #f0ebe4);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  position: relative;
}

.product-card__img img {
  max-height: 85%;
  object-fit: contain;
  transition: transform 0.4s var(--ease);
}

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

.product-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.product-tag--new { background: var(--sage); color: #fff; }
.product-tag--hot { background: var(--coral); color: #fff; }
.product-tag--save { background: var(--teal); color: #fff; }

.product-card__body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card__body h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
}

.product-card__spec {
  font-size: 0.8rem;
  color: var(--text-soft);
  margin-bottom: 14px;
}

.product-card__price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--coral-deep);
  margin-bottom: 14px;
}

.product-card__price small {
  font-size: 0.8rem;
  color: var(--text-soft);
  text-decoration: line-through;
  font-weight: 400;
  margin-left: 8px;
}

.product-card__actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
}

.btn-sm {
  flex: 1;
  padding: 10px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 500;
  text-align: center;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.25s, color 0.25s;
}

.btn-sm--fill {
  background: var(--teal);
  color: #fff;
}

.btn-sm--fill:hover { background: var(--teal-soft); color: #fff; }

.btn-sm--outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--teal);
}

.btn-sm--outline:hover { border-color: var(--teal); }

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1px solid var(--border);
  transition: border-color 0.3s;
}

.feature-card:hover { border-color: var(--sage); }

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(123,174,142,0.2), rgba(45,106,106,0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--teal);
}

.feature-card p {
  font-size: 0.88rem;
  color: var(--text-soft);
}

/* Story */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.story-img {
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(135deg, #e8f4ec, #f5ebe3);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.story-img img { max-height: 320px; object-fit: contain; }

.story-content h2 {
  font-size: 1.8rem;
  color: var(--teal);
  margin-bottom: 16px;
}

.story-content p {
  color: var(--text-soft);
  margin-bottom: 14px;
  font-size: 0.95rem;
}

.highlight { color: var(--coral-deep); font-weight: 500; }

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.step-card {
  text-align: center;
  padding: 28px 20px;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.step-num {
  width: 44px;
  height: 44px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--coral), var(--sage));
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-card h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--teal);
}

.step-card p { font-size: 0.82rem; color: var(--text-soft); }

/* Blog cards */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.blog-card {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}

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

.blog-card__cover {
  height: 140px;
  background: linear-gradient(135deg, var(--sage) 0%, var(--teal) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.9);
  font-size: 2rem;
}

.blog-card__body { padding: 20px; flex: 1; }

.blog-card__tag {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--coral);
  font-weight: 600;
  margin-bottom: 8px;
}

.blog-card h3 {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.45;
  margin-bottom: 10px;
  color: var(--text);
}

.blog-card p {
  font-size: 0.82rem;
  color: var(--text-soft);
  margin-bottom: 12px;
}

.blog-card__link {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--teal);
}

/* Testimonials */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--border);
  position: relative;
}

.testimonial::before {
  content: "\201C";
  font-size: 3rem;
  color: var(--coral);
  opacity: 0.3;
  line-height: 1;
  position: absolute;
  top: 12px;
  left: 20px;
}

.testimonial p {
  font-size: 0.9rem;
  color: var(--text-soft);
  font-style: italic;
  padding-top: 20px;
  margin-bottom: 14px;
}

.testimonial cite {
  font-size: 0.8rem;
  color: var(--teal);
  font-style: normal;
  font-weight: 500;
}

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--teal), var(--sage-deep));
  color: #fff;
  text-align: center;
  padding: 64px 24px;
  border-radius: 0;
}

.cta-band h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 12px;
}

.cta-band p {
  opacity: 0.9;
  margin-bottom: 28px;
  font-size: 0.95rem;
}

.cta-band .btn-primary {
  background: #fff;
  color: var(--teal);
  box-shadow: none;
}

.cta-band .btn-primary:hover {
  background: var(--bg-soft);
  color: var(--teal);
}

/* Footer */
.site-footer {
  background: #1e3d3d;
  color: rgba(255,255,255,0.75);
  padding: 56px 24px 28px;
}

.footer-grid {
  max-width: 1180px;
  margin: 0 auto 40px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand img { height: 40px; margin-bottom: 14px; filter: brightness(0) invert(1); opacity: 0.9; }

.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.8;
  max-width: 320px;
}

.footer-col h4 {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.footer-col a,
.footer-col p {
  display: block;
  font-size: 0.82rem;
  margin-bottom: 10px;
  color: rgba(255,255,255,0.65);
}

.footer-col a:hover { color: var(--coral); }

.footer-bottom {
  max-width: 1180px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
  margin-bottom: 16px;
}

.footer-links a { font-size: 0.8rem; color: rgba(255,255,255,0.6); }
.footer-links a:hover { color: var(--coral); }

/* Page layouts */
.page-hero {
  padding: 48px 24px 32px;
  background: linear-gradient(180deg, var(--bg-soft), var(--bg));
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--teal);
  margin-bottom: 10px;
}

.page-hero p { color: var(--text-soft); font-size: 0.95rem; }

.page-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 24px 72px;
}

.page-content h2 {
  font-size: 1.2rem;
  color: var(--teal);
  margin: 32px 0 12px;
}

.page-content h2:first-child { margin-top: 0; }

.page-content p,
.page-content li {
  font-size: 0.92rem;
  color: var(--text-soft);
  margin-bottom: 12px;
}

.page-content ul,
.page-content ol {
  padding-left: 1.4rem;
  margin-bottom: 16px;
}

.breadcrumb {
  font-size: 0.8rem;
  color: var(--text-soft);
  margin-bottom: 24px;
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  padding: 16px 24px 0;
}

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

/* Product detail */
.product-detail {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 24px 72px;
}

.prod-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 48px;
}

.prod-gallery {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 40px;
  border: 1px solid var(--border);
  text-align: center;
}

.prod-gallery img { max-height: 360px; margin: 0 auto; object-fit: contain; }

.prod-info h1 {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  color: var(--teal);
  margin-bottom: 12px;
  line-height: 1.35;
}

.prod-badge {
  display: inline-block;
  padding: 4px 14px;
  background: rgba(123,174,142,0.15);
  color: var(--sage-deep);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.prod-desc {
  color: var(--text-soft);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.price-block {
  background: var(--bg-soft);
  border-radius: var(--radius-sm);
  padding: 24px;
  margin-bottom: 24px;
}

.price-now {
  font-size: 2rem;
  font-weight: 700;
  color: var(--coral-deep);
}

.price-was {
  font-size: 0.9rem;
  color: var(--text-soft);
  text-decoration: line-through;
  margin-left: 10px;
}

.price-note {
  font-size: 0.8rem;
  color: var(--text-soft);
  margin-top: 8px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.trust-row span {
  font-size: 0.75rem;
  padding: 4px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-soft);
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  margin: 16px 0;
}

.spec-table th,
.spec-table td {
  border: 1px solid var(--border);
  padding: 12px 16px;
  text-align: left;
}

.spec-table th {
  background: var(--bg-soft);
  color: var(--teal);
  font-weight: 600;
  width: 35%;
}

.spec-table td { color: var(--text-soft); }

.warn-box {
  background: rgba(232, 146, 124, 0.1);
  border: 1px solid rgba(232, 146, 124, 0.3);
  border-radius: var(--radius-sm);
  padding: 20px;
  font-size: 0.88rem;
  color: var(--text-soft);
  margin-top: 16px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.related-grid a {
  text-align: center;
  padding: 16px 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  color: var(--text-soft);
  transition: border-color 0.25s, color 0.25s;
}

.related-grid a:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.related-grid strong {
  display: block;
  font-size: 1.1rem;
  color: var(--coral-deep);
  margin-bottom: 4px;
}

/* Blog article placeholder */
.article-placeholder {
  background: var(--bg-soft);
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 48px 32px;
  text-align: center;
  margin: 32px 0;
}

.article-placeholder p {
  color: var(--text-soft);
  font-size: 0.92rem;
}

/* Cart drawer */
.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 500;
  pointer-events: none;
  visibility: hidden;
}

.cart-drawer.is-open {
  pointer-events: auto;
  visibility: visible;
}

.cart-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  transition: opacity 0.3s;
}

.cart-drawer.is-open .cart-backdrop { opacity: 1; }

.cart-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(400px, 100%);
  height: 100%;
  background: var(--surface);
  box-shadow: -8px 0 40px rgba(0,0,0,0.12);
  transform: translateX(100%);
  transition: transform 0.35s var(--ease);
  display: flex;
  flex-direction: column;
}

.cart-drawer.is-open .cart-panel { transform: translateX(0); }

.cart-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-header h2 { font-size: 1.1rem; color: var(--teal); }

.cart-close {
  width: 36px;
  height: 36px;
  border: none;
  background: var(--bg-soft);
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  color: var(--text-soft);
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 16px 24px;
}

.cart-empty {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.cart-item {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.cart-item img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  background: var(--bg-soft);
  border-radius: 8px;
  padding: 4px;
}

.cart-item-info { flex: 1; }

.cart-item-info strong {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 4px;
}

.cart-item-info span { font-size: 0.8rem; color: var(--coral-deep); font-weight: 600; }

.cart-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--border);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
  font-weight: 600;
  color: var(--teal);
}

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.mobile-nav.is-open {
  display: block;
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-panel {
  position: absolute;
  top: 0;
  left: 0;
  width: min(300px, 85%);
  height: 100%;
  background: var(--surface);
  padding: 24px;
  transform: translateX(-100%);
  transition: transform 0.35s var(--ease);
}

.mobile-nav.is-open .mobile-nav-panel { transform: translateX(0); }

.mobile-nav a {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-weight: 500;
  color: var(--text);
}

/* Responsive */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-lead { margin-left: auto; margin-right: auto; }
  .hero-cta-group { justify-content: center; }
  .hero-visual { order: -1; }
  .features { grid-template-columns: 1fr; }
  .story-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .testimonials { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .prod-layout { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: repeat(3, 1fr); }
  .site-nav { display: none; }
  .menu-toggle { display: block; }
}

@media (max-width: 560px) {
  .product-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .blog-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { flex-wrap: wrap; }
}

/* Article body */
.page-content.article-body {
  max-width: 900px;
}

.article-body h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--teal);
  margin: 36px 0 14px;
  line-height: 1.4;
}

.article-body h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin: 24px 0 10px;
}

.article-body p {
  font-size: 0.95rem;
  color: var(--text-soft);
  margin-bottom: 14px;
  line-height: 1.85;
}

.article-body ul,
.article-body ol {
  margin: 12px 0 18px 1.25rem;
  color: var(--text-soft);
  font-size: 0.93rem;
  line-height: 1.8;
}

.article-body li { margin-bottom: 8px; }

.article-body strong { color: var(--text); font-weight: 600; }

.article-body table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  margin: 18px 0 24px;
}

.article-body th,
.article-body td {
  border: 1px solid var(--border);
  padding: 10px 14px;
  text-align: left;
  vertical-align: top;
}

.article-body th {
  background: var(--bg-soft);
  color: var(--teal);
  font-weight: 600;
}

.article-body td { color: var(--text-soft); }

.article-body blockquote {
  background: var(--bg-soft);
  border-left: 4px solid var(--sage);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 20px;
  margin: 18px 0;
  font-size: 0.9rem;
  color: var(--text-soft);
  line-height: 1.75;
}

.article-body blockquote p { margin-bottom: 8px; }
.article-body blockquote p:last-child { margin-bottom: 0; }

.article-body a {
  color: var(--teal-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-body a:hover { color: var(--coral-deep); }

.article-body .formula {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  margin: 16px 0;
  font-size: 0.95rem;
  color: var(--teal);
  text-align: center;
}

/* BMI calculator */
.bmi-calculator {
  background: linear-gradient(145deg, var(--surface), var(--bg-soft));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin: 24px 0 32px;
  box-shadow: var(--shadow);
}

.bmi-calculator h3 {
  margin-top: 0 !important;
  text-align: center;
}

.bmi-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

.bmi-field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-soft);
  margin-bottom: 6px;
}

.bmi-field input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  background: var(--surface);
}

.bmi-field input:focus {
  outline: 2px solid rgba(45, 106, 106, 0.25);
  border-color: var(--teal);
}

.bmi-calc-btn {
  grid-column: 1 / -1;
  padding: 14px;
  border: none;
  border-radius: 999px;
  background: var(--teal);
  color: #fff;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.25s;
}

.bmi-calc-btn:hover { background: var(--teal-soft); }

.bmi-result {
  margin-top: 20px;
  padding: 20px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--border);
  text-align: center;
  display: none;
}

.bmi-result.is-show { display: block; }

.bmi-result-value {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--coral-deep);
  line-height: 1.2;
}

.bmi-result-label {
  font-size: 1rem;
  font-weight: 600;
  color: var(--teal);
  margin-top: 8px;
}

.bmi-result-tip {
  font-size: 0.85rem;
  color: var(--text-soft);
  margin-top: 10px;
  line-height: 1.6;
}

@media (max-width: 560px) {
  .bmi-form { grid-template-columns: 1fr; }
}

/* Article recommended reading */
.article-related {
  margin-top: 48px;
  margin-bottom: 80px;
  padding-top: 32px;
  padding-bottom: 24px;
  border-top: 1px solid var(--border);
}

.article-related h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--teal);
  margin-bottom: 20px;
}

.article-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.article-related a {
  display: block;
  padding: 18px 16px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.article-related a:hover {
  border-color: var(--sage);
  box-shadow: var(--shadow);
  color: var(--text);
}

.article-related a strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--teal);
  margin-bottom: 6px;
  line-height: 1.45;
}

.article-related a span {
  font-size: 0.8rem;
  color: var(--text-soft);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .article-related-grid { grid-template-columns: 1fr; }
}

.blog-card__cover{padding:0;overflow:hidden}
.blog-card__cover img{width:100%;height:100%;object-fit:cover;display:block}
.article-cover{max-width:900px;margin:0 auto 8px;padding:0 24px}
.article-cover img{width:100%;max-height:360px;object-fit:cover;border-radius:var(--radius);display:block}
/* article-detail-fix */
.page-content.article-body section.bmi{margin:28px 0;padding:24px;border:1px solid var(--border);border-radius:16px;background:linear-gradient(135deg,#f0faf8,#fff)}
.page-content.article-body .bmi h2{margin:0 0 8px;font-size:1.15rem;color:var(--teal)}
.page-content.article-body .bmi-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0}
.page-content.article-body .bmi label{display:grid;gap:6px;font-size:.82rem;color:var(--muted)}
.page-content.article-body .bmi input{padding:11px 12px;border:1px solid var(--border);border-radius:10px;font:inherit}
.page-content.article-body .bmi button{margin-top:4px;padding:11px 18px;border:0;border-radius:999px;background:var(--teal);color:#fff;font-weight:600;cursor:pointer}
.page-content.article-body .bmi-out{margin-top:14px;padding:12px 14px;border-radius:10px;background:#eef8f6;font-size:.92rem}
@media(max-width:640px){.page-content.article-body .bmi-grid{grid-template-columns:1fr}}
/* article-layout-wide */
main:has(.page-content.article-body) .breadcrumb,
main:has(.page-content.article-body) .page-hero,
main:has(.page-content.article-body) .article-cover,
main:has(.page-content.article-body) .page-content,
main:has(.page-content.article-body) .article-related {
  max-width: min(960px, 94vw);
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}
main:has(.page-content.article-body) .page-hero,
main:has(.page-content.article-body) .article-related {
  width: 100%;
  padding-left: 24px;
  padding-right: 24px;
}
main:has(.article-related) {
  padding-bottom: 48px;
}

/* article-no-mid-cover */
.page-content [class$="-cover"],
.page-content .article-cover,
.content [class$="-cover"],
.content .article-cover,
.prose [class$="-cover"],
.prose .article-cover,
.hyper-prose [class$="-cover"],
.tk-prose [class$="-cover"],
.tk-prose .article-cover,
.body [class$="-cover"],
.body .article-cover,
.bl-prose [class$="-cover"],
.bl-prose .article-cover,
.hz-prose [class$="-cover"],
.vx-prose [class$="-cover"],
.sf-prose [class$="-cover"],
.np-prose [class$="-cover"],
.ap-prose [class$="-cover"],
.wl-prose [class$="-cover"] {
  display: none !important;
}
