/* ==========================================================
   Product Showcase Widget
   ========================================================== */

/* Grid */
.psw-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

/* Card */
.psw-card {
	display: flex;
	flex-direction: column;
	background: #ffffff;
	border-radius: 8px;
	overflow: hidden;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.psw-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

/* Image */
.psw-img-link {
	display: block;
}
.psw-img-wrap {
	overflow: hidden;
}
.psw-img-wrap img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Card footer + button */
.psw-card-foot {
	padding: 16px;
	text-align: center;
	width: 100%;
	box-sizing: border-box;
}
.psw-card-foot button.psw-btn {
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	box-sizing: border-box;
	padding: 12px 20px;
	font-size: 14px;
	font-weight: 600;
	font-family: inherit;
	color: #333333;
	background-color: #ffffff;
	border: 1px solid #cccccc;
	border-radius: 4px;
	cursor: pointer;
	text-decoration: none;
	line-height: 1.4;
	text-align: center;
	transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.psw-card-foot button.psw-btn:hover {
	color: #ffffff;
	background-color: #1e3a6e;
	border-color: #1e3a6e;
}

/* ==========================================================
   Inquiry Popup (exact copy of inquiry-popup-widget styles)
   ========================================================== */

/* Overlay */
.psw-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.55);
	z-index: 99999;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 20px;
}

/* Popup box */
.psw-popup-box {
	background: #ffffff;
	border-radius: 10px;
	width: 100%;
	max-width: 520px;
	padding: 40px 36px 36px;
	position: relative;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
	animation: pswPopupIn 0.25s ease;
	max-height: 90vh;
	overflow-y: auto;
}

@keyframes pswPopupIn {
	from { opacity: 0; transform: translateY(-20px); }
	to   { opacity: 1; transform: translateY(0); }
}

/* Close button */
.psw-popup-close {
	position: absolute;
	top: 14px;
	right: 18px;
	font-size: 24px;
	color: #999999;
	cursor: pointer;
	background: none;
	border: none;
	line-height: 1;
	padding: 4px 6px;
	transition: color 0.2s ease;
}
.psw-popup-close:hover {
	color: #333333;
	background: none;
}

/* Popup title */
.psw-popup-title {
	font-size: 24px;
	font-weight: 800;
	color: #1a2e5a;
	margin-bottom: 24px;
	text-align: center;
}

/* Form fields */
.psw-popup-field {
	margin-bottom: 14px;
}
.psw-popup-field input,
.psw-popup-field textarea {
	width: 100%;
	border: 1px solid #dde2ec;
	border-radius: 6px;
	padding: 14px 16px;
	font-size: 15px;
	color: #333333;
	background: #ffffff;
	outline: none;
	font-family: inherit;
	transition: border-color 0.2s ease;
	-webkit-appearance: none;
	appearance: none;
}
.psw-popup-field input::placeholder,
.psw-popup-field textarea::placeholder {
	color: #aab0be;
}
.psw-popup-field input:focus,
.psw-popup-field textarea:focus {
	border-color: #1a2e5a;
}
.psw-popup-field textarea {
	resize: vertical;
	min-height: 120px;
}

/* Submit button */
.psw-popup-submit {
	width: 100%;
	padding: 16px;
	background-color: #1a2e5a;
	color: #ffffff;
	font-size: 15px;
	font-weight: 800;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	border: none;
	border-radius: 6px;
	cursor: pointer;
	margin-top: 6px;
	font-family: inherit;
	transition: background-color 0.2s ease, color 0.2s ease;
}
.psw-popup-submit:hover {
	background-color: #142248;
}

/* Success message */
.psw-popup-success {
	text-align: center;
	padding: 24px 0 8px;
	color: #1a2e5a;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.6;
}
.psw-popup-success::before {
	content: '\2713';
	display: block;
	font-size: 36px;
	color: #27ae60;
	margin-bottom: 12px;
}