/* ============================================================
   VI Feerie — Global tokens & base
   ============================================================ */

:root {
  /* Bảng màu thương hiệu — theo file Branding_preview
     #C9ABBD · #FFE9F1 · #DCEEFF · #FFFFFF · #382213 */
  --brand: #c9abbd;
  --brand-soft: #ffe9f1;
  --brand-blue: #dceeff;

  /* Sắc độ phụ, pha từ màu chủ đạo để đủ tương phản cho chữ và nút */
  --brand-light: #e3cdd8;
  --brand-deep: #8f6b84;
  --brand-deeper: #79576d;
  --brand-tint: #fdf5f8;

  --ink: #382213;
  --text: #382213;
  --muted: #8b7a70;
  --line: #ece3e7;
  --bg: #ffffff;
  --bg-soft: #fdf8fa;

  --font-display: "Playfair Display", "Times New Roman", serif;
  --font-body: "Be Vietnam Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --topbar-h: 38px;
  --midbar-h: 100px;
  --navbar-h: 52px;
  --header-h: calc(var(--topbar-h) + var(--midbar-h) + var(--navbar-h));

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --radius: 10px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

body.is-locked {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

input {
  font: inherit;
  color: inherit;
}

svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

::selection {
  background: var(--brand);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

/* ---------------- Container ---------------- */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
}

@media screen and (max-width: 1200px) {
  .container { padding: 0 24px; }
}

@media screen and (max-width: 640px) {
  .container { padding: 0 16px; }
}

/* ---------------- Nút ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  width: max-content;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--brand {
  color: #fff;
  background: var(--brand-deep);
}

.btn--brand:hover {
  background: var(--brand-deeper);
}

.btn--line {
  color: var(--text);
  border: 1px solid var(--line);
  background: #fff;
}

.btn--line:hover {
  border-color: var(--brand);
  color: var(--brand-deep);
}

.btn--block {
  width: 100%;
}

/* ---------------- Nhãn ---------------- */
.tag-hot {
  display: inline-block;
  margin-left: 5px;
  padding: 1px 5px;
  border-radius: 3px;
  background: var(--brand-deep);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  vertical-align: 2px;
}
