.flow_flex {
    font-family: Arial;
}

.step_div_top {
    position: sticky;
    top: 0;
    z-index: 1;
    background-color: #ffffff;
    display: flex;
    justify-content: space-between;
    padding: 10px;
    margin-bottom: 10px;
    box-shadow: 0 3px 6px #0000000d;
}

.step_div hr {
    margin: 1rem 0;
}

.step_div_top > span {
    height: 1.4rem;
    cursor: pointer;
}

.step_div {
    flex: 1 0 auto;
    background-color: #FFF;
    margin-bottom: 1rem;
    padding: 15px;
    transition: all 0.5s;
}

.step_div > div {
    display: none;
}

.show {
    display: block !important;
}

.flow_choose_title {
    font-weight: bold;
    font-size: 22px;
    text-align: center;
}

.step_div label {
    display: flex;
    align-items: center;
    column-gap: 1rem;
    margin: 20px auto;
    border: 1px solid #DFE3E8;
    border-bottom-left-radius: 10px;
    border-top-right-radius: 10px;
    cursor: pointer;
    text-transform: unset;
}

.step_div .label-image {
    min-width: 60px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    background-color: transparent;
}

.flow-prescription .label-image {
    width: 40px;
    height: 40px;
    padding: 0.7rem;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    background-color: transparent;
}

.step_div h3 {
    text-align: center;
}

.step_div .flow-information {
    font-family: Arial;
    text-align: center;
    font-size: 14px;
    margin: 0 auto;
}

.step_div .flow-radio {
    border-color: rgb(193, 193, 193);
    appearance: radio;
    width: 20px;
    height: 20px;
    display: block !important;
    position: unset;
}

.step_div .flow-prescription-fields-wrapper label,
.step_div .label-noborder {
    border: unset !important;
    margin: unset !important;
}

.step_div .flow-prescription .label-noborder {
    color: black;
}

.flow-prescription-header-title h3 {
    font-weight: bold;
    font-size: 22px;
}

.step_div .flow-form-flex {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    column-gap: 10px !important;
    flex-wrap: wrap;
    row-gap: 10px;
}

.step_div .la-h6 {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 0.1em;
}

.step_div .upload-label-btn > svg {
    max-width: 24px;
    /*fill: darkseagreen;*/
    fill: black;
}

.upload-label-btn {
    justify-content: center;
    margin: 0 !important;
}

.step_div .submit-button {
    background-color: rgb(56, 180, 255);
    color: rgb(255, 255, 255);
    border-color: rgb(193, 193, 193);
    width: 100%;
    border: none;
    padding: 15px 10px;
    border-radius: 3px;
    font-size: 16px;
    cursor: pointer;
    text-transform: uppercase;
}

#step_upload_prescription .flow-flex {
    display: flex;
    column-gap: 1.5rem;
}

.step_div .flow-flex {
    display: flex;
    column-gap: 1.5rem;
}

.step_div .flow-column-4 {
    column-gap: 10px !important;
    flex-wrap: wrap;
    row-gap: 10px;
}

#flow-pd-fields-container {
    /*margin-left: 10px;*/
}

#flow-pd-fields-container > div {
    padding: 5px;
}

.step_div select {
    background-position: right 15px center !important;
    border-color: rgb(193, 193, 193);
    border: 1px solid #C1C1C1;
    border-radius: 5px;
    background-color: #fff;
    /* width: 100%; */
    /*padding: 15px 20px;*/
    font-style: normal;
    font-size: 14px;
    font-family: Arial;
    font-weight: 400;
    /*background-image: url(https://cdn.shopify.com/s/files/1/0341/4907/3029/files/Down_arrow.svg?v=1592472800) !important;*/
    /*background-repeat: no-repeat !important;*/
    cursor: pointer;
}

.step_div .prescription-select {
    /*width: 30%;*/
}

.step_div select {
    -webkit-appearance: none;
    background-image: url(https://prod-store.oss-us-west-1.aliyuncs.com/store/assets/lens-handler/img/down_arrow.svg)!important;
    background-repeat: no-repeat!important;
    background-position: right 15px center!important;
    cursor: pointer;
    padding: 15px 40px 15px 20px;
}

.step_div .label-image img {
    border-radius: 10px;
    width: 100%;
    object-fit: contain;
    height: 100%;
}

.step_div .label-title,
.step_div .la-label-title {
    font-size: 16px;
    margin-left: auto;
    color: black;
}

.step_div .lensgroup-header .label-title{
    font-size: 16px;
    margin-left: auto;
    /*color: black;*/
}

.step_div .lensgroup-header .label-description{
    display: flex;
    margin: 5px auto;
    font-size: 12px;
    line-height: 1.5;
    color: #7b7b7b;
}

.step_div .accordion-content .label-title{
    font-size: 14px;
    margin-left: auto;
    color: black;
}

.step_div .label-description {
    display: flex;
    margin: 5px auto;
    font-size: 13px;
    line-height: 1.5;
    color: #7b7b7b;
}

.step_div .label-description > span {
    height: 20px;
    display: flex;
    align-items: center;
}

.step_div .label-price {
    font-size: 14px;
    color: #858585;
    margin-left: auto;
}

#lenses_div .lensgroup-header {
    display: flex;
    align-items: center;
    column-gap: 1rem;
    border-bottom: 1px solid #DFE3E8;
    padding-bottom: 0.6rem;
}

.flow-hr {
    background: #DFE3E8;
    margin: 1rem auto;
    height: 1px;
    display: block !important;
}

.step_div textarea {
    border: 1px solid #C1C1C1;
    font-size: 14px;
    resize: none;
    width: 100%;
    height: 150px;
    outline: none;
    box-shadow: none;
    padding: 15px 20px;
}

.flow-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    background-color: transparent;
}

.flow-img img {
    max-width: 100%;
    max-height: 100%;
}

.flow-footer {
    background-color: #ffffff;
    color: #333;
    text-align: right;
    box-shadow: 0px -10px 14px #0000000d;
    position: sticky;
    bottom: 0;
    padding: 20px 0;
    z-index: 20;
}

#lenses_div label {
    margin: 10px auto;
}

.step_div input[type=radio] {
    display: none;
}

.step_div .review-item {
    display: flex;
    justify-content: space-between;
}

#add_to_cart_div .label-title {
    font-weight: 700;
}

svg {
    height: 100%;
    width: 100%;
}

.la-black {
    color: black;
}

/* toggleAccordion */
.accordion-content {
    padding: 0 18px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out;
}

.accordion-content.open {
    max-height: 5000px; /* 设置一个足够大的高度，确保内容完全展开 */
    transition: max-height 0.5s ease-in-out;
}

/* product */
product-form {
    /* display: none !important; */
}

.flow_flex {
    width: 100%;
    height: 100%;
    overflow: hidden !important;
    background-color: #fff;
}

.flow_flex_right {
    /*overflow: scroll;*/
    overflow-x: auto;
    overflow-y: scroll;
    height: 100%;
}

.flow_flex label {
    padding: 10px 15px;
    /*padding: 0px 15px 10px 15px;*/
}

/* 商品详情页flow尺寸样式显示 */
.flow_flex {
    display: flex;
}

.flow_flex_left2 {
    display: none;
}

.flow_flex_left {
    flex: 0 0 60%;
    max-width: 60%;
}

.flow_flex_left > div {
    padding: 10px;
}

.flow_flex_right {
    float: right;
    flex: 0 0 40%;
    max-width: 40%;
}

.flow-prescription-title {
    width: 50%;
    text-align: center;
    font-family: Arial;
    position: absolute;
    bottom: 0;
    font-size: 16px;
    font-weight: 100;
}

/* 小于600px宽的屏幕 */
@media screen and (max-width: 1024px) {
    .flow_flex {
        display: block;
    }

    .flow_flex_left2 {
        display: block;

    }

    .flow_flex_left2 .flow-img {
        width: 53%;
        max-height: 25% !important;
        height: unset;
    }

    .flow_flex_left2-first {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        background-color: #FDFDFD;
        position: relative;
    }

    .flow_flex_left2 img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain !important;
    }

    .flow_flex_left2-first h3 {
        font-family: Arial;
        position: absolute;
        bottom: 0;
        font-size: 16px;
        font-weight: 100;
        width: 100%;
        text-align: center;
    }

    .flow_flex_left {
        display: none;
        /*width: 100%;*/
        /*max-width: none;*/
    }

    .flow_flex_right {
        width: 100%;
        max-width: none;
    }
}

.step_div label:hover {
    border-color: rgb(56, 180, 255);
}

.tooltip-span {
    cursor: pointer;
    height: 20px;
    width: 20px;
    margin: 0 5px 0 0;
    min-height: 20px;
    min-width: 20px;
}

.select-lens {
    background-color: rgb(56, 180, 255);
    color: rgb(255, 255, 255);
    border-radius: 5px;
    display: block;
    font-weight: 600;
    border: 0;
    outline: 0;
    width: 100%;
    padding: 16px;
    margin: 2px 0;
    cursor: pointer;
}

/* common */
/* 遮罩样式 */
#overlay_html {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff; /* 半透明背景 */
    display: none; /* 默认不显示 */
    justify-content: center;
    align-items: center;
    z-index: 1000; /* 确保遮罩层在最上层 */
    overflow-y: auto;
    overflow-x: auto;
}

/* 弹窗html START */
.flow-popup {
    /*position: absolute;*/
    display: flex;
    /*width: -webkit-fill-available;*/
    position: fixed;
    z-index: 100001; /* 适当调整 z-index */
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%); /* 居中弹窗 */
    width: 100%; /* 限制弹窗宽度 */
    height: 100%; /* 自动高度 */
    overflow: auto;
    background-color: transparent;
    align-items: center;
    justify-content: center;
}

.flow-tooltip-div {
    position: relative;
    background-color: #fff;
    margin: auto;
    padding: 0;
    border: 1px solid #888;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    -webkit-animation-name: latooltipanimatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: latooltipanimatetop;
    animation-duration: 0.4s;
    width: 450px;
    display: flex;
    flex-direction: column;
}

.flow-tooltip-header {
    padding: 15px;
    box-shadow: 0 3px 6px #0000000d;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.flow-tooltip-body {
    padding: 15px;
    flex: 1;
}

.flow-tooltip-div .close-button {
    cursor: pointer;
    display: inline-block;
    width: 30px; /* 根据图片大小调整 */
    height: 30px; /* 根据图片大小调整 */
    background-color: transparent; /* 透明背景 */
    position: relative; /* 相对定位，为伪元素定位做准备 */
}

.flow-tooltip-div .close-button::before {
    content: ''; /* 必须设置，即使是空字符串 */
    display: block; /* 使伪元素占据空间 */
    width: 100%;
    height: 100%;
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAABmJLR0QA/wD/AP+gvaeTAAAE50lEQVR4nO2aT2gcVRzHv7/ZaOYgIQtVMDezQVHBW0uLWy+biK2gB2ER9FZIwJZUPHRmAsERkZfJQWwwPQRvBZE9CFaMgrMQlFL/HLxVKpkN6LHiBg+6q8n+vOzgGmd33m/mbfHPfG67+95v3vvtvM9vZt4ABQUFBQUFBf9XSNJYKeVblnX/9PT0haWlpd/HNagsNBqN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0a8cMxt8losdH/WOXLl36nJlPAdDdV8xdGTIlIIPxQ2Y+obNh6nnebqfTOQngI83YuSpDpgRIjN+X3VnJlrnv+z/Pzs4+S0SBZpfM9wxiBwgegSfKTopEjlkelYsSIDD+SNlJEchRXBmKFyR0GgmMry07KQI5iipDagJ0jZ9FdlIEctSuDKkNoijaIKJRxjciO13q9fohAFcp1UqRY1wZRr40obMEvh/xW5uZn7pTkx/E87wty7JqAH4c1oaIbqfF0X1V1iGio29d/tNflfUdx0l9nK51N9hsNq/XarUOEcUbmSEzP+m67g/yIZul2Wz+VK1Wr05MTDwG4EFAf/KA4Ha4nwQCcLPb7b64urr6S7Yhm2dnZ6dbrVYbpVLpGIDtcW6kFBQUFBQUFPx3+ANTr3SGfzU/zQAAAABJRU5ErkJggg==');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

/* 弹窗html END */

#lenses_div .lensgroup-header-hover:hover {
    border-color: rgb(56, 180, 255) !important;
}

.lensgroup-accordion-head:after {
    content: '';
    color: #000;
    font-weight: bold;
    min-width: 1.25rem;
    width: 1.25rem;
    height: 1.25rem;
    margin-left: auto;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-size: 1.25rem;
}

.lensgroup-accordion-head {
    display: flex;
    align-items: center;
    column-gap: 1rem;
    border-bottom: 1px solid #DFE3E8;
    padding-bottom: 0.6rem;
}

.lensgroup-accordion-head.active {
    border-color: rgb(56, 180, 255) !important;
}

.lensgroup-accordion-head.active:after, .lensgroup-accordion-head.active:hover:after {
    content: "";
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

/* 删除图片 */

#flow-prescription-upload-message {
    text-align: center;
    position: relative;
}

.delete-button {
    position: absolute;
    top: 10px; /* 距离图片顶部的距离 */
    right: 10px; /* 距离图片右侧的距离 */
    width: 30px;
    height: 30px;
    background-color: #fff; /* 按钮背景颜色 */
    border: 2px solid #ccc; /* 按钮边框颜色 */
    border-radius: 50%; /* 使按钮呈圆形 */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1; /* 确保按钮在图片上方 */
}

.delete-button::before {
    content: "×";
    font-size: 18px;
    color: black; /* “×”的颜色 */
    font-weight: bold;
}

#flow-prescription-form .flow-form-item label,
#flow-prescription-form .flow-column-4 label {
    padding: 0;
}

.lensgroup-wrapper .label-description p {
    margin: 0;
}
