/*
 * Tactical Store Kosovo — storefront styles.
 *
 * Ordered the way a page renders: fonts, tokens, base, header & mega menu,
 * homepage sections, product tiles, listings, product page, drawers,
 * cart/checkout/account, footer, responsive. Layout, measurements and type
 * scale follow the reference (tacwrk.com: a 1240px slate box, Roboto nav,
 * Roboto Condensed headings); colour, logo, copy and imagery are our own.
 */

/* ------------------------------------------------------------ fonts -- */

@font-face {
	font-family: "Roboto Condensed";
	font-style: normal;
	font-weight: 300 900;
	font-display: swap;
	src: url("../fonts/roboto-condensed-latin-wght-normal.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Roboto Condensed";
	font-style: normal;
	font-weight: 300 900;
	font-display: swap;
	src: url("../fonts/roboto-condensed-latin-ext-wght-normal.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: "Roboto";
	font-style: normal;
	font-weight: 300 700;
	font-display: swap;
	src: url("../fonts/roboto-latin-wght-normal.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Roboto";
	font-style: normal;
	font-weight: 300 700;
	font-display: swap;
	src: url("../fonts/roboto-latin-ext-wght-normal.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ----------------------------------------------------------- tokens -- */

:root {
	--slate: #2e333b;        /* header box, text, dark blocks */
	--band: #3a3c3f;         /* the dark band behind the header and hero */
	--mega: #393f49;         /* mega menu and phone menu */
	--sand: #af9c7c;         /* top bar links, second headline lines */
	--sand-icon: #a89678;
	--accent: #c2410c;       /* sale, badges, CTAs — our orange */
	--accent-dark: #9a3412;
	--ink: #2e333b;
	--muted: #717d91;        /* product names */
	--muted-2: #9ca2a8;      /* footer and service text */
	--crumb: #abb2bd;
	--line: #e2e4e9;
	--soft: #f0f2f6;         /* restock and SEO sections */
	--footer: #e3e4ea;
	--field: #f1f2f6;
	--ok: #1f7a4d;
	--danger: #b42318;

	--font-head: "Roboto Condensed", "Roboto", Geneva, "Helvetica Neue", Arial, sans-serif;
	--font-body: "Roboto", Geneva, "Helvetica Neue", Arial, sans-serif;

	--box: 1240px;           /* the reference's container */
	--pad: 10px;             /* half-gutter inside it */
	--section: 60px;
	--ease: cubic-bezier(.2, .7, .2, 1);
	--topbar-h: 44px;
}

/* ------------------------------------------------------------- base -- */

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

html {
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: #fff;
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 15px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

body.ts-locked {
	overflow: hidden;
}

img,
svg {
	display: block;
	max-width: 100%;
}

img {
	height: auto;
}

a {
	color: inherit;
	text-decoration: none;
}

button,
input,
select,
textarea {
	font: inherit;
	color: inherit;
}

button {
	cursor: pointer;
}

h1,
h2,
h3,
h4 {
	font-family: var(--font-head);
	font-weight: 700;
	line-height: 1.1;
	margin: 0 0 .5em;
	text-transform: uppercase;
}

p {
	margin: 0 0 1em;
}

ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="search"],
input[type="number"],
input[type="password"],
select,
textarea {
	min-height: 46px;
	padding: 8px 14px;
	border: 2px solid var(--slate);
	border-radius: 0;
	background: #fff;
	font-size: 15px;
}

select {
	appearance: none;
	padding-right: 40px;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23c2410c' stroke-width='3'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 14px center / 14px no-repeat;
}

:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 2px;
}

[hidden] {
	display: none !important;
}

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

.ts-skip {
	position: absolute;
	left: 12px;
	top: -60px;
	z-index: 300;
	background: var(--slate);
	color: #fff;
	padding: 10px 16px;
}

.ts-skip:focus {
	top: 12px;
}

.ts-wrap {
	width: 100%;
	max-width: var(--box);
	margin: 0 auto;
	padding: 0 20px;
}

.ts-wrap--narrow {
	max-width: 880px;
}

/* ---------------------------------------------------------- buttons -- */

.ts-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 45px;
	padding: 12px 22px 11px;
	border: 3px solid var(--slate);
	border-radius: 0;
	background: var(--slate);
	color: #fff;
	font-family: var(--font-body);
	font-size: 16px;
	font-weight: 500;
	line-height: 1;
	text-transform: uppercase;
	text-align: center;
	transition: background-color .15s, border-color .15s, color .15s;
}

.ts-btn:hover {
	background: #1f2328;
	border-color: #1f2328;
	color: #fff;
}

.ts-btn--accent {
	background: var(--accent);
	border-color: var(--accent);
}

.ts-btn--accent:hover {
	background: var(--accent-dark);
	border-color: var(--accent-dark);
}

.ts-btn--dark {
	background: var(--slate);
	border-color: var(--slate);
}

.ts-btn--outline {
	background: transparent;
	color: var(--slate);
}

.ts-btn--outline:hover {
	background: var(--slate);
	color: #fff;
}

/* The reference's buttons on dark blocks: a see-through fill inside a
   coloured frame. */
.ts-btn--outline-accent {
	background: rgba(0, 0, 0, .25);
	border-color: var(--accent);
	color: #fff;
}

.ts-btn--outline-accent:hover {
	background: var(--accent);
	border-color: var(--accent);
}

.ts-btn--sm {
	min-height: 38px;
	padding: 8px 14px;
	font-size: 14px;
	border-width: 2px;
}

.ts-btn--block {
	width: 100%;
}

.ts-btn[disabled],
.ts-btn.is-loading {
	opacity: .6;
	cursor: default;
}

.ts-iconbtn {
	display: inline-grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
}

/* The small letter-spaced label on a coloured block: "BRANDSHOP". */
.ts-kicker {
	display: inline-block;
	margin: 0;
	padding: 5px 5px 5px 7px;
	background: var(--accent);
	color: #fff;
	font-family: var(--font-body);
	font-size: 13px;
	font-weight: 400;
	line-height: 1;
	letter-spacing: 2px;
	text-transform: uppercase;
}

.ts-pill {
	display: inline-block;
	padding: 2px 10px;
	background: var(--slate);
	color: #fff;
	font-size: 13px;
	line-height: 1.6;
	text-transform: uppercase;
}

.ts-pill--sale {
	background: var(--accent);
}

.ts-pill--out {
	background: #8a9099;
}

.ts-dot {
	display: inline-block;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: var(--swatch, #ccc);
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15);
}

/* --------------------------------------------------------- demo bar -- */

.ts-demo {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 6px 16px;
	background: #1f2328;
	color: #c9ccd1;
	font-size: 13px;
	line-height: 1.4;
	text-align: center;
}

.ts-demo__tag {
	flex: none;
	padding: 1px 7px;
	background: var(--accent);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
}

/* ----------------------------------------------------------- header -- */

/* Sticky with a negative top: once scrolled, the top bar slides away and
   the logo, search and nav rows stay. */
.ts-header {
	position: sticky;
	top: calc(-1 * var(--topbar-h));
	z-index: 50;
	background: #fff;
}

.home .ts-header {
	background: var(--band);
}

.ts-header__box {
	position: relative;
	max-width: var(--box);
	margin: 0 auto;
	background: var(--slate);
	color: #fff;
}

.ts-topbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	height: var(--topbar-h);
	padding: 0 30px;
	border-bottom: 1px solid #3d434c;
	font-size: 13px;
	text-transform: uppercase;
}

.ts-topbar__usps {
	display: flex;
	gap: 26px;
	overflow: hidden;
	white-space: nowrap;
}

.ts-topbar a {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: var(--sand);
}

.ts-topbar a:hover {
	color: #fff;
}

.ts-topbar .ts-icon {
	flex: none;
	opacity: .9;
}

.ts-topbar__contact {
	margin: 0;
	white-space: nowrap;
}

.ts-header__main {
	display: flex;
	align-items: center;
	gap: 30px;
	height: 84px;
	padding: 0 30px;
}

.ts-header__menu {
	display: none;
}

.ts-logo {
	display: block;
	flex: none;
	color: #fff;
	--ts-logo-sub: var(--sand);
	--ts-logo-accent: var(--accent);
}

.ts-header__logo .ts-wordmark {
	width: 210px;
	height: auto;
}

.ts-search {
	position: relative;
	display: flex;
}

.ts-header__search {
	flex: 1;
	max-width: 560px;
	margin-left: auto;
}

.ts-search__field {
	flex: 1;
	width: 100%;
	min-height: 46px;
	padding: 10px 52px 10px 16px;
	border: 2px solid #fff;
	background: #fff;
	color: #222;
	font-size: 15px;
}

.ts-search__field::placeholder {
	color: #7f858e;
}

.ts-search__submit {
	position: absolute;
	right: 0;
	top: 0;
	bottom: 0;
	display: grid;
	place-items: center;
	width: 50px;
	border: 0;
	background: var(--accent);
	color: #fff;
}

.ts-search__submit:hover {
	background: var(--accent-dark);
}

.ts-header__tools {
	display: flex;
	align-items: center;
	gap: 22px;
	margin-left: auto;
}

.ts-tool {
	display: flex;
	align-items: center;
	gap: 9px;
	color: var(--sand);
	font-size: 13px;
	text-transform: uppercase;
	white-space: nowrap;
}

.ts-tool:hover {
	color: #fff;
}

.ts-tool__icon {
	position: relative;
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #3a3f48;
	color: #fff;
}

.ts-tool--wish .ts-tool__icon {
	color: var(--accent);
}

.ts-tool--cart .ts-tool__icon {
	background: var(--accent);
}

.ts-count,
.ts-cartcount {
	position: absolute;
	top: -6px;
	right: -8px;
	min-width: 21px;
	height: 21px;
	padding: 0 5px;
	border: 2px solid var(--slate);
	border-radius: 11px;
	background: var(--slate);
	color: #fff;
	font-size: 12px;
	font-weight: 500;
	line-height: 17px;
	text-align: center;
}

.ts-cartcount {
	background: var(--accent);
}

.ts-count[data-count="0"] {
	background: #555b64;
}

/* --------------------------------------------------- nav & mega menu -- */

.ts-nav {
	position: static;
	border-top: 1px solid #3d434c;
}

.ts-menu {
	display: flex;
	flex-wrap: wrap;
	padding: 0 20px;
}

.ts-menu > li > a {
	position: relative;
	display: block;
	padding: 15px 12px;
	font-family: var(--font-body);
	font-size: 17px;
	font-weight: 500;
	line-height: 1.6;
	text-transform: uppercase;
	color: #fff;
	transition: background-color .12s;
}

.ts-menu > li > a:hover,
.ts-menu > li.is-open > a {
	background: var(--mega);
}

.ts-menu > li.is-department > a::after,
.ts-menu > li.current-menu-item > a::after {
	content: "";
	position: absolute;
	left: 12px;
	right: 12px;
	bottom: 8px;
	height: 3px;
	background: var(--accent);
}

.ts-menu > li.ts-sale {
	margin-left: 4px;
	padding: 9px 0;
}

.ts-menu > li.ts-sale > a {
	padding: 6px 12px;
	background: var(--accent);
}

.ts-menu > li.ts-sale > a:hover {
	background: var(--accent-dark);
}

.ts-nav__extra {
	display: none;
}

.ts-mega__panel {
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	z-index: 60;
	display: none;
	background: var(--mega);
	box-shadow: 0 18px 30px rgba(0, 0, 0, .25);
}

.ts-menu > li.is-open > .ts-mega__panel {
	display: block;
}

.ts-mega__inner {
	display: flex;
	gap: 40px;
	max-width: none;
	padding: 30px;
}

.ts-mega__cols {
	flex: 1;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
	gap: 26px 30px;
	align-content: start;
}

.ts-mega__cols > li > a {
	display: inline-block;
	margin-bottom: 10px;
	font-size: 16px;
	font-weight: 700;
	color: #fff;
}

.ts-mega__links a {
	display: inline-block;
	padding: 3px 0;
	font-size: 15px;
	line-height: 1.5;
	color: #fff;
	opacity: .92;
}

.ts-mega__cols a:hover {
	color: var(--sand);
	opacity: 1;
}

.ts-mega--brands .ts-mega__links {
	display: grid;
	grid-template-columns: repeat(4, minmax(160px, 1fr));
	gap: 0 30px;
}

.ts-mega__promo {
	position: relative;
	display: block;
	flex: none;
	width: 280px;
	align-self: start;
	overflow: hidden;
}

.ts-mega__img {
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	transition: transform .4s var(--ease);
}

.ts-mega__promo:hover .ts-mega__img {
	transform: scale(1.04);
}

.ts-mega__promolabel {
	position: absolute;
	left: 16px;
	bottom: 16px;
	display: grid;
	justify-items: start;
	gap: 6px;
}

.ts-mega__promotitle {
	padding: 5px 10px;
	background: var(--slate);
	color: #fff;
	font-family: var(--font-head);
	font-size: 24px;
	font-weight: 700;
	line-height: 1.2;
	text-transform: uppercase;
}

/* The accordion buttons main.js adds are for the phone menu only. */
.ts-acc,
.ts-acc__all {
	display: none;
}

.ts-burger {
	display: grid;
	gap: 6px;
	width: 26px;
}

.ts-burger span {
	display: block;
	height: 3px;
	background: #fff;
	transition: transform .2s, opacity .2s;
}

.ts-menu-open .ts-burger span:nth-child(1) {
	transform: translateY(9px) rotate(45deg);
}

.ts-menu-open .ts-burger span:nth-child(2) {
	opacity: 0;
}

.ts-menu-open .ts-burger span:nth-child(3) {
	transform: translateY(-9px) rotate(-45deg);
}

/* --------------------------------------------------------- sections -- */

.ts-section {
	padding: var(--section) 0;
}

.ts-section__head {
	position: relative;
	margin-bottom: 30px;
}

/* Heading centred on a hairline: the reference's h3.hr. */
.ts-section__title,
.ts-ruled {
	position: relative;
	margin: 0;
	padding: 10px 0;
	font-size: 30px;
	line-height: 1.1;
	text-align: center;
}

.ts-section__title::before,
.ts-ruled::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 50%;
	height: 1px;
	background: var(--line);
}

.ts-section__title span,
.ts-ruled span {
	position: relative;
	padding: 0 15px;
	background: #fff;
}

.ts-rail--soft,
.ts-rail--soft .ts-section__title span {
	background: var(--soft);
}

.ts-section__more {
	position: absolute;
	right: 0;
	top: -18px;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 15px;
}

.ts-section__more .ts-icon {
	color: var(--accent);
}

.ts-section__more:hover {
	color: var(--accent);
}

/* ---------------------------------------------- dark band & the hero -- */

.ts-darkband {
	background: var(--band);
}

.ts-hero {
	padding: 20px 0 40px;
}

.ts-hero__track {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ts-hero__panel {
	position: relative;
	display: block;
	margin: 0 10px;
	aspect-ratio: 2 / 3;
	overflow: hidden;
	background: var(--slate);
}

.ts-hero__img,
.ts-hero__panel .ts-art-empty {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .6s var(--ease);
}

.ts-hero__panel:hover .ts-hero__img {
	transform: scale(1.03);
}

.ts-hero__panel::after {
	content: "";
	position: absolute;
	inset: 55% 0 0;
	background: linear-gradient(transparent, rgba(0, 0, 0, .45));
	pointer-events: none;
}

.ts-hero__caption {
	position: absolute;
	left: 20px;
	right: 20px;
	bottom: 24px;
	z-index: 1;
	display: grid;
	justify-items: start;
	gap: 12px;
}

.ts-hero__title {
	font-family: var(--font-head);
	font-size: 40px;
	font-weight: 700;
	line-height: 1.2;
	text-transform: uppercase;
	color: #fff;
}

/* Each line of the headline on its own slate strip, as on the reference. */
.ts-hero__title span {
	padding: 3px 10px;
	background: var(--slate);
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
}

.ts-hero__btn {
	min-height: 42px;
	padding: 10px 18px;
	font-size: 15px;
}

.ts-hero__dots {
	display: none;
}

.ts-art-empty {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 120px;
	background: linear-gradient(135deg, #444a53, #2e333b);
}

/* ----------------------------------------------------- rails/carousel -- */

.ts-carousel {
	position: relative;
}

.ts-carousel__track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: calc((100% - 4 * 20px) / 5);
	gap: 20px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	padding-bottom: 4px;
}

.ts-carousel__track::-webkit-scrollbar {
	display: none;
}

.ts-carousel__item {
	scroll-snap-align: start;
}

.ts-carousel__nav {
	position: absolute;
	top: 120px;
	z-index: 2;
	display: grid;
	place-items: center;
	width: 30px;
	height: 70px;
	border: 0;
	background: #c0c1c5;
	color: #fff;
	transition: background-color .15s, opacity .15s;
}

.ts-carousel__nav:hover {
	background: var(--slate);
}

.ts-carousel__nav:disabled {
	opacity: .35;
	cursor: default;
}

.ts-carousel__nav--prev {
	left: -20px;
}

.ts-carousel__nav--next {
	right: -20px;
}

.ts-carousel.is-static .ts-carousel__nav {
	display: none;
}

/* ------------------------------------------------------ product tile -- */

.ts-card {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	text-align: center;
}

.ts-card__media {
	position: relative;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	background: #fff;
}

.ts-rail--soft .ts-card__media {
	background: #fff;
}

.ts-card__link {
	display: block;
	height: 100%;
}

.ts-card__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: opacity .3s;
}

.ts-card__img--empty {
	background: #eef0f3;
}

.ts-card__img--hover {
	opacity: 0;
}

@media (hover: hover) {
	.ts-card:hover .ts-card__img--hover {
		opacity: 1;
	}
}

.ts-card__flag {
	position: absolute;
	left: 10px;
	top: 10px;
	z-index: 1;
	padding: 3px 8px;
	background: var(--accent);
	color: #fff;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.4;
}

.ts-wish {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, .92);
	color: var(--slate);
	transition: color .15s, transform .2s;
}

.ts-wish:hover,
.ts-wish.is-on {
	color: var(--accent);
}

.ts-wish.is-on .ts-icon path {
	fill: currentColor;
}

.ts-wish.is-pulse {
	transform: scale(1.18);
}

.ts-card__wish {
	position: absolute;
	right: 8px;
	top: 8px;
	z-index: 1;
}

.ts-card__body {
	display: grid;
	justify-items: center;
	gap: 0;
	padding: 6px 0 20px;
}

.ts-card__brand {
	margin: 4px 0 0;
	color: #000;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.6;
	text-transform: uppercase;
}

.ts-card__title {
	margin: 0;
	font-family: var(--font-body);
	font-size: 15px;
	font-weight: 400;
	line-height: 1.6;
	text-transform: none;
	color: var(--muted);
}

.ts-card__title a:hover {
	color: var(--ink);
}

.ts-card__price {
	margin: 12px 0 0;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.3;
}

.ts-card__price del {
	margin-left: 6px;
	color: var(--ink);
	font-weight: 400;
	font-size: 14px;
}

.ts-card__price ins,
.ts-card__price.is-sale .woocommerce-Price-amount:not(del *) {
	color: var(--accent);
	text-decoration: none;
}

.ts-card__price .screen-reader-text + ins {
	margin-left: 0;
}

.ts-card__colors {
	display: flex;
	justify-content: center;
	gap: 5px;
	margin: 10px 0 0;
}

.ts-card__label {
	margin: 10px 0 0;
}

.ts-card.is-out .ts-card__img {
	opacity: .55;
}

/* ------------------------------------------------------- top brands -- */

.ts-brands__grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

.ts-brands__grid > li {
	width: calc(100% / 6);
}

.ts-brands__item {
	display: grid;
	place-items: center;
	height: 120px;
	padding: 0 30px;
}

.ts-brands__item img {
	max-height: 70px;
	max-width: 170px;
	filter: grayscale(1);
	opacity: .55;
	transition: opacity .2s, filter .2s;
}

.ts-brands__item:hover img {
	filter: none;
	opacity: 1;
}

/* A brand with no logo file: its name, set like a logo. */
.ts-brands__name {
	color: #9aa0a8;
	white-space: nowrap;
	font-family: var(--font-head);
	font-size: 24px;
	font-weight: 800;
	letter-spacing: -.01em;
	text-transform: uppercase;
	transition: color .2s;
}

.ts-brands__item:hover .ts-brands__name {
	color: var(--slate);
}

/* --------------------------------------------------------- services -- */

.ts-services {
	padding: 60px 0;
	background: var(--slate);
	color: #fff;
}

.ts-services__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ts-services__grid > li + li {
	border-left: 1px solid #454b54;
}

.ts-service {
	display: grid;
	justify-items: center;
	gap: 14px;
	padding: 0 30px;
	text-align: center;
}

.ts-service__icon {
	display: grid;
	place-items: center;
	width: 96px;
	height: 96px;
	border: 2px solid var(--sand-icon);
	border-radius: 50%;
	color: var(--sand-icon);
	transition: background-color .2s, color .2s;
}

.ts-service:hover .ts-service__icon {
	background: var(--sand-icon);
	color: var(--slate);
}

.ts-service__title {
	margin-top: 4px;
	font-family: var(--font-head);
	font-size: 16px;
	font-weight: 700;
	text-transform: uppercase;
}

.ts-service__text {
	color: var(--muted-2);
	font-size: 15px;
	line-height: 1.6;
}

/* --------------------------------------------------------- SEO text -- */

.ts-seo {
	padding: 40px 0 50px;
	background: var(--soft);
}

.ts-seo__title {
	padding: 10px 0;
	font-size: 30px;
}

.ts-seo p {
	max-width: 1060px;
	color: #5b6574;
	line-height: 1.6;
}

/* --------------------------------------------------- newsletter band -- */

.ts-newsband {
	padding: 40px 0;
	background: var(--slate);
	color: #fff;
}

.ts-newsband__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 40px;
	align-items: center;
}

.ts-newsband__title {
	margin: 12px 0 8px;
	font-size: 32px;
	color: #fff;
}

.ts-newsband__text {
	margin: 0;
	color: var(--muted-2);
}

.ts-news__row {
	display: flex;
}

.ts-news__field {
	flex: 1;
	min-width: 0;
	border-color: #fff;
}

.ts-news__legal {
	display: flex;
	gap: 10px;
	margin-top: 14px;
	color: #c9ccd1;
	font-size: 13px;
	line-height: 1.5;
	cursor: pointer;
}

.ts-news__legal input {
	flex: none;
	width: 16px;
	height: 16px;
	margin-top: 2px;
	accent-color: var(--accent);
}

.ts-news__done {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 14px 0 0;
	color: #fff;
	font-weight: 500;
}

/* ----------------------------------------------------------- footer -- */

.ts-footer {
	padding: 50px 0 30px;
	background: var(--footer);
	color: #6b727c;
}

.ts-footer__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 30px;
}

.ts-footer__heading {
	margin: 0 0 16px;
	color: var(--slate);
	font-size: 15px;
}

.ts-footer__heading--sub {
	margin-top: 22px;
}

.ts-footer__list a {
	display: inline-block;
	padding: 3px 0;
	font-size: 15px;
}

.ts-footer a:hover {
	color: var(--accent);
}

.ts-footer__line {
	display: flex;
	gap: 10px;
	margin: 0 0 8px;
	font-size: 14px;
	line-height: 1.5;
}

.ts-footer__line .ts-icon {
	flex: none;
	margin-top: 2px;
	color: var(--slate);
}

.ts-footer__badges {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
}

.ts-paybadge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 10px;
	background: #fff;
	color: var(--slate);
	font-size: 13px;
	font-weight: 500;
}

.ts-footer__social {
	display: flex;
	justify-content: center;
	gap: 12px;
	margin: 40px 0 26px;
}

.ts-footer__social a {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border: 1px solid #b8bdc5;
	border-radius: 50%;
	color: var(--slate);
}

.ts-footer__social a:hover {
	border-color: var(--accent);
	background: var(--accent);
	color: #fff;
}

.ts-footer__bottom {
	display: grid;
	justify-items: center;
	gap: 10px;
	padding-top: 24px;
	border-top: 1px solid #d0d3da;
	font-size: 13px;
	text-align: center;
}

.ts-footer__bottom p {
	margin: 0;
}

.ts-footer__logo {
	color: var(--slate);
	--ts-logo-sub: #8a7650;
}

.ts-footer__logo .ts-wordmark {
	width: 170px;
}

.ts-totop {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 40;
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	border: 0;
	border-radius: 50%;
	background: var(--accent);
	color: #fff;
	box-shadow: 0 6px 18px rgba(0, 0, 0, .2);
}

.ts-totop:hover {
	background: var(--accent-dark);
}

/* --------------------------------------------------------- listings -- */

.ts-crumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 10px;
	padding: 18px 0;
	color: var(--crumb);
	font-size: 15px;
}

.ts-crumbs a:hover {
	color: var(--ink);
}

.ts-crumbs .ts-icon {
	display: inline-block;
}

.ts-crumbs__current {
	color: var(--crumb);
}

.ts-listing {
	padding-bottom: var(--section);
}

.ts-listing__head {
	margin: 18px 0 30px;
	text-align: center;
}

.ts-listing__title {
	margin-bottom: 14px;
}

.ts-listing--plain .ts-listing__title {
	text-align: center;
}

.ts-listing__desc {
	max-width: 760px;
	margin: 0 auto;
	color: #5b6574;
}

.ts-listing__desc p {
	margin: 0;
}

.ts-topics {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin-top: 22px;
}

.ts-topic {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 16px;
	background: var(--slate);
	color: #fff;
	font-size: 15px;
	font-weight: 500;
	text-transform: uppercase;
}

.ts-topic .ts-icon {
	color: var(--accent);
}

.ts-topic:hover {
	background: var(--accent);
}

.ts-topic:hover .ts-icon {
	color: #fff;
}

.ts-listing__layout {
	display: grid;
	grid-template-columns: 290px minmax(0, 1fr);
	gap: 30px;
	align-items: start;
}

/* Filters: sidebar accordions on desktop, a drawer on phones. */
.ts-filters__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 8px 10px;
	border-bottom: 1px solid var(--line);
}

.ts-filters__title {
	margin: 0;
	color: #b8bcc4;
	font-family: var(--font-body);
	font-size: 15px;
	font-weight: 500;
}

.ts-filters__close,
.ts-filters__foot,
.ts-filters__scrim {
	display: none;
}

.ts-facet {
	border-bottom: 1px solid #c9cdd4;
}

.ts-facet__title {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 10px 10px;
	color: var(--ink);
	font-size: 15px;
	font-weight: 500;
	text-transform: uppercase;
	list-style: none;
	cursor: pointer;
}

.ts-facet__title::-webkit-details-marker {
	display: none;
}

.ts-facet__title .ts-icon {
	margin-left: auto;
	color: var(--accent);
	transform: rotate(-90deg);
	transition: transform .2s;
}

.ts-facet[open] > .ts-facet__title {
	color: var(--accent);
}

.ts-facet[open] > .ts-facet__title .ts-icon {
	transform: none;
}

.ts-facet__n {
	display: inline-grid;
	place-items: center;
	min-width: 20px;
	height: 20px;
	padding: 0 5px;
	border-radius: 10px;
	background: var(--accent);
	color: #fff;
	font-size: 12px;
}

.ts-facet__list {
	display: grid;
	gap: 2px;
	max-height: 320px;
	overflow-y: auto;
	padding: 0 10px 14px;
}

.ts-facet__opt {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 6px 0;
	color: #4d4d4d;
	font-size: 15px;
	line-height: 1.3;
}

.ts-facet__opt:hover {
	color: var(--accent);
}

.ts-facet__opt.is-empty {
	opacity: .45;
}

.ts-facet__box {
	display: grid;
	place-items: center;
	flex: none;
	width: 16px;
	height: 16px;
	border: 1px solid #9aa0a8;
	background: #fff;
	color: transparent;
}

.ts-facet__opt.is-on .ts-facet__box {
	border-color: var(--accent);
	background: var(--accent);
	color: #fff;
}

.ts-facet__swatch {
	flex: none;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: var(--swatch, #ccc);
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15);
}

.ts-facet__opt.is-on .ts-facet__swatch {
	box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--accent);
}

.ts-facet__count {
	margin-left: auto;
	color: #9aa0a8;
	font-size: 13px;
}

.ts-facet__list--sizes {
	grid-template-columns: repeat(4, 1fr);
	gap: 6px;
}

.ts-facet__list--sizes .ts-facet__opt {
	justify-content: center;
	min-height: 38px;
	padding: 6px 4px;
	border: 1px solid #c9cdd4;
	font-size: 14px;
}

.ts-facet__list--sizes .ts-facet__opt.is-on {
	border-color: var(--slate);
	background: var(--slate);
	color: #fff;
}

.ts-facet--flat {
	padding: 6px 10px;
}

.ts-price {
	display: grid;
	grid-template-columns: 1fr 1fr auto;
	gap: 8px;
	align-items: end;
	padding: 0 10px 14px;
}

.ts-price__field {
	display: grid;
	gap: 4px;
	font-size: 13px;
	color: #6b727c;
}

.ts-price__field input {
	width: 100%;
	min-height: 38px;
	padding: 6px 8px;
	border-width: 1px;
}

.ts-filters__active {
	padding: 12px 10px;
	border-bottom: 1px solid var(--line);
}

.ts-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 10px;
}

.ts-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 10px;
	background: var(--soft);
	font-size: 13px;
}

.ts-chip:hover {
	background: var(--accent);
	color: #fff;
}

.ts-filters__clear {
	font-size: 13px;
	text-decoration: underline;
}

.ts-toolbar {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 26px;
}

.ts-toolbar__filter {
	display: none;
}

.ts-toolbar__count {
	margin: 0;
	color: #9aa0a8;
	font-weight: 500;
}

.ts-toolbar__sort {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-left: auto;
}

.ts-toolbar__label {
	color: #b8bcc4;
	font-weight: 500;
	text-transform: uppercase;
}

.woocommerce-ordering {
	margin: 0;
}

.woocommerce-ordering select {
	min-height: 36px;
	padding: 4px 38px 4px 12px;
	min-width: 220px;
}

ul.products.ts-grid,
.ts-listing__main ul.products {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px 20px;
	margin: 0;
	padding: 0;
}

ul.products.ts-grid--wide {
	grid-template-columns: repeat(5, minmax(0, 1fr));
}

ul.products::before,
ul.products::after {
	display: none;
}

.ts-more {
	display: grid;
	justify-items: center;
	gap: 12px;
	margin: 30px 0 10px;
}

.ts-more__count {
	margin: 0;
	color: #6b727c;
	font-size: 14px;
}

.ts-more__bar {
	display: block;
	width: 220px;
	height: 3px;
	background: var(--line);
}

.ts-more__bar span {
	display: block;
	height: 100%;
	background: var(--accent);
}

.woocommerce-pagination {
	margin-top: 20px;
	text-align: center;
}

.woocommerce-pagination ul.page-numbers {
	display: inline-flex;
	gap: 4px;
}

.woocommerce-pagination .page-numbers a,
.woocommerce-pagination .page-numbers span {
	display: grid;
	place-items: center;
	min-width: 38px;
	height: 38px;
	padding: 0 8px;
	border: 1px solid var(--line);
	font-size: 14px;
}

.woocommerce-pagination .page-numbers .current {
	border-color: var(--slate);
	background: var(--slate);
	color: #fff;
}

.woocommerce-pagination .page-numbers a:hover {
	border-color: var(--accent);
	color: var(--accent);
}

.ts-empty {
	display: grid;
	justify-items: center;
	gap: 14px;
	padding: 60px 20px;
	background: var(--soft);
	text-align: center;
}

.ts-empty p {
	margin: 0;
}

/* ----------------------------------------------------- product page -- */

.ts-pdp__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}

.ts-pdp__wishlink {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	flex: none;
	padding: 0;
	border: 0;
	background: none;
	color: var(--ink);
	font-size: 15px;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.ts-pdp__wishlink .ts-icon {
	color: var(--accent);
}

.ts-pdp__wishlink.is-on .ts-icon path {
	fill: currentColor;
}

.ts-pdp {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 600px);
	gap: 50px;
	align-items: start;
	padding: 10px 0 40px;
}

.ts-gallery {
	display: grid;
	grid-template-columns: 92px minmax(0, 1fr);
	gap: 20px;
}

.ts-gallery__thumbs {
	display: grid;
	gap: 10px;
	align-content: start;
	max-height: 620px;
	overflow-y: auto;
	scrollbar-width: thin;
}

.ts-gallery__thumb {
	display: block;
	width: 100%;
	padding: 0;
	border: 1px solid var(--line);
	background: #fff;
	aspect-ratio: 4 / 5;
	overflow: hidden;
}

.ts-gallery__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ts-gallery__thumb.is-active {
	border: 2px solid var(--slate);
}

.ts-gallery__stage {
	position: relative;
}

.ts-gallery__track {
	display: flex;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}

.ts-gallery__track::-webkit-scrollbar {
	display: none;
}

.ts-gallery__slide {
	flex: 0 0 100%;
	scroll-snap-align: start;
	aspect-ratio: 4 / 5;
	background: #fff;
}

.ts-gallery__slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ts-gallery__nav {
	position: absolute;
	top: 50%;
	display: grid;
	place-items: center;
	width: 30px;
	height: 70px;
	margin-top: -35px;
	border: 0;
	background: #c0c1c5;
	color: #fff;
}

.ts-gallery__nav:hover {
	background: var(--slate);
}

.ts-gallery__nav--prev {
	left: 0;
}

.ts-gallery__nav--next {
	right: 0;
}

.ts-gallery__dots {
	display: none;
}

.ts-gallery__flag {
	left: 12px;
	top: 12px;
}

.ts-pdp__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 20px;
}

.ts-pdp__title {
	display: grid;
	margin: 0 0 6px;
	font-size: 24px;
	line-height: 1.1;
}

.ts-pdp__brand:hover {
	color: var(--accent);
}

.ts-pdp__brandlogo img {
	max-width: 90px;
	max-height: 50px;
	filter: grayscale(1);
	opacity: .7;
}

.ts-pdp__sku {
	margin: 0;
	color: var(--muted);
	font-size: 15px;
}

.ts-pdp__pricebox {
	margin: 26px 0 22px;
}

.ts-pdp__price {
	margin: 0;
	font-size: 32px;
	font-weight: 500;
	line-height: 1.1;
}

.ts-pdp__price del {
	margin-left: 8px;
	font-size: 15px;
	font-weight: 300;
	color: var(--ink);
}

.ts-pdp__price ins,
.ts-pdp__price.is-sale > .woocommerce-Price-amount {
	color: var(--accent);
	text-decoration: none;
}

.ts-pdp__save {
	margin: 8px 0 0;
	color: var(--accent);
	font-size: 16px;
}

.ts-pdp__taxnote {
	margin: 12px 0 0;
	font-size: 14px;
	color: #5b6574;
}

.ts-pdp__taxnote a {
	text-decoration: underline;
}

/* Variation form: WooCommerce's table, drawn as rows of swatches and
   size buttons (see initSwatches() in main.js). */
.ts-pdp__buy form.cart {
	margin: 0;
}

.ts-pdp__buy table.variations {
	width: 100%;
	margin: 0 0 8px;
	border-collapse: collapse;
}

.ts-pdp__buy table.variations tr {
	display: grid;
	gap: 8px;
	margin-bottom: 16px;
}

.ts-pdp__buy table.variations th,
.ts-pdp__buy table.variations td {
	display: block;
	padding: 0;
	text-align: left;
}

.ts-pdp__buy table.variations label {
	font-size: 15px;
	font-weight: 500;
	text-transform: uppercase;
}

.ts-options__chosen {
	margin-left: 8px;
	color: var(--muted);
	font-weight: 400;
	text-transform: none;
}

.ts-options__chosen:not(:empty)::before {
	content: "· ";
}

.ts-options {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.ts-option {
	position: relative;
	min-width: 52px;
	min-height: 44px;
	padding: 8px 12px;
	border: 2px solid #c9cdd4;
	background: #fff;
	font-size: 15px;
	font-weight: 500;
	transition: border-color .12s;
}

.ts-option:hover {
	border-color: var(--slate);
}

.ts-option.is-on {
	border-color: var(--slate);
	background: var(--slate);
	color: #fff;
}

.ts-option.is-unavailable {
	color: #a4a9b1;
	background: repeating-linear-gradient(135deg, transparent 0 7px, #eef0f3 7px 8px), #fff;
}

.ts-option.is-unavailable.is-on {
	background: #8a9099;
	border-color: #8a9099;
	color: #fff;
}

.ts-option--swatch {
	width: 44px;
	min-width: 44px;
	padding: 0;
	border-radius: 50%;
	border: 2px solid #fff;
	background: var(--swatch, #ccc);
	box-shadow: 0 0 0 1px #c9cdd4;
}

.ts-option--swatch.is-on {
	background: var(--swatch, #ccc);
	border-color: #fff;
	box-shadow: 0 0 0 2px var(--slate);
}

.ts-option--swatch.is-unavailable {
	opacity: .45;
	background: var(--swatch, #ccc);
}

.ts-pdp__buy .reset_variations {
	display: none !important;
}

.ts-pdp__buy .single_variation_wrap {
	margin-top: 4px;
}

.ts-pdp__buy .woocommerce-variation-price {
	display: none;
}

.ts-pdp__buy .woocommerce-variation-availability p,
.ts-pdp__buy p.stock,
.ts-stock {
	margin: 0 0 14px;
	color: var(--ok);
	font-size: 15px;
	font-weight: 500;
}

.ts-pdp__buy p.stock.out-of-stock,
.ts-stock--out {
	color: var(--danger);
}

.ts-pdp__buy p.stock.ts-stock--low {
	color: var(--accent);
}

.ts-pdp__buy .woocommerce-variation-add-to-cart,
.ts-pdp__buy form.cart:not(.variations_form) {
	display: flex;
	gap: 20px;
}

.ts-pdp__buy .quantity input.qty {
	width: 84px;
	min-height: 47px;
	text-align: center;
}

.ts-pdp__buy .single_add_to_cart_button {
	flex: 1;
	max-width: 340px;
	min-height: 47px;
	padding: 14px 20px;
	border: 0;
	background: var(--accent);
	color: #fff;
	font-size: 16px;
	font-weight: 500;
	text-transform: uppercase;
}

.ts-pdp__buy .single_add_to_cart_button:hover {
	background: var(--accent-dark);
}

.ts-pdp__buy .single_add_to_cart_button.disabled {
	opacity: .55;
}

.ts-pdp__buy form.is-incomplete .ts-options {
	animation: ts-shake .4s;
}

.ts-pdp__buy form.is-incomplete table.variations label {
	color: var(--accent);
}

@keyframes ts-shake {
	25% { transform: translateX(-5px); }
	75% { transform: translateX(5px); }
}

.ts-pdp__promises {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px 24px;
	margin-top: 30px;
	padding-top: 24px;
	border-top: 1px solid var(--line);
	font-size: 14px;
}

.ts-pdp__promises li {
	display: flex;
	gap: 10px;
	line-height: 1.45;
}

.ts-pdp__promises .ts-icon {
	flex: none;
	color: var(--accent);
}

/* Tabs on desktop, stacked sections on phones. */
.ts-tabs {
	margin: 10px 0 20px;
	border-top: 1px solid var(--line);
}

.ts-tabs__list {
	display: flex;
	gap: 6px;
	border-bottom: 2px solid var(--slate);
}

.ts-tabs__tab {
	padding: 14px 20px;
	border: 0;
	background: var(--soft);
	font-family: var(--font-head);
	font-size: 17px;
	font-weight: 700;
	text-transform: uppercase;
}

.ts-tabs__tab.is-active {
	background: var(--slate);
	color: #fff;
}

.ts-tabs__panel {
	max-width: 900px;
	padding: 28px 0 10px;
}

.ts-tabs__heading {
	display: none;
}

.ts-prose {
	line-height: 1.7;
}

.ts-prose a {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.ts-prose h2 {
	margin-top: 1.6em;
	font-size: 22px;
}

.ts-prose ul {
	list-style: disc;
	padding-left: 1.2em;
	margin-bottom: 1em;
}

.ts-specs {
	width: 100%;
	max-width: 680px;
	border-collapse: collapse;
}

.ts-specs th,
.ts-specs td {
	padding: 11px 14px;
	border-bottom: 1px solid var(--line);
	text-align: left;
	vertical-align: top;
}

.ts-specs th {
	width: 38%;
	background: var(--soft);
	font-weight: 500;
}

/* ----------------------------------------------------------- drawers -- */

.ts-drawer {
	position: fixed;
	inset: 0;
	z-index: 100;
}

.ts-drawer__scrim,
.ts-filters__scrim {
	position: absolute;
	inset: 0;
	width: 100%;
	border: 0;
	background: rgba(0, 0, 0, .6);
	opacity: 0;
	transition: opacity .25s;
}

.ts-drawer.is-open .ts-drawer__scrim {
	opacity: 1;
}

.ts-drawer__panel {
	position: absolute;
	top: 0;
	bottom: 0;
	right: 0;
	display: flex;
	flex-direction: column;
	width: min(440px, 92vw);
	background: #fff;
	box-shadow: 0 0 40px rgba(0, 0, 0, .2);
	transform: translateX(100%);
	transition: transform .28s var(--ease);
}

.ts-drawer.is-open .ts-drawer__panel {
	transform: none;
}

.ts-drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 14px 14px 24px;
	background: var(--slate);
	color: #fff;
}

.ts-drawer__title {
	margin: 0;
	font-size: 22px;
	color: #fff;
}

.ts-drawer__added {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 10px 24px;
	background: #e7f3ec;
	color: var(--ok);
	font-weight: 500;
	font-size: 14px;
}

.ts-drawer--cart .widget_shopping_cart_content {
	flex: 1;
	display: flex;
	flex-direction: column;
	min-height: 0;
}

.ts-minicart__items {
	flex: 1;
	overflow-y: auto;
	padding: 4px 24px;
}

.ts-minicart__item {
	display: grid;
	grid-template-columns: 84px 1fr;
	gap: 16px;
	padding: 16px 0;
	border-bottom: 1px solid var(--line);
}

.ts-minicart__media {
	display: block;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	background: #fff;
	border: 1px solid var(--line);
}

.ts-minicart__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ts-minicart__brand {
	margin: 0;
	font-size: 13px;
	font-weight: 500;
	text-transform: uppercase;
}

.ts-minicart__name {
	display: block;
	color: var(--muted);
	line-height: 1.35;
}

.ts-minicart__body dl.variation {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 0 6px;
	margin: 6px 0 0;
	font-size: 13px;
}

.ts-minicart__body dl.variation dt {
	color: var(--muted);
}

.ts-minicart__body dl.variation dd,
.ts-minicart__body dl.variation p {
	margin: 0;
}

.ts-minicart__price {
	margin: 6px 0;
	font-weight: 500;
}

.ts-minicart__remove {
	font-size: 13px;
	color: var(--muted);
	text-decoration: underline;
}

.ts-minicart__foot {
	padding: 18px 24px 24px;
	border-top: 1px solid var(--line);
}

.ts-minicart__total {
	display: flex;
	justify-content: space-between;
	margin: 14px 0 4px;
	font-family: var(--font-head);
	font-size: 20px;
	font-weight: 700;
	text-transform: uppercase;
}

.ts-minicart__note {
	margin: 0 0 16px;
	color: var(--muted);
	font-size: 13px;
}

.ts-minicart__buttons {
	display: grid;
	gap: 10px;
	margin: 0;
}

.ts-minicart__buttons .button {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 47px;
	border: 2px solid var(--slate);
	background: #fff;
	color: var(--slate);
	font-size: 15px;
	font-weight: 500;
	text-transform: uppercase;
}

.ts-minicart__buttons .button.checkout {
	order: -1;
	border-color: var(--accent);
	background: var(--accent);
	color: #fff;
}

.ts-minicart__buttons .button:hover {
	border-color: var(--slate);
	background: var(--slate);
	color: #fff;
}

.ts-minicart__empty {
	flex: 1;
	display: grid;
	place-content: center;
	justify-items: center;
	gap: 14px;
	padding: 40px 24px;
	color: var(--muted);
	text-align: center;
}

.ts-freeship__text {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 8px;
	font-size: 14px;
}

.ts-freeship__text .ts-icon {
	color: var(--accent);
}

.ts-freeship__bar {
	display: block;
	height: 4px;
	background: var(--line);
}

.ts-freeship__bar span {
	display: block;
	height: 100%;
	background: var(--accent);
	transition: width .4s var(--ease);
}

/* ------------------------------------------- pages, cart, checkout -- */

.ts-page {
	padding: 10px 0 var(--section);
}

.ts-pagehead {
	margin: 20px 0 30px;
}

.ts-pagehead__title {
	position: relative;
	margin: 0;
	padding: 10px 0;
	font-size: 30px;
	text-align: center;
}

.ts-pagehead__title::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 50%;
	height: 1px;
	background: var(--line);
	z-index: -1;
}

.ts-page .ts-prose {
	font-size: 16px;
}

/* WooCommerce functional bits its own (dequeued) stylesheet used to draw. */
.blockUI.blockOverlay {
	position: relative;
}

.blockUI.blockOverlay::before,
.woocommerce .loader::before {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 28px;
	height: 28px;
	margin: -14px 0 0 -14px;
	border: 3px solid #e2e2e2;
	border-top-color: var(--accent);
	border-radius: 50%;
	animation: ts-spin .8s linear infinite;
}

@keyframes ts-spin {
	to { transform: rotate(360deg); }
}

.ts-woo .woocommerce-invalid input.input-text,
.ts-woo .woocommerce-invalid select {
	border-color: var(--danger);
}

.woocommerce-password-strength {
	margin-top: 6px;
	padding: 4px 8px;
	font-size: 13px;
	background: var(--soft);
}

.ts-woo .woocommerce-form__label-for-checkbox {
	display: flex !important;
	align-items: center;
	gap: 8px;
}

.ts-woo fieldset {
	margin: 0 0 16px;
	padding: 0;
	border: 0;
}

.ts-woo abbr[title] {
	text-decoration: none;
}

.ts-woo .password-input {
	position: relative;
	display: block;
}

.ts-woo .show-password-input {
	position: absolute;
	right: 4px;
	top: 50%;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 0;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23717d91' stroke-width='1.6'%3E%3Cpath d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center / 20px no-repeat;
	transform: translateY(-50%);
}

.ts-woo .woocommerce-input-wrapper {
	display: block;
}

.woocommerce-notices-wrapper:empty {
	display: none;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin: 0 0 24px;
	padding: 14px 18px;
	border-left: 4px solid var(--accent);
	background: #fdf2ec;
	list-style: none;
	font-size: 15px;
}

.woocommerce-error {
	border-left-color: var(--danger);
	background: #fdf0ef;
}

.woocommerce-message .button,
.woocommerce-info .button {
	order: 2;
	margin-left: auto;
	padding: 0;
	border: 0;
	background: none;
	font-weight: 500;
	text-decoration: underline;
}

.ts-woo .button,
.ts-woo button.button,
.ts-woo a.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 45px;
	padding: 13px 22px;
	border: 0;
	border-radius: 0;
	background: var(--slate);
	color: #fff;
	font-size: 16px;
	font-weight: 500;
	line-height: 1;
	text-transform: uppercase;
}

.ts-woo .button:hover {
	background: #1f2328;
	color: #fff;
}

.ts-woo .button.alt,
.ts-woo .checkout-button,
.ts-woo #place_order {
	background: var(--accent);
}

.ts-woo .button.alt:hover,
.ts-woo .checkout-button:hover,
.ts-woo #place_order:hover {
	background: var(--accent-dark);
}

.ts-woo .button:disabled,
.ts-woo .button.disabled {
	opacity: .5;
}

.ts-woo label {
	display: block;
	margin-bottom: 6px;
	font-size: 14px;
	font-weight: 500;
}

.ts-woo .required {
	color: var(--danger);
	text-decoration: none;
	border: 0;
}

.ts-woo .form-row {
	margin: 0 0 16px;
	padding: 0;
}

.ts-woo .form-row .input-text,
.ts-woo .form-row select,
.ts-woo .form-row textarea {
	width: 100%;
	border-width: 1px;
	border-color: #b8bdc5;
}

.ts-woo .form-row .input-text:focus,
.ts-woo .form-row textarea:focus {
	border-color: var(--slate);
}

.ts-woo textarea {
	height: 110px;
}

.ts-woo .select2-container .select2-selection--single {
	height: 46px;
	border: 1px solid #b8bdc5;
	border-radius: 0;
}

.ts-woo .select2-container .select2-selection--single .select2-selection__rendered {
	line-height: 44px;
	padding-left: 14px;
}

.ts-woo .select2-container .select2-selection--single .select2-selection__arrow {
	height: 44px;
}

/* Cart. */
.woocommerce-cart .ts-woo .woocommerce {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 380px;
	gap: 40px;
	align-items: start;
}

.woocommerce-cart .ts-woo .woocommerce-notices-wrapper,
.woocommerce-cart .ts-woo .cart-empty,
.woocommerce-cart .ts-woo .return-to-shop {
	grid-column: 1 / -1;
}

.ts-woo table.shop_table {
	width: 100%;
	border-collapse: collapse;
	margin: 0;
}

.ts-woo table.shop_table th {
	padding: 0 0 12px;
	border-bottom: 2px solid var(--slate);
	font-family: var(--font-head);
	font-size: 15px;
	font-weight: 700;
	text-transform: uppercase;
	text-align: left;
}

.ts-woo table.shop_table td {
	padding: 18px 0;
	border-bottom: 1px solid var(--line);
	vertical-align: middle;
}

.ts-woo table.cart .product-remove {
	width: 40px;
}

.ts-woo table.cart .product-remove a {
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	color: var(--muted);
}

.ts-woo table.cart .product-remove a:hover {
	color: var(--danger);
}

.ts-woo table.cart .product-thumbnail {
	display: none;
}

.ts-woo table.cart .product-quantity input.qty {
	width: 72px;
	min-height: 42px;
	border-width: 1px;
	text-align: center;
}

.ts-woo table.cart td.actions {
	padding-top: 22px;
	border-bottom: 0;
}

.ts-woo table.cart td.actions .coupon {
	display: flex;
	gap: 10px;
	max-width: 480px;
}

.ts-woo table.cart td.actions .coupon label {
	display: none;
}

.ts-woo table.cart td.actions .coupon .input-text {
	flex: 1;
	border-width: 2px;
}

.ts-woo table.cart td.actions > .button {
	display: none;
}

.ts-cartitem {
	display: flex;
	align-items: center;
	gap: 16px;
}

.ts-cartitem__media {
	position: relative;
	flex: none;
	width: 84px;
	aspect-ratio: 4 / 5;
	border: 1px solid var(--line);
	background: #fff;
}

.ts-cartitem__thumb {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ts-cartitem__qty {
	display: none;
}

.ts-cartitem__text {
	display: grid;
	gap: 2px;
}

.ts-cartitem__brand {
	font-size: 13px;
	font-weight: 500;
	text-transform: uppercase;
}

.ts-cartitem__name {
	color: var(--muted);
}

.ts-woo td.product-name dl.variation {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 0 6px;
	margin: 6px 0 0 100px;
	font-size: 13px;
}

.ts-woo td.product-name dl.variation dd,
.ts-woo td.product-name dl.variation p {
	margin: 0;
}

.cart-collaterals {
	position: sticky;
	top: 160px;
	padding: 26px;
	background: var(--soft);
}

.cart-collaterals .cart_totals {
	width: 100% !important;
	float: none !important;
}

.cart-collaterals h2 {
	font-size: 22px;
}

.cart-collaterals table.shop_table th,
.cart-collaterals table.shop_table td {
	padding: 12px 0;
	border-bottom: 1px solid #d9dce2;
	font-family: var(--font-body);
	font-size: 15px;
	font-weight: 400;
	text-transform: none;
	vertical-align: top;
}

.cart-collaterals table.shop_table td {
	text-align: right;
}

.cart-collaterals .order-total th,
.cart-collaterals .order-total td {
	font-family: var(--font-head);
	font-size: 20px;
	font-weight: 700;
	border-bottom: 0;
}

.woocommerce-shipping-methods {
	margin: 0;
	padding: 0;
	list-style: none;
}

.woocommerce-shipping-methods li {
	display: flex;
	justify-content: flex-end;
	gap: 6px;
	margin-bottom: 6px;
	text-align: right;
}

.woocommerce-shipping-methods li label {
	display: inline;
	margin: 0;
	font-weight: 400;
}

.woocommerce-shipping-destination,
.woocommerce-shipping-calculator {
	margin: 6px 0 0;
	color: var(--muted);
	font-size: 13px;
}

.wc-proceed-to-checkout {
	padding-top: 16px;
}

.wc-proceed-to-checkout .checkout-button {
	width: 100%;
	min-height: 52px;
}

.ts-woo .ts-freeship {
	margin-bottom: 20px;
}

.cart-empty.woocommerce-info {
	justify-content: center;
	padding: 40px;
	border: 0;
	background: var(--soft);
	font-size: 18px;
}

.return-to-shop {
	text-align: center;
}

/* Checkout. */
.woocommerce-checkout .ts-woo form.checkout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 440px;
	gap: 18px 50px;
	align-items: start;
}

.woocommerce-checkout .ts-woo form.checkout > .woocommerce-NoticeGroup,
.woocommerce-checkout .ts-woo form.checkout > .woocommerce-notices-wrapper {
	grid-column: 1 / -1;
}

.woocommerce-checkout .ts-woo #customer_details {
	grid-column: 1;
	grid-row: 2 / span 2;
}

.woocommerce-checkout .ts-woo #customer_details .col-1,
.woocommerce-checkout .ts-woo #customer_details .col-2 {
	width: 100%;
	float: none;
}

.woocommerce-checkout .ts-woo #order_review_heading,
.woocommerce-checkout .ts-woo #order_review {
	grid-column: 2;
	margin: 0;
	background: var(--soft);
}

.woocommerce-checkout .ts-woo #order_review_heading {
	padding: 26px 26px 0;
	font-size: 22px;
}

.woocommerce-checkout .ts-woo #order_review {
	position: sticky;
	top: 160px;
	padding: 0 26px 26px;
}

.woocommerce-checkout .ts-woo h3 {
	font-size: 22px;
	margin: 0 0 18px;
}

.woocommerce-checkout .ts-woo .woocommerce-billing-fields__field-wrapper {
	display: grid;
	grid-template-columns: 1fr 1fr;
	column-gap: 16px;
}

.woocommerce-checkout .ts-woo .form-row-wide,
.woocommerce-checkout .ts-woo #billing_address_1_field,
.woocommerce-checkout .ts-woo #billing_email_field,
.woocommerce-checkout .ts-woo #billing_country_field {
	grid-column: 1 / -1;
}

.woocommerce-checkout .ts-woo .form-row-first,
.woocommerce-checkout .ts-woo .form-row-last {
	width: auto;
	float: none;
}

.woocommerce-checkout .ts-woo .woocommerce-checkout-review-order-table .product-name {
	padding-right: 12px;
}

.woocommerce-checkout .ts-woo .woocommerce-checkout-review-order-table .product-quantity,
.woocommerce-checkout .ts-woo .woocommerce-checkout-review-order-table thead {
	display: none;
}

.woocommerce-checkout .ts-woo .ts-cartitem__media {
	width: 60px;
}

.woocommerce-checkout .ts-woo .ts-cartitem__qty {
	position: absolute;
	right: -8px;
	top: -8px;
	display: grid;
	place-items: center;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--slate);
	color: #fff;
	font-size: 12px;
}

.woocommerce-checkout .ts-woo td.product-name dl.variation {
	margin-left: 76px;
}

.woocommerce-checkout .ts-woo .woocommerce-checkout-review-order-table td,
.woocommerce-checkout .ts-woo .woocommerce-checkout-review-order-table th {
	padding: 12px 0;
	border-bottom: 1px solid #d9dce2;
	font-family: var(--font-body);
	font-size: 15px;
	font-weight: 400;
	text-transform: none;
}

.woocommerce-checkout .ts-woo .woocommerce-checkout-review-order-table td:last-child {
	text-align: right;
}

.woocommerce-checkout .ts-woo .woocommerce-checkout-review-order-table .order-total th,
.woocommerce-checkout .ts-woo .woocommerce-checkout-review-order-table .order-total td {
	font-family: var(--font-head);
	font-size: 20px;
	font-weight: 700;
}

.woocommerce-checkout .ts-woo #payment {
	margin-top: 22px;
}

.woocommerce-checkout .ts-woo #payment ul.payment_methods {
	margin: 0;
	padding: 0;
	list-style: none;
}

.woocommerce-checkout .ts-woo #payment ul.payment_methods li {
	padding: 16px;
	border: 2px solid var(--slate);
	background: #fff;
}

.woocommerce-checkout .ts-woo #payment ul.payment_methods li label {
	display: inline;
	font-size: 15px;
	font-weight: 700;
}

.woocommerce-checkout .ts-woo #payment div.payment_box {
	margin: 10px 0 0;
	color: var(--muted);
	font-size: 14px;
}

.woocommerce-checkout .ts-woo #payment div.payment_box p {
	margin: 0;
}

.woocommerce-checkout .ts-woo #payment .place-order {
	padding: 18px 0 0;
}

.woocommerce-checkout .ts-woo #place_order {
	width: 100%;
	min-height: 54px;
}

.woocommerce-checkout .ts-woo .woocommerce-privacy-policy-text {
	font-size: 13px;
	color: var(--muted);
}

.woocommerce-checkout .ts-woo .woocommerce-form-coupon-toggle .woocommerce-info,
.woocommerce-checkout .ts-woo .woocommerce-form-login-toggle .woocommerce-info {
	border-left-color: var(--slate);
	background: var(--soft);
}

.woocommerce-checkout .ts-woo form.checkout_coupon {
	display: flex;
	gap: 10px;
	max-width: 520px;
	margin: 0 0 24px;
	padding: 16px;
	border: 1px solid var(--line);
}

.woocommerce-checkout .ts-woo form.checkout_coupon p:first-child {
	display: none;
}

.woocommerce-checkout .ts-woo form.checkout_coupon .form-row {
	margin: 0;
}

.woocommerce-checkout .ts-woo form.checkout_coupon .form-row-first {
	flex: 1;
}

/* Order received. */
.woocommerce-order {
	max-width: 1080px;
	margin: 0 auto;
}

.woocommerce-thankyou-order-received {
	padding: 22px;
	background: #e7f3ec;
	color: var(--ok);
	font-family: var(--font-head);
	font-size: 22px;
	font-weight: 700;
	text-align: center;
	text-transform: uppercase;
}

ul.woocommerce-order-overview {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 0 0 32px;
	padding: 0;
}

ul.woocommerce-order-overview li {
	flex: 1 1 auto;
	min-width: 140px;
	padding: 14px;
	border: 1px solid var(--line);
	color: var(--muted);
	font-size: 13px;
	text-transform: uppercase;
}

ul.woocommerce-order-overview li strong {
	display: block;
	margin-top: 4px;
	color: var(--ink);
	font-size: 16px;
	text-transform: none;
	overflow-wrap: anywhere;
}

.woocommerce-table--order-details th,
.woocommerce-table--order-details td {
	padding: 14px 0 !important;
	border-bottom: 1px solid var(--line) !important;
	text-align: left;
}

.woocommerce-table--order-details td:last-child,
.woocommerce-table--order-details th:last-child:not(:first-child) {
	text-align: right;
}

.woocommerce-order-details,
.woocommerce-customer-details {
	margin-bottom: 36px;
}

.woocommerce-customer-details address {
	padding: 20px;
	border: 1px solid var(--line);
	font-style: normal;
	line-height: 1.7;
}

/* Account. */
.woocommerce-account .ts-woo .woocommerce {
	display: grid;
	grid-template-columns: 240px minmax(0, 1fr);
	gap: 40px;
}

.woocommerce-account .ts-woo .woocommerce > .woocommerce-notices-wrapper {
	grid-column: 1 / -1;
}

.woocommerce-account:not(.logged-in) .ts-woo .woocommerce {
	display: block;
}

.woocommerce-MyAccount-navigation {
	width: auto !important;
	float: none !important;
}

.woocommerce-MyAccount-navigation li a {
	display: block;
	padding: 12px 14px;
	border-bottom: 1px solid var(--line);
	font-weight: 500;
	text-transform: uppercase;
}

.woocommerce-MyAccount-navigation li.is-active a {
	background: var(--slate);
	color: #fff;
}

.woocommerce-MyAccount-content {
	width: auto !important;
	float: none !important;
}

#customer_login {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	max-width: 960px;
	margin: 0 auto;
}

#customer_login .u-column1,
#customer_login .u-column2 {
	width: auto;
	float: none;
	padding: 30px;
	background: var(--soft);
}

#customer_login h2 {
	font-size: 24px;
}

.woocommerce-form-login__rememberme {
	margin: 0 0 14px !important;
}

.woocommerce-LostPassword a {
	font-size: 14px;
	text-decoration: underline;
}

/* 404. */
.ts-404 {
	padding: 60px 0 20px;
	text-align: center;
}

.ts-404__code {
	margin: 0;
	color: var(--accent);
	font-family: var(--font-head);
	font-size: clamp(90px, 14vw, 170px);
	font-weight: 800;
	line-height: 1;
}

.ts-404__title {
	font-size: clamp(26px, 3vw, 38px);
}

.ts-404__text {
	max-width: 540px;
	margin: 0 auto 26px;
	color: #5b6574;
}

.ts-search--page {
	width: min(520px, 100%);
	margin: 0 auto 22px;
}

.ts-search--page .ts-search__field {
	border-color: var(--slate);
}

.ts-404__links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
}

/* Blog fallback. */
.ts-posts {
	display: grid;
	gap: 24px;
}

.ts-post__title {
	font-size: 22px;
}

/* ---------------------------------------------------------- tablet -- */

@media (max-width: 1260px) {
	.ts-carousel__nav--prev {
		left: 0;
	}

	.ts-carousel__nav--next {
		right: 0;
	}

	.ts-header__tools .ts-tool__label {
		display: none;
	}
}

@media (max-width: 1100px) {
	.ts-carousel__track {
		grid-auto-columns: calc((100% - 3 * 20px) / 4);
	}


	ul.products.ts-grid,
	.ts-listing__main ul.products {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	ul.products.ts-grid--wide {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.ts-pdp {
		gap: 30px;
	}

	.ts-footer__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* ----------------------------------------- phones & small tablets -- */

@media (max-width: 1023px) {
	:root {
		--section: 40px;
	}

	.ts-wrap {
		padding: 0 12px;
	}

	/* Header: logo and icons, then menu button and search, as on the
	   reference's phone layout. */
	.ts-header {
		top: 0;
		background: var(--slate);
	}

	.home .ts-header {
		background: var(--slate);
	}

	.ts-topbar {
		display: none;
	}

	.ts-header__main {
		display: grid;
		grid-template-columns: 60px 1fr auto;
		grid-template-areas:
			"logo logo tools"
			"menu search search";
		gap: 0;
		height: auto;
		padding: 0;
	}

	.ts-header__logo {
		grid-area: logo;
		padding: 16px 12px;
	}

	.ts-header__logo .ts-wordmark {
		width: 170px;
	}

	.ts-header__tools {
		grid-area: tools;
		gap: 12px;
		padding-right: 12px;
	}

	.ts-header__account {
		display: none;
	}

	.ts-tool__label {
		display: none;
	}

	.ts-header__menu {
		grid-area: menu;
		display: grid;
		place-items: center;
		height: 52px;
		border: 0;
		background: #3a3f48;
	}

	.ts-header__search {
		grid-area: search;
		max-width: none;
		margin: 0;
	}

	.ts-header__search .ts-search__field {
		min-height: 52px;
		border: 0;
		background: var(--field);
	}

	.ts-header__search .ts-search__submit {
		width: 52px;
	}

	/* The nav drops down under the header as an accordion. */
	.ts-nav {
		position: absolute;
		left: 0;
		right: 0;
		top: 100%;
		display: none;
		max-height: calc(100vh - 124px);
		overflow-y: auto;
		background: var(--mega);
		border-top: 0;
		box-shadow: 0 20px 30px rgba(0, 0, 0, .3);
	}

	.ts-menu-open .ts-nav {
		display: block;
	}

	.ts-menu {
		display: block;
		padding: 0;
	}

	.ts-menu > li {
		position: relative;
		border-bottom: 1px solid #4a505b;
	}

	.ts-menu > li > a {
		padding: 12px 60px 12px 24px;
	}

	.ts-menu > li > a:hover {
		background: none;
	}

	.ts-menu > li.is-department > a::after,
	.ts-menu > li.current-menu-item > a::after {
		display: none;
	}

	.ts-menu > li.ts-sale {
		margin: 0;
		padding: 0;
	}

	.ts-menu > li.ts-sale > a {
		padding: 12px 24px;
		background: none;
		color: #ff9b6b;
	}

	.ts-acc {
		position: absolute;
		right: 6px;
		top: 4px;
		display: block;
		width: 44px;
		height: 44px;
		border: 0;
		background: none;
		color: #fff;
	}

	.ts-acc::before,
	.ts-acc::after {
		content: "";
		position: absolute;
		left: 50%;
		top: 50%;
		width: 14px;
		height: 2px;
		margin: -1px 0 0 -7px;
		background: currentColor;
		transition: transform .2s;
	}

	.ts-acc::after {
		transform: rotate(90deg);
	}

	.is-expanded > .ts-acc::after {
		transform: rotate(0);
	}

	.ts-mega__panel {
		position: static;
		display: none;
		box-shadow: none;
		background: none;
	}

	.ts-menu > li.is-expanded > .ts-mega__panel {
		display: block;
	}

	.ts-mega__inner {
		display: block;
		padding: 0 0 10px;
	}

	.ts-mega__promo {
		display: none;
	}

	.ts-mega__cols {
		display: block;
	}

	.ts-mega__cols > li {
		position: relative;
	}

	.ts-mega__cols > li > a,
	.ts-acc__all a {
		display: block;
		margin: 0;
		padding: 9px 60px 9px 40px;
		color: #b5b9c2;
		font-size: 17px;
		font-weight: 500;
	}

	.ts-acc__all {
		display: block;
	}

	.ts-acc__all a {
		font-style: italic;
	}

	.ts-mega__cols .ts-acc {
		top: 0;
	}

	.ts-mega__links {
		display: none;
		padding: 0 0 8px;
	}

	.ts-mega--brands .ts-mega__links {
		grid-template-columns: 1fr;
	}

	.ts-mega__cols > li.is-expanded > .ts-mega__links {
		display: block;
	}

	.ts-mega--brands .ts-mega__cols > li.is-expanded > .ts-mega__links {
		display: grid;
	}

	.ts-mega__links a {
		display: block;
		padding: 7px 24px 7px 56px;
		color: #d9dce1;
	}

	.ts-nav__extra {
		display: grid;
		padding: 12px 24px 20px;
		background: #33383f;
	}

	.ts-nav__extra a {
		display: flex;
		align-items: center;
		gap: 10px;
		padding: 8px 0;
		color: var(--sand);
		font-size: 15px;
	}

	/* Hero: a swipeable strip with dots. */
	.ts-hero {
		padding: 0 0 20px;
	}

	.ts-hero__track {
		display: flex;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
	}

	.ts-hero__track::-webkit-scrollbar {
		display: none;
	}

	.ts-hero__panel {
		flex: 0 0 100%;
		margin: 0;
		scroll-snap-align: start;
		max-height: none;
	}

	.ts-hero__title {
		font-size: 30px;
	}

	.ts-hero__dots {
		display: flex;
		justify-content: center;
		gap: 12px;
		margin-top: -44px;
		padding-bottom: 20px;
		position: relative;
		z-index: 2;
	}

	.ts-hero__dots span {
		width: 16px;
		height: 16px;
		border: 2px solid #fff;
		border-radius: 50%;
	}

	.ts-hero__dots span.is-active {
		border-color: var(--accent);
		background: var(--accent);
	}

	.ts-hero__caption {
		bottom: 60px;
	}






	.ts-section__title,
	.ts-ruled,
	.ts-pagehead__title,
	.ts-seo__title {
		font-size: 24px;
	}

	.ts-section__more {
		position: static;
		display: flex;
		justify-content: center;
		margin-top: 10px;
	}

	.ts-carousel__track {
		grid-auto-columns: calc((100% - 12px) / 2);
		gap: 12px;
	}

	.ts-carousel__nav {
		display: none;
	}

	.ts-card__brand,
	.ts-card__title,
	.ts-card__price {
		font-size: 13px;
	}

	.ts-cats__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
	}


	.ts-brands__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ts-brands__item {
		height: 90px;
		padding: 0 12px;
	}

	.ts-brands__name {
		font-size: 22px;
	}

	.ts-services__grid {
		grid-template-columns: 1fr 1fr;
		gap: 30px 0;
	}

	.ts-services__grid > li + li {
		border-left: 0;
	}

	.ts-service {
		padding: 0 12px;
	}

	.ts-service__icon {
		width: 76px;
		height: 76px;
	}

	.ts-service__text {
		font-size: 13px;
	}

	.ts-newsband__inner {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.ts-newsband__title {
		font-size: 24px;
	}

	.ts-news__row {
		flex-direction: column;
		gap: 10px;
	}

	.ts-footer__grid {
		grid-template-columns: 1fr 1fr;
		gap: 26px 16px;
	}

	.ts-footer__col--store {
		grid-column: 1 / -1;
	}

	/* Listings: filters become a drawer from the left. */
	.ts-listing__layout {
		display: block;
	}

	.ts-filters {
		position: fixed;
		top: 0;
		bottom: 0;
		left: 0;
		z-index: 110;
		display: flex;
		flex-direction: column;
		width: min(380px, 90vw);
		background: #fff;
		transform: translateX(-100%);
		transition: transform .28s var(--ease);
	}

	.ts-filters-open .ts-filters {
		transform: none;
	}

	.ts-filters__head {
		padding: 10px 10px 10px 18px;
		background: var(--slate);
		border: 0;
	}

	.ts-filters__title {
		color: #fff;
		font-family: var(--font-head);
		font-size: 20px;
		font-weight: 700;
		text-transform: uppercase;
	}

	.ts-filters__close {
		display: grid;
		color: #fff;
	}

	.ts-filters__body {
		flex: 1;
		overflow-y: auto;
		padding: 0 8px;
	}

	.ts-filters__foot {
		display: block;
		padding: 14px;
		border-top: 1px solid var(--line);
	}

	.ts-filters__scrim {
		display: block;
		position: fixed;
		z-index: 105;
		pointer-events: none;
	}

	.ts-filters-open .ts-filters__scrim {
		opacity: 1;
		pointer-events: auto;
	}

	.ts-toolbar {
		flex-wrap: wrap;
		gap: 10px;
	}

	.ts-toolbar__filter {
		display: inline-flex;
		align-items: center;
		gap: 8px;
		min-height: 42px;
		padding: 8px 16px;
		border: 0;
		background: var(--slate);
		color: #fff;
		font-weight: 500;
		text-transform: uppercase;
	}

	.ts-toolbar__n {
		display: inline-grid;
		place-items: center;
		min-width: 20px;
		height: 20px;
		border-radius: 10px;
		background: var(--accent);
		font-size: 12px;
	}

	.ts-toolbar__count {
		order: 3;
		width: 100%;
		font-size: 14px;
	}

	.ts-toolbar__label {
		display: none;
	}

	.woocommerce-ordering select {
		min-width: 0;
		width: 190px;
	}

	ul.products.ts-grid,
	.ts-listing__main ul.products,
	ul.products.ts-grid--wide {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 6px 12px;
	}

	.ts-topics {
		flex-wrap: nowrap;
		justify-content: flex-start;
		overflow-x: auto;
		margin: 18px -12px 0;
		padding: 0 12px 4px;
		scrollbar-width: none;
	}

	.ts-topic {
		flex: none;
		font-size: 14px;
	}

	/* Product page: gallery on top, swipeable with dots. */
	.ts-pdp__bar {
		display: block;
	}

	.ts-pdp__wishlink {
		margin-bottom: 12px;
	}

	.ts-pdp {
		grid-template-columns: 1fr;
		gap: 20px;
		padding-top: 0;
	}

	.ts-gallery {
		display: block;
	}

	.ts-gallery__thumbs,
	.ts-gallery__nav {
		display: none;
	}

	.ts-gallery__dots {
		display: flex;
		justify-content: center;
		gap: 8px;
		margin-top: 12px;
	}

	.ts-gallery__dots span {
		width: 9px;
		height: 9px;
		border-radius: 50%;
		background: #cfd3da;
	}

	.ts-gallery__dots span.is-active {
		background: var(--accent);
	}

	.ts-pdp__title {
		font-size: 20px;
	}

	.ts-pdp__buy .single_add_to_cart_button {
		max-width: none;
	}

	.ts-pdp__promises {
		grid-template-columns: 1fr;
	}

	.ts-tabs__list {
		display: none;
	}

	.ts-tabs__panel,
	.ts-tabs__panel[hidden] {
		display: block !important;
		padding: 20px 0 6px;
		border-bottom: 1px solid var(--line);
	}

	.ts-tabs__heading {
		display: block;
		font-size: 20px;
	}

	.ts-specs th {
		width: 44%;
	}

	/* Cart & checkout stack. */
	.woocommerce-cart .ts-woo .woocommerce,
	.woocommerce-checkout .ts-woo form.checkout,
	.woocommerce-account .ts-woo .woocommerce,
	#customer_login {
		display: block;
	}

	.cart-collaterals,
	.woocommerce-checkout .ts-woo #order_review {
		position: static;
		margin-top: 24px;
	}

	.woocommerce-checkout .ts-woo #order_review_heading {
		margin-top: 30px;
	}

	.ts-woo table.cart thead {
		display: none;
	}

	.ts-woo table.cart tr.cart_item {
		display: grid;
		grid-template-columns: 1fr auto;
		gap: 8px;
		padding: 14px 0;
		border-bottom: 1px solid var(--line);
	}

	.ts-woo table.cart tr.cart_item td {
		padding: 0;
		border: 0;
	}

	.ts-woo table.cart td.product-name {
		grid-column: 1 / -1;
		grid-row: 1;
	}

	.ts-woo table.cart td.product-remove {
		grid-column: 2;
		grid-row: 1;
		justify-self: end;
	}

	.ts-woo table.cart td.product-price {
		display: none;
	}

	.ts-woo table.cart td.product-subtotal {
		justify-self: end;
		align-self: center;
		font-weight: 500;
	}

	.ts-woo td.product-name dl.variation {
		margin-left: 100px;
	}

	.woocommerce-checkout .ts-woo .woocommerce-billing-fields__field-wrapper {
		grid-template-columns: 1fr;
	}

	#customer_login .u-column2 {
		margin-top: 20px;
	}

	.woocommerce-MyAccount-navigation {
		margin-bottom: 24px;
	}
}

@media (max-width: 420px) {
	.ts-header__logo .ts-wordmark {
		width: 150px;
	}

	.ts-demo {
		font-size: 12px;
	}

}

/* Sale prices read new first, then the old one struck through, as on the
   reference — WooCommerce prints them the other way round. */
.ts-card__price,
.ts-pdp__price {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: center;
	gap: 0 8px;
}

.ts-pdp__price {
	justify-content: flex-start;
}

.ts-card__price ins,
.ts-pdp__price ins {
	order: -1;
}

.ts-card__price del,
.ts-pdp__price del {
	margin-left: 0;
}

.ts-topic {
	white-space: nowrap;
}

/* ------------------------------------------ homepage: topics & boxes -- */

/* The row of dark topic buttons under the hero. */
.ts-quick {
	padding: 0 0 20px;
}

.ts-quick__list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px 15px;
	max-width: 1440px;
	margin: 0 auto;
	padding: 0 20px;
}

.ts-quick__link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 20px 11px;
	border: 3px solid #3a3c3f;
	background: rgba(0, 0, 0, .25);
	color: #fff;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.6;
	text-transform: uppercase;
	white-space: nowrap;
}

.ts-quick__link:hover {
	background: var(--accent);
}

/* The two-column block grid: 600×260 boxes and 600×524 tall ones, 20px
   apart, as on the reference. */
.ts-cta {
	padding: 20px 0 40px;
}

.ts-cta__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
	align-items: start;
}

.ts-cta__col {
	display: grid;
	gap: 20px;
}

.ts-box {
	position: relative;
	display: block;
	height: 260px;
	overflow: hidden;
	background: var(--slate);
	color: #fff;
}

.ts-box--tall {
	height: 524px;
}

.ts-box--subscribe {
	height: auto;
	min-height: 260px;
}

.ts-box__img,
.ts-box > .ts-art-empty,
.ts-slider__slide > .ts-art-empty {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .6s var(--ease);
}

a.ts-box:hover .ts-box__img,
a.ts-slider__slide:hover .ts-box__img {
	transform: scale(1.03);
}

.ts-box--image::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(90deg, rgba(20, 23, 27, .75), rgba(20, 23, 27, .15) 70%);
	pointer-events: none;
}

.ts-box__body {
	position: relative;
	z-index: 2;
	display: grid;
	justify-items: start;
	align-content: center;
	gap: 8px;
	height: 100%;
	padding: 0 40px;
}

.ts-box__body--bottom {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: auto;
	padding: 0 30px 50px;
}

.ts-box__title {
	display: grid;
	justify-items: start;
	margin-top: 6px;
	font-family: var(--font-head);
	font-size: 32px;
	font-weight: 700;
	line-height: 1;
	text-transform: uppercase;
}

.ts-box__line {
	color: var(--sand);
}

.ts-box__body .ts-btn {
	margin-top: 12px;
}

.ts-box__hours {
	margin-top: 6px;
	color: var(--muted-2);
	font-size: 14px;
	line-height: 1.6;
}

.ts-box__corner {
	position: absolute;
	left: 30px;
	top: 0;
	z-index: 3;
}

/* Sliders: the sand service slider and the big brand slider. */
.ts-slider__track {
	display: flex;
	height: 100%;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}

.ts-slider__track::-webkit-scrollbar {
	display: none;
}

.ts-slider__slide {
	position: relative;
	flex: 0 0 100%;
	height: 100%;
	scroll-snap-align: start;
	overflow: hidden;
}

.ts-slider__dots {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 18px;
	z-index: 3;
	display: flex;
	justify-content: center;
	gap: 12px;
}

.ts-slider__dots button {
	width: 16px;
	height: 16px;
	padding: 0;
	border: 2px solid #fff;
	border-radius: 50%;
	background: none;
}

.ts-slider__dots button.is-active {
	border-color: var(--accent);
	background: var(--accent);
}

.ts-slider__nav {
	position: absolute;
	top: 50%;
	z-index: 3;
	display: grid;
	place-items: center;
	width: 30px;
	height: 60px;
	margin-top: -30px;
	border: 0;
	background: rgba(46, 51, 59, .85);
	color: #fff;
}

.ts-slider__nav:hover {
	background: var(--accent);
}

.ts-slider__nav--prev {
	left: 0;
}

.ts-slider__nav--next {
	right: 0;
}

.ts-box--facts {
	background: var(--sand);
}

.ts-facts {
	display: grid;
	place-content: center;
	justify-items: center;
	gap: 14px;
	padding: 30px 30px 50px;
	color: #fff;
	text-align: center;
}

.ts-facts__checks {
	display: grid;
	gap: 6px;
	font-size: 16px;
	font-weight: 500;
	text-align: left;
}

.ts-facts__checks li {
	display: flex;
	align-items: center;
	gap: 10px;
}

.ts-facts__checks .ts-icon {
	color: var(--accent);
	stroke-width: 3;
}

.ts-facts__label {
	margin: 0;
	font-size: 16px;
	font-weight: 500;
}

.ts-facts__social {
	display: flex;
	gap: 20px;
}

.ts-facts__social a {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border: 2px solid #fff;
	border-radius: 50%;
	color: #fff;
}

.ts-facts__social a:hover {
	background: #fff;
	color: var(--sand);
}

.ts-facts__pay {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0;
	font-family: var(--font-head);
	font-size: 30px;
	font-weight: 700;
	text-transform: uppercase;
}

/* Shop the look: + markers on the photo, each with a product card on hover. */
.ts-look__spot {
	position: absolute;
	z-index: 3;
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	margin: -16px 0 0 -16px;
	border-radius: 50%;
	background: var(--accent);
	color: #fff;
	box-shadow: 0 0 0 6px rgba(194, 65, 12, .3);
	transition: transform .2s;
}

.ts-look__spot:hover {
	transform: scale(1.12);
}

.ts-look__tip {
	position: absolute;
	left: 50%;
	bottom: calc(100% + 12px);
	display: none;
	width: 210px;
	padding: 12px 14px;
	background: #fff;
	color: var(--ink);
	font-size: 14px;
	line-height: 1.4;
	text-align: left;
	transform: translateX(-50%);
	box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
}

.ts-look__tip strong {
	display: block;
	font-weight: 500;
	text-transform: uppercase;
}

.ts-look__price {
	display: block;
	margin-top: 4px;
	font-weight: 500;
	color: var(--accent);
}

.ts-look__price del {
	margin-right: 6px;
	color: var(--ink);
	font-weight: 400;
}

.ts-look__spot:hover .ts-look__tip,
.ts-look__spot:focus-visible .ts-look__tip {
	display: block;
}

.ts-box--subscribe .ts-box__body {
	padding: 36px 44px;
}

.ts-box__heading {
	margin: 0;
	font-size: 32px;
	line-height: 1;
	color: #fff;
}

.ts-box__text {
	margin: 4px 0 12px;
	color: var(--sand);
}

.ts-box--subscribe .ts-news {
	width: 100%;
}

.ts-box--subscribe .ts-btn {
	margin-top: 0;
}

@media (max-width: 1023px) {
	.ts-quick__list {
		flex-wrap: nowrap;
		justify-content: flex-start;
		overflow-x: auto;
		padding: 0 5px;
		scrollbar-width: none;
	}

	.ts-quick__list::-webkit-scrollbar {
		display: none;
	}

	.ts-cta {
		padding: 0 0 20px;
	}

	.ts-cta .ts-wrap {
		padding: 0;
	}

	.ts-cta__grid,
	.ts-cta__col {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.ts-box {
		height: 240px;
	}

	.ts-box--tall {
		height: 341px;
	}

	.ts-box--subscribe {
		height: auto;
	}

	.ts-box__body {
		padding: 0 30px;
	}

	.ts-box__title,
	.ts-box__heading {
		font-size: 24px;
	}

	.ts-box--subscribe .ts-box__body {
		padding: 30px;
	}

	.ts-brands__grid > li {
		width: 50%;
	}
}

/* The middle hero panel carries its caption at the top, as on the reference. */
@media (min-width: 1024px) {
	.ts-hero__panel:nth-child(2) .ts-hero__caption {
		top: 48px;
		bottom: auto;
	}

	.ts-hero__panel:nth-child(2)::after {
		inset: 0 0 60%;
		background: linear-gradient(rgba(0, 0, 0, .4), transparent);
	}
}

/* Rails: four bigger tiles across, a hairline frame, a lift on hover. */
.ts-carousel__track {
	grid-auto-columns: calc((100% - 3 * 24px) / 4);
	gap: 24px;
}

.ts-card__media {
	border: 1px solid #e6e8ec;
	transition: box-shadow .25s, border-color .25s;
}

.ts-card__img {
	transition: opacity .3s, transform .5s var(--ease);
}

@media (hover: hover) {
	.ts-card:hover .ts-card__media {
		border-color: #cfd3da;
		box-shadow: 0 10px 28px rgba(46, 51, 59, .14);
	}

	.ts-card:hover .ts-card__img {
		transform: scale(1.04);
	}
}

.ts-card__body {
	padding-top: 12px;
}

.ts-card__brand {
	font-size: 16px;
}

.ts-carousel__nav {
	top: 42%;
	width: 36px;
	height: 76px;
	background: #b3b6bc;
}

@media (max-width: 1023px) {
	.ts-carousel__track {
		grid-auto-columns: calc((100% - 12px) / 2);
		gap: 12px;
	}

	.ts-card__brand {
		font-size: 13px;
	}
}

/* ------------------------------------------ desktop header layout -- */

.ts-search__label,
.ts-header-spacer {
	display: none;
}

/* Desktop, as on the reference: a top bar (selling points left; account,
   wishlist and cart right) over one row of logo · departments · an outlined
   search button. Past the full header it comes back as that one row alone,
   fixed, on the dark band. The search button drops a field down under the
   bar. */
@media (min-width: 1024px) {
	.ts-header {
		position: relative;
		top: auto;
	}

	.ts-header__box {
		display: grid;
		grid-template-columns: auto minmax(0, 1fr) auto auto;
		grid-template-areas:
			"top top top top"
			"logo nav search tools";
		align-items: center;
	}

	.ts-header__main {
		display: contents;
	}

	.ts-header__menu,
	.ts-topbar__contact {
		display: none;
	}

	.ts-topbar {
		grid-area: top;
		height: 52px;
	}

	.ts-header__logo {
		grid-area: logo;
		padding: 0 14px 0 30px;
	}

	.ts-header__logo .ts-wordmark {
		width: 180px;
	}

	.ts-nav {
		grid-area: nav;
		border: 0;
	}

	.ts-menu {
		flex-wrap: nowrap;
		padding: 0;
	}

	.ts-menu > li > a {
		padding: 25px 8px;
		font-size: 16px;
		white-space: nowrap;
	}

	.ts-menu > li.ts-sale {
		padding: 19px 0;
	}

	.ts-menu > li.ts-sale > a {
		padding: 6px 10px;
	}

	.ts-menu > li.is-department > a::after,
	.ts-menu > li.current-menu-item > a::after {
		bottom: 16px;
	}

	/* Search: the reference's outlined "SEARCH" button. */
	.ts-header__search {
		grid-area: search;
		position: static;
		flex: none;
		max-width: none;
		margin: 0 30px 0 10px;
	}

	.ts-header__search .ts-search__field {
		display: none;
	}

	.ts-header__search .ts-search__submit {
		position: static;
		display: inline-flex;
		align-items: center;
		gap: 8px;
		width: auto;
		height: 36px;
		padding: 2px 10px;
		border: 2px solid #fff;
		background: transparent;
		font-size: 16px;
		font-weight: 500;
		text-transform: uppercase;
	}

	.ts-header__search .ts-search__submit:hover {
		background: #fff;
		color: var(--slate);
	}

	.ts-search__label {
		display: inline;
	}

	.ts-search-open .ts-header__search .ts-search__field {
		position: absolute;
		left: 0;
		right: 0;
		top: 100%;
		z-index: 70;
		display: block;
		min-height: 60px;
		padding: 0 30px;
		border: 0;
		border-top: 3px solid var(--accent);
		box-shadow: 0 16px 30px rgba(0, 0, 0, .25);
		font-size: 17px;
	}

	/* Account, wishlist and cart sit in the top bar, label before icon. */
	.ts-header__tools {
		grid-area: top;
		justify-self: end;
		z-index: 1;
		gap: 22px;
		margin: 0;
		padding-right: 30px;
	}

	.ts-header__tools .ts-tool__label {
		display: inline;
		order: -1;
	}

	.ts-tool__icon {
		width: 34px;
		height: 34px;
	}

	/* The slim fixed bar. */
	.ts-stuck .ts-header {
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		background: var(--band);
		animation: ts-slide-down .22s var(--ease);
	}

	.admin-bar.ts-stuck .ts-header {
		top: 32px;
	}

	.ts-stuck .ts-header-spacer {
		display: block;
		height: var(--ts-head-h, 135px);
	}

	.ts-stuck .ts-header__box {
		grid-template-areas: "logo nav search tools";
		height: 83px;
	}

	.ts-stuck .ts-topbar,
	.ts-stuck .ts-header__account,
	.ts-stuck .ts-header__tools li:has(.ts-tool--wish),
	.ts-stuck .ts-header__tools .ts-tool__label {
		display: none;
	}

	.ts-stuck .ts-header__search {
		margin-right: 12px;
	}

	.ts-stuck .ts-header__tools {
		grid-area: tools;
		padding-right: 24px;
	}
}

@keyframes ts-slide-down {
	from { transform: translateY(-100%); }
}

/* Desktop: the six topic buttons on one line across the band, as on the
   reference. */
@media (min-width: 1024px) {
	.ts-quick {
		padding: 0 0 20px;
	}

	.ts-quick__list {
		flex-wrap: nowrap;
		justify-content: center;
		gap: 15px;
		max-width: none;
		padding: 0 24px;
	}

	.ts-quick__list > li {
		flex: 0 1 auto;
		min-width: 0;
	}

	.ts-quick__link {
		padding: 12px 20px 11px;
	}
}

@media (min-width: 1024px) and (max-width: 1300px) {
	.ts-quick__list {
		gap: 10px;
	}

	.ts-quick__link {
		padding: 10px 12px 9px;
		font-size: 14px;
	}
}

/* Product page on phones, as on the reference: photo and dots, a strip of
   thumbnails under them, then "add to wishlist" on the right. */
.ts-pdp__wishlink--phone {
	display: none;
}

@media (max-width: 1023px) {
	.ts-gallery {
		display: flex;
		flex-direction: column;
	}

	.ts-gallery__stage {
		order: 1;
	}

	.ts-gallery__thumbs {
		order: 2;
		display: flex;
		gap: 8px;
		max-height: none;
		margin-top: 12px;
		overflow-x: auto;
		scrollbar-width: none;
	}

	.ts-gallery__thumbs::-webkit-scrollbar {
		display: none;
	}

	.ts-gallery__thumbs li {
		flex: 0 0 48px;
	}

	.ts-gallery__thumb {
		aspect-ratio: 4 / 5;
	}

	.ts-pdp__bar .ts-pdp__wishlink {
		display: none;
	}

	.ts-pdp__wishlink--phone {
		display: flex;
		justify-content: flex-end;
		width: 100%;
		margin: 14px 0 0;
		font-size: 14px;
	}
}
