/* ============================================================
   LIVAS — Inner Page Shared Styles
   Apply consistent brand language from homepage to subpages
   ============================================================ */

/* ---- PAGE HERO (smaller than home hero) ---- */
.page-hero {
  position: relative;
  min-height: clamp(360px, 52vh, 520px);
  background: var(--c-bg-soft);
  padding: calc(var(--header-h) + clamp(40px, 6vw, 80px)) 0 clamp(40px, 5vw, 64px);
  overflow: hidden;
  border-bottom: 1px solid var(--c-line);
}
.page-hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: clamp(280px, 40vh, 420px);
}
.page-hero__breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-mute);
  margin-bottom: clamp(20px, 2.5vw, 32px);
}
.page-hero__breadcrumb a {
  color: var(--c-mute);
  text-decoration: none;
  transition: color 0.25s var(--ease);
}
.page-hero__breadcrumb a:hover { color: var(--c-red); }
.page-hero__breadcrumb-sep {
  color: var(--c-line-strong);
  opacity: 0.4;
}
.page-hero__breadcrumb-current { color: var(--c-ink); font-weight: 600; }

.page-hero__title {
  font-family: var(--ff-display);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: var(--c-ink);
  margin: 0;
  max-width: 22ch;
}
.page-hero__title em {
  font-style: normal;
  font-weight: 700;
  color: var(--c-red);
  letter-spacing: -0.025em;
}
.page-hero__lead {
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  line-height: 1.6;
  color: var(--c-ink-2);
  max-width: 56ch;
  margin-top: clamp(20px, 2.5vw, 32px);
}


/* ---- PAGE CONTENT BLOCK ---- */
.page-block {
  padding: clamp(56px, 7vw, 112px) 0;
}
.page-block + .page-block { border-top: 1px solid var(--c-line); }
.page-block--soft { background: var(--c-bg-soft); }
.page-block--ink {
  background: var(--c-ink);
  color: #fff;
}
.page-block--ink .h-section,
.page-block--ink h2,
.page-block--ink h3 { color: #fff; }
.page-block--ink p { color: rgba(255, 255, 255, 0.8); }

.page-block__head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: clamp(40px, 5vw, 72px);
}
@media (min-width: 900px) {
  .page-block__head {
    grid-template-columns: 1.2fr 1fr;
    align-items: end;
    gap: 64px;
  }
}
.page-block__title {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--c-ink);
  margin: 0;
}
.page-block__title em {
  font-style: normal;
  font-weight: 700;
  color: var(--c-red);
}
.page-block__lead {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--c-ink-2);
  max-width: 50ch;
}


/* ---- TWO-COLUMN LAYOUT (image + text) ---- */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 4vw, 64px);
  align-items: center;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: clamp(48px, 5vw, 80px); }
  .split--flip > :first-child { order: 2; }
}
.split__visual {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--c-bg-mute);
}
.split__visual img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.6s var(--ease);
}
.split:hover .split__visual img { transform: scale(1.04); }
.split__body { display: flex; flex-direction: column; gap: 18px; }
.split__eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-mute);
  font-weight: 600;
}
.split__title {
  font-family: var(--ff-display);
  font-size: clamp(1.65rem, 2.8vw, 2.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.split__title em { font-style: normal; color: var(--c-red); }
.split__text {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--c-ink-2);
  max-width: 56ch;
}


/* ---- 3-COL FEATURE GRID (4 technologies, commitments, values) ---- */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 3vw, 48px);
}
@media (min-width: 700px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .feature-grid--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .feature-grid--4 { grid-template-columns: repeat(4, 1fr); } }

.feature-card {
  padding: clamp(28px, 3vw, 40px);
  background: var(--c-bg);
  border: 1px solid var(--c-line);
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.feature-card:hover {
  border-color: var(--c-ink);
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -12px rgba(10, 10, 10, 0.12);
}
.feature-card__num {
  font-family: var(--ff-display);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  font-weight: 700;
  color: var(--c-red);
}
.feature-card__title {
  font-family: var(--ff-display);
  font-size: clamp(1.2rem, 1.6vw, 1.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.015em;
}
.feature-card__text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--c-ink-2);
}


/* ---- TIMELINE (về LIVAS) ---- */
.timeline {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 3vw, 56px);
  padding-left: 24px;
  border-left: 1px solid var(--c-line);
}
.timeline__item { position: relative; padding-left: 8px; }
.timeline__item::before {
  content: '';
  position: absolute;
  left: -30px;
  top: 10px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--c-red);
  box-shadow: 0 0 0 4px rgba(218, 33, 40, 0.15);
}
.timeline__year {
  font-family: var(--ff-display);
  font-size: clamp(1.6rem, 2.4vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--c-ink);
  line-height: 1;
}
.timeline__title {
  font-family: var(--ff-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin-top: 8px;
  margin-bottom: 6px;
}
.timeline__text {
  font-size: 0.95rem;
  color: var(--c-ink-2);
  line-height: 1.6;
  max-width: 56ch;
}


/* ---- CONTACT FORM ---- */
.form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 700px) { .form { grid-template-columns: 1fr 1fr; gap: 18px 20px; } }
.form__field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.form__field--full { grid-column: 1 / -1; }
.form__label {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-mute);
  font-weight: 600;
}
.form__input,
.form__textarea,
.form__select {
  width: 100%;
  box-sizing: border-box;
  font-family: var(--ff-body);
  font-size: 1rem;
  color: var(--c-ink);
  background: var(--c-bg);
  border: 1px solid var(--c-line);
  padding: 14px 16px;
  border-radius: 0;
  outline: none;
  transition: border-color 0.25s var(--ease);
}
.form__input:focus,
.form__textarea:focus,
.form__select:focus {
  border-color: var(--c-ink);
}
.form__textarea {
  min-height: 140px;
  resize: vertical;
  font-family: var(--ff-body);
}
.form__submit { grid-column: 1 / -1; justify-self: start; }

/* Contact Form 7 adopts the .form grid: tidy CF7's own wrappers so fields fill
   their column and validation messages span the full width. */
.wpcf7-form.form .wpcf7-form-control-wrap { display: block; width: 100%; }
.wpcf7-form.form .wpcf7-response-output { grid-column: 1 / -1; margin: 6px 0 0; border-radius: 8px; }
.wpcf7-form.form .wpcf7-spinner { margin: 4px 0 0 10px; }
.wpcf7-form.form .wpcf7-not-valid-tip { font-size: .78rem; color: var(--c-red, #c1121f); margin-top: 5px; }
.wpcf7-form.form input.form__submit { -webkit-appearance: none; appearance: none; cursor: pointer; }


/* ---- CONTACT INFO CARDS ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 700px) { .contact-grid { grid-template-columns: repeat(3, 1fr); } }
.contact-card {
  padding: clamp(24px, 3vw, 32px);
  background: var(--c-bg);
  border: 1px solid var(--c-line);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-card__city {
  font-family: var(--ff-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--c-ink);
}
.contact-card__addr {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--c-ink-2);
}
.contact-card__addr strong { color: var(--c-ink); font-weight: 600; }
.contact-card__map {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--c-red);
}


/* ---- CINEMATIC IMMERSIVE HERO (full-bleed image + overlay text) ---- */
.page-hero--immersive {
  min-height: 75vh;
  padding: 0;
  display: flex;
  align-items: flex-end;
  background: #0A0A0A;
  color: #fff;
}
.page-hero--immersive .page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.page-hero--immersive .page-hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.62;
}
.page-hero--immersive::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.1) 35%, rgba(0,0,0,0.85) 100%),
    linear-gradient(90deg, rgba(0,0,0,0.45) 0%, transparent 60%);
  z-index: 1;
}
.page-hero--immersive .container {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: clamp(120px, 14vh, 180px);
  padding-bottom: clamp(56px, 7vh, 88px);
}
.page-hero--immersive .page-hero__breadcrumb,
.page-hero--immersive .page-hero__breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
}
.page-hero--immersive .page-hero__breadcrumb-current { color: #fff; }
.page-hero--immersive .page-hero__title { color: #fff; }
.page-hero--immersive .page-hero__lead {
  color: rgba(255, 255, 255, 0.82);
  max-width: 60ch;
}


/* ---- BIG QUOTE SECTION (centered editorial) ---- */
.big-quote {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}
.big-quote__mark {
  font-family: var(--ff-display);
  font-size: 6rem;
  line-height: 0.6;
  color: var(--c-red);
  margin-bottom: -10px;
  font-weight: 700;
}
.big-quote__text {
  font-family: var(--ff-display);
  font-size: clamp(1.5rem, 2.8vw, 2.6rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--c-ink);
  margin: 0 auto 24px;
  max-width: 26ch;
}
.big-quote__text em { font-style: normal; color: var(--c-red); font-weight: 700; }
.big-quote__author {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-mute);
  font-weight: 600;
}


/* ---- ICONIC FEATURE CARDS (icon top, no border) ---- */
.icon-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 3vw, 48px);
}
@media (min-width: 700px) { .icon-grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .icon-grid--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .icon-grid--4 { grid-template-columns: repeat(4, 1fr); } }

.icon-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 18px;
  padding: clamp(20px, 2vw, 32px) 0;
}
.icon-card__icon {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  margin-left: -2px;
  color: var(--c-red);
  transition: color 0.4s var(--ease), transform 0.4s var(--ease);
}
.icon-card:hover .icon-card__icon {
  color: var(--c-ink);
  transform: translateY(-2px);
}
.icon-card__icon svg { width: 36px; height: 36px; stroke-width: 1.4; }
.icon-card__title {
  font-family: var(--ff-display);
  font-size: clamp(1.1rem, 1.4vw, 1.35rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--c-ink);
}
.icon-card__text {
  font-size: 0.93rem;
  line-height: 1.6;
  color: var(--c-ink-2);
  max-width: 36ch;
}
.icon-card__divider {
  width: 32px;
  height: 2px;
  background: var(--c-red);
}
.icon-card__eyebrow {
  margin: 0;
  align-self: flex-start;
}


/* ---- FULL-BLEED GALLERY STRIP (infinite marquee, click → lightbox) ---- */
.gallery-strip-section {
  padding: 0;
  width: 100%;
  overflow: hidden;
}
.gallery-strip {
  --gs-cols: 5;
  --gs-gap: 8px;
  --gs-duration: 120s;
  display: flex;
  flex-direction: column;
  gap: var(--gs-gap);
  width: 100%;
  overflow: hidden;
  background: var(--c-bg-soft);
  padding: var(--gs-gap) 0;
}
.gallery-strip__row {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.gallery-strip__track {
  display: flex;
  gap: var(--gs-gap);
  width: max-content;
  will-change: transform;
  animation-duration: var(--gs-duration);
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  animation-play-state: running;
}
.gallery-strip__row--ltr .gallery-strip__track { animation-name: gs-scroll-ltr; }
.gallery-strip__row--rtl .gallery-strip__track { animation-name: gs-scroll-rtl; }
.gallery-strip:hover .gallery-strip__track,
.gallery-strip__row:focus-within .gallery-strip__track {
  animation-play-state: paused;
}
@keyframes gs-scroll-ltr {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}
@keyframes gs-scroll-rtl {
  from { transform: translate3d(-50%, 0, 0); }
  to   { transform: translate3d(0, 0, 0); }
}
.gallery-strip__item {
  position: relative;
  flex: 0 0 calc((100vw - (var(--gs-cols) + 1) * var(--gs-gap)) / var(--gs-cols));
  aspect-ratio: 1 / 1;
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--c-bg-mute);
  overflow: hidden;
  cursor: zoom-in;
  display: block;
}
.gallery-strip__item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
  transition: transform 0.6s var(--ease), filter 0.4s var(--ease);
  filter: saturate(0.95);
}
.gallery-strip__item:hover img,
.gallery-strip__item:focus-visible img {
  transform: scale(1.04);
  filter: saturate(1.1);
}
.gallery-strip__item:focus-visible {
  outline: 2px solid var(--c-red);
  outline-offset: -2px;
}
@media (max-width: 1024px) {
  .gallery-strip { --gs-cols: 4; }
}
@media (max-width: 700px) {
  .gallery-strip { --gs-cols: 3; --gs-gap: 8px; --gs-duration: 60s; }
}


/* ---- LIGHTBOX (popup image viewer) ---- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(8, 8, 10, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(24px, 4vw, 64px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0s linear 0.35s;
}
.lightbox.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.35s var(--ease);
}
.lightbox__stage {
  position: relative;
  max-width: min(1400px, 92vw);
  max-height: 88vh;
  transform: scale(0.96);
  opacity: 0;
  transition: transform 0.45s var(--ease), opacity 0.35s var(--ease);
}
.lightbox.is-open .lightbox__stage {
  transform: scale(1);
  opacity: 1;
}
.lightbox__img {
  display: block;
  max-width: 100%;
  max-height: 88vh;
  object-fit: contain;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.lightbox__close {
  position: absolute;
  top: clamp(16px, 2.5vw, 28px);
  right: clamp(16px, 2.5vw, 28px);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}
.lightbox__close:hover {
  background: var(--c-red);
  transform: rotate(90deg);
}
.lightbox__close svg { width: 22px; height: 22px; }
body.lightbox-open { overflow: hidden; }


/* ---- HORIZONTAL TIMELINE (scrollable) ---- */
.htimeline {
  position: relative;
  display: flex;
  gap: 32px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding: 16px var(--gutter) 32px;
  margin: 0 calc(-1 * var(--gutter));
  scrollbar-width: none;
}
.htimeline::-webkit-scrollbar { display: none; }
.htimeline__item {
  flex: 0 0 280px;
  scroll-snap-align: start;
  position: relative;
  padding-top: 50px;
  border-top: 1px solid var(--c-line);
}
.htimeline__item::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 0;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--c-red);
  box-shadow: 0 0 0 4px rgba(218, 33, 40, 0.15);
}
.htimeline__year {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 2.8vw, 2.5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--c-ink);
  margin-bottom: 8px;
}
.htimeline__title {
  font-family: var(--ff-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.htimeline__text {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--c-ink-2);
}


/* ---- IMAGE BANNER STRIP (full-bleed photo dividing sections) ---- */
.banner-strip {
  position: relative;
  height: clamp(280px, 40vh, 440px);
  overflow: hidden;
}
.banner-strip img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  transition: transform 6s var(--ease);
}
.banner-strip:hover img { transform: scale(1); }


/* ============================================================
   PRODUCT PAGES
   ============================================================ */

/* ---- CATEGORY OVERVIEW (4 dòng sản phẩm) ---- */
.cat-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 700px) { .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; } }

.cat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  text-decoration: none;
  background: var(--c-bg-soft);
  overflow: hidden;
  transition: transform 0.5s var(--ease);
}
.cat-card:hover { transform: translateY(-4px); }
.cat-card__media {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--c-bg-mute);
}
.cat-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease);
}
.cat-card:hover .cat-card__media img { transform: scale(1.06); }
.cat-card__num {
  position: absolute;
  top: 16px; left: 18px;
  font-family: var(--ff-display);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  font-weight: 700;
  color: #fff;
  mix-blend-mode: difference;
  z-index: 2;
}
.cat-card__body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--c-bg);
  border: 1px solid var(--c-line);
  border-top: 0;
  flex: 1;
}
.cat-card__title {
  font-family: var(--ff-display);
  font-size: clamp(1.4rem, 1.8vw, 1.75rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--c-ink);
  transition: color 0.3s var(--ease);
}
.cat-card__title em { font-style: normal; color: var(--c-red); font-weight: 700; }
.cat-card:hover .cat-card__title { color: var(--c-red); }
.cat-card__text {
  font-size: 0.93rem;
  line-height: 1.55;
  color: var(--c-ink-2);
}
.cat-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--c-ink);
  transition: color 0.3s var(--ease);
}
.cat-card:hover .cat-card__cta { color: var(--c-red); }


/* ---- PRODUCT FILTER (chips) ---- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-bottom: clamp(32px, 4vw, 56px);
  border-bottom: 1px solid var(--c-line);
  margin-bottom: clamp(40px, 5vw, 64px);
}
.filter-chip {
  font-family: var(--ff-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--c-line);
  background: var(--c-bg);
  color: var(--c-ink-2);
  cursor: pointer;
  transition: all 0.25s var(--ease);
  white-space: nowrap;
}
.filter-chip:hover { border-color: var(--c-ink); color: var(--c-ink); }
.filter-chip.is-on {
  background: var(--c-ink);
  color: #fff;
  border-color: var(--c-ink);
}


/* ---- PRODUCT GRID (variants of a category) ---- */
.prod-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (min-width: 700px) { .prod-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
@media (min-width: 1024px) { .prod-grid { grid-template-columns: repeat(4, 1fr); gap: 24px; } }

.prod-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-decoration: none;
  transition: transform 0.4s var(--ease);
}
.prod-card:hover { transform: translateY(-4px); }
.prod-card__media {
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
  background: var(--c-bg-mute);
}
.prod-card__media img,
.prod-card__swatch {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.prod-card__swatch {
  display: flex;
  align-items: flex-end;
  padding: 14px 16px;
  color: #fff;
  font-family: var(--ff-display);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}
.prod-card__cat {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-mute);
  font-weight: 600;
}
.prod-card__name {
  font-family: var(--ff-display);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--c-ink);
  letter-spacing: -0.01em;
}
.prod-card__name strong { color: var(--c-red); margin-right: 6px; }
.prod-card__meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.78rem;
  color: var(--c-mute);
}
.prod-card__meta-row { display: flex; justify-content: flex-start; gap: 6px; text-align: left; }
.prod-card__meta-row > span:first-child::after { content: ":"; }
.prod-card.is-hidden { display: none; }


/* ---- PRODUCT DETAIL ---- */
.prod-detail {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 4vw, 64px);
}
@media (min-width: 900px) {
  .prod-detail { grid-template-columns: 1.2fr 1fr; gap: clamp(48px, 5vw, 80px); }
}
.prod-detail__gallery {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.prod-detail__main {
  position: relative;
  aspect-ratio: 4/3;
  background: var(--c-bg-mute);
  overflow: hidden;
}
.prod-detail__main img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.prod-detail__thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.prod-detail__thumb {
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
  background: var(--c-bg-mute);
  border: 1px solid var(--c-line);
  cursor: pointer;
  transition: border-color 0.25s var(--ease);
}
.prod-detail__thumb.is-on { border-color: var(--c-red); }
.prod-detail__thumb img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}

.prod-detail__info { display: flex; flex-direction: column; gap: 22px; }
.prod-detail__cat {
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-red);
  font-weight: 700;
}
.prod-detail__title {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.025em;
  color: var(--c-ink);
}
.prod-detail__title strong { color: var(--c-red); margin-right: 12px; }
.prod-detail__divider { height: 1px; background: var(--c-line); margin: 4px 0; }
.prod-detail__spec {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 14px 24px;
  font-size: 0.93rem;
}
.prod-detail__spec dt {
  font-weight: 600;
  color: var(--c-mute);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.72rem;
  padding-top: 4px;
}
.prod-detail__spec dd { color: var(--c-ink); margin: 0; line-height: 1.55; }


/* ============================================================
   NEWS LIST PAGE (magazine layout — 1 featured + grid)
   ============================================================ */
.news-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 900px) {
  .news-list {
    grid-template-columns: 1.4fr 1fr;
    gap: 48px;
  }
}
.news-list__featured {
  display: flex;
  flex-direction: column;
  gap: 22px;
  text-decoration: none;
}
.news-list__featured .news-list__media { aspect-ratio: 5/4; }
.news-list__featured .news-list__title { font-size: clamp(1.6rem, 2.5vw, 2.4rem); }
.news-list__media {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--c-bg-mute);
}
.news-list__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease);
}
.news-list__item:hover .news-list__media img,
.news-list__featured:hover .news-list__media img { transform: scale(1.04); }
.news-list__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.news-list__cat { color: var(--c-red); font-weight: 600; }
.news-list__date { color: var(--c-mute); }
.news-list__title {
  font-family: var(--ff-display);
  font-size: clamp(1.1rem, 1.5vw, 1.4rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--c-ink);
  transition: color 0.3s var(--ease);
}
.news-list__excerpt {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--c-ink-2);
  max-width: 56ch;
}
.news-list__side { display: flex; flex-direction: column; gap: 32px; }
.news-list__item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 20px;
  text-decoration: none;
  border-bottom: 1px solid var(--c-line);
  padding-bottom: 32px;
}
.news-list__item:last-child { border-bottom: 0; padding-bottom: 0; }
.news-list__item .news-list__media { aspect-ratio: 1/1; }
.news-list__item .news-list__title { font-size: 1rem; line-height: 1.25; }
.news-list__featured:hover .news-list__title,
.news-list__item:hover .news-list__title { color: var(--c-red); }


/* ---- PAGINATION ---- */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: clamp(48px, 6vw, 88px);
  padding-top: clamp(28px, 3vw, 40px);
  border-top: 1px solid var(--c-line);
}
.pagination a, .pagination span {
  font-family: var(--ff-display);
  font-size: 0.85rem;
  font-weight: 600;
  width: 40px; height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  text-decoration: none;
  color: var(--c-ink-2);
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.pagination a:hover { background: var(--c-bg-soft); color: var(--c-ink); }
.pagination .is-current { background: var(--c-ink); color: #fff; }
.pagination .pagination__nav svg { width: 16px; height: 16px; }


/* ============================================================
   ARTICLE DETAIL (single post with TOC sidebar)
   ============================================================ */
.article-page {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 4vw, 64px);
}
@media (min-width: 1024px) {
  /* 2-column (TOC + body) only when a table of contents exists; without it the
     single .article-body would otherwise auto-place into the narrow 220px track. */
  .article-page.has-toc {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: clamp(48px, 5vw, 88px);
  }
}

/* TOC sidebar */
.article-toc {
  align-self: start;
}
@media (min-width: 1024px) {
  .article-toc {
    position: sticky;
    top: calc(var(--header-h) + 24px);
  }
}
.article-toc__title {
  font-family: var(--ff-display);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-mute);
  font-weight: 700;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--c-line);
}
.article-toc__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.article-toc__list a {
  font-size: 0.88rem;
  line-height: 1.4;
  color: var(--c-ink-2);
  text-decoration: none;
  padding: 6px 0 6px 14px;
  border-left: 2px solid transparent;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.article-toc__list a:hover { color: var(--c-ink); }
.article-toc__list a.is-active {
  color: var(--c-red);
  border-left-color: var(--c-red);
  font-weight: 600;
}

/* Article body */
.article-body { max-width: 760px; }
@media (min-width: 1024px) {
  /* When the TOC sidebar is present, let the article fill the granted grid
     column instead of leaving a wide dead strip of whitespace on the right. */
  .article-page.has-toc .article-body { max-width: 100%; }
}
.article-body__cover {
  aspect-ratio: 16/9;
  overflow: hidden;
  margin-bottom: clamp(28px, 3vw, 48px);
  background: var(--c-bg-mute);
}
.article-body__cover img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.article-body__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.article-body__meta .cat { color: var(--c-red); font-weight: 600; }
.article-body__meta .date { color: var(--c-mute); }
.article-body__title {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--c-ink);
  margin-bottom: clamp(28px, 3vw, 40px);
}
.article-body h2 {
  font-family: var(--ff-display);
  font-size: clamp(1.4rem, 2vw, 1.85rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--c-ink);
  margin: clamp(36px, 4vw, 56px) 0 18px;
  scroll-margin-top: calc(var(--header-h) + 24px);
}
.article-body h3 {
  font-family: var(--ff-display);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.25;
  margin: 28px 0 12px;
  scroll-margin-top: calc(var(--header-h) + 24px);
}
.article-body p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--c-ink-2);
  margin-bottom: 18px;
}
.article-body ul, .article-body ol {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--c-ink-2);
  margin: 0 0 22px 22px;
  padding: 0;
  list-style: disc;
}
.article-body li { margin-bottom: 8px; }
.article-body img {
  width: 100%;
  height: auto;
  margin: 24px 0;
}
.article-body figure { margin: 28px 0; }
.article-body figcaption {
  font-size: 0.85rem;
  color: var(--c-mute);
  margin-top: 10px;
  text-align: center;
  font-style: italic;
}
.article-body blockquote {
  border-left: 3px solid var(--c-red);
  padding: 6px 0 6px 24px;
  margin: 28px 0;
  font-family: var(--ff-display);
  font-size: 1.2rem;
  line-height: 1.45;
  color: var(--c-ink);
  font-weight: 500;
}


/* ============================================================
   CATALOGUE PAGE
   ============================================================ */
.cat-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
@media (min-width: 700px) { .cat-list { grid-template-columns: repeat(2, 1fr); } }

.cat-item {
  display: grid;
  grid-template-columns: 1fr;
  background: var(--c-bg);
  border: 1px solid var(--c-line);
  overflow: hidden;
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.cat-item:hover { border-color: var(--c-ink); transform: translateY(-3px); }
.cat-item__cover {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--c-bg-mute);
}
.cat-item__cover::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.45) 0%, rgba(10,10,10,0) 35%, rgba(10,10,10,0) 65%, rgba(10,10,10,0.2) 100%);
  z-index: 1;
  pointer-events: none;
}
.cat-item__cover img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.cat-item:hover .cat-item__cover img { transform: scale(1.05); }
.cat-item__cover-num {
  position: absolute;
  top: 16px; left: 18px;
  font-family: var(--ff-display);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  font-weight: 700;
  color: #fff;
  z-index: 2;
}
.cat-item__body {
  padding: clamp(24px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cat-item__title {
  font-family: var(--ff-display);
  font-size: clamp(1.4rem, 1.8vw, 1.75rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--c-ink);
}
.cat-item__title em { font-style: normal; color: var(--c-red); }
.cat-item__count {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-mute);
  font-weight: 600;
}
.cat-item__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.cat-item__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  font-family: var(--ff-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 999px;
  transition: all 0.25s var(--ease);
}
.cat-item__btn--primary {
  background: var(--c-ink);
  color: #fff;
}
.cat-item__btn--primary:hover { background: var(--c-red); }
.cat-item__btn--secondary {
  border: 1px solid var(--c-line-strong);
  color: var(--c-ink);
}
.cat-item__btn--secondary:hover { background: var(--c-ink); color: #fff; }
.cat-item__btn svg { width: 14px; height: 14px; }


/* ---- FACTS STRIP (large numbers) — task27: hàng ngang 4 cột, card nổi bật ---- */
.facts {
  padding-top: clamp(36px, 4vw, 56px);
  border-top: 1px solid var(--c-line);
}
.facts__inner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(14px, 1.6vw, 22px);
}
@media (min-width: 800px) { .facts__inner { grid-template-columns: repeat(4, 1fr); } }
.facts__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
  padding: clamp(24px, 3vw, 38px) clamp(14px, 1.6vw, 24px);
  border: 1px solid var(--c-line);
  border-radius: 14px;
  background: #fff;
  transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.facts__item:hover {
  border-color: var(--c-red);
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(10, 10, 10, 0.07);
}
.facts__num {
  font-family: var(--ff-display);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--c-ink);
}
.facts__num .unit { font-size: 0.4em; color: var(--c-red); margin-left: 2px; vertical-align: top; }
.facts__lbl,
.facts__label {
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  line-height: 1.45;
  text-transform: uppercase;
  color: var(--c-mute);
  font-weight: 600;
}
