/**
 * Oshen Specialist Filters - Styles
 * Matches the design from the provided screenshot (warm beige filters with pill tabs).
 */

.oshen-specialist-filters {
    background-color: #f4ede4;
    padding: 0;
    border-radius: 0;
    margin-bottom: 24px;
    font-family: inherit;
}

/* Layout: two groups side-by-side on desktop, stacked on mobile */
.oshen-specialist-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 32px 48px;
    align-items: flex-start;
}

.filter-group {
    display: flex;
    flex-direction: row;
    gap: 8px;
    flex: 1;
    min-width: 280px;
}

.filter-group--sritys {
    /* left group */
}

.filter-group--erdves {
    /* right group */
}

.filter-label {
    font-size: 11px;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--mocha);
    flex-shrink: 0;
    padding-top: 8px;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* ============================================
   FILTER CHIPS - using site CSS variables
   ============================================ */
.filter-chip {
    padding: 9px 16px;
    border: 1px solid var(--line);
    background: transparent;
    font-size: 12px;
    letter-spacing: .05em;
    color: var(--ink);
    cursor: pointer;
    font-family: inherit;
    transition: all .25s;
    border-radius: 0;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.filter-chip:hover {
    background: rgba(0, 0, 0, 0.03);
}

.filter-chip.active,
.filter-chip[aria-pressed="true"] {
    background: var(--ink);
    color: var(--paper);
    border-color: var(--ink);
}

.filter-chip--all {
    /* Optional: you can style the "Visi / Visos" chip differently if needed */
}

/* Responsive: stack groups on smaller screens */
@media (max-width: 768px) {
    .oshen-specialist-filters {
        flex-direction: column;
        gap: 24px;
        padding: 0;
    }
    
    .filter-group {
        min-width: 100%;
    }
	.oshen-contact-form .oshen-form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
}

/* Optional: subtle separator line below filters (add via Breakdance or extra CSS) */
.oshen-specialist-filters + .bde-div,
.oshen-specialist-filters + hr {
    /* user can style the line in Breakdance */
}

/* When used inside Breakdance, you may want to remove default margins */
.oshen-specialist-filters {
    margin-left: 0;
    margin-right: 0;
}

/* No results message */
.oshen-no-results {
    padding: 40px 20px;
    text-align: center;
    color: #6b6259;
    font-size: 15px;
    background: #f4ede4;
    border-radius: 8px;
    margin-top: 16px;
}

.oshen-no-results button.oshen-reset-filters {
    background: none;
    border: 1px solid #6b6259;
    color: #6b6259;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 13px;
    margin-left: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.oshen-no-results button.oshen-reset-filters:hover {
    background: #6b6259;
    color: white;
}

/* ============================================
   FADE EFFECT FOR FILTERED CARDS
   ============================================ */
.bde-loop-item,
.ee-post,
article.bde-loop-item,
.spec-card {
    transition: opacity 0.28s ease, transform 0.28s ease;
    will-change: opacity;
}

.oshen-filtered-out {
    opacity: 0 !important;
    pointer-events: none;
    transform: scale(0.97);
}

/* ============================================
   MODALS - Specialist + Contact Form
   ============================================ */
.oshen-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.oshen-modal.is-open {
    display: flex;
}

.oshen-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(2px);
}

.oshen-modal__content {
    position: relative;
    background: #fff;
    max-width: 680px;
    width: 92%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    border-radius: 0;
    z-index: 2;
}

/* Specialist modal gets a wider layout */
#oshen-specialist-modal .oshen-modal__content {
    max-width: 920px;
    width: 100%;
}

/* Specialist Modal specific layout */
.oshen-specialist-modal .oshen-specialist-modal__inner {
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .oshen-specialist-modal .oshen-specialist-modal__inner {
        flex-direction: row;
    }
}

.oshen-specialist-modal__image-col {
    flex: 1;
    background: #d4c3a8; /* warm beige from screenshot */
    position: relative;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.oshen-specialist-modal__image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.oshen-specialist-modal__image-wrapper img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    display: block;
}

.oshen-location-badges {
    position: absolute;
    bottom: 20px;
    left: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 1;
}

.oshen-location-badge {
    background: rgba(255,255,255,0.95);
    color: #3f3730;
    font-size: 11px;
    letter-spacing: 0.5px;
    padding: 4px 12px;
    text-transform: uppercase;
    white-space: nowrap;
    display: inline-block;
}

.oshen-specialist-modal__info-col {
    flex: 1;
    padding: 40px 36px;
    background: #f8f1e9; /* light cream */
    color: #2c2520;
}

.oshen-specialist-name {
    font-size: 28px;
    margin: 0 0 4px;
    font-weight: 600;
    color: #1f2a38;
}

.oshen-specialist-subtitle {
    font-size: 14px;
    color: #6b6259;
    margin: 0 0 20px;
    letter-spacing: 0.3px;
}

.oshen-specialist-description {
    font-size: 15px;
    line-height: 1.65;
    color: #3f3730;
    margin-bottom: 28px;
}

.oshen-procedures-section {
    margin-bottom: 32px;
}

.oshen-procedures-title {
    font-size: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #6b6259;
    margin-bottom: 10px;
    font-weight: 600;
}

.oshen-procedures-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 14.5px;
    line-height: 1.8;
    color: #3f3730;
}

.oshen-procedures-list li {
    position: relative;
    padding-left: 18px;
}

.oshen-procedures-list li::before {
    content: "–";
    position: absolute;
    left: 0;
    color: #6b6259;
}

.oshen-modal-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.oshen-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 13px;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.oshen-btn--primary {
    background: #1f2a38;
    color: #fff;
}

.oshen-btn--primary:hover {
    background: #2c3a4a;
}

/* Force white text on the main reserve button (REZERVUOTI VIZITĄ)
   Theme / Breakdance global link styles often override .oshen-btn--primary */
#oshen-reserve-button,
.oshen-specialist-modal .oshen-btn--primary {
    color: #fff !important;
}

#oshen-reserve-button:hover,
.oshen-specialist-modal .oshen-btn--primary:hover {
    color: #fff !important;
}

.oshen-btn--secondary {
    background: transparent;
    color: #1f2a38;
    border: 1px solid #1f2a38;
}

.oshen-btn--secondary:hover {
    background: #1f2a38;
    color: #fff;
}

.oshen-btn--full {
    width: 100%;
}

.oshen-form-notice {
    margin-top: 16px;
    padding: 14px 18px;
    background: #eef6ee;
    border-left: 3px solid #5a9a5a;
    color: #2d5a2d;
    font-size: 14px;
    line-height: 1.6;
    border-radius: 2px;
}

/* Contact Form Modal */
.oshen-contact-modal .oshen-contact-modal__inner {
    padding: 40px 36px;
    background: #f8f1e9;
}

.oshen-contact-label {
    font-size: 11px;
    letter-spacing: 1.5px;
    color: #b89e7e;
    text-transform: uppercase;
}

.oshen-contact-title {
    font-size: 24px;
    margin: 8px 0 12px;
    color: #1f2a38;
}

.oshen-contact-intro {
    font-size: 14px;
    color: #5c5349;
    line-height: 1.6;
    margin-bottom: 28px;
}

.oshen-contact-form label {
    display: block;
    font-size: 11px;
    letter-spacing: 0.5px;
    color: #6b6259;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.oshen-contact-form input, .oshen-contact-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 0px solid #d4c9b8;
    border-bottom: 1px solid #d2d2d1;
    background: #ffffff00;
    font-size: 15px;
    margin-bottom: 18px;
    font-family: inherit;
}

.oshen-modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #ffffff00;
    border: none;
    width: 36px;
    height: 36px;
    font-size: 21px;
    line-height: 0;
    cursor: pointer;
    z-index: 10;
    border-radius: 50%;
    border: 1px solid #d7d7d5;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 768px) {
.oshen-contact-form .oshen-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
	}}
/* ============================================
   CLICKABLE CARDS IMPROVEMENT
   ============================================ */
/* Make it visually obvious that the whole specialist card / loop item is clickable
   (triggers the detail popup). Only affects the specialists loop area. */
.specialists-loop .bde-loop-item,
.specialists-loop .ee-post,
.bde-post-loop .bde-loop-item,
.spec-card,
.specialist-card {
    cursor: pointer;
}

/* Subtle hover feedback so users understand the cards are interactive.
   Feel free to adjust or remove if it conflicts with your existing card design. */
.specialists-loop .bde-loop-item:hover,
.spec-card:hover,
.specialist-card:hover {
    

}
