/**
 * HalalEco Product Page
 * Single product redesign. Scoped to body.hpp-on so nothing else is touched.
 */

body.hpp-on {
	--hpp-green: #5da22b;
	--hpp-green-dark: #4c8a22;
	--hpp-green-soft: #f1f7ea;
	--hpp-green-line: #dceccd;
	--hpp-ink: #14170f;
	--hpp-body: #5b6055;
	--hpp-muted: #8c9188;
	--hpp-line: #e9e9e4;
	--hpp-surface: #faf9f6;
	--hpp-radius: 18px;
	--hpp-radius-sm: 10px;
	--hpp-cart-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.6 3.2h2.2l2.4 11.3h9.6l2.2-7.7H6.3'/%3E%3Ccircle cx='9.2' cy='19' r='1.6'/%3E%3Ccircle cx='16.8' cy='19' r='1.6'/%3E%3C/svg%3E");
}

/* ------------------------------------------------------------------ *
 * Shell
 * ------------------------------------------------------------------ */

body.hpp-on div.product {
	padding-top: 4px;
}

body.hpp-on .woocommerce-breadcrumb {
	margin: 0 0 26px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .09em;
	text-transform: uppercase;
	color: var(--hpp-muted);
}

body.hpp-on .woocommerce-breadcrumb a {
	color: var(--hpp-muted);
	text-decoration: none;
	transition: color .15s ease;
}

body.hpp-on .woocommerce-breadcrumb a:hover {
	color: var(--hpp-green);
}

@media (min-width: 900px) {
	body.hpp-on div.product {
		display: grid;
		grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
		column-gap: 56px;
		align-items: start;
	}

	body.hpp-on div.product > .woocommerce-product-gallery {
		grid-column: 1;
		grid-row: 1;
		float: none;
		width: 100% !important;
		margin: 0;
		position: sticky;
		top: 24px;
	}

	body.hpp-on div.product > .summary {
		grid-column: 2;
		grid-row: 1;
		float: none;
		width: 100% !important;
		margin: 0;
	}

	body.hpp-on div.product > .woocommerce-tabs,
	body.hpp-on div.product > .hpp-related,
	body.hpp-on div.product > .related,
	body.hpp-on div.product > .upsells {
		grid-column: 1 / -1;
	}
}

/* ------------------------------------------------------------------ *
 * Gallery
 * ------------------------------------------------------------------ */

body.hpp-on .woocommerce-product-gallery {
	position: relative;
	border: 1px solid var(--hpp-line);
	border-radius: var(--hpp-radius);
	background: #fff;
	padding: 14px;
	overflow: hidden;
}

body.hpp-on .woocommerce-product-gallery::before {
	content: "100% Halal";
	position: absolute;
	z-index: 3;
	top: 26px;
	left: 26px;
	padding: 7px 14px;
	border-radius: 999px;
	background: var(--hpp-green);
	color: #fff;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .11em;
	text-transform: uppercase;
	line-height: 1;
	box-shadow: 0 4px 14px rgba(93, 162, 43, .32);
	pointer-events: none;
}

body.hpp-on .woocommerce-product-gallery .woocommerce-product-gallery__image,
body.hpp-on .woocommerce-product-gallery img {
	border-radius: 12px;
}

body.hpp-on .woocommerce-product-gallery__trigger {
	position: absolute;
	top: 26px !important;
	right: 26px !important;
	left: auto !important;
	width: 42px;
	height: 42px;
	line-height: 42px;
	text-align: center;
	border-radius: 50%;
	background: rgba(255, 255, 255, .92) !important;
	box-shadow: 0 3px 12px rgba(0, 0, 0, .12);
	font-size: 17px;
	color: var(--hpp-ink) !important;
	transition: transform .15s ease;
}

body.hpp-on .woocommerce-product-gallery__trigger:hover {
	transform: scale(1.06);
}

body.hpp-on div.product span.onsale {
	top: 26px;
	left: 26px;
	right: auto;
	z-index: 4;
	min-height: 0;
	min-width: 0;
	padding: 7px 14px;
	border-radius: 999px;
	background: #d9401f;
	color: #fff;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .11em;
	text-transform: uppercase;
	line-height: 1;
}

/* Product has a sale badge: push the halal pill under it. */
body.hpp-on div.product span.onsale ~ .woocommerce-product-gallery::before,
body.hpp-on div.product.hpp-has-sale .woocommerce-product-gallery::before {
	top: 68px;
}

/* Thumbnails */
body.hpp-on .flex-control-thumbs,
body.hpp-on .woocommerce-product-gallery .flex-control-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 14px 0 0;
	padding: 0;
	list-style: none;
}

body.hpp-on .flex-control-thumbs li {
	width: auto !important;
	margin: 0 !important;
	float: none !important;
	flex: 0 0 auto;
}

body.hpp-on .flex-control-thumbs img {
	width: 74px;
	height: 74px;
	object-fit: cover;
	border: 1px solid var(--hpp-line);
	border-radius: 10px;
	opacity: 1;
	transition: border-color .15s ease, transform .15s ease;
}

body.hpp-on .flex-control-thumbs img:hover,
body.hpp-on .flex-control-thumbs img.flex-active {
	border-color: var(--hpp-green);
	transform: translateY(-2px);
}

/* ------------------------------------------------------------------ *
 * Summary column
 * ------------------------------------------------------------------ */

body.hpp-on .summary.entry-summary {
	padding-top: 4px;
}

body.hpp-on .hpp-eyebrow {
	display: inline-block;
	margin: 0 0 12px;
	padding: 6px 12px;
	border: 1px solid var(--hpp-green-line);
	border-radius: 999px;
	background: var(--hpp-green-soft);
	color: var(--hpp-green-dark);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .1em;
	text-transform: uppercase;
	line-height: 1;
	text-decoration: none;
	transition: background .15s ease;
}

body.hpp-on .hpp-eyebrow:hover {
	background: #e6f2d9;
	color: var(--hpp-green-dark);
}

body.hpp-on .summary h1.product_title {
	margin: 0 0 10px;
	font-size: 42px;
	line-height: 1.08;
	font-weight: 800;
	letter-spacing: -.02em;
	color: var(--hpp-ink);
}

body.hpp-on .summary .woocommerce-product-rating {
	margin: 0 0 14px;
	font-size: 13px;
}

body.hpp-on .summary .star-rating span::before,
body.hpp-on .summary .star-rating::before {
	color: #f0a500;
}

body.hpp-on .summary p.price,
body.hpp-on .summary .price {
	margin: 0;
	font-size: 34px;
	font-weight: 800;
	letter-spacing: -.015em;
	color: var(--hpp-green-dark);
	line-height: 1.1;
}

body.hpp-on .summary .price del {
	margin-right: 10px;
	font-size: 21px;
	font-weight: 600;
	color: var(--hpp-muted);
	opacity: 1;
}

body.hpp-on .summary .price ins {
	text-decoration: none;
}

body.hpp-on .hpp-price-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 12px 0 0;
}

body.hpp-on .hpp-chip {
	padding: 5px 11px;
	border: 1px solid var(--hpp-line);
	border-radius: 999px;
	background: var(--hpp-surface);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .04em;
	color: var(--hpp-body);
	line-height: 1.5;
}

body.hpp-on .woocommerce-product-details__short-description {
	margin: 20px 0 0;
	padding: 0 0 22px;
	border-bottom: 1px solid var(--hpp-line);
	font-size: 16px;
	line-height: 1.72;
	color: var(--hpp-body);
}

body.hpp-on .woocommerce-product-details__short-description p:last-child {
	margin-bottom: 0;
}

/* ---- Add to cart box ---------------------------------------------- */

body.hpp-on .hpp-cart-box {
	margin: 22px 0 0;
}

body.hpp-on .hpp-cart-label {
	display: block;
	margin: 0 0 8px;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--hpp-muted);
}

body.hpp-on .hpp-cart-box .hqs-single-wrap {
	display: flex;
	align-items: center;
	gap: 10px;
	max-width: 340px;
	margin-top: 0;
}

body.hpp-on .hpp-cart-box .hqs {
	flex: 1 1 auto;
	min-width: 0;
	max-width: 280px;
	margin-top: 0;
}

body.hpp-on .hpp-cart-box .hqs .hqs-add {
	--hqs-height: 50px;
	min-height: 50px;
	line-height: 50px;
	padding: 0 18px;
	border-radius: 10px;
	background: var(--hpp-green);
	color: #fff;
	font-size: 15.5px;
	font-weight: 800;
	letter-spacing: .01em;
	box-shadow: 0 6px 16px rgba(93, 162, 43, .22);
	transition: background .15s ease, transform .12s ease, box-shadow .15s ease;
}

body.hpp-on .hpp-cart-box .hqs .hqs-add:hover,
body.hpp-on .hpp-cart-box .hqs .hqs-add:focus {
	background: var(--hpp-green-dark);
	color: #fff;
	transform: translateY(-1px);
	box-shadow: 0 8px 20px rgba(93, 162, 43, .3);
}

body.hpp-on .hpp-cart-box .hqs .hqs-control,
body.hpp-on .hpp-cart-box .quantity {
	min-height: 50px;
	width: 100%;
	max-width: 100%;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 5px 14px rgba(93, 162, 43, .18);
}

body.hpp-on .hpp-cart-box .hqs .hqs-btn {
	flex: 0 0 52px;
	font-size: 21px;
}

body.hpp-on .hpp-cart-box .hqs .hqs-qty,
body.hpp-on .hpp-cart-box .quantity input.qty {
	min-width: 0;
	width: 100%;
	font-size: 16px;
}

/* Standard Woo add-to-cart, in case the stepper plugin is inactive. */
body.hpp-on .summary form.cart {
	max-width: 340px;
}

body.hpp-on .summary form.cart .single_add_to_cart_button {
	min-height: 50px;
	padding: 0 24px;
	border-radius: 10px;
	background: var(--hpp-green);
	color: #fff;
	font-size: 15.5px;
	font-weight: 800;
	text-transform: none;
	box-shadow: 0 6px 16px rgba(93, 162, 43, .22);
}

body.hpp-on .summary form.cart .single_add_to_cart_button:hover {
	background: var(--hpp-green-dark);
}

/* "View cart" becomes a compact icon button beside the stepper. */
body.hpp-on .summary .added_to_cart {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 50px;
	height: 50px;
	margin: 0;
	padding: 0;
	border: 1px solid var(--hpp-line);
	border-radius: 10px;
	background: #fff;
	font-size: 0;
	line-height: 0;
	color: transparent;
	text-decoration: none;
	transition: border-color .15s ease, background .15s ease;
}

body.hpp-on .summary .added_to_cart::before {
	content: "";
	width: 21px;
	height: 21px;
	background-color: var(--hpp-green-dark);
	-webkit-mask: var(--hpp-cart-icon) center / contain no-repeat;
	mask: var(--hpp-cart-icon) center / contain no-repeat;
}

body.hpp-on .summary .added_to_cart:hover {
	border-color: var(--hpp-green);
	background: var(--hpp-green-soft);
}

body.hpp-on .summary .stock.out-of-stock {
	display: inline-block;
	margin-top: 12px;
	padding: 8px 14px;
	border-radius: 8px;
	background: #fdeceb;
	color: #c2321f;
	font-weight: 700;
}

/* ---- Trust badges -------------------------------------------------- */

body.hpp-on .hpp-badges {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1px;
	margin: 24px 0 0;
	padding: 0;
	list-style: none;
	background: var(--hpp-green-line);
	border: 1px solid var(--hpp-green-line);
	border-radius: 14px;
	overflow: hidden;
}

body.hpp-on .hpp-badge {
	display: flex;
	align-items: center;
	gap: 11px;
	margin: 0;
	padding: 15px 14px;
	background: var(--hpp-green-soft);
	list-style: none;
}

body.hpp-on .hpp-badge-ico {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 10px;
	background: #fff;
	color: var(--hpp-green-dark);
	box-shadow: 0 2px 6px rgba(20, 23, 15, .06);
}

body.hpp-on .hpp-ico svg {
	width: 19px;
	height: 19px;
	display: block;
}

body.hpp-on .hpp-badge-txt {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

body.hpp-on .hpp-badge-txt strong {
	font-size: 13.5px;
	font-weight: 800;
	color: var(--hpp-ink);
	line-height: 1.3;
}

body.hpp-on .hpp-badge-txt em {
	font-size: 12px;
	font-style: normal;
	color: var(--hpp-body);
	line-height: 1.4;
}

/* ---- Meta ---------------------------------------------------------- */

body.hpp-on .hpp-meta {
	margin: 22px 0 0;
	padding: 18px 0 0;
	border-top: 1px solid var(--hpp-line);
	display: flex;
	flex-direction: column;
	gap: 7px;
}

body.hpp-on .hpp-meta-row {
	font-size: 13px;
	color: var(--hpp-body);
}

body.hpp-on .hpp-meta-row b {
	display: inline-block;
	min-width: 96px;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--hpp-muted);
}

body.hpp-on .hpp-meta-row a {
	color: var(--hpp-green-dark);
	font-weight: 700;
	text-decoration: none;
}

body.hpp-on .hpp-meta-row a:hover {
	text-decoration: underline;
}

/* ------------------------------------------------------------------ *
 * Tabs
 * ------------------------------------------------------------------ */

body.hpp-on .woocommerce-tabs {
	margin: 64px 0 0;
	padding: 0;
	border-top: 1px solid var(--hpp-line);
}

body.hpp-on .woocommerce-tabs ul.tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 30px;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	list-style: none;
}

body.hpp-on .woocommerce-tabs ul.tabs::before,
body.hpp-on .woocommerce-tabs ul.tabs::after,
body.hpp-on .woocommerce-tabs ul.tabs li::before,
body.hpp-on .woocommerce-tabs ul.tabs li::after {
	display: none !important;
}

body.hpp-on .woocommerce-tabs ul.tabs li {
	margin: 0;
	padding: 0;
	border: 0 !important;
	border-radius: 0;
	background: none !important;
	box-shadow: none;
}

body.hpp-on .woocommerce-tabs ul.tabs li a {
	display: block;
	padding: 20px 2px 17px;
	border-bottom: 3px solid transparent;
	font-size: 12.5px;
	font-weight: 800;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--hpp-muted);
	text-decoration: none;
	transition: color .15s ease, border-color .15s ease;
}

body.hpp-on .woocommerce-tabs ul.tabs li a:hover {
	color: var(--hpp-ink);
}

body.hpp-on .woocommerce-tabs ul.tabs li.active a {
	color: var(--hpp-ink);
	border-bottom-color: var(--hpp-green);
}

body.hpp-on .woocommerce-tabs .panel {
	max-width: 780px;
	margin: 0;
	padding: 30px 0 8px;
	font-size: 16px;
	line-height: 1.75;
	color: var(--hpp-body);
}

body.hpp-on .woocommerce-tabs .panel > h2:first-child {
	display: none;
}

body.hpp-on .woocommerce-tabs .panel h2,
body.hpp-on .woocommerce-tabs .panel h3 {
	color: var(--hpp-ink);
	font-weight: 800;
}

/* Additional information table */
body.hpp-on .shop_attributes {
	width: 100%;
	max-width: 560px;
	border: 1px solid var(--hpp-line);
	border-radius: 12px;
	border-collapse: separate;
	border-spacing: 0;
	overflow: hidden;
}

body.hpp-on .shop_attributes th,
body.hpp-on .shop_attributes td {
	padding: 13px 18px;
	border: 0;
	border-bottom: 1px solid var(--hpp-line);
	font-size: 14px;
	text-align: left;
	font-style: normal;
}

body.hpp-on .shop_attributes tr:last-child th,
body.hpp-on .shop_attributes tr:last-child td {
	border-bottom: 0;
}

body.hpp-on .shop_attributes th {
	width: 40%;
	background: var(--hpp-surface);
	font-weight: 800;
	color: var(--hpp-ink);
}

body.hpp-on .shop_attributes td p {
	margin: 0;
}

/* ------------------------------------------------------------------ *
 * Reviews
 * ------------------------------------------------------------------ */

body.hpp-on #reviews .woocommerce-Reviews-title {
	display: block;
	margin: 0 0 18px;
	font-size: 21px;
	font-weight: 800;
	color: var(--hpp-ink);
}

body.hpp-on #reviews .woocommerce-noreviews {
	margin: 0 0 24px;
	padding: 16px 18px;
	border: 1px dashed var(--hpp-line);
	border-radius: 12px;
	background: var(--hpp-surface);
	color: var(--hpp-body);
	font-size: 14.5px;
}

body.hpp-on #reviews ol.commentlist {
	margin: 0 0 26px;
	padding: 0;
	list-style: none;
}

body.hpp-on #reviews ol.commentlist li {
	margin: 0 0 14px;
	padding: 0;
}

body.hpp-on #reviews ol.commentlist li .comment_container {
	padding: 18px 20px;
	border: 1px solid var(--hpp-line);
	border-radius: 14px;
	background: #fff;
}

body.hpp-on #reviews .comment-text {
	margin-left: 66px;
	padding: 0;
	border: 0;
	border-radius: 0;
}

body.hpp-on #reviews .avatar {
	width: 46px;
	height: 46px;
	border-radius: 50%;
	border: 0;
	padding: 0;
}

body.hpp-on #review_form_wrapper {
	max-width: 640px;
	padding: 24px;
	border: 1px solid var(--hpp-line);
	border-radius: 16px;
	background: var(--hpp-surface);
}

body.hpp-on #review_form_wrapper .comment-reply-title {
	display: block;
	margin: 0 0 16px;
	font-size: 17px;
	font-weight: 800;
	color: var(--hpp-ink);
}

body.hpp-on #review_form_wrapper label {
	display: block;
	margin: 0 0 6px;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--hpp-muted);
}

body.hpp-on #review_form_wrapper input[type="text"],
body.hpp-on #review_form_wrapper input[type="email"],
body.hpp-on #review_form_wrapper textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid var(--hpp-line);
	border-radius: 10px;
	background: #fff;
	font-size: 15px;
	color: var(--hpp-ink);
	transition: border-color .15s ease, box-shadow .15s ease;
}

body.hpp-on #review_form_wrapper input:focus,
body.hpp-on #review_form_wrapper textarea:focus {
	outline: 0;
	border-color: var(--hpp-green);
	box-shadow: 0 0 0 3px rgba(93, 162, 43, .16);
}

body.hpp-on #review_form_wrapper .stars a {
	color: #f0a500;
}

body.hpp-on #review_form_wrapper .form-submit input[type="submit"],
body.hpp-on #review_form_wrapper #submit {
	min-height: 48px;
	padding: 0 26px;
	border: 0;
	border-radius: 10px;
	background: var(--hpp-green);
	color: #fff;
	font-size: 15px;
	font-weight: 800;
	cursor: pointer;
	transition: background .15s ease;
}

body.hpp-on #review_form_wrapper .form-submit input[type="submit"]:hover,
body.hpp-on #review_form_wrapper #submit:hover {
	background: var(--hpp-green-dark);
}

/* ------------------------------------------------------------------ *
 * You may also like
 * ------------------------------------------------------------------ */

body.hpp-on .hpp-related {
	margin: 56px 0 0;
	padding: 38px 0 4px;
	border-top: 1px solid var(--hpp-line);
	clear: both;
}

body.hpp-on .hpp-section-title {
	position: relative;
	margin: 0 0 26px;
	padding: 0 0 0 16px;
	font-size: 26px;
	font-weight: 800;
	letter-spacing: -.01em;
	color: var(--hpp-ink);
	text-align: left;
}

body.hpp-on .hpp-section-title::before {
	content: "";
	position: absolute;
	left: 0;
	top: 4px;
	bottom: 4px;
	width: 5px;
	border-radius: 3px;
	background: var(--hpp-green);
}

body.hpp-on .hpp-related ul.products,
body.hpp-on .hpp-related ul.hpp-products {
	display: flex;
	flex-wrap: nowrap;
	gap: 16px;
	margin: 0;
	padding: 2px 2px 10px;
	list-style: none;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x proximity;
	scrollbar-width: thin;
	scrollbar-color: #d8d8d2 transparent;
}

body.hpp-on .hpp-related ul.products::before,
body.hpp-on .hpp-related ul.products::after {
	display: none;
}

body.hpp-on .hpp-related ul.products::-webkit-scrollbar {
	height: 6px;
}

body.hpp-on .hpp-related ul.products::-webkit-scrollbar-thumb {
	background: #dcdcd6;
	border-radius: 3px;
}

body.hpp-on .hpp-related ul.products li.product {
	flex: 0 0 216px;
	width: 216px !important;
	max-width: 216px;
	min-height: 0;
	margin: 0 !important;
	padding: 10px !important;
	float: none !important;
	clear: none !important;
	position: relative !important;
	left: auto !important;
	top: auto !important;
	transform: none !important;
	scroll-snap-align: start;
	border: 1px solid var(--hpp-line);
	border-radius: 14px;
	background: #fff;
	list-style: none;
	transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

body.hpp-on .hpp-related ul.products li.product:hover {
	border-color: var(--hpp-green-line);
	box-shadow: 0 8px 20px rgba(20, 23, 15, .08);
	transform: translateY(-3px) !important;
}

body.hpp-on .hpp-related ul.products li.product .edit-button {
	display: none !important;
}

body.hpp-on .hpp-related ul.products li.product .product-image,
body.hpp-on .hpp-related ul.products li.product figure {
	margin: 0 0 10px;
	padding: 0;
	border-radius: 10px;
	overflow: hidden;
}

body.hpp-on .hpp-related ul.products li.product img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: 10px;
	margin: 0;
}

body.hpp-on .hpp-related ul.products li.product .product-content {
	padding: 0;
}

body.hpp-on .hpp-related ul.products li.product .woocommerce-loop-product__title,
body.hpp-on .hpp-related ul.products li.product .product_title,
body.hpp-on .hpp-related ul.products li.product h2,
body.hpp-on .hpp-related ul.products li.product h3 {
	display: block;
	margin: 0 0 4px;
	padding: 0;
	font-size: 14.5px;
	font-weight: 800;
	line-height: 1.32;
	color: var(--hpp-ink);
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

body.hpp-on .hpp-related ul.products li.product .product_title a,
body.hpp-on .hpp-related ul.products li.product .woocommerce-loop-product__title a {
	color: inherit;
	text-decoration: none;
	transition: color .15s ease;
}

body.hpp-on .hpp-related ul.products li.product .product_title a:hover,
body.hpp-on .hpp-related ul.products li.product .woocommerce-loop-product__title a:hover {
	color: var(--hpp-green-dark);
}

body.hpp-on .hpp-related ul.products li.product .price {
	display: block;
	margin: 0 0 8px;
	font-size: 15.5px;
	font-weight: 800;
	color: var(--hpp-green-dark);
}

body.hpp-on .hpp-related ul.products li.product .hlc-weight-data,
body.hpp-on .hpp-related ul.products li.product .hlc-weight {
	display: block;
	margin: 0 0 8px;
	font-size: 11.5px;
	font-weight: 700;
	color: var(--hpp-muted);
}

body.hpp-on .hpp-related ul.products li.product .hqs .hqs-add,
body.hpp-on .hpp-related ul.products li.product .button {
	--hqs-height: 40px;
	min-height: 40px;
	line-height: 40px;
	padding: 0 12px;
	border-radius: 8px;
	background: var(--hpp-green);
	color: #fff;
	font-size: 13.5px;
	font-weight: 800;
	box-shadow: none;
}

body.hpp-on .hpp-related ul.products li.product .hqs .hqs-add:hover,
body.hpp-on .hpp-related ul.products li.product .button:hover {
	background: var(--hpp-green-dark);
	color: #fff;
}

body.hpp-on .hpp-related ul.products li.product .hqs .hqs-control {
	min-height: 40px;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: none;
}

body.hpp-on .hpp-related ul.products li.product .hqs .hqs-btn {
	flex: 0 0 40px;
	font-size: 18px;
}

body.hpp-on .hpp-related ul.products li.product .added_to_cart {
	display: none;
}

/* ------------------------------------------------------------------ *
 * Sticky mobile buy bar
 * ------------------------------------------------------------------ */

body.hpp-on .hpp-dock-price {
	display: none;
}

@media (max-width: 899px) {
	body.hpp-on .summary h1.product_title {
		font-size: 29px;
	}

	body.hpp-on .summary p.price,
	body.hpp-on .summary .price {
		font-size: 27px;
	}

	body.hpp-on .woocommerce-product-gallery {
		padding: 10px;
	}

	body.hpp-on .hpp-badges {
		grid-template-columns: 1fr;
	}

	body.hpp-on .hpp-related ul.products li.product {
		flex: 0 0 60%;
		width: 60% !important;
		max-width: 60%;
	}

	body.hpp-on .woocommerce-tabs ul.tabs {
		gap: 20px;
		overflow-x: auto;
		flex-wrap: nowrap;
		-webkit-overflow-scrolling: touch;
	}

	body.hpp-on .woocommerce-tabs ul.tabs li a {
		white-space: nowrap;
	}

	/* Docked state */
	body.hpp-on .hpp-cart-box.hpp-docked {
		position: fixed;
		z-index: 998;
		left: 0;
		right: 0;
		bottom: 0;
		margin: 0;
		padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
		background: #fff;
		border-top: 1px solid var(--hpp-line);
		box-shadow: 0 -8px 26px rgba(20, 23, 15, .13);
		display: flex;
		align-items: center;
		gap: 12px;
		animation: hpp-dock-in .22s ease;
	}

	body.hpp-on .hpp-cart-box.hpp-docked .hpp-cart-label {
		display: none;
	}

	body.hpp-on .hpp-cart-box.hpp-docked .hpp-dock-price {
		display: flex;
		flex-direction: column;
		flex: 0 0 auto;
		max-width: 40%;
		line-height: 1.2;
	}

	body.hpp-on .hpp-cart-box.hpp-docked .hpp-dock-price .hpp-dock-name {
		font-size: 11px;
		font-weight: 700;
		color: var(--hpp-muted);
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	body.hpp-on .hpp-cart-box.hpp-docked .hpp-dock-price .hpp-dock-amount {
		font-size: 19px;
		font-weight: 800;
		color: var(--hpp-green-dark);
		white-space: nowrap;
	}

	body.hpp-on .hpp-cart-box.hpp-docked .hqs-single-wrap,
	body.hpp-on .hpp-cart-box.hpp-docked form.cart {
		flex: 1 1 auto;
		min-width: 0;
		margin: 0;
	}

	body.hpp-on .hpp-cart-box.hpp-docked .hqs-single-wrap {
		max-width: none;
	}

	body.hpp-on .hpp-cart-box.hpp-docked .hqs {
		max-width: none;
	}

	body.hpp-on .hpp-cart-box.hpp-docked .hqs .hqs-add,
	body.hpp-on .hpp-cart-box.hpp-docked .hqs .hqs-control,
	body.hpp-on .hpp-cart-box.hpp-docked .single_add_to_cart_button {
		min-height: 48px;
		line-height: 48px;
		box-shadow: none;
	}

	body.hpp-on .hpp-cart-box.hpp-docked .added_to_cart {
		width: 46px;
		height: 46px;
	}
}

@keyframes hpp-dock-in {
	from { transform: translateY(100%); }
	to   { transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
	body.hpp-on * {
		animation: none !important;
		transition: none !important;
	}
}

/* Spacer + sentinel for the docked buy bar */
body.hpp-on .hpp-cart-spacer,
body.hpp-on .hpp-cart-sentinel {
	display: none;
}

body.hpp-on .hpp-cart-sentinel {
	display: block;
	height: 1px;
	margin: 0;
}

@media (max-width: 899px) {
	body.hpp-on .hpp-cart-spacer {
		display: block;
	}
}
