/* TND Shape Popup — frontend styles */
.tnd-sp-overlay {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.45);
	z-index: 99999;
	align-items: flex-start;
	justify-content: center;
	padding: 40px 16px;
	overflow-y: auto;
}
.tnd-sp-overlay.tnd-sp-open {
	display: flex;
}
.tnd-sp-modal {
	background: #fff;
	width: 100%;
	max-width: 360px;
	border-radius: 14px;
	padding: 18px 18px 16px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
	animation: tnd-sp-pop 0.18s ease-out;
}
@keyframes tnd-sp-pop {
	from { transform: translateY(-12px); opacity: 0; }
	to   { transform: translateY(0); opacity: 1; }
}
.tnd-sp-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	border-bottom: 1px solid #eee;
	padding-bottom: 12px;
	margin-bottom: 16px;
}
.tnd-sp-title {
	font-size: 16px;
	font-weight: 700;
	color: #1c1c3a;
}
.tnd-sp-close {
	background: none;
	border: none;
	font-size: 22px;
	line-height: 1;
	color: #1c1c3a;
	cursor: pointer;
	padding: 0 4px;
}
.tnd-sp-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	margin-bottom: 16px;
}
.tnd-sp-shape-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	background: #f6f6f9;
	border: 2px solid transparent;
	border-radius: 10px;
	padding: 18px 10px;
	text-decoration: none;
	transition: border-color 0.15s ease, transform 0.1s ease;
}
.tnd-sp-shape-card:hover {
	border-color: #ff7a1a;
	transform: translateY(-2px);
}
.tnd-sp-shape-card img {
	width: 52px;
	height: 32px;
	object-fit: contain;
}
.tnd-sp-shape-card .tnd-sp-fallback-icon {
	width: 52px;
	height: 32px;
}
.tnd-sp-shape-card span {
	font-size: 13px;
	font-weight: 600;
	color: #1c1c3a;
}
.tnd-sp-viewall {
	display: block;
	text-align: center;
	background: #14143c;
	color: #fff;
	font-weight: 600;
	font-size: 14px;
	padding: 12px;
	border-radius: 8px;
	text-decoration: none;
	margin-bottom: 14px;
}
.tnd-sp-viewall:hover {
	background: #26265c;
	color: #fff;
}
.tnd-sp-whatsapp {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	color: #1c1c3a;
	text-decoration: none;
	font-weight: 500;
}
.tnd-sp-wa-dot {
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #25D366;
	flex-shrink: 0;
	position: relative;
}
.tnd-sp-wa-dot::after {
	content: "";
	position: absolute;
	inset: 0;
}
.tnd-sp-arrow {
	margin-left: auto;
	color: #999;
}

@media (max-width: 420px) {
	.tnd-sp-modal { max-width: 100%; }
}
