.wcepl-grid {
    display: grid;
    grid-template-columns: repeat(var(--wcepl-desktop-columns, 4), minmax(0, 1fr));
    gap: 24px;
}

.wcepl-item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: rgba(17, 24, 39, 0.06) 0px 1px 2px, rgba(17, 24, 39, 0.18) 0px 10px 24px -16px;
    background: rgb(255, 255, 255);
    border-width: 1px;
    border-style: solid;
    border-color: rgba(17, 24, 39, 0.06);
    border-image: initial;
    border-radius: 6px;
    transition: transform .4s ease;
}

.wcepl-item:hover{
    opacity: 0.84;
    /*transform: scale(.9);*/
    transform: translateY(-4px);
}

.wcepl-image {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 21;
    overflow: hidden;
}

.wcepl-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    display: block;
}

.wcepl-title {
    font-size: 16px;
    line-height: 1.4;
    margin: 10px 10px 8px;
}

.wcepl-title a {
    color: inherit;
    text-decoration: none;
}

.wcepl-labels {
    margin: 10px 10px 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.wcepl-label {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
    line-height: 1.4;
    color: #fff;
    font-weight: 500;
}

.wcepl-desc {
    margin: 10px 10px 8px;
    display: flex;
    flex-wrap: wrap;
    color: #757575;
    font-size: 14px;
}


.wcepl-infos {
    margin: 10px 10px 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.wcepl-info {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    border-radius: 98px;
    font-size: 12px;
    line-height: 1.4;
    font-weight: 500;
    background-color: #E0E0E0;
    color: #757575;
}


.wcepl-empty {
    padding: 16px;
    background: #f7f7f7;
    border-radius: 8px;
    color: #666;
}

.wcepl-product-card{
    height: 100px;
}

.wcepl-info-widget {
  padding: 22px 20px 20px;
  background-image: linear-gradient(to bottom right, rgb(255 245 245 / .8), rgb(255 255 255 / .9));
  border: 1px solid #ffe4e4;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(180, 40, 40, 0.08);
  box-sizing: border-box;
  font-family: Arial, "Microsoft YaHei", sans-serif;
}

.wcepl-info-title {
  position: relative;
  padding-left: 12px;
  margin-bottom: 20px;
  font-size: 18px;
  font-weight: 700;
  color: #8b0000;
  line-height: 1;
}

.wcepl-info-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 3px;
  height: 18px;
  background: #d60000;
  border-radius: 2px;
}

.wcepl-info-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.wcepl-info-item {
  height: 58px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.wcepl-info-value {
  font-size: 15px;
  font-weight: 700;
  color: #a00000;
  line-height: 1.2;
}

.wcepl-info-label {
  margin-top: 6px;
  font-size: 12px;
  color: #c84a4a;
  line-height: 1;
}

@media (max-width: 767px) {
    .wcepl-info-widget {
       margin: 10px;
    }

    .wcepl-info-list {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .wcepl-grid {
        grid-template-columns: repeat(var(--wcepl-mobile-columns, 2), minmax(0, 1fr));
        gap: 14px;
    }

    .wcepl-title {
        font-size: 14px;
    }
}

