/*-------------CMSPRO內容開始-----------------*/
.locationBased2 .contents2 {
  display: flex; 
  max-width: 1200px;
  margin: 0 auto;
  color: #595959;
  gap: 50px;
  padding: 60px 0;
}

.locationBased2 .contents2 .box2 {
  width: 33.3%;
}

.locationBased2 .contents2 .box2 .imgbox {
  width: 100%;
}

.locationBased2 .contents2 .box2 .imgbox img {
  width: 100% ;
  height: auto;
}

.locationBased2 .contents2 .box2 .textbox {
  padding: 4px;
}



@media only screen and (max-width: 1024px) {

  .locationBased2 .contents2 {
    flex-direction: column;
  }

  .locationBased2 .contents2 .box2 {
    display: flex;
    width: 75%;
    padding: 0 ;
    margin: 15px auto;
  }
  
  .locationBased2 .contents2 .box2 .imgbox {
    width: 25%;
    width: 200px;
    height: 200px;
      object-fit: cover; 
      margin-right: 10px;
      /* padding-right: 10px; */
  }
  

  .locationBased2 .contents2 .box2 .imgbox img {
    width: 100%;
    height: auto;
  }
  
  .locationBased2 .contents2 .box2 .textbox {
    padding: 8px;
    /* display: none; */
    width: 75%;
  }
}


@media only screen and (max-width: 768px) {
  .locationBased2 .contents2 .box2 .imgbox {
    width: 40%;
      object-fit: cover; 
      margin-right: 10px;
      /* padding-right: 10px; */
  }
  
  
  .locationBased2 .contents2 .box2 .textbox {
    width: 60%;
    height: auto;
  }
}

@media only screen and (max-width: 667px) {
  .locationBased2 .contents2 .box2 {
    flex-direction: column;
    padding: 0 ;
    margin: 15px auto;
    align-items: center;
  }

  .locationBased2 .contents2 .box2 .imgbox {
    width: 100%;
    height: auto;
    object-fit: cover; 
    margin-right: 10px;
  }
  
  .locationBased2 .contents2 .box2 h2 {
    padding-bottom: 10px;
  }

  .locationBased2 .contents2 .box2 .textbox {
    width: 100%;
  }
}





main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-family: 'Poppins', sans-serif;
}

main .card {
  width: 24rem;
  height: 36rem;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  /* box-shadow: 0 10px 30px 5px rgba(0, 0, 0, 0.2); */
  color: white;
  box-shadow: 0 1px 1px rgba(0,0,0,0.1), 
  0 2px 2px rgba(0,0,0,0.1), 
  0 4px 4px rgba(0,0,0,0.1), 
  0 8px 8px rgba(0,0,0,0.1),
  0 16px 16px rgba(0,0,0,0.1);
 
  img {
    position: absolute;
    object-fit: cover;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0.9;
    transition: opacity .2s ease-out;
  }

  h2 {
    position: absolute;
    inset: auto 30px 30px 30px;
    margin: 0 auto;
    transition: inset .3s .3s ease-out;
    font-weight: normal;
    text-transform: uppercase;
    text-align: center;
    text-shadow: 0 10px 30px 5px rgba(0, 0, 0, 0.5);
    
  }
  
  p, a {
    position: absolute;
    opacity: 0;
    max-width: 80%;
    transition: opacity .3s ease-out;
  }
  
  p {
    inset: auto auto 70px 30px;
  }
  
  a {
    inset: auto auto 40px 30px;
    color: inherit;
    text-decoration: none;
  }
  
  &:hover {
    background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,1));;
  }

  &:hover h2 {
    inset: auto 30px 350px 30px;
    transition: inset .3s .1s ease-out;
  }
  
  &:hover p {
    opacity: 1;
    transition: opacity .3s .1s ease-in;
  }
  
  &:hover img {
    transition: opacity .3s ease-in;
    opacity: 0.2;
    background: #000;
  }


}

/* .card:hover .card-content {
  background: #000;
} */

.material-symbols-outlined {
  vertical-align: middle;
}


.product_wrap.locationBased3 {
  max-width: 1200px;
  gap: 30px ;
  justify-content: center;
  margin: 0 auto;
}

@media only screen and (max-width: 1024px) {
  .product_wrap.product_wrap.locationBased3 {
    display: none;
  }
}

.locationBased2 {
  display: none;
}