/*
 * SeaVees homepage + storefront components.
 * One visual system for every section; all content is Woo/native editable data.
 */

@font-face {
	font-family: "MillerHeadlineLight";
	src: url("source/miller-headline.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Lato";
	src: url("source/lato-400.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Lato";
	src: url("source/lato-600.woff2") format("woff2");
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Lato";
	src: url("source/lato-700.woff2") format("woff2");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

:root {
	--htw-navy: #172b43;
	--htw-navy-soft: #263c55;
	--htw-cream: #f8f8f4;
	--htw-card: #f2f2ea;
	--htw-line: #e6e1d4;
	--htw-red: #dc4b28;
	--htw-red-dark: #b83d1e;
	--htw-muted: #6d6b63;
	--htw-serif: "MillerHeadlineLight", "Times New Roman", serif;
	--htw-sans: "Lato", Arial, Helvetica, sans-serif;
	--htw-mono: "Overpass Mono", "Courier New", ui-monospace, monospace;
	--htw-gutter: 32px;
	--htw-max: 100%;
}

body.htw-theme {
	background: var(--htw-cream);
	color: var(--htw-navy);
	font-family: var(--htw-sans);
	letter-spacing: .2px;
}

.htw-theme h1,
.htw-theme h2,
.htw-theme h3,
.htw-theme .htw-serif {
	font-family: var(--htw-serif);
	font-weight: 400;
	color: var(--htw-navy);
}

.htw-theme a {
	color: var(--htw-navy);
}

.htw-home-row,
.htw-home-row > .col {
	margin-left: 0 !important;
	margin-right: 0 !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}

.htw-section {
	position: relative;
	width: 100%;
	max-width: var(--htw-max);
	margin: 0 auto;
	background: var(--htw-cream);
	box-sizing: border-box;
}

.htw-section__inner {
	width: 100%;
	max-width: var(--htw-max);
	margin: 0 auto;
	padding-left: var(--htw-gutter);
	padding-right: var(--htw-gutter);
	box-sizing: border-box;
}

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

.htw-empty {
	text-align: center;
	padding: 48px 0;
	color: var(--htw-muted);
	font-size: 15px;
}

.htw-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 38px;
	padding: 8px 22px;
	background: var(--htw-navy);
	color: #f2f2ea !important;
	border: 0;
	border-radius: 0;
	font-family: var(--htw-sans);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 1.4px;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	transition: background .2s ease, color .2s ease;
}

.htw-button:hover,
.htw-button:focus-visible {
	background: var(--htw-red);
	color: #fff !important;
}

/* -------------------------------------------------------------------------
 * Hero
 * ---------------------------------------------------------------------- */

.htw-hero {
	position: relative;
	display: flex;
	align-items: flex-end;
	width: 100%;
	min-height: 640px;
	height: min(782px, 82vh);
	overflow: hidden;
	background: #1c1a17;
}

.htw-hero__media,
.htw-hero__media img,
.htw-hero__media video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.htw-hero__poster,
.htw-hero__video {
	object-fit: cover;
	object-position: center;
}

.htw-hero__video {
	z-index: 1;
}

.htw-hero__scrim {
	position: absolute;
	inset: 0;
	z-index: 2;
	background: linear-gradient(180deg, rgba(0, 0, 0, .04) 30%, rgba(0, 0, 0, .58) 100%);
	pointer-events: none;
}

.htw-hero__content {
	position: relative;
	z-index: 3;
	width: 100%;
	padding: 0 var(--htw-gutter) 48px;
	box-sizing: border-box;
	color: #fff;
}

.htw-hero__title {
	margin: 0 0 10px;
	color: #fff;
	font-family: var(--htw-serif);
	font-size: clamp(34px, 3.6vw, 52px);
	line-height: 1.06;
	letter-spacing: .2px;
	text-shadow: 0 1px 18px rgba(0, 0, 0, .3);
}

.htw-theme .htw-hero__title {
	color: #fff;
}

.htw-hero__desc {
	max-width: 620px;
	margin: 0 0 20px;
	color: #fff;
	font-size: clamp(14px, 1.3vw, 18px);
	line-height: 1.5;
	text-shadow: 0 1px 10px rgba(0, 0, 0, .28);
}

.htw-hero__button {
	background: #fff;
	color: var(--htw-navy) !important;
	min-width: 204px;
}

.htw-hero__button:hover,
.htw-hero__button:focus-visible {
	background: var(--htw-red);
	color: #fff !important;
}

/* -------------------------------------------------------------------------
 * Best Sellers
 * ---------------------------------------------------------------------- */

.htw-bestsellers {
	padding: 48px 0 48px;
}

.htw-bestsellers__head {
	text-align: center;
	margin-bottom: 26px;
}

.htw-bestsellers__heading {
	margin: 0;
	font-family: var(--htw-serif);
	font-size: clamp(28px, 2.6vw, 36px);
	line-height: 1.1;
}

.htw-bestsellers__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
	align-items: stretch;
}

/* -------------------------------------------------------------------------
 * Product card
 * ---------------------------------------------------------------------- */

.htw-card {
	display: flex;
	min-width: 0;
	height: 100%;
	background: var(--htw-card);
	border: 1px solid #eae6da;
	box-sizing: border-box;
}

.htw-card__link {
	display: flex;
	flex-direction: column;
	width: 100%;
	height: 100%;
	color: var(--htw-navy);
	text-decoration: none;
}

.htw-card__media {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: var(--htw-card);
}

.htw-card__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	transition: transform .45s ease;
}

.htw-card:hover .htw-card__img {
	transform: scale(1.025);
}

.htw-card__badge {
	position: absolute;
	top: 10px;
	left: 10px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	height: 22px;
	padding: 0 8px;
	background: var(--htw-red);
	color: #fff;
	font-family: var(--htw-sans);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .08em;
}

.htw-card__info {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	gap: 4px;
	min-height: 112px;
	padding: 14px 14px 16px;
	box-sizing: border-box;
}

.htw-card__title {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-size: 15px;
	line-height: 1.3;
	font-weight: 400;
}

.htw-card__color {
	color: var(--htw-muted);
	font-size: 13px;
	line-height: 1.3;
}

.htw-card__price {
	margin-top: auto;
	padding-top: 6px;
	font-size: 14px;
	line-height: 1.3;
	letter-spacing: .04em;
}

.htw-card__price del {
	margin-right: 6px;
	color: #8a8a86;
}

.htw-card__price ins {
	color: var(--htw-red);
	text-decoration: none;
	font-weight: 600;
}

/* -------------------------------------------------------------------------
 * Carousel primitives
 * ---------------------------------------------------------------------- */

.htw-carousel {
	position: relative;
}

.htw-carousel__viewport {
	overflow-x: auto;
	overflow-y: hidden;
	scrollbar-width: none;
	-ms-overflow-style: none;
	scroll-behavior: smooth;
	overscroll-behavior-x: contain;
	touch-action: pan-x pan-y;
}

.htw-carousel__viewport::-webkit-scrollbar {
	display: none;
}

.htw-carousel__track {
	display: flex;
	gap: 16px;
	align-items: stretch;
}

.htw-carousel__track > .htw-card {
	flex: 0 0 calc((100% - 48px) / 4);
}

.htw-carousel__arrow {
	position: absolute;
	top: 38%;
	z-index: 4;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	padding: 0;
	border: 1px solid rgba(23, 43, 67, .3);
	border-radius: 50%;
	background: rgba(248, 248, 244, .94);
	color: var(--htw-navy);
	cursor: pointer;
	transition: background .2s ease, opacity .2s ease, border-color .2s ease;
	pointer-events: auto;
}

.htw-carousel__arrow:hover:not([disabled]) {
	background: var(--htw-navy);
	border-color: var(--htw-navy);
	color: #fff;
}

.htw-carousel__arrow[disabled] {
	opacity: .28;
	cursor: default;
}

.htw-carousel__arrow--prev {
	left: -18px;
}

.htw-carousel__arrow--next {
	right: -18px;
}

.htw-arrow-icon {
	display: block;
}

.htw-carousel__dots {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 20px;
	margin-top: 18px;
}

.htw-carousel__dot {
	display: inline-block;
	width: 7px !important;
	min-width: 7px !important;
	max-width: 7px !important;
	height: 7px !important;
	min-height: 7px !important;
	max-height: 7px !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0;
	border-radius: 50%;
	background: #cfcabd;
	box-shadow: none;
	cursor: pointer;
	transition: background .2s ease, transform .2s ease;
	appearance: none;
}

.htw-carousel__dot.is-active {
	background: var(--htw-navy);
	transform: scale(1.15);
}

/* -------------------------------------------------------------------------
 * Featured collections
 * ---------------------------------------------------------------------- */

.htw-featured {
	padding: 18px 0 30px;
	overflow: hidden;
}

.htw-featured__head {
	display: flex;
	align-items: baseline;
	margin-bottom: 18px;
}

.htw-featured__title {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.htw-featured__tabs {
	display: flex;
	align-items: baseline;
	gap: 26px;
	width: 100%;
	overflow-x: auto;
	scrollbar-width: none;
	padding: 0 0 4px;
}

.htw-featured__tabs::-webkit-scrollbar {
	display: none;
}

.htw-featured__tab {
	flex: 0 0 auto;
	margin: 0 !important;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--htw-navy);
	font-family: var(--htw-serif);
	font-size: clamp(24px, 2.3vw, 32px);
	font-weight: 400;
	line-height: 1.2;
	cursor: pointer;
	transition: color .2s ease;
}

.htw-featured__tab:hover {
	color: var(--htw-red);
}

.htw-featured__tab.is-active {
	color: var(--htw-red);
}

.htw-featured__panel[hidden] {
	display: none !important;
}

.htw-featured__panel {
	padding-bottom: 4px;
}

/* -------------------------------------------------------------------------
 * Image links
 * ---------------------------------------------------------------------- */

.htw-image-links {
	position: relative;
	padding: 0;
	overflow: hidden;
}

.htw-image-links__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
	width: 100%;
}

.htw-image-links__card {
	position: relative;
	display: block;
	aspect-ratio: 475 / 712;
	overflow: hidden;
	background: #ddd8ca;
	color: #fff;
	text-decoration: none;
}

.htw-image-links__card img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .6s ease;
}

.htw-image-links__card:hover img {
	transform: scale(1.02);
}

.htw-image-links__card::after {
	content: "";
	position: absolute;
	inset: 45% 0 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .45) 100%);
	pointer-events: none;
}

.htw-image-links__label {
	position: absolute;
	left: 20px;
	bottom: 18px;
	z-index: 2;
	color: #fff;
	font-family: var(--htw-serif);
	font-size: clamp(22px, 2vw, 28px);
	line-height: 1.15;
	text-shadow: 0 1px 12px rgba(0, 0, 0, .35);
}

.htw-image-links__dots,
.htw-collections__dots,
.htw-testimonials__dots {
	display: none;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin-top: 16px;
}

/* -------------------------------------------------------------------------
 * Press logos
 * ---------------------------------------------------------------------- */

.htw-press {
	margin: 0;
	padding: 0;
	background: var(--htw-card);
	overflow: hidden;
}

.htw-press__inner {
	position: relative;
	width: 100%;
	height: 150px;
	display: flex;
	align-items: center;
}

.htw-press__viewport {
	width: 100%;
	overflow: hidden;
}

.htw-press__track {
	display: flex;
	align-items: center;
	gap: 54px;
	width: max-content;
	animation: htw-marquee 32s linear infinite;
}

.htw-press__track.is-paused {
	animation-play-state: paused;
}

.htw-press__group {
	display: flex;
	align-items: center;
	gap: 54px;
	padding-right: 54px;
}

.htw-press__group img {
	display: block;
	width: auto;
	height: 74px;
	max-width: 190px;
	object-fit: contain;
	opacity: .88;
}

.htw-press__toggle {
	position: absolute;
	left: 12px;
	top: 50%;
	z-index: 3;
	transform: translateY(-50%);
	width: 30px;
	height: 30px;
	border: 1px solid rgba(23, 43, 67, .35);
	border-radius: 50%;
	background: var(--htw-cream);
	cursor: pointer;
}

.htw-press__pause {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 8px;
	height: 10px;
	transform: translate(-50%, -50%);
	border-left: 2px solid var(--htw-navy);
	border-right: 2px solid var(--htw-navy);
	box-sizing: border-box;
}

.htw-press__toggle[aria-pressed="true"] .htw-press__pause {
	width: 0;
	height: 0;
	border-top: 6px solid transparent;
	border-bottom: 6px solid transparent;
	border-left: 9px solid var(--htw-navy);
	border-right: 0;
}

@keyframes htw-marquee {
	0% { transform: translateX(0); }
	100% { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
	.htw-press__track { animation: none; }
	.htw-card__img, .htw-image-links__card img { transition: none; }
}

/* -------------------------------------------------------------------------
 * Lookbook
 * ---------------------------------------------------------------------- */

.htw-lookbook {
	padding: 54px 0 48px;
}

.htw-lookbook__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 32px;
	margin-bottom: 34px;
}

.htw-lookbook__heading {
	margin: 0;
	font-family: var(--htw-serif);
	font-size: clamp(34px, 4.4vw, 64px);
	line-height: 1.05;
}

.htw-lookbook__desc {
	max-width: 440px;
	margin: 0 0 6px;
	font-size: 17px;
	line-height: 1.55;
	text-align: right;
}

.htw-lookbook__stage {
	position: relative;
}

.htw-lookbook__slides {
	display: grid;
}

.htw-lookbook__slide {
	grid-area: 1 / 1;
	display: grid;
	grid-template-columns: minmax(0, 31%) minmax(0, 69%);
	gap: 24px;
	height: 640px;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity .35s ease, visibility .35s ease;
}

.htw-lookbook__slide.is-active {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.htw-lookbook__photo {
	position: relative;
	display: block;
	height: 100%;
	min-height: 0;
	overflow: hidden;
	background: #ddd8ca;
}

.htw-lookbook__photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.htw-lookbook__product {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	justify-content: space-between;
	height: 100%;
	min-height: 0;
	padding: 18px 30px 26px;
	box-sizing: border-box;
	background: var(--htw-card);
}

.htw-lookbook__product-media {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	max-width: 100%;
	aspect-ratio: 3 / 2;
	max-height: 420px;
	margin: 0 auto;
	overflow: hidden;
}

.htw-lookbook__product-img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: 100%;
	max-height: 420px;
	object-fit: contain;
}

.htw-lookbook__meta {
	display: flex;
	flex-direction: column;
	gap: 3px;
	width: min(100%, 520px);
	margin: auto 0 0;
	text-align: left;
}

.htw-lookbook__eyebrow {
	color: var(--htw-red);
	font-family: var(--htw-mono);
	font-size: 12px;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.htw-lookbook__title {
	font-family: var(--htw-sans);
	font-size: 16px;
	line-height: 1.3;
	text-decoration: none;
}

.htw-lookbook__color {
	color: var(--htw-muted);
	font-size: 13px;
}

.htw-lookbook__price {
	margin-top: 4px;
	font-size: 15px;
}

.htw-lookbook__price ins {
	color: var(--htw-red);
	text-decoration: none;
}

.htw-lookbook__arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 4;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--htw-navy);
	cursor: pointer;
	pointer-events: auto;
}

.htw-lookbook__arrow[disabled] {
	opacity: .25;
	cursor: default;
}

.htw-lookbook__arrow--prev {
	left: calc(31% + 8px);
}

.htw-lookbook__arrow--next {
	right: 8px;
}

.htw-lookbook__thumbs {
	display: flex;
	gap: 8px;
	margin-top: 24px;
	overflow-x: auto;
	scrollbar-width: none;
}

.htw-lookbook__thumbs::-webkit-scrollbar {
	display: none;
}

.htw-lookbook__thumb {
	flex: 0 0 128px;
	width: 128px;
	height: 128px;
	padding: 0;
	border: 1px solid transparent;
	background: var(--htw-card);
	cursor: pointer;
	overflow: hidden;
}

.htw-lookbook__thumb.is-active {
	border-color: var(--htw-navy);
}

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

/* -------------------------------------------------------------------------
 * Testimonials
 * ---------------------------------------------------------------------- */

.htw-testimonials {
	padding: 66px 0 46px;
}

.htw-testimonials__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 22px;
}

.htw-testimonials__heading {
	margin: 0;
	font-family: var(--htw-serif);
	font-size: clamp(34px, 3.6vw, 52px);
	line-height: 1.1;
}

.htw-testimonials__nav {
	display: flex;
	gap: 8px;
}

.htw-testimonials__nav .htw-carousel__arrow {
	position: static;
	transform: none;
}

.htw-testimonials__viewport {
	overflow-x: auto;
	overflow-y: hidden;
	scrollbar-width: none;
	scroll-behavior: smooth;
	touch-action: pan-x pan-y;
}

.htw-testimonials__viewport::-webkit-scrollbar {
	display: none;
}

.htw-testimonials__track {
	display: flex;
	gap: 32px;
	align-items: stretch;
}

.htw-testimonials__card {
	display: grid;
	grid-template-columns: 345px minmax(0, 1fr);
	gap: 24px;
	flex: 0 0 895px;
	min-height: 397px;
}

.htw-testimonials__image {
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: #ddd8ca;
}

.htw-testimonials__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.htw-testimonials__body {
	display: flex;
	flex-direction: column;
	padding: 18px 0 0;
}

.htw-testimonials__title {
	margin: 0 0 10px;
	font-family: var(--htw-mono);
	font-size: clamp(17px, 1.7vw, 22px);
	line-height: 1.25;
	letter-spacing: .03em;
	text-transform: uppercase;
}

.htw-testimonials__quote {
	margin: 0;
	padding: 0;
	border: 0;
	font-family: var(--htw-serif);
	font-style: normal;
	font-size: clamp(22px, 2.3vw, 31px);
	line-height: 1.32;
}

.htw-testimonials__quote::before,
.htw-testimonials__quote::after {
	content: none;
}

.htw-testimonials__meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: auto;
	padding-top: 14px;
	font-size: 13px;
}

.htw-testimonials__rating {
	letter-spacing: .12em;
}

.htw-testimonials__product {
	margin-top: 6px;
	font-size: 15px;
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* -------------------------------------------------------------------------
 * Shop by collection
 * ---------------------------------------------------------------------- */

.htw-collections {
	padding: 40px 0 28px;
	overflow: hidden;
}

.htw-collections__heading {
	margin: 0 0 18px;
	font-family: var(--htw-serif);
	font-size: clamp(26px, 2.3vw, 32px);
	line-height: 1.1;
}

.htw-collections__viewport {
	overflow-x: auto;
	scrollbar-width: none;
	scroll-behavior: smooth;
	touch-action: pan-x pan-y;
}

.htw-collections__viewport::-webkit-scrollbar {
	display: none;
}

.htw-collections__grid {
	display: flex;
	gap: 8px;
	padding: 0 0 4px;
}

.htw-collections__card {
	display: block;
	flex: 0 0 calc((100% - 56px) / 8);
	min-width: 0;
	color: var(--htw-navy);
	text-decoration: none;
}

.htw-collections__media {
	display: block;
	aspect-ratio: 2 / 3;
	overflow: hidden;
	background: #ddd8ca;
}

.htw-collections__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .5s ease;
}

.htw-collections__card:hover .htw-collections__media img {
	transform: scale(1.025);
}

.htw-collections__label {
	display: block;
	padding: 8px 4px 0;
	font-family: var(--htw-mono);
	font-size: 13px;
	line-height: 1.35;
	letter-spacing: .08em;
	text-transform: uppercase;
}

/* -------------------------------------------------------------------------
 * California
 * ---------------------------------------------------------------------- */

.htw-california {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	width: 100%;
	background: var(--htw-card);
	margin: 34px 0 0;
}

.htw-california__media {
	min-height: 885px;
	overflow: hidden;
}

.htw-california__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.htw-california__content {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 56px clamp(32px, 5vw, 84px);
	box-sizing: border-box;
}

.htw-california__logo {
	width: 142px;
	height: auto;
	margin-bottom: 22px;
}

.htw-california__heading {
	margin: 0 0 10px;
	font-family: var(--htw-serif);
	font-size: clamp(38px, 4.2vw, 59px);
	line-height: 1.08;
}

.htw-california__tagline {
	margin: 0 0 18px;
	color: var(--htw-red);
	font-family: var(--htw-mono);
	font-size: 18px;
	letter-spacing: .14em;
	text-transform: uppercase;
}

.htw-california__text {
	max-width: 640px;
	margin: 0 0 26px;
	font-size: 17px;
	line-height: 1.65;
}

.htw-california__button {
	align-self: flex-start;
}

/* -------------------------------------------------------------------------
 * Heritage
 * ---------------------------------------------------------------------- */

.htw-heritage {
	padding: 58px 0 76px;
}

.htw-heritage__heading {
	margin: 0 0 26px;
	font-family: var(--htw-serif);
	font-size: clamp(26px, 2.4vw, 34px);
	line-height: 1.2;
}

.htw-heritage__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
	align-items: start;
}

.htw-heritage__card {
	min-width: 0;
}

.htw-heritage__media {
	aspect-ratio: 329 / 392;
	overflow: hidden;
	background: #ece8dc;
	margin-bottom: 16px;
}

.htw-heritage__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.htw-heritage__card-title {
	margin: 0 0 10px;
	font-family: var(--htw-mono);
	font-size: 13px;
	font-weight: 400;
	line-height: 1.5;
	letter-spacing: .06em;
	text-transform: uppercase;
}

.htw-heritage__card-text {
	margin: 0;
	font-size: 14px;
	line-height: 1.6;
}

/* -------------------------------------------------------------------------
 * Size guide
 * ---------------------------------------------------------------------- */

.htw-size-guide {
	padding: 8px 14px 28px;
}

.htw-size-guide__lead {
	margin: 0 0 18px;
	font-size: 16px;
}

.htw-size-guide__tables {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 28px;
}

.htw-size-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 13px;
}

.htw-size-table caption {
	padding: 0 0 8px;
	font-family: var(--htw-serif);
	font-size: 20px;
	text-align: left;
}

.htw-size-table th,
.htw-size-table td {
	padding: 8px 7px;
	border-bottom: 1px solid var(--htw-line);
	text-align: left;
}

.htw-size-table thead th {
	background: var(--htw-card);
	font-size: 11px;
	letter-spacing: .06em;
	text-transform: uppercase;
}

.htw-size-guide__how {
	margin-top: 26px;
	font-size: 14px;
	line-height: 1.65;
}

.htw-size-guide__how h3 {
	margin: 0 0 8px;
	font-family: var(--htw-serif);
	font-size: 22px;
}

/* -------------------------------------------------------------------------
 * Header / shell refinements
 * ---------------------------------------------------------------------- */

.htw-theme #top-bar,
.htw-theme .header-top {
	background: var(--htw-navy) !important;
	color: #fff !important;
}

.htw-theme #top-bar p,
.htw-theme .header-top p,
.htw-theme .header-top a {
	color: #fff !important;
}

.htw-theme #masthead,
.htw-theme .header-main {
	background: var(--htw-cream);
}

.htw-theme .header-nav-main > li > a,
.htw-theme .nav > li > a {
	color: var(--htw-navy);
	font-size: 12px;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.htw-theme .header-nav-main > li > a:hover,
.htw-theme .header-nav-main > li.current-menu-item > a {
	color: var(--htw-red) !important;
}

.htw-theme #logo img {
	width: 190px;
	max-width: 190px;
	height: auto;
}

/* Red discount badges are rectangular and consistent across the store. */
.woocommerce span.onsale,
.product-gallery .onsale,
.badge-container .badge,
.htw-sale-flash,
.htw-card__badge {
	border-radius: 0 !important;
	background: var(--htw-red) !important;
	color: #fff !important;
	border: 0 !important;
	font-family: var(--htw-sans);
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
}

.woocommerce span.onsale,
.htw-sale-flash {
	padding: 6px 10px !important;
	min-height: 0 !important;
	min-width: 0 !important;
	width: auto !important;
	height: auto !important;
	line-height: 1 !important;
	font-size: 12px !important;
}

/* Override the legacy catalog mu-plugin pill shape. */
body.htw-theme .onsale.factory-sale-pill,
body.htw-theme .factory-sale-pill.badge,
body.htw-theme .factory-sale-pill.badge .badge-inner.on-sale,
body.htw-theme .factory-sale-pill .badge-inner,
body.htw-theme.factory-catalog-layout .onsale.factory-sale-pill,
body.htw-theme.factory-catalog-layout .factory-sale-pill.badge,
body.htw-theme.factory-catalog-layout .factory-sale-pill.badge .badge-inner.on-sale,
body.htw-theme.factory-catalog-layout .factory-sale-pill .badge-inner {
	border-radius: 0 !important;
	min-width: 0 !important;
	height: auto !important;
	min-height: 0 !important;
	padding: 6px 10px !important;
}

/* Click-to-open search dropdown: no hash, no reload, no theme hover jump. */
#header .header-search.is-open > .nav-dropdown,
#header .header-search.is-open .nav-dropdown,
#header .header-search.htw-search-open > .nav-dropdown,
#header .header-search.htw-search-open .nav-dropdown {
	display: table !important;
	visibility: visible !important;
	opacity: 1 !important;
	transform: translateY(0) !important;
	pointer-events: auto !important;
	z-index: 999;
}

#header .header-search .nav-dropdown {
	z-index: 999;
}

/* -------------------------------------------------------------------------
 * Shop sidebar accordions
 * ---------------------------------------------------------------------- */

.shop-sidebar .htw-sidebar-widget {
	border-bottom: 1px solid var(--htw-line);
	padding: 0 0 12px;
	margin-bottom: 14px;
}

.htw-shop-cats {
	border-top: 1px solid var(--htw-line);
}

.htw-shop-cats__title {
	margin: 0;
	padding: 12px 0 10px;
	font-family: var(--htw-sans);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.htw-shop-cats__group {
	border-bottom: 1px solid var(--htw-line);
}

.htw-shop-cats__toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 11px 0;
	border: 0;
	background: transparent;
	color: var(--htw-navy);
	font-family: var(--htw-sans);
	font-size: 14px;
	line-height: 1.3;
	text-align: left;
	cursor: pointer;
}

.htw-shop-cats__icon {
	font-size: 18px;
	line-height: 1;
}

.htw-shop-cats__list {
	list-style: none;
	margin: 0;
	padding: 0 0 10px 14px;
}

.htw-shop-cats__list[hidden] {
	display: none !important;
}

.htw-shop-cats__list li {
	padding: 4px 0;
	font-size: 14px;
	line-height: 1.35;
}

.htw-shop-cats__list a {
	color: var(--htw-navy);
	text-decoration: none;
}

.htw-shop-cats__list a:hover {
	color: var(--htw-red);
}

.htw-shop-cats__all {
	font-weight: 600;
}

.htw-widget-toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 6px 0;
	border: 0;
	background: transparent;
	color: var(--htw-navy);
	font-family: var(--htw-sans);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .1em;
	text-align: left;
	text-transform: uppercase;
	cursor: pointer;
}

.htw-widget-toggle::after {
	content: "+";
	font-size: 18px;
	font-weight: 400;
	line-height: 1;
	color: var(--htw-navy);
}

.htw-widget-toggle[aria-expanded="true"]::after {
	content: "−";
}

.htw-sidebar-widget__body {
	overflow: hidden;
	max-height: 0;
	transition: max-height .28s ease;
}

.htw-sidebar-widget.is-open .htw-sidebar-widget__body {
	max-height: 1400px;
}

.htw-sidebar-widget .widget-title {
	display: none;
}

.htw-cat-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	margin-right: 4px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--htw-navy);
	font-size: 14px;
	line-height: 1;
	cursor: pointer;
	vertical-align: middle;
}

.htw-cat-toggle::before {
	content: "+";
}

.htw-cat-toggle[aria-expanded="true"]::before {
	content: "−";
}

.shop-sidebar .cat-parent > ul.children {
	display: none;
	margin: 0 0 0 22px;
	padding: 0;
	list-style: none;
}

.shop-sidebar .cat-parent.is-open > ul.children {
	display: block;
}

.shop-sidebar ul.product-categories,
.shop-sidebar .widget_product_categories ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.shop-sidebar ul.product-categories li,
.shop-sidebar .widget_product_categories li {
	padding: 4px 0;
	font-size: 14px;
}

.shop-sidebar ul.product-categories a,
.shop-sidebar .widget_product_categories a {
	color: var(--htw-navy);
	text-decoration: none;
}

.shop-sidebar ul.product-categories a:hover,
.shop-sidebar .widget_product_categories a:hover {
	color: var(--htw-red);
}

/* -------------------------------------------------------------------------
 * Responsive
 * ---------------------------------------------------------------------- */

@media (min-width: 1500px) {
	:root { --htw-gutter: 44px; }
}

@media (max-width: 1100px) {
	.htw-carousel__track > .htw-card { flex-basis: calc((100% - 32px) / 3); }
	.htw-collections__card { flex-basis: calc((100% - 24px) / 4); }
	.htw-testimonials__card { flex-basis: 780px; grid-template-columns: 300px minmax(0, 1fr); }
	.htw-lookbook__product { padding: 16px 20px 22px; min-height: 580px; }
	.htw-lookbook__product-media { max-height: 380px; }
	.htw-lookbook__product-img { max-height: 380px; }
	.htw-lookbook__meta { width: min(100%, 460px); }
}

@media (max-width: 849px) {
	:root { --htw-gutter: 18px; }

	.htw-hero {
		min-height: 480px;
		height: 66vh;
		max-height: 560px;
	}

	.htw-hero__content {
		padding-bottom: 30px;
	}

	.htw-hero__title {
		font-size: 32px;
		line-height: 1.1;
	}

	.htw-hero__desc {
		font-size: 14px;
		margin-bottom: 16px;
	}

	.htw-hero__button {
		width: 100%;
		min-height: 40px;
	}

	.htw-bestsellers { padding: 34px 0 34px; }

	.htw-bestsellers__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}

	.htw-card__info { min-height: 118px; padding: 11px 10px 13px; }
	.htw-card__title { font-size: 14px; }
	.htw-card__color { font-size: 12px; }
	.htw-card__price { font-size: 13px; }

	.htw-featured { padding: 20px 0 20px; }
	.htw-featured__tabs { gap: 20px; }
	.htw-featured__tab { font-size: 24px; }
	.htw-carousel__track { gap: 10px; }
	.htw-carousel__track > .htw-card { flex-basis: calc((100% - 10px) / 2); }
	.htw-carousel__arrow { display: none; }
	.htw-carousel__dots { display: flex; }

	.htw-image-links {
		overflow: hidden;
	}

	.htw-image-links__grid {
		display: flex;
		gap: 8px;
		overflow-x: auto;
		scrollbar-width: none;
		scroll-snap-type: x mandatory;
		padding-bottom: 2px;
	}

	.htw-image-links__grid::-webkit-scrollbar { display: none; }

	.htw-image-links__card {
		flex: 0 0 62vw;
		scroll-snap-align: start;
	}

	.htw-image-links__label { font-size: 22px; left: 14px; bottom: 12px; }
	.htw-image-links__dots { display: flex; }

	.htw-press__inner { height: 120px; }
	.htw-press__track,
	.htw-press__group { gap: 34px; }
	.htw-press__group { padding-right: 34px; }
	.htw-press__group img { height: 54px; max-width: 132px; }
	.htw-press__toggle { width: 26px; height: 26px; }

	.htw-lookbook { padding: 34px 0 26px; }
	.htw-lookbook__head { display: block; margin-bottom: 20px; }
	.htw-lookbook__heading { font-size: 34px; }
	.htw-lookbook__desc { margin-top: 10px; text-align: left; font-size: 15px; }
	.htw-lookbook__slide { grid-template-columns: 1fr; gap: 0; height: auto; }
	.htw-lookbook__photo { height: auto; min-height: 0; aspect-ratio: 1 / 1; }
	.htw-lookbook__product { min-height: 0; padding: 18px 16px 22px; }
	.htw-lookbook__product-media { width: 100%; max-height: 300px; }
	.htw-lookbook__product-img { max-height: 300px; }
	.htw-lookbook__meta { width: 100%; }
	.htw-lookbook__arrow--prev { left: 8px; }
	.htw-lookbook__arrow--next { right: 8px; }
	.htw-lookbook__thumbs { margin-top: 16px; }
	.htw-lookbook__thumb { flex-basis: 70px; width: 70px; height: 70px; }

	.htw-testimonials { padding: 34px 0 28px; }
	.htw-testimonials__heading { font-size: 32px; }
	.htw-testimonials__nav { display: none; }
	.htw-testimonials__track { gap: 16px; }
	.htw-testimonials__card { flex: 0 0 88vw; grid-template-columns: 1fr; gap: 14px; min-height: 0; }
	.htw-testimonials__image { aspect-ratio: 1 / 1; }
	.htw-testimonials__body { padding-top: 0; }
	.htw-testimonials__title { font-size: 17px; }
	.htw-testimonials__quote { font-size: 22px; }
	.htw-testimonials__dots { display: flex; }

	.htw-collections { padding: 30px 0 18px; }
	.htw-collections__heading { font-size: 26px; margin-bottom: 14px; }
	.htw-collections__card { flex: 0 0 42vw; }
	.htw-collections__label { font-size: 11px; }
	.htw-collections__dots { display: flex; }

	.htw-california { grid-template-columns: 1fr; margin-top: 20px; }
	.htw-california__media { min-height: 0; aspect-ratio: 1 / 1; }
	.htw-california__content { padding: 30px 20px 38px; }
	.htw-california__heading { font-size: 38px; }
	.htw-california__text { font-size: 16px; }

	.htw-heritage { padding: 34px 0 46px; }
	.htw-heritage__heading { font-size: 26px; margin-bottom: 18px; }
	.htw-heritage__grid {
		display: flex;
		gap: 12px;
		overflow-x: auto;
		scrollbar-width: none;
		scroll-snap-type: x mandatory;
	}
	.htw-heritage__grid::-webkit-scrollbar { display: none; }
	.htw-heritage__card { flex: 0 0 78vw; scroll-snap-align: start; }

	.htw-size-guide__tables { grid-template-columns: 1fr; gap: 26px; }

	/* Touch cards do not need the hover quick-view overlay. */
	.products .product-small .quick-view,
	.products .product-small .image-tools .quick-view {
		display: none !important;
	}

	.htw-theme #logo img { width: 150px; max-width: 150px; }
}

@media (max-width: 480px) {
	.htw-hero { min-height: 480px; }
	.htw-hero__title { font-size: 30px; }
	.htw-testimonials__card { flex-basis: 90vw; }
}
