@import "https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.1/font/bootstrap-icons.css";

/* 1. IMPORT CZCIONEK */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,400;0,500;0,600;1,400&family=Rubik:wght@500;600;700&display=swap');

/* =========================================
   SCALONE ZMIENNE GLOBALNE (:root)
   ========================================= */
:root {
    /*--ov-main: #f07b47;*/
    --ov-main: #e94b05;
    --ov-text-main: #222222;
    --ov-text-muted: #717171;
    --ov-border: #dddddd;
    --ov-primary: #ff385c;
    --ov-primary-hover: #d90b36;
    --ov-radius: 12px;
    --ov-bg: #f9fafb;
    --ov-card-bg: #ffffff;
    --ov-border: #eaecf0;
    --ov-text-main: #101828;
    --ov-text-muted: #475467;
    --ov-primary: #0d6efd; 
    --ov-primary-light: #eff8ff;
    --ov-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
    --primary-teal: #107C74;
    --primary-teal-hover: #0d635c;
    --light-bg: #f7f9fa;
    --text-dark: #222222;
    --text-muted: #717171;
    --size-small: 0.8rem;
    --size-standard: 1rem;
    --size-medium: 1.25rem;
    --border-color: white;
}

/* =========================================
   SCALONE BAZOWE STYLE (body)
   ========================================= */
body {
    font-family: 'Inter', sans-serif;
    background-color: #f7f7f791;
    color: var(--text-dark);
}

h1, h2, h3, h4, h5, h6, .logo-text {
    font-family: 'Rubik', sans-serif;
    font-weight: 600;
}


h5{
    font-size: var(--size-medium);
}

.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--ov-main);
    --bs-btn-border-color: #198754;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #018e82;
        --bs-btn-active-bg: #198754;
        border:none;
}
small{
    font-size: var(--size-small);
}

footer{
padding: 20px 0px 20px;
/*background:white;*/
background: #f4f0f0;
/*background: #117c74;*/
/*color:rgb(200,200,200);*/
	border-radius: 40px 40px 0 0;
}
footer .nav-link{

/*color:rgb(200,200,200);*/
}
.border-bottom {
	border-bottom: var(--bs-border-width) var(--bs-border-style) var(--border-color) !important;
}
.specialities{

padding: 20px 0px 120px;
}

.clinic-card {
/*linear-gradient(135deg, #e0f2f1 0%, #b2dfdb 100%);*/
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    column-gap: 1rem;
    width: 100%;
/*border-radius: 12px; */
max-height: 90%; 
overflow-y: auto;

}



.ov-list-item>.clinic-card:hover {
    /*box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1);*/
	/*background: white;*/
    /*border-radius: var(--ov-radius);*/
}

.clinic-card h2 {
    font-family: 'Rubik', sans-serif;
    font-weight: 700;
}

.card-photo {
    width: 25%;
    height: 150px;
    min-width:200px;
}

.card-photo img {
    width: 100%;
}

.d-flex {
    display: flex !important;
    flex-direction: row;
    flex-wrap: wrap;
    row-gap: 1rem;
}

.d-flex.icon-address {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    flex-wrap: nowrap;
}


.clinic-card,
.clinic-card *,
.clinic-card ::before,
.clinic-card ::after {
    box-sizing: content-box !important;
}

.search-pill-container {
    display: flex;
    justify-content: center;
    margin-top: 2.5rem;
    margin-bottom: 3rem;
    padding: 0 20px;
}

.ov-search-bar {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid var(--ov-border);
    border-radius: 500px;
    box-shadow: 0 3px 12px 0 rgba(0,0,0,0.1);
    padding: 18px 24px 18px 36px;
    transition: box-shadow 0.2s ease;
    max-width: 1000px;
    width: 100%;
}

.ov-search-bar:hover {
    /*box-shadow: 0 6px 16px rgba(0,0,0,0.12);*/
}

.search-field {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
    height: 100%;
    padding-right: 20px;
    border-right: 1px solid var(--ov-border);
    margin-right: 20px;
    position: relative;
    top: 6px;
    text-align: left;
}

.search-field:last-of-type {
    border-right: none;
    margin-right: 0;
    padding-right: 10px;
}

.search-field label {
    /*font-size: 0.7rem;*/
    font-size: var(--size-small);
    font-weight: 800;
    margin-bottom: 0px;
    color: var(--ov-text-main);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1;
}

.sort-badge {
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--ov-text-main) !important;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.ov-list {
    display: flex;
    flex-direction: column;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.ov-list-item {
    display: flex;
    flex-direction: row;
    gap: 24px;
    text-decoration: none;
    color: inherit;
    padding: 18px 0px 18px 0px;
    transition: box-shadow 0.2s ease;
	border-bottom: 1px solid var(--ov-border);
    box-shadow: 0 0px 0px 0 rgba(0, 0, 0, 0.1);
}
.ov-list-item:has(.main-card),
.ov-list-item:has(.ov-card)
{
	border-bottom: 0px solid white;

}

.ov-list-item:first-child {
    /*border-top: 1px solid var(--ov-border);*/
    /*margin-top: 0;*/
    /*padding-top: 0;*/
}

.ov-list-item:hover {
}

.ov-list-item:has(+ .ov-list-item:hover) {
    /*border-bottom: solid 1px transparent !important;*/
    /*box-shadow: 0 0px 0px 0 rgba(0, 0, 0, 0.1);*/
}

.ov-item-img-wrapper {
    width: 200px;
    flex-shrink: 0;
    aspect-ratio: 4 / 3;
    border-radius: var(--ov-radius);
    overflow: hidden;
    background-color: #ebebeb;
}

.ov-item-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-height: 250px;
    border-radius: var(--ov-radius);
}

.ov-no-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #b0b0b0;
    font-size: 3rem;
}

.ov-item-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: flex-start;
    padding: 4px 0;
}

.ov-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
}

.ov-item-title {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--ov-text-main);
    margin: 0;
    padding-right: 15px;
}

.ov-item-title.premium {
    font-weight: 600;
}


.ov-item-meta {
    font-size: 0.95rem;
    color: var(--ov-text-muted);
    margin-bottom: 12px;
    line-height: 1.5;
}

.ov-item-divider {
    width: 40px;
    height: 1px;
    background-color: var(--ov-border);
    margin: 12px 0;
}

/* =========================================
   SCALONE BUTTONY (.search-btn) 
   ========================================= */
.search-btn {
    background-color: #f07b47;
    background-color: var(--primary-teal);
    background-color: var(--ov-main);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 14px 28px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s;
    height: 54px;
}

.search-btn:hover {
    background-color: var(--primary-teal-hover);
}

.ov-card {
    background-color: var(--ov-card-bg);
    border: 1px solid var(--ov-border);
    border-radius: 12px;
    box-shadow: var(--ov-shadow);
}

.main-card {
	/*border: solid 3px orange;*/
	/*background: blanchedalmond;*/
	/*border-color: #00ad9e;*/
	/*background: #e0f2f1;*/
	/*border-color: #03cbba;*/
    /*background: #e6faf9;*/
    background: linear-gradient(135deg, #e0f2f1 0%, #b2dfdb 100%);
    box-shadow: 0px 0px 5px 1px rgb(16 24 40 / 16%);
}
.ov-card:first-child span{
	font-weight:700;
}

.ov-heading {
    color: var(--ov-text-main);
    font-weight: 600;
    letter-spacing: -0.02em;
}

.ov-badge {
    background-color: var(--ov-bg);
    color: var(--ov-text-muted);
    border: 1px solid var(--ov-border);
    font-weight: 500;
}

.ov-progress-track {
    background-color: #f2f4f7;
    border-radius: 4px;
    height: 6px;
}

.ov-progress-fill {
    background-color: var(--ov-primary);
    border-radius: 4px;
    height: 100%;
}

.ov-divider {
    border-top: 1px solid var(--ov-border);
    margin: 1.5rem 0;
}

.ov-icon-box {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    border: 1px solid var(--ov-border);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--ov-shadow);
}

.accordion-item.ov-card {
    margin-bottom: 12px;
    overflow: hidden;
    border: 1px solid var(--ov-border) !important;
}

.accordion-button {
    background-color: var(--ov-card-bg) !important;
    color: var(--ov-text-main) !important;
    font-weight: 600;
    font-size: 1rem;
    padding: 1.25rem 1.5rem;
    box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
    background-color: var(--ov-bg) !important;
    border-bottom: 1px solid var(--ov-border);
}

.accordion-button::after {
    background-size: 1rem;
    transition: transform 0.2s ease;
}

.accordion-body {
    padding: 1.5rem;
    background-color: #ffffff;
}

.service-category-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--ov-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.service-item {
    font-size: 0.9rem;
    color: var(--ov-text-muted);
    padding: 6px 0;
    display: flex;
    align-items: flex-start;
}

.service-item i {
    color: #12b76a;
    margin-top: 4px;
    margin-right: 12px;
    font-size: 0.8rem;
}

.ov-gallery {
    display: grid;
    gap: 8px;
    height: 400px;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.gallery-link {
    display: block;
    overflow: hidden;
    position: relative;
    height: 100%;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.gallery-link:hover .gallery-img {
    filter: brightness(0.85);
    transform: scale(1.02);
}

.grid-3 {
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 1fr 1fr;
}

.grid-3 .photo-0 {
    grid-row: span 2;
}

.grid-2 {
    grid-template-columns: 1fr 1fr;
}

.grid-1 {
    grid-template-columns: 1fr;
}

.ov-select .ts-control {
    border: none !important;
    box-shadow: none !important;
    background-color: transparent !important;
    padding: 10px 0 !important;
    font-size: 16px;
    font-weight: 600;
    color: #222222;
    cursor: text;
}

.ov-select.ts-wrapper.focus .ts-control {
    border: none !important;
    box-shadow: none !important;
}

.ov-select .ts-dropdown {
    border: none !important;
    border-radius: 32px !important;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.15) !important;
    margin-top: 12px;
    padding: 16px 0;
    overflow: hidden;
}

.ov-select .ts-dropdown .option {
    padding: 12px 24px;
    font-size: 16px;
    color: #222222;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.ov-select .ts-dropdown .active,
.ov-select .ts-dropdown .option:hover {
    background-color: #f7f7f7 !important;
    color: #222222 !important;
}

.ov-select .ts-control input {
    /*font-size: 1rem;*/
    font-weight: 600;
    color: var(--text-muted);
    font-size: var(--size-medium);
}

.ov-select .ts-control input::placeholder {
    color: var(--text-muted);
    font-weight: 400;
}

.ov-select.ts-wrapper.single .ts-control {
    background-color: transparent !important;
    background-image: none;
}

.ov-select.ts-wrapper.single.input-active .ts-control {
    background: blue;
}

.navbar {
    padding: 1rem 0;
    background-color: white;
    border-bottom: 1px solid #ebebeb;
    transition: all 0.3s ease-in-out;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--primary-teal) !important;
    letter-spacing: -0.5px;
    font-size: 1.25rem;
}
.navbar-brand img {
    height: 60px; /* Twoja bazowa wysokość logo */
    transition: height 0.3s ease-in-out;
    width: auto;
}

/* Stan po przewinięciu (klasa dodawana przez JS) */
.navbar.navbar-shrink {
    padding: .5rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1); /* Opcjonalnie: cień pod navbar */
    transition: all 0.3s ease-in-out;
    border-bottom: 1px solid #ebebeb;
}
.navbar.navbar-shrink .navbar-brand img {
    height: 50px; /* Zmniejszone logo */
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark);
    margin-left: 1rem;
}

.nav-link:hover {
    color: var(--primary-teal) !important;
}

.hero-section {
    position: relative;
    padding: 100px 0 160px;
    background: linear-gradient(135deg, #e0f2f1 0%, #b2dfdb 100%);
    text-align: center;
    border-radius: 0 0 40px 40px;
    margin-bottom: 80px;
}

.hero-title {
    font-weight: 500;
    font-size: 3.5rem;
    letter-spacing: -1px;
    margin-bottom: 1rem;
    color: #2e3a39;
}

.standard-section {
    margin-bottom: 80px;
}
.search-wrapper {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 900px;
    background: white;
    border-radius: 50px;
    box-shadow: 0 16px 40px rgba(0,0,0,0.12);
    display: flex;
    align-items: center;
    padding: 10px;
    border: 1px solid #ebebeb;
    z-index: 10;
}

.search-block {
    flex: 1;
    padding: 8px 24px;
    border-radius: 40px;
    transition: background 0.2s;
    cursor: pointer;
    text-align: left;
}

.search-block:hover {
    background: #f7f7f7;
}

.search-divider {
    width: 1px;
    height: 40px;
    background-color: #ddd;
}

.search-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 2px;
    color: var(--text-dark);
}

.search-input {
    border: none;
    background: transparent;
    padding: 0;
    width: 100%;
    font-size: 0.95rem;
    color: var(--text-muted);
    outline: none;
}

.search-input::placeholder {
    color: #b0b0b0;
}

.section-title {
    font-weight: 600;
    font-size: 2rem;
    margin-bottom: 2rem;
    letter-spacing: 0.5px;
}

.section-subtitle {
    font-weight: 400;
    font-size: 1.6rem;
    margin-bottom: 2rem;
	letter-spacing: 0.5px; 
}

.animated-card {
    /*text-align: center;*/
    transition: all 0.2s ease;
    cursor: pointer;
}

.animated-card:hover {
    border-color: var(--ov-main);
    box-shadow: 0 10px 20px rgba(16, 124, 116, 0.08);
    transform: translateY(-4px);
}
.clinic-card.animated-card:hover {
    border-color: var(--primary-teal);
}

.category-icon {
    font-size: 2rem;
    color: var(--primary-teal);
    color: var(--ov-main);
    margin-bottom: 16px;
}


/* --- DOKUJĄCA WYSZUKIWARKA --- */

/* Płynne tło dla navbara */
.transition-navbar {
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    background-color: transparent !important; /* Na samej górze navbar jest przezroczysty/czysty */
}

/* Stan navbara gdy przescrollujemy w dół */
.navbar-scrolled {
    background-color: rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    backdrop-filter: blur(10px);
}

/* Ukrywamy mini-wyszukiwarkę domyślnie (przesunięta w dół i przezroczysta) */
.mini-search-container {
    opacity: 0;
    transform: translateY(15px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none; /* Żeby nie klikać "ducha" */
}

/* Pokazujemy ją, gdy navbar ma klasę .navbar-scrolled */
.navbar-scrolled .mini-search-container {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

/* Opcjonalnie: możemy lekko wygaszać główną wyszukiwarkę przy scrollu */
.search-pill-container {
    transition: opacity 0.3s ease;
}
.search-pill-faded {
    opacity: 0;
    pointer-events: none;
}

/* Kontener navbara musi mieć pozycję relatywną, by mini-search wiedział do czego się środkować */
.navbar > .container {
    position: relative;
    display: flex;
    align-items: center;
}

/* Mini wyszukiwarka - Wersja "Pixel Perfect Center" */
.mini-search-container {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) translateY(15px); /* translateY(15px) to Twój efekt ukrycia */
    z-index: 10;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0;
    pointer-events: none;
    width: auto;
    max-width: 400px;
}

/* Gdy navbar jest przescrollowany */
.navbar-scrolled .mini-search-container {
    opacity: 1;
    transform: translate(-50%, -50%) translateY(0); /* Powrót na idealny środek */
    pointer-events: auto;
}

/* Zabezpieczenie, żeby logo i menu nie wchodziły pod wyszukiwarkę na mniejszych ekranach */
@media (max-width: 991px) {
    .mini-search-container {
        display: none !important; /* Na mobile lepiej ją ukryć całkowicie */
    }
}



/* =========================================
   SCALONE MEDIA QUERIES (3 bloki w 1)
   ========================================= */

@media (max-width: 768px) {
.hero-title{
font-size:2.5rem;
}
.hero-section{
margin-bottom:32px;
}

.specialities {
    padding: 20px 0px 48px;
}

.search-pill-container {
    padding: 36px 16px;
    margin-bottom:0;
}


    /* 1. KONTENER WYSZUKIWARKI */
    .ov-search-bar {
        flex-direction: column;
        border-radius: 20px; /* Nowoczesny, smartfonowy promień */
        padding: 8px 16px 16px 16px; /* Mniej miejsca po bokach, dół pod przycisk */
        height: auto;
        box-shadow: 0 8px 24px rgba(0,0,0,0.08); /* Bardziej miękki, wyższy cień */
    }
    
    /* 2. POJEDYNCZE POLA (Gdzie / Kto) */
    .search-field {
        width: 100%;
        margin-right: 0;
        padding: 12px 4px; /* Wygodne obszary dotykowe */
        border-right: none; /* USUWA BŁĘDNĄ PIONOWĄ LINIĘ Z DESKTOPU */
        border-bottom: 1px solid var(--ov-border); /* DODAJE LINIĘ POZIOMĄ */
        top: 0;
    }

    /* Ostatnie pole nie potrzebuje linii na dole */
    .search-field:last-of-type {
        border-bottom: none;
        padding-bottom: 20px; /* Oddech przed przyciskiem */
    }

    /* 3. OPTYMALIZACJA TOM-SELECT DLA PALCA */
    .ov-select .ts-control {
        padding: 8px 0 !important; /* Ułatwia tapnięcie na mobile */
    }
    
    .search-field label {
        font-size: 0.85rem; /* Ciut większa etykieta dla czytelności na zewnątrz */
        margin-bottom: 4px;
    }

    /* 4. PRZYCISK WYSZUKIWANIA */
    .search-btn {
        border-radius: 16px; /* Dopasowane do promienia całej karty */
        padding: 16px;
        width: 100%;
        margin-top: 0; 
        justify-content: center;
        font-size: 1.1rem; /* Większy tekst wezwania do akcji */
        height: 56px; /* Złoty standard Apple dla głównych przycisków */
    }

    /* ... reszta Twoich mobilnych stylów (ov-list-item, hero-section itp.) bez zmian ... */


/* =========================================
       1. KARTY PRZYCHODNI NA MOBILE
       ========================================= */
    .ov-list {
        padding: 0 10px; /* Zmniejszamy marginesy boczne całej listy */
    }

    .ov-list-item {
        padding: 10px 0; /* Zmniejszamy odstępy między kartami */
        /*border-bottom: none; [> Zdejmujemy brzydką linię, bo karty mają własny cień <]*/
    }

    .clinic-card {
        flex-direction: column !important; /* Układ pionowy: zdjęcie na górze, tekst pod spodem */
        padding: 16px !important; /* Nadpisujemy desktopowe 'p-4' (24px) na wygodniejsze 16px */
        gap: 16px;
        border-radius: 16px; /* Bardziej miękkie, smartfonowe kąty */
    }

    /* ZDJĘCIE W KARCIE */
    .card-photo {
        width: 100%;
        min-width: unset; /* Resetujemy desktopowe blokady */
        height: 180px; /* Stała, ładna wysokość dla zdjęcia (ok. proporcje 16:9) */
    }

    .card-photo img {
        width: 100%;
        height: 100%;
        object-fit: cover; /* Zdjęcie wypełni kadr bez zniekształceń */
        border-radius: 12px; /* Lekkie zaokrąglenie wewnątrz karty */
    }

    /* TYPOGRAFIA I ODSTĘPY NA MOBILE */
    .clinic-card h2 {
        font-size: 1.15rem; /* Ciut mniejszy tytuł, żeby nie łamał się na 3 linijki */
        line-height: 1.3;
        margin-bottom: 8px !important;
    }

    .d-flex.align-items-center.mb-3 {
        margin-bottom: 12px !important; /* Przybliżamy gwiazdki do tytułu */
    }

    /* Adresy i tagi - zapobiegamy ucinaniu tekstu */
    .ov-item-meta {
        white-space: normal; /* Pozwalamy tekstowi zawinąć się do nowej linii, jeśli jest długi */
    }


    /* =========================================
       2. PAGINACJA W STYLU APPLE / AIRBNB
       ========================================= */
    .pagination {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px; /* Odstępy między przyciskami stron */
        padding: 0;
        margin-bottom: 2rem;
    }

    /* Stylizujemy każdy numer strony jako "Touch Target" (Cel dotykowy) */
    .pagination span, 
    .pagination a {
        display: flex;
        align-items: center;
        justify-content: center;
        min-width: 44px; /* Rygorystyczny standard UX Apple (44x44px minimum dla palca) */
        height: 44px;
        border-radius: 50%; /* Piękne, okrągłe przyciski */
        background-color: var(--ov-card-bg);
        color: var(--ov-text-main);
        font-weight: 600;
        font-size: 1rem;
        text-decoration: none;
        border: 1px solid var(--ov-border);
        box-shadow: var(--ov-shadow);
        transition: background-color 0.2s ease;
    }

    /* Aktywna strona (Current) */
    .pagination span.current {
        background-color: var(--ov-main); /* Wypełnienie głównym kolorem */
        color: #ffffff;
        border-color: var(--ov-main);
    }

    /* Hover na mobile (często interpretowany jako tap/dotknięcie) */
    .pagination a:active {
        background-color: #f0f0f0;
    }

    /* Opcjonalnie: Ukrywamy skrajne strzałki (>>), by nie zaśmiecać małego ekranu */
    .pagination .last, 
    .pagination .first {
        display: none;
    }



    /* =========================================
       1. STRONA GŁÓWNA - FIX WYSZUKIWARKI I KAFELKÓW
       ========================================= */
    /* Zabijamy sztywne pozycjonowanie inline */
    .ov-search-bar {
        position: relative !important;
        bottom: auto !important;
        margin-top: -40px; /* Lekkie, eleganckie najście na sekcję Hero */
        z-index: 10;
    }

    .hero-section {
        /*padding: 60px 0 80px !important; [> Zmniejszamy oddech na telefonie <]*/
                padding: 48px 0 16px !important;
    }

    /* Kafelki specjalizacji (Kardiolog, itp.) */
    .specialities .ov-card {
        padding: 16px 12px !important; /* Mniejsze marginesy wewnętrzne */
    }
    .specialities .category-icon {
        font-size: 1.5rem !important; /* Mniejsze ikony */
        margin-bottom: 8px !important;
    }
    .specialities h5 {
        font-size: 0.95rem; /* Zapobiega łamaniu się słów jak "Ginekolog" */
    }

    /* =========================================
       2. WIDOK PRZYCHODNI - HEADER (MAPA + WIZYTÓWKA)
       ========================================= */
    /* Zdejmujemy blokadę 400px i wymuszamy układ pionowy */
    .ov-card[style*="height: 400px"] {
        height: auto !important;
        display: flex;
        flex-direction: column;
    }

    /* Wymuszamy pokazanie mapy na mobile i nadajemy jej sztywną wysokość */
    .map-container-wrapper {
        position: relative !important;
        height: 200px !important;
        min-height: 200px !important;
        display: block !important;
        border-radius: 12px 12px 0 0 !important;
    }

    /* Pływająca wizytówka staje się zwykłym blokiem pod mapą */
    .clinic-card.position-absolute {
        position: relative !important;
        width: 100% !important;
        padding-left: 0 !important;
        display: flex !important; /* Wymuszamy pokazanie na mobile */
    }

    /* Wewnętrzny biały panel wizytówki */
    .clinic-card > .bg-white {
        border-radius: 0 0 12px 12px !important;
        box-shadow: none !important;
        padding: 20px 16px !important;
        max-height: none !important;
    }

    /* Zmniejszamy logo w wizytówce */
    .abnb-item-img {
        max-width: 60px !important;
    }

    /* =========================================
       3. WIDOK PRZYCHODNI - CENNIK I ZABIEGI
       ========================================= */
    .accordion-button {
        padding: 1rem !important;
    }

    /* Ukrywamy ikonki w akordeonie, bo zabierają cenne miejsce na wąskim ekranie */
    .accordion-button .ov-icon-box {
        display: none !important;
    }

    /* Usługi i ceny: układamy je PIONOWO zamiast POZIOMO */
    .list-group-item {
        flex-direction: column;
        align-items: flex-start !important;
        padding: 12px 16px !important;
        gap: 8px;
    }

    /* Wyrównanie ceny i nadanie jej akcentu kolorystycznego */
    .list-group-item .fw-bold {
        margin-left: 0 !important;
        padding-left: 32px; /* Wyrównanie idealnie do tekstu usługi, z pominięciem checkmarka */
        color: var(--ov-primary) !important;
        font-size: 1.1rem;
    }








/* =========================================
       0. FIX POZIOMEGO PRZEWIJANIA (CRITICAL)
       ========================================= */
    body {
        overflow-x: hidden; /* Zabezpieczenie globalne */
    }
    .row {
        margin-left: 0 !important; 
        margin-right: 0 !important; /* Ubijamy negatywne marginesy Bootstrapa */
    }

    /* =========================================
       1. HEADER WIZYTÓWKI: Zdjęcie na 100% szerokości
       ========================================= */
    .ov-card[style*="height: 400px"] {
        height: auto !important;
        width: 100% !important;
        border: none !important;
        box-shadow: none !important;
        overflow: visible !important; 
        background:none;
    }
    
    .map-container-wrapper {
        display: none !important; /* Całkowicie ukrywamy mapę */
    }
    
    .clinic-card.position-absolute {
        position: relative !important;
        width: 100% !important;
        padding: 0 !important;
        display: flex !important; /* Wymusza pokazanie na mobile */
        flex-direction: column !important;
    }
    
    .clinic-card > .bg-white {
        padding: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        width: 100% !important;
        max-height: none !important;
    }
    
    /* Resetujemy wiersz wewnątrz karty wizytówki */
    .clinic-card > .bg-white > .row {
        flex-direction: column !important;
    }
    
    .clinic-card > .bg-white > .row > .col-auto {
        width: 100% !important;
        padding: 0 !important;
    }
    
    /* GŁÓWNE ZDJĘCIE - Piękny, natywny wygląd */
    .abnb-item-img {
        max-width: 100% !important;
        width: 100% !important;
        height: 220px !important;
        object-fit: cover !important;
        border-radius: 16px !important;
    }
    
    .clinic-card > .bg-white > .row > .col {
        padding: 16px 0 0 0 !important; /* Odstęp tylko od góry, pod zdjęciem */
    }
    
    /* Ukrywamy zduplikowane w kodzie nagłówki, by został tylko główny H1 */
    .clinic-card h2.h5 {
        display: none !important;
    }

    /* =========================================
       2. ZMIANA KOLEJNOŚCI BLOKÓW (Wyciągnięcie AI wyżej)
       ========================================= */
    /* Zmieniamy model głównej siatki */
    .row.g-4.g-xl-5 {
        display: flex !important;
        flex-direction: column !important;
    }
    
    /* Uwalniamy bloki, aby można było zmienić ich kolejność */
    .col-lg-8, .col-lg-4 {
        display: contents !important; 
    }
    
    /* MAGIA UX - Zmiana kolejności od góry do dołu */
    .col-lg-8 > .mb-5 { order: 1 !important; } /* 1. Opis i H1 Przychodni */
    .col-lg-4 > .main-card { 
        order: 2 !important; /* 2. NASZ BOKS AI LĄDUJE TUTAJ */
        margin-top: 0 !important; 
        /*margin-bottom: 32px !important; */
        width: 100% !important; /* Zabezpieczenie szerokości */
    } 
    .col-lg-8 > h2.ov-heading { order: 3 !important; } /* 3. Tytuł usług */
    .col-lg-8 > .accordion { order: 4 !important; } /* 4. Cennik */
    .col-lg-8 > .container.py-5 { order: 8!important; } /* 5. Opinie */
    .col-lg-4 > .ov-card:not(.main-card) { order: 6 !important; width: 100% !important; } /* Reszta na dół */






    /* =========================================
       3. BOKS AI "JAKOŚĆ OBSŁUGI" - Dashboard 2x2
       ========================================= */
    .main-card {
        background: linear-gradient(135deg, #f0fdfa 0%, #ccfbf1 100%); /* Lekkie odświeżenie tła */
        border: none !important;
        border-radius: 20px !important;
        padding: 24px 20px !important;
        order:0;
    }
    
    .main-card .ov-heading {
        text-align: center;
        margin-bottom: 24px !important;
        font-size: 1.1rem;
    }

    /* Tworzymy siatkę 2 kolumny */
    .main-card .d-flex.flex-column {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 20px 16px !important;
    }
    
    /* KLUCZOWE: Ukrywamy opisy tekstowe, zostawiamy wskaźniki! */
    .main-card .d-flex.flex-column > p {
        display: none !important; 
    }
    
    /* Optymalizacja czcionek dla dwóch małych kolumn */
    .main-card .d-flex.flex-column span {
        font-size: 0.75rem !important;
        line-height: 1.2;
    }
    
    .main-card .d-flex.flex-column .d-flex {
        align-items: flex-end !important;
        margin-bottom: 8px !important;
    }
    
    .main-card .d-flex.flex-column span[style*="font-weight: 600"] {
        font-size: 0.85rem !important;
        color: var(--ov-primary) !important; /* Akcent kolorystyczny na ocenę */
    }


}




