/* Twist Account 0.1.0: the My Account area (Tom's "Account" doc, 19 November 2026).
   The band, the menu on the left, the page on the right; Order History, Buy Again, My Details, Help; the sticky
   basket bar. Square corners everywhere (Twist rule). Self-contained: every rule sits under .twac so the theme's own
   styles are not changed anywhere else. */

.twac {
	--twac-ink: #111;
	--twac-text: #3a3a3a;
	--twac-muted: #666;
	--twac-blue: #4dbbe6;
	--twac-pale: #e9f3fc;
	--twac-line: #e6e6e6;
	--twac-soft: #f6f6f6;
	--twac-font: "Helvetica Neue", Helvetica, Arial, sans-serif;
	/* As wide as the site header's content (1280px), centred, with a gutter of its own on small screens. */
	max-width: 1300px;
	margin: 0 auto;
	padding: 0 10px;
	font-family: var(--twac-font);
	font-size: 16px;
	line-height: 1.5;
	color: var(--twac-text);
	text-align: left;
	letter-spacing: normal;
}

.twac *,
.twac *::before,
.twac *::after {
	box-sizing: border-box;
	border-radius: 0 !important;
}

.twac [hidden] {
	display: none !important;
}

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

/* ---------- The trail and the band ---------- */

.twac-crumb {
	margin: 0 0 10px;
	font-size: 12px;
	line-height: 1.4;
	color: var(--twac-muted);
}

.twac .twac-crumb a {
	color: var(--twac-muted);
	text-decoration: none;
}

.twac .twac-crumb a:hover,
.twac .twac-crumb a:focus {
	color: var(--twac-ink);
	text-decoration: underline;
}

.twac-crumb__sep {
	margin: 0 5px;
}

.twac-band {
	position: relative;
	margin: 0 0 40px;
	padding: 15px 0 17px;
}

/* The blue runs from the left edge of the window and fades to white before the right edge of the content, so it
   never makes the page wider than the window. */
.twac-band::before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	right: 0;
	left: calc(50% - 50vw);
	background: linear-gradient(90deg, #dcf1fb 0%, #e9f3fc 35%, #ffffff 100%);
}

.twac .twac-band__title {
	position: relative;
	margin: 0;
	font-family: var(--twac-font);
	font-size: 36px;
	font-weight: 300;
	line-height: 1.1;
	letter-spacing: -0.01em;
	color: var(--twac-ink);
}

/* ---------- Two columns ---------- */

.twac-cols {
	display: grid;
	grid-template-columns: 250px minmax(0, 1fr);
	gap: 52px;
	align-items: start;
}

/* The theme floats WooCommerce's account content at 75%; inside this layout it fills its column. */
.twac .twac-main,
.twac .twac-main.woocommerce-MyAccount-content {
	min-width: 0;
	width: auto;
	max-width: none;
	float: none;
	margin: 0;
	padding: 0;
}

/* ---------- The menu ---------- */

.twac .twac-nav {
	width: auto;
	float: none;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
}

.twac .twac-nav__toggle {
	display: none;
}

.twac .twac-nav__list {
	margin: 0;
	padding: 0;
	list-style: none;
	border: 0;
	border-top: 1px solid var(--twac-line);
}

.twac .twac-nav__item {
	margin: 0;
	padding: 0;
	border: 0;
	border-bottom: 1px solid var(--twac-line);
	list-style: none;
}

.twac .twac-nav__item::before,
.twac .twac-nav__item::after {
	content: none;
}

.twac .twac-nav__item a {
	display: block;
	padding: 12px 16px;
	font-family: var(--twac-font);
	font-size: 19px;
	font-weight: 400;
	line-height: 1.3;
	letter-spacing: 0;
	text-transform: none;
	text-decoration: none;
	color: var(--twac-ink);
	background: #fff;
	border: 0;
}

.twac .twac-nav__item a::before,
.twac .twac-nav__item a::after {
	content: none;
}

.twac .twac-nav__item a:hover,
.twac .twac-nav__item a:focus-visible {
	background: #f4f9fd;
	color: var(--twac-ink);
}

.twac .twac-nav__item.is-current a {
	background: var(--twac-pale);
	box-shadow: inset 0 0 0 1px var(--twac-blue);
}

/* ---------- Headings and text ---------- */

.twac .twac-head {
	margin: 0 0 24px;
}

.twac .twac-h1 {
	margin: 0 0 8px;
	font-family: var(--twac-font);
	font-size: 38px;
	font-weight: 300;
	line-height: 1.15;
	letter-spacing: -0.01em;
	text-transform: none;
	color: var(--twac-ink);
}

.twac .twac-h1--small {
	font-size: 30px;
}

.twac .twac-lede {
	margin: 0;
	font-size: 15px;
	line-height: 1.5;
	color: var(--twac-text);
}

.twac .twac-h2 {
	margin: 0 0 16px;
	padding: 0;
	font-family: var(--twac-font);
	font-size: 25px;
	font-weight: 300;
	line-height: 1.2;
	letter-spacing: -0.005em;
	text-transform: none;
	color: var(--twac-ink);
}

.twac .twac-label {
	margin: 0 0 10px;
	font-size: 11.5px;
	font-weight: 500;
	line-height: 1.4;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--twac-blue);
}

/* ---------- Buttons and links ---------- */

.twac .twac-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 46px;
	margin: 0;
	padding: 12px 24px;
	border: 1px solid var(--twac-ink);
	background: #fff;
	color: var(--twac-ink) !important;
	font-family: var(--twac-font);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0;
	text-transform: none;
	text-decoration: none !important;
	text-align: center;
	white-space: normal;
	cursor: pointer;
	box-shadow: none;
	transition: background 0.15s ease, color 0.15s ease;
	-webkit-appearance: none;
	appearance: none;
}

.twac .twac-btn:hover,
.twac .twac-btn:focus-visible {
	background: var(--twac-pale);
	color: var(--twac-ink) !important;
}

.twac .twac-btn--solid {
	background: var(--twac-ink);
	color: #fff !important;
}

.twac .twac-btn--solid:hover,
.twac .twac-btn--solid:focus-visible {
	background: #3a3a3a;
	color: #fff !important;
}

.twac .twac-btn--wide {
	width: 100%;
}

.twac .twac-btn[disabled],
.twac .twac-btn.is-busy {
	opacity: 0.6;
	cursor: default;
	pointer-events: none;
}

.twac .twac-btn.is-done {
	background: var(--twac-pale);
	border-color: var(--twac-blue);
	color: var(--twac-ink) !important;
}

.twac .twac-btn:focus-visible,
.twac .twac-link:focus-visible,
.twac .twac-nav__item a:focus-visible,
.twac .twac-nav__toggle:focus-visible {
	outline: 2px solid var(--twac-ink);
	outline-offset: 2px;
}

.twac-arrow {
	font-size: 16px;
	line-height: 1;
}

.twac .twac-link {
	display: inline;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	color: var(--twac-ink) !important;
	font-family: var(--twac-font);
	font-size: 13px;
	font-weight: 400;
	line-height: 1.4;
	text-decoration: underline;
	text-underline-offset: 3px;
	text-transform: none;
	letter-spacing: 0;
	cursor: pointer;
	box-shadow: none;
}

.twac .twac-link:hover {
	color: #000 !important;
	text-decoration-thickness: 2px;
}

/* ---------- Messages ---------- */

.twac-msg {
	margin: 0 0 20px;
	padding: 13px 18px;
	border: 1px solid var(--twac-blue);
	background: var(--twac-pale);
	font-size: 14px;
	line-height: 1.5;
	color: var(--twac-ink);
}

.twac-msg.is-error {
	border-color: #9b1c1c;
	background: #fdf4f4;
}

.twac .twac-msg p {
	margin: 0;
}

.twac .twac-msg ul {
	margin: 6px 0 0;
	padding: 0 0 0 18px;
	list-style: square;
}

.twac .twac-msg li {
	margin: 2px 0;
}

.twac .twac-msg a {
	color: var(--twac-ink);
	text-decoration: underline;
}

.twac .twac-found {
	margin: 0 0 18px;
	font-size: 14px;
	color: var(--twac-text);
}

.twac .twac-found .twac-link {
	margin-left: 8px;
}

.twac-empty {
	padding: 28px;
	background: var(--twac-pale);
}

.twac .twac-empty p {
	margin: 0 0 16px;
	font-size: 16px;
	color: var(--twac-ink);
}

/* ---------- Search boxes ---------- */

.twac-tools {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 14px 28px;
	margin: 0 0 22px;
}

.twac .twac-search {
	display: flex;
	width: 380px;
	max-width: 100%;
	margin: 0;
	border: 1px solid #d9d9d9;
	background: #fff;
}

.twac .twac-search input[type="search"] {
	flex: 1 1 auto;
	min-width: 0;
	width: auto;
	height: 44px;
	margin: 0;
	padding: 0 14px;
	border: 0;
	background: transparent;
	box-shadow: none;
	font-family: var(--twac-font);
	font-size: 14px;
	color: var(--twac-ink);
	-webkit-appearance: none;
	appearance: none;
}

.twac .twac-search input[type="search"]:focus {
	outline: 2px solid var(--twac-ink);
	outline-offset: -2px;
}

.twac .twac-search__go {
	flex: 0 0 auto;
	height: 44px;
	margin: 0;
	padding: 0 16px;
	border: 0;
	border-left: 1px solid #d9d9d9;
	background: #fff;
	color: var(--twac-ink);
	font-family: var(--twac-font);
	font-size: 13px;
	font-weight: 700;
	text-transform: none;
	letter-spacing: 0;
	cursor: pointer;
	box-shadow: none;
}

.twac .twac-search__go:hover,
.twac .twac-search__go:focus-visible {
	background: var(--twac-pale);
}

.twac .twac-search--teas {
	width: 280px;
}

/* ---------- Order History ---------- */

.twac-order {
	margin: 0 0 24px;
	border: 1px solid var(--twac-line);
	background: #fff;
}

.twac .twac-order__head {
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px 24px;
	padding: 14px 22px;
	background: var(--twac-soft);
}

.twac .twac-order__facts {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 40px;
	margin: 0;
	padding: 0;
}

.twac .twac-order__facts dt {
	margin: 0;
	padding: 0;
	font-size: 10.5px;
	font-weight: 500;
	line-height: 1.4;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--twac-muted);
	float: none;
	width: auto;
}

.twac .twac-order__facts dd {
	margin: 0;
	padding: 0;
	font-size: 15px;
	line-height: 1.4;
	color: var(--twac-ink);
}

.twac .twac-order__facts dd .amount {
	font-weight: 700;
	color: var(--twac-ink);
}

.twac .twac-status {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.3;
	color: #555;
}

.twac-status__dot {
	width: 8px;
	height: 8px;
	background: currentColor; /* square, as everything else */
}

.twac .twac-status--sent {
	color: #1574b3;
}

.twac .twac-status--done {
	color: #1c7c3c;
}

.twac .twac-status--stop {
	color: #9b1c1c;
}

.twac-order__body {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 240px;
	gap: 16px 32px;
	padding: 18px 22px 22px;
}

.twac .twac-order__note {
	margin: 0 0 12px;
	font-size: 13px;
	line-height: 1.5;
	color: var(--twac-text);
}

.twac-order__track--after::before,
.twac-order__track + .twac-order__track::before {
	content: "\00b7";
	margin: 0 6px;
}

.twac .twac-lines {
	margin: 0;
	padding: 0;
	list-style: none;
}

.twac .twac-line {
	display: grid;
	grid-template-columns: 104px minmax(0, 1fr) auto;
	gap: 16px;
	align-items: center;
	margin: 0;
	padding: 6px 0;
	list-style: none;
}

.twac .twac-line::before {
	content: none;
}

.twac-js .twac-order:not(.is-open) .twac-line--more {
	display: none;
}

.twac-line__img {
	display: block;
	width: 104px;
	aspect-ratio: 16 / 9;
	background: #fff;
	overflow: hidden;
}

.twac .twac-line__img img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.twac-line__text {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.twac .twac-line__name {
	font-size: 15px;
	line-height: 1.35;
	color: var(--twac-ink);
	text-decoration: none;
}

.twac a.twac-line__name:hover,
.twac a.twac-line__name:focus {
	text-decoration: underline;
	color: var(--twac-ink);
}

.twac .twac-spec {
	display: block;
	margin: 0;
	font-size: 13px;
	line-height: 1.4;
	color: var(--twac-muted);
}

.twac-spec__first {
	font-weight: 700;
	color: var(--twac-ink);
}

.twac-spec__part {
	white-space: nowrap;
}

.twac-spec__dot {
	margin: 0 2px 0 7px;
}

.twac-line__qty {
	font-size: 13px;
	color: var(--twac-ink);
	white-space: nowrap;
}

.twac .twac-order__see {
	margin: 8px 0 0;
	font-weight: 700;
}

.twac-order__side {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 10px;
}

.twac .twac-order__repeat {
	margin: 0;
	padding: 0;
}

.twac .twac-order__action {
	align-self: center;
	text-align: center;
}

.twac .twac-more {
	margin: 26px 0 0;
	text-align: center;
}

.twac .twac-more .twac-btn {
	min-width: 220px;
}

/* ---------- Buy Again ---------- */

.twac-sec {
	margin: 0 0 40px;
}

.twac-sec__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 24px;
	margin: 0 0 16px;
}

.twac .twac-sec__head .twac-h2 {
	margin: 0;
}

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

.twac .twac-card {
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 14px 16px 16px;
	border: 1px solid var(--twac-line);
	background: #fff;
	list-style: none;
	transition: box-shadow 0.2s ease;
}

.twac .twac-card::before {
	content: none;
}

.twac .twac-card:hover,
.twac .twac-card:focus-within {
	box-shadow: 0 0 0 1px #d6d6d6;
}

.twac .twac-card.is-picked {
	border-color: var(--twac-blue);
	box-shadow: 0 0 0 1px var(--twac-blue);
}

.twac-js .twac-card--later {
	display: none;
}

.twac-card__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	min-height: 24px;
	margin: 0 0 10px;
	font-size: 12px;
	line-height: 1.3;
	color: var(--twac-muted);
}

.twac-card__count {
	text-align: right;
}

.twac .twac-check {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 0;
	font-size: 12px;
	font-weight: 400;
	color: var(--twac-text);
	cursor: pointer;
}

.twac .twac-check input {
	position: absolute;
	opacity: 0;
	width: 18px;
	height: 18px;
	margin: 0;
}

.twac-check__box {
	position: relative;
	flex: 0 0 18px;
	width: 18px;
	height: 18px;
	border: 1px solid #8a8a8a;
	background: #fff;
}

.twac-check input:checked + .twac-check__box {
	border-color: var(--twac-ink);
	background: var(--twac-ink);
}

.twac-check input:checked + .twac-check__box::after {
	content: "";
	position: absolute;
	left: 5px;
	top: 1px;
	width: 6px;
	height: 11px;
	border: solid #fff;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

.twac-check input:focus-visible + .twac-check__box {
	outline: 2px solid var(--twac-ink);
	outline-offset: 2px;
}

.twac .twac-tag {
	display: inline-block;
	padding: 3px 8px;
	border: 1px solid var(--twac-blue);
	font-size: 10.5px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--twac-ink);
}

.twac .twac-card__img {
	display: block;
	aspect-ratio: 16 / 9;
	margin: 0 0 12px;
	background: #fff;
	overflow: hidden;
}

.twac .twac-card__img img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.twac-card__row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 10px;
}

.twac .twac-card__name {
	margin: 0;
	padding: 0;
	font-family: var(--twac-font);
	font-size: 19px;
	font-weight: 300;
	line-height: 1.25;
	letter-spacing: 0;
	text-transform: none;
	color: var(--twac-ink);
}

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

.twac .twac-card__name a:hover,
.twac .twac-card__name a:focus {
	text-decoration: underline;
}

.twac .twac-card__price {
	font-size: 15px;
	font-weight: 700;
	line-height: 1.25;
	color: var(--twac-ink);
	white-space: nowrap;
}

.twac .twac-card__price .amount,
.twac .twac-card__price ins {
	color: var(--twac-ink);
	text-decoration: none;
}

.twac .twac-card .twac-spec {
	margin: 4px 0 0;
}

.twac .twac-card__note {
	margin: 10px 0 0;
	font-size: 13px;
	line-height: 1.5;
	color: var(--twac-text);
}

.twac-qty {
	margin: 12px 0 0;
}

.twac-qty__label {
	display: block;
	margin: 0 0 6px;
	font-size: 10.5px;
	font-weight: 500;
	line-height: 1.4;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--twac-text);
}

.twac-qty__box {
	display: inline-grid;
	grid-template-columns: 40px 46px 40px;
	border: 1px solid #d9d9d9;
	background: #fff;
}

.twac .twac-qty__btn {
	width: 40px;
	height: 40px;
	margin: 0;
	padding: 0;
	border: 0;
	background: #fff;
	color: var(--twac-ink);
	font-family: var(--twac-font);
	font-size: 18px;
	font-weight: 400;
	line-height: 1;
	cursor: pointer;
	box-shadow: none;
}

.twac .twac-qty__btn:hover,
.twac .twac-qty__btn:focus-visible {
	background: var(--twac-pale);
}

.twac .twac-qty__input {
	width: 46px;
	height: 40px;
	margin: 0;
	padding: 0;
	border: 0;
	border-left: 1px solid #d9d9d9;
	border-right: 1px solid #d9d9d9;
	background: #fff;
	box-shadow: none;
	font-family: var(--twac-font);
	font-size: 15px;
	font-weight: 700;
	text-align: center;
	color: var(--twac-ink);
	-moz-appearance: textfield;
	appearance: textfield;
}

.twac .twac-qty__input::-webkit-outer-spin-button,
.twac .twac-qty__input::-webkit-inner-spin-button {
	margin: 0;
	-webkit-appearance: none;
}

.twac-card__btns {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
	margin-top: auto;
	padding-top: 14px;
}

.twac-card__btns--one {
	grid-template-columns: 1fr;
}

.twac .twac-card__btns .twac-btn {
	min-height: 44px;
	padding: 10px 8px;
	font-size: 13px;
	gap: 6px;
}

.twac .twac-none {
	margin: 12px 0 0;
	font-size: 14px;
	color: var(--twac-text);
}

.twac .twac-more--phone {
	display: none;
}

/* ---------- The sticky basket bar ---------- */

.twac-bar {
	position: sticky;
	bottom: 0;
	z-index: 40;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px 24px;
	margin: 28px 0 0;
	padding: 14px 22px;
	border: 1px solid var(--twac-line);
	background: var(--twac-soft);
}

.twac .twac-bar__line {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0 8px;
	margin: 0;
	font-size: 15px;
	line-height: 1.4;
	color: var(--twac-ink);
}

.twac-bar__dot {
	width: 3px;
	height: 3px;
	background: var(--twac-ink);
}

.twac .twac-bar__line strong,
.twac .twac-bar__line .amount {
	font-weight: 700;
	color: var(--twac-ink);
}

.twac .twac-bar__note {
	margin: 2px 0 0;
	font-size: 12px;
	color: var(--twac-muted);
}

.twac-bar__sel {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-left: auto;
}

.twac-js .twac-bar__sel:not(.is-on) {
	display: none;
}

.twac-bar__selcount {
	font-size: 13px;
	font-weight: 700;
	color: var(--twac-ink);
	white-space: nowrap;
}

.twac-bar__go {
	display: flex;
	align-items: center;
	gap: 20px;
}

.twac .twac-bar .twac-btn {
	min-height: 44px;
}

/* ---------- My Details ---------- */

.twac .twac-facts {
	margin: 0;
	padding: 0;
}

.twac .twac-facts dt {
	float: none;
	width: auto;
	margin: 0 0 2px;
	padding: 0;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.4;
	color: var(--twac-ink);
}

.twac .twac-facts dd {
	margin: 0 0 18px;
	padding: 0;
	font-size: 16px;
	line-height: 1.5;
	color: var(--twac-text);
	overflow-wrap: anywhere;
}

.twac .twac-details__btns {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin: 8px 0 0;
	padding: 0 0 36px;
	border-bottom: 1px solid var(--twac-line);
}

.twac .twac-details__btns .twac-btn {
	min-width: 208px;
}

.twac .twac-form {
	max-width: 640px;
	margin: 28px 0 0;
	padding: 0;
	border: 0;
	background: none;
}

.twac-js .twac-details:not(.is-open) .twac-form,
.twac-js .twac-details.is-open .twac-details__sum,
.twac-js .twac-details[data-part="profile"] [data-twac-part="password"],
.twac-js .twac-details[data-part="password"] [data-twac-part="profile"] {
	display: none;
}

.twac-js .twac-details.is-open .twac-form {
	margin-top: 0;
}

.twac .twac-form__part {
	min-width: 0;
	margin: 0 0 26px;
	padding: 0;
	border: 0;
}

.twac .twac-form legend.twac-h2 {
	float: none;
	width: auto;
	border: 0;
}

.twac .twac-field,
.twac .twac-field p {
	margin: 0 0 18px;
	padding: 0;
}

.twac .twac-field label {
	display: block;
	margin: 0 0 6px;
	font-family: var(--twac-font);
	font-size: 15px;
	font-weight: 400;
	line-height: 1.4;
	color: var(--twac-ink);
}

.twac-req {
	color: var(--twac-ink);
}

.twac .twac-field input[type="text"],
.twac .twac-field input[type="email"],
.twac .twac-field input[type="tel"],
.twac .twac-field input[type="password"],
.twac .twac-field select {
	display: block;
	width: 100%;
	max-width: none;
	height: 50px;
	margin: 0;
	padding: 0 14px;
	border: 0;
	border-bottom: 1px solid #9aa0a6;
	background-color: #f7f7f7;
	box-shadow: none;
	font-family: var(--twac-font);
	font-size: 16px;
	line-height: 1.3;
	color: var(--twac-ink);
}

.twac .twac-field input:focus,
.twac .twac-field select:focus {
	border-bottom-color: var(--twac-blue);
	outline: 2px solid var(--twac-ink);
	outline-offset: 1px;
}

.twac-field--phone {
	display: grid;
	grid-template-columns: 170px minmax(0, 1fr);
	gap: 20px;
}

.twac .twac-field--phone p {
	margin: 0;
}

.twac .twac-form__btns {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin: 0;
}

.twac .twac-form__btns .twac-btn {
	min-width: 180px;
}

.twac .twac-form__cancel {
	display: none;
}

.twac-js .twac-form__cancel {
	display: inline-flex;
}

.twac-dash-extra:empty {
	display: none;
}

.twac-dash-extra {
	margin-top: 32px;
}

/* ---------- Help ---------- */

.twac .twac-hero {
	margin: 0 0 32px;
	padding: 34px 36px 36px;
	background: linear-gradient(90deg, #dcf1fb 0%, #e9f3fc 40%, #ffffff 100%);
}

.twac .twac-hero__text {
	max-width: 520px;
	margin: 0;
	font-size: 16px;
	line-height: 1.55;
	color: var(--twac-ink);
}

.twac .twac-topics {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	margin: 0 0 32px;
	padding: 0;
	list-style: none;
}

.twac .twac-topic {
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 22px 22px 24px;
	border: 1px solid var(--twac-line);
	background: #fff;
	list-style: none;
}

.twac .twac-topic::before {
	content: none;
}

.twac .twac-topic__title {
	margin: 0 0 8px;
	padding: 0;
	font-family: var(--twac-font);
	font-size: 22px;
	font-weight: 300;
	line-height: 1.25;
	letter-spacing: -0.005em;
	text-transform: none;
	color: var(--twac-ink);
}

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

.twac .twac-topic__title a:hover,
.twac .twac-topic__title a:focus {
	text-decoration: underline;
}

.twac .twac-topic__text {
	margin: 0 0 16px;
	font-size: 14px;
	line-height: 1.55;
	color: var(--twac-muted);
}

.twac .twac-topic__links {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 22px;
	margin: auto 0 0;
	padding: 0;
	list-style: none;
}

.twac .twac-topic__links li {
	margin: 0;
	padding: 0;
	list-style: none;
}

.twac .twac-topic__links li::before {
	content: none;
}

.twac .twac-topic__links a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.4;
	color: var(--twac-ink);
	text-decoration: none;
}

.twac .twac-topic__links a:hover,
.twac .twac-topic__links a:focus {
	text-decoration: underline;
}

.twac .twac-hero--contact {
	margin-bottom: 0;
}

.twac .twac-hero__btns {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 20px 0 0;
}

.twac .twac-hero__call {
	margin: 14px 0 0;
}

.twac .twac-hero__call .twac-link {
	font-size: 14px;
}

/* 0.1.5: Help for a visitor who is not signed in. No account menu, so the trail and then Help across the page. */
.twac.twac--public {
	margin-bottom: 40px;
}

.twac--public .twac-crumb {
	margin-bottom: 16px;
}

/* ---------- WooCommerce's own pages inside the layout (Address Book, an order's page, payment methods) ----------
   Only where the layout says the page is WooCommerce's (.twac-main--wc), so the Membership, Subscription and Tea Club
   pages, which have their own styles, are left alone. */

.twac-main--wc h2,
.twac-main--wc h3 {
	font-family: var(--twac-font);
	font-weight: 300;
	letter-spacing: 0;
	text-transform: none;
	color: var(--twac-ink);
}

.twac-main--wc h2 {
	font-size: 25px;
	line-height: 1.2;
}

.twac-main--wc h3 {
	font-size: 20px;
	line-height: 1.25;
}

.twac-main--wc address {
	margin: 0;
	padding: 20px 22px;
	background: #f4f4f4;
	font-style: normal;
	font-size: 15px;
	line-height: 1.7;
	color: var(--twac-text);
}

.twac-main--wc .woocommerce-Addresses,
.twac-main--wc .addresses {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
	margin: 20px 0 0;
}

.twac-main--wc .woocommerce-Addresses::before,
.twac-main--wc .woocommerce-Addresses::after,
.twac-main--wc .addresses::before,
.twac-main--wc .addresses::after {
	content: none;
}

.twac-main--wc .woocommerce-Addresses > *,
.twac-main--wc .addresses > * {
	float: none;
	width: auto;
	max-width: none;
	margin: 0;
	padding: 0;
}

.twac .twac-main--wc header {
	margin-top: 0;
}

.twac-main--wc .woocommerce-Address-title,
.twac-main--wc .addresses header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 0 0 12px;
}

.twac-main--wc .woocommerce-Address-title h2,
.twac-main--wc .woocommerce-Address-title h3,
.twac-main--wc .addresses header h2,
.twac-main--wc .addresses header h3 {
	margin: 0;
	font-size: 20px;
}

.twac-main--wc .woocommerce-Address-title .edit,
.twac-main--wc .addresses header .edit,
.twac-main--wc a.button,
.twac-main--wc button.button,
.twac-main--wc input.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 10px 20px;
	border: 1px solid var(--twac-ink);
	background: #fff;
	color: var(--twac-ink);
	font-family: var(--twac-font);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0;
	text-transform: none;
	text-decoration: none;
	box-shadow: none;
	float: none;
	cursor: pointer;
}

.twac-main--wc .woocommerce-Address-title .edit:hover,
.twac-main--wc .addresses header .edit:hover,
.twac-main--wc a.button:hover,
.twac-main--wc button.button:hover,
.twac-main--wc input.button:hover {
	background: var(--twac-pale);
	color: var(--twac-ink);
}

.twac-main--wc button[type="submit"].button,
.twac-main--wc .button.alt {
	background: var(--twac-ink);
	color: #fff;
}

.twac-main--wc button[type="submit"].button:hover,
.twac-main--wc .button.alt:hover {
	background: #3a3a3a;
	color: #fff;
}

.twac-main--wc form .form-row {
	float: none;
	width: auto;
	max-width: 640px;
	margin: 0 0 18px;
	padding: 0;
}

.twac-main--wc form .form-row label {
	display: block;
	margin: 0 0 6px;
	font-family: var(--twac-font);
	font-size: 15px;
	font-weight: 400;
	line-height: 1.4;
	color: var(--twac-ink);
}

.twac-main--wc form .form-row input.input-text,
.twac-main--wc form .form-row select,
.twac-main--wc form .form-row textarea,
.twac-main--wc form .form-row .select2-selection {
	width: 100%;
	min-height: 50px;
	padding: 0 14px;
	border: 0;
	border-bottom: 1px solid #9aa0a6;
	background-color: #f7f7f7;
	box-shadow: none;
	font-family: var(--twac-font);
	font-size: 16px;
	color: var(--twac-ink);
}

.twac-main--wc form .form-row textarea {
	padding: 12px 14px;
}

.twac-main--wc form .form-row .select2-selection__rendered {
	padding: 0;
	line-height: 50px;
	color: var(--twac-ink);
}

.twac-main--wc form .form-row .select2-selection__arrow {
	height: 50px;
}

.twac-main--wc table.shop_table,
.twac-main--wc table.woocommerce-table {
	width: 100%;
	margin: 0 0 24px;
	border: 1px solid var(--twac-line);
	border-collapse: collapse;
	font-size: 15px;
}

.twac-main--wc table.shop_table th,
.twac-main--wc table.woocommerce-table th {
	padding: 12px 16px;
	border: 0;
	border-bottom: 1px solid var(--twac-line);
	background: var(--twac-soft);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	text-align: left;
	color: var(--twac-muted);
}

.twac-main--wc table.shop_table td,
.twac-main--wc table.woocommerce-table td {
	padding: 12px 16px;
	border: 0;
	border-top: 1px solid #eee;
	color: var(--twac-text);
}

.twac-main--wc mark {
	background: none;
	font-weight: 700;
	color: var(--twac-ink);
}

/* ---------- Tablets ---------- */

@media (max-width: 1100px) {
	.twac-cols {
		grid-template-columns: 220px minmax(0, 1fr);
		gap: 36px;
	}

	.twac-order__body {
		grid-template-columns: minmax(0, 1fr) 200px;
		gap: 16px 24px;
	}
}

@media (max-width: 991px) {
	.twac .twac-grid,
	.twac .twac-topics {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* ---------- Phones: the menu folds above the page, everything in one column ---------- */

@media (max-width: 860px) {
	.twac-band {
		margin-bottom: 18px;
		padding: 12px 0 13px;
	}

	.twac .twac-band__title {
		font-size: 30px;
	}

	.twac-cols {
		grid-template-columns: minmax(0, 1fr);
		gap: 24px;
	}

	.twac-js .twac-nav__toggle {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		width: 100%;
		min-height: 50px;
		margin: 0;
		padding: 12px 16px;
		border: 1px solid var(--twac-ink);
		background: #fff;
		color: var(--twac-ink);
		font-family: var(--twac-font);
		font-size: 17px;
		font-weight: 400;
		line-height: 1.3;
		text-align: left;
		text-transform: none;
		letter-spacing: 0;
		cursor: pointer;
		box-shadow: none;
	}

	/* A plus that becomes a minus when the menu is open. */
	.twac-nav__toggle-mark {
		position: relative;
		flex: 0 0 14px;
		width: 14px;
		height: 14px;
	}

	.twac-nav__toggle-mark::before,
	.twac-nav__toggle-mark::after {
		content: "";
		position: absolute;
		left: 0;
		top: 6px;
		width: 14px;
		height: 2px;
		background: var(--twac-ink);
	}

	.twac-nav__toggle-mark::after {
		transform: rotate(90deg);
	}

	.twac-nav.is-open .twac-nav__toggle-mark::after {
		transform: none;
	}

	.twac-js .twac-nav:not(.is-open) .twac-nav__list {
		display: none;
	}

	.twac-js .twac-nav .twac-nav__list {
		border-top: 0;
		border-left: 1px solid var(--twac-line);
		border-right: 1px solid var(--twac-line);
	}

	.twac .twac-nav__item a {
		padding: 13px 16px;
		font-size: 17px;
	}

	.twac .twac-h1 {
		font-size: 30px;
	}

	.twac .twac-h1--small {
		font-size: 26px;
	}

	.twac .twac-h2 {
		font-size: 22px;
	}

	.twac .twac-head {
		margin-bottom: 18px;
	}

	.twac .twac-search,
	.twac .twac-search--teas {
		width: 100%;
	}

	.twac .twac-order__head {
		padding: 12px 14px;
	}

	.twac .twac-order__facts {
		gap: 8px 22px;
	}

	.twac-order__body {
		grid-template-columns: minmax(0, 1fr);
		padding: 14px;
	}

	.twac .twac-line {
		grid-template-columns: 76px minmax(0, 1fr) auto;
		gap: 12px;
	}

	.twac-line__img {
		width: 76px;
	}

	.twac .twac-hero {
		margin-bottom: 20px;
		padding: 24px 20px 26px;
	}

	.twac .twac-topics {
		gap: 12px;
		margin-bottom: 20px;
	}

	.twac-main--wc .woocommerce-Addresses,
	.twac-main--wc .addresses {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 640px) {
	.twac .twac-grid {
		gap: 12px;
	}

	.twac .twac-card {
		padding: 10px 10px 12px;
	}

	.twac-card__top {
		flex-wrap: wrap;
		gap: 4px 8px;
		font-size: 11px;
	}

	.twac-card__row {
		flex-direction: column;
		gap: 2px;
	}

	.twac .twac-card__name {
		font-size: 17px;
	}

	.twac-card__btns {
		grid-template-columns: 1fr;
	}

	.twac-js .twac-card--later-phone {
		display: none;
	}

	.twac .twac-more--phone {
		display: block;
	}

	.twac .twac-topics {
		grid-template-columns: minmax(0, 1fr);
	}

	.twac .twac-details__btns .twac-btn,
	.twac .twac-form__btns .twac-btn,
	.twac .twac-hero__btns .twac-btn,
	.twac .twac-more .twac-btn {
		width: 100%;
		min-width: 0;
	}

	.twac-field--phone {
		grid-template-columns: 130px minmax(0, 1fr);
		gap: 12px;
	}

	/* The bar is fixed to the bottom of the phone screen, and only shows once there is something to act on. */
	.twac-buy,
	.twac-orders {
		padding-bottom: 96px;
	}

	.twac-bar {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 990;
		margin: 0;
		padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
		border-width: 1px 0 0;
		background: #fff;
		box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.1);
		gap: 8px 12px;
	}

	.twac-bar.is-empty:not(.has-sel) {
		display: none;
	}

	.twac .twac-bar__word,
	.twac .twac-bar__dot,
	.twac .twac-bar__note {
		display: none;
	}

	/* The site keeps its round cookie settings button in the bottom left corner of the screen, so the bar's bottom
	   row starts clear of it: the item count over the total, then View basket and Checkout. */
	.twac-bar__sum {
		padding-left: var(--twac-bar-clear, 58px);
	}

	.twac .twac-bar__line {
		flex-direction: column;
		align-items: flex-start;
		gap: 0;
		font-size: 14px;
		line-height: 1.3;
	}

	.twac-bar__go {
		gap: 12px;
		margin-left: auto;
	}

	.twac .twac-bar .twac-btn {
		min-height: 42px;
		padding: 10px 14px;
		font-size: 13px;
	}

	.twac-bar__sel {
		order: -1;
		flex: 1 1 100%;
		justify-content: space-between;
		margin: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.twac .twac-btn,
	.twac .twac-card {
		transition: none;
	}
}
