/* ════════════════════════════════════════
   HAWI SALON — Main Stylesheet
   ════════════════════════════════════════ */

:root {
  --cream:      #FAF7F2;
  --blush:      #F0E4DC;
  --rose:       #D4A5A0;
  --deep-rose:  #B07A75;
  --gold:       #C9A96E;
  --gold-light: #E8D5B0;
  --warm-white: #FEFCFA;
  --charcoal:   #2C2420;
  --muted:      #7A6A65;
  --border:     rgba(201,169,110,0.2);
  --shadow:     rgba(44,36,32,0.08);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; }
body  {
  font-family: 'Jost', sans-serif;
  background: var(--warm-white);
  color: var(--charcoal);
  font-weight: 300;
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px 60px;
  display: flex; align-items: center; justify-content: space-between;
  transition: background .4s, backdrop-filter .4s, box-shadow .4s;
}
nav.scrolled {
  background: rgba(254,252,250,.94);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border);
}
.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem; font-weight: 500; letter-spacing: .04em;
  color: var(--charcoal); text-decoration: none;
}
.nav-logo span { color: var(--deep-rose); font-style: italic; }
.nav-links { display: flex; gap: 40px; list-style: none; }
.nav-links a {
  text-decoration: none; font-size: .78rem;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); transition: color .3s;
}
.nav-links a:hover { color: var(--gold); }
.nav-cta {
  background: var(--charcoal); color: var(--warm-white) !important;
  padding: 10px 24px; border-radius: 50px;
  letter-spacing: .12em; font-size: .72rem !important;
  transition: background .3s, transform .2s !important;
}
.nav-cta:hover { background: var(--gold) !important; color: var(--charcoal) !important; transform: translateY(-1px); }

/* hamburger */
.hamburger { display: none; cursor: pointer; flex-direction: column; gap: 5px; }
.hamburger span { width: 24px; height: 1.5px; background: var(--charcoal); display: block; transition: all .3s; }
.mobile-menu {
  display: none; position: fixed; inset: 0;
  background: var(--warm-white); z-index: 99;
  flex-direction: column; align-items: center; justify-content: center; gap: 36px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem; color: var(--charcoal);
  text-decoration: none; font-style: italic; letter-spacing: .04em;
}
.mobile-close { position: absolute; top: 22px; right: 30px; font-size: 1.8rem; cursor: pointer; color: var(--muted); }

/* ── HERO ── */
#hero {
  height: 100vh;
  display: grid; grid-template-columns: 1fr 1fr;
  overflow: hidden;
}
.hero-left {
  display: flex; flex-direction: column; justify-content: center;
  padding: 120px 60px 80px;
  background: var(--cream); position: relative; z-index: 2;
}
.hero-left::after {
  content: ''; position: absolute; right: -40px; top: 0; bottom: 0; width: 80px;
  background: var(--cream); clip-path: ellipse(100% 100% at 0% 50%); z-index: 3;
}
.hero-eyebrow {
  font-size: .7rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold); font-weight: 400; margin-bottom: 24px;
  display: flex; align-items: center; gap: 12px;
}
.hero-eyebrow::before { content: ''; width: 32px; height: 1px; background: var(--gold); }
.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem,5vw,5rem); font-weight: 300; line-height: 1.12;
  color: var(--charcoal); margin-bottom: 28px;
}
.hero-title em { font-style: italic; color: var(--deep-rose); display: block; }
.hero-sub { font-size: .9rem; line-height: 1.8; color: var(--muted); max-width: 360px; margin-bottom: 48px; }
.hero-actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.btn-primary {
  background: var(--charcoal); color: var(--warm-white);
  padding: 14px 36px; border-radius: 50px; text-decoration: none;
  font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  transition: background .3s, transform .25s; display: inline-block;
}
.btn-primary:hover { background: var(--gold); color: var(--charcoal); transform: translateY(-2px); }
.btn-ghost {
  color: var(--muted); font-size: .78rem; letter-spacing: .12em;
  text-transform: uppercase; text-decoration: none;
  display: flex; align-items: center; gap: 8px; transition: color .3s;
}
.btn-ghost span {
  width: 32px; height: 32px; border: 1px solid var(--border);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1rem; transition: border-color .3s, background .3s;
}
.btn-ghost:hover { color: var(--charcoal); }
.btn-ghost:hover span { border-color: var(--gold); background: var(--gold-light); }
.hero-right { position: relative; overflow: hidden; background: var(--blush); }
.hero-img-wrap { position: absolute; inset: 0; overflow: hidden; }
.hero-img-wrap img {
  width: 100%; height: 100%; object-fit: cover; object-position: center top;
  display: block; transition: transform 8s ease;
}
.hero-img-wrap:hover img { transform: scale(1.04); }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(240,228,220,.25) 0%, transparent 60%);
}
.hero-img-deco {
  position: absolute; top: 40px; right: 40px;
  width: 80px; height: 80px; border: 1px solid rgba(255,255,255,.5);
  border-radius: 50%; z-index: 2; animation: spin-slow 20s linear infinite;
}
.hero-img-deco::after {
  content: '✦'; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%); color: rgba(255,255,255,.7); font-size: 1.2rem;
}
@keyframes spin-slow { to { transform: rotate(360deg); } }
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-6px)} }
@keyframes fade-in { from{opacity:0} to{opacity:1} }
@keyframes slide-up { from{opacity:0;transform:translateY(40px)} to{opacity:1;transform:translateY(0)} }
@keyframes slide-in-right { from{opacity:0;transform:translateX(12px)} to{opacity:1;transform:translateX(0)} }

/* ── MARQUEE ── */
.marquee-strip { background: var(--charcoal); padding: 14px 0; overflow: hidden; }
.marquee-inner {
  display: flex; gap: 0; white-space: nowrap;
  animation: marquee 28s linear infinite;
}
.marquee-inner span { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.5); padding: 0 32px; }
.marquee-inner .sep { color: var(--gold); font-size: .5rem; }
@keyframes marquee { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* ── SHARED SECTION ── */
section { padding: 100px 60px; }
.section-label {
  font-size: .68rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold); font-weight: 400; margin-bottom: 16px;
  display: flex; align-items: center; gap: 10px;
}
.section-label::before { content:''; width: 24px; height: 1px; background: var(--gold); }
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem,4vw,3.4rem); font-weight: 300; line-height: 1.2;
  color: var(--charcoal);
}
.section-title em { font-style: italic; color: var(--deep-rose); }

/* ── SERVICES ── */
#services { background: var(--cream); }
.services-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 64px; flex-wrap: wrap; gap: 24px;
}
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.service-card {
  background: var(--warm-white); border-radius: 20px; overflow: visible;
  transition: transform .4s, box-shadow .4s; position: relative;
}
.service-card:hover { transform: translateY(-8px); box-shadow: 0 24px 48px var(--shadow); }
.service-img-wrap { overflow: hidden; border-radius: 20px 20px 0 0; }
.service-img { width: 100%; aspect-ratio: 3/4; object-fit: cover; display: block; transition: transform .6s; }
.service-card:hover .service-img { transform: scale(1.04); }

/* placeholder for missing images */
.img-placeholder {
  width: 100%; aspect-ratio: 3/4;
  background: var(--blush);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; color: var(--muted);
  font-size: .75rem; letter-spacing: .1em; text-align: center; padding: 20px;
}
.img-placeholder .ph-icon { font-size: 2.4rem; opacity: .5; }
.img-placeholder .ph-label { opacity: .6; line-height: 1.6; }

/* wash station strip */
.wash-strip {
  display: flex; align-items: center; gap: 14px;
  background: var(--blush); border-radius: 12px;
  padding: 12px 16px; margin: 0 20px 16px;
}
.wash-strip-img {
  width: 60px; height: 60px; border-radius: 10px;
  object-fit: cover; flex-shrink: 0;
}
.wash-strip-placeholder {
  width: 60px; height: 60px; border-radius: 10px;
  background: rgba(201,169,110,.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; flex-shrink: 0;
}
.wash-strip-text { font-size: .75rem; color: var(--muted); line-height: 1.6; }
.wash-strip-text strong { display: block; font-size: .72rem; letter-spacing: .08em; color: var(--gold); text-transform: uppercase; margin-bottom: 2px; }

.service-info { padding: 20px 24px 12px; }
.service-tag { font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.service-name { font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; font-weight: 500; color: var(--charcoal); margin-bottom: 6px; }
.service-desc { font-size: .8rem; color: var(--muted); line-height: 1.7; }
.service-note {
  font-size: .72rem; color: var(--deep-rose);
  background: rgba(176,122,117,.08); border-left: 2px solid var(--deep-rose);
  padding: 8px 12px; border-radius: 0 8px 8px 0;
  margin: 10px 0 4px; line-height: 1.6;
}
.service-price { margin: 12px 0 0; font-size: .78rem; color: var(--charcoal); letter-spacing: .06em; }
.service-price strong { font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; }
.nail-notice {
  font-size: .72rem; line-height: 1.65; color: var(--muted);
  background: var(--cream); border: 1px solid var(--border);
  border-radius: 10px; padding: 12px 16px; margin: 12px 24px 0;
}
.nail-notice strong { display: block; color: var(--charcoal); margin-bottom: 3px; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; }

/* add-to-booking button on service cards */
.add-to-booking-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: calc(100% - 48px); margin: 14px 24px 20px;
  padding: 10px 16px; background: var(--charcoal); color: var(--warm-white);
  border: none; border-radius: 50px; font-family: 'Jost', sans-serif;
  font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  cursor: pointer; opacity: 0; transform: translateY(4px);
  transition: opacity .3s, transform .3s, background .3s;
}
.service-card:hover .add-to-booking-btn { opacity: 1; transform: translateY(0); }
.add-to-booking-btn:hover { background: var(--gold); color: var(--charcoal); }
.add-to-booking-btn.added { background: #4a8a4a; opacity: 1; transform: translateY(0); }

/* ── SALON BG BANNER ── */
.salon-bg-section { width: 100%; height: 460px; position: relative; overflow: hidden; }
.salon-bg-section img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; display: block; transition: transform 10s ease; }
.salon-bg-section:hover img { transform: scale(1.03); }
.salon-bg-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(44,36,32,.3) 0%, rgba(44,36,32,.1) 40%, rgba(250,247,242,.95) 100%);
}
.salon-bg-placeholder {
  width: 100%; height: 100%; background: var(--blush);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 12px; color: var(--muted);
}
.salon-bg-content {
  position: absolute; top: 42%; left: 50%; transform: translate(-50%,-50%);
  text-align: center; color: white; width: 90%; max-width: 700px;
}
.salon-bg-content .eyebrow {
  font-size: .68rem; letter-spacing: .24em; text-transform: uppercase;
  color: var(--gold-light); margin-bottom: 14px;
  display: flex; align-items: center; justify-content: center; gap: 10px;
}
.salon-bg-content .eyebrow::before,
.salon-bg-content .eyebrow::after { content:''; width: 28px; height: 1px; background: var(--gold-light); }
.salon-bg-content h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem,4.5vw,3.6rem); font-weight: 300; line-height: 1.15;
  margin-bottom: 14px; text-shadow: 0 2px 20px rgba(44,36,32,.3);
}
.salon-bg-content h2 em { font-style: italic; color: var(--gold-light); }
.salon-bg-content p { font-size: .85rem; letter-spacing: .1em; opacity: .85; }

/* ── ABOUT ── */
#about { background: var(--warm-white); display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-images { position: relative; height: 600px; }
.about-img-main { position: absolute; left: 0; top: 0; width: 72%; height: 80%; object-fit: cover; border-radius: 20px; box-shadow: 0 20px 60px var(--shadow); }
.about-img-accent { position: absolute; right: 0; bottom: 0; width: 52%; height: 55%; object-fit: cover; border-radius: 20px; box-shadow: 0 16px 40px var(--shadow); border: 6px solid var(--warm-white); }
.about-img-ph { background: var(--blush); display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 8px; color: var(--muted); font-size: .75rem; }
.about-decor { position: absolute; width: 120px; height: 120px; border: 1.5px solid var(--gold-light); border-radius: 50%; top: 50%; left: 50%; transform: translate(-50%,-50%); animation: spin-slow 20s linear infinite; }
.about-content { padding: 20px 0; }
.about-text { font-size: .9rem; line-height: 1.9; color: var(--muted); margin: 24px 0 32px; }
.about-signature { font-family: 'Cormorant Garamond', serif; font-size: 1.8rem; font-style: italic; color: var(--deep-rose); margin-bottom: 4px; }
.about-sig-role { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; }
.feat-item { display: flex; gap: 14px; align-items: flex-start; }
.feat-icon { width: 40px; height: 40px; border-radius: 12px; background: var(--blush); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.feat-text h4 { font-size: .8rem; font-weight: 500; color: var(--charcoal); margin-bottom: 4px; }
.feat-text p { font-size: .75rem; color: var(--muted); line-height: 1.6; }

/* ════════════════════════════════════════════════════════════
   GALLERY — Manual Portfolio Slider + Full-Screen Lightbox
   ════════════════════════════════════════════════════════════ */

/* ── Section container ── */
#gallery {
  background: var(--cream);
  padding-left: 0;
  padding-right: 0;
  overflow: hidden;             /* stops arrows poking outside      */
}
#gallery .gallery-header {
  padding-left: 60px;
  padding-right: 60px;
  margin-bottom: 40px;
}
@media (max-width: 900px) {
  #gallery .gallery-header { padding-left: 28px; padding-right: 28px; }
}

/* ── Wrapper: positions arrows absolutely over the track ── */
.gal-wrapper {
  position: relative;
  width: 100%;
}

/* ── Arrow buttons ───────────────────────────────────────────
   Centred vertically, outside the track on desktop.
   On mobile they shrink and sit just inside the edges.        */
.gal-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;

  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  cursor: pointer;

  background: var(--warm-white);
  color: var(--charcoal);
  font-size: 1.8rem;
  line-height: 1;

  display: flex;
  align-items: center;
  justify-content: center;

  box-shadow: 0 4px 20px rgba(44,36,32,0.18);
  transition: background 0.25s, color 0.25s, transform 0.2s, box-shadow 0.25s;

  /* Large tap target for touch screens */
  -webkit-tap-highlight-color: transparent;
}
.gal-arrow-prev { left: 16px; }
.gal-arrow-next { right: 16px; }

.gal-arrow:hover {
  background: var(--gold);
  color: var(--charcoal);
  box-shadow: 0 6px 28px rgba(201,169,110,0.35);
  transform: translateY(-50%) scale(1.08);
}
.gal-arrow:active {
  transform: translateY(-50%) scale(0.95);
}
/* Disabled state — when at start/end */
.gal-arrow:disabled {
  opacity: 0.3;
  cursor: default;
  pointer-events: none;
}

/* ── SCROLLABLE TRACK ────────────────────────────────────────
   display:flex puts all slides in one horizontal row.

   scroll-snap-type: x mandatory
     — the browser automatically snaps to the nearest slide
       after any scroll gesture, arrow click, or touch swipe.

   overflow-x: scroll + scrollbar-width:none
     — scrollable but no visible scrollbar.

   -webkit-overflow-scrolling:touch
     — enables momentum (inertia) scrolling on iOS.          */
.gal-track {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: scroll;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;          /* Firefox */
  gap: 0;                         /* no gap — slides tile edge-to-edge */
  /* Scroll padding ensures snapped item aligns to the left edge */
  scroll-padding-left: 0;
}
.gal-track::-webkit-scrollbar { display: none; }  /* Chrome/Safari */

/* ── INDIVIDUAL SLIDE ────────────────────────────────────────
   Desktop: 25% wide → 4 slides visible at once.
   scroll-snap-align: start snaps each slide to the left edge.
   flex-shrink:0 prevents slides from squishing.              */
.gal-slide {
  flex-shrink: 0;
  width: 25%;                     /* 4 columns on desktop            */
  position: relative;
  scroll-snap-align: start;
  overflow: hidden;
  cursor: pointer;
}

/* Image fills the slide — fixed height so all slides are uniform */
.gal-slide img {
  display: block;
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.5s ease, filter 0.4s ease;
  will-change: transform;
  -webkit-user-drag: none;        /* prevent accidental drag-to-open */
  user-select: none;
}

/* Zoom + slight dim on hover — signals it's clickable */
.gal-slide:hover img {
  transform: scale(1.04);
  filter: brightness(0.88);
}

/* Label overlay — appears on hover */
.gal-slide-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 40px 20px 18px;
  background: linear-gradient(to top, rgba(44,36,32,0.72) 0%, transparent 100%);
  color: var(--warm-white);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.gal-slide:hover .gal-slide-label { opacity: 1; }

/* ── DOT INDICATORS ── */
.gal-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
  padding: 0 60px;
}
.gal-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--border);
  cursor: pointer;
  padding: 0;
  transition: background 0.3s, transform 0.25s;
  -webkit-tap-highlight-color: transparent;
}
.gal-dot-active {
  background: var(--gold);
  transform: scale(1.35);
}

/* ── FULL-SCREEN LIGHTBOX ────────────────────────────────────
   position:fixed + inset:0 covers the entire viewport.
   z-index:1000 sits above every other element on the page
   (Square modal is 600, booking confirm is 500).
   display:none by default — JS adds .lb-open to show it.     */
#gal-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(20, 16, 14, 0.96);
  align-items: center;
  justify-content: center;
  animation: lb-fade-in 0.28s ease;
  cursor: zoom-out;               /* signals: click to close          */
  padding: 20px;
}
#gal-lightbox.lb-open {
  display: flex;
}
@keyframes lb-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* The large image inside the lightbox */
#gal-lightbox-img {
  display: block;
  max-width: min(90vw, 960px);
  max-height: 88vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.6);
  cursor: default;                /* stop the zoom-out cursor on image */
  animation: lb-img-in 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}
@keyframes lb-img-in {
  from { opacity: 0; transform: scale(0.93); }
  to   { opacity: 1; transform: scale(1); }
}

/* Caption bar below the image */
#gal-lightbox-caption {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.55);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: none;
}

/* Close button — top-right, 44×44 minimum tap target */
#gal-lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.25);
  background: rgba(44,36,32,0.7);
  color: rgba(255,255,255,0.9);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  z-index: 1001;
  -webkit-tap-highlight-color: transparent;
  /* Larger invisible tap zone */
  padding: 0;
}
#gal-lightbox-close::before {
  content: '';
  position: absolute;
  inset: -10px;
}
#gal-lightbox-close:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--charcoal);
  transform: rotate(90deg);
}
#gal-lightbox-close:active {
  transform: rotate(90deg) scale(0.9);
}

/* Prev/Next inside lightbox */
.lb-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.2);
  background: rgba(44,36,32,0.6);
  color: rgba(255,255,255,0.85);
  font-size: 1.8rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.22s, border-color 0.22s, transform 0.2s;
  z-index: 1001;
  -webkit-tap-highlight-color: transparent;
}
.lb-nav-btn::before {
  content: '';
  position: absolute;
  inset: -12px;
}
.lb-nav-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--charcoal);
}
#lb-prev { left: 24px; }
#lb-next { right: 24px; }

/* Lightbox counter e.g. "3 / 8" */
#lb-counter {
  position: absolute;
  top: 26px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.45);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  pointer-events: none;
}

/* ── MOBILE OVERRIDES ─────────────────────────────────────────
   One slide visible at a time, full width.
   Snap ensures the photo stays centered after swipe.          */
@media (max-width: 768px) {
  /* 1 column on mobile */
  .gal-slide {
    width: 100%;                  /* full width → 1 photo at a time  */
    scroll-snap-align: center;    /* centres the photo in the viewport*/
  }
  .gal-slide img {
    height: 68vw;                 /* taller crop for portrait photos  */
    max-height: 420px;
  }
  /* Arrows shrink and sit inside the image (semi-transparent) */
  .gal-arrow {
    width: 40px;
    height: 40px;
    font-size: 1.4rem;
    background: rgba(254,252,250,0.82);
    backdrop-filter: blur(4px);
  }
  .gal-arrow-prev { left: 10px; }
  .gal-arrow-next { right: 10px; }

  /* Lightbox: full screen with no side gaps on small phones */
  #gal-lightbox { padding: 0; }
  #gal-lightbox-img {
    max-width: 100vw;
    max-height: 100vh;
    border-radius: 0;
  }
  .lb-nav-btn { display: none; } /* swipe to navigate on mobile     */
  #gal-lightbox-close {
    top: max(env(safe-area-inset-top, 12px), 12px);
    right: 12px;
    background: rgba(44,36,32,0.85);
  }
  .gal-dots { padding: 0 20px; }
}


/* ── BOOKING ── */
#booking { background: var(--charcoal); color: var(--warm-white); }
#booking .section-label { color: var(--gold); }
#booking .section-label::before { background: var(--gold); }
#booking .section-title { color: var(--warm-white); }
.booking-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: start; margin-top: 60px; }
.booking-info p { color: rgba(255,255,255,.55); font-size: .88rem; line-height: 1.9; margin: 24px 0 40px; }
.booking-steps { display: flex; flex-direction: column; gap: 24px; }
.step-item { display: flex; gap: 20px; align-items: flex-start; }
.step-num { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(201,169,110,.4); display: flex; align-items: center; justify-content: center; font-family: 'Cormorant Garamond', serif; font-size: 1rem; color: var(--gold); flex-shrink: 0; }
.step-text h4 { font-size: .82rem; font-weight: 500; margin-bottom: 4px; }
.step-text p { font-size: .76rem; color: rgba(255,255,255,.45); line-height: 1.6; }
.booking-form { background: var(--warm-white); border-radius: 24px; padding: 44px; }
.form-title { font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; color: var(--charcoal); margin-bottom: 24px; font-weight: 400; }

/* cart */
.selected-services-box {
  background: var(--cream); border: 1.5px solid var(--gold);
  border-radius: 14px; padding: 18px 20px 14px; margin-bottom: 24px;
  animation: fade-in .3s ease;
}
.ss-label { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); font-weight: 500; margin-bottom: 14px; }
.ss-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.ss-item { display: flex; align-items: center; justify-content: space-between; background: var(--warm-white); border-radius: 10px; padding: 10px 14px; gap: 10px; animation: slide-in-right .25s ease; }
.ss-item-left { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; }
.ss-item-img { width: 38px; height: 38px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.ss-item-info { min-width: 0; }
.ss-item-name { font-size: .82rem; font-weight: 500; color: var(--charcoal); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ss-item-price { font-size: .73rem; color: var(--gold); margin-top: 1px; }
.ss-remove { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--border); background: transparent; cursor: pointer; color: var(--muted); font-size: .85rem; display: flex; align-items: center; justify-content: center; transition: all .2s; flex-shrink: 0; }
.ss-remove:hover { background: #fee; border-color: #e88; color: #c44; }
.ss-total-row { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--border); padding-top: 12px; font-size: .78rem; color: var(--muted); }
.ss-total-num { font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; color: var(--charcoal); font-weight: 500; }
.ss-empty { text-align: center; border: 1.5px dashed var(--border); border-radius: 14px; padding: 28px 20px; margin-bottom: 24px; transition: all .3s; }
.ss-empty-icon { font-size: 1.6rem; color: var(--gold-light); margin-bottom: 10px; }
.ss-empty p { font-size: .8rem; color: var(--muted); line-height: 1.7; }

/* form fields */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 13px 16px;
  border: 1.5px solid var(--border); border-radius: 10px;
  font-family: 'Jost', sans-serif; font-size: .85rem;
  color: var(--charcoal); background: transparent; outline: none;
  transition: border-color .3s, box-shadow .3s; appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,169,110,.12);
}
.form-group textarea { resize: none; height: 90px; }
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237A6A65' fill='none' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px;
}
.form-submit {
  width: 100%; padding: 15px; background: var(--charcoal); color: var(--warm-white);
  border: none; border-radius: 50px; font-family: 'Jost', sans-serif;
  font-size: .78rem; letter-spacing: .16em; text-transform: uppercase;
  cursor: pointer; transition: background .3s, transform .25s; margin-top: 8px;
}
.form-submit:hover { background: var(--gold); color: var(--charcoal); transform: translateY(-2px); }
.form-note { text-align: center; font-size: .72rem; color: var(--muted); margin-top: 14px; }

/* ── TESTIMONIALS ── */
#testimonials { background: var(--warm-white); }
.testimonials-scroll { display: flex; gap: 24px; overflow-x: auto; padding-bottom: 16px; scrollbar-width: none; }
.testimonials-scroll::-webkit-scrollbar { display: none; }
.testi-card { min-width: 340px; background: var(--cream); border-radius: 20px; padding: 32px; flex-shrink: 0; position: relative; transition: transform .3s; }
.testi-card:hover { transform: translateY(-4px); }
.testi-stars { color: var(--gold); font-size: .9rem; letter-spacing: 2px; margin-bottom: 20px; }
.testi-text { font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; line-height: 1.7; font-style: italic; color: var(--charcoal); margin-bottom: 24px; }
.testi-author { display: flex; align-items: center; gap: 14px; }
.testi-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold-light); }
.testi-name { font-size: .8rem; font-weight: 500; color: var(--charcoal); }
.testi-date { font-size: .72rem; color: var(--muted); margin-top: 2px; }
.testi-quote { position: absolute; top: 24px; right: 28px; font-family: 'Cormorant Garamond', serif; font-size: 5rem; line-height: 1; color: var(--gold-light); pointer-events: none; }

/* ── CONTACT ── */
#contact { background: var(--cream); }
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px; margin-top: 60px; align-items: start; }
.contact-map { border-radius: 20px; overflow: hidden; height: 420px; box-shadow: 0 8px 32px var(--shadow); }
.contact-map iframe { width: 100%; height: 100%; border: none; display: block; }
.contact-details { display: flex; flex-direction: column; gap: 32px; }
.contact-item { display: flex; gap: 20px; align-items: flex-start; }
.contact-icon { width: 48px; height: 48px; background: var(--warm-white); border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; box-shadow: 0 4px 16px var(--shadow); }
.contact-item-text h4 { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.contact-item-text p, .contact-item-text a { font-size: .88rem; color: var(--charcoal); text-decoration: none; line-height: 1.7; }
.social-row { display: flex; gap: 12px; margin-top: 40px; }
.social-link { width: 44px; height: 44px; border: 1px solid var(--border); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; text-decoration: none; color: var(--muted); transition: all .3s; }
.social-link:hover { background: var(--charcoal); border-color: var(--charcoal); color: white; transform: translateY(-2px); }

/* ── FOOTER ── */
footer { background: var(--charcoal); padding: 48px 60px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.footer-logo { font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; color: var(--warm-white); font-weight: 400; }
.footer-logo span { color: var(--gold); font-style: italic; }
.footer-copy { font-size: .72rem; color: rgba(255,255,255,.35); letter-spacing: .08em; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.4); text-decoration: none; transition: color .3s; }
.footer-links a:hover { color: var(--gold); }

/* ── ALL SERVICES MODAL ── */
.all-services-modal {
  display: none; position: fixed; inset: 0; z-index: 400;
  background: rgba(44,36,32,.72); backdrop-filter: blur(8px);
  overflow-y: auto; padding: 40px 20px;
}
.all-services-modal.open { display: block; }
.all-services-inner {
  background: var(--warm-white); border-radius: 28px;
  max-width: 1060px; margin: 0 auto; padding: 52px 48px 48px;
  position: relative; animation: slide-up .4s cubic-bezier(.16,1,.3,1);
}
.modal-close-btn {
  position: absolute; top: 20px; right: 20px;
  width: 40px; height: 40px; background: var(--cream);
  border-radius: 50%; border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 1rem; color: var(--muted); transition: all .3s;
}
.modal-close-btn:hover { background: var(--charcoal); color: white; border-color: var(--charcoal); }
.modal-header { margin-bottom: 48px; }
.modal-title { font-family: 'Cormorant Garamond', serif; font-size: 2.4rem; font-weight: 300; color: var(--charcoal); }
.modal-title em { font-style: italic; color: var(--deep-rose); }
.modal-sub { font-size: .85rem; color: var(--muted); margin-top: 8px; }
.modal-cat { margin-bottom: 48px; }
.modal-cat-header {
  display: flex; align-items: center; gap: 12px;
  font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; font-weight: 500; color: var(--charcoal);
  padding-bottom: 14px; border-bottom: 1px solid var(--border); margin-bottom: 24px;
}
.modal-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.modal-card { border-radius: 16px; overflow: hidden; background: var(--cream); position: relative; transition: transform .35s, box-shadow .35s; }
.modal-card:hover { transform: translateY(-6px); box-shadow: 0 20px 44px var(--shadow); }
.modal-card-img-wrap { overflow: hidden; }
.modal-card-img { width: 100%; height: 190px; object-fit: cover; display: block; transition: transform .5s; }
.modal-card:hover .modal-card-img { transform: scale(1.06); }
.modal-card-body { padding: 16px 18px 14px; }
.modal-card-name { font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; font-weight: 500; color: var(--charcoal); margin-bottom: 5px; }
.modal-card-desc { font-size: .77rem; color: var(--muted); line-height: 1.65; margin-bottom: 6px; }
.modal-card-note { font-size: .7rem; color: var(--deep-rose); font-style: italic; margin-bottom: 8px; line-height: 1.5; }
.modal-card-price { font-size: .8rem; color: var(--gold); font-weight: 500; }
.modal-nail-notice {
  font-size: .7rem; color: var(--muted); line-height: 1.6;
  background: var(--warm-white); border: 1px solid var(--border);
  border-radius: 8px; padding: 10px 14px; margin: 8px 18px 0;
}
.modal-nail-notice strong { display: block; color: var(--charcoal); font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 3px; }
.modal-add-btn {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  width: 100%; padding: 10px 12px;
  background: var(--charcoal); color: var(--warm-white);
  border: none; border-radius: 0 0 16px 16px;
  font-family: 'Jost', sans-serif; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase;
  cursor: pointer; transition: background .3s;
}
.modal-add-btn:hover { background: var(--gold); color: var(--charcoal); }
.modal-add-btn.added { background: #4a8a4a; }
.modal-book-strip {
  margin-top: 44px; padding: 32px 36px;
  background: var(--charcoal); border-radius: 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.modal-book-strip p { font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; color: var(--warm-white); font-weight: 300; font-style: italic; }

/* ── SCROLL REVEAL ── */
.reveal { opacity: 1; transform: translateY(0); transition: opacity .7s ease, transform .7s ease; }
.reveal.hidden { opacity: 0; transform: translateY(30px); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(2,1fr); }
  .booking-layout { grid-template-columns: 1fr; gap: 48px; }
  .booking-info { max-width: 560px; }
  .modal-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 900px) {
  section { padding: 64px 28px; }
  nav { padding: 16px 28px; }
  #hero { grid-template-columns: 1fr; grid-template-rows: auto; height: auto; }
  .hero-left { padding: 100px 28px 48px; }
  .hero-left::after { display: none; }
  .hero-title { font-size: 2.4rem; }
  .hero-sub { font-size: .85rem; margin-bottom: 32px; }
  .hero-right { display: block; height: 280px; max-height: 280px; overflow: hidden; }
  .hero-img-wrap { position: relative; height: 100%; }
  .hero-img-deco { display: none; }
  #about { grid-template-columns: 1fr; }
  .about-images { height: 320px; }
  .contact-grid { grid-template-columns: 1fr; }
  footer { padding: 36px 28px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .booking-form { padding: 28px 22px; }
  .testi-card { min-width: 280px; }
  .all-services-inner { padding: 40px 24px; }
}
@media (max-width: 680px) {
  section { padding: 52px 20px; }
  .services-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  footer { flex-direction: column; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
  .hero-title { font-size: 2rem; }
  .about-features { grid-template-columns: 1fr; }
  .modal-grid { grid-template-columns: 1fr; }
  .modal-book-strip { flex-direction: column; text-align: center; }
}

/* ════════════════════════════════════════
   SQUARE BOOKING MODAL — Integration CSS
   ════════════════════════════════════════ */

/* ── Overlay backdrop ── */
.sq-modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 600;
  background: rgba(44, 36, 32, 0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  align-items: center;
  justify-content: center;
  padding: 16px;
  /* GPU-accelerated fade */
  opacity: 0;
  transition: opacity 0.3s ease;
}
.sq-modal-backdrop.sq-open {
  display: flex;
  opacity: 1;
}
/* Animate in — two-step trick so transition fires */
.sq-modal-backdrop.sq-animating {
  display: flex;
}

/* ── Modal container ── */
.sq-modal {
  position: relative;
  background: var(--warm-white);
  border-radius: 24px;
  overflow: hidden;
  width: 100%;
  max-width: 860px;
  /* tall enough to show Square booking widget comfortably */
  height: min(88vh, 780px);
  display: flex;
  flex-direction: column;
  box-shadow: 0 32px 80px rgba(44, 36, 32, 0.35);
  transform: translateY(24px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.sq-modal-backdrop.sq-open .sq-modal {
  transform: translateY(0);
}

/* ── Modal header bar ── */
.sq-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
  background: var(--warm-white);
}
.sq-modal-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.sq-modal-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--charcoal);
}
.sq-modal-logo span { color: var(--deep-rose); font-style: italic; }
.sq-modal-title-text {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.sq-modal-divider {
  width: 1px;
  height: 22px;
  background: var(--border);
}

/* ── Close button — touch-friendly 44×44 hit area ── */
.sq-close-btn {
  position: relative;
  width: 44px;
  height: 44px;
  border: none;
  background: var(--cream);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 1.1rem;
  transition: background 0.25s, color 0.25s, transform 0.2s;
  /* Larger touch target via pseudo-element */
  -webkit-tap-highlight-color: transparent;
  flex-shrink: 0;
}
.sq-close-btn::before {
  content: '';
  position: absolute;
  inset: -8px;
}
.sq-close-btn:hover,
.sq-close-btn:focus-visible {
  background: var(--charcoal);
  color: var(--warm-white);
  transform: rotate(90deg);
  outline: none;
}
.sq-close-btn:active { transform: rotate(90deg) scale(0.92); }
/* ── Two-button strategy:
   Desktop → .sq-close-desktop (inside header, normal flow)
   Mobile  → .sq-close-mobile  (outside .sq-modal, position:fixed safe)
   ── */
.sq-close-mobile {
  /* Hidden on desktop */
  display: none;
}
.sq-close-desktop {
  /* Shown on desktop (default) */
  display: flex;
}

/* ── Square iframe container ── */
.sq-iframe-wrap {
  flex: 1;
  position: relative;
  overflow: hidden;
  background: var(--cream);
}
.sq-iframe-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* ── Loading spinner shown until iframe loads ── */
.sq-loader {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: var(--cream);
  transition: opacity 0.4s;
  z-index: 2;
}
.sq-loader.sq-loaded { opacity: 0; pointer-events: none; }
.sq-spinner {
  width: 40px;
  height: 40px;
  border: 2px solid var(--border);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: sq-spin 0.9s linear infinite;
}
@keyframes sq-spin { to { transform: rotate(360deg); } }
.sq-loader-text {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── Payment info strip at bottom of modal ── */
.sq-payment-strip {
  padding: 12px 24px;
  border-top: 1px solid var(--border);
  background: var(--warm-white);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  flex-shrink: 0;
}
.sq-payment-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.sq-payment-badge .badge-icon { font-size: 1rem; }
.sq-payment-sep {
  width: 1px;
  height: 14px;
  background: var(--border);
}
.sq-secure-note {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.68rem;
  color: var(--muted);
  opacity: 0.7;
}

/* ── Payment Info Component (inline near Book Now buttons) ── */
.sq-payment-info {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 18px;
  margin-top: 16px;
}
.sq-payment-info-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 2px; }
.sq-payment-info-body {}
.sq-payment-info-title {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--charcoal);
  margin-bottom: 5px;
}
.sq-payment-info-methods {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}
.sq-method-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 4px 10px;
  font-size: 0.68rem;
  color: var(--charcoal);
  letter-spacing: 0.06em;
}
.sq-method-chip .chip-icon { font-size: 0.85rem; }
.sq-payment-info-note {
  font-size: 0.7rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ── "Book Now" trigger button variant ── */
.sq-book-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--charcoal);
  color: var(--warm-white);
  padding: 15px 40px;
  border-radius: 50px;
  border: none;
  font-family: 'Jost', sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s, transform 0.25s, box-shadow 0.3s;
  box-shadow: 0 4px 20px rgba(44, 36, 32, 0.18);
  text-decoration: none;
}
.sq-book-btn:hover {
  background: var(--gold);
  color: var(--charcoal);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(201, 169, 110, 0.35);
}
.sq-book-btn:active { transform: translateY(-1px); }
.sq-book-btn .sq-btn-icon { font-size: 1rem; }

/* ══════════════════════════════════════════════════════════════
   MOBILE FULL-SCREEN FIX — max-width: 600px
   Desktop view is NOT touched above this point.
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 600px) {

  /* ── 1. BACKDROP ──────────────────────────────────────────────
     Full-screen, zero padding, anchored at 0,0.
     overflow:hidden here prevents ANY body scroll while open.   */
  .sq-modal-backdrop {
    padding: 0 !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    overflow: hidden !important;
  }

  /* ── 2. MODAL CONTAINER ────────────────────────────────────────
     100dvh  = Dynamic Viewport Height.
       Recalculates as the URL bar shows/hides — the root cause
       of the modal being pushed off screen.
     padding-top: env(safe-area-inset-top)
       = The iPhone notch / Dynamic Island / Android status bar
         height. Evaluates to 0 on phones without a notch.
     overflow:hidden
       = Prevents the Square iframe from expanding the modal
         and pushing the header off-screen.                       */
  .sq-modal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;

    height: 100vh !important;         /* fallback — older browsers  */
    height: 100dvh !important;        /* ← primary fix: dynamic vh  */

    max-width: 100vw !important;
    max-height: none !important;
    border-radius: 0 !important;
    margin: 0 !important;

    /* Pushes ALL children below the notch / status bar */
    padding-top: env(safe-area-inset-top) !important;

    /* KEY: stops the iframe from expanding beyond the modal box */
    overflow: hidden !important;

    /* Slide-up entrance */
    transform: translateY(100%) !important;
    transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .sq-modal-backdrop.sq-open .sq-modal {
    transform: translateY(0) !important;
  }

  /* ── 3. HEADER — visible, 60px tall, full-width ─────────────────
     Position absolute so it doesn't compress the iframe.
     60px height matches the safe-zone calc below.               */
  .sq-modal-header {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 60px !important;
    display: flex !important;
    align-items: center !important;
    padding: 0 16px !important;
    margin-top: 0 !important;
    background: var(--warm-white) !important;
    border-bottom: 1px solid var(--border) !important;
    z-index: 10 !important;
    pointer-events: none !important;  /* taps pass through to iframe */
  }
  /* Show logo and title on mobile so user knows where they are */
  .sq-modal-logo {
    display: block !important;
    font-size: 1rem !important;
  }
  .sq-modal-title-text {
    display: block !important;
    font-size: 0.65rem !important;
  }
  .sq-modal-divider {
    display: block !important;
    height: 16px !important;
  }

  /* ── 4. SAFE-ZONE IFRAME WRAPPER ────────────────────────────────
     calc(100dvh - 60px):
       Total screen height minus the 60px header.
       This is the exact visible space left for the iframe.
     overflow-y: auto + -webkit-overflow-scrolling: touch:
       Enables native momentum scrolling inside the wrapper
       on iOS Safari — without this the iframe feels "sticky".   */
  .sq-iframe-safe-zone {
    position: absolute !important;
    top: 60px !important;              /* sits directly below header */
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: calc(100dvh - 60px) !important;   /* safe zone */
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior: contain !important;  /* no background scroll leak */
  }

  /* ── 5. THE IFRAME ──────────────────────────────────────────────
     width/height 100% fills the safe-zone wrapper exactly.
     min-height matches the wrapper so Square never clips.       */
  .sq-iframe-safe-zone iframe {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: calc(100dvh - 60px) !important;
    border: none !important;
    background: var(--cream);
  }

  /* ── 6. X CLOSE BUTTON ─────────────────────────────────────────
     position: fixed — anchored to VIEWPORT, not the modal.
     z-index: 99999 — above Square's own z-indexes.
     calc(env + 12px) — clears the notch and adds breathing room.
     pointer-events: auto — re-enables tap on this button even
       though the parent header has pointer-events:none.         */
  .sq-close-btn {
    position: fixed !important;
    top: calc(env(safe-area-inset-top) + 12px) !important;
    right: 12px !important;
    z-index: 99999 !important;
    pointer-events: auto !important;

    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;

    background: rgba(44, 36, 32, 0.90) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 50% !important;
    font-size: 1.1rem !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.40) !important;
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
  }
  /* 64×64 total tap area — Apple HIG minimum is 44×44 */
  .sq-close-btn::before {
    content: '' !important;
    position: absolute !important;
    inset: -10px !important;
  }
  .sq-close-btn:active {
    background: var(--gold) !important;
    color: var(--charcoal) !important;
    transform: scale(0.91) !important;
  }

  /* ── 7. PAYMENT STRIP — hidden, free up space ── */
  .sq-payment-strip {
    display: none !important;
  }

  /* ── 8. BUTTON VISIBILITY SWAP ──────────────────────────────────
     Mobile X (backdrop sibling) is shown.
     Desktop X (inside header) is hidden.                        */
  .sq-close-mobile  { display: flex !important; }
  .sq-close-desktop { display: none !important; }
}

/* ── Very small phones (< 380px) ─────────────────────────────── */
@media (max-width: 380px) {
  .sq-modal {
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    padding-top: env(safe-area-inset-top) !important;
    overflow: hidden !important;
  }
  .sq-iframe-safe-zone {
    height: calc(100dvh - 60px) !important;
  }
  .sq-iframe-safe-zone iframe {
    min-height: calc(100dvh - 60px) !important;
  }
  .sq-close-btn {
    top: calc(env(safe-area-inset-top) + 8px) !important;
    right: 8px !important;
    z-index: 99999 !important;
  }
}

/* ════════════════════════════════════════
   INSPIRATION GALLERY — Selectable Looks
   ════════════════════════════════════════ */

/* Gallery subtitle */
.gallery-sub {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 10px;
  max-width: 520px;
  line-height: 1.7;
}

/* Gallery item — add relative for heart overlay */
.gallery-item { position: relative; }

/* ── Heart button ── */
.inspo-heart {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: rgba(254, 252, 250, 0.92);
  backdrop-filter: blur(4px);
  color: var(--muted);
  font-size: 1.15rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 4;
  transition: background 0.25s, color 0.25s, transform 0.2s;
  -webkit-tap-highlight-color: transparent;
  line-height: 1;
}
.inspo-heart:hover {
  background: var(--warm-white);
  color: var(--deep-rose);
  transform: scale(1.15);
}
/* When saved */
.gallery-item.inspo-active .inspo-heart {
  background: var(--deep-rose);
  color: white;
  transform: scale(1.1);
}
.gallery-item.inspo-active .inspo-heart::after {
  content: '♥';
  position: absolute;
}
.gallery-item.inspo-active .inspo-heart { font-size: 0; }
.gallery-item.inspo-active .inspo-heart::after { font-size: 1rem; }

/* Glow border when selected */
.gallery-item.inspo-active {
  outline: 3px solid var(--deep-rose);
  outline-offset: 3px;
  border-radius: 16px;
}
.gallery-item.inspo-active img {
  transform: scale(1.02);
}

/* ── "Saved" badge ── */
.inspo-selected-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: var(--deep-rose);
  color: white;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 50px;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.25s, transform 0.25s;
  pointer-events: none;
  z-index: 4;
}
.gallery-item.inspo-active .inspo-selected-badge {
  opacity: 1;
  transform: translateY(0);
}

/* ── Inspiration tray (sticky bar at bottom) ── */
.inspo-tray {
  position: sticky;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  padding: 14px 60px;
  background: var(--charcoal);
  border-top: 1px solid rgba(201,169,110,0.2);
  animation: slide-up 0.35s ease;
}
.inspo-tray-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.inspo-tray-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.inspo-tray-icon {
  color: var(--gold);
  font-size: 1.2rem;
}
.inspo-tray-title {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--warm-white);
  letter-spacing: 0.06em;
}
.inspo-tray-sub {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.45);
  margin-top: 2px;
  letter-spacing: 0.06em;
}
/* Thumbnail strip in tray */
.inspo-tray-thumbs {
  display: flex;
  gap: 8px;
  flex: 1;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 2px 0;
}
.inspo-tray-thumbs::-webkit-scrollbar { display: none; }
.inspo-thumb {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid rgba(201,169,110,0.4);
  animation: slide-in-right 0.2s ease;
  cursor: pointer;
  transition: border-color 0.2s, transform 0.2s;
}
.inspo-thumb:hover {
  border-color: var(--deep-rose);
  transform: scale(1.08);
}
/* Tray action buttons */
.inspo-tray-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.inspo-book-btn {
  background: var(--gold);
  color: var(--charcoal);
  border: none;
  padding: 10px 22px;
  border-radius: 50px;
  font-family: 'Jost', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.25s, transform 0.2s;
}
.inspo-book-btn:hover { background: var(--warm-white); transform: translateY(-2px); }
.inspo-clear-btn {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.5);
  padding: 9px 16px;
  border-radius: 50px;
  font-family: 'Jost', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.25s;
}
.inspo-clear-btn:hover {
  border-color: rgba(255,255,255,0.5);
  color: rgba(255,255,255,0.8);
}

/* ── Inspo summary inside booking cart ── */
.inspo-in-cart {
  background: rgba(176,122,117,0.07);
  border: 1px solid rgba(176,122,117,0.25);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 16px;
}
.inspo-in-cart-title {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--deep-rose);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.inspo-cart-thumbs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.inspo-cart-thumb-wrap {
  position: relative;
}
.inspo-cart-thumb {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  object-fit: cover;
  display: block;
  border: 2px solid var(--border);
}
.inspo-cart-label {
  font-size: 0.6rem;
  color: var(--muted);
  text-align: center;
  margin-top: 3px;
  max-width: 52px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .inspo-tray { padding: 12px 20px; }
  .inspo-tray-inner { gap: 12px; }
  .gallery-header { flex-direction: column; align-items: flex-start; gap: 16px; }
}
@media (max-width: 600px) {
  .inspo-tray-right { width: 100%; justify-content: center; }
  .inspo-tray-inner { justify-content: center; }
  .inspo-tray-left { width: 100%; justify-content: center; text-align: center; }
}
