/* SINH TỰ ĐỘNG bởi lanora/scope-css.py từ "giao_dien_hoan_chinh/css/base.css" — đừng sửa tay, sửa file gốc rồi chạy lại. */
/* ===== Design tokens (từ Figma) ===== */
:root {
  --primary-01: #6f2e7d;
  --primary-02: #913791;
  --primary-03: #e4b5e8;
  --primary-04: #fcf7fc;
  --secondary-01: #906a40;
  --secondary-02: #7a5226;

  --text-primary: #252228;
  --text-secondary: #625d63;
  --text-tertiary: #8a858a;
  --text-disabled: #b8b3b8;
  --price: #e70000;

  --border-subtle: #eee9eb;
  --border-default: #e4dfe1;
  --border-strong: #cfc8cc;

  --white: #ffffff;
  --gradient-01: linear-gradient(77deg, #6f2e7d 0%, #913791 69.862%, #b151bf 100%);

  --font-display: "Beautique Display", "Times New Roman", serif;
  --font-body: "Google Sans Flex", "Segoe UI", Arial, sans-serif;

  --page-width: 1440px;
  --lanora-gutter: 80px;
  --content-width: 1280px;
}

/* ===== Reset ===== */
:where(.lanora) *,
:where(.lanora) *::before,
:where(.lanora) *::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  min-width: var(--page-width);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 24px;
  color: var(--text-primary);
  background: var(--white);
  font-variation-settings: "GRAD" 0, "ROND" 0, "wdth" 100;
  -webkit-font-smoothing: antialiased;
}
:where(.lanora) h1, :where(.lanora) h2, :where(.lanora) h3, :where(.lanora) h4, :where(.lanora) h5, :where(.lanora) h6, :where(.lanora) p, :where(.lanora) ul, :where(.lanora) ol, :where(.lanora) dl, :where(.lanora) dd, :where(.lanora) figure, :where(.lanora) blockquote, :where(.lanora) fieldset {
  margin: 0;
  padding: 0;
}
:where(.lanora) ul, :where(.lanora) ol {
  list-style: none;
}
:where(.lanora) a {
  color: inherit;
  text-decoration: none;
}
:where(.lanora) img {
  display: block;
  max-width: none;
}
:where(.lanora) button,
:where(.lanora) input,
:where(.lanora) select,
:where(.lanora) textarea {
  font: inherit;
  color: inherit;
}
:where(.lanora) button {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

/* ===== Layout ===== */
:where(.lanora) .page {
  position: relative;
  width: var(--page-width);
  margin: 0 auto;
  overflow: hidden;
}
:where(.lanora) .container {
  width: var(--content-width);
  margin: 0 auto;
}

/* ===== Typography (text styles Figma) ===== */
:where(.lanora) .h1 { font-family: var(--font-display); font-weight: 700; font-size: 56px; line-height: 73px; } /* Figma làm tròn 1.3 x 56 */
:where(.lanora) .h2 { font-family: var(--font-display); font-weight: 700; font-size: 48px; line-height: 62px; }
:where(.lanora) .h3 { font-family: var(--font-display); font-weight: 700; font-size: 40px; line-height: 52px; }
:where(.lanora) .h4 { font-family: var(--font-display); font-weight: 700; font-size: 32px; line-height: 42px; }
:where(.lanora) .h5 { font-family: var(--font-display); font-weight: 700; font-size: 24px; line-height: 31px; }
:where(.lanora) .h6 { font-family: var(--font-display); font-weight: 700; font-size: 18px; line-height: 26px; }

:where(.lanora) .sub-heading {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 1.68px;
  color: var(--secondary-01);
  text-transform: uppercase;
}

:where(.lanora) .body-13i { font-size: 13px; line-height: 18px; font-style: oblique 10deg; }
:where(.lanora) .body-14 { font-size: 14px; line-height: 20px; }
:where(.lanora) .body-16 { font-size: 16px; line-height: 24px; }
:where(.lanora) .body-18 { font-size: 18px; line-height: 26px; }
:where(.lanora) .italic { font-style: oblique 10deg; }

:where(.lanora) .text-shadow-white { text-shadow: 0 2px 16px #fff; }

/* Tiêu đề section căn giữa (sub-heading + H3 + mô tả) */
:where(.lanora) .section-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 846px;
  margin: 0 auto;
  text-align: center;
}
:where(.lanora) .section-title__heading {
  color: var(--primary-01);
}
:where(.lanora) .section-title__desc {
  margin-top: 0;
  color: var(--text-secondary);
}
:where(.lanora) .section-title__body {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

:where(.lanora) .visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Xuống dòng chỉ dùng cho mobile */
:where(.lanora) .br-m {
  display: none;
}

/* =========================================================
   MOBILE (Figma "UI Mobile" – frame 393px)
   ========================================================= */
@media (max-width: 767px) {
  body {
    min-width: 0;
  }
  :where(.lanora) .page {
    width: 100%;
    overflow: clip; /* hidden tạo vùng cuộn riêng làm hỏng position: sticky (TOC, nút xác nhận) */
  }
  :where(.lanora) .container {
    width: auto;
    margin: 0 16px;
  }
  /* Bản mobile tự xuống dòng theo khung, chỉ giữ các <br class="br-m"> */
  :where(.lanora) br {
    display: none;
  }
  :where(.lanora) br.br-m {
    display: inline;
  }

  /* Text styles mobile */
  :where(.lanora) .sub-heading {
    font-size: 13px;
    line-height: 18px;
    letter-spacing: 1.56px;
  }
  :where(.lanora) .section-title {
    align-items: flex-start;
    gap: 16px;
    width: auto !important;
    margin: 0 16px;
    text-align: left;
    transform: none !important;
    white-space: normal !important;
  }
  :where(.lanora) .section-title__body {
    gap: 16px;
  }
  :where(.lanora) .section-title__heading {
    font-size: 32px;
    line-height: 42px;
  }
  :where(.lanora) .section-title__desc {
    font-size: 14px;
    line-height: 20px;
  }
}

/* =========================================================
   MÀN RỘNG HƠN 1440px: nền tràn hết chiều ngang, nội dung giữ
   khung 1440 căn giữa như Figma.
   --bleed = phần dư mỗi bên ( (độ rộng trang - 1440) / 2 ).
   Lớp nền kéo ra: left: calc(-1 * var(--bleed)); width: 100cqw.
   ========================================================= */
@media (min-width: 1441px) {
  body {
    min-width: 0;
  }
  :where(.lanora) .page {
    width: 100%;
    overflow: clip;
    container-type: inline-size;
    --bleed: calc(50cqw - 720px);
  }
  :where(.lanora) .page > * {
    width: 1440px;
    margin-left: auto;
    margin-right: auto;
  }
}
