/*
Theme Name: Porto Child
Theme URI: https://www.portotheme.com/wordpress/porto
Author: NathanKun
Author URI: https://catprogrammer.com/
Description: Porto Chile Theme for Vie Casa.
Version: 1.0
Template: porto
License: Commercial
License URI: http://themeforest.net/licenses/regular_extended
Tags: woocommerce, corporate, ecommerce, responsive, blue, black, green, white, light, dark, red, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, fixed-layout, responsive-layout, custom-menu, editor-style, featured-images, flexible-header, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready, accessibility-ready
*/

/*************** ADD YOUR CUSTOM CSS HERE  ***************/

html,
body {
  height: 100% !important;
}

.page-wrapper {
  display: flex;
  flex-direction: column;
  height: 100%;
}

#main {
  width: 100%;
}

.footer-wrapper {
  margin-top: auto;
}

.shop-loop-before {
  background-color: #fff !important;
}

/* Breadcrumbs font size */
.page-top .rank-math-breadcrumb {
  font-size: 1.125em;
}

/* Product Archive - Product Block */
/* Text style */
.product-content {
  text-align: left !important;
}

.product-content > .category-list {
  font-size: 1em !important;
  opacity: 1 !important;
  line-height: 1 !important;
  margin-bottom: 0.125em !important;
}

.product-content .woocommerce-loop-product__title {
  font-size: 1em !important;
  margin-bottom: 0.125em !important;
}

.product-content > .price {
  font-size: 1em !important;
  font-weight: inherit !important;
  color: #000 !important;
}

/* add to bag btn & read more btn style */
.product-content .add-links {
  width: 100% !important;
}

.product-content .add-links .add_to_cart_button,
.product-content .add-links .add_to_cart_read_more {
  width: 100%;
}

.product-content .add-links .add_to_cart_button:before,
.product-content .add-links .add_to_cart_read_more:before {
  content: none;
}

li.product-default:hover .product-content .add-links .add_to_cart_button,
li.product-default:hover .product-content .add-links .add_to_cart_read_more {
  width: 100% !important;
}

/* product block align to bottom */
.product-default {
  display: flex;
  height: auto;
}
.product-default .product-inner {
  align-self: flex-end;
}

/* prevented the overflow cause by long product title */
.product-default .product-inner {
  min-width: 0;
}

/* fix mobile page not scrollable */
@media (max-width: 767px) {
  .page-wrapper {
    overflow: visible;
  }
}

/* mobile fixed menu */
.header-wrapper.fixed-header #nav-panel {
  background: #fffc;
}

/* hide PLP filter in mobile  */
.porto-product-filters-toggle {
  display: none !important;
}

/* header */
@media (min-width: 992px) {
  .header-bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
  }

  /* container-fluid */
  .header-row.container {
    padding-right: 30px;
    padding-left: 30px;
    margin-right: auto;
    margin-left: auto;
    max-width: none;
  }

  /* header main col width */
  .header-main .header-left {
    width: 20%;
  }
  .header-main .header-center {
    width: 60%;
  }
  .header-main .header-right {
    width: 20%;
  }

  /* transparent header if in front of a banner ( fixed header) */
  .fixed-header #header .header-top,
  .fixed-header #header .header-main {
    background-color: transparent !important;
  }

  /* align header main cols */
  .header-main .header-row {
    align-items: flex-end !important;
  }

  /* add padding bottom for each row */
  .header-col-wide {
    padding-bottom: 20px;
  }

  /* remove header-bottom top border */
  .header-bottom {
    border: 0;
  }

  /* change menu item hover\'s subline thickness */
  .mega-menu.menu-hover-line li.menu-item a:before {
    height: 1px;
  }

  /* mega menu */
  /*
	.header-main .header-col, .mega-menu li.menu-item {
		position: static !important;
	}

	.mega-menu li.menu-item .popup {
		display: block;
		position: absolute;
		left: 0 !important;
		right: 0 !important;
		min-height: 450px;
		padding-left: 8%;
		padding-right: 8%;
		margin: -12px 0 0 0;
		background-color: white;
		width: 100vw !important;
		background-color: #faf9f8;
		box-shadow:none;
	}
	
	.mega-menu li.menu-item .popup .inner {
		background-color: transparent;
	}*/

  /* mega menu: transparent header(fixed header) */
  /*
	.fixed-header .mega-menu li.menu-item .popup {
		background-color: rgba(50, 50, 50, 0.85);
	}
	.fixed-header #header .main-menu .wide li.sub a {
		color: #fff;
	}
	.fixed-header #header .main-menu .wide li.sub li.menu-item a,
	.fixed-header #header .main-menu .popup a
	{
		color: #ccc;
	}
}*/

  #header .feature-box p {
    line-height: 1.5;
  }

  /* search bar style */
  .dgwt-wcas-search-input {
    background-color: transparent !important;
    border: 0 !important;
    border-bottom: 1px solid #222 !important;
    border-radius: 0 !important;
    box-sizing: border-box !important;
  }

  /* search bar remove focus shadow */
  .dgwt-wcas-search-input:hover {
    box-shadow: none !important;
  }

  /* search bar placeholder style */
  input.dgwt-wcas-search-input::placeholder {
    color: rgb(0, 0, 0) !important;
    font-style: normal !important;
    font-size: 12px !important;
    font-family: Montserrat, sans-serif;
  }

  /* search bar search icon color */
  .dgwt-wcas-ico-magnifier > path {
    fill: rgb(0, 0, 0) !important;
  }

  /* reduce search bar preloader/close icon width */
  .dgwt-wcas-preloader {
    width: 22px;
  }
}
/* header end */

/* footer */

/* lang selector: hide marker and center text */
.viecasa-footer li.lang-item {
  list-style-type: none;
  text-align: center;
}

/* viecasa & you menu */
.viecasa-footer .widget_sidebar_menu,
.viecasa-footer .widget-title {
  background: transparent;
  border: unset;
}

.viecasa-footer .widget-title {
  font-weight: 400;
  font-size: 1.25em;
  margin: 0 0 1.25em 0;
  padding: 0;
}

.viecasa-footer .widget_sidebar_menu .sidebar-menu a {
  margin: 0;
  font-weight: 400 !important;
  font-size: 1.1em !important;
  padding: 0 0 0.5em 0;
  color: #ddd !important;
  text-transform: none !important;
}

.viecasa-footer .widget_sidebar_menu .sidebar-menu a:hover {
  color: #fff !important;
}

.viecasa-footer .widget_sidebar_menu .sidebar-menu li.menu-item:hover {
  background: unset;
}

.viecasa-footer .wp-block-polylang-language-switcher {
  padding-left: 0;
}
/* footer end */

/* Custom CSS classes */
.vc-color-white {
  color: #fff !important;
}
.vc-color-white * {
  color: #fff !important;
}
