.cuzgem-gemstone-details {
	--cuzgem-ink: #173b32;
	--cuzgem-gold: #a7833f;
	--cuzgem-ivory: #fbf8f0;
	background: var(--cuzgem-ivory);
	border: 1px solid rgba(167, 131, 63, 0.32);
	border-radius: 10px;
	clear: both;
	margin: 2rem 0;
	padding: 1.35rem;
}

.cuzgem-gem-expert {
	--cuzgem-expert-ink: #173b32;
	--cuzgem-expert-gold: #a7833f;
	clear: both;
	margin: 1.25rem 0 1.5rem;
}

.cuzgem-gem-expert__link {
	align-items: center;
	background: #fff;
	border: 1px solid rgba(167, 131, 63, 0.28);
	border-radius: 12px;
	box-shadow: 0 6px 22px rgba(23, 59, 50, 0.06);
	color: var(--cuzgem-expert-ink) !important;
	display: grid;
	gap: 14px;
	grid-template-columns: auto minmax(0, 1fr) auto;
	padding: 14px 16px;
	text-decoration: none !important;
	transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.cuzgem-gem-expert__link:hover,
.cuzgem-gem-expert__link:focus-visible {
	border-color: var(--cuzgem-expert-gold);
	box-shadow: 0 9px 28px rgba(23, 59, 50, 0.11);
	transform: translateY(-1px);
}

.cuzgem-gem-expert__link:focus-visible {
	outline: 2px solid var(--cuzgem-expert-gold);
	outline-offset: 3px;
}

.cuzgem-gem-expert__icon {
	align-items: center;
	border: 1px dashed rgba(23, 59, 50, 0.48);
	border-radius: 50%;
	color: var(--cuzgem-expert-ink);
	display: inline-flex;
	height: 52px;
	justify-content: center;
	overflow: hidden;
	width: 52px;
}

.cuzgem-gem-expert__icon svg {
	fill: none;
	height: 27px;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.45;
	width: 27px;
}

.cuzgem-gem-expert__icon img {
	box-sizing: border-box;
	height: 100%;
	object-fit: contain;
	padding: 5px;
	width: 100%;
}

.cuzgem-gem-expert__copy {
	display: flex;
	flex-direction: column;
	gap: 3px;
	min-width: 0;
}

.cuzgem-gem-expert__copy strong {
	color: var(--cuzgem-expert-ink);
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.3;
}

.cuzgem-gem-expert__copy small {
	color: rgba(23, 59, 50, 0.68);
	font-size: 0.88rem;
	line-height: 1.35;
}

.cuzgem-gem-expert__arrow {
	color: var(--cuzgem-expert-gold);
	font-size: 1.35rem;
	line-height: 1;
}

.cuzgem-gemstone-details h2 {
	color: var(--cuzgem-ink);
	font-size: 1.35rem;
	margin: 0 0 1rem;
}

.cuzgem-gemstone-table {
	margin: 0;
}

.cuzgem-detail-row {
	border-top: 1px solid rgba(23, 59, 50, 0.12);
	display: grid;
	gap: 1rem;
	grid-template-columns: minmax(130px, 38%) 1fr;
	padding: 0.65rem 0;
}

.cuzgem-detail-row:first-child {
	border-top: 0;
}

.cuzgem-detail-row dt {
	color: var(--cuzgem-ink);
	font-weight: 600;
}

.cuzgem-detail-row dd {
	margin: 0;
}

.cuzgem-document-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 1rem;
}

.cuzgem-document-links a {
	border: 1px solid var(--cuzgem-gold);
	border-radius: 999px;
	color: var(--cuzgem-ink);
	padding: 0.45rem 0.85rem;
	text-decoration: none;
}

.cuzgem-reference-views {
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin-top: 1.25rem;
}

.cuzgem-reference-views figure {
	margin: 0;
}

.cuzgem-reference-views img {
	aspect-ratio: 1 / 1;
	border-radius: 8px;
	display: block;
	object-fit: cover;
	width: 100%;
}

.cuzgem-reference-views figcaption {
	color: var(--cuzgem-ink);
	font-size: 0.9rem;
	margin-top: 0.4rem;
	text-align: center;
}

.cuzgem-status-badge {
	border-radius: 999px;
	display: inline-block;
	font-size: 12px;
	font-weight: 600;
	margin: 0 6px;
	padding: 3px 8px;
}

.cuzgem-status-badge.is-ready {
	background: #dff4e7;
	color: #17643a;
}

.cuzgem-status-badge.is-incomplete {
	background: #fff0d5;
	color: #815500;
}

.cuzgem-wcfm-status {
	background: #f7f7f7;
	border-left: 3px solid #a7833f;
	margin-bottom: 18px;
	padding: 12px;
}

.cuzgem-wcfm-section {
	border-top: 1px solid rgba(23, 59, 50, 0.12);
	clear: both;
	margin-top: 18px;
	padding-top: 16px;
}

.cuzgem-wcfm-section:first-of-type {
	border-top: 0;
	margin-top: 0;
	padding-top: 0;
}

.cuzgem-wcfm-section h4 {
	clear: both;
	color: #173b32;
	font-size: 15px;
	margin: 0 0 14px;
}

.cuzgem-description-templates {
	background: #fbf8f0;
	border: 1px solid rgba(167, 131, 63, 0.32);
	border-radius: 8px;
	clear: both;
	margin-top: 0;
	padding: 18px;
}

.cuzgem-description-templates h3 {
	color: #173b32;
	margin: 0 0 8px;
}

.cuzgem-template-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 14px 0 10px;
}

.cuzgem-template-button,
.cuzgem-template-check {
	background: #173b32;
	border: 1px solid #173b32;
	border-radius: 4px;
	color: #fff;
	cursor: pointer;
	font: inherit;
	font-weight: 600;
	padding: 10px 14px;
}

.cuzgem-template-check {
	background: #fff;
	color: #173b32;
}

.cuzgem-template-button:hover,
.cuzgem-template-button:focus {
	background: #a7833f;
	border-color: #a7833f;
}

.cuzgem-template-check:hover,
.cuzgem-template-check:focus {
	border-color: #a7833f;
	color: #7f612c;
}

.cuzgem-template-message {
	display: none;
	font-weight: 600;
	margin: 12px 0;
	padding: 10px 12px;
}

.cuzgem-template-message.is-success,
.cuzgem-template-message.is-warning,
.cuzgem-template-message.is-error {
	display: block;
}

.cuzgem-template-message.is-success {
	background: #dff4e7;
	color: #17643a;
}

.cuzgem-template-message.is-warning {
	background: #fff0d5;
	color: #815500;
}

.cuzgem-template-message.is-error {
	background: #fbe5e5;
	color: #8a2424;
}

@media (max-width: 600px) {
	.cuzgem-gem-expert__link {
		gap: 11px;
		padding: 12px;
	}

	.cuzgem-gem-expert__icon {
		height: 46px;
		width: 46px;
	}

	.cuzgem-detail-row {
		gap: 0.25rem;
		grid-template-columns: 1fr;
	}

	.cuzgem-reference-views {
		grid-template-columns: 1fr;
	}

	.cuzgem-template-actions {
		align-items: stretch;
		flex-direction: column;
	}
}
