/* ==========================================================================
   Website IA update: Gold Wallet Pass section, Gold Pass page, Resources hub,
   main-menu dropdown polish.
   Palette is the existing gold-rate palette used across the theme:
   #7a5900 (deep gold) / #c29840 (brand gold) / #d8bb73 (soft gold) /
   #1c1c16 (ink) / #5f5e5e (muted) / #d2c5b2 (line) / #fffcf2 (cream)
   ========================================================================== */

.djg-wallet,
.djg-ia {
	--djg-gold: #c29840;
	--djg-gold-deep: #7a5900;
	--djg-gold-soft: #d8bb73;
	--djg-ink: #1c1c16;
	--djg-muted: #5f5e5e;
	--djg-line: #d2c5b2;
	--djg-cream: #fffcf2;
	--djg-display: 'Outfit', 'Hind Siliguri', sans-serif; /* same display face as the homepage headings */
	font-family: 'Outfit', 'Hind Siliguri', sans-serif;
	color: var(--djg-ink);
}

/* ---------------------------------------------------------------------- */
/* Official Gold Wallet Pass section (shared by homepage + Gold Pass page) */
/* ---------------------------------------------------------------------- */

.djg-wallet {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
	gap: 40px;
	align-items: center;
	padding: 52px 56px;
	border-radius: 28px 0 28px 0;
	background:
		radial-gradient(520px 420px at 82% 50%, rgba(255, 246, 214, 0.9), rgba(255, 246, 214, 0) 70%),
		linear-gradient(120deg, #efcf7a 0%, #e8c260 55%, #e0b34d 100%);
	box-shadow: 0 30px 60px -36px rgba(122, 89, 0, 0.6);
	overflow: hidden;
	box-sizing: border-box;
}

.djg-wallet *,
.djg-wallet *::before,
.djg-wallet *::after {
	box-sizing: border-box;
}

.djg-wallet__copy {
	position: relative;
	z-index: 1;
	min-width: 0;
}

.djg-wallet__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 18px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--djg-ink);
}

.djg-wallet__eyebrow em {
	font-style: normal;
	font-size: 10px;
	letter-spacing: 0.08em;
	padding: 4px 10px;
	border-radius: 999px;
	background: var(--djg-ink);
	color: #f6e9c8;
}

.djg-wallet__title {
	margin: 0 0 18px;
	font-family: var(--djg-display);
	font-size: clamp(2.2rem, 3.8vw, 3.9rem);
	line-height: 1.04;
	letter-spacing: -0.03em;
	font-weight: 600;
	color: var(--djg-ink);
	max-width: 720px;
}

.djg-wallet__lead {
	margin: 0 0 28px;
	max-width: 620px;
	font-size: 17px;
	line-height: 1.65;
	color: rgba(28, 28, 22, 0.82);
}

.djg-wallet__audiences {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
	margin: 0 0 30px;
	padding: 0;
	list-style: none;
	max-width: 640px;
}

.djg-wallet__audiences li {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	padding: 18px;
	margin: 0;
	border-radius: 16px;
	background: rgba(255, 253, 244, 0.78);
	border: 1px solid rgba(122, 89, 0, 0.16);
	box-shadow: 0 10px 24px -18px rgba(122, 89, 0, 0.6);
}

.djg-wallet__audience-icon {
	flex: 0 0 38px;
	width: 38px;
	height: 38px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 12px;
	background: var(--djg-ink);
	color: #f6e9c8;
}

.djg-wallet__audiences strong {
	display: block;
	margin-bottom: 4px;
	font-size: 16px;
	font-weight: 600;
	color: var(--djg-ink);
}

.djg-wallet__audiences small {
	display: block;
	font-size: 13.5px;
	line-height: 1.5;
	color: rgba(28, 28, 22, 0.72);
}

.djg-wallet__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 22px;
}

.djg-wallet__btn {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	min-height: 56px;
	padding: 0 24px 0 20px;
	border-radius: 14px;
	text-decoration: none;
	font-size: 17px;
	font-weight: 600;
	line-height: 1.1;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

/* .sortd-wallet-badge (needed for wallet-pass-guard.js) also carries header-badge styles
   in style.css: flex column / white 10px label. Reset them inside the section. */
.djg-wallet .djg-wallet__btn.sortd-wallet-badge {
	display: inline-flex;
	flex-direction: row;
	align-items: center;
	gap: 12px;
}

.djg-wallet .djg-wallet__btn.sortd-wallet-badge span {
	font-size: inherit;
	font-weight: inherit;
	color: inherit;
	text-transform: none;
	letter-spacing: normal;
	white-space: nowrap;
}

.djg-wallet .djg-wallet__btn svg {
	flex: 0 0 auto;
}

.djg-wallet__btn small {
	display: block;
	margin-bottom: 2px;
	font-size: 10.5px;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	opacity: 0.7;
}

.djg-wallet__btn:hover,
.djg-wallet__btn:focus-visible {
	transform: translateY(-2px);
}

.djg-wallet__btn--dark {
	background: var(--djg-ink);
	color: #fffcf2;
	box-shadow: 0 14px 24px -12px rgba(28, 28, 22, 0.65);
}

.djg-wallet__btn--dark:hover {
	color: #fffcf2;
	background: #000;
}

.djg-wallet__btn--light {
	background: #fffcf2;
	color: var(--djg-ink);
	border: 1px solid rgba(28, 28, 22, 0.14);
	box-shadow: 0 14px 24px -14px rgba(28, 28, 22, 0.4);
}

.djg-wallet__btn--light:hover {
	color: var(--djg-ink);
	background: #fff;
}

.djg-wallet__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.djg-wallet__chips li {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin: 0;
	padding: 6px 12px;
	border-radius: 999px;
	font-size: 12.5px;
	font-weight: 500;
	color: rgba(28, 28, 22, 0.82);
	background: rgba(28, 28, 22, 0.07);
}

/* Phone mock */

.djg-wallet__visual {
	position: relative;
	z-index: 1;
	display: flex;
	justify-content: center;
}

.djg-wallet__visual::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 420px;
	height: 420px;
	max-width: 110%;
	transform: translate(-50%, -50%);
	border-radius: 50%;
	background: radial-gradient(circle at 35% 30%, #fff7da 0%, #f6dc8c 45%, rgba(246, 220, 140, 0) 72%);
}

.djg-wallet__float {
	position: absolute;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 9px 14px;
	border-radius: 999px;
	font-size: 12.5px;
	font-weight: 600;
	white-space: nowrap;
	background: #fffdf4;
	color: var(--djg-ink);
	box-shadow: 0 16px 30px -14px rgba(28, 28, 22, 0.55);
}

.djg-wallet__float i {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #2e9e5b;
	box-shadow: 0 0 0 4px rgba(46, 158, 91, 0.2);
}

.djg-wallet__float--live {
	top: 8%;
	left: -2%;
}

.djg-wallet__float--sync {
	bottom: 10%;
	right: -2%;
	background: var(--djg-ink);
	color: #f6e9c8;
}

.djg-wallet__phone {
	position: relative;
	width: min(100%, 300px);
	padding: 30px 16px 22px;
	border-radius: 40px;
	background: #14130f;
	box-shadow:
		0 0 0 2px #2c2a22,
		0 40px 60px -24px rgba(28, 28, 22, 0.75);
	transform: rotate(3deg);
	transition: transform 0.4s ease;
}

.djg-wallet:hover .djg-wallet__phone {
	transform: rotate(0deg);
}

.djg-wallet__notch {
	position: absolute;
	top: 10px;
	left: 50%;
	width: 84px;
	height: 18px;
	border-radius: 12px;
	background: #000;
	transform: translateX(-50%);
}

.djg-wallet__phone-label {
	margin: 0 6px 10px;
	font-size: 12px;
	font-weight: 500;
	color: rgba(255, 252, 242, 0.55);
}

.djg-wallet__card {
	padding: 18px;
	border-radius: 20px;
	background: linear-gradient(160deg, #4a2f1b 0%, #2b1a0f 100%);
	color: #fffcf2;
	box-shadow: 0 16px 24px -14px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.djg-wallet__card-head {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 18px;
	font-size: 12px;
}

.djg-wallet__mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	border: 1px solid var(--djg-gold);
	font-size: 8px;
	font-weight: 700;
	letter-spacing: 0.04em;
	color: var(--djg-gold-soft);
}

.djg-wallet__brand {
	flex: 1;
	font-weight: 500;
}

.djg-wallet__date {
	color: rgba(255, 252, 242, 0.6);
}

.djg-wallet__card-caption {
	font-size: 10.5px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: rgba(255, 252, 242, 0.55);
}

.djg-wallet__price {
	margin: 2px 0 16px;
	font-size: 46px;
	font-weight: 600;
	line-height: 1.05;
	letter-spacing: -0.02em;
	color: #fffcf2;
}

.djg-wallet__rates {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 10px;
	padding-top: 12px;
	border-top: 1px solid rgba(255, 252, 242, 0.14);
}

.djg-wallet__rates span {
	display: block;
	font-size: 10.5px;
	letter-spacing: 0.08em;
	color: rgba(255, 252, 242, 0.55);
}

.djg-wallet__rates strong {
	font-size: 17px;
	font-weight: 600;
}

.djg-wallet__barcode {
	height: 46px;
	margin-top: 16px;
	border-radius: 10px;
	background:
		repeating-linear-gradient(90deg, #2b1a0f 0 3px, transparent 3px 6px, #2b1a0f 6px 7px, transparent 7px 12px),
		#fffcf2;
}

.djg-wallet__ghost {
	height: 26px;
	margin: 10px 8px 0;
	border-radius: 14px;
	background: rgba(255, 252, 242, 0.08);
}

.djg-wallet__ghost--2 {
	margin: 8px 16px 0;
	height: 22px;
	background: rgba(255, 252, 242, 0.05);
}

/* Variant: standalone Gold Pass page hero is a little bigger */

.djg-wallet--page {
	padding: 64px 64px;
}

/* Homepage placement tweak: sits in its own section, give it breathing room */

.sortd-home-section--rates .djg-wallet {
	margin: 0;
}

@media (max-width: 1024px) {
	.djg-wallet,
	.djg-wallet--page {
		grid-template-columns: 1fr;
		padding: 40px 32px 44px;
		gap: 36px;
	}

	.djg-wallet__phone {
		transform: none;
	}
}

@media (max-width: 600px) {
	.djg-wallet,
	.djg-wallet--page {
		padding: 32px 20px 36px;
		border-radius: 20px 0 20px 0;
	}

	.djg-wallet__audiences {
		grid-template-columns: 1fr;
	}

	.djg-wallet__actions {
		flex-direction: column;
	}

	.djg-wallet__btn {
		justify-content: flex-start;
		width: 100%;
	}

	.djg-wallet__lead {
		font-size: 16px;
	}
}

/* ---------------------------------------------------------------------- */
/* Gold Pass page + Resources hub (shared layout bits)                    */
/* ---------------------------------------------------------------------- */

.djg-ia {
	width: 100%;
	float: left;
	background: var(--djg-cream);
	padding-bottom: 56px;
}

.djg-ia .wrap {
	max-width: 1240px;
}

.djg-ia__crumb {
	padding: 22px 0 18px;
	font-size: 13px;
	color: var(--djg-muted);
}

.djg-ia__crumb a {
	color: var(--djg-gold-deep);
	text-decoration: none;
}

.djg-ia__crumb a:hover {
	text-decoration: underline;
}

.djg-ia__section {
	clear: both;
	padding: 64px 0 0;
}

.djg-ia__head {
	max-width: 720px;
	margin: 0 0 32px;
}

.djg-ia__head--center {
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

.djg-ia__kicker {
	display: inline-block;
	margin-bottom: 10px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--djg-gold-deep);
}

.djg-ia__head h2 {
	margin: 0 0 12px;
	font-size: clamp(1.7rem, 2.6vw, 2.5rem);
	font-weight: 600;
	letter-spacing: -0.02em;
	color: var(--djg-ink);
}

.djg-ia__head p {
	margin: 0;
	font-size: 16.5px;
	line-height: 1.7;
	color: var(--djg-muted);
}

/* Steps */

.djg-steps {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: djg-step;
}

.djg-steps li {
	position: relative;
	margin: 0;
	padding: 34px 28px 30px;
	border: 1px solid var(--djg-line);
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 18px 30px -26px rgba(122, 89, 0, 0.5);
	counter-increment: djg-step;
}

.djg-steps li::before {
	content: counter(djg-step);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	margin-bottom: 18px;
	border-radius: 50%;
	background: linear-gradient(135deg, #efcf7a, #c29840);
	color: var(--djg-ink);
	font-size: 17px;
	font-weight: 700;
}

.djg-steps h3 {
	margin: 0 0 8px;
	font-size: 20px;
	font-weight: 600;
	color: var(--djg-ink);
}

.djg-steps p {
	margin: 0;
	font-size: 15.5px;
	line-height: 1.65;
	color: var(--djg-muted);
}

/* Rate strip */

.djg-ratebar {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) repeat(3, minmax(0, 0.7fr));
	gap: 0;
	border-radius: 22px;
	background: linear-gradient(160deg, #4a2f1b 0%, #1f130a 100%);
	color: #fffcf2;
	overflow: hidden;
}

.djg-ratebar > div {
	padding: 30px 28px;
	border-left: 1px solid rgba(255, 252, 242, 0.1);
}

.djg-ratebar > div:first-child {
	border-left: 0;
}

.djg-ratebar__lead h2 {
	margin: 0 0 8px;
	font-size: 24px;
	font-weight: 600;
	color: #fffcf2;
}

.djg-ratebar__lead p {
	margin: 0 0 16px;
	font-size: 14.5px;
	line-height: 1.6;
	color: rgba(255, 252, 242, 0.7);
}

.djg-ratebar__lead a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 14.5px;
	font-weight: 600;
	color: var(--djg-gold-soft);
	text-decoration: none;
}

.djg-ratebar__lead a:hover {
	text-decoration: underline;
}

.djg-ratebar__karat {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--djg-gold-soft);
}

.djg-ratebar__value {
	margin: 8px 0 2px;
	font-size: 38px;
	font-weight: 600;
	letter-spacing: -0.02em;
	line-height: 1.05;
}

.djg-ratebar__unit {
	font-size: 12.5px;
	color: rgba(255, 252, 242, 0.55);
}

/* Benefits */

.djg-benefits {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 22px;
}

.djg-benefit {
	padding: 34px 32px;
	border-radius: 20px;
	border: 1px solid var(--djg-line);
	background: #fff;
}

.djg-benefit--accent {
	background: var(--djg-cream);
	border-color: rgba(194, 152, 64, 0.5);
}

.djg-benefit__tag {
	display: inline-block;
	margin-bottom: 14px;
	padding: 5px 12px;
	border-radius: 999px;
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	background: rgba(194, 152, 64, 0.18);
	color: var(--djg-gold-deep);
}

.djg-benefit h3 {
	margin: 0 0 12px;
	font-size: 24px;
	font-weight: 600;
	letter-spacing: -0.01em;
	color: var(--djg-ink);
}

.djg-benefit ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.djg-benefit li {
	position: relative;
	margin: 0 0 10px;
	padding-left: 26px;
	font-size: 15.5px;
	line-height: 1.6;
	color: var(--djg-muted);
}

.djg-benefit li::before {
	content: '';
	position: absolute;
	left: 2px;
	top: 8px;
	width: 10px;
	height: 6px;
	border-left: 2px solid var(--djg-gold);
	border-bottom: 2px solid var(--djg-gold);
	transform: rotate(-45deg);
}

/* FAQ */

.djg-faq {
	max-width: 860px;
	margin: 0 auto;
}

.djg-faq details {
	border-bottom: 1px solid var(--djg-line);
}

.djg-faq summary {
	position: relative;
	padding: 22px 44px 22px 0;
	list-style: none;
	cursor: pointer;
	font-size: 18px;
	font-weight: 500;
	color: var(--djg-ink);
}

.djg-faq summary::-webkit-details-marker {
	display: none;
}

.djg-faq summary::after {
	content: '+';
	position: absolute;
	right: 4px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 26px;
	font-weight: 300;
	color: var(--djg-gold-deep);
	transition: transform 0.2s ease;
}

.djg-faq details[open] summary::after {
	content: '–';
}

.djg-faq details p {
	margin: 0 0 22px;
	max-width: 720px;
	font-size: 16px;
	line-height: 1.7;
	color: var(--djg-muted);
}

/* CTA band */

.djg-cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 40px 44px;
	border-radius: 24px 0 24px 0;
	background: var(--djg-ink);
	color: #fffcf2;
}

.djg-cta h2 {
	margin: 0 0 6px;
	font-size: clamp(1.5rem, 2.2vw, 2rem);
	font-weight: 600;
	color: #fffcf2;
}

.djg-cta p {
	margin: 0;
	font-size: 15.5px;
	color: rgba(255, 252, 242, 0.7);
}

.djg-cta__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.djg-btn {
	display: inline-flex;
	align-items: center;
	min-height: 50px;
	padding: 0 26px;
	border-radius: 999px;
	font-size: 15.5px;
	font-weight: 600;
	text-transform: none;
	letter-spacing: normal;
	white-space: nowrap;
	text-decoration: none;
	transition: transform 0.2s ease, background-color 0.2s ease;
}

.djg-btn:hover {
	transform: translateY(-2px);
}

.djg-btn--gold {
	background: var(--djg-gold-soft);
	color: var(--djg-ink);
}

.djg-btn--gold:hover {
	background: #e5cb8b;
	color: var(--djg-ink);
}

.djg-btn--ghost {
	border: 1px solid rgba(255, 252, 242, 0.35);
	color: #fffcf2;
}

.djg-btn--ghost:hover {
	background: rgba(255, 252, 242, 0.08);
	color: #fffcf2;
}

/* Hub (Resources) */

.djg-hub-hero {
	padding: 56px 56px;
	border-radius: 28px 0 28px 0;
	background:
		radial-gradient(420px 320px at 88% 20%, rgba(255, 246, 214, 0.85), rgba(255, 246, 214, 0) 70%),
		linear-gradient(120deg, #efcf7a 0%, #e8c260 55%, #e0b34d 100%);
	box-shadow: 0 30px 60px -36px rgba(122, 89, 0, 0.6);
}

.djg-hub-hero h1 {
	margin: 0 0 14px;
	font-size: clamp(2.2rem, 3.6vw, 3.6rem);
	font-weight: 600;
	letter-spacing: -0.03em;
	line-height: 1.06;
	color: var(--djg-ink);
}

.djg-hub-hero p {
	max-width: 640px;
	margin: 0;
	font-size: 17px;
	line-height: 1.65;
	color: rgba(28, 28, 22, 0.8);
}

.djg-hub-group + .djg-hub-group {
	margin-top: 48px;
}

.djg-hub-group h2 {
	margin: 0 0 18px;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--djg-gold-deep);
}

.djg-hub-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

.djg-hub-card {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 28px 26px 24px;
	border: 1px solid var(--djg-line);
	border-radius: 20px;
	background: #fff;
	color: var(--djg-ink);
	text-decoration: none;
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

a.djg-hub-card:hover {
	transform: translateY(-4px);
	border-color: var(--djg-gold);
	box-shadow: 0 24px 36px -26px rgba(122, 89, 0, 0.55);
	color: var(--djg-ink);
}

.djg-hub-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	margin-bottom: 18px;
	border-radius: 14px;
	background: var(--djg-cream);
	border: 1px solid rgba(194, 152, 64, 0.45);
	color: var(--djg-gold-deep);
}

.djg-hub-card h3 {
	margin: 0 0 8px;
	font-size: 20px;
	font-weight: 600;
	color: var(--djg-ink);
}

.djg-hub-card p {
	flex: 1;
	margin: 0 0 18px;
	font-size: 15px;
	line-height: 1.6;
	color: var(--djg-muted);
}

.djg-hub-card__more {
	font-size: 14.5px;
	font-weight: 600;
	color: var(--djg-gold-deep);
}

a.djg-hub-card:hover .djg-hub-card__more {
	text-decoration: underline;
}

.djg-hub-card--soon {
	background: var(--djg-cream);
	border-style: dashed;
}

.djg-hub-card--soon .djg-hub-card__more {
	color: var(--djg-muted);
	font-weight: 500;
}

@media (max-width: 1024px) {
	.djg-steps,
	.djg-hub-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.djg-ratebar {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.djg-ratebar__lead {
		grid-column: 1 / -1;
		border-bottom: 1px solid rgba(255, 252, 242, 0.1);
	}

	.djg-ratebar > div:nth-child(2) {
		border-left: 0;
	}
}

@media (max-width: 680px) {
	.djg-ia__section {
		padding-top: 48px;
	}

	.djg-steps,
	.djg-hub-grid,
	.djg-benefits {
		grid-template-columns: 1fr;
	}

	.djg-ratebar > div {
		padding: 22px 20px;
	}

	.djg-ratebar__value {
		font-size: 28px;
	}

	.djg-hub-hero,
	.djg-cta {
		padding: 32px 22px;
	}

	.djg-cta {
		border-radius: 20px 0 20px 0;
	}

	.djg-benefit {
		padding: 26px 22px;
	}
}

/* ---------------------------------------------------------------------- */
/* Main menu: 8 top-level items, dropdowns, LIVE badge                    */
/* ---------------------------------------------------------------------- */

@media (min-width: 769px) {
	/* The theme draws its dropdown arrow with a:after, but an inline rule
	   (#primary-menu.menu li a::after = 3px underline bar) hijacks it, so the arrow
	   never shows. Draw the chevron as a background on the link instead. */
	.main-navigation #primary-menu > li {
		padding-left: 12px !important;
		padding-right: 12px !important;
	}

	.main-navigation #primary-menu > li:first-child {
		padding-left: 0 !important;
	}

	.main-navigation #primary-menu > li > a {
		font-size: 15px;
		white-space: nowrap;
	}

	.main-navigation #primary-menu > li.menu-item-has-children {
		padding-right: 12px !important;
	}

	.main-navigation #primary-menu > li.menu-item-has-children > a {
		padding-right: 18px !important;
		background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5L6 8l3.5-3.5' fill='none' stroke='%23fff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 50% / 12px 12px;
		transition: background-position 0.2s ease;
	}

	.main-navigation #primary-menu > li.menu-item-has-children:hover > a {
		background-position: right 45%;
	}

	.main-navigation #primary-menu .sub-menu {
		min-width: 280px;
		margin-top: 6px;
		padding: 10px;
		border-radius: 16px;
		border: 1px solid rgba(194, 152, 64, 0.35);
		box-shadow: 0 28px 50px -20px rgba(28, 28, 22, 0.5);
	}

	.main-navigation #primary-menu .sub-menu li {
		padding: 0 !important;
		border: 0 !important;
		display: block;
		width: 100%;
	}

	.main-navigation #primary-menu .sub-menu li a {
		display: block;
		padding: 11px 14px !important;
		border-radius: 10px;
		font-size: 15px;
		line-height: 1.35;
		white-space: normal;
		color: #1c1c16;
	}

	.main-navigation #primary-menu .sub-menu li:hover > a,
	.main-navigation #primary-menu .sub-menu li.focus > a {
		background: #fff6dc;
		color: #7a5900;
	}

	.main-navigation #primary-menu .sub-menu li.current-menu-item > a {
		background: #fff6dc;
		color: #7a5900;
		font-weight: 600;
	}

	.main-navigation #primary-menu .sub-menu a::before,
	.main-navigation #primary-menu .sub-menu a::after {
		display: none !important;
	}
}

@media (min-width: 769px) and (max-width: 1279px) {
	.main-navigation #primary-menu > li {
		padding-left: 8px !important;
		padding-right: 8px !important;
	}

	.main-navigation #primary-menu > li.menu-item-has-children {
		padding-right: 8px !important;
	}

	.main-navigation #primary-menu > li > a {
		font-size: 13.5px;
	}
}

/* LIVE badge lives on the <li>, not the link: the theme turns a::before into the hover
   underline bar, which used to replace the badge on hover and push the text around. */
.main-navigation #primary-menu > li.menu-item-live {
	position: relative;
	padding-left: 46px !important;
}

.main-navigation #primary-menu > li.menu-item-live::before {
	content: 'LIVE';
	position: absolute;
	left: 0;
	top: 50%;
	margin-top: -8px;
	padding: 0 6px;
	height: 16px;
	line-height: 16px;
	border-radius: 4px;
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 0.08em;
	background: #1c1c16;
	color: #f6e9c8;
	animation: djg-live-pulse 2s ease-in-out infinite;
	pointer-events: none;
}

@keyframes djg-live-pulse {
	0%,
	100% {
		opacity: 1;
	}
	50% {
		opacity: 0.55;
	}
}

@media (prefers-reduced-motion: reduce) {
	.main-navigation #primary-menu > li.menu-item-live::before,
	.djg-wallet__phone {
		animation: none;
		transition: none;
	}
}

.djg-ia__head h2,
.djg-hub-hero h1,
.djg-benefit h3,
.djg-cta h2,
.djg-ratebar__lead h2,
.djg-wallet__price,
.djg-ratebar__value {
	font-family: var(--djg-display);
}

/* Mobile top strip (.top-menu-mobile) is a single horizontal row: show only the
   top-level items there. The full dropdown tree lives in the hamburger side menu. */
.top-bar-menu-mobile .sub-menu {
	display: none !important;
}

.djg-ia__head--center {
	max-width: 900px;
}

.djg-ia__head h2,
.djg-hub-hero h1,
.djg-wallet__title {
	text-wrap: balance;
}

@media (max-width: 1024px) {
	.djg-wallet__visual {
		padding: 10px 0 20px;
	}

	.djg-wallet__float--live {
		left: 6%;
	}

	.djg-wallet__float--sync {
		right: 6%;
	}
}

@media (max-width: 480px) {
	.djg-wallet__float--live {
		left: 0;
	}

	.djg-wallet__float--sync {
		right: 0;
	}
}

@media (min-width: 769px) and (max-width: 1060px) {
	.main-navigation #primary-menu > li {
		padding-left: 6px !important;
		padding-right: 6px !important;
	}

	.main-navigation #primary-menu > li.menu-item-has-children {
		padding-right: 6px !important;
	}

	.main-navigation #primary-menu > li > a {
		font-size: 12.5px;
	}

	.main-navigation #primary-menu > li.menu-item-has-children > a {
		padding-right: 15px !important;
		background-size: 10px 10px;
	}

	.main-navigation #primary-menu > li.menu-item-live {
		padding-left: 6px !important;
	}

	.main-navigation #primary-menu > li.menu-item-live::before {
		display: none;
	}
}

/* ==========================================================================
   Homepage sections: gold-rate strip, Why Dubai, Offers, Shop in Dubai,
   Resources, About
   ========================================================================== */

.djg-home-section {
	--djg-gold: #c29840;
	--djg-gold-deep: #7a5900;
	--djg-gold-soft: #d8bb73;
	--djg-ink: #1c1c16;
	--djg-muted: #5f5e5e;
	--djg-line: #e6d9b8;
	--djg-cream: #fffcf2;
	--djg-display: 'Outfit', 'Hind Siliguri', sans-serif;
	margin-bottom: 72px !important;
	font-family: 'Outfit', 'Hind Siliguri', sans-serif;
	color: var(--djg-ink);
}

.djg-home-section *,
.djg-home-section *::before,
.djg-home-section *::after {
	box-sizing: border-box;
}

.djg-kicker {
	display: inline-block;
	margin-bottom: 10px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--djg-gold-deep);
}

.djg-title {
	margin: 0 0 12px;
	font-family: var(--djg-display);
	font-size: clamp(1.9rem, 3vw, 2.9rem);
	font-weight: 600;
	line-height: 1.1;
	letter-spacing: -0.02em;
	color: var(--djg-ink);
	text-wrap: balance;
}

.djg-lead {
	margin: 0 0 22px;
	max-width: 560px;
	font-size: 16.5px;
	line-height: 1.7;
	color: var(--djg-muted);
}

.djg-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 15.5px;
	font-weight: 600;
	color: var(--djg-gold-deep);
	text-decoration: none;
}

.djg-link:hover {
	color: var(--djg-ink);
	text-decoration: underline;
}

.djg-head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px 24px;
	margin-bottom: 30px;
}

.djg-head .djg-title {
	margin-bottom: 0;
}

.djg-head__meta {
	display: flex;
	align-items: center;
	gap: 16px;
}

.djg-pill {
	padding: 6px 14px;
	border-radius: 999px;
	font-size: 12.5px;
	font-weight: 600;
	background: #fff3cf;
	color: var(--djg-gold-deep);
}

.djg-btn--dark {
	background: var(--djg-ink);
	color: #fffcf2;
}

.djg-btn--dark:hover {
	background: #000;
	color: #fffcf2;
}

.djg-btn--line {
	border: 1px solid var(--djg-ink);
	color: var(--djg-ink);
}

.djg-btn--line:hover {
	background: var(--djg-ink);
	color: #fffcf2;
}

/* Gold-rate strip */

.djg-ratestrip__inner {
	display: grid;
	grid-template-columns: minmax(220px, 1fr) minmax(0, 2.1fr) auto;
	align-items: center;
	gap: 28px;
	padding: 26px 32px;
	border-radius: 22px;
	background: linear-gradient(160deg, #4a2f1b 0%, #1f130a 100%);
	color: #fffcf2;
	box-shadow: 0 30px 50px -34px rgba(31, 19, 10, 0.9);
}

.djg-ratestrip__live {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin-bottom: 8px;
	padding: 3px 10px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	background: rgba(255, 252, 242, 0.1);
	color: var(--djg-gold-soft);
}

.djg-ratestrip__live i {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #4cd18a;
	box-shadow: 0 0 0 4px rgba(76, 209, 138, 0.22);
}

.djg-ratestrip__lead h2 {
	margin: 0 0 4px;
	font-family: var(--djg-display);
	font-size: 22px;
	font-weight: 600;
	line-height: 1.2;
	color: #fffcf2;
}

.djg-ratestrip__lead p {
	margin: 0;
	font-size: 13px;
	color: rgba(255, 252, 242, 0.62);
}

.djg-ratestrip__rates {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	margin: 0;
	padding: 0;
	list-style: none;
}

.djg-ratestrip__rates li {
	margin: 0;
	padding: 4px 16px;
	border-left: 1px solid rgba(255, 252, 242, 0.12);
}

.djg-ratestrip__rates span {
	display: block;
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--djg-gold-soft);
}

.djg-ratestrip__rates strong {
	display: block;
	margin-top: 4px;
	font-family: var(--djg-display);
	font-size: 26px;
	font-weight: 600;
	line-height: 1.1;
	color: #fffcf2;
}

.djg-ratestrip__rates .is-primary strong {
	font-size: 32px;
	color: #f6dc8c;
}

.djg-ratestrip__link {
	font-size: 14px;
	font-weight: 600;
	white-space: nowrap;
	color: var(--djg-gold-soft);
	text-decoration: none;
}

.djg-ratestrip__link:hover {
	color: #fff;
	text-decoration: underline;
}

/* Why Dubai */

.djg-why__grid {
	display: grid;
	grid-template-columns: minmax(240px, 0.8fr) minmax(0, 2.2fr);
	gap: 56px;
	align-items: center;
}

.djg-why__cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.djg-why__card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 24px 22px 22px;
	border: 1px solid var(--djg-line);
	border-radius: 20px;
	background: var(--djg-cream);
	color: var(--djg-ink);
	text-decoration: none;
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.djg-why__card:hover,
.djg-why__card:focus-visible {
	transform: translateY(-4px);
	border-color: var(--djg-gold);
	background: #fff;
	box-shadow: 0 26px 40px -28px rgba(122, 89, 0, 0.6);
	color: var(--djg-ink);
}

.djg-why__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 50px;
	height: 50px;
	border-radius: 16px;
	background: linear-gradient(135deg, #f3d97f, #d9a93f);
	color: var(--djg-ink);
}

.djg-why__body strong {
	display: block;
	margin-bottom: 2px;
	font-size: 19px;
	font-weight: 600;
	color: var(--djg-ink);
}

.djg-why__body em {
	display: block;
	margin-bottom: 8px;
	font-size: 13px;
	font-style: normal;
	font-weight: 600;
	letter-spacing: 0.04em;
	color: var(--djg-gold-deep);
}

.djg-why__body small {
	display: block;
	font-size: 14px;
	line-height: 1.55;
	color: var(--djg-muted);
}

.djg-why__arrow {
	position: absolute;
	top: 22px;
	right: 22px;
	font-size: 18px;
	color: var(--djg-gold-deep);
	opacity: 0;
	transform: translateX(-6px);
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.djg-why__card:hover .djg-why__arrow {
	opacity: 1;
	transform: none;
}

/* Offers */

.djg-offers__campaigns {
	display: grid;
	gap: 24px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.djg-offers__campaigns--1 {
	grid-template-columns: 1fr;
}

.djg-offers__adverts {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
	margin-top: 24px;
}

.djg-offer {
	display: flex;
	flex-direction: column;
	border: 1px solid var(--djg-line);
	border-radius: 20px;
	overflow: hidden;
	background: #fff;
	color: var(--djg-ink);
	text-decoration: none;
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.djg-offer:hover,
.djg-offer:focus-visible {
	transform: translateY(-4px);
	border-color: var(--djg-gold);
	box-shadow: 0 28px 44px -30px rgba(31, 19, 10, 0.7);
	color: var(--djg-ink);
}

.djg-offer__media {
	display: block;
	aspect-ratio: 2 / 1;
	overflow: hidden;
	background: #1f130a;
}

.djg-offer__media--sq {
	aspect-ratio: 4 / 3;
}

.djg-offer__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.djg-offer:hover .djg-offer__media img {
	transform: scale(1.04);
}

.djg-offer__bar {
	display: flex;
	flex: 1;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 18px 22px 20px;
}

.djg-offer__text {
	display: block;
	min-width: 0;
}

.djg-offer__tag {
	display: inline-block;
	margin-bottom: 8px;
	padding: 3px 10px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	background: #fff3cf;
	color: var(--djg-gold-deep);
}

.djg-offer__text strong {
	display: block;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.3;
	color: var(--djg-ink);
}

.djg-offer__text small {
	display: block;
	margin-top: 4px;
	font-size: 13.5px;
	color: var(--djg-muted);
}

.djg-offer__go {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--djg-ink);
	color: #f6e9c8;
	font-size: 18px;
	transition: transform 0.2s ease, background-color 0.2s ease;
}

.djg-offer:hover .djg-offer__go {
	background: var(--djg-gold);
	color: var(--djg-ink);
	transform: translateX(3px);
}

.djg-offers__adverts .djg-offer__bar {
	padding: 14px 16px 16px;
}

.djg-offers__adverts .djg-offer__text strong {
	font-size: 16px;
}

.djg-offers__cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px 24px;
	margin-top: 24px;
	padding: 24px 28px;
	border-radius: 20px;
	background: var(--djg-cream);
	border: 1px dashed rgba(194, 152, 64, 0.7);
	color: var(--djg-ink);
	text-decoration: none;
}

.djg-offers__cta strong {
	display: block;
	font-size: 18px;
	font-weight: 600;
}

.djg-offers__cta small {
	display: block;
	margin-top: 2px;
	font-size: 14px;
	color: var(--djg-muted);
}

.djg-offers__cta-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 22px;
	border-radius: 999px;
	font-size: 15px;
	font-weight: 600;
	background: var(--djg-ink);
	color: #fffcf2;
}

.djg-offers__cta:hover .djg-offers__cta-btn {
	background: var(--djg-gold-deep);
}

/* Shop in Dubai */

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

.djg-shop__tile {
	display: flex;
	flex-direction: column;
	padding: 28px 24px 24px;
	border-radius: 22px;
	border: 1px solid var(--djg-line);
	background: #fff;
	color: var(--djg-ink);
	text-decoration: none;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.djg-shop__tile:hover,
.djg-shop__tile:focus-visible {
	transform: translateY(-5px);
	background: var(--djg-ink);
	border-color: var(--djg-ink);
	box-shadow: 0 30px 44px -28px rgba(31, 19, 10, 0.85);
	color: #fffcf2;
}

.djg-shop__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 54px;
	height: 54px;
	margin-bottom: 20px;
	border-radius: 16px;
	background: #fff3cf;
	color: var(--djg-gold-deep);
	transition: background-color 0.2s ease, color 0.2s ease;
}

.djg-shop__tile:hover .djg-shop__icon {
	background: linear-gradient(135deg, #f3d97f, #d9a93f);
	color: var(--djg-ink);
}

.djg-shop__tile strong {
	display: block;
	margin-bottom: 6px;
	font-size: 19px;
	font-weight: 600;
}

.djg-shop__tile small {
	display: block;
	flex: 1;
	margin-bottom: 18px;
	font-size: 14.5px;
	line-height: 1.6;
	color: var(--djg-muted);
	transition: color 0.2s ease;
}

.djg-shop__tile:hover small {
	color: rgba(255, 252, 242, 0.7);
}

.djg-shop__more {
	font-size: 14.5px;
	font-weight: 600;
	color: var(--djg-gold-deep);
}

.djg-shop__tile:hover .djg-shop__more {
	color: var(--djg-gold-soft);
}

/* Resources + About bands */

.djg-resources__inner {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr) auto;
	align-items: center;
	gap: 32px;
	padding: 40px 44px;
	border-radius: 26px 0 26px 0;
	background: var(--djg-cream);
	border: 1px solid var(--djg-line);
}

.djg-resources__inner .djg-lead {
	margin-bottom: 0;
}

.djg-resources__links {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.djg-resources__links li {
	margin: 0;
}

.djg-resources__links a {
	display: inline-block;
	padding: 10px 18px;
	border-radius: 999px;
	font-size: 15px;
	font-weight: 500;
	background: #fff;
	border: 1px solid var(--djg-line);
	color: var(--djg-ink);
	text-decoration: none;
	transition: background-color 0.2s ease, border-color 0.2s ease;
}

.djg-resources__links a:hover {
	background: #fff3cf;
	border-color: var(--djg-gold);
	color: var(--djg-ink);
}

.djg-about__inner {
	display: grid;
	grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
	align-items: center;
	gap: 40px;
	padding-top: 48px;
	border-top: 1px solid var(--djg-line);
}

.djg-about__inner .djg-lead {
	max-width: 760px;
	margin-bottom: 0;
}

.djg-about__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 12px;
}

/* Responsive */

@media (max-width: 1100px) {
	.djg-ratestrip__inner {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.djg-ratestrip__rates li:first-child {
		border-left: 0;
		padding-left: 0;
	}

	.djg-why__grid {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.djg-offers__adverts,
	.djg-shop__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.djg-resources__inner {
		grid-template-columns: 1fr;
	}

	.djg-about__inner {
		grid-template-columns: 1fr;
	}

	.djg-about__actions {
		justify-content: flex-start;
	}
}

@media (max-width: 767px) {
	.djg-home-section {
		margin-bottom: 52px !important;
	}

	.djg-ratestrip__inner {
		padding: 22px 20px;
	}

	.djg-ratestrip__rates {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		row-gap: 14px;
	}

	.djg-ratestrip__rates li:nth-child(4) {
		border-left: 0;
		padding-left: 0;
	}

	.djg-ratestrip__rates strong {
		font-size: 21px;
	}

	.djg-ratestrip__rates .is-primary strong {
		font-size: 24px;
	}

	.djg-why__cards,
	.djg-offers__campaigns,
	.djg-offers__adverts,
	.djg-shop__grid {
		grid-template-columns: 1fr;
	}

	.djg-offer__bar {
		padding: 16px 18px 18px;
	}

	.djg-resources__inner {
		padding: 28px 22px;
		border-radius: 20px 0 20px 0;
	}

	.djg-head {
		align-items: flex-start;
	}
}

.djg-ratestrip__rates {
	grid-template-columns: 1.3fr repeat(4, minmax(0, 1fr));
}

.djg-ratestrip__rates strong {
	white-space: nowrap;
}

.djg-ratestrip__rates .is-primary strong {
	font-size: 30px;
}

@media (max-width: 1280px) {
	.djg-ratestrip__inner {
		padding: 24px 24px;
		gap: 20px;
	}

	.djg-ratestrip__rates li {
		padding: 4px 12px;
	}

	.djg-ratestrip__rates strong {
		font-size: 22px;
	}

	.djg-ratestrip__rates .is-primary strong {
		font-size: 27px;
	}
}

.djg-home-section .djg-btn {
	display: inline-flex;
	width: max-content;
	max-width: 100%;
	gap: 8px;
	align-items: center;
	justify-content: center;
	white-space: nowrap;
}

.djg-resources__inner {
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) max-content;
}

/* Harmonise the existing homepage section headings with the new ones */
.sortd-client-homepage-template .sortd-sponsored-listings__title,
.sortd-client-homepage-template .sortd-section-header--news h2 {
	font-family: 'Outfit', 'Hind Siliguri', sans-serif;
	font-size: clamp(1.9rem, 3vw, 2.9rem);
	font-weight: 600;
	line-height: 1.1;
	letter-spacing: -0.02em;
	color: #1c1c16;
}

.sortd-client-homepage-template .sortd-sponsored-listings__eyebrow {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.16em;
	color: #7a5900;
}

@media (max-width: 1100px) {
	.djg-resources__inner {
		grid-template-columns: 1fr;
	}
}

/* ---------------------------------------------------------------------- */
/* Round 3: single dropdown icon, Outfit everywhere, pass image, offers   */
/* ---------------------------------------------------------------------- */

/* The theme's own FontAwesome arrow (a::after) was showing on top of the SVG chevron
   added earlier, so each parent item had two icons. Keep only the chevron. */
@media (min-width: 769px) {
	.main-navigation #primary-menu > li.menu-item-has-children > a::after {
		content: none !important;
		display: none !important;
	}
}

/* One font across the homepage and the new pages */
.sortd-client-homepage-template,
.sortd-client-homepage-template h1,
.sortd-client-homepage-template h2,
.sortd-client-homepage-template h3,
.sortd-client-homepage-template h4,
.sortd-client-homepage-template p,
.sortd-client-homepage-template a,
.sortd-client-homepage-template span,
.sortd-client-homepage-template strong,
.sortd-client-homepage-template small,
.sortd-client-homepage-template em,
.djg-ia,
.djg-ia h1,
.djg-ia h2,
.djg-ia h3,
.djg-ia summary {
	font-family: 'Outfit', 'Hind Siliguri', sans-serif;
}

.djg-title,
.djg-ia__head h2,
.djg-wallet__title,
.djg-hub-hero h1 {
	letter-spacing: -0.025em;
	font-weight: 600;
}

/* Pass image (replaces the phone mock-up) */
.djg-wallet__visual::before {
	width: 460px;
	height: 460px;
}

.djg-wallet__pass {
	position: relative;
	z-index: 1;
	display: block;
	width: min(100%, 330px);
	height: auto;
	border-radius: 26px;
	transform: rotate(3deg);
	box-shadow: 0 40px 70px -30px rgba(60, 38, 0, 0.7);
	transition: transform 0.4s ease;
}

.djg-wallet:hover .djg-wallet__pass {
	transform: rotate(0deg) translateY(-4px);
}

@media (max-width: 1024px) {
	.djg-wallet__pass {
		width: min(100%, 300px);
		transform: none;
	}
}

/* Offers: four banner images in a 2 x 2 grid */
.djg-offers__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 22px;
}

.djg-offers__grid .djg-offer {
	position: relative;
	border-radius: 20px;
	background: #fff;
}

.djg-offers__grid .djg-offer__media {
	aspect-ratio: 497 / 195;
	background: #f3ead2;
}

.djg-offers__grid .djg-offer__tag {
	position: absolute;
	top: 14px;
	left: 14px;
	z-index: 2;
	margin: 0;
	padding: 5px 12px;
	background: rgba(255, 252, 242, 0.95);
	box-shadow: 0 8px 18px -10px rgba(28, 28, 22, 0.6);
}

@media (max-width: 767px) {
	.djg-offers__grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}
}

/* ---------------------------------------------------------------------- */
/* Homepage rhythm: one consistent gap between every section              */
/* ---------------------------------------------------------------------- */

.sortd-client-homepage-template > .sortd-home-section,
.sortd-client-homepage-template > .djg-home-section {
	margin-top: 0 !important;
	margin-bottom: 72px !important;
}

.sortd-client-homepage-template > .sortd-home-section:last-child {
	margin-bottom: 56px !important;
}

.sortd-client-homepage-template > .sortd-home-section--rates,
.sortd-client-homepage-template > .djg-ratestrip {
	/* strip follows the hero slider: slightly tighter */
}

.sortd-client-homepage-template .sortd-sponsored-listings__header,
.sortd-client-homepage-template .sortd-section-header--news {
	margin-bottom: 30px;
}

@media (max-width: 767px) {
	.sortd-client-homepage-template > .sortd-home-section,
	.sortd-client-homepage-template > .djg-home-section {
		margin-bottom: 52px !important;
	}

	.sortd-client-homepage-template > .sortd-home-section:last-child {
		margin-bottom: 40px !important;
	}
}

/* Featured jewellers: square brand logo tiles */
.djg-brands {
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 20px;
}

.sortd-client-homepage-template .djg-brands__item {
	height: auto;
	padding: 0;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	border-radius: 20px;
	border: 1px solid #e6d9b8;
	background: #fff;
	box-shadow: 0 18px 30px -26px rgba(31, 19, 10, 0.55);
}

.sortd-client-homepage-template .djg-brands__item:hover,
.sortd-client-homepage-template .djg-brands__item:focus-visible {
	transform: translateY(-5px);
	border-color: #c29840;
	box-shadow: 0 26px 40px -24px rgba(122, 89, 0, 0.6);
}

.sortd-client-homepage-template .djg-brands__item img {
	width: 100%;
	height: 100%;
	max-width: none;
	max-height: none;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.sortd-client-homepage-template .djg-brands__item:hover img {
	transform: scale(1.05);
}

@media (max-width: 1100px) {
	.djg-brands {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 600px) {
	.djg-brands {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 14px;
	}
}

/* Ad Inserter slot: only takes space when it actually renders something */
.sortd-client-homepage-template > .sortd-home-section--promo {
	margin-bottom: 0 !important;
}

.sortd-client-homepage-template > .sortd-home-section--promo:has(img, iframe, ins, video, a) {
	margin-bottom: 72px !important;
}

/* gap between the hero slider and the gold-rate strip (same 48px rhythm) */
.sortd-client-homepage-template > .djg-ratestrip {
	margin-top: 24px !important;
}

/* ---------------------------------------------------------------------- */
/* Round 4: offer cards (4-up, image + logo badge + copy + button)        */
/*          and smaller, padded brand tiles                               */
/* ---------------------------------------------------------------------- */

.djg-offers__grid {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 22px;
	align-items: stretch;
}

.djg-offers__grid .djg-offer {
	position: relative;
	display: flex;
	flex-direction: column;
	border: 1px solid #e9e1cc;
	border-radius: 22px;
	background: #fff;
	overflow: hidden;
}

.djg-offers__grid .djg-offer__media {
	aspect-ratio: 497 / 240;
	background: #f3ead2;
}

.djg-offers__grid .djg-offer__media img {
	object-position: center;
}

.djg-offer__logo {
	position: relative;
	align-self: flex-end;
	width: 52px;
	height: 52px;
	margin: -26px 18px 0 0;
	border-radius: 50%;
	overflow: hidden;
	background: #fff;
	border: 3px solid #fff;
	box-shadow: 0 8px 18px -8px rgba(28, 28, 22, 0.55);
	z-index: 2;
}

.djg-offer__logo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.djg-offer__body {
	display: block;
	flex: 1;
	padding: 20px 20px 18px;
}

.djg-offer__logo + .djg-offer__body {
	padding-top: 6px;
}

.djg-offer__body strong {
	display: block;
	margin-bottom: 10px;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.4;
	letter-spacing: 0.01em;
	text-transform: uppercase;
	color: var(--djg-ink, #1c1c16);
}

.djg-offer__body small {
	display: block;
	font-size: 12px;
	line-height: 1.55;
	letter-spacing: 0.01em;
	text-transform: uppercase;
	color: #8a8782;
}

.djg-offer__cta {
	align-self: flex-end;
	margin: 0 20px;
	padding: 11px 24px;
	border-radius: 12px 12px 0 0;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	background: #b8912e;
	color: #fff;
	transition: background-color 0.2s ease;
}

.djg-offer:hover .djg-offer__cta {
	background: #7a5900;
}

@media (max-width: 1100px) {
	.djg-offers__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.djg-offers__grid {
		grid-template-columns: 1fr;
	}
}

/* Brand tiles: smaller, with breathing room around the logo */
.djg-brands {
	gap: 20px;
}

.sortd-client-homepage-template .djg-brands__item {
	aspect-ratio: auto;
	height: 170px;
	padding: 22px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #fff;
	border-radius: 20px;
	overflow: hidden;
}

.sortd-client-homepage-template .djg-brands__item img {
	width: auto;
	height: 100%;
	max-width: 100%;
	max-height: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: 16px;
}

@media (max-width: 1100px) {
	.sortd-client-homepage-template .djg-brands__item {
		height: 150px;
		padding: 18px;
	}
}

/* ---------------------------------------------------------------------- */
/* Round 5: purple wallet section matching the new pass, store badges,     */
/* gold-rate card in the original brown/gold style                         */
/* ---------------------------------------------------------------------- */

.djg-wallet {
	background:
		radial-gradient(520px 460px at 80% 50%, rgba(205, 140, 235, 0.45), rgba(128, 71, 153, 0) 70%),
		linear-gradient(135deg, #8d52a8 0%, #804799 45%, #5c2f73 100%);
	box-shadow: 0 34px 60px -38px rgba(60, 20, 80, 0.9);
	color: #fff;
}

.djg-wallet__eyebrow {
	color: rgba(255, 255, 255, 0.92);
}

.djg-wallet__eyebrow em {
	background: #f0cf7a;
	color: #1c1c16;
}

.djg-wallet__title {
	color: #fff;
}

.djg-wallet__lead {
	color: rgba(255, 255, 255, 0.84);
}

.djg-wallet__audiences li {
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.2);
	box-shadow: none;
}

.djg-wallet__audience-icon {
	background: #f0cf7a;
	color: #3a1a4a;
}

.djg-wallet__audiences strong {
	color: #fff;
}

.djg-wallet__audiences small {
	color: rgba(255, 255, 255, 0.78);
}

.djg-wallet__chips li {
	background: rgba(255, 255, 255, 0.14);
	color: rgba(255, 255, 255, 0.92);
}

.djg-wallet__visual::before {
	background: radial-gradient(circle at 40% 35%, rgba(232, 190, 255, 0.55) 0%, rgba(196, 130, 226, 0.28) 45%, rgba(128, 71, 153, 0) 72%);
}

/* official store badges */
.djg-wallet .djg-wallet__badge.sortd-wallet-badge {
	display: block;
	flex-direction: initial;
	gap: 0;
	padding: 0;
	line-height: 0;
	border-radius: 16px;
	transition: transform 0.2s ease, filter 0.2s ease;
}

.djg-wallet .djg-wallet__badge:hover,
.djg-wallet .djg-wallet__badge:focus-visible {
	transform: translateY(-3px);
	filter: drop-shadow(0 14px 18px rgba(20, 5, 30, 0.45));
}

.djg-wallet .djg-wallet__badge img {
	display: block;
	width: auto;
	height: 60px;
	border-radius: 0;
	transition: none;
}

.djg-wallet .djg-wallet__badge:hover img {
	transform: none;
}

/* pass image has its own rounded, transparent corners */
.djg-wallet__pass {
	border-radius: 0;
	box-shadow: none;
	filter: drop-shadow(0 34px 40px rgba(25, 5, 38, 0.55));
	width: min(100%, 320px);
}

@media (max-width: 600px) {
	.djg-wallet .djg-wallet__actions {
		flex-direction: row;
		flex-wrap: wrap;
	}

	.djg-wallet .djg-wallet__badge img {
		height: 54px;
	}
}

/* Round 6: offers back to a 2 x 2 grid of full-width banner images */
.djg-offers__grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 22px;
}

.djg-offers__grid .djg-offer__media {
	aspect-ratio: 497 / 195;
}

@media (max-width: 767px) {
	.djg-offers__grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}
}


/* ---------------------------------------------------------------------- */
/* Round 8: compact gold-rate widget beside the video, compact wallet band */
/* ---------------------------------------------------------------------- */

/* --- gold-rate widget ---------------------------------------------------- */

.djg-raterow {
	display: block;
}

.djg-raterow--video {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 20px;
	align-items: stretch;
}

.djg-ratecard {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 14px;
	padding: 22px 26px;
	border-radius: 28px 0 28px 0;
	background: linear-gradient(135deg, #6d4a1c 0%, #a2702b 46%, #6d4a1c 100%);
	color: #fff;
	box-shadow: 0 30px 50px -38px rgba(60, 38, 8, 0.95);
	box-sizing: border-box;
	min-width: 0;
}

.djg-ratecard__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	column-gap: 12px;
	row-gap: 4px;
}

.djg-ratecard__live {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 3px 10px;
	border-radius: 999px;
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	background: rgba(255, 255, 255, 0.16);
	color: #fff;
}

.djg-ratecard__live i {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #4cd18a;
	box-shadow: 0 0 0 3px rgba(76, 209, 138, 0.25);
}

.djg-ratecard h2 {
	flex: 1 1 0;
	min-width: 0;
	margin: 0;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.25;
	letter-spacing: 0.01em;
	text-transform: uppercase;
	color: #fff;
}

.djg-ratecard__meta {
	flex: 0 0 100%;
	margin: 0;
	font-size: 12.5px;
	color: rgba(255, 255, 255, 0.78);
}

.djg-ratecard__table {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.djg-ratecard__table li {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2px;
	margin: 0;
	padding: 10px 4px;
	border: 1px solid rgba(255, 255, 255, 0.28);
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.1);
}

.djg-ratecard__table span {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.06em;
	color: #f6dc8c;
}

.djg-ratecard__table strong {
	font-size: 18px;
	font-weight: 600;
	line-height: 1.15;
	white-space: nowrap;
	color: #fff;
}

.djg-ratecard__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.djg-ratecard__wallet {
	display: flex;
	align-items: center;
	gap: 8px;
}

.djg-ratecard__badge {
	display: block;
	line-height: 0;
	border-radius: 8px;
	transition: transform 0.2s ease, filter 0.2s ease;
}

.djg-ratecard__badge img {
	display: block;
	width: auto;
	height: 34px;
}

.djg-ratecard__badge:hover,
.djg-ratecard__badge:focus-visible {
	transform: translateY(-2px);
	filter: drop-shadow(0 8px 10px rgba(20, 5, 30, 0.4));
}

.djg-ratecard__link {
	display: inline-flex;
	gap: 6px;
	font-size: 13px;
	font-weight: 600;
	white-space: nowrap;
	color: #f6dc8c;
	text-decoration: none;
}

.djg-ratecard__link:hover {
	color: #fff;
	text-decoration: underline;
}

/* video: fills the same height as the card (the card sets the row height) */
.djg-ratevideo {
	position: relative;
	min-width: 0;
}

.djg-ratevideo .code-block {
	position: absolute;
	inset: 0;
	height: 100%;
	margin: 0 !important;
}

.djg-ratevideo .laregVideo-Ad {
	display: flex !important;
	flex-direction: column;
	float: none !important;
	width: 100% !important;
	height: 100%;
	border: 0 !important;
	border-radius: 0 28px 0 28px !important;
	box-shadow: 0 30px 50px -38px rgba(60, 38, 8, 0.7);
}

.djg-ratevideo .laregVideo-Ad .pillar-video {
	flex: 1 1 0;
	width: 100% !important;
	height: 0;
	min-height: 0;
	margin: 0 !important;
	object-fit: cover;
}

.djg-ratevideo .laregVideo-Ad .knowBox {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 6px 18px !important;
}

.djg-ratevideo .laregVideo-Ad .knowBox img {
	height: 26px !important;
	width: auto;
}

.djg-ratevideo .laregVideo-Ad .knowBox a {
	float: none !important;
	margin: 0 !important;
}

/* tighter gaps so the widget lands in the first scroll */
.sortd-client-homepage-template > .djg-ratestrip {
	margin-top: 18px !important;
	margin-bottom: 36px !important;
}

@media (max-width: 1000px) {
	.djg-raterow--video {
		grid-template-columns: 1fr;
		gap: 14px;
	}

	/* mobile: video first, then the widget */
	.djg-raterow--video .djg-ratevideo {
		order: -1;
		aspect-ratio: 16 / 9;
	}

	.djg-ratecard {
		padding: 18px 18px;
		border-radius: 22px 0 22px 0;
		gap: 12px;
	}

	.djg-ratevideo .laregVideo-Ad {
		border-radius: 0 22px 0 22px !important;
	}
}

@media (max-width: 480px) {
	.djg-ratecard h2 {
		font-size: 13.5px;
	}

	.djg-ratecard__table {
		gap: 5px;
	}

	.djg-ratecard__table li {
		padding: 8px 2px;
		border-radius: 10px;
	}

	.djg-ratecard__table span {
		font-size: 11px;
	}

	.djg-ratecard__table strong {
		font-size: 14px;
	}

	.djg-ratecard__badge img {
		height: 30px;
	}

	.djg-ratecard__foot {
		flex-wrap: wrap;
	}
}

/* --- compact wallet band (homepage variant) ------------------------------ */

.djg-wallet--home {
	display: block;
	min-height: 196px;
	padding: 30px 56px;
	border-radius: 26px 0 26px 0;
	background:
		radial-gradient(520px 260px at 92% -10%, rgba(240, 207, 122, 0.38), rgba(240, 207, 122, 0) 65%),
		radial-gradient(560px 380px at 66% 130%, rgba(214, 150, 245, 0.55), rgba(214, 150, 245, 0) 68%),
		linear-gradient(115deg, #2f0f44 0%, #54276c 38%, #804799 72%, #a460c2 100%);
}

.djg-wallet--home .djg-wallet__copy {
	max-width: 60%;
}

.djg-wallet--home .djg-wallet__eyebrow {
	margin-bottom: 8px;
}

.djg-wallet--home .djg-wallet__title {
	margin: 0 0 6px;
	font-size: clamp(1.35rem, 2.1vw, 1.9rem);
	line-height: 1.15;
}

.djg-wallet--home .djg-wallet__title br {
	display: none;
}

.djg-wallet--home .djg-wallet__lead {
	max-width: 520px;
	margin: 0 0 16px;
	font-size: 14.5px;
	line-height: 1.5;
}

.djg-wallet--home .djg-wallet__actions {
	margin: 0;
}

.djg-wallet--home .djg-wallet__badge img {
	height: 44px;
}

/* small pass card peeking out of the right edge */
.djg-wallet--home .djg-wallet__visual {
	position: absolute;
	top: 0;
	right: 64px;
	bottom: 0;
	width: 240px;
	min-height: 0;
	margin: 0;
	padding: 0;
}

.djg-wallet--home .djg-wallet__visual::before {
	display: none;
}

.djg-wallet--home .djg-wallet__pass {
	position: absolute;
	top: 28px;
	left: 0;
	width: 220px;
	max-width: none;
	transform: rotate(7deg);
	filter: drop-shadow(0 22px 26px rgba(15, 3, 25, 0.55));
}

.djg-wallet--home:hover .djg-wallet__pass {
	transform: rotate(4deg) translateY(-6px);
}

@media (max-width: 1024px) {
	.djg-wallet--home {
		padding: 26px 28px;
	}

	.djg-wallet--home .djg-wallet__visual {
		right: 24px;
	}
}

@media (max-width: 767px) {
	.djg-wallet--home {
		min-height: 0;
		padding: 22px 20px 24px;
		border-radius: 20px 0 20px 0;
	}

	.djg-wallet--home .djg-wallet__copy {
		max-width: 66%;
	}

	.djg-wallet--home .djg-wallet__eyebrow span {
		font-size: 10.5px;
		letter-spacing: 0.08em;
	}

	.djg-wallet--home .djg-wallet__title {
		font-size: 1.2rem;
	}

	.djg-wallet--home .djg-wallet__eyebrow {
		flex-wrap: wrap;
		row-gap: 4px;
	}

	.djg-wallet--home .djg-wallet__lead {
		display: none;
	}

	.djg-wallet--home .djg-wallet__badge img {
		height: 28px;
	}

	.djg-wallet--home .djg-wallet__actions {
		flex-direction: row;
		flex-wrap: nowrap;
		gap: 6px;
	}

	.djg-wallet--home .djg-wallet__visual {
		right: 6px;
		width: 104px;
	}

	.djg-wallet--home .djg-wallet__pass {
		top: 54px;
		width: 98px;
	}
}

.sortd-client-homepage-template > .sortd-home-section--rates {
	margin-bottom: 44px !important;
}

/* --- Moments That Matter ------------------------------------------------- */

.sortd-client-homepage-template > .djg-moments {
	margin-bottom: 56px !important;
}

/* ---------------------------------------------------------------------- */
/* Round 9: video at its natural 16:9 (no bar, no crop); widget matches it */
/* ---------------------------------------------------------------------- */

.djg-raterow--video {
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
}

.djg-raterow--video .djg-ratevideo {
	aspect-ratio: 16 / 9;
}

.djg-ratevideo .laregVideo-Ad .knowBox {
	display: none !important;
}

.djg-ratevideo .laregVideo-Ad .pillar-video {
	flex: 1 1 auto;
	height: 100%;
	object-fit: cover;
}

.djg-ratecard {
	justify-content: space-between;
	padding: 28px 30px;
	gap: 18px;
}

.djg-ratecard h2 {
	font-size: 17px;
}

.djg-ratecard__meta {
	font-size: 13.5px;
}

.djg-ratecard__table li {
	padding: 16px 4px;
	border-radius: 16px;
}

.djg-ratecard__table span {
	font-size: 13px;
}

.djg-ratecard__table strong {
	font-size: 20px;
}

.djg-ratecard__badge img {
	height: 38px;
}

.djg-ratecard__link {
	align-items: center;
	gap: 6px;
	font-size: 14px;
}

.djg-ratecard__link svg {
	flex: 0 0 auto;
	transition: transform 0.2s ease;
}

.djg-ratecard__link:hover svg {
	transform: translateX(3px);
}

@media (max-width: 1000px) {
	.djg-raterow--video .djg-ratevideo {
		aspect-ratio: 16 / 9;
	}

	.djg-ratecard {
		justify-content: flex-start;
		padding: 18px;
		gap: 12px;
	}

	.djg-ratecard h2 {
		font-size: 14px;
	}

	.djg-ratecard__table li {
		padding: 10px 4px;
	}

	.djg-ratecard__table strong {
		font-size: 16px;
	}

	.djg-ratecard__badge img {
		height: 32px;
	}
}

@media (max-width: 480px) {
	.djg-ratecard__table li {
		padding: 8px 2px;
	}

	.djg-ratecard__table strong {
		font-size: 14px;
	}

	.djg-ratecard__badge img {
		height: 30px;
	}
}

/* ---------------------------------------------------------------------- */
/* Round 10: rate rows (like live), video CTA / click-through / mute       */
/* ---------------------------------------------------------------------- */

.djg-ratecard {
	justify-content: space-between;
	padding: 24px 30px 22px;
	gap: 12px;
}

.djg-ratecard__head {
	flex-wrap: nowrap;
	align-items: center;
}

.djg-ratecard__live {
	flex: 0 0 auto;
}

.djg-ratecard h2 {
	font-size: 15.5px;
}

.djg-ratecard__meta {
	flex: 0 0 100%;
	margin-top: 2px;
	font-size: 13px;
}

.djg-ratecard__head {
	flex-wrap: wrap;
}

.djg-ratecard__table {
	display: block;
	padding: 2px 20px;
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 22px 0 22px 0;
	background: transparent;
}

.djg-ratecard__table li {
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 8px 2px;
	border: 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.24);
	border-radius: 0;
	background: transparent;
}

.djg-ratecard__table li:last-child {
	border-bottom: 0;
}

.djg-ratecard__table span {
	font-size: 15.5px;
	font-weight: 600;
	letter-spacing: 0.02em;
	color: #fff;
}

.djg-ratecard__table strong {
	font-size: 16.5px;
	font-weight: 500;
	color: #fff;
}

.djg-ratecard__table strong::before {
	content: 'AED ';
	font-size: 0.8em;
	font-weight: 400;
	opacity: 0.75;
}

.djg-ratevideo__hit {
	position: absolute;
	inset: 0;
	z-index: 2;
	border-radius: 0 28px 0 28px;
}

.djg-ratevideo__cta {
	position: absolute;
	right: 16px;
	bottom: 16px;
	z-index: 3;
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 9px 16px;
	border: 1px solid rgba(255, 255, 255, 0.45);
	border-radius: 999px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #fff;
	text-decoration: none;
	background: rgba(20, 14, 6, 0.38);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	transition: background 0.2s ease, transform 0.2s ease;
}

.djg-ratevideo__cta:hover,
.djg-ratevideo__cta:focus-visible {
	background: rgba(194, 152, 64, 0.7);
	color: #fff;
	transform: translateY(-2px);
}

.djg-ratevideo__mute {
	position: absolute;
	top: 14px;
	right: 14px;
	z-index: 3;
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.4);
	border-radius: 50%;
	color: #fff;
	background: rgba(20, 14, 6, 0.38);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	cursor: pointer;
	transition: background 0.2s ease;
}

.djg-ratevideo__mute:hover,
.djg-ratevideo__mute:focus-visible {
	background: rgba(194, 152, 64, 0.7);
}

.djg-ratevideo__mute .djg-ico-on,
.djg-ratevideo.is-unmuted .djg-ratevideo__mute .djg-ico-off {
	display: none;
}

.djg-ratevideo.is-unmuted .djg-ratevideo__mute .djg-ico-on {
	display: block;
}

@media (max-width: 1000px) {
	.djg-ratecard {
		padding: 18px 18px 16px;
	}

	.djg-ratecard__table {
		padding: 0 14px;
	}

	.djg-ratecard__table li {
		padding: 7px 2px;
	}

	.djg-ratecard__table span {
		font-size: 14px;
	}

	.djg-ratecard__table strong {
		font-size: 15px;
	}

	.djg-ratevideo__hit {
		border-radius: 0 22px 0 22px;
	}

	.djg-ratevideo__cta {
		right: 12px;
		bottom: 12px;
		padding: 7px 13px;
		font-size: 12px;
	}
}

/* Round 10b: keep the card within the 16:9 video height */
@media (min-width: 1001px) {
	.djg-ratecard {
		padding: 20px 28px 18px;
		gap: 10px;
	}

	.djg-ratecard h2 {
		font-size: 14px;
	}

	.djg-ratecard__meta {
		margin-top: 0;
		font-size: 12.5px;
	}

	.djg-ratecard__table li {
		padding: 7px 2px;
	}

	.djg-ratecard__table span {
		font-size: 15px;
	}

	.djg-ratecard__table strong {
		font-size: 16px;
	}

	.djg-ratecard__badge img {
		height: 34px;
	}
}

/* keep the video overlays below the sticky header */
.djg-ratevideo {
	isolation: isolate;
	z-index: 0;
}

/* mobile stack (must come after the Round 9 column rule): video first, then widget */
@media (max-width: 1000px) {
	.djg-raterow--video {
		grid-template-columns: minmax(0, 1fr);
		gap: 14px;
	}

	.djg-raterow--video .djg-ratevideo {
		order: -1;
	}
}

/* Mobile: tighter gap between the hero banner and the gold-rate strip.
   (The space above the banner is handled in style.css - "gap fixes" - so it is not touched here.) */
@media (max-width: 980px) {
	.sortd-client-homepage-template .sortd-home-banner-outer {
		margin-bottom: 0 !important;
	}

	.sortd-client-homepage-template > .djg-ratestrip {
		margin-top: 16px !important;
		margin-bottom: 28px !important;
	}
}

/* ---------------------------------------------------------------------- */
/* Round 11 (experiment): cream gold-rate card with gold type              */
/* ---------------------------------------------------------------------- */

.djg-ratecard {
	position: relative;
	overflow: hidden;
	color: #5a4210;
	border: 1px solid #e6d3a0;
	background:
		radial-gradient(420px 220px at 100% 0%, rgba(216, 187, 115, 0.32), rgba(216, 187, 115, 0) 70%),
		radial-gradient(360px 200px at 0% 100%, rgba(216, 187, 115, 0.2), rgba(216, 187, 115, 0) 70%),
		#fefcf2;
	box-shadow: 0 30px 50px -36px rgba(122, 89, 0, 0.55), inset 0 1px 0 #fff;
}

/* gold bar along the top edge */
.djg-ratecard::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(90deg, #a2702b, #e9cf84 38%, #c29840 62%, #a2702b);
}

.djg-ratecard > * {
	position: relative;
	z-index: 1;
}

.djg-ratecard__live {
	color: #7a5900;
	background: rgba(194, 152, 64, 0.16);
	border: 1px solid rgba(194, 152, 64, 0.4);
}

.djg-ratecard__live i {
	background: #1ea866;
	box-shadow: 0 0 0 3px rgba(30, 168, 102, 0.2);
}

.djg-ratecard h2 {
	color: #7a5900;
}

.djg-ratecard__meta {
	color: #8c7a4f;
}

.djg-ratecard__table {
	border: 1px solid #e3cf97;
	border-radius: 22px 0 22px 0;
	background: rgba(255, 255, 255, 0.65);
	box-shadow: 0 10px 24px -18px rgba(122, 89, 0, 0.5);
}

.djg-ratecard__table li {
	border-bottom: 1px dashed #e3cf97;
}

.djg-ratecard__table li:last-child {
	border-bottom: 0;
}

.djg-ratecard__table span {
	color: #6b4f0c;
}

.djg-ratecard__table strong {
	color: #8a6310;
	background: linear-gradient(180deg, #b98a2c 0%, #8a5f0d 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

.djg-ratecard__table strong::before {
	-webkit-text-fill-color: #a88a4c;
	opacity: 0.9;
}

/* 24K is the headline rate: soft gold highlight (no extra height) */
.djg-ratecard__table li:first-child {
	margin: 0 -10px;
	padding-left: 12px;
	padding-right: 12px;
	border-radius: 12px;
	border-bottom-color: transparent;
	background: linear-gradient(90deg, rgba(233, 207, 132, 0.45), rgba(233, 207, 132, 0.12));
}

.djg-ratecard__table li:first-child span {
	color: #5a3f00;
	font-weight: 700;
}

.djg-ratecard__table li:first-child strong {
	font-weight: 700;
}

.djg-ratecard__link {
	color: #8a6310;
}

.djg-ratecard__link:hover {
	color: #5a3f00;
}

.djg-ratecard__badge img {
	border-radius: 7px;
	box-shadow: 0 6px 14px -8px rgba(40, 25, 0, 0.6);
}

/* Round 11b: even rows, quieter meta line, richer readable gold */
.djg-ratecard__meta {
	color: #b5a781;
	font-weight: 400;
}

.djg-ratecard__table {
	padding: 5px 8px;
}

.djg-ratecard__table li,
.djg-ratecard__table li:first-child {
	margin: 0;
	padding: 6px 12px;
	border-radius: 12px;
}

.djg-ratecard__table li {
	border-bottom: 0;
	position: relative;
}

/* dashed divider that stays inside the row padding, so every row lines up */
.djg-ratecard__table li + li::before {
	content: '';
	position: absolute;
	top: 0;
	left: 12px;
	right: 12px;
	border-top: 1px dashed #e3cf97;
}

.djg-ratecard__table li:first-child + li::before {
	display: none;
}

.djg-ratecard__table li:first-child {
	background: linear-gradient(90deg, rgba(233, 207, 132, 0.5), rgba(233, 207, 132, 0.14));
	box-shadow: inset 0 0 0 1px rgba(194, 152, 64, 0.28);
}

.djg-ratecard__table span {
	color: #4d3606;
}

.djg-ratecard__table li:first-child span {
	color: #3c2900;
}

.djg-ratecard__table strong {
	background: linear-gradient(180deg, #a06c0a 0%, #6a4500 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

.djg-ratecard__table li:first-child strong {
	background: linear-gradient(180deg, #8f5e00 0%, #5a3a00 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

.djg-ratecard__table strong::before {
	-webkit-text-fill-color: #9b834a;
	opacity: 1;
}

.djg-ratecard h2,
.djg-ratecard__live {
	color: #6b4700;
}

.djg-ratecard__link {
	color: #6b4700;
}

@media (min-width: 1001px) {
	.djg-ratecard__table li,
	.djg-ratecard__table li:first-child {
		padding: 7px 12px;
	}
}

/* ---------------------------------------------------------------------- */
/* Round 12: borderless rate layout - 24K hero + 2 x 2 tiles               */
/* ---------------------------------------------------------------------- */

.djg-ratecard__table {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
	box-shadow: none;
}

.djg-ratecard__table li,
.djg-ratecard__table li:first-child {
	margin: 0;
	border: 0;
	box-shadow: none;
}

.djg-ratecard__table li + li::before,
.djg-ratecard__table li:first-child + li::before {
	display: none;
}

/* the four supporting karats: soft tonal tiles, label above the rate */
.djg-ratecard__table li {
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	gap: 1px;
	padding: 9px 16px;
	border-radius: 14px;
	background: rgba(194, 152, 64, 0.1);
}

.djg-ratecard__table span {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.1em;
	color: #8a6a1f;
}

.djg-ratecard__table strong {
	font-size: 20px;
	font-weight: 600;
	letter-spacing: -0.01em;
	line-height: 1.15;
}

/* units live in the "AED / gram" line, so the prefix is dropped */
.djg-ratecard__table strong::before {
	display: none;
}

/* 24K: the headline rate */
.djg-ratecard__table li:first-child {
	grid-column: 1 / -1;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	padding: 12px 20px;
	border-radius: 16px;
	background: linear-gradient(100deg, #f3e2a9 0%, #ecd185 55%, #e4c16a 100%);
}

.djg-ratecard__table li:first-child span {
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.08em;
	color: #4a3300;
}

.djg-ratecard__table li:first-child strong {
	font-size: 32px;
	font-weight: 700;
	background: none;
	-webkit-text-fill-color: #3c2900;
	color: #3c2900;
}

@media (min-width: 1001px) {
	.djg-ratecard__table li,
	.djg-ratecard__table li:first-child {
		padding-top: 9px;
		padding-bottom: 9px;
	}

	.djg-ratecard__table li:first-child {
		padding: 12px 20px;
	}
}

@media (max-width: 480px) {
	.djg-ratecard__table li:first-child strong {
		font-size: 28px;
	}

	.djg-ratecard__table strong {
		font-size: 18px;
	}
}

@media (min-width: 1001px) {
	.djg-ratecard__table li,
	.djg-ratecard__table li:first-child {
		padding-top: 7px;
		padding-bottom: 7px;
	}

	.djg-ratecard__table li:first-child {
		padding: 10px 20px;
	}
}

/* Round 12b: AED prefix back, small and quiet */
.djg-ratecard__table strong::before {
	display: inline;
	margin-right: 5px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.08em;
	vertical-align: baseline;
	opacity: 1;
	-webkit-text-fill-color: #9b834a;
}

.djg-ratecard__table li:first-child strong::before {
	font-size: 13px;
	-webkit-text-fill-color: #6b4f00;
}

/* ---------------------------------------------------------------------- */
/* Round 13: widget accents built on the nav / primary gold #c29840        */
/*   fills + accents  -> #c29840 and its tints/shades                      */
/*   small text       -> deeper shades of the same hue (readable on cream) */
/* ---------------------------------------------------------------------- */

.djg-ratecard {
	--djg-g-base: #c29840;
	--djg-g-light: #e3c377;
	--djg-g-lighter: #f1e1b4;
	--djg-g-deep: #9a7424;
	--djg-g-ink: #5a4310;
	border-color: rgba(194, 152, 64, 0.5);
	background:
		radial-gradient(420px 220px at 100% 0%, rgba(194, 152, 64, 0.22), rgba(194, 152, 64, 0) 70%),
		radial-gradient(360px 200px at 0% 100%, rgba(194, 152, 64, 0.14), rgba(194, 152, 64, 0) 70%),
		#fefcf2;
}

.djg-ratecard::before {
	height: 5px;
	background: linear-gradient(90deg, #a98230 0%, #c29840 30%, #e3c377 55%, #c29840 80%, #a98230 100%);
}

.djg-ratecard__live {
	color: var(--djg-g-deep);
	background: rgba(194, 152, 64, 0.16);
	border: 1px solid #c29840;
}

.djg-ratecard h2 {
	color: var(--djg-g-deep);
}

.djg-ratecard__meta {
	color: #b3a47c;
}

/* 24K hero: the nav gold, lit from the top-left */
.djg-ratecard__table li:first-child {
	background: linear-gradient(110deg, #d4ad56 0%, #c29840 48%, #ae862f 100%);
	box-shadow: 0 10px 22px -14px rgba(122, 89, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.djg-ratecard__table li:first-child span {
	color: #2e2000;
}

.djg-ratecard__table li:first-child strong,
.djg-ratecard__table li:first-child strong::before {
	color: #2e2000;
	-webkit-text-fill-color: #2e2000;
}

/* supporting tiles: tints of #c29840 */
.djg-ratecard__table li {
	background: rgba(194, 152, 64, 0.13);
}

.djg-ratecard__table span {
	color: var(--djg-g-deep);
}

.djg-ratecard__table strong {
	background: linear-gradient(180deg, #a67c28 0%, #7a5a14 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

.djg-ratecard__table strong::before {
	-webkit-text-fill-color: #a88a4a;
}

.djg-ratecard__link {
	color: var(--djg-g-deep);
}

.djg-ratecard__link:hover {
	color: var(--djg-g-ink);
}

/* video CTA / mute use the same gold on hover */
.djg-ratevideo__cta:hover,
.djg-ratevideo__cta:focus-visible,
.djg-ratevideo__mute:hover,
.djg-ratevideo__mute:focus-visible {
	background: rgba(194, 152, 64, 0.85);
}

/* ====================================================================== */
/* Round 14: homepage consistency pass                                    */
/*   1 shorter mobile  2 one heading style  3 one corner system           */
/*   4 news cards      5 offers header                                    */
/* ====================================================================== */

/* --- 2. headings: every section uses .djg-head (kicker + title + link) --- */

.djg-moments .sortd-video-ads__title {
	display: none;
}

.djg-moments .sortd-video-ads {
	margin: 0;
	padding: 0;
}

.sortd-client-homepage-template .djg-head {
	margin-bottom: 28px;
}

/* --- 3. corners: leaf (28px) for feature blocks, 20px for cards ---------- */

.sortd-client-homepage-template .sortd-home-banner-outer img {
	border-radius: 0 28px 0 28px;
}

.sortd-client-homepage-template .sortd-membership-banner {
	border-radius: 28px 0 28px 0;
}

.sortd-client-homepage-template .djg-resources__inner {
	border-radius: 28px 0 28px 0;
}

.sortd-client-homepage-template .sortd-video-ad-card,
.sortd-client-homepage-template .djg-offers__grid .djg-offer,
.sortd-client-homepage-template .djg-shop__tile,
.sortd-client-homepage-template .djg-why__card,
.sortd-client-homepage-template .djg-brands__item {
	border-radius: 20px;
}

.sortd-client-homepage-template .sortd-video-ad-card {
	overflow: hidden;
}

/* --- 4. News & Events: three image-led cards ----------------------------- */

.djg-news__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
}

.djg-news__card {
	display: flex;
	flex-direction: column;
	border: 1px solid var(--djg-line);
	border-radius: 20px;
	background: var(--djg-cream);
	color: var(--djg-ink);
	text-decoration: none;
	overflow: hidden;
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.djg-news__card:hover,
.djg-news__card:focus-visible {
	transform: translateY(-4px);
	border-color: var(--djg-gold);
	box-shadow: 0 26px 40px -28px rgba(122, 89, 0, 0.6);
	color: var(--djg-ink);
}

.djg-news__media {
	position: relative;
	display: block;
	aspect-ratio: 16 / 10;
	background: linear-gradient(135deg, #f1e1b4, #e3c377);
	overflow: hidden;
}

.djg-news__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.djg-news__card:hover .djg-news__media img {
	transform: scale(1.04);
}

.djg-news__date {
	position: absolute;
	left: 14px;
	bottom: 14px;
	padding: 5px 12px;
	border-radius: 999px;
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #fff;
	background: rgba(28, 28, 22, 0.62);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}

.djg-news__body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 14px;
	padding: 18px 20px 20px;
}

.djg-news__body strong {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
	font-size: 17px;
	font-weight: 600;
	line-height: 1.38;
	color: var(--djg-ink);
}

.djg-news__body em {
	margin-top: auto;
	font-size: 13.5px;
	font-style: normal;
	font-weight: 600;
	color: var(--djg-gold-deep);
}

@media (max-width: 1000px) {
	.djg-news__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.djg-news__card:nth-child(3) {
		display: none;
	}
}

/* --- 1. shorter mobile --------------------------------------------------- */

@media (max-width: 767px) {
	/* Why Dubai: 2-up compact cards, description dropped */
	.sortd-client-homepage-template .djg-why__cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}

	.sortd-client-homepage-template .djg-why__card {
		gap: 10px;
		padding: 14px 14px 14px;
		border-radius: 16px;
	}

	.sortd-client-homepage-template .djg-why__icon {
		width: 38px;
		height: 38px;
		border-radius: 12px;
	}

	.sortd-client-homepage-template .djg-why__icon svg {
		width: 20px;
		height: 20px;
	}

	.sortd-client-homepage-template .djg-why__body strong {
		font-size: 15.5px;
	}

	.sortd-client-homepage-template .djg-why__body em {
		margin-bottom: 0;
		font-size: 12px;
	}

	.sortd-client-homepage-template .djg-why__body small,
	.sortd-client-homepage-template .djg-why__arrow {
		display: none;
	}

	/* Shop in Dubai: 2-up compact tiles */
	.sortd-client-homepage-template .djg-shop__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}

	.sortd-client-homepage-template .djg-shop__tile {
		padding: 14px;
		border-radius: 16px;
	}

	.sortd-client-homepage-template .djg-shop__icon {
		width: 38px;
		height: 38px;
		margin-bottom: 10px;
		border-radius: 12px;
	}

	.sortd-client-homepage-template .djg-shop__icon svg {
		width: 20px;
		height: 20px;
	}

	.sortd-client-homepage-template .djg-shop__tile strong {
		font-size: 15px;
		line-height: 1.25;
	}

	.sortd-client-homepage-template .djg-shop__tile small {
		display: none;
	}

	.sortd-client-homepage-template .djg-shop__more {
		margin-top: 8px;
		font-size: 13px;
	}

	/* Featured jewellers: 3-up logos */
	.sortd-client-homepage-template .djg-brands {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 10px;
	}

	.sortd-client-homepage-template .djg-brands__item {
		height: 104px;
		padding: 10px;
		border-radius: 16px;
	}

	.sortd-client-homepage-template .djg-brands__item img {
		border-radius: 12px;
	}

	/* News: compact rows (thumbnail left) */
	.djg-news__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 12px;
	}

	.djg-news__card:nth-child(3) {
		display: flex;
	}

	.djg-news__card {
		flex-direction: row;
		border-radius: 16px;
	}

	.djg-news__media {
		flex: 0 0 118px;
		aspect-ratio: auto;
		min-height: 104px;
	}

	.djg-news__date {
		left: 8px;
		bottom: 8px;
		padding: 3px 8px;
		font-size: 9.5px;
	}

	.djg-news__body {
		gap: 8px;
		padding: 12px 14px;
	}

	.djg-news__body strong {
		font-size: 14.5px;
	}

	.djg-news__body em {
		font-size: 12.5px;
	}

	.sortd-client-homepage-template .djg-head {
		margin-bottom: 20px;
	}

	.sortd-client-homepage-template .sortd-membership-banner,
	.sortd-client-homepage-template .djg-resources__inner {
		border-radius: 22px 0 22px 0;
	}

	.sortd-client-homepage-template .sortd-home-banner-outer img {
		border-radius: 0 22px 0 22px;
	}
}

@media (max-width: 767px) {
	.sortd-client-homepage-template .djg-head {
		align-items: flex-end;
	}

	.sortd-client-homepage-template .djg-head__meta {
		padding-bottom: 6px;
	}
}

/* ---------------------------------------------------------------------- */
/* Round 15: rate widget content - honest timestamp, short title,          */
/*           disclaimer, rates link to the Gold Rate Today page            */
/* ---------------------------------------------------------------------- */

.djg-ratecard__head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	column-gap: 14px;
	row-gap: 3px;
}

.djg-ratecard h2 {
	flex: 0 1 auto;
	font-size: 20px;
	font-weight: 600;
	letter-spacing: -0.01em;
	text-transform: none;
	color: #3c2900;
}

.djg-ratecard__updated {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin: 0;
	font-size: 12.5px;
	font-weight: 600;
	color: var(--djg-g-deep, #9a7424);
	white-space: nowrap;
}

.djg-ratecard__updated i {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #1ea866;
	box-shadow: 0 0 0 3px rgba(30, 168, 102, 0.18);
}

.djg-ratecard__updated small {
	font-size: 11.5px;
	font-weight: 400;
	color: #a3946c;
}

.djg-ratecard__meta {
	flex: 0 0 100%;
	margin: 0;
	font-size: 12.5px;
	line-height: 1.45;
	color: #94865f;
}

.djg-ratecard__rates {
	display: block;
	border-radius: 16px;
	color: inherit;
	text-decoration: none;
}

.djg-ratecard__rates:focus-visible {
	outline: 2px solid #c29840;
	outline-offset: 4px;
}

.djg-ratecard__rates .djg-ratecard__table li {
	transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.djg-ratecard__rates:hover .djg-ratecard__table li:not(:first-child) {
	background: rgba(194, 152, 64, 0.2);
}

.djg-ratecard__rates:hover .djg-ratecard__table li:first-child {
	transform: translateY(-2px);
	box-shadow: 0 16px 26px -14px rgba(122, 89, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.djg-ratecard__table strong {
	font-variant-numeric: tabular-nums;
}

@media (max-width: 480px) {
	.djg-ratecard h2 {
		font-size: 18px;
	}

	.djg-ratecard__updated small {
		display: none;
	}
}

/* ---------------------------------------------------------------------- */
/* Round 16: "wow" pass on the rate widget                                 */
/*   gold-bar hero, shimmer, change chip, sparkline, hover tilt + glare    */
/*   (count-up and tilt are driven by the inline script in the template)   */
/* ---------------------------------------------------------------------- */

/* --- 24K hero as a minted bar ------------------------------------------- */
.djg-ratecard__table li:first-child {
	position: relative;
	overflow: hidden;
	gap: 14px;
	background:
		repeating-linear-gradient(92deg, rgba(255, 255, 255, 0.07) 0 1px, rgba(255, 255, 255, 0) 1px 4px),
		linear-gradient(180deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0) 38%, rgba(60, 38, 0, 0.16) 100%),
		linear-gradient(110deg, #dbb766 0%, #c29840 46%, #a87f2b 100%);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.6),
		inset 0 -2px 0 rgba(74, 48, 0, 0.35),
		inset 1px 0 0 rgba(255, 255, 255, 0.22),
		inset -1px 0 0 rgba(74, 48, 0, 0.2),
		0 12px 24px -14px rgba(122, 89, 0, 0.8);
}

.djg-ratecard__table li:first-child > * {
	position: relative;
	z-index: 1;
}

/* karat mark stamped into the bar */
.djg-ratecard__table li:first-child .djg-ratecard__karat {
	flex: 0 0 auto;
	padding: 4px 11px;
	border-radius: 8px;
	font-size: 14px;
	letter-spacing: 0.1em;
	color: #3a2800;
	background: rgba(74, 48, 0, 0.1);
	box-shadow: inset 0 1px 2px rgba(60, 38, 0, 0.45), 0 1px 0 rgba(255, 255, 255, 0.4);
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
}

.djg-ratecard__table li:first-child strong {
	flex: 0 0 auto;
	margin-left: auto;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* --- shimmer: a band of light crossing the bar --------------------------- */
.djg-ratecard__table li:first-child::after {
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	left: -60%;
	z-index: 0;
	width: 45%;
	background: linear-gradient(100deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.5) 50%, rgba(255, 255, 255, 0) 100%);
	transform: skewX(-18deg);
	animation: djg-bar-shimmer 5.5s ease-in-out infinite;
	pointer-events: none;
}

@keyframes djg-bar-shimmer {
	0%,
	55% {
		left: -60%;
	}

	100% {
		left: 130%;
	}
}

/* --- change since the previous day --------------------------------------- */
.djg-ratecard__change {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: baseline;
	gap: 5px;
	font-size: 13px;
	font-style: normal;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
	color: #2e2000;
}

.djg-ratecard__change.is-up {
	color: #0f5a2c;
}

.djg-ratecard__change.is-down {
	color: #8a1f12;
}

.djg-ratecard__change small {
	font-size: 11px;
	font-weight: 500;
	color: rgba(46, 32, 0, 0.72);
}

/* --- 7-day sparkline ------------------------------------------------------ */
.djg-ratecard__spark {
	flex: 1 1 60px;
	min-width: 40px;
	max-width: 150px;
	height: 26px;
	color: rgba(46, 32, 0, 0.55);
}

/* --- hover tilt + glare (desktop pointers only; set by the script) ------- */
.djg-ratecard {
	transform: perspective(1000px) rotateX(var(--djg-rx, 0deg)) rotateY(var(--djg-ry, 0deg));
	transition: transform 0.35s ease, box-shadow 0.35s ease;
	will-change: transform;
}

.djg-ratecard.is-tilting {
	transition: transform 0.08s linear, box-shadow 0.35s ease;
	box-shadow: 0 40px 60px -34px rgba(122, 89, 0, 0.7), inset 0 1px 0 #fff;
}

.djg-ratecard::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 2;
	background: radial-gradient(circle at var(--djg-mx, 50%) var(--djg-my, 50%), rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0) 42%);
	mix-blend-mode: soft-light;
	opacity: 0;
	transition: opacity 0.3s ease;
	pointer-events: none;
}

.djg-ratecard.is-tilting::after {
	opacity: 1;
}

@media (max-width: 480px) {
	.djg-ratecard__change small {
		display: none;
	}

	.djg-ratecard__spark {
		max-width: 70px;
	}

	.djg-ratecard__table li:first-child {
		gap: 10px;
		padding-left: 14px;
		padding-right: 14px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.djg-ratecard__table li:first-child::after {
		animation: none;
		display: none;
	}

	.djg-ratecard {
		transform: none;
		transition: none;
	}
}

/* ---------------------------------------------------------------------- */
/* Round 17: navigation bar with the same minted-gold finish as the 24K    */
/* bar. Everything is background layers (no overflow/clip changes), so the */
/* dropdown menus are not affected.                                        */
/*   layer 1: travelling band of light   layer 2: brushed texture          */
/*   layer 3: top-lit bevel              layer 4: gold gradient            */
/* ---------------------------------------------------------------------- */

#sticky-header,
.site-header .mobile-menu {
	background-color: #c29840;
	background-image:
		linear-gradient(100deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.34) 50%, rgba(255, 255, 255, 0) 100%),
		repeating-linear-gradient(92deg, rgba(255, 255, 255, 0.06) 0 1px, rgba(255, 255, 255, 0) 1px 4px),
		linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 42%, rgba(60, 38, 0, 0.16) 100%),
		linear-gradient(110deg, #cfa650 0%, #c29840 46%, #ad842e 100%);
	background-repeat: no-repeat, repeat, no-repeat, no-repeat;
	background-size: 22% 100%, auto, 100% 100%, 100% 100%;
	background-position: -40% 0, 0 0, 0 0, 0 0;
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.45),
		inset 0 -2px 0 rgba(74, 48, 0, 0.28),
		0 8px 18px -10px rgba(74, 48, 0, 0.55);
	animation: djg-nav-shimmer 9s ease-in-out infinite;
}

@keyframes djg-nav-shimmer {
	0%,
	60% {
		background-position: -40% 0, 0 0, 0 0, 0 0;
	}

	100% {
		background-position: 170% 0, 0 0, 0 0, 0 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	#sticky-header,
	.site-header .mobile-menu {
		animation: none;
	}
}

/* Round 17b: the filler behind the cream header's rounded corners
   (.centerlogo-mid::after) gets the same gold as the nav, so the corners match.
   Both use a left-to-right gradient so the two pieces line up exactly. */
#sticky-header,
.site-header .mobile-menu {
	background-image:
		linear-gradient(100deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.34) 50%, rgba(255, 255, 255, 0) 100%),
		repeating-linear-gradient(92deg, rgba(255, 255, 255, 0.06) 0 1px, rgba(255, 255, 255, 0) 1px 4px),
		linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 42%, rgba(60, 38, 0, 0.16) 100%),
		linear-gradient(90deg, #cfa650 0%, #c29840 46%, #ad842e 100%);
	box-shadow:
		inset 0 -2px 0 rgba(74, 48, 0, 0.28),
		0 8px 18px -10px rgba(74, 48, 0, 0.55);
}

.site-header .centerlogo-mid::after {
	background-color: #c29840;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.2)),
		repeating-linear-gradient(92deg, rgba(255, 255, 255, 0.06) 0 1px, rgba(255, 255, 255, 0) 1px 4px),
		linear-gradient(90deg, #cfa650 0%, #c29840 46%, #ad842e 100%);
}

/* ---------------------------------------------------------------------- */
/* Round 18: gold price calculator bar (under the rate widget + video)     */
/* ---------------------------------------------------------------------- */

.djg-calc {
	display: grid;
	grid-template-columns: auto auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 14px 28px;
	margin-top: 20px;
	padding: 16px 18px 16px 24px;
	border: 1px solid rgba(194, 152, 64, 0.5);
	border-radius: 20px;
	background:
		radial-gradient(380px 160px at 100% 50%, rgba(194, 152, 64, 0.16), rgba(194, 152, 64, 0) 70%),
		#fefcf2;
	box-shadow: 0 24px 40px -34px rgba(122, 89, 0, 0.55), inset 0 1px 0 #fff;
	font-family: 'Outfit', 'Hind Siliguri', sans-serif;
	color: #3c2900;
}

.djg-calc__intro {
	display: flex;
	align-items: center;
	gap: 12px;
}

.djg-calc__icon {
	display: grid;
	flex: 0 0 auto;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 13px;
	color: #3a2800;
	background: linear-gradient(135deg, #dbb766, #c29840);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 -1px 0 rgba(74, 48, 0, 0.3);
}

.djg-calc__intro strong {
	display: block;
	font-size: 16.5px;
	font-weight: 600;
	line-height: 1.2;
	color: #3c2900;
}

.djg-calc__intro small {
	display: block;
	margin-top: 2px;
	font-size: 12.5px;
	color: #94865f;
}

.djg-calc__field {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
}

.djg-calc__field label,
.djg-calc__label {
	margin: 0;
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #9a7424;
}

.djg-calc__input {
	display: flex;
	align-items: center;
	height: 44px;
	padding: 0 4px;
	border: 1px solid rgba(194, 152, 64, 0.55);
	border-radius: 999px;
	background: #fff;
}

.djg-calc__input:focus-within {
	border-color: #c29840;
	box-shadow: 0 0 0 3px rgba(194, 152, 64, 0.22);
}

.djg-calc .djg-calc__input input {
	width: 74px;
	height: 40px;
	margin: 0;
	padding: 0 2px 0 6px;
	border: 0;
	outline: 0;
	box-shadow: none;
	background: transparent;
	font: inherit;
	font-size: 18px;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	text-align: right;
	color: #3c2900;
	-moz-appearance: textfield;
	appearance: textfield;
}

.djg-calc .djg-calc__input input::-webkit-outer-spin-button,
.djg-calc .djg-calc__input input::-webkit-inner-spin-button {
	margin: 0;
	-webkit-appearance: none;
}

.djg-calc__unit {
	padding: 0 8px 0 4px;
	font-size: 14px;
	font-weight: 600;
	color: #94865f;
}

.djg-calc .djg-calc__step {
	display: grid;
	flex: 0 0 auto;
	place-items: center;
	width: 34px;
	height: 34px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	font: inherit;
	font-size: 19px;
	line-height: 1;
	color: #6b4f0c;
	background: rgba(194, 152, 64, 0.16);
	cursor: pointer;
	transition: background-color 0.15s ease;
}

.djg-calc .djg-calc__step:hover,
.djg-calc .djg-calc__step:focus-visible {
	background: rgba(194, 152, 64, 0.38);
}

.djg-calc__karats {
	display: flex;
	gap: 6px;
	padding: 4px;
	border-radius: 999px;
	background: rgba(194, 152, 64, 0.13);
}

.djg-calc .djg-calc__karat {
	min-width: 50px;
	height: 36px;
	margin: 0;
	padding: 0 12px;
	border: 0;
	border-radius: 999px;
	font: inherit;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.04em;
	color: #7a5a14;
	background: transparent;
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.djg-calc .djg-calc__karat:hover {
	background: rgba(194, 152, 64, 0.22);
}

.djg-calc .djg-calc__karat.is-active {
	color: #2e2000;
	background: linear-gradient(110deg, #dbb766 0%, #c29840 55%, #a87f2b 100%);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), inset 0 -1px 0 rgba(74, 48, 0, 0.3), 0 6px 12px -8px rgba(122, 89, 0, 0.9);
}

.djg-calc .djg-calc__karat:focus-visible,
.djg-calc .djg-calc__step:focus-visible {
	outline: 2px solid #c29840;
	outline-offset: 2px;
}

.djg-calc__result {
	display: grid;
	grid-template-columns: auto auto;
	align-items: baseline;
	justify-content: end;
	column-gap: 12px;
	min-width: 230px;
	padding: 10px 20px;
	border-radius: 16px;
	text-align: right;
	background: rgba(194, 152, 64, 0.13);
}

.djg-calc__result strong {
	font-size: 26px;
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -0.01em;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
	color: #3c2900;
}

.djg-calc__result strong small {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.08em;
	color: #9a7424;
}

.djg-calc__result strong b {
	font-weight: 700;
}

.djg-calc__formula {
	grid-column: 1 / -1;
	margin-top: 2px;
	font-size: 12px;
	font-style: normal;
	font-variant-numeric: tabular-nums;
	color: #94865f;
}

@media (max-width: 1180px) {
	.djg-calc {
		grid-template-columns: auto minmax(0, 1fr);
	}

	.djg-calc__result {
		justify-content: space-between;
	}
}

@media (max-width: 767px) {
	.djg-calc {
		grid-template-columns: minmax(0, 1fr);
		gap: 14px;
		margin-top: 14px;
		padding: 16px;
		border-radius: 16px;
	}

	.djg-calc__field {
		flex-direction: column;
		align-items: stretch;
		gap: 6px;
	}

	.djg-calc__input {
		justify-content: space-between;
	}

	.djg-calc .djg-calc__input input {
		flex: 1 1 auto;
		width: auto;
		min-width: 0;
	}

	.djg-calc__karats {
		justify-content: space-between;
		gap: 2px;
	}

	.djg-calc .djg-calc__karat {
		flex: 1 1 0;
		min-width: 0;
		padding: 0 4px;
	}

	.djg-calc__result {
		min-width: 0;
		justify-content: space-between;
	}
}

/* Round 18b: calculator spacing - karat pills get their own width, result takes the rest */
.djg-calc {
	grid-template-columns: auto auto auto minmax(190px, 1fr);
	gap: 14px 20px;
}

.djg-calc .djg-calc__karat {
	min-width: 46px;
	padding: 0 9px;
}

.djg-calc__karats {
	gap: 3px;
}

.djg-calc__result {
	grid-template-columns: minmax(0, 1fr);
	justify-content: stretch;
	min-width: 0;
	padding: 8px 18px;
}

.djg-calc__result .djg-calc__label {
	display: none;
}

@media (max-width: 1180px) {
	.djg-calc {
		grid-template-columns: auto minmax(0, 1fr);
	}
}

@media (max-width: 767px) {
	.djg-calc {
		grid-template-columns: minmax(0, 1fr);
	}

	.djg-calc__result {
		display: flex;
		align-items: baseline;
		justify-content: space-between;
		gap: 10px;
		text-align: left;
	}

	.djg-calc__result strong {
		order: 2;
	}

	.djg-calc__formula {
		order: 1;
		margin: 0;
	}
}

/* ---------------------------------------------------------------------- */
/* Round 19: calculator - more air above, leaf corners, sponsor strip      */
/* ---------------------------------------------------------------------- */

.djg-calc {
	margin-top: 40px;
	padding-bottom: 0;
	border-radius: 28px 0 28px 0;
	overflow: hidden;
}

/* keep the controls' own breathing room now that the strip closes the card */
.djg-calc > .djg-calc__intro,
.djg-calc > .djg-calc__field,
.djg-calc > .djg-calc__result {
	margin-bottom: 2px;
}

.djg-calc__sponsor {
	display: flex;
	grid-column: 1 / -1;
	align-items: center;
	gap: 14px;
	margin: 0 -18px 0 -24px;
	padding: 11px 22px 11px 24px;
	border-top: 1px solid rgba(194, 152, 64, 0.35);
	background: rgba(194, 152, 64, 0.1);
	color: #5a4310;
	text-decoration: none;
	transition: background-color 0.2s ease;
}

a.djg-calc__sponsor:hover,
a.djg-calc__sponsor:focus-visible {
	background: rgba(194, 152, 64, 0.2);
	color: #3c2900;
}

.djg-calc__sponsor-tag {
	flex: 0 0 auto;
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #9a7424;
}

.djg-calc__sponsor-logo {
	flex: 0 0 auto;
	width: auto;
	height: 26px;
	max-width: 150px;
	object-fit: contain;
}

.djg-calc__sponsor-name {
	flex: 0 0 auto;
	font-size: 15.5px;
	font-weight: 700;
	letter-spacing: -0.005em;
	color: #3c2900;
}

.djg-calc__sponsor-msg {
	flex: 1 1 auto;
	min-width: 0;
	padding-left: 14px;
	border-left: 1px solid rgba(194, 152, 64, 0.45);
	font-size: 13.5px;
	color: #7a6a44;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.djg-calc__sponsor-cta {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 6px;
	margin-left: auto;
	font-size: 13px;
	font-weight: 600;
	color: #9a7424;
}

@media (max-width: 767px) {
	.djg-calc {
		margin-top: 26px;
		border-radius: 22px 0 22px 0;
	}

	.djg-calc__sponsor {
		flex-wrap: wrap;
		gap: 6px 10px;
		margin: 2px -16px 0;
		padding: 11px 16px;
	}

	.djg-calc__sponsor-msg {
		flex: 1 1 100%;
		order: 3;
		padding-left: 0;
		border-left: 0;
		white-space: normal;
	}
}

/* sponsor logo: a little larger, soft corners so a logo with its own background sits cleanly */
.djg-calc__sponsor-logo {
	height: 30px;
	max-width: 170px;
	border-radius: 5px;
}

/* Round 20: Moments + Offers read as one "Offers & Promotions" zone
   (one label on the first, a tighter gap, a slightly smaller second title) */
.sortd-client-homepage-template > .djg-moments {
	margin-bottom: 44px !important;
}

.sortd-client-homepage-template .djg-offers .djg-title {
	font-size: clamp(1.5rem, 2.2vw, 2.1rem);
}

@media (max-width: 767px) {
	.sortd-client-homepage-template > .djg-moments {
		margin-bottom: 34px !important;
	}
}

/* ---------------------------------------------------------------------- */
/* Round 21: iPhone fixes                                                  */
/* ---------------------------------------------------------------------- */

/* Video box: Safari can resolve aspect-ratio on a stretched grid item to 0px
   when all its children are absolutely positioned, so the video vanished on
   iPhone. A padding-based 16:9 box works in every browser. */
.djg-raterow--video .djg-ratevideo,
.djg-ratevideo {
	aspect-ratio: auto;
	height: 0;
	padding-top: 56.25%;
	align-self: start;
}

/* Mobile: hero banner sits 16px under the fixed header (was 32px), the same
   gap as banner -> video. Logged-in users keep the theme's admin-bar offset. */
@media (max-width: 980px) {
	body.home:not(.logged-in) .sortd-client-homepage-template .sortd-home-banner-outer {
		margin-top: 104px !important;
	}
}
