/*
 * Elementor Shop Contact — mirrors the xsmokehub Contact page (Contact.tsx)
 * below the header: a "Get in Touch" column (contact info, social links,
 * support cards) beside a contact form with an AJAX "Message Sent" state.
 * The Elementor controls override these defaults via generated CSS.
 */

/* ---- Wrapper + two-column layout ---- */
.espc-wrap {
	width: 100%;
}

.espc-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 64px;
}

@media (min-width: 1024px) {
	.espc-grid {
		grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
		gap: 64px;
	}
}

/* ---- Info column ---- */
.espc-info {
	display: flex;
	flex-direction: column;
	gap: 40px;
	min-width: 0;
}

/* Get in Touch heading */
.espc-info-heading {
	margin: 0 0 28px;
	font-family: 'DM Serif Display', serif;
	font-size: 24px;
	font-weight: 400;
	line-height: 1.2;
	color: #222222;
}

/* Contact info items */
.espc-info-items {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.espc-info-item {
	display: flex;
	align-items: flex-start;
	gap: 16px;
}

.espc-info-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 12px;
	background-color: #f5f5f5;
	flex-shrink: 0;
}

.espc-info-text {
	min-width: 0;
}

.espc-info-label {
	margin: 0 0 2px;
	font-family: 'Jost', sans-serif;
	font-size: 10px;
	font-weight: 500;
	line-height: 1.4;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #888888;
}

.espc-info-value {
	margin: 0 0 2px;
	font-family: 'Jost', sans-serif;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.5;
	color: #222222;
	word-break: break-word;
}

.espc-info-sub {
	margin: 0;
	font-family: 'Jost', sans-serif;
	font-size: 12px;
	font-weight: 400;
	line-height: 1.5;
	color: #888888;
}

/* Social */
.espc-social {
	padding-top: 24px;
	border-top: 1px solid #e5e5e5;
}

.espc-social-heading {
	margin: 0 0 16px;
	font-family: 'Jost', sans-serif;
	font-size: 12px;
	font-weight: 500;
	line-height: 1;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #888888;
}

.espc-social-links {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.espc-social-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 12px;
	border: 1px solid #e5e5e5;
	border-radius: 12px;
	font-family: 'Jost', sans-serif;
	font-size: 12px;
	font-weight: 500;
	line-height: 1;
	color: #555555;
	text-decoration: none;
	transition: border-color 0.2s ease, color 0.2s ease;
}

.espc-social-link:hover {
	border-color: #222222;
	color: #222222;
}

.espc-social-emoji {
	font-size: 14px;
	line-height: 1;
}

/* Support cards */
.espc-support {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.espc-support-card {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	padding: 20px;
	border-radius: 12px;
	background-color: #f5f5f5;
}

.espc-support-icon {
	font-size: 20px;
	line-height: 1.4;
	flex-shrink: 0;
}

.espc-support-body {
	min-width: 0;
}

.espc-support-title {
	margin: 0 0 4px;
	font-family: 'Jost', sans-serif;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	color: #222222;
}

.espc-support-desc {
	margin: 0;
	font-family: 'Jost', sans-serif;
	font-size: 12px;
	font-weight: 400;
	line-height: 1.625;
	color: #888888;
}

/* ---- Form column ---- */
.espc-form-col {
	min-width: 0;
}

.espc-form-card {
	box-sizing: border-box;
	padding: 32px;
	border-radius: 16px;
	background-color: #f5f5f5;
}

@media (min-width: 1024px) {
	.espc-form-card {
		padding: 40px;
	}
}

.espc-form-heading {
	margin: 0 0 32px;
	font-family: 'DM Serif Display', serif;
	font-size: 24px;
	font-weight: 400;
	line-height: 1.2;
	color: #222222;
}

/* Form */
.espc-form {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

/* Honeypot: visually hidden, only bots fill it */
.espc-hp {
	display: none;
}

.espc-field-row {
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
}

@media (min-width: 640px) {
	.espc-field-row {
		grid-template-columns: 1fr 1fr;
	}
}

.espc-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.espc-field label {
	font-family: 'Jost', sans-serif;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.4;
	letter-spacing: 0.02em;
	color: #888888;
}

.espc-field input,
.espc-field select,
.espc-field textarea {
	box-sizing: border-box;
	width: 100%;
	padding: 12px 16px;
	border: 1px solid #e5e5e5;
	border-radius: 12px;
	background-color: #ffffff;
	font-family: 'Jost', sans-serif;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.4;
	color: #222222;
	transition: border-color 0.2s ease;
}

.espc-field textarea {
	resize: none;
}

.espc-field input:focus,
.espc-field select:focus,
.espc-field textarea:focus {
	outline: none;
	border-color: #222222;
}

.espc-field input::placeholder,
.espc-field textarea::placeholder {
	color: #bbbbbb;
}

.espc-form-error {
	margin: 0;
	font-family: 'Jost', sans-serif;
	font-size: 12px;
	color: #d32f2f;
}

.espc-privacy {
	margin: 0;
	font-family: 'Jost', sans-serif;
	font-size: 12px;
	line-height: 1.5;
	color: #888888;
}

.espc-submit {
	width: 100%;
	padding: 16px;
	border: 0;
	border-radius: 12px;
	background-color: #222222;
	color: #ffffff;
	font-family: 'Jost', sans-serif;
	font-size: 14px;
	font-weight: 500;
	line-height: 1;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.espc-submit:hover {
	background-color: #000000;
}

.espc-submit:disabled {
	opacity: 0.6;
	cursor: default;
}

/* Success view */
.espc-form-success {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	min-height: 400px;
}

.espc-success-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	margin: 0 auto 24px;
	border-radius: 999px;
	background-color: #ffffff;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.espc-success-heading {
	margin: 0 0 8px;
	font-family: 'DM Serif Display', serif;
	font-size: 24px;
	font-weight: 400;
	line-height: 1.2;
	color: #222222;
}

.espc-success-text {
	margin: 0 0 24px;
	font-family: 'Jost', sans-serif;
	font-size: 14px;
	line-height: 1.625;
	color: #888888;
}

.espc-success-btn {
	display: inline-block;
	padding: 12px 32px;
	border: 0;
	border-radius: 12px;
	background-color: #222222;
	color: #ffffff;
	font-family: 'Jost', sans-serif;
	font-size: 14px;
	font-weight: 500;
	line-height: 1;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.espc-success-btn:hover {
	background-color: #000000;
}
