/* ============================================
   STORES LOCATOR - Red de Atención
============================================ */

.stores-locator {
  background: #ffffff;
  margin-block-start: 0 !important;
}

/* ============================================
   HERO SECTION
============================================ */

.stores-locator__background {
  background-size: cover;
  background-position: bottom right;
  position: relative;
  overflow: hidden;
}
.stores-locator__img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.stores-locator__hero {
  padding-top: 80px;
  position: relative;
  z-index: 2;
  padding-inline: 24px;
}

.stores-locator__hero-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.stores-locator__hero-title {
  font-family: var(--font-geely);
  font-weight: 700;
  color: var(--c-black);
}

.stores-locator__hero-description {
  font-family: var(--font-inter);
  font-weight: 500;
  color: var(--c-black);
  margin-top: 16px;
}

/* ============================================
   MAIN CONTAINER
============================================ */

.stores-locator__main {
  padding: 0 24px 80px;
}

.stores-locator__container {
  max-width: 1280px;
  margin: 0 auto;
}

/* ============================================
   FILTERS
============================================ */
.stores-locator__filters {
  margin-top: 40px;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  align-items: flex-start;
}

.stores-locator__filter-group {
  flex: 1;
  min-width: 200px;
  position: relative;
  z-index: 2;
}

.stores-locator__filter-group--geo {
  flex: 0 0 auto;
  min-width: auto;
  margin-top: 16px;
  padding: 3.43px 11.43px;
}

.stores-locator__select-wrapper {
  position: relative;
  width: 100%;
}

.stores-locator__select-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 1;
  opacity: 0.5;
}

.stores-locator__select {
  width: 100%;
  height: 56px;
  padding: 16px 16px 16px 48px;
  font-family: var(--font-inter);
  font-weight: 500;
  color: #212529;
  font-size: var(--fs-p-4);
  line-height: var(--lh-p-4);
  background: var(--c-white);
  border: 1px solid #dee2e6;
  border-radius: 8px;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.41 0L6 4.58L10.59 0L12 1.41L6 7.41L0 1.41L1.41 0Z' fill='%236C757D'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  transition: border-color 0.3s ease;
  box-shadow: 0 4px 4px 0 rgba(189, 189, 189, 0.3);
}

.stores-locator__select:has(> option:checked[value=""]) {
  color: rgba(33, 37, 41, 0.5);
}

.stores-locator__select option {
  color: #212529;
}

.stores-locator__select:hover {
  border-color: var(--c-greely-blue);
}

.stores-locator__select:focus {
  outline: none;
  border-color: var(--c-greely-blue);
  /* box-shadow: 0 0 0 3px rgba(2, 123, 255, 0.1); */
}

/* Geolocation Checkbox */
.stores-locator__geo-label {
  display: inline-flex;
  align-items: center;
  gap: 11.86px;
  cursor: pointer;
  user-select: none;
}

.stores-locator__geo-checkbox {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--c-greely-blue);
  margin: 0;
}

.stores-locator__geo-text {
  font-family: var(--font-inter);
  font-size: var(--fs-p-4);
  color: #212529;
  white-space: nowrap;
}

/* ============================================
   GRID LAYOUT (Stores List + Map)
============================================ */

.stores-locator__grid {
  display: grid;
  /* grid-template-columns: 1fr 1fr; */
  /* grid-template-columns: 473px 767px; */
  grid-template-columns: 473px minmax(0, 767px);
  gap: 40px;
  margin-top: 40px;
}

/* ============================================
   STORES LIST (Left Column)
============================================ */

.stores-locator__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-height: 596px;
  overflow-y: auto;
  padding-right: 21px;
  position: relative;
  z-index: 2;
}

.stores-locator__list::-webkit-scrollbar {
  width: 12px;
  height: 120px;
}

.stores-locator__list::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 40px;
}

.stores-locator__list::-webkit-scrollbar-thumb {
  background: #afb6b9;
  border-radius: 40px;
}

.stores-locator__list::-webkit-scrollbar-thumb:hover {
  background: #afb6b9;
}

.stores-locator__empty {
  font-family: var(--font-inter);
  font-size: var(--fs-p-3);
  color: #6c757d;
  text-align: center;
  padding: 40px 20px;
}

/* ============================================
   STORE CARD
============================================ */

.stores-locator__card {
  background: #ffffff;
  border: 1px solid #fff;
  /* border-radius: 12px; */
  padding: 24px;
  transition: all 0.3s ease;
  position: relative;
  box-shadow: 0 4px 4px 0 rgba(189, 189, 189, 0.5);
}

.stores-locator__card:hover {
  border-color: var(--c-greely-blue);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.stores-locator__card.is-active {
  border-color: var(--c-greely-blue);
  /* box-shadow: 0 4px 16px rgba(2, 123, 255, 0.15); */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.stores-locator__card.is-hidden {
  display: none;
}

.stores-locator__card-badge {
  display: inline-block;
  padding: 2px 16px;
  color: var(--c-black);
  font-family: var(--font-geely);
  font-size: var(--fs-title-sm-7);
  line-height: var(--lh-title-sm-7);
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 24px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.stores-locator__card-title {
  font-family: var(--font-geely);
  font-size: var(--fs-p-1);
  line-height: var(--lh-p-1);
  font-weight: 700;
  color: var(--c-black);
  text-transform: uppercase;
  padding-block: 13.5px;
  margin-top: 8px;
}

.stores-locator__card-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}

.stores-locator__card-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-inter);
  font-size: var(--fs-p-4);
  line-height: var(--lh-p-4);
  color: var(--c-black);
  font-weight: 500;
}

.stores-locator__card-item svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.stores-locator__card-item a {
  text-decoration: none;
  transition: color 0.3s ease;
  color: var(--c-black);
  text-underline-offset: 3px;
}

.stores-locator__card-item a:hover {
  text-decoration: underline;
}

.stores-locator__card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-inter);
  font-size: var(--fs-p-4);
  line-height: var(--lh-p-4);
  font-weight: 500;
  color: var(--c-greely-blue);
  text-decoration: underline;
  transition: gap 0.3s ease;
  margin-top: 16px;
  text-underline-offset: 3px;
}

.stores-locator__card-link:hover {
  gap: 12px;
}

.stores-locator__card-link svg {
  transition: transform 0.3s ease;
}

.stores-locator__card-link:hover svg {
  transform: translateX(4px);
}

.stores-locator__card-item--phone a {
  position: relative;
  z-index: 99;
}
.stores-locator__card-item--whatsapp a {
  position: relative;
  z-index: 99;
}

/* ============================================
   MAP CONTAINER (Right Column)
============================================ */

.stores-locator__map-container {
  position: sticky;
  top: 24px;
  height: 800px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  max-height: 596px;
}

.stores-locator__map {
  width: 100%;
  height: 100%;
}

/* Google Maps Info Window Custom Styles */
.gm-style .gm-style-iw-c {
  border-radius: 8px !important;
  padding: 9px !important;
  max-width: 124px !important;
}
.gm-ui-hover-effect {
  width: 38px !important;
  height: 32px !important;
}
.gm-ui-hover-effect > span {
  margin-top: 0 !important;
}

.gm-style .gm-style-iw-d {
  overflow: hidden !important;
}

.stores-locator__map-info {
  font-family: var(--font-inter);
}

.stores-locator__map-info h4 {
  font-family: var(--font-inter);
  font-size: var(--fs-title-sm-7);
  font-weight: 700;
  color: #595757;
  margin: 0 0 7px;
  text-transform: uppercase;
}

.stores-locator__map-info p {
  font-size: var(--fs-p-5);
  color: #495057;
  margin: 4px 0;
  line-height: 1.4;
}

/* ============================================
   PRODUCTS CAROUSEL SECTION
============================================ */

.stores-locator__products {
  padding-block: 80px;
  padding-inline: 24px;
}

.stores-locator__products-container {
  max-width: 1280px;
  margin: 0 auto;
}

.stores-locator__products-title {
  font-family: var(--font-geely);
  font-size: var(--fs-title-2);
  line-height: var(--lh-title-2);
  font-weight: 700;
  color: var(--c-black);
  text-align: center;
  text-transform: uppercase;
  min-height: 63px;
}

.stores-locator__products-subtitle {
  font-family: var(--font-inter);
  font-size: var(--fs-p-2);
  line-height: var(--lh-p-2);
  color: var(--c-black);
  text-align: left;
  margin-top: 16px;
  margin-inline: auto;
  font-weight: 500;
}

.stores-locator__products-carousel {
  position: relative;
  padding-block: 40px;
}
.stores-locator__products-carousel
  .stores-locator__products-slide:nth-last-of-type(1) {
  margin-right: 0 !important;
}
.stores-locator__products-slide {
  max-width: 405px;
}
.stores-locator__product-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.stores-locator__product-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  transform: translateY(-4px);
}

.stores-locator__product-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-bottom: 20px;
  overflow: hidden;
  border-radius: 8px;
}

.stores-locator__product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stores-locator__product-title {
  font-family: var(--font-geely);
  font-size: var(--fs-p-1);
  line-height: var(--lh-p-1);
  font-weight: 700;
  text-transform: uppercase;
  color: #212529;
  margin: 0 0 12px;
}

.stores-locator__product-price {
  font-family: var(--font-inter);
  font-size: var(--fs-p-5);
  color: #6c757d;
  margin: 0 0 24px;
}

.stores-locator__product-price strong {
  display: block;
  font-size: var(--fs-p-2);
  color: #027bff;
  font-weight: 700;
  margin-top: 4px;
}

.stores-locator__product-actions {
  display: flex;
  gap: 12px;
  margin-top: auto;
}

.stores-locator__product-btn {
  flex: 1;
  padding: 12px 20px;
  font-family: var(--font-inter);
  font-size: var(--fs-p-5);
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  text-align: center;
  transition: all 0.3s ease;
  display: inline-block;
}

.stores-locator__product-btn--outline {
  background: #ffffff;
  color: #027bff;
  border: 2px solid #027bff;
}

.stores-locator__product-btn--outline:hover {
  background: #027bff;
  color: #ffffff;
}

.stores-locator__product-btn--primary {
  background: #212529;
  color: #ffffff;
  border: 2px solid #212529;
}

.stores-locator__product-btn--primary:hover {
  background: #027bff;
  border-color: #027bff;
}

/* Carousel Navigation */
.stores-locator__carousel-nav {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 32px;
}

.stores-locator__carousel-prev,
.stores-locator__carousel-next {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #027bff;
  color: #027bff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.stores-locator__carousel-prev:hover,
.stores-locator__carousel-next:hover {
  background: #027bff;
  color: #ffffff;
}

.stores-locator__carousel-prev.swiper-button-disabled,
.stores-locator__carousel-next.swiper-button-disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.stores-locator__carousel-pagination {
  margin-top: 24px;
  text-align: center;
}

.stores-locator__carousel-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: #dee2e6;
  opacity: 1;
  transition: all 0.3s ease;
}

.stores-locator__carousel-pagination .swiper-pagination-bullet-active {
  background: #027bff;
  width: 32px;
  border-radius: 6px;
}

.c-swiper-controls.controls-stores-locator {
  padding-inline: 0px;
  margin-top: 0;
}

.mf-card.stores-locator .mf-card__label {
  font-weight: 500;
  color: var(--c-black);
}

.mf-card.stores-locator .mf-card__usd {
  font-family: var(--font-geely);
  font-size: var(--fs-title-6);
  line-height: var(--lh-title-6);
  font-weight: 700;
  color: var(--c-black);
}
.mf-card.stores-locator .mf-card__dot {
  font-family: var(--font-inter);
  font-weight: 500;
  color: var(--c-black);
  font-size: var(--fs-p-4);
  line-height: var(--lh-p-4);
}
.mf-card.stores-locator .mf-card__local {
  font-family: var(--font-geely);
  font-size: var(--fs-title-6);
  line-height: var(--lh-title-6);
  font-weight: 700;
  color: var(--c-black);
}
.mf-card.stores-locator .mf-card__actions .mf-btn {
  font-family: var(--font-geely);
  font-weight: 700;
}

/* FAQS */
.stores-locator-main .faq-block {
  margin-top: 0;
}
.stores-locator-main .faq-block__inner {
  max-width: 1280px;
}

.stores-locator-main .faq-item__answer {
  max-width: 100%;
}
.stores-locator-main .faq-item__answer p {
  padding-right: 32px;
}

.stores-locator-main .faq-block__list {
  border-top: none;
}

.stores-locator__card-link--all {
  position: absolute;
  width: 100%;
  height: 100%;
  inset: 0;
  z-index: 9;
}

/*  */
.stores-locator__products .mf-card__top {
  padding-block: 15px;
}
.stores-locator__products .mf-card__media {
  padding-block: 16px;
}

/* ============================================
   RESPONSIVE STYLES
============================================ */

@media (max-width: 1279px) {
  .stores-locator__products-carousel {
    max-width: 961px;
  }
  /* .stores-locator__products-carousel .stores-locator__products-slide {
    max-width: 100%;
    width: calc(50% - 16px) !important;
  } */
  .stores-locator__grid {
    gap: 24px;
  }
  .stores-locator__map-container {
    height: 600px;
  }

  .stores-locator__list {
    max-height: 600px;
  }
}

@media (max-width: 1023px) {
  .stores-locator__grid {
    grid-template-columns: 1fr;
  }

  .stores-locator__map-container {
    position: relative;
    top: 0;
    height: 500px;
  }

  .stores-locator__list {
    /* max-height: none; */
    order: 2;
  }

  .stores-locator__map-container {
    order: 1;
  }

  .stores-locator__filters {
    gap: 12px;
  }

  .stores-locator__filter-group {
    min-width: 150px;
  }
}

@media (max-width: 767px) {
  .stores-locator__img {
    height: 100%;
    object-fit: cover;
  }
  .stores-locator__hero {
    padding: 40px 16px 0;
  }

  .stores-locator__main {
    padding: 0 16px 40px;
  }

  .stores-locator__filters {
    flex-direction: column;
    gap: 16px;
    padding: 0;
    margin-top: 32px;
  }

  .stores-locator__select {
    padding-block: 9px;
    height: 40px;
    padding-left: 44px;
  }
  .stores-locator__select-icon {
    width: 20px;
    height: 20px;
  }

  .stores-locator__geo-checkbox {
    width: 16.71px;
    height: 16.71px;
  }

  .stores-locator__filter-group,
  .stores-locator__filter-group--geo {
    width: 100%;
    min-width: 100%;
  }

  .stores-locator__geo-text {
    white-space: normal;
    color: var(--c-black);
  }

  .stores-locator__grid {
    gap: 32px;
    margin-top: 32px;
  }

  .stores-locator__map-container {
    height: 416px;
  }

  .stores-locator__card-link {
    font-size: var(--fs-p-5);
    line-height: var(--lh-p-5);
  }

  .stores-locator__list {
    /* padding-right: 9px; */
    /* max-height: 378px; */
    padding-right: 12px;
    max-height: 365px;
  }
  .stores-locator__list::-webkit-scrollbar {
    width: 6px;
    height: 80px;
  }

  .stores-locator__card {
    /* padding: 24px; */
    padding: 20px;
  }

  .stores-locator__card-item {
    align-items: flex-start;
    font-weight: 400;
  }

  .stores-locator__card-title {
    padding-block: 5.5px;
  }

  .stores-locator__products {
    padding: 40px 16px;
  }

  .stores-locator__products-carousel {
    padding: 24px 0;
    max-width: 405px;
  }

  .stores-locator__product-actions {
    flex-direction: column;
  }

  .stores-locator__carousel-prev,
  .stores-locator__carousel-next {
    width: 40px;
    height: 40px;
  }

  .stores-locator__products-title {
    font-size: var(--fs-title-sm-2);
    line-height: var(--lh-title-sm-2);
    min-height: auto;
  }
  .stores-locator__products-subtitle {
    font-size: var(--fs-p-4);
    line-height: var(--lh-p-4);
    margin-top: 24px;
    text-align: left;
  }

  .stores-locator__products-carousel .stores-locator__products-slide {
    /* width: calc(50% - 0px) !important; */
    /* width: 100% !important; */
    margin-right: 0 !important;
  }

  .stores-locator-main .faq-block {
    padding: 40px 16px;
  }
  .stores-locator-main .faq-item__question {
    padding-inline: 0;
  }
  .stores-locator-main .faq-item__answer {
    padding-inline: 0;
  }
  .stores-locator-main .faq-item__question-text {
    line-height: var(--lh-title-sm-3);
    font-weight: 700;
    color: var(--c-black);
  }
  .stores-locator-main .faq-item__answer {
  }
  .stores-locator-main .faq-item__answer p {
    font-size: var(--fs-p-4);
    line-height: var(--lh-p-4);
    color: var(--c-black);
    font-weight: 400;
  }
  .stores-locator-main .faq-block__title {
    font-size: var(--fs-title-sm-2);
    line-height: var(--lh-title-sm-2);
    margin-bottom: 24px;
  }
  .mf-card.stores-locator {
    margin-bottom: 16px;
    margin-inline: auto;
    max-width: 343px;
  }

  .stores-locator__products .mf-card__top {
    padding-block: 12px;
  }
  .stores-locator__products .mf-card__media {
  }
}
/*  */
@media (min-width: 768px) and (max-width: 1279px) {
  .stores-locator__products-carousel .stores-locator__products-slide {
    max-width: 100%;
    width: calc(50% - 16px) !important;
  }
}
/* @media (min-width: 1280px) {
  .stores-locator__hero {
  }
} */
