:root {
  --bg: #f5f1eb;
  --card: #ffffff;
  --text: #211c17;
  --text-dim: #6f6459;
  --accent: #d1603f;
  --accent-2: #e8955f;
  --accent-dark: #a8452b;
  --border: rgba(33,28,23,0.08);
  --shadow: 0 12px 32px rgba(33,28,23,0.10);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #17130f;
    --card: #221c17;
    --text: #f5efe8;
    --text-dim: #a89a8c;
    --border: rgba(255,255,255,0.08);
    --shadow: 0 12px 32px rgba(0,0,0,0.35);
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
h1, h2, h3 { font-family: 'Plus Jakarta Sans', sans-serif; letter-spacing: -0.02em; }
.wrap { max-width: 600px; margin: 0 auto; padding: 0 20px 40px; }

.disclosure {
  background: var(--text);
  color: var(--bg);
  padding: 9px 20px;
  text-align: center;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

/* ===== Trang chủ / catalog nhiều sản phẩm ===== */
.catalog-header { text-align: center; padding: 36px 0 8px; }
.catalog-header h1 { font-size: 24px; font-weight: 800; margin: 0 0 8px; }
.catalog-header p { color: var(--text-dim); font-size: 14px; margin: 0; }
.catalog-grid { display: flex; flex-direction: column; gap: 14px; margin-top: 24px; }
.catalog-card {
  display: flex; gap: 14px; align-items: center;
  background: var(--card); border: 1px solid var(--border); border-radius: 18px;
  padding: 14px; text-decoration: none; box-shadow: var(--shadow);
}
.catalog-thumb {
  width: 64px; height: 64px; border-radius: 14px; flex-shrink: 0;
  background: linear-gradient(145deg, var(--accent-2), var(--accent-dark));
  display: flex; align-items: center; justify-content: center; font-size: 28px;
}
.catalog-card-body h3 { font-size: 15px; margin: 0 0 4px; font-weight: 700; }
.catalog-card-body p { font-size: 12px; color: var(--text-dim); margin: 0; line-height: 1.4; }
.catalog-card-price { margin-left: auto; font-weight: 800; color: var(--accent-dark); font-size: 15px; white-space: nowrap; }

/* ===== Trang chi tiết 1 sản phẩm ===== */
.hero { padding: 32px 0 4px; text-align: center; }
.hero-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 28px;
  background:
    radial-gradient(circle at 30% 25%, rgba(255,255,255,0.35), transparent 55%),
    linear-gradient(145deg, var(--accent-2), var(--accent-dark));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin-bottom: 24px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.hero-image .glyph { font-size: 64px; margin-bottom: 10px; filter: drop-shadow(0 6px 14px rgba(0,0,0,0.2)); }
.hero-image .cap { font-size: 13px; font-weight: 600; opacity: 0.85; letter-spacing: 0.02em; }
.badge {
  position: absolute; top: 16px; left: 16px;
  background: rgba(255,255,255,0.92); color: var(--accent-dark);
  font-size: 11px; font-weight: 700; letter-spacing: 0.03em;
  padding: 6px 12px; border-radius: 999px; text-transform: uppercase;
}
.back-link { display: block; text-align: center; padding-top: 16px; font-size: 13px; color: var(--text-dim); text-decoration: none; }

.eyebrow { color: var(--accent-dark); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; margin: 0 0 10px; }
.hero h1 { font-size: 28px; font-weight: 800; margin: 0 0 10px; line-height: 1.18; }
.hero .tagline { color: var(--text-dim); font-size: 16px; margin: 0 0 16px; line-height: 1.5; }

.rating { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 14px; color: var(--text-dim); margin-bottom: 16px; }
.stars { color: #e0a94a; letter-spacing: 1px; font-size: 16px; }
.rating-num { font-weight: 700; color: var(--text); }

.price-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 20px;
  box-shadow: var(--shadow);
  margin-bottom: 14px;
}
.price-row { display: flex; align-items: baseline; justify-content: center; gap: 10px; margin-bottom: 16px; }
.price { font-size: 32px; font-weight: 800; color: var(--accent-dark); }
.compare { font-size: 16px; color: var(--text-dim); text-decoration: line-through; }

.cta {
  display: block;
  width: 100%;
  text-align: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  font-weight: 700;
  font-size: 17px;
  padding: 17px;
  border-radius: 14px;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(209,96,63,0.35);
  transition: transform 0.15s ease;
}
.cta:active { transform: scale(0.97); }
.cta-note { text-align: center; font-size: 12px; color: var(--text-dim); margin-top: 10px; }

.section { margin-top: 44px; }
.section h2 { font-size: 21px; font-weight: 800; margin: 0 0 18px; }

.features-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.feature-card { background: var(--card); border: 1px solid var(--border); border-radius: 18px; padding: 20px; box-shadow: var(--shadow); }
.feature-icon {
  width: 40px; height: 40px; border-radius: 12px;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  display: flex; align-items: center; justify-content: center;
  font-size: 19px; margin-bottom: 12px;
}
.feature-card h3 { font-size: 15px; margin: 0 0 6px; font-weight: 700; }
.feature-card p { font-size: 13px; color: var(--text-dim); margin: 0; line-height: 1.55; }

.faq-item { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 16px 18px; margin-bottom: 10px; box-shadow: var(--shadow); }
.faq-item summary { font-weight: 700; cursor: pointer; list-style: none; font-size: 15px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; float: right; color: var(--accent); font-size: 18px; }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { color: var(--text-dim); font-size: 14px; margin: 12px 0 0; line-height: 1.65; }

.sticky-cta {
  position: sticky;
  bottom: 0;
  background: linear-gradient(to top, var(--bg) 70%, transparent);
  padding: 18px 20px calc(14px + env(safe-area-inset-bottom));
  margin-top: 40px;
}

footer { text-align: center; font-size: 11px; color: var(--text-dim); margin-top: 34px; line-height: 1.7; }
