/*
 * Shared tool mockup visuals (mini documents, phone, QR).
 * Used by gst/hero-showcase and gst/tool-card — registered as the
 * "gst-tool-visuals" handle in functions.php and listed in both
 * blocks' block.json "style". Markup comes from gst_tool_visual().
 */

/* mini documents */
.gst-mini-doc {
	background: #fff; border: 1px solid var(--wp--preset--color--border, #E5E7EB);
	border-radius: 10px; box-shadow: var(--wp--custom--shadow--lg, 0 10px 30px rgba(17,24,39,.08));
	width: 300px; max-width: 100%; padding: 20px; font-size: 11px; line-height: 1.5;
}
.gst-mh { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.gst-mh b { font-family: var(--wp--preset--font-family--heading, sans-serif); font-size: 13px; }
.gst-mh span { color: var(--wp--preset--color--medium, #6B7280); font-size: 10px; }
.gst-mh-left { justify-content: flex-start; gap: 10px; }
.gst-mh-left b { font-size: 12px; }
.gst-avatar {
	width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0;
	background: var(--wp--preset--color--primary-soft, #EFF4FF); color: var(--wp--preset--color--primary, #2563EB);
	display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px;
}
.gst-mrow {
	display: flex; justify-content: space-between; gap: 8px;
	padding: 5px 0; border-bottom: 1px solid var(--wp--preset--color--light, #F3F4F6);
	color: var(--wp--preset--color--medium, #6B7280); font-size: 11px;
}
.gst-mrow b { color: var(--wp--preset--color--dark, #111827); font-weight: 600; }
.gst-mtotal {
	border-bottom: none; border-top: 2px solid var(--wp--preset--color--dark, #111827);
	margin-top: 6px; padding-top: 8px; color: var(--wp--preset--color--dark, #111827);
	font-weight: 700; font-size: 12px;
}
.gst-grn { color: var(--wp--preset--color--success, #16A34A); font-weight: 700; }
.gst-chips { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 8px; }
.gst-chips i {
	font-style: normal; background: var(--wp--preset--color--light, #F3F4F6);
	border-radius: 99px; padding: 2px 8px; font-size: 9.5px; color: var(--wp--preset--color--medium, #6B7280);
}

/* phone mock */
.gst-phone {
	width: 190px; background: #fff; border: 1px solid var(--wp--preset--color--border, #E5E7EB);
	border-radius: 22px; box-shadow: var(--wp--custom--shadow--lg, 0 10px 30px rgba(17,24,39,.08));
	padding: 14px 12px; font-size: 10.5px;
}
.gst-notch { display: block; width: 60px; height: 5px; border-radius: 3px; background: var(--wp--preset--color--light, #F3F4F6); margin: 0 auto 10px; }
.gst-phone h5 { font-family: var(--wp--preset--font-family--heading, sans-serif); font-size: 12px; text-align: center; margin: 0 0 8px; }

/* QR */
.gst-qr { display: grid; grid-template-columns: repeat(7, 7px); grid-auto-rows: 7px; gap: 1px; }
.gst-qr i { background: var(--wp--preset--color--dark, #111827); }
.gst-qr i.o { background: #fff; }
.gst-qr-sm { grid-template-columns: repeat(7, 5px); grid-auto-rows: 5px; }
/* floating QR badge: position (right/bottom) is set by each context */
.gst-qr-float {
	position: absolute;
	background: #fff; border: 1px solid var(--wp--preset--color--border, #E5E7EB);
	border-radius: 10px; padding: 8px; box-shadow: var(--wp--custom--shadow--md, 0 4px 16px rgba(17,24,39,.06));
}
.gst-pay-qr {
	display: flex; gap: 10px; align-items: center; margin-top: 12px;
	border-top: 1px dashed var(--wp--preset--color--border, #E5E7EB); padding-top: 10px;
	font-size: 10px; color: var(--wp--preset--color--medium, #6B7280);
}
