/*!
Theme Name: Furniture Story Child
Theme URI: https://furniture-story.co.uk/
Author: Michał Maj
Author URI: https://mehowmy.com/
Description: Furniture Story Theme
Template: furniture-story
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: furniture-story
*/

.pisol-woocommerce-shipping-calculator .button {
    width: 100%;
}

#pisol-ppscw-alert-container {
    width: 100%;
}

.pisol-shipping-calculator-button {
    margin-bottom: 15px !important;
}

.pisol-shipping-calculator-form {
    border-width: 0px;
}

.pisol-ppscw-container {
    padding: 20px;
    background-color: #f0f0f0;
    border-radius: 10px;
}

.pisol-ppscw-alert ul {
    margin-bottom: 0;
}

.pisol-ppscw-alert ul li:last-of-type {
    margin-bottom: 0;
    padding-bottom: 0;
}

.pisol-ppscw-alert {
    background-color: #ffffff;
    padding: 15px;
    border-radius: 10px;
}

.tinv-wishlist.woocommerce img,
.tinv-wishlist.woocommerce-page img {
    height: 70px;
    width: 70px;
    object-fit: contain;
    border: 1px solid #f0f0f0;
}

.tinv-wishlist .product-name a {
    color: #000000;
    font-weight: 400;
    text-decoration: none;
}

.tinv-wishlist .product-name a:hover {
    color: #a97120;
}

.tinv-wishlist table thead tr th {
    border-bottom: 2px solid #f0f0f0;
    text-align: left;
    font-weight: 400;
}

.woocommerce.tinv-wishlist button {
    white-space: nowrap;
    cursor: pointer;
}

.tinv-wishlist table td,
.tinv-wishlist table th {
    padding: 0.5em;
}

.tinv-wishlist table tbody tr:nth-of-type(even) {
    background-color: #fafafa;
}

.tinvwl-input-group .form-control,
.tinvwl-input-group-addon,
.tinvwl-input-group-btn {
    min-height: 46px;
}

.tinv-wishlist table.tinvwl-table-manage-list {
    border-collapse: collapse;
}

.tinv-wishlist td.product-name .variation {
    display: none;
}

.tinv-wishlist tfoot tr td {
    padding-top: 3em;
}

.tinv-wishlist .tinv-lists-nav {
    margin-top: 5em;
    margin-bottom: 3em;
}

.tinv-wishlist table input[type=checkbox] {
    cursor: pointer;
}

.tinvwl-after-add-to-cart.tinvwl-loop-button-wrapper {
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    z-index: 10;
    font-weight: 500;
}

.tinvwl-after-add-to-cart.tinvwl-loop-button-wrapper a:hover {
    color: #a97120;
}

div.product form.cart .tinvwl_add_to_wishlist_button {
    display: inline-block;
    text-align: center;
    width: 100%;
    background-color: #efefef;
    border: 0;
    padding: 0.6em;
    border-radius: 30px;
    font-weight: 600;
    color: #000000;
    transition-property: color, background-color;
    transition-duration: 0.2s;
    margin-top: 1em;
}

div.product form.cart .tinvwl_add_to_wishlist_button:hover {
    background-color: #a97120;
    color: #ffffff;
}

ul.products li.product .tinvwl_add_to_wishlist_button {
    margin-top: 0;
    font-size: 1.3rem;
    text-align: right;
    line-height: 1;
}

ul.products li.product .tinvwl_add_to_wishlist_button:hover,
ul.products li.product .tinvwl_add_to_wishlist_button:focus {
    color: #a97120;
}

.hint--top:before {
    border-top-color: #000000;
}

[class*=hint--]:after {
    background-color: #000000;
    font-family: inherit;
    border-radius: 10px;
    text-shadow: none;
    box-shadow: none;
}

.woosc-area .woosc-inner .woosc-bar .woosc-bar-print,
.woosc-area .woosc-inner .woosc-bar .woosc-bar-share,
.woosc-area .woosc-inner .woosc-bar .woosc-bar-search {
    background-color: #a97120;
    color: #ffffff;
    border-radius: 50%;
}

.woosc-area .woosc-inner .woosc-bar .woosc-bar-btn {
    border-radius: 30px;
    overflow: hidden;
}

.woosc-area .woosc-inner .woosc-bar.woosc-bar-open {
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.1);
}

.woocommerce .button.btn-add-compare {
    width: 100%;
    background-color: #ffffff;
    border: 1px solid #a97120;
    color: #a97120;
    margin-top: 1em;
}

.woosc-list .attributes-list .single-attribute,
.woosc-area .attributes-list .single-attribute {
    display: flex;
    margin-bottom: 0.5em;
    white-space: nowrap;
}

.woosc_table .tr-default td {
    padding-top: 0.5em;
    padding-bottom: 0.5em;
}

.woosc-list .attributes-list .single-attribute .single-attribute__value p,
.woosc-area .attributes-list .single-attribute .single-attribute__value p {
    margin: 0;
}

.woosc-list .attributes-list .single-attribute .single-attribute__value,
.woosc-area .attributes-list .single-attribute .single-attribute__value {
    padding: 0 0 0 5px;
    font-weight: 600;
}

.woosc-area .woosc-inner .woosc-table .woosc-table-inner .woosc-table-items table thead tr th a {
    text-transform: none;
}

.woosc-area .woosc-inner .woosc-table .woosc-table-inner .woosc-table-items table thead tr th a:hover {
    color: #a97120;
}

.woosc-list tr:nth-of-type(even) {
    background-color: #f0f0f0;
}

.td-label {
    font-weight: 600;
    padding-right: 0.5em;
    padding-left: 0.5em;
}

.woosc-list .add_to_cart_button {
    margin-right: 0.5em !important;
}

.woosc_table {
    border: 0;
    border-collapse: collapse;
}

.woosc-area .woosc-inner .woosc-table .woosc-table-inner .woosc-table-items table tbody tr:hover td {
    background-color: #efefef;
}

.products .product .woosc-btn {
    position: absolute;
    top: 3rem;
    right: 1rem;
    padding: 0;
    border: 0;
    z-index: 10;
    margin-top: 0 !important;
    width: auto;
    font-size: 1.3rem;
    line-height: 1;
    border: 0;
    background-color: transparent;
    text-align: right;
}

.products .product .woosc-btn:hover {
    background-color: transparent;
    color: #a97120;
}

.tinv-wishlist .tinvwl_add_to_wishlist_button.tinvwl-icon-heart:before,
.woocommerce ul.products li.product a.tinvwl-button.tinvwl_add_to_wishlist_button.tinvwl-icon-heart:before,
.woocommerce-page ul.products li.product a.tinvwl-button.tinvwl-icon-heart.tinvwl_add_to_wishlist_button:before,
a.wishlist_products_counter.top_wishlist-heart:before,
span.wishlist_products_counter.top_wishlist-heart:before,
a.sidr-class-wishlist_products_counter.sidr-class-top_wishlist-heart:before {
    font-size: 17px;
    margin-right: 2px;
}

.pisol-shipping-calculator-button.button {
    margin-bottom: 0 !important;
}

#pisol-ppscw-error .woocommerce-error li {
    margin: 0;
}

a.snap__button--apply {
    color: white;
}

#imega-widget-anchor {
    max-width: 100% !important;
}

.productwrap__details .woosc-btn-icon,
.productwrap__details .woosc-btn-text {
    color: #a97120;
}

.tab-content {
    word-break: break-word;
}

.dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input {
    border-radius: 10px !important;
    border: 1px solid #efefef !important;
}

button#category_more {
    background-color: #a97120;
    color: #ffffff;
    font-weight: 500;
    padding: 15px 35px;
    min-width: 150px;
    font-size: 1.6rem;
    border-radius: 25px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    margin-top: 3rem;
}

body.single-product .gallery__customers img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

/* product gallery */

.single-product.woocommerce .product .product__grid .grid__images .images__main {
    border: 0 !important;
}

.single-product.woocommerce .product .product__grid .grid__images .images__main .main__list.splide__list {
    display: flex !important;
    flex-wrap: wrap;
}

@media (min-width: 576px) and (max-width: 991.98px) {

    .single-product.woocommerce .product .product__grid .grid__images .images__main .main__list.splide__list .splide__slide {
        width: 50% !important;
        padding: 1rem;
    }
}

@media (min-width: 992px) {

    .single-product.woocommerce .product .product__grid .grid__images .images__main .main__list.splide__list .splide__slide {
        width: 33.3% !important;
        padding: 1rem;
    }

}

.new_account_type {
    display: flex;
    margin-bottom: 2rem;
}

.new_account_type input {
    margin-right: 5px;
}

.new_account_type label {
    margin-right: 2rem;
}

.b2b_page_1 form {
    max-width: 450px;
}

.b2b_page_1 textarea {
    height: 100px;
}

.tax-product_cat ul.products li.product.sale {
    position: relative;
}

.tax-product_cat ul.products li.product.sale:before {
    content: '';
    height: 100px;
    width: 100px;
    border: 0;
    position: absolute;
    left: -20px;
    top: -20px;
    background-image: url(https://furniture-story.co.uk/wp-content/uploads/2025/03/sticker-sale-product.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    z-index: 10;
}

.tax-product_cat ul.products li.product.sale:after {
    content: "-" attr(data-sale) "%";
    height: 45px;
    width: 100px;
    font-size: 25px;
    border: 0;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    left: -22px;
    top: 32px;
    color: #ffffff;
    font-weight: 700;
    z-index: 10;
}

.price_b2b_1,
.price_b2b_2 {
    font-size: 20px !important;
}

.price_b2b_2 bdi {
    color: #da1616 !important;
}

.price_b2b_1 del {
    display: none !important;
}

.price_b2b_1 ins {
    background: unset !important;
    font-weight: 700 !important;
    color: #da1616 !important;
}

/* blog */

.post-grid {
    grid-template-columns: repeat(3, 1fr) !important;
}

@media (min-width: 1200px) {

    .blog_main_category_3 {
        width: 75%;
    }

    .blog_main_category_1 {
        display: flex;
    }

    .blog_main_category_2 {
        padding-left: 3rem;
        width: 25%;
    }

}

@media (max-width: 1199.98px) {

    .blog_main_category_3 .posts-navigation {
        margin-top: 50px !important;
        margin-bottom: 50px;
    }

    .blog_main_category_1 .post-grid {
        display: block !important;
    }

    .blog_main_category_1 .post-grid article {
        margin-bottom: 4rem;
    }

    .blog_main_category_1 {
        display: flex;
        flex-direction: column;
    }

    .blog_main_category_2 {
        padding-left: 0;
        width: 100%;
    }

}

.widget.widget-category-post .search-submit {
    margin-top: 2rem;
}

.widget.widget-category-post {
    margin-bottom: 3rem;
}

.widget.widget-category-post h2 {
    margin-top: 0 !important;
    font-size: 20px;
}

.widget.widget-category-post ul {
    list-style: none;
}

.offcanvas .offcanvas__content .content__action {
    height: 140px !important;
    flex-direction: column;
}

.offcanvas .offcanvas__content .content__action button.close {
    margin-bottom: 1.5rem;
}

.woocommerce ul.products li.product.sale .productwrap .productwrap__img .express-dispatch,
.woocommerce .products li.product.sale .productwrap .productwrap__img .express-dispatch {
    margin-left: 8rem;
}

.list_element_customer {
    width: 100% !important;
    display: block !important;
}

.gallery__img_customer {
    display: block !important;
}

.glider-slide_customer {
    width: 100% !important;
    min-width: 100% !important;
    display: block !important;
}

#product-gallery-main .glider-slide {
    justify-content: unset !important;
}

#product-gallery-main .splide__track {
    overflow: auto !important;
}

.fancy-page .fancy-page__checkerboard .checkerboard__grid .grid__form p.h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.1;
    clear: both;
}

.woocommerce-MyAccount-content .woocommerce-EditAccountForm.edit-account [for="mailchimp_woocommerce_is_transactional"] {
    display: none !important;
}

.offcanvas .offcanvas__content .content__body {
    overflow: hidden !important;
}

.offcanvas .offcanvas__content .content__body .fabric-gallery {
    overflow-y: auto !important;
    overflow-x: hidden !important;
    height: 88%;
}

.vh {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.tree_cat_prod_1 li,
.tree_cat_prod_1 summary,
.tree_cat_prod_0 {
    list-style: none;
}

.tree_cat_prod_0_a {
background: #f0f0f0;
padding-left: 1rem;
padding-right: 1rem;
}

.tree_cat_prod_1 summary {
    position: relative;
}

.tree_cat_prod_1 summary,
li.tree_cat_prod_3 {
    padding-left: 30px;
}

ul.tree_cat_prod_4 {
    padding-left: 45px;
}

.tree_cat_prod_1 summary,
li.tree_cat_prod_3 {
    font-weight: 700;
    text-transform: uppercase;
}

.tree_cat_prod_1 summary:before {
    content: '+';
    background: #a97120;
    color: #ffffff;
    font-weight: 500;
    border-radius: 100%;
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 0;
    top: 2px;
}

.tree_cat_prod_1 .cmplz-category.cmplz-functional[open] summary:before {
    content: '-' !important;
}

.tree_cat_prod_1{
    margin-top: 0 !important;
}

li.tree_cat_prod_2,
li.tree_cat_prod_3 {
    border-top: 1px solid #ffffff;
    border-bottom: 1px solid #ffffff;
    margin: 0 !important;
    padding-top: 10px;
    padding-bottom: 10px;
}

.tree_cat_prod_0 svg{
    margin-right: 1rem;
}

.tree_cat_prod_0{
    text-transform: uppercase;
    font-size: 20px;
    font-weight: 700;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    padding: 1rem;
}

.tree_cat_prod_global {
    margin-bottom: 2rem;
}

.tree_cat_prod_global, .tree_cat_prod_1{
    width: 100%;
}

@media (min-width: 1100px) {
    .tree_cat_prod_global{
        display: none !important;
    }
}

.links-sidebar ul {
    columns: 4;
}
@media (max-width: 1199.98px) {
    .links-sidebar ul {
        columns: 3;
    }
}

@media (max-width: 991.98px) {
    .links-sidebar ul {
        columns: 2;
    }
}

@media  (max-width: 576px) {
    .links-sidebar ul {
        columns: 1;
    }
}
.links-sidebar ul li {
    margin: 0;
}

.top-bar .top-bar__container .widget-top-bar-left a.fs-widget-social-item:not(:last-of-type) {
    margin-right: 0;
}

.top-bar .top-bar__container .widget-top-bar-left:nth-child(2) {
    margin-left: auto;
}
.main-header .main-header__container .main-header__site-branding a img {
    max-width: 130px;
}
.main-header .main-header__container .main-header__sidebar-search {
    width: 500px!important;
}
@media (min-width: 992px) {

    .woocommerce-shop-wrapper {
        display: grid;
        grid-template-columns: 24rem calc(100% - 27rem);
        gap: 3rem;
    }

    .filtering-tabs-wrapper {
        flex-direction: column;
    }
    .filtering-form {
        flex-direction: column;
        align-items: center;
        gap: 3rem;
    }
    .filtering-submit {
        flex-direction: row;
        width: 100%;
    }
    .filtering-groups {
        width: 100% !important;
        padding-left: 0!important;
    }
}

