/*
Theme Name: Most (Child Theme)
Theme URI: http://madsparrow.us/
Author: Mad Sparrow
Author URI: https://themeforest.net/user/madsparrow
Description: Most Creative Agency and Portfolio Theme – The theme is built to take advantage of the Full Site Editing features introduced in WordPress and Elementor plugin, which means that colors, typography, and the layout of every single page on your site can be customized to suit your vision. Whether you want to build a complex or incredibly simple website, you can do it quickly and intuitively through the bundled styles or dive into creation and full customization yourself.
Tags: one-column, two-columns, right-sidebar, custom-menu, post-formats, sticky-post, translation-ready, page transition
Version: 1.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: most
Tags: one-column, two-columns, right-sidebar, flexible-header, accessibility-ready, custom-colors, custom-header, custom-menu, custom-logo, editor-style, featured-images, footer-widgets, post-formats, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready
Template: most
*/

/* Add your own modification from here
-------------------------------------------------------------- */

.home .main-header__layout .main-header__inner .main-header__logo{
	top: 75px;
}


.home .main-header__logo img{
	width: 250px !important;
}

@media only screen and (max-width: 1500px) {
	.home .main-header__logo img{
			width: 190px !important;
	}
	
	
	.home .main-header__layout .main-header__inner .main-header__logo{
	top: 55px;
}

}


.btn-wrap .btn:hover .circle-icon{
 background-color: #791f1e !important;
}

.btn-wrap .btn:hover .circle-icon svg{
	fill: #ffffff !important; 
}

.home{
	overflow-y: hidden;
}
.main-header__layout .main-header__inner .main-header__logo{
	top: 30px;
}

.main-header .action .main-header__logo img{
	transition: 1s ease-in-out;
	width: 80px;
}

.main-header__layout.action .main-header__inner .main-header__logo{
    transform: translateY(calc(-1.3* var(--main-header-height-md)));
}

.main-header__layout.action:hover .main-header__inner .main-header__logo{
	transform: translateY(-33px) !important;
}




/* Logos Reage in Footer */
.logo-footer-light,
.logo-footer-dark {
  display: none;
}

body[data-theme="light"] footer .logo-footer-light {
  display: inline-block;
}


body[data-theme="dark"] footer  .logo-footer-dark {
  display: inline-block;
}


.post-meta-footer{
	display: none !important;
}

.ms-posts--card .grid-item .post-excerpt{
	border-bottom: 0px;
}



#comments{
	display: none !important;
}

.search .ms-sp--header .ms-sp--title{
	margin-top: 9vh;
	font-size: 3em;
    padding-left: calc(var(--bs-gutter-x) / 1.5);
}


.wpcf7>form input[type=submit]{
	padding: 8px 20px 10px 20px;
}


.ms-related-posts .rp-inner__footer .ms-rp--ttr{
	display: none !important;
}


.navigation.post-navigation{
	margin-bottom: 50px !important;
}


.product-brand-grid {
  /* Grid container styles */
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  /* Ensure grid items stretch to full height */
  align-items: stretch;
}

.product-brand-item {
  /* Grid item styles */
  text-align: center;
  /* Create a flex container for vertical alignment */
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-brand-item a {
  /* Make anchor fill container */
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.product-brand-item img {
  /* Image styles */
  max-width: 100%;
  height: auto;
  /* Optional: Add max-height if needed */
  /* max-height: 100px; */
}



.main-header__cart{
	display: none !important;
}


/** Responsive Design **/
@media only screen and (max-width: 1000px) {
	.home .main-header__layout .main-header__inner .main-header__logo{
	top: 25px;
}
	
	
.product-brand-grid{
	grid-template-columns: repeat(3, 1fr) !important;
}
	
	.main-header__logo img{
		width: 100px !important;
		transform: translateY(0px) !important;
	}
	
	.home .main-header__layout .main-header__inner .main-header__logo img{
	transform: translateY(0px) !important;
}
	
	.main-header__layout .main-header__inner .main-header__logo{
		top: 0px !important;
	}
	
	 .main-header__nav {
		top: 80px !important;
	}
	
	
	
	.elementor-782 .elementor-element.elementor-element-dc20e9d .ms-slider--cont .ms-cont__inner{
		margin: 0px 0px 0px 0px !important;
	}
	
	.main-header.ms-nb--transparent .main-header__layout::before{
		 opacity: .7 !important;
    background-color: #000000 !important;
	}
	
}


.woocommerce-ordering .orderby{
    border: 1px solid var(--color-contrast-low);
    display: block;
    color: var(--color-contrast-high);
    width: 100%;
    border-radius: 6pt;
    padding: .5em 1.2em .5em 1.2em;
    height: 45px;
    margin-top: 2pt;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: 0 0;
    background-image: url("data:image/svg+xml,%3Csvg%20fill%3D'black'%20height%3D'24'%20viewBox%3D'0%200%2024%2024'%20width%3D'24'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20d%3D'M7%2010l5%205%205-5z'%2F%3E%3Cpath%20d%3D'M0%200h24v24H0z'%20fill%3D'none'%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position-x: calc(100% - 10px);
    background-position-y: 50%;
    -webkit-transition: border 150ms var(--ease-in-out), -webkit-box-shadow 150ms var(--ease-in-out);
    transition: border 150ms var(--ease-in-out), -webkit-box-shadow 150ms var(--ease-in-out);
    transition: box-shadow 150ms var(--ease-in-out), border 150ms var(--ease-in-out);
    transition: box-shadow 150ms var(--ease-in-out), border 150ms var(--ease-in-out), -webkit-box-shadow 150ms var(--ease-in-out);
}



.woocommerce-result-count {
    margin-left: 0;
    margin-right: auto;
    color: var(--color-contrast-medium);
    margin-bottom: 3rem;
}

.woocommerce form {
	    margin-right: 0;
    margin-left: auto;
    height: 42px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex
;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    margin-bottom: 3rem;
}



.woocommerce.columns-4 {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: space-between !important; 
  align-items: center !important;
}


.woocommerce-notices-wrapper:empty {
  display: none !important;
}



.woocommerce-result-count {
  order: 0 !important; 
}

.woocommerce-ordering {
  order: 0 !important; 
  margin-left: auto !important; 
}

.row.ms-woo-feed {
  width: 100% !important;
}

.product-attributes-table {
    width: 100%;
    margin: 20px 0;
    border-collapse: collapse;
}

.product-attributes-table td {
    padding: 12px;
    border: 1px solid #e4e4e4;
}

.product-attributes-table td:first-child {
    width: 30%;
    font-weight: 600;
    background-color: #f8f8f8;
}

.attribute-filter-link {
    color: #000000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.attribute-filter-link:hover {
    color: #791f1e;
}

.woocommerce-Tabs-panel--additional_information .ms-section-title{
	display: none !important;
}

.ms-single-product .ms-single-product__content .ms-single-product_title{
	font-weight: 700;
	border-left: 2px solid #791f1e;
	padding-left: 10px;
}

/* Attribute table */
.product-attributes-table {
    width: 100%;
    margin: 20px 0;
    border-collapse: collapse;
}

.product-attributes-table td {
    padding: 12px;
    border: 1px solid #e4e4e4;
    vertical-align: middle;
}

.product-attributes-table td:first-child {
    width: 35%;
    background-color: #f8f8f8;
}

/* Attribute icons */
.attribute-icon {
    vertical-align: middle;
    margin-right: 10px;
}


.woocommerce-ordering select option:nth-last-child(-n+2) {
    display: none;
}


.posted_in{
	font-weight: 700;
}

.posted_in a{
	font-weight: 400;
}


.ms-product .ms-product-footer .ms-product-link a::after {
    mask-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgdmlld0JveD0iMCAwIDMyIDMyIj48cGF0aCBkPSJNMTcgN2w4IDktOCA5IiBmaWxsPSJub25lIiBzdHJva2U9IiMwMDAiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+PC9zdmc+);
    margin-left: 3px;
    transition: transform 0.5s ease-in-out, margin-left 0.5s ease-in-out;
    vertical-align: middle;
}

.ms-product .ms-product-footer .ms-product-link a:hover::after {
    transform: rotate(0deg);
    margin-left: 7px;
}






body[data-theme="dark"] .product-attributes-table td i{
	color: #000;
}


body[data-theme="dark"] .product-attributes-table td strong{
		color: #000;
}

body[data-theme="dark"] .product-attributes-table a{
	color: #fff;
}


.product-sheet-link{
	text-decoration: none !important;
	font-weight: 700;
}


.woocommerce .ms-sp--title{
	font-size: calc(var(--text-xxxl) + 1px) !important;
	    padding-left: calc(var(--bs-gutter-x) / 1);
}


.ms-product-media img {
  width: 100%;
  height: 400px;
  object-fit: contain;
}

@media (max-width: 768px) {
  .ms-product-media img {
    height: 300px;
  }
}





.ms-product-media img {
  width: 100%;
  height: 400px;
  object-fit: contain;
}

@media (max-width: 768px) {
  .ms-product-media img {
    height: 300px;
  }
}

.ms-product .ms-product-media {
	margin-bottom: -48px;
	z-index: 5;
}

.ms-product:hover .ms-product-media img {
  transform: translateY(-15px) scale(1.07);
  transition: transform 0.7s ease; 
}
.ms-product-media img {
  transition: transform 0.7s ease;
}



.related h2{
	font-weight: bold;
}



.ms-woocommerce-product-category .ms-product-media img{
	width: 50px !important;
	height: 50px !important;
	object-fit: cover !important;
	margin-bottom: 0px !important;
}





.woo-variation-gallery-wrapper .woo-variation-gallery-slider img{
	object-fit: contain !important;
	height: 750px !important;
}

.woo-variation-gallery-slider .slick-list{
	height: 750px !important;
}

.pswp__caption{
	display: none !important;
}


@media (max-width: 1000px) {
	.woo-variation-gallery-wrapper .woo-variation-gallery-slider img{
	object-fit: contain !important;
	height: 450px !important;
}

.woo-variation-gallery-slider .slick-list{
	height: 450px !important;
}
}

.ms-single-product .row > .col-md-6:nth-of-type(2){
	border-radius: 10px !important;
	padding-top: 50px;
	padding-right: 50px;
	padding-bottom: 50px;

	background-color: #791f1e;
}

.ms-single-product .row > .col-md-6:nth-of-type(2) {
	border-radius: 10px !important;
	padding-top: 50px;
	padding-right: 50px;
	padding-bottom: 50px;
	background-color: #791f1e;
	position: relative;
	overflow: hidden;
}

.ms-single-product .row > .col-md-6:nth-of-type(2)::before {
	content: "";
	position: absolute;
	top: 35%;
	right: -70px;
	width: 450px;
	height: 100%;
	background-image: url("https://sotavinhos.reagesoft.pt/wp-content/uploads/2025/04/sotavinhos_w.png");
	background-size: contain; /* Contain instead of cover */
	background-repeat: no-repeat;
	background-position: center;
	opacity: 0.1; /* Adjust this for transparency */
	z-index: 0;
	pointer-events: none; /* So the image doesn't interfere with interactions */
}

/* Ensures the actual content stays above the background image */
.ms-single-product .row > .col-md-6:nth-of-type(2) > * {
	position: relative;
	z-index: 1;
}



.ms-single-product .ms-single-product__content .ms-single-product_title{
	color: #ffffff;
	border-left: 2px solid;
}

.woocommerce-product-details__short-description p{
	color: #ffffff;
}

.attribute-filter-link{
	color: #ffffff;
}

.product_meta strong{
	color: #ffffff;
}

.product_meta a{
	color: #ffffff !important;
}

.attribute-filter-link:hover{
	color: #ffffff !important;
}

.product_meta span{
	color: #ffffff !important;
}






@media (max-width: 1000px) {
	.ms-single-product .row > .col-md-6:nth-of-type(2) {
		border-radius: 0px !important;
		padding: 10px !important;
	}
}


.product-sheet-short-desc-link a{
	color: #ffffff !important;
}

.product-sheet-short-desc-link span{
	margin-bottom: 3px;
}





.bapf_head h3{
	font-size: 20px;
	margin-bottom: 5px;
}


.bapf_sfilter.bapf_button_berocket .bapf_button{
	background-color: #791f1e;
	border-radius: 5px;
	font-size: 15px;
	padding: 5px 20px 5px 20px;
	transition: 0.3s;
}



.bapf_sfilter.bapf_button_berocket .bapf_button:hover{
	background-color: #5c1514;
}

/* Filters grid */

.elementor-element-8baf667 .elementor-shortcode {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  padding: 10px;
}

/* Responsive adjustments */

@media (max-width: 1199px) {
  .elementor-element-8baf667  .elementor-shortcode {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 991px) {
  .elementor-element-8baf667 .elementor-shortcode {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 767px) {
  .elementor-element-8baf667 .elementor-shortcode {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .elementor-element-8baf667 .elementor-shortcode {
    grid-template-columns: 1fr;
  }
}


.bapf_button_berocket{
	margin-top: 20px;
}


.bapf_sfilter {
    margin-bottom: 0px;
}


.attribute-icon{
	width: 16px !important;
}


.bapf_head {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 17px;
  font-weight: bold;
  color: #2c3e50;
  background-image: linear-gradient(to right, #a83938, #791f1e);
  background-repeat: no-repeat;
  background-size: 100% 2px;
  background-position: bottom left;
  padding-bottom: 5px;
  margin-bottom: 10px;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  gap: 6px;
}

.berocket_single_filter_widget_4217 .bapf_head::before {
  content: "\f57b"; 
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: #791f1e;
  font-size: 15px;
  margin-right: 5px;
}



.berocket_single_filter_widget_4304 .bapf_head::before {
  content: "\f3c5"; 
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: #791f1e;
  font-size: 15px;
  margin-right: 5px;
}


.berocket_single_filter_widget_4297 .bapf_head::before {
  content: "\f72f"; 
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: #791f1e;
  font-size: 15px;
  margin-right: 5px;
}


.berocket_single_filter_widget_4297 .bapf_head::before {
  content: "\f72f"; 
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: #791f1e;
  font-size: 15px;
  margin-right: 5px;
}

.berocket_single_filter_widget_4234 .bapf_head::before {
  content: "\f073"; 
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: #791f1e;
  font-size: 15px;
  margin-right: 5px;
}


.berocket_single_filter_widget_4256 .bapf_head::before {
  content: "\f4e3"; 
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: #791f1e;
  font-size: 15px;
  margin-right: 5px;
}

.berocket_single_filter_widget_4239 .bapf_head::before {
  content: "\f72f"; 
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: #791f1e;
  font-size: 15px;
  margin-right: 5px;
}


.berocket_single_filter_widget_4249 .bapf_head::before {
  content: "\f2c8"; 
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: #791f1e;
  font-size: 15px;
  margin-right: 5px;
}



.berocket_single_filter_widget_4245 .bapf_head::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  background-image: url('https://sotavinhos.reagesoft.pt/wp-content/uploads/2025/04/grapes-1.png');
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: middle;
  filter: brightness(0) saturate(100%) invert(16%) sepia(89%) saturate(599%) hue-rotate(341deg) brightness(97%) contrast(95%);
}

.ms-single-product .col-md-12{
	margin-bottom: 75px;
}


.ms-nb--white .main-header__layout .main-header__default .navbar-nav>.menu-item>a::after{
	color: #ffffff !important;
}




.elementor-element-1257f35 .woocommerce-result-count {
	margin-bottom: 10px !important;
}


@media only screen and (max-width: 1000px) {
    .home .main-header__logo img {
        width: 100px !important;
    }
	
	
	    .home .main-header.ms-nb--transparent .main-header__layout::before {
        opacity: 0 !important;
        background-color: #00000000 !important;
    }
}






.ms-product-media {
  position: relative;
}




.ms-product .ms-product-content{
	background-color: #791f1e !important;
	border-radius: 5px;
}


.ms-product .ms-product-title a{
	color: #fff;
}


.ms-product:hover .ms-product-title a{
	color: #fff;
}

.ms-product .ms-product-cat a{
		color: #fff !important;
}

.ms-product .ms-product-cat a:hover{
		color: #fff !important;
}

.ms-product .ms-product-footer .ms-product-link a{
top: 3px !important;
}

.ms-product-content::after{
	  content: "" !important;
  position: absolute;
  top: 65%;
  left: 15%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 150px;
  background: url('https://sotavinhos.reagesoft.pt/wp-content/uploads/2025/04/sotavinhos_w.png') no-repeat center center;
  background-size: contain;
  opacity: 0.2;
  transition: opacity 0.3s ease-in-out;
	z-index: 999 !important;
}

.ms-product .ms-product-media{
	background-color: #791f1e15;
}



.ms-product-media::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 85%;
  transform: translate(-50%, -50%);
  width: 250px;
  height: 350px;
  background: url('https://sotavinhos.reagesoft.pt/wp-content/uploads/2025/04/uvas_cacho2.png') no-repeat center center;
  background-size: contain;
  opacity: 0.2;
  transition: opacity 0.3s ease-in-out;
	z-index: -1;
}


.ms-single-product__media::after {
  content: "";
  position: absolute;
  top: 90%;
  left: 15%;
  transform: translate(-50%, -50%);
  width: 550px;
  height: 650px;
  background: url('https://sotavinhos.reagesoft.pt/wp-content/uploads/2025/04/wine_barrel.png') no-repeat center center;
  background-size: contain;
  opacity: 0.1;
  transition: opacity 0.3s ease-in-out;
	z-index: -1;

}


@media only screen and (max-width: 900px) {
	.ms-product-media::after {
		  top: 45%;
		width: 250px;
  height: 250px;
	}
	
	.ms-single-product__media::after {
		  top: 70%;
		width: 250px;
  height: 650px;
	}
}


.ms-woocommerce-product-category{
	display: none !important;
}


.page-numbers .next{
	display: none !important;
}

.page-numbers .prev{
	display: none !important;
}

.woocommerce-pagination{
	margin: auto !important;
	padding-bottom: 8vh;
}



.ms-product-title {
    height: 3.7em; /* Adjust based on the font-size and desired number of lines */
    overflow: hidden;
  }
  .ms-product-title a {
    display: -webkit-box;
    -webkit-line-clamp: 3;          /* Limit to 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
		font-size: 20px;
  }