/* Hiên Bưởi (spa-salon 4.0): a herbal head-spa down an alley. Cream paper, deep teal, pomelo yellow; a centred
   name with a leaf mark, a photo band with an overlapping teal card, photos with an offset yellow frame, the price
   list grouped by service, a call/book dock on phones. Fonts: Josefin Sans (headings) + Be Vietnam Pro (text). */
:root {
  --cream: #faf5e8;
  --paper: #fffdf6;
  --teal: #1f4f4c;
  --teal-2: #2c6662;
  --pomelo: #efc04a;
  --leaf: #7ea36c;
  --ink: #233130;
  --mute: #5f6b69;
  --line: rgba(31, 79, 76, 0.16);
  --k-font: 'Be Vietnam Pro', system-ui, sans-serif;
  --k-font-display: 'Josefin Sans', system-ui, sans-serif;
  --k-accent: #1f4f4c;
  --k-accent-ink: #fffdf6;
  --k-ink: #233130;
  --k-paper: #fffdf6;
  --k-muted: #5f6b69;
  --k-line: rgba(31, 79, 76, 0.18);
  --k-radius: 10px;
}

body {
  background: var(--cream);
  color: var(--ink);
  font: 400 16px/1.6 'Be Vietnam Pro', system-ui, sans-serif;
  padding-bottom: 68px;
}
a {
  color: inherit;
}
h1,
h2,
h3 {
  margin: 0;
  font-family: 'Josefin Sans', system-ui, sans-serif;
  font-weight: 700;
}
p {
  margin: 0 0 12px;
}
.plain {
  margin: 0;
  padding: 0;
  list-style: none;
}
.wrap {
  width: min(1120px, 100% - 32px);
  margin-inline: auto;
}
.h1 {
  margin-bottom: 12px;
  font-size: clamp(30px, 7.6vw, 48px);
  line-height: 1.12;
}
.h2 {
  margin-bottom: 18px;
  font-size: clamp(26px, 6vw, 36px);
  line-height: 1.15;
  color: var(--teal);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 22px;
  border: 2px solid var(--pomelo);
  border-radius: 10px;
  background: var(--pomelo);
  color: var(--ink);
  font: 700 16px/1 'Be Vietnam Pro', sans-serif;
  text-decoration: none;
  cursor: pointer;
}
.btn-line {
  background: transparent;
  color: inherit;
}
.btn-sm {
  min-height: 42px;
  padding: 0 16px;
  font-size: 15px;
}
.btn-wide {
  width: 100%;
}
.link {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--teal);
  font-weight: 700;
  text-decoration: none;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

/* header */
.strip {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--pomelo);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}
.strip .k-icon {
  flex: none;
}
.hdr {
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 20px 16px 0;
  text-align: center;
}
.brand {
  display: grid;
  justify-items: center;
  gap: 4px;
  text-decoration: none;
}
.leafy {
  width: 52px;
  height: 26px;
}
.leafy path {
  fill: var(--leaf);
}
.leafy circle {
  fill: var(--pomelo);
}
.brand-name {
  font: 700 32px/1 'Josefin Sans', sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
}
.brand-sub {
  font-size: 14px;
  color: var(--mute);
}
.nav {
  display: flex;
  justify-content: center;
  gap: 4px 22px;
  width: 100%;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.nav a {
  padding: 8px 2px;
  font: 600 17px/1.2 'Josefin Sans', sans-serif;
  text-decoration: none;
  border-bottom: 3px solid transparent;
}
.nav a[aria-current] {
  border-bottom-color: var(--pomelo);
  color: var(--teal);
}

/* hero */
.hero {
  padding-top: 18px;
}
.hero-img {
  height: 280px;
  background-size: cover;
  background-position: center 30%;
}
.hero-card {
  position: relative;
  margin-top: -72px;
  padding: 24px 22px;
  border-radius: 14px;
  background: var(--teal);
  color: #e9f0e6;
}
.hero-card .h1 {
  color: #fffdf6;
}

/* three points */
.points {
  display: grid;
  gap: 14px;
  padding-top: 28px;
}
.point {
  display: grid;
  grid-template-columns: 44px 1fr;
  column-gap: 12px;
}
.point .k-icon {
  grid-row: span 2;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 50%;
  background: #f3e7c2;
  color: var(--teal);
}
.point b {
  font: 700 18px/1.3 'Josefin Sans', sans-serif;
}
.point span {
  color: var(--mute);
}

/* sections */
.sec {
  padding-top: 48px;
}

/* favourites with offset frame */
.favs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px 16px;
}
.fav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}
.fav-pic {
  display: block;
  width: calc(100% - 8px);
  margin-bottom: 14px;
  box-shadow: 8px 8px 0 var(--pomelo);
  border-radius: 10px;
}
.fav-pic img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 10px;
}
.fav-name {
  font-size: 18px;
  line-height: 1.3;
}
.fav-name a {
  text-decoration: none;
}
.fav-meta {
  margin: 4px 0 10px;
  color: var(--mute);
  font-size: 15px;
}
.fav-meta b {
  color: var(--teal);
}
.fav .btn {
  margin-top: auto;
}

/* price board */
.board-sec {
  margin-top: 48px;
  padding: 44px 0;
  background: var(--paper);
  border-block: 1px solid var(--line);
}
.board-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 16px;
  margin-bottom: 8px;
}
.groups {
  display: grid;
  gap: 24px;
}
.group-name {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--teal);
  font-size: 22px;
  color: var(--teal);
}
.group-name .k-icon {
  color: var(--leaf);
}
.line {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
}
.line-main {
  display: grid;
  min-width: 0;
}
.line-name {
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
}
.line-unit {
  font-size: 15px;
  color: var(--mute);
}
.line-end {
  display: grid;
  justify-items: end;
  gap: 6px;
}
.line-price {
  color: var(--teal);
  white-space: nowrap;
}
.mini {
  min-height: 36px;
  padding: 0 14px;
  border: 1.5px solid var(--teal);
  border-radius: 8px;
  background: transparent;
  color: var(--teal);
  font: 700 14px/1 'Be Vietnam Pro', sans-serif;
  cursor: pointer;
}
.mini:hover {
  background: var(--teal);
  color: #fffdf6;
}
.line-img {
  grid-template-columns: 76px 1fr;
  align-items: start;
}
.line-img .line-end {
  grid-column: 2;
  grid-auto-flow: column;
  justify-content: space-between;
  align-items: center;
}
.line-pic img {
  width: 76px;
  height: 76px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 4px 4px 0 var(--pomelo);
}
.line-short {
  margin: 2px 0 2px;
  font-size: 15px;
  color: var(--mute);
}

/* gallery */
.pics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.pics img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 10px;
}
.pics img:first-of-type {
  grid-column: span 2;
  aspect-ratio: 16 / 9;
}

/* reviews */
.revs {
  display: grid;
  gap: 14px;
}
.rev {
  margin: 0;
  padding: 20px;
  border-left: 4px solid var(--pomelo);
  border-radius: 4px 12px 12px 4px;
  background: var(--paper);
}
.rev-stars {
  margin-bottom: 6px;
  color: #d39b14;
  letter-spacing: 2px;
}
.rev blockquote {
  margin: 0 0 12px;
}
.rev figcaption {
  font-size: 15px;
  color: var(--mute);
}
.rev figcaption b {
  color: var(--ink);
}

/* faq */
.faq {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  position: relative;
  padding: 16px 32px 16px 0;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '▾';
  position: absolute;
  right: 4px;
  top: 14px;
  color: var(--teal);
}
.faq[open] summary::after {
  content: '▴';
}
.faq p {
  color: var(--mute);
}

/* contact */
.contact {
  display: grid;
  gap: 20px;
  padding-bottom: 48px;
}
.addr {
  display: flex;
  gap: 8px;
  font-weight: 600;
}
.addr .k-icon {
  flex: none;
  margin-top: 3px;
  color: var(--teal);
}
.hours li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}
.map {
  min-height: 280px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 8px 8px 0 var(--pomelo);
}

/* footer */
.ftr {
  padding: 36px 0 20px;
  background: var(--teal);
  color: #dbe6df;
}
.ftr-in {
  display: grid;
  gap: 20px;
}
.ftr-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font: 700 24px/1 'Josefin Sans', sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fffdf6;
}
.ftr-brand .leafy {
  width: 40px;
  height: 20px;
}
.ftr-h {
  margin-bottom: 6px;
  font: 700 15px/1.3 'Josefin Sans', sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pomelo);
}

/* phone dock */
.dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  height: 68px;
  padding: 10px 12px;
  background: var(--paper);
  border-top: 1px solid var(--line);
}
.dock-call,
.dock-book {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 10px;
  font: 700 16px/1 'Be Vietnam Pro', sans-serif;
  text-decoration: none;
  cursor: pointer;
}
.dock-call {
  border: 2px solid var(--teal);
  background: transparent;
  color: var(--teal);
}
.dock-book {
  border: 2px solid var(--teal);
  background: var(--teal);
  color: #fffdf6;
}

/* list page */
.page {
  padding: 28px 0 48px;
}
.page-title {
  color: var(--teal);
}
.page-lead {
  color: var(--mute);
  margin-bottom: 24px;
}

/* detail */
.back {
  margin-bottom: 18px;
}
.dt-grid {
  display: grid;
  gap: 24px;
}
.dt-pic {
  width: calc(100% - 10px);
  box-shadow: 10px 10px 0 var(--pomelo);
  border-radius: 12px;
}
.dt-pic img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
}
.dt-cat {
  margin-bottom: 6px;
  color: var(--leaf);
  font-weight: 700;
}
.dt-short {
  color: var(--mute);
}
.dt-price {
  font: 700 28px/1.2 'Josefin Sans', sans-serif;
  color: var(--teal);
}
.dt-price small {
  font: 400 15px/1 'Be Vietnam Pro', sans-serif;
  color: var(--mute);
}
.dt-opts {
  margin-bottom: 14px;
}
.dt-attrs {
  margin: 18px 0;
}
.dt-attrs li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
}
.dt-attrs span {
  color: var(--mute);
}
.dt-attrs b {
  text-align: right;
}

/* booking */
.bk {
  max-width: 560px;
  margin-inline: auto;
}
.bk-sum {
  margin-bottom: 16px;
  padding: 16px 18px;
  border-radius: 12px;
  background: var(--teal);
  color: #dbe6df;
}
.bk-sum p {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  padding: 6px 0;
}
.bk-sum b {
  color: #fffdf6;
  text-align: right;
}
.bk-item:empty::before {
  content: 'Chọn trong form';
  font-weight: 400;
  opacity: 0.8;
}
.bk-form {
  padding: 20px;
  border-radius: 12px;
  background: var(--paper);
  border: 1px solid var(--line);
}
.bk-note {
  margin-top: 14px;
  font-size: 15px;
  color: var(--mute);
}

@media (min-width: 720px) {
  body {
    padding-bottom: 0;
  }
  .dock {
    display: none;
  }
  .hero-img {
    height: 440px;
  }
  .hero-card {
    max-width: 620px;
    margin-top: -140px;
    padding: 32px 36px;
  }
  .points {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
  .favs {
    grid-template-columns: repeat(4, 1fr);
    gap: 28px 24px;
  }
  .groups {
    display: block;
    columns: 2;
    column-gap: 48px;
  }
  .group {
    break-inside: avoid;
    margin-bottom: 32px;
  }
  .pics {
    grid-template-columns: 2fr 1fr 1fr;
  }
  .pics img:first-of-type {
    grid-column: auto;
    aspect-ratio: auto;
    height: 100%;
  }
  .pics img {
    aspect-ratio: 3 / 4;
  }
  .revs {
    grid-template-columns: repeat(3, 1fr);
  }
  .contact {
    grid-template-columns: 1fr 1.3fr;
    gap: 40px;
  }
  .ftr-in {
    grid-template-columns: 1.2fr 1fr 1fr;
  }
  .line-img {
    grid-template-columns: 96px 1fr auto;
  }
  .line-img .line-end {
    grid-column: auto;
    grid-auto-flow: row;
    justify-items: end;
  }
  .line-pic img {
    width: 96px;
    height: 96px;
  }
  .dt-grid {
    grid-template-columns: 1.1fr 1fr;
    gap: 48px;
    align-items: start;
  }
}
