/*
 Theme Name:   Woodmart-Child
 Template:     woodmart
 Author:       Alex Moroz
 Version:      1.0.0
*/


/*************** ADD YOUR CUSTOM CSS IN THIS AREA ***************/

.read-more-link {
    color: #000;
    font-weight: 700;
    display: block;
    text-decoration: underline !important;
    /* margin-top: 20px; */
    cursor: pointer;
}

#cat-bottom-read-more {
    margin-top: 40px;
    display: block;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 20px;
}

main.p-0-main-content {
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-top: 0 !important;
}



#iframeSamePageIcredit {
    z-index: 9999;
}

#iframeSamePageIcreditOverlay {
    z-index: 1111;
}


.category-grid-item .wd-cat-inner,
.category-grid-item .wd-cat-thumb,
.category-grid-item .wd-cat-image {
    height: 100%;
}

.category-grid-item .wd-cat-thumb img {
    object-fit: cover;
    height: 100%;
}




.wd-cats-element .wd-cat-content.hover-mask {
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
    color: #fff;
    left: 0;
    right: 0;
}


.wd-cats-element .wd-cat-content.hover-mask .wd-entities-title {
    color: #fff;
    text-decoration: underline;
    font-weight: 600;
    font-size: 20px
}

.single-product-page .product-tabs-wrapper {
    background-color: #fff !important;
}



/* Title */
.category-faqs {
    padding: 1rem;
}

.category-faqs__title {
    margin: 0 0 1rem;
    font-size: 1.6rem;
    font-weight: 700;
    text-align: right;
}

/* FAQ items */
.category-faqs__items {
    display: flex;
    flex-direction: column;
    /* gap: 0.75rem; */
    /* slightly larger spacing for mobile readability */
}

/* Each item */
.category-faqs__item {
    padding: 0.75rem 0;
    border-bottom: 1px solid #ddd;
}

.category-faqs__item:last-child {
    border-bottom: none;
}

.category-faqs__item[open] .category-faqs__question::after {
    transform: translateY(-50%) rotate(180deg);
    content: '-';
}

/* Question text */
.category-faqs__question {
    cursor: pointer;
    color: #000;
    font-weight: 600;
    font-size: 1.1rem;
    text-align: right;
    padding: 20px;
    background-color: #fff;
    border-radius: 12px;
    border: 1px solid #d5d8dc;
    position: relative;
}

.category-faqs__question h3 {
    margin: 0;
    font-size: 1.1rem;

}

/* Adjust padding for mobile */
@media (max-width: 768px) {
    .category-faqs__question {
        padding-left: 40px;
    }
}

.category-faqs__question::after {
    content: '+';
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.6rem;
    transition: transform 0.3s ease;
}

/* Answer text */
.category-faqs__answer {
    margin-top: 0.5rem;
    font-size: 1rem;
    line-height: 1.7;
    text-align: right;
    padding: 20px;
    color: #000;
    border-radius: 12px;
    background-color: #fff;
}

.category-faqs__answer p {
    margin: 0;
}

#iframeSamePageIcredit{
    width: 100%;
}

@media (max-width: 768px) {
    #iframeSamePageIcredit{
        max-width: 100% !important;
        top: 0 !important;
    }
}


nav.wd-header-nav.wd-header-main-nav .menu-item .woodmart-nav-link{
    font-size: 15px;
}
.wd-nav>li:is(.wd-has-children,.menu-item-has-children)>a:after{
    font-size: 10px;
    color: #000;
}


.wd-product:not(.wd-hover-small) :is(.wd-product-img-link,.wd-product-img-hover) :is(picture,img),
.woocommerce-product-gallery .wd-carousel-item img{
	aspect-ratio: 1 / 1;
    object-fit: cover;
}