/* satyargold-design 2.5.0: the "price, two buttons, done" template. Loaded only when sg_ux2 is on (or in preview for administrators). */
:root {
	--sgx-gold: #a88433;
	--sgx-gold-d: #8a6b24;
	--sgx-ink: #1c1a17;
	--sgx-cream: #fbf8f2;
	--sgx-sand: #e9e1d0;
	--sgx-mut: #5f584e;
	--sgx-wa: #1f7a4d;
	--sgx-r: 14px;
}

/* ---- what goes away on every page and language ---- */
.sg-ux2 .sgd-ticker,
.sg-ux2 .sgd-bar,
.sg-ux2 .sgd-note,
.sg-ux2 .sg-wa-float {
	display: none !important;
}

/* ---- price strip ---- */
.sgx-strip {
	background: var(--sgx-ink);
	color: #fff;
	position: relative;
	z-index: 5;
}
.sgx-strip__in {
	max-width: 1180px;
	margin: 0 auto;
	padding: 10px 16px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 16px;
}
.sgx-strip__main {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 2px 14px;
	min-width: 0;
}
.sgx-strip__lbl {
	flex: 1 0 100%;
	font-size: 13px;
	color: #d6c9a6;
}
.sgx-strip__val {
	font-size: 20px;
	font-weight: 800;
	line-height: 1.4;
}
.sgx-strip__val .sgx-cur,
.sgx-strip__val small {
	font-size: 13px;
	font-weight: 500;
	color: #d6c9a6;
	margin-inline-start: 4px;
}
.sgx-none {
	font-size: 15px;
	font-weight: 600;
}
.sgx-strip__upd {
	font-size: 12px;
	color: #b5aa92;
}
.sgx-strip__approx::before {
	content: "·";
	margin-inline: 6px;
}
.sgx-strip__places {
	display: flex;
	gap: 8px;
	overflow-x: auto;
	scrollbar-width: none;
	width: 100%;
	padding: 2px 0;
}
.sgx-strip__places::-webkit-scrollbar {
	display: none;
}
.sgx-chip {
	flex: none;
	border: 1px solid #6a624f;
	background: transparent;
	color: #ece4d2;
	border-radius: 999px;
	padding: 5px 16px;
	font: inherit;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.5;
	cursor: pointer;
	min-height: 34px;
}
.sgx-chip[aria-pressed="true"] {
	background: var(--sgx-gold);
	border-color: var(--sgx-gold);
	color: #fff;
	font-weight: 700;
}
.sgx-chip:focus-visible,
.sgx-btn:focus-visible {
	outline: 3px solid #f3d27a;
	outline-offset: 2px;
}
@media (min-width: 900px) {
	.sgx-strip__in {
		flex-wrap: nowrap;
	}
	.sgx-strip__places {
		width: auto;
		margin-inline-start: auto;
	}
	.sgx-strip__upd {
		white-space: nowrap;
	}
	.sgx-strip__lbl {
		flex: 0 0 auto;
	}
}

/* ---- the page itself ---- */
.sg-ux2 .sgx-hero,
.sg-ux2 .sgx-grid,
.sg-ux2 .sgx-steps,
.sg-ux2 .sgx-calcwrap,
.sg-ux2 .sgx-faq,
.sg-ux2 .sgx-more,
.sg-ux2 .sgx-credit {
	max-width: 1180px;
	margin-inline: auto;
}
.sgx-hero {
	padding: 22px 0 4px;
}
.sgx-hero__title {
	font-size: 26px;
	line-height: 1.45;
	font-weight: 800;
	margin: 0;
	color: var(--sgx-ink);
}
.sgx-hero__sub {
	margin: 6px 0 0;
	color: var(--sgx-mut);
	font-size: 15px;
}
@media (min-width: 900px) {
	.sgx-hero {
		padding: 36px 0 8px;
	}
	.sgx-hero__title {
		font-size: 38px;
	}
	.sgx-hero__sub {
		font-size: 17px;
	}
}

/* ---- cards ---- */
.sgx-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 14px;
	margin-top: 16px;
}
@media (min-width: 560px) {
	.sgx-grid--coins,
	.sgx-grid--3 {
		grid-template-columns: 1fr 1fr;
	}
}
@media (min-width: 1000px) {
	.sgx-grid {
		gap: 18px;
	}
	.sgx-grid--coins {
		grid-template-columns: repeat(4, 1fr);
	}
	.sgx-grid--3 {
		grid-template-columns: repeat(3, 1fr);
	}
}
.sgx-grid--jewels {
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}
@media (min-width: 1000px) {
	.sgx-grid--jewels {
		grid-template-columns: repeat(4, 1fr);
		gap: 18px;
	}
}
.sgx-card {
	background: #fff;
	border: 1px solid var(--sgx-sand);
	border-radius: var(--sgx-r);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	color: var(--sgx-ink);
}
.sgx-ph {
	aspect-ratio: 1 / 1;
	background: linear-gradient(160deg, #f6f0e2, #e9e1d0);
	display: grid;
	place-items: center;
}
.sgx-ph--seal {
	container-type: inline-size;
}
.sgx-seal {
	width: 58cqw;
	aspect-ratio: 1;
	max-height: 86%;
	border-radius: 50%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 2cqw;
	background: radial-gradient(circle at 32% 26%, #f3dc9a 0%, #d8b259 38%, #a88433 72%, #7d5f1d 100%);
	box-shadow: inset 0 0 0 2.2cqw rgba(255, 247, 214, .35), inset 0 0 0 2.8cqw rgba(110, 80, 20, .35), 0 3cqw 7cqw rgba(110, 80, 20, .28);
	color: #3b2a07;
	font-family: var(--sgd-serif, Georgia, serif);
	text-align: center;
	line-height: 1;
}
.sgx-seal b {
	font-weight: 800;
	text-shadow: 0 1px 0 rgba(255, 244, 205, .55);
}
.sgx-seal__a {
	font-size: 9cqw;
}
.sgx-seal__b {
	font-size: 15cqw;
}
.sgx-seal__l {
	width: 44%;
	height: 0;
	border-top: .5cqw solid rgba(59, 42, 7, .55);
}
.sgx-ph img {
	display: block;
	width: 72%;
	height: 72%;
	object-fit: contain;
	mix-blend-mode: multiply;
}
.sgx-card--jewel .sgx-ph,
.sgx-card--jewelitem .sgx-ph {
	background: #14120f;
}
.sgx-card--jewel .sgx-ph img,
.sgx-card--jewelitem .sgx-ph img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	mix-blend-mode: normal;
}
.sgx-card--jewelitem .sgx-ph {
	aspect-ratio: 3 / 4;
}
@media (min-width: 1000px) {
	.sgx-card--home .sgx-ph {
		aspect-ratio: 4 / 3;
	}
}
.sgx-bd {
	padding: 14px;
	display: flex;
	flex-direction: column;
	gap: 3px;
	flex: 1;
}
.sgx-name {
	margin: 0;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.5;
	color: var(--sgx-ink);
}
.sgx-sub {
	margin: 0;
	font-size: 13px;
	color: var(--sgx-mut);
}
.sgx-price {
	margin: 6px 0 0;
	font-size: 24px;
	font-weight: 800;
	line-height: 1.35;
	color: var(--sgx-ink);
}
.sgx-price .sgx-cur {
	font-size: 13px;
	font-weight: 500;
	color: var(--sgx-mut);
	margin-inline-start: 4px;
}
.sgx-price .sgx-from {
	font-size: 13px;
	font-weight: 500;
	color: var(--sgx-mut);
	margin-inline-end: 4px;
}
.sgx-price--ask,
.sgx-price--text {
	font-size: 16px;
	font-weight: 700;
	color: var(--sgx-mut);
}
.sgx-note {
	margin: 2px 0 0;
	font-size: 12px;
	color: var(--sgx-mut);
}
.sgx-btns {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
	margin-top: auto;
	padding-top: 12px;
}
.sgx-btns--one {
	grid-template-columns: 1fr;
}
.sgx-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	border-radius: 10px;
	padding: 6px 8px;
	font-weight: 700;
	font-size: 15px;
	min-height: 46px;
	white-space: nowrap;
	border: 1.5px solid var(--sgx-ink);
	text-decoration: none;
	line-height: 1.3;
	box-sizing: border-box;
}
.sgx-btn svg {
	flex: none;
}
.sgx-btn--call,
.sgx-btn--call:visited {
	background: var(--sgx-ink);
	color: #fff;
}
.sgx-btn--wa,
.sgx-btn--wa:visited {
	background: #fff;
	color: var(--sgx-wa);
	border-color: var(--sgx-wa);
}
.sgx-btn:hover {
	filter: brightness(1.12);
}
.sgx-card--nophoto .sgx-bd {
	padding: 16px 14px;
}
@media (max-width: 559px) {
	.sgx-btn {
		font-size: 14px;
		padding: 6px 4px;
		gap: 4px;
	}
	.sgx-grid .sgx-btns:not(.sgx-btns--one) {
		grid-template-columns: 3fr 2fr;
	}
	.sgx-seal {
		width: 84cqw;
	}
	.sgx-seal__a {
		font-size: 13cqw;
	}
	.sgx-seal__b {
		font-size: 21cqw;
	}
	.sgx-grid--coins .sgx-card,
	.sgx-grid--3 .sgx-card {
		display: grid;
		grid-template-columns: 112px 1fr;
	}
	.sgx-grid--coins .sgx-ph,
	.sgx-grid--3 .sgx-ph {
		aspect-ratio: auto;
		height: 100%;
		min-height: 170px;
	}
	.sgx-grid--coins .sgx-bd,
	.sgx-grid--3 .sgx-bd {
		padding: 10px 12px;
	}
	.sgx-grid--coins .sgx-name,
	.sgx-grid--3 .sgx-name {
		font-size: 16px;
	}
	.sgx-grid--coins .sgx-price,
	.sgx-grid--3 .sgx-price {
		font-size: 20px;
	}
	.sgx-grid--jewels .sgx-name {
		font-size: 15px;
	}
	.sgx-grid--jewels .sgx-btn {
		font-size: 13.5px;
		padding: 4px;
	}
}

/* ---- steps ---- */
.sgx-steps {
	list-style: none;
	padding: 0;
	margin-block: 28px 6px;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
	counter-reset: sgxs;
}
.sgx-steps li {
	background: var(--sgx-sand);
	border-radius: 12px;
	padding: 12px 6px;
	text-align: center;
	font-weight: 700;
	font-size: 13.5px;
	line-height: 1.5;
	margin: 0;
	color: var(--sgx-ink);
}
.sgx-steps li::before {
	counter-increment: sgxs;
	content: counter(sgxs);
	display: grid;
	place-items: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--sgx-ink);
	color: #e6c46a;
	margin: 0 auto 6px;
	font-size: 14px;
}
@media (min-width: 900px) {
	.sgx-steps li {
		font-size: 17px;
		padding: 18px;
	}
}

/* ---- sections, calculator, FAQ ---- */
.sgx-sec {
	margin-top: 32px;
}
.sgx-sec h2,
.sgx-faq h2 {
	font-size: 21px;
	font-weight: 800;
	margin: 0 0 8px;
}
.sg-ux2 .sgx-calcwrap {
	margin-top: 18px;
}
.sg-ux2 .sgx-calcwrap .sg-calc {
	margin-top: 0;
}
/* one place chooser: the strip. The calculator's own city chips, its contact box and the repeated call lines are not shown. */
.sg-ux2 .sgx-calcwrap .sg-field:has([data-sg="gram-cities"]),
.sg-ux2 .sgx-calcwrap .sg-field:has([data-sg="coin-cities"]),
.sg-ux2 .sg-calc .sg-contact,
.sg-ux2 .sg-calc .sg-contact-wrap,
.sg-ux2 .sg-calc .sg-seg {
	display: none !important;
}
.sgx-calcact {
	margin-top: 12px;
}
.sgx-calcact .sgx-btns {
	padding-top: 0;
}
.sgx-faq {
	margin-top: 32px;
}
.sgx-faq details,
.sgx-more details.wp-block-details {
	background: #fff;
	border: 1px solid var(--sgx-sand);
	border-radius: 12px;
	margin-top: 10px;
}
.sgx-faq summary,
.sgx-more > summary {
	cursor: pointer;
	padding: 14px 16px;
	font-weight: 700;
	list-style: none;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
}
.sgx-faq summary::-webkit-details-marker,
.sgx-more > summary::-webkit-details-marker {
	display: none;
}
.sgx-more > summary::after {
	content: "+";
	font-size: 22px;
	color: var(--sgx-gold-d);
	font-weight: 500;
	flex: none;
}
.sgx-more[open] > summary::after {
	content: "\2212";
}
.sgx-faq details > :not(summary) {
	padding: 0 16px 14px;
	margin: 0;
	color: var(--sgx-mut);
	font-size: 14.5px;
}
.sgx-more {
	margin-top: 32px !important;
	background: var(--sgx-cream);
	border: 1px dashed var(--sgx-gold);
	border-radius: 12px;
}
.sgx-more > summary {
	font-size: 18px;
}
.sgx-more > :not(summary) {
	padding-inline: 16px;
}
.sgx-more > :last-child {
	padding-bottom: 16px;
}
.sgx-credit {
	font-size: 12px;
	color: var(--sgx-mut);
	margin-block: 14px 8px;
}

/* ---- sticky two-button bar (phones) ---- */
.sgx-bar {
	position: fixed;
	inset-inline: 0;
	bottom: 0;
	z-index: 90;
	background: #fff;
	border-top: 1px solid var(--sgx-sand);
	padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px));
	box-shadow: 0 -6px 18px rgba(0, 0, 0, 0.08);
}
.sgx-bar .sgx-btns {
	padding-top: 0;
	min-height: 56px;
}
.sgx-bar .sgx-btn {
	min-height: 52px;
	font-size: 16px;
}
body.sg-ux2 {
	padding-bottom: 76px;
}
@media (min-width: 900px) {
	.sgx-bar {
		display: none;
	}
	body.sg-ux2 {
		padding-bottom: 0;
	}
}
/* Astra's scroll-to-top must not sit under the bar */
.sg-ux2 #ast-scroll-top {
	bottom: 90px;
}
@media (min-width: 900px) {
	.sg-ux2 #ast-scroll-top {
		bottom: 20px;
	}
}

/* ---- overrides of theme link / heading styles inside the new components ---- */
.sg-ux2 .sgx-card .sgx-name,
.sg-ux2 .sgx-card h3.sgx-name {
	color: var(--sgx-ink);
	font-size: 17px;
	font-weight: 700;
	line-height: 1.5;
	text-align: start;
	margin: 0;
}
.sg-ux2 .sgx-card .sgx-price,
.sg-ux2 .sgx-card .sgx-sub,
.sg-ux2 .sgx-card .sgx-note {
	text-align: start;
}
.sg-ux2 a.sgx-btn,
.sg-ux2 a.sgx-btn:hover,
.sg-ux2 a.sgx-btn:focus,
.sg-ux2 .entry-content a.sgx-btn {
	text-decoration: none;
	box-shadow: none;
}
.sg-ux2 a.sgx-btn--call,
.sg-ux2 a.sgx-btn--call:hover,
.sg-ux2 a.sgx-btn--call:visited,
.sg-ux2 .entry-content a.sgx-btn--call {
	background: var(--sgx-ink);
	color: #fff;
	border-color: var(--sgx-ink);
}
.sg-ux2 a.sgx-btn--wa,
.sg-ux2 a.sgx-btn--wa:hover,
.sg-ux2 a.sgx-btn--wa:visited,
.sg-ux2 .entry-content a.sgx-btn--wa {
	background: #fff;
	color: var(--sgx-wa);
	border-color: var(--sgx-wa);
}
.sg-ux2 .sgx-hero,
.sg-ux2 .sgx-hero__title,
.sg-ux2 .sgx-hero__sub {
	text-align: start;
}
.sg-ux2 .sgx-hero__title {
	font-size: 26px;
	color: var(--sgx-ink);
}
@media (min-width: 900px) {
	.sg-ux2 .sgx-hero__title {
		font-size: 38px;
	}
}
.sg-ux2 .sgx-sec h2 {
	text-align: start;
	color: var(--sgx-ink);
}
.sg-ux2 .sgx-strip button.sgx-chip {
	text-transform: none;
	letter-spacing: 0;
	box-shadow: none;
}
.sg-ux2 .sgx-strip button.sgx-chip[aria-pressed="true"] {
	background: var(--sgx-gold);
	color: #fff;
}
.sg-ux2 .sgx-faq h2,
.sg-ux2 .sgx-faq .wp-block-heading {
	text-align: start;
	font-size: 21px;
	margin: 0 0 8px;
}
.sg-ux2 .sgx-faq h2::before,
.sg-ux2 .sgx-faq h2::after,
.sg-ux2 .sgx-sec h2::before,
.sg-ux2 .sgx-sec h2::after {
	display: none;
}
.sg-ux2 .sgx-faq .sg-section {
	padding: 0;
	margin: 0;
	background: none;
}

/* the theme styles headings and links with !important in places: the components state theirs the same way */
.sg-ux2 .sgx-card .sgx-name {
	color: #1c1a17 !important;
	font-size: 17px !important;
	font-family: inherit !important;
}
.sg-ux2 a.sgx-btn {
	text-decoration: none !important;
}
.sg-ux2 a.sgx-btn--call,
.sg-ux2 a.sgx-btn--call span {
	color: #fff !important;
}
.sg-ux2 a.sgx-btn--wa,
.sg-ux2 a.sgx-btn--wa span {
	color: #1f7a4d !important;
}
.sg-ux2 .sgx-hero__title,
.sg-ux2 .sgx-sec h2,
.sg-ux2 .sgx-faq h2 {
	color: #1c1a17 !important;
}
.sg-ux2 .sgx-hero__title {
	font-size: 26px !important;
}
@media (min-width: 900px) {
	.sg-ux2 .sgx-hero__title {
		font-size: 38px !important;
	}
}

.sg-ux2 .sgx-faq h2,
.sg-ux2 .sgx-faq .wp-block-heading,
.sg-ux2 .sgx-sec h2 {
	text-align: start !important;
	font-size: 21px !important;
}
.sg-ux2 .sgx-faq .sg-section::before,
.sg-ux2 .sgx-faq .sg-section::after,
.sg-ux2 .sgx-faq h2::before,
.sg-ux2 .sgx-faq h2::after {
	display: none !important;
	content: none !important;
}
.sg-ux2 .sgx-calcwrap .sg-calc__title {
	color: #1c1a17 !important;
	font-size: 21px;
}

/* the bullion skin gives .sg-section / .sg-faq big gaps and insets: inside the new blocks they are reset */
body.sg-ux2 .sgx-faq,
body.sg-ux2 .sgx-faq .sg-section,
body.sg-ux2 .sgx-faq .sg-faq {
	margin-block: 0 !important;
	margin-inline: 0 !important;
	padding: 0 !important;
	max-width: none !important;
	background: none !important;
	border: 0 !important;
}
body.sg-ux2 .sgx-faq {
	margin-top: 28px !important;
}
body.sg-ux2 .sgx-faq h2.wp-block-heading,
body.sg-ux2 .sgx-faq h2 {
	font-size: 21px !important;
	font-weight: 800 !important;
	margin: 0 0 8px !important;
	padding: 0 !important;
	text-align: start !important;
}
body.sg-ux2 .sgx-faq details {
	margin: 10px 0 0 !important;
}
body.sg-ux2 .sgx-more {
	margin-top: 28px !important;
	margin-bottom: 0 !important;
}
body.sg-ux2 .sgx-more .sg-section,
body.sg-ux2 .sgx-more .sg-faq,
body.sg-ux2 .sgx-more .sgh-tool,
body.sg-ux2 .sgx-more .sgh-visit,
body.sg-ux2 .sgx-more .sgh-guide {
	margin-inline: 0 !important;
	max-width: none !important;
}
body.sg-ux2 .sgx-sec {
	margin-top: 28px !important;
	padding: 0 !important;
}
.sg-ux2 .sgx-card--jewelitem .sgx-ph {
	position: relative;
	aspect-ratio: 3 / 4;
}
.sg-ux2 .sgx-card--jewelitem .sgx-ph img {
	position: absolute;
	inset: 0;
}
.sg-ux2 .sgx-card--jewel .sgx-ph {
	position: relative;
	overflow: hidden;
}
.sg-ux2 .sgx-card--jewel .sgx-ph img {
	position: absolute;
	inset: 0;
}
@media (max-width: 559px) {
	.sg-ux2 .sgx-card--jewel .sgx-ph {
		min-height: 190px;
	}
}
.sg-ux2 .sgx-hero,
.sg-ux2 .sgx-hero__title,
.sg-ux2 .sgx-hero__sub {
	text-align: start !important;
}

/* ---- wave 2 (2.5.0): prices, coin-prices and city pages ---- */
.sgx-grid--rows {
	grid-template-columns: 1fr;
}
@media (min-width: 560px) {
	.sgx-grid--rows {
		grid-template-columns: 1fr 1fr;
	}
}
@media (min-width: 860px) {
	.sgx-grid--rows {
		grid-template-columns: repeat(3, 1fr);
	}
}
@media (min-width: 1100px) {
	.sgx-grid--rows {
		grid-template-columns: repeat(5, 1fr);
	}
	.sgx-grid--rows .sgx-name {
		font-size: 16px;
	}
	.sgx-grid--rows .sgx-price {
		font-size: 21px;
	}
}
.sgx-visit {
	margin: 18px auto 0;
	padding: 12px 16px;
	border: 1px solid var(--sgx-sand);
	border-inline-start: 4px solid var(--sgx-gold);
	border-radius: 12px;
	background: #fff;
	font-size: 15px;
	line-height: 1.9;
}
.sg-ux2 .sgx-visit {
	max-width: 1180px;
	margin-inline: auto;
}
.sgx-visit a {
	font-weight: 700;
	color: var(--sgx-gold-d);
	white-space: nowrap;
}
.sgx-more h2.wp-block-heading {
	scroll-margin-top: 80px;
}
@media (min-width: 860px) {
	.sgx-grid--rows .sgx-ph,
	.sgx-grid--short .sgx-ph {
		aspect-ratio: auto;
		height: 160px;
	}
	.sgx-grid--rows .sgx-ph img,
	.sgx-grid--short .sgx-ph img {
		object-fit: contain;
		padding: 6px 0;
	}
}
/* Latin "1 g" / "18K" labels of the seal stay left-to-right inside the RTL languages that print Latin letters (ar, ckb) */
html[lang^="ar"] .sgx-seal__a,
html[lang^="ckb"] .sgx-seal__a {
	direction: ltr;
	unicode-bidi: isolate;
}
