/* Checkout Page Styles */
body {
    background: none !important;
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Main checkout container */
#newCheckout {
    background: #fff;
    padding: 150px 0 50px;
}

#newCheckout .cont {
    background: #FAFAF5;
}

#newCheckout .left {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 20px;
}

#newCheckout .right {
    padding-top: 90px;
}

/* Typography */
#newCheckout .tit {
    font-size: 26px;
    color: #acb674;
    font-weight: bold;
    margin-bottom: 30px;
}

#newCheckout .subtit {
    font-size: 20px;
    color: #acb674;
    font-weight: bold;
    margin: 20px 0 20px;
}

#newCheckout .subp {
    color: #626640;
    font-size: 14px;
    padding: 5px 0;
}

#newCheckout .subDes {
    color: #626640;
    margin-top: -10px;
    margin-bottom: 15px;
}

/* Form styles */
#newCheckout .form {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 15px;
}

#newCheckout .fomtItem {
    width: 100%;
    margin-bottom: 10px;
}

#newCheckout .fomtItem.w2 {
    width: 49%;
}

#newCheckout .fomtItem.w3 {
    width: 32%;
}

#newCheckout .fomtItem .formLabel {
    color: #626640;
    font-size: 16px;
    margin-bottom: 5px;
    display: block;
}

#newCheckout .fomtItem .formLabel i {
    color: red;
}

#newCheckout .fomtItem .inputBox {
    display: flex;
    justify-content: space-between;
}

#newCheckout .fomtItem .inputBox input,
#newCheckout .fomtItem .inputBox select {
    width: 100%;
    height: 40px;
    border-radius: 20px;
    box-sizing: border-box;
    padding: 0 20px;
    border: 1px solid #ddd;
    font-size: 14px;
}

#newCheckout .fomtItem .inputBox input:focus,
#newCheckout .fomtItem .inputBox select:focus {
    outline: none;
    border-color: #acb674;
    box-shadow: 0 0 0 2px rgba(172, 182, 116, 0.2);
}

/* Payment section */
#newCheckout .paymentChange {
    display: flex;
    justify-content: space-between;
    margin: 20px 0;
}

#newCheckout .paymentChangeItem {
    width: 50%;
    height: 40px;
    line-height: 40px;
    border-bottom: 1px solid #acb674;
    text-align: center;
    cursor: pointer;
    color: #acb674;
    transition: all 0.3s ease;
}

#newCheckout .paymentChangeItem:hover {
    background: #acb674;
    color: #fff;
}

#newCheckout .paymentChangeItem.active {
    background: #acb674;
    color: #fff;
}

/* Card info section */
#newCheckout .cardInfo {
    background: #ccc;
    margin-top: 20px;
    border-radius: 10px;
    padding-bottom: 20px;
    overflow: hidden;
}

#newCheckout .cardInfo .cardTop {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #fff;
    background: #acb674;
    padding: 10px 20px;
    margin-bottom: 20px;
}

#newCheckout .cardInfo .cardTop .imgs {
    display: flex;
    gap: 5px;
}

#newCheckout .cardInfo .cardTop .imgs img {
    border-radius: 4px;
}

#newCheckout .cardInfo .fomtItem .formLabel {
    color: #000;
}

/* Checkboxes */
#newCheckout .checkBoxform {
    display: flex;
    align-items: flex-start;
}

#newCheckout .checkBoxform input {
    width: 14px;
    height: 14px;
    margin: 3px 10px 0 0;
    flex-shrink: 0;
}

#newCheckout .checkBoxform label {
    flex: 1;
    font-size: 14px;
    color: #999;
    font-weight: 400;
    margin-bottom: 0;
    line-height: 20px;
}

#newCheckout .checkBoxform label a {
    color: #acb674;
    text-decoration: none;
}

#newCheckout .checkBoxform label a:hover {
    text-decoration: underline;
}

/* Buttons */
#newCheckout .butt {
    width: 100%;
    height: 40px;
    line-height: 40px;
    border-radius: 20px;
    color: #fff;
    background: #214842;
    margin-bottom: 10px;
    text-align: center;
    margin-top: 20px;
    cursor: pointer;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
    transition: opacity 0.3s ease;
}

#newCheckout .butt:hover {
    opacity: 0.8;
}

#newCheckout .butt.submiting {
    cursor: no-drop;
    opacity: 0.8;
}

#newCheckout .butt.submiting .loading {
    display: block;
}

#newCheckout .butt.submiting .text {
    display: none;
}

#newCheckout .butt .loading {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 40px;
    display: none;
    margin: 0 auto;
}

#newCheckout .butt .loading i {
    position: absolute;
    top: 0px;
    left: 0;
    right: 0;
    bottom: 0;
    width: 30px;
    height: 30px;
    border: 4px solid #fff;
    border-right-color: transparent;
    border-radius: 50%;
    animation: loadingAnimation 0.8s infinite linear;
    margin: auto;
}

@keyframes loadingAnimation {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

#newCheckout .return {
    color: #acb674;
    text-decoration: none;
    margin-top: 10px;
    display: inline-block;
}

#newCheckout .return:hover {
    text-decoration: underline;
}

/* Right side - Product items */
#newCheckout .right .goodItem {
    box-shadow: 0 0 10px 3px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    padding: 20px;
    border-radius: 6px;
    margin-bottom: 10px;
    background: #fff;
}

#newCheckout .right .goodItem .itemTop {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

#newCheckout .right .goodItem img {
    width: 120px;
    border-radius: 8px;
}

#newCheckout .right .goodItem .info {
    flex: 1;
    margin: 0 20px;
}

#newCheckout .right .goodItem .info .t {
    font-size: 20px;
    color: #acb674;
    font-weight: 600;
    margin-bottom: 10px;
}

#newCheckout .right .goodItem .info .t a {
    color: inherit;
    text-decoration: none;
}

#newCheckout .right .goodItem .info .t a:hover {
    text-decoration: underline;
}

#newCheckout .right .goodItem .info .b {
    font-size: 14px;
    color: #999;
}

#newCheckout .right .goodItem .total {
    font-size: 26px;
    color: #acb674;
    font-weight: bold;
}

#newCheckout .right .goodItem .action {
    margin: 10px 0;
}

#newCheckout .right .goodItem .action .price {
    color: #314c23;
    font-size: 22px;
    display: none;
    align-items: flex-end;
    font-weight: 600;
}

#newCheckout .right .goodItem .action .price1 {
    display: none;
}

#newCheckout .right .goodItem .action .price2 {
    display: flex;
}

#newCheckout .right .goodItem .action.on .price1 {
    display: flex;
}

#newCheckout .right .goodItem .action.on .price2 {
    display: none;
}

#newCheckout .right .goodItem .action .price del {
    color: #999;
    font-size: 16px;
    margin-left: 5px;
}

/* Product quantity controls */
#newCheckout .right .goodItem .opera {
    width: 80px;
    display: flex;
    align-items: center;
    margin-top: 10px;
    border-radius: 25px;
    background: #fff;
    border: 1px solid #ddd;
}

#newCheckout .right .goodItem .opera i {
    font-size: 20px;
    cursor: pointer;
    padding: 8px;
    color: #acb674;
    transition: color 0.3s ease;
}

#newCheckout .right .goodItem .opera i:hover {
    color: #214842;
}

#newCheckout .right .goodItem .opera input {
    font-size: 20px;
    flex: 1;
    width: 50px;
    border: none;
    outline: none;
    text-align: center;
    box-shadow: none;
    background: transparent;
}

/* Subscription cycle */
#newCheckout .right .subscriptioncycle {
    height: 40px;
    width: 80%;
    font-size: 18px;
    padding: 0 10px;
    border-radius: 10px;
    border: 1px solid #ccc;
    background: #fff;
    margin-top: 10px;
}

/* Free goods */
#newCheckout .right .goodItem .freeGoods {
    margin-top: 10px;
}

#newCheckout .right .goodItem .freeGoods .freeItem {
    display: flex;
    align-items: center;
    margin: 10px 0;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 10px;
    overflow: hidden;
    width: 100%;
}

#newCheckout .right .goodItem .freeGoods .freeItem img {
    width: 60px;
    border-radius: 6px;
    margin-right: 15px;
}

#newCheckout .right .goodItem .freeGoods .freeItem .info .t {
    font-size: 18px;
    margin: 0 0 10px;
}

#newCheckout .right .goodItem .freeGoods .freeItem .info .b {
    font-size: 16px;
    display: flex;
    justify-content: space-between;
    position: relative;
}

#newCheckout .right .goodItem .freeGoods .freeItem .info .b .to {
    color: #acb674;
    font-weight: bold;
    font-size: 25px;
    position: absolute;
    right: 0;
    bottom: 0;
}

/* Coupon section */
#newCheckout .right .coupon {
    display: flex;
    justify-content: space-between;
    margin: 20px 0;
    gap: 10px;
}

#newCheckout .right .coupon input {
    flex: 1;
    height: 40px;
    border-radius: 20px;
    border: 1px solid #ddd;
    padding: 0 20px;
}

#newCheckout .right .coupon .cbtn {
    width: 100px;
    height: 40px;
    line-height: 40px;
    border-radius: 20px;
    color: #fff;
    background: #acb674;
    text-align: center;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

#newCheckout .right .coupon .cbtn:hover {
    opacity: 0.8;
}

/* Totals section */
#newCheckout .right .totals .t {
    display: flex;
    justify-content: space-between;
    font-weight: bold;
    padding: 10px 0;
    color: #626640;
    font-size: 20px;
    position: relative;
}

#newCheckout .right .totals .addC {
    color: #a61f22;
    margin: 0 30px;
    font-size: 16px;
    display: none;
}

#newCheckout .right .totals .cnum {
    display: flex;
    justify-content: space-between;
    font-weight: bold;
    padding: 10px 0;
    position: relative;
}

#newCheckout .right .totals .addC i {
    position: absolute;
    cursor: pointer;
    left: -25px;
}

#newCheckout .right .totals .bot {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    font-weight: bold;
    color: #000;
    font-size: 20px;
    border-top: 2px solid #acb674;
    padding-top: 15px;
}

#newCheckout .right .continue {
    width: 100%;
    height: 40px;
    line-height: 40px;
    border-radius: 20px;
    color: #fff;
    background: #acb674;
    text-align: center;
    cursor: pointer;
    display: block;
    margin: 20px auto 10px;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

#newCheckout .right .continue:hover {
    opacity: 0.8;
    color: #fff;
}

/* Responsive design */
@media (max-width: 768px) {
    #newCheckout {
        padding: 20px 0;
    }
    
    #newCheckout .left {
        padding: 20px;
        margin-bottom: 30px;
    }
    
    #newCheckout .right {
        padding-top: 20px;
    }
    
    #newCheckout .fomtItem.w2,
    #newCheckout .fomtItem.w3 {
        width: 100%;
    }
    
    #newCheckout .right .goodItem .itemTop {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    #newCheckout .right .goodItem .info {
        margin: 20px 0;
    }
    
    #newCheckout .right .subscriptioncycle {
        width: 100%;
    }
}

/* Additional utility styles */
.wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col-md-6 {
    width: 50%;
    padding: 0 15px;
}

@media (max-width: 768px) {
    .col-md-6 {
        width: 100%;
    }
}

/* 跨境商品标签样式 - 结账页 */
.cross-border-checkout-label {
  background: linear-gradient(45deg, #ff6b6b, #ff8e8e);
  color: white;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 600;
  margin-right: 8px;
  display: inline-block;
  vertical-align: middle;
}

.product-origin-info {
  margin-top: 4px;
}

.origin-country {
  color: #666;
  font-size: 11px;
  background: #f8f9fa;
  padding: 2px 6px;
  border-radius: 8px;
  display: inline-block;
}

/* 跨境电商实名验证样式 */
.cross-border-notice-checkout {
  background: #fff3cd;
  border: 1px solid #ffeaa7;
  border-radius: 8px;
  padding: 12px 15px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.cross-border-notice-checkout i {
  color: #f39c12;
  font-size: 16px;
}

.cross-border-notice-checkout span {
  font-size: 14px;
  color: #856404;
  font-weight: 500;
}

/* 身份验证区域 */
.identity-verification-section {
  background: #f8f9fa;
  border-radius: 10px;
  padding: 20px;
  margin: 20px 0;
  border: 2px solid #e9ecef;
}

.verification-header {
  margin-bottom: 15px;
}

.verification-header h4 {
  margin: 0;
  color: #495057;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.verification-header i {
  color: #28a745;
}

.verification-notice {
  background: #e3f2fd;
  border-left: 4px solid #2196f3;
  padding: 12px 16px;
  margin-bottom: 15px;
  border-radius: 0 8px 8px 0;
}

.verification-notice p {
  margin: 0;
  font-size: 13px;
  color: #1565c0;
  line-height: 1.5;
}

.verification-status {
  margin: 15px 0;
}

.status-pending {
  color: #ffc107;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 5px;
}

.status-verified {
  color: #28a745;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 5px;
}

.status-failed {
  color: #dc3545;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 5px;
}

.btn-verify {
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.btn-verify:hover {
  background: linear-gradient(135deg, #0056b3, #004085);
  transform: translateY(-1px);
}

.btn-verify:disabled {
  background: #6c757d;
  cursor: not-allowed;
  transform: none;
}

/* 表单验证消息 */
.validation-message {
  font-size: 12px;
  margin-top: 5px;
  padding: 4px 8px;
  border-radius: 4px;
  display: none;
}

.validation-message.error {
  color: #dc3545;
  background: #f8d7da;
  border: 1px solid #f1aeb5;
  display: block;
}

.validation-message.success {
  color: #155724;
  background: #d4edda;
  border: 1px solid #c3e6cb;
  display: block;
}

/* 身份确认checkbox特殊样式 */
#identity_confirm {
  accent-color: #ff6b6b;
}

label[for="identity_confirm"] {
  color: #495057;
  font-weight: 500;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .identity-verification-section {
    padding: 15px;
  }
  
  .verification-header h4 {
    font-size: 15px;
  }
  
  .btn-verify {
    width: 100%;
    justify-content: center;
  }
}


/* 跨境订单信息字段样式 */
.customs-code {
  display: block;
  color: #007bff;
  font-size: 10px;
  margin-top: 2px;
  background: #e3f2fd;
  padding: 1px 4px;
  border-radius: 4px;
}

.cross-border-tax-section {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 15px;
  margin: 15px 0;
  border: 1px solid #e9ecef;
}

.tax-header {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #495057;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 10px;
}

.tax-header i {
  color: #007bff;
}

.tax-detail {
  font-size: 13px;
  color: #6c757d;
  border-bottom: none !important;
  padding: 2px 0;
}

.tax-total {
  border-top: 1px solid #dee2e6 !important;
  padding-top: 8px !important;
  margin-top: 5px;
  font-weight: 600;
  color: #495057;
}

.cross-border-order-info {
  background: #e8f5e8;
  border-radius: 8px;
  padding: 15px;
  margin: 15px 0;
  border: 1px solid #c3e6cb;
}

.order-info-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 0;
  font-size: 13px;
  color: #155724;
}

.order-info-item:not(:last-child) {
  border-bottom: 1px solid #c3e6cb;
}

.order-info-item span:first-child {
  font-weight: 500;
}

.order-info-item span:last-child {
  font-weight: 600;
  color: #0d5016;
}

#payment_transaction_id {
  font-family: monospace;
  font-size: 12px;
}

#customs_status {
  background: #ffc107;
  color: #856404;
  padding: 2px 6px;
  border-radius: 12px;
  font-size: 11px;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .cross-border-tax-section,
  .cross-border-order-info {
    margin: 10px 0;
    padding: 12px;
  }
  
  .order-info-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }
  
  .tax-header {
    font-size: 13px;
  }
}
