.mgLink:hover { cursor: pointer; }

section.products > div {
    display: inline-block;
    vertical-align: top;
    box-sizing: border-box;
    margin-bottom: 20px;
}

section.products a {
    text-decoration: none;
    color: #000;
}

section.products picture { position: relative; }

section.products picture span {
    position: absolute;
    top: 20px;
    left: 0;
    display: block;
    padding: 10px 20px;
    background-color: red;
    color: white;
}

section.products .price { margin-top: 5px; }

section.products .price strong { font-size: 16px; }

/* IFNO: https://stackoverflow.com/questions/14593415/how-to-strike-through-obliquely-with-css */
section.products .price del {
    position: relative;
    text-decoration: none;
    font-size: 14px;
    margin-right: 10px;
}

section.products .price del::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: red;
    transform: rotate(-7deg);
}
/* <-- */

section.products > h4.group {
    text-align: center;
    font-size: 12px;
}

section.products > h2.title { text-align: center; }

section.products .mgLink h4.group {
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    font-size: 12px;
    color: #999;
    margin: 10px 0 2px 0;
}

section.products .mgLink a {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: #292254;
    text-decoration: none;
}

section.products .mgLink:hover a { color: #000; }

@media (max-width: 900px) {
    section.products > div.double { width: 100%; }

    section.products > div:not(.double) { width: 50%; }
}

/* tablet & desktop */
@media (min-width: 901px) {
    section.products > div { width: 25%; }
}

section.products picture {
    display: block;
    aspect-ratio: 1 / 1;
}

section.products picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* ((())) ITEM */

 h4.group {
    color: #999;
    font-size: 12px;
    font-family: sans-serif;
    font-family: 'Montserrat', sans-serif;
    margin: 0 10px -12px 10px;
    text-transform: uppercase;
}

.product h4.group {  margin: 10px 0 2px 0; }

/* Sizes */
section.item .product .sizes label input[type='radio'] { display: none; }

section.item .product .sizes label div {
    display: inline-block;
    border: 1px solid #CCC;
    margin: 2px;
    padding:5px;
    border-radius: 3px;

    min-width: 30px;
    line-height: 25px;
    text-align: center;
    cursor: pointer;
    text-transform: uppercase;
}

section.item .product .sizes label input[type='radio']:checked + div { border-color: #292254; }
/* <<< */

section.item .product .discount {
    display: inline-block;
    padding: 10px 20px;
    background-color: red;
    color: white;
}

section.item .product picture {
    aspect-ratio: 1 / 1;
    vertical-align: top;
    box-sizing: border-box;
}

section.item .product picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

section.item .product .price strong {
    font-family: 'Oswald', sans-serif;
    color: #292254;
    font-weight: normal;
    font-size: 24px;
}

/* IFNO: https://stackoverflow.com/questions/14593415/how-to-strike-through-obliquely-with-css */
.price del {
    position: relative;
    text-decoration: none;
}

.price del::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: red;
    transform: rotate(-7deg);
}
/* <-- */

section.item .colors .label,
section.item .sizes .label { padding: 0 0 5px 0; }

section.item .colors { padding: 10px; }

section.item .colors a {
    display: inline-block;
    border: 1px solid #CCC;
    border-radius: 2px;
    padding: 2px;
}

section.item .colors a:hover,
section.item .colors a:not([href]) {
    border-color: #292254;
}

section.item .colors a img {
    width: 60px;
    height: 60px;
    object-fit: cover;
}

section.item button.addtobasket {
    padding: 17px 50px;
    background-color: #292254;
    text-transform: uppercase;

    border: none;
    font-family: inherit;
    display: inline-block;
    margin: 5px;
    text-align: center;
    text-decoration: none;
    width: calc(100% - 10px);
    box-sizing: border-box;
    color: #FFF;
    font-weight: bold;
    border-radius: 25px;
    transition: 250ms ease-in-out background-color;
    cursor: pointer;
}

section.item button.addtobasket:hover {
    background-color: #000;
}

/* Tablet & Mobile */
@media (max-width: 900px) {
    section.item.top {
        margin-top: 80px;
    }

    section.item h4.group {
        text-align: center;
        margin: 0 10px -25px 10px;
    }

    section.item h1.title {
        text-align: center;
        margin: 20px;
    }

    section.item .product { position: relative; }

    section.item .product .c3 { padding: 10px; }

    section.item .product .discount {
        position: absolute;
        top: 20px;
        left: -10px;
    }

    section.item .product .prdgallery {
        overflow-x: scroll;
        display: flex;
        box-sizing: border-box;
        scroll-snap-type: x mandatory;
    }

    section.item .product .prdgallery picture {
        flex: 0 0 100vw;
        width: 100vw;
        display: flex;
        align-items: center;
        justify-content: center;
        scroll-snap-align: start;
    }

    section.item .product .price.bottom {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 10px;
        background-color: #FFF;
        border-top: 1px solid #CCC;
    }
}

/* Desktop */
@media (min-width: 901px) {
    section.item.top {
        padding: 10px;
        margin-top: 120px;
    }

    h1 { margin: 10px; }

    section.item .product .discount { margin: 0 10px 10px 10px; }

    section.item .product .prdgallery picture {
        display: inline-block;
        width: 50%;
        padding: 10px;
    }

    section.item .product .prdgallery picture:nth-child(n+5) { width: 100px; }

    section.item .product .c3 { padding: 10px 10px 10px 30px; }

    section.item .product .sticky
    {
        position: sticky;
        top: 120px;
    }
}
