@media (max-width: 1440px) {
  .comm-wrapper .main-content {
    max-width: 1180px;
  }

  .comm-wrapper .header-community input {
    width: 80%;
  }

  .comm-wrapper .content-container-1 {
    overflow-x: auto;
  }

  .comm-wrapper .content-container-2 {
    grid-template-columns: repeat(4, 1fr);
  }

  .comm-wrapper .content-container-1 .content-box-1 {
    min-width: calc((1100px - 80px) / 3);
  }
}

@media (max-width: 1149px) {
  .comm-wrapper .content-container-2 {
    grid-template-columns: repeat(3, 1fr);
  }

  .comm-wrapper .content-container-2 .content-box-1 {
    max-width: 100%;
    flex-shrink: 0;
  }
}

@media (max-width: 1178px){
  .comm-wrapper .body-community .community-header nav a{
    font-size: 20px;
    margin-right: 30px;
  }

  .comm-wrapper .select-com{
    padding: 18px 50px 28px 18px;
  }

  .comm-wrapper .select-com a{
    font-size: 16px;
  }

  .comm-wrapper .header-community p{
    width:100%;
    grid-column-start: 1;
    grid-column-end: 3;
  }

  .comm-wrapper .select-com {
    padding: 20px 45px 25px 20px;
    max-height: 70px;
    top: 27px;
  }
}

@media (max-width: 1000px) {
  /* community */
  .comm-wrapper.header-community input{
    grid-column-start: 1;
    grid-column-end: 3;
    max-width: 50%;
    grid-row-start: 3;
    justify-self: start;
    padding-left: 50px;
    background-position-x: 0px;
    background-position-y: -1px;
    background-size: 45px;
    margin-top: 20px;
  }

  .comm-wrapper .profile-container .community-header{
    flex-direction: column;
    border-bottom: unset;
  }

  .comm-wrapper .community-header nav{
    border-bottom: 2px solid var(--black);
  }

  .comm-wrapper .body-community .community-header nav a {
    font-size: 19px;
  }

  /* select */
  .comm-wrapper .sel-menu-container::before{
    width: 100%;
    top: -2px;
    border-radius: unset;
    border-radius: 0px 0px 10px 10px;
    right: -2px;
    z-index: 1;
  }

  .comm-wrapper .sel-menu-map::before{
    height: 425px;
  }

  .comm-wrapper .menu-showed{
    left: 20px;
    z-index: 2;
  }

  .comm-wrapper .menu-map-content{
    right: unset;
    z-index: 2;
    width: 100%;
    padding: 0px;
  }

  .comm-wrapper .menu-map-content > *{
    margin: 0px 20px;
  }

  .comm-wrapper .use-own-loc{
    margin: 0px;
  }

  .comm-wrapper .menu-map-content button{
    padding: 12px 60px;
    font-size: 18px;
  }

  .comm-wrapper .menu-map-content .custom-select{
    height: 55px;
    font-size: 16px;
    min-width: 210px;
  }

  .comm-wrapper .selected-select{
    border-top: 2px solid var(--black);
  }

  .comm-wrapper .sel-menu-container::before {
    width: calc(100% - 2px);
    left: 0;
  }

  .comm-wrapper .menu-map-content img{
    width: 100%;
  }

  .comm-wrapper .use-own-loc a{
    font-size: 16px;
  }

  .comm-wrapper .menu-map-content p:nth-child(1){
    font-size: 12px;
  }

  .comm-wrapper .load-btn {
    font-size: 18px;
  }
}


@media (max-width: 870px) {
  .comm-wrapper .content-container-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .comm-wrapper .load-btn {
    font-size: 17px;
  }
}


@media screen and (max-width: 768px){
  .comm-wrapper .main-content {
    padding-bottom: 80px;
  }

  .comm-wrapper .header-community input{
    background-position-y: -7px;
    min-width: 100%;    
  }

  .comm-wrapper .profile-container .community-header{
    padding: 0;
  }

  .comm-wrapper .body-community .community-header nav{
    display: none;
  }

  .comm-wrapper #tab-select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    display: block;
    width: 100%;
    min-height: 45px;
    border-radius: 5px;
    font-size: 18px;
    font-family: "Work Sans", sans-serif;
    padding: 12px;
    color: var(--black);
    outline: none;
    background-image: url('../img/icons/carrito_select.svg');
    background-size: 22px;
    background-position: right center;
    background-repeat: no-repeat;
    background-position-x: 98%;
    background-position-y: 55%;
  }
  .comm-wrapper .select-com{
    background-size: 22px;
    background-position-x: 98%;
    padding: 12px 50px 12px 10px;
  }

  .comm-wrapper .select-com:first-of-type{
    border-top: 2px solid var(--light-grey);
    margin-top: 10px;
  }

  .comm-wrapper .select-com:first-of-type:hover{
    border-top: 2px solid var(--black);
  }
}


@media (max-width: 600px) {
  .comm-wrapper .header-community {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .comm-wrapper .header-community input{
    background-position-y: -8px;
    min-width: 100%;
    margin: 20px 0;
  }

  .comm-wrapper .content-container-2 {
    display: flex;
    justify-content: center;
  }

  .comm-wrapper .content-container-2 .content-box-1 {
    max-width: 80%;
    flex-shrink: 0;
  }

  .comm-wrapper .header-community {
    padding: 40px 0;
  }

  .comm-wrapper .select-com:first-of-type {
    margin-top: 0;
  }
}

@media (max-width: 590px){
  /* selects **/
  .comm-wrapper .select-com{
    padding: 18px 50px 10px 18px;
  }

  .comm-wrapper .menu-map-content{
    row-gap: 5px;
  }

  .comm-wrapper .sel-menu-map::before{
    height: 685px;
  }

  .comm-wrapper .menu-map-content form{
    grid-column-start: 1;
    grid-column-end: 3;
    margin-right: 20px;
    gap: 4px;
  }

  .comm-wrapper .menu-map-content form label,
  .comm-wrapper .menu-map-content div p:nth-child(1){
    font-size: 14px;
  }

  .comm-wrapper .menu-map-content .custom-select{
    height: 50px;
  }

  .comm-wrapper .menu-map-content button{
    padding: 10px 55px;
    font-size: 16px;
  }

  .comm-wrapper .menu-map-content p:nth-child(1){
    max-width: 90%;
  }

  .comm-wrapper .menu-map-content div{
    grid-column-start: 1;
    grid-column-end: 3;
  }
}

@media (max-width: 570px) {
  .comm-wrapper .sel-menu-map::before{
    height: 605px;
  }
}

@media (max-width: 480px) {
  .comm-wrapper .main-content {
    padding: 40px 20px;
    padding-bottom: 60px;
  }

  .comm-wrapper .content-container-1 .content-box-1 {
    min-width: 350px;
  }

  .comm-wrapper .load-btn {
    font-size: 16px;
    margin-top: 40px;
    width: 80%;
  }

  .comm-wrapper .use-own-loc a {
    font-size: 15px;
  }
}
