/* Shared by every public page: skip link, accessibility menu and its modes, the cookies-and-privacy note.
   The menu is built by site.js. Its own look does not depend on the page's styles. */

.ax-sr{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}

.skip{position:absolute;inset-inline-start:12px;top:-80px;z-index:120;padding:12px 18px;border-radius:12px;background:#2E1D24;color:#fff;font:700 16px/1.2 Arial,"Arial Hebrew",sans-serif;text-decoration:none}
.skip:focus{top:calc(12px + env(safe-area-inset-top,0px));outline:3px solid #fff;outline-offset:2px}

/* ---------- the menu ---------- */
.ax-root{--ax-ink:#2E1D24;--ax-accent:#7A1F47;--ax-line:#C9A9B6;font:400 16px/1.4 Arial,"Arial Hebrew","Noto Sans Hebrew",sans-serif;color:var(--ax-ink);letter-spacing:0}
.ax-root *,.ax-root *::before,.ax-root *::after{box-sizing:border-box}
.ax-btn{position:fixed;z-index:70;left:calc(12px + env(safe-area-inset-left,0px));bottom:calc(12px + var(--ax-lift,0px) + env(safe-area-inset-bottom,0px));width:50px;height:50px;border-radius:50%;border:2px solid #fff;background:var(--ax-accent);color:#fff;display:grid;place-items:center;cursor:pointer;box-shadow:0 6px 18px -6px rgba(46,29,36,.6);padding:0}
.ax-btn svg{width:28px;height:28px;display:block}
.ax-btn:hover{background:#5E1636}
.ax-btn:focus-visible,.ax-panel :focus-visible,.ax-notice :focus-visible{outline:3px solid #1B4FD1;outline-offset:2px}
.ax-panel{position:fixed;z-index:71;left:calc(12px + env(safe-area-inset-left,0px));bottom:calc(72px + var(--ax-lift,0px) + env(safe-area-inset-bottom,0px));width:min(320px,calc(100vw - 24px));max-height:calc(100vh - 96px - var(--ax-lift,0px));max-height:calc(100dvh - 96px - var(--ax-lift,0px));overflow-y:auto;background:#fff;border:2px solid var(--ax-ink);border-radius:18px;padding:14px;display:flex;flex-direction:column;gap:10px;box-shadow:0 18px 40px -14px rgba(46,29,36,.55);text-align:start}
.ax-panel[hidden]{display:none}
.ax-panel:focus{outline:none}
.ax-head{display:flex;align-items:center;justify-content:space-between;gap:10px}
.ax-head h2{margin:0;font:700 19px/1.2 Arial,"Arial Hebrew",sans-serif;color:var(--ax-ink)}
.ax-x{width:40px;height:40px;border-radius:50%;border:2px solid var(--ax-line);background:#fff;color:var(--ax-ink);display:grid;place-items:center;cursor:pointer;padding:0}
.ax-x svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round}
.ax-size{display:flex;align-items:center;justify-content:space-between;gap:8px;border:2px solid var(--ax-line);border-radius:14px;padding:6px 8px 6px 6px}
.ax-size .ax-lbl{font-weight:700;font-size:16px}
.ax-size .ax-ctl{display:flex;align-items:center;gap:6px}
.ax-size button{min-width:44px;height:44px;border-radius:12px;border:2px solid var(--ax-ink);background:#fff;color:var(--ax-ink);font:700 18px/1 Arial,"Arial Hebrew",sans-serif;cursor:pointer;padding:0 8px}
.ax-size button:disabled{opacity:.4;cursor:default}
.ax-size output{min-width:3.2em;text-align:center;font-weight:700;font-variant-numeric:tabular-nums}
.ax-opt{display:flex;align-items:center;gap:10px;width:100%;min-height:48px;padding:8px 12px;border-radius:14px;border:2px solid var(--ax-line);background:#fff;color:var(--ax-ink);font:700 16px/1.25 Arial,"Arial Hebrew",sans-serif;text-align:start;cursor:pointer}
.ax-opt .ax-box{flex:none;width:22px;height:22px;border-radius:6px;border:2px solid var(--ax-ink);display:grid;place-items:center;background:#fff}
.ax-opt .ax-box svg{width:14px;height:14px;fill:none;stroke:#fff;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;opacity:0}
.ax-opt[aria-pressed="true"]{border-color:var(--ax-accent);background:#FBEFF4}
.ax-opt[aria-pressed="true"] .ax-box{background:var(--ax-accent);border-color:var(--ax-accent)}
.ax-opt[aria-pressed="true"] .ax-box svg{opacity:1}
.ax-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;padding-top:2px}
.ax-reset{min-height:42px;padding:0 14px;border-radius:999px;border:2px solid var(--ax-ink);background:#fff;color:var(--ax-ink);font:700 15px/1 Arial,"Arial Hebrew",sans-serif;cursor:pointer}
.ax-foot a{color:var(--ax-accent);font-weight:700;font-size:15px;text-decoration:underline;text-underline-offset:3px;padding:8px 2px}

/* ---------- cookies and privacy note (first visit) ---------- */
.ax-notice{position:fixed;z-index:69;left:calc(12px + env(safe-area-inset-left,0px));right:calc(12px + env(safe-area-inset-right,0px));bottom:calc(12px + env(safe-area-inset-bottom,0px));max-width:560px;margin-inline:auto;display:flex;align-items:center;gap:12px;padding:10px 12px 10px 10px;background:#fff;color:var(--ax-ink);border:1.5px solid var(--ax-line);border-radius:16px;box-shadow:0 14px 34px -12px rgba(46,29,36,.5);text-align:start}
.ax-notice p{margin:0;flex:1;font-size:14px;line-height:1.45}
.ax-notice a{color:var(--ax-accent);font-weight:700;text-underline-offset:3px;white-space:nowrap}
.ax-notice button{flex:none;min-height:42px;padding:0 18px;border-radius:999px;border:2px solid var(--ax-accent);background:var(--ax-accent);color:#fff;font:700 15.5px/1 Arial,"Arial Hebrew",sans-serif;cursor:pointer}
@media (max-width:420px){.ax-notice{flex-direction:column;align-items:stretch;gap:8px;padding:10px 12px}}

/* room at the end of the page, so the floating button never hides the last lines (the home page does this in its own footer) */
body .page{padding-bottom:calc(92px + env(safe-area-inset-bottom,0px))}

/* ---------- text size: the page is scaled, like the browser's own zoom ---------- */
html[data-ax-size="1"] body > :is(#page,main,header,footer,.toast){zoom:1.15}
html[data-ax-size="2"] body > :is(#page,main,header,footer,.toast){zoom:1.3}
html[data-ax-size] .btn{white-space:normal;text-align:center;padding-block:10px}
html[data-ax-size] .h-script,html[data-ax-size] .mark-h{white-space:normal}
html[data-ax-size] .mnav{overflow-y:auto}
html[data-ax-size] .pr.soft{max-width:9em}
html[data-ax-size] .hours .d{display:block;min-width:0}
/* larger text needs more room: the punch card wraps to two rows, and the wide menu gives way to the menu button */
@media (max-width:599px){html[data-ax-size] .nails{grid-template-columns:repeat(4,auto)!important}}
@media (max-width:1199px){
  html[data-ax-size] #clubCard .nails{grid-template-columns:repeat(4,auto)!important}
  html[data-ax-size] .nav,html[data-ax-size] .hdr-cta{display:none}
  html[data-ax-size] .menu-btn{display:grid}
}

/* ---------- high contrast: both style systems take their colours from variables ---------- */
html.ax-contrast{
  --bg:#fff;--bg-2:#fff;--card:#fff;--surface:#fff;--card-flat:#fff;
  --ink:#000;--ink-2:#1c1c1c;--ink-3:#1c1c1c;
  --rose:#7A0F41;--rose-ink:#5E0A31;--accent:#7A0F41;--accent-hover:#5E0A31;--accent-soft:#fff;
  --line:#000;--line-strong:#000;--marker:#FFD9E6;--sheen:transparent;
  --nail-empty-fill:#fff;--nail-empty-stroke:#000;--nail-edge:#000;
  --shadow:none;--shadow-md:none;
}
html.ax-contrast,html.ax-contrast body{background:#fff;color:#000}
html.ax-contrast .ro,html.ax-contrast .decos,html.ax-contrast .pc-rose{display:none!important}
html.ax-contrast .hdr.solid{background:#fff;-webkit-backdrop-filter:none;backdrop-filter:none;box-shadow:0 2px 0 #000}
html.ax-contrast :is(.fact,.ct-main,.ct-row,.note,.club-steps li,.pcard,.step,.result,.how li,.svc,.day,.slot,.input,.chip,ul.facts,.todo,.picked,.gift-note,.ticks li,.card-tag,.pcard-no,.doc-card){border:2px solid #000;box-shadow:none}
html.ax-contrast :is(.btn-line,.btn.line,.copy,.menu-btn){background:#fff;border:2px solid #000}
html.ax-contrast :is(.btn-rose,.btn.primary){box-shadow:none;border:2px solid #000}
html.ax-contrast :is(.step,.result,.how li,.gift-note,.todo){background:#fff;color:#000}
html.ax-contrast .alert{background:#fff;color:#8A0000;border:2px solid #8A0000}
html.ax-contrast .err{color:#8A0000}
html.ax-contrast .skel{background:#E6E6E6;animation:none}
html.ax-contrast .day[aria-pressed="true"] .w,html.ax-contrast .day[aria-pressed="true"] .m{color:#fff}
html.ax-contrast .chip[aria-pressed="true"]{background:#000;color:#fff}
html.ax-contrast .dots{border-bottom-color:#000}
html.ax-contrast .toast{background:#000;color:#fff}
html.ax-contrast ::placeholder{color:#333;opacity:1}

/* ---------- links stand out ---------- */
html.ax-links a:not(.btn){text-decoration:underline!important;text-decoration-thickness:2px!important;text-underline-offset:3px!important}
html.ax-links a.btn{outline:3px solid #2E1D24;outline-offset:3px}
html.ax-contrast.ax-links a.btn{outline-color:#000}

/* ---------- plain, readable font instead of the script and handwriting fonts ---------- */
html.ax-font{--font-display:Arial,"Arial Hebrew","Noto Sans Hebrew",sans-serif;--font-body:Arial,"Arial Hebrew","Noto Sans Hebrew",sans-serif;--font-ui:Arial,"Arial Hebrew","Noto Sans Hebrew",sans-serif;--font-hand:Arial,"Arial Hebrew","Noto Sans Hebrew",sans-serif;--font-script:Arial,"Arial Hebrew","Noto Sans Hebrew",sans-serif}
html.ax-font :is(.h-script,.logo,.pcard-studio,.brand,.brand-sm,.foot .script){font-weight:700;letter-spacing:0;white-space:normal;color:var(--rose-ink,var(--accent-hover))}
html.ax-font .hero .h-script{font-size:clamp(30px,8vw,54px);margin-bottom:10px}
html.ax-font .sec-head .h-script{font-size:clamp(18px,3.4vw,24px);margin-top:0}
html.ax-font .studio-text .h-script{font-size:24px;margin-bottom:-8px}
html.ax-font .logo,html.ax-font .foot .logo{font-size:22px}
html.ax-font .pcard-studio{font-size:19px}
html.ax-font .brand{font-size:34px}
html.ax-font .brand-sm,html.ax-font .foot .script{font-size:22px}
html.ax-font .mnav-links a{font-size:34px}

/* ---------- no movement ---------- */
html.ax-still,html.ax-still *{scroll-behavior:auto!important}
html.ax-still *,html.ax-still *::before,html.ax-still *::after{animation:none!important;transition:none!important}

@media (prefers-reduced-motion:reduce){.ax-root *{transition:none!important}}
@media print{.ax-root,.ax-notice,.skip{display:none!important}}
