/* 商品详情页 - 全新布局样式 */

/* ==================== 面包屑导航 ==================== */
.bread {
    margin: 0;
    padding: 16px 0;
}

.bread .bread_main {
    color: #363636;
    font-size: 12px;
}

.bread .bread_main a {
    color: #666;
    text-decoration: none;
}

.bread .bread_main a:hover {
    color: #fc4f30;
}

.bread_now {
    color: #fc4f30;
}

/* ==================== 基础布局 ==================== */
.product_container {
    background: #fff;
    padding: 0 0 40px;
}

.product_layout {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

/* 左侧主内容区 - 70% */
.product_left {
    /* flex: 0 0 750px; */
    width: 840px;
}

/* 右侧信息区 - 30% */
.product_right {
    /* flex: 0 0 320px; */
    /* width: 265px; */
    width: 300px;
}

/* ==================== 产品基本信息 ==================== */
.product_basic_info {
    background: #fff;
    padding: 20px;
    margin-bottom: 20px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: none;
    border-radius: 12px;
}

/* 产品图片 */
.product_image {
    flex: 0 0 200px;
    width: 200px;
    align-self: flex-start;
}

.main_image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border: 1px solid #e5e5e5;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.main_image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}


/* 产品信息 */
.product_info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    min-height: 200px;
    padding-top: 0;
}

.product_title {
    font-size: 18px;
    font-weight: normal;
    color: #333;
    line-height: 1.6;
    margin: 0 0 16px 0;
}

.product_meta {
    margin-bottom: 16px;
    margin-top: 16px;
}

.product_time {
    font-size: 14px;
    color: #999;
}

.product_info form {
    margin: 0;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* 价格区域 */
.product_price {
    background: transparent;
    border: none;
    padding: 0;
    margin-bottom: 10px;
    display: none;
}

.price_label {
    font-size: 14px;
    color: #666;
}

.price_value {
    font-size: 28px;
    color: #fc4f30;
    font-weight: 600;
    margin: 0 10px 0 30px;
}

.price_value i {
    font-size: 18px;
    font-style: normal;
}

.price_old {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
}

.price_unavailable {
    font-size: 18px;
    color: #928e8d;
    margin-left: 30px;
}

/* 材料、数量等 */
.product_material {
    padding: 0;
    border-bottom: none;
    margin: 0 0 16px 0;
    align-self: flex-start;
}

.product_material label {
    display: inline-block;
    font-size: 14px;
    color: #666;
    margin-right: 8px;
}

.product_material .material_tag {
    display: inline-block;
    padding: 4px 12px;
    border: 1px solid #fc4f30;
    border-radius: 2px;
    font-size: 12px;
    color: #fc4f30;
    background: #fff;
}

.product_material p {
    margin: 0;
    line-height: 1;
}

/* 产品提示框 */
.product_notice {
    /* background: #fff5e6; */
    background: #fff8f0;
    border: 1px solid #ffe6cc;
    padding: 10px;
    /* margin-top: 20px; */
    border-radius: 4px;
}

.product_notice p {
    /* margin: 0; */
    font-size: 12px;
    /* color: #666; */
    color: #8c6239;
    /* line-height: 1.6; */
}

/* 隐藏数量、保障、支付方式 */
.product_quantity,
.product_guarantee,
.product_payment {
    display: none;
}

/* ==================== 详情导航和内容 ==================== */
.product_detail_section {
    background: #fff;
    padding: 0;
    margin-top: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: none;
    border-radius: 12px;
    overflow: hidden;
}

._detail{
    padding: 20px;
}

.detail_nav {
    background: #fff;
    border-bottom: 1px solid #e5e5e5;
    padding: 0 20px;
    width: 90%;
    margin: 0 auto;
}

.detail_nav ul {
    display: flex;
    list-style: none;
}

.detail_nav li {
    text-align: left;
    border-bottom: 2px solid transparent;
    transition: all 0.3s;
    margin-right: 40px;
    padding: 0 15px;
}

.detail_nav li:last-child {
    border-right: none;
    margin-right: 0;
}

.detail_nav li a {
    display: block;
    padding: 12px 0;
    font-size: 16px;
    color: #000;
}

.detail_nav li:hover {
    background: transparent;
}

.detail_nav li:hover a {
    color: #ff6838;
}

.detail_nav li.active {
    background: transparent;
    border-bottom: 3px solid #ff6838;
}

.detail_nav li.active a {
    color: #ff6838;
}

.detail_content {
    padding: 20px;
    min-height: 300px;
    line-height: 1.8;
    background: #fff;
    border: none;
}

.detail_content p {
    margin: 4px auto;
    font-size: 14px;
    color: #333;
    /* text-indent: 2em; */
}

.detail_content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 15px auto;
}

/* 服务介绍样式 */
.detail_content h2,
.detail_content h3 {
    font-size: 16px;
    color: #333;
    font-weight: 600;
    margin: 20px 0 15px 0;
    padding-left: 20px;
    position: relative;
}

.detail_content h2::before,
.detail_content h3::before {
    content: "";
    display: block;
    width: 6px;
    height: 6px;
    background: #fc4f30;
    border-radius: 50%;
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
}

.detail_content ul {
    list-style: none;
    padding: 0;
    margin: 10px 0;
}

.detail_content ul li {
    padding: 5px 0 5px 25px;
    position: relative;
    font-size: 14px;
    color: #666;
    line-height: 1.8;
}

.detail_content ul li::before {
    content: "•";
    position: absolute;
    left: 10px;
    color: #fc4f30;
    font-weight: bold;
}

/* ==================== 右侧边栏模块 ==================== */
.sidebar_module {
    background: #fff;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: none;
}

.sidebar_module:last-child {
    margin-bottom: 0;
}

.module_header {
    background: #fff;
    padding: 16px 20px;
    border: none;
    position: relative;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #f0f0f0;
}

.module_header::before {
    content: "";
    display: block;
    width: 4px;
    height: 16px;
    background: #fc4f30;
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 2px;
}

.module_header h3 {
    font-size: 16px;
    font-weight: normal;
    color: #333;
    margin: 0;
    padding-left: 12px;
    line-height: 1;
}

.module_content {
    padding: 20px;
}

/* 医生卡片 */
.doctor_card {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s;
    padding: 0;
}

.doctor_card:hover {
    transform: none;
}

.doctor_avatar {
    width: 80px;
    height: 80px;
    margin-right: 16px;
    border-radius: 50%;
    overflow: hidden;
    border: none;
    flex-shrink: 0;
    background: #f5f5f5;
}

.doctor_avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.doctor_info {
    flex: 1;
    min-width: 0;
}

.doctor_name {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
    line-height: 1.4;
}

.doctor_rank {
    display: block;
    font-size: 12px;
    color: #666;
    font-weight: normal;
    margin-bottom: 4px;
    line-height: 1.4;
}

.doctor_stats {
    font-size: 12px;
    color: #666;
    line-height: 1.4;
}

.doctor_stats span {
    color: #999;
    font-weight: normal;
}

/* 医院卡片 */
.hospital_card {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s;
    padding: 0;
}

.hospital_card:hover {
    transform: none;
}

.hospital_logo {
    width: 80px;
    height: 80px;
    margin-right: 16px;
    border-radius: 8px;
    overflow: hidden;
    border: none;
    flex-shrink: 0;
    background: #f5f5f5;
}

.hospital_logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hospital_info {
    flex: 1;
    min-width: 0;
}

.hospital_name {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
    line-height: 1.4;
}

.hospital_stats {
    font-size: 12px;
    color: #666;
    line-height: 1.4;
}

.hospital_stats > div {
    margin-bottom: 2px;
}

.hospital_stats > div:last-child {
    margin-bottom: 0;
}

.hospital_stats span {
    color: #999;
    font-weight: normal;
}

/* 同院项目列表 */
.product_list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: space-between;
}

.product_item {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s;
    border: none;
    overflow: hidden;
    flex: 0 0 calc(50% - 6px);
    background: transparent;
}

.product_item:hover {
    transform: translateY(-2px);
}

.product_item:hover .item_title {
    color: #fc4f30;
}

.item_image {
    width: 100%;
    height: 110px;
    overflow: hidden;
    background: #f5f5f5;
    border-radius: 8px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.item_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.item_info {
    padding: 0;
    background: transparent;
    text-align: center;
}

.item_title {
    font-size: 14px;
    color: #333;
    line-height: 1.5;
    margin: 0;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: normal;
    padding: 0 4px;
}

.item_location {
    display: none;
}

/* ==================== 医院环境/荣誉展示 ==================== */
.mt20 {
    margin-top: 15px;
}

.picture-flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    /* border: 1px solid red; */
}

.picture-box {
    /* flex: 0 0 calc(33.333% - 14px); */
    max-width: 230px;
    /* border: 1px solid blue; */
    margin-right: 10px;
    position: relative;
}

.picture-box:nth-child(3n){
    margin-right: 0!important;
}

.picture-box img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* .picture-item-img {
    width: 100%;
    cursor: pointer;
    position: relative;
}

.picture-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
} */


.picture-item-name {
    font-size: 14px;
    color: #fff;
    position: absolute;
    bottom: 40px;
    /* height: 40px; */
    /* line-height: 40px; */
    width: 230px;
    text-align: center;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0.9;
}

.itemT {
    font-size: 12px;
    color: #999;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 0;
    padding: 0;
    line-height: 1.5;
}

/* 图片放大查看器 */
.env-box {
    width: 100%;
    height: 100%;
    position: fixed;
    display: none;
    background-color: rgba(0, 0, 0, 0.92);
    top: 0;
    left: 0;
    z-index: 9999;
    backdrop-filter: blur(5px);
}

.env-box .wide {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.img-wrap {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px;
}

.img-wrap div {
    max-width: 100%;
    max-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.img-wrap div img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
    border-radius: 4px;
}

/* 关闭按钮 */
.env-close {
    position: absolute;
    right: 30px;
    top: 30px;
    width: 50px;
    height: 50px;
    cursor: pointer;
    z-index: 10001;
    transition: all 0.3s;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.env-close:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.1);
}

.env-close::before,
.env-close::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 2px;
    background: #333;
    top: 50%;
    left: 50%;
    border-radius: 1px;
}

.env-close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.env-close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

/* 图片计数器 */
.env-count {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 16px;
    z-index: 10001;
    background: rgba(0, 0, 0, 0.6);
    padding: 6px 16px;
    border-radius: 15px;
    font-weight: normal;
    letter-spacing: 1px;
}

/* 左右切换按钮 */
.env-left,
.env-right {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10001;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.env-left:hover,
.env-right:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-50%) scale(1.1);
}

.env-left {
    left: 30px;
}

.env-right {
    right: 30px;
}

.env-left::before {
    content: "";
    position: absolute;
    width: 12px;
    height: 12px;
    border-left: 2px solid #333;
    border-bottom: 2px solid #333;
    transform: translate(-50%, -50%) rotate(45deg);
    top: 50%;
    left: 52%;
}

.env-right::before {
    content: "";
    position: absolute;
    width: 12px;
    height: 12px;
    border-right: 2px solid #333;
    border-bottom: 2px solid #333;
    transform: translate(-50%, -50%) rotate(-45deg);
    top: 50%;
    left: 48%;
}

/* ==================== 暂无数据样式 ==================== */
.no-data {
    text-align: center;
    padding: 60px 20px;
    color: #999;
    font-size: 14px;
    width: 100%;
}

.no-data p {
    margin: 0;
    font-size: 16px;
    color: #ccc;
}
