/**
 * DG Luxury Footer — desktop & tablet only (min-width: 850px).
 * Mobile (<850px) : luxury hidden, default Flatsome footer untouched.
 * Desktop/tablet (>=850px) : luxury visible, old footer-1 + absolute bar hidden.
 */

/* Mobile first: luxury footer never shows on phones */
.dg-lux-footer {
	display: none;
}

@media screen and (min-width: 850px) {

	/* 1. Hide old footer on desktop/tablet (widgets stay intact for mobile) */
	#footer .footer-widgets.footer-1,
	#footer .absolute-footer {
		display: none !important;
	}

	/* 2. Luxury shell */
	.dg-lux-footer {
		display: block;
		background:
			radial-gradient(1200px 400px at 50% -80px, rgba(201,162,75,.22), transparent 60%),
			linear-gradient(180deg, #171208, #0f0c07);
		color: #f5efe0;
		position: relative;
		overflow: hidden;
		direction: rtl;
		line-height: 1.9;
	}
	.dg-lux-footer::before {
		content: "";
		position: absolute;
		inset: 0 0 auto 0;
		height: 1px;
		background: linear-gradient(90deg, transparent, #c9a24b, transparent);
	}
	.dg-lux-inner {
		max-width: 1280px;
		margin: 0 auto;
		padding: 0 28px;
	}

	/* 3. Trust strip */
	.dg-lux-trust {
		display: grid;
		grid-template-columns: repeat(4, 1fr);
		gap: 14px;
		padding: 26px 0;
		border-bottom: 1px solid rgba(201,162,75,.18);
	}
	.dg-lux-trust-item {
		display: flex;
		gap: 12px;
		align-items: center;
		background: rgba(255,255,255,.03);
		border: 1px solid rgba(201,162,75,.18);
		border-radius: 14px;
		padding: 12px 16px;
		font-size: 13px;
	}
	.dg-lux-trust-item b {
		display: block;
		font-size: 14px;
		color: #fff;
	}
	.dg-lux-trust-item span {
		color: #a79b83;
		font-size: 12.5px;
	}
	.dg-lux-trust-ic {
		width: 42px;
		height: 42px;
		flex: 0 0 42px;
		border-radius: 50%;
		display: grid;
		place-items: center;
		background: linear-gradient(180deg, rgba(201,162,75,.25), rgba(201,162,75,.08));
		border: 1px solid rgba(201,162,75,.18);
		font-size: 19px;
		color: #e8d5a2;
	}

	/* 4. Main grid */
	.dg-lux-main {
		display: grid;
		grid-template-columns: 1.45fr .85fr .85fr 1.05fr;
		gap: 36px;
		padding: 44px 0 40px;
	}
	.dg-lux-brand { text-align: center; }
	.dg-lux-logo img {
		width: 162px;
		height: auto;
		display: block;
		margin: 0 auto;
	}
	.dg-lux-desc {
		color: #a79b83;
		font-size: 13.5px;
		margin: 12px 0 18px;
		text-align: justify;
	}
	.dg-lux-contact {
		background: #1c150b;
		border: 1px solid rgba(201,162,75,.18);
		border-radius: 16px;
		padding: 16px 18px;
		font-size: 13.5px;
		text-align: right;
	}
	.dg-lux-contact-row {
		display: flex;
		justify-content: space-between;
		align-items: center;
		gap: 10px;
		padding: 7px 0;
		border-bottom: 1px dashed rgba(201,162,75,.15);
	}
	.dg-lux-contact-row:last-child { border: 0; }
	.dg-lux-contact b {
		color: #e8d5a2;
		font-size: 15px;
	}
	.dg-lux-social {
		display: flex;
		gap: 10px;
		margin-top: 14px;
		justify-content: center;
	}
	.dg-lux-social a {
		width: 42px;
		height: 42px;
		border-radius: 50%;
		display: grid;
		place-items: center;
		background: linear-gradient(180deg, rgba(201,162,75,.25), rgba(201,162,75,.08));
		border: 1px solid rgba(201,162,75,.18);
		color: #e8d5a2;
		transition: .25s;
	}
	.dg-lux-social a svg {
		width: 20px;
		height: 20px;
		fill: currentColor;
	}
	.dg-lux-social a:hover {
		background: #c9a24b;
		color: #111;
		transform: translateY(-2px);
		border-color: #c9a24b;
	}

	/* 5. Link columns (original links preserved) */
	.dg-lux-title {
		font-size: 14px;
		font-weight: 800;
		color: #fff;
		margin: 4px 0 6px;
		display: flex;
		align-items: center;
		gap: 8px;
	}
	.dg-lux-title::after {
		content: "";
		flex: 1;
		height: 1px;
		background: linear-gradient(90deg, #c9a24b, transparent);
		opacity: .4;
	}
	.dg-lux-links {
		list-style: none;
		margin: 12px 0 0;
		padding: 0;
		font-size: 13.5px;
	}
	.dg-lux-links li { margin: 0; }
	.dg-lux-links a {
		color: #a79b83;
		display: flex;
		align-items: center;
		gap: 8px;
		padding: 6.5px 0;
		transition: .2s;
		text-decoration: none;
	}
	.dg-lux-links a::before {
		content: "—";
		color: #c9a24b;
		font-size: 11px;
		opacity: .7;
	}
	.dg-lux-links a:hover {
		color: #fff;
		padding-right: 4px;
	}

	/* 6. Symbol cards (original enamad + eUnion) */
	.dg-lux-symbols {
		background: linear-gradient(180deg, rgba(201,162,75,.12), rgba(255,255,255,.03));
		border: 1px solid rgba(201,162,75,.18);
		border-radius: 16px;
		padding: 18px;
		text-align: center;
	}
	.dg-lux-sym-cap {
		font-size: 13px;
		color: #a79b83;
		margin: 8px 0 12px;
	}
	.dg-lux-sym-cap:first-child { margin-top: 0; }
	.dg-lux-sym-card {
		background: #fff;
		border-radius: 12px;
		padding: 10px;
		display: flex;
		justify-content: center;
	}
	.dg-lux-sym-card img {
		width: 96px;
		height: auto;
		max-height: 120px;
		object-fit: contain;
	}
}

/* Tablet (850–1100px): 2x2 grid so the 11-link column doesn't stretch */
@media screen and (min-width: 850px) and (max-width: 1100px) {
	.dg-lux-main {
		grid-template-columns: 1fr 1fr;
	}
	.dg-lux-trust {
		grid-template-columns: 1fr 1fr;
	}
}
