/* =========================================================
   GEMINITEEZ - CUSTOM ADDITIONAL CSS
   ========================================================= */


/* =========================================================
   CART / CHECKOUT BUTTONS
   ========================================================= */

.wc-proceed-to-checkout a {
    color: white;
}

.wc-proceed-to-checkout a:hover {
    color: white;
}

.woocommerce-message a.button.wc-forward {
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
}


/* =========================================================
   FANCY PRODUCT DESIGNER
   ========================================================= */

.fpd-element-toolbar-smart.fpd-visibility.fpd-theme-white.fpd-toolbar-placement-smart.fpd-type-image.fpd-show {
    background: #BC1D19;
    margin-bottom: 50px !important;
}

.fpd-tool-color.fpd-tooltip.tooltipstered {
    background: white !important;
}


/* =========================================================
   PRODUCT TITLES
   ========================================================= */

h2.woocommerce-loop-product__title {
    color: black !important;
}


/* =========================================================
   RELATED PRODUCTS
   ========================================================= */

section.related.products.ct-hidden-md .ct-woo-card-actions a {
    color: white !important;
}

section.related.products.ct-hidden-md ul.products.columns-4 li {
    background: #F2F2F2;
    text-align: center;
}

section.related.products.ct-hidden-md ul.products.columns-4 li .ct-woo-card-actions {
    margin-bottom: 20px;
}


/* =========================================================
   PRODUCT CARD BUTTONS
   ========================================================= */

a.button.product_type_variable.add_to_cart_button {
    color: white;
}

.ct-woo-card-actions {
    display: block !important;
}

.ct-woo-card-actions a {
    text-transform: uppercase;
    font-weight: 600 !important;
}


/* =========================================================
   PRODUCT CARD IMAGES
   ========================================================= */

img.tp-image {
    width: auto !important;
    height: 250px !important;
    margin: auto !important;
}

img.tp-image-hover {
    width: 100% !important;
    height: 250px !important;
    margin: auto !important;
    object-fit: contain !important;
}

.tp-image-wrapper img.image {
    width: 100% !important;
    height: 300px !important;
    object-fit: contain !important;
}

img.attachment-woocommerce_thumbnail.size-woocommerce_thumbnail.wp-post-image {
    width: auto !important;
    height: 250px !important;
    object-fit: contain !important;
    margin: auto !important;
}


/* =========================================================
   GEMINITEEZ - MAIN PRODUCT GALLERY
   BLOCKSY + WOOCOMMERCE
   Prevent image cropping and excessive zoom
   ========================================================= */

/* Main gallery */
.woocommerce-product-gallery {
    height: auto !important;
    min-height: 0 !important;
}

/* Gallery viewport */
.woocommerce-product-gallery .flex-viewport {
    height: auto !important;
    min-height: 0 !important;
    overflow: hidden !important;
}

/* Gallery wrapper */
.woocommerce-product-gallery .woocommerce-product-gallery__wrapper {
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
}

/* Individual gallery slide */
.woocommerce-product-gallery .woocommerce-product-gallery__image {
    height: auto !important;
    min-height: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
}

/* Blocksy image containers */
.woocommerce-product-gallery .ct-image-container,
.woocommerce-product-gallery .ct-media-container {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
}

/* Main product image */
.woocommerce-product-gallery .woocommerce-product-gallery__image img,
.woocommerce-product-gallery .ct-image-container img,
.woocommerce-product-gallery .ct-media-container img,
.woocommerce-product-gallery img.wp-post-image {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 650px !important;
    object-fit: contain !important;
    object-position: center center !important;
    margin: 0 auto !important;
}


/* =========================================================
   PREVENT BLOCKSY FROM CROPPING PRODUCT IMAGE
   ========================================================= */

.woocommerce-product-gallery [class*="ratio"] {
    aspect-ratio: auto !important;
}

.woocommerce-product-gallery [class*="thumbnail"] {
    object-fit: contain !important;
}


/* =========================================================
   PRODUCT IMAGE LINKS
   ========================================================= */

.woocommerce-product-gallery .woocommerce-product-gallery__image a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: auto !important;
}


/* =========================================================
   SALE BADGE
   ========================================================= */

span.onsale {
    background: black;
}


/* =========================================================
   PAGINATION
   ========================================================= */

span.page-numbers.current {
    background: black !important;
}

a.next.page-numbers {
    background: black;
    color: white;
    border: 1px solid black !important;
}


/* =========================================================
   MENU
   ========================================================= */

ul#menu-1-cf8c54d a {
    text-transform: uppercase;
}


/* =========================================================
   ENVATO ELEMENTOR KIT
   ========================================================= */

.envato-block__preview {
    overflow: visible;
}

.elementor-headline-animation-type-drop-in .elementor-headline-dynamic-wrapper {
    text-align: center;
}

.envato-kit-141-top-0 h1,
.envato-kit-141-top-0 h2,
.envato-kit-141-top-0 h3,
.envato-kit-141-top-0 h4,
.envato-kit-141-top-0 h5,
.envato-kit-141-top-0 h6,
.envato-kit-141-top-0 p {
    margin-top: 0;
}

.envato-kit-141-newsletter-inline .elementor-field-textual.elementor-size-md {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.envato-kit-141-bottom-0 p {
    margin-bottom: 0;
}

.envato-kit-141-bottom-8 .elementor-price-list .elementor-price-list-item .elementor-price-list-header {
    margin-bottom: .5rem;
}

.envato-kit-141.elementor-widget-testimonial-carousel.elementor-pagination-type-bullets .swiper-container {
    padding-bottom: 52px;
}

.envato-kit-141-display-inline {
    display: inline-block;
}

.envato-kit-141 .elementor-slick-slider ul.slick-dots {
    bottom: -40px;
}


/* =========================================================
   ENVATO KIT 71
   ========================================================= */

.envato-block__preview {
    overflow: visible;
}


/* =========================================================
   ENVATO KIT 136
   ========================================================= */

.envato-block__preview {
    overflow: visible !important;
}


/* =========================================================
   ENVATO KIT 102 - PHONE OVERLAY
   ========================================================= */

.envato-kit-102-phone-overlay {
    position: absolute !important;
    display: block !important;
    top: 0%;
    left: 0%;
    right: 0%;
    margin: auto;
    z-index: 1;
}


/* =========================================================
   SOCIAL SHARING
   ========================================================= */

li.share-x a span {
    display: none;
}


/* =========================================================
   JETPACK RELATED POSTS
   ========================================================= */

#jp-relatedposts {
    display: block;
    padding-top: 1em;
    margin: auto !important;
    position: relative;
    clear: both;
}


/* =========================================================
   MOBILE / TABLET MENU ARROW
   ========================================================= */

@media (min-width: 320px) and (max-width: 1200px) {

    i.icon.icon-down-arrow1.elementskit-submenu-indicator::before {
        margin-left: -10px !important;
        font-size: 14px !important;
    }

    i.icon.icon-down-arrow1.elementskit-submenu-indicator {
        border: none;
        padding: 0px !important;
        height: 11px !important;
    }

}


/* =========================================================
   MOBILE PRODUCT GALLERY
   ========================================================= */

@media (max-width: 767px) {

    .woocommerce-product-gallery,
    .woocommerce-product-gallery .flex-viewport,
    .woocommerce-product-gallery .woocommerce-product-gallery__wrapper {
        height: auto !important;
        min-height: 0 !important;
    }

    .woocommerce-product-gallery .woocommerce-product-gallery__image {
        height: auto !important;
        min-height: 0 !important;
    }

    .woocommerce-product-gallery .ct-image-container,
    .woocommerce-product-gallery .ct-media-container {
        height: auto !important;
        aspect-ratio: auto !important;
    }

    .woocommerce-product-gallery .woocommerce-product-gallery__image img,
    .woocommerce-product-gallery .ct-image-container img,
    .woocommerce-product-gallery .ct-media-container img,
    .woocommerce-product-gallery img.wp-post-image {
        width: 100% !important;
        height: auto !important;
        max-height: 500px !important;
        object-fit: contain !important;
        object-position: center center !important;
    }

}