/* Sleemans Diagrams – light, airy styling to match the new site. Font is inherited from the theme. */
.sld {
	--sld-ink: #14263B;
	--sld-muted: #5B6B7D;
	--sld-line: #E6EAEF;
	--sld-soft: #F6F8FA;
	--sld-navy: #17375E;
	--sld-cyan: #2BB8D8;
	--sld-active: #EEF3F9;
	color: var(--sld-ink);
	margin: 32px 0;
}
.sld *, .sld *::before, .sld *::after { box-sizing: border-box; }

.sld__grid { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.sld__drawing { flex: 1 1 480px; min-width: 0; margin: 0; border: 1px solid var(--sld-line); border-radius: 4px; padding: 20px; background: #fff; }
.sld__parts { flex: 1 1 460px; min-width: 0; }

.sld__canvas { position: relative; width: 100%; max-width: 760px; margin: 0 auto; }
.sld__canvas img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; max-width: none; }

.sld__spot {
	position: absolute; transform: translate(-50%, -50%);
	min-width: 18px; min-height: 18px; padding: 0; margin: 0;
	border: 1.5px solid var(--sld-cyan); border-radius: 999px;
	background: rgba(43, 184, 216, .10); color: transparent; cursor: pointer;
	font: 500 12px/1 inherit; transition: background .15s, box-shadow .15s;
}
.sld__spot span { display: block; overflow: hidden; white-space: nowrap; }
.sld__spot:hover, .sld__spot:focus-visible { background: rgba(43, 184, 216, .25); outline: none; }
.sld__spot.is-active { background: var(--sld-navy); border-color: var(--sld-navy); color: #fff; box-shadow: 0 0 0 6px rgba(43, 184, 216, .28); z-index: 2; }

.sld__hint { margin: 14px 0 0; font-size: 13px; color: var(--sld-muted); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.sld__hint a { color: var(--sld-navy); text-decoration: none; }

.sld__tools { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.sld__search { flex: 1 1 220px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid #C9D2DC; color: var(--sld-muted); }
.sld__search input { flex: 1; min-width: 0; height: 46px; border: 0; background: transparent; font: inherit; font-size: 16px; color: var(--sld-ink); box-shadow: none; padding: 0; }
.sld__search input:focus { outline: none; }
.sld__toggle, .sld__add {
	min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid #C9D2DC;
	background: #fff; color: var(--sld-ink); font: inherit; font-size: 14px; cursor: pointer;
	display: inline-flex; align-items: center; justify-content: center; text-decoration: none; white-space: nowrap;
}
.sld__toggle[aria-pressed="true"], .sld__add.is-added { background: var(--sld-navy); border-color: var(--sld-navy); color: #fff; }
.sld__add:hover { border-color: var(--sld-navy); }
.sld__add[disabled] { opacity: .6; cursor: wait; }
.sld__add--ghost { color: var(--sld-navy); }

.sld__count { margin: 14px 0 8px; font-size: 13px; color: var(--sld-muted); }

.sld__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--sld-line); max-height: 860px; overflow-y: auto; }
.sld__row { display: flex; align-items: center; gap: 14px; padding: 12px 10px; border-bottom: 1px solid var(--sld-line); flex-wrap: wrap; margin: 0; }
.sld__row.is-active { background: var(--sld-active); }
.sld__ref {
	flex: 0 0 36px; width: 36px; height: 36px; border-radius: 50%; border: 1px solid #C9D2DC;
	background: #fff; color: var(--sld-ink); font: inherit; font-size: 13px; cursor: pointer; padding: 0;
}
.sld__row.is-active .sld__ref { background: var(--sld-navy); border-color: var(--sld-navy); color: #fff; }
.sld__thumb { flex: 0 0 56px; width: 56px; height: 56px; border-radius: 4px; background: var(--sld-soft); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.sld__thumb img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.sld__info { flex: 1 1 180px; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.sld__name { font-size: 16px; color: var(--sld-ink); text-decoration: none; }
a.sld__name:hover { color: var(--sld-navy); text-decoration: underline; }
.sld__meta { font-size: 12.5px; color: var(--sld-muted); }
.sld__stock--in { color: #1F7A4A; }
.sld__stock--back { color: #8A5A12; }
.sld__stock--out { color: #A1342B; }
.sld__price { min-width: 76px; text-align: right; font-size: 16px; font-weight: 300; }
.sld__msg { flex-basis: 100%; font-size: 13px; color: #A1342B; padding-left: 50px; }

.sld__bar { margin-top: 28px; background: var(--sld-navy); color: #fff; border-radius: 4px; padding: 16px 24px; display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; }
.sld__bar[hidden] { display: none; }
.sld__bar-link { color: var(--sld-navy); background: #fff; text-decoration: none; border-radius: 999px; padding: 11px 22px; font-size: 15px; }
.sld__help { margin: 24px 0 0; font-size: 15px; color: #3E4F63; }
.sld__help a { color: var(--sld-navy); text-decoration: none; }

/* "Where it fits" on product pages */
.sld-fits { margin: 40px 0; padding: 28px; background: #F6F8FA; border-radius: 4px; }
.sld-fits h2 { margin: 0 0 16px; font-size: 22px; font-weight: 400; }
.sld-fits ul { list-style: none; margin: 0; padding: 0; }
.sld-fits li { padding: 12px 0; border-top: 1px solid #E3E8ED; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.sld-fits a { color: #17375E; text-decoration: none; }
.sld-fits span { color: #5B6B7D; font-size: 14px; }

@media (max-width: 640px) {
	.sld__drawing { padding: 12px; }
	.sld__row { gap: 10px; padding: 12px 4px; }
	.sld__thumb { flex-basis: 44px; width: 44px; height: 44px; }
	.sld__info { flex: 1 1 calc(100% - 110px); }
	.sld__price { min-width: 0; margin-left: auto; padding-left: 46px; text-align: left; flex: 1 1 auto; }
	.sld__list { max-height: none; }
	.sld__bar { position: sticky; bottom: 8px; z-index: 5; }
}

/* ---------- Part pages (0.1.4) ---------- */
.sld-crumbs { font-size: 13px; font-weight: 300; color: #5B6B7D; display: flex; flex-wrap: wrap; gap: 4px 0; align-items: baseline; }
.sld-crumbs a { color: #5B6B7D !important; text-decoration: none !important; background: none !important; padding: 0 !important; }
.sld-crumbs a:hover { color: #17375E !important; }
.sld-crumbs__sep { margin: 0 8px; color: #A9B4C0; }
.sld-crumbs [aria-current] { color: #14263B; }

.sld-facts { margin: 0; display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: 15px; }
.sld-facts > div { display: flex; gap: 8px; }
.sld-facts dt { font-weight: 300; color: #5B6B7D; }
.sld-facts dd { margin: 0; color: #14263B; }
.sld-facts a { color: #14263B; text-decoration: none; border-bottom: 1px solid #C9D2DC; }
.sld-facts a:hover { border-color: #17375E; }

.sld-eyebrow { margin: 0; font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: #5B6B7D; }
.sld-btn { align-self: flex-start; display: inline-block; color: #14263B !important; text-decoration: none !important; font-size: 15px; padding: 14px 29px; border: 1px solid #C9D2DC; border-radius: 999px; background: #fff; transition: border-color .15s; }
.sld-btn:hover { border-color: #17375E; }
.sld-muted { color: #5B6B7D; }


.sld-related { max-width: 1240px; margin: 0 auto; padding: 120px 32px; box-sizing: border-box; }
.sld-related__head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 16px; margin-bottom: 48px; }
.sld-related__head h2 { margin: 0; font-size: 38px; font-weight: 300; color: #14263B; }
.sld-related__head span { font-size: 15px; font-weight: 300; color: #5B6B7D; }
.sld-related__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 32px; }
.sld-card { display: flex; flex-direction: column; gap: 10px; }
.sld-card__img { display: block; aspect-ratio: 1; background: #F6F8FA; border-radius: 4px; overflow: hidden; margin-bottom: 4px; }
.sld-card__img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; padding: 8%; box-sizing: border-box; display: block; }
.sld-card__meta { font-size: 12px; color: #5B6B7D; }
.sld-card__name { font-size: 17px; color: #14263B !important; text-decoration: none !important; line-height: 1.4; }
.sld-card__foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.sld-card__price { font-size: 17px; font-weight: 300; color: #14263B; }
.sld-card .sld-card__add { min-height: 44px; display: inline-flex !important; align-items: center; padding: 0 20px !important; border: 1px solid #C9D2DC !important; border-radius: 999px !important; background: #fff !important; color: #14263B !important; font: 400 14px inherit !important; font-family: inherit !important; text-decoration: none !important; margin: 0 !important; }
.sld-card .sld-card__add:hover { border-color: #17375E !important; }
.sld-card .added_to_cart { font-size: 13px; color: #17375E; }

.sld-details { max-width: 1240px; margin: 0 auto; padding: 0 32px 140px; box-sizing: border-box; display: flex; flex-wrap: wrap; gap: 64px 120px; }
.sld-details__col { flex: 1 1 400px; min-width: 0; }
.sld-details h2 { margin: 0 0 28px; font-size: 30px; font-weight: 300; color: #14263B; }
.sld-details dl { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); font-size: 15px; border-bottom: 1px solid #EDF0F3; }
.sld-details dt { padding: 14px 16px 14px 0; border-top: 1px solid #EDF0F3; font-weight: 300; color: #5B6B7D; }
.sld-details dd { margin: 0; padding: 14px 0; border-top: 1px solid #EDF0F3; color: #14263B; line-height: 1.6; }
.sld-details dd a { color: #14263B; text-decoration: none; border-bottom: 1px solid #C9D2DC; }
.sld-details__col p, .sld-details__desc { font-size: 16px; line-height: 1.75; font-weight: 300; color: #3E4F63; }
.sld-details__col p { margin: 0 0 18px; }
.sld-details__col a { color: #17375E; text-decoration: none; }

@media (max-width: 1023.98px) {
	.sld-related__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 767.98px) {
	.sld-related { padding: 72px 20px; }
	.sld-related__head { margin-bottom: 32px; }
	.sld-related__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 16px; }
	.sld-details { padding: 0 20px 80px; gap: 48px; }
	.sld-details h2 { font-size: 26px; }
}
.sld-details--full .sld-details__col { flex: 1 1 100%; max-width: 860px; }
.sld-details--full .sld-details__spec { margin-top: 56px; }
.sld-details__desc h2, .sld-details__desc h3 { font-weight: 300; color: #14263B; }
.sld-details__desc img { max-width: 100%; height: auto; }
.sld-details__desc table { width: 100%; border-collapse: collapse; }
.sld-details__desc td, .sld-details__desc th { padding: 10px 12px 10px 0; border-top: 1px solid #EDF0F3; text-align: left; font-weight: 300; }

/* "Where it fits": one card per engine and assembly (0.1.6) */
.sld-where { background: #F6F8FA; }
.sld-where__in { max-width: 1240px; margin: 0 auto; padding: 112px 32px; box-sizing: border-box; display: flex; flex-direction: column; gap: 48px; }
.sld-where__head { display: flex; flex-wrap: wrap; gap: 24px 64px; align-items: flex-end; justify-content: space-between; }
.sld-where__text { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.sld-where__text h2 { margin: 0; font-size: 40px; line-height: 1.2; font-weight: 300; letter-spacing: -.01em; color: #14263B; }
.sld-where__text > p:not(.sld-eyebrow) { margin: 0; max-width: 640px; font-size: 16px; line-height: 1.75; font-weight: 300; color: #3E4F63; }
.sld-where__head .sld-btn { flex: 0 0 auto; align-self: flex-end; }
.sld-fitcards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(270px, 100%), 1fr)); gap: 24px; }
.sld-fitcards > li { margin: 0; display: flex; }
.sld-fitcard { flex: 1; display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid #E3E8ED; border-radius: 4px; color: #14263B !important; text-decoration: none !important; transition: border-color .15s, box-shadow .15s; }
a.sld-fitcard:hover { border-color: #17375E; box-shadow: 0 6px 24px rgba(20, 38, 59, .06); }
.sld-fitcard__fig { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #fff; border-bottom: 1px solid #EDF0F3; }
.sld-fitcard__fig.is-zoomed > img { position: absolute; height: auto; max-width: none !important; display: block; }
.sld-fitcard__fig img.is-whole { position: absolute; inset: 12px; width: calc(100% - 24px); height: calc(100% - 24px); object-fit: contain; }
.sld-fitcard__ring { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; transform: translate(-50%, -50%); border-radius: 50%; border: 2px solid #2BB8D8; box-shadow: 0 0 0 9999px rgba(255, 255, 255, .35); }
.sld-fitcard__tag { position: absolute; left: 50%; top: calc(50% + 42px); transform: translateX(-50%); padding: 4px 12px; border-radius: 999px; background: #17375E; color: #fff; font-size: 12px; white-space: nowrap; }
.sld-fitcard__tag.is-corner { left: auto; top: auto; right: 12px; bottom: 12px; transform: none; }
.sld-fitcard__mini { position: absolute; right: 10px; bottom: 10px; width: 54px; background: #fff; border: 1px solid #DCE2E8; border-radius: 3px; overflow: hidden; }
.sld-fitcard__mini img { width: 100%; height: 100%; object-fit: fill; display: block; }
.sld-fitcard__mini i { position: absolute; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: #2BB8D8; }
.sld-fitcard__fig.is-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 24px; box-sizing: border-box; background: #F6F8FA; text-align: center; }
.sld-fitcard__fig.is-empty span { max-width: 210px; font-size: 14px; font-weight: 300; color: #5B6B7D; line-height: 1.5; }
.sld-fitcard__body { flex: 1; display: flex; flex-direction: column; gap: 6px; padding: 20px 22px 22px; }
.sld-fitcard__eng { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: #5B6B7D; }
.sld-fitcard__asm { font-size: 19px; line-height: 1.35; }
.sld-fitcard__meta { font-size: 14px; font-weight: 300; color: #3E4F63; }
.sld-fitcard__cta { margin-top: auto; padding-top: 12px; font-size: 15px; color: #17375E; }
.sld-where__foot { margin: 0; font-size: 14px; font-weight: 300; color: #5B6B7D; }
.sld-where__foot a { color: #17375E; text-decoration: none; }
@media (max-width: 767.98px) {
	.sld-where__in { padding: 72px 20px; gap: 32px; }
	.sld-where__text h2 { font-size: 30px; }
	.sld-where__head .sld-btn { align-self: flex-start; }
	.sld-fitcards { gap: 16px; }
}

/* 0.1.7: one place -> card beside the heading; no drawings -> slim panels; phones hide empty panels */
.sld-where.is-single .sld-where__in { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 48px 96px; }
.sld-where.is-single .sld-where__head { flex: 1 1 440px; min-width: 0; flex-direction: column; align-items: flex-start; gap: 28px; }
.sld-where.is-single .sld-where__text { flex: none; width: 100%; }
.sld-where.is-single .sld-where__head .sld-btn { align-self: flex-start; }
.sld-where.is-single .sld-fitcards { flex: 1 1 400px; min-width: 0; max-width: 520px; grid-template-columns: minmax(0, 1fr); }
.sld-where.is-single .sld-where__foot { flex: 1 1 100%; }
.sld-where.no-drawings .sld-fitcard__fig.is-empty { aspect-ratio: auto; flex-direction: row; justify-content: flex-start; gap: 12px; padding: 14px 22px; text-align: left; }
.sld-where.no-drawings .sld-fitcard__fig.is-empty svg { width: 24px; height: 24px; flex: 0 0 24px; }
.sld-where.no-drawings .sld-fitcard__fig.is-empty span { max-width: none; font-size: 13px; }
@media (max-width: 767.98px) {
	.sld-where.is-single .sld-where__in { gap: 32px; }
	.sld-fitcard__fig.is-empty { display: none !important; }
	.sld-fitcard__body { padding: 18px 20px; }
	.sld-fitcard__cta { padding-top: 8px; }
}

/* Selected part (0.1.8) – matches the Split diagram design */
.sld__sel { display: flex; align-items: center; gap: 24px; padding: 22px 22px; margin: 0 0 26px; border: 1px solid var(--sld-navy); border-radius: 4px; background: #fff; min-height: 134px; }
.sld__sel-img { flex: 0 0 88px; width: 88px; height: 88px; border: 1px solid var(--sld-line); border-radius: 4px; background: #fff; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.sld__sel-img img { width: 100%; height: 100%; object-fit: contain; display: block; padding: 6px; }
.sld__sel:not(.has-img) .sld__sel-img img { visibility: hidden; }
.sld__sel:not(.has-img) .sld__sel-img { background: var(--sld-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239FB2C8' stroke-width='1.3'%3E%3Cpath d='M3 7l9-4 9 4v10l-9 4-9-4z'/%3E%3Cpath d='M3 7l9 4 9-4M12 11v10'/%3E%3C/svg%3E") no-repeat center / 32px; }
.sld__sel-info { flex: 1 1 200px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.sld__sel-meta { font-size: 13px; color: var(--sld-muted); letter-spacing: .02em; }
.sld__sel-name, .sld__sel-name .sld__name { font-size: 22px; font-weight: 300; line-height: 1.3; color: var(--sld-ink); text-decoration: none; }
.sld__sel-name a.sld__name:hover { color: var(--sld-navy); text-decoration: underline; text-decoration-color: var(--sld-cyan); text-underline-offset: 4px; }
.sld__sel-stock { font-size: 14px; color: var(--sld-muted); }
.sld__sel-buy { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.sld__sel-price { font-size: 24px; font-weight: 300; color: var(--sld-ink); white-space: nowrap; }
.sld__sel .sld__add { white-space: nowrap; min-height: 48px; padding: 0 26px; border-radius: 999px; font-size: 16px; background: var(--sld-navy); border-color: var(--sld-navy); color: #fff; }
.sld__sel .sld__add:hover { background: #0E2440; color: #fff; }
.sld__sel .sld__add.sld__add--ghost { background: #fff; color: var(--sld-ink); border-color: #C9D2DC; }
.sld__sel .sld__add.is-added { background: var(--sld-cyan); border-color: var(--sld-cyan); color: #fff; }
.sld__sel.is-empty .sld__sel-name { font-size: 16px; color: var(--sld-muted); }
.sld__sel.is-empty .sld__sel-buy { display: none; }
.sld__row { cursor: pointer; }
@media (max-width: 575.98px) {
	.sld__sel { flex-wrap: wrap; gap: 14px 16px; padding: 16px; }
	.sld__sel-img { flex-basis: 72px; width: 72px; height: 72px; }
	.sld__sel-info { flex-basis: calc(100% - 90px); }
	.sld__sel-name, .sld__sel-name .sld__name { font-size: 19px; }
	.sld__sel-buy { flex: 1 1 100%; flex-direction: row; justify-content: space-between; align-items: center; }
}

/* 0.1.9: older iPhones without aspect-ratio */
@supports not (aspect-ratio:1){.sld__canvas{height:0;padding-top:var(--sld-pad)}}
.sld__sel-img{position:relative}
.sld__sel-img img{position:absolute;inset:0}
