.relProdOuter {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px;
}

.relProdOuter,
.relProdSwiper {
    width: 100%;
}

.relProdSlide {
    padding: 10px;
    height: unset !important;
    align-self: stretch !important;
}

.relProdSwiper:not(:has(.relProdSlide:nth-child(4))) {
    max-width: 430px;
}

.relProdInner {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 30px;
    border-radius: 20px;
    box-shadow: 0 0 10px 0 #0D101433;
    overflow: hidden;
    text-decoration: none;
    transition: 400ms ease-in-out;
    position: relative;
}

.relProdInner::before,
.relProdInner::after {
    content: '';
    display: block;
    position: absolute;
    width: 0;
    height: 0;
    border-color: var(--wp--preset--color--custom-accent-2);
    border-style: solid;
    pointer-events: none;
    visibility: hidden;
    transition: width 600ms ease-in-out, height 600ms ease-in-out, visibility 600ms ease-in-out, border-radius 300ms ease-in-out 0ms;
    z-index: 1;
    box-sizing: border-box;
}

.relProdInner::before {
    bottom: 0;
    left: 0;
    border-width: 0 0 3px 3px;
}

.relProdInner::after {
    top: 0;
    right: 0;
    border-width: 3px 3px 0 0;
}

.relProdInner:hover::before,
.relProdInner:hover::after {
    visibility: visible;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    transition: width 600ms ease-in-out, height 600ms ease-in-out, visibility 600ms ease-in-out, border-radius 300ms ease-in-out 300ms;
}


.relProdTop {
    position: relative;
    width: 100%;
    height: 256px !important;
}

.relProdTop::after {
    content: '';
    display: block;
    position: absolute;
    bottom: 0;
    right: 0;
    pointer-events: none;
    width: 28px;
    height: 28px;
    background-color: #EBE6D6;
    clip-path: polygon(0% 100%, 100% 0, 100% 100%);
    right: -2px;
}

.relProdTop img {
    object-fit: cover !important;
    width: 100% !important;
    height: 100% !important;
    object-position: center center !important;
}

.relProdTop.relProdPlaceholder {
    padding: 20px;
    background-color: var(--wp--preset--color--custom-accent-3);
}

.relProdTop.relProdPlaceholder img {
    object-fit: contain !important;
}

.relProdMain {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 0 20px 20px 20px;
    flex: 1;
    gap: 4px;
}

.relProdCat {
    font-size: 18px;
    font-weight: 600;
    line-height: 2;
}

.relProdTitle {
    font-size: 24px;
    font-weight: 800;
    line-height: 1.2;
}

.relProdMain p {
    margin: 0;
}

/*BROUGHT OVER FROM PROD-CARD-DATA*/
.prodDataWrap {
    padding: 15px 25px;
    background: var(--wp--preset--color--custom-base-3);
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: start;
    border-radius: 10px;
    max-width: 100%;
    margin-top: auto;
}

.prodDataRow {
    flex-wrap: wrap;
}

.prodDataName {
    font-weight: 400;
    font-size: 18px;
    color: var(--wp--preset--color--custom-contrast);
    line-height: 1.2;
    display: flex;
    flex-direction: row;
    gap: 4px;
    margin: 0;
}

.prodDataName span {
    font-weight: 600;
}

/*PAGIN*/
.relProdPag {
    position: static !important;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.relProdPag .swiper-pagination-bullet {
    position: relative !important;
    margin: 0 !important;
    width: 22px !important;
    height: 22px !important;
    background-color: transparent !important;
    border-radius: 0 !important;
    transition: 400ms ease-in-out;
    opacity: 1 !important;
    outline: none !important;
    border: none !important;
}

.relProdPag .swiper-pagination-bullet::before,
.relProdPag .swiper-pagination-bullet::after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
}

.relProdPag .swiper-pagination-bullet::before {
    background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2220%22%20height%3D%2222%22%20viewBox%3D%220%200%2020%2022%22%20fill%3D%22none%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%3E%3Cpath%20d%3D%22M18.5537%205.78809V16.2109L9.52734%2021.4229L0.500977%2016.2109V5.78809L9.52734%200.576172L18.5537%205.78809Z%22%20fill%3D%22%23EBE6D6%22%20stroke%3D%22%23F6C09C%22/%3E%3C/svg%3E");
}

.relProdPag .swiper-pagination-bullet::after {
    background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2220%22%20height%3D%2222%22%20viewBox%3D%220%200%2020%2022%22%20fill%3D%22none%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%3E%3Cpath%20d%3D%22M9.52734%200L19.0536%205.5V16.5L9.52734%2022L0.0010643%2016.5V5.5L9.52734%200Z%22%20fill%3D%22%23EA8573%22/%3E%3C/svg%3E");
    opacity: 0;
    transition: 400ms ease-in-out;
    filter: drop-shadow(0 0 8px #00000040);
    z-index: 1;
}



.relProdPag .swiper-pagination-bullet.swiper-pagination-bullet-active::after {
    opacity: 1;
}

@media (max-width: 1199.98px) {
    .relProdTop {
        height: 180px !important;
    }
}

@media(min-width: 992px) and (max-width: 1199.98px),
(min-width: 640px) and (max-width: 790px),
(max-width: 449.98px) {
    .prodDataName {
        flex-direction: column;
        align-items: flex-start;
    }
}