@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&family=Playfair+Display:wght@400;600&display=swap');
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:#28231f;background:#faf8f4;font:16px 'DM Sans',sans-serif}a{color:inherit}header{display:flex;justify-content:space-between;align-items:center;padding:20px 7%;background:#faf8f4;position:sticky;top:0;z-index:2;border-bottom:1px solid #e5ded4}.brand{font:600 24px 'Playfair Display';text-decoration:none;letter-spacing:.13em}.brand small{display:block;font:10px 'DM Sans';letter-spacing:.2em}nav{display:flex;gap:25px;align-items:center}nav a{text-decoration:none;font-size:14px}.button,button{display:inline-block;background:#574438;color:white;border:0;padding:15px 23px;text-decoration:none;cursor:pointer;font:inherit}.hero{display:grid;grid-template-columns:1fr 1fr;min-height:520px;background:#e9e1d5}.hero>div:first-child{padding:100px 14%}.hero span,small{font-size:12px;letter-spacing:.16em}.hero h1,h2{font:400 clamp(38px,5vw,66px) 'Playfair Display';line-height:1.1;margin:22px 0}.hero p{line-height:1.8;max-width:480px;margin-bottom:30px}.hero-art{background:linear-gradient(135deg,#b9a495,#5f4b40);display:grid;place-items:center;color:#f4ece2}.hero-art span{font:50px 'Playfair Display';letter-spacing:.15em;text-align:center}.hero-art i{font-size:23px;letter-spacing:.03em}section:not(.hero){padding:80px 7%}.section-head{display:flex;justify-content:space-between;align-items:end}.section-head p{max-width:360px;color:#70665d}.chips{display:flex;gap:10px;flex-wrap:wrap;margin:30px 0}.chips a{border:1px solid #d5c9bc;padding:10px 16px;text-decoration:none;border-radius:30px}h3{font:32px 'Playfair Display';margin-top:60px}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:20px}article{background:white;border:1px solid #eee7de}article img{width:100%;height:230px;object-fit:cover}.card{padding:24px}h4{font:25px 'Playfair Display';margin:0}.card p{color:#756a61;line-height:1.6}.price{display:flex;justify-content:space-between;gap:10px;border-top:1px solid #eee5dc;padding:12px 0;font-size:14px}.note{font-size:14px}.book-service{font-weight:700}.booking{background:#e9e1d5;display:grid;grid-template-columns:1fr 1fr;gap:10%}form{background:white;padding:32px;display:grid;gap:16px}label{display:grid;gap:7px;font-size:14px;font-weight:700}input,select,textarea{width:100%;padding:12px;border:1px solid #d6cdc3;background:white;font:16px 'DM Sans'}textarea{min-height:85px}.row{display:flex;gap:15px}.row label{flex:1}.message{background:#e5f1e6;padding:15px}footer{background:#342c27;color:#fff;padding:35px 7%;font-size:12px;letter-spacing:.15em}@media(max-width:700px){header{padding:15px 5%}nav{gap:12px}nav a:not(.button){font-size:12px}.brand{font-size:18px}.hero,.booking{grid-template-columns:1fr}.hero>div:first-child{padding:65px 7%}.hero-art{min-height:220px}section:not(.hero){padding:55px 5%}.section-head{display:block}.booking{gap:20px}form{padding:22px}}

/* Bảng màu xanh lá đậm của Amber Hair Salon. */
body { color: #24352c; background: #f6f3ec; }
header { background: #f6f3ec; border-bottom-color: #dedfd3; }
.button, button { background: #20392b; color: #fff; }
.button:hover, button:hover { background: #315440; }
.hero { background: #20392b; color: #f8f7f0; }
.hero > div:first-child > span { color: #e4c99e; }
.hero .button { background: #e4c99e; color: #20352a; }
.hero .button:hover { background: #f0dbba; }
.hero-art { background: linear-gradient(135deg, #466d54, #182e23); color: #f6f3ec; }
.hero-art { position: relative; overflow: hidden; }
.hero-art img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 48%; }
@media (min-width: 701px) { .hero-art { background: #20392b; } .hero-art img { object-fit: contain; object-position: center; } }
@media (max-width: 700px) { .hero-art { aspect-ratio: 4 / 5; } }
.section-head p, .card p { color: #65746a; }
.chips a { border-color: #afc0b1; color: #20392b; }
.chips a:hover { background: #e4ece2; }
article { border-color: #dfe7dd; }
.price { border-top-color: #e2e9df; }
.booking { background: #e4ece2; }
input, select, textarea { border-color: #b9c9bb; }
input:focus, select:focus, textarea:focus { outline: 2px solid #477454; outline-offset: 1px; }
.message { background: #e1f0df; }
footer { background: #20392b; }


/* Responsive form controls and quick contact links. */
.grid { grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); }
.grid > *, .booking > *, .row > *, label { min-width: 0; }
#booking-form > label { grid-template-columns: minmax(0, 1fr); }
.card, .price, .chips a { overflow-wrap: anywhere; }
.floating-contact {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 3;
  display: grid;
  gap: 8px;
  justify-items: end;
}
.floating-contact a {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 24px;
  background: #20392b;
  color: white;
  box-shadow: 0 2px 10px #0003;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
}
.floating-contact img { display: block; width: 32px; height: 32px; object-fit: contain; }
.floating-contact a:focus-visible { outline: 3px solid #477454; outline-offset: 3px; }
body:has(.floating-contact) footer { padding-bottom: 130px; }
@media (max-width: 700px) {
  header { flex-direction: column; gap: 14px; text-align: center; }
  nav { justify-content: center; flex-wrap: wrap; }
  .hero > div:first-child, .section-head, #booking > div { text-align: center; }
  .hero p, .section-head p { margin-left: auto; margin-right: auto; }
  .chips { justify-content: center; }
  form { width: 100%; min-width: 0; }
  input, select, textarea { min-width: 0; max-width: 100%; }
}
@media (max-width: 480px) {
  .row { flex-direction: column; }
}

/* iOS WebKit can size the native date field as content-box. */
@supports (-webkit-touch-callout: none) {
  #booking-form input[type="date"] {
    -webkit-appearance: none;
    appearance: none;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 44px;
  }
}

/* Public gallery and footer */
body:has(.site-footer) .button, body:has(.site-footer) button { border-radius: 6px; }
body:has(.site-footer) form { border-radius: 12px; }
#gallery { scroll-margin-top: 110px; }
.gallery-grid { --gallery-columns: 7; display: grid; grid-template-columns: repeat(var(--gallery-columns), minmax(0, 1fr)); gap: 12px; }
.gallery-item { position: relative; padding: 0; overflow: hidden; aspect-ratio: 1; background: #e4ece2; }
.gallery-item[hidden], .gallery-more[hidden], .gallery-dialog [hidden] { display: none; }
.gallery-item img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-play { position: absolute; inset: 0; display: grid; place-items: center; margin: auto; width: 2.5em; height: 2.5em; border-radius: 50%; background: #101612df; color: #fff; pointer-events: none; }
.gallery-caption {
  position: absolute;
  inset: auto 0 0;
  padding: 1.8em clamp(10px, 2vw, 22px) .75em;
  background: linear-gradient(transparent, #000b 50%, #000e);
  color: #fff;
  text-align: start;
  font-size: clamp(.875rem, 1.3vw, 1.0625rem);
  font-weight: 700;
  line-height: 1.3;
  overflow-wrap: anywhere;
  pointer-events: none;
}
.gallery-more { display: block; margin: 24px auto 0; }
.gallery-item:focus-visible, .gallery-more:focus-visible { outline: 3px solid #477454; outline-offset: 3px; }
@media (max-width: 1000px) {
  .gallery-grid { --gallery-columns: 5; }
}
@media (max-width: 700px) {
  .gallery-grid { --gallery-columns: 3; gap: 8px; }
  .gallery-item .gallery-caption { padding-inline: 6px; }
}

.gallery-dialog {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  border: 0;
  padding: max(14px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) max(18px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));
  background: #101612;
  color: #f6f3ec;
}
.gallery-dialog[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: 16px; }
body:has(.gallery-dialog[open]) { overflow: hidden; }
.gallery-toolbar { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 16px; padding-bottom: 12px; border-bottom: 1px solid #ffffff26; }
.gallery-toolbar h2 { margin: 0; font-size: clamp(1.125rem, 3vw, 1.75rem); overflow-wrap: anywhere; }
.gallery-counter { color: #e4c99e; font-size: .875rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.gallery-view { display: grid; grid-template: 'prev stage next' minmax(0, 1fr) / 48px minmax(0, 1fr) 48px; align-items: center; gap: 16px; }
.gallery-stage { grid-area: stage; align-self: stretch; container-type: size; display: grid; place-items: center; touch-action: pan-y pinch-zoom; }
.gallery-frame { position: relative; margin: 0; overflow: hidden; border-radius: 4px; }
.gallery-frame img { display: block; max-width: 100cqw; max-height: 100cqh; user-select: none; }
.gallery-frame.is-video { display: flex; flex-direction: column; max-height: 100cqh; width: min(100cqw, 900px); }
.gallery-frame video { display: block; width: 100%; min-height: 0; max-height: 100cqh; background: #000; }
.gallery-frame.is-video .gallery-caption { position: static; flex: 0 1 auto; max-height: 25cqh; overflow: auto; padding: .5em 0 0; background: none; pointer-events: auto; }
.gallery-video-error { margin: .5em 0 0; }
.gallery-frame.is-loading { opacity: 0; }
.gallery-empty { margin: 0; }
.gallery-dialog button { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 1px solid #ffffff38; background: #ffffff12; font-size: 1.75rem; line-height: 1; }
.gallery-dialog button:hover { background: #ffffff26; }
.gallery-dialog button:focus-visible { outline: 2px solid #e4c99e; outline-offset: 2px; }
.gallery-prev { grid-area: prev; }
.gallery-next { grid-area: next; }
.gallery-thumbnails {
  display: flex;
  justify-content: safe center;
  min-width: 0;
  gap: 8px;
  padding: 7px 4px;
  border-top: 1px solid #ffffff26;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scrollbar-color: #a18d6e transparent;
}
.gallery-dialog .gallery-thumbnail {
  position: relative;
  flex: 0 0 auto;
  width: clamp(44px, 9dvh, 68px);
  height: clamp(44px, 9dvh, 68px);
  border: 2px solid transparent;
  overflow: hidden;
}
.gallery-thumbnail img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbnail .gallery-play { font-size: .7rem; }
.gallery-dialog .gallery-thumbnail[aria-current="true"] { border-color: #e4c99e; }
.gallery-dialog .gallery-thumbnail:focus-visible { outline-offset: 1px; }
@media (max-width: 700px) {
  .gallery-dialog { padding-inline: max(12px, env(safe-area-inset-left)) max(12px, env(safe-area-inset-right)); }
  .gallery-view { grid-template: 'stage stage' minmax(0, 1fr) 'prev next' auto / 1fr 1fr; gap: 12px; }
  .gallery-prev { justify-self: end; }
  .gallery-next { justify-self: start; }
  .gallery-dialog .gallery-thumbnail { width: 52px; height: 52px; }
  #gallery { scroll-margin-top: 145px; }
}
@media (prefers-reduced-motion: reduce) {
  .gallery-item img { transition: none; }
}
.site-footer { padding: 60px 7% 25px; background: #20392b; color: #f6f3ec; letter-spacing: normal; font-size: 14px; }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 24px; border-bottom: 1px solid #ffffff33; padding-bottom: 30px; }
.footer-top .button { background: #e4c99e; color: #20392b; }
.footer-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 35px; padding: 25px 0; }
.footer-grid h3 { font: 22px 'Playfair Display'; margin: 15px 0; color: #e4c99e; }
.footer-grid a { display: block; margin: 10px 0; text-decoration: none; overflow-wrap: anywhere; }.footer-grid p { margin: 9px 0; }
.footer-grid .footer-row { display: flex; align-items: flex-start; gap: 10px; line-height: 1.5; }
.footer-icon { flex: 0 0 16px; width: 16px; height: 16px; margin-top: 2px; color: #e4c99e; }
.footer-brand-icon { object-fit: contain; }
.footer-map { max-width: 480px; margin: 20px 0 0; overflow: hidden; border-radius: 8px; }
.footer-map iframe { display: block; width: 100%; height: 220px; border: 0; }
.footer-bottom { width: fit-content; max-width: 100%; margin: 0 auto; border-top: 1px solid #ffffff33; padding-top: 12px; font-size: 12px; text-align: center; }
body:has(.floating-contact) .site-footer { padding-bottom: 25px; }
body:has(.site-footer) .floating-contact a { width: 52px; height: 52px; min-height: 52px; padding: 0; border-radius: 50%; background: #fff; color: #20392b; border: 1.5px solid #c6a975; transition: transform .2s, box-shadow .2s; }
body:has(.site-footer) .floating-contact a:hover { transform: scale(1.08); box-shadow: 0 6px 20px #c6a97566; }
@media(min-width:701px) and (max-width:1000px) { .footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media(max-width:700px) { .footer-grid { grid-template-columns: 1fr; gap: 10px; } .footer-top { align-items: flex-start; flex-direction: column; } body:has(.site-footer) .floating-contact { display: grid; } }

/* Persistent language switcher */
.floating-language { position: fixed; left: max(16px, env(safe-area-inset-left)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 3; min-height: 52px; display: flex; align-items: center; gap: 7px; padding: 0 16px; border: 1.5px solid #c6a975; border-radius: 26px; background: #fff; color: #20392b; box-shadow: 0 2px 10px #0003; text-decoration: none; font-size: 14px; font-weight: 700; }
.floating-language img { display: block; width: 28px; height: 20px; object-fit: cover; border-radius: 2px; }
.floating-language:hover { background: #f6f3ec; }
.floating-language:focus-visible { outline: 3px solid #477454; outline-offset: 3px; }

/* Booking actions */
.booking-action { display: inline-flex; align-items: center; justify-content: center; gap: 9px; }
.booking-action::before { content: ""; flex: 0 0 18px; width: 18px; height: 18px; background: currentColor; mask: url("calendar.webp") center / contain no-repeat; -webkit-mask: url("calendar.webp") center / contain no-repeat; }

/* Service cards and package pricing */
.service-list { display: grid; gap: 28px; }
.service-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  scroll-margin-top: 105px;
  overflow: hidden;
  border: 1px solid #d9e2d7;
  border-radius: 20px;
  background: #eaf0e8;
  box-shadow: 0 8px 28px #20392b0b;
}
.service-intro { display: grid; grid-template-columns: minmax(0, 1fr); }
.has-cover .service-intro { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.service-heading { display: flex; flex-direction: column; justify-content: center; min-width: 0; padding: clamp(24px, 4vw, 56px); }
.service-heading h3 { margin: 0; font-size: clamp(29px, 4vw, 43px); line-height: 1.12; overflow-wrap: anywhere; }
.service-description { margin: 18px 0 0; color: #41534a; line-height: 1.6; overflow-wrap: anywhere; }
.service-heading .service-price { margin: 18px 0 0; }
.service-gallery { align-self: flex-start; margin-top: 20px; min-height: 44px; padding: 8px 13px; border: 1px solid #20392b; border-radius: 7px; background: transparent; color: #20392b; font-size: 14px; }
.service-gallery:hover { background: #dbe7d9; }
.service-gallery:focus-visible { outline: 2px solid #477454; outline-offset: 3px; }
.service-image { display: flex; align-items: center; justify-content: flex-end; min-width: 0; }
.service-card .service-cover { display: block; width: auto; max-width: 100%; height: auto; max-height: 360px; }
.service-content { padding: 0 clamp(20px, 3.5vw, 46px) clamp(20px, 3.5vw, 46px); min-width: 0; }
.has-cover .service-content { padding-top: clamp(20px, 3.5vw, 46px); }
.package-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 16px; }
.package-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  padding: clamp(16px, 2.5vw, 26px);
  border: 1px solid #dbe3d9;
  border-radius: 14px;
  background: #fffefa;
  overflow-wrap: anywhere;
}
.package-heading { display: flex; justify-content: space-between; align-items: start; gap: 12px; }
.package-heading > div { min-width: 0; }
.package-heading h4 { color: #20392b; line-height: 1.2; }
.package-card .package-cover { flex: 0 0 auto; width: 64px; height: 56px; object-fit: cover; border-radius: 6px; }
.package-brand { margin: 5px 0 0; color: #44604f; font-size: 14px; font-weight: 700; }
.package-description, .package-note, .service-note { margin: 0; color: #41534a; font-size: 14px; line-height: 1.55; }
.service-note { margin-top: 18px; }
.package-prices { width: 100%; border-collapse: collapse; font-size: 14px; }
.package-prices th, .package-prices td { padding: 8px 0; border-bottom: 1px solid #e5e9e0; text-align: left; }
.package-prices thead th { color: #41534a; }
.package-prices th:first-child { padding-right: 12px; }
.package-prices td, .package-prices th:last-child { text-align: right; }
.package-prices td { color: #28573b; font-weight: 700; }
.package-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 3px; }
.package-actions > * { display: inline-flex; justify-content: center; align-items: center; min-height: 44px; padding: 8px 13px; border: 1px solid #20392b; border-radius: 7px; font-size: 14px; text-align: center; }
.package-actions button:disabled { background: #e4e9e2; border-color: #c6d1c7; color: #4f6056; cursor: default; }
.package-card :focus-visible { outline: 2px solid #477454; outline-offset: 3px; }

@media (max-width: 700px) {
  .has-cover .service-intro { grid-template-columns: minmax(0, 1fr); }
  .service-image { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

.time-field { border: 0; padding: 0; margin: 0; min-width: 0; }
.time-field legend { margin-bottom: 10px; }
.time-slots { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 7px; }
.time-slots label { display: block; position: relative; }
.time-slots input { position: absolute; opacity: 0; }
.time-slots span { display: block; text-align: center; padding: 10px 2px; border: 1px solid #b9c9bb; border-radius: 4px; background: white; cursor: pointer; font-size: 13px; }
.time-slots input:checked + span { background: #20392b; color: white; border-color: #20392b; }
.time-slots input:focus-visible + span { outline: 2px solid #477454; outline-offset: 2px; }
.time-slots input:disabled + span { opacity: .4; cursor: not-allowed; }
@media (max-width: 600px) { .time-slots { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

@media (max-height: 430px) {
  .floating-contact { gap: 4px; max-height: calc(100dvh - 32px); overflow-y: auto; }
  body:has(.site-footer) .floating-contact a { width: 44px; height: 44px; min-height: 44px; }
  .floating-contact img { width: 27px; height: 27px; }
}

/* Salon logo */
.brand { display: inline-flex; align-items: center; gap: 12px; line-height: 1.2; max-width: 100%; text-align: left; }
.brand img { display: block; width: 88px; max-width: 100%; height: auto; }
.site-footer .brand img { width: 120px; }
@media (max-width: 700px) { header .brand img { width: 72px; } }
