:root{ 
  --poi-padding:15px;
  --poi-font-l:34px;     
  --poi-font-m:20px;     
  --poi-font-r:16px; 
}
@media screen and (max-width:1400px) {
    :root{ 
      --poi-font-l:22px;
      --poi-font-m:18px;     
      --poi-font-r:14px;     
    }
}
@media screen and (max-width:480px) {
    :root{ 
      --poi-padding:5%;
      --poi-font-l:20px;
    }
}


.poi{
    padding: 100px 0;
}

.poi .poiAutoTemplate {
    color: black;
    font-size: var(--poi-font-r);
    font-weight: 500;
    letter-spacing: 0;
    margin: 0 auto;
}

.poi .poiAutoTemplate .ph-group-title {
    display: none;
    font-size: 42px;
    font-weight: 900;
    text-align: center;
    letter-spacing: 0.3em;
    background: url(../images/d-4.png) center bottom no-repeat;
    padding-bottom: 35px;
}
.poi .poiAutoTemplate .ph-group-title.poiAutoTemplate-on{
   /* display: block;*/
}

.poi .poiAutoTemplate .ph-group-title img {
    display: none;
}

.poi .poiAutoTemplate .ph-group-title span {
    position: relative;
}

.poi .poiAutoTemplate.poiAutoTemplate-titleHide .ph-group-title {
    display: none !important;
}



.poi .poiAutoTemplate .ph-group,
.poi .poiAutoTemplate.poiAutoTemplate-scrollTab .ph-group {

}

.poi .poiAutoTemplate.poiAutoTemplate-itemScroll .ph-group,
.poi .poiAutoTemplate.poiAutoTemplate-scrollTab.poiAutoTemplate-itemScroll .ph-group {
    flex-wrap: nowrap;
    justify-content: start;
    overflow-x: scroll;
}

.poi .poiAutoTemplate.poiAutoTemplate-changeTab .ph-group {
    display: none;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0 auto;
}

.poi .poiAutoTemplate.poiAutoTemplate-changeTab .ph-group.poiAutoTemplate-on {
    display: flex;
}


.poi .poiAutoTemplate.poiAutoTemplate-menuTrans .ph-menu {
    display: none;
}




.poi .poiAutoTemplate .ph-menu {
    display: block;
    font-size: 24px;
    font-weight: 900;
    background: var(--lightgray);
    border-radius: 0 50px 0 50px;
    position: sticky;
    top: 0;
    z-index: 99;
}
.poi.poi-ticket .poiAutoTemplate .ph-menu{
    font-size: 30px;
}


.poi .poiAutoTemplate .slidecontain {
    display: flex;
    justify-content: center;
    align-items: center;
}

.poi .poiAutoTemplate .slidecontain li {
    display: inline-block;
    flex-shrink: 0;
}

.poi .poiAutoTemplate .slidecontain li a {
    position: relative;
    display: block;
    margin: 0.5em 0.2em;
    text-decoration: none;
    color: black;
    border-radius: 5em;
    text-align: center;
    letter-spacing: 0.2em;
    text-indent: 0.4em;
    transition: all 0.2s;
    padding: 0.2em 1em;
}
.poi.poi-ticket .poiAutoTemplate .slidecontain li a {
     margin: 0.5em;
     letter-spacing: 0.4em;
}
.poi.poi-ticket .poiAutoTemplate .slidecontain li a{
    margin: 0.5em 2em;
    padding: 0.2em 2.5em;
}




.poi .poiAutoTemplate .ph-group-content {
    position: relative;
    flex-shrink: 0;
    text-align: center;
    width: 28%;
    background: white;
    margin: 2.65%;
    border-radius: 15px;
    overflow: hidden;
    border: solid 2px #cdcdcd;
    transition: all 0.2s;
}



.poi .poiAutoTemplate .ph-group-content .ph-group-content-photo {
    
}

.poi .poiAutoTemplate .ph-group-content .ph-group-content-photo a {
    display: block;
    width: 100%;
    overflow: hidden;
    transition: all 0.2s;
}


.poi .poiAutoTemplate .ph-group-content .ph-group-content-photo img {
    width: 100%;
    transition: all 0.2s;
}


.poi .poiAutoTemplate .ph-group-content-tag {
    display: none;
}


.poi .poiAutoTemplate .ph-group-content .ph-group-content-text {
    padding: var(--poi-padding);
    text-align: left;
}


.poi .poiAutoTemplate .ph-group-content-text-name {
    display: block;
    color: black;
    font-size: var(--poi-font-m);
    line-height: 1.4;
}

.poi .poiAutoTemplate .ph-group-content-text-sale {
}

.poi .poiAutoTemplate .ph-group-content-text-sale a {
    display: inline-block;
    color: white;
    background: var(--orange);
    font-size: var(--poi-font-r);
    letter-spacing: 0.1em;
    padding: 0.2em 1em;
    margin:var(--poi-padding);
    margin-left: 0;
    transition: all 0.2s;
}

.poi .poiAutoTemplate .ph-group-content-text-detail a {
    display: block;
    width: 10em;
    font-size: var(--poi-font-r);
    line-height: 1.5;
    letter-spacing: 0.1em;
    color: var(--gray);
}

.poi .poiAutoTemplate .ph-group-content-text-price {
    display: block;
    width: 6em;
    overflow: hidden;
    font-size: var(--poi-font-l);
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--orange);
    text-align: right;
    position: absolute;
    right: var(--poi-padding);
    bottom: var(--poi-padding);
    transform: translateY(0.1em);
}


.poi .poiAutoTemplate .ph-group-content-text-price span {
    font-size: var(--poi-font-r);
}




/*看更多*/

.link-right {
    display: none;
    max-width: 360px;
    text-align: center;
    font-size: var(--poi-font-m);
    color: black;
    letter-spacing: 0.1em;
    padding: 1.5em 0;
    margin: 0 auto;
    background: url(../images/more.png) center bottom no-repeat;
    transition: all 0.2s;
}
.link-right.poiAutoTemplate-on{
    display: block;
}
.link-right:hover {
    color: var(--red);
}

.link-right i {
    display: none;
}




/*JS新增的內容*/
.poi .poiAutoTemplate .slidecontain li a small{
    display: block;
    font-size: 16px;
    letter-spacing: 0.2em;
    font-weight: 400;
    padding-top: 0.3em;
    
}
.poi .poiAutoTemplate .slidecontain li a small span{
    display: inline-block;
    width: 0;
    height: 0;
    border-top: 0.4em solid transparent;
    border-left: 0.5em solid black;
    border-bottom: 0.4em solid transparent;
    padding-right: 0.5em;
}
.poi .poiAutoTemplate .slidecontain li a img{
    display: inline-block;
    position: absolute;
    left: 0;
    top: 0;
    width: 147px;
    animation:sale 0.3s linear infinite alternate;
}
@keyframes sale {
   from { transform:translate(-32%,-42%); filter: brightness(1.1); }
     to { transform:translate(-32%,-48%); filter: brightness(1); }
}









/*hover*/
.poi .poiAutoTemplate .slidecontain li.poiAutoTemplate-on a,
.poi .poiAutoTemplate .slidecontain li a:hover{
    background: var(--orange);
    color: white;
}
.poi .poiAutoTemplate .slidecontain li.poiAutoTemplate-on a small span,
.poi .poiAutoTemplate .slidecontain li a:hover small span{
    border-left: 0.5em solid white;
}
.poi .poiAutoTemplate .ph-group-content:hover{
        transform: translate(5px,5px);
}
.poi .poiAutoTemplate .ph-group-content:hover .ph-group-content-photo img{
        filter: brightness(1.1);
}
.poi .poiAutoTemplate .ph-group-content:hover .ph-group-content-text-sale a{
    background: var(--red);
}












/************POI商品 自動寬度CSS********************/
/************POI商品 自動寬度CSS********************/
/************POI商品 自動寬度CSS********************/
/************POI商品 自動寬度CSS********************/
@media screen and (max-width:1400px) {
    .poi .poiAutoTemplate .ph-menu,
    .poi.poi-ticket .poiAutoTemplate .ph-menu{
        font-size: 18px;
        border-radius: 0;
    }
    .poi .poiAutoTemplate .slidecontain{
        justify-content: flex-start;
        overflow-x: scroll;
    }
    .poi .poiAutoTemplate .slidecontain li a{
        margin: 0.5em 0;
    }
    .poi.poi-ticket .poiAutoTemplate .slidecontain li a,
    .poi.poi-ticket .poiAutoTemplate .slidecontain li a{
       margin: 0.5em 0;
       padding: 0.2em 1.5em;
    }
    .poi .poiAutoTemplate .slidecontain li a small{
        font-size: 14px;
    }
    .poi.poi-ticket .poiAutoTemplate .slidecontain li a img{
            width: 5em;
    }
    @keyframes sale {
       from { transform: translate(-75%,5%); filter: brightness(1.1); }
         to { transform: translate(-75%,10%); filter: brightness(1); }
    }
}
@media screen and (max-width:1100px) {
    .poi .poiAutoTemplate .ph-group-content{
        padding-bottom: 40px;
    }
    .poi .poiAutoTemplate .ph-group-content-text-price{
        right: 0;
        transform: none;
        width: 100%;
        text-align: center;
    }
}

@media screen and (max-width:960px) {
    .poi{
        padding: 10% 0;
    }
    
    .poi .poiAutoTemplate.poiAutoTemplate-changeTab .ph-group{
        justify-content: flex-start;
    }
    .poi .poiAutoTemplate .ph-group-content{
        width: 45%;
        margin: 2.5%;
    }
    .poi .poiAutoTemplate .ph-group-content-text-detail a{
        width: auto;
    }
}



/************POI商品 自動寬度CSS********************/
/************POI商品 自動寬度CSS********************/
/************POI商品 自動寬度CSS********************/
/************POI商品 自動寬度CSS********************/









/*row-4*/
.poi.poi-row4 .poiAutoTemplate .ph-group-content{
    width: 20%;
    margin: 2.5%;
    padding-bottom: 50px;
}
.poi.poi-row4 .poiAutoTemplate .ph-group-content-text-price{
    width: 100%;
    transform:none;
}
.poi.poi-row4 .link-right:hover{
    color: var(--yellow);
}

@media screen and (max-width:1100px) {
    .poi.poi-row4 .poiAutoTemplate .ph-group-content{
        width: 28.3%;
        padding-bottom: 40px;
    }
    
}
@media screen and (max-width:960px) {
    .poi.poi-row4 .poiAutoTemplate .ph-group-content{
        width: 45%;
        margin: 2.5%;
    }
}