/* =====================================================================
   First Date - giao dien tong kem (feedback 11/2026)
   Nap sau stylesheet.css (xem common/header.tpl)
   ===================================================================== */
:root {
  --fd-bg: #fbfbfb;
  --fd-bg-2: #f4efe7;
  --fd-bg-3: #ece4d6;
  --fd-text: #343a40;
  --fd-muted: #6c757d;
  --fd-line: #e3dccf;
  --fd-gold: #a1833c;
  --fd-gold-2: #c5a47e;
  --fd-link: #1a73e8;
  --fd-font: 'Be Vietnam Pro', 'Segoe UI', Roboto, Arial, sans-serif;
  --fd-header-h: 96px;
}

/* ---------- Nen, chu, font ---------- */
html, body { background: var(--fd-bg) !important; }
body {
  color: var(--fd-text) !important;
  font-family: var(--fd-font) !important;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body :not(.fa):not(.glyphicon):not([class*="lg-"]):not([class*="icon"]):not([class*="swiper-button"]) {
  font-family: var(--fd-font) !important;
}
body :is(h1, h2, h3, h4, h5, h6, p, li, td, th, dt, dd, label, small, strong, b, em, blockquote, figcaption, span, div) {
  color: var(--fd-text) !important;
}
h1, h2, h3, h4, h5, h6 { letter-spacing: .02em; line-height: 1.35; font-weight: 600; }
.text-primary, .text-primary * { color: var(--fd-gold) !important; }
::selection { background: var(--fd-gold-2); color: #fff; }

/* nen toi -> trong suot / kem */
.layout, .content, main.main, section, .section, .awe-section-4, .awe-section-7, .section_blogs,
.section-slide-new, .blog-list, .blog-details, .product, .contacts, .projects, .experience, .about {
  background-color: transparent !important;
}
.loader, .page-lines, .vertical-panel, .vertical-panel-content, .brand-panel, .header-phone,
.navbar-desctop, .navbar-mobile { display: none !important; }

/* Lien ket: menu/nut giu mau rieng; lien ket trong noi dung -> gach chan, xanh duong */
a { color: inherit; transition: color .2s ease; }
a:hover, a:focus { color: var(--fd-gold); }
.rte a, article.post a, .fd-section a, .fd-pd__detail a, .fd-pd__muted a, .fd-contact__info a, .fd-reviews__lead a, .fd-post-footer a,
.rte a *, article.post a *, .fd-section a * {
  color: var(--fd-link) !important;
  text-decoration: underline !important;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  border: 0 !important;
  outline: 0;
}
.rte a:hover, article.post a:hover, .fd-section a:hover, .fd-pd__detail a:hover, .fd-pd__muted a:hover, .fd-contact__info a:hover,
.fd-reviews__lead a:hover, .fd-post-footer a:hover, .rte a:hover *, article.post a:hover *, .fd-section a:hover * {
  color: var(--fd-gold) !important;
}

/* O nhap / nut */
input[type=text], input[type=email], input[type=tel], input[type=search], input[type=number], input[type=password],
textarea, select, .form-control {
  background: #fff !important;
  color: var(--fd-text) !important;
  border: 1px solid var(--fd-line) !important;
  box-shadow: none !important;
}
input::placeholder, textarea::placeholder { color: #8a8f94 !important; opacity: 1; }
input:focus, textarea:focus, select:focus, .form-control:focus { border-color: var(--fd-gold-2) !important; outline: 0; }
.btn, button.btn, .btn-primary, .btn-gray, .contacts button[type=submit] {
  background: var(--fd-gold) !important;
  border-color: var(--fd-gold) !important;
  color: #fff !important;
}
.btn *, .btn-primary * { color: #fff !important; }
.btn:hover, .btn-primary:hover, .contacts button[type=submit]:hover { background: #8a6f30 !important; border-color: #8a6f30 !important; }

.fd-btn {
  display: inline-block; padding: 12px 28px; border-radius: 999px;
  background: var(--fd-gold); color: #fff !important; font-weight: 600; letter-spacing: .04em;
  text-decoration: none !important; transition: background .2s ease, transform .2s ease;
}
.fd-btn:hover { background: #8a6f30; color: #fff !important; transform: translateY(-1px); }
.fd-section-title, .section-title, .title-page h2, .related-product h2 {
  font-size: clamp(22px, 2.6vw, 32px) !important;
  font-weight: 600 !important;
  letter-spacing: .14em !important;
  text-transform: uppercase;
  text-align: center;
  margin: 0 0 32px !important;
  color: var(--fd-text) !important;
}

/* =====================================================================
   HEADER
   ===================================================================== */
.fd-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  color: #fff;
  transition: background-color .3s ease, box-shadow .3s ease, padding .3s ease;
}
.fd-header::before {
  content: ""; position: absolute; inset: 0 0 -40px; z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom, rgba(0,0,0,.45), rgba(0,0,0,0));
  transition: opacity .3s ease;
}
.fd-header__inner {
  --fd-search-w: 230px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 22px 32px; min-height: var(--fd-header-h);
  transition: padding .3s ease;
}
.fd-header .fd-nav--left { grid-column: 1; grid-row: 1; justify-self: start; }
.fd-header .fd-logo { grid-column: 2; grid-row: 1; }
.fd-header .fd-nav--right { grid-column: 3; grid-row: 1; justify-self: end; margin-right: calc(var(--fd-search-w) + 28px); }
.fd-header .fd-search { grid-column: 3; grid-row: 1; justify-self: end; }
.fd-burger { display: none; }

.fd-nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 34px; }
.fd-nav__item { position: relative; }
.fd-header .fd-nav__link, .fd-header .fd-nav__link * {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 0;
  font-size: 15px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  color: #fff !important; text-decoration: none !important; white-space: nowrap;
}
.fd-header .fd-nav__link:hover { color: var(--fd-gold-2) !important; }
.fd-nav__sub {
  list-style: none; margin: 0; padding: 10px 0; position: absolute; top: 100%; left: -16px; min-width: 240px;
  background: #fff; border-radius: 10px; box-shadow: 0 18px 40px rgba(0,0,0,.12);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .2s ease; z-index: 5;
}
.fd-nav__sub--lv3 { top: 0; left: 100%; }
.fd-nav__item:hover > .fd-nav__sub, .fd-nav__item:focus-within > .fd-nav__sub,
.fd-nav__sub li:hover > .fd-nav__sub { opacity: 1; visibility: visible; transform: none; }
.fd-nav__sub li { position: relative; }
.fd-header .fd-nav__sub a {
  display: block; padding: 9px 20px; font-size: 14px; letter-spacing: .03em; text-transform: none;
  color: var(--fd-text) !important; text-decoration: none !important; white-space: nowrap;
}
.fd-header .fd-nav__sub a:hover { background: var(--fd-bg-2); color: var(--fd-gold) !important; }

/* Logo + hieu ung lap lanh */
.fd-logo { position: relative; display: block; width: 210px; line-height: 0; transition: width .3s ease; }
.fd-logo img { display: block; width: 100%; height: auto; }
.fd-logo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(110deg, transparent 38%, rgba(255,255,255,.95) 50%, transparent 62%);
  background-size: 300% 100%; background-position: 150% 0;
  -webkit-mask: var(--fd-logo) center / contain no-repeat;
          mask: var(--fd-logo) center / contain no-repeat;
  animation: fdShine 3.6s ease-in-out infinite;
}
@keyframes fdShine { 0% { background-position: 150% 0; } 55%, 100% { background-position: -50% 0; } }
@media (prefers-reduced-motion: reduce) { .fd-logo::after { animation: none; } }

/* Tim kiem: day du o dau trang, icon khi cuon */
.fd-search__form { position: relative; margin: 0; }
.fd-header .fd-search__input {
  width: var(--fd-search-w); height: 38px; padding: 0 40px 0 16px !important;
  border-radius: 999px; font-size: 14px;
  background: rgba(255,255,255,.92) !important; border: 1px solid transparent !important; color: var(--fd-text) !important;
  cursor: pointer; transition: width .3s ease, opacity .2s ease;
}
.fd-search__btn {
  position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  width: 32px; height: 32px; border: 0; border-radius: 50%; background: transparent; color: var(--fd-text);
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0;
}

/* Trang thai khi cuon xuong: nen kem, menu gom vao giua, tim kiem thanh icon */
.fd-header.is-scrolled { background: rgba(251,251,251,.97); box-shadow: 0 6px 24px rgba(52,58,64,.08); }
.fd-header.is-scrolled::before { opacity: 0; }
.fd-header.is-scrolled .fd-header__inner { --fd-search-w: 40px; padding-top: 8px; padding-bottom: 8px; min-height: 72px; }
.fd-header.is-scrolled .fd-logo { width: 150px; }
.fd-header.is-scrolled .fd-nav--left { justify-self: end; margin-right: 48px; }
.fd-header.is-scrolled .fd-nav--right { justify-self: start; margin-left: 48px; margin-right: 0; }
.fd-header.is-scrolled .fd-nav__link, .fd-header.is-scrolled .fd-nav__link * { color: var(--fd-text) !important; }
.fd-header.is-scrolled .fd-nav__link:hover, .fd-header.is-scrolled .fd-nav__link:hover * { color: var(--fd-gold) !important; }
.fd-header.is-scrolled .fd-search__input { width: 40px; padding: 0 !important; opacity: 0; }
.fd-header.is-scrolled .fd-search__btn { right: 0; width: 40px; height: 40px; border: 1.5px solid var(--fd-text); color: var(--fd-text); }

/* Hop tim kiem noi bat */
.fd-search-panel {
  position: fixed; inset: 0; z-index: 1100; display: none;
  background: rgba(255,255,255,.45); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.fd-search-panel.is-open { display: block; animation: fdFade .2s ease; }
@keyframes fdFade { from { opacity: 0; } to { opacity: 1; } }
.fd-search-panel__box {
  position: absolute; top: 14px; right: 24px; width: min(440px, calc(100vw - 32px));
  max-height: calc(100vh - 28px); overflow: auto; background: #fff; border-radius: 14px;
  box-shadow: 0 24px 60px rgba(52,58,64,.18); padding: 14px 18px 18px;
}
.fd-search-panel__form { display: flex; align-items: center; gap: 6px; border-bottom: 1.5px solid var(--fd-text); padding-bottom: 8px; margin: 0 0 14px; }
.fd-search-panel__form input { flex: 1; border: 0 !important; height: 40px; font-size: 15px; padding: 0 4px !important; background: transparent !important; }
.fd-search-panel__form button { border: 0; background: none; width: 36px; height: 36px; color: var(--fd-text); cursor: pointer; font-size: 26px; line-height: 1; padding: 0; }
.fd-search-panel__title { text-align: center; text-transform: uppercase; letter-spacing: .1em; font-weight: 600; font-size: 13px; margin: 6px 0 12px; }
.fd-search-panel__title::after { content: ""; display: block; width: 28px; height: 2px; background: var(--fd-gold); margin: 6px auto 0; }
.fd-search-panel__products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 16px; }
.fd-sp-product { display: block; text-align: center; text-decoration: none !important; }
.fd-sp-product__img { display: block; aspect-ratio: 3/4; overflow: hidden; border-radius: 8px; background: var(--fd-bg-2); }
.fd-sp-product__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.fd-sp-product:hover img { transform: scale(1.04); }
.fd-sp-product__name { display: block; margin-top: 6px; font-size: 13px; line-height: 1.4; }
.fd-search-panel__news { display: flex; flex-direction: column; }
.fd-sp-news { display: flex; gap: 12px; padding: 10px 0; border-top: 1px solid var(--fd-line); text-decoration: none !important; }
.fd-sp-news__img { flex: 0 0 96px; aspect-ratio: 3/2; border-radius: 6px; overflow: hidden; background: var(--fd-bg-2); }
.fd-sp-news__img img { width: 100%; height: 100%; object-fit: cover; }
.fd-sp-news__name { display: block; font-size: 14px; font-weight: 600; line-height: 1.4; }
.fd-sp-news__short { display: block; font-size: 12.5px; line-height: 1.5; color: var(--fd-muted) !important; margin-top: 2px; }
.fd-sp-news:hover .fd-sp-news__name { color: var(--fd-gold) !important; }
html.fd-search-open { overflow: hidden; }

/* Menu mobile */
.fd-mobile-nav { display: none; }
@media (max-width: 991px) {
  :root { --fd-header-h: 64px; }
  .fd-header { background: rgba(251,251,251,.97); box-shadow: 0 4px 16px rgba(52,58,64,.08); }
  .fd-header::before { display: none; }
  .fd-header__inner, .fd-header.is-scrolled .fd-header__inner {
    grid-template-columns: 44px 1fr 44px; padding: 8px 12px; min-height: var(--fd-header-h);
  }
  .fd-header .fd-nav { display: none; }
  .fd-burger {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; grid-column: 1; grid-row: 1;
    width: 44px; height: 44px; border: 0; background: none; padding: 10px; cursor: pointer;
  }
  .fd-burger span { display: block; height: 2px; background: var(--fd-text); border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
  .fd-header.is-menu-open .fd-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .fd-header.is-menu-open .fd-burger span:nth-child(2) { opacity: 0; }
  .fd-header.is-menu-open .fd-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .fd-header .fd-logo, .fd-header.is-scrolled .fd-logo { grid-column: 2; justify-self: center; width: 132px; }
  .fd-header .fd-search { grid-column: 3; }
  .fd-header .fd-search__input { width: 40px; padding: 0 !important; opacity: 0; }
  .fd-header .fd-search__btn { right: 0; width: 40px; height: 40px; border: 1.5px solid var(--fd-text); }
  .fd-mobile-nav {
    display: block; position: absolute; top: 100%; left: 0; right: 0; background: #fff;
    max-height: 0; overflow: hidden; transition: max-height .3s ease; box-shadow: 0 16px 30px rgba(0,0,0,.08);
  }
  .fd-header.is-menu-open .fd-mobile-nav { max-height: calc(100vh - var(--fd-header-h)); overflow: auto; }
  .fd-mobile-nav ul { list-style: none; margin: 0; padding: 0; }
  .fd-mobile-nav > ul { padding: 6px 16px 16px; }
  .fd-mobile-nav li { position: relative; border-bottom: 1px solid var(--fd-line); }
  .fd-mobile-nav a { display: block; padding: 13px 44px 13px 0; font-size: 15px; font-weight: 500; text-transform: uppercase; letter-spacing: .06em; color: var(--fd-text) !important; text-decoration: none !important; }
  .fd-mobile-nav li li { border: 0; }
  .fd-mobile-nav li li a { text-transform: none; font-weight: 400; padding: 9px 0 9px 14px; }
  .fd-mobile-nav li > ul { display: none; padding-bottom: 8px; }
  .fd-mobile-nav li.is-open > ul { display: block; }
  .fd-mobile-nav__toggle { position: absolute; right: 0; top: 4px; width: 40px; height: 40px; border: 0; background: none; font-size: 20px; color: var(--fd-text); }
  .fd-mobile-nav li.is-open > .fd-mobile-nav__toggle { transform: rotate(180deg); }
  .fd-search-panel__box { top: 8px; right: 16px; left: 16px; width: auto; }
  body { padding-top: 0; }
}

/* =====================================================================
   BANNER DAU TRANG CON (anh nen toi -> giu chu trang)
   ===================================================================== */
.main-inner, .main-inner * { color: #fff !important; }
.main-inner { position: relative; }
.main-inner::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.25); pointer-events: none; }
.main-inner > * { position: relative; z-index: 1; }
.rev_slider, .rev_slider *, #common-home .slide-title, #common-home .slide-subtitle { color: #fff !important; }
.arrow-left, .arrow-right { filter: drop-shadow(0 1px 4px rgba(0,0,0,.6)); }

/* =====================================================================
   TRANG CHU
   ===================================================================== */
.fd-usp { background: var(--fd-bg-2) !important; padding: 34px 0 30px; border-bottom: 1px solid var(--fd-line); }
.fd-usp__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: center; }
.fd-usp__title { margin: 0 0 6px; font-size: 19px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.fd-usp__text { margin: 0 auto; max-width: 300px; font-size: 16px; line-height: 1.55; }
@media (max-width: 767px) {
  .fd-usp { padding: 24px 0; }
  .fd-usp__grid { grid-template-columns: 1fr; gap: 16px; }
  .fd-usp__title { font-size: 16px; }
  .fd-usp__text { font-size: 14.5px; }
}
.section { padding-top: 70px; padding-bottom: 70px; }
.projects .content_item h4, .projects .content_item h4 * { font-size: 15px !important; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; margin-top: 14px; }
.projects .content_item a { text-decoration: none !important; }
.projects .content_item img { border-radius: 6px; background: var(--fd-bg-2); }
.projects .content_item { margin-bottom: 30px; }
.about .service-item img { filter: none; }
/* 5000+: chu "khoet" lo nen vang dong tren nen kem */
.text-parallax { background: transparent !important; }
.text-parallax .text-parallax-content { background: transparent !important; mix-blend-mode: normal !important; color: var(--fd-gold-2) !important; font-weight: 800; letter-spacing: -.02em; }
.experience-info, .experience-info * { color: var(--fd-gold) !important; }

/* Khoi tin tuc + san pham dang slide */
.news_module .title-page .icon-title, .slider-product .title-page .icon-title { display: none; }
.item_wrap_blog .blog-inner { background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 4px 18px rgba(52,58,64,.06); height: 100%; }
.item_wrap_blog .banner { display: block; position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--fd-bg-2); }
.item_wrap_blog .banner img { width: 100% !important; height: 100% !important; object-fit: cover; }
.item_wrap_blog .time_post { position: absolute; left: 10px; bottom: 10px; background: rgba(255,255,255,.92); padding: 3px 10px; border-radius: 999px; font-size: 12px; }
.item_wrap_blog .content__ { padding: 14px 16px 18px; }
.item_wrap_blog .content__ h3, .item_wrap_blog .content__ h3 a { font-size: 16px !important; font-weight: 600; line-height: 1.45; letter-spacing: 0 !important; text-transform: none !important; text-decoration: none !important; }
.item_wrap_blog .content__ p { font-size: 14px; color: var(--fd-muted) !important; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.section_blogs .bg1 { display: none; }
.news_module .owl-carousel .owl-stage { display: flex; }
.news_module .owl-carousel .owl-item { display: flex; }
.news_module .owl-carousel .item { width: 100%; padding: 6px; }

/* =====================================================================
   THE SAN PHAM (danh muc, best seller, lien quan)
   ===================================================================== */
.product-grid .product-box .product-thumbnail, .product-box .product-thumbnail { background: var(--fd-bg-2) !important; }
.product-box .product-name a, .product-box h3 a { color: var(--fd-text) !important; text-decoration: none !important; font-weight: 600; }
.product-box .price, .product-box .product-price, .price.product-price { color: var(--fd-gold) !important; }

/* =====================================================================
   TRANG CHI TIET SAN PHAM
   ===================================================================== */
.details-product { padding-top: 24px; }
.fd-pd {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); column-gap: 48px;
  grid-template-areas: "media info" "detail info"; align-items: start; margin-bottom: 40px;
}
.fd-pd__media { grid-area: media; }
.fd-pd__info { grid-area: info; align-self: stretch; }
.fd-pd__detail { grid-area: detail; margin-top: 36px; }
.fd-pd__sticky { position: sticky; top: 96px; }
.fd-pd__gallery { display: flex; flex-direction: column; gap: 14px; }
.fd-pd__img { display: block; border-radius: 6px; overflow: hidden; background: var(--fd-bg-2); }
.fd-pd__img img { display: block; width: 100%; height: auto; }
.fd-pd__title { font-size: clamp(22px, 2.3vw, 30px) !important; font-weight: 700 !important; letter-spacing: .06em; text-transform: uppercase; margin: 0 0 12px; line-height: 1.3; }
.fd-pd__short { font-size: 16px; line-height: 1.7; text-align: justify; margin: 0 0 20px; }
.fd-pd__block { border-top: 1px solid #c9c2b6; padding: 18px 0 6px; }
.fd-pd__h { font-size: 17px !important; font-weight: 700 !important; text-transform: uppercase; letter-spacing: .03em; margin: 0 0 12px !important; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; text-align: left !important; }
.fd-pd__specs, .fd-pd__steps { list-style: none; margin: 0 0 8px; padding: 0; }
.fd-pd__specs li, .fd-pd__steps li { padding: 3px 0; font-size: 15.5px; }
.fd-pd__visit p { margin: 0 0 8px; font-size: 15.5px; }
.fd-pd__visit .fa { width: 20px; color: var(--fd-gold); }
.fd-pd__map-btn {
  display: inline-block; padding: 5px 14px; border-radius: 999px; background: #1f3a93; color: #fff !important;
  font-size: 13px; letter-spacing: .02em; text-transform: uppercase; text-decoration: underline !important;
}
.fd-pd__map-btn:hover { background: var(--fd-gold); color: #fff !important; }
.fd-pd__muted { color: var(--fd-muted) !important; font-size: 15px; }
.fd-pd__detail .rte, .fd-pd__detail .rte * { font-size: 16px; line-height: 1.75; }
.fd-pd__detail .rte ul { padding-left: 20px; }

/* Bang gia theo so luong */
.fd-price { border: 1.5px solid #1f3a93; border-radius: 12px; overflow: hidden; margin: 0 0 22px; background: #fff; }
.fd-price__head { background: #e8eefb; padding: 8px 14px; font-weight: 700; text-transform: uppercase; font-size: 14px; letter-spacing: .03em; }
.fd-price__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.fd-price__cell { padding: 10px 8px 12px; text-align: center; display: flex; flex-direction: column; gap: 6px; align-items: center; justify-content: space-between; }
.fd-price__cell + .fd-price__cell { border-left: 1px solid #d6dcea; }
.fd-price__qty { font-size: 13px; font-weight: 600; text-transform: uppercase; }
.fd-price__val { border: 1.5px solid var(--fd-text); border-radius: 8px; padding: 6px 10px; font-weight: 600; font-size: 17px; white-space: nowrap; }
.fd-price__cta {
  display: flex; flex-direction: column; align-items: center; width: 100%;
  background: #1a5fd0; border-radius: 8px; padding: 5px 6px; text-decoration: none !important; transition: background .2s ease;
}
.fd-price__cta small, .fd-price__cta strong { color: #fff !important; line-height: 1.25; }
.fd-price__cta small { font-size: 10.5px; text-transform: uppercase; font-weight: 600; letter-spacing: .03em; }
.fd-price__cta strong { font-size: 15px; white-space: nowrap; }
.fd-price__cta:hover { background: #12459c; }
.fd-price__val { color: var(--fd-text) !important; }
@media (max-width: 1199px) {
  .fd-price__grid { grid-template-columns: repeat(2, 1fr); }
  .fd-price__cell:nth-child(3) { border-left: 0; }
  .fd-price__cell:nth-child(n+3) { border-top: 1px solid #d6dcea; }
}
@media (max-width: 991px) {
  .fd-pd { grid-template-columns: 1fr; grid-template-areas: "media" "info" "detail"; }
  .fd-pd__sticky { position: static; }
  .fd-pd__info { margin-top: 24px; }
  .fd-pd__gallery { flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; padding-bottom: 6px; }
  .fd-pd__img { flex: 0 0 86%; scroll-snap-align: start; }
}
/* An: ton kho, danh gia, form tu van (de phong module con hien) */
.inventory_quantity, .product-tab, .sapo-product-reviews, .product-reviews-form, #product-comment-form, .comment_form,
#product .contacts { display: none !important; }
.related-product h2 { margin-top: 20px !important; }

/* =====================================================================
   CAM NANG CUOI (danh sach) - 3 bai / hang
   ===================================================================== */
.blog-list { padding: 50px 0 20px; }
.fd-news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 28px; }
.fd-news-card { background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 4px 18px rgba(52,58,64,.06); display: flex; flex-direction: column; }
.fd-news-card__img { display: block; aspect-ratio: 6/5; overflow: hidden; background: var(--fd-bg-2); }
.fd-news-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.fd-news-card:hover .fd-news-card__img img { transform: scale(1.04); }
.fd-news-card__body { padding: 16px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.fd-news-card__title { font-size: 17px !important; font-weight: 600 !important; line-height: 1.45; margin: 0 0 6px !important; text-align: center; }
.fd-news-card__title a { text-decoration: none !important; }
.fd-news-card__date { font-size: 13px; color: var(--fd-muted) !important; text-align: center; margin-bottom: 8px; }
.fd-news-card__short { font-size: 14.5px; color: var(--fd-muted) !important; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin: 0 0 12px; }
.fd-news-card__more { margin-top: auto; align-self: center; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--fd-gold) !important; text-decoration: none !important; }
@media (max-width: 991px) { .fd-news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; } }
@media (max-width: 575px) { .fd-news-grid { grid-template-columns: 1fr; } }

/* =====================================================================
   BAI VIET: sidebar co dinh, bang, footer bai viet
   ===================================================================== */
.blog-details { padding: 50px 0; }
@media (min-width: 992px) {
  .blog-details .container > .row { display: flex; align-items: flex-start; }
  .blog-details .col-secondary { position: sticky; top: 96px; align-self: flex-start; }
  .blog-details .col-secondary .fd-sticky-sidebar { max-height: calc(100vh - 116px); overflow: auto; padding-right: 4px; }
}
article.post, article.post p, article.post li, article.post td, article.post th { color: var(--fd-text) !important; }
article.post strong, article.post b { color: var(--fd-text) !important; }
.post-header h3 { font-size: clamp(24px, 2.6vw, 32px) !important; font-weight: 700 !important; letter-spacing: .02em; }
.widget_recent_post .widget-title { font-size: 18px !important; font-weight: 700 !important; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 18px; }
.widget_recent_post .recent-post { display: flex; gap: 14px; margin-bottom: 16px; }
.widget_recent_post .recent-post-thumbnail { flex: 0 0 120px; }
.widget_recent_post .recent-post-thumbnail img { width: 100%; height: auto; border-radius: 6px; }
.widget_recent_post .recent-post-title { font-size: 15px !important; line-height: 1.45; margin: 0 0 4px; }
.widget_recent_post .recent-post-title a { text-decoration: none !important; }
.widget_recent_post .recent-post-time { font-size: 13px; color: var(--fd-muted) !important; }

/* Bang trong bai viet - giong web cu */
article.post table, .rte table { width: 100%; border-collapse: collapse; margin: 22px 0; background: #fff; }
article.post th, article.post td, .rte th, .rte td { border: 1px solid #2f2f2f !important; padding: 9px 12px !important; vertical-align: top; }
article.post td, .rte td { color: #6b6b6b !important; }
article.post thead th, article.post thead td, article.post tr:first-child th, article.post table:not(:has(thead)) tr:first-child td,
.rte thead th, .rte thead td, .rte tr:first-child th, .rte table:not(:has(thead)) tr:first-child td {
  background: #fdf3e2 !important; color: #111 !important; font-weight: 700 !important; text-transform: uppercase;
}
article.post thead th *, article.post tr:first-child th *, article.post table:not(:has(thead)) tr:first-child td * { color: #111 !important; font-weight: 700 !important; }

/* Footer bai viet */
.fd-post-footer { display: flex; align-items: center; gap: 28px; margin: 36px 0 10px; padding-top: 28px; border-top: 1px solid #c9c2b6; }
.fd-post-footer__logo { flex: 0 0 auto; width: 180px; height: auto; }
.fd-post-footer__info { font-size: 16px; line-height: 1.75; }
.fd-post-footer__info strong { font-size: 17px; }
@media (max-width: 575px) { .fd-post-footer { flex-direction: column; align-items: flex-start; gap: 14px; } .fd-post-footer__logo { width: 150px; } }

/* =====================================================================
   GIOI THIEU
   ===================================================================== */
.fd-about .fd-section p, .fd-about .fd-section span, .fd-about > .row p, .fd-about > .row span { font-size: 17.5px !important; line-height: 1.8 !important; }
.fd-about .fd-section h1 { font-size: clamp(26px, 3vw, 38px) !important; letter-spacing: .08em; }
.fd-about .fd-section h2 { font-size: clamp(22px, 2.4vw, 30px) !important; }
.fd-about > .row h3, .fd-about > .row h4 { text-align: left !important; }
.fd-about > .row p { text-align: left !important; }
.fd-about > .row h4, .fd-about > .row h4 * { font-size: 16px !important; letter-spacing: .04em !important; line-height: 1.6 !important; }
.fd-about > hr { border-color: var(--fd-line); }

.fd-contact { padding: 60px 0 30px; }
.fd-contact__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 0; border-radius: 12px; overflow: hidden; box-shadow: 0 6px 24px rgba(52,58,64,.08); }
.fd-contact__map { position: relative; display: block; min-height: 380px; background: var(--fd-bg-2); }
.fd-contact__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; pointer-events: none; }
.fd-contact__map-cta { position: absolute; left: 16px; top: 16px; background: #fff; color: var(--fd-link) !important; padding: 7px 14px; border-radius: 6px; font-size: 14px; font-weight: 600; box-shadow: 0 2px 8px rgba(0,0,0,.15); }
.fd-contact__map:hover .fd-contact__map-cta { color: var(--fd-gold) !important; }
.fd-contact__info { background: var(--fd-bg-3); padding: 40px 36px; display: flex; flex-direction: column; justify-content: center; gap: 26px; }
.fd-contact__row { display: flex; gap: 16px; align-items: flex-start; }
.fd-contact__row .fa { font-size: 22px; width: 26px; color: var(--fd-gold) !important; margin-top: 4px; }
.fd-contact__row h3 { margin: 0 0 4px; font-size: 14px !important; text-transform: uppercase; letter-spacing: .14em; font-weight: 700; }
.fd-contact__row p { margin: 0; font-size: 17px; }
@media (max-width: 767px) {
  .fd-contact__grid { grid-template-columns: 1fr; }
  .fd-contact__map { min-height: 280px; }
  .fd-contact__info { padding: 28px 22px; }
}

/* Danh gia Google */
.fd-reviews { padding: 40px 0 70px; }
.fd-reviews__lead { text-align: center; margin: -18px 0 30px; font-size: 16px; }
.fd-stars { color: #f5b400 !important; letter-spacing: 2px; font-size: 17px; }
.fd-reviews__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.fd-review { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 18px rgba(52,58,64,.07); display: flex; flex-direction: column; }
.fd-review__img { aspect-ratio: 4/3; overflow: hidden; background: var(--fd-bg-2); }
.fd-review__img img { width: 100%; height: 100%; object-fit: cover; }
.fd-review__body { padding: 16px 18px 20px; }
.fd-review__head { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.fd-review__head > span:nth-child(2) { flex: 1; min-width: 0; }
.fd-review__avatar { flex: 0 0 38px; height: 38px; border-radius: 50%; background: var(--fd-gold-2); color: #fff !important; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; }
.fd-review__name { display: block; font-size: 15px; line-height: 1.3; }
.fd-review__meta { display: block; font-size: 12.5px; color: var(--fd-muted) !important; }
.fd-review__text { margin: 6px 0 0; font-size: 14.5px; line-height: 1.65; }
.fd-reviews__more { text-align: center; margin-top: 30px; }
@media (max-width: 1199px) { .fd-reviews__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575px) { .fd-reviews__grid { grid-template-columns: 1fr; } }

/* =====================================================================
   FORM "LIEN HE TU VAN" (newsletter) tren nen sang
   ===================================================================== */
.contacts .section-title, .contacts h2 { color: var(--fd-text) !important; }
.contacts .form-control, .contacts input, .contacts textarea { border-radius: 10px !important; }

/* =====================================================================
   LIEN HE NHANH BEN PHAI
   ===================================================================== */
.fd-quick { position: fixed; right: 18px; bottom: 96px; z-index: 990; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.fd-quick__items { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; transition: opacity .25s ease, transform .25s ease; }
.fd-quick.is-collapsed .fd-quick__items { opacity: 0; transform: translateY(16px); pointer-events: none; }
.fd-quick__item { position: relative; display: block; text-decoration: none !important; }
.fd-quick__icon {
  width: 50px; height: 50px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  color: #fff !important; box-shadow: 0 6px 16px rgba(0,0,0,.18); transition: transform .2s ease;
}
.fd-quick__item:hover .fd-quick__icon { transform: scale(1.07); }
.fd-quick__item--zalo .fd-quick__icon { background: #0068ff; }
.fd-quick__item--messenger .fd-quick__icon { background: linear-gradient(135deg, #00b2ff, #8a3ffc 60%, #ff5c87); }
.fd-quick__item--map .fd-quick__icon { background: #1aa260; }
.fd-quick__icon svg, .fd-quick__icon text { fill: currentColor; color: #fff; }
.fd-quick__note {
  position: absolute; right: 62px; top: 50%; transform: translate(8px, -50%); opacity: 0; pointer-events: none;
  width: max-content; max-width: 240px; padding: 9px 14px; border-radius: 12px;
  background: #fff; color: var(--fd-text) !important; font-size: 13.5px; line-height: 1.45; text-align: center;
  box-shadow: 0 8px 22px rgba(52,58,64,.18); transition: opacity .2s ease, transform .2s ease;
}
.fd-quick__note::after { content: ""; position: absolute; right: -6px; top: 50%; transform: translateY(-50%) rotate(45deg); width: 12px; height: 12px; background: #fff; }
.fd-quick__item.is-armed .fd-quick__note, .fd-quick__item:hover .fd-quick__note { opacity: 1; transform: translate(0, -50%); }
.fd-quick__item.is-armed .fd-quick__icon { box-shadow: 0 0 0 4px rgba(161,131,60,.35), 0 6px 16px rgba(0,0,0,.18); }
.fd-quick__toggle {
  width: 44px; height: 44px; margin-right: 3px; border: 0; border-radius: 50%; background: #f26b3a; color: #fff;
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 6px 16px rgba(0,0,0,.18); padding: 0;
}
.fd-quick__toggle .fd-quick__chat { display: none; }
.fd-quick.is-collapsed .fd-quick__toggle { background: var(--fd-gold); }
.fd-quick.is-collapsed .fd-quick__x { display: none; }
.fd-quick.is-collapsed .fd-quick__chat { display: block; }
@media (max-width: 767px) {
  .fd-quick { right: 12px; bottom: 84px; gap: 10px; }
  .fd-quick__items { gap: 10px; }
  .fd-quick__icon { width: 44px; height: 44px; }
  .fd-quick__note { right: 54px; max-width: 200px; font-size: 12.5px; }
}
.grecaptcha-badge { visibility: hidden; }

/* =====================================================================
   FOOTER
   ===================================================================== */
footer#footer.footer-custom { background: var(--fd-bg-2) !important; color: var(--fd-text) !important; border-top: 1px solid var(--fd-line); }
footer#footer.footer-custom * { color: var(--fd-text) !important; }
footer#footer.footer-custom .footer-title-wrap::before, footer#footer.footer-custom .footer-title-wrap::after { border-bottom-color: #cfc6b6; }
footer#footer.footer-custom .footer-content i.fa { color: var(--fd-gold) !important; }
footer#footer.footer-custom a:hover, footer#footer.footer-custom a:hover * { color: var(--fd-gold) !important; }
footer#footer.footer-custom .footer-social-icons a { background: #fff; box-shadow: 0 2px 8px rgba(52,58,64,.08); }
footer#footer.footer-custom .footer-social-icons a i.fa, footer#footer.footer-custom .footer-social-icons a svg { color: var(--fd-text) !important; }
footer#footer.footer-custom .footer-social-icons a:hover { background: var(--fd-gold); }
footer#footer.footer-custom .footer-social-icons a:hover i.fa, footer#footer.footer-custom .footer-social-icons a:hover svg { color: #fff !important; }
footer#footer.footer-custom .footer-bottom-bar { background: var(--fd-bg-3); border-top-color: var(--fd-line); }
footer#footer.footer-custom .footer-thanks span { color: #ff3366 !important; }
footer#footer.footer-custom .footer-map-wrap iframe { box-shadow: 0 4px 12px rgba(0,0,0,.08); }

/* =====================================================================
   MOBILE CHUNG
   ===================================================================== */
@media (max-width: 767px) {
  body { font-size: 15px; }
  .section { padding-top: 46px; padding-bottom: 46px; }
  .container { padding-left: 16px; padding-right: 16px; }
  .fd-about .fd-section p, .fd-about .fd-section span { font-size: 16px !important; }
  .fd-section h1 { font-size: 26px !important; }
  img { max-width: 100%; height: auto; }
  .rte, article.post { overflow-wrap: anywhere; }
  #common-home { margin-top: var(--fd-header-h) !important; }
}

/* =====================================================================
   DAI TRUOT NGANG (thay owl-carousel chua khoi tao): Best seller, Blog trang chu, SP lien quan
   ===================================================================== */
.slider-product .owl-carousel, .news_module .owl-carousel {
  display: grid !important; grid-auto-flow: column; gap: 20px;
  grid-auto-columns: calc((100% - 60px) / 4);
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  padding: 4px 2px 14px; scrollbar-width: thin; scrollbar-color: var(--fd-gold-2) transparent;
}
.slider-product .owl-carousel > .item, .news_module .owl-carousel > .item { scroll-snap-align: start; min-width: 0; padding: 0; }
.slider-product .owl-carousel::-webkit-scrollbar, .news_module .owl-carousel::-webkit-scrollbar { height: 6px; }
.slider-product .owl-carousel::-webkit-scrollbar-thumb, .news_module .owl-carousel::-webkit-scrollbar-thumb { background: var(--fd-gold-2); border-radius: 3px; }
@media (max-width: 991px) {
  .slider-product .owl-carousel, .news_module .owl-carousel { grid-auto-columns: calc((100% - 20px) / 2.3); gap: 14px; }
}
@media (max-width: 575px) {
  .slider-product .owl-carousel { grid-auto-columns: 46%; }
  .news_module .owl-carousel { grid-auto-columns: 82%; }
}

/* Trang san pham: khung rong hon de bang gia du 4 o */
section.product > .container.container-full { width: 100%; max-width: 1240px; padding-left: 20px; padding-right: 20px; }
.fd-pd__detail .rte ul { list-style: disc; padding-left: 22px; }
.fd-pd__detail .rte ul li { list-style: disc; padding-left: 2px; margin-bottom: 4px; }
.fd-price__cta strong { font-size: 14px; }
@media (min-width: 1200px) and (max-width: 1299px) { .fd-price__cta strong { font-size: 13px; } }
/* Trang tim kiem */
.main-inner + .content, .main-inner + * .search-result-title { margin-top: 0; }

/* .layout overflow:hidden chan position:sticky -> dung clip (van chan tran ngang) */
.layout { overflow: visible !important; overflow-x: clip !important; }
/* Footer: dong cam on */
footer#footer.footer-custom .footer-thanks, footer#footer.footer-custom .footer-thanks * { color: var(--fd-gold) !important; }
.widget_recent_post .recent-post-thumbnail { float: none !important; }
.widget_recent_post .recent-post-thumbnail a { display: block; aspect-ratio: 3/2; border-radius: 6px; overflow: hidden; background: var(--fd-bg-2); }
.widget_recent_post .recent-post-thumbnail img { height: 100%; object-fit: cover; }
.widget_recent_post .recent-post-body { padding-left: 0 !important; margin: 0 !important; flex: 1; min-width: 0; }

/* Dai slide: nut mui ten + keo chuot */
.fd-strip { position: relative; }
.fd-strip .owl-carousel { cursor: grab; user-select: none; }
.fd-strip .owl-carousel.is-dragging { cursor: grabbing; scroll-snap-type: none !important; scroll-behavior: auto; }
.fd-strip .owl-carousel.is-dragging a { pointer-events: none; }
.fd-strip__nav {
  position: absolute; top: 40%; transform: translateY(-50%); z-index: 3;
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--fd-line); background: #fff; color: var(--fd-text);
  display: inline-flex; align-items: center; justify-content: center; font-size: 22px; padding: 0; cursor: pointer;
  box-shadow: 0 4px 14px rgba(52,58,64,.12); transition: opacity .2s ease, background .2s ease;
}
.fd-strip__nav:hover { background: var(--fd-gold); color: #fff; border-color: var(--fd-gold); }
.fd-strip__nav--prev { left: -21px; }
.fd-strip__nav--next { right: -21px; }
.fd-strip__nav:disabled { opacity: 0; pointer-events: none; }
.fd-strip.is-static .fd-strip__nav { display: none; }
@media (max-width: 767px) { .fd-strip__nav { display: none; } }

/* Goi y tim kiem (autocomplete cua Zozo) trong hop tim kiem */
.fd-search__form ul.dropdown-menu { display: none !important; }
.fd-search-panel__form { position: relative; }
.fd-search-panel__form ul.dropdown-menu {
  position: absolute; top: calc(100% + 1px) !important; left: 0 !important; right: 0; width: 100%; min-width: 0;
  margin: 0; padding: 4px 0; list-style: none; z-index: 20; float: none;
  background: #fff; border: 0; border-radius: 0 0 10px 10px; box-shadow: 0 16px 30px rgba(52,58,64,.16);
  max-height: min(60vh, 460px); overflow-y: auto;
}
.fd-search-panel__form ul.dropdown-menu > li { border: 0; padding: 0; }
.fd-search-panel__form ul.dropdown-menu > li > a {
  display: block; padding: 7px 10px; font-size: 14px; line-height: 1.4; white-space: normal;
  color: var(--fd-text) !important; text-decoration: none !important; border-radius: 6px;
}
.fd-search-panel__form ul.dropdown-menu > li > a:hover { background: var(--fd-bg-2); color: var(--fd-gold) !important; }
.fd-search-panel__form ul.dropdown-menu .autocomplete-title > a {
  padding: 8px 10px 4px; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--fd-muted) !important; background: none !important; cursor: default;
}
.fd-search-panel__form ul.dropdown-menu a[data-target="category"] { padding-left: 18px; }
.fd-search-panel__form ul.dropdown-menu a[data-target="product"] .row { display: flex; align-items: center; gap: 12px; margin: 0; }
.fd-search-panel__form ul.dropdown-menu a[data-target="product"] .row > div { float: none; width: auto; padding: 0; min-width: 0; }
.fd-search-panel__form ul.dropdown-menu a[data-target="product"] .row > div:first-child { flex: 0 0 52px; }
.fd-search-panel__form ul.dropdown-menu a[data-target="product"] .row > div:last-child { flex: 1; }
.fd-search-panel__form ul.dropdown-menu a[data-target="product"] img {
  display: block; width: 52px !important; height: 66px !important; max-width: none; object-fit: cover; border-radius: 5px; background: var(--fd-bg-2);
}
.fd-search-panel__form ul.dropdown-menu span[data-target="product"] { font-size: 14px; font-weight: 600; line-height: 1.4; }
.fd-search-panel__form ul.dropdown-menu .price, .fd-search-panel__form ul.dropdown-menu .special { display: block; font-size: 12.5px; color: var(--fd-gold) !important; margin-top: 2px; }
.fd-search-panel__form .view-more-search {
  display: block; margin: 6px 10px 6px; padding: 9px; border-radius: 999px; text-align: center; cursor: pointer;
  background: var(--fd-gold); color: #fff !important; font-size: 13px; font-weight: 600; letter-spacing: .04em;
}
.fd-search-panel__form .view-more-search:hover { background: #8a6f30; }

/* Trang SP: khoi Quy trinh dat hang / Xem mau (noi dung tu Admin > Thong tin) */
.fd-pd__cms h2, .fd-pd__cms h3 {
  font-size: 17px !important; font-weight: 700 !important; text-transform: uppercase; letter-spacing: .03em;
  margin: 0 0 12px !important; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; text-align: left !important;
}
.fd-pd__cms h2:not(:first-child), .fd-pd__cms h3:not(:first-child), .fd-pd__cms hr { border-top: 1px solid #c9c2b6; padding-top: 18px; margin-top: 14px !important; }
.fd-pd__cms hr { border: 0; border-top: 1px solid #c9c2b6; padding: 0; }
.fd-pd__cms p, .fd-pd__cms li { margin: 0 0 6px; font-size: 15.5px; line-height: 1.6; text-align: left !important; }
.fd-pd__cms ul, .fd-pd__cms ol { padding-left: 20px; margin: 0 0 10px; }
.fd-pd__cms h2 a, .fd-pd__cms h3 a {
  display: inline-block; padding: 5px 14px; border-radius: 999px; background: #1f3a93; color: #fff !important;
  font-size: 13px; letter-spacing: .02em; text-transform: uppercase; text-decoration: underline !important;
}
.fd-pd__cms h2 a:hover, .fd-pd__cms h3 a:hover { background: var(--fd-gold); color: #fff !important; }
.fd-pd__cms p a { color: var(--fd-link) !important; text-decoration: underline !important; }
