.atr-jt-drawer-shortcode {
	display: contents;
}

.atr-jt-drawer-trigger {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 12px 20px;
	border: 0;
	border-radius: 10px;
	background: #d7261e;
	color: #fff;
	font-size: 0.82rem;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	cursor: pointer;
	transition: transform 0.22s ease, background-color 0.22s ease, opacity 0.22s ease;
}

.atr-jt-drawer-trigger:hover,
.atr-jt-drawer-trigger:focus-visible {
	transform: translateY(-1px);
	background: #b81f19;
}

.atr-jt-drawer-trigger--secondary {
	background: #fff;
	color: #171717;
	border: 1px solid #171717;
}

.atr-jt-drawer-trigger--secondary:hover,
.atr-jt-drawer-trigger--secondary:focus-visible {
	background: #f4f4f4;
}

.atr-jt-drawer-trigger--floating {
	position: fixed;
	right: clamp(18px, 3vw, 32px);
	bottom: clamp(18px, 3vw, 30px);
	z-index: 99990;
	box-shadow: 0 18px 38px rgba(0, 0, 0, 0.16);
}

.atr-jt-drawer {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	justify-content: flex-end;
	height: 100vh;
	height: 100dvh;
}

.atr-jt-drawer[hidden] {
	display: none;
}

.atr-jt-drawer__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(16, 16, 16, 0.44);
	opacity: 0;
	transition: opacity 0.34s ease;
}

.atr-jt-drawer__panel {
	box-sizing: border-box;
	position: relative;
	display: grid;
	grid-template-rows: auto minmax(0, 1fr);
	width: min(100%, 640px);
	height: 100vh;
	height: 100dvh;
	max-height: 100vh;
	max-height: 100dvh;
	margin-left: auto;
	padding: clamp(22px, 3vw, 34px);
	background: #ffffff;
	box-shadow: -18px 0 48px rgba(0, 0, 0, 0.16);
	transform: translate3d(100%, 0, 0);
	transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
	overflow-x: hidden;
	overflow-y: hidden;
}

.atr-jt-drawer.is-open .atr-jt-drawer__backdrop {
	opacity: 1;
}

.atr-jt-drawer.is-open .atr-jt-drawer__panel {
	transform: translate3d(0, 0, 0);
}

body.atr-jt-drawer-open {
	overflow: hidden;
}

html.atr-jt-drawer-open,
body.atr-jt-drawer-open {
	overflow: hidden;
	overscroll-behavior: none;
}

body.atr-jt-drawer-open {
	position: fixed;
	width: 100%;
	left: 0;
	right: 0;
}

.atr-jt-drawer__header {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	column-gap: 18px;
	align-items: start;
	z-index: 2;
	padding: 0 0 18px;
	background: #ffffff;
	border-bottom: 1px solid rgba(23, 23, 23, 0.1);
}

.atr-jt-drawer__heading-group {
	min-width: 0;
	max-width: min(100%, clamp(280px, 30vw, 420px));
}

.atr-jt-drawer__title {
	margin: 0;
	width: 100%;
	font-size: clamp(22px, 2.35vw, 34px);
	line-height: 0.94;
	letter-spacing: -0.03em;
	color: #151515;
}

.atr-jt-drawer__close {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: #151515;
	font-size: 1.8rem;
	line-height: 1;
	cursor: pointer;
	box-shadow: none;
}

.atr-jt-drawer__body {
	min-height: 0;
	padding-top: 22px;
	overflow: hidden;
}

.atr-jt-drawer .jtwf {
	display: flex;
	flex-direction: column;
	height: 100%;
	min-height: 0;
}

.atr-jt-card {
	display: grid;
	grid-template-rows: auto minmax(0, 1fr);
	flex: 1 1 auto;
	width: 100%;
	height: 100%;
	max-height: 100%;
	min-height: 0;
	overflow: hidden;
	background: transparent;
	box-shadow: none;
}

.atr-jt-card__brand {
	flex: 0 0 auto;
	padding-bottom: clamp(18px, 2.4vw, 28px);
}

.atr-jt-card__intro {
	margin: 0;
	font-size: 0.92rem;
	line-height: 1.5;
	letter-spacing: -0.012em;
	text-align: left;
	color: rgba(23, 23, 23, 0.82);
}

.atr-jt-card__content {
	min-height: 0;
	overflow-x: hidden;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior: contain;
}

.atr-jt-drawer .jtwf .max-w-sm {
	max-width: none;
}

.atr-jt-drawer .jtwf .shadow-sm {
	box-shadow: none;
}

.atr-jt-drawer .jtwf .atr-jt-card.bg-white {
	background: transparent;
}

.atr-jt-drawer .jtwf .p-4 {
	padding: 0;
}

.atr-jt-drawer .jtwf .atr-jt-card__content {
	padding-top: clamp(18px, 2.4vw, 28px);
}

.atr-jt-form {
	display: grid;
	gap: 3px;
	align-content: start;
}

.atr-jt-form__row {
	display: grid;
	gap: 12px;
}

.atr-jt-form__field {
	position: relative;
}

.atr-jt-form__field input,
.atr-jt-form__field textarea,
.atr-jt-form__field select {
	width: 100%;
	min-height: 58px;
	padding: 24px 14px 10px;
	border-radius: 12px;
	background: #fff;
	outline: none;
	box-shadow: inset 0 0 0 1px rgba(23, 23, 23, 0.14);
	transition: box-shadow 0.18s ease, background-color 0.18s ease;
}

.atr-jt-drawer .atr-jt-form__field input,
.atr-jt-drawer .atr-jt-form__field textarea,
.atr-jt-drawer .atr-jt-form__field select {
	border-radius: 12px;
}

.atr-jt-form__field input:focus,
.atr-jt-form__field textarea:focus,
.atr-jt-form__field select:focus,
.atr-jt-form__field input:focus-visible,
.atr-jt-form__field textarea:focus-visible,
.atr-jt-form__field select:focus-visible {
	outline: none;
	box-shadow: inset 0 0 0 2px rgba(215, 38, 30, 0.52);
}

.atr-jt-form__field textarea {
	min-height: 128px;
	resize: vertical;
}

.atr-jt-form__field textarea[name="location.address"] {
	min-height: 70px;
}

.atr-jt-form__field--file input[type='file'] {
	min-height: auto;
	padding: 12px 14px;
}

.atr-jt-form__label {
	position: absolute;
	top: 50%;
	left: 14px;
	transform: translateY(-50%);
	transform-origin: left center;
	font-size: 0.92rem;
	font-weight: 600;
	line-height: 1;
	color: rgba(28, 28, 28, 0.62);
	pointer-events: none;
	transition: transform 0.18s ease, top 0.18s ease, color 0.18s ease, font-size 0.18s ease;
}

.atr-jt-form__field--textarea .atr-jt-form__label {
	top: 24px;
	transform: none;
}

.atr-jt-form__field--select select {
	padding-top: 24px;
	padding-right: 40px;
	padding-bottom: 10px;
}

.atr-jt-form__field--select::after {
	content: "";
	position: absolute;
	right: 14px;
	top: 50%;
	width: 10px;
	height: 10px;
	border-right: 2px solid rgba(21, 21, 21, 0.68);
	border-bottom: 2px solid rgba(21, 21, 21, 0.68);
	transform: translateY(-65%) rotate(45deg);
	pointer-events: none;
}

.atr-jt-form__field--select .atr-jt-form__label {
	top: 11px;
	transform: none;
	font-size: 0.7rem;
	letter-spacing: 0.03em;
	color: #d7261e;
}

.atr-jt-form__field--floating input:focus + .atr-jt-form__label,
.atr-jt-form__field--floating input:not(:placeholder-shown) + .atr-jt-form__label,
.atr-jt-form__field--floating textarea:focus + .atr-jt-form__label,
.atr-jt-form__field--floating textarea:not(:placeholder-shown) + .atr-jt-form__label {
	top: 11px;
	transform: none;
	font-size: 0.7rem;
	letter-spacing: 0.03em;
	color: #d7261e;
}

.atr-jt-form__label--static {
	position: static;
	display: block;
	margin: 0 0 8px;
	transform: none;
	font-size: 0.76rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #202020;
}

.atr-jt-form__file-head {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding-top: clamp(18px, 2.4vw, 28px);
	margin-bottom: 10px;
}

.atr-jt-form__file-title {
	font-size: 0.76rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #202020;
}

.atr-jt-form__file-help {
	font-size: 0.8rem;
}

.atr-jt-form__field--file input[type='file'] {
	color: rgba(23, 23, 23, 0.68);
	font-size: 0.84rem;
	line-height: 1.2;
}

.atr-jt-form__field--file input[type='file']::file-selector-button {
	margin-right: 12px;
	padding: 10px 14px;
	border: 0;
	border-radius: 8px;
	background: #d7261e;
	color: #ffffff;
	font-size: 0.72rem;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color 0.18s ease, transform 0.18s ease;
}

.atr-jt-form__field--file input[type='file']::-webkit-file-upload-button {
	margin-right: 12px;
	padding: 10px 14px;
	border: 0;
	border-radius: 8px;
	background: #d7261e;
	color: #ffffff;
	font-size: 0.72rem;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color 0.18s ease, transform 0.18s ease;
}

.atr-jt-form__field--file input[type='file']:hover::file-selector-button,
.atr-jt-form__field--file input[type='file']:focus-visible::file-selector-button,
.atr-jt-form__field--file input[type='file']:hover::-webkit-file-upload-button,
.atr-jt-form__field--file input[type='file']:focus-visible::-webkit-file-upload-button {
	background: #b91f18;
	transform: translateY(-1px);
}

.atr-jt-form__consent {
	display: grid;
	grid-template-columns: 20px minmax(0, 1fr);
	column-gap: 12px;
	row-gap: 0;
	align-items: start;
	cursor: pointer;
	margin-top: 6px;
}

.atr-jt-form__consent-input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.atr-jt-form__consent-box {
	position: relative;
	width: 20px;
	height: 20px;
	margin-top: 2px;
	border: 1px solid rgba(32, 32, 32, 0.22);
	border-radius: 6px;
	background: #ffffff;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45);
	transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.atr-jt-form__consent-box::after {
	content: "";
	position: absolute;
	left: 6px;
	top: 2px;
	width: 5px;
	height: 10px;
	border-right: 2px solid #ffffff;
	border-bottom: 2px solid #ffffff;
	transform: rotate(45deg) scale(0);
	transform-origin: center;
	transition: transform 0.18s ease;
}

.atr-jt-form__consent-copy {
	font-size: 0.84rem;
	line-height: 1.45;
	color: rgba(23, 23, 23, 0.78);
}

.atr-jt-form__consent-input:checked + .atr-jt-form__consent-box {
	border-color: #d7261e;
	background: #d7261e;
	box-shadow: 0 10px 24px rgba(215, 38, 30, 0.18);
}

.atr-jt-form__consent-input:checked + .atr-jt-form__consent-box::after {
	transform: rotate(45deg) scale(1);
}

.atr-jt-form__consent-input:focus-visible + .atr-jt-form__consent-box {
	outline: 2px solid rgba(215, 38, 30, 0.3);
	outline-offset: 2px;
}

.atr-jt-form__actions {
	margin-top: 2px;
	text-align: left;
}

.atr-jt-form__submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12.1px;
	margin-top: 15px;
	padding: clamp(14px, 1.15vw, 17px) clamp(16px, 1.7vw, 24px);
	border: 0;
	border-radius: 7px;
	text-decoration: none;
	font-size: clamp(10.5px, 0.72vw, 12px);
	line-height: 1;
	font-weight: 700;
	letter-spacing: clamp(0.03em, 0.045vw, 0.06em);
	text-transform: uppercase;
	color: #fff;
	background: transparent;
	box-shadow: none;
	position: relative;
	isolation: isolate;
	overflow: hidden;
	cursor: pointer;
	transition: color 0.2s ease;
	min-width: clamp(140px, 16vw, 190px);
}

.atr-jt-form__submit::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	border-radius: inherit;
	background: #d7261e;
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
	transform: scale(1);
	transform-origin: center;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.atr-jt-form__submit:hover,
.atr-jt-form__submit:focus-visible {
	color: #fff;
	background: transparent;
}

.atr-jt-form__submit:hover::before,
.atr-jt-form__submit:focus-visible::before {
	transform: scale(0.98);
	box-shadow: 0 20px 44px rgba(0, 0, 0, 0.35);
}

.atr-jt-drawer .jtwf input::placeholder,
.atr-jt-drawer .jtwf textarea::placeholder {
	color: transparent;
}

@media (min-width: 640px) {
	.atr-jt-form__row--two {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 782px) {
	.atr-jt-drawer-trigger--floating {
		right: 16px;
		bottom: 16px;
	}

	.atr-jt-drawer__panel {
		width: 100%;
		padding: 18px;
	}

	.atr-jt-drawer__header {
		align-items: center;
	}

	.atr-jt-drawer__title {
		font-size: clamp(20px, 5.9vw, 28px);
	}
}
.atr-jt-inline {
	width: 100%;
	min-width: 0;
}

.atr-jt-inline .jtwf,
.atr-jt-inline .atr-jt-card {
	width: 100%;
	max-width: none;
}

.atr-jt-inline .atr-jt-card {
	background: transparent;
	box-shadow: none;
}
