/* seemb6 产品详情页：贴近 mb6.dajiqun.cn 产品详情布局 */

.product-detail-page .content-box {
    background: #f6f8fb;
}

.uaf-pd {
    min-height: calc(100vh - 260px);
    padding: 22px 0 42px;
    background: #f6f8fb;
}

.uaf-pd-inner {
    width: 1200px;
    max-width: calc(100% - 24px);
    margin: 0 auto;
}

.uaf-pd-breadcrumb {
    margin: 0 0 14px;
    width: 100%;
    line-height: 1.5;
    padding: 8px 18px;
    background: #ffffff;
    border: 1px solid #edf0f4;
    border-radius: 8px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    box-shadow: 0 1px 2px rgba(16, 40, 80, 0.03);
    color: var(--jq_color10);
}

.uaf-pd-breadcrumb a {
    font-size: var(--jq_fs2);
    color: var(--jq_color10);
    padding: 4px 0;
    text-decoration: none;
    transition: color 0.2s ease;
}

.uaf-pd-breadcrumb a:hover {
    color: var(--jq_color14);
}

.uaf-pd-breadcrumb [aria-current="page"] {
    color: var(--jq_color1);
    font-weight: 500;
}

.uaf-pd-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 18px;
    align-items: stretch;
}

.uaf-pd-main-card,
.uaf-pd-rfq,
.uaf-pd-section {
    background: #fff;
    border: 1px solid #e6e9ef;
    box-shadow: 0 1px 3px rgba(15, 30, 60, 0.05);
    box-sizing: border-box;
}

.uaf-pd-main-card {
    padding: 24px 28px 28px;
    height: 100%;
}

.uaf-pd-title {
    margin: 0;
    color: #1d4f93;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.25;
}

.uaf-pd-subtitle {
    margin: 10px 0 22px;
    color: #333;
    font-size: 16px;
    line-height: 1.5;
}

.uaf-pd-summary {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.uaf-pd-media {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 240px;
    border: 1px solid #edf0f5;
    background: #fff;
}

.uaf-pd-media img {
    display: block;
    max-width: 220px;
    max-height: 220px;
    object-fit: contain;
}

.uaf-pd-media-empty {
    width: 180px;
    height: 180px;
    border-radius: 4px;
    background: linear-gradient(145deg, #f1f3f6, #e5e9ef);
}

.uaf-pd-meta-list {
    margin: 0;
}

.uaf-pd-meta-row {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 10px;
    padding: 9px 0;
    border-bottom: 1px solid #edf0f5;
    color: #333;
    font-size: var(--jq_fs2);
    line-height: 1.45;
}

.uaf-pd-meta-row:last-child {
    border-bottom: none;
}

.uaf-pd-meta-row dt {
    margin: 0;
    color: #666;
    font-weight: 600;
}

.uaf-pd-meta-row dd {
    margin: 0;
    word-break: break-word;
}

.uaf-pd-meta-row a,
.uaf-pd-sheet {
    color: #1d62ad;
    text-decoration: none;
}

.uaf-pd-meta-row a:hover,
.uaf-pd-sheet:hover {
    text-decoration: underline;
}

.uaf-pd-rfq {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 18px 18px 18px;
}

.uaf-pd-rfq h2,
.uaf-pd-section h2 {
    margin: 0 0 10px;
    color: #1d4f93;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    flex-shrink: 0;
}

.uaf-pd-rfq-lead {
    margin: 0 0 6px;
    color: #666;
    font-size: var(--jq_fs1);
    line-height: 1.4;
}

.uaf-pd-rfq-form {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    margin-top: 0;
}

.uaf-pd-rfq-form label {
    display: grid;
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 8px;
    align-items: center;
    margin-bottom: 8px;
    color: #555;
    font-size: var(--jq_fs1);
}

.uaf-pd-rfq-form span {
    white-space: nowrap;
}

.uaf-pd-req {
    margin-left: 2px;
    color: #e53935;
}

.uaf-pd-captcha-row {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.uaf-pd-captcha-img {
    display: block;
    flex: 0 0 120px;
    width: 120px;
    height: 40px;
    cursor: pointer;
    border: 1px solid #dce2ea;
    border-radius: 3px;
    object-fit: contain;
}

.uaf-pd-rfq-msg {
    margin: 0 0 4px;
    min-height: 0;
    color: #666;
    font-size: var(--jq_fs1);
    line-height: 1.4;
}

.uaf-pd-rfq-msg.is-success {
    color: #2e7d32;
}

.uaf-pd-rfq-msg.is-error {
    color: #c62828;
}

.uaf-pd-rfq-form input,
.uaf-pd-rfq-form textarea {
    width: 100%;
    min-width: 0;
    border: 1px solid #dce2ea;
    border-radius: 3px;
    padding: 8px 9px;
    color: #333;
    font-size: var(--jq_fs1);
    line-height: 1.4;
    box-sizing: border-box;
}

.uaf-pd-rfq-form textarea {
    resize: vertical;
}

.uaf-pd-captcha-row input {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
}

.uaf-pd-rfq-form button {
    display: block;
    width: 100%;
    margin-top: 4px;
    border: none;
    border-radius: 3px;
    padding: 10px 18px;
    background: var(--jq_color5);
    color: #fff;
    font-size: var(--jq_fs2);
    font-weight: 600;
    cursor: pointer;
    flex-shrink: 0;
}

.uaf-pd-rfq-form button:hover {
    opacity: 0.92;
}

.uaf-pd-rfq-form button:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.uaf-pd-success-backdrop {
    position: fixed;
    inset: 0;
    z-index: 10060;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.45);
    box-sizing: border-box;
}

.uaf-pd-success-backdrop.is-open {
    display: flex;
}

.uaf-pd-success-dialog {
    width: 100%;
    max-width: 420px;
    padding: 28px 24px 24px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    text-align: center;
    box-sizing: border-box;
}

.uaf-pd-success-dialog__title {
    margin: 0 0 12px;
    color: #222;
    font-size: 18px;
    font-weight: 700;
}

.uaf-pd-success-dialog__msg {
    margin: 0 0 22px;
    color: #555;
    line-height: 1.55;
}

.uaf-pd-success-dialog .button-reset {
    display: inline-block;
    min-width: 120px;
    border: none;
    border-radius: 3px;
    padding: 10px 18px;
    background: var(--jq_color5);
    color: #fff;
    font-size: var(--jq_fs2);
    font-weight: 600;
    cursor: pointer;
}

.uaf-pd-success-dialog .button-reset:hover {
    opacity: 0.92;
}

.uaf-pd-section {
    margin-top: 18px;
    padding: 22px 28px 26px;
}

.uaf-pd-spec-table {
    border-top: 1px solid #e5eaf2;
    border-left: 1px solid #e5eaf2;
}

.uaf-pd-spec-row {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    min-height: 42px;
    border-right: 1px solid #e5eaf2;
    border-bottom: 1px solid #e5eaf2;
}

.uaf-pd-spec-name,
.uaf-pd-spec-value {
    padding: 11px 14px;
    color: #333;
    font-size: var(--jq_fs2);
    line-height: 1.45;
    word-break: break-word;
}

.uaf-pd-spec-name {
    background: #f4f7fb;
    color: #555;
    font-weight: 600;
    border-right: 1px solid #e5eaf2;
}

.uaf-pd-interest-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 18px;
}

.uaf-pd-interest-card {
    min-width: 0;
}

.uaf-pd-interest-link {
    display: grid;
    grid-template-columns: minmax(120px, 0.7fr) minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    min-height: 44px;
    padding: 9px 10px;
    border: 1px solid #edf0f5;
    color: #333;
    text-decoration: none;
    background: #fff;
}

.uaf-pd-interest-link:hover {
    border-color: #b9cee8;
    background: #f8fbff;
}

.uaf-pd-interest-pn {
    color: #1d62ad;
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.uaf-pd-interest-desc {
    color: #555;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.uaf-pd-interest-action {
    color: #c57600;
    white-space: nowrap;
}

@media (max-width: 992px) {
    .uaf-pd-hero,
    .uaf-pd-summary {
        grid-template-columns: 1fr;
    }

    .uaf-pd-rfq {
        order: 2;
    }

    .uaf-pd-media {
        min-height: 200px;
    }
}

@media (max-width: 768px) {
    .uaf-pd {
        padding: 12px 12px 30px;
    }

    .uaf-pd-inner {
        max-width: 100%;
    }

    .uaf-pd-breadcrumb {
        padding: 6px 14px;
        border-radius: 6px;
    }

    .uaf-pd-main-card,
    .uaf-pd-section {
        padding: 18px 14px 20px;
    }

    .uaf-pd-title {
        font-size: 22px;
    }

    .uaf-pd-meta-row,
    .uaf-pd-rfq-form label,
    .uaf-pd-spec-row,
    .uaf-pd-interest-grid,
    .uaf-pd-interest-link {
        grid-template-columns: 1fr;
    }

    .uaf-pd-meta-row {
        gap: 4px;
    }

    .uaf-pd-spec-name {
        border-right: none;
        border-bottom: 1px solid #e5eaf2;
    }

    .uaf-pd-interest-link {
        gap: 4px;
    }
}
