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

/* ========================
 * ANNOUNCEMENT BAR STYLES
 * ======================== */

/* Announcement bar styling */
.themify_announcement.bar {
  padding: 0;
  height: 50px;
  position: static;
}

.themify_announcement.bar .announcement_content {
  margin: 0;
}

.announcement_post {
  padding: 5px 0 0;
}

/* ========================
 * YITH FILTER STYLES
 * ======================== */

    /* hide default WooCommerce ordering dropdown */
    .woocommerce-ordering {
        display: none;
    }

    /* YITH filter opener spacing */
    .yith-wcan-filters-opener {
        margin-bottom: 30px;
    }

    /* YITH filters: horizontal layout spacing */
    .yith-wcan-filters.horizontal:not(.filters-modal) .yith-wcan-filter {
        padding-right: 15px;
    }

    /* YITH filters: collapsable filter count spacing */
    .yith-wcan-filters.horizontal:not(.filters-modal) .yith-wcan-filter .filter-title.collapsable span.filter-count {
        padding-bottom: 2px;
    }

    /* YITH modal button style */
    .yith-wcan-filters.filters-modal .main-modal-button {
        color: #FFFFFF;
    }

    /* YITH reset filters button styling */
    .btn.btn-primary.yith-wcan-reset-filters.reset-filters {
        background-color: #FFA600;
        color: #FFFFFF;
        padding-top: 3px;
        padding-bottom: 3px;
        margin-top: 1px;
    }

    /* YITH reset filters button hover state */
    .btn.btn-primary.yith-wcan-reset-filters.reset-filters:hover {
        background-color: #000000;
        color: #FFFFFF;
    }

    /* adjust spacing for star rating items in YITH filters */
    .yith-wcan-filters .yith-wcan-filter .filter-items .filter-item .star-rating {
        line-height: 0.8;
        padding-bottom: 20px;
    }

/* YITH filters: title size & centre forms on desktop only, exclude mobile */
@media (min-width: 1025px)  {

        /* title size for YITH filters (desktop only) */
        .yith-wcan-filters .filter-title {
            font-size: 16px !important;
        }
	
	/* centre YITH filters (desktop only */
.filters-container {
            text-align: center;
        }
}

        /* exclude opened YITH filter titles from centering */
        .yith-wcan-filters.horizontal:not(.filters-modal) .yith-wcan-filter .filter-title.collapsable.opened + .filter-content {
            text-align: left;
        }

/* ========================
 * POPUP CART STYLES
 * ======================== */

/* Fix cart quantity spacing */
.xoo-wsc-qty {
  margin-bottom: 0;
}

/* Ensure buttons have white text on mobile, even without hover */
@media screen and (max-width: 767px) {
  .xoo-wsc-sp-product .button,
  input[type=button].button,
  input[type=reset].button,
  input[type=submit],
  input[type=submit].button {
    background-color: var(--fs-color-primary);
    border-color: rgba(0, 0, 0, 0.05);
    color: #fff !important;
  }
}