/* 简单自定义样式，保持清爽 */
body {
    background-color: #FFF;
}
.layui-container {
    height: 100vh;
    width: 100%;
    padding: 0;
}
.shop-header {
    background: #0057ad;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
    border-bottom: 1px solid #e6e9ed;
    height: 70px;
    line-height: 80px;
}
.logo-image {
    height: 100px;
    margin-top: -18px;
    width: auto;
}
.shop-name-area {
    font-size: 24px;
    font-weight: bold;
    color: #FFF;
    letter-spacing: 1px;
    margin-right: 50px;
    margin-top: -4px;
    transform: skewX(-6deg);
}
.layui-col-space20 {
    margin: 0 auto;
}
.layui-col-space20>* {
    padding: 0;
}
.shop-name-area small {
    font-size: 14px;
    color: #999;
    font-weight: normal;
    margin-left: 10px;
}
.search-order-area {
    text-align: right;
}
.wechat .payment-icon { color: #2baf2b; }
.alipay .payment-icon { color: #1677ff; }
@media (max-width: 768px) {
    .search-order-area {
        text-align: left;
        margin-top: 10px;
    }
    .shop-name-area {
        font-size: 20px;
    }
}
.layui-layer-title {
    border-radius: 20px 20px 0 0!important;
}
.layui-layer-page {
    border-radius: 16px 16px 0 0!important;
    box-shadow: 0px 0px 14px 4px rgba(0, 0, 0, 0.6)!important;
    transition: box-shadow 0.3s ease!important;
}
.layui-layer-shade {
    background-color: rgb(255, 255, 255)!important;
    opacity: 0.6!important;
}
.layui-layer-btn0 {
    border-radius: 8px!important;
}
.layui-layer-title {
    height: 60px;
    line-height: 60px;
    font-size: 16px;
}
.layui-layer-title {
    height: 65px !important;
    line-height: 65px !important;
}
.layui-layer-setwin {
    top: 21px !important;
}

/* ========== 手机端自适应补充（针对 768px 及以下） ========== */
@media (max-width: 768px) {
    /* 全局调整 */
    body {
        font-size: 14px;
    }

    /* 头部区域优化 */
    .shop-header {
        height: 28px;
        line-height: 1.4;
        padding: 12px 0;
    }
    .logo-image {
        height: 80px;
        margin-top: -27px;
    }
    .shop-name-area {
        font-size: 16px;
        transform: none;
        text-align: right;
        margin-top: 8px;
        margin-right: 10px;
    }
    .search-order-area {
        text-align: left;
        margin-top: -4px;
    }
    .search-order-input {
        width: 160px;
        font-size: 12px;
    }
    .layui-btn-primary {
        padding: 0 12px;
        font-size: 12px;
    }

    /* 商品列表卡片 - 每行2个，间距缩小 */
    .product-list {
        width: 100%;
        margin-left: 0;
    }
    .product-img {
        height: auto;
        max-height: 180px;
    }
    .product-info {
        padding: 8px 10px;
    }

    .product-price {
        font-size: 16px;
    }

    /* 分页组件缩小间距 */
    .pagination-container .layui-laypage {
        margin: 20px 0;
    }
    .pagination-container .layui-laypage a,
    .pagination-container .layui-laypage span {
        padding: 0 10px;
        font-size: 12px;
    }

    .layui-layer {
        width: 100% !important;
        left: 0 !important;
        bottom: 0 !important;
        margin-left: 0 !important;
        top: auto !important;
    }
    .layui-layer-page {
        height: auto !important;
    }
}