/* 巧米乐数字科技购物车订单页面样式 - 参照首页风格 */

/* 基础布局和通用组件 */
.zh_flow_page {
    background: #f8f9fa;
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
}

.zh_container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 页面头部横幅 */
.zh_flow_hero {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, #2b2520 0%, #3a3129 100%);
    color: #F0F0F0;
    text-align: center;
    overflow: hidden;
}

.zh_hero_overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://images.unsplash.com/photo-1472851294608-062f824d29cc?w=1920&h=1080&fit=crop');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    z-index: 1;
}

.zh_hero_content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.zh_flow_icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #FA7D09 0%, #e56d00 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 42px;
    color: #fff;
    animation: iconBounce 0.6s ease;
}

.zh_success_icon {
    background: linear-gradient(135deg, #28a745 0%, #20873a 100%);
}

@keyframes iconBounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.zh_hero_title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
}

.zh_hero_subtitle {
    font-size: 18px;
    color: rgba(240,240,240,0.8);
    margin-bottom: 20px;
    font-weight: 300;
}

/* 内容区域 */
.zh_flow_content_section {
    padding: 60px 0;
    background: #fff;
}

/* 购物车样式 */
.zh_cart_wrapper {
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid #eee;
}

.zh_cart_table table {
    width: 100%;
    border-collapse: collapse;
}

.zh_cart_table thead {
    background: #f8f9fa;
}

.zh_cart_table th {
    padding: 15px 20px;
    text-align: left;
    font-size: 15px;
    font-weight: 600;
    color: #2b2520;
    border-bottom: 2px solid #FA7D09;
}

.zh_cart_table tbody tr {
    border-bottom: 1px solid #eee;
    transition: background 0.3s;
}

.zh_cart_table tbody tr:hover {
    background: #f8f9fa;
}

.zh_cart_table td {
    padding: 20px;
    vertical-align: middle;
}

.zh_goods_info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.zh_goods_thumb {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    background: #f8f9fa;
}

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

.zh_goods_detail {
    flex: 1;
}

.zh_goods_name {
    font-size: 16px;
    font-weight: 600;
    color: #2b2520;
    text-decoration: none;
    transition: color 0.3s;
}

.zh_goods_name:hover {
    color: #FA7D09;
}

.zh_price,
.zh_subtotal {
    font-size: 18px;
    font-weight: 700;
    color: #FA7D09;
}

.zh_actions {
    display: flex;
    gap: 10px;
    flex-direction: column;
}

.zh_action_btn {
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.zh_btn_pay {
    background: #FA7D09;
    color: #fff;
}

.zh_btn_pay:hover {
    background: #e56d00;
    transform: translateY(-2px);
}

.zh_btn_delete {
    background: #f8f9fa;
    color: #ff4444;
    border: 1px solid #eee;
}

.zh_btn_delete:hover {
    background: #ff4444;
    color: #fff;
}

.zh_cart_summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid #eee;
}

.zh_summary_info {
    font-size: 16px;
    color: #666;
}

.zh_summary_actions {
    display: flex;
    gap: 15px;
}

.zh_cart_btn {
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.zh_btn_clear {
    background: #f8f9fa;
    color: #666;
    border: 1px solid #eee;
}

.zh_btn_clear:hover {
    background: #ff4444;
    color: #fff;
}

.zh_btn_update {
    background: #FA7D09;
    color: #fff;
}

.zh_btn_update:hover {
    background: #e56d00;
    transform: translateY(-2px);
}

.zh_cart_footer {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.zh_continue_btn {
    padding: 12px 30px;
    background: #f8f9fa;
    color: #2b2520;
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
    border: 1px solid #eee;
}

.zh_continue_btn:hover {
    background: #2b2520;
    color: #fff;
}

/* 订单确认样式 */
.zh_order_section {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid #eee;
}

.zh_section_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #FA7D09;
}

.zh_section_header h3 {
    font-size: 20px;
    font-weight: 600;
    color: #2b2520;
    display: flex;
    align-items: center;
    gap: 10px;
}

.zh_section_header h3 i {
    color: #FA7D09;
    font-size: 18px;
}

.zh_modify_link {
    font-size: 14px;
    color: #FA7D09;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.zh_modify_link:hover {
    color: #e56d00;
    text-decoration: underline;
}

.zh_order_table table {
    width: 100%;
    border-collapse: collapse;
}

.zh_order_table th {
    padding: 12px;
    text-align: left;
    font-size: 14px;
    font-weight: 600;
    color: #2b2520;
    background: #f8f9fa;
    border: 1px solid #eee;
}

.zh_order_table td {
    padding: 12px;
    font-size: 14px;
    color: #666;
    border: 1px solid #eee;
}

.zh_order_table a {
    color: #2b2520;
    text-decoration: none;
    transition: color 0.3s;
}

.zh_order_table a:hover {
    color: #FA7D09;
}

.zh_text_right {
    text-align: right;
}

.zh_remark {
    color: #ff4444;
}

.zh_free {
    color: #28a745;
}

.zh_total_row {
    background: #f8f9fa;
    font-weight: 600;
    color: #2b2520;
}

.zh_info_grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.zh_info_item {
    display: flex;
    gap: 10px;
}

.zh_info_item label {
    font-weight: 600;
    color: #2b2520;
    min-width: 100px;
}

.zh_info_item span {
    color: #666;
}

/* 配送方式 */
.zh_shipping_list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.zh_shipping_item {
    border: 2px solid #eee;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s;
}

.zh_shipping_item:hover {
    border-color: #FA7D09;
    background: #fff8f0;
}

.zh_radio_label {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    cursor: pointer;
}

.zh_radio_label input[type="radio"] {
    margin-top: 5px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #FA7D09;
}

.zh_shipping_info h4 {
    font-size: 16px;
    font-weight: 600;
    color: #2b2520;
    margin-bottom: 8px;
}

.zh_shipping_info p {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.zh_shipping_meta {
    display: flex;
    gap: 20px;
    font-size: 13px;
    color: #999;
}

.zh_insure_option {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.zh_checkbox_label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #666;
    cursor: pointer;
}

.zh_checkbox_label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #FA7D09;
}

/* 支付方式 */
.zh_payment_list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.zh_payment_item {
    border: 2px solid #eee;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s;
}

.zh_payment_item:hover {
    border-color: #FA7D09;
    background: #fff8f0;
}

.zh_payment_info h4 {
    font-size: 16px;
    font-weight: 600;
    color: #2b2520;
    margin-bottom: 8px;
}

.zh_payment_info p {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

.zh_pay_fee {
    font-size: 14px;
    font-weight: 600;
    color: #FA7D09;
}

/* 其他信息 */
.zh_other_info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.zh_info_row {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.zh_info_row label {
    min-width: 150px;
    font-weight: 600;
    color: #2b2520;
    padding-top: 8px;
}

.zh_info_value {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.zh_amount_input,
.zh_bonus_input,
.zh_invoice_input {
    padding: 10px 15px;
    border: 2px solid #eee;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.zh_amount_input {
    width: 150px;
}

.zh_bonus_input,
.zh_invoice_input {
    width: 200px;
}

.zh_amount_input:focus,
.zh_bonus_input:focus,
.zh_invoice_input:focus {
    border-color: #FA7D09;
    outline: none;
}

.zh_select {
    padding: 10px 15px;
    border: 2px solid #eee;
    border-radius: 8px;
    font-size: 14px;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.3s;
}

.zh_select:focus {
    border-color: #FA7D09;
    outline: none;
}

.zh_textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #eee;
    border-radius: 8px;
    font-size: 14px;
    min-height: 100px;
    resize: vertical;
    transition: border-color 0.3s;
}

.zh_textarea:focus {
    border-color: #FA7D09;
    outline: none;
}

.zh_hint {
    font-size: 13px;
    color: #999;
}

.zh_notice {
    font-size: 13px;
    color: #ff4444;
}

.zh_validate_btn {
    padding: 10px 20px;
    background: #FA7D09;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.zh_validate_btn:hover {
    background: #e56d00;
}

.zh_radio_group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.zh_radio_option {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.zh_radio_option input[type="radio"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #FA7D09;
}

/* 费用总计 */
.zh_total_wrapper {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 30px;
}

.zh_total_info,
.zh_total_detail,
.zh_total_discount {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
    font-size: 15px;
    color: #666;
}

.zh_total_info strong,
.zh_total_detail strong,
.zh_total_discount strong {
    color: #FA7D09;
    font-weight: 700;
}

.zh_total_amount {
    font-size: 18px;
    font-weight: 600;
    color: #2b2520;
    margin-bottom: 30px;
}

.zh_final_price {
    font-size: 32px;
    font-weight: 700;
    color: #FA7D09;
    margin-left: 10px;
}

.zh_submit_order {
    text-align: center;
}

.zh_submit_btn {
    padding: 16px 80px;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #FA7D09 0%, #e56d00 100%);
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(250,125,9,0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.zh_submit_btn:hover {
    background: linear-gradient(135deg, #e56d00 0%, #FA7D09 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(250,125,9,0.4);
}

.zh_btn_secondary {
    background: #f8f9fa;
    color: #2b2520;
    border: 2px solid #eee;
}

.zh_btn_secondary:hover {
    background: #2b2520;
    color: #fff;
    border-color: #2b2520;
}

/* 订单成功页面 */
.zh_success_wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    border-radius: 16px;
    padding: 50px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid #eee;
    text-align: center;
}

.zh_order_number {
    font-size: 24px;
    font-weight: 600;
    color: #2b2520;
    margin-bottom: 30px;
}

.zh_sn {
    color: #FA7D09;
    font-size: 28px;
    font-weight: 700;
}

.zh_order_info {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
}

.zh_order_info p {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 10px;
}

.zh_order_info strong {
    color: #2b2520;
    font-weight: 600;
}

.zh_amount {
    color: #FA7D09;
    font-size: 24px;
    font-weight: 700;
}

.zh_pay_desc {
    color: #999;
    font-size: 14px;
}

.zh_pay_action {
    margin: 30px 0;
}

.zh_pay_btn {
    padding: 16px 60px;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #FA7D09 0%, #e56d00 100%);
    border-radius: 12px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(250,125,9,0.3);
}

.zh_pay_btn:hover {
    background: linear-gradient(135deg, #e56d00 0%, #FA7D09 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(250,125,9,0.4);
}

.zh_virtual_card {
    background: linear-gradient(135deg, #fff8e1 0%, #ffe0b2 100%);
    border-radius: 12px;
    padding: 30px;
    margin: 30px 0;
    border: 2px solid #ffc107;
}

.zh_virtual_card h3 {
    color: #2b2520;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.zh_card_info {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
}

.zh_card_info div {
    margin-bottom: 10px;
    font-size: 15px;
    color: #666;
}

.zh_card_value {
    color: #ff4444;
    font-weight: 700;
}

.zh_back_link {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #eee;
    font-size: 14px;
    color: #666;
}

/* 登录注册区域 */
.zh_login_register_wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.zh_auth_box {
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid #eee;
}

.zh_auth_box h3 {
    font-size: 22px;
    font-weight: 600;
    color: #2b2520;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.zh_auth_box h3 i {
    color: #FA7D09;
}

.zh_auth_form .zh_form_group {
    margin-bottom: 20px;
}

.zh_auth_form label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #2b2520;
    margin-bottom: 8px;
}

.zh_auth_form .zh_form_input {
    width: 100%;
    padding: 12px 16px;
    font-size: 15px;
    color: #333;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    transition: all 0.3s;
}

.zh_auth_form .zh_form_input:focus {
    border-color: #FA7D09;
    background: #fff;
    outline: none;
}

.zh_auth_form .zh_form_notice {
    display: block;
    color: #ff4444;
    font-size: 12px;
    margin-top: 5px;
}

.zh_auth_form .zh_form_remember {
    margin-bottom: 20px;
}

.zh_auth_form .zh_form_submit {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.zh_auth_form .zh_submit_btn {
    width: 100%;
    padding: 14px 20px;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #FA7D09 0%, #e56d00 100%);
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.zh_auth_form .zh_submit_btn:hover {
    background: linear-gradient(135deg, #e56d00 0%, #FA7D09 100%);
    transform: translateY(-2px);
}

.zh_notice_box {
    background: linear-gradient(135deg, #FA7D09 0%, #e56d00 100%);
    color: #fff;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    font-size: 16px;
    line-height: 1.8;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .zh_info_grid {
        grid-template-columns: 1fr;
    }

    .zh_login_register_wrapper {
        grid-template-columns: 1fr;
    }

    .zh_cart_summary {
        flex-direction: column;
        gap: 20px;
    }

    .zh_summary_actions {
        width: 100%;
        flex-direction: column;
    }

    .zh_cart_btn,
    .zh_continue_btn {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .zh_flow_hero {
        padding: 60px 0;
    }

    .zh_flow_icon {
        width: 70px;
        height: 70px;
        font-size: 32px;
    }

    .zh_hero_title {
        font-size: 32px;
    }

    .zh_cart_wrapper,
    .zh_order_section,
    .zh_auth_box,
    .zh_success_wrapper {
        padding: 20px;
    }

    .zh_cart_table,
    .zh_order_table {
        overflow-x: auto;
    }

    .zh_goods_info {
        flex-direction: column;
        align-items: flex-start;
    }

    .zh_actions {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .zh_info_row {
        flex-direction: column;
        gap: 10px;
    }

    .zh_info_row label {
        padding-top: 0;
    }

    .zh_amount_input,
    .zh_bonus_input,
    .zh_invoice_input,
    .zh_select {
        width: 100%;
    }

    .zh_submit_btn {
        padding: 14px 40px;
        font-size: 16px;
    }

    .zh_final_price {
        font-size: 24px;
    }
}

@media (max-width: 576px) {
    .zh_hero_title {
        font-size: 24px;
    }

    .zh_cart_wrapper,
    .zh_order_section {
        padding: 15px;
    }

    .zh_section_header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .zh_shipping_meta {
        flex-direction: column;
        gap: 5px;
    }

    .zh_radio_group {
        flex-direction: column;
    }

    .zh_success_wrapper {
        padding: 30px 20px;
    }

    .zh_order_number {
        font-size: 18px;
    }

    .zh_sn {
        font-size: 20px;
        display: block;
        margin-top: 10px;
    }
}