/** @format */

:root {
    --primary: #de1446;
    --primary-hover: #c20f3c;
    --primary-soft: #fdecef;
    --primary-ink: #b40e3a;
    --secondary: #0f1b3d;
    --secondary-soft: #e7eaf2;
    --navy: #0f1b3d;
    --text: #0f1b3d;
    --text-2: #2e3654;
    --muted: #5a6079;
    --placeholder: #6b7087;
    --bg: #fbf8f6;
    --surface: #fff;
    --surface-2: #f4efeb;
    --border: #e8e2dd;
    --border-strong: #d6cec7;
    --success: #1a7f4e;
    --success-soft: #e3f3ea;
    --error: #c4262e;
    --error-soft: #fce9ea;
    --shadow-sm: 0 1px 2px rgba(15, 27, 61, 0.06);
    --shadow-md: 0 10px 30px -12px rgba(15, 27, 61, 0.18);
    --shadow-lg: 0 24px 60px -24px rgba(15, 27, 61, 0.28);
    --radius-input: 12px;
    --radius-card: 20px;
    --radius-panel: 28px;
    --container: 1280px;
}
* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
    /* Sidra (#...) ne smeju da završe ispod lepljivog menija (80px + razmak). */
    scroll-padding-top: 104px;
}
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Figtree, system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}
button,
input,
textarea,
select {
    font: inherit;
}
button {
    cursor: pointer;
}
a {
    color: inherit;
    text-decoration: none;
}
img {
    max-width: 100%;
    height: auto;
}
h1,
h2,
h3,
p {
    margin: 0;
}
h1,
h2,
h3 {
    font-family: "Bricolage Grotesque", system-ui, sans-serif;
    letter-spacing: -0.025em;
    line-height: 1.1;
}
h1 {
    font-size: clamp(2.25rem, 5vw, 4rem);
}
h2 {
    font-size: clamp(1.65rem, 3vw, 2.45rem);
}
h3 {
    font-size: 1.18rem;
}
.container {
    width: min(calc(100% - 40px), var(--container));
    margin-inline: auto;
}
.sr-only {
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}
.skip-link {
    position: absolute;
    left: 12px;
    top: -100px;
    background: var(--navy);
    color: #fff;
    padding: 10px 14px;
    border-radius: 10px;
    z-index: 20;
}
.skip-link:focus {
    top: 12px;
}
:focus-visible {
    outline: 3px solid rgba(222, 20, 70, 0.45);
    outline-offset: 3px;
}
.eyebrow {
    color: var(--primary-ink);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.button {
    align-items: center;
    border: 0;
    border-radius: 999px;
    display: inline-flex;
    font-size: 0.94rem;
    font-weight: 700;
    gap: 8px;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    transition:
        background 0.2s,
        transform 0.2s,
        border-color 0.2s;
    white-space: nowrap;
}
.button:hover {
    transform: translateY(-1px);
}
.button:active {
    transform: translateY(1px);
}
.button--primary {
    background: var(--primary);
    color: #fff;
}
.button--primary:hover {
    background: var(--primary-hover);
}
.button--secondary {
    background: var(--surface);
    border: 1.5px solid var(--border-strong);
    color: var(--navy);
}
.button--secondary:hover {
    border-color: var(--navy);
}
.button--small {
    font-size: 0.86rem;
    min-height: 38px;
    padding: 0 16px;
}
.button--large {
    font-size: 1rem;
    min-height: 56px;
    padding: 0 28px;
}
.button--block {
    width: 100%;
}
.text-link {
    align-items: center;
    color: var(--navy);
    display: inline-flex;
    font-weight: 700;
    gap: 7px;
}
.text-link:hover {
    color: var(--primary);
}
.site-header {
    background: transparent;
    border-bottom: 1px solid transparent;
    position: sticky;
    top: 0;
    z-index: 10;
    transition:
        background-color 180ms ease,
        border-color 180ms ease,
        box-shadow 180ms ease,
        backdrop-filter 180ms ease;
}

.site-header.is-scrolled {
    background: rgba(255, 255, 255, 0.94);
    border-bottom-color: var(--border);
    box-shadow: 0 10px 28px -24px rgba(15, 27, 61, 0.42);
    backdrop-filter: blur(12px);
}

body.page-home .site-header {
    margin-bottom: -80px;
}
.site-header__inner {
    align-items: center;
    display: flex;
    gap: 34px;
    height: 80px;
}
.brand {
    align-items: center;
    display: inline-flex;
    flex-shrink: 0;
    font-family: "Bricolage Grotesque", system-ui, sans-serif;
    font-size: 1.45rem;
    font-weight: 800;
    gap: 7px;
    letter-spacing: -0.04em;
}
.brand__mark {
    height: 27px;
    stroke: var(--primary);
    stroke-linecap: round;
    stroke-width: 2.8;
    width: 27px;
}
.brand__glint {
    opacity: 0.55;
    stroke-width: 1.6;
}
.desktop-nav {
    display: flex;
    gap: 25px;
}
.desktop-nav a {
    color: var(--text-2);
    font-size: 0.94rem;
    font-weight: 600;
}
.desktop-nav a:hover {
    color: var(--primary);
}
.header-search {
    align-items: center;
    border: 1.5px solid var(--border);
    border-radius: 999px;
    display: flex;
    gap: 9px;
    height: 44px;
    margin-left: auto;
    padding: 0 14px;
    width: min(100%, 350px);
}
.header-search svg,
.icon-button svg {
    fill: none;
    height: 20px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
    width: 20px;
}
.header-search svg {
    color: var(--muted);
    flex: 0 0 auto;
}
.header-search input {
    background: transparent;
    border: 0;
    color: var(--text);
    min-width: 0;
    outline: 0;
    width: 100%;
}
.header-actions {
    align-items: center;
    display: flex;
    gap: 8px;
    margin-left: auto;
}
.header-search + .header-actions {
    margin-left: 0;
}
.login-link {
    font-size: 0.94rem;
    font-weight: 700;
    padding: 10px;
}
.mobile-actions,
.mobile-menu {
    display: none;
}
.icon-button {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 999px;
    color: var(--navy);
    display: inline-flex;
    height: 44px;
    justify-content: center;
    padding: 0;
    width: 44px;
}
.icon-button--border {
    border: 1.5px solid var(--border-strong);
}
.home-hero {
    background:
        radial-gradient(
            ellipse 60% 95% at 103% 3%,
            rgba(246, 102, 86, 0.3),
            transparent 70%
        ),
        radial-gradient(
            ellipse 72% 88% at -13% 100%,
            rgba(255, 179, 112, 0.28),
            transparent 68%
        ),
        radial-gradient(
            circle at 56% 32%,
            rgba(255, 255, 255, 0.88),
            transparent 42%
        ),
        linear-gradient(135deg, #fffaf7 0%, #fff4ee 52%, #f9eee8 100%);
    isolation: isolate;
    min-height: 100svh;
    overflow: hidden;
    padding: 120px 0 68px;
    position: relative;
}
.hero-magnifier {
    display: none;
}
@media (hover: hover) and (pointer: fine) {
    .hero-magnifier {
        --lens-radius: 55px;
        --lens-x: 0px;
        --lens-y: 0px;
        display: block;
        height: 110px;
        isolation: isolate;
        left: 0;
        opacity: 0;
        pointer-events: none;
        position: absolute;
        top: 0;
        transform: translate3d(
            calc(var(--lens-x) - var(--lens-radius)),
            calc(var(--lens-y) - var(--lens-radius)),
            0
        );
        transition:
            transform 160ms cubic-bezier(0.2, 0.7, 0.3, 1),
            opacity 100ms ease;
        visibility: hidden;
        width: 110px;
        will-change: transform;
        z-index: 4;
    }
    .hero-magnifier.is-ready {
        opacity: 1;
        visibility: visible;
    }
    .hero-magnifier.is-ready.is-hidden {
        opacity: 0;
        visibility: hidden;
    }
    .hero-magnifier::after {
        background: linear-gradient(180deg, #1f2c55, #0f1b3d);
        border-radius: 9px;
        bottom: -38px;
        box-shadow: 4px 7px 8px rgba(15, 27, 61, 0.18);
        content: "";
        height: 52px;
        position: absolute;
        right: 2px;
        transform: rotate(-45deg);
        transform-origin: top center;
        width: 15px;
        z-index: -1;
    }
    .hero-magnifier__glass {
        border-radius: 50%;
        box-shadow: 0 15px 30px -10px rgba(15, 27, 61, 0.45);
        height: 100%;
        overflow: hidden;
        position: relative;
        width: 100%;
    }
    .hero-magnifier__glass::before,
    .hero-magnifier__glass::after {
        content: "";
        inset: 0;
        pointer-events: none;
        position: absolute;
    }
    .hero-magnifier__glass::before {
        background:
            radial-gradient(
                circle at 30% 26%,
                rgba(255, 255, 255, 0.5),
                transparent 30%
            ),
            radial-gradient(circle, transparent 64%, rgba(15, 27, 61, 0.16));
        z-index: 2;
    }
    .hero-magnifier__glass::after {
        border: 5px solid #de1446;
        border-radius: inherit;
        box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
        z-index: 3;
    }
    .hero-magnifier__scale-wrap {
        height: 110px;
        transform: scale(1.6);
        transform-origin: var(--lens-radius) var(--lens-radius);
        width: 110px;
        will-change: transform;
    }
    .hero-magnifier__copy {
        height: var(--hero-magnifier-height);
        min-height: var(--hero-magnifier-height);
        transform: translate3d(
            calc(var(--lens-radius) - var(--lens-x)),
            calc(var(--lens-radius) - var(--lens-y)),
            0
        );
        width: var(--hero-magnifier-width);
        will-change: transform;
    }
}
@media (prefers-reduced-motion: reduce) {
    .hero-magnifier {
        transition: none;
    }
}
.home-hero::before,
.home-hero::after {
    content: "";
    pointer-events: none;
    position: absolute;
    z-index: 0;
}
.home-hero::before {
    background-image: radial-gradient(
        circle,
        rgba(15, 27, 61, 0.22) 1.1px,
        transparent 1.3px
    );
    background-position: 3px 5px;
    background-size: 16px 16px;
    inset: 0 0 0 45%;
    mask-image: radial-gradient(
        ellipse 78% 86% at 70% 42%,
        #000 3%,
        transparent 72%
    );
    -webkit-mask-image: radial-gradient(
        ellipse 78% 86% at 70% 42%,
        #000 3%,
        transparent 72%
    );
    opacity: 0.68;
}
.home-hero::after {
    background: radial-gradient(
        ellipse at center,
        rgba(255, 255, 255, 0.68),
        rgba(255, 255, 255, 0) 68%
    );
    filter: blur(10px);
    height: min(56vw, 760px);
    right: min(-18vw, -180px);
    top: min(-9vw, -70px);
    width: min(58vw, 800px);
}
.hero-mascot {
    bottom: -16px;
    filter: drop-shadow(-14px 18px 24px rgba(15, 27, 61, 0.16));
    pointer-events: none;
    position: absolute;
    right: -16px;
    width: min(20vw, 270px);
    z-index: 1;
}
.hero-mascot-slot {
    display: contents;
}
.home-hero .hero-grid,
.home-hero .discovery-form,
.home-hero .popular-links {
    position: relative;
    z-index: 1;
}
.home-hero:has(.select2-container--open) {
    overflow-x: clip;
    overflow-y: visible;
    z-index: 3;
}
.home-hero .discovery-form:has(.select2-container--open) {
    z-index: 2;
}
.hero-grid {
    align-items: center;
    display: grid;
    grid-template-columns: minmax(0, 780px) 1fr;
    min-height: 240px;
    position: relative;
}
.hero-copy {
    max-width: 790px;
}
.hero-copy h1 {
    font-size: clamp(2.75rem, 5.35vw, 4.4rem);
    font-weight: 700;
    letter-spacing: -0.055em;
    margin: 12px 0 20px;
    max-width: 780px;
}
.hero-copy h1 em {
    color: var(--primary);
    font-style: normal;
}
.hero-copy > p:last-child {
    color: var(--text-2);
    font-size: 1.14rem;
    line-height: 1.6;
    max-width: 590px;
}
.hero-bubbles {
    height: 240px;
    position: relative;
}
.hero-bubble {
    border: 5px solid #fff;
    border-radius: 50%;
    box-shadow: var(--shadow-lg);
    display: block;
    position: absolute;
    text-decoration: none;
}
.hero-bubble:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 4px;
}
.hero-bubble img {
    border-radius: inherit;
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}
.hero-bubble:nth-child(1) {
    height: 116px;
    right: 145px;
    top: 18px;
    width: 116px;
}
.hero-bubble:nth-child(2) {
    height: 88px;
    right: 2px;
    top: 96px;
    width: 88px;
}
.hero-bubble:nth-child(3) {
    bottom: 0;
    height: 94px;
    left: 15px;
    width: 94px;
}
.hero-bubble__label {
    background: var(--navy);
    border-radius: 7px;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    left: 50%;
    opacity: 0;
    padding: 5px 7px;
    pointer-events: none;
    position: absolute;
    bottom: calc(100% + 14px);
    transform: translate(-50%, 4px);
    transition:
        opacity 140ms ease,
        transform 140ms ease;
    white-space: nowrap;
    z-index: 2;
}
.hero-bubble:hover .hero-bubble__label,
.hero-bubble.is-revealed .hero-bubble__label {
    opacity: 1;
    transform: translate(-50%, 0);
}
.discovery-form {
    align-items: end;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 30px;
    box-shadow: var(--shadow-lg);
    display: grid;
    gap: 14px;
    grid-template-columns: minmax(230px, 1.5fr) minmax(180px, 0.8fr) auto;
    margin-top: 52px;
    padding: 20px;
    position: relative;
}
.discovery-form label {
    color: var(--muted);
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin: 0 0 4px 15px;
    text-transform: uppercase;
}
.discovery-field {
    align-items: center;
    background: var(--surface-2);
    border: 1px solid transparent;
    border-radius: 18px;
    display: flex;
    gap: 9px;
    height: 56px;
    padding: 0 17px;
    position: relative;
    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}
.discovery-field:focus-within,
.discovery-field:has(.select2-container--focus),
.discovery-field:has(.select2-container--open) {
    background: #fff;
    border-color: var(--primary);
    box-shadow: none;
}
.discovery-field:focus-within .discovery-field__icon,
.discovery-field:has(.select2-container--focus) .discovery-field__icon,
.discovery-field:has(.select2-container--open) .discovery-field__icon {
    color: var(--primary);
}
.discovery-field__icon,
.discovery-select__chevron,
.button__arrow {
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.9;
}
.discovery-field__icon {
    color: var(--muted);
    flex: 0 0 auto;
    height: 20px;
    width: 20px;
}
.discovery-form input,
.discovery-form select {
    background: transparent;
    border: 0;
    color: var(--navy);
    min-width: 0;
    outline: 0;
    width: 100%;
}
.discovery-form select {
    appearance: none;
    cursor: pointer;
    padding-right: 26px;
}
.discovery-select {
    align-items: center;
    display: flex;
    flex: 1;
    min-width: 0;
    position: relative;
}
.discovery-select__chevron {
    color: var(--muted);
    height: 18px;
    pointer-events: none;
    position: absolute;
    right: 0;
    width: 18px;
}
.discovery-select
    select.select2-hidden-accessible
    ~ .discovery-select__chevron {
    display: none;
}
.discovery-select .select2-container {
    flex: 1 1 auto;
    min-width: 0;
    width: 100% !important;
}
.discovery-field > .select2-container--open {
    box-sizing: border-box;
    left: 0 !important;
    min-width: 0;
    right: 0 !important;
    width: auto !important;
    z-index: 100;
}
.discovery-field > .select2-container--open .select2-dropdown {
    min-width: 0;
    width: 100% !important;
}
.discovery-select .select2-selection--single {
    background: transparent;
    border: 0;
    border-radius: 0;
    height: 54px;
    outline: 0;
}
.discovery-select .select2-selection--single .select2-selection__rendered {
    color: var(--navy);
    font-size: 0.98rem;
    line-height: 54px;
    padding-left: 0;
    padding-right: 0;
}
.discovery-select .select2-selection--single .select2-selection__placeholder {
    color: var(--placeholder);
}
.discovery-select .select2-selection--single .select2-selection__arrow {
    display: none;
}
.select2-dropdown {
    background: #fff;
    border: 1px solid var(--border-strong);
    border-radius: 16px;
    box-shadow: 0 18px 38px -24px rgba(15, 27, 61, 0.42);
    margin-top: 8px;
    overflow: hidden;
}
.select2-search--dropdown {
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 9px 10px;
}
.select2-search--dropdown .select2-search__field {
    background: #fff;
    border: 1px solid var(--border-strong);
    border-radius: 10px;
    color: var(--navy);
    outline: 0;
    padding: 8px 10px;
}
.select2-search--dropdown .select2-search__field:focus {
    border-color: var(--primary);
}
.select2-results__option {
    color: var(--text-2);
    font-size: 0.94rem;
    padding: 10px 14px;
}
.select2-results__options {
    overflow-x: hidden;
    overflow-y: auto;
}
.select2-container--default
    .select2-results__option--highlighted[aria-selected] {
    background: var(--navy);
    color: #fff;
}
.select2-container--default .select2-results__option[aria-selected="true"] {
    background: var(--primary-soft);
    color: var(--primary-ink);
}
.discovery-form__municipality {
    min-width: 0;
}
.discovery-form__municipality[hidden] {
    display: none;
}
.discovery-form > .button {
    border-radius: 18px;
}
.discovery-form > .button .button__arrow {
    flex: 0 0 auto;
    height: 19px;
    transition: transform 0.2s ease;
    width: 19px;
}
.discovery-form > .button:hover .button__arrow {
    transform: translateX(3px);
}
.section {
    padding: 92px 0;
}
.section-heading {
    align-items: end;
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}
.section-heading h2 {
    margin: 5px 0;
}
.section-heading__categories {
    min-height: 40px;
    padding-inline: 16px;
}
.section-heading__categories:hover {
    transform: none;
}
.section-heading p:not(.eyebrow) {
    color: var(--muted);
    margin-top: 5px;
}
.section-heading--center {
    justify-content: center;
    text-align: center;
}
.category-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(5, minmax(0, 1fr));
}
.category-card {
    align-items: center;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    display: flex;
    gap: 11px;
    min-height: 88px;
    padding: 12px;
    transition:
        box-shadow 0.2s,
        transform 0.2s;
}
.category-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.page-home .category-card:hover {
    transform: none;
}
.category-card__body {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.category-card strong {
    font-size: 0.94rem;
    line-height: 1.2;
}
.category-card small {
    color: var(--muted);
    font-size: 0.78rem;
    margin-top: 2px;
}
.category-card__arrow {
    color: var(--muted);
    margin-left: auto;
}
.how-it-works {
    background: var(--navy);
    color: #fff;
    padding: 90px 0;
}
.how-it-works .eyebrow {
    color: #f9b6c7;
}
.how-it-works .section-heading p:not(.eyebrow) {
    color: #c9cee2;
}
.steps {
    counter-reset: steps;
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(3, 1fr);
    list-style: none;
    padding: 25px 0 0;
}
.steps li {
    border-top: 1px solid rgba(255, 255, 255, 0.24);
    padding-top: 23px;
}
.steps .step-number {
    color: #f0a4b8;
    font-family: "Bricolage Grotesque", system-ui, sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
}
.steps h3 {
    font-size: 1.45rem;
    margin: 24px 0 9px;
}
.steps .step-icon {
    color: var(--primary);
    display: block;
    height: 54px;
    margin-top: 18px;
    order: 3;
    width: 54px;
}
.steps .step-icon svg {
    filter: drop-shadow(0 9px 10px rgba(195, 92, 73, 0.12));
    fill: none;
    height: 100%;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.55;
    width: 100%;
}
.steps .step-icon .icon-accent {
    fill: var(--secondary-soft);
    opacity: 1;
    stroke: none;
}
.steps .step-icon .icon-solid {
    fill: var(--secondary);
    stroke: none;
}
.steps p {
    color: #c9cee2;
    max-width: 290px;
}
.profile-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.profile-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    transition: border-color 0.2s;
}
.profile-card:hover {
    border-color: var(--border-strong);
}
.profile-card__image {
    background: var(--surface-2);
    display: block;
    height: 180px;
    overflow: hidden;
}
.profile-card__image img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}
.profile-monogram {
    align-items: center;
    background: #fbe4e9;
    color: #a3173f;
    display: flex;
    font-family: "Bricolage Grotesque", system-ui, sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    height: 100%;
    justify-content: center;
    width: 100%;
}
.profile-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 12px;
    padding: 16px 17px 18px;
}
.profile-card h3 {
    /* Najviše dva reda; nazivi bez razmaka (npr. sa donjim crtama) se lome bilo gde. */
    -webkit-box-orient: vertical;
    display: -webkit-box;
    font-size: 1.15rem;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    overflow-wrap: anywhere;
}
.profile-card h3 a:hover {
    color: var(--primary);
}
.profile-handle {
    color: var(--muted);
    font-size: 0.86rem;
}
.profile-description {
    color: var(--text-2);
    display: -webkit-box;
    font-size: 0.9rem;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}
.profile-meta {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: auto;
}
.tag {
    align-items: center;
    background: var(--surface-2);
    border-radius: 999px;
    color: var(--text-2);
    display: inline-flex;
    font-size: 0.75rem;
    font-weight: 700;
    gap: 5px;
    padding: 4px 9px;
}
.location-meta {
    align-items: center;
    color: var(--muted);
    display: inline-flex;
    font-size: 0.79rem;
    font-weight: 600;
    gap: 4px;
}
/* Galerija na stranici profila */
.profile-gallery {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    max-width: 860px;
}
.profile-gallery__item {
    aspect-ratio: 1;
    background: var(--surface-2);
    border-radius: 16px;
    cursor: zoom-in;
    display: block;
    overflow: hidden;
}
.profile-gallery__item img {
    display: block;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
    width: 100%;
}
.profile-gallery__item:hover img {
    transform: scale(1.05);
}
.lightbox {
    background: transparent;
    border: 0;
    height: 100vh;
    max-height: none;
    max-width: none;
    padding: 0;
    width: 100vw;
}
.lightbox::backdrop {
    background: rgba(15, 27, 61, 0.92);
}
.lightbox[open] {
    align-items: center;
    display: flex;
    justify-content: center;
}
.lightbox img {
    border-radius: 12px;
    max-height: 86vh;
    max-width: min(92vw, 1400px);
    object-fit: contain;
}
.lightbox__close,
.lightbox__nav {
    align-items: center;
    background: rgba(255, 255, 255, 0.14);
    border: 0;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: flex;
    font-size: 1.8rem;
    height: 48px;
    justify-content: center;
    line-height: 1;
    position: absolute;
    transition: background 0.2s;
    width: 48px;
}
.lightbox__close:hover,
.lightbox__nav:hover {
    background: rgba(255, 255, 255, 0.28);
}
.lightbox__close {
    right: 20px;
    top: 20px;
}
.lightbox__nav--prev {
    left: 20px;
}
.lightbox__nav--next {
    right: 20px;
}
.lightbox__nav[hidden] {
    display: none;
}
.lightbox__counter {
    bottom: 22px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 700;
    left: 50%;
    position: absolute;
    transform: translateX(-50%);
}
@media (max-width: 760px) {
    .profile-gallery {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px;
    }
    .profile-gallery__item {
        border-radius: 10px;
    }
    .lightbox__nav {
        display: none;
    }
}

/* Instagram nalog ispod naslova na kartici profila */
.profile-ig {
    align-items: center;
    color: var(--muted);
    display: inline-flex;
    font-size: 0.86rem;
    font-weight: 600;
    gap: 5px;
    margin-top: 4px;
    max-width: 100%;
    min-width: 0;
    transition: color 0.2s;
}
.profile-ig svg {
    fill: none;
    flex: none;
    height: 15px;
    stroke: var(--primary);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
    width: 15px;
}
.profile-ig span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.profile-ig:hover {
    color: var(--primary);
}
/* Bedževi na kartici profila: kategorija, grad, dostava. Uvek u jednom redu, dugačak tekst ide u "…". */
.meta-badge {
    align-items: center;
    border-radius: 999px;
    display: inline-flex;
    font-size: 0.75rem;
    font-weight: 700;
    gap: 5px;
    max-width: 100%;
    min-width: 0;
    padding: 4px 9px;
    transition:
        background-color 0.2s,
        color 0.2s;
    white-space: nowrap;
}
.meta-badge span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}
/* "+2" uz grad kad profil ima više lokacija */
.meta-badge__more {
    color: var(--primary-ink);
    flex: none;
    font-weight: 800;
}
/* Svi bedževi istog izgleda: bež podloga, taman tekst, ikonica u tamno-roze; linkovi roze na hover. */
.meta-badge--category,
.meta-badge--city,
.meta-badge--delivery {
    background: var(--surface-2);
    color: var(--text-2);
}
.meta-badge .profile-meta__icon {
    color: var(--primary-ink);
}
a.meta-badge:hover {
    background: var(--primary-soft);
    color: var(--primary-ink);
}
/* Oznaka "Cela Srbija" (dostava / usluga na teritoriji cele Srbije) */
.delivery-meta {
    background: #e3f3ea;
    border-radius: 999px;
    color: #1a7f4e;
    padding: 3px 9px 3px 7px;
}
.listing-note {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    color: var(--text-2);
    line-height: 1.6;
    margin: 0;
    padding: 16px 20px;
}
.section--nationwide {
    border-top: 1px solid var(--border);
    padding-top: 40px;
}
.listing-more {
    margin-top: 24px;
    text-align: center;
}
.profile-meta__icon {
    fill: none;
    flex: 0 0 auto;
    height: 14px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.9;
    width: 14px;
}
.tag .profile-meta__icon {
    color: var(--primary-ink);
}
.profile-meta a {
    transition:
        background-color 0.2s,
        color 0.2s;
}
.profile-meta .tag:hover {
    background: var(--primary-soft);
    color: var(--primary-ink);
}
.profile-meta .location-meta:hover {
    color: var(--primary);
}
.profile-meta a:focus-visible {
    border-radius: 6px;
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}
.business-cta {
    align-items: center;
    background: #ffede6;
    border-radius: 32px;
    display: flex;
    gap: 48px;
    margin-bottom: 96px;
    overflow: hidden;
    padding: 58px 64px 0;
}
.business-cta > div {
    max-width: 635px;
    padding-bottom: 57px;
}
.business-cta h2 {
    font-size: clamp(2rem, 3.6vw, 2.9rem);
    margin: 8px 0 16px;
}
.business-cta p:not(.eyebrow) {
    color: var(--text-2);
    font-size: 1.1rem;
    line-height: 1.6;
}
.business-cta__actions {
    align-items: center;
    display: flex;
    gap: 15px;
    margin-top: 27px;
}
.coming-soon {
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(15, 27, 61, 0.08);
    border-radius: 17px;
    color: var(--text-2);
    display: flex;
    font-size: 0.9rem;
    gap: 12px;
    margin-top: 23px;
    padding: 14px 16px;
}
.coming-soon strong {
    background: var(--navy);
    border-radius: 999px;
    color: #fff;
    font-size: 0.68rem;
    letter-spacing: 0.07em;
    padding: 3px 7px;
    text-transform: uppercase;
}
.business-cta > img {
    align-self: end;
    max-width: 300px;
}
.site-footer {
    background: var(--navy);
    color: #c9cee2;
    padding: 70px 0 28px;
}
.footer-grid {
    display: grid;
    gap: 42px;
    grid-template-columns: 2.1fr repeat(3, 1fr);
}
.footer-brand p {
    line-height: 1.55;
    margin-top: 15px;
    max-width: 300px;
}
.brand--light {
    color: #fff;
}
.footer-grid h2 {
    color: #fff;
    font-family: Figtree, system-ui, sans-serif;
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
    text-transform: uppercase;
}
.footer-grid > div:not(.footer-brand) {
    display: flex;
    flex-direction: column;
    gap: 9px;
}
.footer-grid a:hover {
    color: #fff;
}
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    display: flex;
    font-size: 0.84rem;
    justify-content: space-between;
    margin-top: 45px;
    padding-top: 22px;
}
.breadcrumbs {
    font-size: 0.86rem;
    padding-top: 29px;
}
.breadcrumbs ol {
    align-items: center;
    color: var(--muted);
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.breadcrumbs li {
    align-items: center;
    display: flex;
    gap: 7px;
}
.breadcrumbs a:hover {
    color: var(--primary);
}
.breadcrumbs [aria-current] {
    color: var(--navy);
    font-weight: 700;
}
.page-intro,
.listing-intro {
    padding: 50px 0 34px;
}
.page-intro > p:last-child,
.listing-intro > div > p:last-child {
    color: var(--text-2);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-top: 15px;
    max-width: 700px;
}
.page-intro h1,
.listing-intro h1 {
    margin-top: 6px;
}
.categories-layout {
    align-items: start;
    display: grid;
    gap: 46px;
    grid-template-columns: 200px minmax(0, 1fr);
    padding-bottom: 100px;
}
.category-jump {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-height: calc(100dvh - 124px);
    overflow-x: hidden;
    overflow-y: auto;
    padding: 14px;
    position: sticky;
    -ms-overflow-style: none;
    scrollbar-width: none;
    top: 100px;
}
.category-jump::-webkit-scrollbar {
    display: none;
}
.category-jump strong {
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    margin: 2px 6px 8px;
    text-transform: uppercase;
}
.category-jump a {
    border-radius: 9px;
    color: var(--text-2);
    font-size: 0.9rem;
    padding: 6px;
}
.category-jump a:hover {
    background: var(--primary-soft);
    color: var(--primary-ink);
}
/* Naslovna: brojke */
.home-stats {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 40px;
    padding: 8px;
}
.home-stats > div {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 16px 20px;
}
.home-stats > div + div {
    border-left: 1px solid var(--border);
}
.home-stats strong {
    color: var(--primary);
    font-family: "Bricolage Grotesque", system-ui, sans-serif;
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.05em;
    line-height: 1.05;
}
.home-stats span {
    color: var(--text-2);
    font-size: 0.9rem;
    font-weight: 600;
}

/* Naslovna: pretraga po gradu */
.city-tiles {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}
.city-tile {
    align-items: center;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    display: flex;
    gap: 12px;
    padding: 14px 14px 14px 14px;
    transition:
        background 0.2s,
        border-color 0.2s;
}
.city-tile__icon {
    align-items: center;
    background: var(--surface-2);
    border-radius: 12px;
    color: var(--primary-ink);
    display: flex;
    flex: none;
    height: 42px;
    justify-content: center;
    width: 42px;
}
.city-tile__icon svg {
    fill: none;
    height: 20px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.9;
    width: 20px;
}
.city-tile__text {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
}
.city-tile__text strong {
    color: var(--navy);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.city-tile__text small {
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 600;
}
.city-tile b {
    color: var(--primary);
    font-weight: 700;
    transition: transform 0.2s;
}
.city-tile:hover {
    background: var(--primary-soft);
    border-color: rgba(222, 20, 70, 0.22);
}
.city-tile:hover b {
    transform: translateX(3px);
}
.city-tile--nationwide {
    background: var(--surface-2);
}
.city-tile--nationwide .city-tile__icon {
    background: var(--surface);
}

/* Naslovna: popularno po gradovima */
.popular-locations {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.popular-locations a {
    align-items: center;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--text-2);
    display: inline-flex;
    font-size: 0.92rem;
    font-weight: 700;
    gap: 8px;
    padding: 9px 10px 9px 16px;
    transition:
        background 0.2s,
        border-color 0.2s,
        color 0.2s;
}
.popular-locations small {
    background: var(--surface-2);
    border-radius: 999px;
    color: var(--muted);
    font-size: 0.75rem;
    padding: 2px 8px;
}
.popular-locations a:hover {
    background: var(--primary-soft);
    border-color: rgba(222, 20, 70, 0.22);
    color: var(--primary-ink);
}

/* Naslovna: česta pitanja */
.faq-list {
    display: grid;
    gap: 10px;
    max-width: 860px;
}
.faq-list details {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    transition: border-color 0.2s;
}
.faq-list details[open] {
    border-color: rgba(222, 20, 70, 0.25);
}
.faq-list summary {
    align-items: center;
    color: var(--navy);
    cursor: pointer;
    display: flex;
    font-weight: 700;
    gap: 16px;
    justify-content: space-between;
    list-style: none;
    padding: 18px 20px;
}
.faq-list summary::-webkit-details-marker {
    display: none;
}
.faq-list summary::after {
    align-items: center;
    background: var(--surface-2);
    border-radius: 50%;
    color: var(--primary-ink);
    content: "+";
    display: inline-flex;
    flex: none;
    font-size: 1.1rem;
    height: 28px;
    justify-content: center;
    transition: transform 0.2s;
    width: 28px;
}
.faq-list details[open] summary::after {
    transform: rotate(45deg);
}
.faq-list details p {
    color: var(--text-2);
    line-height: 1.65;
    margin: 0;
    padding: 0 20px 18px;
}
@media (max-width: 760px) {
    .home-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-top: 24px;
    }
    .home-stats > div {
        padding: 12px 14px;
    }
    .home-stats > div + div {
        border-left: 0;
    }
    .home-stats > div:nth-child(even) {
        border-left: 1px solid var(--border);
    }
    .home-stats > div:nth-child(n + 3) {
        border-top: 1px solid var(--border);
    }
    .home-stats strong {
        font-size: 1.6rem;
    }
    /* Gradovi po 2 u redu: manja ikonica, bez strelice. */
    .city-tiles {
        gap: 10px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .city-tile {
        gap: 10px;
        padding: 12px;
    }
    .city-tile__icon {
        border-radius: 10px;
        height: 34px;
        width: 34px;
    }
    .city-tile__icon svg {
        height: 17px;
        width: 17px;
    }
    .city-tile b {
        display: none;
    }
    .city-tile--nationwide .city-tile__text strong {
        white-space: normal;
    }
}

/* Pretraga na stranici "Kategorije" */
.category-search {
    align-items: center;
    background: var(--surface);
    border: 1.5px solid var(--border-strong);
    border-radius: 999px;
    display: flex;
    gap: 10px;
    margin-top: 24px;
    max-width: 520px;
    padding: 0 18px;
    transition:
        border-color 0.2s,
        box-shadow 0.2s;
}
.category-search:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(222, 20, 70, 0.12);
}
.category-search svg {
    color: var(--muted);
    fill: none;
    flex: none;
    height: 20px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-width: 2;
    width: 20px;
}
.category-search input {
    background: transparent;
    border: 0;
    color: var(--navy);
    flex: 1;
    font: inherit;
    font-size: 1rem;
    min-height: 52px;
    min-width: 0;
    outline: 0;
}
.category-search input::placeholder {
    color: var(--placeholder, #6b7087);
}
.category-group[hidden],
.category-jump a[hidden],
.subcategory-list a[hidden],
.category-filter-empty[hidden] {
    display: none;
}
.category-filter-empty {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    color: var(--text-2);
    margin: 0;
    padding: 18px 20px;
}
.category-groups {
    display: flex;
    flex-direction: column;
    gap: 22px;
}
.category-group {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 26px;
}
.category-group__title {
    align-items: center;
    display: flex;
    gap: 15px;
    margin-bottom: 22px;
}
.category-group__monogram {
    align-items: center;
    background: #e1ecf8;
    border-radius: 14px;
    color: #1f4d85;
    display: flex;
    font-family: "Bricolage Grotesque", system-ui, sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    height: 52px;
    justify-content: center;
    width: 52px;
}
.category-group h2 {
    font-size: 1.45rem;
}
.category-group__heading {
    align-items: baseline;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.category-group__count {
    color: var(--muted);
    font-size: 0.84rem;
    font-weight: 700;
    white-space: nowrap;
}
.category-group h2 a:hover {
    color: var(--primary);
}
.category-group p {
    color: var(--muted);
    font-size: 0.9rem;
    margin-top: 4px;
}
.subcategory-list {
    display: grid;
    gap: 8px;
    grid-template-columns: minmax(0, 1fr);
}
.subcategory-list::before {
    color: var(--muted);
    content: "Podkategorije";
    font-size: 0.72rem;
    font-weight: 800;
    grid-column: 1 / -1;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}
.subcategory-list a {
    align-items: center;
    background: var(--surface-2);
    border: 1px solid transparent;
    border-radius: 14px;
    display: flex;
    gap: 12px;
    min-height: 64px;
    padding: 10px 12px 10px 10px;
    transition:
        background 0.2s,
        border-color 0.2s;
}
.subcategory-list__image {
    align-items: center;
    background: var(--surface);
    border-radius: 12px;
    color: var(--primary);
    display: flex;
    flex: none;
    font-family: "Bricolage Grotesque", system-ui, sans-serif;
    font-size: 1.1rem;
    font-style: normal;
    font-weight: 800;
    height: 44px;
    justify-content: center;
    overflow: hidden;
    width: 44px;
}
.subcategory-list__image img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}
.subcategory-list span {
    color: var(--navy);
    flex: 1;
    font-weight: 700;
    min-width: 0;
}
.subcategory-list small {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 600;
    white-space: nowrap;
}
.subcategory-list b {
    align-items: center;
    background: var(--surface);
    border-radius: 50%;
    color: var(--primary);
    display: inline-flex;
    flex: none;
    font-weight: 700;
    height: 30px;
    justify-content: center;
    transition:
        background 0.2s,
        color 0.2s,
        transform 0.2s;
    width: 30px;
}
.subcategory-list a:hover {
    background: var(--primary-soft);
    border-color: rgba(222, 20, 70, 0.22);
}
.subcategory-list a:hover span {
    color: var(--primary-ink);
}
.subcategory-list a:hover b {
    background: var(--primary);
    color: #fff;
    transform: translateX(2px);
}
.listing-intro {
    align-items: end;
    display: flex;
    justify-content: space-between;
}
.category-listing-intro {
    padding-bottom: 6px;
    padding-top: 28px;
}
/* Opis kategorije širi na većim ekranima. */
@media (min-width: 1024px) {
    .category-listing-intro > div > p:last-child {
        max-width: 960px;
    }
}
.category-listing-intro h1 {
    margin-top: 0;
}
.filter-chip {
    background: var(--primary-soft);
    border-radius: 999px;
    color: var(--primary-ink);
    font-size: 0.88rem;
    font-weight: 700;
    padding: 8px 12px;
}
.chips {
    display: flex;
    gap: 8px;
    overflow: auto;
    padding: 3px 0;
    scrollbar-width: none;
}
.chips::-webkit-scrollbar {
    display: none;
}
.chip {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 999px;
    display: inline-flex;
    font-size: 0.88rem;
    font-weight: 700;
    gap: 5px;
    padding: 8px 13px;
    white-space: nowrap;
}
.chip:hover,
.chip--active {
    background: var(--primary-soft);
    border-color: transparent;
    color: var(--primary-ink);
}
.chip--delivery,
.chip--delivery:hover {
    background: var(--surface-2);
    border-color: transparent;
    color: var(--text-2);
}
.chip small {
    color: inherit;
    font-size: 0.75rem;
}
.listing-toolbar {
    align-items: center;
    border-bottom: 1px solid var(--border);
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    margin-top: 18px;
    padding: 15px 0;
}
.listing-toolbar span {
    color: var(--muted);
    font-size: 0.9rem;
    margin-left: 6px;
}
.location-filter {
    align-items: center;
    display: flex;
    gap: 7px;
}
.location-filter select,
.search-page__form select {
    background: var(--surface);
    border: 1.5px solid var(--border-strong);
    border-radius: 999px;
    color: var(--navy);
    font-size: 0.88rem;
    max-width: 165px;
    padding: 8px 27px 8px 12px;
}
.section--listing {
    padding-top: 32px;
}
.empty-state {
    align-items: center;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    display: flex;
    gap: 17px;
    padding: 30px;
}
.empty-state__icon {
    align-items: center;
    background: var(--surface-2);
    border-radius: 50%;
    color: var(--muted);
    display: flex;
    font-size: 2rem;
    height: 58px;
    justify-content: center;
    width: 58px;
}
.empty-state h2 {
    font-size: 1.3rem;
}
.empty-state p {
    color: var(--muted);
    font-size: 0.94rem;
    margin-top: 5px;
}
.empty-state__actions {
    display: flex;
    gap: 10px;
    margin-left: auto;
}
.pagination {
    display: flex;
    gap: 5px;
    justify-content: center;
    margin-top: 42px;
}
.pagination a {
    align-items: center;
    border-radius: 50%;
    display: flex;
    font-size: 0.94rem;
    font-weight: 700;
    height: 42px;
    justify-content: center;
    width: 42px;
}
.pagination a:hover,
.pagination .is-current {
    background: var(--navy);
    color: #fff;
}
.pagination .is-disabled {
    opacity: 0.35;
    pointer-events: none;
}
.seo-copy {
    border-top: 1px solid var(--border);
    padding: 50px 0 95px;
}
.seo-copy h2 {
    font-size: 1.55rem;
}
.seo-copy p {
    color: var(--text-2);
    line-height: 1.7;
    margin-top: 12px;
    max-width: 780px;
}
.search-page {
    padding: 48px 0 20px;
}
.search-page h1 {
    margin: 6px 0 24px;
}
.search-page__form {
    align-items: center;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    display: flex;
    gap: 10px;
    padding: 10px;
}
.search-page__form input {
    background: var(--surface-2);
    border: 0;
    border-radius: 12px;
    flex: 1;
    min-width: 180px;
    outline: 0;
    padding: 14px 15px;
}
.search-section-heading {
    align-items: baseline;
    display: flex;
    justify-content: space-between;
    margin: 35px 0 17px;
}
.search-section-heading h2 {
    font-size: 1.5rem;
}
.search-section-heading span {
    color: var(--muted);
    font-size: 0.9rem;
}
.search-categories {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.search-categories a {
    align-items: center;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 15px;
    display: flex;
    gap: 11px;
    padding: 12px;
}
.search-categories a:hover {
    box-shadow: var(--shadow-sm);
}
.search-categories span {
    align-items: center;
    background: #e3efe4;
    border-radius: 10px;
    color: #2d6a3a;
    display: flex;
    font-family: "Bricolage Grotesque", system-ui, sans-serif;
    font-weight: 800;
    height: 37px;
    justify-content: center;
    width: 37px;
}
.search-categories strong {
    font-size: 0.93rem;
}
.search-categories b {
    font-weight: 400;
    margin-left: auto;
}
.profile-page {
    padding: 45px 0 96px;
}
.profile-hero {
    align-items: center;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    padding: 24px 0 39px;
}
.profile-hero__identity {
    align-items: center;
    display: flex;
    gap: 22px;
}
.profile-hero__identity > img {
    border-radius: 20px;
    object-fit: cover;
}
.profile-monogram--large {
    border-radius: 20px;
    font-size: 3.2rem;
    height: 144px;
    width: 144px;
}
.profile-hero h1 {
    font-size: clamp(2rem, 4vw, 3.15rem);
}
.profile-hero__subtitle {
    color: var(--text-2);
    margin-top: 12px;
    max-width: 580px;
}
.profile-hero__actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: end;
}
.profile-page__grid {
    display: grid;
    gap: 80px;
    grid-template-columns: minmax(0, 1fr);
    margin-top: 47px;
}
.profile-section + .profile-section {
    border-top: 1px solid var(--border);
    margin-top: 37px;
    padding-top: 35px;
}
.profile-section h2,
.profile-details h2 {
    font-size: 1.55rem;
    margin-bottom: 14px;
}
.profile-section p {
    color: var(--text-2);
    line-height: 1.75;
    max-width: 720px;
}
.profile-details {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    height: max-content;
    padding: 22px;
}
.profile-details h2 {
    font-size: 1.2rem;
}
.profile-details p {
    align-items: flex-start;
    color: var(--text-2);
    display: flex;
    gap: 8px;
    margin-top: 12px;
    word-break: break-word;
}
.profile-details a:hover {
    color: var(--primary);
}
.mobile-profile-cta {
    display: none;
}
.profile-share svg {
    fill: none;
    flex: none;
    height: 19px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.9;
    width: 19px;
}
.profile-share {
    cursor: pointer;
    font-family: inherit;
}
.profile-similar {
    border-top: 1px solid var(--border);
    margin-top: 56px;
    padding-top: 40px;
}
.form-page {
    max-width: 850px;
    padding: 48px 0 96px;
}

/* Pozadina stranice "Dodaj profil": isti preliv kao na naslovnoj (.home-hero). */
.form-page-backdrop {
    background:
        radial-gradient(
            ellipse 50% 80% at 103% 3%,
            rgba(246, 102, 86, 0.18),
            transparent 70%
        ),
        radial-gradient(
            ellipse 60% 75% at -13% 100%,
            rgba(255, 179, 112, 0.17),
            transparent 68%
        ),
        radial-gradient(
            circle at 56% 32%,
            rgba(255, 255, 255, 0.88),
            transparent 42%
        ),
        linear-gradient(135deg, #fffbf9 0%, #fff7f3 52%, #fbf3ee 100%);
}
.form-page__intro p:last-child {
    color: var(--text-2);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-top: 14px;
}
.profile-form {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    margin-top: 35px;
    padding: 30px;
}
.profile-form fieldset {
    border: 0;
    border-top: 1px solid var(--border);
    margin: 30px 0 0;
    padding: 30px 0 0;
}
.profile-form fieldset:first-of-type {
    border: 0;
    margin-top: 0;
    padding-top: 0;
}
.profile-form legend {
    align-items: center;
    display: flex;
    font-family: "Bricolage Grotesque", system-ui, sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    gap: 10px;
    margin-bottom: 21px;
}
.profile-form legend span {
    align-items: center;
    background: var(--primary-soft);
    border-radius: 50%;
    color: var(--primary-ink);
    display: inline-flex;
    font-family: Figtree, system-ui, sans-serif;
    font-size: 0.8rem;
    height: 27px;
    justify-content: center;
    width: 27px;
}
.form-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.form-grid label {
    color: var(--text-2);
    display: flex;
    flex-direction: column;
    font-size: 0.9rem;
    font-weight: 700;
    gap: 7px;
}
.form-grid__full {
    grid-column: 1/-1;
}
/* Upload profilne slike */
.upload-field {
    align-items: center;
    background: var(--surface);
    border: 1.5px dashed var(--border-strong);
    border-radius: var(--radius-card);
    display: flex;
    gap: 16px;
    padding: 16px 18px;
    position: relative;
    transition:
        background 0.2s,
        border-color 0.2s;
}
.upload-field:hover,
.upload-field.is-dragging {
    background: var(--primary-soft);
    border-color: var(--primary);
}
.upload-field:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(222, 20, 70, 0.12);
}
.upload-field.has-file {
    border-style: solid;
}
.upload-field.is-invalid {
    border-color: #c4262e;
}
.upload-field.is-invalid small {
    color: #c4262e;
    font-weight: 600;
}
/* Providan input preko cele kartice: klik i prevlačenje fajla. */
.form-grid .upload-field__input {
    border: 0;
    cursor: pointer;
    height: 100%;
    inset: 0;
    opacity: 0;
    padding: 0;
    position: absolute;
    width: 100%;
    z-index: 1;
}
.upload-field__preview {
    align-items: center;
    background: var(--primary-soft);
    border-radius: 50%;
    color: var(--primary);
    display: flex;
    flex: none;
    height: 64px;
    justify-content: center;
    overflow: hidden;
    width: 64px;
}
.upload-field__preview svg {
    fill: none;
    height: 28px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
    width: 28px;
}
.upload-field__preview img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}
.upload-field__text {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}
.upload-field__text strong {
    color: var(--navy);
    font-size: 0.95rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.upload-field__button {
    border: 1.5px solid var(--border-strong);
    border-radius: 999px;
    color: var(--navy);
    flex: none;
    font-size: 0.88rem;
    font-weight: 700;
    padding: 9px 18px;
}
.upload-field:hover .upload-field__button {
    border-color: var(--navy);
}
@media (max-width: 520px) {
    .upload-field__button {
        display: none;
    }
}
.form-grid .form-check {
    align-items: flex-start;
    background: var(--surface-2);
    border-radius: var(--radius-input);
    cursor: pointer;
    flex-direction: row;
    gap: 11px;
    padding: 14px 16px;
}
.form-grid .form-check input {
    accent-color: var(--primary);
    flex: none;
    height: 18px;
    margin: 2px 0 0;
    padding: 0;
    width: 18px;
}
.form-grid .form-check span {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
/* display: flex na labelama inače poništava atribut hidden */
.form-grid [hidden] {
    display: none;
}
.form-grid input,
.form-grid textarea,
.form-grid select {
    background: var(--surface);
    border: 1.5px solid var(--border-strong);
    border-radius: var(--radius-input);
    color: var(--navy);
    font-weight: 400;
    outline: 0;
    padding: 11px 12px;
    width: 100%;
}
.form-grid select[multiple] {
    min-height: 180px;
}
.form-grid .form-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
    min-width: 0;
}
.form-grid .form-field > label {
    color: var(--text-2);
    font-size: 0.9rem;
    font-weight: 700;
}
.category-suggest__toggle {
    align-self: flex-start;
    background: none;
    border: 0;
    color: var(--primary);
    font: inherit;
    font-size: 0.88rem;
    font-weight: 700;
    padding: 2px 0;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.category-suggest__toggle:hover,
.category-suggest__toggle:focus-visible {
    color: var(--primary-ink);
}

/* select2 za više kategorija u formi za dodavanje profila */
.form-field .select2-container--default .select2-selection--multiple {
    background: var(--surface);
    border: 1.5px solid var(--border-strong);
    border-radius: var(--radius-input);
    cursor: text;
    min-height: 48px;
    padding: 3px 8px 7px;
}
.form-field
    .select2-container--default.select2-container--focus
    .select2-selection--multiple,
.form-field
    .select2-container--default.select2-container--open
    .select2-selection--multiple {
    border-color: var(--primary);
}
.form-field
    .select2-container--default
    .select2-selection--multiple
    .select2-selection__rendered {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 0;
}
.form-field
    .select2-container--default
    .select2-selection--multiple
    .select2-selection__choice {
    align-items: center;
    background: var(--primary-soft);
    border: 0;
    border-radius: 8px;
    color: var(--primary-ink);
    display: inline-flex;
    font-size: 0.86rem;
    font-weight: 650;
    margin: 4px 0 0;
    padding: 4px 10px 4px 6px;
}
.form-field
    .select2-container--default
    .select2-selection--multiple
    .select2-selection__choice__remove {
    color: inherit;
    font-size: 1.05rem;
    margin-right: 5px;
}
.form-field
    .select2-container--default
    .select2-selection--multiple
    .select2-selection__choice__remove:hover {
    color: var(--primary);
}
.form-field
    .select2-container--default
    .select2-search--inline
    .select2-search__field {
    border: 0;
    color: var(--navy);
    font-family: inherit;
    font-size: 0.94rem;
    margin-top: 7px;
    padding: 0 4px;
}
.form-field
    .select2-container--default
    .select2-search--inline
    .select2-search__field::placeholder {
    color: var(--placeholder, #6b7087);
}
.select2-parent {
    color: var(--muted);
    font-weight: 400;
}
.select2-results__option--highlighted .select2-parent {
    color: inherit;
    opacity: 0.75;
}
.form-grid small {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 400;
}
.form-grid input:focus,
.form-grid textarea:focus,
.form-grid select:focus {
    border-color: var(--primary);
}
.consent {
    align-items: flex-start;
    color: var(--text-2);
    display: flex;
    font-size: 0.88rem;
    gap: 9px;
    margin: 24px 0;
}
.consent input {
    height: 18px;
    margin: 1px 0 0;
    width: 18px;
}
.honeypot {
    height: 0;
    left: -9999px;
    overflow: hidden;
    position: absolute;
    width: 0;
}
.flash {
    border-radius: 14px;
    font-weight: 600;
    margin-top: 22px;
    padding: 13px 16px;
}
.flash--success {
    background: var(--success-soft);
    color: var(--success);
}
.flash--error {
    background: var(--error-soft);
    color: var(--error);
}
.not-found {
    padding: 130px 0 150px;
    text-align: center;
}
.not-found h1 {
    margin: 8px auto 17px;
    max-width: 640px;
}
.not-found p:not(.eyebrow) {
    color: var(--text-2);
    font-size: 1.1rem;
    margin: auto;
    max-width: 540px;
}
.not-found > div {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 28px;
}
@media (max-width: 1050px) {
    .desktop-nav {
        gap: 15px;
    }
    .header-search {
        max-width: 230px;
    }
    .category-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .profile-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .hero-grid {
        grid-template-columns: minmax(0, 1fr) 210px;
    }
    .business-cta {
        padding-inline: 42px;
    }
    .profile-page__grid {
        gap: 35px;
    }
}
@media (max-width: 760px) {
    html {
        scroll-padding-top: 80px;
    }
    body {
        padding-bottom: 0;
    }
    body.page-home .site-header {
        margin-bottom: -64px;
    }
    .container {
        width: min(calc(100% - 32px), var(--container));
    }
    .site-header__inner {
        height: 64px;
    }
    .desktop-nav,
    .header-search,
    .header-actions {
        display: none;
    }
    .mobile-actions {
        display: flex;
        margin-left: auto;
    }
    .mobile-menu {
        background: #fff;
        border-top: 1px solid var(--border);
        display: flex;
        flex-direction: column;
        padding: 12px 0;
    }
    .mobile-menu[hidden] {
        display: none;
    }
    .mobile-menu a {
        border-bottom: 1px solid var(--border);
        font-weight: 700;
        padding: 12px 0;
    }
    .home-hero {
        padding: 90px 0 46px;
    }
    .home-hero::before {
        background-size: 16px 16px;
        inset: 0 0 0 32%;
        mask-image: radial-gradient(
            ellipse 86% 82% at 70% 38%,
            #000 3%,
            transparent 72%
        );
        -webkit-mask-image: radial-gradient(
            ellipse 86% 82% at 70% 38%,
            #000 3%,
            transparent 72%
        );
        opacity: 0.5;
    }
    .home-hero::after {
        filter: blur(8px);
        height: 480px;
        right: -290px;
        top: -130px;
        width: 540px;
    }
    .hero-grid {
        display: block;
    }
    .hero-copy {
        text-align: center;
    }
    .hero-copy .eyebrow {
        font-size: 0.68rem;
    }
    .hero-copy h1 {
        font-size: 2.35rem;
        letter-spacing: -0.045em;
    }
    .hero-copy > p:last-child {
        font-size: 1rem;
        padding-inline: 15%;
    }
    .hero-bubbles {
        display: none;
    }
    .hero-mascot {
        bottom: auto;
        display: block;
        height: auto;
        margin: 0;
        position: absolute;
        right: -8px;
        top: -64px;
        width: min(36vw, 150px);
    }
    .hero-mascot-slot {
        display: block;
        height: 0;
        position: relative;
    }
    .discovery-form {
        border-radius: 28px;
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-top: calc(min(45vw, 187px) - 68px);
        padding: 14px;
    }
    .discovery-form > div {
        width: 100%;
    }
    .discovery-form__query > div,
    .discovery-form__location > div,
    .discovery-form__municipality > div {
        height: 56px;
    }
    .discovery-field {
        border-radius: 18px;
        padding-inline: 17px;
    }
    .discovery-form button {
        border-radius: 18px;
        min-height: 56px;
        width: 100%;
    }
    .section {
        padding: 57px 0;
    }
    .section-heading {
        display: block;
        margin-bottom: 22px;
    }
    .section-heading__categories {
        font-size: 0.76rem;
        margin-top: 14px;
        min-height: 36px;
        padding-inline: 13px;
    }
    .category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .category-card {
        gap: 8px;
        min-height: 76px;
        padding: 10px;
    }
    .category-card__image {
        height: 37px;
        width: 37px;
    }
    .category-card strong {
        font-size: 0.84rem;
    }
    .category-card small {
        font-size: 0.72rem;
    }
    .profile-grid {
        display: flex;
        gap: 14px;
        overflow: auto;
        padding: 2px 0 10px;
        scroll-snap-type: x mandatory;
    }
    .profile-grid .profile-card {
        flex: 0 0 min(82vw, 290px);
        scroll-snap-align: start;
    }
    .section--listing .profile-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        overflow: visible;
        padding: 0;
        scroll-snap-type: none;
    }
    .section--listing .profile-grid .profile-card {
        flex: 0 1 auto;
        scroll-snap-align: none;
    }
    .profile-grid--home {
        margin-right: -16px;
    }
    .how-it-works {
        padding: 57px 0;
    }
    .steps {
        gap: 20px;
        grid-template-columns: 1fr;
        padding-top: 5px;
    }
    .steps li {
        display: grid;
        grid-template-columns: 52px 1fr;
    }
    .steps .step-number {
        grid-row: span 2;
    }
    .steps h3 {
        font-size: 1.25rem;
        margin: 0;
    }
    .steps p {
        grid-column: 2;
        margin-top: 5px;
    }
    .business-cta {
        align-items: start;
        border-radius: 24px;
        margin-bottom: 57px;
        padding: 36px 25px 0;
    }
    .business-cta > div {
        padding-bottom: 32px;
    }
    .business-cta h2 {
        font-size: 2rem;
    }
    .business-cta__actions {
        align-items: start;
        flex-direction: column;
    }
    .business-cta > img {
        display: none;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .footer-brand {
        grid-column: 1/-1;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 5px;
        margin-top: 32px;
    }
    .breadcrumbs {
        padding-top: 20px;
    }
    .page-intro,
    .listing-intro {
        padding: 30px 0 25px;
    }
    .categories-layout {
        display: block;
        padding-bottom: 57px;
    }
    .category-jump {
        display: none;
    }
    .category-group {
        padding: 19px;
    }
    .subcategory-list {
        grid-template-columns: minmax(0, 1fr);
    }
    .listing-intro {
        align-items: start;
        flex-direction: column;
        gap: 16px;
    }
    .category-listing-intro {
        padding-bottom: 4px;
        padding-top: 18px;
    }
    .listing-toolbar {
        align-items: start;
        flex-direction: column;
        gap: 12px;
    }
    .location-filter {
        width: 100%;
    }
    .location-filter select {
        flex: 1;
        min-width: 0;
    }
    .empty-state {
        align-items: start;
        flex-direction: column;
        padding: 23px;
    }
    .empty-state__actions {
        flex-wrap: wrap;
        margin-left: 0;
    }
    .search-page {
        padding-top: 32px;
    }
    .search-page__form {
        align-items: stretch;
        flex-direction: column;
    }
    .search-page__form select {
        max-width: none;
    }
    .search-categories {
        display: flex;
        overflow: auto;
    }
    .search-categories a {
        flex: 0 0 240px;
    }
    .profile-page {
        padding: 25px 0 74px;
    }
    .profile-hero {
        align-items: start;
        flex-direction: column;
        gap: 23px;
        padding: 8px 0 30px;
    }
    .profile-hero__identity {
        align-items: start;
        gap: 14px;
    }
    .profile-hero__identity > img,
    .profile-monogram--large {
        border-radius: 15px;
        height: 84px;
        width: 84px;
    }
    .profile-monogram--large {
        font-size: 2rem;
    }
    .profile-hero h1 {
        font-size: 2rem;
    }
    .profile-hero__subtitle {
        font-size: 0.95rem;
        margin-top: 7px;
    }
    .profile-hero__actions {
        display: none;
    }
    .profile-page__grid {
        display: block;
        margin-top: 32px;
    }
    .profile-details {
        margin-top: 30px;
    }
    .mobile-profile-cta {
        background: rgba(255, 255, 255, 0.97);
        border-top: 1px solid var(--border);
        bottom: 0;
        display: flex;
        gap: 8px;
        left: 0;
        padding: 9px 16px;
        position: fixed;
        right: 0;
        z-index: 8;
    }
    .mobile-profile-cta .button {
        flex: 1;
        padding: 0 11px;
    }
    .mobile-profile-cta .profile-share {
        flex: 0 0 auto;
        padding: 0 16px;
    }
    .profile-similar {
        margin-top: 40px;
        padding-top: 30px;
    }
    .form-page {
        padding: 30px 0 57px;
    }
    .profile-form {
        border-radius: 17px;
        margin-top: 27px;
        padding: 20px;
    }
    .form-grid {
        grid-template-columns: 1fr;
    }
    .form-grid__full {
        grid-column: auto;
    }
    .not-found {
        padding: 90px 0 110px;
    }
    .not-found > div {
        flex-direction: column;
        align-items: center;
    }
    .not-found .button {
        width: 100%;
    }
}

/* Referentni desktop tretman iz predatog dizajna. */
@media (min-width: 761px) {
    .hero-grid {
        display: block;
        text-align: center;
    }
    .hero-copy {
        margin-inline: auto;
    }
    .hero-copy h1 {
        margin-inline: auto;
    }
    .hero-copy > p:last-child {
        margin-inline: auto;
    }
    .hero-bubbles {
        inset: 0;
        height: auto;
        pointer-events: auto;
        position: absolute;
    }
    .hero-bubble:nth-child(1) {
        height: 78px;
        left: 4%;
        right: auto;
        top: 12px;
        width: 78px;
    }
    .hero-bubble:nth-child(2) {
        height: 80px;
        right: 4%;
        top: 36px;
        width: 80px;
    }
    .hero-bubble:nth-child(3) {
        bottom: 0;
        height: 76px;
        left: 11%;
        width: 76px;
    }
    .hero-bubble:nth-child(4) {
        bottom: -6px;
        height: 62px;
        right: 16%;
        width: 62px;
    }
    .discovery-form {
        margin-top: 38px;
        max-width: 740px;
    }
    .discovery-form label {
        text-align: left;
    }
    .profile-hero {
        background: var(--surface);
        border: 1px solid var(--border);
        border-radius: 28px;
        padding: 36px;
    }
    .profile-page {
        padding-top: 30px;
    }
    .profile-page__grid {
        gap: 28px;
        margin-top: 28px;
    }
    .profile-section {
        background: var(--surface);
        border: 1px solid var(--border);
        border-radius: 20px;
        padding: 30px;
    }
    .profile-section + .profile-section {
        margin-top: 20px;
        padding-top: 30px;
    }
}
.popular-links {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    justify-content: center;
    margin-top: 17px;
}
.popular-links > span {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 700;
}
.popular-links a {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 5px 10px;
}
.popular-links a:hover {
    color: var(--primary);
}
.category-card {
    align-items: center;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    flex-direction: row;
    gap: 11px;
    min-height: 88px;
}
.category-card__image {
    background: var(--surface-2);
    border-radius: 12px;
    display: block;
    flex: 0 0 48px;
    height: 48px;
    overflow: hidden;
    width: 48px;
}
.category-card__image img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}
.category-card__arrow {
    display: block;
}
.category-card--image {
    align-items: flex-start;
    aspect-ratio: 1.42;
    background: var(--navy);
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
    flex-direction: column;
    isolation: isolate;
    justify-content: flex-end;
    overflow: hidden;
    padding: 16px;
    position: relative;
}
.category-card--image::after {
    background: linear-gradient(
        180deg,
        rgba(15, 27, 61, 0.04) 12%,
        rgba(15, 27, 61, 0.82) 100%
    );
    content: "";
    inset: 0;
    position: absolute;
    transition: background 0.2s ease;
    z-index: 1;
}
.category-card--image:hover::after {
    background: linear-gradient(
        180deg,
        rgba(15, 27, 61, 0.08) 8%,
        rgba(15, 27, 61, 0.9) 100%
    );
}
.category-card--image .category-card__image {
    border-radius: inherit;
    display: block;
    height: 100%;
    inset: 0;
    position: absolute;
    width: 100%;
    z-index: 0;
}
.category-card--image .category-card__image img {
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
    width: 100%;
}
.category-card--image:hover .category-card__image img {
    transform: scale(1.045);
}
.category-card--image .category-card__body,
.category-card--image .category-card__arrow {
    color: #fff;
    position: relative;
    z-index: 2;
}
.category-card--image .category-card__body {
    padding-right: 26px;
}
.category-card--image .category-card__body small {
    color: rgba(255, 255, 255, 0.82);
}
.category-card--image .category-card__arrow {
    bottom: 15px;
    position: absolute;
    right: 16px;
}
.category-group__image,
.search-categories__image {
    background: var(--surface-2);
    border-radius: 14px;
    display: flex;
    flex: 0 0 auto;
    height: 52px;
    overflow: hidden;
    width: 52px;
}
.category-group__image img,
.search-categories__image img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}
.search-categories__image {
    border-radius: 10px;
    height: 37px;
    width: 37px;
}
.how-it-works {
    background: #fff;
    color: var(--text);
}
.how-it-works .eyebrow {
    color: var(--primary-ink);
}
.how-it-works .section-heading p:not(.eyebrow) {
    color: var(--muted);
}
.steps {
    gap: 16px;
}
.steps li {
    background: var(--surface-2);
    border: 0;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 16px 16px 28px;
    position: relative;
}
.steps .step-number {
    align-items: center;
    background: var(--navy);
    border-radius: 50%;
    color: #fff;
    display: inline-flex;
    font-size: 0.72rem;
    height: 30px;
    justify-content: center;
    letter-spacing: 0.04em;
    position: static;
    width: 30px;
}
.steps h3 {
    font-size: 1.3125rem;
    margin: 0;
}
.steps p {
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    color: var(--muted);
    display: -webkit-box;
    font-size: 1rem;
    line-height: 1.5;
    min-height: 3em;
    max-width: none;
    overflow: hidden;
}
.how-illu {
    align-items: center;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    display: flex;
    height: 128px;
    justify-content: center;
}
.how-pill {
    align-items: center;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 999px;
    box-shadow: var(--shadow-md);
    box-sizing: border-box;
    display: flex;
    height: 44px;
    width: 200px;
}
.how-bar {
    background: var(--border);
    border-radius: 999px;
    display: block;
    flex-shrink: 0;
    height: 8px;
    width: 96px;
}
.how-bar--short {
    width: 80px;
}
.how-pill--search {
    gap: 12px;
    justify-content: space-between;
    padding: 0 6px 0 16px;
}
.how-pill__btn {
    align-items: center;
    background: var(--primary);
    border-radius: 50%;
    color: #fff;
    display: flex;
    height: 32px;
    justify-content: center;
    width: 32px;
}
.how-pill__btn svg,
.how-pin,
.how-ig {
    display: block;
}
.how-pill--location {
    gap: 10px;
    padding: 0 16px 0 14px;
}
.how-pin {
    color: var(--primary);
    flex-shrink: 0;
}
.how-pill--profile {
    gap: 10px;
    padding: 0 14px 0 4px;
}
.how-avatar {
    background: conic-gradient(from 200deg, #f9ce34, #ee2a7b, #6228d7, #f9ce34);
    border-radius: 50%;
    display: flex;
    flex-shrink: 0;
    padding: 2px;
}
.how-avatar__inner {
    background: var(--surface);
    border-radius: 50%;
    display: flex;
    padding: 2px;
}
.how-avatar__img {
    background: var(--primary-soft);
    border-radius: 50%;
    display: block;
    height: 28px;
    width: 28px;
}
.how-ig {
    color: var(--navy);
    flex-shrink: 0;
    margin-left: auto;
}
.steps li {
    color: var(--text);
}
.steps .how-illu {
    order: 4;
}
@media (max-width: 760px) {
    .steps li {
        display: flex;
        flex-direction: column;
    }
    .how-illu {
        height: 120px;
    }
    .steps h3 {
        grid-column: auto;
        margin: 0;
    }
    .steps p {
        grid-column: auto;
        margin-top: 0;
    }
    .category-card:not(.category-card--image) .category-card__image {
        flex-basis: 37px;
        height: 37px;
        width: 37px;
    }
    .category-card--image {
        aspect-ratio: 1.18;
        min-height: 0;
        padding: 13px;
    }
    .category-card--image .category-card__arrow {
        bottom: 12px;
        right: 13px;
    }
}
@media (min-width: 761px) {
    .discovery-form.discovery-form--municipality {
        grid-template-columns:
            minmax(210px, 1.25fr) minmax(150px, 0.8fr)
            minmax(150px, 0.8fr) auto;
        max-width: 980px;
    }
}

/* Vrsta profila i više lokacija (partials/location-fields.php) */
.location-fields {
    display: grid;
    gap: 18px;
}
.location-fields [hidden] {
    display: none !important;
}
.kind-choice {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.kind-option {
    align-items: flex-start;
    background: var(--surface-2);
    border: 1.5px solid transparent;
    border-radius: var(--radius-input);
    cursor: pointer;
    display: flex;
    gap: 11px;
    padding: 14px 16px;
    transition:
        background-color 0.2s,
        border-color 0.2s;
}
.kind-option:has(input:checked) {
    background: var(--primary-soft);
    border-color: rgba(222, 20, 70, 0.35);
}
.kind-option input {
    accent-color: var(--primary);
    flex: none;
    height: 18px;
    margin: 2px 0 0;
    width: 18px;
}
.kind-option span {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.kind-option strong {
    color: var(--navy);
    font-weight: 700;
}
.kind-option small {
    color: var(--muted);
    font-size: 0.84rem;
    line-height: 1.45;
}
.location-fields__body,
.location-rows {
    display: grid;
    gap: 14px;
}
.location-row {
    align-items: end;
    display: grid;
    gap: 12px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 46px;
}
.location-row label {
    color: var(--text-2);
    display: flex;
    flex-direction: column;
    font-size: 0.9rem;
    font-weight: 700;
    gap: 7px;
}
.location-row select {
    background: var(--surface);
    border: 1.5px solid var(--border-strong);
    border-radius: var(--radius-input);
    color: var(--navy);
    font-weight: 400;
    min-height: 46px;
    outline: 0;
    padding: 11px 12px;
    width: 100%;
}
.location-row select:focus {
    border-color: var(--navy);
}
.location-row__city {
    grid-column: 1;
    grid-row: 1;
}
.location-row__municipality {
    grid-column: 2;
    grid-row: 1;
}
.location-row__remove {
    background: var(--surface);
    border: 1.5px solid var(--border-strong);
    border-radius: var(--radius-input);
    color: var(--muted);
    cursor: pointer;
    font-size: 1.35rem;
    grid-column: 3;
    grid-row: 1;
    height: 46px;
    line-height: 1;
    width: 46px;
}
.location-row__remove:hover,
.location-row__remove:focus-visible {
    background: var(--error-soft);
    border-color: var(--error);
    color: var(--error);
}
.location-row__main {
    color: var(--primary-ink);
}
.location-row__other,
.location-row:not(:first-child) .location-row__main {
    display: none;
}
.location-row:not(:first-child) .location-row__other {
    display: inline;
}
.location-add {
    justify-self: start;
}
@media (max-width: 760px) {
    .kind-choice {
        grid-template-columns: minmax(0, 1fr);
    }
    .location-row {
        grid-template-columns: minmax(0, 1fr) 46px;
    }
    .location-row__remove {
        grid-column: 2;
    }
    .location-row__municipality {
        grid-column: 1;
        grid-row: 2;
    }
}
/* Stranica grada (/grad/...): grad, opština i kategorija u jednom redu */
.city-filters {
    border-bottom: 1px solid var(--border);
    border-top: 1px solid var(--border);
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
    padding: 15px 0;
}
.city-filter {
    display: flex;
    flex: 0 1 220px;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}
.city-filter span {
    color: var(--muted);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.city-filter select {
    appearance: none;
    background: var(--surface)
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235a6079' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")
        no-repeat right 12px center / 16px;
    border: 1.5px solid var(--border-strong);
    border-radius: 999px;
    color: var(--navy);
    cursor: pointer;
    font-size: 0.92rem;
    font-weight: 600;
    min-height: 44px;
    padding: 9px 38px 9px 16px;
    text-overflow: ellipsis;
    width: 100%;
}
.city-filter select:hover,
.city-filter select:focus-visible {
    border-color: var(--navy);
    outline: 0;
}
/* Opština: pin ikonica; roze tek kad je opština izabrana. */
.city-filter--municipality select {
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235a6079' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 5.1-8 12-8 12S4 15.1 4 10a8 8 0 1 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235a6079' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-position:
        left 13px center,
        right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-left: 36px;
}
.city-filter--municipality.is-active select {
    background-color: var(--primary-soft);
    border-color: rgba(222, 20, 70, 0.35);
    color: var(--primary-ink);
}
/* Telefon: jedan red pilula koji se skroluje vodoravno, bez natpisa, da profili budu odmah vidljivi. */
@media (max-width: 760px) {
    .city-filters {
        flex-wrap: nowrap;
        gap: 8px;
        /* .container ima fiksnu širinu; ovde ceo ekran, a razmak od ivice daje padding. */
        margin-inline: 0;
        margin-top: 12px;
        width: 100%;
        overflow-x: auto;
        padding: 10px 8px;
        scrollbar-width: none;
    }
    .city-filters::-webkit-scrollbar {
        display: none;
    }
    .city-filter {
        flex: 0 0 auto;
    }
    /* Grad je već u naslovu; prvo se nudi opština. */
    .city-filter--municipality {
        order: -1;
    }
    .city-filter span {
        clip: rect(0 0 0 0);
        height: 1px;
        overflow: hidden;
        position: absolute;
        white-space: nowrap;
        width: 1px;
    }
    .city-filter select {
        font-size: 0.86rem;
        max-width: 62vw;
        min-height: 38px;
        padding: 7px 32px 7px 14px;
        width: auto;
    }
    .city-filter--municipality select {
        padding-left: 34px;
    }
}
