/* 导航栏样式 */
.home-nav-list {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border-radius: 16px;
    padding: 0.8rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.2);
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    border: none;
    position: relative;
    overflow: hidden;
}

.home-nav-list::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-.895-3-2-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-.895-3-2-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-.895-3-2-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-.895-3-2-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.1;
}

.home-tab-link {
    padding: 0.7rem 1.4rem;
    color: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.home-tab-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    text-decoration: none;
    transform: translateY(-1px);
}

.home-tab-link.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
}

.home-tab-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #fff;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.home-tab-link:hover::after,
.home-tab-link.active::after {
    width: 80%;
}

/* 商品卡片样式 */
.product-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.product-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
    box-shadow: 0 0 20px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.product-card:hover .btn.buy {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.product-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
    background: #f8f9fa;
}

.product-card .flex {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    flex: 1;
}

.product-card .price {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.price-amount {
    color: #dc3545;
    font-size: 1.1rem;
    font-weight: 600;
}

.price-amount b {
    font-size: 1.4rem;
    margin-left: 0.2rem;
}

.product-badge {
    display: flex;
    gap: 0.5rem;
}

.product-stock {
    background: rgba(99, 102, 241, 0.1);
    color: #6366f1;
    padding: 0.3rem 0.8rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.3s ease;
}

.product-stock i {
    font-size: 1.1rem;
    opacity: 0.8;
}

.product-card[onclick*="sell_out_tip"] .product-stock {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.product-stock:has(i.mdi-package-variant-closed) {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.product-stock:has(i.mdi-package-variant) {
    background: rgba(99, 102, 241, 0.1);
    color: #6366f1;
}

.product-card .product-name {
    color: #495057;
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
    flex: 1;
}

.product-card .btn.buy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.4rem;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    border-radius: 10px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    margin-top: auto;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.product-card .btn.buy::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.product-card .btn.buy:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.product-card .btn.buy:hover::before {
    transform: translateX(100%);
}

.product-card[onclick*="sell_out_tip"] .btn.buy {
    background: linear-gradient(135deg, #9ca3af 0%, #6b7280 100%);
}

/* 移动端适配 */
@media (max-width: 768px) {
    .product-wrapper {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 1rem;
    }

    .product-img {
        height: 140px;
    }

    .product-card .flex {
        padding: 0.8rem;
        gap: 0.6rem;
    }

    .price-amount {
        font-size: 0.9rem;
    }

    .price-amount b {
        font-size: 1.1rem;
    }

    .product-stock {
        padding: 0.2rem 0.6rem;
        font-size: 0.8rem;
    }

    .product-stock i {
        font-size: 1rem;
    }

    .product-card .btn.buy {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .product-wrapper {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }

    .product-img {
        height: 120px;
    }

    .product-card .product-name {
        font-size: 0.9rem;
        -webkit-line-clamp: 2;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
}

/* 缺货状态 */
.product-card[onclick*="sell_out_tip"] {
    opacity: 0.8;
}

.product-card[onclick*="sell_out_tip"] .btn.buy {
    background: #6c757d;
    cursor: not-allowed;
}

.product-card[onclick*="sell_out_tip"]:hover {
    transform: none;
}

/* 弹窗样式 */
.modal-dialog {
    max-width: 600px;
    margin: 1.75rem auto;
}
@media (max-width: 768px) {
    .modal-dialog {
        max-width: 95%;
        margin: 1rem auto;
    }
}
.modal .modal-content {
    border: none;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.15);
}
.modal .modal-header {
    padding: 1.5rem 1.5rem 1rem;
    border-bottom: 1px solid #f1f3fa;
}
.modal .modal-body {
    padding: 0 1.5rem 1.5rem;
}
.modal .shop-header {
    display: flex;
    align-items: center;
}
.modal .shop-title-group {
    display: flex;
    align-items: center;
    gap: 10px;
}
.modal .shop-avatar {
    width: 40px;
    height: 40px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.modal .shop-avatar i {
    font-size: 20px;
    color: #727cf5;
}
.modal .card {
    border: none;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.15);
    border-radius: 10px;
    margin-bottom: 1rem;
}
.modal .card-header {
    background: none;
    border-bottom: none;
    padding: 1rem 1.5rem;
}
.modal .card-body {
    padding: 1.5rem;
}
.modal .order-header {
    margin-bottom: 1.5rem;
}
.modal .order-header h4 {
    font-size: 1.2rem;
    color: #333;
    margin-right: 1rem;
    flex: 1;
}
.modal .price-tag {
    display: inline-flex;
    align-items: center;
    background: #fff8f8;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    color: #ff5b5b;
    font-size: 1.1rem;
    font-weight: 600;
    white-space: nowrap;
}
.modal .price-tag i {
    margin-right: 4px;
}
.modal .buy-title {
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #333;
    display: flex;
    align-items: center;
}
.modal .buy-title i {
    margin-right: 0.5rem;
    color: #727cf5;
}
.modal .form-control {
    border-radius: 6px;
    padding: 0.6rem 1rem;
}
.pay-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 0.5rem;
    margin: 0 -0.25rem;
}

.pay-type {
    padding: 0.5rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    color: #6c757d;
    background: #fff;
    position: relative;
    overflow: hidden;
}

.pay-type:hover {
    border-color: #6366f1;
    color: #6366f1;
    transform: translateY(-1px);
}

.pay-type.active {
    border-color: #6366f1;
    background: rgba(99, 102, 241, 0.1);
    color: #6366f1;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .pay-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 480px) {
    .pay-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pay-type {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
    }
}

/* 卡片标题样式 */
.modal .card-header {
    background: none;
    padding: 1rem 1.5rem;
}
.modal .card-header.border-bottom {
    border-bottom: 1px solid #f1f3fa;
    margin-bottom: -1px;
}
.modal .card-title-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.modal .card-title-group i {
    font-size: 1.25rem;
}
.modal .card-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: #333;
}

/* 商品描述样式 */
.modal .goods-description {
    padding: 1.5rem;
    color: #6c757d;
    line-height: 1.6;
    word-wrap: break-word;
    overflow-wrap: break-word;
}
.modal .goods-description:empty {
    display: none;
}
.modal .goods-description > *:first-child {
    margin-top: 0;
}
.modal .goods-description > *:last-child {
    margin-bottom: 0;
}
.modal .goods-description img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 1rem auto;
}

/* 投诉弹窗样式 */
.modal-content {
    border: none;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

.modal-header {
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: 1.2rem 1.5rem;
}

.modal-header .modal-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
}

.modal-header .close {
    padding: 1rem;
    margin: -1rem;
    opacity: 0.5;
    transition: opacity 0.3s;
}

.modal-header .close:hover {
    opacity: 1;
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    border-top: 1px solid rgba(0,0,0,0.05);
    padding: 1.2rem 1.5rem;
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #495057;
}

.form-control {
    border-radius: 8px;
    border: 1px solid rgba(0,0,0,0.1);
    padding: 0.6rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #2196F3;
    box-shadow: 0 0 0 0.2rem rgba(33,150,243,0.1);
}

/* 支付弹窗样式 */
#payModal .modal-dialog {
    max-width: 480px;
}

#payModal .card {
    border: none;
    box-shadow: 0 0 20px rgba(0,0,0,0.05);
    margin-bottom: 1rem;
}

#payModal .card-header {
    background: none;
    padding: 1rem;
}

#payModal .card-title-group {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

#payModal .card-title-group i {
    font-size: 1.4rem;
}

#payModal .card-title {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.order-info {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.order-info .info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px dashed rgba(0,0,0,0.1);
}

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

.order-info .label {
    color: #6c757d;
    font-size: 0.9rem;
}

.order-info .value {
    font-weight: 500;
}

.order-info .value.price {
    color: #dc3545;
    font-size: 1.1rem;
    font-weight: 600;
}

.qr-wrapper {
    padding: 1.5rem;
}

.qr-code {
    width: 200px;
    height: 200px;
    margin: 0 auto 1.5rem;
    padding: 0.5rem;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 8px;
    background: #fff;
}

.qr-code img {
    width: 100%;
    height: 100%;
}

.qr-tips {
    margin-bottom: 1.5rem;
}

.qr-tips p {
    margin: 0.3rem 0;
    font-size: 0.9rem;
    color: #6c757d;
}

.payment-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1rem;
}

.payment-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    border-radius: 6px;
}

.payment-timer {
    font-size: 0.9rem;
    color: #6c757d;
}

.timer-value {
    color: #dc3545;
    font-weight: 600;
    margin-left: 0.3rem;
}

/* 移动端适配 */
@media (max-width: 576px) {
    #payModal .modal-dialog {
        margin: 0.5rem;
    }
    
    .qr-wrapper {
        padding: 1rem;
    }
    
    .qr-code {
        width: 180px;
        height: 180px;
        margin-bottom: 1rem;
    }
    
    .payment-actions {
        flex-direction: column;
    }
    
    .payment-actions .btn {
        width: 100%;
    }
}

/* 支付页面样式 */
.card-title-group {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.card-title-group i {
    font-size: 1.4rem;
}

.card-title {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.order-info {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.order-info .info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px dashed rgba(0,0,0,0.1);
}

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

.order-info .label {
    color: #6c757d;
    font-size: 0.9rem;
}

.order-info .value {
    font-weight: 500;
}

.order-info .value.price {
    color: #dc3545;
    font-size: 1.1rem;
    font-weight: 600;
}

.order-info .value.status {
    color: #ffc107;
    font-weight: 600;
}

.usdt-info {
    padding: 1rem;
}

.qr-wrapper {
    padding: 1.5rem;
}

.qr-code {
    width: 200px;
    height: 200px;
    margin: 0 auto;
    padding: 0.5rem;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 8px;
    background: #fff;
}

.qr-code img {
    width: 100%;
    height: 100%;
}

.wallet-info,
.amount-info {
    max-width: 400px;
    margin: 0 auto;
}

.wallet-address,
.amount {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.address-text {
    padding: 0.5rem 1rem;
    background: rgba(0,0,0,0.05);
    border-radius: 4px;
    font-family: monospace;
    font-size: 0.9rem;
}

.usdt-amount {
    font-size: 1.5rem;
    font-weight: 600;
    color: #dc3545;
}

.payment-tips {
    max-width: 500px;
    margin: 0 auto;
}

.payment-tips .alert {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    text-align: left;
}

.payment-tips i {
    font-size: 1.4rem;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.payment-tips ul {
    margin: 0;
    padding-left: 1.2rem;
}

.payment-tips li {
    margin-bottom: 0.3rem;
}

.payment-tips li:last-child {
    margin-bottom: 0;
}

.payment-actions {
    margin-top: 2rem;
}

.payment-timer {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #6c757d;
}

.timer-value {
    color: #dc3545;
    font-weight: 600;
    margin-left: 0.3rem;
}

/* 移动端适配 */
@media (max-width: 576px) {
    .qr-wrapper {
        padding: 1rem;
    }
    
    .qr-code {
        width: 180px;
        height: 180px;
    }
    
    .wallet-address {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .address-text {
        font-size: 0.8rem;
        word-break: break-all;
    }
}


/* 卡片样式 */
.payment-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    margin-top: 2rem;
}

/* 头部样式 */
.payment-header {
    background: linear-gradient(135deg, #4CAF50, #2E7D32);
    color: white;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.payment-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.payment-title i {
    font-size: 1.5rem;
}

.payment-title h5 {
    margin: 0;
    font-size: 1.25rem;
}

.payment-timer {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.payment-timer i {
    color: #fff;
}

/* 主体样式 */
.payment-body {
    padding: 2rem;
}

.payment-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}

/* 金额部分 */
.amount-section {
    text-align: center;
    width: 100%;
}

.amount-label {
    color: #666;
    margin-bottom: 0.5rem;
}

.amount-value {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 2rem;
    font-weight: bold;
    color: #2E7D32;
}

.currency {
    font-size: 1rem;
    color: #666;
}

/* 二维码部分 */
.qr-section {
    text-align: center;
}

.qr-container {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 12px;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.qr-container img {
    width: 160px !important;
    height: 160px !important;
    display: block;
}

.qr-tip {
    color: #666;
    font-size: 0.9rem;
    margin: 0.5rem 0;
}

/* 地址部分 */
.address-section {
    width: 100%;
    text-align: center;
}

.address-label {
    color: #666;
    margin-bottom: 0.5rem;
}

.address-value {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: #f8f9fa;
    padding: 0.75rem;
    border-radius: 8px;
}

.address-value code {
    font-size: 1rem;
    color: #333;
    word-break: break-all;
}

/* 复制按钮 */
.copy-btn {
    background: none;
    border: none;
    color: #4CAF50;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
    transition: all 0.2s;
}

.copy-btn:hover {
    background: rgba(76, 175, 80, 0.1);
}

/* 查询订单按钮 */
.check-payment-section {
    width: 100%;
    text-align: center;
    margin-top: 1rem;
}

.check-payment-btn {
    background: linear-gradient(135deg, #4CAF50, #2E7D32);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(46, 125, 50, 0.2);
}

.check-payment-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(46, 125, 50, 0.3);
}

.check-payment-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(46, 125, 50, 0.2);
}

.check-payment-btn i {
    font-size: 1.2rem;
}

/* 提示部分 */
.payment-tips {
    margin-top: 2rem;
    background: #fff9c4;
    border-radius: 8px;
    padding: 1rem;
}

.tips-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #f57c00;
    margin-bottom: 0.5rem;
}

.payment-tips ul {
    margin: 0;
    padding-left: 1.5rem;
    color: #666;
}

.payment-tips li {
    margin: 0.5rem 0;
}

.payment-tips strong {
    color: #f57c00;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .payment-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .amount-value {
        font-size: 1.5rem;
    }
    
    .address-value code {
        font-size: 0.9rem;
    }

    .check-payment-btn {
        width: 100%;
        justify-content: center;
    }
}

.guarantee-process {
        background: #fff;
        border-radius: 10px;
        padding: 20px 15px;
        margin: 5px 0 40px 0;
        box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    }
    .process-title h4 {
        font-size: 16px;
        font-weight: 600;
        color: #2c3e50;
    }
    .process-title small {
        font-size: 12px;
    }
    .process-steps {
        display: flex;
        justify-content: space-between;
        margin: 20px 0;
        position: relative;
        padding: 0 10px;
    }
    .process-steps::before {
        content: '';
        position: absolute;
        top: 25px;
        left: 40px;
        right: 40px;
        height: 1px;
        background: #e3e8ef;
        z-index: 1;
    }
    .step-item {
        flex: 1;
        text-align: center;
        position: relative;
        z-index: 2;
        padding: 0 5px;
    }
    .step-icon {
        width: 50px;
        height: 50px;
        margin: 0 auto 10px;
        background: #fff;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 1px solid #4CAF50;
        position: relative;
        box-shadow: 0 2px 5px rgba(76, 175, 80, 0.1);
    }
    .step-icon i {
        font-size: 20px;
        color: #4CAF50;
    }
    .step-number {
        position: absolute;
        top: -6px;
        right: -6px;
        width: 20px;
        height: 20px;
        background: #4CAF50;
        color: white;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: bold;
        font-size: 12px;
        border: 1px solid #fff;
    }
    .step-content {
        margin-top: 5px;
    }
    .step-label {
        font-size: 13px;
        color: #2c3e50;
        font-weight: 500;
        margin-bottom: 2px;
    }
    .step-content small {
        color: #7f8c8d;
        font-size: 11px;
    }
    .guarantee-features {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
        margin-top: 15px;
        padding: 10px;
    }
    .feature-badge {
        display: flex;
        align-items: center;
        gap: 5px;
        padding: 5px 12px;
        background: #f8f9fa;
        border-radius: 15px;
        font-size: 12px;
    }
    .feature-badge i {
        font-size: 16px;
        color: #4CAF50;
    }
    .feature-badge small {
        color: #2c3e50;
    }
    @media (max-width: 768px) {
        .guarantee-process {
            padding: 15px 10px;
        }
        .process-steps {
            margin: 15px -5px;
            padding: 0;
        }
        .process-steps::before {
            display: none;
        }
        .step-item {
            padding: 0 2px;
        }
        .step-icon {
            width: 40px;
            height: 40px;
        }
        .step-icon i {
            font-size: 16px;
        }
        .step-number {
            width: 16px;
            height: 16px;
            font-size: 10px;
            top: -4px;
            right: -4px;
        }
        .step-label {
            font-size: 11px;
            white-space: nowrap;
        }
        .step-content small {
            font-size: 10px;
        }
        .guarantee-features {
            gap: 8px;
            margin-top: 10px;
        }
        .feature-badge {
            padding: 4px 8px;
        }
        .feature-badge i {
            font-size: 14px;
        }
        .feature-badge small {
            font-size: 11px;
        }
    }
    @media (max-width: 480px) {
        .step-content small {
            display: none;
        }
    }

.footer-copyright {
    border-top: 1px solid rgba(0,0,0,0.05);
    margin-top: 20px;
}

.copyright-text p {
    color: #2c3e50;
    font-size: 14px;
}

.copyright-text small {
    font-size: 12px;
}

.product-card {
    background: #ffffff;
    border-radius: 12px;
    margin-bottom: 20px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.08);
    width: calc(33.333% - 20px);
    margin-right: 30px;
    margin-left: 0;
    float: left;
    text-decoration: none;
}

.product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.product-card:nth-child(3n) {
    margin-right: 0;
}

.product-card:nth-child(3n+1) {
    clear: both;
}

.product-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.product-header {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.product-icon {
    min-width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.product-icon i {
    color: white;
    font-size: 24px;
}

.product-info {
    flex: 1;
    min-width: 0;
}

.product-name {
    margin: 0 0 5px 0;
    font-size: 15px;
    font-weight: 600;
    color: #1f2937;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    word-break: break-word;
}

.price-tag {
    display: flex;
    align-items: baseline;
    color: #6366f1;
}

.currency {
    font-size: 14px;
    font-weight: 500;
    margin-right: 2px;
}

.amount {
    font-size: 20px;
    font-weight: 700;
}

.stock-container {
    width: 100%;
}

.stock-progress {
    position: relative;
    height: 32px;
    background: #f3f4f6;
    border-radius: 16px;
    overflow: hidden;
}

.progress-bar {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    transition: width 0.4s ease;
}

.out-of-stock .progress-bar {
    background: #ef4444;
}

.low-stock .progress-bar {
    background: #f59e0b;
}

.medium-stock .progress-bar {
    background: #10b981;
}

.high-stock .progress-bar {
    background: #6366f1;
}

.stock-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #4b5563;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 6px;
}

.stock-text i {
    font-size: 16px;
}

.buy-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.buy-button:hover {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    transform: translateY(-1px);
}

.buy-button.disabled {
    background: #d1d5db;
    cursor: not-allowed;
    opacity: 0.8;
}

.buy-button i {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.buy-button:hover i {
    transform: translateX(4px);
}

@media (max-width: 768px) {
    .product-card {
        width: calc(50% - 10px);
        margin-right: 20px;
        padding: 12px;
    }

    .product-card:nth-child(3n) {
        margin-right: 20px;
    }

    .product-card:nth-child(3n+1) {
        clear: none;
    }

    .product-card:nth-child(2n) {
        margin-right: 0;
    }

    .product-card:nth-child(2n+1) {
        clear: both;
    }

    .product-header {
        gap: 8px;
    }

    .product-icon {
        min-width: 36px;
        height: 36px;
    }

    .product-icon i {
        font-size: 18px;
    }

    .product-name {
        font-size: 13px;
        line-height: 1.3;
        margin-bottom: 2px;
    }

    .price-tag {
        margin-top: 2px;
    }

    .currency {
        font-size: 12px;
    }

    .amount {
        font-size: 16px;
    }

    .stock-progress {
        height: 28px;
    }

    .stock-text {
        font-size: 12px;
    }

    .buy-button {
        padding: 8px;
        font-size: 13px;
    }

    .buy-button i {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .product-card {
        margin-bottom: 15px;
    }
}

