/*
 * Twist Trade Samples: the sample request section on the trade site.
 * .tts-section (the Elementor section), .tts-intro (left column), .tts-form-col (right column),
 * .tts-form (the Contact Form 7 template). Square corners throughout (Twist rule).
 */

.tts-section,
.tts-form {
	--tts-ink: #050300;
	--tts-ink-2: #5f5f5a;
	--tts-line: #c9c9c4;
	--tts-field-line: #949490;
	--tts-rule: #e2e2de;
	--tts-bar: #f2f2f0;
	--tts-blue: #4dbbe6;
	--tts-blue-ink: #2d93b3;
	--tts-red: #ae434d;
	--tts-font: "HelveticaNeueLTCom", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* ---------- Left column: Try before you stock ---------- */

.tts-intro .tts-intro-title .elementor-heading-title {
	margin: 0;
	font-family: var(--tts-font);
	font-size: clamp(34px, 3.2vw, 60px);
	font-weight: 500;
	line-height: 1.04;
	letter-spacing: -0.03em;
	color: var(--tts-ink);
	text-transform: none;
	text-wrap: balance;
}

.tts-intro .tts-intro-sub .elementor-heading-title {
	margin: 0;
	font-family: var(--tts-font);
	font-size: clamp(19px, 1.5vw, 27px);
	font-weight: 400;
	line-height: 1.3;
	letter-spacing: -0.01em;
	color: var(--tts-ink);
	text-transform: none;
}

.tts-intro .tts-intro-sub {
	margin-top: 12px;
}

.tts-intro .tts-intro-image {
	margin-top: 28px;
}

.tts-intro .tts-intro-image img {
	display: block;
	width: 100%;
	height: auto;
}

.tts-trusted {
	margin-top: 28px;
	padding: 24px 0 30px;
	border-top: 2px solid var(--tts-blue);
	border-bottom: 2px solid var(--tts-blue);
	font-family: var(--tts-font);
}

.tts-trusted h3 {
	margin: 0 0 20px;
	font-family: var(--tts-font);
	font-size: 26px;
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: -0.01em;
	color: var(--tts-ink);
	text-transform: none;
}

.tts-trusted ul {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	align-items: center;
	justify-items: center;
	gap: 30px 18px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.tts-trusted li {
	display: flex;
	justify-content: center;
	width: 100%;
	margin: 0;
	padding: 0;
}

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

.tts-quote {
	margin: 26px 0 0;
	padding: 0;
	border: 0;
	font-family: var(--tts-font);
	color: var(--tts-ink);
}

.tts-quote::before {
	content: "\201C";
	display: block;
	height: 34px;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 64px;
	font-weight: 700;
	line-height: 1;
	color: var(--tts-blue);
}

.tts-quote blockquote {
	margin: 0;
	padding: 0;
	border: 0;
	font-style: normal;
}

.tts-quote blockquote p,
.tts-quote figcaption,
.tts-quote figcaption strong {
	font-family: var(--tts-font);
}

.tts-quote blockquote p {
	font-style: italic;
	margin: 0 0 14px;
	font-size: 17px;
	font-weight: 400;
	line-height: 1.5;
	color: var(--tts-ink);
}

.tts-quote figcaption {
	margin-top: 16px;
	font-size: 16px;
	line-height: 1.45;
	color: var(--tts-ink);
}

.tts-quote figcaption strong {
	display: block;
	font-weight: 500;
}

/* ---------- Right column divider ---------- */

@media (min-width: 768px) {
	.tts-section .tts-form-col {
		border-left: 1px solid var(--tts-rule);
	}
}

@media (max-width: 767px) {
	/* Phones: the form comes first (the page's "Request samples" buttons land here), the trust panel after it. */
	.tts-section .tts-form-col {
		order: -1;
	}

	.tts-section .tts-intro {
		margin-top: 44px;
		padding-top: 40px;
		border-top: 1px solid var(--tts-rule);
	}
}

/* ---------- The form ---------- */

.tts-form {
	font-family: var(--tts-font);
	font-size: 15px;
	font-weight: 400;
	line-height: 1.45;
	color: var(--tts-ink);
	-webkit-font-smoothing: antialiased;
}

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

.tts-form [hidden] {
	display: none !important;
}

/* The theme sets its own font on paragraphs, list items and links; keep the form in the brand face. */
.tts-form p,
.tts-form li,
.tts-form span,
.tts-form a,
.tts-form label,
.tts-form legend,
.tts-form button,
.tts-form input,
.tts-form select,
.tts-form textarea {
	font-family: var(--tts-font);
}

.tts-form .tts-sr {
	display: block !important;
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.tts-form .tts-head {
	margin: 0 0 20px;
}

.tts-form .tts-title {
	margin: 0;
	font-family: var(--tts-font);
	font-size: clamp(34px, 3.2vw, 60px);
	font-weight: 500;
	line-height: 1.04;
	letter-spacing: -0.03em;
	color: var(--tts-ink);
	text-transform: none;
	text-wrap: balance;
}

.tts-form .tts-lead {
	margin: 12px 0 0;
	font-size: clamp(18px, 1.4vw, 25px);
	font-weight: 400;
	line-height: 1.3;
	letter-spacing: -0.01em;
	color: var(--tts-ink);
}

.tts-form .tts-perks {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	margin: 0 0 22px;
	padding: 12px 18px;
	list-style: none;
	background: var(--tts-bar);
}

.tts-form .tts-perks li {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0;
	padding: 2px 24px;
	font-size: 14px;
	line-height: 1.3;
	color: var(--tts-ink);
}

.tts-form .tts-perks li:first-child {
	padding-left: 6px;
}

.tts-form .tts-perks li + li {
	border-left: 1px solid #b9b9b3;
}

.tts-form .tts-icon {
	display: block;
	flex: none;
	width: 24px;
	height: 24px;
	background: var(--tts-ink);
	-webkit-mask: var(--tts-icon) no-repeat center / contain;
	mask: var(--tts-icon) no-repeat center / contain;
}

.tts-form .tts-icon--truck {
	--tts-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linejoin='round' stroke-linecap='round'%3E%3Cpath d='M4.3 15.5H1.8V5.2h11.4v10.3'/%3E%3Cpath d='M13.2 8.6h4.3l3.7 3.9v3h-1.9'/%3E%3Cpath d='M8.3 15.5h6.9'/%3E%3Ccircle cx='6.3' cy='17.4' r='1.9'/%3E%3Ccircle cx='17.2' cy='17.4' r='1.9'/%3E%3C/svg%3E");
}

.tts-form .tts-icon--calendar {
	--tts-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linejoin='round' stroke-linecap='round'%3E%3Cpath d='M3.5 5.5h17v15h-17z'/%3E%3Cpath d='M3.5 10h17M8 3.2v4.4M16 3.2v4.4'/%3E%3C/svg%3E");
}

/* Fields */

.tts-form .tts-field {
	margin: 0 0 14px;
}

.tts-form label,
.tts-form .tts-group-title {
	display: block;
	margin: 0 0 6px;
	padding: 0;
	font-family: var(--tts-font);
	font-size: 15px;
	font-weight: 500;
	line-height: 1.3;
	letter-spacing: 0;
	text-transform: none;
	color: var(--tts-ink);
}

.tts-form .tts-opt {
	font-weight: 400;
	color: var(--tts-ink-2);
}

.tts-form .wpcf7-form-control-wrap {
	display: block;
}

.tts-form input[type="text"],
.tts-form input[type="email"],
.tts-form input[type="tel"],
.tts-form select,
.tts-form textarea {
	display: block;
	width: 100%;
	max-width: 100%;
	height: 44px;
	margin: 0;
	padding: 9px 14px;
	font-family: var(--tts-font);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.4;
	color: var(--tts-ink);
	background: #fff;
	border: 1px solid var(--tts-field-line);
	border-radius: 0;
	box-shadow: none;
	transition: border-color 150ms, box-shadow 150ms;
}

.tts-form textarea {
	height: 56px;
	min-height: 56px;
	resize: vertical;
}

.tts-form select {
	padding-right: 40px;
	-webkit-appearance: none;
	appearance: none;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23050300' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 14px center / 12px 8px;
	cursor: pointer;
}

.tts-form input:focus,
.tts-form select:focus,
.tts-form textarea:focus {
	outline: none;
	border-color: var(--tts-ink);
	box-shadow: inset 0 0 0 1px var(--tts-ink);
}

.tts-form .tts-hint {
	margin: 5px 0 0;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.4;
	color: var(--tts-ink-2);
}

.tts-form .wpcf7-form-control.wpcf7-not-valid {
	border-color: var(--tts-red);
}

.tts-form .wpcf7-form-control.wpcf7-not-valid:focus {
	box-shadow: inset 0 0 0 1px var(--tts-red);
}

.tts-form .wpcf7-not-valid-tip {
	display: block;
	margin-top: 6px;
	font-size: 13px;
	font-weight: 400;
	color: var(--tts-red);
}

.tts-form .tts-row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 16px;
}

/* Groups */

.tts-form fieldset.tts-group {
	min-width: 0;
	margin: 20px 0 14px;
	padding: 0;
	border: 0;
}

.tts-form legend.tts-group-title {
	float: none;
	width: auto;
	margin: 0 0 10px;
	font-size: 20px;
	font-weight: 500;
	line-height: 1.25;
	letter-spacing: -0.01em;
}

/* Your samples: two cards */

.tts-form .tts-modes .wpcf7-radio {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.tts-form .tts-modes .wpcf7-radio .wpcf7-list-item {
	display: block;
	margin: 0;
}

.tts-form .tts-modes .wpcf7-radio .wpcf7-list-item label {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	margin: 0;
	padding: 12px 16px;
	font-weight: 400;
	background: #fff;
	border: 1px solid var(--tts-line);
	cursor: pointer;
	transition: border-color 150ms;
}

.tts-form .tts-modes .wpcf7-radio .wpcf7-list-item label:hover {
	border-color: #8b8b85;
}

.tts-form .tts-modes .wpcf7-radio .wpcf7-list-item label:has(input:checked) {
	border-color: #8b8b85;
}

.tts-form .tts-modes .wpcf7-radio .wpcf7-list-item input {
	flex: none;
	width: 20px;
	height: 20px;
	margin: 1px 0 0;
	-webkit-appearance: none;
	appearance: none;
	background: #fff;
	border: 1.5px solid #6b6b66;
	border-radius: 50%;
	cursor: pointer;
}

.tts-form .tts-modes .wpcf7-radio .wpcf7-list-item input:checked {
	border: 2px solid var(--tts-blue-ink);
	background: radial-gradient(circle, var(--tts-blue-ink) 0 4.5px, #fff 5px);
}

.tts-form .tts-modes .wpcf7-radio .wpcf7-list-item input:focus-visible {
	outline: 2px solid var(--tts-blue-ink);
	outline-offset: 3px;
}

.tts-form .tts-modes .wpcf7-radio .wpcf7-list-item-label {
	display: block;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.35;
	color: var(--tts-ink);
}

.tts-form .tts-modes .wpcf7-radio .wpcf7-list-item.first .wpcf7-list-item-label::after {
	content: "Our most popular blends. A great place to start.";
	display: block;
	margin-top: 3px;
	font-size: 14px;
	color: var(--tts-ink-2);
}

/* Choose my own selection: the tea picker */

.tts-form .tts-ranges {
	display: none;
	margin-top: 12px;
	padding: 18px;
	background: #fafaf8;
	border: 1px solid var(--tts-rule);
}

/* Two rules, not one list: a browser without :has() would drop the whole list, fallback included. */
.tts-form .tts-ranges.is-open {
	display: block;
}

.tts-form .tts-modes:has(.wpcf7-radio .wpcf7-list-item.last input:checked) .tts-ranges {
	display: block;
}

.tts-form .tts-ranges-head {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
	margin-bottom: 14px;
}

.tts-form .tts-ranges-title {
	font-size: 15px;
	font-weight: 500;
}

.tts-form .tts-range-count {
	font-size: 13px;
	color: var(--tts-ink-2);
	white-space: nowrap;
}

.tts-form .tts-ranges .wpcf7-checkbox {
	--twist-t: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 121'%3E%3Cg fill-rule='evenodd'%3E%3Cpath d='M 39.648 88.352 C 30.77 88.02 26.672 83.801 26.672 78.465 L 26.672 60.848 C 26.672 55.508 31.078 51.145 36.457 51.145 L 39.879 51.156 L 39.871 44.98 L 64.004 44.988 L 64.004 27.902 L 39.844 27.902 L 39.844 0.004 L 15.023 0.004 L 15.023 27.902 L 0 27.902 L 0 44.988 L 15.023 44.988 L 15.023 88.227 C 15.109 109.254 27.141 121 52.926 121 L 64.004 121 L 64.004 100.539 L 52.926 100.539 C 42.773 100.539 39.648 95.312 39.648 88.352 Z'/%3E%3Cpath d='M 39.648 57.238 C 36.211 57.238 33.398 60.031 33.398 63.445 L 33.398 76.176 C 33.398 79.59 36.211 82.383 39.648 82.383 L 39.902 82.383 L 39.902 57.238 L 39.648 57.238 Z'/%3E%3C/g%3E%3C/svg%3E");
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 10px;
}

.tts-form .tts-ranges .wpcf7-list-item {
	margin: 0;
}

.tts-form .tts-ranges .wpcf7-list-item label {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	height: 100%;
	min-height: 104px;
	margin: 0;
	padding: 16px 0 0;
	text-align: center;
	background: #fff;
	border: 1px solid var(--tts-line);
	cursor: pointer;
	transition: border-color 150ms;
}

.tts-form .tts-ranges .wpcf7-list-item label::before {
	content: "";
	display: block;
	flex: none;
	width: 26px;
	height: 48px;
	background-color: var(--rangecol, var(--tts-ink));
	-webkit-mask: var(--twist-t) no-repeat center / contain;
	mask: var(--twist-t) no-repeat center / contain;
}

.tts-form .tts-ranges .wpcf7-list-item label:hover {
	border-color: var(--tts-ink);
}

.tts-form .tts-ranges .wpcf7-list-item input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
}

.tts-form .tts-ranges .wpcf7-list-item-label {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 38px;
	margin-top: auto;
	padding: 6px 4px;
	font-size: 11px;
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.tts-form .tts-ranges .wpcf7-list-item label.is-checked {
	border-color: var(--tts-ink);
	box-shadow: inset 0 0 0 1px var(--tts-ink);
}

.tts-form .tts-ranges .wpcf7-list-item label.is-checked .wpcf7-list-item-label {
	color: #fff;
	background: var(--tts-ink);
}

.tts-form .tts-ranges .wpcf7-list-item label.is-checked::after {
	content: "\2713";
	position: absolute;
	top: 5px;
	right: 7px;
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
	color: var(--tts-ink);
}

.tts-form .tts-ranges .wpcf7-list-item input:focus-visible + .wpcf7-list-item-label {
	outline: 2px solid var(--tts-blue-ink);
	outline-offset: 2px;
}

.tts-form .tts-ranges .wpcf7-list-item label:has(input:focus-visible) {
	outline: 2px solid var(--tts-blue-ink);
	outline-offset: 2px;
}

.tts-form .tts-ranges .wpcf7-list-item:nth-child(1) { --rangecol: #7c6659; }
.tts-form .tts-ranges .wpcf7-list-item:nth-child(2) { --rangecol: #c8db85; }
.tts-form .tts-ranges .wpcf7-list-item:nth-child(3) { --rangecol: #ae434d; }
.tts-form .tts-ranges .wpcf7-list-item:nth-child(4) { --rangecol: #8cc68d; }
.tts-form .tts-ranges .wpcf7-list-item:nth-child(5) { --rangecol: #e94f1a; }
.tts-form .tts-ranges .wpcf7-list-item:nth-child(6) { --rangecol: #f7768c; }
.tts-form .tts-ranges .wpcf7-list-item:nth-child(7) { --rangecol: #dbca9f; }
.tts-form .tts-ranges .wpcf7-list-item:nth-child(8) { --rangecol: #93934f; }
.tts-form .tts-ranges .wpcf7-list-item:nth-child(9) { --rangecol: #c28a3f; }
.tts-form .tts-ranges .wpcf7-list-item:nth-child(10) { --rangecol: #5fa8c9; }

/* Delivery address: postcode lookup */

.tts-form .tts-postcode {
	margin-bottom: 0;
}

.tts-form .tts-postcode-row {
	display: flex;
	gap: 14px;
}

/* The postcode box takes the whole row until the Find address button is shown (it is hidden without a key). */
.tts-form .tts-postcode-row .wpcf7-form-control-wrap {
	flex: 1.45 1 0;
	min-width: 0;
}

.tts-form .tts-postcode-row .tts-find {
	flex: 1 1 0;
	min-width: max-content;
	width: auto;
}

.tts-form .tts-find,
.tts-form .tts-submit input[type="submit"] {
	display: block;
	width: 100%;
	margin: 0;
	padding: 0 16px;
	font-family: var(--tts-font);
	font-weight: 500;
	letter-spacing: 0;
	text-transform: none;
	color: #fff;
	background: var(--tts-ink);
	border: 0;
	border-radius: 0;
	box-shadow: none;
	cursor: pointer;
	transition: background-color 150ms;
}

.tts-form .tts-find {
	height: 44px;
	padding: 0 18px;
	font-size: 15px;
	line-height: 1.2;
	white-space: nowrap;
}

.tts-form .tts-find:hover,
.tts-form .tts-submit input[type="submit"]:hover {
	background: #33312d;
}

.tts-form .tts-find[aria-disabled="true"] {
	opacity: 0.65;
	cursor: progress;
}

.tts-form .tts-find:focus-visible,
.tts-form .tts-manual:focus-visible,
.tts-form .tts-submit input[type="submit"]:focus-visible,
.tts-form .tts-foot a:focus-visible {
	outline: 3px solid var(--tts-blue-ink);
	outline-offset: 2px;
}

/* Postcode suggestions while typing. */
.tts-form .tts-postcode-row {
	position: relative;
}

.tts-form .tts-suggest {
	position: absolute;
	z-index: 30;
	top: calc(100% + 4px);
	left: 0;
	right: 0;
	max-height: 320px;
	margin: 0;
	padding: 4px 0;
	overflow-y: auto;
	list-style: none;
	background: #fff;
	border: 1px solid var(--tts-ink);
	box-shadow: 0 10px 24px rgba(5, 3, 0, 0.12);
}

.tts-form .tts-suggest li {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 2px 12px;
	margin: 0;
	padding: 10px 14px;
	font-size: 15px;
	line-height: 1.3;
	color: var(--tts-ink);
	cursor: pointer;
}

.tts-form .tts-suggest li strong {
	font-weight: 500;
	white-space: nowrap;
}

.tts-form .tts-suggest li span {
	font-size: 13px;
	color: var(--tts-ink-2);
}

.tts-form .tts-suggest li:hover,
.tts-form .tts-suggest li.is-active {
	background: var(--tts-bar);
}

.tts-form .tts-lookup-msg {
	margin: 8px 0 0;
	font-size: 14px;
	line-height: 1.4;
	color: var(--tts-ink-2);
}

/* Kept in the page when empty (no display:none) so screen readers announce messages as they appear. */
.tts-form .tts-lookup-msg:empty {
	margin: 0;
}

.tts-form .tts-lookup-msg.is-error {
	color: var(--tts-red);
}

.tts-form .tts-pick {
	margin-top: 12px;
}

.tts-form .tts-manual {
	display: inline-block;
	margin: 10px 0 0;
	padding: 0;
	font-family: var(--tts-font);
	font-size: 14px;
	font-weight: 400;
	line-height: 1.4;
	letter-spacing: 0;
	text-transform: none;
	text-decoration: underline;
	text-underline-offset: 2px;
	color: var(--tts-ink);
	background: none;
	border: 0;
	cursor: pointer;
}

.tts-form .tts-manual:hover {
	color: var(--tts-blue-ink);
}

.tts-form .tts-address-fields {
	margin-top: 14px;
}

.tts-form .tts-address-fields.is-collapsed {
	display: none;
}

.tts-form .tts-address-fields .tts-field:last-child,
.tts-form .tts-address-fields .tts-row .tts-field {
	margin-bottom: 0;
}

.tts-form .tts-address-fields .tts-row {
	margin-bottom: 0;
}

/* Comments, submit, footer */

.tts-form .tts-comments {
	margin-top: 20px;
}

.tts-form .tts-submit {
	position: relative;
	margin-top: 20px;
}

.tts-form .tts-submit input[type="submit"] {
	height: 52px;
	font-size: 18px;
	line-height: 52px;
}

.tts-form .tts-submit .wpcf7-spinner {
	display: block;
	margin: 12px auto 0;
}

.wpcf7-form:not(.submitting) .tts-form .tts-submit .wpcf7-spinner {
	display: none;
}

.tts-form .tts-foot {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 6px 20px;
	margin-top: 12px;
	font-size: 13px;
	line-height: 1.4;
	color: var(--tts-ink-2);
}

.tts-form .tts-foot a {
	color: var(--tts-ink);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.tts-form ~ .wpcf7-response-output {
	margin: 16px 0 0 !important;
	padding: 12px 14px !important;
	font-family: var(--tts-font);
	font-size: 14px;
	line-height: 1.4;
	border-width: 1px !important;
}

/* Responsive and tap-target fixes from the 28 Sep QA pass (tested at 320-1920px). */

/* 1. Perks bar: stack by the form's own width, not the viewport (on the live page the form column is ~520px wide at 1200-1679px). */
.tts-form {
	container: tts-form / inline-size;
}

@container tts-form (max-width: 599px) {
	.tts-form .tts-perks {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
		padding: 14px 16px;
	}

	.tts-form .tts-perks li,
	.tts-form .tts-perks li:first-child {
		padding: 0;
	}

	.tts-form .tts-perks li + li {
		border-left: 0;
	}
}

/* 2. Address picker: ellipsis instead of a hard cut mid-word. */
.tts-form select {
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

/* 3. Submit label clips at 320px. */
@media (max-width: 359px) {
	.tts-form .tts-submit input[type="submit"] {
		padding: 0 12px;
		font-size: 16px;
	}
}

/* 4. Tap targets. */
.tts-form .tts-manual {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	margin: 0;
}

.tts-form .tts-foot a {
	display: inline-block;
	padding: 14px 0;
	margin: -14px 0;
}

/* 5. Tea tile labels: 12px minimum. */
.tts-form .tts-ranges .wpcf7-list-item-label {
	font-size: 12px;
	letter-spacing: 0.06em;
}

/* 6. Response box in brand red rather than CF7 yellow. */
.wpcf7 form.invalid .tts-form ~ .wpcf7-response-output,
.wpcf7 form.unaccepted .tts-form ~ .wpcf7-response-output,
.wpcf7 form.failed .tts-form ~ .wpcf7-response-output,
.wpcf7 form.spam .tts-form ~ .wpcf7-response-output {
	color: var(--tts-red, #ae434d);
	border-color: var(--tts-red, #ae434d);
}

/* 7. Nits: no one-word last lines. */
.tts-form .tts-lead,
.tts-form .tts-ranges-title {
	text-wrap: pretty;
}

/* 8. Logos: keep the tall marks (Queen's Club crest, Silver Palate) in proportion with the wide ones. */
.tts-trusted img {
	max-height: 88px;
	object-fit: contain;
}

/* Phones */

/* Ten teas: five across when there is room, otherwise two across (never a lone tile on its own row). */
@media (min-width: 768px) and (max-width: 1024px) {
	.tts-form .tts-ranges .wpcf7-checkbox {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.tts-intro .tts-intro-title .elementor-heading-title,
	.tts-form .tts-title {
		font-size: clamp(32px, 9vw, 40px);
	}

	.tts-trusted ul {
		gap: 24px 12px;
	}
}

@media (max-width: 560px) {
	.tts-form .tts-perks {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
		padding: 14px 16px;
	}

	.tts-form .tts-perks li,
	.tts-form .tts-perks li:first-child {
		padding: 0;
	}

	.tts-form .tts-perks li + li {
		border-left: 0;
	}

	.tts-form .tts-row {
		grid-template-columns: minmax(0, 1fr);
	}

	.tts-form .tts-address-fields .tts-row .tts-field:first-child {
		margin-bottom: 14px;
	}

	.tts-form .tts-ranges {
		padding: 14px;
	}

	.tts-form .tts-ranges .wpcf7-checkbox {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
	}

	.tts-form .tts-ranges .wpcf7-list-item label {
		min-height: 92px;
	}

	.tts-form .tts-foot {
		flex-direction: column;
	}
}

@media (prefers-reduced-motion: reduce) {
	.tts-form *,
	.tts-form *::before,
	.tts-form *::after {
		transition: none !important;
	}
}
