/*
Theme Name: Six4 Custom
Theme URI: https://six4.com.br/
Author: Frederico de Castro
Author URI: https://www.fredericodecastro.com.br/
Description:
Version: 1.0.1
Template: stanley
Text Domain: stanley-child
*/
.custom-product-gallery {
    float: left;
    width: calc(var(--g5shop-single-product-image-width) + 0px);
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
}

.custom-product-gallery .thumbnails {
    flex: 0 0 100px;
    order: 1;
    display: flex;
    flex-direction: column;
}

.single-product div.custom-product-gallery div.thumbnails:after,
.single-product div.custom-product-gallery div.thumbnails:before {
    display: none;
}

.custom-product-gallery .thumbnails .item {
    margin-bottom: 10px;
    cursor: pointer;
    position: relative;
}

.custom-product-gallery .thumbnails .item.video-slide {
    background-color: #000;
}

.custom-product-gallery .thumbnails .item.video-slide img {
    opacity: 0.7;
}

.custom-product-gallery .thumbnails .item .play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    font-size: 20px;
    border: 3px solid #ddd;
    color: #ddd;
    width: 50px;
    height: 50px;
    text-align: center;
    line-height: 50px;
    border-radius: 50%;
    text-indent: 2px;
}

.custom-product-gallery .custom-owl-gallery {
    flex: 0 0 calc(100% - 110px);
    width: auto;
    overflow: hidden;
    order: 2;
}

.custom-product-gallery .custom-owl-gallery .play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    font-size: 30px;
    border: 3px solid #ddd;
    color: #ddd;
    width: 80px;
    height: 80px;
    text-align: center;
    line-height: 72.4px;
    border-radius: 50%;
    text-indent: 2px;
    cursor: pointer;
}

.custom-product-gallery .custom-owl-gallery .owl-nav {
    position: absolute;
    top: 50%;
    left: 50%;
    width: calc(100% - 40px);
    transform: translate(-50%, -50%);
}

.custom-product-gallery .custom-owl-gallery .owl-nav .owl-prev {
    font-size: 130px;
    line-height: 1;
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
}

.custom-product-gallery .custom-owl-gallery .owl-nav .owl-next {
    font-size: 130px;
    line-height: 1;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translate(0, -50%);
}

@media (max-width: 991px) {
    .custom-product-gallery {
        width: 100%;
        float: none;
        clear: both;
        flex-direction: column;
    }

    .custom-product-gallery .thumbnails {
        order: 3;
        display: flex;
        gap: 10px;
        flex-direction: row;
        margin-top: 10px;
    }

    .custom-product-gallery .thumbnails .item {
        flex: 0 0 19%;
    }
}

.custom-product-gallery .custom-owl-gallery .video-slide {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 150%;
    overflow: hidden;
}

.custom-product-gallery .custom-owl-gallery .video-slide video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 150%;
    transform: translate(-50%, -50%);
}

.woocommerce .woocommerce-message .button.wc-forward {
    background: black !important;
    color: white !important;
    padding: 15px;
    margin: -15px 0 0 0;
}

.g5shop__product-item-inner .g5shop__product-featured .add_to_cart_button {
    -webkit-transform: translate(0, 0);
    transform: translate(0, 0);
}

.scfw-size-chart-main .button-wrapper #chart-button {
    color: black;
}

.scfw-size-chart-main #md-size-chart-modal .md-size-chart-modal-content {
    top: 50%;
    transform: translate(0, -50%);
}

.scfw-size-chart-main #md-size-chart-modal .md-size-chart-modal-content #md-poup {
    height: auto;
    padding-bottom: 0;
}

.scfw-size-chart-main #md-size-chart-modal .md-size-chart-modal-content #md-poup .chart-container .chart-table.scfw-tab-content #size-chart tbody tr th {
    min-width: 10px;
}

.g5shop__product-item .g5shop__product-info .add_to_cart_button,
.g5shop__product-item .g5shop__product-info .product_type_variable {
    background: none;
    color: black;
    padding: 0;
    border: 0;
    height: auto;
    min-height: auto;
    font-weight: bold;
    margin: 0;
}

.yith-wcwl-add-button .add_to_wishlist svg.yith-wcwl-icon-svg {
    display: none;
}

.slick-list .g5shop__product-item.product-type-woosg .price {
    display: none;
}

.slick-list .g5shop__product-item.product-type-woosg .add_to_cart_button {
    display: none;
}

.slick-list .g5shop__product-item.product-type-variable .add_to_cart_button {
    display: none;
}

.slick-list .g5shop__product-item.product-type-woosg .g5shop__loop-product-title {
    display: none;
}

.archive .product-type-woosg .g5shop__loop-product-title {
    display: none !important;
}

.archive .product-type-woosg .price {
    display: none !important;
}

.archive .product-type-woosg .add_to_cart_button {
    display: none !important;
}

.single-product #primary-content .product-type-woosg .summary .price {
    display: none;
}

.single-product #primary-content .product-type-woosg .summary .woosg-wrap .woosg-products .woosg-item-product .woosg-choose {
    display: none;
}

.single-product #primary-content .product-type-woosg .summary .woosg-wrap .woosg-products .woosg-item-product .woosg-title {
    display: flex;
    flex-wrap: wrap;
    align-content: center;
}

.single-product #primary-content .product-type-woosg .summary .woosg-wrap .woosg-products .woosg-item-product .woosg-title .woosg-name {
    display: inline-block;
    width: auto;
    line-height: 20px;
    margin-right: 10px;
}

.single-product #primary-content .product-type-woosg .summary .woosg-wrap .woosg-products .woosg-item-product .woosg-title .woosg-price {
    display: inline-block;
    line-height: 20px;
    font-size: 16px;
    color: #3b3b3b;
}

.single-product #primary-content .product-type-woosg .summary .woosg-wrap .woosg-products .woosg-item-product .woosg-title .variations_form {
    flex: 0 0 100%;
    margin-top: 10px;
}

.single-product #primary-content .product-type-woosg .summary .woosg-wrap .woosg-alert {
    display: none !important;
    !importan;
    !importa;
    !import;
    !impor;
    !impo;
    !imp;
    !im;
    !i;
    !;
}

.single-product #primary-content .product-type-woosg .summary .cart .g5shop__quantity label {
    display: none;
}

.single-product #primary-content .product-type-woosg .summary .cart .g5shop__quantity .g5shop__quantity-inner {
    display: none;
}

.grouped-product-prices {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
}

.grouped-product-prices .subproduct {
    padding: 0 20px;
    color: #333;
}

.g5shop__loop-product-title {
    line-height: var(--g5-body-line-height);
    text-transform: none;
}

div.slick-track div.slick-slide div article.g5core__gutter-item div.g5core__post-item-inner div.g5shop__product-info span.price {
    font-weight: 400;
}

/* < xs */
@media (orientation: landscape) {
    .single-product .elementor-lightbox .elementor-video-container {
        width: 51vh;
    }
}

/* md > */
@media (orientation: portrait) {
    .single-product .elementor-lightbox .elementor-video-container {
        width: 90vw;
    }

    body.single-product .dialog-type-lightbox {
        position: fixed;
        height: 100vh;
        z-index: 99999;
    }
}