/* Hauska /material/.../ collection listing */
#hmc-page.hauska-material-list {
	width: 100%;
	max-width: 100%;
	overflow-x: hidden;
	background: #fff;
	color: #221F20;
	font-family: Montserrat, sans-serif;
}
#hmc-page.hauska-material-list * { box-sizing: border-box; }
#hmc-page.hauska-material-list a { text-decoration: none; color: inherit; }
#hmc-page h1:after { display: none !important; content: none !important; }

.hmc-hero {
	padding: 40px 0;
	background: #fff;
}
#hmc-page .hmc-hero ul.breadcrumb.us-breadcrumb {
	margin: 0;
	padding: 0 !important;
	background: none !important;
	border: 0 !important;
	text-transform: none;
}
#hmc-page .hmc-hero .us-breadcrumb-item,
#hmc-page .hmc-hero .breadcrumb-item,
#hmc-page .hmc-hero .us-breadcrumb-item a,
#hmc-page .hmc-hero .breadcrumb-item a {
	color: #A8A8A8 !important;
	font-size: 12px !important;
	font-weight: 400;
	line-height: 18px;
	letter-spacing: 0.5px;
	text-transform: none;
	background: none !important;
}
#hmc-page .hmc-hero .us-breadcrumb-item:last-child,
#hmc-page .hmc-hero .breadcrumb-item:last-child,
#hmc-page .hmc-hero .us-breadcrumb-item:last-child a {
	color: #221F20 !important;
}
#hmc-page .hmc-hero .us-breadcrumb-item + .us-breadcrumb-item::before,
#hmc-page .hmc-hero .breadcrumb-item + .breadcrumb-item::before {
	color: #C8C8C8;
	padding: 0 8px;
	content: "/";
}
#hmc-page .hmc-hero .us-breadcrumb-item:first-child i,
#hmc-page .hmc-hero .fa-home {
	color: #A8A8A8 !important;
	font-size: 12px;
}
.hmc-hero__row {
	display: flex;
	align-items: center;
	gap: 80px;
	padding-top: 24px;
}
.hmc-hero__title {
	flex: 1 1 0;
	margin: 0;
	color: #221F20;
	font-family: Montserrat, sans-serif;
	font-size: 40px;
	font-weight: 500;
	text-transform: uppercase;
	line-height: 48px;
	letter-spacing: 3px;
}
.hmc-hero__intro {
	flex: 1 1 0;
	margin: 0;
	text-align: right;
	color: #888;
	font-size: 14px;
	font-weight: 400;
	line-height: 24px;
}

.hmc-body {
	padding: 64px 0 80px;
	display: flex;
	flex-direction: column;
	gap: 40px;
}
.hmc-tabs {
	display: flex;
	align-items: stretch;
	border-bottom: 1px solid rgba(34, 31, 32, 0.10);
}
.hmc-tab {
	flex: 1 1 0;
	padding: 16px 24px;
	border-bottom: 2px solid transparent;
	margin-bottom: -1px;
	text-align: center;
	color: rgba(34, 31, 32, 0.40);
	font-size: 16px;
	font-weight: 400;
	text-transform: uppercase;
	line-height: 24px;
	letter-spacing: 2px;
}
.hmc-tab.is-on {
	color: #221F20;
	font-weight: 500;
	border-bottom-color: #221F20;
}
.hmc-tab:hover { color: #221F20; }

.hmc-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
}
.hmc-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	outline: 1px solid rgba(34, 31, 32, 0.07);
	outline-offset: -1px;
	min-width: 0;
}
.hmc-card[hidden] { display: none !important; }
.hmc-card__media {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	padding: 0;
	border: 0;
	background: #f4f4f4;
	cursor: pointer;
	overflow: hidden;
}
.hmc-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.hmc-card__body {
	display: flex;
	flex-direction: column;
	padding: 24px 20px;
	border-top: 1px solid rgba(34, 31, 32, 0.05);
}
.hmc-card__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	width: 100%;
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
	text-align: left;
}
.hmc-card__name {
	color: #221F20;
	font-family: Montserrat, sans-serif;
	font-size: 16px;
	font-weight: 500;
	text-transform: uppercase;
	line-height: 24px;
	letter-spacing: 1px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.hmc-card__head svg {
	display: block;
	flex: 0 0 auto;
}
.hmc-card__meta {
	display: flex;
	align-items: center;
	gap: 16px;
	padding-top: 12px;
	min-width: 0;
}
.hmc-swatches {
	display: flex;
	align-items: center;
	gap: 4px;
	min-width: 0;
	flex: 1 1 auto;
	overflow: hidden;
}
.hmc-swatch {
	flex: 0 0 auto;
	width: 14px;
	height: 14px;
	padding: 0;
	border: 0;
	border-radius: 99px;
	background: var(--color, #d9d9d9) center / cover no-repeat;
	cursor: pointer;
}
.hmc-swatch.is-on {
	width: 16px;
	height: 16px;
	border: 1px solid rgba(34, 31, 32, 0.25);
	box-sizing: border-box;
}
.hmc-card__brand {
	flex: 0 0 auto;
	color: rgba(34, 31, 32, 0.42);
	font-size: 14px;
	font-weight: 400;
	text-transform: uppercase;
	line-height: 20px;
	letter-spacing: 1px;
	white-space: nowrap;
}

.hmc-more {
	padding-top: 24px;
	display: flex;
	justify-content: center;
}
.hmc-more[hidden] { display: none !important; }
.hmc-more__btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 16px 40px;
	border: 0;
	outline: 1px solid #2A2826;
	outline-offset: -1px;
	background: #fff;
	color: #2A2826;
	font-family: Montserrat, sans-serif;
	font-size: 16px;
	font-weight: 500;
	text-transform: uppercase;
	line-height: 28px;
	letter-spacing: 1px;
	cursor: pointer;
}
.hmc-more__btn:hover { background: #2A2826; color: #fff; }
.hmc-more__btn:disabled { opacity: 0.5; cursor: wait; }

.hmc-modal-wrap {
	position: fixed;
	inset: 0;
	z-index: 10060;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 40px;
	background: rgba(18, 13, 8, 0.45);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.2s;
}
.hmc-modal-wrap[hidden] { display: none !important; }
.hmc-modal-wrap.is-on {
	opacity: 1;
	pointer-events: auto;
}
.hmc-modal {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	width: min(1440px, 100%);
	max-height: calc(100vh - 80px);
	padding: 0 44px;
	background: #fff;
	box-shadow: 0 28px 96px rgba(18, 13, 8, 0.30);
	overflow: hidden;
}
.hmc-modal__media {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	flex: 0 0 auto;
	width: min(580px, 42%);
	padding: 80px 0;
	gap: 24px;
}
.hmc-modal__frame {
	width: 100%;
	aspect-ratio: 1 / 1;
	flex: 0 0 auto;
	background: #F4F4F4 center / cover no-repeat;
	overflow: hidden;
}
.hmc-modal__photo {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.hmc-modal__photo[hidden] { display: none !important; }
.hmc-modal__swatches {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	align-self: stretch;
	gap: 12px;
}
.hmc-modal__swatches .hmc-swatch {
	width: 28px;
	height: 28px;
	border: 0;
}
.hmc-modal__swatches .hmc-swatch.is-on {
	width: 36px;
	height: 36px;
	border: 1px solid rgba(34, 31, 32, 0.25);
}
.hmc-modal__copy {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	flex: 1 1 0;
	align-self: stretch;
	min-width: 0;
	min-height: 0;
	padding-left: 40px;
	overflow: hidden;
}
.hmc-modal__toolbar {
	display: flex;
	align-self: stretch;
	justify-content: flex-end;
	padding-top: 32px;
}
.hmc-modal__close {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
	color: #221F20;
}
.hmc-modal__body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	align-self: stretch;
	flex: 1 1 auto;
	min-height: 0;
	padding: 16px 0 40px;
	overflow: auto;
}
.hmc-modal__name {
	align-self: stretch;
	color: #221F20;
	font-size: 28px;
	font-weight: 300;
	text-transform: uppercase;
	line-height: 44px;
	letter-spacing: 1px;
	word-wrap: break-word;
}
.hmc-modal__brand {
	align-self: stretch;
	padding-top: 8px;
	color: rgba(34, 31, 32, 0.50);
	font-size: 16px;
	font-weight: 400;
	line-height: 21px;
	word-wrap: break-word;
}
.hmc-modal__brand[hidden] { display: none !important; }
.hmc-modal__rule {
	align-self: stretch;
	height: 1px;
	margin-top: 24px;
	background: #EEEDEE;
}
.hmc-modal__attrs {
	display: flex;
	flex-direction: column;
	align-self: stretch;
	gap: 16px;
	padding-top: 24px;
}
.hmc-modal__attr {
	display: flex;
	align-items: flex-start;
	align-self: stretch;
	gap: 24px;
}
.hmc-modal__attr span:first-child {
	flex: 0 0 auto;
	color: rgba(34, 31, 32, 0.40);
	font-size: 14px;
	font-weight: 400;
	text-transform: uppercase;
	line-height: 22px;
	letter-spacing: 1px;
}
.hmc-modal__attr span:last-child {
	flex: 1 1 0;
	min-width: 0;
	color: #221F20;
	font-size: 14px;
	font-weight: 400;
	line-height: 21px;
	text-align: right;
	word-wrap: break-word;
}
.hmc-modal__note {
	align-self: stretch;
	margin-top: 24px;
	padding: 16px;
	background: #FAFAF9;
	outline: 1px solid rgba(34, 31, 32, 0.05);
	outline-offset: -1px;
	color: rgba(34, 31, 32, 0.50);
	font-size: 14px;
	font-weight: 400;
	line-height: 24px;
}
.hmc-modal__actions {
	display: flex;
	align-self: stretch;
	padding-top: 32px;
}
.hmc-modal__cta {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 1 1 0;
	padding: 20px 16px;
	background: #221F20;
	color: #fff !important;
	font-size: 14px;
	font-weight: 500;
	text-align: center;
	text-transform: uppercase;
	line-height: 18px;
	letter-spacing: 1.5px;
}
.hmc-modal__cta:hover { opacity: 0.92; }

@media (max-width: 1199px) {
	.hmc-hero__row { gap: 40px; }
	.hmc-tabs { overflow-x: auto; }
	.hmc-tab { flex: 0 0 auto; padding: 14px 16px; font-size: 13px; letter-spacing: 1px; }
	.hmc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 991px) {
	.hmc-hero__row { flex-direction: column; align-items: flex-start; gap: 16px; }
	.hmc-hero__intro { text-align: left; }
	.hmc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.hmc-modal-wrap {
		padding: 12px;
		align-items: center;
	}
	.hmc-modal {
		flex-direction: column;
		align-items: stretch;
		width: 100%;
		max-height: calc(var(--hauska-vvh, 100svh) - 24px);
		padding: 0 16px 20px;
		overflow-x: hidden;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
	}
	.hmc-modal__media,
	.hmc-modal__copy {
		width: 100%;
		max-width: none;
		padding: 0;
	}
	.hmc-modal__media {
		flex: 0 0 auto;
		padding-top: 16px;
		gap: 12px;
	}
	.hmc-modal__frame {
		width: min(180px, 48vw);
		align-self: center;
	}
	.hmc-modal__copy {
		flex: 0 0 auto;
		min-height: auto;
		overflow: visible;
	}
	.hmc-modal__toolbar {
		position: sticky;
		top: 0;
		z-index: 2;
		padding-top: 8px;
		background: #fff;
	}
	.hmc-modal__body {
		flex: 0 0 auto;
		min-height: auto;
		overflow: visible;
		padding: 8px 0 16px;
	}
	.hmc-modal__name { font-size: 22px; line-height: 32px; }
}
@media (max-width: 767px) {
	.hmc-hero { padding: 24px 0; }
	.hmc-body { padding: 32px 0 48px; gap: 24px; }
	.hmc-hero__title { font-size: 28px; line-height: 36px; letter-spacing: 1.5px; }
	.hmc-grid { grid-template-columns: 1fr; gap: 16px; }
	.hmc-card__body { padding: 20px 16px; }
}
