/* LogoMedica – site styles */
:root {
  --teal: #10b49c;          /* brand teal (from the existing site) */
  --teal-d: #08806e;        /* same hue, darker – for text & buttons (WCAG contrast) */
  --teal-dd: #066b5c;
  --teal-50: #e8f7f3;
  --teal-100: #c9ede4;
  --navy: #1f2c4d;          /* logo navy */
  --navy-80: #34436a;
  --ink: #2a3550;
  --muted: #5d6a80;
  --line: #dde5ea;
  --soft: #f4f8f8;
  --white: #fff;
  --danger: #b3261e;
  --warn-bg: #fff6dc;
  --radius: 12px;
  --radius-s: 8px;
  --shadow: 0 1px 2px rgba(31, 44, 77, .06), 0 6px 20px rgba(31, 44, 77, .07);
  --font: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1220px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.65; color: var(--ink); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-d); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--teal-dd); }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.2; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.01em; }
h1 { font-size: clamp(1.9rem, 1.3rem + 2.2vw, 2.85rem); }
h2 { font-size: clamp(1.4rem, 1.15rem + .9vw, 1.85rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 4px; }
.i { width: 1.1em; height: 1.1em; flex: none; vertical-align: -.18em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 14px; border-radius: 6px; }
.skip:focus { left: 8px; }
.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.wrap--narrow { width: min(100% - 32px, 780px); }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.strong { font-weight: 800; }
.mono { font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 62ch; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .72em 1.25em; border-radius: var(--radius-s); border: 2px solid var(--teal-d); background: var(--teal-d); color: #fff; font: inherit; font-weight: 800; font-size: .98rem; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.btn:hover { background: var(--teal-dd); border-color: var(--teal-dd); color: #fff; }
.btn--ghost { background: transparent; color: var(--teal-d); }
.btn--ghost:hover { background: var(--teal-50); color: var(--teal-dd); }
.btn--light { background: #fff; border-color: #fff; color: var(--navy); }
.btn--light:hover { background: var(--teal-50); border-color: var(--teal-50); color: var(--navy); }
.btn--lg { padding: .9em 1.5em; font-size: 1.04rem; }
.btn--sm { padding: .5em .9em; font-size: .88rem; }
.btn--block { width: 100%; }
.btn[disabled], .btn.is-loading { opacity: .6; pointer-events: none; }
.icon-btn { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--navy); cursor: pointer; }
.icon-btn:hover { border-color: var(--teal); color: var(--teal-d); }
.icon-btn--lg { width: 50px; height: 50px; }
.icon-btn .i-on, .icon-btn[aria-pressed="true"] .i-off { display: none; }
.icon-btn[aria-pressed="true"] .i-on { display: block; color: #d64570; }

/* top bar + header */
.topbar { background: var(--navy); color: #d7deea; font-size: .86rem; }
.topbar__in { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.topbar__phones { display: flex; gap: 22px; margin: 0; padding: 0; list-style: none; flex-wrap: wrap; }
.topbar__phones a { color: #fff; font-weight: 700; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.topbar__phones a:hover { color: var(--teal-100); }
.topbar__place { margin-right: 6px; }
.topbar__hours { margin: 0; }
.header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.header__in { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.header__logo img { width: 220px; height: auto; }
.header__tools { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.tool { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 0; background: none; color: var(--navy); cursor: pointer; text-decoration: none; }
.tool .i { width: 22px; height: 22px; }
.tool:hover { background: var(--teal-50); color: var(--teal-d); }
.tool--menu { display: none; }
.badge { position: absolute; top: 3px; right: 1px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: var(--teal-d); color: #fff; font-size: .72rem; font-weight: 800; display: grid; place-items: center; line-height: 1; }
.badge[hidden] { display: none; }
.searchbar { border-top: 1px solid var(--line); background: #fff; }
.searchbar__in { display: flex; gap: 10px; padding: 14px 0; }
.searchbar input, .search-big input { flex: 1; font: inherit; padding: .7em 1em; border: 2px solid var(--line); border-radius: var(--radius-s); }
.searchbar input:focus, .search-big input:focus { border-color: var(--teal); outline: none; }

/* navigation (desktop) */
.nav { flex: 1; }
.nav__head, .nav__call, .nav__toggle { display: none; }
.nav__list { display: flex; justify-content: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.nav__item { position: relative; }
.nav__link { display: block; padding: 26px 11px; color: var(--navy); font-weight: 700; font-size: .97rem; text-decoration: none; white-space: nowrap; }
.nav__link:hover, .nav__item.is-active > .nav__link { color: var(--teal-d); }
.nav__item.is-active > .nav__link { box-shadow: inset 0 -3px 0 var(--teal); }
.nav__sub { position: absolute; top: 100%; left: -10px; min-width: 260px; background: #fff; border: 1px solid var(--line); border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow); padding: 10px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s; }
.nav__item:hover > .nav__sub, .nav__item:focus-within > .nav__sub, .nav__item.is-open > .nav__sub { opacity: 1; visibility: visible; transform: none; }
.nav__sub ul { list-style: none; margin: 0; padding: 0; }
.nav__sub a { display: block; padding: 7px 12px; border-radius: 6px; color: var(--ink); text-decoration: none; font-size: .95rem; line-height: 1.35; }
.nav__sub a:hover, .nav__sub a[aria-current] { background: var(--teal-50); color: var(--teal-dd); }
.nav__sub .has-sub2 > a { font-weight: 800; color: var(--navy); }
.nav__sub ul ul a { padding-left: 22px; font-size: .92rem; }
.nav__item.is-mega { position: static; }
.nav__item.is-mega > .nav__sub { left: 50%; transform: translate(-50%, 6px); width: min(100vw - 32px, 980px); padding: 22px; }
.nav__item.is-mega:hover > .nav__sub, .nav__item.is-mega:focus-within > .nav__sub, .nav__item.is-mega.is-open > .nav__sub { transform: translate(-50%, 0); }
.nav__item.is-mega > .nav__sub > ul { display: grid; grid-template-columns: 1fr 2fr 1fr; gap: 4px 24px; }
.nav__item.is-mega > .nav__sub > ul > li:nth-child(2) > ul { columns: 2; column-gap: 12px; }
.nav-backdrop { display: none; }

/* flash */
.flashes { padding-top: 18px; }
.flash { padding: 12px 16px; border-radius: var(--radius-s); background: var(--teal-50); color: var(--teal-dd); font-weight: 700; margin: 0 0 10px; border-left: 4px solid var(--teal); }
.flash--error { background: #fdecea; color: #8e2a1e; border-left-color: var(--danger); }

/* hero */
.hero { position: relative; background: linear-gradient(180deg, var(--teal-50), #fff 85%); overflow: hidden; }
.hero__in { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; padding: 64px 0 56px; }
.hero h1 { font-size: clamp(2.1rem, 1.2rem + 3vw, 3.4rem); max-width: 16ch; }
.hero__wave { width: 180px; height: 36px; color: var(--teal); margin: 4px 0 18px; }
.hero__wave use { stroke-dasharray: 260; stroke-dashoffset: 260; animation: draw 1.6s .2s ease-out forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero .lead { font-size: 1.15rem; color: var(--ink); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 14px; }
.hero__note { font-size: .92rem; color: var(--muted); }
.hero__media { margin: 0; position: relative; }
.hero__media img { width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; border-radius: 160px 24px 24px 24px; box-shadow: var(--shadow); }
.hero__media::before { content: ""; position: absolute; inset: auto -26px -26px auto; width: 58%; height: 62%; border-radius: 24px; background: var(--teal); opacity: .16; z-index: -1; }

/* call strip */
.call-strip { background: var(--navy); color: #fff; }
.call-strip__in { display: grid; grid-template-columns: 1fr 1fr; }
.call-strip__loc { padding: 26px 0; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 20px; }
.call-strip__loc + .call-strip__loc { padding-left: 36px; border-left: 1px solid rgba(255, 255, 255, .15); }
.call-strip__loc:first-child { padding-right: 36px; }
.call-strip h2 { color: #fff; font-size: 1.08rem; margin: 0; }
.call-strip p { margin: 0; color: #c4cee0; font-size: .93rem; grid-column: 1; }
.call-strip__phone { grid-column: 2; grid-row: 1 / span 2; display: inline-flex; align-items: center; gap: 8px; color: #fff; font-size: 1.25rem; font-weight: 800; text-decoration: none; padding: 10px 16px; border-radius: var(--radius-s); background: rgba(255, 255, 255, .08); white-space: nowrap; }
.call-strip__phone:hover { background: var(--teal-d); color: #fff; }

/* sections */
.section { padding: 72px 0; }
.section--tint { background: var(--soft); }
.section--flush { padding-top: 8px; padding-bottom: 72px; }
.section__head { margin-bottom: 30px; max-width: 70ch; }
.section__head p { color: var(--muted); margin: 0; }
.section__head--row { display: flex; justify-content: space-between; align-items: end; gap: 20px; max-width: none; }
.paths { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 3px solid var(--navy); }
.paths li + li { border-left: 1px solid var(--line); }
.paths a { display: block; height: 100%; padding: 22px 22px 26px; text-decoration: none; color: var(--ink); }
.paths a:hover { background: var(--teal-50); }
.paths strong { display: block; color: var(--navy); font-size: 1.18rem; margin-bottom: 8px; }
.paths a:hover strong { color: var(--teal-d); }
.paths span { color: var(--muted); font-size: .97rem; }

.quote { background: var(--teal-d); color: #fff; }
.quote__in { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 60px 0; }
.quote blockquote { margin: 0; max-width: 820px; }
.quote blockquote p { font-size: clamp(1.25rem, 1rem + 1vw, 1.7rem); line-height: 1.4; font-weight: 700; margin-bottom: .6em; }
.quote blockquote p::before { content: "„"; }
.quote blockquote p::after { content: "“"; }
.quote footer { color: var(--teal-100); font-weight: 600; }

/* product grid & card */
.grid-products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px 22px; }
.grid-products--shop { grid-template-columns: repeat(3, 1fr); }
.pcard { position: relative; display: flex; flex-direction: column; }
.pcard__img { position: relative; display: block; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: var(--soft); }
.pcard__img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .3s; }
.pcard:hover .pcard__img img { transform: scale(1.03); }
.pcard__actions { position: absolute; top: 10px; right: 10px; display: flex; flex-direction: column; gap: 6px; }
.tag { position: absolute; left: 10px; top: 10px; background: var(--teal-d); color: #fff; font-size: .78rem; font-weight: 800; padding: 3px 9px; border-radius: 20px; }
.tag--muted { background: var(--navy-80); }
.pcard__title { font-size: 1rem; font-weight: 700; margin: 14px 0 8px; line-height: 1.35; }
.pcard__title a { color: var(--navy); text-decoration: none; }
.pcard__title a:hover { color: var(--teal-d); }
.pcard__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.price { margin: 0; font-weight: 800; color: var(--navy); font-variant-numeric: tabular-nums; }
.price del { color: var(--muted); font-weight: 400; font-size: .9em; }
.price--lg { font-size: 1.6rem; margin: 10px 0 16px; }
.price__ask { color: var(--muted); font-weight: 700; font-size: .95rem; }

/* posts */
.grid-posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.postcard { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.postcard__img { display: block; aspect-ratio: 3 / 2; background: var(--teal-50); overflow: hidden; }
.postcard__img img { width: 100%; height: 100%; object-fit: cover; }
.postcard__ph { display: grid; place-items: center; height: 100%; color: var(--teal); }
.postcard__ph svg { width: 40%; }
.postcard__body { padding: 18px 20px 22px; }
.postcard h3 { font-size: 1.12rem; margin-bottom: .4em; }
.postcard h3 a { color: var(--navy); text-decoration: none; }
.postcard h3 a:hover { color: var(--teal-d); }
.postcard p { color: var(--muted); font-size: .95rem; margin: 0; }
.meta { color: var(--muted); font-size: .88rem; margin-bottom: .4em !important; }

/* page head + content */
.page-head { background: var(--teal-50); padding: 22px 0 34px; margin-bottom: 40px; }
.page-head h1 { margin: 8px 0 .3em; max-width: 26ch; }
.page-head .lead { margin: 0; }
.page-head--post h1 { max-width: none; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 0; font-size: .88rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin: 0 6px 0 2px; color: #a5b1bf; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--teal-d); text-decoration: underline; }
.page-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 56px; padding-bottom: 72px; }
.page-layout.has-aside { grid-template-columns: minmax(0, 1fr) 300px; }
.prose { max-width: 74ch; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: 1.55rem; margin-top: 1.6em; }
.prose h3 { font-size: 1.25rem; margin-top: 1.4em; }
.prose h4 { font-size: 1.08rem; margin-top: 1.3em; color: var(--teal-dd); }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.1em; }
.prose li { margin-bottom: .35em; }
.prose li::marker { color: var(--teal); }
.prose img { border-radius: var(--radius); margin: 1.2em 0; }
.prose p > img:only-child { margin: .2em 0; }
.prose blockquote { margin: 1.4em 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--teal); color: var(--navy); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 1.8em 0; }
.prose a { word-break: break-word; }
.prose .gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; margin: 1.2em 0; }
.prose .gallery img { margin: 0; aspect-ratio: 3 / 2; object-fit: cover; width: 100%; border-radius: var(--radius-s); }
.prose--short { color: var(--ink); }
.table-wrap { overflow-x: auto; margin: 1em 0 1.4em; }
.prose table { border-collapse: collapse; width: 100%; font-size: .95rem; }
.prose td, .prose th { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.embed { position: relative; aspect-ratio: 16 / 9; margin: 1.2em 0; }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: var(--radius); }
.child-links { list-style: none; padding: 0; display: grid; gap: 8px; }
.child-links a { display: block; padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--radius-s); font-weight: 700; text-decoration: none; }
.child-links a:hover { border-color: var(--teal); background: var(--teal-50); }
.back-link { margin-top: 2em; }
.team-photo { margin: 0 0 1.6em; }
.team-photo img { max-width: 340px; aspect-ratio: 4 / 5; object-fit: cover; margin: 0; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 22px; margin: 1em 0 2.4em; }
.team-card { display: block; text-decoration: none; color: var(--navy); }
.team-card__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 25%; border-radius: var(--radius); margin: 0 0 10px; background: var(--soft); }
.team-card__name { display: block; font-weight: 700; font-size: .96rem; line-height: 1.35; }
a.team-card:hover .team-card__name { color: var(--teal-d); text-decoration: underline; }
.page-layout.is-team .prose { max-width: 78ch; }
.prose:has(.team-grid) { max-width: none; }

.aside { display: flex; flex-direction: column; gap: 24px; }
.side-nav { }
.side-nav h2 { font-size: 1rem; text-transform: none; margin-bottom: 10px; padding-bottom: 10px; border-bottom: 2px solid var(--navy); }
.side-nav ul { list-style: none; margin: 0; padding: 0; }
.side-nav a { display: block; padding: 7px 10px; margin: 0 -10px; border-radius: 6px; color: var(--ink); text-decoration: none; font-size: .95rem; line-height: 1.35; }
.side-nav a:hover { background: var(--teal-50); color: var(--teal-dd); }
.side-nav a[aria-current] { background: var(--teal-50); color: var(--teal-dd); font-weight: 800; }
.call-box { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 22px; }
.call-box h2 { color: #fff; font-size: 1.15rem; margin-bottom: .3em; }
.call-box p { color: #c4cee0; font-size: .93rem; }
.call-box__phone { display: block; padding: 10px 0; border-top: 1px solid rgba(255, 255, 255, .14); color: #fff; text-decoration: none; }
.call-box__phone span { display: block; font-size: .82rem; color: #c4cee0; }
.call-box__phone strong { font-size: 1.15rem; }
.call-box__phone:hover strong { color: var(--teal-100); }
.call-box--wide { display: grid; grid-template-columns: 1fr auto auto; gap: 8px 36px; align-items: center; margin-bottom: 72px; padding: 26px 30px; }
.call-box--wide p { margin: 0; }
.call-box--wide h2 { margin: 0; }
.call-box--wide .call-box__phone { border-top: 0; grid-row: 1 / span 2; }
.call-box--wide > div, .call-box--wide > h2, .call-box--wide > p { grid-column: 1; }

/* blog chips */
.chips { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { display: inline-block; padding: 6px 14px; border-radius: 20px; background: #fff; border: 1px solid var(--line); color: var(--navy); text-decoration: none; font-weight: 700; font-size: .9rem; }
.chips a:hover { border-color: var(--teal); }
.chips a[aria-current] { background: var(--navy); border-color: var(--navy); color: #fff; }
.post-cover { margin: 0 0 30px; }
.post-cover img { width: 100%; border-radius: var(--radius); }
.pager { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 40px; }
.pager a, .pager span { min-width: 42px; height: 42px; padding: 0 12px; display: inline-grid; place-items: center; border-radius: var(--radius-s); border: 1px solid var(--line); text-decoration: none; font-weight: 700; color: var(--navy); }
.pager a:hover { border-color: var(--teal); color: var(--teal-d); }
.pager span[aria-current] { background: var(--navy); border-color: var(--navy); color: #fff; }
.pager .pager__gap { border: 0; min-width: 0; }
.empty { color: var(--muted); padding: 20px 0; }
.empty--big { text-align: center; padding: 50px 0 80px; }
.empty--big p { font-size: 1.15rem; }

/* shop */
.shop { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 44px; padding-bottom: 72px; }
.cat-filter summary { font-weight: 800; color: var(--navy); font-size: 1.05rem; padding-bottom: 10px; border-bottom: 2px solid var(--navy); margin-bottom: 8px; cursor: pointer; list-style: none; }
.cat-filter summary::-webkit-details-marker { display: none; }
.cat-filter ul { list-style: none; padding: 0; margin: 0; }
.cat-filter ul ul { margin: 2px 0 6px 12px; padding-left: 10px; border-left: 2px solid var(--teal-100); }
.cat-filter a { display: flex; justify-content: space-between; padding: 7px 10px; margin: 0 -10px; border-radius: 6px; color: var(--ink); text-decoration: none; font-size: .96rem; }
.cat-filter a:hover { background: var(--teal-50); }
.cat-filter a[aria-current] { background: var(--teal-50); color: var(--teal-dd); font-weight: 800; }
.count { color: var(--muted); font-size: .85rem; }
.pay-note { margin-top: 28px; padding: 18px; border-radius: var(--radius); background: var(--soft); }
.pay-note h2 { font-size: 1rem; }
.pay-note p { font-size: .9rem; color: var(--muted); margin: 0; }
.shop__bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 22px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.shop__bar p { margin: 0; color: var(--muted); }
.sort { display: flex; align-items: center; gap: 8px; font-size: .92rem; }
select, input, textarea { font: inherit; color: inherit; }
.sort select { padding: 7px 10px; border: 1px solid var(--line); border-radius: var(--radius-s); background: #fff; }

/* product page */
.product { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; padding: 18px 0 40px; }
.product__main { margin: 0; aspect-ratio: 1; background: var(--soft); border-radius: var(--radius); display: grid; place-items: center; overflow: hidden; }
.product__main img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.product__thumbs { list-style: none; padding: 0; margin: 12px 0 0; display: flex; gap: 10px; flex-wrap: wrap; }
.product__thumbs button { width: 76px; height: 76px; padding: 0; border: 2px solid transparent; border-radius: var(--radius-s); background: var(--soft); cursor: pointer; overflow: hidden; }
.product__thumbs button[aria-current="true"] { border-color: var(--teal); }
.product__thumbs img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.product__info h1 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); margin-top: 6px; }
.product__cats { color: var(--muted); font-size: .92rem; margin: 0; }
.buy { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 22px 0 12px; }
.qty { display: inline-flex; align-items: center; border: 2px solid var(--line); border-radius: var(--radius-s); overflow: hidden; height: 52px; }
.qty button { width: 42px; height: 100%; border: 0; background: #fff; font-size: 1.3rem; color: var(--navy); cursor: pointer; }
.qty button:hover { background: var(--teal-50); }
.qty input[type=number] { width: 52px; height: 100%; border: 0; border-radius: 0; padding: 0; box-shadow: none; text-align: center; font-weight: 800; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button, .qty input::-webkit-outer-spin-button { -webkit-appearance: none; }
.qty--sm { height: 42px; }
.qty--sm button { width: 34px; }
.qty--sm input[type=number] { width: 42px; }
.stock { display: flex; align-items: center; gap: 8px; font-weight: 700; margin: 0 0 18px; }
.stock--ok { color: var(--teal-d); }
.stock--out { color: var(--danger); font-weight: 600; }
.ask { background: var(--teal-50); padding: 18px 20px; border-radius: var(--radius); margin: 18px 0; }
.product__facts { list-style: none; padding: 0; margin: 22px 0 0; border-top: 1px solid var(--line); }
.product__facts li { display: flex; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.product__facts span { width: 90px; color: var(--muted); flex: none; }
.product__desc { padding-bottom: 72px; }
.product__desc h2 { padding-bottom: 12px; border-bottom: 2px solid var(--navy); max-width: 74ch; }

/* quick view */
.quick { border: 0; padding: 0; border-radius: var(--radius); width: min(100% - 24px, 860px); box-shadow: 0 20px 60px rgba(31, 44, 77, .3); }
.quick::backdrop { background: rgba(31, 44, 77, .55); }
.quick__close { position: absolute; top: 10px; right: 10px; border: 0; background: #fff; width: 40px; height: 40px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; color: var(--navy); }
.qv { display: grid; grid-template-columns: 1fr 1fr; }
.qv__img { width: 100%; aspect-ratio: 1; object-fit: contain; background: var(--soft); mix-blend-mode: multiply; }
.qv__info { padding: 34px 30px; }
.qv__info h2 { font-size: 1.4rem; padding-right: 30px; }
.qv__actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* cart */
.cart { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 44px; align-items: start; padding-bottom: 72px; }
.cart__lines { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.cart__line { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto 120px 40px; gap: 18px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart__img img { width: 84px; height: 84px; object-fit: contain; background: var(--soft); border-radius: var(--radius-s); mix-blend-mode: multiply; }
.cart__name a { display: block; font-weight: 700; color: var(--navy); text-decoration: none; line-height: 1.35; }
.cart__name a:hover { color: var(--teal-d); }
.cart__name .muted { font-size: .88rem; }
.cart__total { text-align: right; font-variant-numeric: tabular-nums; }
.cart__remove { border: 0; background: none; color: var(--muted); cursor: pointer; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; }
.cart__remove:hover { background: #fdecea; color: var(--danger); }
.cart__summary { background: var(--soft); border-radius: var(--radius); padding: 24px; position: sticky; top: 100px; }
.cart__summary dl { display: flex; justify-content: space-between; margin: 0 0 12px; font-size: 1.15rem; font-weight: 800; color: var(--navy); }
.cart__summary dd { margin: 0; }
.cart__summary .muted { font-size: .9rem; }
.link-muted { display: block; text-align: center; margin-top: 12px; color: var(--muted); font-size: .92rem; }

/* forms + checkout */
.form, fieldset { display: grid; gap: 14px; }
fieldset { border: 0; padding: 0; margin: 0 0 30px; }
legend { font-size: 1.3rem; font-weight: 800; color: var(--navy); margin-bottom: 12px; padding: 0; }
label { display: grid; gap: 6px; font-weight: 700; font-size: .95rem; color: var(--navy); }
.opt { font-weight: 400; color: var(--muted); font-size: .85rem; }
input[type=text], input[type=email], input[type=tel], input[type=number], input[type=password], input[type=search], input[type=url], textarea, select { width: 100%; padding: .7em .85em; border: 1.5px solid #c9d4dc; border-radius: var(--radius-s); background: #fff; font-weight: 400; color: var(--ink); }
input:focus, textarea:focus, select:focus { border-color: var(--teal); outline: none; box-shadow: 0 0 0 3px rgba(16, 180, 156, .2); }
input[aria-invalid="true"] { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: .86rem; font-weight: 600; }
.hint { color: var(--muted); font-size: .84rem; font-weight: 400; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form__row--city { grid-template-columns: 2fr 1fr; }
.company summary { cursor: pointer; color: var(--teal-d); font-weight: 700; margin-bottom: 10px; }
.choices { display: grid; gap: 10px; }
.choice { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: start; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: var(--radius-s); cursor: pointer; font-weight: 400; }
.choice:has(input:checked) { border-color: var(--teal); background: var(--teal-50); }
.choice input { margin-top: 4px; accent-color: var(--teal-d); width: 18px; height: 18px; }
.choice strong { display: block; color: var(--navy); }
.choice small { color: var(--muted); font-size: .86rem; }
.choice em { font-style: normal; font-weight: 800; color: var(--navy); }
.pay-box { padding: 16px 18px; border-radius: var(--radius-s); background: var(--teal-50); border-left: 4px solid var(--teal); }
.pay-box p { margin: 0; font-size: .96rem; }
.checkout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 48px; align-items: start; padding-bottom: 72px; }
.checkout__summary { background: var(--soft); border-radius: var(--radius); padding: 24px; position: sticky; top: 100px; }
.checkout__summary h2 { font-size: 1.25rem; }
.mini-lines { list-style: none; padding: 0; margin: 0 0 12px; }
.mini-lines li { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.mini-lines strong { white-space: nowrap; font-variant-numeric: tabular-nums; }
.totals { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; margin: 0 0 18px; font-size: .95rem; }
.totals dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.totals .totals__grand { font-size: 1.2rem; font-weight: 800; color: var(--navy); padding-top: 10px; border-top: 2px solid var(--navy); margin-top: 6px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; margin-bottom: 14px; }
.check input { margin-top: 5px; accent-color: var(--teal-d); }

/* thank you */
.thanks { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 44px; align-items: start; padding-bottom: 72px; }
.payslip { border: 2px solid var(--teal); border-radius: var(--radius); padding: 26px; }
.payslip__grid { display: grid; grid-template-columns: 1fr 220px; gap: 24px; align-items: start; }
.payslip__data { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; margin: 0 0 16px; }
.payslip__data dt { color: var(--muted); font-size: .9rem; }
.payslip__data dd { margin: 0; color: var(--navy); }
.payslip__qr { margin: 0; text-align: center; }
.payslip__qr img { width: 100%; border: 1px solid var(--line); border-radius: var(--radius-s); }
.payslip__qr figcaption { font-size: .84rem; color: var(--muted); margin-top: 8px; }
[data-copy] { cursor: copy; }
.order-summary { background: var(--soft); border-radius: var(--radius); padding: 24px; }
.order-summary h3 { font-size: 1.05rem; margin-top: 10px; }

/* contact */
.locations { display: grid; gap: 30px; margin-bottom: 56px; }
.location { display: grid; grid-template-columns: 1fr 1.2fr; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.location__info { padding: 28px 30px; }
.location dl { display: grid; grid-template-columns: 130px 1fr; gap: 8px 16px; margin: 16px 0 0; }
.location dt { color: var(--muted); font-size: .92rem; }
.location dd { margin: 0; }
.location dd a.strong { font-size: 1.15rem; text-decoration: none; }
.location__map { min-height: 300px; background: var(--soft); }
.location__map iframe { width: 100%; height: 100%; min-height: 300px; border: 0; display: block; }
.contact-form { display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px; padding: 40px; background: var(--teal-50); border-radius: var(--radius); margin-bottom: 72px; }
.contact-form p { color: var(--muted); }
.search-big { display: flex; gap: 10px; margin-top: 18px; max-width: 640px; }
.results-h { margin-top: 30px; font-size: 1.3rem; }
.results { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 4px; }
.results li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.results a { font-weight: 800; font-size: 1.08rem; }
.results p { margin: 4px 0 0; color: var(--muted); font-size: .94rem; }

/* footer */
.footer { background: var(--navy); color: #c4cee0; font-size: .95rem; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 48px; padding: 60px 0 40px; }
.footer__brand img { width: 210px; margin-bottom: 16px; }
.footer h2 { color: #fff; font-size: 1.05rem; margin-bottom: 14px; }
.footer__loc p { display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; }
.footer p .i { margin-top: 5px; color: var(--teal); }

.footer a { color: #fff; text-decoration: none; }
.footer a:hover { color: var(--teal-100); text-decoration: underline; }
.footer__brand > p { display: block; }
.newsletter { margin-top: 22px; }
.newsletter label { color: #fff; }
.newsletter__row { display: flex; gap: 8px; margin-top: 4px; }
.newsletter input { border-color: transparent; }
.newsletter__msg { font-size: .88rem; margin: 6px 0 0; min-height: 1.2em; color: var(--teal-100); }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 18px 0 26px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .88rem; }
.footer__bottom p { margin: 0; }
.footer__bottom ul { list-style: none; display: flex; flex-wrap: wrap; gap: 18px; margin: 0; padding: 0; }

/* toast, consent */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); width: max-content; z-index: 90; background: var(--navy); color: #fff; padding: 13px 18px; border-radius: var(--radius-s); box-shadow: var(--shadow); display: flex; gap: 14px; align-items: center; max-width: calc(100% - 24px); font-weight: 600; }
.toast a { color: var(--teal-100); font-weight: 800; white-space: nowrap; }
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 95; max-width: 520px; background: #fff; border-radius: var(--radius); box-shadow: 0 10px 40px rgba(31, 44, 77, .25); padding: 18px 20px; }
.consent p { margin: 0 0 12px; font-size: .95rem; }
.consent div { display: flex; gap: 10px; justify-content: flex-end; }

/* responsive */
@media (max-width: 1180px) {
  .header__logo img { width: 190px; }
  .nav__link { padding: 26px 8px; font-size: .93rem; }
}
@media (max-width: 1060px) {
  .tool--menu { display: inline-grid; }
  .nav { position: fixed; inset: 0 0 0 auto; width: min(92vw, 400px); background: #fff; z-index: 70; transform: translateX(100%); transition: transform .25s ease; overflow-y: auto; padding: 0 0 30px; visibility: hidden; }
  .nav.is-open { transform: none; visibility: visible; }
  .nav-backdrop { position: fixed; inset: 0; background: rgba(31, 44, 77, .5); z-index: 45; }
  body.nav-open .nav-backdrop { display: block; }
  body.nav-open { overflow: hidden; }
  .nav__head { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; border-bottom: 1px solid var(--line); }
  .nav__close { border: 0; background: none; width: 44px; height: 44px; display: grid; place-items: center; cursor: pointer; color: var(--navy); }
  .nav__close .i { width: 24px; height: 24px; }
  .nav__list { display: block; padding: 8px 0; }
  .nav__item { border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto; }
  .nav__link { padding: 14px 20px; font-size: 1.05rem; }
  .nav__item.is-active > .nav__link { box-shadow: inset 4px 0 0 var(--teal); }
  .nav__toggle { display: grid; place-items: center; width: 56px; border: 0; background: none; color: var(--navy); cursor: pointer; }
  .nav__toggle .i { transition: transform .2s; }
  .nav__item.is-open .nav__toggle .i { transform: rotate(180deg); }
  .nav__sub, .nav__item.is-mega > .nav__sub { position: static; grid-column: 1 / -1; opacity: 1; visibility: visible; transform: none; display: none; box-shadow: none; border: 0; border-radius: 0; width: auto; padding: 0 12px 12px 20px; min-width: 0; }
  .nav__item:hover > .nav__sub, .nav__item:focus-within > .nav__sub { transform: none; }
  .nav__item.is-open > .nav__sub, .nav__item.is-mega.is-open > .nav__sub { display: block; transform: none; }
  .nav__item.is-mega > .nav__sub > ul { display: block; }
  .nav__item.is-mega > .nav__sub > ul > li:nth-child(2) > ul { columns: 1; }
  .nav__call { display: grid; gap: 10px; padding: 20px; }
  .nav__call .btn { justify-content: flex-start; font-size: .92rem; }
  .hero__in { grid-template-columns: 1fr; padding: 40px 0; gap: 34px; }
  .hero__media { order: -1; }
  .hero__media img { aspect-ratio: 16 / 10; border-radius: 90px 18px 18px 18px; }
  .grid-products { grid-template-columns: repeat(3, 1fr); }
  .page-layout.has-aside { grid-template-columns: minmax(0, 1fr); }
  .side-nav { position: static; }
  .aside { display: grid; grid-template-columns: 1fr 1fr; }
  .shop { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .shop__aside { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
  .pay-note { margin: 0; }
  .grid-products--shop { grid-template-columns: repeat(3, 1fr); }
  .cart, .checkout, .thanks { grid-template-columns: minmax(0, 1fr); }
  .cart__summary, .checkout__summary { position: static; }
  .paths { grid-template-columns: 1fr 1fr; }
  .paths li:nth-child(3) { border-left: 0; }
  .paths li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .contact-form { grid-template-columns: 1fr; gap: 10px; padding: 28px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .topbar__hours, .topbar__place { display: none; }
  .topbar__phones { gap: 14px; }
  .header__in { min-height: 64px; gap: 10px; }
  .header__logo img { width: 160px; }
  .tool { width: 40px; height: 40px; }
  .call-strip__in { grid-template-columns: 1fr; }
  .call-strip__loc, .call-strip__loc + .call-strip__loc, .call-strip__loc:first-child { padding: 18px 0; border-left: 0; }
  .call-strip__loc + .call-strip__loc { border-top: 1px solid rgba(255, 255, 255, .15); }
  .call-strip__phone { font-size: 1.05rem; padding: 8px 12px; }
  .section { padding: 52px 0; }
  .section__head--row { flex-direction: column; align-items: flex-start; }
  .paths { grid-template-columns: 1fr; }
  .paths li + li { border-left: 0; border-top: 1px solid var(--line); }
  .quote__in { flex-direction: column; align-items: flex-start; gap: 20px; padding: 44px 0; }
  .grid-products, .grid-products--shop { grid-template-columns: 1fr 1fr; gap: 22px 14px; }
  .pcard__foot { flex-direction: column; align-items: flex-start; }
  .pcard__foot .btn, .pcard__foot form { width: 100%; }
  .grid-posts { grid-template-columns: 1fr; }
  .aside, .shop__aside { grid-template-columns: 1fr; }
  .product { grid-template-columns: 1fr; gap: 24px; }
  .qv { grid-template-columns: 1fr; }
  .qv__img { aspect-ratio: 4 / 3; }
  .cart__line { grid-template-columns: 64px minmax(0, 1fr) 36px; grid-template-areas: "img name rm" "img qty total"; gap: 8px 14px; }
  .cart__img { grid-area: img; } .cart__img img { width: 64px; height: 64px; }
  .cart__name { grid-area: name; } .cart__line .qty { grid-area: qty; justify-self: start; }
  .cart__total { grid-area: total; } .cart__remove { grid-area: rm; }
  .form__row, .form__row--city { grid-template-columns: 1fr; }
  .payslip { padding: 18px; }
  .payslip__grid { grid-template-columns: 1fr; }
  .payslip__qr { max-width: 240px; margin: 0 auto; }
  .location { grid-template-columns: 1fr; }
  .location__info { padding: 22px; }
  .location dl { grid-template-columns: 1fr; gap: 0; }
  .location dd { margin-bottom: 8px; }
  .call-box--wide { grid-template-columns: 1fr; }
  .call-box--wide .call-box__phone { grid-row: auto; border-top: 1px solid rgba(255, 255, 255, .14); }
  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .page-head { margin-bottom: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero__wave use { stroke-dashoffset: 0; }
}
@media print {
  .topbar, .header, .footer, .call-box, .aside, .btn { display: none !important; }
  .page-head { background: none; }
}

/* price list (Cenovnik) */
.price-list { border-top: 2px solid var(--navy); margin: 1.5em 0; }
.price-item { display: flex; justify-content: space-between; gap: 24px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); }
.price-item h3 { font-size: 1.02rem; margin: 0; }
.price-item p { margin: 4px 0 0; color: var(--muted); font-size: .93rem; }
.price-item strong { white-space: nowrap; color: var(--navy); font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.price-list__note { margin: 14px 0 0; color: var(--muted); }
@media (max-width: 760px) { .price-item { flex-direction: column; gap: 4px; } }

/* Google reCAPTCHA */
.recaptcha { margin: .25rem 0 1rem; min-height: 78px; }
.recaptcha-note { font-size: .8rem; opacity: .75; margin: 0 0 .75rem; }

/* Partner logos – auto-scrolling strip under the news */
.partners { padding: 46px 0 54px; background: #fff; border-top: 1px solid rgba(31, 45, 84, .08); }
.partners__title { text-align: center; font-size: 1.25rem; margin: 0 0 26px; color: var(--navy); }
.partners__viewport { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.partners__track { display: flex; gap: 22px; width: max-content; margin: 0; padding: 4px 0; list-style: none; animation: partners-scroll var(--partners-time, 50s) linear infinite; }
.partners__viewport:hover .partners__track, .partners__track:focus-within { animation-play-state: paused; }
.partners__item { flex: 0 0 auto; }
.partners__item a, .partners__item span { display: flex; align-items: center; justify-content: center; width: 200px; height: 104px; padding: 16px 22px; background: #fff; border: 1px solid rgba(31, 45, 84, .1); border-radius: var(--radius); transition: border-color .25s, box-shadow .25s; }
.partners__item img { max-width: 100%; max-height: 66px; width: auto; height: auto; object-fit: contain; filter: grayscale(1) contrast(.9); opacity: .6; transition: filter .3s, opacity .3s; }
.partners__item a:hover, .partners__item a:focus-visible { border-color: rgba(31, 45, 84, .22); box-shadow: 0 6px 18px rgba(31, 45, 84, .08); }
.partners__item a:hover img, .partners__item a:focus-visible img, .partners__item span:hover img { filter: none; opacity: 1; }
@keyframes partners-scroll { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 11px)); } }
@media (hover: none) { .partners__item img { filter: none; opacity: 1; } }
@media (max-width: 640px) { .partners__item a, .partners__item span { width: 150px; height: 84px; padding: 12px 16px; } .partners__item img { max-height: 52px; } }
@media (prefers-reduced-motion: reduce) { .partners__viewport { overflow-x: auto; } .partners__track { animation: none; } .partners__item[aria-hidden] { display: none; } }

/* Photo galleries: full-width page + lightbox */
.page-layout.is-gallery .prose { max-width: none; }
.page-layout.is-gallery .gallery { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.prose .gallery a { display: block; overflow: hidden; border-radius: var(--radius-s); cursor: zoom-in; }
.prose .gallery a img { transition: transform .35s ease; }
.prose .gallery a:hover img, .prose .gallery a:focus-visible img { transform: scale(1.04); }
.prose .gallery a:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }

.lb { position: fixed; inset: 0; z-index: 200; display: grid; grid-template-rows: auto 1fr auto; background: rgba(14, 20, 38, .94); color: #fff; touch-action: pan-y; }
.lb[hidden] { display: none !important; }
.lb__bar { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; font-size: .95rem; }
.lb__count { opacity: .8; font-variant-numeric: tabular-nums; }
.lb__stage { position: relative; display: flex; align-items: center; justify-content: center; min-height: 0; padding: 0 72px; }
.lb__img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 4px; box-shadow: 0 12px 40px rgba(0, 0, 0, .45); transition: opacity .2s; user-select: none; -webkit-user-drag: none; }
.lb__img.is-loading { opacity: .25; }
.lb__btn { display: grid; place-items: center; width: 52px; height: 52px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; transition: background .2s; }
.lb__btn:hover, .lb__btn:focus-visible { background: rgba(255, 255, 255, .26); outline: none; }
.lb__btn svg { width: 24px; height: 24px; }
.lb__prev, .lb__next { position: absolute; top: 50%; transform: translateY(-50%); }
.lb__prev { left: 12px; } .lb__next { right: 12px; }
.lb__thumbs { display: flex; gap: 8px; justify-content: safe center; padding: 12px 16px 16px; overflow-x: auto; scrollbar-width: thin; }
.lb__thumbs button { flex: 0 0 auto; width: 72px; height: 48px; padding: 0; border: 2px solid transparent; border-radius: 6px; overflow: hidden; background: none; cursor: pointer; opacity: .55; transition: opacity .2s, border-color .2s; }
.lb__thumbs button[aria-current="true"] { opacity: 1; border-color: var(--teal); }
.lb__thumbs button:hover { opacity: 1; }
.lb__thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
body.lb-open { overflow: hidden; }
@media (max-width: 640px) {
  .lb__stage { padding: 0 8px; }
  .lb__prev, .lb__next { width: 42px; height: 42px; top: auto; bottom: 8px; transform: none; }
  .lb__prev { left: calc(50% - 52px); } .lb__next { right: calc(50% - 52px); }
  .lb__stage { padding-bottom: 60px; }
  .lb__thumbs { display: none; }
}
@media (prefers-reduced-motion: reduce) { .prose .gallery a img, .lb__img { transition: none; } }

/* Page sidebar: section links + booking + locations */
.aside__sticky { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 24px; }
.info-box { border: 1px solid rgba(31, 45, 84, .12); border-radius: var(--radius); padding: 22px; background: var(--teal-50); }
.info-box h2 { font-size: 1.05rem; margin: 0 0 12px; }
.info-box__loc { display: flex; flex-direction: column; padding: 10px 0; border-top: 1px solid rgba(31, 45, 84, .1); font-size: .93rem; line-height: 1.45; }
.info-box__loc strong { color: var(--navy); }
.info-box__note { color: var(--muted); font-size: .86rem; }
.info-box__hours { margin: 4px 0 0; padding-top: 10px; border-top: 1px solid rgba(31, 45, 84, .1); font-size: .9rem; line-height: 1.5; color: var(--ink); }
.info-box__sovo { margin: 12px 0 0; padding: 10px 12px; background: #fff; border-radius: var(--radius-s); font-size: .88rem; line-height: 1.45; color: var(--navy); }
.info-box__link { display: inline-block; margin-top: 12px; font-weight: 600; font-size: .93rem; color: var(--teal-d); }
@media (max-width: 1060px) {
  .page-layout.has-aside .aside { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); align-items: start; }
  .aside__sticky { position: static; display: contents; }
}

/* Footer: shopping & legal links */
.footer__links { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 28px 48px; padding-top: 30px; padding-bottom: 30px; border-top: 1px solid rgba(255, 255, 255, .12); }
.footer__links h2 { font-size: 1rem; margin: 0 0 12px; color: #fff; }
.footer__links ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer__links a { color: rgba(255, 255, 255, .78); text-decoration: none; font-size: .95rem; }
.footer__links a:hover, .footer__links a:focus-visible { color: #fff; text-decoration: underline; }
@media (max-width: 760px) { .footer__links { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer__links { grid-template-columns: 1fr; } }

/* Home: photo on top of each "Kako možemo da pomognemo" card */
.paths a { padding-top: 16px; }
.paths__img { display: block; aspect-ratio: 4 / 3; margin: 0 0 18px; overflow: hidden; border-radius: var(--radius-s); background: var(--teal-50); }
.paths__img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.paths a:hover .paths__img img, .paths a:focus-visible .paths__img img { transform: scale(1.04); }
@media (prefers-reduced-motion: reduce) { .paths__img img { transition: none; } }

/* Team cards on phones: two per row instead of one huge photo */
@media (max-width: 640px) {
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 14px; margin: .6em 0 1.8em; }
  .team-card__photo img { border-radius: var(--radius-s); margin-bottom: 8px; }
  .team-card__name { font-size: .86rem; line-height: 1.3; }
}
@media (hover: none) { a.team-card:hover .team-card__name { color: inherit; text-decoration: none; } }

/* Team photos: the person stands left of centre in the landscape studio photos – keep them in the middle of the card */
.team-card__photo img[src*="x683"] { object-position: 14% 50%; }
.team-card__photo img[src*="x539"] { object-position: 41% 40%; }

/* Home: "Pratite nas" + Instagram feed */
.follow { padding: 56px 0 64px; background: var(--teal-50); }
.follow__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; margin-bottom: 28px; }
.follow__head h2 { margin: 0 0 8px; }
.follow__head p { margin: 0; color: var(--muted); max-width: 52ch; }
.follow__profiles { list-style: none; margin: 0; padding: 0; display: flex; gap: 14px; flex-wrap: wrap; }
.follow__profile { display: flex; align-items: center; gap: 12px; padding: 12px 20px 12px 12px; background: #fff; border: 1px solid rgba(31, 45, 84, .1); border-radius: 999px; text-decoration: none; color: var(--navy); transition: border-color .2s, box-shadow .2s; }
.follow__profile:hover, .follow__profile:focus-visible { border-color: var(--teal); box-shadow: 0 6px 18px rgba(31, 45, 84, .08); }
.follow__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: #fff; flex: 0 0 auto; }
.follow__profile:hover .follow__icon { background: var(--teal-d); }
.follow__icon svg { width: 22px; height: 22px; }
.follow__profile small { display: block; font-size: .78rem; color: var(--muted); line-height: 1.2; }
.follow__profile strong { display: block; font-size: 1rem; line-height: 1.3; }
.ig-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.ig-grid a { position: relative; display: block; aspect-ratio: 1; overflow: hidden; border-radius: var(--radius-s); background: #fff; }
.ig-grid img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.ig-grid__cap { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 14px; background: linear-gradient(transparent 35%, rgba(20, 30, 56, .85)); color: #fff; font-size: .86rem; line-height: 1.4; opacity: 0; transition: opacity .25s; }
.ig-grid a:hover img, .ig-grid a:focus-visible img { transform: scale(1.04); }
.ig-grid a:hover .ig-grid__cap, .ig-grid a:focus-visible .ig-grid__cap { opacity: 1; }
.ig-grid__badge { position: absolute; top: 10px; right: 10px; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: rgba(0, 0, 0, .45); color: #fff; }
.ig-grid__badge svg { width: 16px; height: 16px; }
.follow__more { text-align: center; margin: 26px 0 0; }
@media (max-width: 760px) {
  .follow { padding: 44px 0 50px; }
  .ig-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .follow__profiles { width: 100%; }
  .follow__profiles li { flex: 1 1 220px; }
}
@media (hover: none) { .ig-grid__cap { display: none; } }
@media (prefers-reduced-motion: reduce) { .ig-grid img { transition: none; } }

/* Blog / Press / Nauka i razvoj listings */
.page-head__lead { margin: 6px 0 0; color: var(--muted); max-width: 62ch; }
.chips a span { font-weight: 400; color: var(--muted); margin-left: 2px; }
.chips a[aria-current="page"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.chips a[aria-current="page"] span { color: rgba(255, 255, 255, .75); }

/* contact form: confirmation / error right above the fields */
.form__flash { margin: 0 0 18px; background: #fff; color: var(--teal-d); box-shadow: 0 4px 14px rgba(31, 45, 84, .06); }
.form__flash.flash--error { background: #fdecea; color: #8e2a1e; }
.flash--ok::before { content: "✓ "; }
