
.node.node--type-product.node--view-mode-full.clearfix::after { display: none; }

.view.view-products.view-id-products .view-content.row { margin: 0 -15px; row-gap: 30px; }
.view.view-products.view-id-products .views-row { padding: 0 15px; }

@media screen and (max-width: 992px) {
    .view.view-products.view-id-products .view-content.row { margin: 0 -8px; row-gap: 16px; }
    .view.view-products.view-id-products .view-content.row .views-row { padding: 0 8px; }
}
/*=======================TEASER=======================*/
.node.node--type-product.node--view-mode-teaser { 
    position: relative;
    display: flex;
    flex-direction: row;
    gap: 22px;
    padding: 24px 10px 24px 26px;
    border-radius: 10px;
}

.node.node--type-product.node--view-mode-teaser::before {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--product-bg-color);
    border-radius: 10px;
    z-index: 0;
}
.node.node--type-product.node--view-mode-teaser::after {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    background-image: url(/sites/all/themes/vesta_theme/image/material-product-bg.png);
    background-repeat: no-repeat;
    background-position: top center;
    background-size: cover;
    opacity: 0.17;
    border-radius: 10px;
    z-index: 1;
}

.node.node--type-product.node--view-mode-teaser .group-left { flex: 0 0 auto; z-index: 2; }
.node.node--type-product.node--view-mode-teaser .group-left .field.field--name-field-image a { display: block; border-radius: 10px; overflow: hidden; }
.node.node--type-product.node--view-mode-teaser .group-left .field.field--name-field-image a img { width: 240px; height: 220px; object-fit: cover; transition: all ease 0.4s; }
.node.node--type-product.node--view-mode-teaser .group-left .field.field--name-field-image a:hover img { scale: 1.1; }

.node.node--type-product.node--view-mode-teaser .group-right { display: flex; flex-direction: column; justify-content: space-between; padding: 10px 0; gap: 10px; z-index: 2; }
.node.node--type-product.node--view-mode-teaser .group-right .group-up { display: flex; flex-direction: column; gap: 15px; }
.node.node--type-product.node--view-mode-teaser .group-right .group-up .field.field--name-node-title { font: 600 22px / 1 var(--second-family); }
.node.node--type-product.node--view-mode-teaser .group-right .group-up .field.field--name-body { font: 400 18px / 1.22222 var(--font-family); }

.node.node--type-product.node--view-mode-teaser .group-right .group-down .field.field--name-node-link a.btn { font: 500 16px var(--font-family); padding: 8px 35px; }

.node.node--type-product.node--view-mode-teaser.more { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; font: 600 22px / 1.63636 var(--second-family); z-index: 2; }
.node.node--type-product.node--view-mode-teaser.more > div { z-index: 2; display: flex; gap: 26px; align-items: center; }
.node.node--type-product.node--view-mode-teaser.more > div img { width: 15px; height: 26px; }

@media screen and (max-width: 1200px) {
    .node.node--type-product.node--view-mode-teaser .group-left .field.field--name-field-image a img { width: 180px; height: 160px; }
} 
@media screen and (max-width: 992px) {
    .node.node--type-product.node--view-mode-teaser { flex-direction: column; gap: 12px; }
    .node.node--type-product.node--view-mode-teaser .group-left .field.field--name-field-image a img { width: 140px; height: 120px; }
    .node.node--type-product.node--view-mode-teaser .group-right .group-up .field.field--name-body { font-size: 16px; }
}
@media screen and (max-width: 767px) {
}
@media screen and (max-width: 576px) {
}
/*====================================================*/

/*=======================FULL=======================*/
.node.node--type-product.node--view-mode-full { display: flex; flex-direction: row; gap: 40px; margin-top: 30px; }
.node.node--type-product.node--view-mode-full .group-left { width: 20%; }
.node.node--type-product.node--view-mode-full .group-left .field.field--name-field-image { border-radius: 20px; overflow: hidden; }
.node.node--type-product.node--view-mode-full .group-left .field.field--name-field-image img { width: 100%; height: auto; object-fit: cover; }
.node.node--type-product.node--view-mode-full .group-right { width: 80%; }
@media screen and (max-width: 576px) {
    .node.node--type-product.node--view-mode-full { flex-direction: column; }
    .node.node--type-product.node--view-mode-full .group-left, 
    .node.node--type-product.node--view-mode-full .group-right { width: 100%; }
}
/*==================================================*/
