.poiAutoTemplate,
.poiAutoTemplate * {
    box-sizing: border-box;
}

.poiAutoTemplate {
    font-family: 'Noto Sans TC', sans-serif;
    font-weight: 400;
    font-size: var(--poi-fontSize);
}

.poiAutoTemplate {
    width: 90%;
    margin: var(--poi-padding) auto;
    position: relative;
}

/*.poiAutoTemplate.poiAutoTemplate-center {
    margin: 0 auto;
}*/

.poiAutoTemplate img {
    width: 100%;
}

.poiAutoTemplate .ph-group-title {
    display: none;
}

.poiAutoTemplate .ph-group-title img {
    display: none;
}

.poiAutoTemplate .ph-group-title span {
    position: relative;
    display: inline-block;
}

.poiAutoTemplate.poiAutoTemplate-titleHide .ph-group-title {
    display: none !important;
}

.poiAutoTemplate .ph-group,
.poiAutoTemplate.poiAutoTemplate-scrollTab .ph-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.poiAutoTemplate.poiAutoTemplate-itemScroll .ph-group,
.poiAutoTemplate.poiAutoTemplate-scrollTab.poiAutoTemplate-itemScroll .ph-group {
    flex-wrap: nowrap;
    justify-content: start;
    overflow-x: scroll;
}

.poiAutoTemplate.poiAutoTemplate-changeTab .ph-group {
    display: none;
}

.poiAutoTemplate.poiAutoTemplate-changeTab .ph-group.poiAutoTemplate-on {
    display: flex;
}


.poiAutoTemplate.poiAutoTemplate-menuTrans .ph-menu {
    display: none;
}


.poiAutoTemplate .ph-menu {
    position: sticky;
    left: 0;
    top: 0;
    z-index: 99;
}

.poiAutoTemplate .slidecontain {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 0.05em;
}

.poiAutoTemplate .slidecontain li {
    display: inline-block;
    flex-shrink: 0;
}

.poiAutoTemplate .slidecontain li a {
    position: relative;
    display: block;
    padding: 0.3em 0.9em;
    margin: 4px;
    text-decoration: none;
    color: #bb4045;
    background: white;
    border-radius: 5em;
    border: 4px #bb4045 solid;
    transition: all 0.2s;
}

.poiAutoTemplate .slidecontain li:hover a {
    background: #ffd98c;
}

.poiAutoTemplate .slidecontain li.poiAutoTemplate-on a {}

.poiAutoTemplate .slidecontain li.on a {
    background: #bb4045;
    color: white;
}



.poiAutoTemplate .ph-group-content {
    position: relative;
    border-radius: 15px;
    padding: var(--poi-padding);
}

.poiAutoTemplate-box1 .ph-group-content {
    width: 100%;
}

.poiAutoTemplate-box2 .ph-group-content {
    width: calc(100% / 2 - 30px);
}

.poiAutoTemplate-box3 .ph-group-content {
    width: calc(100% / 3);
}

.poiAutoTemplate-box4 .ph-group-content {
    width: calc(100% / 4 - 30px);
}

.poiAutoTemplate-box5 .ph-group-content {
    width: calc(100% / 5 - 30px);
}

.poiAutoTemplate-box6 .ph-group-content {
    width: calc(100% / 6 - 30px);
}


.poiAutoTemplate .ph-group-content .ph-group-content-photo {
    width: 100%;
    height:0;
    padding-bottom: 50%;
    border-radius: 15px;
    overflow: hidden;
}

.poiAutoTemplate .ph-group-content .ph-group-content-photo a {
    display: block;
}

.poiAutoTemplate .ph-group-content .ph-group-content-photo a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translateY(-12%);
}

.poiAutoTemplate .ph-group-content .ph-group-content-text {
    width: 100%;
    border-radius: 15px;
    text-align: center;
    padding: var(--poi-padding);
}



.poiAutoTemplate .ph-group-content-tag {
    display: none;
}


.poiAutoTemplate .ph-group-content-text-name {
    display: block;
    font-size: var(--poi-fontSize);
    color: black;
    line-height: 1.4;
    letter-spacing: 0.05em;
    font-weight: 500;
    padding-bottom: var(--padding);
}

.poiAutoTemplate .ph-group-content-text-sale,
.poiAutoTemplate .ph-group-content-text-sale a {
    display: none;
}

.poiAutoTemplate .ph-group-content-text-detail,
.poiAutoTemplate .ph-group-content-text-detail a {
    display: none;
}

.poiAutoTemplate .ph-group-content-text-price {
    display: block;
    width: 100%;
    font-size: calc(var(--poi-fontSize) * 1.8);
    font-weight: 700;
    color: #ff6000;
        letter-spacing: 0;
}

.poiAutoTemplate .ph-group-content-text-price span {
    font-size: calc(var(--poi-fontSize) * 0.75);
}



.poiAutoTemplate .link-right {position: absolute;right: 0;bottom:-3em; background: #ffde00; border-radius: 4em;color: #000;padding: var(--padding);}




/*hover*/
.poiAutoTemplate .ph-group-content:hover{
    transform: translate(3px,3px);
}
.poiAutoTemplate .ph-group-content:hover .ph-group-content-text {
    background: #fffce4;
}

.poi-yellow .poiAutoTemplate .ph-group-content:hover .ph-group-content-text {
    background: #fffce4;
}
.poi-blue .poiAutoTemplate .ph-group-content:hover .ph-group-content-text {
    background: #d9fff8;
}
.poi-red .poiAutoTemplate .ph-group-content:hover .ph-group-content-text {
    background: #fff0e4;
}
.poi-green .poiAutoTemplate .ph-group-content:hover .ph-group-content-text {
    background: #ddffdc;
}
.poi-blue2 .poiAutoTemplate .ph-group-content:hover .ph-group-content-text {
    background: #eaf8ff;
}
.poiAutoTemplate .link-right:hover{transform: translateX(5px);} 





/************POI商品 自動寬度CSS********************/
/************POI商品 自動寬度CSS********************/
/************POI商品 自動寬度CSS********************/
/************POI商品 自動寬度CSS********************/
@media screen and (max-width:960px) {
    .poiAutoTemplate-box3 .ph-group-content {
        width: calc(100% / 2);
    }
}

@media screen and (max-width:640px) {
    .poiAutoTemplate-box3 .ph-group-content {
        width: 100%;
            padding: var(--poi-padding) 0;
    }
}



/************POI商品 自動寬度CSS********************/
/************POI商品 自動寬度CSS********************/
/************POI商品 自動寬度CSS********************/
/************POI商品 自動寬度CSS********************/




