/**
 * Domain For Sale — Elementor widget styles.
 *
 * Colours route through CSS custom properties so Elementor's own style
 * controls override them via {{WRAPPER}} without specificity fights.
 */

.dfs {
	--dfs-accent: #f04e23;
	--dfs-accent-hover: #ff6b41;
	--dfs-accent-soft: #ff9273;
	--dfs-dark: #0e0c0b;
	--dfs-darker: #151211;
	--dfs-muted: #a9a29c;
	--dfs-border: #2e2926;
	--dfs-heading: #f5f1ec;
	--dfs-field: #1c1917;
	--dfs-radius: 4px;
	--dfs-container: 1600px;
	--dfs-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	color: var(--dfs-heading);
	line-height: 1.6;
	position: relative;
	max-width: 100%;
	overflow-wrap: break-word;
}

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

.dfs h1,
.dfs h2,
.dfs h3,
.dfs h4,
.dfs p,
.dfs ul {
	margin: 0;
	padding: 0;
}

.dfs ul {
	list-style: none;
}

.dfs a {
	text-decoration: none;
	color: inherit;
}

.dfs img {
	max-width: 100%;
	display: block;
	height: auto;
}

/*
 * Icon contract. Elementor renders either an <i> glyph or an inline <svg>, and
 * an inline svg has no intrinsic size — without this it expands to fill its
 * parent. Sizing in em means each icon follows its container's font-size.
 */
.dfs svg {
	width: 1em;
	height: 1em;
	fill: currentColor;
	display: inline-block;
	vertical-align: middle;
	flex: 0 0 auto;
}

.dfs i {
	font-style: normal;
	line-height: 1;
	display: inline-block;
}

.dfs-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
	flex: 0 0 auto;
}

.dfs-container {
	max-width: var(--dfs-container);
	width: 100%;
	margin: 0 auto;
	padding: 0 48px;
	position: relative;
	z-index: 2;
}

/* Grid and flex children must be able to shrink, or a long domain name or a
   wide image forces a track open and the page scrolls sideways. */
.dfs-sale__grid > *,
.dfs-topbar > *,
.dfs-form__grid > * {
	min-width: 0;
}

.dfs-sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Accent word inside a heading — written as **word** in the panel. */
.dfs-hl {
	color: var(--dfs-accent);
}

/* ---------------------------------------------------------------- Reveal fx */
.dfs-reveal {
	opacity: 0;
	transform: translateY(20px);
}

.dfs-reveal.is-in {
	opacity: 1;
	transform: none;
	transition: opacity 0.7s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.elementor-editor-active .dfs-reveal {
	opacity: 1;
	transform: none;
}

/* ---------------------------------------------------------------- Sale page */
.dfs-sale {
	position: relative;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	background-color: var(--dfs-dark);
	overflow: hidden;
	padding: 40px 0 64px;
}

.dfs-sale__media {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.dfs-sale__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.dfs-sale__overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	background-image: linear-gradient(120deg, rgba(14, 12, 11, 0.96) 0%, rgba(14, 12, 11, 0.88) 55%, rgba(14, 12, 11, 0.94) 100%);
}

/* Fine diagonal texture, drawn rather than shipped as an image. */
.dfs-sale__stripes {
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	opacity: 0.5;
	background-image: repeating-linear-gradient(
		135deg,
		rgba(255, 255, 255, 0.022) 0px,
		rgba(255, 255, 255, 0.022) 1px,
		transparent 1px,
		transparent 7px
	);
}

/* ------------------------------------------------------------------ Top bar */
.dfs-topbar {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
	margin-bottom: auto;
}

.dfs-topbar__brand {
	font-family: var(--dfs-mono);
	font-size: 15px;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--dfs-heading);
}

.dfs-pill {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 12px 20px;
	border: 1px solid var(--dfs-border);
	border-radius: var(--dfs-radius);
	font-family: var(--dfs-mono);
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--dfs-heading);
	background-color: rgba(255, 255, 255, 0.02);
}

.dfs-pill__dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background-color: var(--dfs-accent);
	flex: 0 0 auto;
}

.dfs-pill--pulse .dfs-pill__dot {
	animation: dfs-pulse 2s ease-in-out infinite;
}

@keyframes dfs-pulse {
	0%,
	100% {
		opacity: 1;
		box-shadow: 0 0 0 0 rgba(240, 78, 35, 0.5);
	}

	50% {
		opacity: 0.7;
		box-shadow: 0 0 0 6px rgba(240, 78, 35, 0);
	}
}

/* --------------------------------------------------------------- Main grid */
.dfs-sale__grid {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 520px);
	gap: 64px;
	align-items: end;
	margin-top: 80px;
}

.dfs-eyebrow {
	display: block;
	font-family: var(--dfs-mono);
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--dfs-accent);
	margin-bottom: 24px;
}

.dfs-title {
	font-size: clamp(64px, 11vw, 168px);
	font-weight: 700;
	line-height: 0.86;
	letter-spacing: -0.02em;
	text-transform: uppercase;
	color: var(--dfs-heading);
	margin-bottom: 40px;
}

.dfs-lead {
	font-size: 20px;
	line-height: 1.7;
	color: var(--dfs-muted);
	max-width: 520px;
}

/* The domain itself is picked out inside the sentence. */
.dfs-lead__domain {
	color: var(--dfs-heading);
	font-weight: 500;
}

/* ------------------------------------------------------------------- Form */
.dfs-form-card {
	position: relative;
	background-color: rgba(21, 18, 17, 0.72);
	border: 1px solid var(--dfs-border);
	border-radius: var(--dfs-radius);
	padding: 40px;
	backdrop-filter: blur(6px);
}

.dfs-form-card__title {
	font-size: 22px;
	font-weight: 700;
	color: var(--dfs-heading);
	margin-bottom: 6px;
}

.dfs-form-card__intro {
	font-size: 16px;
	color: var(--dfs-muted);
	margin-bottom: 28px;
}

.dfs-form__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
	margin-bottom: 20px;
}

.dfs-form__row--100 {
	grid-column: span 2;
}

.dfs-form__row--50 {
	grid-column: span 1;
}

.dfs-form__field {
	position: relative;
	display: flex;
	align-items: center;
}

.dfs-form__icon {
	position: absolute;
	left: 14px;
	color: var(--dfs-muted);
	font-size: 15px;
	pointer-events: none;
	display: inline-flex;
}

.dfs-form__control {
	width: 100%;
	background-color: var(--dfs-field);
	border: 1px solid var(--dfs-border);
	border-radius: var(--dfs-radius);
	padding: 15px 16px;
	font-family: inherit;
	font-size: 16px;
	color: var(--dfs-heading);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.dfs-form__field--icon .dfs-form__control {
	padding-left: 42px;
}

.dfs-form__control::placeholder {
	color: #6f6862;
	opacity: 1;
}

.dfs-form__control:focus {
	outline: none;
	border-color: var(--dfs-accent);
	box-shadow: 0 0 0 3px rgba(240, 78, 35, 0.18);
}

textarea.dfs-form__control {
	resize: vertical;
	min-height: 120px;
}

select.dfs-form__control {
	appearance: none;
	-webkit-appearance: none;
	background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%23A9A29C' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	background-size: 18px 18px;
	padding-right: 40px;
}

/* Labels sit above the field in the monospace face, as in the design. */
.dfs-form--labels .dfs-sr-only {
	position: static;
	width: auto;
	height: auto;
	margin: 0 0 8px;
	clip: auto;
	overflow: visible;
	white-space: normal;
	display: block;
	font-family: var(--dfs-mono);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--dfs-muted);
}

.dfs-form--labels .dfs-form__row {
	display: flex;
	flex-direction: column;
}

/* ----------------------------------------------------------------- Buttons */
.dfs-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 18px 32px;
	border: none;
	border-radius: var(--dfs-radius);
	font-family: inherit;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	line-height: 1;
	cursor: pointer;
	transition: background-color 0.2s ease, transform 0.2s ease, filter 0.2s ease;
}

.dfs-btn__icon {
	display: inline-flex;
	align-items: center;
	transition: transform 0.25s ease;
}

.dfs-btn:hover .dfs-btn__icon {
	transform: translateX(3px);
}

.dfs-btn--primary {
	background-color: var(--dfs-accent);
	color: #140b07;
}

.dfs-btn--primary:hover {
	background-color: var(--dfs-accent-hover);
	color: #140b07;
}

.dfs-btn--outline {
	background-color: transparent;
	color: var(--dfs-heading);
	border: 1px solid var(--dfs-border);
}

.dfs-btn--outline:hover {
	border-color: var(--dfs-accent);
	color: var(--dfs-heading);
}

.dfs-btn--block {
	width: 100%;
}

.dfs-form__submit {
	margin-top: 4px;
}

.dfs-form__submit[disabled] {
	opacity: 0.6;
	cursor: not-allowed;
}

/* ------------------------------------------------------- Result + the note */
.dfs-form__message {
	display: none;
	margin-top: 20px;
	padding: 18px 20px;
	border-radius: var(--dfs-radius);
	font-size: 16px;
	line-height: 1.5;
	border: 1px solid transparent;
}

.dfs-form__message.is-visible {
	display: block;
}

.dfs-form__message.is-success {
	color: #cfe9d4;
	background-color: rgba(29, 61, 38, 0.55);
	border-color: #2f5c3c;
}

.dfs-form__message.is-error {
	color: #ffd2c8;
	background-color: rgba(80, 26, 16, 0.5);
	border-color: #7a331f;
}

/*
 * After a successful send the fields are removed and the message is promoted
 * to the top of the card, matching the "Message sent." state in the design.
 */
.dfs-form-card.is-sent .dfs-form__grid,
.dfs-form-card.is-sent .dfs-form__submit,
.dfs-form-card.is-sent .dfs-form-card__note {
	display: none;
}

.dfs-form-card.is-sent .dfs-form {
	display: flex;
	flex-direction: column;
}

.dfs-form-card.is-sent .dfs-form__message {
	order: -1;
	margin-top: 0;
	margin-bottom: 28px;
}

.dfs-form-card.is-sent .dfs-form-card__title,
.dfs-form-card.is-sent .dfs-form-card__intro {
	order: 2;
}

.dfs-form-card__note {
	margin-top: 20px;
	font-size: 14px;
	color: var(--dfs-muted);
	display: flex;
	align-items: center;
	gap: 8px;
}

.dfs-hp-wrap {
	position: absolute;
	left: -9999px;
	opacity: 0;
	height: 0;
	overflow: hidden;
}

/* Skin for embedded Elementor Pro / CF7 forms ---------------------------- */
.dfs-form-card--skin label,
.dfs-form-card--skin .elementor-field-label {
	font-family: var(--dfs-mono);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--dfs-muted);
	margin-bottom: 8px;
	display: block;
}

.dfs-form-card--skin input:not([type='submit']):not([type='button']):not([type='checkbox']):not([type='radio']):not([type='file']),
.dfs-form-card--skin select,
.dfs-form-card--skin textarea,
.dfs-form-card--skin .elementor-field-textual {
	width: 100%;
	background-color: var(--dfs-field);
	border: 1px solid var(--dfs-border);
	border-radius: var(--dfs-radius);
	padding: 15px 16px;
	font-family: inherit;
	font-size: 16px;
	color: var(--dfs-heading);
}

.dfs-form-card--skin input:focus,
.dfs-form-card--skin select:focus,
.dfs-form-card--skin textarea:focus,
.dfs-form-card--skin .elementor-field-textual:focus {
	outline: none;
	border-color: var(--dfs-accent);
	box-shadow: 0 0 0 3px rgba(240, 78, 35, 0.18);
}

.dfs-form-card--skin button[type='submit'],
.dfs-form-card--skin input[type='submit'],
.dfs-form-card--skin .elementor-button,
.dfs-form-card--skin .wpcf7-submit {
	width: 100%;
	justify-content: center;
	background-color: var(--dfs-accent);
	border: none;
	border-radius: var(--dfs-radius);
	color: #140b07;
	font-family: inherit;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	padding: 18px 32px;
	cursor: pointer;
}

.dfs-form-card--skin button[type='submit']:hover,
.dfs-form-card--skin input[type='submit']:hover,
.dfs-form-card--skin .elementor-button:hover,
.dfs-form-card--skin .wpcf7-submit:hover {
	background-color: var(--dfs-accent-hover);
	color: #140b07;
}

.dfs-form-card--skin .elementor-field-group {
	margin-bottom: 0;
}

/* --------------------------------------------------------------- Responsive */
@media ( max-width: 1200px ) {
	.dfs-container {
		padding: 0 32px;
	}

	.dfs-sale__grid {
		gap: 48px;
		margin-top: 56px;
	}
}

@media ( max-width: 1024px ) {
	.dfs-sale__grid {
		grid-template-columns: minmax(0, 1fr);
		align-items: start;
	}

	.dfs-title {
		font-size: clamp(56px, 13vw, 110px);
		margin-bottom: 28px;
	}

	.dfs-sale {
		min-height: 0;
		padding: 32px 0 56px;
	}
}

@media ( max-width: 767px ) {
	.dfs-container {
		padding: 0 20px;
	}

	.dfs-topbar {
		gap: 14px;
	}

	.dfs-topbar__brand {
		font-size: 13px;
	}

	.dfs-pill {
		padding: 9px 14px;
		font-size: 11px;
		letter-spacing: 0.12em;
	}

	.dfs-sale__grid {
		gap: 36px;
		margin-top: 40px;
	}

	.dfs-eyebrow {
		font-size: 12px;
		letter-spacing: 0.18em;
		margin-bottom: 16px;
	}

	.dfs-title {
		font-size: clamp(44px, 15vw, 76px);
		line-height: 0.9;
	}

	.dfs-lead {
		font-size: 17px;
	}

	.dfs-form-card {
		padding: 24px 20px;
	}

	.dfs-form__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 16px;
	}

	.dfs-form__row--50,
	.dfs-form__row--100 {
		grid-column: span 1;
	}

	.dfs-btn {
		padding: 16px 24px;
		font-size: 14px;
	}
}

@media ( prefers-reduced-motion: reduce ) {
	.dfs *,
	.dfs *::before,
	.dfs *::after {
		animation-duration: 0.001ms !important;
		transition-duration: 0.001ms !important;
	}

	.dfs-reveal {
		opacity: 1;
		transform: none;
	}
}

/* Wrappers for an embedded Elementor Pro form or shortcode, and for the
   standalone form widget when it is dropped outside the sale page. */
.dfs-form-card__shortcode,
.dfs-form-card__template {
	min-width: 0;
}

.dfs-formblock {
	position: relative;
}

.dfs-sale__copy,
.dfs-sale__form {
	min-width: 0;
}
