/**
* 2007-2024 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
*  @author    PrestaShop SA <contact@prestashop.com>
*  @copyright 2007-2024 PrestaShop SA
*  @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
*  International Registered Trademark & Property of PrestaShop SA
*
* Don't forget to prefix your containers with your own identifier
* to avoid any conflicts with others containers.
*/

.feature-search-section {
	display: flex;
	flex-wrap: nowrap;
	justify-content: center;
	margin: 30px;
	background: #e0f8f3;
	border-radius: 10px;
	padding: 20px;
	border: 1px solid #a0dcd0;
	box-shadow: 0px 5px 10px #d8d8d8;
}

.featured-image {
	width: 200px;
	margin-right: 40px;
}

.featured-image img {
	width: 100%;
	border-radius: 10px;
}

.main-heading {
	color: #222831;
	font-size: 28px;
	font-weight: 700;
	margin-bottom: 15px;
}

.sub-heading {
	color: #626263;
	font-size: 24px;
	font-weight: 600;
	margin-bottom: 15px;
}

.search-description {
	font-size: 16px;
	margin-bottom: 20px;
}

.form-content {
	width: 76%;
}

.form-row label {
	width: 100%;
	display: inline-block;
	text-align: left;
}

.form-row input {
	height: 54px;
	line-height: 54px;
	font-size: 16px;
	color: #000;
	padding: 0px 15px;
	max-width: 200px;
}

.form-row button {
	color: #fff;
	background-color: #f27356;
	border-color: transparent;
	height: 54px;
	padding: 0px 20px;
	text-transform: uppercase;
	font-weight: 600;
	letter-spacing: .5px;
}


.form-row input.input-error {
	border: 1px solid #ff0000;
}

.form-row input.input-fill {
	border: 1px solid #1ebd1c;
}

.form-inner {
	display: flex;
	gap: 15px;
	margin-bottom: 10px;
}

body #pagenotfound .page-not-found,
#products .page-not-found {
	margin: 0 auto 30px;
}

div#exact-matches div.col-md-6:nth-child(7),
div#recommended-products-list div.col-md-6:nth-child(7),
div#recommended-products div.col-md-6:nth-child(7) {
	display: block;
}

.js-product-list-featuresearchform {
	width: 100% !important;
}

.product-by-featured-new {
	padding: 0px 15px;
}

.product-by-featured-new .row .col-lg-2 {
	padding: 0px 0px;
}

.product-by-featured-new .custom-checkbox input[type="checkbox"]+span.color,
.variant-links .color,
label .color {
	margin: .2125rem .3rem .2125rem .2125rem;
}

#recommended-products-list #products .product-title a,
.featured-products .product-title a,
.product-accessories .product-title a,
.product-miniature .product-title a,
#exactmatches-products-list #products .product-title a,
.featured-products .product-title a,
.product-accessories .product-title a,
.product-miniature .product-title a {
	display: -webkit-box;
	max-width: 200px;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	height: 48px;
}

#attribute-results .no-found {
	width: 100%;
	display: inline-block;
	text-align: center;
	font-size: 16px;
	font-weight: 500;
	padding-top: 10px;
	color: #000;
}

@media only screen and (max-width: 1024px) and (min-width:767px) {

	.form-row input {
		padding: 0px 10px;
	}

}
@media only screen and (min-width: 767px) {
    input#search-input {
        height: 54px;
        line-height: 54px;
        font-size: 16px;
        color: #000;
        padding: 0px 15px;
        width: calc(100% - 130px);
    }

}
input#search-input {
    height: 54px;
    line-height: 54px;
    font-size: 16px;
    color: #000;
    padding: 0px 15px;
    width:100%;
}
@media only screen and (max-width: 767px) {
	.form-content {
		width: 100%;
	}

	.form-row input {
		max-width: 100%;
		width: 100%;
	}

	.for-attributes .feature-search-section {
		margin-top: 35px;
	}

	form#mycustommodule-form {
		flex-wrap: wrap;
	}

	button#search-button-attribute {
		width: 100%;
	}

	#attribute-results {
		top: 44px;
		width: 100%;
	}


	.feature-search-section {
		margin: 0px;
	}

	.form-inner,
	.feature-search-section {
		flex-wrap: wrap;
	}

	.featured-image {
		width: 100%;
		margin-right: 0px;
		margin-bottom: 30px;
	}

	.form-row {
		width: 100%;
	}

	.form-row input {
		width: 100%;
	}

	.form-row button {
		width: 100%;
	}

	.search-description {
		font-size: 12px;
		margin-bottom: 15px;
	}

	.main-heading {
		font-size: 20px;
		margin-bottom: 18px;
	}

	.sub-heading {
		font-size: 18px;
	}

	div#error-summary {
		width: 100%;
		order: 4;
	}

	.form-row:nth-child(1) {
		order: 1;
	}

	.form-row:nth-child(2) {
		order: 2;
	}

	.form-row:nth-child(3) {
		order: 3;
	}

	.form-row:nth-child(4) {
		order: 5;
	}
}


#attribute-results {
	margin-top: 10px;
	position: absolute;
	background: #fff;
	border: 1px solid #ddd;
	z-index: 1000;
	top: 44px;
	width: 83%;
}

#attribute-results ul {
	list-style-type: none;
	padding: 0;
	margin: 0;
}

#attribute-results li {
	padding: 8px;
	border-bottom: 1px solid #ddd;
	cursor: pointer;
}

#attribute-results li:hover {
	background-color: #f0f0f0;
}

/** second form design 31-07-2024**/
.for-attributes .feature-search-section {
	border: 1px solid #ccc;
	padding: 20px;
	background: #f7f5e9;
	border-radius: 16px;
	box-shadow: 0px 5px 10px #d8d8d8;
	justify-content: left;
}

form#mycustommodule-form {
	position: relative;
}



button#search-button-attribute {
	color: #fff;
	background-color: #30A38B;
	border-color: transparent;
	height: 54px;
	padding: 0px 20px;
	text-transform: uppercase;
	font-weight: 600;
	letter-spacing: .5px;
}
.error-message {
    width: 100%;
    display: inline-block;
}
.row.homepage-form-content {
	overflow: inherit;
	position: relative;
	z-index: 3;
}
#attribute-results {
	margin-top: 10px;
	position: absolute;
	background: #fff;
	border: 1px solid #ddd;
	top: 44px;
	width: 83%;
	/*height: 170px;*/
	overflow: auto;
}
button.productsearchbyfeatures_submit,
button#search-button-attribute {
    cursor: pointer;
}
button#search-button-attribute:hover {
    background-color: #62c3af;
}
button.productsearchbyfeatures_submit:hover {
    background-color: #f29681;
}

