.home {
    /* max-width: 1200px; */
    width: 100%;
    margin: 0 auto;

}

.header {
    width: 100%;
}

.headertop {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    height: 64px;
    background-color: #fff;
    padding: 0 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.input-button {
    border-radius: 0 6px 6px 0;
    font-size: 16px;
    height: 40px;
    width: 72px;
    align-items: center;
    background: #ff5b00;
    color: #fff;
    cursor: pointer;
    display: flex;
    font-family: PingFang SC;
    font-weight: 700;
    justify-content: center;
    position: absolute;
    right: 0;
    top: 0;
}

.searchshop {
    width: 60%;
    position: relative;
    display: flex;
    align-items: center;
    height: 40px;
    border-radius: 6px 0 0 6px;
    background-color: #ff5b00;
    border-radius: 4px;


    input {
        width: 100%;
        height: 100%;
        border-radius: 6px;
        box-sizing: border-box;
        color: rgba(0, 0, 0, .87);
        font-family: PingFang SC;
        font-size: 16px;
        font-weight: 400;
        height: 100%;
        line-height: 24px;
        padding: 5px 0 5px 20px;
        width: 100%;


    }
}

.Classification {
    width: 100%;
    background: rgb(255, 255, 255);
    box-shadow: rgb(238, 238, 238) 0px 1px 0px 0px;

    ul {
        width: 100%;
        margin: 0 auto;
        height: 44px;
        margin: auto;
        display: flex;
        justify-content: center;
        align-items: center;
        list-style: none;
        padding-inline-start: 0px;

        li {
            font-size: 14px;
            width: 112px;
            text-align: center;
            font-family: MicrosoftYaHei-Bold;
            display: inline-block;
            vertical-align: top;
            cursor: pointer;
            position: relative;

            a {
                position: relative;
                text-decoration: none;
                height: 40px;
                line-height: 40px;
                background-image: none;
                width: 100%;
                display: inline-block;
                color: rgb(102, 102, 102);
                /* font-weight: bold; */

                img {
                    width: 10px;
                    height: 5px;
                    vertical-align: top;
                    margin-top: 17px;
                    margin-left: 9px;
                }
            }

            .category {
                position: absolute;
                box-shadow: rgb(153, 153, 153) 0px 5px 10px;
                width: 200px;
                text-align: left;
                top: 40px;
                z-index: 1000;
                background-color: rgb(255, 255, 255);
                display: none;
            }

            .active:hover+.category,
            .category:hover {
                display: block;
            }

            .category-level {
                max-height: 352px;
                overflow-x: auto;
                display: inline-block;
                vertical-align: top;
                scrollbar-width: none;
            }
        }

    }
}

.content {
    width: 100%;
    position: relative;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;

    .contenttop {
        flex: 1 1 auto;
        position: relative;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        align-content: flex-start;
        flex-shrink: 0;
        width: 100%;
        margin: 0px auto;
        flex-shrink: 1;
        flex-grow: 1;
        align-items: center;
        overflow: hidden;

        img {
            max-width: 100%;
            height: auto;
            overflow-clip-margin: content-box;
            overflow: clip;
        }

        .imgshop5 {
            position: absolute;
            width: 100%;
            height: 70%;
            bottom: 0;
            left: 0;
            z-index: 9;
        }

        .imgshop7-1 {
            position: absolute;
            margin: 0 auto;
            width: 75%;
            height: 36%;
            top: 15%;
            left: 12%;
            z-index: 9;
        }

        .imgshop7-2 {
            position: absolute;
            margin: 0 auto;
            width: 37%;
            width: 75%;
            height: 44%;
            top: 55%;
            left: 12%;
            z-index: 9;
            text-decoration: none;
        }
        .imgshop7-2 a{
            display: inline-block;
            width: 48%;
            overflow: hidden;
        }
        .imgshop7-2 a:last-child{
            display: inline-block;
            width: 48%;
            overflow: hidden;
            float: right;
        }
        .imgshop7-2 img {
            display: block;
            margin: 0 auto 8px auto;
        }
        .imgshop7-2-title {
            font-size: 22px;
            font-weight: bold;
            color: #222;
            margin-bottom: 8px;
        }
        .imgshop7-2-btn {
            background: #b63a2b;
            color: #fff;
            border: none;
            border-radius: 16px;
            padding: 2px 16px;
            font-size: 14px;
            cursor: pointer;
        }

        .imgshop7-3 {
            position: absolute;
            margin: 0 auto;
            width: 37%;
            height: 44%;
            top: 55%;
            right: 12%;
            z-index: 9;
            text-decoration: none;
        }
        .imgshop7-3 img {
            display: block;
            margin: 0 auto 8px auto;
        }
        .imgshop7-3-title {
            font-size: 22px;
            font-weight: bold;
            color: #222;
            margin-bottom: 8px;
        }
        .imgshop7-3-btn {
            background: #b63a2b;
            color: #fff;
            border: none;
            border-radius: 16px;
            padding: 2px 16px;
            font-size: 14px;
            cursor: pointer;
        }

    }
}

.module-wrapper {
    max-width: 1200px;
    width: 100%;
    height: 83px;
    margin: auto;
    position: relative;
    box-sizing: border-box;

    .module-title {
        height: 24px;
        width: 100%;
        margin: 28px  auto;
        font-family: MicrosoftYaHei;
        font-size: 24px;
        color: rgb(0, 0, 0);
        line-height: 24px;
        text-align: center;
    }

    .module-icon {
        position: absolute;
        height: 17px;
        line-height: 17px;
        font-family: PingFangSC-Regular;
        font-size: 14px;
        color: rgba(0, 0, 0, 0.5);
        letter-spacing: 0px;
        top: 32px;
        right: 0px;
        cursor: pointer;
    }


}

.scenicSpot {
    width: 100%;
    max-width: 1200px;
    padding: 0 3px;
    /* 增加左右留白 */
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    /* 确保换行生效 */
    gap: 10px;
    /* 现代浏览器间距方案 */


    .scenicSpot-item {
        /* display: flex; */
        width: calc(20% - 8px);
        display: block;
        /* 或直接移除 */
        margin-bottom: 10px;

        .scenicSpot-item-img {
            position: relative;
            box-sizing: border-box;
            display: flex;
            flex-direction: column;
            align-content: flex-start;
            flex-shrink: 0;
            width: 100%;
            overflow: hidden;

            img {
                width: 100%;
            }
        }

        .scenicSpot-item-text {
            position: relative;
            box-sizing: border-box;
            display: flex;
            flex-direction: column;
            align-content: flex-start;
            flex-shrink: 0;
            padding: 10px 10px 0px;
            overflow: hidden;

            .scenicSpot-item-text-title {
                position: relative;
                box-sizing: border-box;
                flex-direction: column;
                align-content: flex-start;
                flex-shrink: 0;
                margin-top: 0px;
                margin-bottom: 0px;
                font-size: 14px;
                line-height: 16px;
                color: rgb(34, 34, 34);
                overflow: hidden;
                text-overflow: ellipsis;
                white-space: nowrap;
            }
        }

        .scenicSpot-item-price {
            position: relative;
            box-sizing: border-box;
            display: flex;
            flex-direction: row;
            place-content: flex-start space-between;
            flex-shrink: 0;
            margin: 8px 10px 6px;
            align-items: baseline;

            .scenicSpot-item-price-old {
                align-content: flex-start;
                flex-shrink: 0;
                align-items: baseline;

                .scenicSpot-item-price-num {
                    color: rgb(255, 41, 0);
                    font-size: 18px;
                    line-height: 24px;
                    font-weight: bold;
                }

                .scenicSpot-item-price-num1 {
                    font-size: 14px;
                    line-height: 24px;
                    color: rgb(255, 41, 0);
                }
            }

            .scenicSpot-item-price-right {
                color: rgb(153, 153, 153);
                background-color: rgb(255, 255, 255);
                font-size: 12px;
                line-height: 12px;
                height: 12px;
            }
        }

    }


    .scenicSpot-item:nth-child(5n) {
        margin-right: 0;
        /* 每行第5个清除右边距 */
    }
}

.Tail {
    width: 100%;
    color: #aaa;
    background: #555;
    margin-top: 25px;
    overflow: hidden;
    min-height: 60px;
    text-align: center;
    box-sizing: border-box;
    
    .Tail-top {
        padding: 15px;
    }
}


@media (max-width: 768px) {
    .searchshop {
        width: 80%;
        /* 放大搜索框区域 */
    }

    .Classification ul {
        flex-wrap: wrap;
        /* 允许菜单换行 */
        height: auto;
        padding: 10px 0;
    }

    .Classification li {
        width: 50%;
        /* 两列布局 */
        padding: 5px 0;
    }

    .scenicSpot-item {
        flex: 0 0 calc(33.33% - 10px);

        /* 修正小数位精度 */
        &:nth-child(3n) {
            margin-right: 0;
        }
    }
}


/* 手机端适配 */
@media (max-width: 480px) {
    .input-button {
        width: 60px;
        /* 缩小按钮 */
        font-size: 14px;
    }

    .Classification li {
        width: 100%;
        /* 单列布局 */
        font-size: 12px;
    }

    .category {
        width: 100% !important;
        /* 下拉菜单全宽 */
        left: 0 !important;
    }

    .scenicSpot-item {
        flex: 0 0 calc(50% - 10px);

        &:nth-child(2n) {
            margin-right: 0;
        }
    }
}