/* Phú Đông Skylake Site Manager 1.0.0 */
:root {
  --pds-navy: #0b2a4a;
  --pds-navy-deep: #071b31;
  --pds-copper: #c9834f;
  --pds-cream: #f6f0e9;
  --pds-header: 82px;
}

/* Ẩn header/footer cũ của Flatsome trên trang con; trang chủ V1 có giao diện riêng. */
body:not(.home) #header,
body:not(.home) .header-wrapper,
body:not(.home) #footer,
body:not(.home) .footer-wrapper {
  display: none !important;
}

/* Loại bỏ toàn bộ cụm Vinhomes/footer/form/popup/liên hệ cũ. Không đụng class skylake-* mới. */
.sticky-popup,
.sticky-popup-overlay,
.sticky-popup-container,
#button-contact-vr,
.button-contact-vr,
.hotline-phone-ring-wrap,
.hotline-phone-ring,
.hotline-bar,
.quick-alo-phone,
.phonering-alo-phone,
.phone-vr-circle-fill,
.phone-vr-img-circle,
.zalo-container,
.zalo-chat-widget,
.zalo-chat-widget-container,
.call-now-button,
#callnowbutton,
.floating-contact,
.float-contact,
.contact-fixed,
.hotline-fixed,
.zalo-fixed,
.fixed-contact,
.cta-fixed,
body:not(.home) .footer-1,
body:not(.home) .footer-2,
body:not(.home) .absolute-footer {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Dự phòng: dòng placeholder menu của Flatsome không còn xuất hiện. */
#header .nav > li.html,
#header .header-nav-main > li.html {
  display: none !important;
}

/* Tắt khu bình luận trên website dự án. */
#comments,
.comments-area,
.comment-respond,
.comments-holder,
.comments-wrapper {
  display: none !important;
}

.pds-global-shell {
  width: min(calc(100% - 48px), 1240px);
  margin-inline: auto;
}

.pds-global-header,
.pds-global-header * ,
.pds-global-mobile-menu,
.pds-global-mobile-menu *,
.pds-global-footer,
.pds-global-footer *,
.pds-global-mobile-bar,
.pds-global-mobile-bar * {
  box-sizing: border-box;
}

.pds-global-header {
  position: sticky;
  top: 0;
  z-index: 100020;
  width: 100%;
  min-height: var(--pds-header);
  background: rgba(255,255,255,.98);
  border-bottom: 1px solid rgba(11,42,74,.1);
  box-shadow: 0 10px 30px rgba(4,24,43,.07);
  backdrop-filter: blur(12px);
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
}

body.admin-bar .pds-global-header {
  top: 32px;
}

.pds-global-header__inner {
  min-height: var(--pds-header);
  display: grid;
  grid-template-columns: 210px 1fr 150px;
  align-items: center;
  gap: 24px;
}

.pds-global-brand {
  display: inline-flex;
  width: fit-content;
  flex-direction: column;
  color: var(--pds-navy) !important;
  line-height: 1;
  text-decoration: none !important;
}

.pds-global-brand span {
  margin-bottom: 7px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .28em;
}

.pds-global-brand strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: .025em;
}

.pds-global-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 1.55vw, 28px);
}

.pds-global-nav a {
  color: var(--pds-navy) !important;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .065em;
  text-transform: uppercase;
  text-decoration: none !important;
  white-space: nowrap;
}

.pds-global-nav a:hover,
.pds-global-nav a:focus-visible {
  color: var(--pds-copper) !important;
}

.pds-global-header__cta,
.pds-global-mobile-primary,
.pds-global-footer__cta {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 999px;
  color: #fff !important;
  background: var(--pds-copper);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .055em;
  text-transform: uppercase;
  text-decoration: none !important;
}

.pds-global-menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  margin-left: auto;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid rgba(11,42,74,.2);
  border-radius: 999px;
  background: #fff;
  box-shadow: none;
  cursor: pointer;
}

.pds-global-menu-toggle span {
  width: 19px;
  height: 2px;
  background: var(--pds-navy);
}

.pds-global-mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 100030;
  display: flex;
  justify-content: flex-end;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  background: rgba(3,18,32,.58);
  transition: opacity .24s ease, visibility .24s ease;
}

.pds-global-mobile-menu.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.pds-global-mobile-menu__panel {
  width: min(88vw, 420px);
  height: 100%;
  padding: 78px 28px 34px;
  overflow-y: auto;
  background: var(--pds-navy-deep);
  color: #fff;
  transform: translateX(100%);
  transition: transform .26s ease;
}

.pds-global-mobile-menu.is-open .pds-global-mobile-menu__panel {
  transform: translateX(0);
}

.pds-global-mobile-close {
  position: absolute;
  top: 18px;
  right: 20px;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 999px;
  color: #fff;
  background: transparent;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.pds-global-brand--mobile {
  margin-bottom: 26px;
  color: #fff !important;
}

.pds-global-mobile-menu nav {
  display: grid;
  border-top: 1px solid rgba(255,255,255,.13);
}

.pds-global-mobile-menu nav a {
  padding: 15px 0;
  border-bottom: 1px solid rgba(255,255,255,.13);
  color: #fff !important;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none !important;
}

.pds-global-mobile-primary {
  width: 100%;
  margin-top: 22px;
}

.pds-global-mobile-contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}

.pds-global-mobile-contact a {
  padding: 12px 8px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 10px;
  color: #fff !important;
  font-size: 12px;
  text-align: center;
  text-decoration: none !important;
}

/* Bài viết: đọc dễ hơn và không quá rộng. */
body.single-post .article-inner,
body.single-post .entry-content,
body.page:not(.home) .page-inner {
  max-width: 1040px;
  margin-inline: auto;
}

body.single-post .entry-content {
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  font-size: 17px;
  line-height: 1.78;
}

body.single-post .entry-content h2,
body.single-post .entry-content h3 {
  color: var(--pds-navy);
  line-height: 1.2;
}

body.single-post .entry-content p {
  margin-bottom: 1.15em;
}

body.single-post .entry-content img {
  border-radius: 16px;
}

.pds-global-footer {
  width: 100%;
  color: rgba(255,255,255,.75);
  background: var(--pds-navy-deep);
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
}

.pds-global-footer__grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 52px;
  padding: 72px 0 52px;
}

.pds-global-brand--footer {
  color: #fff !important;
}

.pds-global-footer h3 {
  margin: 0 0 18px;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.pds-global-footer p {
  max-width: 430px;
  margin: 18px 0 0;
  color: rgba(255,255,255,.64);
  font-size: 14px;
  line-height: 1.75;
}

.pds-global-footer nav,
.pds-global-footer__contact {
  display: grid;
  gap: 12px;
}

.pds-global-footer a {
  color: rgba(255,255,255,.8) !important;
  text-decoration: none !important;
}

.pds-global-footer a:hover {
  color: #f2b07e !important;
}

.pds-global-footer__cta {
  width: fit-content;
  margin-top: 20px;
}

.pds-global-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0 28px;
  border-top: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.5);
  font-size: 12px;
}

.pds-global-desktop-contact {
  position: fixed;
  left: 18px;
  bottom: 22px;
  z-index: 100015;
  display: grid;
  gap: 10px;
}

.pds-global-desktop-contact a {
  width: 48px;
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 10px;
  overflow: hidden;
  padding: 0 15px;
  border-radius: 999px;
  color: #fff !important;
  background: var(--pds-copper);
  box-shadow: 0 10px 28px rgba(4,24,43,.2);
  text-decoration: none !important;
  transition: width .22s ease;
}

.pds-global-desktop-contact a:nth-child(2) {
  background: var(--pds-navy);
}

.pds-global-desktop-contact a:hover {
  width: 126px;
}

.pds-global-desktop-contact b {
  min-width: 18px;
  text-align: center;
}

.pds-global-desktop-contact span {
  white-space: nowrap;
  font-size: 12px;
  font-weight: 700;
}

.pds-global-backtop {
  position: fixed;
  right: 18px;
  bottom: 22px;
  z-index: 100016;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(11,42,74,.16);
  border-radius: 999px;
  color: var(--pds-navy);
  background: #fff;
  box-shadow: 0 10px 28px rgba(4,24,43,.16);
  font-size: 25px;
  cursor: pointer;
}

.pds-global-mobile-bar {
  display: none;
}

body.pds-menu-open {
  overflow: hidden;
}

@media (max-width: 1080px) {
  .pds-global-header__inner {
    grid-template-columns: 180px 1fr 132px;
    gap: 16px;
  }

  .pds-global-nav {
    gap: 13px;
  }

  .pds-global-nav a {
    font-size: 10px;
  }
}

@media (max-width: 849px) {
  :root { --pds-header: 74px; }

  body.admin-bar .pds-global-header {
    top: 46px;
  }

  .pds-global-shell {
    width: min(calc(100% - 34px), 1240px);
  }

  .pds-global-header__inner {
    grid-template-columns: 1fr auto;
  }

  .pds-global-brand strong {
    font-size: 28px;
  }

  .pds-global-nav,
  .pds-global-header__cta {
    display: none;
  }

  .pds-global-menu-toggle {
    display: inline-flex;
  }

  .pds-global-footer__grid {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 56px 0 38px;
  }

  .pds-global-footer__bottom {
    flex-direction: column;
    padding-bottom: calc(98px + env(safe-area-inset-bottom));
  }

  .pds-global-desktop-contact {
    display: none;
  }

  .pds-global-backtop {
    right: 14px;
    bottom: calc(78px + env(safe-area-inset-bottom));
    width: 48px;
    height: 48px;
  }

  .pds-global-mobile-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100018;
    display: flex !important;
    min-height: calc(62px + env(safe-area-inset-bottom));
    padding-bottom: env(safe-area-inset-bottom);
    background: #fff;
    box-shadow: 0 -8px 26px rgba(4,24,43,.15);
  }

  .pds-global-mobile-bar br {
    display: none !important;
  }

  .pds-global-mobile-bar a {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    background: var(--pds-navy);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .045em;
    text-transform: uppercase;
    text-decoration: none !important;
    white-space: nowrap;
  }

  .pds-global-mobile-bar a:nth-of-type(1) { flex: 0 0 28%; }
  .pds-global-mobile-bar a:nth-of-type(2) { flex: 0 0 24%; background: #176fbd; }
  .pds-global-mobile-bar a:nth-of-type(3) { flex: 1 1 48%; background: var(--pds-copper); }

  body:not(.home) {
    padding-bottom: calc(62px + env(safe-area-inset-bottom));
  }

  body.single-post .article-inner,
  body.single-post .entry-content,
  body.page:not(.home) .page-inner {
    padding-inline: 18px;
  }
}

@media (max-width: 360px) {
  .pds-global-mobile-bar a {
    font-size: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pds-global-mobile-menu,
  .pds-global-mobile-menu__panel,
  .pds-global-desktop-contact a {
    transition: none !important;
  }
}
