/* ============================================================
   ÁGNES KOZMETIKA — Master Stylesheet
   
   Structure:
     1.  CSS Custom Properties (Design Tokens)
     2.  Reset & Base Styles
     3.  Utility Classes
     4.  Buttons
     5.  Header & Navigation
     6.  Hero Section
     7.  Homepage Sections (Gallery, Services List, Contact)
     8.  Page Layout (Subpages)
     9.  Contact Page
     10. About (Rólam) Page
     11. Pricing Table
     13. Fascia / Special Treatment Pages
     14. Footer
     15. Lightbox
     16. Booking Widget (.bw-)
     17. Booking Management Page (.mgmt-)
     17b. Hungarian Homepage (.home-)
     17c. Review Marks (branch previews only)
     18. Responsive (ALL @media queries — never put them above!)
   ============================================================ */


/* ============================================================
   1. CSS CUSTOM PROPERTIES (Design Tokens)
   ============================================================ */
:root {
  /* Typography */
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-script: 'Dancing Script', cursive;

  /* Font Scale — single source of truth */
  --fs-xs:   0.8rem;    /* 12.8px — tiny captions, badges */
  --fs-sm:   0.85rem;   /* 13.6px — nav links, meta, small labels */
  --fs-base: 1rem;      /* 16px   — body text */
  --fs-md:   1.1rem;    /* 17.6px — emphasized body, prices */
  --fs-lg:   1.2rem;    /* 19.2px — lead text, h4-level */
  --fs-xl:   1.3rem;    /* 20.8px — h3, subheadings */
  --fs-2xl:  1.5rem;    /* 24px   — large subheadings */
  --fs-3xl:  1.8rem;    /* 28.8px — page section headings */
  --fs-4xl:  2rem;      /* 32px   — page titles */
  --fs-5xl:  2.2rem;    /* 35.2px — feature headings */
  --fs-6xl:  2.5rem;    /* 40px   — main h2 */
  --fs-7xl:  3rem;      /* 48px   — hero h1 */

  /* Brand Colors — Forest Green & Cream */
  --accent: #225941;
  --accent-hover: #1a4633;
  --accent-light: #e8f0ed;
  --accent-shadow: rgba(34, 89, 65, 0.3);
  --accent-warm: #C9A87C;
  --accent-warm-light: #e8dbc9;
  --link: #b4532a;
  --link-hover: #9a3f1f;

  /* Action Buttons — premium black */
  --btn-primary: #222;
  --btn-primary-hover: #444;

  /* Text Colors */
  --text-dark: #225941;
  --text-main: #3d3d3d;
  --text-muted: #4a5a54;
  --text-light: #5a6a64;
  --text-lighter: #7a8a84;
  --text-on-accent: #ffffff;

  /* Background Colors */
  --bg-body: #ffffff;
  --bg-white: #ffffff;
  --bg-alt: #F3F2EE;
  --bg-hero: #F3F2EE;
  --bg-hover: #F7F6F3;

  /* Border Colors */
  --border-light: #e0ddd6;
  --border-medium: #d0cdc6;
  --border-subtle: #eae7e1;
  --border-separator: #c5c2bb;

  /* Shadows */
  --shadow-soft: rgba(34, 89, 65, 0.03);
  --shadow-light: rgba(34, 89, 65, 0.06);
  --shadow-medium: rgba(34, 89, 65, 0.12);
  --shadow-dark: rgba(0,0,0,0.5);

  /* Layout */
  --max-width: 1100px;
  --spacing-section: 4rem;
  --spacing-element: 1.5rem;

  /* Design System */
  --radius: 4px;
  --shadow-card: 0 4px 15px rgba(0,0,0,0.08);
  --shadow-button: 0 2px 8px rgba(34, 89, 65, 0.2);

  /* Minimalist Theme (Arckezelések) */
  --text-strong: #222;
  --text-clean: #666;
  --bg-light: #fafafa;
  --border-color: #e5e5e5;
  --accent-subtle: #f0f0f0;
}


/* ============================================================
   2. RESET & BASE STYLES
   ============================================================ */
* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: var(--bg-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  margin-top: 0;
  line-height: 1.2;
  font-family: var(--font-heading);
}

h2 {
  font-size: var(--fs-6xl);
  text-align: center;
  margin-bottom: var(--spacing-element);
  position: relative;
}

a { text-decoration: none; color: inherit; transition: color 0.3s ease; }

/* Inline text link (body copy, lists, hints) */
.link { color: var(--link); font-weight: 600; }
.link:hover { color: var(--link-hover); text-decoration: underline; text-underline-offset: 3px; }
/* A phone number never breaks across two lines */
a[href^="tel:"] { white-space: nowrap; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; padding: 0; }
b { font-weight: 700; }


/* ============================================================
   3. UTILITY CLASSES
   ============================================================ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

section { padding: var(--spacing-section) 0; }
.section-alt { background-color: var(--bg-alt); }
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-light { color: var(--text-light); }

.separator {
  display: block;
  width: 60px;
  height: 2px;
  background-color: var(--accent-warm);
  margin: 1.5rem auto;
  border: none;
}
.separator.left {
  margin-left: 0;
}

.section-desc {
  max-width: 500px;
  margin: 0 auto 2rem;
}
/* The homepage's Kapcsolat intro: two short paragraphs, the usual gap between them */
.section-desc > p { margin: 0 0 1rem; }
.section-desc > p:last-child { margin-bottom: 0; }

.btn-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}


/* ============================================================
   4. BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  background-color: var(--btn-primary);
  border-radius: var(--radius);
  border: 2px solid var(--btn-primary);
  padding: 0.8rem 2rem;
  color: #fff;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
  font-size: var(--fs-base);
  cursor: pointer;
  transition: all 0.3s ease;
  line-height: normal;
  text-align: center;
  text-decoration: none;
}
.btn:hover {
  background-color: var(--btn-primary-hover);
  border-color: var(--btn-primary-hover);
  color: #fff;
  box-shadow: 0 4px 15px rgba(0,0,0,.2);
  transform: translateY(-2px);
}

.btn-outline {
  display: inline-block;
  background: transparent;
  border: 2px solid #333;
  border-radius: var(--radius);
  color: #333;
  padding: 0.8rem 2rem;
  font-weight: 600;
  font-size: var(--fs-base);
  cursor: pointer;
  transition: all 0.3s ease;
  line-height: normal;
  text-align: center;
  text-decoration: none;
}
.btn-outline:hover {
  background: #333;
  color: #fff;
  box-shadow: var(--shadow-button);
  transform: translateY(-2px);
}

.text-link {
  color: var(--accent);
  font-weight: 500;
  font-size: var(--fs-base);
  text-decoration: none;
  transition: color 0.2s ease;
}
.text-link:hover {
  color: var(--btn-primary-hover);
}

.btn-sm {
  display: inline-block;
  padding: 0.5rem 1.4rem;
  border: 1.5px solid var(--accent);
  border-radius: var(--radius);
  color: var(--accent);
  font-size: var(--fs-sm);
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  letter-spacing: 0.5px;
}
.btn-sm:hover {
  background: var(--accent);
  color: var(--text-on-accent);
}


/* ============================================================
   5. HEADER & NAVIGATION
   ============================================================ */
header {
  --header-outer-height: 100px;
  --header-inner-height: 76px;
  --header-height-diff: calc(var(--header-outer-height) - var(--header-inner-height));
  width: 100%;
  height: var(--header-outer-height);
  position: sticky;
  top: calc(var(--header-height-diff) * -1);
  display: flex;
  align-items: center;
  background: var(--accent);
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0,0,0,.1);
  color: #fff;
}

.nav-container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: var(--header-inner-height);
  position: sticky;
  top: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-heading);
  font-style: normal;
  font-size: var(--fs-5xl);
  text-transform: none;
  font-weight: 400;
  color: #fff;
  border: none;
  padding: 0;
  transition: font-size .25s ease;
  display: flex;
  align-items: baseline;
  gap: .4rem;
}
.logo-name {
  letter-spacing: -.02em;  
    font-size: 1.8rem;
    font-weight: 400;
    margin-right: -6px;
    letter-spacing: -.03em;
}

.logo-sub {
  font-size: 1.3rem;
  font-weight: 200;
  color: var(--accent-warm);
  letter-spacing: -.03em;
      text-transform: uppercase;

}


nav ul {
  display: flex;
  gap: 2.5rem;
  font-family: var(--font-heading);
  text-transform: none;
  font-size: var(--fs-base);
  letter-spacing: 0.5px;
  font-weight: 500;
  color: inherit;
}

nav a {
  position: relative;
  padding-bottom: 4px;
}
nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-warm);
  transition: width 0.3s ease;
}
nav a:hover { color: var(--accent-warm); }
nav a:hover::after { width: 100%; }

nav .nav-cta {
  background: #fff;
  color: var(--accent) !important;
  padding: .45rem 1.2rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: var(--fs-sm);
  letter-spacing: .5px;
  text-transform: uppercase;
  transition: background .2s;
}
nav .nav-cta::after { display: none; }
nav .nav-cta:hover {
  background: var(--accent-warm);
  color: #333;
}

/* "Kezelések" submenu (Hungarian header only): a white dropdown on desktop,
   a plain list inside the slide-in menu on phones (see the 900px rules) */
.nav-sub { position: relative; }
.nav-sub-toggle {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: 0 0 4px;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  cursor: pointer;
}
.nav-sub-toggle:hover,
.nav-sub.open .nav-sub-toggle { color: var(--accent-warm); }
.nav-sub-toggle .fa { transition: transform .2s; }
.nav-sub.open .nav-sub-toggle .fa { transform: rotate(180deg); }
/* keeps the hover alive while the pointer moves down to the dropdown */
.nav-sub::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: .9rem;
}
nav .nav-sub-menu {
  display: none;
  position: absolute;
  top: calc(100% + .75rem);
  left: -1rem;
  z-index: 1002;
  flex-direction: column;
  gap: 0;
  min-width: 230px;
  padding: .5rem 0;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,.15);
  color: var(--text-main);
  font-weight: 500;
}
nav .nav-sub-menu a {
  display: block;
  padding: .55rem 1.1rem;
  color: var(--text-main);
}
nav .nav-sub-menu a::after { display: none; }
nav .nav-sub-menu a:hover { background: var(--bg-hover); color: var(--accent); }
.nav-sub.open .nav-sub-menu { display: flex; }

/* Hamburger Menu Toggle (hidden on desktop) */
.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}
.menu-toggle .bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  background-color: #fff;
  transition: all 0.3s ease-in-out;
}
.menu-toggle.is-active .bar:nth-child(2) { opacity: 0; }
.menu-toggle.is-active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle.is-active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Right side of header: nav + language switch + hamburger */
.nav-right {
  display: flex;
  align-items: center;
  gap: 2rem;
}

/* Language switcher (shows the OTHER language) */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-family: var(--font-heading);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: .08em;
  color: #fff;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: var(--radius);
  padding: .45rem .75rem;
  line-height: 1;
  transition: background .2s, color .2s, border-color .2s;
}
.lang-switch .fa { font-size: .85em; opacity: .85; }
.lang-switch:hover {
  background: var(--accent-warm);
  border-color: var(--accent-warm);
  color: #333;
}


/* ============================================================
   6. HERO SECTION
   ============================================================ */
.hero {
  background-color: var(--bg-hero);
  padding: var(--spacing-section) 0;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-container-flex {
  width: 100%;
  padding: 0 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
}

.hero-content {
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-content .separator {
  margin-left: auto;
  margin-right: auto;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: var(--fs-7xl);
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
  font-weight: 500;
}

.hero p {
  font-family: var(--font-body);
  color: var(--text-lighter);
  font-size: var(--fs-base);
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 450px;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-portrait-img {
  width: 100%;
  max-width: 380px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 75%;
  border-radius: var(--radius);
  box-shadow: 12px 12px 0px var(--accent-warm);
  transform: translateX(-6px);
}


/* ============================================================
   7. HOMEPAGE SECTIONS
   ============================================================ */

/* --- Gallery Home --- */
.gallery-home {
  padding: var(--spacing-section) 0;
}
.gallery-home-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.gallery-home-text {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.gallery-home-text h2 {
  font-size: var(--fs-5xl);
}
.gallery-home-text p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}
.gallery-home-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1rem;
}
.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  border: 4px solid white;
  box-shadow: 0 4px 15px rgba(0,0,0,0.10);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  aspect-ratio: 1 / 1;
  cursor: pointer;
}
.gallery-img:nth-child(2) { transform: translateY(1.5rem); }
.gallery-img:nth-child(4) { transform: translateY(1.5rem); }
.gallery-img:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 8px 30px rgba(0,0,0,0.16);
  z-index: 2;
  position: relative;
}

/* --- Services Home List --- */
.services-home-list {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 2rem 4rem;
  justify-content: center;
  margin: 2rem auto 0;
  list-style: none;
  padding: 0;
}
.services-home-list > li {
  padding: 0;
  text-align: left;
  background: transparent;
  border-radius: 0;
}
.services-home-hint {
  text-align: center;
  margin-top: 1.5rem;
  font-size: var(--fs-sm);
  color: var(--text-lighter);
}

.services-home-list h3 {
  font-family: var(--font-heading);
  font-size: var(--fs-lg);
  font-weight: 600;
  margin-bottom: .6rem;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: .5rem;
}
.services-home-list h3 svg {
  color: var(--accent-warm);
  flex-shrink: 0;
}
.services-home-list li ul {
  list-style: disc;
  padding-left: 1.1rem;
  margin: 0;
}
.services-home-list li ul li {
  font-size: var(--fs-sm);
  color: var(--text-light);
  line-height: 1.8;
  padding: 0;
  border-bottom: none;
}

/* Home feature band (kiemelt szolgáltatás, pl. lézeres szőrtelenítés) */
.home-feature {
  padding: 5rem 0;
  background: var(--accent-light);
}
.home-feature-inner {
  display: grid;
  grid-template-columns: 240px 1fr;
  column-gap: 3.5rem;
  align-items: center;
  max-width: 920px;
  margin: 0 auto;
}
.home-feature-media {
  grid-column: 1;
  grid-row: 1 / 3;
}
.home-feature-media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}
.home-feature-head {
  grid-column: 2;
  grid-row: 1;
  align-self: end;
}
.home-feature-head h2 {
  margin: 0 0 0.5rem;
  text-align: left;
}
.home-feature-head .separator {
  margin: 0 0 0.5rem;
}
.home-feature-text {
  grid-column: 2;
  grid-row: 2;
  align-self: start;
  text-align: left;
}
.home-feature-text p {
  color: var(--text-main);
  line-height: 1.7;
  margin: 0 0 1.25rem;
}
.home-feature-text p:last-child { margin-bottom: 0; }
.services-home-list li ul li::marker {
  color: var(--accent-warm);
}

/* --- Contact Home --- */
.contact-home-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}
.contact-home-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: .3rem;
  padding: 1.5rem 1rem;
  background: var(--bg-alt);
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  transition: transform .2s, box-shadow .2s;
}
a.contact-home-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(0,0,0,.08);
}
.contact-home-card i {
  font-size: var(--fs-lg);
  color: var(--accent);
}
.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(34, 89, 65, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
}
.contact-home-card strong {
  font-family: var(--font-heading);
  font-size: var(--fs-sm);
  text-transform: uppercase;
  letter-spacing: .5px;
}
.contact-home-card span {
  font-size: var(--fs-base);
  color: var(--text-light);
}
.contact-home-card span a {
  color: var(--text-light);
  text-decoration: none;
}
.contact-home-card span a:hover {
  color: var(--accent);
}
.contact-home-map {
  max-width: 800px;
  margin: 1.5rem auto 0;
}


/* ============================================================
   8. PAGE LAYOUT (Subpages)
   ============================================================ */

/* Page Title Banner */
.page-title-banner {
  background-color: var(--bg-hero);
  padding: 2.25rem 0 2rem;
  margin-bottom: 0;
}

.page-title-large {
  font-size: var(--fs-4xl);
  margin: 0;
  line-height: 1.2;
}
.page-title-large.centered {
  text-align: center;
}

.page-subtitle {
  font-family: var(--font-body);
  font-size: var(--fs-md);
  font-weight: 400;
  color: var(--text-clean);
  margin-top: .35rem;
}
.page-subtitle.centered {
  text-align: center;
}

/* Page Content — subpage headings. No gold underline (the owner's call, Nov 2); only the
   booking page's category headings keep theirs. Section spacing: .guide-section > h2.
   Rólam has no title banner, so its first heading is the page's h1, styled the same way */
.page-content h1,
.page-content h2 {
  text-align: left;
  font-size: var(--fs-3xl);
  margin: 3rem 0 1rem;
}
.page-content h3 {
  text-align: left;
  font-size: var(--fs-xl);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}
.page-content {
  max-width: 100%;
}

/* Intro Split (e.g. Fascia page) */
.intro-split {
  display: flex;
  align-items: center;
  gap: 3rem;
  margin-bottom: 3rem;
}
.intro-text {
  flex: 1;
}
.intro-text .lead {
  font-size: var(--fs-lg);
  color: var(--text-muted);
  line-height: 1.6;
  font-weight: 400;
}
.intro-img {
  flex: 1;
  max-width: 500px;
}
.intro-img img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}
.intro-split:has(.intro-img:only-child) {
  justify-content: center;
}
.intro-split .intro-img:only-child {
  max-width: 100%;
  flex: 0 0 auto;
}


/* ============================================================
   9. CONTACT PAGE
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: stretch;
}
.contact-info-box {
  background: var(--bg-alt);
  padding: 2rem;
  border-radius: var(--radius);
}
.contact-info-box h4 {
  margin-bottom: 1rem;
}
.contact-info-box p {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 0.5rem;
}
.form-group label {
  font-size: var(--fs-sm);
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-light);
}
.form-control {
  padding: 0.85rem 1rem;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  width: 100%;
  box-sizing: border-box;
}
.form-control:focus {
  outline: none;
  border-color: var(--accent);
}

.opening-hours-table { width: 100%; border-collapse: collapse; margin-top: 0.5rem; }
.opening-hours-table td { padding: 0.3rem 0; border-bottom: 1px solid #eee; }
.opening-hours-table tr:last-child td { border-bottom: none; }


/* ============================================================
   10. ABOUT (RÓLAM) PAGE
   ============================================================ */
.about-grid-large {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}
.about-image-col {
  position: relative;
}
.about-portrait-large {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 10px 10px 0 var(--accent-warm);
}
/* Understated CTA row at the end of the about text */
.about-cta {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-light, #e6e3dc);
}
.about-cta p {
  margin-bottom: 1.25rem;
  color: var(--text-lighter);
}
.about-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}


/* ============================================================
   11. PRICING TABLE
   ============================================================ */
.pricing-category h2 {
  text-align: left;
  font-size: var(--fs-3xl);
  margin-top: 3rem;
  margin-bottom: 1rem;
}
.price-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 3rem;
  background: var(--bg-white);
  box-shadow: var(--shadow-card);
  border-radius: var(--radius);
  overflow: hidden;
}
.price-table tr { border-bottom: 1px solid var(--border-light); transition: background 0.2s; }
.price-table tr:hover { background: var(--bg-hover); }
.price-table td { padding: 1rem 1.5rem; vertical-align: middle; }
.price-table td small { display: block; margin-top: 0.25rem; font-size: var(--fs-sm); color: var(--text-lighter); }
.price-table .price { text-align: right; font-weight: 700; color: var(--accent); font-size: var(--fs-md); white-space: nowrap; }


/* ============================================================
   13. FASCIA / SPECIAL TREATMENT PAGES
   ============================================================ */
.benefit-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}
.benefit-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.benefit-list li::before {
  content: '\f00c';
  font-family: 'FontAwesome';
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--accent);
}

.promo-box {
  background: var(--bg-white);
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  padding: 3rem;
  text-align: center;
  margin: 4rem 0 2rem;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}
.promo-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: var(--accent);
}
.promo-box h3 {
  color: var(--text-dark);
  font-family: var(--font-heading);
  font-size: var(--fs-3xl);
  margin-bottom: 1rem;
}
.promo-box p {
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto 2rem;
}

.promo-badge {
  display: inline-block;
  background: var(--accent-warm);
  color: #333;
  font-weight: bold;
  padding: 0.25rem 1rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  text-transform: uppercase;
  font-size: var(--fs-xs);
  letter-spacing: 1px;
}

/* Service CTA (bottom of treatment subpages) */
.service-cta {
  margin-top: 5rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border-light);
  text-align: center;
}
.service-cta h3 {
  font-size: var(--fs-4xl);
  margin-bottom: 1rem;
}
.service-cta p {
  color: var(--text-light);
  margin-bottom: 2rem;
}


/* ============================================================
   14. FOOTER
   ============================================================ */
footer {
  background: var(--accent);
  color: var(--text-on-accent);
  text-align: center;
  padding: 2rem 0;
  font-size: var(--fs-sm);
}
footer p { opacity: 0.8; }
/* The salon's address on every page, right above the © line */
footer .footer-address { margin-bottom: 0; }
footer .footer-address + p { margin-top: .35rem; }


/* ============================================================
   15. LIGHTBOX
   ============================================================ */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  cursor: zoom-out;
}
.lightbox-overlay.active {
  opacity: 1;
  visibility: visible;
}
.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 10px 60px rgba(0, 0, 0, 0.5);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}
.lightbox-overlay.active .lightbox-img {
  transform: scale(1);
}
.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s;
}
.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.15);
}
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: white;
  font-size: 2.5rem;
  cursor: pointer;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s;
}
.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.15);
}
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }

/* ============================================================
   16. BOOKING WIDGET (.bw-)
   ============================================================ */
.bw {
  /* Booking-specific design tokens — neutral dark palette */
  --bw-active: #222;
  --bw-active-hover: #444;
  --bw-active-light: #f5f5f5;
  --bw-active-shadow: rgba(0, 0, 0, 0.15);
  --bw-radius: 8px;
  --bw-radius-sm: 6px;
  --bw-radius-lg: 12px;
  margin: 0 auto;
}

/* Booking buttons — separate from main site .btn */
.bw-btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  border: 2px solid var(--bw-active);
  border-radius: var(--bw-radius);
  background: var(--bw-active);
  color: #fff;
  font-weight: 600;
  font-size: var(--fs-base);
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: normal;
  text-align: center;
  text-decoration: none;
  box-shadow: none;
}
@media (hover: hover) {
  .bw-btn:hover {
    background: var(--bw-active-hover);
    border-color: var(--bw-active-hover);
    color: #fff;
  }
}
.bw-btn-outline {
  display: inline-block;
  padding: 0.75rem 2rem;
  border: 2px solid var(--border-medium);
  border-radius: var(--bw-radius);
  background: transparent;
  color: var(--text-main);
  font-weight: 600;
  font-size: var(--fs-base);
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: normal;
  text-align: center;
  text-decoration: none;
  box-shadow: none;
}
.bw-btn-outline:hover {
  background: var(--bw-active-light);
  border-color: var(--bw-active);
  color: var(--bw-active);
}

/* Progress Steps */
.bw-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 1.75rem;
  position: relative;
}
.bw-steps[hidden] { display: none !important; }

.bw-step {
  display: flex;
  align-items: center;
  gap: .5rem;
  opacity: .4;
  transition: opacity .3s;
}
.bw-step.active,
.bw-step.done { opacity: 1; }
.bw-step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--border-light);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: var(--fs-sm);
  transition: all .3s;
}
.bw-step.active .bw-step-num {
  background: var(--bw-active);
  color: #fff;
}
.bw-step.done .bw-step-num {
  background: var(--bw-active-light);
  color: var(--bw-active);
}
.bw-step-label {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-muted);
  font-family: var(--font-heading);
}
.bw-step.active .bw-step-label { color: var(--bw-active); }
.bw-step-line {
  width: 40px;
  height: 2px;
  background: var(--border-light);
  margin: 0 .75rem;
}

/* Panels */
.bw-panel h2 {
  font-size: var(--fs-xl);
  margin-bottom: .25rem;
}
.bw-subtitle {
  color: var(--text-light);
  font-size: var(--fs-base);
  margin-bottom: 1.5rem;
}
.bw-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
  gap: 1rem;
}
/* Back arrow at top of step panels */
.bw-panel-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}
.bw-back-arrow,
.bw-close-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  background: none;
  color: var(--text-muted);
  font-size: 1rem;
  cursor: pointer;
  transition: color .15s, border-color .15s, background .15s;
}
.bw-back-arrow:hover,
.bw-close-arrow:hover {
  color: var(--text-main);
  border-color: var(--text-muted);
  background: var(--bg-offset);
}

/* Cancel confirmation modal */
.bw-cancel-modal {
  text-align: left;
}
.bw-cancel-modal h3 {
  font-family: var(--font-heading);
  font-size: var(--fs-2xl);
  margin-bottom: .75rem;
}
.bw-cancel-modal p {
  color: var(--text-muted);
  font-size: var(--fs-base);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.bw-cancel-modal-actions {
  display: flex;
  gap: .75rem;
  justify-content: flex-end;
}
.bw-actions .bw-btn,
.bw-actions .bw-btn-outline { min-width: 180px; }
.bw-btn-next:only-child,
.bw-btn-submit:only-child { margin-left: auto; }

/* Hide in-panel action bars on steps 2-3 — sidebar handles forward, top link handles back */
.bw[data-step="2"] .bw-actions,
.bw[data-step="3"] .bw-actions { display: none; }

/* Loading / Spinner */
.bw-loading {
  text-align: center;
  padding: 2rem;
  color: var(--text-muted);
}
.bw-spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid var(--border-light);
  border-top-color: var(--bw-active);
  border-radius: 50%;
  animation: bw-spin .6s linear infinite;
  vertical-align: middle;
  margin-right: .5rem;
}
@keyframes bw-spin { to { transform: rotate(360deg); } }
.bw-error-msg {
  color: var(--text-muted);
  text-align: center;
  padding: 2rem;
}

/* Main layout: content + persistent sidebar */
.bw-main-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2.5rem;
  align-items: start;
  max-width: 100%;
}
.bw-content {
  min-width: 0;
}
/* Panels within content area */
#bw-step-2,
#bw-step-3,
#bw-step-done,
#bw-step-error {
  max-width: 780px;
}
/* Hide sidebar on success/error steps */
.bw.bw-finished .bw-sidebar { display: none; }
.bw.bw-finished .bw-main-layout { grid-template-columns: 1fr; }
/* Remove max-width constraint on success/error for centered content */
.bw.bw-finished #bw-step-done,
.bw.bw-finished #bw-step-error { max-width: none; }
/* Tighter top spacing when steps are hidden */
.bw.bw-finished .bw-success,
.bw.bw-finished .bw-error { padding-top: 0; }
.bw-services-col {
  min-width: 0;
}
.bw-services-col h2 {
  font-size: var(--fs-xl);
  margin-bottom: .25rem;
}
/* Override for main category headings inside the service list */
.bw-services-col .bw-maincat-heading {
  font-size: var(--fs-4xl);
}

/* Category tabs — scrollable row with arrows */
.bw-cat-tabs-wrap {
  --elevation-clipping: 0 4px 2px -2px rgba(20, 20, 20, 0.06);
  position: sticky;
  top: var(--header-inner-height, 76px);
  z-index: 90;
  background: #fff;
  display: flex;
  align-items: center;
  gap: 0;
  padding: .65rem 0;
  border-bottom: 1px solid transparent;
  box-shadow: none;
  transition: box-shadow .2s, border-color .2s;
}
.bw-cat-tabs-wrap.stuck {
  border-bottom-color: var(--border-light);
  box-shadow: var(--elevation-clipping);
}
.bw-cat-tabs {
  display: flex;
  gap: .4rem;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  scroll-behavior: smooth;
  margin: 0;
  padding: .2rem 0;
  flex: 1;
  min-width: 0;
}
.bw-cat-tabs::-webkit-scrollbar { display: none; }
.bw-cat-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1.5px solid var(--border-medium, #ddd);
  border-radius: 50%;
  background: #fff;
  color: var(--text-main, #444);
  cursor: pointer;
  flex-shrink: 0;
  transition: all .2s;
  opacity: 0;
  pointer-events: none;
}
.bw-cat-arrow.visible {
  opacity: 1;
  pointer-events: auto;
}
.bw-cat-arrow:hover {
  border-color: var(--accent-warm);
  color: var(--accent-warm);
  background: rgba(201, 168, 124, .08);
}
.bw-cat-arrow-left { margin-right: .4rem; }
.bw-cat-arrow-right { margin-left: .4rem; }
.bw-cat-tab {
  padding: .7rem 1.15rem;
  border: 1.5px solid var(--border-medium, #ddd);
  border-radius: var(--bw-radius);
  font-size: var(--fs-md);
  font-weight: 500;
  font-family: var(--font-heading);
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
  flex: 0 0 auto;
  text-align: center;
}
.bw-cat-tab:hover {
  border-color: var(--accent-warm);
  color: var(--accent-warm);
}
.bw-cat-tab.active {
  color: #333;
  background: var(--accent-warm);
  border-color: var(--accent-warm);
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(0,0,0,.1);
}

/* Selected services pill */
/* Category section heading */
.bw-cat-heading {
  font-size: var(--fs-lg);
  font-family: var(--font-heading);
  margin-bottom: .75rem;
}
.bw-maincat-heading {
  font-family: var(--font-heading);
  font-size: var(--fs-4xl);
  font-weight: 700;
  margin: 0 0 1rem;
  letter-spacing: -.02em;
  padding-bottom: .6rem;
  border-bottom: 2.5px solid var(--accent-warm);
}
.bw-subcat-heading {
  font-family: var(--font-heading);
  font-size: var(--fs-xl);
  font-weight: 700;
  margin: 1.5rem 0 .5rem;
  letter-spacing: -.01em;
}

/* Service cards */
.bw-service-list {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-top: 1.25rem;
}
.bw-cat-section {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.bw-svc-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--border-light);
  border-radius: var(--bw-radius-lg);
  background: #fff;
  transition: border-color .2s, box-shadow .25s, transform .2s;
}
.bw-svc-card:hover {
  background: var(--bg-alt);
  border-color: var(--border-medium);
}
.bw-svc-card.selected {
  border-color: var(--bw-active);
  box-shadow: inset 0 0 0 1.5px var(--bw-active);
}
.bw-svc-card-info {
  flex: 1;
  min-width: 0;
}
.bw-svc-card-name {
  font-weight: 500;
  font-size: var(--fs-md);
  margin-bottom: 3px;
}
.bw-svc-card-duration {
  font-size: var(--fs-sm);
  color: var(--text-lighter);
  margin-bottom: 5px;
}
.bw-svc-card-snippet {
  font-size: var(--fs-base);
  color: var(--text-light);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 6px;
}
.bw-svc-card-price {
  font-weight: 500;
  font-size: var(--fs-base);
}

/* + / ✓ button */
.bw-svc-card-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--border-light);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 1px 4px rgba(0,0,0,.08);
  transition: all .2s;
}
.bw-svc-card-btn svg {
  width: 20px;
  height: 20px;
  stroke: var(--text-lighter);
  stroke-width: 2;
  fill: none;
  transition: stroke .2s;
}
.bw-svc-card-btn:hover {
  border-color: var(--border-medium);
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
}
.bw-svc-card-btn:hover svg { stroke: #333; }
.bw-svc-card-btn.checked {
  background: var(--bw-active);
  border-color: var(--bw-active);
  box-shadow: 0 2px 8px var(--bw-active-shadow);
}
.bw-svc-card-btn.checked svg { stroke: #fff; }
.bw-svc-card-btn.checked:hover {
  background: var(--bw-active-hover);
  border-color: var(--bw-active-hover);
}

/* Sidebar Cart */
.bw-sidebar {
  position: sticky;
  top: var(--bw-sidebar-top, 140px);
}
.bw-sidebar-inner {
  border: 1px solid var(--border-light);
  border-radius: var(--bw-radius-lg);
  background: #fff;
  position: relative;
}
.bw-sheet-close { display: none; }
.bw-sheet-header { display: none; }
.bw-sidebar-empty {
  padding: 2rem 1.5rem;
  text-align: center;
}
.bw-sidebar-empty p {
  color: var(--text-lighter);
  font-size: var(--fs-sm);
  margin: 0;
}
.bw-sidebar-summary { padding: 1.25rem 1.5rem 0; }
.bw-sidebar-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: .75rem;
  padding: .75rem 0;
  border-bottom: 1px solid var(--border-subtle);
}
.bw-sidebar-item:last-child { border-bottom: none; }
.bw-sidebar-item-name {
  font-weight: 700;
  font-size: var(--fs-sm);
}
.bw-sidebar-item-info {
  cursor: pointer;
}
.bw-sidebar-item-info:hover .bw-sidebar-item-name {
  text-decoration: underline;
}
.bw-sidebar-item-meta {
  font-size: var(--fs-xs);
  color: var(--text-lighter);
  margin-top: 2px;
}
.bw-sidebar-item-price {
  font-weight: 700;
  font-size: var(--fs-sm);
  white-space: nowrap;
  flex-shrink: 0;
}
.bw-sidebar-item-right {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-shrink: 0;
}
.bw-sidebar-item-remove {
  width: 22px;
  height: 22px;
  border: none;
  background: none;
  color: var(--text-lighter);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  border-radius: 50%;
  transition: color .15s, background .15s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bw-sidebar-item-remove:hover {
  color: #dc3545;
  background: rgba(220, 53, 69, .08);
}
.bw-laser-note {
  display: flex;
  gap: 1rem;
  margin: 0 0 1.5rem;
  padding: 1.5rem 1.75rem;
  background: var(--accent-light);
  border-radius: var(--radius);
}
.bw-laser-note-icon {
  flex: 0 0 auto;
  color: var(--accent);
  margin-top: 3px;
}
.bw-laser-note-body { flex: 1; }
.bw-laser-note-body > p {
  font-size: var(--fs-base);
  color: var(--text-main);
  line-height: 1.65;
  margin: 0 0 1rem;
}
.bw-laser-note-body > p:last-child {
  margin-bottom: 0;
}
.bw-laser-note-body > .bw-laser-note-lead {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--fs-md);
  color: var(--accent);
  margin: 0 0 1rem;
}
.bw-laser-note-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.bw-laser-note-more {
  font-size: var(--fs-base);
  color: var(--text-main);
  line-height: 1.65;
  margin: 0;
}
.bw-laser-note-more a {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: 1rem;
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1.5px solid var(--accent-warm);
  padding-bottom: 1px;
  transition: gap .2s ease, border-color .2s ease;
}
.bw-laser-note-more a span {
  transition: transform .2s ease;
}
.bw-laser-note-more a:hover {
  border-bottom-color: var(--accent);
}
.bw-laser-note-more a:hover span {
  transform: translateX(3px);
}
.bw-sidebar-footer { padding: 1.25rem 1.5rem; border-top: 1px solid var(--border-light); }
.bw-sidebar-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: var(--fs-base);
  margin-bottom: 1rem;
}
.bw-sidebar-total-meta { display: none; }
.bw-sidebar-total-text { font-weight: 700; }
.bw-btn-continue {
  width: 100%;
  text-align: center;
}

/* Service Detail Modal */
.bw-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 1rem;
}
.bw-modal-overlay[hidden] { display: none; }
.bw-modal {
  background: #fff;
  border-radius: var(--bw-radius-lg);
  max-width: 520px;
  width: 100%;
  padding: 2rem 2rem 1.75rem;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,.2);
  animation: bw-modal-in .2s ease-out;
}
@keyframes bw-modal-in {
  from { opacity: 0; transform: scale(.95) translateY(10px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.bw-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 32px;
  height: 32px;
  border: none;
  background: none;
  font-size: 1.5rem;
  color: var(--text-lighter);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all .15s;
}
.bw-modal-close:hover {
  background: var(--bg-alt);
  color: #333;
}
.bw-modal h3 {
  font-size: var(--fs-lg);
  font-family: var(--font-heading);
  margin: 0 0 .5rem;
  padding-right: 2rem;
}
.bw-modal-meta {
  font-size: var(--fs-sm);
  color: var(--text-lighter);
  margin-bottom: 1.25rem;
}
.bw-modal-meta i { margin-right: 3px; }
.bw-modal-desc {
  font-size: var(--fs-base);
  color: var(--text-main);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.bw-modal-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-light);
}
.bw-modal-price-val {
  font-weight: 600;
  font-size: var(--fs-md);
}
.bw-modal-add {
  padding: .6rem 1.5rem;
  font-size: var(--fs-sm);
}
.bw-modal-add.remove {
  background: var(--bg-alt);
  color: #333;
  border: 1px solid var(--border-medium);
}
.bw-modal-add.remove:hover {
  background: #dc3545;
  color: #fff;
  border-color: #dc3545;
}

/* Step 2: Calendar */
.bw-datetime-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}
.bw-calendar {
  padding: 0;
}
.bw-cal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}
.bw-cal-title {
  font-family: var(--font-heading);
  font-size: var(--fs-base);
}
.bw-cal-title strong {
  font-weight: 700;
}
.bw-cal-title span {
  font-weight: 500;
  color: var(--text-lighter);
}
.bw-cal-arrows {
  display: flex;
  gap: 4px;
}
.bw-cal-nav {
  width: 32px;
  height: 32px;
  border: none;
  border-radius: var(--bw-radius-sm);
  transition: all .2s;
}
.bw-cal-nav:hover:not(:disabled) {
  background: var(--bg-alt);
  color: var(--text-main);
}
.bw-cal-nav:disabled {
  opacity: .3;
  cursor: default;
}
.bw-cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: 0.7rem;
  font-weight: 600;
  margin-bottom: 0;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: .08em;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: .75rem 0;
}
.bw-cal-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  padding-top: 6px;
}
.bw-cal-day {
  aspect-ratio: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: none;
  background: none;
  border-radius: var(--bw-radius-sm);
  cursor: pointer;
  color: var(--text-main);
  font-size: var(--fs-sm);
  font-weight: 500;
  transition: all .15s;
  padding: 0;
  position: relative;
}
.bw-cal-empty { cursor: default; }
.bw-cal-day:not(.bw-cal-disabled):not(.bw-cal-empty):not(.bw-cal-selected) {
  background: var(--bg-alt);
}
.bw-cal-day:not(.bw-cal-disabled):not(.bw-cal-empty):not(.bw-cal-selected):hover {
  background: var(--border-medium, #ddd);
}
.bw-cal-disabled {
  color: var(--text-lighter);
  opacity: .35;
  cursor: default;
  background: none;
}
.bw-cal-today {
  font-weight: 700;
  color: var(--text-main);
}
.bw-cal-today-dot {
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--bw-active);
}
.bw-cal-selected .bw-cal-today-dot {
  background: rgba(255, 255, 255, .8);
}
.bw-cal-full {
  color: var(--text-lighter);
  opacity: .5;
  cursor: default;
  text-decoration: line-through;
}
.bw-cal-full:hover {
  background: none;
  color: var(--text-lighter);
}
.bw-cal-selected {
  background: var(--bw-active) !important;
  color: #fff !important;
  text-decoration: none !important;
  opacity: 1 !important;
  font-weight: 600;
}

/* Time Slots */
.bw-timeslots { min-height: 200px; }
.bw-time-placeholder {
  text-align: center;
  color: var(--text-lighter);
  padding: 3rem 1rem;
}
.bw-time-placeholder i {
  font-size: 2rem;
  display: block;
  margin-bottom: .75rem;
}
.bw-time-placeholder p {
  margin: 0;
  font-size: var(--fs-sm);
}
.bw-time-message {
  text-align: center;
  color: var(--text-lighter);
  padding: 3rem 1rem;
  font-size: var(--fs-sm);
}
.bw-time-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
  gap: .5rem;
  align-content: start;
}
.bw-time-grid[hidden],
.bw-time-placeholder[hidden],
.bw-time-message[hidden] { display: none; }
.bw-time-label {
  grid-column: 1 / -1;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--text-lighter);
  margin-top: .75rem;
  margin-bottom: .25rem;
  font-family: var(--font-heading);
  text-transform: uppercase;
}
.bw-time-label:first-child { margin-top: 0; }
.bw-time-icon {
  width: 14px;
  height: 14px;
  vertical-align: -2px;
  display: inline-block;
}
.bw-time-slot {
  padding: .5rem 1rem;
  border: 1px solid var(--border-light);
  border-radius: var(--bw-radius);
  background: none;
  cursor: pointer;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-main);
  transition: all .15s;
}
.bw-time-slot:hover {
  border-color: var(--bw-active);
  color: var(--bw-active);
  background: var(--bw-active-light);
}
.bw-time-slot.selected {
  background: var(--bw-active);
  border-color: var(--bw-active);
  color: #fff;
}

/* Step 3: Confirm Summary */
.bw-confirm-summary {
  background: none;
  border: 1px solid var(--border-light);
  border-radius: var(--bw-radius);
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
}
.bw-summary-row {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .6rem 0;
  font-size: var(--fs-sm);
  color: var(--text-main);
}
.bw-summary-row i {
  color: var(--text-lighter);
  width: 18px;
  text-align: center;
  flex-shrink: 0;
  font-size: var(--fs-sm);
}
.bw-summary-row + .bw-summary-row { border-top: 1px solid var(--border-subtle); }
.bw-summary-total { font-weight: 700; }

/* Cancellation notice — inside summary box */
.bw-cancel-notice {
  margin-top: .75rem;
  padding-top: .75rem;
  border-top: 1px solid var(--border-light);
}
.bw-cancel-notice h4 {
  font-family: var(--font-heading);
  font-size: var(--fs-base);
  font-weight: 700;
  margin-bottom: .5rem;
}
.bw-cancel-notice p {
  font-size: var(--fs-sm);
  color: var(--text-main);
  line-height: 1.6;
  margin: 0 0 .75rem;
}
.bw-cancel-notice p:last-child {
  margin-bottom: 0;
}
.bw-text-muted {
  color: var(--text-lighter);
  font-size: var(--fs-sm);
}
.bw-form .form-group { margin-bottom: 1.25rem; }
.bw-form label {
  display: block;
  font-weight: 600;
  font-size: var(--fs-sm);
  margin-bottom: .35rem;
  font-family: var(--font-heading);
}

/* Success / Error */
.bw-success,
.bw-error {
  text-align: center;
  padding: 1rem 0;
}
.bw-success-icon {
  font-size: 3.5rem;
  color: #2e7d32;
  margin-bottom: 0.5rem;
}
.bw-success h2,
.bw-error h2 { text-align: center; margin-bottom: 0.3rem; }
.bw-success p,
.bw-error p {
  color: var(--text-light);
  max-width: 400px;
  margin: 0 auto 1rem;
  font-size: 0.9rem;
}
.bw-success .bw-actions,
.bw-error .bw-actions { justify-content: center; }

/* Add to Calendar button */
.bw-calendar-add {
  margin-top: 1.5rem;
  text-align: center;
}
.bw-calendar-section {
  margin-top: 1.2rem;
  margin-bottom: 1.2rem;
  text-align: center;
}
.bw-calendar-label {
  font-size: 0.8rem;
  color: #888;
  margin: 0 0 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-weight: 500;
}
.bw-calendar-btns {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
}
.bw-btn-cal {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 1.1rem;
  border: 1.5px solid var(--bw-active);
  border-radius: var(--bw-radius);
  background: var(--bw-active);
  color: #fff;
  font-weight: 500;
  font-size: 0.82rem;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  line-height: normal;
}
.bw-btn-cal.bw-btn-cal-outline {
  background: #fff;
  color: var(--bw-active);
}
@media (hover: hover) {
  .bw-btn-cal:hover {
    background: var(--bw-active-hover);
    border-color: var(--bw-active-hover);
    color: #fff;
  }
}

/* Disabled state for all booking buttons */
.bw-btn:disabled,
.bw-btn-continue:disabled,
.bw-btn-next:disabled,
.bw-btn-submit:disabled {
  opacity: 1;
  background: #ccc !important;
  color: #888 !important;
  border-color: #ccc !important;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

/* Inline field validation errors */
.form-control.error {
  border-color: #e74c3c;
}
.bw-field-error {
  color: #e74c3c;
  font-size: 0.85rem;
  margin-top: 0.3rem;
}


/* ============================================================
   17. BOOKING MANAGEMENT PAGE (.mgmt-)
       Mirrors the Booking Widget (.bw-) design language:
       flat cards with subtle borders, #222 accent, same
       radius / spacing / typography tokens.
   ============================================================ */

.mgmt-page {
  padding: 3rem 0 5rem;
  min-height: 60vh;
}

.mgmt-card {
  background: #fff;
  border-radius: var(--bw-radius-lg, 12px);
  padding: 2rem 2.25rem;
  max-width: 580px;
  margin: 0 auto 1.25rem;
  border: 1px solid var(--border-light);
}

.mgmt-center { text-align: center; }

.mgmt-center h1 {
  font-family: var(--font-heading);
  font-size: var(--fs-2xl);
  margin: 0.75rem 0 0.4rem;
}

.mgmt-center p {
  color: var(--text-lighter);
  margin-bottom: 1rem;
  font-size: var(--fs-sm);
}

/* Badges */
.mgmt-badge {
  display: inline-block;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.3px;
  color: #fff;
  margin-bottom: 0.75rem;
}
.mgmt-badge--green { background: #16a34a; }
.mgmt-badge--red   { background: #dc2626; }
.mgmt-badge--blue  { background: #2563eb; }

/* Card title (non-centered details view) */
.mgmt-card > h1 {
  font-family: var(--font-heading);
  font-size: var(--fs-2xl);
  margin: 0 0 0.25rem;
}

/* Info grid */
.mgmt-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.5rem;
  margin: 1.25rem 0;
  padding: 1.25rem 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}
.mgmt-info-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.mgmt-label {
  font-size: var(--fs-xs);
  color: var(--text-lighter);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}
.mgmt-value {
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--text-main);
}

/* Services list */
.mgmt-subheading {
  font-family: var(--font-heading);
  font-size: var(--fs-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-lighter);
  margin: 0 0 0.5rem;
}
.mgmt-services-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.mgmt-services-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-subtle);
}
.mgmt-services-list li:last-child { border-bottom: none; }

.mgmt-svc-name {
  font-weight: 500;
  color: var(--text-main);
}
.mgmt-svc-detail {
  font-size: var(--fs-sm);
  color: var(--text-lighter);
  white-space: nowrap;
  margin-left: 1rem;
}

/* Action buttons — flat style matching .bw-btn (no shadow / translateY) */
.mgmt-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  justify-content: center;
}
.mgmt-page .btn {
  box-shadow: none;
}
.mgmt-page .btn:hover {
  box-shadow: none;
  transform: none;
}
.mgmt-page .btn-outline {
  background: transparent;
  color: var(--text-main);
  border: 2px solid var(--border-medium);
}
.mgmt-page .btn-outline:hover {
  background: #f5f5f5;
  border-color: var(--text-main);
  color: var(--text-main);
}
.mgmt-page .btn-danger {
  background: #dc2626;
  color: #fff;
  border: 2px solid #dc2626;
}
.mgmt-page .btn-danger:hover {
  background: #b91c1c;
  border-color: #b91c1c;
}

/* Calendar — mirrors .bw-calendar / .bw-cal-* */
.mgmt-cal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.mgmt-cal-header span {
  font-family: var(--font-heading);
  font-size: var(--fs-base);
}
.mgmt-cal-header span strong { font-weight: 700; }

.mgmt-cal-arrow {
  background: none;
  border: none;
  border-radius: 6px;
  width: 32px;
  height: 32px;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  transition: all .2s;
}
.mgmt-cal-arrow:hover:not(:disabled) {
  background: var(--bg-alt);
}
.mgmt-cal-arrow:disabled {
  opacity: .3;
  cursor: default;
}

.mgmt-cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: 0.7rem;
  font-weight: 600;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-lighter);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: .75rem 0;
  margin-bottom: 0;
}

.mgmt-cal-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  padding-top: 6px;
}

.mgmt-cal-day {
  aspect-ratio: 1;
  border: none;
  border-radius: 6px;
  background: var(--bg-alt);
  cursor: pointer;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-main);
  transition: all .15s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mgmt-cal-day:hover:not(:disabled):not(.mgmt-cal-disabled):not(.mgmt-cal-selected) {
  background: var(--border-medium);
}

.mgmt-cal-selected {
  background: var(--btn-primary) !important;
  color: #fff !important;
  font-weight: 600;
}

.mgmt-cal-disabled {
  color: var(--text-lighter);
  opacity: .35;
  cursor: default;
  background: none;
}

/* Timeslots — mirrors .bw-time-grid / .bw-time-slot */
#mgmt-timeslots-title {
  font-family: var(--font-heading);
  font-size: var(--fs-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-lighter);
  margin: 1.5rem 0 0.5rem;
}
.mgmt-timeslots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
  gap: .5rem;
  margin: 1rem 0;
}

.mgmt-slot {
  padding: .5rem 1rem;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  background: none;
  cursor: pointer;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-main);
  transition: all .15s;
}
.mgmt-slot:hover {
  border-color: var(--btn-primary);
  color: var(--btn-primary);
  background: #f5f5f5;
}
.mgmt-slot-selected {
  background: var(--btn-primary);
  color: #fff;
  border-color: var(--btn-primary);
}

.mgmt-reschedule-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

/* Cancel modal — mirrors .bw-modal */
.mgmt-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.mgmt-modal-content {
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  max-width: 440px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(0,0,0,.2);
  animation: mgmt-modal-in .2s ease-out;
}
@keyframes mgmt-modal-in {
  from { opacity: 0; transform: scale(.95) translateY(10px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.mgmt-modal-content h2 {
  font-family: var(--font-heading);
  margin-bottom: 0.75rem;
}
.mgmt-modal-content p {
  color: var(--text-lighter);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}
.mgmt-modal-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
}

/* 24h warning banner */
.mgmt-warning {
  background: #fef3c7;
  border: 1px solid #f59e0b;
  border-radius: 8px;
  padding: 1rem 1.25rem;
  margin-top: 1.5rem;
  font-size: var(--fs-sm);
  color: #92400e;
  line-height: 1.5;
}
.mgmt-warning a {
  color: #92400e;
  font-weight: 600;
}


/* ============================================================
   17b. GUIDE / INFORMÁCIÓS OLDAL SABLON
   Újrahasználható szekciók informatív aloldalakhoz
   (pl. lézeres szőrtelenítés, és későbbi hasonló oldalak).
   ============================================================ */

/* Bevezető */
.guide-lead {
  font-size: var(--fs-lg);
  color: var(--text-main);
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: 2rem;
}
/* Category pages: the treatment's illustration beside the intro (above it on phones) */
.guide-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 160px;
  align-items: center;
  gap: 2.5rem;
  margin-bottom: 2rem;
}
.guide-intro .guide-lead { margin-bottom: 0; }
.guide-intro img { display: block; width: 160px; height: auto; }
/* Általános szöveges szekció */
.guide-section {
  margin-bottom: 3rem;
}
/* Anchor targets land below the sticky header (100px; 80px from 900px down, see the media query) */
.guide-section, .treat-card, .price-table tr, mark.review, .home-section { scroll-margin-top: 116px; }
.guide-section > p {
  color: var(--text-main);
  line-height: 1.7;
  margin-bottom: 1rem;
}
/* Headings sit well apart from the block above and close to their own text: a section heading
   72px above and 16px below, a small heading in a section (a treatment, a question) 40px and 8px */
.guide-section > h2 { margin-top: 4.5rem; }
.guide-section > h3 { margin: 2.5rem 0 .5rem; }
.guide-section > h2 + *,
.guide-section > h3 + * { margin-top: 0; }
.guide-section strong {
  color: #222;
}

/* Kép + szöveg sor (figure) */
.guide-figure {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}
.guide-figure > p {
  flex: 1;
  color: var(--text-main);
  line-height: 1.7;
  margin: 0;
}
.guide-figure-media {
  flex: 0 0 160px;
}
.guide-figure-media img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Tartalomjegyzék */
.guide-toc {
  background: var(--bg-alt);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 1.75rem 2rem;
  margin-bottom: 3.5rem;
}
.guide-toc-label {
  font-family: var(--font-heading);
  font-size: var(--fs-sm);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin: 0 0 1rem;
}
.guide-toc ol {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 2;
  column-gap: 3rem;
  counter-reset: toc;
}
.guide-toc li {
  break-inside: avoid;
  padding: 0.4rem 0;
  counter-increment: toc;
}
.guide-toc a {
  font-size: var(--fs-base);
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
}
.guide-toc a::before {
  content: counter(toc) ". ";
  color: var(--accent);
  font-weight: 700;
}
.guide-toc a:hover {
  color: var(--accent-hover);
}

/* Árlista táblázat */
.price-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
  font-size: var(--fs-base);
}
.price-table thead th {
  text-align: left;
  font-weight: 600;
  color: #222;
  padding: 0.8rem 1rem;
  background: var(--bg-light);
  border-bottom: 2px solid #cfd1ce;
}
.price-table thead th:nth-child(2),
.price-table thead th:last-child {
  text-align: right;
}
.price-table tbody td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-main);
}
.price-table tbody td:nth-child(2) {
  text-align: right;
  white-space: nowrap;
  color: var(--text-muted);
}
.price-table tbody td:last-child {
  text-align: right;
  white-space: nowrap;
  font-weight: 600;
  color: #222;
}
.price-table tbody tr:last-child td {
  border-bottom: none;
}
.price-table-group td {
  background: var(--accent-light);
  color: #222;
  font-weight: 700;
  font-size: var(--fs-sm);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.5rem 1rem;
  text-align: left !important;
}

/* Pipa / X kétoszlopos lista (pl. teendők előtte-utána) */
.guide-checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 1.5rem 0 0 0;
}
.checklist-card {
  background: var(--bg-light);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 1.5rem 1.6rem;
}
.checklist-card--do {
  border-top: 3px solid var(--accent);
}
.checklist-card--dont {
  border-top: 3px solid #b94a48;
}
.checklist-card h3 {
  font-family: var(--font-heading);
  font-size: var(--fs-lg);
  font-weight: 600;
  color: #222;
  margin: 0 0 1rem;
}
.checklist-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.checklist-card li {
  padding: 0.5rem 0 0.5rem 1.6rem;
  position: relative;
  font-size: var(--fs-base);
  color: var(--text-main);
  line-height: 1.6;
  border-bottom: 1px solid var(--border-subtle);
}
.checklist-card li:last-child {
  border-bottom: none;
}
.checklist-card--do li::before {
  content: "\f00c"; /* fa-check */
  font-family: FontAwesome;
  position: absolute;
  left: 0;
  top: 0.55rem;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
}
.checklist-card--dont li::before {
  content: "✕";
  position: absolute;
  left: 0;
  top: 0.45rem;
  color: #b94a48;
  font-weight: 700;
}

/* Pontozott felsorolás */
.guide-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.guide-list li {
  padding: 0.6rem 0 0.6rem 1.5rem;
  position: relative;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-main);
  line-height: 1.6;
}
.guide-list li:last-child {
  border-bottom: none;
}
.guide-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0.55rem;
  color: var(--text-muted);
  font-weight: 700;
}

/* Számozott lépések egy szakaszon belül (pl. a kezelés menete) */
.guide-section > ol > li + li {
  margin-top: 0.5rem;
}

/* Foglalás blokk (gomb + telefonszám) */
.guide-booking {
  text-align: center;
  margin: 1.5rem 0 2rem;
}
.guide-booking .btn {
  margin-bottom: 1rem;
}
.guide-booking-note {
  color: var(--text-main);
  font-size: var(--fs-base);
  margin: 0;
}
/* Links without .link (the laser page's phone number); .link keeps the site's one link style */
.guide-booking-note a:not(.link) {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1.5px solid var(--accent-warm);
  white-space: nowrap;
}
.guide-booking-note a:not(.link):hover {
  border-bottom-color: var(--accent);
}

/* Treatment cards (Arckezelések): three compact cards per row, white with a thin border like the
   homepage cards. The name links to the treatment, and its ::before stretches over the card, so
   the whole card is clickable. "Bővebben →" at the bottom says it opens a page */
.treat-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin: 2rem 0;
}
.treat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.4rem 1.5rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  background: var(--bg-white);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.treat-card:hover {
  border-color: var(--accent-warm);
  box-shadow: var(--shadow-card);
}
/* The card names are the page's h2s (no section heading above them), so the big
   .page-content h2 look (size, spacing) is reset here. position: static matters:
   h2s are position: relative, which would shrink the clickable layer to the name */
.page-content .treat-card h2 {
  position: static;
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.25;
}
.treat-card h2 a { color: var(--text-strong); }
.treat-card h2 a::before {
  content: "";
  position: absolute;
  inset: 0;
}
/* Time and price on one line under the name: the time small and grey with the booking
   widget's clock, the price in bold after a thin line */
.treat-card .treat-card-facts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem;
  margin: .7rem 0 1rem;
}
.treat-card-time { color: var(--text-muted); font-size: var(--fs-sm); }
.treat-card-time .fa { margin-right: 2px; color: var(--text-lighter); }
.treat-card-price {
  padding-left: .75rem;
  border-left: 1px solid var(--border-light);
  color: var(--text-strong);
  font-family: var(--font-heading);
  font-size: .95rem;
  font-weight: 600;
}
.treat-card > p {
  margin-bottom: 0;
  font-size: .95rem;
}
.treat-card-more {
  margin-top: auto;
  padding-top: 1rem;
  color: var(--link);
  font-size: var(--fs-sm);
  font-weight: 600;
}
.treat-card:hover .treat-card-more { color: var(--link-hover); }

/* Breadcrumb at the top of the treatment pages (page.njk) */
.breadcrumb {
  margin: 0 0 1.75rem;
  color: var(--text-muted);
  font-size: var(--fs-base);
}
/* The site's link colour, a bit lighter than text links so the trail stays secondary */
.breadcrumb a {
  padding: 0;
  color: var(--link);
  font-weight: 500;
}
.breadcrumb a::after { display: none; }
.breadcrumb [aria-hidden="true"] { margin: 0 .35rem; }
.breadcrumb a:hover { color: var(--link-hover); text-decoration: underline; text-underline-offset: 3px; }
.breadcrumb [aria-current] { color: var(--text-main); }

/* Key facts under the lead ({{quick ID}}): time, price and a booking button */
.quick-facts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2rem;
  margin: 0 0 2.5rem;
  padding: 1rem 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}
.quick-fact {
  display: flex;
  flex-direction: column;
  gap: .15rem;
}
.quick-fact + .quick-fact {
  padding-left: 2rem;
  border-left: 1px solid var(--border-light);
}
.quick-fact i { display: none; }
.quick-label {
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-size: var(--fs-xs);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.quick-value {
  color: var(--text-strong);
  font-family: var(--font-heading);
  font-size: var(--fs-lg);
  font-weight: 600;
  white-space: nowrap;
}
.quick-facts .btn {
  margin-left: auto;
  padding: .65rem 1.4rem;
  font-size: var(--fs-sm);
}

/* Tömör, kontrasztos gomb variáns */
.btn-accent {
  background: var(--accent) !important;
  border-color: var(--accent) !important;
  color: #fff !important;
  font-weight: 600;
}
.btn-accent:hover {
  background: var(--accent-hover) !important;
  border-color: var(--accent-hover) !important;
}


/* ============================================================
   17b. HUNGARIAN HOMEPAGE (.home-)
   Hero → Kezelések → 20 év tapasztalat → Kapcsolat.
   The English homepage still uses the older hero/gallery classes.
   ============================================================ */
.home {
  display: flex;
  flex-direction: column;
  color: var(--text-main);
}
.home-section {
  width: 100%;
  margin: 0;
  padding: 48px 0;
}
.home h2,
.home + .contact-home h2 {
  margin: 0 0 1.5rem;
  color: var(--text-strong);
  font-size: clamp(1.8rem, 2.7vw, 2.15rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.025em;
  text-align: center;
}
.home h2::after,
.home + .contact-home h2::after {
  content: '';
  display: block;
  width: 48px;
  height: 2px;
  margin: .85rem auto 0;
  background: var(--accent-warm);
}
.home-hero,
.home-about { background: var(--bg-alt); }
.home-services { background: var(--bg-white); }
.home-hero-inner,
.home-about-inner {
  display: grid;
  align-items: center;
  gap: 48px 16px;
}
/* The portrait sits over the last two treatment tiles, the four photos under the first two, and each text
   over the other three, so the squares match at every desktop width (two equal columns on tablets) */
.home-hero-inner { grid-template-columns: minmax(0, 1fr) calc((100% - 64px) * 2 / 5 + 16px); }
.home-about-inner { grid-template-columns: calc((100% - 64px) * 2 / 5 + 16px) minmax(0, 1fr); }

/* Hero: text left, portrait right */
.home-hero-copy {
  max-width: 480px;
  justify-self: center;
  text-align: center;
}
.home-hero-copy h1 {
  margin: 0 0 1.5rem;
  color: var(--accent);
  font-size: clamp(2.25rem, 4vw, 3rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -.025em;
}
/* Small keyword line inside the hero h1, above the brand line ("Kozmetikus Szegeden") */
.home-hero-eyebrow {
  display: block;
  margin-bottom: .9rem;
  color: var(--text-light);
  font-size: var(--fs-sm);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.home-hero-copy > p {
  max-width: 430px;
  margin: 0 auto 1.75rem;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
}
.home-portrait { margin: 0; }
.home-portrait img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: 50% 35%;
}

/* Kezelések: five square picture tiles in a row, at full width the same size as the four photos under them
   (three per row on tablets, a list on phones) */
.home-services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}
.home-service-card {
  display: grid;
  flex: 0 0 calc((100% - 64px) / 5);
  aspect-ratio: 1 / 1;
  align-content: center;
  justify-items: center;
  row-gap: .625rem;
  min-width: 0;
  padding: 1rem .75rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  background: var(--bg-white);
  color: var(--text-main);
  text-align: center;
  text-decoration: none;
}
.home-service-card:hover {
  border-color: var(--accent-warm);
  background: var(--bg-hover);
  color: var(--accent);
  text-decoration: none;
}
.home-service-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
.home-service-image {
  display: block;
  overflow: hidden;
  border-radius: 2px;
}
.home-service-image img {
  display: block;
  width: 104px;
  height: 104px;
  object-fit: cover;
}
/* room for two lines in every tile, so the pictures line up across the row */
.home-service-card h3 {
  min-height: 2.9em;
  margin: 0;
  color: inherit;
  text-align: inherit; /* centred like the tile, also inside .page-content (the services page), whose h3 is left-aligned */
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -.015em;
}

/* 20 év tapasztalat: four photos left, text right */
.home-about-inner { grid-template-areas: 'photos copy'; }
.home-about-copy {
  grid-area: copy;
  max-width: 500px;
  justify-self: center;
  text-align: center;
}
.home-about-copy p {
  margin: 0 0 1.25rem;
  color: var(--text-muted);
  line-height: 1.8;
}
.home-about-photos {
  display: grid;
  grid-area: photos;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  width: 100%;
  padding-bottom: 1.5rem;
  justify-self: center;
}
.home-about-photos img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
/* The portrait and the four photos share one white mat */
.home-portrait img,
.home-about-photos img {
  border: 4px solid var(--bg-white);
  border-radius: var(--radius);
  box-shadow: 0 4px 15px rgba(0,0,0,.10);
}
.home-about-photos img:nth-child(even) { transform: translateY(1.5rem); }
.home-about-photos img:nth-child(1) { object-position: 50% 45%; }
.home-about-photos img:nth-child(2) { object-position: 50% 42%; }
.home-about-photos img:nth-child(3) { object-position: 50% 60%; }
.home-about-photos img:nth-child(4) { object-position: 50% 35%; }

/* Kapcsolat keeps its own component; on the homepage its heading (see .home h2) and spacing match the sections above */
.home + .contact-home .section-desc { max-width: 560px; }


/* ============================================================
   17c. REVIEW MARKS (branch previews only, see lib/serviceTags.js)
   Numbered yellow marks for what Ági should check. A main build
   fails while any mark is left, so these never reach the live site.
   ============================================================ */
mark.review {
  padding: .05em .25em;
  border-radius: 3px;
  background: #fff3b0;
  color: inherit;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
mark.review-q { color: #6b5300; font-size: .92em; }
.review-n {
  display: inline-block;
  min-width: 1.5em;
  padding: 0 .35em;
  border-radius: 1em;
  background: #c99a06;
  color: #fff;
  font-size: .72em;
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
  vertical-align: .12em;
}
.review-note { color: #6b5300; font-size: .85em; font-style: italic; }



/* ============================================================
   18. RESPONSIVE
   ⚠️  ALL @media queries live here — NEVER above this line!
   This prevents cascade-order bugs where later desktop rules
   override earlier mobile overrides.
   ============================================================ */

/* ----- Desktop with a mouse: the Kezelések submenu also opens on hover ----- */
@media (hover: hover) and (min-width: 901px) {
  .nav-sub:hover .nav-sub-menu { display: flex; }
  .nav-sub:hover .nav-sub-toggle { color: var(--accent-warm); }
  /* the arrow turns whenever the menu shows, on hover as well as on click (.open) */
  .nav-sub:hover .nav-sub-toggle .fa { transform: rotate(180deg); }
}

/* ----- Booking tabs: keep scrollable on narrower desktops ----- */
@media (max-width: 1085px) {
  .bw-cat-tab {
    padding: .6rem 1rem;
    font-size: var(--fs-sm);
  }
}

/* ----- Tablet & below (≤900px) ----- */
@media (max-width: 900px) {

  /* The header is 80px from here down */
  .guide-section, .treat-card, .price-table tr, mark.review, .home-section { scroll-margin-top: 96px; }
  .home-service-card { flex-basis: calc((100% - 32px) / 3); }
  .home-hero-inner,
  .home-about-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; }
  .home-about-photos { max-width: 412px; }

  /* Scale down font variables for tablet */
  :root {
    --fs-6xl: 1.85rem;
    --fs-7xl: 2.3rem;
    --fs-5xl: 1.75rem;
    --fs-4xl: 1.6rem;
    --fs-3xl: 1.45rem;
  }

  /* General spacing */
  section { padding: 2.25rem 0; }
  .separator { margin: 0.6rem auto; width: 48px; }

  /* Arckezelések treatment cards: two per row */
  .treat-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  /* Home feature band */
  .home-feature { padding: 2.5rem 0; }
  .home-feature-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    row-gap: 1.25rem;
  }
  .home-feature-media {
    grid-column: 1;
    grid-row: 2;
    width: 160px;
  }
  .home-feature-head {
    grid-column: 1;
    grid-row: 1;
  }
  .home-feature-head h2 { text-align: center; }
  .home-feature-head .separator { margin: 0.6rem auto 0; }
  .home-feature-text {
    grid-column: 1;
    grid-row: 3;
    text-align: center;
  }

  /* Header & Nav */
  header {
    --header-outer-height: 80px;
    --header-inner-height: 60px;
  }
  .logo { font-size: 1.4rem; }
  .menu-toggle { display: block; }

  /* Language switch stays visible next to the hamburger.
     Bars sit flush with the container edge; the gap to the pill equals the container padding (24px). */
  .nav-right { gap: 1rem; }
  .menu-toggle { margin-right: -8px; }
  .lang-switch {
    padding: .28rem .6rem;
    font-size: .7rem;
    position: relative;
    z-index: 1001;
  }

  #mainNav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 250px;
    height: 100vh;
    background-color: var(--accent);
    color: #fff;
    padding-top: 6rem;
    transition: right 0.3s ease-in-out;
    box-shadow: -5px 0 15px var(--shadow-medium);
    z-index: 999;
  }
  #mainNav.active { right: 0; }
  nav ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    font-size: 1.1rem;
  }
  nav .nav-cta {
    font-size: 0.9rem;
  }
  .nav-sub { text-align: center; }
  .nav-sub::after { display: none; }
  nav .nav-sub-menu {
    position: static;
    align-items: center;
    gap: .9rem;
    min-width: 0;
    padding: 1rem 0 0;
    background: none;
    box-shadow: none;
    color: #fff;
    font-size: 1rem;
  }
  nav .nav-sub-menu a { padding: 0; color: rgba(255,255,255,.85); }
  nav .nav-sub-menu a:hover { background: none; color: var(--accent-warm); }

  /* Hero */
  .hero {
    max-height: none;
    min-height: auto;
    padding: 1.75rem 0 2rem;
  }
  .hero-container-flex {
    display: flex;
    flex-direction: column-reverse;
    text-align: center;
    gap: 0;
  }
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-content .separator {
    margin-left: auto;
    margin-right: auto;
  }
  .hero h1 { margin-bottom: 0.75rem; }
  .hero p { margin-bottom: 1.25rem; font-size: var(--fs-sm); }
  .hero-visual {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
  }
  .hero-portrait-img {
    max-width: 85%;
    aspect-ratio: 3 / 3.5;
    object-position: center 40%;
    box-shadow: 6px 6px 0px var(--accent-warm);
    transform: none;
    border-radius: 6px;
  }

  /* Gallery — text on top, images below */
  .gallery-home {
    padding: 2rem 0;
  }
  .gallery-home-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .gallery-home-text {
    order: -1;
  }
  .gallery-home-grid {
    grid-template-columns: 1fr 1fr;
  }
  .gallery-img:nth-child(2),
  .gallery-img:nth-child(4) {
    transform: none;
  }

  /* Services home list — keep 2-col on mobile */
  .services-home-list {
    grid-template-columns: repeat(2, 1fr);
    max-width: 100%;
    gap: .75rem;
  }
  .services-home-list > li {
    padding: 1rem;
  }
  .services-home-list h3 {
    font-size: var(--fs-base);
  }
  .services-home-list li ul li {
    font-size: var(--fs-xs);
    line-height: 1.6;
  }

  /* Contact home cards */
  .contact-home-cards {
    grid-template-columns: 1fr;
    max-width: 400px;
    gap: 1rem;
  }

  /* Contact & About grids */
  .contact-grid { grid-template-columns: 1fr; gap: 1.5rem; }

  /* About page */
  .about-grid-large {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .about-portrait-large {
    max-width: 280px;
    margin: 0 auto;
    box-shadow: 8px 8px 0 var(--accent-warm);
  }

  /* Guide template — tablet */
  .guide-figure {
    flex-direction: column;
  }
  .guide-figure-media {
    flex: none;
    width: 120px;
  }
  .guide-checklist {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  .guide-toc {
    padding: 1.4rem 1.5rem;
  }
  .guide-toc ol {
    columns: 1;
  }

  /* Intro split */
  .intro-split { flex-direction: column; }
  .intro-img { width: 100%; max-width: 100%; }
  .intro-text .lead { text-align: center; }
  .page-title-large { text-align: center; }

  /* Booking widget — Fresha-style mobile */
  .bw-steps { gap: 0; margin-bottom: .5rem; }
  .bw-step-label { display: none; }
  .bw-step-line { width: 28px; margin: 0 .5rem; }
  .bw-main-layout { grid-template-columns: 1fr; }

  /* Tabs: scrollable row on mobile */
  .bw-cat-tabs-wrap {
    top: var(--header-inner-height, 60px);
    padding: .5rem 0;
    border-bottom: 1px solid var(--border-light);
  }
  .bw-cat-tab {
    padding: .5rem .75rem;
    font-size: var(--fs-sm);
  }
  .bw-cat-arrow {
    width: 28px;
    height: 28px;
  }
  .bw-cat-arrow svg {
    width: 14px;
    height: 14px;
  }

  /* Main category heading on mobile */
  .bw-maincat-heading {
    font-size: var(--fs-3xl);
    margin: 0 0 .75rem;
  }

  .bw-laser-note {
    padding: 1.1rem 1.2rem;
    gap: .8rem;
  }
  .bw-laser-note-actions {
    gap: 1rem;
  }

  /* Subcat headings on mobile */
  .bw-subcat-heading {
    font-size: var(--fs-lg);
    font-weight: 800;
    letter-spacing: .03em;
    margin: 1.75rem 0 .35rem;
  }

  .bw-service-list {
    gap: 2.5rem;
  }
  /* Service cards: flat rows with divider lines */
  .bw-cat-section {
    gap: 0;
  }
  .bw-svc-card {
    border: none;
    border-bottom: 1px solid var(--border-subtle);
    border-radius: 0;
    padding: 1rem 0;
    gap: 1rem;
  }
  .bw-svc-card-name {
    font-size: var(--fs-base);
    font-weight: 500;
  }
  .bw-svc-card-duration {
    font-size: var(--fs-xs);
  }
  .bw-svc-card-snippet {
    font-size: var(--fs-sm);
  }
  .bw-svc-card-price {
    font-size: var(--fs-sm);
    font-weight: 500;
  }
  .bw-svc-card:last-child {
    border-bottom: none;
  }
  /* Also remove border from last card before a subcategory heading */
  .bw-svc-card + .bw-subcat-heading { border-top: none; }
  .bw-subcat-heading ~ .bw-svc-card:has(+ .bw-subcat-heading),
  .bw-cat-section > .bw-svc-card:has(+ .bw-subcat-heading) {
    border-bottom: none;
  }
  .bw-svc-card:hover {
    background: transparent;
    border-color: var(--border-subtle);
  }
  .bw-svc-card.selected {
    box-shadow: none;
    border-color: var(--border-subtle);
    background: transparent;
  }
  .bw-svc-card-btn {
    width: 38px;
    height: 38px;
    border-color: var(--border-medium);
  }
  .bw-svc-card-btn.checked {
    background: #333;
    border-color: #333;
  }
  .bw-svc-card-btn.checked:hover {
    background: #555;
    border-color: #555;
  }

  /* Services column */
  .bw-services-col {
    overflow-x: hidden;
    padding-bottom: 90px;
  }

  /* Bottom bar — Fresha-style slim fixed bar */
  .bw-sidebar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    top: auto;
    z-index: 1100;
    padding: 0;
    transform: translateY(100%);
    transition: transform 0.3s ease;
  }
  .bw-sidebar.has-items {
    transform: translateY(0);
  }
  .bw-sidebar-inner {
    border-radius: 0;
    box-shadow: 0 -2px 12px rgba(0,0,0,.1);
    border-top: 1px solid var(--border-light);
  }
  .bw-sidebar-empty { display: none; }

  /* In-panel actions already hidden globally for steps 2-3 */

  /* Summary: hidden by default, shown as bottom sheet */
  .bw-sidebar-summary {
    display: none;
    padding: 1rem 1.25rem 0;
  }
  .bw-sidebar.sheet-open .bw-sidebar-summary {
    display: block;
  }
  .bw-sidebar.sheet-open .bw-sidebar-inner {
    border-radius: var(--bw-radius-lg) var(--bw-radius-lg) 0 0;
    box-shadow: 0 -8px 30px rgba(0,0,0,.18);
    max-height: 60vh;
    overflow-y: auto;
  }
  .bw-sidebar.sheet-open .bw-sheet-close {
    display: flex;
  }

  /* Sheet header */
  .bw-sheet-header {
    display: none;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.25rem 1rem;
  }
  .bw-sidebar.sheet-open .bw-sheet-header {
    display: flex;
  }
  .bw-sheet-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: var(--fs-xl);
  }

  /* Items inside sheet: clean look, hide remove × */
  .bw-sidebar-item {
    padding: .85rem 0;
  }
  .bw-sidebar-item-remove {
    display: none;
  }
  .bw-sidebar-item-info {
    cursor: default;
  }
  .bw-sidebar-item-info:hover .bw-sidebar-item-name {
    text-decoration: none;
  }

  /* When sheet is open: footer goes vertical like Fresha */
  .bw-sidebar.sheet-open .bw-sidebar-footer {
    flex-direction: column;
    padding: 0 1.25rem 1.25rem;
    gap: 1rem;
  }
  .bw-sidebar.sheet-open .bw-sidebar-total {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding-top: 1rem;
    border-top: 1px solid var(--border-light);
    cursor: default;
  }
  .bw-sidebar.sheet-open .bw-sidebar-total-text {
    display: inline;
    font-size: var(--fs-base);
  }
  .bw-sidebar.sheet-open .bw-sidebar-total-meta {
    display: none;
  }
  .bw-sidebar.sheet-open .bw-btn-continue {
    width: 100%;
    min-width: 0;
  }

  /* Bottom bar footer: compact horizontal layout */
  .bw-sidebar-footer {
    border-top: none;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: .75rem;
  }
  .bw-sidebar-total {
    flex: 1;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    margin-bottom: 0;
    font-size: var(--fs-sm);
    cursor: pointer;
  }
  .bw-sidebar-total-text { display: none; }
  .bw-sidebar-total-meta { display: block; }
  .bw-sidebar-total-label {
    font-weight: 700;
    font-size: var(--fs-base);
  }
  .bw-sidebar-total-meta {
    font-size: var(--fs-xs);
    color: var(--text-lighter);
    font-weight: 400;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .bw-btn-continue {
    width: auto;
    flex-shrink: 0;
    min-width: 0;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  /* Sheet close button */
  .bw-sheet-close {
    display: none;
    width: 32px;
    height: 32px;
    border: none;
    background: none;
    font-size: 1.4rem;
    color: var(--text-lighter);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
  }
  .bw-sheet-close:hover {
    background: var(--bg-alt);
    color: #333;
  }
}

/* ----- Small tablets (≤700px) ----- */
@media (max-width: 700px) {

  .bw-datetime-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .bw-timeslots { min-height: 280px; }
  .bw-actions .bw-btn,
  .bw-actions .bw-btn-outline { min-width: 0; flex: 1; }

  /* Management page mobile */
  .mgmt-card { padding: 1.25rem; margin: 0 auto 1rem; }
  .mgmt-info-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem 1rem; }
  .mgmt-actions { flex-direction: column; }
  .mgmt-actions .btn { width: 100%; text-align: center; }
  .mgmt-reschedule-actions { flex-direction: column; }
  .mgmt-reschedule-actions .btn { width: 100%; text-align: center; }
  .mgmt-modal-actions { flex-direction: column; }
  .mgmt-modal-actions .btn { width: 100%; }

  /* Arckezelések: treatment cards in one column */
  .treat-cards { grid-template-columns: minmax(0, 1fr); }


  /* Key facts: the two facts side by side, the booking button full width below */
  .quick-facts { gap: 1rem 1.5rem; }
  .quick-fact + .quick-fact { padding-left: 1.5rem; }
  .quick-facts .btn { flex-basis: 100%; margin-left: 0; text-align: center; }

  /* Hungarian homepage: portrait first, then one vertical reading flow */
  .home-section { padding-top: 36px; padding-bottom: 36px; }
  .home-hero { padding-top: 28px; padding-bottom: 36px; }
  .home-hero-inner {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
  .home-portrait {
    order: -1;
    width: 85%;
    max-width: 280px;
  }
  .home-portrait img {
    aspect-ratio: 6 / 7;
    object-position: center 40%;
  }
  .home-hero-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 360px;
  }
  .home-hero-copy h1 { margin: 0; font-size: 2.2rem; }
  .home-hero-copy .separator { margin: 20px auto 18px; }
  .home-hero-copy > p {
    max-width: 34ch;
    margin: 0 0 24px;
    line-height: 1.65;
  }
  .home-hero-copy .btn {
    min-height: 44px;
    max-width: 100%;
    padding: .85rem 1.5rem;
    font-size: 1rem;
  }
  .home-services { padding-top: 28px; }
  .home-services h2 { margin-bottom: 1.25rem; }
  .home-services-grid { gap: 12px; }
  .home-service-card {
    flex-basis: 100%;
    grid-template-columns: 52px minmax(0, 1fr);
    aspect-ratio: auto;
    align-items: center;
    justify-items: start;
    column-gap: 16px;
    padding: 12px;
    text-align: left;
  }
  .home-service-image img { width: 52px; height: 52px; }
  .home-service-card h3 { min-height: 0; font-size: 1rem; }
  .guide-intro { grid-template-columns: minmax(0, 1fr); gap: .75rem; }
  .guide-intro img { order: -1; width: 112px; margin: 0 auto; }
  .home-about-inner {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: 'copy' 'photos';
    row-gap: 24px;
  }
}

/* ----- Small phones (≤480px) ----- */
@media (max-width: 480px) {

  /* Scale down further for small phones */
  :root {
    --fs-7xl: 2.2rem;
    --fs-6xl: 1.8rem;
    --fs-5xl: 1.8rem;
    --fs-4xl: 1.6rem;
    --fs-3xl: 1.5rem;
    --fs-xl:  1.2rem;
  }

  /* Arckezelések cards: a little less padding on small phones */
  .treat-card { padding: 1.25rem; }

  section { padding: 2rem 0; }
  .container { padding: 0 1rem; }

  /* Header: logo + lang switch + hamburger must fit 320px; gap to pill = container padding (16px) */
  .logo-name { font-size: 1.45rem; margin-right: -4px; }
  .logo-sub { font-size: 1rem; }
  .nav-right { gap: .75rem; }
  .menu-toggle { padding: 8px 4px; margin-right: -4px; }
  .lang-switch { padding: .26rem .5rem; }

  .btn { padding: 0.7rem 1.4rem; }
  .btn-outline { padding: 0.7rem 1.4rem; }

  .contact-home-card { padding: 1.25rem 0.75rem; }

  footer { padding: 2rem 0; }

  /* Guide template — small phones */
  .price-table thead th,
  .price-table tbody td {
    padding: 0.6rem 0.5rem;
    font-size: var(--fs-sm);
  }
  .checklist-card {
    padding: 1.2rem 1.2rem;
  }
}

/* ----- Narrow phones (<360px) ----- */
@media (max-width: 359px) {
  .home-services { padding-top: 24px; }
}
