/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/

.faq-wrapper { margin: 0 auto; border-bottom: 1px solid rgba(0, 0, 0, 0.11);}
.faq-item { border-top: 1px solid rgba(0, 0, 0, 0.11); margin-bottom: 5px; }
.faq-question {
    cursor: pointer; 
    padding: 18px 25px 18px 5px;
    background: #fff; 
    position: relative;
    color: #767676;
    font-family: Lato;
    font-size: 16px;
    font-weight: 700;
    line-height: 16px;
}
.faq-question::before {
    content: "\f129"; 
    font-family: "woodmart-font"; 
    font-weight: 900;
    position: absolute;
    right: 15px;
    font-size: 12px;
    transition: transform 0.3s ease;
}
.faq-answer { display: none; padding: 0 5px; background: #fff; }
.faq-answer p { 
    margin-bottom:19px !important; 
    color: #767676; 
    font-family: Lato; 
    font-size: 14px; 
    font-weight: 400; 
    line-height: 22.4px; 
}
.faq-question.active::before { transform: rotate(180deg); }

.shop_attributes tr {
    display: block !important;
}

.shop_attributes tr {
    display: block !important;
}

/* Small Image Hover overlay for product listings */
.product-image-link {
    position: relative;
    display: block;
    overflow: hidden;
}

.wd-acf-hover-image {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.product-image-link:hover .wd-acf-hover-image {
    opacity: 1;
}

.wd-acf-hover-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* Kolekcje badges */
.kolekcja-image-wrap {
    position: relative;
}

.kolekcja-badges {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 4px;
    padding: 8px;
    font-weight: 600;
}

.kolekcja-badges--product {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 3;
}

.kolekcja-badge {
    padding: 4px 8px;
}

/* Collections view on pomieszczenia child category pages */
.szynaka-kolekcje-view .shop-loop-head,
.szynaka-kolekcje-view .wd-shop-tools,
.szynaka-kolekcje-view .woodmart-filters-area,
.szynaka-kolekcje-view .wd-active-filters {
    display: none !important;
}

.szynaka-kolekcje-view .szynaka-filters,
.szynaka-kolekcje-view .products.wd-products {
    display: none !important;
}

.szynaka-kolekcje-view .kolekcje-lista {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* English catalogue mode — hide cart icon and all add-to-cart elements */
html[lang^="en"] .wd-header-cart,
html[lang^="en"] form.cart,
html[lang^="en"] .single_add_to_cart_button,
html[lang^="en"] .woocommerce-variation-add-to-cart,
html[lang^="en"] .add_to_cart_button,
html[lang^="en"] .wd-add-btn {
    display: none !important;
}

.wrapp-swatches {
    display: none !important;
}

.product-labels {
    display: none !important;
}