/* IXXO Cart 8 storefront: the Spool preset's character on top of components.css (Spool theme).
   A turbo and car parts look: a steel grey ground, white cards and tiles with a hairline that
   turns dark when you point at them, a white header, the dark top bar (the shared bar is drawn
   in the words' colour) and a dark footer, Saira headings stretched a little, Public Sans for
   text and IBM Plex Mono for part numbers. Locked pages (checkout, pay, thank you) do not load
   this file (DEC-045). */

/* White surfaces: `--on-ink` is white wherever the words are dark and turns dark on a Dark
   section, so the header, cards and tiles follow a section's colour scheme with no colour of
   their own. */

/* Type: Saira, bold and a little wider than its normal width (the font keeps its width axis). */
h1, h2, h3, .sf-sec-title{ font-family: var(--font-heading); font-weight: 700; font-stretch: 104%; letter-spacing: -0.005em; }
.sf-hero-title{ font-weight: 700; font-stretch: 104%; letter-spacing: -0.01em; }
.sf-logo-word{ font-stretch: 118%; letter-spacing: 0.04em; }

/* The mono: part numbers, counts and pages in IBM Plex Mono (`--font-mono`, every rule that prints
   a code reads it); prices in the heading font, as in the mockup. */
.sf{ --font-mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace; }
.sf-price-now, .sf-price-was{ font-family: var(--font-heading); font-stretch: 104%; }

/* The header on white over the grey page; the menu's own line under it is the hairline. */
.sf-hdr{ --paper: var(--on-ink); }

/* Cards: white, outlined, the corner of the theme. */
.card-outline .sf-card{ border-radius: var(--r); background: var(--on-ink); transition: border-color 0.15s ease-out; }
.card-outline .sf-card:hover{ border-color: var(--ink); }

/* Manufacturer and part type tiles: white with the same hairline. */
.sf-brand{ background: var(--on-ink); transition: border-color 0.15s ease-out; }
.sf-cats:not(.sf-cats--index) .sf-cat{ padding: 16px; border: 1px solid var(--line); border-radius: var(--r); background: var(--on-ink); transition: border-color 0.15s ease-out; }
.sf-cats:not(.sf-cats--index) .sf-cat:hover{ border-color: var(--ink); }
.sf-cat-meta b{ font-family: var(--font-heading); font-size: 18px; font-weight: 700; font-stretch: 104%; }

/* The trust strip as a white band. */
.sf-trust:not(.sf-trust--band) .sf-trust-list{ border-radius: var(--r); background: var(--on-ink); }

/* Application tiles: the heading font, wide. */
.sf-promo-title{ font-weight: 700; font-stretch: 104%; letter-spacing: -0.005em; }

/* The footer on the words' colour, its words on the page's ground: the greys are worked out
   from those two the way the palette's are, so every part of the footer stays readable. */
.sf-foot{ --paper: var(--page-ink); --ink: var(--page-paper); --ink-2: color-mix(in srgb, var(--page-paper) 80%, var(--page-ink)); --muted: color-mix(in srgb, var(--page-paper) 68%, var(--page-ink)); --line: color-mix(in srgb, var(--page-paper) 16%, var(--page-ink)); border-block-start: 0; color: var(--ink); }
/* The currency buttons: the browser's own light button would carry the footer's light words, so
   they get an outline on the dark ground, and the current one is filled in the words' colour.
   11.25px above and below make them 44px tall to tap, the height of the language links beside them. */
.sf-foot .sf-pick button{ padding: 11.25px 12px; border: 1px solid var(--line); border-radius: var(--r); background: none; color: var(--ink-2); cursor: pointer; }
.sf-foot .sf-pick button:hover{ border-color: var(--ink-2); color: var(--ink); }
.sf-foot .sf-pick button[aria-pressed="true"]{ border-color: var(--ink); background: var(--ink); color: var(--paper); }

/* The lookup hero's search as a brushed metal nameplate: four rivets in the corners and the
   brushed plate under them, all painted with gradients (the form has no extra elements), its
   colours in tokens.css. The label and help link are stamped into it. */
.sf-lookup-form{ border-radius: 6px; background:
	radial-gradient(circle at 45% 45%, var(--nameplate-rivet-light) 0, var(--nameplate-rivet) 2.6px, var(--nameplate-rivet-dark) 4px, transparent 4.6px) left 8px top 8px / 10px 10px no-repeat,
	radial-gradient(circle at 45% 45%, var(--nameplate-rivet-light) 0, var(--nameplate-rivet) 2.6px, var(--nameplate-rivet-dark) 4px, transparent 4.6px) right 8px top 8px / 10px 10px no-repeat,
	radial-gradient(circle at 45% 45%, var(--nameplate-rivet-light) 0, var(--nameplate-rivet) 2.6px, var(--nameplate-rivet-dark) 4px, transparent 4.6px) left 8px bottom 8px / 10px 10px no-repeat,
	radial-gradient(circle at 45% 45%, var(--nameplate-rivet-light) 0, var(--nameplate-rivet) 2.6px, var(--nameplate-rivet-dark) 4px, transparent 4.6px) right 8px bottom 8px / 10px 10px no-repeat,
	repeating-linear-gradient(90deg, var(--nameplate-brush) 0 1px, transparent 1px 3px),
	linear-gradient(170deg, var(--nameplate-top) 0%, var(--nameplate-mid) 60%, var(--nameplate-end) 100%); color: var(--nameplate-stamp); }
.sf-lookup-label, .sf-lookup-help{ text-shadow: 0 1px 0 var(--nameplate-shine); }
.sf-lookup-title{ font-weight: 700; font-stretch: 104%; letter-spacing: -0.01em; }

@media (prefers-reduced-motion: reduce){
	.card-outline .sf-card, .sf-brand, .sf-cats:not(.sf-cats--index) .sf-cat{ transition: none; }
}
