/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
.normal-text a {
    text-decoration: underline;
}

.section-title b {
    background-color: var(--primary-color);
    opacity: 1;
    height: 1px;
}

.page-wrapper {
    padding: 0;
}

.topbar-sales {
    list-style-type: none;
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.topbar-sales li {
    margin-bottom: 0;
    font-size: 13px;
}

.topbar-sales li a {
    color: white;
    text-transform: uppercase;
}

.topbar-sales li a span {
    color: var(--primary-color);
}

.header-search-form-wrapper .searchform-wrapper .searchform .search-field {
    border-radius: 5px !important;
    background-color: white !important;
    color: #323640 !important;
    height: 40px;
}

.header-search-form-wrapper
.searchform-wrapper
.searchform
.search-field::placeholder {
    color: #323640 !important;
}

.header-search-form-wrapper .searchform-wrapper .searchform .submit-button {
    color: #323640 !important;
}

.nav-dark .nav > li.header-divider {
    border-color: var(--primary-color);
}

.row-main {
    border: solid 1px #d3d6dc;
    border-top: 0;
    border-bottom: 0;
    background-color: #fff;
}

.rank-math-breadcrumb p {
    font-size: 0.9rem;
    padding: 5px 0;
    border-bottom: 1px solid #d3d6dc;
    margin-bottom: 10px;
}

.rank-math-breadcrumb .separator {
    margin: 0 5px;
}

.rank-math-breadcrumb .last {
    font-weight: bold;
}

.wn-list-brand-vertical {
    list-style-type: none;
}

.wn-list-brand-vertical li {
    margin-left: 0 !important;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: solid 1px #d7d7d7;
    padding-left: 10px;
    font-size: 13px;
}

.wn-list-brand-grid .col-inner {
    border: solid 1px #d7d7d7;
    padding: 5px;
}

.main-slider {
    margin-left: -15px;
    margin-right: -15px;
    width: auto;
    max-width: none !important;
}

.gallery-partners .box {
    border: 1px solid #d7d7d7;
}

.gallery-partners .flickity-prev-next-button {
    top: 20%;
}

.usp {
    background-color: var(--primary-color);
    padding: 5px 0;
}

.usp .col-inner a {
    color: white;
    font-weight: bold;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
}

.usp .col-inner a img {
    height: 30px;
}

.absolute-footer {
    display: none;
}

#footer .ux-menu-link__link {
    font-size: 0.85rem;
}

.wn-subscribe p {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-bottom: 0;
    gap: 8px;
}

.wn-subscribe .wpcf7-submit,
.wn-subscribe .wpcf7-form-control {
    margin: 0;
}

.wn-subscribe .wpcf7-spinner {
    display: none;
}

.social-icons .button {
    margin-bottom: 0;
}

.related-products-wrapper {
    border-top: none;
}

.product-section {
    border-top: none;
}

.product-section-title-related,
.product-section-title-upsell {
    display: none;
}

.product-small.box {
    border: 1px solid #d7d7d7;
    padding: 15px;
}

.product-small.box .box-text-products {
    padding-bottom: 0;
}

.product-small.box .product-title {
    font-weight: bold;
}

.product-small.box .add-to-cart-button .button {
    background-color: #21bf22;
    width: 100%;
}

.shop-page-title {
    display: none;
}

.category-page-row {
    padding-top: 0;
}

.shop-sorting-wrapper {
    text-align: right;
}

#wide-nav .flex-left {
    width: 100%;
}

#mega-menu-wrap-primary #mega-menu-primary {
    justify-content: space-between;
}

#mega-menu-primary > .mega-menu-item > .mega-sub-menu {
    border-bottom: 4px solid #fd5f1a !important;
}

.wn-product-result {
    margin-left: 0 !important;
}

.wn-product-result .button,
.wn-product-result .added_to_cart {
    margin-left: auto;
    margin-right: 0;
}

.list-gallery .box-image {
    border: solid 1px #d7d7d7;
}

.blog-wrapper .page-title {
    margin-top: 30px;
}


/* Contact Form 7 styles moved to cf7-styles.css */

@media only screen and (max-width: 48em) {
    /*************** ADD MOBILE ONLY CSS HERE  ***************/
    /* AJAX search results: put add-to-cart on new line full width */
    .wn-product-result {
        flex-wrap: wrap;
    }

    .wn-product-result .wn-product-result-meta {
        flex: 1 1 100%;
    }

    .wn-product-result .button,
    .wn-product-result .added_to_cart {
        width: 100%;
        margin-left: 0;
        margin-top: 8px;
    }

    /* AJAX search results: thumbnail width/height 100px */
    .wn-product-result img {
        width: 100px !important;
        height: 100px !important;
        flex: 0 0 100px;
        object-fit: cover;
    }
}


/* Product Detail Tab */
.nav-tabs + .tab-panels {
    padding: 15px;
}

.product-line {
    border-bottom: solid 1px #D7D7D7;
    margin: 15px 15px 0 15px;
}

.wn-grouped-product-item .product-info {
    display: flex;
    height: 100%;
    flex-direction: column;
}

.wn-grouped-product-item .price-wrapper {
    display: flex;
    flex-direction: column-reverse;
    gap: 5px;
    align-items: end;
}

.wn-grouped-product-item .price-wrapper ins {
    font-size: 1rem;
    font-weight: bold;
}

.wn-grouped-product-item .price-wrapper del {
    font-size: .75rem;
}

.wn-grouped-product-item .product-action-wrapper {
    width: fit-content;
    display: flex;
    flex-direction: column;
    align-items: end;
    gap: .5rem;
}

.wn-grouped-product-item .product-action-wrapper button {
    margin: 0;
}

.wn-grouped-product-item .product-quantity-wrapper {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.wn-grouped-product-item .product-title {
    font-size: 15px;
    font-weight: bold;
}

.wn-grouped-product-item .product-attributes {
    font-size: 12px;
    color: #9FA6B5;
    display: flex;
    align-items: center;
    margin-top: 8px;
}

.wn-grouped-product-item .product-availability {
    margin-top: auto;

}

.wn-grouped-product-item .product-attributes > * {
    margin-right: 15px;
}

.wn-grouped-product-item .product-attributes span {
    font-weight: bold;
}

.wn-grouped-product-item .product-short-description {
    font-size: 13px;
    color: #323640;
    margin-top: 8px;
}

.wn-grouped-product-item .stock {
    display: flex;
    align-items: center;
    color: #21BF22;
    font-size: 14px;
    gap: 8px;
}

.wn-grouped-product-item .stock:before {
    content: '';
    display: block;
    border-radius: 50%;
    width: 13px;
    height: 13px;
    background: #21BF22;
}

