/* ==========================================================
   Product Grid Widget
   ========================================================== */

.pgw-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}

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

/* Image */
.pgw-img-link {
	display: block;
}
.pgw-img {
	background: #f8f8f8;
	overflow: hidden;
	line-height: 0;
	aspect-ratio: 1 / 1;
}
.pgw-img img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Info */
.pgw-info {
	padding: 16px;
	flex: 1;
	display: flex;
	flex-direction: column;
}

/* Title */
.pgw-title {
	margin: 0 0 6px;
}
.pgw-title a {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s ease;
}

/* Description */
.pgw-desc {
	margin: 0;
	flex: 1;
}

/* Inquiry Button */
.pgw-inquiry-btn {
	display: inline-block;
	margin-top: 12px;
	padding: 10px 20px;
	font-family: inherit;
	font-size: 13px;
	font-weight: 600;
	color: #1a2e5a;
	background: transparent;
	border: 1px solid #1a2e5a;
	border-radius: 4px;
	cursor: pointer;
	transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.pgw-inquiry-btn:hover {
	color: #ffffff;
	background-color: #1a2e5a;
	border-color: #1a2e5a;
}

/* ==========================================================
   Inquiry Popup
   ========================================================== */
.pgw-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;
}
.pgw-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: pgwPopupIn 0.25s ease;
	max-height: 90vh;
	overflow-y: auto;
}
@keyframes pgwPopupIn {
	from { opacity: 0; transform: translateY(-20px); }
	to   { opacity: 1; transform: translateY(0); }
}
.pgw-popup-close {
	position: absolute;
	top: 14px;
	right: 18px;
	font-size: 24px;
	color: #999;
	cursor: pointer;
	background: none;
	border: none;
	line-height: 1;
	padding: 4px 6px;
	transition: color 0.2s ease;
}
.pgw-popup-close:hover {
	color: #333;
	background: none;
}
.pgw-popup-title {
	font-size: 24px;
	font-weight: 800;
	color: #1a2e5a;
	margin-bottom: 24px;
	text-align: center;
}
.pgw-popup-field {
	margin-bottom: 14px;
}
.pgw-popup-field input,
.pgw-popup-field textarea {
	width: 100%;
	border: 1px solid #dde2ec;
	border-radius: 6px;
	padding: 14px 16px;
	font-size: 15px;
	color: #333;
	background: #fff;
	outline: none;
	font-family: inherit;
	transition: border-color 0.2s ease;
	-webkit-appearance: none;
	appearance: none;
}
.pgw-popup-field input::placeholder,
.pgw-popup-field textarea::placeholder {
	color: #aab0be;
}
.pgw-popup-field input:focus,
.pgw-popup-field textarea:focus {
	border-color: #1a2e5a;
}
.pgw-popup-field textarea {
	resize: vertical;
	min-height: 120px;
}
.pgw-popup-submit {
	width: 100%;
	padding: 16px;
	background-color: #1a2e5a;
	color: #fff;
	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;
}
.pgw-popup-submit:hover {
	background-color: #142248;
}
.pgw-popup-success {
	text-align: center;
	padding: 24px 0 8px;
	color: #1a2e5a;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.6;
}
.pgw-popup-success::before {
	content: '\2713';
	display: block;
	font-size: 36px;
	color: #27ae60;
	margin-bottom: 12px;
}