.ec-page { --ec-ink: #004C23; --ec-wash: #D9EBE1; --ec-open: #0B7A3E; --ec-closed: #B42318; }

.ec-finder { position: relative; margin-bottom: clamp(24px, 3vw, 36px); padding: clamp(18px, 2.4vw, 28px); background: #fff; border: 1px solid var(--c-border); border-radius: 16px; display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 12px clamp(18px, 3vw, 36px); align-items: center; }
.ud-body .ec-finder-text h2 { margin: 0 0 4px; font-size: clamp(18px, 1.5vw, 21px); font-weight: 700; }
.ec-finder-text p { margin: 0; font-size: 14px; color: var(--c-text); line-height: 1.5; }
.ec-search { position: relative; }
.ec-search input { width: 100%; padding: 14px 92px 14px 48px; font: inherit; font-size: 15px; color: var(--c-black); background: var(--c-bg); border: 1px solid var(--c-border); border-radius: 12px; outline: none; text-overflow: ellipsis; }
.ec-search input:focus { background: #fff; border-color: rgba(var(--c-main-rgb), .5); box-shadow: 0 0 0 4px rgba(var(--c-main-rgb), .08); }
.ec-search > .lu { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; color: var(--c-secondary); pointer-events: none; }
.ec-search > button { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); }
.ec-suggest { position: absolute; z-index: 30; top: calc(100% + 6px); left: 0; right: 0; margin: 0; padding: 6px; list-style: none; background: #fff; border: 1px solid var(--c-border); border-radius: 12px; box-shadow: 0 18px 40px rgba(6, 40, 75, .12); max-height: min(420px, 60vh); overflow: auto; }
.ec-suggest[hidden] { display: none; }
.ec-suggest a { display: flex; flex-direction: column; gap: 2px; padding: 9px 12px; border-radius: 8px; color: var(--c-black); }
.ec-suggest a strong { font-size: 15px; font-weight: 600; }
.ec-suggest a span { font-size: 13px; color: var(--c-text); }
.ec-suggest a:hover, .ec-suggest a.is-active { background: rgba(var(--c-main-rgb), .07); }
.ec-suggest mark { background: rgba(var(--c-main-rgb), .14); color: inherit; border-radius: 3px; padding: 0 1px; }
.ec-suggest .ec-suggest-empty { padding: 10px 12px; font-size: 14px; color: var(--c-text); }
.ec-quick { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; }
.ec-quick span { color: var(--c-text); margin-right: 2px; }
.ec-quick a { padding: 5px 12px; border-radius: 30px; background: var(--c-bg); border: 1px solid var(--c-border); color: var(--c-black); font-weight: 500; transition: all .2s; }
.ec-quick a:hover { border-color: rgba(var(--c-main-rgb), .4); background: rgba(var(--c-main-rgb), .08); color: var(--c-main); }
.ec-search-results { margin-bottom: clamp(24px, 3vw, 36px); }

.ec-page .ud-term-grid-item.is-empty { opacity: .55; }
.ec-page .ud-term-grid-icon .lu { width: 20px; height: 20px; }
.ec-page .ud-directory-main > .cx-box { margin-top: clamp(28px, 3.4vw, 44px); }

.ec-areas.is-collapsed > :nth-child(n+15) { display: none; }
.ec-areas a em, .ec-areas button em { font-style: normal; font-size: 12px; color: #7A8698; margin-left: 2px; }
.ec-areas .is-active em { color: inherit; }
.ec-areas button.cx-js-link { padding: 4px 12px; font: inherit; font-size: 14px; border-radius: 15px; background: #fff; border: 1px solid var(--c-border); color: var(--c-text); cursor: pointer; transition: all .2s; }
.ec-areas button.cx-js-link:hover, .ec-areas button.cx-js-link.is-active { border-color: rgba(var(--c-main-rgb), .5); color: var(--c-main); background: rgba(var(--c-main-rgb), .1); font-weight: 500; }
.ec-district-links.is-collapsed li:nth-child(n+13) { display: none; }
.ec-district-links a { display: flex; justify-content: space-between; gap: 10px; }
.ec-district-links em { font-style: normal; font-size: 13px; color: #7A8698; }
.cx-chip button.cx-js-link { display: inline-flex; padding: 0; border: 0; background: none; color: var(--c-main); cursor: pointer; line-height: 1; }

.ec-switch { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; text-transform: none; letter-spacing: 0; font-size: 14px; color: var(--c-black); user-select: none; }
.ec-switch input { position: relative; width: 36px; height: 20px; margin: 0; appearance: none; -webkit-appearance: none; background: #D5DCE5; border-radius: 20px; cursor: pointer; transition: background .2s; flex: 0 0 auto; }
.ec-switch input::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: transform .2s var(--ease); }
.ec-switch input:checked { background: var(--ec-open); }
.ec-switch input:checked::after { transform: translateX(16px); }
.ec-switch input:focus-visible { outline: 2px solid rgba(var(--c-main-rgb), .5); outline-offset: 2px; }
.ec-open-filter[hidden], .ec-open-empty[hidden] { display: none !important; }
.cx-results > li.ec-hidden { display: none; }

.ec-status { font-family: var(--font-body); }
.cx-doc-label.ec-status, small.ec-status { background: #EEF1F4; color: #4A5565; }
.ec-status.is-open { background: #DDF3E6; color: var(--ec-open); }
.ec-status.is-closed { background: #FBE7E5; color: var(--ec-closed); }
.ec-status.is-soon { background: #FDF0D5; color: #8A5300; }
.ec-status::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: currentColor; vertical-align: 1px; }
.cx-box-title small.ec-status { color: #4A5565; }
.cx-box-title small.ec-status.is-open { color: var(--ec-open); }
.cx-box-title small.ec-status.is-closed { color: var(--ec-closed); }
.cx-box-title small.ec-status.is-soon { color: #8A5300; }
.ec-status[hidden], .ec-status-line[hidden] { display: none !important; }
.ec-status-line.is-open { color: var(--ec-open); }
.ec-status-line.is-closed { color: var(--ec-closed); }
.ec-status-line.is-soon { color: #8A5300; }
.ec-status-line.is-open .lu, .ec-status-line.is-closed .lu, .ec-status-line.is-soon .lu { color: currentColor; }

.ec-hours { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 15px; }
.ec-hours th, .ec-hours td { padding: 11px 14px; border-bottom: 1px solid var(--c-border); text-align: left; }
.ec-hours tr:last-child th, .ec-hours tr:last-child td { border-bottom: 0; }
.ec-hours th { width: 42%; font-weight: 500; color: var(--c-text); }
.ec-hours td { font-weight: 600; color: var(--c-black); font-variant-numeric: tabular-nums; }
.ec-hours tr.is-today th, .ec-hours tr.is-today td { background: rgba(var(--c-main-rgb), .06); color: var(--c-secondary); }
.ec-hours tr.is-today th { border-radius: 10px 0 0 10px; }
.ec-hours tr.is-today td { border-radius: 0 10px 10px 0; }
.ec-hours tr.is-today th::after { content: "Bugün"; margin-left: 8px; padding: 1px 8px; border-radius: 20px; background: var(--c-main); color: #fff; font-size: 11px; font-weight: 600; vertical-align: 1px; }
.ec-closed { color: var(--ec-closed); font-weight: 500; }
.cx-box-note { margin-top: 14px; font-size: 13px; color: #7A8698; line-height: 1.5; }

.ec-map { position: relative; overflow: hidden; aspect-ratio: 21 / 9; border-radius: 12px; border: 1px solid var(--c-border); background-color: #EAF2EC; background-image: linear-gradient(rgba(0, 76, 35, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 76, 35, .06) 1px, transparent 1px); background-size: 28px 28px; }
.ec-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ec-map-cover { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 20px; text-align: center; }
.ec-map-cover p { margin: 0; font-size: 15px; font-weight: 600; color: var(--c-black); line-height: 1.45; }
.ec-map-cover p span { font-size: 13px; font-weight: 400; color: var(--c-text); }
.ec-map-pin { width: 54px; height: 54px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--ec-ink); color: #fff; box-shadow: 0 10px 24px rgba(0, 76, 35, .3); }
.ec-map-pin .lu { width: 26px; height: 26px; }
.ec-map.is-loaded .ec-map-cover { display: none; }
.ec-map-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.ec-map-actions .cx-btn { flex: 1 1 200px; }

.ec-near a { position: relative; padding-right: 74px; }
.ec-distance { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 20px; background: var(--c-bg); border: 1px solid var(--c-border); font-size: 12.5px; font-weight: 600; color: var(--c-secondary); white-space: nowrap; font-variant-numeric: tabular-nums; }
.ec-dot { width: 7px; height: 7px; border-radius: 50%; background: #B8C2CF; }
.ec-dot.is-open { background: var(--ec-open); }
.ec-dot.is-closed { background: var(--ec-closed); }
.ec-dot[hidden] { display: none; }

.ec-faq { margin-top: clamp(28px, 3.4vw, 44px); }
.ec-note { margin-top: clamp(24px, 3vw, 32px); }
.cx-listing > .cx-pager + .ec-faq, .cx-listing > .cx-results + .ec-faq { margin-top: clamp(28px, 3.4vw, 44px); }
.ec-card .cx-doc-meta li span { max-width: 260px; }
.ec-card .cx-doc-foot .cx-btn .lu { width: 16px; height: 16px; margin-right: 4px; }
.ec-card .cx-doc-avatar { width: 72px; height: 72px; flex-basis: 72px; }
.ec-card .cx-doc-avatar .lu { width: 32px; height: 32px; }

.ud-body .cx-profile-actions a.ec-call { background: var(--c-main); border-color: var(--c-main); color: #fff; }
.ud-body .cx-profile-actions a.ec-call:hover { background: var(--c-secondary); border-color: var(--c-secondary); color: #fff; }
.ec-map.is-loaded { aspect-ratio: 16 / 9; }

.ec-callbar { display: none; }

.nb-finder { grid-template-columns: minmax(0, 1fr); }
.nb-days { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin-bottom: 18px; }
.nb-switch { display: inline-flex; gap: 6px; padding: 5px; background: #fff; border: 1px solid var(--c-border); border-radius: 14px; }
.nb-switch a { display: grid; grid-template-columns: auto auto; grid-template-areas: "gun sayi" "tarih tarih"; align-items: center; gap: 2px 12px; padding: 9px 16px; border-radius: 10px; color: var(--c-black); transition: background .2s, color .2s; }
.nb-switch strong { grid-area: gun; font-size: 15px; font-weight: 700; }
.nb-switch span { grid-area: tarih; font-size: 13px; color: var(--c-text); }
.nb-switch em { grid-area: sayi; justify-self: end; padding: 1px 8px; border-radius: 20px; background: var(--ec-wash); color: var(--ec-ink); font-style: normal; font-size: 12px; font-weight: 600; white-space: nowrap; }
.nb-switch a:hover { background: rgba(var(--c-main-rgb), .06); color: var(--c-black); }
.nb-switch a.is-active { background: var(--ec-ink); color: #fff; }
.nb-switch a.is-active span { color: rgba(255, 255, 255, .82); }
.nb-switch a.is-active em { background: rgba(255, 255, 255, .18); color: #fff; }
.nb-updated { display: inline-flex; align-items: center; gap: 6px; margin: 0; font-size: 13px; color: var(--c-text); }
.nb-updated .lu { width: 16px; height: 16px; color: #6B7A90; }
.nb-hint { margin-bottom: 18px; }
.nb-group + .nb-group { margin-top: clamp(26px, 3vw, 36px); }
.ud-body .nb-group-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 0 0 14px; font-size: clamp(19px, 1.6vw, 22px); font-weight: 700; }
.nb-group-head a { color: var(--c-black); }
.nb-group-head a:hover { color: var(--c-main); }
.nb-group-head span { font-size: 14px; font-weight: 500; color: var(--c-text); }
.nb-card .cx-doc-meta { flex-direction: column; gap: 7px; }
.nb-card .cx-doc-meta li { align-items: flex-start; }
.nb-card .cx-doc-meta li span { max-width: none; overflow: visible; white-space: normal; line-height: 1.45; }
.nb-card .cx-doc-meta .lu { margin-top: 2px; }
.nb-card .cx-doc-meta a { color: var(--c-black); font-weight: 600; }
.nb-card .nb-note span { font-style: italic; }

@media (max-width: 991px) {
    .ec-finder { grid-template-columns: minmax(0, 1fr); }
    .ec-callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: flex; gap: 10px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .97); border-top: 1px solid var(--c-border); box-shadow: 0 -8px 24px rgba(6, 40, 75, .08); transform: translateY(110%); transition: transform .35s var(--ease); }
    .ec-callbar.is-visible { transform: none; }
    .ec-callbar .cx-btn { flex: 1 1 0; padding: 11px 12px; font-size: 15px; }
    .ec-callbar .cx-btn .lu { width: 18px; height: 18px; margin-right: 6px; }
    body.ec-callbar-on { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
    body.ec-callbar-on .cx-top { bottom: calc(68px + env(safe-area-inset-bottom)); }
}

@media (max-width: 575px) {
    .ec-search input { padding-right: 78px; font-size: 16px; }
    .ec-card .cx-doc-avatar { width: 56px; height: 56px; flex-basis: 56px; }
    .ec-card .cx-doc-avatar .lu { width: 26px; height: 26px; }
    .ec-card .cx-doc-meta li span { max-width: 100%; white-space: normal; }
    .ec-hours th, .ec-hours td { padding: 10px; font-size: 14px; }
    .ec-hours th { width: 46%; }
    .ec-map { aspect-ratio: 4 / 3; }
    .ec-near a { padding-right: 12px; flex-wrap: wrap; }
    .ec-distance { position: static; transform: none; margin-left: 56px; }
    .cx-applied-right.ec-open-filter { width: 100%; }
    .nb-switch { display: flex; width: 100%; }
    .nb-switch a { flex: 1 1 0; padding: 8px 12px; }
}
