/* ASMOTORNEST Light — storefront styles (Astra child). Tokens match the style guide. */
:root {
	--asm-ink: #14171C;
	--asm-ink-2: #3D434D;
	--asm-muted: #5F6672;
	--asm-line: #E2E5EA;
	--asm-line-2: #C9CED6;
	--asm-surface: #F5F6F8;
	--asm-surface-2: #EDEFF2;
	--asm-bg: #FFFFFF;
	--asm-accent: #C8202A;
	--asm-accent-hover: #A3181F;
	--asm-accent-soft: #FBECEC;
	--asm-ok: #17784A;
	--asm-ok-ink: #0F5C37;
	--asm-ok-soft: #E8F4EC;
	--asm-ok-line: #B9DEC7;
	--asm-warn-soft: #FFF6E0;
	--asm-warn-ink: #7A4A00;
	--asm-display: "Barlow Condensed", "Arial Narrow", sans-serif;
	--asm-body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	--asm-mono: "IBM Plex Mono", ui-monospace, monospace;
	--asm-radius: 12px;
	--asm-wrap: 1280px;
}

/* ---------- base ---------- */
body.asm-site { background: var(--asm-bg); color: var(--asm-ink); font-family: var(--asm-body); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
body.asm-site h1, body.asm-site h2, body.asm-site h3, body.asm-site h4 { color: var(--asm-ink); font-family: var(--asm-display); font-weight: 700; letter-spacing: 0; }
body.asm-site a { color: var(--asm-ink); }
body.asm-site a:hover, body.asm-site a:focus { color: var(--asm-accent); }
body.asm-site :focus-visible { outline: 3px solid var(--asm-accent); outline-offset: 2px; }
body.asm-site img { max-width: 100%; height: auto; }
.asm-wrap { width: 100%; max-width: var(--asm-wrap); margin-left: auto; margin-right: auto; padding-left: 24px; padding-right: 24px; box-sizing: border-box; }
.asm-site *, .asm-site *::before, .asm-site *::after { box-sizing: border-box; }
.asm-muted { color: var(--asm-muted); }
.asm-ok { color: var(--asm-ok); }
.asm-icon { flex: 0 0 auto; }
.asm-eyebrow { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--asm-muted); }
.asm-display { margin: 0; font-family: var(--asm-display); font-weight: 700; font-size: clamp(40px, 5.2vw, 64px); line-height: 1; text-transform: uppercase; color: var(--asm-ink); }
.asm-display--md { font-size: clamp(34px, 4.2vw, 52px); }
.asm-h2 { margin: 0; font-family: var(--asm-display); font-weight: 700; font-size: clamp(30px, 3.4vw, 40px); line-height: 1.05; text-transform: uppercase; }
.asm-lead { margin: 0; font-size: 18px; color: var(--asm-ink-2); max-width: 620px; }

/* Full-bleed layout on designed pages: neutralise Astra containers. */
body.asm-full #content > .ast-container,
body.asm-full .site-content > .ast-container { max-width: none; width: 100%; padding: 0; display: block; }
body.asm-full #primary { margin: 0; padding: 0; width: 100%; }
body.asm-full .ast-separate-container .site-main > article { background: none; padding: 0; }
body.asm-full.ast-separate-container { background: var(--asm-bg); }

/* ---------- buttons ---------- */
.asm-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: 8px; border: 1.5px solid transparent; font-family: var(--asm-body); font-weight: 600; font-size: 15px; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.asm-btn--accent { background: var(--asm-accent); color: #fff !important; }
.asm-btn--accent:hover { background: var(--asm-accent-hover); }
.asm-btn--dark { background: var(--asm-ink); color: #fff !important; }
.asm-btn--dark:hover { background: #000; }
.asm-btn--outline { background: #fff; border-color: var(--asm-ink); color: var(--asm-ink) !important; }
.asm-btn--outline:hover { background: var(--asm-ink); color: #fff !important; }
.asm-btn--light { background: #fff; color: var(--asm-ink) !important; }
.asm-btn--ghost-light { border-color: #fff; color: #fff !important; }
.asm-btn--block { width: 100%; }
.asm-btn--sm { min-height: 40px; padding: 0 14px; font-size: 14px; }

/* WooCommerce buttons site-wide */
.asm-site .woocommerce a.button, .asm-site .woocommerce button.button, .asm-site .woocommerce input.button,
.asm-site .woocommerce #respond input#submit, .asm-site .wc-block-components-button:not(.is-link),
.asm-site a.button, .asm-site button.button { border-radius: 8px; font-family: var(--asm-body); font-weight: 600; }
.asm-site .woocommerce a.button.alt, .asm-site .woocommerce button.button.alt, .asm-site .woocommerce #place_order,
.asm-site .wc-block-components-checkout-place-order-button, .asm-site .wc-block-cart__submit-button { background: var(--asm-accent) !important; color: #fff !important; }
.asm-site .woocommerce a.button.alt:hover, .asm-site .woocommerce button.button.alt:hover, .asm-site .woocommerce #place_order:hover { background: var(--asm-accent-hover) !important; }

/* ---------- top bar + header ---------- */
.asm-topbar { background: var(--asm-ink); color: #E9EBEF; font-size: 13px; }
.asm-topbar__in { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 24px; padding-top: 8px; padding-bottom: 8px; }
.asm-topbar p { margin: 0; display: flex; flex-wrap: wrap; gap: 4px 20px; }
.asm-topbar__muted { color: #B9BEC7; }
.asm-topbar a { color: #fff !important; text-decoration: none; }
.asm-topbar a:hover { text-decoration: underline; }

.asm-header { background: #fff; border-bottom: 1px solid var(--asm-line); position: relative; z-index: 50; }
.asm-header__row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; padding-top: 16px; padding-bottom: 16px; }
.asm-header__menu { display: none; width: 44px; height: 44px; border: 1px solid var(--asm-line); border-radius: 8px; background: #fff; color: var(--asm-ink); align-items: center; justify-content: center; padding: 0; cursor: pointer; }
.asm-logo { display: flex; flex-direction: column; line-height: 1; text-decoration: none; }
.asm-logo__word { font-family: var(--asm-display); font-weight: 700; font-size: 30px; letter-spacing: .02em; color: var(--asm-ink); }
.asm-logo__word span { color: var(--asm-accent); }
.asm-logo__tag { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--asm-muted); margin-top: 4px; }
.asm-logo--small .asm-logo__word { font-size: 26px; }
.asm-search { flex: 1 1 340px; display: flex; align-items: center; gap: 8px; border: 1.5px solid var(--asm-line-2); border-radius: 8px; padding: 0 6px 0 14px; height: 48px; background: #fff; color: var(--asm-muted); min-width: 0; }
.asm-search:focus-within { border-color: var(--asm-ink); }
.asm-search input[type="search"] { flex: 1; border: 0 !important; outline: 0; box-shadow: none !important; font: inherit; font-size: 15px; min-width: 0; height: 44px; background: transparent; color: var(--asm-ink); padding: 0; }
.asm-search button { height: 36px; padding: 0 16px; border: 0; border-radius: 6px; background: var(--asm-ink); color: #fff; font: inherit; font-weight: 600; font-size: 14px; cursor: pointer; }
.asm-search--big { max-width: 640px; height: 56px; margin: 24px 0; }
.asm-header__tools { display: flex; align-items: center; gap: 6px; }
.asm-garage-btn { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--asm-line); font-size: 14px; font-weight: 500; text-decoration: none; white-space: nowrap; }
.asm-garage-btn.is-set { background: var(--asm-ok-soft); border-color: var(--asm-ok-line); color: var(--asm-ok-ink) !important; font-weight: 600; }
.asm-iconbtn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 8px; text-decoration: none; }
.asm-cart-count { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; border-radius: 9px; background: var(--asm-accent); color: #fff; font-size: 11px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; padding: 0 4px; }
.asm-cart-count[hidden] { display: none; }

.asm-nav { border-top: 1px solid var(--asm-surface-2); }
.asm-nav__row { display: flex; flex-wrap: wrap; align-items: center; gap: 0 22px; font-size: 14px; font-weight: 500; }
.asm-nav__row > a, .asm-mega > summary { display: inline-flex; align-items: center; gap: 4px; padding: 12px 0; text-decoration: none; border-bottom: 2px solid transparent; cursor: pointer; list-style: none; color: var(--asm-ink); }
.asm-mega > summary::-webkit-details-marker { display: none; }
.asm-nav__row > a:hover, .asm-mega > summary:hover, .asm-mega[open] > summary { border-bottom-color: var(--asm-accent); color: var(--asm-ink); }
.asm-mega { position: relative; }
.asm-mega[open] > summary .asm-icon { transform: rotate(180deg); }
.asm-mega__panel { position: absolute; top: 100%; left: -16px; z-index: 60; display: flex; gap: 32px; padding: 20px 24px; background: #fff; border: 1px solid var(--asm-line); border-radius: 0 0 12px 12px; box-shadow: 0 16px 40px rgba(20,23,28,.12); min-width: 280px; }
.asm-mega__col ul { list-style: none; margin: 0; padding: 0; }
.asm-mega__col li a { display: block; padding: 6px 0; white-space: nowrap; text-decoration: none; font-weight: 400; }
.asm-mega__head { margin: 0 0 6px; font-family: var(--asm-display); font-weight: 700; font-size: 18px; text-transform: uppercase; color: var(--asm-ink); white-space: nowrap; }

/* ---------- hero ---------- */
.asm-hero { background: var(--asm-surface); border-bottom: 1px solid var(--asm-line); }
.asm-hero__in { display: flex; flex-wrap: wrap; gap: 40px; align-items: stretch; padding-top: 48px; padding-bottom: 48px; }
.asm-hero__text { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 22px; }
.asm-pill { margin: 0; display: inline-flex; align-self: flex-start; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--asm-line); font-size: 13px; font-weight: 500; color: var(--asm-ink-2); }
.asm-finder { background: #fff; border: 1px solid var(--asm-line); border-radius: var(--asm-radius); padding: 20px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 2px 10px rgba(20,23,28,.05); }
.asm-finder__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 12px; }
.asm-finder__head p { margin: 0; }
.asm-finder__title { font-weight: 600; }
.asm-finder__note, .asm-finder__help { font-size: 13px; color: var(--asm-muted); margin: 0; }
.asm-finder__row { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.asm-finder__row .asm-btn { flex: 1 1 200px; min-height: 48px; }
.asm-field { flex: 1 1 200px; display: flex; flex-direction: column; gap: 6px; }
.asm-field label { font-size: 13px; font-weight: 500; color: var(--asm-ink-2); }
.asm-field select, .asm-select { height: 48px; border: 1.5px solid var(--asm-line-2); border-radius: 8px; padding: 0 12px; background: #fff; color: var(--asm-ink); font: inherit; font-size: 15px; width: 100%; }
.asm-hero__media { flex: 1 1 460px; position: relative; min-height: 460px; border-radius: 14px; overflow: hidden; background: #DADDE2; }
.asm-hero__slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .6s ease; }
.asm-hero__slide.is-active { opacity: 1; z-index: 1; }
.asm-hero__slide img { width: 100%; height: 100%; object-fit: cover; }
.asm-hero__slide figcaption { position: absolute; left: 16px; right: 16px; bottom: 16px; background: rgba(255,255,255,.95); border-radius: 10px; padding: 12px 14px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; font-size: 14px; }
.asm-hero__slide figcaption a { font-weight: 600; color: var(--asm-accent) !important; }
.asm-hero__dots { position: absolute; z-index: 2; top: 16px; right: 16px; display: flex; gap: 6px; }
.asm-hero__dots button { width: 28px; height: 28px; padding: 0; border: 0; background: none; cursor: pointer; position: relative; }
.asm-hero__dots button::before { content: ""; position: absolute; inset: 10px; border-radius: 4px; background: rgba(255,255,255,.6); box-shadow: 0 0 0 1px rgba(20,23,28,.25); }
.asm-hero__dots button[aria-pressed="true"]::before { background: #fff; inset: 8px; }

.asm-trust { border-bottom: 1px solid var(--asm-line); }
.asm-trust__row { display: flex; flex-wrap: wrap; gap: 20px 32px; padding-top: 24px; padding-bottom: 24px; }
.asm-trust__item { flex: 1 1 250px; display: flex; gap: 14px; align-items: flex-start; }
.asm-trust__item p { margin: 0; font-size: 14px; color: var(--asm-muted); }
.asm-trust__item .asm-trust__title { font-size: 16px; font-weight: 600; color: var(--asm-ink); }

/* ---------- sections ---------- */
.asm-section { padding-top: 64px; padding-bottom: 8px; }
.asm-section__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 24px; }
.asm-section__head p { margin: 6px 0 0; }
.asm-link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; }

.asm-modelgroups { display: flex; flex-direction: column; gap: 20px; }
.asm-modelgroup { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: flex-start; padding-bottom: 20px; border-bottom: 1px solid var(--asm-line); }
.asm-modelgroup__label { flex: 0 0 180px; }
.asm-modelgroup__label p { margin: 0; font-size: 13px; }
.asm-modelgroup__name { font-family: var(--asm-display); font-weight: 700; font-size: 22px !important; text-transform: uppercase; line-height: 1.1; color: var(--asm-ink); }
.asm-modelgroup__tiles { flex: 999 1 560px; display: flex; flex-wrap: wrap; gap: 10px; min-width: 0; }
.asm-tile { display: flex; text-decoration: none; border: 1px solid var(--asm-line); border-radius: 10px; background: #fff; transition: border-color .15s, box-shadow .15s; }
.asm-tile:hover { border-color: var(--asm-ink); }
.asm-tile__name { font-weight: 600; font-size: 15px; color: var(--asm-ink); }
.asm-tile__count { font-size: 13px; color: var(--asm-muted); }
.asm-tile--model { flex: 1 1 170px; max-width: 240px; min-height: 64px; padding: 10px 14px; flex-direction: column; justify-content: center; }
.asm-tile--model.is-mine { border-color: var(--asm-ok); background: var(--asm-ok-soft); }

/* helmets */
.asm-helmets { margin-top: 64px; padding: 56px 0; background: var(--asm-surface); border-top: 1px solid var(--asm-line); border-bottom: 1px solid var(--asm-line); }
.asm-helmets__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 32px; margin-bottom: 24px; }
.asm-helmets__head > div:first-child { flex: 1 1 520px; }
.asm-helmets__head p.asm-muted { margin: 8px 0 0; max-width: 640px; }
.asm-helmets__cta { display: flex; flex-wrap: wrap; gap: 10px; }
.asm-helmets__types { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin-bottom: 24px; }
.asm-tile--type { flex-direction: column; align-items: center; text-align: center; padding: 12px 10px 14px; gap: 2px; }
.asm-tile--type img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; margin-bottom: 6px; }
.asm-tile__icon { display: flex; align-items: center; justify-content: center; width: 100%; aspect-ratio: 1 / 1; color: var(--asm-muted); }

.asm-cattiles { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 24px; }
.asm-tile--cat { flex: 1 1 280px; align-items: center; gap: 16px; padding: 12px; }
.asm-tile--cat img { width: 88px; height: 88px; object-fit: contain; flex: 0 0 auto; border-radius: 8px; }
.asm-tile__text { display: flex; flex-direction: column; min-width: 0; }
.asm-tile__text .asm-tile__name { font-size: 17px; }
.asm-tile__text .asm-muted { font-size: 14px; }
.asm-tile--cat .asm-tile__count { margin-top: 4px; color: var(--asm-ink-2); }
.asm-cattiles__more { margin: 16px 0 0; font-size: 14px; }

.asm-guides { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 24px; }
.asm-guide { flex: 1 1 420px; display: flex; flex-wrap: wrap; border: 1px solid var(--asm-line); border-radius: 14px; overflow: hidden; background: var(--asm-surface); text-decoration: none; }
.asm-guide img { flex: 1 1 220px; width: 100%; min-height: 220px; max-height: 300px; object-fit: cover; }
.asm-guide__text { flex: 1 1 240px; padding: 24px; display: flex; flex-direction: column; gap: 10px; justify-content: center; }
.asm-guide__title { font-family: var(--asm-display); font-weight: 700; font-size: 28px; line-height: 1.1; text-transform: uppercase; color: var(--asm-ink); }
.asm-guide__cta { font-weight: 600; color: var(--asm-accent); }
.asm-guide--wide { margin-top: 32px; }

.asm-founder { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; padding-bottom: 64px; }
.asm-founder__quote { flex: 1 1 480px; margin: 0; padding: 0; border: 0; }
.asm-founder__quote p { margin: 0 0 16px; font-family: var(--asm-display); font-weight: 600; font-size: clamp(28px, 3vw, 36px); line-height: 1.15; font-style: normal; color: var(--asm-ink); }
.asm-founder__quote footer { font-size: 15px; color: var(--asm-ink-2); }
.asm-founder__points { flex: 1 1 380px; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.asm-founder__points li { display: flex; gap: 12px; padding: 16px; border: 1px solid var(--asm-line); border-radius: 10px; }
.asm-founder__points strong { display: block; }
.asm-founder__points span { font-size: 14px; color: var(--asm-muted); }
.asm-founder__points strong { color: var(--asm-ink); font-size: 16px; }

/* ---------- product cards ---------- */
.asm-site ul.products, .asm-grid { list-style: none; margin: 0 !important; padding: 0; display: grid !important; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.asm-grid--4 { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.asm-site ul.products::before, .asm-site ul.products::after { display: none !important; }
.asm-site ul.products li.product, .asm-card { position: relative; float: none !important; width: auto !important; margin: 0 !important; padding: 0 !important; border: 1px solid var(--asm-line); border-radius: var(--asm-radius); background: #fff; overflow: hidden; display: flex !important; flex-direction: column; text-align: left !important; transition: box-shadow .15s, border-color .15s; }
.asm-card:hover { border-color: var(--asm-line-2); box-shadow: 0 6px 20px rgba(20,23,28,.08); }
.asm-card__media { display: block; aspect-ratio: 1 / 1; background: #fff; border-bottom: 1px solid var(--asm-surface-2); }
.asm-card__media img, .asm-card__img { width: 100% !important; height: 100% !important; object-fit: contain; padding: 14px; margin: 0 !important; }
.asm-noimg { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 18px; text-align: center; background: var(--asm-surface); }
.asm-noimg__brand { font-family: var(--asm-display); font-weight: 700; font-size: 26px; text-transform: uppercase; color: var(--asm-ink); }
.asm-noimg__name { font-size: 14px; color: var(--asm-ink-2); line-height: 1.3; }
.asm-noimg__note { font-size: 12px; color: var(--asm-muted); text-transform: uppercase; letter-spacing: .06em; }
.asm-card__badges { position: absolute; top: 12px; left: 12px; right: 12px; display: flex; justify-content: space-between; gap: 6px; pointer-events: none; }
.asm-badge { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 600; padding: 3px 8px; border-radius: 4px; }
.asm-badge[hidden] { display: none; }
.asm-badge--sale { background: var(--asm-accent-soft); color: var(--asm-accent-hover); }
.asm-badge--fit { background: var(--asm-ok-soft); color: var(--asm-ok-ink); order: -1; }
.asm-card__body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.asm-card__meta { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--asm-muted); }
.asm-card__cat { text-transform: uppercase; letter-spacing: .06em; }
.asm-card__sku { font-family: var(--asm-mono); }
.asm-card__title { margin: 0 !important; padding: 0 !important; font-family: var(--asm-body) !important; font-weight: 600 !important; font-size: 16px !important; line-height: 1.3 !important; text-transform: none; }
.asm-card__title a { text-decoration: none; }
.asm-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.asm-card__fits { margin: 0; display: flex; gap: 6px; align-items: flex-start; font-size: 13px; color: var(--asm-ink-2); }
.asm-card__fits .asm-icon { margin-top: 2px; }
.asm-card__fits--plain { color: var(--asm-muted); }
.asm-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin-top: auto; padding-top: 6px; }
.asm-price__now { font-size: 22px; font-weight: 600; color: var(--asm-ink); }
.asm-price__from { font-size: 13px; color: var(--asm-muted); }
.asm-price__mrp { font-size: 14px; color: var(--asm-muted); }
.asm-price__tax { font-size: 12px; color: var(--asm-muted); }
.asm-price__ask { font-size: 16px; font-weight: 600; color: var(--asm-ink-2); }
.asm-stock { margin: 0; display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; }
.asm-stock span { width: 8px; height: 8px; border-radius: 4px; }
.asm-stock--in { color: var(--asm-ok); }
.asm-stock--in span { background: var(--asm-ok); }
.asm-stock--order { color: var(--asm-warn-ink); }
.asm-stock--order span { background: #C98A00; }
.asm-stock--out { color: var(--asm-muted); }
.asm-stock--out span { background: var(--asm-line-2); }
.asm-card__action { position: relative; z-index: 2; }
.asm-card__action .button, .asm-card__action .asm-btn { width: 100%; min-height: 44px; display: inline-flex !important; align-items: center; justify-content: center; border-radius: 8px !important; border: 1.5px solid var(--asm-ink) !important; background: #fff !important; color: var(--asm-ink) !important; font-weight: 600 !important; font-size: 15px !important; padding: 0 12px !important; margin: 0 !important; line-height: 1.2 !important; }
.asm-card__action .button:hover, .asm-card__action .asm-btn:hover { background: var(--asm-ink) !important; color: #fff !important; }
.asm-card__action .button.loading { opacity: .6; }
.asm-card__action .added_to_cart { display: block; margin-top: 8px; text-align: center; font-size: 14px; font-weight: 600; color: var(--asm-ok-ink) !important; }
.asm-card__action .button.added { display: none !important; }

/* ---------- archive ---------- */
.asm-archive__band { background: var(--asm-surface); border-bottom: 1px solid var(--asm-line); }
.asm-archive__bandin { display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: center; padding-top: 24px; padding-bottom: 24px; }
.asm-archive__intro { flex: 1 1 520px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.asm-archive__media { flex: 1 1 380px; margin: 0; border-radius: 14px; overflow: hidden; max-height: 280px; }
.asm-archive__media img { width: 100%; height: 100%; max-height: 280px; object-fit: cover; display: block; }
.asm-crumbs { font-size: 14px; color: var(--asm-muted); display: flex; flex-wrap: wrap; gap: 6px; }
.asm-crumbs a { color: var(--asm-muted); text-decoration: none; }
.asm-archive__garage { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 8px; }
.asm-archive__garage .asm-select { width: auto; min-width: 220px; height: 40px; }
.asm-archive__garage .is-saved { background: var(--asm-ok-soft); border-color: var(--asm-ok-line); color: var(--asm-ok-ink) !important; }
.asm-chips { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 20px; }
.asm-chip { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--asm-line-2); background: #fff; font-size: 14px; text-decoration: none; }
.asm-chip.is-on { background: var(--asm-ink); border-color: var(--asm-ink); color: #fff !important; font-weight: 500; }
.asm-archive__body { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; padding-top: 28px; padding-bottom: 56px; }
.asm-filters { flex: 1 1 240px; max-width: 100%; display: flex; flex-direction: column; gap: 20px; }
.asm-filters__form { display: flex; flex-direction: column; gap: 20px; }
.asm-filters__head { display: flex; justify-content: space-between; align-items: center; }
.asm-filters__title { margin: 0; font-weight: 600; font-size: 18px; }
.asm-filters__head a { font-size: 14px; color: var(--asm-ink-2); }
.asm-filters fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 2px; }
.asm-filters legend { font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px; padding: 0; }
.asm-check { display: flex; align-items: center; gap: 10px; min-height: 36px; font-size: 15px; cursor: pointer; }
.asm-check input { width: 18px; height: 18px; accent-color: var(--asm-ink); margin: 0; }
.asm-check__n { margin-left: auto; color: var(--asm-muted); font-size: 13px; }
.asm-filters__price { display: flex; align-items: center; gap: 8px; }
.asm-filters__price input { width: 50%; height: 44px; border: 1.5px solid var(--asm-line-2); border-radius: 8px; padding: 0 10px; font: inherit; }
.asm-filters__help { padding: 16px; border-radius: 12px; background: var(--asm-surface); font-size: 14px; }
.asm-filters__help p { margin: 0 0 6px; }
.asm-filters__help a { font-weight: 600; color: var(--asm-accent); }
.asm-archive__main { flex: 999 1 640px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.asm-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.asm-toolbar__count { margin: 0; color: var(--asm-ink-2); }
.asm-toolbar .woocommerce-ordering { margin: 0; }
.asm-toolbar .woocommerce-ordering select { height: 44px; border: 1.5px solid var(--asm-line-2); border-radius: 8px; padding: 0 10px; background: #fff; font: inherit; }
.asm-site .woocommerce-pagination ul { border: 0 !important; display: flex; justify-content: center; gap: 8px; }
.asm-site .woocommerce-pagination ul li { border: 0 !important; }
.asm-site .woocommerce-pagination ul li a, .asm-site .woocommerce-pagination ul li span { min-width: 44px; height: 44px; display: inline-flex !important; align-items: center; justify-content: center; border-radius: 8px; border: 1px solid var(--asm-line-2); padding: 0 12px !important; }
.asm-site .woocommerce-pagination ul li span.current { background: var(--asm-ink); color: #fff; border-color: var(--asm-ink); }
.asm-empty { padding: 40px; border: 1px dashed var(--asm-line-2); border-radius: 14px; text-align: center; }
.asm-empty__title { font-weight: 600; font-size: 18px; margin: 0 0 6px; }

/* ---------- help band + footer ---------- */
.asm-helpband { background: var(--asm-ink); color: #fff; margin-top: 56px; }
.asm-helpband__in { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; padding-top: 40px; padding-bottom: 40px; }
.asm-helpband__text { flex: 1 1 480px; }
.asm-helpband h2 { margin: 0; color: #fff !important; font-size: 34px; text-transform: uppercase; line-height: 1.1; }
.asm-helpband p { margin: 6px 0 0; color: #C9CED6; }
.asm-helpband__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.asm-footer { background: var(--asm-surface); border-top: 1px solid var(--asm-line); }
.asm-footer__cols { display: flex; flex-wrap: wrap; gap: 32px; padding-top: 48px; padding-bottom: 24px; }
.asm-footer__brand { flex: 2 1 280px; display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: var(--asm-ink-2); }
.asm-footer__brand address { font-style: normal; line-height: 1.7; }
.asm-footer__col { flex: 1 1 160px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.asm-footer__col a { text-decoration: none; }
.asm-footer__head { margin: 0 0 4px; font-weight: 600; }
.asm-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-top: 16px; padding-bottom: 32px; border-top: 1px solid var(--asm-line); font-size: 13px; color: var(--asm-muted); }
.asm-footer__bottom p { margin: 0; }

/* ---------- size guide, 404, generic pages ---------- */
.asm-sizeguide { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; margin: 16px 0 32px; }
.asm-sizeguide__fit { grid-column: 1 / -1; padding: 20px; border-radius: 12px; background: var(--asm-surface); }
.asm-sizeguide h2 { font-size: 26px; text-transform: uppercase; margin: 0 0 12px; }
.asm-sizeguide table { width: 100%; border-collapse: collapse; border: 1px solid var(--asm-line); margin-bottom: 12px; }
.asm-sizeguide caption { text-align: left; font-weight: 600; padding-bottom: 8px; }
.asm-sizeguide th, .asm-sizeguide td { padding: 10px 14px; border-bottom: 1px solid var(--asm-line); text-align: left; }
.asm-sizeguide thead th { background: var(--asm-surface); }
.asm-404 { padding-top: 64px; padding-bottom: 64px; }
.asm-404 .asm-lead { margin-top: 12px; }
.asm-404__links { display: flex; flex-wrap: wrap; gap: 10px; }
body.asm-site:not(.asm-full) .entry-title { font-family: var(--asm-display); text-transform: uppercase; }
body.asm-site .entry-content { color: var(--asm-ink-2); }

/* WooCommerce notices */
.asm-site .woocommerce-message, .asm-site .woocommerce-info, .asm-site .woocommerce-error, .asm-site .wc-block-components-notice-banner { border-radius: 10px; border-top: 0; border-left: 4px solid var(--asm-ok); background: var(--asm-ok-soft); color: var(--asm-ink); }
.asm-site .woocommerce-error { border-left-color: var(--asm-accent); background: var(--asm-accent-soft); }
.asm-site .woocommerce-info { border-left-color: var(--asm-ink-2); background: var(--asm-surface); }
.asm-site .woocommerce-message .button { float: right; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
	.asm-helmets__types { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 921px) {
	.asm-header__menu { display: inline-flex; }
	.asm-header__row { gap: 12px; }
	.asm-logo { flex: 1; }
	.asm-search { order: 5; flex-basis: 100%; }
	.asm-garage-btn span { display: none; }
	.asm-nav { display: none; }
	.asm-nav.is-open { display: block; }
	.asm-nav__row { flex-direction: column; align-items: stretch; gap: 0; padding-bottom: 12px; }
	.asm-nav__row > a, .asm-mega > summary { padding: 12px 0; border-bottom: 1px solid var(--asm-surface-2); }
	.asm-mega__panel { position: static; box-shadow: none; border: 0; padding: 8px 0 8px 12px; flex-wrap: wrap; gap: 8px 24px; }
	.asm-hero__media { min-height: 320px; }
	.asm-modelgroup__label { flex-basis: 100%; }
	.asm-sizeguide { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
	.asm-wrap { padding-left: 16px; padding-right: 16px; }
	.asm-topbar__in { font-size: 12px; }
	.asm-hero__in { padding-top: 28px; padding-bottom: 28px; gap: 24px; }
	.asm-hero__text, .asm-hero__media { flex-basis: 100%; }
	.asm-helmets__types { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.asm-site ul.products, .asm-grid, .asm-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.asm-card__body { padding: 12px; }
	.asm-card__title { font-size: 15px !important; }
	.asm-price__now { font-size: 18px; }
	.asm-card__meta .asm-card__sku, .asm-card__meta .asm-card__cat2 { display: none; }
	.asm-tile--model { max-width: none; flex-basis: calc(50% - 5px); }
	.asm-section { padding-top: 48px; }
	.asm-helmets { padding: 40px 0; margin-top: 48px; }
}
@media (prefers-reduced-motion: reduce) {
	.asm-hero__slide { transition: none; }
}

/* ---------- "turns 1" + what's new ---------- */
.asm-pill--link { text-decoration: none; color: var(--asm-ink) !important; gap: 10px; padding: 4px 12px 4px 4px; transition: border-color .15s; }
.asm-pill--link:hover { border-color: var(--asm-ink); }
.asm-pill__new { background: var(--asm-accent); color: #fff; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; }
.asm-topbar__new { color: #fff !important; font-weight: 600; }
.asm-topbar__new span { color: #FFB4B8; }
.asm-new { display: flex; flex-wrap: wrap; gap: 32px 48px; align-items: flex-start; }
.asm-new__intro { flex: 1 1 380px; display: flex; flex-direction: column; gap: 14px; }
.asm-new__intro p { margin: 0; }
.asm-new__badge { display: inline-flex; align-self: flex-start; padding: 4px 10px; border-radius: 999px; background: var(--asm-accent-soft); color: var(--asm-accent-hover) !important; }
.asm-new__thanks { font-weight: 600; color: var(--asm-ink); }
.asm-new__grid { flex: 999 1 560px; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.asm-new__grid li { border: 1px solid var(--asm-line); border-radius: var(--asm-radius); padding: 18px; display: flex; flex-direction: column; gap: 6px; background: #fff; }
.asm-new__grid li .asm-icon { color: var(--asm-accent); margin-bottom: 4px; }
.asm-new__grid p { margin: 0; font-size: 14px; color: var(--asm-ink-2); }
.asm-new__grid .asm-new__title { font-size: 17px; font-weight: 600; color: var(--asm-ink); }
#cats .asm-muted { margin: 6px 0 0; }
@media (max-width: 600px) {
	.asm-new__grid { grid-template-columns: 1fr; }
}

/* ---------- floating cart + added-to-cart toast ---------- */
.asm-floatcart { position: fixed; left: 20px; bottom: 20px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; background: var(--asm-ink); color: #fff !important; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(20,23,28,.25); text-decoration: none; }
.asm-floatcart:hover { background: #000; }
.asm-floatcart .asm-cart-count { top: -2px; right: -2px; min-width: 22px; height: 22px; border-radius: 11px; font-size: 12px; border: 2px solid #fff; }
.asm-floatcart.is-bump { animation: asm-bump .5s ease; }
@keyframes asm-bump { 0% { transform: scale(1); } 40% { transform: scale(1.18); } 100% { transform: scale(1); } }
.asm-toast { position: fixed; left: 50%; bottom: 24px; z-index: 100; width: min(520px, calc(100% - 32px)); transform: translate(-50%, 20px); opacity: 0; transition: opacity .25s, transform .25s; background: #fff; border: 1px solid var(--asm-line); border-left: 4px solid var(--asm-ok); border-radius: 12px; box-shadow: 0 16px 40px rgba(20,23,28,.18); padding: 14px 44px 14px 16px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; }
.asm-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.asm-toast[hidden] { display: none; }
.asm-toast__text { margin: 0; display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--asm-ink); }
.asm-toast__text .asm-icon { color: var(--asm-ok); }
.asm-toast__actions { display: flex; gap: 8px; }
.asm-toast__close { position: absolute; top: 8px; right: 8px; width: 32px; height: 32px; border: 0; background: none; color: var(--asm-muted); cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0; }
.single_add_to_cart_button.loading { opacity: .7; pointer-events: none; }
@media (max-width: 600px) {
	.asm-floatcart { left: 14px; bottom: 14px; width: 52px; height: 52px; }
	.asm-toast { bottom: 80px; }
}
@media (prefers-reduced-motion: reduce) {
	.asm-toast, .asm-floatcart.is-bump { transition: none; animation: none; }
}
