/* ==========================================================
   Phước Sanh Pharma – nhãn hiệu Thùng Đỏ
   Bố cục kiểu website dược phẩm doanh nghiệp: thanh liên kết trên cùng,
   đầu trang trắng, banner, hàng con số, khối xen kẽ, lưới sản phẩm, chân trang tối.
   Tiêu đề EB Garamond, nội dung Roboto. Màu chủ đạo: đỏ gạch dịu của logo.
   ========================================================== */

:root {
  --red: #A62B2D;        /* màu chủ đạo – đỏ Thùng Đỏ dịu */
  --red-deep: #7E1F21;
  --red-soft: #FBEFEE;
  --gold: #C99A3B;       /* vàng kim trang trí */
  --gold-text: #7A5A1C;

  --bg: #FFFFFF;
  --bg-tint: #FDF7F2;    /* nền hồng đào rất nhạt, hợp tông banner */
  --peach: #FBEAE2;
  --peach-light: #FEF5F0;
  --surface: #FFFFFF;
  --heading: #7E1F21;
  --text: #2B2B2B;
  --text-muted: #555555;
  --line: #F0E2DA;
  --footer: #FBEDE6;     /* chân trang sáng */
  --footer-deep: #A62B2D;

  --font-title: "EB Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  --fs-sm: 0.9375rem;
  --fs-base: 1.0625rem;
  --fs-md: 1.25rem;
  --fs-lg: 1.625rem;
  --fs-xl: clamp(2rem, 1.5rem + 1.6vw, 2.75rem);
  --fs-2xl: clamp(2.5rem, 1.6rem + 3.2vw, 4rem);

  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 5rem;

  --radius: 5px;
  --gutter: 16px;
}
@media (min-width: 768px) { :root { --gutter: 24px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.7;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--red); text-underline-offset: 0.18em; }
a:hover { color: var(--red-deep); }
h1, h2, h3 { font-family: var(--font-title); font-weight: 500; line-height: 1.15; margin: 0 0 var(--space-2); color: var(--heading); text-wrap: balance; }
p { margin: 0 0 var(--space-2); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 2px; }
.footer__legal :focus-visible { outline-color: #fff; }

.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: 820px; }
.skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--text); color: #fff; padding: var(--space-1) var(--space-2); }
.skip:focus { left: var(--space-1); top: var(--space-1); }

/* ---------- Nút ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 46px; padding: 0.6em 1.4em;
  border: 2px solid transparent; border-radius: var(--radius);
  font: 500 var(--fs-base)/1.2 var(--font-body);
  text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn--lg { min-height: 54px; padding: 0.7em 1.6em; font-size: 1.125rem; }
.btn--block { width: 100%; }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-deep); color: #fff; }
.btn--line { border-color: var(--line); background: var(--surface); color: var(--text); }
.btn--line:hover { border-color: var(--red); color: var(--red); }

.link-strong { font-weight: 500; color: var(--red); }
.link-more { display: inline-flex; align-items: center; gap: 0.2rem; min-height: 44px; color: var(--text-muted); font-family: var(--font-title); font-size: var(--fs-md); text-decoration: none; }
.link-more:hover { color: var(--red); }
.link-more .icon { width: 1em; height: 1em; }

/* ---------- Thanh trên cùng ---------- */
.topbar { background: var(--bg-tint); border-bottom: 1px solid var(--line); font-size: var(--fs-sm); color: var(--text-muted); }
.topbar__row { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); min-height: 38px; }
.topbar__slogan { margin: 0; font-family: var(--font-title); font-size: 1.0625rem; font-style: italic; color: var(--gold-text); }
.topbar__links { list-style: none; margin: 0; padding: 0; display: flex; gap: var(--space-3); }
.topbar__links a { color: var(--text-muted); text-decoration: none; display: inline-block; padding-block: 0.4rem; }
.topbar__links a:hover { color: var(--red); }
.topbar__links strong { color: var(--red); font-weight: 700; }
@media (max-width: 767px) {
  .topbar__slogan { display: none; }
  .topbar__row { justify-content: center; }
  .topbar__links li:not(:first-child) { display: none; }
}

/* ---------- Đầu trang ---------- */
.masthead { position: sticky; top: 0; z-index: 20; background: var(--bg); box-shadow: 0 2px 10px rgba(0, 0, 0, .06); }
.masthead__row { display: flex; align-items: center; gap: var(--space-2); min-height: 80px; }
.brand { display: flex; align-items: center; gap: 0.7rem; color: var(--text); text-decoration: none; margin-right: auto; }
.brand:hover { color: var(--text); }
.logo { width: 60px; height: 60px; border-radius: 50%; background: #fff; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--font-title); font-weight: 700; font-size: 1.6rem; color: var(--red); }
.brand__sub { font-family: var(--font-title); font-style: italic; font-size: 1rem; color: var(--gold-text); }

.nav > ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 0.1rem; }
.nav li { position: relative; }
.nav a {
  display: flex; align-items: center; gap: 0.2rem; min-height: 48px; padding: 0 0.8rem;
  color: var(--text); text-decoration: none; font-weight: 500; white-space: nowrap;
}
.nav a:hover { color: var(--red); }
.nav a[aria-current="page"] { color: var(--red); }
.nav__caret { width: 1em; height: 1em; color: var(--text-muted); }
.sub {
  list-style: none; margin: 0; padding: 0.5rem 0; min-width: 220px;
  position: absolute; left: 0; top: 100%; background: var(--bg); border-top: 3px solid var(--red);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .12); border-radius: 0 0 var(--radius) var(--radius);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s ease, transform .15s ease, visibility .15s;
}
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { min-height: 44px; padding: 0 1.1rem; font-weight: 400; }
.sub a:hover { background: var(--bg-tint); }
.masthead__call { white-space: nowrap; }
.search-btn {
  display: grid; place-items: center; width: 44px; height: 44px; flex: none;
  border-radius: 50%; background: var(--red); color: #fff;
}
.search-btn:hover { background: var(--red-deep); color: #fff; }
.nav-toggle {
  display: none; align-items: center; gap: 0.4rem; min-height: 46px; padding: 0 0.9rem;
  background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: var(--radius);
  font: 500 1rem var(--font-body); cursor: pointer;
}

@media (max-width: 1099px) {
  .masthead__call { display: none; }
  .nav-toggle { display: inline-flex; order: 3; }
  .search-btn { order: 2; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); display: none; border-top: 1px solid var(--line); box-shadow: 0 14px 24px rgba(0, 0, 0, .1); max-height: calc(100vh - 80px); overflow-y: auto; }
  .nav.is-open { display: block; }
  .nav > ul { flex-direction: column; padding: var(--space-1) var(--gutter) var(--space-2); }
  .nav a { min-height: 52px; font-size: 1.125rem; }
  .nav a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--red); }
  .nav__caret { display: none; }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0.5rem 1rem; min-width: 0; }
  .sub a { min-height: 44px; color: var(--text-muted); }
}
@media (max-width: 480px) {
  .logo { width: 50px; height: 50px; }
  .brand__name { font-size: 1.35rem; }
  .brand__sub { display: none; }
  .masthead__row { min-height: 70px; gap: 0.6rem; }
}

/* ---------- Banner trượt ---------- */
.slider { position: relative; background: var(--peach); overflow: hidden; }
.slider__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.slider__track::-webkit-scrollbar { display: none; }
.slider__slide { flex: 0 0 100%; scroll-snap-align: start; display: block; }
.slider__slide img { display: block; width: 100%; height: auto; aspect-ratio: 1280 / 569; object-fit: cover; max-height: 620px; margin-inline: auto; }
.slider__arrow {
  position: absolute; top: 50%; transform: translateY(-50%); display: grid; place-items: center;
  width: 46px; height: 46px; border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(255, 255, 255, .85); color: var(--red); box-shadow: 0 4px 14px rgba(0, 0, 0, .12);
  transition: background-color .15s ease;
}
.slider__arrow:hover { background: #fff; }
.slider__arrow .icon { width: 26px; height: 26px; }
.slider__arrow--prev { left: 16px; } .slider__arrow--prev .icon { transform: rotate(90deg); }
.slider__arrow--next { right: 16px; } .slider__arrow--next .icon { transform: rotate(-90deg); }
@media (min-width: 1100px) { .slider__arrow--prev { left: 86px; } } /* chừa chỗ cột nút liên hệ */
.slider__dots { position: absolute; left: 0; right: 0; bottom: 12px; display: flex; justify-content: center; gap: 4px; }
.slider__dots button { width: 28px; height: 28px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.slider__dots button::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: rgba(166, 43, 45, .3); transition: width .2s ease, background-color .2s ease; }
.slider__dots button[aria-current="true"]::before { width: 24px; border-radius: 5px; background: var(--red); }
@media (max-width: 767px) {
  .slider__arrow { display: none; }
  .slider__dots { bottom: 2px; }
}

/* ---------- Lời chào ---------- */
.welcome { background: linear-gradient(180deg, #fff 0%, var(--peach-light) 100%); border-bottom: 1px solid var(--line); }
.welcome__grid { display: grid; gap: var(--space-3); align-items: center; padding-block: var(--space-5); }
@media (min-width: 900px) { .welcome__grid { grid-template-columns: 1fr auto; gap: var(--space-5); } }
.welcome__kicker { font-family: var(--font-title); font-size: var(--fs-md); font-style: italic; color: var(--gold-text); margin-bottom: 0.25rem; }
.welcome__title { font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.75rem); color: var(--red); line-height: 1.15; margin-bottom: var(--space-1); }
.welcome__lead { margin: 0; font-size: var(--fs-md); color: var(--text-muted); max-width: 52ch; }
.welcome__actions { display: flex; flex-wrap: wrap; gap: var(--space-2); }
@media (max-width: 560px) { .welcome__actions .btn { width: 100%; } }

/* ---------- Hàng con số ---------- */
.stats { background: var(--bg-tint); border-block: 1px solid var(--line); }
.stats__row { list-style: none; margin: 0 auto; padding-block: var(--space-5); display: grid; gap: var(--space-4) var(--space-3); grid-template-columns: repeat(2, 1fr); text-align: center; }
@media (min-width: 900px) { .stats__row { grid-template-columns: repeat(4, 1fr); } }
.stats__row li { display: flex; flex-direction: column; align-items: center; gap: 0.4rem; }
.stats__icon { width: 52px; height: 52px; color: var(--gold); margin-bottom: 0.3rem; }
.stats__value { font-family: var(--font-title); font-size: var(--fs-lg); font-weight: 600; color: var(--red-deep); line-height: 1.1; }
.stats__label { font-size: var(--fs-sm); color: var(--text-muted); max-width: 24ch; line-height: 1.5; }

/* ---------- Khối giới thiệu xen kẽ ---------- */
.feature { padding-block: var(--space-6); }
.feature__grid { display: grid; gap: var(--space-5); align-items: center; }
@media (min-width: 900px) { .feature__grid { grid-template-columns: 1.1fr 1fr; } }
.feature__kicker { font-family: var(--font-title); font-weight: 700; font-size: var(--fs-md); color: var(--heading); margin-bottom: 0.25rem; }
.feature__title { font-size: var(--fs-xl); margin-bottom: var(--space-3); }
.feature__text p:not(.feature__kicker) { color: var(--text-muted); max-width: 54ch; }

/* ---------- Khối nội dung ---------- */
.section { padding-block: var(--space-6); }
.section--tight { padding-block: var(--space-4) var(--space-6); }
.section--tint { background: var(--bg-tint); }
.section__title { font-size: var(--fs-xl); }
.section__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--space-1) var(--space-3); margin-bottom: var(--space-4); }
.section__head .section__title { margin: 0; }
.section__head--center { flex-direction: column; align-items: center; text-align: center; }
.section__head--center p { margin: 0; color: var(--text-muted); }

/* Nhu cầu */
.concerns { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.concern {
  display: flex; flex-direction: column; justify-content: center; min-height: 80px; padding: 0.8rem 1.1rem;
  background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--red); border-radius: var(--radius);
  color: var(--text); text-decoration: none; font-family: var(--font-title); font-weight: 600; font-size: 1.3125rem; line-height: 1.25;
  transition: box-shadow .15s ease, border-color .15s ease;
}
.concern:hover { color: var(--red); box-shadow: 0 6px 18px rgba(0, 0, 0, .07); }
.concern__count { font-family: var(--font-body); font-weight: 400; font-size: var(--fs-sm); color: var(--text-muted); }

/* Bảo chứng chất lượng */
.quality__inner { text-align: center; margin-bottom: var(--space-4); }
.quality__inner p { color: var(--text-muted); }
.badges { list-style: none; margin: 0 auto; padding-inline: var(--gutter); display: grid; gap: var(--space-3); grid-template-columns: repeat(auto-fit, minmax(200px, 280px)); justify-content: center; }
.badge { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.35rem; padding: var(--space-3) var(--space-2); }
.badge__mark {
  display: grid; place-items: center; width: 104px; height: 104px; margin-bottom: 0.5rem;
  border-radius: 50%; border: 2px solid var(--gold); outline: 1px solid var(--gold); outline-offset: 4px;
  font-family: var(--font-title); font-weight: 700; font-size: 1.9rem; color: var(--red);
}
.badge__name { font-family: var(--font-title); font-weight: 600; font-size: 1.1875rem; color: var(--heading); line-height: 1.25; }
.badge__note { font-size: var(--fs-sm); color: var(--text-muted); }

/* Lưới sản phẩm */
.grid { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.card__link {
  display: flex; flex-direction: column; height: 100%;
  background: var(--surface); border-radius: var(--radius); color: var(--text); text-decoration: none; overflow: hidden;
  transition: box-shadow .2s ease;
}
.card__link:hover { color: var(--text); box-shadow: 0 10px 28px rgba(0, 0, 0, .09); }
.card__art { aspect-ratio: 1 / 1; background: var(--surface); display: grid; place-items: center; padding: var(--space-2); }
.card__art img { width: 100%; height: 100%; object-fit: contain; }
.card__art .art { width: 66%; }
.card__body { display: flex; flex-direction: column; align-items: center; text-align: center; flex: 1; padding: 0 var(--space-2) var(--space-3); }
.card__kind { margin: 0 0 0.2rem; font-size: var(--fs-sm); color: var(--gold-text); }
.card__name { font-size: 1.4375rem; font-weight: 600; color: var(--red); margin-bottom: 0.4rem; }
.card__summary { margin: 0 0 var(--space-2); color: var(--text-muted); font-size: 0.9875rem; line-height: 1.55; }
.card__more {
  margin-top: auto; display: inline-flex; align-items: center; min-height: 38px; padding: 0 1.2rem;
  border: 1px solid var(--red); border-radius: 999px; color: var(--red); font-size: var(--fs-sm); font-weight: 500;
  transition: background-color .15s ease, color .15s ease;
}
.card__link:hover .card__more { background: var(--red); color: #fff; }

/* Chữ trên hộp thuốc minh họa */
.art__brand { font-family: var(--font-title); font-weight: 700; font-size: 18px; }
.art__name { font-family: var(--font-title); font-weight: 700; font-size: 30px; }
.art__name--sm { font-size: 20px; }
.art__kind { font-family: var(--font-body); font-weight: 500; font-size: 13px; }

/* Dòng thời gian */
.timeline { list-style: none; margin: 0; padding: 0 0 0 1.5rem; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 var(--space-3) var(--space-2); }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: calc(-1.5rem - 8px); top: 0.5rem; width: 14px; height: 14px; background: var(--bg); border: 2px solid var(--red); transform: rotate(45deg); }
.section--tint .timeline li::before { background: var(--bg-tint); }
.timeline__year { display: block; font-family: var(--font-title); font-weight: 600; font-size: var(--fs-lg); color: var(--red); line-height: 1.1; }
.timeline__title { display: block; font-weight: 500; }
.timeline--full p { margin: 0.35rem 0 0; color: var(--text-muted); max-width: 62ch; }

/* Tin tức: bài đầu nổi bật */
.news-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); }
@media (min-width: 900px) {
  .news-list { grid-template-columns: 1.3fr 1fr; grid-auto-rows: 1fr; }
  .news-list .news-item:first-child { grid-row: span 2; }
  .news-list .news-item:first-child a { flex-direction: column; padding: var(--space-4); }
  .news-list .news-item:first-child .news-item__badge { width: 72px; height: 72px; }
  .news-list .news-item:first-child .news-item__title { font-size: var(--fs-xl); }
}
.news-item a { display: flex; gap: var(--space-2); height: 100%; padding: var(--space-3); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); color: var(--text); text-decoration: none; transition: box-shadow .15s ease; }
.news-item a:hover { box-shadow: 0 8px 24px rgba(0, 0, 0, .08); }
.news-item a:hover .news-item__title { color: var(--red); }
.news-item img { width: 120px; height: 90px; object-fit: cover; border-radius: 4px; }
.news-item__badge { display: grid; place-items: center; width: 56px; height: 56px; flex: none; background: var(--red-soft); color: var(--red); border-radius: 50%; }
.news-item__badge .icon { width: 28px; height: 28px; }
.news-item__body { display: flex; flex-direction: column; gap: 0.3rem; }
.news-item time { font-size: var(--fs-sm); color: var(--text-muted); }
.news-item__title { font-family: var(--font-title); font-weight: 600; font-size: var(--fs-lg); line-height: 1.2; color: var(--heading); }
.news-item__summary { font-size: 0.9875rem; color: var(--text-muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* Dải đặt hàng */
.order-band { background: var(--bg-tint); border-top: 1px solid var(--line); padding-block: var(--space-5); }
.order-band__grid { display: grid; gap: var(--space-3); align-items: center; }
@media (min-width: 900px) { .order-band__grid { grid-template-columns: 1fr auto; } }
.order-band__title { font-size: var(--fs-xl); margin-bottom: 0.5rem; }
.order-band p { margin: 0; max-width: 50ch; color: var(--text-muted); }
.order-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 560px) { .order-band__actions .btn { flex: 1 1 100%; } }

/* ---------- Tiêu đề trang con ---------- */
.page-head { background: var(--bg-tint); padding-block: var(--space-4) var(--space-5); border-bottom: 1px solid var(--line); }
.page-head--center { text-align: center; padding-block: var(--space-6); }
.page-head--center .page-head__lead { margin-inline: auto; }
.page-head__title { font-size: var(--fs-2xl); margin-bottom: var(--space-2); }
.page-head__lead { font-size: var(--fs-md); line-height: 1.55; max-width: 52ch; color: var(--text-muted); }
.crumbs { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: var(--space-3); font-size: var(--fs-sm); color: var(--text-muted); }
.crumbs a { color: var(--text-muted); text-decoration: none; }
.crumbs a:hover { color: var(--red); text-decoration: underline; }
.crumbs [aria-current] { color: var(--text); font-weight: 500; }

/* ---------- Bộ lọc sản phẩm ---------- */
.filters { display: grid; gap: var(--space-3); margin-bottom: var(--space-3); }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.tabs a {
  display: inline-flex; align-items: center; min-height: 46px; padding: 0 1.2rem;
  border: 1px solid var(--line); border-radius: 999px; background: var(--surface);
  color: var(--text); text-decoration: none; font-weight: 500;
}
.tabs a:hover { border-color: var(--red); color: var(--red); }
.tabs a[aria-current="page"] { background: var(--red); border-color: var(--red); color: #fff; }
.search label { display: block; font-weight: 500; margin-bottom: 0.4rem; }
.search__box { position: relative; max-width: 560px; }
.search__box .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--text-muted); }
.search input {
  width: 100%; min-height: 54px; padding: 0 1rem 0 48px;
  border: 1px solid #CFC8BC; border-radius: var(--radius); background: var(--surface);
  font: 400 var(--fs-base) var(--font-body); color: var(--text);
}
.search input::placeholder { color: #8A8580; }
.search input:focus { border-color: var(--red); outline: none; box-shadow: 0 0 0 3px rgba(166, 43, 45, .18); }
.chips { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { font-weight: 500; margin-bottom: 0.4rem; padding: 0; width: 100%; }
.chip {
  min-height: 44px; padding: 0 1rem; border: 1px solid var(--line); border-radius: 999px; background: var(--surface);
  font: 400 1rem var(--font-body); color: var(--text); cursor: pointer;
}
.chip:hover { border-color: var(--red); color: var(--red); }
.chip[aria-pressed="true"] { background: var(--red-soft); border-color: var(--red); color: var(--red-deep); font-weight: 500; }
.result-count { color: var(--text-muted); }
.empty { padding: var(--space-4); background: var(--bg-tint); border: 1px dashed #CFC8BC; border-radius: var(--radius); }
.empty h2 { font-size: var(--fs-lg); }
.card[hidden] { display: none; }
.section--tight .card__link { border: 1px solid var(--line); }

/* ---------- Chi tiết sản phẩm ---------- */
.product { padding-block: var(--space-4) var(--space-6); }
.product__top { display: grid; gap: var(--space-4); margin-bottom: var(--space-5); }
@media (min-width: 900px) { .product__top { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr); align-items: start; gap: var(--space-5); } }
.product__art { background: var(--bg-tint); border-radius: var(--radius); padding: var(--space-4); display: grid; place-items: center; }
.product__art .art { width: min(72%, 320px); }
.product__kind { margin: 0 0 0.25rem; color: var(--gold-text); }
.product__name { font-size: var(--fs-2xl); color: var(--red); margin-bottom: var(--space-2); }
.product__summary { font-size: var(--fs-md); line-height: 1.55; }
.product__facts { list-style: none; margin: 0 0 var(--space-3); padding: 0; display: grid; gap: 0.5rem; }
.product__facts li { display: flex; align-items: center; gap: 0.6rem; color: var(--text-muted); }
.product__facts .icon { color: var(--red); }
.order-box { padding: var(--space-3); background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--red); border-radius: var(--radius); display: grid; gap: 12px; box-shadow: 0 8px 24px rgba(0, 0, 0, .05); }
.order-box__title { margin: 0; font-family: var(--font-title); font-weight: 600; font-size: var(--fs-lg); color: var(--heading); }
.order-box__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.order-box__note { margin: 0; font-size: var(--fs-sm); color: var(--text-muted); }
.product__info-blocks { display: grid; gap: var(--space-3); }
@media (min-width: 900px) { .product__info-blocks:has(.info-block + .info-block) { grid-template-columns: 1fr 1fr; } }
.info-block { padding: var(--space-3) var(--space-4); background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--red); border-radius: var(--radius); }
.info-block__title { font-size: var(--fs-lg); margin-bottom: var(--space-2); }
.info-block .prose > *:last-child { margin-bottom: 0; }
.info-block .prose h3 { font-size: 1.25rem; margin-top: var(--space-2); }
.info-block .prose h3:first-child { margin-top: 0; }
.caution { margin-top: var(--space-4); padding: var(--space-2) var(--space-3); border-left: 3px solid var(--gold); background: var(--bg-tint); }

/* Nội dung soạn sẵn từ web cũ */
.prose > * { max-width: 72ch; }
.prose h2 { font-size: var(--fs-lg); margin-top: var(--space-4); }
.prose h3 { font-size: 1.4375rem; margin-top: var(--space-3); }
.prose h4 { font-size: var(--fs-base); margin: var(--space-3) 0 var(--space-1); }
.prose ul, .prose ol { padding-left: 1.4rem; margin: 0 0 var(--space-2); }
.prose li { margin-bottom: 0.35rem; }
.prose li::marker { color: var(--red); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: var(--space-4) 0; }
.prose table { width: 100%; border-collapse: collapse; margin-bottom: var(--space-3); font-size: 1rem; display: block; overflow-x: auto; }
.prose td, .prose th { border: 1px solid var(--line); padding: 0.5rem 0.75rem; vertical-align: top; }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; }

/* ---------- Giới thiệu ---------- */
.about { display: grid; gap: var(--space-5); }
@media (min-width: 960px) { .about { grid-template-columns: 1.4fr 1fr; align-items: start; } }
.about__card { background: var(--bg-tint); padding: var(--space-4); border-radius: var(--radius); border-top: 3px solid var(--red); }
.about__logo { width: 120px; height: 120px; margin-bottom: var(--space-2); border-radius: 50%; }
.about__card-title { font-size: var(--fs-lg); }
.about__card dl { margin: 0; display: grid; gap: 0.2rem; }
.about__card dt { font-size: var(--fs-sm); color: var(--text-muted); margin-top: 0.6rem; }
.about__card dd { margin: 0; font-weight: 500; }
.two-col { display: grid; gap: var(--space-5); }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1fr; } }
.ticks { list-style: none; margin: 0 0 var(--space-2); padding: 0; display: grid; gap: 0.75rem; }
.ticks li { position: relative; padding-left: 1.75rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 9px; height: 9px; background: var(--red); transform: rotate(45deg); }
.motto { text-align: center; max-width: 820px; }
.motto__quote { font-family: var(--font-title); font-size: var(--fs-2xl); color: var(--red); line-height: 1.1; margin-bottom: var(--space-3); }
.motto__text { font-size: var(--fs-md); line-height: 1.65; color: var(--text-muted); }

/* ---------- Liên hệ ---------- */
.contact { display: grid; gap: var(--space-5); }
@media (min-width: 960px) { .contact { grid-template-columns: 1fr 1.2fr; align-items: start; } }
.contact__ways { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.way {
  display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: var(--space-2); align-items: center;
  padding: var(--space-2) var(--space-3); min-height: 84px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); color: var(--text); text-decoration: none;
}
.way:hover { border-color: var(--red); color: var(--text); }
.way .icon { grid-row: span 2; width: 32px; height: 32px; color: var(--red); }
.way__label { font-weight: 500; }
.way__value { font-family: var(--font-title); font-weight: 600; font-size: var(--fs-lg); line-height: 1.2; color: var(--heading); }
.way--main { background: var(--red); border-color: var(--red); color: #fff; }
.way--main:hover { background: var(--red-deep); color: #fff; }
.way--main .icon, .way--main .way__value { color: #fff; }
.contact__address { display: flex; gap: 0.75rem; font-size: var(--fs-md); line-height: 1.5; }
.contact__address .icon { color: var(--red); margin-top: 0.25em; }
.contact__map iframe { width: 100%; aspect-ratio: 4 / 3; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: var(--space-2); background: var(--bg-tint); }

/* ---------- Bài viết ---------- */
.article { padding-block: var(--space-4) var(--space-6); }
.article__title { font-size: var(--fs-2xl); }
.article__date { color: var(--text-muted); }
.article__image { width: 100%; border-radius: var(--radius); margin-bottom: var(--space-3); }

/* ---------- Chân trang ---------- */
.footer { background: var(--footer); color: var(--text); border-top: 4px solid var(--red); }
.footer__grid { display: grid; gap: var(--space-4); padding-block: var(--space-5) var(--space-4); }
@media (min-width: 900px) { .footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; } }
.brand--light .brand__name { color: var(--red); }
.brand--light .brand__sub { color: var(--gold-text); }
.footer__company { margin-top: var(--space-2); font-weight: 500; color: var(--heading); }
.footer__brand p { max-width: 34ch; font-size: var(--fs-sm); }
.footer__title { font-family: var(--font-body); font-size: var(--fs-base); font-weight: 700; color: var(--red); text-transform: none; margin-bottom: var(--space-1); }
.footer__list { list-style: none; margin: 0; padding: 0; display: grid; }
.footer__list a { display: inline-block; padding-block: 0.4rem; color: var(--text); text-decoration: none; font-size: var(--fs-sm); }
.footer__list a:hover { color: var(--red); text-decoration: underline; }
.footer__legal { background: var(--footer-deep); padding-block: var(--space-3); font-size: 0.875rem; color: rgba(255, 255, 255, .92); text-align: center; }
.footer__legal p { margin: 0 auto 0.4rem; max-width: 110ch; }

/* ---------- Liên hệ nhanh ---------- */
.quick-contact { position: fixed; z-index: 30; display: flex; }
.quick-contact__item { display: flex; align-items: center; justify-content: center; gap: 0.45rem; text-decoration: none; font-weight: 500; }
@media (max-width: 1099px) {
  body { padding-bottom: 66px; }
  .quick-contact { left: 0; right: 0; bottom: 0; background: var(--bg); border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgba(0, 0, 0, .08); padding-bottom: env(safe-area-inset-bottom); }
  .quick-contact__item { flex: 1; min-height: 62px; flex-direction: column; gap: 2px; color: var(--text); font-size: 0.875rem; }
  .quick-contact__item .icon { width: 24px; height: 24px; color: var(--red); }
  .quick-contact__item--call { background: var(--red); color: #fff; }
  .quick-contact__item--call .icon { color: #fff; }
  .quick-contact__item--call span { font-size: 0; }
  .quick-contact__item--call span::after { content: "Gọi ngay"; font-size: 0.875rem; }
  .quick-contact__item--map { display: none; }
}
/* Màn hình rộng: cột nút tròn ở cạnh trái, nhãn hiện khi rê chuột hoặc dùng bàn phím */
@media (min-width: 1100px) {
  .quick-contact { left: 16px; top: 50%; transform: translateY(-50%); flex-direction: column; gap: 12px; }
  .quick-contact__item {
    position: relative; width: 50px; height: 50px; border-radius: 50%; color: #fff;
    box-shadow: 0 0 0 5px rgba(255, 255, 255, .7), 0 4px 14px rgba(0, 0, 0, .18);
  }
  .quick-contact__item .icon { width: 24px; height: 24px; }
  .quick-contact__item--call { background: var(--red); }
  .quick-contact__item--zalo { background: #0068FF; }
  .quick-contact__item--fb { background: #1877F2; }
  .quick-contact__item--map { background: var(--gold-text); }
  .quick-contact__item:hover { color: #fff; filter: brightness(1.1); }
  .quick-contact__item span {
    position: absolute; left: calc(100% + 12px); top: 50%; transform: translateY(-50%);
    padding: 0.35rem 0.75rem; border-radius: var(--radius); background: var(--text); color: #fff;
    font-size: 0.9375rem; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .15s ease;
  }
  .quick-contact__item:hover span, .quick-contact__item:focus-visible span { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
.nowrap { white-space: nowrap; }
