* {
    margin: 0;
    padding: 0; 
    box-sizing: border-box;
}

.bg-grad{
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    z-index: 0;
    background: linear-gradient(to bottom right, #f1ede6, #e7eef9);
}

.nav,
.banner{
    position: relative;
    width: calc(100% - 40px);
    margin-left: 20px;
    height: 38px;
    margin-top: 4px;
    /* border: 1px solid red; */
    display: flex;
    flex-direction: row;
    align-items: center;
    z-index: 100;
    background-color: rgba(210, 211, 210, 0.45);
    border-radius: 20px;
    padding: 0 10px;
    font-family: system-ui;
    white-space: nowrap;
}

.banner{
    background: #4ea6f8;
    justify-content: center;
    color: #fff;
}

.banner h2{
    display: block;
    width: fit-content;
}

.banner h2 span{
    font-weight: bold;
    font-size: 1.15em;
    margin: 0 4px;
    color: cyan;
    text-shadow: none;
}

.nav-img{
    width: 80px;
    object-fit: cover;
    border-radius: 15px;
}

.nav-search-bar{
    border-radius: 5px;
    overflow: hidden;
    border: 2px solid #bbb;
    /* margin-left: 12.5px; */
    margin-left: 35px;
}

.nav-search-bar input{
    padding: 2px;
    background-color: transparent;
    border: 1px solid antiquewhite;
    outline: none;
    background-color: white;
    font-size: 18px;
    border-radius: 4px;
    width: 400px;
}

.flex-row-c{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
}

.nav-sel i{
    margin: 0 3px;
    padding-block-start: 5px;
}

.nav-sel{
    background-color: #eee;
    padding: 0 4px;
    height: 100%;
}

.fa-search{
    padding: 0 4px;
}

.nav-right{
    margin-left: auto;
}

.nav-cart{
    width: 34px;
    height: 34px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    font-size: 18px;
    border-radius: 100%;
    /* border: 1.5px solid #aaa; */
    box-shadow: 0 0 1.5px #444;
}

.counter{
    position: absolute;
    top: -4px;
    right: -3px;
    width: 14px;
    height: 14px;
    font-size: 10px;
    background-color: #fc4f30;
    color: #fff;
    white-space: nowrap;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 100%;
}

.nav-bar{
    padding: 0 10px;
}

.nav-a{
    text-decoration: none;
    margin-right: 12px;
    margin-left: 4px;
    color: inherit;
    font-size: 15px;
    font-family: monospace;
    white-space: nowrap;
}

.nav-a:hover{
    text-decoration: underline;
}

.main-dom{
    position: relative;
    z-index: 1;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-shop-wrapper{
    width: calc(100% - 40px);
    margin: 0 15px;
    margin-top: 10px;
    border-radius: 20px;
    height: 360px;
    /* border: 1px solid red; */
    overflow: hidden;
    max-width: 800px;
}

/* .main-shop-wrapper,
.main-shop-wrapper .swiper-wrapper,
.main-shop-wrapper .swiper-slide,
.main-shop-wrapper .ms-bg,
.main-shop-wrapper .ms-bg img{
    width: 100%;
    height: 100%;
} */

.main-shop-wrapper .ms-bg img{
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.nav-log{
    cursor: default;
}

.log-status{
    margin-left: 15px;
    margin-right: 2px;
    font-size: 12px;
}

.main-dom-side{
    width: 280px;
    height: 360px;
    border-radius: 15px;
    padding: 5px;
    background: linear-gradient(to bottom right, #e7e0d4, #cdd6e4);
    overflow-y: auto;
}

.side-title{
    font-weight: bold;
    font-family: monospace;
}

.area-card{
    margin: 10px;
    padding: 5px 10px;
    width: calc(100% - 20px);
    position: relative;
    color: #fff;
    border-radius: 10px;
    overflow: hidden;
    cursor: default;
}
.area-card.active{
    border: 2px solid white;
    box-shadow: 0 0 3px #000;
}
.area-card .area-title{
    font-weight: bold;
    font-size: 1.15em;
    font-family: Verdana;
    position: relative;
    z-index: 2;
    background: rgba(70, 71, 70, 0.45);
    /* backdrop-filter: blur(5px); */
    /* -webkit-backdrop-filter: blur(5px); */
    border-radius: 6px;
}
.area-card .area-desc{
    position: relative;
    text-indent: 15px;
    font-family: system-ui;
    z-index: 2;
    background: rgba(70, 71, 70, 0.45);
    color: #eee;
    /* backdrop-filter: blur(5px); */
    /* -webkit-backdrop-filter: blur(5px); */
    border-radius: 6px;
}

.area-bg{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

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

.loc-bar{
    display: flex;
    flex-direction: row;
    margin-top: 4px;
    align-items: center;
}

.loc-bar + .loc-bar{
    margin-left: 20px;
}

.loc-bar .loc-title{
    margin: 0 3px;
}

.loc-where{
    padding: 1px 5px;
    background: #fff;
    border-radius: 3px;
    font-family: monospace;
    cursor: default;
    margin-left: 5px;
}

.loc-map{
    width: 250px;
    height: 250px;
    margin: auto;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 10px;
}

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

.main-shop-wrapper .ms-bg{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.main-shop-wrapper,
.ms-slide{
    width: 100%;
    height: 360px;
    position: relative;
}
.main-shop-wrapper .ms-bg img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.ms-top{
    position: absolute;
    z-index: 3;
    color: #fff;
    bottom: 0;
    right: 0;
    padding: 10px;
}

.ms-top .ms-title{
    font-size: 50px;
    background: rgba(70, 71, 70, 0.45);
}
.ms-top .ms-desc{
    font-size: 32px;
    background: rgba(70, 71, 70, 0.45);
}

.category{
    position: relative;
    width: calc(100% - 110px);
    margin-left: 55px;
    margin-top: 4px;
    z-index: 100;
    background-color: rgba(210, 211, 210, 0.45);
    border-radius: 20px;
    padding: 6px 10px;
    font-family: system-ui;
}

.c-a{
    cursor: pointer;
    margin-left: 5px;
    background: rgba(70, 71, 70, 0.1);
    padding: 1px 8px;
    border-radius: 2px;
}

.c-a.active,
.c-a:hover{
    box-shadow: 0 0 2px #000;
}

.grid{
    position: relative;
    width: calc(100% - 110px);
    margin-left: 55px;
    margin-top: 4px;
    z-index: 100;
    background-color: rgba(210, 211, 210, 0.45);
    border-radius: 20px;
    padding: 6px 10px;
    font-family: system-ui;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    grid-gap: 10px;
}

.grid-item{
    display: block;
    width: 220px;
    padding: 10px;
    padding-bottom: 20px;
    overflow: hidden;
    border-radius: 15px;
}

.grid-item:hover{
    background-color: rgba(210, 211, 210, 0.45);
}

.grid-img{
    width: 200px;
    height: 200px;
    border-radius: 15px;
    overflow: hidden;
}

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

.grid-desc{
    color: #000;
    font-family: monospace;
    font-size: 16px;
    margin-top: 5px;
}

.grid-price{
    margin-top: 15px;
    color: #f00;
}

.grid-price::before{
    content: '￥';
}

.g{
    font-size: 13px;
    margin: 0 4px;
    padding: 1px 4px;
    color: #fff;
    border-radius: 3px;
}

.rg{
    background-color: #fc4f30;
}
.bgg{
    background-color: #00bfd5;
}
.gg{
    background-color: #e5ae37;
}
.cg{
    background-color: #63d134;
}