.breadcrumb-box{
    margin-bottom: 20px;
}
.link{
    font-size: 0.8rem;
    color: #909399;;
}
.link a{
    color: #0052d9;
}
.ssl-buy-title{
    display: flex;
    gap: 20px;
    font-size: 1.2rem;
    font-weight: bold;
    align-items: center;
    margin: 20px 0 10px 0;
}
svg{
    margin-right: 5px;
}
.card{
    display: flex;
    gap: 20px;
}
.buy-left-card{
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 70%;
    margin-bottom: 50px;
}
.buy-left-card-item{
    background: white;
    border: 1px solid #e4e7ed;
    padding: 20px;
}
.buy-right-card{
    flex: 1;
    margin-bottom: 50px;
}
.order-form-section-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #303133;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}
.order-form-section-title1 {
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #ebeef5;
}
 .buy-left-card-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.form-row.full {
    grid-template-columns: 1fr;
}

.form-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 8px;
}

.form-item label {
    font-size: 0.8rem;
    font-weight: 500;
    color:#303133;
}

.form-item label .required {
    color: #ff4d4f;
    margin-left: 2px;
}

.form-item input,
.form-item select,
.form-item textarea {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #e4e7ed;
    border-radius: 0;
    font-size: 0.8rem;
    color: #303133;
    background: white;
    transition: all 0.3s;
}

.form-item input:focus,
.form-item select:focus,
.form-item textarea:focus {
    outline: none;
    border-color: #0052d9;
    box-shadow: 0 0 0 2px #e8f4ff;
}

.form-item textarea {
    resize: vertical;
    min-height: 80px;
}

.form-help {
    font-size: 0.8rem;
    color: #909399;
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.radio-group {
    display: flex;
    flex-direction: row;
    gap: 12px;
}

.radio-option {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    border: 1px solid #e4e7ed;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.3s;
    background: white;
    gap: 8px;
    flex: 1;
}
.form-error{
    display: none; 
    color: #f56c6c; 
    font-size: 0.8rem; 
    margin-top: 4px;
}
.radio-option:hover {
    border-color: #0052d9;
    background: #e8f4ff;
}

.radio-option input[type="radio"] {
    margin: 0;
    cursor: pointer;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
}

.radio-option .radio-title {
    flex: 1;
    font-size: 0.8rem;
    color: #303133;
}

.radio-option input[type="radio"]:checked + .radio-title {
    color: #0052d9;
    font-weight: 500;
}

.radio-option:has(input[type="radio"]:checked) {
    border-color: #0052d9;
    background: #e8f4ff;
}

.payment-methods {
    display: flex;
    flex-direction: row;
    gap: 12px;
}

.checkout-sidebar {
    position: sticky;
    top: 80px;
    height: fit-content;
}

.product-summary {
    background: white;
    border: 1px solid #e4e7ed;
    padding: 20px;
    margin-bottom: 20px;
    margin-bottom: 16px; 
    padding-bottom: 16px; 
    border-bottom: 1px solid #ebeef5;
}

.product-summary-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #ebeef5;
}

.product-summary-header img {
    width: 85px;
    height: auto;
}

.product-summary-header .product-name {
    flex: 1;
    font-size: 0.9rem;
    font-weight: 600;
    color: #303133;
}

.product-summary-header .product-type {
    background: #0052d9;
    color: white;
    padding: 2px 8px;
    font-size: 0.8rem;
    font-weight: 500;
}
input::placeholder {
    color: lightgray;
}


.product-summary-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.product-summary-info-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--tc-text-regular);
}

.product-summary-info-item .label {
    color: #909399;
}

.product-summary-info-item .value {
    font-weight: 500;
    color: #303133;
}

.price-summary {
    background: white;
    border: 1px solid #e4e7ed;
    padding: 20px;
}

.price-summary-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #303133;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #ebeef5;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 0.8rem;
}

.price-row .label {
    color: var(--tc-text-regular);
}

.price-row .value {
    font-weight: 500;
    color: #303133;
}

.price-row.total {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #ebeef5;
}

.price-row.total .label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #303133;
}

.price-row.total .value {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0052d9;
}
    .payment-method {
    padding: 16px 12px;
    border: 1px solid #e4e7ed;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.3s;
    background: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 1;
    text-align: center;
    min-height: 100px;
}

.payment-method:hover {
    border-color: #0052d9;
    background: #f0f7ff;
}

.payment-method.active {
    border-color: #0052d9;
    background: #e8f4ff;
}

.payment-method i {
    font-size: 1.4rem;
    color: #0052d9;
    width: auto;
    height: 24px;
    line-height: 24px;
}

.payment-method .payment-name {
    font-size: 0.8rem;
    font-weight: 500;
    color: #303133;
    line-height: 1.4;
}

.payment-method.active .payment-name {
    color: #0052d9;
}

.payment-method .payment-balance {
    font-size: 0.8rem;
    color: #909399;
    margin-top: 0;
    line-height: 1.4;
}

.payment-method .payment-amount {
    font-size: 0.8rem;
    color: #0052d9;
    margin-top: 0;
    font-weight: 500;
    line-height: 1.4;
}

.submit-section {
    background: white;
    border: 1px solid #e4e7ed;
    padding: 20px;
    margin-top: 20px;
}

.submit-button {
    width: 100%;
    padding: 12px;
    background: #0052d9;
    color: white;
    border: none;
    border-radius: 0;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.submit-button:hover {
    background: #266fe8;
}

.submit-button:disabled {
    background: #c0c4cc;
    cursor: not-allowed;
}

.security-info {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #ebeef5;
    display: flex;
    justify-content: center;
    gap: 24px;
    font-size: 0.8rem;
    color: #909399;
}

.security-info-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.security-info-item i {
    color: #0052d9;
}

/* Toast 通知样式 */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}

.toast {
    min-width: 300px;
    max-width: 500px;
    padding: 14px 16px;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: slideInRight 0.3s ease-out;
    pointer-events: auto;
    font-size: 0.9rem;
    line-height: 1.5;
}

.toast.error {
    background: #fff1f0;
    border: 1px solid #ffccc7;
    color: #ff4d4f;
}

.toast.success {
    background: #f6ffed;
    border: 1px solid #b7eb8f;
    color: #52c41a;
}

.toast.warning {
    background: #fffbe6;
    border: 1px solid #ffe58f;
    color: #faad14;
}

.toast.info {
    background: #e6f7ff;
    border: 1px solid #91d5ff;
    color: #1890ff;
}

.toast-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
}

.toast-message {
    flex: 1;
    word-break: break-word;
}

.toast-close {
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.6;
    transition: opacity 0.2s;
    flex-shrink: 0;
}
.el-radio__input.is-checked .el-radio__inner {
    border-color: #409EFF !important;
    background: #409EFF !important;
}
.el-button--primary {
    color: #FFF;
    background-color: #409EFF !important;
    border-color: #409EFF !important;
}
.el-radio__input.is-checked+.el-radio__label {
    color: #409EFF !important;
}

.toast-close:hover {
    opacity: 1;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

.toast.hiding {
    animation: slideOutRight 0.3s ease-out forwards;
}

.error-modal.show {
    display: flex;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.error-modal-content {
    background: white;
    border-radius: 8px;
    max-width: 480px;
    width: 90%;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    animation: slideUp 0.3s ease;
    overflow: hidden;
}

.error-modal-header {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
}

.error-modal-header i {
    font-size: 1.4rem;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
}

.error-modal-header h3 {
    flex: 1;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.error-modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s;
    padding: 0;
}

.error-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.error-modal-body {
    padding: 24px;
}

.error-modal-icon {
    text-align: center;
    margin-bottom: 16px;
}

.error-modal-icon i {
    font-size: 3.4rem;
    color: #ff6b6b;
    animation: shake 0.5s ease;
}

@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-10px);
    }
    75% {
        transform: translateX(10px);
    }
}

.error-modal-message {
    text-align: center;
    font-size: 0.9rem;
    color: #333;
    line-height: 1.6;
    margin-bottom: 24px;
    word-break: break-word;
}

.error-modal-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.error-modal-btn {
    padding: 10px 24px;
    border: none;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    min-width: 100px;
}

.error-modal-btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.error-modal-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.error-modal-btn-secondary {
    background: #f5f5f5;
    color: #666;
}

.error-modal-btn-secondary:hover {
    background: #e0e0e0;
}
.paymentModal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5); 
  z-index: 9999; 
  display: none;
  justify-content: center;
  align-items: center;
  user-select: none;
}
.paymentModal-background{
    width: 500px; 
    background: #fff; 
    border-radius: 2px; 
    padding: 30px; 
    box-shadow: 0 0 20px rgba(0,0,0,0.2);
}
.paymentModal-price{
    border-bottom: 1px solid #eee; 
    padding-bottom: 15px; 
    margin-bottom: 20px;
}
h3{
    margin: 0 0 20px 0; 
    font-size: 18px; 
    font-weight: 600;
}
.paymentModal-price-num{
    display: flex;
    justify-content: space-between;
    margin-top: 15px ;
    padding-bottom: 15px;
    font-size: 1.2rem;
    border-bottom: 1px solid #c3c2c2;
    
}
.paymentModal-price-num span{
    font-size: 24px; 
    font-weight: 600; 
    color: #00b42a; margin: 0;
}
.paymentModal-price-title{
    font-size: 1.2rem; 
    color: #266fe8; margin: 0 0 5px 0;
}
.paymentModal-price-title1{
    font-size: 1.2rem; 
    color: #333; 
    margin: 10px 0;
}
.el-button--primary:focus, .el-button--primary:hover {
    background: #66b1ff !important;
    border-color: #66b1ff !important;
    color: #FFF;
}
.paymentModal-why{
    border-bottom: 1px solid #eee; 
    padding-bottom: 15px; 
    margin-bottom: 20px;
}
.radio{
    color: #266fe8;
}
.paymentMethod{
    display: flex; 
    justify-content: flex-end; 
    gap: 15px;
}
.cancelPayment{
    padding: 8px 20px; 
    border: 1px solid #ddd; 
    border-radius: 4px; 
    background: #fff; 
    cursor: pointer; 
    font-size: 14px;
}
.confirmPayment{
    padding: 8px 30px; 
    border: none; 
    border-radius: 4px; 
    background: #266fe8; 
    color: #fff; 
    cursor: pointer; 
    font-size: 14px;
}
.paymentMethod-btn{
    float: right;
}
.csrContentGroup{
    display: none;
}
.prompt{
    margin-bottom: 16px;
    padding: 12px;
    background: #f0f7ff;
    border-radius: 4px;
    border-left: 3px solid #0052d9;
}
.product-main-box-title{
    position: relative;
    font-size: 16px;
    font-weight: 500;
    color: #333;
    padding-bottom: 12px;
    margin-bottom: 14px;
    border-bottom: 1px solid #999;
}
.item-box{
    display: flex;
    align-items: center;
    margin-bottom: 28px;
    width: 100%;
}
.item-title{
    width: 76px;
    color: rgb(78, 89, 105);
    font-size: 14px;
    margin-right: 16px;
}
.discription{
    font-size: 0.8rem;
    color: rgb(78, 89, 105);
    line-height: 2.8;
}
.discription-item{
    display: flex;
    color: rgb(78, 89, 105);
}
@media (max-width: 1024px) {
    .checkout-content {
        grid-template-columns: 1fr;
    }
    
    .checkout-sidebar {
        position: static;
    }
    .card{
        flex-direction: column;
    }
    .buy-left-card{
        width: 100%;
    }
    .submit-section{
        margin-bottom: 50px;
    }
}