/*
Theme Name:        Florz
Text Domain:       florz
Version:           1.0.0
Description:       Flooring & Tiling WordPress Theme
Tested up to:      6.7
Requires at least: 6.2
Requires PHP:      7.0
Tags:              portfolio
Author:            Pixelwars
Author URI:        https://themeforest.net/user/pixelwars
Theme URI:         https://themeforest.net/user/pixelwars/portfolio
License:           ThemeForest License
License URI:       https://themeforest.net/licenses
Domain Path:       /languages
*/


/*
    Do not remove any of the commented text above as it is used by the theme for proper function!
*/


/* Plugin: "Top 10 - Popular Posts" */

.tptn_counter {
	display: none;
}

/* Plugin: "Top 10 - Popular Posts" */


/* Sub Menu */

.is-submenu-dark .nav-menu ul ul li a:hover {
	color: #0a0a0a;
}

/* Sub Menu */

/* =========================
   PRIME SLIDER: remove blur
   ========================= */
[class*="elementor-widget-prime-slider"] *,
[class*="bdt-prime-slider"] *,
.bdt-prime-slider * {
  filter: none !important;
  -webkit-filter: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* =================================
   HEADER: hide search + cart icon(s)
   ================================= */
header form[role="search"],
header .search-form,
header .header-search,
header .menu-search,
header .site-search,
header .search-field,
header .search-submit,
.site-header a.search-toggle.toggle-link,
.site-header a.search-toggle,
.site-header .search-container,
header .cart-contents,
header .header-cart,
header .menu-cart,
header .wcmenucart,
header .woocommerce-mini-cart,
header .mini-cart,
header a[href*="cart"],
header a[href*="checkout"],
header li.menu-item-type-woocommerce-cart,
header li.menu-item a[href*="cart"],
header li.menu-item a[href*="checkout"],
.site-header a.shopping-cart {
  display: none !important;
}

/* ===========================
   SLIDER MOBILE: image crop
   (3rd slide centered only)
   =========================== */
@media (max-width: 767px) {
  .bdt-prime-slider .swiper-slide-bg,
  .bdt-prime-slider [style*="background-image"] {
    background-position: left center !important;
  }

  .bdt-prime-slider img,
  .bdt-prime-slider .swiper-slide img {
    object-position: left center !important;
  }

  /* 3rd slide (index 2) centered */
  .bdt-prime-slider .swiper-slide[data-swiper-slide-index="2"] .swiper-slide-bg,
  .bdt-prime-slider .swiper-slide[data-swiper-slide-index="2"] [style*="background-image"] {
    background-position: center center !important;
  }

  .bdt-prime-slider .swiper-slide[data-swiper-slide-index="2"] img {
    object-position: center center !important;
  }
}

/* ===========================
   COPYRIGHT: credit link black
   =========================== */
.site-info a,
.site-info a:visited,
.site-info a:hover,
.site-info a:focus {
  color: #000 !important;
}

/* ==========================================
   FLORZ: Mobile logo centered
   Hide logo only when mobile menu is open
   ========================================== */
@media (max-width: 767px) {
  html.is-header-small #masthead.site-header .site-branding {
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    width: auto !important;
    max-width: calc(100% - 120px) !important;
    text-align: center !important;
    align-items: center !important;
  }

  html.is-header-small #masthead.site-header .site-title,
  html.is-header-small #masthead.site-header .site-title a {
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 0 !important;
  }

  html.is-menu-toggled-on #masthead.site-header .site-branding {
    opacity: 0 !important;
    pointer-events: none !important;
  }

  #masthead.site-header .site-title img {
    max-height: 90px !important;
    width: auto !important;
  }

  #masthead.site-header {
    min-height: 120px !important;
  }

  #masthead.site-header .header-wrap,
  #masthead.site-header .header-wrap-inner {
    padding-top: 18px !important;
    padding-bottom: 18px !important;
  }
}

/* ===========================
   WooCommerce pagination
   =========================== */
.woocommerce nav.woocommerce-pagination,
.woocommerce-pagination,
nav.woocommerce-pagination {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  height: auto !important;
  overflow: visible !important;
  margin-top: 30px !important;
}

/* ==========================================
   Single product header: center breadcrumbs
   ========================================== */
.single-product .shop-header .woocommerce-breadcrumb {
  text-align: center;
  margin: 8px 0 12px;
}

.single-product .shop-header .woocommerce-breadcrumb a {
  display: inline-block;
}

/* ===========================
   Hide WooCommerce prices
   =========================== */
.woocommerce .price,
.woocommerce-price-amount,
.woocommerce-Price-amount,
.woocommerce div.product p.price,
.woocommerce div.product span.price,
.woocommerce ul.products li.product .price,
.woocommerce-cart .cart_item .product-price,
.woocommerce-cart .cart_item .product-subtotal,
.woocommerce-checkout-review-order-table .product-total,
.woocommerce-checkout-review-order-table .cart-subtotal,
.woocommerce-checkout-review-order-table .order-total {
  display: none !important;
}

/* Hide variation price/output area completely */
.woocommerce div.product form.cart .single_variation,
.woocommerce div.product form.cart .woocommerce-variation,
.woocommerce div.product form.cart .woocommerce-variation-price,
.woocommerce div.product form.cart .woocommerce-variation-availability,
.woocommerce div.product form.cart .woocommerce-variation-description {
  display: none !important;
}

/* Remove borders/padding/margins from variation wrappers */
.woocommerce div.product form.cart .single_variation_wrap,
.woocommerce div.product form.cart .woocommerce-variation-wrap,
.woocommerce div.product form.cart .variations {
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

.woocommerce div.product form.cart .single_variation_wrap {
  padding: 0 !important;
  margin: 0 !important;
}

.woocommerce div.product form.cart .woocommerce-variation.single_variation {
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* ==========================================
   Florz: widen dropdown submenu
   ========================================== */
.site-navigation .nav-menu .sub-menu {
  min-width: 350px;
  padding: 14px 16px;
}
