#product-labels {
    margin-bottom: 25px;
    padding: 0 15px;
}

    #product-labels a {
        padding: 0 10px;
        box-sizing: border-box;

        border-right: 1px solid var(--color-link);

        font-family: var(--alt-font);
        font-size: 24px;
        text-transform: uppercase;
    }

    #product-labels a.active {
        color: var(--color-base);
    }

        #product-labels a:last-child {
            border-right: none;
        }


#product {

}

    #product .details {
        display: grid;

        grid-template-columns: 1fr 1fr;
        grid-gap: 25px;
    }
    
    #product .details.no-picture {
        display: block;
    }

    #product .tabs {
        margin-top: 25px;
    }

        #product .tabs .nav {
            display: flex;

            flex-direction: row;
            flex-wrap: wrap;
            justify-content: flex-start;

            border-bottom: 1px solid var(--color-link);

        }

            #product .tabs .nav button {
                position: relative;
                margin: 0 0 -1px 0;
                padding: 6px 15px;

                background: none;
                border: 1px solid var(--color-link);
                border-left-color: transparent;
                border-bottom-color: transparent;

                font-family: var(--alt-font);
                font-size: 24px;
                letter-spacing: 1px;
                text-transform: uppercase;

                color: var(--color-link);
                cursor: pointer;

                outline: none;

                transition: all 0.3s ease-out;
            }
                #product .tabs .nav button:first-child {
                    margin-left: 15px;
                    border-left-color: var(--color-link);
                }

                #product .tabs .nav button:hover {
                    color: var(--color-link-hover);
                }

                #product .tabs .nav button.active {
                    border-bottom-color: var(--bg-color-base);
                }

        #product .tabs .tab {
            display: none;
            padding: 15px 0;
        }
            #product .tabs .tab.active {
                display: block;

                animation: fade-in 0.3s ease-out;
            }


        #product .tabs .reviews {
            padding: 0;
            margin: 15px 0 0 0;

            list-style: none;
        }

            #product .tabs .reviews:first-child {
                margin-top: 0;
            }

            #product .tabs .reviews:first-child > li:first-child {
                border-top: none;
                padding-top: 0;
            }

            #product .tabs .reviews > li {
                overflow: hidden;
                padding: 10px 0;

                border-top: 1px solid var(--color-link);
            }


                #product .tabs .reviews > li > strong {
                    display: block;

                    font-family: var(--alt-font);
                    font-size: 22px;
                    font-weight: normal;
                    color: var(--color-link);
                }

                #product .tabs .reviews > li .rating {
                    font-size: 10px;
                    color: #cfcfcf;
                }

                    #product .tabs .reviews > li .rating i.active {
                        color: #ffc200;
                    }

                #product .tabs .reviews > li time {
                    display: block;

                    font-size: 12px;
                    color: #777;
                }

                #product .tabs .reviews > li .text {
                    margin-top: 5px;
                    font-size: 16px;
                }

                #product .tabs .reviews > li .replies {
                    margin: 10px 0 0 10px;
                    padding: 0 0 0 15px;

                    border-left: 5px solid rgba(var(--color-base-rgb), 0.1);
                }

                    #product .tabs .reviews > li .replies > div {
                        margin-bottom: 15px;
                    }

                    #product .tabs .reviews > li .replies > div:last-child {
                        margin-bottom: 0;
                    }

                #product .tabs .reviews > li .form[name=reply] {
                    display: none;
                    margin-top: 10px;
                }

                    #product .tabs .reviews > li .form[name=reply] li {
                        padding: 0;
                    }

                    #product .tabs .reviews > li .form[name=reply] nav {
                        padding: 5px 0 0 0;
                    }

                #product .tabs .reviews > li > nav {
                    padding-top: 10px;
                    text-align: right;
                }

                    #product .tabs .reviews > li > nav button {
                        background: none;
                        border: none;

                        font-weight: bold;
                        color: var(--color-link);

                        cursor: pointer;
                    }

                        #product .tabs .reviews > li > nav button i {
                            margin-right: 5px;
                        }

                #product .tabs .reviews > li .review-gallery {
                    overflow: hidden;
                    padding: 15px 0 0 0;
                }

                    #product .tabs .reviews > li .review-gallery a {
                        float: left;
                        margin: 0 5px 5px 0;
                    }

                    #product .tabs .reviews > li .review-gallery img {
                        display: block;
                        width: 80px;
                    }

        #product .tabs .rating {
            margin: 5px 0;
            white-space: nowrap;
        }

            #product .tabs .rating em {
                margin-right: 5px;

                font-family: var(--alt-font);
                font-size: 24px;
                font-style: normal;
                color: var(--color-link);
            }

            #product .tabs .rating a {
                font-size: 16px;
                color: #cfcfcf;
            }

                #product .tabs .rating a.current {
                    color: #aaa;
                }

                #product .tabs .rating a.active {
                    color: #ffc200;
                }

    #product .info {

    }

        #product .info .prices {
            padding-top: 20px;
            font-size: 16px;
        }

            #product .info .prices table {
                border-collapse: collapse;
            }

                #product .info .prices table thead th {
                    border-bottom: 1px solid var(--color-link);
                    font-family: var(--alt-font);
                    font-size: 20px;
                    letter-spacing: 1px;

                    color: var(--color-link);
                }

                #product .info .prices table td,
                #product .info .prices table th {
                    white-space: nowrap;
                    padding: 5px 10px;

                    transition: all 0.3s ease-out;
                }

                #product .info .prices table td.percent {
                    font-family: var(--alt-font);
                    font-size: 20px;
                    font-weight: bold;
                    text-transform: uppercase;
                    letter-spacing: 1px;
                    color: var(--color-link);
                    text-align: center;
                }

                #product .info .prices table tbody tr:hover td {
                    background-color: rgba(var(--color-base-rgb), 0.1);
                }

                #product .info .prices table input {
                    width: 45px;
                    padding: 5px;
                }

                #product .info .prices table a,
                #product .info .prices table strong {
                    font-family: var(--alt-font);
                    font-size: 20px;
                    font-weight: bold;
                    text-transform: uppercase;
                    letter-spacing: 1px;
                }
                
                #product .info .prices table a {
                    display: flex;
                    justify-content: center; 
                    align-items: center;
                    padding: 0 7px;
                    
                    background-color: var(--color-link);
                    
                    font-size: 22px;
                    color: var(--color-light);
                }
                    #product .info .prices table a:hover {
                        background-color: var(--color-light);
                        color: var(--color-link);
                    }
                
                    #product .info .prices table a i {
                        margin-right: 5px;
                        font-size: 14px;
                    }

        #product .info .notify-stock {
            padding-top: 20px;
        }

            #product .info .notify-stock .notify-trigger i {
                margin-right: 7px;
                font-size: 16px;
            }

        #product .info .text {
            font-size: 18px;
        }

        #product .info .name {
            display: flex;

            flex-direction: row;
            justify-content: space-around;
            align-items: center;
            flex-wrap: wrap;

            text-align: center;
        }

            #product .info .name > * {
                margin: 0 10px;
            }

            #product .info .name img {
                display: block;
                max-width: 100%;
            }

            #product .info .name h1 {
                font-family: var(--alt-font);
                font-size: 40px;
                letter-spacing: 1px;

                color: var(--color-link);
            }
            
                #product .info .name h1 span {
                    display: none;
                }

            #product .info .name .label {
                display: inline-block;
                margin: 5px 0;
                padding: 5px 20px;

                font-family: var(--alt-font);
                font-size: 26px;
                font-style: normal;
                font-weight: bold;
                letter-spacing: 4px;
                text-transform: uppercase;
            }

            #product .info .name .rating {
                margin: 5px 0;
                white-space: nowrap;
            }

                #product .info .name .rating em {
                    margin-right: 5px;

                    font-family: var(--alt-font);
                    font-size: 24px;
                    font-style: normal;
                    color: var(--color-link);
                }

                #product .info .name .rating i {
                    font-size: 16px;
                    color: #cfcfcf;
                }

                    #product .info .name .rating i.active {
                        color: #ffc200;
                    }

    #product .gallery {
        display: flex;

        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-start;
        align-items: flex-start;
        align-content: flex-start;
    }

        #product .gallery a {
            margin: 0 10px 10px 0;
        }

        #product .gallery a:first-child {
            flex: 1;
            flex-basis: 100%;
        }

        #product .gallery img {
            display: block;
            max-width: 100%;
            margin: 0 auto;
        }

.product-list {
    display: grid;
    margin: 0;
    padding: 0;

    list-style: none;

    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-gap: 15px;
}

    .product-list li {
        position: relative;
        display: flex;
        flex-direction: column;
        padding: 0 0 6px 0;

        background: url('../images/pattern.png') left top repeat;
        border-radius: 5px;
        box-shadow: 0 0 3px rgba(255, 0, 19, 0.6);

        animation: fade-in 0.3s ease-out;
        animation-fill-mode: forwards;

        transition: transform 0.2s ease-out;

        &:hover {
            transform: translateY(-3px);
        }
    }

        .product-list li:nth-child(2) {
            animation-delay: 0.2s;
        }

        .product-list li:nth-child(3) {
            animation-delay: 0.2s;
        }

        .product-list li:nth-child(4) {
            animation-delay: 0.2s;
        }

        .product-list li > a {
            flex: 1;
            display: flex;
            position: relative;
            gap: 10px;
            padding-bottom: 10px;

            flex-direction: column;
            align-items: center;

            transition: all 0.3s ease-out;
        }

        .product-list li figure {
            display: block;
            margin: 0;
            padding: 0;
            width: 100%;
            height: 150px;

            background-color: var(--bg-color-base);
            background-position: center center;
            background-repeat: no-repeat;
            background-size: cover;

            border-radius: 5px;
            box-shadow: 0 3px 7px rgba(0,0,0,0.5);

            img {
                display: none;
            }
        }

        .product-list li .add-to-basket {
            display: inline-flex;
            padding: 10px;
            margin: 0;
            gap: 5px;

            background-color: var(--color-accent);
            border: none;
            border-radius: 4px;

            font-size: 16px;
            color: white;
            cursor: pointer;

            transition: all 0.2s ease-out;

            &:hover {
                background-color: var(--color-link);
            }
        }

        .product-list li .labels {
            position: absolute;
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            gap: 5px;
            top: 10px;
            left: 0;

            opacity: 0;
            animation: show-from-left 0.2s ease-in 0.1s;
            animation-fill-mode: forwards;

            em {
                padding: 2px 15px;
                font-family: var(--alt-font);
                font-size: 17px;
                font-style: normal;
                font-weight: bold;
                letter-spacing: 4px;
                text-transform: uppercase;
            }

            .label {

            }

            .percent {
                background-color: var(--color-accent);
                color: white;
                letter-spacing: 2px;
            }
        }

        .product-list li b {
            flex: 1;
            width: 100%;
            display: flex;
            padding: 0 10px;
            justify-content: flex-start;
            align-items: center;
            font-size: 17px;
            line-height: 20px;
            box-sizing: border-box;

        }

        .product-list li .stamp {
            display: flex;
            width: 100%;
            height: 90px;
            justify-content: center;
            align-items: center;

            img {
                max-width: 96%;
                max-height: 90px;
            }
        }

        .product-list li small {
            font-size: 16px;
            color: #cfcfcf;
        }

            .product-list li small .rate {
                color: #ffc200;
            }

            .product-list li small .rate:first-of-type {
                margin-left: 5px;
            }

    .product-list li .price {
        display: flex;
        align-items: flex-end;
        padding: 3px 10px;

        span {
            flex: 1;
            padding-bottom: 7px;
            display: flex;
            flex-direction: column;
            font-size: 26px;
            font-weight: bolder;
            line-height: 20px;
            color: var( --color-base);

            del {
                font-size: 16px;
                font-weight: normal;
                color: var(--color-accent)
            }
        }
    }

    .product-list li .prices {
        position: absolute;
        padding: 8px;
        left: 0;
        bottom: 0;
        display: none;
        box-sizing: border-box;
        width: 100%;

        background-color: var(--bg-color-base);
        border-radius: 5px;
        z-index: 1;

        &.show {
            display: block;
            animation: show-from-bottom 0.2s ease-out;
        }

        table {
            width: 100%;

            th:nth-child(2), td:nth-child(2) {
                padding: 0 5px;
            }

            thead {
                display: none;
                th {
                    font-size: 12px;
                }
            }

            tbody {
                tr:not(:last-child) td {
                    padding-bottom: 5px;
                }

                td:first-child {
                    font-size: 12px;
                    font-weight: bold;
                }

                td:last-child {
                    text-align: right;
                }

                td:nth-child(2) {
                    font-weight: bold;
                    font-size: 16px;
                    line-height: 16px;
                    white-space: nowrap;

                    del {
                        display: block;
                        font-size: 14px;
                        font-weight: normal;
                        color: var(--color-accent);
                    }
                }
            }
        }
    }