
.home-suspension {
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    position: absolute;
    z-index: 10;
    width: 0;
    height: 0;
}

.bottom-advertisement {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 130px;
    background: #8a65d9;
}

.advertisement-content {
    width: 1180px;
    height: 130px;
    margin: auto auto;
}

.right-handler {
    position: fixed;
    bottom: 50px;
    right: 50px;
    width: 75px;
    background-color: white;
    display: flex;
    flex-direction: column;
    color: black;
    z-index: 1;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}


.handler-btn .tooltip {
    display: none;
}

.handler-btn .handler-btn:hover .tooltip {
    display: block;
}

.handler-item-top {
    border-radius: 8px 8px 0 0;
}

.handler-item-bottom {
    border-radius: 0 0 8px 8px;
}

.handler-item {
    transition: background-color 0.3s ease-in-out;
}

.item-icon-top {
    padding: 10px 0;
    color: #666666;
    transform: rotateZ(180deg);
    display: flex;
    justify-content: center;
    align-items: center;
}

.item-icon-top div {
    width: 25px;
    height: 25px;
}

.right-handler div:hover {
    background-color: #1475fa;
}

.item-icon-top:hover {

}

.item-icon-top:hover span {
    color: white;
}

.item-icon-top:hover .item-icon {
    color: white;
}

.item-icon-top:hover .item-icon-top {
    color: white;
}

.handler-item-content {
    margin: 0 auto;
    width: 52px;
    height: 74px;
    justify-content: center;
    align-items: center;
    border-bottom: #F1F1F1 1px solid;

    display: flex;
    flex-direction: column;
    font-size: 13px;
}

.item-icon {
    color: #666666;
}


span {
    color: #333333;
}


.handler-item-content:hover {
    cursor: pointer;
    user-select: none;
    color: white;
    background-color: #1475fa;


}

.handler-item-content:hover span {
    color: white;
}

.handler-item-content:hover .item-icon {
    color: white;
}

.handler-item-content:hover .item-icon-top {
    color: white;

}


.tooltip {

    display: block;
    position: absolute;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.1);
    cursor: auto;
    color: #333333;
}

.tooltip-arrow {
    position: absolute;
    right: -9.5px;
    top: calc(50% - 10px);
    width: 10px;
    height: 20px;


    -webkit-clip-path: polygon(100% 50%, 0 0, 0 100%);
    clip-path: polygon(100% 50%, 0 0, 0 100%);
}

.slot-image {
    max-width: 80px;
    max-height: 80px;
}

.handler-to-top {
    cursor: pointer;
}


.gift-pack {
    width: 1170px;
    text-align: left;
    font-size: 12px;
    margin: 60px auto 50px auto;
    line-height: 18px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgb(217, 217, 217);
}

.gift-pack-title {
    font-size: 24px;
    margin-bottom: 15px;
}

.gift-pack-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 20px;
}

.content-item {
    cursor: pointer;
}

.content-item-img {
    max-width: 370px;
    max-height: 165px;
    overflow: hidden;
}

.content-item-img img {
    border-radius: 10px;
    width: 370px;
    height: 165px;
}


.content-item-title {
    font-weight: bold;
    font-size: 14px;
}

.content-item-remark {
    color: #999;
}

.content-item-price {
    display: flex;
    vertical-align: middle;
    margin: 10px 0;
}

.content-item-price div {
    margin-right: 10px;
}

.price-original {
    text-decoration: line-through;
    color: #888888;
}

.price-target {
    vertical-align: middle;
    padding: 0 3px;
    margin: 0 0 0 4px;
    background: rgb(223, 30, 28);
    color: white;
    font-weight: bolder;
}
.price-target span{
    color: white;
}

.price-now {
    font-family: BlinkMacSystemFont;
    font-size: 16px;
}

/*==============首页主题====================*/
.card {
    width: 1180px;
    margin: auto;
    padding: 0;
    /* border: 1px solid #ccc; */
    text-align: left;
}

.card .card-header {
    margin: 20px 0 0 5px;
    display: flex;
    line-height: 32px;
}

.card .card-header .card-title {
    text-align: left;
    display: inline-block;
    padding: 0;
    width: auto;
    margin: 0;
    font-weight: bold;
    font-size: 24px;
}

.card .card-header .cart-other {
    flex: 1;
    margin: 0;
    width: auto;
    text-align: right;
    vertical-align: middle;
    align-items: center;
    font-size: 12px;
}

.card .card-header .cart-other a {
    cursor: pointer;
    padding: 5px 15px;
    color: white;
    background: #1475fa;
}

.card .card-des {
    margin: 8px 0 0 5px;
    color: #666666;
    font-size: 14px;
}

.card .card-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    padding: 5px 0 0 0;
    margin-top: 15px;
    overflow: hidden;
    /* overflow-y: auto; */
}

.card .card-list div {
    margin-right: 30px;
    display: inline-block;
}

.card .card-list div:nth-child(6n) {
    margin-right: 0;
}

.card .card-list div:nth-child(6n+1) {
    margin-left: 5px;
}

.card .card-show {
    text-align: center;
    width: 100%;
    cursor: pointer;
    color: #646cff;
}
/*topic list item*/

.goods-info {
    display: block;
    max-width: 170px;
    margin-bottom: 30px;

}

.goods-info:hover {
    cursor: pointer;
}

.goods-info .goods-img {
    padding: 0;
    margin: 0 0 12px 0;
    overflow: hidden;
    display: flex;
}

.goods-info .goods-img img {
    height: 228px;
    width: 170px;
}

.goods-info .goods-img img:hover {
    z-index: 0;
}

.goods-info .goods-img:hover::after {
    opacity: 1;
    box-shadow: rgba(100, 100, 100, 0.3) 0 0 8px 3px;
}

.goods-info .goods-img::after {
    content: "";
    position: absolute;
    z-index: 9;
    width: 170px;
    height: 228px;
    box-sizing: border-box;
    background: rgba(229, 229, 229, 0.2);
    transform: translateX(-170px);
    animation: 0.2s ease 0s 1 normal none running enlarge;
    opacity: 0;
    transition: all 0.3s ease 0s;
}

.goods-info .goods-name {
    height: 38px;
    font-size: 12px;
    text-overflow: ellipsis;
    overflow: hidden;
    -webkit-line-clamp: 2;
}

.goods-info .goods-price {
    font-size: 16px;
    margin: 5px 0;
    font-weight: bold;
}

.goods-info .goods-price::before {
    content: "￥";
}

.goods-info .goods-original-price {
    display: inline-block;
    text-decoration: line-through;
    font-size: 12px;
    margin: 0;
    padding: 0;

}

.goods-info .goods-discount-percentage {
    display: inline-block;
    font-size: 12px;
    margin: 0 0 0 10px;
    padding: 0 5px;
    color: white;
    background: rgb(223, 30, 28);
}

.goods-info .goods-discount-percentage::before {
    content: "-";
}

.goods-info .goods-discount-percentage::after {
    content: "%";
}

