/* Pre-sales Consultation Styles */

/* Welcome Section */
.pre-sales-consultation {
    /* 售前选择器与引导卡源规则直接切到 V2 token。 */
    background: var(--v2-bg-functional);
}

.section-subtitle {
    color: var(--v2-text-heading);
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.section-subtitle::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--v2-primary-500);
}

/* Selection Wizard */
.selection-wizard-container {
    background: var(--v2-bg-primary);
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
}

.wizard-title {
    color: var(--v2-text-heading);
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 10px;
}

.wizard-subtitle {
    color: var(--v2-text-secondary);
    text-align: center;
    margin-bottom: 30px;
}

/* Progress Bar */
.wizard-progress {
    position: relative;
    margin-bottom: 40px;
}

.progress-bar-container {
    height: 4px;
    background: #e0e0e0;
    border-radius: 2px;
    position: relative;
}

.progress-bar-fill {
    height: 100%;
    background: var(--v2-primary-500);
    border-radius: 2px;
    width: 20%;
    transition: width 0.3s ease;
}

.wizard-steps {
    display: flex;
    justify-content: space-between;
    position: absolute;
    top: -13px;
    width: 100%;
}

.wizard-steps .step {
    width: 30px;
    height: 30px;
    background: #e0e0e0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--v2-text-inverse);
    font-weight: 700;
    font-size: 14px;
    transition: all 0.3s ease;
}

.wizard-steps .step.active {
    background: var(--v2-primary-500);
    transform: scale(1.2);
}

.wizard-steps .step.completed {
    background: var(--v2-primary-600);
}

/* Wizard Content */
.wizard-content {
    min-height: 300px;
}

.wizard-step {
    display: none;
    animation: fadeIn 0.5s;
}

.wizard-step.active {
    display: block;
}

.wizard-step h4 {
    text-align: center;
    color: var(--v2-text-heading);
    margin-bottom: 30px;
    font-size: 22px;
}

.wizard-step-note {
    color: var(--v2-text-secondary);
    font-size: 15px;
    line-height: 1.6;
    margin: -14px auto 24px;
    max-width: 760px;
    text-align: center;
}

/* Option Cards */
.option-cards {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.option-cards--compact {
    justify-content: flex-start;
}

.option-card {
    background: var(--v2-bg-primary);
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 30px 20px;
    width: 200px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.option-card--visual {
    /* 向导图片卡统一使用 16:9 视觉资源，便于用户通过画面理解选项含义。 */
    overflow: hidden;
    padding: 0 0 22px;
    width: min(100%, 300px);
}

.option-card-image {
    aspect-ratio: 16 / 9;
    background: var(--v2-bg-content);
    border-bottom: 1px solid var(--v2-bg-divider);
    margin-bottom: 20px;
    overflow: hidden;
}

.option-card-image img {
    display: block;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
    width: 100%;
}

.option-card--visual:hover .option-card-image img,
.option-card--visual.selected .option-card-image img {
    transform: scale(1.04);
}

.option-card--visual h5,
.option-card--visual p {
    padding-left: 18px;
    padding-right: 18px;
}

.option-cards--text {
    /* 后续步骤改为文字选项，减少图片依赖并让客户更快完成选择。 */
    align-items: stretch;
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
}

.option-card--text {
    /* 文字卡仍复用 V2 卡片 token，保证和站点其它浅色卡片统一。 */
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 150px;
    padding: 24px 22px;
    width: min(100%, 280px);
}

.option-cards--compact .option-card--text {
    min-height: 138px;
    width: min(100%, 245px);
}

.option-card--text::before {
    content: '';
    position: absolute;
    left: 18px;
    right: 18px;
    top: 0;
    height: 3px;
    background: var(--v2-primary-500);
    border-radius: 0 0 999px 999px;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.option-card--text:hover::before,
.option-card--text.selected::before {
    opacity: 1;
}

.option-card:hover {
    border-color: var(--v2-primary-500);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.option-card.selected {
    background: var(--v2-bg-functional);
    border-color: var(--v2-primary-500);
}

.option-card--multi.selected::after {
    content: "Selected";
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--v2-primary-500);
    color: var(--v2-text-inverse);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    padding: 6px 9px;
}

.option-card i {
    font-size: 40px;
    color: var(--v2-primary-500);
    margin-bottom: 15px;
}

.option-card h5 {
    color: var(--v2-text-heading);
    font-size: 18px;
    margin-bottom: 10px;
}

.option-card p {
    color: var(--v2-text-secondary);
    font-size: 14px;
    margin: 0;
}

/* Wizard Navigation */
.wizard-navigation {
    display: flex;
    /* 向导按钮作为一组居中，减少客户在 Previous / Next 之间的鼠标移动距离。 */
    justify-content: center;
    gap: 14px;
    margin-top: 30px;
}

.wizard-navigation .btn {
    min-width: 120px;
}

/* Category Introduction Cards */
.category-intro-card {
    background: var(--v2-bg-primary);
    border-radius: 12px;
    padding: 30px;
    height: 100%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.category-intro-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--v2-primary-600), var(--v2-primary-500));
}

.category-intro-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.category-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--v2-bg-functional);
    border-radius: 50%;
}

/* 分类图标 - 兼容 picture 标签和 img 标签 */
.category-icon img,
.category-icon picture {
    max-width: 50px;
    max-height: 50px;
    width: auto;
    height: auto;
    display: block;
}

/* picture 标签内的 img 继承样式 */
.category-icon picture img {
    max-width: 50px;
    max-height: 50px;
    width: auto;
    height: auto;
    display: block;
}

.category-intro-card h4 {
    color: var(--v2-text-heading);
    font-size: 20px;
    margin-bottom: 15px;
    text-align: center;
}

.category-intro-card p {
    color: var(--v2-text-body);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.category-features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.category-features li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: var(--thm-gray);
    font-size: 14px;
}

.category-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--thm-base);
    font-weight: 700;
}

.learn-more {
    color: var(--thm-color);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.learn-more:hover {
    color: var(--thm-base);
    padding-left: 5px;
}

/* Comparison Tool */
.comparison-tool {
    background: var(--thm-white);
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
}

.comparison-selector {
    margin-top: 30px;
}

.comparison-select {
    height: 45px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.comparison-select:focus {
    border-color: var(--thm-color);
    box-shadow: 0 0 0 0.2rem rgba(58, 151, 255, 0.25);
}

.comparison-result {
    margin-top: 30px;
}

.comparison-table {
    width: 100%;
    background: var(--thm-white);
    border-radius: 8px;
    overflow: hidden;
}

.comparison-table th {
    background: var(--thm-line);
    color: var(--thm-white);
    padding: 15px;
    font-weight: 600;
    text-align: center;
}

.comparison-table td {
    padding: 12px;
    border-bottom: 1px solid #e0e0e0;
    text-align: center;
}

.comparison-table tr:hover td {
    background: var(--thm-f6);
}

.comparison-table .param-name {
    background: #f8f9fa;
    font-weight: 600;
    text-align: left;
    color: var(--thm-black);
}

.highlight-better {
    background: rgba(85, 198, 239, 0.1);
    color: var(--thm-base);
    font-weight: 600;
}

/* Terms Accordion */
#termsAccordion {
    background: var(--thm-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
}

#termsAccordion .accordion-item {
    border: none;
    border-bottom: 1px solid #e0e0e0;
}

#termsAccordion .accordion-item:last-child {
    border-bottom: none;
}

#termsAccordion .accordion-button {
    background: var(--thm-white);
    color: var(--thm-black);
    font-weight: 600;
    font-size: 16px;
    padding: 20px;
}

#termsAccordion .accordion-button:not(.collapsed) {
    background: var(--thm-f6);
    color: var(--thm-color);
    box-shadow: none;
}

#termsAccordion .accordion-button:focus {
    box-shadow: none;
}

#termsAccordion .accordion-body {
    padding: 20px;
    color: var(--thm-p);
    line-height: 1.8;
}

/* FAQ Section */
.faq-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
}

.faq-item {
    background: var(--thm-white);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.12);
}

.faq-item h5 {
    color: var(--thm-black);
    font-size: 17px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.faq-item h5 i {
    color: var(--thm-color);
    font-size: 20px;
}

.faq-item p {
    color: var(--thm-p);
    font-size: 15px;
    line-height: 1.8;
    margin: 0;
}

/* Expert Contact Section */
.expert-contact-section {
    background: var(--thm-line);
    border-radius: 12px;
    padding: 50px 30px;
    color: var(--thm-white);
}

.expert-contact-section h3 {
    color: var(--thm-white);
    font-size: 32px;
    margin-bottom: 15px;
}

.expert-contact-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    margin-bottom: 30px;
}

.contact-options {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.contact-options .btn {
    min-width: 150px;
    padding: 12px 25px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--thm-white);
    color: var(--thm-black);
}

.contact-options .btn:hover {
    background: var(--thm-base);
    color: var(--thm-white);
    transform: translateY(-3px);
}

/* Recommendation Results */
.recommendation-card {
    background: var(--thm-white);
    border: 2px solid var(--thm-color);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.recommendation-card h5 {
    color: var(--thm-black);
    font-size: 20px;
    margin-bottom: 15px;
}

.recommended-products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.product-recommendation {
    background: var(--thm-f6);
    border-radius: 8px;
    padding: 15px;
    text-align: center;
}

/* 产品推荐图片 - 兼容 picture 标签和 img 标签 */
.product-recommendation img,
.product-recommendation picture {
    width: 80px;
    height: auto;
    margin-bottom: 10px;
    display: block;
}

/* picture 标签内的 img 继承样式 */
.product-recommendation picture img {
    width: 80px;
    height: auto;
    display: block;
}

.product-recommendation h6 {
    color: var(--thm-black);
    font-size: 16px;
    margin-bottom: 5px;
}

.product-recommendation p {
    color: var(--thm-gray);
    font-size: 14px;
    margin: 0;
}

/* Telescope Matching Guide */
.telescope-matching-guide {
    background: var(--thm-white);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
}

.matching-calculator,
.matching-theory {
    background: var(--thm-f6);
    border-radius: 8px;
    padding: 25px;
    height: 100%;
}

.matching-calculator h4,
.matching-theory h4 {
    color: var(--thm-black);
    font-size: 20px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--thm-color);
}

.calculator-inputs .form-group label {
    color: var(--thm-black);
    font-weight: 600;
    margin-bottom: 5px;
}

.calculator-inputs .form-control,
.calculator-inputs .form-select {
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    padding: 10px;
    transition: all 0.3s ease;
}

.calculator-inputs .form-control:focus,
.calculator-inputs .form-select:focus {
    border-color: var(--thm-color);
    box-shadow: 0 0 0 0.2rem rgba(58, 151, 255, 0.25);
}

.matching-result {
    background: var(--thm-white);
    border-radius: 6px;
    padding: 20px;
    border: 2px solid var(--thm-base);
}

.matching-result .result-item {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.matching-result .result-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.matching-result .result-label {
    font-weight: 600;
    color: var(--thm-black);
    display: inline-block;
    min-width: 120px;
}

.matching-result .result-value {
    color: var(--thm-p);
}

.matching-result .result-status {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    margin-left: 10px;
}

.matching-result .result-status.optimal {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
}

.matching-result .result-status.acceptable {
    background: rgba(255, 193, 7, 0.1);
    color: #ffc107;
}

.matching-result .result-status.suboptimal {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.theory-content h6 {
    color: var(--thm-color);
    font-size: 16px;
    font-weight: 600;
    margin-top: 20px;
    margin-bottom: 10px;
}

.theory-content p {
    background: var(--thm-white);
    padding: 10px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    color: var(--thm-black);
    margin-bottom: 10px;
}

.theory-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.theory-content ul li {
    padding-left: 20px;
    margin-bottom: 8px;
    position: relative;
    color: var(--thm-p);
    font-size: 14px;
}

.theory-content ul li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--thm-color);
}

.theory-content ul li strong {
    color: var(--thm-black);
}

/* Common Setups Table */
.common-setups {
    background: var(--thm-white);
    border-radius: 8px;
    padding: 25px;
}

.common-setups h5 {
    color: var(--thm-black);
    font-size: 18px;
    margin-bottom: 20px;
}

.common-setups .table {
    margin-bottom: 0;
}

.common-setups .table thead {
    background: var(--thm-line);
    color: var(--thm-white);
}

.common-setups .table thead th {
    border: none;
    padding: 12px;
    font-weight: 600;
}

.common-setups .table tbody td {
    padding: 10px 12px;
    vertical-align: middle;
}

.common-setups .table-striped tbody tr:nth-of-type(odd) {
    background-color: var(--thm-f6);
}

/* Telescope Input Section in Wizard */
.telescope-input-section {
    max-width: 600px;
    margin: 0 auto;
}

.telescope-input-section .form-group {
    margin-bottom: 20px;
}

.telescope-input-section label {
    color: var(--thm-black);
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
}

.telescope-input-section .form-control {
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    padding: 10px 15px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.telescope-input-section .form-control:focus {
    border-color: var(--thm-color);
    box-shadow: 0 0 0 0.2rem rgba(58, 151, 255, 0.25);
}

.telescope-input-section .form-text {
    color: var(--thm-gray);
    font-size: 13px;
    margin-top: 5px;
}

.telescope-presets {
    text-align: center;
    padding: 20px;
    background: var(--thm-f6);
    border-radius: 8px;
}

.telescope-presets p {
    color: var(--thm-black);
    font-weight: 600;
    margin-bottom: 15px;
}

.preset-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.preset-buttons .btn {
    padding: 8px 15px;
    font-size: 14px;
    border-width: 2px;
}

.preset-buttons .btn:hover {
    background: var(--thm-color);
    border-color: var(--thm-color);
    color: var(--thm-white);
}

.sampling-calculator {
    margin-top: 20px;
}

.sampling-calculator .alert {
    border-radius: 8px;
    border: none;
    padding: 20px;
}

.sampling-calculator .alert-info {
    background: var(--thm-f6);
    color: var(--thm-black);
    border-left: 4px solid var(--thm-color);
}

#samplingResult {
    margin-top: 10px;
}

.sampling-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.sampling-item:last-child {
    border-bottom: none;
}

.sampling-item .label {
    font-weight: 600;
    color: var(--thm-black);
}

.sampling-item .value {
    color: var(--thm-p);
}

.sampling-item .badge {
    margin-left: 10px;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
}

.sampling-item .badge.optimal {
    background: #28a745;
    color: white;
}

.sampling-item .badge.good {
    background: #17a2b8;
    color: white;
}

.sampling-item .badge.acceptable {
    background: #ffc107;
    color: #333;
}

.sampling-item .badge.poor {
    background: #dc3545;
    color: white;
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}


/* Telescope Matching Calculator Enhancements */
.matching-calculator {
    background: var(--thm-white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
}

.matching-result {
    background: var(--thm-f6);
    padding: 25px;
    border-radius: 10px;
    margin-top: 20px;
}

.result-item {
    background: var(--thm-white);
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    border-left: 4px solid var(--thm-color);
    transition: all 0.3s ease;
}

.result-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.result-label {
    font-weight: 600;
    color: var(--thm-gray);
    display: inline-block;
    min-width: 120px;
}

.result-value {
    color: var(--thm-black);
    font-weight: 500;
}

/* Status Indicators */
.result-status {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    margin-left: 10px;
    letter-spacing: 0.5px;
}

.result-status.optimal {
    background: linear-gradient(135deg, #52c41a, #73d13d);
    color: var(--thm-white);
    box-shadow: 0 2px 8px rgba(82, 196, 26, 0.3);
}

.result-status.acceptable {
    background: linear-gradient(135deg, #faad14, #ffc53d);
    color: var(--thm-white);
    box-shadow: 0 2px 8px rgba(250, 173, 20, 0.3);
}

.result-status.suboptimal {
    background: linear-gradient(135deg, #ff4d4f, #ff7875);
    color: var(--thm-white);
    box-shadow: 0 2px 8px rgba(255, 77, 79, 0.3);
}

/* Calculator Inputs Styling */
.calculator-inputs {
    background: var(--thm-f6);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.calculator-inputs .form-control,
.calculator-inputs .form-select {
    border: 2px solid transparent;
    background: var(--thm-white);
    transition: all 0.3s ease;
}

.calculator-inputs .form-control:focus,
.calculator-inputs .form-select:focus {
    border-color: var(--thm-color);
    box-shadow: 0 0 0 0.2rem rgba(58, 151, 255, 0.1);
}

/* Common Telescope Setups Table Enhancement */
.common-setups {
    background: var(--thm-white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    margin-top: 30px;
}

.common-setups h5 {
    color: var(--thm-black);
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--thm-color);
}

.common-setups .table {
    margin-bottom: 0;
}

.common-setups .table thead th {
    background: var(--thm-f6);
    color: var(--thm-black);
    font-weight: 600;
    border-bottom: 2px solid var(--thm-color);
    padding: 15px 12px;
}

.common-setups .table tbody tr {
    transition: all 0.3s ease;
}

.common-setups .table tbody tr:hover {
    background: var(--thm-f6);
    transform: scale(1.01);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.common-setups .table tbody td {
    padding: 12px;
    vertical-align: middle;
}

/* Theory Content Styling */
.matching-theory {
    background: var(--thm-white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
}

.theory-content {
    background: var(--thm-f6);
    padding: 25px;
    border-radius: 8px;
    margin-top: 15px;
}

.theory-content h6 {
    color: var(--thm-color);
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 16px;
}

.theory-content p {
    background: var(--thm-white);
    padding: 12px 15px;
    border-radius: 6px;
    border-left: 3px solid var(--thm-color);
    font-family: 'Courier New', monospace;
    font-size: 14px;
    color: var(--thm-black);
    margin-bottom: 15px;
}

.theory-content ul {
    background: var(--thm-white);
    padding: 20px 20px 20px 40px;
    border-radius: 6px;
    margin-bottom: 0;
}

.theory-content ul li {
    margin-bottom: 10px;
    position: relative;
}

.theory-content ul li:before {
    content: "▸";
    position: absolute;
    left: -20px;
    color: var(--thm-color);
    font-weight: 600;
}

.theory-content ul li strong {
    color: var(--thm-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .faq-container {
        grid-template-columns: 1fr;
    }

    .matching-calculator,
    .matching-theory,
    .common-setups {
        padding: 20px;
    }

    .theory-content,
    .matching-result {
        padding: 15px;
    }

    .result-label {
        min-width: 100px;
        font-size: 14px;
    }

    .common-setups .table {
        font-size: 14px;
    }

    .common-setups .table thead th,
    .common-setups .table tbody td {
        padding: 8px;
    }
}


/* Highlight HOPE D60 row */
.table-highlight {
    background: linear-gradient(90deg, rgba(58, 151, 255, 0.1) 0%, rgba(58, 151, 255, 0.05) 100%);
    font-weight: 500;
}

.table-highlight td:first-child {
    position: relative;
    padding-left: 25px;
}

.table-highlight td:first-child::before {
    /* 使用符号徽标替代固定中文文案，避免多语言页面出现语言不匹配。 */
    content: "★";
    position: absolute;
    left: -5px;
    top: 50%;
    transform: translateY(-50%) rotate(-90deg);
    font-size: 10px;
    color: var(--thm-color);
    font-weight: 700;
    letter-spacing: 1px;
}

.common-setups .table tbody tr:hover {
    background: var(--thm-f6);
    transform: none;
    box-shadow: none;
}

.common-setups .table tbody tr.table-highlight:hover {
    background: linear-gradient(90deg, rgba(58, 151, 255, 0.15) 0%, rgba(58, 151, 255, 0.08) 100%);
}

/* ============================================
   优化后的推荐结果展示样式
   ============================================ */

/* 用户选择摘要 */
.recommendation-summary {
    background: linear-gradient(135deg, var(--thm-color) 0%, #1a5490 100%);
    color: var(--v2-text-inverse);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 8px 25px rgba(45, 118, 192, 0.2);
}

.recommendation-summary h4 {
    color: var(--v2-text-inverse);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.recommendation-summary h4 i {
    color: var(--v2-text-inverse);
}

.summary-details {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.summary-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.summary-item .label {
    color: rgba(255, 255, 255, 0.78);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.summary-item .value {
    color: var(--v2-text-inverse);
    font-size: 16px;
    font-weight: 600;
}

/* 推荐逻辑说明：先解释配置思路，再展示产品，降低客户只看型号的理解成本。 */
.recommendation-rationale {
    background: var(--v2-bg-primary);
    border: 1px solid var(--v2-bg-divider);
    border-radius: var(--v2-radius-lg);
    box-shadow: var(--v2-shadow-card);
    display: grid;
    gap: 24px;
    margin-bottom: 32px;
    padding: 28px;
}

.recommendation-rationale__intro {
    display: grid;
    gap: 8px;
    max-width: 900px;
}

.recommendation-rationale__eyebrow {
    color: var(--v2-primary-600);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.recommendation-rationale__intro h5 {
    color: var(--v2-text-heading);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0;
}

.recommendation-rationale__intro p {
    color: var(--v2-text-secondary);
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
}

.recommendation-rationale__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.recommendation-rationale__item {
    background: var(--v2-bg-content);
    border: 1px solid var(--v2-bg-divider);
    border-radius: var(--v2-radius-md);
    display: grid;
    gap: 8px;
    padding: 18px;
}

.recommendation-rationale__item strong {
    color: var(--v2-text-heading);
    font-size: 15px;
}

.recommendation-rationale__item span {
    color: var(--v2-text-body);
    font-size: 14px;
    line-height: 1.65;
}

/* 推荐配置包 */
.recommendation-package {
    background: var(--color-white);
    border-radius: 12px;
    margin-bottom: 30px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.recommendation-package:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.package-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background: linear-gradient(to right, var(--thm-f6), var(--color-white));
    border-bottom: 1px solid var(--thm-f3);
}

.package-header h5 {
    font-size: 18px;
    font-weight: 600;
    color: var(--thm-black);
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.package-badge {
    background: var(--thm-color);
    color: var(--color-white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.package-products {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    padding: 25px;
}

.package-missing-note {
    color: var(--v2-text-secondary);
    display: grid;
    gap: 6px;
    font-size: 14px;
    line-height: 1.5;
    padding: 16px 25px 0;
}

.package-missing-note strong {
    color: var(--v2-text-heading);
    font-size: 15px;
}

.package-missing-note span {
    color: var(--v2-text-secondary);
}

/* Shopify 套装价格提示：仅在命中本地 Excel 价格参考时显示 */
.bundle-summary {
    margin: 20px 25px 0;
    padding: 16px 18px;
    background: var(--v2-bg-content);
    border: 1px solid var(--v2-bg-divider);
    border-left: 4px solid var(--v2-primary-500);
    border-radius: var(--v2-radius-sm);
    color: var(--v2-text-body);
    display: grid;
    gap: 6px;
}

.bundle-summary-label {
    color: var(--v2-primary-600);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.bundle-summary strong {
    color: var(--v2-text-heading);
    font-size: 15px;
}

.bundle-summary span:last-of-type,
.bundle-summary p {
    color: var(--v2-text-secondary);
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

/* 推荐产品卡片 */
.recommended-product {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    background: var(--color-white);
    border: 2px solid var(--thm-f3);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.recommended-product:hover {
    border-color: var(--thm-color);
    box-shadow: 0 4px 15px rgba(45, 118, 192, 0.1);
}

.product-image {
    flex-shrink: 0;
    width: 100%;
    height: 170px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--thm-f6);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-image .no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--thm-gray);
}

.product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.product-fit-label {
    align-self: flex-start;
    background: rgba(var(--v2-primary-500-rgb), 0.08);
    border: 1px solid rgba(var(--v2-primary-500-rgb), 0.18);
    border-radius: 999px;
    color: var(--v2-primary-600);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    padding: 6px 10px;
}

.product-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--thm-black);
    margin: 0;
}

.product-meta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
}

.product-price {
    color: var(--thm-color);
    font-size: 18px;
    font-weight: 700;
}

.product-specs {
    font-size: 12px;
    color: var(--thm-gray);
    background: var(--thm-f3);
    padding: 2px 8px;
    border-radius: 4px;
}

.product-reason {
    font-size: 14px;
    color: var(--thm-gray);
    line-height: 1.5;
    margin: 0;
}

/* 单个相机卡片中的套装价说明，帮助客户区分单机价和组合价 */
.bundle-inline-note {
    background: var(--v2-bg-content);
    border: 1px solid var(--v2-bg-divider);
    border-radius: var(--v2-radius-sm);
    color: var(--v2-text-body);
    display: grid;
    gap: 4px;
    font-size: 13px;
    line-height: 1.45;
    padding: 10px 12px;
}

.bundle-inline-note strong {
    color: var(--v2-text-heading);
}

.bundle-inline-note span {
    color: var(--v2-primary-600);
    font-weight: 700;
}

.product-actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
}

.btn-view-details {
    color: var(--thm-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
}

.btn-view-details:hover {
    text-decoration: underline;
}

.btn-add-compare {
    background: transparent;
    border: 1px solid var(--thm-color);
    color: var(--thm-color);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-add-compare:hover {
    background: var(--thm-color);
    color: var(--color-white);
}

.compare-note {
    color: var(--v2-text-secondary);
    background: var(--v2-bg-content);
    border: 1px solid var(--v2-bg-divider);
    border-radius: 4px;
    padding: 4px 10px;
    font-size: 12px;
}

/* 配置包底部 */
.package-footer {
    padding: 20px 25px;
    background: var(--thm-f6);
    border-top: 1px solid var(--thm-f3);
}

.package-total {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 16px;
}

.total-label {
    color: var(--thm-gray);
}

.total-price {
    color: var(--thm-color);
    font-size: 24px;
    font-weight: 700;
}

.item-count {
    font-size: 12px;
    color: var(--thm-gray);
}

.price-variance-note {
    color: var(--v2-text-secondary);
    flex-basis: 100%;
    font-size: 13px;
    line-height: 1.45;
}

.package-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.package-actions .btn {
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

/* 响应式设计 */
@media (max-width: 1199px) {
    .package-products,
    .recommendation-rationale__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .summary-details {
        flex-direction: column;
        gap: 15px;
    }

    .package-products,
    .recommendation-rationale__grid {
        grid-template-columns: 1fr;
    }

    .recommendation-rationale {
        padding: 22px;
    }

    .recommendation-rationale__intro h5 {
        font-size: 19px;
    }

    .product-image {
        width: 100%;
        height: 150px;
    }

    .package-actions {
        flex-direction: column;
    }

    .package-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================================
   V2 Pre-sales Overrides
   说明：
   - 咨询向导、选项卡、介绍卡与对比工具统一为 V2 主卡片体系。
   ============================================================ */

.pre-sales-consultation {
    background: linear-gradient(180deg, var(--v2-bg-functional) 0%, var(--v2-bg-primary) 100%);
}

.selection-wizard-container,
.category-intro-card,
.comparison-tool,
.comparison-table {
    background: var(--v2-bg-primary);
    border: 1px solid var(--v2-bg-divider);
    border-radius: var(--v2-radius-lg);
    box-shadow: var(--v2-shadow-card);
}

.progress-bar-container,
.wizard-steps .step {
    background: var(--v2-bg-divider);
}

.progress-bar-fill,
.wizard-steps .step.active,
.wizard-steps .step.completed {
    background: var(--v2-primary-500);
}

.option-card,
.category-icon {
    background: var(--v2-bg-content);
    border-color: var(--v2-bg-divider);
}

.option-card:hover,
.option-card.selected,
.category-intro-card:hover {
    border-color: var(--v2-primary-200);
    box-shadow: var(--v2-shadow-card-hover);
}

.comparison-select:focus {
    border-color: var(--v2-primary-500);
    box-shadow: 0 0 0 4px rgba(var(--v2-primary-500-rgb), 0.12);
}

/* ============================================================
   V2 Pre-sales Final Alignment
   说明：
   - 预售页仍有旧按钮、旧步骤块和对比控件焦点态不一致的问题。
   - 这里补最终覆盖，确保向导卡、结果卡、按钮与表单控件统一。
   ============================================================ */

.selection-wizard-container,
.selection-result-card,
.category-intro-card,
.comparison-tool,
.comparison-table,
.recommended-product,
.package-summary {
    background: var(--v2-bg-primary);
    border: 1px solid var(--v2-bg-divider);
    border-radius: var(--v2-radius-lg);
    box-shadow: var(--v2-shadow-card);
}

.wizard-steps .step,
.option-card,
.summary-badge,
.comparison-select,
.package-products .product-card {
    border-radius: var(--v2-radius-md);
}

.option-card,
.comparison-select,
.summary-badge,
.package-products .product-card {
    background: var(--v2-bg-content);
    border: 1px solid var(--v2-bg-divider);
    color: var(--v2-text-body);
}

.option-card h4,
.category-intro-card h3,
.recommended-product h4,
.package-summary h3,
.summary-details strong {
    color: var(--v2-text-heading);
}

.option-card p,
.category-intro-card p,
.recommended-product p,
.summary-details span,
.package-note {
    color: var(--v2-text-secondary);
}

.wizard-actions .btn,
.package-actions .btn,
.comparison-tool .btn-primary {
    min-height: 44px;
    border-radius: var(--v2-radius-md);
}

.wizard-actions .btn-primary,
.package-actions .btn-primary,
.comparison-tool .btn-primary {
    background: var(--v2-primary-500);
    border-color: var(--v2-primary-500);
    color: var(--v2-text-inverse);
}

.wizard-actions .btn-primary:hover,
.package-actions .btn-primary:hover,
.comparison-tool .btn-primary:hover {
    background: var(--v2-primary-400);
    border-color: var(--v2-primary-400);
}

.wizard-actions .btn-outline-primary,
.package-actions .btn-outline-primary,
.comparison-tool .btn-outline-primary {
    background: var(--v2-bg-primary);
    border-color: var(--v2-primary-500);
    color: var(--v2-primary-500);
}

.wizard-actions .btn-outline-primary:hover,
.package-actions .btn-outline-primary:hover,
.comparison-tool .btn-outline-primary:hover {
    background: rgba(var(--v2-primary-500-rgb), 0.06);
}

.pre-sales-consultation .selection-wizard-container,
.pre-sales-consultation .option-card,
.pre-sales-consultation .recommendation-summary,
.pre-sales-consultation .recommendation-rationale,
.pre-sales-consultation .recommendation-rationale__item,
.pre-sales-consultation .recommendation-package,
.pre-sales-consultation .product-recommendation,
.pre-sales-consultation .wizard-navigation .btn,
.pre-sales-consultation ~ .atf-Subscribe-area .atf-subscribe-panel,
.pre-sales-consultation ~ .atf-Subscribe-area .atf-subscribe-form,
.pre-sales-consultation ~ .atf-Subscribe-area .atf-subscribe-input,
.pre-sales-consultation ~ .atf-Subscribe-area .atf-subscribe-btn {
    border-radius: 8px !important;
}

.pre-sales-consultation h2 {
    font-size: 32px;
    line-height: 40px;
    font-weight: 500;
}

.pre-sales-consultation .wizard-title {
    font-size: 24px;
    line-height: 32px;
    font-weight: 500;
}

.pre-sales-consultation .wizard-step h4,
.pre-sales-consultation .recommendation-summary h4,
.pre-sales-consultation .recommendation-rationale__intro h5 {
    font-size: 20px;
    line-height: 28px;
    font-weight: 500;
}

.pre-sales-consultation .wizard-subtitle,
.pre-sales-consultation .wizard-step-note,
.pre-sales-consultation .option-card p,
.pre-sales-consultation .recommendation-rationale__intro p,
.pre-sales-consultation .recommendation-rationale__item span,
.pre-sales-consultation .product-recommendation p {
    font-size: 16px;
    line-height: 24px;
}

.pre-sales-consultation .option-card h5,
.pre-sales-consultation .product-recommendation h6,
.pre-sales-consultation .recommended-product h6,
.pre-sales-consultation .package-header h5,
.pre-sales-consultation .recommendation-rationale__item strong {
    font-size: 18px;
    line-height: 24px;
    font-weight: 500;
}

.pre-sales-consultation .recommended-product,
.pre-sales-consultation .product-image,
.pre-sales-consultation .product-image img,
.pre-sales-consultation .bundle-inline-note,
.pre-sales-consultation .bundle-summary,
.pre-sales-consultation .package-missing-note,
.pre-sales-consultation .package-actions .btn,
.pre-sales-consultation .product-actions a,
.pre-sales-consultation .product-actions button {
    border-radius: 8px !important;
}

.pre-sales-consultation .package-missing-note,
.pre-sales-consultation .package-missing-note span,
.pre-sales-consultation .product-reason,
.pre-sales-consultation .package-footer,
.pre-sales-consultation .package-footer span {
    font-size: 16px;
    line-height: 24px;
}

.pre-sales-consultation .wizard-navigation .btn,
.pre-sales-consultation .matching-calculator .atf-themes-btn,
.pre-sales-consultation .package-actions .btn,
.pre-sales-consultation .product-actions a,
.pre-sales-consultation .product-actions button {
    border-radius: var(--v2-radius-button-pill, 22px) !important;
}

.pre-sales-consultation .product-actions a,
.pre-sales-consultation .product-actions button,
.pre-sales-consultation .package-actions .btn {
    font-size: 16px;
    line-height: 24px;
    font-weight: 600;
}

.pre-sales-consultation ~ .atf-Subscribe-area .atf-subscribe-copy h3 {
    font-size: 24px;
    line-height: 32px;
    font-weight: 500;
}

html[lang="de-DE"] .pre-sales-consultation .option-card--multi.selected::after {
    content: "Ausgewählt";
}

@media (max-width: 767px) {
    .pre-sales-consultation h2 {
        font-size: 24px;
        line-height: 32px;
        font-weight: 500;
    }

    .pre-sales-consultation .wizard-title,
    .pre-sales-consultation .wizard-step h4,
    .pre-sales-consultation .recommendation-summary h4,
    .pre-sales-consultation .recommendation-rationale__intro h5,
    .pre-sales-consultation ~ .atf-Subscribe-area .atf-subscribe-copy h3 {
        font-size: 20px;
        line-height: 28px;
        font-weight: 500;
    }

    .pre-sales-consultation .wizard-navigation .btn,
    .pre-sales-consultation .package-actions .btn,
    .pre-sales-consultation .product-actions a,
    .pre-sales-consultation .product-actions button,
    .pre-sales-consultation .matching-calculator .atf-themes-btn {
        border-radius: 21px !important;
    }
}

/* Product Select tools mobile layout */
@media (max-width: 767px) {
    .pre-sales-consultation.atf-section-padding {
        padding-top: 48px;
        padding-bottom: 48px;
    }

    .pre-sales-consultation > .container {
        max-width: 100%;
        padding-right: 16px;
        padding-left: 16px;
    }

    .pre-sales-consultation .selection-wizard-container {
        padding: 20px;
    }

    .pre-sales-consultation .wizard-progress {
        margin-right: 4px;
        margin-bottom: 34px;
        margin-left: 4px;
    }

    .pre-sales-consultation .option-cards,
    .pre-sales-consultation .option-cards--text,
    .pre-sales-consultation .option-cards--compact {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
        width: 100%;
    }

    .pre-sales-consultation .option-card,
    .pre-sales-consultation .option-card--visual,
    .pre-sales-consultation .option-card--text,
    .pre-sales-consultation .option-cards--compact .option-card--text {
        width: 100%;
        max-width: none;
        min-height: 0;
    }

    .pre-sales-consultation .wizard-navigation {
        width: 100%;
        gap: 10px;
    }

    .pre-sales-consultation .wizard-navigation .btn {
        flex: 1 1 0;
        min-width: 0;
        min-height: 44px;
        margin-left: 0 !important;
    }

    .pre-sales-consultation .recommendation-summary,
    .pre-sales-consultation .recommendation-rationale,
    .pre-sales-consultation .recommendation-package {
        padding: 20px;
    }

    .pre-sales-consultation .package-products,
    .pre-sales-consultation .recommendation-rationale__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .pre-sales-consultation .telescope-matching-guide,
    .pre-sales-consultation .common-setups {
        padding: 16px;
    }

    .pre-sales-consultation .matching-calculator,
    .pre-sales-consultation .matching-theory {
        padding: 20px;
    }

    .pre-sales-consultation .calculator-inputs {
        padding: 16px;
    }

    .pre-sales-consultation .theory-content {
        padding: 16px;
    }

    .pre-sales-consultation .theory-content p {
        overflow-wrap: anywhere;
    }

    .pre-sales-consultation .matching-result {
        padding: 16px;
    }

    .pre-sales-consultation .matching-result .result-label,
    .pre-sales-consultation .matching-result .result-value {
        display: block;
        min-width: 0;
    }

    .pre-sales-consultation .matching-result .result-label {
        margin-bottom: 4px;
    }

    .pre-sales-consultation .matching-result .result-status {
        margin-top: 8px;
        margin-left: 0;
    }

    .pre-sales-consultation .common-setups .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .pre-sales-consultation .common-setups .table {
        width: 860px;
        min-width: 860px;
    }

    .pre-sales-consultation .common-setups .table thead th:first-child,
    .pre-sales-consultation .common-setups .table tbody td:first-child {
        position: sticky;
        left: 0;
        z-index: 2;
        min-width: 150px;
    }

    .pre-sales-consultation .common-setups .table thead th:first-child {
        z-index: 3;
        background: var(--v2-bg-content);
    }

    .pre-sales-consultation .common-setups .table tbody td:first-child {
        background: var(--v2-bg-primary);
        box-shadow: 8px 0 12px -12px rgba(10, 33, 65, 0.45);
    }
}

@media (max-width: 575px) {
    .pre-sales-consultation .wizard-navigation {
        align-items: stretch;
        flex-direction: column;
    }

    .pre-sales-consultation .wizard-navigation .btn {
        width: 100%;
    }
}

/* Telescope matching visual alignment */
.pre-sales-consultation .telescope-matching-guide,
.pre-sales-consultation .matching-calculator,
.pre-sales-consultation .matching-theory,
.pre-sales-consultation .common-setups,
.pre-sales-consultation .theory-content,
.pre-sales-consultation .matching-result,
.pre-sales-consultation .matching-result .result-item,
.pre-sales-consultation .common-setups .table-responsive,
.pre-sales-consultation .common-setups .table,
.pre-sales-consultation .calculator-inputs,
.pre-sales-consultation .calculator-inputs .form-control,
.pre-sales-consultation .calculator-inputs .form-select,
.pre-sales-consultation .theory-content p,
.pre-sales-consultation .theory-content ul,
.pre-sales-consultation .matching-calculator .atf-themes-btn,
.pre-sales-consultation .matching-result .result-status {
    border-radius: 8px !important;
}

.pre-sales-consultation .matching-calculator,
.pre-sales-consultation .matching-theory {
    height: auto !important;
}

.pre-sales-consultation .matching-calculator h3,
.pre-sales-consultation .matching-theory h3,
.pre-sales-consultation .common-setups h3 {
    font-size: 24px;
    line-height: 32px;
    font-weight: 500;
}

.pre-sales-consultation .theory-content h6 {
    font-size: 20px;
    line-height: 28px;
    font-weight: 500;
}

.pre-sales-consultation .matching-calculator p,
.pre-sales-consultation .calculator-inputs label,
.pre-sales-consultation .calculator-inputs .form-control,
.pre-sales-consultation .calculator-inputs .form-select,
.pre-sales-consultation .theory-content p,
.pre-sales-consultation .theory-content li,
.pre-sales-consultation .matching-result,
.pre-sales-consultation .matching-result .result-label,
.pre-sales-consultation .matching-result .result-value,
.pre-sales-consultation .common-setups .table thead th,
.pre-sales-consultation .common-setups .table tbody td {
    font-size: 16px;
    line-height: 24px;
}

.pre-sales-consultation .calculator-inputs label,
.pre-sales-consultation .common-setups .table thead th,
.pre-sales-consultation .matching-result .result-label {
    font-weight: 600;
}

.pre-sales-consultation .matching-calculator .atf-themes-btn {
    font-size: 16px;
    line-height: 24px;
    font-weight: 600;
    color: #fff;
    background: var(--v2-primary-500, #2967D3);
    border-color: var(--v2-primary-500, #2967D3);
    border-radius: var(--v2-radius-button-pill, 22px) !important;
}

.pre-sales-consultation .matching-calculator .atf-themes-btn:hover,
.pre-sales-consultation .matching-calculator .atf-themes-btn:focus {
    color: #fff;
    background: var(--v2-primary-600, #1F5DBF);
    border-color: var(--v2-primary-600, #1F5DBF);
}

.pre-sales-consultation .matching-result .result-status {
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
    letter-spacing: 0;
    box-shadow: none;
}

.pre-sales-consultation .matching-result .result-status.optimal {
    color: #155724;
    background: #E9F7EF;
}

.pre-sales-consultation .matching-result .result-status.acceptable {
    color: #7A4F00;
    background: #FFF4D8;
}

.pre-sales-consultation .matching-result .result-status.suboptimal {
    color: #8A1F1F;
    background: #FDEAEA;
}

.pre-sales-consultation .matching-result .result-item:hover,
.pre-sales-consultation .common-setups .table tbody tr:hover {
    transform: none;
}

@media (max-width: 767px) {
    .pre-sales-consultation .matching-calculator h3,
    .pre-sales-consultation .matching-theory h3,
    .pre-sales-consultation .common-setups h3,
    .pre-sales-consultation .theory-content h6 {
        font-size: 20px;
        line-height: 28px;
        font-weight: 500;
    }

    .pre-sales-consultation .telescope-matching-guide,
    .pre-sales-consultation .common-setups {
        padding: 16px;
    }

    .pre-sales-consultation .matching-calculator,
    .pre-sales-consultation .matching-theory {
        padding: 20px;
    }

    .pre-sales-consultation .matching-calculator .atf-themes-btn {
        border-radius: 21px !important;
    }
}
