/*
Theme Name: Woodmart Child
Theme URI: https://syutech-greece.gr/
Description: Child theme for Woodmart customizations.
Author: Syutech Greece
Template: woodmart
Version: 1.0.5
Text Domain: woodmart-child
*/

.syutech-loop-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin-top: 10px;
}

.syutech-loop-actions .syutech-loop-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 36px;
	padding: 0 14px;
	border: 0;
	border-radius: 0;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	text-transform: none;
	cursor: pointer;
}

.syutech-loop-actions .syutech-loop-btn-more {
	background-color: #0d5bd7 !important;
	color: #fff !important;
}

.syutech-loop-actions .syutech-loop-btn-request {
	background-color: #6d6d6d !important;
	color: #fff !important;
}

.syutech-loop-actions .syutech-loop-btn-more:hover,
.syutech-loop-actions .syutech-loop-btn-request:hover {
	opacity: .88;
	color: #fff;
}

.syutech-loop-actions .syutech-loop-btn[aria-disabled="true"] {
	opacity: .65;
	pointer-events: none;
}

.products .product-image-link,
.products .wd-entities-title > a {
	cursor: default;
}

.syutech-single-product-actions {
	margin: 18px 0;
}

.syutech-single-product-actions .syutech-loop-actions {
	justify-content: flex-start;
	margin-top: 0;
}

.syutech-single-product-actions .syutech-loop-actions .syutech-loop-btn {
	min-height: 42px;
	padding: 0 20px;
	font-size: 13px;
}

.syutech-product-info-open {
	overflow: hidden;
}

.syutech-product-info-modal[hidden] {
	display: none;
}

.syutech-product-info-modal {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.syutech-product-info-modal__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, .55);
}

.syutech-product-info-modal__dialog {
	position: relative;
	z-index: 1;
	width: min(100%, 520px);
	max-height: calc(100vh - 40px);
	overflow: auto;
	background: #fff;
	padding: 28px;
	box-shadow: 0 18px 45px rgba(0, 0, 0, .24);
}

.syutech-product-info-modal__dialog h3 {
	margin: 0 36px 8px 0;
	font-size: 22px;
	line-height: 1.25;
}

.syutech-product-info-modal__product {
	margin: 0 0 18px;
	color: #555;
	font-weight: 700;
}

.syutech-product-info-modal__close {
	position: absolute !important;
	top: 0 !important;
	right: 0 !important;
	left: auto !important;
	bottom: auto !important;
	width: 40px !important;
	height: 40px !important;
	padding: 0 !important;
	margin: 0 !important;
	border: 0;
	background: transparent;
	color: #222;
	font-size: 30px;
	line-height: 1;
	cursor: pointer;
}

.syutech-product-title-field {
	width: 100%;
	background-color: #f7f7f7;
	font-weight: 700;
}

@media (max-width: 480px) {
	.syutech-product-info-modal {
		padding: 12px;
	}

	.syutech-product-info-modal__dialog {
		padding: 22px 18px;
	}
}
