/*
	Theme Name: Rehub child theme
	Theme URI: https://wpsoul.com
	Description: A Hybrid magazine/shop/review/news Wordpress Theme
	Author: Sizam
	Author URI: https://wpsoul.com
	Version: 9.4
	Template: rehub-theme
*/

/* =Theme customization starts here
-------------------------------------------------------------- */

/* LOGO */
.logo_insticky_enabled .top_menu {
	margin: 0;
}

/* MENU */
.bg-yellow {
	background-color: #ffcc00;
}
nav.top_menu > ul > li.vertical-menu.width-300 > .sub-menu {
	width: 50vw !important;
}
nav.top_menu > ul > li.vertical-menu.border-yellow .sub-menu {
	border-color: #ffcc00;
	border-top: 2px solid #ffcc00;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 0;
}
nav.top_menu > ul > li.vertical-menu.border-yellow .sub-menu li {
	flex-basis: calc(33% - 10px);
}
@media (min-width: 1025px) {
	nav.top_menu > ul > li.align-right {
		margin-left: auto;
	}
}
.rh-subitem-menus .sub-menu {
	flex-direction: column;
}
nav.top_menu ul li.rh-subitem-menus > ul > li > a {
	font-weight: normal !important;
}


/* HOME */
.re_carousel .soldoutbar {
	display: none;
}
#header__bg {
	z-index: -2;
}
#header__bg img {
	height: fit-content;
}
#header__products {
	z-index: -1;
}
@media screen and (max-width: 1440px) {
	#header__uptitle h2 {
		font-size: 40px;
	}
	#header__title h2 {
		font-size: 60px;
	}
}
@media screen and (max-width: 1280px) {
	#header__uptitle {
		margin-block-end: 0;
	}
	#header__uptitle h2 {
		font-size: 32px;
	}
	#header__title h2 {
		font-size: 44px;
	}
}
@media (max-width: 1024px) {
	#home-products__bg {
		margin-top: -20px;
	}
}
@media (max-width: 767px) {
	#header {
		max-height: 85vh;
		padding-top: 30px;
	}
	#header__bg {
		right: -100px;
	}
	#header__bg img {
		max-width: fit-content;
		height: 70vh;
	}
	#header__products {
		position: relative;
		top: -230px;
		right: 0;
		z-index: 0;
	}
	#offer__title {
		padding-top: 20px;
	}
	#home-products__bg {
		margin-top: -40px;
	}
}
@media (max-width: 520px) {
	#header__products img {
		position: relative;
		right: 150px;
	}
	#header__uptitle h2 {
        font-size: 24px;
		line-height: 1;
    }
	#header__title {
		margin-block-end: 0;
	}
	#header__title h2 {
        font-size: 32px;
		line-height: 1;
    }
	#home-products__bg {
		margin-top: -20px;
	}
}
@media (max-width: 420px) {
	#header__products img {
		right: 220px;
	}
	#offer__title {
		padding-top: 0px;
	}
}
@media (max-width: 420px) {
	#home-products__bg {
		margin-top: -10px;
	}
}
@media (max-width: 479px) {
    .collections-list .col_item {
        width: 50% !important;
        margin: 0 !important;
    }
}
.home-description p {
	margin-bottom: 10px;
}


/* PRODUS */
.wpsm-table td {
	text-align: center;
}
.wpsm-table tr td:first-of-type {
	text-align: left;
}
.wpsm-table th:first-of-type {
	width: 200px;
}
.rh-var-selector input:checked +.rh-var-label {
	opacity: 1 !important;
	border: 1px solid #ffcc00 !important;
}
.sku_wrapper {
	display: none;
}
.woocommerce div.product form.cart table td {
	padding-right: 0;
}
.rh-var-label.text-label-rh {
	min-width: 40px !important;
}
.rh-300-sidebar {
	width: 400px;
}
.rh-300-content-area {
	width: calc(100% - 430px);
}
@media (max-width: 1023px) {		
	.rh-300-sidebar,
	.rh-300-content-area {
		width: 100%;
	}
}
.wpcpq-wrap {
	padding-top: 30px;
}


/* CATEGORIE - SIDEBAR */
.woocommerce .widget_layered_nav ul {
	max-height: 250px !important;
}
#rehub_woofilterbrand-2 .count {
	display: none;
}

/* BRAND */
.no_more_posts {
	display: none;
}
.re_filter_instore .re_filter_panel {
	display: none !important;
}
.rh_category_tab ul.cat_widget_custom {
	max-height: fit-content !important;
}

/* CART */
/* Ascunde rândul blank din cartul principal și din checkout */
table.shop_table.cart tr.blank-hidden {
  display: none !important;
}

/* Ascunde item-ul blank din mini-cart */
.widget_shopping_cart .mini_cart_item.blank-hidden {
  display: none !important;
}

/* Dezactivează mesajul de actualizare cantitate în cart */
.wc-block-components-notice-snackbar {
  display: none !important;
}

/* FOOTER */
.newsletter__container {
	display: flex;
	gap: 0;
}
.newsletter__email input {
	border-radius: 4px 0 0 4px !important;
	height: 40px;
	width: 190px;
}
@media (min-width: 1440px) {
	.newsletter__email input {
		width: 300px;
	}
}
@media (min-width: 1280px) {
	.newsletter__email input {
		width: 250px;
	}
}
@media (min-width:481px) and (max-width:767px) {
	.newsletter__email input {
		width: 300px;
	}
}
.newsletter__btn input {
	height: 40px;
	padding: 10px 20px;
	border-radius: 0 4px 4px 0 !important;
	background-color: #ffcc00;
	color: #000;
}
.newsletter__btn.black input {
	background-color: #000;
	color: #fff;
}
@media (min-width:768px) and (max-width:970px) {
	.newsletter__container {
		flex-direction: column;
	}
	.newsletter__email input,
	.newsletter__btn input {
		width: 100%;
		border-radius: 4px !important;
		margin-bottom: 10px;
	}
}
@media (max-width:480px) {
	.newsletter__container {
		flex-direction: column;
	}
	.newsletter__email input,
	.newsletter__btn input {
		width: 100%;
		border-radius: 4px !important;
		margin-bottom: 10px;
	}
}

/* CART */
.wc-block-cart__submit-button:hover {
	background-color: #ffcc00;
}
.select-sector {
	width: 100%;
	border-radius: 4px;
    padding: 1em .5em 0;
	height: 50px;
}

/* CONTACT */
.contact p {
	margin-bottom: 10px;
}


/* Cookiebot */
@media screen and (max-width: 1024px) {
	#CookiebotWidget:not(.CookiebotWidget-inactive) {
		left: 0;
		bottom: 0;
		z-index: 0;
	}
}

/* reCAPTCHA */
.grecaptcha-badge {
	display: none;
}

/* Others */
.login-as-user {
	top: 0 !important;
	bottom: auto !important;
	width: auto !important;
	position: absolute !important;
}
.no-margin p,
.no-margin ul {
	margin-bottom: 0;
}
#radio-control-0-free_shipping\:8__description,
#radio-control-0-free_shipping\:8__secondary-label,
#radio-control-0-free_shipping\:9__description,
#radio-control-0-free_shipping\:9__secondary-label {
	display: none;
}

@media screen and (max-width: 1024px) {
	#wcfmmp-store .banner_text h1 {
		line-height: 1.2em !important;
	}
	
	#wcfmmp-store .banner_text h1:after, #wcfmmp-store .banner_text h1:before {
		display: none !important;
	}
}
@media screen and (max-width: 768px) {
	#wcfmmp-store .banner_text h1 {
		font-size: 40px !important;
		padding: 0 !important;
	}
}