/* kphyper主题样式文件 */

.btn-disabled {
    background-color: #ccc;
    color: #666;
}

.product-detail-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 20px;
}

.product-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
    text-align: center;
    padding: 0px 0;
    border-bottom: 1px solid #eee;
}

.product-main-content {
    display: flex;
    gap: 30px;
    margin-top: 20px;
}

.product-details {
    flex: 2.5;
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.product-info-section {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    align-items: center;
}

.product-image {
    width: 80px;
    height: 80px;
    background: transparent;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    font-size: 32px;
    flex-shrink: 0;
}

.product-basic-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-params-row {
    display: flex;
    gap: 30px;
    align-items: center;
    margin-top: 10px;
}

.info-item {
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.info-item.inline {
    margin-bottom: 0;
}

.info-item.block {
    margin-bottom: 10px;
}

.product-info-container {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.product-details-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 0;
    border-bottom: 1px solid #e9ecef;
}

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

.info-item .label {
    font-weight: 500;
    color: #666;
    min-width: 60px;
}

.info-item .value {
    color: #333;
    font-weight: 600;
}

.info-label {
    font-weight: bold;
    color: #666;
    margin-right: 8px;
}

.info-value {
    color: #333;
}

.product-description {
    margin-top: 20px;
}

.description-section {
    margin-bottom: 25px;
}

.description-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #007bff;
}

.description-content {
    color: #666;
    line-height: 1.6;
}

.description-list {
    list-style: none;
    padding: 0;
}

.description-list li {
    padding: 5px 0;
    position: relative;
    padding-left: 20px;
}

.description-list li:before {
    content: "•";
    color: #007bff;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.purchase-sidebar {
    flex: 1;
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    border: 1px solid #e9ecef;
    height: fit-content;
    position: sticky;
    top: 20px;
}

.purchase-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
    padding-bottom: 10px;
    border-bottom: 2px solid #007bff;
}

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

.form-label {
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
    display: block;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.quantity-group {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.quantity-group .form-label {
    margin: 0;
}

.quantity-group .quantity-controls {
    white-space: nowrap;
}

.quantity-btn {
    width: 35px;
    height: 35px;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
}

.quantity-btn:hover {
    background: #f8f9fa;
}

.quantity-input {
    width: 90px;
    height: 35px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.payment-methods {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 10px;
}

.payment-option {
    display: flex;
    align-items: center;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.payment-option:hover {
    border-color: #007bff;
    background: #f8f9fa;
}

.payment-option.active {
    border-color: #007bff;
    background: #e3f2fd;
}

.payment-option input[type="radio"] {
    margin-right: 8px;
}

.payment-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    margin-right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    flex-shrink: 0;
}

.payment-icon.usdt { 
    background: linear-gradient(135deg, #26a17b 0%, #2dd4bf 100%); 
}

.payment-icon.trx { 
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8a80 100%); 
}

.payment-icon.alipay { 
    background: linear-gradient(135deg, #1677ff 0%, #40a9ff 100%); 
}

.payment-icon.wechat { 
    background: linear-gradient(135deg, #07c160 0%, #52c41a 100%); 
}

.payment-icon.balance { 
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%); 
}

.payment-icon.default { 
    background: linear-gradient(135deg, #6c757d 0%, #adb5bd 100%); 
}

.payment-option span {
    font-weight: 600;
    color: #2c3e50;
}

.contact-email {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.contact-email:focus {
    outline: none;
    border-color: #007bff;
}

.email-note {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}

.purchase-reminder {
    margin-top: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #007bff;
}

.reminder-title {
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.reminder-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.reminder-list li {
    padding: 3px 0;
    color: #666;
    font-size: 14px;
    position: relative;
    padding-left: 15px;
}

.reminder-list li:before {
    content: "•";
    color: #007bff;
    position: absolute;
    left: 0;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: 20px;
}

.submit-btn:hover {
    background: #c82333;
}

.submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

@media (max-width: 768px) {
    .product-main-content {
        flex-direction: column;
    }
    
    .product-info-section {
        flex-direction: column;
        text-align: center;
    }
    
    .product-image {
        align-self: center;
    }
    
    .payment-methods {
        grid-template-columns: 1fr;
    }
    
    .quantity-group {
        flex-direction: column;
        align-items: flex-start;
    }
}