#search-modal {
	display: none;
	position: fixed;
	top: 0;
	background: #fff;
	width: 100%;
	min-height: 100%;
	z-index: 9999 ;
	overflow-y: auto;
	height: 100vh;
}
#search-modal > .container{
	display: flex;
	flex-direction: column;
}
#search-modal .top-wrapper .top-middle {
	width: 100%;
	margin-top: 3.4rem;
}
.search-results .item {
    opacity: 1;
}
#search-modal input:focus {
	outline: none;
}
#search-modal input {
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    border-bottom: var(--border2);
	font-size: calc(var(--fontsize_h3) * var(--text-scaler));
	line-height: calc(var(--lineh_h3) * var(--text-scaler));
	font-weight: 900;
	padding: 2.4rem 0;
}
.search-results .post .list-container{
	display: grid  ;
	column-gap: 2.3rem;
	grid-template-columns: 1fr 1fr 1fr;
	row-gap: 2.3rem;
}
.search-results .item .media{
	height: 27rem;
	width: 100%;
	position: relative;
}

.search-results .item .media img,
.search-results .item .media video{
	transition: var(--animtime1);
}

.search-results .item:hover .media img,
.search-results .item:hover .media video{
	transform: scale(1.1);
}

.search-results .item .media figure{
	height: 100%;
	width: 100%;
	position: relative;
}
#search-modal button.disabled {
	/*background-color: transparent!important;*/
	/*border: 1px solid var(--clr1);*/
	/*color: var(--clr1);*/
}
#search-modal .type-switch {
	justify-content: center;
	margin-top: 5rem;
	margin-bottom: 5rem;
	text-align: center;
	display: flex;
	display: none;
	gap: 1rem;
}
.results-wrapper h3. {
    margin-bottom: 0.8rem;
}
#search-modal .top-wrapper {
	display: flex;
	margin-top: 3rem;
	justify-content: space-between;
	flex-direction: column;
	position: relative;
}
#search-modal .top-wrapper .top-right {
	position: absolute;
	right: 0;
	height: 4rem;
	width: 4rem;
	top: -0.5rem;
}
.no-search-results {
  text-align: center;
  display: none;
}
.results-wrapper > div {
  display: flex;
  flex-direction: column;
  padding-bottom: 4.5rem;
}
.placeholders span {
	display: none;
}
.full + .placeholders.js-search-placeholders {
    opacity: 0;
}
.placeholders.js-search-placeholders {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    opacity: 1;
    transition: opacity 150ms ease;
		text-align: center;
    width: 100%;
    padding: 1.4rem;
    line-height: 1.2;
}
.results-wrapper .load-more-container {
	margin-top: 8rem;
	display: flex;
	flex-direction: column;
	align-items: center;
}
.results-wrapper .woocommerce .load-more-container {
	margin-top: 4rem;
}
#search-modal .type-switch button {
	text-transform: uppercase;
}
.type-switch button {
	padding: 0.8rem 3rem!important;
}
.results-wrapper li.product {
  width: auto!important;
  margin-right: 0!important;
}

#search-modal button.btn-more{
	text-transform: uppercase;
}

.results-wrapper > .items{
	margin-top: 2rem;
}

#search-modal .type-switch button.primary.button.active{
	background: var(--clr3);
}

.results-wrapper > h3{
	text-transform: capitalize;
}

.results-wrapper .page.items .list-container{
	row-gap: 2rem;
}

.results-wrapper .page.items .list-container h3 a{
	transition: var(--animtime1);
}

.results-wrapper .page.items .list-container h3 a:hover{
	color: var(--clr2);
}

@media screen and (max-width: 1000px){
	.search-close {
		position: relative;
	}
	#search-modal .site-branding {
		width: 12rem;
	}
	#search-modal .top-wrapper .top-right {
		display: flex;
	}

	.search-results .post .list-container {
		column-gap: 2.4rem;
		grid-template-columns: 1fr 1fr;
	}
	.search-results .item .media{
		height: 29vw;
	}
	#search-modal .top-wrapper {
		margin-top: 2rem;
	}
	#search-modal input {
		font-size: calc(var(--fontsize_h4)* var(--text-scaler));
		line-height: calc(var(--lineh_h4)* var(--text-scaler));
		padding: 1.4rem 0;
	}
	#search-modal .top-wrapper .top-right {
		height: 3rem;
		width: 3rem;
		top: 1rem!important;
	}
}
@media screen and (max-width: 768px){
	#search-modal ul.products li.product {
		width: auto!important;
		margin: 0 0 2.992em;
	}
}
@media screen and (max-width: 650px){
	#search-modal .top-wrapper .top-middle {
		position: relative;
		transform: none;
		left: auto;
		margin-top: 2rem;
	}
	#search-modal .top-wrapper .top-right {
		position: absolute;
    right: 0;
    top: 0;
	}
	#search-modal .type-switch {
		margin-top: 3rem
	}
	#search-modal .type-switch button {
		margin-top: 1rem;
	}
	.results-wrapper .load-more-container {
		margin-top: 6rem;
		margin-bottom: 1rem;
	}
	.results-wrapper .woocommerce .load-more-container {
    margin-top: 0rem;
		margin-bottom: 1rem;
	}
	#search-modal ul.products li.product {
		width: auto!important;
		margin: 0 0 2.992em;
		/* margin-right: 0!important; */
	}
	.search-results .post .list-container {
		column-gap: 0rem;
		row-gap: 3rem;
		grid-template-columns: 1fr;
	}
	.search-results .item .media {
		height: auto;
	}
	.search-results .item .media img,
	.search-results .item .media video{
		position: relative;
		width: 100%;
		height: auto;
		z-index: 1;
		object-fit: unset;
		object-position: unset;
	}
}
