/* ===== BIBI Haus — colours & base ===== */
:root {
  --cream: #f7f1ea;
  --sand: #ecdfd2;
  --blush: #d9a99a;
  --rose: #b97a6a;
  --espresso: #2e211c;
  --ink: #3d302a;
  --muted: #7d6c63;
  --white: #fffdfb;
  --line: rgba(46, 33, 28, .12);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --radius: 18px;
  --max: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; color: var(--espresso); line-height: 1.1; margin: 0 0 .5em; }
h1 { font-size: clamp(2.8rem, 7vw, 5.2rem); letter-spacing: -.01em; }
.hero h1 { font-size: clamp(2.3rem, 4.6vw, 3.9rem); }
h1 em, h2 em { font-style: italic; color: var(--rose); }
h2 { font-size: clamp(2.1rem, 4.5vw, 3.2rem); }
h3 { font-size: 1.6rem; }

.eyebrow {
  font-size: .78rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--rose); font-weight: 500; margin: 0 0 1rem;
}
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.center { text-align: center; margin-top: 2.5rem; }

.section { max-width: var(--max); margin: 0 auto; padding: 6rem 1.25rem; }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 3rem; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .95rem 1.8rem; border-radius: 999px;
  background: var(--espresso); color: var(--cream);
  text-decoration: none; font-weight: 400; font-size: .95rem; letter-spacing: .04em;
  border: 1px solid var(--espresso); transition: .25s ease; cursor: pointer;
}
.btn:hover { background: var(--rose); border-color: var(--rose); }
.btn-ghost { background: transparent; color: var(--espresso); }
.btn-ghost:hover { background: var(--espresso); color: var(--cream); border-color: var(--espresso); }
.btn-small { padding: .6rem 1.25rem; font-size: .85rem; }

/* ===== Header ===== */
.header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 2rem;
  padding: 1rem clamp(1.25rem, 4vw, 3rem);
  background: rgba(247, 241, 234, .88);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.logo {
  font-family: var(--serif); font-size: 1.7rem; font-weight: 600;
  text-decoration: none; color: var(--espresso); letter-spacing: .06em;
}
.logo span { font-style: italic; font-weight: 400; color: var(--rose); letter-spacing: 0; }
.nav { display: flex; gap: 2rem; margin-left: auto; }
.nav a { text-decoration: none; font-size: .95rem; color: var(--ink); position: relative; }
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -4px; width: 0; height: 1px;
  background: var(--rose); transition: width .25s;
}
.nav a:hover::after { width: 100%; }
.menu-toggle { display: none; }

/* ===== Hero ===== */
.hero {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: center;
  padding: 4rem 1.25rem 5rem;
}
.lead { font-size: 1.15rem; max-width: 480px; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 2rem 0 2.2rem; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 1.5rem; font-size: .92rem; }
.rating { display: flex; align-items: center; gap: .5rem; }
.stars { color: var(--rose); letter-spacing: .1em; }
.status { display: flex; align-items: center; gap: .5rem; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--muted); }
.status.open .dot { background: #6b9e6e; box-shadow: 0 0 0 4px rgba(107, 158, 110, .2); }
.status.closed .dot { background: var(--rose); }

.hero-visual { position: relative; height: 560px; }
.arch {
  position: absolute; border-radius: 999px 999px var(--radius) var(--radius);
  background-size: cover; background-position: center;
}
.arch-main {
  right: 0; top: 0; width: 78%; height: 100%;
  background-image: url("images/hero.jpg"),
    linear-gradient(160deg, #e9cfc3 0%, #d9a99a 45%, #9c6455 100%);
}
.arch-small {
  left: 0; bottom: 40px; width: 38%; height: 52%;
  border: 8px solid var(--cream);
  background-image: url("images/detail.jpg"),
    linear-gradient(200deg, #f3e6dc 0%, #c9a38f 100%);
}
.hero-badge {
  position: absolute; left: 8%; top: 12%;
  width: 120px; height: 120px; border-radius: 50%;
  background: var(--espresso); color: var(--cream);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 2.6rem; line-height: 1; text-align: center;
}
.hero-badge small { font-family: var(--sans); font-size: .65rem; letter-spacing: .12em; text-transform: uppercase; margin-top: .3rem; line-height: 1.3; }

/* ===== About ===== */
.about { display: grid; grid-template-columns: 1fr 1.2fr; gap: 4rem; align-items: center; }
.about-photo {
  aspect-ratio: 4 / 5; border-radius: var(--radius);
  background-image: url("images/behnaz.webp"),
    linear-gradient(145deg, #ecdfd2 0%, #d9b7a8 60%, #b97a6a 100%);
  background-size: cover; background-position: center 22%;
}
.features { list-style: none; padding: 0; margin: 1.8rem 0 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.features li {
  padding: .45rem 1rem; border: 1px solid var(--line); border-radius: 999px;
  font-size: .88rem; background: var(--white);
}

/* ===== Services ===== */
.services { background: var(--white); max-width: none; }
.services > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.tabs {
  display: flex; gap: .5rem; justify-content: center; flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.tab {
  font: inherit; font-size: .9rem; cursor: pointer;
  padding: .6rem 1.2rem; border-radius: 999px;
  background: transparent; border: 1px solid var(--line); color: var(--ink);
  transition: .2s;
}
.tab:hover { border-color: var(--rose); }
.tab.active { background: var(--espresso); color: var(--cream); border-color: var(--espresso); }

.menu { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.menu-group {
  background: var(--cream); border-radius: var(--radius); padding: 2rem;
  animation: fade .35s ease;
}
.menu-group h3 { margin-bottom: .2rem; }
.menu-group .group-note { font-size: .88rem; color: var(--muted); margin: 0 0 1rem; }
.item {
  display: grid; grid-template-columns: 1fr auto; gap: .2rem 1rem;
  padding: .85rem 0; border-bottom: 1px dashed var(--line);
}
.item:last-child { border-bottom: 0; }
.item-name { font-weight: 400; color: var(--espresso); }
.item-time { font-size: .82rem; color: var(--muted); grid-column: 1; }
.item-price {
  font-family: var(--serif); font-size: 1.35rem; font-weight: 600; color: var(--espresso);
  grid-row: 1 / span 2; grid-column: 2; align-self: center; white-space: nowrap;
}
.item-price small { font-family: var(--sans); font-size: .72rem; font-weight: 400; color: var(--muted); margin-right: .25rem; text-transform: uppercase; letter-spacing: .08em; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ===== Visit: calendar & hours ===== */
.visit-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 1.5rem; align-items: start; }
.card { background: var(--white); border-radius: var(--radius); padding: 2rem; border: 1px solid var(--line); }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.2rem; }
.cal-head h3 { margin: 0; }
.cal-nav {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line);
  background: transparent; font-size: 1.4rem; cursor: pointer; color: var(--espresso);
}
.cal-nav:hover:not(:disabled) { background: var(--sand); }
.cal-nav:disabled { opacity: .3; cursor: default; }
.cal-weekdays, .cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: .35rem; text-align: center; }
.cal-weekdays span { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-bottom: .4rem; }
.cal-day {
  aspect-ratio: 1; border-radius: 50%; border: 0; background: transparent;
  font: inherit; font-size: .95rem; color: var(--ink); cursor: pointer; transition: .15s;
}
.cal-day:hover:not(:disabled) { background: var(--sand); }
.cal-day.today { box-shadow: inset 0 0 0 1px var(--rose); }
.cal-day.selected { background: var(--espresso); color: var(--cream); }
.cal-day.sunday:not(.selected):not(:disabled) { color: var(--rose); }
.cal-day:disabled { color: rgba(61, 48, 42, .25); cursor: default; }
.cal-result {
  margin-top: 1.4rem; padding-top: 1.4rem; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
}
.cal-result p { margin: 0; }
.cal-result strong { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; color: var(--espresso); display: block; }

.hours ul { list-style: none; padding: 0; margin: 0 0 1rem; }
.hours li { display: flex; justify-content: space-between; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.hours li.today { color: var(--rose); font-weight: 500; }

/* ===== Contact ===== */
.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; align-items: center; }
.getting-here { padding: 0; list-style: none; margin: 1.5rem 0 2rem; }
.getting-here li { padding: .35rem 0; }
.getting-here strong { font-weight: 500; color: var(--espresso); }
.contact-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.map { border-radius: var(--radius); overflow: hidden; height: 420px; background: var(--sand); }
.map iframe { width: 100%; height: 100%; border: 0; filter: sepia(.25) saturate(.8); }

/* ===== Footer ===== */
.footer { background: var(--espresso); color: var(--sand); text-align: center; padding: 3.5rem 1.25rem 6rem; }
.footer .logo { color: var(--cream); }
.footer p { margin: .5rem 0 0; }

.mobile-book { display: none; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero, .about, .contact, .visit-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 2.5rem; gap: 2rem; }
  .hero-visual { height: 380px; order: -1; }
  .menu { grid-template-columns: 1fr; }
  .about { gap: 2.5rem; }
  .about-photo { max-width: 420px; }
  .section { padding: 4.5rem 1.25rem; }
}

@media (max-width: 720px) {
  .header { gap: 1rem; }
  .header > .btn { display: none; }
  .menu-toggle {
    display: flex; flex-direction: column; gap: 6px; margin-left: auto;
    background: none; border: 0; padding: .5rem; cursor: pointer;
  }
  .menu-toggle span { width: 24px; height: 1.5px; background: var(--espresso); transition: .25s; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; background: var(--cream);
    border-bottom: 1px solid var(--line);
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .nav.open { max-height: 320px; }
  .nav a { padding: 1rem 1.25rem; border-top: 1px solid var(--line); }
  .nav a::after { display: none; }

  .hero-badge { width: 96px; height: 96px; font-size: 2rem; }
  .menu-group, .card { padding: 1.4rem; }
  .map { height: 300px; }

  .mobile-book {
    display: block; position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60;
    text-align: center; padding: 1rem; border-radius: 999px;
    background: var(--espresso); color: var(--cream); text-decoration: none;
    font-weight: 400; letter-spacing: .05em; box-shadow: 0 10px 30px rgba(46, 33, 28, .3);
  }
}

/* ===================================================== */
/* ===== Booking system: shared app pages           ===== */
/* ===================================================== */
.center-text { text-align: center; }
.menu { grid-template-columns: 1fr; max-width: 760px; }
.item-link { text-decoration: none; color: inherit; border-radius: 10px; transition: background .15s, padding .15s; }
.item-link:hover { background: var(--sand); padding-left: .6rem; padding-right: .6rem; }

.cta-card .steps-list { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.steps-list li { display: flex; align-items: center; gap: .9rem; padding: .55rem 0; }
.steps-list span {
  width: 30px; height: 30px; border-radius: 50%; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--sand); font-family: var(--serif); font-weight: 600; color: var(--espresso);
}
.cta-card .btn { margin-top: .5rem; }

.app-page { min-height: 100vh; }
.app-page .header { justify-content: space-between; }
.back-link { text-decoration: none; font-size: .92rem; color: var(--muted); }
.back-link:hover { color: var(--espresso); }
.booking { max-width: 680px; margin: 0 auto; padding: 2.5rem 16px 5rem; }
.booking-head { text-align: center; margin-bottom: 2rem; }
.page-title { font-size: clamp(2.2rem, 6vw, 3.2rem); }

.step { margin-bottom: 1rem; transition: opacity .2s; }
.step.is-locked { opacity: .45; pointer-events: none; }
.step.is-locked .step-body, .step.is-locked #serviceList { display: none; }
.step-head { display: flex; align-items: center; gap: .8rem; }
.step-head h2 { font-size: 1.55rem; margin: 0; flex: 1; }
.step-num {
  width: 32px; height: 32px; border-radius: 50%; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--espresso); color: var(--cream); font-size: .9rem;
}
.step.is-done .step-num { background: #6b9e6e; font-size: 0; }
.step.is-done .step-num::after { content: "✓"; font-size: .95rem; }
.step-summary { margin: .8rem 0 0 2.75rem; }
.step-body, #serviceList { margin-top: 1.4rem; }
.link-btn {
  background: none; border: 0; font: inherit; font-size: .9rem; color: var(--rose);
  cursor: pointer; text-decoration: underline; text-underline-offset: 3px; padding: .3rem;
}

.svc-group { border-bottom: 1px solid var(--line); }
.svc-group summary {
  cursor: pointer; list-style: none; padding: 1rem 0;
  font-family: var(--serif); font-size: 1.3rem; font-weight: 600; color: var(--espresso);
  display: flex; justify-content: space-between; align-items: center;
}
.svc-group summary::-webkit-details-marker { display: none; }
.svc-group summary::after { content: "+"; font-family: var(--sans); font-weight: 300; font-size: 1.4rem; color: var(--muted); }
.svc-group[open] summary::after { content: "–"; }
.svc {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  text-align: left; font: inherit; color: inherit; cursor: pointer;
  background: var(--cream); border: 1px solid transparent; border-radius: 12px;
  padding: .85rem 1rem; margin-bottom: .5rem; transition: .15s;
}
.svc:hover { border-color: var(--rose); background: var(--white); }
.svc-left { display: flex; flex-direction: column; }
.svc-name { color: var(--espresso); font-weight: 400; }
.svc-time { font-size: .82rem; color: var(--muted); }
.svc-price { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; color: var(--espresso); white-space: nowrap; }

.cal-day.available { background: var(--sand); color: var(--espresso); font-weight: 500; }
.cal-day.available:hover { background: var(--blush); }
.cal-day.available.selected, .cal-day.selected { background: var(--espresso); color: var(--cream); }
.cal-loading { grid-column: 1 / -1; padding: 2rem 0; }
.slots-wrap { margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: .5rem; margin-top: .8rem; }
.slot {
  font: inherit; font-size: .95rem; padding: .65rem 0; border-radius: 10px; cursor: pointer;
  border: 1px solid var(--line); background: var(--white); color: var(--espresso); transition: .15s;
}
.slot:hover { background: var(--espresso); color: var(--cream); border-color: var(--espresso); }

.form { display: flex; flex-direction: column; gap: 1rem; }
.form label { display: flex; flex-direction: column; gap: .35rem; font-size: .92rem; color: var(--espresso); font-weight: 400; }
.form input:not([type=checkbox]), .form select, .form textarea {
  font: inherit; font-size: 16px; font-weight: 300; color: var(--ink);
  padding: .75rem .9rem; border-radius: 10px; border: 1px solid var(--line); background: var(--white);
  width: 100%;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--blush); border-color: var(--rose); }
.form input:disabled { opacity: .45; }
.form label.check, label.check { flex-direction: row; align-items: flex-start; gap: .6rem; font-weight: 300; font-size: .9rem; cursor: pointer; }
label.check input { margin-top: .25rem; accent-color: var(--espresso); width: 17px; height: 17px; flex: none; }
.form-error { color: #a2453a; background: #f8e6e2; border-radius: 10px; padding: .7rem .9rem; margin: 0; font-size: .92rem; }
.btn-wide { width: 100%; }
.btn:disabled { opacity: .6; cursor: wait; }
.btn-danger { color: #a2453a; border-color: #d9a39b; }
.btn-danger:hover { background: #a2453a; color: #fff; border-color: #a2453a; }

.done { text-align: center; }
.done-icon {
  width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 1rem;
  background: #6b9e6e; color: #fff; font-size: 1.8rem; display: flex; align-items: center; justify-content: center;
}
.summary-box { background: var(--cream); border-radius: 14px; padding: .5rem 1.2rem; margin: 1.5rem 0; text-align: left; }
.summary-row { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px dashed var(--line); }
.summary-row:last-child { border-bottom: 0; }
.summary-row span:last-child { text-align: right; color: var(--espresso); }
.done-actions { display: flex; gap: .7rem; justify-content: center; flex-wrap: wrap; margin-top: 1rem; }

/* ===== Admin ===== */
.admin .header { flex-wrap: wrap; gap: 1rem; }
.admin-tabs { display: flex; gap: .3rem; flex-wrap: wrap; }
.admin-tabs button {
  font: inherit; font-size: .9rem; padding: .5rem 1rem; border-radius: 999px; cursor: pointer;
  background: transparent; border: 1px solid transparent; color: var(--ink);
}
.admin-tabs button.active { background: var(--espresso); color: var(--cream); }
.admin-main { max-width: 1200px; margin: 0 auto; padding: 1.5rem 16px 5rem; }
.admin-main .card { margin-bottom: 1rem; }
.login-card { text-align: center; margin-top: 3rem; }
.login-card .form { text-align: left; margin-top: 1rem; }

.diary-bar { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; margin-bottom: 1.2rem; }
.diary-bar input[type=date] { font: inherit; padding: .5rem .7rem; border-radius: 10px; border: 1px solid var(--line); background: var(--white); }
.day-title { font-size: 1.6rem; margin: 0 auto 0 .5rem; }
.diary { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1rem; align-items: start; }
.diary-col-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: .8rem; }
.diary-col-head h3 { margin: 0; }
.appt { border-left: 3px solid var(--rose); background: var(--cream); border-radius: 0 12px 12px 0; padding: .8rem 1rem; margin-bottom: .6rem; }
.appt.is-cancelled { opacity: .5; border-left-color: var(--muted); }
.appt.is-cancelled .appt-name { text-decoration: line-through; }
.appt.is-block { border-left-color: var(--muted); background: repeating-linear-gradient(-45deg, var(--cream), var(--cream) 8px, var(--sand) 8px, var(--sand) 16px); }
.appt-top { display: flex; justify-content: space-between; gap: .5rem; align-items: center; }
.appt-time { font-weight: 500; color: var(--espresso); font-size: .92rem; }
.appt-name { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; color: var(--espresso); }
.appt-svc { font-size: .9rem; }
.appt-contact { display: flex; flex-wrap: wrap; gap: .2rem .8rem; margin-top: .2rem; }
.appt-notes { margin-top: .3rem; color: var(--muted); font-style: italic; }
.appt-actions { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .7rem; }
.badge { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; padding: .15rem .55rem; border-radius: 999px; background: var(--muted); color: #fff; }
.badge-soft { background: var(--sand); color: var(--ink); }
.chip {
  font: inherit; font-size: .8rem; padding: .35rem .8rem; border-radius: 999px; cursor: pointer;
  background: var(--white); border: 1px solid var(--line); color: var(--espresso); text-decoration: none;
}
.chip:hover { border-color: var(--espresso); }
.chip-wa { border-color: #8cc49a; color: #2f6b3d; }
.chip-wa:hover { background: #e7f4ea; }
.chip-danger { color: #a2453a; border-color: #e3b8b1; }
.chip-danger:hover { background: #f8e6e2; }
.empty { padding: .5rem 0; }

.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; }
.form-grid h3 { margin: 0; }
.span-all { grid-column: 1 / -1; }
.form-actions { display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; }
.form-grid label.check { align-self: end; padding-bottom: .8rem; }

.list-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.list-row:last-child { border-bottom: 0; }

.section-bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.section-bar p { margin: 0; }
.svc-row {
  display: grid; grid-template-columns: 2fr 1.2fr .7fr .7fr 1fr .5fr; gap: .7rem; align-items: end;
  padding: 1rem 1.2rem !important;
}
.svc-row label { display: flex; flex-direction: column; gap: .25rem; font-size: .78rem; color: var(--muted); }
.svc-row input:not([type=checkbox]), .svc-row select {
  font: inherit; font-size: 15px; padding: .55rem .65rem; border-radius: 8px; border: 1px solid var(--line); background: var(--white); width: 100%;
}
.svc-row label.check { flex-direction: row; align-items: center; color: var(--ink); font-size: .85rem; }
.svc-row label.check input { margin: 0; }
.svc-row .form-actions { grid-column: span 4; justify-content: flex-end; }
.svc-row.is-new { outline: 2px solid var(--blush); }

.team-editor { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1rem; align-items: start; }
.hours-edit { display: flex; flex-direction: column; gap: .4rem; }
.hours-row { display: grid; grid-template-columns: 95px 1fr auto 1fr auto; gap: .5rem; align-items: center; }
.hours-row input[type=time] { padding: .5rem; font-size: 15px; }
.hours-row label.check { align-items: center; }
.hours-row label.check input { margin: 0; }
.hours-day { font-size: .9rem; }
.team-card .btn { align-self: flex-start; }

.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 100;
  background: var(--espresso); color: var(--cream); padding: .8rem 1.4rem; border-radius: 999px;
  box-shadow: 0 10px 30px rgba(46, 33, 28, .3); font-size: .92rem;
}

@media (max-width: 900px) {
  .svc-row { grid-template-columns: 1fr 1fr; }
  .svc-row label:first-child { grid-column: 1 / -1; }
  .svc-row .form-actions { grid-column: 1 / -1; justify-content: flex-start; }
}
@media (max-width: 720px) {
  .booking .card, .admin-main .card { padding: 1.2rem; }
  .step-summary { margin-left: 0; }
  .admin .header { position: static; }
  .admin-tabs { order: 3; width: 100%; overflow-x: auto; flex-wrap: nowrap; }
  .admin-tabs button { white-space: nowrap; }
  .day-title { width: 100%; margin: .3rem 0 0; font-size: 1.35rem; order: 5; }
  .diary { grid-template-columns: 1fr; }
  .hours-row { grid-template-columns: 80px 1fr auto 1fr auto; gap: .3rem; }
  .hours-row input[type=time] { padding: .45rem .3rem; font-size: 14px; }
}

/* ===== Gallery ===== */
.gallery-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 260px; gap: 1rem; margin-bottom: 1.5rem;
}
.gallery-grid figure { margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--line); }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.gallery-grid figure:hover img { transform: scale(1.04); }
.gallery-grid .g-wide { grid-column: span 2; }
.gallery-grid .g-tall { grid-row: span 2; }
.gallery a { color: var(--rose); }
.footer .tagline { font-family: var(--serif); font-style: italic; font-size: 1.25rem; }
@media (max-width: 720px) {
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .gallery-grid .g-wide { grid-column: auto; }
}
