/* 购买步骤样式 */
.buying-steps {
    padding: 60px 0;
}

.steps-intro {
    text-align: center;
    font-size: 1rem;
    color: #666;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.steps-container {
    display: flex;
    flex-direction: column;
    gap: 50px;
    max-width: 1000px;
    margin: 0 auto;
}

.step-item {
    display: flex;
    position: relative;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.step-number {
    position: absolute;
    top: 20px;
    /* left: 20px; */
    width: 40px;
    height: 40px;
    background: var(--color-primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    z-index: 2;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.step-image {
    flex: 0 0 40%;
    position: relative;
}

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

.step-content {
    flex: 0 0 60%;
    padding: 10px 30px;
    text-align: left;
}

.step-content h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: var(--color-primary);
    font-size: 1.4rem;
}

.step-content p {
    margin: 0;
    color: #555;
    line-height: 1.6;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .step-item {
        flex-direction: column;
    }
    
    .step-image {
        flex: 0 0 200px;
    }
    
    .step-content {
        flex: auto;
    }
}


/* 购买流程页面样式 */

/* 常见问题部分 */
.buying-faq {
    margin: 60px 0;
    padding: 40px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.buying-faq h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
    color: #333;
    position: relative;
    padding-bottom: 15px;
}

.buying-faq h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--color-primary, #e74c3c);
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.faq-question {
    padding: 20px;
    background-color: #fff;
    cursor: pointer;
    position: relative;
    border-bottom: 1px solid #f0f0f0;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.2rem;
    color: #333;
    padding-right: 30px;
}

.faq-question:after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--color-primary, #e74c3c);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question:after {
    content: '-';
    transform: translateY(-50%) rotate(180deg);
}

.faq-answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 500px;
}

.faq-answer p {
    margin: 0;
    color: #666;
    line-height: 1.6;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .buying-faq {
        padding: 30px 20px;
    }
    
    .buying-faq h2 {
        font-size: 1.8rem;
    }
    
    .faq-question h3 {
        font-size: 1.1rem;
    }
}


/* 步骤图标样式 */
.step-icon {
    width: 100px;
    height: 100px;
    background-color: var(--color-grey);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    color: white;
    /* box-shadow: 0 8px 20px rgba(231, 76, 60, 0.3); */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-icon i {
    font-size: 40px;
    color: var(--color-text);
}

.step-item:hover .step-icon {
    transform: translateY(-8px);
    /* box-shadow: 0 12px 25px rgba(231, 76, 60, 0.4); */
}
.step-item:hover .step-icon i {
    color:var(--color-primary);
}

/* 调整步骤项目布局 */
.steps-container {
    /* display: grid; */
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.step-item {
    background-color: #fff;
    border-radius: 15px;
    padding: 10px 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    position: relative;
    /* min-height: 320px; */
    display: flex;
    /* flex-direction: column; */
    align-items: self-end;
}

.step-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.step-number {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 50px;
    height: 50px;
    background-color: var(--color-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.4);
    z-index: 2;
}

.step-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: 100%;
}

.step-content h3 {
    margin-top: 0;
    font-size: 1.75rem;
    color: #333;
    margin-bottom: 20px;
    font-weight: 600;
}

.step-content p {
    color: #666;
    margin: 0;
    font-size: 1rem;
    line-height: 1.7;
}

.register-link {
    margin-left: 8px;
    font-size: 0.9em;
    color: var(--color-primary);
    transition: color 0.3s ease;
}

.register-link:hover {
    color: var(--color-primary-dark);
}

@media (max-width: 992px) {
    .steps-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .steps-container {
        grid-template-columns: 1fr;
    }
    
    .step-icon {
        width: 120px;
        height: 120px;
    }
    
    .step-icon i {
        font-size: 50px;
    }
    
    .step-item {
        min-height: auto;
        padding: 35px 25px;
    }
}


/* 投标条款和付款详情部分样式 */
.bid-terms-section {
    margin: 50px 0;
    padding: 30px;
    background-color: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.bid-terms-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

/* 调整左右栏布局平衡 */
.bid-terms-column, 
.payment-details-column {
    flex: 1 1 48%;
    min-width: 300px;
}

.second-title {
    margin-top: 40px;
}

@media (max-width: 768px) {
    .bid-terms-container {
        flex-direction: column;
    }
    
    .bid-terms-column, 
    .payment-details-column {
        flex: 1 1 100%;
    }
    
    .second-title {
        margin-top: 30px;
    }
}

.bid-terms-section h2 {
    color: #333;
    font-size: 24px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e63946;
}

.bid-terms-section h3 {
    color: #444;
    font-size: 18px;
    margin: 25px 0 15px;
}

.bid-terms-list {
    padding-left: 20px;
}

.bid-terms-list li {
    margin-bottom: 12px;
    line-height: 1.6;
}

.payment-formula {
    font-weight: bold;
    background-color: #e6f7ff;
    padding: 10px;
    border-radius: 4px;
    margin: 15px 0;
}

.service-fee-formula {
    font-weight: bold;
    background-color: #fff8e6;
    padding: 10px;
    border-radius: 4px;
    margin: 10px 0;
}

.service-fee-list,
.other-cost-list,
.ocean-freight-list {
    padding-left: 20px;
    margin-bottom: 15px;
}

.service-fee-list li,
.other-cost-list li,
.ocean-freight-list li {
    margin-bottom: 8px;
    line-height: 1.5;
}

.special-note {
    font-style: italic;
    color: #666;
    margin: 15px 0;
    font-size: 14px;
}

.due-date {
    background-color: #ffe6e6;
    padding: 10px;
    border-radius: 4px;
    margin-top: 15px;
    font-weight: bold;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .bid-terms-container {
        flex-direction: column;
    }
    
    .bid-terms-column, 
    .payment-details-column {
        flex: 1 1 100%;
    }
}


/* 卡片布局样式 */
.info-cards {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin: 30px 0;
}

.info-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.card-header {
    color: var(--color-primary);
    padding: 15px 20px;
}

.card-header h2 {
    margin: 0;
    font-size: 22px;
    font-weight: 600;
}

.card-body {
    padding: 20px;
}

.cost-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 20px;
}

.cost-column {
    flex: 1 1 45%;
    min-width: 250px;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .cost-grid {
        flex-direction: column;
    }
    
    .cost-column {
        flex: 1 1 100%;
    }
    .bid-terms-section {
        padding: 0;
    }
    .buying-faq {
        padding: 0;
    }
}
