.dc-grid {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	gap: 15px !important;
	width: 100% !important;
	justify-content: center !important;
	align-items: stretch !important;
	box-sizing: border-box !important;
	padding-bottom: 45px;
}

.nt-domain-price-cards {
	clear: both;
	width: 100%;
	box-sizing: border-box;
}

.nt-domain-price-cards.is-table-align-center {
	float: none;
	margin-inline: auto;
}

.nt-domain-price-cards.is-table-align-left,
.nt-domain-price-cards.is-table-align-right {
	clear: none;
	width: min(100%, 420px);
	max-width: 100%;
	margin-bottom: 20px;
}

.nt-domain-price-cards.is-table-align-left {
	float: left;
	margin-right: 24px;
}

.nt-domain-price-cards.is-table-align-right {
	float: right;
	margin-left: 24px;
}

.nt-domain-price-cards.is-table-align-left .dc-grid,
.nt-domain-price-cards.is-table-align-right .dc-grid {
	grid-template-columns: minmax(260px, 400px) !important;
}

.dc-grid > .domain-card {
	width: 100% !important;
	max-width: 100% !important;
}

@media (max-width: 900px) {
	.nt-domain-price-cards.is-table-align-center .dc-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}

@media (max-width: 680px) {
	.nt-domain-price-cards .dc-grid,
	.nt-domain-price-cards.is-table-align-center .dc-grid,
	.nt-domain-price-cards.is-table-align-left .dc-grid,
	.nt-domain-price-cards.is-table-align-right .dc-grid {
		grid-template-columns: 1fr !important;
		gap: 14px !important;
		width: 100% !important;
		padding-bottom: 28px;
	}

	.nt-domain-price-cards,
	.nt-domain-price-cards.is-table-align-left,
	.nt-domain-price-cards.is-table-align-right {
		float: none;
		clear: both;
		width: 100%;
		max-width: 100%;
		margin-right: auto;
		margin-left: auto;
	}

	.dc-grid > .domain-card {
		width: 100% !important;
		max-width: 100% !important;
	}
}

.domain-card {
	--dc-accent: #1a6fbf;
	--dc-accent-dark: #1355a0;
	--dc-accent-light: #c8ddf5;
	--dc-accent-bg: #f0f6ff;
	--dc-accent-shadow: rgba(26, 111, 191, 0.18);
	--dc-row-bg: #f7f9fc;
	--dc-row-border: #e8edf4;
	--dc-text-main: #139838;
	--dc-text-sub: #8a90a0;
	--dc-renewal-color: #a0aab8;
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	height: 100%;
	max-width: none;
	overflow: hidden;
	box-sizing: border-box;
	border: 1px solid rgba(171, 203, 238, 0.42);
	border-radius: 25px;
	/*background: linear-gradient(145deg, rgba(255, 255, 255, 0.98) 0%, rgba(244, 249, 255, 0.96) 58%, rgba(235, 245, 255, 0.88) 100%);*/
	box-shadow: rgba(71,75,255,.075) 0px 2px 5px;
}

.domain-card *,
.domain-card *::before,
.domain-card *::after {
	box-sizing: border-box;
}

.domain-card::before {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--dc-accent), #4ea0e8);
}

.dc-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 24px 9px;
}

.dc-header-text {
	display: flex;
	align-items: center;
	gap: 10px;
	flex: 1;
	min-width: 0;
}

.dc-name-ar {
	margin: 0;
	color: #174a72;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.18;
	overflow-wrap: anywhere;
}

.dc-logo {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	min-width: 44px;
	overflow: hidden;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}

.dc-logo.is-empty {
	border: 1.5px solid var(--dc-accent-light);
	border-radius: 50%;
	background: var(--dc-accent-bg);
}

.dc-logo img {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	object-fit: contain;
}

.dc-logo-placeholder {
	color: var(--dc-accent);
	font-size: 12px;
	font-weight: 800;
	line-height: 1;
}

.dc-divider {
	height: 1px;
	margin: 0 20px 14px;
	background: linear-gradient(90deg, transparent, #dde6f0, transparent);
}

.dc-tagline {
	margin: 0 20px 20px;
	color: #1f5f9c;
	font-size: 13px;
	font-weight: 300;
	text-align: center;
}

.dc-domains {
	padding: 0 20px;
}

.dc-table-head {
	display: grid;
	grid-template-columns: 70px 1fr 1fr;
	gap: 6px;
	padding: 0 10px 6px;
	color: var(--dc-text-sub);
	font-size: 0.62rem;
	font-weight: 600;
	text-align: center;
}

.dc-table-head span:first-child {
	text-align: right;
}

.dc-list {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin-bottom: 15px;
}

.dc-row {
	display: grid;
	grid-template-columns: 80px 1fr 1fr;
	align-items: center;
	gap: 6px;
	padding: 8px 10px;
	border: 1px solid var(--dc-row-border);
	border-radius: 10px;
	background: var(--dc-row-bg);
	transition: background 0.18s ease;
}

.dc-row:hover {
	background: #edf3fb;
}

.dc-ext {
	display: inline-block;
	padding: 2px;
	border: 1px solid var(--dc-accent-light);
	border-radius: 6px;
	color: var(--dc-accent);
	font-size: 0.88rem;
	font-weight: 800;
	text-align: center;
}

.dc-price-cell {
	text-align: center;
}

.dc-price {
	color: var(--dc-text-main);
	font-size: 0.97rem;
	font-weight: 700;
}

.dc-period {
	color: #c2c9d5;
	font-size: 0.66rem;
	font-weight: 300;
}

.dc-renewal {
	color: var(--dc-renewal-color);
	font-size: 13px;
	font-weight: 600;
}

.dc-renewal-period {
	color: #c2c9d5;
	font-size: 0.66rem;
	font-weight: 300;
}

.dc-coupon {
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 6px;
	min-height: 46px;
	padding: 0 20px 14px;
}

.dc-coupon.is-note-only {
	justify-content: center;
	padding-bottom: 14px;
}

.dc-coupon-list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	width: 100%;
}

.dc-coupon-item {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	flex: 0 1 auto;
	min-width: 0;
	max-width: 100%;
}

.dc-coupon-item + .dc-coupon-item {
	margin-inline-start: -2px;
}

.dc-coupon-label {
	color: var(--dc-text-sub);
	font-size: 0.74rem;
	font-weight: 600;
	white-space: nowrap;
}

.dc-coupon-tag {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	min-width: 0;
	max-width: 100%;
	padding: 5px 13px;
	border: 1.5px dashed var(--dc-accent);
	border-radius: 8px;
	background: linear-gradient(135deg, #f0f6ff, #e6f0fc);
	color: var(--dc-accent);
	cursor: pointer;
	font-size: 0.82rem;
	font-weight: 800;
	letter-spacing: 0.4px;
	overflow-wrap: anywhere;
	user-select: none;
	transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.dc-coupon-note {
	width: 100%;
	margin-top: 1px;
	color: var(--dc-text-sub);
	font-size: 11px;
	font-weight: 400;
	line-height: 1.5;
	text-align: right;
	overflow-wrap: anywhere;
}

.dc-coupon-tag:hover {
	border-style: solid;
	background: var(--dc-accent);
	color: #ffffff;
}

.dc-coupon-tag.dc-copied {
	border-color: #0ea060;
	border-style: solid;
	background: #0ea060;
	color: #ffffff;
}

.dc-footer {
	margin-top: auto;
	padding: 0 20px 20px;
}

.dc-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.38rem;
	width: 100%;
	min-height: 42px;
	padding: 0.72rem 2rem;
	border: 0;
	border-radius: 12px;
	background: linear-gradient(135deg, var(--dc-accent), var(--dc-accent-dark));
	box-shadow: 0 5px 12px rgba(11, 98, 196, 0.12);
	color: #ffffff !important;
	cursor: pointer;
	font-size: 14px;
	font-weight: 500;
	line-height: 1;
	text-align: center;
	text-decoration: none !important;
	transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.dc-btn:hover,
.dc-btn:focus {
	background: linear-gradient(160deg, #1565c0 0%, #1e88e5 100%);
	box-shadow: 0 7px 14px rgba(11, 98, 196, 0.16);
	color: #ffffff !important;
	filter: saturate(1.05);
}

.dc-btn:active {
	transform: translateY(1px);
}

.dc-btn:focus-visible,
.dc-coupon-tag:focus-visible {
	outline: 3px solid rgba(11, 98, 196, 0.22);
	outline-offset: 3px;
}

@media (max-width: 420px) {
	.domain-card {
		max-width: 100%;
	}

	.dc-header {
		gap: 10px;
		padding: 14px 16px 10px;
	}

	.dc-name-ar {
		font-size: 19px;
		line-height: 1.2;
		overflow-wrap: anywhere;
	}

	.dc-logo {
		width: 38px;
		height: 38px;
		min-width: 38px;
	}

	.dc-header-text {
		gap: 8px;
		padding: 0 8px;
	}

	.dc-tagline {
		margin-right: 16px;
		margin-left: 16px;
		font-size: 12.5px;
		line-height: 1.7;
	}

	.dc-domains,
	.dc-coupon,
	.dc-footer {
		padding-right: 12px;
		padding-left: 12px;
	}

	.dc-coupon {
		min-height: 42px;
	}

	.dc-coupon-list {
		display: grid;
		grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr);
		align-items: center;
		gap: 7px;
	}

	.dc-coupon-item {
		display: contents;
	}

	.dc-coupon-tag {
		width: 100%;
		padding-right: 8px;
		padding-left: 8px;
		font-size: 0.78rem;
	}

	.dc-coupon-item:first-child .dc-coupon-tag {
		grid-column: 2;
	}

	.dc-coupon-item:nth-child(2) .dc-coupon-tag {
		grid-column: 3;
	}

	.dc-coupon-label {
		grid-column: 1;
	}

	.dc-coupon-list:not(:has(.dc-coupon-item:nth-child(2))) {
		grid-template-columns: auto minmax(0, 1fr);
	}

	.dc-coupon-note {
		line-height: 1.45;
	}

	.dc-table-head,
	.dc-row {
		grid-template-columns: 68px minmax(0, 1fr) minmax(0, 1fr);
		gap: 5px;
	}

	.dc-row {
		padding: 8px;
	}

	.dc-ext {
		font-size: 0.82rem;
	}

	.dc-price {
		font-size: 0.9rem;
	}

	.dc-renewal {
		font-size: 0.82rem;
	}

	.dc-btn {
		padding-right: 1rem;
		padding-left: 1rem;
	}
}
