/* AutomaxHK - Consistent page heading above the breadcrumb */
body .content-top-breadcum #title-content .automax-page-heading {
	display: block;
	margin: 0 0 10px;
	padding: 0;
	color: #fff;
	font-size: 23px;
	font-weight: 600;
	line-height: 1.3;
	text-transform: none;
}
body .content-top-breadcum.is-without-breadcrumb { display: none; }
body #automax-cart-panel .automax-header-cart-products {
	display: block;
	margin: 0;
	padding: 0;
	list-style: none;
}
body #automax-cart-panel .automax-header-cart-product {
	display: grid;
	grid-template-columns: 58px minmax(0,1fr) 26px;
	gap: 12px;
	align-items: start;
	margin: 0;
	padding: 14px 0;
	border-bottom: 1px solid #e8eaed;
}
body #automax-cart-panel .automax-header-cart-image {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 58px;
	height: 64px;
	border: 1px solid #edf0f3;
	border-radius: 5px;
	background: #fff;
}
body #automax-cart-panel .automax-header-cart-image img { max-width: 100%; max-height: 100%; object-fit: contain; }
body #automax-cart-panel .automax-header-cart-image .fa { font-size: 24px; color: #a1a8b3; }
body #automax-cart-panel .automax-header-cart-name { display: block; padding: 0; color: #252832; font-size: 13px; font-weight: 600; line-height: 1.5; text-align: left; }
body #automax-cart-panel .automax-header-cart-name:hover { color: #a66c00; }
body #automax-cart-panel .automax-header-cart-price { display: block; margin-top: 4px; color: #252832; font-size: 14px; line-height: 1.4; }
body #automax-cart-panel .automax-header-cart-info small { display: block; color: #77808e; font-size: 11px; line-height: 1.5; }
body #automax-cart-panel .automax-header-cart-info .automax-cart-stock { font-size: 11px; line-height: 16px; }
body #automax-cart-panel .automax-header-cart-remove { width: 26px; height: 26px; padding: 0; border: 0; border-radius: 4px; color: #88919c; background: #f3f4f6; font-size: 12px; }
body #automax-cart-panel .automax-header-cart-remove:hover { color: #c53939; background: #fcecec; }
body #automax-cart-panel .automax-header-cart-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
body #automax-cart-panel .automax-header-cart-actions a { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 42px; padding: 9px 10px; border: 1px solid #fbb71c; border-radius: 5px; background: #fff7e3; color: #252832; font-size: 12px; font-weight: 600; }
body #automax-cart-panel .automax-header-cart-actions a:last-child { background: #fbb71c; }
body #automax-cart-panel .automax-header-cart-actions a:hover { background: #20232a; border-color: #20232a; color: #fff; }
@media(max-width:767px){
	body .content-top-breadcum #title-content h1.automax-page-heading { display: block; margin: 2px 15px 6px; font-size: 16px; line-height: 1.3; text-align: left; }
}

/* AutomaxHK - Gold header links and storefront location icon */
body #automax-header a:hover,
body #automax-header .automax-action:hover,
body #automax-header #cart > button:hover,
body #top.automax-top a:hover {
	color: #fbb71c !important;
}
body #top.automax-top .automax-message { gap: 8px; }
body #top.automax-top .automax-message-icon { flex-shrink: 0; color: #fbb71c; font-size: 15px; }
body #top.automax-top .automax-message-text { min-width: 0; }

/* AutomaxHK - Fixed offcanvas footer with stacked mobile cart actions */
@media(max-width:979px){
	body #cart > #automax-cart-panel {
		display: flex !important;
		flex-direction: column;
		padding-bottom: 0;
		overflow: hidden;
	}
	body #automax-cart-panel > .automax-panel-heading { flex: 0 0 auto; }
	body #automax-cart-panel > .automax-header-cart-content {
		flex: 1 1 auto;
		min-height: 0;
		overflow-y: auto;
		overscroll-behavior: contain;
	}
	body #automax-cart-panel > .automax-header-cart-footer {
		flex: 0 0 auto;
		margin-top: auto;
		padding: 16px 0 calc(16px + env(safe-area-inset-bottom));
		border-top: 1px solid #e8eaed;
		background: #fff;
	}
	body #automax-cart-panel .automax-header-cart-actions {
		grid-template-columns: 1fr;
		margin: 0;
	}
	body #automax-cart-panel .automax-header-cart-actions a {
		width: 100%;
		min-height: 44px;
		font-size: 14px;
		line-height: 20px;
	}
}

/* AutomaxHK - Gold links remain readable on the yellow navigation bar */
body .automax-navigation a:hover,
body .automax-navigation .automax-menu-label:hover > a,
body .automax-navigation .automax-menu-label:hover > button,
body .automax-navigation .automax-menu-item.is-open > .automax-menu-label > a,
body .automax-navigation .automax-menu-item.is-open > .automax-menu-label > button {
	color: #fbb71c !important;
}
body .automax-navigation .automax-menu-label:hover,
body .automax-navigation .automax-menu-item.is-open > .automax-menu-label {
	background: #20232a;
}

/* AutomaxHK - Hide the floating Heureka widget while a mobile drawer is open */
@media(max-width:979px){
	body.automax-panel-open [id^="hw-"],
	body.automax-panel-open #heurekaTabright,
	body.automax-panel-open #heurekaTableft {
		display: none !important;
	}
}

/* AutomaxHK - Category images without grey tiles in desktop and mobile menus */
body .automax-category-thumb,
body .automax-category-thumb img,
body .automax-category-row > a img {
	background: transparent;
}