/* 
Theme Name: Gemerald Gems
Description: Gemerald Gems is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: gemerald-gems
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */
@import url('https://fonts.googleapis.com/css2?family=KoHo:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;1,200;1,300;1,400;1,500;1,600;1,700&display=swap');

body {
    font-family: "KoHo", serif;
}
a {
    color: #129662;
}
a, input[type="submit"], button, label {
    transition: opacity 0.3s, color 0.3s, background 0.3s, border-color 0.3s;
    outline: none;
    cursor: pointer;
}

/* Logo */
.custom-logo-link {
    max-width: 200px;
}

/* Woocommerce */
body.single-product {
    overflow-x: hidden;
}
body.archive.woocommerce .site-main {
    max-width: 100%;
}
body.archive.woocommerce .container {
    max-width: 1210px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Intro & Breadcrumb */
.intro-block,
.woocommerce .woocommerce-breadcrumb {
    background-color: #143C2D;
    color: #fff;
    padding: 53px 0;
    text-align: center;
}
.intro-block h1 {
    margin: 0;
}
.woocommerce .woocommerce-breadcrumb {
    font-size: 2.5rem;
    font-weight: 500;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
}
.woocommerce .woocommerce-breadcrumb a {
    color: currentColor;
}
.woocommerce .woocommerce-breadcrumb a:hover {
    opacity: 0.8;
}

/* Filter */
.all-top-filters {
    padding-top: 50px;
}
.all-top-filters > * {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.menu-filter {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    column-gap: 5px;
    list-style-type: none;
    padding-left: 0;
    text-align: center;
    width: 60.8%;
}
.menu-filter li a {
    background-color: #E8ECEE;
    color: #808080;
    display: block;
    font-size: 24px;
    line-height: 1.2;
    padding: 11px 5px;
}
.menu-filter li.active a,
.menu-filter li a:hover {
    background-color: #129662;
    color: #fff;
}
.custom-search {
    width: 35.6%;
}
.custom-search input[type="text"] {
    border-color: #707070;
    border-radius: 0;
    color: #373737;
    font-size: 12px;
    line-height: 1.3;
    padding: 16px 9px;
    outline: none;
    width: 47.5%;
}
.results-block {
    padding: 24px 0;
}
.top-holder > * {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
}
.search-nav {
    display: flex;
    column-gap: 12px;
    list-style-type: none;
    margin: 0;
    padding: 8px 0;
    width: 48.8%;
}
.search-nav li a {
    color: #777777;
    font-size: 19px;
    line-height: 1.2;
}
.search-nav li.active a,
.search-nav li a:hover {
    color: #129662;
}
.items-found {
    font-size: 14px;
    line-height: 1.2;
    color: #2fab81;
}
.items-found strong {
    font-size: 20px;
    font-weight: 700;
}
.export-products {
    color: #373737;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 400;
    margin: 0 0 0 15px;
    padding: 5px 0 0 25px;
    position: relative;
    transition: color 0.3s;
}
.export-products::before {
    background-image: url('assets/images/export-favorites-ico.svg');
    background-repeat: no-repeat;
    background-size: cover;
    content: '';
    filter: grayscale(100%);
    position: absolute;
    left: 0;
    top: 0;
    transition: filter 0.3s;
    height: 20px;
    width: 24px;
}
#list-view,
#grid-view {
    background: transparent;
    border: none;
    margin-left: 15px;
    padding: 0;
}
#list-view img,
#grid-view img {
    display: block;
}
#list-view:not(.active),
#grid-view:not(.active) {
    filter: grayscale(100%);
}
#list-view:hover,
#grid-view:hover {
    filter: none;
}
.desktop-sort {
    display: flex;
    align-items: center;
}
.desktop-sort .title {
    font-size: 19px;
    padding: 0 10px 0 0;
    width: 8.6%;
}
.sort-item {
    background: #e8ecee;
    border-radius: 2px;
    cursor: pointer;
    font-size: 12px;
    line-height: 1.2;
    margin: 10px 0.9% 10px 0;
    padding: 8px 20px 8px 11px;
    position: relative;
    width: 12.3%;
}
.sort-item:last-child {
    margin-right: 0;
}
.sort-item:after {
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #808080;
    content: '';
    position: absolute;
    right: 9px;
    top: 50%;
    transition: border-color 0.2s, transform 0.2s, -webkit-transform 0.2s;
}
.sort-item.arrow-down:after {
    transform: translateY(-50%) rotate(0);
}
.sort-item.active:after {
    border-color: #129662 transparent transparent;
}
.sort-item.arrow-up:after {
    transform: translateY(-50%) rotate(-180deg);
}
.mobile-sort {
    display: none;
    position: relative;
}
.mobile-sort::after {
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 7px solid #808080;
    content: '';
    pointer-events: none;
    position: absolute;
    right: 11px;
    top: 17px;
    height: 0;
    width: 0;
    z-index: 1;
}
.mobile-sort select {
    -webkit-appearance: none;
    background: #e8ecee;
    border: none;
    box-shadow: none;
    border-radius: 0;
    display: block;
    color: #808080;
    font-size: 18px;
    line-height: 1.2;
    margin: 0;
    padding: 8px 28px 8px 8px;
    width: 100%;
    outline: none;
}
.woocommerce .grid-view ul.products.columns-4 > li {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    column-gap: 25px;
    row-gap: 25px;
}
.gemstones-col {
    background: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.16);
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    font-size: 12px;
    position: relative;
    height: 100%;
}
.gemstones-col .img-holder {
    border-bottom: 1px solid #129662;
    overflow: hidden;
    position: relative;
    height: 202px;
}
.gemstones-col img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}
.gemstones-col .img-holder::before {
    content: url('assets/images/magnify-grey-sm.png');
    position: absolute;
    right: 6px;
    bottom: 8px;
    padding: 3px;
    opacity: 0;
    transition: all .2s linear;
}
.gemstones-col .img-holder:hover::before {
    opacity: 1;
}
.gemstones-col .img-holder.pair-item::after {
    content: url('assets/images/pair-grey.png');
    position: absolute;
    top: 8px;
    left: 6px;
    height: 32px;
    width: 32px;
    transition: all .4s linear;
    padding: 3px;
}
.gemstones-col .img-holder.pair-item:hover::after {
    content: url('assets/images/pair-green.png');
}
.gemstones-col ul.parameters-list {
    border-bottom: 1px solid #129662;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    column-gap: 10px;
    line-height: normal;
    margin-bottom: 0;
    padding: 12px;
    text-align: center;
}
.gemstones-col ul.parameters-list::before,
.gemstones-col ul.parameters-list::after {
    display: none;
}
.gemstones-col ul.parameters-list li {
    display: flex;
    flex-direction: column;
    row-gap: 6px;
}
.gemstones-col .price-holder {
    border-bottom: 1px solid #e8ecee;
    display: flex;
    justify-content: space-between;
    padding: 10px;
    overflow: hidden;
}
.gemstones-col .bottom-holder {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    padding: 10px;
    overflow: hidden;
}
.gemstones-col .bottom-holder .like-btn {
    background-image: url('assets/images/ico-like.svg');
    background-repeat: no-repeat;
    display: block;
    text-indent: -9999px;
    overflow: hidden;
    height: 20px;
    width: 23px;
}
.gemstones-col .bottom-holder .like-btn:hover,
.gemstones-col .bottom-holder .like-btn.added {
    background-image: url('assets/images/ico-like-hover.svg');
}

.woocommerce div.product .flex-viewport {
    border-bottom: 1px solid #129662;
    margin-bottom: 20px;
}
.woocommerce div.product div.images .flex-control-thumbs li img {
    border: 1px solid #129662;
    margin: auto;
    width: 90%;
}
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt {
    background-color: #161515;
    border: 1px solid #161514;
    border-radius: 2px;
    padding: 13px 20px 15px;
    width: 100%;
}
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt:hover {
    background-color: transparent;
    color: #161514;
}
.woocommerce div.product .woocommerce-tabs table tr:nth-child(odd) th,
.woocommerce div.product .woocommerce-tabs table tr:nth-child(odd) td {
    background: #e8ecee;
}
.woocommerce div.product .woocommerce-tabs table td,
.woocommerce div.product .woocommerce-tabs table th {
    background: transparent;
    border: none;
    font-style: normal;
    padding: 6px 11px;
    text-align: left;
    transition: background 0.3s;
    width: 50%;
}
.woocommerce div.product .woocommerce-tabs table tr:hover th,
.woocommerce div.product .woocommerce-tabs table tr:hover td {
    background: #808080;
    color: #fff;
}
.woocommerce table.shop_attributes td p {
    padding: 0;
}
.woocommerce div.product .woocommerce-tabs ul.tabs {
    border-bottom: 1px solid #808080;
    display: flex;
    flex-wrap: wrap;
    column-gap: 10px;
    padding-left: 0;
}
.woocommerce div.product .woocommerce-tabs ul.tabs::before,
.woocommerce div.product .woocommerce-tabs ul.tabs::after,
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after {
    display: none;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li {
    background-color: transparent;
    border: none;
    border-radius: 0;
    color: #373737;
    margin: 0;
    padding: 0;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active,
.woocommerce div.product .woocommerce-tabs ul.tabs li:hover {
    background: #808080;
    color: #fff;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
    font-size: 18px;
    line-height: 1.2;
    padding: 14px 39px;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover {
    color: currentColor;
}
@media (max-width: 1199px) {
    .woocommerce .grid-view ul.products.columns-4 > li {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 1023px) {
    .menu-filter li a {
        font-size: 20px;
    }
    .top-holder > * {
        flex-direction: column;
        row-gap: 20px;
    }
    .search-nav {
        width: 100%;
    }
    .results-block .desktop-sort .sort-item {
        font-size: 10px;
        padding: 6px 10px 6px 5px;
    }
    .woocommerce .grid-view ul.products.columns-4 > li {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 767px) {
    .menu-filter,
    .custom-search {
        width: 100%;
    }
    .menu-filter li a {
        background: none;
        font-size: 12px;
        font-weight: 500;
        padding: 15px 5px;
        text-decoration: underline;
    }
    .menu-filter li.active a,
    .menu-filter li a:hover {
        background: none;
        color: #129662;
    }
    .search-nav {
        justify-content: space-between;
        border-top: 1px solid #dadada;
        border-bottom: 1px solid #dadada;
        margin-bottom: 12px;
    }
    .desktop-sort {
        display: none;
    }
    .mobile-sort {
        display: flex;
        flex-direction: row-reverse;
        justify-content: space-between;
    }
    .mobile-sort select {
        width: fit-content;
    }
    .woocommerce .grid-view ul.products.columns-4 > li {
        grid-template-columns: repeat(1, 1fr);
    }
}
@media (max-width: 575px) {
    body.archive.woocommerce .site-main {
        padding: 0;
    }
    .all-top-filters {
        padding-top: 30px;
    }
}