.m-product .m-header {
    font-size: 20px;
    line-height: 26px;
}
.p-items-wrap {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -5px;
    padding: 0;
    justify-content: flex-start;
}
.p-item {
    flex: 0 0 20%;
    max-width: 20%;
    padding: 0 5px 10px;
    margin-bottom: 0;
    display: flex;
    position: relative;
}
.p-item-inner {
    display: flex;
    flex-direction: column;
    position: relative;
    width: 100%;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
}

.p-item-inner:hover {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.marks {
    display: flex;
    position: absolute;
    top: 15px;
    left: 0;
    z-index: 10;
    flex-direction: column;
    align-items: flex-start;
}

.marks .mark {
    background: var(--s-m-bg);
    width: auto;
    color: #fff;
    font-size: 12px;
    padding: 3px 10px;
    line-height: 14px;
    margin-bottom: 2px;
    border-radius: 0 20px 20px 0;
    flex: 0 0 auto;
}

.p-item-details {
    padding: 15px;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}
.p-item-img {
    text-align: center;
    border-bottom: 3px solid rgba(55, 73, 187, 0.03);
    flex: 0 0 220px;
    padding: 20px ;
    margin: 0;
}

.p-item-img > a {
    height: 228px;
}
.p-item-img img {
    max-width: 100%;
}
.p-item-img img:hover {
    opacity: .9;
}
.p-items-wrap.coupon .p-item-img {
    border-bottom: 0;
}
.p-item .deal-code {
    background: #FFF0F0;
    text-align: center;
}
.p-item .deal-code p {
    margin: 0;
    color: var(--s-primary-dark);
    padding: 5px 0;
}
.p-item-name {
    margin: 0 0 15px;
    line-height: 20px;
    overflow: hidden;
    font-weight: 600;
    font-size: 14px;
    position: relative;
    height: auto;
}
.common-home .p-item-name {
    font-weight: 400;
    font-size: 15px;
}
.p-item-name a {
    color: #111;
}
.p-item-name:hover a {
    color: var(--s-primary);
}
.p-item-name:hover {
    cursor: pointer;
    text-decoration: none;
    color: var(--s-primary);
}
.p-item-price {
    line-height: 22px;
    font-size: 17px;
    font-weight: 600;
    color: var(--s-primary-dark);
}
.p-item-price .discount {
    background: var(--s-primary-dark);
    color: #fff;
    border-radius: 20px;
    padding: 4px 10px;
    font-size: 13px;
    margin-left: 5px;
    font-weight: 400;
}

.p-item .actions {
    flex: 0 0 97px;
    display: inline-block;
    width: 100%;
    padding: 15px 0 10px;
}
.p-item .actions .st-btn {
    display: flex;
    flex-wrap: nowrap;
    line-height: 34px;
    background: #fff;
    background: var(--s-s-bg);
    color: var(--s-secondary);
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    padding: 0 14px;
    cursor: pointer;
    justify-content: center;
    align-content: center;
    text-decoration: none;
}
.p-item .actions .st-btn:hover {
    background: var(--s-secondary);
    color: #fff;
}
.p-item .actions .st-btn .material-icons {
    line-height: 34px;
    font-size: 20px;
    margin-right: 5px;
}
.p-item .actions .btn-compare {
    background: none;
    margin-top: 7px;
    border: none;
    color: #666666;
    font-weight: 400;
    font-size: 13px;
    text-decoration: none;
}
.p-item .actions .btn-compare:hover {
    background: #f1f3f5;
    color: #111;
}
.p-item .actions span.stock-status {
    cursor: default;
    opacity: .7;
    background: rgba(55, 75, 185, 0.1) !important;
    color: var(--s-secondary) !important;
}

@media (min-width: 1280px) {
    .common-home .p-item-name {
        height: 60px;
    }
}
@media (max-width: 1279px) {
    .p-item {
        flex: 0 0 25%;
        max-width: 25%;
    }
    .p-item .deal-code p {
        padding: 4px 0;
        font-size: 12px;
    }
    .p-item .deal-code p b {
        font-size: 13px;
    }
    .p-item-name {
        font-size: 14px;
    }
}
@media (max-width: 767px) {
    .m-product .m-header {
        font-size: 18px;
        line-height: 20px;
        margin-bottom: 2px;
    }
    .p-item {
        flex: 0 0 50%;
        max-width: 50%;
    }
    .p-item-img {
        flex: 0 0 auto;
    }
    .p-item-price .coupon-discount {
        margin-left: 0;
        padding: 1px 10px;
        font-size: 10px;
        display: inline-block;
    }
    .pc-list .p-item {
        flex: 0 0 100%;
        max-width: 100%;
    }
}