/* ==========================================================================
   Home — Tile Grid, Stats, Homepage-specific Layout
   Extracted from style.css (Phase 2 modularization)
   ========================================================================== */

/* ---------- Tile Grid ---------- */

.home .grid-home {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
}

.grid-home .row {
	display: flex;
	flex-wrap: wrap;
	margin: 0 -8px !important;
	padding: 0;
}

.grid-home .row > .hma_afsm_links {
	padding: 8px 8px 42px !important;
	flex: 0 0 50%;
	max-width: 50%;
	box-sizing: border-box;
}

.grid-home--excavator .row > .hma_afsm_links {
	padding: 8px !important;
}

.hma_afsm_links a {
	font-size: 14px;
	color: #000;
	text-decoration: none;
	margin: 0;
	border-radius: 6px;
	overflow: visible;
	display: block;
	position: relative
}

.hma_afsm_links a img {
	width: 100%;
	height: 168px;
	object-fit: cover;
	border-radius: 6px;
	display: block;
}

.home-excavator-tile {
	display: flex !important;
	flex-direction: column;
	gap: 0.95rem;
	min-height: 232px;
	padding: 1rem 1rem 1.05rem;
	border: 1px solid #e0e6ec;
	border-radius: 18px;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 247, 250, 0.98)),
		radial-gradient(circle at top right, rgba(255, 77, 0, 0.1), transparent 42%);
	box-shadow: 0 16px 34px rgba(69, 88, 106, 0.08);
	transition: border-color 0.24s ease, box-shadow 0.24s ease, background 0.24s ease;
}

.home-excavator-tile:hover,
.home-excavator-tile:focus-visible {
	border-color: rgba(255, 77, 0, 0.32);
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(246, 248, 251, 1)),
		radial-gradient(circle at top right, rgba(255, 77, 0, 0.14), transparent 46%);
	box-shadow: 0 20px 40px rgba(69, 88, 106, 0.1);
}

.home-excavator-tile:focus-visible {
	outline: none;
	box-shadow: 0 0 0 3px rgba(238, 125, 17, 0.9), 0 0 0 7px rgba(238, 125, 17, 0.18), 0 20px 40px rgba(69, 88, 106, 0.1);
}

.home-excavator-tile__media {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 148px;
	padding: 1rem;
	border-radius: 14px;
	background: transparent;
	box-shadow: none;
}

.home-excavator-tile__image,
.hma_afsm_links a .home-excavator-tile__image {
	width: 100%;
	max-width: 124px;
	height: auto;
	max-height: 124px;
	object-fit: contain;
	border-radius: 0;
	display: block;
}

.home-excavator-tile__image--mirrored {
	transform: scaleX(-1);
	transform-origin: center;
}

.home-excavator-tile__label {
	display: block;
	font-size: 15px;
	line-height: 20px;
	font-weight: 700;
	text-align: center;
	color: #45586a;
	text-wrap: balance;
}

.hma_afsm_links a.pd-tag {
	background-color: #ECECEC;
	margin: 0 8px 8px 0px;
	font-size: 14px;
	padding: 0.6rem;
	text-decoration: none;
	display: inline-block;
}

/* ---------- Tile Buttons ---------- */

.home .tile-home__btn {
	box-shadow: 0 10px 10px rgba(69, 88, 106, .5);
	font-size: 13px;
	color: #fff;
	background-color: #777783;
	border-radius: 6px;
	padding: 6px 14px;
	font-weight: 800;
	white-space: normal;
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translate(-50%, 50%);
	line-height: 18px;
	z-index: 1;
	text-align: center;
	width: calc(100% - 16px);
	max-width: none;
	min-height: 45px;
	max-height: 45px;
	overflow: hidden;
	text-wrap: balance;
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	will-change: background-color, color, box-shadow;
	transition: background-color 4.2s cubic-bezier(0.16, 1, 0.3, 1), color 4.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 4.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.home a.list_subcategory:hover .tile-home__btn,
.home .tile-home__btn:hover {
	background-color: #4a4a54;
	color: #fff;
}

.home a.list_subcategory:focus-visible {
	outline: none;
}

.home a.list_subcategory:focus-visible img {
	box-shadow: 0 0 0 3px rgba(238, 125, 17, 0.9), 0 0 0 7px rgba(238, 125, 17, 0.18);
}

.home a.home-excavator-tile:focus-visible img {
	box-shadow: none;
}

.home a.list_subcategory:focus-visible .tile-home__btn {
	background-color: #4a4a54;
	color: #fff;
	box-shadow: 0 0 0 3px rgba(238, 125, 17, 0.85), 0 0 0 7px rgba(238, 125, 17, 0.18);
}

/* ---------- Stats / SEO Section ---------- */

.row.icons_homepage i {
	margin-bottom: 16px
}

.home section.home {
	margin-bottom: 25px
}

.home .seo .border--icons {
	border-right: 1px solid #dedede
}

.home .seo--pm {
	margin: 2rem 0;
	padding: 0 2rem;
	color: #b0b0b0
}

.home .seo--pm svg {
	color: #b0b0b0
}

.home .seo--pm p,
.home .seo--pm p strong {
	color: #b0b0b0
}

.home .entry-content .seo.mtm>p {
	text-align: justify
}

/* ---------- Homepage Headings & Layout ---------- */

.home .content-area h1.mbm {
	padding-top: 15px
}

.home.page-template-home-template #main.site-main .seo {
	font-size: var(--machmon-type-body-size);
	line-height: var(--machmon-type-body-line);
	color: #45586a;
}

.home.page-template-home-template #main.site-main .seo h1.mbm {
	margin: 0 0 1rem;
	font-size: var(--machmon-type-title-size);
	line-height: var(--machmon-type-title-line);
	font-weight: 700;
	color: #45586a;
}

.home.page-template-home-template .h2-like,
.home.page-template-home-template h2.mbm {
	font-size: var(--machmon-type-section-size);
	line-height: var(--machmon-type-section-line);
	font-weight: 700;
	color: #45586a;
}

.home.page-template-home-template .h2-like strong,
.home.page-template-home-template h2.mbm strong {
	color: inherit;
	font-weight: inherit;
}

.home.page-template-home-template .home-categories-title,
.home.page-template-home-template .home-product-quotation .h2-like {
	margin: 0 0 1rem;
}

.home .seo--pm p,
.home .seo--pm p strong,
.home-product-quotation .pam p {
	font-size: var(--machmon-type-body-size);
	line-height: var(--machmon-type-body-line);
}

.home .tile-home__btn,
.home-product-quotation .btn {
	font-size: 14px;
	line-height: 18px;
	font-weight: 700;
}

.home-product-quotation .btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 45px;
	padding: 0 24px;
	border: 1px solid var(--color-primary);
	border-radius: 6px;
	background-color: var(--color-primary);
	color: #fff;
	text-decoration: none;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.home-product-quotation .btn:hover,
.home-product-quotation .btn:focus {
	background-color: var(--color-primary-dark);
	border-color: var(--color-primary-dark);
	color: #fff;
}

.home-product-quotation .btn:focus-visible {
	box-shadow: 0 0 0 3px rgba(238, 125, 17, 0.9), 0 0 0 7px rgba(238, 125, 17, 0.18);
}

.home .country-btn.wd-flag-button img{
	margin-top: -5px;
}

/* ---------- Spare Parts ---------- */

.home-spare-parts {
	margin: 0 0 2rem;
}

.home-spare-parts__heading {
	margin: 0 0 1rem;
}

.home-spare-parts__shell {
	background:
		linear-gradient(180deg, rgba(244, 246, 248, 0.94), rgba(255, 255, 255, 0.98)),
		radial-gradient(circle at top right, rgba(238, 125, 17, 0.12), transparent 34%);
	border: 1px solid #e1e5ea;
	border-radius: 18px;
	box-shadow: 0 18px 48px rgba(69, 88, 106, 0.08);
	overflow: hidden;
}

.home-spare-parts__search {
	padding: 1.3rem 1.75rem 1.5rem;
}

.home-spare-parts__tab {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	margin: 0 0 1.25rem;
	padding: 0.95rem 1.35rem 0.9rem 0.95rem;
	background: #fff;
	border: 1px solid #e1e5ea;
	border-radius: 14px;
	box-shadow: 0 14px 28px rgba(69, 88, 106, 0.08);
}

.home-spare-parts__tab-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	color: #ff6a3c;
	font-size: 18px;
}

.home-spare-parts__tab-label {
	font-size: 18px;
	line-height: 24px;
	font-weight: 700;
	color: #2f3943;
}

.home-spare-parts__tab-count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 28px;
	padding: 0 12px;
	border-radius: 8px;
	background: linear-gradient(180deg, #ff8e5d 0%, #ff6a3c 100%);
	box-shadow: 0 8px 18px rgba(255, 106, 60, 0.18);
	color: #fff;
	font-size: 14px;
	line-height: 1;
	font-weight: 800;
}

.home-spare-parts__form {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.home-spare-parts__search-row {
	display: flex;
	align-items: stretch;
	gap: 14px;
}

.home-spare-parts__search-input-wrap {
	display: flex;
	align-items: center;
	gap: 14px;
	flex: 1 1 auto;
	min-width: 0;
	padding: 0 22px 0 20px;
	background: #fff;
	border: 1px solid #cad1d8;
	border-radius: 8px;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.home-spare-parts__search-input-wrap:focus-within {
	border-color: rgba(238, 125, 17, 0.95);
	box-shadow: 0 0 0 4px rgba(238, 125, 17, 0.12);
}

.home-spare-parts__search-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 18px;
	width: 18px;
	height: 18px;
	color: #69727d;
	pointer-events: none;
}

.home-spare-parts__search-icon svg {
	display: block;
	width: 100%;
	height: 100%;
}

.home-spare-parts__search-input-wrap > .home-spare-parts__search-input,
.home-spare-parts__search-input-wrap > .home-spare-parts__search-input:hover,
.home-spare-parts__search-input-wrap > .home-spare-parts__search-input:focus,
.home-spare-parts__search-input-wrap > .home-spare-parts__search-input:focus-visible,
.home-spare-parts__search-input-wrap > .home-spare-parts__search-input:active {
	flex: 1 1 0%;
	align-self: stretch;
	min-width: 0;
	width: auto;
	height: 100%;
	min-height: 0;
	margin: 0;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	-webkit-appearance: none;
	appearance: none;
	background: transparent !important;
	box-shadow: none !important;
	outline: none !important;
	outline-offset: 0 !important;
	font-size: 18px;
	line-height: 24px;
	color: #2f3943;
	text-align: left;
}

.home-spare-parts__search-input::placeholder {
	color: #7d8894;
}

.home-spare-parts__search-input::-webkit-search-decoration,
.home-spare-parts__search-input::-webkit-search-cancel-button,
.home-spare-parts__search-input::-webkit-search-results-button,
.home-spare-parts__search-input::-webkit-search-results-decoration {
	-webkit-appearance: none;
	appearance: none;
	display: none;
}

.home-spare-parts__search-submit,
.home-spare-parts__order-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 58px;
	padding: 0 26px;
	border-radius: 8px;
	font-size: 16px;
	line-height: 20px;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
	transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.home-spare-parts__search-submit {
	border: 1px solid #ff6a3c;
	background: linear-gradient(180deg, #ff8252 0%, #ff6a3c 100%);
	color: #fff;
	box-shadow: 0 14px 24px rgba(238, 125, 17, 0.18);
}

.home-spare-parts__search-submit:hover,
.home-spare-parts__search-submit:focus {
	background: linear-gradient(180deg, #f77444 0%, #ea5d32 100%);
	border-color: #ea5d32;
	color: #fff;
	transform: translateY(-1px);
}

.home-spare-parts__order-link {
	position: relative;
	border: 1px solid #d6dbe0;
	background: #eef1f4;
	color: #2f3943;
}

.home-spare-parts__order-link::before {
	content: "";
	position: absolute;
	left: -8px;
	top: 12px;
	bottom: 12px;
	width: 1px;
	background: rgba(238, 125, 17, 0.45);
}

.home-spare-parts__order-link:hover,
.home-spare-parts__order-link:focus {
	background: #e4e9ee;
	border-color: #c7ced6;
	color: #1e252d;
	transform: translateY(-1px);
}

.home-spare-parts__search-submit:focus-visible,
.home-spare-parts__order-link:focus-visible,
.home-spare-parts__examples a:focus-visible,
.home-spare-parts__brand-item:focus-visible,
.home-spare-parts__browse-link:focus-visible {
	outline: none;
	box-shadow: 0 0 0 3px rgba(238, 125, 17, 0.9), 0 0 0 7px rgba(238, 125, 17, 0.18);
}

.home-spare-parts__examples {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.6rem 1rem;
	font-size: 16px;
	line-height: 22px;
	color: #5c6670;
}

.home-spare-parts__examples-label {
	font-weight: 600;
	color: #5c6670;
}

.home-spare-parts__examples a,
.home-spare-parts__browse-link {
	color: #ff6a3c;
	font-weight: 600;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.14em;
}

.home-spare-parts__examples a:hover,
.home-spare-parts__browse-link:hover {
	color: #ea5d32;
}

.home-spare-parts__brands {
	padding: 1.6rem 1.75rem 1.8rem;
	border-top: 1px solid #dfe5eb;
	background: rgba(255, 255, 255, 0.82);
}

.home-spare-parts__brands-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1.35rem;
}

.home-spare-parts__brands-title {
	margin: 0;
	font-size: 18px;
	line-height: 24px;
	font-weight: 700;
	color: #2f3943;
}

.home-spare-parts__brand-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.85rem 2rem;
}

.home-spare-parts__brand-item {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.35rem 0;
	border-radius: 8px;
	color: #45586a;
	text-decoration: none;
	transition: color 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

.home-spare-parts__brand-item:hover,
.home-spare-parts__brand-item:focus {
	color: #2f3943;
	transform: translateX(3px);
}

.home-spare-parts__brand-name {
	font-size: 15px;
	line-height: 22px;
	font-weight: 600;
}

.home-spare-parts__brand-count {
	flex: 0 0 auto;
	font-size: 15px;
	line-height: 22px;
	font-weight: 600;
	color: #98a2ad;
}

.home-spare-parts__empty {
	margin: 0;
	font-size: 15px;
	line-height: 22px;
	color: #5c6670;
}

/* ---------- Featured Makes ---------- */

.home-featured-makes {
	margin: 0 0 2rem;
}

.home-featured-makes__shell {
	padding: 1.5rem 1.75rem 1.7rem;
	border: 1px solid #e1e5ea;
	border-radius: 18px;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 249, 252, 0.98)),
		radial-gradient(circle at top left, rgba(238, 125, 17, 0.08), transparent 36%);
	box-shadow: 0 18px 48px rgba(69, 88, 106, 0.08);
}

.home-featured-makes__header {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1.25rem;
	margin-bottom: 1.4rem;
}

.home-featured-makes__copy {
	max-width: 42rem;
}

.home-featured-makes__eyebrow {
	margin: 0 0 0.4rem;
	font-size: 13px;
	line-height: 18px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #ff6a3c;
}

.home-featured-makes__heading {
	margin: 0;
}

.home-featured-makes__intro {
	margin: 0.45rem 0 0;
	font-size: 15px;
	line-height: 22px;
	color: #5c6670;
}

.home-featured-makes__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1rem;
}

.home-featured-makes__item {
	display: flex;
	flex-direction: column;
	gap: 0.9rem;
	min-height: 360px;
	padding: 1rem;
	border: 1px solid #e2e7ec;
	border-radius: 16px;
	background: linear-gradient(180deg, #ffffff 0%, #f4f7fa 100%);
	box-shadow: 0 12px 30px rgba(69, 88, 106, 0.08);
	transition: border-color 0.24s ease, box-shadow 0.24s ease;
}

.home-featured-makes__item:hover,
.home-featured-makes__item:focus-within,
.home-featured-makes__item.is-hovered {
	border-color: rgba(71, 88, 109, 0.34);
	box-shadow: 0 16px 30px rgba(69, 88, 106, 0.11), 0 0 0 1px rgba(73, 89, 108, 0.08);
}

.home-featured-makes__item:focus-within,
.home-featured-makes__browse-link:focus-visible {
	outline: none;
	box-shadow: 0 0 0 3px rgba(238, 125, 17, 0.9), 0 0 0 7px rgba(238, 125, 17, 0.18);
}

.home-featured-makes__mark {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 74px;
	padding: 1rem;
	border: 1px solid rgba(222, 228, 235, 0.95);
	border-radius: 12px;
	background: linear-gradient(180deg, #f9fafb 0%, #eef3f7 100%);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
	transition: border-color 0.24s ease, box-shadow 0.24s ease, background 0.24s ease;
}

.home-featured-makes__mark img {
	display: block;
	width: auto;
	max-width: 100%;
	max-height: 48px;
	height: auto;
	object-fit: contain;
	transition: transform 0.24s ease, opacity 0.24s ease, filter 0.24s ease;
}

.home-featured-makes__item:hover .home-featured-makes__mark,
.home-featured-makes__item:focus-within .home-featured-makes__mark,
.home-featured-makes__item.is-hovered .home-featured-makes__mark {
	border-color: rgba(86, 103, 123, 0.28);
	background: linear-gradient(180deg, #fbfdff 0%, #eef4fa 100%);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82), 0 8px 16px rgba(90, 112, 135, 0.1), 0 0 0 3px rgba(160, 181, 205, 0.1);
}

.home-featured-makes__item:hover .home-featured-makes__mark img,
.home-featured-makes__item:focus-within .home-featured-makes__mark img,
.home-featured-makes__item.is-hovered .home-featured-makes__mark img {
	transform: scale(1.03);
	filter: saturate(1.02);
}

.home-featured-makes__fallback {
	max-width: 100%;
	font-size: 18px;
	line-height: 1.15;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-align: center;
	color: #4f5f70;
	white-space: nowrap;
	transition: color 0.24s ease;
}

.home-featured-makes__item:hover .home-featured-makes__fallback,
.home-featured-makes__item:focus-within .home-featured-makes__fallback,
.home-featured-makes__item.is-hovered .home-featured-makes__fallback {
	color: #314255;
}

.home-featured-makes__name {
	display: block;
	font-size: 16px;
	line-height: 22px;
	font-weight: 700;
	color: #2f3943;
}

.home-featured-makes__body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 0.75rem;
	min-height: 0;
}

.home-featured-makes__models {
	display: grid;
	gap: 0.28rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.home-featured-makes__model {
	overflow: hidden;
	font-size: 12px;
	line-height: 17px;
	font-weight: 500;
	text-overflow: ellipsis;
	white-space: nowrap;
	color: #667786;
}

.home-featured-makes__cta {
	margin-top: auto;
	padding-top: 0.85rem;
	border-top: 1px solid #e5eaef;
	font-size: 13px;
	line-height: 18px;
	font-weight: 700;
	color: #ff6a3c;
	text-decoration: none;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.16em;
}

.home-featured-makes__cta:hover {
	color: #ea5d32;
	text-decoration: underline;
}

.home-featured-makes__cta:focus-visible,
.home-featured-makes__browse-link:focus-visible {
	outline: none;
	color: #ea5d32;
}

.home-featured-makes__browse-link {
	flex: 0 0 auto;
	font-size: 15px;
	line-height: 22px;
	font-weight: 700;
	color: #ff6a3c;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.14em;
}

.home-featured-makes__browse-link:hover {
	color: #ea5d32;
}

.home-featured-makes__empty {
	margin: 0;
	font-size: 15px;
	line-height: 22px;
	color: #5c6670;
}

/* ---------- Page Template Rules ---------- */

.page-template-template-homepage.has-post-thumbnail .type-page.has-post-thumbnail .entry-title {
	color: #000
}

.page-template-template-homepage.has-post-thumbnail .type-page.has-post-thumbnail .entry-content {
	color: #000
}

/* ---------- RTL Overrides ---------- */

body.rtl .home .grid-home {
	text-align: right;
}

body.rtl .hma_afsm_links a.pd-tag {
	margin: 0 0 8px 8px;
}

body.rtl .seo.mtm p {
	text-align: center;
}

body.rtl.home .seo .border--icons {
	border-right: none;
	border-left: 1px solid #dedede;
}

/* ---------- Responsive ---------- */

/* -- min-width: 768px -- */

@media (min-width: 768px) {
	.grid-home .row {
		margin: 0 !important;
	}
	.grid-home .row > .hma_afsm_links {
		flex: 0 0 25%;
		max-width: 25%;
		padding: 10px 10px 46px !important;
	}
	.grid-home--excavator .row > .hma_afsm_links {
		padding: 10px !important;
	}
}

/* -- max-width: 991px -- */

@media (max-width: 991.98px) {
	.home div#content {
		margin-top: 80px;
		padding-top: 8px
	}

	.home article.hentry {
		margin-bottom: 0;
		padding-top: 28px
	}

	.home section.seo.mtm {
		margin-bottom: 30px;
		display: inline-block;
		float: left;
		width: 100%
	}

	.home .tile-home__btn {
		box-shadow: none !important
	}

	.home-excavator-tile {
		min-height: 220px;
		padding: 0.95rem 0.95rem 1rem;
		border-radius: 16px;
	}

	.home-excavator-tile__media {
		min-height: 138px;
	}

	.home-excavator-tile__image,
	.hma_afsm_links a .home-excavator-tile__image {
		max-width: 116px;
		max-height: 116px;
	}
}

/* -- max-width: 990px -- */

@media (max-width: 991.98px) {
	body.home.logged-in.admin-bar #content {
		margin-top: 32px !important
	}

	.home .content-area h1.mbm {
		padding-top: 0
	}

	.home .content-area .seo.mtm {
		margin-top: 0
	}

	.home-spare-parts__search,
	.home-spare-parts__brands {
		padding-left: 1.25rem;
		padding-right: 1.25rem;
	}

	.home-spare-parts__search-row {
		flex-wrap: wrap;
	}

	.home-spare-parts__search-submit,
	.home-spare-parts__order-link {
		flex: 1 1 calc(50% - 7px);
	}

	.home-spare-parts__brand-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.home-featured-makes__shell {
		padding-left: 1.25rem;
		padding-right: 1.25rem;
	}

	.home-featured-makes__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* -- max-width: 768px -- */

@media only screen and (max-width: 767.98px) {
	.home .content-area h1.mbm {
		font-size: 26px;
		text-align: left
	}

	.home.page-template-home-template .home-categories-title {
		margin-top: 1.5rem;
	}

	.home.page-template-home-template #main.site-main .seo h1.mbm {
		font-size: 22px;
		line-height: 28px;
	}

	.home.page-template-home-template .h2-like,
	.home.page-template-home-template h2.mbm {
		font-size: 18px;
		line-height: 24px;
	}

	.home-spare-parts {
		margin-bottom: 1.5rem;
	}

	.home-spare-parts__search {
		padding-top: 1.05rem;
	}

	.home-spare-parts__tab {
		width: calc(100% + 2px);
		margin-left: -1px;
		margin-right: -1px;
		margin-bottom: 1rem;
		padding: 0.95rem 1.15rem 0.85rem;
		border-radius: 14px;
		box-shadow: none;
	}

	.home-spare-parts__tab-label,
	.home-spare-parts__brands-title {
		font-size: 17px;
		line-height: 23px;
	}

	.home-spare-parts__search-input {
		min-height: 54px;
		font-size: 16px;
		line-height: 22px;
	}

	.home-spare-parts__brands-header {
		flex-direction: column;
		align-items: flex-start;
		margin-bottom: 1rem;
	}

	.home-featured-makes {
		margin-bottom: 1.5rem;
	}

	.home-featured-makes__header {
		flex-direction: column;
		align-items: flex-start;
		margin-bottom: 1.1rem;
	}

	.home-featured-makes__intro {
		font-size: 14px;
		line-height: 21px;
	}
}

/* -- max-width: 766px -- */

@media (max-width: 767.98px) {
	body.home div#primary {
		padding-top: 0
	}

	body.home #contentt {
		margin-top: 62px !important
	}
}

/* -- max-width: 580px -- */

@media (max-width:580px) {
	body.home h1.mbm {
		text-align: left
	}
}

/* -- max-width: 576px -- */

@media only screen and (max-width: 575.98px) {

	.home .grid-home {
		display: block;
		float: left;
		height: auto;
		width: 100%;
		padding: 0;
		margin: 0;
		position: relative;
		line-height: normal;
		margin-bottom: 15px;
		border-bottom: 1px solid var(--color-border);
		padding-bottom: 15px;
	}

	.seo.mtm {
		float: left;
		height: auto;
		width: 100%;
		margin: 0;
		position: relative;
		line-height: normal;
		padding: 0 10px
	}

	.home .tile-home__btn {
		font-size: 12px
	}

	body.home h1.mbm {
		text-align: center
	}

	.home .tile-home__btn {
		padding: 5px 12px;
		font-size: 12px;
		line-height: 16px;
		width: calc(100% - 12px);
		min-height: 40px;
		max-height: 40px;
	}

	.grid-home--excavator .row > .hma_afsm_links {
		padding: 6px !important;
	}

	.home-excavator-tile {
		min-height: 196px;
		gap: 0.8rem;
		padding: 0.85rem 0.8rem 0.9rem;
		border-radius: 14px;
	}

	.home-excavator-tile__media {
		min-height: 114px;
		padding: 0.85rem;
		border-radius: 12px;
	}

	.home-excavator-tile__image,
	.hma_afsm_links a .home-excavator-tile__image {
		max-width: 92px;
		max-height: 92px;
	}

	.home-excavator-tile__label {
		font-size: 14px;
		line-height: 18px;
	}

	.home article.row.icons_homepage>div {
		width: 100%;
		border-right: 0 !important
	}

	.home .content-area .seo.mtm {
		padding-left: 0;
		padding-right: 0
	}

	.home-spare-parts__shell {
		border-radius: 14px;
	}

	.home-featured-makes__shell {
		padding-left: 0.95rem;
		padding-right: 0.95rem;
		border-radius: 14px;
	}

	.home-spare-parts__search,
	.home-spare-parts__brands {
		padding-left: 0.95rem;
		padding-right: 0.95rem;
	}

	.home-spare-parts__tab {
		gap: 0.6rem;
		padding: 0.9rem 0.95rem 0.8rem;
	}

	.home-spare-parts__tab-icon {
		width: 16px;
		height: 16px;
		font-size: 16px;
	}

	.home-spare-parts__tab-label {
		font-size: 16px;
		line-height: 22px;
	}

	.home-spare-parts__tab-count {
		min-height: 24px;
		padding: 0 10px;
		font-size: 12px;
	}

	.home-spare-parts__search-row {
		gap: 10px;
	}

	.home-spare-parts__search-input-wrap {
		gap: 12px;
		padding-left: 18px;
		padding-right: 16px;
	}

	.home-spare-parts__search-input {
		min-height: 50px;
		font-size: 15px;
		line-height: 20px;
	}

	.home-spare-parts__search-icon {
		width: 16px;
		height: 16px;
		flex-basis: 16px;
	}

	.home-spare-parts__search-submit,
	.home-spare-parts__order-link {
		width: 100%;
		min-height: 48px;
		padding: 0 18px;
		font-size: 15px;
		line-height: 20px;
	}

	.home-spare-parts__search-submit {
		flex: 0 0 auto;
	}

	.home-spare-parts__order-link {
		flex: 0 0 100%;
	}

	.home-spare-parts__order-link::before {
		display: none;
	}

	.home-spare-parts__examples,
	.home-spare-parts__brand-name,
	.home-spare-parts__brand-count {
		font-size: 14px;
		line-height: 20px;
	}

	.home-spare-parts__brand-grid {
		grid-template-columns: 1fr;
		gap: 0.3rem;
	}

	.home-featured-makes__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0.75rem;
	}

	.home-featured-makes__item {
		min-height: 336px;
		padding: 0.85rem;
		border-radius: 14px;
	}

	.home-featured-makes__mark {
		min-height: 62px;
		padding: 0.85rem;
	}

	.home-featured-makes__mark img {
		max-height: 42px;
	}

	.home-featured-makes__fallback {
		font-size: 15px;
	}

	.home-featured-makes__name {
		font-size: 15px;
		line-height: 20px;
	}

	.home-featured-makes__models {
		gap: 0.25rem;
	}

	.home-featured-makes__model,
	.home-featured-makes__cta {
		font-size: 11px;
		line-height: 16px;
	}
}

/* -- max-width: 767px (screen) -- */

@media screen and (max-width:767.98px) {
	.home .seo .border--icons {
		border-right: none;
	}

	body.rtl.home .seo .border--icons {
		border: none;
	}
}

/* ---------- Phase 8 — Rules moved from style.css ---------- */

/* --- Home Product Quotation Blocks --- */

.block-product-quotation {
	display: flex;
	background-color: #fff;
	border: 1px solid var(--color-border-light);
	float: left;
	width: 100%;
	margin-top: 1em;
	padding-left: 20px;
	padding-right: 15px;
	padding-top: 10px;
	padding-bottom: 10px;
	color: var(--color-text);
}

.block-product-quotation:hover {
	color: var(--color-text);
	border-color: var(--color-primary);
	transform: translateY(-4px);
	box-shadow: 0 12px 0 -6px hsl(0deg 0% 44% / 20%);
	transition: .2s ease-in-out;
}

.block-product-quotation span:nth-child(1) {
	font-size: 34px;
	display: inline;
	width: 40px;
	height: 40px;
}

.block-product-quotation span:nth-child(2) {
	flex: 1 1 0%;
	line-height: 22px;
	padding-left: 20px;
}

.home-product-quotation .row {
	background-color: #fff;
	border: 1px solid var(--color-border);
}

.home-product-quotation img {
	border-radius: 0;
}

.home-product-quotation .pam {
	padding: 20px 0;
}

.home-product-quotation .pam p {
	font-size: 14px;
	line-height: 21px;
}

.home-product-quotation .btn {
	box-shadow: inset 0 0 0 1px transparent;
}

.home-product-quotation .btn:hover {
	background-color: var(--color-primary-dark);
	color: #fff;
	border-color: var(--color-primary-dark);
}
