/* RagyÓra Szépségszalon — shared stylesheet
   Self-hosted fonts, hover states and responsive rules that plain inline
   style="" (used throughout the markup for 1:1 visual fidelity) cannot express. */

@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/ibmplexmono-400-latinext.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: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/ibmplexmono-400-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: 'Jost';
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url('/fonts/jost-latinext.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: 'Jost';
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url('/fonts/jost-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: 'Marcellus';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/marcellus-400-latinext.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: 'Marcellus';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/marcellus-400-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;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; background: #F7F3EE; }
body { font-family: 'Jost', system-ui, sans-serif; color: #2A2320; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: #A98A4B; text-decoration: none; }
a:hover { color: #2A2320; }
::selection { background: #E3D3B4; }
button, input, textarea, select { font-family: inherit; font-size: 100%; color: inherit; }
button { background: none; border: none; padding: 0; margin: 0; cursor: pointer; text-align: inherit; }
input, textarea { outline: none; }
input:focus, textarea:focus, button:focus-visible, a:focus-visible { outline: 2px solid #A98A4B; outline-offset: 2px; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.skip-link { position: absolute; left: -999px; top: 0; background: #2A2320; color: #F7F3EE; padding: 12px 20px; z-index: 100; }
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- photo placeholders → real images ---------- */
.ph-photo { width: 100%; height: 100%; object-fit: cover; }
.ph-wrap { position: relative; overflow: hidden; background: #EFE7DE; }

/* ---------- buttons / interactive hover states (replace style-hover) ---------- */
.hov-underline { border-bottom: 1px solid transparent; transition: border-color .15s ease; }
.hov-underline:hover { border-bottom-color: #A98A4B; color: #2A2320; }
.hov-border-dark { transition: border-color .15s ease; }
.hov-border-dark:hover { border-color: #2A2320; }
.hov-bg-gold { transition: background-color .15s ease; }
.hov-bg-gold:hover { background: #A98A4B; }
.hov-bg-cream { transition: background-color .15s ease; }
.hov-bg-cream:hover { background: #EFE7DE; }
.hov-card-lift { transition: border-color .15s ease, transform .15s ease; }
.hov-card-lift:hover { border-color: #A98A4B; transform: translateY(-3px); }
.hov-bg-dark2 { transition: background-color .15s ease; }
.hov-bg-dark2:hover { background: #3A312C; }
.hov-border-gold { transition: border-color .15s ease; }
.hov-border-gold:hover { border-color: #A98A4B; }
.hov-pill { transition: border-color .15s ease, background-color .15s ease; }
.hov-pill:hover { border-color: #2A2320; background: #EFE7DE; }
.hov-quiz-opt { transition: border-color .15s ease, background-color .15s ease; }
.hov-quiz-opt:hover { border-color: #C4A667; background: #463C36; }
.hov-footer-link { transition: color .15s ease; }
.hov-footer-link:hover { color: #EFE7DE; }
.is-selected.hov-pill { border-color: #2A2320; background: #EFE7DE; }
.ui-link { color: inherit; }
.site-footer a { color: inherit; }

/* ---------- header / nav ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(247,243,238,.94); backdrop-filter: blur(10px); border-bottom: 1px solid #E3D9CE; }
.nav-links { display: flex; gap: 22px; flex-wrap: wrap; flex: 1; justify-content: center; font-size: 14px; letter-spacing: .04em; }
.nav-links a { color: #2A2320; padding: 4px 0; }
.nav-toggle { display: none; }
.nav-actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; align-items: center; gap: 8px; border: 1px solid #CFC2B4; border-radius: 999px; padding: 10px 16px; font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
  .nav-links { display: none; width: 100%; flex-direction: column; align-items: flex-start; gap: 4px; order: 4; padding-top: 14px; }
  .nav-links a { padding: 10px 4px; width: 100%; border-bottom: 1px solid #E3D9CE !important; }
  .site-header .header-inner { flex-wrap: wrap; }
  .site-header.nav-open .nav-links { display: flex; }
  .nav-actions { margin-left: auto; }
}

/* ---------- responsive grid layouts ---------- */
.g-hero { display: grid; grid-template-columns: 1.05fr .95fr; }
.g-2 { display: grid; grid-template-columns: 1fr 1fr; }
.g-quiz { display: grid; grid-template-columns: .9fr 1.1fr; }
.g-cart { display: grid; grid-template-columns: 1.5fr .8fr; }
.g-booking { display: grid; grid-template-columns: 1.3fr .7fr; }
.g-newsletter { display: grid; grid-template-columns: 1.1fr .9fr; }
.g-footer { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; }
.g-service-detail { display: grid; grid-template-columns: .8fr 1.2fr; }
.g-cart-item { display: grid; grid-template-columns: 88px 1fr auto; }
@media (max-width: 900px) {
  .g-hero, .g-cart, .g-booking { grid-template-columns: 1fr; }
}
@media (max-width: 880px) {
  .g-2, .g-quiz, .g-service-detail { grid-template-columns: 1fr; }
  .g-footer { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 800px) {
  .g-newsletter { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .g-footer { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .g-cart-item { grid-template-columns: 64px 1fr; }
  .g-cart-item > .cart-line-total { grid-column: 1 / -1; text-align: right; }
}

.price-row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px 20px; }

/* ---------- FAQ ---------- */
.faq-item[data-open="0"] .faq-answer { display: none; }
.faq-item[data-open="1"] .faq-answer { display: block; }

/* ---------- quiz ---------- */
.quiz-step[hidden], .quiz-result[hidden] { display: none; }

/* ---------- cart / forms ---------- */
.qty-btn { width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; font-size: 16px; border: 1px solid #CFC2B4; flex-shrink: 0; }
.field { border: 1px solid #CFC2B4; background: #F7F3EE; padding: 14px; font-family: 'Jost', sans-serif; font-size: 15px; color: #2A2320; width: 100%; }
.field::placeholder { color: #8A7C71; }

/* ---------- cookie bar ---------- */
.cookie-bar[hidden] { display: none; }

/* ---------- toast ---------- */
.toast { position: fixed; right: 20px; bottom: 20px; z-index: 70; background: #2A2320; color: #F7F3EE; padding: 14px 22px; font-size: 14px; border-radius: 6px; box-shadow: 0 12px 30px rgba(42,35,32,.25); opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
.toast.show { opacity: 1; transform: none; }

/* ---------- misc ---------- */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (max-width: 640px) {
  h1 { font-size: 38px !important; }
}
