/* styles.css */

/* === Contax Sans - Font-Face Definitions (OTF) === */

/* Ultra Thin */
@font-face {
    font-family: 'Contax Sans';
    font-weight: 100;
    font-style: normal;
    src: url('/fonts/Contax\ Sans\ 25\ UltraThin.otf') format('opentype');
}

/* Ultra Thin Italic */
@font-face {
    font-family: 'Contax Sans';
    font-weight: 100;
    font-style: italic;
    src: url('/fonts/Contax\ Sans\ 26\ UltraThin\ Italic.otf') format('opentype');
}

/* Thin */
@font-face {
    font-family: 'Contax Sans';
    font-weight: 300;
    font-style: normal;
    src: url('/fonts/Contax\ Sans\ 35\ Thin.otf') format('opentype');
}

/* Thin Italic */
@font-face {
    font-family: 'Contax Sans';
    font-weight: 300;
    font-style: italic;
    src: url('/fonts/Contax\ Sans\ 36\ Thin\ Italic.otf') format('opentype');
}

/* Light */
@font-face {
    font-family: 'Contax Sans';
    font-weight: 400;
    font-style: normal;
    src: url('/fonts/Contax\ Sans\ 45\ Light.otf') format('opentype');
}

/* Light Italic */
@font-face {
    font-family: 'Contax Sans';
    font-weight: 400;
    font-style: italic;
    src: url('/fonts/Contax\ Sans\ 46\ Light\ Italic.otf') format('opentype');
}

/* Medium */
@font-face {
    font-family: 'Contax Sans';
    font-weight: 500;
    font-style: normal;
    src: url('/fonts/Contax\ Sans\ 65\ Medium.otf') format('opentype');
}

/* Medium Italic */
@font-face {
    font-family: 'Contax Sans';
    font-weight: 500;
    font-style: italic;
    src: url('/fonts/Contax\ Sans\ 66\ Medium\ Italic.otf') format('opentype');
}

/* Bold */
@font-face {
    font-family: 'Contax Sans';
    font-weight: 700;
    font-style: normal;
    src: url('/fonts/Contax\ Sans\ 75\ Bold.otf') format('opentype');
}

/* Bold Italic */
@font-face {
    font-family: 'Contax Sans';
    font-weight: 700;
    font-style: italic;
    src: url('/fonts/Contax\ Sans\ 76\ Bold\ Italic.otf') format('opentype');
}

/* Black */
@font-face {
    font-family: 'Contax Sans';
    font-weight: 900;
    font-style: normal;
    src: url('/fonts/Contax\ Sans\ 85\ Black.otf') format('opentype');
}

/* Black Italic */
@font-face {
    font-family: 'Contax Sans';
    font-weight: 900;
    font-style: italic;
    src: url('/fonts/Contax\ Sans\ 86\ Black\ Italic.otf') format('opentype');
}

/* UltraBlack */
@font-face {
    font-family: 'Contax Sans';
    font-weight: 950;
    font-style: normal;
    src: url('/fonts/Contax\ Sans\ 95\ UltraBlack.otf') format('opentype');
}

/* UltraBlack Italic */
@font-face {
    font-family: 'Contax Sans';
    font-weight: 950;
    font-style: italic;
    src: url('/fonts/Contax\ Sans\ 96\ UltraBlack\ Italic.otf') format('opentype');
}


body,
html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Contax Sans', sans-serif;
}

.form-check-label {
    font-family: 'Contax Sans', sans-serif !important;
}

#search-input::placeholder {
    font-family: 'Contax Sans', sans-serif;
    color: var(--Primary-Opacity-54, rgba(28, 41, 106, 0.54));
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    /* 142.857% */
    letter-spacing: 0.28px;
}

#search-input::-webkit-input-placeholder {
    font-family: 'Contax Sans', sans-serif;
    color: var(--Primary-Opacity-54, rgba(28, 41, 106, 0.54));
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    /* 142.857% */
    letter-spacing: 0.28px;
}

#search-input::-moz-placeholder {
    font-family: 'Contax Sans', sans-serif;
    color: var(--Primary-Opacity-54, rgba(28, 41, 106, 0.54));
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    /* 142.857% */
    letter-spacing: 0.28px;
}

#search-input:-ms-input-placeholder {
    font-family: 'Contax Sans', sans-serif;
    color: var(--Primary-Opacity-54, rgba(28, 41, 106, 0.54));
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    /* 142.857% */
    letter-spacing: 0.28px;
}

#search-input:-moz-placeholder {
    font-family: 'Contax Sans', sans-serif;
    color: var(--Primary-Opacity-54, rgba(28, 41, 106, 0.54));
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    /* 142.857% */
    letter-spacing: 0.28px;
}


#app {
    display: block;
    height: 100%;
}

.sidebar {
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
    overflow-y: auto;
    background: #fff;
    border-right: 1px solid #ddd;
}

.toggle-filters {
    width: 100%;
    padding: 10px;
    cursor: pointer;
    border-radius: 8px;
    border: 1px solid #D9D9D9;
    color: var(--Primary-Opacity-54, rgba(28, 41, 106, 0.54));

    /* Label S Regular */
    font-family: "Contax Sans";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    /* 142.857% */
    letter-spacing: 0.28px;
    display: flex;
    align-items: center;
}

#search-input {
    background-image: url('/images/Search.svg');
    background-repeat: no-repeat;
    background-position: 10px center;
    padding-left: 40px !important;
    /* espacio para el icono */
    background-size: 24px;
}


.filter-list {
    margin-top: 10px;
}

.hidden {
    display: none;
}

/* .search {
    margin-bottom: 20px;
} */

#search-input {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #D9D9D9;
    opacity: 1 !important;
}

#search-input::placeholder,
#search-input:-ms-input-placeholder,
#search-input::-ms-input-placeholder,
#search-input::-webkit-input-placeholder,
#search-input:-moz-placeholder,
#search-input::-moz-placeholder {

    color: var(--Primary-Opacity-54, rgba(28, 41, 106, 0.54)) !important;

    /* Label S Regular */
    font-family: 'Contax Sans', sans-serif !important;
    font-size: 14px !important;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    /* 142.857% */
    letter-spacing: 0.28px;
    opacity: 1 !important;
}

#use-location {
    margin-top: 8px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--Primary-DOMMA, #FF5E5D);
    padding: 0px;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: #FF5E5D;
    font-family: 'Contax Sans', sans-serif !important;
    font-size: 12px;
    font-style: normal;
    font-weight: 100;
    line-height: 18px;
    /* 150% */
    letter-spacing: 0.24px;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: auto;
    text-decoration-thickness: auto;
    text-underline-offset: auto;
    text-underline-position: from-font;
    opacity: .7;
}

#store-list {
    list-style: none;
    padding: 0;
}

.store-item {
    padding-bottom: 10px 0;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    display: block;
}

.store-item h3 {
    margin: 0 0 5px;
    font-size: 16px;
}

.store-item .address {
    color: #666;
    font-size: 14px;
}

.store-item .status,
.mi-info-window .open {
    color: #2ecc71;
    font-size: 14px;
}

#map {
    flex: 1;
}

.btn_domma {
    border-radius: 8px !important;
    background: #FF5E5D !important;
    color: #FFF !important;
    text-align: center;

    /* Label M */
    font-family: "Contax Sans" !important;
    font-size: 16px !important;
    font-style: normal !important;
    font-weight: 500 !important;
    line-height: 24px !important;
    /* 150% */
    letter-spacing: 0.32px !important;
    padding: .5rem 1rem !important;
    border: solid 1px #FF5E5D !important;
}

.title_popap {
    color: var(--Primary-DOMMA, #1C296A);

    /* Label L */
    font-family: "Contax Sans";
    font-size: 20px !important;
    font-style: normal;
    font-weight: 500;
    line-height: 1;
    /* 160% */
}

.text_popap {
    color: var(--Primary-Opacity-54, rgba(28, 41, 106, 0.54));

    /* Label M */
    font-family: "Contax Sans";
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px;
    /* 150% */
    letter-spacing: 0.32px;
}

.gm-style-iw.gm-style-iw-c {
    border-radius: 8px;
    border: 1px solid #D9D9D9;
    background: #FFF;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
}

.dropdown-toggle::after {
    content: none !important;
}

.mi-info-window {
    max-width: 308px;
}

.mi-info-window .btn_domma {
    color: #FFF;
    text-align: center;

    font-size: 16px !important;
    font-style: normal !important;
    font-weight: 500 !important;
    line-height: 24px !important;
    /* 150% */
    letter-spacing: 0.32px !important;
}

/* .form-check-input:checked {
    background-color: #1C296A !important;
    border-color: #1C296A !important;
} */

#filters .form-check {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

#filters .form-check-input {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    border: 1px solid #1C296A;
    border-radius: 4px;
    background-color: #FFF;
    appearance: none;
    -webkit-appearance: none;
    box-shadow: none;
}

#filters .form-check-input:checked {
    border-color: #FF5E5D;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 12'%3E%3Cpath d='M1 5L5 9L15 1' stroke='%23FF5E5D' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 20px 14px;
    box-shadow: none;
}

#map,
#store-list {
    display: none;
}

.btn_map_list {
    color: var(--Primary-DOMMA, #1C296A);
    text-align: center;
    font-family: "Contax Sans";
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: 32px;
}

.btn_map_list.active {
    color: #FF5E5D;
}

.gm-style-iw-d{
    margin-top: -30px !important;
}

@media (max-width: 768px) {
    #map {
        height: 100vh;
    }
}

@media (min-width: 768px) {
    .sidebar {
        width: 320px;
    }

    #app {
        display: flex;
        height: 100%;
    }

    #map,
    #store-list {
        display: block !important;
    }

    .store-item {
        padding: 10px 0;
        border-bottom: 1px solid #eee;
        cursor: pointer;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 1rem;
    }
}