:root{
    --border-radius: 6px;
    --card-border-radius: 12px;
    --card-min-height: 360px;
    --card-max-height: 480px;
    --card-shadow: 0px 10px 15px -3px rgba(0,0,0,0.15);
    --ribbon-color-start: #2989D8;
    --ribbon-color-end: #2989D8;
}


.shop-introduction{
    margin: 32px auto 96px;
    width: 90%;
    max-width: 800px;
    text-align: center;
}

.shop-introduction--title {
    text-align: center;
    margin: 0 auto;
    padding-left: 1em;
    padding-right: 1em;
    padding-bottom: 0.5em;
    border-bottom: 1px solid #000;
    display: inline-block;
    position: relative;
    max-width: 800px;
}

.shop-introduction--how-to {
    text-align: center;
    max-width: 800px;
    margin: 16px auto 96px;
    font-weight: 300;
    font-size: 2rem;
}

.shop-categories-wrapper{
    margin-bottom: 32px;
    position: relative;
}

.shop-categories-wrapper .glide__bullets{
    transform: translate(0, 200%);
    bottom: 0;
}

.shop-categories-wrapper .glide__bullet{
    background-color: rgba(200, 200, 200, .5);
}

.shop-categories-wrapper .glide__bullet:hover,
.shop-categories-wrapper .glide__bullet:focus {
    border: 2px solid var(--color-primary);
    background-color: rgba(255, 255, 255, .5);
}

.shop-categories-wrapper .glide__bullet--active{
    background-color: var(--color-primary);
}

.shop-categories-wrapper + .shop-products-wrapper--title,
.shop-categories-wrapper .shop-categories-wrapper--title{
    margin-bottom: 0.5em;
    font-size: 3rem;
}



.shop-categories-wrapper .shop--category{
    display: flex;
    background-color: #fff;
    /*box-shadow: var(--card-shadow);*/
    box-shadow: 0 3px 4px 0 rgba(0, 0, 0, 0.15);
    height: auto;
    min-height: 180px;
    margin: 1em 0;
    border-radius: var(--card-border-radius)
}

.shop--category--content{
    padding: 1em;
    border-radius: 0 var(--card-border-radius) var(--card-border-radius) 0;
}



.shop--category--image{
    flex: 0 0 50%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: var(--card-border-radius) 0 0 var(--card-border-radius);
}

.shop--category--title{
    font-size: 2.4rem;
}

.shop--category--description{
    max-height: 2.2em;
    overflow: hidden;
    font-size: 1em;
    margin-bottom: 1em;
}

.product-list{
    padding-bottom: 96px;
}

.product-list .product.no-products{
    padding-top: 3rem;
}

.product-list .product.no-products .info{
    margin-top: 2rem;
}

.product-list .list{
    display: flex;
    column-gap: 32px;
    row-gap: 32px;
    justify-content: center;
    flex-wrap: wrap;
}

.product-list .list > article {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    width: 33%;
    max-width: 320px;
    padding-bottom: 1rem;
    transition: box-shadow 0.2s ease-in-out, transform 0.2s ease-in-out;
}

.product-list .list > article:hover{
    transform: scale(0.99);
    transform-origin: 50% 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0);
}

article.product.list {
    position: relative;
    display: flex;
    vertical-align: top;
    width: 30%;
    z-index: 1;
    margin-top: 16px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    align-content: stretch;
}



[data-type="add-to-wishlist"]{
    display: none;
}

article.product.list{
    text-align: center;
    background-color: #fff;
    padding-bottom: 2rem;
}

article.product.list .bg {
    position: relative;
    padding: 0;
    outline: 0 solid rgb(240, 240, 240);
    width: 100%;
}

article.product.list .code{
    padding: 1em 1em 0;
    display: inline-block;
    color: var(--title-font-color);
    font-family: var(--title-font-big);
    text-transform: uppercase;
}

article.product.list .preview{
    border-bottom: 1px solid #eceaea;
    margin: 1em 0;
    padding-bottom: 1em;
    display: flex;
    justify-content: center;
    align-items: center;
}

article.product.list .preview img{
    height: 90%;
    max-height: 200px;
    width: auto;
    max-width: 90%;

}

article.product.list:hover .bg,
article.product.list:active .bg{
    position: relative;
}

article.product.list h3{
    font-size: 2rem;
    text-transform: uppercase;
    letter-spacing: -0.05em;
    color: var(--black);
    z-index: 2;
    position: relative;
    line-height: 1em;
    width: 80%;
    margin: 1em auto 0;
}

article.product.list h4.short{
    font-family: "Mulish", sans-serif;
    font-weight: 100;
    color: var(--black);
    line-height: 1;
    width: 80%;
    margin: 0.5em auto 2em;
}

article.product.list .weight,
article.product.list .sizes,
article.product.list .price{
    font-family: "GT Super Display Super";
    color: var(--red);
    font-size: 20px;
}

article.product.list .price{
    background-color: var(--red);
    color: #fff;
    padding: 0.5em 1em;
    border-radius: 6px;
    display: inline-block;
}

article.product.list .price.old{
    display: block;
    background: transparent;
    color: #000
}

article.product.list .weight{
    display: none;
}


article.product.list:hover .bg,
article.product.list:active .bg{
    position: relative;
}

article.product.list:hover,
article.product.list:active{
    outline: 2px solid var(--color-primary)
}

article.product.list:hover .bg,
article.product.list:active .bg{
    /*position: relative;
    background-color: #fff;
    margin-top: -12px;
    z-index: 200;
    padding-top: 12px;
    width: 320px;
    padding-bottom: 20px;
    transition: all 0.2s ease-in-out;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;*/
}

article.product.list .short{
    color: var(--body-font-color);
    font-family: var(--body-font);
    margin: 0.5em auto 1em;
    width: 80%;
}

article.product.list .discount-label{
    margin: 1rem;
    text-transform: uppercase;
    background-color: var(--color-primary);
    display: inline-block;
    padding: 0.25em 0.5em;
    border-radius: 10em;
    color: #fff;
    font-size: 1.4rem;
    letter-spacing: 0;
    margin: 0;
}


/**************
** IMAGES PREVIEW
*******************/

article.product.list .preview-list{
    top: 40px;
    position: absolute;
    display: flex;
    flex-direction: column;
    left: 12px;
    width: 36px;
    z-index: 3;
    opacity: 0;
    height: auto;
    visibility: hidden;
    padding: 0;
    margin: 0;
    will-change: opacity, visibility;
}


article.product.list:hover .preview-list,
article.product.list:active .preview-list{
    opacity: 1;
    visibility: visible;
}

article.product.list .preview-list > li{
    width: 36px;
    height: 36px;
    overflow: hidden;
    outline: 1px solid #f0f0f0;
    cursor: pointer;
    background-color: #fff;
    margin-bottom: 2px;
    background-repeat: no-repeat;
    background-position: 50%;
}

article.product.list .preview-list > li:hover,
article.product.list .preview-list > li:active{
    outline: 1px solid #1196E7;
    transition: all 0.4s ease-in-out 0.6s;
    -webkit-transition: all 0.4s ease-out;
    -moz-transition: all 0.4s ease-out;
}

article.product.list .preview-list > li:only-child{
    display: none;
}

article.product.list .preview-list > li > img{
    display: block;
    margin: 2px auto;
}


/***************
** RIBBON
*****************/


article.product.list:hover .ribbon-box,
article.product.list:active .ribbon-box{
    z-index: 201;
}

.ribbon-box {
    width: 200px;
    position: relative;
    position: absolute;
    right: 0;
}
.ribbon-element {
    position: absolute;
    right: -5px; top: -5px;
    z-index: 1;
    overflow: hidden;
    width: 75px; height: 75px;
    text-align: right;
}
.ribbon-element span {
    font-size: 10px;
    font-weight: bold;
    color: #FFF;
    text-transform: uppercase;
    text-align: center;
    line-height: 20px;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    width: 100px;
    display: block;
    background: var(--ribbon-color-start);
    background: linear-gradient( var(--ribbon-color-start) 0%, var(--ribbon-color-end) 100%);
    box-shadow: 0 3px 10px -5px rgba(0, 0, 0, 1);
    position: absolute;
    top: 19px; right: -21px;
}
.ribbon-element span::before {
    content: "";
    position: absolute; left: 0; top: 100%;
    z-index: -1;
    border-left: 3px solid var(--ribbon-color-start);
    border-right: 3px solid transparent;
    border-bottom: 3px solid transparent;
    border-top: 3px solid var(--ribbon-color-start);
}
.ribbon-element span::after {
    content: "";
    position: absolute; right: 0px; top: 100%;
    z-index: -1;
    border-left: 3px solid transparent;
    border-right: 3px solid var(--ribbon-color-start);
    border-bottom: 3px solid transparent;
    border-top: 3px solid var(--ribbon-color-start);
}

main > nav.breadcrumbs{
    display: flex;
    position: relative;
    width: 90%;
    margin: 0 auto;
    color: var(--black);
    max-width: var(--desktop-max-width);
}

main > nav.breadcrumbs > a{
    color: var(--black);
}

main > nav.breadcrumbs > a:hover{
    color: var(--color-primary);
}

main > nav.breadcrumbs > a:last-child{
    pointer-events: none;
    color: var(--color-primary);
}

@media all and (max-width: 900px) {
    article.product.list {
        width: calc(50% - 32px);
    }
}

@media all and (max-width: 600px){
    .product-list .list{
        display: flex;
    }

    article.product.list {
        width: 100%;
        max-width: 460px;
    }

    main > .breadcrumbs{
        text-align: center;
        justify-content: center;
    }

    .shop-categories-wrapper .glide__bullets{
        transform: translate(-50%, 200%);
    }
}