.category-items-productlayouts4 {
    border-color: #b8b8b8 !important;
    overflow: hidden;
}

.category-items {
    background: #fff;
    padding: 10px;
    position: relative;
    height: 100%;
}

.category-items .product-labels {
    position: absolute;
    top: 20px;
    left: 10px;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    flex-wrap: nowrap;
    transition: opacity .3s ease;
    z-index: 10;
    width: auto;
    transition: all .3s ease;
    cursor: none;
}

.category-items .product-labels span {
    margin-bottom: 10px;
    color: #fff;
    background: var(--bs-tertiary-bg);
    padding: 3px 5px;
    min-width: 50px;
    text-align: center;
    text-transform: uppercase;
    word-break: break-all;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.2;
}

.category-items .category-item-image {
    margin: 0;
    overflow: hidden;
    position: relative;
}

.category-item-image .primary-image {
    display: block;
    opacity: 1;
    transition: transform 2s cubic-bezier(0, 0, 0.44, 1.18);
}

.category-item-image .secondary-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: transform 2s cubic-bezier(0, 0, 0.44, 1.18);
}

.category-item-image:hover .primary-image {
    transform: scale(1.09);
}

.category-item-image:hover .secondary-image {
    opacity: 1;
    transform: scale(1.09);
}

.category-items .category-item-image img {
    max-width: 100%;
    width: 100%;
    height: auto;
    transition: transform 2s cubic-bezier(0, 0, 0.44, 1.18);
}

.category-items:hover .category-item-image img {
    opacity: 1;
    transform: scale(1.09);
}

.category-items .category-items-info {
    position: relative;
    max-height: 100%;
    flex: 1 1 0;
    justify-content: space-around;
}
.category-items .category-items-info .item-title {
    margin: 10px 0;
    line-height: 1.4;
    overflow: hidden;
    font-weight: 600;
    font-size: 15px;
    position: relative;
    height: auto;
    text-align: left;
}

.category-items .category-items-info .item-title a {
    color: var(--bs-link-color);
}

.category-items .category-items-info .item-title a:hover {
    color: var(--bs-link-hover-color);
}

.category-items .category-items-info .short-description {
    margin: 0;
    font-weight: normal;
    padding-bottom: 10px;
    text-align: left;
    font-size: 12px;
}

.category-items .category-price-section .product-price {
    line-height: 22px;
    font-size: 17px;
    font-weight: 600;
    color: var(--bs-primary);
    margin-bottom: 10px;
}

.category-items .category-price-section .product-price {
    line-height: 22px;
    font-size: 15px;
    font-weight: 600;
    color: var(--bs-primary);
}

.category-items .category-price-section .product-price .price-old {
    font-weight: 500;
    text-decoration: line-through;
    color: #666;
    line-height: 1;
    padding-right: 5px;
}

.category-items .item-checkout {
    display: inline-flex;
    align-items: center;
    width: 100%;
}

.category-items .item-checkout .btn-add-shopping-cart {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    background-color: var(--bs-btn-bg);
    border: none;
    font-size: 14px;
    color: #FFF;
    font-weight: normal;
    cursor: pointer;
    width: 100%;
    text-align: center;
    justify-content: center;
}

.category-items .item-checkout .btn-add-shopping-cart svg {
    fill: #FFF;
    width: 18px;
    height: 18px;
}

.category-items .item-checkout .btn-add-shopping-cart.active svg,
.category-items .item-checkout .btn-add-shopping-cart:hover svg {
    fill: #fff;
}

.category-items .item-checkout .btn-add-shopping-cart:hover,
.category-items .item-checkout .btn-add-shopping-cart.active {
    color: #fff;
    transform: translateY(-2px);
}
