:root {
  /* Rebrand palette tuned darker toward warm gray / taupe */
  --bg-main: #E3DDD8;
  --bg-soft: #D8D0CB;
  --bg-card: #EEE8E4;

  --accent: #8D090A;
  --accent-dark: #6F0405;
  --accent-deep: #4F0203;
  --accent-soft: #CD9F9C;

  --text-main: #261514;
  --text-soft: #5D3B37;
  --text-faint: #7A625D;

  --border-soft: #C9BDB8;
  --shadow-soft: rgba(43, 21, 20, 0.12);

  --surface-96: rgba(238, 232, 228, 0.96);
  --surface-92: rgba(233, 226, 221, 0.92);
  --surface-90: rgba(228, 220, 215, 0.90);
  --surface-86: rgba(222, 213, 208, 0.86);
  --surface-78: rgba(215, 205, 200, 0.78);
  --surface-72: rgba(209, 199, 194, 0.72);

  --accent-08: rgba(141, 9, 10, 0.08);
  --accent-10: rgba(141, 9, 10, 0.10);
  --accent-12: rgba(141, 9, 10, 0.12);
  --accent-18: rgba(141, 9, 10, 0.18);
  --accent-35: rgba(141, 9, 10, 0.35);
  --accent-45: rgba(141, 9, 10, 0.45);
  --accent-55: rgba(141, 9, 10, 0.55);
  --accent-70: rgba(141, 9, 10, 0.70);

  --danger: #A83232;
  --danger-dark: #8D2020;
  --danger-12: rgba(168, 50, 50, 0.12);
  --danger-18: rgba(168, 50, 50, 0.18);
  --danger-22: rgba(168, 50, 50, 0.22);
  --danger-45: rgba(168, 50, 50, 0.45);
  --danger-65: rgba(168, 50, 50, 0.65);

  --input-bg: #E8E1DD;
  --img-ph: #D2C7C1;

  --topbar-h: 60px;
}


* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: system-ui, Arial, sans-serif;
  line-height: 1.45;
  background: var(--bg-main);
  color: var(--text-main);
}

a {
  -webkit-tap-highlight-color: transparent;
}

img {
  max-width: 100%;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--surface-92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-soft);
}



.topbar {
  height: var(--topbar-h);
  min-height: var(--topbar-h);
  align-items: center;
}


/* --- Topbar logo clamp (prevents huge header if image has intrinsic 512x512) --- */
.brandMarkWrap{
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.brandMarkSvg{
  width: 34px;
  height: 34px;
  display: block;
  object-fit: contain;
}
.brandMarkSvgDark{ display: none; }

/* Dark-mode hook (optional): swap to the 'dark' variant) */
html[data-theme="dark"] .brandMarkSvgLight,
body[data-theme="dark"] .brandMarkSvgLight,
html.theme-dark .brandMarkSvgLight,
body.theme-dark .brandMarkSvgLight{ display:none; }

html[data-theme="dark"] .brandMarkSvgDark,
body[data-theme="dark"] .brandMarkSvgDark, 
html.theme-dark .brandMarkSvgDark,
body.theme-dark .brandMarkSvgDark{ display:block; }


.brand {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--accent-deep);
}

.brandLink {
  text-decoration: none;
}

.brandLink:hover {
  opacity: 0.92;
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 20px 16px 36px;
}

.detailWrap {
  max-width: 1180px;
}

.homeWrap,
.simplePageWrap {
  max-width: 1120px;
}

.h1 {
  margin: 8px 0 6px;
  font-size: 30px;
  line-height: 1.1;
  font-weight: 600;
  color: var(--text-main);
}

.pageIntro {
  margin-bottom: 18px;
  color: var(--text-soft);
  font-size: 15px;
}

.lang {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.lang select {
  margin-left: 6px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid var(--border-soft);
  background: var(--bg-card);
  color: var(--text-main);
}

.backRow {
  margin-bottom: 16px;
}

.backLink {
  display: inline-block;
  color: var(--accent-deep);
  text-decoration: none;
  font-weight: 600;
}

.backLink:hover {
  text-decoration: underline;
}

/* Directory page */

.filters {
  position: sticky;
  top: var(--topbar-h);
  z-index: 15;
  background: linear-gradient(to bottom, var(--bg-main) 85%, rgba(227, 221, 216, 0));
  padding: 10px 0 14px;
}

.filtersInner {
  background: var(--surface-90);
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  padding: 14px;
  box-shadow: 0 8px 24px var(--shadow-soft);
}

.filterRow {
  display: flex;
  gap: 10px;
  align-items: center;
}

#nameFilter {
  flex: 1;
  width: auto;
  padding: 12px 14px;
  font-size: 16px;
  background: var(--input-bg);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  color: var(--text-main);
  outline: none;
}

#nameFilter:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-12);
}

#clearFilters {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border-soft);
  background: var(--bg-card);
  color: var(--text-main);
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
}

#clearFilters:hover {
  background: var(--bg-soft);
}

.tagRow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.chip {
  user-select: none;
}

.chip input {
  display: none;
}

.chip span {
  display: inline-block;
  padding: 10px 13px;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  background: var(--bg-card);
  color: var(--text-soft);
  font-size: 14px;
  transition: all 0.15s ease;
}

.chip input:checked + span,
.chip.isActive span {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.card {
  background: transparent;
  border: none;
  border-radius: 0;
  overflow: visible;
  padding: 0;
  box-shadow: none;
}

.cardLink {
  display: block;
  color: inherit;
  text-decoration: none;
}

.cardLink:active {
  opacity: 0.9;
}

.photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  height: auto;
  object-fit: cover;
  object-position: center top;
  display: block;
  border-radius: 2px;
  background: var(--img-ph);
}

.name {
  margin-top: 6px;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 700;
  color: var(--text-main);
  text-align: center;
}

.tags {
  margin-top: 2px;
  color: var(--text-soft);
  font-size: 12px;
  line-height: 1.25;
  text-align: center;
}

.cardMeta {
  margin-top: 4px;
  color: var(--text-soft);
  font-size: 11px;
  line-height: 1.25;
  text-align: center;
}

.cardStatRow + .cardStatRow {
  margin-top: 1px;
}

/* Detail page */

.detailCard {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.detailLeft {
  background: var(--bg-soft);
  border: 1px solid var(--border-soft);
  border-radius: 24px;
  padding: 20px;
  box-shadow: 0 8px 24px var(--shadow-soft);
}

.detailName {
  margin: 0;
  font-size: 34px;
  line-height: 1.05;
  color: var(--accent-deep);
}

.detailTags {
  margin-top: 10px;
  color: var(--text-soft);
  font-size: 16px;
}

.statsPanel {
  margin-top: 18px;
  display: grid;
  gap: 10px;
}

.statBox {
  background: var(--surface-78);
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  padding: 14px 16px;
}

.statLabel {
  font-size: 13px;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.statValue {
  margin-top: 4px;
  font-size: 20px;
  color: var(--text-main);
  font-weight: 600;
}

.pricePanel {
  margin-top: 18px;
  background: var(--surface-78);
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  padding: 12px 16px;
}

.priceRow {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(222, 193, 189, 0.60);
  color: var(--text-main);
}

.priceRow:last-child {
  border-bottom: none;
}

.outcallPanel {
  margin-top: 18px;
  background: var(--surface-78);
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  padding: 14px 16px;
}

.outcallLabel {
  font-size: 13px;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.outcallValue {
  margin-top: 6px;
  font-size: 22px;
  font-weight: 700;
  color: var(--accent-deep);
}

.detailRight {
  min-width: 0;
}

.mainImageWrap {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: 24px;
  padding: 12px;
  box-shadow: 0 8px 24px var(--shadow-soft);
}

.mainProfileImage {
  width: 100%;
  max-width: 520px;
  aspect-ratio: 3 / 4;
  height: auto;
  object-fit: contain;
  object-position: center top;
  display: block;
  margin: 0 auto;
  border-radius: 18px;
  background: var(--img-ph);
  opacity: 0;
  transition: opacity 180ms ease;
}

.mainProfileImage.is-visible {
  opacity: 1;
}

.thumbGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.thumbBtn {
  border: 1px solid var(--border-soft);
  background: var(--bg-card);
  padding: 6px;
  border-radius: 14px;
  cursor: pointer;
  box-shadow: 0 4px 12px var(--shadow-soft);
  overflow: hidden;
  transition: transform 120ms ease, box-shadow 120ms ease, border-color 120ms ease;
}

.thumbBtn:hover {
  transform: translateY(-1px);
}

.thumbBtn.isActive {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent-18);
}

.thumbImage {
  width: 100%;
  aspect-ratio: 3 / 4;
  height: auto;
  object-fit: cover;
  object-position: center top;
  display: block;
  border-radius: 10px;
  background: var(--img-ph);
}

/* Home + simple pages */

.homeHero {
  margin-bottom: 18px;
}

.heroPanel,
.pagePanel {
  background: var(--surface-92);
  border: 1px solid var(--border-soft);
  border-radius: 24px;
  padding: 22px;
  box-shadow: 0 8px 24px var(--shadow-soft);
}

.pagePanelSoft {
  margin-top: 16px;
  background: var(--surface-72);
}

.heroKicker {
  display: inline-block;
  margin-bottom: 10px;
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--accent-12);
  color: var(--accent-deep);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.homeTitle {
  margin: 0;
  font-size: clamp(34px, 6vw, 48px);
  line-height: 1.08;
  font-weight: 600;
  color: var(--accent-deep);
}

.homeIntro {
  max-width: 720px;
  margin-bottom: 0;
}

.pageTitle {
  margin-bottom: 6px;
}

.quickLinks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.quickLink {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 11px 14px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--text-main);
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  transition: background 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
}

.quickLink:hover {
  background: var(--bg-soft);
  transform: translateY(-1px);
}

.quickLinkPrimary {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}

.quickLinkPrimary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

.homeSection {
  margin-top: 18px;
}

.sectionGrid,
.panelGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.homeCard,
.simplePanel {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: 22px;
  padding: 18px;
  box-shadow: 0 6px 18px var(--shadow-soft);
}

.homeCard {
  display: block;
  text-decoration: none;
  color: inherit;
  min-height: 188px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.homeCard:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(43, 21, 20, 0.12);
}

.homeCardFeatured {
  background: linear-gradient(180deg, rgba(205, 159, 156, 0.18), rgba(238, 232, 228, 0.96));
}

.homeCardKicker {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--text-faint);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.homeCardTitle,
.panelTitle {
  margin: 0;
  font-size: 22px;
  line-height: 1.15;
  color: var(--text-main);
}

.homeCardText,
.panelText {
  margin: 10px 0 0;
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.55;
}

.homeCardArrow {
  position: absolute;
  right: 18px;
  bottom: 16px;
  color: var(--accent-deep);
  font-size: 20px;
  font-weight: 700;
}

.emptyGallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.emptyThumb {
  aspect-ratio: 4 / 5;
  border-radius: 22px;
  border: 1px dashed var(--border-soft);
  background: linear-gradient(180deg, rgba(205, 159, 156, 0.14), rgba(233, 226, 221, 0.94));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.35);
}

@media (max-width: 900px) {
/*
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
*/

  .detailCard {
    grid-template-columns: 1fr;
  }

  .detailLeft {
    order: 2;
  }

  .detailRight {
    order: 1;
  }

  .mainProfileImage {
    max-width: 440px;
  }

  .emptyGallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .detailName {
    font-size: 28px;
  }

  .thumbGrid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .heroPanel,
  .pagePanel,
  .homeCard,
  .simplePanel,
  .emptyThumb {
    border-radius: 18px;
  }

  .heroPanel,
  .pagePanel {
    padding: 18px;
  }

  .homeTitle {
    font-size: 30px;
  }

  .sectionGrid,
  .panelGrid {
    grid-template-columns: 1fr;
  }

  .quickLinks {
    flex-direction: column;
  }

  .quickLink {
    width: 100%;
  }

  .homeCard {
    min-height: 0;
  }

  .homeCardArrow {
    position: static;
    display: inline-block;
    margin-top: 12px;
  }
}

@media (max-width: 560px) {
  .filterRow {
    flex-direction: column;
    align-items: stretch;
  }

  #clearFilters {
    width: 100%;
  }

/*
  .grid {
    grid-template-columns: 1fr;
  }
  */
}

@media (max-width: 420px) {
  .detailLeft {
    padding: 16px;
    border-radius: 18px;
  }

  .mainImageWrap {
    padding: 8px;
    border-radius: 18px;
  }

  .mainProfileImage {
    max-width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: 14px;
  }

  .thumbImage {
    aspect-ratio: 3 / 4;
  }

  .thumbGrid {
    gap: 8px;
  }
}

@media (min-width: 900px) {
  .name {
    font-size: 19px;   /* opt increase to 20px */
    line-height: 1.2;
    margin-top: 8px;
  }

  .tags {
    font-size: 15px;
    line-height: 1.3;
    margin-top: 3px;
  }

  .cardMeta {
    font-size: 14px;      /* opt increase to 15px */
    line-height: 1.35;
    margin-top: 6px;
  }
}



/* Shop gallery */

.shopGalleryShell {
  margin-top: 18px;
}

.shopGallery {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}

.tile {
  margin: 0;
  background: var(--surface-72);
  border: 1px solid rgba(222, 193, 189, 0.75);
  border-radius: 24px;
  padding: 10px;
  box-shadow: 0 8px 24px rgba(43, 21, 20, 0.08);
  overflow: hidden;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(43, 21, 20, 0.12);
}

.tile img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 18px;
  object-fit: cover;
  background: var(--img-ph);
}

.tile--portrait {
  grid-column: span 4;
  aspect-ratio: 3 / 4;
}

.tile--wide {
  grid-column: span 8;
  aspect-ratio: 16 / 10;
}

.tile--square {
  grid-column: span 4;
  aspect-ratio: 1 / 1;
}

.tile--tilt-left {
  transform: rotate(-1.2deg);
}

.tile--tilt-right {
  transform: rotate(1.2deg);
}

.tile--lift {
  transform: translateY(-8px);
}

.tile--tilt-left:hover {
  transform: rotate(-1.2deg) translateY(-2px);
}

.tile--tilt-right:hover {
  transform: rotate(1.2deg) translateY(-2px);
}

.tile--lift:hover {
  transform: translateY(-10px);
}

@media (max-width: 900px) {
  .shopGallery {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
  }

  .tile--portrait,
  .tile--square {
    grid-column: span 3;
  }

  .tile--wide {
    grid-column: span 6;
  }
}

@media (max-width: 640px) {
  .shopGallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .tile,
  .tile--tilt-left,
  .tile--tilt-right,
  .tile--lift {
    transform: none;
  }

  .tile--portrait,
  .tile--square,
  .tile--wide {
    grid-column: span 1;
    aspect-ratio: 4 / 5;
    border-radius: 18px;
  }

  .tile {
    padding: 8px;
    border-radius: 20px;
  }

  .tile img {
    border-radius: 14px;
  }
}




/* Services image showcase */

.servicesShowcase {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}

.servicesPromoGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.servicesPromoGrid--single {
  grid-template-columns: minmax(0, 680px);
  justify-content: center;
}

.serviceMenusGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.serviceMediaCard {
  background: var(--surface-92);
  border: 1px solid var(--border-soft);
  border-radius: 24px;
  padding: 12px;
  box-shadow: 0 8px 24px var(--shadow-soft);
}

.serviceMediaCardPayment {
  padding: 12px;
}

.serviceMediaCardPromo {
  padding: 12px;
}

.serviceMediaLinkPromo {
  display: block;
}

.serviceMediaImagePromo {
  width: 100%;
  height: auto;
  display: block;
}

.serviceBadgeRow {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 10px;
}

.serviceBadge {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--accent-12);
  color: var(--accent-deep);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.serviceMediaLink {
  display: block;
  text-decoration: none;
}

.serviceMediaImage {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
  background: var(--img-ph);
}

.serviceMediaLinkPayment {
  max-width: 900px;
  margin: 0 auto;
}

.serviceMediaImagePayment {
  width: 100%;
}

@media (max-width: 760px) {
  .servicesPromoGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .servicesPromoGrid--single {
    grid-template-columns: minmax(0, 1fr);
  }

  .serviceMenusGrid {
    grid-template-columns: 1fr;
  }

  .serviceMediaCard,
  .serviceMediaCardPayment,
  .serviceMediaCardPromo {
    border-radius: 20px;
    padding: 10px;
  }

  .serviceMediaImage {
    border-radius: 14px;
  }
}





/* Contact page */

.contactPage {
  padding-bottom: 28px;
}

.contactHero {
  margin-bottom: 16px;
}

.contactBranchGrid {
  display: grid;
  gap: 18px;
}

.contactBranchCard {
  background: var(--surface-96);
  border: 1px solid rgba(222, 193, 189, 0.82);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(43, 21, 20, 0.08);
}

.contactBranchHead {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 18px 14px;
  background:
    linear-gradient(
      180deg,
      var(--surface-72) 0%,
      rgba(238, 232, 228, 0.20) 100%
    );
  border-bottom: 1px solid rgba(222, 193, 189, 0.68);
}

.contactBranchKicker {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--text-faint);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.contactBranchTitle {
  margin: 0;
}

.contactHoursCard {
  min-width: 220px;
  padding: 12px 14px;
  background: rgba(238, 232, 228, 0.95);
  border: 1px solid rgba(222, 193, 189, 0.75);
  border-radius: 18px;
}

.contactHoursLine {
  color: var(--text-main);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}

.contactHoursSub {
  margin-top: 4px;
  color: var(--text-faint);
  font-size: 13px;
  line-height: 1.45;
}

.contactBranchBody {
  display: grid;
  gap: 18px;
  padding: 18px;
}

.contactInfoBlock {
  display: grid;
  gap: 10px;
}

.contactInfoLabel {
  color: var(--text-faint);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.contactAddressGroup {
  display: grid;
  gap: 10px;
}

.contactAddressText {
  color: var(--text-main);
  font-size: 15px;
  line-height: 1.65;
}

.contactAddressThai {
  color: var(--text-soft);
}

.contactMapWrap {
  display: grid;
  gap: 10px;
}

.contactMapFrame {
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(222, 193, 189, 0.80);
  background: var(--img-ph);
  box-shadow: 0 6px 16px rgba(43, 21, 20, 0.07);
}

.contactMapFrame iframe {
  width: 100%;
  height: 340px;
  display: block;
  border: 0;
}

.contactMapActions {
  display: flex;
  justify-content: flex-start;
}

.contactMapLink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.contactMapLink:hover {
  text-decoration: underline;
}

.contactMethodList {
  display: grid;
  gap: 10px;
}

.contactMethodRow {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  border: 1px solid rgba(222, 193, 189, 0.78);
  border-radius: 16px;
  background: var(--surface-86);
  text-decoration: none;
  color: inherit;
  transition:
    transform 0.14s ease,
    box-shadow 0.14s ease,
    border-color 0.14s ease;
}

.contactMethodRow:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(43, 21, 20, 0.08);
  border-color: var(--accent-55);
}

.contactMethodRowStatic:hover {
  transform: none;
  box-shadow: none;
}

.contactMethodIcon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 34px;
  border-radius: 999px;
  background: var(--surface-92);
  color: var(--text-main);
  font-size: 14px;
  font-weight: 700;
}

.contactMethodMeta {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.contactMethodName {
  color: var(--text-faint);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.contactMethodValue {
  color: var(--text-main);
  font-size: 14px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.contactQrGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.contactQrCard {
  margin: 0;
  padding: 12px;
  border-radius: 18px;
  border: 1px solid rgba(222, 193, 189, 0.78);
  background: var(--surface-78);
  box-shadow: 0 6px 16px rgba(43, 21, 20, 0.05);
}

.contactQrCard img {
  width: 100%;
  display: block;
  border-radius: 14px;
  background: var(--img-ph);
}

.contactQrCard figcaption {
  margin-top: 10px;
  color: var(--text-faint);
  font-size: 12px;
  line-height: 1.45;
  text-align: center;
}

@media (max-width: 900px) {
  .contactBranchHead {
    flex-direction: column;
  }

  .contactHoursCard {
    min-width: 0;
    width: 100%;
  }

  .contactQrGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .contactBranchCard {
    border-radius: 20px;
  }

  .contactBranchHead {
    padding: 16px 16px 12px;
  }

  .contactBranchBody {
    padding: 16px;
    gap: 16px;
  }

  .contactMapFrame iframe {
    height: 280px;
  }

  .contactAddressText {
    font-size: 14px;
  }

  .contactMethodValue {
    font-size: 13px;
  }

  .contactQrGrid {
    grid-template-columns: 1fr;
  }
}

.contactMethodIcon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 42px;
  border-radius: 999px;
  background: var(--surface-92);
  color: var(--text-soft);
}

.contactMethodIcon i {
  font-size: 18px;
  line-height: 1;
}




/* ------------------------------------------------------------------
   Mobile-first heading compaction across pages
   ------------------------------------------------------------------ */

.pageHeading {
  margin-bottom: 10px;
}

.pageHeadingCompact .h1 {
  margin: 0 0 4px;
}

.pageHeadingCompact .pageIntro {
  margin-bottom: 0;
}

.pageHeadingDirectory {
  margin-bottom: 8px;
}

@media (max-width: 640px) {
  .wrap {
    padding-top: 14px;
    padding-bottom: 26px;
  }

  .backRow {
    margin-bottom: 8px;
  }

  .h1 {
    margin: 2px 0 2px;
    font-size: 20px;
    line-height: 1.1;
  }

  .pageIntro {
    margin-bottom: 8px;
    font-size: 12px;
    line-height: 1.3;
    color: var(--text-faint);
  }

  .pageHeading {
    margin-bottom: 6px;
  }

  .pageHeadingCompact .pageIntro {
    display: none;
  }
}

/* ------------------------------------------------------------------
   Compact filters for masseurs directory
   ------------------------------------------------------------------ */

.searchWrap {
  position: relative;
  flex: 1;
  min-width: 0;
  max-width: 420px;
}

#nameFilter {
  width: 100%;
  padding-right: 42px;
}

.iconClear {
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border: 1px solid rgba(222, 193, 189, 0.92);
  border-radius: 999px;
  background: var(--bg-card);
  color: var(--text-soft);
  font-size: 18px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.iconClear:hover {
  background: var(--img-ph);
  color: var(--text-main);
}

.clearCompact {
  min-width: 0;
}

#clearFilters[hidden],
#clearName[hidden] {
  display: none !important;
}

@media (max-width: 640px) {
  .filters {
    padding: 6px 0 8px;
  }

  .filtersInner {
    border-radius: 16px;
    padding: 10px;
    box-shadow: 0 6px 16px var(--shadow-soft);
  }

  .filterRow {
    gap: 8px;
    align-items: stretch;
  }

  .searchWrap {
    max-width: none;
  }

  #nameFilter {
    padding: 9px 40px 9px 12px;
    font-size: 14px;
    border-radius: 11px;
  }

  #clearFilters {
    padding: 9px 12px;
    border-radius: 11px;
    font-size: 13px;
    align-self: center;
  }

  .tagRow {
    gap: 6px;
    margin-top: 8px;
  }

  .chip span {
    padding: 7px 11px;
    font-size: 13px;
  }

  .grid {
    margin-top: 8px;
  }
}

/* Slightly tighter simple pages on phones */

@media (max-width: 640px) {
  .simplePageWrap .pagePanel,
  .simplePageWrap .simplePanel {
    border-radius: 18px;
  }

  .simplePageWrap .pagePanel {
    padding-top: 14px;
    padding-bottom: 14px;
  }
}





.servicesSection {
  display: grid;
  gap: 14px;
}

.svcCard {
  background: var(--surface-92);
  border: 1px solid rgba(222, 193, 189, 0.58);
  box-shadow: 0 8px 20px rgba(43, 21, 20, 0.06);
  border-radius: 16px;
  padding: 12px;
}

.svcHeader {
  display: grid;
  gap: 2px;
  margin-bottom: 8px;
}

.svcTitle {
  margin: 0;
}

.svcSubtitle {
  margin: 0;
  opacity: 0.85;
  font-size: 0.95rem;
}

.svcTableWrap {
  overflow-x: hidden;
  border-radius: 12px;
}

.svcTable {
  width: 100%;
  min-width: 0;
  table-layout: fixed;
  border-collapse: collapse;
}

.svcColMain {
  width: 52%;
}

.svcColDur {
  width: 16%;
}

.svcTable thead th {
  padding: 8px 8px 10px;
  border-bottom: 1px solid rgba(222, 193, 189, 0.42);
  white-space: nowrap;
  font-weight: 800;
}

.svcColName,
.svcRowTitle {
  text-align: left;
}

.svcColPrice,
.svcPrice {
  text-align: center;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.svcPriceSpan {
  text-align: center;
  font-weight: 700;
  white-space: normal;
}

.svcTable tbody th,
.svcTable tbody td {
  padding: 12px 8px;
  border-bottom: 1px solid rgba(222, 193, 189, 0.32);
  vertical-align: top;
}

.svcTable tbody tr:last-child th,
.svcTable tbody tr:last-child td {
  border-bottom: none;
}

.svcName {
  font-weight: 800;
}

.svcDesc {
  margin-top: 4px;
  opacity: 0.85;
  font-size: 0.95rem;
  display: grid;
  gap: 2px;
}

.svcMenuNote {
  margin-top: -2px;
  padding: 0 2px;
  color: var(--text-soft);
  font-size: 0.92rem;
}

.svcCallout {
  border-radius: 16px;
  padding: 12px 14px;
  border: 1px solid var(--accent-35);
  background: linear-gradient(180deg, rgba(141, 9, 10, 0.10), rgba(205, 159, 156, 0.12));
}

.svcCalloutHead {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.svcCalloutTitle {
  font-weight: 900;
  font-size: 1.1rem;
}

.svcCalloutPrice {
  font-weight: 900;
  font-size: 1.1rem;
}

.svcCalloutMeta {
  opacity: 0.9;
}

@media (max-width: 700px) {
  .servicesSection {
    gap: 12px;
  }

  .svcCard {
    padding: 10px;
    border-radius: 14px;
  }

  .svcTableWrap {
    overflow: visible !important;
  }

  .svcTable,
  .svcTable colgroup,
  .svcTable col,
  .svcTable thead,
  .svcTable tbody,
  .svcTable tr,
  .svcTable th,
  .svcTable td {
    display: block !important;
    width: 100% !important;
  }

  .svcTable {
    min-width: 0 !important;
  }

  .svcTable thead {
    display: none !important;
  }

  .svcTable tbody {
    display: grid !important;
    gap: 10px;
  }

  .svcTable tbody tr {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    padding: 10px;
    border: 1px solid rgba(222, 193, 189, 0.52);
    border-radius: 12px;
    background: var(--surface-92);
  }

  .svcTable tbody th,
  .svcTable tbody td {
    border-bottom: none;
    padding: 0;
  }

  .svcRowTitle {
    grid-column: 1 / -1;
    margin-bottom: 2px;
  }

  .svcName {
    font-size: 1rem;
  }

  .svcDesc {
    font-size: 0.9rem;
  }

  .svcPrice {
    min-width: 0;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 8px 4px;
    border: 1px solid rgba(222, 193, 189, 0.52);
    border-radius: 10px;
    background: var(--surface-90);
    font-size: 0.98rem;
    white-space: normal;
  }

  .svcPrice::before {
    content: attr(data-label);
    display: block;
    opacity: 0.75;
    font-size: 0.74rem;
    font-weight: 700;
    line-height: 1.2;
    white-space: normal;
  }

  .svcPriceSpan {
    grid-column: 1 / -1;
    justify-content: center;
    text-align: center;
  }

  .svcPriceSpan::before {
    content: none !important;
  }

  .svcMenuNote {
    font-size: 0.88rem;
  }

  .svcCallout {
    padding: 10px 12px;
  }

  .svcCalloutHead {
    gap: 6px;
  }

  .svcCalloutTitle,
  .svcCalloutPrice,
  .svcCalloutMeta {
    font-size: 1rem;
  }
}


/* Hide legacy long home cards; keep short quick links only */
.homeSection { display: none; }



