@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Playfair+Display:wght@600;700;800&display=swap");

:root {
  --sage: #8fae9c;
  --sage-dark: #4f735f;
  --beige: #efe3d0;
  --warm-white: #fffaf2;
  --blue: #cfe4ee;
  --peach: #f5c9b8;
  --gold: #dac27a;
  --ink: #24302a;
  --muted: #68746c;
  --line: rgba(36, 48, 42, 0.13);
  --shadow: 0 20px 60px rgba(36, 48, 42, 0.1);
  --bs-primary: #6f967d;
  --bs-primary-rgb: 111, 150, 125;
}

* {
  min-width: 0;
}

body {
  margin: 0;
  padding-top: 78px;
  color: var(--ink);
  background: var(--warm-white);
  font-family: "Inter", sans-serif;
}

h1,
h2,
h3 {
  font-family: "Playfair Display", serif;
  font-weight: 800;
  letter-spacing: -0.02em;
}

p {
  color: var(--muted);
  line-height: 1.85;
}

a {
  color: var(--sage-dark);
  font-weight: 750;
}

.btn {
  border-radius: 999px;
  font-weight: 800;
  padding: 0.78rem 1.2rem;
}

.btn-primary {
  --bs-btn-bg: var(--sage-dark);
  --bs-btn-border-color: var(--sage-dark);
  --bs-btn-hover-bg: #395946;
  --bs-btn-hover-border-color: #395946;
}

.btn-outline-primary {
  --bs-btn-color: var(--sage-dark);
  --bs-btn-border-color: rgba(79, 115, 95, 0.38);
  --bs-btn-hover-bg: var(--sage-dark);
  --bs-btn-hover-border-color: var(--sage-dark);
}

.site-header {
  z-index: 1030;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 250, 242, 0.94);
  backdrop-filter: blur(14px);
}

.brand-logo {
  display: block;
  width: auto;
  height: 52px;
}

.navbar-nav .nav-link {
  color: var(--ink);
  font-weight: 750;
  padding-left: 1rem;
  padding-right: 1rem;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus,
.navbar-nav .nav-link.active {
  color: var(--sage-dark);
}

.feng-hero {
  position: relative;
  overflow: hidden;
  padding: 70px 0;
  background:
    radial-gradient(circle at 85% 18%, rgba(207, 228, 238, 0.92), transparent 30%),
    radial-gradient(circle at 72% 78%, rgba(245, 201, 184, 0.75), transparent 28%),
    linear-gradient(135deg, #fffaf2 0%, #f2eadc 48%, #dfeade 100%);
}

.feng-hero.compact {
  padding: 58px 0 62px;
}

.feng-hero h1 {
  max-width: 900px;
  margin-bottom: 1.2rem;
  font-size: clamp(2.15rem, 5vw, 4.8rem);
  line-height: 1.04;
}

.hero-copy {
  max-width: 780px;
  color: #536258;
  font-size: clamp(1.04rem, 2vw, 1.24rem);
}

.section-kicker {
  color: var(--sage-dark);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.breadcrumb-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 0.92rem;
}

.breadcrumb-wrap a {
  color: var(--sage-dark);
  text-decoration: none;
}

.hero-visual {
  position: relative;
  min-height: 420px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(255, 250, 242, 0.45)),
    radial-gradient(circle at 50% 50%, rgba(218, 194, 122, 0.3), transparent 52%);
  box-shadow: var(--shadow);
}

.house-shape {
  position: absolute;
  right: 11%;
  bottom: 72px;
  width: min(290px, 68vw);
  height: 190px;
  border-radius: 8px 8px 22px 22px;
  background: linear-gradient(135deg, #ffffff, #e8efe7);
  box-shadow: 0 18px 40px rgba(79, 115, 95, 0.18);
}

.house-shape::before {
  content: "";
  position: absolute;
  left: 30px;
  top: -78px;
  width: 210px;
  height: 150px;
  transform: rotate(45deg);
  border-radius: 8px;
  background: linear-gradient(135deg, #d7c07a, #f5c9b8);
}

.house-shape::after {
  content: "";
  position: absolute;
  left: 34px;
  bottom: 38px;
  width: 74px;
  height: 86px;
  border-radius: 8px 8px 0 0;
  background: var(--sage);
}

.element-orbit {
  position: absolute;
  inset: 26px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  align-items: start;
}

.element-orbit span {
  display: grid;
  place-items: center;
  min-height: 54px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--ink);
  font-weight: 850;
  box-shadow: 0 10px 24px rgba(36, 48, 42, 0.08);
}

.content-section {
  padding: 72px 0;
  background: #fff;
}

.narrow {
  max-width: 1030px;
}

.content-section h2 {
  margin-top: 2.2rem;
  margin-bottom: 1rem;
  font-size: clamp(1.7rem, 3vw, 2.55rem);
}

.content-section h2:first-child {
  margin-top: 0;
}

.content-section h3 {
  margin-top: 1.6rem;
  font-family: "Inter", sans-serif;
  font-size: 1.15rem;
  letter-spacing: 0;
}

.element-grid,
.age-grid {
  display: grid;
  gap: 16px;
  margin: 28px 0 34px;
}

.element-grid {
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.age-grid {
  grid-template-columns: repeat(auto-fit, minmax(146px, 1fr));
}

.element-card,
.age-card {
  display: grid;
  gap: 8px;
  min-height: 132px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffaf2;
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 12px 32px rgba(36, 48, 42, 0.05);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.age-card {
  min-height: 108px;
}

.element-card:hover,
.age-card:hover {
  transform: translateY(-4px);
  border-color: rgba(79, 115, 95, 0.32);
  box-shadow: var(--shadow);
}

.element-card span,
.age-card span,
.element-card small {
  color: var(--muted);
  font-weight: 600;
}

.element-card strong,
.age-card strong {
  font-size: 1.7rem;
  font-family: "Playfair Display", serif;
}

.element-kim {
  background: linear-gradient(135deg, #fff, #efe9d3);
}

.element-moc {
  background: linear-gradient(135deg, #f7fff6, #dcefe2);
}

.element-thuy {
  background: linear-gradient(135deg, #f7fcff, #dbeaf0);
}

.element-hoa {
  background: linear-gradient(135deg, #fff7f4, #f5d1c5);
}

.element-tho {
  background: linear-gradient(135deg, #fffaf0, #eadcc2);
}

.swatch-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  margin: 22px 0 30px;
}

.swatch-row span {
  min-height: 74px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, #fff, var(--beige));
  color: var(--ink);
  font-weight: 800;
}

.article-media {
  overflow: hidden;
  margin: 34px 0 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffaf2;
  box-shadow: 0 18px 48px rgba(36, 48, 42, 0.08);
}

.article-media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.article-media figcaption {
  display: grid;
  gap: 4px;
  padding: 18px 20px;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

.article-media figcaption strong {
  color: var(--ink);
  font-size: 1rem;
}

.room-media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
  margin: 28px 0 34px;
}

.room-media-grid figure {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffaf2;
  box-shadow: 0 12px 32px rgba(36, 48, 42, 0.05);
}

.room-media-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.room-media-grid figcaption {
  padding: 13px 15px;
  color: var(--ink);
  font-weight: 850;
}

.product-highlight {
  padding: 76px 0;
  background:
    radial-gradient(circle at 18% 18%, rgba(207, 228, 238, 0.65), transparent 28%),
    linear-gradient(135deg, #eff5ec, #fffaf2);
}

.product-panel {
  display: grid;
  gap: 34px;
  align-items: center;
  padding: clamp(24px, 5vw, 54px);
  border: 1px solid rgba(79, 115, 95, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow);
}

.product-panel h2 {
  max-width: 760px;
  margin-bottom: 1rem;
  font-size: clamp(1.9rem, 4vw, 3.2rem);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 12px;
  margin: 24px 0;
}

.feature-grid span {
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffaf2;
  color: var(--sage-dark);
  font-weight: 850;
}

.paint-can {
  display: grid;
  place-items: center;
  min-height: 310px;
  border-radius: 28px 28px 18px 18px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.3), transparent 30%),
    linear-gradient(160deg, #ffffff, #e4efe5 48%, #8fae9c);
  box-shadow: 0 26px 60px rgba(36, 48, 42, 0.18);
  text-align: center;
}

.paint-can span {
  color: var(--sage-dark);
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.paint-can strong {
  color: var(--ink);
  font-family: "Playfair Display", serif;
  font-size: clamp(2.5rem, 6vw, 4.8rem);
  line-height: 1;
}

.paint-can em {
  max-width: 210px;
  color: #536258;
  font-style: normal;
  font-weight: 700;
}

.product-packshot {
  display: grid;
  place-items: center;
  min-height: 310px;
  padding: clamp(18px, 4vw, 34px);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 40%, rgba(255, 255, 255, 0.9), rgba(255, 250, 242, 0.58) 52%, rgba(143, 174, 156, 0.18)),
    linear-gradient(135deg, #ffffff, #dfeade);
  box-shadow: 0 24px 58px rgba(36, 48, 42, 0.14);
  text-decoration: none;
}

.product-packshot img {
  display: block;
  width: min(330px, 100%);
  height: auto;
  max-height: 390px;
  object-fit: contain;
  filter: drop-shadow(0 24px 30px rgba(36, 48, 42, 0.2));
}

.faq-block {
  display: grid;
  gap: 12px;
  margin-top: 44px;
}

.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 38px 0 12px;
}

.quick-links a,
.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 9px 14px;
  border: 1px solid rgba(79, 115, 95, 0.24);
  border-radius: 999px;
  background: #fffaf2;
  color: var(--sage-dark);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 850;
}

.related-block {
  margin-top: 46px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

.section-heading-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 18px;
}

.section-heading-row h2 {
  margin: 0;
}

.recommend-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
}

.recommend-card {
  display: grid;
  gap: 8px;
  min-height: 132px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffaf2;
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 12px 32px rgba(36, 48, 42, 0.05);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.recommend-card:hover {
  transform: translateY(-4px);
  border-color: rgba(79, 115, 95, 0.32);
  box-shadow: var(--shadow);
}

.recommend-card strong {
  font-family: "Playfair Display", serif;
  font-size: 1.45rem;
}

.recommend-card span {
  color: var(--muted);
  font-weight: 600;
  line-height: 1.65;
}

.primary-recommend {
  background: linear-gradient(135deg, #ffffff, #dfeade);
  border-color: rgba(79, 115, 95, 0.28);
}

.faq-block details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffaf2;
  box-shadow: 0 10px 28px rgba(36, 48, 42, 0.05);
}

.faq-block summary {
  cursor: pointer;
  padding: 18px 20px;
  color: var(--ink);
  font-weight: 850;
}

.faq-block details p {
  margin: 0;
  padding: 0 20px 18px;
}

.feng-footer {
  padding: 58px 0;
  background: #26352d;
  color: rgba(255, 255, 255, 0.78);
}

.feng-footer h2,
.feng-footer strong,
.feng-footer a {
  color: #fff;
}

.feng-footer p,
.feng-footer span {
  color: rgba(255, 255, 255, 0.76);
}

.footer-logo {
  width: auto;
  height: 54px;
  filter: brightness(1.08);
}

.cta-box {
  display: grid;
  gap: 8px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.cta-box a {
  font-size: 1.65rem;
  text-decoration: none;
}

@media (min-width: 768px) {
  .product-panel {
    grid-template-columns: 1.35fr 0.65fr;
  }
}

@media (max-width: 767.98px) {
  body {
    padding-top: 70px;
  }

  .brand-logo {
    height: 44px;
  }

  .feng-hero,
  .feng-hero.compact,
  .content-section,
  .product-highlight {
    padding: 46px 0;
  }

  .hero-visual {
    min-height: 320px;
  }

  .element-orbit {
    grid-template-columns: repeat(3, 1fr);
  }

  .house-shape {
    right: 6%;
    bottom: 44px;
  }
}
