/* === STYLE WSPÓLNE (FILTRY, WYSZUKIWARKA, RESPONSIVE) === */
/* Importujemy czcionki na wypadek, gdyby ta wtyczka była używana bez wtyczki cennika */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500&family=Lato:wght@300;400;700&display=swap');

body .monroe-cennik-container {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    margin: 0 auto;
}

body .monroe-cennik-filters {
    flex: 1 1 25%;
    min-width: 240px;
    padding-right: 30px;
    box-sizing: border-box;
}

body .monroe-cennik-results {
    flex: 1 1 75%;
    min-width: 0;
}

body .monroe-cennik-filters h3 {
    font-family: 'Playfair Display', serif !important;
    font-weight: 400 !important;
    font-size: 1.8rem !important;
    color: #5d504a !important;
    margin-top: 0 !important;
    margin-bottom: 15px !important;
    text-align: left !important;
    text-transform: none !important;
    padding: 0 !important;
    border: none !important;
}

body .monroe-cennik-filters ul {
    list-style-type: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border-top: 1px solid #e0d9d3;
}

body .monroe-cennik-filters li {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    border-bottom: 1px solid #e0d9d3;
}

body .monroe-cennik-filters li a {
    display: block;
    padding: 12px 10px;
    font-family: 'Lato', sans-serif !important;
    font-weight: 400 !important;
    font-size: 1rem !important;
    color: #5d504a !important;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

body .monroe-cennik-filters li a:hover {
    background-color: #f7f3ef;
    color: #333 !important;
}

body .monroe-cennik-filters li a.aktywny {
    font-weight: 600 !important;
    background-color: #f7f3ef;
    box-shadow: inset 3px 0 0 #5d504a;
}

body .monroe-mobile-filter-toggle {
    display: none;
}

.monroe-search-wrapper {
    width: 100%;
    margin: 0 0 50px 0;
}

.monroe-search-form .monroe-search-label {
    display: none;
}

.monroe-search-form .monroe-search-input-group {
    display: flex;
    border: 1px solid #e0d9d3;
    border-radius: 5px;
    overflow: hidden;
}

.monroe-search-form .monroe-search-field {
    flex-grow: 1;
    border: none;
    padding: 15px 20px;
    font-size: 1rem;
    font-family: 'Lato', sans-serif;
    color: #5d504a;
    outline: none;
    margin: 0;
    line-height: normal;
    -webkit-appearance: none;
    border-radius: 0;
}

.monroe-search-form .monroe-search-submit,
.monroe-search-form .monroe-search-clear {
    border: none;
    padding: 15px 30px;
    background-color: #5d504a;
    color: #fcfaf7;
    font-family: 'Lato', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin: 0;
    white-space: nowrap;
    -webkit-appearance: none;
    text-decoration: none;
    line-height: normal;
    border-radius: 0 !important;
}

.monroe-search-form .monroe-search-submit:hover {
    background-color: #4a403c;
}

.monroe-search-form .monroe-search-clear {
    display: none;
    border-left: 1px solid #7a6a61;
}

.monroe-search-form .monroe-search-clear:hover {
    background-color: #8a7a70;
}

.monroe-loader-wrapper {
    position: relative;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(252, 250, 247, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
    z-index: 10;
}
.monroe-loader {
    border: 5px solid #f7f3ef;
    border-top: 5px solid #5d504a;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* === STYLE SPECYFICZNE DLA ZABIEGÓW [monroe_spa_zabiegi] === */

body .monroe-zabiegi-wrapper {
    width: 100%;
    font-family: 'Lato', sans-serif;
    color: #5d504a;
    position: relative;
    min-height: 200px;
}

body .monroe-zabiegi-wrapper .monroe-no-results {
    font-family: 'Lato', sans-serif;
    font-size: 1.1rem;
    color: #5d504a;
    text-align: center;
    padding: 40px 0;
    font-style: italic;
}

body .monroe-zabieg-grupa {
    margin-bottom: 60px;
}

body .monroe-zabieg-grupa-title {
    font-family: 'Playfair Display', serif !important;
    font-size: 3rem !important;
    font-weight: 400 !important;
    color: #5d504a !important;
    text-align: center !important;
    margin-bottom: 50px !important;
    padding-bottom: 15px !important;
    border-bottom: 1px solid #e0d9d3 !important;
    line-height: 1.2 !important;
    text-transform: none !important;
}

body .monroe-zabieg-item {
    margin-bottom: 70px;
    padding-bottom: 50px;
    border-bottom: 1px dotted #d3c1b6;
}

body .monroe-zabieg-grupa:last-child .monroe-zabieg-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

body .monroe-zabieg-title {
    font-family: 'Playfair Display', serif !important;
    font-size: 2.2rem !important;
    font-weight: 500 !important;
    color: #5d504a !important;
    text-align: left !important;
    margin-bottom: 25px !important;
    line-height: 1.3 !important;
}

body .monroe-zabieg-info-box {
    display: flex;
    flex-wrap: wrap;
    background-color: #fff;
    border: 1px solid #e0d9d3;
    border-radius: 5px;
    margin-bottom: 30px;
    padding: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}

body .info-box-item {
    flex: 1 1 200px;
    padding: 10px 15px;
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid #f0ebe7;
}

body .info-box-item:last-child {
    border-bottom: none;
}

body .info-box-etykieta {
    font-family: 'Lato', sans-serif !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    color: #8a7a70 !important;
    text-transform: uppercase;
    margin-bottom: 5px;
}

body .info-box-wartosc {
    font-family: 'Lato', sans-serif !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    color: #5d504a !important;
}

body .monroe-zabieg-opis {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

body .monroe-zabieg-opis p,
body .monroe-zabieg-opis ul {
    margin-bottom: 1.5em;
    font-family: 'Lato', sans-serif !important;
}

body .monroe-zabieg-kolumny {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

body .zabieg-kolumna {
    flex: 1 1 300px;
    padding: 0 15px;
    box-sizing: border-box;
    margin-bottom: 20px;
}

body .zabieg-kolumna h4 {
    font-family: 'Playfair Display', serif !important;
    font-size: 1.4rem !important;
    font-weight: 500 !important;
    color: #5d504a !important;
    margin-top: 0 !important;
    margin-bottom: 15px !important;
    border-bottom: 1px solid #e0d9d3;
    padding-bottom: 10px;
}

body .zabieg-kolumna-content {
    font-size: 0.95rem;
}

body .zabieg-kolumna-content ul,
body .zabieg-kolumna-content ol {
    margin: 0 0 1.5em 0 !important;
    padding-left: 20px !important;
}

body .zabieg-kolumna-content li {
    padding-left: 5px;
    margin-bottom: 8px !important;
    list-style-position: outside !important;
}

body .zabieg-kolumna-content ul p,
body .zabieg-kolumna-content ul li p {
    margin-bottom: 0;
}

/* --- Style Mobilne (Wspólne) --- */
@media (max-width: 768px) {
    body .monroe-cennik-container {
        flex-direction: column;
    }
    
    body .monroe-mobile-filter-toggle {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        background: #f7f3ef;
        border: 1px solid #e0d9d3;
        padding: 15px;
        font-family: 'Lato', sans-serif;
        font-size: 1.1rem;
        font-weight: 600;
        color: #5d504a;
        cursor: pointer;
        margin-bottom: 20px;
        border-radius: 5px;
    }
    
    body .monroe-mobile-filter-toggle .monroe-filter-icon {
        transition: transform 0.3s ease;
    }

    body .monroe-mobile-filter-toggle.aktywny .monroe-filter-icon {
        transform: rotate(180deg);
    }

    body .monroe-cennik-filters {
        display: none;
        width: 100%;
        flex-basis: 100%;
        padding-right: 0;
        margin-bottom: 30px;
    }
    
    body .monroe-cennik-filters.filters-visible {
        display: block;
    }

    body .monroe-cennik-results {
        flex-basis: 100%;
    }
    
    /* --- Style Mobilne (Specyficzne dla Zabiegów) --- */
    body .monroe-zabieg-grupa-title {
        font-size: 2.2rem !important;
        text-align: center !important;
    }
    
    body .monroe-zabieg-title {
        font-size: 1.8rem;
        text-align: center;
    }
    
    body .monroe-zabieg-info-box {
        padding: 5px;
    }
    
    body .info-box-item {
        flex-basis: 100%;
    }

    body .monroe-zabieg-kolumny {
        flex-direction: column;
        margin: 0;
    }
    
    body .zabieg-kolumna {
        padding: 0;
    }
}