@import url('https://fonts.googleapis.com/css2?family=Luckiest+Guy&family=Poppins:wght@400;500;700;900&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    width: 100%;
    min-height: 100%;
}

html {
    overflow-x: hidden;
}

body {
    font-family: "Poppins", sans-serif;
    background: #ffffff;
    color: #111111;
    overflow-x: hidden;
}

.location_page {
    position: relative;
    width: 100%;
    min-height: 100vh;
    padding-top: 68px;
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    background-image: url("assets/fondo_taco_star.webp");
    background-repeat: repeat;
    background-size: 2500px auto;
    overflow-x: hidden;
}

.location_page::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 68px;
    background: #fff200;
    z-index: 0;
}

.location_header {
    position: relative;
    z-index: 5;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    text-align: center;
}

.location_logo {
    position: relative;
    z-index: 10;
    display: block;
    width: 325px;
    height: auto;
    margin-top: -61px;
    margin-bottom: 2px;
    object-fit: contain;
    filter: drop-shadow(0 5px 3px rgba(0, 0, 0, 0.22));
}

.locations_title_image {
    display: block;
    width: min(750px, 72vw);
    height: auto;
    margin: 0 auto;
    object-fit: contain;
}

.locations_container {
    position: relative;
    z-index: 3;
    width: min(1280px, calc(100% - 80px));
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 45px;
    margin: 42px auto 0;
    padding: 0 0 45px;
    flex-shrink: 0;
}

.location_card {
    position: relative;
    width: 100%;
    min-width: 0;
    min-height: 570px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 28px 38px 32px;
    background: rgba(255, 255, 255, 0.94);
    border-radius: 34px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.10);
    overflow: visible;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.location_card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.14);
}

.location_image {
    width: 100%;
    height: 245px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    overflow: visible;
    flex-shrink: 0;
}

.location_image img {
    display: block;
    width: 100%;
    max-width: 520px;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.location_card:hover .location_image img {
    transform: translateY(-7px) scale(1.025);
    filter: drop-shadow(0 18px 12px rgba(0, 0, 0, 0.18));
}

.location_content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
    text-align: center;
}

.location_city {
    width: 100%;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px;
    margin: 0 0 8px;
    color: #111111;
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
}

.location_city img {
    display: block !important;
    width: 22px !important;
    height: 27px !important;
    min-width: 22px !important;
    min-height: 27px !important;
    max-width: 22px !important;
    max-height: 27px !important;
    flex: 0 0 22px !important;
    margin: 0 !important;
    padding: 0 !important;
    object-fit: contain !important;
    transform: none !important;
}

.location_name {
    position: relative;
    width: 100%;
    margin: 0 0 15px;
    padding-top: 13px;
    font-family: "Luckiest Guy", cursive;
    font-size: clamp(52px, 4vw, 70px);
    font-weight: 400;
    line-height: 0.9;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-align: center;
}

.location_name::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 65px;
    height: 4px;
    border-radius: 10px;
    transform: translateX(-50%);
}

.location_card:first-child .location_name {
    color: #ed1c24;
    text-shadow: 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.location_card:first-child .location_name::before {
    background: #ed1c24;
}

.location_card:last-child .location_name {
    color: #009b63;
    text-shadow: 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.location_card:last-child .location_name::before {
    background: #009b63;
}

.location_address {
    width: 100%;
    margin: 0 0 19px;
    padding: 0;
    color: #111111;
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.35;
    text-align: center;
}

.location_button {
    position: relative;
    width: 290px;
    max-width: 100%;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: auto;
    padding: 0;
    border: none;
    border-radius: 32px;
    color: #ffffff;
    font-family: "Poppins", sans-serif;
    font-size: 18px;
    font-weight: 900;
    line-height: 1;
    text-decoration: none;
    box-shadow: 0 6px 0 rgba(0, 0, 0, 0.10), 0 9px 16px rgba(0, 0, 0, 0.14);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
    overflow: hidden;
}

.location_card:first-child .location_button {
    background: #ff3030;
}

.location_card:last-child .location_button {
    background: #009b63;
}

.location_button .button_content {
    position: absolute;
    top: 50%;
    left: 50%;
    width: max-content;
    height: auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0;
    padding: 0;
    transform: translate(-50%, -50%);
}

.location_button .button_pin,
.location_button>.button_pin {
    position: static !important;
    display: block !important;
    width: 28px !important;
    height: 34px !important;
    min-width: 28px !important;
    min-height: 34px !important;
    max-width: 28px !important;
    max-height: 34px !important;
    flex: 0 0 28px !important;
    margin: 0 !important;
    padding: 0 !important;
    object-fit: contain !important;
    transform: none !important;
}

.location_button .button_text {
    position: static;
    display: block;
    margin: 0;
    padding: 0;
    color: #ffffff;
    font-family: "Poppins", sans-serif;
    font-size: 18px;
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
    text-align: center;
}

.location_button .button_arrow {
    display: none !important;
}

.location_button:hover {
    transform: translateY(-3px);
    filter: brightness(1.03);
    box-shadow: 0 8px 0 rgba(0, 0, 0, 0.10), 0 13px 22px rgba(0, 0, 0, 0.16);
}

.location_button:active {
    transform: translateY(2px);
    box-shadow: 0 3px 0 rgba(0, 0, 0, 0.10), 0 6px 12px rgba(0, 0, 0, 0.14);
}

.location_footer {
    position: relative;
    z-index: 10;
    width: 100%;
    height: 92px;
    min-height: 92px;
    margin-top: auto;
    padding: 28px 20px 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background-image: url("assets/footer.webp");
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 100% 100%;
    color: #111111;
    font-family: "Poppins", sans-serif;
    font-size: 20px;
    font-weight: 700;
    text-align: center;
}

@media screen and (min-width: 1024px) and (max-width: 1399px) {

    html,
    body {
        width: 100%;
        min-width: 0;
        margin: 0;
        padding: 0;
        overflow-x: hidden;
        overflow-y: auto;
    }

    .location_page {
        position: relative;
        width: 100%;
        min-height: 100vh;
        padding-top: 68px;
        padding-bottom: 0;
        background-color: #ffffff;
        background-image: url("assets/fondo_taco_star.webp");
        background-repeat: repeat;
        background-size: 1900px auto;
        background-position: center top;
        overflow-x: hidden;
        overflow-y: visible;
        display: flex;
        flex-direction: column;
    }

    .location_page::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 68px;
        background: #fff200;
        z-index: 1;
    }

    .location_header {
        position: relative;
        z-index: 5;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        text-align: center;
    }

    .location_logo {
        display: block;
        width: clamp(290px, 25vw, 330px);
        height: auto;
        margin-top: -61px;
        margin-bottom: 3px;
        object-fit: contain;
        filter: drop-shadow(0 5px 3px rgba(0, 0, 0, 0.22));
    }

    .locations_title_image {
        display: block;
        width: clamp(680px, 64vw, 780px);
        max-width: 88vw;
        height: auto;
        margin: 0 auto;
    }

    .locations_container {
        position: relative;
        z-index: 3;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: stretch;
        gap: clamp(32px, 3.2vw, 48px);
        width: min(1220px, 92vw);
        margin: clamp(38px, 3.4vw, 48px) auto 0;
        padding: 0 0 45px;
    }

    .location_card {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        min-width: 0;
        min-height: 560px;
        height: 560px;
        margin: 0;
        padding: 26px clamp(26px, 2.5vw, 38px) 30px;
        background: rgba(255, 255, 255, 0.97);
        border: 1px solid rgba(0, 0, 0, 0.025);
        border-radius: 34px;
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.10);
        overflow: visible;
        transform: none;
    }

    .location_card:hover {
        transform: none;
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.10);
    }

    .location_image {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 250px;
        margin: 0;
        overflow: visible;
        flex-shrink: 0;
    }

    .location_image img {
        display: block;
        width: 100%;
        max-width: 560px;
        height: 100%;
        object-fit: contain;
        transform: scale(1.10);
        transform-origin: center center;
        filter: none;
    }

    .location_card:hover .location_image img {
        transform: scale(1.10);
        filter: none;
    }

    .location_content {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        width: 100%;
        margin: 0;
        text-align: center;
        flex: 1;
    }

    .location_city {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px;
        width: 100%;
        margin: 0 0 7px;
        color: #111111;
        font-family: "Poppins", sans-serif;
        font-size: 17px;
        font-weight: 700;
        line-height: 1.2;
        text-align: center;
    }

    .location_city img {
        display: block !important;
        width: 22px !important;
        height: 27px !important;
        min-width: 22px !important;
        min-height: 27px !important;
        max-width: 22px !important;
        max-height: 27px !important;
        flex: 0 0 22px !important;
        margin: 0 !important;
        padding: 0 !important;
        object-fit: contain !important;
        transform: none !important;
    }

    .location_name {
        position: relative;
        display: block;
        width: 100%;
        margin: 0 0 14px;
        padding-top: 13px;
        font-family: "Luckiest Guy", cursive;
        font-size: clamp(62px, 5.5vw, 76px);
        font-weight: 400;
        line-height: 0.92;
        letter-spacing: 0.3px;
        text-align: center;
        white-space: nowrap;
    }

    .location_name::before {
        content: "";
        position: absolute;
        top: 0;
        left: 50%;
        width: 64px;
        height: 4px;
        border-radius: 10px;
        transform: translateX(-50%);
    }

    .location_card:first-child .location_name {
        color: #ed1c24;
        text-shadow: 1px 2px 0 rgba(0, 0, 0, 0.05);
    }

    .location_card:first-child .location_name::before {
        background: #ed1c24;
    }

    .location_card:last-child .location_name {
        color: #009b63;
        text-shadow: 1px 2px 0 rgba(0, 0, 0, 0.05);
    }

    .location_card:last-child .location_name::before {
        background: #009b63;
    }

    .location_address {
        display: block;
        width: 100%;
        margin: 0 0 18px;
        padding: 0 8px;
        color: #111111;
        font-family: "Poppins", sans-serif;
        font-size: 14px;
        font-weight: 500;
        line-height: 1.45;
        text-align: center;
    }

    .location_button {
        position: relative !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 270px !important;
        height: 58px !important;
        min-height: 58px !important;
        margin: auto auto 0 !important;
        padding: 0 !important;
        border: none;
        border-radius: 30px;
        overflow: visible !important;
        flex-shrink: 0;
        color: #ffffff;
        font-family: "Poppins", sans-serif;
        text-decoration: none;
        box-shadow: 0 5px 0 rgba(0, 0, 0, 0.10), 0 8px 15px rgba(0, 0, 0, 0.14);
        transform: none;
    }

    .location_card:first-child .location_button {
        background: #ff3030;
    }

    .location_card:last-child .location_button {
        background: #009b63;
    }

    .location_button .button_content {
        position: absolute !important;
        top: 50% !important;
        left: 50% !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 9px !important;
        width: max-content !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        transform: translate(-50%, -50%) !important;
    }

    .location_button .button_pin,
    .location_button>.button_pin {
        position: static !important;
        display: block !important;
        width: 25px !important;
        height: 31px !important;
        min-width: 25px !important;
        min-height: 31px !important;
        max-width: 25px !important;
        max-height: 31px !important;
        flex: 0 0 25px !important;
        margin: 0 !important;
        padding: 0 !important;
        object-fit: contain !important;
        transform: none !important;
    }

    .location_button .button_text {
        position: static !important;
        display: block !important;
        margin: 0 !important;
        padding: 0 !important;
        color: #ffffff;
        font-family: "Poppins", sans-serif;
        font-size: 17px !important;
        font-weight: 900 !important;
        line-height: 1 !important;
        white-space: nowrap !important;
        text-align: center !important;
    }

    .location_button .button_arrow {
        display: none !important;
    }

    .location_button:hover {
        transform: translateY(-2px);
        filter: brightness(1.03);
        box-shadow: 0 7px 0 rgba(0, 0, 0, 0.10), 0 11px 18px rgba(0, 0, 0, 0.15);
    }

    .location_footer {
        position: relative;
        z-index: 10;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 88px;
        min-height: 88px;
        margin-top: auto;
        padding: 25px 20px 7px;
        background-image: url("assets/footer.webp");
        background-repeat: no-repeat;
        background-position: center top;
        background-size: 100% 100%;
        color: #111111;
        font-family: "Poppins", sans-serif;
        font-size: 18px;
        font-weight: 700;
        line-height: 1.2;
        text-align: center;
    }
}

@media screen and (min-width: 1400px) {
    .location_page {
        padding-top: 68px;
        background-size: 2500px auto;
    }

    .location_page::before {
        height: 68px;
    }

    .location_logo {
        width: 340px;
        margin-top: -61px;
        margin-bottom: 2px;
    }

    .locations_title_image {
        width: 760px;
    }

    .locations_container {
        width: min(1280px, 92vw);
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 45px;
        margin-top: 42px;
        padding-bottom: 45px;
    }

    .location_card {
        min-height: 570px;
        height: 570px;
        padding: 28px 38px 32px;
        border-radius: 34px;
    }

    .location_image {
        height: 245px;
    }

    .location_image img {
        max-width: 520px;
    }

    .location_city {
        font-size: 16px;
    }

    .location_city img {
        width: 22px !important;
        height: 27px !important;
        min-width: 22px !important;
        min-height: 27px !important;
        max-width: 22px !important;
        max-height: 27px !important;
        flex: 0 0 22px !important;
    }

    .location_name {
        font-size: 70px;
        padding-top: 13px;
        margin-bottom: 15px;
    }

    .location_address {
        font-size: 14px;
        margin-bottom: 19px;
    }

    .location_button {
        width: 290px !important;
        height: 58px !important;
        min-height: 58px !important;
    }

    .location_button .button_pin,
    .location_button>.button_pin {
        width: 28px !important;
        height: 34px !important;
        min-width: 28px !important;
        min-height: 34px !important;
        max-width: 28px !important;
        max-height: 34px !important;
        flex: 0 0 28px !important;
    }

    .location_button .button_text {
        font-size: 18px !important;
    }

    .location_footer {
        height: 92px;
        min-height: 92px;
        padding: 28px 20px 7px;
        font-size: 20px;
    }
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
    .location_page {
        padding-top: 65px;
        background-size: 1600px auto;
    }

    .location_page::before {
        height: 65px;
    }

    .location_logo {
        width: 275px;
        margin-top: -55px;
        margin-bottom: 6px;
    }

    .locations_title_image {
        width: min(700px, 88vw);
    }

    .locations_container {
        width: 90%;
        gap: 35px;
        margin-top: 42px;
        padding-bottom: 28px;
    }

    .location_card {
        min-height: 535px;
        padding: 25px 25px 30px;
        border-radius: 30px;
        background: rgba(255, 255, 255, 0.96);
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.10);
    }

    .location_card:hover {
        transform: none;
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.10);
    }

    .location_image {
        height: 220px;
    }

    .location_image img {
        max-width: 430px;
    }

    .location_card:hover .location_image img {
        transform: none;
        filter: none;
    }

    .location_city {
        gap: 9px;
        font-size: 15px;
    }

    .location_city img {
        width: 21px !important;
        height: 26px !important;
        min-width: 21px !important;
        min-height: 26px !important;
        max-width: 21px !important;
        max-height: 26px !important;
        flex: 0 0 21px !important;
    }

    .location_name {
        font-size: 58px;
        line-height: 0.92;
    }

    .location_address {
        font-size: 14px;
        line-height: 1.4;
    }

    .location_button {
        width: 270px !important;
        height: 55px !important;
        min-height: 55px !important;
    }

    .location_button .button_pin,
    .location_button>.button_pin {
        width: 30px !important;
        height: 35px !important;
        min-width: 30px !important;
        min-height: 35px !important;
        max-width: 30px !important;
        max-height: 35px !important;
        flex: 0 0 30px !important;
    }

    .location_button .button_text {
        font-size: 17px !important;
    }

    .location_footer {
        height: 88px;
        min-height: 88px;
        padding: 28px 20px 8px;
        font-size: 17px;
    }
}

@media screen and (min-width: 600px) and (max-width: 767px) {
    .location_page {
        padding-top: 58px;
        background-size: 1050px auto;
    }

    .location_page::before {
        height: 58px;
    }

    .location_logo {
        width: 220px;
        margin-top: -50px;
        margin-bottom: 6px;
    }

    .locations_title_image {
        width: 88%;
        max-width: 650px;
    }

    .locations_container {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 40px;
        margin-top: 32px;
        padding-bottom: 35px;
    }

    .location_card {
        width: calc(100% - 50px);
        max-width: 640px;
        min-height: 0;
        padding: 22px 25px 28px;
        border-radius: 30px;
        background: rgba(255, 255, 255, 0.96);
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.10);
    }

    .location_card:hover {
        transform: none;
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.10);
    }

    .location_image {
        height: 225px;
    }

    .location_image img {
        max-width: 455px;
    }

    .location_card:hover .location_image img {
        transform: none;
        filter: none;
    }

    .location_city {
        gap: 9px;
        font-size: 16px;
    }

    .location_city img {
        width: 21px !important;
        height: 26px !important;
        min-width: 21px !important;
        min-height: 26px !important;
        max-width: 21px !important;
        max-height: 26px !important;
        flex: 0 0 21px !important;
    }

    .location_name {
        font-size: 58px;
    }

    .location_address {
        font-size: 15px;
    }

    .location_button {
        width: 280px !important;
        height: 58px !important;
        min-height: 58px !important;
    }

    .location_button .button_pin,
    .location_button>.button_pin {
        width: 30px !important;
        height: 35px !important;
        min-width: 30px !important;
        min-height: 35px !important;
        max-width: 30px !important;
        max-height: 35px !important;
        flex: 0 0 30px !important;
    }

    .location_button .button_text {
        font-size: 18px !important;
    }

    .location_footer {
        height: 88px;
        min-height: 88px;
        margin-top: 30px;
        padding: 28px 20px 8px;
        font-size: 17px;
    }
}

@media screen and (min-width: 400px) and (max-width: 599px) {

    html,
    body {
        width: 100%;
        min-width: 0;
        overflow-x: hidden;
        overflow-y: auto;
    }

    .location_page {
        width: 100%;
        min-width: 0;
        padding-top: 55px;
        background-size: 1000px auto;
    }

    .location_page::before {
        height: 55px;
    }

    .location_logo {
        width: 195px;
        margin-top: -45px;
        margin-bottom: 5px;
    }

    .locations_title_image {
        width: 94%;
        max-width: 560px;
    }

    .locations_container {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 28px;
        margin-top: 28px;
        padding-bottom: 30px;
    }

    .location_card {
        width: calc(100% - 34px);
        max-width: 565px;
        min-height: 0;
        padding: 10px 16px 26px;
        border-radius: 27px;
        background: #ffffff;
        border: 1px solid rgba(0, 0, 0, 0.03);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.09);
    }

    .location_card:hover {
        transform: none;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.09);
    }

    .location_image {
        height: 245px;
    }

    .location_image img {
        max-width: 470px;
    }

    .location_card:hover .location_image img {
        transform: none;
        filter: none;
    }

    .location_city {
        gap: 8px;
        font-size: 16px;
    }

    .location_city img {
        width: 24px !important;
        height: 29px !important;
        min-width: 24px !important;
        min-height: 29px !important;
        max-width: 24px !important;
        max-height: 29px !important;
        flex: 0 0 24px !important;
    }

    .location_name {
        font-size: 55px;
        line-height: 0.92;
    }

    .location_address {
        font-size: 14px;
        line-height: 1.4;
    }

    .location_button {
        width: min(290px, 88%) !important;
        height: 56px !important;
        min-height: 56px !important;
        margin: 0 auto !important;
        overflow: visible !important;
    }

    .location_button .button_content {
        position: absolute !important;
        top: 50% !important;
        left: 50% !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 9px !important;
        width: max-content !important;
        margin: 0 !important;
        padding: 0 !important;
        transform: translate(-50%, -50%) !important;
    }

    .location_button .button_pin,
    .location_button>.button_pin {
        width: 34px !important;
        height: 38px !important;
        min-width: 34px !important;
        min-height: 38px !important;
        max-width: 34px !important;
        max-height: 38px !important;
        flex: 0 0 34px !important;
    }

    .location_button .button_text {
        font-size: 17px !important;
    }

    .location_button .button_arrow {
        display: none !important;
    }

    .location_footer {
        width: 100%;
        height: 96px;
        min-height: 96px;
        margin-top: 12px;
        padding: 30px 20px 10px;
        font-size: 16px;
    }
}

@media screen and (max-width: 399px) {

    html,
    body {
        width: 100%;
        min-width: 0;
        overflow-x: hidden;
    }

    .location_page {
        width: 100%;
        min-height: 100vh;
        padding-top: 58px;
        overflow-x: hidden;
    }

    .location_page::before {
        height: 58px;
    }

    .location_header {
        width: 100%;
        padding: 0 10px;
    }

    .location_logo {
        width: 235px;
        max-width: 72vw;
        margin-top: -51px;
        margin-bottom: 3px;
    }

    .locations_title_image {
        width: 94vw;
        max-width: 370px;
        margin: 0 auto;
    }

    .locations_container {
        display: grid;
        grid-template-columns: 1fr;
        width: calc(100% - 28px);
        max-width: 370px;
        gap: 28px;
        margin: 22px auto 0;
        padding: 0 0 30px;
    }

    .location_card {
        width: 100%;
        min-width: 0;
        min-height: 0;
        height: auto;
        padding: 18px 16px 24px;
        border-radius: 28px;
        overflow: visible;
    }

    .location_image {
        width: 100%;
        height: 210px;
        margin: 0;
        flex-shrink: 0;
    }

    .location_image img {
        width: 100%;
        max-width: 330px;
        height: 100%;
        object-fit: contain;
    }

    .location_content {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .location_city {
        width: 100%;
        margin: 0 0 6px;
        gap: 6px;
        font-size: 15px;
        line-height: 1.2;
    }

    .location_city img {
        width: 19px !important;
        height: 24px !important;
        min-width: 19px !important;
        min-height: 24px !important;
        max-width: 19px !important;
        max-height: 24px !important;
        flex: 0 0 19px !important;
    }

    .location_name {
        width: 100%;
        margin: 0 0 12px;
        padding-top: 10px;
        font-size: clamp(48px, 14vw, 58px);
        line-height: 0.92;
        white-space: nowrap;
        text-align: center;
    }

    .location_name::before {
        width: 58px;
        height: 4px;
    }

    .location_address {
        width: 100%;
        margin: 0 auto 18px;
        padding: 0 8px;
        font-size: 13px;
        line-height: 1.4;
        text-align: center;
    }

    .location_button {
        width: 230px !important;
        max-width: 90%;
        height: 54px !important;
        min-height: 54px !important;
        margin: auto auto 0 !important;
        border-radius: 28px;
    }

    .location_button .button_pin,
    .location_button>.button_pin {
        width: 22px !important;
        height: 28px !important;
        min-width: 22px !important;
        min-height: 28px !important;
        max-width: 22px !important;
        max-height: 28px !important;
        flex: 0 0 22px !important;
    }

    .location_button .button_text {
        font-size: 15px !important;
        white-space: nowrap !important;
    }

    .location_footer {
        width: 100%;
        min-height: 78px;
        height: 78px;
        margin-top: 0;
        padding: 22px 15px 7px;
        font-size: 14px;
    }
}

/* Mobile compacto: 320-359 px CSS. Mantiene las tarjetas originales en columna. */
@media screen and (max-width: 359px) {
    .location_page { min-width: 0; }
    .location_header { padding-inline: 8px; }
    .location_logo { width: clamp(178px, 58vw, 210px); max-width: 80%; }
    .locations_title_image { width: 100%; max-width: 100%; }
    .locations_container { width: calc(100% - 24px); gap: 22px; }
    .location_card { min-width: 0; padding: 15px 12px 22px; border-radius: 23px; }
    .location_image { height: clamp(160px, 54vw, 195px); }
    .location_image img { max-width: 100%; }
    .location_city { font-size: 14px; gap: 6px; }
    .location_name { font-size: clamp(40px, 12.5vw, 47px); letter-spacing: 0; }
    .location_address { font-size: 13px; padding: 0; }
    .location_button { width: min(230px, 100%) !important; max-width: 100% !important; }
    .location_button .button_text { font-size: 15px !important; }
}
