/* ETRA components — buttons and text links.
 *
 * Loaded AFTER each page's inline <style>, and every rule uses two classes,
 * so these win over the older per-page button styles. Old class names stay
 * on the markup for layout (width, margins) only.
 *
 *   .btn + .btn--primary     navy fill — the main action in a section
 *   .btn + .btn--secondary   outline — the alternative action
 *   .btn + .btn--whatsapp    WhatsApp green, dark label (white on green fails contrast)
 *   .btn--sm                 compact size for the header
 *   .btn--on-dark            use inside navy / dark sections
 *   .text-link               small-caps link with a gold underline
 */

.btn.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 44px;
  padding: 0.95rem 2rem;
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  border: 1px solid transparent;
  border-radius: 0;
  box-shadow: none;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.btn.btn svg { width: 14px; height: 14px; flex-shrink: 0; transition: transform 0.25s var(--ease); }
.btn.btn:hover svg { transform: translateX(3px); }
.btn.btn:active { transform: translateY(1px); }
.btn.btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.btn.btn:disabled, .btn.btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; }

/* Some buttons used to carry their arrow in a filled circle */
.btn.btn .btn-primary-icon,
.btn.btn .btn-icon {
  width: auto; height: auto; padding: 0; margin: 0;
  background: none; border: 0; border-radius: 0; color: inherit;
  display: inline-flex;
}

.btn.btn--sm { min-height: 36px; padding: 0.6rem 1.25rem; font-size: 0.62rem; letter-spacing: 0.2em; }
.btn.btn--block { width: 100%; }

/* Long labels wrap on small phones instead of widening the page */
.btn.btn { max-width: 100%; }
@media (max-width: 480px) { .btn.btn { white-space: normal; } }

/* Primary */
.btn.btn--primary { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.btn.btn--primary:hover { background: var(--gold); border-color: var(--gold); color: var(--cream); }

/* Secondary */
.btn.btn--secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn.btn--secondary:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }

/* WhatsApp */
.btn.btn--whatsapp { background: #25d366; color: #072b16; border-color: #25d366; }
.btn.btn--whatsapp:hover { background: #1ebe5b; border-color: #1ebe5b; color: #072b16; }
.btn.btn--whatsapp svg { fill: currentColor; width: 18px; height: 18px; }
.btn.btn--whatsapp:hover svg { transform: none; }

/* On dark sections */
.btn.btn--on-dark.btn--primary { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.btn.btn--on-dark.btn--primary:hover { background: transparent; color: var(--cream); border-color: var(--cream); }
.btn.btn--on-dark.btn--secondary { color: var(--cream); border-color: rgba(247,243,235, 0.6); }
.btn.btn--on-dark.btn--secondary:hover { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.btn.btn--on-dark:focus-visible { outline-color: var(--cream); }

/* Text link */
.text-link.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 0 0.35rem;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--gold);
  border-radius: 0;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.text-link.text-link:hover { color: var(--gold); }
.text-link.text-link:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.text-link.btn--on-dark { color: var(--cream); }
.text-link.btn--on-dark:hover { color: var(--gold-lt); border-color: var(--gold-lt); }

@media (prefers-reduced-motion: reduce) {
  .btn.btn, .btn.btn svg, .text-link.text-link { transition: none; }
  .btn.btn:hover svg, .btn.btn:active { transform: none; }
}

/* ── Site header + menu (subpages) ─────────────────────────────── */
.site-header { display: contents; }
.nav-right--menu { display: flex; align-items: center; gap: 0.75rem; }

.nav-menu-btn.nav-menu-btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  min-height: 36px; padding: 0.5rem 0.9rem;
  background: transparent; color: var(--ink);
  border: 1px solid var(--ink); border-radius: 0;
  font-family: var(--sans); font-size: 0.62rem; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase; cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.nav-menu-btn.nav-menu-btn:hover,
.nav-menu-btn.nav-menu-btn[aria-expanded="true"] { background: var(--ink); color: var(--cream); }
.nav-menu-btn.nav-menu-btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.nav-menu-icon { display: inline-grid; gap: 3px; width: 14px; }
.nav-menu-icon i { display: block; height: 1px; background: currentColor; }

.site-menu[hidden] { display: none; }
.site-menu {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; justify-content: flex-end;
  background: rgba(23,35,54, 0.35);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  animation: site-menu-fade 0.25s var(--ease);
}
.site-menu-panel {
  position: relative; display: flex; flex-direction: column; gap: 2rem;
  width: min(420px, 100%); height: 100%; overflow-y: auto;
  padding: 1.5rem 2rem 2.5rem;
  background: var(--cream); color: var(--ink);
  box-shadow: -24px 0 60px rgba(23,35,54, 0.18);
  animation: site-menu-slide 0.35s var(--ease);
}
.site-menu-top { display: flex; align-items: center; justify-content: space-between; }
.site-menu-title { font-family: var(--serif); font-size: 1.25rem; letter-spacing: 0.14em; text-transform: uppercase; }
.site-menu-close {
  width: 44px; height: 44px; display: inline-grid; place-items: center;
  background: none; border: 1px solid transparent; color: var(--ink); font-size: 1.1rem; cursor: pointer;
}
.site-menu-close:hover { border-color: var(--ink); }
.site-menu-close:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.site-menu-links { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(23,35,54, 0.12); }
.site-menu-links li { border-bottom: 1px solid rgba(23,35,54, 0.12); }
.site-menu-links a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.95rem 0; min-height: 44px;
  font-family: var(--serif); font-size: 1.35rem; font-weight: 300;
  color: var(--ink); text-decoration: none;
  transition: color 0.2s var(--ease), padding-left 0.25s var(--ease);
}
.site-menu-links a::after { content: '→'; font-family: var(--sans); font-size: 0.85rem; color: var(--gold); opacity: 0; transition: opacity 0.2s var(--ease); }
.site-menu-links a:hover, .site-menu-links a:focus-visible { color: var(--gold); }
.site-menu-links a:hover::after, .site-menu-links a:focus-visible::after { opacity: 1; }
.site-menu-links a[aria-current="page"] { color: var(--gold); }
.site-menu-links a:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.site-menu-actions { display: grid; gap: 0.75rem; margin-top: auto; }
.site-menu-meta { display: flex; justify-content: space-between; align-items: center; font-size: 0.72rem; color: var(--ink-lite); }
.site-menu-lang.site-menu-lang { padding: 0.4rem 0.8rem; min-height: 36px; background: none; border: 1px solid var(--ink-lite); color: var(--ink); font-size: 0.62rem; letter-spacing: 0.18em; cursor: pointer; }
body.site-menu-open { overflow: hidden; }

@keyframes site-menu-fade { from { opacity: 0; } }
@keyframes site-menu-slide { from { transform: translateX(24px); opacity: 0; } }

/* Small screens: keep the header to logo + Prenota + Menu */
@media (max-width: 640px) {
  .site-header .nav-back,
  .site-header .nav-lang,
  .site-header .lang-toggle { display: none; }
  .nav-menu-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .nav-menu-btn.nav-menu-btn { padding: 0.5rem 0.7rem; }
}
@media (prefers-reduced-motion: reduce) {
  .site-menu, .site-menu-panel { animation: none; }
  .site-menu-links a, .nav-menu-btn.nav-menu-btn { transition: none; }
}

/* Language visibility (also needed on pages without their own toggle CSS, e.g. 404) */
body.lang-it [lang="en"] { display: none; }
body.lang-en [lang="it"] { display: none; }

/* ── Portfolio (homepage) ───────────────────────────────────────── */
.pf-filters { max-width: 1200px; margin: 0 auto 2.5rem; padding: 0 2rem; display: grid; gap: 0.9rem; }
.pf-filter-row { display: flex; align-items: center; gap: 1.25rem; min-width: 0; }
.pf-filter-label {
  flex: 0 0 4.5rem; font-size: 0.6rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold);
}
.pf-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; min-width: 0; }
.pf-chip {
  min-height: 36px; padding: 0.45rem 0.95rem;
  background: transparent; color: var(--ink-lite);
  border: 1px solid rgba(23,35,54, 0.22); border-radius: 0;
  font-family: var(--sans); font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase;
  cursor: pointer; transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.pf-chip:hover { color: var(--ink); border-color: var(--ink); }
.pf-chip[aria-pressed="true"] { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.pf-chip:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.pf-count { font-size: 0.72rem; letter-spacing: 0.08em; color: var(--ink-lite); }

.pf-grid {
  list-style: none; margin: 0 auto; padding: 0 2rem; max-width: 1200px;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.75rem 1.25rem;
}
.pf-card[hidden] { display: none; }
.pf-card figure { margin: 0; }
.pf-tile {
  display: block; width: 100%; padding: 0; border: 0; background: var(--warm);
  aspect-ratio: 4 / 5; overflow: hidden; cursor: zoom-in;
}
.pf-tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s var(--ease), filter 0.6s var(--ease); }
.pf-tile:hover img { transform: scale(1.04); }
.pf-tile:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.pf-caption { display: flex; justify-content: space-between; gap: 0.75rem; padding-top: 0.7rem; font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; }
.pf-artist { color: var(--ink); text-decoration: none; border-bottom: 1px solid transparent; transition: border-color 0.2s var(--ease); }
a.pf-artist:hover, a.pf-artist:focus-visible { border-color: var(--gold); outline: none; }
.pf-style { color: var(--ink-lite); }
.pf-empty { text-align: center; padding: 3rem 2rem; color: var(--ink-lite); font-family: var(--serif); font-style: italic; font-size: 1.1rem; }
.pf-more-wrap { display: flex; justify-content: center; margin-top: 2.75rem; }
.pf-more-wrap .btn[hidden] { display: none; }
.pf-more-count { color: var(--gold); }

@media (max-width: 640px) {
  .pf-filters, .pf-grid { padding: 0 1.25rem; }
  .pf-filter-row { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .pf-filter-label { flex-basis: auto; }
  /* One swipeable row of chips instead of several wrapped lines */
  .pf-chips { flex-wrap: nowrap; overflow-x: auto; max-width: 100%; padding-bottom: 0.25rem; scrollbar-width: none; }
  .pf-chips::-webkit-scrollbar { display: none; }
  .pf-chip { flex: 0 0 auto; }
  .pf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem 0.75rem; }
  .pf-caption { flex-direction: column; gap: 0.15rem; font-size: 0.6rem; }
}

/* ── Artist page tiles are buttons now ─────────────────────────── */
button.portfolio-item { display: block; width: 100%; padding: 0; border: 0; font: inherit; }
button.portfolio-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
button.portfolio-item:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ── Full-screen viewer (js/viewer.js) ─────────────────────────── */
.viewer {
  width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(14, 20, 48, 0.985); color: var(--cream);
  display: grid; grid-template-columns: 64px minmax(0, 1fr) 64px; align-items: center;
}
.viewer:not([open]) { display: none; }
.viewer::backdrop { background: rgba(14, 20, 48, 0.6); }
body.viewer-open { overflow: hidden; }
.viewer-stage { grid-column: 2; margin: 0; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; padding: 3.5rem 0 1.5rem; min-height: 0; touch-action: pan-y; }
.viewer-img { max-width: 100%; max-height: calc(100dvh - 9rem); object-fit: contain; user-select: none; -webkit-user-drag: none; animation: viewer-in 0.35s var(--ease); }
.viewer-caption { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 0.4rem 1.25rem; font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase; }
.viewer-artist { color: var(--cream); text-decoration: none; border-bottom: 1px solid var(--gold-lt); }
.viewer-artist:not([href]) { border-bottom: 0; }
.viewer-style { color: rgba(247,243,235, 0.7); }
.viewer-counter { color: var(--gold-lt); font-variant-numeric: tabular-nums; }
.viewer-btn {
  width: 48px; height: 48px; display: inline-grid; place-items: center;
  background: transparent; color: var(--cream); border: 1px solid rgba(247,243,235, 0.35); border-radius: 0;
  font-size: 1.05rem; cursor: pointer; transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.viewer-btn:hover { background: var(--cream); color: var(--ink); }
.viewer-btn:focus-visible { outline: 2px solid var(--gold-lt); outline-offset: 3px; }
.viewer-btn[hidden] { display: none; }
.viewer-prev { grid-column: 1; justify-self: center; }
.viewer-next { grid-column: 3; justify-self: center; }
.viewer-close { position: absolute; top: 1rem; right: 1rem; z-index: 1; }
@keyframes viewer-in { from { opacity: 0; transform: scale(0.985); } }

@media (max-width: 640px) {
  .viewer { grid-template-columns: minmax(0, 1fr); }
  .viewer-stage { grid-column: 1; padding: 4rem 0.75rem 6rem; }
  .viewer-img { max-height: calc(100dvh - 12rem); }
  .viewer-prev, .viewer-next { position: absolute; bottom: 1.25rem; }
  .viewer-prev { left: calc(50% - 60px); }
  .viewer-next { right: calc(50% - 60px); }
}
@media (prefers-reduced-motion: reduce) {
  .viewer-img { animation: none; }
  .pf-tile img, .pf-chip { transition: none; }
  .pf-tile:hover img { transform: none; }
}

/* Language switch: a link to the other-language page (was a toggle button).
   Match the old button box so the header does not shift. */
a.nav-lang, a.lang-toggle, a.site-menu-lang, a.lang-btn {
  display: inline-block; text-decoration: none; line-height: normal; text-align: center; vertical-align: middle;
}

/* ── Floating WhatsApp button (added to every page by build.mjs; the homepage and
      landing pages keep their own copy). Above the content, below the cookie banner. ── */
.wa-float {
  position: fixed; right: 1.5rem; bottom: 1.5rem; z-index: 90;
  width: 54px; height: 54px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #25d366; text-decoration: none;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
  transition: transform 0.25s var(--ease, ease), box-shadow 0.25s var(--ease, ease);
}
.wa-float:hover { transform: scale(1.08); box-shadow: 0 6px 28px rgba(37, 211, 102, 0.45); }
.wa-float svg { width: 28px; height: 28px; fill: #fff; }
@media print { .wa-float { display: none; } }

/* ── Contact bar on phones (added to every page by build.mjs): WhatsApp · Call · Book.
      Replaces the floating WhatsApp button below 769px. The cookie strip sits on top of it.
      env(safe-area-inset-bottom) is 0 without viewport-fit=cover; kept so the bar is ready if that is added. ── */
:root { --contact-bar-h: 56px; }
.contact-bar { display: none; }
@media (max-width: 768px) {
  .contact-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
    display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 6px;
    min-height: var(--contact-bar-h);
    padding: 6px 8px calc(6px + env(safe-area-inset-bottom, 0px));
    background: rgba(23, 35, 54, 0.97); backdrop-filter: blur(6px);
    border-top: 1px solid rgba(247, 243, 235, 0.12);
    box-shadow: 0 -6px 24px rgba(13, 21, 34, 0.18);
  }
  .contact-bar a {
    display: flex; align-items: center; justify-content: center; gap: 0.4rem;
    min-height: 44px; border-radius: 999px; text-decoration: none;
    font-family: var(--sans, system-ui, sans-serif); font-size: 0.68rem; font-weight: 500;
    letter-spacing: 0.1em; text-transform: uppercase; color: #f7f3eb;
    border: 1px solid rgba(247, 243, 235, 0.28);
    transition: background-color 0.2s, border-color 0.2s;
  }
  /* Dark text on WhatsApp green: white on #25d366 is only 2:1 (same choice as .btn--whatsapp). */
  .contact-bar a.cb-wa { background: #25d366; border-color: #25d366; color: #072b16; font-weight: 600; }
  .contact-bar a.cb-wa svg { width: 18px; height: 18px; fill: currentColor; flex: none; }
  .contact-bar a.cb-book { background: var(--gold, #795b32); border-color: var(--gold, #795b32); color: #fff; }
  .contact-bar a:active { filter: brightness(0.92); }
  .contact-bar a:focus-visible { outline: 2px solid var(--gold-lt, #dcc399); outline-offset: 2px; }
  /* Keep page content, anchor jumps and focused fields clear of the bar. */
  body { padding-bottom: calc(var(--contact-bar-h) + env(safe-area-inset-bottom, 0px)); }
  html { scroll-padding-bottom: calc(var(--contact-bar-h) + env(safe-area-inset-bottom, 0px) + 12px); }
  html body .wa-float { display: none !important; }
  body.site-menu-open .contact-bar { display: none; }
  /* The bar's Prenota replaces the one in the top bar on phones: one booking button, not two. */
  body:has(.contact-bar) :is(header, nav) :is(.nav-book, .nav-book-btn, .btn-book) { display: none !important; }
}
@media print { .contact-bar { display: none; } }

/* ── Seasonal helpers. js/season.js adds html.xmas from 15 Nov to 6 Jan;
      .xmas-only shows only then, .xmas-hide hides only then. ── */
.xmas-only { display: none; }
html.xmas .xmas-only { display: revert; }
html.xmas .xmas-hide { display: none; }

/* ── Only the top bar is a fixed nav. Several page stylesheets (landing, artist, blog)
      style every <nav> as the fixed top bar, which pinned the footer links over the logo
      (piercing, fine line, blackwork, geometrico pages). Put the footer and menu navs back
      in the normal page flow. Any <nav> inside <main> (lists of links in the content) is
      reset too, so a new one can never turn into a second bar at the top. ── */
footer nav,
.site-menu nav,
main nav {
  position: static;
  height: auto;
  background: none;
  border: 0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  z-index: auto;
  padding: 0;
}

/* Back-to-top button: hidden on phones, where it covered text in the bottom-left corner
   and competed with the WhatsApp button. Scrolling up is one swipe there anyway. */
@media (max-width: 768px) { .back-top { display: none !important; } }

/* ── Review line (hero of pages without .hero-trust, and above every booking form) ── */
.trust-line { margin: 0.9rem 0 0; font-size: 0.8rem; letter-spacing: 0.04em; text-align: center; }
.trust-line a { color: inherit; text-decoration: none; border-bottom: 1px solid currentColor; border-bottom-color: rgba(127, 127, 127, 0.4); padding-bottom: 1px; }
.trust-line a:hover, .trust-line a:focus-visible { border-bottom-color: var(--gold, #795b32); }
.trust-star { color: var(--gold-lt, #dcc399); }
/* Starting price next to the reviews (blackwork, geometrico): its own line on phones */
.trust-price { white-space: nowrap; }
@media (max-width: 560px) { .trust-sep { display: none; } .trust-price { display: block; margin-top: 0.35rem; } }
.trust-line--form { margin: 0 0 1.1rem; opacity: 0.9; }
.trust-line--form .trust-star { color: var(--gold, #795b32); }
.trust-line--map { margin-top: 0.35rem; }
/* Dark hero of the English walk-in page: light text. */
.walkin-hero .trust-line { color: rgba(247, 243, 235, 0.88); }
.walkin-hero .trust-line a { border-bottom-color: rgba(247, 243, 235, 0.35); }

/* ── Artist cards ("I nostri tatuatori a Torino" on the tattoo page) ── */
.artist-chips { list-style: none; margin: 1.75rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem; }
.artist-chips a {
  display: flex; flex-direction: column; align-items: center; gap: 0.25rem; height: 100%;
  padding: 0.9rem 0.6rem; text-align: center; text-decoration: none; color: var(--ink, #172336);
  background: var(--warm, #eee7dc); border: 1px solid rgba(121, 91, 50, 0.18); border-radius: 10px;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.artist-chips a:hover, .artist-chips a:focus-visible { border-color: var(--gold, #795b32); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(23, 35, 54, 0.08); }
.artist-chips a:focus-visible { outline: 2px solid var(--gold, #795b32); outline-offset: 2px; }
.artist-chips .ac-name { font-family: var(--serif, Georgia, serif); font-style: italic; font-size: 1.05rem; color: var(--ink, #172336); overflow-wrap: anywhere; }
.artist-chips .ac-style { font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-dark, #72532b); }
@media (min-width: 760px) { .artist-chips { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.artist-chips--single { grid-template-columns: minmax(0, 320px); justify-content: center; }
@media (prefers-reduced-motion: reduce) { .artist-chips a { transition: none; } .artist-chips a:hover { transform: none; } }

/* ── Map that loads on tap (js/pages/map-embed.js) ── */
.map-embed { position: relative; min-height: 280px; }
.map-embed-btn {
  position: absolute; inset: 0; width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.5rem;
  border: 1px solid rgba(121, 91, 50, 0.25); border-radius: 8px; cursor: pointer; font: inherit; color: var(--ink, #172336);
  background: linear-gradient(135deg, var(--warm, #eee7dc), var(--mint, #dfded1));
}
.map-embed-pin { font-size: 2rem; line-height: 1; color: var(--gold-dark, #72532b); }

/* Line icons (inline SVG) used instead of emoji, so they look the same on every phone */
.ico { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; vertical-align: -0.125em; flex: none; }
.info-bar-item .ico, .location-detail .ico { color: var(--gold-dark, #72532b); }
.info-bar-item .ico { width: 1.5em; height: 1.5em; }
.map-embed-addr { font-size: 0.9rem; }
.map-embed-cta { font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-dark, #72532b); border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.map-embed-btn:hover .map-embed-cta, .map-embed-btn:focus-visible .map-embed-cta { color: var(--ink, #172336); }
.map-embed-btn:focus-visible { outline: 2px solid var(--gold, #795b32); outline-offset: 2px; }
.map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 8px; }

/* ── "Come arrivare" block (tattoo and piercing pages) ── */
.visit-list { list-style: none; margin: 1.5rem auto 0; padding: 0; max-width: 620px; display: grid; gap: 0.75rem; }
.visit-list li { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; padding-bottom: 0.75rem; border-bottom: 1px solid rgba(121, 91, 50, 0.15); text-align: left; }
.visit-k { font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-dark, #72532b); padding-top: 0.2rem; }
.visit-v { font-size: 0.95rem; line-height: 1.6; color: var(--ink, #172336); }
.visit-v a { color: inherit; }
@media (max-width: 480px) { .visit-list li { grid-template-columns: 1fr; gap: 0.2rem; } }

/* ── Three works above every booking form ── */
.booking-works { list-style: none; margin: 0 auto 1rem; padding: 0; max-width: 420px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
.booking-works img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 8px; box-shadow: 0 6px 18px rgba(13, 21, 34, 0.18); }

/* ── Homepage blog on phones: one link instead of the cards (keeps the page short; the cards
      stay in the HTML, so search engines still see the links). Desktop shows the full section. ── */
.blog-mobile { display: none; }
@media (max-width: 768px) {
  #blog { padding-top: 2.25rem; padding-bottom: 2.25rem; }
  #blog > :not(.blog-mobile) { display: none !important; }
  #blog > .blog-mobile { display: block; margin: 0; text-align: center; }
}
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none !important; } }
