body {
    background-color: #f7f7f7;
    width: 100vw;
    overflow-x: hidden;
}

body,
div,
a,
h2,
h3,
p,
ul,
li {
    margin: 0;
    padding: 0;
    list-style-type: none;
    text-decoration: none;
}

img {
    width: 100%;
}

.container {
    width: 100vw;
}

.banner {
    width: 100vw;
}

.menu {
    position: relative;
    top: -35vw;
    display: flex;
    width: 92vw;
    margin: 4vw;
    flex-wrap: wrap;
    justify-content: space-between;
}

.menu .item {
    width: 44.667vw;
    height: 37.333vw;
    font-size: 5.333vw;
    box-sizing: border-box;
    margin-bottom: 2.667vw;
    /* padding: 6.667vw 0 0 4vw; */
    color: #fff;
}

.item h3 {
    font-weight: 500;
    position: relative;
    top: -36vw;
    left: 4vw;
}

.contact {
    position: relative;
    top: -40vw;
    /* height: 26.667vw; */
    margin-left: 4vw;
}

.contact h2 {
    font-size: 4vw;
}

.contact p {
    font-size: 3.2vw;
    margin: 1.333vw 0;
}

.tab-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 48px;
    background: white;
    display: flex;
    padding-bottom: env(safe-area-inset-bottom);
}

.tab-bar-border {
    background-color: rgba(0, 0, 0, 0.33);
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 1px;
    transform: scaleY(0.5);
}

.tab-bar-item {
    flex: 1;
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.tab-bar-item .icon_tabbar {
    width: 8vw;
}

.tab-bar-item-text {
    font-size: 3vw;
}

.active {
    color: #ef7b26;
}

.faultContent {
    width: 100vw;
    padding-bottom: 6vw;
    font-size: 3.467vw;
    background-color: #ededed;
}

.faultContent ul {
    padding: 0 4vw;
    list-style: none;
    display: flex;
    justify-content: space-between;
    line-height: 13.333vw;
    border-bottom: 1px solid #d9d9d9;
}

.faultContent li {
    display: flex;
    justify-content: space-between;
    align-content: center;
    align-items: center;
}

.faultContent .red {
    display: block;
    padding-right: 0.667vw;
    color: #ff0000;
    text-align: end;
}

.faultContent input[type="text"],
.faultContent input:focus[type="text"],
.faultContent textarea {
    width: 60vw;
    text-align: right;
    background-color: #ededed;

}

.faultContent input,
.faultContent input:focus {
    border: none;
}

.faultContent textarea {
    width: 92vw;
    height: 26.667vw;
    border-radius: 10px;
}

.faultContent .type {
    width: 18.8vw;
    height: 7.867vw;
    line-height: 7.867vw;
    text-align: center;
    margin: 2.667vw 1.333vw 0 0;
    border: 1px solid #808080;
    border-radius: 4vw;
}

.faultContent .noboder {
    border: none;
}

.btn {
    display: flex;
    justify-content: space-around;
    margin: 4vw 0;
}

.btn .cancel {
    width: 30vw;
    height: 12vw;
    border-radius: 6.667vw;
}

.btn .submit {
    width: 30vw;
    height: 12vw;
    border-radius: 6.667vw;
    border: none;
    background-color: #ef7b24;
}

.pad4 {
    width: 92vw;
    padding: 0 4vw 0 4vw ;
}

.content h3 {
    font-size: 3.467vw;
}

.accessoryList {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 4vw 0;
}

.accessory {
    display: flex;
    flex-wrap: wrap;
    width: 44.667vw;
    margin-bottom: 2.667vw;
}

.accessory img {
    border-radius: 2vw 2vw 0 0;
    box-shadow: 0 0 2vw rgba(128, 128, 128, 20%);
}

.accessory p {
    display: flex;
    justify-content: space-between;
    font-size: 3.733vw;
    color: #fff;
    height: 9.333vw;
    width: 44.667vw;
    line-height: 9.333vw;
    border-radius: 0 0 2vw 2vw;
    padding: 0 2vw;
    background-color: #5a5a5a;
}

.title .price {
    padding-left: 2vw;
    color: #ff5000;
}

.course-nav {
    display: flex;
    z-index: 999;
    align-items: center;
    text-align: center;
    top: 0;
    left: 0;
    right: 0;
    height: 48px;
    background: white;
}

.course-nav-return {
    width: 6vw;
}

.course-nav-return img {
    width: 3vw;
    height: 4vw;
}

.course-nav-title {
    flex: 1;
}

.course-cate {
    display: flex;
    margin-bottom: 4.667vw;
}

.course-cate img {
    width: 32vw;
    height: 24vw;
}

.course-cate-desc {
    padding: 0 4vw;
}

.course-cate-desc h3 {
    font-size: 4vw;
    padding: 2vw 0;
}

.course-cate-desc p {
    font-size: 2.933vw;
}

.isShowConfirm {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 5vw;
    background: #f7f7f7;
    border-radius: 10px;
}

.isShowConfirm #password {
    width: 60vw;
    height: 10vw;
    line-height: 10vw;
    font-size: 8vw;
}

.isShowConfirm .warning {
    color: #ff0000;
}

.video-container {
    width: 100vw;
    overflow: hidden;
}

#main-video {
    width: 100vw;
    margin: 0;
    padding: 0;
    /* margin: 0 26.667vw; */
}

.video-title {
    display: block;
    height: 13vw;
    line-height: 13vw;
    border-bottom: 1px solid #e0e0e0;
}

.video-title .icon {
    padding: 0.5vw;
    color: #949494;
    border: 1px solid #949494;
    border-radius: 1vw;
    margin-right: 1vw;
}

.directory-container .active {
    color: #4076ff;
}

.directory-container .active .icon {
    color: #4076ff;
    border: 1px solid #4076ff;
}

.solution {
    width: 92vw;
    height: 46.666666666667vw;
    margin-bottom: 2.7vw;
    background-size: 100% 100%;
    color: #fff;
}

.solution .title {
    display: block;
    font-size: 4.3vw;
    padding: 5.3vw 0 0 5.3vw;
}

.solution .desc {
    display: block;
    font-size: 3.2vw;
    padding: 1.3vw 0 0 5.3vw;
}

.seasoning {
    background-image: url('../images/seasoning.png');
}

.ingredients {
    background-image: url('../images/ingredients.png');
}

.generatrix {
    background-image: url('../images/generatrix.png');
}

.content,
.accessoryList,
.directory-container {
    padding: 0 4vw;
    margin: 2vw 0 13vw 0;
    background-color: #f7f7f7;
}

/* .ct_detail { background: #fff; padding: 4vw; margin-bottom: 3vw; border-radius: 2vw; box-shadow: 0px 0px 8px #e2e2e2; font-size: 3.5vw;}
.ct_detail_1 {display: flex; flex-direction: row; justify-content: space-between;}
.ct_left{ flex:2; margin: 0 1.5vw 1.5vw 0;}
.ct_left .title{ display: flex; color: #ef7b24; font-size: 4.6vw; font-weight: bolder; margin-bottom: 1.5vw}
.ct_left .name { padding-right: 1vw; }
.ct_left .video-icon{ width: 20vw; height: 6vw; display: flex; align-items: center; }
.ct_right { flex:1; width: 30vw;}
.video-icon image{ height: 7vw; float: left;}
.ct_detail_item{ display: flex; flex-direction: row; flex-wrap:wrap; padding: 4px; border: 1px solid #dfdfdf; margin-left: -1px; margin-bottom: -1px ;}
.mark {margin-top: 2vw; font-size: 3vw;}
.red { font-size: 4vw; color: red; font-weight: bolder; padding-bottom: 3vw;}
#myvideo{ width:100%; height:450rpx;} */

.table {
    background: #fff;
    padding: 4vw;
    margin-bottom: 3vw;
    border-radius: 2vw;
    box-shadow: 0px 0px 8px #e2e2e2;
    font-size: 3.5vw;
}

.header {
    display: flex;
    margin-bottom: 1.5vw;
}

.header .title {
    padding-right: 1vw;
    color: #ef7b24;
    font-size: 4.6vw;
    font-weight: bolder;
}

.header .video-icon,
.image-icon {
    width: 20vw;
}

.video-icon image {
    height: 7vw;
    float: left;
}

.table .tr {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.td {
    flex: 38.5vw;
    padding: 4px;
    border: 1px solid #dfdfdf;
    margin-left: -1px;
    margin-bottom: -1px;
}

.mark {
    margin-top: 2vw;
    font-size: 3vw;
}

.red {
    font-size: 4vw;
    color: red;
    font-weight: bolder;
}

#videoContainer {
    width: 100%;
    height: 450rpx;
    position: absolute;
    display: none;
    cursor: pointer;
    z-Index: 9999;
    background-color: #000;
}

#imageContainer {
    position: absolute;
    display: none;
    cursor: pointer;
    z-Index: 9999;
}

/* SOP Page Styles */
.sop-container {
    padding: 4vw;
    background-color: #f7f7f7;
    min-height: 100vh;
    padding-bottom: 15vw;
}

.sop-item {
    background: #fff;
    padding: 4vw;
    margin-bottom: 3vw;
    border-radius: 2vw;
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.sop-item:active {
    transform: scale(0.98);
    background-color: #f0f0f0;
}

.sop-item h3 {
    font-size: 4vw;
    color: #333;
    font-weight: 500;
}

.sop-item .arrow {
    width: 2.5vw;
    height: 2.5vw;
    border-top: 2px solid #ccc;
    border-right: 2px solid #ccc;
    transform: rotate(45deg);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 5vw;
    border-radius: 4vw;
    width: 85%;
    max-width: 600px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close {
    position: absolute;
    right: 4vw;
    top: 3vw;
    color: #aaa;
    font-size: 8vw;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.close:hover,
.close:focus {
    color: #333;
    text-decoration: none;
}

.modal-title {
    font-size: 4.8vw;
    color: #ef7b24;
    font-weight: bold;
    margin-bottom: 4vw;
    padding-right: 8vw;
    border-bottom: 1px solid #eee;
    padding-bottom: 2vw;
}

.sop-detail-item {
    margin-bottom: 6vw;
}

.sop-detail-title {
    font-size: 3.8vw;
    color: #444;
    margin-bottom: 2vw;
    line-height: 1.5;
}

.sop-detail-img {
    width: 100%;
    border-radius: 2vw;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    display: block;
    margin: 0 auto;
}

.no-content {
    text-align: center;
    padding: 10vw;
    color: #999;
    font-size: 4vw;
}


.switch-language-box {
  display: flex;
  align-items: center;
  background-color: #f7f7f7;
  border-radius: 30rpx;
  padding: 8rpx 20rpx;
  box-shadow: 0 2rpx 10rpx rgba(0, 0, 0, 0.1);
}

.lang-content {
    display: flex;
    line-height: 80rpx;
    background-color: #f7f7f7;
    padding-bottom: 10px;
    justify-content: flex-start;
    padding: 2vw 4vw;
    background-color: transparent;
}

.lang-btn {
  font-size: 26rpx;
  color: #999;
  padding: 0 10rpx;
  font-weight: 500;
  transition: all 0.3s;
}

.lang-btn.active {
  color: #333;
  font-weight: bold;
  font-size: 28rpx;
}

.divider {
  color: #ccc;
  font-size: 24rpx;
  margin: 0 3vw;
}