﻿.productv-box {
    display: flex;
    justify-content: space-between;
    padding-bottom: 60px;
}

.gallery-img {
    width: 48%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* 强制行高由自身内容（1:1比例）决定，而不是被父级拉伸 */
    grid-auto-rows: min-content;
/*    gap: 10px;*/
    align-content: start; /* 顶部对齐，多余空间留给底部 */
}

/* 2. 锁定 1:1 比例 */
.gallery-imli {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1; /* 锁定正方形 */
    overflow: hidden;
    background-color: #f5f5f5; /* 占位色 */
    border-radius: 8px;
}

/* 3. 强制图片“铺满”且“不留白” */
.main-img {
    width: 100% !important;
    height: 100% !important; /* 必须强制 100% */
    display: block;
    object-fit: cover; /* 关键：裁切原图以充满正方形，绝不留白 */
    object-position: center;
}

.gallery-max {
    width: 55px;
    height: 55px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    z-index: 10;
}

    .gallery-max > img {
        width: 100%;
        height: 100%;
        border-radius: 50%;
    }





.productv-info {
    width: 48%;
}

.info-collect {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

    .info-collect > h1 {
        width: 95%;
        font-size: 36px;
        font-weight: 500;
        color: #333;
    }

    .info-collect > img {
        width: 20px;
        height: 20px;
        margin: 18px 0;
    }

.info-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 10px;
    font-size: 14px;
}

.info-stars {
    color: #ffc107;
}

.info-rating span {
    font-size: 20px;
    color: #666666;
}

.info-price {
    font-size: 20px;
    color: #e63946;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e5e5;
}

    .info-price span {
        font-size: 18px;
    }


.variant-selector {
    margin-bottom: 15px;
}

.selector-label {
    display: block;
    font-size: 14px;
    margin-bottom: 10px;
    color: #666666;
}

    .selector-label span {
        color: #999999;
    }

.pattern-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.pattern-dot {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    border: 2px solid #fff; /* �ڲ��ױߣ����Ӿ��¸� */
    box-shadow: 0 0 0 1px #ccc; /* Ĭ�ϻ�ɫϸ�߿� */
    cursor: pointer;
    /* ����ͼ���Ĵ��� */
    background-repeat: no-repeat;
    background-size: cover; /* ���ģ��ȱ����Ų�����������ü����ಿ�� */
    background-position: center; /* ���ģ�ʼ�վ���չʾͼƬ�������� */
    background-color: #f5f5f5; /* ����ǰ��ͼƬȱʧʱ��ռλ��ɫ */
    /* ����ƽ������ */
    transition: all 0.2s ease-in-out;
}

    /* �����ͣЧ�� */
    .pattern-dot:hover {
        box-shadow: 0 0 0 1px #16add7;
        transform: translateY(-2px); /* ΢С���ϸ���Ч */
    }

    /* ѡ�м���״̬ */
    .pattern-dot.active {
        box-shadow: 0 0 0 2px #16add7; /* ѡ��ʱ�߿�Ӵֲ���ɫ */
        border-color: #fff; /* ���ְױ߲������� */
    }

.size-select {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-bottom: 10px;
}

.quantity-selector {
    margin-bottom: 20px;
}

.quantity-disp {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.selector-num {
    display: flex;
    align-items: center;
    gap: 10px;
}

    .selector-num button {
        width: 30px;
        height: 30px;
        border: 1px solid #ccc;
        background: #fff;
        border-radius: 4px;
        cursor: pointer;
    }



.shipping-policy {
    background: #f0f7ff;
    border: 1px solid #d4e8f7;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 15px;
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
}

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
}

.btn-primary {
    background: #00a8e8;
    color: #fff;
}

.btn-outline {
    background: #fff;
    color: #00a8e8;
    border: 2px solid #00a8e8;
}

.layui-form-select dl dd.layui-this {
    background-color: #00a8e8;
}





.productv-effect {
    padding-bottom: 100px;
}

.effect-tit {
    font-size: 40px;
}

.effect-img {
    padding-top: 35px;
}

    .effect-img > img {
        width: 100%;
        height: auto;
    }





/* ͼƬԤ�� */
.preview-popup {
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    background-color: #ffffff;
    overflow: hidden;
}

.preview-popimg {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease; /* �Ŵ���С�Ĺ��ɶ��� */
}

/* .preview-popimg>img {
    width: auto;
    height: 100%;
    object-fit: cover;
    cursor: zoom-in;
} */

/* ͼƬ��ʽ */
.zoom-img {
    width: auto;
    height: 100%;
    object-fit: cover;
    display: block;
    user-select: none;
    /* ��ֹѡ��ͼƬ���� */
    -webkit-user-drag: none;
    /* ��ֹ�����Ĭ����ק */
}

/* �Ŵ�״̬�� */
.zoomed-in {
    /* �Ŵ��� */
    transform: scale(2.5);
    z-index: 1000;
    /* ��֤�Ŵ�������ϲ� */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* ��קʱ����ʽ��ȥ�����ɶ�������֤�������� */
.dragging {
    transition: none !important;
    cursor: grabbing;
    /* �����ץȡ״̬ */
}



.preview_button {
    width: 55px;
    height: 55px;
    position: absolute;
    padding: 10px;
    background: #ffffffb3;
    color: #000;
    pointer-events: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

    .preview_button i {
        font-size: 24px;
    }

.preview-close {
    top: 0;
    right: 0;
}

.preview-switch-left {
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.preview-switch-right {
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.preview-instruct {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 5px;
    background-color: #ffffff;
    display: flex;
    gap: 5px;
}

    .preview-instruct a {
        width: 70px;
        height: 70px;
    }

        .preview-instruct a img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }






@media only screen and (max-width: 1540px) {
    .productv-box {
        padding-bottom: 50px;
    }

    .gallery-max {
        width: 50px;
        height: 50px;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .info-collect > h1 {
        font-size: 32px;
    }

    .pattern-dot {
        width: 70px;
        height: 70px;
    }

.info-rating span {
    font-size: 18px;
}


    .productv-effect {
        padding-bottom: 90px;
    }

    .effect-tit {
        font-size: 38px;
    }

    .effect-img {
        padding-top: 30px;
    }
}


@media only screen and (max-width: 1440px) {

    .productv-box {
        padding-bottom: 45px;
    }

    .gallery-max {
        width: 45px;
        height: 45px;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .info-collect > h1 {
        font-size: 28px;
    }
    
    .info-rating span {
    font-size: 16px;
}

    .pattern-dot {
        width: 60px;
        height: 60px;
    }

    .info-collect {
        margin-bottom: 10px;
    }

        .info-collect > img {
            width: 18px;
            height: 18px;
            margin: 15px 0;
        }

    .info-rating {
        margin-bottom: 8px;
        font-size: 13px;
    }

    .info-price {
        font-size: 18px;
        margin-bottom: 16px;
        padding-bottom: 16px;
    }

    .selector-label {
        font-size: 13px;
        margin-bottom: 8px;
    }

    .variant-selector {
        margin-bottom: 10px;
    }

    .quantity-selector {
        margin-bottom: 15px;
    }

    .productv-effect {
        padding-bottom: 80px;
    }

    .effect-tit {
        font-size: 36px;
    }

    .effect-img {
        padding-top: 25px;
    }
}


@media only screen and (max-width: 1340px) {
    .productv-box {
        padding-bottom: 40px;
    }

    .info-collect > h1 {
        font-size: 26px;
    }


    .productv-effect {
        padding-bottom: 70px;
    }

    .effect-tit {
        font-size: 32px;
    }

    .effect-img {
        padding-top: 20px;
    }
}



@media only screen and (max-width: 769px) {
    .productv-box {
        gap: 10px;
        flex-direction: column;
        padding: 0 .1rem .4rem;
    }

    .gallery-img {
        width: 100%;
    }

    .productv-info {
        width: 100%;
    }

    .info-collect > h1 {
        font-size: 20px;
    }

    .shipping-policy {
        padding: 10px 12px;
        font-size: 13px;
        margin-bottom: 12px;
    }

    .productv-effect {
        padding: 0 .1rem .6rem;
    }

    .effect-tit {
        font-size: 26px;
    }

    .effect-img {
        padding-top: .2rem;
    }
}
/* ===== 样品请求弹出框 ===== */
.sample-popup {
    display: none;
    position: fixed;
    /* 跟随 visual viewport：软键盘弹出时 --vvh 收缩，避免被键盘盖住 */
    top: var(--vv-top, 0px);
    left: var(--vv-left, 0px);
    width: var(--vv-w, 100vw);
    height: var(--vvh, 100vh);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}
/* 只作用于弹窗，避免其他元素带 show-form 时被强制 flex */
.sample-popup.show-form {
    display: flex !important;
}
.sample-popup-mask {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}
.sample-popup-box {
    position: relative;
    width: 520px;
    max-width: calc(100vw - 40px);
    max-height: calc(var(--vvh, 100vh) - 60px);
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: samplePopupIn 0.25s ease-out;
}
@keyframes samplePopupIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
.sample-popup-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px 16px;
    border-bottom: 1px solid #e5e5e5;
    flex-shrink: 0;
}
.sample-popup-head h3 {
    font-size: 20px;
    font-weight: 500;
    color: #333;
    margin: 0;
}
.sample-popup-close {
    width: 32px;
    height: 32px;
    border: none;
    background: #f5f5f5;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 18px;
    transition: all 0.2s ease-in-out;
    flex-shrink: 0;
    padding: 0;
    line-height: 1;
}
.sample-popup-close:hover {
    background: #e5e5e5;
    color: #333;
}
.sample-popup-close:focus-visible {
    outline: 2px solid #00a8e8;
    outline-offset: 2px;
}
.sample-popup-body {
    padding: 20px 24px;
    overflow-y: auto;
    flex: 1 1 auto;
}
.sample-form-row {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}
.sample-form-row:last-child {
    margin-bottom: 0;
}
.sample-form-grp {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}
.sample-form-grp label {
    font-size: 14px;
    font-weight: 500;
    color: #333;
}
.sample-form-grp label .required {
    color: #e63946;
    margin-left: 2px;
}
.sample-form-grp input[type="text"],
.sample-form-grp input[type="email"],
.sample-form-grp input[type="tel"],
.sample-form-grp input[type="number"],
.sample-form-grp select,
.sample-form-grp textarea {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    color: #333;
    background: #fff;
    transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    box-sizing: border-box;
    font-family: inherit;
}
.sample-form-grp input:focus,
.sample-form-grp select:focus,
.sample-form-grp textarea:focus {
    border-color: #00a8e8;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 168, 232, 0.15);
}
.sample-form-grp input::placeholder,
.sample-form-grp textarea::placeholder {
    color: #999;
}
.sample-form-grp textarea {
    resize: vertical;
    min-height: 80px;
}
.sample-form-grp .field-hint {
    font-size: 12px;
    color: #999;
    line-height: 1.4;
}
.sample-popup-foot {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 16px 24px 20px;
    border-top: 1px solid #e5e5e5;
    flex-shrink: 0;
}
.sample-popup-foot .btn {
    min-width: 100px;
    text-align: center;
}
.sample-popup-foot .btn:focus-visible {
    outline: 2px solid #00a8e8;
    outline-offset: 2px;
}
/* 表单校验错误 */
.sample-form-grp .field-error {
    font-size: 12px;
    color: #e63946;
    line-height: 1.4;
    display: none;
}
.sample-form-grp.has-error input,
.sample-form-grp.has-error select,
.sample-form-grp.has-error textarea {
    border-color: #e63946;
}
.sample-form-grp.has-error .field-error {
    display: block;
}

/* 弹窗内表单稍紧，减少滚动 */
.sample-popup-body {
    padding: 18px 22px;
}
.sample-popup-body .sample-form-row {
    margin-bottom: 14px;
}

/* ===== 弹窗内：说明区 / 领取方式 / 强调标签与提交键 ===== */
.sample-intro {
    background: #f4f9fc;
    border: 1px solid #d9ecf6;
    border-left: 3px solid #00a8e8;
    border-radius: 8px;
    padding: 12px 14px;
    margin-bottom: 16px;
}
.sample-intro-title {
    font-size: 13.5px;
    font-weight: 600;
    color: #16323f;
    margin-bottom: 6px;
}
.sample-intro-list {
    margin: 0;
    padding-left: 16px;
    list-style: disc;
}
.sample-intro-list li {
    font-size: 12px;
    line-height: 1.55;
    color: #4c5d67;
    margin-bottom: 3px;
}
.sample-intro-list li strong {
    color: #16323f;
    font-weight: 600;
}
.sample-intro-steps {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px dashed #cfe4ef;
    font-size: 12px;
    line-height: 1.55;
    color: #4c5d67;
}
.sample-intro-steps > span {
    display: block;
    font-weight: 600;
    color: #16323f;
    margin-bottom: 4px;
}
.sample-intro-steps ol {
    margin: 0;
    padding-left: 16px;
}
.sample-intro-steps li {
    margin-bottom: 2px;
}
.sample-intro-note {
    margin-top: 6px;
    font-size: 11.5px;
    color: #7b8a93;
}
.sample-intro-note .required {
    color: #e63946;
    font-weight: 700;
}

/* 领取方式：自提 / 邮寄 */
.sample-fulfil {
    display: flex;
    gap: 12px;
}
.sample-fulfil-opt {
    flex: 1;
    position: relative;
    display: block;
    padding: 10px 12px 10px 40px;
    border: 1px solid #d5dbe0;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
/* layui 会在 .layui-form 内自动生成一套圆点，与下面的原生圆点重叠，隐藏之 */
.sample-popup .layui-form-radio {
    display: none !important;
}
/* layui 默认会隐藏 radio，这里强制显示 */
.sample-popup .sample-fulfil-opt input[type="radio"] {
    position: absolute;
    left: 14px;
    top: 15px;
    width: 16px;
    height: 16px;
    margin: 0;
    display: block !important;
    opacity: 1;
    -webkit-appearance: radio;
    appearance: auto;
    accent-color: #00a8e8;
}
.sample-fulfil-opt strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #16323f;
}
.sample-fulfil-opt > span {
    display: block;
    margin-top: 2px;
    font-size: 12px;
    line-height: 1.45;
    color: #6b7a83;
}
.sample-fulfil-opt.is-active {
    border-color: #00a8e8;
    background: #f2fafd;
    box-shadow: 0 0 0 2px rgba(0, 168, 232, .12);
}

.sample-block-title {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .08em;
    color: #8794a0;
    margin: 2px 0 10px;
}
.sample-pickup-note {
    background: #f7fafb;
    border: 1px dashed #cfd9df;
    border-radius: 8px;
    padding: 12px 14px;
    margin-bottom: 16px;
    font-size: 13px;
    line-height: 1.6;
    color: #4c5d67;
}
.sample-pickup-note strong {
    color: #16323f;
}

/* 标签 / 必填 / 错误提示更醒目 */
.sample-form-grp label {
    font-size: 13px;
    font-weight: 600;
    color: #1f2a30;
}
.sample-form-grp label .required {
    color: #e63946;
    font-weight: 700;
}
.sample-form-grp.has-error label {
    color: #d62828;
}
.sample-form-grp .field-error {
    font-size: 12px;
    font-weight: 600;
    color: #d62828;
    margin-top: 2px;
}
.sample-form-grp.has-error input,
.sample-form-grp.has-error select,
.sample-form-grp.has-error textarea {
    border-color: #d62828;
    background: #fff7f7;
}

/* 提交键：深色底 + 白色加粗文字，与描边按钮明显区分 */
.sample-popup-foot .btn-primary {
    background: #00638f;
    color: #ffffff;
    font-weight: 600;
    letter-spacing: .02em;
    box-shadow: 0 2px 10px rgba(0, 99, 143, .25);
}
.sample-popup-foot .btn-primary:hover {
    background: #004e72;
}
.sample-popup-foot .btn-primary:disabled,
.sample-popup-foot .btn-primary.is-submitting {
    background: #9bb4c1;
    box-shadow: none;
    cursor: not-allowed;
}

@media only screen and (max-width: 769px) {
    /* 键盘弹出时容器高度已由 --vvh 收缩；空间不足时从顶部对齐，避免上下同时溢出 */
    .sample-popup {
        align-items: flex-start;
        box-sizing: border-box;
        padding: 8px 8px 8px;
        padding-top: max(8px, env(safe-area-inset-top));
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    .sample-popup-box {
        width: 100%;
        max-width: 100%;
        max-height: calc(var(--vvh, 100vh) - 16px);
        border-radius: 10px;
        /* 空间充足时仍垂直居中，空间不足时贴顶 */
        margin: auto 0;
    }
    /* 16px 可避免 iOS 聚焦输入框时自动放大页面导致错位 */
    .sample-form-grp input[type="text"],
    .sample-form-grp input[type="email"],
    .sample-form-grp input[type="tel"],
    .sample-form-grp input[type="number"],
    .sample-form-grp select,
    .sample-form-grp textarea {
        font-size: 16px;
    }
    .sample-popup-head {
        padding: 14px 16px 12px;
    }
    .sample-popup-head h3 {
        font-size: 18px;
    }
    .sample-popup-body {
        padding: 14px 16px;
    }
    .sample-form-row {
        flex-direction: column;
        gap: 12px;
        margin-bottom: 12px;
    }
    .sample-popup-foot {
        padding: 12px 16px 16px;
        flex-direction: column;
    }
    .sample-popup-foot .btn {
        width: 100%;
    }
}

/* 移动端：说明区与领取方式更紧凑 */
@media only screen and (max-width: 769px) {
    .sample-intro {
        padding: 12px 14px;
        margin-bottom: 16px;
    }
    .sample-intro-list li,
    .sample-intro-steps {
        font-size: 12px;
    }
    .sample-fulfil {
        flex-direction: column;
        gap: 10px;
    }
    .sample-fulfil-opt {
        padding: 10px 12px 10px 38px;
    }
    .sample-popup .sample-fulfil-opt input[type="radio"] {
        top: 13px;
    }
}
/* ===================== 产品页重构（Pandora B 试点） ===================== */

/* 0) 配送明细提示浮层（原 en 页内联样式，合并入本文件） */
.important-notice {
    position: relative;
    cursor: pointer;
    background: #fff3f3;
    border: 2px solid #e74c3c;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 15px;
    font-size: 14px;
    font-weight: 700;
    color: #c0392b;
    line-height: 1.6;
}
.important-tooltip {
    position: absolute;
    bottom: 100%;
    left: 0;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.14);
    padding: 16px 20px;
    font-size: 13px;
    line-height: 1.6;
    color: #444;
    z-index: 999;
    min-width: 420px;
    margin-bottom: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
    pointer-events: none;
}
.important-notice:hover .important-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}
.important-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 32px;
    width: 0;
    height: 0;
    border: 8px solid transparent;
    border-top-color: #fff;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.08));
}
.important-tooltip strong {
    font-weight: 600;
    color: #1a1a1a;
}

/* 1) 容器宽度：max-width + 百分比，取消 min-width 固定宽度造成 1280px 右侧裁切 */
#product-container.wrap {
    width: auto;
    max-width: 1420px;
    min-width: 0;
    padding-left: 24px;
    padding-right: 24px;
}

@media only screen and (max-width: 1540px) {
    #product-container.wrap {
        width: auto;
        max-width: 100%;
        min-width: 0;
    }
}

/* 低于 1200px 两栏改上下排列（不再用 overflow-x:hidden 掩盖） */
@media only screen and (max-width: 1200px) {
    #product-container .productv-box {
        flex-direction: column;
    }

    #product-container .gallery-img,
    #product-container .productv-info {
        width: 100%;
    }
}

/* 2) 价格区含税口径 */
.price-tax-note {
    font-size: 13px;
    color: #667;
    margin-top: 6px;
}

/* 3) 快速规格 */
.quick-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin: 4px 0 12px;
}

.quick-spec {
    display: flex;
    gap: 6px;
    font-size: 14px;
    color: #333;
    background: #f6f9fb;
    border-radius: 6px;
    padding: 6px 10px;
}

.quick-spec-label {
    color: #5a6b76;
}

/* 4) 花纹选项折叠 */
.pattern-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid #cfd9df;
    border-radius: 6px;
    padding: 8px 14px;
    font-size: 14px;
    color: #00a8e8;
    cursor: pointer;
    margin-bottom: 10px;
}

.pattern-toggle i {
    transition: transform 0.2s ease;
}

.pattern-toggle[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.pattern-options.is-collapsed {
    display: none;
}

/* 5) 交付摘要（替换原警告符号块） */
.delivery-summary {
    border: 1px solid #dce6ec;
    border-radius: 10px;
    padding: 14px 16px;
    margin: 15px 0;
    background: #fbfdfe;
}

.delivery-summary-row {
    display: flex;
    gap: 10px;
    font-size: 14px;
    color: #333;
    line-height: 1.6;
    padding: 4px 0;
}

.delivery-summary-label {
    flex: 0 0 84px;
    color: #5a6b76;
    font-weight: 600;
}

.delivery-summary a {
    color: #00a8e8;
    text-decoration: underline;
}

.delivery-summary-more {
    margin-top: 10px;
    background: none;
    border: none;
    padding: 0;
    color: #00a8e8;
    font-size: 14px;
    text-decoration: underline;
    cursor: pointer;
}

.delivery-detail {
    margin-top: 10px;
}

/* 6) 结构化信息区块 */
.pv-section {
    border-top: 1px solid #e8eef2;
    padding: 28px 0;
}

.pv-section-title {
    font-size: 26px;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 16px;
}

.pv-spec-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 10px 24px;
    margin-bottom: 16px;
}

.pv-spec-item {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 14px;
    border-bottom: 1px dashed #e8eef2;
    padding-bottom: 8px;
}

.pv-spec-key {
    color: #5a6b76;
}

.pv-spec-val {
    color: #1a1a1a;
    text-align: right;
}

.pv-price-line {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 16px;
}

.pv-price-main {
    font-size: 22px;
    color: #b3261e;
    font-weight: 600;
}

.pv-price-note {
    font-size: 13px;
    color: #5a6b76;
}

.pv-calc {
    background: #f6f9fb;
    border-radius: 10px;
    padding: 16px;
}

.pv-calc-fields {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.pv-calc-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 13px;
    color: #5a6b76;
    flex: 1 1 160px;
}

.pv-calc-field input {
    border: 1px solid #cfd9df;
    border-radius: 6px;
    padding: 9px 10px;
    font-size: 15px;
    color: #1a1a1a;
    background: #fff;
}

.pv-calc-result {
    margin-top: 12px;
    font-size: 15px;
    color: #1a1a1a;
    min-height: 22px;
}

.pv-calc-note {
    margin-top: 8px;
    font-size: 12px;
    color: #5a6b76;
    line-height: 1.6;
}

.pv-calc-quote {
    display: inline-block;
    margin-top: 10px;
    color: #00a8e8;
    text-decoration: underline;
    font-size: 14px;
}

.pv-two-col {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.pv-col {
    flex: 1 1 280px;
    border-radius: 10px;
    padding: 14px 16px;
    font-size: 14px;
    line-height: 1.7;
}

.pv-col h3 {
    font-size: 15px;
    margin-bottom: 8px;
}

.pv-col-ok {
    background: #f0f8f3;
    border: 1px solid #cfe9d8;
}

.pv-col-no {
    background: #fdf3f2;
    border: 1px solid #f3d3cf;
}

.pv-install-body {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: flex-start;
}

.pv-install-text {
    flex: 1 1 320px;
    font-size: 14px;
    line-height: 1.75;
    color: #333;
}

.pv-install-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 0 0 240px;
}

.pv-install-actions .btn {
    text-align: center;
    text-decoration: none;
    display: block;
}

.pv-list {
    list-style: none;
    font-size: 14px;
    line-height: 1.8;
}

.pv-list li {
    padding: 6px 0;
    border-bottom: 1px dashed #e8eef2;
}

.pv-faq h4 {
    font-size: 16px;
    margin: 18px 0 8px;
}

.pv-faq p {
    font-size: 14px;
    line-height: 1.75;
    color: #333;
}

/* 7) 手机端固定操作条：致电 / 报价 */
.pv-mobile-bar {
    display: none;
}

@media only screen and (max-width: 769px) {
    #product-container.wrap {
        padding-left: .1rem;
        padding-right: .1rem;
    }

    .pv-section {
        padding: 20px 0;
    }

    .pv-section-title {
        font-size: 20px;
    }

    .pv-mobile-bar {
        display: flex;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 900;
        background: #fff;
        border-top: 1px solid #e2e8ec;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.08);
    }

    .pv-mobile-bar a {
        flex: 1;
        text-align: center;
        padding: 13px 8px;
        font-size: 15px;
        color: #00a8e8;
        text-decoration: none;
    }

    .pv-mobile-bar a:first-child {
        border-right: 1px solid #e2e8ec;
    }
}


/* 8) 按钮悬停/焦点态（与 en 基准对齐，配色沿用 cn 品牌色） */
.btn-primary:hover {
    background: #0090c9;
}

.btn-outline:hover {
    background: #f2f8fb;
}

.btn:focus-visible,
.pattern-toggle:focus-visible,
.delivery-summary-more:focus-visible {
    outline: 3px solid #00a8e8;
    outline-offset: 2px;
}
