:root {
  color-scheme: light;
  font: 100%/1.5 ui-rounded, 'Segoe UI', system-ui, sans-serif;
  color: #392438;
  background: #fdf0f6;
  --ink: #392438;
  --muted: #674d63;
  --accent: #a51d64;
  --accent-deep: #89154f;
  --glass-edge: #fff9;
  --shadow: 0 24px 70px #89245821, 0 3px 12px #98265812;
  --surface: linear-gradient(150deg, #fffdfde8, #fff2f6a6 75%, #fff8fbd9);
  --radius: 30px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}

body {
  min-width: 280px;
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(ellipse at 12% 29%, #ffbdda 0%, transparent 38%),
    radial-gradient(ellipse at 91% 20%, #ffffff 0%, transparent 42%),
    radial-gradient(ellipse at 85% 79%, #f5acce 0%, transparent 49%),
    linear-gradient(157deg, #fffafa, #ffebf4 45%, #fff4f9);
}

a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; }
:focus-visible { outline: 3px solid #a62c72; outline-offset: 3px; }
.frame { width: min(1160px, calc(100% - 64px)); margin-inline: auto; }

.topbar {
  border-bottom: 1px solid #fff;
  background: linear-gradient(110deg, #ffffffb5, #fff5f988);
  box-shadow: 0 8px 35px #8b255308, inset 0 1px 0 #fff;
  backdrop-filter: blur(20px) saturate(150%);
}

.topbar-content { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: .8rem; }
.wordmark { display: inline-flex; align-items: center; gap: .65rem; font-size: 1.12rem; font-weight: 750; letter-spacing: -.025em; text-decoration: none; white-space: nowrap; }
.monogram {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(145deg, #fff 4%, #fce2ee 48%, #f291bf);
  color: #861851; border: 1px solid #ffffffdc;
  box-shadow: 0 4px 10px #93275922, inset 0 1px 1px #fff, inset 0 -1px 3px #d7649a4f;
  font: 700 1.27rem/1 Georgia, serif;
}

.hours, .header-link {
  display: inline-flex; align-items: center; min-height: 36px; padding: .35rem .8rem;
  border-radius: 99px; border: 1px solid #fff; background: #fff9;
  box-shadow: 0 3px 9px #a0467710, inset 0 1px 1px #fff;
  color: #63415a; font-size: .9rem; font-weight: 650;
}
.hours { font-variant-numeric: tabular-nums; white-space: nowrap; }
.header-link { text-decoration: none; text-align: center; }
.header-link:hover { background: #fff; }

.salon-hero {
  display: flow-root;
  background:
    linear-gradient(180deg, transparent 48%, #fdf0f6 99%),
    linear-gradient(90deg, #4d223315, #fceaf18a 68%, #fcf0f7db),
    url("/salon-front.jpg") center 45% / cover no-repeat;
}

.booking-layout {
  display: grid; grid-template-columns: minmax(0, .83fr) minmax(0, 1.17fr);
  gap: clamp(28px, 5vw, 76px); align-items: start; margin-block: clamp(36px, 5.4vw, 78px) 36px;
}
.intro {
  padding: clamp(21px, 3vw, 40px);
  border: 1px solid #ffffffc7;
  border-radius: var(--radius);
  background: linear-gradient(145deg, #fff8f9ef, #fff0f7c9);
  backdrop-filter: blur(17px) saturate(130%);
  box-shadow: var(--shadow), inset 0 1px 1px #fff;
}
h1 {
  margin: 0;
  font-size: clamp(3.4rem, 7.05vw, 6.75rem);
  font-weight: 740;
  line-height: .97;
  letter-spacing: -.075em;
  overflow-wrap: anywhere;
}
h1 span { color: #b52b72; }
.intro p { color: var(--muted); max-width: 34ch; font-size: clamp(1.02rem, 1.55vw, 1.17rem); margin: 1.5rem 0 1.75rem; }
.intro-actions { display: flex; flex-wrap: wrap; gap: .65rem; margin: 0 0 1rem; }
.booking-page .intro h1 { font-size: clamp(2.85rem, 5.4vw, 5.55rem); }
.review-link {
  display: inline-flex; align-items: center; gap: .73rem; padding: .52rem .95rem .52rem .52rem;
  border: 1px solid #fff; border-radius: 17px; color: #671c47; text-decoration: none;
  background: linear-gradient(120deg, #fff, #ffd3e7); box-shadow: 0 7px 16px #7a244b24, inset 0 1px 1px #fff;
}
.review-link:hover { background: #fff; }
.review-icon {
  display: grid; place-items: center; width: 37px; height: 37px; flex: 0 0 37px;
  background: #ffe5aa; color: #754400; border: 1px solid #fff9df; border-radius: 12px;
  font-size: 1.18rem;
}
.review-link strong, .review-link small { display: block; line-height: 1.25; }
.review-link small { margin-top: .18rem; color: #6b4056; font-size: .8rem; }

.paper {
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--glass-edge);
  border-radius: var(--radius);
  box-shadow: var(--shadow), inset 0 2px 1px #fff, inset 0 -1px 1px #ffffffcd;
  backdrop-filter: blur(24px) saturate(155%);
}
.booking-paper { padding: clamp(24px, 3.4vw, 44px); background: linear-gradient(142deg, #fff8fcf5, #fff0f7ef); }
h2, h3, p { margin-top: 0; }
h2 { margin-bottom: 1.15rem; line-height: 1.15; font-size: clamp(1.52rem, 3vw, 1.96rem); font-weight: 745; letter-spacing: -.045em; }
h3 { font-size: 1.44rem; margin-bottom: .55rem; letter-spacing: -.035em; }

fieldset { border: none; padding: 0; margin: 0; min-width: 0; }
legend, label { font-size: .94rem; font-weight: 650; }
legend { margin-bottom: .55rem; }
label { display: grid; gap: .34rem; min-width: 0; }
.service-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .6rem; }
.service-grid > p { grid-column: 1 / -1; margin: 0; }
.service { display: block; position: relative; grid-column: span 2; }
.service input { position: absolute; opacity: 0; width: 1px; height: 1px; min-height: 0; }
.service span {
  display: grid; align-content: center; gap: .24rem; min-height: 72px; height: 100%;
  padding: .65rem .7rem .65rem 2rem; border-radius: 15px; border: 1px solid #ffffffea;
  box-shadow: inset 0 1px 1px #fff, 0 3px 8px #92405c0c;
  background: linear-gradient(150deg, #fff, #fff8fadd);
  cursor: pointer; line-height: 1.25; overflow-wrap: anywhere;
}
.service span::before {
  content: ""; position: absolute; left: .62rem; top: 50%; transform: translateY(-50%);
  display: grid; place-items: center; width: 1rem; height: 1rem;
  border: 1px solid #9e647f; border-radius: 5px; background: #fff;
}
.service input:checked + span::before {
  content: "✓"; border-color: #8d1851; background: #a51d64; color: #fff; font-size: .73rem;
}
.service input:checked + span {
  border-color: #d85b9b;
  color: #721343;
  background: linear-gradient(145deg, #fff1f7 12%, #ffcfE6);
  box-shadow: 0 3px 9px #a52f6322, inset 0 1px 1px #fff, inset 0 0 0 1px #d85b9b;
}
.service input:not(:checked) + span:hover { background: #fff; }
.service input:focus-visible + span { outline: 3px solid #a62c72; outline-offset: 2px; }
.service small, .optional { color: var(--muted); font-size: .835rem; font-weight: 500; }
.form-help { color: var(--muted); font-size: .92rem; margin: 0 0 .65rem; }
.duration-total { font-weight: 700; color: #802050; }
.appointment-fields { margin-top: 1.05rem; }
.date-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
.time-row { margin-top: .7rem; }

.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; margin-top: 1.04rem; }
.contact-row { margin-bottom: 1.04rem; }
input, select, textarea {
  color: var(--ink); width: 100%; min-width: 0; min-height: 46px;
  background-color: #fffafc; border: 1px solid #e8c9d9; border-radius: 13px;
  box-shadow: inset 0 1px 4px #ad6a8710, 0 1px 1px #ffffffc7;
  padding: .59rem .74rem; font-size: 1rem; font-weight: 510;
}
input::placeholder, textarea::placeholder { color: #78586f; opacity: 1; }
select {
  appearance: none; padding-right: 1.95rem;
  background-image: linear-gradient(45deg, transparent 52%, #834b6b 52%), linear-gradient(135deg, #834b6b 49%, transparent 49%);
  background-position: right 15px center, right 10px center;
  background-size: 5px 5px; background-repeat: no-repeat;
  text-overflow: ellipsis;
}
select:disabled { color: #776472; background-color: #fff4f9; }
textarea { resize: vertical; }
.field-message, .muted { color: var(--muted); }
.field-message { margin: .55rem 0 0; font-size: .9rem; }
.field-message:empty { display: none; }
.error { color: #8e1a46; }

.primary, .secondary {
  display: inline-flex; justify-content: center; align-items: center; min-height: 45px;
  padding: .64rem 1.02rem; border-radius: 100px; font-weight: 710; line-height: 1.2;
  text-align: center; text-decoration: none; border: 1px solid transparent; font-size: .96rem;
}
.primary {
  background: linear-gradient(171deg, #a92369, #90144f);
  color: #fff; border-color: #8f174f;
  box-shadow: 0 6px 13px #a51d6435, inset 0 1px 2px #f99cc97a;
}
.primary:hover:not(:disabled) { background: linear-gradient(171deg, #9a1c5d, #78113f); }
.primary:disabled { background: #eed0e1; color: #6f485f; border-color: #e8bbd3; box-shadow: inset 0 1px 1px #fff8; }
.secondary { background: #ffffffac; border-color: #fff; color: #672346; box-shadow: 0 3px 9px #93415f17, inset 0 1px 1px #fff; }
.secondary:hover:not(:disabled) { background: #fff; }
.secondary:disabled { opacity: .65; }
#submit-booking { width: 100%; margin-top: 1rem; min-height: 48px; }
.result { display: grid; justify-items: start; gap: .7rem; padding-block: .8rem; }
.result p, .result h3 { margin: 0; }
.result .primary { margin-top: .55rem; }
.success-mark {
  font-size: 1.5rem; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(140deg, #fff, #f9bcd9); color: #861851; border: 1px solid #fff;
  box-shadow: 0 4px 10px #aa376628, inset 0 1px 1px #fff;
}
.quiet-link { display: inline-block; margin-top: .6rem; color: #783352; text-underline-offset: 3px; }
.footer {
  border-top: 1px solid #fff; display: flex; justify-content: space-between; gap: .8rem;
  padding-block: 1rem 1.5rem; color: #604056; font-size: .9rem;
}
.footer a { text-underline-offset: 3px; }

.contact-section { padding-block: .5rem 2.2rem; }
#idopontfoglalas, #kapcsolat, #arlista { scroll-margin-top: 1rem; }
.menu-section {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: start;
  gap: clamp(1rem, 4vw, 3rem); margin-block: 1rem 2rem; padding: clamp(20px, 4vw, 44px);
}
.menu-copy { align-self: center; }
.menu-copy > p { color: var(--muted); }
.menu-copy .menu-hours { margin: .8rem 0 0; }
.menu-image { display: block; border-radius: 18px; overflow: hidden; box-shadow: 0 13px 32px #40132732; }
.menu-image img { display: block; width: 100%; height: auto; }
.contact-section h2 { margin-bottom: .95rem; }
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.contact-card {
  display: grid; justify-items: center; align-content: start; gap: .95rem;
  padding: clamp(19px, 3.5vw, 34px); text-align: center;
}
.contact-card h3 { margin: 0; }
.contact-qr {
  display: grid; place-items: center; width: min(100%, 240px); aspect-ratio: 1;
  padding: .5rem; overflow: hidden; border: 1px solid #fff; border-radius: 18px;
  background: #fff; box-shadow: 0 9px 25px #923f5c1a;
}
.contact-qr img { display: block; max-width: 100%; height: auto; border-radius: 12px; }
.facebook-card {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center;
  gap: .8rem; margin-bottom: 1rem; padding: .75rem clamp(.75rem, 2vw, 1.35rem);
  text-decoration: none; border-radius: 20px;
  background: linear-gradient(120deg, #fff 1%, #ffe2f1e8 83%);
}
.facebook-card:hover .facebook-action { background: #fff; }
.facebook-icon {
  display: grid; place-items: center; width: 43px; height: 43px;
  border: 1px solid #fff; border-radius: 13px;
  background: linear-gradient(135deg, #fff, #e0ebff);
  color: #15448f; box-shadow: inset 0 1px 2px #fff, 0 3px 8px #4669ac24;
  font: 750 1.65rem/1 'Segoe UI', sans-serif;
}
.facebook-card strong, .facebook-card small { display: block; line-height: 1.25; }
.facebook-card small { margin-top: .16rem; color: var(--muted); font-size: .88rem; }

.admin-layout, .simple-layout { margin-block: clamp(30px, 6vw, 72px); }
.admin-layout h1 { font-size: clamp(2.5rem, 6.7vw, 5.35rem); margin-bottom: 1.25rem; }
.simple-layout h1 { font-size: clamp(2.3rem, 6.1vw, 4.15rem); margin-bottom: 1.2rem; }
.admin-message:empty { display: none; }
.admin-message { color: #7d254e; }
.narrow-paper { max-width: 550px; padding: clamp(22px, 4.6vw, 48px); }
.simple-layout .narrow-paper { margin-inline: auto; }
.narrow-paper form { display: grid; gap: .86rem; }
.narrow-paper form .primary { justify-self: start; }
.filters {
  display: grid; grid-template-columns: minmax(0, 240px) minmax(0, 250px) auto auto;
  justify-content: start; gap: .8rem; padding: 1rem 1.12rem; align-items: end; margin-bottom: 1rem;
}
.booking-list { display: grid; gap: .8rem; }
.booking-item { padding: clamp(17px, 2.5vw, 27px); }
.booking-item h2 { margin-bottom: .45rem; font-size: 1.37rem; }
.booking-item p { margin-bottom: .38rem; overflow-wrap: anywhere; }
.booking-top { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: .45rem .65rem; margin-bottom: .35rem; }
.status-badge {
  display: inline-block; border-radius: 20px; padding: .36rem .68rem; font-weight: 680;
  font-size: .875rem; background: #eee6ed; color: #624961;
}
.status-badge[data-state="pending"] { background: #fbe3bb; color: #6f4113; }
.status-badge[data-state="confirmed"] { background: #d6eadb; color: #255033; }
.actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .9rem; }
.empty { padding: 1.15rem; }
dialog { width: min(540px, calc(100% - 1.5rem)); padding: 1.5rem; }
dialog::backdrop { background: #4f143b52; backdrop-filter: blur(5px); }
.qr-page .qr-hero { min-height: calc(100vh - 72px); }
.qr-layout {
  width: min(470px, calc(100% - 32px));
  width: min(470px, calc(100% - 32px), max(315px, calc(80svh - 174px)));
  display: grid; gap: .75rem; padding-block: clamp(1rem, 3vw, 1.5rem);
}
.qr-preview {
  display: block; border: 1px solid #fff; border-radius: 27px; overflow: hidden;
  box-shadow: 0 24px 60px #4b1b4261, 0 4px 10px #4b1b4231;
}
.qr-preview img { display: block; width: 100%; height: auto; }
.qr-actions {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: .65rem 1rem; padding: .75rem; border-radius: 19px;
}
.qr-hours { color: var(--muted); font-size: .9rem; font-weight: 650; }

@media (max-width: 860px) {
  .frame { width: min(620px, calc(100% - 36px)); }
  .topbar-content { min-height: 62px; }
  .salon-hero { background: linear-gradient(180deg, transparent 145px, #fdf0f6 320px), url("/salon-front.jpg") center -100px / max(100%, 520px) auto no-repeat; }
  .booking-layout { gap: 1.25rem; grid-template-columns: 1fr; margin-top: 155px; }
  .intro h1 br { display: none; }
  .booking-page .intro h1 { font-size: clamp(2.36rem, 8.4vw, 4.75rem); line-height: 1; }
  .intro p { margin: .75rem 0 0; max-width: 48ch; }
  .intro-actions { margin: .9rem 0 .7rem; }
  .qr-page .qr-hero { min-height: calc(100vh - 62px); }
}

@media (max-width: 570px) {
  .contact-grid, .menu-section { grid-template-columns: 1fr; }
  .filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filters button { justify-self: start; }
}

@media (max-width: 450px) {
  :root { --radius: 23px; }
  .frame { width: calc(100% - 28px); }
  .booking-paper { padding: 17px; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
  .service { grid-column: auto; }
  .service span { min-height: 64px; }
  .contact-row { grid-template-columns: 1fr; }
}

@media (max-width: 335px) {
  .field-row, .filters { grid-template-columns: 1fr; }
  .header-link { font-size: .82rem; }
}

@media print {
  :root, body { background: #fff; }
  .topbar, .qr-actions { display: none; }
  .qr-page .qr-hero { min-height: 0; background: #fff; }
  .qr-layout { padding: 0; }
  .qr-preview { border: 0; box-shadow: none; border-radius: 0; }
}
