/* AutomaxHK - Product gallery */
body #product-product .automax-gallery-controls button {
	width: 46px;
	height: 54px;
	border: 1px solid #e2e4e8;
	border-radius: 8px;
	background: rgba(255,255,255,.96);
	color: #252832;
	font-size: 21px;
	box-shadow: 0 4px 16px rgba(17,19,24,.1);
	transition: background .18s, border-color .18s;
}
body #product-product .automax-gallery-controls button:disabled {
	opacity: .3;
	cursor: default;
}
body #product-product .automax-gallery-controls button:not(:disabled):hover {
	background: #fbb71c;
	border-color: #fbb71c;
}
body #product-product .automax-gallery-track {
	cursor: grab;
}
body #product-product .automax-gallery-track.is-dragging {
	cursor: grabbing;
	scroll-snap-type: none;
	scroll-behavior: auto;
	user-select: none;
}
body #product-product .automax-gallery-track img {
	user-select: none;
	-webkit-user-drag: none;
}
body #product-product .automax-gallery-thumbs {
	gap: 12px;
	margin-top: 14px;
}
body #product-product .automax-gallery-thumbs button {
	flex: 0 0 96px;
	width: 96px;
	height: 96px;
	padding: 5px;
	border: 1px solid #e2e4e8;
	border-radius: 7px;
	background: #fff;
}
body #product-product .automax-gallery-thumbs img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}
body #product-product .automax-gallery-thumbs button[aria-pressed="true"] {
	border: 2px solid #fbb71c;
	background: #fffaf0;
}

/* AutomaxHK - Rating, stock and compact vehicle list */
body #product-product .automax-review-summary {
	gap: 10px 14px;
	padding-bottom: 18px;
}
body #product-product .automax-review-stars {
	display: flex;
	gap: 4px;
	color: #e6a10a;
	font-size: 18px;
}
body #product-product .automax-review-summary .review-count {
	color: #6d7580;
	font-size: 12px;
}
body #product-product .automax-review-summary .write-review {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 7px 10px;
	border: 1px solid #ead8aa;
	border-radius: 5px;
	background: #fff7e6;
	color: #76510b;
	font-size: 12px;
}
body #product-product .automax-review-summary .write-review:hover {
	background: #fbb71c;
	border-color: #fbb71c;
	color: #252832;
}
body #product-product .automax-detail-stock {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 9px;
	border-radius: 5px;
	font-size: 13px;
	font-weight: 600;
}
body #product-product .automax-detail-stock.is-in-stock {
	color: #268442;
	background: #eaf6ee;
}
body #product-product .automax-detail-stock.is-out-of-stock {
	color: #68707c;
	background: #f0f2f5;
}
body #product-product .automax-product-fitments {
	margin-bottom: 16px;
	padding: 12px 0;
	line-height: 1.8;
}
body #product-product .automax-product-fitments .automax-fitment-label {
	display: inline;
	margin: 0 5px 0 0;
	color: #9298a1;
}
body #product-product .automax-product-fitments .automax-fitment-list {
	display: inline;
}
body #product-product .automax-product-fitments .automax-fitment-list li {
	display: inline;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	font-size: 12px;
}
body #product-product .automax-product-fitments .automax-fitment-list li:not(:last-child):after {
	content: ', ';
}

/* AutomaxHK - Quantity controls */
body #product-product #product .automax-product-buy {
	grid-template-columns: 132px minmax(0,1fr);
}
body #product-product .automax-quantity {
	display: grid;
	grid-template-columns: 36px minmax(0,1fr) 36px;
	border: 1px solid #dce0e5;
	border-radius: 6px;
	background: #fff;
	overflow: hidden;
}
body #product-product #product .automax-quantity #input-quantity {
	height: 46px;
	border: 0;
	border-radius: 0;
	padding: 0;
}
body #product-product .automax-quantity button {
	border: 0;
	background: #f3f4f6;
	color: #252832;
	font-size: 12px;
}
body #product-product .automax-quantity button:hover {
	background: #fbb71c;
}
body #product-product .automax-product-buy > .alert {
	grid-column: 1 / -1;
}

/* AutomaxHK - Product information tabs */
body #product-product #tabs_info {
	border: 0;
	border-radius: 0;
	background: transparent;
	overflow: visible;
}
body #product-product #tabs_info .nav-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	padding: 0 0 12px;
	border: 0;
	background: transparent;
}
body #product-product #tabs_info .nav-tabs > li {
	float: none;
	margin: 0;
}
body #product-product #tabs_info .nav-tabs > li > a {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 12px 18px;
	border: 1px solid #e2e4e8;
	border-radius: 6px;
	background: #fff;
	color: #656c76;
	font-size: 14px;
	font-weight: 500;
	text-transform: none;
}
body #product-product #tabs_info .nav-tabs > li.active > a,
body #product-product #tabs_info .nav-tabs > li > a:hover {
	border-color: #fbb71c;
	background: #fbb71c;
	color: #252832;
}
body #product-product #tabs_info .tab-content {
	padding: 26px;
	border: 1px solid #e2e4e8;
	border-radius: 8px;
	background: #fff;
	color: #555e6b;
	font-size: 14px;
	line-height: 1.8;
}
body #product-product #tab-description,
body #product-product #tab-description * {
	font-family: inherit !important;
	font-size: 14px !important;
	line-height: 1.8 !important;
}
body #product-product #tab-description h1,
body #product-product #tab-description h2,
body #product-product #tab-description h3,
body #product-product #tab-description h4 {
	margin: 18px 0 10px;
	font-weight: 600;
	color: #252832;
}
body #product-product #tab-specification table {
	color: #252832;
	width: 100%;
	border: 0;
	border-collapse: collapse;
	font-size: 14px;
}
body #product-product #tab-specification th,
body #product-product #tab-specification td {
	padding: 12px 16px;
	border: 0;
	border-bottom: 1px solid #e8ebef;
	vertical-align: top;
	text-align: left;
	line-height: 1.6;
	overflow-wrap: anywhere;
}
body #product-product #tab-specification thead th {
	background: #fff5df;
	color: #76510b;
	font-weight: 600;
}
body #product-product #tab-specification tbody td {
	color: #252832;
}
body #product-product #tab-specification tbody th {
	width: 42%;
	color: #6d7580;
	font-weight: 400;
}
body #product-product #tab-specification tbody tr:nth-child(even) {
	background: #fafbfc;
}

/* AutomaxHK - Review form and review cards */
body #product-product #form-review .form-group {
	margin: 0 0 18px;
}
body #product-product #form-review .col-sm-12 {
	float: none;
	padding: 0;
}
body #product-product #form-review h4 {
	margin: 24px 0 20px;
	font-size: 19px;
	font-weight: 600;
	color: #252832;
}
body #product-product #form-review .control-label,
body #product-product .automax-rating-picker legend {
	margin-bottom: 7px;
	color: #555e6b;
	font-size: 13px;
	font-weight: 500;
}
body #product-product #form-review .form-control {
	min-height: 44px;
	border: 1px solid #dce0e5;
	border-radius: 6px;
	background: #fafbfc;
	box-shadow: none;
	font-size: 14px;
}
body #product-product #form-review .form-control:focus {
	border-color: #fbb71c;
	background: #fff;
	box-shadow: 0 0 0 3px rgba(251,183,28,.12);
}
body #product-product .automax-rating-picker legend {
	border: 0;
}
body #product-product .automax-rating-options {
	display: flex;
	gap: 7px;
	margin-bottom: 6px;
}
body #product-product .automax-rating-options label {
	position: relative;
	margin: 0;
	cursor: pointer;
}
body #product-product .automax-rating-options input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
}
body #product-product .automax-rating-options label > span {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border: 1px solid #e2e4e8;
	border-radius: 6px;
	background: #fafbfc;
	color: #c2c7ce;
	font-size: 21px;
}
body #product-product .automax-rating-options label.is-selected > span,
body #product-product .automax-rating-options label:hover > span {
	border-color: #fbb71c;
	background: #fff7e6;
	color: #e6a10a;
}
body #product-product .automax-rating-options input:focus-visible + span {
	outline: 2px solid #fbb71c;
	outline-offset: 2px;
}
body #product-product #form-review .buttons {
	padding: 0;
	margin: 20px 0 0;
	border: 0;
}
body #product-product #button-review {
	padding: 11px 20px;
	border: 1px solid #fbb71c;
	border-radius: 6px;
	background: #fbb71c;
	color: #252832;
	font-weight: 500;
	text-transform: none;
}
body #product-product .automax-review-card {
	margin-bottom: 16px;
	padding: 18px;
	border: 1px solid #e2e4e8;
	border-radius: 7px;
	background: #fafbfc;
}
body #product-product .automax-review-card header {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 8px;
	color: #252832;
}
body #product-product .automax-review-card time {
	color: #9298a1;
	font-size: 12px;
}
body #product-product .automax-review-card p {
	margin: 10px 0 0;
	font-size: 14px;
	line-height: 1.8;
}
@media (max-width: 767px) {
	body #product-product .automax-gallery-thumbs button { flex-basis: 80px; width: 80px; height: 80px; }
	body #product-product #tabs_info .tab-content { padding: 18px; }
	body #product-product #tabs_info .nav-tabs > li > a { padding: 10px 12px; font-size: 13px; }
	body #product-product #product .automax-product-buy { grid-template-columns: 1fr; }
	body #product-product .automax-quantity { width: 140px; }
	body #product-product #tab-specification th, body #product-product #tab-specification td { padding: 10px; }
}

body #product-product .automax-rating-picker legend {
	float: none;
	width: 100%;
	padding: 0;
}
body #product-product .automax-rating-options {
	clear: both;
	width: 100%;
}
body #product-product .automax-rating-options label {
	flex: 0 0 40px;
	width: 40px;
}

body #product-product .automax-review-stars .fa-star {
	color: #e6a10a;
}
body #product-product .automax-review-stars .fa-star-o {
	color: #b8bec7;
}

/* AutomaxHK - Fixed gallery arrows with no movement on hover */
body #product-product .automax-gallery-controls {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	padding: 16px;
}
body #product-product .automax-gallery-controls button {
	position: static;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	margin: 0;
	border: 0;
	border-radius: 50%;
	background: #252832;
	color: #fbb71c;
	line-height: 1;
	transform: none;
	box-shadow: 0 3px 12px rgba(17,19,24,.12);
}
body #product-product .automax-gallery-controls button:first-child {
	justify-self: start;
}
body #product-product .automax-gallery-controls button:last-child {
	justify-self: end;
}
body #product-product .automax-gallery-controls button:not(:disabled):hover {
	background: #fbb71c;
	color: #252832;
	transform: none;
}
body #product-product .automax-gallery-controls button .fa {
	font-size: 17px;
	line-height: 1;
}
body #product-product .automax-gallery-track > a {
	cursor: grab;
	user-select: none;
	-webkit-user-drag: none;
}
body #product-product .automax-gallery-track.is-dragging > a {
	cursor: grabbing;
}

/* AutomaxHK - Vertically centred quantity stepper */
body #product-product .automax-quantity {
	grid-template-columns: 40px minmax(0,1fr) 40px;
	align-items: center;
	height: 48px;
	border-radius: 8px;
	padding: 0 3px;
	background: #fff;
}
body #product-product .automax-quantity button {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	padding: 0;
	margin: 0 auto;
	border-radius: 5px;
	background: #f3f4f6;
	color: #656c76;
	line-height: 1;
}
body #product-product .automax-quantity button .fa {
	font-size: 11px;
	line-height: 1;
}
body #product-product #product .automax-quantity #input-quantity {
	align-self: center;
	min-width: 0;
	height: 46px;
	padding: 0;
	line-height: 46px;
	font-size: 15px !important;
	font-weight: 600;
	color: #252832;
	box-shadow: none;
}
body #product-product .automax-quantity button:hover {
	background: #fbb71c;
	color: #252832;
}

/* AutomaxHK - Unified quantity control and return link */
body #product-product .automax-quantity-control {
	display: flex;
	align-items: center;
	height: 48px;
	border: 1px solid #d9dde3;
	border-radius: 6px;
	overflow: hidden;
	background: #fff;
}
body #product-product .automax-quantity-control button {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 38px;
	height: 46px;
	margin: 0;
	padding: 0;
	border: 0 !important;
	background: #f7f8fa;
	color: #656c76;
	font-weight: 400;
	line-height: 1;
}
body #product-product .automax-quantity-control button:hover {
	background: #fbb71c;
}
body #product-product #product .automax-quantity-control #input-quantity {
	flex: 1 1 0;
	min-width: 0;
	height: 46px;
	margin: 0;
	padding: 0;
	border: 0 !important;
	border-radius: 0;
	text-align: center;
	font-size: 16px !important;
	line-height: 46px;
	box-shadow: none !important;
}
body #product-product .automax-quantity-control button .fa:before {
	font-family: Arial, sans-serif;
	font-size: 22px;
	font-weight: 400;
}
body #product-product .automax-quantity-control button .fa-plus:before { content: '+'; }
body #product-product .automax-quantity-control button .fa-minus:before { content: '−'; }
body #product-product #product .automax-quantity-control #input-quantity {
	background: transparent;
	font-weight: 400;
	color: #343943;
}
body #product-product .automax-quantity-control:focus-within { border-color: #fbb71c; }
body #product-product .automax-quantity-control button:focus-visible {
	outline: 2px solid #fbb71c;
	outline-offset: -3px;
}
.automax-product-navigation {
	display: flex;
	justify-content: flex-end;
	margin-bottom: 16px;
}
.automax-product-navigation a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 9px 15px;
	border: 1px solid #dedfe3;
	border-radius: 6px;
	color: #252832;
	background: #fff;
}
.automax-product-navigation a:hover {
	border-color: #fbb71c;
	background: #fff8e9;
}
/* AutomaxHK - Guaranteed storefront price */
body #product-product .automax-price-guarantee {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	max-width: 100%;
	margin-top: 14px;
	padding: 10px 14px;
	border-left: 3px solid #fbb71c;
	border-radius: 0 6px 6px 0;
	background: #fff8e9;
	color: #252832;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.4;
}
body #product-product .automax-price-guarantee .fa {
	flex-shrink: 0;
	color: #d99a08;
	font-size: 20px;
}