.mobile-wrapper {
    max-width: 768px; /* largura máxima típica de tablet */
    margin: 0 auto;   /* centra no ecrã */
    min-height: 100vh;
    position: relative;
}
.mobile-wrapper.map-buy {
    background-color: #772583;
}
.mobile-wrapper.map-visit {
    background-color: #485CC7;
}

header {
    min-height: 10vh;
    padding: 48px 24px;
    position: absolute;
    z-index: 10001;
    width: 100%;
}

header::after {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    content: '';
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
    z-index: -1;
}

header h1 {
    font-size: 32px;
    text-transform: uppercase;
    color: white;
    font-family: 'Braga-Bold';
}

.mapPoints,
.mapDirections {
    width: 100%;
    height: 100vh;
    position: absolute;
    top: 0;
    bottom: 0;
}

main {
    height: 100vh;
}

.main-btns {
    position: absolute;
    bottom: 48px;
    left: 24px;
    right: 24px;
    width: calc(100% - 48px);
}

.main-btns button {
    border: none;
    outline: none;
    padding: 0;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

.main-btns .buy-btn.active {
    background-color: #772583;
    color: white;
    font-family: 'Braga-Bold';
    font-size: 20px;
    height: 48px;
    width: calc((100% - 9px)/2);
}

.main-btns .visit-btn.active {
    background-color: #485CC7;
    color: white;
    font-family: 'Braga-Bold';
    font-size: 20px;
    height: 48px;
    width: calc((100% - 9px)/2);
}


.main-btns .visit-btn,
.main-btns .buy-btn {
    background-color: white;
    color: #485CC7;
    font-family: 'Braga-Bold';
    font-size: 20px;
    height: 48px;
    width: calc((100% - 9px)/2);
}

.gmnoprint,
.gm-style-cc {
    display: none!important;
}


.main-btns .search-btn,
.search-btn2 {
    position: absolute;
    width: 64px;
    height: 64px;
    background-color: #BB29BB;
    border-radius: 100%;
    right: calc(50% - 32px);
    left: calc(50% - 32px);
    top: -8px;
    background-image: url('../images/icon_Search.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: 60%;
}

.search-btn2 {
    right: 24px;
    left: auto;
    top: auto;
    bottom: 184px;
    border: none;
    outline: none;
}

.main-btns .back-roadmap {
    position: absolute;
    bottom: 64px;
    width: calc(100% - 20px);
    background-color: #4816C7;
    font-family: 'AzoMonoTest-Medium';
    font-size: 16px;
    height: 48px;
    color: white;
    left: 8px;
}

.main-btns .back-roadmap span {
    position: absolute;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url('../images/walking_white.png');
    width: 24px;
    height: 24px;
    margin-left: 10px;
}

.active-lang {
    border: none;
    outline: none;
    width: 57px;
    height: 57px;
    color: white;
    position: absolute;
    top: 160px;
    right: 24px;
    font-size: 24px;
    text-transform: uppercase;
    font-family: 'AzoMonoTest-Bold';
    padding: 0;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
    z-index: 10;
}

.map-buy .active-lang,
.map-buy .select-lang div,
.map-buy .poi-details {
    background-color: #772583;
}

.map-visit .active-lang,
.map-visit .select-lang div,
.map-visit .poi-details  {
    background-color: #485CC7;
}

.select-lang {
    position: absolute;
    top: 160px;
    right: 81px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 57px;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
    opacity: 0;
    transform: translateX(50%);
}

.select-lang.open {
    opacity: 1;
    transform: translateX(0);
}

.select-lang div {
    color: white;
    padding-left: 12px;
    padding-right: 12px;
    text-transform: uppercase;
    font-family: 'AzoMonoTest-Light';
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}



.select-lang .active {
    font-family: 'AzoMonoTest-Bold';
}

.poi-details {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    z-index: 10010;
}

.poi-details .content {
    padding-left: 24px;
    padding-right: 24px;
    height: 28vh;
    overflow: auto;
    margin-top: 24px;
    margin-bottom: 48px;
}

.poi-details .img {
    height: 50vh;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.poi-details .img .special-content {
    position: absolute;
    bottom: -1px;
    padding: 12px 24px 12px 80px;
    width: 100%;
    height: auto;
    right: 0;
    left: 0;
    z-index: 1000;
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    color: white;
    font-size: 16px;
    font-family: 'AzoMonoTest-Regular';
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: start;
}

.poi-details .img .special-content::after {
    content: '';
    position: absolute;
    top: 12px;
    left: 24px;
    width: 40px;
    height: 40px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.poi-details .img .special-content.video::after {
    background-image: url('../images/video_icon.png');
}
.poi-details .img .special-content.image::after {
    background-image: url('../images/image_icon.png');
}
.poi-details .img .special-content.ar::after {
    background-image: url('../images/ar_icon.png');
}
.poi-details .img .special-content.ar360::after {
    background-image: url('../images/360_icon.png');
}
.poi-details .img .special-content.event::after {
    background-image: url('../images/event_icon.png');
}

.poi-details .content h2 {
    margin-bottom: 24px;
    font-size: 24px;
    text-transform: uppercase;
    color: white;
    font-family: 'Braga-Bold';
}

.poi-details .content .description {
    margin-bottom: 48px;
    font-size: 18px;
    color: white;
    font-family: 'AzoMonoTest-Regular';
}

.poi-details .content  .distance_info {
    position: relative;
    padding-left: 36px;
    font-size: 20px;
    font-family: 'AzoMonoTest-Regular';
    color: white;
}

.poi-details .content  .distance_info::after {
    width: 28px;
    height: 28px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url("../images/walking_white.png");
    position: absolute;
    top: 0;
    left: 0;
    content: '';
}


.poi-details .detail-btns {
    position: absolute;
    bottom: 40px;
    left: 81px;
    right: 81px;
    width: calc(100% - 162px);
}

.poi-details .detail-btns .btn-add-point {
    width: 100%;
    border: none;
    outline: none;
    background-color: #A7E163;
    color: #215732;
    font-family: 'AzoMonoTest-Medium';
    font-size: 16px;
    margin-bottom: 12px;
    padding-top: 12px;
    padding-bottom: 12px;
    padding-right: 24px;
    position: relative;
}

.poi-details .detail-btns .btn-add-point::after {
    position: absolute;
    content: '';
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url("../images/more_green.png");
    width: 12px;
    height: 12px;
    top: 18px;
    right: 32px;
}

.poi-details .detail-btns .btn-remove-point {
    width: 100%;
    border: none;
    outline: none;
    background-color: #FF0000;
    color: white;
    font-family: 'AzoMonoTest-Medium';
    font-size: 16px;
    margin-bottom: 12px;
    padding-top: 12px;
    padding-bottom: 12px;
    padding-right: 24px;
    position: relative;
}

.poi-details .detail-btns .btn-remove-point::after {
    position: absolute;
    content: '';
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url("../images/close.png");
    width: 12px;
    height: 12px;
    top: 18px;
    right: 32px;
}

.poi-details .detail-btns .btn-directions,
.directions .start-directions {
    border: none;
    outline: none;
    background-color: #BB29BB;
    color: white;
    font-family: 'AzoMonoTest-Medium';
    font-size: 16px;
    margin-right: 12px;
    padding-top: 12px;
    padding-bottom: 12px;
    width: calc(60% - 12px);
    position: relative;
    padding-right: 24px;
}

.poi-details .detail-btns .btn-directions::after,
.directions .start-directions::after {
    position: absolute;
    content: '';
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url("../images/directions.png");
    width: 18px;
    height: 18px;
    top: 15px;
    right: 28px;
}

.poi-details .detail-btns .btn-exit,
.directions .exit-directions {
    border: none;
    outline: none;
    background-color: #FF0000;
    color: white;
    font-family: 'AzoMonoTest-Medium';
    font-size: 16px;
    text-align: center;
    padding-top: 12px;
    padding-bottom: 12px;
    width: 40%;
}

.search-filters {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    overflow: auto;
    background-color: #BB29BB;
    z-index: 10005;
    padding: 80px 25px 80px 25px;
    scrollbar-width: none;      /* Firefox */
    -ms-overflow-style: none;   /* IE/Edge antigo */
}

.search-filters::-webkit-scrollbar {
  display: none;              /* Chrome, Safari, Edge */
}


.search-filters h2 {
    font-size: 40px;
    color: white;
    margin-bottom: 16px;
    text-transform: uppercase;
    font-family: 'Braga-Bold';
}

.search-filters p {
    font-size: 18px;
    color: white;
    margin-bottom: 24px;
    font-family: 'AzoMonoTest-Regular';
}

.search-filters .search-list {
    margin-bottom: 100px;
}

.search-filters .search-list .search-item {
    margin-bottom: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    background-color: white;
}

.search-filters .search-list .search-item .img {
    width: 23%;
    aspect-ratio: 1 / 1;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.search-filters .search-list .search-item .item-details {
    padding: 12px 16px;
    overflow: auto;
    width: 77%;
}

.search-filters .search-list .search-item .item-details h3 {
    color: #1F1F1F;
    margin-bottom: 12px;
    font-size: 16px;
    text-transform: uppercase;
    font-family: 'Braga-Bold';
}

.search-filters .search-list .search-item .item-details p {
    color: #5E5E5E;
    margin-bottom: 22px;
    font-size: 12px;
    font-family: 'AzoMonoTest-Regular';
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-filters .search-list .search-item .item-details .item-distance {
    color: #5E5E5E;
    font-size: 10px;
    font-family: 'AzoMonoTest-Regular';
    position: relative;
    padding-left: 16px;
}


.search-filters .search-list .search-item .item-details .item-distance::after {
    width: 12px;
    height: 12px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url('../images/walking_grey.png');
    position: absolute;
    top: 0;
    left: 0;
    content: '';
}

.search-filters .search-btns {
    position: fixed;
    bottom: 0;
    width: 100%;
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    z-index: 10001;
    padding: 11px 24px 40px 24px;
    max-width: 576px;
    left: 50%;
    transform: translateX(-50%);
}

.search-filters .search-btns input {
    width: 100%;
    background-color: white!important;
    color: #9B9CA3;
    font-size: 16px;
    font-family: 'AzoMonoTest-Regular';
    padding: 16px 62px 16px 22px;
    margin-bottom: 13px;
    border: none;
    position: relative;
}

.search-filters .search-btns .submit-search {
    position: absolute;
    width: 19px;
    height: 19px;
    top: 28px;
    right: 48px;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    background-image: url("../images/icon_Search.png");
    background-color: white;
}

.search-filters .search-btns input:focus,
.search-filters .search-btns input:focus-visible {
  outline: none;
  box-shadow: none;
  border-color: inherit;
}

.search-filters .search-btns button {
    border: none;
    outline: none;
}

.search-filters .search-btns .filters-btn {
    background-color: #4816C7;
    color: white;
    padding: 12px 62px 12px 42px;
    color: white;
    font-size: 16px;
    font-family: 'AzoMonoTest-Medium';
    margin-right: 12px;
    position: relative;
}

.search-filters .search-btns .filters-btn::after {
    position: absolute;
    content: '';
    background-position: center;
    background-size: contain;
    background-image: url('../images/filters-icon.png');
    top: 18px;
    right: 42px;
    width: 11px;
    height: 12px;
}

.mobile-wrapper.map-visit .search-filters .search-btns .filters-btn {
    display: none;
}

.search-filters .search-btns .exit-btn {
    background-color: #FF0000;
    color: white;
    padding: 12px 32px;
    color: white;
    font-size: 16px;
    font-family: 'AzoMonoTest-Medium';
}

.search-filters .filters {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100vh;
    overflow: auto;
    left: 0;
    background-color: #772583;
    z-index: 10010;
    padding: 80px 25px 80px 25px;
    scrollbar-width: none;      /* Firefox */
    -ms-overflow-style: none;   /* IE/Edge antigo */
}

.search-filters .filters::-webkit-scrollbar {
  display: none;              /* Chrome, Safari, Edge */
}

.search-filters .filters .filters-list {
    padding-top: 24px;
}

.search-filters .filters .filters-list .main-filter {
    margin-bottom: 24px;
    width: 100%;
}

.search-filters .filters .filters-list .main-filter .main-item {
    font-size: 24px;
    color: white;
    text-transform: uppercase;
    font-family: 'Azo_Sans_Bold';
    padding: 2px 12px;
    position: relative;
}

.search-filters .filters .filters-list .main-filter .main-item.with-childrens span {
    position: absolute;
    right: 56px;
    background-color: #E277CD;
    font-size: 24px;
    text-transform: uppercase;
    font-family: 'Braga-Bold';
    color: #772583;
    padding-left: 10px;
    padding-right: 10px;
}

.search-filters .filters .filters-list .main-filter .main-item.with-childrens::after {
    position: absolute;
    content: '';
    width: 18px;
    height: 18px;
    top: 10px;
    right: 8px;
    border: solid white;
    border-width: 0 4px 4px 0;
    display: inline-block;
    padding: 6px;
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
}

.search-filters .filters .filters-list .main-filter.open .main-item::after {
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
}

.search-filters .filters .filters-list .main-filter .secound-filters {
    padding-top: 0px;
    padding-bottom: 0px;
    display: flex;
    flex-direction: column;
    gap: 12px; /* ajuda no espaçamento vertical */
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
    height: 0;
    opacity: 0;
}

.search-filters .filters .filters-list .main-filter .secound-filters.show {
    height: auto;
    opacity: 2;
    padding-top: 20px;
    padding-bottom: 20px;
}

.search-filters .filters .filters-list .main-filter .secound-filters .secound-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 16px;
    font-size: 20px;
    color: white;
    font-family: 'AzoMonoTest-Medium';
    width: fit-content;
    align-self: flex-end;
}

.search-filters .filters .filters-list .main-filter .secound-filters .secound-item.active,
.search-filters .filters .filters-list .main-filter .main-item.active {
    background-color: #E277CD;
    color: #772583;
}

.search-filters .filters .filters-list .main-filter .secound-filters .secound-item::after {
    content: '';
    width: 20px;
    height: 20px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url('../images/plus-icon.svg');
    flex-shrink: 0;
    margin-left: 16px;
}

.search-filters .filters .filters-list .main-filter .secound-filters .secound-item.active::after {
    background-image: url('../images/plus-icon2.svg');
}

.search-filters .filters .filter-btns {
    position: fixed;
    bottom: 0;
    width: 100%;
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    z-index: 10001;
    padding: 11px 24px 40px 24px;
    max-width: 576px;
    left: 50%;
    transform: translateX(-50%);
}

.search-filters .filters .filter-btns .clear-filters-btn {
    background-color: #FE3C00;
    color: white;
    font-size: 16px;
    font-family: 'AzoMonoTest-Medium';
    outline: none;
    border: none;
    margin-right: 12px;
    height: 48px;
    width: 45%;
}

.search-filters .filters .filter-btns .back-btn {
    background-color: #FF0000;
    color: white;
    font-size: 16px;
    font-family: 'AzoMonoTest-Medium';
    outline: none;
    border: none;
    height: 48px;
    width: 28%;
}


.directions {
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: white;
    padding: 24px 24px 40px 24px;
    width: 100%;
    box-shadow: 0 -8px 12px -6px rgba(0, 0, 0, 0.3);
}

.directions h2 {
    font-size: 20px;
    margin-bottom: 27px;
    color: #1F1F1F;
    font-family: 'AzoMonoTest-Regular';
}

.directions .btns-directions {
    padding-left: 30px;
    padding-right: 30px;
    margin-top: 24px;
}

.directions .direction-details .time {
    width: 86px;
    text-align: center;
    font-size: 16px;
    color: #1F1F1F;
    font-family: 'AzoMonoTest-Regular';
    margin-right: 16px;
}

.directions .direction-details .time .mins {
    font-size: 24px;
}

.directions .direction-details .other-infos {
    font-size: 16px;
    color: #1F1F1F;
    font-family: 'AzoMonoTest-Regular';
    padding-top: 8px;
}

.navigation {
    padding: 32px 24px;
    background-color: white;
    position: absolute;
    bottom: 0;
    width: 100%;
    right: 0;
}

.navigation .info-time {
    min-width: calc(100% - 120px);
    width: 77%;
}

.navigation .info-time .time {
    color: #1F1F1F;
    font-family: 'AzoMonoTest-Medium';
    font-size: 26px;
    margin-bottom: 8px;
    position: relative;
    display: inline-block;
    padding-right: 32px;
}

.navigation .info-time .distance,
.navigation .info-time .hours {
    color: #5E5E5E;
    font-family: 'AzoMonoTest-Regular';
    font-size: 20px;
    position: relative;
}

.navigation .info-time .distance {
    padding-right: 15px;
}


.navigation .info-time .distance::after {
    position: absolute;
    content: '';
    right: 0;
    background-color: #5E5E5E;
    top: 14px;
    border-radius: 50%;
    width: 5px;
    height: 5px;
}

.navigation .info-time .hours {
    margin-left: 10px;
}


.navigation .exit-navigations {
    background-color: #FF0000;
    color: white;
    font-size: 16px;
    font-family: 'AzoMonoTest-Medium';
    outline: none;
    border: none;
    height: 48px;
    width: 28%;
    max-width: 120px;
}

.navigation .info-time .time.walking::after {
    position: absolute;
    content: '';
    width: 24px;
    height: 24px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url('../images/walking_purple.png');
    right: 0;
    top: 6px;
}

.navigation .expand-info {
    background-color: #E8EAED;
    position: absolute;
    top: 12px;
    border-radius: 10px;
    width: 29%;
    right: calc(71%/2);
    height: 8px;
}

.navigation .route-points {
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 8px 0 0 0;
    counter-reset: step;
    position: relative;
}

.navigation .route-points .point-step {
    position: relative;
    flex: 1;
    text-align: center;
    counter-increment: step;
    font-size: 16px;
    font-family: 'AzoMonoTest-Medium';
}

/* Linha de conexão */
.navigation .route-points .point-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: calc(24px / 2);
    left: 50%;
    width: 100%;
    height: 4px;
    background: #E8EAED;
    z-index: 0;
}

/* Círculo */
.navigation .route-points .point-step::before {
    content: counter(step);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    margin: 0 auto;
    border-radius: 50%;
    background: #E8EAED;
    color: #5E5E5E;
    position: relative;
    z-index: 1;
}

/* Ativo */
.navigation .route-points .point-step.active::before {
    background: #772583;
    color: white;
}

/* Linha até o ativo */
.navigation .route-points .point-step.active ~ .point-step::before {
    background: #E8EAED;
    color: #5E5E5E;
}


.navigation .route-points-details {
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
    height: 0;
    opacity: 0;
    padding-top: 0px;
}

.navigation .route-points-details.show {
    height: auto;
    opacity: 1;
    padding-top: 40px;
}

.navigation .route-points-details .point-number {       
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: #F6F6F6;
    color: #5E5E5E;
    font-size: 16px;
    font-family: 'AzoMonoTest-Medium';
    margin-right: 16px;
    text-align: center;
}

.navigation .route-points-details .route-point-detail {
    margin-bottom: 16px;
}

.navigation .route-points-details .point-number.active { 
    color: white;
    background-color: #772583;
}  

.navigation .route-points-details .point-name {
    width: calc(100% - 72px);
    color: #1F1F1F;
    font-size: 16px;
    font-family: 'AzoMonoTest-Medium';
}

.navigation .route-points-details .point-remove {
    width: 16px;
    height: 16px;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    background-image: url('../images/close.png');
}