/* Listing journey (TCT-9870): V3 design, intro column + step card. Tokens match the seller landing pages
   (assets/seller-landing.css). Selectors start with .ct-lj to outrank the Elementor kit's element styles. */

.ct-lj {
	--ct-lj-gold: #d98f00;
	--ct-lj-gold-dark: #b87900;
	--ct-lj-ink: #242629;
	--ct-lj-dark: #232425;
	--ct-lj-muted: #5f6166;
	--ct-lj-line: #e4e1dc;
	--ct-lj-field: #cfccc6;
	--ct-lj-cream: #f6f4f0;
	--ct-lj-gold-tint: #fbf3e2;
	--ct-lj-error: #b3261e;
	box-sizing: border-box;
	color: var(--ct-lj-ink);
	display: grid;
	font-family: Montserrat, sans-serif;
	font-size: 16px;
	gap: 56px;
	grid-template-columns: minmax(0, 390px) minmax(0, 1fr);
	line-height: 1.55;
	margin: 0 auto;
	max-width: 1440px;
	padding: 96px 32px 110px;
}

.ct-lj *,
.ct-lj *::before,
.ct-lj *::after {
	box-sizing: inherit;
}

/* ------------------------------------------------------------------ intro column */

.ct-lj .ct-lj__intro {
	align-self: start;
	padding-top: 24px;
}

.ct-lj .ct-lj__eyebrow {
	color: var(--ct-lj-gold);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.16em;
	margin: 0 0 10px;
	text-transform: uppercase;
}

.ct-lj .ct-lj__title {
	color: var(--ct-lj-ink);
	font-family: Montserrat, sans-serif;
	font-size: clamp(32px, 3.4vw, 46px);
	font-weight: 400;
	letter-spacing: -0.03em;
	line-height: 1.08;
	margin: 0 0 22px;
}

.ct-lj .ct-lj__lead {
	color: var(--ct-lj-muted);
	margin: 0 0 32px;
}

.ct-lj .ct-lj__help {
	background: var(--ct-lj-cream);
	border-left: 3px solid var(--ct-lj-gold);
	padding: 22px 24px;
}

.ct-lj .ct-lj__help p {
	color: var(--ct-lj-muted);
	font-size: 14px;
	margin: 0 0 8px;
}

.ct-lj .ct-lj__help .ct-lj__help-title {
	color: var(--ct-lj-ink);
	font-weight: 700;
	margin-bottom: 6px;
}

.ct-lj .ct-lj__help a {
	color: var(--ct-lj-gold-dark);
	font-size: 14px;
	font-weight: 700;
	text-decoration: underline;
}

/* ------------------------------------------------------------------ card + step header */

.ct-lj .ct-lj__card {
	align-self: start; /* only as tall as its content (the short logged-out card otherwise stretched to the intro column) */
	background: #fff;
	border: 1px solid var(--ct-lj-line);
	box-shadow: 0 18px 40px rgba(20, 20, 20, 0.08);
	min-width: 0;
}

.ct-lj .ct-lj__head {
	background: var(--ct-lj-dark);
	color: #fff;
	padding: 24px 40px 22px;
}

.ct-lj .ct-lj__head-row {
	align-items: baseline;
	display: flex;
	gap: 16px;
	justify-content: space-between;
}

.ct-lj .ct-lj__count {
	color: #c9c7c2;
	font-size: 14px;
}

.ct-lj .ct-lj__head-title {
	font-weight: 700;
}

.ct-lj .ct-lj__bar {
	background: #4a4b4d;
	height: 3px;
	margin: 16px 0 18px;
}

.ct-lj .ct-lj__bar span {
	background: var(--ct-lj-gold);
	display: block;
	height: 100%;
}

.ct-lj .ct-lj__steps {
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	list-style: none;
	margin: 0;
	padding: 0;
}

.ct-lj .ct-lj__steps li {
	align-items: center;
	color: #9d9b97;
	display: flex;
	font-size: 12px;
	gap: 10px;
}

.ct-lj .ct-lj__steps li.is-current,
.ct-lj .ct-lj__steps li.is-done {
	color: #fff;
}

.ct-lj .ct-lj__step-num {
	align-items: center;
	border: 1px solid #6c6d6f;
	display: inline-flex;
	flex: 0 0 auto;
	font-size: 11px;
	height: 22px;
	justify-content: center;
	width: 22px;
}

.ct-lj .is-current .ct-lj__step-num {
	background: var(--ct-lj-gold);
	border-color: var(--ct-lj-gold);
	color: var(--ct-lj-ink);
	font-weight: 700;
}

.ct-lj .is-done .ct-lj__step-num {
	border-color: var(--ct-lj-gold);
	color: var(--ct-lj-gold);
}

/* ------------------------------------------------------------------ body */

.ct-lj .ct-lj__body {
	padding: 36px 40px 0;
}

.ct-lj .ct-lj__h2 {
	color: var(--ct-lj-ink);
	font-family: Montserrat, sans-serif;
	font-size: 24px;
	font-weight: 500;
	letter-spacing: -0.01em;
	line-height: 1.25;
	margin: 0 0 8px;
}

.ct-lj .ct-lj__h3 {
	color: var(--ct-lj-ink);
	font-family: Montserrat, sans-serif;
	font-size: 20px;
	font-weight: 500;
	line-height: 1.3;
	margin: 36px 0 6px;
}

.ct-lj .ct-lj__sub {
	color: var(--ct-lj-muted);
	font-size: 14px;
	margin: 0 0 22px;
}

.ct-lj .ct-lj__msg {
	border-left: 3px solid;
	font-size: 14px;
	margin: 0 0 24px;
	padding: 12px 16px;
}

.ct-lj .ct-lj__msg--error {
	background: #fdf0ef;
	border-color: var(--ct-lj-error);
	color: var(--ct-lj-error);
}

.ct-lj .ct-lj__msg--notice {
	background: var(--ct-lj-cream);
	border-color: var(--ct-lj-gold);
}

.ct-lj .ct-lj__msg--start {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 10px 16px;
	justify-content: space-between;
}

/* tabs */

.ct-lj .ct-lj__tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 18px;
}

.ct-lj .ct-lj__tab,
.ct-lj button.ct-lj__tab {
	background: #fff;
	border: 1px solid var(--ct-lj-field);
	border-radius: 0;
	box-shadow: none;
	color: var(--ct-lj-ink);
	cursor: pointer;
	font-family: inherit;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.2;
	padding: 11px 14px;
	text-transform: none;
}

.ct-lj .ct-lj__tab.is-current {
	background: var(--ct-lj-gold-tint);
	border: 2px solid var(--ct-lj-gold);
	padding: 10px 13px;
}

.ct-lj .ct-lj__tab.has-error {
	border-color: var(--ct-lj-error);
}

.ct-lj .ct-lj__tabs-bar {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	font-size: 13px;
	gap: 10px;
	justify-content: space-between;
	margin-bottom: 26px;
}

.ct-lj .ct-lj__tabs-bar > span {
	display: flex;
	gap: 8px;
}

/* fields */

.ct-lj .ct-lj__field {
	border: 0;
	margin: 0 0 22px;
	min-width: 0;
	padding: 0;
}

.ct-lj .ct-lj__field > label,
.ct-lj .ct-lj__field > legend {
	color: var(--ct-lj-ink);
	display: block;
	font-size: 13px;
	font-weight: 700;
	margin: 0 0 8px;
	padding: 0;
}

.ct-lj .ct-lj__opt {
	color: var(--ct-lj-muted);
	font-size: 11px;
	font-weight: 400;
	margin-left: 4px;
}

.ct-lj input[type="text"],
.ct-lj input[type="url"],
.ct-lj input[type="email"],
.ct-lj input[type="tel"],
.ct-lj select,
.ct-lj textarea {
	background-color: #fff;
	border: 1px solid var(--ct-lj-field);
	border-radius: 0;
	box-shadow: none;
	box-sizing: border-box; /* site styles set content-box on controls, which overflows width:100% */
	color: var(--ct-lj-ink);
	font-family: inherit;
	font-size: 15px;
	line-height: 1.4;
	min-height: 46px;
	padding: 10px 12px;
	width: 100%;
}

.ct-lj textarea {
	min-height: 120px;
	resize: vertical;
}

.ct-lj select:disabled {
	background-color: #f1efeb;
	color: #8b8a86;
	cursor: not-allowed;
}

.ct-lj input:focus,
.ct-lj select:focus,
.ct-lj textarea:focus {
	border-color: var(--ct-lj-gold);
	outline: 2px solid rgba(217, 143, 0, 0.25);
	outline-offset: 0;
}

.ct-lj .has-error input,
.ct-lj .has-error select,
.ct-lj .has-error textarea {
	border-color: var(--ct-lj-error);
}

.ct-lj .ct-lj__error {
	color: var(--ct-lj-error);
	font-size: 13px;
	margin: 6px 0 0;
}

.ct-lj .ct-lj__help-text {
	color: var(--ct-lj-muted);
	font-size: 11px;
	margin: 6px 0 0;
}

.ct-lj .ct-lj__grid {
	display: grid;
	gap: 0 16px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ct-lj .is-hidden {
	display: none;
}

/* packages */

.ct-lj .ct-lj__packages {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.ct-lj .ct-lj__packages legend {
	width: 100%;
}

.ct-lj .ct-lj__packages > label.ct-lj__package { /* outranks .ct-lj__field > label */
	align-items: center;
	border: 1px solid var(--ct-lj-field);
	cursor: pointer;
	display: flex;
	font-size: 13px;
	font-weight: 400;
	gap: 24px;
	justify-content: space-between;
	margin: 0;
	min-width: 136px;
	padding: 10px 12px;
	position: relative;
}

.ct-lj .ct-lj__package input {
	opacity: 0;
	position: absolute;
}

.ct-lj .ct-lj__package span:first-of-type {
	font-weight: 700;
}

.ct-lj .ct-lj__packages > label.ct-lj__package:has(input:checked) {
	background: var(--ct-lj-gold-tint);
	border: 2px solid var(--ct-lj-gold);
	padding: 9px 11px;
}

.ct-lj .ct-lj__packages > label.ct-lj__package:has(input:focus-visible) {
	outline: 2px solid var(--ct-lj-gold);
	outline-offset: 2px;
}

/* specifications accordion */

.ct-lj .ct-lj__specs {
	background: var(--ct-lj-cream);
	border: 1px solid var(--ct-lj-line);
	margin: 0 0 8px;
}

.ct-lj .ct-lj__specs summary {
	cursor: pointer;
	display: block;
	list-style: none;
	padding: 14px 48px 14px 14px;
	position: relative;
}

.ct-lj .ct-lj__specs summary::-webkit-details-marker {
	display: none;
}

.ct-lj .ct-lj__specs summary::after {
	border-bottom: 2px solid var(--ct-lj-ink);
	border-right: 2px solid var(--ct-lj-ink);
	content: "";
	height: 8px;
	position: absolute;
	right: 22px;
	top: 22px;
	transform: rotate(45deg);
	width: 8px;
}

.ct-lj .ct-lj__specs[open] summary::after {
	top: 26px;
	transform: rotate(-135deg);
}

.ct-lj .ct-lj__specs summary strong {
	display: block;
	font-size: 14px;
}

.ct-lj .ct-lj__specs summary span {
	color: var(--ct-lj-muted);
	font-size: 11px;
}

.ct-lj .ct-lj__specs-body {
	background: #fff;
	border-top: 1px solid var(--ct-lj-line);
	display: grid;
	gap: 0 16px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	padding: 20px 14px 0;
}

.ct-lj .ct-lj__checks {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 16px;
}

.ct-lj .ct-lj__checks label {
	font-size: 14px;
	font-weight: 400;
}

/* photos */

.ct-lj .ct-lj__drop {
	align-items: center;
	background: #fff;
	border: 1px dashed #b9b6b0;
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 36px 20px;
	text-align: center;
}

.ct-lj .ct-lj__drop.is-over {
	background: var(--ct-lj-gold-tint);
	border-color: var(--ct-lj-gold);
}

.ct-lj .ct-lj__drop.is-disabled {
	background: #f7f6f3;
	color: var(--ct-lj-muted);
}

.ct-lj .ct-lj__drop-icon {
	align-items: center;
	border: 1px solid var(--ct-lj-line);
	color: var(--ct-lj-gold);
	display: inline-flex;
	font-size: 20px;
	height: 38px;
	justify-content: center;
	margin-bottom: 8px;
	width: 38px;
}

.ct-lj .ct-lj__drop small {
	color: var(--ct-lj-muted);
	font-size: 11px;
}

.ct-lj .ct-lj__link {
	color: var(--ct-lj-ink);
	cursor: pointer;
	text-decoration: underline;
}

.ct-lj .ct-lj__thumbs {
	display: grid;
	gap: 8px;
	grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
	list-style: none;
	margin: 0 0 12px;
	padding: 0;
}

.ct-lj .ct-lj__thumbs:empty {
	display: none;
}

.ct-lj .ct-lj__thumbs li {
	aspect-ratio: 4 / 3;
	background: var(--ct-lj-cream);
	position: relative;
}

.ct-lj .ct-lj__thumbs img {
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.ct-lj .ct-lj__thumbs li.is-uploading {
	opacity: 0.5;
}

.ct-lj .ct-lj__thumbs button {
	background: rgba(20, 20, 20, 0.75);
	border: 0;
	border-radius: 0;
	color: #fff;
	cursor: pointer;
	font-size: 14px;
	height: 26px;
	line-height: 1;
	padding: 0;
	position: absolute;
	right: 4px;
	top: 4px;
	width: 26px;
}

.ct-lj .ct-lj__tip {
	background: var(--ct-lj-gold-tint);
	display: flex;
	flex-direction: column;
	font-size: 13px;
	margin: 22px 0;
	padding: 14px 16px 14px 18px;
}

.ct-lj .ct-lj__tip span {
	color: var(--ct-lj-muted);
	font-size: 12px;
}

/* running total */

.ct-lj .ct-lj__total {
	align-items: center;
	border: 1px solid var(--ct-lj-field);
	display: flex;
	gap: 16px;
	justify-content: space-between;
	margin: 0 0 28px;
	padding: 14px 16px;
}

.ct-lj .ct-lj__total small {
	color: var(--ct-lj-muted);
	display: block;
	font-size: 11px;
}

.ct-lj .ct-lj__total strong {
	font-size: 14px;
}

.ct-lj .ct-lj__total-amount {
	font-size: 24px;
	font-weight: 700;
}

/* next / actions */

.ct-lj .ct-lj__next {
	background: var(--ct-lj-cream);
	border-top: 1px solid var(--ct-lj-line);
	margin: 0 -40px;
	padding: 28px 40px 32px;
}

.ct-lj .ct-lj__next .ct-lj__h3 {
	font-size: 17px;
	font-weight: 700;
	margin-top: 0;
}

.ct-lj .ct-lj__actions {
	display: grid;
	gap: 10px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin-bottom: 14px;
}

.ct-lj .ct-lj__btn,
.ct-lj button.ct-lj__btn,
.ct-lj a.ct-lj__btn {
	align-items: center;
	background: #fff;
	border: 1px solid var(--ct-lj-field);
	border-radius: 0;
	box-shadow: none;
	color: var(--ct-lj-ink);
	cursor: pointer;
	display: inline-flex;
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	gap: 8px;
	justify-content: center;
	line-height: 1.2;
	min-height: 48px;
	padding: 12px 20px;
	text-decoration: none;
	text-transform: none;
}

.ct-lj .ct-lj__btn--small,
.ct-lj button.ct-lj__btn--small {
	font-size: 13px;
	font-weight: 400;
	min-height: 0;
	padding: 6px 10px;
}

.ct-lj .ct-lj__btn--muted,
.ct-lj button.ct-lj__btn--muted {
	color: var(--ct-lj-muted);
}

.ct-lj .ct-lj__btn--dark,
.ct-lj button.ct-lj__btn--dark,
.ct-lj a.ct-lj__btn--dark {
	background: var(--ct-lj-dark);
	border-color: var(--ct-lj-dark);
	color: #fff;
}

.ct-lj .ct-lj__btn--gold,
.ct-lj button.ct-lj__btn--gold,
.ct-lj a.ct-lj__btn--gold {
	background: var(--ct-lj-gold);
	border-color: var(--ct-lj-gold);
	color: var(--ct-lj-ink);
}

.ct-lj .ct-lj__btn:hover:not(:disabled) {
	filter: brightness(0.95);
}

/* link buttons keep their text colour on hover/focus (the kit's link hover colour is the button gold) */
.ct-lj a.ct-lj__btn:hover,
.ct-lj a.ct-lj__btn:focus {
	color: var(--ct-lj-ink);
	text-decoration: none;
}

.ct-lj a.ct-lj__btn--dark:hover,
.ct-lj a.ct-lj__btn--dark:focus {
	color: #fff;
}

.ct-lj .ct-lj__btn:disabled {
	cursor: not-allowed;
	opacity: 0.45;
}

/* review step */

.ct-lj .ct-lj__review {
	border: 1px solid var(--ct-lj-field);
	margin: 0 0 18px;
	padding: 22px 24px;
}

.ct-lj .ct-lj__review p {
	margin: 0;
}

.ct-lj .ct-lj__review-title {
	font-family: Montserrat, sans-serif;
	font-size: 18px;
	font-weight: 500;
	margin: 0 0 4px;
}

.ct-lj .ct-lj__review-meta {
	color: var(--ct-lj-muted);
	font-size: 14px;
}

.ct-lj .ct-lj__review .ct-lj__review-desc {
	margin: 14px 0;
}

.ct-lj .ct-lj__review-foot {
	align-items: center;
	display: flex;
	gap: 12px;
	justify-content: space-between;
	margin-top: 14px;
}

.ct-lj .ct-lj__review-foot span {
	display: flex;
	gap: 8px;
}

.ct-lj .ct-lj__review--seller {
	align-items: center;
	display: flex;
	gap: 16px;
	justify-content: space-between;
}

.ct-lj .ct-lj__review-label {
	color: var(--ct-lj-muted);
	font-size: 12px;
}

.ct-lj .ct-lj__review .ct-lj__review-name {
	font-weight: 700;
	margin: 4px 0;
}

.ct-lj .ct-lj__check {
	align-items: flex-start;
	cursor: pointer;
	display: flex;
	font-size: 14px;
	gap: 10px;
}

.ct-lj .ct-lj__check input {
	flex: 0 0 auto;
	height: 18px;
	margin: 2px 0 0;
	width: 18px;
}

.ct-lj .ct-lj__confirm {
	margin: 0 0 24px;
}

.ct-lj .ct-lj__confirm.has-error {
	color: var(--ct-lj-error);
}

.ct-lj .ct-lj__order {
	background: var(--ct-lj-cream);
	border: 1px solid var(--ct-lj-field);
	margin: 0 0 24px;
	padding: 24px;
}

.ct-lj .ct-lj__order .ct-lj__h3 {
	margin-top: 0;
}

.ct-lj .ct-lj__order-row {
	display: flex;
	gap: 16px;
	justify-content: space-between;
	padding: 8px 0;
}

.ct-lj .ct-lj__order-row span:last-child {
	font-weight: 700;
}

.ct-lj .ct-lj__order-total {
	border-top: 1px solid var(--ct-lj-line);
	font-weight: 700;
	margin-top: 8px;
	padding-top: 16px;
}

.ct-lj .ct-lj__order-total span:last-child {
	font-size: 26px;
}

.ct-lj .ct-lj__order-note {
	color: var(--ct-lj-muted);
	font-size: 13px;
	margin: 14px 0 0;
}

.ct-lj .ct-lj__btn--upper,
.ct-lj button.ct-lj__btn--upper {
	font-weight: 700;
	letter-spacing: 0.02em;
	padding-inline: 28px;
	text-transform: uppercase;
}

.ct-lj .ct-lj__footer {
	align-items: center;
	border-top: 1px solid var(--ct-lj-line);
	display: flex;
	gap: 12px;
	justify-content: space-between;
	margin: 12px -40px 0;
	padding: 20px 40px;
}

.ct-lj .ct-lj__back-link {
	color: var(--ct-lj-ink);
	font-size: 12px;
	text-decoration: underline;
}

.ct-lj .ct-lj__sr {
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	height: 1px;
	overflow: hidden;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}

/* ------------------------------------------------------------------ registration page (V3 design around UsersWP's form) */

.ct-reg .ct-reg__body {
	padding-bottom: 40px;
}

.ct-reg .ct-reg__login {
	align-items: center;
	background: var(--ct-lj-gold-tint);
	border: 1px solid var(--ct-lj-gold);
	display: flex;
	gap: 16px;
	justify-content: space-between;
	margin: 0 0 30px;
	padding: 22px 24px;
}

.ct-reg .ct-reg__login p {
	color: var(--ct-lj-muted);
	font-size: 14px;
	margin: 0;
}

.ct-reg .ct-reg__login .ct-reg__login-title {
	color: var(--ct-lj-ink);
	font-size: 18px;
	font-weight: 700;
	margin-bottom: 4px;
}

.ct-reg .ct-reg__login .ct-lj__btn {
	flex: none;
	min-width: 150px;
	text-transform: uppercase;
}

/* UsersWP's wrapper: no card of its own inside ours */
.ct-reg .uwp_widgets .row {
	margin: 0;
}

.ct-reg .uwp_widgets .card,
.ct-reg .uwp_widgets .card-body {
	background: none;
	border: 0;
	box-shadow: none;
	margin: 0;
	max-width: none;
	padding: 0;
}

.ct-reg .uwp-footer-links {
	display: none; /* "Login" link: the "Already registered?" box replaces it */
}

.ct-reg .uwp_form .mb-3 {
	margin-bottom: 22px !important; /* AyeCode UI: .bsui .mb-3 { margin-bottom: 1rem !important } */
}

/* labels above the fields, as in the design (UsersWP hides them and repeats them as placeholders) */
.ct-reg .uwp_form label.visually-hidden {
	clip: auto !important;
	color: var(--ct-lj-ink);
	display: block;
	font-size: 13px;
	font-weight: 700;
	height: auto !important;
	margin: 0 0 8px !important;
	overflow: visible !important;
	padding: 0 !important;
	position: static !important;
	white-space: normal !important;
	width: auto !important;
}

.ct-reg .uwp_form label .text-danger {
	color: var(--ct-lj-gold-dark) !important;
}

.ct-reg .uwp_form .form-control::placeholder {
	color: transparent;
}

.ct-reg .uwp_form .form-control {
	background-color: #fff;
	border: 1px solid var(--ct-lj-field);
	border-radius: 0;
	box-shadow: none;
	color: var(--ct-lj-ink);
	font-family: inherit;
	font-size: 15px;
	line-height: 1.4;
	min-height: 46px;
	padding: 10px 12px;
}

.ct-reg .uwp_form textarea.form-control {
	min-height: 110px;
}

.ct-reg .uwp_form .form-control:focus {
	border-color: var(--ct-lj-gold);
	box-shadow: 0 0 0 2px rgba(217, 143, 0, 0.2);
	outline: none;
}

.ct-reg .uwp_form .input-group > .form-control {
	border-radius: 0;
}

.ct-reg .uwp_form .input-group-text {
	background: #fff;
	border: 1px solid var(--ct-lj-field);
	border-left: 0;
	border-radius: 0;
	color: var(--ct-lj-muted);
}

.ct-reg .uwp_form .select2-container--bootstrap-5 .select2-selection {
	border: 1px solid var(--ct-lj-field);
	border-radius: 0;
	box-shadow: none;
	font-family: inherit;
	font-size: 15px;
	min-height: 46px;
	padding: 10px 3.5rem 10px 12px; /* right: room for the clear button and the arrow */
}

.ct-reg .uwp_form .select2-container--bootstrap-5.select2-container--focus .select2-selection,
.ct-reg .uwp_form .select2-container--bootstrap-5.select2-container--open .select2-selection {
	border-color: var(--ct-lj-gold);
	box-shadow: 0 0 0 2px rgba(217, 143, 0, 0.2);
}

/* "I agree to the terms and privacy policy" */
.ct-reg .uwp_form .ct-reg__terms {
	align-items: flex-start;
	display: flex;
	gap: 10px;
	padding-left: 0;
}

.ct-reg .uwp_form .ct-reg__terms .form-check-input {
	border: 1px solid var(--ct-lj-field);
	border-radius: 0;
	flex: 0 0 auto;
	float: none;
	height: 22px;
	margin: 1px 0 0;
	width: 22px;
}

.ct-reg .uwp_form .ct-reg__terms .form-check-input:checked {
	background-color: var(--ct-lj-gold);
	border-color: var(--ct-lj-gold);
}

.ct-reg .uwp_form .ct-reg__terms .form-check-input:focus {
	border-color: var(--ct-lj-gold);
	box-shadow: 0 0 0 2px rgba(217, 143, 0, 0.2);
}

.ct-reg .uwp_form .ct-reg__terms .form-check-label {
	color: var(--ct-lj-ink);
	font-size: 14px;
	line-height: 1.5;
}

.ct-reg .uwp_form .ct-reg__terms .form-check-label a {
	color: var(--ct-lj-ink);
	text-decoration: underline;
}

.ct-reg .uwp_form .btn.uwp_register_submit {
	/* Bootstrap 5 colours buttons through these variables (its hover text is white) */
	--bs-btn-color: var(--ct-lj-ink);
	--bs-btn-bg: var(--ct-lj-gold);
	--bs-btn-border-color: var(--ct-lj-gold);
	--bs-btn-hover-color: var(--ct-lj-ink);
	--bs-btn-hover-bg: var(--ct-lj-gold);
	--bs-btn-hover-border-color: var(--ct-lj-gold);
	--bs-btn-active-color: var(--ct-lj-ink);
	--bs-btn-active-bg: var(--ct-lj-gold);
	--bs-btn-active-border-color: var(--ct-lj-gold);
	background: var(--ct-lj-gold);
	border: 1px solid var(--ct-lj-gold);
	border-radius: 0;
	box-shadow: none;
	color: var(--ct-lj-ink);
	font-family: inherit;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.02em;
	line-height: 1.2;
	min-height: 54px;
	padding: 14px 20px;
	width: 100%;
}

/* AyeCode UI forces white text on these states: .bsui .btn-primary:hover/:focus/:active { color: #fff !important } */
.ct-reg .uwp_form .btn.uwp_register_submit:hover,
.ct-reg .uwp_form .btn.uwp_register_submit:focus,
.ct-reg .uwp_form .btn.uwp_register_submit:active {
	background: var(--ct-lj-gold);
	border-color: var(--ct-lj-gold);
	box-shadow: none;
	color: var(--ct-lj-ink) !important;
	filter: brightness(0.95);
}

.ct-reg .uwp_form .btn.uwp_register_submit:focus-visible {
	outline: 2px solid var(--ct-lj-ink);
	outline-offset: 2px;
}

.ct-reg .ct-lj__back-link {
	display: inline-block;
	font-size: 13px;
	margin-top: 22px;
}

/* ------------------------------------------------------------------ narrow screens (site tablet breakpoint is 1250px) */

@media (max-width: 1024px) {
	.ct-lj {
		gap: 32px;
		grid-template-columns: minmax(0, 1fr);
		padding: 48px 16px 72px;
	}

	.ct-lj .ct-lj__intro {
		padding-top: 0;
	}
}

@media (max-width: 640px) {
	.ct-lj .ct-lj__head {
		padding: 20px 20px 18px;
	}

	.ct-lj .ct-lj__steps li {
		font-size: 0; /* numbers only */
	}

	.ct-lj .ct-lj__steps li.is-current {
		font-size: 12px;
	}

	.ct-lj .ct-lj__body {
		padding: 28px 20px 0;
	}

	.ct-lj .ct-lj__next,
	.ct-lj .ct-lj__footer {
		margin-inline: -20px;
		padding-inline: 20px;
	}

	.ct-lj .ct-lj__review,
	.ct-lj .ct-lj__order {
		padding: 18px 16px;
	}

	.ct-lj .ct-lj__review-foot,
	.ct-lj .ct-lj__review--seller {
		align-items: flex-start;
		flex-direction: column;
	}

	.ct-lj .ct-lj__grid,
	.ct-lj .ct-lj__specs-body,
	.ct-lj .ct-lj__actions {
		grid-template-columns: minmax(0, 1fr);
	}

	.ct-reg .ct-reg__body {
		padding-bottom: 28px;
	}

	.ct-reg .ct-reg__login {
		align-items: stretch;
		flex-direction: column;
		padding: 18px 16px;
	}
}

/* ------------------------------------------------------------------ mobile pass (TCT-9869) */

@media (max-width: 1024px) {
	/* 16px or more stops iOS Safari zooming the page when a field gets focus. */
	.ct-lj input[type="text"],
	.ct-lj input[type="url"],
	.ct-lj input[type="email"],
	.ct-lj input[type="tel"],
	.ct-lj select,
	.ct-lj textarea {
		font-size: 16px;
		scroll-margin-block: 110px;
	}

	.ct-lj .ct-lj__btn--small,
	.ct-lj button.ct-lj__btn--small,
	.ct-lj .ct-lj__tab,
	.ct-lj button.ct-lj__tab {
		min-height: 44px;
	}

	.ct-lj .ct-lj__btn--small,
	.ct-lj button.ct-lj__btn--small {
		font-size: 14px;
		padding: 10px 14px;
	}

	.ct-lj .ct-lj__back-link {
		align-items: center;
		display: inline-flex;
		font-size: 14px;
		min-height: 44px;
	}

	/* Safari ignores min-height on a select: give it a real height. */
	.ct-lj select {
		height: 46px;
	}

	/* A link inside a sentence ("Pay now"): bigger tap area, same line height. */
	.ct-lj .ct-lj__msg a {
		display: inline-block;
		margin-block: -13px;
		padding-block: 13px;
	}

	.ct-lj .ct-lj__check {
		align-items: center;
		min-height: 44px;
	}

	.ct-lj .ct-lj__check input {
		height: 22px;
		margin: 0;
		width: 22px;
	}

	.ct-lj .ct-lj__thumbs button {
		height: 36px;
		right: 0;
		top: 0;
		width: 36px;
	}
}

@media (max-width: 640px) {
	.ct-lj {
		gap: 20px;
		padding: 24px 16px 40px;
	}

	.ct-lj .ct-lj__title {
		font-size: 28px;
		margin-bottom: 12px;
	}

	.ct-lj .ct-lj__lead {
		font-size: 15px;
		margin-bottom: 16px;
	}

	/* The help box is one line here so the form starts higher up the screen. */
	.ct-lj .ct-lj__help {
		align-items: baseline;
		display: flex;
		flex-wrap: wrap;
		gap: 2px 12px;
		padding: 12px 16px;
	}

	.ct-lj .ct-lj__help p:not(.ct-lj__help-title) {
		display: none;
	}

	.ct-lj .ct-lj__help .ct-lj__help-title {
		margin: 0;
	}

	.ct-lj .ct-lj__help a {
		align-items: center;
		display: inline-flex;
		min-height: 44px;
	}

	/* Step numbers only: the step name is already in the header row above. */
	.ct-lj .ct-lj__count {
		white-space: nowrap;
	}

	.ct-lj .ct-lj__steps li,
	.ct-lj .ct-lj__steps li.is-current {
		font-size: 0;
		justify-content: center;
	}

	.ct-lj .ct-lj__tabs-bar > span {
		flex: 1 1 100%;
		flex-wrap: wrap;
	}

	.ct-lj .ct-lj__tabs-bar > span > .ct-lj__btn {
		flex: 1 1 140px;
		min-width: 0;
	}

	.ct-lj .ct-lj__packages > label.ct-lj__package {
		flex: 1 1 100%;
		min-height: 52px;
	}

	.ct-lj .ct-lj__checks {
		display: grid;
		gap: 0 16px;
		grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	}

	.ct-lj .ct-lj__checks label {
		align-items: center;
		display: flex;
		font-size: 15px;
		gap: 10px;
		min-height: 44px;
	}

	.ct-lj .ct-lj__checks input {
		flex: 0 0 auto;
		height: 22px;
		margin: 0;
		width: 22px;
	}

	/* Photos: a real button instead of a drop zone and a small underlined link. */
	.ct-lj .ct-lj__drop {
		padding: 18px 16px;
	}

	.ct-lj .ct-lj__drop > strong,
	.ct-lj .ct-lj__drop-icon {
		display: none;
	}

	.ct-lj .ct-lj__drop > span {
		font-size: 0;
		width: 100%;
	}

	.ct-lj .ct-lj__drop .ct-lj__link {
		background: var(--ct-lj-gold);
		color: var(--ct-lj-ink);
		display: block;
		font-size: 16px;
		font-weight: 700;
		min-height: 52px;
		padding: 14px 20px;
		text-align: center;
		text-decoration: none;
	}

	.ct-lj .ct-lj__drop .ct-lj__link::first-letter {
		text-transform: uppercase;
	}

	/* Save & continue stays on screen at the bottom of steps 2 and 3. */
	.ct-lj .ct-lj__footer {
		background: #fff;
		bottom: 0;
		box-shadow: 0 -6px 16px rgba(0, 0, 0, 0.08);
		flex-wrap: nowrap;
		gap: 8px;
		margin-top: 12px;
		padding-block: 10px calc(10px + env(safe-area-inset-bottom, 0px));
		position: sticky;
		z-index: 5;
	}

	.ct-lj .ct-lj__footer .ct-lj__btn {
		flex: 1 1 auto;
		min-width: 0;
		padding-inline: 12px;
	}

	.ct-lj .ct-lj__footer .ct-lj__back-link {
		flex: 0 0 auto;
	}
}

@media (max-width: 1024px) {
	.ct-lj .ct-lj__card,
	.ct-lj .ct-lj__msg,
	.ct-lj .ct-lj__field.has-error {
		scroll-margin-top: 16px;
	}
}

/* The site's fixed "back to top" tab sits over the right end of the sticky Save & continue bar on a phone. */
@media (max-width: 640px) {
	body:has(.ct-lj) a.back-to-top {
		display: none;
	}
}

/* Register page: 16px fields on a phone, so iPhone Safari does not zoom in when one is tapped. */
@media (max-width: 640px) {
	.ct-reg .uwp_form .form-control,
	.ct-reg .uwp_form .select2-container--bootstrap-5 .select2-selection,
	.ct-reg .uwp_form .select2-container--bootstrap-5 .select2-selection__rendered {
		font-size: 16px;
	}
}
