/* Pharmacy pages on cyprus-pharmacies.com: the same tokens and look as website/styles.css. */
:root {
  --canvas: #f2f4f7;
  --surface: #ffffff;
  --ink: #0d1117;
  --ink-2: #3a4250;
  --muted: #5d6675;
  --faint: #8a93a1;
  --line: #e4e8ee;
  --line-2: #d6dce4;
  --accent: #0b7a5a;
  --accent-ink: #075c43;
  --accent-soft: #e7f4ef;
  --oncall: #3b4fd8;
  --oncall-ink: #2a3aa8;
  --oncall-soft: #ebeefe;
  --phone: #a8650b;
  --phone-ink: #7d4a05;
  --phone-soft: #fdf3e3;
  --closed: #8a93a1;
  --closed-soft: #eef1f5;
  --brand: #0b6e5a; /* each pharmacy page sets its own in an inline :root style */
  --radius: 14px;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Noto Sans', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --t: 160ms cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--canvas); color: var(--ink); font: 400 15px/1.5 var(--font); -webkit-font-smoothing: antialiased; }
svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
.mono { font-family: var(--mono); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 8px; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 10px; z-index: 50; }
.skip:focus { top: 10px; }
.wrap { width: 100%; max-width: 880px; margin: 0 auto; padding: 0 24px; }

.top { background: var(--surface); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; height: 56px; max-width: 1360px; padding: 0 40px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 650; letter-spacing: -0.01em; min-height: 44px; }
.brand img { border-radius: 8px; }
.lang { display: inline-flex; padding: 3px; background: var(--canvas); border-radius: 10px; border: 1px solid var(--line); }
.lang a { min-width: 44px; height: 32px; display: grid; place-items: center; border-radius: 7px; font: 500 12px/1 var(--mono); letter-spacing: 0.04em; color: var(--muted); text-decoration: none; }
.lang a[aria-current] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(13, 17, 23, 0.08), 0 0 0 1px var(--line); }

.pg { padding-top: 18px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 16px; }
.crumb { display: flex; gap: 8px; font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.crumb a { text-decoration: none; color: var(--muted); }
.crumb a:hover { color: var(--ink); text-decoration: underline; }

.hero, .card { background: var(--surface); border-radius: var(--radius); box-shadow: 0 0 0 1px var(--line), 0 1px 2px rgba(13, 17, 23, 0.03); padding: 24px 26px; }
.eyebrow { margin: 0 0 6px; font: 500 11px/1.4 var(--mono); letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted); }
h1 { margin: 0; font-size: 30px; line-height: 1.15; letter-spacing: -0.02em; font-weight: 700; }
.alt { margin: 4px 0 0; color: var(--muted); font-size: 15px; }
.addr { margin: 10px 0 0; color: var(--ink-2); }
.addr .extra { display: block; color: var(--muted); font-size: 13.5px; }
h2 { margin: 0 0 4px; font-size: 18px; letter-spacing: -0.01em; }
h2 .n { font: 500 12px/1 var(--mono); color: var(--faint); margin-left: 6px; }
h3 { margin: 0; font-size: 15px; }
.sub { margin: 0 0 14px; color: var(--muted); font-size: 14px; }
.sub.small { margin: 14px 0 0; font-size: 13px; }

/* Status */
.status { display: flex; gap: 14px; align-items: flex-start; margin-top: 18px; padding: 14px 16px; border-radius: 12px; background: var(--closed-soft); }
.s-dot { width: 12px; height: 12px; border-radius: 50%; margin-top: 7px; background: var(--closed); flex: none; }
.s-main { margin: 0; font-size: 20px; font-weight: 700; letter-spacing: -0.015em; }
.s-sub { margin: 2px 0 0; color: var(--ink-2); font-size: 14px; }
.s-note { margin: 4px 0 0; color: var(--muted); font-size: 12.5px; }
.status[data-kind='open'] { background: var(--accent-soft); }
.status[data-kind='open'] .s-dot { background: var(--accent); box-shadow: 0 0 0 4px rgba(11, 122, 90, 0.18); }
.status[data-kind='open'] .s-main { color: var(--accent-ink); }
.status[data-kind='oncall'] { background: var(--oncall-soft); }
.status[data-kind='oncall'] .s-dot { background: var(--oncall); box-shadow: 0 0 0 4px rgba(59, 79, 216, 0.18); }
.status[data-kind='oncall'] .s-main { color: var(--oncall-ink); }
.status[data-kind='phone'] { background: var(--phone-soft); }
.status[data-kind='phone'] .s-dot { background: var(--phone); }
.status[data-kind='phone'] .s-main { color: var(--phone-ink); }
@media (prefers-reduced-motion: no-preference) {
  .status[data-kind='open'] .s-dot, .status[data-kind='oncall'] .s-dot { animation: pulse 2.4s ease-in-out infinite; }
  @keyframes pulse { 50% { box-shadow: 0 0 0 7px transparent; } }
}

/* Today's timeline */
.day { margin-top: 16px; }
.bar { position: relative; height: 14px; border-radius: 7px; background: var(--closed-soft); overflow: visible; }
.seg { position: absolute; top: 0; bottom: 0; border-radius: 7px; }
.seg.open { background: var(--accent); }
.seg.oncall { background: var(--oncall); }
.seg.phone { background: repeating-linear-gradient(135deg, var(--phone) 0 4px, #c98a2e 4px 8px); }
.nowm { position: absolute; top: -5px; bottom: -5px; width: 2px; margin-left: -1px; background: var(--ink); border-radius: 1px; }
.nowm i { position: absolute; top: -16px; left: 50%; transform: translateX(-50%); font: 600 10px/1 var(--mono); font-style: normal; letter-spacing: 0.06em; text-transform: uppercase; }
.ticks { position: relative; height: 16px; margin-top: 4px; font: 500 10.5px/16px var(--mono); color: var(--faint); }
.ticks span { position: absolute; transform: translateX(-50%); }
.ticks span:first-child { transform: none; }
.ticks span:last-child { transform: translateX(-100%); }
.legend { display: flex; gap: 14px; margin: 4px 0 0; font-size: 12px; color: var(--muted); }
.lg::before { content: ''; display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.lg.open::before { background: var(--accent); }
.lg.oncall::before { background: var(--oncall); }
.lg.phone::before { background: var(--phone); }

/* Buttons */
.acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 44px; padding: 0 14px; border: 0; border-radius: 11px; font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background var(--t), box-shadow var(--t), transform var(--t); }
.btn svg { width: 16px; height: 16px; }
.btn.call { background: var(--accent); color: #fff; }
.btn.call:hover { background: var(--accent-ink); }
.btn.call .num { font: 500 13px/1 var(--mono); opacity: 0.92; }
.btn.dir { background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn.dir:hover { box-shadow: inset 0 0 0 1px #aab3bf; }
.btn.ghost { background: var(--canvas); color: var(--ink-2); }
.btn.ghost:hover { background: var(--line); }
.btn.sm { height: 36px; padding: 0 12px; font-size: 13px; border-radius: 9px; }
.btn:active { transform: scale(0.98); }
.em { margin: 10px 0 0; font-size: 13.5px; color: var(--muted); }
.em a { font-family: var(--mono); color: var(--ink-2); }

/* On-call nights */
.duty { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 8px; }
.duty li { padding: 12px 14px; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 2px; }
.duty li[hidden] { display: none; }
.duty li.soon { box-shadow: inset 0 0 0 2px var(--oncall); background: var(--oncall-soft); }
.duty time { font-weight: 650; }
.d-tag { align-self: flex-start; font: 600 10.5px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: #fff; background: var(--oncall); padding: 4px 7px; border-radius: 6px; margin-bottom: 4px; }
.d-h { font: 400 12.5px/1.6 var(--mono); color: var(--ink-2); }
.d-h b { font: 500 10px/1 var(--mono); text-transform: uppercase; letter-spacing: 0.06em; color: var(--faint); margin-right: 4px; }
.d-p { display: block; }
.cal { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; }
.cal-copy { display: flex; gap: 12px; align-items: flex-start; max-width: 430px; }
.cal-copy > svg { width: 22px; height: 22px; color: var(--accent); margin-top: 2px; }
.cal-copy .sub { margin: 2px 0 0; }
.cal-btns { display: flex; flex-wrap: wrap; gap: 8px; }

/* Hours */
.season { margin: 0 0 8px; font: 500 11px/1.4 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.tbl { display: grid; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.tr { display: grid; grid-template-columns: 1.1fr 1fr 1.6fr; gap: 12px; padding: 10px 14px; font-size: 14px; }
.tr + .tr { border-top: 1px solid var(--line); }
.tr.th { background: var(--canvas); font: 500 10.5px/1.4 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.tr [role='cell'] { font-family: var(--mono); font-size: 12.5px; color: var(--ink-2); }
.tr [role='rowheader'] { font-weight: 600; }


/* The pharmacy's own page: its colour (--brand, set per pharmacy), monogram, map and voice */
.own-page .top { border-top: 4px solid var(--brand); }
.brand.own { gap: 11px; font-size: 15.5px; }
.brand.own .mono { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--brand); color: #fff; font: 700 13px/1 var(--font); letter-spacing: 0.03em; }
.own-hero { padding: 0; overflow: hidden; }
.own-hero .map { display: block; position: relative; background: var(--closed-soft); }
.own-hero .map img { display: block; width: 100%; height: 230px; object-fit: cover; }
.own-hero .map::after { content: ''; position: absolute; inset: auto 0 0 0; height: 4px; background: var(--brand); }
.hero-in { padding: 22px 26px 24px; }
.welcome { margin: 0 0 2px; font-size: 13.5px; font-weight: 600; color: var(--brand); }
.own-page h1 { font-size: 34px; }
.own-page .btn.call { background: var(--brand); }
.own-page .btn.call:hover { background: var(--brand); filter: brightness(0.88); }
.own-page .cal-copy > svg { color: var(--brand); }
.need-now { margin: 14px 0 0; font-size: 14px; }
.need-now a { color: var(--ink-2); text-underline-offset: 3px; }
.need-now[hidden] { display: none; }

/* Door-sign card on the pharmacy page */
/* Questions about the pharmacy: plain text that search engines and AI assistants quote. */
.faq dl { margin: 6px 0 0; display: grid; gap: 4px; }
.faq dt { font-weight: 700; margin-top: 10px; }
.faq dt:first-child { margin-top: 0; }
.faq dd { margin: 0; color: var(--ink-2, #3d4553); line-height: 1.5; }
.faq dd a { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; overflow-wrap: anywhere; }
.sign-card { display: flex; gap: 20px; align-items: center; }
.sign-thumb { flex: none; display: block; padding: 8px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 4px var(--brand); }
.sign-thumb .qr { display: block; width: 104px; height: 104px; }
.sign-card .sub { margin-bottom: 12px; }
@media (max-width: 640px) { .sign-card { flex-direction: column; align-items: flex-start; } }

/* The week ahead */
.week { list-style: none; margin: 8px 0 0; padding: 0; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.week li { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 12px; padding: 11px 14px; align-items: baseline; }
.week li + li { border-top: 1px solid var(--line); }
.week li[aria-current] { box-shadow: inset 4px 0 0 var(--brand); background: color-mix(in srgb, var(--brand) 6%, white); }
.week li[aria-current] .w-day { font-weight: 700; color: var(--brand); }
.w-day { font-weight: 600; }
.w-h { font: 400 13px/1.6 var(--mono); color: var(--ink-2); }
.w-oc { display: block; color: var(--oncall-ink); }
.w-oc b { font: 600 10.5px/1 var(--mono); text-transform: uppercase; letter-spacing: 0.06em; background: var(--oncall-soft); padding: 3px 6px; border-radius: 5px; margin-right: 6px; }

.own-foot { color: var(--ink-2); }
.own-foot a { color: var(--ink-2); }
.host { display: inline-flex; align-items: center; gap: 7px; }
.host img { border-radius: 5px; }

/* Directory */
.find { margin: 14px 0 6px; }
.find label { display: block; font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; }
.find input { width: 100%; height: 48px; border-radius: 12px; border: 0; box-shadow: inset 0 0 0 1px var(--line-2); padding: 0 14px; font: 450 16px/1 var(--font); color: var(--ink); background: var(--surface); }
.find input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--accent); }
.find-none { margin: 10px 0 0; color: var(--muted); }
.dirlist li[hidden], section[hidden] { display: none; }
.jump { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.jump a { padding: 8px 12px; border-radius: 9px; background: var(--canvas); text-decoration: none; font-size: 13.5px; font-weight: 500; }
.dirlist { list-style: none; margin: 10px 0 0; padding: 0; columns: 2; column-gap: 24px; }
.dirlist li { break-inside: avoid; display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.dirlist a { font-weight: 550; text-decoration: none; }
.dirlist a:hover { text-decoration: underline; }
.dirlist span { color: var(--muted); font-size: 12.5px; text-align: right; }

.foot { padding-top: 8px; padding-bottom: 40px; color: var(--muted); font-size: 12.5px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 8px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ink); text-decoration: underline; }
.foot p { margin: 4px 0; }

@media (max-width: 640px) {
  .own-hero .map img { height: 170px; }
  .hero-in { padding: 18px 16px 20px; }
  .own-page h1 { font-size: 27px; }
  .week li { grid-template-columns: 1fr; gap: 2px; }
  .wrap { padding: 0 16px; }
  .top-in { padding: 0 16px; }
  .hero, .card { padding: 18px 16px; }
  h1 { font-size: 25px; }
  .s-main { font-size: 18px; }
  .acts .btn { flex: 1 1 auto; }
  .tr { grid-template-columns: 1fr 1fr; }
  .tr > :first-child { grid-column: 1 / -1; }
  .tr.th > :first-child { display: none; }
  .dirlist { columns: 1; }
  .cal-btns .btn { flex: 1 1 auto; }
}

/* Door sign (A4): made to be read from a distance in a shop window. Print colours exactly. */
.sign-body { background: #e9ecf0; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.sign-tools { max-width: 1180px; margin: 16px auto; padding: 0 16px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.sign-tools a { color: var(--muted); text-decoration: none; }
.sign-wrap { display: flex; gap: 24px; justify-content: center; align-items: flex-start; padding: 0 16px 32px; }
.sign { width: 210mm; height: 297mm; overflow: hidden; background: #fff; color: #0d1117; display: flex; flex-direction: column; box-shadow: 0 10px 34px rgba(13, 17, 23, 0.18); font-family: var(--font); }
.sg-band { background: var(--brand); color: #fff; display: flex; align-items: center; gap: 6mm; padding: 7mm 11mm 6mm; }
.sg-mono { flex: none; width: 19mm; height: 19mm; border-radius: 50%; background: #fff; color: var(--brand); display: grid; place-items: center; font: 800 22pt/1 var(--font); letter-spacing: 0.02em; }
.sg-who { flex: 1; min-width: 0; }
.sg-kicker { margin: 0; font: 700 10pt/1.2 var(--font); text-transform: uppercase; letter-spacing: 0.14em; opacity: 0.9; }
.sign .sg-who h1 { margin: 1.5mm 0 0; font: 800 25pt/1.08 var(--font); letter-spacing: -0.01em; color: #fff; }
.sg-latin { margin: 1mm 0 0; font: 500 12pt/1.2 var(--font); opacity: 0.9; }
.sg-phone { flex: none; margin: 0; text-align: right; font: 800 17pt/1.1 var(--mono); letter-spacing: -0.01em; }
.sg-phone span { display: block; font: 600 8.5pt/1.2 var(--font); letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.85; margin-bottom: 1mm; }
.sg-hero { padding: 5mm 11mm 0; text-align: center; }
.sg-closed { margin: 0; font: 900 50pt/1 var(--font); letter-spacing: 0.02em; color: #0d1117; }
.sg-lead { margin: 3mm 0 0; font: 600 17pt/1.25 var(--font); }
.sg-lead b { color: var(--brand); font-weight: 800; }
.sg-lead.en { margin-top: 1.5mm; font-size: 12.5pt; font-weight: 500; color: #3a4250; }
.sg-qrbox { padding: 4mm 0 0; display: flex; flex-direction: column; align-items: center; }
.sg-frame { padding: 3.5mm; border-radius: 6mm; background: #fff; box-shadow: 0 0 0 2.2mm var(--brand); }
.sg-frame .qr { display: block; width: 90mm; height: 90mm; }
svg.qr, svg.qr * { stroke: none; }
.sg-scan { margin: 4.5mm 0 0; font: 700 11.5pt/1.2 var(--font); }
.sg-url { margin: 1.5mm 0 0; font: 700 14pt/1 var(--mono); color: var(--brand); letter-spacing: -0.01em; }
.sg-cols { margin-top: auto; display: grid; grid-template-columns: 1.45fr 1fr; gap: 7mm; padding: 5mm 11mm 4mm; border-top: 0.6mm solid #e4e8ee; }
.sg-cols h2 { margin: 0 0 2.5mm; font: 800 12pt/1.2 var(--font); }
.sg-cols h2 span { display: block; font: 600 8.5pt/1.2 var(--font); color: #5d6675; text-transform: uppercase; letter-spacing: 0.08em; margin-top: 0.5mm; }
.sg-dates ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 5mm; row-gap: 0.6mm; }
.sg-dates li { display: grid; grid-template-columns: auto 1fr; column-gap: 2mm; align-items: baseline; padding: 1.2mm 0; border-bottom: 0.3mm solid #e4e8ee; }
.sg-dates li b { font: 800 14pt/1.1 var(--font); color: var(--brand); }
.sg-dates li .sg-en { font: 500 9pt/1.1 var(--font); color: #5d6675; }
.sg-dates li i { grid-column: 1 / -1; font: 500 8pt/1.3 var(--mono); font-style: normal; color: #3a4250; }
.sg-dates li.none { grid-column: 1 / -1; display: block; font-size: 10pt; color: #5d6675; }
.sg-hours dl { margin: 0; display: grid; gap: 2mm; }
.sg-hours dt { font: 700 10.5pt/1.2 var(--font); }
.sg-hours dt span { font-weight: 500; color: #5d6675; font-size: 8.5pt; margin-left: 1mm; }
.sg-hours dd { margin: 0.5mm 0 0; font: 600 11pt/1.2 var(--mono); }
.sg-small { margin: 3mm 0 0; font: 400 8pt/1.35 var(--font); color: #5d6675; }
.sg-foot { background: #0d1117; color: #fff; display: flex; align-items: center; gap: 7mm; padding: 3.5mm 11mm; }
.sg-112 { margin: 0; flex: none; font: 600 11pt/1 var(--font); display: flex; align-items: center; gap: 2.5mm; }
.sg-112 b { font: 900 24pt/1 var(--font); color: #fff; background: #c4262e; border-radius: 2mm; padding: 1.5mm 3mm; }
.sg-src { margin: 0; font: 400 8pt/1.4 var(--font); color: #c9d1db; }

/* On-screen help next to the sign (never printed) */
.sign-help { width: 340px; flex: none; background: var(--surface); border-radius: var(--radius); box-shadow: 0 0 0 1px var(--line); padding: 20px; position: sticky; top: 16px; }
.sign-help h2 { margin: 0 0 12px; font-size: 18px; }
.sign-help h2 span { display: block; font-size: 13px; font-weight: 500; color: var(--muted); }
.sign-help h3 { margin: 12px 0 6px; font-size: 14px; }
.sign-help ul { margin: 0; padding-left: 18px; font-size: 13.5px; line-height: 1.45; color: var(--ink-2); }
.sign-help ul li + li { margin-top: 4px; }
.tips { border-radius: 12px; padding: 4px 14px 12px; margin-bottom: 10px; }
.tips.do { background: var(--accent-soft); }
.tips.do h3 { color: var(--accent-ink); }
.tips.dont { background: var(--phone-soft); }
.tips.dont h3 { color: var(--phone-ink); }
.sign-help ul[lang='en'] { color: var(--muted); }
.sg-note { font-size: 12.5px; color: var(--muted); margin: 6px 0 0; }
.sg-note span { display: block; margin-top: 4px; }

@page { size: A4; margin: 0; }
@media print {
  .sign-body { background: #fff; }
  .sign-tools, .sign-help { display: none; }
  .sign-wrap { display: block; padding: 0; }
  .sign { box-shadow: none; margin: 0; }
}
@media screen and (max-width: 1000px) {
  .sign-wrap { flex-direction: column; align-items: center; }
  .sign-help { width: auto; max-width: 210mm; position: static; }
}
@media screen and (max-width: 820px) {
  .sign { width: 100%; height: auto; min-height: 0; }
  .sg-closed { font-size: 40pt; }
  .sg-frame .qr { width: 70vw; height: 70vw; max-width: 95mm; max-height: 95mm; }
  .sg-cols { grid-template-columns: 1fr; }
}

/* =====================================================================================
   Glass design, November 2026: soft canvas, frosted tiles that lift on hover, one tint per
   section with its own icon and title (never colour alone), a dark rail on wide screens and a
   dark dock on phones. Same language as website/styles.css.
   ===================================================================================== */
:root {
  --canvas: #eef1f6;
  --glass: rgba(255, 255, 255, 0.62);
  --glass-strong: rgba(255, 255, 255, 0.86);
  --glass-edge: rgba(255, 255, 255, 0.78);
  --edge: rgba(15, 23, 42, 0.07);
  --lift-0: 0 1px 2px rgba(15, 23, 42, 0.04), 0 10px 28px -16px rgba(15, 23, 42, 0.16);
  --lift-1: 0 2px 6px rgba(15, 23, 42, 0.06), 0 26px 48px -22px rgba(15, 23, 42, 0.32);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --t-lift: 260ms var(--ease);
  --t-week: #ebe6fd; --t-duty: #dff3ea; --t-street: #e1ecfb; --t-faq: #fdf1df; --t-sign: #fbe5ef;
}
body { background: var(--canvas); min-height: 100vh; }
body::before {
  content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(40rem 28rem at 6% -8%, color-mix(in srgb, var(--brand) 22%, transparent), transparent 70%),
    radial-gradient(38rem 26rem at 96% 6%, rgba(155, 135, 245, 0.18), transparent 70%),
    radial-gradient(34rem 24rem at 60% 106%, rgba(244, 184, 214, 0.16), transparent 70%);
}

/* Floating glass header */
.top, .own-page .top { position: sticky; top: 0; z-index: 40; background: transparent; border: 0; padding: 10px 24px 0; }
.top-in { max-width: 1240px; margin: 0 auto; height: 58px; padding: 0 10px 0 12px; border-radius: 20px;
  background: var(--glass-strong); border: 1px solid var(--glass-edge); box-shadow: var(--lift-0);
  -webkit-backdrop-filter: blur(18px) saturate(1.6); backdrop-filter: blur(18px) saturate(1.6); }
.brand.own .mono { border-radius: 11px; box-shadow: 0 6px 14px -6px var(--brand); }
.lang { background: rgba(15, 23, 42, 0.05); border: 0; border-radius: 12px; }
.lang a[aria-current] { background: var(--ink); color: #fff; box-shadow: 0 4px 10px -4px rgba(13, 17, 23, 0.5); }

/* Bento: the pharmacy's card on the left, its tiles on the right */
.wrap.bento { max-width: 1240px; padding: 0 24px; }
.pg.bento { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr); gap: 20px; align-items: start; padding-top: 18px; padding-bottom: 48px; }
.b-main { position: sticky; top: 84px; }
.b-side { display: flex; flex-direction: column; gap: 18px; min-width: 0; }

.hero, .card { border-radius: 26px; background: var(--glass-strong); box-shadow: var(--lift-0); border: 1px solid var(--glass-edge); }
.own-hero { overflow: hidden; }
.own-hero .map img { height: 250px; transition: transform 900ms var(--ease); }
@media (hover: hover) { .own-hero .map:hover img { transform: scale(1.04); } }
.own-hero .map::after { height: 0; }
.own-hero .map::before { content: ''; position: absolute; inset: auto 0 0; height: 70px; z-index: 1; background: linear-gradient(transparent, var(--glass-strong)); pointer-events: none; }
.hero-in { padding: 6px 26px 26px; }
.welcome { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; background: color-mix(in srgb, var(--brand) 12%, white); color: var(--brand); font-size: 12.5px; margin-bottom: 8px; }
.own-page h1 { font-size: 36px; letter-spacing: -0.03em; }
.status { border-radius: 18px; border: 1px solid var(--edge); }
.acts { gap: 10px; }
.btn { border-radius: 14px; transition: transform var(--t-lift), box-shadow var(--t-lift), background var(--t), filter var(--t); }
.own-page .btn.call { background: linear-gradient(180deg, color-mix(in srgb, var(--brand) 82%, white), var(--brand)); box-shadow: 0 8px 18px -10px var(--brand), inset 0 1px 0 rgba(255, 255, 255, 0.2); }
.own-page .btn.call:hover { filter: none; transform: translateY(-2px); box-shadow: 0 16px 26px -12px var(--brand), inset 0 1px 0 rgba(255, 255, 255, 0.22); }
.btn.dir { background: rgba(255, 255, 255, 0.92); }
.btn.dir:hover, .btn.ghost:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px #aab3bf, 0 12px 20px -14px rgba(15, 23, 42, 0.5); }
.btn.ghost { background: rgba(15, 23, 42, 0.06); }

/* Tiles: own tint, own icon, lift on hover */
.tile { --tint: rgba(255, 255, 255, 0.4); position: relative; padding: 20px 22px 22px; background: linear-gradient(180deg, var(--tint) 0%, var(--glass-strong) 58%); transition: transform var(--t-lift), box-shadow var(--t-lift), opacity 600ms var(--ease), translate 600ms var(--ease); scroll-margin-top: 88px; }
@media (hover: hover) { .tile:hover { transform: translateY(-5px); box-shadow: var(--lift-1); } }
.tile.pre { opacity: 0; translate: 0 18px; }
.tile.pre.in { opacity: 1; translate: 0 0; }
.t-week { --tint: var(--t-week); }
.t-duty { --tint: var(--t-duty); }
.t-street { --tint: var(--t-street); }
.t-faq { --tint: var(--t-faq); }
.t-sign { --tint: var(--t-sign); }
.tile-h { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; }
.tile-h h2 { font-size: 19px; letter-spacing: -0.02em; margin: 1px 0 2px; }
.tile-h .sub { margin: 0; }
.tile-ico { flex: none; width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; background: var(--ink); color: #fff; box-shadow: 0 8px 16px -8px rgba(13, 17, 23, 0.6); }
.tile-ico svg { width: 19px; height: 19px; }

.week li { border-radius: 12px; }
.duty li { background: rgba(255, 255, 255, 0.85); border-radius: 16px; box-shadow: inset 0 0 0 1px var(--edge); transition: transform var(--t-lift), box-shadow var(--t-lift); }
@media (hover: hover) { .duty li:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--edge), 0 12px 20px -14px rgba(15, 23, 42, 0.45); } }
.cal { border-top-color: var(--edge); }

/* Street View */
.sv { position: relative; height: 230px; border-radius: 18px; overflow: hidden; background: linear-gradient(135deg, #dfe9f8, #eef1fb); box-shadow: inset 0 0 0 1px var(--edge); display: grid; place-items: center; }
.sv-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(3px) saturate(1.1); transform: scale(1.08); opacity: 0.75; }
.sv-go { position: relative; display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 22px 0 18px; border: 0; border-radius: 999px; cursor: pointer; text-decoration: none;
  background: rgba(13, 17, 23, 0.86); color: #fff; font: 600 15px/1 var(--font);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 16px 32px -14px rgba(13, 17, 23, 0.7); transition: transform var(--t-lift), box-shadow var(--t-lift); }
.sv-go:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 22px 40px -16px rgba(13, 17, 23, 0.8); }
.sv-go svg { width: 20px; height: 20px; }
.sv.live { height: 320px; background: #000; }
.sv iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.sv-foot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 10px 2px 0; font-size: 13px; color: var(--muted); }
.sv-foot a { color: var(--ink-2); font-weight: 600; text-decoration: none; }
.sv-foot a:hover { text-decoration: underline; text-underline-offset: 3px; }

.faq dt { font-size: 15px; }
.faq dd { padding-left: 0; }
.sign-card { gap: 18px; }
.sign-card .tile-h { display: none; }
.sign-thumb { border-radius: 16px; transition: transform var(--t-lift); }
@media (hover: hover) { .sign-card:hover .sign-thumb { transform: rotate(-3deg) scale(1.04); } }

/* The dark rail (wide screens), with labels on hover */
.rail { position: fixed; left: max(14px, calc((100vw - 1240px) / 2 - 64px)); top: 50%; transform: translateY(-50%); z-index: 30;
  display: none; flex-direction: column; gap: 6px; padding: 10px 8px; border-radius: 999px; background: #111418; box-shadow: 0 20px 40px -18px rgba(13, 17, 23, 0.7); }
.rl { position: relative; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: rgba(255, 255, 255, 0.72); text-decoration: none; transition: background var(--t), color var(--t), transform var(--t-lift); }
.rl:hover, .rl:focus-visible { background: rgba(255, 255, 255, 0.14); color: #fff; transform: scale(1.08); }
.rl.call { background: var(--brand); color: #fff; }
.rl svg { width: 18px; height: 18px; }
.rl::after { content: attr(data-tip); position: absolute; left: calc(100% + 12px); top: 50%; transform: translate(-6px, -50%); opacity: 0; pointer-events: none; white-space: nowrap;
  background: #111418; color: #fff; font: 600 12px/1 var(--font); padding: 8px 10px; border-radius: 10px; box-shadow: 0 10px 20px -10px rgba(13, 17, 23, 0.6); transition: opacity var(--t), transform var(--t-lift); }
.rl:hover::after, .rl:focus-visible::after { opacity: 1; transform: translate(0, -50%); }
.rl-sep { height: 1px; margin: 2px 8px; background: rgba(255, 255, 255, 0.16); }
@media (min-width: 1380px) { .rail { display: flex; } }

/* The dark dock (phones and tablets) */
.dock { position: fixed; left: 50%; bottom: max(12px, env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 30; display: none; gap: 6px; padding: 6px; border-radius: 999px; background: rgba(17, 20, 24, 0.92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 18px 36px -14px rgba(13, 17, 23, 0.75); }
.dk { display: inline-flex; align-items: center; gap: 7px; height: 46px; padding: 0 16px; border-radius: 999px; color: #fff; text-decoration: none; font: 600 14px/1 var(--font); white-space: nowrap; }
.dk.call { background: var(--brand); }
.dk svg { width: 17px; height: 17px; }

@media (max-width: 1000px) {
  .pg.bento { grid-template-columns: minmax(0, 1fr); }
  .b-main { position: static; }
  .dock { display: flex; }
  .own-page .foot { padding-bottom: 96px; }
}
@media (max-width: 640px) {
  .top, .own-page .top { padding: 8px 10px 0; }
  .top-in { height: 54px; border-radius: 18px; }
  .wrap.bento { padding: 0 12px; }
  .pg.bento { gap: 14px; padding-top: 12px; }
  .hero, .card { border-radius: 22px; }
  .hero-in { padding: 4px 18px 20px; }
  .own-page h1 { font-size: 28px; }
  .own-hero .map img { height: 190px; }
  .tile { padding: 16px 16px 18px; }
  .dk { padding: 0 13px; font-size: 13.5px; }
  .sv { height: 190px; }
}
@media print { .rail, .dock { display: none !important; } }
@media (prefers-reduced-motion: reduce) {
  .tile.pre { opacity: 1; translate: none; }
  .own-hero .map img, .tile, .btn, .rl, .sv-go { transition: none !important; }
}
.own-page .foot.wrap { max-width: 1240px; }
@media print { body::before { display: none; } }
@media (max-width: 420px) {
  .dock { width: calc(100vw - 20px); justify-content: space-between; gap: 4px; }
  .dk { flex: 1 1 auto; justify-content: center; padding: 0 8px; gap: 6px; font-size: 13px; height: 44px; }
  .dk svg { width: 16px; height: 16px; }
}

/* The pharmacy's own additions, and the update tile and form */
.t-our { --tint: #e6f6f1; }
.t-update { --tint: #eef0f5; }
.own-logo { width: 34px; height: 34px; border-radius: 10px; object-fit: contain; background: #fff; box-shadow: 0 0 0 1px var(--edge), 0 6px 14px -6px var(--brand); }
.gallery { display: grid; gap: 8px; border-radius: 18px; overflow: hidden; margin-bottom: 12px; }
.gallery.g2 { grid-template-columns: 1fr 1fr; }
.gallery.g3 { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; }
.gallery.g3 a:first-child { grid-row: span 2; }
.gallery.g4 { grid-template-columns: 1fr 1fr; }
.gallery a { display: block; overflow: hidden; border-radius: 12px; background: var(--closed-soft); }
.gallery img { display: block; width: 100%; height: 100%; max-height: 260px; object-fit: cover; transition: transform 600ms var(--ease); }
@media (hover: hover) { .gallery a:hover img { transform: scale(1.05); } }
.our-note { margin: 0 0 12px; color: var(--ink-2); line-height: 1.55; }
.our-h { margin: 12px 0 8px; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { padding: 7px 11px; border-radius: 999px; background: rgba(255, 255, 255, 0.9); box-shadow: inset 0 0 0 1px var(--edge); font-size: 13px; font-weight: 500; }
.our-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.from-us { margin: 12px 0 0; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, 0.85); box-shadow: inset 0 0 0 1px var(--edge); font-size: 14px; }

.pg.upd { max-width: 760px; display: flex; flex-direction: column; gap: 16px; padding-top: 18px; padding-bottom: 48px; }
.upd h1 { font-size: 24px; letter-spacing: -0.02em; margin: 1px 0 4px; }
.steps { margin: 4px 0 6px; padding-left: 22px; color: var(--ink-2); }
.steps li { margin: 4px 0; }
.upd-form { display: flex; flex-direction: column; gap: 16px; }
.upd-form fieldset { margin: 0; min-width: 0; }
.upd-form legend { float: left; width: 100%; padding: 0; margin: 0 0 12px; font-size: 18px; font-weight: 700; letter-spacing: -0.015em; }
.f { display: flex; flex-direction: column; gap: 6px; margin: 0 0 12px; font-size: 14px; font-weight: 600; }
.f input, .f select, .f textarea { font: 400 16px/1.4 var(--font); color: var(--ink); padding: 11px 13px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.95); width: 100%; }
.f input:focus, .f select:focus, .f textarea:focus { outline: 2px solid var(--brand); outline-offset: 1px; border-color: transparent; }
.f small { font-weight: 400; color: var(--muted); font-size: 13px; }
.f.file input { padding: 9px; }
.f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hint { margin: 0; color: var(--muted); font-size: 13px; }
.checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 6px 14px; margin-bottom: 14px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; cursor: pointer; padding: 6px 0; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--brand); flex: none; }
.consent { font-weight: 600; }
.previews { display: flex; gap: 8px; flex-wrap: wrap; margin: -4px 0 12px; }
.previews img { height: 72px; border-radius: 10px; box-shadow: 0 0 0 1px var(--edge); }
.f-current { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; font-size: 13px; color: var(--muted); }
.f-current img { border-radius: 8px; object-fit: cover; }
.send .btn { margin-top: 8px; min-width: 160px; }
.upd-msg { margin: 10px 0 0; font-weight: 600; }
.upd-msg:empty { display: none; }
.upd-msg.ok { padding: 12px 14px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-ink); }
.upd-msg.ok::before { content: '✓ '; }
.upd-msg.bad { padding: 12px 14px; border-radius: 12px; background: #fdecec; color: #8a1c1c; }
.upd-msg.bad::before { content: '! '; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.upd-page .dock, .upd-page .rail { display: none !important; }
@media (max-width: 640px) { .f2 { grid-template-columns: 1fr; } .upd h1 { font-size: 21px; } }
.upd-form fieldset { display: block; }
.upd-form fieldset > :not(legend) { clear: both; }
.upd-form .checks { width: 100%; }

/* The official-pharmacy seal (in the Ministry of Health register), with its words on hover or focus */
.vbadge { position: relative; display: inline-flex; vertical-align: middle; flex: none; outline: none; }
.vbadge .vb-svg { width: 100%; height: 100%; stroke: none; filter: drop-shadow(0 2px 4px rgba(11, 122, 90, 0.35)); transition: transform 260ms var(--ease, ease); }
.vbadge.lg { width: 30px; height: 30px; margin-left: 8px; vertical-align: -3px; }
.vbadge.sm { width: 18px; height: 18px; margin-left: -4px; }
.vbadge.xs { width: 15px; height: 15px; margin-left: 5px; vertical-align: -2px; }
.vbadge.xs .vb-svg { filter: none; }
@media (hover: hover) { .vbadge:hover .vb-svg { transform: scale(1.12) rotate(-8deg); } }
.vbadge[data-tip]::after { content: attr(data-tip); position: absolute; left: 50%; top: calc(100% + 10px); transform: translate(-50%, -4px); width: max-content; max-width: min(280px, 80vw); white-space: normal;
  background: #111418; color: #fff; font: 600 12.5px/1.4 var(--font); letter-spacing: 0; padding: 9px 11px; border-radius: 12px; box-shadow: 0 12px 24px -12px rgba(13, 17, 23, 0.6);
  opacity: 0; pointer-events: none; transition: opacity var(--t), transform 260ms var(--ease, ease); z-index: 50; text-align: left; }
.vbadge[data-tip]:hover::after, .vbadge[data-tip]:focus-visible::after { opacity: 1; transform: translate(-50%, 0); }
.vbadge:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 50%; }
.top .vbadge.sm[data-tip]::after { left: auto; right: -8px; transform: translate(0, -4px); }
.top .vbadge.sm[data-tip]:hover::after, .top .vbadge.sm[data-tip]:focus-visible::after { transform: translate(0, 0); }
.brand.own + .vbadge { margin-right: auto; }
.dirlist a + .vbadge { margin-right: 4px; }
/* Let the badge's label leave the card: the map keeps its own rounded corners instead. */
.own-hero { overflow: visible; }
.own-hero .map { border-radius: 26px 26px 0 0; overflow: hidden; }
.b-main { z-index: 2; }
@media (max-width: 640px) { .own-hero .map { border-radius: 22px 22px 0 0; } .vbadge.lg[data-tip]::after { left: auto; right: -6px; transform: translate(0, -4px); } .vbadge.lg[data-tip]:hover::after, .vbadge.lg[data-tip]:focus-visible::after { transform: translate(0, 0); } }
