/*!
Theme Name: anukari
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: anukari
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

anukari is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/


.mega-menu.mega-page{
	display: grid !important;
    padding: 25px;
	gap: 10px;
}

/* Language selector */
.tf-languages {
    position: relative;
    display: inline-block;
    z-index: 9999;
}

/* GTranslate wrapper */
.tf-languages .gtranslate_wrapper {
    position: relative;
}

/* Selected language */
.tf-languages .gt_switcher {
    position: relative;
}

/* Dropdown */
.tf-languages .gt_option {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: auto !important;
    z-index: 99999 !important;
    margin: 0 !important;
}

/* Prevent dropdown from affecting page layout */
.tf-languages .gt_switcher {
    overflow: visible !important;
}

.tf-languages.footer-widget .gt_container-pofty .gt_switcher a {
    font-size: 11px !important;
}
.tf-languages.footer-widget .gt_container--2yzntq .gt_switcher a {
    font-size: 11px !important;
}


.archive h2, .h2, .single-product h2, .h2{
    font-size: 45px;
    line-height: 26px;
}
.woocommerce ul.products li.product .button {
    display: inline-block;
    margin-top: 1em;
    background-color: var(--Secondary);
    color: var(--White);
}
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.alt:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit.alt:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button.alt:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button.alt:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button.alt:hover {
    background-color: #000;
    color: #fff;
}

.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button{
	background-color: #000 !important;
    color: #fff;
}


/* Main image box */
.woocommerce div.product div.images .woocommerce-product-gallery__image {
    height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    overflow: hidden;
}

/* Main image - NO CROP */
.woocommerce div.product div.images .woocommerce-product-gallery__image img {
    width: 100%;
    height: 100%;
    max-height: 480px;
    object-fit: contain;
    object-position: center;
    display: block;
}


/* ==========================================
   PRODUCT THUMBNAILS - SINGLE ROW SLIDER
   ========================================== */

.woocommerce div.product div.images .flex-control-thumbs {
    position: relative !important;

    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;

    width: 100% !important;
    height: 125px !important;

    margin: 15px 0 0 !important;
    padding: 0 !important;

    overflow-x: hidden !important;
    overflow-y: hidden !important;

    gap: 10px !important;

    list-style: none !important;

    scroll-behavior: smooth !important;
}


/* ==========================================
   EACH THUMBNAIL
   ========================================== */

.woocommerce div.product div.images .flex-control-thumbs li {
    float: none !important;

    display: block !important;

    flex: 0 0 calc(25% - 7.5px) !important;

    width: calc(25% - 7.5px) !important;
    min-width: calc(25% - 7.5px) !important;
    max-width: calc(25% - 7.5px) !important;

    height: 125px !important;

    margin: 0 !important;
    padding: 0 !important;
}


/* ==========================================
   THUMBNAIL IMAGE
   ========================================== */

.woocommerce div.product div.images .flex-control-thumbs li img {
    display: block !important;

    width: 100% !important;
    height: 125px !important;

    max-width: none !important;

    object-fit: cover !important;

    margin: 0 !important;
    padding: 0 !important;

    opacity: 0.55 !important;

    border: 1px solid #e5e5e5 !important;

    cursor: pointer;

    transition: all 0.25s ease;
}


/* Active thumbnail */

.woocommerce div.product div.images .flex-control-thumbs li img.flex-active {
    opacity: 1 !important;

    border: 2px solid #222 !important;
}


/* Hover */

.woocommerce div.product div.images .flex-control-thumbs li img:hover {
    opacity: 1 !important;
}


/* ==========================================
   SLIDER WRAPPER
   ========================================== */

.woocommerce div.product div.images .custom-thumbnail-slider-wrapper {
    position: relative !important;

    width: 100% !important;

    padding: 0 40px !important;

    box-sizing: border-box !important;
}


/* ==========================================
   ARROWS
   ========================================== */

.woocommerce div.product div.images .custom-thumb-prev,
.woocommerce div.product div.images .custom-thumb-next {

    position: absolute !important;

    top: 50% !important;

    transform: translateY(-50%) !important;

    z-index: 20 !important;

    width: 32px !important;
    height: 45px !important;

    padding: 0 !important;
    margin: 0 !important;

    display: flex !important;

    align-items: center !important;
    justify-content: center !important;

    background: #fff !important;

    border: 1px solid #ddd !important;

    color: #222 !important;

    font-size: 28px !important;

    line-height: 1 !important;

    cursor: pointer !important;

    transition: all 0.2s ease;
}


.woocommerce div.product div.images .custom-thumb-prev {
    left: 0 !important;
}


.woocommerce div.product div.images .custom-thumb-next {
    right: 0 !important;
}


.woocommerce div.product div.images .custom-thumb-prev:hover,
.woocommerce div.product div.images .custom-thumb-next:hover {
    background: #222 !important;

    border-color: #222 !important;

    color: #fff !important;
}


/* ==========================================
   MOBILE
   ========================================== */

@media (max-width: 767px) {

    .woocommerce div.product div.images .flex-control-thumbs {
        height: 90px !important;

        gap: 7px !important;
    }

    .woocommerce div.product div.images .flex-control-thumbs li {
        flex: 0 0 calc(33.333% - 5px) !important;

        width: calc(33.333% - 5px) !important;

        min-width: calc(33.333% - 5px) !important;

        max-width: calc(33.333% - 5px) !important;

        height: 90px !important;
    }

    .woocommerce div.product div.images .flex-control-thumbs li img {
        height: 90px !important;
    }

    .woocommerce div.product div.images .custom-thumbnail-slider-wrapper {
        padding: 0 35px !important;
    }

    .woocommerce div.product div.images .custom-thumb-prev,
    .woocommerce div.product div.images .custom-thumb-next {
        width: 28px !important;
        height: 40px !important;

        font-size: 24px !important;
    }
}


.woocommerce .products ul, .woocommerce ul.products {
    margin: 20px 0 1em;
}
.single-product h1, .single-product .h1 {
    font-size: 32px;
    line-height: 42px;
}

.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product p.price, .woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product span.price {
    padding-top: 10px;
    padding-bottom: 10px;
}
span.woocommerce-Price-currencySymbol {
    font-size: larger;
}

