/* ─── General form styles ─── */
input:focus::placeholder,
textarea:focus::placeholder {
    opacity: 0;
}
input:focus::-webkit-input-placeholder,
textarea:focus::-webkit-input-placeholder {
    opacity: 0;
}
input:focus::-moz-placeholder,
textarea:focus::-moz-placeholder {
    opacity: 0;
}
input:focus:-ms-input-placeholder,
textarea:focus:-ms-input-placeholder {
    opacity: 0;
}
.pi-edd-cart {background: transparent !important;color: #000;}
.page .entry-content .woocommerce-checkout-review-order-table a {
    padding-left: 0px !important;
}
.woocommerce-error {background-color: #fef2f2;color:#b81c23;}
.entry-content:not(.wc-tab) ul.woocommerce-error {color:#b81c23;}
.woocommerce-checkout .woocommerce-error {color:#b81c23;font-size: 0.9em;}
.form-row.woocommerce-validated input.input-text {
    border-color: #5cb85c !important;
}

/* ─── Shipping tooltip ─── */
.shipping-tooltip-wrapper {
    position: relative;
    display: inline-block;
    margin-left: 5px;
}
.shipping-tooltip-trigger {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
}
.shipping-tooltip-trigger:hover {
    opacity: 0.7;
}
.shipping-tooltip-icon {
    width: 16px;
    height: 16px;
    vertical-align: middle;
}
.shipping-tooltip-content {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    z-index: 1000;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    width: 200px;
    text-align: left;
    font-size: 12px;
    transition: opacity 0.3s, visibility 0.3s;
    pointer-events: none;
}
.shipping-tooltip-arrow {
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #333 transparent transparent transparent;
}
.shipping-tooltip-wrapper:hover .shipping-tooltip-content,
.shipping-tooltip-wrapper:focus-within .shipping-tooltip-content {
    visibility: visible;
    opacity: 1;
}
.shipping-tooltip-content p {
    margin: 0;
    line-height: 1.4;
}
a.button.zas-pop-kont.zas-tlac {
    padding-left: 20px !important;
}
#pi-overall-estimate-checkout td {
    border-left: 1px solid #e2e2e2;
}
.pisol-edd-overall-order-estimate-row .pisol-edd-overall-order-estimate {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    border-radius: 10px;
    color: #00704E;
    line-height: 1.4;
    font-size: 14px;
    font-weight: 700;
}
.pisol-edd-overall-order-estimate-row .pisol-edd-overall-order-estimate::before {
    content: "";
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    background: url(/wp-content/uploads/2025/10/expres-doruceni.svg) no-repeat center / contain;
}
.woocommerce table.shop_table tr.pisol-edd-overall-order-estimate-row > td{
    padding: 10px 5px !important;
}
@media (max-width: 768px) {
    .shipping-tooltip-content {
        left: auto;
        right: 0;
        transform: none;
        width: auto;
        max-width: min(350px, calc(100vw - 32px));
        min-width: min(260px, calc(100vw - 32px));
        overflow-wrap: anywhere;
        white-space: normal;
    }
    .shipping-tooltip-arrow {
        left: auto;
        right: 12px;
        margin-left: 0;
    }
}

/* ─── Pickup UI trigger ─── */
a.cpp-open-modal {
    border-color: #999 !important;
    color: #111 !important;
    background-color: transparent !important;
}
.cpp-pickup-ui {
    padding-left: 123px;
}
.cpp-selected-point {
    margin-top: 5px;
    font-size: 13px;
    line-height: 1.4;
}
.cpp-delivery-badge {
    color: #00704E;
    font-weight: 600;
    font-size: 12px;
}

/* ═══════════════════════════════════════
   MODAL OVERLAY
   ═══════════════════════════════════════ */
/* Body scroll lock when modal is open */
body.cpp-modal-open {
    overflow: hidden !important;
    position: fixed;
    width: 100%;
}

#cpp-modal-overlay,
.cpp-modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99999;
    display: none;
}

/* ═══════════════════════════════════════
   DESKTOP MODAL
   ═══════════════════════════════════════ */
#cpp-modal {
    position: fixed;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    border-radius: 12px;
    max-width: 1200px;
    width: calc(100% - 32px);
    height: 80vh;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    overflow: hidden;
}

/* ─── Body = two columns (full height) ─── */
.cpp-body {
    flex: 1 1 auto;
    display: flex;
    flex-direction: row;
    min-height: 0;
    overflow: hidden;
    position: relative;
    z-index: 1;
    isolation: isolate;
}

/* ─── Left column ─── */
.cpp-sheet {
    flex: 0 0 40%;
    max-width: 480px;
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
    border-right: 1px solid #e5e5e5;
    background: #fff;
}

/* Title */
.cpp-sheet-title {
    flex: 0 0 auto;
    padding: 16px 14px 10px;
    font-size: 17px;
    font-weight: 700;
    color: #111;
}

/* Chevron handle — hidden on desktop */
.cpp-sheet-handle {
    display: none;
}

/* Search — inside left column under title */
.cpp-search-wrap {
    position: relative;
    flex: 0 0 auto;
    padding: 0 14px 10px;
}
.cpp-search-input {
    width: 100%;
    padding: 10px 12px 10px 42px !important;
    border: 1px solid #d0d0d0 !important;
    border-radius: 10px !important;
    font-size: 13px !important;
    box-sizing: border-box;
    outline: none;
    background: #fff;
    height: 40px;
}
.cpp-search-input:focus {
    border-color: #0073aa;
    box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.15);
}
.cpp-search-icon {
    position: absolute;
    left: 18px;
    top: 49%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    color: #999;
    pointer-events: none;
}
.cpp-search-results {
    position: absolute;
    top: 100%;
    left: 14px; right: 14px;
    background: #fff;
    border: 1px solid #d0d0d0;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    display: none;
    z-index: 20;
    max-height: 200px;
    overflow-y: auto;
}
.cpp-search-item {
    padding: 10px 12px;
    cursor: pointer;
    font-size: 13px;
    border-bottom: 1px solid #f0f0f0;
    color: #333;
}
.cpp-search-item:last-child {
    border-bottom: none;
}
.cpp-search-item:hover {
    background: #f5f8ff;
}

.cpp-sheet-header {
    flex: 0 0 auto;
    padding: 4px 14px 6px;
    font-size: 12px;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.cpp-sheet-content {
    flex: 1 1 auto;
    overflow-y: auto;
    min-height: 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #b5b5b5 #f1f1f1;
}
.cpp-sheet-content::-webkit-scrollbar {
    width: 6px;
}
.cpp-sheet-content::-webkit-scrollbar-track {
    background: #f1f1f1;
}
.cpp-sheet-content::-webkit-scrollbar-thumb {
    background: #b5b5b5;
    border-radius: 3px;
}

/* Notice at bottom of left column */
.cpp-sheet-notice {
    flex: 0 0 auto;
    padding: 10px 14px;
    font-size: 12px;
    color: #856404;
    background: #fff3cd;
    border-top: 1px solid #e5e5e5;
    line-height: 1.4;
    cursor: pointer;
    user-select: none;
}
.cpp-notice-short {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
}
.cpp-notice-icon {
    flex: 0 0 16px;
    color: #b8860b;
}
.cpp-notice-full {
    display: none;
    margin-top: 8px;
    font-weight: 400;
    color: #6b5200;
    line-height: 1.5;
}
.cpp-sheet-notice.open .cpp-notice-full {
    display: block;
}

/* ─── Right column: map (full height) ─── */
.cpp-map-wrap {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 0;
    position: relative;
}
#cpp-map, .cpp-map {
    width: 100%;
    height: 100%;
    min-height: 300px;
    background: #eee;
}

/* Close button — large circle, always on top */
.cpp-close-btn {
    position: absolute;
    top: 14px; right: 14px;
    z-index: 10;
    background: #fff;
    border: none;
    border-radius: 50%;
    width: 44px; height: 44px;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #222;
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
    padding: 0;
}
.cpp-close-btn:hover {
    background: #f0f0f0;
    color: #000;
}

/* ─── Point list ─── */
#cpp-point-list, .cpp-point-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.cpp-point-card {
    padding: 12px 14px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
    transition: background 0.15s;
}
.cpp-point-card:hover {
    background: #f8f9fa;
}
.cpp-point-card.selected {
    background: #f0f7ff;
    border-left: 3px solid #0073aa;
}
.cpp-point-name {
    font-weight: 600;
    font-size: 14px;
    color: #111;
    margin-bottom: 2px;
}
.cpp-point-address {
    font-size: 13px;
    color: #555;
    margin-bottom: 4px;
}
.cpp-point-delivery {
    font-size: 12px;
    color: #00704E;
    font-weight: 600;
    margin-bottom: 2px;
}
.cpp-point-distance {
    display: inline-block;
    font-size: 12px;
    color: #0073aa;
    font-weight: 500;
    background: #e8f4fd;
    padding: 1px 8px;
    border-radius: 10px;
    margin-top: 2px;
}
.cpp-point-empty {
    padding: 20px 16px;
    text-align: center;
    color: #888;
    font-size: 14px;
}

/* ─── Inline expanded detail (inside selected card) ─── */
.cpp-point-detail {
    display: none;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed #ccc;
}
.cpp-point-card.selected .cpp-point-detail {
    display: block;
}
.cpp-point-detail-info {
    margin-bottom: 10px;
}
.cpp-point-detail-info-label {
    font-size: 12px;
    font-weight: 600;
    color: #555;
    margin-bottom: 2px;
}
.cpp-point-detail-info-text {
    font-size: 12px;
    color: #666;
    line-height: 1.5;
    white-space: pre-line;
}
.cpp-point-detail-img {
    margin-bottom: 10px;
    border-radius: 8px;
    overflow: hidden;
    line-height: 0;
}
.cpp-point-detail-img img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    display: block;
    border-radius: 8px;
}
.cpp-point-detail-actions {
    padding-top: 4px;
    padding-bottom: 10px;
    flex: 0 0 auto;
}

/* Detail content scrolls, button stays visible */
.cpp-point-card.selected .cpp-point-detail {
    display: flex;
    flex-direction: column;
    max-height: 50vh;
}
.cpp-point-detail-content {
    flex: 1 1 auto;
    overflow-y: auto;
    overflow-x: hidden;
    min-height: 0;
    scrollbar-width: thin;
    scrollbar-color: #b5b5b5 #f1f1f1;
}
.cpp-point-detail-content::-webkit-scrollbar {
    width: 5px;
}
.cpp-point-detail-content::-webkit-scrollbar-track {
    background: #f1f1f1;
}
.cpp-point-detail-content::-webkit-scrollbar-thumb {
    background: #b5b5b5;
    border-radius: 3px;
}
.cpp-point-card.selected .cpp-point-detail-actions {
    position: sticky;
    bottom: 0;
    background: #f0f7ff;
    padding: 8px 0 4px;
}
.cpp-point-select-btn {
    width: 100%;
    padding: 10px 16px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    cursor: pointer;
    background: #0073aa !important;
    color: #fff !important;
    border: none !important;
    text-align: center;
}
.cpp-point-select-btn:hover {
    background: #005a87 !important;
}

/* ═══════════════════════════════
   MOBILE – fullscreen, search top, map, bottom sheet
   ═══════════════════════════════ */
@media (max-width: 768px) {
    .cpp-pickup-ui {
        padding-left: 123px;
    }

    #cpp-modal-overlay, .cpp-modal-overlay {
        z-index: 999999;
    }

    #cpp-modal {
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        transform: none;
        max-width: none;
        width: 100%;
        max-height: none;
        height: 100%;
        border-radius: 0;
        display: block;
        overflow: hidden;
    }

    .cpp-body {
        position: absolute;
        top: 0; left: 0; right: 0; bottom: 0;
        display: block;
        overflow: hidden;
        padding: 0;
    }

    /* Search row — fixed at very top */
    .cpp-search-row {
        position: fixed;
        top: 0; left: 0; right: 48px;
        padding: 8px 10px;
        background: #fff;
        z-index: 1000004;
        box-shadow: none;
        display: flex;
        align-items: center;
        gap: 6px;
        border-bottom: none;
    }
    .cpp-search-row::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: -48px;
        height: 1px;
        background: #e0e0e0;
    }
    /* Hide filter toggle from search row on mobile — it stays in the sheet */
    .cpp-search-row .cpp-filter-toggle {
        display: none !important;
    }
    .cpp-search-wrap {
        position: static;
        padding: 0;
        background: transparent;
        box-shadow: none;
        flex: 1;
    }
    .cpp-search-input {
        background: #fff;
        font-size: 16px !important; /* prevents iOS auto-zoom on focus */
    }
    .cpp-search-results {
        left: 10px;
        right: 0;
        z-index: 1000005;
    }

    .cpp-search-icon {
        top: 39%;
        left: 29px;
    }

    /* Close button — fixed top-right, no shadow on mobile */
    .cpp-close-btn {
        position: fixed;
        top: -7px; right: 4px;
        width: 52px; height: 52px;
        font-size: 22px;
        z-index: 1000006;
        box-shadow: none;
        background: transparent;
        color: #333;
    }
    .cpp-close-btn:hover {
        background: rgba(0,0,0,0.05);
    }

    /* Map fills screen, below search bar */
    .cpp-map-wrap {
        position: absolute;
        top: 52px; left: 0; right: 0; bottom: 0;
        z-index: 1;
    }
    #cpp-map, .cpp-map {
        width: 100%;
        height: 100%;
        min-height: 0;
    }

    /* Title hidden on mobile */
    .cpp-sheet-title {
        display: none;
    }

    /* Chevron tab — fixed, floats above sheet. Shown/hidden by JS with openModal/closeModal */
    .cpp-sheet-handle {
        justify-content: center;
        align-items: center;
        position: fixed;
        bottom: 35vh;
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
        height: 30px;
        background: #fff;
        border-radius: 15px 15px 0 0;
        box-shadow: 0 -3px 8px rgba(0,0,0,0.15);
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
        z-index: 1000003;
        transition: bottom 0.3s ease;
    }
    .cpp-chevron {
        display: block;
        width: 24px;
        height: 3px;
        background: transparent;
        position: relative;
    }
    .cpp-chevron::before {
        content: '';
        position: absolute;
        top: 2px;
        left: 50%;
        transform: translateX(-50%);
        border-left: 11px solid transparent;
        border-right: 11px solid transparent;
        border-bottom: 9px solid #888;
        transition: transform 0.3s;
    }
    .cpp-chevron.down::before {
        transform: translateX(-50%) rotate(180deg);
    }
    .cpp-sheet.expanded ~ .cpp-map-wrap ~ .never,
    #cpp-sheet.expanded + .cpp-map-wrap ~ .never { display: none; }

    /* Bottom sheet — fixed at bottom */
    .cpp-sheet {
        position: fixed;
        bottom: 0; left: 0; right: 0;
        z-index: 1000003;
        flex: none;
        background: #fff;
        border-radius: 16px 16px 0 0;
        box-shadow: 0 -4px 16px rgba(0,0,0,0.12);
        max-height: 35vh;
        max-width: none;
        transition: max-height 0.3s ease;
        border-right: none;
        overflow-x: hidden;
        overflow-y: auto;
        display: flex;
        flex-direction: column;
    }
    .cpp-sheet.expanded {
        max-height: 75vh;
    }

    /* Notice at bottom of sheet */
    .cpp-sheet-notice {
        flex: 0 0 auto;
    }

    .cpp-sheet-header {
        padding: 4px 12px 6px;
        font-size: 12px;
        flex: 0 0 auto;
    }

    .cpp-sheet-content {
        flex: 1 1 auto;
        overflow-y: auto;
        min-height: 0;
    }

    .cpp-point-card {
        padding: 10px 14px;
    }

    /* On mobile, limit detail height more */
    .cpp-point-card.selected .cpp-point-detail {
        max-height: 45vh;
    }
    .cpp-point-detail-content {
        -webkit-overflow-scrolling: touch;
    }
}

/* ─── Leaflet popup ─── */
.leaflet-popup-content small { font-size: 85% !important; }
.leaflet-popup-content { width: 220px !important; }

/* ─── Marker clusters ─── */
.cpp-cluster {
    background: transparent !important;
}
.cpp-cluster-icon {
    background: #207AC9;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    box-shadow: 0 2px 6px rgba(0,0,0,0.35);
    border: 2px solid rgba(255,255,255,0.5);
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ─── Shipping method extras (logo, description, badge, delivery) ─── */
.cpp-shipping-logo {
    display: inline-block;
    vertical-align: middle;
    height: 25px;
    width: auto;
    margin: 0;
    padding: 0 10px 0 0;
    border: 0;
}
.cpp-shipping-desc {
    font-size: .8125rem;
    color: #555;
    padding-left: 123px;
    margin-top: 1px;
    line-height: 1.4;
}
.cpp-shipping-desc-text {
    vertical-align: middle;
}
.cpp-shipping-badge {
    display: inline-block;
    background: #4caf50;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 1px 7px;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    vertical-align: middle;
    margin-left: 4px;
}
.cpp-shipping-delivery-estimate {
    font-size: 12px;
    color: #00704E;
    font-weight: 600;
    padding-left: 123px;
    margin-top: 2px;
}

/* ═══════════════════════════════════════
   DELIVERY BADGE (product + cart pages)
   ═══════════════════════════════════════ */
.cpp-delivery-badge-box {
    display: inline !important;
    color: #00704E !important;
    font-weight: 600 !important;
    font-size: 14px;
    line-height: 28px;
    white-space: nowrap;
    padding-left: 38px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 2605 1875'%3E%3Cpath d='M1875,0l-1875,0l0,1562.5l212.025,0c25.272,176.681 177.221,312.5 360.892,312.5c183.671,0 335.619,-135.819 360.891,-312.5l736.553,0c25.264,176.681 177.222,312.5 360.889,312.5c183.667,0 335.625,-135.819 360.889,-312.5l212.028,0l-0,-668.153l-477.681,-477.68l-251.486,-0l0,-416.667Zm0,625l0,555.917c47.361,-22.5 100.333,-35.084 156.25,-35.084c145.431,0 270.986,85.153 329.5,208.334l35.083,-0l0,-373.514l-355.652,-355.653l-165.181,0Zm-208.333,729.167l-0,-1145.83l-1458.33,0l0,1145.83l35.085,-0c58.514,-123.181 184.061,-208.334 329.499,-208.334c145.437,0 270.984,85.153 329.498,208.334l764.252,-0Zm364.583,312.5c-86.292,-0 -156.25,-69.959 -156.25,-156.25c0,-86.292 69.958,-156.25 156.25,-156.25c86.292,-0 156.25,69.958 156.25,156.25c0,86.291 -69.958,156.25 -156.25,156.25Zm-1302.08,-156.25c-0,86.291 -69.956,156.25 -156.25,156.25c-86.295,-0 -156.25,-69.959 -156.25,-156.25c-0,-86.292 69.955,-156.25 156.25,-156.25c86.294,-0 156.25,69.958 156.25,156.25Z' fill='%2300704e'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 28px 28px;
}

/* ═══════════════════════════════════════
   MULTI-PROVIDER: Filter Toggle Button
   ═══════════════════════════════════════ */

/* Filter toggle button - positioned in the search row */
.cpp-search-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 0 14px 10px;
}
.cpp-search-row .cpp-search-wrap {
    flex: 1;
    padding: 0; /* Override the original padding since parent handles it */
}

.cpp-filter-toggle {
    flex: 0 0 auto;
    background: none;
    border: 1px solid #d0d0d0;
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 13px;
    color: #555;
    cursor: pointer;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: border-color 0.2s, background 0.2s;
    height: 40px;
    box-sizing: border-box;
}
.cpp-filter-toggle:hover {
    border-color: #0073aa;
    background: #f5f8ff;
}
.cpp-filter-toggle.open {
    border-color: #0073aa;
    background: #f0f7ff;
    color: #0073aa;
}
.cpp-filter-arrow {
    font-size: 10px;
    transition: transform 0.2s;
    display: inline-block;
}
.cpp-filter-toggle.open .cpp-filter-arrow {
    transform: rotate(180deg);
}

/* ═══════════════════════════════════════
   MULTI-PROVIDER: Filter Panel
   ═══════════════════════════════════════ */

.cpp-filter-panel {
    padding: 12px 14px;
    border-bottom: 1px solid #e5e5e5;
    background: #f9fafb;
}

.cpp-filter-group {
    margin-bottom: 12px;
}
.cpp-filter-group:last-child {
    margin-bottom: 0;
}

.cpp-filter-title {
    font-size: 12px;
    font-weight: 700;
    color: #333;
    margin-bottom: 6px;
    text-transform: none;
}

.cpp-filter-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 0;
    font-size: 13px;
    color: #444;
    cursor: pointer;
}
.cpp-filter-option input[type="checkbox"] {
    margin: 0;
    width: 16px;
    height: 16px;
    accent-color: #0073aa;
}

/* Filter type icons (small colored squares) */
.cpp-filter-icon {
    display: inline-block;
    width: 18px;
    height: 18px;
    border-radius: 3px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
}
.cpp-filter-icon-partner {
    background-color: transparent;
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2014%2014%22%3E%3Crect%20x%3D%227.78%22%20y%3D%227%22%20width%3D%226.22%22%20height%3D%226.22%22%20fill%3D%22%2300a9e0%22%2F%3E%3Crect%20y%3D%227%22%20width%3D%226.22%22%20height%3D%226.22%22%20fill%3D%22%23002776%22%2F%3E%3Crect%20x%3D%227.78%22%20y%3D%220%22%20width%3D%226.22%22%20height%3D%226.22%22%20fill%3D%22%23fdc82f%22%2F%3E%3C%2Fsvg%3E");
}
.cpp-filter-icon-posta {
    background-color: transparent;
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2015.875%2015.875%22%3E%3Cg%20fill%3D%22%23fdc82f%22%20fill-rule%3D%22evenodd%22%3E%3Cpath%20d%3D%22M.304%203.97c-.168%200-.304.136-.304.303.153%204.35%203.598%207.866%207.93%208.153.19.013.381.004.574.004.616%200%201.256-.108%201.834-.235%201.871-.41%203.257-2.063%203.257-4.063%200-.138-.007-.274-.02-.408-.024-.25-.071-.493-.138-.727-.496-1.747-2.108-3.028-4.022-3.028-1.913%200-3.526%201.281-4.022%203.028.343%201.205%201.217%202.188%202.354%202.681-.38-.406-.612-.949-.612-1.547%200-1.254%201.021-2.27%202.28-2.27%201.259%200%202.28%201.016%202.28%202.27%200%20.598-.233%201.141-.612%201.547-.416.444-1.01.723-1.668.723-1.851%200-3.445-1.1-4.159-2.678-.105-.233-.191-.476-.256-.728A4.4%204.4%200%200%201%20.43%205.413c.008-.022.017-.044.025-.066.003-.015.005-.03.005-.046%200-.125-.102-.227-.228-.227H.304z%22%2F%3E%3Cpath%20d%3D%22M15.654%204.19a5.93%205.93%200%200%201%20.218%201.663c0%201.945-.867%203.688-2.237%204.868-.343.258-.634.514-1.206.816%201.037-.974%201.544-2.117%201.544-3.414%200-.392-.05-.773-.144-1.136.094-.362.144-.743.144-1.135a4.4%204.4%200%200%200-.287-1.59c-.008-.034-.013-.048-.013-.074%200-.126.102-.228.228-.228h1.459c.14%200%20.259.101.294.23z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
}
.cpp-filter-icon-box {
    background-color: transparent;
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20283%20283%22%3E%3Crect%20y%3D%2275.5%22%20width%3D%22132%22%20height%3D%2256.6%22%20fill%3D%22%2300a9e0%22%2F%3E%3Crect%20x%3D%22151%22%20y%3D%22151%22%20width%3D%22132%22%20height%3D%22132%22%20fill%3D%22%2300a9e0%22%2F%3E%3Crect%20x%3D%22151%22%20width%3D%22132%22%20height%3D%2256.6%22%20fill%3D%22%23002776%22%2F%3E%3Crect%20y%3D%22151%22%20width%3D%22132%22%20height%3D%22132%22%20fill%3D%22%23002776%22%2F%3E%3Crect%20width%3D%22132%22%20height%3D%2256.6%22%20fill%3D%22%23fdc82f%22%2F%3E%3Crect%20x%3D%22151%22%20y%3D%2275.5%22%20width%3D%22132%22%20height%3D%2256.6%22%20fill%3D%22%23fdc82f%22%2F%3E%3C%2Fsvg%3E");
}

/* ═══════════════════════════════════════
   MULTI-PROVIDER: Map Markers (Leaflet divIcon)
   ═══════════════════════════════════════ */

/* Base marker */
.cpp-marker {
    background: none !important;
    border: none !important;
}
.cpp-marker-inner {
    width: 32px;
    height: 40px;
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}
.cpp-marker-inner svg {
    width: 32px;
    height: 40px;
}

/* Marker types use different fill colors - handled by SVG inline */
.cpp-marker-box .cpp-marker-inner svg .marker-bg { fill: #1a4a8a; }
.cpp-marker-partner .cpp-marker-inner svg .marker-bg { fill: #1a4a8a; }
.cpp-marker-posta .cpp-marker-inner svg .marker-bg { fill: #d4a017; }

/* Active/selected marker */
.cpp-marker-active .cpp-marker-inner {
    filter: drop-shadow(0 3px 6px rgba(0,0,0,0.4));
    transform: scale(1.2);
    transform-origin: bottom center;
}

/* ═══════════════════════════════════════
   MULTI-PROVIDER: Enhanced Point Card (Balikovna)
   ═══════════════════════════════════════ */

/* Balikovna card modifications */
.cpp-point-card-balikovna {
    position: relative;
}

/* PSC badge (top-right) */
.cpp-point-badge {
    position: absolute;
    top: 8px;
    right: 10px;
}
.cpp-badge-psc {
    display: inline-block;
    background: #e8f4fd;
    color: #0073aa;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
    font-family: monospace;
}

/* Type icon + name row */
.cpp-point-type-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 3px;
}

/* Small type indicator icon */
.cpp-point-type-icon {
    display: inline-block;
    width: 22px;
    height: 22px;
    border-radius: 4px;
    flex-shrink: 0;
    background-size: contain;
    background-repeat: no-repeat;
}
.cpp-type-box {
    background-color: transparent;
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20283%20283%22%3E%3Crect%20y%3D%2275.5%22%20width%3D%22132%22%20height%3D%2256.6%22%20fill%3D%22%2300a9e0%22%2F%3E%3Crect%20x%3D%22151%22%20y%3D%22151%22%20width%3D%22132%22%20height%3D%22132%22%20fill%3D%22%2300a9e0%22%2F%3E%3Crect%20x%3D%22151%22%20width%3D%22132%22%20height%3D%2256.6%22%20fill%3D%22%23002776%22%2F%3E%3Crect%20y%3D%22151%22%20width%3D%22132%22%20height%3D%22132%22%20fill%3D%22%23002776%22%2F%3E%3Crect%20width%3D%22132%22%20height%3D%2256.6%22%20fill%3D%22%23fdc82f%22%2F%3E%3Crect%20x%3D%22151%22%20y%3D%2275.5%22%20width%3D%22132%22%20height%3D%2256.6%22%20fill%3D%22%23fdc82f%22%2F%3E%3C%2Fsvg%3E");
}
.cpp-type-partner {
    background-color: transparent;
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2014%2014%22%3E%3Crect%20x%3D%227.78%22%20y%3D%227%22%20width%3D%226.22%22%20height%3D%226.22%22%20fill%3D%22%2300a9e0%22%2F%3E%3Crect%20y%3D%227%22%20width%3D%226.22%22%20height%3D%226.22%22%20fill%3D%22%23002776%22%2F%3E%3Crect%20x%3D%227.78%22%20y%3D%220%22%20width%3D%226.22%22%20height%3D%226.22%22%20fill%3D%22%23fdc82f%22%2F%3E%3C%2Fsvg%3E");
}
.cpp-type-posta {
    background-color: transparent;
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2015.875%2015.875%22%3E%3Cg%20fill%3D%22%23fdc82f%22%20fill-rule%3D%22evenodd%22%3E%3Cpath%20d%3D%22M.304%203.97c-.168%200-.304.136-.304.303.153%204.35%203.598%207.866%207.93%208.153.19.013.381.004.574.004.616%200%201.256-.108%201.834-.235%201.871-.41%203.257-2.063%203.257-4.063%200-.138-.007-.274-.02-.408-.024-.25-.071-.493-.138-.727-.496-1.747-2.108-3.028-4.022-3.028-1.913%200-3.526%201.281-4.022%203.028.343%201.205%201.217%202.188%202.354%202.681-.38-.406-.612-.949-.612-1.547%200-1.254%201.021-2.27%202.28-2.27%201.259%200%202.28%201.016%202.28%202.27%200%20.598-.233%201.141-.612%201.547-.416.444-1.01.723-1.668.723-1.851%200-3.445-1.1-4.159-2.678-.105-.233-.191-.476-.256-.728A4.4%204.4%200%200%201%20.43%205.413c.008-.022.017-.044.025-.066.003-.015.005-.03.005-.046%200-.125-.102-.227-.228-.227H.304z%22%2F%3E%3Cpath%20d%3D%22M15.654%204.19a5.93%205.93%200%200%201%20.218%201.663c0%201.945-.867%203.688-2.237%204.868-.343.258-.634.514-1.206.816%201.037-.974%201.544-2.117%201.544-3.414%200-.392-.05-.773-.144-1.136.094-.362.144-.743.144-1.135a4.4%204.4%200%200%200-.287-1.59c-.008-.034-.013-.048-.013-.074%200-.126.102-.228.228-.228h1.459c.14%200%20.259.101.294.23z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
}

/* Status indicators */
.cpp-point-status {
    font-size: 12px;
    font-weight: 500;
    margin-top: 4px;
    padding: 2px 0;
}
.cpp-status-ok {
    color: #2e7d32;
    font-weight: 700;
}
.cpp-status-busy {
    color: #e65100;
}
.cpp-status-new {
    color: #1565c0;
}

/* Today's opening hours */
.cpp-point-hours-today {
    font-size: 12px;
    color: #333;
    margin-top: 2px;
    font-weight: 700;
}

/* Opening hours table in detail */
.cpp-point-hours-table {
    display: grid;
    gap: 2px;
    margin-top: 4px;
}
.cpp-hours-row {
    display: flex;
    gap: 8px;
    font-size: 12px;
    color: #666;
    padding: 2px 0;
}
.cpp-hours-row.cpp-hours-today {
    color: #111;
    font-weight: 600;
    background: #f0f7ff;
    padding: 2px 6px;
    margin: 0 -6px;
    border-radius: 4px;
}
.cpp-hours-day {
    width: 24px;
    flex-shrink: 0;
    font-weight: 600;
}
.cpp-hours-time {
    color: inherit;
}

/* Info list (Informace o Balíkovně) */
.cpp-info-list {
    margin: 4px 0 0 0;
    padding: 0 0 0 18px;
    font-size: 12px;
    color: #555;
    line-height: 1.6;
}
.cpp-info-list li {
    margin-bottom: 2px;
}
.cpp-info-list strong {
    color: #111;
}

/* Card payment indicator */
.cpp-point-card-payment {
    font-size: 12px;
    color: #555;
    margin-top: 6px;
    padding: 4px 8px;
    background: #f5f5f5;
    border-radius: 6px;
    display: inline-block;
}

/* ═══════════════════════════════════════
   MULTI-PROVIDER: Filter Active State Badge
   ═══════════════════════════════════════ */

/* Show count of active filters on the toggle button */
.cpp-filter-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #0073aa;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    margin-left: 4px;
}

/* ═══════════════════════════════════════
   MULTI-PROVIDER: Mobile Filter Adjustments
   ═══════════════════════════════════════ */
/* Mobile filter toggle — hidden on desktop */
.cpp-filter-toggle-mobile-wrap {
    display: none;
}

@media (max-width: 768px) {
    .cpp-filter-toggle {
        padding: 8px 12px;
        font-size: 12px;
    }

    /* Show mobile filter toggle inside the sheet */
    .cpp-filter-toggle-mobile-wrap {
        display: block;
        padding: 5px 0 0 5px;
    }

    .cpp-filter-panel {
        padding: 15px 12px 10px 17px;
    }

    /* Badge stays visible */
    .cpp-point-badge {
        top: 6px;
        right: 8px;
    }

    .cpp-point-type-icon {
        width: 18px;
        height: 18px;
    }
}

/* ═══════════════════════════════════════
   Loading spinner (lazy-load)
   ═══════════════════════════════════════ */
.cpp-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 40px 16px;
}
.cpp-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #e0e0e0;
    border-top-color: #0073aa;
    border-radius: 50%;
    animation: cpp-spin 0.8s linear infinite;
}
@keyframes cpp-spin {
    to { transform: rotate(360deg); }
}
