﻿.product-video i {
    color: #fff;
}

.custom-category-list {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
}

    .custom-category-list .nav-tabs {
        border: 0;
        background-color: color-mix(in srgb, #212529, transparent 96%);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 50px;
        padding: 6px;
        width: auto;
    }

    .custom-category-list .nav-item {
        margin: 0;
        padding: 0 5px 0 0;
    }

    .custom-category-list .nav-link {
        background-color: none;
        color: #2d465e;
        padding: 10px 30px;
        transition: 0.3s;
        border-radius: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        height: 100%;
        border: 0;
        margin: 0;
    }

        .custom-category-list .nav-link.active {
            background-color: #4cc1b9;
            border-color: #4cc1b9;
        }

            .custom-category-list .nav-link.active h4 {
                color: #ffffff;
            }

        .custom-category-list .nav-link h4 {
            font-size: 14px;
            font-weight: 500;
            margin: 0;
        }
/*Custom Gallery*/

.single-gallery {
    border-top: 1px solid #eee;
    padding: 3pc 0;
    margin: 3pc 0 0;
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(4,1fr);
}

.product-gallery {
    display: grid;
    gap: 15px;
    grid-template-columns: repeat(4, 1fr);
}

.main-image,
.product-video {
    position: relative;
}

    .product-video::after {
        content: "";
        width: 100%;
        height: 100%;
        background: #000;
        position: absolute;
        left: 0;
        top: 0;
        opacity: 0.3;
    }

    .main-image span {
        position: absolute;
        top: 10px;
        right: 15px;
        font-size: 18px;
        color: #000;
    }

    .product-video span {
        position: absolute;
        top: 32%;
        left: 37%;
        display: block;
        z-index: 1;
        color: #000;
        font-size: 18px;
        opacity: 1;
    }

    .main-image img {
        border: 1px solid #eee;
    }

.page-area.create-page p.prodsku {
    position: absolute;
    bottom: -5px;
    right: 15px;
    color: #abaaaa;
    font-size: 13px !important;
}

.product-views {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 0 10px;
}

    .product-views img {
        border: 1px solid #eee;
    }

    .product-views div {
        max-width: 60px;
        margin-bottom: 10px;
    }

.product-block.single-view .main-image {
    padding-bottom: 20px;
}

.cta {
    margin-bottom: 4pc;
}

.gpagination {
    display: flex;
    gap: 5px;
    justify-content: center;
    margin-top: 30px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

    .gpagination a, .gpagination span {
        padding: 8px 12px;
        border: 1px solid #ccc;
        text-decoration: none;
        border-radius: 4px;
        color: #333;
    }

        .gpagination a:hover {
            background: #f0f0f0;
        }

    .gpagination .current {
        background: #333;
        color: #fff;
        font-weight: bold;
    }

    .gpagination .dots {
        border: none;
        background: transparent;
        cursor: default;
    }

.fancybox-button svg:nth-child(2) {
    display: none;
}

/* When slideshow is playing, hide play ▶ and show pause ⏸ */
.fancybox-button--play svg:nth-child(1) {
    display: none;
}

.fancybox-button--play svg:nth-child(2) {
    display: inline;
}
/* When slideshow is playing, hide play ▶ and show pause ⏸ */
.fancybox-button--pause svg:nth-child(1) {
    display: inline;
}

.fancybox-button--pause svg:nth-child(2) {
    display: none;
}

@media (min-width: 1600px) {
    .product-gallery {
        grid-template-columns: repeat(6, 1fr);
    }
    .product-views {
        gap: 0 5px;
    }
        .product-views div {
            max-width: 50px;
        }
            .single-gallery {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media only screen and (max-width: 991px) {
    .mobile-menu-area {
        display: none !important;
    }

    .product-gallery {
        grid-template-columns: repeat(3, 1fr);
    }

    .page-area.create-page p.prodsku {
        font-size: 10px !important;
        bottom: -10px;
    }

    .single-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-views div {
        max-width: 50px;
        margin-bottom: 10px;
    }
}

@media only screen and (max-width: 600px) {
    .product-views {
        gap: 0 5px;
    }

        .product-views div {
            max-width: 43px;
        }

    .custom-category-list .nav-tabs {
        border-radius: 0px;
    }

    .product-gallery, .single-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media only screen and (max-width: 480px) {
    .custom-category-list .nav-tabs {
        border-radius: 5px;
        padding: 6px;
        width: 100%;
        flex-direction: column;
    }

    .custom-category-list .nav-item {
        width: 100%;
        text-align: center;
    }
    .product-gallery, .single-gallery {
        grid-template-columns: repeat(1, 1fr);
    }
}
