/* =========================================================
   RETAILERS - PRODUCT PAGE
   ========================================================= */

.elkotex-product-retailers {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid #e5e5e5;
}

.elkotex-retailer-message {
    margin-bottom: 18px;
}

.elkotex-retailer-message strong {
    display: block;
    font-size: 18px;
    margin-bottom: 5px;
}

.elkotex-retailer-message p {
    margin: 0;
}

.elkotex-product-retailers .elkotex-retailer-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.elkotex-retailer-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 14px;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
}

.elkotex-product-retailers .elkotex-retailer-logo {
    width: 80px;
    flex: 0 0 80px;
}

.elkotex-product-retailers .elkotex-retailer-logo img {
    display: block;
    max-width: 100%;
    max-height: 45px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.elkotex-retailer-info {
    flex: 1;
}

.elkotex-retailer-name {
    font-weight: 600;
}

.elkotex-product-retailers .elkotex-retailer-address {
    margin-top: 3px;
    font-size: 13px;
    opacity: .75;
}

.elkotex-retailer-action {
    margin-left: auto;
}

.elkotex-retailer-button {
    white-space: nowrap;
}


/* =========================================================
   WHERE TO BUY / RETAILER LOCATOR
   ========================================================= */

.elkotex-retailer-locator {
    width: 100%;
    font-family: inherit;
}


/* =========================================================
   TOP TABS
   ========================================================= */

.elkotex-retailer-locator .elkotex-retailer-tabs {
    display: flex;
    width: max-content;
    margin: 0 auto 24px;
    padding: 3px;
    background: #eeeeee;
    border-radius: 999px;
}

.elkotex-retailer-locator .elkotex-retailer-tab {
    appearance: none;
    border: 0;
    outline: 0;
    box-shadow: none;
    padding: 8px 16px;
    background: transparent;
    color: #555;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
    cursor: pointer;
    transition:
        background .2s ease,
        color .2s ease;
}

.elkotex-retailer-locator .elkotex-retailer-tab:hover {
    color: #ff5a00;
}

.elkotex-retailer-locator .elkotex-retailer-tab.active {
    background: #ff5a00;
    color: #fff;
}


/* =========================================================
   MAIN CONTAINER
   mapa čez celo širino
   ========================================================= */

.elkotex-retailer-locator .elkotex-retailer-main {
    position: relative;
    display: block;
    width: 100%;
    height: 720px;
    overflow: hidden;
    background: #e7e7e7;
}


/* =========================================================
   MAP
   ========================================================= */

.elkotex-retailer-locator .elkotex-retailer-map {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
    z-index: 1;
}


/* =========================================================
   LEFT OVERLAY SIDEBAR
   ========================================================= */

.elkotex-retailer-locator .elkotex-retailer-sidebar {
    position: absolute;
    top: 18px;
    bottom: 18px;
    left: 18px;
    z-index: 10;

    display: flex;
    flex-direction: column;

    width: 400px;
    min-height: 0;
    padding: 18px;

    background: rgba(247,247,247,.97);
    border-radius: 14px;

    box-shadow:
        0 4px 18px rgba(0,0,0,.08);

    box-sizing: border-box;
}


/* =========================================================
   SEARCH
   ========================================================= */

.elkotex-retailer-locator .elkotex-retailer-search-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.elkotex-retailer-locator .elkotex-location-search {
    flex: 1;
    height: 44px;
    padding: 0 18px;

    border: 1px solid #dedede;
    border-radius: 999px;

    background: #fff;
    color: #222;

    font-size: 15px;
    font-weight: 400;

    outline: none;
    box-shadow: none;

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}

.elkotex-retailer-locator .elkotex-location-search::placeholder {
    color: #9297a0;
    font-size: 15px;
}

.elkotex-retailer-locator .elkotex-location-search:focus {
    border-color: #ff5a00;
    box-shadow: 0 0 0 2px rgba(255,90,0,.10);
}


/* =========================================================
   LOCATION BUTTON
   ========================================================= */

.elkotex-retailer-locator .elkotex-use-location {
    appearance: none;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 44px;
    height: 44px;
    flex: 0 0 44px;

    padding: 0;

    border: 0;
    border-radius: 50%;

    background: #ff5a00;
    color: #fff;

    font-size: 20px;
    line-height: 1;

    cursor: pointer;
}

.elkotex-retailer-locator .elkotex-use-location:hover {
    background: #e95000;
}


/* =========================================================
   FILTER
   ========================================================= */

.elkotex-retailer-locator .elkotex-retailer-filters {
    margin-bottom: 10px;
}

.elkotex-retailer-locator .elkotex-series-filter {
    width: 100%;
    height: 40px;
    padding: 0 13px;

    border: 1px solid #d7d7d7;
    border-radius: 6px;

    background: #fff;
    color: #222;

    font-size: 14px;
    font-weight: 400;

    outline: none;
}

.elkotex-retailer-locator .elkotex-series-filter:focus {
    border-color: #ff5a00;
}


/* =========================================================
   COUNT
   ========================================================= */

.elkotex-retailer-locator .elkotex-retailer-count {
    margin: 4px 0 12px;
    color: #222;
    font-size: 14px;
    font-weight: 600;
}


/* =========================================================
   SCROLLABLE LIST
   ========================================================= */

.elkotex-retailer-locator .elkotex-retailer-list {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 6px;
}

.elkotex-retailer-locator .elkotex-retailer-list::-webkit-scrollbar {
    width: 5px;
}

.elkotex-retailer-locator .elkotex-retailer-list::-webkit-scrollbar-track {
    background: transparent;
}

.elkotex-retailer-locator .elkotex-retailer-list::-webkit-scrollbar-thumb {
    background: #b8b8b8;
    border-radius: 999px;
}


/* =========================================================
   STORE CARD
   ========================================================= */

.elkotex-retailer-locator .elkotex-retailer-card {
    position: relative;

    margin-bottom: 12px;
    padding: 18px 17px 16px;

    background: #fff;

    border: 1px solid transparent;
    border-radius: 9px;

    cursor: pointer;

    transition:
        border-color .15s ease,
        box-shadow .15s ease;
}

.elkotex-retailer-locator .elkotex-retailer-card:hover,
.elkotex-retailer-locator .elkotex-retailer-card.active {
    border-color: #ff5a00;
    box-shadow: 0 3px 10px rgba(0,0,0,.04);
}


/* =========================================================
   LOGO
   ========================================================= */

.elkotex-retailer-locator .elkotex-retailer-logo {
    width: auto;
    flex: none;
    margin-bottom: 11px;
}

.elkotex-retailer-locator .elkotex-retailer-logo img {
    display: block;

    max-width: 110px;
    max-height: 38px;

    width: auto;
    height: auto;

    object-fit: contain;
}


/* =========================================================
   STORE HEADER
   ========================================================= */

.elkotex-retailer-locator .elkotex-retailer-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.elkotex-retailer-locator .elkotex-retailer-card-head strong {
    color: #1c1c1c;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.28;
}

.elkotex-retailer-locator .elkotex-retailer-card-head span {
    flex: 0 0 auto;
    color: #222;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}


/* =========================================================
   SERIES TAGS
   ========================================================= */

.elkotex-retailer-locator .elkotex-retailer-series {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 11px 0 13px;
}

.elkotex-retailer-locator .elkotex-retailer-series span {
    display: inline-flex;
    align-items: center;

    min-height: 24px;
    padding: 5px 8px;

    background: #f1f1f1;
    color: #333;

    border-radius: 4px;

    font-size: 12px;
    font-weight: 600;
    line-height: 1;
}


/* =========================================================
   ADDRESS
   ========================================================= */

.elkotex-retailer-locator .elkotex-retailer-address {
    margin-top: 10px;
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    opacity: 1;
}


/* =========================================================
   ACTION BUTTONS
   ========================================================= */

.elkotex-retailer-locator .elkotex-retailer-actions {
    display: flex;
    gap: 8px;
    margin-top: 16px;
}

.elkotex-retailer-locator .elkotex-retailer-actions .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex: 1;

    min-height: 42px;
    padding: 9px 13px;

    border: 1px solid #ff5a00;
    border-radius: 999px;

    background: #ff5a00;
    color: #fff;

    font-size: 13px;
    font-weight: 600;
    line-height: 1;

    text-decoration: none;
    text-transform: none;

    box-shadow: none;
}

.elkotex-retailer-locator .elkotex-retailer-actions .button:hover {
    background: #e95000;
    border-color: #e95000;
    color: #fff;
}

.elkotex-retailer-locator .elkotex-retailer-actions .button.button-alt {
    background: #fff;
    color: #222;
    border-color: #222;
}

.elkotex-retailer-locator .elkotex-retailer-actions .button.button-alt:hover {
    background: #222;
    color: #fff;
}


/* =========================================================
   GOOGLE MAP POPUP
   ========================================================= */

.elkotex-map-popup {
    display: flex;
    align-items: center;
    min-width: 360px;
    padding: 2px 0;
}

.elkotex-map-popup-name {
    flex: 1;
    padding-right: 16px;

    color: #181818;

    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
}

.elkotex-map-popup-distance {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    min-width: 56px;
    height: 60px;

    background: #fff5ef;

    border-radius: 7px;

    color: #ff5a00;

    font-size: 12px;
    font-weight: 600;
}

.elkotex-map-popup-distance-icon {
    margin-bottom: 3px;
    color: #ff5a00;
    font-size: 18px;
    line-height: 1;
}

.elkotex-retailer-locator .gm-style .gm-style-iw-c {
    padding: 12px 14px !important;
    border-radius: 9px !important;
    box-shadow: 0 3px 15px rgba(0,0,0,.18) !important;
}

.elkotex-retailer-locator .gm-style .gm-style-iw-d {
    overflow: hidden !important;
    padding: 0 !important;
}


/* =========================================================
   ONLINE STORES
   ========================================================= */

.elkotex-retailer-locator .elkotex-online-grid {
    display: none;
    grid-template-columns:
        repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.elkotex-retailer-locator .elkotex-online-card {
    padding: 25px;

    background: #fff;

    border: 1px solid #e5e5e5;
    border-radius: 10px;

    text-align: center;
}

.elkotex-retailer-locator .elkotex-online-logo {
    display: flex;
    align-items: center;
    justify-content: center;

    height: 70px;
    margin-bottom: 15px;
}

.elkotex-retailer-locator .elkotex-online-logo img {
    max-width: 140px;
    max-height: 60px;

    width: auto;
    height: auto;

    object-fit: contain;
}

.elkotex-retailer-locator .elkotex-online-card h3 {
    margin: 0 0 15px;
    font-size: 17px;
}

.elkotex-retailer-locator .elkotex-online-card .button {
    display: inline-flex;
    justify-content: center;

    padding: 9px 18px;

    border: 1px solid #ff5a00;
    border-radius: 999px;

    background: #ff5a00;
    color: #fff;

    font-size: 13px;
    font-weight: 600;
}


/* =========================================================
   ONLINE MODE
   ========================================================= */

.elkotex-retailer-locator.show-online .elkotex-retailer-main {
    display: none;
}

.elkotex-retailer-locator.show-online .elkotex-online-grid {
    display: grid;
}


/* =========================================================
   PRODUCT PAGE MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .elkotex-retailer-item {
        flex-wrap: wrap;
    }

    .elkotex-retailer-action {
        width: 100%;
        margin-left: 0;
    }

    .elkotex-retailer-button {
        width: 100%;
        text-align: center;
    }
}


/* =========================================================
   LOCATOR TABLET
   ========================================================= */

@media (max-width: 900px) {

    .elkotex-retailer-locator .elkotex-retailer-main {
        height: auto;
        min-height: 850px;
    }

    .elkotex-retailer-locator .elkotex-retailer-sidebar {
        top: 15px;
        right: 15px;
        left: 15px;
        width: auto;
        height: 420px;
    }

    .elkotex-retailer-locator .elkotex-retailer-map {
        height: 850px;
    }

    .elkotex-retailer-locator .elkotex-online-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}


/* =========================================================
   LOCATOR MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .elkotex-retailer-locator .elkotex-retailer-tabs {
        width: 100%;
    }

    .elkotex-retailer-locator .elkotex-retailer-tab {
        flex: 1;
        padding: 8px;
        font-size: 12px;
    }

    .elkotex-retailer-locator .elkotex-retailer-main {
        height: auto;
        min-height: 0;
        background: #f4f4f4;
    }

    .elkotex-retailer-locator .elkotex-retailer-sidebar {
        position: relative;

        top: auto;
        right: auto;
        bottom: auto;
        left: auto;

        width: 100%;
        height: 500px;

        border-radius: 0;
        box-shadow: none;
    }

    .elkotex-retailer-locator .elkotex-retailer-map {
        position: relative;

        inset: auto;

        height: 430px;
        min-height: 430px;
    }

    .elkotex-map-popup {
        min-width: 250px;
    }

    .elkotex-retailer-locator .elkotex-online-grid {
        grid-template-columns: 1fr;
    }

    .elkotex-retailer-locator .elkotex-retailer-actions {
        flex-direction: column;
    }
}

/* =========================================================
   RETAILER CARD - CONTACT DETAILS
   ========================================================= */

.elkotex-retailer-locator .elkotex-retailer-divider {
    width: 100%;
    height: 1px;
    margin: 13px 0 12px;
    background: #e7e7e7;
}


/* Contact container */

.elkotex-retailer-locator .elkotex-retailer-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
}


/* posamezna vrstica */

.elkotex-retailer-locator .elkotex-retailer-contact-row {
    display: flex;
    align-items: flex-start;
    gap: 7px;

    color: #666;

    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
}


/* ikona */

.elkotex-retailer-locator .elkotex-retailer-contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 16px;
    height: 18px;
    flex: 0 0 16px;

    margin-top: 1px;

    color: #777;
}

.elkotex-retailer-locator .elkotex-retailer-contact-icon svg {
    display: block;

    width: 15px;
    height: 15px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/*
 * SVG-ji, ki uporabljajo fill path
 */
.elkotex-retailer-locator
.elkotex-retailer-contact-icon svg path {
    fill: #777;
    stroke: none;
}


/* links */

.elkotex-retailer-locator
.elkotex-retailer-contact-row a {
    color: #666;
    text-decoration: none;
}

.elkotex-retailer-locator
.elkotex-retailer-contact-row a:hover {
    color: #ff5a00;
}


/* =========================================================
   DISTANCE
   ========================================================= */

.elkotex-retailer-locator .elkotex-retailer-distance {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.elkotex-retailer-locator .elkotex-retailer-distance svg {
    width: 15px;
    height: 15px;

    fill: #222;
}