:root {
  --lc-navy: #1E3063;
  /* PRIMARY */
  --lc-umber: #824532;
  /* SECONDARY */
  --lc-black: #000;
  --lc-white: #fff;

  --lc-font-h: "Red Rose", serif;
  --lc-font-t: "Encode Sans Expanded", system-ui, sans-serif;

  --lc-radius: 28px;
  --lc-shadow: 0 18px 40px rgba(0, 0, 0, .12);
  --lc-container: 1440px;
  --lc-container-full: 100%;
  --lc-gutter: 30px;
}

html,
body {
  overflow-x: hidden;
}

/* ========== Base ========== */
.lc-home {
  font-family: var(--lc-font-t);
  color: var(--lc-navy);
  background: #fff;
}

.lc-container {
  width: min(var(--lc-container), calc(100% - 40px));
  margin: 0 auto;
}

.lc-section {
  padding: 0;
}

.lc-eyebrow {
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: 12px;
  opacity: .85;
  margin: 0 0 14px;
}

.lc-h2 {
  font-family: var(--lc-font-h);
  font-size: 46px;
  line-height: 1.06;
  margin: 0 0 22px;
}

.lc-h2__muted {
  font-weight: 400;
  opacity: .72;
}

.lc-outline {
  display: inline-block;
  padding: 10px 14px;
  border: 1px solid rgba(30, 48, 99, .22);
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(30, 48, 99, .9);
}

/* Buttons */
.lc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, .65);
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease, color .12s ease, border-color .12s ease;
  will-change: transform;
}

.lc-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(0, 0, 0, .14);
}

.lc-btn--light {
  background: rgba(255, 255, 255, .92);
  color: var(--lc-navy);
  border-color: transparent;
}

.lc-btn--ghost {
  background: transparent;
  color: #fff;
}

.lc-btn--small {
  padding: 10px 14px;
  background: rgba(255, 255, 255, .92);
  color: var(--lc-navy);
  border: 0;
}

.lc-icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(30, 48, 99, .18);
  background: #fff;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .08);
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease;
}

.lc-icon-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(0, 0, 0, .12);
}

/* ========== HERO ========== */
.lc-hero {
  position: relative;
  min-height: 640px;
  background-size: cover;
  background-position: center;
  border-radius: 0 0 42px 42px;
  overflow: hidden;
}

.lc-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1200px 700px at 15% 50%, rgba(0, 0, 0, .58), rgba(0, 0, 0, .08) 55%),
    linear-gradient(90deg, rgba(0, 0, 0, .45), rgba(0, 0, 0, .08) 58%);
}

.lc-hero__inner {
  position: relative;
  padding: 150px 0 120px;
  color: #fff;
}

.lc-hero__title {
  font-family: var(--lc-font-h);
  font-size: 56px;
  line-height: 1.04;
  margin: 0 0 16px;
  max-width: 760px;
}

.lc-hero__title span {
  color: #fff;
}

.lc-hero__sub {
  font-size: 16px;
  opacity: .92;
  margin: 0 0 22px;
  max-width: 560px;
}

.lc-hero__cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}


/* ========== GALLERY (Swiper) ========== */
.lc-gallery__frame {
  border-radius: 34px;
  overflow: hidden;
  box-shadow: var(--lc-shadow);
}

.lc-gallery__frame img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  display: block;
}

.lc-swiper__nav {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: -58px;
  position: relative;
  z-index: 3;
}

/* Swiper helpers (buttons overlay feel) */
.lc-swiper .swiper {
  width: 100%;
}

.lc-swiper .swiper-wrapper {
  align-items: stretch;
}

.lc-swiper .swiper-slide {
  height: auto;
}

/* ========== SHOWCASE (2 pills + product image) ========== */
.lc-showcase__grid {
  display: grid;
  gap: 18px;
  place-items: center;
}

.lc-showcase__btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.lc-pill {
  padding: 10px 14px;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid rgba(30, 48, 99, .18);
  color: var(--lc-navy);
  background: #fff;
  box-shadow: 0 10px 22px rgba(0, 0, 0, .06);
  transition: transform .12s ease, box-shadow .12s ease;
}

.lc-pill:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(0, 0, 0, .09);
}

.lc-showcase__img img {
  width: min(760px, 100%);
  height: auto;
  display: block;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .12));
}

/* ========== DOOR CAROUSEL (Swiper centered) ========== */
.lc-doors .swiper-slide {
  display: grid;
  place-items: center;
  opacity: .35;
  transform: scale(.92);
  transition: opacity .18s ease, transform .18s ease;
}

.lc-doors .swiper-slide-active {
  opacity: 1;
  transform: scale(1);
}

.lc-doors img {
  max-height: 380px;
  width: auto;
  display: block;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, .16));
}

.lc-doors__nav {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 16px;
}

.lc-doors__label {
  text-align: center;
  margin-top: 14px;
}

.lc-doors__code {
  font-family: var(--lc-font-h);
  font-size: 34px;
  letter-spacing: .06em;
}

.lc-doors__name {
  opacity: .8;
}

/* ========== Responsive ========== */
@media (max-width: 1024px) {
  .lc-hero__inner {
    padding: 120px 0 100px;
  }

  .lc-hero__title {
    font-size: 44px;
  }

  .lc-value__grid {
    grid-template-columns: 1fr;
  }

  .lc-video-card {
    max-width: 520px;
  }

  .lc-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .lc-section {
    padding: 68px 0;
  }

  .lc-hero {
    min-height: 560px;
    border-radius: 0 0 28px 28px;
  }

  .lc-hero__title {
    font-size: 36px;
  }

  .lc-h2 {
    font-size: 36px;
  }

  .lc-card img {
    height: 280px;
  }

  .lc-card.is-center img {
    height: 320px;
  }

  .lc-gallery__frame img {
    height: 340px;
  }
}


/* =========================
   PRODUCT ADVANTAGES (lc-pa)
   ========================= */

/* reset from lc-selling */
.lc-pa.lc-selling {
  padding-top: 50px !important;
  padding-bottom: 50px !important;
  background: transparent !important;
}

.lc-pa .lc-container {
  max-width: none !important;
  width: min(var(--lc-container-full), calc(100% - (var(--lc-gutter) * 2))) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 30px !important;
  /* chặn padding container */
  padding-right: 30px !important;
}

/* ===== PRODUCT HIGHLIGHTS TITLE (match design) ===== */
.lc-pa__title {
  margin: 0 0 32px;
  display: flex;
  align-items: flex-end;
  gap: 10px;
  justify-content: center;
}

/* "Product" */
.lc-selling__titleMuted {
  font-family: "Encode Sans Expanded", sans-serif;
  font-weight: 400;
  font-size: 32px;
  line-height: 57px;
  letter-spacing: -1.6px;
  position: relative;

  /* gradient text */
  background: linear-gradient(180deg, rgba(116, 124, 153, 0.79) 0%, rgba(39, 41, 51, 1) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* underline vàng dưới "Product" */
.lc-selling__titleMuted::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 8px;
  width: 72px;
  height: 2px;
  border-radius: 2px;
  background: #FBD784;
}

/* "Highlights" */
.lc-selling__titleStrong {
  font-family: "Red Rose", serif;
  font-weight: 700;
  font-size: 48px;
  line-height: 57px;
  letter-spacing: 0;

  /* gradient text */
  background: linear-gradient(180deg, rgba(32, 42, 77, 1) 0%, rgba(115, 124, 154, 1) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Responsive */
@media (max-width: 768px) {
  .lc-pa__title {
    gap: 10px;
    margin-bottom: 22px;
  }

  .lc-selling__titleMuted {
    font-size: 26px;
    line-height: 44px;
  }

  .lc-selling__titleMuted::after {
    bottom: 6px;
    height: 2px;
    width: 3.4em;
  }

  .lc-selling__titleStrong {
    font-size: 38px;
    line-height: 44px;
  }
}

/* Fallback nếu browser không support text-clip */
@supports not (-webkit-background-clip: text) {
  .lc-selling__titleMuted {
    color: #747D9A;
    background: none;
  }

  .lc-selling__titleStrong {
    color: #202A4D;
    background: none;
  }
}


/* ép grid chuẩn theo design */
.lc-pa__cards {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: clamp(14px, 2.2vw, 26px) !important;

  align-items: start !important;
  /* QUAN TRỌNG: để card tall tụt xuống dưới */
  justify-content: center !important;

  max-width: 1080px;
  /* giống design: cụm card ko quá rộng */
  margin: 0 auto !important;

  /* kéo card lên gần title hơn (giảm khoảng trắng như hình bạn bị) */
  padding-top: clamp(6px, 1.2vw, 14px);
}

/* card base sizing */
.lc-pa__cards .lc-pa__card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;

  height: clamp(360px, 34vw, 490px) !important;
  background: #0b0b0b;
  transition: transform .35s ease;
}

/* card ảnh */
.lc-pa__cards .lc-pa__img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  display: block;
  transform: scale(1.08);
  transition: transform .35s ease, filter .35s ease;
}

/* overlay */
.lc-pa__cards .lc-pa__card::after {
  content: "";
  position: absolute;
  inset: 0;
  /* background: linear-gradient(to bottom,
      rgba(32, 42, 77, 0.09) 0%,
      rgba(10, 10, 9, 1) 100%); */
  opacity: 1;
  transition: opacity .35s ease, background .35s ease;
}

/* caption */
.lc-pa__cards .lc-pa__cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0px;
  z-index: 2;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: clamp(4px, .45vw, 6px);
  color: rgba(255, 255, 254, 1);
  font-family: "Red Rose", serif;
  font-size: clamp(13px, 1.08vw, 18px);
  font-weight: 500;
  text-shadow: 0 0 16px rgba(0, 0, 0, 0.56);
  background: var(--Primary, #202A4D);
  background-image: url('../img/bg-line-pattern.png');

  background-size: cover;
  background-position: center;
  width: 100%;
  padding: 12px 10px;
  justify-content: center !important;
}

.lc-pa__cards .lc-pa__icon {
  flex: 0 0 auto;
}

.lc-pa__cards .lc-pa__text {
  min-width: 0;
  text-align: center;
  line-height: 1.2;
  white-space: nowrap;
}

/* cards block: kéo lên gần title như design */
.lc-pa__cards {
  max-width: none !important;
  width: min(var(--lc-container-full), calc(100% - (var(--lc-gutter) * 2))) !important;
  margin: 0 auto !important;
  gap: clamp(14px, 2.2vw, 26px) !important;

  /* QUAN TRỌNG: để các card bắt đầu cùng 1 baseline rồi dùng translateY */
  align-items: start !important;

  /* kéo lên để gần title như design gốc */
  margin-top: 12px !important;
}

/* Default: equal height, flat (JS adds is-short/is-tall on hover) */
.lc-pa__cards .lc-pa__card {
  --lift: 0px;
  --drop: 0px;
  height: clamp(360px, 34vw, 490px) !important;
  transform: translateY(0);
  border-radius: 12px !important;
  transition: transform .35s ease, box-shadow .35s ease;
}

/* Hover stagger: JS adds these classes on mouseenter */
article.lc-card.lc-pa__card.is-short {
  --lift: clamp(-72px, -3.8vh, -50px);
  transform: translateY(var(--lift));
}

.lc-pa__cards .lc-pa__card.is-tall {
  --drop: clamp(18px, 3.2vh, 32px);
  transform: translateY(var(--drop));
}

article.lc-card.lc-pa__card.is-tall.is-center {
  --drop: clamp(28px, 6.5vh, 60px);
  transform: translateY(var(--drop));
}

/* image + overlay giữ như trước */
.lc-pa__cards .lc-pa__img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transform: scale(1.08);
  transition: transform .35s ease, filter .35s ease;
}

.lc-pa__cards .lc-pa__card::after {
  content: "";
  position: absolute;
  inset: 0;
  /* background: linear-gradient(to bottom,
      rgba(32, 42, 77, 0.09) 0%,
      rgba(10, 10, 9, 1) 100%); */
  transition: background .35s ease;
}


/* =========================================================
   PRODUCT HIGHLIGHTS (lc-pa) - Grid như Door Styles
   - 4 cột luôn 1 row (desktop)
   - không bó theo lc-container mặc định
   ========================================================= */

/* 1) Mở khung container riêng cho section lc-pa */
.lc-pa .lc-container {
  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
  /* bỏ auto center của theme */
}

/* 2) Grid full-width + 4 cột */
.lc-pa__cards {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: clamp(14px, 2.2vw, 26px) !important;

  align-items: start !important;
  justify-content: stretch !important;
  /* full width */

  /* bỏ bó khung */
  max-width: none !important;
  margin: 0 !important;

  /* sát title hơn */
  padding-top: clamp(6px, 1.2vw, 14px) !important;
}

/* 3) Card base */
.lc-pa__cards .lc-pa__card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;

  height: clamp(360px, 34vw, 490px) !important;
  background: #0b0b0b;
  transition: transform .35s ease;
}

/* 5) Ảnh full khung */
.lc-pa__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 6) Responsive: vẫn 4 cột ở 1024 theo yêu cầu trước đó */
@media (max-width: 1024px) {
  .lc-pa .lc-container {
    padding-left: 24px !important;
    padding-right: 24px !important;
  }

  .lc-pa__cards {
    gap: clamp(10px, 1.6vw, 18px) !important;
  }

  .lc-pa__cards .lc-pa__card {
    height: clamp(250px, 30vw, 360px) !important;
  }

  .lc-pa__cards .lc-pa__cap {
    font-size: clamp(15px, 1.75vw, 19px);
    padding: clamp(9px, 1vw, 12px);
    gap: clamp(4px, 0.8vw, 8px);
  }

  .lc-pa__cards .lc-pa__icon img {
    width: clamp(12px, 1.3vw, 16px);
    height: clamp(12px, 1.3vw, 16px);
  }
}

@media (max-width: 820px) {
  .lc-pa__cards .lc-pa__card {
    height: clamp(220px, 29vw, 300px) !important;
  }

  .lc-pa__cards .lc-pa__cap {
    font-size: clamp(13px, 1.7vw, 16px);
    padding: 8px 10px;
  }
}

/* 7) Màn rất lớn: giữ feel như Door Styles (không phóng vô hạn) */
@media (min-width: 1800px) {
  .lc-pa__cards {
    max-width: 1760px !important;
    /* khoá mềm cho cực lớn */
    margin: 0 auto !important;
  }
}


/* BUILT-IN VALUE (Home)
   Markup expects:
   .lc-built__wrap, .lc-built__left, .lc-built__grid, .lc-built__item,
   .lc-built__num, .lc-built__wm, .lc-built__itemTitle, .lc-built__desc,
   .lc-built__footer, .lc-built__line, .lc-built__nav, .lc-built__navBtn,
   .lc-built__media
*/

.lc-built .lc-container {
  max-width: 1200px;
}

.lc-built__wrap {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 56px;
  padding: 44px 48px;
  overflow: hidden;
}

/* Title */
.lc-built__head {
  margin-bottom: 28px;
}

.lc-built__title {
  margin: 0;
  display: inline-flex;
  align-items: flex-end;
  gap: 10px;
  font-size: 32px;
  line-height: 1;
  letter-spacing: -0.02em;
}

@media (max-width: 768px) {
  .lc-home .lc-pa__cards {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  .lc-home .lc-pa__cards .lc-pa__card,
  .lc-home .lc-pa__cards .lc-pa__card.is-short,
  .lc-home .lc-pa__cards .lc-pa__card.is-tall,
  .lc-home .lc-pa__cards .lc-pa__card.is-tall.is-center {
    transform: none !important;
    height: clamp(200px, 45vw, 280px) !important;
  }
}

.lc-built__titleMuted {
  position: relative;
  font-weight: 500;
  background: linear-gradient(180deg, rgba(116, 125, 154, 0.79) 0%, #272A34 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lc-built__titleMuted::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -12px;
  width: 70%;
  height: 3px;
  border-radius: 99px;
  background: #f2c94c;
}

.lc-built__titleStrong {
  font-weight: 700;
  background: linear-gradient(180deg, #202A4D 0%, #747C9A 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 45px;
}

/* Items */
.lc-built__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 44px;
  row-gap: 34px;
}

.lc-built__item {
  position: relative;
  padding: 18px 18px 8px 18px;
  border-radius: 18px;
  min-height: 124px;
}



/* đảm bảo title/desc không bị đẩy xuống bởi khung số */
.lc-built__itemTitle {
  padding-top: 56px;
  /* chừa chỗ cho number */
}


.lc-built__itemTitle {
  margin: 0;
  padding-top: 38px;
  /* chừa chỗ cho số */
  font-size: 24px;
  font-weight: 700;
  color: var(--Primary, #202A4D);
  opacity: 0.8;
}

.lc-built__item:not(.is-active) .lc-built__itemTitle {
  font-weight: 600;
  color: rgba(19, 36, 60, 0.82);
}

.lc-built__desc {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(19, 36, 60, 0.58);
  max-width: 260px;
  font-size: 14px;
  font-weight: 400;
}

.lc-built__item.is-active .lc-built__desc {
  color: #667394;
  font-size: 14px;
  font-weight: 400;
}

/* Footer nav */
.lc-built__footer {
  margin-top: 26px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.lc-built__line {
  flex: 1;
  height: 1px;
  background: rgba(19, 36, 60, 0.14);
}

.lc-built__nav {
  display: flex;
  gap: 14px;
}

.lc-built__navBtn {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(19, 36, 60, 0.16);
  background: transparent;
  display: grid;
  place-items: center;
  font-size: 20px;
  color: #13243c;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.lc-built__navBtn:hover {
  background: #868994;
  border-color: rgba(19, 36, 60, 0.22);
  color: #fff;
}

/* Image */
.lc-built__media {
  height: 100%;
  min-height: 360px;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 14px 36px rgba(19, 36, 60, 0.18);
}

.lc-built__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Responsive */
@media (max-width: 992px) {
  .lc-built__wrap {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 32px 24px;
  }

  .lc-built__media {
    min-height: 280px;
  }
}

@media (max-width: 640px) {
  .lc-built__title {
    font-size: 38px;
  }

  .lc-built__grid {
    grid-template-columns: 1fr;
    row-gap: 28px;
  }
}


/* click area */
.lc-built__hit {
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

/* default: show watermark (big faint), hide big number */


.lc-built__itemTitle {
  transition: color .25s ease, transform .25s ease, opacity .25s ease;
}

.lc-built__desc {
  transition: color .25s ease, transform .25s ease, opacity .25s ease;
}

/* active: show big number center-top, hide watermark */



.lc-built__item.is-active .lc-built__itemTitle {
  color: var(--Primary, #202A4D);
  transform: translateY(-2px);
  font-size: 24px;
}

.lc-built__item.is-active .lc-built__desc {
  color: rgba(19, 36, 60, .62);
}

/* content fade when switching */
.lc-built__item.is-switching .lc-built__itemTitle,
.lc-built__item.is-switching .lc-built__desc {
  opacity: 0;
  transform: translateY(6px);
}

/* right image fade */
.lc-built__media {
  position: relative;
}

.lc-built__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity .25s ease, transform .35s ease;
}

.lc-built__img.is-fadeout {
  opacity: 0;
  transform: scale(1.02);
}

.lc-built__item.is-active .lc-numDot {
  animation: lcDotPop .35s ease;
}

@keyframes lcDotPop {
  0% {
    transform: scale(.6);
    opacity: 0;
  }

  60% {
    transform: scale(1.08);
    opacity: 1;
  }

  100% {
    transform: scale(1);
  }
}



/* ===== Built-in Value: Unified Number (watermark + active) ===== */

/* wrapper number: LUÔN HIỂN THỊ để watermark thấy */
.lc-built__num {
  position: absolute;
  left: 18px;
  top: 12px;
  width: 180px;
  height: 120px;
  pointer-events: none;
  z-index: 1;
}

.lc-numSvg {
  width: 100%;
  height: 100%;
  display: block;
}

/* base stroke */
.lc-numStroke {
  font-family: "Red Rose", serif;
  font-weight: 400;
  font-size: 96px;
  fill: transparent;
  stroke-width: 3px;
  paint-order: stroke;
}

/* watermark layer (inactive) */
.lc-numStroke--wm {
  fill: #202A4D !important;
  opacity: .10 !important;
  stroke: none !important;
  transition: opacity .25s ease;
}

/* active layer */
.lc-numStroke--active {
  stroke: rgba(32, 42, 77, 0.52);
  opacity: 0;
  transform: translateY(10px);
  transform-origin: left bottom;
  transition: opacity .25s ease, transform .25s ease;
}

/* dot (chỉ hiện khi active) */
.lc-numDot {
  position: absolute;
  left: 14px;
  top: 58px;
  width: 24px;
  height: 22px;
  border-radius: 999px;
  background: rgba(32, 42, 77, 0.52);
  opacity: 0;
  transform: scale(.85);
  transition: opacity .25s ease, transform .25s ease;
}

/* toggle active */
.lc-built__item.is-active .lc-numStroke--wm {
  opacity: 0;
}

.lc-built__item.is-active .lc-numStroke--active {
  opacity: 1;
  fill: #202A4D;
}

.lc-built__item.is-active .lc-numDot {
  opacity: 1;
  transform: scale(1);
  animation: lcDotPop .35s ease;
}

@keyframes lcDotPop {
  0% {
    transform: scale(.6);
    opacity: 0;
  }

  60% {
    transform: scale(1.08);
    opacity: 1;
  }

  100% {
    transform: scale(1);
  }
}

/* === FIX spacing between number and text === */

/* chừa chỗ cho number bằng container click */
.lc-built__hit {
  position: relative;
  display: block;
  padding-top: 88px;
  /* tăng/giảm 80-96 tuỳ bạn */
}

/* bỏ padding-top ở title để không cộng dồn */
.lc-built__itemTitle {
  padding-top: 0 !important;
}

/* number position chuẩn hơn (đẩy lên cao 1 chút) */
.lc-built__num {
  top: 12px !important;
  left: 18px !important;
  width: 180px;
  height: 110px;
  /* giảm height để số không “ăn” xuống text */
}

/* nếu title vẫn chạm số, tăng line-height/spacing nhẹ */
.lc-built__itemTitle {
  margin-top: 4vh;
}

/* FIX number alignment with text column */
.lc-built__item {
  --content-pad-left: 0px;
  /* đúng bằng padding-left card */
}

.lc-built__hit {
  padding-left: var(--content-pad-left);
  padding-right: 18px;
}

/* number bám theo cùng lề trái với title */
.lc-built__num {
  left: var(--content-pad-left) !important;
  top: 12px !important;
}

/* nếu svg có khoảng trắng bên trái, kéo text lại 1 chút */
.lc-numStroke {
  dominant-baseline: alphabetic;
  transform: translateX(-10px);
}

/* Giữ title 1 dòng như design */
.lc-built__itemTitle {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  /* nếu quá dài thì ... thay vì xuống dòng */
}

/* Scale font theo màn hình để vẫn fit 2 cột */
.lc-built__itemTitle {
  font-size: clamp(18px, 2.1vw, 24px);
  line-height: 1.15;
}

/* Nếu vẫn wrap do grid cột quá hẹp -> ép grid có min width hợp lý */
.lc-built__grid {
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  column-gap: clamp(18px, 3vw, 48px);
  row-gap: clamp(22px, 3.2vw, 54px);
}

/* Màn nhỏ quá thì chuyển 1 cột (không còn lý do phải wrap) */
@media (max-width: 560px) {
  .lc-built__grid {
    grid-template-columns: 1fr;
  }

  .lc-built__itemTitle {
    white-space: normal;
    /* 1 cột thì cho wrap lại để khỏi ... */
    overflow: visible;
    text-overflow: unset;
  }
}

@media (max-width: 1024px) {
  .lc-built__itemTitle {
    font-size: clamp(16px, 2.5vw, 22px) !important;
  }
}

/* =========================
   CTA - Ready to partner...
   Markup:
   .lc-section.lc-cta
   .lc-cta__title .lc-h2__muted img
   .lc-cta__grid .lc-tile img .lc-tile__overlay .lc-tile__title .lc-btn
   ========================= */

.lc-section.lc-cta {
  padding: 50px 0;
  background: #fff;
}

.lc-cta .lc-container {
  max-width: none !important;
  width: min(var(--lc-container-full), calc(100% - (var(--lc-gutter) * 2))) !important;
  margin-left: auto !important;
  margin-right: auto !important;

  padding-left: 30px !important;
  /* chặn padding 0 10px */
  padding-right: 30px !important;
}

/* ---------- Title row (text + logo) ---------- */
.lc-cta__title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin: 0 0 24px;
  font-family: "Red Rose", serif;
  font-weight: 700;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 57px;
  letter-spacing: -0.02em;
  text-align: center;
  /* gradient text */
  background: linear-gradient(180deg, rgba(116, 124, 153, 0.79) 0%, rgba(39, 41, 51, 1) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* muted text + small yellow underline like design */
.lc-cta__title .lc-h2__muted {
  position: relative;
  font-family: "Encode Sans Expanded", sans-serif;
  font-weight: 400;
  font-size: 32px;
  letter-spacing: -1.6px;
  background: linear-gradient(180deg, rgba(116, 124, 153, 0.79) 0%, rgba(39, 41, 51, 1) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}

.lc-cta__title .lc-h2__muted::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 72px;
  height: 2px;
  border-radius: 999px;
  background: #FBD784;
}

/* logo inline */
.lc-cta__title img {
  height: 44px;
  width: auto;
  display: inline-block;
  transform: translateY(1px);
}

/* mobile: title xuống dòng cho đẹp */
@media (max-width: 700px) {
  .lc-cta__title {
    flex-direction: column;
    gap: 10px;
  }

  .lc-cta__title .lc-h2__muted {
    white-space: normal;
  }

  .lc-cta__title .lc-h2__muted::after {
    left: 50%;
    transform: translateX(-50%);
  }
}

/* ---------- Grid 2 cards ---------- */
.lc-cta__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

@media (max-width: 980px) {
  .lc-cta__grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

/* ---------- Tile card ---------- */
.lc-tile {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: transparent;
}

/* image box */
.lc-tile>img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 14px;
  display: block;
  box-shadow: 0 10px 26px rgba(16, 24, 40, 0.10);
}

@media (max-width: 980px) {
  .lc-tile>img {
    height: 260px;
  }
}

/* footer content under image (NOT overlay) */
.lc-tile__overlay {
  position: static;
  /* đảm bảo không overlay */
  padding: 18px 10px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

/* title under image */
.lc-tile__title {
  font-family: "Red Rose", serif;
  font-weight: 400;
  font-size: 32px;
  line-height: 1.25;
  color: #202A4D;
  text-align: center;
}

/* button pill like design */
.lc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 18px;
  border-radius: 999px;
  font-family: "Encode Sans Expanded", sans-serif;
  font-weight: 600;
  font-size: 12px;
  color: #6b7a99;
  background: #fff;
  border: 1px solid rgba(107, 122, 153, 0.28);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.lc-btn--small {
  height: 36px;
  padding: 0 18px;
}

/* subtle hover like design */
.lc-tile:hover>img {
  box-shadow: 0 14px 34px rgba(16, 24, 40, 0.14);
}

.lc-tile:hover .lc-btn {
  border-color: rgba(107, 122, 153, 0.40);
  box-shadow: 0 10px 22px rgba(16, 24, 40, 0.10);
  transform: translateY(-1px);
}

/* ===== CTA Button (Figma: filled navy pill) ===== */
.lc-cta .lc-btn.lc-btn--small {
  height: 42px;
  /* padding: 12px 16px; */
  border-radius: 120px;

  background: #202A4D;
  border: 1px solid #202A4D;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;

  font-family: "Encode Sans Expanded", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;

  transition: background .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

/* default: white text on navy */
.lc-cta .lc-btn__get {
  font-weight: 500;
  color: #fff;
}

.lc-cta .lc-btn__started {
  font-weight: 500;
  color: #fff;
}

/* hover: lighten slightly */
.lc-cta .lc-tile:hover .lc-btn.lc-btn--small,
.lc-cta .lc-btn.lc-btn--small:focus,
.lc-cta .lc-btn.lc-btn--small:focus-visible {
  background: #1b2a57;
  border-color: #1b2a57;
  transform: translateY(-1px);
}

.lc-cta .lc-tile:hover .lc-btn__get,
.lc-cta .lc-tile:hover .lc-btn__started,
.lc-cta .lc-btn.lc-btn--small:focus .lc-btn__get,
.lc-cta .lc-btn.lc-btn--small:focus .lc-btn__started,
.lc-cta .lc-btn.lc-btn--small:focus-visible .lc-btn__get,
.lc-cta .lc-btn.lc-btn--small:focus-visible .lc-btn__started {
  color: #fff;
}

/* focus ring */
.lc-cta .lc-btn.lc-btn--small:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(27, 42, 87, .18);
}

/* =========================================================
   DOOR STYLES (Home) - Full CSS (layout + spacing like design)
   - Animation handled by JS (smooth dancing like video)
   ========================================================= */

.lc-doorstyles {
  position: relative;
  overflow: hidden;
  padding: clamp(44px, 5.2vw, 68px) 0 clamp(56px, 6.2vw, 84px);
  background: transparent;
}

/* background glow nhẹ như design */
.lc-doorstyles::before,
.lc-doorstyles::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 999px;
  filter: blur(64px);
  opacity: .55;
  pointer-events: none;
  z-index: 0;
}

.lc-doorstyles::before {
  left: -240px;
  top: -260px;
  /* background: radial-gradient(circle at 40% 40%, rgba(236, 210, 168, .9), rgba(236, 210, 168, 0) 60%); */
}

.lc-doorstyles::after {
  right: -260px;
  bottom: -280px;
  /* background: radial-gradient(circle at 50% 50%, rgba(214, 224, 235, .9), rgba(214, 224, 235, 0) 62%); */
}

.lc-doorstyles .lc-container {
  position: relative;
  z-index: 1;
  max-width: none !important;
  width: min(var(--lc-container-full), calc(100% - (var(--lc-gutter) * 2))) !important;
}

/* -------------------------
   Title
   ------------------------- */
.lc-doorstyles__head {
  display: flex;
  justify-content: center;
  margin-bottom: 18px;
}

.lc-doorstyles__title {
  margin: 0;
  display: flex;
  align-items: center;
  /* canh theo line-height 57 */
  gap: 18px;
  /* khoảng cách giữa Kitchen & Gallery */
  line-height: 57px;
  /* design */
}

/* Door */
.lc-doorstyles__door {
  position: relative;
  font-family: "Encode Sans Expanded", system-ui, sans-serif;
  font-weight: 400;
  font-size: 32px;
  line-height: 57px;
  letter-spacing: -0.05em;
  /* -5% */
  display: inline-block;

  /* gradient text */
  background: linear-gradient(180deg, rgba(116, 125, 154, 0.79) 0%, #272A34 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* underline vàng dưới Kitchen */
.lc-doorstyles__door::after {
  content: "";
  position: absolute;
  left: 0px;
  /* giống ảnh */
  bottom: -2px;
  width: 75px;
  /* bạn có thể chỉnh 110-130 cho khớp */
  height: 3px;
  border-radius: 999px;
  background: #E3C263;
  /* vàng nhạt giống design */
  opacity: 0.95;
}

/* Styles */
.lc-doorstyles__style {
  font-family: "Red Rose", serif;
  font-weight: 700;
  font-size: 48px;
  line-height: 57px;
  letter-spacing: 0;
  display: inline-block;

  /* gradient text */
  background: linear-gradient(180deg, #202A4D 0%, #747C9A 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Responsive */
@media (max-width: 768px) {
  .lc-doorstyles__title {
    gap: 12px;
    line-height: 44px;
  }

  .lc-doorstyles__door {
    font-size: 24px;
    line-height: 44px;
  }

  .lc-doorstyles__style {
    font-size: 34px;
    line-height: 44px;
  }

  .lc-doorstyles__door::after {
    left: 6px;
    bottom: -6px;
    width: 92px;
    height: 3px;
  }
}

/* -------------------------
   Grid
   ------------------------- */
.lc-doorstyles__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 2.6vw, 34px);
  align-items: end;

  /* tạo khoảng thở bên dưới giống design */
  padding-top: clamp(6px, .8vw, 10px);
}

@media (max-width: 1024px) {
  .lc-doorstyles__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
}

@media (max-width: 540px) {
  .lc-doorstyles__grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

/* -------------------------
   Item
   ------------------------- */
.lc-doorstyles__item {
  text-align: center;
}

/* text trên ảnh */

.lc-doorstyles__name {
  font-family: "Encode Sans Expanded", system-ui, sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.15;
  background: linear-gradient(90.5deg, #393838 0.41%, #747C9A 99.59%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;

}

.lc-doorstyles__code {
  margin-top: 2px;
  font-family: "Encode Sans Expanded", system-ui, sans-serif;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: .10em;
  background: linear-gradient(180deg, #202A4D 0%, #747C9A 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}

/* -------------------------
   Image frame
   ------------------------- */
.lc-doorstyles__frame {
  margin: 0;
  position: relative;

  /* giúp 4 cánh door “đứng chung baseline” */
  display: flex;
  align-items: flex-end;
  justify-content: center;

  /* hạn chế layout shift khi load ảnh */
  min-height: clamp(200px, 34vw, 520px);
}

/* image */
.lc-doorstyles__img {
  width: 100%;
  height: auto;
  display: block;

  /* performance cho JS transform */
  transform: translate3d(0, 0, 0);
  will-change: transform;
  backface-visibility: hidden;

  /* shadow giống design */
  filter:
    drop-shadow(0 18px 16px rgba(0, 0, 0, .10)) drop-shadow(0 7px 10px rgba(0, 0, 0, .08));
}

/* nhẹ hơn ở mobile */
@media (max-width: 540px) {
  .lc-doorstyles__img {
    filter:
      drop-shadow(0 14px 14px rgba(0, 0, 0, .10)) drop-shadow(0 6px 8px rgba(0, 0, 0, .08));
  }
}

/* respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .lc-doorstyles__img {
    will-change: auto;
    transform: none;
  }
}


/* =========================
   DOOR STYLES - FIX sizing like Figma (344w + padding 16)
   ========================= */

.lc-doorstyles {
  padding: 56px 0 64px;
  /* giống feel design */
  padding-bottom: 0px !important;
}

/* Container nên vừa phải, không quá rộng */
.lc-doorstyles .lc-container {
  max-width: 1320px;
  /* đủ để 4 card 344px + gap */
}

/* GRID: dùng cột cố định 344px như design */
.lc-doorstyles__grid {
  display: grid;
  grid-template-columns: repeat(4, 344px);
  justify-content: center;
  /* căn giữa cả hàng */
  column-gap: 32px;
  /* chỉnh nếu muốn rộng hơn */
  row-gap: 28px;
  align-items: end;
}

/* ITEM: đúng padding 16 như Figma */
.lc-doorstyles__item {
  padding: 16px;
  box-sizing: border-box;
  text-align: center;
}

/* Meta text: vùng 270px (hug) */
.lc-doorstyles__meta {
  /* width: 270px; */
  margin: 0 auto 10px;
}

/* Frame không ép min-height (dễ làm ảnh bị to/lệch) */
.lc-doorstyles__frame {
  margin: 0;
  width: 100%;
}

/* Image luôn fit theo khung 344px (trừ padding) */
.lc-doorstyles__img {
  width: 100%;
  height: auto;
  display: block;
}

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  .lc-doorstyles__grid {
    grid-template-columns: repeat(2, 344px);
    column-gap: 28px;
  }
}

@media (max-width: 768px) {
  .lc-doorstyles__grid {
    grid-template-columns: 1fr;
    /* 1 cột */
  }

  .lc-doorstyles {
    padding: 56px 0 64px;
    /* giống feel design */
    padding-bottom: 1.7rem !important;
  }


  .lc-doorstyles__item {
    max-width: 344px;
    /* vẫn giữ đúng khung */
    margin: 0 auto;
  }

  .lc-doorstyles__meta {
    width: min(270px, 100%);
  }
}


/* =========================================================
   DOOR STYLES - Responsive đúng 1024 / 1440 / >1440
   - luôn 4 item / 1 row
   - không fix cứng size lc-doorstyles__img
   ========================================================= */

.lc-doorstyles {
  padding-bottom: clamp(44px, 4.8vw, 64px) 0 clamp(52px, 5.6vw, 82px);
}

/* grid: luôn 4 cột, nhưng giới hạn "khung tổng" để không phóng to quá ở màn lớn */
.lc-doorstyles__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  /* LUÔN 4 cột */
  column-gap: clamp(14px, 2vw, 34px);
  row-gap: clamp(18px, 2.2vw, 30px);
  align-items: end;

  /* quan trọng: giữ size giống design ở 1440+ */
  max-width: 1440px;
  margin: 0 auto;
}

/* item padding giống design nhưng co giãn nhẹ theo breakpoint */
.lc-doorstyles__item {
  box-sizing: border-box;
  padding: clamp(12px, 1.2vw, 16px);
  text-align: center;
}

/* meta: không fix cứng, nhưng giới hạn để giống khung text trong design */
.lc-doorstyles__meta {
  max-width: 270px;
  margin: 0 auto clamp(8px, 2vw, 16px);
}

/* frame không ép min-height để ảnh tự fit theo cột */
.lc-doorstyles__frame {
  margin: 0;
}

/* img: không fix size — chỉ đảm bảo full theo card */
.lc-doorstyles__img {
  width: 100%;
  height: auto;
  display: block;
}

/* =========================
   Fine-tune riêng cho 1024
   (vẫn 4 cột, nhưng gap/padding gọn hơn)
   ========================= */
@media (max-width: 1024px) {
  .lc-doorstyles__grid {
    column-gap: 18px;
  }

  .lc-doorstyles__item {
    padding: 12px;
  }
}


/* ===== Door styles grid: wider on large screens, less side margin ===== */

.lc-doorstyles .lc-container {
  /* container rộng hơn để giảm khoảng trống 2 bên */
  max-width: 1720px;
}

.lc-doorstyles__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: clamp(14px, 2vw, 34px);
  row-gap: clamp(18px, 2.2vw, 30px);
  align-items: end;

  /* Mấu chốt: grid mở rộng theo màn hình thay vì khóa 1440 */
  max-width: min(1680px, 100%);
  margin: 0 auto;
}

/* Fine tune cho màn rất lớn (>=1600) để bớt "trống" */
@media (min-width: 1600px) {
  .lc-doorstyles__grid {
    max-width: 1680px;
    /* hoặc 1600px nếu muốn chặt hơn */
    column-gap: 34px;
  }
}

/* =========================================================
   DOOR STYLES - Align title with doors (esp. 1024px)
   ========================================================= */

/* Dùng cùng "khung" như grid để title không lệch */
.lc-doorstyles__title {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  justify-content: center;
  margin-bottom: 18px;
}

/* 1024px: title canh theo đúng bề rộng và padding của grid */
@media (max-width: 1024px) {

  /* Cho title có cùng padding ngang như container section */
  .lc-doorstyles__title {
    padding-left: 24px;
    padding-right: 24px;
  }

  /* Đồng bộ grid padding với title (nếu grid đang full-width) */
  .lc-doorstyles__grid {
    padding-left: 24px;
    padding-right: 24px;
  }

  /* Quan trọng: bỏ trường hợp title bị inline-flex làm “co cụm” */
  .lc-doorstyles__title {
    display: flex;
    justify-content: center;
  }
}

/* item nhảy: bật GPU + ổn định render */
.lc-doorstyles__item {
  transform: translate3d(0, 0, 0);
  will-change: transform;
  backface-visibility: hidden;
  transform-style: preserve-3d;
}

/* text: ép render ổn định */
.lc-doorstyles__meta,
.lc-doorstyles__name,
.lc-doorstyles__code {
  transform: translateZ(0);
  /* tạo layer riêng */
  backface-visibility: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

.lc-doorstyles::after {
  right: -180px;
  /* giảm âm lại */
  bottom: -180px;
}

.lc-doorstyles::before {
  left: -160px;
  top: -160px;
}


/* =========================
   DOOR STYLES - Hover zoom per door (keep dancing)
   ========================= */

/* đảm bảo mỗi item có thể nổi lên khi hover */
.lc-doorstyles__item {
  position: relative;
  z-index: 1;
}

/* frame tạo layer riêng để scale mượt */
.lc-doorstyles__frame {
  position: relative;
  transform: translateZ(0);
}

/* ảnh: mặc định */
.lc-doorstyles__img {
  transform: translateZ(0) scale(1);
  transform-origin: center bottom;
  /* zoom từ đáy lên giống “nâng door” */
  transition: transform .35s cubic-bezier(.22, .85, .25, 1), filter .35s ease;
}

/* =========================
   Door Styles - zoom không che title/meta
   ========================= */

/* meta luôn nổi lên trên */
.lc-doorstyles__meta {
  position: relative;
  z-index: 5;
}

/* frame nằm dưới meta và tạo khoảng đệm để khi zoom không chạm */
.lc-doorstyles__frame {
  position: relative;
  z-index: 1;
}

/* đảm bảo item cho phép lớp z-index hoạt động */
.lc-doorstyles__item {
  position: relative;
  z-index: 1;
}


/* zoom ảnh: ưu tiên zoom từ đáy lên */
.lc-doorstyles__img {
  transform-origin: center bottom;
}


/* =========================================================
   Door Styles - Hover Card BG exactly like design
   (padding 16, radius 16, subtle border + soft shadow + gradient)
   ========================================================= */

.lc-doorstyles__item {
  position: relative;
  z-index: 1;
}


/* meta + frame nằm trên nền */
.lc-doorstyles__meta,
.lc-doorstyles__frame {
  position: relative;
  z-index: 2;
}

/* =========================
   Door image hover: nổi lên nhưng không phá dancing
   ========================= */
.lc-doorstyles__img {
  transform-origin: center bottom;
  transition: transform .35s cubic-bezier(.22, .85, .25, 1), filter .35s ease;
}


/* =========================
   Fix: background card too small
   ========================= */

/* dùng padding để tạo khoảng thở cho content */
.lc-doorstyles__item {
  padding: 16px;
  /* giống design */
  box-sizing: border-box;
}

/* =========================================================
   Door Styles - Card BG full + đúng hiệu ứng đậm/nhạt (vignette)
   ========================================================= */

/* item có padding đúng design (content thụt vào 16) */
.lc-doorstyles__item {
  position: relative;
  padding: 16px;
  /* design */
  box-sizing: border-box;
  border-radius: 20px;
  /* feel giống Figma hơn 16 */
}

/* card nền phủ FULL như design */
.lc-doorstyles__item::before {
  content: "";
  position: absolute;
  inset: 0;
  /* FULL card */

  /* Viền + shadow mềm như design */
  box-shadow:
    0 30px 70px rgba(0, 0, 0, .12),
    0 10px 24px rgba(0, 0, 0, .10);

  opacity: 0;
  transform: translate3d(0, 10px, 0) scale(.985);
  transition:
    opacity .22s ease,
    transform .35s cubic-bezier(.22, .85, .25, 1),
    filter .25s ease;

  z-index: 0;
  pointer-events: none;
}

/* meta + frame nằm trên nền */
.lc-doorstyles__meta,
.lc-doorstyles__frame {
  position: relative;
  z-index: 2;
}


/* =========================
   Door Styles - BG bleed to fill grid cell (look bigger)
   ========================= */

.lc-doorstyles__item {
  position: relative;
  z-index: 1;
  padding: 16px;
  /* giữ padding content */
  box-sizing: border-box;
}


/* content nằm trên BG */
.lc-doorstyles__meta,
.lc-doorstyles__frame {
  position: relative;
  z-index: 2;
}

/* =========================
   Door Styles - Fix layout @1024px (4 items / row)
   ========================= */

@media (min-width: 1024px) and (max-width: 1439px) {

  /* grid: vẫn 4 cột nhưng tránh ép quá nhỏ */
  .lc-doorstyles__grid {
    grid-template-columns: repeat(4, minmax(220px, 1fr)) !important;
    gap: clamp(16px, 2vw, 26px) !important;
    align-items: start;
  }

  /* item: cho phép overflow để hover không bị cắt */
  .lc-doorstyles__item {
    overflow: visible;
  }

  /* meta: cố định vùng meta để không đè vào frame */
  .lc-doorstyles__meta {
    min-height: 72px;
    /* đủ cho name + code */
    padding: 8px 0 10px;
  }

  /* frame: KHÓA tỉ lệ cửa => không bị “sập” height */
  .lc-doorstyles__frame {
    width: 100%;
    aspect-ratio: 3 / 5.2;
    /* gần đúng ratio cửa (tùy hình) */
    height: auto !important;
    display: flex;
    align-items: flex-end;
    justify-content: center;
  }

  /* img fill frame đúng cách */
  .lc-doorstyles__img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* quan trọng: tránh crop/lệch */
    display: block;
  }
}

/* đảm bảo grid không bị nhảy layout khi card tụt */
.lc-doorstyles__grid {
  align-items: start;
}

/* trạng thái mặc định: tất cả tĩnh */
.lc-doorstyles__frame {
  transform: translateY(0);
  transition: transform .55s cubic-bezier(.2, .85, .2, 1);
  will-change: transform;
}

/* Default: tĩnh */
.lc-doorstyles__item {
  transform: translateY(0);
  transition: transform .55s cubic-bezier(.2, .85, .2, 1);
  will-change: transform;
}

/* Hover vào section: item 2 & 4 tụt xuống 30% */
.lc-doorstyles:hover .lc-doorstyles__item[data-door-idx="1"],
.lc-doorstyles:hover .lc-doorstyles__item[data-door-idx="3"] {
  transform: translateY(20%);
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  .lc-doorstyles__item {
    transition: none !important;
  }
}

.lc-doorstyles__grid {
  margin-bottom: 8vw;
}

/* hoặc 60px */

/* =========================
   Home Door Styles - match product shadow treatment
   ========================= */
.lc-home .lc-doorstyles__item {
  isolation: isolate;
}

.lc-home .lc-doorstyles__frame {
  overflow: visible;
}

.lc-home .lc-doorstyles__frame::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 16%;
  bottom: 3%;
  z-index: 0;
  pointer-events: none;
  border-radius: 28px;
  background: radial-gradient(70% 76% at 50% 36%,
      rgba(94, 106, 136, .22) 0%,
      rgba(94, 106, 136, .10) 46%,
      rgba(94, 106, 136, 0) 100%);
  filter: blur(16px);
  opacity: .78;
  transition: opacity .28s ease, transform .35s cubic-bezier(.22, .85, .25, 1);
  transform: translateY(6px) scale(.985);
}

.lc-home .lc-doorstyles__img {
  position: relative;
  z-index: 1;
  filter:
    drop-shadow(0 1px .8px rgba(91, 103, 130, .42))
    drop-shadow(0 14px 12px rgba(0, 0, 0, .10))
    drop-shadow(0 28px 28px rgba(0, 0, 0, .10));
}

.lc-home .lc-doorstyles__item:hover .lc-doorstyles__frame::before,
.lc-home .lc-doorstyles__item.is-hovered .lc-doorstyles__frame::before {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.lc-home .lc-doorstyles__item:hover .lc-doorstyles__img,
.lc-home .lc-doorstyles__item.is-hovered .lc-doorstyles__img {
  filter:
    drop-shadow(0 1px 1px rgba(91, 103, 130, .50))
    drop-shadow(0 20px 16px rgba(0, 0, 0, .13))
    drop-shadow(0 34px 34px rgba(0, 0, 0, .12));
}

@media (max-width: 768px) {
  .lc-home .lc-doorstyles__frame::before {
    left: 10%;
    right: 10%;
    top: 20%;
    filter: blur(12px);
    opacity: .68;
  }
}

@media (max-width: 768px) {
  .lc-home .lc-doorstyles__grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  .lc-home .lc-doorstyles__item {
    width: auto !important;
    min-width: 0 !important;
  }
}



/* BUILT-IN VALUE: smoother crossfade */
.lc-built__media {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  /* tuỳ design */
  background: #e9eaee;
  /* nền placeholder để không flash */
  transform: translateZ(0);
  /* GPU hint */
  contain: paint;
  /* giảm repaint lan rộng */
}

.lc-built__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;

  opacity: 0;
  transform: translateZ(0) scale(1.015);
  transition:
    opacity 620ms cubic-bezier(.22, .61, .36, 1),
    transform 820ms cubic-bezier(.22, .61, .36, 1);
  will-change: opacity, transform;
  backface-visibility: hidden;
  pointer-events: none;
}

.lc-built__media img.is-current {
  opacity: 1;
  transform: translateZ(0) scale(1);
  z-index: 1;
}

.lc-built__media img.is-next {
  opacity: 1;
  transform: translateZ(0) scale(1);
  z-index: 2;
}

@media (prefers-reduced-motion: reduce) {
  .lc-built__media img {
    transition: none;
    transform: none;
  }
}