
/* list */
.tal-tgrid .p-thumbs {
    display: flex;
    flex-flow: row wrap;
    justify-content: flex-start;
    margin-left: calc(0.5rem / -2);
    margin-right: calc(1.5rem / -2);
}
.tal-tgrid .p-thumbs__col-5 {
    flex: 0 0 25%;
    max-width: 25%;
    margin-bottom: 0.5rem;
}
.tal-tgrid .p-thumbs__more:hover {
    box-shadow: 0 4px 20px 0 rgba(0,0,0,.08);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom: 1px solid transparent;
}
.tal-tgrid .p-thumbs__inner {
    background: #fff;
    margin: 0 calc(0.5rem / 2);
    padding: calc(1.5rem * 1);
    border-radius: 12px;
    transition: box-shadow .24s cubic-bezier(.22,0,.08,1),transform .24s cubic-bezier(.22,0,.08,1);
    flex-direction: column;
    border: 1px solid #e8e8e8;
}
.tal-tgrid .p-thumbs__container, .p-thumbs__inner {
    display: flex;
    height: 100%;
    position: relative;
}
.tal-tgrid .p-thumbs__img._fit {
    aspect-ratio: 1;
}
.tal-tgrid .p-thumbs__img {
    position: relative;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.tal-tgrid .p-thumbs__text {
    margin-top: calc(1.5rem) / 2);
}
.tal-tgrid .p-thumbs__text {
    display: flex;
    flex-direction: column;
}
.tal-tgrid .p-thumbs__text-icons {
    display: inline-flex;
    transition: all .3s ease;
}
.tal-tgrid .p-thumbs__text-icons-item {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 1.5rem;
    color: #8d8d8d;
    font-size: 12px;
    position: relative;
}
.tal-tgrid .p-thumbs__text-status.in-stock {
    color: #00c936;
}
.tal-tgrid .p-thumbs__text-status.in-stock .p-thumbs__circle {
    background: #00c936;
}
.tal-tgrid .p-thumbs__text-status {
    font-size: 10px;
    display: flex;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    position: relative;
    margin-bottom: calc(1.5rem / 2);
    flex-wrap: wrap;
    align-items: center;
}
.tal-tgrid .p-thumbs__code {
    color: #8d8d8d;
    font-size: 10px;
    text-align: right;
    display: inline-block;
    margin-left: 5px;
}

.tal-tgrid .p-thumbs__circle {
    width: 6px;
    height: 6px;
    min-width: 6px;
    min-height: 6px;
    border-radius: 50%;
    margin-right: calc(1.5rem / 4);
    display: inline-flex;
    background: #00c936;
    vertical-align: middle;
    position: relative;
    top: -3px;
}
.tal-tgrid .p-thumbs__text-name {
    font-size: 15px;
    line-height: calc(15px + 4px);
    font-weight: 500;
    height: 60px;
    overflow: hidden;
}
.tal-tgrid .p-thumbs__text-name:hover {
    height: 80px;
    position: unset;
}

.tal-tgrid .p-thumbs__text-bottom {
    display: flex;
    margin-top: auto;
}
.tal-tgrid .is-vertical-align {
    display: flex;
    align-items: center;
}
.tal-tgrid .p-thumbs__price-col {
    display: flex;
    flex-direction: column;
    width: 100%;
    font-size: calc(15px + 2px);
    font-weight: 700;
    line-height: calc(15px + 6px);
}

.tal-tgrid .p-thumbs__button-col {
    justify-content: flex-end;
    display: flex;
    padding-top: 5px;
}
.tal-tgrid .p-thumbs__add {
    opacity: 0;
    visibility: hidden;
    background: #fff;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    bottom: 0;
    box-shadow: 0 4px 20px 0 rgba(0,0,0,.08);
    clip-path: inset(0 -20px -28px -20px);
    display: flex;
    flex-direction: column;
    left: 0;
    width: 100%;
    position: absolute;
    transform: translateY(100%);
    z-index: 3;
}
.tal-tgrid .p-thumbs__features {
    display: flex;
    flex-direction: column;
    margin: calc(1.5rem / 2) 0 calc(1.5rem);
    font-size: 12px;
    padding: 0 1.5rem;
}
.tal-tgrid .p-thumbs__features-inner {
    display: flex;
    margin-bottom: calc(1.5rem / 4);
}
.tal-tgrid .p-thumbs__features-name {
    color: #8d8d8d;
    margin-right: calc(1.5rem / 2);
}
.tal-tgrid .p-thumbs__label {
    position: absolute;
    z-index: 10;
    bottom: calc(1.5rem * 1);
    left: 0;
    font-size: 10px;
    display: flex;
    gap: calc(1.5rem / 4);
    color: #fff;
    padding: 2px 8px;
    border-radius: 12px;
}
@media screen and (max-width:1200px) {
    .tal-tgrid .p-thumbs__col-5 {
        flex: 0 0 55%;
        max-width: 25%
    }
}
@media screen and (max-width:1000px) {
    .tal-tgrid .p-thumbs__col-5 {
        flex: 0 0 33.33333%;
        max-width: 33.33333%
    }
}

@media screen and (max-width:900px) {
    .tal-tgrid .p-thumbs__col-5 {
        flex: 0 0 50%;
        max-width: 50%
    }
}
@media screen and (max-width:900px) {
    .tal-tgrid .p-thumbs__img {
        min-height: 170px
    }
}
@media screen and (max-width:900px) {
    .tal-tgrid .p-thumbs__img._fit {
        aspect-ratio: unset
    }
}

@media screen and (max-width:900px) {
    .tal-tgrid .p-thumbs__img {
        max-height: 170px
    }

    .tal-tgrid .p-thumbs__img {
        border-radius: 12px;
    }
}
@media screen and (max-width:900px) {
    .tal-tgrid .p-thumbs__text-name {
        min-height: unset;
        max-height: 80px;
        margin-bottom: calc(1.5rem * 1.5);
		overflow: hidden;
        position: relative;
    }
	.tal-tgrid .p-thumbs__text-name:hover {
        max-height: 80px;
        position: unset;
    }
	.tal-tgrid .p-thumbs__text-name:hover::after {
		background: rgba(0, 0, 0, .0);
    }
	.tal-tgrid .p-thumbs__text-name:after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        width: 100%;
        height: 40px;
        background: linear-gradient(180deg, transparent, #fff 50%);
    }
}
@media screen and (max-width:900px) {
   /* .tal-tgrid .p-thumbs__code {
        display: none
    } */
}
@media screen and (max-width:900px) {
    .tal-tgrid .p-thumbs__circle {
        top: -2px
    }
}
@media screen and (max-width:900px) {
    .tal-tgrid .p-thumbs__price-col {
        font-size: calc(15px + 2px)
    }
}
@media screen and (max-width:900px) {
    .tal-tgrid .p-thumbs__button-col {
        width: auto
    }
}
.p-thumbs__text-status.out-stock {
    color: #e64646;
}
.p-thumbs__text-status.out-stock .p-thumbs__circle {
    background: #e64646;
}