.cea-product-cards {
    display: grid;
    gap: 20px 12px;
    font-family: 'Montserrat' !important;
}

.cea-product-cards .product-card {
    background-color: #E0F0FB;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    padding: .65em;
    box-shadow: 0 1px 10px #00000010;
    transition: box-shadow 250ms ease;
    display: flex;
    flex-direction: column;
}

.cea-product-cards .product-card:hover {
    box-shadow: 0 1px 10px 2px #00000040;
}

.cea-product-cards a,
.cea-product-cards a:hover {
    color: #1F8EBC !important;
    font-weight: 500 !important;
}

.cea-product-cards .product-image {
    border-radius: 20px;
    min-height: 300px;
    object-fit: cover;
    width: 100%;
    aspect-ratio: 1.05/1;
}

.cea-product-cards .product-details {
    text-align: center;
}

.cea-product-cards .woocommerce-loop-product__title {
    color: #555555;
    font-size: 1.1rem;
    font-weight: 700 !important;
    padding: 0 2em;
    font-family: 'Montserrat' !important;
}

.cea-product-cards .product-price {
    font-family: 'Montserrat' !important;
}

.cea-product-cards .price-sale {
    display: block;
}

.cea-product-cards .price-regular {
    display: block;
}

.cea-product-cards .price-sale~.price-regular {
    text-decoration: line-through;
    color: #8b8b8b;
}

.cea-product-cards .woocommerce-Price-amount bdi {
    font-weight: 600;
}

.cea-product-cards .decription {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cea-product-cards .decription .icons-wrapper {
    padding: 2em 1em 0 1em;
}

.cea-product-cards .decription .icons-wrapper .icon-single {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 1em;
    min-height: 70px;
}

.cea-product-cards .decription .icons-wrapper .icon-single img {
    width: 100px;
}

.cea-product-cards .decription .additional-text {
    margin-top: 1.5em;
    text-align: center;
    color: #5a5a5a;
    padding-inline: .75em;
}

@media only screen and (max-width: 1000px) {
    .cea-product-cards {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media only screen and (max-width: 640px) {
    .cea-product-cards {
        grid-template-columns: repeat(1, 1fr) !important;
    }

    .cea-product-cards .decription .icons-wrapper {
        display: flex;
        justify-content: space-between;
        padding-inline: .5em;
        gap: 2px;
    }

    .cea-product-cards .decription .icons-wrapper .icon-single {
        flex-direction: column;
        flex: 1;
        text-align: center;
        justify-content: space-between;
    }

    .cea-product-cards .decription .icons-wrapper .icon-single div {
        font-size: .7rem;
        font-weight: 500;
    }

    .cea-product-cards .decription .icons-wrapper .icon-single img {
        width: 90px;
    }
}

.cea-product-tabs {
    font-family: 'Montserrat';
    padding: .25em 1em;
}

.cea-product-tabs .tabs {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 40px;
    margin-bottom: 3em !important;
    padding-left: 0;
}

.cea-product-tabs .tabs .tab-link {
    font-size: 1.2rem;
    font-weight: 500;
    padding: .8em 1.3em !important;
    border-radius: 10px;
    cursor: pointer;
}

.cea-product-tabs .tabs .tab-link.active {
    background-color: #ACD7F3;
}

.cea-product-tabs .cea-product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    position: relative;
    overflow: hidden;
}

.cea-product-tabs .cea-product-grid.loading::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 100px;
    background-image: url('https://platex.bg/wp-content/uploads/2024/02/loader.png');
    background-size: contain;
    background-color: #00000070;
    box-shadow: 0 0 0 2000000px #00000070;
    background-repeat: no-repeat;
    z-index: 100;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: loading 1.5s infinite linear;
}

@keyframes loading {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.cea-product-tabs .cea-product-grid .product {
    background: #fff;
    border-radius: 8px;
}

.cea-product-tabs .cea-product-grid .product-images {
    position: relative;
    height: 360px;
}

.cea-product-tabs .cea-product-grid .product-images img {
    height: 360px;
    width: 100%;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
}

.cea-product-tabs .cea-product-grid .product-images .primary-image {
    position: relative;
    z-index: 5;
}

.cea-product-tabs .cea-product-grid .product-images .secondary-image {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
    transition: opacity 400ms ease-in-out;
    opacity: 0;
}

.cea-product-tabs .cea-product-grid .product-images:hover .primary-image+.secondary-image {
    opacity: 1;
}

.cea-product-tabs .cea-product-grid .product-details {
    padding: 1em;
    text-align: center;
    display: grid;
    place-content: center;
    min-height: 130px;
}

.cea-product-tabs .cea-product-grid .product-details .product-price {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: .2em;
    display: flex;
    flex-direction: column;
}

.cea-product-tabs .cea-product-grid .product-details .product-price span {
    color: #000;
}

.cea-product-tabs .cea-product-grid .product-details .product-price .regular-price.crossed {
    color: #bbb;
    text-decoration: line-through;
    font-size: 1rem;
}

.cea-product-tabs .cea-product-grid .product-details a {
    color: #000;
    font-weight: 400;
    font-size: 1rem;
}

.cea-product-tabs .cea-product-grid .product-details a:hover {
    font-weight: 400 !important;
}

/* Product tabs ghost loading */

.cea-product-tabs .product.ghost .product-images,
.cea-product-tabs .product.ghost .product-price,
.cea-product-tabs .product.ghost .product-name {
    background: #d1dee3;
    background: linear-gradient(to right, #d1dee3 8%, #bbc7cc 18%, #d1dee3 33%);
    background-size: 800px 104px;
    position: relative;
    overflow: hidden;
    animation: shimmer 2s infinite linear;
}

@keyframes shimmer {
    0% {
        background-position: -468px 0;
    }

    100% {
        background-position: 468px 0;
    }
}

.cea-product-tabs .product.ghost .product-images {
    min-height: 360px;
}

.cea-product-tabs .product.ghost .product-details {
    min-height: 130px;
}

.cea-product-tabs .product.ghost .product-name,
.cea-product-tabs .product.ghost .product-price {
    height: 22px;
    margin: 5px auto;
}

.cea-product-tabs .product.ghost .product-price {
    width: 100px;
}

.cea-product-tabs .product.ghost .product-name {
    width: 300px;
}

@media only screen and (max-width: 1000px) {
    .cea-product-tabs .cea-product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media only screen and (max-width: 640px) {
    .cea-product-tabs {
        font-family: 'Montserrat';
        padding-inline: 0;
    }

    .cea-product-tabs .cea-product-grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .cea-product-tabs .tabs {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
    }

    .cea-product-tabs .tabs .tab-link {
        font-size: 1rem;
        padding: .6em 1.1em;
    }
}