/**
 * Single WooCommerce product — selection, description and recommendations.
 */

.hm-single-product {
	background: #fff;
	color: #161616;
}

.hm-single-product,
.hm-single-product * {
	box-sizing: border-box;
}

.hm-single-product__article {
	margin: 0;
}

.hm-product-selection {
	padding: 34px 0 clamp(70px, 6vw, 110px);
	background: #fff;
}

.hm-product-selection__inner {
	width: min(1800px, calc(100% - 64px));
	margin-inline: auto;
}

.hm-product-breadcrumb {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 5px;
	margin-bottom: 30px;
	color: #8b9098;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.45;
}

.hm-product-breadcrumb a {
	color: #717781;
	text-decoration: none;
}

.hm-product-breadcrumb a:hover,
.hm-product-breadcrumb a:focus-visible,
.hm-product-breadcrumb > span:last-child {
	color: #315ee9;
}

.hm-product-breadcrumb__separator {
	color: #b0b4bb;
}

.hm-product-selection__layout {
	display: grid;
	grid-template-columns: minmax(0, 1.32fr) minmax(440px, .88fr);
	align-items: start;
	gap: clamp(48px, 5vw, 92px);
}

/* WooCommerce gallery, rearranged as vertical thumbnails + square image. */
.hm-product-gallery {
	position: relative;
	min-width: 0;
}

.hm-product-gallery .woocommerce-product-gallery {
	position: relative;
	display: grid !important;
	grid-template-columns: 88px minmax(0, 1fr);
	grid-template-rows: minmax(0, auto);
	gap: 22px;
	float: none !important;
	width: 100% !important;
	margin: 0 !important;
	opacity: 1 !important;
}

.hm-product-gallery .woocommerce-product-gallery > .woocommerce-product-gallery__wrapper,
.hm-product-gallery .woocommerce-product-gallery > .flex-viewport {
	grid-column: 2;
	grid-row: 1;
	min-width: 0;
	width: 100%;
	aspect-ratio: 1 / 1;
	border-radius: 0;
	background: #fff;
}

.hm-product-gallery .woocommerce-product-gallery > .flex-viewport {
	height: auto !important;
	overflow: hidden;
}

.hm-product-gallery .woocommerce-product-gallery__wrapper {
	margin: 0;
}

.hm-product-gallery .flex-viewport .woocommerce-product-gallery__wrapper {
	height: 100% !important;
}

.hm-product-gallery .woocommerce-product-gallery__image,
.hm-product-gallery .woocommerce-product-gallery__image a {
	display: block;
	height: 100%;
	min-height: 0;
	aspect-ratio: 1 / 1;
	background: #fff;
}

.hm-product-gallery .woocommerce-product-gallery__image img {
	display: block;
	width: 100% !important;
	height: 100% !important;
	margin: 0;
	padding: clamp(12px, 2vw, 34px);
	object-fit: contain;
}

.hm-product-gallery .woocommerce-product-gallery .flex-control-thumbs {
	grid-column: 1;
	grid-row: 1;
	display: flex;
	flex-direction: column;
	gap: 12px;
	width: 100%;
	max-height: 100%;
	margin: 0;
	padding: 0 4px 0 0;
	overflow-x: hidden;
	overflow-y: auto;
	list-style: none;
	scrollbar-width: thin;
}

.hm-product-gallery .woocommerce-product-gallery .flex-control-thumbs li {
	flex: 0 0 auto;
	float: none !important;
	width: 100% !important;
	margin: 0 !important;
}

.hm-product-gallery .woocommerce-product-gallery .flex-control-thumbs img {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	padding: 6px;
	border: 1px solid #e4e4e4;
	border-radius: 0;
	background: #fff;
	object-fit: contain;
	opacity: .7;
	cursor: pointer;
	transition: border-color .2s ease, opacity .2s ease;
}

.hm-product-gallery .woocommerce-product-gallery .flex-control-thumbs img.flex-active,
.hm-product-gallery .woocommerce-product-gallery .flex-control-thumbs img:hover {
	border-color: #161616;
	opacity: 1;
}

/* Disable hover zoom overlay on main product images */
.woocommerce-product-gallery .zoomImg {
	display: none !important;
	pointer-events: none !important;
	opacity: 0 !important;
	visibility: hidden !important;
}

.hm-product-gallery .woocommerce-product-gallery__image,
.hm-product-gallery .woocommerce-product-gallery__image a,
.hm-product-gallery .woocommerce-product-gallery__image img {
	cursor: default;
}

.hm-product-gallery .woocommerce-product-gallery__trigger {
	position: absolute;
	top: auto;
	right: 18px;
	bottom: 18px;
	z-index: 10;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border-radius: 50%;
	border: 1px solid rgba(0, 0, 0, 0.08);
	background: rgba(255, 255, 255, 0.94);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
	color: #1e1e1e;
	text-decoration: none;
	cursor: pointer;
	transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.hm-product-gallery .woocommerce-product-gallery__trigger:hover,
.hm-product-gallery .woocommerce-product-gallery__trigger:focus-visible {
	border-color: #161616;
	background: #161616;
	color: #fff;
	transform: translateY(-2px) scale(1.05);
	box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
}

.hm-product-gallery .woocommerce-product-gallery__trigger svg {
	width: 19px;
	height: 19px;
	stroke: currentColor;
	fill: none;
	transition: transform 0.25s ease;
}

.hm-product-gallery .woocommerce-product-gallery__trigger:hover svg {
	transform: scale(1.08);
}

.hm-product-gallery .woocommerce-product-gallery__trigger > span {
	display: none;
}

.hm-product-gallery .woocommerce-product-gallery__trigger:not(:has(svg))::before {
	content: "";
	width: 19px;
	height: 19px;
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3C/svg%3E") no-repeat center / contain;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3C/svg%3E") no-repeat center / contain;
}

.hm-product-gallery__nav {
	position: absolute;
	right: auto;
	bottom: 18px;
	left: 110px;
	z-index: 9;
	display: flex;
	gap: 8px;
}

.hm-product-gallery__nav[hidden] {
	display: none;
}

.hm-product-gallery__nav button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 1px solid #d8d8d8;
	border-radius: 50%;
	background: rgba(255, 255, 255, .94);
	box-shadow: none;
	color: #161616;
	cursor: pointer;
}

.hm-product-gallery__nav button:hover,
.hm-product-gallery__nav button:focus-visible {
	border-color: #161616;
	background: #161616;
	color: #fff;
}

/* Product summary and the native WooCommerce purchase form. */
.hm-product-summary {
	position: sticky;
	top: 104px;
	min-width: 0;
	padding-top: clamp(24px, 4vw, 68px);
}

.hm-product-summary__sku {
	margin-bottom: 18px;
	color: #858585;
	font-size: 11px;
	font-weight: 500;
	line-height: 1.4;
	text-transform: uppercase;
}

.hm-product-summary__title {
	margin: 0;
	color: #272727;
	font-family: "Jost", sans-serif;
	font-size: clamp(34px, 2.5vw, 48px);
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -.025em;
}

.hm-product-summary__excerpt {
	margin: 8px 0 0;
	color: #666c76;
	font-size: 14px;
	line-height: 1.55;
}

.hm-product-summary__price-row {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 0;
	margin-top: 22px;
	padding: 0 0 28px;
	border-bottom: 1px solid #e5e6e8;
}

.hm-product-summary__price,
.hm-product-summary__price .price {
	margin: 0;
	color: #0d0d0d;
	font-size: clamp(20px, 1.35vw, 24px);
	font-weight: 500;
	line-height: 1.2;
}

.hm-product-summary__price del {
	display: block;
	margin-bottom: 2px;
	color: #999ea7;
	font-size: 13px;
	font-weight: 500;
	opacity: 1;
}

.hm-product-summary__price ins {
	color: inherit;
	text-decoration: none;
}

.hm-product-summary__sale {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 28px;
	padding: 5px 10px;
	border-radius: 999px;
	background: #2446cc;
	color: #fff;
	font-size: 12px;
	font-weight: 800;
	line-height: 1;
}

.hm-product-summary__purchase {
	margin-top: 26px;
}

.hm-product-summary__purchase form.cart {
	margin: 0;
}

.hm-product-summary__purchase .variations {
	display: block;
	width: 100%;
	margin: 0;
	border: 0;
}

.hm-product-summary__purchase .variations tbody,
.hm-product-summary__purchase .variations tr,
.hm-product-summary__purchase .variations th,
.hm-product-summary__purchase .variations td {
	display: block;
	width: 100%;
	padding: 0;
	border: 0;
}

.hm-product-summary__purchase .variations tr + tr {
	margin-top: 24px;
}

.hm-product-summary__purchase .variations th.label {
	margin-bottom: 11px;
	color: #6d6d6d;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.4;
	text-align: left;
}

.hm-product-summary__purchase .variations select {
	display: block;
	width: 100%;
	height: 46px;
	padding: 0 38px 0 13px;
	border: 1px solid #dadddf;
	border-radius: 6px;
	background: #fff;
	color: #222;
	font: inherit;
	font-size: 14px;
}

.hm-product-summary__purchase .variations select.hm-variation-select--enhanced {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	margin: -1px !important;
	padding: 0 !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

.hm-variation-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.hm-product-summary__purchase .variable-items-wrapper {
	display: flex !important;
	flex-wrap: wrap !important;
	align-items: center;
	gap: 8px !important;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none;
}

.hm-product-summary__purchase .variable-items-wrapper .variable-item {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	min-width: 70px !important;
	height: 52px !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 1px solid #dedede !important;
	border-radius: 0 !important;
	background: #fff !important;
	box-shadow: none !important;
	color: #272727;
	font-size: 13px;
	font-weight: 500;
}

.hm-product-summary__purchase .variable-items-wrapper .variable-item:hover,
.hm-product-summary__purchase .variable-items-wrapper .variable-item:focus-visible {
	border-color: #272727 !important;
}

.hm-product-summary__purchase .variable-items-wrapper .variable-item.selected {
	border: 2px solid #272727 !important;
	box-shadow: none !important;
	font-weight: 600;
}

.hm-product-summary__purchase .variable-items-wrapper .color-variable-item.selected .variable-item-contents::before,
.hm-product-summary__purchase .variable-items-wrapper .image-variable-item.selected .variable-item-contents::before,
.hm-product-summary__purchase .variable-items-wrapper .wc-visual-variable-item.selected .variable-item-contents::before {
	display: none !important;
	content: none !important;
	background-image: none !important;
}

.hm-product-summary__purchase .variable-items-wrapper .variable-item.disabled {
	opacity: .35;
}

.hm-product-summary__purchase .variable-items-wrapper .variable-item-contents {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	padding: 0;
}

.hm-product-summary__purchase .hm-variation-image-swatches .hm-variation-image-swatches__item {
	width: 72px !important;
	min-width: 72px !important;
	height: 64px !important;
}

.hm-product-summary__purchase .hm-variation-image-swatches__image {
	display: block;
	width: 100% !important;
	height: 100% !important;
	padding: 4px;
	object-fit: contain;
}

.hm-product-summary__purchase .woo-selected-variation-item-name {
	margin-left: 4px;
	color: #272727;
	font-weight: 600;
}

.hm-variation-pills__option {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 70px;
	min-height: 52px;
	padding: 10px 18px;
	border: 1px solid #dedede;
	border-radius: 0;
	background: #fff;
	color: #272727;
	font: inherit;
	font-size: 13px;
	font-weight: 500;
	cursor: pointer;
	transition: border-color .18s ease, background-color .18s ease, color .18s ease;
}

.hm-variation-pills__option:hover,
.hm-variation-pills__option:focus-visible {
	border-color: #151515;
}

.hm-variation-pills__option.is-selected {
	border: 2px solid #272727;
	background: #fff;
	color: #272727;
	font-weight: 600;
}

.hm-variation-pills__option:disabled {
	border-color: #ebebeb;
	background: #f7f7f7;
	color: #b0b3b8;
	cursor: not-allowed;
	text-decoration: line-through;
}

.hm-product-summary__purchase .reset_variations {
	display: none !important;
}

.hm-product-summary__purchase .single_variation_wrap {
	margin-top: 24px;
}

.hm-product-summary__purchase .woocommerce-variation-description {
	display: none;
}

.hm-product-summary__purchase .woocommerce-variation-description > :last-child {
	margin-bottom: 0;
}

.hm-product-summary__purchase .woocommerce-variation-price {
	display: none;
}

.hm-product-summary__purchase .woocommerce-variation-price .price {
	color: #151515;
	font-size: 20px;
	font-weight: 750;
}

.hm-product-summary__purchase .stock {
	margin: 0 0 10px;
	font-size: 13px;
	font-weight: 600;
}

.hm-product-summary__purchase .in-stock {
	color: #1d7d46;
}

.hm-product-summary__purchase .out-of-stock {
	color: #bd2929;
}

.hm-product-summary__purchase form.cart:not(.variations_form),
.hm-product-summary__purchase .woocommerce-variation-add-to-cart {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	align-items: start;
	gap: 0;
	width: 100%;
}

.hm-product-summary__purchase .hm-quantity__label {
	display: block;
	margin-bottom: 10px;
	color: #6d6d6d;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.4;
}

.hm-product-summary__purchase .quantity {
	display: grid;
	grid-template-columns: 46px 58px 46px;
	width: 150px;
	min-height: 52px;
	overflow: hidden;
	border: 1px solid #dedede;
	border-radius: 0;
	background: #fff;
	color: #272727;
}

.hm-product-summary__purchase .quantity:not(.hm-quantity--enhanced) {
	display: block;
	width: 82px;
}

.hm-product-summary__purchase .quantity .qty {
	grid-column: 2;
	grid-row: 1;
	width: 58px;
	height: 50px;
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	background: transparent;
	color: #272727;
	font: inherit;
	font-size: 13px;
	font-weight: 700;
	text-align: center;
	-moz-appearance: textfield;
}

.hm-product-summary__purchase .quantity .qty::-webkit-inner-spin-button,
.hm-product-summary__purchase .quantity .qty::-webkit-outer-spin-button {
	margin: 0;
	appearance: none;
}

.hm-product-summary__purchase .hm-quantity__button {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 50px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #272727;
	font: inherit;
	font-size: 18px;
	cursor: pointer;
}

.hm-product-summary__purchase .hm-quantity__button--minus {
	grid-column: 1;
	grid-row: 1;
}

.hm-product-summary__purchase .hm-quantity__button--plus {
	grid-column: 3;
	grid-row: 1;
}

.hm-product-summary__purchase .hm-quantity__button:hover,
.hm-product-summary__purchase .hm-quantity__button:focus-visible {
	background: #f3f3f3;
}

.hm-product-summary__purchase .single_add_to_cart_button,
.hm-product-summary__purchase .button.single_add_to_cart_button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-width: 0;
	min-height: 60px;
	margin: 28px 0 0;
	padding: 10px 24px;
	border: 1px solid #272727;
	border-radius: 0;
	background: #272727 !important;
	box-shadow: none;
	color: #fff;
	font: inherit;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	cursor: pointer;
}

.hm-product-summary__purchase .single_add_to_cart_button:hover,
.hm-product-summary__purchase .single_add_to_cart_button:focus-visible {
	background: #fff !important;
	color: #272727;
}

.hm-product-summary__purchase .single_add_to_cart_button.disabled,
.hm-product-summary__purchase .single_add_to_cart_button:disabled {
	border-color: #a8a8a8;
	background: #a8a8a8 !important;
	cursor: not-allowed;
}

.hm-product-summary__meta {
	margin-top: 18px;
	padding-top: 16px;
	border-top: 1px solid #e5e6e8;
}

.hm-product-summary__meta .product_meta {
	display: flex;
	flex-wrap: wrap;
	gap: 7px 18px;
	color: #7a808a;
	font-size: 12px;
	line-height: 1.5;
}

.hm-product-summary__meta .product_meta > span {
	display: inline-block;
}

.hm-product-summary__meta a {
	color: #353b45;
	text-decoration: none;
}

.hm-product-summary__description-link {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	margin-top: 16px;
	border-top: 1px solid #e5e6e8;
	border-bottom: 1px solid #e5e6e8;
	color: #1b1b1b;
	font-size: 13px;
	font-weight: 750;
	text-decoration: none;
}

.hm-product-summary__description-link:hover svg,
.hm-product-summary__description-link:focus-visible svg {
	transform: translateY(3px);
}

.hm-product-benefits {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px 18px;
	margin: 28px 0 0;
	padding: 20px 22px;
	border: 1px solid #e9ecef;
	border-radius: 12px;
	background: #fbfbfc;
	list-style: none;
}

.hm-product-benefits li {
	display: flex;
	align-items: center;
	gap: 13px;
	padding: 4px 0;
	color: #272d37;
	transition: transform 0.2s ease;
}

.hm-product-benefits__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 40px;
	width: 40px;
	height: 40px;
	border-radius: 10px;
	background: #ffffff;
	border: 1px solid #e5e7eb;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
	color: #1e2530;
	transition: all 0.22s ease;
}

.hm-product-benefits li:hover .hm-product-benefits__icon {
	background: #161616;
	border-color: #161616;
	color: #ffffff;
	transform: scale(1.05);
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

.hm-product-benefits__icon svg {
	width: 20px;
	height: 20px;
	stroke: currentColor;
	fill: none;
}

.hm-product-benefits__text {
	flex: 1;
	min-width: 0;
	font-size: 13.5px;
	font-weight: 500;
	line-height: 1.45;
	color: #374151;
}

.hm-product-benefits__link {
	color: #111827;
	font-weight: 700;
	text-decoration: none;
	transition: color 0.18s ease;
}

.hm-product-benefits__link:hover,
.hm-product-benefits__link:focus-visible {
	color: #2563eb;
	text-decoration: underline;
}

@media (max-width: 640px) {
	.hm-product-benefits {
		grid-template-columns: 1fr;
		gap: 12px;
		padding: 16px 18px;
	}
}

/* Component 2 — product description. */
.hm-product-description {
	scroll-margin-top: 90px;
	padding: clamp(48px, 4.5vw, 80px) 0 clamp(40px, 4vw, 64px);
	border-top: 1px solid #ececec;
	background: #fff;
	color: #34383f;
}

.hm-product-description__inner {
	width: min(1600px, calc(100% - 48px));
	margin-inline: auto;
}

/* Mo ta 60% ben trai — FAQ 40% ben phai. */
.hm-product-description__layout {
	display: grid;
	grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
	align-items: start;
	gap: clamp(32px, 4vw, 72px);
}

.hm-product-description__main {
	min-width: 0;
}

.hm-product-description__empty {
	margin: 0;
	color: #8a9099;
	font-size: 14px;
}

/* ---- FAQ ---- */
.hm-product-faq {
	position: sticky;
	top: calc(var(--hm-header-h, 100px) + 20px);
	min-width: 0;
	color: #2b2f36;
	font-size: 14px;
	line-height: 1.65;
}

.hm-product-faq__size {
	padding-bottom: 22px;
	border-bottom: 1px solid #e7e7e7;
}

.hm-product-faq__heading {
	margin: 0 0 16px;
	color: #161616;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.4;
}

.hm-product-faq__chart {
	display: block;
	overflow: hidden;
	border: 1px solid #eee;
	border-radius: 8px;
	background: #fff;
	cursor: zoom-in;
}

.hm-product-faq__chart-img {
	display: block;
	width: 100%;
	height: auto;
}

.hm-product-faq__placeholder {
	margin: 0;
	padding: 14px 16px;
	border: 1px dashed #d8dadd;
	border-radius: 8px;
	background: #fafafa;
	color: #6b717b;
	font-size: 13px;
}

.hm-product-faq__notes {
	margin-top: 16px;
	color: #3a3f47;
	font-size: 13.5px;
}

.hm-product-faq__item {
	border-bottom: 1px solid #e7e7e7;
}

.hm-product-faq__summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 18px 0;
	color: #161616;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.4;
	list-style: none;
	cursor: pointer;
	user-select: none;
}

.hm-product-faq__summary::-webkit-details-marker {
	display: none;
}

.hm-product-faq__summary:focus-visible {
	outline: 2px solid #161616;
	outline-offset: 2px;
	border-radius: 4px;
}

.hm-product-faq__icon {
	display: inline-flex;
	flex: 0 0 22px;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #161616;
	color: #fff;
	transform: rotate(180deg);
	transition: transform .25s ease, background-color .2s ease;
}

.hm-product-faq__item[open] .hm-product-faq__icon {
	transform: rotate(0deg);
}

.hm-product-faq__summary:hover .hm-product-faq__icon {
	background: #3a3a3a;
}

.hm-product-faq__body {
	padding: 0 0 20px;
	color: #3a3f47;
}

.hm-product-faq__body p,
.hm-product-faq__notes p {
	margin: 0 0 12px;
}

.hm-product-faq__body ul,
.hm-product-faq__notes ul {
	margin: 0 0 12px;
	padding-left: 20px;
}

.hm-product-faq__body li,
.hm-product-faq__notes li {
	margin: 6px 0;
}

.hm-product-faq__body > :last-child,
.hm-product-faq__notes > :last-child {
	margin-bottom: 0;
}

.hm-product-faq__body a {
	color: #161616;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.hm-product-faq__body a:hover {
	color: #2563eb;
}

@media (max-width: 991px) {
	.hm-product-description__layout {
		grid-template-columns: minmax(0, 1fr);
	}

	.hm-product-faq {
		position: static;
	}
}

.hm-product-description__title,
.hm-product-recommendations__title {
	margin: 0 0 28px;
	color: #0b0b0b;
	font-size: clamp(26px, 2.1vw, 40px);
	font-weight: 750;
	line-height: 1.15;
	letter-spacing: -.03em;
	text-transform: uppercase;
}

.hm-product-description__title {
	text-align: left;
}

.hm-product-description__viewport {
	position: relative;
	overflow: visible;
	transition: max-height .4s ease;
}

.hm-product-description.is-collapsible:not(.is-expanded) .hm-product-description__viewport {
	max-height: 70vh;
	overflow: hidden;
}

.hm-product-description__content {
	max-width: 100%;
	color: #565c65;
	font-size: 15px;
	line-height: 1.7;
}

.hm-product-description__content > :first-child {
	margin-top: 0;
}

.hm-product-description__content > :last-child {
	margin-bottom: 0;
}

.hm-product-description__content h2,
.hm-product-description__content h3,
.hm-product-description__content h4 {
	color: #252a31;
	line-height: 1.3;
}

.hm-product-description__content img,
.hm-product-description__content video,
.hm-product-description__content iframe {
	max-width: 100%;
	height: auto;
}

.hm-product-description__content table {
	display: table;
	width: 100%;
	max-width: 100%;
	border-collapse: collapse;
}

.hm-product-description__content td,
.hm-product-description__content th {
	padding: 10px;
	border: 1px solid #dfe1e4;
}

.hm-product-description__fade {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	display: none;
	height: 150px;
	background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff 88%);
	pointer-events: none;
}

.hm-product-description.is-collapsible:not(.is-expanded) .hm-product-description__fade {
	display: block;
}

.hm-product-description__toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	min-width: 130px;
	min-height: 42px;
	margin: 30px auto 0;
	padding: 9px 20px;
	border: 1px solid #252525;
	border-radius: 999px;
	background: transparent;
	color: #202020;
	font: inherit;
	font-size: 12px;
	font-weight: 750;
	text-transform: uppercase;
	cursor: pointer;
}

.hm-product-description__toggle[hidden] {
	display: none;
}

.hm-product-description__toggle:hover,
.hm-product-description__toggle:focus-visible {
	background: #171717;
	color: #fff;
}

.hm-product-description__toggle svg {
	transition: transform .2s ease;
}

.hm-product-description.is-expanded .hm-product-description__toggle svg {
	transform: rotate(180deg);
}

/* Component 3 — same card system as the home product list. */
.hm-product-recommendations {
	padding: clamp(58px, 5vw, 86px) 0 clamp(70px, 6vw, 110px);
	background: #fff;
}

.hm-product-recommendations__inner {
	width: min(1800px, calc(100% - 48px));
	margin-inline: auto;
}

.hm-product-recommendations__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 48px 28px;
}

.hm-product-recommendations .hm-product-card__stock {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 4;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 32px;
	padding: 5px 13px;
	border-radius: 999px;
	background: #5f636a;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
}

@media (max-width: 1199px) {
	.hm-product-selection__layout {
		grid-template-columns: minmax(0, 1fr) minmax(380px, 44%);
		gap: 34px;
	}

	.hm-product-gallery .woocommerce-product-gallery {
		grid-template-columns: 72px minmax(0, 1fr);
		gap: 14px;
	}

	.hm-product-summary {
		padding-top: 24px;
	}

	.hm-product-recommendations__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 899px) {
	.hm-product-selection__layout {
		grid-template-columns: 1fr;
	}

	.hm-product-gallery {
		width: min(100%, 760px);
		margin-inline: auto;
	}

	.hm-product-summary {
		position: static;
		width: min(100%, 760px);
		margin-inline: auto;
		padding-top: 0;
	}
}

@media (max-width: 767px) {
	.hm-product-selection {
		padding: 18px 0 56px;
	}

	.hm-product-selection__inner,
	.hm-product-description__inner,
	.hm-product-recommendations__inner {
		width: calc(100% - 24px);
	}

	.hm-product-breadcrumb {
		margin-bottom: 16px;
		font-size: 12px;
	}

	.hm-product-selection__layout {
		gap: 28px;
	}

	.hm-product-gallery .woocommerce-product-gallery {
		grid-template-columns: minmax(0, 1fr);
		grid-template-rows: auto auto;
		gap: 10px;
	}

	.hm-product-gallery .woocommerce-product-gallery > .woocommerce-product-gallery__wrapper,
	.hm-product-gallery .woocommerce-product-gallery > .flex-viewport {
		grid-column: 1;
		grid-row: 1;
	}

	.hm-product-gallery .woocommerce-product-gallery .flex-control-thumbs {
		grid-column: 1;
		grid-row: 2;
		flex-direction: row;
		gap: 8px;
		padding: 0 0 3px;
		overflow-x: auto;
		overflow-y: hidden;
	}

	.hm-product-gallery .woocommerce-product-gallery .flex-control-thumbs li {
		width: 62px !important;
	}

	.hm-product-gallery__nav {
		right: 13px;
		bottom: 83px;
		left: auto;
	}

	.hm-product-gallery .woocommerce-product-gallery__trigger {
		top: 14px;
		right: 14px;
		bottom: auto;
		width: 38px;
		height: 38px;
	}

	.hm-product-gallery .woocommerce-product-gallery__trigger svg {
		width: 17px;
		height: 17px;
	}

	.hm-product-gallery__nav button {
		width: 36px;
		height: 36px;
	}

	.hm-product-summary__title {
		font-size: 30px;
	}

	.hm-product-summary__excerpt {
		font-size: 13px;
	}

	.hm-product-summary__price-row {
		min-height: 0;
		margin-top: 17px;
		padding: 0 0 22px;
	}

	.hm-product-summary__price,
	.hm-product-summary__price .price {
		font-size: 26px;
	}

	.hm-product-benefits {
		grid-template-columns: 1fr;
	}

	.hm-product-benefits li {
		min-height: 58px;
	}

	.hm-product-description {
		padding: 48px 0 30px;
	}

	.hm-product-description__title,
	.hm-product-recommendations__title {
		margin-bottom: 22px;
		font-size: 25px;
	}

	.hm-product-description__content {
		font-size: 14px;
		line-height: 1.65;
	}

	.hm-product-recommendations {
		padding: 50px 0 72px;
	}

	.hm-product-recommendations__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 38px 12px;
	}
}

@media (max-width: 479px) {
	.hm-product-summary__purchase form.cart:not(.variations_form),
	.hm-product-summary__purchase .woocommerce-variation-add-to-cart {
		flex-wrap: wrap;
	}

	.hm-product-summary__purchase .single_add_to_cart_button,
	.hm-product-summary__purchase .button.single_add_to_cart_button {
		width: 100%;
	}

	.hm-product-summary__purchase .quantity {
		grid-template-columns: 46px 58px 46px;
	}

	.hm-product-summary__purchase .quantity .qty {
		width: 58px;
	}

	.hm-variation-pills__option {
		min-width: 55px;
		min-height: 40px;
		padding-inline: 13px;
	}

	.hm-product-summary__purchase .variable-items-wrapper .variable-item {
		min-width: 55px !important;
		height: 44px !important;
	}

	.hm-product-summary__purchase .hm-variation-image-swatches .hm-variation-image-swatches__item {
		width: 62px !important;
		min-width: 62px !important;
		height: 56px !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	.hm-product-gallery .woocommerce-product-gallery .flex-control-thumbs img,
	.hm-variation-pills__option,
	.hm-product-description__viewport,
	.hm-product-description__toggle svg {
		transition: none;
	}
}

.hm-product-summary__purchase .single_add_to_cart_button:hover {
	background-color: #555 !important;
}
