/* --- TÁROLÓ ÉS ELRENDEZÉS (Sötét Téma Javítás) --- */
#wc-foxpost-wrapper,
.foxpost-woocommerce-shipping-fields {
    background-color: #ffffff !important;
    color: #333333 !important;
    padding: 15px;
    border-radius: 6px;
    border: 1px solid #e5e5e5;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    margin-bottom: 20px;
    max-width: 100%;
    position: relative;
}

#wc-foxpost-title {
    margin-top: 0 !important;
    margin-bottom: 15px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #222222 !important;
    line-height: 1.2;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    text-transform: none !important;
    display: block !important;
}

#wc-foxpost-map {
    width: 100%;
    height: 350px !important;
    background: #f4f4f4;
    z-index: 1;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-top: 15px;
    display: block;
}

/* --- INFO DOBOZ (Térkép alatt) --- */
#wc-foxpost-point-info {
    display: none;
    margin-top: 15px;
    padding: 15px;
    border: 1px solid #e0e0e0;
    background: #f9f9f9 !important;
    border-radius: 4px;
    font-size: 13px;
    line-height: 1.5;
    color: #444444 !important;
    clear: both;
}

#wc-foxpost-point-info strong {
    color: #000000 !important;
    font-weight: 700;
    font-size: 14px;
    display: block;
    margin-bottom: 5px;
}

/* --- POPUP JAVÍTÁS (Összecsúszás ellen) --- */
.wc-foxpost-popup-content {
    min-width: 200px !important;
    text-align: left !important;
    color: #333 !important;
}

/* A CÍM (Név) */
.wc-popup-header {
    display: block !important;
    width: 100% !important;
    clear: both !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    color: #222 !important;
    margin-bottom: 8px !important;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
    line-height: 1.3 !important;
}

/* A TARTALOM (Cím) */
.wc-popup-body {
    display: block !important;
    width: 100% !important;
    clear: both !important;
    font-size: 13px !important;
    color: #555 !important;
    line-height: 1.4 !important;
    white-space: normal !important; /* Megakadályozza, hogy egy sorba kényszerítse */
}

/* Leaflet saját stílusainak felülírása a biztonság kedvéért */
.leaflet-popup-content {
    margin: 12px !important;
    line-height: 1.4 !important;
}
.leaflet-popup-content p {
    margin: 0 !important;
}

/* --- SELECT2 JAVÍTÁSOK --- */
.woocommerce-checkout .select2-container--default .select2-selection--single {
    height: 40px;
    line-height: 40px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff !important;
    color: #333 !important;
}

.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 40px;
    padding-left: 12px;
    color: #333 !important;
    font-size: 14px;
}

.select2-dropdown {
    background-color: #fff !important;
    color: #333 !important;
    border: 1px solid #ccc;
    z-index: 999999;
}

.select2-results__option {
    padding: 8px 12px;
    font-size: 13px;
    color: #333 !important;
    border-bottom: 1px solid #f5f5f5;
    background-color: #fff !important;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #f0f0f0 !important;
    color: #000 !important;
}

/* --- MARKER CLUSTER --- */
.marker-cluster-small { background-color: rgba(181, 226, 140, 0.6); }
.marker-cluster-small div { background-color: rgba(110, 204, 57, 0.6); }
.marker-cluster-medium { background-color: rgba(241, 211, 87, 0.6); }
.marker-cluster-medium div { background-color: rgba(240, 194, 12, 0.6); }
.marker-cluster-large { background-color: rgba(253, 156, 115, 0.6); }
.marker-cluster-large div { background-color: rgba(241, 128, 23, 0.6); }

.marker-cluster { background-clip: padding-box; border-radius: 20px; }
.marker-cluster div {
    width: 30px;
    height: 30px;
    margin-left: 5px;
    margin-top: 5px;
    text-align: center;
    border-radius: 15px;
    font: 12px "Helvetica Neue", Arial, Helvetica, sans-serif;
    color: #000 !important;
    font-weight: bold;
    line-height: 30px;
}