/* =========================================================
   MP COSMETICS — GLOBAL MULTI-PAGE AURELIA SHELL & SUBPAGE COHESION (v2.0.0)
   Strictly scoped (.mp-shell-*, .mp-nav-*, .mp-drawer*, .mp-footer-*, .mp-modal-*)
   so zero class collisions happen with Flatsome, WooCommerce or UX Builder.
   ========================================================= */

:root {
  --mp-cream: #faf7f2;
  --mp-cream-2: #f3ede3;
  --mp-surface: #ffffff;
  --mp-dark-1: #141311;
  --mp-dark-2: #1c1a17;
  --mp-dark-3: #26231f;
  --mp-gold: #c6a25e;
  --mp-gold-light: #dfbe7f;
  --mp-gold-deep: #9c7b3b;
  --mp-ink: #191714;
  --mp-muted: #615b52;
  --mp-light: #f6f2eb;
  --mp-light-muted: rgba(246, 242, 235, 0.76);
  --mp-border: rgba(25, 23, 20, 0.09);
  --mp-border-dark: rgba(255, 255, 255, 0.11);
  --mp-serif: "MPNewsreader", Georgia, "Times New Roman", serif;
  --mp-sans: "MPBeVietnam", system-ui, -apple-system, sans-serif;
  --mp-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --mp-header-h: 76px;
}

/* =========================================================
   1. SHARED HEADER & WORDPRESS MULTI-PAGE NAVIGATION
   ========================================================= */
.mp-shell-header,
.mp-shell-header *,
.mp-drawer,
.mp-drawer *,
.mp-shell-footer,
.mp-shell-footer *,
.mp-modal-backdrop,
.mp-modal-backdrop *,
.mp-right-fabs,
.mp-right-fabs *,
.mp-mobile-bottom-bar,
.mp-mobile-bottom-bar *,
.mp-toast {
  box-sizing: border-box;
  font-family: var(--mp-sans);
  text-rendering: auto;
}

.mp-shell-container {
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto;
}

.mp-shell-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9990;
  height: var(--mp-header-h);
  background: rgba(250, 247, 242, 0.92);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--mp-border);
  transition: background 0.25s var(--mp-ease), box-shadow 0.25s var(--mp-ease), border-color 0.25s var(--mp-ease);
}

.mp-shell-header.is-scrolled {
  background: rgba(250, 247, 242, 0.97);
  border-bottom-color: rgba(198, 162, 94, 0.28);
  box-shadow: 0 10px 30px rgba(20, 19, 17, 0.08);
}

body.admin-bar .mp-shell-header {
  top: 32px;
}

@media (max-width: 782px) {
  body.admin-bar .mp-shell-header {
    top: 46px;
  }
}

.mp-shell-header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* Brand */
.mp-shell-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none !important;
  flex-shrink: 0;
  color: var(--mp-dark-1) !important;
}

.mp-shell-logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 50%;
  flex-shrink: 0;
  background: #ffffff;
  padding: 2px;
  border: 1px solid rgba(198, 162, 94, 0.45);
  display: block;
}

.mp-shell-logo-img--sm {
  width: 38px;
  height: 38px;
}

.mp-shell-logo-footer {
  background: rgba(255, 255, 255, 0.96);
}

body .mp-shell-brand .mp-shell-monogram {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--mp-dark-1);
  color: var(--mp-gold-light);
  font-family: var(--mp-serif) !important;
  font-size: 19px;
  font-weight: 700 !important;
  border: 1.5px solid rgba(198, 162, 94, 0.55);
  flex-shrink: 0;
}

.mp-shell-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.12;
}

body .mp-shell-brand .mp-shell-brand-name {
  font-family: var(--mp-serif) !important;
  font-size: 16px;
  font-weight: 700 !important;
  letter-spacing: 0.06em;
  white-space: nowrap;
  color: var(--mp-dark-1) !important;
}

body .mp-shell-brand .mp-shell-brand-sub {
  font-size: 8.5px;
  letter-spacing: 0.16em;
  color: var(--mp-gold-deep) !important;
  font-weight: 600;
  margin-top: 2px;
  white-space: nowrap;
  text-transform: uppercase;
}

body .mp-shell-brand.mp-shell-brand--light .mp-shell-brand-name {
  color: var(--mp-light) !important;
}

body .mp-shell-brand.mp-shell-brand--light .mp-shell-brand-sub {
  color: var(--mp-gold-light) !important;
}

/* Primary Horizontal Desktop Nav */
.mp-shell-nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
  min-width: 0;
}

.mp-nav-list {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.mp-nav-item {
  position: relative;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.mp-nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 9px 11px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.25;
  white-space: nowrap;
  color: var(--mp-ink) !important;
  text-decoration: none !important;
  transition: background 0.2s var(--mp-ease), color 0.2s var(--mp-ease);
}

.mp-nav-link:hover,
.mp-nav-item.is-open > .mp-nav-link {
  background: rgba(20, 19, 17, 0.06);
  color: var(--mp-gold-deep) !important;
}

.mp-nav-item.is-current > .mp-nav-link {
  color: var(--mp-gold-deep) !important;
  font-weight: 600;
  background: rgba(198, 162, 94, 0.13);
}

.mp-nav-chevron {
  width: 14px;
  height: 14px;
  opacity: 0.65;
  flex-shrink: 0;
  transition: transform 0.24s var(--mp-ease);
}

.mp-nav-item.is-open > .mp-nav-link .mp-nav-chevron {
  transform: rotate(180deg);
}

/* Luxury Dark Dropdown Panel */
.mp-nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  padding-top: 12px;
  min-width: 268px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 9995;
  transition: opacity 0.22s var(--mp-ease), transform 0.22s var(--mp-ease), visibility 0.22s;
}

.mp-nav-dropdown--wide {
  min-width: 500px;
}

.mp-nav-item.is-open > .mp-nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.mp-nav-dropdown-panel {
  background: var(--mp-dark-1);
  color: var(--mp-light);
  border-radius: 18px;
  border: 1px solid rgba(198, 162, 94, 0.28);
  box-shadow: 0 24px 56px rgba(10, 9, 8, 0.34);
  padding: 16px 18px 14px;
}

.mp-nav-dropdown-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.mp-nav-dropdown-eyebrow {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mp-gold-light);
}

.mp-nav-dropdown-all {
  font-size: 12px;
  font-weight: 500;
  color: var(--mp-gold-light) !important;
  text-decoration: none !important;
  white-space: nowrap;
}

.mp-nav-dropdown-all:hover {
  text-decoration: underline !important;
}

.mp-nav-sublist {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
}

.mp-nav-sublist--cols {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 10px;
}

.mp-nav-sublist li {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.mp-nav-sublink {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 11px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.35;
  color: rgba(246, 242, 235, 0.88) !important;
  text-decoration: none !important;
  transition: background 0.18s, color 0.18s;
}

.mp-nav-subarrow {
  font-size: 11px;
  color: rgba(223, 190, 127, 0.55);
  transition: transform 0.18s, color 0.18s;
}

.mp-nav-sublink:hover,
.mp-nav-sublink.is-current {
  background: rgba(198, 162, 94, 0.14);
  color: var(--mp-gold-light) !important;
}

.mp-nav-sublink:hover .mp-nav-subarrow {
  color: var(--mp-gold-light);
  transform: translate(2px, -1px);
}

.mp-nav-dropdown-foot {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mp-nav-dropdown-cta {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--mp-gold-light) !important;
  text-decoration: none !important;
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(198, 162, 94, 0.1);
  transition: background 0.2s;
}

.mp-nav-dropdown-cta:hover {
  background: rgba(198, 162, 94, 0.2);
}

/* Header Actions */
.mp-shell-actions {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-shrink: 0;
}

.mp-shell-icon-btn {
  width: 39px;
  height: 39px;
  padding: 0;
  margin: 0;
  border-radius: 50%;
  border: 1px solid var(--mp-border);
  background: var(--mp-surface);
  display: grid;
  place-items: center;
  color: var(--mp-ink);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, transform 0.2s;
}

.mp-shell-icon-btn svg {
  width: 17px;
  height: 17px;
  display: block;
}

.mp-shell-icon-btn:hover {
  border-color: var(--mp-gold);
  color: var(--mp-gold-deep);
}

.mp-shell-cta-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 17px;
  margin: 0;
  border-radius: 999px;
  border: 1px solid rgba(198, 162, 94, 0.42);
  background: var(--mp-dark-1);
  color: var(--mp-light) !important;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  text-transform: none;
  letter-spacing: 0;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.mp-shell-cta-pill:hover {
  background: var(--mp-dark-3);
  border-color: var(--mp-gold);
  transform: translateY(-1px);
}

.mp-shell-gold-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mp-gold);
  box-shadow: 0 0 0 3px rgba(198, 162, 94, 0.26);
  flex-shrink: 0;
}

.mp-shell-menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  padding: 0;
  margin: 0;
  border-radius: 50%;
  border: 1px solid var(--mp-border);
  background: var(--mp-surface);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4.5px;
  cursor: pointer;
}

.mp-shell-menu-btn span {
  width: 16px;
  height: 1.6px;
  background: var(--mp-ink);
  display: block;
  border-radius: 2px;
}

/* Laptop compact spacing (1040px - 1220px) so all 7 WP links fit cleanly on 1 row */
@media (max-width: 1240px) and (min-width: 1041px) {
  .mp-shell-container {
    width: calc(100% - 28px);
  }
  .mp-shell-brand-sub {
    display: none;
  }
  .mp-shell-brand-name {
    font-size: 14.5px;
  }
  .mp-shell-logo-img {
    width: 38px;
    height: 38px;
  }
  .mp-nav-link {
    padding: 8px 8px;
    font-size: 12.5px;
  }
  .mp-shell-cta-pill {
    padding: 0 13px;
    font-size: 12.5px;
  }
}

@media (max-width: 1040px) {
  .mp-shell-container {
    width: calc(100% - 32px);
  }
  .mp-shell-nav {
    display: none;
  }
  .mp-shell-menu-btn {
    display: flex;
  }
}

/* =========================================================
   2. MOBILE SLIDE-OUT DRAWER (DYNAMIC WP MENU ACCORDION)
   ========================================================= */
.mp-drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10010;
  background: rgba(14, 13, 11, 0.65);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.26s var(--mp-ease), visibility 0.26s;
}

.mp-drawer-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.mp-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(370px, 90vw);
  z-index: 10020;
  background: var(--mp-dark-1);
  color: var(--mp-light);
  border-left: 1px solid rgba(198, 162, 94, 0.24);
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.34s var(--mp-ease);
}

.mp-drawer.open {
  transform: translateX(0);
}

body.admin-bar .mp-drawer {
  top: 32px;
}

@media (max-width: 782px) {
  body.admin-bar .mp-drawer {
    top: 46px;
  }
}

.mp-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--mp-border-dark);
}

.mp-drawer-close {
  width: 38px;
  height: 38px;
  padding: 0;
  margin: 0;
  border-radius: 50%;
  border: 1px solid var(--mp-border-dark);
  background: rgba(255, 255, 255, 0.06);
  color: var(--mp-light);
  font-size: 15px;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.mp-drawer-body {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 16px 18px 20px;
}

.mp-drawer-quick-row {
  margin-bottom: 14px;
}

.mp-drawer-quick-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(198, 162, 94, 0.14);
  border: 1px solid rgba(198, 162, 94, 0.36);
  color: var(--mp-gold-light) !important;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none !important;
}

.mp-drawer-nav {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: grid;
  gap: 8px;
}

.mp-drawer-item {
  list-style: none !important;
  margin: 0 !important;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  overflow: hidden;
}

.mp-drawer-item.is-current {
  border-color: rgba(198, 162, 94, 0.42);
}

.mp-drawer-row {
  display: flex;
  align-items: center;
}

.mp-drawer-link {
  flex: 1 1 auto;
  display: block;
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--mp-light) !important;
  text-decoration: none !important;
}

.mp-drawer-item.is-current > .mp-drawer-row .mp-drawer-link {
  color: var(--mp-gold-light) !important;
  font-weight: 600;
}

.mp-drawer-toggle {
  width: 44px;
  height: 44px;
  padding: 0;
  margin: 0;
  border: none;
  border-left: 1px solid rgba(255, 255, 255, 0.07);
  background: transparent;
  color: var(--mp-gold-light);
  display: grid;
  place-items: center;
  cursor: pointer;
  flex-shrink: 0;
}

.mp-drawer-toggle svg {
  width: 18px;
  height: 18px;
  transition: transform 0.24s var(--mp-ease);
}

.mp-drawer-item.is-open .mp-drawer-toggle svg {
  transform: rotate(180deg);
}

.mp-drawer-sublist {
  display: none;
  list-style: none !important;
  margin: 0 !important;
  padding: 6px 10px 10px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(0, 0, 0, 0.22);
}

.mp-drawer-item.is-open > .mp-drawer-sublist {
  display: grid;
  gap: 4px;
}

.mp-drawer-sublist li {
  margin: 0 !important;
  list-style: none !important;
}

.mp-drawer-sublink {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 10px;
  border-radius: 8px;
  font-size: 13px;
  color: rgba(246, 242, 235, 0.84) !important;
  text-decoration: none !important;
}

.mp-drawer-sublink small {
  color: rgba(223, 190, 127, 0.65);
}

.mp-drawer-sublink:hover,
.mp-drawer-sublink.is-current {
  background: rgba(198, 162, 94, 0.14);
  color: var(--mp-gold-light) !important;
}

.mp-drawer-footer {
  padding: 16px 18px max(18px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--mp-border-dark);
  display: grid;
  gap: 10px;
  background: rgba(255, 255, 255, 0.02);
}

.mp-drawer-contact-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 12.5px;
}

.mp-drawer-hotline {
  color: var(--mp-light-muted) !important;
  text-decoration: none !important;
}

.mp-drawer-hotline strong {
  color: var(--mp-gold-light);
}

.mp-drawer-zalo {
  padding: 6px 12px;
  border-radius: 999px;
  background: #0068ff;
  color: #ffffff !important;
  font-weight: 600;
  font-size: 12px;
  text-decoration: none !important;
}

/* Shared Gold Button */
.mp-btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 24px;
  margin: 0;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, var(--mp-gold) 0%, #b38d46 100%);
  color: #141311 !important;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none !important;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(198, 162, 94, 0.3);
  transition: transform 0.2s var(--mp-ease), filter 0.2s;
}

.mp-btn-gold:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
}

.mp-btn-full {
  width: 100%;
}

/* =========================================================
   3. SHARED LUXURY DARK FOOTER
   ========================================================= */
.mp-shell-footer {
  background: var(--mp-dark-1);
  color: var(--mp-light);
  padding: 68px 0 32px;
  border-top: 1px solid rgba(198, 162, 94, 0.24);
  text-align: left;
}

.mp-footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1.15fr;
  gap: 36px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--mp-border-dark);
}

.mp-footer-about {
  margin: 16px 0 20px;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--mp-light-muted);
  max-width: 340px;
}

.mp-footer-contact-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mp-footer-contact-pills a {
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--mp-border-dark);
  font-size: 12px;
  font-weight: 500;
  color: var(--mp-gold-light) !important;
  text-decoration: none !important;
  transition: background 0.2s, border-color 0.2s;
}

.mp-footer-contact-pills a:hover {
  background: rgba(198, 162, 94, 0.16);
  border-color: rgba(198, 162, 94, 0.45);
}

.mp-footer-col h4 {
  margin: 0 0 16px !important;
  font-family: var(--mp-sans) !important;
  font-size: 11.5px !important;
  font-weight: 600 !important;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mp-gold-light) !important;
  line-height: 1.4;
}

.mp-footer-col ul {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: grid;
  gap: 9px;
}

.mp-footer-col li {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.mp-footer-col a {
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--mp-light-muted) !important;
  text-decoration: none !important;
  transition: color 0.2s;
}

.mp-footer-col a:hover {
  color: var(--mp-gold-light) !important;
}

.mp-footer-entity {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mp-footer-address,
.mp-footer-hours {
  margin: 0 0 8px !important;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--mp-light-muted);
}

.mp-footer-address strong {
  color: var(--mp-light);
}

.mp-footer-bottom {
  padding-top: 22px;
  padding-right: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 12.5px;
  color: rgba(246, 242, 235, 0.54);
  flex-wrap: wrap;
}

.mp-footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.mp-footer-bottom-links a {
  color: rgba(246, 242, 235, 0.68) !important;
  text-decoration: none !important;
}

.mp-footer-bottom-links a:hover {
  color: var(--mp-gold-light) !important;
}

@media (max-width: 1080px) {
  .mp-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .mp-shell-footer {
    padding: 50px 0 98px;
  }
  .mp-footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .mp-footer-bottom {
    padding-right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

/* =========================================================
   4. GLOBAL FLOATING RIGHT SUPPORT DOCK & MOBILE BOTTOM BAR
   ========================================================= */
.mp-right-fabs {
  position: fixed;
  right: 18px;
  bottom: 24px;
  z-index: 9980;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mp-fab-btn {
  position: relative;
  width: 48px;
  height: 48px;
  padding: 0;
  margin: 0;
  border-radius: 50%;
  border: none;
  display: grid;
  place-items: center;
  text-decoration: none !important;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(20, 19, 17, 0.2);
  transition: transform 0.22s var(--mp-ease), opacity 0.22s var(--mp-ease);
}

.mp-fab-btn svg {
  width: 20px;
  height: 20px;
  display: block;
}

.mp-fab-btn:hover {
  transform: translateY(-3px);
}

.mp-fab-calc {
  background: var(--mp-dark-1);
  color: var(--mp-gold-light) !important;
  border: 1px solid rgba(198, 162, 94, 0.48);
}

.mp-fab-zalo {
  background: #0068ff;
  color: #ffffff !important;
}

.mp-zalo-text {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.mp-fab-phone {
  background: linear-gradient(135deg, var(--mp-gold) 0%, #a8823c 100%);
  color: var(--mp-dark-1) !important;
}

.mp-fab-top {
  background: #ffffff;
  color: var(--mp-ink);
  border: 1px solid var(--mp-border);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
}

.mp-fab-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mp-fab-label {
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  padding: 6px 12px;
  border-radius: 8px;
  background: var(--mp-dark-1);
  color: var(--mp-light);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
}

.mp-fab-btn:hover .mp-fab-label {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.mp-mobile-bottom-bar {
  display: none;
}

@media (max-width: 860px) {
  .mp-right-fabs {
    display: none !important;
  }
  .mp-mobile-bottom-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9985;
    display: grid;
    grid-template-columns: 1.25fr 1fr 1fr;
    gap: 8px;
    padding: 10px 12px max(10px, env(safe-area-inset-bottom));
    background: rgba(20, 19, 17, 0.96);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-top: 1px solid rgba(198, 162, 94, 0.32);
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.22);
  }
  .mp-mbb-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 44px;
    padding: 0 10px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    color: var(--mp-light) !important;
    font-size: 12.5px;
    font-weight: 600;
    white-space: nowrap;
    text-decoration: none !important;
  }
  .mp-mbb-btn svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
  }
  .mp-mbb-primary {
    background: linear-gradient(135deg, var(--mp-gold) 0%, #b38d46 100%);
    border-color: transparent;
    color: var(--mp-dark-1) !important;
  }
  .mp-mbb-zalo-badge {
    padding: 2px 6px;
    border-radius: 6px;
    background: #0068ff;
    color: #ffffff;
    font-size: 10.5px;
    font-weight: 700;
  }
}

@media (max-width: 640px) {
  :root {
    --mp-header-h: 66px;
  }
  .mp-shell-container {
    width: calc(100% - 28px);
  }
  .mp-shell-logo-img {
    width: 36px;
    height: 36px;
  }
  .mp-shell-brand-name {
    font-size: 14.5px;
  }
  .mp-shell-brand-sub {
    font-size: 8px;
  }
  .mp-shell-cta-pill {
    display: none;
  }
}

/* =========================================================
   5. GLOBAL MODALS (CONSULTATION & MULTI-PAGE SEARCH) & TOAST
   ========================================================= */
.mp-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10050;
  background: rgba(14, 13, 11, 0.72);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s var(--mp-ease), visibility 0.25s;
}

.mp-modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.mp-modal-card {
  position: relative;
  width: min(540px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  padding: 32px;
  border-radius: 24px;
  background: var(--mp-cream);
  color: var(--mp-ink);
  border: 1px solid rgba(198, 162, 94, 0.3);
  box-shadow: 0 28px 64px rgba(10, 9, 8, 0.34);
  transform: translateY(14px) scale(0.98);
  transition: transform 0.28s var(--mp-ease);
}

.mp-modal-backdrop.open .mp-modal-card {
  transform: translateY(0) scale(1);
}

.mp-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  padding: 0;
  margin: 0;
  border-radius: 50%;
  border: 1px solid var(--mp-border);
  background: rgba(255, 255, 255, 0.85);
  color: var(--mp-ink);
  font-size: 14px;
  cursor: pointer;
}

.mp-modal-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mp-gold-deep);
  margin-bottom: 8px;
}

body .mp-modal-card h3.mp-modal-title {
  margin: 0 0 8px !important;
  font-family: var(--mp-serif) !important;
  font-size: clamp(23px, 3vw, 30px) !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  color: var(--mp-ink) !important;
}

body .mp-modal-card h3.mp-modal-title em {
  font-family: var(--mp-serif) !important;
  font-style: italic !important;
  color: var(--mp-gold-deep);
}

.mp-modal-desc {
  margin: 0 0 20px !important;
  font-size: 14px;
  color: var(--mp-muted);
}

.mp-modal-form {
  display: grid;
  gap: 14px;
}

.mp-modal-label {
  display: grid !important;
  gap: 6px;
  margin: 0 !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  color: var(--mp-ink) !important;
}

.mp-modal-form input[type="text"],
.mp-modal-form input[type="tel"] {
  width: 100%;
  height: 48px !important;
  min-height: 48px !important;
  padding: 0 15px !important;
  margin: 0 !important;
  border-radius: 12px !important;
  border: 1px solid rgba(25, 23, 20, 0.15) !important;
  background: #ffffff !important;
  font-size: 14.5px !important;
  color: var(--mp-ink) !important;
  box-shadow: none !important;
}

.mp-modal-form input:focus {
  border-color: var(--mp-gold) !important;
  box-shadow: 0 0 0 3px rgba(198, 162, 94, 0.18) !important;
  outline: none !important;
}

.mp-search-form {
  display: flex;
  gap: 8px;
  margin: 14px 0 16px;
}

.mp-search-input {
  flex: 1 1 auto;
  height: 48px !important;
  min-height: 48px !important;
  padding: 0 16px !important;
  margin: 0 !important;
  border-radius: 12px !important;
  border: 1.5px solid rgba(198, 162, 94, 0.55) !important;
  background: #ffffff !important;
  font-size: 14.5px !important;
  color: var(--mp-ink) !important;
  box-shadow: none !important;
}

.mp-search-submit {
  height: 48px;
  padding: 0 18px;
  margin: 0;
  border-radius: 12px;
  border: none;
  background: var(--mp-dark-1);
  color: var(--mp-gold-light);
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}

.mp-search-results {
  display: grid;
  gap: 7px;
  max-height: 310px;
  overflow-y: auto;
}

.mp-search-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid var(--mp-border);
  font-size: 13.5px;
  color: var(--mp-ink) !important;
  text-decoration: none !important;
  transition: border-color 0.18s, background 0.18s;
}

.mp-search-item:hover {
  border-color: var(--mp-gold);
  background: #fdfbf6;
}

.mp-search-tag {
  font-size: 11px;
  font-weight: 600;
  color: var(--mp-gold-deep);
  background: rgba(198, 162, 94, 0.14);
  padding: 3px 9px;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
}

.mp-search-empty {
  padding: 14px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px dashed rgba(198, 162, 94, 0.45);
  font-size: 13px;
  color: var(--mp-muted);
  text-align: center;
}

.mp-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  z-index: 10090;
  padding: 13px 22px;
  border-radius: 999px;
  background: var(--mp-dark-1);
  color: var(--mp-gold-light);
  border: 1px solid rgba(198, 162, 94, 0.45);
  font-size: 13.5px;
  font-weight: 500;
  box-shadow: 0 20px 48px rgba(10, 9, 8, 0.32);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s var(--mp-ease), transform 0.28s var(--mp-ease);
}

.mp-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 860px) {
  .mp-toast {
    bottom: 82px;
    width: calc(100% - 32px);
    text-align: center;
    border-radius: 14px;
  }
  .mp-modal-card {
    padding: 24px 18px;
    border-radius: 20px;
  }
}

/* =========================================================
   6. SUBPAGE AURELIA DESIGN COHESION & VISUAL DEFECT FIXES
      Strictly scoped to body.mp-subpage-shell (never alters homepage)
   ========================================================= */

/* 6.1 Clean Flatsome Header/Footer Bridge & Duplicate Widget Suppression */
body.mp-subpage-shell #header.header,
body.mp-subpage-shell #header.header.transparent,
body.mp-subpage-shell #header.header.has-transparent {
  position: relative !important;
  top: 0 !important;
  height: var(--mp-header-h) !important;
  min-height: var(--mp-header-h) !important;
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  z-index: 9990 !important;
}

body.mp-subpage-shell #header .header-wrapper,
body.mp-subpage-shell #header .header-wrapper.stuck {
  position: static !important;
  transform: none !important;
  background: transparent !important;
  box-shadow: none !important;
  animation: none !important;
}

body.mp-subpage-shell #footer.footer-wrapper {
  background: var(--mp-dark-1) !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
}

/* Hide legacy duplicate floating buttons & Flatsome mobile menu off-canvas on subpages */
body.mp-subpage-shell #button-contact-vr,
body.mp-subpage-shell .gom-all-in-one,
body.mp-subpage-shell #gom-all-in-one,
body.mp-subpage-shell .float-contact,
body.mp-subpage-shell #main-menu.mobile-sidebar {
  display: none !important;
}

/* 6.2 Self-Hosted Vietnamese Typography Unification Across Subpages */
body.mp-subpage-shell {
  font-family: var(--mp-sans) !important;
  color: var(--mp-ink);
  text-rendering: auto !important;
}

body.mp-subpage-shell p,
body.mp-subpage-shell li,
body.mp-subpage-shell input,
body.mp-subpage-shell select,
body.mp-subpage-shell textarea,
body.mp-subpage-shell button {
  font-family: var(--mp-sans);
  text-rendering: auto !important;
}

/* Fix Vietnamese serif italic diacritic splitting (e.g. /bang-gia-gia-cong-my-pham/ "yêu cầu rõ") */
body.mp-subpage-shell .mp-price-v3 h1,
body.mp-subpage-shell .mp-price-v3 h2,
body.mp-subpage-shell .mp-price-v3__product-card h3,
body.mp-subpage-shell .mp-price-v3__step-no,
body.mp-subpage-shell .mp-price-v3__cost-row b,
body.mp-subpage-shell.woocommerce-page h1.product-title,
body.mp-subpage-shell.woocommerce-page .shop-page-title h1,
body.mp-subpage-shell.blog .page-title,
body.mp-subpage-shell.archive .page-title,
body.mp-subpage-shell.single-post h1.entry-title,
body.mp-subpage-shell.single-post .entry-content h2 {
  font-family: var(--mp-serif) !important;
  letter-spacing: 0.005em;
  text-rendering: auto !important;
}

/* 6.3 Warm Cream Editorial Surface on WooCommerce, Blog Archives, Single Posts & Search */
body.mp-subpage-shell.woocommerce-page,
body.mp-subpage-shell.woocommerce-page #main,
body.mp-subpage-shell.archive.category,
body.mp-subpage-shell.archive.category #main,
body.mp-subpage-shell.single-post,
body.mp-subpage-shell.single-post #main,
body.mp-subpage-shell.search,
body.mp-subpage-shell.search #main {
  background-color: var(--mp-cream) !important;
}

/* 6.4 WooCommerce B2B Catalog (/san-pham/, /cham-soc-mat/, ...) & Single Product (/gia-cong-serum/, ...) */
body.mp-subpage-shell .shop-page-title.category-page-title {
  background: var(--mp-cream-2);
  border-bottom: 1px solid rgba(198, 162, 94, 0.24);
  padding-top: 20px;
  padding-bottom: 16px;
}

body.mp-subpage-shell .shop-page-title .woocommerce-breadcrumb,
body.mp-subpage-shell .shop-page-title .breadcrumbs {
  font-size: 13px;
  color: var(--mp-muted);
  opacity: 1;
}

body.mp-subpage-shell .shop-page-title .woocommerce-breadcrumb a,
body.mp-subpage-shell .shop-page-title .breadcrumbs a {
  color: var(--mp-gold-deep);
}

/* Crisp Aurelia cards & high-contrast titles on /san-pham/ & product categories */
body.mp-subpage-shell.woocommerce-page .product-small .col-inner,
body.mp-subpage-shell.woocommerce-page .product-category .col-inner {
  background: #ffffff;
  border: 1px solid var(--mp-border);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.25s var(--mp-ease), border-color 0.25s var(--mp-ease), box-shadow 0.25s var(--mp-ease);
}

body.mp-subpage-shell.woocommerce-page .product-small:hover .col-inner,
body.mp-subpage-shell.woocommerce-page .product-category:hover .col-inner {
  border-color: var(--mp-gold);
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(20, 19, 17, 0.08);
}

body.mp-subpage-shell.woocommerce-page .product-category .box-text,
body.mp-subpage-shell.woocommerce-page .product-small .box-text {
  background: #ffffff !important;
  padding: 14px 16px 16px !important;
  opacity: 1 !important;
}

body.mp-subpage-shell.woocommerce-page .product-category .header-title,
body.mp-subpage-shell.woocommerce-page .product-small .product-title a,
body.mp-subpage-shell.woocommerce-page .product-small .name a {
  color: var(--mp-ink) !important;
  font-weight: 600 !important;
  font-size: 14.5px !important;
}

body.mp-subpage-shell.woocommerce-page .product-category .box-text .count {
  color: var(--mp-gold-deep) !important;
  font-size: 12px;
  font-weight: 600;
  opacity: 1;
}

/* Hide retail clutter on B2B OEM catalog */
body.mp-subpage-shell.woocommerce-page .quick-view,
body.mp-subpage-shell.woocommerce-page .star-rating {
  display: none !important;
}

/* Fix single-product CTA button contrast & prevent right-edge clipping on /gia-cong-serum/ etc. */
body.mp-subpage-shell.single-product section.dark .row > .col > .col-inner {
  padding-left: 16px;
  padding-right: 22px;
  box-sizing: border-box;
}

body.mp-subpage-shell.single-product a.button.primary:not(.is-outline),
body.mp-subpage-shell.single-product .nut-xem-them.button.primary {
  background: linear-gradient(135deg, var(--mp-gold-light) 0%, var(--mp-gold) 100%) !important;
  color: var(--mp-dark-1) !important;
  border: none !important;
  border-radius: 999px !important;
  box-shadow: 0 10px 26px rgba(198, 162, 94, 0.34) !important;
  text-shadow: none !important;
  font-weight: 700 !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

body.mp-subpage-shell.single-product a.button.primary:not(.is-outline):hover,
body.mp-subpage-shell.single-product .nut-xem-them.button.primary:hover {
  filter: brightness(1.06);
}

/* 6.5 Blog Archive & Single Post Editorial Refinement */
body.mp-subpage-shell.archive.category .post-item .col-inner {
  background: #ffffff;
  border: 1px solid var(--mp-border);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.22s var(--mp-ease), border-color 0.22s;
}

body.mp-subpage-shell.archive.category .post-item:hover .col-inner {
  border-color: var(--mp-gold);
  transform: translateY(-2px);
}

body.mp-subpage-shell.archive.category .post-item .box-text {
  padding: 18px 20px;
}

body.mp-subpage-shell.single-post .article-inner {
  background: #ffffff;
  border: 1px solid var(--mp-border);
  border-radius: 20px;
  padding: 32px 36px;
  box-shadow: 0 14px 36px rgba(20, 19, 17, 0.05);
}

@media (max-width: 640px) {
  body.mp-subpage-shell.single-post .article-inner {
    padding: 20px 16px;
    border-radius: 14px;
  }
}

body.mp-subpage-shell.single-post .entry-header-text {
  padding-top: 8px;
}

body.mp-subpage-shell.single-post .entry-category a {
  display: inline-block;
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(198, 162, 94, 0.16);
  color: var(--mp-gold-deep) !important;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

body.mp-subpage-shell.single-post .entry-meta .byline {
  display: none;
}

body.mp-subpage-shell #ez-toc-container {
  background: var(--mp-cream) !important;
  border: 1px solid rgba(198, 162, 94, 0.35) !important;
  border-radius: 14px !important;
  padding: 16px 20px !important;
  max-height: 320px;
  overflow-y: auto;
}

/* Sidebar Widget Polish on Shop & Blog */
body.mp-subpage-shell #shop-sidebar .widget,
body.mp-subpage-shell .post-sidebar .widget {
  background: #ffffff;
  border: 1px solid var(--mp-border);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 20px;
}

body.mp-subpage-shell #shop-sidebar .widget-title,
body.mp-subpage-shell .post-sidebar .widget-title {
  font-family: var(--mp-serif) !important;
  font-size: 18px !important;
  font-weight: 600 !important;
  color: var(--mp-ink) !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}

body.mp-subpage-shell #shop-sidebar .is-divider,
body.mp-subpage-shell .post-sidebar .is-divider {
  background-color: var(--mp-gold) !important;
  height: 2px;
  margin-bottom: 14px;
}

/* 6.6 Formidable Forms & Select Double-Arrow Fix (fixes /lien-he/, /tin-tuc-lam-dep/, /san-pham/) */
body.mp-subpage-shell .with_frm_style select,
body.mp-subpage-shell .frm_forms select,
body.mp-subpage-shell .wpcf7 select {
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  background-color: #ffffff !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239c7b3b' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 14px center !important;
  background-size: 16px 16px !important;
  padding: 11px 42px 11px 14px !important;
  line-height: 1.4 !important;
  height: auto !important;
  min-height: 48px !important;
  border: 1px solid rgba(25, 23, 20, 0.16) !important;
  border-radius: 12px !important;
  color: var(--mp-ink) !important;
  box-shadow: none !important;
}

body.mp-subpage-shell .with_frm_style .frm_button_submit,
body.mp-subpage-shell .frm_forms button[type="submit"],
body.mp-subpage-shell .frm_forms input[type="submit"] {
  background: var(--mp-dark-1) !important;
  color: var(--mp-gold-light) !important;
  border: 1px solid rgba(198, 162, 94, 0.45) !important;
  border-radius: 999px !important;
  min-height: 48px !important;
  padding: 0 26px !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  letter-spacing: 0.04em !important;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

body.mp-subpage-shell .with_frm_style .frm_button_submit:hover,
body.mp-subpage-shell .frm_forms button[type="submit"]:hover,
body.mp-subpage-shell .frm_forms input[type="submit"]:hover {
  background: var(--mp-dark-3) !important;
  border-color: var(--mp-gold) !important;
  transform: translateY(-1px);
}

/* Ensure above-the-fold fadeInUp hero blocks on About / Service pages render promptly without staying invisible */
body.mp-subpage-shell #main > .content-area > section:first-child [data-animate],
body.mp-subpage-shell #main > #content > section:first-child [data-animate] {
  opacity: 1 !important;
  transform: none !important;
}
