/*
Theme Name: Motordelar
Theme URI: https://example.com/motordelar
Author: Motordelar Studio
Description: Ett svenskt WooCommerce-tema för bilreservdelar, verktyg och tillbehör.
Version: 1.0.0
Text Domain: motordelar
*/

:root {
	--md-ink: #17252b;
	--md-slate: #30434a;
	--md-accent: #e35d2f;
	--md-accent-dark: #b8401d;
	--md-cyan: #d9eef0;
	--md-sand: #f5f2ec;
	--md-white: #fff;
	--md-line: #d8e0df;
	--md-muted: #687579;
	--md-shadow: 0 16px 40px rgba(23, 37, 43, .08);
	--md-display: "Arial Narrow", "Roboto Condensed", Arial, sans-serif;
	--md-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--md-sand); color: var(--md-ink); font-family: var(--md-body); font-size: 15px; line-height: 1.6; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.md-container { width: min(1280px, calc(100% - 56px)); margin-inline: auto; }

.md-header { position: relative; z-index: 20; background: var(--md-white); border-bottom: 1px solid var(--md-line); }
.md-header__top { background: var(--md-slate); color: var(--md-white); font-size: 12px; }
.md-header__top-inner { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.md-header__top a { color: #e7f2f2; }
.md-header__main { min-height: 82px; display: flex; align-items: center; gap: 26px; }
.md-brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.md-logo-image { width: auto; height: auto; max-width: 190px; max-height: 58px; object-fit: contain; }
.md-logo-text { color: var(--md-ink); font: 800 29px/1 var(--md-display); letter-spacing: -.05em; text-transform: uppercase; }
.md-logo-text strong { color: var(--md-accent); }
.md-nav { display: flex; align-items: center; gap: 6px; flex: 1; min-width: 0; }
.md-nav__item { position: relative; }
.md-nav__link { display: inline-flex; align-items: center; gap: 5px; padding: 28px 10px; font-size: 13px; font-weight: 700; white-space: nowrap; }
.md-nav__link:hover, .md-nav__link:focus-visible { color: var(--md-accent-dark); }
.md-nav__count { color: var(--md-muted); font-size: 10px; font-weight: 500; }
.md-nav__panel { position: absolute; top: 100%; left: 0; display: none; min-width: 235px; padding: 12px; background: var(--md-white); border: 1px solid var(--md-line); box-shadow: var(--md-shadow); }
.md-nav__item:hover .md-nav__panel, .md-nav__item:focus-within .md-nav__panel, .md-nav__item.is-open .md-nav__panel { display: block; }
.md-nav__panel a { display: flex; justify-content: space-between; gap: 14px; padding: 9px 10px; font-size: 13px; }
.md-nav__panel a:hover { background: var(--md-cyan); color: var(--md-ink); }
.md-search { position: relative; flex: 0 1 245px; }
.md-search input[type="search"] { width: 100%; padding: 11px 40px 11px 13px; border: 1px solid var(--md-line); border-radius: 3px; background: var(--md-sand); color: var(--md-ink); }
.md-search button { position: absolute; top: 0; right: 0; width: 40px; height: 100%; padding: 0; border: 0; background: transparent; color: var(--md-slate); }
.md-search svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.md-actions { display: flex; align-items: center; gap: 14px; flex: 0 0 auto; }
.md-action { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 29px; height: 29px; border: 0; background: transparent; color: var(--md-ink); }
.md-action:hover { color: var(--md-accent-dark); }
.md-action svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.md-cart-count { position: absolute; top: -8px; right: -8px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 99px; background: var(--md-accent); color: var(--md-white); font-size: 10px; line-height: 18px; text-align: center; }
.md-cart-count[hidden] { display: none; }
.md-menu-toggle, .md-mobile-search { display: none; }
.md-mobile-nav { display: none; border-top: 1px solid var(--md-line); background: var(--md-white); }
.md-mobile-nav.is-open { display: block; }
.md-mobile-nav__inner { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
.md-mobile-nav a { padding: 12px 0; border-bottom: 1px solid var(--md-line); font-size: 14px; font-weight: 700; }

.md-main { min-height: 40vh; }
.md-banner { width: min(1440px, 100%); margin-inline: auto; line-height: 0; background: var(--md-cyan); overflow: hidden; }
.md-banner img { display: block; width: 100%; height: auto; }
.md-home-heading { padding: 48px 0 0; }
.md-home-heading h1 { margin: 0; font: 800 44px/.98 var(--md-display); letter-spacing: -.045em; text-transform: uppercase; }
.md-home-heading p { max-width: 650px; margin: 15px 0 0; color: var(--md-muted); }
.md-section { padding-top: 52px; }
.md-section__heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.md-section__heading h2, .md-page-header h1, .md-content h1, .md-empty h1 { margin: 0; font: 800 32px/1 var(--md-display); letter-spacing: -.03em; text-transform: uppercase; }
.md-section__heading a { display: inline-flex; align-items: center; gap: 5px; color: var(--md-accent-dark); font-size: 13px; font-weight: 700; }
.md-section__heading a:hover { text-decoration: underline; }
.md-category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.md-category-card { position: relative; min-width: 0; background: var(--md-white); border: 1px solid var(--md-line); }
.md-category-card__image { aspect-ratio: 1.35; overflow: hidden; background: var(--md-cyan); }
.md-category-card__image img { display: block; width: 100%; height: 100%; object-fit: contain; }
.md-category-card__placeholder { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, #cee8e8, #f4e4d6); }
.md-category-card__body { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 15px; }
.md-category-card__body strong { font: 700 19px/1.05 var(--md-display); text-transform: uppercase; }
.md-category-card__body span { color: var(--md-muted); font-size: 11px; }
.md-product-grid { display: grid; gap: 18px 12px; }
.md-product-grid--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.md-product-card { min-width: 0; }
.md-product-card__image { position: relative; display: block; overflow: hidden; background: var(--md-white); border: 1px solid var(--md-line); }
.md-product-card__image img { display: block; width: 100%; height: auto; object-fit: contain; }
.md-product-card__badge { position: absolute; top: 10px; left: 10px; padding: 5px 8px; background: var(--md-accent); color: var(--md-white); font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.md-product-card__body { padding: 11px 2px 0; }
.md-product-card__body h3 { margin: 0 0 4px; font-size: 14px; line-height: 1.35; font-weight: 700; }
.md-product-card__body h3 a:hover { color: var(--md-accent-dark); }
.md-price { color: var(--md-slate); font-weight: 800; }
.md-price del { margin-right: 5px; color: var(--md-muted); font-weight: 400; }
.md-stock-out { margin: 5px 0 0; color: var(--md-accent-dark); font-size: 12px; font-weight: 700; }

.md-layout { display: grid; grid-template-columns: minmax(0, 1fr) 275px; gap: 48px; align-items: start; }
.md-content { padding: 48px 0 0; }
.md-content-main { min-width: 0; }
.md-content-main h1 { margin-bottom: 20px; }
.md-sidebar { position: sticky; top: 22px; display: grid; gap: 15px; }
.md-sidebar-card { padding: 20px; background: var(--md-white); border: 1px solid var(--md-line); }
.md-sidebar-card h2 { margin: 0 0 13px; font: 800 22px/1 var(--md-display); text-transform: uppercase; }
.md-sidebar-card h3 { margin: 22px 0 9px; color: var(--md-muted); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.md-share-list { display: grid; gap: 8px; }
.md-share-list a { display: flex; align-items: center; gap: 9px; padding: 8px 10px; border: 1px solid var(--md-line); font-size: 13px; }
.md-share-list a:hover { border-color: var(--md-accent); color: var(--md-accent-dark); }
.md-share-list b { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%; background: var(--md-slate); color: var(--md-white); font-size: 11px; }
.md-contact-list { display: grid; gap: 13px; margin: 0; padding: 0; list-style: none; }
.md-contact-list li { display: grid; gap: 2px; font-size: 13px; overflow-wrap: anywhere; }
.md-contact-list small { color: var(--md-muted); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.md-contact-list a:hover { color: var(--md-accent-dark); }
.md-post-list { display: grid; gap: 18px; }
.md-post-list article { padding-bottom: 18px; border-bottom: 1px solid var(--md-line); }
.md-post-list h2 { margin: 0 0 5px; font: 800 24px/1.1 var(--md-display); text-transform: uppercase; }
.md-post-list h2 a:hover { color: var(--md-accent-dark); }
.md-meta { color: var(--md-muted); font-size: 13px; }
.md-editor-content { max-width: 780px; }
.md-editor-content a { color: var(--md-accent-dark); text-decoration: underline; }
.md-breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 25px; color: var(--md-muted); font-size: 13px; }
.md-breadcrumbs a:hover { color: var(--md-accent-dark); text-decoration: underline; }
.md-page-header { padding-bottom: 22px; }
.md-page-header .term-description, .md-archive-description { max-width: 720px; margin-top: 11px; color: var(--md-muted); }
.md-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 20px; padding: 12px 0; border-top: 1px solid var(--md-line); border-bottom: 1px solid var(--md-line); font-size: 13px; }
.md-toolbar .woocommerce-ordering { margin: 0; }
.md-toolbar select { padding: 8px 25px 8px 9px; border: 1px solid var(--md-line); background: var(--md-white); color: var(--md-ink); }
.md-child-links { display: flex; flex-wrap: wrap; gap: 8px; margin: -3px 0 25px; }
.md-child-links a { padding: 7px 11px; background: var(--md-cyan); font-size: 12px; font-weight: 700; }
.md-child-links a:hover { background: var(--md-slate); color: var(--md-white); }
.md-empty { padding: 100px 0; text-align: center; }
.md-empty p { color: var(--md-muted); }
.md-button { display: inline-flex; align-items: center; justify-content: center; min-height: 45px; padding: 11px 18px; border: 0; background: var(--md-accent); color: var(--md-white); font-weight: 800; }
.md-button:hover { background: var(--md-accent-dark); color: var(--md-white); }

.woocommerce ul.products, .woocommerce-page ul.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px 12px; margin: 0 !important; padding: 0 !important; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none !important; }
.woocommerce ul.products li.product { width: auto !important; float: none !important; margin: 0 !important; }
.woocommerce nav.woocommerce-pagination { margin-top: 40px; text-align: center; }
.woocommerce nav.woocommerce-pagination ul { display: inline-flex; gap: 5px; border: 0; }
.woocommerce nav.woocommerce-pagination ul li { border: 0; }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span { min-width: 34px; padding: 8px 10px; border: 1px solid var(--md-line); color: var(--md-ink); }
.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--md-slate); color: var(--md-white); }
.md-product-single .md-breadcrumbs { margin-top: 44px; }
.md-single-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(300px, .92fr); gap: 48px; align-items: start; }
.md-product-gallery .woocommerce-product-gallery { width: 100% !important; float: none !important; margin: 0 !important; }
.md-product-gallery .woocommerce-product-gallery__image, .md-product-gallery .woocommerce-product-gallery__image a { display: block; background: var(--md-white); }
.md-product-gallery .woocommerce-product-gallery__image img { display: block; width: 100%; height: auto; object-fit: contain; }
.md-product-gallery .flex-control-thumbs { display: flex; gap: 8px; margin: 10px 0 0 !important; overflow-x: auto; }
.md-product-gallery .flex-control-thumbs li { flex: 0 0 74px; width: 74px !important; }
.md-product-gallery .flex-control-thumbs img { width: 100%; height: auto; border: 1px solid var(--md-line); object-fit: contain; }
.md-summary .product_title { margin: 0 0 10px; font: 800 clamp(22px, 3vw, 31px)/1.05 var(--md-display); text-transform: uppercase; }
.md-summary .price { margin: 0 0 14px; color: var(--md-accent-dark); font-size: 25px; font-weight: 800; }
.md-summary .woocommerce-product-details__short-description { color: var(--md-muted); }
.md-summary form.cart { display: flex; flex-wrap: wrap; gap: 9px; margin: 24px 0; }
.md-summary form.cart .quantity { flex: 0 0 90px; }
.md-summary form.cart .quantity input { width: 100%; min-height: 45px; border: 1px solid var(--md-line); background: var(--md-white); text-align: center; }
.md-summary form.cart .single_add_to_cart_button { min-height: 45px; padding: 10px 17px; border: 0; background: var(--md-accent); color: var(--md-white); font-weight: 800; }
.md-summary form.cart .single_add_to_cart_button:hover { background: var(--md-accent-dark); }
.md-product-tabs { margin-top: 48px; }
.woocommerce-tabs ul.tabs { display: flex; gap: 25px; margin: 0 0 23px !important; padding: 0 !important; border-bottom: 1px solid var(--md-line); }
.woocommerce-tabs ul.tabs::before, .woocommerce-tabs ul.tabs li::before, .woocommerce-tabs ul.tabs li::after { display: none !important; }
.woocommerce-tabs ul.tabs li { margin: 0 !important; padding: 0 0 10px !important; border: 0 !important; background: transparent !important; }
.woocommerce-tabs ul.tabs li.active { border-bottom: 2px solid var(--md-accent) !important; }
.woocommerce-tabs ul.tabs li a { font-size: 13px; font-weight: 800; }
.md-lightbox { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 5vw; background: rgba(16, 28, 33, .92); }
.md-lightbox img { width: auto; height: auto; max-width: 92vw; max-height: 88vh; object-fit: contain; }
.md-lightbox button { position: absolute; top: 18px; right: 24px; padding: 0; border: 0; background: transparent; color: var(--md-white); font-size: 34px; line-height: 1; }
.md-zoom-image { cursor: zoom-in; transition: transform .18s ease; transform-origin: center center; }
.md-footer { margin-top: 80px; padding: 50px 0 18px; background: var(--md-slate); color: #f4fbfb; }
.md-footer__grid { display: grid; grid-template-columns: 1.65fr 1fr 1fr 1fr; gap: 42px; }
.md-footer__brand .md-logo-text { color: var(--md-white); }
.md-footer__brand p { max-width: 300px; margin: 14px 0 0; color: #c8d7d8; font-size: 13px; }
.md-footer h2 { margin: 0 0 14px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.md-footer ul { margin: 0; padding: 0; list-style: none; }
.md-footer li { margin: 6px 0; font-size: 13px; }
.md-footer a:hover { color: #ffb299; }
.md-footer__detail { margin: 5px 0 0 !important; }
.md-footer__socials { display: flex; flex-wrap: wrap; gap: 8px; }
.md-social { display: inline-flex; align-items: center; justify-content: center; width: 29px; height: 29px; border: 1px solid rgba(255,255,255,.6); border-radius: 50%; color: var(--md-white); font-size: 12px; font-weight: 800; }
.md-footer__bottom { margin-top: 38px; padding-top: 13px; border-top: 1px solid rgba(255,255,255,.25); color: #c8d7d8; font-size: 12px; }

@media (max-width: 1080px) {
	.md-header__main { gap: 16px; }
	.md-nav { gap: 0; }
	.md-nav__link { padding-inline: 7px; font-size: 12px; }
	.md-search { flex-basis: 190px; }
	.md-footer__grid { gap: 24px; }
}
@media (max-width: 860px) {
	.md-container { width: min(100% - 36px, 680px); }
	.md-nav, .md-search { display: none; }
	.md-search.is-open { display: block; position: absolute; top: 70px; left: 18px; right: 18px; z-index: 5; padding: 8px; background: var(--md-white); border: 1px solid var(--md-line); box-shadow: var(--md-shadow); }
	.md-mobile-search, .md-menu-toggle { display: inline-flex; }
	.md-mobile-search { margin-left: auto; }
	.md-header__main { min-height: 70px; }
	.md-mobile-nav__inner { padding-bottom: 3px; }
	.md-layout { grid-template-columns: 1fr; gap: 32px; }
	.md-sidebar { position: static; }
	.md-single-grid { grid-template-columns: 1fr; gap: 30px; }
	.md-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.md-product-grid--four, .woocommerce ul.products, .woocommerce-page ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.md-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
	body { font-size: 14px; }
	.md-container { width: calc(100% - 28px); }
	.md-header__top-inner { min-height: 30px; font-size: 11px; }
	.md-logo-text { font-size: 24px; }
	.md-home-heading { padding-top: 34px; }
	.md-home-heading h1 { font-size: 34px; }
	.md-section { padding-top: 38px; }
	.md-section__heading h2, .md-page-header h1, .md-content h1, .md-empty h1 { font-size: 27px; }
	.md-category-grid { gap: 8px; }
	.md-category-card__body { padding: 10px; }
	.md-category-card__body strong { font-size: 15px; }
	.md-product-grid, .woocommerce ul.products, .woocommerce-page ul.products { gap: 22px 8px; }
	.md-toolbar { align-items: flex-start; flex-direction: column; }
	.md-footer { margin-top: 52px; padding-top: 36px; }
	.md-footer__grid { grid-template-columns: 1fr 1fr; gap: 25px 16px; }
	.md-footer__brand { grid-column: 1 / -1; }
	.md-single-grid { gap: 24px; }
	.md-summary .price { font-size: 22px; }
	.woocommerce-tabs ul.tabs { gap: 18px; overflow-x: auto; white-space: nowrap; }
}

/* Motordelar storefront composition: vehicle-first header, service rail and six-up catalog. */
.md-header { background: #202a2f; color: #fff; border-bottom: 0; }
.md-utility { background: #182126; color: #cbd7d8; font-size: 12px; }
.md-utility__inner { min-height: 31px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.md-utility a { color: #fff; font-weight: 700; }
.md-header__main { min-height: 87px; gap: 25px; color: #fff; }
.md-brand { min-width: 215px; color: #fff; }
.md-logo-lockup { display: inline-flex; align-items: center; gap: 10px; }
.md-logo-mark { display: inline-flex; width: 42px; height: 42px; align-items: center; justify-content: center; color: #ff6b1a; }
.md-logo-mark .md-icon, .md-logo-mark svg { width: 42px; height: 42px; }
.md-logo-mark svg { fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.md-logo-text { display: grid; color: #fff; font: 800 31px/.92 var(--md-display); letter-spacing: -.055em; text-transform: none; }
.md-logo-text strong { color: #ff6b1a; font-weight: inherit; }
.md-logo-text small { margin-top: 5px; color: #d0dadb; font: 500 11px/1 var(--md-body); letter-spacing: .02em; }
.md-logo-image { max-width: 215px; max-height: 54px; }
.md-header-search { position: relative; flex: 1 1 460px; max-width: 560px; }
.md-header-search input[type="search"] { width: 100%; min-height: 44px; padding: 11px 56px 11px 16px; border: 0; border-radius: 7px; background: #fff; color: var(--md-ink); box-shadow: 0 4px 15px rgba(0,0,0,.08); }
.md-header-search button { position: absolute; top: 0; right: 0; width: 52px; height: 44px; border: 0; border-radius: 0 7px 7px 0; background: #ff6b1a; color: #fff; }
.md-header-search button:hover { background: #f0570b; }
.md-header-search svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; }
.md-vehicle-link { display: inline-flex; align-items: center; gap: 9px; min-width: 128px; color: #fff; font-size: 13px; font-weight: 800; white-space: nowrap; }
.md-vehicle-link .md-icon svg { width: 27px; height: 27px; }
.md-vehicle-link > .md-icon:last-child { display: inline-flex; color: #bfcacc; }
.md-vehicle-link > .md-icon:last-child svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.md-actions { gap: 20px; }
.md-action { color: #fff; }
.md-action--label { width: auto; gap: 7px; font-size: 13px; font-weight: 800; white-space: nowrap; }
.md-action--label .md-icon svg { width: 23px; height: 23px; }
.md-action--cart { width: 34px; border-left: 1px solid rgba(255,255,255,.26); padding-left: 17px; }
.md-action:hover, .md-vehicle-link:hover { color: #ff9b67; }
.md-department-band { background: #2a353a; border-top: 1px solid rgba(255,255,255,.08); }
.md-department-inner { min-height: 51px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.md-department-nav { display: flex; align-items: center; gap: 31px; min-width: 0; }
.md-department-nav > a, .md-department-all summary { display: inline-flex; align-items: center; gap: 9px; padding: 16px 0; color: #fff; font-size: 14px; font-weight: 800; white-space: nowrap; cursor: pointer; list-style: none; }
.md-department-all { position: relative; }
.md-department-all summary::-webkit-details-marker { display: none; }
.md-department-all summary > .md-icon { display: inline-flex; color: #d3dddd; }
.md-department-all summary > .md-icon svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .18s ease; }
.md-department-all[open] summary > .md-icon svg { transform: rotate(180deg); }
.md-department-panel { position: absolute; top: 49px; left: -14px; z-index: 30; display: grid; min-width: 270px; padding: 10px; background: #fff; border: 1px solid var(--md-line); box-shadow: 0 16px 35px rgba(0,0,0,.18); }
.md-department-panel a { display: flex; justify-content: space-between; gap: 22px; padding: 11px 12px; color: var(--md-ink); font-size: 13px; }
.md-department-panel a:hover { background: #e8f5f5; color: var(--md-accent-dark); }
.md-department-panel span { color: var(--md-muted); }
.md-service-strip { display: flex; align-items: center; gap: 27px; color: #f7fbfb; }
.md-service-strip span { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.md-service-strip .md-icon svg { width: 23px; height: 23px; }
.md-mobile-nav { background: #202a2f; border-top-color: rgba(255,255,255,.15); }
.md-mobile-nav a { display: flex; justify-content: space-between; color: #fff; border-bottom-color: rgba(255,255,255,.15); }
.md-main { background: #f7f5f1; }
.md-home-content { padding-bottom: 18px; }
.md-hero { display: grid; grid-template-columns: minmax(0, 1fr) 294px; width: min(1440px, 100%); margin: 0 auto; background: #e6eef0; }
.md-hero__visual { position: relative; min-width: 0; background: #e6eef0; }
.md-hero__visual .md-banner { width: 100%; margin: 0; background: transparent; }
.md-hero__visual .md-banner img { width: 100%; height: auto; }
.md-hero__copy { position: absolute; top: 50%; left: 5.2%; width: min(370px, 35%); transform: translateY(-50%); }
.md-hero__copy h2 { margin: 0; color: #0d2436; font: 900 clamp(33px, 4.4vw, 61px)/.94 var(--md-display); letter-spacing: -.06em; }
.md-hero__copy p { max-width: 315px; margin: 14px 0 21px; color: #20353e; font-size: clamp(14px, 1.45vw, 20px); line-height: 1.35; }
.md-hero__copy .md-button { display: inline-flex; width: auto; gap: 12px; padding-inline: 22px; }
.md-hero__copy .md-button .md-icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; }
.md-hero__rail { display: grid; gap: 14px; padding: 22px 20px; background: #f1f5f5; }
.md-help-card { padding: 22px 20px 18px; background: #e8f0f1; border-radius: 9px; }
.md-help-card__icon { color: #0d2436; }
.md-help-card__icon svg { width: 42px; height: 42px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.md-help-card h2, .md-fitment-card h2 { margin: 8px 0 10px; color: #0d2436; font: 800 20px/1.05 var(--md-display); }
.md-help-card p, .md-fitment-card p { margin: 0 0 17px; color: #243840; font-size: 13px; line-height: 1.45; }
.md-button { width: 100%; min-height: 42px; border-radius: 5px; background: #ff6b1a; }
.md-button:hover { background: #d94d0e; }
.md-promise-card { padding: 4px 19px; background: #f8fbfb; border-radius: 9px; }
.md-promise-card > div { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid #dbe5e6; }
.md-promise-card > div:last-child { border-bottom: 0; }
.md-promise-card .md-icon { color: #0d2436; }
.md-promise-card .md-icon svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }
.md-promise-card span { display: grid; gap: 2px; }
.md-promise-card strong { color: #0d2436; font-size: 14px; }
.md-promise-card small { color: #53676d; font-size: 12px; }
.md-fitment-card { padding: 20px; background: #dff3f5; border-radius: 9px; }
.md-fitment-card__heading { display: flex; align-items: flex-start; gap: 12px; }
.md-fitment-card__heading .md-icon { color: #0d2436; }
.md-fitment-card__heading .md-icon svg { width: 33px; height: 33px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.md-fitment-card__heading h2 { margin: 2px 0 0; }
.md-fitment-card input[type="search"] { width: 100%; min-height: 43px; margin-bottom: 11px; padding: 10px 12px; border: 1px solid #b6d9df; border-radius: 5px; background: #fff; }
.md-section { padding-top: 39px; }
.md-section--categories { padding-top: 29px; }
.md-section__heading { margin-bottom: 15px; }
.md-section__heading h2 { font-size: 29px; letter-spacing: -.045em; text-transform: none; }
.md-section__heading a { color: #0d2436; }
.md-section__heading a:hover { color: #f0570b; }
.md-section__heading a .md-icon svg { width: 18px; height: 18px; }
.md-category-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.md-category-card { border: 1px solid #dbe1df; border-radius: 6px; overflow: hidden; box-shadow: 0 4px 14px rgba(23,37,43,.03); }
.md-category-card__image { aspect-ratio: 1.45; background: #dbe7e8; }
.md-category-card__image img { object-fit: cover; }
.md-category-card__body { padding: 13px 14px; }
.md-category-card__body strong { color: #0d2436; font-size: 19px; text-transform: none; }
.md-category-card__arrow { display: inline-flex; align-items: center; justify-content: center; width: 29px; height: 29px; border-radius: 50%; background: #ff6b1a; color: #fff; }
.md-category-card__arrow .md-icon svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2.3; }
.md-product-grid--six { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.md-product-card { padding-bottom: 8px; }
.md-product-card__image { border-radius: 5px; }
.md-product-card__image img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; }
.md-product-card__body { padding: 11px 11px 0; }
.md-product-card__body h3 { min-height: 38px; color: #0d2436; font-size: 13px; }
.md-price { color: #0d2436; font-size: 13px; }

@media (max-width: 1100px) {
	.md-vehicle-link { min-width: auto; }
	.md-action--label span { display: none; }
	.md-department-nav { gap: 20px; }
	.md-service-strip { gap: 15px; }
	.md-service-strip span { font-size: 11px; }
	.md-product-grid--six { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
	.md-utility { display: none; }
	.md-header__main { min-height: 74px; }
	.md-brand { min-width: 0; }
	.md-logo-text { font-size: 25px; }
	.md-logo-mark, .md-logo-mark .md-icon, .md-logo-mark svg { width: 34px; height: 34px; }
	.md-header-search { display: none; }
	.md-header-search.is-open { position: absolute; top: 74px; left: 14px; right: 14px; z-index: 40; display: block; max-width: none; padding: 8px; background: #202a2f; box-shadow: 0 12px 24px rgba(0,0,0,.2); }
	.md-mobile-search { display: inline-flex; }
	.md-vehicle-link { display: none; }
	.md-department-band { display: none; }
	.md-hero { grid-template-columns: 1fr; }
	.md-hero__rail { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 15px; }
	.md-help-card, .md-fitment-card { grid-column: span 1; }
	.md-promise-card { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
	.md-promise-card > div { border-bottom: 0; }
	.md-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.md-hero__copy { left: 5%; width: 42%; }
	.md-hero__copy h2 { font-size: clamp(27px, 5vw, 43px); }
}
@media (max-width: 520px) {
	.md-container { width: calc(100% - 28px); }
	.md-logo-text { font-size: 21px; }
	.md-logo-text small { font-size: 9px; }
	.md-action--cart { padding-left: 9px; }
	.md-actions { gap: 9px; }
	.md-hero__rail { grid-template-columns: 1fr; }
	.md-hero__copy { position: static; width: auto; padding: 24px 18px 27px; transform: none; background: #e7f0f1; }
	.md-hero__copy h2 { font-size: 34px; }
	.md-help-card, .md-fitment-card, .md-promise-card { grid-column: auto; }
	.md-promise-card { display: block; }
	.md-promise-card > div { padding: 11px 0; border-bottom: 1px solid #dbe5e6; }
	.md-promise-card > div:last-child { border-bottom: 0; }
	.md-section__heading h2 { font-size: 25px; }
	.md-category-grid { gap: 10px; }
	.md-category-card__body { padding: 10px; }
	.md-category-card__body strong { font-size: 15px; }
	.md-product-grid--six { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 9px; }
}
