/* PlayRoom.lv demo — layout follows the Figma file "PlayRoom.lv" (1920 artboards, 1380 content column).
   Single light look, deliberately: the brand is sunshine yellow on white. */
/* THEME — every brand colour comes from these tokens. /fa-cms/ → Settings → Theme overrides them
   (index.php prints an inline :root block); the values below are the original PlayRoom.lv look. */
:root {
  --orange: #f7941d;   --orange-rgb: 247, 148, 29;        /* primary: gradient start, icons, active states */
  --yellow: #ffc415;   --yellow-rgb: 255, 196, 21;        /* main brand colour */
  --yellow-2: #ffde17; --yellow-2-rgb: 255, 222, 23;      /* light accent: gradient end */
  --mid-rgb: 255, 176, 30;                                /* between primary and main (soft overlays) */
  --dark-rgb: 183, 92, 0;                                 /* dark shade of the primary (text shadows) */
  --brand-dark: #a65d00;                                  /* dark text on light brand tints */
  --tint: #fffaf0;  --tint-rgb: 255, 250, 240;            /* very light brand background */
  --tint-2: #fff1cc; --tint-3: #ffe08a; --tint-line: #f0dca8;
  --grad-angle: 16.87deg;
  --grad: linear-gradient(var(--grad-angle), var(--orange) 0%, var(--yellow) 75%, var(--yellow-2) 100%);
  --grad-soft: linear-gradient(33.85deg, #ffffff 0%, var(--yellow) 75%, var(--yellow-2) 100%);
  --ink: #222222;
  --plum: #3d0941;      --plum-rgb: 61, 9, 65;           /* dark brand colour: dark buttons, hover, dark cards */
  --plum-deep: #18021a; --plum-deep-rgb: 24, 2, 26;      /* darkest: overlays, dimmers */
  --block-from: #3d0941; --block-to: #5a1460;             /* v2.21 dark blocks on Prices and Contacts — Settings → Theme */
  --grey: #747474;
  --grey-2: #b8b8b8;
  --mauve: #ada3ac;
  --line: #ececec;
  --wash: #faf5fa;
  --paper: #ffffff;
  --green: #39b449;
  --red: #f54444;
  --blue: #5398ff;
  /* v2.1 one scale for corners, shadows and status colours — use these, not typed values */
  --r-xs: 6px; --r-s: 10px; --r-m: 16px; --r-l: 24px;
  --sh-1: 0 1px 2px rgba(var(--plum-deep-rgb), .05), 0 4px 14px rgba(var(--plum-deep-rgb), .07);   /* cards, panels */
  --sh-2: 0 2px 4px rgba(var(--plum-deep-rgb), .06), 0 10px 28px rgba(var(--plum-deep-rgb), .13);  /* hover, dropdowns, popovers */
  --sh-3: 0 24px 64px rgba(var(--plum-deep-rgb), .28);                                             /* pop-ups */
  --sh-accent: 0 4px 12px rgba(var(--orange-rgb), .28);                                             /* active orange elements */
  --ring: 0 0 0 3px rgba(var(--yellow-rgb), .25);  --ring-err: 0 0 0 3px rgba(245, 68, 68, .14);    /* focus */
  --stroke: 1px solid var(--line);
  --field-bg: #fcfbfc;
  --h-ctl: 46px; --h-ctl-s: 38px;
  --ok: #1d7a3d; --ok-bg: #e7f7ec; --err: #b42318; --err-bg: #fdecec; --warn: #8a5a00; --warn-bg: #fff3c4; --info: #2952a3; --info-bg: #eef4ff;
  --shadow-card: var(--sh-1);
  --shadow-tile: var(--sh-2);
  --font: "Open Sans", "Helvetica Neue", Arial, sans-serif;
  --icons: "Material Icons";
  --wrap: 1380px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.65 var(--font); -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--paper); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: var(--r-xs); }
h1, h2, h3, h4, h5, h6 { margin: 0; line-height: 1.2; text-wrap: balance; }
p { margin: 0; }
.mi { font-family: var(--icons); font-weight: 400; font-style: normal; font-size: 1.15em; line-height: 1; letter-spacing: normal; text-transform: none; display: inline-block; white-space: nowrap; direction: ltr; -webkit-font-feature-settings: "liga"; font-feature-settings: "liga"; vertical-align: -0.18em; user-select: none; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 32px); margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: var(--r-pill); padding: 8px 24px; font-weight: 600; font-size: 17px; line-height: 25.5px; white-space: nowrap; transition: filter .15s, transform .15s; }
.btn-grad { background: var(--grad); color: #fff; box-shadow: none; }
.btn-grad:hover { filter: brightness(1.05) saturate(1.1); }
.btn-grad:active { transform: translateY(1px); }
.btn-ghost { background: var(--paper); color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--yellow); }
.btn-plain { background: none; border: 0; padding: 0; color: var(--grey); font-weight: 600; }
.btn-sm { font-size: 14px; padding: 6px 14px; line-height: 20px; }
.btn-danger { background: var(--red); color: #fff; }
.btn-ok { background: var(--green); color: #fff; }
.link-more { display: inline-flex; align-items: center; gap: 6px; padding: 8px 24px 8px 25px; border-radius: var(--r-xs); color: var(--ink); font-weight: 600; font-size: 17px; background: none; border: 0; }
.link-more .mi { color: var(--yellow); font-size: 24px; }
.link-more:hover { color: var(--orange); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--paper); box-shadow: var(--sh-1); }
.site-header .bar { display: flex; align-items: center; gap: 24px; min-height: 100px; max-width: 1920px; margin: 0 auto; padding-left: max(16px, min(65px, 3.4vw), env(safe-area-inset-left, 0px)); padding-right: max(16px, min(65px, 3.4vw), env(safe-area-inset-right, 0px)); }
.brand img { width: 200px; height: auto; }
.header-search { display: none; align-items: center; gap: 14px; flex: 1 1 320px; min-width: 260px; max-width: 520px; }
.header-search label input { min-width: 50px; }
.site-header.compact .header-search { display: flex; }
.header-search label { display: flex; align-items: center; gap: 6px; flex: 1; border-bottom: 1px solid var(--line); padding: 4px 0; font-size: 14px; }
.header-search label b { font-weight: 700; font-size: 16px; }
.header-search input { border: 0; outline: 0; width: 100%; background: transparent; font-size: 14px; }
.header-search input::placeholder { color: var(--mauve); }
.header-search button { border: 0; background: none; color: var(--yellow); font-size: 24px; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.nav a, .nav button.nav-link { padding: 6px 13px; font-weight: 600; font-size: 17px; color: var(--grey); background: none; border: 0; border-radius: var(--r-xs); }
.nav a:hover, .nav a.on, .nav button.nav-link:hover { color: var(--ink); }
.nav a.on { box-shadow: inset 0 -3px 0 var(--yellow); border-radius: 0; }
.nav .lang { display: inline-flex; align-items: center; gap: 4px; }
.nav .lang img { width: 16px; height: 11px; }
.nav .acct { position: relative; }
.nav .acct-btn { display: inline-flex; align-items: center; gap: 6px; }
.acct-menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 230px; background: var(--paper); border-radius: var(--r-m); box-shadow: var(--sh-2); padding: 8px; display: grid; }
.acct-menu a, .acct-menu button { text-align: left; padding: 9px 12px; font-size: 15px; font-weight: 600; color: var(--ink); border-radius: var(--r-s); background: none; border: 0; display: flex; gap: 10px; align-items: center; }
.acct-menu a:hover, .acct-menu button:hover { background: var(--wash); }
.acct-menu .who { padding: 8px 12px 10px; font-size: 13px; color: var(--grey); border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.nav a.btn-grad { margin-left: 12px; padding: 6.5px 24px; color: #fff; background: var(--grad); border-radius: var(--r-pill); }
.nav a.btn-grad:hover { color: #fff; }
/* v2.9 small "New" bubble above the Specialists menu item */
.nav a.has-bubble { position: relative; }
.nav-bubble { position: absolute; left: 50%; bottom: calc(100% + 2px); transform: translateX(-50%); display: block; box-sizing: border-box; padding: 1px 8px; border: 1px solid rgba(var(--orange-rgb), .3); border-radius: var(--r-pill); background: #fff8ec; color: var(--grey); font-size: 10.5px; font-weight: 600; line-height: 16px; white-space: nowrap; pointer-events: none; transition: width .35s ease; }
.nav-bubble .nb-clip { display: flex; justify-content: center; overflow: hidden; }
/* the little arrow under the bubble, in the middle (border + fill) */
.nav-bubble::before, .nav-bubble::after { content: ''; position: absolute; left: 50%; top: 100%; width: 0; height: 0; border-style: solid; border-color: transparent; }
.nav-bubble::before { margin-left: -5px; border-width: 5px 5px 0; border-top-color: rgba(var(--orange-rgb), .45); }
.nav-bubble::after { margin-left: -4px; margin-top: -1px; border-width: 4px 4px 0; border-top-color: #fff8ec; }
.nav-bubble .nb-in { display: inline-flex; align-items: center; gap: 4px; transition: opacity .3s ease, transform .3s ease; }
.nav-bubble .nb-in.out { opacity: 0; transform: translateY(-5px); }
.nav-bubble .nb-in.pre { opacity: 0; transform: translateY(5px); transition: none; }
.nav-bubble .mi { font-size: 13px; color: var(--orange); }
.nav-bubble b { font-weight: 600; }
@media (prefers-reduced-motion: reduce) { .nav-bubble, .nav-bubble .nb-in { transition: none; } }
.cms-tags .st-pro { color: #7a4cc2; background: #f1eafb; }
.menu-toggle { display: none; margin-left: auto; background: none; border: 0; font-size: 30px; color: var(--ink); padding: 6px; }

@media (max-width: 1180px) {
  .menu-toggle { display: block; }
  .header-search, .site-header.compact .header-search { display: none; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); flex-direction: column; align-items: stretch; padding: 8px max(16px, env(safe-area-inset-right, 0px)) 18px max(16px, env(safe-area-inset-left, 0px)); box-shadow: var(--sh-2); }
  .nav.open { display: flex; }
  .nav a, .nav button.nav-link { padding: 12px 6px; }
  .nav a.on { box-shadow: inset 4px 0 0 var(--yellow); padding-left: 14px; }
  .nav .btn-grad { margin: 10px 0 0; }
  .nav a.has-bubble { position: relative; margin-top: 16px; }   /* phones: the bubble floats above "Specialists" */
  .nav-bubble { bottom: calc(100% - 8px); }
  .acct-menu { position: static; box-shadow: none; padding: 0 0 0 12px; }
  .site-header .bar { min-height: 72px; }
  .brand img { width: 160px; }
}

/* ---------- Hero (home) ---------- */
.hero { position: relative; min-height: 680px; display: flex; align-items: flex-end; background: var(--yellow) center / cover no-repeat; color: #fff; overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 45%, rgba(var(--orange-rgb), .28), rgba(var(--orange-rgb), 0) 60%); pointer-events: none; }
.hero .inner { position: relative; z-index: 1; width: 100%; max-width: 1140px; margin: 0 auto; padding-block: 120px 40px; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); text-align: center; }
.hero h1 { font-weight: 600; font-size: clamp(32px, 4.2vw, 48px); line-height: 1.2; text-shadow: 0 2px 14px rgba(var(--dark-rgb), .25); }
.hero .lede { margin-top: 38px; font-size: clamp(18px, 2vw, 26px); line-height: 1.5; text-shadow: 0 1px 10px rgba(var(--dark-rgb), .3); }
.search { display: grid; grid-template-columns: 1fr 1fr 165px; gap: 12px; max-width: 655px; margin: 56px auto 0; }
.field { position: relative; display: flex; align-items: center; gap: 10px; height: 50px; padding: 0 17px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-pill); box-shadow: inset 0 2px 6px rgba(0, 0, 0, .15); color: var(--ink); }
.field b { font-weight: 700; font-size: 16px; }
.field input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 16px; }
.field input::placeholder { color: var(--mauve); }
.field .clear { border: 0; background: none; color: var(--grey-2); padding: 0; }
.search .btn { height: 50px; font-size: 18px; }
.suggest { position: absolute; left: -1px; right: -1px; top: calc(100% + 4px); background: var(--paper); border-radius: var(--r-m); box-shadow: var(--sh-2); z-index: 5; text-align: left; max-height: 280px; overflow: auto; }
.suggest button { display: flex; gap: 8px; align-items: center; width: 100%; border: 0; background: none; padding: 10px 14px; font-size: 15px; text-align: left; color: var(--ink); }   /* v2.15 dark text on the white list — never the hero's white (or the phone's dark-mode button colour) */
.suggest { color: var(--ink); }
.suggest button b, .suggest button span { color: inherit; }
.suggest button:hover, .suggest button.hi { background: var(--wash); }
.suggest .mi { color: var(--yellow); }
.suggest small { margin-left: auto; color: var(--grey); }
.cat-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 0; margin-top: 50px; }
.cat-row a { width: 112px; padding: 0 10px; display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 16px; line-height: 24px; text-align: center; opacity: .82; transition: opacity .15s, transform .15s; }
.cat-row a:hover { opacity: 1; transform: translateY(-2px); }
.cat-row .ring { width: 55px; height: 55px; border: 3px solid #fff; border-radius: 50%; display: grid; place-items: center; }
.cat-row .ring .mi { font-size: 24px; }
@media (max-width: 720px) {
  .hero { min-height: 0; }
  .hero .inner { padding-block: 70px 30px; }
  .search { grid-template-columns: 1fr; }
  .cat-row a { width: 96px; font-size: 13px; line-height: 18px; }
}

/* ---------- Inner page banner ---------- */
.banner { position: relative; height: 286px; display: grid; place-items: center; background: var(--grad) center / cover no-repeat; color: #fff; text-align: center; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.banner h1 { font-weight: 700; font-size: clamp(30px, 3.6vw, 48px); text-shadow: 0 2px 12px rgba(var(--dark-rgb), .25); }
.banner p { margin-top: 6px; font-size: 18px; opacity: .95; }
@media (max-width: 720px) { .banner { height: 180px; } }

/* ---------- Sections ---------- */
.section { padding-block: 100px 80px; }
.section.wash { background: var(--wash); }
.split { display: grid; grid-template-columns: 345px 1fr; gap: 30px; }
.split > * { min-width: 0; }
.intro h2 { font-size: 36px; font-weight: 700; line-height: 44px; }
.intro h2 em { font-style: normal; color: var(--yellow); }
.intro p { margin-top: 20px; font-size: 18px; color: var(--grey); line-height: 27px; }
.intro .link-more { margin-top: 30px; margin-left: -25px; }
.center-head { text-align: center; max-width: 575px; margin: 0 auto 40px; }
.center-head h2 { font-size: 36px; line-height: 44px; font-weight: 700; }
.center-head p { margin-top: 12px; font-size: 18px; color: var(--grey); }
@media (max-width: 960px) {
  .split { grid-template-columns: 1fr; }
  .section { padding-block: 60px 50px; }
  .intro h2, .center-head h2 { font-size: 28px; line-height: 36px; }
}

/* City tiles */
.city-feature { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.city-feature .tile:first-child { grid-column: 1 / -1; height: 420px; }
.city-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 30px; }
.tile { position: relative; display: grid; place-items: center; height: 275px; border-radius: var(--r-m); overflow: hidden; box-shadow: var(--shadow-tile); background: var(--plum) center / cover no-repeat; color: #fff; isolation: isolate; }
.tile::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(var(--plum-deep-rgb), .05), rgba(var(--plum-deep-rgb), .38)); z-index: -1; transition: background .2s; }
.tile:hover::before { background: linear-gradient(180deg, rgba(var(--orange-rgb), .25), rgba(var(--plum-deep-rgb), .45)); }
.tile .name { font-size: 36px; line-height: 54px; font-weight: 700; text-shadow: 0 2px 10px rgba(0, 0, 0, .3); }
.tile .count { position: absolute; right: 20px; bottom: 20px; width: 35px; height: 35px; border-radius: 50%; display: grid; place-items: center; box-shadow: 0 0 0 3px rgba(255, 255, 255, .8); color: rgba(255, 255, 255, .9); font-weight: 700; font-size: 18px; font-variant-numeric: tabular-nums; }
@media (max-width: 960px) { .city-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .city-feature .tile:first-child { height: 280px; } }
@media (max-width: 560px) { .city-grid, .city-feature { grid-template-columns: 1fr; } .tile { height: 200px; } }

/* ---------- Listing cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 14px; }
.cards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { position: relative; display: flex; flex-direction: column; background: var(--paper); border-radius: var(--r-m); overflow: hidden; box-shadow: var(--shadow-card); transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: var(--sh-2); transform: translateY(-2px); }
.card .fig { position: relative; aspect-ratio: 331 / 222; background: var(--grad-soft); overflow: hidden; max-width: 100%; }
.card .fig img { width: 100%; height: 100%; object-fit: cover; opacity: .86; transition: opacity .2s, transform .4s; }
.card:hover .fig img { opacity: 1; transform: scale(1.03); }
.card .fig .ph { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 64px; }
.like { position: absolute; right: 25px; top: 25px; display: flex; flex-direction: column; align-items: center; gap: 2px; color: #fff; background: none; border: 0; padding: 0; text-shadow: 0 1px 4px rgba(0, 0, 0, .35); z-index: 2; }
.like .mi { font-size: 28px; transition: transform .15s; }
.like:hover .mi { transform: scale(1.12); }
.like.on .mi { color: #ff4d7a; }
.like span:last-child { font-size: 14px; line-height: 14px; font-variant-numeric: tabular-nums; }
.badge-feat { position: absolute; left: 23px; bottom: 53px; border: 1px solid #fff; border-radius: var(--r-xs); padding: 2px 5px; color: #fff; font-size: 12px; line-height: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; text-shadow: 0 1px 3px rgba(0, 0, 0, .3); }
.badge-pending { position: absolute; left: 23px; top: 25px; background: var(--plum); color: #fff; border-radius: var(--r-xs); padding: 3px 8px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.card .logo { position: absolute; left: 20px; top: -46px; width: 55px; height: 55px; border-radius: 50%; background: var(--paper); padding: 5px; z-index: 2; }
.card .logo img, .card .logo .ini { width: 45px; height: 45px; border-radius: 50%; object-fit: cover; }
.card .logo .ini { display: grid; place-items: center; background: var(--grad); color: #fff; font-weight: 700; font-size: 18px; }
.card .body { position: relative; padding: 25px 20px; display: flex; flex-direction: column; flex: 1; }
.meta-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 14px; line-height: 14px; color: var(--plum); }
.meta-top .addr { display: flex; align-items: center; gap: 5px; min-width: 0; }
.meta-top .addr span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.meta-top .addr .mi { color: var(--yellow); font-size: 18px; }
.price { display: inline-flex; padding: 0 5px; border-left: 1px solid var(--line); border-right: 1px solid var(--line); flex-shrink: 0; }
.price .mi { font-size: 18px; width: 13px; overflow: hidden; color: var(--grey-2); }
.price .mi.on { color: var(--green); }
.price .cur-sym { font: 700 13px/18px var(--font); width: auto; min-width: 9px; margin-right: 1px; text-align: center; }   /* v2.0: a currency without an icon */
.card h3 { margin-top: 15px; font-size: 26px; line-height: 30px; font-weight: 700; color: var(--ink); }
.card .excerpt { margin-top: 15px; font-size: 16px; line-height: 26.4px; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card .foot { margin-top: auto; padding-top: 30px; display: flex; align-items: center; gap: 10px; font-size: 14px; line-height: 21px; flex-wrap: wrap; }
.chip-cat { display: inline-flex; align-items: center; gap: 5px; padding: 0 10px; border-left: 1px solid var(--line); border-right: 1px solid var(--line); color: var(--grey); max-width: 60%; }
.chip-cat span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chip-cat .mi { color: var(--yellow); font-size: 18px; }
.card .foot .chip-cat:only-child { max-width: 100%; }   /* v2.9 specialists: no open/closed status next to it */
.status { display: inline-flex; align-items: center; gap: 5px; color: var(--red); }
.status .mi { font-size: 18px; }
.status.open { color: var(--green); }
.status.appt { color: var(--green); }
.card a.cover { position: absolute; inset: 0; z-index: 1; }
@media (max-width: 1100px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .cards, .cards.two { grid-template-columns: 1fr; } }

/* Compact cards (one-time visit) */
.minis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px 14px; }
.mini { position: relative; display: flex; background: var(--paper); border-radius: var(--r-m); overflow: hidden; box-shadow: var(--shadow-card); min-height: 94px; transition: box-shadow .2s; }
.mini:hover { box-shadow: var(--sh-2); }
.mini .fig { width: 96px; flex-shrink: 0; background: var(--grad-soft); }
.mini .fig img { width: 100%; height: 100%; object-fit: cover; }
.mini .b { padding: 20px; min-width: 0; }
.mini .meta-top .addr span:last-child { white-space: nowrap; }
.mini h4 { margin-top: 10px; font-size: 22px; line-height: 22px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini a.cover { position: absolute; inset: 0; }
@media (max-width: 1100px) { .minis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .minis { grid-template-columns: 1fr; } }

/* Boys / girls */
.duo { display: grid; grid-template-columns: 1fr 1fr; position: relative; }
.duo a { position: relative; height: 360px; display: grid; place-items: center; text-align: center; color: #fff; background: var(--plum) center / cover no-repeat; padding: 20px; isolation: isolate; }
.duo a { transition: filter .45s ease; }
.duo a::before { content: ""; position: absolute; inset: 0; background: rgba(255, 255, 255, .1); z-index: -1; transition: background .45s ease; }
.duo a:hover::before, .duo a:focus-visible::before { background: rgba(255, 255, 255, .3); }   /* hover: fades lighter, not darker */
.duo a:hover, .duo a:focus-visible { filter: brightness(1.08) saturate(1.08); }
.duo a div { transition: text-shadow .45s ease; }
.duo a:hover div, .duo a:focus-visible div { text-shadow: 0 1px 10px rgba(var(--plum-rgb), .35); }   /* keeps the white text readable on the lighter tile */
.duo p { font-size: 18px; line-height: 27px; }
.duo h3 { font-size: clamp(26px, 2.6vw, 38px); line-height: 1.2; font-weight: 600; }
.duo h3 b { font-weight: 700; }
.duo .vai { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: var(--yellow); color: #fff; font-weight: 600; box-shadow: 0 0 0 4px rgba(255, 255, 255, .4); z-index: 2; }
@media (max-width: 720px) { .duo { grid-template-columns: 1fr; } .duo a { height: 240px; } }

/* ---------- Places page ---------- */
.places { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 42%); min-height: calc(100vh - 100px); }
.places .list { padding: 26px max(16px, env(safe-area-inset-left, 0px)) 60px max(16px, min(40px, 3vw), env(safe-area-inset-left, 0px)); min-width: 0; }
.places .mapcol { position: sticky; top: calc(100px + env(safe-area-inset-top, 0px)); height: calc(100vh - 100px); background: #e8eef0; }
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 22px; }
.filters .grp { display: flex; align-items: center; gap: 6px; }
.filters .grp > .mi { color: var(--yellow); font-size: 22px; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: var(--r-pill); overflow: hidden; }
.seg button { border: 0; background: var(--paper); padding: 6px 11px; font-size: 14px; color: var(--grey); border-right: 1px solid var(--line); }
.seg button:last-child { border-right: 0; }
.seg button.on { background: var(--yellow); color: #fff; font-weight: 600; }
.toggle { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: var(--r-pill); padding: 6px 12px; font-size: 14px; background: var(--paper); color: var(--grey); }
.toggle.on { border-color: var(--green); color: var(--green); font-weight: 600; }
.sel { border: 1px solid var(--line); border-radius: var(--r-s); padding: 7px 10px; font-size: 14px; background: var(--paper); color: var(--ink); max-width: 220px; }
.more-filters { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink); background: none; border: 0; }
.more-filters .n { min-width: 22px; height: 22px; border-radius: var(--r-pill); background: var(--yellow); color: #fff; display: grid; place-items: center; font-size: 12px; }
.chipset { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid var(--line); background: var(--paper); border-radius: var(--r-pill); padding: 5px 13px; font-size: 14px; color: var(--grey); display: inline-flex; gap: 6px; align-items: center; }
.chip.on { background: var(--plum); border-color: var(--plum); color: #fff; }
.chip .mi { font-size: 17px; }
.drawer { padding: 18px 0 22px; border-bottom: 1px solid var(--line); margin-bottom: 22px; display: grid; gap: 18px; }
.drawer h6 { font-size: 14px; text-transform: uppercase; letter-spacing: .06em; color: var(--plum); margin-bottom: 10px; }
.result-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.result-head h1, .result-head h2 { font-size: 22px; font-weight: 700; margin: 0; }
.result-head .count { color: var(--grey); font-size: 15px; font-variant-numeric: tabular-nums; }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.active-filters .chip { background: var(--wash); border-color: transparent; color: var(--plum); }
.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 40px; }
.pager button { min-width: 40px; height: 40px; border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--paper); font-weight: 600; color: var(--grey); font-variant-numeric: tabular-nums; }
.pager button.on { background: var(--yellow); border-color: var(--yellow); color: #fff; }
.pager button:disabled { opacity: .4; cursor: default; }
.map { position: relative; width: 100%; height: 100%; overflow: hidden; background: linear-gradient(180deg, #dfe9ec, #eef3f1); }
.map canvas { width: 100%; height: 100%; display: block; }
.map .pin { /* rtl:ignore */ position: absolute; transform: translate(-50%, -100%); color: var(--orange); font-size: 34px; background: none; border: 0; padding: 0; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .3)); transition: transform .15s; z-index: 1; }
.map .pin:hover, .map .pin.hi { /* rtl:ignore */ transform: translate(-50%, -100%) scale(1.3); z-index: 3; color: var(--plum); }
.map .pin .n { position: absolute; left: 50%; top: 8px; transform: translateX(-50%); font: 700 11px/1 var(--font); color: #fff; }
.map .tip { /* rtl:ignore */ position: absolute; z-index: 4; transform: translate(-50%, calc(-100% - 40px)); background: var(--paper); border-radius: var(--r-s); box-shadow: var(--sh-2); padding: 10px 14px; font-size: 14px; white-space: nowrap; pointer-events: none; }
.map .tip b { display: block; font-size: 15px; }
.map .zoom { position: absolute; right: 14px; top: 14px; display: grid; gap: 4px; z-index: 5; }
.map .zoom button { width: 36px; height: 36px; background: var(--paper); border: 0; border-radius: var(--r-s); box-shadow: 0 1px 4px rgba(0, 0, 0, .2); font-size: 20px; color: var(--ink); }
.map .legend { position: absolute; left: 14px; bottom: 14px; background: rgba(255, 255, 255, .92); border-radius: var(--r-s); padding: 6px 10px; font-size: 12px; color: var(--grey); z-index: 5; }
.map-toggle { display: none; }
@media (max-width: 1100px) {
  .places { grid-template-columns: 1fr; }
  .places .mapcol { position: relative; top: 0; height: 380px; display: none; }
  .places.show-map .mapcol { display: block; }
  .map-toggle { display: inline-flex; }
}

/* ---------- Single listing ---------- */
.gallery { position: relative; height: 444px; background: var(--plum-deep); overflow: hidden; }
.gallery .track { display: flex; height: 100%; transition: transform .45s ease; }
.gallery .track img { height: 100%; width: auto; max-width: none; flex-shrink: 0; object-fit: cover; cursor: zoom-in; }
.gallery .nav-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 56px; height: 56px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .85); color: var(--ink); font-size: 36px; display: grid; place-items: center; z-index: 2; }
.gallery .prev { left: max(16px, env(safe-area-inset-left, 0px)); }
.gallery .next { right: max(16px, env(safe-area-inset-right, 0px)); }
.gallery .empty { height: 100%; display: grid; place-items: center; color: #fff; font-size: 80px; background: var(--grad); }
@media (max-width: 720px) { .gallery { height: 260px; } }
.single { display: grid; grid-template-columns: minmax(0, 1fr) 425px; gap: 60px; padding-block: 40px 90px; }
.crumbs { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--grey); flex-wrap: wrap; }
.crumbs .mi { color: var(--yellow); }
.crumbs a:hover { color: var(--ink); }
.title-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; flex-wrap: wrap; }
.single h1 { font-size: 42px; line-height: 1.15; font-weight: 700; }
.actions { display: flex; align-items: center; gap: 18px; color: var(--grey); font-size: 14px; font-variant-numeric: tabular-nums; }
.actions button { background: none; border: 0; color: var(--grey); display: inline-flex; align-items: center; gap: 5px; padding: 0; }
.actions button.on { color: #ff4d7a; }
.actions .mi { font-size: 20px; }
.single .meta { display: flex; align-items: center; gap: 14px; margin-top: 18px; font-size: 14px; flex-wrap: wrap; }
.single .meta .addr { color: var(--plum); display: inline-flex; align-items: center; gap: 5px; }
.single .meta .addr .mi { color: var(--yellow); }
.prose { margin-top: 36px; font-size: 16px; line-height: 1.7; max-width: 72ch; }
.prose h2 { font-size: 32px; line-height: 1.25; margin: 0 0 18px; }
.prose h3 { font-size: 28px; margin: 34px 0 14px; }
.prose h4, .prose h5 { font-size: 20px; margin: 26px 0 10px; }
.prose p { margin: 0 0 14px; }
.prose ul { margin: 0 0 16px; padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose li::marker { color: var(--yellow); }
.sec-title { font-size: 24px; font-weight: 700; margin: 48px 0 20px; }
.amen { display: flex; flex-wrap: wrap; gap: 14px 30px; }
.amen span, .amen a { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; color: var(--ink); }
.amen a:hover { color: var(--plum); text-decoration: underline; text-decoration-color: var(--yellow); }
.amen .mi { color: var(--yellow); font-size: 24px; }
.tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tags a { border: 1px solid var(--line); border-radius: var(--r-pill); padding: 6px 13px; font-size: 16px; color: var(--ink); }
.tags a:hover { border-color: var(--yellow); }
.side { display: grid; gap: 24px; align-content: start; }
.panel { background: var(--paper); border-radius: var(--r-m); box-shadow: var(--shadow-card); padding: 24px 26px; }
.mapmini { height: 220px; border-radius: var(--r-m); overflow: hidden; position: relative; }
.directions { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; font-size: 14px; }
.directions a { color: var(--ink); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.directions a .mi { color: var(--yellow); }
.facts { display: grid; gap: 0; }
.fact { display: grid; grid-template-columns: 26px 110px minmax(0, 1fr); align-items: start; gap: 10px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.fact:last-child { border-bottom: 0; }
.fact > .mi { color: var(--yellow); font-size: 20px; margin-top: 2px; }
.fact .k { color: var(--grey); }
.fact .v { overflow-wrap: anywhere; }
.fact .v a { color: var(--ink); font-weight: 600; }
.fact .v a:hover { color: var(--orange); }
.hours { display: grid; gap: 4px; margin-top: 8px; font-size: 14px; color: var(--grey); }
.hours div { display: flex; justify-content: space-between; gap: 10px; }
.hours div.today { color: var(--ink); font-weight: 600; }
.claim { font-size: 15px; color: var(--grey); text-align: center; }
.claim button { background: none; border: 0; padding: 0; font-weight: 700; color: var(--ink); text-decoration: underline; text-decoration-color: var(--yellow); text-underline-offset: 3px; }
.copy-row { display: inline-flex; gap: 6px; align-items: center; }
.copy-row button { border: 0; background: none; color: var(--grey-2); padding: 0; }
@media (max-width: 1100px) { .single { grid-template-columns: 1fr; gap: 30px; } .single h1 { font-size: 34px; } }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 60px; padding-block: 70px 90px; }
.about-side { display: grid; gap: 10px; align-content: start; position: sticky; top: 130px; }
.about-side a { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: var(--r-s); font-weight: 600; color: var(--ink); background: var(--wash); }
.about-side a .mi { color: var(--yellow); }
.about-side a:hover { background: #f4e8f3; }
.about-main { display: grid; gap: 56px; }
.about-main h5 { font-size: 26px; font-weight: 700; margin-bottom: 14px; }
.about-main p { font-size: 17px; line-height: 1.75; color: #3b3b3b; max-width: 70ch; margin-bottom: 12px; }
.about-hero img { border-radius: var(--r-m); box-shadow: var(--shadow-tile); }
.values { display: grid; gap: 34px; }
.value { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 28px; align-items: center; }
.value img { width: 110px; height: 110px; border-radius: var(--r-m); object-fit: cover; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.stat { border-top: 4px solid var(--yellow); padding-top: 16px; }
.stat b { display: block; font-size: 34px; line-height: 1.1; font-weight: 700; color: var(--plum); font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: 6px; color: var(--grey); font-size: 15px; }
@media (max-width: 960px) { .about-grid { grid-template-columns: 1fr; gap: 30px; } .about-side { position: static; } .stats { grid-template-columns: 1fr; } .value { grid-template-columns: 70px minmax(0, 1fr); gap: 16px; } .value img { width: 70px; height: 70px; border-radius: var(--r-m); } }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; padding-block: 60px 90px; display: grid; gap: 12px; }
.faq details { border-radius: var(--r-m); box-shadow: var(--shadow-card); background: var(--paper); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 22px; font-weight: 700; font-size: 18px; display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .mi { color: var(--yellow); }
.faq details[open] summary .mi { transform: rotate(45deg); }
.faq .a { padding: 0 22px 20px; color: #3b3b3b; display: grid; gap: 10px; }

/* ---------- Forms (add listing, contact, auth) ---------- */
.form-page { max-width: 960px; margin: 0 auto; padding-block: 60px 90px; }
.form-card { background: var(--paper); border-radius: var(--r-m); box-shadow: var(--shadow-card); padding: 34px clamp(18px, 4vw, 44px); }
.form-card + .form-card { margin-top: 24px; }
.form-card h3 { font-size: 24px; font-weight: 700; margin-bottom: 6px; }
.form-card .sub { color: var(--grey); font-size: 15px; margin-bottom: 24px; }
.notice { background: var(--wash); border-left: 4px solid var(--yellow); padding: 14px 18px; border-radius: var(--r-s); font-size: 15px; margin-bottom: 18px; }
.notice button { background: none; border: 0; padding: 0; font-weight: 700; text-decoration: underline; text-decoration-color: var(--yellow); text-underline-offset: 3px; }
.req-note { color: var(--red); font-size: 14px; margin-bottom: 18px; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 24px; }
.ff { display: grid; gap: 7px; min-width: 0; }
.ff.full { grid-column: 1 / -1; }
.ff label { font-weight: 600; font-size: 15px; display: flex; gap: 6px; align-items: center; }
.ff label .opt { font-weight: 400; color: var(--grey-2); font-size: 13px; }
.ff label .r { color: var(--red); }
.ff label .help { color: var(--grey-2); font-size: 18px; cursor: help; }
.ff input, .ff select, .ff textarea { width: 100%; border: 1px solid var(--line); border-radius: var(--r-s); padding: 11px 14px; background: var(--paper); font-size: 15px; box-shadow: none; }
.ff input:focus, .ff select:focus, .ff textarea:focus { outline: 0; border-color: var(--yellow); box-shadow: var(--ring); }
.ff textarea { min-height: 170px; resize: vertical; line-height: 1.6; }
.ff .hint { font-size: 13px; color: var(--grey); }
.ff .err { font-size: 13px; color: var(--red); }
.ff.invalid input, .ff.invalid select, .ff.invalid textarea { border-color: var(--red); }
.with-icon { position: relative; }
.with-icon .mi { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--grey-2); }
.with-icon input { padding-left: 42px; }
.days { display: flex; flex-wrap: wrap; gap: 8px; }
.days label { position: relative; }
.days input { position: absolute; opacity: 0; inset: 0; }
.days span { display: inline-grid; place-items: center; width: 52px; height: 40px; border: 1px solid var(--line); border-radius: var(--r-pill); font-weight: 600; font-size: 14px; color: var(--grey); cursor: pointer; }
.days input:checked + span { background: var(--yellow); border-color: var(--yellow); color: #fff; }
.days input:focus-visible + span { outline: 3px solid var(--blue); }
.radios { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 15px; }
.radios label { display: inline-flex; align-items: center; gap: 6px; font-weight: 400; }
.radios input { accent-color: var(--yellow); width: 18px; height: 18px; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.checks label { position: relative; }
.checks input { position: absolute; opacity: 0; inset: 0; }
.checks span { display: inline-flex; gap: 6px; align-items: center; border: 1px solid var(--line); border-radius: var(--r-pill); padding: 6px 14px; font-size: 14px; color: var(--grey); cursor: pointer; }
.checks input:checked + span { background: var(--plum); border-color: var(--plum); color: #fff; }
.checks input:focus-visible + span { outline: 3px solid var(--blue); }
.drop { border: 1px dashed var(--line); border-radius: var(--r-m); padding: 22px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; background: var(--wash); }
.drop .mi { font-size: 36px; color: var(--yellow); }
.drop .thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
/* v2.15 the previews get their own row under the upload field, set apart by a thin line (they used to press against the field and its hint) */
.drop .thumbs:has(> *) { flex: 1 0 100%; gap: 12px; margin-top: 4px; padding-top: 16px; border-top: 1px solid var(--line); }
.drop .thumbs img { width: 76px; height: 56px; object-fit: cover; border-radius: var(--r-s); }
.drop.over { border-color: var(--yellow); }
.form-actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.pick-map { height: 280px; border-radius: var(--r-m); overflow: hidden; position: relative; border: 1px solid var(--line); cursor: crosshair; }
@media (max-width: 720px) { .grid2, .grid3 { grid-template-columns: 1fr; } }

/* ---------- Account / admin tables ---------- */
.dash { padding-block: 50px 90px; display: grid; gap: 24px; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; border-bottom: 1px solid var(--line); }
.tabs button { background: none; border: 0; padding: 12px 18px; font-weight: 600; color: var(--grey); border-bottom: 3px solid transparent; margin-bottom: -1px; }
.tabs button.on { color: var(--ink); border-bottom-color: var(--yellow); }
.tbl-wrap { overflow-x: auto; background: var(--paper); border-radius: var(--r-m); box-shadow: var(--shadow-card); }
table.tbl { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 640px; }
.tbl th, .tbl td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl th { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--grey); font-weight: 600; background: var(--wash); }
.tbl td.num { font-variant-numeric: tabular-nums; text-align: right; }
.tbl .row-actions { display: flex; gap: 6px; justify-content: flex-end; flex-wrap: wrap; }
.pill { display: inline-flex; align-items: center; gap: 5px; border-radius: var(--r-pill); padding: 3px 10px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.pill.ok { background: #e3f5e6; color: #1f7a2c; }
.pill.wait { background: var(--tint-2); color: var(--warn); }
.pill.no { background: #fde4e4; color: #a32020; }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.kpi { background: var(--paper); border-radius: var(--r-m); box-shadow: var(--shadow-card); padding: 18px 20px; }
.kpi b { display: block; font-size: 30px; font-weight: 700; color: var(--plum); font-variant-numeric: tabular-nums; }
.kpi span { color: var(--grey); font-size: 14px; }
.empty-state { text-align: center; padding: 60px 20px; color: var(--grey); display: grid; gap: 14px; justify-items: center; }
.empty-state .mi { font-size: 56px; color: var(--yellow); }
@media (max-width: 860px) { .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--grad); color: #fff; margin-top: 0; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 30px 50px; padding-block: 50px 50px; }
.foot-grid h6 { font-size: 22px; font-weight: 700; margin-bottom: 26px; }
.foot-tags { font-size: 16px; line-height: 27px; }
.foot-tags a:hover, .foot-list a:hover { text-decoration: underline; text-underline-offset: 3px; }
.foot-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; font-size: 16px; }
.social { display: flex; gap: 10px; }
.social a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .18); font-weight: 700; font-size: 15px; }
.social a:hover { background: rgba(255, 255, 255, .32); }
.social svg { width: 20px; height: 20px; fill: currentColor; }
.copy { border-top: 1px solid rgba(255, 255, 255, .3); padding-block: 26px 30px; text-align: center; font-size: 16px; line-height: 1.8; }
.copy .mi { font-size: 16px; color: #fff; }
.copy a { font-weight: 700; }
.demo-note { font-size: 13px; opacity: .85; }
@media (max-width: 960px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }

/* ---------- Modal, toast, lightbox ---------- */
.modal-back { position: fixed; inset: 0; background: transparent; box-shadow: inset 0 0 0 200vmax rgba(var(--plum-deep-rgb), .55);   /* v2.13 iOS 26 Safari bar: see .pdim */ z-index: 100; display: grid; place-items: center; padding: 20px max(16px, env(safe-area-inset-right, 0px)) 20px max(16px, env(safe-area-inset-left, 0px)); }
.modal { width: min(460px, 100%); max-height: calc(100vh - 40px); overflow: auto; background: var(--paper); border-radius: var(--r-l); box-shadow: var(--sh-3); padding: 30px; position: relative; }
.modal.wide { width: min(720px, 100%); }
.modal h3 { font-size: 26px; font-weight: 700; margin-bottom: 4px; }
.modal .switch { font-size: 14px; color: var(--grey); margin-bottom: 20px; }
.modal .switch button { background: none; border: 0; padding: 0; font-weight: 700; color: var(--ink); }
.modal .x { position: absolute; right: 14px; top: 14px; background: none; border: 0; font-size: 26px; color: var(--grey); }
.modal form { display: grid; gap: 16px; }
.modal .demo { font-size: 13px; color: var(--grey); background: var(--wash); border-radius: var(--r-s); padding: 10px 12px; }
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); background: var(--plum); color: #fff; padding: 12px 20px; border-radius: var(--r-s); box-shadow: 0 8px 24px rgba(0, 0, 0, .25); z-index: 120; font-weight: 600; display: flex; gap: 10px; align-items: center; max-width: calc(100% - 32px); }
.toast .mi { color: var(--yellow); }
.lightbox { position: fixed; inset: 0; background: rgba(10, 0, 12, .92); z-index: 110; display: grid; place-items: center; padding: 20px; }
.lightbox img { max-height: 86vh; max-width: 92vw; border-radius: var(--r-s); }
.lightbox button { position: absolute; background: rgba(255, 255, 255, .15); border: 0; color: #fff; width: 52px; height: 52px; border-radius: 50%; font-size: 32px; display: grid; place-items: center; }
.lightbox .lx { right: max(20px, env(safe-area-inset-right, 0px)); top: max(20px, env(safe-area-inset-top, 0px)); }
.lightbox .lp { left: max(20px, env(safe-area-inset-left, 0px)); top: 50%; }
.lightbox .ln { right: max(20px, env(safe-area-inset-right, 0px)); top: 50%; }
.cookie { position: fixed; left: max(16px, env(safe-area-inset-left, 0px)); right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); max-width: 760px; margin: 0 auto; background: var(--paper); border-radius: var(--r-m); box-shadow: var(--sh-3); padding: 16px 20px; z-index: 90; display: flex; gap: 16px; align-items: center; font-size: 14px; color: var(--grey); }
.cookie p { flex: 1; }
@media (max-width: 640px) { .cookie { flex-direction: column; align-items: stretch; } }
.map .cluster { /* rtl:ignore */ position: absolute; transform: translate(-50%, -50%); min-width: 34px; height: 34px; padding: 0 8px; border-radius: var(--r-pill); border: 3px solid #fff; background: var(--grad); color: #fff; font: 700 14px/28px var(--font); box-shadow: 0 2px 8px rgba(0, 0, 0, .25); z-index: 2; font-variant-numeric: tabular-nums; transition: transform .15s; }
.map .cluster:hover { /* rtl:ignore */ transform: translate(-50%, -50%) scale(1.12); }
@media (max-width: 560px) {
  .filters .grp { flex-wrap: wrap; min-width: 0; }
  .seg button { padding: 6px 8px; font-size: 13px; }
  .filters .sel { max-width: 100%; }
}

/* ===== v2: filter popups (as on playroom.lv), 3-column places, OSM map ===== */
.places { grid-template-columns: minmax(0, 1fr) minmax(320px, 34%); }
.cards.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1400px) { .places { grid-template-columns: minmax(0, 1fr) minmax(300px, 30%); } }
@media (max-width: 1240px) { .places { grid-template-columns: 1fr; } .places .mapcol { position: relative; top: 0; height: 420px; display: none; } .places.show-map .mapcol { display: block; } .map-toggle { display: inline-flex; } }
@media (max-width: 1240px) and (min-width: 1101px) { .cards.three { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 960px) { .cards.three { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .cards.three { grid-template-columns: 1fr; } }
.cards.three .card h3 { font-size: 22px; line-height: 26px; }
.cards.three .card .body { padding: 22px 18px; }

/* map: Leaflet markers and clusters share one look with the drawn fallback */
.map { position: relative; width: 100%; height: 100%; overflow: hidden; background: #dfe9ec; }
.map.leaflet-container { font: inherit; background: #e8eef0; }
.pr-pin { background: none !important; border: 0 !important; }
.pr-pin .pin-b { position: relative; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--grad); border: 3px solid #fff; box-shadow: 0 3px 8px rgba(0, 0, 0, .3); transition: transform .15s; }
.pr-pin .pin-b .mi { transform: rotate(45deg); color: #fff; font-size: 17px; }
.pr-pin.hi .pin-b, .pr-pin:hover .pin-b { background: var(--plum); transform: rotate(-45deg) scale(1.15); }
.pr-pin.abs { /* rtl:ignore */ position: absolute; transform: translate(-50%, -100%); border: 0; padding: 0; z-index: 1; }
.pr-pin.abs.hi { z-index: 3; }
.pr-cluster { background: none !important; }
.pr-cluster span { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--grad); color: #fff; font: 700 15px/1 var(--font); border: 3px solid #fff; box-shadow: 0 0 0 4px rgba(var(--yellow-rgb), .35), 0 3px 10px rgba(0, 0, 0, .25); font-variant-numeric: tabular-nums; transition: transform .15s; }
.pr-cluster:hover span { transform: scale(1.1); }
.pr-cluster.abs { /* rtl:ignore */ position: absolute; transform: translate(-50%, -50%); border: 0; padding: 0; z-index: 2; }
.leaflet-popup-content-wrapper { border-radius: var(--r-m); padding: 0; overflow: hidden; }
.leaflet-popup-content { margin: 0; }
.map-pop { display: flex; gap: 10px; align-items: center; padding: 8px; color: var(--ink) !important; text-decoration: none; }
.map-pop img { width: 72px; height: 54px; object-fit: cover; border-radius: var(--r-s); }
.map-pop b { display: block; font-size: 15px; line-height: 1.2; }
.map-pop small { display: block; color: var(--grey); font-size: 12px; margin-top: 3px; }
.leaflet-control-attribution { font-size: 11px; }
.mapmini, .pick-map { position: relative; }
.mapmini .map, .pick-map .map { position: absolute; inset: 0; }
.pick-map { cursor: crosshair; }

/* forms v2 */
.notice.warn { border-left-color: var(--orange); display: flex; gap: 10px; align-items: flex-start; }
.notice.warn .mi { color: var(--orange); margin-top: 2px; }
.fh { font-size: 17px; font-weight: 700; margin: 6px 0 14px; color: var(--plum); }
.drop .thumbs .th { position: relative; border: 0; padding: 0; background: none; border-radius: var(--r-s); overflow: hidden; }
.drop .thumbs .th img { width: 76px; height: 56px; object-fit: cover; display: block; }
.drop .thumbs .th > span { position: absolute; right: 2px; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: rgba(var(--plum-deep-rgb), .7); color: #fff; display: grid; place-items: center; }
.drop .thumbs .th > span .mi { font-size: 14px; }
.drop .thumbs .th.file { display: inline-flex; align-items: center; gap: 6px; padding: 8px 30px 8px 10px; background: var(--paper); border: 1px solid var(--line); max-width: 220px; }
.drop .thumbs .th.file small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.size-meter { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--grey); font-variant-numeric: tabular-nums; }
.size-meter .bar { flex: 1; height: 6px; border-radius: var(--r-pill); background: var(--line); overflow: hidden; }
.size-meter .bar span { display: block; height: 100%; background: var(--green); }
.size-meter.over .bar span { background: var(--red); }
.size-meter.over small { color: var(--red); font-weight: 600; }
.btn:disabled { opacity: .55; cursor: not-allowed; filter: none; }
.nav .lang { gap: 6px; }
.nav .lang img { width: 18px; height: 12px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); }
.like .n { font-size: 14px; line-height: 14px; font-variant-numeric: tabular-nums; }
[hidden] { display: none !important; }
.fbtn.map-toggle { display: none; }
@media (max-width: 1240px) { .fbtn.map-toggle { display: inline-flex; } }
.fbtn { padding: 0 12px; }

/* ===== v3: maps across the portal + mobile full-height map ===== */
.map-box { height: 520px; border-radius: var(--r-m); overflow: hidden; box-shadow: var(--shadow-card); position: relative; }
.map-box .map { position: absolute; inset: 0; }
.map-section .center-head { margin-bottom: 30px; }
.places .mapcol { display: block; }
.mapcol-inner { position: relative; width: 100%; height: 100%; }
.mapcol-inner .map { position: absolute; inset: 0; }
.map-close { display: none; }
.map-hint { position: absolute; inset: 0; z-index: 800; display: grid; place-items: center; padding: 20px; background: rgba(var(--plum-deep-rgb), .45); color: #fff; font-weight: 600; font-size: 16px; text-align: center; pointer-events: none; }
@media (max-width: 1240px) {
  /* "Rādīt karti" on phones/tablets: a full-height block at the top of the list — not fixed, the page scrolls past it */
  .places { display: flex; flex-direction: column; }
  .places .mapcol { display: none; position: relative; top: auto; order: -1; height: calc(100vh - 72px); height: calc(100dvh - 72px - env(safe-area-inset-top, 0px)); z-index: 40; background: #e8eef0; box-shadow: var(--sh-2); }
  .places.show-map .mapcol { display: block; }
  .map-close { display: inline-flex; align-items: center; gap: 6px; position: absolute; right: max(12px, env(safe-area-inset-right, 0px)); top: 12px; z-index: 900; height: 38px; padding: 0 14px; border: 0; border-radius: var(--r-pill); background: var(--paper); color: var(--ink); font-weight: 600; font-size: 14px; box-shadow: 0 2px 8px rgba(0, 0, 0, .2); }
  .map-box { height: 380px; }
}
@media (max-width: 1240px) { .site-header .bar { min-height: 72px; } }
/* Leaflet stacks its panes up to z-index 1000; keep the whole map below the sticky header (z 50) */
.map.leaflet-container, .map-box, .mapcol-inner { isolation: isolate; }
.places .mapcol { scroll-margin-top: 72px; }
@media (max-width: 1240px) { .places .map .zoom { top: 62px; } }

/* ---------- 404 ---------- */
.e404 { position: relative; overflow: hidden; min-height: calc(100dvh - 72px); display: grid; place-items: center; padding: 64px 16px 80px; background: radial-gradient(1200px 600px at 50% 0%, var(--tint) 0%, var(--paper, #fff) 70%); text-align: center; }
.e404 .inner { position: relative; z-index: 1; max-width: 640px; }
.e404 .big { font: 800 clamp(120px, 28vw, 230px)/.95 "Open Sans", Arial, sans-serif; letter-spacing: -.04em; margin: 0; color: var(--orange); filter: drop-shadow(0 10px 18px rgba(var(--orange-rgb), .28)); }
.e404 .big span { display: inline-block; padding: 0 .02em; background: linear-gradient(var(--grad-angle), var(--orange) 0%, var(--yellow) 70%, var(--yellow-2) 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; animation: e404-bob 2.6s ease-in-out infinite; }
.e404 .big span:nth-child(2) { animation-delay: .25s; }
.e404 .big span:nth-child(3) { animation-delay: .5s; }
.e404 .sign { display: inline-grid; gap: 6px; margin: 28px auto 8px; padding: 18px 28px; background: #fff; border: 3px dashed var(--yellow); border-radius: var(--r-m); box-shadow: var(--sh-1); transform: rotate(-1.5deg); }
.e404 .sign p { margin: 0; font-weight: 700; font-size: clamp(18px, 4.4vw, 22px); color: var(--plum, var(--plum)); }
.e404 .sign p + p { font-weight: 600; color: var(--grey, #747474); font-size: clamp(16px, 4vw, 19px); }
.e404 .btn { margin-top: 30px; padding: 14px 30px; font-size: 16px; border-radius: var(--r-pill); }
.e404 .balloon { position: absolute; width: 70px; opacity: .9; animation: e404-float 7s ease-in-out infinite; }
.e404 .balloon.b1 { left: 7%; top: 18%; } .e404 .balloon.b2 { right: 9%; top: 28%; width: 54px; animation-delay: -2s; } .e404 .balloon.b3 { left: 16%; bottom: 10%; width: 44px; animation-delay: -4s; }
.e404 .dot { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--grad); opacity: .55; }
@keyframes e404-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes e404-float { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-22px) rotate(4deg); } }
@media (max-width: 640px) { .e404 .balloon.b2, .e404 .balloon.b3 { display: none; } .e404 .balloon.b1 { left: 4%; top: 6%; width: 46px; } }
@media (prefers-reduced-motion: reduce) { .e404 .big span, .e404 .balloon { animation: none; } }

#app:focus { outline: none; }
.cookie-btns { display: flex; gap: 10px; flex-shrink: 0; }
.cookie a { color: var(--plum); text-decoration: underline; }
@media (max-width: 640px) { .cookie-btns { justify-content: stretch; } .cookie-btns .btn { flex: 1; } }
/* server-rendered fallback content (replaced by the app on load) */
.ssr { max-width: 1140px; margin: 0 auto; padding: 40px 16px; }
.ssr ul { columns: 2 260px; padding-left: 18px; }

/* ===== v1.2 ===== */
/* no pinch / double-tap page zoom on phones (maps keep their own pinch zoom) */
html { touch-action: manipulation; -webkit-text-size-adjust: 100%; }

/* --- places: one Filters button (left) + map toggle (right), both expand smoothly --- */
.ptools { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 16px; }
.tbtn { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--paper); color: var(--ink); font-size: 15px; font-weight: 600; white-space: nowrap; transition: border-color .2s, background .2s, box-shadow .2s; }
.tbtn .mi { font-size: 20px; }
.tbtn:hover { border-color: var(--yellow); }
.tbtn[aria-expanded="true"], .tbtn[aria-pressed="true"] { background: var(--tint); border-color: var(--yellow); box-shadow: var(--sh-accent); }
.tbtn .chev { transition: transform .3s ease; margin-right: -4px; }
.tbtn[aria-expanded="true"] .chev { transform: rotate(180deg); }
.tbtn .n { min-width: 22px; height: 22px; padding: 0 6px; border-radius: var(--r-pill); background: var(--grad); color: #fff; font-size: 12px; display: grid; place-items: center; }
.fpanel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .38s cubic-bezier(.2, .7, .2, 1), margin .38s; margin-bottom: 0; }
.fpanel.open { grid-template-rows: 1fr; margin-bottom: 18px; }
.fpanel-in { overflow: hidden; min-height: 0; }
.fpanel .fgrid, .fpanel .fpanel-foot { opacity: 0; transform: translateY(-6px); transition: opacity .25s, transform .3s; }
.fpanel.open .fgrid, .fpanel.open .fpanel-foot { opacity: 1; transform: none; transition-delay: .08s; }
.fgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 28px; padding: 22px 22px 8px; margin-top: 2px; background: var(--tint); border: 1px solid var(--tint-3); border-bottom: 0; border-radius: var(--r-m) var(--r-m) 0 0; }
.fgrid section { min-width: 0; }
.fgrid h6 { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--plum); margin-bottom: 10px; }
.fgrid h6 .mi { color: var(--orange); font-size: 18px; }
.pchips { display: flex; flex-wrap: wrap; gap: 8px; }
.pchip { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 6px 13px; border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--paper); color: var(--ink); font-size: 14px; line-height: 1.2; transition: background .15s, border-color .15s, color .15s, transform .1s; }
.pchip .mi { font-size: 17px; color: var(--orange); }
.pchip small { color: var(--grey); font-variant-numeric: tabular-nums; }
.pchip .eur { color: var(--green); font-weight: 700; letter-spacing: .04em; }
.pchip:hover { border-color: var(--yellow); }
.pchip:active { transform: scale(.97); }
.pchip.on { background: var(--grad); border-color: transparent; color: #fff; font-weight: 600; }
.pchip.on .mi, .pchip.on small, .pchip.on .eur { color: #fff; }
.fpanel-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 22px 16px; background: var(--tint); border: 1px solid var(--tint-3); border-top: 1px dashed var(--tint-line); border-radius: 0 0 var(--r-m) var(--r-m); }
.fpanel-foot .btn-plain { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--plum); background: none; border: 0; }
.fpanel-foot .btn-plain:disabled { opacity: .4; }
@media (max-width: 760px) { .fgrid { grid-template-columns: 1fr; padding: 18px 16px 6px; } .fpanel-foot { padding: 12px 16px 14px; } }

/* active filters joined in one block with ✕ and reset */
.fchips { display: flex; flex-wrap: wrap; gap: 0; margin-bottom: 18px; border: 1px solid var(--tint-line); border-radius: var(--r-pill); background: var(--tint); padding: 4px; width: fit-content; max-width: 100%; }
.fchip { display: inline-flex; align-items: center; gap: 4px; height: 34px; padding: 0 8px 0 14px; border: 0; border-radius: var(--r-pill); background: none; color: var(--plum); font-size: 14px; font-weight: 600; transition: background .15s; }
.fchip + .fchip { box-shadow: -1px 0 0 var(--tint-line); }
.fchip .mi { font-size: 16px; color: var(--orange); }
.fchip:hover { background: var(--tint-2); }
.fchip.reset { padding: 0 14px 0 10px; color: var(--grey); font-weight: 600; }
.fchip.reset .mi { color: var(--grey); }

/* map toggle: desktop slides the map column in and out, phones expand it under the header */
@media (min-width: 1241px) {
  .places { grid-template-columns: minmax(0, 1fr) minmax(320px, 34%); transition: grid-template-columns .45s cubic-bezier(.2, .7, .2, 1); }
  .places.map-off { grid-template-columns: minmax(0, 1fr) 0px; }
  .places .mapcol { overflow: hidden; transition: opacity .35s; }
  .places.map-off .mapcol { opacity: 0; }
  .places.map-off .cards.three { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 1241px) and (max-width: 1400px) { .places { grid-template-columns: minmax(0, 1fr) minmax(300px, 30%); } .places.map-off .cards.three { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 1240px) {
  .places .mapcol, .places.show-map .mapcol { display: block; height: 0; overflow: hidden; box-shadow: none; transition: height .45s cubic-bezier(.2, .7, .2, 1), box-shadow .3s; }
  .places.map-on .mapcol { height: calc(100vh - 72px); height: calc(100dvh - 72px - env(safe-area-inset-top, 0px)); box-shadow: var(--sh-2); }
}

/* --- iOS-like floating bar (phones and tablets) --- */
.dock { display: none; }
@media (max-width: 1240px) {
  .dock { position: fixed; z-index: 70; left: 50%; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); display: flex; gap: 4px; padding: 6px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .78); -webkit-backdrop-filter: blur(20px) saturate(1.8); backdrop-filter: blur(20px) saturate(1.8); box-shadow: var(--sh-2); animation: dock-in .35s cubic-bezier(.2, .8, .2, 1); max-width: calc(100vw - 24px); }
  .dock-i { display: grid; justify-items: center; gap: 1px; min-width: 76px; padding: 7px 12px 6px; border: 0; border-radius: var(--r-pill); background: none; color: var(--ink); font-size: 12px; font-weight: 600; line-height: 1.2; text-decoration: none; transition: background .2s, color .2s, transform .1s; }
  .dock-i .mi { font-size: 24px; color: var(--plum); }
  .dock-i:active { transform: scale(.94); }
  .dock-i.on { background: rgba(var(--yellow-rgb), .22); }
  .dock-i.on .mi { color: var(--orange); }
  .dock-i[data-primary] { background: var(--grad); color: #fff; box-shadow: var(--sh-accent); }
  .dock-i[data-primary] .mi { color: #fff; }
  .dock-i:disabled { opacity: .35; }
  body.has-dock main { padding-bottom: calc(86px + env(safe-area-inset-bottom, 0px)); }
  body.has-dock .site-footer { padding-bottom: calc(86px + env(safe-area-inset-bottom, 0px)); }
  body.has-dock .cookie { bottom: calc(92px + env(safe-area-inset-bottom, 0px)); }
  body.has-dock .toast { bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 380px) { .dock-i { min-width: 64px; padding: 7px 8px 6px; } }
@keyframes dock-in { from { opacity: 0; transform: translate(-50%, 24px); } to { opacity: 1; transform: translate(-50%, 0); } }

/* --- listing: orange gradient over the top of the photo slider (as on playroom.lv) --- */
.gallery::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 120px; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(var(--orange-rgb), .92) 0%, rgba(var(--mid-rgb), .62) 38%, rgba(var(--yellow-rgb), .22) 72%, rgba(var(--yellow-2-rgb), 0) 100%); }
.gallery::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; z-index: 2; background: var(--grad); pointer-events: none; }
@media (max-width: 720px) { .gallery::before { height: 84px; } }

/* booking box in the listing sidebar */
.book-panel { display: grid; gap: 10px; }
.book-panel > .btn { width: 100%; height: 50px; font-size: 18px; border-radius: var(--r-pill); }
.book-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; }
/* same pill shape as the filter buttons (.tbtn) */
.book-row .btn { width: 100%; height: 44px; padding: 0 16px; border-radius: var(--r-pill); font-size: 15px; transition: border-color .2s, background .2s, box-shadow .2s; }
.book-row .btn-ghost:hover { border-color: var(--yellow); background: var(--tint); }
.book-row .btn svg { width: 18px; height: 18px; fill: currentColor; flex: none; }
.book-row .btn-wa svg { fill: #25d366; }
.book-row .btn-wa:hover { border-color: #25d366; background: #f0fbf4; }
/* social profile icons on the listing */
.fact .v.soc-icons { display: flex; flex-wrap: wrap; gap: 8px; }
.soc { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); color: var(--ink); transition: border-color .2s, background .2s, color .2s; }
.soc svg { width: 19px; height: 19px; fill: currentColor; }
.soc .mi { font-size: 20px; color: inherit; margin: 0; }
.fact .v a.soc:hover { color: #fff; }
.soc-facebook:hover { background: #1877f2; border-color: #1877f2; }
.soc-instagram:hover { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); border-color: #d6249f; }
.soc-tiktok:hover, .soc-youtube:hover, .soc-link:hover { background: var(--ink); border-color: var(--ink); }
.soc-youtube:hover { background: #ff0000; border-color: #ff0000; }
.book-f .grid2 { gap: 12px 14px; }
.book-f .ff.full { grid-column: 1 / -1; }
.modal:has(#book-f) { width: min(560px, 100%); }

/* share icons */
.share-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 8px; margin-bottom: 18px; }
.sh { display: grid; justify-items: center; gap: 6px; padding: 4px 0; border: 0; background: none; color: var(--ink); font-size: 13px; text-decoration: none; }
.sh svg, .sh .mi { width: 52px; height: 52px; padding: 13px; border-radius: 50%; fill: #fff; color: #fff; font-size: 26px; display: grid; place-items: center; box-shadow: var(--sh-1); transition: transform .15s; }
.sh:hover svg, .sh:hover .mi { transform: translateY(-2px) scale(1.05); }
.sh-facebook svg { background: #1877f2; } .sh-messenger svg { background: linear-gradient(45deg, #0099ff, #a033ff 60%, #ff5280); } .sh-whatsapp svg { background: #25d366; }
.sh-telegram svg { background: #229ed9; } .sh-viber svg { background: #7360f2; } .sh-x svg { background: #111; } .sh-linkedin svg { background: #0a66c2; }
.sh-mail .mi { background: var(--grad); } .sh-more .mi { background: var(--plum); }
.share-copy { display: flex; gap: 8px; }
.share-copy input { flex: 1; min-width: 0; height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--r-s); font-size: 14px; color: var(--grey); }
@media (max-width: 420px) { .share-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .share-copy { flex-direction: column; } }

/* --- mobile menu: items centred --- */
@media (max-width: 1180px) {
  .nav { align-items: center; text-align: center; gap: 0; padding-top: 10px; }
  .nav a, .nav button.nav-link { width: 100%; max-width: 360px; justify-content: center; display: flex; padding: 13px 6px; font-size: 18px; border-bottom: 1px solid var(--line); }
  .nav a.on { box-shadow: none; padding-left: 6px; color: var(--orange); }
  .nav .lang { justify-content: center; }
  .nav a.btn-grad { margin: 16px 0 4px; width: auto; min-width: 240px; border: 0; padding: 10px 28px; }
}

/* --- home header (hero) on phones --- */
@media (max-width: 720px) {
  .hero { min-height: 0; background-position: 30% center; }
  .hero .inner { padding-block: 44px 26px; }
  .hero h1 { font-size: 30px; line-height: 1.18; }
  .hero .lede { margin-top: 14px; font-size: 17px; line-height: 1.45; }
  .search { margin-top: 24px; gap: 10px; }
  .field { height: 48px; }
  .search .btn { height: 48px; }
  .cat-row { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; margin: 26px -16px 0; padding: 4px 16px 6px; gap: 6px; -webkit-overflow-scrolling: touch; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 16px), transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 16px), transparent 100%); }
  .cat-row::-webkit-scrollbar { display: none; }
  .cat-row a { flex: 0 0 auto; width: 84px; padding: 0 2px; scroll-snap-align: start; font-size: 13px; line-height: 16px; opacity: .95; }
  .cat-row .ring { width: 50px; height: 50px; background: rgba(255, 255, 255, .14); }
}
@media (max-width: 1180px) { .site-header .bar { gap: 12px; } .menu-toggle { width: 44px; height: 44px; display: grid; place-items: center; padding: 0; font-size: 28px; border-radius: 50%; } .menu-toggle:active { background: var(--wash); } }
.ptools, #results-top { scroll-margin-top: 112px; }
@media (max-width: 1240px) { .ptools, #results-top { scroll-margin-top: 84px; } }

/* ===== v1.3: phones/tablets — no top buttons; filters slide in from the left, map from the right ===== */
.fpanel-head { display: none; }
.pdim { display: none; }
@media (max-width: 1240px) {
  .ptools { display: none; }
  /* v2.13 iOS 26 Safari paints its bottom bar with the background-color of a fixed layer touching the screen edge (ignoring its transparency):
     the dim is an inset shadow instead, so the bar keeps the page colour */
  .pdim { display: block; position: fixed; inset: 0; z-index: 45; background: transparent; box-shadow: inset 0 0 0 200vmax rgba(var(--plum-deep-rgb), .38); opacity: 0; pointer-events: none; transition: opacity .3s; }
  .pdim.on { opacity: 1; pointer-events: auto; }
  html.drawer-open, html.drawer-open body { overflow: hidden; overscroll-behavior: none; }

  .fpanel { position: fixed; z-index: 46; left: 0; top: calc(72px + env(safe-area-inset-top, 0px)); bottom: 0; width: min(440px, 90vw); margin: 0 !important;
    display: flex; flex-direction: column; background: var(--tint); box-shadow: 10px 0 34px rgba(var(--plum-deep-rgb), .2); border-radius: 0 var(--r-m) var(--r-m) 0;
    transform: translateX(-104%); transition: transform .4s cubic-bezier(.2, .8, .2, 1); visibility: hidden; }
  .fpanel.open { transform: none; visibility: visible; }
  .fpanel:not(.open) { transition: transform .35s cubic-bezier(.4, 0, .6, 1), visibility 0s .35s; }
  .fpanel-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 14px 12px 20px; border-bottom: 1px solid var(--tint-line); }
  .fpanel-head b { display: inline-flex; align-items: center; gap: 8px; font-size: 18px; color: var(--plum); }
  .fpanel-head b .mi { color: var(--orange); }
  .fpanel-x { width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--tint-2); color: var(--plum); display: grid; place-items: center; font-size: 22px; }
  .fpanel-in { flex: 1; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; display: flex; flex-direction: column; }
  .fpanel .fgrid, .fpanel .fpanel-foot { opacity: 1; transform: none; }
  .fgrid { grid-template-columns: 1fr; border: 0; border-radius: 0; background: none; padding: 18px 20px 10px; margin: 0; }
  .fpanel-foot { position: sticky; bottom: 0; margin-top: auto; border: 0; border-top: 1px solid var(--tint-line); border-radius: 0; background: var(--tint); box-shadow: 0 -8px 16px rgba(var(--tint-rgb), .9);
    padding: 12px 20px calc(100px + env(safe-area-inset-bottom, 0px)); }

  .places .mapcol, .places.show-map .mapcol, .places.map-on .mapcol { display: block; position: fixed; z-index: 46; top: calc(72px + env(safe-area-inset-top, 0px)); right: 0; bottom: 0; left: 0;
    width: auto; height: auto; order: 0; overflow: hidden; background: var(--paper); border-radius: var(--r-m) 0 0 0; box-shadow: -10px 0 34px rgba(var(--plum-deep-rgb), .2);
    transform: translateX(104%); visibility: hidden; transition: transform .35s cubic-bezier(.4, 0, .6, 1), visibility 0s .35s; }
  .places.map-on .mapcol { transform: none; visibility: visible; transition: transform .42s cubic-bezier(.2, .8, .2, 1); }
  .map-close { top: 14px; }
  .places .mapcol .leaflet-bottom { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
  .places .mapcol .legend { bottom: calc(96px + env(safe-area-inset-bottom, 0px)) !important; }
}

/* ===== v1.4 ===== */
/* filters (left) and map (right) drawers: same width */
@media (max-width: 1240px) {
  .fpanel, .places .mapcol, .places.show-map .mapcol, .places.map-on .mapcol { width: min(440px, 92vw); }
  .places .mapcol, .places.show-map .mapcol, .places.map-on .mapcol { left: auto; right: 0; border-radius: var(--r-m) 0 0 var(--r-m); }
}
/* WhatsApp in the floating bar */
.dock-i svg { width: 24px; height: 24px; fill: #25d366; }
.dock-i.dock-wa span { color: var(--ink); }
.card .addr span, .mini .addr span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card .addr { min-width: 0; }
/* booking opens as a sheet that ends above the floating bar — the bar stays visible and in place */
@media (max-width: 1240px) {
  body.has-dock .modal-back.sheet { z-index: 65; place-items: end center; padding: calc(84px + env(safe-area-inset-top, 0px)) 10px calc(92px + env(safe-area-inset-bottom, 0px)); }
  body.has-dock .modal-back.sheet .modal { width: min(560px, 100%); max-height: 100%; border-radius: var(--r-l); padding: 24px 20px 20px; animation: sheet-up .32s cubic-bezier(.2, .8, .2, 1); overscroll-behavior: contain; }
  body.has-dock .modal-back.sheet .modal h3 { font-size: 22px; padding-right: 36px; }
  body.has-dock .modal-back.sheet .book-f .grid2 { grid-template-columns: 1fr 1fr; }
  body.has-dock .modal-back.sheet .book-f .ff.full { grid-column: 1 / -1; }
  body.has-dock .modal-back.sheet .book-f input, body.has-dock .modal-back.sheet .book-f textarea { font-size: 16px; }   /* 16px: iOS does not zoom into the field */
}
@keyframes sheet-up { from { transform: translateY(30px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (max-width: 720px) { .ff input, .ff select, .ff textarea { font-size: 16px; } }
.book-f input { min-width: 0; }
@media (max-width: 1240px) {
  body.has-dock .modal-back.sheet .book-f button[type=submit] { position: sticky; bottom: -20px; margin-bottom: -4px; box-shadow: 0 -10px 16px #fff, var(--sh-accent); }
}

/* ===== v1.5 ===== */
/* listing cards: logo 20px lower */
.card .logo { top: -26px; }
/* listing page: gradient reversed (rises from the bottom of the photos) + venue logo on the photos */
.gallery::before { top: auto; bottom: 0; height: 130px; background: linear-gradient(0deg, rgba(var(--orange-rgb), .92) 0%, rgba(var(--mid-rgb), .62) 38%, rgba(var(--yellow-rgb), .22) 72%, rgba(var(--yellow-2-rgb), 0) 100%); }
.gallery::after { top: auto; bottom: 0; }
.g-logo { position: absolute; z-index: 3; left: max(30px, calc((100vw - 1380px) / 2 + 15px)); bottom: 22px; width: 96px; height: 96px; padding: 4px; border-radius: 50%; background: #fff; box-shadow: var(--sh-2); pointer-events: none; }
.g-logo img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }
@media (max-width: 720px) { .gallery::before { height: 96px; } .g-logo { left: 16px; bottom: 16px; width: 72px; height: 72px; padding: 3px; } }
/* booking form: vertical scrolling only; the send button keeps space under it, also while it floats */
.modal-back.sheet .modal { overflow-x: hidden; overflow-y: auto; }
.book-f, .book-f .grid2, .book-f .ff { min-width: 0; max-width: 100%; }
.book-f textarea { max-width: 100%; resize: vertical; }
.book-actions { margin-top: 16px; }
.book-actions .btn { width: 100%; }
@media (max-width: 1240px) {
  body.has-dock .modal-back.sheet .book-f button[type=submit] { position: static; box-shadow: var(--sh-accent); margin: 0; }
  body.has-dock .modal-back.sheet .modal { padding-bottom: 0; }
  body.has-dock .modal-back.sheet .book-actions { position: sticky; bottom: 0; margin: 16px -20px 0; padding: 12px 20px 20px; background: #fff; box-shadow: 0 -10px 16px rgba(255, 255, 255, .95); }
}
.card .meta-top { padding-left: 0; min-height: 18px; margin-top: 16px; }   /* address starts under the logo, aligned with the title */
@media (max-width: 1240px) { body.has-dock .modal-back.sheet .book-actions { margin-top: 6px; } }

/* ===== v1.6 ===== */
/* listing: logo sits half over the bottom edge of the photos, like on the listing cards */
.g-logo-row { position: relative; height: 0; z-index: 4; max-width: 1410px; margin: 0 auto; padding: 0 15px; }
.g-logo { left: 15px; bottom: auto; top: -52px; width: 104px; height: 104px; padding: 6px; }
.single.with-logo { padding-top: 72px; }
@media (max-width: 1440px) { .g-logo-row { padding: 0 max(16px, env(safe-area-inset-left, 0px)); } .g-logo { left: max(16px, env(safe-area-inset-left, 0px)); } }
@media (max-width: 720px) { .g-logo { top: -38px; width: 76px; height: 76px; padding: 4px; } .single.with-logo { padding-top: 52px; } }
/* smaller gallery arrows */
.gallery .nav-btn { width: 40px; height: 40px; font-size: 26px; background: rgba(255, 255, 255, .88); box-shadow: 0 2px 8px rgba(0, 0, 0, .18); }
.gallery .nav-btn .mi { font-size: 26px; }
@media (max-width: 720px) { .gallery .nav-btn { width: 34px; height: 34px; font-size: 22px; } .gallery .nav-btn .mi { font-size: 22px; } }
/* five items in the listing bar: Back · Call · WhatsApp · E-mail · Book */
@media (max-width: 1240px) {
  .dock.five { left: 10px; right: 10px; transform: none; width: auto; max-width: 560px; margin: 0 auto; animation-name: dock-in5; }
  .dock.five .dock-i { flex: 1 1 0; min-width: 0; padding: 7px 4px 6px; font-size: 11px; }
  .dock.five .dock-i span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
}
@keyframes dock-in5 { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* ===== v1.7 ===== */
/* bar: all buttons one colour, "Rezervēt" in the centre stays highlighted */
.dock-i svg { fill: var(--plum); }
.dock-i.dock-wa span { color: inherit; }
/* on-screen keyboard (--kb is set from the visual viewport): bar and booking form move up and the form shrinks to fit */
@media (max-width: 1240px) {
  .dock { bottom: calc(12px + env(safe-area-inset-bottom, 0px) + var(--kb, 0px)); transition: bottom .2s ease; }
  .kb-open .dock { bottom: calc(6px + var(--kb, 0px)); }
  body.has-dock .modal-back.sheet { padding-bottom: calc(92px + env(safe-area-inset-bottom, 0px) + var(--kb, 0px)); transition: padding .2s ease; }
  .kb-open body.has-dock .modal-back.sheet { padding-top: calc(8px + env(safe-area-inset-top, 0px)); padding-bottom: calc(80px + var(--kb, 0px)); }
  .kb-open body.has-dock .modal-back.sheet .modal { border-radius: var(--r-l); padding-top: 16px; }
  .kb-open body.has-dock .modal-back.sheet .modal .switch { display: none; }
}
/* home on phones: category icons back to 3 per row; header picture at the top, contained */
@media (max-width: 720px) {
  .hero { background-position: center top; background-size: contain; background-repeat: no-repeat; }
  .cat-row { flex-wrap: wrap; justify-content: center; overflow: visible; scroll-snap-type: none; margin: 26px 0 0; padding: 0; gap: 14px 0; -webkit-mask-image: none; mask-image: none; }
  .cat-row a { flex: 0 0 33.333%; width: 33.333%; padding: 0 4px; font-size: 13px; line-height: 17px; }
  .cat-row .ring { width: 54px; height: 54px; }
}

/* ===== v1.8: home on phones — title and subtitle at 60% width ===== */
@media (max-width: 720px) { .hero h1, .hero .lede { max-width: 60%; margin-left: auto; margin-right: auto; } }

/* ===== v2.0 ===== */
/* back button on top of the listing photos */
.g-back { position: absolute; z-index: 4; top: 16px; left: max(16px, env(safe-area-inset-left, 0px)); display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 16px 0 12px; border: 0; border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .92); color: var(--ink); font-size: 14px; font-weight: 600; box-shadow: 0 2px 10px rgba(0, 0, 0, .18); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.g-back .mi { font-size: 18px; }
.g-back:hover { background: #fff; }
@media (max-width: 720px) { .g-back { top: 12px; height: 34px; padding: 0 12px 0 10px; font-size: 13px; } }

/* sheet modal: close button stays put, only the content scrolls */
.modal-back.sheet .modal { display: flex; flex-direction: column; overflow: hidden; }
.modal-back.sheet .modal > .x { position: absolute; z-index: 3; }
.modal-back.sheet .modal-scroll { flex: 1; min-height: 0; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
/* booking on phones/tablets: full screen; the floating bar stays on top */
@media (max-width: 1240px) {
  body.has-dock .modal-back.sheet, .kb-open body.has-dock .modal-back.sheet { padding: 0; place-items: stretch; background: var(--paper); box-shadow: none; }
  body.has-dock .modal-back.sheet .modal, .kb-open body.has-dock .modal-back.sheet .modal { width: 100%; height: 100%; max-height: none; border-radius: 0; box-shadow: none; padding: 0;
    padding-top: env(safe-area-inset-top, 0px); padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px) + var(--kb, 0px)); animation: sheet-up .3s cubic-bezier(.2, .8, .2, 1); }
  body.has-dock .modal-back.sheet .modal > .x { top: calc(12px + env(safe-area-inset-top, 0px)); right: 12px; width: 40px; height: 40px; border-radius: 50%; background: var(--wash); display: grid; place-items: center; font-size: 22px; }
  body.has-dock .modal-back.sheet .modal-scroll { padding: 20px 20px 0; }
  body.has-dock .modal-back.sheet .modal h3 { padding-right: 48px; }
  body.has-dock .modal-back.sheet .book-actions { margin: 6px -20px 0; padding: 12px 20px 16px; }
  .kb-open body.has-dock .modal-back.sheet .modal .switch { display: none; }
}

/* ===== v2.1: similar places — own block under the content and contact details (last on phones) ===== */
.related-block { background: var(--wash); padding: 56px 0 70px; }
.related-block .sec-title { margin: 0 0 24px; font-size: 26px; }
.single { padding-bottom: 60px; }
@media (max-width: 720px) { .related-block { padding: 36px 0 50px; } .related-block .sec-title { font-size: 22px; } }
.nav .langs { display: contents; }

/* ===== v3.4 contact page ===== */
.ct-hero { position: relative; overflow: hidden; padding: clamp(48px, 7vw, 96px) 0 clamp(90px, 10vw, 130px); background:
  radial-gradient(60% 80% at 85% 10%, rgba(var(--yellow-2-rgb), .55), transparent 60%),
  radial-gradient(50% 70% at 10% 90%, rgba(var(--orange-rgb), .28), transparent 65%), var(--tint); }
.ct-hero::after { content: ""; position: absolute; right: -80px; top: -60px; width: 340px; height: 340px; border-radius: 50%; border: 40px solid rgba(var(--yellow-rgb), .18); pointer-events: none; }
.ct-eyebrow { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .75); border: 1px solid var(--tint-line); color: var(--plum); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.ct-eyebrow .mi { font-size: 16px; color: var(--orange); }
.ct-hero h1 { margin: 18px 0 12px; font-size: clamp(34px, 5.2vw, 60px); line-height: 1.05; font-weight: 700; letter-spacing: -.02em; color: var(--plum); max-width: 14ch; }
.ct-lead { max-width: 56ch; font-size: clamp(16px, 1.6vw, 19px); line-height: 1.6; color: #5b4a5c; }
.ct-status { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.ct-live, .ct-reply { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: var(--r-pill); background: #fff; box-shadow: var(--sh-1); font-size: 14px; font-weight: 600; color: var(--ink); }
.ct-reply .mi { font-size: 18px; color: var(--orange); }
.ct-live i { width: 9px; height: 9px; border-radius: 50%; background: var(--grey-2); }
.ct-live.on i { background: #22c55e; box-shadow: 0 0 0 0 rgba(34, 197, 94, .6); animation: ct-pulse 1.8s infinite; }
@keyframes ct-pulse { 70% { box-shadow: 0 0 0 9px rgba(34, 197, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); } }
@media (prefers-reduced-motion: reduce) { .ct-live.on i { animation: none; } }

.ct-wrap { position: relative; margin-top: clamp(-80px, -7vw, -56px); padding-bottom: 80px; }
.ct-bento { display: grid; grid-template-columns: 1.35fr 1fr 1fr 1fr; gap: 16px; }
.ct-card { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 24px; border-radius: var(--r-m); background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 1px solid rgba(var(--plum-deep-rgb), .07); box-shadow: var(--sh-1); text-align: left; color: var(--ink); font: inherit; }
.ct-card h3 { font-size: 18px; font-weight: 700; margin: 6px 0 0; color: var(--plum); }
.ct-card p { margin: 0; color: var(--grey); font-size: 14px; line-height: 1.5; }
.ct-ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: var(--r-s); background: linear-gradient(135deg, var(--tint-2), var(--tint-3)); color: var(--orange); }
.ct-ic .mi { font-size: 24px; }
.ct-link { cursor: pointer; text-decoration: none; transition: transform .2s, box-shadow .2s, border-color .2s; }
.ct-link:hover { transform: translateY(-3px); border-color: var(--tint-line); box-shadow: var(--sh-1), var(--sh-accent); }
.ct-more { display: inline-flex; align-items: center; gap: 4px; margin-top: auto; padding-top: 12px; font-weight: 700; font-size: 14px; color: var(--orange); }
.ct-more .mi { font-size: 18px; transition: transform .2s; }
.ct-link:hover .ct-more .mi, a.ct-more:hover .mi { transform: translateX(3px); }
.ct-mail { background: linear-gradient(160deg, var(--block-from) 0%, var(--block-to) 100%); border: 0; color: #fff; }
.ct-mail h3 { color: #fff; } .ct-mail p { color: rgba(255, 255, 255, .72); }
.ct-mail .ct-ic { background: rgba(255, 255, 255, .12); color: var(--yellow); }
.ct-addr { margin-top: 10px; font-size: clamp(18px, 1.8vw, 22px); font-weight: 700; color: #fff; text-decoration: none; overflow-wrap: anywhere; }
.ct-addr:hover { color: var(--yellow); }
.ct-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 14px; }
.ct-pill { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 42px; padding: 0 16px; border-radius: var(--r-pill); border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 14px; font-weight: 600; text-decoration: none; cursor: pointer; transition: border-color .2s, background .2s, transform .1s; }
.ct-pill .mi { font-size: 18px; }
.ct-pill:hover { border-color: var(--yellow); background: var(--tint); }
.ct-pill:active { transform: translateY(1px); }
.ct-mail .ct-pill { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .25); color: #fff; }
.ct-mail .ct-pill:hover { background: rgba(255, 255, 255, .18); border-color: rgba(255, 255, 255, .5); }
.ct-mail .ct-pill-main { background: var(--grad); border: 0; color: var(--plum-deep); }
.ct-mail .ct-pill-main:hover { background: var(--grad); filter: brightness(1.05); }

.ct-main { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(300px, 1fr); gap: 24px; margin-top: 28px; align-items: start; }
.ct-formcard { padding: clamp(24px, 3.5vw, 40px); border-radius: var(--r-m); background: #fff; border: 1px solid rgba(var(--plum-deep-rgb), .07); box-shadow: var(--sh-1); scroll-margin-top: 110px; }
.ct-formcard h2 { font-size: clamp(24px, 2.6vw, 30px); font-weight: 700; color: var(--plum); letter-spacing: -.01em; margin: 0 0 6px; }
.ct-formcard .sub { color: var(--grey); margin: 0 0 22px; }
#contact-f { display: grid; gap: 18px; }
#contact-f[hidden] { display: none; }
.ct-topics { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ct-topics legend { width: 100%; font-weight: 600; font-size: 15px; margin-bottom: 10px; padding: 0; }
.ct-topics label { position: relative; cursor: pointer; }
.ct-topics input { position: absolute; opacity: 0; pointer-events: none; }
.ct-topics span { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: var(--r-pill); border: 1px solid var(--line); background: #fff; font-size: 14px; font-weight: 600; color: var(--ink); transition: background .2s, border-color .2s, color .2s; }
.ct-topics label:hover span { border-color: var(--yellow); }
.ct-topics input:checked + span { background: var(--plum); border-color: var(--plum); color: #fff; }
.ct-topics input:focus-visible + span { outline: 3px solid rgba(var(--yellow-rgb), .6); outline-offset: 2px; }
.ct-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ct-formcard .ff input, .ct-formcard .ff textarea { border-radius: var(--r-s); padding: 13px 16px; background: #fcfbfc; box-shadow: none; transition: border-color .2s, box-shadow .2s, background .2s; }
.ct-formcard .ff input:focus, .ct-formcard .ff textarea:focus { background: #fff; }
.ct-formcard .ff textarea { resize: vertical; min-height: 150px; }
.ct-formcard .ff { position: relative; }
.ct-formcard .ff.bad input, .ct-formcard .ff.bad textarea { border-color: var(--red); box-shadow: var(--ring-err); }
.ct-count { justify-self: end; font-size: 13px; color: var(--grey-2); font-variant-numeric: tabular-nums; }
.ct-count.near { color: var(--orange); }
.ct-note { display: flex; gap: 8px; align-items: flex-start; margin: 0; font-size: 13px; color: var(--grey); line-height: 1.5; }
.ct-note .mi { font-size: 17px; color: var(--grey-2); margin-top: 1px; }
.ct-note a { color: var(--plum); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.ct-send { height: 52px; border-radius: var(--r-pill); font-size: 17px; justify-self: start; padding: 0 34px; }
.ct-send.busy { opacity: .7; cursor: progress; }
.ct-done { display: grid; justify-items: center; text-align: center; gap: 10px; padding: 40px 10px; }
.ct-done[hidden] { display: none; }
.ct-check { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: #e7f8ec; color: #16a34a; animation: ct-pop .45s cubic-bezier(.2, 1.4, .4, 1); }
.ct-check .mi { font-size: 40px; }
.ct-done p { color: var(--grey); margin: 0 0 8px; }
@keyframes ct-pop { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }

.ct-side { display: grid; gap: 16px; }
.ct-side .ct-card { background: #fff; }
.ct-office .mapmini { height: 170px; border-radius: var(--r-m); margin: 8px 0 4px; }
.ct-list { list-style: none; margin: 4px 0 6px; padding: 0; display: grid; gap: 10px; font-size: 14px; }
.ct-list li { display: flex; gap: 10px; align-items: flex-start; }
.ct-list .mi { font-size: 18px; color: var(--orange); margin-top: 1px; }
.ct-list small { color: var(--grey); font-size: 13px; }
.ct-office .ct-pill { align-self: flex-start; }
.ct-soc { display: flex; gap: 10px; margin-top: 6px; }
.ct-soc .soc { width: 46px; height: 46px; }
.ct-soc .soc:hover { color: #fff; }
.ct-faq details { border-top: 1px solid var(--line); }
.ct-faq details:first-of-type { margin-top: 6px; }
.ct-faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 0; font-weight: 600; font-size: 14px; cursor: pointer; }
.ct-faq summary::-webkit-details-marker { display: none; }
.ct-faq summary .mi { color: var(--grey); transition: transform .2s; }
.ct-faq details[open] summary .mi { transform: rotate(180deg); }
.ct-faq .a p { font-size: 14px; color: var(--grey); margin: 0 0 10px; line-height: 1.55; }

@media (max-width: 1100px) { .ct-bento { grid-template-columns: 1fr 1fr; } .ct-main { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .ct-bento { grid-template-columns: 1fr; gap: 12px; }
  .ct-grid { grid-template-columns: 1fr; }
  .ct-card { padding: 20px; border-radius: var(--r-m); }
  .ct-send { justify-self: stretch; }
  .ct-hero::after { display: none; }
}

/* ===== v3.5 ===== */
/* one rounding for every button: pills (--r-pill), circles for icon-only buttons */
:root { --r-pill: 999px; --r-field: var(--r-s); }
.btn, .link-more, .nav a, .nav button.nav-link, .nav a.btn-grad, .toggle, .sel, .tags a, .about-side a, .share-copy input,
.badge-feat, .badge-pending, .e404 .btn, .modal .btn, .cookie .btn, .form-actions .btn { border-radius: var(--r-pill); }
.seg { border-radius: var(--r-pill); }
.acct-menu { border-radius: var(--r-m); } .acct-menu a, .acct-menu button { border-radius: var(--r-s); }
.map .zoom button { border-radius: 50%; }
.field { border-radius: var(--r-pill); }
.suggest { border-radius: var(--r-m); }
.search .btn { border-radius: var(--r-pill); }

/* pagination */
.pager { align-items: center; gap: 6px; }
.pager button { min-width: 42px; height: 42px; padding: 0 6px; border-radius: var(--r-pill); display: inline-grid; place-items: center; transition: border-color .2s, background .2s, color .2s; }
.pager button .mi { font-size: 22px; }
.pager button:not(:disabled):not(.on):hover { border-color: var(--yellow); color: var(--ink); background: var(--tint); }
.pager button.on { background: var(--grad); border-color: transparent; color: #fff; box-shadow: var(--sh-accent); }
.pager .pg-gap { color: var(--grey-2); padding: 0 2px; }
.pager .pg-info { flex-basis: 100%; text-align: center; font-size: 13px; color: var(--grey); margin-top: 6px; }
@media (max-width: 560px) { .pager .pg-far, .pager .pg-gap { display: none; } .pager button { min-width: 38px; height: 38px; } }

/* add listing: chosen categories / amenities / tags — orange gradient, white icon */
.checks span .mi { font-size: 18px; color: var(--orange); transition: color .2s; }
.checks span { transition: background .2s, border-color .2s, color .2s; }
.checks label:hover span { border-color: var(--yellow); }
.checks input:checked + span { background: var(--grad); border-color: transparent; color: #fff; font-weight: 600; box-shadow: var(--sh-accent); }
.checks input:checked + span .mi { color: #fff; }
.checks label.maxed span { opacity: .45; }
.checks label.main input:checked + span::after { content: "1"; display: inline-grid; place-items: center; width: 18px; height: 18px; margin-left: 2px; border-radius: 50%; background: #fff; color: var(--orange); font-size: 11px; font-weight: 700; }
.ff label .opt { font-weight: 400; }

/* add listing: days of the week — tick when selected, stop sign when not */
.days span { width: auto; min-width: 66px; padding: 0 12px; gap: 4px; grid-auto-flow: column; border-radius: var(--r-pill); transition: background .2s, border-color .2s, color .2s; }
.days span .mi { font-size: 17px; }
.days span .d-on { display: none; }
.days span .d-off { color: var(--grey-2); }
.days input:checked + span { background: var(--grad); border-color: transparent; color: #fff; }
.days input:checked + span .d-on { display: inline; color: #fff; }
.days input:checked + span .d-off { display: none; }

/* "Where" city dropdown */
.city-sel { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: 16px; color: var(--ink); cursor: pointer; -webkit-appearance: none; appearance: none; padding-right: 22px; }
.city-sel.is-empty, .city-sel:has(option[value=""]:checked) { color: var(--mauve); }   /* nothing chosen: same colour as the text field's placeholder */
.header-search input::placeholder, .field input::placeholder { opacity: 1; }   /* Firefox dims placeholders by default */
.city-sel option { color: var(--ink); }
.field-sel { position: relative; }
.field-sel .sel-arrow { position: absolute; right: 14px; pointer-events: none; color: var(--grey); font-size: 22px; }
.header-search .city-sel { font-size: 14px; padding-right: 4px; }
.header-search label:has(.city-sel)::after { content: ""; flex: 0 0 18px; width: 18px; height: 18px; background: var(--grey); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z'/%3E%3C/svg%3E") center / 18px no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z'/%3E%3C/svg%3E") center / 18px no-repeat; pointer-events: none; margin-left: -18px; }   /* v2.9.6 drawn shape, no icon font needed */

/* contact: orange gradient hero, white text; company details card */
.ct-hero { background: var(--grad); color: #fff; }
.ct-hero::after { border-color: rgba(255, 255, 255, .16); }
.ct-hero h1 { color: #fff; text-shadow: 0 2px 18px rgba(var(--dark-rgb), .25); }
.ct-lead { color: rgba(255, 255, 255, .95); text-shadow: 0 1px 10px rgba(var(--dark-rgb), .25); }
.ct-eyebrow { background: rgba(255, 255, 255, .22); border-color: rgba(255, 255, 255, .45); color: #fff; }
.ct-eyebrow .mi { color: #fff; }
.ct-live, .ct-reply { background: rgba(255, 255, 255, .95); }
.ct-facts .fact { grid-template-columns: 24px 92px minmax(0, 1fr); font-size: 15px; padding: 12px 0; }
.ct-facts .fact:last-child { border-bottom: 0; }
.ct-facts small { color: var(--grey); }
.ct-office p { margin-bottom: 6px; }
.video-box { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-m); overflow: hidden; background: var(--plum-deep); box-shadow: var(--shadow-card); margin-bottom: 8px; }
.video-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ===== v3.5 home hero: solid orange background (var(--orange)) + aligned search fields ===== */
:root { --hero-bg: var(--orange); }
.hero { background-color: var(--hero-bg); background-image: var(--hero-img); background-position: center; background-size: cover; background-repeat: no-repeat; }
.search { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 165px; max-width: 720px; align-items: stretch; }
.search .field { gap: 12px; }
.search .field b { flex: 0 0 4.6em; text-align: left; white-space: nowrap; }
.search .field input, .search .field .city-sel { height: 100%; font-size: 16px; line-height: 1.2; }
@media (max-width: 720px) {
  .hero { background-color: var(--hero-bg); background-size: contain; background-position: center top; }
}
@media (max-width: 960px) { .search { grid-template-columns: minmax(0, 1fr); } }

/* footer on phones: everything centred */
@media (max-width: 560px) {
  .foot-grid { text-align: center; justify-items: center; }
  .foot-grid > div { width: 100%; }
  .foot-list { justify-items: center; }
  .social { justify-content: center; }
}

/* ===== v3.5 edit listing (/…/listing/<slug>/edit/) ===== */
.edit-link { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; border-radius: var(--r-pill); background: var(--plum); color: #fff !important; font-weight: 600; font-size: 14px; }
.edit-link .mi { font-size: 18px; color: #fff; }
.edit-login { max-width: 520px; margin: 0 auto; display: grid; justify-items: center; text-align: center; gap: 10px; }
.edit-login .ct-ic { margin-bottom: 4px; }
.edit-login h3 { margin: 0; }
.otp-f { display: grid; gap: 12px; justify-items: center; width: 100%; }
.otp-f label { font-weight: 600; }
.otp-f input { width: 220px; height: 56px; text-align: center; font-size: 28px; letter-spacing: .4em; font-variant-numeric: tabular-nums; border: 1px solid var(--line); border-radius: var(--r-s); outline: 0; }
.otp-f input:focus { border-color: var(--yellow); box-shadow: var(--ring); }
.link-btn { border: 0; background: none; color: var(--orange); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.link-btn:disabled { color: var(--grey); text-decoration: none; cursor: default; }
.edit-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.edit-bar .notice { flex-basis: 100%; margin: 0; }
.edit-status, .edit-acts { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; }
.sw { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; cursor: pointer; }
.sw input { position: absolute; opacity: 0; }
.sw span { width: 44px; height: 26px; border-radius: var(--r-pill); background: var(--line); position: relative; transition: background .2s; flex: none; }
.sw span::after { content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .2s; }
.sw input:checked + span { background: var(--grad); }
.sw input:checked + span::after { transform: translateX(18px); }
.sw input:focus-visible + span { outline: 3px solid rgba(var(--yellow-rgb), .6); outline-offset: 2px; }
.lang-tabs { display: inline-flex; gap: 4px; padding: 4px; border: 1px solid var(--tint-line); border-radius: var(--r-pill); background: var(--tint); }
.lang-tabs button { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border: 0; border-radius: var(--r-pill); background: none; font-weight: 600; color: var(--plum); }
.lang-tabs button img { width: 18px; height: 12px; border-radius: 2px; }
.lang-tabs button.on { background: var(--grad); color: #fff; }
.lang-pane textarea { min-height: 260px; font-family: inherit; line-height: 1.5; }
.hours-edit { display: grid; gap: 8px; }
.he-row { display: grid; grid-template-columns: 44px 170px minmax(0, 1fr); gap: 10px; align-items: center; }
.he-row b { font-size: 14px; }
.he-row select, .he-row input { height: 42px; border: 1px solid var(--line); border-radius: var(--r-s); padding: 0 12px; font-size: 15px; background: var(--paper); min-width: 0; }
.he-row input:disabled { background: var(--wash); color: var(--grey-2); }
.he-row input.bad { border-color: var(--red); box-shadow: var(--ring-err); }
@media (max-width: 560px) { .he-row { grid-template-columns: 40px minmax(0, 1fr); } .he-row input { grid-column: 2; } }
.drop .thumbs .th.cur em { position: absolute; left: 4px; bottom: 4px; padding: 1px 6px; border-radius: var(--r-xs); background: rgba(0, 0, 0, .55); color: #fff; font-size: 11px; font-style: normal; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; }
.lang-tabs .lt-code { display: none; }
@media (max-width: 560px) { .lang-tabs { display: flex; } .lang-tabs button { flex: 1; justify-content: center; padding: 0 8px; } .lang-tabs .lt-full { display: none; } .lang-tabs .lt-code { display: inline; } }

/* ===== v3.7 ===== */
/* icons inside the add-listing chips (categories, amenities, days): plain glyphs in the text, not chips of their own */
.checks label > span .mi, .days label > span .mi { border: 0; padding: 0; margin: 0; width: auto; min-width: 0; height: auto; border-radius: 0; background: none; box-shadow: none; line-height: 1; vertical-align: middle; }
.checks label:hover span .mi { border: 0; }
/* signed in: round "log out" button after "Add listing" */
.hdr-logout { display: inline-grid; place-items: center; flex: none; width: 40px; height: 40px; margin-left: 8px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--plum); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.hdr-logout .mi { font-size: 20px; }
.hdr-logout:hover, .hdr-logout:focus-visible { background: var(--grad); border-color: transparent; color: #fff; }
@media (max-width: 1180px) { .hdr-logout { margin: 10px auto 0; } }
/* hidden (unpublished) listings, seen only when signed in */
.badge-hidden { position: absolute; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px 3px 7px; border-radius: var(--r-pill); background: rgba(40, 30, 50, .82); color: #fff; font-size: 12px; font-weight: 700; }
.badge-hidden .mi { font-size: 15px; }
.card:has(.badge-hidden) .fig img { filter: grayscale(.55); }
.hidden-note { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; padding: 10px 14px; border-radius: var(--r-s); background: #2d2238; color: #fff; font-size: 14px; font-weight: 600; }
.hidden-note .mi { font-size: 18px; color: var(--yellow); }
/* /fa-cms/ */
.cms { padding-top: 36px; padding-bottom: 64px; }
.cms .notice { display: flex; gap: 8px; align-items: center; }
.cms-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 20px; }
.cms-stat { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; text-align: left; padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--r-m); background: #fff; cursor: pointer; transition: border-color .2s, box-shadow .2s; }
.cms-stat .mi { grid-row: span 2; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--tint-2); color: var(--orange); font-size: 22px; }
.cms-stat b { font-size: 24px; line-height: 1.1; color: var(--ink); }
.cms-stat span:not(.mi) { font-size: 14px; color: var(--grey); font-weight: 600; }
.cms-stat:hover { border-color: var(--yellow); }
.cms-stat.on { border-color: transparent; background: var(--grad); box-shadow: var(--sh-accent); }
.cms-stat.on .mi { background: rgba(255, 255, 255, .25); color: #fff; }
.cms-stat.on b, .cms-stat.on span:not(.mi) { color: #fff; }
.cms-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 8px; scroll-margin-top: 90px; }
.cms-q { flex: 1 1 280px; display: flex; align-items: center; gap: 8px; height: 46px; padding: 0 16px; border: 1px solid var(--line); border-radius: var(--r-pill); background: #fff; }
.cms-q .mi { color: var(--grey-2); }
.cms-q input { flex: 1; min-width: 0; border: 0; outline: 0; font-size: 15px; background: none; }
.cms-q:focus-within { border-color: var(--yellow); box-shadow: var(--ring); }
.cms-bar select { height: 46px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--r-pill); background: #fff; font-size: 15px; max-width: 220px; }
.cms-bar .btn { border-radius: var(--r-pill); height: 46px; }
.cms-n { margin: 10px 2px; color: var(--grey); font-size: 14px; }
.cms-table { border: 1px solid var(--line); border-radius: var(--r-m); background: #fff; overflow: hidden; }
.cms-row { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto auto; gap: 14px; align-items: center; padding: 12px 16px; border-top: 1px solid var(--line); }
.cms-row:first-child { border-top: 0; }
.cms-row:hover { background: var(--tint); }
.cms-row.is-hidden { background: #faf8fb; }
.cms-row.is-hidden .cms-logo img { filter: grayscale(.7); opacity: .8; }
.cms-logo img, .cms-logo .ini { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; display: grid; place-items: center; background: var(--grad); color: #fff; font-weight: 700; }
.cms-main { display: grid; gap: 2px; min-width: 0; }
.cms-main a { color: var(--ink); text-decoration: none; }
.cms-main a:hover b { color: var(--orange); }
.cms-main b { font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cms-main small { display: flex; align-items: center; gap: 4px; color: var(--grey); font-size: 13px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.cms-main small .mi { font-size: 15px; color: var(--orange); }
.cms-tags { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.cms-tags em { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px 3px 7px; border-radius: var(--r-pill); font-style: normal; font-size: 13px; font-weight: 700; white-space: nowrap; }
.cms-tags em .mi { font-size: 15px; }
.cms-tags .st-pub { background: var(--ok-bg); color: var(--ok); }
.cms-tags .st-hid { background: #2d2238; color: #fff; }
.cms-tags .st-feat { background: var(--tint-2); color: var(--brand-dark); }
.cms-tags .st-warn { background: var(--err-bg); color: var(--err); padding: 3px 6px; }
.cms-acts { display: flex; gap: 6px; align-items: center; }
.cms-acts .ct-pill { height: 38px; }
.cms-ic { display: inline-grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; color: var(--plum); }
.cms-ic:hover { border-color: var(--yellow); color: var(--orange); }
.cms .pager { margin-top: 22px; }
@media (max-width: 860px) {
  .cms-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cms-row { grid-template-columns: 44px minmax(0, 1fr) auto; }
  .cms-tags { grid-column: 2; justify-content: flex-start; }
  .cms-acts { grid-column: 3; grid-row: 1 / span 2; flex-direction: column; }
  .cms-acts .ct-pill { padding: 0 12px; }
}
@media (max-width: 560px) {
  .cms-stat { padding: 12px; column-gap: 10px; }
  .cms-stat .mi { width: 36px; height: 36px; font-size: 18px; }
  .cms-bar select, .cms-bar .btn, .cms-bar .ct-pill { flex: 1 1 auto; max-width: none; }
  .cms-acts .ct-pill { width: 38px; padding: 0; font-size: 0; gap: 0; }
  .cms-acts .ct-pill .mi { font-size: 18px; }
}
/* /fa-cms/ tabs + categories / cities / amenities / tags */
.cms-tabs { display: flex; gap: 6px; padding: 5px; margin-bottom: 22px; border: 1px solid var(--tint-line); border-radius: var(--r-pill); background: var(--tint); overflow-x: auto; scrollbar-width: none; }
.cms-tabs::-webkit-scrollbar { display: none; }
.cms-tabs button { flex: 1 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 42px; padding: 0 16px; border: 0; border-radius: var(--r-pill); background: none; color: var(--plum); font-weight: 700; font-size: 15px; cursor: pointer; white-space: nowrap; }
.cms-tabs button .mi { font-size: 18px; color: var(--orange); }
.cms-tabs button:hover { background: var(--tint-2); }
.cms-tabs button.on { background: var(--grad); color: #fff; box-shadow: var(--sh-accent); }
.cms-tabs button.on .mi { color: #fff; }
.cms-n .mi { font-size: 16px; color: var(--grey-2); margin-left: 2px; }
.tx-list { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: var(--r-m); background: #fff; overflow: hidden; }
.tx-row { display: grid; grid-template-columns: 22px auto 44px minmax(0, 1fr) auto auto; gap: 12px; align-items: center; padding: 10px 14px; border-top: 1px solid var(--line); background: #fff; transition: background .15s, box-shadow .15s; }
.tx-row:first-child { border-top: 0; }
.tx-row:hover { background: var(--tint); }
.tx-row.dragging { opacity: .9; background: var(--tint-2); box-shadow: var(--sh-2); position: relative; z-index: 2; }
.tx-handle { color: var(--grey-2); cursor: grab; touch-action: none; display: grid; place-items: center; }
.tx-handle .mi { font-size: 22px; }
.no-drag .tx-handle { visibility: hidden; }
.tx-move { display: grid; gap: 2px; }
.tx-move button { display: grid; place-items: center; width: 28px; height: 20px; padding: 0; border: 1px solid var(--line); border-radius: var(--r-xs); background: #fff; color: var(--plum); cursor: pointer; }
.tx-move button .mi { font-size: 18px; }
.tx-move button:hover:not(:disabled) { border-color: var(--yellow); color: var(--orange); }
.tx-move button:disabled { opacity: .3; cursor: default; }
.tx-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--tint-2); color: var(--orange); overflow: hidden; }
.tx-ic .mi { font-size: 22px; }
.tx-ic img { width: 44px; height: 44px; object-fit: cover; }
.tx-main { display: grid; gap: 1px; min-width: 0; }
.tx-main b { font-size: 16px; color: var(--ink); }
.tx-main small { color: var(--grey); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tx-main small:empty { display: none; }
.tx-main .tx-slug { color: var(--grey-2); font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12px; }
.tx-n { padding: 4px 11px; border-radius: var(--r-pill); background: var(--tint-2); color: var(--brand-dark); font-size: 13px; font-weight: 700; white-space: nowrap; text-decoration: none; }
.tx-n.zero { background: var(--wash); color: var(--grey-2); }
a.tx-n:hover { background: var(--grad); color: #fff; }
.cms-ic.danger { color: var(--red); background: #fff; cursor: pointer; }
.cms-ic.danger:hover { border-color: var(--red); color: #fff; background: var(--red); }
.tx-form .tx-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 14px; }
.tx-form .tx-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tx-form .ff { margin-bottom: 12px; }
.tx-form .ff label { display: flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.tx-form .ff label img { width: 18px; height: 12px; border-radius: 2px; }
.tx-form input:not([type=checkbox]):not([type=file]), .tx-form textarea { width: 100%; border: 1px solid var(--line); border-radius: var(--r-s); padding: 10px 12px; font: inherit; font-size: 15px; background: #fff; }
.tx-form textarea { resize: vertical; }
.tx-form .ff.invalid input, .modal .ff.invalid select { border-color: var(--red); box-shadow: var(--ring-err); }
.tx-form .hint { margin: -4px 0 14px; color: var(--grey); font-size: 13px; }
.tx-icon-row { display: flex; gap: 10px; align-items: center; }
.tx-icon-prev { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--grad); color: #fff; }
.tx-icon-prev .mi { font-size: 24px; }
.tx-picks { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 8px; max-height: 132px; overflow: auto; padding: 2px; }
.tx-picks button { display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--plum); cursor: pointer; }
.tx-picks button .mi { font-size: 20px; }
.tx-picks button:hover { border-color: var(--yellow); color: var(--orange); }
.tx-picks button.on { background: var(--grad); border-color: transparent; color: #fff; }
.tx-img-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.tx-img-row img { width: 120px; height: 72px; object-fit: cover; border-radius: var(--r-s); }
.tx-rm { display: inline-flex !important; gap: 6px; font-weight: 600 !important; }
.tx-seo-box { margin: 6px 0 16px; border: 1px solid var(--line); border-radius: var(--r-m); padding: 4px 14px; }
.tx-seo-box summary { display: flex; align-items: center; gap: 8px; padding: 10px 0; font-weight: 700; cursor: pointer; }
.tx-seo-box summary .mi { color: var(--orange); }
.tx-seo b { display: flex; align-items: center; gap: 6px; margin: 8px 0 6px; font-size: 14px; }
.tx-seo b img { width: 18px; height: 12px; border-radius: 2px; }
.modal .form-actions { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.modal select#tx-move { width: 100%; height: 46px; border: 1px solid var(--line); border-radius: var(--r-s); padding: 0 12px; font-size: 15px; background: #fff; }
.modal .ff label { font-weight: 600; font-size: 14px; display: block; margin-bottom: 6px; }
@media (max-width: 760px) {
  .tx-row { grid-template-columns: 22px 44px minmax(0, 1fr) auto; gap: 10px; padding: 10px; }
  .tx-move { display: none; }
  .tx-n { grid-column: 3; justify-self: start; }
  .tx-row .cms-acts { grid-column: 4; grid-row: 1 / span 2; flex-direction: column; }
  .tx-row .cms-acts .ct-pill { width: 38px; height: 38px; padding: 0; font-size: 0; gap: 0; }
  .tx-row .cms-acts .ct-pill .mi { font-size: 18px; }
  .tx-form .tx-grid, .tx-form .tx-grid.two { grid-template-columns: 1fr; }
  .cms-tabs button { flex: 0 0 auto; padding: 0 14px; }
}
.tx-form .ff > label { flex-direction: row; flex-wrap: nowrap; } .tx-form .ff > label img { display: inline-block; flex: none; }
/* add / edit form: "Find on map" */
.addr-row { display: flex; gap: 10px; align-items: stretch; }
.addr-row .with-icon { flex: 1; min-width: 0; }
.geo-btn { flex: none; border-radius: var(--r-pill); padding: 0 20px; font-size: 15px; min-height: 46px; }
.geo-btn.busy .mi { animation: geo-spin 1s linear infinite; }
.geo-btn:disabled { filter: saturate(.6); cursor: progress; }
@keyframes geo-spin { to { transform: rotate(360deg); } }
.geo-res:empty { display: none; }
.geo-res { margin-top: 10px; }
.geo-msg { margin: 0; padding: 10px 14px; border-radius: var(--r-s); background: var(--wash); font-size: 14px; color: var(--ink); }
.geo-msg.ok { background: #e9f8ee; color: #1d6b38; }
.geo-msg.warn { background: var(--tint-2); color: #8a5200; }
.geo-list { display: grid; gap: 6px; margin-top: 8px; }
.geo-list button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--r-s); background: #fff; color: var(--ink); font-size: 14px; text-align: left; cursor: pointer; transition: border-color .2s, background .2s; }
.geo-list button .mi { color: var(--orange); font-size: 20px; flex: none; }
.geo-list button:hover, .geo-list button:focus-visible { border-color: var(--yellow); background: var(--tint); }
.pr-pin.leaflet-marker-draggable { cursor: grab; }
@media (max-width: 560px) { .addr-row { flex-direction: column; } .geo-btn { width: 100%; } }
/* /fa-cms/ Excel import */
.im-sel { width: 100%; height: 46px; border: 1px solid var(--line); border-radius: var(--r-s); padding: 0 12px; font-size: 15px; background: #fff; }
.tx-form input[type=file] { width: 100%; padding: 10px; border: 1px dashed var(--line); border-radius: var(--r-s); background: var(--tint); font-size: 14px; }
.im-warn { margin: 0 0 14px; padding: 12px 14px; border-radius: var(--r-s); background: var(--err-bg); color: var(--err); font-size: 14px; }
.im-warn p { display: flex; gap: 8px; align-items: center; margin: 0 0 8px; font-weight: 600; }
.im-warn.shake { animation: im-shake .4s; }
@keyframes im-shake { 25% { transform: translateX(-6px); } 50% { transform: translateX(6px); } 75% { transform: translateX(-3px); } }
.im-done details { margin-top: 10px; border: 1px solid var(--line); border-radius: var(--r-s); padding: 6px 12px; font-size: 14px; }
.im-done summary { cursor: pointer; font-weight: 700; padding: 4px 0; }
.im-done ul { margin: 6px 0 4px 18px; max-height: 220px; overflow: auto; }
.tx-form .hint .mi { font-size: 16px; vertical-align: -3px; color: var(--orange); }
/* /fa-cms/ show / hide categories, cities, amenities, tags */
.tx-eye { cursor: pointer; background: #fff; color: var(--ok); }
.tx-eye:hover { border-color: var(--ok); background: var(--ok-bg); }
.tx-eye.off { color: var(--grey-2); background: var(--wash); }
.tx-eye.off:hover { color: var(--ok); border-color: var(--ok); background: var(--ok-bg); }
.tx-eye:disabled { opacity: .5; cursor: progress; }
.tx-row.is-hidden { background: #faf8fb; }
.tx-row.is-hidden .tx-ic, .tx-row.is-hidden .tx-n { opacity: .55; }
.tx-row.is-hidden .tx-main b { color: var(--grey); }
.tx-hid { display: inline-flex; align-items: center; gap: 3px; margin-left: 6px; padding: 1px 8px 1px 5px; border-radius: var(--r-pill); background: #2d2238; color: #fff; font-size: 12px; font-style: normal; font-weight: 700; vertical-align: 2px; opacity: 1; }
.tx-hid .mi { font-size: 13px; }
@media (max-width: 760px) { .tx-row .cms-acts { flex-wrap: wrap; justify-content: flex-end; max-width: 84px; } }
/* Info / About — same style as the contact page */
.ab-main p { color: #4a3d4b; font-size: 16px; line-height: 1.7; margin: 0 0 14px; }
.ab-main .ab-h2 { margin-top: 26px; }
.ab-photo { margin: 6px 0 20px; border-radius: var(--r-m); overflow: hidden; aspect-ratio: 16 / 9; background: var(--tint-2); }
.ab-photo img { width: 100%; height: 100%; object-fit: cover; }
.ab-stats { margin: 22px 0 24px; }
.ab-cta { border-radius: var(--r-pill); }
.ab-value { flex-direction: row; align-items: flex-start; gap: 14px; }
.ab-value img { flex: none; width: 56px; height: 56px; border-radius: var(--r-m); object-fit: cover; }
.ab-value h3 { margin-top: 2px; }

/* ===== v1.0 update: home hero — footer gradient turned 180° fills the area below the picture ===== */
:root { --grad-hero: linear-gradient(calc(var(--grad-angle) + 180deg), var(--orange) 0%, var(--yellow) 75%, var(--yellow-2) 100%); }
.hero { background-color: var(--hero-bg); background-image: var(--hero-img), var(--grad-hero); background-repeat: no-repeat, no-repeat; background-position: center, 0 0; background-size: cover, 100% 100%; }
@media (max-width: 720px) {
  /* phones: the gradient fills the whole hero; the 16:9 picture sits on top of it and fades out over its last ~20%,
     so it melts into the gradient instead of ending in a hard line */
  .hero { background-image: var(--grad-hero); background-size: 100% 100%; background-position: 0 0; }
  .hero::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 56.25vw; pointer-events: none;
    background: var(--hero-img) center top / 100% auto no-repeat;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 78%, transparent 100%); mask-image: linear-gradient(180deg, #000 0%, #000 78%, transparent 100%); }
}

/* ===== v1.0 update: infinite scroll on listing pages (pager stays below as the fallback) ===== */
.p-more { display: grid; place-items: center; height: 72px; margin-top: 18px; }
.p-more .spin { width: 28px; height: 28px; border-radius: 50%; border: 3px solid rgba(var(--orange-rgb), .25); border-top-color: var(--orange, var(--orange)); animation: geo-spin .8s linear infinite; }
#p-pager .pager { margin-top: 24px; }

/* ===== v1.0 update: /fa-cms/ listings — publish (eye) + delete buttons; on narrow screens the four actions sit in a 2 × 2 block ===== */
@media (max-width: 860px) {
  .cms-row .cms-acts { display: grid; grid-template-columns: repeat(3, 38px); gap: 6px; align-content: center; }
  .cms-row .cms-acts .ct-pill { grid-column: 1 / -1; justify-content: center; }
}
@media (max-width: 560px) { .cms-row .cms-acts { grid-template-columns: repeat(2, 38px); } .cms-row .cms-acts .ct-pill { grid-column: auto; } }

/* ===== v1.0 update: iOS — header stays on top while the filters / map drawer is open ===== */
@media (max-width: 1240px) {
  html.drawer-open .site-header { position: fixed; top: env(safe-area-inset-top, 0px); left: 0; right: 0; }
  html.drawer-open body { padding-top: var(--hdr-h, 72px); }   /* keeps the page where it was behind the dimmed layer */
}

/* ===== v1.0 update: mobile menu — no lines between the items ===== */
@media (max-width: 1180px) { .nav a, .nav button.nav-link { border-bottom: 0; } }

/* ===== v1.0 update: listing photo gallery — same orange gradient as the home hero behind the photos ===== */
.gallery { background: var(--grad-hero); }

/* ===== v1.0 update: home hero on phones — categories first, then the search ===== */
@media (max-width: 720px) {
  .hero .inner { display: flex; flex-direction: column; }
  .hero .inner .cat-row { order: 3; margin-top: 26px; }
  .hero .inner .search { order: 4; margin-top: 28px; width: 100%; }
}

/* ===== v1.0 update: mobile menu — languages side by side, 30px apart ===== */
@media (max-width: 1180px) {
  .nav .langs { display: flex; justify-content: center; align-items: center; gap: 30px; width: 100%; max-width: 360px; }
  .nav .langs .lang { width: auto; max-width: none; padding: 13px 0; }
}

/* ===== v1.0 update: /fa-cms/ → Settings ===== */
.set-form { display: grid; gap: 22px; padding-bottom: 10px; }
.set-card { padding: 28px clamp(16px, 3vw, 34px); }
.set-card + .set-card { margin-top: 0; }
.set-card h3 { display: flex; align-items: center; gap: 10px; font-size: 22px; margin-bottom: 4px; }
.set-card h3 .mi { display: grid; place-items: center; width: 38px; height: 38px; border-radius: var(--r-s); background: linear-gradient(135deg, var(--tint-2), var(--tint-3)); color: var(--orange); font-size: 22px; }
.set-card > .sub { margin: 0 0 20px; color: var(--grey); font-size: 14px; }
.set-grid { display: grid; gap: 18px; }
.set-grid + .set-grid { margin-top: 22px; }
.set-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.set-grid.imgs { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.st-h4 { margin: 24px 0 12px; font-size: 15px; text-transform: uppercase; letter-spacing: .04em; color: var(--grey); }
.st-help, .st-count { color: var(--grey-2); font-size: 13px; line-height: 1.4; }
.st-count.over { color: var(--red); }
.set-card .lang-tabs { margin-bottom: 4px; }
.st-imgrow { display: flex; align-items: center; gap: 14px; }
.st-prev { flex: 0 0 auto; display: grid; place-items: center; width: 120px; height: 68px; border: 1px solid var(--line); border-radius: var(--r-s); overflow: hidden;
  background: repeating-conic-gradient(#f3f3f3 0 25%, #fff 0 50%) 0 0 / 14px 14px; }
.st-prev.sq { width: 68px; }
.st-prev img { max-width: 100%; max-height: 100%; object-fit: contain; }
.st-imgbtns { display: grid; gap: 8px; justify-items: start; }
.st-file { cursor: pointer; height: 36px; }
.st-rm { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--grey); cursor: pointer; }
.st-tools { display: flex; flex-wrap: wrap; gap: 10px; }
.set-card .ff.invalid input, .set-card .ff.invalid select { border-color: var(--red); }
@media (max-width: 720px) {
  .set-grid.two { grid-template-columns: minmax(0, 1fr); }
}
/* any uploaded logo shape fits the header: at most 200 × 45 (phones 160 × 36), aspect kept */
.brand img { width: auto; height: auto; max-width: 200px; max-height: 45px; object-fit: contain; }
@media (max-width: 1180px) { .brand img { max-width: 160px; max-height: 36px; } }
.set-grid .ff { align-content: start; }

/* ===== v1.0 update: Settings — jump menu, theme editor, home sections, advanced ===== */
.st-nav { position: sticky; top: calc(var(--hdr-h, 100px) + 8px); z-index: 6; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 0 20px; padding: 6px;
  border: 1px solid var(--tint-line); border-radius: var(--r-pill); background: rgba(var(--tint-rgb), .94); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.st-nav::-webkit-scrollbar { display: none; }
.st-nav a { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: var(--r-pill); font-size: 14px; font-weight: 600; color: var(--plum); white-space: nowrap; }
.st-nav a:hover { background: var(--tint-2); }
.st-nav a .mi { color: var(--orange); font-size: 18px; }
.set-card { scroll-margin-top: calc(var(--hdr-h, 100px) + 80px); }
@media (max-width: 1240px) { .st-nav { top: 80px; } }
.set-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.st-presets { display: flex; flex-wrap: wrap; gap: 10px; }
.st-preset { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px 0 6px; border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--paper); font-weight: 600; font-size: 14px; color: var(--ink); cursor: pointer; }
.st-preset span { width: 28px; height: 28px; border-radius: 50%; }
.st-preset i { width: 10px; height: 10px; border-radius: 50%; margin-left: -14px; margin-top: 18px; border: 2px solid #fff; }
.st-preset:hover { border-color: var(--yellow); }
.st-colrow { display: flex; align-items: center; gap: 8px; }
.st-colrow input[type="color"] { flex: 0 0 auto; width: 46px; height: 46px; padding: 3px; border: 1px solid var(--line); border-radius: var(--r-s); background: var(--paper); cursor: pointer; }
.st-colrow input:not([type]) { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; text-transform: lowercase; }
.st-seg { display: inline-flex; padding: 4px; gap: 4px; border: 1px solid var(--line); border-radius: var(--r-pill); width: max-content; }
.st-seg label { cursor: pointer; } .st-seg input { position: absolute; opacity: 0; pointer-events: none; }
.st-seg span { display: inline-flex; align-items: center; height: 36px; padding: 0 16px; border-radius: var(--r-pill); font-weight: 600; font-size: 14px; color: var(--grey); }
.st-seg input:checked + span { background: var(--grad); color: #fff; }
.st-seg input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 2px; }
.st-angle { display: flex; align-items: center; gap: 10px; } .st-angle input[type="range"] { flex: 1; accent-color: var(--orange); } .st-angle input:not([type]) { width: 74px; text-align: center; }
.st-gradbar { display: block; height: 46px; border-radius: var(--r-s); background: var(--grad); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06); }
.st-demo { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.st-demo .btn { height: 42px; padding: 0 18px; pointer-events: none; } .st-demo .ct-pill { height: 42px; pointer-events: none; }
.st-chip { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: var(--r-pill); background: var(--tint-2); color: var(--brand-dark); font-weight: 700; font-size: 13px; }
.st-live { display: flex; align-items: center; gap: 6px; margin-top: 18px; }
.st-sws { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.st-sw { font-weight: 600; }
.st-code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; line-height: 1.5; }
@media (max-width: 960px) { .set-grid.three { grid-template-columns: minmax(0, 1fr); } }

/* ===== v1.0 update: floating action bar — back · show/hide · recommend · save (Settings, listing editor, category / city editor) ===== */
.act-bar { position: sticky; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 7; display: flex; align-items: center; gap: 10px; margin-top: 22px; padding: 10px 12px;
  border-radius: var(--r-m); background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: var(--sh-2); }
.act-sp { flex: 1; }
.act-back { display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 16px 0 12px; border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--paper); font-weight: 600; color: var(--plum); cursor: pointer; }
.act-back:hover { border-color: var(--yellow); color: var(--orange); }
.act-tg { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: var(--wash); color: var(--grey-2); cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .15s; }
.act-tg .mi { font-size: 22px; }
.act-tg:active { transform: scale(.92); }
.act-tg.eye.on { background: var(--ok-bg); border-color: rgba(29, 122, 61, .3); color: var(--ok); }
.act-tg.star.on { background: var(--tint-2); border-color: var(--tint-line); color: var(--orange); }
.act-tg:hover { border-color: var(--yellow); }
.act-save { height: 44px; min-width: 140px; }
.modal.has-act { padding-bottom: 0; }
.modal.has-act .act-bar { bottom: 0; margin: 6px -30px 0; border-radius: 0 0 var(--r-l) var(--r-l); box-shadow: 0 -6px 18px rgba(var(--plum-deep-rgb), .08); }
.edit-state { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.edit-state em { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px 3px 7px; border-radius: var(--r-pill); font-style: normal; font-size: 13px; font-weight: 700; }
.edit-state em .mi { font-size: 15px; }
.edit-state .st-pub { background: var(--ok-bg); color: var(--ok); } .edit-state .st-hid { background: #2d2238; color: #fff; } .edit-state .st-feat { background: var(--tint-2); color: var(--brand-dark); }
@media (max-width: 560px) {
  .act-bar { gap: 8px; padding: 8px; }
  .act-back { width: 44px; padding: 0; justify-content: center; } .act-back span:not(.mi) { display: none; } .act-back .mi { font-size: 24px; }
  .act-save { min-width: 0; flex: 1 1 auto; padding: 0 14px; }
  .modal.has-act .act-bar { margin: 6px -20px 0; }
  body.has-dock .act-bar { bottom: calc(92px + env(safe-area-inset-bottom, 0px)); }
}

/* ===== v1.0 update: rich text editor (Jodit) in the listing editor — follows the theme ===== */
.jodit-container:not(.jodit_inline) { border: 1px solid var(--line) !important; border-radius: var(--r-s) !important; overflow: hidden; background: var(--paper); }
.jodit-container .jodit-toolbar__box:not(:empty) { background: var(--tint) !important; border-bottom: 1px solid var(--tint-line) !important; }
.jodit-container .jodit-toolbar-button_status_active, .jodit-container .jodit-toolbar-button__button[aria-pressed="true"] { background: var(--tint-2) !important; }
.jodit-container .jodit-toolbar-button:hover:not([disabled]) .jodit-toolbar-button__button { background: var(--tint-2); }
.jodit-container .jodit-wysiwyg { font: 400 16px/1.65 var(--font); color: var(--ink); padding: 14px 18px !important; }
.jodit-container .jodit-wysiwyg h2 { font-size: 22px; margin: .8em 0 .4em; } .jodit-container .jodit-wysiwyg h3 { font-size: 18px; margin: .8em 0 .4em; } .jodit-container .jodit-wysiwyg h4 { font-size: 17px; margin: .8em 0 .4em; }
.jodit-container .jodit-wysiwyg p { margin: 0 0 .8em; } .jodit-container .jodit-wysiwyg a { color: var(--orange); text-decoration: underline; }
.jodit-container .jodit-source__mirror { font: 13px/1.55 ui-monospace, SFMono-Regular, Menlo, monospace !important; padding: 14px 18px !important; }
.jodit-container.jodit_fullsize { z-index: 120 !important; border-radius: 0 !important; }
.lang-pane .jodit-container { margin-top: 2px; }

/* ===== v1.0 update: listing page — address, phone and e-mail are links ===== */
.single .meta a.addr:hover, .facts .v a:hover { text-decoration: underline; text-underline-offset: 3px; }
.facts .v a[href^="tel:"], .facts .v a[href^="mailto:"], .facts .v a[data-ev="map"] { color: var(--plum); font-weight: 600; }
.st-events { margin-top: 22px; padding: 16px 18px; border-radius: var(--r-m); background: var(--tint); border: 1px solid var(--tint-line); }
.st-events b { display: flex; align-items: center; gap: 8px; } .st-events b .mi { color: var(--orange); }
.st-evh { margin: 14px 0 0; font-weight: 700; font-size: 14px; color: var(--ink); }
.st-evh:first-of-type { margin-top: 10px; }
.st-evlist { display: grid; grid-template-columns: max-content 1fr; gap: 6px 14px; margin-top: 10px; font-size: 14px; }
.st-evlist code { font: 600 13px ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--plum); }
.jodit-container .jodit-source__mirror, .jodit-container .jodit-source textarea { color: var(--ink) !important; background: #fcfcfd !important; opacity: 1 !important; }

/* ===== v1.0 update: phones/tablets — language as a globe icon next to the burger (burger stays at the edge) ===== */
.lang-pick { display: none; position: relative; }
@media (max-width: 1180px) {
  .lang-pick { display: block; margin-left: auto; }
  .lang-pick + .menu-toggle { margin-left: 0; }
  .site-header .bar { gap: 4px; }
  .site-header .bar .brand { margin-right: 8px; }
  .nav .langs { display: none; }
  .lang-toggle { width: 44px; height: 44px; display: grid; place-items: center; overflow: hidden; flex: none; padding: 0; border: 0; background: none; color: var(--ink); border-radius: 50%; cursor: pointer; }
  .lang-toggle .mi { font-size: 26px; }
  .lang-toggle:active, .lang-pick.open .lang-toggle { background: var(--wash); }
  .lang-menu { display: none; position: absolute; top: calc(100% + 8px); right: -48px; z-index: 60; min-width: 236px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-m); box-shadow: var(--sh-2); padding: 6px; }
  .lang-pick.open .lang-menu { display: grid; }
  .lang-menu a { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: var(--r-s); font-size: 15px; font-weight: 600; color: var(--ink); text-decoration: none; }
  .lang-menu a:hover, .lang-menu a:focus-visible { background: var(--wash); }
  .lang-menu a img { width: 22px; height: 15px; object-fit: cover; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); flex: none; }
  .lang-menu a span:not(.mi) { flex: 1; white-space: nowrap; }
  .lang-menu a.on { color: var(--orange); }
  .lang-menu a .mi { font-size: 20px; color: var(--orange); }
}

/* ===== v1.0 update: "Are you sure?" when closing a pop-up form with unsaved input ===== */
.leave-ask { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 16px; background: transparent; box-shadow: inset 0 0 0 200vmax rgba(var(--plum-deep-rgb, 24, 2, 26), .45); animation: leaveFade .15s ease-out; }
.leave-box { width: 100%; max-width: 380px; background: var(--paper, #fff); border-radius: var(--r-l); padding: 26px 24px 22px; text-align: center; box-shadow: var(--sh-3); animation: leavePop .18s ease-out; }
.leave-ic { width: 52px; height: 52px; margin: 0 auto 12px; border-radius: 50%; display: grid; place-items: center; background: var(--tint-2, #fff3c4); color: var(--orange); overflow: hidden; }
.leave-ic .mi { font-size: 30px; }
.leave-box h3 { font-size: 20px; margin: 0 0 8px; color: var(--ink); }
.leave-box p { margin: 0 0 20px; color: var(--grey, #666); font-size: 15px; line-height: 1.5; }
.leave-btns { display: flex; gap: 10px; }
.leave-btns .btn { flex: 1; border-radius: var(--r-pill); padding: 10px 14px; font-size: 15px; white-space: normal; line-height: 1.3; }
@media (max-width: 420px) { .leave-btns { flex-direction: column-reverse; } }
@keyframes leaveFade { from { opacity: 0; } }
@keyframes leavePop { from { opacity: 0; transform: scale(.95); } }

/* ===== v1.0 update: contact form bot trap — invisible to people and screen readers, bots fill it ===== */
.hp-trap { position: absolute !important; left: -10000px !important; top: auto !important; width: 1px !important; height: 1px !important; overflow: hidden !important; opacity: 0 !important; pointer-events: none !important; }

/* ===== v1.0 update: contact + about heading band — header.jpg background, lower, title on one line ===== */
.ct-hero { background: var(--orange) url('../img/site/header.jpg') center / cover no-repeat; padding: clamp(26px, 3.6vw, 48px) 0 clamp(78px, 8.5vw, 104px); }
.ct-hero::after { display: none; }
.ct-hero h1 { max-width: none; white-space: nowrap; margin: 12px 0 8px; font-size: clamp(24px, 4.4vw, 54px); }
.ct-hero .ct-lead { margin: 0; }

/* ===== v1.0 update: EU cookie bar — clear text, two EQUAL buttons (same size, same colour) ===== */
.cookie.cookie-ga { max-width: 820px; align-items: center; gap: 18px; }
.cookie-ga .cookie-txt { flex: 1; min-width: 0; }
.cookie-ga .cookie-txt > b { display: flex; align-items: center; gap: 8px; font-size: 16px; color: var(--ink); margin-bottom: 4px; }
.cookie-ga .cookie-txt > b .mi { color: var(--orange); font-size: 22px; }
.cookie-ga p { margin: 0; font-size: 14px; line-height: 1.5; }
.cookie-cur { display: inline-block; margin-top: 6px; color: var(--grey, #666); }
.cookie-ga .cookie-btns { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-btn { min-width: 128px; height: 44px; padding: 0 20px; border-radius: var(--r-pill); background: var(--plum); color: #fff; border: 1px solid var(--plum); font-size: 15px; font-weight: 700; justify-content: center; cursor: pointer; }
.cookie-btn:hover { filter: brightness(1.15); }
.cookie-btn.cookie-yes { background: var(--grad); border-color: var(--orange); color: #fff; text-shadow: 0 1px 1px rgba(0, 0, 0, .15); }
.cookie-btn.cookie-yes:hover { filter: brightness(1.05) saturate(1.1); }
.cookie-btn:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
@media (max-width: 640px) {
  .cookie.cookie-ga { gap: 12px; }
  .cookie-ga .cookie-btns { width: 100%; }
  .cookie-ga .cookie-btn { flex: 1; min-width: 0; }
}

/* ===== v1.5: /fa-cms/ → Klienti ===== */
.cl-stats { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 760px) { .cl-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 460px) { .cl-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.cl-auto { display: flex; align-items: center; gap: 8px; margin: -4px 0 16px; font-size: 14px; font-weight: 600; color: var(--ok); }
.cl-auto.off { color: var(--grey); }
.cl-auto .mi { font-size: 20px; }
.cms-tags .cl-st { background: var(--wash, #f3eff4); color: var(--ink); }
.cms-tags .cl-st-new, .cl-head .cl-st-new { background: var(--info-bg); color: var(--info); }
.cms-tags .cl-st-approached { background: var(--warn-bg); color: var(--warn); }
.cms-tags .cl-st-paying { background: var(--ok-bg); color: var(--ok); }
.cms-tags .cl-st-canceled { background: #f4f4f5; color: #71717a; }
.cms-tags .cl-next { background: var(--tint-2, #fff3c4); color: var(--plum); }
.cl-row .cms-main small .mi { font-size: 15px; vertical-align: -3px; margin-right: 2px; }
.cl-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 2px; }
.cl-head h2 { margin: 0; font-size: clamp(22px, 2.6vw, 30px); color: var(--plum); }
.cl-seg { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 10px; }
.cl-seg label { cursor: pointer; }
.cl-seg input { position: absolute; opacity: 0; pointer-events: none; }
.cl-seg span { display: inline-flex; align-items: center; height: 40px; padding: 0 18px; border-radius: var(--r-pill); border: 1px solid var(--line); font-weight: 700; font-size: 15px; background: #fff; transition: background .15s, border-color .15s; }
.cl-seg input:focus-visible + span { outline: 3px solid var(--yellow); outline-offset: 2px; }
.cl-seg .cl-seg-new input:checked + span { background: var(--info-bg); border-color: var(--info); color: var(--info); }
.cl-seg .cl-seg-approached input:checked + span { background: var(--warn-bg); border-color: var(--warn); color: var(--warn); }
.cl-seg .cl-seg-paying input:checked + span { background: var(--ok-bg); border-color: var(--ok); color: var(--ok); }
.cl-seg .cl-seg-canceled input:checked + span { background: #f4f4f5; border-color: #71717a; color: #52525b; }
.cl-venues { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.cl-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 6px 5px 12px; border-radius: var(--r-pill); background: var(--tint-2, #fff3c4); font-weight: 600; font-size: 14px; }
.cl-chip > .mi { font-size: 17px; color: var(--orange); }
.cl-chip a { color: var(--plum); }
.cl-chip small { color: var(--grey); font-weight: 600; }
.cl-chip button { width: 26px; height: 26px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .06); display: grid; place-items: center; cursor: pointer; overflow: hidden; padding: 0; }
.cl-chip button .mi { font-size: 16px; }
.cl-chip button:hover { background: rgba(0, 0, 0, .14); }
.cl-vadd { position: relative; max-width: 520px; }
.cl-vadd .cms-q { width: 100%; }
.cl-vsug { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 20; background: #fff; border: 1px solid var(--line); border-radius: var(--r-m); box-shadow: var(--sh-2); padding: 6px; display: grid; }
.cl-vsug button { display: flex; gap: 8px; align-items: flex-start; text-align: left; border: 0; background: none; padding: 9px 10px; border-radius: var(--r-s); font-size: 15px; font-weight: 600; color: var(--ink); cursor: pointer; }
.cl-vsug button:hover, .cl-vsug button:focus-visible { background: var(--wash, #f3eff4); }
.cl-vsug button .mi { color: var(--orange); font-size: 20px; }
.cl-vsug small { display: block; font-weight: 600; color: var(--warn); font-size: 13px; }
.cl-calc, .cl-nextinfo { display: flex; gap: 8px; align-items: flex-start; margin: 16px 0 0; font-size: 15px; }
.cl-nextinfo { margin-top: 8px; color: var(--grey); }
.cl-calc .mi, .cl-nextinfo .mi { font-size: 20px; color: var(--orange); flex: none; }
.cl-inv-acts { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 16px; }
.ct-pill.ct-pill-main.busy, .ct-pill.busy { opacity: .6; pointer-events: none; }
.cl-hist { border: 1px solid var(--line); border-radius: var(--r-m); overflow: hidden; }
.cl-hrow { display: grid; grid-template-columns: minmax(150px, 1.3fr) 100px minmax(170px, 1.3fr) 90px minmax(150px, 1fr) 126px;   /* v2.15 last column fits 3 round buttons (3 × 38 + 2 × 6) */
  gap: 12px; align-items: center; padding: 10px 14px; border-top: 1px solid var(--line); font-size: 14px; }
.cl-hrow:first-child { border-top: 0; }
.cl-hhead { background: var(--tint, #fffaf0); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--grey); }
.cl-hrow small { display: block; color: var(--grey); font-size: 12px; }
.cl-hst { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.cl-hst .st-warn { display: inline-flex; align-items: center; gap: 4px; color: var(--err); font-style: normal; font-weight: 700; font-size: 13px; }
.cl-hst .st-warn .mi { font-size: 16px; }
.cl-ist { height: 36px; border-radius: var(--r-pill); border: 1px solid var(--line); padding: 0 12px; font-weight: 700; font-size: 14px; background: #fff; max-width: 100%; }
.cl-ist-sent { border-color: var(--info); color: var(--info); }
.cl-ist-reminded { border-color: var(--warn); color: var(--warn); }
.cl-ist-paid { border-color: var(--ok); color: var(--ok); background: var(--ok-bg); }
.cl-ist-canceled { border-color: #a1a1aa; color: #71717a; text-decoration: line-through; }
.cl-hpdf { display: flex; gap: 6px; justify-content: flex-end; }
.cl-hpdf .cms-ic { flex: 0 0 38px; width: 38px; height: 38px; }   /* v2.15 always full circles */
.cl-nopdf { color: var(--muted, #8a7f8c); cursor: help; }   /* v2.14 imported invoice: no PDF */
@media (max-width: 860px) {
  .cl-hhead { display: none; }
  .cl-hrow { grid-template-columns: 1fr auto; row-gap: 4px; }
  .cl-hrow > span[data-l]::before { content: attr(data-l) ": "; color: var(--grey); font-size: 13px; }
  .cl-hrow > span:first-child { grid-column: 1 / -1; }
  .cl-hst, .cl-hpdf { grid-column: auto; }
}
.cl-del { margin: 18px 0 0; }
.cl-delbtn { color: var(--err); border-color: rgba(180, 35, 24, .3); }
.cl-err { display: block; color: var(--err); font-weight: 600; font-size: 13px; margin-top: 4px; }
.ff.bad input, .ff.bad select { border-color: var(--err); }
.cl-form textarea { width: 100%; }
.cl-setf h4 { margin: 22px 0 10px; font-size: 16px; color: var(--plum); }
.cl-cron { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 6px; }
.cl-cron code { flex: 1; min-width: 0; overflow-wrap: anywhere; font-size: 13px; background: var(--wash, #f3eff4); padding: 10px 12px; border-radius: var(--r-xs); }
.cl-run { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; justify-content: space-between; margin: 16px 0 6px; }
.cl-last { display: flex; gap: 6px; align-items: flex-start; margin: 0; font-size: 14px; color: var(--grey); flex: 1; min-width: 220px; }
.cl-last .mi { font-size: 18px; }
.modal .leave-inline { box-shadow: none; padding: 6px 0 0; max-width: none; animation: none; }
@media (max-width: 640px) { .cl-seg span { height: 38px; padding: 0 14px; font-size: 14px; } }
.cl-nextinfo.warn { color: var(--err); } .cl-nextinfo.warn .mi { color: var(--err); }
.cl-issf { display: grid; gap: 16px; margin-top: 12px; }
.cl-issf select, .cl-issf input[type=date] { width: 100%; }
.cl-isum { display: flex; gap: 8px; align-items: flex-start; margin: 0; padding: 12px 14px; border-radius: var(--r-s); background: var(--tint-2, #fff3c4); font-size: 15px; }
.cl-isum .mi { color: var(--orange); font-size: 20px; flex: none; }
.cl-issf .form-actions { margin-top: 4px; }
.cl-mhint { display: block; margin-top: 4px; color: var(--warn); font-size: 14px; }
.ff label.sw, .modal label.sw { display: inline-flex; align-items: center; } .sw span { display: inline-block; }
.set-grid .ff.full { grid-column: 1 / -1; }
.cms-tail .cms-pager:not([hidden]) { margin-top: 18px; }

/* ===== v1.5: clients dashboard ===== */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.cl-dash { margin-bottom: 22px; }
.cl-kpis { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-bottom: 14px; }
.cl-kpi { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: center; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r-m); background: #fff; min-width: 0; }
.cl-kpi-ic { grid-row: span 3; width: 40px; height: 40px; border-radius: var(--r-s); display: grid; place-items: center; background: var(--tint-2, #fff3c4); color: var(--orange); overflow: hidden; }
.cl-kpi-ic .mi { font-size: 22px; }
.cl-kpi-l { font-size: 13px; font-weight: 700; color: var(--grey); text-transform: uppercase; letter-spacing: .03em; }
.cl-kpi b { font-size: clamp(18px, 2vw, 24px); color: var(--ink); line-height: 1.2; overflow-wrap: anywhere; }
.cl-kpi small { color: var(--grey); font-size: 13px; }
.cl-kpi.warn .cl-kpi-ic { background: var(--warn-bg); color: var(--warn); }
.cl-chart-card { border: 1px solid var(--line); border-radius: var(--r-m); background: #fff; padding: 16px 18px 10px; }
.cl-chart-head { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: baseline; justify-content: space-between; margin-bottom: 6px; }
.cl-chart-head h3 { margin: 0; font-size: 16px; color: var(--ink); }
.cl-legend { display: flex; gap: 16px; font-size: 13px; color: var(--grey); font-weight: 600; }
.cl-legend span, .cl-tip span { display: inline-flex; align-items: center; gap: 6px; }
.lg-paid, .lg-proj { display: inline-block; width: 20px; height: 0; border-top: 2px solid var(--orange); }
.lg-proj { border-top-style: dashed; border-top-color: var(--plum); }
.cl-chart { position: relative; }
.cl-chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.cl-chart .gl { stroke: #eee8ef; stroke-width: 1; }
.cl-chart .base { stroke: #cfc6d1; stroke-width: 1; }
.cl-chart .yl { font-size: 11px; fill: var(--grey); text-anchor: end; }
.cl-chart .xl { font-size: 11px; fill: var(--grey); text-anchor: middle; }
.cl-chart .xl.now { fill: var(--ink); font-weight: 700; }
.cl-chart .nowl { stroke: #cfc6d1; stroke-width: 1; stroke-dasharray: 2 3; }
.cl-chart .ln { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.cl-chart .ln.paid { stroke: var(--orange); }
.cl-chart .ln.proj { stroke: var(--plum); stroke-dasharray: 5 5; }
.cl-chart .dot { fill: var(--orange); stroke: #fff; stroke-width: 2; }
.cl-chart .hov { stroke: #b9afbb; stroke-width: 1; vector-effect: non-scaling-stroke; }
.cl-chart .hdot { fill: var(--orange); stroke: #fff; stroke-width: 2; }
.cl-chart .hdot.proj { fill: var(--plum); }
.cl-chart .hit { fill: transparent; cursor: crosshair; }
.cl-tip { /* rtl:ignore */ position: absolute; transform: translate(-50%, -100%); background: #fff; border: 1px solid var(--line); border-radius: var(--r-s); box-shadow: var(--sh-2); padding: 8px 10px; font-size: 13px; display: grid; gap: 3px; pointer-events: none; white-space: nowrap; z-index: 2; }
.cl-tip[hidden] { display: none; }
.cms-tags .cl-end { background: #f4f4f5; color: #52525b; }
@media (max-width: 980px) { .cl-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .cl-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cl-kpi { padding: 12px; } }

/* ===== v1.5: sign-in by e-mail, venue owners ===== */
.otp-f input[type=email] { width: 100%; }
.otp-err { margin: 4px 0 0; padding: 10px 12px; border-radius: var(--r-s); background: var(--err-bg); color: var(--err); font-size: 14px; font-weight: 600; line-height: 1.45; }
.otp-f.bad input[type=email] { border-color: var(--err); }
#otp-change { margin-left: 12px; }
.edit-owner { display: flex; gap: 8px; align-items: flex-start; margin: 12px 0 0; padding: 10px 12px; border-radius: var(--r-s); background: var(--tint-2, #fff3c4); font-size: 14px; line-height: 1.45; }
.edit-owner .mi { color: var(--orange); font-size: 20px; flex: none; }
.own-list { list-style: none; margin: 14px 0; padding: 0; display: grid; gap: 10px; text-align: left; }
.own-list li { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-m); }
.own-list small { display: inline-flex; align-items: center; gap: 4px; margin-left: 8px; color: var(--grey); font-size: 13px; }
.own-list small .mi { font-size: 15px; }
.own-acts { display: flex; gap: 8px; flex-wrap: wrap; }
.own-foot { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-top: 6px; }
.own-foot .link-btn { display: inline-flex; align-items: center; gap: 6px; }
.edit-login .notice { text-align: left; }
.otp-f input[type=email] { font-size: 17px; letter-spacing: normal; text-align: left; font-weight: 600; font-family: inherit; padding: 0 16px; }

/* ---------- v2.0: languages, currency, translations ---------- */
.lang-badge { display: inline-grid; place-items: center; min-width: 22px; height: 15px; padding: 0 3px; border-radius: 3px; background: var(--plum); color: #fff; font: 700 9.5px/1 var(--font); letter-spacing: .03em; }
.nav .lang .lang-badge { min-width: 20px; height: 13px; }
.st-langs { display: grid; gap: 8px; margin: 6px 0 18px; }
.st-lang { display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto auto auto auto; align-items: center; gap: 12px; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--r-s); background: #fff; }
.st-lang.off { background: var(--tint); }
.st-lang.off .st-lang-flag { opacity: .45; }
.st-lang-move { display: inline-flex; flex-direction: column; }
.st-lang-move button, .st-lang-rm { display: grid; place-items: center; width: 28px; height: 20px; border: 0; background: none; color: var(--plum); border-radius: var(--r-xs); }
.st-lang-rm { height: 34px; width: 34px; color: #b3261e; }
.st-lang-move button:hover:not(:disabled), .st-lang-rm:hover:not(:disabled) { background: var(--tint-2); }
.st-lang-move button:disabled, .st-lang-rm:disabled { opacity: .25; cursor: default; }
.st-lang-flag img { width: 24px; height: 16px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); display: block; }
.st-lang-name { display: grid; gap: 2px; min-width: 0; }
.st-lang-name input { width: 100%; border: 1px solid transparent; border-radius: var(--r-xs); padding: 4px 6px; font: 600 15px var(--font); background: none; color: var(--ink); }
.st-lang-name input:hover, .st-lang-name input:focus { border-color: var(--line); background: #fff; outline: 0; }
.st-lang-name small { padding: 0 7px; color: var(--grey-2); font-size: 12px; }
.st-chk { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--plum); white-space: nowrap; cursor: pointer; }
.st-chk input { width: 17px; height: 17px; accent-color: var(--orange); margin: 0; }
.st-chk input:disabled + * , .st-chk:has(input:disabled) { opacity: .45; cursor: default; }
.st-lang .st-sw { margin: 0; white-space: nowrap; }
.st-lang-add { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; margin-bottom: 14px; }
.st-lang-add .ff { flex: 1 1 220px; margin: 0; }
.st-lang-add .ff.st-lang-custom { flex: 0 1 160px; }
.st-lang-add .ct-pill { height: 46px; }
@media (max-width: 720px) {
  .st-lang { grid-template-columns: auto auto minmax(0, 1fr) auto; row-gap: 8px; }
  .st-lang .st-sw { grid-column: 3; }
  .st-lang .st-chk:not(.st-def) { grid-column: 4; }
  .st-lang .st-def { grid-column: 3; }
  .st-lang-rm { grid-column: 4; grid-row: 1; }
}
.i18n-top { margin-bottom: 18px; }
.i18n-bar { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px 18px; }
.i18n-bar .ff { margin: 0; flex: 0 1 240px; }
.i18n-bar .ff.i18n-q { flex: 1 1 260px; }
.i18n-bar .i18n-todo { margin: 0 0 12px; }
.i18n-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 16px 0 6px; }
.i18n-stat { display: inline-flex; align-items: center; gap: 6px; margin-right: auto; font-weight: 700; color: var(--plum); }
.i18n-stat .mi { color: var(--green); }
.i18n-list { display: grid; gap: 8px; }
.i18n-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 16px; align-items: start; padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--r-s); background: #fff; }
.i18n-row.todo { border-color: rgba(var(--orange-rgb), .45); background: rgba(var(--orange-rgb), .04); }
.i18n-row.dirty { border-color: var(--yellow); }
.i18n-ref { display: grid; gap: 4px; min-width: 0; font-size: 14px; color: var(--ink); overflow-wrap: anywhere; }
.i18n-ref code { font-size: 12px; color: var(--grey-2); }
.i18n-val { display: grid; gap: 4px; }
.i18n-val input, .i18n-val textarea { width: 100%; border: 1px solid var(--line); border-radius: var(--r-s); padding: 9px 12px; font: inherit; font-size: 14px; background: var(--paper, #fff); resize: vertical; }
.i18n-val input:focus, .i18n-val textarea:focus { outline: 0; border-color: var(--yellow); box-shadow: var(--ring); }
.i18n-val small { display: inline-flex; align-items: center; gap: 4px; color: var(--grey-2); font-size: 12px; }
.i18n-val small .mi { font-size: 15px; }
.i18n-row.own .i18n-val small { color: var(--green); }
.i18n-row.todo .i18n-val small { color: var(--orange); }
@media (max-width: 720px) { .i18n-row { grid-template-columns: minmax(0, 1fr); gap: 8px; } }

/* right-to-left: directional icons point the other way; maps, numbers and phone/e-mail stay left-to-right */
.mi.mi-flip { transform: scaleX(-1); /* rtl:ignore */ }
[dir=rtl] .map, [dir=rtl] .pr-map, [dir=rtl] .leaflet-container, [dir=rtl] input[type=tel], [dir=rtl] input[type=email], [dir=rtl] input[type=url], [dir=rtl] .cl-chart { direction: ltr; /* rtl:ignore */ }
[dir=rtl] input[type=tel], [dir=rtl] input[type=email], [dir=rtl] input[type=url] { text-align: right; /* rtl:ignore */ }
[dir=rtl] a[href^="tel:"], [dir=rtl] a[href^="mailto:"], [dir=rtl] .hours > div > span + span, [dir=rtl] .cl-hrow [data-l], [dir=rtl] .views-n, [dir=rtl] #views-n { direction: ltr; unicode-bidi: isolate; /* rtl:ignore */ }

/* ===== v2.0.1: mobile polish ===== */
/* icons: exactly one icon wide, and invisible until the icon font is there (no "arrow_back" words while the page loads) */
.mi { width: 1em; overflow: hidden; flex-shrink: 0; text-align: center; }
.mi.cur-sym { width: auto; overflow: visible; }
html:not(.mi-ok) .mi:not(.mi-s) { color: transparent !important; }
/* v2.9.6 built-in icons (assets/icons.js): the header buttons always, every icon when the icon font cannot be loaded */
.mi.mi-s { font-family: inherit; line-height: 1; }
.mi.mi-s svg { display: block; width: 1em; height: 1em; fill: currentColor; pointer-events: none; }/* no sideways page drift; no double-tap zoom (pinch is switched off in the viewport + script) */
html { touch-action: manipulation; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html { overflow-x: hidden; overscroll-behavior-x: none; }
@supports (overflow: clip) { html { overflow-x: clip; } body { overflow-x: clip; } }
/* while a pop-up is open the page behind it stays put (no jump after sending a form) */
.modal-back { overscroll-behavior: contain; }
.modal { overscroll-behavior: contain; }
/* phones/tablets: header icons in the orange accent */
@media (max-width: 1180px) {
  .site-header .menu-toggle, .site-header .lang-toggle, .site-header .menu-toggle .mi, .site-header .lang-toggle .mi { color: var(--orange); }
}
/* blur-up photos: the tiny preview is the background, the photo sharpens in when it arrives */
img.lq { background-color: var(--tint, #f6f1f7); background-position: center; background-size: cover; background-repeat: no-repeat; }
img.lq.lq-in { animation: lqIn .7s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes lqIn { from { filter: blur(18px) saturate(1.2); opacity: .6; } 60% { opacity: 1; } to { filter: blur(0) saturate(1); opacity: 1; } }
.gallery .track img.lq:not(.lq-in):not(.lq-done) { aspect-ratio: 4 / 3; }
@media (prefers-reduced-motion: reduce) { img.lq.lq-in { animation: none; } }

/* ===== v2.0.2: phones/tablets — search · language · menu: three orange icons, one full-width panel under the header ===== */
.search-toggle { display: none; }
.header-search > button[type=submit] span { display: none; }
@media (max-width: 1180px) {
  .search-toggle { display: grid; place-items: center; width: 44px; height: 44px; flex: none; margin-left: auto; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--orange); cursor: pointer; overflow: hidden; }
  .search-toggle .mi { font-size: 26px; color: var(--orange); }
  .search-toggle + .lang-pick { margin-left: 0; }
  .search-toggle:active, .search-toggle.on, .menu-toggle.on, .lang-pick.open .lang-toggle { background: var(--wash); }
  /* one look for all three panels */
  .lang-pick { position: static; }
  .nav, .lang-pick .lang-menu, .site-header .header-search.open {
    position: absolute; left: 0; right: 0; top: 100%; z-index: 60; min-width: 0; max-width: none; margin: 0;
    background: var(--paper); border: 0; border-top: 1px solid var(--line); border-radius: 0;
    box-shadow: var(--sh-2);
    padding: 10px max(16px, env(safe-area-inset-right, 0px)) 20px max(16px, env(safe-area-inset-left, 0px));
    flex-direction: column; align-items: center; animation: hdrDrop .18s ease-out; }
  .lang-pick.open .lang-menu { display: flex; }
  .lang-pick .lang-menu a { width: 100%; max-width: 360px; justify-content: center; gap: 10px; padding: 13px 6px; font-size: 18px; font-weight: 600; color: var(--grey); border-radius: 0; }   /* same as the menu items */
  .lang-pick .lang-menu a.on { color: var(--orange); }
  .lang-pick .lang-menu a span:not(.mi) { flex: none; }
  .lang-pick .lang-menu a:hover, .lang-pick .lang-menu a:focus-visible { background: none; color: var(--orange); }
  /* search panel = the desktop search: what + where + button */
  .site-header .header-search.open { display: flex; gap: 0; }
  .header-search.open label { width: 100%; max-width: 360px; flex: none; padding: 12px 6px; gap: 10px; border-bottom: 1px solid var(--line); font-size: 16px; position: relative; }
  .header-search.open label b { font-size: 17px; flex: none; }
  .header-search.open input, .header-search.open .city-sel { font-size: 16px; }   /* 16px: iOS does not zoom into the field */
  .header-search.open .city-sel { width: 100%; }
  .header-search.open button[type=submit] { display: inline-flex; align-items: center; justify-content: center; gap: 8px; margin: 16px 0 4px; min-width: 240px; height: 46px; padding: 0 28px;
    border-radius: var(--r-pill); background: var(--grad); color: #fff; font-size: 17px; font-weight: 700; box-shadow: var(--sh-accent); }
  .header-search.open > button[type=submit] span { display: inline; }
  .header-search.open button[type=submit] .mi { font-size: 22px; color: #fff; }
  .header-search.open .suggest { left: 0; right: 0; top: 100%; z-index: 5; }
}
@keyframes hdrDrop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .nav, .lang-pick .lang-menu, .site-header .header-search.open { animation: none; } }

/* photos not there yet: the orange gradient with the category icon (cards and the listing gallery) */
.card .fig { background: var(--grad); }
.card .fig .ph { color: rgba(255, 255, 255, .9); }
.card .fig > img { position: relative; }
.card .fig:has(> img.lq-in), .card .fig:has(> img.lq-done) { background: var(--grad-soft); }
img.lq { background-color: transparent; }
.gallery .g-ph { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255, 255, 255, .9); font-size: 96px; pointer-events: none; }
.gallery .g-ph .mi { font-size: 1em; }
.gallery .track { position: relative; }
@media (max-width: 720px) { .gallery .g-ph { font-size: 72px; } }
.header-search .suggest button { color: var(--ink); font-size: 15px; }
.header-search .suggest button .mi { color: var(--orange); }

/* v2.0.3: the search panel uses the same fields as the home page search (pill field, same label width so both fields line up, arrow, button) */
@media (max-width: 1180px) {
  .site-header .header-search.open { gap: 10px; padding-top: 14px; }
  .header-search.open label { display: flex; align-items: center; gap: 12px; width: 100%; max-width: 520px; height: 48px; padding: 0 17px; margin: 0;
    background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-pill); box-shadow: inset 0 2px 6px rgba(0, 0, 0, .15); color: var(--ink); }
  .header-search.open label b { flex: 0 0 4.6em; text-align: left; white-space: nowrap; font-size: 16px; font-weight: 700; }
  .header-search.open label input, .header-search.open label .city-sel { flex: 1; min-width: 0; height: 100%; font-size: 16px; line-height: 1.2; padding-right: 22px; }
  .header-search.open label:has(.city-sel)::after { position: absolute; right: 14px; margin: 0; font-size: 22px; color: var(--grey); }
  .header-search.open > button[type=submit] { width: 100%; max-width: 520px; min-width: 0; height: 48px; margin: 2px 0 0; font-size: 18px; }
}
/* both fields start their text on the same line (input and select have different built-in insets) */
.search .field input, .search .field .city-sel, .header-search input, .header-search .city-sel { padding-left: 0; margin-left: 0; text-indent: 0; }

/* ===== v2.0.5: every orange button looks like the cookie "Accept" button — pill, gradient, 2px orange edge, bold white text ===== */
.btn-grad, .nav a.btn-grad, .site-header .header-search.open > button[type=submit], .ct-mail .ct-pill-main, .cookie-btn.cookie-yes {
  background: var(--grad); color: #fff; border: 1px solid var(--orange); border-radius: var(--r-pill);
  font-weight: 700; text-shadow: 0 1px 1px rgba(0, 0, 0, .15); box-shadow: none; }
.btn-grad:hover, .nav a.btn-grad:hover, .site-header .header-search.open > button[type=submit]:hover, .ct-mail .ct-pill-main:hover { color: #fff; background: var(--grad); filter: brightness(1.05) saturate(1.1); }
.btn-grad:focus-visible, .nav a.btn-grad:focus-visible, .ct-mail .ct-pill-main:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.btn-grad .mi, .ct-mail .ct-pill-main .mi { color: #fff; }
.btn-grad:disabled, .btn-grad[aria-disabled="true"] { filter: grayscale(.35) opacity(.7); }

/* ===== v2.1 — one look everywhere: corners (--r-*), 1px strokes, three shadow levels, one field style, 46px controls ===== */
/* surfaces: cards, panels, CMS tiles and tables → 16px, 1px stroke, shadow 1 */
.card, .form-card, .ct-card, .ct-formcard, .cms-stat, .cms-table, .tx-list, .panel, .mini, .kpi, .cl-kpi, .cl-chart-card, .cl-hist, .st-events, .faq details, .cookie, .tile {
  border-radius: var(--r-m); border: var(--stroke); box-shadow: var(--sh-1); }
.card:hover, .mini:hover, .tile:hover { box-shadow: var(--sh-2); }
.cms-stat.on { border-color: transparent; box-shadow: var(--sh-accent); }
.modal { border-radius: var(--r-l); box-shadow: var(--sh-3); }
/* fields: one style in the portal, forms, pop-ups and the CMS */
.ff input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=color]):not([type=range]), .ff select, .ff textarea,
.ct-formcard .ff input, .ct-formcard .ff textarea, .tx-form input:not([type=checkbox]):not([type=file]):not([type=color]), .tx-form textarea, .tx-form select,
.he-row select, .he-row input, .i18n-val input, .i18n-val textarea, .share-copy input, .im-sel, .modal select#tx-move {
  border: var(--stroke); border-radius: var(--r-s); background: var(--field-bg); box-shadow: none; min-height: var(--h-ctl); }
.ff textarea, .tx-form textarea, .i18n-val textarea { min-height: 110px; }
.ff input:focus, .ff select:focus, .ff textarea:focus, .ct-formcard .ff input:focus, .ct-formcard .ff textarea:focus, .tx-form input:focus, .tx-form textarea:focus, .i18n-val input:focus, .i18n-val textarea:focus {
  outline: 0; border-color: var(--yellow); background: var(--paper); box-shadow: var(--ring); }
.ff.bad input, .ff.bad select, .ff.invalid input, .ff.invalid select, .ff.invalid textarea { border-color: var(--err); box-shadow: var(--ring-err); }
/* controls: buttons, chips and toolbars share one height */
.btn { border-radius: var(--r-pill); }
.ct-pill, .book-row .btn, .tbtn, .cms-bar select, .cms-bar .btn { height: var(--h-ctl); }
.cms-acts .ct-pill, .tx-row .cms-acts .ct-pill { height: var(--h-ctl-s); }
.ct-pill { border-radius: var(--r-pill); }
/* small labels on photos */
.badge-feat, .badge-pending { border-radius: var(--r-xs); }

/* v2.1.1 city tiles: orange gradient under the photo; the photo loads when the tile comes near the screen */
.tile { background-color: var(--orange); background-image: var(--grad); background-position: center; background-size: cover; background-repeat: no-repeat; }
/* About: the main story first, the small link cards below it */
.ab-wrap .ct-main { margin-top: 0; }
.ab-wrap .ab-bento { margin-top: 24px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .ab-wrap .ab-bento { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .ab-wrap .ab-bento { grid-template-columns: 1fr; gap: 12px; } }

/* v2.1.1 selected options (filters, chips, tabs, pager, CMS): light orange like the selected filter button in the floating menu — not the button gradient */
:root { --sel-bg: rgba(var(--yellow-rgb), .22); --sel-line: rgba(var(--orange-rgb), .45); }
.pchip.on, .checks input:checked + span, .days input:checked + span, .pager button.on, .seg button.on, .chip.on, .ct-topics input:checked + span,
.lang-tabs button.on, .cms-tabs button.on, .tx-picks button.on, .st-seg input:checked + span, .cms-stat.on {
  background: var(--sel-bg); border-color: var(--sel-line); color: var(--ink); font-weight: 700; box-shadow: none; text-shadow: none; }
.pchip.on .mi, .pchip.on small, .pchip.on .eur, .cms-tabs button.on .mi, .lang-tabs button.on .mi, .checks input:checked + span .mi, .tx-picks button.on .mi { color: var(--orange); }
.cms-stat.on .mi { background: var(--paper); color: var(--orange); }
.cms-stat.on b, .cms-stat.on span:not(.mi), .cms-stat.on small { color: var(--ink); }
.checks input:checked + span .n, .checks input:checked + span em { background: var(--orange); color: #fff; }

/* v2.1.2 CTA edge = the light orange from the middle of the gradient (not the dark start); the floating-menu "Reserve" button gets it too */
:root { --cta-line: rgb(var(--mid-rgb)); }
.btn-grad, .nav a.btn-grad, .site-header .header-search.open > button[type=submit], .ct-mail .ct-pill-main, .cookie-btn.cookie-yes { border-color: var(--cta-line); }
.dock-i[data-primary] { border: 1px solid var(--cta-line); text-shadow: 0 1px 1px rgba(0, 0, 0, .15); }

/* v2.1.3 floating menu: the selected item (Filtri / Karte) has the same light-orange fill and 1px edge as selected filters */
.dock-i { border: 1px solid transparent; }
.dock-i.on { background: var(--sel-bg); border-color: var(--sel-line); }
.dock-i[data-primary] { border-color: var(--cta-line); }

/* v2.1.5 phones/tablets: the three header panels (menu · language · search) sit on a light orange gradient */
:root { --grad-light: linear-gradient(180deg, var(--paper, #fff) 0%, rgba(var(--yellow-rgb), .16) 55%, rgba(var(--mid-rgb), .28) 100%); }
@media (max-width: 1180px) {
  .nav, .lang-pick .lang-menu, .site-header .header-search.open {
    background: var(--paper, #fff) var(--grad-light); border-top-color: var(--tint-line); }
  .search-toggle:active, .search-toggle.on, .menu-toggle.on, .lang-pick.open .lang-toggle { background: var(--sel-bg); }
}

/* v2.1.6 photo still loading → the listing's category icon on the orange gradient, above the blurred preview, until the sharp photo is in */
.card .fig > .ph, .mini .fig > .ph, .mp-fig > .ph { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255, 255, 255, .92); pointer-events: none;
  text-shadow: 0 2px 10px rgba(var(--dark-rgb), .25); transition: opacity .45s ease; }
.card .fig > .ph { font-size: 64px; } .card .fig > .ph .mi { font-size: 1em; }
.card .fig:has(> img.lq-in) > .ph, .card .fig:has(> img.lq-done) > .ph,
.mini .fig:has(> img.lq-in) > .ph, .mini .fig:has(> img.lq-done) > .ph,
.mp-fig:has(> img.lq-in) > .ph, .mp-fig:has(> img.lq-done) > .ph { opacity: 0; }
.mini .fig { position: relative; background: var(--grad); }
.mini .fig > .ph .mi { font-size: 34px; }
.mini .fig:has(> img.lq-in), .mini .fig:has(> img.lq-done) { background: var(--grad-soft); }
.mp-fig { position: relative; flex: none; width: 72px; height: 54px; border-radius: var(--r-s); overflow: hidden; background: var(--grad); }
.mp-fig img { display: block; width: 100%; height: 100%; }
.mp-fig > .ph .mi { font-size: 26px; color: #fff; }
/* listing page: the icon stays over the gallery until its first photo is in */
.gallery .g-ph { z-index: 1; text-shadow: 0 2px 12px rgba(var(--dark-rgb), .25); transition: opacity .45s ease; }
.gallery:has(.track img.lq-in) .g-ph, .gallery:has(.track img.lq-done) .g-ph { opacity: 0; }

/* v2.1.7 phones/tablets: header icons on the right (search · language · menu) in the logo-text yellow */
@media (max-width: 1180px) {
  .site-header .search-toggle, .site-header .search-toggle .mi, .site-header .menu-toggle, .site-header .lang-toggle, .site-header .menu-toggle .mi, .site-header .lang-toggle .mi { color: var(--yellow); }
}

/* v2.1.8 city tiles: warm orange overlay instead of the dark one (keeps the white name readable) */
.tile::before { background: linear-gradient(180deg, rgba(var(--yellow-rgb), .08) 0%, rgba(var(--mid-rgb), .28) 50%, rgba(var(--orange-rgb), .62) 100%); }
.tile:hover::before { background: linear-gradient(180deg, rgba(var(--yellow-rgb), .18) 0%, rgba(var(--mid-rgb), .4) 50%, rgba(var(--orange-rgb), .78) 100%); }
.tile .name { text-shadow: 0 2px 12px rgba(var(--dark-rgb), .45); }

/* v2.1.9 → v2.1.12 radio buttons and checkboxes in the brand orange (same as the check marks and icons) */
input[type=radio], input[type=checkbox] { accent-color: var(--orange); }
.radios input[type=radio], .st-chk input[type=radio] {
  -webkit-appearance: none; appearance: none; flex: none; box-sizing: border-box; width: 20px; height: 20px; min-width: 20px; min-height: 0; padding: 0; margin: 0; border: 1px solid var(--grey-2); box-shadow: none; border-radius: 50%; background: var(--paper);
  display: inline-grid; place-items: center; cursor: pointer; transition: border-color .15s; }
.radios input[type=radio]::before, .st-chk input[type=radio]::before {
  content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--orange); transform: scale(0); transition: transform .15s; }
.radios input[type=radio]:checked, .st-chk input[type=radio]:checked { border-color: var(--orange); }
.radios input[type=radio]:checked::before, .st-chk input[type=radio]:checked::before { transform: scale(1); }
.radios input[type=radio]:focus-visible, .st-chk input[type=radio]:focus-visible { outline: 3px solid rgba(var(--orange-rgb), .4); outline-offset: 2px; }
.st-chk input[type=checkbox], .st-angle input[type=range] { accent-color: var(--orange); }
/* v2.1.11 check marks and icons inside selected chips (opening days, categories, amenities, filters) keep the same orange as unselected ones */
.days input:checked + span .d-on, .days input:checked + span .mi,
.checks input:checked + span .mi, .pchip.on .mi, .tx-picks button.on .mi { color: var(--orange); }
/* time fields never wider than their column (iOS gives them a built-in minimum width) */
.ff input[type=time], .ff input[type=date] { display: block; width: 100%; max-width: 100%; min-width: 0; box-sizing: border-box; -webkit-appearance: none; appearance: none; }
.ff input[type=time]::-webkit-date-and-time-value, .ff input[type=date]::-webkit-date-and-time-value { text-align: left; }

/* v2.1.10 date, time and month fields in every form: exactly as wide as their column, never wider (iOS/Safari give them a built-in minimum width) */
input[type=date], input[type=time], input[type=month], input[type=datetime-local] {
  display: block; width: 100%; max-width: 100%; min-width: 0; box-sizing: border-box; -webkit-appearance: none; appearance: none; }
input[type=date]::-webkit-date-and-time-value, input[type=time]::-webkit-date-and-time-value, input[type=month]::-webkit-date-and-time-value, input[type=datetime-local]::-webkit-date-and-time-value { text-align: left; min-width: 0; }
input[type=date]::-webkit-datetime-edit, input[type=time]::-webkit-datetime-edit, input[type=month]::-webkit-datetime-edit { padding: 0; }
.ff, .grid2 > *, .set-grid > *, .fgrid > * { min-width: 0; }
body.has-dock .modal-back.sheet .book-f .grid2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* v2.1.12 admin on phones: no sideways scroll — the hidden inputs behind switches and segmented buttons were as wide as the page */
.sw input, .st-seg input, .cl-seg input, .ct-topics input, .seg input[type=radio] { width: 1px !important; height: 1px !important; min-width: 0 !important; min-height: 0 !important; margin: 0; padding: 0 !important; border: 0; overflow: hidden; clip-path: inset(50%); }
.sw, .st-seg label, .cl-seg label, .ct-topics label { position: relative; }
.st-seg { max-width: 100%; flex-wrap: wrap; }
.cms-wrap, .set-card, .form-card, .set-grid > *, .ff { min-width: 0; max-width: 100%; }
table.sr-only { display: block; position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip-path: inset(50%); white-space: nowrap; }

/* ===== v2.2 prices & services, suggestions ===== */
/* listing page: name on the left, price on the right, under the full description */
.svc-list { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 0; border: var(--stroke); border-radius: var(--r-m); background: var(--paper); overflow: hidden; }
.svc-list li { display: flex; align-items: baseline; gap: 10px; padding: 12px 18px; font-size: 16px; }
.svc-list li + li { border-top: 1px solid var(--line); }
.svc-list li:nth-child(even) { background: var(--tint); }
.svc-list .svc-n { min-width: 0; color: var(--ink); overflow-wrap: anywhere; }
.svc-list .svc-dots { flex: 1; min-width: 12px; border-bottom: 1px dotted var(--tint-line); transform: translateY(-4px); }
.svc-list .svc-p { flex: none; font-weight: 700; color: var(--plum); white-space: nowrap; font-variant-numeric: tabular-nums; }
.svc-list li.is-hidden { opacity: .6; }
@media (max-width: 560px) { .svc-list li { padding: 11px 14px; font-size: 15px; } }
/* form: services with own price */
.svc-hint { margin: -2px 0 10px; }
.svc-edit { display: grid; gap: 8px; }
.svc-row { display: flex; align-items: center; gap: 12px; padding: 6px 6px 6px 14px; border: var(--stroke); border-radius: var(--r-pill); background: var(--paper); }
.svc-row:has(input[name=svc]:checked) { background: var(--sel-bg); border-color: var(--sel-line); }
.svc-ck { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 15px; font-weight: 600; color: var(--ink); }
.svc-ck input { flex: none; width: 18px; height: 18px; margin: 0; accent-color: var(--orange); }
.svc-ck span { min-width: 0; overflow-wrap: anywhere; }
.svc-pr { flex: none; display: flex; align-items: center; gap: 6px; }
.ff .svc-pr input { width: 110px; min-height: 38px; height: 38px; padding: 0 12px; border-radius: var(--r-pill); text-align: right; }
.svc-pr span { font-weight: 700; color: var(--grey); min-width: 1.2em; }
@media (max-width: 480px) { .svc-row { flex-wrap: wrap; border-radius: var(--r-m); padding: 10px 12px; } .svc-pr { width: 100%; } .ff .svc-pr input { flex: 1; width: auto; } }
/* "Suggest new" at the end of each list */
.sug { margin-top: 10px; }
.sug-open { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 16px; border: 1px dashed var(--sel-line); border-radius: var(--r-pill); background: var(--tint); color: var(--plum); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.sug-open .mi { color: var(--orange); font-size: 20px; }
.sug-open:hover { background: var(--sel-bg); }
.sug[data-sug="cities"] .sug-open { display: none; }
.sug-f { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 10px; border: 1px dashed var(--sel-line); border-radius: var(--r-m); background: var(--tint); }
.sug-f[hidden] { display: none; }
.ff .sug-f input { flex: 1 1 180px; min-width: 0; width: auto; }
.ff .sug-f .sug-pr { flex: 0 1 150px; }
.sug-f .btn { height: var(--h-ctl); padding: 0 20px; }
.sug.bad .sug-in { border-color: var(--err); box-shadow: var(--ring-err); }
.sug-b { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: var(--r-pill); background: var(--paper); border: 1px solid var(--sel-line); color: var(--brand-dark, #a65d00); font-size: 11px; font-style: normal; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; vertical-align: 1px; }
/* admin: suggestions */
.tx-row.is-sug { background: var(--sel-bg); }
.tx-sug { display: inline-flex; align-items: center; gap: 3px; margin-left: 6px; padding: 1px 8px; border-radius: var(--r-pill); background: var(--paper); border: 1px solid var(--sel-line); color: var(--brand-dark, #a65d00); font-size: 12px; font-style: normal; font-weight: 700; }
.tx-sug .mi { font-size: 15px; color: var(--orange); }
.tx-price { margin-left: 8px; font-weight: 700; color: var(--plum); white-space: nowrap; }
.sug-note { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.sug-note > span { flex: 1 1 260px; }
.sug-note .ct-pill.on { background: var(--sel-bg); border-color: var(--sel-line); }
.cms-tabs .tab-n { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; margin-left: 4px; border-radius: var(--r-pill); background: var(--orange); color: #fff; font-size: 12px; font-weight: 700; line-height: 1; }
.notice.sug-note { display: flex; justify-content: flex-start; text-align: left; }
.notice.sug-note > .mi { flex: none; color: var(--orange); }
.checks .sug-b, .checks input:checked + span .sug-b { background: var(--paper); color: var(--brand-dark); border-color: var(--sel-line); }

/* v2.2.2 prices: range · from · to, then one-time visit and party room (available → own from–to) */
.price-grid > .ff { display: flex; flex-direction: column; }
.price-grid > .ff > label { flex: 1; display: flex; align-items: flex-end; }
.price-grid > .ff[hidden] { display: none; }
.opt-row { margin-top: -4px; }

/* ===== v2.3 skeleton screens ===== */
:root { --sk-a: #eeeff1; --sk-b: #e6e7ea; }   /* v2.3.1 light grey */
.sk { display: block; background: var(--sk-a); background-image: linear-gradient(100deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, .7) 50%, rgba(255, 255, 255, 0) 70%), linear-gradient(var(--sk-a), var(--sk-a));
  background-size: 220% 100%, 100% 100%; background-repeat: no-repeat; animation: sk-shine 1.5s ease-in-out infinite; border-radius: var(--r-s); }
@keyframes sk-shine { from { background-position: 130% 0, 0 0; } to { background-position: -30% 0, 0 0; } }
@media (prefers-reduced-motion: reduce) { .sk { animation: none; } }
/* first load: the crawlable HTML is hidden only while JavaScript is drawing the page */
.skel-boot { display: none; }
html.js:not(.app-ready) .skel-boot { display: block; }
html.js:not(.app-ready) .ssr-main, html.js:not(.app-ready) #site-header > .ssr, html.js:not(.app-ready) #site-footer > .ssr { display: none; }
html.js:not(.app-ready) .sk-hdr { display: flex; }
.sk-hdr { align-items: center; justify-content: space-between; gap: 16px; height: 100%; min-height: 72px; padding: 0 clamp(16px, 3vw, 44px); }
.sk-brand { width: 190px; height: 44px; border-radius: var(--r-m); }
.sk-hdr-r { display: flex; align-items: center; gap: 22px; }
.sk-nav { width: 70px; height: 14px; } .sk-cta { width: 190px; height: 38px; border-radius: var(--r-pill); } .sk-ico { display: none; width: 30px; height: 30px; border-radius: 50%; }
@media (max-width: 1180px) { .sk-brand { width: 160px; height: 38px; } .sk-nav, .sk-cta { display: none; } .sk-ico { display: block; } .sk-hdr-r { gap: 18px; } }
.sk-line { height: 13px; margin: 9px 0; } .sk-line.sm { height: 10px; } .sk-line.lg { height: 18px; }
.sk-title { height: 30px; margin: 6px 0 14px; border-radius: var(--r-s); }
.sk-sec { padding-top: 40px; padding-bottom: 20px; }
.sk-gap { display: block; height: 18px; }
.sk-hero { padding: 64px 0 44px; background: #f7f7f8; }
.sk-hero .sk-title { height: 42px; }
.sk-search { height: 56px; max-width: 760px; margin: 22px 0 30px; border-radius: var(--r-pill); }
.sk-cats { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 14px; }
.sk-cat { display: grid; justify-items: center; gap: 4px; } .sk-ring { width: 76px; height: 76px; border-radius: 50%; }
.sk-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
.sk-tile { height: 210px; border-radius: var(--r-m); } .sk-tile.big { grid-column: 1 / -1; height: 320px; }
.sk-tiles.grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .sk-tiles.grid .sk-tile { height: 260px; }
.sk-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 14px; margin-top: 18px; }
.sk-card { position: relative; background: var(--paper); border-radius: var(--r-m); box-shadow: var(--shadow-card, var(--sh-1)); overflow: hidden; }
.sk-card .sk-img { aspect-ratio: 331 / 222; border-radius: 0; background-color: var(--sk-b); background-image: linear-gradient(100deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, .55) 50%, rgba(255, 255, 255, 0) 70%), linear-gradient(var(--sk-b), var(--sk-b)); }
.sk-card .sk-logo-c { position: absolute; left: 16px; top: calc((100% - 0px) * 0); margin-top: -22px; width: 45px; height: 45px; border-radius: 50%; border: 3px solid var(--paper); transform: translateY(0); }
.sk-card .sk-img + .sk-logo-c { position: relative; margin: -24px 0 0 16px; }
.sk-body { padding: 4px 18px 18px; }
.sk-meta { display: flex; justify-content: space-between; gap: 12px; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); }
.sk-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; } .sk-chip { height: 38px; border-radius: var(--r-pill); }
.sk-bar2 { display: flex; justify-content: space-between; margin-bottom: 18px; } .sk-btn { width: 130px; height: 44px; border-radius: var(--r-pill); }
.sk-gallery { height: clamp(220px, 34vw, 380px); border-radius: 0; background-color: var(--sk-b); background-image: linear-gradient(100deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, .55) 50%, rgba(255, 255, 255, 0) 70%), linear-gradient(var(--sk-b), var(--sk-b)); }
.sk-listing { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 48px; padding-bottom: 40px; }
.sk-main { position: relative; padding-top: 52px; } .sk-logo-big { position: absolute; top: -48px; left: 0; width: 96px; height: 96px; border-radius: 50%; border: 4px solid var(--paper); }
.sk-side { display: flex; flex-direction: column; gap: 18px; padding-top: 26px; }
.sk-box { height: 120px; border-radius: var(--r-m); margin-top: 18px; } .sk-box.tall { height: 230px; margin-top: 0; }
.sk-facts { display: grid; gap: 6px; padding: 16px 20px; border: var(--stroke); border-radius: var(--r-m); }
.sk-fact { display: grid; grid-template-columns: 22px 1fr 1fr; align-items: center; gap: 12px; } .sk-dot { width: 20px; height: 20px; border-radius: 50%; }
.sk-banner { height: 150px; border-radius: 0; background-color: var(--sk-b); }
.sk-formcard { max-width: 860px; margin: -70px auto 0; padding: 32px; background: var(--paper); border-radius: var(--r-l); box-shadow: var(--sh-2); position: relative; }
.sk-field { margin-top: 18px; } .sk-input { height: var(--h-ctl, 46px); border-radius: var(--r-pill); margin-top: 6px; }
.sk-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 6px 0 18px; } .sk-stat { height: 76px; border-radius: var(--r-m); }
.sk-rows { display: grid; border: var(--stroke); border-radius: var(--r-m); background: var(--paper); overflow: hidden; }
.sk-row { display: flex; align-items: center; gap: 14px; padding: 12px 16px; } .sk-row + .sk-row { border-top: 1px solid var(--line); }
.sk-row .sk-body { flex: 1; padding: 0; } .sk-row .sk-line { margin: 7px 0; }
.sk-av { flex: none; width: 44px; height: 44px; border-radius: 50%; } .sk-pill { flex: none; width: 96px; height: 30px; border-radius: var(--r-pill); }
@media (max-width: 1100px) { .sk-listing { grid-template-columns: 1fr; gap: 10px; } .sk-cards, .sk-cards.three { grid-template-columns: repeat(2, minmax(0, 1fr)); } .sk-cats { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .sk-cards, .sk-cards.three, .sk-tiles.grid { grid-template-columns: 1fr; } .sk-cards > .sk-card:nth-child(n+3) { display: none; }
  .sk-cats { grid-template-columns: repeat(3, minmax(0, 1fr)); } .sk-cats > .sk-cat:nth-child(n+7) { display: none; } .sk-ring { width: 64px; height: 64px; }
  .sk-hero { padding: 36px 0 28px; } .sk-hero .sk-title { height: 34px; } .sk-search { display: none; }
  .sk-tile.big { height: 220px; } .sk-tile { height: 150px; }
  .sk-stats { grid-template-columns: 1fr 1fr; } .sk-pill { width: 60px; } .sk-formcard { padding: 22px 16px; margin-top: -50px; }
}
/* "load more" while scrolling: three skeleton cards instead of a spinner */
.p-more.skel-more { display: block; height: auto; }
.p-more.skel-more .sk-cards { margin-top: 0; }
/* admin / forms while data loads */
.sk-wrap { padding: 8px 0; }

/* v2.4 statistics reports */
.cl-rep-h { display: flex; align-items: center; gap: 6px; margin: 22px 0 10px; font-size: 16px; }
.cl-rep-h .mi { color: var(--orange); }
.cl-reps .cl-hrow { grid-template-columns: minmax(150px, 1.4fr) 100px 90px 90px minmax(110px, 1fr) 40px; }
.cl-rdel { display: inline-grid; place-items: center; width: 34px; height: 34px; border: 1px solid transparent; border-radius: 50%; background: none; color: var(--grey); cursor: pointer; }
.cl-rdel:hover { color: var(--bad, #c0392b); border-color: var(--line); background: var(--paper); }
.cl-rdel .mi { font-size: 20px; }
.cl-ok, .cl-bad { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; } .cl-ok .mi { color: var(--ok); } .cl-bad { color: var(--err); }
.rep-prev { margin: 4px 0 6px; }
.rep-t { border: 1px solid var(--line); border-radius: var(--r-m); overflow: hidden; font-size: 14px; }
.rep-r { display: grid; grid-template-columns: minmax(0, 2fr) repeat(5, minmax(0, 1fr)); gap: 8px; padding: 9px 12px; border-top: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.rep-r > span:not(:first-child) { text-align: right; }
.rep-r > span:first-child { min-width: 0; overflow-wrap: anywhere; }
.rep-hd { border-top: 0; background: var(--tint); font-size: 12px; font-weight: 700; color: var(--grey); text-transform: uppercase; letter-spacing: .03em; }
.rep-tot { font-weight: 700; background: var(--sel-bg); }
@media (max-width: 640px) {
  .cl-reps .cl-hrow { grid-template-columns: 1fr 1fr; }
  .cl-reps .cl-hrow > span:first-child { grid-column: 1; } .cl-reps .cl-hrow > span:last-child { grid-column: 2; grid-row: 1; justify-self: end; }
  .rep-r { grid-template-columns: repeat(5, minmax(0, 1fr)); font-size: 13px; } .rep-r > span:first-child { grid-column: 1 / -1; font-weight: 700; }
  .rep-hd > span:first-child { display: none; }
}
.rep-hd { text-transform: none; letter-spacing: 0; }
.rep-hd .mi { font-size: 18px; color: var(--orange); }
.rep-leg { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 0 0 8px; font-size: 12px; color: var(--grey); }
.rep-leg span { display: inline-flex; align-items: center; gap: 3px; } .rep-leg .mi { font-size: 15px; color: var(--orange); }
.rep-ctl { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 16px; margin-bottom: 14px; }
.rep-ctl .ff { flex: 1 1 260px; margin: 0; }
.rep-ctl .btn { height: var(--h-ctl); }
.cl-stats-sec #cl-reps .cl-rep-h { margin-top: 18px; }

/* v2.6.1 offer as plain text (fallback when the clipboard is blocked) */
.off-txt { width: 100%; min-height: 280px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-m); font: 13px/1.5 ui-monospace, Menlo, Consolas, monospace; resize: vertical; background: var(--wash); }

/* v2.6.3 the "Rezervēt" CTA keeps its orange gradient while the booking sheet is open (it was getting the light "selected" fill) */
.dock-i[data-primary], .dock-i[data-primary].on, .dock-i[data-primary]:active, .dock-i[data-primary]:focus { background: var(--grad); color: #fff; border-color: var(--cta-line); box-shadow: var(--sh-accent); }
.dock-i[data-primary].on .mi, .dock-i[data-primary]:active .mi, .dock-i[data-primary] .mi { color: #fff; }
.dock-i[data-primary] { -webkit-tap-highlight-color: transparent; }

/* v2.7 venue owner's statistics dashboard (/fa-cms/ for venue / client e-mails) */
.own-page { max-width: 1120px; margin: 0 auto; padding-block: 44px 90px; display: grid; gap: 26px; }
.own-page .form-card { max-width: none; }
.own-stats { display: grid; gap: 14px; min-width: 0; }
.own-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; }
.own-kpi { font: inherit; text-align: start; cursor: pointer; color: inherit; transition: border-color .15s, background .15s, box-shadow .15s; }
.own-kpi:hover { border-color: var(--sel-line); box-shadow: var(--sh-1); }
.own-kpi.on { background: var(--sel-bg); border-color: var(--sel-line); }
.own-kpi.on .cl-kpi-ic { background: var(--grad); color: #fff; }
.own-kpi b { font-size: clamp(20px, 2.2vw, 26px); display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 6px; }
.own-kpi .own-u { font-size: 14px; font-weight: 600; color: var(--grey); }
.own-kpi .own-per { font-size: 12px; grid-column: 1 / -1; margin-top: 6px; }
.own-chart .bar { fill: var(--orange); opacity: .85; }
.own-chart .ln.clicks { stroke: var(--plum); }
.own-chart .cdot { fill: var(--plum); stroke: #fff; stroke-width: 1.5; }
.lg-views { display: inline-block; width: 12px; height: 12px; border-radius: 3px; background: var(--orange); }
.lg-clicks { display: inline-block; width: 20px; height: 0; border-top: 2px solid var(--plum); }
.own-tbl-card { border: 1px solid var(--line); border-radius: var(--r-m); background: #fff; padding: 16px 18px; min-width: 0; }
.own-tbl-head { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; margin-bottom: 10px; }
.own-tbl-head h3 { margin: 0; font-size: 16px; color: var(--ink); }
.own-chip { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 999px; background: var(--sel-bg); border: 1px solid var(--sel-line); font-size: 13px; font-weight: 700; }
.own-tbl { border: 1px solid var(--line); border-radius: var(--r-s); overflow: hidden; }
.own-tr { display: grid; grid-template-columns: minmax(140px, 2.2fr) repeat(5, minmax(0, 1fr)) minmax(0, 1.1fr) minmax(0, 1fr); gap: 8px; align-items: center; padding: 11px 14px; border-top: 1px solid var(--line); font-size: 14px; }
.own-tr > span:not(:first-child) { text-align: end; font-variant-numeric: tabular-nums; }
.own-th { border-top: 0; background: #fff8e6; font-size: 12px; font-weight: 700; color: var(--grey); text-transform: uppercase; letter-spacing: .03em; }
.own-th .mi { font-size: 18px; color: var(--orange); }
.own-tr.tot { background: #fff3d1; font-weight: 700; }
.own-vn a { color: var(--plum); font-weight: 700; }
.own-note { display: flex; gap: 6px; align-items: flex-start; margin: 10px 2px 0; font-size: 13px; color: var(--grey); }
.own-note .mi { font-size: 17px; color: var(--orange); flex: none; }
@media (max-width: 760px) {
  .own-page { padding-block: 24px 90px; gap: 18px; }
  .own-kpis { grid-template-columns: 1fr; }
  .own-th { display: none; }
  .own-tr { grid-template-columns: 1fr 1fr; gap: 4px 14px; }
  .own-tr > .own-vn { grid-column: 1 / -1; font-size: 15px; margin-bottom: 4px; }
  .own-tr > span:not(:first-child) { display: flex; justify-content: space-between; gap: 8px; }
  .own-tr > span[data-l]::before { content: attr(data-l); color: var(--grey); font-weight: 400; text-align: start; }
}

/* v2.7 home categories: every name takes two lines, so the rows line up evenly */
.cat-row a { --lh: 24px; }
.cat-row .cat-l { display: block; line-height: var(--lh); min-height: calc(var(--lh) * 2); }

@media (max-width: 720px) { .cat-row a { --lh: 17px; } }
/* v2.7.1 statistics dashboard for admins: venue edit page + client card */
.adm-stats-h { display: flex; gap: 8px; align-items: center; margin: 0 0 14px; }
.adm-stats-h .mi { color: var(--orange); }
.cl-dash-stats { margin: 6px 0 18px; }
.cl-dash-stats .own-tbl-card, .adm-stats-card .own-tbl-card { padding: 0; border: 0; }

/* ---------- v2.8 Events ---------- */
.ev-badge { position: absolute; left: 14px; top: 14px; z-index: 2; display: grid; place-items: center; min-width: 54px; padding: 6px 8px 7px; border-radius: var(--r-s); background: var(--paper); box-shadow: var(--sh-2); line-height: 1; text-align: center; }
.ev-badge b { font-size: 24px; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
.ev-badge small { margin-top: 3px; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--orange); }
.ev-card .badge-feat { bottom: 16px; left: 16px; }
.ev-card .body.ev-body { padding: 18px 20px 20px; }
.ev-card h3 { margin-top: 8px; font-size: 22px; line-height: 27px; }
.ev-when { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 12px; font-size: 14px; font-weight: 700; color: var(--brand-dark); }
.ev-when > span:first-of-type { display: inline-flex; }
.ev-when .mi { font-size: 18px; color: var(--orange); }
.ev-when .ev-t { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; color: var(--grey); }
.ev-when .ev-t .mi { color: var(--yellow); }
.ev-where { display: flex; align-items: flex-start; gap: 5px; margin-top: 8px; font-size: 14px; line-height: 20px; color: var(--grey); }
.ev-where .mi { font-size: 18px; color: var(--yellow); margin-top: 1px; }
.ev-where span { overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.ev-card .foot { padding-top: 18px; }
.ev-card .chip-cat { border-left: 0; padding-left: 0; }
.ev-st { display: inline-flex; align-items: center; gap: 5px; color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.ev-st.ended { color: var(--grey); }
.ev-card.is-past .fig img { filter: grayscale(.8); opacity: .6; }
.ev-day { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; margin: 14px 0 -4px; font-size: 18px; font-weight: 700; color: var(--plum); }
.ev-day::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.ev-day:first-child { margin-top: 0; }
.ev-more { display: flex; justify-content: center; padding: 26px 0 8px; }
.ev-q { flex: 1; display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--paper); min-width: 0; }
.ev-q:focus-within { border-color: var(--yellow); box-shadow: var(--ring); }
.ev-q .mi { color: var(--yellow); font-size: 20px; }
.ev-q input { border: 0; outline: 0; background: none; flex: 1; min-width: 0; font: inherit; font-size: 15px; height: 100%; }
.ev-quick { margin: -4px 0 14px; overflow-x: auto; scrollbar-width: none; }
.ev-quick::-webkit-scrollbar { display: none; }
.ev-quick .pchips { flex-wrap: nowrap; }
.ev-quick .pchip { flex-shrink: 0; }
.ev-range { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.ev-range label { display: grid; gap: 4px; font-size: 13px; color: var(--grey); }
.ev-range input { height: var(--h-ctl-s); border: var(--stroke); border-radius: var(--r-s); padding: 0 10px; font: inherit; font-size: 14px; background: var(--field-bg); min-width: 0; }
/* one event */
.ev-lede { margin-top: 26px; font-size: 19px; line-height: 1.55; color: var(--ink); max-width: 72ch; font-weight: 600; }
.ev-single .prose { margin-top: 18px; }
.ev-st-today, .ev-st-soon { color: var(--ok); }
.ev-st-ended { color: var(--grey); }
.ev-st .mi { font-size: 18px; }
.ev-when-panel { display: grid; gap: 18px; }
.ev-date-big { display: flex; align-items: center; gap: 16px; }
.ev-date-big .ev-badge { position: static; min-width: 64px; padding: 9px 10px 10px; background: var(--grad); box-shadow: var(--sh-accent); }
.ev-date-big .ev-badge b { font-size: 30px; color: #fff; }
.ev-date-big .ev-badge small { color: #fff; }
.ev-date-big > div { display: grid; gap: 6px; min-width: 0; }
.ev-date-big > div b { font-size: 18px; line-height: 1.35; }
.ev-date-big > div span { display: inline-flex; align-items: center; gap: 5px; color: var(--grey); font-weight: 600; font-variant-numeric: tabular-nums; }
.ev-date-big > div span .mi { color: var(--yellow); font-size: 18px; }
.ev-dates b { display: block; font-size: 14px; color: var(--grey); margin-bottom: 8px; }
.ev-dates ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.ev-dates li { padding: 4px 10px; border-radius: var(--r-pill); background: var(--tint); border: 1px solid var(--tint-line); font-size: 13px; font-weight: 600; }
.ev-dates li.past { opacity: .5; text-decoration: line-through; }
.ev-dates li.next { background: var(--grad); border-color: transparent; color: #fff; }
.ev-btns { display: grid; gap: 10px; }
.ev-btns .btn { width: 100%; justify-content: center; }
.ev-venue { margin-top: 12px; max-width: 520px; }
.ev-ended-note { background: var(--wash); }
.ev-rows { display: grid; gap: 10px; margin-top: 12px; }
.ev-row { position: relative; display: flex; align-items: center; gap: 14px; padding: 10px 14px 10px 10px; border-radius: var(--r-m); background: var(--paper); box-shadow: var(--sh-1); transition: box-shadow .2s; }
.ev-row:hover { box-shadow: var(--sh-2); }
.ev-row .ev-badge { position: static; box-shadow: none; background: var(--tint); min-width: 52px; }
.ev-row-b { flex: 1; min-width: 0; display: grid; gap: 3px; }
.ev-row-b b { font-size: 16px; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ev-row-b small { color: var(--grey); font-size: 13px; }
.ev-row > .mi { color: var(--grey-2); }
.sec-title .mi { color: var(--yellow); vertical-align: -3px; }
/* /fa-cms/ → Events */
.ev-crow .cms-logo .ev-badge { position: static; box-shadow: none; background: var(--tint); min-width: 48px; padding: 5px 6px; }
.ev-crow .cms-logo .ev-badge b { font-size: 19px; }
.ev-crow .cms-logo .ev-badge small { font-size: 10px; }
.ev-crow.is-past .ev-badge { opacity: .55; }
.ev-crow .cms-main small .mi { font-size: 15px; vertical-align: -3px; color: var(--yellow); }
.ev-lt { margin-bottom: 16px; }
.ev-lt img { width: 18px; height: 12px; border-radius: 2px; vertical-align: -1px; }
.ev-dadd { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.ev-dadd input { max-width: 200px; }
.ev-dadd + .cl-venues { margin-top: 10px; }
.ev-geo { display: flex; gap: 8px; }
.ev-geo input { flex: 1; min-width: 0; }
.ev-mapedit { margin-top: 16px; height: 220px; border-radius: var(--r-m); overflow: hidden; }
.ev-mapedit[hidden] { display: none; }
.ev-img { display: flex; gap: 18px; align-items: flex-start; flex-wrap: wrap; }
.ev-img-prev { width: 200px; aspect-ratio: 5 / 3; border-radius: var(--r-m); background: var(--grad-soft); display: grid; place-items: center; overflow: hidden; color: #fff; font-size: 48px; flex-shrink: 0; }
.ev-img-prev img { width: 100%; height: 100%; object-fit: cover; }
.ev-img > span:last-child { display: grid; gap: 10px; min-width: 0; }
.ev-seo summary { cursor: pointer; display: flex; align-items: center; gap: 8px; font-size: 18px; font-weight: 700; list-style: none; }
.ev-seo summary::-webkit-details-marker { display: none; }
.ev-seo summary .mi { color: var(--yellow); }
.cl-evs { margin-top: 14px; }
@media (max-width: 720px) {
  .ev-card h3 { font-size: 20px; line-height: 25px; }
  .ev-day { font-size: 16px; }
  .ev-geo { flex-direction: column; }
}
@media (max-width: 1240px) { .ev-list .ptools { display: flex; } .ev-list .ptools .tbtn { display: none; } }   /* phones: search stays, filters + map are in the bottom bar */
.ev-lt input:checked + span, .ev-mode input:checked + span { background: var(--tint-2); border-color: var(--orange); color: var(--brand-dark); }
.ev-lt span { gap: 6px; }
.cms-stats.ev-stats { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 900px) { .cms-stats.ev-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 520px) { .cms-stats.ev-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.set-form .ev-dadd input { width: 220px; flex: 0 1 220px; }
.ev-lgs { display: inline-flex; gap: 4px; }
.ev-lg { display: inline-grid; place-items: center; min-width: 26px; height: 20px; padding: 0 5px; border-radius: var(--r-xs); background: var(--tint-2); color: var(--brand-dark); font-size: 11px; font-weight: 800; letter-spacing: .03em; line-height: 1; }
.pchip .ev-lg { margin-right: 6px; }
.fact .v .ev-lg { margin-right: 4px; vertical-align: 1px; }
.ev-langs img { width: 18px; height: 12px; border-radius: 2px; vertical-align: -1px; }
.ev-dates.with-times ul { display: grid; gap: 6px; }
.ev-dates.with-times li { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-radius: var(--r-s); padding: 8px 12px; font-size: 14px; }
.ev-dates.with-times li b { margin: 0; font-size: 14px; color: inherit; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ev-dates.with-times li.past { text-decoration: none; }
.ev-dates.with-times li.past span { text-decoration: line-through; }
/* v2.8.3 event photos in the editor */
.ev-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin: 14px 0; }
.ev-ph { position: relative; margin: 0; aspect-ratio: 5 / 3; border-radius: var(--r-m); overflow: hidden; background: var(--tint); box-shadow: var(--sh-1); }
.ev-ph img { width: 100%; height: 100%; object-fit: cover; }
.ev-ph.cover { outline: 3px solid var(--orange); outline-offset: -3px; }
.ev-ph em, .ev-ph i { position: absolute; left: 8px; top: 8px; padding: 3px 8px; border-radius: var(--r-pill); background: var(--grad); color: #fff; font-size: 11px; font-weight: 800; font-style: normal; }
.ev-ph i { left: auto; right: 8px; background: var(--ink); }
.ev-ph-acts { position: absolute; right: 6px; bottom: 6px; display: flex; gap: 6px; }
.ev-ph-acts .cms-ic { background: rgba(255, 255, 255, .92); }
.ev-ph-empty { display: flex; align-items: center; gap: 8px; color: var(--grey); margin: 0; grid-column: 1 / -1; }
.ev-addph { cursor: pointer; }
.ev-dates.with-times li { flex-wrap: wrap; row-gap: 2px; }
.ev-dates.with-times li span { white-space: nowrap; }
.ev-dates.with-times li b { margin-left: auto; }
.ev-lgs.on-fig { position: absolute; right: 14px; top: 14px; z-index: 2; }
.ev-lgs.on-fig .ev-lg { height: 26px; min-width: 34px; background: var(--paper); box-shadow: var(--sh-2); font-size: 12px; border-radius: var(--r-s); }
.ev-when { flex-wrap: nowrap; white-space: nowrap; overflow: hidden; }
.ev-when > span { overflow: hidden; text-overflow: ellipsis; }
.ev-form .set-card > .st-help { display: block; margin: -6px 0 14px; }
/* v2.8.4 calmer dates: neutral rows and badges, orange only as an accent */
.ev-dates li { background: var(--paper); border-color: var(--line); color: var(--ink); }
.ev-dates li.next { background: var(--paper); border-color: var(--orange); color: var(--ink); box-shadow: inset 3px 0 0 var(--orange); }
.ev-dates li.next b { color: var(--brand-dark); }
.ev-dates.with-times li b { color: var(--ink); }
.ev-dates.with-times li.next b { color: var(--brand-dark); }
.ev-date-big .ev-badge { background: var(--paper); border: 1px solid var(--line); box-shadow: var(--sh-1); }
.ev-date-big .ev-badge b { color: var(--ink); }
.ev-date-big .ev-badge small { color: var(--orange); }
.ev-row .ev-badge, .ev-crow .cms-logo .ev-badge { background: var(--paper); border: 1px solid var(--line); }
/* v2.8.5 main search also lists matching events above the venues */
.ev-hits { margin: 0 0 26px; }
.ev-hits h2 { display: flex; align-items: center; gap: 8px; font-size: 18px; margin: 0 0 12px; }
.ev-hits h2 .mi { color: var(--yellow); }
.ev-hits h2 small { font-size: 13px; font-weight: 600; color: var(--grey); background: var(--soft, #f4f4f4); border-radius: var(--r-pill); padding: 2px 9px; }
.ev-hits .ev-all { display: inline-flex; align-items: center; gap: 4px; margin-top: 10px; border: 0; background: none; padding: 0; font: inherit; font-weight: 600; color: var(--ink); cursor: pointer; }
.ev-hits .ev-all:hover { color: var(--brand-dark); }
.ev-hits .ev-all .mi { font-size: 18px; }
/* v2.8.6 — remove venue (top of the edit page), age filter note, editor scroll */
.ct-pill.ct-pill-danger { color: #b42318; border-color: #f3c2bd; }
.ct-pill.ct-pill-danger:hover { background: #fdecea; border-color: #e8a29a; color: #912018; }
.fgrid .f-note { margin: 8px 0 0; font-size: 12px; line-height: 1.4; color: var(--grey); }
.jodit-container .jodit-workplace { overscroll-behavior: contain; }
@media (pointer: coarse), (max-width: 760px) { .jodit-container .jodit-workplace, .jodit-container .jodit-wysiwyg { overflow: visible !important; height: auto !important; max-height: none !important; } }
/* v2.8.7 — "Add an event" form */
#aef .form-card + .form-card { margin-top: 18px; }
#aef .ff + .ff, #aef .grid2 + .ff, #aef .ff + .grid2 { margin-top: 14px; }
.ae-mode { margin-bottom: 14px; }
.ae-drow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 140px) 40px; gap: 8px; align-items: center; margin-bottom: 8px; }
.ae-drow .cms-ic { width: 40px; height: 40px; }
#ae-dadd { margin-top: 4px; }
.ae-free { display: inline-flex; align-items: center; gap: 8px; margin-top: 30px; font-weight: 600; cursor: pointer; }
.ae-free input { width: 18px; height: 18px; accent-color: var(--orange); }
.ae-price input:disabled { opacity: .5; }
.ae-drop { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 92px; border: 1px dashed var(--line); border-radius: var(--r-m); background: var(--wash); color: var(--ink); font-weight: 600; cursor: pointer; transition: border-color .2s; }
.ae-drop:hover { border-color: var(--yellow); }
.ae-drop .mi { font-size: 30px; color: var(--yellow); }
.ae-thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.ae-thumbs .th { position: relative; border: 0; padding: 0; background: none; border-radius: var(--r-s); overflow: hidden; cursor: pointer; }
.ae-thumbs .th img { width: 96px; height: 70px; object-fit: cover; display: block; }
.ae-thumbs .th > span { position: absolute; right: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: rgba(0, 0, 0, .55); color: #fff; display: grid; place-items: center; }
.ae-thumbs .th > span .mi { font-size: 14px; }
.ae-thumbs .th em { position: absolute; left: 4px; bottom: 4px; padding: 1px 6px; border-radius: var(--r-xs); background: rgba(0, 0, 0, .55); color: #fff; font-size: 11px; font-style: normal; font-weight: 600; text-transform: uppercase; }
#aef .form-submit { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
#aef .consent { display: flex; align-items: flex-start; gap: 10px; max-width: 560px; font-size: 14px; line-height: 1.45; cursor: pointer; }
#aef .consent input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--orange); }
@media (max-width: 640px) { #aef .form-submit .btn { width: 100%; } .ae-free { margin-top: 4px; } }
/* v2.8.7 — Prices page, package cards (also on the thank-you page) */
.pl-hero h1 { max-width: 16ch; }
.pl-wrap { position: relative; margin-top: clamp(-80px, -7vw, -56px); padding-bottom: 80px; }
.pl-why { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pl-why-i { display: flex; flex-direction: column; gap: 8px; padding: 24px; border-radius: var(--r-m); background: #fff; border: 1px solid rgba(var(--plum-deep-rgb), .07); box-shadow: var(--sh-1); }
.pl-why-i h3 { margin: 6px 0 0; font-size: 18px; color: var(--plum); }
.pl-why-i p { margin: 0; color: var(--grey); font-size: 14px; line-height: 1.55; }
.pl-plans { text-align: center; }
.pl-plans .sec-title, .th-plans .sec-title { margin-bottom: 8px; }
.pl-plans-sub { margin: 0 auto 22px; max-width: 60ch; color: var(--grey); line-height: 1.55; }
.pl-terms { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 4px; padding: 5px; margin-bottom: 30px; border-radius: var(--r-pill); background: var(--tint); border: 1px solid var(--tint-line); }
.pl-terms button { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 18px; border: 0; border-radius: var(--r-pill); background: none; font: inherit; font-size: 14px; font-weight: 600; color: var(--plum); cursor: pointer; transition: background .2s, box-shadow .2s; }
.pl-terms button small { padding: 2px 7px; border-radius: var(--r-pill); background: rgba(34, 197, 94, .14); color: #15803d; font-size: 12px; font-weight: 700; }
.pl-terms button.on { background: #fff; box-shadow: var(--sh-1); }
.pl-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; text-align: left; }
.pl-card { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 28px 26px 26px; border-radius: var(--r-l); background: #fff; border: 1px solid rgba(var(--plum-deep-rgb), .08); box-shadow: var(--sh-1); transition: transform .2s, box-shadow .2s; }
.pl-card:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }
.pl-card.hot { border: 2px solid transparent; background: linear-gradient(#fff, #fff) padding-box, var(--grad) border-box; box-shadow: var(--sh-2); }
.pl-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 5px; padding: 5px 14px; border-radius: var(--r-pill); background: var(--grad); color: #fff; font-size: 13px; font-weight: 700; white-space: nowrap; box-shadow: var(--sh-1); }
.pl-badge .mi { font-size: 16px; }
.pl-head { display: flex; align-items: center; gap: 12px; }
.pl-ic { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: var(--r-s); background: linear-gradient(135deg, var(--tint-2), var(--tint-3)); color: var(--orange); }
.pl-card.hot .pl-ic { background: var(--grad); color: #fff; }
.pl-head h3 { margin: 0; font-size: 19px; color: var(--plum); line-height: 1.25; }
.pl-sub { margin: 2px 0 0; color: var(--grey); font-size: 13px; }
.pl-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; }
.pl-price b { font-size: 44px; line-height: 1; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.pl-price s { color: var(--grey-2); font-size: 18px; }
.pl-price span { color: var(--grey); font-size: 14px; }
.pl-bill { margin: -6px 0 0; font-size: 13px; color: var(--grey); min-height: 1.4em; }
.pl-bill em { font-style: normal; font-weight: 700; color: #15803d; }
.pl-points { list-style: none; margin: 4px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.pl-points li { display: flex; gap: 10px; font-size: 14px; line-height: 1.45; color: var(--ink); }
.pl-points .mi { flex: none; font-size: 20px; color: var(--orange); }
.pl-cta { margin-top: auto; justify-content: center; }
.pl-extra { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 48px; }
.pl-band { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 40px; padding: 30px 34px; border-radius: var(--r-l); background: linear-gradient(160deg, var(--block-from) 0%, var(--block-to) 100%); color: #fff; }
.pl-band h2 { margin: 0 0 6px; font-size: 24px; color: #fff; }
.pl-band p { margin: 0; color: rgba(255, 255, 255, .78); }
/* about page card + thank-you page */
.ab-prices .ab-from { align-self: flex-start; margin-top: 8px; padding: 4px 12px; border-radius: var(--r-pill); background: var(--grad); color: #fff; font-weight: 700; font-size: 14px; }
.th-wrap { padding-bottom: 70px; }
.th-top { padding-bottom: 20px; }
.th-steps { list-style: none; margin: 0 auto 10px; padding: 0; max-width: 900px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.th-steps li { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 20px 20px 18px; border-radius: var(--r-m); background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-1); font-size: 14px; line-height: 1.45; }
.th-steps li > .mi { font-size: 26px; color: var(--orange); }
.th-n { position: absolute; top: 14px; right: 16px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--tint); color: var(--plum); font-weight: 700; font-size: 13px; }
.th-plans { text-align: center; margin-top: 10px; }
.pl-grid.compact .pl-card { padding: 22px 20px 20px; gap: 12px; }
.pl-grid.compact .pl-price b { font-size: 34px; }
.th-more { margin: 22px 0 0; }
.th-more a { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; color: var(--orange); text-decoration: none; }
.th-acts { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 36px; }
@media (max-width: 960px) {
  .pl-grid, .pl-why, .pl-extra, .th-steps { grid-template-columns: 1fr; }
  .pl-grid { gap: 26px; max-width: 560px; margin: 0 auto; }
  .pl-card.hot { order: -1; }
  /* compact cards (thank-you page) become rows: name left, price + button right */
  .pl-grid.compact { gap: 14px; }
  .pl-grid.compact .pl-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 14px; row-gap: 6px; padding: 18px; }
  .pl-grid.compact .pl-card.hot { padding-top: 24px; }
  .pl-grid.compact .pl-head { grid-column: 1; }
  .pl-grid.compact .pl-price { grid-column: 2; grid-row: 1; justify-content: flex-end; }
  .pl-grid.compact .pl-price b { font-size: 26px; }
  .pl-grid.compact .pl-price span, .pl-grid.compact .pl-price s { display: none; }
  .pl-grid.compact .pl-bill { grid-column: 1 / -1; margin: 0; }
  .pl-grid.compact .pl-cta { grid-column: 1 / -1; }
  .pl-band { padding: 24px; }
}
@media (max-width: 560px) { .pl-terms { display: flex; } .pl-terms button { flex: 1 1 auto; justify-content: center; padding: 0 12px; } .pl-price b { font-size: 38px; } }
@media (max-width: 560px) {
  .pl-terms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; border-radius: var(--r-m); }
  .pl-terms button { flex-direction: column; gap: 3px; height: auto; min-height: 52px; padding: 8px 4px; border-radius: 12px; font-size: 13px; line-height: 1.2; }
  .th-steps li { flex-direction: row; align-items: center; gap: 12px; padding: 14px 44px 14px 16px; }
  .th-steps li > .mi { flex: none; }
  .th-n { top: 50%; transform: translateY(-50%); }
}
/* v2.8.7 — link "bento" (about + contact pages) redesigned: one floating panel, hairline dividers, coloured icons, rows on phones */
.ct-bento, .ab-wrap .ab-bento { gap: 1px; padding: 0; border-radius: var(--r-l); overflow: hidden; background: var(--line); border: 1px solid var(--line); box-shadow: var(--sh-2); }
.ab-wrap .ab-bento { margin-top: 40px; }
.ct-bento > .ct-card { border: 0; border-radius: 0; box-shadow: none; background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; padding: 28px 26px 24px; gap: 8px; }
.ct-bento > .ct-mail { background: linear-gradient(160deg, var(--block-from) 0%, var(--block-to) 100%); }
.ct-bento > .ct-link { transition: background .2s; }
.ct-bento > .ct-link:hover { transform: none; box-shadow: none; background: #fffaf2; }
.ct-bento > .ct-link .ct-ic { width: 52px; height: 52px; border-radius: 50%; transition: transform .25s; }
.ct-bento > .ct-link:hover .ct-ic { transform: scale(1.08) rotate(-4deg); }
.ct-bento > .ct-link h3 { font-size: 17px; margin-top: 10px; }
.ct-bento > .ct-link .ct-more { padding-top: 14px; }
.ct-bento > .ct-link:nth-child(4n+2) .ct-ic { background: rgba(var(--plum-deep-rgb), .08); color: var(--plum); }
.ct-bento > .ct-link:nth-child(4n+3) .ct-ic { background: rgba(34, 197, 94, .12); color: #16a34a; }
.ct-bento > .ct-link:nth-child(4n) .ct-ic { background: rgba(59, 130, 246, .12); color: #2563eb; }
@media (max-width: 1100px) { .ct-bento, .ab-wrap .ab-bento { grid-template-columns: 1fr 1fr; gap: 1px; } }
@media (max-width: 640px) {
  .ct-bento, .ab-wrap .ab-bento { grid-template-columns: 1fr; gap: 1px; border-radius: var(--r-m); }
  .ct-bento > .ct-link { display: grid; grid-template-columns: 44px minmax(0, 1fr) 24px; column-gap: 14px; align-items: center; padding: 16px 16px; }
  .ct-bento > .ct-link .ct-ic { grid-row: 1 / span 2; width: 44px; height: 44px; }
  .ct-bento > .ct-link .ct-ic .mi { font-size: 22px; }
  .ct-bento > .ct-link h3 { grid-column: 2; margin: 0; font-size: 16px; }
  .ct-bento > .ct-link p { grid-column: 2; font-size: 13px; }
  .ct-bento > .ct-link .ct-more { grid-column: 3; grid-row: 1 / span 2; padding: 0; margin: 0; font-size: 0; color: var(--orange); }
  .ct-bento > .ct-link .ct-more .mi { font-size: 22px; }
  .ct-bento > .ct-mail { padding: 22px 18px; }
}
/* v2.8.7 — Prices as a landing page */
.lp-hero { position: relative; overflow: hidden; background: radial-gradient(70% 90% at 100% 0%, rgba(255, 255, 255, .28), transparent 60%), var(--grad); color: #fff; padding: clamp(40px, 6vw, 80px) 0 clamp(90px, 9vw, 130px); }
.lp-hero::before { content: ""; position: absolute; left: -120px; bottom: -160px; width: 420px; height: 420px; border-radius: 50%; border: 56px solid rgba(255, 255, 255, .12); pointer-events: none; }
.lp-hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.lp-eyebrow { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .22); border: 1px solid rgba(255, 255, 255, .35); font-size: 13px; font-weight: 700; letter-spacing: .02em; }
.lp-eyebrow .mi { font-size: 16px; }
.lp-copy h1 { margin: 18px 0 16px; font-size: clamp(34px, 5vw, 58px); line-height: 1.04; font-weight: 800; letter-spacing: -.025em; color: #fff; text-shadow: 0 2px 18px rgba(120, 50, 0, .18); }
.lp-lead { margin: 0; max-width: 54ch; font-size: clamp(16px, 1.5vw, 19px); line-height: 1.6; color: rgba(255, 255, 255, .95); }
.lp-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.lp-btn { height: 52px; padding: 0 24px; font-size: 16px; border-radius: var(--r-pill); }
.lp-hero .btn-grad { background: var(--plum); color: #fff; box-shadow: 0 10px 26px rgba(61, 9, 65, .35); }
.lp-hero .btn-grad:hover { background: #55105b; }
.lp-btn-ghost { background: rgba(255, 255, 255, .18); color: #fff; border: 1px solid rgba(255, 255, 255, .55); }
.lp-btn-ghost:hover { background: rgba(255, 255, 255, .3); }
.lp-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 26px 0 0; padding: 0; font-size: 14px; font-weight: 600; }
.lp-trust li { display: inline-flex; align-items: center; gap: 6px; }
.lp-trust .mi { font-size: 18px; }
.lp-visual { position: relative; min-height: 430px; display: grid; place-items: center; }
.lp-blob { position: absolute; inset: 8% 6%; border-radius: 42% 58% 55% 45% / 48% 40% 60% 52%; background: rgba(255, 255, 255, .2); filter: blur(1px); }
.lp-card { position: relative; width: min(340px, 86%); border-radius: 22px; overflow: hidden; background: #fff; color: var(--ink); box-shadow: 0 30px 60px rgba(61, 9, 65, .28); transform: rotate(-2.5deg); }
.lp-fig { position: relative; aspect-ratio: 16 / 10; background: var(--tint); }
.lp-fig img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lp-badge { position: absolute; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: var(--r-pill); background: var(--grad); color: #fff; font-size: 12px; font-weight: 700; box-shadow: var(--sh-1); }
.lp-badge .mi { font-size: 14px; }
.lp-body { padding: 14px 16px 16px; display: grid; gap: 4px; }
.lp-body b { font-size: 17px; color: var(--plum); }
.lp-body > span { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; color: var(--grey); }
.lp-body > span .mi { font-size: 16px; color: var(--orange); }
.lp-btns { display: flex; gap: 6px; margin-top: 8px; }
.lp-btns span { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 4px; height: 34px; border-radius: 10px; background: var(--tint); color: var(--plum); font-size: 12px; font-weight: 700; }
.lp-btns .mi { font-size: 16px; color: var(--orange); }
.lp-float { position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border-radius: 16px; background: #fff; color: var(--ink); box-shadow: 0 16px 36px rgba(61, 9, 65, .22); animation: lp-bob 5s ease-in-out infinite; }
.lp-float b { display: block; font-size: 13px; color: var(--plum); }
.lp-float small { display: block; font-size: 12px; color: var(--grey); }
.lp-dot { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: #fff; }
.lp-dot .mi { font-size: 20px; }
.lp-dot.g { background: #22c55e; } .lp-dot.o { background: var(--orange); } .lp-dot.p { background: #25d366; }
.lp-f1 { right: -2%; top: 4%; }
.lp-f2 { left: -4%; top: 30%; animation-delay: -1.6s; }
.lp-f3 { right: 0; bottom: -2%; animation-delay: -3.2s; }
@keyframes lp-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .lp-float { animation: none; } }
.lp-wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 70px; fill: var(--paper, #fff); }
.lp { padding-bottom: 80px; }
.lp-stats { position: relative; z-index: 1; margin-top: -54px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-radius: var(--r-l); background: #fff; box-shadow: var(--sh-2); border: 1px solid var(--line); overflow: hidden; }
.lp-stats > div { padding: 22px 16px; text-align: center; display: grid; gap: 2px; }
.lp-stats > div + div { border-left: 1px solid var(--line); }
.lp-stats b { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; letter-spacing: -.02em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lp-stats span { font-size: 14px; color: var(--grey); }
.lp-sec { margin-top: clamp(56px, 7vw, 96px); text-align: center; }
.lp-sec > h2, .pl-plans > h2 { margin: 8px auto 12px; max-width: 24ch; font-size: clamp(26px, 3.4vw, 40px); line-height: 1.12; letter-spacing: -.02em; color: var(--plum); }
.lp-kicker { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--orange); }
.lp-steps { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; position: relative; text-align: left; }
.lp-steps::before { content: ""; position: absolute; left: 16%; right: 16%; top: 40px; border-top: 2px dashed var(--tint-line); }
.lp-steps li { position: relative; padding: 28px 24px 24px; border-radius: var(--r-l); background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-1); }
.lp-step-n { position: absolute; right: 20px; top: 16px; font-size: 44px; font-weight: 800; line-height: 1; color: var(--tint-2); }
.lp-step-ic { position: relative; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; background: var(--grad); color: #fff; box-shadow: var(--sh-accent); }
.lp-step-ic .mi { font-size: 28px; }
.lp-steps h3, .lp-feat h3 { margin: 16px 0 6px; font-size: 18px; color: var(--plum); }
.lp-steps p, .lp-feat p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--grey); }
.lp-feats { margin-top: 36px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; text-align: left; }
.lp-feat { display: flex; gap: 14px; padding: 22px; border-radius: var(--r-m); background: linear-gradient(180deg, #fff, #fffaf3); border: 1px solid var(--line); transition: transform .2s, box-shadow .2s; }
.lp-feat:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }
.lp-feat h3 { margin-top: 2px; }
.lp-feat-ic { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: linear-gradient(135deg, var(--tint-2), var(--tint-3)); color: var(--orange); }
.lp-feat-ic .mi { font-size: 24px; }
.lp .pl-plans { margin-top: clamp(56px, 7vw, 96px); padding: clamp(36px, 5vw, 60px) clamp(16px, 3vw, 40px); border-radius: 32px; background: radial-gradient(60% 60% at 50% 0%, rgba(var(--yellow-2-rgb), .25), transparent 70%), var(--tint); }
.lp-h2s { font-size: clamp(22px, 2.6vw, 30px); color: var(--plum); margin: 0 0 20px; }
.lp-cmp-sec { margin-top: clamp(48px, 6vw, 80px); }
.lp-cmp { max-width: 900px; margin: 0 auto; border-radius: var(--r-l); overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: var(--sh-1); }
.lp-cmp-r { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); align-items: center; }
.lp-cmp-r + .lp-cmp-r { border-top: 1px solid var(--line); }
.lp-cmp-r > span { padding: 14px 12px; text-align: center; font-size: 14px; }
.lp-cmp-r > span:first-child { text-align: left; padding-left: 22px; color: var(--ink); }
.lp-cmp-r > span.hot { background: rgba(var(--yellow-rgb), .1); }
.lp-cmp-h > span { font-weight: 800; color: var(--plum); font-size: 14px; }
.lp-cmp-h > span.hot { background: var(--grad); color: #fff; }
.lp-cmp .mi { color: #16a34a; font-size: 22px; }
.pl-no { color: var(--grey-2); font-weight: 700; }
.lp-split { margin-top: clamp(48px, 6vw, 80px); display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 20px; align-items: start; }
.lp-ev { display: flex; gap: 16px; padding: 28px; border-radius: var(--r-l); background: linear-gradient(160deg, #fff7e6, #fff); border: 1px solid var(--tint-line); }
.lp-ev h3 { margin: 2px 0 8px; font-size: 20px; color: var(--plum); }
.lp-ev p { margin: 0 0 16px; color: var(--grey); line-height: 1.55; font-size: 15px; }
.lp-faq { padding: 26px 28px; border-radius: var(--r-l); background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-1); }
.lp-faq h3 { margin: 0 0 8px; font-size: 20px; color: var(--plum); }
.lp-faq details { border-bottom: 1px solid var(--line); }
.lp-faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0; font-weight: 700; cursor: pointer; color: var(--ink); }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary .mi { color: var(--orange); transition: transform .2s; }
.lp-faq details[open] summary .mi { transform: rotate(180deg); }
.lp-faq details p { margin: 0 0 14px; color: var(--grey); line-height: 1.6; font-size: 14px; }
.lp-faq-more { margin: 16px 0 0; font-size: 14px; color: var(--grey); }
.lp-faq-more a { display: inline-flex; align-items: center; gap: 2px; font-weight: 700; color: var(--orange); text-decoration: none; }
.lp-faq-more .mi { font-size: 16px; }
.lp-final { margin-top: clamp(56px, 7vw, 96px); border-radius: 32px; overflow: hidden; position: relative; background: radial-gradient(60% 120% at 100% 0%, rgba(var(--yellow-rgb), .35), transparent 60%), linear-gradient(150deg, var(--block-from) 0%, var(--block-to) 100%); color: #fff; text-align: center; }
.lp-final::after { content: ""; position: absolute; right: -90px; bottom: -90px; width: 280px; height: 280px; border-radius: 50%; border: 40px solid rgba(255, 255, 255, .07); }
.lp-final-in { position: relative; z-index: 1; padding: clamp(40px, 6vw, 72px) 24px; }
.lp-final h2 { margin: 0 0 10px; font-size: clamp(26px, 3.4vw, 40px); letter-spacing: -.02em; color: #fff; }
.lp-final p { margin: 0 auto; max-width: 52ch; color: rgba(255, 255, 255, .8); font-size: 17px; }
.lp-final .lp-ctas { justify-content: center; }
.lp-btn-white { background: #fff; color: var(--plum); }
.lp-btn-white:hover { background: #fff3dc; }
.lp-btn-line { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .45); }
.lp-btn-line:hover { background: rgba(255, 255, 255, .1); }
@media (max-width: 1000px) {
  .lp-hero-in { grid-template-columns: 1fr; }
  .lp-visual { min-height: 330px; max-width: 520px; width: 100%; margin: 0 auto; }
  .lp-feats { grid-template-columns: 1fr 1fr; }
  .lp-split { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .lp-stats { grid-template-columns: 1fr 1fr; }
  .lp-stats > div:nth-child(3) { border-left: 0; }
  .lp-stats > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .lp-steps, .lp-feats { grid-template-columns: 1fr; }
  .lp-steps::before { display: none; }
  .lp-steps li { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 16px; padding: 20px; }
  .lp-step-ic { grid-row: 1 / span 2; }
  .lp-steps h3 { margin-top: 2px; }
  .lp-step-n { font-size: 32px; }
  .lp-cmp-r { grid-template-columns: minmax(0, 1.25fr) repeat(3, minmax(0, .8fr)); }
  .lp-cmp-r > span { padding: 12px 6px; font-size: 12px; }
  .lp-cmp-r > span:first-child { padding-left: 12px; font-size: 13px; }
  .lp-cmp-h > span { font-size: 11px; line-height: 1.2; }
  .lp-btn { flex: 1 1 auto; justify-content: center; }
  .lp-f2, .lp-f3 { display: none; } .lp-f1 { right: -4px; top: -2%; }
  .lp-visual { min-height: 0; padding: 24px 0 8px; }
  .lp-float { padding: 8px 10px 8px 8px; } .lp-dot { width: 30px; height: 30px; }
  .lp-ev { flex-direction: column; padding: 22px; } .lp-faq { padding: 20px; }
  .lp .pl-plans { border-radius: 24px; margin-left: -8px; margin-right: -8px; }
}
/* v2.8.8 — steps in the floating island under the hero */
.lp-island { position: relative; z-index: 1; margin-top: -58px; border-radius: var(--r-l); background: #fff; box-shadow: var(--sh-2); border: 1px solid var(--line); }
.lp-isteps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lp-isteps li { display: flex; gap: 14px; align-items: flex-start; padding: 22px 24px; }
.lp-isteps li + li { border-left: 1px solid var(--line); }
.lp-istep-ic { position: relative; flex: none; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 16px; background: var(--grad); color: #fff; box-shadow: var(--sh-accent); }
.lp-istep-ic .mi { font-size: 26px; }
.lp-istep-ic i { position: absolute; top: -7px; right: -7px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--plum); color: #fff; font-size: 11px; font-weight: 800; line-height: 1; font-style: normal; border: 2px solid #fff; }
.lp-isteps h3 { margin: 2px 0 4px; font-size: 16px; color: var(--plum); }
.lp-isteps p { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--grey); }
.lp .lp-island + .pl-plans { margin-top: clamp(36px, 5vw, 64px); }
@media (max-width: 900px) {
  .lp-isteps { grid-template-columns: 1fr; }
  .lp-isteps li { padding: 18px 20px; }
  .lp-isteps li + li { border-left: 0; border-top: 1px solid var(--line); }
}
/* v2.8.10 — plans section without the yellow gradient backdrop */
.lp .pl-plans { background: none; padding-left: 0; padding-right: 0; border-radius: 0; margin-left: 0; margin-right: 0; }
.lp-feat { background: #fff; }
/* v2.8.14 */
.search, .header-search { position: relative; }
.header-search label { position: relative; }
.suggest.suggest-wide { right: auto; }
.suggest.suggest-city { left: -1px; right: -1px; top: calc(100% + 4px); max-height: 320px; }
.header-search .suggest-city { left: 0; right: 0; }
.suggest.suggest-city button.hi { background: var(--wash); font-weight: 700; }
.suggest.suggest-city small { font-variant-numeric: tabular-nums; }
.banner.banner-sm { height: 143px; }
.banner.banner-sm h1 { font-size: clamp(24px, 2.6vw, 34px); }
.banner.banner-sm p { margin-top: 4px; font-size: 15px; }
@media (max-width: 720px) { .banner.banner-sm { height: 96px; } .banner.banner-sm p { display: none; } }
.cms-acts .cms-edit { color: var(--plum); }
.cms-acts .cms-edit:hover { color: var(--orange); }
.pl-vat { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 16px 0 0; font-size: 14px; color: var(--grey); text-align: center; }
.pl-vat .mi { font-size: 18px; color: var(--orange); }
.lp-copy h1 { overflow-wrap: break-word; hyphens: auto; }
html.no-zoom, html.no-zoom body { overflow-x: hidden; }
@supports (overflow: clip) { html.no-zoom, html.no-zoom body { overflow-x: clip; } }
html.no-zoom body { touch-action: pan-x pan-y; }
.st-admins { display: grid; gap: 8px; margin-bottom: 16px; }
.st-admin { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--paper); }
.st-admin > .mi { color: var(--orange); }
.st-admin b { font-weight: 600; overflow-wrap: anywhere; }
.st-admin.is-main { background: var(--tint); border-color: var(--tint-line); }
.st-admin-tag { font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: var(--r-pill); background: var(--grad); color: #fff; white-space: nowrap; }
.st-admin-me { font-size: 12px; color: var(--grey); }
.st-admin-rm { margin-left: auto; display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--grey); cursor: pointer; flex: none; }
.st-admin-rm:hover:not(:disabled) { color: #c0392b; border-color: #c0392b; }
.st-admin-rm:disabled { opacity: .55; cursor: not-allowed; }
.st-admin-add { display: flex; align-items: flex-end; gap: 10px; flex-wrap: wrap; }
.st-admin-add .ff { flex: 1 1 260px; margin: 0; }
.st-admin-add input[aria-invalid="true"] { border-color: #c0392b; }
.ev-card .ev-when { flex-wrap: wrap; white-space: normal; overflow: visible; row-gap: 2px; }
.ev-card .ev-when > span { overflow: visible; text-overflow: clip; white-space: nowrap; }
/* v2.8.15 services: names per language, merge */
.sug-svc .sug-f { display: grid; gap: 10px; }
.sug-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.sug-tabs button { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--r-pill); background: #fff; font: inherit; font-size: 13px; font-weight: 700; color: var(--grey); cursor: pointer; }
.sug-tabs button.on { border-color: var(--orange); color: var(--plum); box-shadow: 0 0 0 2px rgba(var(--yellow-rgb), .25); }
.sug-tabs button.filled:not(.on) { color: var(--plum); }
.sug-tabs button.filled::after { content: "✓"; color: #16a34a; }
.sug-tabs small { font-weight: 500; font-size: 11px; opacity: .8; }
.sug-tabs .r { color: #c0392b; }
.sug-row { display: flex; gap: 10px; flex-wrap: wrap; }
.sug-row .sug-nm { flex: 1 1 220px; min-width: 0; }
.sug-prw { position: relative; flex: 0 0 150px; display: flex; align-items: center; }
.sug-prw input { width: 100%; padding-right: 28px; }
.sug-prw span { position: absolute; right: 10px; color: var(--grey); font-size: 14px; pointer-events: none; }
.sug-hint { margin: 0; }
.sug-btns { display: flex; gap: 10px; align-items: center; }
.sug.bad .sug-nm.sug-in { border-color: #c0392b; }
.tx-flt { margin: 10px 0 4px; }
.tx-flt .pchip small { opacity: .7; margin-left: 4px; }
.tx-selbar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 10px 0; padding: 10px 14px; border-radius: var(--r-m); background: var(--tint); border: 1px solid var(--tint-line); position: sticky; top: 70px; z-index: 3; }
.tx-selbar small { color: var(--grey); }
.tx-ck { display: grid; place-items: center; width: 28px; flex: none; cursor: pointer; }
.tx-ck input { width: 18px; height: 18px; accent-color: var(--orange); cursor: pointer; }
.tx-langs { display: inline-flex; gap: 3px; margin-left: 8px; vertical-align: 2px; }
.tx-langs i { font-style: normal; font-size: 10px; font-weight: 800; padding: 1px 5px; border-radius: 6px; letter-spacing: .02em; }
.tx-langs i.ok { background: #e8f7ee; color: #15803d; }
.tx-langs i.no { background: #fdecea; color: #b42318; text-decoration: line-through; }
.tx-added { font-style: normal; display: inline-flex; align-items: center; gap: 3px; font-size: 12px; font-weight: 700; color: #1d4ed8; background: #e8efff; padding: 1px 8px; border-radius: var(--r-pill); margin-left: 6px; }
.tx-added .mi { font-size: 14px; }
.tx-mlist { display: grid; gap: 8px; margin: 14px 0; }
.tx-mopt { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-m); cursor: pointer; }
.tx-mopt:has(input:checked) { border-color: var(--orange); background: var(--tint); }
.tx-mopt input { accent-color: var(--orange); width: 18px; height: 18px; flex: none; }
.tx-mopt span { display: grid; gap: 2px; min-width: 0; flex: 1; }
.tx-mopt small { color: var(--grey); overflow-wrap: anywhere; }
.tx-mopt em { font-style: normal; font-size: 13px; color: var(--grey); white-space: nowrap; }
.sug-tabs img, .sug-tabs svg { width: 18px; height: 12px; border-radius: 2px; flex: none; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); }
.tx-row:has(.tx-ck) { grid-template-columns: 28px 22px auto 44px minmax(0, 1fr) auto auto; }
@media (max-width: 760px) {
  .tx-row:has(.tx-ck) { grid-template-columns: 28px 22px 44px minmax(0, 1fr) auto; }
  .tx-row:has(.tx-ck) .tx-n { grid-column: 4; }
  .tx-row:has(.tx-ck) .cms-acts { grid-column: 5; }
}

/* v2.10 "Add" page: venue · event · specialist tabs above the form */
.add-tabs { display: flex; gap: 6px; max-width: 760px; margin: 0 auto 18px; padding: 5px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-pill); box-shadow: var(--sh-1, 0 2px 10px rgba(0,0,0,.05)); }
.add-tabs button { flex: 1 1 0; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 8px 12px; border: 0; border-radius: var(--r-pill); background: none; color: var(--grey); font: inherit; font-weight: 700; font-size: 16px; cursor: pointer; transition: background .2s, color .2s; }
.add-tabs button .mi { color: var(--yellow); font-size: 22px; }
.add-tabs button:hover { color: var(--ink); background: var(--tint-1, #fffaf0); }
.add-tabs button.on { background: var(--grad); color: #fff; }
.add-tabs button.on .mi { color: #fff; }
.add-tabs button:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
@media (max-width: 560px) { .add-tabs { margin-inline: 0; } .add-tabs button { flex-direction: column; gap: 2px; font-size: 13px; padding: 6px 4px; border-radius: 18px; } .add-tabs { border-radius: 22px; } }
.ab-partner .ab-add { display: inline-flex; align-items: center; gap: 8px; padding: 10px 22px; border-radius: var(--r-pill); color: #fff; font-weight: 700; }   /* v2.10 orange CTA on the about page */

/* v2.10 tags in the add / edit form: about three rows, the rest under a soft fade; "Show all" opens the list */
.tg-fold { position: relative; max-height: 132px; overflow: hidden; transition: max-height .35s ease; }
.tg-fold::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 64px; background: linear-gradient(rgba(255,255,255,0), var(--paper) 85%); pointer-events: none; transition: opacity .25s; }
.tg-fold.open { max-height: 3000px; }
.tg-fold.open::after { opacity: 0; }
.tg-more { display: inline-flex; align-items: center; gap: 4px; margin: 6px 0 2px; font-weight: 700; color: var(--brand-dark, var(--ink)); }
.tg-more .mi { transition: transform .25s; color: var(--yellow); }
.tg-more.on .mi { transform: rotate(180deg); }

/* v2.10 listing page: downloads, photo grid, tall (vertical) videos */
.dl-area { margin-top: 28px; }
.dl-list { display: grid; gap: 12px; }
.dl-item { display: grid; grid-template-columns: 88px minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 14px 16px; border: 2px dashed var(--line); border-radius: var(--r-m); background: linear-gradient(180deg, #fffdf6, var(--paper)); }
.dl-thumb { position: relative; width: 88px; height: 88px; display: grid; place-items: center; border: 0; border-radius: var(--r-s); background: var(--tint-2, #fff3d6); color: var(--orange); overflow: hidden; padding: 0; cursor: default; }
button.dl-thumb { cursor: zoom-in; }
.dl-thumb > .mi { font-size: 44px; }
.dl-thumb img { width: 100%; height: 100%; object-fit: cover; }
.dl-pdf .dl-thumb { color: #d93025; background: #fdecea; } .dl-doc .dl-thumb, .dl-docx .dl-thumb { color: #2b579a; background: #e8eef8; }
.dl-xls .dl-thumb, .dl-xlsx .dl-thumb { color: #217346; background: #e6f4ea; } .dl-ppt .dl-thumb, .dl-pptx .dl-thumb { color: #c43e1c; background: #fbe9e3; }
.dl-zoom { position: absolute; right: 4px; bottom: 4px; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--ink); box-shadow: 0 1px 4px rgba(0,0,0,.15); }
.dl-zoom .mi { font-size: 18px; }
.dl-b { min-width: 0; display: grid; gap: 4px; }
.dl-b b { font-size: 17px; overflow-wrap: anywhere; }
.dl-b small { color: var(--grey); }
.dl-acts { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.dl-acts .btn { display: inline-flex; align-items: center; gap: 6px; padding: 9px 18px; border-radius: var(--r-pill); }
@media (max-width: 640px) { .dl-item { grid-template-columns: 64px minmax(0, 1fr); } .dl-thumb { width: 64px; height: 64px; } .dl-thumb > .mi { font-size: 34px; } .dl-acts { grid-column: 1 / -1; justify-content: stretch; } .dl-acts > * { flex: 1; justify-content: center; } }
.lightbox.lb-doc { display: flex; flex-direction: column; padding: 0; }
.lb-doc-bar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: var(--paper); }
.lb-doc-bar b { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lb-doc-bar .lx { position: static; }
.lb-doc iframe { flex: 1; width: 100%; border: 0; background: #fff; }
.p-grid-sec { margin-top: 28px; }
.p-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; }
.p-cell { aspect-ratio: 4 / 3; padding: 0; border: 0; border-radius: var(--r-s); overflow: hidden; cursor: zoom-in; background: var(--tint-2, #fff3d6); }
.p-cell img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.p-cell:hover img { transform: scale(1.05); }
.p-cell:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.video-box.tall { max-width: 360px; aspect-ratio: 9 / 16; }
.video-box video { width: 100%; height: 100%; border-radius: inherit; background: #000; }

/* v2.10 edit page: downloadable files */
.ef-docs .drop { cursor: pointer; }
.ef-list { display: grid; gap: 8px; margin-top: 10px; }
.ef-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid var(--line); border-radius: var(--r-s); }
.ef-row > .mi { color: var(--orange); font-size: 24px; }
.ef-row input { min-width: 0; border: 0; background: none; font: inherit; font-weight: 600; padding: 4px 6px; border-radius: 6px; }
.ef-row input:not([readonly]):hover, .ef-row input:focus { background: var(--tint-1, #fffaf0); outline: none; }
.ef-row small { color: var(--grey); white-space: nowrap; }
.ef-x { border: 0; background: none; color: var(--grey); cursor: pointer; padding: 4px; border-radius: 50%; }
.ef-x:hover { color: #c62828; background: #fdecea; }
@media (max-width: 560px) { .ef-row { grid-template-columns: auto minmax(0, 1fr) auto; } .ef-row small { grid-column: 2; } }

/* v2.10 edit page: package switcher */
.tier-card .tier-head h3 { display: flex; align-items: center; gap: 8px; margin: 0; }
.tier-card .tier-head h3 .mi { color: var(--orange); }
.tier-card .tier-head .sub { margin: 4px 0 14px; }
.tier-sw { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.tier-opt { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 18px 10px 14px; border: 2px solid var(--line); border-radius: var(--r-m); background: var(--paper); font: inherit; color: var(--ink); cursor: pointer; text-align: center; transition: border-color .2s, box-shadow .2s, transform .15s; }
.tier-opt:hover { border-color: var(--yellow); transform: translateY(-2px); box-shadow: 0 6px 18px rgba(var(--orange-rgb), .15); }
.tier-opt.hot { background: linear-gradient(180deg, #fff8ec, var(--paper)); }
.tier-opt.on { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(var(--orange-rgb), .18); }
.tier-opt.req:not(.on) { border-style: dashed; border-color: var(--orange); }
.tier-now { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); padding: 2px 10px; border-radius: var(--r-pill); background: var(--grad); color: #fff; font-size: 11px; font-weight: 800; white-space: nowrap; }
.tier-now.tier-asked { background: #fff8ec; color: var(--orange); border: 1px solid rgba(var(--orange-rgb), .45); }
.tier-ic { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--tint-2, #fff3d6); color: var(--orange); }
.tier-ic .mi { font-size: 22px; }
.tier-name { font-size: 15px; }
.tier-price { display: flex; align-items: baseline; gap: 4px; flex-wrap: wrap; justify-content: center; }
.tier-price b { font-size: 20px; } .tier-price s { color: var(--grey-2, #999); font-size: 13px; } .tier-price small { color: var(--grey); font-size: 12px; }
.tier-free { color: #1e8e3e; letter-spacing: .06em; }
.tier-trial { color: var(--grey); font-size: 12px; line-height: 1.3; }
.tier-terms { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-top: 12px; font-size: 13px; color: var(--grey); }
.tier-terms button { border: 0; background: none; padding: 4px 2px; font: inherit; color: var(--grey); cursor: pointer; border-bottom: 2px solid transparent; }
.tier-terms button.on { color: var(--ink); border-bottom-color: var(--yellow); font-weight: 700; }
.tier-terms em { font-style: normal; font-weight: 800; color: #fff; background: var(--orange); padding: 0 6px; border-radius: var(--r-pill); }
.tier-vat { margin-left: auto; font-size: 12px; }
@media (max-width: 720px) { .tier-sw { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 10px; } .tier-vat { margin-left: 0; width: 100%; } }
.tier-thx { text-align: center; padding: 8px 6px 4px; }
.tier-thx-ic { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--grad); color: #fff; margin-bottom: 8px; animation: tierPop .5s cubic-bezier(.2, 1.4, .4, 1); }
.tier-thx-ic .mi { font-size: 38px; }
.tier-thx h3 { margin: 6px 0 8px; font-size: 24px; }
.tier-thx-pick { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: var(--r-pill); background: #fff8ec; color: var(--ink); }
.tier-thx-pick .mi { color: var(--orange); }
.tier-thx .btn { margin-top: 10px; min-width: 180px; }
@keyframes tierPop { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .tier-thx-ic { animation: none; } .tier-opt:hover { transform: none; } }

/* v2.10 zoom inside the photo viewer (the page itself is not zoomable) */
.lightbox { overflow: hidden; }
.lightbox img { touch-action: none; transition: transform .2s ease; cursor: zoom-in; user-select: none; -webkit-user-drag: none; }
.lightbox.zoomed img { cursor: grab; transition: none; }
.lightbox .lz { right: max(20px, env(safe-area-inset-right, 0px)); bottom: max(20px, env(safe-area-inset-bottom, 0px)); }
.lightbox.zoomed .lp, .lightbox.zoomed .ln { opacity: .35; }

/* v2.10 admin: a section's categories, collapsed above its list */
.cms-cats { margin: 0 0 18px; border: 1px solid var(--tint-line, var(--line)); border-radius: var(--r-m); background: var(--paper); }
.cms-cats > summary { display: flex; align-items: center; gap: 10px; padding: 12px 16px; cursor: pointer; list-style: none; font-weight: 700; }
.cms-cats > summary::-webkit-details-marker { display: none; }
.cms-cats > summary > .mi:first-child { color: var(--orange); font-size: 22px; }
.cms-cats > summary small { padding: 1px 9px; border-radius: var(--r-pill); background: var(--tint, #fff3d6); color: var(--ink); font-weight: 700; }
.cms-cats > summary .tab-n { font-style: normal; }
.cms-cats-more { margin-left: auto; color: var(--grey); font-weight: 600; font-size: 14px; }
.cms-cats > summary > .mi:last-child { color: var(--grey); transition: transform .25s; }
.cms-cats[open] > summary > .mi:last-child { transform: rotate(180deg); }
.cms-cats[open] > summary { border-bottom: 1px solid var(--line); }
.cms-cats-body { padding: 14px 16px 6px; }
/* admin tabs wrap on phones instead of scrolling sideways */
@media (max-width: 900px) { .cms-tabs { flex-wrap: wrap; overflow: visible; border-radius: var(--r-m); } .cms-tabs button { flex: 1 1 auto; } }
.cms-cats .tab-n { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: var(--r-pill); background: var(--orange); color: #fff; font-size: 12px; font-weight: 800; }
@media (max-width: 900px) {
  .cms-tabs { gap: 4px; padding: 4px; }
  .cms-tabs button { flex: 1 1 30%; min-width: 0; padding: 8px 6px; font-size: 13px; gap: 4px; justify-content: center; }
  .cms-tabs button .mi { font-size: 18px; }
  .cms-cats-more { display: none; }
  .cms-cats > summary { padding: 10px 12px; }
  .cms-cats > summary > .mi:last-child { margin-left: auto; }
}

/* v2.10.2 home page map: edge to edge, no rounded corners or gaps — the section ends with the map */
.map-section.map-full { padding-bottom: 0; }
.map-section.map-full .map-box { width: 100%; height: min(78vh, 760px); min-height: 420px; border-radius: 0; box-shadow: none; margin: 0; }
@media (max-width: 720px) { .map-section.map-full .map-box { height: 70vh; min-height: 360px; } }
.map-section.map-full { background: var(--paper, #fff); }
.map-section.map-full .center-head { margin-bottom: 44px; }   /* v2.10.3 a little air between the heading and the map */
@media (max-width: 720px) { .map-section.map-full .center-head { margin-bottom: 28px; } }

/* v2.12.1 admin tabs: one line with every name (icon + name, like before); when they don't fit, the row swipes sideways
   (only the tab bar scrolls, never the page) and the open tab is kept in view */
.cms-tabs { flex-wrap: nowrap !important; overflow-x: auto !important; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity; border-radius: var(--r-pill) !important; }
.cms-tabs button { position: relative; flex: 0 0 auto !important; scroll-snap-align: center; }
@media (max-width: 1440px) { .cms-tabs { gap: 2px; } .cms-tabs button { padding: 0 12px !important; font-size: 14px; gap: 6px; } }
@media (max-width: 600px) { .cms-tabs { gap: 2px !important; padding: 3px !important; } .cms-tabs button { height: 38px !important; padding: 0 11px !important; font-size: 13px !important; gap: 5px !important; } .cms-tabs button .mi { font-size: 17px !important; } }
/* v2.12 package switcher: period on one line above the packages (a small segmented switch), current package = grey outline */
.tier-terms { display: inline-flex; flex-wrap: nowrap; gap: 2px; margin: 0 0 18px; padding: 3px; border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--paper); max-width: 100%; font-size: 13px; }
.tier-terms button { flex: 1 1 auto; padding: 6px 12px; border: 0; border-radius: var(--r-pill); white-space: nowrap; color: var(--grey); font-weight: 600; }
.tier-terms button.on { background: var(--tint, #fff8ec); color: var(--ink); border: 0; box-shadow: inset 0 0 0 1px rgba(var(--orange-rgb), .35); }
.tier-terms em { padding: 0 5px; font-size: 11px; }
.tier-opt.on { border-color: #b9b4c0; box-shadow: none; background: var(--wash, #f7f5fa); }
.tier-opt.on .tier-now { background: #8d8796; }
.tier-vat { margin: 10px 0 0; color: var(--grey); font-size: 12px; text-align: right; }
.tier-ro .tier-opt { cursor: default; }
.tier-ro .tier-opt:hover { transform: none; box-shadow: none; border-color: var(--line); }
.tier-ro .tier-opt.on:hover { border-color: #b9b4c0; }
.th-plans .tier-card { margin-top: 8px; text-align: left; }
.th-plans .tier-terms { display: flex; width: max-content; margin-inline: auto; }
@media (max-width: 720px) { .tier-terms { display: flex; width: 100%; } .tier-terms button { padding: 6px 4px; font-size: 12px; } .tier-vat { text-align: left; } }
/* the package in the admin list (the main admin picks it there) */
.st-tier { display: inline-flex; align-items: center; gap: 4px; }
.st-tier.tier-sel { position: relative; padding-right: 6px; cursor: pointer; }
.st-tier.tier-sel select { appearance: none; -webkit-appearance: none; border: 0; background: transparent; font: inherit; color: inherit; padding: 0 14px 0 0; cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: right 5px center, right 1px center; background-size: 4px 4px; background-repeat: no-repeat; }
.st-tier.t-standard { background: #eef2ff; color: #3949ab; } .st-tier.t-featured { background: #fff4e0; color: #c56a00; } .st-tier.t-premium { background: #f3e8ff; color: #7b1fa2; } .st-tier.t-free { background: #eef7f0; color: #1e8e3e; }
.st-req { background: #fff8ec !important; color: var(--orange) !important; border: 1px dashed rgba(var(--orange-rgb), .5); }
.cms-tags label.st-tier { padding: 3px 8px 3px 7px; border-radius: var(--r-pill); font-size: 13px; font-weight: 700; white-space: nowrap; }
.cms-tags label.st-tier .mi { font-size: 15px; }
.cms-tags label.st-tier:focus-within { outline: 2px solid var(--orange); outline-offset: 1px; }
/* v2.12 not published: half transparent in the portal and admin lists (full again on hover / keyboard focus, so it can be worked with) */
.card.is-unpub, .cms-row.is-hidden, .tx-row.is-hidden { opacity: .5; transition: opacity .15s; }
.card.is-unpub:hover, .card.is-unpub:focus-within, .cms-row.is-hidden:hover, .cms-row.is-hidden:focus-within, .tx-row.is-hidden:hover, .tx-row.is-hidden:focus-within { opacity: 1; }

/* ===== v2.17 admin toolbars: "Add" full width, XLSX import / export side by side on phones ===== */
@media (max-width: 640px) {
  .cms-bar .cms-q, .cms-bar .cms-add, .cms-bar .cms-wide { flex: 1 1 100%; max-width: none; justify-content: center; }
  .cms-bar .cms-io { flex: 1 1 calc(50% - 5px); min-width: 0; max-width: none; justify-content: center; padding: 0 10px; }
}

/* ===== v2.17 collapsible cards (package, statistics, clients dashboard) — the choice is remembered ===== */
.fold-h { cursor: pointer; user-select: none; -webkit-user-select: none; display: flex; align-items: center; gap: 8px; }
.fold-h:focus-visible { outline: 2px solid var(--orange); outline-offset: 4px; border-radius: 8px; }
.fold-h .fold-ic { margin-left: auto; flex: 0 0 auto; width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--tint, #fff8e6); color: var(--plum) !important; font-size: 22px; transition: transform .2s, background .2s; }
.fold-h:hover .fold-ic { background: var(--tint-2, #ffefc2); }
.foldable.is-folded .fold-ic { transform: rotate(-90deg); }
.foldable.is-folded > :not(.fold-keep), .foldable.is-folded .fold-sub { display: none !important; }
.foldable.is-folded .fold-h { margin-bottom: 0; }
.foldable.is-folded { padding-top: 20px; padding-bottom: 20px; }
.fold-note { display: none; font-style: normal; font-size: 14px; font-weight: 600; color: var(--grey-2, #777); }
.foldable.is-folded .fold-note { display: inline; }
.fold-note::before { content: '· '; }
/* edit page: one-line menu to the cards (same look as Settings) */
.e-nav { margin-bottom: 18px; }
.e-nav a.on { background: var(--tint-2); }
.e-sec { scroll-margin-top: calc(var(--hdr-h, 100px) + 80px); }
@media (max-width: 1240px) { .e-sec { scroll-margin-top: 140px; } }
/* v2.17 clients overview: 4 numbers (the total is on the "All" filter below), can be closed */
.cl-kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) { .cl-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.cl-dash-h { margin: 0 0 12px; font-size: 18px; color: var(--plum); }
.cl-dash-h > .mi:first-child { color: var(--orange); }
.cl-dash.is-folded { padding: 0; margin-bottom: 16px; }
/* v2.17 client status "populated" (information filled in) — between "new" and "approached"; six filters */
.cms-tags .cl-st-populated { background: #ede7f6; color: #5e35b1; }
.cl-seg .cl-seg-populated input:checked + span { background: #ede7f6; border-color: #5e35b1; color: #5e35b1; }
.cl-stats { grid-template-columns: repeat(6, minmax(0, 1fr)); }
@media (max-width: 1100px) { .cl-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 460px) { .cl-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.cms-stats.ev-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .cms-stats.ev-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* v2.17 client list: contact line + linked places / professionals / events */
.cl-row .cms-main .cl-lang { display: inline-block; padding: 0 6px; border-radius: 6px; background: var(--tint-2, #fff3c4); color: var(--plum); font-weight: 700; font-size: 11px; line-height: 18px; vertical-align: 1px; }
.cl-row .cms-main .cl-links { display: flex; flex-wrap: wrap; gap: 2px 12px; margin-top: 3px; color: var(--plum); }
.cl-row .cms-main .cl-links > span { min-width: 0; overflow-wrap: anywhere; }
/* v2.17 client card: e-mails to the client — pick one, preview, send from the preview */
.cl-mail-sec h3 { display: flex; align-items: center; gap: 8px; }
.cl-mail-sec h3 .mi, .cl-stats-sec .fold-h > .mi:first-child { color: var(--orange); }
.mk-types { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; margin: 12px 0 14px; }
.mk-type { cursor: pointer; }
.mk-type input { position: absolute; opacity: 0; pointer-events: none; }
.mk-type span { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; row-gap: 2px; align-items: center; height: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-m); background: #fff; transition: border-color .15s, box-shadow .15s, background .15s; }
.mk-type span .mi { grid-row: span 2; width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--tint-2, #fff3c4); color: var(--orange); font-size: 20px; }
.mk-type b { font-size: 15px; color: var(--plum); line-height: 1.25; }
.mk-type small { font-size: 12.5px; color: var(--grey, #666); line-height: 1.35; }
.mk-type input:checked + span { border-color: var(--orange); box-shadow: 0 0 0 2px rgba(var(--orange-rgb), .25); background: var(--tint, #fffaf0); }
.mk-type input:focus-visible + span { outline: 3px solid var(--yellow); outline-offset: 2px; }
.mk-range { display: grid; grid-template-columns: repeat(2, minmax(0, 220px)); gap: 12px; margin-bottom: 8px; }
.mk-range[hidden] { display: none; }
.mk-acts { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 4px; }
@media (max-width: 560px) { .mk-range { grid-template-columns: 1fr 1fr; } .mk-acts .btn { flex: 1 1 100%; } }
.mk-modal { max-width: 760px !important; }
.mk-pv h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; }
.mk-pv h3 .mi { color: var(--orange); }
.mk-meta { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; margin: 0 0 12px; font-size: 14px; }
.mk-meta dt { color: var(--grey, #666); font-weight: 600; }
.mk-meta dd { margin: 0; font-weight: 700; color: var(--plum); overflow-wrap: anywhere; }
.mk-warn { display: flex; gap: 8px; align-items: flex-start; background: var(--warn-bg); color: var(--warn); }
.mk-frame { display: block; width: 100%; height: min(62vh, 640px); border: 1px solid var(--line); border-radius: var(--r-m); background: #fff; margin-bottom: 4px; }
/* v2.17.1 the clients overview uses the categories box look */
.cl-dash.cms-cats { padding: 0; margin-bottom: 18px; }
.cl-dash .cms-cats-body { padding: 16px; }
.cl-dash .cl-kpis { margin-bottom: 14px; }
/* v2.17.1 package switcher: the full sum for the chosen period below the monthly price (as on the prices page) */
.tier-bill { display: block; text-align: center; color: var(--plum); font-size: 12.5px; font-weight: 600; line-height: 1.35; }
.tier-bill em { display: block; font-style: normal; font-weight: 700; color: var(--ok, #2e7d32); }

/* ===== v2.18 one photo list (places, professionals, events): tap = main photo, drag = order ===== */
.pb.pb { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 10px; margin: 12px 0 4px; }
.pb-ph { position: relative; margin: 0; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; border: 2px solid var(--line); background: var(--tint, #fff8ec); cursor: pointer; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; transition: border-color .15s, box-shadow .15s; }
.pb-ph img { display: block; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.pb-ph:hover { border-color: var(--yellow); }
.pb-ph:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.pb-ph.is-main { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(var(--orange-rgb), .3); }
.pb-ph em { position: absolute; left: 6px; bottom: 6px; display: inline-flex; align-items: center; gap: 3px; max-width: calc(100% - 12px); padding: 3px 9px 3px 6px; border-radius: 999px; font-style: normal; font-weight: 800; font-size: 12px; line-height: 1.3; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pb-ph em .mi { font-size: 15px; }
.pb-main { background: var(--orange); background-image: var(--grad); }
.pb-set { background: rgba(0, 0, 0, .58); opacity: 0; transition: opacity .15s; }
.pb-ph:hover .pb-set, .pb-ph:focus-visible .pb-set { opacity: 1; }
@media (hover: none), (max-width: 560px) { .pb-set { opacity: .9; padding: 4px; } .pb-set .pb-txt { display: none; } }
.pb-new { position: absolute; top: 6px; left: 42px; padding: 2px 8px; border-radius: 999px; background: var(--ink, #222); color: #fff; font-style: normal; font-size: 11px; font-weight: 800; }
.pb-grip { position: absolute; top: 5px; left: 5px; width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--plum); cursor: grab; touch-action: none; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); }
.pb-rm { position: absolute; top: 5px; right: 5px; width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); color: #b3261e; cursor: pointer; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); }
.pb-rm .mi { font-size: 18px; }
.pb-rm:hover { background: #fff; }
.pb-drag { z-index: 5; cursor: grabbing; opacity: .95; box-shadow: 0 12px 30px rgba(0, 0, 0, .28); transition: none; }
.pb-dragging .pb-ph { cursor: grabbing; }
.pb-empty { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; margin: 0; color: var(--grey); }
.pb-hint { display: flex; align-items: center; gap: 6px; margin: 2px 0 10px; }
.pb-hint .mi { color: var(--orange); font-size: 18px; }
@media (prefers-reduced-motion: reduce) { .pb-ph, .pb-set { transition: none; } }
/* v2.18 "view as a visitor" switch next to the logout button: green when on (like "published"), half-transparent on admin / edit pages */
.hdr-view.on { background: var(--ok-bg); border-color: rgba(29, 122, 61, .35); color: var(--ok); }
.hdr-view.on:hover, .hdr-view.on:focus-visible { background: var(--ok); border-color: var(--ok); color: #fff; }
.hdr-view.paused { opacity: .5; }
.hdr-view.paused:hover, .hdr-view.paused:focus-visible { opacity: 1; }
.hdr-icons { display: contents; }
@media (max-width: 1180px) { .hdr-icons { display: flex; justify-content: center; gap: 12px; margin-top: 10px; } .hdr-icons .hdr-logout { margin: 0; } }
/* v2.18.1 photos from a web link, "Enrich with Claude", fields filled by Claude */
.pb-url { display: flex; gap: 8px; margin: 8px 0 4px; }
.pb-url input { flex: 1; min-width: 0; height: 42px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--r-pill); font-size: 14px; background: #fff; }
.pb-url input:focus { outline: none; border-color: var(--yellow); box-shadow: var(--ring); }
.pb-web { display: inline-flex; align-items: center; gap: 3px; max-width: calc(100% - 82px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pb-web .mi { font-size: 13px; }
.pb-ph.pb-broken { background: repeating-linear-gradient(45deg, var(--tint, #fff8ec), var(--tint, #fff8ec) 10px, #fff 10px, #fff 20px); }
.pb-ph.pb-broken img { opacity: 0; }
.ct-pill-ai { border-color: rgba(var(--orange-rgb), .45); color: var(--plum); background: linear-gradient(#fff, #fff) padding-box, var(--grad) border-box; border: 1px solid transparent; }
.ct-pill-ai .mi { color: var(--orange); }
.ai-filled, .ai-filled-ff input, .ai-filled-ff textarea, .ai-filled-ff select { background-color: #fff8d6 !important; box-shadow: 0 0 0 2px rgba(var(--orange-rgb), .35) !important; }
.enr-steps { margin: 12px 0 4px; padding-left: 20px; line-height: 1.6; }
.enr .cl-cron code { word-break: break-all; }
@media (max-width: 560px) { .pb-url { flex-wrap: wrap; } .pb-url .ct-pill { flex: 1 1 100%; justify-content: center; } }
/* v2.18.2 admin and edit pages: a 100 px header (title + the name below it) */
.banner.banner-100 { height: 100px; }
.banner.banner-100 h1 { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.2; }
.banner.banner-100 p { margin-top: 2px; font-size: 15px; font-weight: 600; max-width: min(92vw, 900px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* v2.19 no real phone: social links / Location / Share instead of Call and WhatsApp */
.dock-i.alt-soc svg { fill: currentColor; }
.dock-i.alt-facebook svg { fill: #1877f2; } .dock-i.alt-instagram svg { fill: #d6249f; } .dock-i.alt-youtube svg { fill: #ff0000; } .dock-i.alt-tiktok svg { fill: var(--ink); }
.book-row .btn-alt svg { width: 18px; height: 18px; flex: none; }
.book-row .btn-alt.alt-facebook svg { fill: #1877f2; } .book-row .btn-alt.alt-instagram svg { fill: #d6249f; } .book-row .btn-alt.alt-youtube svg { fill: #ff0000; } .book-row .btn-alt.alt-tiktok svg { fill: var(--ink); }
.book-row .btn-alt .material-icons, .book-row .btn-alt .mi { font-size: 19px; }
.me-note { display: flex; gap: 10px; align-items: flex-start; margin: 0; padding: 12px 14px; border-radius: 12px; background: var(--tint); color: var(--ink); font-size: 15px; }
.me-note svg, .me-note .mi { flex: none; width: 20px; height: 20px; fill: var(--plum); color: var(--plum); }
.cl-head-pic img, .cl-head-pic .ini { width: 48px; height: 48px; }

/* ===== v2.20.1 page title bands (H1 — Content Management, Edit …, categories, cities, contacts / about …): the same gradient as the footer, no picture ===== */
.banner { background: var(--grad); }
.ct-hero { background: var(--grad); }
.st-blockbar { margin: 4px 0 6px; height: 54px; border-radius: var(--r-m); background: linear-gradient(160deg, var(--block-from) 0%, var(--block-to) 100%); display: flex; align-items: center; padding: 0 18px; color: #fff; font-size: 14px; }
