/* 心血管篩查 */

.cv-price-tag {
    font-size: 16px;
    color: var(--primary-color);
    margin: 0 0 15px 0;
    display: block;
}

.cv-price-tag strong {
    font-size: 20px;
}

.op-detail-intro-content p:last-of-type {
    margin-bottom: 16px;
}

.cv-coorg {
    font-size: 16px;
    color: var(--tcm-text-muted, #666);
    display: block;
    margin-bottom: 25px;

}

.cv-coorg strong {
    color: var(--primary-color);
    font-weight: 500;
}

/* 五項特點網格 */
.op-detail-highlights-section .op-detail-highlights {
    grid-template-columns: repeat(3, 1fr);
}

.op-detail-highlights-section .op-detail-highlight:nth-child(4),
.op-detail-highlights-section .op-detail-highlight:nth-child(5) {
    grid-column: span 1;
}

@media (min-width: 992px) {
    .op-detail-highlights-section .op-detail-highlights {
        grid-template-columns: repeat(6, 1fr);
    }

    .op-detail-highlights-section .op-detail-highlight:nth-child(-n+3) {
        grid-column: span 2;
    }

    .op-detail-highlights-section .op-detail-highlight:nth-child(4) {
        grid-column: 2 / span 2;
    }

    .op-detail-highlights-section .op-detail-highlight:nth-child(5) {
        grid-column: 4 / span 2;
    }
}

@media (max-width: 767px) {
    .op-detail-highlights-section .op-detail-highlights {
        display: flex;
        gap: 14px;
        margin-top: 24px;
        /* margin-left: -15px; */
        margin-right: -15px;
        padding: 0 15px 4px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .op-detail-highlights-section .op-detail-highlights::-webkit-scrollbar {
        display: none;
    }

    .op-detail-highlights-section .op-detail-highlight {
        flex: 0 0 min(330px, calc(100vw - 60px));
        scroll-snap-align: start;
        grid-column: unset;
    }

    .op-detail-highlights-section .op-detail-highlight:hover {
        box-shadow: none;
    }

}

/* 四步流程 */
.cv-process {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 991px) {
    .cv-process {
        grid-template-columns: repeat(1, 1fr);
    }
}


/* 健康資訊 */
.cv-health-section {
    padding: 48px 0;
    background: var(--tcm-cream, #faf8f5);
}

.cv-health-box {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.cv-health-title {
    font-size: 36px;
    font-family: var(--family-font);
    font-weight: 500;
    margin-bottom: 20px;
    color: var(--tcm-text, #333);
}

.cv-health-box p {
    margin-bottom: 16px;
    line-height: 1.8;
    color: var(--tcm-text-muted, #666);
}

/* 影音雙欄 */
.cv-video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin: 32px 0 8px;
    text-align: left;
}

.cv-video-item:only-child {
    grid-column: 1 / -1;
    max-width: 720px;
    margin: 0 auto;
    width: 100%;
}

.cv-video-title {
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 12px;
    color: var(--tcm-text, #333);
}

.cv-video-frame {
    position: relative;
    aspect-ratio: 16 / 9;
    /* background: #000; */
    /* border: 1px solid var(--tcm-border, #e2e8e4); */
    overflow: hidden;
    /* box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08); */
}

.cv-video-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.cv-link-list {
    list-style: none;
    padding: 0;
    margin: 24px 0 0;
    text-align: left;
    display: inline-block;
}

.cv-link-list li {
    margin-bottom: 8px;
}

.cv-link-list a {
    color: var(--primary-color);
    text-decoration: none;
    transition: opacity 0.2s;
}

.cv-link-list a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.cv-social-note {
    margin-top: 16px;
    font-size: 0.95rem;
    color: var(--tcm-text-muted, #666);
}

/* 日曆 */
.appoint-page-section #cv-calendar .layui-laydate {
    box-shadow: none;
    border: none;
    width: 100%;
}

.appoint-page-section #cv-calendar .layui-laydate-static {
    width: 100%;
}

.appoint-page-section #cv-calendar .layui-laydate-header {
    border-bottom: 1px solid var(--tcm-border);
}

.appoint-page-section #cv-calendar .layui-laydate-content td.layui-this {
    background-color: var(--primary-color) !important;
}

.appoint-page-section #cv-calendar .layui-laydate-content td:hover {
    background-color: var(--tcm-red-light);
}

/* 時段網格 */
#cv-time-slots .time-slots {
    display: none;
}

#cv-time-slots .time-slots.is-active {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

/* 分店提示 */
.cv-clinic-options {
    padding: 14px 16px;
    border: 1px solid var(--tcm-border);
    background: var(--tcm-cream);
}

.cv-clinic-options .layui-form-radio {
    margin: 0;
    padding: 10px 14px;
    background: #fff;
    border: 1px solid var(--tcm-border);
    white-space: normal;
    line-height: 1.6;
}

.cv-clinic-options .layui-form-radioed {
    border-color: var(--primary-color);
    background: var(--tcm-red-light);
}

@media (max-width: 767px) {
    .cv-promo-section {
        padding-bottom: 32px;
    }

    .cv-video-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    #cv-time-slots .time-slots {
        grid-template-columns: repeat(2, 1fr);
    }
}

.op-detail-highlight-body h3 {
    font-size: 20px;
}

.op-detail-intro-content p strong {
    font-weight: 500;
    color: var(--primary-color);
}

.op-detail-notice-box .primary-btn {
    margin-top: 20px;
}

.op-detail-notice-section {
    padding: 60px 0;
}



@media screen and (max-width: 992px) {
    .intro-banner-box {
        min-width: 280px;
    }

    .cv-health-section {
        padding: 30px 0;
    }

    .cv-health-title {
        font-size: 28px;
    }

    .op-detail-notice-section {
        padding: 30px 0;
    }

    .op-detail-notice-box .primary-btn {
        width: 100%;
    }
}