/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/

@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.7.2/css/all.min.css');

.futura,
.futura * {
  font-family: "futura-pt", sans-serif;
}
.futura-condensed,
.futura-condensed * {
  font-family: "futura-pt-condensed", sans-serif;
}


/* header */
@media (min-width: 1025px) {
    .whb-boxed .whb-main-header {
        max-width: calc(var(--wd-container-w) - 30px);
    }
}
.whb-general-header {
    border-radius: 100px;
}
.whb-scroll-slide.whb-sticked .whb-main-header {
    animation: none !important;
    margin: 20px auto 0;
}
.wd-tools-element.wd-style-icon .wd-tools-text {
    display: block !important;
}
@media (max-width: 768px) {
    .wd-el-breadcrumbs {
        text-align: center;
    }
}
.mobile-nav #menu-categories .item-level-0 {
    background: var(--bgcolor-gray-100);
}
.mobile-nav #menu-categories .item-level-0 > a {
    letter-spacing: 3px;
}
/* sub menu elements */
.mobile-nav #menu-categories .item-level-1 {
    background: #fff;
}
.mobile-nav #menu-categories .item-level-1 a:before {
    content: "-";
    display: inline-block;
    padding-right: 10px;
}
.mobile-nav #menu-categories .item-level-1 a {
    min-height: 35px !important;
}



/* homepage */
@media (min-width: 768px) {
    .grid-first-half {
        width: 46%;
    }
    .grid-last-half {
        width: 54%;
    }
    .grid-first-half .promo-banner-wrapper {
        height: calc(100% - 15px);
        overflow: hidden;
    }
    .grid-first-half .promo-banner .content-banner {
        margin-bottom: 16px;
    }
}
.category-boxes-row {
    position: relative;
    z-index: 10;
    overflow: unset;
}
.category-boxes-row:before {
    position: absolute;
    top: -300px;
    left: 0;
    content: "";
    display: block;
    width: 100%;
    height: 300px;
    background: linear-gradient(to top, black, transparent);
    z-index: 9;
}
.category-boxes-row .vc_row {
    position: relative;
    z-index: 11;
}
.category-boxes-row .vc_column_container>.vc_column-inner {
    padding: 0;
}
.category-box {
    background: #48484833;
    border: 1px solid #2B2B2B;
    border-radius: 42px;
    height: 280px;
    overflow: hidden;
}
.category-box .category-text {
    text-align: center;
    font-family: "futura-pt", sans-serif;
    font-weight: 500;
    font-size: 18px;
    color: #fff;
    margin: 15px;
    z-index: 99
}
.category-box img {
    z-index: 98;
    transition: all ease .5s;
}
.category-box:hover img {
    transform: scale(1.2);
}
@media (max-width: 768px) {
    .category-box {
        height: unset;
        border-radius: 30px;
    }
    .vc_col-xs-4 .category-box {
        border-radius: 20px;
    }
    .category-box .category-text {
        font-size: 12px;
        height: 3rem;
    }
}

/* home combined carousels */
.combined-1 .wd-carousel, 
.combined-2 .wd-carousel {
    padding: 0;
}
@media (min-width: 768px) {
    .combined-2 .wd-nav-pagin-wrap {
        position: absolute;
        bottom: -55px;
        left: 50%;
        transform: translateX(-50%);   
    }
}
/* home product slider */
.wd-carousel-inner:has(.home-product-slider) .wd-nav-arrows .wd-btn-arrow {
    opacity: 1 !important;
    transform: translate(10px) !important;
    background: #000;
}
.wd-carousel-inner:has(.home-product-slider) .wd-nav-arrows .wd-btn-arrow.wd-next {
    transform: translate(-10px) !important;
}
.wd-carousel-inner:has(.home-product-slider) .wd-nav-arrows .wd-btn-arrow.wd-disabled {
    display: none;
}
.wd-carousel-inner:has(.home-product-slider) .wd-arrow-inner {
    color: #fff;
    width: 36px;
    height: 36px;
}
.home-product-slider .wd-entities-title,
.home-product-slider .wd-product-cats {
    height: 3rem;
}

/* home footer icons */
.home-footer-icons {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
}
.home-footer-icons > div {
    width: unset;
    position: relative;
    padding: 0 46px;
}
.home-footer-icons > div:nth-child(2):before,
.home-footer-icons > div:nth-child(2):after {
    position: absolute;
    left: 0;
    top: 14%;
    display: block;
    content: "";
    height: 46px;
    width: 2px;
    background: #fff;
    border-radius: 10px;
}
.home-footer-icons > div:nth-child(2):after {
    left: unset;
    right: 0;
}
@media (max-width: 768px) {
    .home-footer-icons > div {
        padding: 0 20px;
    }
}

.mc4wp-form input[type=email] {
    border-radius: 50px;
    text-align: center;
}

.home #main-content {
    padding-bottom: 0;
}




/* product category archive page */
@media (min-width: 768px) {
    .archive.tax-product_cat h1.entry-title {
        white-space: nowrap;
    }
}
.production-filters {
    overflow: unset;
    font-family: var(--wd-title-font);
}
.production-filters .wd-style-form .wd-pf-title {
    border: 0;
}
.production-filters .wd-style-form .wd-pf-title:after {
    inset-inline-end: 25px;
}
.filter-categories-list  ul.wd-scroll-content > li > a {
    color: #000;
    font-weight: 500;
}
.filter-categories-list .cat-item {
    position: relative;
}
.filter-categories-list .submenu-toggle {
    padding: 0 10px;
    font-size: 18px;
    cursor: pointer;
    color: #333;
    font-weight: bold;
    position: absolute;
    right: 10px;
    top: 0;
}

.tio-filter-row {
    display: flex;
    flex-direction: row;
    margin: 0;
}
@media (min-width: 768px) {
    .show-filters {
        display: none;
    }
    .tio-filter-row .wpb_column {
        flex-basis: fit-content;
    }
    .tio-filter-row .wpb_column:nth-child(1) {
        width: 8%;
    }
    .tio-filter-row .wpb_column:nth-child(2) {
        width: 12%;
    }
    .tio-filter-row .wpb_column:nth-child(3) {
        flex: auto;
    }
}
@media (max-width: 768px) {
    .production-filters > div {
        margin-right: auto;
        margin-left: auto;
        width: 85%;
    }
    .tio-filter-row {
        flex-wrap: wrap;
    }
    .tio-filter-row .vc_column-inner {
        padding: 0;
    }
    .wd-product-filters-wrapp .wd-col,
    .tio-filter-row .collections {
        border: 1px solid #ccc;
        margin-top: 10px;
        padding: 0 10px;
        width: 100%;
    }
    .wd-product-filters {
        gap: 0;
    }
    .tio-filter-row .wpb_column:not(:last-child) {
        display: none;
    }
    .tio-filter-row > div:last-child {
        margin-top: 15px;
    }
    .tio-filter-row .wpb_column:last-child .wpb_wrapper {
        justify-content: space-between;
        margin-bottom: 0;
    }
    
}
.wd-products-shop-view {
    gap: 0.5em;
}
.tio-filter-row .wd-scroll-content {
    max-height: var(--wd-scroll-h, 38vh);
}
#category-products-row .woocommerce-result-count {
    margin-bottom: 5px;
}
#category-products-row .wd-load-more {
    background: #000;
    color: #fff;
}
.category-progress-bar {
    width: 300px;
    height: 6px;
    background: #ddd;
    border-radius: 3px;
    overflow: hidden;
    margin: 0 auto 20px;
}
.category-progress-fill {
    height: 100%;
    width: 0%;
    transition: width 0.3s ease;
}



/* hide quantity */
.quantity { 
    display: none !important; 
}

/* product details page */
.wd-gallery-thumb :is(.wd-carousel-item:hover,.wd-thumb-active,.wd-carousel:not(.wd-initialized) .wd-carousel-item:first-child) {
    opacity: 1 !important;
}
.wd-gallery-thumb img {
    border: 1px solid transparent;
    transition: .5s ease all;
}
.wd-gallery-thumb :is(.wd-carousel-item:hover,.wd-thumb-active,.wd-carousel:not(.wd-initialized) .wd-carousel-item:first-child) img {
    border-color: #444;
}

body.single-product .summary .woocommerce-Price-amount {
    font-size: 2.2rem;
}
body.single-product .summary .woocommerce-Price-amount::after {
    content: " (APROXIMATIV)";
    font-size: 1.2rem;
    color: #888;
    margin-left: 5px;
}
.custom-options-wrap { 
    margin: 0 0 20px; 
}
.custom-meta-group {
    display: flex;
    column-gap: 5%;
    padding: 1rem 0;
    align-items: center;
    border-bottom: 1px solid #eee;
}
.group-header {
    width: 24%;
}
.group-options {
    width: 76%;
    display: flex;
    gap: 3%;
    align-items: flex-end;
}

.custom-radio-group label {
    display: inline-block;
    padding: 10px 14px;
    margin: 0;
    border: var(--wd-form-brd-width) solid var(--wd-form-brd-color);
    cursor: pointer;
    transition: all 0.2s;
}
.custom-radio-group input[type=radio] {
    display: none;
}
.custom-radio-group input[type=radio]:checked + label {
    background-color: #ddd;
    font-weight: bold;
}

.group-options select,
.group-options input[type=text],
.custom-radio-group label {
    background-color: #fff;
    border-radius: 5px;
}

.gender-icon {
    font-size: 36px;
}
:is(.female-fields, .male-fields) .ring-size {
    width: 35%;
}
:is(.female-fields, .male-fields) .gravura {
    width: 65%;
    position: relative;
}
.ring-size a {
    float: right;
    height: 14px;
}
@keyframes shake {
    0% { transform: scale(1) rotate(0); }
    5% { transform: scale(1.05) rotate(-2deg); }
    10% { transform: scale(1.05) rotate(2deg); }
    15% { transform: scale(1.05) rotate(-2deg); }
    20% { transform: scale(1.05) rotate(2deg); }
    25% { transform: scale(1) rotate(0); }
    100% { transform: scale(1) rotate(0); }
}
.select-shake {
    animation: shake 4s;
    background-color: #f2dbb3 !important;
    border-color: #d2ab93 !important;
}
.gravura a {
    position: absolute;
    bottom: 8px;
    right: 8px;
    padding: 0px;
    width: 32px;
    height: 32px;
    vertical-align: middle;
    text-align: center;
    font-size: 28px;
    line-height: 28px;
    color: #c00;
}
.gravura input:placeholder-shown {
    color: #999;
    font-style: italic;
}
.gravura input:read-only {
    background: #fee;
    color: #888;
}
.ring-size-popup { 
    display: none; 
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    z-index: 1000;
    width: 500px;
    height: 600px;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px #d2ab93;
}
.ring-size-popup-close {
    position: absolute;
    top: -20px;
    right: -20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    background: #f2dbb3;
    color: #000;
    width: 48px;
    height: 48px;
    text-align: center;
    border-radius: 50%;
    transition: 1s background-color linear;
}
.ring-size-popup-close:hover {
    background: #d2ab93;
}
.ring-size-table {
    background: #fff;
    max-height: 560px; 
    overflow-y: auto;
    margin: 0;
    padding: 0;
}
.ring-size-table table {
    margin: 0;
    padding: 0;
}
.ring-size-table thead {
    position: sticky; 
    top: 0; 
    z-index: 1;
    background: #dee;
}
.ring-size-table :is(th,td) {
    color: #444;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
}
.ring-size-table tr:nth-child(even) {
    background: rgb(0 0 0 / 8%);
}
.ring-size-table tbody tr:hover {
    background: #f2dbb388;
    cursor: pointer;
}







/* blog */
/* single post */
@media (min-width: 768px) {
    body.single-post-large-image.wd-header-overlap .wd-page-title {
        padding-top: 250px !important;
        padding-bottom: 250px !important;
    }
}


/* footer */
#footer-first-row {
    display: flex;
}
#footer-first-row > div {
    width: unset;
    flex: 0 1 auto;
}
#footer-first-row .wd-list li {
    flex-direction: column;
    align-items: flex-start;
}

.footer-cat-menu > ul {
    padding-left: 0;
}
.footer-cat-menu > ul > li ul {
    padding-left: 10px;
}
.footer-cat-menu > ul > li li::marker {
    content: "- ";
}
.footer-cat-menu > ul > li::marker {
    content: "";
}

.footer-first-heading {
    display: block;
    font-size: 1.05rem;
    font-weight: bold;
    color: #f2dbb3;
    margin-bottom: 10px;
    white-space: nowrap;
}
.wd-copyrights {
    background: #000;
    font-family: var(--wd-title-font);
}
@media (max-width: 768px) {
    .wd-copyrights p {
        text-align: center !important;
    }
}