.storeloc {
    background: white;
    font-family: "Dinamit", serif;
    color: #014076;
}

/* Exception margin lateral mobile storeloc in form context */
@media (max-width: 767px) {
  form fieldset .storeloc,
  form .card-frame .storeloc{
          margin: 0 -20px;
  }
}

@media (min-width: 768px) {
    .storeloc {
        margin: 0 -7.5px;
    }
}
.storelocSearch {
    box-shadow: none;
    margin: 0 0 16px 0;
    padding: 0;
}
.storelocSearch__top {
    flex-direction: column;
    background: transparent;
    border-radius: 28px;
    padding: 0;
    box-shadow: none;
}
@media (min-width: 992px) {
    .storelocSearch {
        margin: 0 0 28px 0;
    }
    .storelocSearch__top {
        flex-direction: row;
        border-radius: 10px;
   }
}
.storelocGeolocateMobile {
    display: none !important;
}

.storelocGeolocateDesktop {
    font-family: "Dinamit", serif;
    font-size: 1.4rem;
    line-height: 1.75;
    border-radius: 8px;
    border: 1px solid #014076;
    padding: 12px 21px 11px;
    font-weight: 700;
    min-height: 50px;
    white-space: normal;
    display: inline-flex;
    transition: 0.25s all;
    cursor: pointer;
    background: transparent;
    color: #014076;
    width: 100%;
    text-transform: none;
    order: 0;
    justify-content: center;
}

@media (min-width: 992px) {
    .storelocGeolocateDesktop {
        flex-shrink: 0;
        width: max-content;
        padding-right: 45px;
        position: relative;
    }

    .storelocGeolocateDesktop:after {
        right: 15px;
        position: absolute;
    }
}

.storelocGeolocateDesktop img {
    display: none;
}

.storelocGeolocateDesktop:after {
    font-family: 'icomoon' !important;
    speak: never;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    content: "\e937";
    font-size: 1.6em;
    margin-left: 6px;
    color: inherit;
}

.storelocGeolocateDesktop:hover,
.storelocGeolocateDesktop:focus {
    background-color: #014076;
    border-color: #014076;
    color: white;
}
.storelocSearch__or {
    display: block !important;
    order: 1;
    font-family: "Dinamit", serif;
    font-size: 12px;
    color: #222222;
    font-weight: 700;
    padding: 4px 0;
}
@media (min-width: 992px) {
    .storelocSearch__or {
        width: unset;
        flex: 0;
        padding: 0 16px;
   }
}
.storelocSearchField {
    order: 2;
    width: 100%;
    max-width: unset;
    flex-direction: column;
    gap: 15px;
}
@media (min-width: 992px) {
    .storelocSearchField {
        flex-direction: row;
        width: 70%;
        flex-shrink: 0;
   }
}
.storelocSearchField__input {
    font-family: 'Poppins', serif;
    border-radius: 8px;
    height: unset;
    padding: 16px;
    font-size: 14px;
    box-shadow: none;
    color: #373632;
    border: 1px solid #dadada;
}

@media (min-width: 992px) {
    .storelocSearchField__input {
        border-radius: 10px;
        height: unset;
        padding: 14px;
        font-size: 14px;
        box-shadow: none;
    }
}

.storelocSearchField__input::placeholder {
    color: #737373;
    font-weight: 500;
    opacity: 1;
}

.storelocSearchField__suggestions {
    z-index: 10;
}
.storelocSearchField__btn {
    font-family: "Dinamit", serif;
    font-size: 1.4rem;
    line-height: 1.75;
    border-radius: 8px;
    border: 1px solid #014076;
    padding: 12px 21px 11px;
    font-weight: 700;
    min-height: 50px;
    white-space: normal;
    display: inline-block;
    transition: 0.25s all;
    cursor: pointer;
    background-color: #014076;
    color: white;
    width: 100%;
    text-transform: none;
}

@media (min-width: 992px) {
    .storelocSearchField__btn {
        flex-shrink: 0;
        width: max-content;
    }
}

.storelocSearchField__btn:after {
    font-family: 'icomoon' !important;
    speak: never;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    content: '\e90b';
    font-size: 0.9rem;
    margin-left: 6px;
    color: inherit;
}

.storelocSearchField__btn:hover,
.storelocSearchField__btn:focus {
    background-color: white;
    border-color: #014076;
    color: #014076;
}

.storelocSearchField__btn-mobile {
    display: none !important;
}
.storelocMaptoggle {
    appearance: none;
    padding: 0;
    background-color: transparent;
    color: #014076;
    font-size: 12px;
    font-family: "Dinamit", serif;
    font-weight: 600;
    font-style: underline;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 5px;
    margin-bottom: 5px;
}
@media (hover: hover) {
    .storelocMaptoggle:hover, .storelocMaptoggle:focus {
        color: #ce2350;
   }
}
.storeloc__panelContainer {
    width: auto;
}
@media (min-width: 992px) {
    .storeloc__panelContainer {
        padding: 0;
   }
    .storeloc__panelContainer:has(.storelocPanel.open) {
        width: 70%;
        min-width: 370px;
   }
}
@media (max-width: 991px) {
    .storeloc__mapContainer {
        padding: unset !important;
   }
}
.storelocMap {
    margin-bottom: 20px;
}
@media (min-width: 992px) {
    .storelocMap {
        border-radius: 16px;
        overflow: hidden;
        margin-bottom: 0;
   }
}
@media (min-width: 992px) {
    .storelocPanel.open {
        width: 100%;
        padding-right: 20px;
   }
}
.storelocPanel__results {
    color: #000000;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
}
@media (min-width: 992px) {
    .storelocPanel__results {
        font-size: 16px;
   }
}
.storelocCard {
    border: 1px solid #f9f9f9;
    border-radius: 16px;
    margin-bottom: 15px;
    position: relative;
    cursor: pointer;
    background: #f9f9f9;
    box-shadow: none;
    padding: 18px;
}
.storelocCard:not(:last-child) {border-color: #f9f9f9;}
.storelocCard:hover {
    position: relative;
    cursor: pointer;
    background: #f9f9f9;
    border: 0;
    box-shadow: none;
    border: 1px solid #014076;
}
.storelocCard::before {
    display: none;
    content: '';
    position: absolute;
    top: 27px;
    left: 18px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1px solid #dAdAdA;
    background: transparent;
    z-index: 1;
    box-sizing: border-box;
    pointer-events: none;
}
form .storelocCard::before {
    display: block;
}
.storelocCard.storelocCard--highlighted:has(.storelocBtn.active)::after {
    content: '';
    position: absolute;
    top: 32px;
    left: 23px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ce2350;
    z-index: 1;
    pointer-events: none;
}
.storelocCard.storelocCard--highlighted:has(.storelocBtn.active) {
    border-color: #014076;
}
.storelocCard.storelocCard--highlighted:hover {
    border-color: #014076;
}
.storelocCard--duplicate {
    margin: 0;
}
.storelocCard:first-child:not(.storelocCard--duplicate) {
    margin-top: 8px;
}
.storelocCard:has(button:focus-visible) {
    outline: 5px auto Highlight;
    outline: 5px auto -webkit-focus-ring-color;
}
@media (min-width: 992px) {
    .storelocCard:first-child:not(.storelocCard--duplicate) {
        margin-top: 0;
   }
}
.storelocCard .container {
    padding: 0;
}
.storelocCard__header {
    padding-left: 0;
    min-height: 34px;
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}
form .storelocCard__header {
    padding-left: 40px;
}
.storelocCard__name {
    font-size: 14px;
    line-height: 1.55;
    color: #014076;
    font-weight: 700;
    position: relative;
    top: 2px;
}
@media (min-width: 992px) {
    .storelocCard__name {
        /* font-size: 14px; */
   }
}
.storelocCard__distance {
    font-size: 11px;
    color: #014076;
    padding-top: 5px;
    align-self: start;
}
.storelocCard__status {
    align-items: flex-start;
}
.storelocCard__statusBadge {
    position: relative;
    top: 3px;
}
.storelocCard__statusBadge--open {
    background-color: #409498;
}
.storelocCard__statusBadge--closed {
    background-color: #D16B69;
}
.storelocCard__statusText {
    line-height: 1.2;
    font-size: 14px;
    font-family: poppins, serif;
    font-weight: 500;
}
.storelocCard__infoContainer {
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 13px;
}
.block-form .storelocCard__info {
    margin-bottom: 0;
}
.storelocCard__info li {
    display: flex;
    align-items: flex-start;
}
.storelocCard__info li:first-child img {
    display: none;
}
.block-form .storelocCard__info li:has(.storelocCard__phone) {
    position: absolute;
    bottom: 25px;
}
.storelocCard__icon {
    height: 16px;
    top: 0;
}
.storelocCard__address {
    font-size: 14px;
    line-height: 1.8;
    font-family: poppins, serif;
    font-weight: 500;
    color: #014076;
    text-decoration: none;
    display: inline-block;
    position: relative;
    z-index: 10;
    margin: 0;
}
a.storelocCard__address:hover, a.storelocCard__address:focus {
    text-decoration: underline;
    color: #014076;
    text-decoration-thickness: 1px;
    text-underline-offset: 5px;
}
p.storelocCard__address:hover, p.storelocCard__address:focus {
    color: #014076;
    text-decoration: none;
}
@media (min-width: 992px) {
    .storelocCard__address {
        font-size: 14px;
        line-height: 1.65;
   }
}
.storelocCard__phone {
    position: relative;
    z-index: 20;
    color: #014076;
    font-size: 14px;
    font-family: poppins, serif;
    font-weight: 500;
    line-height: 1.2;
    font-weight: 500;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 5px;
}
@media (min-width: 992px) {
    .storelocCard__phone {
        font-size: 14px;
   }
}
.storelocCard__phone:hover, .storelocCard__phone:focus {
    color: inherit;
    text-decoration: none;
}
.storelocCard__links {
    gap: 8px;
}
@media (min-width: 992px) {
    .storelocCard__links {
        gap: 16px;
   }
}
.storelocBtn {
    font-family: "Dinamit", serif;
    font-size: 1.4rem;
    line-height: 1.75;
    border-radius: 8px;
    border: 1px solid transparent;
    padding: 12px 21px 11px;
    font-weight: 700;
    min-height: 50px;
    white-space: normal;
    display: inline-flex;
    align-items: center;
    transition: 0.25s all;
    cursor: pointer;
    text-transform: none;
}

.storelocBtn:after {
    font-family: 'icomoon' !important;
    speak: never;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    content: '\e90b';
    font-size: 0.9rem;
    margin-left: 6px;
    color: inherit;
}

.block-form .storelocBtn::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

/* btn-primary — fond bleu, hover inversé */
.storelocBtn--outline {
    background-color: #014076;
    border-color: #014076;
    color: white;
}

.storelocBtn--outline:hover,
.storelocBtn--outline:focus,
.storelocBtn--outline.active {
    background-color: white;
    border-color: #014076;
    color: #014076;
}

/* btn-primary-red — fond rouge, hover inversé */
.storelocBtn--outline-alt,
.storelocBtn--primary {
    background-color: #ce2350;;
    border-color: #ce2350;;
    color: white;
}

.storelocBtn--outline-alt img,
.storelocBtn--primary img {
    display: none;
}

.storelocBtn--outline-alt:hover,
.storelocBtn--outline-alt:focus,
.storelocBtn--outline-alt.active,
.storelocBtn--primary:hover,
.storelocBtn--primary:focus,
.storelocBtn--primary.active {
    background-color: white;
    border-color: #ce2350;;
    color: #ce2350;;
}
.storelocMarker--cluster {
    background: #409498;
    width: 36px;
    height: 36px;
    font-family: "Dinamit", serif;
    font-size: 16px;
    font-weight: 600;
    color: white;
}
.storelocMarker--cluster:hover, .storelocMarker--cluster.active {
    background: #ce2350;;
}

.storeloc__panelContainer--listOnly {
    width: 100% !important;
}
.storelocPanel--listOnly {
    padding-right: 0 !important;
}
.storelocShowMore {
    padding: 10px 20px 20px 20px;
}

.storelocShowMore * {
    position: relative;
}
.storelocShowMore .storelocBtn {
    font-size: 14px;
    padding-inline: 20px;
    border-radius: 30px;
    border-color: #014076;
    background-color: white;
    color: #014076;
    border-radius: 10px;
}
.storelocShowMore .storelocBtn:hover {
    border-color: #014076;
    background-color: #014076;
    color: #fff;
}
.storelocShowMore .storelocBtn:after {
    display: none;
}

@media (min-width: 768px) {
    .storelocPanel.storelocPanel--listOnly {
        display: flex;
        flex-wrap: wrap;
        gap: 16px;
    }
    .storelocCard.storelocCard--listOnly {
        flex: 0 1 calc((100% - 16px) / 2);
        margin: 0;
    }
    .storelocPanel.storelocPanel--listOnly .storelocShowMore {
        width: 100%;
    }
}

@media (min-width: 992px) {
    .storelocCard.storelocCard--listOnly {
        flex: 0 1 calc((100% - 32px) / 3);
    }
}
.storelocCard.storelocCard--highlighted:has(.storelocBtn.active) {
    flex: 0 1 100%;
}
.storelocCard.storelocCard--highlighted:has(.storelocBtn.active) .storelocCard__headerContainer {
    flex: 0 1 100%;
}
.storelocCard.storelocCard--highlighted:has(.storelocBtn.active) .storelocCard__container {
    gap: 0;
}
.storelocCard.storelocCard--highlighted:has(.storelocBtn.active)  .storelocCard__infoContainer {
    padding-bottom: 20px;
}
/* hiden button in card (new design Odyssee) */
.storelocCard .storelocCard__selectStore {
    opacity: 0;
    height: 0 !important;
}
.storelocCard .storelocCard__selectStore .storelocBtn {
    min-height: 0 !important;
    padding: 0;
    line-height: 0;
}

/* position top anchor in mobile */
@media (max-width: 992px) {
    body:has(#storeloc__top-anchor) * {
        scroll-margin-top: -40px;
    }
}
