/* Static quote list + teklif / contact form layout */

.ee-quote-product-summary {
	display: none !important;
}

.ywraq-wrapper:not(.ywraq-empty) .ywraq-before-form .ywraq_list_empty_message,
.ywraq-wrapper:not(.ywraq-empty) .ywraq-before-form .return-to-shop {
	display: none;
}

.ywraq-before-form {
	margin-bottom: 2rem;
	text-align: left;
}

.ee-static-raq-table-wrap {
	display: block;
	width: 100%;
	margin: 10px 0 2rem;
	text-align: left;
}

.ee-static-raq-table-wrap[hidden] {
	display: none !important;
}

.ywraq-wrapper.ywraq-with-form .ywraq-before-form {
	/* YITH hides this when a CF7 form is shown; table lives in #ee-static-raq-table-wrap. */
	display: none !important;
}

.ywraq-wrapper.ywraq-empty.ywraq-with-form .ywraq-before-form {
	display: block !important;
}

/* After ?sent=1: no empty-list box, no form — only the success line. */
html.ee-form-just-sent .ywraq-wrapper.ywraq-empty.ywraq-with-form .ywraq-before-form,
html.ee-form-just-sent .ywraq-before-form,
html.ee-form-just-sent .ee-static-raq-table-wrap,
html.ee-form-just-sent form.ee-static-quote,
html.ee-form-just-sent form.ee-static-contact {
	display: none !important;
}

.ee-form-notice {
	margin: 0 0 1.25rem;
	padding: 0;
	font-size: 16px;
	line-height: 1.5;
	font-weight: 400;
	letter-spacing: normal;
	text-transform: none;
	color: #303030;
	background: none;
	border: 0;
}

.ee-form-notice[hidden] {
	display: none !important;
}

.ee-form-notice--error {
	color: #c0392b;
}

.ywraq-wrapper.ywraq-empty .ee-static-raq-table-wrap {
	display: none !important;
}

/* Mirror #yith-ywraq-form / Bridge cart without using YITH's table id. */
.ee-static-raq-table-wrap table.shop_table.cart {
	width: 100%;
	margin: 10px 0;
	border-radius: 0;
}

.ee-static-raq-table-wrap table.shop_table.cart .product-thumbnail {
	display: table-cell;
	vertical-align: middle;
	width: 1%;
	white-space: nowrap;
}

.ee-static-raq-table-wrap table.shop_table.cart tbody td.product-remove,
.ee-static-raq-table-wrap table.shop_table.cart thead th.product-remove {
	width: 1%;
	white-space: nowrap;
}

.ee-static-raq-table-wrap table.shop_table.cart tbody td {
	vertical-align: middle;
	padding: 14px 12px;
}

.ee-static-raq-table-wrap table.shop_table.cart thead th {
	padding: 13px 10px;
}

.ee-static-raq-table-wrap table.shop_table.cart tbody tr td img {
	display: block;
	width: 66px;
	max-width: 66px;
	height: auto;
}

.ee-static-raq-table-wrap .product-name,
.ee-static-raq-table-wrap .product-name a {
	text-align: left;
	color: #303030;
	text-decoration: none;
	font-weight: 500;
}

.ee-static-raq-table-wrap .product-name a:hover {
	color: #197de0;
}

.ee-static-raq-table-wrap .product-quantity {
	text-align: right;
	white-space: nowrap;
}

.ee-static-raq-table-wrap .quantity.buttons_added {
	display: inline-block;
	white-space: nowrap;
	vertical-align: middle;
}

/* Bridge cart trash PNG is missing locally; keep the 13px remove hit-target. */
.ee-static-raq-table-wrap table.cart tbody td.product-remove a.remove {
	width: 13px;
	height: 13px;
	display: inline-block;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='13' viewBox='0 0 13 13'%3E%3Cpath fill='%23888' d='M4.2 1.2h4.6l.4 1.1h2.1v1H1.7v-1h2.1l.4-1.1zm.6 1h3.4l-.2-.5H5l-.2.5zM2.6 4.2h7.8l-.5 7.1H3.1L2.6 4.2zm1.6 1.2-.3 5h.9l.3-5h-.9zm2.2 0v5h.9V5.4h-.9zm2.2 0-.3 5h.9l.3-5h-.9z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
	text-indent: -9999px;
	overflow: hidden;
	vertical-align: middle;
}

.ee-static-raq-table-wrap table.cart tbody td.product-remove a.remove:hover {
	background-color: transparent;
}

/* CF7-style forms (static handlers) — full content width like live */
form.ee-static-quote,
form.ee-static-contact {
	width: 100%;
	max-width: none;
	margin: 0;
	text-align: left;
}

form.ee-static-quote .two_columns_50_50,
form.ee-static-contact .two_columns_50_50 {
	width: 100%;
	clear: both;
	overflow: hidden;
	margin-bottom: 18px;
}

form.ee-static-quote .two_columns_50_50 > .column1,
form.ee-static-quote .two_columns_50_50 > .column2,
form.ee-static-contact .two_columns_50_50 > .column1,
form.ee-static-contact .two_columns_50_50 > .column2 {
	float: left;
	width: 50%;
	box-sizing: border-box;
}

form.ee-static-quote .two_columns_50_50 > .column1 > .column_inner,
form.ee-static-contact .two_columns_50_50 > .column1 > .column_inner {
	padding: 0 10px 0 0;
}

form.ee-static-quote .two_columns_50_50 > .column2 > .column_inner,
form.ee-static-contact .two_columns_50_50 > .column2 > .column_inner {
	padding: 0 0 0 10px;
}

form.ee-static-quote input.wpcf7-form-control:not(.wpcf7-submit),
form.ee-static-quote select.wpcf7-form-control,
form.ee-static-quote textarea.wpcf7-form-control,
form.ee-static-contact input.wpcf7-form-control:not(.wpcf7-submit),
form.ee-static-contact select.wpcf7-form-control,
form.ee-static-contact textarea.wpcf7-form-control {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	display: block;
	margin: 0;
}

form.ee-static-quote input.wpcf7-email,
form.ee-static-quote input.wpcf7-tel,
form.ee-static-quote input.wpcf7-captchar,
form.ee-static-contact input.wpcf7-email,
form.ee-static-contact input.wpcf7-tel,
form.ee-static-contact input.wpcf7-captchar {
	display: block;
	margin: 0;
	padding: 15px 13px;
	border: 0;
	border-radius: 0;
	outline: 0;
	font-size: 13px;
	line-height: 17px;
	background-color: #f7f7f7;
	color: #333;
	font-weight: 400;
	-webkit-appearance: none;
	appearance: none;
}

form.ee-static-quote input.wpcf7-form-control.wpcf7-captchar,
form.ee-static-contact input.wpcf7-form-control.wpcf7-captchar {
	width: auto;
	min-width: 6rem;
	max-width: 10rem;
	display: inline-block;
}

form.ee-static-quote > p,
form.ee-static-contact > p {
	clear: both;
	margin: 0 0 18px;
	padding: 0;
}

form.ee-static-quote .wpcf7-submit,
form.ee-static-contact .wpcf7-submit {
	width: auto;
	min-width: 140px;
	height: 51px;
	line-height: 47px;
	padding: 0 60px;
	margin: 0;
	cursor: pointer;
	box-sizing: border-box;
	border: 2px solid #818181;
	border-radius: 0;
	background-color: #fff;
	color: #818181;
	font-size: 11px;
	font-weight: 400;
	letter-spacing: 1px;
	text-transform: uppercase;
	-webkit-appearance: none;
	appearance: none;
}

form.ee-static-quote .wpcf7-submit:hover,
form.ee-static-contact .wpcf7-submit:hover {
	background-color: #818181;
	color: #fff;
}

form.ee-static-quote textarea.wpcf7-textarea,
form.ee-static-contact textarea.wpcf7-textarea {
	min-height: 112px;
	height: 112px;
	resize: none;
}

form.ee-static-quote label,
form.ee-static-contact label {
	font-size: 14px;
	line-height: 1.5;
}

.ee-captcha-row img.ee-captcha-img {
	vertical-align: middle;
	margin-left: 0.5rem;
}

/* Mini quote dropdown list */
.yith-ywraq-list-wrapper .yith-ywraq-list-item {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	padding: 8px 0;
	border-bottom: 1px solid #eee;
	text-align: left;
}

.yith-ywraq-list-wrapper .yith-ywraq-list-item-remove {
	flex: 0 0 auto;
	color: #999;
	text-decoration: none;
	font-size: 18px;
	line-height: 1;
}

.yith-ywraq-list-wrapper .yith-ywraq-list-item-product-info {
	flex: 1;
	display: flex;
	align-items: center;
	gap: 8px;
	text-decoration: none;
	color: #333;
	font-size: 13px;
	line-height: 1.3;
}

.yith-ywraq-list-wrapper .yith-ywraq-list-item-product-info img {
	flex: 0 0 auto;
	border-radius: 2px;
}

/* Hide the mini-quote dropdown when the list is empty (no blank bubble). */
.widget_ywraq_mini_list_quote.ee-raq-mini-empty .yith-ywraq-list-wrapper,
.widget_ywraq_mini_list_quote.ee-raq-mini-empty .yith-ywraq-list-content,
.widget_ywraq_mini_list_quote.ee-raq-mini-empty:hover .yith-ywraq-list-content {
	display: none !important;
	opacity: 0 !important;
	visibility: hidden !important;
	pointer-events: none !important;
}

.widget_ywraq_mini_list_quote a.request-quote-button {
	display: block;
	margin-top: 10px;
	padding: 7px;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	font-size: 13px;
	line-height: 1.4;
	letter-spacing: 0.5px;
	color: #fff;
	background-color: #197de0;
	border-radius: 2px;
	transition: 0.2s;
}

.widget_ywraq_mini_list_quote a.request-quote-button:hover,
.widget_ywraq_mini_list_quote a.request-quote-button:active {
	background-color: #444;
	color: #fff;
}

@media (max-width: 767px) {
	form.ee-static-quote .two_columns_50_50 > .column1,
	form.ee-static-quote .two_columns_50_50 > .column2,
	form.ee-static-contact .two_columns_50_50 > .column1,
	form.ee-static-contact .two_columns_50_50 > .column2 {
		float: none;
		width: 100%;
	}

	form.ee-static-quote .two_columns_50_50 > .column1 > .column_inner,
	form.ee-static-quote .two_columns_50_50 > .column2 > .column_inner,
	form.ee-static-contact .two_columns_50_50 > .column1 > .column_inner,
	form.ee-static-contact .two_columns_50_50 > .column2 > .column_inner {
		padding: 0 0 12px;
	}
}
