/* Webiparos Fodrász (demó): időpontfoglaló. A Webiparos termékoldalak színeivel és betűivel. */
@font-face { font-family: 'Hanken Grotesk'; font-weight: 400 700; font-display: block; src: url(/assets/fonts/hanken-grotesk-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Hanken Grotesk'; font-weight: 400 700; font-display: block; src: url(/assets/fonts/hanken-grotesk-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Bricolage Grotesque'; font-weight: 500 800; font-display: block; src: url(/assets/fonts/bricolage-grotesque-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Bricolage Grotesque'; font-weight: 500 800; font-display: block; src: url(/assets/fonts/bricolage-grotesque-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root { --ink: #0F172A; --paper: #F3F5F7; --dim: #64748B; --blue: #315A7F; --acc: #C2410C; --line: #B6C2D2; --disp: 'Bricolage Grotesque', 'Hanken Grotesk', system-ui, sans-serif; }
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body.o { margin: 0; background: var(--paper); color: var(--ink); font-family: 'Hanken Grotesk', system-ui, sans-serif; font-size: 16px; line-height: 1.5; }
button, input, select, textarea { font: inherit; color: inherit; }

/* felső sáv */
.top { display: flex; align-items: center; gap: 28px; padding: 0 clamp(20px, 3vw, 48px); height: 64px; color: #fff; background: radial-gradient(60% 220% at 0% 0%, rgba(96,165,250,.32), transparent 60%), radial-gradient(40% 200% at 100% 100%, rgba(194,65,12,.45), transparent 62%), var(--ink); }
.top__brand { margin: 0; font-family: var(--disp); font-weight: 700; font-size: 20px; letter-spacing: -.01em; }
.top__brand span { font-weight: 500; opacity: .7; }
.top__mit { margin: 0; color: #93C5FD; font-weight: 600; font-size: 15px; }
.top__nav { margin-left: auto; }
.top__nav a { color: rgba(255,255,255,.85); font-size: 14px; text-underline-offset: 3px; }

.o-main { padding: clamp(20px, 2.6vw, 40px) clamp(20px, 3vw, 48px) 56px; }
.fog { max-width: 1560px; margin: 0 auto; }

/* három oszlop, egy képernyőre */
.fog__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr) minmax(0, 1.05fr); gap: clamp(28px, 3.4vw, 56px); align-items: start; }
.fog__set { border: 0; margin: 0 0 26px; padding: 0; min-width: 0; }
.fog__set > legend, .fog__leg { display: block; float: none; width: auto; margin: 0 0 12px; padding: 0; font-family: var(--disp); font-size: 1.3rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.15; color: var(--blue); }

/* választható sorok: szolgáltatás, hajhossz, munkatárs */
.opt { display: flex; position: relative; cursor: pointer; margin-bottom: 8px; }
.opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opt__box { flex: 1 1 auto; display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 52px; padding: 10px 16px; border: 2px solid var(--line); border-radius: 3px; transition: background-color .15s, color .15s, border-color .15s; }
.opt__n { font-size: 16px; font-weight: 600; }
.opt__p { font-size: 14px; opacity: .75; text-align: right; }
.opt:hover .opt__box { border-color: var(--blue); }
.opt input:checked + .opt__box { background: var(--blue); border-color: var(--blue); color: #fff; }
.opt input:checked + .opt__box .opt__p { opacity: .9; }
.opt input:focus-visible + .opt__box { outline: 3px solid rgba(49,90,127,.35); outline-offset: 2px; }
.opt--tiltott { opacity: .45; cursor: not-allowed; }
.opt--tiltott:hover .opt__box { border-color: var(--line); }

.fog__set--sor { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.fog__set--sor > .opt { margin: 0; }
.fog__set--sor .opt__box { flex-direction: column; align-items: flex-start; justify-content: center; gap: 0; padding: 8px 12px; }
.fog__set--sor .opt__p { text-align: left; font-size: 13px; }
.fog__set--sor > legend { grid-column: 1 / -1; }

.fog__set--mt { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.fog__set--mt > .opt { margin: 0; }
.fog__set--mt > legend, .fog__set--mt > .fog__mtmegj { grid-column: 1 / -1; }
.opt--mt .opt__box { justify-content: flex-start; padding: 8px 12px; min-height: 48px; gap: 10px; }
.opt--mt .opt__n { flex: 1 1 auto; font-size: 15px; }
.opt--mt .opt__p { font-size: 12px; }
.opt__kep { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; flex: none; background: #E2E8F0; display: grid; place-items: center; font-weight: 700; font-size: 14px; color: var(--blue); }
.opt input:checked + .opt__box .opt__kep--betu { background: rgba(255,255,255,.22); color: #fff; }
.fog__mtmegj { margin: 0; color: var(--acc); font-size: 14px; }
.fog__mtmegj:empty { display: none; }

/* naptár */
.cal { max-width: 440px; }
.cal__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.cal__ho { margin: 0; font-weight: 700; font-size: 17px; }
.cal__nav { width: 40px; height: 40px; border: 2px solid var(--line); background: transparent; border-radius: 3px; font-size: 17px; cursor: pointer; }
.cal__nav:hover:not(:disabled) { border-color: var(--blue); color: var(--blue); }
.cal__nav:disabled { opacity: .35; cursor: not-allowed; }
.cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; text-align: center; }
.cal__grid > span { font-size: 12px; font-weight: 700; color: var(--dim); padding-bottom: 2px; }
.cal__nap { aspect-ratio: 1.15; min-height: 38px; border: 2px solid transparent; background: #fff; border-radius: 3px; font-size: 15px; font-weight: 600; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.cal__nap:hover:not(:disabled) { border-color: var(--blue); }
.cal__nap[aria-pressed="true"] { background: var(--blue); color: #fff; border-color: var(--blue); }
.cal__nap:disabled { background: transparent; color: #A7B2C1; cursor: not-allowed; }
.cal__nap--tele { text-decoration: line-through; }
.fog__megj { margin: 12px 0 0; font-size: 13px; color: var(--dim); max-width: 440px; }
.fog__ny { color: var(--ink); font-weight: 600; }

/* időpontok */
.idok { display: grid; grid-template-columns: repeat(auto-fill, minmax(74px, 1fr)); gap: 8px; }
.ido { min-height: 42px; border: 2px solid var(--line); background: transparent; border-radius: 3px; font-size: 16px; font-weight: 600; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.ido:hover:not(:disabled) { border-color: var(--blue); }
.ido[aria-pressed="true"] { background: var(--blue); color: #fff; border-color: var(--blue); }
.ido:disabled { color: #A7B2C1; border-color: #DCE3EC; text-decoration: line-through; cursor: not-allowed; }
.fog__ures { margin: 0; color: var(--dim); grid-column: 1 / -1; }

/* adatok */
.mezo { display: block; margin-bottom: 14px; }
.mezo span { display: block; font-size: 14px; font-weight: 600; margin-bottom: 0; }
.mezo input { width: 100%; border: 0; border-bottom: 2px solid var(--line); background: transparent; border-radius: 0; padding: 7px 2px; font-size: 18px; font-weight: 500; -webkit-appearance: none; appearance: none; }
.mezo input:focus { outline: none; border-bottom-color: var(--blue); }

/* összegzés és küldés */
.fog__sum { margin-top: 4px; }
.fog__mit { margin: 0 0 2px; font-weight: 600; font-size: 14px; }
.fog__total { margin: 0 0 12px; font-family: var(--disp); font-size: 1.7rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.15; }
.fog__hiba { margin: 0 0 10px; color: var(--acc); font-weight: 600; font-size: 14px; }
.fog__hiba:empty { display: none; }
.fog__fglpipa { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; font-size: 14px; }
.fog__fglpipa input { width: 22px; height: 22px; margin-top: 2px; }
.fog__kuld { width: 100%; padding: 17px 24px; font-size: 18px; font-weight: 700; color: #fff; background: var(--acc); border: 2px solid var(--acc); border-radius: 3px; cursor: pointer; }
.fog__kuld:hover { filter: brightness(1.1); }
.fog__kuld:disabled { opacity: .75; cursor: progress; }
.fog__jog { margin: 12px 0 0; font-size: 12px; color: var(--dim); line-height: 1.5; }
.fog__jog a { color: var(--blue); }

/* kész */
.fog__kesz { outline: none; max-width: 640px; margin: 4vh auto; }
.fog__keszh { margin: 0 0 16px; font-family: var(--disp); font-size: clamp(2.4rem, 1.6rem + 3vw, 4rem); font-weight: 700; letter-spacing: -.03em; line-height: 1; color: var(--blue); }
.fog__kesztxt { font-size: 19px; margin: 0 0 14px; }
.fog__demo { color: var(--dim); font-size: 14px; margin: 0 0 24px; }
.fog__ujra { background: transparent; border: 2px solid var(--ink); border-radius: 3px; padding: 14px 24px; font-weight: 700; cursor: pointer; }
.fog__ujra:hover { background: var(--ink); color: #fff; }

@media (max-width: 1100px) {
  .fog__grid { grid-template-columns: 1fr 1fr; }
  .fog__col:last-child { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .top { height: 56px; gap: 14px; }
  .top__mit, .top__nav { display: none; }
  .fog__grid { grid-template-columns: 1fr; gap: 0; }
  .fog__set--sor { grid-template-columns: 1fr; }
  .cal { max-width: none; }
  .o-main { padding: 24px 18px 60px; }
}
