.dropdown-ctn{
/*    position: absolute;
    top: -100%;
    left: 440%;*/
    width: 20vw;
    
    display: flex;
    align-items: center;
    gap: 1vw;
    color: #ac2a2f;
    cursor: pointer;
    
    justify-content: end;
    margin: 1vw 0 1vw auto;
    
    padding-bottom: 5vw;
}


.list-dropdown{
    display: flex;
    align-items: baseline;
    flex-direction: column;
    color: #ac2a2f;
    position: relative;
}
.list-dropdown::after{
    position: absolute;
    content: "";
    background: url('/wp-content/themes/swanson/src/image/down.svg') no-repeat;
    background-size: 100%;
    background-position: center;
    width: 10px;
    height: 10px;
    top: 50%;
    right: 5%;
    transform: translate(-50%, -50%);
}

.dropdown-ctn h5,
.list-dropdown h5{
    margin-bottom: 0;
    font-size: 1vw;
    display: flex;
    flex-direction: column;
}

.list-dropdown h5 .eng-order-text{
    font-size: 0.7vw;
}

.select-box{
    border: 1px solid #ac2a2f;
    width: 14vw;
    padding: 0.1vw 2vw 0.1vw 1vw;
    background: #fff;
    height: 2.5vw;
    display: flex;
    align-items: center;
}

.dropdown-ctn .select{ 
    outline: none;
    border: 1px solid #ac2a2f;
    background: #fff;
    color: #ac2a2f;
    font-size: 1vw;
    width: 14vw;
/*    height: 2vw;*/
    padding: 0.5vw 1vw;
    list-style: none;
    display: none;
    z-index: 1;
    position: absolute;
    margin-top: 2.5vw;
    border-top: none;
}
.dropdown-ctn .select.show{
    display: block;
}


.dropdown-ctn .select li{
    position: relative;
    margin-bottom: 5px;
    border-bottom: 1px solid #ac2a2f;
    padding: 0.2vw 0;
}

.dropdown-ctn .select li input{
    position: absolute;
    width: 11vw;
    left:50%;
    top: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    cursor: pointer;
    height: 2.5vw;
}

.dropdown-ctn .select li .eng-order-text-wrapper{
    display: flex;
    flex-direction: column;
    line-height: 1vw;
}

.dropdown-ctn .eng-order-text-wrapper .eng-order-text{
    font-size: 0.7vw;
}

@media(max-width: 425px){
    .dropdown-ctn{
        justify-content: flex-start;
        width: 85vw;
        padding-bottom: 15vw;
        padding-top: 2vw
    }
    .dropdown-ctn h5, .list-dropdown h5{
        font-size: 4vw;
    }
    
    .select-box{
        width: 48vw;
        height: 9vw;
        padding: 0.2vw 3vw;
    }
    
    .dropdown-ctn .select{
        width: 48vw;
        font-size: 4vw;
        margin-top: 9vw;
    }
    
    .dropdown-ctn .select li{
        padding: 0.2vw 2vw;
    }
    
    .dropdown-ctn .eng-order-text-wrapper .eng-order-text,
    .list-dropdown h5 .eng-order-text{
        font-size: 2.5vw;
    }
    
    .dropdown-ctn .select li .eng-order-text-wrapper{
        line-height: 4vw;
    }
}
/*dropdown form end*/

.chineng-section{
    padding-left: 0;
    padding-right: 0;
    margin-top: 7vw;
    margin-bottom: 10vw;
}

.chineng-section .section-wrapper .section-bg{
    width: 100vw;
}

.section-wrapper .chineng-wrapper{
    width: 85vw;
    margin: 0 auto;
}

.breadcrumb-wrapper{
    border-bottom: 1px solid #ac2a2f;
    width: 85vw;
}

.section-wrapper .recipe-wrapper{
/*    width: 75vw;
    margin: 0 auto;*/
    position: relative;
}

.recipe-wrapper .recipe-grid{
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: baseline;
/*    gap: 4vw 2vw;*/
    text-align: center;
    
    width: 65vw;
    margin: 0 auto;
}

.recipe-grid .recipe-grid-wrapper{
    width: 25vw;
    margin: 0 auto;
    padding-bottom: 8vw;
}

.recipe-grid .post-link{
    text-decoration: none;
    color: #ac2a2f;
}

.recipe-box .recipe-img{
    max-width: 462px;
    max-height: 287px;
    width: 25vw;
    height: 15vw;
    border: 2px solid #fff;
    box-shadow: 4px 0 12px rgba(0,0,0,0.5)
}

.recipe-info-wrapper{
    display: flex;
    align-items: center;
    margin-top: 1vw;
}

.recipe-info-wrapper .product-img-ctn{
    display: flex;
    align-items: center;
    width: 8vw;
    max-width: 142px;
}

.recipe-info-wrapper .recipe-info{
    margin-left: 1vw;
    width: 18vw;
    position: relative;
}

.recipe-info-wrapper .recipe-info::after{
    position: absolute;
    content: "";
    background: url('/wp-content/themes/swanson/src/image/chinEng_recipe_frame.svg') no-repeat;
    background-size: 100%;
    background-position: center;
    top: 90%;
/*    left: 46%;*/
    left: 45%;
/*    width: 19vw;*/
    width: 17vw;
    height: 2vw;
    transform: translate(-50%, -50%);
}

.product-img-ctn .product-img{
/*    max-width: 113px;
    width: 6vw;*/
    
    max-width: 77px;
    width: 4vw;
}
.recipe-info .name-wrapper{
    text-align: left;
    margin-bottom: 0.5vw;
}

.name-wrapper .recipe-name-chin{
    font-size: 1.3vw;
    font-weight: 600;
    margin-bottom: 0;
}
.name-wrapper .recipe-name-eng{
    font-size: 0.8vw;
    font-weight: 600;
    margin-bottom: 0;
}

.recipe-info .detail-info-wrapper{
    display: flex;
    align-items: center;
}

.detail-info-wrapper .easiness-ctn,
.detail-info-wrapper .cooking-time-ctn{
    display:flex;
    align-items: flex-start;
}

.easiness-ctn{
    margin-right: 1vw
}

.easiness-ctn .easiness-img img{
    max-width: 20px;
    width: 1vw;
}

.cooking-time-ctn .cooking-time span{
    font-size: 1vw;
}

.info-name{
    display: flex;
    flex-direction: column;
    align-items: baseline;
    margin-right: 0.5vw
}

.info-name .chin{
    font-weight: 600;
    font-size: 1vw;
}
.info-name .eng{
    font-weight: 600;
    font-size: 0.6vw;
}

.button-wrapper{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1vw;
    position: relative;
/*    margin-left: 3vw;*/
    margin-top: 1vw;
}

.button-wrapper .preview-btn,
.button-wrapper .print-btn{
    cursor: pointer;
    max-width: 138px;
    max-height: 43px;
    width: 7vw;
    height: 4vw;
}

.button-wrapper .preview-btn{
    background: url('/wp-content/themes/swanson/src/image/chiEng_preview_btn.svg') no-repeat;
    background-size: 100%;
    background-position: center;
    cursor: pointer;
}
.button-wrapper .print-btn{
    background: url('/wp-content/themes/swanson/src/image/chiEng_print_btn.svg') no-repeat;
    background-size: 100%;
    background-position: center;
}


/*pagination section css*/
/*.pagination-ctn{
    margin-top: 5vw;
}*/

.pagination-ctn .page-numbers{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1vw;
    list-style: none;
    text-decoration: none;
    padding-left: 0;
}

.pagination-ctn .page-numbers li a:not(.next):not(.prev){
    color: #ac2f2a;
    border: 1px solid #ac2f2a;
    width: 2vw;
    height: 2vw;
    border-radius: 50%;
    max-width: 30px;
    max-height: 30px;
    font-size: 1vw;
    transition: all 0.3s ease;
}

.pagination-ctn .page-numbers li a:not(.next):not(.prev):hover{
    background: #ac2a2f;
    color: #fff;
}

.pagination-ctn .page-numbers li .current{
    background: #ac2f2a;
    color: #fff;
    border: 1px solid #ac2f2a;
    width: 2vw;
    height: 2vw;
    border-radius: 50%;
    max-width: 30px;
    max-height: 30px;
    font-size: 1vw;
}

.pagination-ctn .page-numbers li img{
    width: 2.5vw;
    max-width: 36px;
    transition: all 0.3s ease;
}

.pagination-ctn .page-numbers li a:hover img{
    transform: scale(1.2);
}

@media(max-width: 425px){
    .pagination-ctn .page-numbers{
        gap: 2vw;
    }
    .pagination-ctn .page-numbers li .current,
    .pagination-ctn .page-numbers li a:not(.next):not(.prev){
        width: 8vw;
        height: 8vw;
        font-size: 3vw;
    }
    .pagination-ctn .page-numbers li img{
        width: 9vw;
    }
}

/*pagination css end*/

@media(max-width: 580px){
    .chineng-section{
        margin-top: 10vw;
    }
    .chineng-section .section-wrapper .section-bg{
        display: none;
    }
    .chineng-section .section-wrapper .mobile-section-bg{
        display: block !important;
        width: 100vw;
    }
}

@media(max-width: 425px){
    .chineng-section{
        margin-top: 15vw;
    }
    .recipe-wrapper .recipe-grid{
        grid-template-columns: 1fr;
        width: 75vw;
        padding-top: 10vw;
    }
    
    .recipe-grid .recipe-grid-wrapper{
        width: 75vw;
        margin-bottom: 10vw;
    }
    
    .recipe-box .recipe-img{
        max-width: 265px;
        max-height: 168px;
        width: 75vw;
        height: 48vw;
    }
    .recipe-info-wrapper{
        margin-top: 5vw;
    }
    .product-img-ctn .product-img{
        max-width: 66px;
        width: 14vw;
    }
    
    .recipe-info-wrapper .recipe-info{
        width: 47vw;
    }
    .recipe-info-wrapper .product-img-ctn{
        width: 28vw
    }
    .name-wrapper .recipe-name-chin{
        font-size: 4.5vw;
    }
    .name-wrapper .recipe-name-eng{
        font-size: 2.8vw;
    }
    
    .info-name .chin{
        font-size: 3vw;
    }
    .info-name .eng{
        font-size: 2vw;
    }
    .easiness-ctn .easiness-img img{
        width: 3vw;
    }
    .cooking-time-ctn .cooking-time span{
        font-size: 3vw;
    }
    .detail-info-wrapper .easiness-ctn, 
    .detail-info-wrapper .cooking-time-ctn{
        align-items: baseline;
    }
    .recipe-info-wrapper .recipe-info::after{
        width: 50vw;
        height: 5vw;
        top: 95%;
    }
    .button-wrapper{
        padding-top: 2vw
    }
    .button-wrapper .preview-btn, 
    .button-wrapper .print-btn{
        max-width: 80px;
        max-height: 25px;
        width: 23vw;
        height: 9vw;
    }
}



/*frame aniamtion*/
.frameImg{
    position: absolute;
    z-index: -1;
}

.frameImg.frame1{
    max-width: 420px;
    width: 22vw;
    top: 0;
    left: 10%;
/*    transform: translate(-50%, -50%);*/
    opacity: 0;
}
.frameImg.frame1.show{
    opacity: 1;
    transform: translate(-50%, -50%);
    animation-name: frame1;
    animation-duration: 2s;
}
@keyframes frame1{
    from{
        transform: translate(-145%, -50%)
    }
    to{
        transform: translate(-50%, -50%);
    }
}


.frameImg.frame2{
    max-width: 169px;
    width: 9vw;
    top: 3%;
    left: 90%;
/*    transform: translate(-50%, -50%);*/
    opacity: 0;
}
.frameImg.frame2.show{
    opacity: 1;
    transform: translate(-50%, -50%);
    animation-name: frame2;
    animation-duration: 2s;
}
@keyframes frame2{
    from{
        transform: translate(120%, -50%);
    }
    to{
        transform: translate(-50%, -50%);
    }
}


.frameImg.frame3{
    max-width: 359px;
    width: 19vw;
    top: 35%;
    left: 91%;
/*    transform: translate(-50%, -50%);*/
    opacity: 0;
}
.frameImg.frame3.show{
    opacity: 1;
    transform: translate(-50%, -50%);
    animation-name: frame3;
    animation-duration: 2s;
}
@keyframes frame3{
    from{
        transform: translate(25%, -50%);
    }
    to{
        transform: translate(-50%, -50%);
    }
}


.frameImg.frame4{
    max-width: 142px;
    width: 8vw;
    top: 52%;
    left: 10%;
/*    transform: translate(-50%, -50%);*/
    opacity: 0;
}
.frameImg.frame4.show{
    opacity: 1;
    transform: translate(-50%, -50%);
    animation-name: frame4;
    animation-duration: 2s;
}
@keyframes frame4{
    from{
        transform: translate(-250%, -50%);
    }
    to{
        transform: translate(-50%, -50%);
    }
}


.frameImg.frame5{
    max-width: 516px;
    width: 27vw;
    top: 94%;
    left: 12%;
/*    transform: translate(-50%, -50%);*/
    opacity: 0;
}
.frameImg.frame5.show{
    opacity: 1;
    transform: translate(-50%, -50%);
    animation-name: frame5;
    animation-duration: 2s;
}
@keyframes frame5{
    from{
        transform: translate(-132%, -50%);
    }
    to{
        transform: translate(-50%, -50%);
    }
}


.frameImg.frame6{
    max-width: 143px;
    width: 8vw;
    left: 90%;
    top: 82%;
/*    transform: translate(-50%, -50%);*/
    opacity: 0;
}
.frameImg.frame6.show{
    opacity: 1;
    transform: translate(-50%, -50%);
    animation-name: frame6;
    animation-duration: 1s;
}
@keyframes frame6{
    from{
        transform: translate(140%, -50%);
    }
    to{
        transform: translate(-50%, -50%);
    }
}

@media(max-width: 425px){
    .frameImg.frame1{
        width: 25vw;
    }
    
    .frameImg.frame2{
        width: 15vw;
        top: 1%;
    }
    
    .frameImg.frame4{
        width: 15vw;
        left: 5%;
    }
    
    .frameImg.frame5{
        display: none;
    }
    
    .frameImg.frame6{
        width: 15vw;
        left: 95%;
    }
}
