.categories {
    margin-top: 50px;
    &-btns {
        display: flex;
        flex-wrap: wrap;
        margin: 0 -16px;
    }
    &-item {
        text-align: center;
        display: block;
        width: calc(16.66% - 32px);
        border: 1px solid get('colors.black.100');
        padding: 22px 10px;
        margin: 0 16px 32px;
        transition: get('transition');
        box-shadow: 0px 4px 13px rgba(0, 0, 0, 0.0);
        &:hover {
            cursor: pointer;
            box-shadow: 0px 4px 13px rgba(0, 0, 0, 0.05);
            border-color: transparent;
            color: get('colors.primary.400');
        }
        @media all and (max-width: get('layout.responsive.desktop')) {
            width: calc(33.3% - 32px);
        }
        @media all and (max-width: get('layout.responsive.smallscreen')) {
            width: calc(50% - 32px);
        }
    }
}

.single-related {
    margin: 50px 0 100px;
    &-wrapper {
        display: flex;
        flex-wrap: wrap;
        margin: 0 -16px;
        padding: 0;
        .product-card {
            width: calc(16.66% - 32px);
            margin: 0 16px 32px;
            @media all and (max-width: get('layout.responsive.desktop')) {
                width: calc(25% - 32px);
            }
            @media all and (max-width: get('layout.responsive.laptop')) {
                width: calc(33.3% - 32px);
            }
            @media all and (max-width: get('layout.responsive.smallscreen')) {
                width: calc(50% - 32px);
            }
        }
    }
}

.product-top {
    margin-top: 30px;
    display: flex;
    justify-content: space-between;
    // @media all and (max-width: get('layout.responsive.laptop')) {
    //     margin-top: 60px;
    // }
    >.store-title {
        display: none;
    }
    .product_meta {
        margin-bottom: 0;
        >* {
            font: 400 normal rem(14px) / rem(24px) get('font.family');
            display: block;
            color: get('colors.black.200');
        }
    }
    &-slider {
        margin-top: 20px;
        width: 48%;
        @media all and (max-width: get('layout.responsive.tablet')) {
            margin-top: 0;
        }
        @media all and (max-width: get('layout.responsive.smallscreen')) {
            width: 100%;
            margin-bottom: 32px;
        }
    }
    &-info {
        width: calc(100% - 152px - 48%);
        @media all and (max-width: get('layout.responsive.laptop')) {
            width: calc(100% - 32px - 48%);
            .btn {
                min-width: unset;
                width: 100%;
            }
        }
        @media all and (max-width: get('layout.responsive.smallscreen')) {
            width: 100%;
            .store-title {
                display: none;
            }
        }
    }
    &-meta {
        padding-bottom: 17px;
        margin-bottom: 20px;
        border-bottom: 1px solid get('colors.black.100');
    }
    &-price {
        font: 500 normal rem(14px) / rem(21px) get('font.family');
        color: get('colors.black.400');
        margin-top: 10px;
    }
    &-color {
        font: 500 normal rem(14px) / rem(21px) get('font.family');
        color: get('colors.black.400');
        display: block;
        margin-bottom: 10px;
        span {
            color: get('colors.black.200');
            &.selected {
                color: get('colors.black.400');
            }
        }
    }
    &-table {
        position: relative;
        margin-bottom: 40px;
        width: calc(100% - 200px);
        @media all and (max-width: 1430px) {
            width: 100%;
        }
        @media all and (max-width: get('layout.responsive.smallscreen')) {
            width: 100%;
        }
        table {
            width: 100%;
            border-collapse: collapse;
            p {
                margin: 0;
            }
        }
        th,
        td {
            &:first-child {
                width: 26%;
                text-align: left;
                @media all and (max-width: get('layout.responsive.tablet')) {
                    width: 46%;
                }
            }
            &:nth-child(2) {
                width: 41%;
                text-align: center;
            }
            &:last-child {
                width: calc(100% - 41% - 26%);
                text-align: right;
                @media all and (max-width: get('layout.responsive.tablet')) {
                    width: calc(100% - 41% - 46%);
                }
            }
        }
        td {
            padding: 8px 10px;
            border: none;
        }
        tbody {
            tr:nth-child(2n) {
                td {
                    background-color: #F5F5F5;
                    border: none;
                }
            }
        }
        .col {
            &-size {
                font: 500 normal rem(12px) / rem(24px) get('font.family');
                color: get('colors.black.300');
                span {
                    float: right;
                }
            }
            &-stock {
                font: normal normal rem(12px) / rem(24px) get('font.family');
                color: get('colors.black.200');
            }
        }
    }
    &-specification,
    &-description {
        margin-top: 50px;
        @media all and (max-width: get('layout.responsive.smallscreen')) {
            margin-top: 30px;
        }
    }
    @media all and (max-width: get('layout.responsive.smallscreen')) {
        flex-direction: column;
        >.store-title {
            display: block;
        }
    }
}

.woocommerce-product-gallery__trigger {
    display: none;
}

.product-top-gallery {
    position: relative;
    .woocommerce-breadcrumb {
        @media all and (max-width: get('layout.responsive.smallscreen')) {
            display: none;
        }
    }
    &-nav,
    &-main {
        display: none;
        padding: 0;
        margin: 0;
        li {
            list-style: none;
        }
    }
    &-main {
        width: 100%;
        max-width: calc(100% - 120px - 17%);
        // max-width: 240px;
        float: right;
        margin-bottom: 10px;
        &-item {
            width: 100%;
            height: 0;
            padding-bottom: 125%;
            img {
                width: 100%;
            }
        }
        .slick-arrow {
            width: 40px;
            height: 40px;
        }
        @media all and (max-width: get('layout.responsive.desktop')) {
            float: unset;
            max-width: 70%;
            margin: 0 auto 10px;
        }
        @media all and (max-width: get('layout.responsive.tablet')) {
            max-width: 100%;
        }
        @media all and (max-width: get('layout.responsive.smallscreen')) {
            max-width: 50%;
            // .slick-prev {
            //     left: -100px;
            // }
            // .slick-next {
            //     right: -100px;
            // }
        }
        @media all and (max-width: get('layout.responsive.xxscreen')) {
            max-width: 100%;
            // .slick-prev {
            //     left: 0;
            // }
            // .slick-next {
            //     right: 0;
            // }
        }
    }
    &-nav {
        width: 120px;
        max-width: calc(100% - 60px);
        margin: 0;
        &-item {
            width: 100%;
            height: 0;
            padding-bottom: 125%;
            position: relative;
        }
        .slick-slide {
            margin-bottom: 20px;
            border: 1px solid #ccc;
            &:hover {
                cursor: pointer;
                border: 1px solid #333;
            }
            &.slick-current {
                border: 1px solid #8fc05b;
            }
        }
        .slick-arrow {
            position: absolute;
            bottom: -60px;
            top: unset;
            transform: none;
            width: 60px;
            height: 60px;
            @media all and (max-width: get('layout.responsive.desktop')) {
                left: unset;
                right: -60px;
                top: 50%;
                bottom: unset;
                &.slick-prev {
                    top: 0;
                }
                &.slick-next {
                    bottom: 0;
                }
            }
            svg {
                transform: none !important;
                @media all and (max-width: get('layout.responsive.desktop')) {
                    transform: rotate(-90deg) !important;
                }
            }
            &.slick-prev {
                svg {
                    transform: rotate(180deg) !important;
                    @media all and (max-width: get('layout.responsive.desktop')) {
                        transform: rotate(90deg) !important;
                    }
                }
            }
            &.slick-disabled {
                opacity: 1 !important;
                svg {
                    stroke: #ccc;
                }
            }
        }
        @media all and (max-width: get('layout.responsive.desktop')) {
            max-width: calc(100% - 100px);
            width: 100%;
            margin-left: 0;
            .slick-track {
                margin: 0 -5px;
            }
            .slick-slide {
                margin: 0 5px;
            }
        }
        @media all and (max-width: get('layout.responsive.smallscreen')) {
            max-width: 100%;
        }
    }
    .slick-arrow {
        background: none;
        svg {
            width: 18px;
            height: 12px;
        }
        &.slick-disabled {
            opacity: 0;
        }
        &.slick-next {
            svg {
                transform: rotate(-90deg);
            }
        }
        &.slick-prev {
            svg {
                transform: rotate(90deg);
            }
        }
        &:hover {
            cursor: pointer;
            background: get('colors.black.400');
            svg {
                stroke: #fff;
            }
        }
    }
}

.quantity {
    display: block !important;
    float: unset !important;
    margin-bottom: 30px !important;
}

.woocommerce div.product form.cart .button {
    height: 40px;
    min-width: 270px;
    padding: 0 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
    color: #fff;
    border: none;
    outline: none;
    transition: .2s;
    background: get('colors.primary.400');
    ;
    border-radius: 0;
    &.disabled {
        opacity: 1;
    }
    &:hover {
        color: #fff;
        background-color: get('colors.primary.300');
        ;
    }
}

.woocommerce-product-attributes {
    tbody {
        th {
            font: 500 normal rem(14px) / rem(24px) get('font.family');
            width: 120px;
            color: get('colors.black.300');
            text-align: left;
            text-transform: capitalize;
            padding: 0;
        }
        td {
            text-align: left;
            padding: 10px 0;
        }
    }
}

.single-product {
    .woocommerce-breadcrumb,
    .breadcrumbs {
        margin-bottom: 24px;
    }
    .update-info {
        position: relative;
        display: block;
        margin: 10px 0 20px;
        font-size: rem(13px);
        max-height: 40px;
        transition: .2s ease-in-out;
        overflow: hidden;
        &.hide {
            max-height: 0;
            margin: 0;
        }
    }
}