.product-warp

/* 标题 */
.d-title {
    font-size: 2rem;
    text-align: center;
    position: relative;
}

.d-title-desc {
    font-size: 1.25rem;
    font-weight: 300;
    text-align: center;
    margin-top: 1.875rem;
}


/* 产品列表 - 卡片 */

.product-card {
    transition: box-shadow 0.6s ease;
    position: relative;
}

.product-card .img-warp {
    height: 15rem;
    padding: 1.25rem;
    box-sizing: border-box;
}

.product-card .img-warp img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-card .card-body {
    height: 22.5rem;
    overflow: hidden;
    transition: height 0.4s ease;
}

.product-card .card-body .card-title {
    /* 单行文字超出省略号 */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-card:hover {
    box-shadow: 0px 3px 3px 0px #E5E5E5;
}

.product-card:hover .card-float-warp {
    transform: translateY(86%);
    box-shadow: 0px 3px 3px 0px #E5E5E5;
}

.card-float-warp {
    position: absolute;
    width: calc(100% + 2px);
    height: 17.5rem;
    left: -1px;
    bottom: -1px;
    z-index: 2;
    background-color: #fff;
    transform: translateY(0);
    transition: all 0.4s ease;
    border-left: 1px solid rgba(0, 0, 0, .125);
    border-right: 1px solid rgba(0, 0, 0, .125);
    border-bottom: 1px solid rgba(0, 0, 0, .125);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-float-warp .structure-size-warp {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    padding: 1.25rem 1.25rem 0;
    box-sizing: border-box;
    height: 5rem;
}

.card-float-warp .structure-size-warp span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.4rem;
    border: 1px solid #E5E5E5;
    margin-bottom: 0.75rem;
    cursor: pointer;
    font-size: 1rem;
}

/* 产品型号 */
.product-card .card-model-warp {
    /* padding: ; */
}

.product-card .card-model-warp a {
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-card .card-model-warp a span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.8rem;
    height: 2.8rem;
    border-radius: 0.4rem;
    border: 1px solid #E5E5E5;
    margin-bottom: 0.75rem;
    cursor: pointer;
    font-size: 1rem;
}

.product-card .card-model-warp a span:hover {
    color: #ffffff;
    background-color: var(--theme-color);
    box-shadow: 0px 3px 2px 0px #E5E5E5;
}