/* ==========================================================================
   89. FIND US: ESTRUCTURA Y NAVEGACIÓN (#findUs)
   ========================================================================== */
#findUs {
    margin-inline: 0;
    background-color: var(--cream-extra-light);
}

/* Lista de Ciudades/Categorías (.list) */
#findUs .list {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding-inline-start: 0;
    list-style: none;
    row-gap: 16px;
}

#findUs .list__item {
    padding: 8px 32px;
    border: 1.5px solid var(--primary-dark-green);
    border-radius: 24px;
    color: var(--primary-dark-green);
    font-family: var(--font-main);
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
    line-height: 24px;
    transition: var(--transition-fast);
}

#findUs .list__item a {
    color: inherit;
    text-decoration: none;
}

@media only screen and (min-width: 980px) {
    #findUs .list {
        flex-direction: row;
        justify-content: space-evenly;
    }
}

/* ==========================================================================
   90. FIND US: ENCABEZADOS DE SECCIÓN (.sales)
   ========================================================================== */
#findUs .sales__title {
    margin-block: 16px;
    color: var(--primary-dark-green);
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0.5px;
    line-height: 24px;
    text-align: center;
    text-transform: uppercase;
}

#findUs .sales__description {
    margin-inline: 40px;
    color: var(--primary-dark-green);
    font-family: var(--font-main);
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.27px;
    line-height: 24px;
    text-align: center;
}

/* ==========================================================================
   91. FIND US: TARJETAS Y LOGICA DE VISUALIZACIÓN
   ========================================================================== */
#findUs .sales__cards {
    padding: 0;
}

#findUs .sales__card {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    margin-left: 0;
    padding-top: 40px;
}

#findUs .sales__card__img {
    width: 100%;
    border-radius: 8px;
}

.mdw__slider .slick-dots {
    bottom: -45px;
}

.slider-dots li button, .slick-dots li button:before {
    background-color: #212322;
    border-radius: 50%;
    margin: 0px 10px;
    font-size: 0;
    border: none;
    height: 20px;
    padding: 0px;
    opacity: 0.5;
    width: 20px;
    color: transparent !important;
}

.slider-dots li.slick-active button, .slick-dots li.slick-active button::before {
  opacity: 1;
  background-color: #79d97c;
  color: transparent !important;
}

/* Control Slider vs Tabs (1200px) */
@media (max-width: 1200px) {
    #findUs .sales__cards.mdw__tabs { display: none; }
    #findUs .sales__cards.mdw__slider { display: block; }
    #findUs .sales__card__img { width: 100% !important; }
    #findUs .sales__card__body { width: 100% !important; }
}

@media (min-width: 1200px) {
    #findUs .sales__cards.mdw__tabs { display: block; }
    #findUs .sales__cards.mdw__slider { display: none; }
}

/* ==========================================================================
   92. FIND US: CUERPO DE TARJETA Y ESTADOS (.sales__card__body)
   ========================================================================== */
#findUs .sales__card__tabs {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#findUs .sales__card__body.active {
    background-color: var(--cream-dark);
}

#findUs .sales__card__body.active .mdw__arrow_content {
    display: block;
}

.mdw__arrow_content {
    display: none;
}

#findUs .sales__card__body__title {
    margin-top: 0;
    margin-bottom: 1rem;
    color: var(--primary-dark-green);
    font-family: var(--font-main);
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 0.63px;
    line-height: 24px;
    text-align: left;
}

#findUs .sales__card__body__location,
#findUs .sales__card__body__schedule {
    display: flex;
    align-items: flex-start;
}

#findUs .sales__card__body__location p,
#findUs .sales__card__body__schedule p {
    margin: 0;
    padding-left: 8px;
    color: var(--primary-dark-green);
    font-family: var(--font-main);
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    text-align: left;
}

/* ==========================================================================
   93. FIND US: DETALLES DE TIENDA (Iconos y Enlaces)
   ========================================================================== */
#findUs .sales__card__body__location {
    padding-bottom: 16px;
}

#findUs .sales__card__body__location p {
    text-decoration: underline;
}

#findUs .sales__card__body__location img,
#findUs .sales__card__body__schedule img {
    width: 24px;
    height: 24px;
    margin: 0;
}

@media screen and (max-width: 767px) {
    #findUs .sales__card__body__schedule p {
        padding-left: 0;
    }
}

/* ==========================================================================
   94. FIND US: PUNTOS DE RECOJO (.collects)
   ========================================================================== */
#findUs .collects {
    display: flex;
    flex-wrap: wrap;
    margin: 2rem 0 8px 0;
    padding: 0;
    list-style: none;
}

#findUs .collect {
    margin-inline: 16px;
    margin-bottom: 16px;
    padding-block: 8px;
}

#findUs .collect__title {
    color: var(--primary-dark-green);
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    line-height: 24px;
    letter-spacing: 0.5px;
    text-align: center;
    text-transform: uppercase;
}

#findUs .collect__description {
    padding: 0 24px;
    color: var(--primary-dark-green);
    font-family: var(--font-main);
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: 0.27px;
    text-align: center;
}

/* ==========================================================================
   95. FIND US: TARJETA DE RECOJO E IFRAME (.collect__card)
   ========================================================================== */
#findUs .collect__card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 16px;
    padding: 0.5rem;
    background-color: var(--pure-white);
    border-radius: 16px;
    overflow: hidden;
}

#findUs .collect__card iframe {
    width: 100%;
    height: 300px;
    border-radius: 0.5rem;
}

#findUs .collect__card__location {
    padding-left: 30px;
    color: var(--primary-dark-green);
    font-family: var(--font-main);
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    text-align: left;
}

#findUs .collect__card__detail {
    display: flex;
    padding-left: 28px;
    gap: 8px;
}

#findUs .collect__card__detail__address {
    color: var(--primary-dark-green);
    font-family: var(--font-main);
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    text-align: left;
}

/* Horarios en tarjeta de recojo */
#helpCenter .collect__card__schedule {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 0 28px;
    box-sizing: border-box;
}

#findUs .collect__card__schedule {
  padding: 0 28px;
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  width: 100%;
}

#findUs .collect__card__schedule__container {
    display: flex;
    gap: 8px;
}

#findUs .collect__card__schedule__container img {
    width: 24px;
}

#findUs .collect__card__schedule__date {
    margin: 0;
    color: var(--primary-dark-green);
    font-family: var(--font-main);
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    text-align: left;
}

#findUs .collect__card__schedule__icon {
    width: 32px;
    height: 32px;
    padding: 5px;
    background-color: var(--primary-green);
    border-radius: 20px;
}

/* Descripción desplegable (Ubicación detallada) */
#findUs .collect__description__location {
    position: relative;
    height: 0;
    overflow: hidden;
    color: var(--secundary-green-dark);
    font-family: var(--font-main);
    font-weight: 400;
    line-height: 24px;
    text-align: justify;
    transition: 0.5s ease;
}

/* ==========================================================================
   96. FIND US: TIENDAS Y TABS (.store)
   ========================================================================== */
#findUs .store__title {
    color: var(--primary-dark-green);
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    line-height: 24px;
    letter-spacing: 0.5px;
    text-align: center;
    text-transform: uppercase;
}

#findUs .store__description {
    padding-inline: 30px;
    color: var(--primary-dark-green);
    font-family: var(--font-main);
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: 0.27px;
    text-align: center;
}

#findUs .store__tabs {
    display: flex;
    justify-content: center;
    gap: 24px;
    padding: 0;
    list-style: none;
}

/* ==========================================================================
   97. FIND US: PESTAÑAS DE TIENDA (.store__tabs)
   ========================================================================== */
#findUs .store__tabs__item {
    color: var(--primary-dark-green);
    font-family: var(--font-main);
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    text-align: left;
    opacity: 0.55;
    cursor: pointer;
}

#findUs .store__tabs__item--active {
    padding-bottom: 6px;
    border-bottom: 2px solid var(--primary-green);
    opacity: 1;
}

/* Listado de Tiendas */
#findUs .store__cards {
    display: flex;
    flex-direction: column;
    padding: 0;
    list-style: none;
}

#findUs .store__cards__item {
    display: flex;
    align-items: center;
    justify-content: center;
}

#findUs .store__cards__item__img {
    width: 120px;
}

#findUs .store__cards__item__body {
    width: 200px;
}

#findUs .store__cards__item__body__title {
    margin: 0;
    color: var(--primary-dark-green);
    font-family: var(--font-main);
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 0.42px;
    line-height: 24px;
}

#findUs .store__cards__item__body__location {
    margin: 8px 0 0;
    color: var(--primary-dark-green);
    font-family: var(--font-main);
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
}

#findUs .store__cards__item__body__location a {
    text-align: start;
    text-decoration: none;
    color: inherit;
}

#findUs .store__img {
    width: 100%;
    height: 395px;
    object-fit: cover;
}

/* ==========================================================================
   98. FIND US: BUSCADOR DE TIENDAS (.search__container)
   ========================================================================== */
#findUs .store .search__container {
    position: relative;
    width: 350px;
    margin-left: 16px;
}

#findUs .store .search__input {
    width: 100%;
    height: 30px;
    padding-block: 8px;
    padding-left: 54px; /* Espacio para el icono */
    border: 1px solid #ece7e7;
    border-radius: 28px;
    font-family: var(--font-main);
}

#findUs .store .search__icon {
    position: absolute;
    top: 12px;
    left: 16px;
}

/* ==========================================================================
   99. FIND US: SECCIÓN DE ENVÍOS (.sends)
   ========================================================================== */
#findUs .sends {
    margin-bottom: 88px;
}

#findUs .sends .scroll-container {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
}

#findUs .sends__title {
    color: var(--primary-dark-green);
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    line-height: 24px;
    letter-spacing: 0.5px;
    text-align: center;
    text-transform: uppercase;
}

#findUs .sends__description {
    padding-inline: 20px;
    color: var(--primary-dark-green);
    font-family: var(--font-main);
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: 0.27px;
    text-align: center;
}

/* Tabs de Envíos con Scroll Horizontal */
#findUs .sends__tabs {
    display: flex;
    width: 328px;
    gap: 24px;
    margin-top: 24px;
    margin-inline: 24px;
    padding-left: 0;
    list-style: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
}

#findUs .sends__tabs::-webkit-scrollbar {
    width: 0;
}

#findUs .sends__tabs__item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-dark-green);
    font-family: var(--font-main);
    font-size: 16px;
    font-weight: 600;
    scroll-snap-align: center;
}

#findUs .sends__tabs__item--active {
    border-bottom: 2px solid var(--primary-green);
}

#findUs .sends__tabs__item--inactive {
    color: var(--primary-dark-green);
    font-family: var(--font-main);
    font-weight: 400;
    opacity: 0.56;
}

/* Contenido de Envíos */
#findUs .sends__item__content__title {
    display: inline-block;
    margin-block: 32px;
    color: var(--primary-dark-green);
    font-family: var(--font-main);
    font-size: 20px;
    font-weight: 600;
    line-height: 24px;
    text-align: center;
}

#findUs .sends__item__content p {
    padding-inline: 20px;
    color: var(--primary-dark-green);
    font-family: var(--font-main);
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    text-align: justify;
}


/* ==========================================================================
   100. COMPONENTE: FLECHA DE ACCIÓN (.mdw__arrow)
   ========================================================================== */
#findUs .sales__card__body {
    position: relative;
}

.mdw__arrow_content {
    position: absolute;
    right: 1rem;
    display: none; /* Se activa por clase .active en el padre */
    width: 25px;
    height: 25px;
    padding: 5px;
    background-color: var(--primary-green);
    border-radius: 20px;
}

.mdw__arrow_content .mdw__arrow {
    width: 100%;
    aspect-ratio: 1;
    background-image: url(../../assets/images/right.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

/* ==========================================================================
   101. FIND US: REGLAS DE VISIBILIDAD ESPECÍFICAS
   ========================================================================== */
@media screen and (max-width: 1024px) {
    .mdw__arrow_content {
        display: none;
    }
}

/* ==========================================================================
   102. FIND US: OPTIMIZACIÓN DESKTOP (min-width: 720px)
   ========================================================================== */
@media only screen and (min-width: 720px) {
    
    /* Sección de Ventas (Puntos principales) */
    #findUs .sales {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    #findUs .sales__title {
        font-size: 40px; /* Escalado para Desktop */
        font-family: var(--font-heading);
    }

    /* Cambio a disposición horizontal invertida */
    #findUs .sales__card {
        display: flex;
        flex-direction: row-reverse;
        justify-content: center;
        width: 100%;
        margin-left: 0;
        gap: 32px;
    }

    #findUs .sales__card__img {
        width: 600px;
        height: 400px;
        object-fit: cover;
    }

    #findUs .sales__card__body {
        width: 416px;
        height: fit-content;
        padding: 1rem;
        border-radius: var(--radius-lg);
    }

    #findUs .sales__card__body a {
        padding-left: 8px;
        text-align: left;
    }

    /* ==========================================================================
       103. FIND US: PUNTOS DE RECOJO DESKTOP (.collects)
       ========================================================================== */
    #findUs .collect__title {
        font-size: 40px;
        font-family: var(--font-heading);
    }

    #findUs .collects {
        display: flex;
        justify-content: center;
    }

    #findUs .collects .collect {
        width: 500px;
        padding: 0;
    }

    #findUs .collects .collect__card {
        width: 100%;
        padding: 0.5rem;
    }

    #findUs .collects .collect__description__location {
        width: 480px;
        padding: 0 28px;
    }

    /* ==========================================================================
       104. FIND US: BUSCADOR Y MAPA DESKTOP (.store__container)
       ========================================================================== */
    #findUs .store__title {
        font-size: 40px;
        font-family: var(--font-heading);
    }

    #findUs .store__container {
        display: flex;
        gap: 90px;
    }

    #findUs .store__container .iframe-container {
        width: 100%;
    }

    #findUs .store__container .iframe-container iframe {
        width: 100%;
        border-radius: 0.5rem;
    }

    #findUs .store__container .search__container {
        position: relative;
        margin-left: 56px;
    }

    #findUs .store__container .search__container .search__input {
        width: 330px;
        height: 30px;
        padding-block: 8px;
        padding-left: 54px;
        border: 1px solid #ece7e7;
        border-radius: 28px;
        font-family: var(--font-main);
    }

    #findUs .store__container .search__icon {
        position: absolute;
        top: 12px;
        left: 16px;
    }

    /* ==========================================================================
       105. FIND US: ENVÍOS DESKTOP (.sends)
       ========================================================================== */
    #findUs .sends {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    #findUs .sends__title {
        font-size: 40px;
        font-family: var(--font-heading);
    }

    #findUs .sends .scroll-container {
        width: auto;
    }

    #findUs .sends__tabs {
        width: 100%;
        gap: 48px;
    }
}

/* ==========================================================================
   106. FIND US: AJUSTES MÓVILES ADICIONALES
   ========================================================================== */
@media screen and (max-width: 720px) {
    #findUs .sales__card {
        gap: 1rem;
    }

    #findUs .sales__card__body__location,
    #findUs .sales__card__body__schedule {
        gap: 10px;
        text-align: left;
    }
}

/* ==========================================================================
   107. MAPAS: ESTRUCTURA DE CONTENEDORES (#maps-elements)
   ========================================================================== */
#maps-elements {
    width: 100%;
}
#findUs #maps-elements .section__first {
    max-height: 500px;
    overflow-y: scroll;
}

/* Layout de Tiendas Físicas (Sidebar + Mapa) */
#findUs #maps-elements #stores_fisical {
    display: flex;
    gap: 2rem;
}

#findUs #maps-elements #stores_fisical .section__first {
    width: 35%;
}

#findUs #maps-elements #stores_fisical .section__second {
    width: 65%;
}

/* Buscador dentro del mapa */
#findUs #maps-elements #stores_fisical .section__first .search-container {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 0 0 2rem 0;
    z-index: 1000;
}

#findUs #maps-elements #stores_fisical .section__first .search-container input {
    width: 100%;
    max-width: 800px;
    padding-left: 1rem;
    background-color: var(--pure-white);
    border: none;
    border-radius: 2rem;
    font-family: var(--font-main);
}

@media (max-width: 1100px) {
    #findUs #maps-elements #stores_fisical {
        flex-wrap: wrap;
    }

    #findUs #maps-elements #stores_fisical .section__first,
    #findUs #maps-elements #stores_fisical .section__second {
        width: 100%;
    }
}

/* ==========================================================================
   108. MAPAS: SELECTOR DE TIENDA (Accordion Style)
   ========================================================================== */
#findUs #maps-elements .map__selector {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
    padding: 1rem;
    background-color: var(--secondary-green);
    color: var(--pure-white);
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#findUs #maps-elements .map__selector .selector__element {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#findUs #maps-elements .map__selector .selector__element .element__title {
    font-family: var(--font-main);
    font-weight: 600;
    white-space: nowrap;
}

/* Estado Activo del Selector */
#findUs #maps-elements .map__selector.active {
    background-color: var(--cream-dark);
    color: var(--primary-dark-green);
}

#findUs #maps-elements .map__selector.active .selector__hidden-info {
    max-height: 1000px; /* Suficiente para desplegar */
    padding-top: 1rem;
}

#findUs #maps-elements .map__selector.active .selector__element .element__title {
    background-color: transparent;
}

/* Información oculta (Desplegable) */
#findUs #maps-elements .map__selector .selector__hidden-info {
    max-height: 0;
    overflow: hidden;
    color: var(--primary-dark-green);
    font-family: var(--font-main);
    transition: all 0.5s ease-in-out;
}

#findUs #maps-elements .map__selector .selector__hidden-info .hidden-info__item {
    display: flex;
    gap: 1rem;
    text-align: start;
}

#findUs #maps-elements .map__selector .selector__hidden-info .hidden-info__item .item__info a {
    color: var(--primary-dark-green);
    font-weight: bold;
    text-decoration: underline;
}

/* Listas irregulares (horarios, etc) */
#findUs #maps-elements .map__selector .selector__hidden-info .hidden-info__item-irregular {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: start;
}

#findUs #maps-elements .map__selector .selector__hidden-info .hidden-info__item-irregular ul {
    padding-left: 20px;
    list-style: circle;
}

#findUs #maps-elements .map__selector .selector__hidden-info .hidden-info__item-irregular ul li {
    margin-bottom: 6px;
}

/* ==========================================================================
   109. MAPAS: ELEMENTO DEL MAPA (Iframe)
   ========================================================================== */
#findUs #maps-elements .map__element {
    display: none;
    width: 100%;
}

#findUs #maps-elements .map__element.active {
    display: block;
}

#findUs #maps-elements .map__element iframe {
    width: 100%;
    border: none;
    border-radius: 0.5rem;
}

/* ==========================================================================
   110. RECURSOS: ANIMACIONES (@keyframes)
   ========================================================================== */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-1050px);
    }
}

/* ==========================================================================
   308. LOCALIZACIÓN: BUSCADOR DE TIENDAS (#findUs)
   ========================================================================== */
#findUs #maps-elements #stores_fisical .section__first .search-container input {
    padding: 1rem;
}

