/*
Theme Name: Elessi Theme Child
Theme URI: https://elessi.nasatheme.com
Description: This is a child theme for Elessi Theme
Author: NasaTheme team
Author URI: https://nasatheme.com
Template: elessi-theme
Version: 1.0
*/


/*************** ADD YOUR CUSTOM CSS IN THIS AREA ***************/
.logo-wrapper{
	max-width: unset !important;
}
.hiddenblock{
	display: none !important;
}
body{
	font-size: 16px; 
	text-align: justify;
}
p{
	font-size: 16px;
}
h2{
	margin-top: 0.5em;
}
p, h2{
	margin-bottom: 0.5em;
}
h3{
	font-size: 22px;
}
.acf-readmore-wrapper {
  position: relative;
  overflow: hidden;
  max-height: 300px;
  transition: max-height 0.4s ease;
}

.acf-readmore-wrapper.expanded {
  max-height: 10000px;
}

.acf-readmore-toggle {
  display: inline-block;
  margin: 10px 0;
  background-color: #005288;
  color: #fff;
  border: none;
  padding: 8px 16px;
  cursor: pointer;
  border-radius: 4px;
  font-size: 14px;
}
.d3, .d5{
		font-size: 22px;
		font-weight: 400;
		margin: 0.5em 0;
}

.nasa-content-additional_information{
	display: none !important;
}

.nasa-title-relate{
	font-weight: 600 !important;
}
.badge{
	background-color: #28b2a9 !important;
}
.manufacturer-products{
	display: flex;
	flex-direction: column;
	align-items: flex-start;	
	list-style: none !important;
	gap: 10px;
}
.manufacturer-products .product-warp-item{	
	margin: 0; padding: 0; padding-left: 20px;
}
.manufacturer-products .product-warp-item .product-item{
	display: flex;
	flex-direction: row;
	gap: 20px;
	align-items: center;
}
.product-warp-item::before{
	display: none !important;
}
.manufacturer-products .product-warp-item .product-item .product-img-wrap{
	width: 100px;
}
#custom_html-3{
	background: #f8f8f8;
}
#custom_html-3 .widget-title{
	padding: 20px;
}
.nasa-toggle-widget::before, .nasa-toggle-widget::after{
	top: 30px !important;
	right: 30px !important;
}
.manufacturer-products .nasa-group-btns{
	display: none;
}
.manufacturer-products .woocommerce-loop-product__title{
	width: 200px;	
}
.header-nav .nasa-title-menu{
	text-transform: uppercase;
}
.custom_h1 h1{
	margin-top: 0.5em;
}
#nasa_product_categories-2 .children{
	text-align: left;
}
.seoh table, .seoh td{
	border: 1px solid gray;
	border-collapse: collapse;
}
.seoh td{
	padding: 5px;
}
.header-title.text-center.nasa-cat-title{
	font-weight: 600 !important;
}
.nasa-heading-title{
	font-size: 20px;
}

.char_h{
	text-align: center;
	font-weight: 500;
	font-size: 24px;
	line-height: 1.7em;
}
.product-acf-fields{
	padding-top: 60px;
}
.product-acf-fields .field-row{
	display: grid;
	grid-template-columns: 0.4fr 1fr;
	line-height: 2.4em;	
}
.product-acf-fields .field-row strong, .product-acf-fields .field-row span, .product-acf-fields .field-row a{	
	border: 1px solid #555;	
	padding: 4px 8px;
}
.product-acf-fields .field-row strong{
	border-right: 0px;
}
.product-acf-fields .field-row:not(:first-child) strong,
.product-acf-fields .field-row:not(:first-child) span,
.product-acf-fields .field-row:not(:first-child) a {
  border-top: none;
}


.product-acf-fields{
	margin-bottom: 30px;
}


@media (max-width: 600px) {
  .header_logo {
    max-height: none !important;
  }
	.slider-banner, .slider-banner img, .slider-banner a, .slider-banner div{
		max-height: 220px !important;
	}
	  .formobbanner {
    max-height: 250px !important;
    background: #fff;
  }
  .formobbanner img{
    width: 50% !important;
    float: right;
  }
}
.woocommerce-shipping-fields{
	display: none;
}

.custom-cat-name{
	text-align: center;
	font-size: large;
	font-weight: 500;
}

@media(max-width: 768px){
	.product-acf-fields .field-row{	
	grid-template-columns: 0.7fr 1fr;	
}
		.seoh table{
		display: block;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		white-space: nowrap;
			border: 0;
	}
	.nasa-product-details-page .product-info .entry-title {
		padding-right: 10px;
	}
}

@media (min-width: 601px) and (max-width: 1024px){

	
	
		.slider-banner, .slider-banner img, .slider-banner a, .slider-banner div{
		max-height: 220px !important;
	}
	  .formobbanner {
    
    background: #fff;
  }
  .formobbanner img{
    width: 25% !important;
    float:right;
  }
	.section-title.nasa-title-vertical-menu.nasa-flex{
		font-size: 100% !important;
	}
	#nasa-menu-vertical-header{
		margin-right: 10px !important;
	}
	.nasa-title-menu{
		font-size: 59% !important;
		margin-right: 10px !important;
	}
}
.wp-block-image figure{
	width: 100%;
}
.wp-block-image figure img{
	width: 100%;
}
.wpml-ls-flag{
	height: auto !important;
}
.post .entry-image{
	display: flex !important;
	justify-content: center;
}
.post .entry-image img{
	width: unset;
	margin: 0 auto !important;
}
.has-add{
	padding-bottom: 20px;
}
.custom-html-widget .add_to_cart_button:hover{
	color: #ccc;
}

.manufacturer-products .product-item .info .name{
	padding: 0;
}
.nasa-list-languages.sub-menu{
	margin-left: -17% !important;
}

.page-title-h1{
	text-align: center !important;
}

.payments-logo{
	/*display: flex;
	flex-direction: row !important;
	gap: 10px;
	height: 40px;
	max-width: 100px;
	min-width: 60px;*/
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 1fr;
	gap: 10px;
	align-items: center;
	width: 50%;
}

.cat-item:before{
	content:unset !important;
}

.faq-question {
    display: block;
    width: 100%;
    background: #f3f3f3;
    padding: 10px;
    border: none;
    text-align: left;
    cursor: pointer;
    font-weight: bold;
    margin-bottom: 5px;
}
.faq-question:hover{
	background-color: #ccc;
}
.faq-question h3 {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin: 0 !important;
	font-weight: 400 !important;
	color: #000;
	text-transform: none !important;
	font-size: 18px;
}
.faq-question .arrow {
    transition: transform 0.3s ease;
    display: inline-block;
    margin-left: 10px;
    font-size: 0.9em;
}
.faq-answer {
    padding: 10px;
    background: #fafafa;
    border: 1px solid #ddd;
    margin-bottom: 10px;
}

.info.has-cats .nasa-list-category, .info.has-cats .add_to_cart_button{
		max-width: 200px;
	margin: 0 auto;
}
.manufacturer-products .price{
	display: block
}

.brand-category-dropdown {
  position: relative;
  display: inline-block;  
	/*display: flex;
	flex-direction: row;
	justify-content: flex-start;*/
}
.nasa-clear-none.nasa-sort-bar-layout-side-sidebar.columns.medium-12.small-12.nasa-sort-by-sidebar-classic.large-4:has(.brand-cat) {
	display: grid;
	grid-template-columns: 1fr 1fr;
}
.brand-category-dropdown .dropdown-toggle { 
  border: 1px solid #ccc;
  padding: 3px 12px;  
  cursor: pointer;  
  transition: all 0.2s ease;
	min-width: 220px;
}

.brand-category-dropdown .dropdown-toggle:hover {
  
}

.brand-category-dropdown .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 20;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 6px;
  width: 220px;
	max-height: 410px;
	overflow: auto;
  box-shadow: 0 4px 8px rgba(0,0,0,0.08);
  margin: 5px 0 0;
  padding: 0;
  list-style: none;
	padding-top: -5px;
	text-align: left;
}

.brand-category-dropdown::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 10px;
  background: transparent;
}

.brand-category-dropdown:hover .dropdown-menu {
  display: block;
}

.brand-category-dropdown .dropdown-menu li a {
  display: block;
  padding: 8px 12px;
  color: #333;
  text-decoration: none;
  transition: background 0.2s ease;
}

.brand-category-dropdown .dropdown-menu li a:hover {
  background: #f5f5f5;
}

.brand-category-dropdown .dropdown-menu li a.active {
  font-weight: bold;
  color: #000;
}

.category-product-reviews{
	margin-top: 20px;
	margin: 0 auto;
	max-width: 1200px;
}
.commentlist .review{
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 20px;
	margin-bottom: 15px;
}
.review .rev-left a{
	display: block;
	width: 150px;	
}
.review .rev-right{
	width: 100%;
}
.review .rev-right a{
	color: #222529;
	font-weight: 600;
}
.review .rev-right a:hover{
	color: #5ecc2c;
}
.review .rev-right .rev-meta{
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: flex-end;
}
.review .rev-author{
	display: flex		;
	align-items: center;
	gap: 8px;
}
.review .rev-right .rev-content{
	margin-top: 10px;
}

.consultation-popup {
	position: fixed;
	inset: 0;
	z-index: 9999;
}

.consultation-popup__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0,0,0,.6);
}

.consultation-popup__content {
	position: relative;
	max-width: 420px;
	margin: 10vh auto;
	background: #fff;
	padding: 24px;
	border-radius: 6px;
	z-index: 1;
}

.consultation-popup__close{
	right: 20px;
	position: absolute;
}

.product-manufacturer{
	padding-top: 5px;	
}
.product-manufacturer__link{
	color: #777;
	text-transform: uppercase;
	font-size: 9pt;	
}