body {
    background-color: #f1f4f9 !important;
}
.main-content{
    background-color: #f1f4f9;
}
.content {
    max-width: 1200px;
    margin: 0 auto;
}

.content .search > div {
    flex: 1;
}

.content .search .title {
    font-size: 22px;
    color: #212121;
    font-weight: bold;
}

.search-box {
    display: flex;
    justify-content: right;
}

.search-box input {
    width: 150px;
    height: 36px;
    background: #FFFFFF;
    border-radius: 4px;
    border: 1px solid #F2F2F2;
    font-size: 14px;
    color: #999999;
    line-height: 26px;
    text-align: center;
}

.search-box>div {
    min-width: 90px;
    height: 36px;
    background: #FFFFFF;
    border-radius: 4px;
    border: 1px solid #F2F2F2;
    line-height: 30px;
    text-align: center;
    margin-left: 6px;
}
.search-box>div:nth-child(1) {
    width: 170px;
}
.search-box>div:nth-child(2) {
    width: 170px;
}
.search-box .dropdown {
    display: flex;
    justify-content: center;
    align-items: center;
}
.search-box .dropdown-toggle {
    background: #fff;
    padding: 0px;
    font-size: 14px;
}
.search-box .ant-select-selection {
    border: none;
}
.dropdown-menu{
    min-width: 86px;
}

.festival-box {
    margin-top: 18px;
    display: flex;
    justify-content: space-between;
}

.festival-box .left-box {
    display: flex;
}

.festival-box .left-box .name {
    font-weight: bold;
    font-size: 16px;
    color: #212121;
    margin-bottom: 10px;
}

.festival-box .left-box .date {
    font-weight: 400;
    font-size: 12px;
    color: #818181;
}

.festival-box .left-box .time {
    width: 52px;
    height: 24px;
    background: #E0EFFF;
    border-radius: 5px 0px 5px 0px;
    font-size: 12px;
    color: #007BFF;
    text-align: center;
    position: absolute;
    right: 0px;
    bottom: 0px;
}

.festival-box .left-box > div {
    width: 206px;
    height: 84px;
    background: #FFFFFF;
    border-radius: 6px;
    border: 1px solid #EBEBF0;
    padding: 14px 10px 0;
    display: flex;
    flex-direction: column;
    justify-content: left;
    margin-right: 16px;
    position: relative;
    cursor: pointer;
}

.festival-box .left-box > div:hover{
    border: 1px solid #007BFF;
}

.festival-box .preview {
    width: 106px;
    height: 84px;
    background: #E0EFFF;
    border-radius: 6px;
    color: #007BFF;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column;
    cursor: pointer;
}

.date-box {
    width: 1200px;
    /*height: 662px;*/
    background: #F4F6F8;
    border-radius: 4px;
    margin-top: 26px;
    border-top:1px solid #BFBFBF;
    display:inline-block
}

.date-box .week {
    width: 1200px;
    height: 40px;
    background: #EAEDF0;
    border-radius: 4px 4px 0px 0px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.date-box .week:nth-child(1){
    border-left: 1px solid #D1D2D4;
}
.date-box .week > div {
    flex: 1;
    text-align: center;
    height: 100%;
    line-height: 38px;
    border: 1px solid #D1D2D4;
    border-left: none;
    border-top: none;
}

.date-box .week-content {
    width: 1200px;
    /*min-height: 662px;*/

}

.date-box .week-content > div {
    width: 1200px;
    height: 124px;
    float: left;
    display: flex;
    justify-content: center;
    border-left: 1px solid #D1D2D4;
}
.date-box .week-content > div > div {
    flex: 1;
    border: 1px solid #D1D2D4;
    border-left: none;
    border-top: none;
    display: flex;
    background: #fff;
    cursor: pointer;
}

.date-box .week-content > div > div:hover{
    border: 1px solid #007BFF;
}

.select_festival{
    border: 1px solid #007BFF !important;
}

.date-box .week-content .left {
    font-weight: 400;
    font-size: 16px;
    color: #999999;
    width: 10%;
    padding-left: 10px;
    padding-top: 8px;
}

.date-box .week-content .right {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 0;
}

.date-box .week-content .festival-div {
    width: 118px;
    height: 24px;
    background: #E0EFFF;
    border-radius: 4px;
    font-weight: 400;
    font-size: 12px;
    color: #007BFF;
    margin-bottom: 8px;
    padding: 0 10px;
    line-height: 22px;
}
.festival-span{
    color: #999999;
    position: relative;
}
.festival-span:hover > .festival-win2 {
    display: block;
}
.festival-win2{
    position: absolute;
    border: 1px solid #D1D2D4;
    background-color: #fff;
    /*background-color: red;*/
    left: 40px;
    top: -10px;
    display: none;
    padding: 10px;
    border-radius: 5px;
    z-index: 999999;
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.2);
}

.festival-name{
    width: 100px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.image-box{
    margin-top: 30px;
    background: #FFFFFF;
    padding: 16px 30px;
    display: flex;
    flex-direction: column;
}

.image-box .tab{
    height: 68px;
    opacity: 0.8;
    display: flex;
    font-weight: bold;
    font-size: 16px;
}
.image-box .tab .active{
    position: relative;
    color: #007BFF;
}
.image-box .tab .active:after{
    border-bottom: 5px solid #007BFF;
    content: '';
    width: 40%;
    height: 10px;
    position: absolute;
    left: 30%;
    top: 46px;
}
.image-box .tab>div{
    margin-right: 40px;
    padding:14px 0;
    cursor: pointer;
}
.tab-class{
    margin-top: 24px;
    height: 35px;
    margin-bottom: 20px;
    display: flex;
    overflow: hidden;
}
.tab-class-box{
    flex: 1;
}
.tab-class-box>div{
    float: left;
    font-weight: 400;
    font-size: 14px;
    color: #585E66;
    line-height: 38px;
    padding: 0 20px;
    margin-right: 10px;
    height: 28px;
    display: flex;
    align-items: center;
    cursor: pointer;
    margin-bottom: 10px;
}
.tab-class>div:nth-child(1) {
    width: 50px;
    line-height: 25px;
}
.tab-class>div:nth-child(3) {
    width: 50px;
    color: #007BFF;
    line-height: 30px;
    cursor: pointer;
    height: 30px;
}
.tab-class>div:nth-child(3) img{
    width: 12px;
    height: 12px;
    margin-bottom: 5px;
}
.tab-class .active{
    background: #007BFF;
    border-radius: 14px;
    font-size: 14px;
    color: #FFFFFF;
}
.palletcontent{
    /*min-height: 1240px;*/
    position: relative;
}
.products-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    background-color: #fff;
    border: 5px;
}
.product-card {
    background-color: white;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    font-weight: 400;
    font-size: 16px;
    color: #585E66;
    line-height: 48px;
    width: 210px;
    height: 260px;
    cursor: pointer;
}
.product-image {
    position: relative;
    overflow: hidden;
    width: 210px;
    height: 210px;
}
.product-image img{
    width: 100%;
    height: 100%;
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.product-name{
    text-align: center;
}
.pagination{
    text-align: right;
}
.pagination > .active > span{
    background: #007BFF;
    border-color: #007BFF;
}

.now-month{
    color: #525861 !important;
}
.page-box{
    text-align: right;
    margin-top: 20px;
    /*position: absolute;*/
    /*bottom: 0px;*/
    /*right: 0px;*/
}
.festival-div{
    position: relative;
}
.festival-div:hover > .festival-win {
    display: block;
}
.festival-win{
    width: 300px;
    position: absolute;
    border: 1px solid #D1D2D4;
    background-color: #fff;
    /*background-color: red;*/
    left: 110px;
    top: -10px;
    display: none;
    padding: 10px;
    border-radius: 5px;
    z-index: 999999;
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.2);
}
.festival-win p{
    color: #212121;
}
.festival-win span{
    font-weight: bold;
}
.is_now_day{
    color:#007BFF !important;
    border:1px solid #007BFF !important;
}
.show_all_category{
    height: auto;
}
.ant-select-box{
    position: relative
}
.ant-select-box>div{
    width: 100%;
}
.select-close{
    position: absolute;
    top: 0;
    right: 10px;
    width: 15px !important;
    height: 15px;
    cursor: pointer;
}
.select-close img{
    width: 100%;
    height: 100%;
}