
.order-row{
    margin-top: 20px;
}
a{
    color:#212529;

    text-decoration: none;
}
.goods-row{
    margin-top:20px;
}
.goods-menu{
    margin-bottom:20px;
}

.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    border-top-color: #3498db;
    animation: spin 1s ease-in-out infinite;
    margin-right: 10px;
}

.goods-div{
    margin-bottom:20px;
}
.load-div{
    margin-top:20px;
    text-align: center;
}

.load-all{
    margin-top:20px;
    text-align: center;
}

.shop-goods{
    margin-bottom:20px;
}

.shop-goods-title{
    margin-top:20px;
    color:#cc3366;
    height:48px;
    overflow:hidden;
}

.shop-goods-money{
    margin-top:10px;
}
.shop-goods-money .base-price{
    text-decoration: line-through;
    color: rgba(255, 126, 1, 0.4);
}
.shop-goods-money .actual-price{
    color: #FF7E01;
}
.shop-goods-button{
    margin-top:10px;
}

.shop-goods button{
    color:#515151;
    background: #E9E6ED;
}
.shop-goods button:hover{
    color:#7b7a7a;
    background: #dcd7e2;
}
.page{
    text-align: center;
    /*margin:0 auto;*/
    margin-bottom: 20px;
}
@media (max-width: 767px) {
    .page-container{
        display:none
    }
}

/* 空状态容器 start */
.empty-state-container {
    padding: 35px 20px;
    text-align: center;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 24px;
    margin: 0 auto;
    max-width: 1000px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

/* 背景装饰元素 */
.empty-state-container::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(67, 97, 238, 0.1) 0%, rgba(58, 12, 163, 0.05) 100%);
    border-radius: 50%;
    z-index: 0;
}

/* 图标区域优化 */
.empty-state-icon {
    width: 140px;
    height: 140px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #4361ee 0%, #3a0ca3 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    box-shadow: 0 20px 40px rgba(67, 97, 238, 0.3);
}

/* 图标背景光晕 */
.empty-state-icon::after {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 3px solid rgba(67, 97, 238, 0.2);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.empty-state-icon i {
    font-size: 70px;
    color: white;
    z-index: 1;
}

/* 标题区域 */
.empty-state-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #1e293b;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

/* 徽章样式 */
.title-badge,
.btn-badge {
    background: linear-gradient(135deg, #f72585 0%, #b5179e 100%);
    color: white;
    border-radius: 50px;
    font-weight: 600;
}

.title-badge {
    padding: 8px 20px;
    font-size: 1.2rem;
    animation: bounce 2s infinite;
}

.btn-badge {
    padding: 4px 12px;
    font-size: 0.8rem;
    margin-left: 10px;
    position: relative;
    top: -1px;
}

/* 副标题和消息内容 */
.empty-state-subtitle,
.empty-state-message p,
.reason-content p {
    color: #64748b;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.empty-state-subtitle {
    font-size: 1.3rem;
    margin-bottom: 30px;
    font-weight: 500;
}

/* 消息内容框 */
.empty-state-message {
    max-width: 700px;
    margin: 0 auto;
    background: white;
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 1;
}

.empty-state-message p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #475569;
    margin-bottom: 15px;
}

.empty-state-message p:last-child {
    margin-bottom: 0;
}

/* 原因卡片相关样式 */
.reason-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #4361ee 0%, #3a0ca3 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.reason-icon i,
.reason-content h4 {
    color: white;
}

.reason-icon i {
    font-size: 32px;
}

.reason-content h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #1e293b;
}

.reason-content p {
    color: #64748b;
    margin: 0;
}

/* 按钮区域优化 */
.action-buttons {
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: center;
    justify-content: center;
    margin: 40px auto;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

/* 按钮通用样式 */
.btn-primary-custom,
.btn-outline-custom {
    padding: 16px 35px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 220px;
    text-decoration: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

/* 主按钮 */
.btn-primary-custom {
    background: linear-gradient(135deg, #4361ee 0%, #3a0ca3 100%);
    border: none;
    color: white;
}

.btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(67, 97, 238, 0.3);
}

/* 按钮流光效果 */
.btn-primary-custom::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-primary-custom:hover::after {
    left: 100%;
}

/* 轮廓按钮 */
.btn-outline-custom {
    background: transparent;
    border: 2px solid #4361ee;
    color: #4361ee;
    padding: 14px 30px;
    min-width: 200px;
}

.btn-outline-custom:hover {
    background: #4361ee;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(67, 97, 238, 0.2);
}

/* 动画定义 - 只定义一次 */
@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    100% {
        transform: scale(1.1);
        opacity: 0;
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

/* 浮动动画类 */
.floating-icon {
    animation: float 6s ease-in-out infinite;
}

/* 响应式设计 - 合并重复的媒体查询 */
@media (max-width: 768px) {
    .empty-state-container {
        padding: 50px 15px;
        margin: 20px;
    }

    .empty-state-title {
        font-size: 2.2rem;
        flex-direction: column;
        gap: 10px;
    }

    /* 移动端按钮垂直排列 */
    .action-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .action-buttons .btn-primary-custom,
    .action-buttons .btn-outline-custom {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .empty-state-icon {
        width: 120px;
        height: 120px;
    }

    .empty-state-icon i {
        font-size: 60px;
    }
}

/* 小屏幕优化 - 合并到同一个媒体查询中 */
@media (max-width: 480px) {
    .empty-state-title {
        font-size: 1.8rem;
    }

    .title-badge {
        font-size: 1rem;
        padding: 6px 15px;
    }

    .empty-state-message {
        padding: 20px 15px;
    }

    .action-buttons .btn-primary-custom,
    .action-buttons .btn-outline-custom {
        padding: 14px 20px;
        font-size: 0.95rem;
    }
}

/* 美化原因容器 */
.reasons-container {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f4f8;
    margin: 30px 0;
    position: relative;
}

/* 桌面端：两列布局 */
.reason-row-titles {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f4f8;
    margin-bottom: 25px;
}

.reason-title {
    display: flex;
    align-items: center;
    justify-content: center; /* 水平居中 */
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a202c;
    padding: 15px;
    background: linear-gradient(135deg, #4361ee15 0%, #3a0ca310 100%);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.reason-title:hover {
    background: linear-gradient(135deg, #4361ee25 0%, #3a0ca320 100%);
    transform: translateY(-2px);
}

.reason-title i {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #4361ee 0%, #3a0ca3 100%);
    color: white;
    border-radius: 12px;
    margin-right: 15px;
    font-size: 20px;
    box-shadow: 0 5px 15px rgba(67, 97, 238, 0.3);
    flex-shrink: 0;
}

/* 内容行样式 - 桌面端 */
.reason-row-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.reason-content {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #4a5568;
    padding: 25px;
    background: #f8fafc;
    border-radius: 12px;
    border-left: 4px solid #4361ee;
    transition: all 0.3s ease;
}

.reason-content:hover {
    background: #edf2f7;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* 手机端布局 - 默认隐藏 */
.mobile-reasons {
    display: none;
}

/* 手机端卡片样式 */
.reason-item-mobile {
    margin-bottom: 25px;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f4f8;
}

.reason-title-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    padding: 20px;
    background: linear-gradient(135deg, #4361ee 0%, #3a0ca3 100%);
    border-radius: 15px 15px 0 0;
    transition: all 0.3s ease;
}

.reason-content-mobile {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #4a5568;
    padding: 20px;
    background: #f8fafc;
    border-radius: 0 0 15px 15px;
    border-top: 3px solid #4361ee;
}

.reason-item-mobile:hover .reason-title-mobile {
    background: linear-gradient(135deg, #3a0ca3 0%, #7209b7 100%);
}

.reason-item-mobile:hover .reason-content-mobile {
    background: #edf2f7;
}

/* 装饰元素 */
.reasons-container::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 5px;
    background: linear-gradient(90deg, #4361ee, #7209b7);
    border-radius: 5px;
}

/* 响应式设计 - 手机端改为垂直排列 */
@media (max-width: 768px) {
    .reasons-container {
        padding: 25px;
    }

    /* 手机端：隐藏桌面端布局，显示手机端布局 */
    .reason-row-titles,
    .reason-row-content {
        display: none;
    }

    .mobile-reasons {
        display: block;
    }
}

/* 桌面端：隐藏手机端布局 */
@media (min-width: 769px) {
    .mobile-reasons {
        display: none;
    }

    .reason-row-titles,
    .reason-row-content {
        display: grid;
    }
}

/* 小屏幕优化 */
@media (max-width: 576px) {
    .reasons-container {
        padding: 20px;
        border-radius: 15px;
    }

    .reason-title-mobile {
        padding: 18px;
        font-size: 1.2rem;
    }

    .reason-content-mobile {
        padding: 18px;
    }
}
/* 空状态容器 end */
