
/* === LOCAL FONTS === */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal; font-weight: 400;
  src: url('../fonts/playfair-400.woff2') format('woff2');
  font-display: swap;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal; font-weight: 700;
  src: url('../fonts/playfair-700.woff2') format('woff2');
  font-display: swap;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: italic; font-weight: 400;
  src: url('../fonts/playfair-400i.woff2') format('woff2');
  font-display: swap;
}
@font-face {
  font-family: 'Alegreya Sans';
  font-style: normal; font-weight: 300;
  src: url('../fonts/alegreya-300.woff2') format('woff2');
  font-display: swap;
}
@font-face {
  font-family: 'Alegreya Sans';
  font-style: normal; font-weight: 400;
  src: url('../fonts/alegreya-400.woff2') format('woff2');
  font-display: swap;
}
@font-face {
  font-family: 'Alegreya Sans';
  font-style: italic; font-weight: 400;
  src: url('../fonts/alegreya-400i.woff2') format('woff2');
  font-display: swap;
}
@font-face {
  font-family: 'Alegreya Sans';
  font-style: normal; font-weight: 700;
  src: url('../fonts/alegreya-700.woff2') format('woff2');
  font-display: swap;
}

:root {
  /* CSS vars được inject bởi Playwright */

    /* === FONT FIX === */
    body, p, span, div, li, td, input, textarea, button, label {
      font-family: 'Alegreya Sans', 'Times New Roman', sans-serif !important;
    }

/* === FONTS === */
/* Heading: Playfair Display */
.Header1, .Header2, .Header3,
h1, h2, h3, h4, h5, h6,
.Logo, .Logo a {
  font-family: 'Playfair Display', Georgia, serif !important;
}
/* Body text: Alegreya Sans */
.LongText, .ShortText, .MainMenuLinks,
input, textarea, label, button,
p, li, td, span.text,
.inputWrapper label {
  font-family: 'Alegreya Sans', serif !important;
}

/* === HEADING SIZES (match website gốc) === */
.Header2 { font-size: 28.49px !important; }
.Header3 { font-size: 16.96px !important; }
.Logo    { font-size: 1.3em !important; font-weight: bold !important; }

/* === HAMBURGER → X KHI OPEN === */
.MainMenu .hamburger .bar1,
.MainMenu .hamburger .bar2,
.MainMenu .hamburger .bar3 {
  width: 35px; height: 2px; background-color: currentColor;
  display: block; transition: transform .4s, opacity .4s;
}
.MainMenu .hamburger .bar2 { margin: 10px 0; }

/* Trạng thái đóng (X → 3 bars): reset */
.MainMenu .hamburger .bar1 { transform: none; }
.MainMenu .hamburger .bar2 { opacity: 1; display: block; }
.MainMenu .hamburger .bar3 { transform: none; }

/* Khi mở: 3 bars → X */
.MainMenu.open .hamburger .bar1 { transform: translateY(12px) rotate(-45deg); }
.MainMenu.open .hamburger .bar2 { opacity: 0; }
.MainMenu.open .hamburger .bar3 { transform: translateY(-12px) rotate(45deg); }

/* === SEND BUTTON === */
.Button.CaptionButton {
  background-color: rgb(94, 174, 244) !important;
  border: 1px solid rgb(94, 174, 244) !important;
  border-radius: 8px !important;
  display: inline-block !important;
}
.Button.CaptionButton a {
  display: block;
  color: #fff !important;
  padding: 11.28px 22.55px !important;
  font-family: 'Playfair Display', serif !important;
  font-size: 16.11px !important;
  text-decoration: none !important;
  cursor: pointer;
}

/* === FORM INPUTS === */
.Form .inputWrapper {
  position: relative;
  margin-bottom: 24px;
}
.Form .inputWrapper label {
  position: absolute; top: 12px; left: 0;
  transition: all .2s ease; pointer-events: none;
  color: rgba(0,0,0,0.45) !important;
  font-size: 14.41px !important;
  font-family: 'Playfair Display', serif !important;
}
.Form .inputWrapper textarea + label { top: 12px; }
.Form .inputWrapper input:focus ~ label,
.Form .inputWrapper input:not(:placeholder-shown) ~ label,
.Form .inputWrapper textarea:focus ~ label,
.Form .inputWrapper textarea:not(:placeholder-shown) ~ label {
  top: -14px !important; font-size: 10.5px !important; opacity: .7;
}
.Form .inputWrapper input,
.Form .inputWrapper textarea {
  width: 100%; background: transparent; outline: none;
  border: none; border-bottom: 1px solid rgba(0,0,0,0.25);
  padding: 8px 0; font-size: 14.41px !important;
  font-family: 'Playfair Display', serif !important;
  color: #000 !important;
}
.Form .inputWrapper textarea { min-height: 80px; resize: vertical; }

/* === SCROLL ANIMATION === */
/* Ẩn sections (trừ cover) khi chưa vào viewport */
.sectionWrapper:not(.visible) > .Section:not(.coverTemp) {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s ease, transform .9s ease;
}
.sectionWrapper.visible > .Section {
  opacity: 1 !important;
  transform: translateY(0) !important;
  transition: opacity .9s ease, transform .9s ease;
}
/* Cover / hero luôn hiện */
.sectionWrapper:first-child { opacity: 1; transform: none; }
.Section.coverTemp { opacity: 1 !important; transform: none !important; }

/* === NAV — sticky, horizontal (logo trái / hamburger phải) + shrink on scroll === */
.navWrapper {
  position: sticky !important;
  top: 0 !important;
  z-index: 100 !important;
  width: 100% !important;
}
nav.MainMenu {
  position: relative !important;
  width: 100%;
  background-color: #F8F9FC;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 0 5% !important;
  height: 64px;
  box-sizing: border-box;
  transition: height .28s ease, box-shadow .28s ease;
}
/* Logo: bên trái */
nav.MainMenu .pbMenu.first {
  order: 1 !important;
  display: flex !important;
  align-items: center !important;
  flex-shrink: 0;
}
/* Menu links panel: giữ Portfoliobox handle */
nav.MainMenu .pbMenu.second { order: 2 !important; }
/* Book Now button */
.nav-book-btn {
  position: absolute !important;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  flex-shrink: 0;
  font-family: 'Alegreya Sans', serif;
  font-size: 13.5px;
  font-weight: 600;
  padding: 7px 18px;
  background: #1a1a1a;
  color: #fff !important;
  border-radius: 20px;
  text-decoration: none !important;
  white-space: nowrap;
  letter-spacing: .01em;
  cursor: pointer;
  transition: background .2s, padding .28s ease;
}
.nav-book-btn:hover { background: #7a5c3a; }
.navWrapper.shrunk .nav-book-btn { padding: 5px 14px; font-size: 12.5px; }
@media (max-width: 420px) { .nav-book-btn { display: none !important; } }
/* Hamburger: bên phải */
.MainMenu .hamburger {
  order: 4 !important;
  margin: 0 !important;
  flex-shrink: 0;
  cursor: pointer;
  display: block !important;
  z-index: 20 !important;
  position: relative;
}
/* Khi menu mở: X vẫn nằm giữa thanh nav, nổi trên panel menu */
.MainMenu.open .hamburger {
  z-index: 200 !important;
}
/* === NAV SHRUNK khi scroll === */
.navWrapper.shrunk nav.MainMenu {
  height: 48px;
  box-shadow: 0 1px 16px rgba(0,0,0,0.07);
}
.navWrapper.shrunk .brand-logo {
  width: 32px !important;
  height: 32px !important;
}
/* === MENU OPEN — items xuất hiện nhanh hơn === */
.MainMenu .pbMenu.second,
.MainMenu .pbMenu.second *,
.MainMenu .pbMenu.second .linkWrapper,
.MainMenu .pbMenu.second .MainMenuLinks {
  transition-duration: .12s !important;
}
.MainMenu .pbMenu.second .MainMenuLinks.fade-in,
.MainMenu .pbMenu.second .fade-in {
  animation-duration: .25s !important;
  animation-delay: 0s !important;
}
.MainMenu .pbMenu.second .MainMenuLinks { font-size: 1.2em !important; }

/* === ABOUT + FIND US 2-column grid === */
.about-findus-grid-outer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6vw;
  align-items: start;
}
.booking-findus-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6vw;
  align-items: start;
  width: 100%;
  align-self: stretch;
}
.about-col .LongText { font-size: 1.3em !important; }
.findus-col .visit-us-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5em;
}
.findus-col .visit-value {
  font-size: clamp(22px, 2.8vw, 38px) !important;
}
@media (max-width: 900px) {
  .about-findus-grid-outer,
  .booking-findus-grid {
    grid-template-columns: 1fr;
    gap: 3em;
  }
}

/* CAPTION TITLE / SUBTITLE sizes (từ web gốc) */
.CaptionTitle {
  font-size: 21.37px !important;
  font-weight: 700 !important;
  font-family: 'Playfair Display', serif !important;
}
.CaptionSubTitle {
  font-size: 16.96px !important;
  font-family: 'Playfair Display', serif !important;
}
.CaptionText {
  font-size: 14.4px !important;
  font-family: 'Alegreya Sans', serif !important;
  line-height: 1.7 !important;
}

/* GALLERY items — animate từng item */
.Gallery .Item {
  animation: none !important;
  opacity: 0 !important;
  transform: translateY(20px) !important;
  transition: opacity .7s ease, transform .7s ease !important;
}
.Gallery .Item.visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}
/* Delay stagger */
.Gallery .Item:nth-child(3n+1) { transition-delay: 0s; }
.Gallery .Item:nth-child(3n+2) { transition-delay: .12s; }
.Gallery .Item:nth-child(3n)   { transition-delay: .24s; }

/* === GALLERY 2 CỘT TRÊN MOBILE === */
@media (max-width: 600px) {
  .Gallery.dynamicGrid {
    position: static !important;
    display: block !important;
    columns: 2 !important;
    column-gap: 2vw !important;
    height: auto !important;
    width: 100% !important;
  }
  .Gallery.dynamicGrid .Item {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: 100% !important;
    height: auto !important;
    margin-bottom: 2vw !important;
    break-inside: avoid !important;
    display: inline-block !important;
  }
  .Gallery.dynamicGrid .Item .imgWrapper {
    width: 100% !important;
    height: auto !important;
  }
  .Gallery.dynamicGrid .Item .imgWrapper img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    object-fit: cover !important;
  }
}

/* === LOGO TRÒN (horizontal nav) === */
.Logo { text-align: left !important; }
.brand-link { display: block; line-height: 0; }
.brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  display: block;
  border: 2px solid rgba(0,0,0,0.10);
  overflow: hidden;
  flex-shrink: 0;
  max-width: none !important;
  transition: width .28s ease, height .28s ease;
}
@media (max-width: 480px) {
  .brand-logo { width: 36px !important; height: 36px !important; }
}

/* === BANNER LOGO TRÒN (dưới tên brand ở hero) === */
.banner-logo-circle {
  width: 168px; height: 168px;
  border-radius: 50%;
  object-fit: cover; object-position: center;
  border: 2.5px solid rgba(255,255,255,0.72);
  box-shadow: 0 2px 20px rgba(0,0,0,0.22);
  margin-top: 1.1em;
  display: block;
}

/* === GOOGLE MAP FULL WIDTH === */
.map-wrapper {
  margin-top: 2.5em;
  margin-left: -5vw;
  margin-right: -5vw;
  width: calc(100% + 10vw);
  overflow: hidden;
  border-top: 1px solid rgba(0,0,0,0.06);
}
.map-wrapper iframe {
  display: block;
  width: 100%;
  height: 380px;
  border: 0;
}

/* === INSTAGRAM LINK === */
.insta-link {
  color: inherit !important;
  text-decoration: none !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
}
.insta-link svg { flex-shrink: 0; }

/* === SERVICE PRICE LIST === */
.service-prices {
  margin-top: 0.5em;
  font-size: 13px !important;
  font-family: 'Alegreya Sans', serif !important;
  line-height: 1.9 !important;
  color: rgba(0,0,0,0.7);
}
.service-prices .price-row { display: flex; justify-content: space-between; }
.service-prices .price-row .label { flex: 1; }
.service-prices .price-row .price { font-weight: 600; white-space: nowrap; }
.service-prices .price-note { font-size: 11px !important; color: rgba(0,0,0,0.45); margin-top: 4px; }

/* === VISIT US SECTION === */
.visit-us-section {
  background-color: #F8F9FC !important;
  color: #1a1a1a !important;
  padding: 6vh 5% !important;
  border-top: 1px solid rgba(0,0,0,0.07);
  border-bottom: 1px solid rgba(0,0,0,0.07);
}
.visit-us-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4vw;
  max-width: 900px;
}
.visit-us-col .visit-label {
  font-family: 'Alegreya Sans', serif;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.45);
  margin-bottom: 0.6em;
}
.visit-us-col .visit-value {
  font-family: 'Playfair Display', serif;
  font-size: clamp(26px, 3.5vw, 48px);
  font-weight: 700;
  line-height: 1.25;
  color: #1a1a1a;
}
.visit-us-col .visit-value.hours-value {
  color: #7a5c3a;
}
@media (max-width: 600px) {
  .visit-us-grid {
    grid-template-columns: 1fr;
    gap: 3em;
  }
}

/* === v-cloak === */
[v-cloak] { display: none !important; }
nav a, .scrollToId { cursor: pointer; }

/* ============================================================
   SERVICE MODAL
   ============================================================ */
.svc-modal-overlay {
  position: fixed; inset: 0;
  background: rgba(20,15,10,0.65);
  z-index: 800;
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
  opacity: 0; pointer-events: none;
  transition: opacity .28s ease;
  backdrop-filter: blur(4px);
}
.svc-modal-overlay.active {
  opacity: 1; pointer-events: auto;
}
.svc-modal-container {
  background: #fff;
  border-radius: 16px;
  max-width: 720px; width: 100%;
  max-height: 92vh; overflow-y: auto;
  position: relative;
  transform: translateY(24px) scale(.98);
  transition: transform .3s cubic-bezier(.22,.68,0,1.2);
  scrollbar-width: thin;
  scrollbar-color: rgba(0,0,0,.12) transparent;
}
.svc-modal-overlay.active .svc-modal-container {
  transform: translateY(0) scale(1);
}

/* close button */
.svc-modal-close {
  position: sticky; top: 14px; float: right;
  margin: 14px 14px 0 0;
  width: 36px; height: 36px; flex-shrink: 0;
  background: rgba(0,0,0,.07);
  border: none; border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: #444; z-index: 10;
  transition: background .15s;
}
.svc-modal-close:hover { background: rgba(0,0,0,.15); }

/* body */
.svc-modal-body { padding: 0 28px 32px; clear: both; }

/* head */
.svc-modal-tag {
  display: inline-block;
  font-family: 'Alegreya Sans', serif;
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(0,0,0,.42); margin-bottom: 8px;
}
.svc-modal-title {
  font-family: 'Playfair Display', serif !important;
  font-size: clamp(24px, 4vw, 32px); font-weight: 700;
  margin: 0 0 4px; line-height: 1.2; color: #111;
}
.svc-modal-subtitle {
  font-family: 'Alegreya Sans', serif;
  font-size: 15px; color: rgba(0,0,0,.5); margin: 0 0 1.4em;
}

/* description */
.svc-modal-description {
  font-family: 'Alegreya Sans', serif;
  font-size: 16.5px; line-height: 1.78; color: #333; margin-bottom: 1.5em;
}

/* price table */
.svc-modal-prices { margin-bottom: 2em; }
.svc-modal-price-row {
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: 'Alegreya Sans', serif; font-size: 14.5px;
  padding: 9px 0; border-bottom: 1px solid rgba(0,0,0,.07);
  gap: 1em;
}
.svc-modal-price-row .p-name { color: #222; }
.svc-modal-price-row .p-val  { color: #7a5c3a; font-weight: 600; white-space: nowrap; }

/* gallery grid */
.svc-modal-gallery-wrap { margin-bottom: 2em; }
.svc-modal-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}
.svc-modal-gallery a {
  display: block; border-radius: 9px; overflow: hidden;
  transition: transform .2s ease;
}
.svc-modal-gallery a:hover { transform: scale(1.03); }
.svc-modal-gallery img {
  width: 100%; height: 118px;
  border-radius: 9px; object-fit: cover; display: block;
}
@media (max-width: 600px) {
  .svc-modal-gallery { grid-template-columns: repeat(2, 1fr); gap: 5px; }
  .svc-modal-gallery img { height: 90px; }
}

/* video section */
.svc-modal-video-label {
  font-family: 'Alegreya Sans', serif;
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(0,0,0,.38); margin-bottom: 10px;
}
.svc-modal-videos {
  display: grid; grid-template-columns: 1fr; gap: 12px;
}
.svc-modal-video-wrap { border-radius: 12px; overflow: hidden; min-width: 0; }
.svc-modal-video-thumb {
  position: relative; cursor: pointer; border-radius: 12px; overflow: hidden;
  background: #111;
}
.svc-modal-video-img {
  width: 100%; height: 180px; object-fit: cover; display: block;
  opacity: .82; transition: opacity .2s;
}
.svc-modal-video-thumb:hover .svc-modal-video-img { opacity: .68; }
.svc-modal-video-overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 10px;
}
.svc-modal-play-circle {
  width: 60px; height: 60px; border-radius: 50%;
  background: rgba(255,255,255,.92);
  display: flex; align-items: center; justify-content: center;
  transition: transform .2s ease, background .2s;
}
.svc-modal-video-thumb:hover .svc-modal-play-circle {
  transform: scale(1.1); background: #fff;
}
.svc-modal-play-circle svg { width: 22px; height: 22px; margin-left: 3px; }
.svc-modal-video-caption {
  font-family: 'Alegreya Sans', serif;
  font-size: 13px; color: rgba(255,255,255,.9);
  letter-spacing: .06em; text-align: center;
}
.svc-modal-video-iframe {
  position: relative; padding-top: 56.25%;
}
.svc-modal-video-iframe iframe,
.svc-modal-video-iframe video {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
}

/* === FOOTER BADGE (Made with SonPhan) — nằm trong footer, không fixed === */
.SiteFooter .portfolioboxLink {
  position: static !important;
  flex-basis: 100%;
  text-align: center;
  padding-bottom: 14px;
}

/* === BACK TO TOP === */
#back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: #1a1a1a;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0,0,0,0.22);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s, background .2s;
  z-index: 150;
}
#back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
#back-to-top:hover { background: #7a5c3a; }

/* service cards: pointer cursor */
#ZP0Y6N0Agb2OSFSA .Gallery .Item { cursor: pointer; }
#ZP0Y6N0Agb2OSFSA .Gallery .Item:hover .imgWrapper img {
  transform: scale(1.04); transition: transform .4s ease;
}

@media (max-width: 600px) {
  .svc-modal-body { padding: 0 16px 24px; }
  .svc-modal-video-img { height: 200px; }
}

/* === BOOKING SECTION === */
/* Ẩn form — mở ra khi booking system sẵn sàng */
#c6zNL94cBVCBAUUm { display: none !important; }

/* Heading nổi bật hơn */
#CQFqjaAWi55xT4Mn .booking-col > h2 {
  font-size: clamp(30px, 5vw, 52px) !important;
  margin-bottom: 0.4em !important;
}
#CQFqjaAWi55xT4Mn .LongText {
  font-size: clamp(15px, 1.8vw, 18px) !important;
  max-width: 520px !important;
  color: rgba(0,0,0,0.65) !important;
}

/* Contact buttons nổi bật */
#vUqoxVGJF411zAwT {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 14px !important;
  margin-top: 1.4em !important;
  margin-bottom: 0 !important;
}
#vUqoxVGJF411zAwT .emptyLink {
  background: transparent !important;
  padding: 0 !important;
}
#XtO9qRSFKkP3NIZ4 a.insta-link,
#iZNANwyGy4rNoJho a.insta-link {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 14px 28px !important;
  border-radius: 32px !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  font-family: 'Alegreya Sans', serif !important;
  letter-spacing: .01em !important;
  text-decoration: none !important;
  transition: opacity .18s, transform .18s !important;
}
#XtO9qRSFKkP3NIZ4 a.insta-link {
  background: #1a1a1a !important;
  color: #fff !important;
}
#iZNANwyGy4rNoJho a.insta-link {
  background: #7a5c3a !important;
  color: #fff !important;
}
#XtO9qRSFKkP3NIZ4 a.insta-link:hover,
#iZNANwyGy4rNoJho a.insta-link:hover {
  opacity: .85 !important; transform: translateY(-1px) !important;
}
@media (max-width: 480px) {
  #XtO9qRSFKkP3NIZ4 a.insta-link,
  #iZNANwyGy4rNoJho a.insta-link { padding: 12px 22px !important; font-size: 15px !important; }
}

/* service cards gộp: Hybrid và Mega nằm trong Lash Extensions */
#item-service-4,
#item-service-5 { display: none !important; }
