/* Jeisys Clínicas - Interactive Map & List Styles */

.jc-map-container {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
    box-sizing: border-box;
    width: 100%;
    background: #f8f9fa;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    overflow: hidden;
    margin: 20px 0;
}

.jc-map-container * {
    box-sizing: border-box;
}

/* Header & Filters */
.jc-map-header {
    background: #ffffff;
    padding: 16px 20px;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
}

.jc-search-box {
    flex: 1;
    min-width: 250px;
}

.jc-search-input {
    width: 100%;
    padding: 10px 16px;
    border: 1px solid #ced4da;
    border-radius: 30px;
    font-size: 14px;
    outline: none;
    transition: all 0.2s ease;
    background: #f8f9fa;
}

.jc-search-input:focus {
    border-color: #2271b1;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(34, 113, 177, 0.15);
}

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

.jc-cat-btn {
    background: #e9ecef;
    color: #495057;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.jc-cat-btn:hover {
    background: #dee2e6;
    color: #212529;
}

.jc-cat-btn.active {
    background: #1d2327;
    color: #ffffff;
}

/* Body Layouts */
.jc-map-body {
    display: flex;
    width: 100%;
    position: relative;
}

.jc-layout-side_by_side .jc-map-body {
    flex-direction: row;
}

.jc-layout-side_by_side_left .jc-map-body {
    flex-direction: row-reverse;
}

.jc-layout-stacked .jc-map-body {
    flex-direction: column;
}

.jc-map-view {
    flex: 1 1 60%;
    width: 100%;
    min-height: 350px;
    z-index: 1;
}

.jc-clinics-list-wrap {
    flex: 1 1 40%;
    max-width: 450px;
    background: #ffffff;
    border-left: 1px solid #e9ecef;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.jc-layout-side_by_side_left .jc-clinics-list-wrap {
    border-left: none;
    border-right: 1px solid #e9ecef;
}

.jc-layout-stacked .jc-clinics-list-wrap {
    max-width: 100%;
    border-left: none;
    border-top: 1px solid #e9ecef;
}

.jc-clinics-count {
    padding: 12px 18px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #6c757d;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.jc-clinics-list {
    overflow-y: auto;
    max-height: 520px;
    padding: 12px;
}

/* Clinic Cards */
.jc-clinic-card {
    display: flex;
    gap: 14px;
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.jc-clinic-card:hover {
    border-color: #ced4da;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
    transform: translateY(-2px);
}

.jc-clinic-card.active {
    border-color: #2271b1;
    background: #f0f7ff;
    box-shadow: 0 6px 20px rgba(34, 113, 177, 0.12);
}

.jc-card-img {
    width: 85px;
    height: 85px;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
    background-color: #e9ecef;
}

.jc-card-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.jc-card-title {
    font-size: 15px;
    font-weight: 700;
    color: #212529;
    margin: 0 0 4px 0;
    line-height: 1.3;
}

.jc-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 6px;
}

.jc-tag {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    background: #e2e8f0;
    color: #334155;
    padding: 2px 7px;
    border-radius: 4px;
}

.jc-card-location {
    font-size: 12px;
    font-weight: 600;
    color: #495057;
    margin-bottom: 2px;
}

.jc-card-address {
    font-size: 11px;
    color: #6c757d;
    margin-bottom: 4px;
}

.jc-card-phone {
    font-size: 11px;
    color: #495057;
    margin-bottom: 8px;
}

.jc-card-actions {
    margin-top: 4px;
}

.jc-btn-wa {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: #25D366;
    color: #ffffff !important;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 6px;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.jc-btn-wa:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
}

.jc-btn-nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    background: #1d2327;
    color: #ffffff !important;
    font-size: 11px;
    font-weight: 600;
    padding: 6px 10px;
    border-radius: 6px;
    text-decoration: none !important;
}

/* Custom Marker Icon */
.jc-custom-marker-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.jc-custom-marker-icon:hover, .jc-custom-marker-icon.active {
    transform: scale(1.25);
    z-index: 1000 !important;
}

/* Popup Leaflet Custom Styling */
.leaflet-popup-content-wrapper {
    padding: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.leaflet-popup-content {
    margin: 0;
    width: 260px !important;
}

.jc-popup-card {
    font-family: inherit;
}

.jc-popup-thumb img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    display: block;
}

.jc-popup-content {
    padding: 12px 14px;
}

.jc-popup-title {
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 6px 0;
    color: #1d2327;
}

.jc-popup-tags {
    margin-bottom: 6px;
}

.jc-popup-addr, .jc-popup-phone, .jc-popup-tech {
    font-size: 11px;
    margin: 0 0 4px 0;
    color: #495057;
    line-height: 1.4;
}

.jc-popup-actions {
    display: flex;
    gap: 6px;
    margin-top: 10px;
}

.jc-no-results {
    padding: 30px;
    text-align: center;
    color: #6c757d;
    font-size: 13px;
}

/* Custom Scrollbar */
.jc-clinics-list::-webkit-scrollbar {
    width: 6px;
}

.jc-clinics-list::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.jc-clinics-list::-webkit-scrollbar-thumb {
    background: #cccccc;
    border-radius: 3px;
}

.jc-clinics-list::-webkit-scrollbar-thumb:hover {
    background: #aaaaaa;
}

/* Responsive Mobile Layout */
@media (max-width: 768px) {
    .jc-map-body {
        flex-direction: column !important;
    }

    .jc-clinics-list-wrap {
        max-width: 100%;
        border-left: none;
        border-right: none;
        border-top: 1px solid #e9ecef;
    }

    .jc-clinics-list {
        max-height: 350px;
    }

    .jc-map-header {
        flex-direction: column;
        align-items: stretch;
    }
}

/* ==========================================================================
   JEISYS PRODUCT PAGES DESIGN SYSTEM (LinearZ & Official Jeisys Styling)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Roboto:ital,wght@0,300;0,400;0,500;0,700;1,400&family=Vujahday+Script&display=swap');

.post-24177,
.elementor-24177,
.sub_product {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    color: #222222;
    line-height: 1.6;
    background-color: #ffffff;
}

/* Titles & Headings System */
.elementor-24177 .jc-tit,
.elementor-24177 .tit_product,
.sub_product .tit_product {
    text-align: center !important;
    margin-top: 35px !important;
    margin-bottom: 25px !important;
}

.elementor-24177 .jc-tit h2,
.elementor-24177 .tit_product h2,
.sub_product .tit_product h2 {
    font-family: 'Roboto', sans-serif !important;
    font-size: 38px !important;
    font-weight: 300 !important;
    color: #111111 !important;
    letter-spacing: -0.5px !important;
    line-height: 1.2 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.elementor-24177 .jc-tit h2 strong,
.elementor-24177 .tit_product h2 strong,
.sub_product .tit_product h2 strong {
    font-weight: 800 !important;
    color: #000000 !important;
}

/* Script Font Accents (t1, t2_1, t3_1) */
.elementor-24177 .jc-tit .t1,
.elementor-24177 .jc-tit .t2_1,
.elementor-24177 .jc-tit .t3_1,
.elementor-24177 .tit_product .t1,
.elementor-24177 .tit_product .t2_1,
.elementor-24177 .tit_product .t3_1 {
    font-family: 'Vujahday Script', 'RIDIBatang', Georgia, cursive !important;
    font-size: 42px !important;
    font-weight: 400 !important;
    color: #1a1a1a !important;
    display: inline-block !important;
    margin-left: 10px !important;
    vertical-align: middle !important;
    text-transform: none !important;
}

.elementor-24177 .jc-tit .t2_1,
.elementor-24177 .tit_product .t2_1 {
    display: block !important;
    margin-left: 0 !important;
    margin-bottom: 5px !important;
    font-size: 36px !important;
    color: #555555 !important;
}

/* Intros & Paragraph Text */
.elementor-24177 .jc-product-intro,
.elementor-24177 .jc-product-intro p {
    font-family: 'Roboto', sans-serif !important;
    font-size: 16px !important;
    color: #555555 !important;
    line-height: 1.7 !important;
    max-width: 820px !important;
    margin: 0 auto 35px auto !important;
    text-align: center !important;
}

/* White Card Containers (wbox / jc-product-card) */
.elementor-24177 .jc-product-card,
.elementor-24177 .jc-product-feature-card,
.elementor-24177 .wbox {
    background: #ffffff !important;
    border-radius: 20px !important;
    border: 1px solid #eaeaea !important;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.04) !important;
    padding: 40px !important;
    margin: 30px auto !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.elementor-24177 .jc-product-card:hover {
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.08) !important;
}

/* Hero & Brand Headers */
.elementor-24177 .jc-product-brand h1 {
    font-family: 'Poppins', sans-serif !important;
    font-size: 32px !important;
    font-weight: 600 !important;
    color: #111111 !important;
    margin: 20px 0 15px 0 !important;
    text-align: center !important;
}

/* Certification Bar */
.elementor-24177 .jc-product-certbar {
    background: #f8f9fa !important;
    border-radius: 16px !important;
    padding: 25px 35px !important;
    margin: 40px auto !important;
    border: 1px solid #e9ecef !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 25px !important;
}

.elementor-24177 .jc-product-certbar p {
    font-family: 'Roboto', sans-serif !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    color: #333333 !important;
    margin: 0 !important;
}

/* Specifications Table System */
.elementor-24177 .jc-spec-table table {
    width: 100% !important;
    border-collapse: collapse !important;
    margin: 30px 0 !important;
    font-family: 'Roboto', sans-serif !important;
    border-top: 2px solid #111111 !important;
    border-bottom: 2px solid #111111 !important;
}

.elementor-24177 .jc-spec-table th {
    background-color: #f8f9fa !important;
    color: #111111 !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    padding: 18px 24px !important;
    text-align: left !important;
    vertical-align: middle !important;
    width: 30% !important;
    border-bottom: 1px solid #e5e5e5 !important;
}

.elementor-24177 .jc-spec-table td {
    color: #444444 !important;
    font-size: 15px !important;
    line-height: 1.6 !important;
    padding: 18px 24px !important;
    vertical-align: middle !important;
    border-bottom: 1px solid #e5e5e5 !important;
}

.elementor-24177 .jc-spec-table tr:last-child th,
.elementor-24177 .jc-spec-table tr:last-child td {
    border-bottom: none !important;
}

/* Elementor Accordion FAQ Styling */
.elementor-24177 .elementor-widget-accordion .elementor-accordion {
    border-top: 1px solid #e0e0e0 !important;
    border-bottom: 1px solid #e0e0e0 !important;
}

.elementor-24177 .elementor-widget-accordion .elementor-accordion-item {
    border-bottom: 1px solid #f0f0f0 !important;
}

.elementor-24177 .elementor-widget-accordion .elementor-tab-title {
    padding: 22px 10px !important;
    background: transparent !important;
    transition: color 0.2s ease !important;
}

.elementor-24177 .elementor-widget-accordion .elementor-tab-title a,
.elementor-24177 .elementor-widget-accordion .elementor-accordion-title {
    font-family: 'Roboto', sans-serif !important;
    font-size: 17px !important;
    font-weight: 600 !important;
    color: #111111 !important;
    text-decoration: none !important;
}

.elementor-24177 .elementor-widget-accordion .elementor-tab-title:hover a {
    color: #0056b3 !important;
}

.elementor-24177 .elementor-widget-accordion .elementor-tab-content {
    font-family: 'Roboto', sans-serif !important;
    font-size: 15px !important;
    color: #555555 !important;
    line-height: 1.7 !important;
    padding: 0 10px 22px 35px !important;
    border-top: none !important;
}

/* Responsive Mobile Typography & Layouts */
@media (max-width: 768px) {
    .elementor-24177 .jc-tit h2,
    .elementor-24177 .tit_product h2 {
        font-size: 28px !important;
    }
    
    .elementor-24177 .jc-tit .t1,
    .elementor-24177 .jc-tit .t2_1,
    .elementor-24177 .jc-tit .t3_1 {
        font-size: 30px !important;
    }
    
    .elementor-24177 .jc-product-card,
    .elementor-24177 .wbox {
        padding: 20px !important;
        border-radius: 14px !important;
    }

    .elementor-24177 .jc-spec-table th,
    .elementor-24177 .jc-spec-table td {
        padding: 12px 14px !important;
        font-size: 14px !important;
    }

    .elementor-24177 .jc-product-certbar {
        flex-direction: column !important;
        padding: 20px !important;
    }
}
